@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
|
@@ -1,456 +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, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-CNJMA2ft.js";
|
|
5
|
-
import "./isEqual-E2NjjS0_.js";
|
|
6
|
-
import { J as CustomStyle, Jn as findTreeIndex, L as PopOver$1, Li as matchSorter, Nn as autobind, P as OptionsControl, R as Overlay, St as normalizeOptions, Xt as require_debounce, Z as setThemeClassName, ht as resolveEventData, ir as getTreeAncestors, lr as hasAbility, oi as createObject, qn as findTree, sn as isEffectiveApi, vi as getVariable } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import { t as require_react_dom } from "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
import { q as ResultBox$1, rt as Tree } from "./esm-Cj_BRpNI.js";
|
|
9
|
-
import { i as Spinner$1, t as PopUp$1 } from "./PopUp-Bgkvnd4X.js";
|
|
10
|
-
import { t as supportStatic } from "./StaticHoc-BAdofX5w.js";
|
|
11
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), import_debounce = /* @__PURE__ */ __toESM(require_debounce()), import_react_dom = require_react_dom(), TreeSelectControl = function(e) {
|
|
12
|
-
__extends(t, e);
|
|
13
|
-
function t(t) {
|
|
14
|
-
var n = e.call(this, t) || this;
|
|
15
|
-
return n.container = import_react.createRef(), n.input = import_react.createRef(), n.cache = {}, n.targetRef = function(e) {
|
|
16
|
-
return n.target = e ? (0, import_react_dom.findDOMNode)(e) : null;
|
|
17
|
-
}, n.sourceLoaded = !1, n.state = {
|
|
18
|
-
inputValue: "",
|
|
19
|
-
tempValue: "",
|
|
20
|
-
isOpened: !1
|
|
21
|
-
}, n.open = n.open.bind(n), n.close = n.close.bind(n), n.handleChange = n.handleChange.bind(n), n.handleTempChange = n.handleTempChange.bind(n), n.handleConfirm = n.handleConfirm.bind(n), n.clearValue = n.clearValue.bind(n), n.handleFocus = n.handleFocus.bind(n), n.handleBlur = n.handleBlur.bind(n), n.handleKeyPress = n.handleKeyPress.bind(n), n.handleInputChange = (0, import_debounce.default)(n.handleInputChange.bind(n), 150, {
|
|
22
|
-
trailing: !0,
|
|
23
|
-
leading: !1
|
|
24
|
-
}), n.handleInputKeyDown = n.handleInputKeyDown.bind(n), n.loadRemote = (0, import_debounce.default)(n.loadRemote.bind(n), 250, {
|
|
25
|
-
trailing: !0,
|
|
26
|
-
leading: !1
|
|
27
|
-
}), n;
|
|
28
|
-
}
|
|
29
|
-
return t.prototype.componentDidMount = function() {
|
|
30
|
-
this.loadRemote("");
|
|
31
|
-
}, t.prototype.componentWillUnmount = function() {
|
|
32
|
-
this.sourceLoaded = !1;
|
|
33
|
-
}, t.prototype.open = function(e) {
|
|
34
|
-
this.props.disabled || this.setState({ isOpened: !0 }, e);
|
|
35
|
-
}, t.prototype.close = function() {
|
|
36
|
-
var e = this;
|
|
37
|
-
this.setState({
|
|
38
|
-
isOpened: !1,
|
|
39
|
-
inputValue: this.props.multiple ? this.state.inputValue : ""
|
|
40
|
-
}, function() {
|
|
41
|
-
return e.loadRemote(e.state.inputValue);
|
|
42
|
-
});
|
|
43
|
-
}, t.prototype.resolveOptions = function() {
|
|
44
|
-
var e = this.props, t = e.options, n = e.searchable, r = e.autoComplete;
|
|
45
|
-
return !isEffectiveApi(r) && n && this.state.inputValue ? this.filterOptions(t, this.state.inputValue) : t;
|
|
46
|
-
}, t.prototype.resolveOption = function(e, t) {
|
|
47
|
-
var n = this;
|
|
48
|
-
return findTree(e, function(e) {
|
|
49
|
-
var r = n.props.valueField || "value";
|
|
50
|
-
return (hasAbility(e, r) ? e[r] : "") === t;
|
|
51
|
-
});
|
|
52
|
-
}, t.prototype.handleFocus = function(e) {
|
|
53
|
-
var t = this.props, n = t.dispatchEvent, r = t.value, i = this.resolveOptions(), a = this.resolveOption(i, r);
|
|
54
|
-
n("focus", resolveEventData(this.props, {
|
|
55
|
-
value: r,
|
|
56
|
-
item: a,
|
|
57
|
-
items: i
|
|
58
|
-
}));
|
|
59
|
-
}, t.prototype.handleBlur = function(e) {
|
|
60
|
-
var t = this.props, n = t.dispatchEvent, r = t.value, i = this.resolveOptions(), a = this.resolveOption(i, r);
|
|
61
|
-
n("blur", resolveEventData(this.props, {
|
|
62
|
-
value: r,
|
|
63
|
-
item: a,
|
|
64
|
-
items: i
|
|
65
|
-
}));
|
|
66
|
-
}, t.prototype.handleKeyPress = function(e) {
|
|
67
|
-
e.key === " " && e.shiftKey && (this.handleOutClick(e), e.preventDefault());
|
|
68
|
-
}, t.prototype.validate = function() {
|
|
69
|
-
var e = this.props, t = e.value, n = e.minLength, r = e.maxLength, i = e.delimiter, a = Array.isArray(t) ? t : (t ? String(t) : "").split(i || ",");
|
|
70
|
-
if (n && a.length < n) return `已选择数量低于设定的最小个数${n},请选择更多的选项。`;
|
|
71
|
-
if (r && a.length > r) return `已选择数量超出设定的最大个数${r},请取消选择超出的选项。`;
|
|
72
|
-
}, t.prototype.removeItem = function(e, t) {
|
|
73
|
-
var n = this.props, r = n.selectedOptions, i = n.joinValues, a = n.extractValue, o = n.delimiter, s = n.valueField, c = n.onChange, l = n.disabled;
|
|
74
|
-
if (t && t.stopPropagation(), !l) {
|
|
75
|
-
var u = r.concat();
|
|
76
|
-
u.splice(e, 1);
|
|
77
|
-
var d = u;
|
|
78
|
-
i ? d = u.map(function(e) {
|
|
79
|
-
return e[s || "value"];
|
|
80
|
-
}).join(o || ",") : a && (d = u.map(function(e) {
|
|
81
|
-
return e[s || "value"];
|
|
82
|
-
})), c(d);
|
|
83
|
-
}
|
|
84
|
-
}, t.prototype.handleChange = function(e) {
|
|
85
|
-
var t = this;
|
|
86
|
-
this.props.multiple || this.close(), this.setState({ inputValue: "" }, function() {
|
|
87
|
-
return t.resultChangeEvent(e);
|
|
88
|
-
});
|
|
89
|
-
}, t.prototype.handleTempChange = function(e) {
|
|
90
|
-
this.setState({ tempValue: e });
|
|
91
|
-
}, t.prototype.handleConfirm = function() {
|
|
92
|
-
var e = this;
|
|
93
|
-
this.close(), this.setState({ inputValue: "" }, function() {
|
|
94
|
-
return e.resultChangeEvent(e.state.tempValue);
|
|
95
|
-
});
|
|
96
|
-
}, t.prototype.handleInputChange = function(e) {
|
|
97
|
-
var t = this, n = this.props, r = n.autoComplete, i = n.data;
|
|
98
|
-
this.setState({ inputValue: e }, isEffectiveApi(r, i) ? function() {
|
|
99
|
-
return t.loadRemote(t.state.inputValue);
|
|
100
|
-
} : void 0);
|
|
101
|
-
}, t.prototype.handleInputKeyDown = function(e) {
|
|
102
|
-
var t = this.state.inputValue, n = this.props, r = n.multiple, i = n.selectedOptions;
|
|
103
|
-
e.key === "Backspace" && !t && i.length && r && this.removeItem(i.length - 1);
|
|
104
|
-
}, t.prototype.resetValue = function() {
|
|
105
|
-
var e = this.props, t = e.onChange, n = e.resetValue, r = e.formStore, i = e.store, a = e.name;
|
|
106
|
-
t(getVariable(r?.pristine ?? i?.pristine, a) ?? n);
|
|
107
|
-
}, t.prototype.clearValue = function() {
|
|
108
|
-
var e = this.props, t = e.onChange, n = e.resetValue;
|
|
109
|
-
t(n === void 0 ? "" : n);
|
|
110
|
-
}, t.prototype.filterOptions = function(e, t) {
|
|
111
|
-
var n = this, r = this.props, i = r.labelField, a = r.valueField;
|
|
112
|
-
return e.map(function(e) {
|
|
113
|
-
if (e = __assign({}, e), e.visible = !!matchSorter([e], t, {
|
|
114
|
-
keys: [i || "label", a || "value"],
|
|
115
|
-
threshold: matchSorter.rankings.CONTAINS
|
|
116
|
-
}).length, !e.visible && e.children) {
|
|
117
|
-
e.children = n.filterOptions(e.children, t);
|
|
118
|
-
var r = e.children.filter(function(e) {
|
|
119
|
-
return e.visible;
|
|
120
|
-
}).length;
|
|
121
|
-
e.visible = !!r;
|
|
122
|
-
}
|
|
123
|
-
return e.visible && (e.collapsed = !1), e;
|
|
124
|
-
});
|
|
125
|
-
}, t.prototype.loadRemote = function(e) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
127
|
-
var t, r, i, a, o, c, l, u, d, f, u, d;
|
|
128
|
-
return __generator(this, function(n) {
|
|
129
|
-
switch (n.label) {
|
|
130
|
-
case 0:
|
|
131
|
-
if (t = this.props, r = t.autoComplete, i = t.env, a = t.data, o = t.setOptions, c = t.setLoading, l = t.source, !isEffectiveApi(r, a) || !e && isEffectiveApi(l) && !this.sourceLoaded) return this.sourceLoaded = !0, [2];
|
|
132
|
-
if (!i || !i.fetcher) throw Error("fetcher is required");
|
|
133
|
-
if (this.cache[e] || ~e.indexOf("'")) return u = this.cache[e] || [], d = this.mergeOptions(u), o(d), [2, Promise.resolve({ options: d })];
|
|
134
|
-
c(!0), n.label = 1;
|
|
135
|
-
case 1: return n.trys.push([
|
|
136
|
-
1,
|
|
137
|
-
,
|
|
138
|
-
3,
|
|
139
|
-
4
|
|
140
|
-
]), [4, i.fetcher(r, __assign(__assign({}, a), {
|
|
141
|
-
term: e,
|
|
142
|
-
value: e
|
|
143
|
-
}))];
|
|
144
|
-
case 2: return f = n.sent(), u = f.data && f.data.options || f.data || [], this.cache[e] = u, d = this.mergeOptions(u), o(d), [2, { options: d }];
|
|
145
|
-
case 3: return c(!1), [7];
|
|
146
|
-
case 4: return [2];
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
});
|
|
150
|
-
}, t.prototype.mergeOptions = function(e) {
|
|
151
|
-
var t = this.props.selectedOptions, n = normalizeOptions(e).concat();
|
|
152
|
-
return Array.isArray(t) && t.length && t.forEach(function(e) {
|
|
153
|
-
findTree(n, function(t) {
|
|
154
|
-
return t.value == e.value;
|
|
155
|
-
}) || n.push(__assign({}, e));
|
|
156
|
-
}), n;
|
|
157
|
-
}, t.prototype.reload = function(e, t) {
|
|
158
|
-
var n = this.props.reloadOptions;
|
|
159
|
-
n && n(e, t);
|
|
160
|
-
}, t.prototype.handleOutClick = function(e) {
|
|
161
|
-
e.defaultPrevented || this.setState({ isOpened: !0 });
|
|
162
|
-
}, t.prototype.handleResultChange = function(e) {
|
|
163
|
-
var t = this.props, n = t.joinValues, r = t.extractValue, i = t.delimiter, a = t.valueField, o = t.multiple, s = Array.isArray(e) ? e.concat() : [];
|
|
164
|
-
if (!o && !s.length) {
|
|
165
|
-
this.resultChangeEvent("");
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
(n || r) && (s = e.map(function(e) {
|
|
169
|
-
return e[a || "value"];
|
|
170
|
-
})), n && (s = s.join(i || ",")), this.resultChangeEvent(s);
|
|
171
|
-
}, t.prototype.doAction = function(e, t, n) {
|
|
172
|
-
e.actionType === "clear" ? this.clearValue() : e.actionType === "reset" ? this.resetValue() : e.actionType === "add" ? this.addItemFromAction(e.args?.item, e.args?.parentValue) : e.actionType === "edit" ? this.editItemFromAction(e.args?.item, e.args?.originValue) : e.actionType === "delete" ? this.deleteItemFromAction(e.args?.value) : e.actionType === "reload" && this.reload();
|
|
173
|
-
}, t.prototype.addItemFromAction = function(e, t) {
|
|
174
|
-
var n = this.props, r = n.onAdd, i = n.options, a = n.valueField, o = findTreeIndex(i, function(e) {
|
|
175
|
-
var n = a || "value";
|
|
176
|
-
return (hasAbility(e, n) ? e[n] : "") === t;
|
|
177
|
-
}) || [];
|
|
178
|
-
r && r(o.concat(0), e, !0);
|
|
179
|
-
}, t.prototype.editItemFromAction = function(e, t) {
|
|
180
|
-
var n = this.props, r = n.onEdit, i = n.options, a = this.resolveOption(i, t);
|
|
181
|
-
r && a && r(__assign(__assign({}, e), { originValue: t }), a, !0);
|
|
182
|
-
}, t.prototype.deleteItemFromAction = function(e) {
|
|
183
|
-
var t = this.props, n = t.onDelete, r = t.options, i = this.resolveOption(r, e);
|
|
184
|
-
n && i && n(i);
|
|
185
|
-
}, t.prototype.resultChangeEvent = function(e) {
|
|
186
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
187
|
-
var t, r, i, a, o, s;
|
|
188
|
-
return __generator(this, function(n) {
|
|
189
|
-
switch (n.label) {
|
|
190
|
-
case 0: return t = this.props, r = t.onChange, i = t.dispatchEvent, a = this.resolveOptions(), o = this.resolveOption(a, e), [4, i("change", resolveEventData(this.props, {
|
|
191
|
-
value: e,
|
|
192
|
-
item: o,
|
|
193
|
-
items: this.resolveOptions()
|
|
194
|
-
}))];
|
|
195
|
-
case 1: return s = n.sent(), s?.prevented || r && r(e), [2];
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
});
|
|
199
|
-
}, t.prototype.handleNodeClick = function(e) {
|
|
200
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
201
|
-
var t, r, i, a;
|
|
202
|
-
return __generator(this, function(n) {
|
|
203
|
-
switch (n.label) {
|
|
204
|
-
case 0: return t = this.props, r = t.dispatchEvent, i = t.data, [4, r("itemClick", createObject(i, { item: e }))];
|
|
205
|
-
case 1: return a = n.sent(), a?.prevented, [2];
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
});
|
|
209
|
-
}, t.prototype.renderOptionItem = function(e, t) {
|
|
210
|
-
var n = this.props, r = n.menuTpl, i = n.render, a = n.data;
|
|
211
|
-
return i(`option/${t.index}`, r, { data: createObject(createObject(a, __assign({}, t)), e) });
|
|
212
|
-
}, t.prototype.renderItem = function(e) {
|
|
213
|
-
var t = this.props, n = t.labelField, r = t.options;
|
|
214
|
-
if (t.hideNodePathLabel) return e[n || "label"];
|
|
215
|
-
var i = getTreeAncestors(r, e, !0);
|
|
216
|
-
return `${i ? i.map(function(e) {
|
|
217
|
-
return `${e[n || "label"]}`;
|
|
218
|
-
}).join(" / ") : e[n || "label"]}`;
|
|
219
|
-
}, t.prototype.domRef = function(e) {
|
|
220
|
-
this.treeRef = e;
|
|
221
|
-
}, t.prototype.renderOuter = function() {
|
|
222
|
-
var e = this.props, t = e.value, n = e.enableNodePath, r = e.pathSeparator, i = r === void 0 ? "/" : r, a = e.disabled, o = e.joinValues, c = e.extractValue, l = e.delimiter;
|
|
223
|
-
e.placeholder;
|
|
224
|
-
var u = e.options, d = e.multiple, f = e.valueField, p = e.initiallyOpen, m = e.unfoldedLevel, h = e.withChildren, g = e.rootLabel, _ = e.cascade, v = e.rootValue, y = e.showIcon, b = e.showRadio;
|
|
225
|
-
e.popOverContainer;
|
|
226
|
-
var x = e.onlyChildren, S = e.onlyLeaf, C = e.classPrefix, w = e.optionsPlaceholder, E = e.searchable, D = e.autoComplete, O = e.maxLength, k = e.minLength, A = e.labelField, j = e.deferField, M = e.nodePath, N = e.onAdd, P = e.creatable, F = e.createTip, I = e.addControls, L = e.onEdit, R = e.editable, z = e.editTip, B = e.editControls, V = e.removable, H = e.removeTip, U = e.onDelete, W = e.rootCreatable, re = e.rootCreateTip, G = e.translate, K = e.deferLoad, q = e.expandTreeOptions, J = e.selfDisabledAffectChildren, Y = e.showOutline, X = e.autoCheckChildren, Z = e.autoCancelParent, ie = e.hideRoot, ae = e.virtualThreshold;
|
|
227
|
-
e.itemHeight;
|
|
228
|
-
var oe = e.menuTpl, se = e.enableDefaultIcon, Q = e.mobileUI, ce = e.testIdBuilder, le = e.nodeBehavior, $ = e.itemActions, ue = e.classnames, de = e.id, fe = e.themeCss, pe = !isEffectiveApi(D) && E && this.state.inputValue ? this.filterOptions(u, this.state.inputValue) : u;
|
|
229
|
-
return import_react.createElement(Tree, {
|
|
230
|
-
classPrefix: C,
|
|
231
|
-
onRef: this.domRef,
|
|
232
|
-
onlyChildren: x,
|
|
233
|
-
onHandleNodeClick: this.handleNodeClick,
|
|
234
|
-
onlyLeaf: S,
|
|
235
|
-
labelField: A,
|
|
236
|
-
valueField: f,
|
|
237
|
-
deferField: j,
|
|
238
|
-
disabled: a,
|
|
239
|
-
onChange: Q ? this.handleTempChange : this.handleChange,
|
|
240
|
-
joinValues: o,
|
|
241
|
-
extractValue: c,
|
|
242
|
-
delimiter: l,
|
|
243
|
-
placeholder: G(w),
|
|
244
|
-
options: pe,
|
|
245
|
-
highlightTxt: this.state.inputValue,
|
|
246
|
-
multiple: d,
|
|
247
|
-
initiallyOpen: p,
|
|
248
|
-
unfoldedLevel: m,
|
|
249
|
-
withChildren: h,
|
|
250
|
-
autoCheckChildren: X,
|
|
251
|
-
autoCancelParent: Z,
|
|
252
|
-
rootLabel: G(g),
|
|
253
|
-
rootValue: v,
|
|
254
|
-
showIcon: y,
|
|
255
|
-
showRadio: b,
|
|
256
|
-
showOutline: Y,
|
|
257
|
-
cascade: _,
|
|
258
|
-
foldedField: "collapsed",
|
|
259
|
-
hideRoot: ie,
|
|
260
|
-
value: t || "",
|
|
261
|
-
nodePath: M,
|
|
262
|
-
enableNodePath: n,
|
|
263
|
-
pathSeparator: i,
|
|
264
|
-
maxLength: O,
|
|
265
|
-
minLength: k,
|
|
266
|
-
onAdd: N,
|
|
267
|
-
creatable: P,
|
|
268
|
-
createTip: F,
|
|
269
|
-
rootCreatable: W,
|
|
270
|
-
rootCreateTip: re,
|
|
271
|
-
onEdit: L,
|
|
272
|
-
editable: R,
|
|
273
|
-
editTip: z,
|
|
274
|
-
removable: V,
|
|
275
|
-
removeTip: H,
|
|
276
|
-
onDelete: U,
|
|
277
|
-
bultinCUD: !I && !B,
|
|
278
|
-
onDeferLoad: K,
|
|
279
|
-
onExpandTree: q,
|
|
280
|
-
selfDisabledAffectChildren: J,
|
|
281
|
-
virtualThreshold: ae,
|
|
282
|
-
itemRender: oe ? this.renderOptionItem : void 0,
|
|
283
|
-
enableDefaultIcon: se,
|
|
284
|
-
mobileUI: Q,
|
|
285
|
-
nodeBehavior: le,
|
|
286
|
-
itemActionsRender: $ ? this.renderItemActions : void 0,
|
|
287
|
-
actionClassName: ue(setThemeClassName(__assign(__assign({}, this.props), {
|
|
288
|
-
name: "actionControlClassName",
|
|
289
|
-
id: de,
|
|
290
|
-
themeCss: fe
|
|
291
|
-
}))),
|
|
292
|
-
testIdBuilder: ce
|
|
293
|
-
});
|
|
294
|
-
}, t.prototype.renderItemActions = function(e, t) {
|
|
295
|
-
var n = this.props, r = n.itemActions, i = n.data, a = n.render;
|
|
296
|
-
return a(`action/${t.index}`, r || "", { data: createObject(createObject(i, __assign({}, t)), e) });
|
|
297
|
-
}, t.prototype.render = function() {
|
|
298
|
-
var e = this, t = this.props, n = t.className;
|
|
299
|
-
t.style;
|
|
300
|
-
var r = t.disabled, i = t.inline, a = t.loading, o = t.multiple;
|
|
301
|
-
t.value;
|
|
302
|
-
var l = t.clearable, d = t.classPrefix, f = t.classnames, p = t.searchable, h = t.autoComplete, g = t.selectedOptions, ne = t.placeholder, _ = t.popOverContainer, v = t.mobileUI, y = t.maxTagCount, b = t.overflowTagPopover, x = t.translate, S = t.env, C = t.loadingConfig, T = t.testIdBuilder, O = t.wrapperCustomStyle, k = t.id, A = t.themeCss, j = this.state.isOpened, M = o ? g : g.length ? this.renderItem(g[0]) : "";
|
|
303
|
-
return import_react.createElement(import_react.Fragment, null, import_react.createElement("div", __assign({
|
|
304
|
-
ref: this.container,
|
|
305
|
-
className: f("TreeSelectControl", n)
|
|
306
|
-
}, T?.getTestId()), import_react.createElement(ResultBox$1, {
|
|
307
|
-
popOverContainer: _ || S.getModalContainer,
|
|
308
|
-
maxTagCount: y,
|
|
309
|
-
overflowTagPopover: b,
|
|
310
|
-
disabled: r,
|
|
311
|
-
ref: this.targetRef,
|
|
312
|
-
placeholder: x(ne ?? "placeholder.empty"),
|
|
313
|
-
inputPlaceholder: "",
|
|
314
|
-
className: f("TreeSelect", {
|
|
315
|
-
"TreeSelect--inline": i,
|
|
316
|
-
"TreeSelect--single": !o,
|
|
317
|
-
"TreeSelect--multi": o,
|
|
318
|
-
"TreeSelect--searchable": p || isEffectiveApi(h),
|
|
319
|
-
"is-opened": this.state.isOpened,
|
|
320
|
-
"is-disabled": r
|
|
321
|
-
}),
|
|
322
|
-
result: M,
|
|
323
|
-
onResultClick: this.handleOutClick,
|
|
324
|
-
value: this.state.inputValue,
|
|
325
|
-
onChange: this.handleInputChange,
|
|
326
|
-
onResultChange: this.handleResultChange,
|
|
327
|
-
itemRender: this.renderItem,
|
|
328
|
-
onKeyPress: this.handleKeyPress,
|
|
329
|
-
onFocus: this.handleFocus,
|
|
330
|
-
onBlur: this.handleBlur,
|
|
331
|
-
onKeyDown: this.handleInputKeyDown,
|
|
332
|
-
clearable: l,
|
|
333
|
-
allowInput: !v && (p || isEffectiveApi(h)) && (o || !M),
|
|
334
|
-
hasDropDownArrow: !0,
|
|
335
|
-
readOnly: v,
|
|
336
|
-
mobileUI: v,
|
|
337
|
-
testIdBuilder: T?.getChild("result-box")
|
|
338
|
-
}, a ? import_react.createElement(Spinner$1, {
|
|
339
|
-
loadingConfig: C,
|
|
340
|
-
size: "sm"
|
|
341
|
-
}) : void 0), !v && j ? import_react.createElement(Overlay, {
|
|
342
|
-
container: _ || (function() {
|
|
343
|
-
return e.container.current;
|
|
344
|
-
}),
|
|
345
|
-
target: function() {
|
|
346
|
-
return e.target;
|
|
347
|
-
},
|
|
348
|
-
show: !0
|
|
349
|
-
}, import_react.createElement(PopOver$1, {
|
|
350
|
-
classPrefix: d,
|
|
351
|
-
className: `${d}TreeSelect-popover`,
|
|
352
|
-
style: { minWidth: this.target ? this.target.offsetWidth : void 0 },
|
|
353
|
-
onHide: this.close,
|
|
354
|
-
overlay: !0
|
|
355
|
-
}, this.renderOuter())) : null, v ? import_react.createElement(PopUp$1, {
|
|
356
|
-
container: S.getModalContainer,
|
|
357
|
-
className: f(`${d}TreeSelect-popup`),
|
|
358
|
-
isShow: j,
|
|
359
|
-
onHide: this.close,
|
|
360
|
-
showConfirm: !0,
|
|
361
|
-
onConfirm: this.handleConfirm
|
|
362
|
-
}, this.renderOuter()) : null), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
363
|
-
config: {
|
|
364
|
-
wrapperCustomStyle: O,
|
|
365
|
-
id: k,
|
|
366
|
-
themeCss: A,
|
|
367
|
-
classNames: [{ key: "actionControlClassName" }]
|
|
368
|
-
},
|
|
369
|
-
env: S
|
|
370
|
-
})));
|
|
371
|
-
}, t.defaultProps = {
|
|
372
|
-
hideRoot: !0,
|
|
373
|
-
placeholder: "Select.placeholder",
|
|
374
|
-
optionsPlaceholder: "placeholder.noData",
|
|
375
|
-
multiple: !1,
|
|
376
|
-
clearable: !0,
|
|
377
|
-
rootLabel: "Tree.root",
|
|
378
|
-
rootValue: "",
|
|
379
|
-
showIcon: !0,
|
|
380
|
-
joinValues: !0,
|
|
381
|
-
extractValue: !1,
|
|
382
|
-
delimiter: ",",
|
|
383
|
-
resetValue: "",
|
|
384
|
-
hideNodePathLabel: !1,
|
|
385
|
-
enableNodePath: !1,
|
|
386
|
-
pathSeparator: "/",
|
|
387
|
-
selfDisabledAffectChildren: !0
|
|
388
|
-
}, __decorate([
|
|
389
|
-
autobind,
|
|
390
|
-
__metadata("design:type", Function),
|
|
391
|
-
__metadata("design:paramtypes", [Object]),
|
|
392
|
-
__metadata("design:returntype", void 0)
|
|
393
|
-
], t.prototype, "handleOutClick", null), __decorate([
|
|
394
|
-
autobind,
|
|
395
|
-
__metadata("design:type", Function),
|
|
396
|
-
__metadata("design:paramtypes", [Array]),
|
|
397
|
-
__metadata("design:returntype", void 0)
|
|
398
|
-
], t.prototype, "handleResultChange", null), __decorate([
|
|
399
|
-
autobind,
|
|
400
|
-
__metadata("design:type", Function),
|
|
401
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
402
|
-
__metadata("design:returntype", void 0)
|
|
403
|
-
], t.prototype, "addItemFromAction", null), __decorate([
|
|
404
|
-
autobind,
|
|
405
|
-
__metadata("design:type", Function),
|
|
406
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
407
|
-
__metadata("design:returntype", void 0)
|
|
408
|
-
], t.prototype, "editItemFromAction", null), __decorate([
|
|
409
|
-
autobind,
|
|
410
|
-
__metadata("design:type", Function),
|
|
411
|
-
__metadata("design:paramtypes", [Object]),
|
|
412
|
-
__metadata("design:returntype", void 0)
|
|
413
|
-
], t.prototype, "deleteItemFromAction", null), __decorate([
|
|
414
|
-
autobind,
|
|
415
|
-
__metadata("design:type", Function),
|
|
416
|
-
__metadata("design:paramtypes", [Object]),
|
|
417
|
-
__metadata("design:returntype", Promise)
|
|
418
|
-
], t.prototype, "resultChangeEvent", null), __decorate([
|
|
419
|
-
autobind,
|
|
420
|
-
__metadata("design:type", Function),
|
|
421
|
-
__metadata("design:paramtypes", [Object]),
|
|
422
|
-
__metadata("design:returntype", Promise)
|
|
423
|
-
], t.prototype, "handleNodeClick", null), __decorate([
|
|
424
|
-
autobind,
|
|
425
|
-
__metadata("design:type", Function),
|
|
426
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
427
|
-
__metadata("design:returntype", void 0)
|
|
428
|
-
], t.prototype, "renderOptionItem", null), __decorate([
|
|
429
|
-
autobind,
|
|
430
|
-
__metadata("design:type", Function),
|
|
431
|
-
__metadata("design:paramtypes", [Object]),
|
|
432
|
-
__metadata("design:returntype", void 0)
|
|
433
|
-
], t.prototype, "renderItem", null), __decorate([
|
|
434
|
-
autobind,
|
|
435
|
-
__metadata("design:type", Function),
|
|
436
|
-
__metadata("design:paramtypes", [Object]),
|
|
437
|
-
__metadata("design:returntype", void 0)
|
|
438
|
-
], t.prototype, "domRef", null), __decorate([
|
|
439
|
-
autobind,
|
|
440
|
-
__metadata("design:type", Function),
|
|
441
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
442
|
-
__metadata("design:returntype", void 0)
|
|
443
|
-
], t.prototype, "renderItemActions", null), __decorate([
|
|
444
|
-
supportStatic(),
|
|
445
|
-
__metadata("design:type", Function),
|
|
446
|
-
__metadata("design:paramtypes", []),
|
|
447
|
-
__metadata("design:returntype", void 0)
|
|
448
|
-
], t.prototype, "render", null), t;
|
|
449
|
-
}(import_react.Component), TreeSelectControlRenderer = function(e) {
|
|
450
|
-
__extends(t, e);
|
|
451
|
-
function t() {
|
|
452
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
453
|
-
}
|
|
454
|
-
return t = __decorate([OptionsControl({ type: "tree-select" })], t), t;
|
|
455
|
-
}(TreeSelectControl);
|
|
456
|
-
export { TreeSelectControlRenderer, TreeSelectControl as default };
|
package/dist/UUID-B5UZnlxW.js
DELETED
|
@@ -1,33 +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 } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-CNJMA2ft.js";
|
|
5
|
-
import "./isEqual-E2NjjS0_.js";
|
|
6
|
-
import { F as FormItem, Hr as uuidv4 } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
var UUIDControl = function(e) {
|
|
9
|
-
__extends(o, e);
|
|
10
|
-
function o(o) {
|
|
11
|
-
var s = e.call(this, o) || this;
|
|
12
|
-
return o.value || s.setValue(), s;
|
|
13
|
-
}
|
|
14
|
-
return o.prototype.componentDidUpdate = function(e) {
|
|
15
|
-
!e.value && e.formInited !== !1 && this.setValue();
|
|
16
|
-
}, o.prototype.setValue = function() {
|
|
17
|
-
var e = this.props, o = uuidv4();
|
|
18
|
-
e.length && (o = o.substring(0, e.length)), e.onChange(o);
|
|
19
|
-
}, o.prototype.render = function() {
|
|
20
|
-
return null;
|
|
21
|
-
}, o;
|
|
22
|
-
}((/* @__PURE__ */ __toESM(require_react())).Component), UUIDControlRenderer = function(e) {
|
|
23
|
-
__extends(o, e);
|
|
24
|
-
function o() {
|
|
25
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
26
|
-
}
|
|
27
|
-
return o = __decorate([FormItem({
|
|
28
|
-
type: "uuid",
|
|
29
|
-
wrap: !1,
|
|
30
|
-
sizeMutable: !1
|
|
31
|
-
})], o), o;
|
|
32
|
-
}(UUIDControl);
|
|
33
|
-
export { UUIDControlRenderer, UUIDControl as default };
|
|
@@ -1,170 +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, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-CNJMA2ft.js";
|
|
5
|
-
import "./isEqual-E2NjjS0_.js";
|
|
6
|
-
import { Nn as autobind, P as OptionsControl, Tn as require_find, ht as resolveEventData, oi as createObject, sn as isEffectiveApi, vn as require_classnames } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
import { b as UserTabSelect$1, x as UserSelect$1 } from "./esm-Cj_BRpNI.js";
|
|
9
|
-
import "./PopUp-Bgkvnd4X.js";
|
|
10
|
-
import { t as supportStatic } from "./StaticHoc-BAdofX5w.js";
|
|
11
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), import_classnames = /* @__PURE__ */ __toESM(require_classnames()), import_find = /* @__PURE__ */ __toESM(require_find()), UserSelectControl = function(e) {
|
|
12
|
-
__extends(i, e);
|
|
13
|
-
function i(i) {
|
|
14
|
-
return e.call(this, i) || this;
|
|
15
|
-
}
|
|
16
|
-
return i.prototype.componentWillUnmount = function() {
|
|
17
|
-
this.unHook && this.unHook();
|
|
18
|
-
}, i.prototype.onSearch = function(e, i, o) {
|
|
19
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
20
|
-
var s, c, l, d, f, p, m, h, _, v;
|
|
21
|
-
return __generator(this, function(a) {
|
|
22
|
-
switch (a.label) {
|
|
23
|
-
case 0:
|
|
24
|
-
if (s = this.props, c = s.searchApi, l = s.setLoading, d = s.env, c = o?.searchApi || c, f = o?.searchTerm || this.props.searchTerm || "term", p = o?.searchParam || this.props.searchParam || {}, m = __assign((v = {}, v[f] = e, v), p), !isEffectiveApi(c, m)) return [2, Promise.resolve([])];
|
|
25
|
-
l(!0), a.label = 1;
|
|
26
|
-
case 1: return a.trys.push([
|
|
27
|
-
1,
|
|
28
|
-
,
|
|
29
|
-
3,
|
|
30
|
-
4
|
|
31
|
-
]), [4, d.fetcher(c, m, {
|
|
32
|
-
cancelExecutor: i,
|
|
33
|
-
autoAppend: !0
|
|
34
|
-
})];
|
|
35
|
-
case 2: return h = a.sent(), _ = h.data && h.data.options || h.data || [], [2, _];
|
|
36
|
-
case 3: return l(!1), [7];
|
|
37
|
-
case 4: return [2];
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
}, i.prototype.deferLoad = function(e, i, o) {
|
|
42
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
43
|
-
var s, c, l, u, d, f, p;
|
|
44
|
-
return __generator(this, function(a) {
|
|
45
|
-
switch (a.label) {
|
|
46
|
-
case 0:
|
|
47
|
-
if (s = this.props, c = s.env, l = s.deferApi, u = s.setLoading, s.formInited, s.addHook, l = o?.deferApi || l, !c || !c.fetcher) throw Error("fetcher is required");
|
|
48
|
-
if (d = createObject(e, {}), !isEffectiveApi(l, d)) return [2, Promise.resolve([])];
|
|
49
|
-
a.label = 1;
|
|
50
|
-
case 1: return a.trys.push([
|
|
51
|
-
1,
|
|
52
|
-
,
|
|
53
|
-
3,
|
|
54
|
-
4
|
|
55
|
-
]), [4, c.fetcher(l, d)];
|
|
56
|
-
case 2: return f = a.sent(), p = f.data && f.data.options || f.data || [], i && p.forEach(function(e) {
|
|
57
|
-
e.isRef = !0;
|
|
58
|
-
}), [2, p];
|
|
59
|
-
case 3: return u(!1), [7];
|
|
60
|
-
case 4: return [2];
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
}, i.prototype.changeValue = function(e) {
|
|
65
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
66
|
-
var i, o, s, c, l, u, d, f, p, h, g, _;
|
|
67
|
-
return __generator(this, function(a) {
|
|
68
|
-
switch (a.label) {
|
|
69
|
-
case 0: return i = this.props, o = i.joinValues, s = i.extractValue, c = i.delimiter, l = i.multiple, u = i.valueField, d = i.onChange, f = i.options, i.setOptions, i.data, p = i.dispatchEvent, h = e, g = [], (Array.isArray(e) ? e : e ? [e] : []).forEach(function(e) {
|
|
70
|
-
(0, import_find.default)(f, function(i) {
|
|
71
|
-
return i[u || "value"] == e[u || "value"];
|
|
72
|
-
}) || g.push(e);
|
|
73
|
-
}), o ? h = l ? Array.isArray(e) ? e.map(function(e) {
|
|
74
|
-
return e[u || "value"];
|
|
75
|
-
}).join(c) : e ? e[u || "value"] : "" : h ? h[u || "value"] : "" : s && (h = l ? Array.isArray(e) ? e.map(function(e) {
|
|
76
|
-
return e[u || "value"];
|
|
77
|
-
}) : e ? [e[u || "value"]] : [] : h ? h[u || "value"] : ""), [4, p("change", resolveEventData(this.props, {
|
|
78
|
-
value: h,
|
|
79
|
-
options: f,
|
|
80
|
-
items: f
|
|
81
|
-
}))];
|
|
82
|
-
case 1: return _ = a.sent(), _?.prevented || d(h), [2];
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
}, i.prototype.renderStatic = function() {
|
|
87
|
-
var e = this.props, i = e.selectedOptions, a = e.labelField, o = a === void 0 ? "label" : a, s = e.classnames;
|
|
88
|
-
return o === "avatar" ? i.map(function(e, i) {
|
|
89
|
-
return import_react.createElement("img", {
|
|
90
|
-
key: i,
|
|
91
|
-
className: s("UserSelect-avatar-img"),
|
|
92
|
-
src: e[o],
|
|
93
|
-
alt: ""
|
|
94
|
-
});
|
|
95
|
-
}) : i.map(function(e) {
|
|
96
|
-
return e[o];
|
|
97
|
-
}).join(",");
|
|
98
|
-
}, i.prototype.render = function() {
|
|
99
|
-
var e = this, i = this.props, a = i.showNav, o = i.navTitle, s = i.searchable, c = i.options, l = i.className;
|
|
100
|
-
i.style;
|
|
101
|
-
var u = i.selectedOptions, d = i.tabOptions, f = i.multi, p = i.multiple, m = i.isDep, h = i.isRef, g = i.placeholder, _ = i.searchPlaceholder, y = i.tabMode, b = i.data, x = i.displayFields, S = i.labelField, C = i.loadingConfig, w = i.disabled;
|
|
102
|
-
return d?.forEach(function(i) {
|
|
103
|
-
i.deferLoad = e.deferLoad, i.onChange = e.changeValue, i.onSearch = e.onSearch;
|
|
104
|
-
}), import_react.createElement("div", { className: (0, import_classnames.default)("UserSelectControl", l) }, y ? import_react.createElement(UserTabSelect$1, {
|
|
105
|
-
selection: u,
|
|
106
|
-
tabOptions: d,
|
|
107
|
-
multiple: p,
|
|
108
|
-
displayFields: x,
|
|
109
|
-
onChange: this.changeValue,
|
|
110
|
-
onSearch: this.onSearch,
|
|
111
|
-
deferLoad: this.deferLoad,
|
|
112
|
-
data: b,
|
|
113
|
-
disabled: w
|
|
114
|
-
}) : import_react.createElement(UserSelect$1, {
|
|
115
|
-
loadingConfig: C,
|
|
116
|
-
showNav: a,
|
|
117
|
-
navTitle: o,
|
|
118
|
-
selection: u,
|
|
119
|
-
options: c,
|
|
120
|
-
multi: f,
|
|
121
|
-
multiple: p,
|
|
122
|
-
searchable: s,
|
|
123
|
-
placeholder: g,
|
|
124
|
-
searchPlaceholder: _,
|
|
125
|
-
deferLoad: this.deferLoad,
|
|
126
|
-
onChange: this.changeValue,
|
|
127
|
-
onSearch: this.onSearch,
|
|
128
|
-
displayFields: x,
|
|
129
|
-
labelField: S,
|
|
130
|
-
isDep: m,
|
|
131
|
-
isRef: h,
|
|
132
|
-
disabled: w
|
|
133
|
-
}));
|
|
134
|
-
}, i.defaultProps = { showNav: !0 }, __decorate([
|
|
135
|
-
autobind,
|
|
136
|
-
__metadata("design:type", Function),
|
|
137
|
-
__metadata("design:paramtypes", [
|
|
138
|
-
String,
|
|
139
|
-
Function,
|
|
140
|
-
Object
|
|
141
|
-
]),
|
|
142
|
-
__metadata("design:returntype", Promise)
|
|
143
|
-
], i.prototype, "onSearch", null), __decorate([
|
|
144
|
-
autobind,
|
|
145
|
-
__metadata("design:type", Function),
|
|
146
|
-
__metadata("design:paramtypes", [
|
|
147
|
-
Object,
|
|
148
|
-
Boolean,
|
|
149
|
-
Object
|
|
150
|
-
]),
|
|
151
|
-
__metadata("design:returntype", Promise)
|
|
152
|
-
], i.prototype, "deferLoad", null), __decorate([
|
|
153
|
-
autobind,
|
|
154
|
-
__metadata("design:type", Function),
|
|
155
|
-
__metadata("design:paramtypes", [Object]),
|
|
156
|
-
__metadata("design:returntype", Promise)
|
|
157
|
-
], i.prototype, "changeValue", null), __decorate([
|
|
158
|
-
supportStatic(),
|
|
159
|
-
__metadata("design:type", Function),
|
|
160
|
-
__metadata("design:paramtypes", []),
|
|
161
|
-
__metadata("design:returntype", void 0)
|
|
162
|
-
], i.prototype, "render", null), i;
|
|
163
|
-
}(import_react.Component), UserSelectControlRenderer = function(e) {
|
|
164
|
-
__extends(i, e);
|
|
165
|
-
function i() {
|
|
166
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
167
|
-
}
|
|
168
|
-
return i = __decorate([OptionsControl({ type: "users-select" })], i), i;
|
|
169
|
-
}(UserSelectControl);
|
|
170
|
-
export { UserSelectControlRenderer, UserSelectControl as default };
|