primereact 10.0.0 → 10.0.2

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 (483) hide show
  1. package/README.md +1 -1
  2. package/accordion/accordion.esm.js +0 -1
  3. package/api/api.esm.js +0 -1
  4. package/autocomplete/autocomplete.esm.js +8 -7
  5. package/autocomplete/autocomplete.esm.min.js +1 -1
  6. package/avatar/avatar.esm.js +0 -1
  7. package/avatargroup/avatargroup.esm.js +0 -1
  8. package/badge/badge.esm.js +0 -1
  9. package/blockui/blockui.esm.js +3 -1
  10. package/blockui/blockui.esm.min.js +1 -1
  11. package/breadcrumb/breadcrumb.esm.js +0 -1
  12. package/button/button.esm.js +0 -1
  13. package/calendar/calendar.esm.js +2 -1
  14. package/calendar/calendar.esm.min.js +1 -1
  15. package/card/card.esm.js +0 -1
  16. package/carousel/carousel.esm.js +7 -8
  17. package/carousel/carousel.esm.min.js +1 -1
  18. package/cascadeselect/cascadeselect.esm.js +0 -1
  19. package/chart/chart.esm.js +0 -1
  20. package/checkbox/checkbox.esm.js +0 -1
  21. package/chip/chip.esm.js +0 -1
  22. package/chips/chips.esm.js +0 -1
  23. package/colorpicker/colorpicker.esm.js +0 -1
  24. package/column/column.esm.js +0 -1
  25. package/columngroup/columngroup.esm.js +0 -1
  26. package/componentbase/componentbase.cjs.js +12 -7
  27. package/componentbase/componentbase.cjs.min.js +1 -1
  28. package/componentbase/componentbase.esm.js +23 -13
  29. package/componentbase/componentbase.esm.min.js +1 -1
  30. package/componentbase/componentbase.js +12 -7
  31. package/componentbase/componentbase.min.js +1 -1
  32. package/confirmdialog/confirmdialog.esm.js +0 -1
  33. package/confirmpopup/confirmpopup.esm.js +0 -1
  34. package/contextmenu/contextmenu.esm.js +0 -1
  35. package/core/core.js +12 -7
  36. package/core/core.min.js +1 -1
  37. package/csstransition/csstransition.esm.js +0 -1
  38. package/datascroller/datascroller.esm.js +0 -1
  39. package/datatable/datatable.esm.js +0 -1
  40. package/dataview/dataview.esm.js +0 -1
  41. package/deferredcontent/deferredcontent.esm.js +0 -1
  42. package/dialog/dialog.esm.js +2 -1
  43. package/dialog/dialog.esm.min.js +1 -1
  44. package/divider/divider.esm.js +0 -1
  45. package/dock/dock.esm.js +0 -1
  46. package/dropdown/dropdown.esm.js +0 -1
  47. package/editor/editor.esm.js +0 -1
  48. package/fieldset/fieldset.esm.js +0 -1
  49. package/fileupload/fileupload.esm.js +0 -1
  50. package/galleria/galleria.esm.js +11 -7
  51. package/galleria/galleria.esm.min.js +1 -1
  52. package/hooks/hooks.esm.js +0 -6
  53. package/iconbase/iconbase.esm.js +0 -1
  54. package/icons/angledoubledown/index.esm.js +0 -1
  55. package/icons/angledoubleleft/index.esm.js +0 -1
  56. package/icons/angledoubleright/index.esm.js +0 -1
  57. package/icons/angledoubleup/index.esm.js +0 -1
  58. package/icons/angledown/index.esm.js +0 -1
  59. package/icons/angleleft/index.esm.js +0 -1
  60. package/icons/angleright/index.esm.js +0 -1
  61. package/icons/angleup/index.esm.js +0 -1
  62. package/icons/arrowdown/index.esm.js +0 -1
  63. package/icons/arrowup/index.esm.js +0 -1
  64. package/icons/ban/index.esm.js +0 -1
  65. package/icons/bars/index.esm.js +0 -1
  66. package/icons/calendar/index.esm.js +0 -1
  67. package/icons/check/index.esm.js +0 -1
  68. package/icons/chevrondown/index.esm.js +0 -1
  69. package/icons/chevronleft/index.esm.js +0 -1
  70. package/icons/chevronright/index.esm.js +0 -1
  71. package/icons/chevronup/index.esm.js +0 -1
  72. package/icons/download/index.esm.js +0 -1
  73. package/icons/exclamationtriangle/index.esm.js +0 -1
  74. package/icons/eye/index.esm.js +0 -1
  75. package/icons/eyeslash/index.esm.js +0 -1
  76. package/icons/filter/index.esm.js +0 -1
  77. package/icons/filterslash/index.esm.js +0 -1
  78. package/icons/infocircle/index.esm.js +0 -1
  79. package/icons/minus/index.esm.js +0 -1
  80. package/icons/pencil/index.esm.js +0 -1
  81. package/icons/plus/index.esm.js +0 -1
  82. package/icons/refresh/index.esm.js +0 -1
  83. package/icons/search/index.esm.js +0 -1
  84. package/icons/searchminus/index.esm.js +0 -1
  85. package/icons/searchplus/index.esm.js +0 -1
  86. package/icons/sortalt/index.esm.js +0 -1
  87. package/icons/sortamountdown/index.esm.js +0 -1
  88. package/icons/sortamountupalt/index.esm.js +0 -1
  89. package/icons/spinner/index.esm.js +0 -1
  90. package/icons/star/index.esm.js +0 -1
  91. package/icons/starfill/index.esm.js +0 -1
  92. package/icons/thlarge/index.esm.js +0 -1
  93. package/icons/times/index.esm.js +0 -1
  94. package/icons/timescircle/index.esm.js +0 -1
  95. package/icons/trash/index.esm.js +0 -1
  96. package/icons/undo/index.esm.js +0 -1
  97. package/icons/upload/index.esm.js +0 -1
  98. package/icons/windowmaximize/index.esm.js +0 -1
  99. package/icons/windowminimize/index.esm.js +0 -1
  100. package/image/image.esm.js +2 -1
  101. package/image/image.esm.min.js +1 -1
  102. package/inplace/inplace.esm.js +0 -1
  103. package/inputmask/inputmask.esm.js +0 -1
  104. package/inputnumber/inputnumber.esm.js +0 -1
  105. package/inputswitch/inputswitch.esm.js +0 -1
  106. package/inputtext/inputtext.esm.js +0 -1
  107. package/inputtextarea/inputtextarea.esm.js +0 -1
  108. package/keyfilter/keyfilter.esm.js +0 -1
  109. package/knob/knob.esm.js +0 -1
  110. package/listbox/listbox.esm.js +0 -1
  111. package/megamenu/megamenu.esm.js +0 -1
  112. package/mention/mention.esm.js +0 -1
  113. package/menu/menu.esm.js +0 -1
  114. package/menubar/menubar.esm.js +0 -1
  115. package/message/message.esm.js +0 -1
  116. package/messages/messages.esm.js +1 -2
  117. package/messages/messages.esm.min.js +1 -1
  118. package/multiselect/multiselect.esm.js +0 -1
  119. package/multistatecheckbox/multistatecheckbox.esm.js +0 -1
  120. package/orderlist/orderlist.esm.js +9 -5
  121. package/orderlist/orderlist.esm.min.js +1 -1
  122. package/organizationchart/organizationchart.esm.js +0 -1
  123. package/overlaypanel/overlaypanel.esm.js +0 -1
  124. package/overlayservice/overlayservice.esm.js +0 -1
  125. package/package.json +2 -2
  126. package/paginator/paginator.esm.js +0 -1
  127. package/panel/panel.esm.js +0 -1
  128. package/panelmenu/panelmenu.esm.js +0 -1
  129. package/passthrough/index.esm.js +0 -1
  130. package/passthrough/tailwind/index.cjs.js +2 -4
  131. package/passthrough/tailwind/index.cjs.min.js +1 -1
  132. package/passthrough/tailwind/index.esm.js +149 -148
  133. package/passthrough/tailwind/index.esm.min.js +1 -1
  134. package/passthrough/tailwind/index.js +2 -4
  135. package/passthrough/tailwind/index.min.js +1 -1
  136. package/password/password.esm.js +0 -1
  137. package/picklist/picklist.esm.js +0 -1
  138. package/portal/portal.esm.js +0 -1
  139. package/primereact.all.cjs.js +12 -7
  140. package/primereact.all.cjs.min.js +1 -1
  141. package/primereact.all.esm.js +70 -42
  142. package/primereact.all.esm.min.js +1 -1
  143. package/primereact.all.js +12 -7
  144. package/primereact.all.min.js +1 -1
  145. package/progressbar/progressbar.esm.js +0 -1
  146. package/progressspinner/progressspinner.esm.js +0 -1
  147. package/radiobutton/radiobutton.esm.js +0 -1
  148. package/rating/rating.esm.js +0 -1
  149. package/ripple/ripple.esm.js +0 -1
  150. package/row/row.esm.js +0 -1
  151. package/scrollpanel/scrollpanel.esm.js +0 -1
  152. package/scrolltop/scrolltop.esm.js +0 -1
  153. package/selectbutton/selectbutton.esm.js +0 -1
  154. package/sidebar/sidebar.esm.js +2 -1
  155. package/sidebar/sidebar.esm.min.js +1 -1
  156. package/skeleton/skeleton.esm.js +0 -1
  157. package/slidemenu/slidemenu.esm.js +0 -1
  158. package/slider/slider.esm.js +0 -1
  159. package/speeddial/speeddial.esm.js +0 -1
  160. package/splitbutton/splitbutton.esm.js +0 -1
  161. package/splitter/splitter.esm.js +0 -1
  162. package/steps/steps.esm.js +0 -1
  163. package/styleclass/styleclass.esm.js +0 -1
  164. package/tabmenu/tabmenu.esm.js +0 -1
  165. package/tabview/tabview.esm.js +0 -1
  166. package/tag/tag.esm.js +0 -1
  167. package/terminal/terminal.esm.js +0 -1
  168. package/terminalservice/terminalservice.esm.js +0 -1
  169. package/tieredmenu/tieredmenu.esm.js +0 -1
  170. package/timeline/timeline.esm.js +0 -1
  171. package/toast/toast.esm.js +0 -1
  172. package/togglebutton/togglebutton.esm.js +0 -1
  173. package/toolbar/toolbar.esm.js +0 -1
  174. package/tooltip/tooltip.esm.js +0 -1
  175. package/tree/tree.esm.js +0 -1
  176. package/treeselect/treeselect.esm.js +0 -1
  177. package/treetable/treetable.esm.js +0 -1
  178. package/tristatecheckbox/tristatecheckbox.esm.js +0 -1
  179. package/utils/utils.esm.js +0 -1
  180. package/virtualscroller/virtualscroller.esm.js +0 -1
  181. package/web-types.json +1 -1
  182. package/accordion/accordion.esm.min.mjs +0 -1
  183. package/accordion/accordion.esm.mjs +0 -420
  184. package/api/api.esm.min.mjs +0 -1
  185. package/api/api.esm.mjs +0 -943
  186. package/autocomplete/autocomplete.esm.min.mjs +0 -1
  187. package/autocomplete/autocomplete.esm.mjs +0 -1128
  188. package/avatar/avatar.esm.min.mjs +0 -1
  189. package/avatar/avatar.esm.mjs +0 -244
  190. package/avatargroup/avatargroup.esm.min.mjs +0 -1
  191. package/avatargroup/avatargroup.esm.mjs +0 -54
  192. package/badge/badge.esm.min.mjs +0 -1
  193. package/badge/badge.esm.mjs +0 -109
  194. package/blockui/blockui.esm.min.mjs +0 -1
  195. package/blockui/blockui.esm.mjs +0 -267
  196. package/breadcrumb/breadcrumb.esm.min.mjs +0 -1
  197. package/breadcrumb/breadcrumb.esm.mjs +0 -350
  198. package/button/button.esm.min.mjs +0 -1
  199. package/button/button.esm.mjs +0 -294
  200. package/calendar/calendar.esm.min.mjs +0 -1
  201. package/calendar/calendar.esm.mjs +0 -3474
  202. package/card/card.esm.min.mjs +0 -1
  203. package/card/card.esm.mjs +0 -97
  204. package/carousel/carousel.esm.min.mjs +0 -1
  205. package/carousel/carousel.esm.mjs +0 -800
  206. package/cascadeselect/cascadeselect.esm.min.mjs +0 -1
  207. package/cascadeselect/cascadeselect.esm.mjs +0 -818
  208. package/chart/chart.esm.min.mjs +0 -1
  209. package/chart/chart.esm.mjs +0 -154
  210. package/checkbox/checkbox.esm.min.mjs +0 -1
  211. package/checkbox/checkbox.esm.mjs +0 -356
  212. package/chip/chip.esm.min.mjs +0 -1
  213. package/chip/chip.esm.mjs +0 -247
  214. package/chips/chips.esm.min.mjs +0 -1
  215. package/chips/chips.esm.mjs +0 -500
  216. package/colorpicker/colorpicker.esm.min.mjs +0 -1
  217. package/colorpicker/colorpicker.esm.mjs +0 -787
  218. package/column/column.esm.min.mjs +0 -1
  219. package/column/column.esm.mjs +0 -7
  220. package/columngroup/columngroup.esm.min.mjs +0 -1
  221. package/columngroup/columngroup.esm.mjs +0 -5
  222. package/componentbase/componentbase.esm.min.mjs +0 -1
  223. package/componentbase/componentbase.esm.mjs +0 -328
  224. package/confirmdialog/confirmdialog.esm.min.mjs +0 -1
  225. package/confirmdialog/confirmdialog.esm.mjs +0 -375
  226. package/confirmpopup/confirmpopup.esm.min.mjs +0 -1
  227. package/confirmpopup/confirmpopup.esm.mjs +0 -609
  228. package/contextmenu/contextmenu.esm.min.mjs +0 -1
  229. package/contextmenu/contextmenu.esm.mjs +0 -663
  230. package/csstransition/csstransition.esm.min.mjs +0 -1
  231. package/csstransition/csstransition.esm.mjs +0 -137
  232. package/datascroller/datascroller.esm.min.mjs +0 -1
  233. package/datascroller/datascroller.esm.mjs +0 -319
  234. package/datatable/datatable.esm.min.mjs +0 -1
  235. package/datatable/datatable.esm.mjs +0 -6635
  236. package/dataview/dataview.esm.min.mjs +0 -1
  237. package/dataview/dataview.esm.mjs +0 -505
  238. package/deferredcontent/deferredcontent.esm.min.mjs +0 -1
  239. package/deferredcontent/deferredcontent.esm.mjs +0 -132
  240. package/dialog/dialog.esm.min.mjs +0 -1
  241. package/dialog/dialog.esm.mjs +0 -984
  242. package/divider/divider.esm.min.mjs +0 -1
  243. package/divider/divider.esm.mjs +0 -78
  244. package/dock/dock.esm.min.mjs +0 -1
  245. package/dock/dock.esm.mjs +0 -347
  246. package/dropdown/dropdown.esm.min.mjs +0 -1
  247. package/dropdown/dropdown.esm.mjs +0 -1379
  248. package/editor/editor.esm.min.mjs +0 -1
  249. package/editor/editor.esm.mjs +0 -337
  250. package/fieldset/fieldset.esm.min.mjs +0 -1
  251. package/fieldset/fieldset.esm.mjs +0 -269
  252. package/fileupload/fileupload.esm.min.mjs +0 -1
  253. package/fileupload/fileupload.esm.mjs +0 -1004
  254. package/galleria/galleria.esm.min.mjs +0 -1
  255. package/galleria/galleria.esm.mjs +0 -1094
  256. package/hooks/hooks.esm.min.mjs +0 -1
  257. package/hooks/hooks.esm.mjs +0 -1036
  258. package/iconbase/iconbase.esm.min.mjs +0 -1
  259. package/iconbase/iconbase.esm.mjs +0 -32
  260. package/icons/angledoubledown/index.esm.min.mjs +0 -1
  261. package/icons/angledoubledown/index.esm.mjs +0 -38
  262. package/icons/angledoubleleft/index.esm.min.mjs +0 -1
  263. package/icons/angledoubleleft/index.esm.mjs +0 -38
  264. package/icons/angledoubleright/index.esm.min.mjs +0 -1
  265. package/icons/angledoubleright/index.esm.mjs +0 -38
  266. package/icons/angledoubleup/index.esm.min.mjs +0 -1
  267. package/icons/angledoubleup/index.esm.mjs +0 -38
  268. package/icons/angledown/index.esm.min.mjs +0 -1
  269. package/icons/angledown/index.esm.mjs +0 -36
  270. package/icons/angleleft/index.esm.min.mjs +0 -1
  271. package/icons/angleleft/index.esm.mjs +0 -36
  272. package/icons/angleright/index.esm.min.mjs +0 -1
  273. package/icons/angleright/index.esm.mjs +0 -36
  274. package/icons/angleup/index.esm.min.mjs +0 -1
  275. package/icons/angleup/index.esm.mjs +0 -36
  276. package/icons/arrowdown/index.esm.min.mjs +0 -1
  277. package/icons/arrowdown/index.esm.mjs +0 -660
  278. package/icons/arrowup/index.esm.min.mjs +0 -1
  279. package/icons/arrowup/index.esm.mjs +0 -660
  280. package/icons/ban/index.esm.min.mjs +0 -1
  281. package/icons/ban/index.esm.mjs +0 -658
  282. package/icons/bars/index.esm.min.mjs +0 -1
  283. package/icons/bars/index.esm.mjs +0 -38
  284. package/icons/calendar/index.esm.min.mjs +0 -1
  285. package/icons/calendar/index.esm.mjs +0 -36
  286. package/icons/check/index.esm.min.mjs +0 -1
  287. package/icons/check/index.esm.mjs +0 -36
  288. package/icons/chevrondown/index.esm.min.mjs +0 -1
  289. package/icons/chevrondown/index.esm.mjs +0 -36
  290. package/icons/chevronleft/index.esm.min.mjs +0 -1
  291. package/icons/chevronleft/index.esm.mjs +0 -36
  292. package/icons/chevronright/index.esm.min.mjs +0 -1
  293. package/icons/chevronright/index.esm.mjs +0 -36
  294. package/icons/chevronup/index.esm.min.mjs +0 -1
  295. package/icons/chevronup/index.esm.mjs +0 -36
  296. package/icons/download/index.esm.min.mjs +0 -1
  297. package/icons/download/index.esm.mjs +0 -660
  298. package/icons/exclamationtriangle/index.esm.min.mjs +0 -1
  299. package/icons/exclamationtriangle/index.esm.mjs +0 -664
  300. package/icons/eye/index.esm.min.mjs +0 -1
  301. package/icons/eye/index.esm.mjs +0 -38
  302. package/icons/eyeslash/index.esm.min.mjs +0 -1
  303. package/icons/eyeslash/index.esm.mjs +0 -660
  304. package/icons/filter/index.esm.min.mjs +0 -1
  305. package/icons/filter/index.esm.mjs +0 -658
  306. package/icons/filterslash/index.esm.min.mjs +0 -1
  307. package/icons/filterslash/index.esm.mjs +0 -660
  308. package/icons/infocircle/index.esm.min.mjs +0 -1
  309. package/icons/infocircle/index.esm.mjs +0 -660
  310. package/icons/minus/index.esm.min.mjs +0 -1
  311. package/icons/minus/index.esm.mjs +0 -36
  312. package/icons/pencil/index.esm.min.mjs +0 -1
  313. package/icons/pencil/index.esm.mjs +0 -658
  314. package/icons/plus/index.esm.min.mjs +0 -1
  315. package/icons/plus/index.esm.mjs +0 -658
  316. package/icons/refresh/index.esm.min.mjs +0 -1
  317. package/icons/refresh/index.esm.mjs +0 -660
  318. package/icons/search/index.esm.min.mjs +0 -1
  319. package/icons/search/index.esm.mjs +0 -660
  320. package/icons/searchminus/index.esm.min.mjs +0 -1
  321. package/icons/searchminus/index.esm.mjs +0 -660
  322. package/icons/searchplus/index.esm.min.mjs +0 -1
  323. package/icons/searchplus/index.esm.mjs +0 -660
  324. package/icons/sortalt/index.esm.min.mjs +0 -1
  325. package/icons/sortalt/index.esm.mjs +0 -667
  326. package/icons/sortamountdown/index.esm.min.mjs +0 -1
  327. package/icons/sortamountdown/index.esm.mjs +0 -673
  328. package/icons/sortamountupalt/index.esm.min.mjs +0 -1
  329. package/icons/sortamountupalt/index.esm.mjs +0 -673
  330. package/icons/spinner/index.esm.min.mjs +0 -1
  331. package/icons/spinner/index.esm.mjs +0 -658
  332. package/icons/star/index.esm.min.mjs +0 -1
  333. package/icons/star/index.esm.mjs +0 -658
  334. package/icons/starfill/index.esm.min.mjs +0 -1
  335. package/icons/starfill/index.esm.mjs +0 -658
  336. package/icons/thlarge/index.esm.min.mjs +0 -1
  337. package/icons/thlarge/index.esm.mjs +0 -660
  338. package/icons/times/index.esm.min.mjs +0 -1
  339. package/icons/times/index.esm.mjs +0 -36
  340. package/icons/timescircle/index.esm.min.mjs +0 -1
  341. package/icons/timescircle/index.esm.mjs +0 -660
  342. package/icons/trash/index.esm.min.mjs +0 -1
  343. package/icons/trash/index.esm.mjs +0 -660
  344. package/icons/undo/index.esm.min.mjs +0 -1
  345. package/icons/undo/index.esm.mjs +0 -660
  346. package/icons/upload/index.esm.min.mjs +0 -1
  347. package/icons/upload/index.esm.mjs +0 -660
  348. package/icons/windowmaximize/index.esm.min.mjs +0 -1
  349. package/icons/windowmaximize/index.esm.mjs +0 -660
  350. package/icons/windowminimize/index.esm.min.mjs +0 -1
  351. package/icons/windowminimize/index.esm.mjs +0 -660
  352. package/image/image.esm.min.mjs +0 -1
  353. package/image/image.esm.mjs +0 -1163
  354. package/inplace/inplace.esm.min.mjs +0 -1
  355. package/inplace/inplace.esm.mjs +0 -242
  356. package/inputmask/inputmask.esm.min.mjs +0 -1
  357. package/inputmask/inputmask.esm.mjs +0 -559
  358. package/inputnumber/inputnumber.esm.min.mjs +0 -1
  359. package/inputnumber/inputnumber.esm.mjs +0 -1208
  360. package/inputswitch/inputswitch.esm.min.mjs +0 -1
  361. package/inputswitch/inputswitch.esm.mjs +0 -290
  362. package/inputtext/inputtext.esm.min.mjs +0 -1
  363. package/inputtext/inputtext.esm.mjs +0 -170
  364. package/inputtextarea/inputtextarea.esm.min.mjs +0 -1
  365. package/inputtextarea/inputtextarea.esm.mjs +0 -219
  366. package/keyfilter/keyfilter.esm.min.mjs +0 -1
  367. package/keyfilter/keyfilter.esm.mjs +0 -107
  368. package/knob/knob.esm.min.mjs +0 -1
  369. package/knob/knob.esm.mjs +0 -317
  370. package/listbox/listbox.esm.min.mjs +0 -1
  371. package/listbox/listbox.esm.mjs +0 -809
  372. package/megamenu/megamenu.esm.min.mjs +0 -1
  373. package/megamenu/megamenu.esm.mjs +0 -715
  374. package/mention/mention.esm.min.mjs +0 -1
  375. package/mention/mention.esm.mjs +0 -770
  376. package/menu/menu.esm.min.mjs +0 -1
  377. package/menu/menu.esm.mjs +0 -484
  378. package/menubar/menubar.esm.min.mjs +0 -1
  379. package/menubar/menubar.esm.mjs +0 -583
  380. package/message/message.esm.min.mjs +0 -1
  381. package/message/message.esm.mjs +0 -168
  382. package/messages/messages.esm.min.mjs +0 -1
  383. package/messages/messages.esm.mjs +0 -438
  384. package/multiselect/multiselect.esm.min.mjs +0 -1
  385. package/multiselect/multiselect.esm.mjs +0 -1723
  386. package/multistatecheckbox/multistatecheckbox.esm.min.mjs +0 -1
  387. package/multistatecheckbox/multistatecheckbox.esm.mjs +0 -351
  388. package/orderlist/orderlist.esm.min.mjs +0 -1
  389. package/orderlist/orderlist.esm.mjs +0 -820
  390. package/organizationchart/organizationchart.esm.min.mjs +0 -1
  391. package/organizationchart/organizationchart.esm.mjs +0 -479
  392. package/overlaypanel/overlaypanel.esm.min.mjs +0 -1
  393. package/overlaypanel/overlaypanel.esm.mjs +0 -515
  394. package/overlayservice/overlayservice.esm.min.mjs +0 -1
  395. package/overlayservice/overlayservice.esm.mjs +0 -6
  396. package/paginator/paginator.esm.min.mjs +0 -1
  397. package/paginator/paginator.esm.mjs +0 -932
  398. package/panel/panel.esm.min.mjs +0 -1
  399. package/panel/panel.esm.mjs +0 -315
  400. package/panelmenu/panelmenu.esm.min.mjs +0 -1
  401. package/panelmenu/panelmenu.esm.mjs +0 -644
  402. package/passthrough/index.esm.min.mjs +0 -1
  403. package/passthrough/index.esm.mjs +0 -70
  404. package/passthrough/tailwind/index.esm.min.mjs +0 -1
  405. package/passthrough/tailwind/index.esm.mjs +0 -3513
  406. package/password/password.esm.min.mjs +0 -1
  407. package/password/password.esm.mjs +0 -566
  408. package/picklist/picklist.esm.min.mjs +0 -1
  409. package/picklist/picklist.esm.mjs +0 -1118
  410. package/portal/portal.esm.min.mjs +0 -1
  411. package/portal/portal.esm.mjs +0 -109
  412. package/primereact.all.esm.min.mjs +0 -1
  413. package/primereact.all.esm.mjs +0 -51669
  414. package/progressbar/progressbar.esm.min.mjs +0 -1
  415. package/progressbar/progressbar.esm.mjs +0 -189
  416. package/progressspinner/progressspinner.esm.min.mjs +0 -1
  417. package/progressspinner/progressspinner.esm.mjs +0 -87
  418. package/radiobutton/radiobutton.esm.min.mjs +0 -1
  419. package/radiobutton/radiobutton.esm.mjs +0 -328
  420. package/rating/rating.esm.min.mjs +0 -1
  421. package/rating/rating.esm.mjs +0 -272
  422. package/ripple/ripple.esm.min.mjs +0 -1
  423. package/ripple/ripple.esm.mjs +0 -99
  424. package/row/row.esm.min.mjs +0 -1
  425. package/row/row.esm.mjs +0 -35
  426. package/scrollpanel/scrollpanel.esm.min.mjs +0 -1
  427. package/scrollpanel/scrollpanel.esm.mjs +0 -209
  428. package/scrolltop/scrolltop.esm.min.mjs +0 -1
  429. package/scrolltop/scrolltop.esm.mjs +0 -268
  430. package/selectbutton/selectbutton.esm.min.mjs +0 -1
  431. package/selectbutton/selectbutton.esm.mjs +0 -326
  432. package/sidebar/sidebar.esm.min.mjs +0 -1
  433. package/sidebar/sidebar.esm.mjs +0 -544
  434. package/skeleton/skeleton.esm.min.mjs +0 -1
  435. package/skeleton/skeleton.esm.mjs +0 -124
  436. package/slidemenu/slidemenu.esm.min.mjs +0 -1
  437. package/slidemenu/slidemenu.esm.mjs +0 -688
  438. package/slider/slider.esm.min.mjs +0 -1
  439. package/slider/slider.esm.mjs +0 -477
  440. package/speeddial/speeddial.esm.min.mjs +0 -1
  441. package/speeddial/speeddial.esm.mjs +0 -520
  442. package/splitbutton/splitbutton.esm.min.mjs +0 -1
  443. package/splitbutton/splitbutton.esm.mjs +0 -544
  444. package/splitter/splitter.esm.min.mjs +0 -1
  445. package/splitter/splitter.esm.mjs +0 -465
  446. package/steps/steps.esm.min.mjs +0 -1
  447. package/steps/steps.esm.mjs +0 -293
  448. package/styleclass/styleclass.esm.min.mjs +0 -1
  449. package/styleclass/styleclass.esm.mjs +0 -268
  450. package/tabmenu/tabmenu.esm.min.mjs +0 -1
  451. package/tabmenu/tabmenu.esm.mjs +0 -331
  452. package/tabview/tabview.esm.min.mjs +0 -1
  453. package/tabview/tabview.esm.mjs +0 -677
  454. package/tag/tag.esm.min.mjs +0 -1
  455. package/tag/tag.esm.mjs +0 -116
  456. package/terminal/terminal.esm.min.mjs +0 -1
  457. package/terminal/terminal.esm.mjs +0 -279
  458. package/terminalservice/terminalservice.esm.min.mjs +0 -1
  459. package/terminalservice/terminalservice.esm.mjs +0 -6
  460. package/tieredmenu/tieredmenu.esm.min.mjs +0 -1
  461. package/tieredmenu/tieredmenu.esm.mjs +0 -698
  462. package/timeline/timeline.esm.min.mjs +0 -1
  463. package/timeline/timeline.esm.mjs +0 -163
  464. package/toast/toast.esm.min.mjs +0 -1
  465. package/toast/toast.esm.mjs +0 -738
  466. package/togglebutton/togglebutton.esm.min.mjs +0 -1
  467. package/togglebutton/togglebutton.esm.mjs +0 -216
  468. package/toolbar/toolbar.esm.min.mjs +0 -1
  469. package/toolbar/toolbar.esm.mjs +0 -78
  470. package/tooltip/tooltip.esm.min.mjs +0 -1
  471. package/tooltip/tooltip.esm.mjs +0 -695
  472. package/tree/tree.esm.min.mjs +0 -1
  473. package/tree/tree.esm.mjs +0 -1402
  474. package/treeselect/treeselect.esm.min.mjs +0 -1
  475. package/treeselect/treeselect.esm.mjs +0 -929
  476. package/treetable/treetable.esm.min.mjs +0 -1
  477. package/treetable/treetable.esm.mjs +0 -3093
  478. package/tristatecheckbox/tristatecheckbox.esm.min.mjs +0 -1
  479. package/tristatecheckbox/tristatecheckbox.esm.mjs +0 -291
  480. package/utils/utils.esm.min.mjs +0 -1
  481. package/utils/utils.esm.mjs +0 -2382
  482. package/virtualscroller/virtualscroller.esm.min.mjs +0 -1
  483. package/virtualscroller/virtualscroller.esm.mjs +0 -971
@@ -1,660 +0,0 @@
1
- 'use client';
2
- import * as React from 'react';
3
- import { IconBase } from 'primereact/iconbase';
4
-
5
- function _extends() {
6
- _extends = Object.assign ? Object.assign.bind() : function (target) {
7
- for (var i = 1; i < arguments.length; i++) {
8
- var source = arguments[i];
9
- for (var key in source) {
10
- if (Object.prototype.hasOwnProperty.call(source, key)) {
11
- target[key] = source[key];
12
- }
13
- }
14
- }
15
- return target;
16
- };
17
- return _extends.apply(this, arguments);
18
- }
19
-
20
- function _arrayWithHoles(arr) {
21
- if (Array.isArray(arr)) return arr;
22
- }
23
-
24
- function _iterableToArrayLimit(r, l) {
25
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
26
- if (null != t) {
27
- var e,
28
- n,
29
- i,
30
- u,
31
- a = [],
32
- f = !0,
33
- o = !1;
34
- try {
35
- if (i = (t = t.call(r)).next, 0 === l) {
36
- if (Object(t) !== t) return;
37
- f = !1;
38
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
39
- } catch (r) {
40
- o = !0, n = r;
41
- } finally {
42
- try {
43
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
44
- } finally {
45
- if (o) throw n;
46
- }
47
- }
48
- return a;
49
- }
50
- }
51
-
52
- function _arrayLikeToArray$1(arr, len) {
53
- if (len == null || len > arr.length) len = arr.length;
54
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
55
- return arr2;
56
- }
57
-
58
- function _unsupportedIterableToArray$1(o, minLen) {
59
- if (!o) return;
60
- if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
61
- var n = Object.prototype.toString.call(o).slice(8, -1);
62
- if (n === "Object" && o.constructor) n = o.constructor.name;
63
- if (n === "Map" || n === "Set") return Array.from(o);
64
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
65
- }
66
-
67
- function _nonIterableRest() {
68
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
69
- }
70
-
71
- function _slicedToArray(arr, i) {
72
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
73
- }
74
-
75
- function _typeof(o) {
76
- "@babel/helpers - typeof";
77
-
78
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
79
- return typeof o;
80
- } : function (o) {
81
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
82
- }, _typeof(o);
83
- }
84
-
85
- function _arrayWithoutHoles(arr) {
86
- if (Array.isArray(arr)) return _arrayLikeToArray$1(arr);
87
- }
88
-
89
- function _iterableToArray(iter) {
90
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
91
- }
92
-
93
- function _nonIterableSpread() {
94
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
95
- }
96
-
97
- function _toConsumableArray(arr) {
98
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread();
99
- }
100
-
101
- function _classCallCheck(instance, Constructor) {
102
- if (!(instance instanceof Constructor)) {
103
- throw new TypeError("Cannot call a class as a function");
104
- }
105
- }
106
-
107
- function _toPrimitive(input, hint) {
108
- if (_typeof(input) !== "object" || input === null) return input;
109
- var prim = input[Symbol.toPrimitive];
110
- if (prim !== undefined) {
111
- var res = prim.call(input, hint || "default");
112
- if (_typeof(res) !== "object") return res;
113
- throw new TypeError("@@toPrimitive must return a primitive value.");
114
- }
115
- return (hint === "string" ? String : Number)(input);
116
- }
117
-
118
- function _toPropertyKey(arg) {
119
- var key = _toPrimitive(arg, "string");
120
- return _typeof(key) === "symbol" ? key : String(key);
121
- }
122
-
123
- function _defineProperties(target, props) {
124
- for (var i = 0; i < props.length; i++) {
125
- var descriptor = props[i];
126
- descriptor.enumerable = descriptor.enumerable || false;
127
- descriptor.configurable = true;
128
- if ("value" in descriptor) descriptor.writable = true;
129
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
130
- }
131
- }
132
- function _createClass(Constructor, protoProps, staticProps) {
133
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
134
- if (staticProps) _defineProperties(Constructor, staticProps);
135
- Object.defineProperty(Constructor, "prototype", {
136
- writable: false
137
- });
138
- return Constructor;
139
- }
140
-
141
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
142
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
143
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
144
- var ObjectUtils = /*#__PURE__*/function () {
145
- function ObjectUtils() {
146
- _classCallCheck(this, ObjectUtils);
147
- }
148
- _createClass(ObjectUtils, null, [{
149
- key: "equals",
150
- value: function equals(obj1, obj2, field) {
151
- 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);
152
- }
153
- }, {
154
- key: "deepEquals",
155
- value: function deepEquals(a, b) {
156
- if (a === b) return true;
157
- if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
158
- var arrA = Array.isArray(a),
159
- arrB = Array.isArray(b),
160
- i,
161
- length,
162
- key;
163
- if (arrA && arrB) {
164
- length = a.length;
165
- if (length !== b.length) return false;
166
- for (i = length; i-- !== 0;) if (!this.deepEquals(a[i], b[i])) return false;
167
- return true;
168
- }
169
- if (arrA !== arrB) return false;
170
- var dateA = a instanceof Date,
171
- dateB = b instanceof Date;
172
- if (dateA !== dateB) return false;
173
- if (dateA && dateB) return a.getTime() === b.getTime();
174
- var regexpA = a instanceof RegExp,
175
- regexpB = b instanceof RegExp;
176
- if (regexpA !== regexpB) return false;
177
- if (regexpA && regexpB) return a.toString() === b.toString();
178
- var keys = Object.keys(a);
179
- length = keys.length;
180
- if (length !== Object.keys(b).length) return false;
181
- for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
182
- for (i = length; i-- !== 0;) {
183
- key = keys[i];
184
- if (!this.deepEquals(a[key], b[key])) return false;
185
- }
186
- return true;
187
- }
188
-
189
- /*eslint no-self-compare: "off"*/
190
- return a !== a && b !== b;
191
- }
192
- }, {
193
- key: "resolveFieldData",
194
- value: function resolveFieldData(data, field) {
195
- if (!data || !field) {
196
- // short circuit if there is nothing to resolve
197
- return null;
198
- }
199
- try {
200
- var value = data[field];
201
- if (this.isNotEmpty(value)) return value;
202
- } catch (_unused) {
203
- // Performance optimization: https://github.com/primefaces/primereact/issues/4797
204
- // do nothing and continue to other methods to resolve field data
205
- }
206
- if (Object.keys(data).length) {
207
- if (this.isFunction(field)) {
208
- return field(data);
209
- } else if (this.isNotEmpty(data[field])) {
210
- return data[field];
211
- } else if (field.indexOf('.') === -1) {
212
- return data[field];
213
- } else {
214
- var fields = field.split('.');
215
- var _value = data;
216
- for (var i = 0, len = fields.length; i < len; ++i) {
217
- if (_value == null) {
218
- return null;
219
- }
220
- _value = _value[fields[i]];
221
- }
222
- return _value;
223
- }
224
- }
225
- return null;
226
- }
227
- }, {
228
- key: "findDiffKeys",
229
- value: function findDiffKeys(obj1, obj2) {
230
- if (!obj1 || !obj2) {
231
- return {};
232
- }
233
- return Object.keys(obj1).filter(function (key) {
234
- return !obj2.hasOwnProperty(key);
235
- }).reduce(function (result, current) {
236
- result[current] = obj1[current];
237
- return result;
238
- }, {});
239
- }
240
-
241
- /**
242
- * Removes keys from a JSON object that start with a string such as "data" to get all "data-id" type properties.
243
- *
244
- * @param {any} obj the JSON object to reduce
245
- * @param {string[]} startsWiths the string(s) to check if the property starts with this key
246
- * @returns the JSON object containing only the key/values that match the startsWith string
247
- */
248
- }, {
249
- key: "reduceKeys",
250
- value: function reduceKeys(obj, startsWiths) {
251
- var result = {};
252
- if (!obj || !startsWiths || startsWiths.length === 0) {
253
- return result;
254
- }
255
- Object.keys(obj).filter(function (key) {
256
- return startsWiths.some(function (value) {
257
- return key.startsWith(value);
258
- });
259
- }).forEach(function (key) {
260
- result[key] = obj[key];
261
- delete obj[key];
262
- });
263
- return result;
264
- }
265
- }, {
266
- key: "reorderArray",
267
- value: function reorderArray(value, from, to) {
268
- if (value && from !== to) {
269
- if (to >= value.length) {
270
- to %= value.length;
271
- from %= value.length;
272
- }
273
- value.splice(to, 0, value.splice(from, 1)[0]);
274
- }
275
- }
276
- }, {
277
- key: "findIndexInList",
278
- value: function findIndexInList(value, list, dataKey) {
279
- var _this = this;
280
- if (list) {
281
- return dataKey ? list.findIndex(function (item) {
282
- return _this.equals(item, value, dataKey);
283
- }) : list.findIndex(function (item) {
284
- return item === value;
285
- });
286
- }
287
- return -1;
288
- }
289
- }, {
290
- key: "getJSXElement",
291
- value: function getJSXElement(obj) {
292
- for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
293
- params[_key - 1] = arguments[_key];
294
- }
295
- return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
296
- }
297
- }, {
298
- key: "getItemValue",
299
- value: function getItemValue(obj) {
300
- for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
301
- params[_key2 - 1] = arguments[_key2];
302
- }
303
- return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
304
- }
305
- }, {
306
- key: "getProp",
307
- value: function getProp(props) {
308
- var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
309
- var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
310
- var value = props ? props[prop] : undefined;
311
- return value === undefined ? defaultProps[prop] : value;
312
- }
313
- }, {
314
- key: "getPropCaseInsensitive",
315
- value: function getPropCaseInsensitive(props, prop) {
316
- var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
317
- var fkey = this.toFlatCase(prop);
318
- for (var key in props) {
319
- if (props.hasOwnProperty(key) && this.toFlatCase(key) === fkey) {
320
- return props[key];
321
- }
322
- }
323
- for (var _key3 in defaultProps) {
324
- if (defaultProps.hasOwnProperty(_key3) && this.toFlatCase(_key3) === fkey) {
325
- return defaultProps[_key3];
326
- }
327
- }
328
- return undefined; // Property not found
329
- }
330
- }, {
331
- key: "getMergedProps",
332
- value: function getMergedProps(props, defaultProps) {
333
- return Object.assign({}, defaultProps, props);
334
- }
335
- }, {
336
- key: "getDiffProps",
337
- value: function getDiffProps(props, defaultProps) {
338
- return this.findDiffKeys(props, defaultProps);
339
- }
340
- }, {
341
- key: "getPropValue",
342
- value: function getPropValue(obj) {
343
- for (var _len3 = arguments.length, params = new Array(_len3 > 1 ? _len3 - 1 : 0), _key4 = 1; _key4 < _len3; _key4++) {
344
- params[_key4 - 1] = arguments[_key4];
345
- }
346
- return this.isFunction(obj) ? obj.apply(void 0, params) : obj;
347
- }
348
- }, {
349
- key: "getComponentProp",
350
- value: function getComponentProp(component) {
351
- var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
352
- var defaultProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
353
- return this.isNotEmpty(component) ? this.getProp(component.props, prop, defaultProps) : undefined;
354
- }
355
- }, {
356
- key: "getComponentProps",
357
- value: function getComponentProps(component, defaultProps) {
358
- return this.isNotEmpty(component) ? this.getMergedProps(component.props, defaultProps) : undefined;
359
- }
360
- }, {
361
- key: "getComponentDiffProps",
362
- value: function getComponentDiffProps(component, defaultProps) {
363
- return this.isNotEmpty(component) ? this.getDiffProps(component.props, defaultProps) : undefined;
364
- }
365
- }, {
366
- key: "isValidChild",
367
- value: function isValidChild(child, type, validTypes) {
368
- /* eslint-disable */
369
- if (child) {
370
- var childType = this.getComponentProp(child, '__TYPE') || (child.type ? child.type.displayName : undefined);
371
- var isValid = childType === type;
372
- try {
373
- var messageTypes; if ("production" !== 'production' && !isValid) ;
374
- } catch (error) {
375
- // NOOP
376
- }
377
- return isValid;
378
- }
379
- return false;
380
- /* eslint-enable */
381
- }
382
- }, {
383
- key: "getRefElement",
384
- value: function getRefElement(ref) {
385
- if (ref) {
386
- return _typeof(ref) === 'object' && ref.hasOwnProperty('current') ? ref.current : ref;
387
- }
388
- return null;
389
- }
390
- }, {
391
- key: "combinedRefs",
392
- value: function combinedRefs(innerRef, forwardRef) {
393
- if (innerRef && forwardRef) {
394
- if (typeof forwardRef === 'function') {
395
- forwardRef(innerRef.current);
396
- } else {
397
- forwardRef.current = innerRef.current;
398
- }
399
- }
400
- }
401
- }, {
402
- key: "removeAccents",
403
- value: function removeAccents(str) {
404
- if (str && str.search(/[\xC0-\xFF]/g) > -1) {
405
- 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');
406
- }
407
- return str;
408
- }
409
- }, {
410
- key: "toFlatCase",
411
- value: function toFlatCase(str) {
412
- // convert snake, kebab, camel and pascal cases to flat case
413
- return this.isNotEmpty(str) && this.isString(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;
414
- }
415
- }, {
416
- key: "toCapitalCase",
417
- value: function toCapitalCase(str) {
418
- return this.isNotEmpty(str) && this.isString(str) ? str[0].toUpperCase() + str.slice(1) : str;
419
- }
420
- }, {
421
- key: "trim",
422
- value: function trim(value) {
423
- // trim only if the value is actually a string
424
- return this.isNotEmpty(value) && this.isString(value) ? value.trim() : value;
425
- }
426
- }, {
427
- key: "isEmpty",
428
- value: function isEmpty(value) {
429
- return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;
430
- }
431
- }, {
432
- key: "isNotEmpty",
433
- value: function isNotEmpty(value) {
434
- return !this.isEmpty(value);
435
- }
436
- }, {
437
- key: "isFunction",
438
- value: function isFunction(value) {
439
- return !!(value && value.constructor && value.call && value.apply);
440
- }
441
- }, {
442
- key: "isObject",
443
- value: function isObject(value) {
444
- return value !== null && value instanceof Object && value.constructor === Object;
445
- }
446
- }, {
447
- key: "isDate",
448
- value: function isDate(value) {
449
- return value !== null && value instanceof Date && value.constructor === Date;
450
- }
451
- }, {
452
- key: "isArray",
453
- value: function isArray(value) {
454
- return value !== null && Array.isArray(value);
455
- }
456
- }, {
457
- key: "isString",
458
- value: function isString(value) {
459
- return value !== null && typeof value === 'string';
460
- }
461
- }, {
462
- key: "isPrintableCharacter",
463
- value: function isPrintableCharacter() {
464
- var _char = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
465
- return this.isNotEmpty(_char) && _char.length === 1 && _char.match(/\S| /);
466
- }
467
- }, {
468
- key: "isLetter",
469
- value: function isLetter(_char2) {
470
- return _char2 && (_char2.toUpperCase() != _char2.toLowerCase() || _char2.codePointAt(0) > 127);
471
- }
472
-
473
- /**
474
- * Firefox-v103 does not currently support the "findLast" method. It is stated that this method will be supported with Firefox-v104.
475
- * https://caniuse.com/mdn-javascript_builtins_array_findlast
476
- */
477
- }, {
478
- key: "findLast",
479
- value: function findLast(arr, callback) {
480
- var item;
481
- if (this.isNotEmpty(arr)) {
482
- try {
483
- item = arr.findLast(callback);
484
- } catch (_unused2) {
485
- item = _toConsumableArray(arr).reverse().find(callback);
486
- }
487
- }
488
- return item;
489
- }
490
-
491
- /**
492
- * Firefox-v103 does not currently support the "findLastIndex" method. It is stated that this method will be supported with Firefox-v104.
493
- * https://caniuse.com/mdn-javascript_builtins_array_findlastindex
494
- */
495
- }, {
496
- key: "findLastIndex",
497
- value: function findLastIndex(arr, callback) {
498
- var index = -1;
499
- if (this.isNotEmpty(arr)) {
500
- try {
501
- index = arr.findLastIndex(callback);
502
- } catch (_unused3) {
503
- index = arr.lastIndexOf(_toConsumableArray(arr).reverse().find(callback));
504
- }
505
- }
506
- return index;
507
- }
508
- }, {
509
- key: "sort",
510
- value: function sort(value1, value2) {
511
- var order = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
512
- var comparator = arguments.length > 3 ? arguments[3] : undefined;
513
- var nullSortOrder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
514
- var result = this.compare(value1, value2, comparator, order);
515
- var finalSortOrder = order;
516
-
517
- // nullSortOrder == 1 means Excel like sort nulls at bottom
518
- if (this.isEmpty(value1) || this.isEmpty(value2)) {
519
- finalSortOrder = nullSortOrder === 1 ? order : nullSortOrder;
520
- }
521
- return finalSortOrder * result;
522
- }
523
- }, {
524
- key: "compare",
525
- value: function compare(value1, value2, comparator) {
526
- var order = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
527
- var result = -1;
528
- var emptyValue1 = this.isEmpty(value1);
529
- var emptyValue2 = this.isEmpty(value2);
530
- if (emptyValue1 && emptyValue2) result = 0;else if (emptyValue1) result = order;else if (emptyValue2) result = -order;else if (typeof value1 === 'string' && typeof value2 === 'string') result = comparator(value1, value2);else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
531
- return result;
532
- }
533
- }, {
534
- key: "localeComparator",
535
- value: function localeComparator(locale) {
536
- //performance gain using Int.Collator. It is not recommended to use localeCompare against large arrays.
537
- return new Intl.Collator(locale, {
538
- numeric: true
539
- }).compare;
540
- }
541
- }, {
542
- key: "findChildrenByKey",
543
- value: function findChildrenByKey(data, key) {
544
- var _iterator = _createForOfIteratorHelper(data),
545
- _step;
546
- try {
547
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
548
- var item = _step.value;
549
- if (item.key === key) {
550
- return item.children || [];
551
- } else if (item.children) {
552
- var result = this.findChildrenByKey(item.children, key);
553
- if (result.length > 0) {
554
- return result;
555
- }
556
- }
557
- }
558
- } catch (err) {
559
- _iterator.e(err);
560
- } finally {
561
- _iterator.f();
562
- }
563
- return [];
564
- }
565
-
566
- /**
567
- * This function takes mutates and object with a new value given
568
- * a specific field. This will handle deeply nested fields that
569
- * need to be modified or created.
570
- *
571
- * e.g:
572
- * data = {
573
- * nested: {
574
- * foo: "bar"
575
- * }
576
- * }
577
- *
578
- * field = "nested.foo"
579
- * value = "baz"
580
- *
581
- * The function will mutate data to be
582
- * e.g:
583
- * data = {
584
- * nested: {
585
- * foo: "baz"
586
- * }
587
- * }
588
- *
589
- * @param {object} data the object to be modified
590
- * @param {string} field the field in the object to replace
591
- * @param {any} value the value to have replaced in the field
592
- */
593
- }, {
594
- key: "mutateFieldData",
595
- value: function mutateFieldData(data, field, value) {
596
- if (_typeof(data) !== 'object' || typeof field !== 'string') {
597
- // short circuit if there is nothing to resolve
598
- return;
599
- }
600
- var fields = field.split('.');
601
- var obj = data;
602
- for (var i = 0, len = fields.length; i < len; ++i) {
603
- // Check if we are on the last field
604
- if (i + 1 - len === 0) {
605
- obj[fields[i]] = value;
606
- break;
607
- }
608
- if (!obj[fields[i]]) {
609
- obj[fields[i]] = {};
610
- }
611
- obj = obj[fields[i]];
612
- }
613
- }
614
- }]);
615
- return ObjectUtils;
616
- }();
617
-
618
- var lastId = 0;
619
- function UniqueComponentId() {
620
- var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pr_id_';
621
- lastId++;
622
- return "".concat(prefix).concat(lastId);
623
- }
624
-
625
- var ThLargeIcon = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
626
- var pti = IconBase.getPTI(inProps);
627
- var _React$useState = React.useState(inProps.id),
628
- _React$useState2 = _slicedToArray(_React$useState, 2),
629
- pathId = _React$useState2[0],
630
- setPathId = _React$useState2[1];
631
- React.useEffect(function () {
632
- if (ObjectUtils.isEmpty(pathId)) {
633
- setPathId(UniqueComponentId('pr_icon_clip_'));
634
- }
635
- }, [pathId]);
636
- return /*#__PURE__*/React.createElement("svg", _extends({
637
- ref: ref,
638
- width: "14",
639
- height: "14",
640
- viewBox: "0 0 14 14",
641
- fill: "none",
642
- xmlns: "http://www.w3.org/2000/svg"
643
- }, pti), /*#__PURE__*/React.createElement("g", {
644
- clipPath: "url(#".concat(pathId, ")")
645
- }, /*#__PURE__*/React.createElement("path", {
646
- fillRule: "evenodd",
647
- clipRule: "evenodd",
648
- d: "M1.90909 6.36364H4.45455C4.96087 6.36364 5.44645 6.1625 5.80448 5.80448C6.1625 5.44645 6.36364 4.96087 6.36364 4.45455V1.90909C6.36364 1.40277 6.1625 0.917184 5.80448 0.55916C5.44645 0.201136 4.96087 0 4.45455 0H1.90909C1.40277 0 0.917184 0.201136 0.55916 0.55916C0.201136 0.917184 0 1.40277 0 1.90909V4.45455C0 4.96087 0.201136 5.44645 0.55916 5.80448C0.917184 6.1625 1.40277 6.36364 1.90909 6.36364ZM1.46154 1.46154C1.58041 1.34268 1.741 1.27492 1.90909 1.27273H4.45455C4.62264 1.27492 4.78322 1.34268 4.90209 1.46154C5.02096 1.58041 5.08871 1.741 5.09091 1.90909V4.45455C5.08871 4.62264 5.02096 4.78322 4.90209 4.90209C4.78322 5.02096 4.62264 5.08871 4.45455 5.09091H1.90909C1.741 5.08871 1.58041 5.02096 1.46154 4.90209C1.34268 4.78322 1.27492 4.62264 1.27273 4.45455V1.90909C1.27492 1.741 1.34268 1.58041 1.46154 1.46154ZM1.90909 14H4.45455C4.96087 14 5.44645 13.7989 5.80448 13.4408C6.1625 13.0828 6.36364 12.5972 6.36364 12.0909V9.54544C6.36364 9.03912 6.1625 8.55354 5.80448 8.19551C5.44645 7.83749 4.96087 7.63635 4.45455 7.63635H1.90909C1.40277 7.63635 0.917184 7.83749 0.55916 8.19551C0.201136 8.55354 0 9.03912 0 9.54544V12.0909C0 12.5972 0.201136 13.0828 0.55916 13.4408C0.917184 13.7989 1.40277 14 1.90909 14ZM1.46154 9.0979C1.58041 8.97903 1.741 8.91128 1.90909 8.90908H4.45455C4.62264 8.91128 4.78322 8.97903 4.90209 9.0979C5.02096 9.21677 5.08871 9.37735 5.09091 9.54544V12.0909C5.08871 12.259 5.02096 12.4196 4.90209 12.5384C4.78322 12.6573 4.62264 12.7251 4.45455 12.7273H1.90909C1.741 12.7251 1.58041 12.6573 1.46154 12.5384C1.34268 12.4196 1.27492 12.259 1.27273 12.0909V9.54544C1.27492 9.37735 1.34268 9.21677 1.46154 9.0979ZM12.0909 6.36364H9.54544C9.03912 6.36364 8.55354 6.1625 8.19551 5.80448C7.83749 5.44645 7.63635 4.96087 7.63635 4.45455V1.90909C7.63635 1.40277 7.83749 0.917184 8.19551 0.55916C8.55354 0.201136 9.03912 0 9.54544 0H12.0909C12.5972 0 13.0828 0.201136 13.4408 0.55916C13.7989 0.917184 14 1.40277 14 1.90909V4.45455C14 4.96087 13.7989 5.44645 13.4408 5.80448C13.0828 6.1625 12.5972 6.36364 12.0909 6.36364ZM9.54544 1.27273C9.37735 1.27492 9.21677 1.34268 9.0979 1.46154C8.97903 1.58041 8.91128 1.741 8.90908 1.90909V4.45455C8.91128 4.62264 8.97903 4.78322 9.0979 4.90209C9.21677 5.02096 9.37735 5.08871 9.54544 5.09091H12.0909C12.259 5.08871 12.4196 5.02096 12.5384 4.90209C12.6573 4.78322 12.7251 4.62264 12.7273 4.45455V1.90909C12.7251 1.741 12.6573 1.58041 12.5384 1.46154C12.4196 1.34268 12.259 1.27492 12.0909 1.27273H9.54544ZM9.54544 14H12.0909C12.5972 14 13.0828 13.7989 13.4408 13.4408C13.7989 13.0828 14 12.5972 14 12.0909V9.54544C14 9.03912 13.7989 8.55354 13.4408 8.19551C13.0828 7.83749 12.5972 7.63635 12.0909 7.63635H9.54544C9.03912 7.63635 8.55354 7.83749 8.19551 8.19551C7.83749 8.55354 7.63635 9.03912 7.63635 9.54544V12.0909C7.63635 12.5972 7.83749 13.0828 8.19551 13.4408C8.55354 13.7989 9.03912 14 9.54544 14ZM9.0979 9.0979C9.21677 8.97903 9.37735 8.91128 9.54544 8.90908H12.0909C12.259 8.91128 12.4196 8.97903 12.5384 9.0979C12.6573 9.21677 12.7251 9.37735 12.7273 9.54544V12.0909C12.7251 12.259 12.6573 12.4196 12.5384 12.5384C12.4196 12.6573 12.259 12.7251 12.0909 12.7273H9.54544C9.37735 12.7251 9.21677 12.6573 9.0979 12.5384C8.97903 12.4196 8.91128 12.259 8.90908 12.0909V9.54544C8.91128 9.37735 8.97903 9.21677 9.0979 9.0979Z",
649
- fill: "currentColor"
650
- })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
651
- id: pathId
652
- }, /*#__PURE__*/React.createElement("rect", {
653
- width: "14",
654
- height: "14",
655
- fill: "white"
656
- }))));
657
- }));
658
- ThLargeIcon.displayName = 'ThLargeIcon';
659
-
660
- export { ThLargeIcon };
@@ -1 +0,0 @@
1
- import*as r from"react";import{IconBase as e}from"primereact/iconbase";function t(){return t=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},t.apply(this,arguments)}var n=r.memo(r.forwardRef((function(n,o){var C=e.getPTI(n);return r.createElement("svg",t({ref:o,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C),r.createElement("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"}))})));n.displayName="TimesIcon";export{n as TimesIcon};