@txgw/payout-components 0.6.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (393) hide show
  1. package/dist/AMIS-D9TLFIT7.js +1 -0
  2. package/dist/Action-B-ZQiXEF.js +1 -0
  3. package/dist/Action-D_mwIN-5.js +1 -0
  4. package/dist/Alert-UVAjNb7s.js +1 -0
  5. package/dist/AnchorNav-BjgLgX6m.js +1 -0
  6. package/dist/App-ncbuqXE2.js +1 -0
  7. package/dist/Audio-B3lYr3U2.js +1 -0
  8. package/dist/Avatar-XqOgD9ui.js +1 -0
  9. package/dist/BarCode-B_ISp_TQ.js +1 -0
  10. package/dist/BarCode-Cg3O5s_0.js +1 -0
  11. package/dist/Breadcrumb-CTA88DWN.js +1 -0
  12. package/dist/ButtonGroup-pVY35HQ1.js +1 -0
  13. package/dist/ButtonGroupSelect-Bt6Jwo5u.js +1 -0
  14. package/dist/ButtonGroupSelect-C_qcxdHQ.js +1 -0
  15. package/dist/ButtonToolbar-CUNT7FK4.js +1 -0
  16. package/dist/CRUD-DRudIc-q.js +1 -0
  17. package/dist/CRUD2-CYGF0EMp.js +1 -0
  18. package/dist/Calendar-BW4diX9T.js +1 -0
  19. package/dist/Card-B_1cg_nQ.js +1 -0
  20. package/dist/Card-C4m8b89W.js +1 -0
  21. package/dist/Card2-BXG0mDni.js +1 -0
  22. package/dist/Cards-ak9W7Ggn.js +1 -0
  23. package/dist/Carousel-CxCXr052.js +1 -0
  24. package/dist/ChainedSelect-BcWT4XqI.js +1 -0
  25. package/dist/Chart-BxLGXl9u.js +1 -0
  26. package/dist/ChartRadios-DstdFZq_.js +1 -0
  27. package/dist/Checkbox-C4MOpWIk.js +1 -0
  28. package/dist/Checkbox-nA8maqiS.js +1 -0
  29. package/dist/Checkboxes-DaAz8fEe.js +1 -0
  30. package/dist/Code-C7wxKt-Z.js +1 -0
  31. package/dist/Collapse-B7DWMzHM.js +1 -0
  32. package/dist/Collapse-BW-pXRle.js +1 -0
  33. package/dist/CollapseGroup-C5HPq_8j.js +1 -0
  34. package/dist/Color-BpoN5ndM.js +1 -0
  35. package/dist/ColorPicker-B-eyCI0N.js +1 -0
  36. package/dist/ColumnToggler-BCOanQf7.js +1 -0
  37. package/dist/ColumnToggler-BNmJdTb9.js +1 -0
  38. package/dist/Combo-DVBtMl-s.js +1 -0
  39. package/dist/ConditionBuilder-bQtsEBIu.js +1 -0
  40. package/dist/Container-BCEndXiL.js +1 -0
  41. package/dist/Control-DBSbZmLZ.js +1 -0
  42. package/dist/Custom-CVj3O57n.js +1 -0
  43. package/dist/{Date-C9Kib09x.js → Date-CuBE2XD8.js} +1 -333
  44. package/dist/DateRange-Bd9o9Fl_.js +1 -0
  45. package/dist/Dialog-DzlFCRtq.js +1 -0
  46. package/dist/DiffEditor-Cccg35Ly.js +1 -0
  47. package/dist/Divider-gy0IUviz.js +1 -0
  48. package/dist/Drawer-C37JbURK.js +1 -0
  49. package/dist/DropDownButton-DO4hK0Kp.js +1 -0
  50. package/dist/Each-BfbwJEMb.js +1 -0
  51. package/dist/FieldSet-D3WMli0B.js +1 -0
  52. package/dist/FieldSet-D8oj-Vb4.js +1 -0
  53. package/dist/Flex-CXooKsRI.js +1 -0
  54. package/dist/Formula-KUisLb0j.js +1 -0
  55. package/dist/Grid2D-6cCqZG6j.js +1 -0
  56. package/dist/GridNav-Bvueqq-Q.js +1 -0
  57. package/dist/Group-EswEogaf.js +1 -0
  58. package/dist/HBox-DGIyZMV6.js +1 -0
  59. package/dist/HBox-DyS1JJHh.js +1 -0
  60. package/dist/Hidden-DwrGEKjM.js +1 -0
  61. package/dist/IFrame-BT4_03AI.js +1 -0
  62. package/dist/Icon-BNP1oNtQ.js +1 -0
  63. package/dist/IconPicker-CIL2Wob5.js +1 -0
  64. package/dist/IconPickerIcons-DN0pqJHt.js +1 -0
  65. package/dist/IconSelect-D1CPpZAU.js +1 -0
  66. package/dist/IconSelectStore-BM_zyU2d.js +1 -0
  67. package/dist/Image--xtRdgd5.js +1 -0
  68. package/dist/Image-BAenzG4k.js +1 -0
  69. package/dist/Images-zPCUHCyK.js +1 -0
  70. package/dist/InputArray-BnERrQT7.js +1 -0
  71. package/dist/InputCity-Bidd_z8i.js +1 -0
  72. package/dist/InputColor-D0Kf9p1Q.js +1 -0
  73. package/dist/InputDate-CzCxGUx_.js +1 -0
  74. package/dist/InputDateRange-Bp3owFpS.js +1 -0
  75. package/dist/InputExcel-DUdIptAN.js +1 -0
  76. package/dist/InputFile-DquJWe_S.js +1 -0
  77. package/dist/InputFile-X4G2zOvt.js +1 -0
  78. package/dist/InputFormula-Cu3Oc5xq.js +1 -0
  79. package/dist/InputGroup-RqgoJFcl.js +1 -0
  80. package/dist/InputImage-CdVzSsuR.js +1 -0
  81. package/dist/InputImage-Cv5FkWaC.js +1 -0
  82. package/dist/InputMonthRange-BTR1bISz.js +1 -0
  83. package/dist/InputNumber-C0rip8fu.js +1 -0
  84. package/dist/InputQuarterRange-D1X-Z2tN.js +1 -0
  85. package/dist/InputRange-Dq-ePI8S.js +1 -0
  86. package/dist/InputRating-_KtpPZno.js +1 -0
  87. package/dist/InputRepeat-D3Drjx3I.js +1 -0
  88. package/dist/InputRichText-0TZzQzcy.js +1 -0
  89. package/dist/InputRichText-CyfWV74o.js +1 -0
  90. package/dist/InputSignature-CXV7thvH.js +1 -0
  91. package/dist/InputSubForm-CQuaHTe3.js +1 -0
  92. package/dist/InputTable-CJ4Dl3xA.js +1 -0
  93. package/dist/InputTag-BAjQnJh1.js +1 -0
  94. package/dist/InputText-Ci8XzpKK.js +1 -0
  95. package/dist/InputTree-Coq2YfRD.js +1 -0
  96. package/dist/InputVerificationCode-CZbzrwa_.js +1 -0
  97. package/dist/InputYearRange-CbdR1nuY.js +1 -0
  98. package/dist/JSONSchema-Z9eJulgD.js +1 -0
  99. package/dist/JSONSchemaEditor-qtbO2bWX.js +1 -0
  100. package/dist/Json-I_TX2D01.js +1 -0
  101. package/dist/Link-DoCudSpW.js +1 -0
  102. package/dist/List-BItkFb-A.js +1 -0
  103. package/dist/List-Ccx0hLxM.js +1 -0
  104. package/dist/ListSelect-f6rDx6N2.js +1 -0
  105. package/dist/LocationPicker-CZd07tME.js +1 -0
  106. package/dist/Log--rbcIY4g.js +1 -0
  107. package/dist/Mapping-rpBDdw-o.js +1 -0
  108. package/dist/Markdown-BlxcmdTl.js +1 -0
  109. package/dist/Markdown-M8qWm8IY.js +1 -0
  110. package/dist/MatrixCheckboxes-DCnC8NGQ.js +1 -0
  111. package/dist/MultilineText-CHrvTjY_.js +1 -0
  112. package/dist/Nav-CDJbX6q3.js +1 -0
  113. package/dist/NestedSelect-Uxvg89Pe.js +1 -0
  114. package/dist/Number-tVXWVP4G.js +1 -0
  115. package/dist/OfficeViewer-Cz447nMa.js +1 -0
  116. package/dist/Operation-JkWrokFn.js +1 -0
  117. package/dist/Page-C5qOXz9A.js +1 -0
  118. package/dist/Pagination-DQoNu1Qo.js +1 -0
  119. package/dist/PaginationWrapper-07h0-dmz.js +1 -0
  120. package/dist/Panel--P2Ov47t.js +1 -0
  121. package/dist/Password-CF1feQa2.js +1 -0
  122. package/dist/Picker-CKV0_5vN.js +1 -0
  123. package/dist/Plain-CnRq3KDS.js +1 -0
  124. package/dist/PopUp-xCiesfUA.js +104 -0
  125. package/dist/Portlet-Agkkko8B.js +1 -0
  126. package/dist/Progress-D-JOmIgT.js +1 -0
  127. package/dist/Property-BoNnFGV9.js +1 -0
  128. package/dist/QRCode-BFfhBYxV.js +2 -0
  129. package/dist/Radio-BRNZ49gi.js +1 -0
  130. package/dist/Radios-0CT3XjKZ.js +1 -0
  131. package/dist/Remark-BuTyhR9e.js +1 -0
  132. package/dist/Remark-XZDS4Z3Y.js +1 -0
  133. package/dist/RichText-wfPXQmb8.js +1 -0
  134. package/dist/SearchBox-__1UKInO.js +1 -0
  135. package/dist/Select-D9nj7O4q.js +1 -0
  136. package/dist/Service-fGzhGL0m.js +1 -0
  137. package/dist/Shape-C9r17D5A.js +1 -0
  138. package/dist/Slider-BryEccA-.js +1 -0
  139. package/dist/SparkLine-CcOuk0we.js +1 -0
  140. package/dist/Spinner-qyJRJu1C.js +1 -0
  141. package/dist/StaticHoc-C0bGgnQS.js +1 -0
  142. package/dist/Status-BPtAA54m.js +1 -0
  143. package/dist/Steps-DsmYH15c.js +1 -0
  144. package/dist/Switch-CMkhfkPn.js +1 -0
  145. package/dist/SwitchContainer-BLxuSTyZ.js +1 -0
  146. package/dist/Table-DsxWjUvF.js +1 -0
  147. package/dist/Table-HvHD2tS0.js +1 -0
  148. package/dist/Table2-C4HNs_R1.js +1 -0
  149. package/dist/TableView-zfvmfF6E.js +1 -0
  150. package/dist/Tabs-BeQyEedg.js +1 -0
  151. package/dist/TabsTransfer-BsYcLplM.js +1 -0
  152. package/dist/TabsTransferPicker-SS6hg5Hc.js +1 -0
  153. package/dist/Tag-IL_v32Aa.js +1 -0
  154. package/dist/Tasks-D6GQavXw.js +1 -0
  155. package/dist/Textarea-Ck0rJ3Ff.js +1 -0
  156. package/dist/Timeline-BT7aVGPP.js +1 -0
  157. package/dist/TooltipWrapper-Bx_3339q.js +1 -0
  158. package/dist/Tpl-BiWl-0O_.js +1 -0
  159. package/dist/Transfer-BwyAe8c8.js +1 -0
  160. package/dist/Transfer-CldOhDuU.js +1 -0
  161. package/dist/TransferPicker-C2cth5_r.js +1 -0
  162. package/dist/TreeSelect-D9-PBXkV.js +1 -0
  163. package/dist/UUID-R41mBvtB.js +1 -0
  164. package/dist/UserSelect-Cq56ZLkZ.js +1 -0
  165. package/dist/VBox-BEdXFwFf.js +1 -0
  166. package/dist/Video-BIQhs4lA.js +1 -0
  167. package/dist/WebComponent-Vzfd9UEy.js +1 -0
  168. package/dist/Wizard-BwEpr22M.js +1 -0
  169. package/dist/Words-C7JrGNdU.js +1 -0
  170. package/dist/Wrapper-DIGr8a29.js +1 -0
  171. package/dist/_getTag-x788Ng9o.js +1 -0
  172. package/dist/beneficiary-form-_xPce615.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-Cn6dJrVn.js +1 -0
  177. package/dist/esm-CofciBhy.js +4 -0
  178. package/dist/esm-DyRrwLZv.js +1 -0
  179. package/dist/esm-vG8eylH_.js +28 -0
  180. package/dist/function-C8ta9DKb.js +3 -0
  181. package/dist/index.css +1 -1
  182. package/dist/index.d.ts +0 -120
  183. package/dist/index.js +1 -96
  184. package/dist/isEqual-BxlJ5vH7.js +1 -0
  185. package/dist/main-CLaM-mkN.js +1 -0
  186. package/dist/mi18n-react.esm-BFa-Q7wX.js +1 -0
  187. package/dist/objectSpread2-yExSo67O.js +1 -0
  188. package/dist/omitBy-CFU0pICA.js +1 -0
  189. package/dist/papaparse.min-CU0u_rom.js +1 -0
  190. package/dist/react-BW4ssgUo.js +1 -0
  191. package/dist/react-cropper.es-zEJdZmmN.js +1 -0
  192. package/dist/react-dom-DmgFzc6z.js +1 -0
  193. package/dist/rolldown-runtime-DcYi-9oA.js +1 -0
  194. package/dist/tslib.es6-C2q27PUR.js +1 -0
  195. package/dist/xor-ziNg7OgH.js +1 -0
  196. package/package.json +20 -15
  197. package/dist/AMIS--SZXSfKF.js +0 -23
  198. package/dist/Action-D7O1nxY2.js +0 -10
  199. package/dist/Action-DpRShNiD.js +0 -646
  200. package/dist/Alert-sakO0sgo.js +0 -34
  201. package/dist/AnchorNav-1OrNpCPU.js +0 -88
  202. package/dist/App-mzRv6t1L.js +0 -213
  203. package/dist/Audio-CmGRzA8C.js +0 -324
  204. package/dist/Avatar-C0g_Dcsr.js +0 -75
  205. package/dist/BarCode-Bgr2-a69.js +0 -35
  206. package/dist/BarCode-f_fuunrs.js +0 -2708
  207. package/dist/Breadcrumb-3pb8787J.js +0 -38
  208. package/dist/ButtonGroup-DBJgP_U6.js +0 -16
  209. package/dist/ButtonGroupSelect-BV8FHgm0.js +0 -93
  210. package/dist/ButtonGroupSelect-Cl2irnYh.js +0 -8
  211. package/dist/ButtonToolbar-DMCBgh9w.js +0 -36
  212. package/dist/CRUD-DFP1DIcc.js +0 -1048
  213. package/dist/CRUD2-BGpsdJ3D.js +0 -660
  214. package/dist/Calendar-D_aFq70_.js +0 -18
  215. package/dist/Card-C54K-VRd.js +0 -14
  216. package/dist/Card-FmRg7dLO.js +0 -346
  217. package/dist/Card2-Blr9gGoC.js +0 -68
  218. package/dist/Cards-B7J3bYtx.js +0 -485
  219. package/dist/Carousel-Ba4JeK7n.js +0 -414
  220. package/dist/ChainedSelect-CUU7qCFQ.js +0 -212
  221. package/dist/Chart-BmOD9NEG.js +0 -276
  222. package/dist/ChartRadios-Bm7pnICh.js +0 -93
  223. package/dist/Checkbox-CcjG9Mv4.js +0 -157
  224. package/dist/Checkbox-yvPZaH8N.js +0 -10
  225. package/dist/Checkboxes-Babxqar9.js +0 -285
  226. package/dist/Code-B7FhTic-.js +0 -111
  227. package/dist/Collapse-BYdoEOZ2.js +0 -124
  228. package/dist/Collapse-C9riUcKK.js +0 -9
  229. package/dist/CollapseGroup-B7DmpWY1.js +0 -74
  230. package/dist/Color-BM1Qa0C1.js +0 -34
  231. package/dist/ColorPicker-BXmi_OWm.js +0 -5258
  232. package/dist/ColumnToggler-3QYyVjVf.js +0 -81
  233. package/dist/ColumnToggler-D0NlxwMq.js +0 -10
  234. package/dist/ColumnToggler-DLFwzPef.js +0 -228
  235. package/dist/Combo-BsouWVHB.js +0 -748
  236. package/dist/Combo-Cabifvbg.js +0 -9
  237. package/dist/ConditionBuilder-BacjsaTh.js +0 -113
  238. package/dist/Container-C5-66abH.js +0 -86
  239. package/dist/Control-krTArjIv.js +0 -38
  240. package/dist/Custom-DawY4LgO.js +0 -73
  241. package/dist/DateRange-D2lKQT_J.js +0 -34
  242. package/dist/Dialog-oNlQLXnk.js +0 -508
  243. package/dist/DiffEditor-DY8XdtJS.js +0 -104
  244. package/dist/Divider-BgpLhaqf.js +0 -70
  245. package/dist/Drawer-DslUxLot.js +0 -448
  246. package/dist/DropDownButton-BIuAagmC.js +0 -193
  247. package/dist/Each-CA8gaJkL.js +0 -79
  248. package/dist/FieldSet-Cg1pE5gA.js +0 -64
  249. package/dist/FieldSet-DVAa2H_Q.js +0 -10
  250. package/dist/Flex-Baz4bI9u.js +0 -99
  251. package/dist/Formula-ABhgdx_Q.js +0 -72
  252. package/dist/Grid2D-DmdOVnhu.js +0 -84
  253. package/dist/GridNav-lHAunT1M.js +0 -56
  254. package/dist/Group-7sGnjMli.js +0 -85
  255. package/dist/HBox-DxchKWfv.js +0 -7
  256. package/dist/HBox-s88aG83B.js +0 -48
  257. package/dist/Hidden-BrTWoL8d.js +0 -27
  258. package/dist/IFrame-DaZ1v2-9.js +0 -141
  259. package/dist/Icon-DNbdrsn8.js +0 -74
  260. package/dist/IconPicker-DqNlu5Zd.js +0 -230
  261. package/dist/IconPickerIcons-dHFcDHrv.js +0 -15
  262. package/dist/IconSelect-CvBITEcy.js +0 -254
  263. package/dist/IconSelectStore-CTqJPujB.js +0 -45
  264. package/dist/Image-BBs8tnny.js +0 -258
  265. package/dist/Image-DM9_Ii2b.js +0 -9
  266. package/dist/Images-cRmH380W.js +0 -377
  267. package/dist/InputArray-Dov-RBrP.js +0 -42
  268. package/dist/InputCity-owVpsIaD.js +0 -351
  269. package/dist/InputColor-DhVJhPp6.js +0 -53
  270. package/dist/InputDate-DLOwHbwT.js +0 -10
  271. package/dist/InputDate-DWaIvnAp.js +0 -292
  272. package/dist/InputDateRange-CnGNwIFe.js +0 -10
  273. package/dist/InputDateRange-Diqw3JLp.js +0 -170
  274. package/dist/InputExcel-BjWNYvnN.js +0 -427
  275. package/dist/InputFile-89BOwWJE.js +0 -601
  276. package/dist/InputFile-DOym0HDc.js +0 -10
  277. package/dist/InputFormula-CV5j31Ow.js +0 -75
  278. package/dist/InputGroup-C7O2ba0g.js +0 -112
  279. package/dist/InputImage-BF7DAF8L.js +0 -12
  280. package/dist/InputImage-DcsVQf7c.js +0 -834
  281. package/dist/InputMonthRange-BjD3hmwp.js +0 -76
  282. package/dist/InputNumber-DKMOkba-.js +0 -255
  283. package/dist/InputQuarterRange-DZKnkZ_s.js +0 -76
  284. package/dist/InputRange-DiHKf3tP.js +0 -266
  285. package/dist/InputRating-Bc8Od5b8.js +0 -115
  286. package/dist/InputRepeat-BhF5KVB2.js +0 -179
  287. package/dist/InputRichText-BBBdDFA2.js +0 -7
  288. package/dist/InputRichText-CieHn0fO.js +0 -198
  289. package/dist/InputSignature-CbfGjJlU.js +0 -495
  290. package/dist/InputSubForm-BkM_3Rjg.js +0 -236
  291. package/dist/InputTable-CgOqC6Pc.js +0 -900
  292. package/dist/InputTag-35kCFM5X.js +0 -464
  293. package/dist/InputText-BbEjGBtv.js +0 -541
  294. package/dist/InputTree-DchkyMbL.js +0 -311
  295. package/dist/InputVerificationCode-kMxc8wW7.js +0 -62
  296. package/dist/InputYearRange-WJKJeloR.js +0 -76
  297. package/dist/JSONSchema-Bs0EWcHb.js +0 -47
  298. package/dist/JSONSchemaEditor-BoAK9FOL.js +0 -66
  299. package/dist/Json-DFjy1HRw.js +0 -80
  300. package/dist/Link-nYGLB6gy.js +0 -57
  301. package/dist/List-D3183f4Z.js +0 -14
  302. package/dist/List-W3IAZR_6.js +0 -671
  303. package/dist/ListSelect-DWGbHVxd.js +0 -104
  304. package/dist/LocationPicker-2G9yOxtm.js +0 -121
  305. package/dist/Log-D6VU702y.js +0 -207
  306. package/dist/Mapping-BATMD_xR.js +0 -118
  307. package/dist/Markdown-Baxbu8lV.js +0 -53
  308. package/dist/Markdown-Cg-xahnQ.js +0 -6205
  309. package/dist/MatrixCheckboxes-B9hmFakW.js +0 -262
  310. package/dist/MultilineText-0fMQhUCY.js +0 -28
  311. package/dist/Nav-DHIehZOG.js +0 -639
  312. package/dist/NestedSelect-tQztH4PI.js +0 -517
  313. package/dist/Number-Cndoqeyx.js +0 -40
  314. package/dist/OfficeViewer-BVD_e5eZ.js +0 -169
  315. package/dist/Operation-DIv6n9dT.js +0 -36
  316. package/dist/Page-WoZtIIfk.js +0 -459
  317. package/dist/Pagination-DHvYHd_3.js +0 -61
  318. package/dist/PaginationWrapper-CtIJOXdw.js +0 -58
  319. package/dist/Panel-Dt4KQrKa.js +0 -156
  320. package/dist/Password-Wjfq7MSA.js +0 -45
  321. package/dist/Picker-Cu52ukRg.js +0 -488
  322. package/dist/Plain-DIlG753a.js +0 -62
  323. package/dist/PopUp-Bgkvnd4X.js +0 -2761
  324. package/dist/Portlet-3Nh2cWeq.js +0 -107
  325. package/dist/Progress-Dh2FTsky.js +0 -89
  326. package/dist/Property-DRSklFlT.js +0 -72
  327. package/dist/QRCode-BeUD-g8-.js +0 -1139
  328. package/dist/Radio-DrJJfNFI.js +0 -89
  329. package/dist/Radios-CL3mreXa.js +0 -176
  330. package/dist/Remark-Cmo-r6dp.js +0 -81
  331. package/dist/Remark-DuAbEmCW.js +0 -9
  332. package/dist/RichText-jkERm8rC.js +0 -13807
  333. package/dist/SearchBox-CTxSMcV2.js +0 -112
  334. package/dist/Select-D3LTuHwe.js +0 -362
  335. package/dist/Service-CN2v_Z9z.js +0 -347
  336. package/dist/Shape-Bi93tLCN.js +0 -37
  337. package/dist/Slider-C0jqeBGt.js +0 -78
  338. package/dist/SparkLine-Ce6-mdqG.js +0 -38
  339. package/dist/Spinner-DZDEct1A.js +0 -27
  340. package/dist/StaticHoc-BAdofX5w.js +0 -80
  341. package/dist/Status-CDC2e2_o.js +0 -93
  342. package/dist/Steps-CGyTaaVI.js +0 -271
  343. package/dist/Switch-QA0l7uEg.js +0 -100
  344. package/dist/SwitchContainer-zXvaPFlG.js +0 -93
  345. package/dist/Table-B8tWpiPU.js +0 -13
  346. package/dist/Table-DzGbNFxu.js +0 -3190
  347. package/dist/Table2-CQZ3und9.js +0 -1198
  348. package/dist/TableView-nlFBhvL1.js +0 -115
  349. package/dist/Tabs-XleB-2Mc.js +0 -487
  350. package/dist/TabsTransfer-CLLGXAkP.js +0 -188
  351. package/dist/TabsTransfer-Cs_Rg0TU.js +0 -11
  352. package/dist/TabsTransferPicker-VA3Vlla-.js +0 -99
  353. package/dist/Tag-tr5RKBfl.js +0 -75
  354. package/dist/Tasks-C2-ayUd-.js +0 -305
  355. package/dist/Textarea-_KbIxQet.js +0 -132
  356. package/dist/Timeline-CctoJRQo.js +0 -87
  357. package/dist/TooltipWrapper-BGNr8U2K.js +0 -83
  358. package/dist/Tpl-C28lpITc.js +0 -152
  359. package/dist/Transfer-Hjc9zR8W.js +0 -288
  360. package/dist/Transfer-tYS9Rx8U.js +0 -10
  361. package/dist/TransferPicker-C7Wzyuct.js +0 -123
  362. package/dist/TreeSelect-DAlWCEqs.js +0 -456
  363. package/dist/UUID-B5UZnlxW.js +0 -33
  364. package/dist/UserSelect-DqZZQB83.js +0 -170
  365. package/dist/VBox-C1OZZT8-.js +0 -38
  366. package/dist/Video-C1FRwLLL.js +0 -4068
  367. package/dist/WebComponent-g8Zc9zXp.js +0 -29
  368. package/dist/Wizard-DkqCsGz-.js +0 -585
  369. package/dist/Words-DUuKqyIf.js +0 -113
  370. package/dist/Wrapper-DmZ78GYG.js +0 -39
  371. package/dist/_getTag-CWmGzIun.js +0 -509
  372. package/dist/beneficiary-form-DCl2L16P.js +0 -3773
  373. package/dist/client-BEyTOBXT.js +0 -26
  374. package/dist/crypto-js-DUFYRUag.js +0 -3694
  375. package/dist/doc-B-Im0Knb.js +0 -1731
  376. package/dist/es-CsUppg1O.js +0 -837
  377. package/dist/esm-Cj_BRpNI.js +0 -35832
  378. package/dist/esm-DEyK_c3W.js +0 -25349
  379. package/dist/esm-SCCPj-cs.js +0 -93004
  380. package/dist/function-CNJMA2ft.js +0 -3151
  381. package/dist/isEqual-E2NjjS0_.js +0 -641
  382. package/dist/main-Bf7MY24z.js +0 -4475
  383. package/dist/mi18n-react.esm-y-nzmW0A.js +0 -1138
  384. package/dist/objectSpread2-smpSKONV.js +0 -27
  385. package/dist/omitBy-CD5n2TA7.js +0 -39
  386. package/dist/papaparse.min-3xa9r8Qi.js +0 -496
  387. package/dist/react-RxxVsDMo.js +0 -1205
  388. package/dist/react-cropper.es-anJ2KE7h.js +0 -1260
  389. package/dist/react-dom-D1mxcNoQ.js +0 -16864
  390. package/dist/react-g40aymqL.js +0 -2
  391. package/dist/rolldown-runtime-DwW8Tac2.js +0 -21
  392. package/dist/tslib.es6-DJiA3ePV.js +0 -170
  393. 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 };