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
@@ -38,8 +38,416 @@ this.primereact.icons.spinner = (function (exports, React, iconbase) {
38
38
  return _extends.apply(this, arguments);
39
39
  }
40
40
 
41
+ function _arrayWithHoles(arr) {
42
+ if (Array.isArray(arr)) return arr;
43
+ }
44
+
45
+ function _iterableToArrayLimit(arr, i) {
46
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
47
+ if (null != _i) {
48
+ var _s,
49
+ _e,
50
+ _x,
51
+ _r,
52
+ _arr = [],
53
+ _n = !0,
54
+ _d = !1;
55
+ try {
56
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
57
+ if (Object(_i) !== _i) return;
58
+ _n = !1;
59
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
60
+ } catch (err) {
61
+ _d = !0, _e = err;
62
+ } finally {
63
+ try {
64
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
65
+ } finally {
66
+ if (_d) throw _e;
67
+ }
68
+ }
69
+ return _arr;
70
+ }
71
+ }
72
+
73
+ function _arrayLikeToArray(arr, len) {
74
+ if (len == null || len > arr.length) len = arr.length;
75
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
76
+ return arr2;
77
+ }
78
+
79
+ function _unsupportedIterableToArray(o, minLen) {
80
+ if (!o) return;
81
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
82
+ var n = Object.prototype.toString.call(o).slice(8, -1);
83
+ if (n === "Object" && o.constructor) n = o.constructor.name;
84
+ if (n === "Map" || n === "Set") return Array.from(o);
85
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
86
+ }
87
+
88
+ function _nonIterableRest() {
89
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
90
+ }
91
+
92
+ function _slicedToArray(arr, i) {
93
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
94
+ }
95
+
96
+ function _typeof(obj) {
97
+ "@babel/helpers - typeof";
98
+
99
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
100
+ return typeof obj;
101
+ } : function (obj) {
102
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
103
+ }, _typeof(obj);
104
+ }
105
+
106
+ function _classCallCheck(instance, Constructor) {
107
+ if (!(instance instanceof Constructor)) {
108
+ throw new TypeError("Cannot call a class as a function");
109
+ }
110
+ }
111
+
112
+ function _toPrimitive(input, hint) {
113
+ if (_typeof(input) !== "object" || input === null) return input;
114
+ var prim = input[Symbol.toPrimitive];
115
+ if (prim !== undefined) {
116
+ var res = prim.call(input, hint || "default");
117
+ if (_typeof(res) !== "object") return res;
118
+ throw new TypeError("@@toPrimitive must return a primitive value.");
119
+ }
120
+ return (hint === "string" ? String : Number)(input);
121
+ }
122
+
123
+ function _toPropertyKey(arg) {
124
+ var key = _toPrimitive(arg, "string");
125
+ return _typeof(key) === "symbol" ? key : String(key);
126
+ }
127
+
128
+ function _defineProperties(target, props) {
129
+ for (var i = 0; i < props.length; i++) {
130
+ var descriptor = props[i];
131
+ descriptor.enumerable = descriptor.enumerable || false;
132
+ descriptor.configurable = true;
133
+ if ("value" in descriptor) descriptor.writable = true;
134
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
135
+ }
136
+ }
137
+ function _createClass(Constructor, protoProps, staticProps) {
138
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
139
+ if (staticProps) _defineProperties(Constructor, staticProps);
140
+ Object.defineProperty(Constructor, "prototype", {
141
+ writable: false
142
+ });
143
+ return Constructor;
144
+ }
145
+
146
+ var ObjectUtils = /*#__PURE__*/function () {
147
+ function ObjectUtils() {
148
+ _classCallCheck(this, ObjectUtils);
149
+ }
150
+ _createClass(ObjectUtils, null, [{
151
+ key: "equals",
152
+ value: function equals(obj1, obj2, field) {
153
+ 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);
154
+ }
155
+ }, {
156
+ key: "deepEquals",
157
+ value: function deepEquals(a, b) {
158
+ if (a === b) return true;
159
+ if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
160
+ var arrA = Array.isArray(a),
161
+ arrB = Array.isArray(b),
162
+ i,
163
+ length,
164
+ key;
165
+ if (arrA && arrB) {
166
+ length = a.length;
167
+ if (length !== b.length) return false;
168
+ for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;
169
+ return true;
170
+ }
171
+ if (arrA !== arrB) return false;
172
+ var dateA = a instanceof Date,
173
+ dateB = b instanceof Date;
174
+ if (dateA !== dateB) return false;
175
+ if (dateA && dateB) return a.getTime() === b.getTime();
176
+ var regexpA = a instanceof RegExp,
177
+ regexpB = b instanceof RegExp;
178
+ if (regexpA !== regexpB) return false;
179
+ if (regexpA && regexpB) return a.toString() === b.toString();
180
+ var keys = Object.keys(a);
181
+ length = keys.length;
182
+ if (length !== Object.keys(b).length) return false;
183
+ for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
184
+ for (i = length; i-- !== 0;) {
185
+ key = keys[i];
186
+ if (!this.deepEquals(a[key], b[key])) return false;
187
+ }
188
+ return true;
189
+ }
190
+
191
+ /*eslint no-self-compare: "off"*/
192
+ return a !== a && b !== b;
193
+ }
194
+ }, {
195
+ key: "resolveFieldData",
196
+ value: function resolveFieldData(data, field) {
197
+ if (data && Object.keys(data).length && field) {
198
+ if (this.isFunction(field)) {
199
+ return field(data);
200
+ } else if (ObjectUtils.isNotEmpty(data[field])) {
201
+ return data[field];
202
+ } else if (field.indexOf('.') === -1) {
203
+ return data[field];
204
+ } else {
205
+ var fields = field.split('.');
206
+ var value = data;
207
+ for (var i = 0, len = fields.length; i < len; ++i) {
208
+ if (value == null) {
209
+ return null;
210
+ }
211
+ value = value[fields[i]];
212
+ }
213
+ return value;
214
+ }
215
+ } else {
216
+ return null;
217
+ }
218
+ }
219
+ }, {
220
+ key: "isFunction",
221
+ value: function isFunction(obj) {
222
+ return !!(obj && obj.constructor && obj.call && obj.apply);
223
+ }
224
+ }, {
225
+ key: "isLetter",
226
+ value: function isLetter(_char) {
227
+ return _char && (_char.toUpperCase() != _char.toLowerCase() || _char.codePointAt(0) > 127);
228
+ }
229
+ }, {
230
+ key: "findDiffKeys",
231
+ value: function findDiffKeys(obj1, obj2) {
232
+ if (!obj1 || !obj2) {
233
+ return {};
234
+ }
235
+ return Object.keys(obj1).filter(function (key) {
236
+ return !obj2.hasOwnProperty(key);
237
+ }).reduce(function (result, current) {
238
+ result[current] = obj1[current];
239
+ return result;
240
+ }, {});
241
+ }
242
+
243
+ /**
244
+ * Removes keys from a JSON object that start with a string such as "data" to get all "data-id" type properties.
245
+ *
246
+ * @param {any} obj the JSON object to reduce
247
+ * @param {string[]} startsWiths the string(s) to check if the property starts with this key
248
+ * @returns the JSON object containing only the key/values that match the startsWith string
249
+ */
250
+ }, {
251
+ key: "reduceKeys",
252
+ value: function reduceKeys(obj, startsWiths) {
253
+ var result = {};
254
+ if (!obj || !startsWiths || startsWiths.length === 0) {
255
+ return result;
256
+ }
257
+ Object.keys(obj).filter(function (key) {
258
+ return startsWiths.some(function (value) {
259
+ return key.startsWith(value);
260
+ });
261
+ }).forEach(function (key) {
262
+ result[key] = obj[key];
263
+ delete obj[key];
264
+ });
265
+ return result;
266
+ }
267
+ }, {
268
+ key: "reorderArray",
269
+ value: function reorderArray(value, from, to) {
270
+ if (value && from !== to) {
271
+ if (to >= value.length) {
272
+ to %= value.length;
273
+ from %= value.length;
274
+ }
275
+ value.splice(to, 0, value.splice(from, 1)[0]);
276
+ }
277
+ }
278
+ }, {
279
+ key: "findIndexInList",
280
+ value: function findIndexInList(value, list, dataKey) {
281
+ var _this = this;
282
+ if (list) {
283
+ return dataKey ? list.findIndex(function (item) {
284
+ return _this.equals(item, value, dataKey);
285
+ }) : list.findIndex(function (item) {
286
+ return item === value;
287
+ });
288
+ }
289
+ return -1;
290
+ }
291
+ }, {
292
+ key: "getJSXElement",
293
+ value: function getJSXElement(obj) {
294
+ for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
295
+ params[_key - 1] = arguments[_key];
296
+ }
297
+ return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
298
+ }
299
+ }, {
300
+ key: "getProp",
301
+ value: function getProp(props) {
302
+ var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
303
+ var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
304
+ var value = props ? props[prop] : undefined;
305
+ return value === undefined ? defaultProps[prop] : value;
306
+ }
307
+ }, {
308
+ key: "getMergedProps",
309
+ value: function getMergedProps(props, defaultProps) {
310
+ return Object.assign({}, defaultProps, props);
311
+ }
312
+ }, {
313
+ key: "getDiffProps",
314
+ value: function getDiffProps(props, defaultProps) {
315
+ return this.findDiffKeys(props, defaultProps);
316
+ }
317
+ }, {
318
+ key: "getPropValue",
319
+ value: function getPropValue(obj) {
320
+ for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
321
+ params[_key2 - 1] = arguments[_key2];
322
+ }
323
+ return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
324
+ }
325
+ }, {
326
+ key: "getComponentProp",
327
+ value: function getComponentProp(component) {
328
+ var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
329
+ var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
330
+ return this.isNotEmpty(component) ? this.getProp(component.props, prop, defaultProps) : undefined;
331
+ }
332
+ }, {
333
+ key: "getComponentProps",
334
+ value: function getComponentProps(component, defaultProps) {
335
+ return this.isNotEmpty(component) ? this.getMergedProps(component.props, defaultProps) : undefined;
336
+ }
337
+ }, {
338
+ key: "getComponentDiffProps",
339
+ value: function getComponentDiffProps(component, defaultProps) {
340
+ return this.isNotEmpty(component) ? this.getDiffProps(component.props, defaultProps) : undefined;
341
+ }
342
+ }, {
343
+ key: "isValidChild",
344
+ value: function isValidChild(child, type, validTypes) {
345
+ /* eslint-disable */
346
+ if (child) {
347
+ var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
348
+ var isValid = childType === type;
349
+ try {
350
+ var messageTypes; if ("production" !== 'production' && !isValid) ;
351
+ } catch (error) {
352
+ // NOOP
353
+ }
354
+ return isValid;
355
+ }
356
+ return false;
357
+ /* eslint-enable */
358
+ }
359
+ }, {
360
+ key: "getRefElement",
361
+ value: function getRefElement(ref) {
362
+ if (ref) {
363
+ return _typeof(ref) === 'object' && ref.hasOwnProperty('current') ? ref.current : ref;
364
+ }
365
+ return null;
366
+ }
367
+ }, {
368
+ key: "combinedRefs",
369
+ value: function combinedRefs(innerRef, forwardRef) {
370
+ if (innerRef && forwardRef) {
371
+ if (typeof forwardRef === 'function') {
372
+ forwardRef(innerRef.current);
373
+ } else {
374
+ forwardRef.current = innerRef.current;
375
+ }
376
+ }
377
+ }
378
+ }, {
379
+ key: "removeAccents",
380
+ value: function removeAccents(str) {
381
+ if (str && str.search(/[\xC0-\xFF]/g) > -1) {
382
+ 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');
383
+ }
384
+ return str;
385
+ }
386
+ }, {
387
+ key: "convertToFlatCase",
388
+ value: function convertToFlatCase(str) {
389
+ // convert snake, kebab, camel and pascal cases to flat case
390
+ return this.isNotEmpty(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;
391
+ }
392
+ }, {
393
+ key: "isEmpty",
394
+ value: function isEmpty(value) {
395
+ return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;
396
+ }
397
+ }, {
398
+ key: "isNotEmpty",
399
+ value: function isNotEmpty(value) {
400
+ return !this.isEmpty(value);
401
+ }
402
+ }, {
403
+ key: "sort",
404
+ value: function sort(value1, value2) {
405
+ var order = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
406
+ var locale = arguments.length > 3 ? arguments[3] : undefined;
407
+ var nullSortOrder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
408
+ var result = ObjectUtils.compare(value1, value2, locale, order);
409
+ var finalSortOrder = order;
410
+
411
+ // nullSortOrder == 1 means Excel like sort nulls at bottom
412
+ if (ObjectUtils.isEmpty(value1) || ObjectUtils.isEmpty(value2)) {
413
+ finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;
414
+ }
415
+ return finalSortOrder * result;
416
+ }
417
+ }, {
418
+ key: "compare",
419
+ value: function compare(value1, value2, locale) {
420
+ var order = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
421
+ var result = -1;
422
+ var emptyValue1 = ObjectUtils.isEmpty(value1);
423
+ var emptyValue2 = ObjectUtils.isEmpty(value2);
424
+ 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, {
425
+ numeric: true
426
+ });else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
427
+ return result;
428
+ }
429
+ }]);
430
+ return ObjectUtils;
431
+ }();
432
+
433
+ var lastId = 0;
434
+ function UniqueComponentId() {
435
+ var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';
436
+ lastId++;
437
+ return "".concat(prefix).concat(lastId);
438
+ }
439
+
41
440
  var SpinnerIcon = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
42
441
  var pti = iconbase.IconBase.getPTI(inProps);
442
+ var _React$useState = React__namespace.useState(inProps.id),
443
+ _React$useState2 = _slicedToArray(_React$useState, 2),
444
+ pathId = _React$useState2[0],
445
+ setPathId = _React$useState2[1];
446
+ React__namespace.useEffect(function () {
447
+ if (ObjectUtils.isEmpty(pathId)) {
448
+ setPathId(UniqueComponentId('pr_icon_clip_'));
449
+ }
450
+ }, [pathId]);
43
451
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
44
452
  ref: ref,
45
453
  width: "14",
@@ -48,12 +456,12 @@ this.primereact.icons.spinner = (function (exports, React, iconbase) {
48
456
  fill: "none",
49
457
  xmlns: "http://www.w3.org/2000/svg"
50
458
  }, pti), /*#__PURE__*/React__namespace.createElement("g", {
51
- clipPath: "url(#clip0_417_21408)"
459
+ clipPath: "url(#".concat(pathId, ")")
52
460
  }, /*#__PURE__*/React__namespace.createElement("path", {
53
461
  d: "M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",
54
462
  fill: "currentColor"
55
463
  })), /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
56
- id: "clip0_417_21408"
464
+ id: pathId
57
465
  }, /*#__PURE__*/React__namespace.createElement("rect", {
58
466
  width: "14",
59
467
  height: "14",
@@ -1 +1 @@
1
- this.primereact=this.primereact||{},this.primereact.icons=this.primereact.icons||{},this.primereact.icons.spinner=function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=n(t);function c(){return c=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},c.apply(this,arguments)}var a=i.memo(i.forwardRef((function(e,t){var n=r.IconBase.getPTI(e);return i.createElement("svg",c({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),i.createElement("g",{clipPath:"url(#clip0_417_21408)"},i.createElement("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"})),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_417_21408"},i.createElement("rect",{width:"14",height:"14",fill:"white"}))))})));return a.displayName="SpinnerIcon",e.SpinnerIcon=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.iconbase);
1
+ this.primereact=this.primereact||{},this.primereact.icons=this.primereact.icons||{},this.primereact.icons.spinner=function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var i=n(t);function o(){return o=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},o.apply(this,arguments)}function u(e){if(Array.isArray(e))return e}function a(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,u,a=[],l=!0,c=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw i}}return a}}function l(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 c(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}function f(){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 s(e){return s="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},s(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function v(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"===s(i=y(n.key,"string"))?i:String(i)),n)}var i}var g=function(){function e(){p(this,e)}var t,r,n;return t=e,n=[{key:"equals",value:function(e,t,r){return r&&e&&"object"===s(e)&&t&&"object"===s(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"==s(e)&&"object"==s(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 a=e instanceof Date,l=t instanceof Date;if(a!==l)return!1;if(a&&l)return e.getTime()===t.getTime();var c=e instanceof RegExp,f=t instanceof RegExp;if(c!==f)return!1;if(c&&f)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"===s(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"===s(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)&&v(t.prototype,r),n&&v(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),h=0;function d(){return h++,"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pr_id_").concat(h)}var m=i.memo(i.forwardRef((function(e,t){var n,l,s=r.IconBase.getPTI(e),p=i.useState(e.id),y=(l=2,u(n=p)||a(n,l)||c(n,l)||f()),v=y[0],h=y[1];return i.useEffect((function(){g.isEmpty(v)&&h(d("pr_icon_clip_"))}),[v]),i.createElement("svg",o({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s),i.createElement("g",{clipPath:"url(#".concat(v,")")},i.createElement("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"})),i.createElement("defs",null,i.createElement("clipPath",{id:v},i.createElement("rect",{width:"14",height:"14",fill:"white"}))))})));return m.displayName="SpinnerIcon",e.SpinnerIcon=m,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.iconbase);