@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,188 +0,0 @@
1
- import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
2
- import { t as require_react } from "./react-RxxVsDMo.js";
3
- import { a as __generator, i as __extends, n as __awaiter, o as __metadata, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
4
- import { Gn as filterTree, Jn as findTreeIndex, Li as matchSorter, Nn as autobind, P as OptionsControl, Rr as spliceTree, Tn as require_find, ht as resolveEventData, oi as createObject, rr as getTree, vi as getVariable, w as toNumber, xt as optionValueCompare } from "./esm-DEyK_c3W.js";
5
- import { J as TabsTransfer$1, Q as BaseSelection } from "./esm-Cj_BRpNI.js";
6
- import { i as Spinner$1 } from "./PopUp-Bgkvnd4X.js";
7
- import { t as supportStatic } from "./StaticHoc-BAdofX5w.js";
8
- import { t as BaseTransferRenderer } from "./Transfer-Hjc9zR8W.js";
9
- var import_react = /* @__PURE__ */ __toESM(require_react()), import_find = /* @__PURE__ */ __toESM(require_find()), BaseTabsTransferRenderer = function(e) {
10
- __extends(r, e);
11
- function r() {
12
- var r = e !== null && e.apply(this, arguments) || this;
13
- return r.state = { activeKey: 0 }, r;
14
- }
15
- return r.prototype.onTabChange = function(e) {
16
- return __awaiter(this, void 0, void 0, function() {
17
- var r, a;
18
- return __generator(this, function(i) {
19
- switch (i.label) {
20
- case 0: return r = this.props.dispatchEvent, [4, r("tab-change", { key: e })];
21
- case 1: return a = i.sent(), a?.prevented || this.setState({ activeKey: e }), [2];
22
- }
23
- });
24
- });
25
- }, r.prototype.handleTabSearch = function(e, r, a) {
26
- return __awaiter(this, void 0, void 0, function() {
27
- var o, s, c, l, d, p, m, h, g, _, y;
28
- return __generator(this, function(i) {
29
- switch (i.label) {
30
- case 0:
31
- if (o = this.props, s = o.options, c = o.labelField, l = o.valueField, d = o.env, p = o.data, m = o.searchApi, h = o.translate, !m) return [3, 5];
32
- i.label = 1;
33
- case 1: return i.trys.push([
34
- 1,
35
- 3,
36
- ,
37
- 4
38
- ]), [4, d.fetcher(m, createObject(p, { term: e }), { cancelExecutor: a })];
39
- case 2:
40
- if (g = i.sent(), !g.ok) throw Error(h(g.msg || "networkError"));
41
- if (_ = g.data.options || g.data.items || g.data, !Array.isArray(_)) throw Error(h("CRUD.invalidArray"));
42
- return [2, _.map(function(e) {
43
- var r = null, i = e[l || "value"];
44
- return Array.isArray(s) && i != null && (r = (0, import_find.default)(s, optionValueCompare(i, l))), r || e;
45
- })];
46
- case 3: return y = i.sent(), d.isCancel(y) || !m.silent && d.notify("error", y.message), [2, []];
47
- case 4: return [3, 6];
48
- case 5: return e ? [2, filterTree(r.children || s, function(r, i, a, o) {
49
- return !!(Array.isArray(r.children) && r.children.length || matchSorter([r].concat(o), e, {
50
- keys: [c || "label", l || "value"],
51
- threshold: matchSorter.rankings.CONTAINS
52
- }).length);
53
- }, 0, !0)] : [2, s];
54
- case 6: return [2];
55
- }
56
- });
57
- });
58
- }, r.prototype.handleChange = function(e, r) {
59
- return __awaiter(this, void 0, void 0, function() {
60
- var a, o, s, c, u, f, p, m, g, v, b, x, C, w;
61
- return __generator(this, function(i) {
62
- switch (i.label) {
63
- case 0: return a = this.props, o = a.onChange, s = a.joinValues, c = a.delimiter, u = a.valueField, f = a.extractValue, p = a.options, m = a.dispatchEvent, g = a.setOptions, v = a.translate, b = e, x = p.concat(), C = "UN_MATCH_RESULT", Array.isArray(e) ? (b = e.map(function(e) {
64
- var i = findTreeIndex(p, optionValueCompare(e[u || "value"], u || "value"));
65
- if (i) {
66
- if (r) {
67
- var a = getTree(x, i);
68
- x = spliceTree(x, i, 1, __assign(__assign({}, a), e));
69
- }
70
- } else {
71
- var o = findTreeIndex(x, function(e) {
72
- return e.value === C;
73
- });
74
- if (!o) x.push({
75
- label: v("searchResult"),
76
- value: C,
77
- visible: !1,
78
- children: [e]
79
- });
80
- else {
81
- var c = getTree(x, o);
82
- c?.children && (c.children.push(e), x = spliceTree(x, o, 1, __assign(__assign({}, c), e)));
83
- }
84
- }
85
- return s || f ? e[u || "value"] : e;
86
- }), s && (b = b.join(c || ","))) : e && (b = s || f ? e[u || "value"] : e), (x.length > p.length || r) && g(x, !0), [4, m("change", resolveEventData(this.props, {
87
- value: b,
88
- options: p,
89
- items: p
90
- }))];
91
- case 1: return w = i.sent(), w?.prevented || o(b), [2];
92
- }
93
- });
94
- });
95
- }, __decorate([
96
- autobind,
97
- __metadata("design:type", Function),
98
- __metadata("design:paramtypes", [Number]),
99
- __metadata("design:returntype", Promise)
100
- ], r.prototype, "onTabChange", null), __decorate([
101
- autobind,
102
- __metadata("design:type", Function),
103
- __metadata("design:paramtypes", [
104
- String,
105
- Object,
106
- Function
107
- ]),
108
- __metadata("design:returntype", Promise)
109
- ], r.prototype, "handleTabSearch", null), __decorate([
110
- autobind,
111
- __metadata("design:type", Function),
112
- __metadata("design:paramtypes", [Object, Boolean]),
113
- __metadata("design:returntype", Promise)
114
- ], r.prototype, "handleChange", null), r;
115
- }(BaseTransferRenderer), TabsTransferRenderer = function(e) {
116
- __extends(r, e);
117
- function r() {
118
- return e !== null && e.apply(this, arguments) || this;
119
- }
120
- return r.prototype.optionItemRender = function(e, r) {
121
- var i = this.props, a = i.menuTpl, o = i.render, s = i.data, c = i.classnames, u = arguments[2] || {};
122
- return a ? o(`item/${r.index}`, a, { data: createObject(createObject(s, __assign(__assign({}, r), u)), e) }) : BaseSelection.itemRender(e, __assign(__assign({}, r), { classnames: c }));
123
- }, r.prototype.doAction = function(e, r, i, a) {
124
- i === void 0 && (i = !1);
125
- var o = this.props, s = o.resetValue, c = o.onChange, l = o.formStore, u = o.store, d = o.name, f = a?.activeKey;
126
- switch (e.actionType) {
127
- case "clear":
128
- c?.("");
129
- break;
130
- case "reset":
131
- c?.(getVariable(l?.pristine ?? u?.pristine, d) ?? s ?? "");
132
- break;
133
- case "changeTabKey":
134
- this.setState({ activeKey: f });
135
- break;
136
- }
137
- }, r.prototype.render = function() {
138
- var e = this.props, r = e.className;
139
- e.style;
140
- var i = e.classnames, a = e.options, o = e.selectedOptions, s = e.sortable, c = e.loading, l = e.searchResultMode, u = e.selectMode, d = e.searchable, f = e.showArrow, p = e.deferLoad, m = e.leftDeferLoad, h = e.disabled, g = e.selectTitle, _ = e.resultTitle, v = e.itemHeight, y = e.virtualThreshold, b = e.onlyChildren, S = e.loadingConfig, w = e.valueField, T = w === void 0 ? "value" : w, E = e.labelField, D = E === void 0 ? "label" : E, O = e.valueTpl, k = e.menuTpl, A = e.data, j = e.mobileUI, M = e.initiallyOpen, N = M === void 0 ? !0 : M, P = e.testIdBuilder;
141
- return import_react.createElement("div", { className: i("TabsTransferControl", r) }, import_react.createElement(TabsTransfer$1, {
142
- onlyChildren: b,
143
- activeKey: this.state.activeKey,
144
- value: o,
145
- disabled: h,
146
- options: a,
147
- onChange: this.handleChange,
148
- option2value: this.option2value,
149
- sortable: s,
150
- searchResultMode: l,
151
- onSearch: this.handleTabSearch,
152
- showArrow: f,
153
- onDeferLoad: p,
154
- onLeftDeferLoad: m,
155
- selectTitle: g,
156
- resultTitle: _,
157
- selectMode: u,
158
- searchable: d,
159
- optionItemRender: k ? this.optionItemRender : void 0,
160
- resultItemRender: O ? this.resultItemRender : void 0,
161
- onTabChange: this.onTabChange,
162
- itemHeight: toNumber(v) > 0 ? toNumber(v) : void 0,
163
- virtualThreshold: y,
164
- labelField: D,
165
- valueField: T,
166
- ctx: A,
167
- mobileUI: j,
168
- initiallyOpen: N,
169
- testIdBuilder: P
170
- }), import_react.createElement(Spinner$1, {
171
- overlay: !0,
172
- key: "info",
173
- show: c,
174
- loadingConfig: S
175
- }));
176
- }, r.defaultProps = { multiple: !0 }, __decorate([
177
- autobind,
178
- __metadata("design:type", Function),
179
- __metadata("design:paramtypes", [Object, Object]),
180
- __metadata("design:returntype", void 0)
181
- ], r.prototype, "optionItemRender", null), __decorate([
182
- supportStatic(),
183
- __metadata("design:type", Function),
184
- __metadata("design:paramtypes", []),
185
- __metadata("design:returntype", void 0)
186
- ], r.prototype, "render", null), r = __decorate([OptionsControl({ type: "tabs-transfer" })], r), r;
187
- }(BaseTabsTransferRenderer);
188
- export { TabsTransferRenderer as n, BaseTabsTransferRenderer as t };
@@ -1,11 +0,0 @@
1
- import "./react-RxxVsDMo.js";
2
- import "./function-CNJMA2ft.js";
3
- import "./isEqual-E2NjjS0_.js";
4
- import "./esm-DEyK_c3W.js";
5
- import "./react-dom-D1mxcNoQ.js";
6
- import "./esm-Cj_BRpNI.js";
7
- import "./PopUp-Bgkvnd4X.js";
8
- import "./StaticHoc-BAdofX5w.js";
9
- import "./Transfer-Hjc9zR8W.js";
10
- import { n as TabsTransferRenderer, t as BaseTabsTransferRenderer } from "./TabsTransfer-CLLGXAkP.js";
11
- export { BaseTabsTransferRenderer, TabsTransferRenderer };
@@ -1,99 +0,0 @@
1
- import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
2
- import { t as require_react } from "./react-RxxVsDMo.js";
3
- import { i as __extends, o as __metadata, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
4
- import "./function-CNJMA2ft.js";
5
- import "./isEqual-E2NjjS0_.js";
6
- import { Nn as autobind, P as OptionsControl, ht as resolveEventData, oi as createObject, vi as getVariable, w as toNumber } from "./esm-DEyK_c3W.js";
7
- import "./react-dom-D1mxcNoQ.js";
8
- import { $ as Selection$1, C as TabsTransferPicker } from "./esm-Cj_BRpNI.js";
9
- import { i as Spinner$1 } from "./PopUp-Bgkvnd4X.js";
10
- import { t as supportStatic } from "./StaticHoc-BAdofX5w.js";
11
- import "./Transfer-Hjc9zR8W.js";
12
- import { t as BaseTabsTransferRenderer } from "./TabsTransfer-CLLGXAkP.js";
13
- var import_react = /* @__PURE__ */ __toESM(require_react()), TabsTransferPickerRenderer = function(e) {
14
- __extends(a, e);
15
- function a() {
16
- var a = e !== null && e.apply(this, arguments) || this;
17
- return a.state = { activeKey: 0 }, a;
18
- }
19
- return a.prototype.dispatchEvent = function(e) {
20
- var a = this.props, o = a.dispatchEvent, s = a.value;
21
- o(e, resolveEventData(this.props, { value: s }));
22
- }, a.prototype.optionItemRender = function(e, a) {
23
- var o = this.props, s = o.menuTpl, c = o.render, u = o.data, d = o.classnames, f = arguments[2] || {};
24
- return s ? c(`item/${a.index}`, s, { data: createObject(createObject(u, __assign(__assign({}, a), f)), e) }) : Selection$1.itemRender(e, __assign(__assign({}, a), { classnames: d }));
25
- }, a.prototype.doAction = function(e) {
26
- var a = this.props, o = a.resetValue, s = a.onChange, c = a.formStore, l = a.store, u = a.name;
27
- switch (e.actionType) {
28
- case "clear":
29
- s?.("");
30
- break;
31
- case "reset":
32
- s?.(getVariable(c?.pristine ?? l?.pristine, u) ?? o ?? "");
33
- break;
34
- }
35
- }, a.prototype.render = function() {
36
- var e = this, a = this.props, o = a.className;
37
- a.style;
38
- var s = a.classnames, c = a.options, l = a.selectedOptions, u = a.sortable, d = a.loading, f = a.searchResultMode, p = a.showArrow, m = a.deferLoad, h = a.disabled, g = a.selectTitle, _ = a.resultTitle, v = a.pickerSize, y = a.leftMode, b = a.leftOptions, x = a.itemHeight, S = a.virtualThreshold, C = a.loadingConfig, w = a.labelField, T = w === void 0 ? "label" : w, E = a.valueField, D = E === void 0 ? "value" : E, O = a.deferField, k = O === void 0 ? "defer" : O, A = a.mobileUI, j = a.env, M = a.maxTagCount, N = a.overflowTagPopover, P = a.placeholder, F = a.initiallyOpen, I = F === void 0 ? !0 : F;
39
- return import_react.createElement("div", { className: s("TabsTransferControl", o) }, import_react.createElement(TabsTransferPicker, {
40
- activeKey: this.state.activeKey,
41
- onTabChange: this.onTabChange,
42
- placeholder: P,
43
- value: l,
44
- disabled: h,
45
- options: c,
46
- onChange: this.handleChange,
47
- option2value: this.option2value,
48
- sortable: u,
49
- searchResultMode: f,
50
- onSearch: this.handleTabSearch,
51
- showArrow: p,
52
- onDeferLoad: m,
53
- selectTitle: g,
54
- resultTitle: _,
55
- size: v,
56
- leftMode: y,
57
- leftOptions: b,
58
- optionItemRender: this.optionItemRender,
59
- resultItemRender: this.resultItemRender,
60
- onFocus: function() {
61
- return e.dispatchEvent("focus");
62
- },
63
- onBlur: function() {
64
- return e.dispatchEvent("blur");
65
- },
66
- itemHeight: toNumber(x) > 0 ? toNumber(x) : void 0,
67
- virtualThreshold: S,
68
- labelField: T,
69
- valueField: D,
70
- deferField: k,
71
- mobileUI: A,
72
- popOverContainer: j?.getModalContainer,
73
- maxTagCount: M,
74
- overflowTagPopover: N,
75
- initiallyOpen: I
76
- }), import_react.createElement(Spinner$1, {
77
- loadingConfig: C,
78
- overlay: !0,
79
- key: "info",
80
- show: d
81
- }));
82
- }, __decorate([
83
- autobind,
84
- __metadata("design:type", Function),
85
- __metadata("design:paramtypes", [String]),
86
- __metadata("design:returntype", void 0)
87
- ], a.prototype, "dispatchEvent", null), __decorate([
88
- autobind,
89
- __metadata("design:type", Function),
90
- __metadata("design:paramtypes", [Object, Object]),
91
- __metadata("design:returntype", void 0)
92
- ], a.prototype, "optionItemRender", null), __decorate([
93
- supportStatic(),
94
- __metadata("design:type", Function),
95
- __metadata("design:paramtypes", []),
96
- __metadata("design:returntype", void 0)
97
- ], a.prototype, "render", null), a = __decorate([OptionsControl({ type: "tabs-transfer-picker" })], a), a;
98
- }(BaseTabsTransferRenderer);
99
- export { TabsTransferPickerRenderer };
@@ -1,75 +0,0 @@
1
- import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
2
- import { t as require_react } from "./react-RxxVsDMo.js";
3
- import { i as __extends, o as __metadata, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
4
- import "./function-CNJMA2ft.js";
5
- import "./isEqual-E2NjjS0_.js";
6
- import { $n as getPropValue, Ni as resolveVariableAndFilter, Nn as autobind, O as labelToString, Zr as isPureVariable, it as Renderer, oi as createObject } from "./esm-DEyK_c3W.js";
7
- import "./react-dom-D1mxcNoQ.js";
8
- import { I as Tag$1 } from "./esm-Cj_BRpNI.js";
9
- import "./PopUp-Bgkvnd4X.js";
10
- var import_react = /* @__PURE__ */ __toESM(require_react()), TagField = function(e) {
11
- __extends(c, e);
12
- function c() {
13
- return e !== null && e.apply(this, arguments) || this;
14
- }
15
- return c.prototype.handleClick = function(e) {
16
- var c = this.props, l = c.dispatchEvent, u = c.onClick, d = this.getResolvedEventParams();
17
- l(e, d), u?.(d);
18
- }, c.prototype.handleMouseEnter = function(e) {
19
- var c = this.props.dispatchEvent;
20
- c(e, this.getResolvedEventParams());
21
- }, c.prototype.handleMouseLeave = function(e) {
22
- var c = this.props.dispatchEvent;
23
- c(e, this.getResolvedEventParams());
24
- }, c.prototype.handleClose = function(e) {
25
- var c = this.props, l = c.dispatchEvent, u = c.onClose, d = this.getResolvedEventParams();
26
- l(__assign(__assign({}, e), { type: "close" }), d), u?.(d);
27
- }, c.prototype.render = function() {
28
- var e = this.props, c = e.icon, l = e.displayMode, u = e.color, d = e.className, f = e.closable, p = e.data, m = e.style, h = m === void 0 ? {} : m, g = labelToString(this.resolveLabel());
29
- return isPureVariable(c) && (c = resolveVariableAndFilter(c, p)), isPureVariable(l) && (l = resolveVariableAndFilter(l, p)), isPureVariable(u) && (u = resolveVariableAndFilter(u, p)), import_react.createElement(Tag$1, {
30
- className: d,
31
- displayMode: l,
32
- color: u,
33
- icon: c,
34
- closable: f,
35
- style: h,
36
- onClick: this.handleClick,
37
- onMouseEnter: this.handleMouseEnter,
38
- onMouseLeave: this.handleMouseLeave,
39
- onClose: this.handleClose
40
- }, g);
41
- }, c.prototype.resolveLabel = function() {
42
- var e = this.props, c = e.label, l = e.data;
43
- return getPropValue(this.props) || (c ? resolveVariableAndFilter(c, l, "| raw") : null);
44
- }, c.prototype.getResolvedEventParams = function() {
45
- var e = this.props.data;
46
- return createObject(e, { label: this.resolveLabel() });
47
- }, c.defaultProps = { displayMode: "normal" }, __decorate([
48
- autobind,
49
- __metadata("design:type", Function),
50
- __metadata("design:paramtypes", [Object]),
51
- __metadata("design:returntype", void 0)
52
- ], c.prototype, "handleClick", null), __decorate([
53
- autobind,
54
- __metadata("design:type", Function),
55
- __metadata("design:paramtypes", [Object]),
56
- __metadata("design:returntype", void 0)
57
- ], c.prototype, "handleMouseEnter", null), __decorate([
58
- autobind,
59
- __metadata("design:type", Function),
60
- __metadata("design:paramtypes", [Object]),
61
- __metadata("design:returntype", void 0)
62
- ], c.prototype, "handleMouseLeave", null), __decorate([
63
- autobind,
64
- __metadata("design:type", Function),
65
- __metadata("design:paramtypes", [Object]),
66
- __metadata("design:returntype", void 0)
67
- ], c.prototype, "handleClose", null), c;
68
- }(import_react.Component), TagFieldRenderer = function(e) {
69
- __extends(c, e);
70
- function c() {
71
- return e !== null && e.apply(this, arguments) || this;
72
- }
73
- return c = __decorate([Renderer({ type: "tag" })], c), c;
74
- }(TagField);
75
- export { TagField, TagFieldRenderer };
@@ -1,305 +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 { i as __extends, o as __metadata, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
4
- import "./function-CNJMA2ft.js";
5
- import "./isEqual-E2NjjS0_.js";
6
- import { an as isApiOutdated, dt as ScopedContext, it as Renderer, oi as createObject, sn as isEffectiveApi } from "./esm-DEyK_c3W.js";
7
- import "./react-dom-D1mxcNoQ.js";
8
- import "./esm-Cj_BRpNI.js";
9
- import { i as Spinner$1 } from "./PopUp-Bgkvnd4X.js";
10
- var require_immutability_helper = /* @__PURE__ */ __commonJSMin(((e, t) => {
11
- Object.defineProperty(e, "__esModule", { value: !0 });
12
- function n(e) {
13
- /* istanbul ignore next */
14
- return typeof e == "object" && !("toString" in e) ? Object.prototype.toString.call(e).slice(8, -1) : e;
15
- }
16
- var r = typeof process == "object" && process.env.NODE_ENV === "production";
17
- function i(e, t) {
18
- if (!e) throw r ? Error("Invariant failed") : Error(t());
19
- }
20
- e.invariant = i;
21
- var a = Object.prototype.hasOwnProperty, o = Array.prototype.splice, s = Object.prototype.toString;
22
- function c(e) {
23
- return s.call(e).slice(8, -1);
24
- }
25
- var l = Object.assign || (function(e, t) {
26
- return u(t).forEach(function(n) {
27
- a.call(t, n) && (e[n] = t[n]);
28
- }), e;
29
- }), u = typeof Object.getOwnPropertySymbols == "function" ? function(e) {
30
- return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
31
- } : function(e) {
32
- return Object.keys(e);
33
- };
34
- function d(e) {
35
- return Array.isArray(e) ? l(e.constructor(e.length), e) : c(e) === "Map" ? new Map(e) : c(e) === "Set" ? new Set(e) : e && typeof e == "object" ? l(Object.create(Object.getPrototypeOf(e)), e) : e;
36
- }
37
- var f = function() {
38
- function e() {
39
- this.commands = l({}, p), this.update = this.update.bind(this), this.update.extend = this.extend = this.extend.bind(this), this.update.isEquals = function(e, t) {
40
- return e === t;
41
- }, this.update.newContext = function() {
42
- return new e().update;
43
- };
44
- }
45
- return Object.defineProperty(e.prototype, "isEquals", {
46
- get: function() {
47
- return this.update.isEquals;
48
- },
49
- set: function(e) {
50
- this.update.isEquals = e;
51
- },
52
- enumerable: !0,
53
- configurable: !0
54
- }), e.prototype.extend = function(e, t) {
55
- this.commands[e] = t;
56
- }, e.prototype.update = function(e, t) {
57
- var n = this, r = typeof t == "function" ? { $apply: t } : t;
58
- Array.isArray(e) && Array.isArray(r) || i(!Array.isArray(r), function() {
59
- return "update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value.";
60
- }), i(typeof r == "object" && !!r, function() {
61
- return "update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the " + ("following commands: " + Object.keys(n.commands).join(", ") + ".");
62
- });
63
- var o = e;
64
- return u(r).forEach(function(t) {
65
- if (a.call(n.commands, t)) {
66
- var i = e === o;
67
- o = n.commands[t](r[t], o, r, e), i && n.isEquals(o, e) && (o = e);
68
- } else {
69
- var s = c(e) === "Map" ? n.update(e.get(t), r[t]) : n.update(e[t], r[t]), l = c(o) === "Map" ? o.get(t) : o[t];
70
- (!n.isEquals(s, l) || s === void 0 && !a.call(e, t)) && (o === e && (o = d(e)), c(o) === "Map" ? o.set(t, s) : o[t] = s);
71
- }
72
- }), o;
73
- }, e;
74
- }();
75
- e.Context = f;
76
- var p = {
77
- $push: function(e, t, n) {
78
- return h(t, n, "$push"), e.length ? t.concat(e) : t;
79
- },
80
- $unshift: function(e, t, n) {
81
- return h(t, n, "$unshift"), e.length ? e.concat(t) : t;
82
- },
83
- $splice: function(e, t, n, r) {
84
- return _(t, n), e.forEach(function(e) {
85
- v(e), t === r && e.length && (t = d(r)), o.apply(t, e);
86
- }), t;
87
- },
88
- $set: function(e, t, n) {
89
- return b(n), e;
90
- },
91
- $toggle: function(e, t) {
92
- g(e, "$toggle");
93
- var n = e.length ? d(t) : t;
94
- return e.forEach(function(e) {
95
- n[e] = !t[e];
96
- }), n;
97
- },
98
- $unset: function(e, t, n, r) {
99
- return g(e, "$unset"), e.forEach(function(e) {
100
- Object.hasOwnProperty.call(t, e) && (t === r && (t = d(r)), delete t[e]);
101
- }), t;
102
- },
103
- $add: function(e, t, n, r) {
104
- return S(t, "$add"), g(e, "$add"), c(t) === "Map" ? e.forEach(function(e) {
105
- var n = e[0], i = e[1];
106
- t === r && t.get(n) !== i && (t = d(r)), t.set(n, i);
107
- }) : e.forEach(function(e) {
108
- t === r && !t.has(e) && (t = d(r)), t.add(e);
109
- }), t;
110
- },
111
- $remove: function(e, t, n, r) {
112
- return S(t, "$remove"), g(e, "$remove"), e.forEach(function(e) {
113
- t === r && t.has(e) && (t = d(r)), t.delete(e);
114
- }), t;
115
- },
116
- $merge: function(e, t, n, r) {
117
- return x(t, e), u(e).forEach(function(n) {
118
- e[n] !== t[n] && (t === r && (t = d(r)), t[n] = e[n]);
119
- }), t;
120
- },
121
- $apply: function(e, t) {
122
- return y(e), e(t);
123
- }
124
- }, m = new f();
125
- e.isEquals = m.update.isEquals, e.extend = m.extend, e.default = m.update, e.default.default = t.exports = l(e.default, e);
126
- function h(e, t, r) {
127
- i(Array.isArray(e), function() {
128
- return "update(): expected target of " + n(r) + " to be an array; got " + n(e) + ".";
129
- }), g(t[r], r);
130
- }
131
- function g(e, t) {
132
- i(Array.isArray(e), function() {
133
- return "update(): expected spec of " + n(t) + " to be an array; got " + n(e) + ". Did you forget to wrap your parameter in an array?";
134
- });
135
- }
136
- function _(e, t) {
137
- i(Array.isArray(e), function() {
138
- return "Expected $splice target to be an array; got " + n(e);
139
- }), v(t.$splice);
140
- }
141
- function v(e) {
142
- i(Array.isArray(e), function() {
143
- return "update(): expected spec of $splice to be an array of arrays; got " + n(e) + ". Did you forget to wrap your parameters in an array?";
144
- });
145
- }
146
- function y(e) {
147
- i(typeof e == "function", function() {
148
- return "update(): expected spec of $apply to be a function; got " + n(e) + ".";
149
- });
150
- }
151
- function b(e) {
152
- i(Object.keys(e).length === 1, function() {
153
- return "Cannot have more than one key in an object with $set";
154
- });
155
- }
156
- function x(e, t) {
157
- i(t && typeof t == "object", function() {
158
- return "update(): $merge expects a spec of type 'object'; got " + n(t);
159
- }), i(e && typeof e == "object", function() {
160
- return "update(): $merge expects a target of type 'object'; got " + n(e);
161
- });
162
- }
163
- function S(e, t) {
164
- var r = c(e);
165
- i(r === "Map" || r === "Set", function() {
166
- return "update(): " + n(t) + " expects a target of type Set or Map; got " + n(r);
167
- });
168
- }
169
- })), import_react = /* @__PURE__ */ __toESM(require_react()), import_immutability_helper = /* @__PURE__ */ __toESM(require_immutability_helper()), Task = function(e) {
170
- __extends(t, e);
171
- function t(t) {
172
- var n = e.call(this, t) || this;
173
- return n.state = { items: t.items ? t.items.concat() : [] }, n.handleLoaded = n.handleLoaded.bind(n), n.tick = n.tick.bind(n), n;
174
- }
175
- return t.prototype.componentDidMount = function() {
176
- this.tick(!!this.props.checkApi);
177
- }, t.prototype.componentDidUpdate = function(e) {
178
- var t = this.props;
179
- e.items === t.items ? isApiOutdated(e.checkApi, t.checkApi, e.data, t.data) && this.tick(!0) : this.setState({ items: t.items ? t.items.concat() : [] });
180
- }, t.prototype.componentWillUnmount = function() {
181
- clearTimeout(this.timer);
182
- }, t.prototype.reload = function() {
183
- this.tick(!0);
184
- }, t.prototype.tick = function(e) {
185
- var t = this;
186
- e === void 0 && (e = !1);
187
- var n = this.props, r = n.loadingStatusCode, i = n.data, a = n.interval, o = n.checkApi, s = n.env, c = this.state.items;
188
- if (clearTimeout(this.timer), !(!e && !c.some(function(e) {
189
- return e.status === r;
190
- }))) {
191
- if (a && !isEffectiveApi(o)) return s.alert("checkApi 没有设置, 不能及时获取任务状态");
192
- isEffectiveApi(o, i) && s && s.fetcher(o, i).then(this.handleLoaded).catch(function(e) {
193
- return t.setState({ error: e });
194
- });
195
- }
196
- }, t.prototype.handleLoaded = function(e) {
197
- if (!Array.isArray(e.data)) return this.props.env.alert("返回格式不正确, 期望 response.data 为数组, 包含每个 task 的状态信息");
198
- this.setState({ items: e.data });
199
- var t = this.props.interval;
200
- clearTimeout(this.timer), this.timer = setTimeout(this.tick, t);
201
- }, t.prototype.submitTask = function(e, t, n) {
202
- var r = this;
203
- n === void 0 && (n = !1);
204
- var i = this.props, a = i.submitApi, s = i.reSubmitApi, c = i.loadingStatusCode, l = i.errorStatusCode, f = i.data, p = i.env;
205
- if (!n && !isEffectiveApi(a)) return p.alert("submitApi 没有配置");
206
- if (n && !isEffectiveApi(s)) return p.alert("reSubmitApi 没有配置");
207
- this.setState((0, import_immutability_helper.default)(this.state, { items: { $splice: [[
208
- t,
209
- 1,
210
- __assign(__assign({}, e), { status: c })
211
- ]] } }));
212
- var m = n ? s : a;
213
- isEffectiveApi(m, f) && p && p.fetcher(m, createObject(f, e)).then(function(e) {
214
- if (e && e.data) {
215
- if (Array.isArray(e.data)) r.handleLoaded(e);
216
- else {
217
- m && m.replaceData;
218
- var t = r.state.items.map(function(t) {
219
- return t.key === e.data.key ? __assign(__assign({}, m.replaceData ? {} : t), e.data) : t;
220
- });
221
- r.handleLoaded(__assign(__assign({}, e), { data: t }));
222
- }
223
- return;
224
- }
225
- clearTimeout(r.timer), r.timer = setTimeout(r.tick, 4);
226
- }).catch(function(n) {
227
- return r.setState((0, import_immutability_helper.default)(r.state, { items: { $splice: [[
228
- t,
229
- 1,
230
- __assign(__assign({}, e), {
231
- status: l,
232
- remark: n.message || n
233
- })
234
- ]] } }));
235
- });
236
- }, t.prototype.render = function() {
237
- var e = this, t = this.props, n = t.classnames, r = t.className, i = t.style, a = t.tableClassName, o = t.taskNameLabel, s = t.operationLabel, c = t.statusLabel, l = t.remarkLabel, u = t.btnText, d = t.retryBtnText, p = t.btnClassName, h = t.retryBtnClassName, g = t.statusLabelMap, _ = t.statusTextMap, v = t.readyStatusCode, y = t.loadingStatusCode, b = t.canRetryStatusCode, x = t.translate, S = t.render, C = t.loadingConfig, w = this.state.items, T = this.state.error;
238
- return import_react.createElement("div", {
239
- className: n("Table-content", r),
240
- style: i
241
- }, import_react.createElement("table", { className: n("Table-table", a) }, import_react.createElement("thead", null, import_react.createElement("tr", null, import_react.createElement("th", null, o), import_react.createElement("th", null, x(s)), import_react.createElement("th", null, c), import_react.createElement("th", null, l))), import_react.createElement("tbody", null, T ? import_react.createElement("tr", null, import_react.createElement("td", { colSpan: 4 }, import_react.createElement("div", { className: "text-danger" }, T))) : w.map(function(t, r) {
242
- var i;
243
- return import_react.createElement("tr", { key: r }, import_react.createElement("td", null, import_react.createElement("span", { className: n("word-break") }, t.label)), import_react.createElement("td", null, t.status == y ? import_react.createElement(Spinner$1, {
244
- loadingConfig: C,
245
- show: !0,
246
- icon: "reload",
247
- spinnerClassName: n("Task-spinner")
248
- }) : t.status == b ? import_react.createElement("a", {
249
- onClick: function() {
250
- return e.submitTask(t, r, !0);
251
- },
252
- className: n("Button", "Button--danger", "Button--size-md", h || p)
253
- }, d || u) : import_react.createElement("a", {
254
- onClick: function() {
255
- return e.submitTask(t, r);
256
- },
257
- className: n("Button", "Button--default", "Button--size-md", p, (i = {}, i["is-disabled"] = t.status !== v, i))
258
- }, u)), import_react.createElement("td", null, import_react.createElement("span", { className: n("label", g && g[t.status || 0]) }, _ && _[t.status || 0])), import_react.createElement("td", null, t.remark ? S(`${r}/remark`, t.remark) : null));
259
- }))));
260
- }, t.defaultProps = {
261
- className: "",
262
- tableClassName: "",
263
- taskNameLabel: "任务名称",
264
- operationLabel: "Table.operation",
265
- statusLabel: "状态",
266
- remarkLabel: "备注说明",
267
- btnText: "上线",
268
- retryBtnText: "重试",
269
- btnClassName: "",
270
- retryBtnClassName: "",
271
- statusLabelMap: [
272
- "label-warning",
273
- "label-info",
274
- "label-info",
275
- "label-danger",
276
- "label-success",
277
- "label-danger"
278
- ],
279
- statusTextMap: [
280
- "未开始",
281
- "就绪",
282
- "进行中",
283
- "出错",
284
- "已完成",
285
- "出错"
286
- ],
287
- initialStatusCode: 0,
288
- readyStatusCode: 1,
289
- loadingStatusCode: 2,
290
- errorStatusCode: 3,
291
- finishStatusCode: 4,
292
- canRetryStatusCode: 5,
293
- interval: 3e3
294
- }, t;
295
- }(import_react.Component), TaskRenderer = function(e) {
296
- __extends(t, e);
297
- function t(t, n) {
298
- var r = e.call(this, t) || this;
299
- return n.registerComponent(r), r;
300
- }
301
- return t.prototype.componentWillUnmount = function() {
302
- e.prototype.componentWillUnmount.call(this), this.context.unRegisterComponent(this);
303
- }, t.contextType = ScopedContext, t = __decorate([Renderer({ type: "tasks" }), __metadata("design:paramtypes", [Object, Object])], t), t;
304
- }(Task);
305
- export { TaskRenderer, Task as default };