@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,88 +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, s as __read, t as __assign, u as __spreadArray } from "./tslib.es6-DJiA3ePV.js";
4
- import "./function-CNJMA2ft.js";
5
- import "./isEqual-E2NjjS0_.js";
6
- import { Nn as autobind, Xr as filter, it as Renderer, xr as isVisible } from "./esm-DEyK_c3W.js";
7
- import "./react-dom-D1mxcNoQ.js";
8
- import { U as AnchorNavSection, W as ThemedAnchorNav } from "./esm-Cj_BRpNI.js";
9
- import "./PopUp-Bgkvnd4X.js";
10
- var import_react = /* @__PURE__ */ __toESM(require_react()), AnchorNav = function(e) {
11
- __extends(a, e);
12
- function a(a) {
13
- var o = e.call(this, a) || this, s = a.links, c = 0;
14
- if (a.active !== void 0) c = a.active;
15
- else {
16
- var l = o.getActiveSection(s, a.active, null);
17
- c = l && l.href ? l.href : s[0] && s[0].href || 0;
18
- }
19
- return o.state = { active: c }, o;
20
- }
21
- return a.prototype.getActiveSection = function(e, a, o) {
22
- var s = this;
23
- return o || (e.forEach(function(e) {
24
- e.href === a ? o = e : e.children && s.getActiveSection(e.children, a, o);
25
- }), o);
26
- }, a.prototype.handleSelect = function(e) {
27
- this.setState({ active: e });
28
- }, a.prototype.locateTo = function(e) {
29
- var a = this.props.links;
30
- Array.isArray(a) && a[e] && this.setState({ active: a[e].href || e });
31
- }, a.prototype.renderSections = function(e, a) {
32
- var o = this, s = this.props;
33
- s.classnames, s.classPrefix;
34
- var c = s.sectionRender, f = s.render, m = s.data;
35
- e = Array.isArray(e) ? e : [e];
36
- var h = [];
37
- return e.forEach(function(e, s) {
38
- if (isVisible(e, m)) {
39
- var g = (a ? a + "-" : "") + s;
40
- h.push(import_react.createElement(AnchorNavSection, __assign({}, e, {
41
- title: filter(e.title, m),
42
- key: g,
43
- name: e.href || g
44
- }), o.renderSection ? o.renderSection(e, o.props, g) : c ? c(e, o.props, g) : f(`section/${g}`, e.body || ""))), e.children && h.push.apply(h, __spreadArray([], __read(o.renderSections(e.children, g)), !1));
45
- }
46
- }), h.filter(function(e) {
47
- return !!e;
48
- });
49
- }, a.prototype.render = function() {
50
- var e = this.props, a = e.classnames, o = e.classPrefix, s = e.className, c = e.style, l = e.linkClassName, u = e.sectionClassName, d = e.direction;
51
- e.sectionRender, e.render, e.data;
52
- var f = this.props.links;
53
- if (!f) return null;
54
- var p = this.renderSections(f);
55
- return import_react.createElement(ThemedAnchorNav, {
56
- classPrefix: o,
57
- classnames: a,
58
- className: s,
59
- style: c,
60
- linkClassName: l,
61
- sectionClassName: u,
62
- onSelect: this.handleSelect,
63
- active: this.state.active,
64
- direction: d
65
- }, p);
66
- }, a.defaultProps = {
67
- className: "",
68
- linkClassName: "",
69
- sectionClassName: ""
70
- }, __decorate([
71
- autobind,
72
- __metadata("design:type", Function),
73
- __metadata("design:paramtypes", [Object]),
74
- __metadata("design:returntype", void 0)
75
- ], a.prototype, "handleSelect", null), __decorate([
76
- autobind,
77
- __metadata("design:type", Function),
78
- __metadata("design:paramtypes", [Number]),
79
- __metadata("design:returntype", void 0)
80
- ], a.prototype, "locateTo", null), a;
81
- }(import_react.Component), AnchorNavRenderer = function(e) {
82
- __extends(a, e);
83
- function a() {
84
- return e !== null && e.apply(this, arguments) || this;
85
- }
86
- return a = __decorate([Renderer({ type: "anchor-nav" })], a), a;
87
- }(AnchorNav);
88
- export { AnchorNavRenderer, AnchorNav as default };
@@ -1,213 +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 } from "./tslib.es6-DJiA3ePV.js";
4
- import "./function-CNJMA2ft.js";
5
- import "./isEqual-E2NjjS0_.js";
6
- import { Ft as replaceText, Nn as autobind, Pt as envOverwrite, Xr as filter, _t as AppStore, an as isApiOutdated, dt as ScopedContext, it as Renderer, sn as isEffectiveApi } from "./esm-DEyK_c3W.js";
7
- import "./react-dom-D1mxcNoQ.js";
8
- import { Ht as _404, It as AsideNav$1, vt as Layout$1 } from "./esm-Cj_BRpNI.js";
9
- import { i as Spinner$1, o as Html$1, s as Icon } from "./PopUp-Bgkvnd4X.js";
10
- var import_react = /* @__PURE__ */ __toESM(require_react()), App = function(e) {
11
- __extends(d, e);
12
- function d(d) {
13
- var f = this;
14
- f = e.call(this, d) || this;
15
- var p = d.store;
16
- return p.syncProps(d, void 0, ["pages"]), p.updateActivePage(Object.assign({}, d.env ?? {}, {
17
- showFullBreadcrumbPath: d.showFullBreadcrumbPath ?? !1,
18
- showBreadcrumbHomePath: d.showBreadcrumbHomePath ?? !0
19
- })), d.env.watchRouteChange && (f.unWatchRouteChange = d.env.watchRouteChange(function() {
20
- return p.updateActivePage(Object.assign({}, d.env ?? {}, {
21
- showFullBreadcrumbPath: d.showFullBreadcrumbPath ?? !1,
22
- showBreadcrumbHomePath: d.showBreadcrumbHomePath ?? !0
23
- }));
24
- })), f;
25
- }
26
- return d.prototype.componentDidMount = function() {
27
- return __awaiter(this, void 0, void 0, function() {
28
- var e, d, p, m;
29
- return __generator(this, function(f) {
30
- switch (f.label) {
31
- case 0: return e = this.props, d = e.data, p = e.dispatchEvent, [4, p("init", d, this)];
32
- case 1: return m = f.sent(), m?.prevented || this.reload(), [2];
33
- }
34
- });
35
- });
36
- }, d.prototype.componentDidUpdate = function(e) {
37
- return __awaiter(this, void 0, void 0, function() {
38
- var d, p;
39
- return __generator(this, function(f) {
40
- return d = this.props, p = d.store, p.syncProps(d, e, ["pages"]), isApiOutdated(e.api, d.api, e.data, d.data) ? this.reload() : d.location && d.location !== e.location && p.updateActivePage(Object.assign({}, d.env ?? {}, {
41
- showFullBreadcrumbPath: d.showFullBreadcrumbPath ?? !1,
42
- showBreadcrumbHomePath: d.showBreadcrumbHomePath ?? !0
43
- })), [2];
44
- });
45
- });
46
- }, d.prototype.componentWillUnmount = function() {
47
- var e;
48
- (e = this.unWatchRouteChange) == null || e.call(this);
49
- }, d.prototype.reload = function(e, d, p, h, g) {
50
- return __awaiter(this, void 0, void 0, function() {
51
- var e, p, m, h, v, b, x, S, C, w;
52
- return __generator(this, function(f) {
53
- switch (f.label) {
54
- case 0: return d ? [2, this.receive(d, void 0, g)] : (e = this.props, p = e.api, m = e.store, h = e.env, v = e.showFullBreadcrumbPath, b = v === void 0 ? !1 : v, x = e.showBreadcrumbHomePath, S = x === void 0 ? !0 : x, C = e.locale, isEffectiveApi(p, m.data) ? [4, m.fetchInitData(p, m.data, {})] : [3, 2]);
55
- case 1: w = f.sent(), h.replaceText && (w.data = replaceText(w.data, h.replaceText, h.replaceTextIgnoreKeys)), w?.data.pages && (w.data = envOverwrite(w.data, C), m.setPages(w.data.pages), m.updateActivePage(Object.assign({}, h ?? {}, {
56
- showFullBreadcrumbPath: b,
57
- showBreadcrumbHomePath: S
58
- }))), f.label = 2;
59
- case 2: return [2, m.data];
60
- }
61
- });
62
- });
63
- }, d.prototype.receive = function(e, d, p) {
64
- return __awaiter(this, void 0, void 0, function() {
65
- var d;
66
- return __generator(this, function(f) {
67
- return d = this.props.store, d.updateData(e, void 0, p), [2, this.reload()];
68
- });
69
- });
70
- }, d.prototype.resolveDefinitions = function(e) {
71
- var d = this.props, f = d.resolveDefinitions;
72
- return d.store.schema?.definitions?.[e] || f(e);
73
- }, d.prototype.handleNavClick = function(e) {
74
- e.preventDefault();
75
- var d = this.props.store, f = this.props.env, p = e.currentTarget.getAttribute("href");
76
- d.updateOffScreen(!1), f.jumpTo(p, void 0, this.props.data);
77
- }, d.prototype.renderHeader = function() {
78
- var e = this.props, d = e.classnames, f = e.brandName, p = e.header, m = e.render, h = e.store, g = e.logo, _ = e.env;
79
- return !p && !g && !f ? null : import_react.createElement(import_react.Fragment, null, import_react.createElement("div", { className: d("Layout-brandBar") }, import_react.createElement("div", {
80
- onClick: h.toggleOffScreen,
81
- className: d("Layout-offScreenBtn")
82
- }, import_react.createElement("i", { className: "bui-icon iconfont icon-collapse" })), import_react.createElement("div", { className: d("Layout-brand") }, g && ~g.indexOf("<svg") ? import_react.createElement(Html$1, {
83
- className: d("AppLogo-html"),
84
- html: g,
85
- filterHtml: _.filterHtml
86
- }) : g ? import_react.createElement("img", {
87
- className: d("AppLogo"),
88
- src: g
89
- }) : import_react.createElement("span", { className: "visible-folded " }, f?.substring(0, 1)), import_react.createElement("span", { className: "hidden-folded m-l-sm" }, f))), import_react.createElement("div", { className: d("Layout-headerBar") }, import_react.createElement("a", {
90
- onClick: h.toggleFolded,
91
- type: "button",
92
- className: d("AppFoldBtn")
93
- }, import_react.createElement("i", { className: `fa fa-${h.folded ? "indent" : "dedent"} fa-fw` })), p ? m("header", p) : null));
94
- }, d.prototype.renderAside = function() {
95
- var e = this, d = this.props, f = d.store, p = d.env, m = d.asideBefore, h = d.asideAfter, g = d.render, _ = d.data;
96
- return import_react.createElement(import_react.Fragment, null, m ? g("aside-before", m) : null, import_react.createElement(AsideNav$1, {
97
- navigations: f.navigations,
98
- renderLink: function(d, p) {
99
- var m = d.link;
100
- d.active;
101
- var h = d.toggleExpand, g = d.classnames, v = d.depth, y = d.subHeader, x = [];
102
- if (m.visible === !1) return null;
103
- !y && m.children && m.children.some(function(e) {
104
- return e?.visible;
105
- }) && x.push(import_react.createElement("span", {
106
- key: "expand-toggle",
107
- className: g("AsideNav-itemArrow"),
108
- onClick: function(e) {
109
- return h(m, e);
110
- }
111
- }));
112
- var S = typeof m.badge == "string" ? filter(m.badge, _) : m.badge;
113
- return S != null && x.push(import_react.createElement("b", {
114
- key: "badge",
115
- className: g("AsideNav-itemBadge", m.badgeClassName || "bg-info")
116
- }, S)), !y && m.icon ? x.push(import_react.createElement(Icon, {
117
- key: "icon",
118
- cx: g,
119
- icon: m.icon,
120
- className: "AsideNav-itemIcon"
121
- })) : f.folded && v === 1 && !y && x.push(import_react.createElement("i", {
122
- key: "icon",
123
- className: g("AsideNav-itemIcon", m.children ? "fa fa-folder" : "fa fa-info")
124
- })), x.push(import_react.createElement("span", {
125
- className: g("AsideNav-itemLabel"),
126
- key: "label"
127
- }, typeof m.label == "string" ? filter(m.label, _) : m.label)), m.path ? /^https?\:/.test(m.path) ? import_react.createElement("a", {
128
- target: "_blank",
129
- key: "link",
130
- href: m.path,
131
- rel: "noopener"
132
- }, x) : import_react.createElement("a", {
133
- key: "link",
134
- onClick: e.handleNavClick,
135
- href: m.path || m.children && m.children[0].path
136
- }, x) : import_react.createElement("a", {
137
- key: "link",
138
- onClick: m.children ? function() {
139
- return h(m);
140
- } : void 0
141
- }, x);
142
- },
143
- isActive: function(e) {
144
- return !!p.isCurrentUrl(e?.path, e);
145
- }
146
- }), h ? g("aside-before", h) : null);
147
- }, d.prototype.renderFooter = function() {
148
- var e = this.props, d = e.render, f = e.footer;
149
- return f ? d("footer", f) : null;
150
- }, d.prototype.render = function() {
151
- var e = this, d = this.props, f = d.classnames, p = d.store, m = d.render, h = d.showBreadcrumb, g = h === void 0 ? !0 : h, _ = d.loadingConfig;
152
- return import_react.createElement(Layout$1, {
153
- header: this.renderHeader(),
154
- aside: this.renderAside(),
155
- footer: this.renderFooter(),
156
- folded: p.folded,
157
- offScreen: p.offScreen,
158
- contentClassName: f("AppContent")
159
- }, p.activePage && p.schema ? import_react.createElement(import_react.Fragment, null, g && p.bcn.length ? import_react.createElement("ul", { className: f("AppBcn") }, p.bcn.map(function(d, m) {
160
- return import_react.createElement("li", {
161
- key: m,
162
- className: f("AppBcn-item")
163
- }, d.path ? import_react.createElement("a", {
164
- href: d.path,
165
- onClick: e.handleNavClick
166
- }, d.label) : m === p.bcn.length - 1 ? d.label : import_react.createElement("a", null, d.label));
167
- })) : null, import_react.createElement("div", { className: f("AppBody") }, m("page", p.schema, {
168
- key: `${p.activePage?.id}-${p.schemaKey}`,
169
- data: p.pageData,
170
- resolveDefinitions: this.resolveDefinitions
171
- }))) : p.pages && !p.activePage ? import_react.createElement(_404, null, import_react.createElement("div", { className: "text-center" }, "页面不存在")) : null, import_react.createElement(Spinner$1, {
172
- loadingConfig: _,
173
- overlay: !0,
174
- show: p.loading || !p.pages,
175
- size: "lg"
176
- }));
177
- }, d.propsList = [
178
- "brandName",
179
- "logo",
180
- "header",
181
- "asideBefore",
182
- "asideAfter",
183
- "pages",
184
- "footer"
185
- ], d.defaultProps = {}, __decorate([
186
- autobind,
187
- __metadata("design:type", Function),
188
- __metadata("design:paramtypes", [String]),
189
- __metadata("design:returntype", void 0)
190
- ], d.prototype, "resolveDefinitions", null), __decorate([
191
- autobind,
192
- __metadata("design:type", Function),
193
- __metadata("design:paramtypes", [Object]),
194
- __metadata("design:returntype", void 0)
195
- ], d.prototype, "handleNavClick", null), d;
196
- }(import_react.Component), AppRenderer = function(e) {
197
- __extends(d, e);
198
- function d(d, f) {
199
- var p = e.call(this, d) || this;
200
- return f.registerComponent(p), p;
201
- }
202
- return d.prototype.componentWillUnmount = function() {
203
- this.context.unRegisterComponent(this), e.prototype.componentWillUnmount.call(this);
204
- }, d.prototype.setData = function(e, d) {
205
- return this.props.store.updateData(e, void 0, d);
206
- }, d.prototype.getData = function() {
207
- return this.props.store.data;
208
- }, d.contextType = ScopedContext, d = __decorate([Renderer({
209
- type: "app",
210
- storeType: AppStore.name
211
- }), __metadata("design:paramtypes", [Object, Object])], d), d;
212
- }(App);
213
- export { App, AppRenderer as default };
@@ -1,324 +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 } from "./tslib.es6-DJiA3ePV.js";
4
- import { j as require_upperFirst } from "./function-CNJMA2ft.js";
5
- import "./isEqual-E2NjjS0_.js";
6
- import { $n as getPropValue, Nn as autobind, Xr as filter, it as Renderer, zn as detectPropValueChanged } from "./esm-DEyK_c3W.js";
7
- import "./react-dom-D1mxcNoQ.js";
8
- import "./esm-Cj_BRpNI.js";
9
- import { s as Icon } from "./PopUp-Bgkvnd4X.js";
10
- var import_react = /* @__PURE__ */ __toESM(require_react()), import_upperFirst = /* @__PURE__ */ __toESM(require_upperFirst()), Audio = function(e) {
11
- __extends(a, e);
12
- function a() {
13
- var a = e !== null && e.apply(this, arguments) || this;
14
- return a.state = {
15
- src: getPropValue(a.props, function(e) {
16
- return e.src ? filter(e.src, e.data, "| raw") : void 0;
17
- }) || "",
18
- isReady: !1,
19
- muted: !1,
20
- playing: !1,
21
- played: 0,
22
- seeking: !1,
23
- volume: .8,
24
- prevVolume: .8,
25
- loaded: 0,
26
- playbackRate: 1,
27
- showHandlePlaybackRate: !1,
28
- showHandleVolume: !1
29
- }, a;
30
- }
31
- return a.prototype.componentWillUnmount = function() {
32
- clearTimeout(this.progressTimeout), clearTimeout(this.durationTimeout);
33
- }, a.prototype.componentDidMount = function() {
34
- var e = !!this.props.autoPlay;
35
- this.setState({ playing: e }, this.progress);
36
- }, a.prototype.componentDidUpdate = function(e) {
37
- var a = this, o = this.props;
38
- detectPropValueChanged(o, e, function(e) {
39
- return a.setState({
40
- src: e,
41
- playing: !1
42
- }, function() {
43
- a.audio.load(), a.progress();
44
- });
45
- }, function(e) {
46
- return e.src ? filter(e.src, e.data, "| raw") : void 0;
47
- });
48
- }, a.prototype.progress = function() {
49
- if (clearTimeout(this.progressTimeout), this.state.src && this.audio) {
50
- var e = (this.audio.currentTime || 0) / this.audio.duration, a = this.state.playing;
51
- a = !!(e != 1 && a), this.setState({
52
- played: e,
53
- playing: a
54
- }), this.progressTimeout = setTimeout(this.progress, this.props.progressInterval / this.state.playbackRate);
55
- }
56
- }, a.prototype.audioRef = function(e) {
57
- this.audio = e;
58
- }, a.prototype.load = function() {
59
- this.setState({ isReady: !0 });
60
- }, a.prototype.handlePlaybackRate = function(e) {
61
- this.audio.playbackRate = e, this.setState({
62
- playbackRate: e,
63
- showHandlePlaybackRate: !1
64
- });
65
- }, a.prototype.handleMute = function() {
66
- if (this.state.src) {
67
- var e = this.state, a = e.muted, o = e.prevVolume, s = a ? o : 0;
68
- this.audio.muted = !a, this.setState({
69
- muted: !a,
70
- volume: s
71
- });
72
- }
73
- }, a.prototype.handlePlaying = function() {
74
- if (this.state.src) {
75
- var e = this.state.playing;
76
- e ? this.audio.pause() : this.audio.play(), this.setState({ playing: !e });
77
- }
78
- }, a.prototype.getCurrentTime = function() {
79
- if (!this.audio || !this.state.src || !this.state.isReady) return "0:00";
80
- var e = this.audio.duration, a = this.state.played;
81
- return this.formatTime(e * (a || 0));
82
- }, a.prototype.getDuration = function() {
83
- if (!this.audio || !this.state.src) return "0:00";
84
- if (!this.state.isReady) return this.onDurationCheck(), "0:00";
85
- var e = this.audio, a = e.duration, o = e.seekable;
86
- return a === Infinity && o.length > 0 ? o.end(o.length - 1) : this.formatTime(a);
87
- }, a.prototype.onDurationCheck = function() {
88
- clearTimeout(this.durationTimeout), this.audio && this.audio.duration || (this.durationTimeout = setTimeout(this.onDurationCheck, 500));
89
- }, a.prototype.onSeekChange = function(e) {
90
- if (this.state.src) {
91
- var a = e.target.value;
92
- this.setState({ played: a });
93
- }
94
- }, a.prototype.onSeekMouseDown = function() {
95
- this.setState({ seeking: !0 });
96
- }, a.prototype.onSeekMouseUp = function(e) {
97
- if (this.state.src && this.state.seeking) {
98
- var a = e.target.value, o = this.audio.duration;
99
- this.audio.currentTime = o * a;
100
- var s = this.props.loop, c = this.state.playing;
101
- c = a < 1 || s ? c : !1, this.setState({
102
- playing: c,
103
- seeking: !1
104
- });
105
- }
106
- }, a.prototype.setVolume = function(e) {
107
- if (this.state.src) {
108
- var a = e.target.value;
109
- this.audio.volume = a, this.setState({
110
- volume: a,
111
- prevVolume: a
112
- });
113
- }
114
- }, a.prototype.formatTime = function(e) {
115
- var a = /* @__PURE__ */ new Date(e * 1e3), o = a.getUTCHours(), s = isNaN(a.getUTCMinutes()) ? 0 : a.getUTCMinutes(), c = isNaN(a.getUTCSeconds()) ? "00" : this.pad(a.getUTCSeconds());
116
- return o ? `${o}:${this.pad(s)}:${c}` : `${s}:${c}`;
117
- }, a.prototype.pad = function(e) {
118
- return ("0" + e).slice(-2);
119
- }, a.prototype.toggleHandlePlaybackRate = function() {
120
- this.state.src && this.setState({ showHandlePlaybackRate: !this.state.showHandlePlaybackRate });
121
- }, a.prototype.toggleHandleVolume = function(e) {
122
- this.state.src && this.setState({ showHandleVolume: e });
123
- }, a.prototype.renderRates = function() {
124
- var e = this, a = this.props, o = a.rates, s = a.classnames, c = this.state, l = c.showHandlePlaybackRate, u = c.playbackRate;
125
- return o && o.length ? l ? import_react.createElement("div", { className: s("Audio-rateControl") }, o.map(function(a, o) {
126
- return import_react.createElement("div", {
127
- key: o,
128
- className: s("Audio-rateControlItem"),
129
- onClick: function() {
130
- return e.handlePlaybackRate(a);
131
- }
132
- }, "x", a.toFixed(1));
133
- })) : import_react.createElement("div", {
134
- className: s("Audio-rates"),
135
- onClick: this.toggleHandlePlaybackRate
136
- }, "x", u.toFixed(1)) : null;
137
- }, a.prototype.renderPlay = function() {
138
- var e = this.props.classnames, a = this.state.playing;
139
- return import_react.createElement("div", {
140
- className: e("Audio-play"),
141
- onClick: this.handlePlaying
142
- }, a ? import_react.createElement(Icon, {
143
- icon: "pause",
144
- className: "icon"
145
- }) : import_react.createElement(Icon, {
146
- icon: "play",
147
- className: "icon"
148
- }));
149
- }, a.prototype.renderTime = function() {
150
- var e = this.props.classnames;
151
- return import_react.createElement("div", { className: e("Audio-times") }, this.getCurrentTime(), " / ", this.getDuration());
152
- }, a.prototype.renderProcess = function() {
153
- var e = this.props.classnames, a = this.state.played;
154
- return import_react.createElement("div", { className: e("Audio-process") }, import_react.createElement("input", {
155
- type: "range",
156
- min: 0,
157
- max: 1,
158
- step: "any",
159
- value: a || 0,
160
- onMouseDown: this.onSeekMouseDown,
161
- onChange: this.onSeekChange,
162
- onMouseUp: this.onSeekMouseUp
163
- }));
164
- }, a.prototype.renderVolume = function() {
165
- var e = this, a = this.props.classnames, o = this.state, s = o.volume;
166
- return o.showHandleVolume ? import_react.createElement("div", {
167
- className: a("Audio-volumeControl"),
168
- onMouseLeave: function() {
169
- return e.toggleHandleVolume(!1);
170
- }
171
- }, import_react.createElement("div", {
172
- className: a("Audio-volumeControlIcon"),
173
- onClick: this.handleMute
174
- }, s > 0 ? import_react.createElement(Icon, {
175
- icon: "volume",
176
- className: "icon"
177
- }) : import_react.createElement(Icon, {
178
- icon: "mute",
179
- className: "icon"
180
- })), import_react.createElement("input", {
181
- type: "range",
182
- min: 0,
183
- max: 1,
184
- step: "any",
185
- value: s,
186
- onChange: this.setVolume
187
- })) : import_react.createElement("div", {
188
- className: a("Audio-volume"),
189
- onMouseEnter: function() {
190
- return e.toggleHandleVolume(!0);
191
- }
192
- }, s > 0 ? import_react.createElement(Icon, {
193
- icon: "volume",
194
- className: "icon"
195
- }) : import_react.createElement(Icon, {
196
- icon: "mute",
197
- className: "icon"
198
- }));
199
- }, a.prototype.render = function() {
200
- var e = this, a = this.props, o = a.className, s = a.style, c = a.inline, l = a.autoPlay, u = a.loop, d = a.controls, f = a.classnames, p = this.state, m = p.muted, h = p.src;
201
- return import_react.createElement("div", {
202
- className: f("Audio", o, c ? "Audio--inline" : ""),
203
- style: s
204
- }, import_react.createElement("audio", {
205
- className: f("Audio-original"),
206
- ref: this.audioRef,
207
- onCanPlay: this.load,
208
- autoPlay: l,
209
- controls: !0,
210
- muted: m,
211
- loop: u
212
- }, import_react.createElement("source", { src: h })), import_react.createElement("div", { className: f("Audio-controls") }, d && d.map(function(a, o) {
213
- a = "render" + (0, import_upperFirst.default)(a);
214
- var s = a;
215
- return import_react.createElement(import_react.Fragment, { key: o }, e[s]());
216
- })));
217
- }, a.defaultProps = {
218
- inline: !0,
219
- autoPlay: !1,
220
- playbackRate: 1,
221
- loop: !1,
222
- rates: [],
223
- progressInterval: 1e3,
224
- controls: [
225
- "rates",
226
- "play",
227
- "time",
228
- "process",
229
- "volume"
230
- ]
231
- }, __decorate([
232
- autobind,
233
- __metadata("design:type", Function),
234
- __metadata("design:paramtypes", []),
235
- __metadata("design:returntype", void 0)
236
- ], a.prototype, "progress", null), __decorate([
237
- autobind,
238
- __metadata("design:type", Function),
239
- __metadata("design:paramtypes", [HTMLMediaElement]),
240
- __metadata("design:returntype", void 0)
241
- ], a.prototype, "audioRef", null), __decorate([
242
- autobind,
243
- __metadata("design:type", Function),
244
- __metadata("design:paramtypes", []),
245
- __metadata("design:returntype", void 0)
246
- ], a.prototype, "load", null), __decorate([
247
- autobind,
248
- __metadata("design:type", Function),
249
- __metadata("design:paramtypes", [Number]),
250
- __metadata("design:returntype", void 0)
251
- ], a.prototype, "handlePlaybackRate", null), __decorate([
252
- autobind,
253
- __metadata("design:type", Function),
254
- __metadata("design:paramtypes", []),
255
- __metadata("design:returntype", void 0)
256
- ], a.prototype, "handleMute", null), __decorate([
257
- autobind,
258
- __metadata("design:type", Function),
259
- __metadata("design:paramtypes", []),
260
- __metadata("design:returntype", void 0)
261
- ], a.prototype, "handlePlaying", null), __decorate([
262
- autobind,
263
- __metadata("design:type", Function),
264
- __metadata("design:paramtypes", []),
265
- __metadata("design:returntype", void 0)
266
- ], a.prototype, "getCurrentTime", null), __decorate([
267
- autobind,
268
- __metadata("design:type", Function),
269
- __metadata("design:paramtypes", []),
270
- __metadata("design:returntype", void 0)
271
- ], a.prototype, "getDuration", null), __decorate([
272
- autobind,
273
- __metadata("design:type", Function),
274
- __metadata("design:paramtypes", []),
275
- __metadata("design:returntype", void 0)
276
- ], a.prototype, "onDurationCheck", null), __decorate([
277
- autobind,
278
- __metadata("design:type", Function),
279
- __metadata("design:paramtypes", [Object]),
280
- __metadata("design:returntype", void 0)
281
- ], a.prototype, "onSeekChange", null), __decorate([
282
- autobind,
283
- __metadata("design:type", Function),
284
- __metadata("design:paramtypes", []),
285
- __metadata("design:returntype", void 0)
286
- ], a.prototype, "onSeekMouseDown", null), __decorate([
287
- autobind,
288
- __metadata("design:type", Function),
289
- __metadata("design:paramtypes", [Object]),
290
- __metadata("design:returntype", void 0)
291
- ], a.prototype, "onSeekMouseUp", null), __decorate([
292
- autobind,
293
- __metadata("design:type", Function),
294
- __metadata("design:paramtypes", [Object]),
295
- __metadata("design:returntype", void 0)
296
- ], a.prototype, "setVolume", null), __decorate([
297
- autobind,
298
- __metadata("design:type", Function),
299
- __metadata("design:paramtypes", [Number]),
300
- __metadata("design:returntype", void 0)
301
- ], a.prototype, "formatTime", null), __decorate([
302
- autobind,
303
- __metadata("design:type", Function),
304
- __metadata("design:paramtypes", [Number]),
305
- __metadata("design:returntype", void 0)
306
- ], a.prototype, "pad", null), __decorate([
307
- autobind,
308
- __metadata("design:type", Function),
309
- __metadata("design:paramtypes", []),
310
- __metadata("design:returntype", void 0)
311
- ], a.prototype, "toggleHandlePlaybackRate", null), __decorate([
312
- autobind,
313
- __metadata("design:type", Function),
314
- __metadata("design:paramtypes", [Boolean]),
315
- __metadata("design:returntype", void 0)
316
- ], a.prototype, "toggleHandleVolume", null), a;
317
- }(import_react.Component), AudioRenderer = function(e) {
318
- __extends(a, e);
319
- function a() {
320
- return e !== null && e.apply(this, arguments) || this;
321
- }
322
- return a = __decorate([Renderer({ type: "audio" })], a), a;
323
- }(Audio);
324
- export { Audio, AudioRenderer };