@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.
- package/dist/AMIS-BpATHKnv.js +1 -0
- package/dist/Action-B0KUcn27.js +1 -0
- package/dist/Action-CzJ_r33l.js +1 -0
- package/dist/Alert-DwWdKr12.js +1 -0
- package/dist/AnchorNav-DRGjEF5J.js +1 -0
- package/dist/App-DxKgyXV1.js +1 -0
- package/dist/Audio-BoaWMJHA.js +1 -0
- package/dist/Avatar-B2lZKPPh.js +1 -0
- package/dist/BarCode-BnchzdIg.js +1 -0
- package/dist/BarCode-dEGhm4u6.js +1 -0
- package/dist/Breadcrumb-BHzIF2Vg.js +1 -0
- package/dist/ButtonGroup-BMvNPoKc.js +1 -0
- package/dist/ButtonGroupSelect-BmQIuhWU.js +1 -0
- package/dist/ButtonGroupSelect-CfNu0OBj.js +1 -0
- package/dist/ButtonToolbar-CYZ0LWsz.js +1 -0
- package/dist/CRUD-BDeg8xZI.js +1 -0
- package/dist/CRUD2-DrE-2JU3.js +1 -0
- package/dist/Calendar-DkEUJJQW.js +1 -0
- package/dist/Card-BVUWwkgm.js +1 -0
- package/dist/Card-IZbcizfw.js +1 -0
- package/dist/Card2-Dyl0FIVL.js +1 -0
- package/dist/Cards-DlMpwNSr.js +1 -0
- package/dist/Carousel-CXMYZL8H.js +1 -0
- package/dist/ChainedSelect-BQK0j-pA.js +1 -0
- package/dist/Chart-uJ8v1OSG.js +1 -0
- package/dist/ChartRadios-C9Ov2SCd.js +1 -0
- package/dist/Checkbox-DAq7LXTe.js +1 -0
- package/dist/Checkbox-DbHhD7iK.js +1 -0
- package/dist/Checkboxes-wud_gmq3.js +1 -0
- package/dist/Code-VjDT2QOS.js +1 -0
- package/dist/Collapse-CRIu-D5O.js +1 -0
- package/dist/Collapse-CknZKNKz.js +1 -0
- package/dist/CollapseGroup-DkMS5MXZ.js +1 -0
- package/dist/Color-CZV84qNC.js +1 -0
- package/dist/ColorPicker-R5D1ZNwb.js +1 -0
- package/dist/ColumnToggler-BxHry8EL.js +1 -0
- package/dist/ColumnToggler-D98cb4XS.js +1 -0
- package/dist/Combo-BUD7tb8b.js +1 -0
- package/dist/ConditionBuilder-DFF8QBcW.js +1 -0
- package/dist/Container-f-JHe2WE.js +1 -0
- package/dist/Control-dOQnC26j.js +1 -0
- package/dist/Custom-CqKL8xv_.js +1 -0
- package/dist/{Date-C9Kib09x.js → Date-BcRD4sv_.js} +1 -333
- package/dist/DateRange-BkGu5vJl.js +1 -0
- package/dist/Dialog-CQSNeqgY.js +1 -0
- package/dist/DiffEditor-DU9deT5c.js +1 -0
- package/dist/Divider-CYwXWwc5.js +1 -0
- package/dist/Drawer-DmUqxMKd.js +1 -0
- package/dist/DropDownButton-C0e2mksC.js +1 -0
- package/dist/Each-Bnhdfx44.js +1 -0
- package/dist/FieldSet-BRfWbiPG.js +1 -0
- package/dist/FieldSet-f-m_bp4h.js +1 -0
- package/dist/Flex-C0c49ZMP.js +1 -0
- package/dist/Formula-C82aVdAD.js +1 -0
- package/dist/Grid2D-BJPrAz8w.js +1 -0
- package/dist/GridNav-DCCBgvz1.js +1 -0
- package/dist/Group-D_2Fn4zB.js +1 -0
- package/dist/HBox-CG3Ad5us.js +1 -0
- package/dist/HBox-CRrACS8I.js +1 -0
- package/dist/Hidden-SaNCTMlZ.js +1 -0
- package/dist/IFrame-2LIicqpq.js +1 -0
- package/dist/Icon-3_vNko-P.js +1 -0
- package/dist/IconPicker-DAMClR_z.js +1 -0
- package/dist/IconPickerIcons-DN0pqJHt.js +1 -0
- package/dist/IconSelect-CHM0oHqd.js +1 -0
- package/dist/IconSelectStore-MNwivoh-.js +1 -0
- package/dist/Image-Br7JbiAF.js +1 -0
- package/dist/Image-hHgZkb5C.js +1 -0
- package/dist/Images-ZGJfaN-q.js +1 -0
- package/dist/InputArray-D3y772RO.js +1 -0
- package/dist/InputCity-CF6mEwuH.js +1 -0
- package/dist/InputColor-CYmzXu5I.js +1 -0
- package/dist/InputDate-BldJd84x.js +1 -0
- package/dist/InputDateRange-KzSlI2fv.js +1 -0
- package/dist/InputExcel-CJZWvZFT.js +1 -0
- package/dist/InputFile-C0FUNeFM.js +1 -0
- package/dist/InputFile-DFjvYmV3.js +1 -0
- package/dist/InputFormula-BKxq41uR.js +1 -0
- package/dist/InputGroup-wvaymJ-V.js +1 -0
- package/dist/InputImage-CLuXGhoy.js +1 -0
- package/dist/InputImage-DasZBpb-.js +1 -0
- package/dist/InputMonthRange-DVRnBZ4I.js +1 -0
- package/dist/InputNumber-BjzsM73z.js +1 -0
- package/dist/InputQuarterRange-DQuiFCOb.js +1 -0
- package/dist/InputRange-C97bKrW6.js +1 -0
- package/dist/InputRating-CpFNTZKA.js +1 -0
- package/dist/InputRepeat-CN2KxX7g.js +1 -0
- package/dist/InputRichText-BXjRSQFh.js +1 -0
- package/dist/InputRichText-DdyJFH82.js +1 -0
- package/dist/InputSignature-CsxuK757.js +1 -0
- package/dist/InputSubForm-Ddweo6dR.js +1 -0
- package/dist/InputTable-Bt8U_tyA.js +1 -0
- package/dist/InputTag-kg2v747D.js +1 -0
- package/dist/InputText-bKR0VgA6.js +1 -0
- package/dist/InputTree-DbdS4b2m.js +1 -0
- package/dist/InputVerificationCode-DcFJRWeR.js +1 -0
- package/dist/InputYearRange-ChXlMgCi.js +1 -0
- package/dist/JSONSchema-C_VjFVVN.js +1 -0
- package/dist/JSONSchemaEditor-CEgywCvJ.js +1 -0
- package/dist/Json-DqjhkjHF.js +1 -0
- package/dist/Link-9hUnE5FW.js +1 -0
- package/dist/List-BBntusL0.js +1 -0
- package/dist/List-C8nPjG1-.js +1 -0
- package/dist/ListSelect-lX84FGAP.js +1 -0
- package/dist/LocationPicker-DnA8QpYh.js +1 -0
- package/dist/Log-CRxPlj86.js +1 -0
- package/dist/Mapping-X2IRbppi.js +1 -0
- package/dist/Markdown-BlxcmdTl.js +1 -0
- package/dist/Markdown-ByuMaB2P.js +1 -0
- package/dist/MatrixCheckboxes-BvBU1E-4.js +1 -0
- package/dist/MultilineText-BmbIytvk.js +1 -0
- package/dist/Nav-BxS7kBh9.js +1 -0
- package/dist/NestedSelect-CbWnin5b.js +1 -0
- package/dist/Number-CGYpvopX.js +1 -0
- package/dist/OfficeViewer-DBFFaH5P.js +1 -0
- package/dist/Operation-j5yIUDkZ.js +1 -0
- package/dist/Page-CJ2gK3vA.js +1 -0
- package/dist/Pagination-BDEmomCQ.js +1 -0
- package/dist/PaginationWrapper-Bnsk8oIg.js +1 -0
- package/dist/Panel-DKpM1Qfc.js +1 -0
- package/dist/Password-CzHAzi8M.js +1 -0
- package/dist/Picker-D5WVPGTg.js +1 -0
- package/dist/Plain-oyGNzh1N.js +1 -0
- package/dist/PopUp-DaheG-Vv.js +104 -0
- package/dist/Portlet-dA2P7U6i.js +1 -0
- package/dist/Progress-D2LXKzUA.js +1 -0
- package/dist/Property-CekATdUy.js +1 -0
- package/dist/QRCode-DPoyEXK3.js +2 -0
- package/dist/Radio-HhPQKIKk.js +1 -0
- package/dist/Radios-DVzovX2u.js +1 -0
- package/dist/Remark-CHTOdmdn.js +1 -0
- package/dist/Remark-bXVj7ffU.js +1 -0
- package/dist/RichText-wfPXQmb8.js +1 -0
- package/dist/SearchBox-Jlwq8w3o.js +1 -0
- package/dist/Select-DCB0i1Ga.js +1 -0
- package/dist/Service-Bmfl8VSD.js +1 -0
- package/dist/Shape-5ZBBe1x0.js +1 -0
- package/dist/Slider-pb5I0Xb2.js +1 -0
- package/dist/SparkLine-C4x34-6K.js +1 -0
- package/dist/Spinner-SR1wYU_1.js +1 -0
- package/dist/StaticHoc-DVc-5HZA.js +1 -0
- package/dist/Status-7D4DBjk6.js +1 -0
- package/dist/Steps-Dd_3MM0y.js +1 -0
- package/dist/Switch-CZqzJH45.js +1 -0
- package/dist/SwitchContainer-L7IwrheV.js +1 -0
- package/dist/Table-CYUuVDxA.js +1 -0
- package/dist/Table-D-9NfAqg.js +1 -0
- package/dist/Table2-CIZ93hrj.js +1 -0
- package/dist/TableView-CigjcDJc.js +1 -0
- package/dist/Tabs-Cljj-nTv.js +1 -0
- package/dist/TabsTransfer-BXwrW4NX.js +1 -0
- package/dist/TabsTransferPicker-DB005nER.js +1 -0
- package/dist/Tag-CcfwT8FM.js +1 -0
- package/dist/Tasks-DeVW2Tdg.js +1 -0
- package/dist/Textarea-zsHcK0rZ.js +1 -0
- package/dist/Timeline-D_3FRzUa.js +1 -0
- package/dist/TooltipWrapper-BElQhX67.js +1 -0
- package/dist/Tpl-OPfW08Kh.js +1 -0
- package/dist/Transfer-Cx1Ijzfh.js +1 -0
- package/dist/Transfer-DboPBh8V.js +1 -0
- package/dist/TransferPicker-xlJfwHxP.js +1 -0
- package/dist/TreeSelect-BTKg9Ldf.js +1 -0
- package/dist/UUID-BkwpeiT9.js +1 -0
- package/dist/UserSelect-CsY5PQp9.js +1 -0
- package/dist/VBox-Ca4DBR6-.js +1 -0
- package/dist/Video-CXzxq3vU.js +1 -0
- package/dist/WebComponent-DYxJeu6a.js +1 -0
- package/dist/Wizard-fqzq2OCn.js +1 -0
- package/dist/Words-V70QrARW.js +1 -0
- package/dist/Wrapper-BtFbBBXy.js +1 -0
- package/dist/_getTag-x788Ng9o.js +1 -0
- package/dist/beneficiary-form-BmmdIRc0.js +10 -0
- package/dist/client-BoE-UyzU.js +1 -0
- package/dist/crypto-js-Cv2Y8hvs.js +1 -0
- package/dist/doc-CmSOujco.js +1 -0
- package/dist/es-DY5--nMG.js +1 -0
- package/dist/esm-BMvKJM5q.js +4 -0
- package/dist/esm-BbZME5Ac.js +28 -0
- package/dist/esm-DyRrwLZv.js +1 -0
- package/dist/function-C8ta9DKb.js +3 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1 -96
- package/dist/isEqual-BxlJ5vH7.js +1 -0
- package/dist/main-CLaM-mkN.js +1 -0
- package/dist/mi18n-react.esm-BFa-Q7wX.js +1 -0
- package/dist/objectSpread2-BCtAXXta.js +1 -0
- package/dist/omitBy-NMzUUhXs.js +1 -0
- package/dist/papaparse.min-CU0u_rom.js +1 -0
- package/dist/react-BW4ssgUo.js +1 -0
- package/dist/react-cropper.es-zEJdZmmN.js +1 -0
- package/dist/react-dom-DmgFzc6z.js +1 -0
- package/dist/rolldown-runtime-DcYi-9oA.js +1 -0
- package/dist/tslib.es6-C2q27PUR.js +1 -0
- package/dist/xor-CSkTraTY.js +1 -0
- package/package.json +23 -17
- package/dist/AMIS--SZXSfKF.js +0 -23
- package/dist/Action-D7O1nxY2.js +0 -10
- package/dist/Action-DpRShNiD.js +0 -646
- package/dist/Alert-sakO0sgo.js +0 -34
- package/dist/AnchorNav-1OrNpCPU.js +0 -88
- package/dist/App-mzRv6t1L.js +0 -213
- package/dist/Audio-CmGRzA8C.js +0 -324
- package/dist/Avatar-C0g_Dcsr.js +0 -75
- package/dist/BarCode-Bgr2-a69.js +0 -35
- package/dist/BarCode-f_fuunrs.js +0 -2708
- package/dist/Breadcrumb-3pb8787J.js +0 -38
- package/dist/ButtonGroup-DBJgP_U6.js +0 -16
- package/dist/ButtonGroupSelect-BV8FHgm0.js +0 -93
- package/dist/ButtonGroupSelect-Cl2irnYh.js +0 -8
- package/dist/ButtonToolbar-DMCBgh9w.js +0 -36
- package/dist/CRUD-DFP1DIcc.js +0 -1048
- package/dist/CRUD2-BGpsdJ3D.js +0 -660
- package/dist/Calendar-D_aFq70_.js +0 -18
- package/dist/Card-C54K-VRd.js +0 -14
- package/dist/Card-FmRg7dLO.js +0 -346
- package/dist/Card2-Blr9gGoC.js +0 -68
- package/dist/Cards-B7J3bYtx.js +0 -485
- package/dist/Carousel-Ba4JeK7n.js +0 -414
- package/dist/ChainedSelect-CUU7qCFQ.js +0 -212
- package/dist/Chart-BmOD9NEG.js +0 -276
- package/dist/ChartRadios-Bm7pnICh.js +0 -93
- package/dist/Checkbox-CcjG9Mv4.js +0 -157
- package/dist/Checkbox-yvPZaH8N.js +0 -10
- package/dist/Checkboxes-Babxqar9.js +0 -285
- package/dist/Code-B7FhTic-.js +0 -111
- package/dist/Collapse-BYdoEOZ2.js +0 -124
- package/dist/Collapse-C9riUcKK.js +0 -9
- package/dist/CollapseGroup-B7DmpWY1.js +0 -74
- package/dist/Color-BM1Qa0C1.js +0 -34
- package/dist/ColorPicker-BXmi_OWm.js +0 -5258
- package/dist/ColumnToggler-3QYyVjVf.js +0 -81
- package/dist/ColumnToggler-D0NlxwMq.js +0 -10
- package/dist/ColumnToggler-DLFwzPef.js +0 -228
- package/dist/Combo-BsouWVHB.js +0 -748
- package/dist/Combo-Cabifvbg.js +0 -9
- package/dist/ConditionBuilder-BacjsaTh.js +0 -113
- package/dist/Container-C5-66abH.js +0 -86
- package/dist/Control-krTArjIv.js +0 -38
- package/dist/Custom-DawY4LgO.js +0 -73
- package/dist/DateRange-D2lKQT_J.js +0 -34
- package/dist/Dialog-oNlQLXnk.js +0 -508
- package/dist/DiffEditor-DY8XdtJS.js +0 -104
- package/dist/Divider-BgpLhaqf.js +0 -70
- package/dist/Drawer-DslUxLot.js +0 -448
- package/dist/DropDownButton-BIuAagmC.js +0 -193
- package/dist/Each-CA8gaJkL.js +0 -79
- package/dist/FieldSet-Cg1pE5gA.js +0 -64
- package/dist/FieldSet-DVAa2H_Q.js +0 -10
- package/dist/Flex-Baz4bI9u.js +0 -99
- package/dist/Formula-ABhgdx_Q.js +0 -72
- package/dist/Grid2D-DmdOVnhu.js +0 -84
- package/dist/GridNav-lHAunT1M.js +0 -56
- package/dist/Group-7sGnjMli.js +0 -85
- package/dist/HBox-DxchKWfv.js +0 -7
- package/dist/HBox-s88aG83B.js +0 -48
- package/dist/Hidden-BrTWoL8d.js +0 -27
- package/dist/IFrame-DaZ1v2-9.js +0 -141
- package/dist/Icon-DNbdrsn8.js +0 -74
- package/dist/IconPicker-DqNlu5Zd.js +0 -230
- package/dist/IconPickerIcons-dHFcDHrv.js +0 -15
- package/dist/IconSelect-CvBITEcy.js +0 -254
- package/dist/IconSelectStore-CTqJPujB.js +0 -45
- package/dist/Image-BBs8tnny.js +0 -258
- package/dist/Image-DM9_Ii2b.js +0 -9
- package/dist/Images-cRmH380W.js +0 -377
- package/dist/InputArray-Dov-RBrP.js +0 -42
- package/dist/InputCity-owVpsIaD.js +0 -351
- package/dist/InputColor-DhVJhPp6.js +0 -53
- package/dist/InputDate-DLOwHbwT.js +0 -10
- package/dist/InputDate-DWaIvnAp.js +0 -292
- package/dist/InputDateRange-CnGNwIFe.js +0 -10
- package/dist/InputDateRange-Diqw3JLp.js +0 -170
- package/dist/InputExcel-BjWNYvnN.js +0 -427
- package/dist/InputFile-89BOwWJE.js +0 -601
- package/dist/InputFile-DOym0HDc.js +0 -10
- package/dist/InputFormula-CV5j31Ow.js +0 -75
- package/dist/InputGroup-C7O2ba0g.js +0 -112
- package/dist/InputImage-BF7DAF8L.js +0 -12
- package/dist/InputImage-DcsVQf7c.js +0 -834
- package/dist/InputMonthRange-BjD3hmwp.js +0 -76
- package/dist/InputNumber-DKMOkba-.js +0 -255
- package/dist/InputQuarterRange-DZKnkZ_s.js +0 -76
- package/dist/InputRange-DiHKf3tP.js +0 -266
- package/dist/InputRating-Bc8Od5b8.js +0 -115
- package/dist/InputRepeat-BhF5KVB2.js +0 -179
- package/dist/InputRichText-BBBdDFA2.js +0 -7
- package/dist/InputRichText-CieHn0fO.js +0 -198
- package/dist/InputSignature-CbfGjJlU.js +0 -495
- package/dist/InputSubForm-BkM_3Rjg.js +0 -236
- package/dist/InputTable-CgOqC6Pc.js +0 -900
- package/dist/InputTag-35kCFM5X.js +0 -464
- package/dist/InputText-BbEjGBtv.js +0 -541
- package/dist/InputTree-DchkyMbL.js +0 -311
- package/dist/InputVerificationCode-kMxc8wW7.js +0 -62
- package/dist/InputYearRange-WJKJeloR.js +0 -76
- package/dist/JSONSchema-Bs0EWcHb.js +0 -47
- package/dist/JSONSchemaEditor-BoAK9FOL.js +0 -66
- package/dist/Json-DFjy1HRw.js +0 -80
- package/dist/Link-nYGLB6gy.js +0 -57
- package/dist/List-D3183f4Z.js +0 -14
- package/dist/List-W3IAZR_6.js +0 -671
- package/dist/ListSelect-DWGbHVxd.js +0 -104
- package/dist/LocationPicker-2G9yOxtm.js +0 -121
- package/dist/Log-D6VU702y.js +0 -207
- package/dist/Mapping-BATMD_xR.js +0 -118
- package/dist/Markdown-Baxbu8lV.js +0 -53
- package/dist/Markdown-Cg-xahnQ.js +0 -6205
- package/dist/MatrixCheckboxes-B9hmFakW.js +0 -262
- package/dist/MultilineText-0fMQhUCY.js +0 -28
- package/dist/Nav-DHIehZOG.js +0 -639
- package/dist/NestedSelect-tQztH4PI.js +0 -517
- package/dist/Number-Cndoqeyx.js +0 -40
- package/dist/OfficeViewer-BVD_e5eZ.js +0 -169
- package/dist/Operation-DIv6n9dT.js +0 -36
- package/dist/Page-WoZtIIfk.js +0 -459
- package/dist/Pagination-DHvYHd_3.js +0 -61
- package/dist/PaginationWrapper-CtIJOXdw.js +0 -58
- package/dist/Panel-Dt4KQrKa.js +0 -156
- package/dist/Password-Wjfq7MSA.js +0 -45
- package/dist/Picker-Cu52ukRg.js +0 -488
- package/dist/Plain-DIlG753a.js +0 -62
- package/dist/PopUp-Bgkvnd4X.js +0 -2761
- package/dist/Portlet-3Nh2cWeq.js +0 -107
- package/dist/Progress-Dh2FTsky.js +0 -89
- package/dist/Property-DRSklFlT.js +0 -72
- package/dist/QRCode-BeUD-g8-.js +0 -1139
- package/dist/Radio-DrJJfNFI.js +0 -89
- package/dist/Radios-CL3mreXa.js +0 -176
- package/dist/Remark-Cmo-r6dp.js +0 -81
- package/dist/Remark-DuAbEmCW.js +0 -9
- package/dist/RichText-jkERm8rC.js +0 -13807
- package/dist/SearchBox-CTxSMcV2.js +0 -112
- package/dist/Select-D3LTuHwe.js +0 -362
- package/dist/Service-CN2v_Z9z.js +0 -347
- package/dist/Shape-Bi93tLCN.js +0 -37
- package/dist/Slider-C0jqeBGt.js +0 -78
- package/dist/SparkLine-Ce6-mdqG.js +0 -38
- package/dist/Spinner-DZDEct1A.js +0 -27
- package/dist/StaticHoc-BAdofX5w.js +0 -80
- package/dist/Status-CDC2e2_o.js +0 -93
- package/dist/Steps-CGyTaaVI.js +0 -271
- package/dist/Switch-QA0l7uEg.js +0 -100
- package/dist/SwitchContainer-zXvaPFlG.js +0 -93
- package/dist/Table-B8tWpiPU.js +0 -13
- package/dist/Table-DzGbNFxu.js +0 -3190
- package/dist/Table2-CQZ3und9.js +0 -1198
- package/dist/TableView-nlFBhvL1.js +0 -115
- package/dist/Tabs-XleB-2Mc.js +0 -487
- package/dist/TabsTransfer-CLLGXAkP.js +0 -188
- package/dist/TabsTransfer-Cs_Rg0TU.js +0 -11
- package/dist/TabsTransferPicker-VA3Vlla-.js +0 -99
- package/dist/Tag-tr5RKBfl.js +0 -75
- package/dist/Tasks-C2-ayUd-.js +0 -305
- package/dist/Textarea-_KbIxQet.js +0 -132
- package/dist/Timeline-CctoJRQo.js +0 -87
- package/dist/TooltipWrapper-BGNr8U2K.js +0 -83
- package/dist/Tpl-C28lpITc.js +0 -152
- package/dist/Transfer-Hjc9zR8W.js +0 -288
- package/dist/Transfer-tYS9Rx8U.js +0 -10
- package/dist/TransferPicker-C7Wzyuct.js +0 -123
- package/dist/TreeSelect-DAlWCEqs.js +0 -456
- package/dist/UUID-B5UZnlxW.js +0 -33
- package/dist/UserSelect-DqZZQB83.js +0 -170
- package/dist/VBox-C1OZZT8-.js +0 -38
- package/dist/Video-C1FRwLLL.js +0 -4068
- package/dist/WebComponent-g8Zc9zXp.js +0 -29
- package/dist/Wizard-DkqCsGz-.js +0 -585
- package/dist/Words-DUuKqyIf.js +0 -113
- package/dist/Wrapper-DmZ78GYG.js +0 -39
- package/dist/_getTag-CWmGzIun.js +0 -509
- package/dist/beneficiary-form-DCl2L16P.js +0 -3773
- package/dist/client-BEyTOBXT.js +0 -26
- package/dist/crypto-js-DUFYRUag.js +0 -3694
- package/dist/doc-B-Im0Knb.js +0 -1731
- package/dist/es-CsUppg1O.js +0 -837
- package/dist/esm-Cj_BRpNI.js +0 -35832
- package/dist/esm-DEyK_c3W.js +0 -25349
- package/dist/esm-SCCPj-cs.js +0 -93004
- package/dist/function-CNJMA2ft.js +0 -3151
- package/dist/isEqual-E2NjjS0_.js +0 -641
- package/dist/main-Bf7MY24z.js +0 -4475
- package/dist/mi18n-react.esm-y-nzmW0A.js +0 -1138
- package/dist/objectSpread2-smpSKONV.js +0 -27
- package/dist/omitBy-CD5n2TA7.js +0 -39
- package/dist/papaparse.min-3xa9r8Qi.js +0 -496
- package/dist/react-RxxVsDMo.js +0 -1205
- package/dist/react-cropper.es-anJ2KE7h.js +0 -1260
- package/dist/react-dom-D1mxcNoQ.js +0 -16864
- package/dist/react-g40aymqL.js +0 -2
- package/dist/rolldown-runtime-DwW8Tac2.js +0 -21
- package/dist/tslib.es6-DJiA3ePV.js +0 -170
- package/dist/xor-D-ggRBpm.js +0 -20
package/dist/Action-DpRShNiD.js
DELETED
|
@@ -1,646 +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, c as __rest, i as __extends, n as __awaiter, o as __metadata, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import { J as CustomStyle, Nn as autobind, Vr as uuid, Xr as filter, Z as setThemeClassName, dn as str2AsyncFunction, dt as ScopedContext, it as Renderer, kt as require_pick, ln as normalizeApi, oi as createObject, tt as themeable, ui as isObject, yn as require_omit } from "./esm-DEyK_c3W.js";
|
|
5
|
-
import { R as withBadge } from "./esm-Cj_BRpNI.js";
|
|
6
|
-
import { a as TooltipWrapper$1, n as Button$1, s as Icon } from "./PopUp-Bgkvnd4X.js";
|
|
7
|
-
import { r as filterContents } from "./Remark-Cmo-r6dp.js";
|
|
8
|
-
var isff = typeof navigator < "u" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
|
|
9
|
-
function addEvent(e, t, n, r) {
|
|
10
|
-
e.addEventListener ? e.addEventListener(t, n, r) : e.attachEvent && e.attachEvent(`on${t}`, n);
|
|
11
|
-
}
|
|
12
|
-
function removeEvent(e, t, n, r) {
|
|
13
|
-
e.removeEventListener ? e.removeEventListener(t, n, r) : e.detachEvent && e.detachEvent(`on${t}`, n);
|
|
14
|
-
}
|
|
15
|
-
function getMods(e, t) {
|
|
16
|
-
let n = t.slice(0, t.length - 1);
|
|
17
|
-
for (let t = 0; t < n.length; t++) n[t] = e[n[t].toLowerCase()];
|
|
18
|
-
return n;
|
|
19
|
-
}
|
|
20
|
-
function getKeys(e) {
|
|
21
|
-
typeof e != "string" && (e = ""), e = e.replace(/\s/g, "");
|
|
22
|
-
let t = e.split(","), n = t.lastIndexOf("");
|
|
23
|
-
for (; n >= 0;) t[n - 1] += ",", t.splice(n, 1), n = t.lastIndexOf("");
|
|
24
|
-
return t;
|
|
25
|
-
}
|
|
26
|
-
function compareArray(e, t) {
|
|
27
|
-
let n = e.length >= t.length ? e : t, r = e.length >= t.length ? t : e, i = !0;
|
|
28
|
-
for (let e = 0; e < n.length; e++) r.indexOf(n[e]) === -1 && (i = !1);
|
|
29
|
-
return i;
|
|
30
|
-
}
|
|
31
|
-
var _keyMap = {
|
|
32
|
-
backspace: 8,
|
|
33
|
-
"⌫": 8,
|
|
34
|
-
tab: 9,
|
|
35
|
-
clear: 12,
|
|
36
|
-
enter: 13,
|
|
37
|
-
"↩": 13,
|
|
38
|
-
return: 13,
|
|
39
|
-
esc: 27,
|
|
40
|
-
escape: 27,
|
|
41
|
-
space: 32,
|
|
42
|
-
left: 37,
|
|
43
|
-
up: 38,
|
|
44
|
-
right: 39,
|
|
45
|
-
down: 40,
|
|
46
|
-
arrowup: 38,
|
|
47
|
-
arrowdown: 40,
|
|
48
|
-
arrowleft: 37,
|
|
49
|
-
arrowright: 39,
|
|
50
|
-
del: 46,
|
|
51
|
-
delete: 46,
|
|
52
|
-
ins: 45,
|
|
53
|
-
insert: 45,
|
|
54
|
-
home: 36,
|
|
55
|
-
end: 35,
|
|
56
|
-
pageup: 33,
|
|
57
|
-
pagedown: 34,
|
|
58
|
-
capslock: 20,
|
|
59
|
-
num_0: 96,
|
|
60
|
-
num_1: 97,
|
|
61
|
-
num_2: 98,
|
|
62
|
-
num_3: 99,
|
|
63
|
-
num_4: 100,
|
|
64
|
-
num_5: 101,
|
|
65
|
-
num_6: 102,
|
|
66
|
-
num_7: 103,
|
|
67
|
-
num_8: 104,
|
|
68
|
-
num_9: 105,
|
|
69
|
-
num_multiply: 106,
|
|
70
|
-
num_add: 107,
|
|
71
|
-
num_enter: 108,
|
|
72
|
-
num_subtract: 109,
|
|
73
|
-
num_decimal: 110,
|
|
74
|
-
num_divide: 111,
|
|
75
|
-
"⇪": 20,
|
|
76
|
-
",": 188,
|
|
77
|
-
".": 190,
|
|
78
|
-
"/": 191,
|
|
79
|
-
"`": 192,
|
|
80
|
-
"-": isff ? 173 : 189,
|
|
81
|
-
"=": isff ? 61 : 187,
|
|
82
|
-
";": isff ? 59 : 186,
|
|
83
|
-
"'": 222,
|
|
84
|
-
"{": 219,
|
|
85
|
-
"}": 221,
|
|
86
|
-
"[": 219,
|
|
87
|
-
"]": 221,
|
|
88
|
-
"\\": 220
|
|
89
|
-
}, _modifier = {
|
|
90
|
-
"⇧": 16,
|
|
91
|
-
shift: 16,
|
|
92
|
-
"⌥": 18,
|
|
93
|
-
alt: 18,
|
|
94
|
-
option: 18,
|
|
95
|
-
"⌃": 17,
|
|
96
|
-
ctrl: 17,
|
|
97
|
-
control: 17,
|
|
98
|
-
"⌘": 91,
|
|
99
|
-
cmd: 91,
|
|
100
|
-
meta: 91,
|
|
101
|
-
command: 91
|
|
102
|
-
}, modifierMap = {
|
|
103
|
-
16: "shiftKey",
|
|
104
|
-
18: "altKey",
|
|
105
|
-
17: "ctrlKey",
|
|
106
|
-
91: "metaKey",
|
|
107
|
-
shiftKey: 16,
|
|
108
|
-
ctrlKey: 17,
|
|
109
|
-
altKey: 18,
|
|
110
|
-
metaKey: 91
|
|
111
|
-
}, _mods = {
|
|
112
|
-
16: !1,
|
|
113
|
-
18: !1,
|
|
114
|
-
17: !1,
|
|
115
|
-
91: !1
|
|
116
|
-
}, _handlers = {};
|
|
117
|
-
for (let e = 1; e < 20; e++) _keyMap[`f${e}`] = 111 + e;
|
|
118
|
-
var _downKeys = [], winListendFocus = null, _scope = "all", elementEventMap = /* @__PURE__ */ new Map(), code = (e) => _keyMap[e.toLowerCase()] || _modifier[e.toLowerCase()] || e.toUpperCase().charCodeAt(0), getKey = (e) => Object.keys(_keyMap).find((t) => _keyMap[t] === e), getModifier = (e) => Object.keys(_modifier).find((t) => _modifier[t] === e);
|
|
119
|
-
function setScope(e) {
|
|
120
|
-
_scope = e || "all";
|
|
121
|
-
}
|
|
122
|
-
function getScope() {
|
|
123
|
-
return _scope || "all";
|
|
124
|
-
}
|
|
125
|
-
function getPressedKeyCodes() {
|
|
126
|
-
return _downKeys.slice(0);
|
|
127
|
-
}
|
|
128
|
-
function getPressedKeyString() {
|
|
129
|
-
return _downKeys.map((e) => getKey(e) || getModifier(e) || String.fromCharCode(e));
|
|
130
|
-
}
|
|
131
|
-
function getAllKeyCodes() {
|
|
132
|
-
let e = [];
|
|
133
|
-
return Object.keys(_handlers).forEach((t) => {
|
|
134
|
-
_handlers[t].forEach((t) => {
|
|
135
|
-
let { key: n, scope: r, mods: i, shortcut: a } = t;
|
|
136
|
-
e.push({
|
|
137
|
-
scope: r,
|
|
138
|
-
shortcut: a,
|
|
139
|
-
mods: i,
|
|
140
|
-
keys: n.split("+").map((e) => code(e))
|
|
141
|
-
});
|
|
142
|
-
});
|
|
143
|
-
}), e;
|
|
144
|
-
}
|
|
145
|
-
function filter$1(e) {
|
|
146
|
-
let t = e.target || e.srcElement, { tagName: n } = t, r = !0, i = n === "INPUT" && ![
|
|
147
|
-
"checkbox",
|
|
148
|
-
"radio",
|
|
149
|
-
"range",
|
|
150
|
-
"button",
|
|
151
|
-
"file",
|
|
152
|
-
"reset",
|
|
153
|
-
"submit",
|
|
154
|
-
"color"
|
|
155
|
-
].includes(t.type);
|
|
156
|
-
return (t.isContentEditable || (i || n === "TEXTAREA" || n === "SELECT") && !t.readOnly) && (r = !1), r;
|
|
157
|
-
}
|
|
158
|
-
function isPressed(e) {
|
|
159
|
-
return typeof e == "string" && (e = code(e)), _downKeys.indexOf(e) !== -1;
|
|
160
|
-
}
|
|
161
|
-
function deleteScope(e, t) {
|
|
162
|
-
let n, r;
|
|
163
|
-
for (let t in e ||= getScope(), _handlers) if (Object.prototype.hasOwnProperty.call(_handlers, t)) for (n = _handlers[t], r = 0; r < n.length;) n[r].scope === e ? n.splice(r, 1).forEach((e) => {
|
|
164
|
-
let { element: t } = e;
|
|
165
|
-
return removeKeyEvent(t);
|
|
166
|
-
}) : r++;
|
|
167
|
-
getScope() === e && setScope(t || "all");
|
|
168
|
-
}
|
|
169
|
-
function clearModifier(e) {
|
|
170
|
-
let t = e.keyCode || e.which || e.charCode;
|
|
171
|
-
e.key && e.key.toLowerCase() === "capslock" && (t = code(e.key));
|
|
172
|
-
let n = _downKeys.indexOf(t);
|
|
173
|
-
if (n >= 0 && _downKeys.splice(n, 1), e.key && e.key.toLowerCase() === "meta" && _downKeys.splice(0, _downKeys.length), (t === 93 || t === 224) && (t = 91), t in _mods) for (let e in _mods[t] = !1, _modifier) _modifier[e] === t && (hotkeys[e] = !1);
|
|
174
|
-
}
|
|
175
|
-
function unbind(e) {
|
|
176
|
-
if (e === void 0) Object.keys(_handlers).forEach((e) => {
|
|
177
|
-
Array.isArray(_handlers[e]) && _handlers[e].forEach((e) => eachUnbind(e)), delete _handlers[e];
|
|
178
|
-
}), removeKeyEvent(null);
|
|
179
|
-
else if (Array.isArray(e)) e.forEach((e) => {
|
|
180
|
-
e.key && eachUnbind(e);
|
|
181
|
-
});
|
|
182
|
-
else if (typeof e == "object") e.key && eachUnbind(e);
|
|
183
|
-
else if (typeof e == "string") {
|
|
184
|
-
let [t, n] = [...arguments].slice(1);
|
|
185
|
-
typeof t == "function" && (n = t, t = ""), eachUnbind({
|
|
186
|
-
key: e,
|
|
187
|
-
scope: t,
|
|
188
|
-
method: n,
|
|
189
|
-
splitKey: "+"
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
var eachUnbind = (e) => {
|
|
194
|
-
let { key: t, scope: n, method: r, splitKey: i = "+" } = e;
|
|
195
|
-
getKeys(t).forEach((e) => {
|
|
196
|
-
let t = e.split(i), a = t.length, o = t[a - 1], s = o === "*" ? "*" : code(o);
|
|
197
|
-
if (!_handlers[s]) return;
|
|
198
|
-
n ||= getScope();
|
|
199
|
-
let c = a > 1 ? getMods(_modifier, t) : [], l = [];
|
|
200
|
-
_handlers[s] = _handlers[s].filter((e) => {
|
|
201
|
-
let t = (r ? e.method === r : !0) && e.scope === n && compareArray(e.mods, c);
|
|
202
|
-
return t && l.push(e.element), !t;
|
|
203
|
-
}), l.forEach((e) => removeKeyEvent(e));
|
|
204
|
-
});
|
|
205
|
-
};
|
|
206
|
-
function eventHandler(e, t, n, r) {
|
|
207
|
-
if (t.element !== r) return;
|
|
208
|
-
let i;
|
|
209
|
-
if (t.scope === n || t.scope === "all") {
|
|
210
|
-
for (let e in i = t.mods.length > 0, _mods) Object.prototype.hasOwnProperty.call(_mods, e) && (!_mods[e] && t.mods.indexOf(+e) > -1 || _mods[e] && t.mods.indexOf(+e) === -1) && (i = !1);
|
|
211
|
-
(t.mods.length === 0 && !_mods[16] && !_mods[18] && !_mods[17] && !_mods[91] || i || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(_downKeys), t.method(e, t) === !1 && (e.preventDefault ? e.preventDefault() : e.returnValue = !1, e.stopPropagation && e.stopPropagation(), e.cancelBubble &&= !0));
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
function dispatch(e, t) {
|
|
215
|
-
let n = _handlers["*"], r = e.keyCode || e.which || e.charCode;
|
|
216
|
-
if (e.key && e.key.toLowerCase() === "capslock" || !hotkeys.filter.call(this, e)) return;
|
|
217
|
-
if ((r === 93 || r === 224) && (r = 91), _downKeys.indexOf(r) === -1 && r !== 229 && _downKeys.push(r), [
|
|
218
|
-
"metaKey",
|
|
219
|
-
"ctrlKey",
|
|
220
|
-
"altKey",
|
|
221
|
-
"shiftKey"
|
|
222
|
-
].forEach((t) => {
|
|
223
|
-
let n = modifierMap[t];
|
|
224
|
-
e[t] && _downKeys.indexOf(n) === -1 ? _downKeys.push(n) : !e[t] && _downKeys.indexOf(n) > -1 ? _downKeys.splice(_downKeys.indexOf(n), 1) : t === "metaKey" && e[t] && (_downKeys = _downKeys.filter((e) => e in modifierMap || e === r));
|
|
225
|
-
}), r in _mods) {
|
|
226
|
-
for (let t in _mods[r] = !0, _modifier) Object.prototype.hasOwnProperty.call(_modifier, t) && (hotkeys[t] = e[modifierMap[_modifier[t]]]);
|
|
227
|
-
if (!n) return;
|
|
228
|
-
}
|
|
229
|
-
for (let t in _mods) Object.prototype.hasOwnProperty.call(_mods, t) && (_mods[t] = e[modifierMap[t]]);
|
|
230
|
-
e.getModifierState && !(e.altKey && !e.ctrlKey) && e.getModifierState("AltGraph") && (_downKeys.indexOf(17) === -1 && _downKeys.push(17), _downKeys.indexOf(18) === -1 && _downKeys.push(18), _mods[17] = !0, _mods[18] = !0);
|
|
231
|
-
let i = getScope();
|
|
232
|
-
if (n) for (let r = 0; r < n.length; r++) n[r].scope === i && (e.type === "keydown" && n[r].keydown || e.type === "keyup" && n[r].keyup) && eventHandler(e, n[r], i, t);
|
|
233
|
-
if (!(r in _handlers)) return;
|
|
234
|
-
let a = _handlers[r], o = a.length;
|
|
235
|
-
for (let n = 0; n < o; n++) if ((e.type === "keydown" && a[n].keydown || e.type === "keyup" && a[n].keyup) && a[n].key) {
|
|
236
|
-
let r = a[n], { splitKey: o } = r, s = r.key.split(o), c = [];
|
|
237
|
-
for (let e = 0; e < s.length; e++) c.push(code(s[e]));
|
|
238
|
-
c.sort().join("") === _downKeys.sort().join("") && eventHandler(e, r, i, t);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
function hotkeys(e, t, n) {
|
|
242
|
-
_downKeys = [];
|
|
243
|
-
let r = getKeys(e), i = [], a = "all", o = document, s = 0, c = !1, l = !0, u = "+", d = !1, f = !1;
|
|
244
|
-
for (n === void 0 && typeof t == "function" && (n = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (a = t.scope), t.element && (o = t.element), t.keyup && (c = t.keyup), t.keydown !== void 0 && (l = t.keydown), t.capture !== void 0 && (d = t.capture), typeof t.splitKey == "string" && (u = t.splitKey), t.single === !0 && (f = !0)), typeof t == "string" && (a = t), f && unbind(e, a); s < r.length; s++) e = r[s].split(u), i = [], e.length > 1 && (i = getMods(_modifier, e)), e = e[e.length - 1], e = e === "*" ? "*" : code(e), e in _handlers || (_handlers[e] = []), _handlers[e].push({
|
|
245
|
-
keyup: c,
|
|
246
|
-
keydown: l,
|
|
247
|
-
scope: a,
|
|
248
|
-
mods: i,
|
|
249
|
-
shortcut: r[s],
|
|
250
|
-
method: n,
|
|
251
|
-
key: r[s],
|
|
252
|
-
splitKey: u,
|
|
253
|
-
element: o
|
|
254
|
-
});
|
|
255
|
-
if (o !== void 0 && window) {
|
|
256
|
-
if (!elementEventMap.has(o)) {
|
|
257
|
-
let e = function() {
|
|
258
|
-
return dispatch(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.event, o);
|
|
259
|
-
}, t = function() {
|
|
260
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.event;
|
|
261
|
-
dispatch(e, o), clearModifier(e);
|
|
262
|
-
};
|
|
263
|
-
elementEventMap.set(o, {
|
|
264
|
-
keydownListener: e,
|
|
265
|
-
keyupListenr: t,
|
|
266
|
-
capture: d
|
|
267
|
-
}), addEvent(o, "keydown", e, d), addEvent(o, "keyup", t, d);
|
|
268
|
-
}
|
|
269
|
-
if (!winListendFocus) {
|
|
270
|
-
let e = () => {
|
|
271
|
-
_downKeys = [];
|
|
272
|
-
};
|
|
273
|
-
winListendFocus = {
|
|
274
|
-
listener: e,
|
|
275
|
-
capture: d
|
|
276
|
-
}, addEvent(window, "focus", e, d);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
function trigger(e) {
|
|
281
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "all";
|
|
282
|
-
Object.keys(_handlers).forEach((n) => {
|
|
283
|
-
_handlers[n].filter((n) => n.scope === t && n.shortcut === e).forEach((e) => {
|
|
284
|
-
e && e.method && e.method();
|
|
285
|
-
});
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
function removeKeyEvent(e) {
|
|
289
|
-
let t = Object.values(_handlers).flat();
|
|
290
|
-
if (t.findIndex((t) => {
|
|
291
|
-
let { element: n } = t;
|
|
292
|
-
return n === e;
|
|
293
|
-
}) < 0) {
|
|
294
|
-
let { keydownListener: t, keyupListenr: n, capture: r } = elementEventMap.get(e) || {};
|
|
295
|
-
t && n && (removeEvent(e, "keyup", n, r), removeEvent(e, "keydown", t, r), elementEventMap.delete(e));
|
|
296
|
-
}
|
|
297
|
-
if ((t.length <= 0 || elementEventMap.size <= 0) && (Object.keys(elementEventMap).forEach((e) => {
|
|
298
|
-
let { keydownListener: t, keyupListenr: n, capture: r } = elementEventMap.get(e) || {};
|
|
299
|
-
t && n && (removeEvent(e, "keyup", n, r), removeEvent(e, "keydown", t, r), elementEventMap.delete(e));
|
|
300
|
-
}), elementEventMap.clear(), Object.keys(_handlers).forEach((e) => delete _handlers[e]), winListendFocus)) {
|
|
301
|
-
let { listener: e, capture: t } = winListendFocus;
|
|
302
|
-
removeEvent(window, "focus", e, t), winListendFocus = null;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
var _api = {
|
|
306
|
-
getPressedKeyString,
|
|
307
|
-
setScope,
|
|
308
|
-
getScope,
|
|
309
|
-
deleteScope,
|
|
310
|
-
getPressedKeyCodes,
|
|
311
|
-
getAllKeyCodes,
|
|
312
|
-
isPressed,
|
|
313
|
-
filter: filter$1,
|
|
314
|
-
trigger,
|
|
315
|
-
unbind,
|
|
316
|
-
keyMap: _keyMap,
|
|
317
|
-
modifier: _modifier,
|
|
318
|
-
modifierMap
|
|
319
|
-
};
|
|
320
|
-
for (let e in _api) Object.prototype.hasOwnProperty.call(_api, e) && (hotkeys[e] = _api[e]);
|
|
321
|
-
if (typeof window < "u") {
|
|
322
|
-
let e = window.hotkeys;
|
|
323
|
-
hotkeys.noConflict = (t) => (t && window.hotkeys === hotkeys && (window.hotkeys = e), hotkeys), window.hotkeys = hotkeys;
|
|
324
|
-
}
|
|
325
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), import_pick = /* @__PURE__ */ __toESM(require_pick()), import_omit = /* @__PURE__ */ __toESM(require_omit()), ActionProps = /* @__PURE__ */ "id.dialog.drawer.toast.url.link.confirmText.confirmTitle.tooltip.disabledTip.className.asyncApi.redirect.size.level.primary.feedback.api.blank.tooltipPlacement.to.cc.bcc.subject.body.content.required.type.actionType.label.icon.rightIcon.reload.target.close.messages.mergeData.index.copy.copyFormat.payload.requireSelected.countDown.fileName.isolateScope.downloadFileName".split("."), createSyntheticEvent = function(e) {
|
|
326
|
-
var t = !1, n = !1;
|
|
327
|
-
return {
|
|
328
|
-
nativeEvent: e,
|
|
329
|
-
currentTarget: e.currentTarget,
|
|
330
|
-
target: e.target,
|
|
331
|
-
bubbles: e.bubbles,
|
|
332
|
-
cancelable: e.cancelable,
|
|
333
|
-
defaultPrevented: e.defaultPrevented,
|
|
334
|
-
eventPhase: e.eventPhase,
|
|
335
|
-
isTrusted: e.isTrusted,
|
|
336
|
-
preventDefault: function() {
|
|
337
|
-
t = !0, e.preventDefault();
|
|
338
|
-
},
|
|
339
|
-
isDefaultPrevented: function() {
|
|
340
|
-
return t;
|
|
341
|
-
},
|
|
342
|
-
stopPropagation: function() {
|
|
343
|
-
n = !0, e.stopPropagation();
|
|
344
|
-
},
|
|
345
|
-
isPropagationStopped: function() {
|
|
346
|
-
return n;
|
|
347
|
-
},
|
|
348
|
-
persist: function() {},
|
|
349
|
-
timeStamp: e.timeStamp,
|
|
350
|
-
type: e.type
|
|
351
|
-
};
|
|
352
|
-
}, allowedType = [
|
|
353
|
-
"button",
|
|
354
|
-
"submit",
|
|
355
|
-
"reset"
|
|
356
|
-
], Action = function(e) {
|
|
357
|
-
__extends(t, e);
|
|
358
|
-
function t(t) {
|
|
359
|
-
var n = this;
|
|
360
|
-
n = e.call(this, t) || this, n.state = {
|
|
361
|
-
inCountDown: !1,
|
|
362
|
-
countDownEnd: 0,
|
|
363
|
-
timeLeft: 0
|
|
364
|
-
}, n.localStorageKey = "amis-countdownend-" + (n.props.name || "") + (n.props?.$schema?.id || uuid());
|
|
365
|
-
var r = parseInt(localStorage.getItem(n.localStorageKey) || "0");
|
|
366
|
-
return r && n.props.countDown && Date.now() < r && (n.state = {
|
|
367
|
-
inCountDown: !0,
|
|
368
|
-
countDownEnd: r,
|
|
369
|
-
timeLeft: Math.floor((r - Date.now()) / 1e3)
|
|
370
|
-
}, n.handleCountDown()), n;
|
|
371
|
-
}
|
|
372
|
-
return t.prototype.handleAction = function(e) {
|
|
373
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
374
|
-
var t, r, i, a, o, s, c, l, u, d, f, p, h, g, _ = this;
|
|
375
|
-
return __generator(this, function(n) {
|
|
376
|
-
switch (n.label) {
|
|
377
|
-
case 0: return t = this.props, r = t.onAction, i = t.onActionSensor, a = t.disabled, o = t.countDown, s = t.env, e.persist(), c = this.props.onClick, typeof c == "string" && (c = str2AsyncFunction(c, "event", "props")), u = c, u ? [4, c(e, this.props)] : [3, 2];
|
|
378
|
-
case 1: u = n.sent(), n.label = 2;
|
|
379
|
-
case 2: return l = u, a || e.isDefaultPrevented() || l === !1 || !r || this.state.inCountDown ? [2] : (e.preventDefault(), d = (0, import_pick.default)(this.props, ActionProps), f = d.actionType, f !== "ajax" && f !== "download" && f !== "add" && s?.tracker({
|
|
380
|
-
eventType: f || this.props.type || "click",
|
|
381
|
-
eventData: (0, import_omit.default)(d, [
|
|
382
|
-
"type",
|
|
383
|
-
"actionType",
|
|
384
|
-
"tooltipPlacement"
|
|
385
|
-
])
|
|
386
|
-
}, this.props), f === "download" && (d.actionType = "ajax", p = normalizeApi(d.api), p.responseType = "blob", p.downloadFileName = d.downloadFileName, d.api = p), h = r(e, d), h?.then ? (i?.(h), [4, h]) : [3, 4]);
|
|
387
|
-
case 3: n.sent(), n.label = 4;
|
|
388
|
-
case 4: return o && (g = Date.now() + o * 1e3, this.setState({
|
|
389
|
-
countDownEnd: g,
|
|
390
|
-
inCountDown: !0,
|
|
391
|
-
timeLeft: o
|
|
392
|
-
}), localStorage.setItem(this.localStorageKey, String(g)), setTimeout(function() {
|
|
393
|
-
_.handleCountDown();
|
|
394
|
-
}, 1e3)), [2];
|
|
395
|
-
}
|
|
396
|
-
});
|
|
397
|
-
});
|
|
398
|
-
}, t.prototype.handleCountDown = function() {
|
|
399
|
-
var e = this, t = Math.floor((this.state.countDownEnd - Date.now()) / 1e3);
|
|
400
|
-
t <= 0 ? this.setState({
|
|
401
|
-
inCountDown: !1,
|
|
402
|
-
timeLeft: t
|
|
403
|
-
}) : (this.setState({ timeLeft: t }), setTimeout(function() {
|
|
404
|
-
e.handleCountDown();
|
|
405
|
-
}, 1e3));
|
|
406
|
-
}, t.prototype.componentDidMount = function() {
|
|
407
|
-
var e = this, t = this.props.hotKey;
|
|
408
|
-
t && hotkeys(t, function(t) {
|
|
409
|
-
t.preventDefault();
|
|
410
|
-
var n = new MouseEvent("click", {
|
|
411
|
-
bubbles: !0,
|
|
412
|
-
cancelable: !0
|
|
413
|
-
});
|
|
414
|
-
e.handleAction(createSyntheticEvent(n));
|
|
415
|
-
});
|
|
416
|
-
}, t.prototype.componentWillUnmount = function() {
|
|
417
|
-
var e = this.props.hotKey;
|
|
418
|
-
e && hotkeys.unbind(e);
|
|
419
|
-
}, t.prototype.render = function() {
|
|
420
|
-
var e, t = this.props, n = t.type, r = t.iconClassName, i = t.rightIconClassName, a = t.loadingClassName, o = t.primary, s = t.size, u = t.level, d = t.countDownTpl, m = t.block, h = t.className, g = t.style, _ = t.componentClass, v = t.tooltip, y = t.disabledTip, b = t.tooltipPlacement, x = t.actionType, S = t.link, C = t.data, w = t.translate, T = t.activeClassName, E = t.isCurrentUrl, D = t.isMenuItem, O = t.active, k = t.activeLevel, A = t.tooltipTrigger, j = t.tooltipContainer, M = t.tooltipRootClose, N = t.loading, P = t.body, F = t.render, I = t.onMouseEnter, L = t.onMouseLeave, R = t.classnames, z = t.classPrefix, B = t.loadingConfig, V = t.themeCss, H = t.wrapperCustomStyle, U = t.css, W = t.id, G = t.testIdBuilder, K = t.env, q = t.tabIndex;
|
|
421
|
-
if (x !== "email" && P) return import_react.createElement(TooltipWrapper$1, {
|
|
422
|
-
classPrefix: z,
|
|
423
|
-
classnames: R,
|
|
424
|
-
placement: b,
|
|
425
|
-
tooltip: v,
|
|
426
|
-
container: j,
|
|
427
|
-
trigger: A,
|
|
428
|
-
rootClose: M
|
|
429
|
-
}, import_react.createElement("div", {
|
|
430
|
-
className: R("Action", h),
|
|
431
|
-
style: g,
|
|
432
|
-
onClick: this.handleAction,
|
|
433
|
-
onMouseEnter: I,
|
|
434
|
-
onMouseLeave: L
|
|
435
|
-
}, F("body", P)));
|
|
436
|
-
var J = this.props.label, Y = this.props.disabled, X = !!O;
|
|
437
|
-
x === "link" && !X && S && E && (X = E(S)), this.state.inCountDown && (J = filterContents(w(d), __assign(__assign({}, C), { timeLeft: this.state.timeLeft })), Y = !0);
|
|
438
|
-
var Z = this.props.icon, Q = this.props.rightIcon;
|
|
439
|
-
typeof Z == "string" && (Z = filter(this.props.icon, C)), typeof Q == "string" && (Q = filter(this.props.rightIcon, C));
|
|
440
|
-
var $ = import_react.createElement(Icon, {
|
|
441
|
-
cx: R,
|
|
442
|
-
icon: Z,
|
|
443
|
-
className: "Button-icon",
|
|
444
|
-
classNameProp: R(r, setThemeClassName(__assign(__assign({}, this.props), {
|
|
445
|
-
name: "iconClassName",
|
|
446
|
-
id: W,
|
|
447
|
-
themeCss: V || U
|
|
448
|
-
})))
|
|
449
|
-
}), _e = import_react.createElement(Icon, {
|
|
450
|
-
cx: R,
|
|
451
|
-
icon: Q,
|
|
452
|
-
className: "Button-icon",
|
|
453
|
-
classNameProp: R(i, setThemeClassName(__assign(__assign({}, this.props), {
|
|
454
|
-
name: "iconClassName",
|
|
455
|
-
id: W,
|
|
456
|
-
themeCss: V || U
|
|
457
|
-
})))
|
|
458
|
-
});
|
|
459
|
-
return import_react.createElement(import_react.Fragment, null, import_react.createElement(Button$1, {
|
|
460
|
-
loadingConfig: B,
|
|
461
|
-
className: R(h, setThemeClassName(__assign(__assign({}, this.props), {
|
|
462
|
-
name: "wrapperCustomStyle",
|
|
463
|
-
id: W,
|
|
464
|
-
themeCss: H
|
|
465
|
-
})), setThemeClassName(__assign(__assign({}, this.props), {
|
|
466
|
-
name: "className",
|
|
467
|
-
id: W,
|
|
468
|
-
themeCss: V || U
|
|
469
|
-
})), (e = {}, e[T || "is-active"] = X, e)),
|
|
470
|
-
testIdBuilder: G,
|
|
471
|
-
style: g,
|
|
472
|
-
size: s,
|
|
473
|
-
level: k && X ? k : filter(u, C) || (o ? "primary" : void 0),
|
|
474
|
-
loadingClassName: a,
|
|
475
|
-
loading: N,
|
|
476
|
-
onClick: this.handleAction,
|
|
477
|
-
onMouseEnter: I,
|
|
478
|
-
onMouseLeave: L,
|
|
479
|
-
type: n && ~allowedType.indexOf(n) ? n : "button",
|
|
480
|
-
disabled: Y,
|
|
481
|
-
componentClass: D ? "a" : _,
|
|
482
|
-
overrideClassName: D,
|
|
483
|
-
tooltip: filterContents(v, C),
|
|
484
|
-
disabledTip: filterContents(y, C),
|
|
485
|
-
tooltipPlacement: b,
|
|
486
|
-
tooltipContainer: j,
|
|
487
|
-
tooltipTrigger: A,
|
|
488
|
-
tooltipRootClose: M,
|
|
489
|
-
block: m,
|
|
490
|
-
iconOnly: !!(Z && !J && u !== "link"),
|
|
491
|
-
tabIndex: q
|
|
492
|
-
}, N ? "" : $, J ? import_react.createElement("span", null, filter(String(J), C)) : null, _e), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
493
|
-
config: {
|
|
494
|
-
themeCss: V || U,
|
|
495
|
-
classNames: [{
|
|
496
|
-
key: "className",
|
|
497
|
-
weights: {
|
|
498
|
-
hover: { suf: ":not(:disabled):not(.is-disabled)" },
|
|
499
|
-
active: { suf: ":not(:disabled):not(.is-disabled)" }
|
|
500
|
-
}
|
|
501
|
-
}, {
|
|
502
|
-
key: "iconClassName",
|
|
503
|
-
weights: {
|
|
504
|
-
default: { important: !0 },
|
|
505
|
-
hover: {
|
|
506
|
-
important: !0,
|
|
507
|
-
suf: ":not(:disabled):not(.is-disabled)"
|
|
508
|
-
},
|
|
509
|
-
active: {
|
|
510
|
-
important: !0,
|
|
511
|
-
suf: ":not(:disabled):not(.is-disabled)"
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
}],
|
|
515
|
-
wrapperCustomStyle: H,
|
|
516
|
-
id: W
|
|
517
|
-
},
|
|
518
|
-
env: K
|
|
519
|
-
})));
|
|
520
|
-
}, t.defaultProps = {
|
|
521
|
-
type: "button",
|
|
522
|
-
componentClass: "button",
|
|
523
|
-
tooltipPlacement: "bottom",
|
|
524
|
-
activeClassName: "is-active",
|
|
525
|
-
countDownTpl: "Action.countDown",
|
|
526
|
-
countDown: 0
|
|
527
|
-
}, __decorate([
|
|
528
|
-
autobind,
|
|
529
|
-
__metadata("design:type", Function),
|
|
530
|
-
__metadata("design:paramtypes", [Object]),
|
|
531
|
-
__metadata("design:returntype", Promise)
|
|
532
|
-
], t.prototype, "handleAction", null), __decorate([
|
|
533
|
-
autobind,
|
|
534
|
-
__metadata("design:type", Function),
|
|
535
|
-
__metadata("design:paramtypes", []),
|
|
536
|
-
__metadata("design:returntype", void 0)
|
|
537
|
-
], t.prototype, "handleCountDown", null), __decorate([
|
|
538
|
-
autobind,
|
|
539
|
-
__metadata("design:type", Function),
|
|
540
|
-
__metadata("design:paramtypes", []),
|
|
541
|
-
__metadata("design:returntype", void 0)
|
|
542
|
-
], t.prototype, "componentDidMount", null), __decorate([
|
|
543
|
-
autobind,
|
|
544
|
-
__metadata("design:type", Function),
|
|
545
|
-
__metadata("design:paramtypes", []),
|
|
546
|
-
__metadata("design:returntype", void 0)
|
|
547
|
-
], t.prototype, "componentWillUnmount", null), t;
|
|
548
|
-
}(import_react.Component), Action$1 = themeable(Action), ActionRenderer = function(e) {
|
|
549
|
-
__extends(t, e);
|
|
550
|
-
function t(t, n) {
|
|
551
|
-
var r = e.call(this, t) || this;
|
|
552
|
-
return r.state = { actionDisabled: !1 }, n.registerComponent(r), r;
|
|
553
|
-
}
|
|
554
|
-
return t.prototype.componentWillUnmount = function() {
|
|
555
|
-
this.context.unRegisterComponent(this);
|
|
556
|
-
}, t.prototype.doAction = function(e, t) {
|
|
557
|
-
var n = e?.actionType;
|
|
558
|
-
n === "click" && this.handleAction(n, e);
|
|
559
|
-
}, t.prototype.handleAction = function(e, t) {
|
|
560
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
561
|
-
var r, i, a, o, s, l, u, d, p, m, h, g, g;
|
|
562
|
-
return __generator(this, function(n) {
|
|
563
|
-
switch (n.label) {
|
|
564
|
-
case 0: return n.trys.push([
|
|
565
|
-
0,
|
|
566
|
-
,
|
|
567
|
-
10,
|
|
568
|
-
11
|
|
569
|
-
]), r = this.props, i = r.env, a = r.onAction, o = r.data, s = r.ignoreConfirm, l = r.dispatchEvent, u = r.$schema, d = o, this.setState({ actionDisabled: !0 }), t?.actionType === "click" && isObject(t?.args) && (d = createObject(o, t.args)), p = u.onEvent && Object.keys(u.onEvent).length, m = "", this.props.showConfirmBox !== !1 && (!s || p) && t.confirmText && i.confirm && (m = filter(t.confirmText, d)) ? [4, i.confirm(m, filter(t.confirmTitle, d) || void 0)] : [3, 6];
|
|
570
|
-
case 1: return h = n.sent(), h ? [4, l(e, d, this)] : [3, 4];
|
|
571
|
-
case 2: return g = n.sent(), g?.prevented ? [2] : [4, a(e, __assign(__assign({}, t), { ignoreConfirm: !!p }), d, void 0, void 0, g)];
|
|
572
|
-
case 3: return n.sent(), [3, 5];
|
|
573
|
-
case 4:
|
|
574
|
-
if (t.countDown) throw Error("cancel");
|
|
575
|
-
n.label = 5;
|
|
576
|
-
case 5: return [3, 9];
|
|
577
|
-
case 6: return [4, l(e, d)];
|
|
578
|
-
case 7: return g = n.sent(), g?.prevented ? [2] : [4, a(e, t, d, void 0, void 0, g)];
|
|
579
|
-
case 8: n.sent(), n.label = 9;
|
|
580
|
-
case 9: return [3, 11];
|
|
581
|
-
case 10: return this.setState({ actionDisabled: !1 }), [7];
|
|
582
|
-
case 11: return [2];
|
|
583
|
-
}
|
|
584
|
-
});
|
|
585
|
-
});
|
|
586
|
-
}, t.prototype.handleMouseEnter = function(e) {
|
|
587
|
-
var t = this.props, n = t.dispatchEvent, r = t.data;
|
|
588
|
-
n(e, createObject(r, { nativeEvent: e }));
|
|
589
|
-
}, t.prototype.handleMouseLeave = function(e) {
|
|
590
|
-
var t = this.props, n = t.dispatchEvent, r = t.data;
|
|
591
|
-
n(e, createObject(r, { nativeEvent: e }));
|
|
592
|
-
}, t.prototype.isCurrentAction = function(e) {
|
|
593
|
-
var t = this.props, n = t.env, r = t.data;
|
|
594
|
-
return n.isCurrentUrl(filter(e, r));
|
|
595
|
-
}, t.prototype.render = function() {
|
|
596
|
-
var e = this.props, t = e.env, n = e.disabled, i = e.btnDisabled, a = e.disabledOnAction, o = e.loading, s = __rest(e, [
|
|
597
|
-
"env",
|
|
598
|
-
"disabled",
|
|
599
|
-
"btnDisabled",
|
|
600
|
-
"disabledOnAction",
|
|
601
|
-
"loading"
|
|
602
|
-
]), l = this.state.actionDisabled;
|
|
603
|
-
return import_react.createElement(Action, __assign({}, s, {
|
|
604
|
-
env: t,
|
|
605
|
-
disabled: n || i || (a ? l : !1),
|
|
606
|
-
onAction: this.handleAction,
|
|
607
|
-
onMouseEnter: this.handleMouseEnter,
|
|
608
|
-
onMouseLeave: this.handleMouseLeave,
|
|
609
|
-
loading: o,
|
|
610
|
-
isCurrentUrl: this.isCurrentAction,
|
|
611
|
-
tooltipContainer: s.popOverContainer || t.getModalContainer
|
|
612
|
-
}));
|
|
613
|
-
}, t.contextType = ScopedContext, __decorate([
|
|
614
|
-
autobind,
|
|
615
|
-
__metadata("design:type", Function),
|
|
616
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
617
|
-
__metadata("design:returntype", Promise)
|
|
618
|
-
], t.prototype, "handleAction", null), __decorate([
|
|
619
|
-
autobind,
|
|
620
|
-
__metadata("design:type", Function),
|
|
621
|
-
__metadata("design:paramtypes", [Object]),
|
|
622
|
-
__metadata("design:returntype", void 0)
|
|
623
|
-
], t.prototype, "handleMouseEnter", null), __decorate([
|
|
624
|
-
autobind,
|
|
625
|
-
__metadata("design:type", Function),
|
|
626
|
-
__metadata("design:paramtypes", [Object]),
|
|
627
|
-
__metadata("design:returntype", void 0)
|
|
628
|
-
], t.prototype, "handleMouseLeave", null), __decorate([
|
|
629
|
-
autobind,
|
|
630
|
-
__metadata("design:type", Function),
|
|
631
|
-
__metadata("design:paramtypes", [String]),
|
|
632
|
-
__metadata("design:returntype", void 0)
|
|
633
|
-
], t.prototype, "isCurrentAction", null), t = __decorate([
|
|
634
|
-
Renderer({
|
|
635
|
-
type: "action",
|
|
636
|
-
alias: [
|
|
637
|
-
"button",
|
|
638
|
-
"submit",
|
|
639
|
-
"reset"
|
|
640
|
-
]
|
|
641
|
-
}),
|
|
642
|
-
withBadge,
|
|
643
|
-
__metadata("design:paramtypes", [Object, Object])
|
|
644
|
-
], t), t;
|
|
645
|
-
}(import_react.Component);
|
|
646
|
-
export { createSyntheticEvent as i, Action$1 as n, ActionRenderer as r, Action as t };
|
package/dist/Alert-sakO0sgo.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
|
|
2
|
-
import { t as require_react } from "./react-RxxVsDMo.js";
|
|
3
|
-
import { c as __rest, i as __extends, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-CNJMA2ft.js";
|
|
5
|
-
import "./isEqual-E2NjjS0_.js";
|
|
6
|
-
import { Ni as resolveVariableAndFilter, Zr as isPureVariable, it as Renderer } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
import { nt as Alert2 } from "./esm-Cj_BRpNI.js";
|
|
9
|
-
import "./PopUp-Bgkvnd4X.js";
|
|
10
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), AlertRenderer = function(e) {
|
|
11
|
-
__extends(s, e);
|
|
12
|
-
function s() {
|
|
13
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
14
|
-
}
|
|
15
|
-
return s.prototype.render = function() {
|
|
16
|
-
var e = this.props, s = e.render, c = e.body, l = e.level, u = e.icon, d = e.showIcon, f = e.actions, p = __rest(e, [
|
|
17
|
-
"render",
|
|
18
|
-
"body",
|
|
19
|
-
"level",
|
|
20
|
-
"icon",
|
|
21
|
-
"showIcon",
|
|
22
|
-
"actions"
|
|
23
|
-
]);
|
|
24
|
-
isPureVariable(l) && (l = resolveVariableAndFilter(l, this.props.data)), isPureVariable(u) && (u = resolveVariableAndFilter(u, this.props.data)), isPureVariable(d) && (d = resolveVariableAndFilter(d, this.props.data));
|
|
25
|
-
var m = f ? import_react.isValidElement(f) ? f : s("alert-actions", f) : null;
|
|
26
|
-
return import_react.createElement(Alert2, __assign({}, p, {
|
|
27
|
-
level: l,
|
|
28
|
-
icon: u,
|
|
29
|
-
showIcon: d,
|
|
30
|
-
actions: m
|
|
31
|
-
}), s("body", c));
|
|
32
|
-
}, s = __decorate([Renderer({ type: "alert" })], s), s;
|
|
33
|
-
}(import_react.Component);
|
|
34
|
-
export { AlertRenderer };
|