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
package/core/core.js CHANGED
@@ -196,7 +196,7 @@ this.primereact.utils = (function (exports, React) {
196
196
  function DomHandler() {
197
197
  _classCallCheck(this, DomHandler);
198
198
  }
199
- _createClass(DomHandler, null, [{
199
+ return _createClass(DomHandler, null, [{
200
200
  key: "innerWidth",
201
201
  value: function innerWidth(el) {
202
202
  if (el) {
@@ -1426,7 +1426,6 @@ this.primereact.utils = (function (exports, React) {
1426
1426
  return false;
1427
1427
  }
1428
1428
  }]);
1429
- return DomHandler;
1430
1429
  }();
1431
1430
  /**
1432
1431
  * All data- properties like data-test-id
@@ -1484,7 +1483,7 @@ this.primereact.utils = (function (exports, React) {
1484
1483
  function ObjectUtils() {
1485
1484
  _classCallCheck(this, ObjectUtils);
1486
1485
  }
1487
- _createClass(ObjectUtils, null, [{
1486
+ return _createClass(ObjectUtils, null, [{
1488
1487
  key: "equals",
1489
1488
  value: function equals(obj1, obj2, field) {
1490
1489
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') {
@@ -2006,7 +2005,6 @@ this.primereact.utils = (function (exports, React) {
2006
2005
  }
2007
2006
  }
2008
2007
  }]);
2009
- return ObjectUtils;
2010
2008
  }();
2011
2009
 
2012
2010
  function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -2015,7 +2013,7 @@ this.primereact.utils = (function (exports, React) {
2015
2013
  function IconUtils() {
2016
2014
  _classCallCheck(this, IconUtils);
2017
2015
  }
2018
- _createClass(IconUtils, null, [{
2016
+ return _createClass(IconUtils, null, [{
2019
2017
  key: "getJSXIcon",
2020
2018
  value: function getJSXIcon(icon) {
2021
2019
  var iconProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -2038,7 +2036,6 @@ this.primereact.utils = (function (exports, React) {
2038
2036
  return content;
2039
2037
  }
2040
2038
  }]);
2041
- return IconUtils;
2042
2039
  }();
2043
2040
 
2044
2041
  function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -4497,7 +4494,8 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
4497
4494
  PASSWORD: 700,
4498
4495
  CASCADE_SELECT: 800,
4499
4496
  SPLIT_BUTTON: 900,
4500
- SPEED_DIAL: 1000
4497
+ SPEED_DIAL: 1000,
4498
+ TOOLTIP: 1200
4501
4499
  };
4502
4500
 
4503
4501
  /**
@@ -5812,32 +5810,26 @@ this.primereact.csstransition = (function (exports, React, reactTransitionGroup,
5812
5810
  props.onEnter && props.onEnter(node, isAppearing); // component
5813
5811
  props.options && props.options.onEnter && props.options.onEnter(node, isAppearing); // user option
5814
5812
  };
5815
-
5816
5813
  var onEntering = function onEntering(node, isAppearing) {
5817
5814
  props.onEntering && props.onEntering(node, isAppearing); // component
5818
5815
  props.options && props.options.onEntering && props.options.onEntering(node, isAppearing); // user option
5819
5816
  };
5820
-
5821
5817
  var onEntered = function onEntered(node, isAppearing) {
5822
5818
  props.onEntered && props.onEntered(node, isAppearing); // component
5823
5819
  props.options && props.options.onEntered && props.options.onEntered(node, isAppearing); // user option
5824
5820
  };
5825
-
5826
5821
  var onExit = function onExit(node) {
5827
5822
  props.onExit && props.onExit(node); // component
5828
5823
  props.options && props.options.onExit && props.options.onExit(node); // user option
5829
5824
  };
5830
-
5831
5825
  var onExiting = function onExiting(node) {
5832
5826
  props.onExiting && props.onExiting(node); // component
5833
5827
  props.options && props.options.onExiting && props.options.onExiting(node); // user option
5834
5828
  };
5835
-
5836
5829
  var onExited = function onExited(node) {
5837
5830
  props.onExited && props.onExited(node); // component
5838
5831
  props.options && props.options.onExited && props.options.onExited(node); // user option
5839
5832
  };
5840
-
5841
5833
  hooks.useUpdateEffect(function () {
5842
5834
  if (disabled) {
5843
5835
  // no animation
@@ -6090,7 +6082,7 @@ this.primereact.keyfilter = (function (exports, utils) {
6090
6082
  if (validateOnly || utils.DomHandler.isAndroid()) {
6091
6083
  return;
6092
6084
  }
6093
- if (e.ctrlKey || e.altKey) {
6085
+ if (e.ctrlKey || e.altKey || e.metaKey) {
6094
6086
  return;
6095
6087
  }
6096
6088
  this.validateKey(e, e.key, keyfilter);
@@ -9337,6 +9329,7 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
9337
9329
  autoZIndex: true,
9338
9330
  baseZIndex: 0,
9339
9331
  className: null,
9332
+ closeOnEscape: false,
9340
9333
  content: null,
9341
9334
  disabled: false,
9342
9335
  event: null,
@@ -9377,7 +9370,7 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
9377
9370
  _React$useState2 = _slicedToArray(_React$useState, 2),
9378
9371
  visibleState = _React$useState2[0],
9379
9372
  setVisibleState = _React$useState2[1];
9380
- var _React$useState3 = React__namespace.useState(props.position),
9373
+ var _React$useState3 = React__namespace.useState(props.position || 'right'),
9381
9374
  _React$useState4 = _slicedToArray(_React$useState3, 2),
9382
9375
  positionState = _React$useState4[0],
9383
9376
  setPositionState = _React$useState4[1];
@@ -9407,6 +9400,13 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
9407
9400
  componentbase.useHandleStyle(TooltipBase.css.styles, isUnstyled, {
9408
9401
  name: 'tooltip'
9409
9402
  });
9403
+ hooks.useGlobalOnEscapeKey({
9404
+ callback: function callback() {
9405
+ hide();
9406
+ },
9407
+ when: props.closeOnEscape,
9408
+ priority: [hooks.ESC_KEY_HANDLING_PRIORITIES.TOOLTIP, 0]
9409
+ });
9410
9410
  var elementRef = React__namespace.useRef(null);
9411
9411
  var textRef = React__namespace.useRef(null);
9412
9412
  var currentTargetRef = React__namespace.useRef(null);
@@ -9792,7 +9792,7 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
9792
9792
  bindWindowResizeListener();
9793
9793
  bindOverlayScrollListener();
9794
9794
  } else {
9795
- setPositionState(props.position);
9795
+ setPositionState(props.position || 'right');
9796
9796
  setClassNameState('');
9797
9797
  currentTargetRef.current = null;
9798
9798
  containerSize.current = null;
@@ -9804,7 +9804,8 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
9804
9804
  };
9805
9805
  }, [visibleState]);
9806
9806
  hooks.useUpdateEffect(function () {
9807
- if (visibleState) {
9807
+ var position = getPosition(currentTargetRef.current);
9808
+ if (visibleState && position !== 'mouse') {
9808
9809
  applyDelay('updateDelay', function () {
9809
9810
  updateText(currentTargetRef.current, function () {
9810
9811
  align(currentTargetRef.current);
@@ -10704,7 +10705,29 @@ this.primereact.virtualscroller = (function (exports, React, api, hooks, spinner
10704
10705
  }
10705
10706
  }, [numToleratedItemsState]);
10706
10707
  hooks.useUpdateEffect(function () {
10707
- if (!prevProps.items || prevProps.items.length !== (props.items || []).length) {
10708
+ // Check if the previous/current rows array exists
10709
+ var prevRowsExist = prevProps.items !== undefined && prevProps.items !== null;
10710
+ var currentRowsExist = props.items !== undefined && props.items !== null;
10711
+
10712
+ // Get the length of the previous/current rows array, or 0 if it doesn't exist
10713
+ var prevRowsLength = prevRowsExist ? prevProps.items.length : 0;
10714
+ var currentRowsLength = currentRowsExist ? props.items.length : 0;
10715
+
10716
+ // Check if the length of the rows arrays has changed
10717
+ var valuesChanged = prevRowsLength !== currentRowsLength;
10718
+
10719
+ // If both is true, we also need to check the lengths of the first element (assuming it's a matrix)
10720
+ if (both && !valuesChanged) {
10721
+ // Get the length of the columns or 0
10722
+ var prevColumnsLength = prevRowsExist && prevProps.items.length > 0 ? prevProps.items[0].length : 0;
10723
+ var currentColumnsLength = currentRowsExist && props.items.length > 0 ? props.items[0].length : 0;
10724
+
10725
+ // Check if the length of the columns has changed
10726
+ valuesChanged = prevColumnsLength !== currentColumnsLength;
10727
+ }
10728
+
10729
+ // If the previous items array doesn't exist or if any values have changed, call the init function
10730
+ if (!prevRowsExist || valuesChanged) {
10708
10731
  init();
10709
10732
  }
10710
10733
  var loading = loadingState;
@@ -10990,6 +11013,61 @@ this.primereact.checkbox = (function (exports, React, api, componentbase, hooks,
10990
11013
  return obj;
10991
11014
  }
10992
11015
 
11016
+ function _arrayWithHoles(arr) {
11017
+ if (Array.isArray(arr)) return arr;
11018
+ }
11019
+
11020
+ function _iterableToArrayLimit(r, l) {
11021
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
11022
+ if (null != t) {
11023
+ var e,
11024
+ n,
11025
+ i,
11026
+ u,
11027
+ a = [],
11028
+ f = !0,
11029
+ o = !1;
11030
+ try {
11031
+ if (i = (t = t.call(r)).next, 0 === l) {
11032
+ if (Object(t) !== t) return;
11033
+ f = !1;
11034
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
11035
+ } catch (r) {
11036
+ o = !0, n = r;
11037
+ } finally {
11038
+ try {
11039
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
11040
+ } finally {
11041
+ if (o) throw n;
11042
+ }
11043
+ }
11044
+ return a;
11045
+ }
11046
+ }
11047
+
11048
+ function _arrayLikeToArray(arr, len) {
11049
+ if (len == null || len > arr.length) len = arr.length;
11050
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
11051
+ return arr2;
11052
+ }
11053
+
11054
+ function _unsupportedIterableToArray(o, minLen) {
11055
+ if (!o) return;
11056
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
11057
+ var n = Object.prototype.toString.call(o).slice(8, -1);
11058
+ if (n === "Object" && o.constructor) n = o.constructor.name;
11059
+ if (n === "Map" || n === "Set") return Array.from(o);
11060
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
11061
+ }
11062
+
11063
+ function _nonIterableRest() {
11064
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
11065
+ }
11066
+
11067
+ function _slicedToArray(arr, i) {
11068
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
11069
+ }
11070
+
10993
11071
  var classes = {
10994
11072
  box: 'p-checkbox-box',
10995
11073
  input: 'p-checkbox-input',
@@ -11045,8 +11123,15 @@ this.primereact.checkbox = (function (exports, React, api, componentbase, hooks,
11045
11123
  var mergeProps = hooks.useMergeProps();
11046
11124
  var context = React__namespace.useContext(api.PrimeReactContext);
11047
11125
  var props = CheckboxBase.getProps(inProps, context);
11126
+ var _React$useState = React__namespace.useState(false),
11127
+ _React$useState2 = _slicedToArray(_React$useState, 2),
11128
+ focusedState = _React$useState2[0],
11129
+ setFocusedState = _React$useState2[1];
11048
11130
  var _CheckboxBase$setMeta = CheckboxBase.setMetaData({
11049
11131
  props: props,
11132
+ state: {
11133
+ focused: focusedState
11134
+ },
11050
11135
  context: {
11051
11136
  checked: props.checked === props.trueValue,
11052
11137
  disabled: props.disabled
@@ -11100,10 +11185,12 @@ this.primereact.checkbox = (function (exports, React, api, componentbase, hooks,
11100
11185
  };
11101
11186
  var _onFocus = function onFocus() {
11102
11187
  var _props$onFocus;
11188
+ setFocusedState(true);
11103
11189
  props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
11104
11190
  };
11105
11191
  var _onBlur = function onBlur() {
11106
11192
  var _props$onBlur;
11193
+ setFocusedState(false);
11107
11194
  props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
11108
11195
  };
11109
11196
  React__namespace.useImperativeHandle(ref, function () {
@@ -11503,6 +11590,7 @@ this.primereact.button = (function (exports, React, api, componentbase, hooks, u
11503
11590
  var rootProps = mergeProps({
11504
11591
  ref: elementRef,
11505
11592
  'aria-label': defaultAriaLabel,
11593
+ 'data-pc-autofocus': props.autoFocus,
11506
11594
  className: utils.classNames(props.className, cx('root', {
11507
11595
  size: size,
11508
11596
  disabled: disabled
@@ -12033,14 +12121,15 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
12033
12121
  var vertical = props.showButtons && props.buttonLayout === 'vertical';
12034
12122
  var inputMode = props.inputMode || (props.mode === 'decimal' && !props.minFractionDigits ? 'numeric' : 'decimal');
12035
12123
  var getOptions = function getOptions() {
12124
+ var _props$minFractionDig, _props$maxFractionDig;
12036
12125
  return {
12037
12126
  localeMatcher: props.localeMatcher,
12038
12127
  style: props.mode,
12039
12128
  currency: props.currency,
12040
12129
  currencyDisplay: props.currencyDisplay,
12041
12130
  useGrouping: props.useGrouping,
12042
- minimumFractionDigits: props.minFractionDigits,
12043
- maximumFractionDigits: props.maxFractionDigits,
12131
+ minimumFractionDigits: (_props$minFractionDig = props.minFractionDigits) !== null && _props$minFractionDig !== void 0 ? _props$minFractionDig : undefined,
12132
+ maximumFractionDigits: (_props$maxFractionDig = props.maxFractionDigits) !== null && _props$maxFractionDig !== void 0 ? _props$maxFractionDig : undefined,
12044
12133
  roundingMode: props.roundingMode
12045
12134
  };
12046
12135
  };
@@ -12308,7 +12397,7 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
12308
12397
  if (props.onKeyDown) {
12309
12398
  props.onKeyDown(event);
12310
12399
 
12311
- // do not continue if the user defined event wants to prevent
12400
+ // Do not continue if the user-defined event wants to prevent
12312
12401
  if (event.defaultPrevented) {
12313
12402
  return;
12314
12403
  }
@@ -12352,7 +12441,6 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
12352
12441
 
12353
12442
  //enter and tab
12354
12443
  case 'Tab':
12355
- case 'NumpadEnter':
12356
12444
  case 'Enter':
12357
12445
  case 'NumpadEnter':
12358
12446
  newValueStr = validateValue(parseValue(inputValue));
@@ -12456,13 +12544,15 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
12456
12544
  default:
12457
12545
  event.preventDefault();
12458
12546
  var _char2 = event.key;
12459
- var _isDecimalSign = isDecimalSign(_char2);
12460
- var _isMinusSign = isMinusSign(_char2);
12461
- if ((event.code.startsWith('Digit') || event.code.startsWith('Numpad')) && Number(_char2) >= 0 && Number(_char2) <= 9 || _isMinusSign || _isDecimalSign) {
12462
- insert(event, _char2, {
12463
- isDecimalSign: _isDecimalSign,
12464
- isMinusSign: _isMinusSign
12465
- });
12547
+ if (_char2) {
12548
+ var _isDecimalSign = isDecimalSign(_char2);
12549
+ var _isMinusSign = isMinusSign(_char2);
12550
+ if (Number(_char2) >= 0 && Number(_char2) <= 9 || _isMinusSign || _isDecimalSign) {
12551
+ insert(event, _char2, {
12552
+ isDecimalSign: _isDecimalSign,
12553
+ isMinusSign: _isMinusSign
12554
+ });
12555
+ }
12466
12556
  }
12467
12557
  break;
12468
12558
  }
@@ -12565,7 +12655,9 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
12565
12655
  var newValueStr;
12566
12656
  if (sign.isMinusSign) {
12567
12657
  var isNewMinusSign = minusCharIndex === -1;
12568
- if (isNewMinusSign && (selectionStart === 0 || selectionStart === currencyCharIndex + 1)) {
12658
+
12659
+ // #6522 - Selected negative value can't be overwritten with a minus ('-') symbol
12660
+ if (selectionStart === 0 || selectionStart === currencyCharIndex + 1) {
12569
12661
  newValueStr = inputValue;
12570
12662
  if (isNewMinusSign || selectionEnd !== 0) {
12571
12663
  newValueStr = insertText(inputValue, text, 0, selectionEnd);
@@ -12935,7 +13027,7 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
12935
13027
  hooks.useUpdateEffect(function () {
12936
13028
  constructParser();
12937
13029
  changeValue();
12938
- }, [props.locale, props.localeMatcher, props.mode, props.currency, props.currencyDisplay, props.useGrouping, props.minFractionDigits, props.maxFractionDigits, props.suffix, props.prefix]);
13030
+ }, [_locale, props.locale, props.localeMatcher, props.mode, props.currency, props.currencyDisplay, props.useGrouping, props.minFractionDigits, props.maxFractionDigits, props.suffix, props.prefix]);
12939
13031
  hooks.useUpdateEffect(function () {
12940
13032
  changeValue();
12941
13033
  }, [props.value]);
@@ -14165,7 +14257,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
14165
14257
  if (selected) {
14166
14258
  var checkIconProps = mergeProps({
14167
14259
  className: cx('checkIcon')
14168
- }, getPTOptions('checIcon'));
14260
+ }, getPTOptions('checkIcon'));
14169
14261
  return /*#__PURE__*/React__namespace.createElement(check.CheckIcon, checkIconProps);
14170
14262
  }
14171
14263
  var blankIconProps = mergeProps({
@@ -14252,7 +14344,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
14252
14344
  height: scrollerOptions.props ? scrollerOptions.props.itemSize : undefined
14253
14345
  };
14254
14346
  style = _objectSpread$1(_objectSpread$1({}, style), option.style);
14255
- if (option.group && props.optionGroupLabel) {
14347
+ if (option.group && option.optionGroup && props.optionGroupLabel) {
14256
14348
  var optionGroupLabel = props.optionGroupLabel;
14257
14349
  var groupContent = props.optionGroupTemplate ? utils.ObjectUtils.getJSXElement(props.optionGroupTemplate, option, index) : props.getOptionGroupLabel(option);
14258
14350
  var key = index + '_' + props.getOptionGroupRenderKey(option);
@@ -14633,10 +14725,9 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
14633
14725
  };
14634
14726
  var onOptionSelect = function onOptionSelect(event, option) {
14635
14727
  var isHide = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
14636
- var value = getOptionValue(option);
14637
14728
  selectItem({
14638
14729
  originalEvent: event,
14639
- option: value
14730
+ option: option
14640
14731
  });
14641
14732
  isHide && hide();
14642
14733
  };
@@ -14919,8 +15010,9 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
14919
15010
  }
14920
15011
  };
14921
15012
  var onEditableInputChange = function onEditableInputChange(event) {
15013
+ !overlayVisibleState && show();
14922
15014
  var searchIndex = null;
14923
- if (event.target.value) {
15015
+ if (event.target.value && visibleOptions) {
14924
15016
  searchIndex = visibleOptions.findIndex(function (item) {
14925
15017
  return getOptionLabel(item).toLocaleLowerCase().startsWith(event.target.value.toLocaleLowerCase());
14926
15018
  });
@@ -15126,10 +15218,12 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
15126
15218
  }
15127
15219
  };
15128
15220
  var getOptionLabel = function getOptionLabel(option) {
15129
- return props.optionLabel ? utils.ObjectUtils.resolveFieldData(option, props.optionLabel) : utils.ObjectUtils.resolveFieldData(option, 'label');
15221
+ var optionLabel = props.optionLabel ? utils.ObjectUtils.resolveFieldData(option, props.optionLabel) : utils.ObjectUtils.resolveFieldData(option, 'label');
15222
+ return utils.ObjectUtils.isNotEmpty(optionLabel) ? optionLabel : option;
15130
15223
  };
15131
15224
  var getOptionValue = function getOptionValue(option) {
15132
- return props.optionValue ? utils.ObjectUtils.resolveFieldData(option, props.optionValue) : utils.ObjectUtils.resolveFieldData(option, 'value') || option;
15225
+ var optionValue = props.OptionValue ? utils.ObjectUtils.resolveFieldData(option, props.optionValue) : utils.ObjectUtils.resolveFieldData(option, 'value');
15226
+ return utils.ObjectUtils.isNotEmpty(optionValue) ? optionValue : option;
15133
15227
  };
15134
15228
  var getOptionRenderKey = function getOptionRenderKey(option) {
15135
15229
  return props.dataKey ? utils.ObjectUtils.resolveFieldData(option, props.dataKey) : getOptionLabel(option);
@@ -15302,7 +15396,7 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
15302
15396
  }, ariaProps), ptm('input'));
15303
15397
  return /*#__PURE__*/React__namespace.createElement("input", _inputProps);
15304
15398
  }
15305
- var content = props.valueTemplate ? utils.ObjectUtils.getJSXElement(props.valueTemplate, selectedOption, props) : label || props.placeholder || 'empty';
15399
+ var content = props.valueTemplate ? utils.ObjectUtils.getJSXElement(props.valueTemplate, selectedOption, props) : label || props.placeholder || props.emptyMessage || /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, "\xA0");
15306
15400
  var inputProps = mergeProps({
15307
15401
  ref: inputRef,
15308
15402
  className: cx('input', {
@@ -15681,6 +15775,15 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
15681
15775
  var getTarget = function getTarget() {
15682
15776
  return firstFocusableElementRef.current && firstFocusableElementRef.current.parentElement;
15683
15777
  };
15778
+
15779
+ /**
15780
+ * This method sets the auto focus on the first focusable element within the target element.
15781
+ * It first tries to find a focusable element using the autoFocusSelector. If no such element is found,
15782
+ * it then tries to find a focusable element using the firstFocusableSelector.
15783
+ * If the autoFocus prop is set to true and a focusable element is found, it sets the focus on that element.
15784
+ *
15785
+ * @param {HTMLElement} target - The target element within which to find a focusable element.
15786
+ */
15684
15787
  var setAutoFocus = function setAutoFocus(target) {
15685
15788
  var _ref = props || {},
15686
15789
  _ref$autoFocusSelecto = _ref.autoFocusSelector,
@@ -15689,7 +15792,9 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
15689
15792
  firstFocusableSelector = _ref$firstFocusableSe === void 0 ? '' : _ref$firstFocusableSe,
15690
15793
  _ref$autoFocus = _ref.autoFocus,
15691
15794
  autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus;
15692
- var focusableElement = utils.DomHandler.getFirstFocusableElement(target, "[autofocus]".concat(getComputedSelector(autoFocusSelector)));
15795
+ var defaultAutoFocusSelector = "".concat(getComputedSelector(autoFocusSelector));
15796
+ var computedAutoFocusSelector = "[autofocus]".concat(defaultAutoFocusSelector, ", [data-pc-autofocus='true']").concat(defaultAutoFocusSelector);
15797
+ var focusableElement = utils.DomHandler.getFirstFocusableElement(target, computedAutoFocusSelector);
15693
15798
  autoFocus && !focusableElement && (focusableElement = utils.DomHandler.getFirstFocusableElement(target, getComputedSelector(firstFocusableSelector)));
15694
15799
  utils.DomHandler.focus(focusableElement);
15695
15800
  };
@@ -15788,7 +15893,7 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
15788
15893
  },
15789
15894
  transition: 'p-dialog'
15790
15895
  };
15791
- var styles = "\n@layer primereact {\n .p-dialog-mask {\n background-color: transparent;\n transition-property: background-color;\n }\n \n .p-dialog-visible {\n display: flex;\n }\n \n .p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n }\n \n .p-dialog {\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n max-height: 90%;\n transform: scale(1);\n position: relative;\n }\n \n .p-dialog-content {\n overflow-y: auto;\n flex-grow: 1;\n }\n \n .p-dialog-header {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n }\n \n .p-dialog-footer {\n flex-shrink: 0;\n }\n \n .p-dialog .p-dialog-header-icons {\n display: flex;\n align-items: center;\n align-self: flex-start;\n flex-shrink: 0;\n }\n \n .p-dialog .p-dialog-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n \n .p-dialog .p-dialog-title {\n flex-grow: 1;\n }\n \n /* Fluid */\n .p-fluid .p-dialog-footer .p-button {\n width: auto;\n }\n \n /* Animation */\n /* Center */\n .p-dialog-enter {\n opacity: 0;\n transform: scale(0.7);\n }\n \n .p-dialog-enter-active {\n opacity: 1;\n transform: scale(1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n \n .p-dialog-enter-done {\n transform: none;\n }\n \n .p-dialog-exit-active {\n opacity: 0;\n transform: scale(0.7);\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n \n /* Top, Bottom, Left, Right, Top* and Bottom* */\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-top-left .p-dialog,\n .p-dialog-top-right .p-dialog,\n .p-dialog-bottom-left .p-dialog,\n .p-dialog-bottom-right .p-dialog {\n margin: 0.75em;\n }\n \n .p-dialog-top .p-dialog-enter,\n .p-dialog-top .p-dialog-exit-active {\n transform: translate3d(0px, -100%, 0px);\n }\n \n .p-dialog-bottom .p-dialog-enter,\n .p-dialog-bottom .p-dialog-exit-active {\n transform: translate3d(0px, 100%, 0px);\n }\n \n .p-dialog-left .p-dialog-enter,\n .p-dialog-left .p-dialog-exit-active,\n .p-dialog-top-left .p-dialog-enter,\n .p-dialog-top-left .p-dialog-exit-active,\n .p-dialog-bottom-left .p-dialog-enter,\n .p-dialog-bottom-left .p-dialog-exit-active {\n transform: translate3d(-100%, 0px, 0px);\n }\n \n .p-dialog-right .p-dialog-enter,\n .p-dialog-right .p-dialog-exit-active,\n .p-dialog-top-right .p-dialog-enter,\n .p-dialog-top-right .p-dialog-exit-active,\n .p-dialog-bottom-right .p-dialog-enter,\n .p-dialog-bottom-right .p-dialog-exit-active {\n transform: translate3d(100%, 0px, 0px);\n }\n \n .p-dialog-top .p-dialog-enter-active,\n .p-dialog-bottom .p-dialog-enter-active,\n .p-dialog-left .p-dialog-enter-active,\n .p-dialog-top-left .p-dialog-enter-active,\n .p-dialog-bottom-left .p-dialog-enter-active,\n .p-dialog-right .p-dialog-enter-active,\n .p-dialog-top-right .p-dialog-enter-active,\n .p-dialog-bottom-right .p-dialog-enter-active {\n transform: translate3d(0px, 0px, 0px);\n transition: all 0.3s ease-out;\n }\n \n .p-dialog-top .p-dialog-exit-active,\n .p-dialog-bottom .p-dialog-exit-active,\n .p-dialog-left .p-dialog-exit-active,\n .p-dialog-top-left .p-dialog-exit-active,\n .p-dialog-bottom-left .p-dialog-exit-active,\n .p-dialog-right .p-dialog-exit-active,\n .p-dialog-top-right .p-dialog-exit-active,\n .p-dialog-bottom-right .p-dialog-exit-active {\n transition: all 0.3s ease-out;\n }\n \n /* Maximize */\n .p-dialog-maximized {\n transition: none;\n transform: none;\n margin: 0;\n width: 100vw !important;\n height: 100vh !important;\n max-height: 100%;\n top: 0px !important;\n left: 0px !important;\n }\n \n .p-dialog-maximized .p-dialog-content {\n flex-grow: 1;\n }\n \n .p-confirm-dialog .p-dialog-content {\n display: flex;\n align-items: center;\n }\n \n /* Resizable */\n .p-dialog .p-resizable-handle {\n position: absolute;\n font-size: 0.1px;\n display: block;\n cursor: se-resize;\n width: 12px;\n height: 12px;\n right: 1px;\n bottom: 1px;\n }\n \n .p-dialog-draggable .p-dialog-header {\n cursor: move;\n } \n}\n";
15896
+ var styles = "\n@layer primereact {\n .p-dialog-mask {\n background-color: transparent;\n transition-property: background-color;\n }\n\n .p-dialog-visible {\n display: flex;\n }\n\n .p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n }\n\n .p-dialog {\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n max-height: 90%;\n transform: scale(1);\n position: relative;\n }\n\n .p-dialog-content {\n overflow-y: auto;\n flex-grow: 1;\n }\n\n .p-dialog-header {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n }\n\n .p-dialog-footer {\n flex-shrink: 0;\n }\n\n .p-dialog .p-dialog-header-icons {\n display: flex;\n align-items: center;\n align-self: flex-start;\n flex-shrink: 0;\n }\n\n .p-dialog .p-dialog-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n }\n\n .p-dialog .p-dialog-title {\n flex-grow: 1;\n }\n\n /* Fluid */\n .p-fluid .p-dialog-footer .p-button {\n width: auto;\n }\n\n /* Animation */\n /* Center */\n .p-dialog-enter {\n opacity: 0;\n transform: scale(0.7);\n }\n\n .p-dialog-enter-active {\n opacity: 1;\n transform: scale(1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-dialog-enter-done {\n transform: none;\n }\n\n .p-dialog-exit-active {\n opacity: 0;\n transform: scale(0.7);\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n\n /* Top, Bottom, Left, Right, Top* and Bottom* */\n .p-dialog-top .p-dialog,\n .p-dialog-bottom .p-dialog,\n .p-dialog-left .p-dialog,\n .p-dialog-right .p-dialog,\n .p-dialog-top-left .p-dialog,\n .p-dialog-top-right .p-dialog,\n .p-dialog-bottom-left .p-dialog,\n .p-dialog-bottom-right .p-dialog {\n margin: 0.75em;\n }\n\n .p-dialog-top .p-dialog-enter,\n .p-dialog-top .p-dialog-exit-active {\n transform: translate3d(0px, -100%, 0px);\n }\n\n .p-dialog-bottom .p-dialog-enter,\n .p-dialog-bottom .p-dialog-exit-active {\n transform: translate3d(0px, 100%, 0px);\n }\n\n .p-dialog-left .p-dialog-enter,\n .p-dialog-left .p-dialog-exit-active,\n .p-dialog-top-left .p-dialog-enter,\n .p-dialog-top-left .p-dialog-exit-active,\n .p-dialog-bottom-left .p-dialog-enter,\n .p-dialog-bottom-left .p-dialog-exit-active {\n transform: translate3d(-100%, 0px, 0px);\n }\n\n .p-dialog-right .p-dialog-enter,\n .p-dialog-right .p-dialog-exit-active,\n .p-dialog-top-right .p-dialog-enter,\n .p-dialog-top-right .p-dialog-exit-active,\n .p-dialog-bottom-right .p-dialog-enter,\n .p-dialog-bottom-right .p-dialog-exit-active {\n transform: translate3d(100%, 0px, 0px);\n }\n\n .p-dialog-top .p-dialog-enter-active,\n .p-dialog-bottom .p-dialog-enter-active,\n .p-dialog-left .p-dialog-enter-active,\n .p-dialog-top-left .p-dialog-enter-active,\n .p-dialog-bottom-left .p-dialog-enter-active,\n .p-dialog-right .p-dialog-enter-active,\n .p-dialog-top-right .p-dialog-enter-active,\n .p-dialog-bottom-right .p-dialog-enter-active {\n transform: translate3d(0px, 0px, 0px);\n transition: all 0.3s ease-out;\n }\n\n .p-dialog-top .p-dialog-exit-active,\n .p-dialog-bottom .p-dialog-exit-active,\n .p-dialog-left .p-dialog-exit-active,\n .p-dialog-top-left .p-dialog-exit-active,\n .p-dialog-bottom-left .p-dialog-exit-active,\n .p-dialog-right .p-dialog-exit-active,\n .p-dialog-top-right .p-dialog-exit-active,\n .p-dialog-bottom-right .p-dialog-exit-active {\n transition: all 0.3s ease-out;\n }\n\n /* Maximize */\n .p-dialog-maximized {\n transition: none;\n transform: none;\n margin: 0;\n width: 100vw !important;\n height: 100vh !important;\n max-height: 100%;\n top: 0px !important;\n left: 0px !important;\n }\n\n .p-dialog-maximized .p-dialog-content {\n flex-grow: 1;\n }\n\n .p-confirm-dialog .p-dialog-content {\n display: flex;\n align-items: center;\n }\n\n /* Resizable */\n .p-dialog .p-resizable-handle {\n position: absolute;\n font-size: 0.1px;\n display: block;\n cursor: se-resize;\n width: 12px;\n height: 12px;\n right: 1px;\n bottom: 1px;\n }\n\n .p-dialog-draggable .p-dialog-header {\n cursor: move;\n }\n}\n";
15792
15897
  var inlineStyles = {
15793
15898
  mask: function mask(_ref6) {
15794
15899
  var props = _ref6.props;
@@ -16141,7 +16246,6 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
16141
16246
  }
16142
16247
  };
16143
16248
  var onExited = function onExited() {
16144
- props.onHide && props.onHide();
16145
16249
  dragging.current = false;
16146
16250
  utils.ZIndexUtils.clear(maskRef.current);
16147
16251
  setMaskVisibleState(false);
@@ -16310,7 +16414,12 @@ this.primereact.dialog = (function (exports, React, PrimeReact, componentbase, c
16310
16414
  type: 'button',
16311
16415
  className: cx('closeButton'),
16312
16416
  'aria-label': ariaLabel,
16313
- onClick: onClose
16417
+ onClick: onClose,
16418
+ onKeyDown: function onKeyDown(ev) {
16419
+ if (ev.key !== 'Escape') {
16420
+ ev.stopPropagation();
16421
+ }
16422
+ }
16314
16423
  }, ptm('closeButton'));
16315
16424
  return /*#__PURE__*/React__namespace.createElement("button", closeButtonProps, headerCloseIcon, /*#__PURE__*/React__namespace.createElement(ripple.Ripple, null));
16316
16425
  }
@@ -17321,7 +17430,7 @@ this.primereact.paginator = (function (exports, React, api, componentbase, hooks
17321
17430
  },
17322
17431
  page: pageLink - 1,
17323
17432
  currentPage: props.page,
17324
- totalPages: props.pageCount,
17433
+ totalPages: props.totalPages,
17325
17434
  ariaLabel: api.ariaLabel('pageLabel', {
17326
17435
  page: pageLink
17327
17436
  }),
@@ -18056,8 +18165,15 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
18056
18165
  var mergeProps = hooks.useMergeProps();
18057
18166
  var context = React__namespace.useContext(api.PrimeReactContext);
18058
18167
  var props = CheckboxBase.getProps(inProps, context);
18168
+ var _React$useState = React__namespace.useState(false),
18169
+ _React$useState2 = _slicedToArray(_React$useState, 2),
18170
+ focusedState = _React$useState2[0],
18171
+ setFocusedState = _React$useState2[1];
18059
18172
  var _CheckboxBase$setMeta = CheckboxBase.setMetaData({
18060
18173
  props: props,
18174
+ state: {
18175
+ focused: focusedState
18176
+ },
18061
18177
  context: {
18062
18178
  checked: props.checked === props.trueValue,
18063
18179
  disabled: props.disabled
@@ -18111,10 +18227,12 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
18111
18227
  };
18112
18228
  var _onFocus = function onFocus() {
18113
18229
  var _props$onFocus;
18230
+ setFocusedState(true);
18114
18231
  props === null || props === void 0 || (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props);
18115
18232
  };
18116
18233
  var _onBlur = function onBlur() {
18117
18234
  var _props$onBlur;
18235
+ setFocusedState(false);
18118
18236
  props === null || props === void 0 || (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props);
18119
18237
  };
18120
18238
  React__namespace.useImperativeHandle(ref, function () {
@@ -18281,14 +18399,33 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
18281
18399
  });
18282
18400
  }
18283
18401
  };
18402
+ var findNextNonDroppointSibling = function findNextNonDroppointSibling(nodeElement) {
18403
+ var nextNodeSibling = nodeElement.nextSibling;
18404
+ if (nextNodeSibling) {
18405
+ var isNextDropPoint = nextNodeSibling.getAttribute('data-pc-section') === 'droppoint';
18406
+ if (isNextDropPoint) {
18407
+ //skip drop point and return next elemnt
18408
+ if (nextNodeSibling.nextElementSibling) {
18409
+ return nextNodeSibling.nextElementSibling;
18410
+ } else {
18411
+ //nothing after droppoint go outside
18412
+ return null;
18413
+ }
18414
+ }
18415
+ return nextNodeSibling;
18416
+ }
18417
+ return null;
18418
+ };
18284
18419
  var findNextSiblingOfAncestor = function findNextSiblingOfAncestor(nodeElement) {
18285
18420
  var parentNodeElement = getParentNodeElement(nodeElement);
18286
- return parentNodeElement ? parentNodeElement.nextElementSibling || findNextSiblingOfAncestor(parentNodeElement) : null;
18421
+ return parentNodeElement ? findNextNonDroppointSibling(parentNodeElement) || findNextSiblingOfAncestor(parentNodeElement) : null;
18287
18422
  };
18288
18423
  var findLastVisibleDescendant = function findLastVisibleDescendant(nodeElement) {
18289
18424
  var childrenListElement = nodeElement.children[1];
18290
18425
  if (childrenListElement) {
18291
- var lastChildElement = childrenListElement.children[childrenListElement.children.length - 1];
18426
+ //skip droppoint
18427
+ var offset = props.dragdropScope ? 2 : 1;
18428
+ var lastChildElement = childrenListElement.children[childrenListElement.children.length - offset];
18292
18429
  return findLastVisibleDescendant(lastChildElement);
18293
18430
  }
18294
18431
  return nodeElement;
@@ -18492,10 +18629,11 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
18492
18629
  var onArrowDown = function onArrowDown(event) {
18493
18630
  var nodeElement = event.target.getAttribute('data-pc-section') === 'toggler' ? event.target.closest('[role="treeitem"]') : event.target;
18494
18631
  var listElement = nodeElement.children[1];
18632
+ var nextElement = getNextElement(nodeElement);
18495
18633
  if (listElement) {
18496
- focusRowChange(nodeElement, listElement.children[0]);
18497
- } else if (nodeElement.nextElementSibling) {
18498
- focusRowChange(nodeElement, nodeElement.nextElementSibling);
18634
+ focusRowChange(nodeElement, props.dragdropScope ? listElement.children[1] : listElement.children[0]);
18635
+ } else if (nextElement) {
18636
+ focusRowChange(nodeElement, nextElement);
18499
18637
  } else {
18500
18638
  var nextSiblingAncestor = findNextSiblingOfAncestor(nodeElement);
18501
18639
  if (nextSiblingAncestor) {
@@ -18504,10 +18642,25 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
18504
18642
  }
18505
18643
  event.preventDefault();
18506
18644
  };
18645
+ var getPreviousElement = function getPreviousElement(element) {
18646
+ var prev = element.previousElementSibling;
18647
+ if (prev) {
18648
+ return !props.dragdropScope ? prev : prev.previousElementSibling;
18649
+ }
18650
+ return null;
18651
+ };
18652
+ var getNextElement = function getNextElement(element) {
18653
+ var next = element.nextElementSibling;
18654
+ if (next) {
18655
+ return !props.dragdropScope ? next : next.nextElementSibling;
18656
+ }
18657
+ return null;
18658
+ };
18507
18659
  var onArrowUp = function onArrowUp(event) {
18508
18660
  var nodeElement = event.target;
18509
- if (nodeElement.previousElementSibling) {
18510
- focusRowChange(nodeElement, nodeElement.previousElementSibling, findLastVisibleDescendant(nodeElement.previousElementSibling));
18661
+ var previous = getPreviousElement(nodeElement);
18662
+ if (previous) {
18663
+ focusRowChange(nodeElement, previous, findLastVisibleDescendant(previous));
18511
18664
  } else {
18512
18665
  var parentNodeElement = getParentNodeElement(nodeElement);
18513
18666
  if (parentNodeElement) {
@@ -18695,18 +18848,18 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
18695
18848
  }
18696
18849
  };
18697
18850
  var onDropPointDragOver = function onDropPointDragOver(event) {
18698
- if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
18851
+ if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
18699
18852
  event.dataTransfer.dropEffect = 'move';
18700
18853
  event.preventDefault();
18701
18854
  }
18702
18855
  };
18703
18856
  var onDropPointDragEnter = function onDropPointDragEnter(event) {
18704
- if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
18857
+ if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
18705
18858
  utils.DomHandler.addClass(event.target, 'p-treenode-droppoint-active');
18706
18859
  }
18707
18860
  };
18708
18861
  var onDropPointDragLeave = function onDropPointDragLeave(event) {
18709
- if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
18862
+ if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase()) {
18710
18863
  utils.DomHandler.removeClass(event.target, 'p-treenode-droppoint-active');
18711
18864
  }
18712
18865
  };
@@ -18725,19 +18878,19 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
18725
18878
  }
18726
18879
  };
18727
18880
  var onDragOver = function onDragOver(event) {
18728
- if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
18881
+ if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
18729
18882
  event.dataTransfer.dropEffect = 'move';
18730
18883
  event.preventDefault();
18731
18884
  event.stopPropagation();
18732
18885
  }
18733
18886
  };
18734
18887
  var onDragEnter = function onDragEnter(event) {
18735
- if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
18888
+ if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
18736
18889
  utils.DomHandler.addClass(contentRef.current, 'p-treenode-dragover');
18737
18890
  }
18738
18891
  };
18739
18892
  var onDragLeave = function onDragLeave(event) {
18740
- if (event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
18893
+ if (props.dragdropScope && event.dataTransfer.types[1] === props.dragdropScope.toLocaleLowerCase() && props.node.droppable !== false) {
18741
18894
  var rect = event.currentTarget.getBoundingClientRect();
18742
18895
  if (event.nativeEvent.x > rect.left + rect.width || event.nativeEvent.x < rect.left || event.nativeEvent.y >= Math.floor(rect.top + rect.height) || event.nativeEvent.y < rect.top) {
18743
18896
  utils.DomHandler.removeClass(contentRef.current, 'p-treenode-dragover');
@@ -19054,7 +19207,9 @@ this.primereact.tree = (function (exports, React, api, componentbase, hooks, sea
19054
19207
  if (nodeElement) {
19055
19208
  nodeElement.tabIndex = '-1';
19056
19209
  }
19057
- var childElement = listElement.children[0];
19210
+
19211
+ //skip droppoint
19212
+ var childElement = props.dragdropScope ? listElement.children[1] : listElement.children[0];
19058
19213
  if (childElement) {
19059
19214
  childElement.tabIndex = '0';
19060
19215
  childElement.focus();