@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
|
@@ -1,29 +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, 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, it as Renderer, qt as require_mapValues } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), import_mapValues = /* @__PURE__ */ __toESM(require_mapValues()), WebComponent = function(e) {
|
|
9
|
-
__extends(o, e);
|
|
10
|
-
function o() {
|
|
11
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
12
|
-
}
|
|
13
|
-
return o.prototype.renderBody = function() {
|
|
14
|
-
var e = this.props, o = e.body, s = e.render;
|
|
15
|
-
return o ? s("body", o) : null;
|
|
16
|
-
}, o.prototype.render = function() {
|
|
17
|
-
var e = this.props, o = e.tag, s = e.props, c = e.data, l = e.style, u = (0, import_mapValues.default)(s, function(e) {
|
|
18
|
-
return typeof e == "string" && resolveVariableAndFilter(e, c, "| raw") || e;
|
|
19
|
-
}), d = o || "div";
|
|
20
|
-
return import_react.createElement(d, __assign({}, u, { style: l }), this.renderBody());
|
|
21
|
-
}, o;
|
|
22
|
-
}(import_react.Component), WebComponentRenderer = function(e) {
|
|
23
|
-
__extends(o, e);
|
|
24
|
-
function o() {
|
|
25
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
26
|
-
}
|
|
27
|
-
return o = __decorate([Renderer({ type: "web-component" })], o), o;
|
|
28
|
-
}(WebComponent);
|
|
29
|
-
export { WebComponentRenderer, WebComponent as default };
|
package/dist/Wizard-DkqCsGz-.js
DELETED
|
@@ -1,585 +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, s as __read, t as __assign, u as __spreadArray } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-CNJMA2ft.js";
|
|
5
|
-
import { t as require_isEqual } from "./isEqual-E2NjjS0_.js";
|
|
6
|
-
import { An as SkipOperation, Br as until, Jr as evalExpressionWithConditionBuilderAsync, Nn as autobind, Nt as ServiceStore, Pi as tokenize, Xr as filter, an as isApiOutdated, dt as ScopedContext, ft as filterTarget, it as Renderer, oi as createObject, qr as evalExpression, sn as isEffectiveApi, w as toNumber, xr as isVisible } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
import { m as Steps$1 } from "./esm-Cj_BRpNI.js";
|
|
9
|
-
import { i as Spinner$1 } from "./PopUp-Bgkvnd4X.js";
|
|
10
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), import_isEqual = /* @__PURE__ */ __toESM(require_isEqual()), Wizard = function(e) {
|
|
11
|
-
__extends(s, e);
|
|
12
|
-
function s() {
|
|
13
|
-
var s = e !== null && e.apply(this, arguments) || this;
|
|
14
|
-
return s.initalValues = {}, s.state = {
|
|
15
|
-
currentStep: -1,
|
|
16
|
-
completeStep: -1,
|
|
17
|
-
rawSteps: []
|
|
18
|
-
}, s;
|
|
19
|
-
}
|
|
20
|
-
return s.prototype.componentDidMount = function() {
|
|
21
|
-
var e = this, s = this.props, c = s.initApi, l = s.initFetch, u = s.initAsyncApi, d = s.initFinishedField, f = s.store, p = s.messages, m = p.fetchSuccess, h = p.fetchFailed;
|
|
22
|
-
s.onInit, isEffectiveApi(c, f.data, l) ? f.fetchInitData(c, f.data, {
|
|
23
|
-
successMessage: m,
|
|
24
|
-
errorMessage: h,
|
|
25
|
-
onSuccess: function() {
|
|
26
|
-
if (!(!isEffectiveApi(u, f.data) || f.data[d || "finished"])) return until(function() {
|
|
27
|
-
return f.checkRemote(u, f.data);
|
|
28
|
-
}, function(e) {
|
|
29
|
-
return e && e[d || "finished"];
|
|
30
|
-
}, function(s) {
|
|
31
|
-
return e.asyncCancel = s;
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}).then(function(s) {
|
|
35
|
-
e.handleFetchInitEvent(s);
|
|
36
|
-
var c = { currentStep: typeof e.props.startStep == "string" ? toNumber(tokenize(e.props.startStep, createObject(e.props.data, s?.data || {})), 1) : 1 };
|
|
37
|
-
return s && s.data && (typeof s.data.step == "number" || typeof s.data.step == "string" && /^\d+$/.test(s.data.step)) && (c.currentStep = toNumber(s.data.step, 1)), e.setState(c, function() {
|
|
38
|
-
s && s.data && (s.data.submiting || s.data.submited) && e.checkSubmit();
|
|
39
|
-
}), s;
|
|
40
|
-
}) : this.setState({ currentStep: typeof this.props.startStep == "string" ? toNumber(tokenize(this.props.startStep, this.props.data), 1) : 1 }), this.normalizeSteps(f.data);
|
|
41
|
-
}, s.prototype.componentDidUpdate = function(e) {
|
|
42
|
-
var s = this.props, c = s.store, l = s.fetchSuccess, u = s.fetchFailed;
|
|
43
|
-
(!(0, import_isEqual.default)(e.steps, s.steps) || !(0, import_isEqual.default)(e.data, s.data)) && this.normalizeSteps(s.data), isApiOutdated(e.initApi, s.initApi, e.data, s.data) && c.fetchData(s.initApi, c.data, {
|
|
44
|
-
successMessage: l,
|
|
45
|
-
errorMessage: u
|
|
46
|
-
});
|
|
47
|
-
}, s.prototype.componentWillUnmount = function() {
|
|
48
|
-
this.asyncCancel && this.asyncCancel();
|
|
49
|
-
}, s.prototype.dispatchEvent = function(e, s) {
|
|
50
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
51
|
-
var l, u, d, f;
|
|
52
|
-
return __generator(this, function(c) {
|
|
53
|
-
switch (c.label) {
|
|
54
|
-
case 0: return l = this.props, u = l.dispatchEvent, d = l.data, [4, u(e, s ? createObject(d, s) : d)];
|
|
55
|
-
case 1: return f = c.sent(), [2, f?.prevented ?? !1];
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
}, s.prototype.handleFetchInitEvent = function(e) {
|
|
60
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
61
|
-
var s, l, u;
|
|
62
|
-
return __generator(this, function(c) {
|
|
63
|
-
switch (c.label) {
|
|
64
|
-
case 0: return s = this.props, l = s.onInit, u = s.store, [4, this.dispatchEvent("inited", __assign(__assign({}, u.data), {
|
|
65
|
-
responseData: e.ok ? u.data ?? {} : e,
|
|
66
|
-
responseStatus: e?.status === void 0 ? u.error ? 1 : 0 : e?.status,
|
|
67
|
-
responseMsg: u.msg
|
|
68
|
-
}))];
|
|
69
|
-
case 1: return c.sent() && l && l(u.data), [2];
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
}, s.prototype.normalizeSteps = function(e) {
|
|
74
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
75
|
-
var s, l, u, d, f, p, h;
|
|
76
|
-
return __generator(this, function(c) {
|
|
77
|
-
switch (c.label) {
|
|
78
|
-
case 0: s = this.props, l = s.steps, u = s.translate, d = [], f = l.length, p = 0, c.label = 1;
|
|
79
|
-
case 1: return p < f ? [4, evalExpressionWithConditionBuilderAsync(l[p].hiddenOn, e)] : [3, 4];
|
|
80
|
-
case 2: h = c.sent(), !h && d.push(l[p]), c.label = 3;
|
|
81
|
-
case 3: return p++, [3, 1];
|
|
82
|
-
case 4: return this.setState({ rawSteps: d.map(function(e, s) {
|
|
83
|
-
return __assign(__assign({}, e), {
|
|
84
|
-
hiddenOn: "",
|
|
85
|
-
title: e.title || e.label || u("Steps.step", { index: s + 1 })
|
|
86
|
-
});
|
|
87
|
-
}) }), [2];
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
}, s.prototype.gotoStep = function(e) {
|
|
92
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
93
|
-
var s;
|
|
94
|
-
return __generator(this, function(c) {
|
|
95
|
-
switch (c.label) {
|
|
96
|
-
case 0: return s = this.state.rawSteps, e = Math.max(Math.min(s.length, e), 1), e == this.state.currentStep ? [3, 2] : [4, this.dispatchEvent("stepChange", { step: e })];
|
|
97
|
-
case 1:
|
|
98
|
-
if (c.sent()) return [2];
|
|
99
|
-
this.setState({
|
|
100
|
-
currentStep: e,
|
|
101
|
-
completeStep: Math.max(this.state.completeStep, e - 1)
|
|
102
|
-
}), c.label = 2;
|
|
103
|
-
case 2: return [2];
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
}, s.prototype.formRef = function(e) {
|
|
108
|
-
if (e) {
|
|
109
|
-
for (; e && e.getWrappedInstance;) e = e.getWrappedInstance();
|
|
110
|
-
this.form = e;
|
|
111
|
-
} else this.form = void 0;
|
|
112
|
-
}, s.prototype.submitToTarget = function(e, s) {
|
|
113
|
-
throw Error("Please implements this!");
|
|
114
|
-
}, s.prototype.reloadTarget = function(e, s) {
|
|
115
|
-
throw Error("Please implements this!");
|
|
116
|
-
}, s.prototype.reload = function(e, s, l, d, f) {
|
|
117
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
118
|
-
var e, l, u, d, p, m, h, g, _, y, b = this;
|
|
119
|
-
return __generator(this, function(c) {
|
|
120
|
-
switch (c.label) {
|
|
121
|
-
case 0: return s ? [2, this.receive(s, void 0, f)] : (e = this.props, l = e.initApi, u = e.initAsyncApi, d = e.initFinishedField, p = e.store, m = e.messages, h = m.fetchSuccess, g = m.fetchFailed, isEffectiveApi(l, p.data) && this.state.currentStep === 1 ? [4, p.fetchInitData(l, p.data, {
|
|
122
|
-
successMessage: h,
|
|
123
|
-
errorMessage: g,
|
|
124
|
-
onSuccess: function() {
|
|
125
|
-
if (!(!isEffectiveApi(u, p.data) || p.data[d || "finished"])) return until(function() {
|
|
126
|
-
return p.checkRemote(u, p.data);
|
|
127
|
-
}, function(e) {
|
|
128
|
-
return e && e[d || "finished"];
|
|
129
|
-
}, function(e) {
|
|
130
|
-
return b.asyncCancel = e;
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
})] : [3, 2]);
|
|
134
|
-
case 1: _ = c.sent(), y = { currentStep: 1 }, _ && _.data && (typeof _.data.step == "number" || typeof _.data.step == "string" && /^\d+$/.test(_.data.step)) && (y.currentStep = toNumber(_.data.step, 1)), this.setState(y, function() {
|
|
135
|
-
_ && _.data && (_.data.submiting || _.data.submited) && b.checkSubmit();
|
|
136
|
-
}), c.label = 2;
|
|
137
|
-
case 2: return [2, p.data];
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
});
|
|
141
|
-
}, s.prototype.receive = function(e, s, c) {
|
|
142
|
-
return this.props.store.updateData(e, void 0, c), this.reload();
|
|
143
|
-
}, s.prototype.domRef = function(e) {
|
|
144
|
-
this.dom = e;
|
|
145
|
-
}, s.prototype.getPopOverContainer = function() {
|
|
146
|
-
return this.dom;
|
|
147
|
-
}, s.prototype.checkSubmit = function() {
|
|
148
|
-
var e, s = this, c = this.props, l = c.store, u = c.asyncApi, d = c.finishedField, f = c.env, p = this.state.rawSteps, m = p[this.state.currentStep - 1], h = m && m.asyncApi || this.state.currentStep === p.length && u;
|
|
149
|
-
!m || !isEffectiveApi(h, l.data) || (l.markSaving(!0), l.updateData((e = {}, e[d || "finished"] = !1, e)), until(function() {
|
|
150
|
-
return l.checkRemote(h, l.data);
|
|
151
|
-
}, function(e) {
|
|
152
|
-
return e && e[d || "finished"];
|
|
153
|
-
}, function(e) {
|
|
154
|
-
return s.asyncCancel = e;
|
|
155
|
-
}).then(function() {
|
|
156
|
-
l.markSaving(!1), s.gotoStep(s.state.currentStep + 1);
|
|
157
|
-
}).catch(function(e) {
|
|
158
|
-
!h.silent && f.notify("error", e.message), l.markSaving(!1);
|
|
159
|
-
}));
|
|
160
|
-
}, s.prototype.handleAction = function(e, s, l, d, f) {
|
|
161
|
-
var p = this;
|
|
162
|
-
d === void 0 && (d = !1);
|
|
163
|
-
var h = this.props, g = h.onAction, v = h.store, y = h.env, b = this.state.rawSteps;
|
|
164
|
-
if (s.actionType === "next" || s.type === "submit" || s.actionType === "step-submit") this.form.doAction(__assign(__assign({}, s), { actionType: "submit" }), l);
|
|
165
|
-
else if (s.actionType === "prev") this.gotoStep(this.state.currentStep - 1);
|
|
166
|
-
else if (s.type === "reset") this.form.reset();
|
|
167
|
-
else if (s.actionType === "dialog") return v.setCurrentAction(s, this.props.resolveDefinitions), new Promise(function(e) {
|
|
168
|
-
v.openDialog(l, void 0, function(c, l) {
|
|
169
|
-
var u;
|
|
170
|
-
(u = s.callback) == null || u.call(s, c, l), e({
|
|
171
|
-
confirmed: c,
|
|
172
|
-
value: l
|
|
173
|
-
});
|
|
174
|
-
}, f || p.context);
|
|
175
|
-
});
|
|
176
|
-
else if (s.actionType === "ajax") return s.api ? v.saveRemote(s.api, l, {
|
|
177
|
-
successMessage: s.messages && s.messages.success,
|
|
178
|
-
errorMessage: s.messages && s.messages.failed
|
|
179
|
-
}).then(function() {
|
|
180
|
-
return __awaiter(p, void 0, void 0, function() {
|
|
181
|
-
var e, l, u;
|
|
182
|
-
return __generator(this, function(c) {
|
|
183
|
-
switch (c.label) {
|
|
184
|
-
case 0: return this.form && this.form.isValidated() && this.form.validate(!0), e = s.feedback, e && isVisible(e, v.data) ? [4, this.openFeedback(e, v.data)] : [3, 2];
|
|
185
|
-
case 1:
|
|
186
|
-
if (l = c.sent(), e.skipRestOnCancel && !l || e.skipRestOnConfirm && l) throw new SkipOperation();
|
|
187
|
-
c.label = 2;
|
|
188
|
-
case 2: return u = s.redirect && filter(s.redirect, v.data), u && y.jumpTo(u, s, v.data), s.reload && this.reloadTarget(filterTarget(s.reload, v.data), v.data), [2];
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
}).catch(function(e) {}) : y.alert("当 actionType 为 ajax 时,请设置 api 属性");
|
|
193
|
-
else if (s.actionType === "reload") s.target && this.reloadTarget(filterTarget(s.target, l), l);
|
|
194
|
-
else if (s.actionType === "goto-step") {
|
|
195
|
-
var x = l.step;
|
|
196
|
-
if (x !== void 0 && x <= b.length && x >= 0) return this.gotoStep(l.step);
|
|
197
|
-
} else if (s.actionType === "submit") return this.finalSubmit();
|
|
198
|
-
else if (g) return g(e, s, l, d, f || this.context);
|
|
199
|
-
}, s.prototype.handleQuery = function(e) {
|
|
200
|
-
if (this.props.initApi) {
|
|
201
|
-
if (e?.hasOwnProperty("orderBy") && !isApiOutdated(this.props.initApi, this.props.initApi, this.props.store.data, createObject(this.props.store.data, e))) return !1;
|
|
202
|
-
this.receive(e);
|
|
203
|
-
return;
|
|
204
|
-
}
|
|
205
|
-
return this.props.onQuery ? this.props.onQuery(e) : !1;
|
|
206
|
-
}, s.prototype.openFeedback = function(e, s) {
|
|
207
|
-
var c = this;
|
|
208
|
-
return new Promise(function(l) {
|
|
209
|
-
var u = c.props.store;
|
|
210
|
-
u.setCurrentAction({
|
|
211
|
-
type: "button",
|
|
212
|
-
actionType: "dialog",
|
|
213
|
-
dialog: e
|
|
214
|
-
}, c.props.resolveDefinitions), u.openDialog(s, void 0, function(e) {
|
|
215
|
-
l(e);
|
|
216
|
-
}, c.context);
|
|
217
|
-
});
|
|
218
|
-
}, s.prototype.handleChange = function(e) {
|
|
219
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
220
|
-
var s, l, u;
|
|
221
|
-
return __generator(this, function(c) {
|
|
222
|
-
switch (c.label) {
|
|
223
|
-
case 0: return s = this.props.store, l = s.data, u = __assign(__assign({}, l), e), [4, this.dispatchEvent("change", u)];
|
|
224
|
-
case 1: return c.sent() || s.updateData(e), [2];
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
});
|
|
228
|
-
}, s.prototype.handleInit = function(e) {
|
|
229
|
-
var s = this.state.currentStep;
|
|
230
|
-
this.initalValues[s] = this.initalValues[s] || e, this.props.store.updateData(e);
|
|
231
|
-
}, s.prototype.handleReset = function(e) {
|
|
232
|
-
var s = this.props.store, c = this.initalValues[this.state.currentStep], l = {};
|
|
233
|
-
Object.keys(e).forEach(function(e) {
|
|
234
|
-
l[e] = c.hasOwnProperty(e) ? c[e] : void 0;
|
|
235
|
-
}), s.updateData(l);
|
|
236
|
-
}, s.prototype.finalSubmit = function(e, s) {
|
|
237
|
-
return e === void 0 && (e = {}), s === void 0 && (s = { type: "submit" }), __awaiter(this, void 0, void 0, function() {
|
|
238
|
-
var l, d, f, p, h, g, y, b, x, S, w, T, D, k, A, j, M = this;
|
|
239
|
-
return __generator(this, function(N) {
|
|
240
|
-
switch (N.label) {
|
|
241
|
-
case 0: return l = this.props, d = l.store, f = l.api, p = l.asyncApi, h = l.finishedField, g = l.target, y = l.redirect, b = l.reload, x = l.env, S = l.onFinished, w = this.state.rawSteps, [4, this.dispatchEvent("finished", d.data)];
|
|
242
|
-
case 1:
|
|
243
|
-
if (N.sent()) return [2];
|
|
244
|
-
if (T = w[this.state.currentStep - 1], d.updateData(e), g) this.submitToTarget(filterTarget(g, d.data), d.data), this.setState({ completeStep: w.length });
|
|
245
|
-
else if (s.api || T.api || f) D = s.asyncApi || T.asyncApi || p, isEffectiveApi(D, d.data) && d.updateData((j = {}, j[h || "finished"] = !1, j)), k = this.form ? this.form.props.store : d, d.markSaving(!0), k.saveRemote(s.api || T.api || f, d.data, {
|
|
246
|
-
onSuccess: function(e) {
|
|
247
|
-
return __awaiter(M, void 0, void 0, function() {
|
|
248
|
-
var s, l, u = this;
|
|
249
|
-
return __generator(this, function(c) {
|
|
250
|
-
switch (c.label) {
|
|
251
|
-
case 0: return [4, this.dispatchEvent("submitSucc", createObject(this.props.data, { result: e }))];
|
|
252
|
-
case 1: return s = c.sent(), !isEffectiveApi(D, d.data) || d.data[h || "finished"] ? [2, {
|
|
253
|
-
cbResult: null,
|
|
254
|
-
dispatcher: s
|
|
255
|
-
}] : (l = until(function() {
|
|
256
|
-
return d.checkRemote(D, d.data);
|
|
257
|
-
}, function(e) {
|
|
258
|
-
return e && e[h || "finished"];
|
|
259
|
-
}, function(e) {
|
|
260
|
-
return u.asyncCancel = e;
|
|
261
|
-
}), [2, {
|
|
262
|
-
cbResult: l,
|
|
263
|
-
dispatcher: s
|
|
264
|
-
}]);
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
});
|
|
268
|
-
},
|
|
269
|
-
onFailed: function(e) {
|
|
270
|
-
return __awaiter(M, void 0, void 0, function() {
|
|
271
|
-
var s;
|
|
272
|
-
return __generator(this, function(c) {
|
|
273
|
-
switch (c.label) {
|
|
274
|
-
case 0: return d.markSaving(!1), [4, this.dispatchEvent("submitFail", createObject(this.props.data, { error: e }))];
|
|
275
|
-
case 1: return s = c.sent(), [2, { dispatcher: s }];
|
|
276
|
-
}
|
|
277
|
-
});
|
|
278
|
-
});
|
|
279
|
-
}
|
|
280
|
-
}).then(function(e) {
|
|
281
|
-
return __awaiter(M, void 0, void 0, function() {
|
|
282
|
-
var l, u, f;
|
|
283
|
-
return __generator(this, function(c) {
|
|
284
|
-
switch (c.label) {
|
|
285
|
-
case 0: return l = s.feedback, l && isVisible(l, e) ? [4, this.openFeedback(l, e)] : [3, 2];
|
|
286
|
-
case 1:
|
|
287
|
-
if (u = c.sent(), l.skipRestOnCancel && !u || l.skipRestOnConfirm && u) throw new SkipOperation();
|
|
288
|
-
c.label = 2;
|
|
289
|
-
case 2:
|
|
290
|
-
if (this.setState({ completeStep: w.length }), d.updateData(__assign(__assign({}, d.data), e)), d.markSaving(!1), e && typeof e.step == "number") this.gotoStep(e.step);
|
|
291
|
-
else if (S && S(e, s) === !1) return [2, e];
|
|
292
|
-
return f = (s.redirect || T.redirect || y) && filter(s.redirect || T.redirect || y, d.data), f ? x.jumpTo(f, s, d.data) : (s.reload || T.reload || b) && this.reloadTarget(filterTarget(s.reload || T.reload || b, d.data), d.data), [2, e];
|
|
293
|
-
}
|
|
294
|
-
});
|
|
295
|
-
});
|
|
296
|
-
}).catch(function(e) {});
|
|
297
|
-
else {
|
|
298
|
-
if (this.setState({ completeStep: w.length }), S && S(d.data, s) === !1) return [2];
|
|
299
|
-
A = (s.redirect || T.redirect || y) && filter(s.redirect || T.redirect || y, d.data), A ? x.jumpTo(A, s, d.data) : (s.reload || T.reload || b) && this.reloadTarget(filterTarget(s.reload || T.reload || b, d.data), d.data);
|
|
300
|
-
}
|
|
301
|
-
return [2];
|
|
302
|
-
}
|
|
303
|
-
});
|
|
304
|
-
});
|
|
305
|
-
}, s.prototype.handleSubmit = function(e, s) {
|
|
306
|
-
var l, d = this, f = this.props, p = f.store, m = f.finishedField, h = this.state.rawSteps;
|
|
307
|
-
if (this.state.currentStep < h.length) {
|
|
308
|
-
var g = h[this.state.currentStep - 1];
|
|
309
|
-
p.updateData(e);
|
|
310
|
-
var y = s.asyncApi || g.asyncApi;
|
|
311
|
-
isEffectiveApi(y, p.data) && p.updateData((l = {}, l[m || "finished"] = !1, l)), isEffectiveApi(s.api || g.api, p.data) ? p.saveRemote(s.api || g.api, p.data, {
|
|
312
|
-
onSuccess: function() {
|
|
313
|
-
if (d.dispatchEvent("stepSubmitSucc"), !(!isEffectiveApi(y, p.data) || p.data[m || "finished"])) return until(function() {
|
|
314
|
-
return p.checkRemote(y, p.data);
|
|
315
|
-
}, function(e) {
|
|
316
|
-
return e && e[m || "finished"];
|
|
317
|
-
}, function(e) {
|
|
318
|
-
return d.asyncCancel = e;
|
|
319
|
-
});
|
|
320
|
-
},
|
|
321
|
-
onFailed: function(e) {
|
|
322
|
-
d.dispatchEvent("stepSubmitFail", { error: e }), e.status === 422 && e.errors && d.form && d.form.props.store.setFormItemErrors(e.errors);
|
|
323
|
-
}
|
|
324
|
-
}).then(function(e) {
|
|
325
|
-
return __awaiter(d, void 0, void 0, function() {
|
|
326
|
-
var l, u;
|
|
327
|
-
return __generator(this, function(c) {
|
|
328
|
-
switch (c.label) {
|
|
329
|
-
case 0: return l = s.feedback, l && isVisible(l, e) ? [4, this.openFeedback(l, e)] : [3, 2];
|
|
330
|
-
case 1:
|
|
331
|
-
if (u = c.sent(), l.skipRestOnCancel && !u || l.skipRestOnConfirm && u) throw new SkipOperation();
|
|
332
|
-
c.label = 2;
|
|
333
|
-
case 2: return this.gotoStep(e && typeof e.step == "number" ? e.step : this.state.currentStep + 1), [2];
|
|
334
|
-
}
|
|
335
|
-
});
|
|
336
|
-
});
|
|
337
|
-
}).catch(function(e) {
|
|
338
|
-
d.dispatchEvent("stepSubmitFail", { error: e });
|
|
339
|
-
}) : this.gotoStep(this.state.currentStep + 1);
|
|
340
|
-
} else this.finalSubmit(e, s);
|
|
341
|
-
return !1;
|
|
342
|
-
}, s.prototype.handleDialogConfirm = function(e, s, c) {
|
|
343
|
-
var l = this.props.store;
|
|
344
|
-
s.mergeData && e.length === 1 && e[0] && c[0].props.type === "form" && l.updateData(e[0]), l.closeDialog(!0, e);
|
|
345
|
-
}, s.prototype.handleDialogClose = function(e) {
|
|
346
|
-
e === void 0 && (e = !1), this.props.store.closeDialog(e);
|
|
347
|
-
}, s.prototype.handleJumpStep = function(e, s) {
|
|
348
|
-
var c = this.props.store, l = this.state.currentStep;
|
|
349
|
-
isJumpable(s, e, l, c.data) && this.gotoStep(e + 1);
|
|
350
|
-
}, s.prototype.renderSteps = function() {
|
|
351
|
-
var e = this.props, s = e.mode, c = e.classPrefix, l = e.classnames, u = e.stepsClassName, d = this.state, f = d.currentStep, p = d.rawSteps;
|
|
352
|
-
return import_react.createElement("div", {
|
|
353
|
-
className: l(`${c}-Wizard-steps`, u),
|
|
354
|
-
id: "form-wizard"
|
|
355
|
-
}, Array.isArray(p) && p.length ? import_react.createElement(Steps$1, {
|
|
356
|
-
steps: p,
|
|
357
|
-
mode: s,
|
|
358
|
-
current: f - 1,
|
|
359
|
-
onClickStep: this.handleJumpStep
|
|
360
|
-
}) : null);
|
|
361
|
-
}, s.prototype.renderActions = function() {
|
|
362
|
-
var e = this, s = this.props, c = s.store, l = s.readOnly, u = s.disabled, d = s.actionClassName, f = s.actionPrevLabel, p = s.actionNextLabel, m = s.actionNextSaveLabel, h = s.actionFinishLabel, g = s.render, _ = s.translate;
|
|
363
|
-
s.classnames;
|
|
364
|
-
var v = s.testIdBuilder, y = this.state.rawSteps;
|
|
365
|
-
if (!Array.isArray(y)) return null;
|
|
366
|
-
var b = this.state.currentStep, x = y[b], S = y[b - 2], C = c.loading, w = y[b - 1];
|
|
367
|
-
if (!w) return null;
|
|
368
|
-
var T = S ? isJumpable(S, b - 2, b, c.data) : !1;
|
|
369
|
-
return w.actions && Array.isArray(w.actions) ? w.actions.length ? import_react.createElement(import_react.Fragment, null, w.actions.map(function(s, c) {
|
|
370
|
-
return g(`action/${c}`, s, {
|
|
371
|
-
key: `${b}-${c}`,
|
|
372
|
-
data: createObject(e.props.data, { currentStep: b }),
|
|
373
|
-
onAction: e.handleAction,
|
|
374
|
-
disabled: s.disabled || C || u || s.actionType === "prev" && !T || s.actionType === "next" && l && (!!w.api || !x)
|
|
375
|
-
});
|
|
376
|
-
})) : null : import_react.createElement(import_react.Fragment, null, g("prev-btn", {
|
|
377
|
-
type: "button",
|
|
378
|
-
label: _(f),
|
|
379
|
-
actionType: "prev",
|
|
380
|
-
className: d,
|
|
381
|
-
hiddenOn: "${currentStep === 1}",
|
|
382
|
-
id: v?.getChild("button-prev").getTestIdValue()
|
|
383
|
-
}, {
|
|
384
|
-
disabled: C || !T || u,
|
|
385
|
-
onAction: this.handleAction,
|
|
386
|
-
data: createObject(this.props.data, { currentStep: b })
|
|
387
|
-
}), g("next-btn", {
|
|
388
|
-
type: "button",
|
|
389
|
-
label: x ? w.api ? _(m) : _(p) : _(h),
|
|
390
|
-
actionType: "next",
|
|
391
|
-
primary: !x || !!w.api,
|
|
392
|
-
className: d,
|
|
393
|
-
level: "primary",
|
|
394
|
-
id: v?.getChild("button-next").getTestIdValue()
|
|
395
|
-
}, {
|
|
396
|
-
disabled: C || u || l && (!!w.api || !x),
|
|
397
|
-
onAction: this.handleAction
|
|
398
|
-
}));
|
|
399
|
-
}, s.prototype.renderFooter = function() {
|
|
400
|
-
var e = this.renderActions();
|
|
401
|
-
if (!e) return e;
|
|
402
|
-
var s = this.props, c = s.classnames, l = s.affixFooter, u = s.footerClassName, d = s.wrapWithPanel;
|
|
403
|
-
return import_react.createElement("div", {
|
|
404
|
-
role: "wizard-footer",
|
|
405
|
-
className: c("Wizard-footer", d ? "Panel-footer" : "", l && d ? "Panel-fixedBottom" : "", u)
|
|
406
|
-
}, e);
|
|
407
|
-
}, s.prototype.renderWizard = function() {
|
|
408
|
-
var e = this.props, s = e.className, c = e.steps, l = e.style, u = e.render, d = e.store, f = e.classPrefix, g = e.classnames, _ = e.popOverContainer, v = e.mode, y = e.translate, b = e.loadingConfig, x = e.stepClassName, S = e.bodyClassName, C = e.wrapWithPanel, w = this.state, T = w.rawSteps, E = w.currentStep, D = Array.isArray(T) && T.length > 0 ? T : Array.isArray(c) ? __spreadArray([], __read(c), !1).map(function(e) {
|
|
409
|
-
return delete e.hiddenOn, e;
|
|
410
|
-
}) : null, O = Array.isArray(D) ? D[E - 1] : null;
|
|
411
|
-
return import_react.createElement("div", {
|
|
412
|
-
ref: this.domRef,
|
|
413
|
-
className: g(C ? `${f}Panel ${f}Panel--default` : "", `${f}Wizard ${f}Wizard--${v}`, s),
|
|
414
|
-
style: l
|
|
415
|
-
}, import_react.createElement("div", { className: g(`${f}Wizard-step`, x) }, this.renderSteps(), import_react.createElement("div", {
|
|
416
|
-
role: "wizard-body",
|
|
417
|
-
className: g(`${f}Wizard-stepContent clearfix`, S)
|
|
418
|
-
}, O ? u("body", __assign(__assign({}, O), {
|
|
419
|
-
type: "form",
|
|
420
|
-
wrapWithPanel: !1,
|
|
421
|
-
api: null
|
|
422
|
-
}), {
|
|
423
|
-
key: this.state.currentStep,
|
|
424
|
-
ref: this.formRef,
|
|
425
|
-
onInit: this.handleInit,
|
|
426
|
-
onReset: this.handleReset,
|
|
427
|
-
onSubmit: this.handleSubmit,
|
|
428
|
-
onAction: this.handleAction,
|
|
429
|
-
onQuery: this.handleQuery,
|
|
430
|
-
disabled: d.loading,
|
|
431
|
-
popOverContainer: _ || this.getPopOverContainer,
|
|
432
|
-
onChange: this.handleChange,
|
|
433
|
-
formStore: void 0
|
|
434
|
-
}) : E === -1 ? y("loading") : import_react.createElement("p", { className: "text-danger" }, y("Wizard.configError"))), this.renderFooter()), u("dialog", __assign(__assign({}, d.dialogSchema), { type: "dialog" }), {
|
|
435
|
-
key: "dialog",
|
|
436
|
-
data: d.dialogData,
|
|
437
|
-
onConfirm: this.handleDialogConfirm,
|
|
438
|
-
onClose: this.handleDialogClose,
|
|
439
|
-
show: d.dialogOpen
|
|
440
|
-
}), import_react.createElement(Spinner$1, {
|
|
441
|
-
loadingConfig: b,
|
|
442
|
-
size: "lg",
|
|
443
|
-
overlay: !0,
|
|
444
|
-
key: "info",
|
|
445
|
-
show: d.loading
|
|
446
|
-
}));
|
|
447
|
-
}, s.prototype.render = function() {
|
|
448
|
-
return this.renderWizard();
|
|
449
|
-
}, s.defaultProps = {
|
|
450
|
-
mode: "horizontal",
|
|
451
|
-
readOnly: !1,
|
|
452
|
-
messages: {},
|
|
453
|
-
actionClassName: "",
|
|
454
|
-
actionPrevLabel: "Wizard.prev",
|
|
455
|
-
actionNextLabel: "Wizard.next",
|
|
456
|
-
actionNextSaveLabel: "Wizard.saveAndNext",
|
|
457
|
-
actionFinishLabel: "Wizard.finish",
|
|
458
|
-
startStep: "1",
|
|
459
|
-
wrapWithPanel: !0
|
|
460
|
-
}, s.propsList = [
|
|
461
|
-
"steps",
|
|
462
|
-
"mode",
|
|
463
|
-
"messages",
|
|
464
|
-
"actionClassName",
|
|
465
|
-
"actionPrevLabel",
|
|
466
|
-
"actionNextLabel",
|
|
467
|
-
"actionNextSaveLabel",
|
|
468
|
-
"actionFinishLabel",
|
|
469
|
-
"onFinished",
|
|
470
|
-
"affixFooter",
|
|
471
|
-
"startStep"
|
|
472
|
-
], __decorate([
|
|
473
|
-
autobind,
|
|
474
|
-
__metadata("design:type", Function),
|
|
475
|
-
__metadata("design:paramtypes", [Object]),
|
|
476
|
-
__metadata("design:returntype", void 0)
|
|
477
|
-
], s.prototype, "formRef", null), __decorate([
|
|
478
|
-
autobind,
|
|
479
|
-
__metadata("design:type", Function),
|
|
480
|
-
__metadata("design:paramtypes", [Object]),
|
|
481
|
-
__metadata("design:returntype", void 0)
|
|
482
|
-
], s.prototype, "domRef", null), __decorate([
|
|
483
|
-
autobind,
|
|
484
|
-
__metadata("design:type", Function),
|
|
485
|
-
__metadata("design:paramtypes", []),
|
|
486
|
-
__metadata("design:returntype", void 0)
|
|
487
|
-
], s.prototype, "getPopOverContainer", null), __decorate([
|
|
488
|
-
autobind,
|
|
489
|
-
__metadata("design:type", Function),
|
|
490
|
-
__metadata("design:paramtypes", [
|
|
491
|
-
Object,
|
|
492
|
-
Object,
|
|
493
|
-
Object,
|
|
494
|
-
Boolean,
|
|
495
|
-
Object
|
|
496
|
-
]),
|
|
497
|
-
__metadata("design:returntype", void 0)
|
|
498
|
-
], s.prototype, "handleAction", null), __decorate([
|
|
499
|
-
autobind,
|
|
500
|
-
__metadata("design:type", Function),
|
|
501
|
-
__metadata("design:paramtypes", [Object]),
|
|
502
|
-
__metadata("design:returntype", void 0)
|
|
503
|
-
], s.prototype, "handleQuery", null), __decorate([
|
|
504
|
-
autobind,
|
|
505
|
-
__metadata("design:type", Function),
|
|
506
|
-
__metadata("design:paramtypes", [Object]),
|
|
507
|
-
__metadata("design:returntype", Promise)
|
|
508
|
-
], s.prototype, "handleChange", null), __decorate([
|
|
509
|
-
autobind,
|
|
510
|
-
__metadata("design:type", Function),
|
|
511
|
-
__metadata("design:paramtypes", [Object]),
|
|
512
|
-
__metadata("design:returntype", void 0)
|
|
513
|
-
], s.prototype, "handleInit", null), __decorate([
|
|
514
|
-
autobind,
|
|
515
|
-
__metadata("design:type", Function),
|
|
516
|
-
__metadata("design:paramtypes", [Object]),
|
|
517
|
-
__metadata("design:returntype", void 0)
|
|
518
|
-
], s.prototype, "handleReset", null), __decorate([
|
|
519
|
-
autobind,
|
|
520
|
-
__metadata("design:type", Function),
|
|
521
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
522
|
-
__metadata("design:returntype", void 0)
|
|
523
|
-
], s.prototype, "handleSubmit", null), __decorate([
|
|
524
|
-
autobind,
|
|
525
|
-
__metadata("design:type", Function),
|
|
526
|
-
__metadata("design:paramtypes", [
|
|
527
|
-
Array,
|
|
528
|
-
Object,
|
|
529
|
-
Array
|
|
530
|
-
]),
|
|
531
|
-
__metadata("design:returntype", void 0)
|
|
532
|
-
], s.prototype, "handleDialogConfirm", null), __decorate([
|
|
533
|
-
autobind,
|
|
534
|
-
__metadata("design:type", Function),
|
|
535
|
-
__metadata("design:paramtypes", [Object]),
|
|
536
|
-
__metadata("design:returntype", void 0)
|
|
537
|
-
], s.prototype, "handleDialogClose", null), __decorate([
|
|
538
|
-
autobind,
|
|
539
|
-
__metadata("design:type", Function),
|
|
540
|
-
__metadata("design:paramtypes", [Number, Object]),
|
|
541
|
-
__metadata("design:returntype", void 0)
|
|
542
|
-
], s.prototype, "handleJumpStep", null), s;
|
|
543
|
-
}(import_react.Component);
|
|
544
|
-
function isJumpable(e, s, c, l) {
|
|
545
|
-
var u = !1;
|
|
546
|
-
return u = e && e.hasOwnProperty("jumpable") ? e.jumpable : e && e.jumpableOn ? evalExpression(e.jumpableOn, createObject(l, { currentStep: c })) : s + 1 < c, u;
|
|
547
|
-
}
|
|
548
|
-
var WizardRenderer = function(e) {
|
|
549
|
-
__extends(s, e);
|
|
550
|
-
function s(s, c) {
|
|
551
|
-
var l = e.call(this, s) || this;
|
|
552
|
-
return c.registerComponent(l), l;
|
|
553
|
-
}
|
|
554
|
-
return s.prototype.componentWillUnmount = function() {
|
|
555
|
-
this.context.unRegisterComponent(this), e.prototype.componentWillUnmount.call(this);
|
|
556
|
-
}, s.prototype.doAction = function(e, s, c) {
|
|
557
|
-
return c === void 0 && (c = !1), this.handleAction(void 0, e, s);
|
|
558
|
-
}, s.prototype.submitToTarget = function(e, s) {
|
|
559
|
-
this.context.send(e, s);
|
|
560
|
-
}, s.prototype.reloadTarget = function(e, s) {
|
|
561
|
-
this.context.reload(e, s);
|
|
562
|
-
}, s.prototype.handleDialogConfirm = function(s, c, l) {
|
|
563
|
-
e.prototype.handleDialogConfirm.call(this, s, c, l);
|
|
564
|
-
var u = this.props.store, d = this.context;
|
|
565
|
-
c.reload ? d.reload(c.reload, u.data) : u.action && u.action.reload && d.reload(u.action.reload, u.data);
|
|
566
|
-
}, s.prototype.setData = function(e, s) {
|
|
567
|
-
return this.props.store.updateData(e, void 0, s);
|
|
568
|
-
}, s.prototype.getData = function() {
|
|
569
|
-
return this.props.store.data;
|
|
570
|
-
}, s.contextType = ScopedContext, __decorate([
|
|
571
|
-
autobind,
|
|
572
|
-
__metadata("design:type", Function),
|
|
573
|
-
__metadata("design:paramtypes", [
|
|
574
|
-
Array,
|
|
575
|
-
Object,
|
|
576
|
-
Array
|
|
577
|
-
]),
|
|
578
|
-
__metadata("design:returntype", void 0)
|
|
579
|
-
], s.prototype, "handleDialogConfirm", null), s = __decorate([Renderer({
|
|
580
|
-
type: "wizard",
|
|
581
|
-
storeType: ServiceStore.name,
|
|
582
|
-
isolateScope: !0
|
|
583
|
-
}), __metadata("design:paramtypes", [Object, Object])], s), s;
|
|
584
|
-
}(Wizard);
|
|
585
|
-
export { WizardRenderer, Wizard as default };
|