@txgw/payout-components 0.6.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AMIS-D9TLFIT7.js +1 -0
- package/dist/Action-B-ZQiXEF.js +1 -0
- package/dist/Action-D_mwIN-5.js +1 -0
- package/dist/Alert-UVAjNb7s.js +1 -0
- package/dist/AnchorNav-BjgLgX6m.js +1 -0
- package/dist/App-ncbuqXE2.js +1 -0
- package/dist/Audio-B3lYr3U2.js +1 -0
- package/dist/Avatar-XqOgD9ui.js +1 -0
- package/dist/BarCode-B_ISp_TQ.js +1 -0
- package/dist/BarCode-Cg3O5s_0.js +1 -0
- package/dist/Breadcrumb-CTA88DWN.js +1 -0
- package/dist/ButtonGroup-pVY35HQ1.js +1 -0
- package/dist/ButtonGroupSelect-Bt6Jwo5u.js +1 -0
- package/dist/ButtonGroupSelect-C_qcxdHQ.js +1 -0
- package/dist/ButtonToolbar-CUNT7FK4.js +1 -0
- package/dist/CRUD-DRudIc-q.js +1 -0
- package/dist/CRUD2-CYGF0EMp.js +1 -0
- package/dist/Calendar-BW4diX9T.js +1 -0
- package/dist/Card-B_1cg_nQ.js +1 -0
- package/dist/Card-C4m8b89W.js +1 -0
- package/dist/Card2-BXG0mDni.js +1 -0
- package/dist/Cards-ak9W7Ggn.js +1 -0
- package/dist/Carousel-CxCXr052.js +1 -0
- package/dist/ChainedSelect-BcWT4XqI.js +1 -0
- package/dist/Chart-BxLGXl9u.js +1 -0
- package/dist/ChartRadios-DstdFZq_.js +1 -0
- package/dist/Checkbox-C4MOpWIk.js +1 -0
- package/dist/Checkbox-nA8maqiS.js +1 -0
- package/dist/Checkboxes-DaAz8fEe.js +1 -0
- package/dist/Code-C7wxKt-Z.js +1 -0
- package/dist/Collapse-B7DWMzHM.js +1 -0
- package/dist/Collapse-BW-pXRle.js +1 -0
- package/dist/CollapseGroup-C5HPq_8j.js +1 -0
- package/dist/Color-BpoN5ndM.js +1 -0
- package/dist/ColorPicker-B-eyCI0N.js +1 -0
- package/dist/ColumnToggler-BCOanQf7.js +1 -0
- package/dist/ColumnToggler-BNmJdTb9.js +1 -0
- package/dist/Combo-DVBtMl-s.js +1 -0
- package/dist/ConditionBuilder-bQtsEBIu.js +1 -0
- package/dist/Container-BCEndXiL.js +1 -0
- package/dist/Control-DBSbZmLZ.js +1 -0
- package/dist/Custom-CVj3O57n.js +1 -0
- package/dist/{Date-C9Kib09x.js → Date-CuBE2XD8.js} +1 -333
- package/dist/DateRange-Bd9o9Fl_.js +1 -0
- package/dist/Dialog-DzlFCRtq.js +1 -0
- package/dist/DiffEditor-Cccg35Ly.js +1 -0
- package/dist/Divider-gy0IUviz.js +1 -0
- package/dist/Drawer-C37JbURK.js +1 -0
- package/dist/DropDownButton-DO4hK0Kp.js +1 -0
- package/dist/Each-BfbwJEMb.js +1 -0
- package/dist/FieldSet-D3WMli0B.js +1 -0
- package/dist/FieldSet-D8oj-Vb4.js +1 -0
- package/dist/Flex-CXooKsRI.js +1 -0
- package/dist/Formula-KUisLb0j.js +1 -0
- package/dist/Grid2D-6cCqZG6j.js +1 -0
- package/dist/GridNav-Bvueqq-Q.js +1 -0
- package/dist/Group-EswEogaf.js +1 -0
- package/dist/HBox-DGIyZMV6.js +1 -0
- package/dist/HBox-DyS1JJHh.js +1 -0
- package/dist/Hidden-DwrGEKjM.js +1 -0
- package/dist/IFrame-BT4_03AI.js +1 -0
- package/dist/Icon-BNP1oNtQ.js +1 -0
- package/dist/IconPicker-CIL2Wob5.js +1 -0
- package/dist/IconPickerIcons-DN0pqJHt.js +1 -0
- package/dist/IconSelect-D1CPpZAU.js +1 -0
- package/dist/IconSelectStore-BM_zyU2d.js +1 -0
- package/dist/Image--xtRdgd5.js +1 -0
- package/dist/Image-BAenzG4k.js +1 -0
- package/dist/Images-zPCUHCyK.js +1 -0
- package/dist/InputArray-BnERrQT7.js +1 -0
- package/dist/InputCity-Bidd_z8i.js +1 -0
- package/dist/InputColor-D0Kf9p1Q.js +1 -0
- package/dist/InputDate-CzCxGUx_.js +1 -0
- package/dist/InputDateRange-Bp3owFpS.js +1 -0
- package/dist/InputExcel-DUdIptAN.js +1 -0
- package/dist/InputFile-DquJWe_S.js +1 -0
- package/dist/InputFile-X4G2zOvt.js +1 -0
- package/dist/InputFormula-Cu3Oc5xq.js +1 -0
- package/dist/InputGroup-RqgoJFcl.js +1 -0
- package/dist/InputImage-CdVzSsuR.js +1 -0
- package/dist/InputImage-Cv5FkWaC.js +1 -0
- package/dist/InputMonthRange-BTR1bISz.js +1 -0
- package/dist/InputNumber-C0rip8fu.js +1 -0
- package/dist/InputQuarterRange-D1X-Z2tN.js +1 -0
- package/dist/InputRange-Dq-ePI8S.js +1 -0
- package/dist/InputRating-_KtpPZno.js +1 -0
- package/dist/InputRepeat-D3Drjx3I.js +1 -0
- package/dist/InputRichText-0TZzQzcy.js +1 -0
- package/dist/InputRichText-CyfWV74o.js +1 -0
- package/dist/InputSignature-CXV7thvH.js +1 -0
- package/dist/InputSubForm-CQuaHTe3.js +1 -0
- package/dist/InputTable-CJ4Dl3xA.js +1 -0
- package/dist/InputTag-BAjQnJh1.js +1 -0
- package/dist/InputText-Ci8XzpKK.js +1 -0
- package/dist/InputTree-Coq2YfRD.js +1 -0
- package/dist/InputVerificationCode-CZbzrwa_.js +1 -0
- package/dist/InputYearRange-CbdR1nuY.js +1 -0
- package/dist/JSONSchema-Z9eJulgD.js +1 -0
- package/dist/JSONSchemaEditor-qtbO2bWX.js +1 -0
- package/dist/Json-I_TX2D01.js +1 -0
- package/dist/Link-DoCudSpW.js +1 -0
- package/dist/List-BItkFb-A.js +1 -0
- package/dist/List-Ccx0hLxM.js +1 -0
- package/dist/ListSelect-f6rDx6N2.js +1 -0
- package/dist/LocationPicker-CZd07tME.js +1 -0
- package/dist/Log--rbcIY4g.js +1 -0
- package/dist/Mapping-rpBDdw-o.js +1 -0
- package/dist/Markdown-BlxcmdTl.js +1 -0
- package/dist/Markdown-M8qWm8IY.js +1 -0
- package/dist/MatrixCheckboxes-DCnC8NGQ.js +1 -0
- package/dist/MultilineText-CHrvTjY_.js +1 -0
- package/dist/Nav-CDJbX6q3.js +1 -0
- package/dist/NestedSelect-Uxvg89Pe.js +1 -0
- package/dist/Number-tVXWVP4G.js +1 -0
- package/dist/OfficeViewer-Cz447nMa.js +1 -0
- package/dist/Operation-JkWrokFn.js +1 -0
- package/dist/Page-C5qOXz9A.js +1 -0
- package/dist/Pagination-DQoNu1Qo.js +1 -0
- package/dist/PaginationWrapper-07h0-dmz.js +1 -0
- package/dist/Panel--P2Ov47t.js +1 -0
- package/dist/Password-CF1feQa2.js +1 -0
- package/dist/Picker-CKV0_5vN.js +1 -0
- package/dist/Plain-CnRq3KDS.js +1 -0
- package/dist/PopUp-xCiesfUA.js +104 -0
- package/dist/Portlet-Agkkko8B.js +1 -0
- package/dist/Progress-D-JOmIgT.js +1 -0
- package/dist/Property-BoNnFGV9.js +1 -0
- package/dist/QRCode-BFfhBYxV.js +2 -0
- package/dist/Radio-BRNZ49gi.js +1 -0
- package/dist/Radios-0CT3XjKZ.js +1 -0
- package/dist/Remark-BuTyhR9e.js +1 -0
- package/dist/Remark-XZDS4Z3Y.js +1 -0
- package/dist/RichText-wfPXQmb8.js +1 -0
- package/dist/SearchBox-__1UKInO.js +1 -0
- package/dist/Select-D9nj7O4q.js +1 -0
- package/dist/Service-fGzhGL0m.js +1 -0
- package/dist/Shape-C9r17D5A.js +1 -0
- package/dist/Slider-BryEccA-.js +1 -0
- package/dist/SparkLine-CcOuk0we.js +1 -0
- package/dist/Spinner-qyJRJu1C.js +1 -0
- package/dist/StaticHoc-C0bGgnQS.js +1 -0
- package/dist/Status-BPtAA54m.js +1 -0
- package/dist/Steps-DsmYH15c.js +1 -0
- package/dist/Switch-CMkhfkPn.js +1 -0
- package/dist/SwitchContainer-BLxuSTyZ.js +1 -0
- package/dist/Table-DsxWjUvF.js +1 -0
- package/dist/Table-HvHD2tS0.js +1 -0
- package/dist/Table2-C4HNs_R1.js +1 -0
- package/dist/TableView-zfvmfF6E.js +1 -0
- package/dist/Tabs-BeQyEedg.js +1 -0
- package/dist/TabsTransfer-BsYcLplM.js +1 -0
- package/dist/TabsTransferPicker-SS6hg5Hc.js +1 -0
- package/dist/Tag-IL_v32Aa.js +1 -0
- package/dist/Tasks-D6GQavXw.js +1 -0
- package/dist/Textarea-Ck0rJ3Ff.js +1 -0
- package/dist/Timeline-BT7aVGPP.js +1 -0
- package/dist/TooltipWrapper-Bx_3339q.js +1 -0
- package/dist/Tpl-BiWl-0O_.js +1 -0
- package/dist/Transfer-BwyAe8c8.js +1 -0
- package/dist/Transfer-CldOhDuU.js +1 -0
- package/dist/TransferPicker-C2cth5_r.js +1 -0
- package/dist/TreeSelect-D9-PBXkV.js +1 -0
- package/dist/UUID-R41mBvtB.js +1 -0
- package/dist/UserSelect-Cq56ZLkZ.js +1 -0
- package/dist/VBox-BEdXFwFf.js +1 -0
- package/dist/Video-BIQhs4lA.js +1 -0
- package/dist/WebComponent-Vzfd9UEy.js +1 -0
- package/dist/Wizard-BwEpr22M.js +1 -0
- package/dist/Words-C7JrGNdU.js +1 -0
- package/dist/Wrapper-DIGr8a29.js +1 -0
- package/dist/_getTag-x788Ng9o.js +1 -0
- package/dist/beneficiary-form-_xPce615.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-Cn6dJrVn.js +1 -0
- package/dist/esm-CofciBhy.js +4 -0
- package/dist/esm-DyRrwLZv.js +1 -0
- package/dist/esm-vG8eylH_.js +28 -0
- package/dist/function-C8ta9DKb.js +3 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -120
- 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-yExSo67O.js +1 -0
- package/dist/omitBy-CFU0pICA.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-ziNg7OgH.js +1 -0
- package/package.json +20 -15
- 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/Drawer-DslUxLot.js
DELETED
|
@@ -1,448 +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, s as __read, t as __assign, u as __spreadArray } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-CNJMA2ft.js";
|
|
5
|
-
import "./isEqual-E2NjjS0_.js";
|
|
6
|
-
import { J as CustomStyle, Nn as autobind, Xr as filter, Z as setThemeClassName, cr as guid, dt as ScopedContext, ft as filterTarget, it as Renderer, oi as createObject, ra as isAlive, sa as reaction, wt as ModalStore, xr as isVisible, yr as isObjectShallowModified } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import { t as require_react_dom } from "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
import { wt as Drawer$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_react_dom = require_react_dom(), Drawer = function(e) {
|
|
11
|
-
__extends(i, e);
|
|
12
|
-
function i(i) {
|
|
13
|
-
var a = e.call(this, i) || this;
|
|
14
|
-
a.$$id = guid(), i.store.setEntered(!!i.show), a.handleSelfClose = a.handleSelfClose.bind(a), a.handleAction = a.handleAction.bind(a), a.handleActionSensor = a.handleActionSensor.bind(a), a.handleDrawerConfirm = a.handleDrawerConfirm.bind(a), a.handleDrawerClose = a.handleDrawerClose.bind(a), a.handleDialogConfirm = a.handleDialogConfirm.bind(a), a.handleDialogClose = a.handleDialogClose.bind(a), a.handleChildFinished = a.handleChildFinished.bind(a), a.handleEntered = a.handleEntered.bind(a), a.handleExited = a.handleExited.bind(a), a.handleFormInit = a.handleFormInit.bind(a), a.handleFormChange = a.handleFormChange.bind(a), a.handleFormSaved = a.handleFormSaved.bind(a);
|
|
15
|
-
var o = i.store;
|
|
16
|
-
return a.reaction = reaction(function() {
|
|
17
|
-
return `${o.loading}${o.error}`;
|
|
18
|
-
}, function() {
|
|
19
|
-
return a.forceUpdate();
|
|
20
|
-
}), a;
|
|
21
|
-
}
|
|
22
|
-
return i.prototype.componentWillUnmount = function() {
|
|
23
|
-
this.reaction && this.reaction(), clearTimeout(this.clearErrorTimer);
|
|
24
|
-
}, i.prototype.buildActions = function() {
|
|
25
|
-
var e = this.props, i = e.actions, a = e.confirm, o = e.translate, s = e.testIdBuilder;
|
|
26
|
-
if (i !== void 0) return i;
|
|
27
|
-
var c = [];
|
|
28
|
-
return c.push({
|
|
29
|
-
type: "button",
|
|
30
|
-
testIdBuilder: s?.getChild("cancel"),
|
|
31
|
-
actionType: "close",
|
|
32
|
-
label: o("cancel")
|
|
33
|
-
}), a && c.push({
|
|
34
|
-
type: "button",
|
|
35
|
-
actionType: "confirm",
|
|
36
|
-
testIdBuilder: s?.getChild("confirm"),
|
|
37
|
-
label: o("confirm"),
|
|
38
|
-
primary: !0
|
|
39
|
-
}), c;
|
|
40
|
-
}, i.prototype.handleSelfClose = function() {
|
|
41
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
42
|
-
var e, i, o, s, c;
|
|
43
|
-
return __generator(this, function(a) {
|
|
44
|
-
switch (a.label) {
|
|
45
|
-
case 0: return e = this.props, i = e.onClose, o = e.store, s = e.dispatchEvent, o.dialogOpen !== !1 || o.drawerOpen !== !1 ? [2] : [4, s("cancel", this.props.data)];
|
|
46
|
-
case 1: return c = a.sent(), c?.prevented ? [2] : c?.pendingPromise.length ? [4, c.allDone()] : [3, 3];
|
|
47
|
-
case 2: a.sent(), a.label = 3;
|
|
48
|
-
case 3: return o.updateMessage(), i(), [2];
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
}, i.prototype.handleActionSensor = function(e) {
|
|
53
|
-
var i = this.props.store, a = i.busying;
|
|
54
|
-
i.markBusying(!0), i.updateMessage(), e.then(function() {
|
|
55
|
-
i.markBusying(a);
|
|
56
|
-
}).catch(function(e) {
|
|
57
|
-
i.updateMessage(e.message, !0), i.markBusying(a);
|
|
58
|
-
});
|
|
59
|
-
}, i.prototype.handleAction = function(e, i, a) {
|
|
60
|
-
var o = this.props, s = o.onClose, c = o.onAction;
|
|
61
|
-
i.actionType === "close" || i.actionType === "cancel" ? s() : c && c(e, i, a);
|
|
62
|
-
}, i.prototype.handleDrawerConfirm = function(e, i) {
|
|
63
|
-
var a = [...arguments].slice(2), o = this.props.store;
|
|
64
|
-
i.mergeData && e.length === 1 && e[0] && o.updateData(e[0]);
|
|
65
|
-
var s = o.action.drawer;
|
|
66
|
-
s.onConfirm && s.onConfirm.apply(s, __spreadArray([e, i], __read(a), !1)) === !1 || o.closeDrawer(!0, e);
|
|
67
|
-
}, i.prototype.handleDrawerClose = function() {
|
|
68
|
-
var e = [...arguments], i = this.props.store, a = i.action.drawer;
|
|
69
|
-
a.onClose && a.onClose.apply(a, __spreadArray([], __read(e), !1)) === !1 || i.closeDrawer.apply(i, __spreadArray([], __read(e), !1));
|
|
70
|
-
}, i.prototype.handleDialogConfirm = function(e, i) {
|
|
71
|
-
var a = [...arguments].slice(2), o = this.props.store;
|
|
72
|
-
i.mergeData && e.length === 1 && e[0] && o.updateData(e[0]);
|
|
73
|
-
var s = o.action.dialog;
|
|
74
|
-
s.onConfirm && s.onConfirm.apply(s, __spreadArray([e, i], __read(a), !1)) === !1 || o.closeDialog(!0, e);
|
|
75
|
-
}, i.prototype.handleDialogClose = function() {
|
|
76
|
-
var e = [...arguments], i = this.props.store, a = i.action.dialog;
|
|
77
|
-
a.onClose && a.onClose.apply(a, __spreadArray([], __read(e), !1)) === !1 || i.closeDialog(e[1]);
|
|
78
|
-
}, i.prototype.handleChildFinished = function(e, i) {}, i.prototype.handleFormInit = function(e) {
|
|
79
|
-
this.props.store.setFormData(e);
|
|
80
|
-
}, i.prototype.handleFormChange = function(e, i) {
|
|
81
|
-
var a = this.props.store;
|
|
82
|
-
if (typeof i == "string") {
|
|
83
|
-
a.changeValue(i, e);
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
a.setFormData(e);
|
|
87
|
-
}, i.prototype.handleFormSaved = function(e, i) {
|
|
88
|
-
this.props.store.setFormData(__assign(__assign({}, e), i));
|
|
89
|
-
}, i.prototype.handleEntered = function() {
|
|
90
|
-
var e = this.props, i = e.lazySchema, a = e.store;
|
|
91
|
-
a.setEntered(!0), a.markBusying(!1), typeof i == "function" && a.setSchema(i(this.props));
|
|
92
|
-
}, i.prototype.handleExited = function() {
|
|
93
|
-
var e = this.props, i = e.lazySchema, a = e.store, o = e.statusStore;
|
|
94
|
-
o && isAlive(o) && o.resetAll(), isAlive(a) && (a.reset(), a.clearMessage(), a.markBusying(!1), a.setEntered(!1), typeof i == "function" && a.setSchema(""));
|
|
95
|
-
}, i.prototype.getPopOverContainer = function() {
|
|
96
|
-
return (0, import_react_dom.findDOMNode)(this).querySelector(`.${this.props.classPrefix}Drawer-content`);
|
|
97
|
-
}, i.prototype.renderBody = function(e, i) {
|
|
98
|
-
var a = this, o = this.props, s = o.render, c = o.store;
|
|
99
|
-
if (Array.isArray(e)) return e.map(function(e, i) {
|
|
100
|
-
return a.renderBody(e, i);
|
|
101
|
-
});
|
|
102
|
-
var l = e, u = {
|
|
103
|
-
key: i,
|
|
104
|
-
disabled: c.loading,
|
|
105
|
-
onAction: this.handleAction,
|
|
106
|
-
onFinished: this.handleChildFinished,
|
|
107
|
-
popOverContainer: this.getPopOverContainer,
|
|
108
|
-
onChange: this.handleFormChange,
|
|
109
|
-
onInit: this.handleFormInit,
|
|
110
|
-
onSaved: this.handleFormSaved,
|
|
111
|
-
onActionSensor: this.handleActionSensor,
|
|
112
|
-
btnDisabled: c.loading,
|
|
113
|
-
inDragging: c.inDragging,
|
|
114
|
-
syncLocation: !1
|
|
115
|
-
};
|
|
116
|
-
return l.type === "form" && (l = __assign({
|
|
117
|
-
mode: "horizontal",
|
|
118
|
-
wrapWithPanel: !1,
|
|
119
|
-
submitText: null
|
|
120
|
-
}, l)), s(`body${i ? `/${i}` : ""}`, l, u);
|
|
121
|
-
}, i.prototype.renderFooter = function() {
|
|
122
|
-
var e = this, i = this.buildActions(), a = this.props.hideActions;
|
|
123
|
-
if (!i || !i.length || a) return null;
|
|
124
|
-
var o = this.props, s = o.store, c = o.render, l = o.env, u = o.classnames, d = o.showErrorMsg, p = o.footerClassName, m = o.id, h = o.themeCss;
|
|
125
|
-
return import_react.createElement("div", { className: u("Drawer-footer", p, setThemeClassName(__assign(__assign({}, this.props), {
|
|
126
|
-
name: "drawerFooterClassName",
|
|
127
|
-
id: m,
|
|
128
|
-
themeCss: h
|
|
129
|
-
}))) }, s.loading || s.error ? import_react.createElement("div", { className: u("Drawer-info") }, import_react.createElement(Spinner$1, {
|
|
130
|
-
size: "sm",
|
|
131
|
-
key: "info",
|
|
132
|
-
show: s.loading
|
|
133
|
-
}), !l.forceSilenceInsideError && d && s.error ? import_react.createElement("span", { className: u("Drawer-error") }, s.msg) : null) : null, i.map(function(i, a) {
|
|
134
|
-
return c(`action/${a}`, i, {
|
|
135
|
-
onAction: e.handleAction,
|
|
136
|
-
onActionSensor: void 0,
|
|
137
|
-
btnDisabled: s.loading,
|
|
138
|
-
data: s.formData,
|
|
139
|
-
key: a,
|
|
140
|
-
disabled: i.disabled || s.loading
|
|
141
|
-
});
|
|
142
|
-
}));
|
|
143
|
-
}, i.prototype.openFeedback = function(e, i) {
|
|
144
|
-
var a = this;
|
|
145
|
-
return new Promise(function(o) {
|
|
146
|
-
var s = a.props.store;
|
|
147
|
-
s.setCurrentAction({
|
|
148
|
-
type: "button",
|
|
149
|
-
actionType: "dialog",
|
|
150
|
-
dialog: e
|
|
151
|
-
}, a.props.resolveDefinitions), s.openDialog(i, void 0, function(e) {
|
|
152
|
-
o(e);
|
|
153
|
-
}, a.context);
|
|
154
|
-
});
|
|
155
|
-
}, i.prototype.render = function() {
|
|
156
|
-
var e = this.props.store, i = __assign(__assign({}, this.props), e.schema), a = i.className, s = i.style, c = i.size, l = i.closeOnEsc, u = i.position, d = i.title, p = i.render, h = i.header, g = i.body, v = i.bodyClassName, y = i.headerClassName, b = i.show, x = i.showCloseButton, S = i.width, C = i.height, w = i.wrapperComponent, T = i.env, E = i.resizable, D = i.overlay, O = i.closeOnOutside, k = i.classPrefix, A = i.classnames, j = i.drawerContainer, M = i.loadingConfig;
|
|
157
|
-
i.popOverContainer;
|
|
158
|
-
var N = i.themeCss, P = i.id, F = __rest(i, /* @__PURE__ */ "className.style.size.closeOnEsc.position.title.render.header.body.bodyClassName.headerClassName.show.showCloseButton.width.height.wrapperComponent.env.resizable.overlay.closeOnOutside.classPrefix.classnames.drawerContainer.loadingConfig.popOverContainer.themeCss.id".split(".")), I = w || Drawer$1;
|
|
159
|
-
return import_react.createElement(I, __assign({}, F, {
|
|
160
|
-
resizable: E,
|
|
161
|
-
classPrefix: k,
|
|
162
|
-
className: a,
|
|
163
|
-
style: s,
|
|
164
|
-
drawerClassName: setThemeClassName(__assign(__assign({}, this.props), {
|
|
165
|
-
name: "drawerClassName",
|
|
166
|
-
id: P,
|
|
167
|
-
themeCss: N
|
|
168
|
-
})),
|
|
169
|
-
drawerMaskClassName: setThemeClassName(__assign(__assign({}, this.props), {
|
|
170
|
-
name: "drawerMaskClassName",
|
|
171
|
-
id: P,
|
|
172
|
-
themeCss: N
|
|
173
|
-
})),
|
|
174
|
-
size: c,
|
|
175
|
-
onHide: this.handleSelfClose,
|
|
176
|
-
disabled: e.loading,
|
|
177
|
-
show: b,
|
|
178
|
-
showCloseButton: x,
|
|
179
|
-
width: S,
|
|
180
|
-
height: C,
|
|
181
|
-
position: u,
|
|
182
|
-
overlay: D,
|
|
183
|
-
onEntered: this.handleEntered,
|
|
184
|
-
onExited: this.handleExited,
|
|
185
|
-
onDragging: e.setDragging,
|
|
186
|
-
closeOnEsc: l,
|
|
187
|
-
closeOnOutside: !e.drawerOpen && !e.dialogOpen && O,
|
|
188
|
-
container: j || T?.getModalContainer
|
|
189
|
-
}), d || h ? import_react.createElement("div", { className: A("Drawer-header", y, setThemeClassName(__assign(__assign({}, this.props), {
|
|
190
|
-
name: "drawerHeaderClassName",
|
|
191
|
-
id: P,
|
|
192
|
-
themeCss: N
|
|
193
|
-
}))) }, d ? import_react.createElement("div", { className: A("Drawer-title", setThemeClassName(__assign(__assign({}, this.props), {
|
|
194
|
-
name: "drawerTitleClassName",
|
|
195
|
-
id: P,
|
|
196
|
-
themeCss: N
|
|
197
|
-
}))) }, p("title", d, {
|
|
198
|
-
data: e.formData,
|
|
199
|
-
onConfirm: this.handleDrawerConfirm,
|
|
200
|
-
onClose: this.handleDrawerClose,
|
|
201
|
-
onAction: this.handleAction,
|
|
202
|
-
onActionSensor: void 0,
|
|
203
|
-
btnDisabled: e.loading
|
|
204
|
-
})) : null, h ? p("header", h, {
|
|
205
|
-
data: e.formData,
|
|
206
|
-
onConfirm: this.handleDrawerConfirm,
|
|
207
|
-
onClose: this.handleDrawerClose,
|
|
208
|
-
onAction: this.handleAction,
|
|
209
|
-
onActionSensor: void 0,
|
|
210
|
-
btnDisabled: e.loading
|
|
211
|
-
}) : null) : null, e.entered ? g ? import_react.createElement("div", {
|
|
212
|
-
className: A("Drawer-body", v, setThemeClassName(__assign(__assign({}, this.props), {
|
|
213
|
-
name: "drawerBodyClassName",
|
|
214
|
-
id: P,
|
|
215
|
-
themeCss: N
|
|
216
|
-
}))),
|
|
217
|
-
role: "dialog-body"
|
|
218
|
-
}, this.renderBody(g, "body"), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
219
|
-
config: {
|
|
220
|
-
themeCss: N,
|
|
221
|
-
classNames: [
|
|
222
|
-
{ key: "drawerClassName" },
|
|
223
|
-
{ key: "drawerMaskClassName" },
|
|
224
|
-
{ key: "drawerHeaderClassName" },
|
|
225
|
-
{ key: "drawerTitleClassName" },
|
|
226
|
-
{ key: "drawerBodyClassName" },
|
|
227
|
-
{ key: "drawerFooterClassName" }
|
|
228
|
-
],
|
|
229
|
-
id: P
|
|
230
|
-
},
|
|
231
|
-
env: T
|
|
232
|
-
}))) : null : import_react.createElement("div", { className: A("Drawer-body", v, setThemeClassName(__assign(__assign({}, this.props), {
|
|
233
|
-
name: "drawerBodyClassName",
|
|
234
|
-
id: P,
|
|
235
|
-
themeCss: N
|
|
236
|
-
}))) }, import_react.createElement(Spinner$1, {
|
|
237
|
-
overlay: !0,
|
|
238
|
-
show: !0,
|
|
239
|
-
size: "lg",
|
|
240
|
-
loadingConfig: M
|
|
241
|
-
})), this.renderFooter(), g ? p("dialog", __assign(__assign({}, e.dialogSchema), { type: "dialog" }), {
|
|
242
|
-
key: "dialog",
|
|
243
|
-
data: e.dialogData,
|
|
244
|
-
onConfirm: this.handleDialogConfirm,
|
|
245
|
-
onClose: this.handleDialogClose,
|
|
246
|
-
onAction: this.handleAction,
|
|
247
|
-
show: e.dialogOpen
|
|
248
|
-
}) : null, g ? p("drawer", __assign(__assign({}, e.drawerSchema), { type: "drawer" }), {
|
|
249
|
-
key: "drawer",
|
|
250
|
-
data: e.drawerData,
|
|
251
|
-
onConfirm: this.handleDrawerConfirm,
|
|
252
|
-
onClose: this.handleDrawerClose,
|
|
253
|
-
onAction: this.handleAction,
|
|
254
|
-
show: e.drawerOpen
|
|
255
|
-
}) : null);
|
|
256
|
-
}, i.propsList = [
|
|
257
|
-
"title",
|
|
258
|
-
"size",
|
|
259
|
-
"closeOnEsc",
|
|
260
|
-
"closeOnOutside",
|
|
261
|
-
"children",
|
|
262
|
-
"className",
|
|
263
|
-
"bodyClassName",
|
|
264
|
-
"headerClassName",
|
|
265
|
-
"footerClassName",
|
|
266
|
-
"confirm",
|
|
267
|
-
"position",
|
|
268
|
-
"onClose",
|
|
269
|
-
"onConfirm",
|
|
270
|
-
"show",
|
|
271
|
-
"showCloseButton",
|
|
272
|
-
"width",
|
|
273
|
-
"height",
|
|
274
|
-
"resizable",
|
|
275
|
-
"overlay",
|
|
276
|
-
"body",
|
|
277
|
-
"popOverContainer",
|
|
278
|
-
"showErrorMsg"
|
|
279
|
-
], i.defaultProps = {
|
|
280
|
-
title: "",
|
|
281
|
-
className: "",
|
|
282
|
-
bodyClassName: "",
|
|
283
|
-
headerClassName: "",
|
|
284
|
-
footerClassName: "",
|
|
285
|
-
confirm: !0,
|
|
286
|
-
position: "right",
|
|
287
|
-
resizable: !1,
|
|
288
|
-
showCloseButton: !0,
|
|
289
|
-
overlay: !0,
|
|
290
|
-
closeOnEsc: !1,
|
|
291
|
-
closeOnOutside: !1,
|
|
292
|
-
showErrorMsg: !0
|
|
293
|
-
}, __decorate([
|
|
294
|
-
autobind,
|
|
295
|
-
__metadata("design:type", Function),
|
|
296
|
-
__metadata("design:paramtypes", []),
|
|
297
|
-
__metadata("design:returntype", void 0)
|
|
298
|
-
], i.prototype, "getPopOverContainer", null), i;
|
|
299
|
-
}(import_react.Component), DrawerRenderer = function(e) {
|
|
300
|
-
__extends(i, e);
|
|
301
|
-
function i(i, a) {
|
|
302
|
-
var o = e.call(this, i) || this;
|
|
303
|
-
return a.registerComponent(o), o;
|
|
304
|
-
}
|
|
305
|
-
return i.prototype.componentWillUnmount = function() {
|
|
306
|
-
this.context.unRegisterComponent(this), e.prototype.componentWillUnmount.call(this);
|
|
307
|
-
}, i.prototype.tryChildrenToHandle = function(e, i, a) {
|
|
308
|
-
var o = this, s = this.context, c = [], l = this.props, u = l.onConfirm, m = l.store;
|
|
309
|
-
if (e.target && c.push.apply(c, __spreadArray([], __read(e.target.split(",").map(function(e) {
|
|
310
|
-
return s.getComponentByName(e);
|
|
311
|
-
}).filter(function(e) {
|
|
312
|
-
return e && e.doAction;
|
|
313
|
-
})), !1)), e?.isolateScope !== !0 && !c.length) for (var h = s.getComponents().filter(function(e) {
|
|
314
|
-
return !~["drawer", "dialog"].indexOf(e.props.type);
|
|
315
|
-
}).concat(); h.length;) {
|
|
316
|
-
var g = h.pop();
|
|
317
|
-
if (~[
|
|
318
|
-
"crud",
|
|
319
|
-
"form",
|
|
320
|
-
"wizard"
|
|
321
|
-
].indexOf(g.props.type)) {
|
|
322
|
-
c.push(g);
|
|
323
|
-
break;
|
|
324
|
-
} else if (~["drawer", "dialog"].indexOf(g.props.type)) continue;
|
|
325
|
-
else ~["page", "service"].indexOf(g.props.type) && h.unshift.apply(h, g.context.getComponents());
|
|
326
|
-
}
|
|
327
|
-
return c.length ? (m.markBusying(!0), m.updateMessage(), Promise.all(c.map(function(a) {
|
|
328
|
-
return a.doAction(__assign(__assign({}, e), { from: o.$$id }), i, !0);
|
|
329
|
-
})).then(function(s) {
|
|
330
|
-
(e.type === "submit" || e.actionType === "submit" || e.actionType === "confirm") && e.close !== !1 ? u && u(s, a || e, i, c) : e.close && (e.close === !0 ? o.handleSelfClose() : o.closeTarget(e.close)), m.markBusying(!1);
|
|
331
|
-
}).catch(function(e) {
|
|
332
|
-
m.updateMessage(e.message, !0), m.markBusying(!1), clearTimeout(o.clearErrorTimer), o.clearErrorTimer = setTimeout(function() {
|
|
333
|
-
m.updateMessage("");
|
|
334
|
-
}, 3e3);
|
|
335
|
-
}), !0) : !1;
|
|
336
|
-
}, i.prototype.doAction = function(e, i, a) {
|
|
337
|
-
this.handleAction(void 0, e, i);
|
|
338
|
-
}, i.prototype.handleAction = function(e, i, o, s, l, u) {
|
|
339
|
-
return s === void 0 && (s = !1), __awaiter(this, void 0, void 0, function() {
|
|
340
|
-
var d, f, p, m, h, _, v, y, x, C, w = this;
|
|
341
|
-
return __generator(this, function(T) {
|
|
342
|
-
switch (T.label) {
|
|
343
|
-
case 0: return d = this.props, f = d.onClose, p = d.onAction, m = d.store, h = d.env, _ = d.dispatchEvent, v = d.show, i.from === this.$$id || !v ? [2, p ? p(e, i, o, s, l || this.context) : !1] : u?.pendingPromise.length ? [4, u.allDone()] : [3, 2];
|
|
344
|
-
case 1: T.sent(), T.label = 2;
|
|
345
|
-
case 2: return y = this.context, i.actionType === "close" || i.actionType === "cancel" ? [4, _("cancel", createObject(this.props.data, o))] : [3, 6];
|
|
346
|
-
case 3: return x = T.sent(), x?.prevented ? [2] : x?.pendingPromise.length ? [4, x.allDone()] : [3, 5];
|
|
347
|
-
case 4: T.sent(), T.label = 5;
|
|
348
|
-
case 5: return m.setCurrentAction(i, this.props.resolveDefinitions), f(), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), [3, 17];
|
|
349
|
-
case 6: return i.actionType === "confirm" ? [4, _("confirm", createObject(this.props.data, o))] : [3, 10];
|
|
350
|
-
case 7: return C = T.sent(), C?.prevented ? [2] : C?.pendingPromise.length ? [4, C.allDone()] : [3, 9];
|
|
351
|
-
case 8: T.sent(), T.label = 9;
|
|
352
|
-
case 9: return m.setCurrentAction(i, this.props.resolveDefinitions), this.tryChildrenToHandle(i, o) || f(), [3, 17];
|
|
353
|
-
case 10: return i.actionType === "drawer" ? (m.setCurrentAction(i, this.props.resolveDefinitions), [2, new Promise(function(e) {
|
|
354
|
-
m.openDrawer(o, void 0, function(a, o) {
|
|
355
|
-
var s;
|
|
356
|
-
(s = i.callback) == null || s.call(i, a, o), e({
|
|
357
|
-
confirmed: a,
|
|
358
|
-
value: o
|
|
359
|
-
});
|
|
360
|
-
});
|
|
361
|
-
})]) : [3, 11];
|
|
362
|
-
case 11: return i.actionType === "dialog" ? (m.setCurrentAction(i, this.props.resolveDefinitions), [2, new Promise(function(e) {
|
|
363
|
-
m.openDialog(o, void 0, function(a, o) {
|
|
364
|
-
var s;
|
|
365
|
-
(s = i.callback) == null || s.call(i, a, o), e({
|
|
366
|
-
confirmed: a,
|
|
367
|
-
value: o
|
|
368
|
-
});
|
|
369
|
-
}, l || w.context);
|
|
370
|
-
})]) : [3, 12];
|
|
371
|
-
case 12: return i.actionType === "reload" ? (m.setCurrentAction(i, this.props.resolveDefinitions), i.target && y.reload(i.target, o), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), [3, 17]) : [3, 13];
|
|
372
|
-
case 13: return !i.from && this.tryChildrenToHandle(i, o) ? [3, 17] : [3, 14];
|
|
373
|
-
case 14: return i.actionType === "ajax" ? (m.setCurrentAction(i, this.props.resolveDefinitions), m.saveRemote(i.api, o, {
|
|
374
|
-
successMessage: i.messages && i.messages.success,
|
|
375
|
-
errorMessage: i.messages && i.messages.failed
|
|
376
|
-
}).then(function() {
|
|
377
|
-
return __awaiter(w, void 0, void 0, function() {
|
|
378
|
-
var e;
|
|
379
|
-
return __generator(this, function(a) {
|
|
380
|
-
switch (a.label) {
|
|
381
|
-
case 0: return i.feedback && isVisible(i.feedback, m.data) ? [4, this.openFeedback(i.feedback, m.data)] : [3, 2];
|
|
382
|
-
case 1: a.sent(), a.label = 2;
|
|
383
|
-
case 2: return e = i.redirect && filter(i.redirect, m.data), e && h.jumpTo(e, i, m.data), i.reload && this.reloadTarget(filterTarget(i.reload, m.data), m.data), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), [2];
|
|
384
|
-
}
|
|
385
|
-
});
|
|
386
|
-
});
|
|
387
|
-
}).catch(function(e) {
|
|
388
|
-
if (s || i.countDown) throw e;
|
|
389
|
-
}), [3, 17]) : [3, 15];
|
|
390
|
-
case 15: return p ? [4, p(e, i, o, s, l || this.context)] : [3, 17];
|
|
391
|
-
case 16: T.sent(), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), T.label = 17;
|
|
392
|
-
case 17: return [2];
|
|
393
|
-
}
|
|
394
|
-
});
|
|
395
|
-
});
|
|
396
|
-
}, i.prototype.handleChildFinished = function(e, i) {
|
|
397
|
-
if (!(i && i.from === this.$$id || i.close === !1)) {
|
|
398
|
-
var a = this.context.getComponents().filter(function(e) {
|
|
399
|
-
return !~[
|
|
400
|
-
"drawer",
|
|
401
|
-
"dialog",
|
|
402
|
-
"action",
|
|
403
|
-
"button",
|
|
404
|
-
"submit",
|
|
405
|
-
"reset"
|
|
406
|
-
].indexOf(e.props.type);
|
|
407
|
-
}), o = this.props.onConfirm;
|
|
408
|
-
a.length === 1 && (a[0].props.type === "form" || a[0].props.type === "wizard") && o([e], i, {}, a);
|
|
409
|
-
}
|
|
410
|
-
}, i.prototype.handleDialogConfirm = function(i, a) {
|
|
411
|
-
var o = [...arguments].slice(2);
|
|
412
|
-
e.prototype.handleDialogConfirm.apply(this, __spreadArray([i, a], __read(o), !1));
|
|
413
|
-
var s = this.props.store, c = s.getDialogScoped() || this.context, l = s.action, u = a.reload ?? l.reload;
|
|
414
|
-
u ? c.reload(u, s.data) : c.component !== this && c.component?.reload ? c.component.reload() : this.context.getComponents().filter(function(e) {
|
|
415
|
-
return e.props.type === "crud";
|
|
416
|
-
}).forEach(function(e) {
|
|
417
|
-
return e.reload && e.reload();
|
|
418
|
-
});
|
|
419
|
-
}, i.prototype.handleDrawerConfirm = function(i, a) {
|
|
420
|
-
for (var o = this, s = [], c = 2; c < arguments.length; c++) s[c - 2] = arguments[c];
|
|
421
|
-
e.prototype.handleDrawerConfirm.call(this, i, a);
|
|
422
|
-
var l = this.props.store, u = l.getDialogScoped() || this.context, d = l.action, f = a.reload ?? d.reload;
|
|
423
|
-
setTimeout(function() {
|
|
424
|
-
f ? u.reload(f, l.data) : u.component !== o && u.component?.reload ? u.component.reload() : o.context.getComponents().filter(function(e) {
|
|
425
|
-
return e.props.type === "crud";
|
|
426
|
-
}).forEach(function(e) {
|
|
427
|
-
return e.reload && e.reload();
|
|
428
|
-
});
|
|
429
|
-
}, 300);
|
|
430
|
-
}, i.prototype.reloadTarget = function(e, i) {
|
|
431
|
-
this.context.reload(e, i);
|
|
432
|
-
}, i.prototype.closeTarget = function(e) {
|
|
433
|
-
this.context.close(e);
|
|
434
|
-
}, i.prototype.setData = function(e, i) {
|
|
435
|
-
return this.props.store.updateData(e, void 0, i);
|
|
436
|
-
}, i.prototype.getData = function() {
|
|
437
|
-
return this.props.store.data;
|
|
438
|
-
}, i.contextType = ScopedContext, i = __decorate([Renderer({
|
|
439
|
-
type: "drawer",
|
|
440
|
-
storeType: ModalStore.name,
|
|
441
|
-
storeExtendsData: !1,
|
|
442
|
-
isolateScope: !0,
|
|
443
|
-
shouldSyncSuperStore: function(e, i, a) {
|
|
444
|
-
return !!((e.drawerOpen || i.show) && (i.show !== a.show || isObjectShallowModified(a.data, i.data)));
|
|
445
|
-
}
|
|
446
|
-
}), __metadata("design:paramtypes", [Object, Object])], i), i;
|
|
447
|
-
}(Drawer);
|
|
448
|
-
export { DrawerRenderer, Drawer as default };
|
|
@@ -1,193 +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, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-CNJMA2ft.js";
|
|
5
|
-
import "./isEqual-E2NjjS0_.js";
|
|
6
|
-
import { B as RootClose, Er as noop, J as CustomStyle, L as PopOver$1, Ni as resolveVariableAndFilter, R as Overlay, Xr as filter, Z as setThemeClassName, hr as isDisabled, it as Renderer, lt as filterClassNameObject, oi as createObject, xr as isVisible } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
import "./esm-Cj_BRpNI.js";
|
|
9
|
-
import { a as TooltipWrapper$1, s as Icon } from "./PopUp-Bgkvnd4X.js";
|
|
10
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), DropDownButton = function(e) {
|
|
11
|
-
__extends(n, e);
|
|
12
|
-
function n(n) {
|
|
13
|
-
var r = e.call(this, n) || this;
|
|
14
|
-
return r.state = { isOpened: !1 }, r.open = r.open.bind(r), r.close = r.close.bind(r), r.toogle = r.toogle.bind(r), r.keepOpen = r.keepOpen.bind(r), r.domRef = r.domRef.bind(r), r;
|
|
15
|
-
}
|
|
16
|
-
return n.prototype.componentDidMount = function() {
|
|
17
|
-
this.props.defaultIsOpened && this.setState({ isOpened: !0 });
|
|
18
|
-
}, n.prototype.domRef = function(e) {
|
|
19
|
-
this.target = e;
|
|
20
|
-
}, n.prototype.toogle = function(e) {
|
|
21
|
-
e.preventDefault(), e.stopPropagation(), this.setState({ isOpened: !this.state.isOpened });
|
|
22
|
-
}, n.prototype.open = function() {
|
|
23
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
24
|
-
var e, n, i, a, o, s, c;
|
|
25
|
-
return __generator(this, function(r) {
|
|
26
|
-
switch (r.label) {
|
|
27
|
-
case 0: return e = this.props, n = e.dispatchEvent, i = e.data, a = e.buttons, o = e.disabled, s = e.btnDisabled, o || s ? [2] : (c = typeof a == "string" ? resolveVariableAndFilter(a, i, "| raw") : a, [4, n("mouseenter", createObject(i, { items: c }))]);
|
|
28
|
-
case 1: return r.sent(), this.setState({ isOpened: !0 }), [2];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
}, n.prototype.close = function(e) {
|
|
33
|
-
var n = this, r, i = this.props, a = i.buttons, o = i.data, s = typeof a == "string" ? resolveVariableAndFilter(a, o, "| raw") : a;
|
|
34
|
-
this.timer = setTimeout(function() {
|
|
35
|
-
n.props.dispatchEvent("mouseleave", createObject(n.props.data, { items: s })), n.setState({ isOpened: !1 });
|
|
36
|
-
}, 200), ((r = e?.target)?.getAttribute)?.call(r, "download") || e && e.preventDefault();
|
|
37
|
-
}, n.prototype.keepOpen = function() {
|
|
38
|
-
this.timer && clearTimeout(this.timer);
|
|
39
|
-
}, n.prototype.renderButton = function(e, n) {
|
|
40
|
-
var r, i = this, a = this.props, o = a.render, c = a.classnames, l = a.data, u = a.ignoreConfirm, d = a.testIdBuilder, f = a.mobileUI;
|
|
41
|
-
return n = typeof n == "number" ? n.toString() : n, typeof e != "string" && Array.isArray(e?.children) ? import_react.createElement("div", {
|
|
42
|
-
key: n,
|
|
43
|
-
className: c("DropDown-menu", { "is-mobile": f })
|
|
44
|
-
}, import_react.createElement("li", {
|
|
45
|
-
key: `${n}/0`,
|
|
46
|
-
className: c("DropDown-groupTitle")
|
|
47
|
-
}, e.icon ? import_react.createElement(Icon, {
|
|
48
|
-
cx: c,
|
|
49
|
-
icon: e.icon,
|
|
50
|
-
className: "m-r-xs"
|
|
51
|
-
}) : null, import_react.createElement("span", null, e.label)), e.children.map(function(e, r) {
|
|
52
|
-
return i.renderButton(e, `${n}/${r + 1}`);
|
|
53
|
-
})) : typeof e != "string" && !isVisible(e, l) ? null : e === "divider" || e.type === "divider" ? import_react.createElement("li", {
|
|
54
|
-
key: n,
|
|
55
|
-
className: c("DropDown-divider")
|
|
56
|
-
}) : import_react.createElement("li", {
|
|
57
|
-
key: n,
|
|
58
|
-
className: c("DropDown-button", (r = {}, r["is-disabled"] = isDisabled(e, l), r), e.level === void 0 ? "" : e.level ? `Button--${e.level}` : "", filterClassNameObject(e.className, l))
|
|
59
|
-
}, o(`button/${n}`, __assign(__assign({ type: "button" }, e), {
|
|
60
|
-
className: "",
|
|
61
|
-
testIdBuilder: d?.getChild(e.label || n, l)
|
|
62
|
-
}), {
|
|
63
|
-
isMenuItem: !0,
|
|
64
|
-
ignoreConfirm: u
|
|
65
|
-
}));
|
|
66
|
-
}, n.prototype.renderOuter = function() {
|
|
67
|
-
var e = this, n = this.props, r = n.render, i = n.buttons, a = n.data, o = n.popOverContainer, s = n.popOverContainerSelector, u = n.classnames, m = n.classPrefix, h = n.children, g = n.body;
|
|
68
|
-
n.align;
|
|
69
|
-
var _ = n.closeOnClick, v = n.closeOnOutside, y = n.menuClassName, b = n.overlayPlacement, x = n.trigger, S = n.mobileUI, C = typeof i == "string" ? resolveVariableAndFilter(i, a, "| raw") : i, w = import_react.createElement(RootClose, {
|
|
70
|
-
disabled: !this.state.isOpened,
|
|
71
|
-
onRootClose: v === !1 ? noop : this.close
|
|
72
|
-
}, function(n) {
|
|
73
|
-
return import_react.createElement("ul", {
|
|
74
|
-
className: u("DropDown-menu-root", "DropDown-menu", { "is-mobile": S }, y),
|
|
75
|
-
onClick: _ ? e.close : noop,
|
|
76
|
-
onMouseEnter: e.keepOpen,
|
|
77
|
-
ref: n,
|
|
78
|
-
style: { width: e.target?.offsetWidth }
|
|
79
|
-
}, h || (g ? r("body", g) : Array.isArray(C) ? C.map(function(n, r) {
|
|
80
|
-
return e.renderButton(n, r);
|
|
81
|
-
}) : null));
|
|
82
|
-
});
|
|
83
|
-
return o || s ? import_react.createElement(Overlay, {
|
|
84
|
-
container: o,
|
|
85
|
-
containerSelector: s,
|
|
86
|
-
target: function() {
|
|
87
|
-
return e.target;
|
|
88
|
-
},
|
|
89
|
-
placement: b,
|
|
90
|
-
show: !0
|
|
91
|
-
}, import_react.createElement(PopOver$1, {
|
|
92
|
-
overlay: x !== "hover",
|
|
93
|
-
onHide: this.close,
|
|
94
|
-
classPrefix: m,
|
|
95
|
-
className: u("DropDown-popover", y),
|
|
96
|
-
style: { minWidth: this.target?.offsetWidth }
|
|
97
|
-
}, w)) : w;
|
|
98
|
-
}, n.prototype.render = function() {
|
|
99
|
-
var e = this.props, n = e.tooltip, r = e.placement, i = e.tooltipContainer, a = e.tooltipTrigger, o = e.tooltipRootClose, c = e.disabledTip, l = e.block, d = e.disabled, f = e.btnDisabled, p = e.btnClassName, g = e.size, _ = g === void 0 ? "default" : g, v = e.label, y = e.level, b = e.primary, C = e.className, w = e.style, T = e.classnames, E = e.align, D = e.iconOnly, O = e.icon, k = e.rightIcon, A = e.isActived, j = e.trigger, M = e.data, N = e.hideCaret, P = e.env, F = e.testIdBuilder, I = e.id, L = e.wrapperCustomStyle, R = e.themeCss, z = e.mobileUI;
|
|
100
|
-
return import_react.createElement("div", {
|
|
101
|
-
className: T("DropDown ", {
|
|
102
|
-
"DropDown--block": l,
|
|
103
|
-
"DropDown--alignRight": E === "right",
|
|
104
|
-
"is-opened": this.state.isOpened,
|
|
105
|
-
"is-actived": A,
|
|
106
|
-
"is-mobile": z
|
|
107
|
-
}, C),
|
|
108
|
-
style: w,
|
|
109
|
-
onMouseEnter: j === "hover" ? this.open : function() {},
|
|
110
|
-
onMouseLeave: j === "hover" ? this.close : function() {},
|
|
111
|
-
ref: this.domRef
|
|
112
|
-
}, import_react.createElement(TooltipWrapper$1, {
|
|
113
|
-
placement: r,
|
|
114
|
-
tooltip: d ? c : n,
|
|
115
|
-
container: i || P?.getModalContainer,
|
|
116
|
-
trigger: a,
|
|
117
|
-
rootClose: o
|
|
118
|
-
}, import_react.createElement("button", __assign({
|
|
119
|
-
onClick: this.toogle,
|
|
120
|
-
disabled: d || f
|
|
121
|
-
}, F?.getTestId(M), { className: T("Button", p, y === void 0 ? "Button--default" : y ? `Button--${y}` : "", {
|
|
122
|
-
"Button--block": l,
|
|
123
|
-
"Button--primary": b,
|
|
124
|
-
"Button--iconOnly": D
|
|
125
|
-
}, `Button--size-${_}`, setThemeClassName(__assign(__assign({}, this.props), {
|
|
126
|
-
name: "wrapperCustomStyle",
|
|
127
|
-
id: I,
|
|
128
|
-
themeCss: L
|
|
129
|
-
})), setThemeClassName(__assign(__assign({}, this.props), {
|
|
130
|
-
name: "className",
|
|
131
|
-
id: I,
|
|
132
|
-
themeCss: R
|
|
133
|
-
}))) }), import_react.createElement(Icon, {
|
|
134
|
-
c: T,
|
|
135
|
-
icon: O,
|
|
136
|
-
className: T("icon m-r-xs", setThemeClassName(__assign(__assign({}, this.props), {
|
|
137
|
-
name: "iconClassName",
|
|
138
|
-
id: I,
|
|
139
|
-
themeCss: R
|
|
140
|
-
})))
|
|
141
|
-
}), typeof v == "string" ? filter(v, M) : v, k && import_react.createElement(Icon, {
|
|
142
|
-
cx: T,
|
|
143
|
-
icon: k,
|
|
144
|
-
className: T("icon m-l-xs", setThemeClassName(__assign(__assign({}, this.props), {
|
|
145
|
-
name: "iconClassName",
|
|
146
|
-
id: I,
|
|
147
|
-
themeCss: R
|
|
148
|
-
})))
|
|
149
|
-
}), N ? null : import_react.createElement("span", { className: T("DropDown-caret") }, import_react.createElement(Icon, {
|
|
150
|
-
icon: "right-arrow-bold",
|
|
151
|
-
className: "icon"
|
|
152
|
-
})))), this.state.isOpened ? this.renderOuter() : null, import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
153
|
-
config: {
|
|
154
|
-
themeCss: R,
|
|
155
|
-
classNames: [{
|
|
156
|
-
key: "className",
|
|
157
|
-
weights: {
|
|
158
|
-
hover: { suf: ":not(:disabled):not(.is-disabled)" },
|
|
159
|
-
active: { suf: ":not(:disabled):not(.is-disabled)" }
|
|
160
|
-
}
|
|
161
|
-
}, {
|
|
162
|
-
key: "iconClassName",
|
|
163
|
-
weights: {
|
|
164
|
-
default: { important: !0 },
|
|
165
|
-
hover: {
|
|
166
|
-
important: !0,
|
|
167
|
-
suf: ":not(:disabled):not(.is-disabled)"
|
|
168
|
-
},
|
|
169
|
-
active: {
|
|
170
|
-
important: !0,
|
|
171
|
-
suf: ":not(:disabled):not(.is-disabled)"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}],
|
|
175
|
-
wrapperCustomStyle: L,
|
|
176
|
-
id: I
|
|
177
|
-
},
|
|
178
|
-
env: P
|
|
179
|
-
})));
|
|
180
|
-
}, n.defaultProps = {
|
|
181
|
-
placement: "top",
|
|
182
|
-
tooltipTrigger: ["hover", "focus"],
|
|
183
|
-
tooltipRootClose: !1,
|
|
184
|
-
overlayPlacement: "auto"
|
|
185
|
-
}, n;
|
|
186
|
-
}(import_react.Component), DropDownButtonRenderer = function(e) {
|
|
187
|
-
__extends(n, e);
|
|
188
|
-
function n() {
|
|
189
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
190
|
-
}
|
|
191
|
-
return n = __decorate([Renderer({ type: "dropdown-button" })], n), n;
|
|
192
|
-
}(DropDownButton);
|
|
193
|
-
export { DropDownButtonRenderer, DropDownButton as default };
|