primereact 10.6.5 → 10.7.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 (395) hide show
  1. package/README.md +1 -1
  2. package/api/api.d.ts +8 -0
  3. package/button/button.cjs.js +1 -0
  4. package/button/button.cjs.min.js +1 -1
  5. package/button/button.esm.js +1 -0
  6. package/button/button.esm.min.js +1 -1
  7. package/button/button.js +1 -0
  8. package/button/button.min.js +1 -1
  9. package/calendar/calendar.cjs.js +81 -45
  10. package/calendar/calendar.cjs.min.js +1 -1
  11. package/calendar/calendar.d.ts +8 -10
  12. package/calendar/calendar.esm.js +81 -45
  13. package/calendar/calendar.esm.min.js +1 -1
  14. package/calendar/calendar.js +81 -45
  15. package/calendar/calendar.min.js +1 -1
  16. package/chart/chart.d.ts +1 -13
  17. package/checkbox/checkbox.cjs.js +64 -0
  18. package/checkbox/checkbox.cjs.min.js +1 -1
  19. package/checkbox/checkbox.d.ts +12 -0
  20. package/checkbox/checkbox.esm.js +64 -0
  21. package/checkbox/checkbox.esm.min.js +1 -1
  22. package/checkbox/checkbox.js +64 -0
  23. package/checkbox/checkbox.min.js +1 -1
  24. package/colorpicker/colorpicker.cjs.js +18 -4
  25. package/colorpicker/colorpicker.cjs.min.js +1 -1
  26. package/colorpicker/colorpicker.esm.js +19 -5
  27. package/colorpicker/colorpicker.esm.min.js +1 -1
  28. package/colorpicker/colorpicker.js +18 -4
  29. package/colorpicker/colorpicker.min.js +1 -1
  30. package/column/column.d.ts +36 -14
  31. package/core/core.js +213 -58
  32. package/core/core.min.js +12 -12
  33. package/csstransition/csstransition.cjs.js +0 -6
  34. package/csstransition/csstransition.esm.js +0 -6
  35. package/csstransition/csstransition.js +0 -6
  36. package/datatable/datatable.cjs.js +157 -100
  37. package/datatable/datatable.cjs.min.js +1 -1
  38. package/datatable/datatable.d.ts +1 -1
  39. package/datatable/datatable.esm.js +157 -100
  40. package/datatable/datatable.esm.min.js +1 -1
  41. package/datatable/datatable.js +157 -100
  42. package/datatable/datatable.min.js +1 -1
  43. package/dialog/dialog.cjs.js +19 -4
  44. package/dialog/dialog.cjs.min.js +1 -1
  45. package/dialog/dialog.esm.js +19 -4
  46. package/dialog/dialog.esm.min.js +1 -1
  47. package/dialog/dialog.js +19 -4
  48. package/dialog/dialog.min.js +1 -1
  49. package/dropdown/dropdown.cjs.js +10 -8
  50. package/dropdown/dropdown.cjs.min.js +1 -1
  51. package/dropdown/dropdown.esm.js +10 -8
  52. package/dropdown/dropdown.esm.min.js +1 -1
  53. package/dropdown/dropdown.js +10 -8
  54. package/dropdown/dropdown.min.js +1 -1
  55. package/focustrap/focustrap.cjs.js +12 -1
  56. package/focustrap/focustrap.cjs.min.js +1 -1
  57. package/focustrap/focustrap.esm.js +12 -1
  58. package/focustrap/focustrap.esm.min.js +1 -1
  59. package/focustrap/focustrap.js +12 -1
  60. package/focustrap/focustrap.min.js +1 -1
  61. package/galleria/galleria.cjs.js +7 -0
  62. package/galleria/galleria.cjs.min.js +1 -1
  63. package/galleria/galleria.esm.js +8 -1
  64. package/galleria/galleria.esm.min.js +1 -1
  65. package/galleria/galleria.js +7 -0
  66. package/galleria/galleria.min.js +1 -1
  67. package/hooks/hooks.cjs.js +2 -1
  68. package/hooks/hooks.cjs.min.js +1 -1
  69. package/hooks/hooks.esm.js +2 -1
  70. package/hooks/hooks.esm.min.js +1 -1
  71. package/hooks/hooks.js +2 -1
  72. package/hooks/hooks.min.js +1 -1
  73. package/inputnumber/inputnumber.cjs.js +17 -13
  74. package/inputnumber/inputnumber.cjs.min.js +1 -1
  75. package/inputnumber/inputnumber.esm.js +17 -13
  76. package/inputnumber/inputnumber.esm.min.js +1 -1
  77. package/inputnumber/inputnumber.js +17 -13
  78. package/inputnumber/inputnumber.min.js +1 -1
  79. package/inputotp/inputotp.cjs.js +26 -3
  80. package/inputotp/inputotp.cjs.min.js +1 -1
  81. package/inputotp/inputotp.esm.js +27 -4
  82. package/inputotp/inputotp.esm.min.js +1 -1
  83. package/inputotp/inputotp.js +26 -3
  84. package/inputotp/inputotp.min.js +1 -1
  85. package/inputtext/inputtext.d.ts +1 -1
  86. package/keyfilter/keyfilter.cjs.js +1 -1
  87. package/keyfilter/keyfilter.cjs.min.js +1 -1
  88. package/keyfilter/keyfilter.esm.js +1 -1
  89. package/keyfilter/keyfilter.esm.min.js +1 -1
  90. package/keyfilter/keyfilter.js +1 -1
  91. package/keyfilter/keyfilter.min.js +1 -1
  92. package/listbox/listbox.cjs.js +23 -35
  93. package/listbox/listbox.cjs.min.js +1 -1
  94. package/listbox/listbox.esm.js +23 -35
  95. package/listbox/listbox.esm.min.js +1 -1
  96. package/listbox/listbox.js +23 -35
  97. package/listbox/listbox.min.js +1 -1
  98. package/menubar/menubar.d.ts +9 -0
  99. package/metergroup/metergroup.cjs.js +5 -4
  100. package/metergroup/metergroup.cjs.min.js +1 -1
  101. package/metergroup/metergroup.d.ts +3 -10
  102. package/metergroup/metergroup.esm.js +5 -4
  103. package/metergroup/metergroup.esm.min.js +1 -1
  104. package/metergroup/metergroup.js +5 -4
  105. package/metergroup/metergroup.min.js +1 -1
  106. package/multiselect/multiselect.cjs.js +11 -2
  107. package/multiselect/multiselect.cjs.min.js +1 -1
  108. package/multiselect/multiselect.esm.js +11 -2
  109. package/multiselect/multiselect.esm.min.js +1 -1
  110. package/multiselect/multiselect.js +11 -2
  111. package/multiselect/multiselect.min.js +1 -1
  112. package/multistatecheckbox/multistatecheckbox.cjs.js +9 -0
  113. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  114. package/multistatecheckbox/multistatecheckbox.esm.js +9 -0
  115. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  116. package/multistatecheckbox/multistatecheckbox.js +9 -0
  117. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  118. package/organizationchart/organizationchart.cjs.js +0 -1
  119. package/organizationchart/organizationchart.esm.js +0 -1
  120. package/organizationchart/organizationchart.js +0 -1
  121. package/package.json +4 -4
  122. package/paginator/paginator.cjs.js +1 -1
  123. package/paginator/paginator.cjs.min.js +1 -1
  124. package/paginator/paginator.esm.js +1 -1
  125. package/paginator/paginator.esm.min.js +1 -1
  126. package/paginator/paginator.js +1 -1
  127. package/paginator/paginator.min.js +1 -1
  128. package/panelmenu/panelmenu.cjs.js +13 -12
  129. package/panelmenu/panelmenu.cjs.min.js +1 -1
  130. package/panelmenu/panelmenu.esm.js +13 -12
  131. package/panelmenu/panelmenu.esm.min.js +1 -1
  132. package/panelmenu/panelmenu.js +13 -12
  133. package/panelmenu/panelmenu.min.js +1 -1
  134. package/passthrough/tailwind/index.cjs.js +10 -81
  135. package/passthrough/tailwind/index.cjs.min.js +1 -1
  136. package/passthrough/tailwind/index.esm.js +10 -81
  137. package/passthrough/tailwind/index.esm.min.js +1 -1
  138. package/passthrough/tailwind/index.js +10 -81
  139. package/passthrough/tailwind/index.min.js +1 -1
  140. package/password/password.cjs.js +2 -2
  141. package/password/password.cjs.min.js +1 -1
  142. package/password/password.esm.js +2 -2
  143. package/password/password.esm.min.js +1 -1
  144. package/password/password.js +2 -2
  145. package/password/password.min.js +1 -1
  146. package/primereact.all.cjs.js +2826 -1797
  147. package/primereact.all.cjs.min.js +1 -1
  148. package/primereact.all.esm.js +2823 -1798
  149. package/primereact.all.esm.min.js +1 -1
  150. package/primereact.all.js +2826 -1797
  151. package/primereact.all.min.js +1 -1
  152. package/radiobutton/radiobutton.cjs.js +13 -10
  153. package/radiobutton/radiobutton.cjs.min.js +1 -1
  154. package/radiobutton/radiobutton.esm.js +13 -10
  155. package/radiobutton/radiobutton.esm.min.js +1 -1
  156. package/radiobutton/radiobutton.js +13 -10
  157. package/radiobutton/radiobutton.min.js +1 -1
  158. package/resources/images/line.gif +0 -0
  159. package/resources/themes/arya-blue/theme.css +62 -0
  160. package/resources/themes/arya-green/theme.css +62 -0
  161. package/resources/themes/arya-orange/theme.css +62 -0
  162. package/resources/themes/bootstrap4-dark-blue/theme.css +62 -0
  163. package/resources/themes/bootstrap4-dark-purple/theme.css +207 -43
  164. package/resources/themes/bootstrap4-light-blue/theme.css +62 -0
  165. package/resources/themes/bootstrap4-light-purple/theme.css +207 -43
  166. package/resources/themes/fluent-light/theme.css +62 -0
  167. package/resources/themes/lara-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  168. package/resources/themes/lara-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  169. package/resources/themes/lara-dark-amber/theme.css +62 -9
  170. package/resources/themes/lara-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  171. package/resources/themes/lara-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  172. package/resources/themes/lara-dark-blue/theme.css +62 -9
  173. package/resources/themes/lara-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  174. package/resources/themes/lara-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  175. package/resources/themes/lara-dark-cyan/theme.css +62 -9
  176. package/resources/themes/lara-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  177. package/resources/themes/lara-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  178. package/resources/themes/lara-dark-green/theme.css +62 -9
  179. package/resources/themes/lara-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  180. package/resources/themes/lara-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  181. package/resources/themes/lara-dark-indigo/theme.css +62 -9
  182. package/resources/themes/lara-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  183. package/resources/themes/lara-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  184. package/resources/themes/lara-dark-pink/theme.css +62 -9
  185. package/resources/themes/lara-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  186. package/resources/themes/lara-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  187. package/resources/themes/lara-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  188. package/resources/themes/lara-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  189. package/resources/themes/lara-dark-teal/theme.css +62 -9
  190. package/resources/themes/lara-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  191. package/resources/themes/lara-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  192. package/resources/themes/lara-light-amber/theme.css +62 -9
  193. package/resources/themes/lara-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  194. package/resources/themes/lara-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  195. package/resources/themes/lara-light-blue/theme.css +62 -9
  196. package/resources/themes/lara-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  197. package/resources/themes/lara-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  198. package/resources/themes/lara-light-cyan/theme.css +62 -9
  199. package/resources/themes/lara-light-green/fonts/Inter-italic.var.woff2 +0 -0
  200. package/resources/themes/lara-light-green/fonts/Inter-roman.var.woff2 +0 -0
  201. package/resources/themes/lara-light-green/theme.css +62 -9
  202. package/resources/themes/lara-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  203. package/resources/themes/lara-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  204. package/resources/themes/lara-light-indigo/theme.css +62 -9
  205. package/resources/themes/lara-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  206. package/resources/themes/lara-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  207. package/resources/themes/lara-light-pink/theme.css +62 -9
  208. package/resources/themes/lara-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  209. package/resources/themes/lara-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  210. package/resources/themes/lara-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  211. package/resources/themes/lara-light-teal/fonts/Inter-roman.var.woff2 +0 -0
  212. package/resources/themes/lara-light-teal/theme.css +62 -9
  213. package/resources/themes/luna-amber/theme.css +62 -0
  214. package/resources/themes/luna-blue/theme.css +62 -0
  215. package/resources/themes/luna-green/theme.css +62 -0
  216. package/resources/themes/luna-pink/theme.css +62 -0
  217. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  218. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  219. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  220. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  221. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  222. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  223. package/resources/themes/md-dark-deeppurple/theme.css +225 -43
  224. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  225. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  226. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  227. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  228. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  229. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  230. package/resources/themes/md-dark-indigo/theme.css +213 -151
  231. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  232. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  233. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  234. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  235. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  236. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  237. package/resources/themes/md-light-deeppurple/theme.css +225 -43
  238. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  239. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  240. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  241. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  242. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  243. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  244. package/resources/themes/md-light-indigo/theme.css +62 -0
  245. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  246. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  247. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  248. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  249. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  250. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  251. package/resources/themes/mdc-dark-deeppurple/theme.css +225 -43
  252. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  253. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  254. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  255. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  256. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  257. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  258. package/resources/themes/mdc-dark-indigo/theme.css +213 -151
  259. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  260. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  261. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  262. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  263. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  264. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  265. package/resources/themes/mdc-light-deeppurple/theme.css +225 -43
  266. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  267. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  268. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  269. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  270. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  271. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  272. package/resources/themes/mdc-light-indigo/theme.css +62 -0
  273. package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
  274. package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
  275. package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
  276. package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
  277. package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
  278. package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
  279. package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
  280. package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
  281. package/resources/themes/mira/theme.css +62 -0
  282. package/resources/themes/nano/theme.css +62 -0
  283. package/resources/themes/nova/theme.css +62 -0
  284. package/resources/themes/nova-accent/theme.css +62 -0
  285. package/resources/themes/nova-alt/theme.css +62 -0
  286. package/resources/themes/rhea/theme.css +62 -0
  287. package/resources/themes/saga-blue/theme.css +62 -0
  288. package/resources/themes/saga-green/theme.css +62 -0
  289. package/resources/themes/saga-orange/theme.css +62 -0
  290. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  291. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  292. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  293. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  294. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  295. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  296. package/resources/themes/soho-dark/theme.css +87 -25
  297. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  298. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  299. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  300. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  301. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  302. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  303. package/resources/themes/soho-light/theme.css +62 -0
  304. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  305. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  306. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  307. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  308. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  309. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  310. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  311. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  312. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  313. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  314. package/resources/themes/tailwind-light/theme.css +62 -0
  315. package/resources/themes/vela-blue/theme.css +62 -0
  316. package/resources/themes/vela-green/theme.css +62 -0
  317. package/resources/themes/vela-orange/theme.css +62 -0
  318. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  319. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  320. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  321. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  322. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  323. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  324. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  325. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  326. package/resources/themes/viva-dark/theme.css +62 -0
  327. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  328. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  329. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  330. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  331. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  332. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  333. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  334. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  335. package/resources/themes/viva-light/theme.css +62 -0
  336. package/sidebar/sidebar.d.ts +4 -0
  337. package/splitbutton/splitbutton.cjs.js +0 -1
  338. package/splitbutton/splitbutton.cjs.min.js +1 -1
  339. package/splitbutton/splitbutton.esm.js +0 -1
  340. package/splitbutton/splitbutton.esm.min.js +1 -1
  341. package/splitbutton/splitbutton.js +0 -1
  342. package/splitbutton/splitbutton.min.js +1 -1
  343. package/tabview/tabview.cjs.js +0 -3
  344. package/tabview/tabview.cjs.min.js +1 -1
  345. package/tabview/tabview.d.ts +1 -1
  346. package/tabview/tabview.esm.js +0 -3
  347. package/tabview/tabview.esm.min.js +1 -1
  348. package/tabview/tabview.js +0 -3
  349. package/tabview/tabview.min.js +1 -1
  350. package/tieredmenu/tieredmenu.cjs.js +0 -1
  351. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  352. package/tieredmenu/tieredmenu.esm.js +0 -1
  353. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  354. package/tieredmenu/tieredmenu.js +0 -1
  355. package/tieredmenu/tieredmenu.min.js +1 -1
  356. package/tooltip/tooltip.cjs.js +12 -3
  357. package/tooltip/tooltip.cjs.min.js +1 -1
  358. package/tooltip/tooltip.esm.js +13 -4
  359. package/tooltip/tooltip.esm.min.js +1 -1
  360. package/tooltip/tooltip.js +12 -3
  361. package/tooltip/tooltip.min.js +1 -1
  362. package/tooltip/tooltipoptions.d.ts +5 -0
  363. package/tree/tree.cjs.js +60 -14
  364. package/tree/tree.cjs.min.js +1 -1
  365. package/tree/tree.esm.js +60 -14
  366. package/tree/tree.esm.min.js +1 -1
  367. package/tree/tree.js +60 -14
  368. package/tree/tree.min.js +1 -1
  369. package/treeselect/treeselect.cjs.js +0 -1
  370. package/treeselect/treeselect.cjs.min.js +1 -1
  371. package/treeselect/treeselect.esm.js +0 -1
  372. package/treeselect/treeselect.esm.min.js +1 -1
  373. package/treeselect/treeselect.js +0 -1
  374. package/treeselect/treeselect.min.js +1 -1
  375. package/treetable/treetable.cjs.js +249 -9
  376. package/treetable/treetable.cjs.min.js +1 -1
  377. package/treetable/treetable.d.ts +29 -0
  378. package/treetable/treetable.esm.js +249 -9
  379. package/treetable/treetable.esm.min.js +1 -1
  380. package/treetable/treetable.js +249 -9
  381. package/treetable/treetable.min.js +1 -1
  382. package/utils/utils.cjs.js +3 -6
  383. package/utils/utils.cjs.min.js +1 -1
  384. package/utils/utils.d.ts +7 -4
  385. package/utils/utils.esm.js +3 -6
  386. package/utils/utils.esm.min.js +1 -1
  387. package/utils/utils.js +3 -6
  388. package/utils/utils.min.js +1 -1
  389. package/virtualscroller/virtualscroller.cjs.js +23 -1
  390. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  391. package/virtualscroller/virtualscroller.esm.js +23 -1
  392. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  393. package/virtualscroller/virtualscroller.js +23 -1
  394. package/virtualscroller/virtualscroller.min.js +1 -1
  395. package/web-types.json +77 -30
@@ -186,6 +186,19 @@ function _slicedToArray(arr, i) {
186
186
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
187
187
  }
188
188
 
189
+ var getStorage = function getStorage(stateStorageProp) {
190
+ switch (stateStorageProp) {
191
+ case 'local':
192
+ return window.localStorage;
193
+ case 'session':
194
+ return window.sessionStorage;
195
+ case 'custom':
196
+ return null;
197
+ default:
198
+ throw new Error(stateStorageProp + ' is not a valid value for the state storage, supported values are "local", "session" and "custom".');
199
+ }
200
+ };
201
+
189
202
  var ColumnBase = componentbase.ComponentBase.extend({
190
203
  defaultProps: {
191
204
  __TYPE: 'Column',
@@ -195,6 +208,7 @@ var ColumnBase = componentbase.ComponentBase.extend({
195
208
  body: null,
196
209
  bodyClassName: null,
197
210
  bodyStyle: null,
211
+ cellEditValidateOnClose: false,
198
212
  cellEditValidator: null,
199
213
  cellEditValidatorEvent: 'click',
200
214
  className: null,
@@ -719,8 +733,15 @@ var Checkbox = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
719
733
  var mergeProps = hooks.useMergeProps();
720
734
  var context = React__namespace.useContext(PrimeReact$1.PrimeReactContext);
721
735
  var props = CheckboxBase.getProps(inProps, context);
736
+ var _React$useState = React__namespace.useState(false),
737
+ _React$useState2 = _slicedToArray(_React$useState, 2),
738
+ focusedState = _React$useState2[0],
739
+ setFocusedState = _React$useState2[1];
722
740
  var _CheckboxBase$setMeta = CheckboxBase.setMetaData({
723
741
  props: props,
742
+ state: {
743
+ focused: focusedState
744
+ },
724
745
  context: {
725
746
  checked: props.checked === props.trueValue,
726
747
  disabled: props.disabled
@@ -774,10 +795,12 @@ var Checkbox = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
774
795
  };
775
796
  var _onFocus = function onFocus() {
776
797
  var _props$onFocus;
798
+ setFocusedState(true);
777
799
  props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
778
800
  };
779
801
  var _onBlur = function onBlur() {
780
802
  var _props$onBlur;
803
+ setFocusedState(false);
781
804
  props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
782
805
  };
783
806
  React__namespace.useImperativeHandle(ref, function () {
@@ -940,9 +963,9 @@ var classes = {
940
963
  'p-variant-filled': props.variant ? props.variant === 'filled' : context && context.inputStyle === 'filled'
941
964
  });
942
965
  },
943
- box: 'p-radiobutton-box',
944
- input: 'p-radiobutton-input',
945
- icon: 'p-radiobutton-icon'
966
+ radiobuttonbox: 'p-radiobutton-box',
967
+ radiobuttoninput: 'p-radiobutton-input',
968
+ radiobuttonicon: 'p-radiobutton-icon'
946
969
  };
947
970
  var RadioButtonBase = componentbase.ComponentBase.extend({
948
971
  defaultProps: {
@@ -1081,7 +1104,10 @@ var RadioButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
1081
1104
  })),
1082
1105
  style: props.style,
1083
1106
  'data-p-checked': props.checked
1084
- }, RadioButtonBase.getOtherProps(props), ptm('root'));
1107
+ }, otherProps, ptm('root'));
1108
+ delete rootProps.input;
1109
+ delete rootProps.box;
1110
+ delete rootProps.icon;
1085
1111
  var createInputElement = function createInputElement() {
1086
1112
  var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
1087
1113
  var inputProps = mergeProps(_objectSpread$b({
@@ -1096,19 +1122,19 @@ var RadioButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
1096
1122
  readOnly: props.readonly,
1097
1123
  required: props.required,
1098
1124
  tabIndex: props.tabIndex,
1099
- className: cx('input')
1100
- }, ariaProps), ptm('input'));
1125
+ className: cx('radiobuttoninput')
1126
+ }, ariaProps), inProps.input, ptm('radiobuttoninput'));
1101
1127
  return /*#__PURE__*/React__namespace.createElement("input", _extends({
1102
1128
  ref: inputRef
1103
1129
  }, inputProps));
1104
1130
  };
1105
1131
  var createBoxElement = function createBoxElement() {
1106
1132
  var boxProps = mergeProps({
1107
- className: cx('box')
1108
- }, ptm('box'));
1133
+ className: cx('radiobuttonbox')
1134
+ }, inProps.box, ptm('radiobuttonbox'));
1109
1135
  var iconProps = mergeProps({
1110
- className: cx('icon')
1111
- }, ptm('icon'));
1136
+ className: cx('radiobuttonicon')
1137
+ }, inProps.icon, ptm('radiobuttonicon'));
1112
1138
  return /*#__PURE__*/React__namespace.createElement("div", boxProps, /*#__PURE__*/React__namespace.createElement("div", iconProps));
1113
1139
  };
1114
1140
  return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", _extends({
@@ -1156,7 +1182,11 @@ var RowRadioButton = /*#__PURE__*/React__namespace.memo(function (props) {
1156
1182
  checked: props.checked,
1157
1183
  disabled: props.disabled,
1158
1184
  name: "".concat(props.tableSelector, "_dt_radio"),
1159
- onChange: onChange
1185
+ onChange: onChange,
1186
+ input: getColumnPTOptions('radiobuttoninput'),
1187
+ box: getColumnPTOptions('radiobuttonbox'),
1188
+ icon: getColumnPTOptions('radiobuttonicon'),
1189
+ unstyled: props.unstyled
1160
1190
  }, getColumnPTOptions('radiobutton'));
1161
1191
  return /*#__PURE__*/React__namespace.createElement(RadioButton, radioButtonProps);
1162
1192
  });
@@ -1182,8 +1212,8 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1182
1212
  var keyHelperRef = React__namespace.useRef(null);
1183
1213
  var overlayEventListener = React__namespace.useRef(null);
1184
1214
  var selfClick = React__namespace.useRef(false);
1185
- var tabindexTimeout = React__namespace.useRef(null);
1186
1215
  var initFocusTimeout = React__namespace.useRef(null);
1216
+ var editingRowDataStateRef = React__namespace.useRef(null);
1187
1217
  var _props$ptCallbacks = props.ptCallbacks,
1188
1218
  ptm = _props$ptCallbacks.ptm,
1189
1219
  ptmo = _props$ptCallbacks.ptmo,
@@ -1218,7 +1248,10 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1218
1248
  var field = getColumnProp('field') || "field_".concat(props.index);
1219
1249
  var editingKey = props.dataKey ? props.rowData && props.rowData[props.dataKey] || props.rowIndex : props.rowIndex;
1220
1250
  var isEditable = function isEditable() {
1221
- return getColumnProp('editor');
1251
+ return utils.ObjectUtils.isNotEmpty(props.editMode) && getColumnProp('editor');
1252
+ };
1253
+ var cellEditValidateOnClose = function cellEditValidateOnClose() {
1254
+ return getColumnProp('cellEditValidateOnClose');
1222
1255
  };
1223
1256
  var _useEventListener = hooks.useEventListener({
1224
1257
  type: 'click',
@@ -1302,40 +1335,37 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1302
1335
  unbindDocumentClickListener();
1303
1336
  overlayservice.OverlayService.off('overlay-click', overlayEventListener.current);
1304
1337
  overlayEventListener.current = null;
1338
+ editingRowDataStateRef.current = null;
1305
1339
  selfClick.current = false;
1306
1340
  }, 1);
1307
1341
  };
1308
1342
  var switchCellToViewMode = function switchCellToViewMode(event, submit) {
1309
1343
  var callbackParams = getCellCallbackParams(event);
1310
- setEditingRowDataState(function (prev) {
1311
- var newRowData = prev;
1312
- var newValue = resolveFieldData(newRowData);
1313
- var params = _objectSpread$a(_objectSpread$a({}, callbackParams), {}, {
1314
- newRowData: newRowData,
1315
- newValue: newValue
1316
- });
1317
- var onCellEditCancel = getColumnProp('onCellEditCancel');
1318
- var cellEditValidator = getColumnProp('cellEditValidator');
1319
- var onCellEditComplete = getColumnProp('onCellEditComplete');
1320
- if (!submit && onCellEditCancel) {
1321
- onCellEditCancel(params);
1322
- }
1323
- var valid = true;
1324
- if (!submit && cellEditValidator) {
1325
- valid = cellEditValidator(params);
1326
- }
1327
- if (valid) {
1328
- if (submit && onCellEditComplete) {
1329
- setTimeout(function () {
1330
- return onCellEditComplete(params);
1331
- });
1332
- }
1333
- closeCell(event);
1334
- } else {
1335
- event.preventDefault();
1336
- }
1337
- return newRowData;
1344
+ var newRowData = _objectSpread$a({}, editingRowDataStateRef.current);
1345
+ var newValue = resolveFieldData(newRowData);
1346
+ var params = _objectSpread$a(_objectSpread$a({}, callbackParams), {}, {
1347
+ newRowData: newRowData,
1348
+ newValue: newValue
1338
1349
  });
1350
+ var onCellEditCancel = getColumnProp('onCellEditCancel');
1351
+ var cellEditValidator = getColumnProp('cellEditValidator');
1352
+ var onCellEditComplete = getColumnProp('onCellEditComplete');
1353
+ if (!submit && onCellEditCancel) {
1354
+ onCellEditCancel(params);
1355
+ }
1356
+ var valid = true;
1357
+ if ((!submit || cellEditValidateOnClose()) && cellEditValidator) {
1358
+ valid = cellEditValidator(params);
1359
+ }
1360
+ if (valid) {
1361
+ if (submit && onCellEditComplete) {
1362
+ onCellEditComplete(params);
1363
+ }
1364
+ closeCell(event);
1365
+ } else {
1366
+ event.preventDefault();
1367
+ }
1368
+ setEditingRowDataState(newRowData);
1339
1369
  };
1340
1370
  var findNextSelectableCell = function findNextSelectableCell(cell) {
1341
1371
  var nextCell = cell.nextElementSibling;
@@ -1362,14 +1392,11 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1362
1392
  }
1363
1393
  };
1364
1394
  var focusOnElement = function focusOnElement() {
1365
- clearTimeout(tabindexTimeout.current);
1366
- tabindexTimeout.current = setTimeout(function () {
1367
- if (editingState) {
1368
- var focusableEl = props.editMode === 'cell' ? utils.DomHandler.getFirstFocusableElement(elementRef.current, ':not([data-pc-section="editorkeyhelperlabel"])') : utils.DomHandler.findSingle(elementRef.current, '[data-p-row-editor-save="true"]');
1369
- focusableEl && focusableEl.focus();
1370
- }
1371
- keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
1372
- }, 1);
1395
+ if (editingState) {
1396
+ var focusableEl = props.editMode === 'cell' ? utils.DomHandler.getFirstFocusableElement(elementRef.current, ':not([data-pc-section="editorkeyhelperlabel"])') : utils.DomHandler.findSingle(elementRef.current, '[data-p-row-editor-save="true"]');
1397
+ focusableEl && focusableEl.focus();
1398
+ }
1399
+ keyHelperRef.current && (keyHelperRef.current.tabIndex = editingState ? -1 : 0);
1373
1400
  };
1374
1401
  var focusOnInit = function focusOnInit() {
1375
1402
  clearTimeout(initFocusTimeout.current);
@@ -1411,6 +1438,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1411
1438
  if (currentData) {
1412
1439
  utils.ObjectUtils.mutateFieldData(currentData, field, val);
1413
1440
  }
1441
+ editingRowDataStateRef.current = editingRowData;
1414
1442
  };
1415
1443
  var _onClick = function onClick(event) {
1416
1444
  var params = getCellCallbackParams(event);
@@ -1603,7 +1631,9 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1603
1631
  }, [props.editMode, props.editing, editingState]);
1604
1632
  hooks.useUpdateEffect(function () {
1605
1633
  if (props.editMode === 'cell' || props.editMode === 'row') {
1606
- setEditingRowDataState(getEditingRowData());
1634
+ var editingRowData = getEditingRowData();
1635
+ setEditingRowDataState(editingRowData);
1636
+ editingRowDataStateRef.current = editingRowData;
1607
1637
  }
1608
1638
  }, [props.editingMeta]);
1609
1639
  React__namespace.useEffect(function () {
@@ -1680,7 +1710,7 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1680
1710
  if (showSelection) {
1681
1711
  var ariaLabelField = props.selectionAriaLabel || props.tableProps.dataKey;
1682
1712
  var ariaLabelText = utils.ObjectUtils.resolveFieldData(props.rowData, ariaLabelField);
1683
- label = "".concat(props.selected ? PrimeReact$1.ariaLabel('unselectLabel') : PrimeReact$1.ariaLabel('selectLabel'), " ").concat(ariaLabelText);
1713
+ label = "".concat(props.selected ? PrimeReact$1.ariaLabel('unselectRow') : PrimeReact$1.ariaLabel('selectRow'), " ").concat(ariaLabelText);
1684
1714
  }
1685
1715
  content = showSelection && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, selectionMode === 'single' && /*#__PURE__*/React__namespace.createElement(RowRadioButton, {
1686
1716
  hostName: props.hostName,
@@ -1695,7 +1725,8 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1695
1725
  tableSelector: props.tableSelector,
1696
1726
  ariaLabel: label,
1697
1727
  ptCallbacks: props.ptCallbacks,
1698
- metaData: props.metaData
1728
+ metaData: props.metaData,
1729
+ unstyled: props.unstyled
1699
1730
  }), selectionMode === 'multiple' && /*#__PURE__*/React__namespace.createElement(RowCheckbox, {
1700
1731
  hostName: props.hostName,
1701
1732
  column: props.column,
@@ -1709,17 +1740,19 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1709
1740
  ariaLabel: label,
1710
1741
  checkIcon: props.checkIcon,
1711
1742
  ptCallbacks: props.ptCallbacks,
1712
- metaData: props.metaData
1743
+ metaData: props.metaData,
1744
+ unstyled: props.unstyled
1713
1745
  }));
1714
1746
  } else if (rowReorder) {
1715
1747
  var showReorder = props.showRowReorderElement ? props.showRowReorderElement(props.rowData, {
1716
1748
  rowIndex: props.rowIndex,
1717
1749
  props: props.tableProps
1718
1750
  }) : true;
1751
+ var customIcon = getColumnProp('rowReorderIcon');
1719
1752
  var rowReorderIconProps = mergeProps({
1720
1753
  className: cx('rowReorderIcon')
1721
- }, getColumnPTOptions('rowReorderIcon'));
1722
- var rowReorderIcon = getColumnProp('rowReorderIcon') || /*#__PURE__*/React__namespace.createElement(bars.BarsIcon, rowReorderIconProps);
1754
+ }, customIcon ? null : getColumnPTOptions('rowReorderIcon'));
1755
+ var rowReorderIcon = customIcon || /*#__PURE__*/React__namespace.createElement(bars.BarsIcon, rowReorderIconProps);
1723
1756
  content = showReorder ? utils.IconUtils.getJSXIcon(rowReorderIcon, _objectSpread$a({}, rowReorderIconProps), {
1724
1757
  props: props
1725
1758
  }) : null;
@@ -1871,7 +1904,6 @@ var BodyCell = /*#__PURE__*/React__namespace.memo(function (props) {
1871
1904
  }, editorKeyHelperProps), /*#__PURE__*/React__namespace.createElement("span", editorKeyHelperLabelProps));
1872
1905
  /* eslint-enable */
1873
1906
  }
1874
-
1875
1907
  var bodyCellProps = mergeProps({
1876
1908
  style: style,
1877
1909
  className: utils.classNames(bodyClassName, getColumnProp('className'), cellClassName, cx('bodyCell', {
@@ -2163,7 +2195,7 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
2163
2195
  focusedItem && focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
2164
2196
  } else {
2165
2197
  rows[0].tabIndex = '0';
2166
- focusedItem !== rows[0] && (rows[rowIndex].tabIndex = '-1');
2198
+ focusedItem !== rows[0] && (rows[props.rowIndex].tabIndex = '-1');
2167
2199
  }
2168
2200
  }
2169
2201
  };
@@ -2355,7 +2387,8 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
2355
2387
  value: props.value,
2356
2388
  virtualScrollerOptions: props.virtualScrollerOptions,
2357
2389
  ptCallbacks: props.ptCallbacks,
2358
- metaData: props.metaData
2390
+ metaData: props.metaData,
2391
+ unstyled: props.unstyled
2359
2392
  });
2360
2393
  }
2361
2394
  return null;
@@ -2434,7 +2467,6 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
2434
2467
  }, getBodyRowPTOptions('bodyRow'), {
2435
2468
  className: utils.classNames(rowClassName) // #5983 must be last so all unstyled merging takes place first
2436
2469
  });
2437
-
2438
2470
  return /*#__PURE__*/React__namespace.createElement("tr", rowProps, content);
2439
2471
  });
2440
2472
  BodyRow.displayName = 'BodyRow';
@@ -3063,6 +3095,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
3063
3095
  var event = e.originalEvent;
3064
3096
  if (!isUnsyled && utils.DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle')) {
3065
3097
  event.currentTarget.draggable = true;
3098
+ event.target.draggable = false;
3066
3099
  } else {
3067
3100
  event.currentTarget.draggable = false;
3068
3101
  }
@@ -3141,7 +3174,6 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
3141
3174
  event.dataTransfer.setData('text', 'b'); // For firefox
3142
3175
  }
3143
3176
  };
3144
-
3145
3177
  var onRowDragOver = function onRowDragOver(e) {
3146
3178
  var event = e.originalEvent,
3147
3179
  index = e.index;
@@ -3363,7 +3395,8 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
3363
3395
  expandedRowIcon: props.expandedRowIcon,
3364
3396
  collapsedRowIcon: props.collapsedRowIcon,
3365
3397
  ptCallbacks: props.ptCallbacks,
3366
- metaData: props.metaData
3398
+ metaData: props.metaData,
3399
+ unstyled: props.unstyled
3367
3400
  });
3368
3401
  var options = {
3369
3402
  index: rowIndex,
@@ -3468,7 +3501,8 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
3468
3501
  value: props.value,
3469
3502
  virtualScrollerOptions: props.virtualScrollerOptions,
3470
3503
  ptCallbacks: props.ptCallbacks,
3471
- metaData: props.metaData
3504
+ metaData: props.metaData,
3505
+ unstyled: props.unstyled
3472
3506
  });
3473
3507
  }
3474
3508
  };
@@ -4065,6 +4099,15 @@ var FocusTrap = /*#__PURE__*/React__default["default"].memo( /*#__PURE__*/React_
4065
4099
  var getTarget = function getTarget() {
4066
4100
  return firstFocusableElementRef.current && firstFocusableElementRef.current.parentElement;
4067
4101
  };
4102
+
4103
+ /**
4104
+ * This method sets the auto focus on the first focusable element within the target element.
4105
+ * It first tries to find a focusable element using the autoFocusSelector. If no such element is found,
4106
+ * it then tries to find a focusable element using the firstFocusableSelector.
4107
+ * If the autoFocus prop is set to true and a focusable element is found, it sets the focus on that element.
4108
+ *
4109
+ * @param {HTMLElement} target - The target element within which to find a focusable element.
4110
+ */
4068
4111
  var setAutoFocus = function setAutoFocus(target) {
4069
4112
  var _ref = props || {},
4070
4113
  _ref$autoFocusSelecto = _ref.autoFocusSelector,
@@ -4073,7 +4116,9 @@ var FocusTrap = /*#__PURE__*/React__default["default"].memo( /*#__PURE__*/React_
4073
4116
  firstFocusableSelector = _ref$firstFocusableSe === void 0 ? '' : _ref$firstFocusableSe,
4074
4117
  _ref$autoFocus = _ref.autoFocus,
4075
4118
  autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus;
4076
- var focusableElement = utils.DomHandler.getFirstFocusableElement(target, "[autofocus]".concat(getComputedSelector(autoFocusSelector)));
4119
+ var defaultAutoFocusSelector = "".concat(getComputedSelector(autoFocusSelector));
4120
+ var computedAutoFocusSelector = "[autofocus]".concat(defaultAutoFocusSelector, ", [data-pc-autofocus='true']").concat(defaultAutoFocusSelector);
4121
+ var focusableElement = utils.DomHandler.getFirstFocusableElement(target, computedAutoFocusSelector);
4077
4122
  autoFocus && !focusableElement && (focusableElement = utils.DomHandler.getFirstFocusableElement(target, getComputedSelector(firstFocusableSelector)));
4078
4123
  utils.DomHandler.focus(focusableElement);
4079
4124
  };
@@ -5189,7 +5234,7 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
5189
5234
  column: props.column
5190
5235
  });
5191
5236
  };
5192
- var onResizerMouseDown = function onResizerMouseDown(event) {
5237
+ var onResizeStart = function onResizeStart(event) {
5193
5238
  props.onColumnResizeStart({
5194
5239
  originalEvent: event,
5195
5240
  column: props.column
@@ -5226,7 +5271,10 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
5226
5271
  var columnResizerProps = mergeProps({
5227
5272
  className: cx('columnResizer'),
5228
5273
  onMouseDown: function onMouseDown(e) {
5229
- return onResizerMouseDown(e);
5274
+ return onResizeStart(e);
5275
+ },
5276
+ onTouchStart: function onTouchStart(e) {
5277
+ return onResizeStart(e);
5230
5278
  },
5231
5279
  onClick: function onClick(e) {
5232
5280
  return onResizerClick(e);
@@ -5286,7 +5334,8 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
5286
5334
  onChange: props.onColumnCheckboxChange,
5287
5335
  disabled: props.empty,
5288
5336
  ptCallbacks: ptCallbacks,
5289
- metaData: parentMetaData
5337
+ metaData: parentMetaData,
5338
+ unstyled: props.unstyled
5290
5339
  });
5291
5340
  }
5292
5341
  return null;
@@ -5752,29 +5801,40 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
5752
5801
  setRowsState(props.rows);
5753
5802
  setD_rowsState(props.rows);
5754
5803
  }
5804
+ var columnResizeStartListener = function columnResizeStartListener(event) {
5805
+ return columnResizing.current && onColumnResize(event);
5806
+ };
5807
+ var columnResizeEndListener = function columnResizeEndListener() {
5808
+ return columnResizing.current && (columnResizing.current = false, onColumnResizeEnd());
5809
+ };
5755
5810
  var _useEventListener = hooks.useEventListener({
5756
5811
  type: 'mousemove',
5757
- listener: function listener(event) {
5758
- if (columnResizing.current) {
5759
- onColumnResize(event);
5760
- }
5761
- }
5812
+ listener: columnResizeStartListener
5762
5813
  }),
5763
5814
  _useEventListener2 = _slicedToArray(_useEventListener, 2),
5764
5815
  bindDocumentMouseMoveListener = _useEventListener2[0],
5765
5816
  unbindDocumentMouseMoveListener = _useEventListener2[1];
5766
5817
  var _useEventListener3 = hooks.useEventListener({
5767
5818
  type: 'mouseup',
5768
- listener: function listener() {
5769
- if (columnResizing.current) {
5770
- columnResizing.current = false;
5771
- onColumnResizeEnd();
5772
- }
5773
- }
5819
+ listener: columnResizeEndListener
5774
5820
  }),
5775
5821
  _useEventListener4 = _slicedToArray(_useEventListener3, 2),
5776
5822
  bindDocumentMouseUpListener = _useEventListener4[0],
5777
5823
  unbindDocumentMouseUpListener = _useEventListener4[1];
5824
+ var _useEventListener5 = hooks.useEventListener({
5825
+ type: 'touchmove',
5826
+ listener: columnResizeStartListener
5827
+ }),
5828
+ _useEventListener6 = _slicedToArray(_useEventListener5, 2),
5829
+ bindDocumentTouchMoveListener = _useEventListener6[0],
5830
+ unbindDocumentTouchMoveListener = _useEventListener6[1];
5831
+ var _useEventListener7 = hooks.useEventListener({
5832
+ type: 'touchend',
5833
+ listener: columnResizeEndListener
5834
+ }),
5835
+ _useEventListener8 = _slicedToArray(_useEventListener7, 2),
5836
+ bindDocumentTouchEndListener = _useEventListener8[0],
5837
+ unbindDocumentTouchEndListener = _useEventListener8[1];
5778
5838
  var isCustomStateStorage = function isCustomStateStorage() {
5779
5839
  return props.stateStorage === 'custom';
5780
5840
  };
@@ -5828,18 +5888,6 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
5828
5888
  }
5829
5889
  return columns;
5830
5890
  };
5831
- var getStorage = function getStorage() {
5832
- switch (props.stateStorage) {
5833
- case 'local':
5834
- return window.localStorage;
5835
- case 'session':
5836
- return window.sessionStorage;
5837
- case 'custom':
5838
- return null;
5839
- default:
5840
- throw new Error(props.stateStorage + ' is not a valid value for the state storage, supported values are "local", "session" and "custom".');
5841
- }
5842
- };
5843
5891
  var saveState = function saveState() {
5844
5892
  var state = {};
5845
5893
  if (props.paginator) {
@@ -5875,7 +5923,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
5875
5923
  props.customSaveState(state);
5876
5924
  }
5877
5925
  } else {
5878
- var storage = getStorage();
5926
+ var storage = getStorage(props.stateStorage);
5879
5927
  if (utils.ObjectUtils.isNotEmpty(state)) {
5880
5928
  storage.setItem(props.stateKey, JSON.stringify(state));
5881
5929
  }
@@ -5885,7 +5933,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
5885
5933
  }
5886
5934
  };
5887
5935
  var clearState = function clearState() {
5888
- var storage = getStorage();
5936
+ var storage = getStorage(props.stateStorage);
5889
5937
  if (storage && props.stateKey) {
5890
5938
  storage.removeItem(props.stateKey);
5891
5939
  }
@@ -5897,7 +5945,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
5897
5945
  restoredState = props.customRestoreState();
5898
5946
  }
5899
5947
  } else {
5900
- var storage = getStorage();
5948
+ var storage = getStorage(props.stateStorage);
5901
5949
  var stateString = storage.getItem(props.stateKey);
5902
5950
  var dateFormat = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;
5903
5951
  var reviver = function reviver(key, value) {
@@ -6122,7 +6170,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
6122
6170
  resizeColumn.current = column;
6123
6171
  resizeColumnElement.current = event.currentTarget.parentElement;
6124
6172
  columnResizing.current = true;
6125
- lastResizeHelperX.current = event.pageX - containerLeft + elementRef.current.scrollLeft;
6173
+ lastResizeHelperX.current = (event.type === 'touchstart' ? event.changedTouches[0].clientX : event.pageX) - containerLeft + elementRef.current.scrollLeft;
6126
6174
  bindColumnResizeEvents();
6127
6175
  };
6128
6176
  var onColumnResize = function onColumnResize(event) {
@@ -6130,7 +6178,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
6130
6178
  elementRef.current.setAttribute('data-p-unselectable-text', true);
6131
6179
  resizeHelperRef.current.style.height = elementRef.current.offsetHeight + 'px';
6132
6180
  resizeHelperRef.current.style.top = 0 + 'px';
6133
- resizeHelperRef.current.style.left = event.pageX - containerLeft + elementRef.current.scrollLeft + 'px';
6181
+ resizeHelperRef.current.style.left = (event.type === 'touchmove' ? event.changedTouches[0].clientX : event.pageX) - containerLeft + elementRef.current.scrollLeft + 'px';
6134
6182
  resizeHelperRef.current.style.display = 'block';
6135
6183
  };
6136
6184
  var onColumnResizeEnd = function onColumnResizeEnd() {
@@ -6201,10 +6249,14 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
6201
6249
  var bindColumnResizeEvents = function bindColumnResizeEvents() {
6202
6250
  bindDocumentMouseMoveListener();
6203
6251
  bindDocumentMouseUpListener();
6252
+ bindDocumentTouchMoveListener();
6253
+ bindDocumentTouchEndListener();
6204
6254
  };
6205
6255
  var unbindColumnResizeEvents = function unbindColumnResizeEvents() {
6206
6256
  unbindDocumentMouseMoveListener();
6207
6257
  unbindDocumentMouseUpListener();
6258
+ unbindDocumentTouchMoveListener();
6259
+ unbindDocumentTouchEndListener();
6208
6260
  };
6209
6261
  var onColumnHeaderMouseDown = function onColumnHeaderMouseDown(e) {
6210
6262
  utils.DomHandler.clearSelection();
@@ -6270,7 +6322,6 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
6270
6322
  draggedColumnElement.current = findParentHeader(event.currentTarget);
6271
6323
  event.dataTransfer.setData('text', 'b'); // Firefox requires this to make dragging possible
6272
6324
  };
6273
-
6274
6325
  var onColumnHeaderDragOver = function onColumnHeaderDragOver(e) {
6275
6326
  var event = e.originalEvent,
6276
6327
  column = e.column;
@@ -7035,7 +7086,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
7035
7086
  className: ptCallbacks.cx('loadingIcon')
7036
7087
  }, ptCallbacks.ptm('loadingIcon'));
7037
7088
  var icon = props.loadingIcon || /*#__PURE__*/React__namespace.createElement(spinner.SpinnerIcon, _extends({}, loadingIconProps, {
7038
- spin: true
7089
+ spin: true,
7090
+ unstyled: props.unstyled
7039
7091
  }));
7040
7092
  var loadingIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread({}, loadingIconProps), {
7041
7093
  props: props
@@ -7202,7 +7254,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
7202
7254
  value: props.frozenValue,
7203
7255
  virtualScrollerOptions: options,
7204
7256
  ptCallbacks: ptCallbacks,
7205
- metaData: metaData
7257
+ metaData: metaData,
7258
+ unstyled: props.unstyled
7206
7259
  });
7207
7260
  var body = /*#__PURE__*/React__namespace.createElement(TableBody, {
7208
7261
  hostName: "DataTable",
@@ -7285,7 +7338,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
7285
7338
  virtualScrollerContentRef: contentRef,
7286
7339
  virtualScrollerOptions: options,
7287
7340
  ptCallbacks: ptCallbacks,
7288
- metaData: metaData
7341
+ metaData: metaData,
7342
+ unstyled: props.unstyled
7289
7343
  });
7290
7344
  var spacerBody = utils.ObjectUtils.isNotEmpty(spacerStyle) ? /*#__PURE__*/React__namespace.createElement(TableBody, {
7291
7345
  hostName: "DataTable",
@@ -7294,7 +7348,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
7294
7348
  },
7295
7349
  className: "p-datatable-virtualscroller-spacer",
7296
7350
  ptCallbacks: ptCallbacks,
7297
- metaData: metaData
7351
+ metaData: metaData,
7352
+ unstyled: props.unstyled
7298
7353
  }) : null;
7299
7354
  return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, frozenBody, body, spacerBody);
7300
7355
  };
@@ -7306,7 +7361,8 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
7306
7361
  columns: columns,
7307
7362
  footerColumnGroup: props.footerColumnGroup,
7308
7363
  ptCallbacks: ptCallbacks,
7309
- metaData: metaData
7364
+ metaData: metaData,
7365
+ unstyled: props.unstyled
7310
7366
  });
7311
7367
  };
7312
7368
  var createContent = function createContent(processedData, columns, selectionModeInColumn, empty) {
@@ -7341,6 +7397,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
7341
7397
  parent: metaData
7342
7398
  },
7343
7399
  showSpacer: false,
7400
+ unstyled: props.unstyled,
7344
7401
  contentTemplate: function contentTemplate(options) {
7345
7402
  var ref = function ref(el) {
7346
7403
  tableRef.current = el;