@txgw/payout-components 0.6.0 → 1.0.1

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 (392) hide show
  1. package/dist/AMIS-BpATHKnv.js +1 -0
  2. package/dist/Action-B0KUcn27.js +1 -0
  3. package/dist/Action-CzJ_r33l.js +1 -0
  4. package/dist/Alert-DwWdKr12.js +1 -0
  5. package/dist/AnchorNav-DRGjEF5J.js +1 -0
  6. package/dist/App-DxKgyXV1.js +1 -0
  7. package/dist/Audio-BoaWMJHA.js +1 -0
  8. package/dist/Avatar-B2lZKPPh.js +1 -0
  9. package/dist/BarCode-BnchzdIg.js +1 -0
  10. package/dist/BarCode-dEGhm4u6.js +1 -0
  11. package/dist/Breadcrumb-BHzIF2Vg.js +1 -0
  12. package/dist/ButtonGroup-BMvNPoKc.js +1 -0
  13. package/dist/ButtonGroupSelect-BmQIuhWU.js +1 -0
  14. package/dist/ButtonGroupSelect-CfNu0OBj.js +1 -0
  15. package/dist/ButtonToolbar-CYZ0LWsz.js +1 -0
  16. package/dist/CRUD-BDeg8xZI.js +1 -0
  17. package/dist/CRUD2-DrE-2JU3.js +1 -0
  18. package/dist/Calendar-DkEUJJQW.js +1 -0
  19. package/dist/Card-BVUWwkgm.js +1 -0
  20. package/dist/Card-IZbcizfw.js +1 -0
  21. package/dist/Card2-Dyl0FIVL.js +1 -0
  22. package/dist/Cards-DlMpwNSr.js +1 -0
  23. package/dist/Carousel-CXMYZL8H.js +1 -0
  24. package/dist/ChainedSelect-BQK0j-pA.js +1 -0
  25. package/dist/Chart-uJ8v1OSG.js +1 -0
  26. package/dist/ChartRadios-C9Ov2SCd.js +1 -0
  27. package/dist/Checkbox-DAq7LXTe.js +1 -0
  28. package/dist/Checkbox-DbHhD7iK.js +1 -0
  29. package/dist/Checkboxes-wud_gmq3.js +1 -0
  30. package/dist/Code-VjDT2QOS.js +1 -0
  31. package/dist/Collapse-CRIu-D5O.js +1 -0
  32. package/dist/Collapse-CknZKNKz.js +1 -0
  33. package/dist/CollapseGroup-DkMS5MXZ.js +1 -0
  34. package/dist/Color-CZV84qNC.js +1 -0
  35. package/dist/ColorPicker-R5D1ZNwb.js +1 -0
  36. package/dist/ColumnToggler-BxHry8EL.js +1 -0
  37. package/dist/ColumnToggler-D98cb4XS.js +1 -0
  38. package/dist/Combo-BUD7tb8b.js +1 -0
  39. package/dist/ConditionBuilder-DFF8QBcW.js +1 -0
  40. package/dist/Container-f-JHe2WE.js +1 -0
  41. package/dist/Control-dOQnC26j.js +1 -0
  42. package/dist/Custom-CqKL8xv_.js +1 -0
  43. package/dist/{Date-C9Kib09x.js → Date-BcRD4sv_.js} +1 -333
  44. package/dist/DateRange-BkGu5vJl.js +1 -0
  45. package/dist/Dialog-CQSNeqgY.js +1 -0
  46. package/dist/DiffEditor-DU9deT5c.js +1 -0
  47. package/dist/Divider-CYwXWwc5.js +1 -0
  48. package/dist/Drawer-DmUqxMKd.js +1 -0
  49. package/dist/DropDownButton-C0e2mksC.js +1 -0
  50. package/dist/Each-Bnhdfx44.js +1 -0
  51. package/dist/FieldSet-BRfWbiPG.js +1 -0
  52. package/dist/FieldSet-f-m_bp4h.js +1 -0
  53. package/dist/Flex-C0c49ZMP.js +1 -0
  54. package/dist/Formula-C82aVdAD.js +1 -0
  55. package/dist/Grid2D-BJPrAz8w.js +1 -0
  56. package/dist/GridNav-DCCBgvz1.js +1 -0
  57. package/dist/Group-D_2Fn4zB.js +1 -0
  58. package/dist/HBox-CG3Ad5us.js +1 -0
  59. package/dist/HBox-CRrACS8I.js +1 -0
  60. package/dist/Hidden-SaNCTMlZ.js +1 -0
  61. package/dist/IFrame-2LIicqpq.js +1 -0
  62. package/dist/Icon-3_vNko-P.js +1 -0
  63. package/dist/IconPicker-DAMClR_z.js +1 -0
  64. package/dist/IconPickerIcons-DN0pqJHt.js +1 -0
  65. package/dist/IconSelect-CHM0oHqd.js +1 -0
  66. package/dist/IconSelectStore-MNwivoh-.js +1 -0
  67. package/dist/Image-Br7JbiAF.js +1 -0
  68. package/dist/Image-hHgZkb5C.js +1 -0
  69. package/dist/Images-ZGJfaN-q.js +1 -0
  70. package/dist/InputArray-D3y772RO.js +1 -0
  71. package/dist/InputCity-CF6mEwuH.js +1 -0
  72. package/dist/InputColor-CYmzXu5I.js +1 -0
  73. package/dist/InputDate-BldJd84x.js +1 -0
  74. package/dist/InputDateRange-KzSlI2fv.js +1 -0
  75. package/dist/InputExcel-CJZWvZFT.js +1 -0
  76. package/dist/InputFile-C0FUNeFM.js +1 -0
  77. package/dist/InputFile-DFjvYmV3.js +1 -0
  78. package/dist/InputFormula-BKxq41uR.js +1 -0
  79. package/dist/InputGroup-wvaymJ-V.js +1 -0
  80. package/dist/InputImage-CLuXGhoy.js +1 -0
  81. package/dist/InputImage-DasZBpb-.js +1 -0
  82. package/dist/InputMonthRange-DVRnBZ4I.js +1 -0
  83. package/dist/InputNumber-BjzsM73z.js +1 -0
  84. package/dist/InputQuarterRange-DQuiFCOb.js +1 -0
  85. package/dist/InputRange-C97bKrW6.js +1 -0
  86. package/dist/InputRating-CpFNTZKA.js +1 -0
  87. package/dist/InputRepeat-CN2KxX7g.js +1 -0
  88. package/dist/InputRichText-BXjRSQFh.js +1 -0
  89. package/dist/InputRichText-DdyJFH82.js +1 -0
  90. package/dist/InputSignature-CsxuK757.js +1 -0
  91. package/dist/InputSubForm-Ddweo6dR.js +1 -0
  92. package/dist/InputTable-Bt8U_tyA.js +1 -0
  93. package/dist/InputTag-kg2v747D.js +1 -0
  94. package/dist/InputText-bKR0VgA6.js +1 -0
  95. package/dist/InputTree-DbdS4b2m.js +1 -0
  96. package/dist/InputVerificationCode-DcFJRWeR.js +1 -0
  97. package/dist/InputYearRange-ChXlMgCi.js +1 -0
  98. package/dist/JSONSchema-C_VjFVVN.js +1 -0
  99. package/dist/JSONSchemaEditor-CEgywCvJ.js +1 -0
  100. package/dist/Json-DqjhkjHF.js +1 -0
  101. package/dist/Link-9hUnE5FW.js +1 -0
  102. package/dist/List-BBntusL0.js +1 -0
  103. package/dist/List-C8nPjG1-.js +1 -0
  104. package/dist/ListSelect-lX84FGAP.js +1 -0
  105. package/dist/LocationPicker-DnA8QpYh.js +1 -0
  106. package/dist/Log-CRxPlj86.js +1 -0
  107. package/dist/Mapping-X2IRbppi.js +1 -0
  108. package/dist/Markdown-BlxcmdTl.js +1 -0
  109. package/dist/Markdown-ByuMaB2P.js +1 -0
  110. package/dist/MatrixCheckboxes-BvBU1E-4.js +1 -0
  111. package/dist/MultilineText-BmbIytvk.js +1 -0
  112. package/dist/Nav-BxS7kBh9.js +1 -0
  113. package/dist/NestedSelect-CbWnin5b.js +1 -0
  114. package/dist/Number-CGYpvopX.js +1 -0
  115. package/dist/OfficeViewer-DBFFaH5P.js +1 -0
  116. package/dist/Operation-j5yIUDkZ.js +1 -0
  117. package/dist/Page-CJ2gK3vA.js +1 -0
  118. package/dist/Pagination-BDEmomCQ.js +1 -0
  119. package/dist/PaginationWrapper-Bnsk8oIg.js +1 -0
  120. package/dist/Panel-DKpM1Qfc.js +1 -0
  121. package/dist/Password-CzHAzi8M.js +1 -0
  122. package/dist/Picker-D5WVPGTg.js +1 -0
  123. package/dist/Plain-oyGNzh1N.js +1 -0
  124. package/dist/PopUp-DaheG-Vv.js +104 -0
  125. package/dist/Portlet-dA2P7U6i.js +1 -0
  126. package/dist/Progress-D2LXKzUA.js +1 -0
  127. package/dist/Property-CekATdUy.js +1 -0
  128. package/dist/QRCode-DPoyEXK3.js +2 -0
  129. package/dist/Radio-HhPQKIKk.js +1 -0
  130. package/dist/Radios-DVzovX2u.js +1 -0
  131. package/dist/Remark-CHTOdmdn.js +1 -0
  132. package/dist/Remark-bXVj7ffU.js +1 -0
  133. package/dist/RichText-wfPXQmb8.js +1 -0
  134. package/dist/SearchBox-Jlwq8w3o.js +1 -0
  135. package/dist/Select-DCB0i1Ga.js +1 -0
  136. package/dist/Service-Bmfl8VSD.js +1 -0
  137. package/dist/Shape-5ZBBe1x0.js +1 -0
  138. package/dist/Slider-pb5I0Xb2.js +1 -0
  139. package/dist/SparkLine-C4x34-6K.js +1 -0
  140. package/dist/Spinner-SR1wYU_1.js +1 -0
  141. package/dist/StaticHoc-DVc-5HZA.js +1 -0
  142. package/dist/Status-7D4DBjk6.js +1 -0
  143. package/dist/Steps-Dd_3MM0y.js +1 -0
  144. package/dist/Switch-CZqzJH45.js +1 -0
  145. package/dist/SwitchContainer-L7IwrheV.js +1 -0
  146. package/dist/Table-CYUuVDxA.js +1 -0
  147. package/dist/Table-D-9NfAqg.js +1 -0
  148. package/dist/Table2-CIZ93hrj.js +1 -0
  149. package/dist/TableView-CigjcDJc.js +1 -0
  150. package/dist/Tabs-Cljj-nTv.js +1 -0
  151. package/dist/TabsTransfer-BXwrW4NX.js +1 -0
  152. package/dist/TabsTransferPicker-DB005nER.js +1 -0
  153. package/dist/Tag-CcfwT8FM.js +1 -0
  154. package/dist/Tasks-DeVW2Tdg.js +1 -0
  155. package/dist/Textarea-zsHcK0rZ.js +1 -0
  156. package/dist/Timeline-D_3FRzUa.js +1 -0
  157. package/dist/TooltipWrapper-BElQhX67.js +1 -0
  158. package/dist/Tpl-OPfW08Kh.js +1 -0
  159. package/dist/Transfer-Cx1Ijzfh.js +1 -0
  160. package/dist/Transfer-DboPBh8V.js +1 -0
  161. package/dist/TransferPicker-xlJfwHxP.js +1 -0
  162. package/dist/TreeSelect-BTKg9Ldf.js +1 -0
  163. package/dist/UUID-BkwpeiT9.js +1 -0
  164. package/dist/UserSelect-CsY5PQp9.js +1 -0
  165. package/dist/VBox-Ca4DBR6-.js +1 -0
  166. package/dist/Video-CXzxq3vU.js +1 -0
  167. package/dist/WebComponent-DYxJeu6a.js +1 -0
  168. package/dist/Wizard-fqzq2OCn.js +1 -0
  169. package/dist/Words-V70QrARW.js +1 -0
  170. package/dist/Wrapper-BtFbBBXy.js +1 -0
  171. package/dist/_getTag-x788Ng9o.js +1 -0
  172. package/dist/beneficiary-form-BmmdIRc0.js +10 -0
  173. package/dist/client-BoE-UyzU.js +1 -0
  174. package/dist/crypto-js-Cv2Y8hvs.js +1 -0
  175. package/dist/doc-CmSOujco.js +1 -0
  176. package/dist/es-DY5--nMG.js +1 -0
  177. package/dist/esm-BMvKJM5q.js +4 -0
  178. package/dist/esm-BbZME5Ac.js +28 -0
  179. package/dist/esm-DyRrwLZv.js +1 -0
  180. package/dist/function-C8ta9DKb.js +3 -0
  181. package/dist/index.css +1 -1
  182. package/dist/index.js +1 -96
  183. package/dist/isEqual-BxlJ5vH7.js +1 -0
  184. package/dist/main-CLaM-mkN.js +1 -0
  185. package/dist/mi18n-react.esm-BFa-Q7wX.js +1 -0
  186. package/dist/objectSpread2-BCtAXXta.js +1 -0
  187. package/dist/omitBy-NMzUUhXs.js +1 -0
  188. package/dist/papaparse.min-CU0u_rom.js +1 -0
  189. package/dist/react-BW4ssgUo.js +1 -0
  190. package/dist/react-cropper.es-zEJdZmmN.js +1 -0
  191. package/dist/react-dom-DmgFzc6z.js +1 -0
  192. package/dist/rolldown-runtime-DcYi-9oA.js +1 -0
  193. package/dist/tslib.es6-C2q27PUR.js +1 -0
  194. package/dist/xor-CSkTraTY.js +1 -0
  195. package/package.json +23 -17
  196. package/dist/AMIS--SZXSfKF.js +0 -23
  197. package/dist/Action-D7O1nxY2.js +0 -10
  198. package/dist/Action-DpRShNiD.js +0 -646
  199. package/dist/Alert-sakO0sgo.js +0 -34
  200. package/dist/AnchorNav-1OrNpCPU.js +0 -88
  201. package/dist/App-mzRv6t1L.js +0 -213
  202. package/dist/Audio-CmGRzA8C.js +0 -324
  203. package/dist/Avatar-C0g_Dcsr.js +0 -75
  204. package/dist/BarCode-Bgr2-a69.js +0 -35
  205. package/dist/BarCode-f_fuunrs.js +0 -2708
  206. package/dist/Breadcrumb-3pb8787J.js +0 -38
  207. package/dist/ButtonGroup-DBJgP_U6.js +0 -16
  208. package/dist/ButtonGroupSelect-BV8FHgm0.js +0 -93
  209. package/dist/ButtonGroupSelect-Cl2irnYh.js +0 -8
  210. package/dist/ButtonToolbar-DMCBgh9w.js +0 -36
  211. package/dist/CRUD-DFP1DIcc.js +0 -1048
  212. package/dist/CRUD2-BGpsdJ3D.js +0 -660
  213. package/dist/Calendar-D_aFq70_.js +0 -18
  214. package/dist/Card-C54K-VRd.js +0 -14
  215. package/dist/Card-FmRg7dLO.js +0 -346
  216. package/dist/Card2-Blr9gGoC.js +0 -68
  217. package/dist/Cards-B7J3bYtx.js +0 -485
  218. package/dist/Carousel-Ba4JeK7n.js +0 -414
  219. package/dist/ChainedSelect-CUU7qCFQ.js +0 -212
  220. package/dist/Chart-BmOD9NEG.js +0 -276
  221. package/dist/ChartRadios-Bm7pnICh.js +0 -93
  222. package/dist/Checkbox-CcjG9Mv4.js +0 -157
  223. package/dist/Checkbox-yvPZaH8N.js +0 -10
  224. package/dist/Checkboxes-Babxqar9.js +0 -285
  225. package/dist/Code-B7FhTic-.js +0 -111
  226. package/dist/Collapse-BYdoEOZ2.js +0 -124
  227. package/dist/Collapse-C9riUcKK.js +0 -9
  228. package/dist/CollapseGroup-B7DmpWY1.js +0 -74
  229. package/dist/Color-BM1Qa0C1.js +0 -34
  230. package/dist/ColorPicker-BXmi_OWm.js +0 -5258
  231. package/dist/ColumnToggler-3QYyVjVf.js +0 -81
  232. package/dist/ColumnToggler-D0NlxwMq.js +0 -10
  233. package/dist/ColumnToggler-DLFwzPef.js +0 -228
  234. package/dist/Combo-BsouWVHB.js +0 -748
  235. package/dist/Combo-Cabifvbg.js +0 -9
  236. package/dist/ConditionBuilder-BacjsaTh.js +0 -113
  237. package/dist/Container-C5-66abH.js +0 -86
  238. package/dist/Control-krTArjIv.js +0 -38
  239. package/dist/Custom-DawY4LgO.js +0 -73
  240. package/dist/DateRange-D2lKQT_J.js +0 -34
  241. package/dist/Dialog-oNlQLXnk.js +0 -508
  242. package/dist/DiffEditor-DY8XdtJS.js +0 -104
  243. package/dist/Divider-BgpLhaqf.js +0 -70
  244. package/dist/Drawer-DslUxLot.js +0 -448
  245. package/dist/DropDownButton-BIuAagmC.js +0 -193
  246. package/dist/Each-CA8gaJkL.js +0 -79
  247. package/dist/FieldSet-Cg1pE5gA.js +0 -64
  248. package/dist/FieldSet-DVAa2H_Q.js +0 -10
  249. package/dist/Flex-Baz4bI9u.js +0 -99
  250. package/dist/Formula-ABhgdx_Q.js +0 -72
  251. package/dist/Grid2D-DmdOVnhu.js +0 -84
  252. package/dist/GridNav-lHAunT1M.js +0 -56
  253. package/dist/Group-7sGnjMli.js +0 -85
  254. package/dist/HBox-DxchKWfv.js +0 -7
  255. package/dist/HBox-s88aG83B.js +0 -48
  256. package/dist/Hidden-BrTWoL8d.js +0 -27
  257. package/dist/IFrame-DaZ1v2-9.js +0 -141
  258. package/dist/Icon-DNbdrsn8.js +0 -74
  259. package/dist/IconPicker-DqNlu5Zd.js +0 -230
  260. package/dist/IconPickerIcons-dHFcDHrv.js +0 -15
  261. package/dist/IconSelect-CvBITEcy.js +0 -254
  262. package/dist/IconSelectStore-CTqJPujB.js +0 -45
  263. package/dist/Image-BBs8tnny.js +0 -258
  264. package/dist/Image-DM9_Ii2b.js +0 -9
  265. package/dist/Images-cRmH380W.js +0 -377
  266. package/dist/InputArray-Dov-RBrP.js +0 -42
  267. package/dist/InputCity-owVpsIaD.js +0 -351
  268. package/dist/InputColor-DhVJhPp6.js +0 -53
  269. package/dist/InputDate-DLOwHbwT.js +0 -10
  270. package/dist/InputDate-DWaIvnAp.js +0 -292
  271. package/dist/InputDateRange-CnGNwIFe.js +0 -10
  272. package/dist/InputDateRange-Diqw3JLp.js +0 -170
  273. package/dist/InputExcel-BjWNYvnN.js +0 -427
  274. package/dist/InputFile-89BOwWJE.js +0 -601
  275. package/dist/InputFile-DOym0HDc.js +0 -10
  276. package/dist/InputFormula-CV5j31Ow.js +0 -75
  277. package/dist/InputGroup-C7O2ba0g.js +0 -112
  278. package/dist/InputImage-BF7DAF8L.js +0 -12
  279. package/dist/InputImage-DcsVQf7c.js +0 -834
  280. package/dist/InputMonthRange-BjD3hmwp.js +0 -76
  281. package/dist/InputNumber-DKMOkba-.js +0 -255
  282. package/dist/InputQuarterRange-DZKnkZ_s.js +0 -76
  283. package/dist/InputRange-DiHKf3tP.js +0 -266
  284. package/dist/InputRating-Bc8Od5b8.js +0 -115
  285. package/dist/InputRepeat-BhF5KVB2.js +0 -179
  286. package/dist/InputRichText-BBBdDFA2.js +0 -7
  287. package/dist/InputRichText-CieHn0fO.js +0 -198
  288. package/dist/InputSignature-CbfGjJlU.js +0 -495
  289. package/dist/InputSubForm-BkM_3Rjg.js +0 -236
  290. package/dist/InputTable-CgOqC6Pc.js +0 -900
  291. package/dist/InputTag-35kCFM5X.js +0 -464
  292. package/dist/InputText-BbEjGBtv.js +0 -541
  293. package/dist/InputTree-DchkyMbL.js +0 -311
  294. package/dist/InputVerificationCode-kMxc8wW7.js +0 -62
  295. package/dist/InputYearRange-WJKJeloR.js +0 -76
  296. package/dist/JSONSchema-Bs0EWcHb.js +0 -47
  297. package/dist/JSONSchemaEditor-BoAK9FOL.js +0 -66
  298. package/dist/Json-DFjy1HRw.js +0 -80
  299. package/dist/Link-nYGLB6gy.js +0 -57
  300. package/dist/List-D3183f4Z.js +0 -14
  301. package/dist/List-W3IAZR_6.js +0 -671
  302. package/dist/ListSelect-DWGbHVxd.js +0 -104
  303. package/dist/LocationPicker-2G9yOxtm.js +0 -121
  304. package/dist/Log-D6VU702y.js +0 -207
  305. package/dist/Mapping-BATMD_xR.js +0 -118
  306. package/dist/Markdown-Baxbu8lV.js +0 -53
  307. package/dist/Markdown-Cg-xahnQ.js +0 -6205
  308. package/dist/MatrixCheckboxes-B9hmFakW.js +0 -262
  309. package/dist/MultilineText-0fMQhUCY.js +0 -28
  310. package/dist/Nav-DHIehZOG.js +0 -639
  311. package/dist/NestedSelect-tQztH4PI.js +0 -517
  312. package/dist/Number-Cndoqeyx.js +0 -40
  313. package/dist/OfficeViewer-BVD_e5eZ.js +0 -169
  314. package/dist/Operation-DIv6n9dT.js +0 -36
  315. package/dist/Page-WoZtIIfk.js +0 -459
  316. package/dist/Pagination-DHvYHd_3.js +0 -61
  317. package/dist/PaginationWrapper-CtIJOXdw.js +0 -58
  318. package/dist/Panel-Dt4KQrKa.js +0 -156
  319. package/dist/Password-Wjfq7MSA.js +0 -45
  320. package/dist/Picker-Cu52ukRg.js +0 -488
  321. package/dist/Plain-DIlG753a.js +0 -62
  322. package/dist/PopUp-Bgkvnd4X.js +0 -2761
  323. package/dist/Portlet-3Nh2cWeq.js +0 -107
  324. package/dist/Progress-Dh2FTsky.js +0 -89
  325. package/dist/Property-DRSklFlT.js +0 -72
  326. package/dist/QRCode-BeUD-g8-.js +0 -1139
  327. package/dist/Radio-DrJJfNFI.js +0 -89
  328. package/dist/Radios-CL3mreXa.js +0 -176
  329. package/dist/Remark-Cmo-r6dp.js +0 -81
  330. package/dist/Remark-DuAbEmCW.js +0 -9
  331. package/dist/RichText-jkERm8rC.js +0 -13807
  332. package/dist/SearchBox-CTxSMcV2.js +0 -112
  333. package/dist/Select-D3LTuHwe.js +0 -362
  334. package/dist/Service-CN2v_Z9z.js +0 -347
  335. package/dist/Shape-Bi93tLCN.js +0 -37
  336. package/dist/Slider-C0jqeBGt.js +0 -78
  337. package/dist/SparkLine-Ce6-mdqG.js +0 -38
  338. package/dist/Spinner-DZDEct1A.js +0 -27
  339. package/dist/StaticHoc-BAdofX5w.js +0 -80
  340. package/dist/Status-CDC2e2_o.js +0 -93
  341. package/dist/Steps-CGyTaaVI.js +0 -271
  342. package/dist/Switch-QA0l7uEg.js +0 -100
  343. package/dist/SwitchContainer-zXvaPFlG.js +0 -93
  344. package/dist/Table-B8tWpiPU.js +0 -13
  345. package/dist/Table-DzGbNFxu.js +0 -3190
  346. package/dist/Table2-CQZ3und9.js +0 -1198
  347. package/dist/TableView-nlFBhvL1.js +0 -115
  348. package/dist/Tabs-XleB-2Mc.js +0 -487
  349. package/dist/TabsTransfer-CLLGXAkP.js +0 -188
  350. package/dist/TabsTransfer-Cs_Rg0TU.js +0 -11
  351. package/dist/TabsTransferPicker-VA3Vlla-.js +0 -99
  352. package/dist/Tag-tr5RKBfl.js +0 -75
  353. package/dist/Tasks-C2-ayUd-.js +0 -305
  354. package/dist/Textarea-_KbIxQet.js +0 -132
  355. package/dist/Timeline-CctoJRQo.js +0 -87
  356. package/dist/TooltipWrapper-BGNr8U2K.js +0 -83
  357. package/dist/Tpl-C28lpITc.js +0 -152
  358. package/dist/Transfer-Hjc9zR8W.js +0 -288
  359. package/dist/Transfer-tYS9Rx8U.js +0 -10
  360. package/dist/TransferPicker-C7Wzyuct.js +0 -123
  361. package/dist/TreeSelect-DAlWCEqs.js +0 -456
  362. package/dist/UUID-B5UZnlxW.js +0 -33
  363. package/dist/UserSelect-DqZZQB83.js +0 -170
  364. package/dist/VBox-C1OZZT8-.js +0 -38
  365. package/dist/Video-C1FRwLLL.js +0 -4068
  366. package/dist/WebComponent-g8Zc9zXp.js +0 -29
  367. package/dist/Wizard-DkqCsGz-.js +0 -585
  368. package/dist/Words-DUuKqyIf.js +0 -113
  369. package/dist/Wrapper-DmZ78GYG.js +0 -39
  370. package/dist/_getTag-CWmGzIun.js +0 -509
  371. package/dist/beneficiary-form-DCl2L16P.js +0 -3773
  372. package/dist/client-BEyTOBXT.js +0 -26
  373. package/dist/crypto-js-DUFYRUag.js +0 -3694
  374. package/dist/doc-B-Im0Knb.js +0 -1731
  375. package/dist/es-CsUppg1O.js +0 -837
  376. package/dist/esm-Cj_BRpNI.js +0 -35832
  377. package/dist/esm-DEyK_c3W.js +0 -25349
  378. package/dist/esm-SCCPj-cs.js +0 -93004
  379. package/dist/function-CNJMA2ft.js +0 -3151
  380. package/dist/isEqual-E2NjjS0_.js +0 -641
  381. package/dist/main-Bf7MY24z.js +0 -4475
  382. package/dist/mi18n-react.esm-y-nzmW0A.js +0 -1138
  383. package/dist/objectSpread2-smpSKONV.js +0 -27
  384. package/dist/omitBy-CD5n2TA7.js +0 -39
  385. package/dist/papaparse.min-3xa9r8Qi.js +0 -496
  386. package/dist/react-RxxVsDMo.js +0 -1205
  387. package/dist/react-cropper.es-anJ2KE7h.js +0 -1260
  388. package/dist/react-dom-D1mxcNoQ.js +0 -16864
  389. package/dist/react-g40aymqL.js +0 -2
  390. package/dist/rolldown-runtime-DwW8Tac2.js +0 -21
  391. package/dist/tslib.es6-DJiA3ePV.js +0 -170
  392. package/dist/xor-D-ggRBpm.js +0 -20
@@ -1,837 +0,0 @@
1
- import { s as __toESM, t as __commonJSMin } from "./rolldown-runtime-DwW8Tac2.js";
2
- import { t as require_react } from "./react-RxxVsDMo.js";
3
- import { a as __generator, l as __spread, n as __awaiter } from "./tslib.es6-DJiA3ePV.js";
4
- import { K as require_prop_types } from "./esm-DEyK_c3W.js";
5
- var COMMON_MIME_TYPES = new Map([
6
- ["aac", "audio/aac"],
7
- ["abw", "application/x-abiword"],
8
- ["arc", "application/x-freearc"],
9
- ["avif", "image/avif"],
10
- ["avi", "video/x-msvideo"],
11
- ["azw", "application/vnd.amazon.ebook"],
12
- ["bin", "application/octet-stream"],
13
- ["bmp", "image/bmp"],
14
- ["bz", "application/x-bzip"],
15
- ["bz2", "application/x-bzip2"],
16
- ["cda", "application/x-cdf"],
17
- ["csh", "application/x-csh"],
18
- ["css", "text/css"],
19
- ["csv", "text/csv"],
20
- ["doc", "application/msword"],
21
- ["docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
22
- ["eot", "application/vnd.ms-fontobject"],
23
- ["epub", "application/epub+zip"],
24
- ["gz", "application/gzip"],
25
- ["gif", "image/gif"],
26
- ["htm", "text/html"],
27
- ["html", "text/html"],
28
- ["ico", "image/vnd.microsoft.icon"],
29
- ["ics", "text/calendar"],
30
- ["jar", "application/java-archive"],
31
- ["jpeg", "image/jpeg"],
32
- ["jpg", "image/jpeg"],
33
- ["js", "text/javascript"],
34
- ["json", "application/json"],
35
- ["jsonld", "application/ld+json"],
36
- ["mid", "audio/midi"],
37
- ["midi", "audio/midi"],
38
- ["mjs", "text/javascript"],
39
- ["mp3", "audio/mpeg"],
40
- ["mp4", "video/mp4"],
41
- ["mpeg", "video/mpeg"],
42
- ["mpkg", "application/vnd.apple.installer+xml"],
43
- ["odp", "application/vnd.oasis.opendocument.presentation"],
44
- ["ods", "application/vnd.oasis.opendocument.spreadsheet"],
45
- ["odt", "application/vnd.oasis.opendocument.text"],
46
- ["oga", "audio/ogg"],
47
- ["ogv", "video/ogg"],
48
- ["ogx", "application/ogg"],
49
- ["opus", "audio/opus"],
50
- ["otf", "font/otf"],
51
- ["png", "image/png"],
52
- ["pdf", "application/pdf"],
53
- ["php", "application/x-httpd-php"],
54
- ["ppt", "application/vnd.ms-powerpoint"],
55
- ["pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"],
56
- ["rar", "application/vnd.rar"],
57
- ["rtf", "application/rtf"],
58
- ["sh", "application/x-sh"],
59
- ["svg", "image/svg+xml"],
60
- ["swf", "application/x-shockwave-flash"],
61
- ["tar", "application/x-tar"],
62
- ["tif", "image/tiff"],
63
- ["tiff", "image/tiff"],
64
- ["ts", "video/mp2t"],
65
- ["ttf", "font/ttf"],
66
- ["txt", "text/plain"],
67
- ["vsd", "application/vnd.visio"],
68
- ["wav", "audio/wav"],
69
- ["weba", "audio/webm"],
70
- ["webm", "video/webm"],
71
- ["webp", "image/webp"],
72
- ["woff", "font/woff"],
73
- ["woff2", "font/woff2"],
74
- ["xhtml", "application/xhtml+xml"],
75
- ["xls", "application/vnd.ms-excel"],
76
- ["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
77
- ["xml", "application/xml"],
78
- ["xul", "application/vnd.mozilla.xul+xml"],
79
- ["zip", "application/zip"],
80
- ["7z", "application/x-7z-compressed"],
81
- ["mkv", "video/x-matroska"],
82
- ["mov", "video/quicktime"],
83
- ["msg", "application/vnd.ms-outlook"]
84
- ]);
85
- function toFileWithPath(e, t) {
86
- var n = withMimeType(e);
87
- if (typeof n.path != "string") {
88
- var r = e.webkitRelativePath;
89
- Object.defineProperty(n, "path", {
90
- value: typeof t == "string" ? t : typeof r == "string" && r.length > 0 ? r : e.name,
91
- writable: !1,
92
- configurable: !1,
93
- enumerable: !0
94
- });
95
- }
96
- return n;
97
- }
98
- function withMimeType(e) {
99
- var t = e.name;
100
- if (t && t.lastIndexOf(".") !== -1 && !e.type) {
101
- var n = t.split(".").pop().toLowerCase(), r = COMMON_MIME_TYPES.get(n);
102
- r && Object.defineProperty(e, "type", {
103
- value: r,
104
- writable: !1,
105
- configurable: !1,
106
- enumerable: !0
107
- });
108
- }
109
- return e;
110
- }
111
- var FILES_TO_IGNORE = [".DS_Store", "Thumbs.db"];
112
- function fromEvent(e) {
113
- return __awaiter(this, void 0, void 0, function() {
114
- return __generator(this, function(t) {
115
- return isObject(e) && isDataTransfer(e) ? [2, getDataTransferFiles(e.dataTransfer, e.type)] : isChangeEvt(e) ? [2, getInputFiles(e)] : Array.isArray(e) && e.every(function(e) {
116
- return "getFile" in e && typeof e.getFile == "function";
117
- }) ? [2, getFsHandleFiles(e)] : [2, []];
118
- });
119
- });
120
- }
121
- function isDataTransfer(e) {
122
- return isObject(e.dataTransfer);
123
- }
124
- function isChangeEvt(e) {
125
- return isObject(e) && isObject(e.target);
126
- }
127
- function isObject(e) {
128
- return typeof e == "object" && !!e;
129
- }
130
- function getInputFiles(e) {
131
- return fromList(e.target.files).map(function(e) {
132
- return toFileWithPath(e);
133
- });
134
- }
135
- function getFsHandleFiles(e) {
136
- return __awaiter(this, void 0, void 0, function() {
137
- var t;
138
- return __generator(this, function(n) {
139
- switch (n.label) {
140
- case 0: return [4, Promise.all(e.map(function(e) {
141
- return e.getFile();
142
- }))];
143
- case 1: return t = n.sent(), [2, t.map(function(e) {
144
- return toFileWithPath(e);
145
- })];
146
- }
147
- });
148
- });
149
- }
150
- function getDataTransferFiles(e, t) {
151
- return __awaiter(this, void 0, void 0, function() {
152
- var n, i;
153
- return __generator(this, function(r) {
154
- switch (r.label) {
155
- case 0: return e === null ? [2, []] : e.items ? (n = fromList(e.items).filter(function(e) {
156
- return e.kind === "file";
157
- }), t === "drop" ? [4, Promise.all(n.map(toFilePromises))] : [2, n]) : [3, 2];
158
- case 1: return i = r.sent(), [2, noIgnoredFiles(flatten(i))];
159
- case 2: return [2, noIgnoredFiles(fromList(e.files).map(function(e) {
160
- return toFileWithPath(e);
161
- }))];
162
- }
163
- });
164
- });
165
- }
166
- function noIgnoredFiles(e) {
167
- return e.filter(function(e) {
168
- return FILES_TO_IGNORE.indexOf(e.name) === -1;
169
- });
170
- }
171
- function fromList(e) {
172
- if (e === null) return [];
173
- for (var t = [], n = 0; n < e.length; n++) {
174
- var r = e[n];
175
- t.push(r);
176
- }
177
- return t;
178
- }
179
- function toFilePromises(e) {
180
- if (typeof e.webkitGetAsEntry != "function") return fromDataTransferItem(e);
181
- var t = e.webkitGetAsEntry();
182
- return t && t.isDirectory ? fromDirEntry(t) : fromDataTransferItem(e);
183
- }
184
- function flatten(e) {
185
- return e.reduce(function(e, t) {
186
- return __spread(e, Array.isArray(t) ? flatten(t) : [t]);
187
- }, []);
188
- }
189
- function fromDataTransferItem(e) {
190
- var t = e.getAsFile();
191
- if (!t) return Promise.reject(e + " is not a File");
192
- var n = toFileWithPath(t);
193
- return Promise.resolve(n);
194
- }
195
- function fromEntry(e) {
196
- return __awaiter(this, void 0, void 0, function() {
197
- return __generator(this, function(t) {
198
- return [2, e.isDirectory ? fromDirEntry(e) : fromFileEntry(e)];
199
- });
200
- });
201
- }
202
- function fromDirEntry(e) {
203
- var t = e.createReader();
204
- return new Promise(function(e, n) {
205
- var i = [];
206
- function o() {
207
- var s = this;
208
- t.readEntries(function(t) {
209
- return __awaiter(s, void 0, void 0, function() {
210
- var a, s, c;
211
- return __generator(this, function(r) {
212
- switch (r.label) {
213
- case 0:
214
- if (t.length) return [3, 5];
215
- r.label = 1;
216
- case 1: return r.trys.push([
217
- 1,
218
- 3,
219
- ,
220
- 4
221
- ]), [4, Promise.all(i)];
222
- case 2: return a = r.sent(), e(a), [3, 4];
223
- case 3: return s = r.sent(), n(s), [3, 4];
224
- case 4: return [3, 6];
225
- case 5: c = Promise.all(t.map(fromEntry)), i.push(c), o(), r.label = 6;
226
- case 6: return [2];
227
- }
228
- });
229
- });
230
- }, function(e) {
231
- n(e);
232
- });
233
- }
234
- o();
235
- });
236
- }
237
- function fromFileEntry(e) {
238
- return __awaiter(this, void 0, void 0, function() {
239
- return __generator(this, function(t) {
240
- return [2, new Promise(function(t, n) {
241
- e.file(function(n) {
242
- t(toFileWithPath(n, e.fullPath));
243
- }, function(e) {
244
- n(e);
245
- });
246
- })];
247
- });
248
- });
249
- }
250
- var require_es = /* @__PURE__ */ __commonJSMin(((e) => {
251
- e.__esModule = !0, e.default = function(e, t) {
252
- if (e && t) {
253
- var n = Array.isArray(t) ? t : t.split(","), r = e.name || "", i = (e.type || "").toLowerCase(), a = i.replace(/\/.*$/, "");
254
- return n.some(function(e) {
255
- var t = e.trim().toLowerCase();
256
- return t.charAt(0) === "." ? r.toLowerCase().endsWith(t) : t.endsWith("/*") ? a === t.replace(/\/.*$/, "") : i === t;
257
- });
258
- }
259
- return !0;
260
- };
261
- })), import_es = /* @__PURE__ */ __toESM(require_es());
262
- function ownKeys$1(e, t) {
263
- var n = Object.keys(e);
264
- if (Object.getOwnPropertySymbols) {
265
- var r = Object.getOwnPropertySymbols(e);
266
- t && (r = r.filter(function(t) {
267
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
268
- })), n.push.apply(n, r);
269
- }
270
- return n;
271
- }
272
- function _objectSpread$1(e) {
273
- for (var t = 1; t < arguments.length; t++) {
274
- var n = arguments[t] == null ? {} : arguments[t];
275
- t % 2 ? ownKeys$1(Object(n), !0).forEach(function(t) {
276
- _defineProperty$1(e, t, n[t]);
277
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ownKeys$1(Object(n)).forEach(function(t) {
278
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
279
- });
280
- }
281
- return e;
282
- }
283
- function _defineProperty$1(e, t, n) {
284
- return t in e ? Object.defineProperty(e, t, {
285
- value: n,
286
- enumerable: !0,
287
- configurable: !0,
288
- writable: !0
289
- }) : e[t] = n, e;
290
- }
291
- function _slicedToArray$1(e, t) {
292
- return _arrayWithHoles$1(e) || _iterableToArrayLimit$1(e, t) || _unsupportedIterableToArray$1(e, t) || _nonIterableRest$1();
293
- }
294
- function _nonIterableRest$1() {
295
- throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
296
- }
297
- function _unsupportedIterableToArray$1(e, t) {
298
- if (e) {
299
- if (typeof e == "string") return _arrayLikeToArray$1(e, t);
300
- var n = Object.prototype.toString.call(e).slice(8, -1);
301
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
302
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(e, t);
303
- }
304
- }
305
- function _arrayLikeToArray$1(e, t) {
306
- (t == null || t > e.length) && (t = e.length);
307
- for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
308
- return r;
309
- }
310
- function _iterableToArrayLimit$1(e, t) {
311
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
312
- if (n != null) {
313
- var r = [], i = !0, a = !1, o, s;
314
- try {
315
- for (n = n.call(e); !(i = (o = n.next()).done) && (r.push(o.value), !(t && r.length === t)); i = !0);
316
- } catch (e) {
317
- a = !0, s = e;
318
- } finally {
319
- try {
320
- !i && n.return != null && n.return();
321
- } finally {
322
- if (a) throw s;
323
- }
324
- }
325
- return r;
326
- }
327
- }
328
- function _arrayWithHoles$1(e) {
329
- if (Array.isArray(e)) return e;
330
- }
331
- var FILE_INVALID_TYPE = "file-invalid-type", FILE_TOO_LARGE = "file-too-large", FILE_TOO_SMALL = "file-too-small", TOO_MANY_FILES = "too-many-files", ErrorCode = {
332
- FileInvalidType: FILE_INVALID_TYPE,
333
- FileTooLarge: FILE_TOO_LARGE,
334
- FileTooSmall: FILE_TOO_SMALL,
335
- TooManyFiles: TOO_MANY_FILES
336
- }, getInvalidTypeRejectionErr = function(e) {
337
- return e = Array.isArray(e) && e.length === 1 ? e[0] : e, {
338
- code: FILE_INVALID_TYPE,
339
- message: `File type must be ${Array.isArray(e) ? `one of ${e.join(", ")}` : e}`
340
- };
341
- }, getTooLargeRejectionErr = function(e) {
342
- return {
343
- code: FILE_TOO_LARGE,
344
- message: `File is larger than ${e} ${e === 1 ? "byte" : "bytes"}`
345
- };
346
- }, getTooSmallRejectionErr = function(e) {
347
- return {
348
- code: FILE_TOO_SMALL,
349
- message: `File is smaller than ${e} ${e === 1 ? "byte" : "bytes"}`
350
- };
351
- }, TOO_MANY_FILES_REJECTION = {
352
- code: TOO_MANY_FILES,
353
- message: "Too many files"
354
- };
355
- function fileAccepted(e, t) {
356
- var n = e.type === "application/x-moz-file" || (0, import_es.default)(e, t);
357
- return [n, n ? null : getInvalidTypeRejectionErr(t)];
358
- }
359
- function fileMatchSize(e, t, n) {
360
- if (isDefined(e.size)) {
361
- if (isDefined(t) && isDefined(n)) {
362
- if (e.size > n) return [!1, getTooLargeRejectionErr(n)];
363
- if (e.size < t) return [!1, getTooSmallRejectionErr(t)];
364
- } else if (isDefined(t) && e.size < t) return [!1, getTooSmallRejectionErr(t)];
365
- else if (isDefined(n) && e.size > n) return [!1, getTooLargeRejectionErr(n)];
366
- }
367
- return [!0, null];
368
- }
369
- function isDefined(e) {
370
- return e != null;
371
- }
372
- function allFilesAccepted(e) {
373
- var t = e.files, n = e.accept, r = e.minSize, i = e.maxSize, a = e.multiple, o = e.maxFiles;
374
- return !a && t.length > 1 || a && o >= 1 && t.length > o ? !1 : t.every(function(e) {
375
- var t = _slicedToArray$1(fileAccepted(e, n), 1)[0], a = _slicedToArray$1(fileMatchSize(e, r, i), 1)[0];
376
- return t && a;
377
- });
378
- }
379
- function isPropagationStopped(e) {
380
- return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : e.cancelBubble === void 0 ? !1 : e.cancelBubble;
381
- }
382
- function isEvtWithFiles(e) {
383
- return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(e) {
384
- return e === "Files" || e === "application/x-moz-file";
385
- }) : !!e.target && !!e.target.files;
386
- }
387
- function onDocumentDragOver(e) {
388
- e.preventDefault();
389
- }
390
- function isIe(e) {
391
- return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
392
- }
393
- function isEdge(e) {
394
- return e.indexOf("Edge/") !== -1;
395
- }
396
- function isIeOrEdge() {
397
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
398
- return isIe(e) || isEdge(e);
399
- }
400
- function composeEventHandlers() {
401
- var e = [...arguments];
402
- return function(t) {
403
- var n = [...arguments].slice(1);
404
- return e.some(function(e) {
405
- return !isPropagationStopped(t) && e && e.apply(void 0, [t].concat(n)), isPropagationStopped(t);
406
- });
407
- };
408
- }
409
- function canUseFileSystemAccessAPI() {
410
- return "showOpenFilePicker" in window;
411
- }
412
- function filePickerOptionsTypes(e) {
413
- return e = typeof e == "string" ? e.split(",") : e, [{
414
- description: "everything",
415
- accept: Array.isArray(e) ? e.filter(function(e) {
416
- return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || /\w+\/[-+.\w]+/g.test(e);
417
- }).reduce(function(e, t) {
418
- return _objectSpread$1(_objectSpread$1({}, e), {}, _defineProperty$1({}, t, []));
419
- }, {}) : {}
420
- }];
421
- }
422
- var import_react = /* @__PURE__ */ __toESM(require_react()), import_prop_types = /* @__PURE__ */ __toESM(require_prop_types()), _excluded = ["children"], _excluded2 = ["open"], _excluded3 = [
423
- "refKey",
424
- "role",
425
- "onKeyDown",
426
- "onFocus",
427
- "onBlur",
428
- "onClick",
429
- "onDragEnter",
430
- "onDragOver",
431
- "onDragLeave",
432
- "onDrop"
433
- ], _excluded4 = [
434
- "refKey",
435
- "onChange",
436
- "onClick"
437
- ];
438
- function _toConsumableArray(e) {
439
- return _arrayWithoutHoles(e) || _iterableToArray(e) || _unsupportedIterableToArray(e) || _nonIterableSpread();
440
- }
441
- function _nonIterableSpread() {
442
- throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
443
- }
444
- function _iterableToArray(e) {
445
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
446
- }
447
- function _arrayWithoutHoles(e) {
448
- if (Array.isArray(e)) return _arrayLikeToArray(e);
449
- }
450
- function _slicedToArray(e, t) {
451
- return _arrayWithHoles(e) || _iterableToArrayLimit(e, t) || _unsupportedIterableToArray(e, t) || _nonIterableRest();
452
- }
453
- function _nonIterableRest() {
454
- throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
455
- }
456
- function _unsupportedIterableToArray(e, t) {
457
- if (e) {
458
- if (typeof e == "string") return _arrayLikeToArray(e, t);
459
- var n = Object.prototype.toString.call(e).slice(8, -1);
460
- if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
461
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(e, t);
462
- }
463
- }
464
- function _arrayLikeToArray(e, t) {
465
- (t == null || t > e.length) && (t = e.length);
466
- for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
467
- return r;
468
- }
469
- function _iterableToArrayLimit(e, t) {
470
- var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
471
- if (n != null) {
472
- var r = [], i = !0, a = !1, o, s;
473
- try {
474
- for (n = n.call(e); !(i = (o = n.next()).done) && (r.push(o.value), !(t && r.length === t)); i = !0);
475
- } catch (e) {
476
- a = !0, s = e;
477
- } finally {
478
- try {
479
- !i && n.return != null && n.return();
480
- } finally {
481
- if (a) throw s;
482
- }
483
- }
484
- return r;
485
- }
486
- }
487
- function _arrayWithHoles(e) {
488
- if (Array.isArray(e)) return e;
489
- }
490
- function ownKeys(e, t) {
491
- var n = Object.keys(e);
492
- if (Object.getOwnPropertySymbols) {
493
- var r = Object.getOwnPropertySymbols(e);
494
- t && (r = r.filter(function(t) {
495
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
496
- })), n.push.apply(n, r);
497
- }
498
- return n;
499
- }
500
- function _objectSpread(e) {
501
- for (var t = 1; t < arguments.length; t++) {
502
- var n = arguments[t] == null ? {} : arguments[t];
503
- t % 2 ? ownKeys(Object(n), !0).forEach(function(t) {
504
- _defineProperty(e, t, n[t]);
505
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ownKeys(Object(n)).forEach(function(t) {
506
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
507
- });
508
- }
509
- return e;
510
- }
511
- function _defineProperty(e, t, n) {
512
- return t in e ? Object.defineProperty(e, t, {
513
- value: n,
514
- enumerable: !0,
515
- configurable: !0,
516
- writable: !0
517
- }) : e[t] = n, e;
518
- }
519
- function _objectWithoutProperties(e, t) {
520
- if (e == null) return {};
521
- var n = _objectWithoutPropertiesLoose(e, t), r, i;
522
- if (Object.getOwnPropertySymbols) {
523
- var a = Object.getOwnPropertySymbols(e);
524
- for (i = 0; i < a.length; i++) r = a[i], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
525
- }
526
- return n;
527
- }
528
- function _objectWithoutPropertiesLoose(e, t) {
529
- if (e == null) return {};
530
- var n = {}, r = Object.keys(e), i, a;
531
- for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
532
- return n;
533
- }
534
- var Dropzone = /* @__PURE__ */ (0, import_react.forwardRef)(function(e, t) {
535
- var n = e.children, r = useDropzone(_objectWithoutProperties(e, _excluded)), i = r.open, a = _objectWithoutProperties(r, _excluded2);
536
- return (0, import_react.useImperativeHandle)(t, function() {
537
- return { open: i };
538
- }, [i]), /* @__PURE__ */ import_react.createElement(import_react.Fragment, null, n(_objectSpread(_objectSpread({}, a), {}, { open: i })));
539
- });
540
- Dropzone.displayName = "Dropzone";
541
- var defaultProps = {
542
- disabled: !1,
543
- getFilesFromEvent: fromEvent,
544
- maxSize: Infinity,
545
- minSize: 0,
546
- multiple: !0,
547
- maxFiles: 0,
548
- preventDropOnDocument: !0,
549
- noClick: !1,
550
- noKeyboard: !1,
551
- noDrag: !1,
552
- noDragEventsBubbling: !1,
553
- validator: null,
554
- useFsAccessApi: !1
555
- };
556
- Dropzone.defaultProps = defaultProps, Dropzone.propTypes = {
557
- children: import_prop_types.default.func,
558
- accept: import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.arrayOf(import_prop_types.default.string)]),
559
- multiple: import_prop_types.default.bool,
560
- preventDropOnDocument: import_prop_types.default.bool,
561
- noClick: import_prop_types.default.bool,
562
- noKeyboard: import_prop_types.default.bool,
563
- noDrag: import_prop_types.default.bool,
564
- noDragEventsBubbling: import_prop_types.default.bool,
565
- minSize: import_prop_types.default.number,
566
- maxSize: import_prop_types.default.number,
567
- maxFiles: import_prop_types.default.number,
568
- disabled: import_prop_types.default.bool,
569
- getFilesFromEvent: import_prop_types.default.func,
570
- onFileDialogCancel: import_prop_types.default.func,
571
- onFileDialogOpen: import_prop_types.default.func,
572
- useFsAccessApi: import_prop_types.default.bool,
573
- onDragEnter: import_prop_types.default.func,
574
- onDragLeave: import_prop_types.default.func,
575
- onDragOver: import_prop_types.default.func,
576
- onDrop: import_prop_types.default.func,
577
- onDropAccepted: import_prop_types.default.func,
578
- onDropRejected: import_prop_types.default.func,
579
- validator: import_prop_types.default.func
580
- };
581
- var es_default = Dropzone, initialState = {
582
- isFocused: !1,
583
- isFileDialogActive: !1,
584
- isDragActive: !1,
585
- isDragAccept: !1,
586
- isDragReject: !1,
587
- draggedFiles: [],
588
- acceptedFiles: [],
589
- fileRejections: []
590
- };
591
- function useDropzone() {
592
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = _objectSpread(_objectSpread({}, defaultProps), e), n = t.accept, r = t.disabled, i = t.getFilesFromEvent, a = t.maxSize, o = t.minSize, s = t.multiple, c = t.maxFiles, l = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, f = t.onDrop, p = t.onDropAccepted, m = t.onDropRejected, h = t.onFileDialogCancel, g = t.onFileDialogOpen, _ = t.useFsAccessApi, v = t.preventDropOnDocument, y = t.noClick, b = t.noKeyboard, x = t.noDrag, S = t.noDragEventsBubbling, C = t.validator, w = (0, import_react.useMemo)(function() {
593
- return typeof g == "function" ? g : noop;
594
- }, [g]), T = (0, import_react.useMemo)(function() {
595
- return typeof h == "function" ? h : noop;
596
- }, [h]), E = (0, import_react.useRef)(null), D = (0, import_react.useRef)(null), O = _slicedToArray((0, import_react.useReducer)(reducer, initialState), 2), k = O[0], A = O[1], j = k.isFocused, M = k.isFileDialogActive, N = k.draggedFiles, P = function() {
597
- M && setTimeout(function() {
598
- D.current && (D.current.files.length || (A({ type: "closeDialog" }), T()));
599
- }, 300);
600
- };
601
- (0, import_react.useEffect)(function() {
602
- return _ && canUseFileSystemAccessAPI() ? function() {} : (window.addEventListener("focus", P, !1), function() {
603
- window.removeEventListener("focus", P, !1);
604
- });
605
- }, [
606
- D,
607
- M,
608
- T,
609
- _
610
- ]);
611
- var F = (0, import_react.useRef)([]), I = function(e) {
612
- E.current && E.current.contains(e.target) || (e.preventDefault(), F.current = []);
613
- };
614
- (0, import_react.useEffect)(function() {
615
- return v && (document.addEventListener("dragover", onDocumentDragOver, !1), document.addEventListener("drop", I, !1)), function() {
616
- v && (document.removeEventListener("dragover", onDocumentDragOver), document.removeEventListener("drop", I));
617
- };
618
- }, [E, v]);
619
- var L = (0, import_react.useCallback)(function(e) {
620
- e.preventDefault(), e.persist(), X(e), F.current = [].concat(_toConsumableArray(F.current), [e.target]), isEvtWithFiles(e) && Promise.resolve(i(e)).then(function(t) {
621
- isPropagationStopped(e) && !S || (A({
622
- draggedFiles: t,
623
- isDragActive: !0,
624
- type: "setDraggedFiles"
625
- }), l && l(e));
626
- });
627
- }, [
628
- i,
629
- l,
630
- S
631
- ]), R = (0, import_react.useCallback)(function(e) {
632
- e.preventDefault(), e.persist(), X(e);
633
- var t = isEvtWithFiles(e);
634
- if (t && e.dataTransfer) try {
635
- e.dataTransfer.dropEffect = "copy";
636
- } catch {}
637
- return t && d && d(e), !1;
638
- }, [d, S]), z = (0, import_react.useCallback)(function(e) {
639
- e.preventDefault(), e.persist(), X(e);
640
- var t = F.current.filter(function(e) {
641
- return E.current && E.current.contains(e);
642
- }), n = t.indexOf(e.target);
643
- n !== -1 && t.splice(n, 1), F.current = t, !(t.length > 0) && (A({
644
- isDragActive: !1,
645
- type: "setDraggedFiles",
646
- draggedFiles: []
647
- }), isEvtWithFiles(e) && u && u(e));
648
- }, [
649
- E,
650
- u,
651
- S
652
- ]), B = (0, import_react.useCallback)(function(e, t) {
653
- var r = [], i = [];
654
- e.forEach(function(e) {
655
- var t = _slicedToArray(fileAccepted(e, n), 2), s = t[0], c = t[1], l = _slicedToArray(fileMatchSize(e, o, a), 2), u = l[0], d = l[1], f = C ? C(e) : null;
656
- if (s && u && !f) r.push(e);
657
- else {
658
- var p = [c, d];
659
- f && (p = p.concat(f)), i.push({
660
- file: e,
661
- errors: p.filter(function(e) {
662
- return e;
663
- })
664
- });
665
- }
666
- }), (!s && r.length > 1 || s && c >= 1 && r.length > c) && (r.forEach(function(e) {
667
- i.push({
668
- file: e,
669
- errors: [TOO_MANY_FILES_REJECTION]
670
- });
671
- }), r.splice(0)), A({
672
- acceptedFiles: r,
673
- fileRejections: i,
674
- type: "setFiles"
675
- }), f && f(r, i, t), i.length > 0 && m && m(i, t), r.length > 0 && p && p(r, t);
676
- }, [
677
- A,
678
- s,
679
- n,
680
- o,
681
- a,
682
- c,
683
- f,
684
- p,
685
- m,
686
- C
687
- ]), V = (0, import_react.useCallback)(function(e) {
688
- e.preventDefault(), e.persist(), X(e), F.current = [], isEvtWithFiles(e) && Promise.resolve(i(e)).then(function(t) {
689
- isPropagationStopped(e) && !S || B(t, e);
690
- }), A({ type: "reset" });
691
- }, [
692
- i,
693
- B,
694
- S
695
- ]), H = (0, import_react.useCallback)(function() {
696
- if (_ && canUseFileSystemAccessAPI()) {
697
- A({ type: "openDialog" }), w();
698
- var e = {
699
- multiple: s,
700
- types: filePickerOptionsTypes(n)
701
- };
702
- window.showOpenFilePicker(e).then(function(e) {
703
- return i(e);
704
- }).then(function(e) {
705
- return B(e, null);
706
- }).catch(function(e) {
707
- return T(e);
708
- }).finally(function() {
709
- return A({ type: "closeDialog" });
710
- });
711
- return;
712
- }
713
- D.current && (A({ type: "openDialog" }), w(), D.current.value = null, D.current.click());
714
- }, [
715
- A,
716
- w,
717
- T,
718
- _,
719
- B,
720
- n,
721
- s
722
- ]), U = (0, import_react.useCallback)(function(e) {
723
- !E.current || !E.current.isEqualNode(e.target) || (e.keyCode === 32 || e.keyCode === 13) && (e.preventDefault(), H());
724
- }, [
725
- E,
726
- D,
727
- H
728
- ]), W = (0, import_react.useCallback)(function() {
729
- A({ type: "focus" });
730
- }, []), G = (0, import_react.useCallback)(function() {
731
- A({ type: "blur" });
732
- }, []), K = (0, import_react.useCallback)(function() {
733
- y || (isIeOrEdge() ? setTimeout(H, 0) : H());
734
- }, [
735
- D,
736
- y,
737
- H
738
- ]), q = function(e) {
739
- return r ? null : e;
740
- }, J = function(e) {
741
- return b ? null : q(e);
742
- }, Y = function(e) {
743
- return x ? null : q(e);
744
- }, X = function(e) {
745
- S && e.stopPropagation();
746
- }, Ae = (0, import_react.useMemo)(function() {
747
- return function() {
748
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, n = t === void 0 ? "ref" : t, i = e.role, a = e.onKeyDown, o = e.onFocus, s = e.onBlur, c = e.onClick, l = e.onDragEnter, u = e.onDragOver, d = e.onDragLeave, f = e.onDrop, p = _objectWithoutProperties(e, _excluded3);
749
- return _objectSpread(_objectSpread(_defineProperty({
750
- onKeyDown: J(composeEventHandlers(a, U)),
751
- onFocus: J(composeEventHandlers(o, W)),
752
- onBlur: J(composeEventHandlers(s, G)),
753
- onClick: q(composeEventHandlers(c, K)),
754
- onDragEnter: Y(composeEventHandlers(l, L)),
755
- onDragOver: Y(composeEventHandlers(u, R)),
756
- onDragLeave: Y(composeEventHandlers(d, z)),
757
- onDrop: Y(composeEventHandlers(f, V)),
758
- role: typeof i == "string" && i !== "" ? i : "button"
759
- }, n, E), !r && !b ? { tabIndex: 0 } : {}), p);
760
- };
761
- }, [
762
- E,
763
- U,
764
- W,
765
- G,
766
- K,
767
- L,
768
- R,
769
- z,
770
- V,
771
- b,
772
- x,
773
- r
774
- ]), je = (0, import_react.useCallback)(function(e) {
775
- e.stopPropagation();
776
- }, []), Me = (0, import_react.useMemo)(function() {
777
- return function() {
778
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.refKey, r = t === void 0 ? "ref" : t, i = e.onChange, a = e.onClick, o = _objectWithoutProperties(e, _excluded4);
779
- return _objectSpread(_objectSpread({}, _defineProperty({
780
- accept: n,
781
- multiple: s,
782
- type: "file",
783
- style: { display: "none" },
784
- onChange: q(composeEventHandlers(i, V)),
785
- onClick: q(composeEventHandlers(a, je)),
786
- autoComplete: "off",
787
- tabIndex: -1
788
- }, r, D)), o);
789
- };
790
- }, [
791
- D,
792
- n,
793
- s,
794
- V,
795
- r
796
- ]), Z = N.length, Q = Z > 0 && allFilesAccepted({
797
- files: N,
798
- accept: n,
799
- minSize: o,
800
- maxSize: a,
801
- multiple: s,
802
- maxFiles: c
803
- }), $ = Z > 0 && !Q;
804
- return _objectSpread(_objectSpread({}, k), {}, {
805
- isDragAccept: Q,
806
- isDragReject: $,
807
- isFocused: j && !r,
808
- getRootProps: Ae,
809
- getInputProps: Me,
810
- rootRef: E,
811
- inputRef: D,
812
- open: q(H)
813
- });
814
- }
815
- function reducer(e, t) {
816
- /* istanbul ignore next */
817
- switch (t.type) {
818
- case "focus": return _objectSpread(_objectSpread({}, e), {}, { isFocused: !0 });
819
- case "blur": return _objectSpread(_objectSpread({}, e), {}, { isFocused: !1 });
820
- case "openDialog": return _objectSpread(_objectSpread({}, initialState), {}, { isFileDialogActive: !0 });
821
- case "closeDialog": return _objectSpread(_objectSpread({}, e), {}, { isFileDialogActive: !1 });
822
- case "setDraggedFiles":
823
- var n = t.isDragActive, r = t.draggedFiles;
824
- return _objectSpread(_objectSpread({}, e), {}, {
825
- draggedFiles: r,
826
- isDragActive: n
827
- });
828
- case "setFiles": return _objectSpread(_objectSpread({}, e), {}, {
829
- acceptedFiles: t.acceptedFiles,
830
- fileRejections: t.fileRejections
831
- });
832
- case "reset": return _objectSpread({}, initialState);
833
- default: return e;
834
- }
835
- }
836
- function noop() {}
837
- export { ErrorCode as n, require_es as r, es_default as t };