primereact 9.4.0 → 9.5.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 (504) hide show
  1. package/api/api.cjs.js +1 -0
  2. package/api/api.cjs.min.js +1 -1
  3. package/api/api.d.ts +7 -6
  4. package/api/api.esm.js +1 -0
  5. package/api/api.esm.min.js +1 -1
  6. package/api/api.js +1 -0
  7. package/api/api.min.js +1 -1
  8. package/autocomplete/autocomplete.cjs.js +24 -6
  9. package/autocomplete/autocomplete.cjs.min.js +1 -1
  10. package/autocomplete/autocomplete.d.ts +4 -0
  11. package/autocomplete/autocomplete.esm.js +24 -6
  12. package/autocomplete/autocomplete.esm.min.js +1 -1
  13. package/autocomplete/autocomplete.js +24 -6
  14. package/autocomplete/autocomplete.min.css +1 -1
  15. package/autocomplete/autocomplete.min.js +1 -1
  16. package/breadcrumb/breadcrumb.cjs.js +87 -49
  17. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  18. package/breadcrumb/breadcrumb.d.ts +53 -1
  19. package/breadcrumb/breadcrumb.esm.js +88 -50
  20. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  21. package/breadcrumb/breadcrumb.js +88 -51
  22. package/breadcrumb/breadcrumb.min.css +1 -1
  23. package/breadcrumb/breadcrumb.min.js +1 -1
  24. package/calendar/calendar.cjs.js +8 -1
  25. package/calendar/calendar.cjs.min.js +1 -1
  26. package/calendar/calendar.d.ts +5 -2
  27. package/calendar/calendar.esm.js +8 -1
  28. package/calendar/calendar.esm.min.js +1 -1
  29. package/calendar/calendar.js +8 -1
  30. package/calendar/calendar.min.js +1 -1
  31. package/carousel/carousel.cjs.js +135 -82
  32. package/carousel/carousel.cjs.min.js +1 -1
  33. package/carousel/carousel.d.ts +113 -1
  34. package/carousel/carousel.esm.js +136 -83
  35. package/carousel/carousel.esm.min.js +1 -1
  36. package/carousel/carousel.js +136 -84
  37. package/carousel/carousel.min.js +1 -1
  38. package/cascadeselect/cascadeselect.cjs.js +27 -23
  39. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  40. package/cascadeselect/cascadeselect.d.ts +5 -0
  41. package/cascadeselect/cascadeselect.esm.js +27 -23
  42. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  43. package/cascadeselect/cascadeselect.js +28 -24
  44. package/cascadeselect/cascadeselect.min.js +1 -1
  45. package/chart/chart.cjs.js +28 -43
  46. package/chart/chart.cjs.min.js +1 -1
  47. package/chart/chart.d.ts +30 -0
  48. package/chart/chart.esm.js +15 -30
  49. package/chart/chart.esm.min.js +1 -1
  50. package/chart/chart.js +140 -156
  51. package/chart/chart.min.js +1 -1
  52. package/checkbox/checkbox.cjs.js +21 -15
  53. package/checkbox/checkbox.cjs.min.js +1 -1
  54. package/checkbox/checkbox.d.ts +5 -0
  55. package/checkbox/checkbox.esm.js +22 -16
  56. package/checkbox/checkbox.esm.min.js +1 -1
  57. package/checkbox/checkbox.js +21 -15
  58. package/checkbox/checkbox.min.js +1 -1
  59. package/chips/chips.cjs.js +24 -17
  60. package/chips/chips.cjs.min.js +1 -1
  61. package/chips/chips.d.ts +5 -0
  62. package/chips/chips.esm.js +24 -17
  63. package/chips/chips.esm.min.js +1 -1
  64. package/chips/chips.js +25 -19
  65. package/chips/chips.min.js +1 -1
  66. package/colorpicker/colorpicker.cjs.js +4 -0
  67. package/colorpicker/colorpicker.cjs.min.js +1 -1
  68. package/colorpicker/colorpicker.d.ts +5 -0
  69. package/colorpicker/colorpicker.esm.js +4 -0
  70. package/colorpicker/colorpicker.esm.min.js +1 -1
  71. package/colorpicker/colorpicker.js +4 -0
  72. package/colorpicker/colorpicker.min.js +1 -1
  73. package/confirmdialog/confirmdialog.cjs.js +2 -2
  74. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  75. package/confirmdialog/confirmdialog.esm.js +2 -2
  76. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  77. package/confirmdialog/confirmdialog.js +2 -2
  78. package/confirmdialog/confirmdialog.min.js +1 -1
  79. package/contextmenu/contextmenu.cjs.js +111 -61
  80. package/contextmenu/contextmenu.cjs.min.js +1 -1
  81. package/contextmenu/contextmenu.d.ts +92 -1
  82. package/contextmenu/contextmenu.esm.js +112 -62
  83. package/contextmenu/contextmenu.esm.min.js +1 -1
  84. package/contextmenu/contextmenu.js +112 -63
  85. package/contextmenu/contextmenu.min.js +1 -1
  86. package/core/core.js +12873 -1829
  87. package/core/core.min.js +34 -34
  88. package/datatable/datatable.cjs.js +181 -175
  89. package/datatable/datatable.cjs.min.js +1 -1
  90. package/datatable/datatable.esm.js +181 -175
  91. package/datatable/datatable.esm.min.js +1 -1
  92. package/datatable/datatable.js +181 -175
  93. package/datatable/datatable.min.js +1 -1
  94. package/dock/dock.cjs.js +82 -45
  95. package/dock/dock.cjs.min.js +1 -1
  96. package/dock/dock.d.ts +66 -0
  97. package/dock/dock.esm.js +83 -46
  98. package/dock/dock.esm.min.js +1 -1
  99. package/dock/dock.js +83 -47
  100. package/dock/dock.min.js +1 -1
  101. package/dropdown/dropdown.cjs.js +2 -2
  102. package/dropdown/dropdown.cjs.min.js +1 -1
  103. package/dropdown/dropdown.esm.js +2 -2
  104. package/dropdown/dropdown.esm.min.js +1 -1
  105. package/dropdown/dropdown.js +3 -3
  106. package/dropdown/dropdown.min.js +1 -1
  107. package/fileupload/fileupload.cjs.js +168 -137
  108. package/fileupload/fileupload.cjs.min.js +1 -1
  109. package/fileupload/fileupload.d.ts +150 -1
  110. package/fileupload/fileupload.esm.js +169 -138
  111. package/fileupload/fileupload.esm.min.js +1 -1
  112. package/fileupload/fileupload.js +168 -137
  113. package/fileupload/fileupload.min.js +1 -1
  114. package/galleria/galleria.cjs.js +131 -118
  115. package/galleria/galleria.cjs.min.js +1 -1
  116. package/galleria/galleria.d.ts +156 -2
  117. package/galleria/galleria.esm.js +132 -119
  118. package/galleria/galleria.esm.min.js +1 -1
  119. package/galleria/galleria.js +130 -118
  120. package/galleria/galleria.min.js +1 -1
  121. package/hooks/hooks.cjs.js +5 -1
  122. package/hooks/hooks.cjs.min.js +1 -1
  123. package/hooks/hooks.esm.js +2 -1
  124. package/hooks/hooks.esm.min.js +1 -1
  125. package/hooks/hooks.js +6 -3
  126. package/hooks/hooks.min.js +1 -1
  127. package/icons/arrowdown/index.cjs.js +410 -2
  128. package/icons/arrowdown/index.cjs.min.js +1 -1
  129. package/icons/arrowdown/index.esm.js +410 -2
  130. package/icons/arrowdown/index.esm.min.js +1 -1
  131. package/icons/arrowdown/index.js +410 -2
  132. package/icons/arrowdown/index.min.js +1 -1
  133. package/icons/arrowup/index.cjs.js +410 -2
  134. package/icons/arrowup/index.cjs.min.js +1 -1
  135. package/icons/arrowup/index.esm.js +410 -2
  136. package/icons/arrowup/index.esm.min.js +1 -1
  137. package/icons/arrowup/index.js +410 -2
  138. package/icons/arrowup/index.min.js +1 -1
  139. package/icons/ban/index.cjs.js +410 -2
  140. package/icons/ban/index.cjs.min.js +1 -1
  141. package/icons/ban/index.esm.js +410 -2
  142. package/icons/ban/index.esm.min.js +1 -1
  143. package/icons/ban/index.js +410 -2
  144. package/icons/ban/index.min.js +1 -1
  145. package/icons/download/index.cjs.js +410 -2
  146. package/icons/download/index.cjs.min.js +1 -1
  147. package/icons/download/index.esm.js +410 -2
  148. package/icons/download/index.esm.min.js +1 -1
  149. package/icons/download/index.js +410 -2
  150. package/icons/download/index.min.js +1 -1
  151. package/icons/exclamationtriangle/index.cjs.js +410 -2
  152. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  153. package/icons/exclamationtriangle/index.esm.js +410 -2
  154. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  155. package/icons/exclamationtriangle/index.js +410 -2
  156. package/icons/exclamationtriangle/index.min.js +1 -1
  157. package/icons/eyeslash/index.cjs.js +410 -2
  158. package/icons/eyeslash/index.cjs.min.js +1 -1
  159. package/icons/eyeslash/index.esm.js +410 -2
  160. package/icons/eyeslash/index.esm.min.js +1 -1
  161. package/icons/eyeslash/index.js +410 -2
  162. package/icons/eyeslash/index.min.js +1 -1
  163. package/icons/filter/index.cjs.js +410 -2
  164. package/icons/filter/index.cjs.min.js +1 -1
  165. package/icons/filter/index.esm.js +410 -2
  166. package/icons/filter/index.esm.min.js +1 -1
  167. package/icons/filter/index.js +410 -2
  168. package/icons/filter/index.min.js +1 -1
  169. package/icons/filterslash/index.cjs.js +410 -2
  170. package/icons/filterslash/index.cjs.min.js +1 -1
  171. package/icons/filterslash/index.esm.js +410 -2
  172. package/icons/filterslash/index.esm.min.js +1 -1
  173. package/icons/filterslash/index.js +410 -2
  174. package/icons/filterslash/index.min.js +1 -1
  175. package/icons/infocircle/index.cjs.js +410 -2
  176. package/icons/infocircle/index.cjs.min.js +1 -1
  177. package/icons/infocircle/index.esm.js +410 -2
  178. package/icons/infocircle/index.esm.min.js +1 -1
  179. package/icons/infocircle/index.js +410 -2
  180. package/icons/infocircle/index.min.js +1 -1
  181. package/icons/pencil/index.cjs.js +410 -2
  182. package/icons/pencil/index.cjs.min.js +1 -1
  183. package/icons/pencil/index.esm.js +410 -2
  184. package/icons/pencil/index.esm.min.js +1 -1
  185. package/icons/pencil/index.js +410 -2
  186. package/icons/pencil/index.min.js +1 -1
  187. package/icons/plus/index.cjs.js +410 -2
  188. package/icons/plus/index.cjs.min.js +1 -1
  189. package/icons/plus/index.esm.js +410 -2
  190. package/icons/plus/index.esm.min.js +1 -1
  191. package/icons/plus/index.js +410 -2
  192. package/icons/plus/index.min.js +1 -1
  193. package/icons/refresh/index.cjs.js +410 -2
  194. package/icons/refresh/index.cjs.min.js +1 -1
  195. package/icons/refresh/index.esm.js +410 -2
  196. package/icons/refresh/index.esm.min.js +1 -1
  197. package/icons/refresh/index.js +410 -2
  198. package/icons/refresh/index.min.js +1 -1
  199. package/icons/search/index.cjs.js +410 -2
  200. package/icons/search/index.cjs.min.js +1 -1
  201. package/icons/search/index.esm.js +410 -2
  202. package/icons/search/index.esm.min.js +1 -1
  203. package/icons/search/index.js +410 -2
  204. package/icons/search/index.min.js +1 -1
  205. package/icons/searchminus/index.cjs.js +410 -2
  206. package/icons/searchminus/index.cjs.min.js +1 -1
  207. package/icons/searchminus/index.esm.js +410 -2
  208. package/icons/searchminus/index.esm.min.js +1 -1
  209. package/icons/searchminus/index.js +410 -2
  210. package/icons/searchminus/index.min.js +1 -1
  211. package/icons/searchplus/index.cjs.js +410 -2
  212. package/icons/searchplus/index.cjs.min.js +1 -1
  213. package/icons/searchplus/index.esm.js +410 -2
  214. package/icons/searchplus/index.esm.min.js +1 -1
  215. package/icons/searchplus/index.js +410 -2
  216. package/icons/searchplus/index.min.js +1 -1
  217. package/icons/sortalt/index.cjs.js +410 -2
  218. package/icons/sortalt/index.cjs.min.js +1 -1
  219. package/icons/sortalt/index.esm.js +410 -2
  220. package/icons/sortalt/index.esm.min.js +1 -1
  221. package/icons/sortalt/index.js +410 -2
  222. package/icons/sortalt/index.min.js +1 -1
  223. package/icons/sortamountdown/index.cjs.js +410 -2
  224. package/icons/sortamountdown/index.cjs.min.js +1 -1
  225. package/icons/sortamountdown/index.esm.js +410 -2
  226. package/icons/sortamountdown/index.esm.min.js +1 -1
  227. package/icons/sortamountdown/index.js +410 -2
  228. package/icons/sortamountdown/index.min.js +1 -1
  229. package/icons/sortamountupalt/index.cjs.js +410 -2
  230. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  231. package/icons/sortamountupalt/index.esm.js +410 -2
  232. package/icons/sortamountupalt/index.esm.min.js +1 -1
  233. package/icons/sortamountupalt/index.js +410 -2
  234. package/icons/sortamountupalt/index.min.js +1 -1
  235. package/icons/spinner/index.cjs.js +410 -2
  236. package/icons/spinner/index.cjs.min.js +1 -1
  237. package/icons/spinner/index.esm.js +410 -2
  238. package/icons/spinner/index.esm.min.js +1 -1
  239. package/icons/spinner/index.js +410 -2
  240. package/icons/spinner/index.min.js +1 -1
  241. package/icons/star/index.cjs.js +410 -2
  242. package/icons/star/index.cjs.min.js +1 -1
  243. package/icons/star/index.esm.js +410 -2
  244. package/icons/star/index.esm.min.js +1 -1
  245. package/icons/star/index.js +410 -2
  246. package/icons/star/index.min.js +1 -1
  247. package/icons/starfill/index.cjs.js +410 -2
  248. package/icons/starfill/index.cjs.min.js +1 -1
  249. package/icons/starfill/index.esm.js +410 -2
  250. package/icons/starfill/index.esm.min.js +1 -1
  251. package/icons/starfill/index.js +410 -2
  252. package/icons/starfill/index.min.js +1 -1
  253. package/icons/thlarge/index.cjs.js +410 -2
  254. package/icons/thlarge/index.cjs.min.js +1 -1
  255. package/icons/thlarge/index.esm.js +410 -2
  256. package/icons/thlarge/index.esm.min.js +1 -1
  257. package/icons/thlarge/index.js +410 -2
  258. package/icons/thlarge/index.min.js +1 -1
  259. package/icons/timescircle/index.cjs.js +410 -2
  260. package/icons/timescircle/index.cjs.min.js +1 -1
  261. package/icons/timescircle/index.esm.js +410 -2
  262. package/icons/timescircle/index.esm.min.js +1 -1
  263. package/icons/timescircle/index.js +410 -2
  264. package/icons/timescircle/index.min.js +1 -1
  265. package/icons/trash/index.cjs.js +410 -2
  266. package/icons/trash/index.cjs.min.js +1 -1
  267. package/icons/trash/index.esm.js +410 -2
  268. package/icons/trash/index.esm.min.js +1 -1
  269. package/icons/trash/index.js +410 -2
  270. package/icons/trash/index.min.js +1 -1
  271. package/icons/undo/index.cjs.js +410 -2
  272. package/icons/undo/index.cjs.min.js +1 -1
  273. package/icons/undo/index.esm.js +410 -2
  274. package/icons/undo/index.esm.min.js +1 -1
  275. package/icons/undo/index.js +410 -2
  276. package/icons/undo/index.min.js +1 -1
  277. package/icons/upload/index.cjs.js +410 -2
  278. package/icons/upload/index.cjs.min.js +1 -1
  279. package/icons/upload/index.esm.js +410 -2
  280. package/icons/upload/index.esm.min.js +1 -1
  281. package/icons/upload/index.js +410 -2
  282. package/icons/upload/index.min.js +1 -1
  283. package/icons/windowmaximize/index.cjs.js +410 -2
  284. package/icons/windowmaximize/index.cjs.min.js +1 -1
  285. package/icons/windowmaximize/index.esm.js +410 -2
  286. package/icons/windowmaximize/index.esm.min.js +1 -1
  287. package/icons/windowmaximize/index.js +410 -2
  288. package/icons/windowmaximize/index.min.js +1 -1
  289. package/icons/windowminimize/index.cjs.js +410 -2
  290. package/icons/windowminimize/index.cjs.min.js +1 -1
  291. package/icons/windowminimize/index.esm.js +410 -2
  292. package/icons/windowminimize/index.esm.min.js +1 -1
  293. package/icons/windowminimize/index.js +410 -2
  294. package/icons/windowminimize/index.min.js +1 -1
  295. package/image/image.cjs.js +472 -78
  296. package/image/image.cjs.min.js +1 -1
  297. package/image/image.d.ts +130 -3
  298. package/image/image.esm.js +474 -80
  299. package/image/image.esm.min.js +1 -1
  300. package/image/image.js +473 -80
  301. package/image/image.min.js +1 -1
  302. package/inputmask/inputmask.cjs.js +18 -16
  303. package/inputmask/inputmask.cjs.min.js +1 -1
  304. package/inputmask/inputmask.esm.js +18 -16
  305. package/inputmask/inputmask.esm.min.js +1 -1
  306. package/inputmask/inputmask.js +18 -16
  307. package/inputmask/inputmask.min.js +1 -1
  308. package/inputnumber/inputnumber.cjs.js +0 -2
  309. package/inputnumber/inputnumber.cjs.min.js +1 -1
  310. package/inputnumber/inputnumber.esm.js +0 -2
  311. package/inputnumber/inputnumber.esm.min.js +1 -1
  312. package/inputnumber/inputnumber.js +0 -2
  313. package/inputnumber/inputnumber.min.js +1 -1
  314. package/inputswitch/inputswitch.cjs.js +7 -0
  315. package/inputswitch/inputswitch.cjs.min.js +1 -1
  316. package/inputswitch/inputswitch.d.ts +5 -0
  317. package/inputswitch/inputswitch.esm.js +7 -0
  318. package/inputswitch/inputswitch.esm.min.js +1 -1
  319. package/inputswitch/inputswitch.js +8 -2
  320. package/inputswitch/inputswitch.min.js +1 -1
  321. package/megamenu/megamenu.cjs.js +147 -96
  322. package/megamenu/megamenu.cjs.min.js +1 -1
  323. package/megamenu/megamenu.d.ts +142 -2
  324. package/megamenu/megamenu.esm.js +147 -96
  325. package/megamenu/megamenu.esm.min.js +1 -1
  326. package/megamenu/megamenu.js +145 -95
  327. package/megamenu/megamenu.min.js +1 -1
  328. package/menu/menu.cjs.js +94 -55
  329. package/menu/menu.cjs.min.js +1 -1
  330. package/menu/menu.d.ts +71 -0
  331. package/menu/menu.esm.js +95 -56
  332. package/menu/menu.esm.min.js +1 -1
  333. package/menu/menu.js +95 -57
  334. package/menu/menu.min.js +1 -1
  335. package/menubar/menubar.cjs.js +118 -110
  336. package/menubar/menubar.cjs.min.js +1 -1
  337. package/menubar/menubar.d.ts +94 -1
  338. package/menubar/menubar.esm.js +119 -111
  339. package/menubar/menubar.esm.min.js +1 -1
  340. package/menubar/menubar.js +119 -112
  341. package/menubar/menubar.min.js +1 -1
  342. package/message/message.cjs.js +66 -46
  343. package/message/message.cjs.min.js +1 -1
  344. package/message/message.d.ts +35 -2
  345. package/message/message.esm.js +67 -47
  346. package/message/message.esm.min.js +1 -1
  347. package/message/message.js +67 -48
  348. package/message/message.min.js +1 -1
  349. package/messages/messages.cjs.js +63 -62
  350. package/messages/messages.cjs.min.js +1 -1
  351. package/messages/messages.d.ts +51 -2
  352. package/messages/messages.esm.js +63 -62
  353. package/messages/messages.esm.min.js +1 -1
  354. package/messages/messages.js +63 -63
  355. package/messages/messages.min.js +1 -1
  356. package/multiselect/multiselect.cjs.js +32 -29
  357. package/multiselect/multiselect.cjs.min.js +1 -1
  358. package/multiselect/multiselect.d.ts +5 -0
  359. package/multiselect/multiselect.esm.js +33 -30
  360. package/multiselect/multiselect.esm.min.js +1 -1
  361. package/multiselect/multiselect.js +32 -29
  362. package/multiselect/multiselect.min.js +1 -1
  363. package/multistatecheckbox/multistatecheckbox.cjs.js +15 -11
  364. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  365. package/multistatecheckbox/multistatecheckbox.d.ts +5 -0
  366. package/multistatecheckbox/multistatecheckbox.esm.js +15 -11
  367. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  368. package/multistatecheckbox/multistatecheckbox.js +15 -11
  369. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  370. package/package.json +1 -1
  371. package/paginator/paginator.d.ts +3 -3
  372. package/panelmenu/panelmenu.cjs.js +145 -83
  373. package/panelmenu/panelmenu.cjs.min.js +1 -1
  374. package/panelmenu/panelmenu.d.ts +124 -2
  375. package/panelmenu/panelmenu.esm.js +145 -83
  376. package/panelmenu/panelmenu.esm.min.js +1 -1
  377. package/panelmenu/panelmenu.js +144 -83
  378. package/panelmenu/panelmenu.min.js +1 -1
  379. package/primereact.all.cjs.js +2250 -1578
  380. package/primereact.all.cjs.min.js +1 -1
  381. package/primereact.all.esm.js +2250 -1578
  382. package/primereact.all.esm.min.js +1 -1
  383. package/primereact.all.js +2250 -1578
  384. package/primereact.all.min.js +1 -1
  385. package/radiobutton/radiobutton.cjs.js +16 -9
  386. package/radiobutton/radiobutton.cjs.min.js +1 -1
  387. package/radiobutton/radiobutton.d.ts +5 -0
  388. package/radiobutton/radiobutton.esm.js +16 -9
  389. package/radiobutton/radiobutton.esm.min.js +1 -1
  390. package/radiobutton/radiobutton.js +17 -11
  391. package/radiobutton/radiobutton.min.js +1 -1
  392. package/resources/primereact.css +275 -267
  393. package/resources/primereact.min.css +1 -1
  394. package/resources/themes/arya-blue/theme.css +13 -7
  395. package/resources/themes/arya-green/theme.css +13 -7
  396. package/resources/themes/arya-orange/theme.css +13 -7
  397. package/resources/themes/arya-purple/theme.css +13 -7
  398. package/resources/themes/bootstrap4-dark-blue/theme.css +13 -7
  399. package/resources/themes/bootstrap4-dark-purple/theme.css +13 -7
  400. package/resources/themes/bootstrap4-light-blue/theme.css +13 -7
  401. package/resources/themes/bootstrap4-light-purple/theme.css +13 -7
  402. package/resources/themes/fluent-light/theme.css +13 -7
  403. package/resources/themes/lara-dark-blue/theme.css +13 -7
  404. package/resources/themes/lara-dark-indigo/theme.css +13 -7
  405. package/resources/themes/lara-dark-purple/theme.css +13 -7
  406. package/resources/themes/lara-dark-teal/theme.css +13 -7
  407. package/resources/themes/lara-light-blue/theme.css +13 -7
  408. package/resources/themes/lara-light-indigo/theme.css +13 -7
  409. package/resources/themes/lara-light-purple/theme.css +13 -7
  410. package/resources/themes/lara-light-teal/theme.css +13 -7
  411. package/resources/themes/luna-amber/theme.css +13 -7
  412. package/resources/themes/luna-blue/theme.css +13 -7
  413. package/resources/themes/luna-green/theme.css +13 -7
  414. package/resources/themes/luna-pink/theme.css +13 -7
  415. package/resources/themes/md-dark-deeppurple/theme.css +13 -7
  416. package/resources/themes/md-dark-indigo/theme.css +13 -7
  417. package/resources/themes/md-light-deeppurple/theme.css +13 -7
  418. package/resources/themes/md-light-indigo/theme.css +13 -7
  419. package/resources/themes/mdc-dark-deeppurple/theme.css +13 -7
  420. package/resources/themes/mdc-dark-indigo/theme.css +13 -7
  421. package/resources/themes/mdc-light-deeppurple/theme.css +13 -7
  422. package/resources/themes/mdc-light-indigo/theme.css +13 -7
  423. package/resources/themes/mira/theme.css +13 -7
  424. package/resources/themes/nano/theme.css +13 -7
  425. package/resources/themes/nova/theme.css +13 -7
  426. package/resources/themes/nova-accent/theme.css +13 -7
  427. package/resources/themes/nova-alt/theme.css +13 -7
  428. package/resources/themes/rhea/theme.css +13 -7
  429. package/resources/themes/saga-blue/theme.css +13 -7
  430. package/resources/themes/saga-green/theme.css +13 -7
  431. package/resources/themes/saga-orange/theme.css +13 -7
  432. package/resources/themes/saga-purple/theme.css +13 -7
  433. package/resources/themes/soho-dark/theme.css +13 -7
  434. package/resources/themes/soho-light/theme.css +13 -7
  435. package/resources/themes/tailwind-light/theme.css +13 -7
  436. package/resources/themes/vela-blue/theme.css +13 -7
  437. package/resources/themes/vela-green/theme.css +13 -7
  438. package/resources/themes/vela-orange/theme.css +13 -7
  439. package/resources/themes/vela-purple/theme.css +13 -7
  440. package/resources/themes/viva-dark/theme.css +13 -7
  441. package/resources/themes/viva-light/theme.css +13 -7
  442. package/slidemenu/slidemenu.cjs.js +121 -111
  443. package/slidemenu/slidemenu.cjs.min.js +1 -1
  444. package/slidemenu/slidemenu.d.ts +98 -1
  445. package/slidemenu/slidemenu.esm.js +122 -112
  446. package/slidemenu/slidemenu.esm.min.js +1 -1
  447. package/slidemenu/slidemenu.js +122 -113
  448. package/slidemenu/slidemenu.min.js +1 -1
  449. package/steps/steps.cjs.js +78 -45
  450. package/steps/steps.cjs.min.js +1 -1
  451. package/steps/steps.d.ts +50 -0
  452. package/steps/steps.esm.js +79 -46
  453. package/steps/steps.esm.min.js +1 -1
  454. package/steps/steps.js +79 -47
  455. package/steps/steps.min.js +1 -1
  456. package/tabmenu/tabmenu.cjs.js +83 -47
  457. package/tabmenu/tabmenu.cjs.min.js +1 -1
  458. package/tabmenu/tabmenu.d.ts +62 -0
  459. package/tabmenu/tabmenu.esm.js +84 -48
  460. package/tabmenu/tabmenu.esm.min.js +1 -1
  461. package/tabmenu/tabmenu.js +84 -49
  462. package/tabmenu/tabmenu.min.js +1 -1
  463. package/tieredmenu/tieredmenu.cjs.js +104 -59
  464. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  465. package/tieredmenu/tieredmenu.d.ts +83 -2
  466. package/tieredmenu/tieredmenu.esm.js +105 -60
  467. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  468. package/tieredmenu/tieredmenu.js +105 -61
  469. package/tieredmenu/tieredmenu.min.js +1 -1
  470. package/toast/toast.cjs.js +72 -71
  471. package/toast/toast.cjs.min.js +1 -1
  472. package/toast/toast.d.ts +120 -2
  473. package/toast/toast.esm.js +73 -72
  474. package/toast/toast.esm.min.js +1 -1
  475. package/toast/toast.js +70 -70
  476. package/toast/toast.min.js +1 -1
  477. package/togglebutton/togglebutton.cjs.js +6 -0
  478. package/togglebutton/togglebutton.cjs.min.js +1 -1
  479. package/togglebutton/togglebutton.esm.js +6 -0
  480. package/togglebutton/togglebutton.esm.min.js +1 -1
  481. package/togglebutton/togglebutton.js +7 -2
  482. package/togglebutton/togglebutton.min.js +1 -1
  483. package/treeselect/treeselect.cjs.js +3 -0
  484. package/treeselect/treeselect.cjs.min.js +1 -1
  485. package/treeselect/treeselect.d.ts +5 -0
  486. package/treeselect/treeselect.esm.js +3 -0
  487. package/treeselect/treeselect.esm.min.js +1 -1
  488. package/treeselect/treeselect.js +3 -0
  489. package/treeselect/treeselect.min.js +1 -1
  490. package/tristatecheckbox/tristatecheckbox.cjs.js +14 -7
  491. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  492. package/tristatecheckbox/tristatecheckbox.d.ts +5 -0
  493. package/tristatecheckbox/tristatecheckbox.esm.js +14 -7
  494. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  495. package/tristatecheckbox/tristatecheckbox.js +15 -9
  496. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  497. package/utils/utils.cjs.js +25 -4
  498. package/utils/utils.cjs.min.js +1 -1
  499. package/utils/utils.d.ts +1 -1
  500. package/utils/utils.esm.js +22 -4
  501. package/utils/utils.esm.min.js +1 -1
  502. package/utils/utils.js +26 -6
  503. package/utils/utils.min.js +1 -1
  504. package/web-types.json +1 -1
@@ -16,8 +16,416 @@ function _extends() {
16
16
  return _extends.apply(this, arguments);
17
17
  }
18
18
 
19
+ function _arrayWithHoles(arr) {
20
+ if (Array.isArray(arr)) return arr;
21
+ }
22
+
23
+ function _iterableToArrayLimit(arr, i) {
24
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
25
+ if (null != _i) {
26
+ var _s,
27
+ _e,
28
+ _x,
29
+ _r,
30
+ _arr = [],
31
+ _n = !0,
32
+ _d = !1;
33
+ try {
34
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
35
+ if (Object(_i) !== _i) return;
36
+ _n = !1;
37
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
38
+ } catch (err) {
39
+ _d = !0, _e = err;
40
+ } finally {
41
+ try {
42
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
43
+ } finally {
44
+ if (_d) throw _e;
45
+ }
46
+ }
47
+ return _arr;
48
+ }
49
+ }
50
+
51
+ function _arrayLikeToArray(arr, len) {
52
+ if (len == null || len > arr.length) len = arr.length;
53
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
54
+ return arr2;
55
+ }
56
+
57
+ function _unsupportedIterableToArray(o, minLen) {
58
+ if (!o) return;
59
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
60
+ var n = Object.prototype.toString.call(o).slice(8, -1);
61
+ if (n === "Object" && o.constructor) n = o.constructor.name;
62
+ if (n === "Map" || n === "Set") return Array.from(o);
63
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
64
+ }
65
+
66
+ function _nonIterableRest() {
67
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
68
+ }
69
+
70
+ function _slicedToArray(arr, i) {
71
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
72
+ }
73
+
74
+ function _typeof(obj) {
75
+ "@babel/helpers - typeof";
76
+
77
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
78
+ return typeof obj;
79
+ } : function (obj) {
80
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
81
+ }, _typeof(obj);
82
+ }
83
+
84
+ function _classCallCheck(instance, Constructor) {
85
+ if (!(instance instanceof Constructor)) {
86
+ throw new TypeError("Cannot call a class as a function");
87
+ }
88
+ }
89
+
90
+ function _toPrimitive(input, hint) {
91
+ if (_typeof(input) !== "object" || input === null) return input;
92
+ var prim = input[Symbol.toPrimitive];
93
+ if (prim !== undefined) {
94
+ var res = prim.call(input, hint || "default");
95
+ if (_typeof(res) !== "object") return res;
96
+ throw new TypeError("@@toPrimitive must return a primitive value.");
97
+ }
98
+ return (hint === "string" ? String : Number)(input);
99
+ }
100
+
101
+ function _toPropertyKey(arg) {
102
+ var key = _toPrimitive(arg, "string");
103
+ return _typeof(key) === "symbol" ? key : String(key);
104
+ }
105
+
106
+ function _defineProperties(target, props) {
107
+ for (var i = 0; i < props.length; i++) {
108
+ var descriptor = props[i];
109
+ descriptor.enumerable = descriptor.enumerable || false;
110
+ descriptor.configurable = true;
111
+ if ("value" in descriptor) descriptor.writable = true;
112
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
113
+ }
114
+ }
115
+ function _createClass(Constructor, protoProps, staticProps) {
116
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
117
+ if (staticProps) _defineProperties(Constructor, staticProps);
118
+ Object.defineProperty(Constructor, "prototype", {
119
+ writable: false
120
+ });
121
+ return Constructor;
122
+ }
123
+
124
+ var ObjectUtils = /*#__PURE__*/function () {
125
+ function ObjectUtils() {
126
+ _classCallCheck(this, ObjectUtils);
127
+ }
128
+ _createClass(ObjectUtils, null, [{
129
+ key: "equals",
130
+ value: function equals(obj1, obj2, field) {
131
+ 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);
132
+ }
133
+ }, {
134
+ key: "deepEquals",
135
+ value: function deepEquals(a, b) {
136
+ if (a === b) return true;
137
+ if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
138
+ var arrA = Array.isArray(a),
139
+ arrB = Array.isArray(b),
140
+ i,
141
+ length,
142
+ key;
143
+ if (arrA && arrB) {
144
+ length = a.length;
145
+ if (length !== b.length) return false;
146
+ for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;
147
+ return true;
148
+ }
149
+ if (arrA !== arrB) return false;
150
+ var dateA = a instanceof Date,
151
+ dateB = b instanceof Date;
152
+ if (dateA !== dateB) return false;
153
+ if (dateA && dateB) return a.getTime() === b.getTime();
154
+ var regexpA = a instanceof RegExp,
155
+ regexpB = b instanceof RegExp;
156
+ if (regexpA !== regexpB) return false;
157
+ if (regexpA && regexpB) return a.toString() === b.toString();
158
+ var keys = Object.keys(a);
159
+ length = keys.length;
160
+ if (length !== Object.keys(b).length) return false;
161
+ for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
162
+ for (i = length; i-- !== 0;) {
163
+ key = keys[i];
164
+ if (!this.deepEquals(a[key], b[key])) return false;
165
+ }
166
+ return true;
167
+ }
168
+
169
+ /*eslint no-self-compare: "off"*/
170
+ return a !== a && b !== b;
171
+ }
172
+ }, {
173
+ key: "resolveFieldData",
174
+ value: function resolveFieldData(data, field) {
175
+ if (data && Object.keys(data).length && field) {
176
+ if (this.isFunction(field)) {
177
+ return field(data);
178
+ } else if (ObjectUtils.isNotEmpty(data[field])) {
179
+ return data[field];
180
+ } else if (field.indexOf('.') === -1) {
181
+ return data[field];
182
+ } else {
183
+ var fields = field.split('.');
184
+ var value = data;
185
+ for (var i = 0, len = fields.length; i < len; ++i) {
186
+ if (value == null) {
187
+ return null;
188
+ }
189
+ value = value[fields[i]];
190
+ }
191
+ return value;
192
+ }
193
+ } else {
194
+ return null;
195
+ }
196
+ }
197
+ }, {
198
+ key: "isFunction",
199
+ value: function isFunction(obj) {
200
+ return !!(obj && obj.constructor && obj.call && obj.apply);
201
+ }
202
+ }, {
203
+ key: "isLetter",
204
+ value: function isLetter(_char) {
205
+ return _char && (_char.toUpperCase() != _char.toLowerCase() || _char.codePointAt(0) > 127);
206
+ }
207
+ }, {
208
+ key: "findDiffKeys",
209
+ value: function findDiffKeys(obj1, obj2) {
210
+ if (!obj1 || !obj2) {
211
+ return {};
212
+ }
213
+ return Object.keys(obj1).filter(function (key) {
214
+ return !obj2.hasOwnProperty(key);
215
+ }).reduce(function (result, current) {
216
+ result[current] = obj1[current];
217
+ return result;
218
+ }, {});
219
+ }
220
+
221
+ /**
222
+ * Removes keys from a JSON object that start with a string such as "data" to get all "data-id" type properties.
223
+ *
224
+ * @param {any} obj the JSON object to reduce
225
+ * @param {string[]} startsWiths the string(s) to check if the property starts with this key
226
+ * @returns the JSON object containing only the key/values that match the startsWith string
227
+ */
228
+ }, {
229
+ key: "reduceKeys",
230
+ value: function reduceKeys(obj, startsWiths) {
231
+ var result = {};
232
+ if (!obj || !startsWiths || startsWiths.length === 0) {
233
+ return result;
234
+ }
235
+ Object.keys(obj).filter(function (key) {
236
+ return startsWiths.some(function (value) {
237
+ return key.startsWith(value);
238
+ });
239
+ }).forEach(function (key) {
240
+ result[key] = obj[key];
241
+ delete obj[key];
242
+ });
243
+ return result;
244
+ }
245
+ }, {
246
+ key: "reorderArray",
247
+ value: function reorderArray(value, from, to) {
248
+ if (value && from !== to) {
249
+ if (to >= value.length) {
250
+ to %= value.length;
251
+ from %= value.length;
252
+ }
253
+ value.splice(to, 0, value.splice(from, 1)[0]);
254
+ }
255
+ }
256
+ }, {
257
+ key: "findIndexInList",
258
+ value: function findIndexInList(value, list, dataKey) {
259
+ var _this = this;
260
+ if (list) {
261
+ return dataKey ? list.findIndex(function (item) {
262
+ return _this.equals(item, value, dataKey);
263
+ }) : list.findIndex(function (item) {
264
+ return item === value;
265
+ });
266
+ }
267
+ return -1;
268
+ }
269
+ }, {
270
+ key: "getJSXElement",
271
+ value: function getJSXElement(obj) {
272
+ for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
273
+ params[_key - 1] = arguments[_key];
274
+ }
275
+ return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
276
+ }
277
+ }, {
278
+ key: "getProp",
279
+ value: function getProp(props) {
280
+ var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
281
+ var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
282
+ var value = props ? props[prop] : undefined;
283
+ return value === undefined ? defaultProps[prop] : value;
284
+ }
285
+ }, {
286
+ key: "getMergedProps",
287
+ value: function getMergedProps(props, defaultProps) {
288
+ return Object.assign({}, defaultProps, props);
289
+ }
290
+ }, {
291
+ key: "getDiffProps",
292
+ value: function getDiffProps(props, defaultProps) {
293
+ return this.findDiffKeys(props, defaultProps);
294
+ }
295
+ }, {
296
+ key: "getPropValue",
297
+ value: function getPropValue(obj) {
298
+ for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
299
+ params[_key2 - 1] = arguments[_key2];
300
+ }
301
+ return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
302
+ }
303
+ }, {
304
+ key: "getComponentProp",
305
+ value: function getComponentProp(component) {
306
+ var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
307
+ var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
308
+ return this.isNotEmpty(component) ? this.getProp(component.props, prop, defaultProps) : undefined;
309
+ }
310
+ }, {
311
+ key: "getComponentProps",
312
+ value: function getComponentProps(component, defaultProps) {
313
+ return this.isNotEmpty(component) ? this.getMergedProps(component.props, defaultProps) : undefined;
314
+ }
315
+ }, {
316
+ key: "getComponentDiffProps",
317
+ value: function getComponentDiffProps(component, defaultProps) {
318
+ return this.isNotEmpty(component) ? this.getDiffProps(component.props, defaultProps) : undefined;
319
+ }
320
+ }, {
321
+ key: "isValidChild",
322
+ value: function isValidChild(child, type, validTypes) {
323
+ /* eslint-disable */
324
+ if (child) {
325
+ var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
326
+ var isValid = childType === type;
327
+ try {
328
+ var messageTypes; if ("production" !== 'production' && !isValid) ;
329
+ } catch (error) {
330
+ // NOOP
331
+ }
332
+ return isValid;
333
+ }
334
+ return false;
335
+ /* eslint-enable */
336
+ }
337
+ }, {
338
+ key: "getRefElement",
339
+ value: function getRefElement(ref) {
340
+ if (ref) {
341
+ return _typeof(ref) === 'object' && ref.hasOwnProperty('current') ? ref.current : ref;
342
+ }
343
+ return null;
344
+ }
345
+ }, {
346
+ key: "combinedRefs",
347
+ value: function combinedRefs(innerRef, forwardRef) {
348
+ if (innerRef && forwardRef) {
349
+ if (typeof forwardRef === 'function') {
350
+ forwardRef(innerRef.current);
351
+ } else {
352
+ forwardRef.current = innerRef.current;
353
+ }
354
+ }
355
+ }
356
+ }, {
357
+ key: "removeAccents",
358
+ value: function removeAccents(str) {
359
+ if (str && str.search(/[\xC0-\xFF]/g) > -1) {
360
+ 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');
361
+ }
362
+ return str;
363
+ }
364
+ }, {
365
+ key: "convertToFlatCase",
366
+ value: function convertToFlatCase(str) {
367
+ // convert snake, kebab, camel and pascal cases to flat case
368
+ return this.isNotEmpty(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;
369
+ }
370
+ }, {
371
+ key: "isEmpty",
372
+ value: function isEmpty(value) {
373
+ return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;
374
+ }
375
+ }, {
376
+ key: "isNotEmpty",
377
+ value: function isNotEmpty(value) {
378
+ return !this.isEmpty(value);
379
+ }
380
+ }, {
381
+ key: "sort",
382
+ value: function sort(value1, value2) {
383
+ var order = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
384
+ var locale = arguments.length > 3 ? arguments[3] : undefined;
385
+ var nullSortOrder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
386
+ var result = ObjectUtils.compare(value1, value2, locale, order);
387
+ var finalSortOrder = order;
388
+
389
+ // nullSortOrder == 1 means Excel like sort nulls at bottom
390
+ if (ObjectUtils.isEmpty(value1) || ObjectUtils.isEmpty(value2)) {
391
+ finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;
392
+ }
393
+ return finalSortOrder * result;
394
+ }
395
+ }, {
396
+ key: "compare",
397
+ value: function compare(value1, value2, locale) {
398
+ var order = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
399
+ var result = -1;
400
+ var emptyValue1 = ObjectUtils.isEmpty(value1);
401
+ var emptyValue2 = ObjectUtils.isEmpty(value2);
402
+ 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, {
403
+ numeric: true
404
+ });else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
405
+ return result;
406
+ }
407
+ }]);
408
+ return ObjectUtils;
409
+ }();
410
+
411
+ var lastId = 0;
412
+ function UniqueComponentId() {
413
+ var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';
414
+ lastId++;
415
+ return "".concat(prefix).concat(lastId);
416
+ }
417
+
19
418
  var UploadIcon = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
20
419
  var pti = IconBase.getPTI(inProps);
420
+ var _React$useState = React.useState(inProps.id),
421
+ _React$useState2 = _slicedToArray(_React$useState, 2),
422
+ pathId = _React$useState2[0],
423
+ setPathId = _React$useState2[1];
424
+ React.useEffect(function () {
425
+ if (ObjectUtils.isEmpty(pathId)) {
426
+ setPathId(UniqueComponentId('pr_icon_clip_'));
427
+ }
428
+ }, [pathId]);
21
429
  return /*#__PURE__*/React.createElement("svg", _extends({
22
430
  ref: ref,
23
431
  width: "14",
@@ -26,14 +434,14 @@ var UploadIcon = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function
26
434
  fill: "none",
27
435
  xmlns: "http://www.w3.org/2000/svg"
28
436
  }, pti), /*#__PURE__*/React.createElement("g", {
29
- clipPath: "url(#clip0_414_21072)"
437
+ clipPath: "url(#".concat(pathId, ")")
30
438
  }, /*#__PURE__*/React.createElement("path", {
31
439
  fillRule: "evenodd",
32
440
  clipRule: "evenodd",
33
441
  d: "M6.58942 9.82197C6.70165 9.93405 6.85328 9.99793 7.012 10C7.17071 9.99793 7.32234 9.93405 7.43458 9.82197C7.54681 9.7099 7.61079 9.55849 7.61286 9.4V2.04798L9.79204 4.22402C9.84752 4.28011 9.91365 4.32457 9.98657 4.35479C10.0595 4.38502 10.1377 4.40039 10.2167 4.40002C10.2956 4.40039 10.3738 4.38502 10.4467 4.35479C10.5197 4.32457 10.5858 4.28011 10.6413 4.22402C10.7538 4.11152 10.817 3.95902 10.817 3.80002C10.817 3.64102 10.7538 3.48852 10.6413 3.37602L7.45127 0.190618C7.44656 0.185584 7.44176 0.180622 7.43687 0.175736C7.32419 0.063214 7.17136 0 7.012 0C6.85264 0 6.69981 0.063214 6.58712 0.175736C6.58181 0.181045 6.5766 0.186443 6.5715 0.191927L3.38282 3.37602C3.27669 3.48976 3.2189 3.6402 3.22165 3.79564C3.2244 3.95108 3.28746 4.09939 3.39755 4.20932C3.50764 4.31925 3.65616 4.38222 3.81182 4.38496C3.96749 4.3877 4.11814 4.33001 4.23204 4.22402L6.41113 2.04807V9.4C6.41321 9.55849 6.47718 9.7099 6.58942 9.82197ZM11.9952 14H2.02883C1.751 13.9887 1.47813 13.9228 1.22584 13.8061C0.973545 13.6894 0.746779 13.5241 0.558517 13.3197C0.370254 13.1154 0.22419 12.876 0.128681 12.6152C0.0331723 12.3545 -0.00990605 12.0775 0.0019109 11.8V9.40005C0.0019109 9.24092 0.065216 9.08831 0.1779 8.97579C0.290584 8.86326 0.443416 8.80005 0.602775 8.80005C0.762134 8.80005 0.914966 8.86326 1.02765 8.97579C1.14033 9.08831 1.20364 9.24092 1.20364 9.40005V11.8C1.18295 12.0376 1.25463 12.274 1.40379 12.4602C1.55296 12.6463 1.76817 12.7681 2.00479 12.8H11.9952C12.2318 12.7681 12.447 12.6463 12.5962 12.4602C12.7453 12.274 12.817 12.0376 12.7963 11.8V9.40005C12.7963 9.24092 12.8596 9.08831 12.9723 8.97579C13.085 8.86326 13.2378 8.80005 13.3972 8.80005C13.5565 8.80005 13.7094 8.86326 13.8221 8.97579C13.9347 9.08831 13.998 9.24092 13.998 9.40005V11.8C14.022 12.3563 13.8251 12.8996 13.45 13.3116C13.0749 13.7236 12.552 13.971 11.9952 14Z",
34
442
  fill: "currentColor"
35
443
  })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
36
- id: "clip0_414_21072"
444
+ id: pathId
37
445
  }, /*#__PURE__*/React.createElement("rect", {
38
446
  width: "14",
39
447
  height: "14",
@@ -1 +1 @@
1
- import*as e from"react";import{IconBase as t}from"primereact/iconbase";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var C in r)Object.prototype.hasOwnProperty.call(r,C)&&(e[C]=r[C])}return e},r.apply(this,arguments)}var C=e.memo(e.forwardRef((function(C,l){var n=t.getPTI(C);return e.createElement("svg",r({ref:l,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),e.createElement("g",{clipPath:"url(#clip0_414_21072)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.58942 9.82197C6.70165 9.93405 6.85328 9.99793 7.012 10C7.17071 9.99793 7.32234 9.93405 7.43458 9.82197C7.54681 9.7099 7.61079 9.55849 7.61286 9.4V2.04798L9.79204 4.22402C9.84752 4.28011 9.91365 4.32457 9.98657 4.35479C10.0595 4.38502 10.1377 4.40039 10.2167 4.40002C10.2956 4.40039 10.3738 4.38502 10.4467 4.35479C10.5197 4.32457 10.5858 4.28011 10.6413 4.22402C10.7538 4.11152 10.817 3.95902 10.817 3.80002C10.817 3.64102 10.7538 3.48852 10.6413 3.37602L7.45127 0.190618C7.44656 0.185584 7.44176 0.180622 7.43687 0.175736C7.32419 0.063214 7.17136 0 7.012 0C6.85264 0 6.69981 0.063214 6.58712 0.175736C6.58181 0.181045 6.5766 0.186443 6.5715 0.191927L3.38282 3.37602C3.27669 3.48976 3.2189 3.6402 3.22165 3.79564C3.2244 3.95108 3.28746 4.09939 3.39755 4.20932C3.50764 4.31925 3.65616 4.38222 3.81182 4.38496C3.96749 4.3877 4.11814 4.33001 4.23204 4.22402L6.41113 2.04807V9.4C6.41321 9.55849 6.47718 9.7099 6.58942 9.82197ZM11.9952 14H2.02883C1.751 13.9887 1.47813 13.9228 1.22584 13.8061C0.973545 13.6894 0.746779 13.5241 0.558517 13.3197C0.370254 13.1154 0.22419 12.876 0.128681 12.6152C0.0331723 12.3545 -0.00990605 12.0775 0.0019109 11.8V9.40005C0.0019109 9.24092 0.065216 9.08831 0.1779 8.97579C0.290584 8.86326 0.443416 8.80005 0.602775 8.80005C0.762134 8.80005 0.914966 8.86326 1.02765 8.97579C1.14033 9.08831 1.20364 9.24092 1.20364 9.40005V11.8C1.18295 12.0376 1.25463 12.274 1.40379 12.4602C1.55296 12.6463 1.76817 12.7681 2.00479 12.8H11.9952C12.2318 12.7681 12.447 12.6463 12.5962 12.4602C12.7453 12.274 12.817 12.0376 12.7963 11.8V9.40005C12.7963 9.24092 12.8596 9.08831 12.9723 8.97579C13.085 8.86326 13.2378 8.80005 13.3972 8.80005C13.5565 8.80005 13.7094 8.86326 13.8221 8.97579C13.9347 9.08831 13.998 9.24092 13.998 9.40005V11.8C14.022 12.3563 13.8251 12.8996 13.45 13.3116C13.0749 13.7236 12.552 13.971 11.9952 14Z",fill:"currentColor"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_414_21072"},e.createElement("rect",{width:"14",height:"14",fill:"white"}))))})));C.displayName="UploadIcon";export{C as UploadIcon};
1
+ import*as e from"react";import{IconBase as t}from"primereact/iconbase";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}function n(e){if(Array.isArray(e))return e}function i(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,u,l=[],a=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;a=!1}else for(;!(a=(n=o.call(r)).done)&&(l.push(n.value),l.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{if(!a&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw i}}return l}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if("object"!==a(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(i=void 0,"symbol"===a(i=f(n.key,"string"))?i:String(i)),n)}var i}var p=function(){function e(){c(this,e)}var t,r,n;return t=e,n=[{key:"equals",value:function(e,t,r){return r&&e&&"object"===a(e)&&t&&"object"===a(t)?this.resolveFieldData(e,r)===this.resolveFieldData(t,r):this.deepEquals(e,t)}},{key:"deepEquals",value:function(e,t){if(e===t)return!0;if(e&&t&&"object"==a(e)&&"object"==a(t)){var r,n,i,o=Array.isArray(e),u=Array.isArray(t);if(o&&u){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!this.deepEquals(e[r],t[r]))return!1;return!0}if(o!==u)return!1;var l=e instanceof Date,c=t instanceof Date;if(l!==c)return!1;if(l&&c)return e.getTime()===t.getTime();var f=e instanceof RegExp,s=t instanceof RegExp;if(f!==s)return!1;if(f&&s)return e.toString()===t.toString();var p=Object.keys(e);if((n=p.length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,p[r]))return!1;for(r=n;0!=r--;)if(!this.deepEquals(e[i=p[r]],t[i]))return!1;return!0}return e!=e&&t!=t}},{key:"resolveFieldData",value:function(t,r){if(t&&Object.keys(t).length&&r){if(this.isFunction(r))return r(t);if(e.isNotEmpty(t[r]))return t[r];if(-1===r.indexOf("."))return t[r];for(var n=r.split("."),i=t,o=0,u=n.length;o<u;++o){if(null==i)return null;i=i[n[o]]}return i}return null}},{key:"isFunction",value:function(e){return!!(e&&e.constructor&&e.call&&e.apply)}},{key:"isLetter",value:function(e){return e&&(e.toUpperCase()!=e.toLowerCase()||e.codePointAt(0)>127)}},{key:"findDiffKeys",value:function(e,t){return e&&t?Object.keys(e).filter((function(e){return!t.hasOwnProperty(e)})).reduce((function(t,r){return t[r]=e[r],t}),{}):{}}},{key:"reduceKeys",value:function(e,t){var r={};return e&&t&&0!==t.length?(Object.keys(e).filter((function(e){return t.some((function(t){return e.startsWith(t)}))})).forEach((function(t){r[t]=e[t],delete e[t]})),r):r}},{key:"reorderArray",value:function(e,t,r){e&&t!==r&&(r>=e.length&&(r%=e.length,t%=e.length),e.splice(r,0,e.splice(t,1)[0]))}},{key:"findIndexInList",value:function(e,t,r){var n=this;return t?t.findIndex(r?function(t){return n.equals(t,e,r)}:function(t){return t===e}):-1}},{key:"getJSXElement",value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return this.isFunction(e)?e.apply(void 0,r):e}},{key:"getProp",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e?e[t]:void 0;return void 0===r?(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})[t]:r}},{key:"getMergedProps",value:function(e,t){return Object.assign({},t,e)}},{key:"getDiffProps",value:function(e,t){return this.findDiffKeys(e,t)}},{key:"getPropValue",value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return this.isFunction(e)?e.apply(void 0,r):e}},{key:"getComponentProp",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.isNotEmpty(e)?this.getProp(e.props,t,r):void 0}},{key:"getComponentProps",value:function(e,t){return this.isNotEmpty(e)?this.getMergedProps(e.props,t):void 0}},{key:"getComponentDiffProps",value:function(e,t){return this.isNotEmpty(e)?this.getDiffProps(e.props,t):void 0}},{key:"isValidChild",value:function(e,t,r){if(e){var n=(this.getComponentProp(e,"__TYPE")||(e.type?e.type.displayName:void 0))===t;return n}return!1}},{key:"getRefElement",value:function(e){return e?"object"===a(e)&&e.hasOwnProperty("current")?e.current:e:null}},{key:"combinedRefs",value:function(e,t){e&&t&&("function"==typeof t?t(e.current):t.current=e.current)}},{key:"removeAccents",value:function(e){return e&&e.search(/[\xC0-\xFF]/g)>-1&&(e=e.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")),e}},{key:"convertToFlatCase",value:function(e){return this.isNotEmpty(e)?e.replace(/(-|_)/g,"").toLowerCase():e}},{key:"isEmpty",value:function(e){return null==e||""===e||Array.isArray(e)&&0===e.length||!(e instanceof Date)&&"object"===a(e)&&0===Object.keys(e).length}},{key:"isNotEmpty",value:function(e){return!this.isEmpty(e)}},{key:"sort",value:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.compare(t,r,arguments.length>3?arguments[3]:void 0,n),u=n;return(e.isEmpty(t)||e.isEmpty(r))&&(u=1===i?n:i),u*o}},{key:"compare",value:function(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=e.isEmpty(t),u=e.isEmpty(r);return o&&u?0:o?i:u?-i:"string"==typeof t&&"string"==typeof r?t.localeCompare(r,n,{numeric:!0}):t<r?-1:t>r?1:0}}],(r=null)&&s(t.prototype,r),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),y=0;function v(){return y++,"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pr_id_").concat(y)}var g=e.memo(e.forwardRef((function(o,a){var c,f,s=t.getPTI(o),y=e.useState(o.id),g=(f=2,n(c=y)||i(c,f)||u(c,f)||l()),h=g[0],d=g[1];return e.useEffect((function(){p.isEmpty(h)&&d(v("pr_icon_clip_"))}),[h]),e.createElement("svg",r({ref:a,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s),e.createElement("g",{clipPath:"url(#".concat(h,")")},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.58942 9.82197C6.70165 9.93405 6.85328 9.99793 7.012 10C7.17071 9.99793 7.32234 9.93405 7.43458 9.82197C7.54681 9.7099 7.61079 9.55849 7.61286 9.4V2.04798L9.79204 4.22402C9.84752 4.28011 9.91365 4.32457 9.98657 4.35479C10.0595 4.38502 10.1377 4.40039 10.2167 4.40002C10.2956 4.40039 10.3738 4.38502 10.4467 4.35479C10.5197 4.32457 10.5858 4.28011 10.6413 4.22402C10.7538 4.11152 10.817 3.95902 10.817 3.80002C10.817 3.64102 10.7538 3.48852 10.6413 3.37602L7.45127 0.190618C7.44656 0.185584 7.44176 0.180622 7.43687 0.175736C7.32419 0.063214 7.17136 0 7.012 0C6.85264 0 6.69981 0.063214 6.58712 0.175736C6.58181 0.181045 6.5766 0.186443 6.5715 0.191927L3.38282 3.37602C3.27669 3.48976 3.2189 3.6402 3.22165 3.79564C3.2244 3.95108 3.28746 4.09939 3.39755 4.20932C3.50764 4.31925 3.65616 4.38222 3.81182 4.38496C3.96749 4.3877 4.11814 4.33001 4.23204 4.22402L6.41113 2.04807V9.4C6.41321 9.55849 6.47718 9.7099 6.58942 9.82197ZM11.9952 14H2.02883C1.751 13.9887 1.47813 13.9228 1.22584 13.8061C0.973545 13.6894 0.746779 13.5241 0.558517 13.3197C0.370254 13.1154 0.22419 12.876 0.128681 12.6152C0.0331723 12.3545 -0.00990605 12.0775 0.0019109 11.8V9.40005C0.0019109 9.24092 0.065216 9.08831 0.1779 8.97579C0.290584 8.86326 0.443416 8.80005 0.602775 8.80005C0.762134 8.80005 0.914966 8.86326 1.02765 8.97579C1.14033 9.08831 1.20364 9.24092 1.20364 9.40005V11.8C1.18295 12.0376 1.25463 12.274 1.40379 12.4602C1.55296 12.6463 1.76817 12.7681 2.00479 12.8H11.9952C12.2318 12.7681 12.447 12.6463 12.5962 12.4602C12.7453 12.274 12.817 12.0376 12.7963 11.8V9.40005C12.7963 9.24092 12.8596 9.08831 12.9723 8.97579C13.085 8.86326 13.2378 8.80005 13.3972 8.80005C13.5565 8.80005 13.7094 8.86326 13.8221 8.97579C13.9347 9.08831 13.998 9.24092 13.998 9.40005V11.8C14.022 12.3563 13.8251 12.8996 13.45 13.3116C13.0749 13.7236 12.552 13.971 11.9952 14Z",fill:"currentColor"})),e.createElement("defs",null,e.createElement("clipPath",{id:h},e.createElement("rect",{width:"14",height:"14",fill:"white"}))))})));g.displayName="UploadIcon";export{g as UploadIcon};