primereact 10.9.6 → 10.9.8

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 (621) hide show
  1. package/README.md +1 -1
  2. package/accordion/accordion.cjs.js +3 -2
  3. package/accordion/accordion.cjs.min.js +1 -1
  4. package/accordion/accordion.esm.js +3 -2
  5. package/accordion/accordion.esm.min.js +1 -1
  6. package/accordion/accordion.js +3 -2
  7. package/accordion/accordion.min.js +1 -1
  8. package/api/api.cjs.js +37 -37
  9. package/api/api.cjs.min.js +1 -1
  10. package/api/api.d.ts +4 -0
  11. package/api/api.esm.js +37 -37
  12. package/api/api.esm.min.js +1 -1
  13. package/api/api.js +37 -37
  14. package/api/api.min.js +1 -1
  15. package/autocomplete/autocomplete.cjs.js +2 -1
  16. package/autocomplete/autocomplete.cjs.min.js +1 -1
  17. package/autocomplete/autocomplete.esm.js +2 -1
  18. package/autocomplete/autocomplete.esm.min.js +1 -1
  19. package/autocomplete/autocomplete.js +2 -1
  20. package/autocomplete/autocomplete.min.js +1 -1
  21. package/avatar/avatar.cjs.min.js +1 -1
  22. package/avatar/avatar.esm.min.js +1 -1
  23. package/avatar/avatar.min.js +1 -1
  24. package/avatargroup/avatargroup.cjs.min.js +1 -1
  25. package/avatargroup/avatargroup.esm.min.js +1 -1
  26. package/avatargroup/avatargroup.min.js +1 -1
  27. package/badge/badge.cjs.min.js +1 -1
  28. package/badge/badge.esm.min.js +1 -1
  29. package/badge/badge.min.js +1 -1
  30. package/blockui/blockui.cjs.min.js +1 -1
  31. package/blockui/blockui.esm.min.js +1 -1
  32. package/blockui/blockui.min.js +1 -1
  33. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  34. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  35. package/breadcrumb/breadcrumb.min.js +1 -1
  36. package/button/button.cjs.min.js +1 -1
  37. package/button/button.esm.min.js +1 -1
  38. package/button/button.min.js +1 -1
  39. package/buttongroup/buttongroup.cjs.min.js +1 -1
  40. package/buttongroup/buttongroup.esm.min.js +1 -1
  41. package/buttongroup/buttongroup.min.js +1 -1
  42. package/calendar/calendar.cjs.js +59 -39
  43. package/calendar/calendar.cjs.min.js +1 -1
  44. package/calendar/calendar.esm.js +59 -39
  45. package/calendar/calendar.esm.min.js +1 -1
  46. package/calendar/calendar.js +59 -39
  47. package/calendar/calendar.min.js +1 -1
  48. package/card/card.cjs.min.js +1 -1
  49. package/card/card.esm.min.js +1 -1
  50. package/card/card.min.js +1 -1
  51. package/carousel/carousel.cjs.js +9 -1
  52. package/carousel/carousel.cjs.min.js +1 -1
  53. package/carousel/carousel.esm.js +9 -1
  54. package/carousel/carousel.esm.min.js +1 -1
  55. package/carousel/carousel.js +9 -1
  56. package/carousel/carousel.min.js +1 -1
  57. package/cascadeselect/cascadeselect.cjs.js +27 -4
  58. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  59. package/cascadeselect/cascadeselect.esm.js +27 -4
  60. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  61. package/cascadeselect/cascadeselect.js +27 -4
  62. package/cascadeselect/cascadeselect.min.js +1 -1
  63. package/chart/chart.cjs.min.js +1 -1
  64. package/chart/chart.esm.min.js +1 -1
  65. package/chart/chart.min.js +1 -1
  66. package/checkbox/checkbox.cjs.min.js +1 -1
  67. package/checkbox/checkbox.esm.min.js +1 -1
  68. package/checkbox/checkbox.min.js +1 -1
  69. package/chip/chip.cjs.min.js +1 -1
  70. package/chip/chip.esm.min.js +1 -1
  71. package/chip/chip.min.js +1 -1
  72. package/chips/chips.cjs.min.js +1 -1
  73. package/chips/chips.esm.min.js +1 -1
  74. package/chips/chips.min.js +1 -1
  75. package/colorpicker/colorpicker.cjs.js +2 -1
  76. package/colorpicker/colorpicker.cjs.min.js +1 -1
  77. package/colorpicker/colorpicker.esm.js +2 -1
  78. package/colorpicker/colorpicker.esm.min.js +1 -1
  79. package/colorpicker/colorpicker.js +2 -1
  80. package/colorpicker/colorpicker.min.js +1 -1
  81. package/componentbase/componentbase.cjs.js +1 -1
  82. package/componentbase/componentbase.cjs.min.js +1 -1
  83. package/componentbase/componentbase.esm.js +1 -1
  84. package/componentbase/componentbase.esm.min.js +1 -1
  85. package/componentbase/componentbase.js +1 -1
  86. package/componentbase/componentbase.min.js +1 -1
  87. package/confirmdialog/confirmdialog.cjs.js +1 -1
  88. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  89. package/confirmdialog/confirmdialog.esm.js +1 -1
  90. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  91. package/confirmdialog/confirmdialog.js +1 -1
  92. package/confirmdialog/confirmdialog.min.js +1 -1
  93. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  94. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  95. package/confirmpopup/confirmpopup.min.js +1 -1
  96. package/contextmenu/contextmenu.cjs.js +32 -30
  97. package/contextmenu/contextmenu.cjs.min.js +1 -1
  98. package/contextmenu/contextmenu.esm.js +32 -30
  99. package/contextmenu/contextmenu.esm.min.js +1 -1
  100. package/contextmenu/contextmenu.js +32 -30
  101. package/contextmenu/contextmenu.min.js +1 -1
  102. package/core/core.js +169 -89
  103. package/core/core.min.js +67 -67
  104. package/csstransition/csstransition.cjs.min.js +1 -1
  105. package/csstransition/csstransition.esm.min.js +1 -1
  106. package/csstransition/csstransition.min.js +1 -1
  107. package/datascroller/datascroller.cjs.min.js +1 -1
  108. package/datascroller/datascroller.esm.min.js +1 -1
  109. package/datascroller/datascroller.min.js +1 -1
  110. package/datatable/datatable.cjs.js +176 -127
  111. package/datatable/datatable.cjs.min.js +1 -1
  112. package/datatable/datatable.d.ts +66 -7
  113. package/datatable/datatable.esm.js +176 -127
  114. package/datatable/datatable.esm.min.js +1 -1
  115. package/datatable/datatable.js +177 -128
  116. package/datatable/datatable.min.js +1 -1
  117. package/dataview/dataview.cjs.js +5 -8
  118. package/dataview/dataview.cjs.min.js +1 -1
  119. package/dataview/dataview.esm.js +5 -8
  120. package/dataview/dataview.esm.min.js +1 -1
  121. package/dataview/dataview.js +5 -8
  122. package/dataview/dataview.min.js +1 -1
  123. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  124. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  125. package/deferredcontent/deferredcontent.min.js +1 -1
  126. package/dialog/dialog.cjs.js +3 -3
  127. package/dialog/dialog.cjs.min.js +1 -1
  128. package/dialog/dialog.esm.js +3 -3
  129. package/dialog/dialog.esm.min.js +1 -1
  130. package/dialog/dialog.js +3 -3
  131. package/dialog/dialog.min.js +1 -1
  132. package/divider/divider.cjs.min.js +1 -1
  133. package/divider/divider.esm.min.js +1 -1
  134. package/divider/divider.min.js +1 -1
  135. package/dock/dock.cjs.min.js +1 -1
  136. package/dock/dock.esm.min.js +1 -1
  137. package/dock/dock.min.js +1 -1
  138. package/dropdown/dropdown.cjs.js +15 -9
  139. package/dropdown/dropdown.cjs.min.js +1 -1
  140. package/dropdown/dropdown.esm.js +15 -9
  141. package/dropdown/dropdown.esm.min.js +1 -1
  142. package/dropdown/dropdown.js +15 -9
  143. package/dropdown/dropdown.min.js +1 -1
  144. package/editor/editor.cjs.min.js +1 -1
  145. package/editor/editor.d.ts +1 -1
  146. package/editor/editor.esm.min.js +1 -1
  147. package/editor/editor.min.js +1 -1
  148. package/fieldset/fieldset.cjs.min.js +1 -1
  149. package/fieldset/fieldset.esm.min.js +1 -1
  150. package/fieldset/fieldset.min.js +1 -1
  151. package/fileupload/fileupload.cjs.js +3 -3
  152. package/fileupload/fileupload.cjs.min.js +1 -1
  153. package/fileupload/fileupload.esm.js +3 -3
  154. package/fileupload/fileupload.esm.min.js +1 -1
  155. package/fileupload/fileupload.js +3 -3
  156. package/fileupload/fileupload.min.js +1 -1
  157. package/floatlabel/floatlabel.cjs.min.js +1 -1
  158. package/floatlabel/floatlabel.esm.min.js +1 -1
  159. package/floatlabel/floatlabel.min.js +1 -1
  160. package/focustrap/focustrap.cjs.min.js +1 -1
  161. package/focustrap/focustrap.esm.min.js +1 -1
  162. package/focustrap/focustrap.min.js +1 -1
  163. package/galleria/galleria.cjs.min.js +1 -1
  164. package/galleria/galleria.esm.min.js +1 -1
  165. package/galleria/galleria.min.js +1 -1
  166. package/hooks/hooks.cjs.js +7 -7
  167. package/hooks/hooks.cjs.min.js +1 -1
  168. package/hooks/hooks.esm.js +7 -7
  169. package/hooks/hooks.esm.min.js +1 -1
  170. package/hooks/hooks.js +7 -7
  171. package/hooks/hooks.min.js +1 -1
  172. package/iconfield/iconfield.cjs.min.js +1 -1
  173. package/iconfield/iconfield.esm.min.js +1 -1
  174. package/iconfield/iconfield.min.js +1 -1
  175. package/icons/angledoubledown/index.cjs.min.js +1 -1
  176. package/icons/angledoubledown/index.esm.min.js +1 -1
  177. package/icons/angledoubledown/index.min.js +1 -1
  178. package/icons/angledoubleleft/index.cjs.min.js +1 -1
  179. package/icons/angledoubleleft/index.esm.min.js +1 -1
  180. package/icons/angledoubleleft/index.min.js +1 -1
  181. package/icons/angledoubleright/index.cjs.min.js +1 -1
  182. package/icons/angledoubleright/index.esm.min.js +1 -1
  183. package/icons/angledoubleright/index.min.js +1 -1
  184. package/icons/angledoubleup/index.cjs.min.js +1 -1
  185. package/icons/angledoubleup/index.esm.min.js +1 -1
  186. package/icons/angledoubleup/index.min.js +1 -1
  187. package/icons/angledown/index.cjs.min.js +1 -1
  188. package/icons/angledown/index.esm.min.js +1 -1
  189. package/icons/angledown/index.min.js +1 -1
  190. package/icons/angleleft/index.cjs.min.js +1 -1
  191. package/icons/angleleft/index.esm.min.js +1 -1
  192. package/icons/angleleft/index.min.js +1 -1
  193. package/icons/angleright/index.cjs.min.js +1 -1
  194. package/icons/angleright/index.esm.min.js +1 -1
  195. package/icons/angleright/index.min.js +1 -1
  196. package/icons/angleup/index.cjs.min.js +1 -1
  197. package/icons/angleup/index.esm.min.js +1 -1
  198. package/icons/angleup/index.min.js +1 -1
  199. package/icons/arrowdown/index.cjs.min.js +1 -1
  200. package/icons/arrowdown/index.esm.min.js +1 -1
  201. package/icons/arrowdown/index.min.js +1 -1
  202. package/icons/arrowup/index.cjs.min.js +1 -1
  203. package/icons/arrowup/index.esm.min.js +1 -1
  204. package/icons/arrowup/index.min.js +1 -1
  205. package/icons/ban/index.cjs.min.js +1 -1
  206. package/icons/ban/index.esm.min.js +1 -1
  207. package/icons/ban/index.min.js +1 -1
  208. package/icons/bars/index.cjs.min.js +1 -1
  209. package/icons/bars/index.esm.min.js +1 -1
  210. package/icons/bars/index.min.js +1 -1
  211. package/icons/blank/index.cjs.min.js +1 -1
  212. package/icons/blank/index.esm.min.js +1 -1
  213. package/icons/blank/index.min.js +1 -1
  214. package/icons/calendar/index.cjs.min.js +1 -1
  215. package/icons/calendar/index.esm.min.js +1 -1
  216. package/icons/calendar/index.min.js +1 -1
  217. package/icons/check/index.cjs.min.js +1 -1
  218. package/icons/check/index.esm.min.js +1 -1
  219. package/icons/check/index.min.js +1 -1
  220. package/icons/chevrondown/index.cjs.min.js +1 -1
  221. package/icons/chevrondown/index.esm.min.js +1 -1
  222. package/icons/chevrondown/index.min.js +1 -1
  223. package/icons/chevronleft/index.cjs.min.js +1 -1
  224. package/icons/chevronleft/index.esm.min.js +1 -1
  225. package/icons/chevronleft/index.min.js +1 -1
  226. package/icons/chevronright/index.cjs.min.js +1 -1
  227. package/icons/chevronright/index.esm.min.js +1 -1
  228. package/icons/chevronright/index.min.js +1 -1
  229. package/icons/chevronup/index.cjs.min.js +1 -1
  230. package/icons/chevronup/index.esm.min.js +1 -1
  231. package/icons/chevronup/index.min.js +1 -1
  232. package/icons/download/index.cjs.min.js +1 -1
  233. package/icons/download/index.esm.min.js +1 -1
  234. package/icons/download/index.min.js +1 -1
  235. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  236. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  237. package/icons/exclamationtriangle/index.min.js +1 -1
  238. package/icons/eye/index.cjs.min.js +1 -1
  239. package/icons/eye/index.esm.min.js +1 -1
  240. package/icons/eye/index.min.js +1 -1
  241. package/icons/eyeslash/index.cjs.min.js +1 -1
  242. package/icons/eyeslash/index.esm.min.js +1 -1
  243. package/icons/eyeslash/index.min.js +1 -1
  244. package/icons/filter/index.cjs.min.js +1 -1
  245. package/icons/filter/index.esm.min.js +1 -1
  246. package/icons/filter/index.min.js +1 -1
  247. package/icons/filterslash/index.cjs.min.js +1 -1
  248. package/icons/filterslash/index.esm.min.js +1 -1
  249. package/icons/filterslash/index.min.js +1 -1
  250. package/icons/infocircle/index.cjs.min.js +1 -1
  251. package/icons/infocircle/index.esm.min.js +1 -1
  252. package/icons/infocircle/index.min.js +1 -1
  253. package/icons/minus/index.cjs.min.js +1 -1
  254. package/icons/minus/index.esm.min.js +1 -1
  255. package/icons/minus/index.min.js +1 -1
  256. package/icons/pencil/index.cjs.min.js +1 -1
  257. package/icons/pencil/index.esm.min.js +1 -1
  258. package/icons/pencil/index.min.js +1 -1
  259. package/icons/plus/index.cjs.min.js +1 -1
  260. package/icons/plus/index.esm.min.js +1 -1
  261. package/icons/plus/index.min.js +1 -1
  262. package/icons/refresh/index.cjs.min.js +1 -1
  263. package/icons/refresh/index.esm.min.js +1 -1
  264. package/icons/refresh/index.min.js +1 -1
  265. package/icons/search/index.cjs.min.js +1 -1
  266. package/icons/search/index.esm.min.js +1 -1
  267. package/icons/search/index.min.js +1 -1
  268. package/icons/searchminus/index.cjs.min.js +1 -1
  269. package/icons/searchminus/index.esm.min.js +1 -1
  270. package/icons/searchminus/index.min.js +1 -1
  271. package/icons/searchplus/index.cjs.min.js +1 -1
  272. package/icons/searchplus/index.esm.min.js +1 -1
  273. package/icons/searchplus/index.min.js +1 -1
  274. package/icons/sortalt/index.cjs.min.js +1 -1
  275. package/icons/sortalt/index.esm.min.js +1 -1
  276. package/icons/sortalt/index.min.js +1 -1
  277. package/icons/sortamountdown/index.cjs.min.js +1 -1
  278. package/icons/sortamountdown/index.esm.min.js +1 -1
  279. package/icons/sortamountdown/index.min.js +1 -1
  280. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  281. package/icons/sortamountupalt/index.esm.min.js +1 -1
  282. package/icons/sortamountupalt/index.min.js +1 -1
  283. package/icons/spinner/index.cjs.min.js +1 -1
  284. package/icons/spinner/index.esm.min.js +1 -1
  285. package/icons/spinner/index.min.js +1 -1
  286. package/icons/star/index.cjs.min.js +1 -1
  287. package/icons/star/index.esm.min.js +1 -1
  288. package/icons/star/index.min.js +1 -1
  289. package/icons/starfill/index.cjs.min.js +1 -1
  290. package/icons/starfill/index.esm.min.js +1 -1
  291. package/icons/starfill/index.min.js +1 -1
  292. package/icons/thlarge/index.cjs.min.js +1 -1
  293. package/icons/thlarge/index.esm.min.js +1 -1
  294. package/icons/thlarge/index.min.js +1 -1
  295. package/icons/times/index.cjs.min.js +1 -1
  296. package/icons/times/index.esm.min.js +1 -1
  297. package/icons/times/index.min.js +1 -1
  298. package/icons/timescircle/index.cjs.min.js +1 -1
  299. package/icons/timescircle/index.esm.min.js +1 -1
  300. package/icons/timescircle/index.min.js +1 -1
  301. package/icons/trash/index.cjs.min.js +1 -1
  302. package/icons/trash/index.esm.min.js +1 -1
  303. package/icons/trash/index.min.js +1 -1
  304. package/icons/undo/index.cjs.min.js +1 -1
  305. package/icons/undo/index.esm.min.js +1 -1
  306. package/icons/undo/index.min.js +1 -1
  307. package/icons/upload/index.cjs.min.js +1 -1
  308. package/icons/upload/index.esm.min.js +1 -1
  309. package/icons/upload/index.min.js +1 -1
  310. package/icons/windowmaximize/index.cjs.min.js +1 -1
  311. package/icons/windowmaximize/index.esm.min.js +1 -1
  312. package/icons/windowmaximize/index.min.js +1 -1
  313. package/icons/windowminimize/index.cjs.min.js +1 -1
  314. package/icons/windowminimize/index.esm.min.js +1 -1
  315. package/icons/windowminimize/index.min.js +1 -1
  316. package/image/image.cjs.min.js +1 -1
  317. package/image/image.esm.min.js +1 -1
  318. package/image/image.min.js +1 -1
  319. package/inplace/inplace.cjs.min.js +1 -1
  320. package/inplace/inplace.esm.min.js +1 -1
  321. package/inplace/inplace.min.js +1 -1
  322. package/inputicon/inputicon.cjs.min.js +1 -1
  323. package/inputicon/inputicon.esm.min.js +1 -1
  324. package/inputicon/inputicon.min.js +1 -1
  325. package/inputmask/inputmask.cjs.js +1 -0
  326. package/inputmask/inputmask.cjs.min.js +1 -1
  327. package/inputmask/inputmask.esm.js +1 -0
  328. package/inputmask/inputmask.esm.min.js +1 -1
  329. package/inputmask/inputmask.js +1 -0
  330. package/inputmask/inputmask.min.js +1 -1
  331. package/inputnumber/inputnumber.cjs.js +61 -4
  332. package/inputnumber/inputnumber.cjs.min.js +1 -1
  333. package/inputnumber/inputnumber.esm.js +61 -4
  334. package/inputnumber/inputnumber.esm.min.js +1 -1
  335. package/inputnumber/inputnumber.js +61 -4
  336. package/inputnumber/inputnumber.min.js +1 -1
  337. package/inputotp/inputotp.cjs.js +16 -8
  338. package/inputotp/inputotp.cjs.min.js +1 -1
  339. package/inputotp/inputotp.esm.js +16 -8
  340. package/inputotp/inputotp.esm.min.js +1 -1
  341. package/inputotp/inputotp.js +16 -8
  342. package/inputotp/inputotp.min.js +1 -1
  343. package/inputswitch/inputswitch.cjs.min.js +1 -1
  344. package/inputswitch/inputswitch.esm.min.js +1 -1
  345. package/inputswitch/inputswitch.min.js +1 -1
  346. package/inputtext/inputtext.cjs.js +1 -0
  347. package/inputtext/inputtext.cjs.min.js +1 -1
  348. package/inputtext/inputtext.esm.js +1 -0
  349. package/inputtext/inputtext.esm.min.js +1 -1
  350. package/inputtext/inputtext.js +1 -0
  351. package/inputtext/inputtext.min.js +1 -1
  352. package/inputtextarea/inputtextarea.cjs.js +1 -0
  353. package/inputtextarea/inputtextarea.cjs.min.js +1 -1
  354. package/inputtextarea/inputtextarea.esm.js +1 -0
  355. package/inputtextarea/inputtextarea.esm.min.js +1 -1
  356. package/inputtextarea/inputtextarea.js +1 -0
  357. package/inputtextarea/inputtextarea.min.js +1 -1
  358. package/keyfilter/keyfilter.cjs.min.js +1 -1
  359. package/keyfilter/keyfilter.esm.min.js +1 -1
  360. package/keyfilter/keyfilter.min.js +1 -1
  361. package/knob/knob.cjs.min.js +1 -1
  362. package/knob/knob.esm.min.js +1 -1
  363. package/knob/knob.min.js +1 -1
  364. package/listbox/listbox.cjs.js +3 -3
  365. package/listbox/listbox.cjs.min.js +1 -1
  366. package/listbox/listbox.esm.js +3 -3
  367. package/listbox/listbox.esm.min.js +1 -1
  368. package/listbox/listbox.js +3 -3
  369. package/listbox/listbox.min.js +1 -1
  370. package/megamenu/megamenu.cjs.js +40 -33
  371. package/megamenu/megamenu.cjs.min.js +1 -1
  372. package/megamenu/megamenu.esm.js +40 -33
  373. package/megamenu/megamenu.esm.min.js +1 -1
  374. package/megamenu/megamenu.js +40 -33
  375. package/megamenu/megamenu.min.js +1 -1
  376. package/mention/mention.cjs.js +7 -5
  377. package/mention/mention.cjs.min.js +1 -1
  378. package/mention/mention.esm.js +7 -5
  379. package/mention/mention.esm.min.js +1 -1
  380. package/mention/mention.js +7 -5
  381. package/mention/mention.min.js +1 -1
  382. package/menu/menu.cjs.js +3 -3
  383. package/menu/menu.cjs.min.js +1 -1
  384. package/menu/menu.esm.js +3 -3
  385. package/menu/menu.esm.min.js +1 -1
  386. package/menu/menu.js +3 -3
  387. package/menu/menu.min.js +1 -1
  388. package/menubar/menubar.cjs.js +26 -21
  389. package/menubar/menubar.cjs.min.js +1 -1
  390. package/menubar/menubar.d.ts +22 -0
  391. package/menubar/menubar.esm.js +26 -21
  392. package/menubar/menubar.esm.min.js +1 -1
  393. package/menubar/menubar.js +26 -21
  394. package/menubar/menubar.min.js +1 -1
  395. package/message/message.cjs.min.js +1 -1
  396. package/message/message.esm.min.js +1 -1
  397. package/message/message.min.js +1 -1
  398. package/messages/messages.cjs.min.js +1 -1
  399. package/messages/messages.esm.min.js +1 -1
  400. package/messages/messages.min.js +1 -1
  401. package/metergroup/metergroup.cjs.min.js +1 -1
  402. package/metergroup/metergroup.esm.min.js +1 -1
  403. package/metergroup/metergroup.min.js +1 -1
  404. package/multiselect/multiselect.cjs.js +16 -6
  405. package/multiselect/multiselect.cjs.min.js +1 -1
  406. package/multiselect/multiselect.esm.js +16 -6
  407. package/multiselect/multiselect.esm.min.js +1 -1
  408. package/multiselect/multiselect.js +16 -6
  409. package/multiselect/multiselect.min.js +1 -1
  410. package/multistatecheckbox/multistatecheckbox.cjs.js +5 -1
  411. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  412. package/multistatecheckbox/multistatecheckbox.d.ts +10 -0
  413. package/multistatecheckbox/multistatecheckbox.esm.js +6 -2
  414. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  415. package/multistatecheckbox/multistatecheckbox.js +5 -1
  416. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  417. package/orderlist/orderlist.cjs.js +16 -8
  418. package/orderlist/orderlist.cjs.min.js +1 -1
  419. package/orderlist/orderlist.esm.js +16 -8
  420. package/orderlist/orderlist.esm.min.js +1 -1
  421. package/orderlist/orderlist.js +16 -8
  422. package/orderlist/orderlist.min.js +1 -1
  423. package/organizationchart/organizationchart.cjs.js +109 -76
  424. package/organizationchart/organizationchart.cjs.min.js +1 -1
  425. package/organizationchart/organizationchart.esm.js +109 -76
  426. package/organizationchart/organizationchart.esm.min.js +1 -1
  427. package/organizationchart/organizationchart.js +109 -76
  428. package/organizationchart/organizationchart.min.js +1 -1
  429. package/overlaypanel/overlaypanel.cjs.js +16 -1
  430. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  431. package/overlaypanel/overlaypanel.esm.js +16 -1
  432. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  433. package/overlaypanel/overlaypanel.js +16 -1
  434. package/overlaypanel/overlaypanel.min.js +1 -1
  435. package/overlayservice/overlayservice.min.js +1 -1
  436. package/package.json +1 -1
  437. package/paginator/paginator.cjs.min.js +1 -1
  438. package/paginator/paginator.esm.min.js +1 -1
  439. package/paginator/paginator.min.js +1 -1
  440. package/panel/panel.cjs.min.js +1 -1
  441. package/panel/panel.esm.min.js +1 -1
  442. package/panel/panel.min.js +1 -1
  443. package/panelmenu/panelmenu.cjs.js +15 -7
  444. package/panelmenu/panelmenu.cjs.min.js +1 -1
  445. package/panelmenu/panelmenu.esm.js +15 -7
  446. package/panelmenu/panelmenu.esm.min.js +1 -1
  447. package/panelmenu/panelmenu.js +15 -7
  448. package/panelmenu/panelmenu.min.js +1 -1
  449. package/passthrough/index.cjs.min.js +1 -1
  450. package/passthrough/index.esm.min.js +1 -1
  451. package/passthrough/index.min.js +1 -1
  452. package/passthrough/tailwind/index.cjs.js +393 -393
  453. package/passthrough/tailwind/index.cjs.min.js +1 -1
  454. package/passthrough/tailwind/index.esm.js +393 -393
  455. package/passthrough/tailwind/index.esm.min.js +1 -1
  456. package/passthrough/tailwind/index.js +393 -393
  457. package/passthrough/tailwind/index.min.js +1 -1
  458. package/password/password.cjs.js +5 -4
  459. package/password/password.cjs.min.js +1 -1
  460. package/password/password.esm.js +5 -4
  461. package/password/password.esm.min.js +1 -1
  462. package/password/password.js +5 -4
  463. package/password/password.min.js +1 -1
  464. package/picklist/picklist.cjs.js +17 -21
  465. package/picklist/picklist.cjs.min.js +1 -1
  466. package/picklist/picklist.esm.js +17 -21
  467. package/picklist/picklist.esm.min.js +1 -1
  468. package/picklist/picklist.js +17 -21
  469. package/picklist/picklist.min.js +1 -1
  470. package/portal/portal.cjs.min.js +1 -1
  471. package/portal/portal.esm.min.js +1 -1
  472. package/portal/portal.min.js +1 -1
  473. package/primereact.all.cjs.js +831 -546
  474. package/primereact.all.cjs.min.js +1 -1
  475. package/primereact.all.esm.js +831 -546
  476. package/primereact.all.esm.min.js +1 -1
  477. package/primereact.all.js +831 -546
  478. package/primereact.all.min.js +1 -1
  479. package/progressbar/progressbar.cjs.min.js +1 -1
  480. package/progressbar/progressbar.esm.min.js +1 -1
  481. package/progressbar/progressbar.min.js +1 -1
  482. package/progressspinner/progressspinner.cjs.min.js +1 -1
  483. package/progressspinner/progressspinner.esm.min.js +1 -1
  484. package/progressspinner/progressspinner.min.js +1 -1
  485. package/radiobutton/radiobutton.cjs.min.js +1 -1
  486. package/radiobutton/radiobutton.esm.min.js +1 -1
  487. package/radiobutton/radiobutton.min.js +1 -1
  488. package/rating/rating.cjs.min.js +1 -1
  489. package/rating/rating.esm.min.js +1 -1
  490. package/rating/rating.min.js +1 -1
  491. package/resources/themes/arya-green/theme.css +3 -0
  492. package/ripple/ripple.cjs.min.js +1 -1
  493. package/ripple/ripple.esm.min.js +1 -1
  494. package/ripple/ripple.min.js +1 -1
  495. package/row/row.cjs.min.js +1 -1
  496. package/row/row.min.js +1 -1
  497. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  498. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  499. package/scrollpanel/scrollpanel.min.js +1 -1
  500. package/scrolltop/scrolltop.cjs.min.js +1 -1
  501. package/scrolltop/scrolltop.esm.min.js +1 -1
  502. package/scrolltop/scrolltop.min.js +1 -1
  503. package/selectbutton/selectbutton.cjs.min.js +1 -1
  504. package/selectbutton/selectbutton.esm.min.js +1 -1
  505. package/selectbutton/selectbutton.min.js +1 -1
  506. package/sidebar/sidebar.cjs.min.js +1 -1
  507. package/sidebar/sidebar.esm.min.js +1 -1
  508. package/sidebar/sidebar.min.js +1 -1
  509. package/skeleton/skeleton.cjs.min.js +1 -1
  510. package/skeleton/skeleton.esm.min.js +1 -1
  511. package/skeleton/skeleton.min.js +1 -1
  512. package/slidemenu/slidemenu.cjs.js +6 -4
  513. package/slidemenu/slidemenu.cjs.min.js +1 -1
  514. package/slidemenu/slidemenu.esm.js +6 -4
  515. package/slidemenu/slidemenu.esm.min.js +1 -1
  516. package/slidemenu/slidemenu.js +6 -4
  517. package/slidemenu/slidemenu.min.js +1 -1
  518. package/slider/slider.cjs.min.js +1 -1
  519. package/slider/slider.esm.min.js +1 -1
  520. package/slider/slider.min.js +1 -1
  521. package/speeddial/speeddial.cjs.js +1 -1
  522. package/speeddial/speeddial.cjs.min.js +1 -1
  523. package/speeddial/speeddial.esm.js +1 -1
  524. package/speeddial/speeddial.esm.min.js +1 -1
  525. package/speeddial/speeddial.js +1 -1
  526. package/speeddial/speeddial.min.js +1 -1
  527. package/splitbutton/splitbutton.cjs.js +34 -28
  528. package/splitbutton/splitbutton.cjs.min.js +1 -1
  529. package/splitbutton/splitbutton.esm.js +34 -28
  530. package/splitbutton/splitbutton.esm.min.js +1 -1
  531. package/splitbutton/splitbutton.js +34 -28
  532. package/splitbutton/splitbutton.min.js +1 -1
  533. package/splitter/splitter.cjs.js +1 -1
  534. package/splitter/splitter.cjs.min.js +1 -1
  535. package/splitter/splitter.esm.js +1 -1
  536. package/splitter/splitter.esm.min.js +1 -1
  537. package/splitter/splitter.js +1 -1
  538. package/splitter/splitter.min.js +1 -1
  539. package/stepper/stepper.cjs.min.js +1 -1
  540. package/stepper/stepper.esm.min.js +1 -1
  541. package/stepper/stepper.min.js +1 -1
  542. package/stepperpanel/stepperpanel.cjs.min.js +1 -1
  543. package/stepperpanel/stepperpanel.esm.min.js +1 -1
  544. package/stepperpanel/stepperpanel.min.js +1 -1
  545. package/steps/steps.cjs.min.js +1 -1
  546. package/steps/steps.esm.min.js +1 -1
  547. package/steps/steps.min.js +1 -1
  548. package/styleclass/styleclass.cjs.min.js +1 -1
  549. package/styleclass/styleclass.esm.min.js +1 -1
  550. package/styleclass/styleclass.min.js +1 -1
  551. package/tabmenu/tabmenu.cjs.min.js +1 -1
  552. package/tabmenu/tabmenu.esm.min.js +1 -1
  553. package/tabmenu/tabmenu.min.js +1 -1
  554. package/tabview/tabview.cjs.js +7 -3
  555. package/tabview/tabview.cjs.min.js +1 -1
  556. package/tabview/tabview.esm.js +7 -3
  557. package/tabview/tabview.esm.min.js +1 -1
  558. package/tabview/tabview.js +7 -3
  559. package/tabview/tabview.min.js +1 -1
  560. package/tag/tag.cjs.min.js +1 -1
  561. package/tag/tag.esm.min.js +1 -1
  562. package/tag/tag.min.js +1 -1
  563. package/terminal/terminal.cjs.min.js +1 -1
  564. package/terminal/terminal.esm.min.js +1 -1
  565. package/terminal/terminal.min.js +1 -1
  566. package/terminalservice/terminalservice.min.js +1 -1
  567. package/tieredmenu/tieredmenu.cjs.js +32 -27
  568. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  569. package/tieredmenu/tieredmenu.esm.js +32 -27
  570. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  571. package/tieredmenu/tieredmenu.js +32 -27
  572. package/tieredmenu/tieredmenu.min.js +1 -1
  573. package/timeline/timeline.cjs.min.js +1 -1
  574. package/timeline/timeline.esm.min.js +1 -1
  575. package/timeline/timeline.min.js +1 -1
  576. package/toast/toast.cjs.min.js +1 -1
  577. package/toast/toast.esm.min.js +1 -1
  578. package/toast/toast.min.js +1 -1
  579. package/togglebutton/togglebutton.cjs.js +3 -3
  580. package/togglebutton/togglebutton.cjs.min.js +1 -1
  581. package/togglebutton/togglebutton.esm.js +3 -3
  582. package/togglebutton/togglebutton.esm.min.js +1 -1
  583. package/togglebutton/togglebutton.js +3 -3
  584. package/togglebutton/togglebutton.min.js +1 -1
  585. package/toolbar/toolbar.cjs.min.js +1 -1
  586. package/toolbar/toolbar.esm.min.js +1 -1
  587. package/toolbar/toolbar.min.js +1 -1
  588. package/tooltip/tooltip.cjs.js +6 -2
  589. package/tooltip/tooltip.cjs.min.js +1 -1
  590. package/tooltip/tooltip.esm.js +6 -2
  591. package/tooltip/tooltip.esm.min.js +1 -1
  592. package/tooltip/tooltip.js +6 -2
  593. package/tooltip/tooltip.min.js +1 -1
  594. package/tree/tree.cjs.js +28 -16
  595. package/tree/tree.cjs.min.js +1 -1
  596. package/tree/tree.esm.js +28 -16
  597. package/tree/tree.esm.min.js +1 -1
  598. package/tree/tree.js +28 -16
  599. package/tree/tree.min.js +1 -1
  600. package/treeselect/treeselect.cjs.min.js +1 -1
  601. package/treeselect/treeselect.esm.min.js +1 -1
  602. package/treeselect/treeselect.min.js +1 -1
  603. package/treetable/treetable.cjs.js +13 -16
  604. package/treetable/treetable.cjs.min.js +1 -1
  605. package/treetable/treetable.esm.js +13 -16
  606. package/treetable/treetable.esm.min.js +1 -1
  607. package/treetable/treetable.js +13 -16
  608. package/treetable/treetable.min.js +1 -1
  609. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  610. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  611. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  612. package/utils/utils.cjs.min.js +1 -1
  613. package/utils/utils.esm.min.js +1 -1
  614. package/utils/utils.min.js +1 -1
  615. package/virtualscroller/virtualscroller.cjs.js +10 -10
  616. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  617. package/virtualscroller/virtualscroller.esm.js +10 -10
  618. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  619. package/virtualscroller/virtualscroller.js +10 -10
  620. package/virtualscroller/virtualscroller.min.js +1 -1
  621. package/web-types.json +25 -7
@@ -3642,62 +3642,62 @@ var PrimeReactProvider = function PrimeReactProvider(props) {
3642
3642
  appendTo = _useState8[0],
3643
3643
  setAppendTo = _useState8[1];
3644
3644
  var _useState9 = React.useState((_propsValue$styleCont = propsValue.styleContainer) !== null && _propsValue$styleCont !== void 0 ? _propsValue$styleCont : null),
3645
- _useState10 = _slicedToArray(_useState9, 2),
3646
- styleContainer = _useState10[0],
3647
- setStyleContainer = _useState10[1];
3648
- var _useState11 = React.useState((_propsValue$cssTransi = propsValue.cssTransition) !== null && _propsValue$cssTransi !== void 0 ? _propsValue$cssTransi : true),
3645
+ _useState0 = _slicedToArray(_useState9, 2),
3646
+ styleContainer = _useState0[0],
3647
+ setStyleContainer = _useState0[1];
3648
+ var _useState1 = React.useState((_propsValue$cssTransi = propsValue.cssTransition) !== null && _propsValue$cssTransi !== void 0 ? _propsValue$cssTransi : true),
3649
+ _useState10 = _slicedToArray(_useState1, 2),
3650
+ cssTransition = _useState10[0],
3651
+ setCssTransition = _useState10[1];
3652
+ var _useState11 = React.useState((_propsValue$autoZInde = propsValue.autoZIndex) !== null && _propsValue$autoZInde !== void 0 ? _propsValue$autoZInde : true),
3649
3653
  _useState12 = _slicedToArray(_useState11, 2),
3650
- cssTransition = _useState12[0],
3651
- setCssTransition = _useState12[1];
3652
- var _useState13 = React.useState((_propsValue$autoZInde = propsValue.autoZIndex) !== null && _propsValue$autoZInde !== void 0 ? _propsValue$autoZInde : true),
3654
+ autoZIndex = _useState12[0],
3655
+ setAutoZIndex = _useState12[1];
3656
+ var _useState13 = React.useState((_propsValue$hideOverl = propsValue.hideOverlaysOnDocumentScrolling) !== null && _propsValue$hideOverl !== void 0 ? _propsValue$hideOverl : false),
3653
3657
  _useState14 = _slicedToArray(_useState13, 2),
3654
- autoZIndex = _useState14[0],
3655
- setAutoZIndex = _useState14[1];
3656
- var _useState15 = React.useState((_propsValue$hideOverl = propsValue.hideOverlaysOnDocumentScrolling) !== null && _propsValue$hideOverl !== void 0 ? _propsValue$hideOverl : false),
3658
+ hideOverlaysOnDocumentScrolling = _useState14[0],
3659
+ setHideOverlaysOnDocumentScrolling = _useState14[1];
3660
+ var _useState15 = React.useState((_propsValue$nonce = propsValue.nonce) !== null && _propsValue$nonce !== void 0 ? _propsValue$nonce : null),
3657
3661
  _useState16 = _slicedToArray(_useState15, 2),
3658
- hideOverlaysOnDocumentScrolling = _useState16[0],
3659
- setHideOverlaysOnDocumentScrolling = _useState16[1];
3660
- var _useState17 = React.useState((_propsValue$nonce = propsValue.nonce) !== null && _propsValue$nonce !== void 0 ? _propsValue$nonce : null),
3662
+ nonce = _useState16[0],
3663
+ setNonce = _useState16[1];
3664
+ var _useState17 = React.useState((_propsValue$nullSortO = propsValue.nullSortOrder) !== null && _propsValue$nullSortO !== void 0 ? _propsValue$nullSortO : 1),
3661
3665
  _useState18 = _slicedToArray(_useState17, 2),
3662
- nonce = _useState18[0],
3663
- setNonce = _useState18[1];
3664
- var _useState19 = React.useState((_propsValue$nullSortO = propsValue.nullSortOrder) !== null && _propsValue$nullSortO !== void 0 ? _propsValue$nullSortO : 1),
3665
- _useState20 = _slicedToArray(_useState19, 2),
3666
- nullSortOrder = _useState20[0],
3667
- setNullSortOrder = _useState20[1];
3668
- var _useState21 = React.useState((_propsValue$zIndex = propsValue.zIndex) !== null && _propsValue$zIndex !== void 0 ? _propsValue$zIndex : {
3666
+ nullSortOrder = _useState18[0],
3667
+ setNullSortOrder = _useState18[1];
3668
+ var _useState19 = React.useState((_propsValue$zIndex = propsValue.zIndex) !== null && _propsValue$zIndex !== void 0 ? _propsValue$zIndex : {
3669
3669
  modal: 1100,
3670
3670
  overlay: 1000,
3671
3671
  menu: 1000,
3672
3672
  tooltip: 1100,
3673
3673
  toast: 1200
3674
3674
  }),
3675
- _useState22 = _slicedToArray(_useState21, 2),
3676
- zIndex = _useState22[0],
3677
- setZIndex = _useState22[1];
3678
- var _useState23 = React.useState((_propsValue$ptOptions = propsValue.ptOptions) !== null && _propsValue$ptOptions !== void 0 ? _propsValue$ptOptions : {
3675
+ _useState20 = _slicedToArray(_useState19, 2),
3676
+ zIndex = _useState20[0],
3677
+ setZIndex = _useState20[1];
3678
+ var _useState21 = React.useState((_propsValue$ptOptions = propsValue.ptOptions) !== null && _propsValue$ptOptions !== void 0 ? _propsValue$ptOptions : {
3679
3679
  mergeSections: true,
3680
3680
  mergeProps: true
3681
3681
  }),
3682
+ _useState22 = _slicedToArray(_useState21, 2),
3683
+ ptOptions = _useState22[0],
3684
+ setPtOptions = _useState22[1];
3685
+ var _useState23 = React.useState((_propsValue$pt = propsValue.pt) !== null && _propsValue$pt !== void 0 ? _propsValue$pt : undefined),
3682
3686
  _useState24 = _slicedToArray(_useState23, 2),
3683
- ptOptions = _useState24[0],
3684
- setPtOptions = _useState24[1];
3685
- var _useState25 = React.useState((_propsValue$pt = propsValue.pt) !== null && _propsValue$pt !== void 0 ? _propsValue$pt : undefined),
3687
+ pt = _useState24[0],
3688
+ setPt = _useState24[1];
3689
+ var _useState25 = React.useState((_propsValue$unstyled = propsValue.unstyled) !== null && _propsValue$unstyled !== void 0 ? _propsValue$unstyled : false),
3686
3690
  _useState26 = _slicedToArray(_useState25, 2),
3687
- pt = _useState26[0],
3688
- setPt = _useState26[1];
3689
- var _useState27 = React.useState((_propsValue$unstyled = propsValue.unstyled) !== null && _propsValue$unstyled !== void 0 ? _propsValue$unstyled : false),
3690
- _useState28 = _slicedToArray(_useState27, 2),
3691
- unstyled = _useState28[0],
3692
- setUnstyled = _useState28[1];
3693
- var _useState29 = React.useState((_propsValue$filterMat = propsValue.filterMatchModeOptions) !== null && _propsValue$filterMat !== void 0 ? _propsValue$filterMat : {
3691
+ unstyled = _useState26[0],
3692
+ setUnstyled = _useState26[1];
3693
+ var _useState27 = React.useState((_propsValue$filterMat = propsValue.filterMatchModeOptions) !== null && _propsValue$filterMat !== void 0 ? _propsValue$filterMat : {
3694
3694
  text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],
3695
3695
  numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],
3696
3696
  date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]
3697
3697
  }),
3698
- _useState30 = _slicedToArray(_useState29, 2),
3699
- filterMatchModeOptions = _useState30[0],
3700
- setFilterMatchModeOptions = _useState30[1];
3698
+ _useState28 = _slicedToArray(_useState27, 2),
3699
+ filterMatchModeOptions = _useState28[0],
3700
+ setFilterMatchModeOptions = _useState28[1];
3701
3701
  var changeTheme = function changeTheme(currentTheme, newTheme, linkElementId, callback) {
3702
3702
  var _linkElement$parentNo;
3703
3703
  var linkElement = document.getElementById(linkElementId);
@@ -4415,10 +4415,10 @@ function useMove(_ref) {
4415
4415
  type: 'mousedown',
4416
4416
  listener: onMouseDown
4417
4417
  }),
4418
- _useEventListener10 = _slicedToArray(_useEventListener9, 2),
4419
- bindMouseDownListener = _useEventListener10[0],
4420
- unbindMouseDownListener = _useEventListener10[1];
4421
- var _useEventListener11 = useEventListener({
4418
+ _useEventListener0 = _slicedToArray(_useEventListener9, 2),
4419
+ bindMouseDownListener = _useEventListener0[0],
4420
+ unbindMouseDownListener = _useEventListener0[1];
4421
+ var _useEventListener1 = useEventListener({
4422
4422
  target: ref,
4423
4423
  type: 'touchstart',
4424
4424
  listener: onTouchStart,
@@ -4426,9 +4426,9 @@ function useMove(_ref) {
4426
4426
  passive: false
4427
4427
  }
4428
4428
  }),
4429
- _useEventListener12 = _slicedToArray(_useEventListener11, 2),
4430
- bindTouchStartListener = _useEventListener12[0],
4431
- unbindTouchStartListener = _useEventListener12[1];
4429
+ _useEventListener10 = _slicedToArray(_useEventListener1, 2),
4430
+ bindTouchStartListener = _useEventListener10[0],
4431
+ unbindTouchStartListener = _useEventListener10[1];
4432
4432
  var clamp = function clamp(value, min, max) {
4433
4433
  return Math.min(Math.max(value, min), max);
4434
4434
  };
@@ -4918,7 +4918,7 @@ var useUpdateEffect = function useUpdateEffect(fn, deps) {
4918
4918
  function ownKeys$1Y(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; }
4919
4919
  function _objectSpread$1Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4920
4920
  var baseStyle = "\n.p-hidden-accessible {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n opacity: 0;\n overflow: hidden;\n padding: 0;\n pointer-events: none;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n.p-overflow-hidden {\n overflow: hidden;\n padding-right: var(--scrollbar-width);\n}\n";
4921
- var buttonStyles = "\n.p-button {\n margin: 0;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-button-group .p-button {\n margin: 0;\n}\n\n.p-button-group .p-button:not(:last-child) {\n border-right: 0 none;\n}\n\n.p-button-group .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-button-group .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-button-group .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-button-group .p-button:focus {\n position: relative;\n z-index: 1;\n}\n\n.p-button-group-single .p-button:first-of-type {\n border-top-right-radius: var(--border-radius) !important;\n border-bottom-right-radius: var(--border-radius) !important;\n}\n\n.p-button-group-single .p-button:last-of-type {\n border-top-left-radius: var(--border-radius) !important;\n border-bottom-left-radius: var(--border-radius) !important;\n}\n";
4921
+ var buttonStyles = "\n.p-button {\n margin: 0;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon {\n pointer-events: none;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-button-group .p-button {\n margin: 0;\n}\n\n.p-button-group .p-button:not(:last-child) {\n border-right: 0 none;\n}\n\n.p-button-group .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-button-group .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-button-group .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-button-group .p-button:focus {\n position: relative;\n z-index: 1;\n}\n\n.p-button-group-single .p-button:first-of-type {\n border-top-right-radius: var(--border-radius) !important;\n border-bottom-right-radius: var(--border-radius) !important;\n}\n\n.p-button-group-single .p-button:last-of-type {\n border-top-left-radius: var(--border-radius) !important;\n border-bottom-left-radius: var(--border-radius) !important;\n}\n";
4922
4922
  var inputTextStyles = "\n.p-inputtext {\n margin: 0;\n}\n\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -0.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label,\n.p-float-label .p-mention ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input:-webkit-autofill ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label,\n.p-float-label .p-tooltip-target-wrapper ~ label {\n top: -0.75rem;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-right > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > svg,\n.p-input-icon-left > .p-input-prefix,\n.p-input-icon-right > .p-input-suffix {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n";
4923
4923
  var iconStyles = "\n.p-icon {\n display: inline-block;\n}\n\n.p-icon-spin {\n -webkit-animation: p-icon-spin 2s infinite linear;\n animation: p-icon-spin 2s infinite linear;\n}\n\nsvg.p-icon {\n pointer-events: auto;\n}\n\nsvg.p-icon g,\n.p-disabled svg.p-icon {\n pointer-events: none;\n}\n\n@-webkit-keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n";
4924
4924
  var commonStyle = "\n@layer primereact {\n .p-component, .p-component * {\n box-sizing: border-box;\n }\n\n .p-hidden {\n display: none;\n }\n\n .p-hidden-space {\n visibility: hidden;\n }\n\n .p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n }\n\n .p-disabled, .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-unselectable-text {\n user-select: none;\n }\n\n .p-scrollbar-measure {\n width: 100px;\n height: 100px;\n overflow: scroll;\n position: absolute;\n top: -9999px;\n }\n\n @-webkit-keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n @keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n\n .p-link {\n text-align: left;\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n user-select: none;\n }\n\n .p-link:disabled {\n cursor: default;\n }\n\n /* Non react overlay animations */\n .p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n }\n\n .p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n }\n\n /* React based overlay animations */\n .p-connected-overlay-enter {\n opacity: 0;\n transform: scaleY(0.8);\n }\n\n .p-connected-overlay-enter-active {\n opacity: 1;\n transform: scaleY(1);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-enter-done {\n transform: none;\n }\n\n .p-connected-overlay-exit {\n opacity: 1;\n }\n\n .p-connected-overlay-exit-active {\n opacity: 0;\n transition: opacity .1s linear;\n }\n\n /* Toggleable Content */\n .p-toggleable-content-enter {\n max-height: 0;\n }\n\n .p-toggleable-content-enter-active {\n overflow: hidden;\n max-height: 1000px;\n transition: max-height 1s ease-in-out;\n }\n\n .p-toggleable-content-enter-done {\n transform: none;\n }\n\n .p-toggleable-content-exit {\n max-height: 1000px;\n }\n\n .p-toggleable-content-exit-active {\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n }\n\n /* @todo Refactor */\n .p-menu .p-menuitem-link {\n cursor: pointer;\n display: flex;\n align-items: center;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n }\n\n ".concat(buttonStyles, "\n ").concat(inputTextStyles, "\n ").concat(iconStyles, "\n}\n");
@@ -5676,12 +5676,13 @@ var Accordion = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
5676
5676
  var tabHeader = createTabHeader(tab, selected, index);
5677
5677
  var tabContent = createTabContent(tab, selected, index);
5678
5678
  var _rootProps = mergeProps({
5679
- key: key,
5680
5679
  className: cx('accordiontab.root', {
5681
5680
  selected: selected
5682
5681
  })
5683
5682
  }, AccordionTabBase.getCOtherProps(tab), getTabPT(tab, 'root', index));
5684
- return /*#__PURE__*/React__namespace.createElement("div", _rootProps, tabHeader, tabContent);
5683
+ return /*#__PURE__*/React__namespace.createElement("div", _extends({}, _rootProps, {
5684
+ key: key
5685
+ }), tabHeader, tabContent);
5685
5686
  }
5686
5687
  return null;
5687
5688
  };
@@ -6466,8 +6467,12 @@ var Tooltip = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
6466
6467
  if (visibleState) {
6467
6468
  var position = getPosition(currentTargetRef.current);
6468
6469
  var classname = getTargetOption(currentTargetRef.current, 'classname');
6469
- setPositionState(position);
6470
- setClassNameState(classname);
6470
+ if (position !== positionState) {
6471
+ setPositionState(position);
6472
+ }
6473
+ if (classname !== classNameState) {
6474
+ setClassNameState(classname);
6475
+ }
6471
6476
  updateTooltipState(position);
6472
6477
  bindWindowResizeListener();
6473
6478
  bindOverlayScrollListener();
@@ -6922,6 +6927,7 @@ var InputText = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
6922
6927
  context: context,
6923
6928
  isFilled: isFilled
6924
6929
  })),
6930
+ autoComplete: props.autoComplete,
6925
6931
  onBeforeInput: onBeforeInput,
6926
6932
  onInput: onInput,
6927
6933
  onKeyDown: onKeyDown,
@@ -7161,17 +7167,17 @@ var VirtualScroller = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__nam
7161
7167
  numItemsInViewportState = _React$useState8[0],
7162
7168
  setNumItemsInViewportState = _React$useState8[1];
7163
7169
  var _React$useState9 = React__namespace.useState(props.numToleratedItems),
7164
- _React$useState10 = _slicedToArray(_React$useState9, 2),
7165
- numToleratedItemsState = _React$useState10[0],
7166
- setNumToleratedItemsState = _React$useState10[1];
7167
- var _React$useState11 = React__namespace.useState(props.loading || false),
7170
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
7171
+ numToleratedItemsState = _React$useState0[0],
7172
+ setNumToleratedItemsState = _React$useState0[1];
7173
+ var _React$useState1 = React__namespace.useState(props.loading || false),
7174
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
7175
+ loadingState = _React$useState10[0],
7176
+ setLoadingState = _React$useState10[1];
7177
+ var _React$useState11 = React__namespace.useState([]),
7168
7178
  _React$useState12 = _slicedToArray(_React$useState11, 2),
7169
- loadingState = _React$useState12[0],
7170
- setLoadingState = _React$useState12[1];
7171
- var _React$useState13 = React__namespace.useState([]),
7172
- _React$useState14 = _slicedToArray(_React$useState13, 2),
7173
- loaderArrState = _React$useState14[0],
7174
- setLoaderArrState = _React$useState14[1];
7179
+ loaderArrState = _React$useState12[0],
7180
+ setLoaderArrState = _React$useState12[1];
7175
7181
  var _VirtualScrollerBase$ = VirtualScrollerBase.setMetaData({
7176
7182
  props: props,
7177
7183
  state: {
@@ -8192,7 +8198,8 @@ var AutoCompletePanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__n
8192
8198
  style: style,
8193
8199
  onClick: function onClick(e) {
8194
8200
  return props.onClick(e);
8195
- }
8201
+ },
8202
+ 'data-pr-is-overlay': true
8196
8203
  }, _ptm('panel'));
8197
8204
  var transitionProps = mergeProps({
8198
8205
  classNames: cx('transition'),
@@ -9758,7 +9765,8 @@ var CalendarPanel = /*#__PURE__*/React__namespace.forwardRef(function (props, re
9758
9765
  'aria-label': localeOption('chooseDate', props.locale),
9759
9766
  'aria-modal': props.inline ? null : 'true',
9760
9767
  onClick: props.onClick,
9761
- onMouseUp: props.onMouseUp
9768
+ onMouseUp: props.onMouseUp,
9769
+ 'data-pr-is-overlay': true
9762
9770
  }, props.ptm('panel', {
9763
9771
  hostName: props.hostName
9764
9772
  }));
@@ -9857,22 +9865,23 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
9857
9865
  var viewChangedWithKeyDown = React__namespace.useRef(false);
9858
9866
  var onChangeRef = React__namespace.useRef(null);
9859
9867
  var isClearClicked = React__namespace.useRef(false);
9868
+ var updateInputfieldRef = React__namespace.useRef(null);
9860
9869
  var _React$useState9 = React__namespace.useState('date'),
9861
- _React$useState10 = _slicedToArray(_React$useState9, 2),
9862
- currentView = _React$useState10[0],
9863
- setCurrentView = _React$useState10[1];
9870
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
9871
+ currentView = _React$useState0[0],
9872
+ setCurrentView = _React$useState0[1];
9873
+ var _React$useState1 = React__namespace.useState(null),
9874
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
9875
+ currentMonth = _React$useState10[0],
9876
+ setCurrentMonth = _React$useState10[1];
9864
9877
  var _React$useState11 = React__namespace.useState(null),
9865
9878
  _React$useState12 = _slicedToArray(_React$useState11, 2),
9866
- currentMonth = _React$useState12[0],
9867
- setCurrentMonth = _React$useState12[1];
9868
- var _React$useState13 = React__namespace.useState(null),
9879
+ currentYear = _React$useState12[0],
9880
+ setCurrentYear = _React$useState12[1];
9881
+ var _React$useState13 = React__namespace.useState([]),
9869
9882
  _React$useState14 = _slicedToArray(_React$useState13, 2),
9870
- currentYear = _React$useState14[0],
9871
- setCurrentYear = _React$useState14[1];
9872
- var _React$useState15 = React__namespace.useState([]),
9873
- _React$useState16 = _slicedToArray(_React$useState15, 2),
9874
- yearOptions = _React$useState16[0],
9875
- setYearOptions = _React$useState16[1];
9883
+ yearOptions = _React$useState14[0],
9884
+ setYearOptions = _React$useState14[1];
9876
9885
  var previousValue = usePrevious(props.value);
9877
9886
  var visible = props.inline || (props.onVisibleChange ? props.visible : overlayVisibleState);
9878
9887
  var attributeSelector = UniqueComponentId();
@@ -9888,7 +9897,7 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
9888
9897
  if (!isOverlayClicked.current && !isNavIconClicked(event.target)) {
9889
9898
  hide('outside');
9890
9899
  }
9891
- } else if (context.hideOverlaysOnDocumentScrolling) {
9900
+ } else if (context && context.hideOverlaysOnDocumentScrolling || PrimeReact.hideOverlaysOnDocumentScrolling) {
9892
9901
  hide();
9893
9902
  } else if (!DomHandler.isDocument(event.target)) {
9894
9903
  alignOverlay();
@@ -9905,6 +9914,11 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
9905
9914
  var getDateFormat = function getDateFormat() {
9906
9915
  return props.dateFormat || localeOption('dateFormat', props.locale);
9907
9916
  };
9917
+ var onInputClick = function onInputClick() {
9918
+ if (!visible && props.showOnFocus) {
9919
+ show();
9920
+ }
9921
+ };
9908
9922
  var onInputFocus = function onInputFocus(event) {
9909
9923
  if (ignoreFocusFunctionality.current) {
9910
9924
  setFocusedState(true);
@@ -9958,6 +9972,7 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
9958
9972
  props.onInput && props.onInput(event);
9959
9973
  };
9960
9974
  var updateValueOnInput = function updateValueOnInput(event, rawValue, invalidCallback) {
9975
+ props.onInput && props.onInput(event);
9961
9976
  try {
9962
9977
  var value = parseValueFromString(props.timeOnly ? rawValue.replace('_', '') : rawValue);
9963
9978
  if (isValidSelection(value)) {
@@ -10000,7 +10015,7 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
10000
10015
  var isValidSelection = function isValidSelection(value) {
10001
10016
  var isValid = true;
10002
10017
  if (isSingleSelection()) {
10003
- if (!(isSelectable(value.getDate(), value.getMonth(), value.getFullYear(), false) && isSelectableTime(value))) {
10018
+ if (!(isSelectable(value.getDate(), value.getMonth(), value.getFullYear(), false) && (!props.showTime || isSelectableTime(value)))) {
10004
10019
  isValid = false;
10005
10020
  }
10006
10021
  } else if (value.every(function (v) {
@@ -10158,14 +10173,14 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
10158
10173
  newViewDate.setMonth(11);
10159
10174
  newViewDate.setFullYear(newYear);
10160
10175
  props.onMonthChange && props.onMonthChange({
10161
- month: 11,
10176
+ month: 12,
10162
10177
  year: newYear
10163
10178
  });
10164
10179
  setCurrentMonth(11);
10165
10180
  } else {
10166
10181
  newViewDate.setMonth(newViewDate.getMonth() - 1);
10167
10182
  props.onMonthChange && props.onMonthChange({
10168
- month: currentMonth - 1,
10183
+ month: currentMonth,
10169
10184
  year: currentYear
10170
10185
  });
10171
10186
  setCurrentMonth(function (prevState) {
@@ -10203,14 +10218,14 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
10203
10218
  newViewDate.setMonth(0);
10204
10219
  newViewDate.setFullYear(newYear);
10205
10220
  props.onMonthChange && props.onMonthChange({
10206
- month: 0,
10221
+ month: 1,
10207
10222
  year: newYear
10208
10223
  });
10209
10224
  setCurrentMonth(0);
10210
10225
  } else {
10211
10226
  newViewDate.setMonth(newViewDate.getMonth() + 1);
10212
10227
  props.onMonthChange && props.onMonthChange({
10213
- month: currentMonth + 1,
10228
+ month: currentMonth + 2,
10214
10229
  year: currentYear
10215
10230
  });
10216
10231
  setCurrentMonth(function (prevState) {
@@ -10287,8 +10302,8 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
10287
10302
  var timeMeta = {
10288
10303
  hours: today.getHours(),
10289
10304
  minutes: today.getMinutes(),
10290
- seconds: today.getSeconds(),
10291
- milliseconds: today.getMilliseconds()
10305
+ seconds: props.showSeconds ? today.getSeconds() : 0,
10306
+ milliseconds: props.showMillisec ? today.getMilliseconds() : 0
10292
10307
  };
10293
10308
  updateViewDate(event, today);
10294
10309
  onDateSelect(event, dateMeta, timeMeta);
@@ -11252,7 +11267,9 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
11252
11267
  if (!props.inline && isSingleSelection() && (!props.showTime || props.hideOnDateTimeSelect) && !isUpdateViewDate) {
11253
11268
  setTimeout(function () {
11254
11269
  hide('dateselect');
11255
- reFocusInputField();
11270
+ if (props.selectionMode !== 'single') {
11271
+ reFocusInputField();
11272
+ }
11256
11273
  }, 100);
11257
11274
  if (touchUIMask.current) {
11258
11275
  disableModality();
@@ -11273,7 +11290,7 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
11273
11290
  milliseconds = timeMeta.milliseconds;
11274
11291
  } else {
11275
11292
  var time = getCurrentDateTime();
11276
- var _ref5 = [time.getHours(), time.getMinutes(), time.getSeconds(), time.getMilliseconds()];
11293
+ var _ref5 = [time.getHours(), time.getMinutes(), props.showSeconds ? time.getSeconds() : 0, props.showMillisec ? time.getMilliseconds() : 0];
11277
11294
  hours = _ref5[0];
11278
11295
  minutes = _ref5[1];
11279
11296
  seconds = _ref5[2];
@@ -11333,7 +11350,6 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
11333
11350
  value: date
11334
11351
  });
11335
11352
  }
11336
- updateInputfield(selectedValues);
11337
11353
  };
11338
11354
  var decrementDecade = function decrementDecade() {
11339
11355
  var _currentYear = currentYear - 10;
@@ -11801,11 +11817,13 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
11801
11817
  if (props.minDate.getMinutes() > value.getMinutes()) {
11802
11818
  validMin = false;
11803
11819
  } else if (props.minDate.getMinutes() === value.getMinutes()) {
11804
- if (props.minDate.getSeconds() > value.getSeconds()) {
11805
- validMin = false;
11806
- } else if (props.minDate.getSeconds() === value.getSeconds()) {
11807
- if (props.minDate.getMilliseconds() > value.getMilliseconds()) {
11820
+ if (props.showSeconds) {
11821
+ if (props.minDate.getSeconds() > value.getSeconds()) {
11808
11822
  validMin = false;
11823
+ } else if (props.minDate.getSeconds() === value.getSeconds()) {
11824
+ if (!props.showMillisec || props.minDate.getMilliseconds() > value.getMilliseconds()) {
11825
+ validMin = false;
11826
+ }
11809
11827
  }
11810
11828
  }
11811
11829
  }
@@ -11818,11 +11836,13 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
11818
11836
  if (props.maxDate.getMinutes() < value.getMinutes()) {
11819
11837
  validMax = false;
11820
11838
  } else if (props.maxDate.getMinutes() === value.getMinutes()) {
11821
- if (props.maxDate.getSeconds() < value.getSeconds()) {
11822
- validMax = false;
11823
- } else if (props.maxDate.getSeconds() === value.getSeconds()) {
11824
- if (props.maxDate.getMilliseconds() < value.getMilliseconds()) {
11839
+ if (props.showSeconds) {
11840
+ if (props.maxDate.getSeconds() < value.getSeconds()) {
11825
11841
  validMax = false;
11842
+ } else if (props.maxDate.getSeconds() === value.getSeconds()) {
11843
+ if (!props.showMillisec || props.maxDate.getMilliseconds() < value.getMilliseconds()) {
11844
+ validMax = false;
11845
+ }
11826
11846
  }
11827
11847
  }
11828
11848
  }
@@ -12019,6 +12039,7 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
12019
12039
  }
12020
12040
  inputRef.current.value = formattedValue;
12021
12041
  };
12042
+ updateInputfieldRef.current = updateInputfield;
12022
12043
  var formatDateTime = function formatDateTime(date) {
12023
12044
  if (props.formatDateTime) {
12024
12045
  return props.formatDateTime(date);
@@ -12426,6 +12447,11 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
12426
12447
  React__namespace.useEffect(function () {
12427
12448
  ObjectUtils.combinedRefs(inputRef, props.inputRef);
12428
12449
  }, [inputRef, props.inputRef]);
12450
+ React__namespace.useEffect(function () {
12451
+ if (props.value !== previousValue) {
12452
+ updateInputfieldRef.current && updateInputfieldRef.current(props.value);
12453
+ }
12454
+ }, [props.value, previousValue]);
12429
12455
  useMountEffect(function () {
12430
12456
  var viewDate = getViewDate(props.viewDate);
12431
12457
  validateDate(viewDate);
@@ -13220,9 +13246,9 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
13220
13246
  var createAmPmPicker = function createAmPmPicker() {
13221
13247
  if (props.hourFormat === '12') {
13222
13248
  var currentTime = getCurrentDateTime();
13223
- var _localeOptions10 = localeOptions(props.locale),
13224
- am = _localeOptions10.am,
13225
- pm = _localeOptions10.pm;
13249
+ var _localeOptions0 = localeOptions(props.locale),
13250
+ am = _localeOptions0.am,
13251
+ pm = _localeOptions0.pm;
13226
13252
  var hour = currentTime.getHours();
13227
13253
  var display = hour > 11 ? 'PM' : 'AM';
13228
13254
  var ampmProps = mergeProps(ptm('ampm'));
@@ -13283,6 +13309,7 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
13283
13309
  autoComplete: "off",
13284
13310
  placeholder: props.placeholder,
13285
13311
  tabIndex: props.tabIndex,
13312
+ onClick: onInputClick,
13286
13313
  onInput: onUserInput,
13287
13314
  onFocus: onInputFocus,
13288
13315
  onBlur: onInputBlur,
@@ -13342,10 +13369,10 @@ var Calendar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
13342
13369
  };
13343
13370
  var createButtonBar = function createButtonBar() {
13344
13371
  if (props.showButtonBar) {
13345
- var _localeOptions11 = localeOptions(props.locale),
13346
- today = _localeOptions11.today,
13347
- clear = _localeOptions11.clear,
13348
- now = _localeOptions11.now;
13372
+ var _localeOptions1 = localeOptions(props.locale),
13373
+ today = _localeOptions1.today,
13374
+ clear = _localeOptions1.clear,
13375
+ now = _localeOptions1.now;
13349
13376
  var nowDate = new Date();
13350
13377
  var isHidden = props.minDate && props.minDate > nowDate || props.maxDate && isPastMaxDateWithBuffer();
13351
13378
  var buttonbarProps = mergeProps({
@@ -14059,7 +14086,15 @@ var Carousel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
14059
14086
  }
14060
14087
  if (!carouselStyle.current) {
14061
14088
  calculatePosition();
14062
- changePosition(totalShiftedItemsState);
14089
+
14090
+ // Workaround: force correct initial position for circular
14091
+ if (isCircular) {
14092
+ var initialPosition = -1 * numVisibleState;
14093
+ setTotalShiftedItemsState(initialPosition);
14094
+ changePosition(initialPosition);
14095
+ } else {
14096
+ changePosition(totalShiftedItemsState);
14097
+ }
14063
14098
  bindWindowResizeListener();
14064
14099
  }
14065
14100
  });
@@ -14436,7 +14471,7 @@ var classes$14 = {
14436
14471
  text: 'p-cascadeselect-item-text',
14437
14472
  transition: 'p-connected-overlay'
14438
14473
  };
14439
- var styles$U = "\n@layer primereact {\n .p-cascadeselect {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n }\n \n .p-cascadeselect-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n \n .p-cascadeselect-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n flex: 1 1 auto;\n width: 1%;\n text-overflow: ellipsis;\n cursor: pointer;\n }\n \n .p-cascadeselect-label-empty {\n overflow: hidden;\n visibility: hidden;\n }\n \n .p-cascadeselect .p-cascadeselect-panel {\n min-width: 100%;\n }\n \n .p-cascadeselect-item {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n }\n \n .p-cascadeselect-item-content {\n display: flex;\n align-items: center;\n overflow: hidden;\n position: relative;\n }\n \n .p-cascadeselect-group-icon {\n margin-left: auto;\n }\n \n .p-cascadeselect-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n min-width: 100%;\n }\n \n .p-fluid .p-cascadeselect {\n display: flex;\n }\n \n .p-fluid .p-cascadeselect .p-cascadeselect-label {\n width: 1%;\n }\n \n .p-cascadeselect-sublist-wrapper {\n position: absolute;\n min-width: 100%;\n z-index: 1;\n display: none;\n }\n \n .p-cascadeselect-item-active {\n overflow: visible;\n }\n \n .p-cascadeselect-item-active > .p-cascadeselect-sublist-wrapper {\n display: block;\n left: 100%;\n top: 0;\n }\n .p-cascadeselect-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n right: 3rem;\n }\n}\n";
14474
+ var styles$U = "\n@layer primereact {\n .p-cascadeselect {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n }\n\n .p-cascadeselect-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n\n .p-cascadeselect-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n flex: 1 1 auto;\n width: 1%;\n text-overflow: ellipsis;\n cursor: pointer;\n }\n\n .p-cascadeselect-label-empty {\n overflow: hidden;\n visibility: hidden;\n }\n\n .p-cascadeselect .p-cascadeselect-panel {\n min-width: 100%;\n }\n\n .p-cascadeselect-item {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n }\n\n .p-cascadeselect-item-content {\n display: flex;\n align-items: center;\n overflow: hidden;\n position: relative;\n }\n\n .p-cascadeselect-group-icon {\n margin-left: auto;\n }\n\n .p-cascadeselect-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n min-width: 100%;\n }\n\n .p-fluid .p-cascadeselect {\n display: flex;\n }\n\n .p-fluid .p-cascadeselect .p-cascadeselect-label {\n width: 1%;\n }\n\n .p-cascadeselect-sublist-wrapper {\n position: absolute;\n min-width: 100%;\n z-index: 1;\n display: none;\n }\n\n .p-cascadeselect-item-active {\n overflow: visible;\n }\n\n .p-cascadeselect-item-active > .p-cascadeselect-sublist-wrapper {\n display: block;\n left: 100%;\n top: 0;\n }\n .p-cascadeselect-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n right: 3rem;\n }\n}\n";
14440
14475
  var CascadeSelectBase = ComponentBase.extend({
14441
14476
  defaultProps: {
14442
14477
  __TYPE: 'CascadeSelect',
@@ -14444,6 +14479,7 @@ var CascadeSelectBase = ComponentBase.extend({
14444
14479
  ariaLabelledBy: null,
14445
14480
  autoFocus: false,
14446
14481
  breakpoint: undefined,
14482
+ showClear: false,
14447
14483
  className: null,
14448
14484
  dataKey: null,
14449
14485
  disabled: false,
@@ -14510,6 +14546,7 @@ var CascadeSelectSub = /*#__PURE__*/React__namespace.memo(function (props) {
14510
14546
  activeOptionState = _React$useState2[0],
14511
14547
  setActiveOptionState = _React$useState2[1];
14512
14548
  var elementRef = React__namespace.useRef(null);
14549
+ var shouldFocusSubmenu = React__namespace.useRef(false);
14513
14550
  var context = React__namespace.useContext(PrimeReactContext);
14514
14551
  var ptm = props.ptm,
14515
14552
  cx = props.cx;
@@ -14555,6 +14592,7 @@ var CascadeSelectSub = /*#__PURE__*/React__namespace.memo(function (props) {
14555
14592
  if (activeOptionState === option) {
14556
14593
  listItem.children[1].children[0].children[0].focus();
14557
14594
  } else {
14595
+ shouldFocusSubmenu.current = true;
14558
14596
  setActiveOptionState(option);
14559
14597
  }
14560
14598
  }
@@ -14562,9 +14600,14 @@ var CascadeSelectSub = /*#__PURE__*/React__namespace.memo(function (props) {
14562
14600
  case 'Left':
14563
14601
  case 'ArrowLeft':
14564
14602
  setActiveOptionState(null);
14565
- var parentList = event.currentTarget.parentElement.parentElement.previousElementSibling;
14566
- if (parentList) {
14567
- parentList.focus();
14603
+ var currentList = event.currentTarget.parentElement.parentElement;
14604
+ var wrapperDiv = currentList.parentElement;
14605
+ var parentListItem = wrapperDiv.parentElement;
14606
+ if (parentListItem && parentListItem.tagName === 'LI') {
14607
+ var parentContent = parentListItem.querySelector('[data-pc-section="content"]');
14608
+ if (parentContent) {
14609
+ parentContent.focus();
14610
+ }
14568
14611
  }
14569
14612
  break;
14570
14613
  case 'Enter':
@@ -14643,6 +14686,21 @@ var CascadeSelectSub = /*#__PURE__*/React__namespace.memo(function (props) {
14643
14686
  setActiveOptionState(null);
14644
14687
  }
14645
14688
  }, [props.parentActive]);
14689
+ useUpdateEffect(function () {
14690
+ if (shouldFocusSubmenu.current && activeOptionState && elementRef.current) {
14691
+ shouldFocusSubmenu.current = false;
14692
+ setTimeout(function () {
14693
+ var activeItem = elementRef.current.querySelector('[data-p-highlight="true"]');
14694
+ if (activeItem && activeItem.children.length > 1) {
14695
+ var submenuWrapper = activeItem.children[1];
14696
+ var firstFocusable = submenuWrapper.querySelector('div[tabindex="0"]');
14697
+ if (firstFocusable) {
14698
+ firstFocusable.focus();
14699
+ }
14700
+ }
14701
+ }, 150);
14702
+ }
14703
+ }, [activeOptionState]);
14646
14704
  var createSubmenu = function createSubmenu(option) {
14647
14705
  if (isOptionGroup(option) && activeOptionState === option) {
14648
14706
  var options = getOptionGroupChildren(option);
@@ -16308,7 +16366,8 @@ var ColorPickerPanel = /*#__PURE__*/React__namespace.forwardRef(function (props,
16308
16366
  context: context
16309
16367
  }),
16310
16368
  style: props.panelStyle,
16311
- onClick: props.onClick
16369
+ onClick: props.onClick,
16370
+ 'data-pr-is-overlay': true
16312
16371
  }, ptm('panel', {
16313
16372
  hostName: props.hostName
16314
16373
  }));
@@ -17394,7 +17453,7 @@ var Dialog = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
17394
17453
  lastPageX.current = event.pageX;
17395
17454
  dialogRef.current.style.left = leftPos - leftMargin + 'px';
17396
17455
  }
17397
- if (topPos >= props.minY && topPos + height < viewport.height) {
17456
+ if (topPos >= props.minY && (deltaY < 0 || topPos + height < viewport.height)) {
17398
17457
  lastPageY.current = event.pageY;
17399
17458
  dialogRef.current.style.top = topPos - topMargin + 'px';
17400
17459
  }
@@ -17448,10 +17507,10 @@ var Dialog = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
17448
17507
  newWidth = newWidth + deltaX;
17449
17508
  newHeight = newHeight + deltaY;
17450
17509
  }
17451
- if ((!minWidth || newWidth > minWidth) && offset.left + newWidth < viewport.width) {
17510
+ if ((!minWidth || newWidth > minWidth) && (deltaX < 0 || offset.left + newWidth < viewport.width)) {
17452
17511
  dialogRef.current.style.width = newWidth + 'px';
17453
17512
  }
17454
- if ((!minHeight || newHeight > minHeight) && offset.top + newHeight < viewport.height) {
17513
+ if ((!minHeight || newHeight > minHeight) && (deltaY < 0 || offset.top + newHeight < viewport.height)) {
17455
17514
  dialogRef.current.style.height = newHeight + 'px';
17456
17515
  }
17457
17516
  lastPageX.current = event.pageX;
@@ -17980,7 +18039,7 @@ var ConfirmDialog = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
17980
18039
  }
17981
18040
  };
17982
18041
  var confirm = function confirm(updatedProps) {
17983
- if (updatedProps.tagKey === props.tagKey) {
18042
+ if (updatedProps.tagKey === props.tagKey && (updatedProps.group === undefined || updatedProps.group === props.group)) {
17984
18043
  var isVisibleChanged = visibleState !== updatedProps.visible;
17985
18044
  var targetChanged = getPropValue('target') !== updatedProps.target;
17986
18045
  if (targetChanged && !props.target) {
@@ -18725,13 +18784,14 @@ var ContextMenuSub = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__name
18725
18784
  var key = props.id + '_separator_' + index;
18726
18785
  var separatorProps = mergeProps({
18727
18786
  id: key,
18728
- key: key,
18729
18787
  className: cx('separator'),
18730
18788
  role: 'separator'
18731
18789
  }, ptm('separator', {
18732
18790
  hostName: props.hostName
18733
18791
  }));
18734
- return /*#__PURE__*/React__namespace.createElement("li", separatorProps);
18792
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, separatorProps, {
18793
+ key: key
18794
+ }));
18735
18795
  };
18736
18796
  var createSubmenu = function createSubmenu(item, index) {
18737
18797
  if (isItemGroup(item)) {
@@ -18816,9 +18876,8 @@ var ContextMenuSub = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__name
18816
18876
  },
18817
18877
  className: cx('content')
18818
18878
  }, getPTOptions(processedItem, 'content', index));
18819
- var menuitemProps = mergeProps(_defineProperty({
18879
+ var menuitemProps = mergeProps({
18820
18880
  id: key,
18821
- key: key,
18822
18881
  role: 'menuitem',
18823
18882
  'aria-label': item.label,
18824
18883
  'aria-disabled': disabled,
@@ -18837,8 +18896,10 @@ var ContextMenuSub = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__name
18837
18896
  disabled: isItemDisabled(item)
18838
18897
  }),
18839
18898
  style: item.style
18840
- }, "key", key), getPTOptions(processedItem, 'menuitem', index));
18841
- return /*#__PURE__*/React__namespace.createElement("li", menuitemProps, /*#__PURE__*/React__namespace.createElement("div", contentProps, content), submenu);
18899
+ }, getPTOptions(processedItem, 'menuitem', index));
18900
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, menuitemProps, {
18901
+ key: key
18902
+ }), /*#__PURE__*/React__namespace.createElement("div", contentProps, content), submenu);
18842
18903
  };
18843
18904
  var createItem = function createItem(processedItem, index) {
18844
18905
  if (processedItem.visible === false) {
@@ -18909,41 +18970,41 @@ var ContextMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
18909
18970
  resetMenuState = _React$useState8[0],
18910
18971
  setResetMenuState = _React$useState8[1];
18911
18972
  var _React$useState9 = React__namespace.useState(null),
18912
- _React$useState10 = _slicedToArray(_React$useState9, 2),
18913
- attributeSelectorState = _React$useState10[0],
18914
- setAttributeSelectorState = _React$useState10[1];
18973
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
18974
+ attributeSelectorState = _React$useState0[0],
18975
+ setAttributeSelectorState = _React$useState0[1];
18976
+ var _React$useState1 = React__namespace.useState(false),
18977
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
18978
+ focused = _React$useState10[0],
18979
+ setFocused = _React$useState10[1];
18915
18980
  var _React$useState11 = React__namespace.useState(false),
18916
18981
  _React$useState12 = _slicedToArray(_React$useState11, 2),
18917
- focused = _React$useState12[0],
18918
- setFocused = _React$useState12[1];
18919
- var _React$useState13 = React__namespace.useState(false),
18920
- _React$useState14 = _slicedToArray(_React$useState13, 2),
18921
- focusTrigger = _React$useState14[0],
18922
- setFocusTrigger = _React$useState14[1];
18923
- var _React$useState15 = React__namespace.useState({
18982
+ focusTrigger = _React$useState12[0],
18983
+ setFocusTrigger = _React$useState12[1];
18984
+ var _React$useState13 = React__namespace.useState({
18924
18985
  index: -1,
18925
18986
  level: 0,
18926
18987
  parentKey: ''
18927
18988
  }),
18989
+ _React$useState14 = _slicedToArray(_React$useState13, 2),
18990
+ focusedItemInfo = _React$useState14[0],
18991
+ setFocusedItemInfo = _React$useState14[1];
18992
+ var _React$useState15 = React__namespace.useState(''),
18928
18993
  _React$useState16 = _slicedToArray(_React$useState15, 2),
18929
- focusedItemInfo = _React$useState16[0],
18930
- setFocusedItemInfo = _React$useState16[1];
18931
- var _React$useState17 = React__namespace.useState(''),
18994
+ activeItemPath = _React$useState16[0],
18995
+ setActiveItemPath = _React$useState16[1];
18996
+ var _React$useState17 = React__namespace.useState([]),
18932
18997
  _React$useState18 = _slicedToArray(_React$useState17, 2),
18933
- activeItemPath = _React$useState18[0],
18934
- setActiveItemPath = _React$useState18[1];
18998
+ processedItems = _React$useState18[0],
18999
+ setProcessedItems = _React$useState18[1];
18935
19000
  var _React$useState19 = React__namespace.useState([]),
18936
19001
  _React$useState20 = _slicedToArray(_React$useState19, 2),
18937
- processedItems = _React$useState20[0],
18938
- setProcessedItems = _React$useState20[1];
18939
- var _React$useState21 = React__namespace.useState([]),
19002
+ visibleItems = _React$useState20[0],
19003
+ setVisibleItems = _React$useState20[1];
19004
+ var _React$useState21 = React__namespace.useState(null),
18940
19005
  _React$useState22 = _slicedToArray(_React$useState21, 2),
18941
- visibleItems = _React$useState22[0],
18942
- setVisibleItems = _React$useState22[1];
18943
- var _React$useState23 = React__namespace.useState(null),
18944
- _React$useState24 = _slicedToArray(_React$useState23, 2),
18945
- focusedItemId = _React$useState24[0],
18946
- setFocusedItemId = _React$useState24[1];
19006
+ focusedItemId = _React$useState22[0],
19007
+ setFocusedItemId = _React$useState22[1];
18947
19008
  var _ContextMenuBase$setM = ContextMenuBase.setMetaData({
18948
19009
  props: props,
18949
19010
  state: {
@@ -20600,6 +20661,54 @@ var InputNumber = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
20600
20661
  }
20601
20662
  return null;
20602
20663
  };
20664
+ function countDecimals(value) {
20665
+ if (!isFinite(value)) return 0;
20666
+ var s = String(value);
20667
+
20668
+ // handle exponential notation: e.g. "1e-7"
20669
+ if (s.toLowerCase().includes('e')) {
20670
+ var _s$split = s.split('e'),
20671
+ _s$split2 = _slicedToArray(_s$split, 2),
20672
+ mantissa = _s$split2[0],
20673
+ expStr = _s$split2[1];
20674
+ var exp = parseInt(expStr, 10);
20675
+ var decimalPart = (mantissa.split('.')[1] || '').length;
20676
+
20677
+ // If exponent is negative, decimals increase
20678
+ if (exp < 0) return decimalPart + Math.abs(exp);
20679
+
20680
+ // If exponent is positive, decimals shrink
20681
+ return Math.max(0, decimalPart - exp);
20682
+ }
20683
+
20684
+ // normal decimal
20685
+ return (s.split('.')[1] || '').length;
20686
+ }
20687
+ var addWithPrecision = function addWithPrecision(base, increment) {
20688
+ base = Number(base);
20689
+ increment = Number(increment);
20690
+
20691
+ // invalid inputs → return NaN cleanly
20692
+ if (!isFinite(base) || !isFinite(increment)) return NaN;
20693
+ var baseDec = countDecimals(base);
20694
+ var incDec = countDecimals(increment);
20695
+
20696
+ // Choose required decimal precision but cap so factor remains safe
20697
+ var decimals = Math.min(Math.max(baseDec, incDec), 15);
20698
+ var factor = Math.pow(10, decimals);
20699
+ var maxSafe = Number.MAX_SAFE_INTEGER;
20700
+
20701
+ // avoid unsafe multiplication
20702
+ if (Math.abs(base) * factor > maxSafe || Math.abs(increment) * factor > maxSafe) {
20703
+ var sum = base + increment;
20704
+ // fallback to a safe rounding
20705
+ var fallbackFactor = Math.pow(10, 15);
20706
+ return Math.round(sum * fallbackFactor) / fallbackFactor;
20707
+ }
20708
+
20709
+ // Correct integer math → avoids floating point errors
20710
+ return Math.round(base * factor + increment * factor) / factor;
20711
+ };
20603
20712
  var _repeat = function repeat(event, interval, dir) {
20604
20713
  var i = interval || 500;
20605
20714
  clearTimer();
@@ -20612,7 +20721,7 @@ var InputNumber = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
20612
20721
  if (inputRef.current) {
20613
20722
  var step = props.step * dir;
20614
20723
  var currentValue = parseValue(inputRef.current.value) || 0;
20615
- var newValue = validateValue(currentValue + step);
20724
+ var newValue = validateValue(addWithPrecision(currentValue, step));
20616
20725
  if (props.maxLength && props.maxLength < formatValue(newValue).length) {
20617
20726
  return;
20618
20727
  }
@@ -20916,6 +21025,9 @@ var InputNumber = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
20916
21025
  return;
20917
21026
  }
20918
21027
  var data = (event.clipboardData || window.clipboardData).getData('Text');
21028
+ if (props.inputId === 'integeronly' && /[^\d-]/.test(data)) {
21029
+ return;
21030
+ }
20919
21031
  if (data) {
20920
21032
  var filteredData = parseValue(data);
20921
21033
  if (filteredData != null) {
@@ -20956,8 +21068,12 @@ var InputNumber = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
20956
21068
  return props.mode === 'decimal';
20957
21069
  };
20958
21070
  var isFloat = function isFloat(val) {
20959
- var formatter = new Intl.NumberFormat(_locale, getOptions());
20960
- var parseVal = parseValue(formatter.format(val));
21071
+ var formattedVal = val;
21072
+ if (typeof formattedVal !== 'string') {
21073
+ var formatter = new Intl.NumberFormat(_locale, getOptions());
21074
+ formattedVal = formatter.format(val);
21075
+ }
21076
+ var parseVal = parseValue(formattedVal);
20961
21077
  if (parseVal === null) {
20962
21078
  return false;
20963
21079
  }
@@ -21355,10 +21471,12 @@ var InputNumber = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
21355
21471
  };
21356
21472
  var changeValue = function changeValue() {
21357
21473
  var val = validateValueByLimit(props.value);
21474
+ var currentValue = inputRef.current.value;
21358
21475
  updateInputValue(props.format ? val : replaceDecimalSeparator(val));
21359
21476
  var newValue = validateValue(props.value);
21360
- if (props.value !== null && props.value !== newValue) {
21477
+ if (props.value !== null && currentValue !== newValue) {
21361
21478
  updateModel(null, newValue);
21479
+ handleOnChange(null, currentValue, newValue);
21362
21480
  }
21363
21481
  };
21364
21482
  var getFormatter = function getFormatter() {
@@ -21950,8 +22068,8 @@ var inlineStyles$i = {
21950
22068
  maxHeight: props.scrollHeight || 'auto'
21951
22069
  };
21952
22070
  },
21953
- panel: function panel(_ref10) {
21954
- var props = _ref10.props;
22071
+ panel: function panel(_ref0) {
22072
+ var props = _ref0.props;
21955
22073
  return _objectSpread$1p({}, props.panelStyle);
21956
22074
  }
21957
22075
  };
@@ -22375,8 +22493,9 @@ var DropdownPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
22375
22493
  return item && createItem(item, options.index, options);
22376
22494
  },
22377
22495
  contentTemplate: function contentTemplate(options) {
22496
+ var children = options.children || [];
22378
22497
  var emptyMessage = props.hasFilter ? props.emptyFilterMessage : props.emptyMessage;
22379
- var content = isEmptyFilter ? createEmptyMessage(emptyMessage) : options.children;
22498
+ var content = isEmptyFilter || (children === null || children === void 0 ? void 0 : children.length) === 0 ? createEmptyMessage(emptyMessage) : children;
22380
22499
  var listProps = mergeProps({
22381
22500
  ref: options.contentRef,
22382
22501
  style: options.style,
@@ -22416,7 +22535,8 @@ var DropdownPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
22416
22535
  context: context
22417
22536
  })),
22418
22537
  style: sx('panel'),
22419
- onClick: props.onClick
22538
+ onClick: props.onClick,
22539
+ 'data-pr-is-overlay': true
22420
22540
  }, getPTOptions('panel'));
22421
22541
  var transitionProps = mergeProps({
22422
22542
  classNames: cx('transition'),
@@ -22660,10 +22780,10 @@ var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
22660
22780
  onArrowLeftKey(event, props.editable);
22661
22781
  break;
22662
22782
  case 'Home':
22663
- onHomeKey(event);
22783
+ onHomeKey(event, props.editable);
22664
22784
  break;
22665
22785
  case 'End':
22666
- onEndKey(event);
22786
+ onEndKey(event, props.editable);
22667
22787
  break;
22668
22788
  case 'PageDown':
22669
22789
  onPageDownKey(event);
@@ -22852,12 +22972,15 @@ var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
22852
22972
  };
22853
22973
  var onArrowLeftKey = function onArrowLeftKey(event) {
22854
22974
  var pressedInInputText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
22855
- pressedInInputText && setFocusedOptionIndex(-1);
22975
+ if (!pressedInInputText) return;
22976
+ props.editable && DomHandler.focus(inputRef.current);
22977
+ setFocusedOptionIndex(-1);
22856
22978
  };
22857
22979
  var onHomeKey = function onHomeKey(event) {
22858
22980
  var pressedInInputText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
22859
22981
  if (pressedInInputText) {
22860
- event.currentTarget.setSelectionRange(0, 0);
22982
+ DomHandler.focus(inputRef.current);
22983
+ inputRef.current.setSelectionRange(0, 0);
22861
22984
  setFocusedOptionIndex(-1);
22862
22985
  } else {
22863
22986
  changeFocusedOptionIndex(event, findFirstOptionIndex());
@@ -22868,8 +22991,9 @@ var Dropdown = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
22868
22991
  var onEndKey = function onEndKey(event) {
22869
22992
  var pressedInInputText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
22870
22993
  if (pressedInInputText) {
22871
- var target = event.currentTarget;
22994
+ var target = inputRef.current;
22872
22995
  var len = target.value.length;
22996
+ DomHandler.focus(target);
22873
22997
  target.setSelectionRange(len, len);
22874
22998
  setFocusedOptionIndex(-1);
22875
22999
  } else {
@@ -23941,10 +24065,10 @@ var classes$T = {
23941
24065
  });
23942
24066
  },
23943
24067
  filterSeparator: 'p-column-filter-separator',
23944
- filterRowItem: function filterRowItem(_ref10) {
23945
- var isRowMatchModeSelected = _ref10.isRowMatchModeSelected,
23946
- isShowMatchModes = _ref10.isShowMatchModes,
23947
- value = _ref10.value;
24068
+ filterRowItem: function filterRowItem(_ref0) {
24069
+ var isRowMatchModeSelected = _ref0.isRowMatchModeSelected,
24070
+ isShowMatchModes = _ref0.isShowMatchModes,
24071
+ value = _ref0.value;
23948
24072
  return isShowMatchModes() ? classNames('p-column-filter-row-item', {
23949
24073
  'p-highlight': value && isRowMatchModeSelected(value)
23950
24074
  }) : undefined;
@@ -23955,18 +24079,18 @@ var classes$T = {
23955
24079
  filterConstraint: 'p-column-filter-constraint',
23956
24080
  filterAddRule: 'p-column-filter-add-rule',
23957
24081
  filterButtonBar: 'p-column-filter-buttonbar',
23958
- filterOverlay: function filterOverlay(_ref11) {
23959
- var props = _ref11.columnFilterProps,
23960
- context = _ref11.context,
23961
- getColumnProp = _ref11.getColumnProp;
24082
+ filterOverlay: function filterOverlay(_ref1) {
24083
+ var props = _ref1.columnFilterProps,
24084
+ context = _ref1.context,
24085
+ getColumnProp = _ref1.getColumnProp;
23962
24086
  return classNames('p-column-filter-overlay p-component p-fluid', getColumnProp('filterMenuClassName'), {
23963
24087
  'p-column-filter-overlay-menu': props.display === 'menu',
23964
24088
  'p-input-filled': context && context.inputStyle === 'filled' || PrimeReact.inputStyle === 'filled',
23965
24089
  'p-ripple-disabled': context && context.ripple === false || PrimeReact.ripple === false
23966
24090
  });
23967
24091
  },
23968
- columnFilter: function columnFilter(_ref12) {
23969
- var props = _ref12.columnFilterProps;
24092
+ columnFilter: function columnFilter(_ref10) {
24093
+ var props = _ref10.columnFilterProps;
23970
24094
  return classNames('p-column-filter p-fluid', {
23971
24095
  'p-column-filter-row': props.display === 'row',
23972
24096
  'p-column-filter-menu': props.display === 'menu'
@@ -23978,13 +24102,13 @@ var classes$T = {
23978
24102
  sortIcon: 'p-sortable-column-icon',
23979
24103
  headerTitle: 'p-column-title',
23980
24104
  headerContent: 'p-column-header-content',
23981
- headerCell: function headerCell(_ref13) {
23982
- var props = _ref13.headerProps,
23983
- frozen = _ref13.frozen,
23984
- sortMeta = _ref13.sortMeta,
23985
- align = _ref13.align,
23986
- _isSortableDisabled = _ref13._isSortableDisabled,
23987
- getColumnProp = _ref13.getColumnProp;
24105
+ headerCell: function headerCell(_ref11) {
24106
+ var props = _ref11.headerProps,
24107
+ frozen = _ref11.frozen,
24108
+ sortMeta = _ref11.sortMeta,
24109
+ align = _ref11.align,
24110
+ _isSortableDisabled = _ref11._isSortableDisabled,
24111
+ getColumnProp = _ref11.getColumnProp;
23988
24112
  return ObjectUtils.isEmpty(props) ? classNames('p-filter-column', {
23989
24113
  'p-frozen-column': frozen
23990
24114
  }) : classNames(_defineProperty({
@@ -23998,9 +24122,9 @@ var classes$T = {
23998
24122
  'p-reorderable-column': props.reorderableColumns && getColumnProp('reorderable') && !frozen
23999
24123
  }, "p-align-".concat(align), !!align));
24000
24124
  },
24001
- footerCell: function footerCell(_ref14) {
24002
- var getColumnProp = _ref14.getColumnProp,
24003
- align = _ref14.align;
24125
+ footerCell: function footerCell(_ref12) {
24126
+ var getColumnProp = _ref12.getColumnProp,
24127
+ align = _ref12.align;
24004
24128
  return classNames(_defineProperty({
24005
24129
  'p-frozen-column': getColumnProp('frozen')
24006
24130
  }, "p-align-".concat(align), !!align));
@@ -24014,12 +24138,12 @@ var inlineStyles$h = {
24014
24138
  resizeHelper: {
24015
24139
  display: 'none'
24016
24140
  },
24017
- reorderIndicatorUp: function reorderIndicatorUp(_ref15) {
24018
- var style = _ref15.style;
24141
+ reorderIndicatorUp: function reorderIndicatorUp(_ref13) {
24142
+ var style = _ref13.style;
24019
24143
  return _objectSpread$1l({}, style);
24020
24144
  },
24021
- reorderIndicatorDown: function reorderIndicatorDown(_ref16) {
24022
- var style = _ref16.style;
24145
+ reorderIndicatorDown: function reorderIndicatorDown(_ref14) {
24146
+ var style = _ref14.style;
24023
24147
  return _objectSpread$1l({}, style);
24024
24148
  }
24025
24149
  };
@@ -24029,6 +24153,9 @@ var DataTableBase = ComponentBase.extend({
24029
24153
  alwaysShowPaginator: true,
24030
24154
  breakpoint: '960px',
24031
24155
  cellClassName: null,
24156
+ cellMemo: true,
24157
+ cellMemoProps: ['rowData', 'field', 'allowCellSelection', 'isCellSelected', 'editMode', 'rowIndex', 'tabIndex', 'editing', 'expanded', 'editingMeta', 'frozenCol', 'alignFrozenCol'],
24158
+ cellMemoPropsDepth: 1,
24032
24159
  cellSelection: false,
24033
24160
  checkIcon: null,
24034
24161
  className: null,
@@ -24275,7 +24402,6 @@ var RowCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
24275
24402
  var tabIndex = props.disabled ? null : '0';
24276
24403
  var checkboxProps = {
24277
24404
  role: 'checkbox',
24278
- 'aria-checked': props.checked,
24279
24405
  tabIndex: tabIndex,
24280
24406
  onChange: onChange,
24281
24407
  'aria-label': props.ariaLabel,
@@ -24545,8 +24671,6 @@ var Cell = function Cell(props) {
24545
24671
  setStyleObjectState = _React$useState6[1];
24546
24672
  var elementRef = React__namespace.useRef(null);
24547
24673
  var keyHelperRef = React__namespace.useRef(null);
24548
- var overlayEventListener = React__namespace.useRef(null);
24549
- var selfClick = React__namespace.useRef(false);
24550
24674
  var focusTimeout = React__namespace.useRef(null);
24551
24675
  var initFocusTimeout = React__namespace.useRef(null);
24552
24676
  var editingRowDataStateRef = React__namespace.useRef(null);
@@ -24583,17 +24707,20 @@ var Cell = function Cell(props) {
24583
24707
  var cellEditValidateOnClose = function cellEditValidateOnClose() {
24584
24708
  return getColumnProp('cellEditValidateOnClose');
24585
24709
  };
24710
+ var isIgnoredElement = function isIgnoredElement(element) {
24711
+ var isOverlay = function isOverlay(el) {
24712
+ return el.getAttribute && el.getAttribute('data-pr-is-overlay');
24713
+ };
24714
+ return isOverlay(element) || DomHandler.getParents(element).find(function (el) {
24715
+ return isOverlay(el);
24716
+ });
24717
+ };
24586
24718
  var _useEventListener = useEventListener({
24587
24719
  type: 'click',
24588
24720
  listener: function listener(e) {
24589
- setTimeout(function () {
24590
- if (!selfClick.current && isOutsideClicked(e.target)) {
24591
- // #2666 for overlay components and outside is clicked
24592
-
24593
- switchCellToViewMode(e, true);
24594
- }
24595
- }, 0);
24596
- selfClick.current = false;
24721
+ if (!isIgnoredElement(e.target) && isOutsideClicked(e.target)) {
24722
+ switchCellToViewMode(e, true);
24723
+ }
24597
24724
  },
24598
24725
  options: true,
24599
24726
  when: isEditable()
@@ -24638,10 +24765,6 @@ var Cell = function Cell(props) {
24638
24765
  setTimeout(function () {
24639
24766
  setEditingState(false);
24640
24767
  unbindDocumentClickListener();
24641
- OverlayService.off('overlay-click', overlayEventListener.current);
24642
- overlayEventListener.current = null;
24643
- editingRowDataStateRef.current = null;
24644
- selfClick.current = false;
24645
24768
  }, 1);
24646
24769
  };
24647
24770
  var switchCellToViewMode = function switchCellToViewMode(event, submit) {
@@ -24685,7 +24808,7 @@ var Cell = function Cell(props) {
24685
24808
  editingRowDataStateRef.current = editingRowData;
24686
24809
  };
24687
24810
  var _onClick = function onClick(event) {
24688
- props.onClick(event, getCellCallbackParams(event), isEditable(), editingState, setEditingState, selfClick, props.column, bindDocumentClickListener, overlayEventListener, isOutsideClicked);
24811
+ props.onClick(event, getCellCallbackParams(event), isEditable(), editingState, setEditingState, props.column, bindDocumentClickListener);
24689
24812
  };
24690
24813
  var _onMouseDown = function onMouseDown(event) {
24691
24814
  var params = getCellCallbackParams(event);
@@ -24757,7 +24880,6 @@ var Cell = function Cell(props) {
24757
24880
  }
24758
24881
  };
24759
24882
  var _onBlur = function onBlur(event) {
24760
- selfClick.current = false;
24761
24883
  if (props.editMode !== 'row' && editingState && getColumnProp('cellEditValidatorEvent') === 'blur') {
24762
24884
  switchCellToViewMode(event, true);
24763
24885
  }
@@ -24838,9 +24960,8 @@ var Cell = function Cell(props) {
24838
24960
  // eslint-disable-next-line react-hooks/exhaustive-deps
24839
24961
  }, [editingState]);
24840
24962
  useUnmountEffect(function () {
24841
- if (overlayEventListener.current) {
24842
- OverlayService.off('overlay-click', overlayEventListener.current);
24843
- overlayEventListener.current = null;
24963
+ if (editingRowDataStateRef.current) {
24964
+ editingRowDataStateRef.current = null;
24844
24965
  }
24845
24966
  });
24846
24967
  var createLoading = function createLoading() {
@@ -25144,6 +25265,7 @@ var Cell = function Cell(props) {
25144
25265
  var RadioCheckCell = /*#__PURE__*/React__namespace.memo(function (props) {
25145
25266
  return /*#__PURE__*/React__namespace.createElement(Cell, props);
25146
25267
  }, function (prevProps, nextProps) {
25268
+ if (nextProps.cellMemo === false) return false;
25147
25269
  var keysToCompare = ['isRowSelected', 'field', 'allowCellSelection', 'isCellSelected', 'editMode', 'index', 'tabIndex', 'editing', 'expanded', 'editingMeta', 'rowData'];
25148
25270
  return ObjectUtils.selectiveCompare(prevProps, nextProps, keysToCompare);
25149
25271
  });
@@ -25627,8 +25749,13 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
25627
25749
  } else {
25628
25750
  var left = 0;
25629
25751
  var prev = elementRef.current && elementRef.current.previousElementSibling;
25630
- if (prev && prev.classList.contains('p-frozen-column')) {
25631
- left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
25752
+ while (prev) {
25753
+ if (prev.classList.contains('p-frozen-column')) {
25754
+ left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
25755
+ elementRef.current.style.left = left + 'px';
25756
+ break;
25757
+ }
25758
+ prev = prev.previousElementSibling;
25632
25759
  }
25633
25760
  styleObject.left = left + 'px';
25634
25761
  }
@@ -25636,9 +25763,8 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
25636
25763
  !isSameStyle && setStyleObjectState(styleObject);
25637
25764
  }
25638
25765
  }, []);
25639
- var onCellClick = function onCellClick(event, params, isEditable, editingState, setEditingState, selfClick, column, bindDocumentClickListener, overlayEventListener, isOutsideClicked) {
25766
+ var onCellClick = function onCellClick(event, params, isEditable, editingState, setEditingState, column, bindDocumentClickListener) {
25640
25767
  if (props.editMode !== 'row' && isEditable && !editingState && (props.selectOnEdit || !props.selectOnEdit && props.isRowSelected)) {
25641
- selfClick.current = true;
25642
25768
  var onBeforeCellEditShow = getColumnProp(column, 'onBeforeCellEditShow');
25643
25769
  var onCellEditInit = getColumnProp(column, 'onCellEditInit');
25644
25770
  var cellEditValidatorEvent = getColumnProp(column, 'cellEditValidatorEvent');
@@ -25669,12 +25795,6 @@ var BodyRow = /*#__PURE__*/React__namespace.memo(function (props) {
25669
25795
  }
25670
25796
  if (cellEditValidatorEvent === 'click') {
25671
25797
  bindDocumentClickListener();
25672
- overlayEventListener.current = function (e) {
25673
- if (!isOutsideClicked(e.target)) {
25674
- selfClick.current = true;
25675
- }
25676
- };
25677
- OverlayService.on('overlay-click', overlayEventListener.current);
25678
25798
  }
25679
25799
  }, 1);
25680
25800
  }
@@ -26743,23 +26863,20 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
26743
26863
  }
26744
26864
  });
26745
26865
  var createEmptyContent = function createEmptyContent() {
26746
- if (!props.loading) {
26747
- var colSpan = getColumnsLength();
26748
- var _content = ObjectUtils.getJSXElement(props.emptyMessage, {
26749
- props: props.tableProps,
26750
- frozen: props.frozenRow
26751
- }) || localeOption('emptyMessage');
26752
- var emptyMessageProps = mergeProps({
26753
- className: cx('emptyMessage'),
26754
- role: 'row'
26755
- }, ptm('emptyMessage'));
26756
- var bodyCellProps = mergeProps({
26757
- colSpan: colSpan,
26758
- role: 'cell'
26759
- }, getColumnPTOptions('root'), getColumnPTOptions('bodyCell'));
26760
- return /*#__PURE__*/React__namespace.createElement("tr", emptyMessageProps, /*#__PURE__*/React__namespace.createElement("td", bodyCellProps, _content));
26761
- }
26762
- return null;
26866
+ var colSpan = getColumnsLength();
26867
+ var content = ObjectUtils.getJSXElement(props.emptyMessage, {
26868
+ props: props.tableProps,
26869
+ frozen: props.frozenRow
26870
+ }) || localeOption('emptyMessage');
26871
+ var emptyMessageProps = mergeProps({
26872
+ className: cx('emptyMessage'),
26873
+ role: 'row'
26874
+ }, ptm('emptyMessage'));
26875
+ var bodyCellProps = mergeProps({
26876
+ colSpan: colSpan,
26877
+ role: 'cell'
26878
+ }, getColumnPTOptions('root'), getColumnPTOptions('bodyCell'));
26879
+ return /*#__PURE__*/React__namespace.createElement("tr", emptyMessageProps, /*#__PURE__*/React__namespace.createElement("td", bodyCellProps, content));
26763
26880
  };
26764
26881
  var createGroupHeader = function createGroupHeader(rowData, rowIndex, expanded, colSpan) {
26765
26882
  if (isSubheaderGrouping && shouldRenderRowGroupHeader(props.value, rowData, rowIndex - props.first)) {
@@ -26780,7 +26897,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
26780
26897
  props: props.tableProps,
26781
26898
  customRendering: false
26782
26899
  };
26783
- var _content2 = ObjectUtils.getJSXElement(props.rowGroupHeaderTemplate, rowData, options);
26900
+ var _content = ObjectUtils.getJSXElement(props.rowGroupHeaderTemplate, rowData, options);
26784
26901
 
26785
26902
  // check if the user wants complete control of the rendering
26786
26903
  if (!options.customRendering) {
@@ -26790,14 +26907,14 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
26790
26907
  var rowGroupHeaderNameProps = mergeProps({
26791
26908
  className: cx('rowGroupHeaderName')
26792
26909
  }, ptm('rowGroupHeaderName'));
26793
- _content2 = /*#__PURE__*/React__namespace.createElement("td", bodyCellProps, toggler, /*#__PURE__*/React__namespace.createElement("span", rowGroupHeaderNameProps, _content2));
26910
+ _content = /*#__PURE__*/React__namespace.createElement("td", bodyCellProps, toggler, /*#__PURE__*/React__namespace.createElement("span", rowGroupHeaderNameProps, _content));
26794
26911
  }
26795
26912
  var rowGroupHeaderProps = mergeProps({
26796
26913
  className: cx('rowGroupHeader'),
26797
26914
  style: style,
26798
26915
  role: 'row'
26799
26916
  }, ptm('rowGroupHeader'));
26800
- return /*#__PURE__*/React__namespace.createElement("tr", rowGroupHeaderProps, _content2);
26917
+ return /*#__PURE__*/React__namespace.createElement("tr", rowGroupHeaderProps, _content);
26801
26918
  }
26802
26919
  return null;
26803
26920
  };
@@ -26894,7 +27011,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
26894
27011
  index: rowIndex,
26895
27012
  customRendering: false
26896
27013
  };
26897
- var _content3 = ObjectUtils.getJSXElement(props.rowExpansionTemplate, rowData, options);
27014
+ var _content2 = ObjectUtils.getJSXElement(props.rowExpansionTemplate, rowData, options);
26898
27015
 
26899
27016
  // check if the user wants complete control of the rendering
26900
27017
  if (!options.customRendering) {
@@ -26902,20 +27019,20 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
26902
27019
  colSpan: colSpan,
26903
27020
  role: 'cell'
26904
27021
  }, getColumnPTOptions('root'), getColumnPTOptions('bodyCell'));
26905
- _content3 = /*#__PURE__*/React__namespace.createElement("td", bodyCellProps, _content3);
27022
+ _content2 = /*#__PURE__*/React__namespace.createElement("td", bodyCellProps, _content2);
26906
27023
  }
26907
27024
  var rowExpansionProps = mergeProps({
26908
27025
  id: id,
26909
27026
  className: cx('rowExpansion'),
26910
27027
  role: 'row'
26911
27028
  }, ptm('rowExpansion'));
26912
- return /*#__PURE__*/React__namespace.createElement("tr", rowExpansionProps, _content3);
27029
+ return /*#__PURE__*/React__namespace.createElement("tr", rowExpansionProps, _content2);
26913
27030
  }
26914
27031
  return null;
26915
27032
  };
26916
27033
  var createGroupFooter = function createGroupFooter(rowData, rowIndex, expanded, colSpan) {
26917
27034
  if (isSubheaderGrouping && shouldRenderRowGroupFooter(props.value, rowData, rowIndex - props.first, expanded)) {
26918
- var _content4 = ObjectUtils.getJSXElement(props.rowGroupFooterTemplate, rowData, {
27035
+ var _content3 = ObjectUtils.getJSXElement(props.rowGroupFooterTemplate, rowData, {
26919
27036
  index: rowIndex,
26920
27037
  colSpan: colSpan,
26921
27038
  props: props.tableProps
@@ -26924,7 +27041,7 @@ var TableBody = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
26924
27041
  className: cx('rowGroupFooter'),
26925
27042
  role: 'row'
26926
27043
  }, ptm('rowGroupFooter'));
26927
- return /*#__PURE__*/React__namespace.createElement("tr", rowGroupFooterProps, _content4);
27044
+ return /*#__PURE__*/React__namespace.createElement("tr", rowGroupFooterProps, _content3);
26928
27045
  }
26929
27046
  return null;
26930
27047
  };
@@ -27034,16 +27151,21 @@ var FooterCell = /*#__PURE__*/React__namespace.memo(function (props) {
27034
27151
  var _align = getColumnProp('alignFrozen');
27035
27152
  if (_align === 'right') {
27036
27153
  var right = 0;
27037
- var next = elementRef.current.nextElementSibling;
27154
+ var next = elementRef.current && elementRef.current.nextElementSibling;
27038
27155
  if (next && next.classList.contains('p-frozen-column')) {
27039
27156
  right = DomHandler.getOuterWidth(next) + parseFloat(next.style.right || 0);
27040
27157
  }
27041
27158
  styleObject.right = right + 'px';
27042
27159
  } else {
27043
27160
  var left = 0;
27044
- var prev = elementRef.current.previousElementSibling;
27045
- if (prev && prev.classList.contains('p-frozen-column')) {
27046
- left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
27161
+ var prev = elementRef.current && elementRef.current.previousElementSibling;
27162
+ while (prev) {
27163
+ if (prev && prev.classList.contains('p-frozen-column')) {
27164
+ left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
27165
+ elementRef.current.style.left = left + 'px';
27166
+ break;
27167
+ }
27168
+ prev = prev.previousElementSibling;
27047
27169
  }
27048
27170
  styleObject.left = left + 'px';
27049
27171
  }
@@ -27414,7 +27536,7 @@ var ColumnFilter = /*#__PURE__*/React__namespace.memo(function (props) {
27414
27536
  };
27415
27537
  } else {
27416
27538
  filters[field].value = null;
27417
- filters[field].matchMode = defaultConstraint.matchMode;
27539
+ filters[field].matchMode = defaultConstraint ? defaultConstraint.matchMode : filters[field].matchMode;
27418
27540
  }
27419
27541
  filterClearCallback && filterClearCallback();
27420
27542
  props.onFilterChange(filters);
@@ -27481,6 +27603,7 @@ var ColumnFilter = /*#__PURE__*/React__namespace.memo(function (props) {
27481
27603
  }
27482
27604
  };
27483
27605
  var onRowMatchModeChange = function onRowMatchModeChange(matchMode) {
27606
+ var _iconRef$current;
27484
27607
  var filterMatchModeChangeCallback = getColumnProp('onFilterMatchModeChange');
27485
27608
  var filters = _objectSpread$1c({}, props.filters);
27486
27609
  filters[field].matchMode = matchMode;
@@ -27491,6 +27614,7 @@ var ColumnFilter = /*#__PURE__*/React__namespace.memo(function (props) {
27491
27614
  props.onFilterChange(filters);
27492
27615
  props.onFilterApply();
27493
27616
  hide();
27617
+ (_iconRef$current = iconRef.current) === null || _iconRef$current === void 0 || _iconRef$current.focus();
27494
27618
  };
27495
27619
  var onRowMatchModeKeyDown = function onRowMatchModeKeyDown(event, matchMode, clear) {
27496
27620
  var item = event.target;
@@ -28190,7 +28314,6 @@ var HeaderCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
28190
28314
  var tabIndex = props.disabled ? null : 0;
28191
28315
  var headerCheckboxProps = {
28192
28316
  role: 'checkbox',
28193
- 'aria-checked': props.checked,
28194
28317
  'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
28195
28318
  tabIndex: tabIndex,
28196
28319
  onChange: onChange,
@@ -28307,24 +28430,54 @@ var HeaderCell = /*#__PURE__*/React__namespace.memo(function (props) {
28307
28430
  var align = getColumnProp('alignFrozen');
28308
28431
  if (align === 'right') {
28309
28432
  var right = 0;
28310
- var next = elementRef.current.nextElementSibling;
28433
+ var next = elementRef.current && elementRef.current.nextElementSibling;
28311
28434
  if (next && next.classList.contains('p-frozen-column')) {
28312
28435
  right = DomHandler.getOuterWidth(next) + parseFloat(next.style.right || 0);
28313
28436
  }
28314
28437
  styleObject.right = right + 'px';
28315
28438
  } else {
28439
+ var _elementRef$current, _elementRef$current2;
28316
28440
  var left = 0;
28317
- var prev = elementRef.current.previousElementSibling;
28318
- if (prev && prev.classList.contains('p-frozen-column')) {
28319
- left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
28441
+ var prev = (_elementRef$current = elementRef.current) === null || _elementRef$current === void 0 ? void 0 : _elementRef$current.previousElementSibling;
28442
+ var thead = (_elementRef$current2 = elementRef.current) === null || _elementRef$current2 === void 0 ? void 0 : _elementRef$current2.closest('thead');
28443
+ var scrollContainer = thead === null || thead === void 0 ? void 0 : thead.parentElement.parentElement;
28444
+ var scrollLeft = (scrollContainer === null || scrollContainer === void 0 ? void 0 : scrollContainer.scrollLeft) || 0;
28445
+ var isMultiRow = thead && thead.querySelectorAll('tr').length > 1;
28446
+ if (elementRef.current) {
28447
+ if (!isMultiRow) {
28448
+ while (prev) {
28449
+ if (prev.classList.contains('p-frozen-column')) {
28450
+ left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
28451
+ break;
28452
+ }
28453
+ prev = prev.previousElementSibling;
28454
+ }
28455
+ } else {
28456
+ var targetLeft = elementRef.current.offsetLeft - scrollLeft;
28457
+ var frozenCells = Array.from(thead.querySelectorAll('th.p-frozen-column'));
28458
+ var candidate = null;
28459
+ for (var _i = 0, _frozenCells = frozenCells; _i < _frozenCells.length; _i++) {
28460
+ var cell = _frozenCells[_i];
28461
+ var cellLeft = cell.offsetLeft - scrollLeft;
28462
+ var cellRight = cellLeft + DomHandler.getOuterWidth(cell);
28463
+ if (cellRight <= targetLeft && (!candidate || cellRight > candidate.offsetLeft + DomHandler.getOuterWidth(candidate))) {
28464
+ candidate = cell;
28465
+ }
28466
+ }
28467
+ if (candidate) {
28468
+ left = candidate.offsetLeft + DomHandler.getOuterWidth(candidate) - scrollLeft;
28469
+ }
28470
+ }
28320
28471
  }
28321
28472
  styleObject.left = left + 'px';
28322
28473
  }
28323
28474
  var filterRow = elementRef.current.parentElement.nextElementSibling;
28324
28475
  if (filterRow) {
28325
28476
  var _index = DomHandler.index(elementRef.current);
28326
- filterRow.children[_index].style.left = styleObject.left;
28327
- filterRow.children[_index].style.right = styleObject.right;
28477
+ if (filterRow.children[_index]) {
28478
+ filterRow.children[_index].style.left = styleObject.left;
28479
+ filterRow.children[_index].style.right = styleObject.right;
28480
+ }
28328
28481
  }
28329
28482
  var isSameStyle = styleObjectState.left === styleObject.left && styleObjectState.right === styleObject.right;
28330
28483
  !isSameStyle && setStyleObjectState(styleObject);
@@ -28882,37 +29035,37 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
28882
29035
  sortOrderState = _React$useState8[0],
28883
29036
  setSortOrderState = _React$useState8[1];
28884
29037
  var _React$useState9 = React__namespace.useState(props.multiSortMeta),
28885
- _React$useState10 = _slicedToArray(_React$useState9, 2),
28886
- multiSortMetaState = _React$useState10[0],
28887
- setMultiSortMetaState = _React$useState10[1];
28888
- var _React$useState11 = React__namespace.useState(props.filters),
29038
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
29039
+ multiSortMetaState = _React$useState0[0],
29040
+ setMultiSortMetaState = _React$useState0[1];
29041
+ var _React$useState1 = React__namespace.useState(props.filters),
29042
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
29043
+ filtersState = _React$useState10[0],
29044
+ setFiltersState = _React$useState10[1];
29045
+ var _React$useState11 = React__namespace.useState([]),
28889
29046
  _React$useState12 = _slicedToArray(_React$useState11, 2),
28890
- filtersState = _React$useState12[0],
28891
- setFiltersState = _React$useState12[1];
28892
- var _React$useState13 = React__namespace.useState([]),
29047
+ columnOrderState = _React$useState12[0],
29048
+ setColumnOrderState = _React$useState12[1];
29049
+ var _React$useState13 = React__namespace.useState(null),
28893
29050
  _React$useState14 = _slicedToArray(_React$useState13, 2),
28894
- columnOrderState = _React$useState14[0],
28895
- setColumnOrderState = _React$useState14[1];
28896
- var _React$useState15 = React__namespace.useState(null),
29051
+ groupRowsSortMetaState = _React$useState14[0],
29052
+ setGroupRowsSortMetaState = _React$useState14[1];
29053
+ var _React$useState15 = React__namespace.useState({}),
28897
29054
  _React$useState16 = _slicedToArray(_React$useState15, 2),
28898
- groupRowsSortMetaState = _React$useState16[0],
28899
- setGroupRowsSortMetaState = _React$useState16[1];
29055
+ editingMetaState = _React$useState16[0],
29056
+ setEditingMetaState = _React$useState16[1];
28900
29057
  var _React$useState17 = React__namespace.useState({}),
28901
29058
  _React$useState18 = _slicedToArray(_React$useState17, 2),
28902
- editingMetaState = _React$useState18[0],
28903
- setEditingMetaState = _React$useState18[1];
28904
- var _React$useState19 = React__namespace.useState({}),
29059
+ frozenEditingMetaState = _React$useState18[0],
29060
+ setFrozenEditingMetaState = _React$useState18[1];
29061
+ var _React$useState19 = React__namespace.useState(props.rows),
28905
29062
  _React$useState20 = _slicedToArray(_React$useState19, 2),
28906
- frozenEditingMetaState = _React$useState20[0],
28907
- setFrozenEditingMetaState = _React$useState20[1];
28908
- var _React$useState21 = React__namespace.useState(props.rows),
29063
+ d_rowsState = _React$useState20[0],
29064
+ setD_rowsState = _React$useState20[1];
29065
+ var _React$useState21 = React__namespace.useState({}),
28909
29066
  _React$useState22 = _slicedToArray(_React$useState21, 2),
28910
- d_rowsState = _React$useState22[0],
28911
- setD_rowsState = _React$useState22[1];
28912
- var _React$useState23 = React__namespace.useState({}),
28913
- _React$useState24 = _slicedToArray(_React$useState23, 2),
28914
- d_filtersState = _React$useState24[0],
28915
- setD_filtersState = _React$useState24[1];
29067
+ d_filtersState = _React$useState22[0],
29068
+ setD_filtersState = _React$useState22[1];
28916
29069
  var metaData = {
28917
29070
  props: props,
28918
29071
  state: {
@@ -28965,6 +29118,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
28965
29118
  var columnSortFunction = React__namespace.useRef(null);
28966
29119
  var columnField = React__namespace.useRef(null);
28967
29120
  var filterTimeout = React__namespace.useRef(null);
29121
+ var restoredRef = React__namespace.useRef(false);
28968
29122
  if (props.rows !== d_rowsState && !props.onPage) {
28969
29123
  setRowsState(props.rows);
28970
29124
  setD_rowsState(props.rows);
@@ -29167,17 +29321,32 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
29167
29321
  multiSortMeta: restoredState.multiSortMeta
29168
29322
  }));
29169
29323
  } else {
29324
+ var lastMeta = restoredState.multiSortMeta[restoredState.multiSortMeta.length - 1];
29325
+ var field = lastMeta && lastMeta.field ? lastMeta.field : null;
29326
+ if (field) {
29327
+ var sortColumn = findColumnByKey(getColumns(), field);
29328
+ if (sortColumn) {
29329
+ var sortFunction = getColumnProp(sortColumn, 'sortFunction');
29330
+ var sortable = getColumnProp(sortColumn, 'sortable');
29331
+ if (sortFunction && sortable) {
29332
+ columnSortFunction.current = sortFunction;
29333
+ columnSortable.current = sortable;
29334
+ columnField.current = field;
29335
+ }
29336
+ }
29337
+ }
29170
29338
  setMultiSortMetaState(restoredState.multiSortMeta);
29171
29339
  }
29172
29340
  }
29173
29341
  if (restoredState.filters) {
29174
- setD_filtersState(cloneFilters(restoredState.filters));
29342
+ var clonedFilters = cloneFilters(restoredState.filters);
29343
+ setD_filtersState(clonedFilters);
29175
29344
  if (props.onFilter) {
29176
29345
  props.onFilter(createEvent({
29177
- filters: restoredState.filters
29346
+ filters: clonedFilters
29178
29347
  }));
29179
29348
  } else {
29180
- setFiltersState(cloneFilters(restoredState.filters));
29349
+ setFiltersState(clonedFilters);
29181
29350
  }
29182
29351
  }
29183
29352
  if (props.resizableColumns) {
@@ -30188,15 +30357,7 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
30188
30357
  attributeSelector.current = UniqueComponentId();
30189
30358
  elementRef.current.setAttribute(attributeSelector.current, '');
30190
30359
  }
30191
-
30192
- //setFiltersState(cloneFilters(props.filters)); // Github #4248
30193
30360
  setD_filtersState(cloneFilters(props.filters));
30194
- if (isStateful()) {
30195
- restoreState();
30196
- if (props.resizableColumns) {
30197
- restoreColumnWidths();
30198
- }
30199
- }
30200
30361
  });
30201
30362
  useUpdateEffect(function () {
30202
30363
  if (props.responsiveLayout === 'stack' && !props.scrollable) {
@@ -30206,6 +30367,15 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
30206
30367
  destroyResponsiveStyle();
30207
30368
  };
30208
30369
  }, [props.breakpoint]);
30370
+ useUpdateEffect(function () {
30371
+ if (!restoredRef.current && isStateful()) {
30372
+ restoredRef.current = true;
30373
+ restoreState();
30374
+ if (props.resizableColumns) {
30375
+ restoreColumnWidths();
30376
+ }
30377
+ }
30378
+ }, [context]);
30209
30379
  useUpdateEffect(function () {
30210
30380
  var filters = cloneFilters(props.filters);
30211
30381
  setFiltersState(filters);
@@ -30282,6 +30452,9 @@ var DataTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
30282
30452
  },
30283
30453
  getVirtualScroller: function getVirtualScroller() {
30284
30454
  return virtualScrollerRef.current;
30455
+ },
30456
+ getProcessedData: function getProcessedData() {
30457
+ return processedData();
30285
30458
  }
30286
30459
  };
30287
30460
  });
@@ -31053,14 +31226,11 @@ var DataView = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
31053
31226
  return null;
31054
31227
  };
31055
31228
  var createEmptyMessage = function createEmptyMessage() {
31056
- if (!props.loading) {
31057
- var _content = props.emptyMessage || localeOption('emptyMessage');
31058
- var emptyMessageProps = mergeProps({
31059
- className: cx('emptyMessage')
31060
- }, ptm('emptyMessage'));
31061
- return /*#__PURE__*/React__namespace.createElement("div", emptyMessageProps, _content);
31062
- }
31063
- return null;
31229
+ var content = props.emptyMessage || localeOption('emptyMessage');
31230
+ var emptyMessageProps = mergeProps({
31231
+ className: cx('emptyMessage')
31232
+ }, ptm('emptyMessage'));
31233
+ return /*#__PURE__*/React__namespace.createElement("div", emptyMessageProps, content);
31064
31234
  };
31065
31235
  var createHeader = function createHeader() {
31066
31236
  if (props.header) {
@@ -32822,9 +32992,9 @@ var FileUpload = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespac
32822
32992
  focusedState = _React$useState8[0],
32823
32993
  setFocusedState = _React$useState8[1];
32824
32994
  var _React$useState9 = React__namespace.useState(false),
32825
- _React$useState10 = _slicedToArray(_React$useState9, 2),
32826
- uploadingState = _React$useState10[0],
32827
- setUploadingState = _React$useState10[1];
32995
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
32996
+ uploadingState = _React$useState0[0],
32997
+ setUploadingState = _React$useState0[1];
32828
32998
  var metaData = {
32829
32999
  props: props,
32830
33000
  state: {
@@ -36107,6 +36277,7 @@ var InputMask = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
36107
36277
  return /*#__PURE__*/React__namespace.createElement(InputText, _extends({
36108
36278
  ref: elementRef,
36109
36279
  autoFocus: props.autoFocus,
36280
+ autoComplete: props.autoComplete,
36110
36281
  id: props.id,
36111
36282
  type: props.type,
36112
36283
  name: props.name,
@@ -36445,6 +36616,7 @@ var InputTextarea = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
36445
36616
  context: context,
36446
36617
  isFilled: isFilled
36447
36618
  })),
36619
+ autoComplete: props.autoComplete,
36448
36620
  onFocus: onFocus,
36449
36621
  onBlur: onBlur,
36450
36622
  onKeyUp: onKeyUp,
@@ -37052,9 +37224,9 @@ var ListBox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
37052
37224
  filterValueState = _React$useState8[0],
37053
37225
  setFilterValueState = _React$useState8[1];
37054
37226
  var _React$useState9 = React__namespace.useState(''),
37055
- _React$useState10 = _slicedToArray(_React$useState9, 2),
37056
- searchValue = _React$useState10[0],
37057
- setSearchValue = _React$useState10[1];
37227
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
37228
+ searchValue = _React$useState0[0],
37229
+ setSearchValue = _React$useState0[1];
37058
37230
  var elementRef = React__namespace.useRef(null);
37059
37231
  var virtualScrollerRef = React__namespace.useRef(null);
37060
37232
  var id = React__namespace.useRef(null);
@@ -37993,33 +38165,33 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
37993
38165
  focusedItemInfo = _React$useState8[0],
37994
38166
  setFocusedItemInfo = _React$useState8[1];
37995
38167
  var _React$useState9 = React__namespace.useState(null),
37996
- _React$useState10 = _slicedToArray(_React$useState9, 2),
37997
- focusedItemId = _React$useState10[0],
37998
- setFocusedItemId = _React$useState10[1];
37999
- var _React$useState11 = React__namespace.useState(false),
38168
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
38169
+ focusedItemId = _React$useState0[0],
38170
+ setFocusedItemId = _React$useState0[1];
38171
+ var _React$useState1 = React__namespace.useState(false),
38172
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
38173
+ dirty = _React$useState10[0],
38174
+ setDirty = _React$useState10[1];
38175
+ var _React$useState11 = React__namespace.useState(null),
38000
38176
  _React$useState12 = _slicedToArray(_React$useState11, 2),
38001
- dirty = _React$useState12[0],
38002
- setDirty = _React$useState12[1];
38003
- var _React$useState13 = React__namespace.useState(null),
38177
+ processedItems = _React$useState12[0],
38178
+ setProcessedItems = _React$useState12[1];
38179
+ var _React$useState13 = React__namespace.useState([]),
38004
38180
  _React$useState14 = _slicedToArray(_React$useState13, 2),
38005
- processedItems = _React$useState14[0],
38006
- setProcessedItems = _React$useState14[1];
38007
- var _React$useState15 = React__namespace.useState([]),
38181
+ visibleItems = _React$useState14[0],
38182
+ setVisibleItems = _React$useState14[1];
38183
+ var _React$useState15 = React__namespace.useState(null),
38008
38184
  _React$useState16 = _slicedToArray(_React$useState15, 2),
38009
- visibleItems = _React$useState16[0],
38010
- setVisibleItems = _React$useState16[1];
38011
- var _React$useState17 = React__namespace.useState(null),
38185
+ attributeSelectorState = _React$useState16[0],
38186
+ setAttributeSelectorState = _React$useState16[1];
38187
+ var _React$useState17 = React__namespace.useState(false),
38012
38188
  _React$useState18 = _slicedToArray(_React$useState17, 2),
38013
- attributeSelectorState = _React$useState18[0],
38014
- setAttributeSelectorState = _React$useState18[1];
38189
+ mobileActiveState = _React$useState18[0],
38190
+ setMobileActiveState = _React$useState18[1];
38015
38191
  var _React$useState19 = React__namespace.useState(false),
38016
38192
  _React$useState20 = _slicedToArray(_React$useState19, 2),
38017
- mobileActiveState = _React$useState20[0],
38018
- setMobileActiveState = _React$useState20[1];
38019
- var _React$useState21 = React__namespace.useState(false),
38020
- _React$useState22 = _slicedToArray(_React$useState21, 2),
38021
- focusTrigger = _React$useState22[0],
38022
- setFocusTrigger = _React$useState22[1];
38193
+ focusTrigger = _React$useState20[0],
38194
+ setFocusTrigger = _React$useState20[1];
38023
38195
  var searchValue = React__namespace.useRef('');
38024
38196
  var searchTimeout = React__namespace.useRef(null);
38025
38197
  var elementRef = React__namespace.useRef(null);
@@ -38735,11 +38907,12 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38735
38907
  var key = idState + '_separator__' + index;
38736
38908
  var separatorProps = mergeProps({
38737
38909
  id: key,
38738
- key: key,
38739
38910
  className: cx('separator'),
38740
38911
  role: 'separator'
38741
38912
  }, ptm('separator'));
38742
- return /*#__PURE__*/React__namespace.createElement("li", separatorProps);
38913
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, separatorProps, {
38914
+ key: key
38915
+ }));
38743
38916
  };
38744
38917
  var createSubmenuIcon = function createSubmenuIcon(item) {
38745
38918
  if (item.items) {
@@ -38790,7 +38963,6 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38790
38963
  var isGroup = isItemGroup(processedItem);
38791
38964
  var isActive = isItemActive(processedItem);
38792
38965
  var submenuItemProps = mergeProps({
38793
- key: key,
38794
38966
  id: key,
38795
38967
  'aria-label': getItemLabel(processedItem),
38796
38968
  'aria-disabled': isDisabled,
@@ -38830,7 +39002,9 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38830
39002
  };
38831
39003
  content = ObjectUtils.getJSXElement(item.template, item, defaultContentOptions);
38832
39004
  }
38833
- return /*#__PURE__*/React__namespace.createElement("li", submenuItemProps, /*#__PURE__*/React__namespace.createElement("div", contentProps, content));
39005
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, submenuItemProps, {
39006
+ key: key
39007
+ }), /*#__PURE__*/React__namespace.createElement("div", contentProps, content));
38834
39008
  };
38835
39009
  var createSubmenu = function createSubmenu(submenu, index) {
38836
39010
  if (!isItemVisible(submenu)) {
@@ -38842,7 +39016,6 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38842
39016
  var isDisabled = isItemDisabled(submenu);
38843
39017
  var submenuHeaderProps = mergeProps({
38844
39018
  id: key,
38845
- key: key,
38846
39019
  className: classNames(submenu.className, cx('submenuHeader', {
38847
39020
  disabled: isDisabled
38848
39021
  })),
@@ -38854,7 +39027,7 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38854
39027
  key: key
38855
39028
  }, /*#__PURE__*/React__namespace.createElement("li", submenuHeaderProps, label), items);
38856
39029
  };
38857
- var createSubmenus = function createSubmenus(column) {
39030
+ var createSubmenus = function createSubmenus(column, index) {
38858
39031
  return column.map(createSubmenu);
38859
39032
  };
38860
39033
  var createColumn = function createColumn(processedItem, processedColumn, index) {
@@ -38862,7 +39035,6 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38862
39035
  var key = category.label + '_column_' + index;
38863
39036
  var submenus = createSubmenus(processedColumn);
38864
39037
  var columnProps = mergeProps({
38865
- key: key,
38866
39038
  className: cx('column', {
38867
39039
  category: category
38868
39040
  })
@@ -38876,12 +39048,16 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38876
39048
  display: display
38877
39049
  }
38878
39050
  }, ptm('submenu'));
38879
- return /*#__PURE__*/React__namespace.createElement("div", columnProps, /*#__PURE__*/React__namespace.createElement("ul", submenuProps, submenus));
39051
+ return /*#__PURE__*/React__namespace.createElement("div", _extends({}, columnProps, {
39052
+ key: key
39053
+ }), /*#__PURE__*/React__namespace.createElement("ul", submenuProps, submenus));
38880
39054
  };
38881
39055
  var createColumns = function createColumns(category) {
38882
39056
  if (category.items) {
38883
39057
  return category.items.map(function (column, index) {
38884
- return createColumn(category, column, index);
39058
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, {
39059
+ key: index
39060
+ }, createColumn(category, column, index));
38885
39061
  });
38886
39062
  }
38887
39063
  return null;
@@ -38942,7 +39118,6 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38942
39118
  var isFocused = isItemFocused(processedItem);
38943
39119
  var isDisabled = isItemDisabled(processedItem);
38944
39120
  var menuItemProps = mergeProps(_defineProperty({
38945
- key: key,
38946
39121
  id: key,
38947
39122
  className: classNames(category.className, cx('menuitem', {
38948
39123
  category: category,
@@ -38978,7 +39153,9 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38978
39153
  },
38979
39154
  className: cx('content')
38980
39155
  }, getPTOptions(processedItem, 'content', index));
38981
- return /*#__PURE__*/React__namespace.createElement("li", menuItemProps, /*#__PURE__*/React__namespace.createElement("div", contentProps, itemContent), panel);
39156
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, menuItemProps, {
39157
+ key: key
39158
+ }), /*#__PURE__*/React__namespace.createElement("div", contentProps, itemContent), panel);
38982
39159
  };
38983
39160
  var createMenu = function createMenu() {
38984
39161
  var menuProps = mergeProps({
@@ -38997,7 +39174,9 @@ var MegaMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
38997
39174
  }, ptm('menu'));
38998
39175
  if (processedItems) {
38999
39176
  return /*#__PURE__*/React__namespace.createElement("ul", menuProps, processedItems.map(function (item, index) {
39000
- return createCategory(item, index);
39177
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, {
39178
+ key: index
39179
+ }, createCategory(item, index));
39001
39180
  }));
39002
39181
  }
39003
39182
  return null;
@@ -39161,9 +39340,9 @@ var Mention = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
39161
39340
  triggerState = _React$useState8[0],
39162
39341
  setTriggerState = _React$useState8[1];
39163
39342
  var _React$useState9 = React__namespace.useState([]),
39164
- _React$useState10 = _slicedToArray(_React$useState9, 2),
39165
- highlightState = _React$useState10[0],
39166
- setHighlightState = _React$useState10[1];
39343
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
39344
+ highlightState = _React$useState0[0],
39345
+ setHighlightState = _React$useState0[1];
39167
39346
  var elementRef = React__namespace.useRef(null);
39168
39347
  var overlayRef = React__namespace.useRef(null);
39169
39348
  var inputRef = React__namespace.useRef(props.inputRef);
@@ -39541,7 +39720,6 @@ var Mention = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
39541
39720
  }) : formatValue(suggestion);
39542
39721
  var isSelected = highlightState[index];
39543
39722
  var itemProps = mergeProps({
39544
- key: key,
39545
39723
  className: cx('item', {
39546
39724
  isSelected: isSelected
39547
39725
  }),
@@ -39552,7 +39730,9 @@ var Mention = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
39552
39730
  }, getPTOptions(suggestion, 'item', {
39553
39731
  selected: isSelected
39554
39732
  }));
39555
- return /*#__PURE__*/React__namespace.createElement("li", itemProps, content, /*#__PURE__*/React__namespace.createElement(Ripple, null));
39733
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, itemProps, {
39734
+ key: key
39735
+ }), content, /*#__PURE__*/React__namespace.createElement(Ripple, null));
39556
39736
  };
39557
39737
  var createList = function createList() {
39558
39738
  var itemsProps = mergeProps({
@@ -39738,9 +39918,9 @@ var Menu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
39738
39918
  selectedOptionIndex = _React$useState8[0],
39739
39919
  setSelectedOptionIndex = _React$useState8[1];
39740
39920
  var _React$useState9 = React__namespace.useState(false),
39741
- _React$useState10 = _slicedToArray(_React$useState9, 2),
39742
- focused = _React$useState10[0],
39743
- setFocused = _React$useState10[1];
39921
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
39922
+ focused = _React$useState0[0],
39923
+ setFocused = _React$useState0[1];
39744
39924
  var _MenuBase$setMetaData = MenuBase.setMetaData({
39745
39925
  props: props,
39746
39926
  state: {
@@ -40521,29 +40701,29 @@ var Menubar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
40521
40701
  focusedItemInfo = _React$useState8[0],
40522
40702
  setFocusedItemInfo = _React$useState8[1];
40523
40703
  var _React$useState9 = React__namespace.useState(null),
40524
- _React$useState10 = _slicedToArray(_React$useState9, 2),
40525
- focusedItemId = _React$useState10[0],
40526
- setFocusedItemId = _React$useState10[1];
40704
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
40705
+ focusedItemId = _React$useState0[0],
40706
+ setFocusedItemId = _React$useState0[1];
40707
+ var _React$useState1 = React__namespace.useState([]),
40708
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
40709
+ activeItemPath = _React$useState10[0],
40710
+ setActiveItemPath = _React$useState10[1];
40527
40711
  var _React$useState11 = React__namespace.useState([]),
40528
40712
  _React$useState12 = _slicedToArray(_React$useState11, 2),
40529
- activeItemPath = _React$useState12[0],
40530
- setActiveItemPath = _React$useState12[1];
40713
+ visibleItems = _React$useState12[0],
40714
+ setVisibleItems = _React$useState12[1];
40531
40715
  var _React$useState13 = React__namespace.useState([]),
40532
40716
  _React$useState14 = _slicedToArray(_React$useState13, 2),
40533
- visibleItems = _React$useState14[0],
40534
- setVisibleItems = _React$useState14[1];
40535
- var _React$useState15 = React__namespace.useState([]),
40717
+ processedItems = _React$useState14[0],
40718
+ setProcessedItems = _React$useState14[1];
40719
+ var _React$useState15 = React__namespace.useState(false),
40536
40720
  _React$useState16 = _slicedToArray(_React$useState15, 2),
40537
- processedItems = _React$useState16[0],
40538
- setProcessedItems = _React$useState16[1];
40721
+ focusTrigger = _React$useState16[0],
40722
+ setFocusTrigger = _React$useState16[1];
40539
40723
  var _React$useState17 = React__namespace.useState(false),
40540
40724
  _React$useState18 = _slicedToArray(_React$useState17, 2),
40541
- focusTrigger = _React$useState18[0],
40542
- setFocusTrigger = _React$useState18[1];
40543
- var _React$useState19 = React__namespace.useState(false),
40544
- _React$useState20 = _slicedToArray(_React$useState19, 2),
40545
- dirty = _React$useState20[0],
40546
- setDirty = _React$useState20[1];
40725
+ dirty = _React$useState18[0],
40726
+ setDirty = _React$useState18[1];
40547
40727
  var elementRef = React__namespace.useRef(null);
40548
40728
  var rootMenuRef = React__namespace.useRef(null);
40549
40729
  var menuButtonRef = React__namespace.useRef(null);
@@ -40566,9 +40746,11 @@ var Menubar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
40566
40746
  var _useEventListener = useEventListener({
40567
40747
  type: 'click',
40568
40748
  listener: function listener(event) {
40569
- var isOutsideButton = menuButtonRef.current && !menuButtonRef.current.contains(event.target);
40570
- if (isOutsideButton) {
40571
- hide();
40749
+ if (isOutsideClicked(event)) {
40750
+ var isOutsideContainer = elementRef.current && !elementRef.current.contains(event.target);
40751
+ if (isOutsideContainer) {
40752
+ hide();
40753
+ }
40572
40754
  }
40573
40755
  },
40574
40756
  options: {
@@ -40627,6 +40809,9 @@ var Menubar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
40627
40809
  var menuButtonKeydown = function menuButtonKeydown(event) {
40628
40810
  (event.code === 'Enter' || event.code === 'NumpadEnter' || event.code === 'Space') && toggle(event);
40629
40811
  };
40812
+ var isOutsideClicked = function isOutsideClicked(event) {
40813
+ return rootMenuRef.current !== event.target && !rootMenuRef.current.contains(event.target) && menuButtonRef.current !== event.target && !menuButtonRef.current.contains(event.target);
40814
+ };
40630
40815
  var getItemProp = function getItemProp(item, name) {
40631
40816
  return item ? ObjectUtils.getItemValue(item[name]) : undefined;
40632
40817
  };
@@ -40816,7 +41001,7 @@ var Menubar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
40816
41001
  };
40817
41002
  var onArrowUpKey = function onArrowUpKey(event) {
40818
41003
  var processedItem = visibleItems[focusedItemInfo.index];
40819
- var root = ObjectUtils.isEmpty(processedItem.parent);
41004
+ var root = processedItem ? ObjectUtils.isEmpty(processedItem.parent) : null;
40820
41005
  if (root) {
40821
41006
  var grouped = isProccessedItemGroup(processedItem);
40822
41007
  if (grouped) {
@@ -41095,7 +41280,7 @@ var Menubar = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.f
41095
41280
  }, [activeItemPath]);
41096
41281
  useUpdateEffect(function () {
41097
41282
  if (focusTrigger) {
41098
- var itemIndex = focusedItemInfo.index !== -1 ? findNextItemIndex(focusedItemInfo.index) : reverseTrigger.current ? findLastItemIndex() : findFirstFocusedItemIndex();
41283
+ var itemIndex = focusedItemInfo.index !== -1 ? findNextItemIndex(focusedItemInfo.index) : reverseTrigger.current ? findLastItemIndex() : findFirstItemIndex();
41099
41284
  changeFocusedItemIndex(itemIndex);
41100
41285
  reverseTrigger.current = false;
41101
41286
  setFocusTrigger(false);
@@ -41729,6 +41914,7 @@ var MultiSelectHeader = /*#__PURE__*/React__namespace.memo(function (props) {
41729
41914
  element: content,
41730
41915
  filterOptions: filterOptions,
41731
41916
  onFilter: onFilter,
41917
+ filterInputKeyDown: props.onFilterKeyDown,
41732
41918
  filterIconClassName: props.filterIconClassName,
41733
41919
  props: props
41734
41920
  };
@@ -42064,7 +42250,8 @@ var MultiSelectPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__na
42064
42250
  virtualScrollerProps: props.virtualScrollerOptions
42065
42251
  })),
42066
42252
  role: 'listbox',
42067
- 'aria-multiselectable': true
42253
+ 'aria-multiselectable': true,
42254
+ id: props.listId
42068
42255
  }, getPTOptions('list'));
42069
42256
  return /*#__PURE__*/React__namespace.createElement("ul", listProps, content);
42070
42257
  }
@@ -42088,7 +42275,8 @@ var MultiSelectPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__na
42088
42275
  var listProps = mergeProps({
42089
42276
  className: cx('list'),
42090
42277
  role: 'listbox',
42091
- 'aria-multiselectable': true
42278
+ 'aria-multiselectable': true,
42279
+ id: props.listId
42092
42280
  }, getPTOptions('list'));
42093
42281
  return /*#__PURE__*/React__namespace.createElement("div", wrapperProps, /*#__PURE__*/React__namespace.createElement("ul", listProps, items));
42094
42282
  };
@@ -42104,7 +42292,8 @@ var MultiSelectPanel = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__na
42104
42292
  allowOptionSelect: allowOptionSelect
42105
42293
  })),
42106
42294
  style: props.panelStyle,
42107
- onClick: props.onClick
42295
+ onClick: props.onClick,
42296
+ 'data-pr-is-overlay': true
42108
42297
  }, getPTOptions('panel'));
42109
42298
  if (props.inline) {
42110
42299
  return /*#__PURE__*/React__namespace.createElement("div", _extends({
@@ -42192,9 +42381,9 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
42192
42381
  focusedState = _React$useState8[0],
42193
42382
  setFocusedState = _React$useState8[1];
42194
42383
  var _React$useState9 = React__namespace.useState(props.inline),
42195
- _React$useState10 = _slicedToArray(_React$useState9, 2),
42196
- overlayVisibleState = _React$useState10[0],
42197
- setOverlayVisibleState = _React$useState10[1];
42384
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
42385
+ overlayVisibleState = _React$useState0[0],
42386
+ setOverlayVisibleState = _React$useState0[1];
42198
42387
  var elementRef = React__namespace.useRef(null);
42199
42388
  var searchValue = React__namespace.useRef(null);
42200
42389
  var searchTimeout = React__namespace.useRef(null);
@@ -43214,6 +43403,10 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
43214
43403
  className: 'p-hidden-accessible',
43215
43404
  'data-p-hidden-accessible': true
43216
43405
  }, ptm('hiddenInputWrapper'));
43406
+ var inputId = React__namespace.useMemo(function () {
43407
+ var _props$inputId;
43408
+ return (_props$inputId = props.inputId) !== null && _props$inputId !== void 0 ? _props$inputId : UniqueComponentId();
43409
+ }, [props.inputId]);
43217
43410
  var inputProps = mergeProps(_objectSpread$J({
43218
43411
  ref: inputRef,
43219
43412
  id: props.inputId,
@@ -43224,6 +43417,7 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
43224
43417
  onKeyDown: onKeyDown,
43225
43418
  role: 'combobox',
43226
43419
  'aria-expanded': overlayVisibleState,
43420
+ 'aria-controls': "".concat(inputId, "-multi-selectbox"),
43227
43421
  disabled: props.disabled,
43228
43422
  tabIndex: !props.disabled ? props.tabIndex : -1,
43229
43423
  value: getLabel()
@@ -43235,6 +43429,7 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespa
43235
43429
  ref: overlayRef,
43236
43430
  visibleOptions: visibleOptions
43237
43431
  }, props, {
43432
+ listId: "".concat(inputId, "-multi-selectbox"),
43238
43433
  onClick: onPanelClick,
43239
43434
  onOverlayHide: hide,
43240
43435
  filterValue: filterValue,
@@ -43486,8 +43681,12 @@ var MultiStateCheckbox = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__
43486
43681
  style: props.style,
43487
43682
  onClick: onClick
43488
43683
  }, MultiStateCheckboxBase.getOtherProps(props), ptm('root'));
43684
+ var inputId = React__namespace.useMemo(function () {
43685
+ return props.id || UniqueComponentId();
43686
+ }, [props.id]);
43489
43687
  var checkboxProps = mergeProps(_objectSpread$I({
43490
- id: props.id + '_checkbox',
43688
+ id: inputId + '_checkbox',
43689
+ inputId: props.inputId || inputId + '_multistatecheckbox',
43491
43690
  className: cx('checkbox'),
43492
43691
  style: sx('checkbox', {
43493
43692
  selectedOption: selectedOption
@@ -44025,13 +44224,13 @@ var OrderList = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
44025
44224
  focused = _React$useState8[0],
44026
44225
  setFocused = _React$useState8[1];
44027
44226
  var _React$useState9 = React__namespace.useState(null),
44028
- _React$useState10 = _slicedToArray(_React$useState9, 2),
44029
- focusedOptionId = _React$useState10[0],
44030
- setFocusedOptionId = _React$useState10[1];
44031
- var _React$useState11 = React__namespace.useState(-1),
44032
- _React$useState12 = _slicedToArray(_React$useState11, 2),
44033
- focusedOptionIndex = _React$useState12[0],
44034
- setFocusedOptionIndex = _React$useState12[1];
44227
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
44228
+ focusedOptionId = _React$useState0[0],
44229
+ setFocusedOptionId = _React$useState0[1];
44230
+ var _React$useState1 = React__namespace.useState(-1),
44231
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
44232
+ focusedOptionIndex = _React$useState10[0],
44233
+ setFocusedOptionIndex = _React$useState10[1];
44035
44234
  var hasFilter = ObjectUtils.isNotEmpty(filterValueState);
44036
44235
  var elementRef = React__namespace.useRef(null);
44037
44236
  var styleElementRef = React__namespace.useRef(null);
@@ -44081,7 +44280,15 @@ var OrderList = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace
44081
44280
  return i !== selectedIndex;
44082
44281
  }) : [value];
44083
44282
  } else {
44084
- newSelection = metaKey ? [].concat(_toConsumableArray(selectionState), [value]) : [value];
44283
+ if (metaKey) {
44284
+ var merged = [].concat(_toConsumableArray(selectionState), [value]);
44285
+ var list = props.value || [];
44286
+ newSelection = merged.sort(function (a, b) {
44287
+ return list.indexOf(a) - list.indexOf(b);
44288
+ });
44289
+ } else {
44290
+ newSelection = [value];
44291
+ }
44085
44292
  }
44086
44293
  setSelectionState(newSelection);
44087
44294
  };
@@ -44493,6 +44700,14 @@ var OrganizationChartBase = ComponentBase.extend({
44493
44700
 
44494
44701
  function ownKeys$G(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; }
44495
44702
  function _objectSpread$G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
44703
+ var chunkArray = function chunkArray(array, size) {
44704
+ var result = [];
44705
+ for (var i = 0; i < array.length; i += size) {
44706
+ result.push(array.slice(i, i + size));
44707
+ }
44708
+ return result;
44709
+ };
44710
+ var MAX_CHILDREN_PER_ROW = 10;
44496
44711
  var OrganizationChartNode = /*#__PURE__*/React__namespace.memo(function (props) {
44497
44712
  var mergeProps = useMergeProps();
44498
44713
  var node = props.node;
@@ -44501,7 +44716,6 @@ var OrganizationChartNode = /*#__PURE__*/React__namespace.memo(function (props)
44501
44716
  expandedState = _React$useState2[0],
44502
44717
  setExpandedState = _React$useState2[1];
44503
44718
  var leaf = node.leaf === false ? false : !(node.children && node.children.length);
44504
- var colspan = node.children && node.children.length ? node.children.length * 2 : null;
44505
44719
  var selected = props.isSelected(node);
44506
44720
  var visibility = !leaf && expandedState ? 'inherit' : 'hidden';
44507
44721
  var ptm = props.ptm,
@@ -44544,79 +44758,97 @@ var OrganizationChartNode = /*#__PURE__*/React__namespace.memo(function (props)
44544
44758
  event.preventDefault();
44545
44759
  }
44546
44760
  };
44547
- var createChildNodes = function createChildNodes() {
44548
- var nodesProps = mergeProps({
44549
- className: cx('nodes'),
44550
- style: {
44551
- visibility: visibility
44552
- }
44553
- }, _ptm('nodes'));
44554
- var nodeCellProps = mergeProps({
44555
- colSpan: '2'
44556
- }, _ptm('nodeCell'));
44557
- return /*#__PURE__*/React__namespace.createElement("tr", nodesProps, node.children && node.children.map(function (child, index) {
44558
- return /*#__PURE__*/React__namespace.createElement("td", _extends({
44559
- key: index
44560
- }, nodeCellProps), /*#__PURE__*/React__namespace.createElement(OrganizationChartNode, {
44561
- node: child,
44562
- nodeTemplate: props.nodeTemplate,
44563
- selectionMode: props.selectionMode,
44564
- onNodeClick: props.onNodeClick,
44565
- isSelected: props.isSelected,
44566
- togglerIcon: props.togglerIcon,
44567
- ptm: ptm,
44568
- cx: cx,
44569
- sx: sx
44761
+ var createChildNodes = function createChildNodes(row) {
44762
+ if (!node.children || node.expanded === false) {
44763
+ return null;
44764
+ }
44765
+ var rows = chunkArray(node.children, MAX_CHILDREN_PER_ROW);
44766
+ return rows.map(function (row, rowIndex) {
44767
+ row.length * 2;
44768
+ var nodesProps = mergeProps({
44769
+ className: cx('nodes'),
44770
+ style: {
44771
+ visibility: visibility
44772
+ }
44773
+ }, _ptm('nodes'));
44774
+ var nodeCellProps = mergeProps({
44775
+ colSpan: '2'
44776
+ }, _ptm('nodeCell'));
44777
+ return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, nodesProps, {
44778
+ key: rowIndex
44779
+ }), row.map(function (child, index) {
44780
+ return /*#__PURE__*/React__namespace.createElement("td", _extends({
44781
+ key: index
44782
+ }, nodeCellProps), /*#__PURE__*/React__namespace.createElement(OrganizationChartNode, {
44783
+ node: child,
44784
+ nodeTemplate: props.nodeTemplate,
44785
+ selectionMode: props.selectionMode,
44786
+ onNodeClick: props.onNodeClick,
44787
+ isSelected: props.isSelected,
44788
+ togglerIcon: props.togglerIcon,
44789
+ ptm: ptm,
44790
+ cx: cx,
44791
+ sx: sx
44792
+ }));
44570
44793
  }));
44571
- }));
44794
+ });
44572
44795
  };
44573
- var createLinesMiddle = function createLinesMiddle() {
44574
- var nodeChildLength = node.children && node.children.length;
44575
- var linesProps = mergeProps({
44576
- className: cx('lines'),
44577
- style: {
44578
- visibility: visibility
44579
- }
44580
- }, _ptm('lines'));
44581
- var lineCellProps = mergeProps({
44582
- colSpan: colspan
44583
- }, _ptm('lineCell'));
44584
- var lineDownProps = mergeProps({
44585
- className: cx('lineDown')
44586
- }, _ptm('lineDown'));
44587
- return /*#__PURE__*/React__namespace.createElement("tr", linesProps, node.children && node.children.length === 1 && /*#__PURE__*/React__namespace.createElement("td", lineCellProps, /*#__PURE__*/React__namespace.createElement("div", lineDownProps)), node.children && node.children.length > 1 && node.children.map(function (_, index) {
44588
- var lineLeftProps = mergeProps({
44589
- className: cx('lineLeft', {
44590
- index: index
44591
- })
44592
- }, getNodePTOptions(index !== 0, 'lineLeft'));
44593
- var lineRightProps = mergeProps({
44594
- className: cx('lineRight', {
44595
- index: index,
44596
- nodeChildLength: nodeChildLength
44597
- })
44598
- }, getNodePTOptions(index !== nodeChildLength - 1, 'lineRight'));
44599
- return [/*#__PURE__*/React__namespace.createElement("td", _extends({
44600
- key: index + '_lineleft'
44601
- }, lineLeftProps), "\xA0"), /*#__PURE__*/React__namespace.createElement("td", _extends({
44602
- key: index + '_lineright'
44603
- }, lineRightProps), "\xA0")];
44604
- }));
44796
+ var createLinesMiddle = function createLinesMiddle(row) {
44797
+ if (!node.children || node.expanded === false) {
44798
+ return null;
44799
+ }
44800
+ var rows = chunkArray(node.children, MAX_CHILDREN_PER_ROW);
44801
+ return rows.map(function (row, rowIndex) {
44802
+ var nodeChildLength = row.length;
44803
+ var linesProps = mergeProps({
44804
+ className: cx('lines'),
44805
+ style: {
44806
+ visibility: visibility
44807
+ }
44808
+ }, _ptm('lines'));
44809
+ return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, linesProps, {
44810
+ key: rowIndex
44811
+ }), row.map(function (_, index) {
44812
+ var lineLeftProps = mergeProps({
44813
+ className: cx('lineLeft', {
44814
+ index: index
44815
+ })
44816
+ }, getNodePTOptions(index !== 0, 'lineLeft'));
44817
+ var lineRightProps = mergeProps({
44818
+ className: cx('lineRight', {
44819
+ index: index,
44820
+ nodeChildLength: nodeChildLength
44821
+ })
44822
+ }, getNodePTOptions(index !== nodeChildLength - 1, 'lineRight'));
44823
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, {
44824
+ key: index
44825
+ }, /*#__PURE__*/React__namespace.createElement("td", lineLeftProps, "\xA0"), /*#__PURE__*/React__namespace.createElement("td", lineRightProps, "\xA0"));
44826
+ }));
44827
+ });
44605
44828
  };
44606
- var createLinesDown = function createLinesDown() {
44607
- var linesProps = mergeProps({
44608
- className: cx('lines'),
44609
- style: {
44610
- visibility: visibility
44611
- }
44612
- }, _ptm('lines'));
44613
- var lineCellProps = mergeProps({
44614
- colSpan: colspan
44615
- }, _ptm('lineCell'));
44616
- var lineDownProps = mergeProps({
44617
- className: cx('lineDown')
44618
- }, _ptm('lineDown'));
44619
- return /*#__PURE__*/React__namespace.createElement("tr", linesProps, /*#__PURE__*/React__namespace.createElement("td", lineCellProps, /*#__PURE__*/React__namespace.createElement("div", lineDownProps)));
44829
+ var createLinesDown = function createLinesDown(row) {
44830
+ if (!node.children || node.expanded === false) {
44831
+ return null;
44832
+ }
44833
+ var rows = chunkArray(node.children, MAX_CHILDREN_PER_ROW);
44834
+ return rows.map(function (row, rowIndex) {
44835
+ var colspan = row.length * 2;
44836
+ var linesProps = mergeProps({
44837
+ className: cx('lines'),
44838
+ style: {
44839
+ visibility: visibility
44840
+ }
44841
+ }, _ptm('lines'));
44842
+ var lineCellProps = mergeProps({
44843
+ colSpan: colspan
44844
+ }, _ptm('lineCell'));
44845
+ var lineDownProps = mergeProps({
44846
+ className: cx('lineDown')
44847
+ }, _ptm('lineDown'));
44848
+ return /*#__PURE__*/React__namespace.createElement("tr", _extends({}, linesProps, {
44849
+ key: rowIndex
44850
+ }), /*#__PURE__*/React__namespace.createElement("td", lineCellProps, /*#__PURE__*/React__namespace.createElement("div", lineDownProps)));
44851
+ });
44620
44852
  };
44621
44853
  var createToggler = function createToggler() {
44622
44854
  if (!leaf) {
@@ -44656,7 +44888,7 @@ var OrganizationChartNode = /*#__PURE__*/React__namespace.memo(function (props)
44656
44888
  var label = createNodeLabel();
44657
44889
  var toggler = createToggler();
44658
44890
  var cellProps = mergeProps({
44659
- colSpan: colspan
44891
+ colSpan: node.children && node.children.length ? Math.min(node.children.length, MAX_CHILDREN_PER_ROW) * 2 : 2
44660
44892
  }, _ptm('cell'));
44661
44893
  var nodeProps = mergeProps({
44662
44894
  className: cx('node', {
@@ -44673,13 +44905,21 @@ var OrganizationChartNode = /*#__PURE__*/React__namespace.memo(function (props)
44673
44905
  return /*#__PURE__*/React__namespace.createElement("tr", rowProps, /*#__PURE__*/React__namespace.createElement("td", cellProps, /*#__PURE__*/React__namespace.createElement("div", nodeProps, label, toggler)));
44674
44906
  };
44675
44907
  var nodeContent = createNodeContent();
44676
- var linesDown = createLinesDown();
44677
- var linesMiddle = createLinesMiddle();
44678
- var childNodes = createChildNodes();
44908
+ var createChildrenSection = function createChildrenSection() {
44909
+ if (!node.children || node.expanded === false) {
44910
+ return null;
44911
+ }
44912
+ var rows = chunkArray(node.children, MAX_CHILDREN_PER_ROW);
44913
+ return rows.map(function (row, rowIndex) {
44914
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, {
44915
+ key: rowIndex
44916
+ }, createLinesDown(), createLinesMiddle(), createChildNodes());
44917
+ });
44918
+ };
44679
44919
  var tableProps = mergeProps({
44680
44920
  className: cx('table')
44681
44921
  }, _ptm('table'));
44682
- return /*#__PURE__*/React__namespace.createElement("table", tableProps, /*#__PURE__*/React__namespace.createElement("tbody", null, nodeContent, linesDown, linesMiddle, childNodes));
44922
+ return /*#__PURE__*/React__namespace.createElement("table", tableProps, /*#__PURE__*/React__namespace.createElement("tbody", null, nodeContent, createChildrenSection()));
44683
44923
  });
44684
44924
  OrganizationChartNode.displayName = 'OrganizationChartNode';
44685
44925
 
@@ -44952,13 +45192,28 @@ var OverlayPanel = /*#__PURE__*/React__namespace.forwardRef(function (inProps, r
44952
45192
  });
44953
45193
  align();
44954
45194
  };
45195
+ var bindOverlayTimer = null;
44955
45196
  var onEntered = function onEntered() {
44956
- bindOverlayListener();
45197
+ cancelOverlayBind();
45198
+ /**
45199
+ * With cssTransition=false, onEntered may run synchronously before visibleState updates, causing the outside-click listener not to bind.
45200
+ * Fix: defer the binding to the next tick so it runs with the latest state (when=true). (issue: #8183)
45201
+ */
45202
+ bindOverlayTimer = setTimeout(function () {
45203
+ bindOverlayListener();
45204
+ });
44957
45205
  props.onShow && props.onShow();
44958
45206
  };
44959
45207
  var onExit = function onExit() {
45208
+ cancelOverlayBind();
44960
45209
  unbindOverlayListener();
44961
45210
  };
45211
+ var cancelOverlayBind = function cancelOverlayBind() {
45212
+ if (bindOverlayTimer) {
45213
+ clearTimeout(bindOverlayTimer);
45214
+ bindOverlayTimer = null;
45215
+ }
45216
+ };
44962
45217
  var onExited = function onExited() {
44963
45218
  ZIndexUtils.clear(overlayRef.current);
44964
45219
  props.onHide && props.onHide();
@@ -45668,13 +45923,13 @@ var PanelMenuList = /*#__PURE__*/React__namespace.memo(function (props) {
45668
45923
  activeItemPath = _React$useState8[0],
45669
45924
  setActiveItemPath = _React$useState8[1];
45670
45925
  var _React$useState9 = React__namespace.useState(null),
45671
- _React$useState10 = _slicedToArray(_React$useState9, 2),
45672
- processedItems = _React$useState10[0],
45673
- setProcessedItems = _React$useState10[1];
45674
- var _React$useState11 = React__namespace.useState([]),
45675
- _React$useState12 = _slicedToArray(_React$useState11, 2),
45676
- visibleItems = _React$useState12[0],
45677
- setVisibleItems = _React$useState12[1];
45926
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
45927
+ processedItems = _React$useState0[0],
45928
+ setProcessedItems = _React$useState0[1];
45929
+ var _React$useState1 = React__namespace.useState([]),
45930
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
45931
+ visibleItems = _React$useState10[0],
45932
+ setVisibleItems = _React$useState10[1];
45678
45933
  var searchValue = React__namespace.useRef(null);
45679
45934
  var searchTimeout = React__namespace.useRef(null);
45680
45935
  var elementRef = React__namespace.useRef(null);
@@ -45703,6 +45958,14 @@ var PanelMenuList = /*#__PURE__*/React__namespace.memo(function (props) {
45703
45958
  };
45704
45959
  var onFocus = function onFocus(event) {
45705
45960
  setFocused(true);
45961
+ if (ObjectUtils.isEmpty(focusedItem)) {
45962
+ setTimeout(function () {
45963
+ var firstItem = findFirstItem();
45964
+ if (firstItem) {
45965
+ setFocusedItem(firstItem);
45966
+ }
45967
+ }, 0);
45968
+ }
45706
45969
  };
45707
45970
  var onBlur = function onBlur() {
45708
45971
  setFocused(false);
@@ -46595,9 +46858,9 @@ var Password = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
46595
46858
  focusedState = _React$useState8[0],
46596
46859
  setFocusedState = _React$useState8[1];
46597
46860
  var _React$useState9 = React__namespace.useState(false),
46598
- _React$useState10 = _slicedToArray(_React$useState9, 2),
46599
- unmaskedState = _React$useState10[0],
46600
- setUnmaskedState = _React$useState10[1];
46861
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
46862
+ unmaskedState = _React$useState0[0],
46863
+ setUnmaskedState = _React$useState0[1];
46601
46864
  var elementRef = React__namespace.useRef(null);
46602
46865
  var overlayRef = React__namespace.useRef(null);
46603
46866
  var inputRef = React__namespace.useRef(props.inputRef);
@@ -46965,7 +47228,8 @@ var Password = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
46965
47228
  }, ptm('root'));
46966
47229
  var inputTextProps = mergeProps(_objectSpread$A(_objectSpread$A({
46967
47230
  ref: inputRef,
46968
- id: props.inputId
47231
+ id: props.inputId,
47232
+ autoComplete: props.autoComplete
46969
47233
  }, inputProps), {}, {
46970
47234
  className: classNames(props.inputClassName, cx('input')),
46971
47235
  onBlur: onBlur,
@@ -47666,24 +47930,24 @@ var PickList = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
47666
47930
  targetFilterValueState = _React$useState8[0],
47667
47931
  setTargetFilterValueState = _React$useState8[1];
47668
47932
  var _React$useState9 = React__namespace.useState(props.id),
47669
- _React$useState10 = _slicedToArray(_React$useState9, 2),
47670
- attributeSelectorState = _React$useState10[0],
47671
- setAttributeSelectorState = _React$useState10[1];
47672
- var _React$useState11 = React__namespace.useState(-1),
47933
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
47934
+ attributeSelectorState = _React$useState0[0],
47935
+ setAttributeSelectorState = _React$useState0[1];
47936
+ var _React$useState1 = React__namespace.useState(-1),
47937
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
47938
+ focusedOptionIndex = _React$useState10[0],
47939
+ setFocusedOptionIndex = _React$useState10[1];
47940
+ var _React$useState11 = React__namespace.useState(null),
47673
47941
  _React$useState12 = _slicedToArray(_React$useState11, 2),
47674
- focusedOptionIndex = _React$useState12[0],
47675
- setFocusedOptionIndex = _React$useState12[1];
47676
- var _React$useState13 = React__namespace.useState(null),
47677
- _React$useState14 = _slicedToArray(_React$useState13, 2),
47678
- focusedOptionId = _React$useState14[0],
47679
- setFocusedOptionId = _React$useState14[1];
47680
- var _React$useState15 = React__namespace.useState({
47942
+ focusedOptionId = _React$useState12[0],
47943
+ setFocusedOptionId = _React$useState12[1];
47944
+ var _React$useState13 = React__namespace.useState({
47681
47945
  source: false,
47682
47946
  target: false
47683
47947
  }),
47684
- _React$useState16 = _slicedToArray(_React$useState15, 2),
47685
- focused = _React$useState16[0],
47686
- setFocused = _React$useState16[1];
47948
+ _React$useState14 = _slicedToArray(_React$useState13, 2),
47949
+ focused = _React$useState14[0],
47950
+ setFocused = _React$useState14[1];
47687
47951
  var metaData = {
47688
47952
  props: props,
47689
47953
  state: {
@@ -48057,16 +48321,16 @@ var PickList = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
48057
48321
  var matchedOptionIndex = _toConsumableArray(items).findIndex(function (item) {
48058
48322
  return item === focusedItem;
48059
48323
  });
48060
- _toConsumableArray(listItems).slice(Math.min(selectedItemIndex, matchedOptionIndex), Math.max(selectedItemIndex, matchedOptionIndex) + 1), _readOnlyError("selection");
48324
+ var rangeSelection = _toConsumableArray(listItems).slice(Math.min(selectedItemIndex, matchedOptionIndex), Math.max(selectedItemIndex, matchedOptionIndex) + 1);
48061
48325
  if (isSource) {
48062
48326
  _onSelectionChange({
48063
48327
  originalEvent: event,
48064
- value: selection
48328
+ value: rangeSelection
48065
48329
  }, 'sourceSelection', props.onSourceSelectionChange);
48066
48330
  } else {
48067
48331
  _onSelectionChange({
48068
48332
  originalEvent: event,
48069
- value: selection
48333
+ value: rangeSelection
48070
48334
  }, 'targetSelection', props.onTargetSelectionChange);
48071
48335
  }
48072
48336
  } else {
@@ -50041,13 +50305,14 @@ var SlideMenuSub = /*#__PURE__*/React__namespace.memo(function (props) {
50041
50305
  var key = props.id + '_sep_' + index;
50042
50306
  var separatorProps = mergeProps({
50043
50307
  id: key,
50044
- key: key,
50045
50308
  className: cx('separator'),
50046
50309
  role: 'separator'
50047
50310
  }, ptm('separator', {
50048
50311
  hostName: props.hostName
50049
50312
  }));
50050
- return /*#__PURE__*/React__namespace.createElement("li", separatorProps);
50313
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, separatorProps, {
50314
+ key: key
50315
+ }));
50051
50316
  };
50052
50317
  var createSubmenu = function createSubmenu(item, index) {
50053
50318
  var shouldRender = renderSubMenu[createKey(item, index)];
@@ -50123,14 +50388,15 @@ var SlideMenuSub = /*#__PURE__*/React__namespace.memo(function (props) {
50123
50388
  }
50124
50389
  var menuitemProps = mergeProps({
50125
50390
  id: key,
50126
- key: key,
50127
50391
  className: cx('menuitem', {
50128
50392
  active: active,
50129
50393
  item: item
50130
50394
  }),
50131
50395
  style: item.style
50132
50396
  }, getPTOptions(item, 'menuitem'));
50133
- return /*#__PURE__*/React__namespace.createElement("li", menuitemProps, content, submenu);
50397
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, menuitemProps, {
50398
+ key: key
50399
+ }), content, submenu);
50134
50400
  };
50135
50401
  var createItem = function createItem(item, index) {
50136
50402
  if (item.visible === false) {
@@ -50798,7 +51064,7 @@ var Slider = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.fo
50798
51064
  }));
50799
51065
  Slider.displayName = 'Slider';
50800
51066
 
50801
- var styles$b = "\n@layer primereact {\n .p-speeddial {\n position: absolute;\n display: flex;\n z-index: 1;\n }\n\n .p-speeddial-list {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: top 0s linear 0.2s;\n pointer-events: none;\n }\n\n .p-speeddial-item {\n transform: scale(0);\n opacity: 0;\n transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, opacity 0.8s;\n will-change: transform;\n }\n\n .p-speeddial-action {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n text-decoration: none;\n }\n\n .p-speeddial-action-icon {\n pointer-events: none;\n }\n\n .p-speeddial-circle .p-speeddial-item,\n .p-speeddial-semi-circle .p-speeddial-item,\n .p-speeddial-quarter-circle .p-speeddial-item {\n position: absolute;\n }\n\n .p-speeddial-rotate {\n transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n will-change: transform;\n }\n\n .p-speeddial-mask {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n transition: opacity 250ms cubic-bezier(0.25, 0.8, 0.25, 1);\n }\n\n .p-speeddial-mask-visible {\n pointer-events: none;\n opacity: 1;\n transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n }\n\n .p-speeddial-opened .p-speeddial-list {\n pointer-events: auto;\n }\n\n .p-speeddial-opened .p-speeddial-item {\n transform: scale(1);\n opacity: 1;\n }\n\n .p-speeddial-opened .p-speeddial-rotate {\n transform: rotate(45deg);\n }\n}\n";
51067
+ var styles$b = "\n@layer primereact {\n .p-speeddial {\n position: absolute;\n display: flex;\n z-index: 1;\n }\n\n .p-speeddial-list {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: top 0s linear 0.2s;\n pointer-events: none;\n }\n\n .p-speeddial-item {\n transform: scale(0);\n opacity: 0;\n transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, opacity 0.8s;\n will-change: transform;\n }\n\n .p-speeddial-action {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n text-decoration: none;\n }\n\n .p-speeddial-action-icon {\n pointer-events: none;\n }\n\n .p-speeddial-circle .p-speeddial-item,\n .p-speeddial-semi-circle .p-speeddial-item,\n .p-speeddial-quarter-circle .p-speeddial-item {\n position: absolute;\n }\n\n .p-speeddial-rotate {\n transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n will-change: transform;\n }\n\n .p-speeddial-mask {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n transition: opacity 250ms cubic-bezier(0.25, 0.8, 0.25, 1);\n }\n\n .p-speeddial-mask-visible {\n pointer-events: none;\n opacity: 1;\n transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);\n }\n\n .p-speeddial-opened .p-speeddial-list {\n pointer-events: auto;\n }\n\n .p-speeddial:not(.p-speeddial-opened) .p-speeddial-list {\n display: none;\n }\n\n .p-speeddial-opened .p-speeddial-item {\n transform: scale(1);\n opacity: 1;\n }\n\n .p-speeddial-opened .p-speeddial-rotate {\n transform: rotate(45deg);\n }\n}\n";
50802
51068
  var classes$f = {
50803
51069
  root: function root(_ref) {
50804
51070
  var props = _ref.props,
@@ -51563,6 +51829,9 @@ var TieredMenuSub = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
51563
51829
  }
51564
51830
  };
51565
51831
  var getItemId = function getItemId(processedItem) {
51832
+ if (processedItem.item && processedItem.item.id) {
51833
+ return processedItem.item.id;
51834
+ }
51566
51835
  return "".concat(props.menuId, "_").concat(processedItem.key);
51567
51836
  };
51568
51837
  var getItemProp = function getItemProp(processedItem, name, params) {
@@ -51616,13 +51885,14 @@ var TieredMenuSub = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
51616
51885
  var createSeparator = function createSeparator(index) {
51617
51886
  var key = 'separator_' + index;
51618
51887
  var separatorProps = mergeProps({
51619
- key: key,
51620
51888
  className: cx('separator'),
51621
51889
  role: 'separator'
51622
51890
  }, ptm('separator', {
51623
51891
  hostName: props.hostName
51624
51892
  }));
51625
- return /*#__PURE__*/React__namespace.createElement("li", separatorProps);
51893
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, separatorProps, {
51894
+ key: key
51895
+ }));
51626
51896
  };
51627
51897
  var createSubmenu = function createSubmenu(processedItem, index) {
51628
51898
  if (isItemGroup(processedItem)) {
@@ -51716,7 +51986,6 @@ var TieredMenuSub = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
51716
51986
  className: cx('content')
51717
51987
  }, getPTOptions(processedItem, 'content'));
51718
51988
  var menuitemProps = mergeProps({
51719
- key: key,
51720
51989
  id: key,
51721
51990
  'aria-label': item.label,
51722
51991
  'aria-disabled': disabled,
@@ -51739,10 +52008,12 @@ var TieredMenuSub = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__names
51739
52008
  },
51740
52009
  role: 'menuitem'
51741
52010
  }, getPTOptions(processedItem, 'menuitem'));
51742
- return /*#__PURE__*/React__namespace.createElement("li", menuitemProps, /*#__PURE__*/React__namespace.createElement("div", contentProps, content), submenu);
52011
+ return /*#__PURE__*/React__namespace.createElement("li", _extends({}, menuitemProps, {
52012
+ key: key
52013
+ }), /*#__PURE__*/React__namespace.createElement("div", contentProps, content), submenu);
51743
52014
  };
51744
52015
  var createItem = function createItem(processedItem, index) {
51745
- if (processedItem.visible === false) {
52016
+ if (isItemVisible(processedItem) === false) {
51746
52017
  return null;
51747
52018
  }
51748
52019
  return getItemProp(processedItem, 'separator') ? createSeparator(index) : createMenuItem(processedItem, index);
@@ -51800,37 +52071,37 @@ var TieredMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespac
51800
52071
  focused = _React$useState8[0],
51801
52072
  setFocused = _React$useState8[1];
51802
52073
  var _React$useState9 = React__namespace.useState(null),
51803
- _React$useState10 = _slicedToArray(_React$useState9, 2),
51804
- focusedItemId = _React$useState10[0],
51805
- setFocusedItemId = _React$useState10[1];
51806
- var _React$useState11 = React__namespace.useState({
52074
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
52075
+ focusedItemId = _React$useState0[0],
52076
+ setFocusedItemId = _React$useState0[1];
52077
+ var _React$useState1 = React__namespace.useState({
51807
52078
  index: -1,
51808
52079
  level: 0,
51809
52080
  parentKey: ''
51810
52081
  }),
52082
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
52083
+ focusedItemInfo = _React$useState10[0],
52084
+ setFocusedItemInfo = _React$useState10[1];
52085
+ var _React$useState11 = React__namespace.useState(false),
51811
52086
  _React$useState12 = _slicedToArray(_React$useState11, 2),
51812
- focusedItemInfo = _React$useState12[0],
51813
- setFocusedItemInfo = _React$useState12[1];
51814
- var _React$useState13 = React__namespace.useState(false),
52087
+ dirty = _React$useState12[0],
52088
+ setDirty = _React$useState12[1];
52089
+ var _React$useState13 = React__namespace.useState([]),
51815
52090
  _React$useState14 = _slicedToArray(_React$useState13, 2),
51816
- dirty = _React$useState14[0],
51817
- setDirty = _React$useState14[1];
52091
+ processedItems = _React$useState14[0],
52092
+ setProcessedItems = _React$useState14[1];
51818
52093
  var _React$useState15 = React__namespace.useState([]),
51819
52094
  _React$useState16 = _slicedToArray(_React$useState15, 2),
51820
- processedItems = _React$useState16[0],
51821
- setProcessedItems = _React$useState16[1];
51822
- var _React$useState17 = React__namespace.useState([]),
52095
+ visibleItems = _React$useState16[0],
52096
+ setVisibleItems = _React$useState16[1];
52097
+ var _React$useState17 = React__namespace.useState(false),
51823
52098
  _React$useState18 = _slicedToArray(_React$useState17, 2),
51824
- visibleItems = _React$useState18[0],
51825
- setVisibleItems = _React$useState18[1];
51826
- var _React$useState19 = React__namespace.useState(false),
52099
+ focusTrigger = _React$useState18[0],
52100
+ setFocusTrigger = _React$useState18[1];
52101
+ var _React$useState19 = React__namespace.useState(null),
51827
52102
  _React$useState20 = _slicedToArray(_React$useState19, 2),
51828
- focusTrigger = _React$useState20[0],
51829
- setFocusTrigger = _React$useState20[1];
51830
- var _React$useState21 = React__namespace.useState(null),
51831
- _React$useState22 = _slicedToArray(_React$useState21, 2),
51832
- attributeSelectorState = _React$useState22[0],
51833
- setAttributeSelectorState = _React$useState22[1];
52103
+ attributeSelectorState = _React$useState20[0],
52104
+ setAttributeSelectorState = _React$useState20[1];
51834
52105
  var metaData = _objectSpread$o(_objectSpread$o({
51835
52106
  props: props
51836
52107
  }, props.__parentMetadata), {}, {
@@ -52068,7 +52339,7 @@ var TieredMenu = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespac
52068
52339
  originalEvent.preventDefault();
52069
52340
  return;
52070
52341
  }
52071
- if (dirty && !props.popup) {
52342
+ if (dirty) {
52072
52343
  onItemChange(event);
52073
52344
  }
52074
52345
  };
@@ -52571,10 +52842,11 @@ var SplitButtonBase = ComponentBase.extend({
52571
52842
  function ownKeys$n(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; }
52572
52843
  function _objectSpread$n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52573
52844
  var SplitButton = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
52845
+ var _props$id;
52574
52846
  var mergeProps = useMergeProps();
52575
52847
  var context = React__namespace.useContext(PrimeReactContext);
52576
52848
  var props = SplitButtonBase.getProps(inProps, context);
52577
- var _React$useState = React__namespace.useState(props.id),
52849
+ var _React$useState = React__namespace.useState((_props$id = props.id) !== null && _props$id !== void 0 ? _props$id : UniqueComponentId),
52578
52850
  _React$useState2 = _slicedToArray(_React$useState, 2),
52579
52851
  idState = _React$useState2[0],
52580
52852
  setIdState = _React$useState2[1];
@@ -53155,7 +53427,7 @@ var Splitter = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.
53155
53427
  panelElements.map(function (panelElement, i) {
53156
53428
  prevSize.current = panelSize(panelSizes, 0);
53157
53429
  _panelSizes[i] = panelSize(panelSizes, i);
53158
- if (panelElement.childNodes && ObjectUtils.isNotEmpty(DomHandler.find(panelElement, "[data-pc-name='splitter']") && DomHandler.find(panelElement, "[data-pc-section='root']"))) {
53430
+ if (panelElement.childNodes && ObjectUtils.isNotEmpty(DomHandler.find(panelElement, "[data-pc-name='splitter']")) && ObjectUtils.isNotEmpty(DomHandler.find(panelElement, "[data-pc-section='root']"))) {
53159
53431
  !isUnstyled() && DomHandler.addClass(panelElement, 'p-splitter-panel-nested');
53160
53432
  panelElement.setAttribute('data-p-splitter-panel-nested', true);
53161
53433
  setNested(true);
@@ -54706,9 +54978,9 @@ var TabView = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
54706
54978
  hiddenTabsState = _React$useState8[0],
54707
54979
  setHiddenTabsState = _React$useState8[1];
54708
54980
  var _React$useState9 = React__namespace.useState(props.activeIndex),
54709
- _React$useState10 = _slicedToArray(_React$useState9, 2),
54710
- activeIndexState = _React$useState10[0],
54711
- setActiveIndexState = _React$useState10[1];
54981
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
54982
+ activeIndexState = _React$useState0[0],
54983
+ setActiveIndexState = _React$useState0[1];
54712
54984
  var elementRef = React__namespace.useRef(null);
54713
54985
  var contentRef = React__namespace.useRef(null);
54714
54986
  var navRef = React__namespace.useRef(null);
@@ -54986,6 +55258,10 @@ var TabView = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
54986
55258
  if (!idState) {
54987
55259
  setIdState(UniqueComponentId());
54988
55260
  }
55261
+ contentRef.current.style.scrollPaddingInline = Math.max(DomHandler.getWidth(prevBtnRef.current), DomHandler.getWidth(nextBtnRef.current), 0) + 'px';
55262
+ updateScrollBar({
55263
+ index: props.activeIndex
55264
+ });
54989
55265
  });
54990
55266
  useUpdateEffect(function () {
54991
55267
  if (ObjectUtils.isNotEmpty(hiddenTabsState)) {
@@ -56172,14 +56448,14 @@ var ToggleButton = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namesp
56172
56448
  onBlur: onBlur,
56173
56449
  onKeyDown: onKeyDown,
56174
56450
  tabIndex: tabIndex,
56175
- role: 'switch',
56176
56451
  type: 'checkbox',
56177
- 'aria-pressed': props.checked,
56178
56452
  'aria-invalid': props.invalid,
56179
56453
  disabled: props.disabled,
56180
56454
  readOnly: props.readonly,
56181
56455
  value: props.checked,
56182
- checked: props.checked
56456
+ checked: props.checked,
56457
+ 'aria-label': props['aria-label'],
56458
+ 'aria-labelledby': props['aria-labelledby']
56183
56459
  }, ptm('input'));
56184
56460
  var boxProps = mergeProps({
56185
56461
  className: classNames(props.className, cx('box', {
@@ -57184,11 +57460,11 @@ var UITreeNode = /*#__PURE__*/React__namespace.memo(function (props) {
57184
57460
  });
57185
57461
  UITreeNode.displayName = 'UITreeNode';
57186
57462
 
57187
- function ownKeys$9(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; }
57188
- function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
57189
57463
  function _createForOfIteratorHelper$5(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$5(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
57190
57464
  function _unsupportedIterableToArray$5(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$5(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$5(r, a) : void 0; } }
57191
57465
  function _arrayLikeToArray$5(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
57466
+ function ownKeys$9(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; }
57467
+ function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
57192
57468
  var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
57193
57469
  var mergeProps = useMergeProps();
57194
57470
  var context = React__namespace.useContext(PrimeReactContext);
@@ -57202,18 +57478,17 @@ var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
57202
57478
  _React$useState2 = _slicedToArray(_React$useState, 2),
57203
57479
  expandedKeysState = _React$useState2[0],
57204
57480
  setExpandedKeysState = _React$useState2[1];
57205
- var _React$useState3 = React__namespace.useState({}),
57206
- _React$useState4 = _slicedToArray(_React$useState3, 2),
57207
- filterExpandedKeys = _React$useState4[0],
57208
- setFilterExpandedKeys = _React$useState4[1];
57209
57481
  var elementRef = React__namespace.useRef(null);
57210
57482
  var filteredNodes = React__namespace.useRef([]);
57211
57483
  var dragState = React__namespace.useRef(null);
57212
57484
  var filterChanged = React__namespace.useRef(false);
57485
+ var _React$useState3 = React__namespace.useState(false),
57486
+ _React$useState4 = _slicedToArray(_React$useState3, 2),
57487
+ forceRender = _React$useState4[1];
57213
57488
  var filteredValue = props.onFilterValueChange ? props.filterValue : filterValueState;
57214
57489
  var isFiltering = props.filter && filteredValue;
57215
- var expandedKeys = isFiltering ? filterExpandedKeys : props.onToggle ? props.expandedKeys : expandedKeysState;
57216
- var currentFilterExpandedKeys = {};
57490
+ var expandedKeys = props.onToggle ? props.expandedKeys : expandedKeysState;
57491
+ var currentFilterExpandedKeys = React__namespace.useRef({});
57217
57492
  var childFocusEvent = React__namespace.useRef(null);
57218
57493
  var _TreeBase$setMetaData = TreeBase.setMetaData({
57219
57494
  props: props,
@@ -57243,7 +57518,16 @@ var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
57243
57518
  var originalEvent = event.originalEvent,
57244
57519
  value = event.value,
57245
57520
  navigateFocusToChild = event.navigateFocusToChild;
57246
- if (props.onToggle) {
57521
+ if (originalEvent == null && isFiltering) {
57522
+ if (props.onToggle) {
57523
+ props.onToggle({
57524
+ originalEvent: originalEvent,
57525
+ value: _objectSpread$9(_objectSpread$9({}, props.expandedKeys), value)
57526
+ });
57527
+ } else {
57528
+ setExpandedKeysState(_objectSpread$9(_objectSpread$9({}, expandedKeysState), value));
57529
+ }
57530
+ } else if (props.onToggle) {
57247
57531
  props.onToggle({
57248
57532
  originalEvent: originalEvent,
57249
57533
  value: value
@@ -57252,11 +57536,7 @@ var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
57252
57536
  if (navigateFocusToChild) {
57253
57537
  childFocusEvent.current = originalEvent;
57254
57538
  }
57255
- if (isFiltering) {
57256
- setFilterExpandedKeys(value);
57257
- } else {
57258
- setExpandedKeysState(value);
57259
- }
57539
+ setExpandedKeysState(value);
57260
57540
  }
57261
57541
  };
57262
57542
  useUpdateEffect(function () {
@@ -57494,8 +57774,16 @@ var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
57494
57774
  } finally {
57495
57775
  _iterator.f();
57496
57776
  }
57777
+ onToggle({
57778
+ originalEvent: null,
57779
+ value: currentFilterExpandedKeys.current,
57780
+ navigateFocusToChild: false
57781
+ });
57497
57782
  }
57498
- setFilterExpandedKeys(currentFilterExpandedKeys);
57783
+ currentFilterExpandedKeys.current = {};
57784
+ forceRender(function (x) {
57785
+ return !x;
57786
+ });
57499
57787
  filterChanged.current = false;
57500
57788
  };
57501
57789
  var findFilteredNodes = function findFilteredNodes(node, paramsWithoutNode) {
@@ -57522,7 +57810,7 @@ var Tree = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forw
57522
57810
  }
57523
57811
  }
57524
57812
  if (matched) {
57525
- currentFilterExpandedKeys[node.key] = true;
57813
+ currentFilterExpandedKeys.current[node.key] = true;
57526
57814
  return true;
57527
57815
  }
57528
57816
  }
@@ -59968,9 +60256,6 @@ var TreeTableBody = /*#__PURE__*/React__namespace.memo(function (props) {
59968
60256
  return props.value.map(createRow);
59969
60257
  };
59970
60258
  var createEmptyMessage = function createEmptyMessage() {
59971
- if (props.loading) {
59972
- return null;
59973
- }
59974
60259
  var colSpan = props.columns ? props.columns.length : null;
59975
60260
  var content = ObjectUtils.getJSXElement(props.emptyMessage, {
59976
60261
  props: props.tableProps
@@ -60655,21 +60940,21 @@ var TreeTable = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
60655
60940
  sortFieldState = _React$useState8[0],
60656
60941
  setSortFieldState = _React$useState8[1];
60657
60942
  var _React$useState9 = React__namespace.useState(props.sortOrder),
60658
- _React$useState10 = _slicedToArray(_React$useState9, 2),
60659
- sortOrderState = _React$useState10[0],
60660
- setSortOrderState = _React$useState10[1];
60661
- var _React$useState11 = React__namespace.useState(props.multiSortMeta),
60943
+ _React$useState0 = _slicedToArray(_React$useState9, 2),
60944
+ sortOrderState = _React$useState0[0],
60945
+ setSortOrderState = _React$useState0[1];
60946
+ var _React$useState1 = React__namespace.useState(props.multiSortMeta),
60947
+ _React$useState10 = _slicedToArray(_React$useState1, 2),
60948
+ multiSortMetaState = _React$useState10[0],
60949
+ setMultiSortMetaState = _React$useState10[1];
60950
+ var _React$useState11 = React__namespace.useState(props.filters),
60662
60951
  _React$useState12 = _slicedToArray(_React$useState11, 2),
60663
- multiSortMetaState = _React$useState12[0],
60664
- setMultiSortMetaState = _React$useState12[1];
60665
- var _React$useState13 = React__namespace.useState(props.filters),
60952
+ filtersState = _React$useState12[0],
60953
+ setFiltersState = _React$useState12[1];
60954
+ var _React$useState13 = React__namespace.useState([]),
60666
60955
  _React$useState14 = _slicedToArray(_React$useState13, 2),
60667
- filtersState = _React$useState14[0],
60668
- setFiltersState = _React$useState14[1];
60669
- var _React$useState15 = React__namespace.useState([]),
60670
- _React$useState16 = _slicedToArray(_React$useState15, 2),
60671
- columnOrderState = _React$useState16[0],
60672
- setColumnOrderState = _React$useState16[1];
60956
+ columnOrderState = _React$useState14[0],
60957
+ setColumnOrderState = _React$useState14[1];
60673
60958
  var metaData = {
60674
60959
  props: props,
60675
60960
  state: {