primereact 9.4.0 → 9.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (886) hide show
  1. package/accordion/accordion.cjs.js +2 -1
  2. package/accordion/accordion.cjs.min.js +1 -1
  3. package/accordion/accordion.esm.js +3 -2
  4. package/accordion/accordion.esm.min.js +1 -1
  5. package/accordion/accordion.js +2 -1
  6. package/accordion/accordion.min.js +1 -1
  7. package/api/api.cjs.js +215 -3
  8. package/api/api.cjs.min.js +1 -1
  9. package/api/api.d.ts +882 -8
  10. package/api/api.esm.js +210 -4
  11. package/api/api.esm.min.js +1 -1
  12. package/api/api.js +216 -5
  13. package/api/api.min.js +1 -1
  14. package/autocomplete/autocomplete.cjs.js +148 -89
  15. package/autocomplete/autocomplete.cjs.min.js +1 -1
  16. package/autocomplete/autocomplete.d.ts +138 -2
  17. package/autocomplete/autocomplete.esm.js +150 -91
  18. package/autocomplete/autocomplete.esm.min.js +1 -1
  19. package/autocomplete/autocomplete.js +149 -91
  20. package/autocomplete/autocomplete.min.css +1 -1
  21. package/autocomplete/autocomplete.min.js +1 -1
  22. package/avatar/avatar.cjs.js +3 -1
  23. package/avatar/avatar.cjs.min.js +1 -1
  24. package/avatar/avatar.d.ts +1 -1
  25. package/avatar/avatar.esm.js +3 -1
  26. package/avatar/avatar.esm.min.js +1 -1
  27. package/avatar/avatar.js +4 -3
  28. package/avatar/avatar.min.js +1 -1
  29. package/avatargroup/avatargroup.cjs.js +3 -1
  30. package/avatargroup/avatargroup.cjs.min.js +1 -1
  31. package/avatargroup/avatargroup.esm.js +3 -1
  32. package/avatargroup/avatargroup.esm.min.js +1 -1
  33. package/avatargroup/avatargroup.js +4 -3
  34. package/avatargroup/avatargroup.min.js +1 -1
  35. package/badge/badge.cjs.js +3 -1
  36. package/badge/badge.cjs.min.js +1 -1
  37. package/badge/badge.esm.js +3 -1
  38. package/badge/badge.esm.min.js +1 -1
  39. package/badge/badge.js +4 -3
  40. package/badge/badge.min.js +1 -1
  41. package/blockui/blockui.cjs.js +4 -3
  42. package/blockui/blockui.cjs.min.js +1 -1
  43. package/blockui/blockui.esm.js +4 -3
  44. package/blockui/blockui.esm.min.js +1 -1
  45. package/blockui/blockui.js +5 -4
  46. package/blockui/blockui.min.js +1 -1
  47. package/breadcrumb/breadcrumb.cjs.js +97 -52
  48. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  49. package/breadcrumb/breadcrumb.d.ts +53 -1
  50. package/breadcrumb/breadcrumb.esm.js +97 -52
  51. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  52. package/breadcrumb/breadcrumb.js +96 -53
  53. package/breadcrumb/breadcrumb.min.css +1 -1
  54. package/breadcrumb/breadcrumb.min.js +1 -1
  55. package/button/button.cjs.js +6 -2
  56. package/button/button.cjs.min.js +1 -1
  57. package/button/button.d.ts +6 -0
  58. package/button/button.esm.js +6 -2
  59. package/button/button.esm.min.js +1 -1
  60. package/button/button.js +7 -4
  61. package/button/button.min.js +1 -1
  62. package/calendar/calendar.cjs.js +322 -223
  63. package/calendar/calendar.cjs.min.js +1 -1
  64. package/calendar/calendar.d.ts +272 -3
  65. package/calendar/calendar.esm.js +324 -225
  66. package/calendar/calendar.esm.min.js +1 -1
  67. package/calendar/calendar.js +323 -225
  68. package/calendar/calendar.min.js +1 -1
  69. package/card/card.cjs.js +3 -1
  70. package/card/card.cjs.min.js +1 -1
  71. package/card/card.d.ts +5 -11
  72. package/card/card.esm.js +3 -1
  73. package/card/card.esm.min.js +1 -1
  74. package/card/card.js +4 -3
  75. package/card/card.min.js +1 -1
  76. package/carousel/carousel.cjs.js +154 -92
  77. package/carousel/carousel.cjs.min.js +1 -1
  78. package/carousel/carousel.d.ts +121 -1
  79. package/carousel/carousel.esm.js +156 -94
  80. package/carousel/carousel.esm.min.js +1 -1
  81. package/carousel/carousel.js +155 -94
  82. package/carousel/carousel.min.js +1 -1
  83. package/cascadeselect/cascadeselect.cjs.js +181 -108
  84. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  85. package/cascadeselect/cascadeselect.d.ts +100 -1
  86. package/cascadeselect/cascadeselect.esm.js +183 -110
  87. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  88. package/cascadeselect/cascadeselect.js +180 -108
  89. package/cascadeselect/cascadeselect.min.js +1 -1
  90. package/chart/chart.cjs.js +31 -44
  91. package/chart/chart.cjs.min.js +1 -1
  92. package/chart/chart.d.ts +30 -0
  93. package/chart/chart.esm.js +18 -31
  94. package/chart/chart.esm.min.js +1 -1
  95. package/chart/chart.js +141 -156
  96. package/chart/chart.min.js +1 -1
  97. package/checkbox/checkbox.cjs.js +113 -48
  98. package/checkbox/checkbox.cjs.min.js +1 -1
  99. package/checkbox/checkbox.d.ts +65 -1
  100. package/checkbox/checkbox.esm.js +115 -50
  101. package/checkbox/checkbox.esm.min.js +1 -1
  102. package/checkbox/checkbox.js +113 -50
  103. package/checkbox/checkbox.min.js +1 -1
  104. package/chip/chip.cjs.js +3 -1
  105. package/chip/chip.cjs.min.js +1 -1
  106. package/chip/chip.d.ts +1 -1
  107. package/chip/chip.esm.js +3 -1
  108. package/chip/chip.esm.min.js +1 -1
  109. package/chip/chip.js +4 -3
  110. package/chip/chip.min.js +1 -1
  111. package/chips/chips.cjs.js +84 -55
  112. package/chips/chips.cjs.min.js +1 -1
  113. package/chips/chips.d.ts +78 -6
  114. package/chips/chips.esm.js +85 -56
  115. package/chips/chips.esm.min.js +1 -1
  116. package/chips/chips.js +83 -57
  117. package/chips/chips.min.js +1 -1
  118. package/colorpicker/colorpicker.cjs.js +123 -49
  119. package/colorpicker/colorpicker.cjs.min.js +1 -1
  120. package/colorpicker/colorpicker.d.ts +81 -0
  121. package/colorpicker/colorpicker.esm.js +125 -51
  122. package/colorpicker/colorpicker.esm.min.js +1 -1
  123. package/colorpicker/colorpicker.js +124 -51
  124. package/colorpicker/colorpicker.min.js +1 -1
  125. package/column/column.cjs.js +2 -0
  126. package/column/column.d.ts +298 -1
  127. package/column/column.esm.js +2 -0
  128. package/column/column.js +2 -0
  129. package/columngroup/columngroup.d.ts +28 -0
  130. package/componentbase/componentbase.cjs.js +29 -5
  131. package/componentbase/componentbase.cjs.min.js +1 -1
  132. package/componentbase/componentbase.esm.js +25 -5
  133. package/componentbase/componentbase.esm.min.js +1 -1
  134. package/componentbase/componentbase.js +30 -7
  135. package/componentbase/componentbase.min.js +1 -1
  136. package/confirmdialog/confirmdialog.cjs.js +4 -3
  137. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  138. package/confirmdialog/confirmdialog.esm.js +5 -4
  139. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  140. package/confirmdialog/confirmdialog.js +4 -3
  141. package/confirmdialog/confirmdialog.min.js +1 -1
  142. package/confirmpopup/confirmpopup.cjs.js +5 -4
  143. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  144. package/confirmpopup/confirmpopup.esm.js +6 -5
  145. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  146. package/confirmpopup/confirmpopup.js +5 -4
  147. package/confirmpopup/confirmpopup.min.js +1 -1
  148. package/contextmenu/contextmenu.cjs.js +121 -69
  149. package/contextmenu/contextmenu.cjs.min.js +1 -1
  150. package/contextmenu/contextmenu.d.ts +92 -1
  151. package/contextmenu/contextmenu.esm.js +123 -71
  152. package/contextmenu/contextmenu.esm.min.js +1 -1
  153. package/contextmenu/contextmenu.js +122 -71
  154. package/contextmenu/contextmenu.min.js +1 -1
  155. package/core/core.js +14005 -2381
  156. package/core/core.min.js +47 -47
  157. package/csstransition/csstransition.cjs.js +3 -2
  158. package/csstransition/csstransition.cjs.min.js +1 -1
  159. package/csstransition/csstransition.esm.js +3 -2
  160. package/csstransition/csstransition.esm.min.js +1 -1
  161. package/csstransition/csstransition.js +4 -3
  162. package/csstransition/csstransition.min.js +1 -1
  163. package/datascroller/datascroller.cjs.js +34 -43
  164. package/datascroller/datascroller.cjs.min.js +1 -1
  165. package/datascroller/datascroller.d.ts +51 -1
  166. package/datascroller/datascroller.esm.js +36 -45
  167. package/datascroller/datascroller.esm.min.js +1 -1
  168. package/datascroller/datascroller.js +35 -45
  169. package/datascroller/datascroller.min.js +1 -1
  170. package/datatable/datatable.cjs.js +1089 -649
  171. package/datatable/datatable.cjs.min.js +1 -1
  172. package/datatable/datatable.d.ts +191 -3
  173. package/datatable/datatable.esm.js +1091 -651
  174. package/datatable/datatable.esm.min.js +1 -1
  175. package/datatable/datatable.js +1090 -651
  176. package/datatable/datatable.min.js +1 -1
  177. package/dataview/dataview.cjs.js +125 -109
  178. package/dataview/dataview.cjs.min.js +1 -1
  179. package/dataview/dataview.d.ts +105 -2
  180. package/dataview/dataview.esm.js +127 -111
  181. package/dataview/dataview.esm.min.js +1 -1
  182. package/dataview/dataview.js +123 -108
  183. package/dataview/dataview.min.js +1 -1
  184. package/deferredcontent/deferredcontent.cjs.js +3 -1
  185. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  186. package/deferredcontent/deferredcontent.esm.js +3 -1
  187. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  188. package/deferredcontent/deferredcontent.js +4 -3
  189. package/deferredcontent/deferredcontent.min.js +1 -1
  190. package/dialog/dialog.cjs.js +6 -5
  191. package/dialog/dialog.cjs.min.js +1 -1
  192. package/dialog/dialog.esm.js +7 -6
  193. package/dialog/dialog.esm.min.js +1 -1
  194. package/dialog/dialog.js +6 -5
  195. package/dialog/dialog.min.js +1 -1
  196. package/divider/divider.cjs.js +3 -1
  197. package/divider/divider.cjs.min.js +1 -1
  198. package/divider/divider.esm.js +3 -1
  199. package/divider/divider.esm.min.js +1 -1
  200. package/divider/divider.js +4 -3
  201. package/divider/divider.min.js +1 -1
  202. package/dock/dock.cjs.js +85 -46
  203. package/dock/dock.cjs.min.js +1 -1
  204. package/dock/dock.d.ts +66 -0
  205. package/dock/dock.esm.js +86 -47
  206. package/dock/dock.esm.min.js +1 -1
  207. package/dock/dock.js +85 -48
  208. package/dock/dock.min.js +1 -1
  209. package/dropdown/dropdown.cjs.js +170 -120
  210. package/dropdown/dropdown.cjs.min.js +1 -1
  211. package/dropdown/dropdown.d.ts +154 -2
  212. package/dropdown/dropdown.esm.js +172 -122
  213. package/dropdown/dropdown.esm.min.js +1 -1
  214. package/dropdown/dropdown.js +170 -121
  215. package/dropdown/dropdown.min.js +1 -1
  216. package/editor/editor.cjs.js +95 -116
  217. package/editor/editor.cjs.min.js +1 -1
  218. package/editor/editor.d.ts +50 -0
  219. package/editor/editor.esm.js +96 -117
  220. package/editor/editor.esm.min.js +1 -1
  221. package/editor/editor.js +95 -118
  222. package/editor/editor.min.js +1 -1
  223. package/fieldset/fieldset.cjs.js +3 -1
  224. package/fieldset/fieldset.cjs.min.js +1 -1
  225. package/fieldset/fieldset.esm.js +3 -1
  226. package/fieldset/fieldset.esm.min.js +1 -1
  227. package/fieldset/fieldset.js +4 -3
  228. package/fieldset/fieldset.min.js +1 -1
  229. package/fileupload/fileupload.cjs.js +234 -191
  230. package/fileupload/fileupload.cjs.min.js +1 -1
  231. package/fileupload/fileupload.d.ts +160 -1
  232. package/fileupload/fileupload.esm.js +235 -192
  233. package/fileupload/fileupload.esm.min.js +1 -1
  234. package/fileupload/fileupload.js +231 -188
  235. package/fileupload/fileupload.min.js +1 -1
  236. package/galleria/galleria.cjs.js +139 -124
  237. package/galleria/galleria.cjs.min.js +1 -1
  238. package/galleria/galleria.d.ts +156 -2
  239. package/galleria/galleria.esm.js +141 -126
  240. package/galleria/galleria.esm.min.js +1 -1
  241. package/galleria/galleria.js +138 -124
  242. package/galleria/galleria.min.js +1 -1
  243. package/hooks/hooks.cjs.js +10 -3
  244. package/hooks/hooks.cjs.min.js +1 -1
  245. package/hooks/hooks.esm.js +7 -3
  246. package/hooks/hooks.esm.min.js +1 -1
  247. package/hooks/hooks.js +11 -5
  248. package/hooks/hooks.min.js +1 -1
  249. package/icons/arrowdown/index.cjs.js +415 -2
  250. package/icons/arrowdown/index.cjs.min.js +1 -1
  251. package/icons/arrowdown/index.esm.js +415 -2
  252. package/icons/arrowdown/index.esm.min.js +1 -1
  253. package/icons/arrowdown/index.js +415 -2
  254. package/icons/arrowdown/index.min.js +1 -1
  255. package/icons/arrowup/index.cjs.js +415 -2
  256. package/icons/arrowup/index.cjs.min.js +1 -1
  257. package/icons/arrowup/index.esm.js +415 -2
  258. package/icons/arrowup/index.esm.min.js +1 -1
  259. package/icons/arrowup/index.js +415 -2
  260. package/icons/arrowup/index.min.js +1 -1
  261. package/icons/ban/index.cjs.js +415 -2
  262. package/icons/ban/index.cjs.min.js +1 -1
  263. package/icons/ban/index.esm.js +415 -2
  264. package/icons/ban/index.esm.min.js +1 -1
  265. package/icons/ban/index.js +415 -2
  266. package/icons/ban/index.min.js +1 -1
  267. package/icons/download/index.cjs.js +415 -2
  268. package/icons/download/index.cjs.min.js +1 -1
  269. package/icons/download/index.esm.js +415 -2
  270. package/icons/download/index.esm.min.js +1 -1
  271. package/icons/download/index.js +415 -2
  272. package/icons/download/index.min.js +1 -1
  273. package/icons/exclamationtriangle/index.cjs.js +415 -2
  274. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  275. package/icons/exclamationtriangle/index.esm.js +415 -2
  276. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  277. package/icons/exclamationtriangle/index.js +415 -2
  278. package/icons/exclamationtriangle/index.min.js +1 -1
  279. package/icons/eyeslash/index.cjs.js +415 -2
  280. package/icons/eyeslash/index.cjs.min.js +1 -1
  281. package/icons/eyeslash/index.esm.js +415 -2
  282. package/icons/eyeslash/index.esm.min.js +1 -1
  283. package/icons/eyeslash/index.js +415 -2
  284. package/icons/eyeslash/index.min.js +1 -1
  285. package/icons/filter/index.cjs.js +415 -2
  286. package/icons/filter/index.cjs.min.js +1 -1
  287. package/icons/filter/index.esm.js +415 -2
  288. package/icons/filter/index.esm.min.js +1 -1
  289. package/icons/filter/index.js +415 -2
  290. package/icons/filter/index.min.js +1 -1
  291. package/icons/filterslash/index.cjs.js +415 -2
  292. package/icons/filterslash/index.cjs.min.js +1 -1
  293. package/icons/filterslash/index.esm.js +415 -2
  294. package/icons/filterslash/index.esm.min.js +1 -1
  295. package/icons/filterslash/index.js +415 -2
  296. package/icons/filterslash/index.min.js +1 -1
  297. package/icons/infocircle/index.cjs.js +415 -2
  298. package/icons/infocircle/index.cjs.min.js +1 -1
  299. package/icons/infocircle/index.esm.js +415 -2
  300. package/icons/infocircle/index.esm.min.js +1 -1
  301. package/icons/infocircle/index.js +415 -2
  302. package/icons/infocircle/index.min.js +1 -1
  303. package/icons/pencil/index.cjs.js +415 -2
  304. package/icons/pencil/index.cjs.min.js +1 -1
  305. package/icons/pencil/index.esm.js +415 -2
  306. package/icons/pencil/index.esm.min.js +1 -1
  307. package/icons/pencil/index.js +415 -2
  308. package/icons/pencil/index.min.js +1 -1
  309. package/icons/plus/index.cjs.js +415 -2
  310. package/icons/plus/index.cjs.min.js +1 -1
  311. package/icons/plus/index.esm.js +415 -2
  312. package/icons/plus/index.esm.min.js +1 -1
  313. package/icons/plus/index.js +415 -2
  314. package/icons/plus/index.min.js +1 -1
  315. package/icons/refresh/index.cjs.js +415 -2
  316. package/icons/refresh/index.cjs.min.js +1 -1
  317. package/icons/refresh/index.esm.js +415 -2
  318. package/icons/refresh/index.esm.min.js +1 -1
  319. package/icons/refresh/index.js +415 -2
  320. package/icons/refresh/index.min.js +1 -1
  321. package/icons/search/index.cjs.js +415 -2
  322. package/icons/search/index.cjs.min.js +1 -1
  323. package/icons/search/index.esm.js +415 -2
  324. package/icons/search/index.esm.min.js +1 -1
  325. package/icons/search/index.js +415 -2
  326. package/icons/search/index.min.js +1 -1
  327. package/icons/searchminus/index.cjs.js +415 -2
  328. package/icons/searchminus/index.cjs.min.js +1 -1
  329. package/icons/searchminus/index.esm.js +415 -2
  330. package/icons/searchminus/index.esm.min.js +1 -1
  331. package/icons/searchminus/index.js +415 -2
  332. package/icons/searchminus/index.min.js +1 -1
  333. package/icons/searchplus/index.cjs.js +415 -2
  334. package/icons/searchplus/index.cjs.min.js +1 -1
  335. package/icons/searchplus/index.esm.js +415 -2
  336. package/icons/searchplus/index.esm.min.js +1 -1
  337. package/icons/searchplus/index.js +415 -2
  338. package/icons/searchplus/index.min.js +1 -1
  339. package/icons/sortalt/index.cjs.js +415 -2
  340. package/icons/sortalt/index.cjs.min.js +1 -1
  341. package/icons/sortalt/index.esm.js +415 -2
  342. package/icons/sortalt/index.esm.min.js +1 -1
  343. package/icons/sortalt/index.js +415 -2
  344. package/icons/sortalt/index.min.js +1 -1
  345. package/icons/sortamountdown/index.cjs.js +415 -2
  346. package/icons/sortamountdown/index.cjs.min.js +1 -1
  347. package/icons/sortamountdown/index.esm.js +415 -2
  348. package/icons/sortamountdown/index.esm.min.js +1 -1
  349. package/icons/sortamountdown/index.js +415 -2
  350. package/icons/sortamountdown/index.min.js +1 -1
  351. package/icons/sortamountupalt/index.cjs.js +415 -2
  352. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  353. package/icons/sortamountupalt/index.esm.js +415 -2
  354. package/icons/sortamountupalt/index.esm.min.js +1 -1
  355. package/icons/sortamountupalt/index.js +415 -2
  356. package/icons/sortamountupalt/index.min.js +1 -1
  357. package/icons/spinner/index.cjs.js +415 -2
  358. package/icons/spinner/index.cjs.min.js +1 -1
  359. package/icons/spinner/index.esm.js +415 -2
  360. package/icons/spinner/index.esm.min.js +1 -1
  361. package/icons/spinner/index.js +415 -2
  362. package/icons/spinner/index.min.js +1 -1
  363. package/icons/star/index.cjs.js +415 -2
  364. package/icons/star/index.cjs.min.js +1 -1
  365. package/icons/star/index.esm.js +415 -2
  366. package/icons/star/index.esm.min.js +1 -1
  367. package/icons/star/index.js +415 -2
  368. package/icons/star/index.min.js +1 -1
  369. package/icons/starfill/index.cjs.js +415 -2
  370. package/icons/starfill/index.cjs.min.js +1 -1
  371. package/icons/starfill/index.esm.js +415 -2
  372. package/icons/starfill/index.esm.min.js +1 -1
  373. package/icons/starfill/index.js +415 -2
  374. package/icons/starfill/index.min.js +1 -1
  375. package/icons/thlarge/index.cjs.js +415 -2
  376. package/icons/thlarge/index.cjs.min.js +1 -1
  377. package/icons/thlarge/index.esm.js +415 -2
  378. package/icons/thlarge/index.esm.min.js +1 -1
  379. package/icons/thlarge/index.js +415 -2
  380. package/icons/thlarge/index.min.js +1 -1
  381. package/icons/timescircle/index.cjs.js +415 -2
  382. package/icons/timescircle/index.cjs.min.js +1 -1
  383. package/icons/timescircle/index.esm.js +415 -2
  384. package/icons/timescircle/index.esm.min.js +1 -1
  385. package/icons/timescircle/index.js +415 -2
  386. package/icons/timescircle/index.min.js +1 -1
  387. package/icons/trash/index.cjs.js +415 -2
  388. package/icons/trash/index.cjs.min.js +1 -1
  389. package/icons/trash/index.esm.js +415 -2
  390. package/icons/trash/index.esm.min.js +1 -1
  391. package/icons/trash/index.js +415 -2
  392. package/icons/trash/index.min.js +1 -1
  393. package/icons/undo/index.cjs.js +415 -2
  394. package/icons/undo/index.cjs.min.js +1 -1
  395. package/icons/undo/index.esm.js +415 -2
  396. package/icons/undo/index.esm.min.js +1 -1
  397. package/icons/undo/index.js +415 -2
  398. package/icons/undo/index.min.js +1 -1
  399. package/icons/upload/index.cjs.js +415 -2
  400. package/icons/upload/index.cjs.min.js +1 -1
  401. package/icons/upload/index.esm.js +415 -2
  402. package/icons/upload/index.esm.min.js +1 -1
  403. package/icons/upload/index.js +415 -2
  404. package/icons/upload/index.min.js +1 -1
  405. package/icons/windowmaximize/index.cjs.js +415 -2
  406. package/icons/windowmaximize/index.cjs.min.js +1 -1
  407. package/icons/windowmaximize/index.esm.js +415 -2
  408. package/icons/windowmaximize/index.esm.min.js +1 -1
  409. package/icons/windowmaximize/index.js +415 -2
  410. package/icons/windowmaximize/index.min.js +1 -1
  411. package/icons/windowminimize/index.cjs.js +415 -2
  412. package/icons/windowminimize/index.cjs.min.js +1 -1
  413. package/icons/windowminimize/index.esm.js +415 -2
  414. package/icons/windowminimize/index.esm.min.js +1 -1
  415. package/icons/windowminimize/index.js +415 -2
  416. package/icons/windowminimize/index.min.js +1 -1
  417. package/image/image.cjs.js +480 -80
  418. package/image/image.cjs.min.js +1 -1
  419. package/image/image.d.ts +130 -3
  420. package/image/image.esm.js +483 -83
  421. package/image/image.esm.min.js +1 -1
  422. package/image/image.js +481 -82
  423. package/image/image.min.css +1 -1
  424. package/image/image.min.js +1 -1
  425. package/inplace/inplace.cjs.js +2 -1
  426. package/inplace/inplace.cjs.min.js +1 -1
  427. package/inplace/inplace.esm.js +3 -2
  428. package/inplace/inplace.esm.min.js +1 -1
  429. package/inplace/inplace.js +2 -1
  430. package/inplace/inplace.min.js +1 -1
  431. package/inputmask/inputmask.cjs.js +26 -26
  432. package/inputmask/inputmask.cjs.min.js +1 -1
  433. package/inputmask/inputmask.d.ts +7 -2
  434. package/inputmask/inputmask.esm.js +27 -27
  435. package/inputmask/inputmask.esm.min.js +1 -1
  436. package/inputmask/inputmask.js +26 -28
  437. package/inputmask/inputmask.min.js +1 -1
  438. package/inputnumber/inputnumber.cjs.js +68 -48
  439. package/inputnumber/inputnumber.cjs.min.js +1 -1
  440. package/inputnumber/inputnumber.d.ts +62 -1
  441. package/inputnumber/inputnumber.esm.js +66 -49
  442. package/inputnumber/inputnumber.esm.min.js +1 -1
  443. package/inputnumber/inputnumber.js +68 -50
  444. package/inputnumber/inputnumber.min.js +1 -1
  445. package/inputswitch/inputswitch.cjs.js +84 -25
  446. package/inputswitch/inputswitch.cjs.min.js +1 -1
  447. package/inputswitch/inputswitch.d.ts +61 -0
  448. package/inputswitch/inputswitch.esm.js +85 -26
  449. package/inputswitch/inputswitch.esm.min.js +1 -1
  450. package/inputswitch/inputswitch.js +83 -27
  451. package/inputswitch/inputswitch.min.js +1 -1
  452. package/inputtext/inputtext.cjs.js +25 -15
  453. package/inputtext/inputtext.cjs.min.js +1 -1
  454. package/inputtext/inputtext.d.ts +32 -0
  455. package/inputtext/inputtext.esm.js +26 -16
  456. package/inputtext/inputtext.esm.min.js +1 -1
  457. package/inputtext/inputtext.js +25 -17
  458. package/inputtext/inputtext.min.js +1 -1
  459. package/inputtextarea/inputtextarea.cjs.js +25 -15
  460. package/inputtextarea/inputtextarea.cjs.min.js +1 -1
  461. package/inputtextarea/inputtextarea.d.ts +33 -1
  462. package/inputtextarea/inputtextarea.esm.js +26 -16
  463. package/inputtextarea/inputtextarea.esm.min.js +1 -1
  464. package/inputtextarea/inputtextarea.js +25 -17
  465. package/inputtextarea/inputtextarea.min.js +1 -1
  466. package/keyfilter/keyfilter.cjs.js +25 -9
  467. package/keyfilter/keyfilter.cjs.min.js +1 -1
  468. package/keyfilter/keyfilter.esm.js +25 -9
  469. package/keyfilter/keyfilter.esm.min.js +1 -1
  470. package/keyfilter/keyfilter.js +25 -11
  471. package/keyfilter/keyfilter.min.js +1 -1
  472. package/knob/knob.cjs.js +44 -43
  473. package/knob/knob.cjs.min.js +1 -1
  474. package/knob/knob.d.ts +42 -0
  475. package/knob/knob.esm.js +45 -44
  476. package/knob/knob.esm.min.js +1 -1
  477. package/knob/knob.js +44 -45
  478. package/knob/knob.min.js +1 -1
  479. package/listbox/listbox.cjs.js +86 -56
  480. package/listbox/listbox.cjs.min.js +1 -1
  481. package/listbox/listbox.d.ts +103 -3
  482. package/listbox/listbox.esm.js +88 -58
  483. package/listbox/listbox.esm.min.js +1 -1
  484. package/listbox/listbox.js +86 -57
  485. package/listbox/listbox.min.js +1 -1
  486. package/megamenu/megamenu.cjs.js +151 -99
  487. package/megamenu/megamenu.cjs.min.js +1 -1
  488. package/megamenu/megamenu.d.ts +142 -2
  489. package/megamenu/megamenu.esm.js +152 -100
  490. package/megamenu/megamenu.esm.min.js +1 -1
  491. package/megamenu/megamenu.js +149 -98
  492. package/megamenu/megamenu.min.js +1 -1
  493. package/mention/mention.cjs.js +87 -61
  494. package/mention/mention.cjs.min.js +1 -1
  495. package/mention/mention.d.ts +80 -1
  496. package/mention/mention.esm.js +89 -63
  497. package/mention/mention.esm.min.js +1 -1
  498. package/mention/mention.js +88 -63
  499. package/mention/mention.min.js +1 -1
  500. package/menu/menu.cjs.js +99 -59
  501. package/menu/menu.cjs.min.js +1 -1
  502. package/menu/menu.d.ts +71 -0
  503. package/menu/menu.esm.js +101 -61
  504. package/menu/menu.esm.min.js +1 -1
  505. package/menu/menu.js +100 -61
  506. package/menu/menu.min.js +1 -1
  507. package/menubar/menubar.cjs.js +122 -114
  508. package/menubar/menubar.cjs.min.js +1 -1
  509. package/menubar/menubar.d.ts +94 -1
  510. package/menubar/menubar.esm.js +124 -116
  511. package/menubar/menubar.esm.min.js +1 -1
  512. package/menubar/menubar.js +122 -115
  513. package/menubar/menubar.min.js +1 -1
  514. package/message/message.cjs.js +69 -47
  515. package/message/message.cjs.min.js +1 -1
  516. package/message/message.d.ts +35 -2
  517. package/message/message.esm.js +70 -48
  518. package/message/message.esm.min.js +1 -1
  519. package/message/message.js +69 -49
  520. package/message/message.min.js +1 -1
  521. package/messages/messages.cjs.js +65 -63
  522. package/messages/messages.cjs.min.js +1 -1
  523. package/messages/messages.d.ts +51 -2
  524. package/messages/messages.esm.js +66 -64
  525. package/messages/messages.esm.min.js +1 -1
  526. package/messages/messages.js +65 -64
  527. package/messages/messages.min.js +1 -1
  528. package/multiselect/multiselect.cjs.js +249 -193
  529. package/multiselect/multiselect.cjs.min.js +1 -1
  530. package/multiselect/multiselect.d.ts +185 -3
  531. package/multiselect/multiselect.esm.js +252 -196
  532. package/multiselect/multiselect.esm.min.js +1 -1
  533. package/multiselect/multiselect.js +249 -194
  534. package/multiselect/multiselect.min.js +1 -1
  535. package/multistatecheckbox/multistatecheckbox.cjs.js +47 -33
  536. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  537. package/multistatecheckbox/multistatecheckbox.d.ts +61 -2
  538. package/multistatecheckbox/multistatecheckbox.esm.js +49 -35
  539. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  540. package/multistatecheckbox/multistatecheckbox.js +48 -35
  541. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  542. package/orderlist/orderlist.cjs.js +188 -110
  543. package/orderlist/orderlist.cjs.min.js +1 -1
  544. package/orderlist/orderlist.d.ts +118 -2
  545. package/orderlist/orderlist.esm.js +190 -112
  546. package/orderlist/orderlist.esm.min.js +1 -1
  547. package/orderlist/orderlist.js +186 -109
  548. package/orderlist/orderlist.min.js +1 -1
  549. package/organizationchart/organizationchart.cjs.js +139 -73
  550. package/organizationchart/organizationchart.cjs.min.js +1 -1
  551. package/organizationchart/organizationchart.d.ts +89 -2
  552. package/organizationchart/organizationchart.esm.js +140 -74
  553. package/organizationchart/organizationchart.esm.min.js +1 -1
  554. package/organizationchart/organizationchart.js +139 -75
  555. package/organizationchart/organizationchart.min.js +1 -1
  556. package/overlaypanel/overlaypanel.cjs.js +7 -6
  557. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  558. package/overlaypanel/overlaypanel.d.ts +5 -0
  559. package/overlaypanel/overlaypanel.esm.js +8 -7
  560. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  561. package/overlaypanel/overlaypanel.js +8 -7
  562. package/overlaypanel/overlaypanel.min.js +1 -1
  563. package/package.json +1 -1
  564. package/paginator/paginator.cjs.js +172 -166
  565. package/paginator/paginator.cjs.min.js +1 -1
  566. package/paginator/paginator.d.ts +111 -5
  567. package/paginator/paginator.esm.js +174 -168
  568. package/paginator/paginator.esm.min.js +1 -1
  569. package/paginator/paginator.js +172 -167
  570. package/paginator/paginator.min.js +1 -1
  571. package/panel/panel.cjs.js +3 -1
  572. package/panel/panel.cjs.min.js +1 -1
  573. package/panel/panel.esm.js +3 -1
  574. package/panel/panel.esm.min.js +1 -1
  575. package/panel/panel.js +4 -3
  576. package/panel/panel.min.js +1 -1
  577. package/panelmenu/panelmenu.cjs.js +148 -84
  578. package/panelmenu/panelmenu.cjs.min.js +1 -1
  579. package/panelmenu/panelmenu.d.ts +124 -2
  580. package/panelmenu/panelmenu.esm.js +148 -84
  581. package/panelmenu/panelmenu.esm.min.js +1 -1
  582. package/panelmenu/panelmenu.js +146 -84
  583. package/panelmenu/panelmenu.min.js +1 -1
  584. package/password/password.cjs.js +89 -46
  585. package/password/password.cjs.min.js +1 -1
  586. package/password/password.d.ts +98 -2
  587. package/password/password.esm.js +91 -48
  588. package/password/password.esm.min.js +1 -1
  589. package/password/password.js +88 -46
  590. package/password/password.min.js +1 -1
  591. package/picklist/picklist.cjs.js +146 -82
  592. package/picklist/picklist.cjs.min.js +1 -1
  593. package/picklist/picklist.d.ts +133 -1
  594. package/picklist/picklist.esm.js +148 -84
  595. package/picklist/picklist.esm.min.js +1 -1
  596. package/picklist/picklist.js +143 -80
  597. package/picklist/picklist.min.js +1 -1
  598. package/portal/portal.cjs.js +3 -2
  599. package/portal/portal.cjs.min.js +1 -1
  600. package/portal/portal.esm.js +3 -2
  601. package/portal/portal.esm.min.js +1 -1
  602. package/portal/portal.js +4 -3
  603. package/portal/portal.min.js +1 -1
  604. package/primereact.all.cjs.js +6656 -4389
  605. package/primereact.all.cjs.min.js +1 -1
  606. package/primereact.all.esm.js +6655 -4390
  607. package/primereact.all.esm.min.js +1 -1
  608. package/primereact.all.js +6656 -4389
  609. package/primereact.all.min.js +1 -1
  610. package/progressbar/progressbar.cjs.js +3 -1
  611. package/progressbar/progressbar.cjs.min.js +1 -1
  612. package/progressbar/progressbar.esm.js +3 -1
  613. package/progressbar/progressbar.esm.min.js +1 -1
  614. package/progressbar/progressbar.js +4 -3
  615. package/progressbar/progressbar.min.js +1 -1
  616. package/progressspinner/progressspinner.cjs.js +3 -1
  617. package/progressspinner/progressspinner.cjs.min.js +1 -1
  618. package/progressspinner/progressspinner.esm.js +3 -1
  619. package/progressspinner/progressspinner.esm.min.js +1 -1
  620. package/progressspinner/progressspinner.js +4 -3
  621. package/progressspinner/progressspinner.min.js +1 -1
  622. package/radiobutton/radiobutton.cjs.js +90 -30
  623. package/radiobutton/radiobutton.cjs.min.js +1 -1
  624. package/radiobutton/radiobutton.d.ts +66 -1
  625. package/radiobutton/radiobutton.esm.js +91 -31
  626. package/radiobutton/radiobutton.esm.min.js +1 -1
  627. package/radiobutton/radiobutton.js +89 -32
  628. package/radiobutton/radiobutton.min.js +1 -1
  629. package/rating/rating.cjs.js +47 -36
  630. package/rating/rating.cjs.min.js +1 -1
  631. package/rating/rating.d.ts +64 -1
  632. package/rating/rating.esm.js +48 -37
  633. package/rating/rating.esm.min.js +1 -1
  634. package/rating/rating.js +47 -38
  635. package/rating/rating.min.js +1 -1
  636. package/resources/primereact.css +475 -465
  637. package/resources/primereact.min.css +1 -1
  638. package/resources/themes/arya-blue/theme.css +33 -8
  639. package/resources/themes/arya-green/theme.css +33 -8
  640. package/resources/themes/arya-orange/theme.css +33 -8
  641. package/resources/themes/arya-purple/theme.css +33 -8
  642. package/resources/themes/bootstrap4-dark-blue/theme.css +33 -8
  643. package/resources/themes/bootstrap4-dark-purple/theme.css +33 -8
  644. package/resources/themes/bootstrap4-light-blue/theme.css +33 -8
  645. package/resources/themes/bootstrap4-light-purple/theme.css +33 -8
  646. package/resources/themes/fluent-light/theme.css +33 -8
  647. package/resources/themes/lara-dark-blue/theme.css +33 -8
  648. package/resources/themes/lara-dark-indigo/theme.css +33 -8
  649. package/resources/themes/lara-dark-purple/theme.css +33 -8
  650. package/resources/themes/lara-dark-teal/theme.css +33 -8
  651. package/resources/themes/lara-light-blue/theme.css +33 -8
  652. package/resources/themes/lara-light-indigo/theme.css +33 -8
  653. package/resources/themes/lara-light-purple/theme.css +33 -8
  654. package/resources/themes/lara-light-teal/theme.css +33 -8
  655. package/resources/themes/luna-amber/theme.css +33 -8
  656. package/resources/themes/luna-blue/theme.css +33 -8
  657. package/resources/themes/luna-green/theme.css +33 -8
  658. package/resources/themes/luna-pink/theme.css +33 -8
  659. package/resources/themes/md-dark-deeppurple/theme.css +33 -8
  660. package/resources/themes/md-dark-indigo/theme.css +33 -8
  661. package/resources/themes/md-light-deeppurple/theme.css +33 -8
  662. package/resources/themes/md-light-indigo/theme.css +33 -8
  663. package/resources/themes/mdc-dark-deeppurple/theme.css +33 -8
  664. package/resources/themes/mdc-dark-indigo/theme.css +33 -8
  665. package/resources/themes/mdc-light-deeppurple/theme.css +33 -8
  666. package/resources/themes/mdc-light-indigo/theme.css +33 -8
  667. package/resources/themes/mira/theme.css +33 -8
  668. package/resources/themes/nano/theme.css +33 -8
  669. package/resources/themes/nova/theme.css +33 -8
  670. package/resources/themes/nova-accent/theme.css +33 -8
  671. package/resources/themes/nova-alt/theme.css +33 -8
  672. package/resources/themes/rhea/theme.css +33 -8
  673. package/resources/themes/saga-blue/theme.css +33 -8
  674. package/resources/themes/saga-green/theme.css +33 -8
  675. package/resources/themes/saga-orange/theme.css +33 -8
  676. package/resources/themes/saga-purple/theme.css +33 -8
  677. package/resources/themes/soho-dark/theme.css +33 -8
  678. package/resources/themes/soho-light/theme.css +33 -8
  679. package/resources/themes/tailwind-light/theme.css +45 -20
  680. package/resources/themes/vela-blue/theme.css +33 -8
  681. package/resources/themes/vela-green/theme.css +33 -8
  682. package/resources/themes/vela-orange/theme.css +33 -8
  683. package/resources/themes/vela-purple/theme.css +33 -8
  684. package/resources/themes/viva-dark/theme.css +33 -8
  685. package/resources/themes/viva-light/theme.css +33 -8
  686. package/ripple/ripple.cjs.js +3 -2
  687. package/ripple/ripple.cjs.min.js +1 -1
  688. package/ripple/ripple.esm.js +3 -2
  689. package/ripple/ripple.esm.min.js +1 -1
  690. package/ripple/ripple.js +4 -3
  691. package/ripple/ripple.min.js +1 -1
  692. package/row/row.cjs.js +28 -41
  693. package/row/row.cjs.min.js +1 -1
  694. package/row/row.d.ts +28 -0
  695. package/row/row.esm.js +15 -28
  696. package/row/row.esm.min.js +1 -1
  697. package/row/row.js +49 -64
  698. package/row/row.min.js +1 -1
  699. package/scrollpanel/scrollpanel.cjs.js +3 -1
  700. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  701. package/scrollpanel/scrollpanel.esm.js +3 -1
  702. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  703. package/scrollpanel/scrollpanel.js +4 -3
  704. package/scrollpanel/scrollpanel.min.js +1 -1
  705. package/scrolltop/scrolltop.cjs.js +9 -7
  706. package/scrolltop/scrolltop.cjs.min.js +1 -1
  707. package/scrolltop/scrolltop.esm.js +11 -9
  708. package/scrolltop/scrolltop.esm.min.js +1 -1
  709. package/scrolltop/scrolltop.js +10 -8
  710. package/scrolltop/scrolltop.min.js +1 -1
  711. package/selectbutton/selectbutton.cjs.js +37 -25
  712. package/selectbutton/selectbutton.cjs.min.js +1 -1
  713. package/selectbutton/selectbutton.d.ts +52 -1
  714. package/selectbutton/selectbutton.esm.js +38 -26
  715. package/selectbutton/selectbutton.esm.min.js +1 -1
  716. package/selectbutton/selectbutton.js +37 -27
  717. package/selectbutton/selectbutton.min.js +1 -1
  718. package/sidebar/sidebar.cjs.js +7 -6
  719. package/sidebar/sidebar.cjs.min.js +1 -1
  720. package/sidebar/sidebar.esm.js +8 -7
  721. package/sidebar/sidebar.esm.min.js +1 -1
  722. package/sidebar/sidebar.js +8 -7
  723. package/sidebar/sidebar.min.js +1 -1
  724. package/skeleton/skeleton.cjs.js +4 -3
  725. package/skeleton/skeleton.cjs.min.js +1 -1
  726. package/skeleton/skeleton.esm.js +4 -3
  727. package/skeleton/skeleton.esm.min.js +1 -1
  728. package/skeleton/skeleton.js +5 -5
  729. package/skeleton/skeleton.min.js +1 -1
  730. package/slidemenu/slidemenu.cjs.js +125 -114
  731. package/slidemenu/slidemenu.cjs.min.js +1 -1
  732. package/slidemenu/slidemenu.d.ts +103 -1
  733. package/slidemenu/slidemenu.esm.js +127 -116
  734. package/slidemenu/slidemenu.esm.min.js +1 -1
  735. package/slidemenu/slidemenu.js +125 -115
  736. package/slidemenu/slidemenu.min.js +1 -1
  737. package/slider/slider.cjs.js +71 -39
  738. package/slider/slider.cjs.min.js +1 -1
  739. package/slider/slider.d.ts +34 -1
  740. package/slider/slider.esm.js +72 -40
  741. package/slider/slider.esm.min.js +1 -1
  742. package/slider/slider.js +71 -41
  743. package/slider/slider.min.js +1 -1
  744. package/speeddial/speeddial.cjs.js +3 -1
  745. package/speeddial/speeddial.cjs.min.js +1 -1
  746. package/speeddial/speeddial.esm.js +3 -1
  747. package/speeddial/speeddial.esm.min.js +1 -1
  748. package/speeddial/speeddial.js +4 -3
  749. package/speeddial/speeddial.min.js +1 -1
  750. package/splitbutton/splitbutton.cjs.js +74 -63
  751. package/splitbutton/splitbutton.cjs.min.js +1 -1
  752. package/splitbutton/splitbutton.d.ts +39 -11
  753. package/splitbutton/splitbutton.esm.js +76 -65
  754. package/splitbutton/splitbutton.esm.min.js +1 -1
  755. package/splitbutton/splitbutton.js +74 -63
  756. package/splitbutton/splitbutton.min.js +1 -1
  757. package/splitter/splitter.cjs.js +3 -1
  758. package/splitter/splitter.cjs.min.js +1 -1
  759. package/splitter/splitter.d.ts +10 -0
  760. package/splitter/splitter.esm.js +3 -1
  761. package/splitter/splitter.esm.min.js +1 -1
  762. package/splitter/splitter.js +4 -3
  763. package/splitter/splitter.min.js +1 -1
  764. package/steps/steps.cjs.js +81 -46
  765. package/steps/steps.cjs.min.js +1 -1
  766. package/steps/steps.d.ts +50 -0
  767. package/steps/steps.esm.js +82 -47
  768. package/steps/steps.esm.min.js +1 -1
  769. package/steps/steps.js +81 -48
  770. package/steps/steps.min.js +1 -1
  771. package/styleclass/styleclass.cjs.js +3 -1
  772. package/styleclass/styleclass.cjs.min.js +1 -1
  773. package/styleclass/styleclass.esm.js +3 -1
  774. package/styleclass/styleclass.esm.min.js +1 -1
  775. package/styleclass/styleclass.js +4 -3
  776. package/styleclass/styleclass.min.js +1 -1
  777. package/tabmenu/tabmenu.cjs.js +86 -48
  778. package/tabmenu/tabmenu.cjs.min.js +1 -1
  779. package/tabmenu/tabmenu.d.ts +62 -0
  780. package/tabmenu/tabmenu.esm.js +87 -49
  781. package/tabmenu/tabmenu.esm.min.js +1 -1
  782. package/tabmenu/tabmenu.js +86 -50
  783. package/tabmenu/tabmenu.min.js +1 -1
  784. package/tabview/tabview.cjs.js +8 -5
  785. package/tabview/tabview.cjs.min.js +1 -1
  786. package/tabview/tabview.esm.js +9 -6
  787. package/tabview/tabview.esm.min.js +1 -1
  788. package/tabview/tabview.js +7 -4
  789. package/tabview/tabview.min.js +1 -1
  790. package/tag/tag.cjs.js +3 -1
  791. package/tag/tag.cjs.min.js +1 -1
  792. package/tag/tag.esm.js +3 -1
  793. package/tag/tag.esm.min.js +1 -1
  794. package/tag/tag.js +4 -3
  795. package/tag/tag.min.js +1 -1
  796. package/terminal/terminal.cjs.js +3 -1
  797. package/terminal/terminal.cjs.min.js +1 -1
  798. package/terminal/terminal.esm.js +3 -1
  799. package/terminal/terminal.esm.min.js +1 -1
  800. package/terminal/terminal.js +4 -3
  801. package/terminal/terminal.min.js +1 -1
  802. package/tieredmenu/tieredmenu.cjs.js +110 -64
  803. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  804. package/tieredmenu/tieredmenu.d.ts +83 -2
  805. package/tieredmenu/tieredmenu.esm.js +112 -66
  806. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  807. package/tieredmenu/tieredmenu.js +111 -66
  808. package/tieredmenu/tieredmenu.min.js +1 -1
  809. package/timeline/timeline.cjs.js +51 -43
  810. package/timeline/timeline.cjs.min.js +1 -1
  811. package/timeline/timeline.d.ts +51 -1
  812. package/timeline/timeline.esm.js +52 -44
  813. package/timeline/timeline.esm.min.js +1 -1
  814. package/timeline/timeline.js +51 -45
  815. package/timeline/timeline.min.js +1 -1
  816. package/toast/toast.cjs.js +118 -75
  817. package/toast/toast.cjs.min.js +1 -1
  818. package/toast/toast.d.ts +122 -4
  819. package/toast/toast.esm.js +120 -77
  820. package/toast/toast.esm.min.js +1 -1
  821. package/toast/toast.js +116 -74
  822. package/toast/toast.min.js +1 -1
  823. package/togglebutton/togglebutton.cjs.js +74 -21
  824. package/togglebutton/togglebutton.cjs.min.js +1 -1
  825. package/togglebutton/togglebutton.d.ts +40 -2
  826. package/togglebutton/togglebutton.esm.js +75 -22
  827. package/togglebutton/togglebutton.esm.min.js +1 -1
  828. package/togglebutton/togglebutton.js +73 -23
  829. package/togglebutton/togglebutton.min.js +1 -1
  830. package/toolbar/toolbar.cjs.js +3 -1
  831. package/toolbar/toolbar.cjs.min.js +1 -1
  832. package/toolbar/toolbar.d.ts +5 -11
  833. package/toolbar/toolbar.esm.js +3 -1
  834. package/toolbar/toolbar.esm.min.js +1 -1
  835. package/toolbar/toolbar.js +4 -3
  836. package/toolbar/toolbar.min.js +1 -1
  837. package/tooltip/tooltip.cjs.js +3 -2
  838. package/tooltip/tooltip.cjs.min.js +1 -1
  839. package/tooltip/tooltip.d.ts +7 -7
  840. package/tooltip/tooltip.esm.js +4 -3
  841. package/tooltip/tooltip.esm.min.js +1 -1
  842. package/tooltip/tooltip.js +3 -2
  843. package/tooltip/tooltip.min.js +1 -1
  844. package/tree/tree.cjs.js +118 -88
  845. package/tree/tree.cjs.min.js +1 -1
  846. package/tree/tree.d.ts +139 -1
  847. package/tree/tree.esm.js +120 -90
  848. package/tree/tree.esm.min.js +1 -1
  849. package/tree/tree.js +116 -87
  850. package/tree/tree.min.js +1 -1
  851. package/treeselect/treeselect.cjs.js +135 -102
  852. package/treeselect/treeselect.cjs.min.js +1 -1
  853. package/treeselect/treeselect.d.ts +143 -2
  854. package/treeselect/treeselect.esm.js +137 -104
  855. package/treeselect/treeselect.esm.min.js +1 -1
  856. package/treeselect/treeselect.js +136 -104
  857. package/treeselect/treeselect.min.js +1 -1
  858. package/treetable/treetable.cjs.js +385 -198
  859. package/treetable/treetable.cjs.min.js +1 -1
  860. package/treetable/treetable.d.ts +305 -2
  861. package/treetable/treetable.esm.js +387 -200
  862. package/treetable/treetable.esm.min.js +1 -1
  863. package/treetable/treetable.js +383 -197
  864. package/treetable/treetable.min.js +1 -1
  865. package/tristatecheckbox/tristatecheckbox.cjs.js +97 -40
  866. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  867. package/tristatecheckbox/tristatecheckbox.d.ts +64 -1
  868. package/tristatecheckbox/tristatecheckbox.esm.js +99 -42
  869. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  870. package/tristatecheckbox/tristatecheckbox.js +97 -42
  871. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  872. package/utils/utils.cjs.js +31 -5
  873. package/utils/utils.cjs.min.js +1 -1
  874. package/utils/utils.d.ts +1 -1
  875. package/utils/utils.esm.js +28 -5
  876. package/utils/utils.esm.min.js +1 -1
  877. package/utils/utils.js +32 -7
  878. package/utils/utils.min.js +1 -1
  879. package/virtualscroller/virtualscroller.cjs.js +43 -29
  880. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  881. package/virtualscroller/virtualscroller.d.ts +78 -1
  882. package/virtualscroller/virtualscroller.esm.js +44 -30
  883. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  884. package/virtualscroller/virtualscroller.js +43 -31
  885. package/virtualscroller/virtualscroller.min.js +1 -1
  886. package/web-types.json +1 -1
package/image/image.js CHANGED
@@ -1,5 +1,5 @@
1
1
  this.primereact = this.primereact || {};
2
- this.primereact.image = (function (exports, React, PrimeReact, csstransition, hooks, iconbase, eye, refresh, searchminus, searchplus, times, undo, portal, utils) {
2
+ this.primereact.image = (function (exports, React, PrimeReact, csstransition, hooks, iconbase, eye, refresh, searchminus, searchplus, times, undo, portal, utils, componentbase) {
3
3
  'use strict';
4
4
 
5
5
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -40,6 +40,47 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
40
40
  return _extends.apply(this, arguments);
41
41
  }
42
42
 
43
+ function _typeof(obj) {
44
+ "@babel/helpers - typeof";
45
+
46
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
47
+ return typeof obj;
48
+ } : function (obj) {
49
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
50
+ }, _typeof(obj);
51
+ }
52
+
53
+ function _toPrimitive(input, hint) {
54
+ if (_typeof(input) !== "object" || input === null) return input;
55
+ var prim = input[Symbol.toPrimitive];
56
+ if (prim !== undefined) {
57
+ var res = prim.call(input, hint || "default");
58
+ if (_typeof(res) !== "object") return res;
59
+ throw new TypeError("@@toPrimitive must return a primitive value.");
60
+ }
61
+ return (hint === "string" ? String : Number)(input);
62
+ }
63
+
64
+ function _toPropertyKey(arg) {
65
+ var key = _toPrimitive(arg, "string");
66
+ return _typeof(key) === "symbol" ? key : String(key);
67
+ }
68
+
69
+ function _defineProperty(obj, key, value) {
70
+ key = _toPropertyKey(key);
71
+ if (key in obj) {
72
+ Object.defineProperty(obj, key, {
73
+ value: value,
74
+ enumerable: true,
75
+ configurable: true,
76
+ writable: true
77
+ });
78
+ } else {
79
+ obj[key] = value;
80
+ }
81
+ return obj;
82
+ }
83
+
43
84
  function _arrayWithHoles(arr) {
44
85
  if (Array.isArray(arr)) return arr;
45
86
  }
@@ -95,8 +136,340 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
95
136
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
96
137
  }
97
138
 
139
+ function _classCallCheck(instance, Constructor) {
140
+ if (!(instance instanceof Constructor)) {
141
+ throw new TypeError("Cannot call a class as a function");
142
+ }
143
+ }
144
+
145
+ function _defineProperties(target, props) {
146
+ for (var i = 0; i < props.length; i++) {
147
+ var descriptor = props[i];
148
+ descriptor.enumerable = descriptor.enumerable || false;
149
+ descriptor.configurable = true;
150
+ if ("value" in descriptor) descriptor.writable = true;
151
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
152
+ }
153
+ }
154
+ function _createClass(Constructor, protoProps, staticProps) {
155
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
156
+ if (staticProps) _defineProperties(Constructor, staticProps);
157
+ Object.defineProperty(Constructor, "prototype", {
158
+ writable: false
159
+ });
160
+ return Constructor;
161
+ }
162
+
163
+ var ObjectUtils = /*#__PURE__*/function () {
164
+ function ObjectUtils() {
165
+ _classCallCheck(this, ObjectUtils);
166
+ }
167
+ _createClass(ObjectUtils, null, [{
168
+ key: "equals",
169
+ value: function equals(obj1, obj2, field) {
170
+ if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
171
+ }
172
+ }, {
173
+ key: "deepEquals",
174
+ value: function deepEquals(a, b) {
175
+ if (a === b) return true;
176
+ if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
177
+ var arrA = Array.isArray(a),
178
+ arrB = Array.isArray(b),
179
+ i,
180
+ length,
181
+ key;
182
+ if (arrA && arrB) {
183
+ length = a.length;
184
+ if (length !== b.length) return false;
185
+ for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;
186
+ return true;
187
+ }
188
+ if (arrA !== arrB) return false;
189
+ var dateA = a instanceof Date,
190
+ dateB = b instanceof Date;
191
+ if (dateA !== dateB) return false;
192
+ if (dateA && dateB) return a.getTime() === b.getTime();
193
+ var regexpA = a instanceof RegExp,
194
+ regexpB = b instanceof RegExp;
195
+ if (regexpA !== regexpB) return false;
196
+ if (regexpA && regexpB) return a.toString() === b.toString();
197
+ var keys = Object.keys(a);
198
+ length = keys.length;
199
+ if (length !== Object.keys(b).length) return false;
200
+ for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
201
+ for (i = length; i-- !== 0;) {
202
+ key = keys[i];
203
+ if (!this.deepEquals(a[key], b[key])) return false;
204
+ }
205
+ return true;
206
+ }
207
+
208
+ /*eslint no-self-compare: "off"*/
209
+ return a !== a && b !== b;
210
+ }
211
+ }, {
212
+ key: "resolveFieldData",
213
+ value: function resolveFieldData(data, field) {
214
+ if (data && Object.keys(data).length && field) {
215
+ if (this.isFunction(field)) {
216
+ return field(data);
217
+ } else if (ObjectUtils.isNotEmpty(data[field])) {
218
+ return data[field];
219
+ } else if (field.indexOf('.') === -1) {
220
+ return data[field];
221
+ } else {
222
+ var fields = field.split('.');
223
+ var value = data;
224
+ for (var i = 0, len = fields.length; i < len; ++i) {
225
+ if (value == null) {
226
+ return null;
227
+ }
228
+ value = value[fields[i]];
229
+ }
230
+ return value;
231
+ }
232
+ } else {
233
+ return null;
234
+ }
235
+ }
236
+ }, {
237
+ key: "isFunction",
238
+ value: function isFunction(obj) {
239
+ return !!(obj && obj.constructor && obj.call && obj.apply);
240
+ }
241
+ }, {
242
+ key: "isObject",
243
+ value: function isObject(obj) {
244
+ return obj !== null && obj instanceof Object && obj.constructor === Object;
245
+ }
246
+ }, {
247
+ key: "isLetter",
248
+ value: function isLetter(_char) {
249
+ return _char && (_char.toUpperCase() != _char.toLowerCase() || _char.codePointAt(0) > 127);
250
+ }
251
+ }, {
252
+ key: "findDiffKeys",
253
+ value: function findDiffKeys(obj1, obj2) {
254
+ if (!obj1 || !obj2) {
255
+ return {};
256
+ }
257
+ return Object.keys(obj1).filter(function (key) {
258
+ return !obj2.hasOwnProperty(key);
259
+ }).reduce(function (result, current) {
260
+ result[current] = obj1[current];
261
+ return result;
262
+ }, {});
263
+ }
264
+
265
+ /**
266
+ * Removes keys from a JSON object that start with a string such as "data" to get all "data-id" type properties.
267
+ *
268
+ * @param {any} obj the JSON object to reduce
269
+ * @param {string[]} startsWiths the string(s) to check if the property starts with this key
270
+ * @returns the JSON object containing only the key/values that match the startsWith string
271
+ */
272
+ }, {
273
+ key: "reduceKeys",
274
+ value: function reduceKeys(obj, startsWiths) {
275
+ var result = {};
276
+ if (!obj || !startsWiths || startsWiths.length === 0) {
277
+ return result;
278
+ }
279
+ Object.keys(obj).filter(function (key) {
280
+ return startsWiths.some(function (value) {
281
+ return key.startsWith(value);
282
+ });
283
+ }).forEach(function (key) {
284
+ result[key] = obj[key];
285
+ delete obj[key];
286
+ });
287
+ return result;
288
+ }
289
+ }, {
290
+ key: "reorderArray",
291
+ value: function reorderArray(value, from, to) {
292
+ if (value && from !== to) {
293
+ if (to >= value.length) {
294
+ to %= value.length;
295
+ from %= value.length;
296
+ }
297
+ value.splice(to, 0, value.splice(from, 1)[0]);
298
+ }
299
+ }
300
+ }, {
301
+ key: "findIndexInList",
302
+ value: function findIndexInList(value, list, dataKey) {
303
+ var _this = this;
304
+ if (list) {
305
+ return dataKey ? list.findIndex(function (item) {
306
+ return _this.equals(item, value, dataKey);
307
+ }) : list.findIndex(function (item) {
308
+ return item === value;
309
+ });
310
+ }
311
+ return -1;
312
+ }
313
+ }, {
314
+ key: "getJSXElement",
315
+ value: function getJSXElement(obj) {
316
+ for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
317
+ params[_key - 1] = arguments[_key];
318
+ }
319
+ return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
320
+ }
321
+ }, {
322
+ key: "getProp",
323
+ value: function getProp(props) {
324
+ var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
325
+ var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
326
+ var value = props ? props[prop] : undefined;
327
+ return value === undefined ? defaultProps[prop] : value;
328
+ }
329
+ }, {
330
+ key: "getMergedProps",
331
+ value: function getMergedProps(props, defaultProps) {
332
+ return Object.assign({}, defaultProps, props);
333
+ }
334
+ }, {
335
+ key: "getDiffProps",
336
+ value: function getDiffProps(props, defaultProps) {
337
+ return this.findDiffKeys(props, defaultProps);
338
+ }
339
+ }, {
340
+ key: "getPropValue",
341
+ value: function getPropValue(obj) {
342
+ for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
343
+ params[_key2 - 1] = arguments[_key2];
344
+ }
345
+ return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
346
+ }
347
+ }, {
348
+ key: "getComponentProp",
349
+ value: function getComponentProp(component) {
350
+ var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
351
+ var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
352
+ return this.isNotEmpty(component) ? this.getProp(component.props, prop, defaultProps) : undefined;
353
+ }
354
+ }, {
355
+ key: "getComponentProps",
356
+ value: function getComponentProps(component, defaultProps) {
357
+ return this.isNotEmpty(component) ? this.getMergedProps(component.props, defaultProps) : undefined;
358
+ }
359
+ }, {
360
+ key: "getComponentDiffProps",
361
+ value: function getComponentDiffProps(component, defaultProps) {
362
+ return this.isNotEmpty(component) ? this.getDiffProps(component.props, defaultProps) : undefined;
363
+ }
364
+ }, {
365
+ key: "isValidChild",
366
+ value: function isValidChild(child, type, validTypes) {
367
+ /* eslint-disable */
368
+ if (child) {
369
+ var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
370
+ var isValid = childType === type;
371
+ try {
372
+ var messageTypes; if ("production" !== 'production' && !isValid) ;
373
+ } catch (error) {
374
+ // NOOP
375
+ }
376
+ return isValid;
377
+ }
378
+ return false;
379
+ /* eslint-enable */
380
+ }
381
+ }, {
382
+ key: "getRefElement",
383
+ value: function getRefElement(ref) {
384
+ if (ref) {
385
+ return _typeof(ref) === 'object' && ref.hasOwnProperty('current') ? ref.current : ref;
386
+ }
387
+ return null;
388
+ }
389
+ }, {
390
+ key: "combinedRefs",
391
+ value: function combinedRefs(innerRef, forwardRef) {
392
+ if (innerRef && forwardRef) {
393
+ if (typeof forwardRef === 'function') {
394
+ forwardRef(innerRef.current);
395
+ } else {
396
+ forwardRef.current = innerRef.current;
397
+ }
398
+ }
399
+ }
400
+ }, {
401
+ key: "removeAccents",
402
+ value: function removeAccents(str) {
403
+ if (str && str.search(/[\xC0-\xFF]/g) > -1) {
404
+ str = str.replace(/[\xC0-\xC5]/g, 'A').replace(/[\xC6]/g, 'AE').replace(/[\xC7]/g, 'C').replace(/[\xC8-\xCB]/g, 'E').replace(/[\xCC-\xCF]/g, 'I').replace(/[\xD0]/g, 'D').replace(/[\xD1]/g, 'N').replace(/[\xD2-\xD6\xD8]/g, 'O').replace(/[\xD9-\xDC]/g, 'U').replace(/[\xDD]/g, 'Y').replace(/[\xDE]/g, 'P').replace(/[\xE0-\xE5]/g, 'a').replace(/[\xE6]/g, 'ae').replace(/[\xE7]/g, 'c').replace(/[\xE8-\xEB]/g, 'e').replace(/[\xEC-\xEF]/g, 'i').replace(/[\xF1]/g, 'n').replace(/[\xF2-\xF6\xF8]/g, 'o').replace(/[\xF9-\xFC]/g, 'u').replace(/[\xFE]/g, 'p').replace(/[\xFD\xFF]/g, 'y');
405
+ }
406
+ return str;
407
+ }
408
+ }, {
409
+ key: "convertToFlatCase",
410
+ value: function convertToFlatCase(str) {
411
+ // convert snake, kebab, camel and pascal cases to flat case
412
+ return this.isNotEmpty(str) && typeof str === 'string' ? str.replace(/(-|_)/g, '').toLowerCase() : str;
413
+ }
414
+ }, {
415
+ key: "isEmpty",
416
+ value: function isEmpty(value) {
417
+ return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;
418
+ }
419
+ }, {
420
+ key: "isNotEmpty",
421
+ value: function isNotEmpty(value) {
422
+ return !this.isEmpty(value);
423
+ }
424
+ }, {
425
+ key: "sort",
426
+ value: function sort(value1, value2) {
427
+ var order = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
428
+ var locale = arguments.length > 3 ? arguments[3] : undefined;
429
+ var nullSortOrder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
430
+ var result = ObjectUtils.compare(value1, value2, locale, order);
431
+ var finalSortOrder = order;
432
+
433
+ // nullSortOrder == 1 means Excel like sort nulls at bottom
434
+ if (ObjectUtils.isEmpty(value1) || ObjectUtils.isEmpty(value2)) {
435
+ finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;
436
+ }
437
+ return finalSortOrder * result;
438
+ }
439
+ }, {
440
+ key: "compare",
441
+ value: function compare(value1, value2, locale) {
442
+ var order = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
443
+ var result = -1;
444
+ var emptyValue1 = ObjectUtils.isEmpty(value1);
445
+ var emptyValue2 = ObjectUtils.isEmpty(value2);
446
+ if (emptyValue1 && emptyValue2) result = 0;else if (emptyValue1) result = order;else if (emptyValue2) result = -order;else if (typeof value1 === 'string' && typeof value2 === 'string') result = value1.localeCompare(value2, locale, {
447
+ numeric: true
448
+ });else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
449
+ return result;
450
+ }
451
+ }]);
452
+ return ObjectUtils;
453
+ }();
454
+
455
+ var lastId = 0;
456
+ function UniqueComponentId() {
457
+ var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';
458
+ lastId++;
459
+ return "".concat(prefix).concat(lastId);
460
+ }
461
+
98
462
  var DownloadIcon = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
99
463
  var pti = iconbase.IconBase.getPTI(inProps);
464
+ var _React$useState = React__namespace.useState(inProps.id),
465
+ _React$useState2 = _slicedToArray(_React$useState, 2),
466
+ pathId = _React$useState2[0],
467
+ setPathId = _React$useState2[1];
468
+ React__namespace.useEffect(function () {
469
+ if (ObjectUtils.isEmpty(pathId)) {
470
+ setPathId(UniqueComponentId('pr_icon_clip_'));
471
+ }
472
+ }, [pathId]);
100
473
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
101
474
  ref: ref,
102
475
  width: "14",
@@ -105,14 +478,14 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
105
478
  fill: "none",
106
479
  xmlns: "http://www.w3.org/2000/svg"
107
480
  }, pti), /*#__PURE__*/React__namespace.createElement("g", {
108
- clipPath: "url(#clip0_407_20832)"
481
+ clipPath: "url(#".concat(pathId, ")")
109
482
  }, /*#__PURE__*/React__namespace.createElement("path", {
110
483
  fillRule: "evenodd",
111
484
  clipRule: "evenodd",
112
485
  d: "M7.0118 10C6.93296 10.0003 6.85484 9.98495 6.78202 9.95477C6.7091 9.92454 6.64297 9.88008 6.58749 9.82399L3.38288 6.62399C3.27675 6.51025 3.21897 6.35982 3.22171 6.20438C3.22446 6.04893 3.28752 5.90063 3.39761 5.7907C3.5077 5.68077 3.65622 5.6178 3.81188 5.61505C3.96755 5.61231 4.1182 5.67001 4.23211 5.77599L6.41125 7.95201V0.6C6.41125 0.44087 6.47456 0.288258 6.58724 0.175736C6.69993 0.063214 6.85276 0 7.01212 0C7.17148 0 7.32431 0.063214 7.43699 0.175736C7.54968 0.288258 7.61298 0.44087 7.61298 0.6V7.95198L9.7921 5.77599C9.90601 5.67001 10.0567 5.61231 10.2123 5.61505C10.368 5.6178 10.5165 5.68077 10.6266 5.7907C10.7367 5.90063 10.7997 6.04893 10.8025 6.20438C10.8052 6.35982 10.7475 6.51025 10.6413 6.62399L7.43671 9.82399C7.38124 9.88008 7.3151 9.92454 7.24219 9.95477C7.16938 9.98495 7.09127 10.0003 7.01244 10C7.01233 10 7.01223 10 7.01212 10C7.01201 10 7.0119 10 7.0118 10ZM13.45 13.3115C13.0749 13.7235 12.5521 13.971 11.9952 14H2.02889C1.75106 13.9887 1.47819 13.9228 1.2259 13.806C0.973606 13.6893 0.74684 13.524 0.558578 13.3197C0.370316 13.1153 0.224251 12.8759 0.128742 12.6152C0.0332333 12.3544 -0.00984502 12.0774 0.00197194 11.8V9.39999C0.00197194 9.24086 0.065277 9.08825 0.177961 8.97572C0.290645 8.8632 0.443477 8.79999 0.602836 8.79999C0.762195 8.79999 0.915027 8.8632 1.02771 8.97572C1.1404 9.08825 1.2037 9.24086 1.2037 9.39999V11.8C1.18301 12.0375 1.25469 12.2739 1.40385 12.4601C1.55302 12.6463 1.76823 12.768 2.00485 12.8H11.9952C12.2318 12.768 12.4471 12.6463 12.5962 12.4601C12.7454 12.2739 12.8171 12.0375 12.7964 11.8V9.39999C12.7964 9.24086 12.8597 9.08825 12.9724 8.97572C13.085 8.8632 13.2379 8.79999 13.3972 8.79999C13.5566 8.79999 13.7094 8.8632 13.8221 8.97572C13.9348 9.08825 13.9981 9.24086 13.9981 9.39999V11.8C14.0221 12.3563 13.8251 12.8995 13.45 13.3115Z",
113
486
  fill: "currentColor"
114
487
  })), /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
115
- id: "clip0_407_20832"
488
+ id: pathId
116
489
  }, /*#__PURE__*/React__namespace.createElement("rect", {
117
490
  width: "14",
118
491
  height: "14",
@@ -121,7 +494,7 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
121
494
  }));
122
495
  DownloadIcon.displayName = 'DownloadIcon';
123
496
 
124
- var ImageBase = {
497
+ var ImageBase = componentbase.ComponentBase.extend({
125
498
  defaultProps: {
126
499
  __TYPE: 'Image',
127
500
  alt: null,
@@ -151,17 +524,14 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
151
524
  zoomOutIcon: null,
152
525
  zoomSrc: null,
153
526
  children: undefined
154
- },
155
- getProps: function getProps(props) {
156
- return utils.ObjectUtils.getMergedProps(props, ImageBase.defaultProps);
157
- },
158
- getOtherProps: function getOtherProps(props) {
159
- return utils.ObjectUtils.getDiffProps(props, ImageBase.defaultProps);
160
527
  }
161
- };
528
+ });
162
529
 
530
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
531
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
163
532
  var Image = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
164
- var props = ImageBase.getProps(inProps);
533
+ var context = React__namespace.useContext(PrimeReact.PrimeReactContext);
534
+ var props = ImageBase.getProps(inProps, context);
165
535
  var _React$useState = React__namespace.useState(false),
166
536
  _React$useState2 = _slicedToArray(_React$useState, 2),
167
537
  maskVisibleState = _React$useState2[0],
@@ -183,6 +553,16 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
183
553
  var maskRef = React__namespace.useRef(null);
184
554
  var previewRef = React__namespace.useRef(null);
185
555
  var previewClick = React__namespace.useRef(false);
556
+ var _ImageBase$setMetaDat = ImageBase.setMetaData({
557
+ props: props,
558
+ state: {
559
+ maskVisible: maskVisibleState,
560
+ previewVisible: previewVisibleState,
561
+ rotate: rotateState,
562
+ scale: scaleState
563
+ }
564
+ }),
565
+ ptm = _ImageBase$setMetaDat.ptm;
186
566
  var show = function show() {
187
567
  if (props.preview) {
188
568
  setMaskVisibleState(true);
@@ -236,7 +616,7 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
236
616
  previewClick.current = true;
237
617
  };
238
618
  var onEntering = function onEntering() {
239
- utils.ZIndexUtils.set('modal', maskRef.current, PrimeReact__default["default"].autoZIndex, PrimeReact__default["default"].zIndex['modal']);
619
+ utils.ZIndexUtils.set('modal', maskRef.current, context && context.autoZIndex || PrimeReact__default["default"].autoZIndex, context && context.zIndex['modal'] || PrimeReact__default["default"].zIndex['modal']);
240
620
  };
241
621
  var onEntered = function onEntered() {
242
622
  props.onShow && props.onShow();
@@ -255,11 +635,12 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
255
635
  maskRef.current && utils.ZIndexUtils.clear(maskRef.current);
256
636
  });
257
637
  var createPreview = function createPreview() {
638
+ var buttonProps = utils.mergeProps({
639
+ className: 'p-image-preview-indicator',
640
+ onClick: show
641
+ }, ptm('button'));
258
642
  if (props.preview) {
259
- return /*#__PURE__*/React__namespace.createElement("div", {
260
- className: "p-image-preview-indicator",
261
- onClick: show
262
- }, content);
643
+ return /*#__PURE__*/React__namespace.createElement("div", buttonProps, content);
263
644
  }
264
645
  return null;
265
646
  };
@@ -273,59 +654,86 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
273
654
  var imagePreviewStyle = {
274
655
  transform: 'rotate(' + rotateState + 'deg) scale(' + scaleState + ')'
275
656
  };
276
- var zoomDisabled = scaleState <= 0.5 || scaleState >= 1.5;
277
- // const rotateClassName = 'p-image-preview-rotate-' + rotateScale;
278
- var downloadIcon = utils.IconUtils.getJSXIcon(props.downloadIcon || /*#__PURE__*/React__namespace.createElement(DownloadIcon, null), undefined, {
657
+ var zoomOutDisabled = scaleState <= 0.5;
658
+ var zoomInDisabled = scaleState >= 1.5;
659
+ var downloadIconProps = utils.mergeProps(ptm('downloadIcon'));
660
+ var rotateRightIconProps = utils.mergeProps(ptm('rotateRightIcon'));
661
+ var rotateLeftIconProps = utils.mergeProps(ptm('rotateLeftIcon'));
662
+ var zoomOutIconProps = utils.mergeProps(ptm('zoomOutIcon'));
663
+ var zoomInIconProps = utils.mergeProps(ptm('zoomInIcon'));
664
+ var closeIconProps = utils.mergeProps(ptm('closeIcon'));
665
+ var downloadIcon = utils.IconUtils.getJSXIcon(props.downloadIcon || /*#__PURE__*/React__namespace.createElement(DownloadIcon, null), _objectSpread({}, downloadIconProps), {
279
666
  props: props
280
667
  });
281
- var rotateRightIcon = utils.IconUtils.getJSXIcon(props.rotateRightIcon || /*#__PURE__*/React__namespace.createElement(refresh.RefreshIcon, null), undefined, {
668
+ var rotateRightIcon = utils.IconUtils.getJSXIcon(props.rotateRightIcon || /*#__PURE__*/React__namespace.createElement(refresh.RefreshIcon, null), _objectSpread({}, rotateRightIconProps), {
282
669
  props: props
283
670
  });
284
- var rotateLeftIcon = utils.IconUtils.getJSXIcon(props.rotateLeftIcon || /*#__PURE__*/React__namespace.createElement(undo.UndoIcon, null), undefined, {
671
+ var rotateLeftIcon = utils.IconUtils.getJSXIcon(props.rotateLeftIcon || /*#__PURE__*/React__namespace.createElement(undo.UndoIcon, null), _objectSpread({}, rotateLeftIconProps), {
285
672
  props: props
286
673
  });
287
- var zoomOutIcon = utils.IconUtils.getJSXIcon(props.zoomOutIcon || /*#__PURE__*/React__namespace.createElement(searchminus.SearchMinusIcon, null), undefined, {
674
+ var zoomOutIcon = utils.IconUtils.getJSXIcon(props.zoomOutIcon || /*#__PURE__*/React__namespace.createElement(searchminus.SearchMinusIcon, null), _objectSpread({}, zoomOutIconProps), {
288
675
  props: props
289
676
  });
290
- var zoomInIcon = utils.IconUtils.getJSXIcon(props.zoomInIcon || /*#__PURE__*/React__namespace.createElement(searchplus.SearchPlusIcon, null), undefined, {
677
+ var zoomInIcon = utils.IconUtils.getJSXIcon(props.zoomInIcon || /*#__PURE__*/React__namespace.createElement(searchplus.SearchPlusIcon, null), _objectSpread({}, zoomInIconProps), {
291
678
  props: props
292
679
  });
293
- var closeIcon = utils.IconUtils.getJSXIcon(props.closeIcon || /*#__PURE__*/React__namespace.createElement(times.TimesIcon, null), undefined, {
680
+ var closeIcon = utils.IconUtils.getJSXIcon(props.closeIcon || /*#__PURE__*/React__namespace.createElement(times.TimesIcon, null), _objectSpread({}, closeIconProps), {
294
681
  props: props
295
682
  });
296
- return /*#__PURE__*/React__namespace.createElement("div", {
683
+ var maskProps = utils.mergeProps({
297
684
  ref: maskRef,
298
- className: "p-image-mask p-component-overlay p-component-overlay-enter",
299
- onClick: hide
300
- }, /*#__PURE__*/React__namespace.createElement("div", {
301
- className: "p-image-toolbar"
302
- }, downloadable && /*#__PURE__*/React__namespace.createElement("button", {
303
- className: "p-image-action p-link",
304
- onClick: onDownload,
305
- type: "button"
306
- }, downloadIcon), /*#__PURE__*/React__namespace.createElement("button", {
307
- className: "p-image-action p-link",
308
- onClick: rotateRight,
309
- type: "button"
310
- }, rotateRightIcon), /*#__PURE__*/React__namespace.createElement("button", {
311
- className: "p-image-action p-link",
312
- onClick: rotateLeft,
313
- type: "button"
314
- }, rotateLeftIcon), /*#__PURE__*/React__namespace.createElement("button", {
315
- className: "p-image-action p-link",
316
- onClick: zoomOut,
317
- type: "button",
318
- disabled: zoomDisabled
319
- }, zoomOutIcon), /*#__PURE__*/React__namespace.createElement("button", {
320
- className: "p-image-action p-link",
321
- onClick: zoomIn,
322
- type: "button",
323
- disabled: zoomDisabled
324
- }, zoomInIcon), /*#__PURE__*/React__namespace.createElement("button", {
325
- className: "p-image-action p-link",
326
- type: "button",
327
- "aria-label": PrimeReact.localeOption('close')
328
- }, closeIcon)), /*#__PURE__*/React__namespace.createElement(csstransition.CSSTransition, {
685
+ className: 'p-image-mask p-component-overlay p-component-overlay-enter',
686
+ onPointerUp: hide
687
+ }, ptm('mask'));
688
+ var toolbarProps = utils.mergeProps({
689
+ className: 'p-image-toolbar'
690
+ }, ptm('toolbar'));
691
+ var downloadButtonProps = utils.mergeProps({
692
+ className: 'p-image-action p-link',
693
+ onPointerUp: onDownload,
694
+ type: 'button'
695
+ }, ptm('downloadButton'));
696
+ var rotateRightButtonProps = utils.mergeProps({
697
+ className: 'p-image-action p-link',
698
+ onPointerUp: rotateRight,
699
+ type: 'button'
700
+ }, ptm('rotateRightButton'));
701
+ var rotateLeftButtonProps = utils.mergeProps({
702
+ className: 'p-image-action p-link',
703
+ onPointerUp: rotateLeft,
704
+ type: 'button'
705
+ }, ptm('rotateLeftButton'));
706
+ var zoomOutButtonProps = utils.mergeProps({
707
+ className: 'p-image-action p-link',
708
+ onPointerUp: zoomOut,
709
+ type: 'button',
710
+ disabled: zoomOutDisabled
711
+ }, ptm('zoomOutButton'));
712
+ var zoomInButtonProps = utils.mergeProps({
713
+ className: 'p-image-action p-link',
714
+ onPointerUp: zoomIn,
715
+ type: 'button',
716
+ disabled: zoomInDisabled
717
+ }, ptm('zoomInButton'));
718
+ var closeButtonProps = utils.mergeProps({
719
+ className: 'p-image-action p-link',
720
+ type: 'button',
721
+ 'aria-label': PrimeReact.localeOption('close')
722
+ }, ptm('closeButton'));
723
+ var previewProps = utils.mergeProps({
724
+ src: props.zoomSrc || props.src,
725
+ className: 'p-image-preview',
726
+ style: imagePreviewStyle,
727
+ onPointerUp: onPreviewImageClick,
728
+ crossOrigin: crossOrigin,
729
+ referrerPolicy: referrerPolicy,
730
+ useMap: useMap,
731
+ loading: loading
732
+ }, ptm('preview'));
733
+ var previewContainerProps = utils.mergeProps({
734
+ ref: previewRef
735
+ }, ptm('previewContainer'));
736
+ return /*#__PURE__*/React__namespace.createElement("div", maskProps, /*#__PURE__*/React__namespace.createElement("div", toolbarProps, downloadable && /*#__PURE__*/React__namespace.createElement("button", downloadButtonProps, downloadIcon), /*#__PURE__*/React__namespace.createElement("button", rotateRightButtonProps, rotateRightIcon), /*#__PURE__*/React__namespace.createElement("button", rotateLeftButtonProps, rotateLeftIcon), /*#__PURE__*/React__namespace.createElement("button", zoomOutButtonProps, zoomOutIcon), /*#__PURE__*/React__namespace.createElement("button", zoomInButtonProps, zoomInIcon), /*#__PURE__*/React__namespace.createElement("button", closeButtonProps, closeIcon)), /*#__PURE__*/React__namespace.createElement(csstransition.CSSTransition, {
329
737
  nodeRef: previewRef,
330
738
  classNames: "p-image-preview",
331
739
  "in": previewVisibleState,
@@ -339,19 +747,9 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
339
747
  onExit: onExit,
340
748
  onExiting: onExiting,
341
749
  onExited: onExited
342
- }, /*#__PURE__*/React__namespace.createElement("div", {
343
- ref: previewRef
344
- }, /*#__PURE__*/React__namespace.createElement("img", {
345
- src: props.zoomSrc || props.src,
346
- className: "p-image-preview",
347
- style: imagePreviewStyle,
348
- onClick: onPreviewImageClick,
349
- alt: alt,
350
- crossOrigin: crossOrigin,
351
- referrerPolicy: referrerPolicy,
352
- useMap: useMap,
353
- loading: loading
354
- }))));
750
+ }, /*#__PURE__*/React__namespace.createElement("div", previewContainerProps, /*#__PURE__*/React__namespace.createElement("img", _extends({
751
+ alt: alt
752
+ }, previewProps)))));
355
753
  };
356
754
  React__namespace.useImperativeHandle(ref, function () {
357
755
  return {
@@ -374,23 +772,21 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
374
772
  referrerPolicy = props.referrerPolicy,
375
773
  useMap = props.useMap,
376
774
  loading = props.loading;
377
- var otherProps = ImageBase.getOtherProps(props);
378
775
  var containerClassName = utils.classNames('p-image p-component', props.className, {
379
776
  'p-image-preview-container': props.preview
380
777
  });
381
778
  var element = createElement();
382
779
  var iconClassName = 'p-image-preview-icon';
383
- var icon = props.indicatorIcon || /*#__PURE__*/React__namespace.createElement(eye.EyeIcon, {
384
- className: iconClassName
385
- });
386
- var indicatorIcon = utils.IconUtils.getJSXIcon(icon, {
780
+ var iconProp = utils.mergeProps({
387
781
  className: iconClassName
388
- }, {
782
+ }, ptm('icon'));
783
+ var icon = props.indicatorIcon || /*#__PURE__*/React__namespace.createElement(eye.EyeIcon, iconProp);
784
+ var indicatorIcon = utils.IconUtils.getJSXIcon(icon, _objectSpread({}, iconProp), {
389
785
  props: props
390
786
  });
391
787
  var content = props.template ? utils.ObjectUtils.getJSXElement(props.template, props) : indicatorIcon;
392
788
  var preview = createPreview();
393
- var image = props.src && /*#__PURE__*/React__namespace.createElement("img", {
789
+ var imageProp = utils.mergeProps({
394
790
  ref: imageRef,
395
791
  src: src,
396
792
  className: props.imageClassName,
@@ -400,14 +796,17 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
400
796
  referrerPolicy: referrerPolicy,
401
797
  useMap: useMap,
402
798
  loading: loading,
403
- alt: alt,
404
799
  style: props.imageStyle,
405
800
  onError: props.onError
406
- });
407
- return /*#__PURE__*/React__namespace.createElement("span", _extends({
801
+ }, ptm('image'));
802
+ var image = props.src && /*#__PURE__*/React__namespace.createElement("img", _extends({}, imageProp, {
803
+ alt: alt
804
+ }));
805
+ var rootProps = utils.mergeProps({
408
806
  ref: elementRef,
409
807
  className: containerClassName
410
- }, otherProps), image, preview, maskVisibleState && /*#__PURE__*/React__namespace.createElement(portal.Portal, {
808
+ }, ImageBase.getOtherProps(props), ptm('root'));
809
+ return /*#__PURE__*/React__namespace.createElement("span", rootProps, image, preview, maskVisibleState && /*#__PURE__*/React__namespace.createElement(portal.Portal, {
411
810
  element: element,
412
811
  appendTo: document.body
413
812
  }));
@@ -420,4 +819,4 @@ this.primereact.image = (function (exports, React, PrimeReact, csstransition, ho
420
819
 
421
820
  return exports;
422
821
 
423
- })({}, React, primereact.api, primereact.csstransition, primereact.hooks, primereact.iconbase, primereact.icons.eye, primereact.icons.refresh, primereact.icons.searchminus, primereact.icons.searchplus, primereact.icons.times, primereact.icons.undo, primereact.portal, primereact.utils);
822
+ })({}, React, primereact.api, primereact.csstransition, primereact.hooks, primereact.iconbase, primereact.icons.eye, primereact.icons.refresh, primereact.icons.searchminus, primereact.icons.searchplus, primereact.icons.times, primereact.icons.undo, primereact.portal, primereact.utils, primereact.componentbase);