primereact 10.9.3 → 10.9.5

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 (964) hide show
  1. package/accordion/accordion.cjs.js +43 -55
  2. package/accordion/accordion.cjs.min.js +1 -1
  3. package/accordion/accordion.d.ts +2 -2
  4. package/accordion/accordion.esm.js +43 -55
  5. package/accordion/accordion.esm.min.js +1 -1
  6. package/accordion/accordion.js +43 -55
  7. package/accordion/accordion.min.js +1 -1
  8. package/api/api.cjs.js +44 -59
  9. package/api/api.cjs.min.js +1 -1
  10. package/api/api.esm.js +44 -59
  11. package/api/api.esm.min.js +1 -1
  12. package/api/api.js +44 -59
  13. package/api/api.min.js +1 -1
  14. package/autocomplete/autocomplete.cjs.js +56 -56
  15. package/autocomplete/autocomplete.cjs.min.js +1 -1
  16. package/autocomplete/autocomplete.d.ts +27 -25
  17. package/autocomplete/autocomplete.esm.js +57 -57
  18. package/autocomplete/autocomplete.esm.min.js +1 -1
  19. package/autocomplete/autocomplete.js +56 -56
  20. package/autocomplete/autocomplete.min.js +1 -1
  21. package/avatar/avatar.cjs.js +37 -49
  22. package/avatar/avatar.cjs.min.js +1 -1
  23. package/avatar/avatar.d.ts +2 -2
  24. package/avatar/avatar.esm.js +37 -49
  25. package/avatar/avatar.esm.min.js +1 -1
  26. package/avatar/avatar.js +37 -49
  27. package/avatar/avatar.min.js +1 -1
  28. package/avatargroup/avatargroup.d.ts +2 -2
  29. package/badge/badge.cjs.js +17 -23
  30. package/badge/badge.cjs.min.js +1 -1
  31. package/badge/badge.d.ts +2 -2
  32. package/badge/badge.esm.js +17 -23
  33. package/badge/badge.esm.min.js +1 -1
  34. package/badge/badge.js +17 -23
  35. package/badge/badge.min.js +1 -1
  36. package/blockui/blockui.cjs.js +37 -49
  37. package/blockui/blockui.cjs.min.js +1 -1
  38. package/blockui/blockui.d.ts +2 -2
  39. package/blockui/blockui.esm.js +37 -49
  40. package/blockui/blockui.esm.min.js +1 -1
  41. package/blockui/blockui.js +37 -49
  42. package/blockui/blockui.min.js +1 -1
  43. package/breadcrumb/breadcrumb.cjs.js +39 -50
  44. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  45. package/breadcrumb/breadcrumb.d.ts +2 -2
  46. package/breadcrumb/breadcrumb.esm.js +39 -50
  47. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  48. package/breadcrumb/breadcrumb.js +39 -50
  49. package/breadcrumb/breadcrumb.min.js +1 -1
  50. package/button/button.cjs.js +23 -34
  51. package/button/button.cjs.min.js +1 -1
  52. package/button/button.esm.js +23 -34
  53. package/button/button.esm.min.js +1 -1
  54. package/button/button.js +23 -34
  55. package/button/button.min.js +1 -1
  56. package/calendar/calendar.cjs.js +56 -60
  57. package/calendar/calendar.cjs.min.js +1 -1
  58. package/calendar/calendar.d.ts +6 -6
  59. package/calendar/calendar.esm.js +57 -61
  60. package/calendar/calendar.esm.min.js +1 -1
  61. package/calendar/calendar.js +56 -60
  62. package/calendar/calendar.min.js +1 -1
  63. package/carousel/carousel.cjs.js +43 -55
  64. package/carousel/carousel.cjs.min.js +1 -1
  65. package/carousel/carousel.d.ts +2 -2
  66. package/carousel/carousel.esm.js +43 -55
  67. package/carousel/carousel.esm.min.js +1 -1
  68. package/carousel/carousel.js +43 -55
  69. package/carousel/carousel.min.js +1 -1
  70. package/cascadeselect/cascadeselect.cjs.js +49 -54
  71. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  72. package/cascadeselect/cascadeselect.d.ts +17 -8
  73. package/cascadeselect/cascadeselect.esm.js +49 -54
  74. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  75. package/cascadeselect/cascadeselect.js +49 -54
  76. package/cascadeselect/cascadeselect.min.js +1 -1
  77. package/chart/chart.d.ts +2 -2
  78. package/checkbox/checkbox.cjs.js +38 -50
  79. package/checkbox/checkbox.cjs.min.js +1 -1
  80. package/checkbox/checkbox.d.ts +4 -4
  81. package/checkbox/checkbox.esm.js +38 -50
  82. package/checkbox/checkbox.esm.min.js +1 -1
  83. package/checkbox/checkbox.js +38 -50
  84. package/checkbox/checkbox.min.js +1 -1
  85. package/chip/chip.cjs.js +52 -51
  86. package/chip/chip.cjs.min.js +1 -1
  87. package/chip/chip.d.ts +2 -2
  88. package/chip/chip.esm.js +54 -53
  89. package/chip/chip.esm.min.js +1 -1
  90. package/chip/chip.js +52 -51
  91. package/chip/chip.min.js +1 -1
  92. package/chips/chips.cjs.js +44 -56
  93. package/chips/chips.cjs.min.js +1 -1
  94. package/chips/chips.d.ts +2 -2
  95. package/chips/chips.esm.js +44 -56
  96. package/chips/chips.esm.min.js +1 -1
  97. package/chips/chips.js +44 -56
  98. package/chips/chips.min.js +1 -1
  99. package/colorpicker/colorpicker.cjs.js +47 -51
  100. package/colorpicker/colorpicker.cjs.min.js +1 -1
  101. package/colorpicker/colorpicker.d.ts +6 -6
  102. package/colorpicker/colorpicker.esm.js +47 -51
  103. package/colorpicker/colorpicker.esm.min.js +1 -1
  104. package/colorpicker/colorpicker.js +47 -51
  105. package/colorpicker/colorpicker.min.js +1 -1
  106. package/componentbase/componentbase.cjs.js +33 -40
  107. package/componentbase/componentbase.cjs.min.js +1 -1
  108. package/componentbase/componentbase.esm.js +33 -40
  109. package/componentbase/componentbase.esm.min.js +1 -1
  110. package/componentbase/componentbase.js +33 -40
  111. package/componentbase/componentbase.min.js +1 -1
  112. package/confirmdialog/confirmdialog.cjs.js +37 -49
  113. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  114. package/confirmdialog/confirmdialog.esm.js +37 -49
  115. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  116. package/confirmdialog/confirmdialog.js +37 -49
  117. package/confirmdialog/confirmdialog.min.js +1 -1
  118. package/confirmpopup/confirmpopup.cjs.js +47 -51
  119. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  120. package/confirmpopup/confirmpopup.esm.js +47 -51
  121. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  122. package/confirmpopup/confirmpopup.js +47 -51
  123. package/confirmpopup/confirmpopup.min.js +1 -1
  124. package/contextmenu/contextmenu.cjs.js +37 -49
  125. package/contextmenu/contextmenu.cjs.min.js +1 -1
  126. package/contextmenu/contextmenu.d.ts +2 -2
  127. package/contextmenu/contextmenu.esm.js +37 -49
  128. package/contextmenu/contextmenu.esm.min.js +1 -1
  129. package/contextmenu/contextmenu.js +37 -49
  130. package/contextmenu/contextmenu.min.js +1 -1
  131. package/core/core.js +1151 -1449
  132. package/core/core.min.js +65 -65
  133. package/csstransition/csstransition.cjs.js +17 -23
  134. package/csstransition/csstransition.cjs.min.js +1 -1
  135. package/csstransition/csstransition.esm.js +17 -23
  136. package/csstransition/csstransition.esm.min.js +1 -1
  137. package/csstransition/csstransition.js +17 -23
  138. package/csstransition/csstransition.min.js +1 -1
  139. package/datascroller/datascroller.cjs.js +26 -32
  140. package/datascroller/datascroller.cjs.min.js +1 -1
  141. package/datascroller/datascroller.d.ts +2 -2
  142. package/datascroller/datascroller.esm.js +26 -32
  143. package/datascroller/datascroller.esm.min.js +1 -1
  144. package/datascroller/datascroller.js +26 -32
  145. package/datascroller/datascroller.min.js +1 -1
  146. package/datatable/datatable.cjs.js +411 -358
  147. package/datatable/datatable.cjs.min.js +1 -1
  148. package/datatable/datatable.d.ts +6 -5
  149. package/datatable/datatable.esm.js +412 -359
  150. package/datatable/datatable.esm.min.js +1 -1
  151. package/datatable/datatable.js +411 -358
  152. package/datatable/datatable.min.js +1 -1
  153. package/dataview/dataview.cjs.js +46 -58
  154. package/dataview/dataview.cjs.min.js +1 -1
  155. package/dataview/dataview.d.ts +2 -2
  156. package/dataview/dataview.esm.js +46 -58
  157. package/dataview/dataview.esm.min.js +1 -1
  158. package/dataview/dataview.js +46 -58
  159. package/dataview/dataview.min.js +1 -1
  160. package/deferredcontent/deferredcontent.cjs.js +14 -15
  161. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  162. package/deferredcontent/deferredcontent.d.ts +2 -2
  163. package/deferredcontent/deferredcontent.esm.js +14 -15
  164. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  165. package/deferredcontent/deferredcontent.js +14 -15
  166. package/deferredcontent/deferredcontent.min.js +1 -1
  167. package/dialog/dialog.cjs.js +43 -55
  168. package/dialog/dialog.cjs.min.js +1 -1
  169. package/dialog/dialog.d.ts +12 -12
  170. package/dialog/dialog.esm.js +43 -55
  171. package/dialog/dialog.esm.min.js +1 -1
  172. package/dialog/dialog.js +43 -55
  173. package/dialog/dialog.min.js +1 -1
  174. package/divider/divider.d.ts +2 -2
  175. package/dock/dock.cjs.js +43 -55
  176. package/dock/dock.cjs.min.js +1 -1
  177. package/dock/dock.d.ts +2 -2
  178. package/dock/dock.esm.js +43 -55
  179. package/dock/dock.esm.min.js +1 -1
  180. package/dock/dock.js +43 -55
  181. package/dock/dock.min.js +1 -1
  182. package/dropdown/dropdown.cjs.js +53 -57
  183. package/dropdown/dropdown.cjs.min.js +1 -1
  184. package/dropdown/dropdown.d.ts +14 -10
  185. package/dropdown/dropdown.esm.js +53 -57
  186. package/dropdown/dropdown.esm.min.js +1 -1
  187. package/dropdown/dropdown.js +53 -57
  188. package/dropdown/dropdown.min.js +1 -1
  189. package/editor/editor.cjs.js +37 -49
  190. package/editor/editor.cjs.min.js +1 -1
  191. package/editor/editor.d.ts +6 -6
  192. package/editor/editor.esm.js +37 -49
  193. package/editor/editor.esm.min.js +1 -1
  194. package/editor/editor.js +37 -49
  195. package/editor/editor.min.js +1 -1
  196. package/fieldset/fieldset.cjs.js +20 -26
  197. package/fieldset/fieldset.cjs.min.js +1 -1
  198. package/fieldset/fieldset.d.ts +4 -4
  199. package/fieldset/fieldset.esm.js +20 -26
  200. package/fieldset/fieldset.esm.min.js +1 -1
  201. package/fieldset/fieldset.js +20 -26
  202. package/fieldset/fieldset.min.js +1 -1
  203. package/fileupload/fileupload.cjs.js +48 -60
  204. package/fileupload/fileupload.cjs.min.js +1 -1
  205. package/fileupload/fileupload.d.ts +4 -4
  206. package/fileupload/fileupload.esm.js +48 -60
  207. package/fileupload/fileupload.esm.min.js +1 -1
  208. package/fileupload/fileupload.js +48 -60
  209. package/fileupload/fileupload.min.js +1 -1
  210. package/focustrap/focustrap.cjs.js +17 -23
  211. package/focustrap/focustrap.cjs.min.js +1 -1
  212. package/focustrap/focustrap.esm.js +17 -23
  213. package/focustrap/focustrap.esm.min.js +1 -1
  214. package/focustrap/focustrap.js +17 -23
  215. package/focustrap/focustrap.min.js +1 -1
  216. package/galleria/galleria.cjs.js +43 -55
  217. package/galleria/galleria.cjs.min.js +1 -1
  218. package/galleria/galleria.d.ts +2 -2
  219. package/galleria/galleria.esm.js +43 -55
  220. package/galleria/galleria.esm.min.js +1 -1
  221. package/galleria/galleria.js +43 -55
  222. package/galleria/galleria.min.js +1 -1
  223. package/hooks/hooks.cjs.js +53 -50
  224. package/hooks/hooks.cjs.min.js +1 -1
  225. package/hooks/hooks.esm.js +53 -50
  226. package/hooks/hooks.esm.min.js +1 -1
  227. package/hooks/hooks.js +53 -50
  228. package/hooks/hooks.min.js +1 -1
  229. package/iconfield/iconfield.cjs.js +23 -34
  230. package/iconfield/iconfield.cjs.min.js +1 -1
  231. package/iconfield/iconfield.esm.js +23 -34
  232. package/iconfield/iconfield.esm.min.js +1 -1
  233. package/iconfield/iconfield.js +23 -34
  234. package/iconfield/iconfield.min.js +1 -1
  235. package/icons/angledoubledown/index.cjs.js +6 -11
  236. package/icons/angledoubledown/index.cjs.min.js +1 -1
  237. package/icons/angledoubledown/index.esm.js +6 -11
  238. package/icons/angledoubledown/index.esm.min.js +1 -1
  239. package/icons/angledoubledown/index.js +6 -11
  240. package/icons/angledoubledown/index.min.js +1 -1
  241. package/icons/angledoubleleft/index.cjs.js +6 -11
  242. package/icons/angledoubleleft/index.cjs.min.js +1 -1
  243. package/icons/angledoubleleft/index.esm.js +6 -11
  244. package/icons/angledoubleleft/index.esm.min.js +1 -1
  245. package/icons/angledoubleleft/index.js +6 -11
  246. package/icons/angledoubleleft/index.min.js +1 -1
  247. package/icons/angledoubleright/index.cjs.js +6 -11
  248. package/icons/angledoubleright/index.cjs.min.js +1 -1
  249. package/icons/angledoubleright/index.esm.js +6 -11
  250. package/icons/angledoubleright/index.esm.min.js +1 -1
  251. package/icons/angledoubleright/index.js +6 -11
  252. package/icons/angledoubleright/index.min.js +1 -1
  253. package/icons/angledoubleup/index.cjs.js +6 -11
  254. package/icons/angledoubleup/index.cjs.min.js +1 -1
  255. package/icons/angledoubleup/index.esm.js +6 -11
  256. package/icons/angledoubleup/index.esm.min.js +1 -1
  257. package/icons/angledoubleup/index.js +6 -11
  258. package/icons/angledoubleup/index.min.js +1 -1
  259. package/icons/angledown/index.cjs.js +6 -11
  260. package/icons/angledown/index.cjs.min.js +1 -1
  261. package/icons/angledown/index.esm.js +6 -11
  262. package/icons/angledown/index.esm.min.js +1 -1
  263. package/icons/angledown/index.js +6 -11
  264. package/icons/angledown/index.min.js +1 -1
  265. package/icons/angleleft/index.cjs.js +6 -11
  266. package/icons/angleleft/index.cjs.min.js +1 -1
  267. package/icons/angleleft/index.esm.js +6 -11
  268. package/icons/angleleft/index.esm.min.js +1 -1
  269. package/icons/angleleft/index.js +6 -11
  270. package/icons/angleleft/index.min.js +1 -1
  271. package/icons/angleright/index.cjs.js +6 -11
  272. package/icons/angleright/index.cjs.min.js +1 -1
  273. package/icons/angleright/index.esm.js +6 -11
  274. package/icons/angleright/index.esm.min.js +1 -1
  275. package/icons/angleright/index.js +6 -11
  276. package/icons/angleright/index.min.js +1 -1
  277. package/icons/angleup/index.cjs.js +6 -11
  278. package/icons/angleup/index.cjs.min.js +1 -1
  279. package/icons/angleup/index.esm.js +6 -11
  280. package/icons/angleup/index.esm.min.js +1 -1
  281. package/icons/angleup/index.js +6 -11
  282. package/icons/angleup/index.min.js +1 -1
  283. package/icons/arrowdown/index.cjs.js +6 -11
  284. package/icons/arrowdown/index.cjs.min.js +1 -1
  285. package/icons/arrowdown/index.esm.js +6 -11
  286. package/icons/arrowdown/index.esm.min.js +1 -1
  287. package/icons/arrowdown/index.js +6 -11
  288. package/icons/arrowdown/index.min.js +1 -1
  289. package/icons/arrowup/index.cjs.js +6 -11
  290. package/icons/arrowup/index.cjs.min.js +1 -1
  291. package/icons/arrowup/index.esm.js +6 -11
  292. package/icons/arrowup/index.esm.min.js +1 -1
  293. package/icons/arrowup/index.js +6 -11
  294. package/icons/arrowup/index.min.js +1 -1
  295. package/icons/ban/index.cjs.js +6 -11
  296. package/icons/ban/index.cjs.min.js +1 -1
  297. package/icons/ban/index.esm.js +6 -11
  298. package/icons/ban/index.esm.min.js +1 -1
  299. package/icons/ban/index.js +6 -11
  300. package/icons/ban/index.min.js +1 -1
  301. package/icons/bars/index.cjs.js +6 -11
  302. package/icons/bars/index.cjs.min.js +1 -1
  303. package/icons/bars/index.esm.js +6 -11
  304. package/icons/bars/index.esm.min.js +1 -1
  305. package/icons/bars/index.js +6 -11
  306. package/icons/bars/index.min.js +1 -1
  307. package/icons/blank/index.cjs.js +6 -11
  308. package/icons/blank/index.cjs.min.js +1 -1
  309. package/icons/blank/index.esm.js +6 -11
  310. package/icons/blank/index.esm.min.js +1 -1
  311. package/icons/blank/index.js +6 -11
  312. package/icons/blank/index.min.js +1 -1
  313. package/icons/calendar/index.cjs.js +6 -11
  314. package/icons/calendar/index.cjs.min.js +1 -1
  315. package/icons/calendar/index.esm.js +6 -11
  316. package/icons/calendar/index.esm.min.js +1 -1
  317. package/icons/calendar/index.js +6 -11
  318. package/icons/calendar/index.min.js +1 -1
  319. package/icons/check/index.cjs.js +6 -11
  320. package/icons/check/index.cjs.min.js +1 -1
  321. package/icons/check/index.esm.js +6 -11
  322. package/icons/check/index.esm.min.js +1 -1
  323. package/icons/check/index.js +6 -11
  324. package/icons/check/index.min.js +1 -1
  325. package/icons/chevrondown/index.cjs.js +6 -11
  326. package/icons/chevrondown/index.cjs.min.js +1 -1
  327. package/icons/chevrondown/index.esm.js +6 -11
  328. package/icons/chevrondown/index.esm.min.js +1 -1
  329. package/icons/chevrondown/index.js +6 -11
  330. package/icons/chevrondown/index.min.js +1 -1
  331. package/icons/chevronleft/index.cjs.js +6 -11
  332. package/icons/chevronleft/index.cjs.min.js +1 -1
  333. package/icons/chevronleft/index.esm.js +6 -11
  334. package/icons/chevronleft/index.esm.min.js +1 -1
  335. package/icons/chevronleft/index.js +6 -11
  336. package/icons/chevronleft/index.min.js +1 -1
  337. package/icons/chevronright/index.cjs.js +6 -11
  338. package/icons/chevronright/index.cjs.min.js +1 -1
  339. package/icons/chevronright/index.esm.js +6 -11
  340. package/icons/chevronright/index.esm.min.js +1 -1
  341. package/icons/chevronright/index.js +6 -11
  342. package/icons/chevronright/index.min.js +1 -1
  343. package/icons/chevronup/index.cjs.js +6 -11
  344. package/icons/chevronup/index.cjs.min.js +1 -1
  345. package/icons/chevronup/index.esm.js +6 -11
  346. package/icons/chevronup/index.esm.min.js +1 -1
  347. package/icons/chevronup/index.js +6 -11
  348. package/icons/chevronup/index.min.js +1 -1
  349. package/icons/download/index.cjs.js +6 -11
  350. package/icons/download/index.cjs.min.js +1 -1
  351. package/icons/download/index.esm.js +6 -11
  352. package/icons/download/index.esm.min.js +1 -1
  353. package/icons/download/index.js +6 -11
  354. package/icons/download/index.min.js +1 -1
  355. package/icons/exclamationtriangle/index.cjs.js +6 -11
  356. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  357. package/icons/exclamationtriangle/index.esm.js +6 -11
  358. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  359. package/icons/exclamationtriangle/index.js +6 -11
  360. package/icons/exclamationtriangle/index.min.js +1 -1
  361. package/icons/eye/index.cjs.js +6 -11
  362. package/icons/eye/index.cjs.min.js +1 -1
  363. package/icons/eye/index.esm.js +6 -11
  364. package/icons/eye/index.esm.min.js +1 -1
  365. package/icons/eye/index.js +6 -11
  366. package/icons/eye/index.min.js +1 -1
  367. package/icons/eyeslash/index.cjs.js +6 -11
  368. package/icons/eyeslash/index.cjs.min.js +1 -1
  369. package/icons/eyeslash/index.esm.js +6 -11
  370. package/icons/eyeslash/index.esm.min.js +1 -1
  371. package/icons/eyeslash/index.js +6 -11
  372. package/icons/eyeslash/index.min.js +1 -1
  373. package/icons/filter/index.cjs.js +6 -11
  374. package/icons/filter/index.cjs.min.js +1 -1
  375. package/icons/filter/index.esm.js +6 -11
  376. package/icons/filter/index.esm.min.js +1 -1
  377. package/icons/filter/index.js +6 -11
  378. package/icons/filter/index.min.js +1 -1
  379. package/icons/filterslash/index.cjs.js +6 -11
  380. package/icons/filterslash/index.cjs.min.js +1 -1
  381. package/icons/filterslash/index.esm.js +6 -11
  382. package/icons/filterslash/index.esm.min.js +1 -1
  383. package/icons/filterslash/index.js +6 -11
  384. package/icons/filterslash/index.min.js +1 -1
  385. package/icons/infocircle/index.cjs.js +6 -11
  386. package/icons/infocircle/index.cjs.min.js +1 -1
  387. package/icons/infocircle/index.esm.js +6 -11
  388. package/icons/infocircle/index.esm.min.js +1 -1
  389. package/icons/infocircle/index.js +6 -11
  390. package/icons/infocircle/index.min.js +1 -1
  391. package/icons/minus/index.cjs.js +6 -11
  392. package/icons/minus/index.cjs.min.js +1 -1
  393. package/icons/minus/index.esm.js +6 -11
  394. package/icons/minus/index.esm.min.js +1 -1
  395. package/icons/minus/index.js +6 -11
  396. package/icons/minus/index.min.js +1 -1
  397. package/icons/pencil/index.cjs.js +6 -11
  398. package/icons/pencil/index.cjs.min.js +1 -1
  399. package/icons/pencil/index.esm.js +6 -11
  400. package/icons/pencil/index.esm.min.js +1 -1
  401. package/icons/pencil/index.js +6 -11
  402. package/icons/pencil/index.min.js +1 -1
  403. package/icons/plus/index.cjs.js +6 -11
  404. package/icons/plus/index.cjs.min.js +1 -1
  405. package/icons/plus/index.esm.js +6 -11
  406. package/icons/plus/index.esm.min.js +1 -1
  407. package/icons/plus/index.js +6 -11
  408. package/icons/plus/index.min.js +1 -1
  409. package/icons/refresh/index.cjs.js +6 -11
  410. package/icons/refresh/index.cjs.min.js +1 -1
  411. package/icons/refresh/index.esm.js +6 -11
  412. package/icons/refresh/index.esm.min.js +1 -1
  413. package/icons/refresh/index.js +6 -11
  414. package/icons/refresh/index.min.js +1 -1
  415. package/icons/search/index.cjs.js +6 -11
  416. package/icons/search/index.cjs.min.js +1 -1
  417. package/icons/search/index.esm.js +6 -11
  418. package/icons/search/index.esm.min.js +1 -1
  419. package/icons/search/index.js +6 -11
  420. package/icons/search/index.min.js +1 -1
  421. package/icons/searchminus/index.cjs.js +6 -11
  422. package/icons/searchminus/index.cjs.min.js +1 -1
  423. package/icons/searchminus/index.esm.js +6 -11
  424. package/icons/searchminus/index.esm.min.js +1 -1
  425. package/icons/searchminus/index.js +6 -11
  426. package/icons/searchminus/index.min.js +1 -1
  427. package/icons/searchplus/index.cjs.js +6 -11
  428. package/icons/searchplus/index.cjs.min.js +1 -1
  429. package/icons/searchplus/index.esm.js +6 -11
  430. package/icons/searchplus/index.esm.min.js +1 -1
  431. package/icons/searchplus/index.js +6 -11
  432. package/icons/searchplus/index.min.js +1 -1
  433. package/icons/sortalt/index.cjs.js +6 -11
  434. package/icons/sortalt/index.cjs.min.js +1 -1
  435. package/icons/sortalt/index.esm.js +6 -11
  436. package/icons/sortalt/index.esm.min.js +1 -1
  437. package/icons/sortalt/index.js +6 -11
  438. package/icons/sortalt/index.min.js +1 -1
  439. package/icons/sortamountdown/index.cjs.js +6 -11
  440. package/icons/sortamountdown/index.cjs.min.js +1 -1
  441. package/icons/sortamountdown/index.esm.js +6 -11
  442. package/icons/sortamountdown/index.esm.min.js +1 -1
  443. package/icons/sortamountdown/index.js +6 -11
  444. package/icons/sortamountdown/index.min.js +1 -1
  445. package/icons/sortamountupalt/index.cjs.js +6 -11
  446. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  447. package/icons/sortamountupalt/index.esm.js +6 -11
  448. package/icons/sortamountupalt/index.esm.min.js +1 -1
  449. package/icons/sortamountupalt/index.js +6 -11
  450. package/icons/sortamountupalt/index.min.js +1 -1
  451. package/icons/spinner/index.cjs.js +6 -11
  452. package/icons/spinner/index.cjs.min.js +1 -1
  453. package/icons/spinner/index.esm.js +6 -11
  454. package/icons/spinner/index.esm.min.js +1 -1
  455. package/icons/spinner/index.js +6 -11
  456. package/icons/spinner/index.min.js +1 -1
  457. package/icons/star/index.cjs.js +6 -11
  458. package/icons/star/index.cjs.min.js +1 -1
  459. package/icons/star/index.esm.js +6 -11
  460. package/icons/star/index.esm.min.js +1 -1
  461. package/icons/star/index.js +6 -11
  462. package/icons/star/index.min.js +1 -1
  463. package/icons/starfill/index.cjs.js +6 -11
  464. package/icons/starfill/index.cjs.min.js +1 -1
  465. package/icons/starfill/index.esm.js +6 -11
  466. package/icons/starfill/index.esm.min.js +1 -1
  467. package/icons/starfill/index.js +6 -11
  468. package/icons/starfill/index.min.js +1 -1
  469. package/icons/thlarge/index.cjs.js +6 -11
  470. package/icons/thlarge/index.cjs.min.js +1 -1
  471. package/icons/thlarge/index.esm.js +6 -11
  472. package/icons/thlarge/index.esm.min.js +1 -1
  473. package/icons/thlarge/index.js +6 -11
  474. package/icons/thlarge/index.min.js +1 -1
  475. package/icons/times/index.cjs.js +6 -11
  476. package/icons/times/index.cjs.min.js +1 -1
  477. package/icons/times/index.esm.js +6 -11
  478. package/icons/times/index.esm.min.js +1 -1
  479. package/icons/times/index.js +6 -11
  480. package/icons/times/index.min.js +1 -1
  481. package/icons/timescircle/index.cjs.js +6 -11
  482. package/icons/timescircle/index.cjs.min.js +1 -1
  483. package/icons/timescircle/index.esm.js +6 -11
  484. package/icons/timescircle/index.esm.min.js +1 -1
  485. package/icons/timescircle/index.js +6 -11
  486. package/icons/timescircle/index.min.js +1 -1
  487. package/icons/trash/index.cjs.js +6 -11
  488. package/icons/trash/index.cjs.min.js +1 -1
  489. package/icons/trash/index.esm.js +6 -11
  490. package/icons/trash/index.esm.min.js +1 -1
  491. package/icons/trash/index.js +6 -11
  492. package/icons/trash/index.min.js +1 -1
  493. package/icons/undo/index.cjs.js +6 -11
  494. package/icons/undo/index.cjs.min.js +1 -1
  495. package/icons/undo/index.esm.js +6 -11
  496. package/icons/undo/index.esm.min.js +1 -1
  497. package/icons/undo/index.js +6 -11
  498. package/icons/undo/index.min.js +1 -1
  499. package/icons/upload/index.cjs.js +6 -11
  500. package/icons/upload/index.cjs.min.js +1 -1
  501. package/icons/upload/index.esm.js +6 -11
  502. package/icons/upload/index.esm.min.js +1 -1
  503. package/icons/upload/index.js +6 -11
  504. package/icons/upload/index.min.js +1 -1
  505. package/icons/windowmaximize/index.cjs.js +6 -11
  506. package/icons/windowmaximize/index.cjs.min.js +1 -1
  507. package/icons/windowmaximize/index.esm.js +6 -11
  508. package/icons/windowmaximize/index.esm.min.js +1 -1
  509. package/icons/windowmaximize/index.js +6 -11
  510. package/icons/windowmaximize/index.min.js +1 -1
  511. package/icons/windowminimize/index.cjs.js +6 -11
  512. package/icons/windowminimize/index.cjs.min.js +1 -1
  513. package/icons/windowminimize/index.esm.js +6 -11
  514. package/icons/windowminimize/index.esm.min.js +1 -1
  515. package/icons/windowminimize/index.js +6 -11
  516. package/icons/windowminimize/index.min.js +1 -1
  517. package/image/image.cjs.js +37 -49
  518. package/image/image.cjs.min.js +1 -1
  519. package/image/image.d.ts +4 -4
  520. package/image/image.esm.js +37 -49
  521. package/image/image.esm.min.js +1 -1
  522. package/image/image.js +37 -49
  523. package/image/image.min.js +1 -1
  524. package/inplace/inplace.cjs.js +14 -15
  525. package/inplace/inplace.cjs.min.js +1 -1
  526. package/inplace/inplace.d.ts +2 -2
  527. package/inplace/inplace.esm.js +14 -15
  528. package/inplace/inplace.esm.min.js +1 -1
  529. package/inplace/inplace.js +14 -15
  530. package/inplace/inplace.min.js +1 -1
  531. package/inputicon/inputicon.cjs.js +23 -34
  532. package/inputicon/inputicon.cjs.min.js +1 -1
  533. package/inputicon/inputicon.esm.js +23 -34
  534. package/inputicon/inputicon.esm.min.js +1 -1
  535. package/inputicon/inputicon.js +23 -34
  536. package/inputicon/inputicon.min.js +1 -1
  537. package/inputmask/inputmask.cjs.js +7 -12
  538. package/inputmask/inputmask.cjs.min.js +1 -1
  539. package/inputmask/inputmask.d.ts +2 -2
  540. package/inputmask/inputmask.esm.js +7 -12
  541. package/inputmask/inputmask.esm.min.js +1 -1
  542. package/inputmask/inputmask.js +7 -12
  543. package/inputmask/inputmask.min.js +1 -1
  544. package/inputnumber/inputnumber.cjs.js +49 -58
  545. package/inputnumber/inputnumber.cjs.min.js +1 -1
  546. package/inputnumber/inputnumber.d.ts +4 -4
  547. package/inputnumber/inputnumber.esm.js +49 -58
  548. package/inputnumber/inputnumber.esm.min.js +1 -1
  549. package/inputnumber/inputnumber.js +49 -58
  550. package/inputnumber/inputnumber.min.js +1 -1
  551. package/inputotp/inputotp.cjs.js +65 -56
  552. package/inputotp/inputotp.cjs.min.js +1 -1
  553. package/inputotp/inputotp.esm.js +65 -56
  554. package/inputotp/inputotp.esm.min.js +1 -1
  555. package/inputotp/inputotp.js +65 -56
  556. package/inputotp/inputotp.min.js +1 -1
  557. package/inputswitch/inputswitch.cjs.js +23 -34
  558. package/inputswitch/inputswitch.cjs.min.js +1 -1
  559. package/inputswitch/inputswitch.d.ts +4 -4
  560. package/inputswitch/inputswitch.esm.js +23 -34
  561. package/inputswitch/inputswitch.esm.min.js +1 -1
  562. package/inputswitch/inputswitch.js +23 -34
  563. package/inputswitch/inputswitch.min.js +1 -1
  564. package/inputtext/inputtext.cjs.js +25 -35
  565. package/inputtext/inputtext.cjs.min.js +1 -1
  566. package/inputtext/inputtext.d.ts +1 -1
  567. package/inputtext/inputtext.esm.js +25 -35
  568. package/inputtext/inputtext.esm.min.js +1 -1
  569. package/inputtext/inputtext.js +25 -35
  570. package/inputtext/inputtext.min.js +1 -1
  571. package/inputtextarea/inputtextarea.cjs.js +23 -34
  572. package/inputtextarea/inputtextarea.cjs.min.js +1 -1
  573. package/inputtextarea/inputtextarea.esm.js +23 -34
  574. package/inputtextarea/inputtextarea.esm.min.js +1 -1
  575. package/inputtextarea/inputtextarea.js +23 -34
  576. package/inputtextarea/inputtextarea.min.js +1 -1
  577. package/keyfilter/keyfilter.cjs.js +16 -17
  578. package/keyfilter/keyfilter.cjs.min.js +1 -1
  579. package/keyfilter/keyfilter.esm.js +16 -17
  580. package/keyfilter/keyfilter.esm.min.js +1 -1
  581. package/keyfilter/keyfilter.js +16 -17
  582. package/keyfilter/keyfilter.min.js +1 -1
  583. package/knob/knob.cjs.js +15 -16
  584. package/knob/knob.cjs.min.js +1 -1
  585. package/knob/knob.d.ts +2 -2
  586. package/knob/knob.esm.js +15 -16
  587. package/knob/knob.esm.min.js +1 -1
  588. package/knob/knob.js +15 -16
  589. package/knob/knob.min.js +1 -1
  590. package/listbox/listbox.cjs.js +46 -58
  591. package/listbox/listbox.cjs.min.js +1 -1
  592. package/listbox/listbox.d.ts +4 -4
  593. package/listbox/listbox.esm.js +46 -58
  594. package/listbox/listbox.esm.min.js +1 -1
  595. package/listbox/listbox.js +46 -58
  596. package/listbox/listbox.min.js +1 -1
  597. package/megamenu/megamenu.cjs.js +37 -49
  598. package/megamenu/megamenu.cjs.min.js +1 -1
  599. package/megamenu/megamenu.d.ts +2 -2
  600. package/megamenu/megamenu.esm.js +37 -49
  601. package/megamenu/megamenu.esm.min.js +1 -1
  602. package/megamenu/megamenu.js +37 -49
  603. package/megamenu/megamenu.min.js +1 -1
  604. package/mention/mention.cjs.js +61 -64
  605. package/mention/mention.cjs.min.js +1 -1
  606. package/mention/mention.d.ts +11 -6
  607. package/mention/mention.esm.js +61 -64
  608. package/mention/mention.esm.min.js +1 -1
  609. package/mention/mention.js +61 -64
  610. package/mention/mention.min.js +1 -1
  611. package/menu/menu.cjs.js +57 -58
  612. package/menu/menu.cjs.min.js +1 -1
  613. package/menu/menu.d.ts +2 -2
  614. package/menu/menu.esm.js +58 -59
  615. package/menu/menu.esm.min.js +1 -1
  616. package/menu/menu.js +57 -58
  617. package/menu/menu.min.js +1 -1
  618. package/menubar/menubar.cjs.js +43 -58
  619. package/menubar/menubar.cjs.min.js +1 -1
  620. package/menubar/menubar.d.ts +8 -8
  621. package/menubar/menubar.esm.js +43 -58
  622. package/menubar/menubar.esm.min.js +1 -1
  623. package/menubar/menubar.js +43 -58
  624. package/menubar/menubar.min.js +1 -1
  625. package/message/message.cjs.js +23 -34
  626. package/message/message.cjs.min.js +1 -1
  627. package/message/message.d.ts +2 -2
  628. package/message/message.esm.js +23 -34
  629. package/message/message.esm.min.js +1 -1
  630. package/message/message.js +23 -34
  631. package/message/message.min.js +1 -1
  632. package/messages/messages.cjs.js +43 -55
  633. package/messages/messages.cjs.min.js +1 -1
  634. package/messages/messages.d.ts +2 -2
  635. package/messages/messages.esm.js +43 -55
  636. package/messages/messages.esm.min.js +1 -1
  637. package/messages/messages.js +43 -55
  638. package/messages/messages.min.js +1 -1
  639. package/metergroup/metergroup.cjs.js +23 -34
  640. package/metergroup/metergroup.cjs.min.js +1 -1
  641. package/metergroup/metergroup.esm.js +23 -34
  642. package/metergroup/metergroup.esm.min.js +1 -1
  643. package/metergroup/metergroup.js +23 -34
  644. package/metergroup/metergroup.min.js +1 -1
  645. package/multiselect/multiselect.cjs.js +70 -82
  646. package/multiselect/multiselect.cjs.min.js +1 -1
  647. package/multiselect/multiselect.d.ts +6 -6
  648. package/multiselect/multiselect.esm.js +70 -82
  649. package/multiselect/multiselect.esm.min.js +1 -1
  650. package/multiselect/multiselect.js +70 -82
  651. package/multiselect/multiselect.min.js +1 -1
  652. package/multistatecheckbox/multistatecheckbox.cjs.js +38 -50
  653. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  654. package/multistatecheckbox/multistatecheckbox.d.ts +2 -2
  655. package/multistatecheckbox/multistatecheckbox.esm.js +38 -50
  656. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  657. package/multistatecheckbox/multistatecheckbox.js +38 -50
  658. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  659. package/orderlist/orderlist.cjs.js +77 -58
  660. package/orderlist/orderlist.cjs.min.js +1 -1
  661. package/orderlist/orderlist.d.ts +2 -2
  662. package/orderlist/orderlist.esm.js +77 -58
  663. package/orderlist/orderlist.esm.min.js +1 -1
  664. package/orderlist/orderlist.js +77 -58
  665. package/orderlist/orderlist.min.js +1 -1
  666. package/organizationchart/organizationchart.cjs.js +43 -55
  667. package/organizationchart/organizationchart.cjs.min.js +1 -1
  668. package/organizationchart/organizationchart.d.ts +2 -2
  669. package/organizationchart/organizationchart.esm.js +43 -55
  670. package/organizationchart/organizationchart.esm.min.js +1 -1
  671. package/organizationchart/organizationchart.js +43 -55
  672. package/organizationchart/organizationchart.min.js +1 -1
  673. package/overlaypanel/overlaypanel.cjs.js +46 -59
  674. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  675. package/overlaypanel/overlaypanel.d.ts +2 -2
  676. package/overlaypanel/overlaypanel.esm.js +46 -59
  677. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  678. package/overlaypanel/overlaypanel.js +46 -59
  679. package/overlaypanel/overlaypanel.min.js +1 -1
  680. package/package.json +1 -1
  681. package/paginator/paginator.cjs.js +41 -56
  682. package/paginator/paginator.cjs.min.js +1 -1
  683. package/paginator/paginator.d.ts +2 -2
  684. package/paginator/paginator.esm.js +41 -56
  685. package/paginator/paginator.esm.min.js +1 -1
  686. package/paginator/paginator.js +41 -56
  687. package/paginator/paginator.min.js +1 -1
  688. package/panel/panel.cjs.js +20 -26
  689. package/panel/panel.cjs.min.js +1 -1
  690. package/panel/panel.d.ts +4 -4
  691. package/panel/panel.esm.js +20 -26
  692. package/panel/panel.esm.min.js +1 -1
  693. package/panel/panel.js +20 -26
  694. package/panel/panel.min.js +1 -1
  695. package/panelmenu/panelmenu.cjs.js +37 -49
  696. package/panelmenu/panelmenu.cjs.min.js +1 -1
  697. package/panelmenu/panelmenu.d.ts +2 -2
  698. package/panelmenu/panelmenu.esm.js +37 -49
  699. package/panelmenu/panelmenu.esm.min.js +1 -1
  700. package/panelmenu/panelmenu.js +37 -49
  701. package/panelmenu/panelmenu.min.js +1 -1
  702. package/passthrough/index.cjs.js +17 -23
  703. package/passthrough/index.cjs.min.js +1 -1
  704. package/passthrough/index.esm.js +17 -23
  705. package/passthrough/index.esm.min.js +1 -1
  706. package/passthrough/index.js +17 -23
  707. package/passthrough/index.min.js +1 -1
  708. package/passthrough/tailwind/index.cjs.js +14 -15
  709. package/passthrough/tailwind/index.cjs.min.js +1 -1
  710. package/passthrough/tailwind/index.esm.js +14 -15
  711. package/passthrough/tailwind/index.esm.min.js +1 -1
  712. package/passthrough/tailwind/index.js +14 -15
  713. package/passthrough/tailwind/index.min.js +1 -1
  714. package/password/password.cjs.js +46 -51
  715. package/password/password.cjs.min.js +1 -1
  716. package/password/password.d.ts +6 -6
  717. package/password/password.esm.js +47 -52
  718. package/password/password.esm.min.js +1 -1
  719. package/password/password.js +46 -51
  720. package/password/password.min.js +1 -1
  721. package/picklist/picklist.cjs.js +50 -65
  722. package/picklist/picklist.cjs.min.js +1 -1
  723. package/picklist/picklist.d.ts +2 -2
  724. package/picklist/picklist.esm.js +50 -65
  725. package/picklist/picklist.esm.min.js +1 -1
  726. package/picklist/picklist.js +50 -65
  727. package/picklist/picklist.min.js +1 -1
  728. package/portal/portal.cjs.js +14 -15
  729. package/portal/portal.cjs.min.js +1 -1
  730. package/portal/portal.esm.js +14 -15
  731. package/portal/portal.esm.min.js +1 -1
  732. package/portal/portal.js +14 -15
  733. package/portal/portal.min.js +1 -1
  734. package/primereact.all.cjs.js +858 -539
  735. package/primereact.all.cjs.min.js +1 -1
  736. package/primereact.all.esm.js +859 -540
  737. package/primereact.all.esm.min.js +1 -1
  738. package/primereact.all.js +858 -539
  739. package/primereact.all.min.js +1 -1
  740. package/progressbar/progressbar.cjs.js +23 -34
  741. package/progressbar/progressbar.cjs.min.js +1 -1
  742. package/progressbar/progressbar.d.ts +2 -2
  743. package/progressbar/progressbar.esm.js +23 -34
  744. package/progressbar/progressbar.esm.min.js +1 -1
  745. package/progressbar/progressbar.js +23 -34
  746. package/progressbar/progressbar.min.js +1 -1
  747. package/progressspinner/progressspinner.d.ts +2 -2
  748. package/radiobutton/radiobutton.cjs.js +25 -36
  749. package/radiobutton/radiobutton.cjs.min.js +1 -1
  750. package/radiobutton/radiobutton.d.ts +5 -5
  751. package/radiobutton/radiobutton.esm.js +25 -36
  752. package/radiobutton/radiobutton.esm.min.js +1 -1
  753. package/radiobutton/radiobutton.js +25 -36
  754. package/radiobutton/radiobutton.min.js +1 -1
  755. package/rating/rating.cjs.js +37 -49
  756. package/rating/rating.cjs.min.js +1 -1
  757. package/rating/rating.d.ts +2 -2
  758. package/rating/rating.esm.js +37 -49
  759. package/rating/rating.esm.min.js +1 -1
  760. package/rating/rating.js +37 -49
  761. package/rating/rating.min.js +1 -1
  762. package/ripple/ripple.cjs.js +37 -49
  763. package/ripple/ripple.cjs.min.js +1 -1
  764. package/ripple/ripple.esm.js +37 -49
  765. package/ripple/ripple.esm.min.js +1 -1
  766. package/ripple/ripple.js +37 -49
  767. package/ripple/ripple.min.js +1 -1
  768. package/scrollpanel/scrollpanel.cjs.js +20 -26
  769. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  770. package/scrollpanel/scrollpanel.d.ts +8 -8
  771. package/scrollpanel/scrollpanel.esm.js +20 -26
  772. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  773. package/scrollpanel/scrollpanel.js +20 -26
  774. package/scrollpanel/scrollpanel.min.js +1 -1
  775. package/scrolltop/scrolltop.cjs.js +37 -49
  776. package/scrolltop/scrolltop.cjs.min.js +1 -1
  777. package/scrolltop/scrolltop.d.ts +2 -2
  778. package/scrolltop/scrolltop.esm.js +37 -49
  779. package/scrolltop/scrolltop.esm.min.js +1 -1
  780. package/scrolltop/scrolltop.js +37 -49
  781. package/scrolltop/scrolltop.min.js +1 -1
  782. package/selectbutton/selectbutton.cjs.js +26 -32
  783. package/selectbutton/selectbutton.cjs.min.js +1 -1
  784. package/selectbutton/selectbutton.d.ts +2 -2
  785. package/selectbutton/selectbutton.esm.js +26 -32
  786. package/selectbutton/selectbutton.esm.min.js +1 -1
  787. package/selectbutton/selectbutton.js +26 -32
  788. package/selectbutton/selectbutton.min.js +1 -1
  789. package/sidebar/sidebar.cjs.js +37 -49
  790. package/sidebar/sidebar.cjs.min.js +1 -1
  791. package/sidebar/sidebar.d.ts +6 -6
  792. package/sidebar/sidebar.esm.js +37 -49
  793. package/sidebar/sidebar.esm.min.js +1 -1
  794. package/sidebar/sidebar.js +37 -49
  795. package/sidebar/sidebar.min.js +1 -1
  796. package/skeleton/skeleton.cjs.js +17 -23
  797. package/skeleton/skeleton.cjs.min.js +1 -1
  798. package/skeleton/skeleton.d.ts +2 -2
  799. package/skeleton/skeleton.esm.js +17 -23
  800. package/skeleton/skeleton.esm.min.js +1 -1
  801. package/skeleton/skeleton.js +17 -23
  802. package/skeleton/skeleton.min.js +1 -1
  803. package/slidemenu/slidemenu.cjs.js +46 -51
  804. package/slidemenu/slidemenu.cjs.min.js +1 -1
  805. package/slidemenu/slidemenu.d.ts +2 -2
  806. package/slidemenu/slidemenu.esm.js +47 -52
  807. package/slidemenu/slidemenu.esm.min.js +1 -1
  808. package/slidemenu/slidemenu.js +46 -51
  809. package/slidemenu/slidemenu.min.js +1 -1
  810. package/slider/slider.cjs.js +43 -55
  811. package/slider/slider.cjs.min.js +1 -1
  812. package/slider/slider.d.ts +3 -2
  813. package/slider/slider.esm.js +43 -55
  814. package/slider/slider.esm.min.js +1 -1
  815. package/slider/slider.js +43 -55
  816. package/slider/slider.min.js +1 -1
  817. package/speeddial/speeddial.cjs.js +43 -55
  818. package/speeddial/speeddial.cjs.min.js +1 -1
  819. package/speeddial/speeddial.d.ts +2 -2
  820. package/speeddial/speeddial.esm.js +43 -55
  821. package/speeddial/speeddial.esm.min.js +1 -1
  822. package/speeddial/speeddial.js +43 -55
  823. package/speeddial/speeddial.min.js +1 -1
  824. package/splitbutton/splitbutton.cjs.js +37 -49
  825. package/splitbutton/splitbutton.cjs.min.js +1 -1
  826. package/splitbutton/splitbutton.d.ts +2 -2
  827. package/splitbutton/splitbutton.esm.js +37 -49
  828. package/splitbutton/splitbutton.esm.min.js +1 -1
  829. package/splitbutton/splitbutton.js +37 -49
  830. package/splitbutton/splitbutton.min.js +1 -1
  831. package/splitter/splitter.cjs.js +43 -55
  832. package/splitter/splitter.cjs.min.js +1 -1
  833. package/splitter/splitter.d.ts +2 -2
  834. package/splitter/splitter.esm.js +43 -55
  835. package/splitter/splitter.esm.min.js +1 -1
  836. package/splitter/splitter.js +43 -55
  837. package/splitter/splitter.min.js +1 -1
  838. package/stepper/stepper.cjs.js +39 -50
  839. package/stepper/stepper.cjs.min.js +1 -1
  840. package/stepper/stepper.d.ts +8 -3
  841. package/stepper/stepper.esm.js +39 -50
  842. package/stepper/stepper.esm.min.js +1 -1
  843. package/stepper/stepper.js +39 -50
  844. package/stepper/stepper.min.js +1 -1
  845. package/steps/steps.cjs.js +37 -49
  846. package/steps/steps.cjs.min.js +1 -1
  847. package/steps/steps.d.ts +2 -2
  848. package/steps/steps.esm.js +37 -49
  849. package/steps/steps.esm.min.js +1 -1
  850. package/steps/steps.js +37 -49
  851. package/steps/steps.min.js +1 -1
  852. package/styleclass/styleclass.cjs.js +14 -15
  853. package/styleclass/styleclass.cjs.min.js +1 -1
  854. package/styleclass/styleclass.d.ts +4 -4
  855. package/styleclass/styleclass.esm.js +14 -15
  856. package/styleclass/styleclass.esm.min.js +1 -1
  857. package/styleclass/styleclass.js +14 -15
  858. package/styleclass/styleclass.min.js +1 -1
  859. package/tabmenu/tabmenu.cjs.js +37 -49
  860. package/tabmenu/tabmenu.cjs.min.js +1 -1
  861. package/tabmenu/tabmenu.d.ts +2 -2
  862. package/tabmenu/tabmenu.esm.js +37 -49
  863. package/tabmenu/tabmenu.esm.min.js +1 -1
  864. package/tabmenu/tabmenu.js +37 -49
  865. package/tabmenu/tabmenu.min.js +1 -1
  866. package/tabview/tabview.cjs.js +37 -44
  867. package/tabview/tabview.cjs.min.js +1 -1
  868. package/tabview/tabview.d.ts +2 -2
  869. package/tabview/tabview.esm.js +37 -44
  870. package/tabview/tabview.esm.min.js +1 -1
  871. package/tabview/tabview.js +37 -44
  872. package/tabview/tabview.min.js +1 -1
  873. package/tag/tag.cjs.js +17 -23
  874. package/tag/tag.cjs.min.js +1 -1
  875. package/tag/tag.d.ts +2 -2
  876. package/tag/tag.esm.js +17 -23
  877. package/tag/tag.esm.min.js +1 -1
  878. package/tag/tag.js +17 -23
  879. package/tag/tag.min.js +1 -1
  880. package/terminal/terminal.cjs.js +20 -21
  881. package/terminal/terminal.cjs.min.js +1 -1
  882. package/terminal/terminal.d.ts +2 -2
  883. package/terminal/terminal.esm.js +20 -21
  884. package/terminal/terminal.esm.min.js +1 -1
  885. package/terminal/terminal.js +20 -21
  886. package/terminal/terminal.min.js +1 -1
  887. package/tieredmenu/tieredmenu.cjs.js +37 -49
  888. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  889. package/tieredmenu/tieredmenu.d.ts +2 -2
  890. package/tieredmenu/tieredmenu.esm.js +37 -49
  891. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  892. package/tieredmenu/tieredmenu.js +37 -49
  893. package/tieredmenu/tieredmenu.min.js +1 -1
  894. package/timeline/timeline.cjs.js +23 -34
  895. package/timeline/timeline.cjs.min.js +1 -1
  896. package/timeline/timeline.d.ts +4 -4
  897. package/timeline/timeline.esm.js +23 -34
  898. package/timeline/timeline.esm.min.js +1 -1
  899. package/timeline/timeline.js +23 -34
  900. package/timeline/timeline.min.js +1 -1
  901. package/toast/toast.cjs.js +43 -55
  902. package/toast/toast.cjs.min.js +1 -1
  903. package/toast/toast.d.ts +2 -2
  904. package/toast/toast.esm.js +43 -55
  905. package/toast/toast.esm.min.js +1 -1
  906. package/toast/toast.js +43 -55
  907. package/toast/toast.min.js +1 -1
  908. package/togglebutton/togglebutton.cjs.js +23 -34
  909. package/togglebutton/togglebutton.cjs.min.js +1 -1
  910. package/togglebutton/togglebutton.d.ts +2 -2
  911. package/togglebutton/togglebutton.esm.js +23 -34
  912. package/togglebutton/togglebutton.esm.min.js +1 -1
  913. package/togglebutton/togglebutton.js +23 -34
  914. package/togglebutton/togglebutton.min.js +1 -1
  915. package/toolbar/toolbar.d.ts +2 -2
  916. package/tooltip/tooltip.cjs.js +43 -55
  917. package/tooltip/tooltip.cjs.min.js +1 -1
  918. package/tooltip/tooltip.d.ts +3 -3
  919. package/tooltip/tooltip.esm.js +43 -55
  920. package/tooltip/tooltip.esm.min.js +1 -1
  921. package/tooltip/tooltip.js +43 -55
  922. package/tooltip/tooltip.min.js +1 -1
  923. package/tree/tree.cjs.js +52 -64
  924. package/tree/tree.cjs.min.js +1 -1
  925. package/tree/tree.d.ts +2 -2
  926. package/tree/tree.esm.js +52 -64
  927. package/tree/tree.esm.min.js +1 -1
  928. package/tree/tree.js +52 -64
  929. package/tree/tree.min.js +1 -1
  930. package/treeselect/treeselect.cjs.js +61 -66
  931. package/treeselect/treeselect.cjs.min.js +1 -1
  932. package/treeselect/treeselect.d.ts +2 -2
  933. package/treeselect/treeselect.esm.js +61 -66
  934. package/treeselect/treeselect.esm.min.js +1 -1
  935. package/treeselect/treeselect.js +61 -66
  936. package/treeselect/treeselect.min.js +1 -1
  937. package/treetable/treetable.cjs.js +57 -69
  938. package/treetable/treetable.cjs.min.js +1 -1
  939. package/treetable/treetable.d.ts +2 -2
  940. package/treetable/treetable.esm.js +57 -69
  941. package/treetable/treetable.esm.min.js +1 -1
  942. package/treetable/treetable.js +57 -69
  943. package/treetable/treetable.min.js +1 -1
  944. package/tristatecheckbox/tristatecheckbox.cjs.js +43 -55
  945. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  946. package/tristatecheckbox/tristatecheckbox.d.ts +2 -2
  947. package/tristatecheckbox/tristatecheckbox.esm.js +43 -55
  948. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  949. package/tristatecheckbox/tristatecheckbox.js +43 -55
  950. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  951. package/utils/utils.cjs.js +197 -99
  952. package/utils/utils.cjs.min.js +1 -1
  953. package/utils/utils.d.ts +5 -1
  954. package/utils/utils.esm.js +197 -99
  955. package/utils/utils.esm.min.js +1 -1
  956. package/utils/utils.js +197 -99
  957. package/utils/utils.min.js +1 -1
  958. package/virtualscroller/virtualscroller.cjs.js +37 -49
  959. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  960. package/virtualscroller/virtualscroller.esm.js +37 -49
  961. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  962. package/virtualscroller/virtualscroller.js +37 -49
  963. package/virtualscroller/virtualscroller.min.js +1 -1
  964. package/web-types.json +46 -10
package/utils/utils.js CHANGED
@@ -22,8 +22,8 @@ this.primereact.utils = (function (exports, React) {
22
22
 
23
23
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
24
24
 
25
- function _arrayWithHoles(arr) {
26
- if (Array.isArray(arr)) return arr;
25
+ function _arrayWithHoles(r) {
26
+ if (Array.isArray(r)) return r;
27
27
  }
28
28
 
29
29
  function _iterableToArrayLimit(r, l) {
@@ -54,27 +54,26 @@ this.primereact.utils = (function (exports, React) {
54
54
  }
55
55
  }
56
56
 
57
- function _arrayLikeToArray$2(arr, len) {
58
- if (len == null || len > arr.length) len = arr.length;
59
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
60
- return arr2;
57
+ function _arrayLikeToArray$2(r, a) {
58
+ (null == a || a > r.length) && (a = r.length);
59
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
60
+ return n;
61
61
  }
62
62
 
63
- function _unsupportedIterableToArray$2(o, minLen) {
64
- if (!o) return;
65
- if (typeof o === "string") return _arrayLikeToArray$2(o, minLen);
66
- var n = Object.prototype.toString.call(o).slice(8, -1);
67
- if (n === "Object" && o.constructor) n = o.constructor.name;
68
- if (n === "Map" || n === "Set") return Array.from(o);
69
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen);
63
+ function _unsupportedIterableToArray$2(r, a) {
64
+ if (r) {
65
+ if ("string" == typeof r) return _arrayLikeToArray$2(r, a);
66
+ var t = {}.toString.call(r).slice(8, -1);
67
+ 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$2(r, a) : void 0;
68
+ }
70
69
  }
71
70
 
72
71
  function _nonIterableRest() {
73
72
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
74
73
  }
75
74
 
76
- function _slicedToArray(arr, i) {
77
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest();
75
+ function _slicedToArray(r, e) {
76
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray$2(r, e) || _nonIterableRest();
78
77
  }
79
78
 
80
79
  function _typeof(o) {
@@ -118,80 +117,66 @@ this.primereact.utils = (function (exports, React) {
118
117
  return undefined;
119
118
  }
120
119
 
121
- function _arrayWithoutHoles(arr) {
122
- if (Array.isArray(arr)) return _arrayLikeToArray$2(arr);
120
+ function _arrayWithoutHoles(r) {
121
+ if (Array.isArray(r)) return _arrayLikeToArray$2(r);
123
122
  }
124
123
 
125
- function _iterableToArray(iter) {
126
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
124
+ function _iterableToArray(r) {
125
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
127
126
  }
128
127
 
129
128
  function _nonIterableSpread() {
130
129
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
131
130
  }
132
131
 
133
- function _toConsumableArray(arr) {
134
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread();
132
+ function _toConsumableArray(r) {
133
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$2(r) || _nonIterableSpread();
135
134
  }
136
135
 
137
- function _classCallCheck(instance, Constructor) {
138
- if (!(instance instanceof Constructor)) {
139
- throw new TypeError("Cannot call a class as a function");
140
- }
136
+ function _classCallCheck(a, n) {
137
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
141
138
  }
142
139
 
143
- function _toPrimitive(input, hint) {
144
- if (_typeof(input) !== "object" || input === null) return input;
145
- var prim = input[Symbol.toPrimitive];
146
- if (prim !== undefined) {
147
- var res = prim.call(input, hint || "default");
148
- if (_typeof(res) !== "object") return res;
140
+ function toPrimitive(t, r) {
141
+ if ("object" != _typeof(t) || !t) return t;
142
+ var e = t[Symbol.toPrimitive];
143
+ if (void 0 !== e) {
144
+ var i = e.call(t, r || "default");
145
+ if ("object" != _typeof(i)) return i;
149
146
  throw new TypeError("@@toPrimitive must return a primitive value.");
150
147
  }
151
- return (hint === "string" ? String : Number)(input);
148
+ return ("string" === r ? String : Number)(t);
152
149
  }
153
150
 
154
- function _toPropertyKey(arg) {
155
- var key = _toPrimitive(arg, "string");
156
- return _typeof(key) === "symbol" ? key : String(key);
151
+ function toPropertyKey(t) {
152
+ var i = toPrimitive(t, "string");
153
+ return "symbol" == _typeof(i) ? i : i + "";
157
154
  }
158
155
 
159
- function _defineProperties(target, props) {
160
- for (var i = 0; i < props.length; i++) {
161
- var descriptor = props[i];
162
- descriptor.enumerable = descriptor.enumerable || false;
163
- descriptor.configurable = true;
164
- if ("value" in descriptor) descriptor.writable = true;
165
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
156
+ function _defineProperties(e, r) {
157
+ for (var t = 0; t < r.length; t++) {
158
+ var o = r[t];
159
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
166
160
  }
167
161
  }
168
- function _createClass(Constructor, protoProps, staticProps) {
169
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
170
- if (staticProps) _defineProperties(Constructor, staticProps);
171
- Object.defineProperty(Constructor, "prototype", {
172
- writable: false
173
- });
174
- return Constructor;
162
+ function _createClass(e, r, t) {
163
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
164
+ writable: !1
165
+ }), e;
175
166
  }
176
167
 
177
- function _defineProperty(obj, key, value) {
178
- key = _toPropertyKey(key);
179
- if (key in obj) {
180
- Object.defineProperty(obj, key, {
181
- value: value,
182
- enumerable: true,
183
- configurable: true,
184
- writable: true
185
- });
186
- } else {
187
- obj[key] = value;
188
- }
189
- return obj;
168
+ function _defineProperty(e, r, t) {
169
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
170
+ value: t,
171
+ enumerable: !0,
172
+ configurable: !0,
173
+ writable: !0
174
+ }) : e[r] = t, e;
190
175
  }
191
176
 
192
- function _createForOfIteratorHelper$1(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
193
- function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); }
194
- function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
177
+ function _createForOfIteratorHelper$1(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(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; } } }; }
178
+ function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(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$1(r, a) : void 0; } }
179
+ function _arrayLikeToArray$1(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; }
195
180
  var DomHandler = /*#__PURE__*/function () {
196
181
  function DomHandler() {
197
182
  _classCallCheck(this, DomHandler);
@@ -564,11 +549,18 @@ this.primereact.utils = (function (exports, React) {
564
549
  element.style.transformOrigin = 'top';
565
550
  }
566
551
  var targetOffsetPx = targetOffset.left;
567
- var alignOffset = align === 'left' ? 0 : elementOuterWidth - targetOuterWidth;
568
- if (targetOffsetPx + targetOuterWidth + elementOuterWidth > viewport.width) {
569
- left = Math.max(0, targetOffsetPx + windowScrollLeft + targetOuterWidth - elementOuterWidth);
552
+ if (align === 'left') {
553
+ if (targetOffsetPx + elementOuterWidth > viewport.width) {
554
+ left = Math.max(0, targetOffsetPx + windowScrollLeft + targetOuterWidth - elementOuterWidth);
555
+ } else {
556
+ left = targetOffsetPx + windowScrollLeft;
557
+ }
570
558
  } else {
571
- left = targetOffsetPx - alignOffset + windowScrollLeft;
559
+ if (targetOffsetPx + targetOuterWidth - elementOuterWidth < 0) {
560
+ left = windowScrollLeft;
561
+ } else {
562
+ left = targetOffsetPx + targetOuterWidth - elementOuterWidth + windowScrollLeft;
563
+ }
572
564
  }
573
565
  element.style.top = top + 'px';
574
566
  element.style.left = left + 'px';
@@ -777,13 +769,12 @@ this.primereact.utils = (function (exports, React) {
777
769
  /**
778
770
  * Gets all scrollable parent elements of a given element
779
771
  * @param {HTMLElement} element - The element to find scrollable parents for
780
- * @param {boolean} hideOverlaysOnDocumentScrolling - Whether to include window/document level scrolling
781
772
  * @returns {Array} Array of scrollable parent elements
782
773
  */
783
774
  }, {
784
775
  key: "getScrollableParents",
785
776
  value: function getScrollableParents(element) {
786
- var hideOverlaysOnDocumentScrolling = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
777
+ var _this3 = this;
787
778
  var scrollableParents = [];
788
779
  if (element) {
789
780
  // Get all parent elements
@@ -806,10 +797,8 @@ this.primereact.utils = (function (exports, React) {
806
797
  * @param {HTMLElement} node - Element to add
807
798
  */
808
799
  var addScrollableParent = function addScrollableParent(node) {
809
- if (hideOverlaysOnDocumentScrolling) {
810
- // For document/body/html elements, add window instead
811
- scrollableParents.push(node.nodeName === 'BODY' || node.nodeName === 'HTML' || node.nodeType === 9 ? window : node);
812
- }
800
+ // For document/body/html elements, add window instead
801
+ scrollableParents.push(node.nodeName === 'BODY' || node.nodeName === 'HTML' || _this3.isDocument(node) ? window : node);
813
802
  };
814
803
 
815
804
  // Iterate through all parent elements
@@ -853,13 +842,6 @@ this.primereact.utils = (function (exports, React) {
853
842
  _iterator.f();
854
843
  }
855
844
  }
856
-
857
- // Ensure window/body is always included as fallback
858
- if (!scrollableParents.some(function (node) {
859
- return node === document.body || node === window;
860
- })) {
861
- scrollableParents.push(hideOverlaysOnDocumentScrolling ? window : document.body);
862
- }
863
845
  return scrollableParents;
864
846
  }
865
847
  }, {
@@ -999,6 +981,11 @@ this.primereact.utils = (function (exports, React) {
999
981
  value: function isElement(obj) {
1000
982
  return (typeof HTMLElement === "undefined" ? "undefined" : _typeof(HTMLElement)) === 'object' ? obj instanceof HTMLElement : obj && _typeof(obj) === 'object' && obj !== null && obj.nodeType === 1 && typeof obj.nodeName === 'string';
1001
983
  }
984
+ }, {
985
+ key: "isDocument",
986
+ value: function isDocument(obj) {
987
+ return (typeof Document === "undefined" ? "undefined" : _typeof(Document)) === 'object' ? obj instanceof Document : obj && _typeof(obj) === 'object' && obj !== null && obj.nodeType === 9;
988
+ }
1002
989
  }, {
1003
990
  key: "scrollInView",
1004
991
  value: function scrollInView(container, item) {
@@ -1336,7 +1323,7 @@ this.primereact.utils = (function (exports, React) {
1336
1323
  return !!(obj && obj.constructor && obj.call && obj.apply);
1337
1324
  };
1338
1325
  var element = isFunction(target) ? target() : target;
1339
- return element && element.nodeType === 9 || this.isExist(element) ? element : null;
1326
+ return this.isDocument(element) || this.isExist(element) ? element : null;
1340
1327
  }
1341
1328
 
1342
1329
  /**
@@ -1486,23 +1473,18 @@ this.primereact.utils = (function (exports, React) {
1486
1473
  }
1487
1474
 
1488
1475
  function _extends() {
1489
- _extends = Object.assign ? Object.assign.bind() : function (target) {
1490
- for (var i = 1; i < arguments.length; i++) {
1491
- var source = arguments[i];
1492
- for (var key in source) {
1493
- if (Object.prototype.hasOwnProperty.call(source, key)) {
1494
- target[key] = source[key];
1495
- }
1496
- }
1476
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
1477
+ for (var e = 1; e < arguments.length; e++) {
1478
+ var t = arguments[e];
1479
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
1497
1480
  }
1498
- return target;
1499
- };
1500
- return _extends.apply(this, arguments);
1481
+ return n;
1482
+ }, _extends.apply(null, arguments);
1501
1483
  }
1502
1484
 
1503
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
1504
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
1505
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
1485
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(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; } } }; }
1486
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(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(r, a) : void 0; } }
1487
+ function _arrayLikeToArray(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; }
1506
1488
  var ObjectUtils = /*#__PURE__*/function () {
1507
1489
  function ObjectUtils() {
1508
1490
  _classCallCheck(this, ObjectUtils);
@@ -1757,13 +1739,13 @@ this.primereact.utils = (function (exports, React) {
1757
1739
  params[_key4 - 1] = arguments[_key4];
1758
1740
  }
1759
1741
  if (params.length === 1) {
1760
- // For single parameter, unwrap array if needed
1742
+ // For single parameter case, unwrap array if needed to avoid extra nesting
1761
1743
  var param = params[0];
1762
1744
  return obj(Array.isArray(param) ? param[0] : param);
1763
1745
  }
1764
1746
 
1765
1747
  // Pass all parameters to function
1766
- return obj(params);
1748
+ return obj.apply(void 0, params);
1767
1749
  }
1768
1750
  }, {
1769
1751
  key: "getComponentProp",
@@ -2054,6 +2036,122 @@ this.primereact.utils = (function (exports, React) {
2054
2036
  obj = obj[fields[i]];
2055
2037
  }
2056
2038
  }
2039
+
2040
+ /**
2041
+ * This helper function takes an object and a dot-separated key path. It traverses the object based on the path,
2042
+ * returning the value at the specified depth. If any part of the path is missing or undefined, it returns undefined.
2043
+ *
2044
+ * Example:
2045
+ * const obj = { name: 'Alice', address: { city: 'Wonderland', zip: 12345 } };
2046
+ * const path = 'address.city';
2047
+ * const result = ObjectUtils.getNestedValue(obj, path);
2048
+ * console.log(result); // Output: "Wonderland"
2049
+ *
2050
+ * @param {object} obj - The object to traverse.
2051
+ * @param {string} path - The dot-separated key path.
2052
+ * @returns {*} The value at the specified depth, or undefined if any part of the path is missing or undefined.
2053
+ */
2054
+ }, {
2055
+ key: "getNestedValue",
2056
+ value: function getNestedValue(obj, path) {
2057
+ return path.split('.').reduce(function (acc, part) {
2058
+ return acc && acc[part] !== undefined ? acc[part] : undefined;
2059
+ }, obj);
2060
+ }
2061
+
2062
+ /**
2063
+ * This function takes an object and a dot-separated key path. It traverses the object based on the path,
2064
+ * returning the value at the specified depth. If any part of the path is missing or undefined, it returns undefined.
2065
+ *
2066
+ * Example:
2067
+ * const objA = { name: 'Alice', address: { city: 'Wonderland', zip: 12345 } };
2068
+ * const objB = { name: 'Alice', address: { city: 'Wonderland', zip: 12345 } };
2069
+ * const result = ObjectUtils.absoluteCompare(objA, objB);
2070
+ * console.log(result); // Output: true
2071
+ *
2072
+ * const objC = { name: 'Alice', address: { city: 'Wonderland', zip: 12346 } };
2073
+ * const result2 = ObjectUtils.absoluteCompare(objA, objC);
2074
+ * console.log(result2); // Output: false
2075
+ *
2076
+ * @param {object} objA - The first object to compare.
2077
+ * @param {object} objB - The second object to compare.
2078
+ * @param {number} [maxDepth=1] - The maximum depth to compare.
2079
+ * @param {number} [currentDepth=0] - The current depth (used internally for recursion).
2080
+ * @returns {boolean} True if the objects are equal within the specified depth, false otherwise.
2081
+ *
2082
+ */
2083
+ }, {
2084
+ key: "absoluteCompare",
2085
+ value: function absoluteCompare(objA, objB) {
2086
+ var maxDepth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
2087
+ var currentDepth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
2088
+ if (!objA || !objB) return true;
2089
+ if (currentDepth > maxDepth) return true;
2090
+ if (_typeof(objA) !== _typeof(objB)) return false;
2091
+ var aKeys = Object.keys(objA);
2092
+ var bKeys = Object.keys(objB);
2093
+ if (aKeys.length !== bKeys.length) return false;
2094
+ for (var _i = 0, _aKeys = aKeys; _i < _aKeys.length; _i++) {
2095
+ var key = _aKeys[_i];
2096
+ var aValue = objA[key];
2097
+ var bValue = objB[key];
2098
+
2099
+ // Skip comparison if values are objects
2100
+ var isObject = ObjectUtils.isObject(aValue) && ObjectUtils.isObject(bValue);
2101
+ var isFunction = ObjectUtils.isFunction(aValue) && ObjectUtils.isFunction(bValue);
2102
+ if ((isObject || isFunction) && !this.absoluteCompare(aValue, bValue, maxDepth, currentDepth + 1)) return false;
2103
+ if (!isObject && aValue !== bValue) return false;
2104
+ }
2105
+ return true;
2106
+ }
2107
+
2108
+ /**
2109
+ * This helper function takes two objects and a list of keys to compare. It compares the values of the specified keys
2110
+ * in both objects. If any comparison fails, it returns false. If all specified properties are equal, it returns true.
2111
+ * It performs a shallow comparison using absoluteCompare if no keys are provided.
2112
+ *
2113
+ * Example:
2114
+ * const objA = { name: 'Alice', address: { city: 'Wonderland', zip: 12345 } };
2115
+ * const objB = { name: 'Alice', address: { city: 'Wonderland', zip: 12345 } };
2116
+ * const keysToCompare = ['name', 'address.city', 'address.zip'];
2117
+ * const result = ObjectUtils.selectiveCompare(objA, objB, keysToCompare);
2118
+ * console.log(result); // Output: true
2119
+ *
2120
+ * const objC = { name: 'Alice', address: { city: 'Wonderland', zip: 12346 } };
2121
+ * const result2 = ObjectUtils.selectiveCompare(objA, objC, keysToCompare);
2122
+ * console.log(result2); // Output: false
2123
+ *
2124
+ * @param {object} a - The first object to compare.
2125
+ * @param {object} b - The second object to compare.
2126
+ * @param {string[]} [keysToCompare] - The keys to compare. If not provided, performs a shallow comparison using absoluteCompare.
2127
+ * @returns {boolean} True if all specified properties are equal, false otherwise.
2128
+ */
2129
+ }, {
2130
+ key: "selectiveCompare",
2131
+ value: function selectiveCompare(a, b, keysToCompare) {
2132
+ if (a === b) return true;
2133
+ if (!a || !b || _typeof(a) !== 'object' || _typeof(b) !== 'object') return false;
2134
+ if (!keysToCompare) return this.absoluteCompare(a, b, 1); // If no keys are provided, the comparison is limited to one depth level.
2135
+ var _iterator2 = _createForOfIteratorHelper(keysToCompare),
2136
+ _step2;
2137
+ try {
2138
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
2139
+ var key = _step2.value;
2140
+ var aValue = this.getNestedValue(a, key);
2141
+ var bValue = this.getNestedValue(b, key);
2142
+ var isObject = _typeof(aValue) === 'object' && aValue !== null && _typeof(bValue) === 'object' && bValue !== null;
2143
+
2144
+ // If the current key is an object, they are compared in one further level only.
2145
+ if (isObject && !this.absoluteCompare(aValue, bValue, 1)) return false;
2146
+ if (!isObject && aValue !== bValue) return false;
2147
+ }
2148
+ } catch (err) {
2149
+ _iterator2.e(err);
2150
+ } finally {
2151
+ _iterator2.f();
2152
+ }
2153
+ return true;
2154
+ }
2057
2155
  }]);
2058
2156
  }();
2059
2157