@txgw/payout-components 0.6.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AMIS-BpATHKnv.js +1 -0
- package/dist/Action-B0KUcn27.js +1 -0
- package/dist/Action-CzJ_r33l.js +1 -0
- package/dist/Alert-DwWdKr12.js +1 -0
- package/dist/AnchorNav-DRGjEF5J.js +1 -0
- package/dist/App-DxKgyXV1.js +1 -0
- package/dist/Audio-BoaWMJHA.js +1 -0
- package/dist/Avatar-B2lZKPPh.js +1 -0
- package/dist/BarCode-BnchzdIg.js +1 -0
- package/dist/BarCode-dEGhm4u6.js +1 -0
- package/dist/Breadcrumb-BHzIF2Vg.js +1 -0
- package/dist/ButtonGroup-BMvNPoKc.js +1 -0
- package/dist/ButtonGroupSelect-BmQIuhWU.js +1 -0
- package/dist/ButtonGroupSelect-CfNu0OBj.js +1 -0
- package/dist/ButtonToolbar-CYZ0LWsz.js +1 -0
- package/dist/CRUD-BDeg8xZI.js +1 -0
- package/dist/CRUD2-DrE-2JU3.js +1 -0
- package/dist/Calendar-DkEUJJQW.js +1 -0
- package/dist/Card-BVUWwkgm.js +1 -0
- package/dist/Card-IZbcizfw.js +1 -0
- package/dist/Card2-Dyl0FIVL.js +1 -0
- package/dist/Cards-DlMpwNSr.js +1 -0
- package/dist/Carousel-CXMYZL8H.js +1 -0
- package/dist/ChainedSelect-BQK0j-pA.js +1 -0
- package/dist/Chart-uJ8v1OSG.js +1 -0
- package/dist/ChartRadios-C9Ov2SCd.js +1 -0
- package/dist/Checkbox-DAq7LXTe.js +1 -0
- package/dist/Checkbox-DbHhD7iK.js +1 -0
- package/dist/Checkboxes-wud_gmq3.js +1 -0
- package/dist/Code-VjDT2QOS.js +1 -0
- package/dist/Collapse-CRIu-D5O.js +1 -0
- package/dist/Collapse-CknZKNKz.js +1 -0
- package/dist/CollapseGroup-DkMS5MXZ.js +1 -0
- package/dist/Color-CZV84qNC.js +1 -0
- package/dist/ColorPicker-R5D1ZNwb.js +1 -0
- package/dist/ColumnToggler-BxHry8EL.js +1 -0
- package/dist/ColumnToggler-D98cb4XS.js +1 -0
- package/dist/Combo-BUD7tb8b.js +1 -0
- package/dist/ConditionBuilder-DFF8QBcW.js +1 -0
- package/dist/Container-f-JHe2WE.js +1 -0
- package/dist/Control-dOQnC26j.js +1 -0
- package/dist/Custom-CqKL8xv_.js +1 -0
- package/dist/{Date-C9Kib09x.js → Date-BcRD4sv_.js} +1 -333
- package/dist/DateRange-BkGu5vJl.js +1 -0
- package/dist/Dialog-CQSNeqgY.js +1 -0
- package/dist/DiffEditor-DU9deT5c.js +1 -0
- package/dist/Divider-CYwXWwc5.js +1 -0
- package/dist/Drawer-DmUqxMKd.js +1 -0
- package/dist/DropDownButton-C0e2mksC.js +1 -0
- package/dist/Each-Bnhdfx44.js +1 -0
- package/dist/FieldSet-BRfWbiPG.js +1 -0
- package/dist/FieldSet-f-m_bp4h.js +1 -0
- package/dist/Flex-C0c49ZMP.js +1 -0
- package/dist/Formula-C82aVdAD.js +1 -0
- package/dist/Grid2D-BJPrAz8w.js +1 -0
- package/dist/GridNav-DCCBgvz1.js +1 -0
- package/dist/Group-D_2Fn4zB.js +1 -0
- package/dist/HBox-CG3Ad5us.js +1 -0
- package/dist/HBox-CRrACS8I.js +1 -0
- package/dist/Hidden-SaNCTMlZ.js +1 -0
- package/dist/IFrame-2LIicqpq.js +1 -0
- package/dist/Icon-3_vNko-P.js +1 -0
- package/dist/IconPicker-DAMClR_z.js +1 -0
- package/dist/IconPickerIcons-DN0pqJHt.js +1 -0
- package/dist/IconSelect-CHM0oHqd.js +1 -0
- package/dist/IconSelectStore-MNwivoh-.js +1 -0
- package/dist/Image-Br7JbiAF.js +1 -0
- package/dist/Image-hHgZkb5C.js +1 -0
- package/dist/Images-ZGJfaN-q.js +1 -0
- package/dist/InputArray-D3y772RO.js +1 -0
- package/dist/InputCity-CF6mEwuH.js +1 -0
- package/dist/InputColor-CYmzXu5I.js +1 -0
- package/dist/InputDate-BldJd84x.js +1 -0
- package/dist/InputDateRange-KzSlI2fv.js +1 -0
- package/dist/InputExcel-CJZWvZFT.js +1 -0
- package/dist/InputFile-C0FUNeFM.js +1 -0
- package/dist/InputFile-DFjvYmV3.js +1 -0
- package/dist/InputFormula-BKxq41uR.js +1 -0
- package/dist/InputGroup-wvaymJ-V.js +1 -0
- package/dist/InputImage-CLuXGhoy.js +1 -0
- package/dist/InputImage-DasZBpb-.js +1 -0
- package/dist/InputMonthRange-DVRnBZ4I.js +1 -0
- package/dist/InputNumber-BjzsM73z.js +1 -0
- package/dist/InputQuarterRange-DQuiFCOb.js +1 -0
- package/dist/InputRange-C97bKrW6.js +1 -0
- package/dist/InputRating-CpFNTZKA.js +1 -0
- package/dist/InputRepeat-CN2KxX7g.js +1 -0
- package/dist/InputRichText-BXjRSQFh.js +1 -0
- package/dist/InputRichText-DdyJFH82.js +1 -0
- package/dist/InputSignature-CsxuK757.js +1 -0
- package/dist/InputSubForm-Ddweo6dR.js +1 -0
- package/dist/InputTable-Bt8U_tyA.js +1 -0
- package/dist/InputTag-kg2v747D.js +1 -0
- package/dist/InputText-bKR0VgA6.js +1 -0
- package/dist/InputTree-DbdS4b2m.js +1 -0
- package/dist/InputVerificationCode-DcFJRWeR.js +1 -0
- package/dist/InputYearRange-ChXlMgCi.js +1 -0
- package/dist/JSONSchema-C_VjFVVN.js +1 -0
- package/dist/JSONSchemaEditor-CEgywCvJ.js +1 -0
- package/dist/Json-DqjhkjHF.js +1 -0
- package/dist/Link-9hUnE5FW.js +1 -0
- package/dist/List-BBntusL0.js +1 -0
- package/dist/List-C8nPjG1-.js +1 -0
- package/dist/ListSelect-lX84FGAP.js +1 -0
- package/dist/LocationPicker-DnA8QpYh.js +1 -0
- package/dist/Log-CRxPlj86.js +1 -0
- package/dist/Mapping-X2IRbppi.js +1 -0
- package/dist/Markdown-BlxcmdTl.js +1 -0
- package/dist/Markdown-ByuMaB2P.js +1 -0
- package/dist/MatrixCheckboxes-BvBU1E-4.js +1 -0
- package/dist/MultilineText-BmbIytvk.js +1 -0
- package/dist/Nav-BxS7kBh9.js +1 -0
- package/dist/NestedSelect-CbWnin5b.js +1 -0
- package/dist/Number-CGYpvopX.js +1 -0
- package/dist/OfficeViewer-DBFFaH5P.js +1 -0
- package/dist/Operation-j5yIUDkZ.js +1 -0
- package/dist/Page-CJ2gK3vA.js +1 -0
- package/dist/Pagination-BDEmomCQ.js +1 -0
- package/dist/PaginationWrapper-Bnsk8oIg.js +1 -0
- package/dist/Panel-DKpM1Qfc.js +1 -0
- package/dist/Password-CzHAzi8M.js +1 -0
- package/dist/Picker-D5WVPGTg.js +1 -0
- package/dist/Plain-oyGNzh1N.js +1 -0
- package/dist/PopUp-DaheG-Vv.js +104 -0
- package/dist/Portlet-dA2P7U6i.js +1 -0
- package/dist/Progress-D2LXKzUA.js +1 -0
- package/dist/Property-CekATdUy.js +1 -0
- package/dist/QRCode-DPoyEXK3.js +2 -0
- package/dist/Radio-HhPQKIKk.js +1 -0
- package/dist/Radios-DVzovX2u.js +1 -0
- package/dist/Remark-CHTOdmdn.js +1 -0
- package/dist/Remark-bXVj7ffU.js +1 -0
- package/dist/RichText-wfPXQmb8.js +1 -0
- package/dist/SearchBox-Jlwq8w3o.js +1 -0
- package/dist/Select-DCB0i1Ga.js +1 -0
- package/dist/Service-Bmfl8VSD.js +1 -0
- package/dist/Shape-5ZBBe1x0.js +1 -0
- package/dist/Slider-pb5I0Xb2.js +1 -0
- package/dist/SparkLine-C4x34-6K.js +1 -0
- package/dist/Spinner-SR1wYU_1.js +1 -0
- package/dist/StaticHoc-DVc-5HZA.js +1 -0
- package/dist/Status-7D4DBjk6.js +1 -0
- package/dist/Steps-Dd_3MM0y.js +1 -0
- package/dist/Switch-CZqzJH45.js +1 -0
- package/dist/SwitchContainer-L7IwrheV.js +1 -0
- package/dist/Table-CYUuVDxA.js +1 -0
- package/dist/Table-D-9NfAqg.js +1 -0
- package/dist/Table2-CIZ93hrj.js +1 -0
- package/dist/TableView-CigjcDJc.js +1 -0
- package/dist/Tabs-Cljj-nTv.js +1 -0
- package/dist/TabsTransfer-BXwrW4NX.js +1 -0
- package/dist/TabsTransferPicker-DB005nER.js +1 -0
- package/dist/Tag-CcfwT8FM.js +1 -0
- package/dist/Tasks-DeVW2Tdg.js +1 -0
- package/dist/Textarea-zsHcK0rZ.js +1 -0
- package/dist/Timeline-D_3FRzUa.js +1 -0
- package/dist/TooltipWrapper-BElQhX67.js +1 -0
- package/dist/Tpl-OPfW08Kh.js +1 -0
- package/dist/Transfer-Cx1Ijzfh.js +1 -0
- package/dist/Transfer-DboPBh8V.js +1 -0
- package/dist/TransferPicker-xlJfwHxP.js +1 -0
- package/dist/TreeSelect-BTKg9Ldf.js +1 -0
- package/dist/UUID-BkwpeiT9.js +1 -0
- package/dist/UserSelect-CsY5PQp9.js +1 -0
- package/dist/VBox-Ca4DBR6-.js +1 -0
- package/dist/Video-CXzxq3vU.js +1 -0
- package/dist/WebComponent-DYxJeu6a.js +1 -0
- package/dist/Wizard-fqzq2OCn.js +1 -0
- package/dist/Words-V70QrARW.js +1 -0
- package/dist/Wrapper-BtFbBBXy.js +1 -0
- package/dist/_getTag-x788Ng9o.js +1 -0
- package/dist/beneficiary-form-BmmdIRc0.js +10 -0
- package/dist/client-BoE-UyzU.js +1 -0
- package/dist/crypto-js-Cv2Y8hvs.js +1 -0
- package/dist/doc-CmSOujco.js +1 -0
- package/dist/es-DY5--nMG.js +1 -0
- package/dist/esm-BMvKJM5q.js +4 -0
- package/dist/esm-BbZME5Ac.js +28 -0
- package/dist/esm-DyRrwLZv.js +1 -0
- package/dist/function-C8ta9DKb.js +3 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1 -96
- package/dist/isEqual-BxlJ5vH7.js +1 -0
- package/dist/main-CLaM-mkN.js +1 -0
- package/dist/mi18n-react.esm-BFa-Q7wX.js +1 -0
- package/dist/objectSpread2-BCtAXXta.js +1 -0
- package/dist/omitBy-NMzUUhXs.js +1 -0
- package/dist/papaparse.min-CU0u_rom.js +1 -0
- package/dist/react-BW4ssgUo.js +1 -0
- package/dist/react-cropper.es-zEJdZmmN.js +1 -0
- package/dist/react-dom-DmgFzc6z.js +1 -0
- package/dist/rolldown-runtime-DcYi-9oA.js +1 -0
- package/dist/tslib.es6-C2q27PUR.js +1 -0
- package/dist/xor-CSkTraTY.js +1 -0
- package/package.json +23 -17
- package/dist/AMIS--SZXSfKF.js +0 -23
- package/dist/Action-D7O1nxY2.js +0 -10
- package/dist/Action-DpRShNiD.js +0 -646
- package/dist/Alert-sakO0sgo.js +0 -34
- package/dist/AnchorNav-1OrNpCPU.js +0 -88
- package/dist/App-mzRv6t1L.js +0 -213
- package/dist/Audio-CmGRzA8C.js +0 -324
- package/dist/Avatar-C0g_Dcsr.js +0 -75
- package/dist/BarCode-Bgr2-a69.js +0 -35
- package/dist/BarCode-f_fuunrs.js +0 -2708
- package/dist/Breadcrumb-3pb8787J.js +0 -38
- package/dist/ButtonGroup-DBJgP_U6.js +0 -16
- package/dist/ButtonGroupSelect-BV8FHgm0.js +0 -93
- package/dist/ButtonGroupSelect-Cl2irnYh.js +0 -8
- package/dist/ButtonToolbar-DMCBgh9w.js +0 -36
- package/dist/CRUD-DFP1DIcc.js +0 -1048
- package/dist/CRUD2-BGpsdJ3D.js +0 -660
- package/dist/Calendar-D_aFq70_.js +0 -18
- package/dist/Card-C54K-VRd.js +0 -14
- package/dist/Card-FmRg7dLO.js +0 -346
- package/dist/Card2-Blr9gGoC.js +0 -68
- package/dist/Cards-B7J3bYtx.js +0 -485
- package/dist/Carousel-Ba4JeK7n.js +0 -414
- package/dist/ChainedSelect-CUU7qCFQ.js +0 -212
- package/dist/Chart-BmOD9NEG.js +0 -276
- package/dist/ChartRadios-Bm7pnICh.js +0 -93
- package/dist/Checkbox-CcjG9Mv4.js +0 -157
- package/dist/Checkbox-yvPZaH8N.js +0 -10
- package/dist/Checkboxes-Babxqar9.js +0 -285
- package/dist/Code-B7FhTic-.js +0 -111
- package/dist/Collapse-BYdoEOZ2.js +0 -124
- package/dist/Collapse-C9riUcKK.js +0 -9
- package/dist/CollapseGroup-B7DmpWY1.js +0 -74
- package/dist/Color-BM1Qa0C1.js +0 -34
- package/dist/ColorPicker-BXmi_OWm.js +0 -5258
- package/dist/ColumnToggler-3QYyVjVf.js +0 -81
- package/dist/ColumnToggler-D0NlxwMq.js +0 -10
- package/dist/ColumnToggler-DLFwzPef.js +0 -228
- package/dist/Combo-BsouWVHB.js +0 -748
- package/dist/Combo-Cabifvbg.js +0 -9
- package/dist/ConditionBuilder-BacjsaTh.js +0 -113
- package/dist/Container-C5-66abH.js +0 -86
- package/dist/Control-krTArjIv.js +0 -38
- package/dist/Custom-DawY4LgO.js +0 -73
- package/dist/DateRange-D2lKQT_J.js +0 -34
- package/dist/Dialog-oNlQLXnk.js +0 -508
- package/dist/DiffEditor-DY8XdtJS.js +0 -104
- package/dist/Divider-BgpLhaqf.js +0 -70
- package/dist/Drawer-DslUxLot.js +0 -448
- package/dist/DropDownButton-BIuAagmC.js +0 -193
- package/dist/Each-CA8gaJkL.js +0 -79
- package/dist/FieldSet-Cg1pE5gA.js +0 -64
- package/dist/FieldSet-DVAa2H_Q.js +0 -10
- package/dist/Flex-Baz4bI9u.js +0 -99
- package/dist/Formula-ABhgdx_Q.js +0 -72
- package/dist/Grid2D-DmdOVnhu.js +0 -84
- package/dist/GridNav-lHAunT1M.js +0 -56
- package/dist/Group-7sGnjMli.js +0 -85
- package/dist/HBox-DxchKWfv.js +0 -7
- package/dist/HBox-s88aG83B.js +0 -48
- package/dist/Hidden-BrTWoL8d.js +0 -27
- package/dist/IFrame-DaZ1v2-9.js +0 -141
- package/dist/Icon-DNbdrsn8.js +0 -74
- package/dist/IconPicker-DqNlu5Zd.js +0 -230
- package/dist/IconPickerIcons-dHFcDHrv.js +0 -15
- package/dist/IconSelect-CvBITEcy.js +0 -254
- package/dist/IconSelectStore-CTqJPujB.js +0 -45
- package/dist/Image-BBs8tnny.js +0 -258
- package/dist/Image-DM9_Ii2b.js +0 -9
- package/dist/Images-cRmH380W.js +0 -377
- package/dist/InputArray-Dov-RBrP.js +0 -42
- package/dist/InputCity-owVpsIaD.js +0 -351
- package/dist/InputColor-DhVJhPp6.js +0 -53
- package/dist/InputDate-DLOwHbwT.js +0 -10
- package/dist/InputDate-DWaIvnAp.js +0 -292
- package/dist/InputDateRange-CnGNwIFe.js +0 -10
- package/dist/InputDateRange-Diqw3JLp.js +0 -170
- package/dist/InputExcel-BjWNYvnN.js +0 -427
- package/dist/InputFile-89BOwWJE.js +0 -601
- package/dist/InputFile-DOym0HDc.js +0 -10
- package/dist/InputFormula-CV5j31Ow.js +0 -75
- package/dist/InputGroup-C7O2ba0g.js +0 -112
- package/dist/InputImage-BF7DAF8L.js +0 -12
- package/dist/InputImage-DcsVQf7c.js +0 -834
- package/dist/InputMonthRange-BjD3hmwp.js +0 -76
- package/dist/InputNumber-DKMOkba-.js +0 -255
- package/dist/InputQuarterRange-DZKnkZ_s.js +0 -76
- package/dist/InputRange-DiHKf3tP.js +0 -266
- package/dist/InputRating-Bc8Od5b8.js +0 -115
- package/dist/InputRepeat-BhF5KVB2.js +0 -179
- package/dist/InputRichText-BBBdDFA2.js +0 -7
- package/dist/InputRichText-CieHn0fO.js +0 -198
- package/dist/InputSignature-CbfGjJlU.js +0 -495
- package/dist/InputSubForm-BkM_3Rjg.js +0 -236
- package/dist/InputTable-CgOqC6Pc.js +0 -900
- package/dist/InputTag-35kCFM5X.js +0 -464
- package/dist/InputText-BbEjGBtv.js +0 -541
- package/dist/InputTree-DchkyMbL.js +0 -311
- package/dist/InputVerificationCode-kMxc8wW7.js +0 -62
- package/dist/InputYearRange-WJKJeloR.js +0 -76
- package/dist/JSONSchema-Bs0EWcHb.js +0 -47
- package/dist/JSONSchemaEditor-BoAK9FOL.js +0 -66
- package/dist/Json-DFjy1HRw.js +0 -80
- package/dist/Link-nYGLB6gy.js +0 -57
- package/dist/List-D3183f4Z.js +0 -14
- package/dist/List-W3IAZR_6.js +0 -671
- package/dist/ListSelect-DWGbHVxd.js +0 -104
- package/dist/LocationPicker-2G9yOxtm.js +0 -121
- package/dist/Log-D6VU702y.js +0 -207
- package/dist/Mapping-BATMD_xR.js +0 -118
- package/dist/Markdown-Baxbu8lV.js +0 -53
- package/dist/Markdown-Cg-xahnQ.js +0 -6205
- package/dist/MatrixCheckboxes-B9hmFakW.js +0 -262
- package/dist/MultilineText-0fMQhUCY.js +0 -28
- package/dist/Nav-DHIehZOG.js +0 -639
- package/dist/NestedSelect-tQztH4PI.js +0 -517
- package/dist/Number-Cndoqeyx.js +0 -40
- package/dist/OfficeViewer-BVD_e5eZ.js +0 -169
- package/dist/Operation-DIv6n9dT.js +0 -36
- package/dist/Page-WoZtIIfk.js +0 -459
- package/dist/Pagination-DHvYHd_3.js +0 -61
- package/dist/PaginationWrapper-CtIJOXdw.js +0 -58
- package/dist/Panel-Dt4KQrKa.js +0 -156
- package/dist/Password-Wjfq7MSA.js +0 -45
- package/dist/Picker-Cu52ukRg.js +0 -488
- package/dist/Plain-DIlG753a.js +0 -62
- package/dist/PopUp-Bgkvnd4X.js +0 -2761
- package/dist/Portlet-3Nh2cWeq.js +0 -107
- package/dist/Progress-Dh2FTsky.js +0 -89
- package/dist/Property-DRSklFlT.js +0 -72
- package/dist/QRCode-BeUD-g8-.js +0 -1139
- package/dist/Radio-DrJJfNFI.js +0 -89
- package/dist/Radios-CL3mreXa.js +0 -176
- package/dist/Remark-Cmo-r6dp.js +0 -81
- package/dist/Remark-DuAbEmCW.js +0 -9
- package/dist/RichText-jkERm8rC.js +0 -13807
- package/dist/SearchBox-CTxSMcV2.js +0 -112
- package/dist/Select-D3LTuHwe.js +0 -362
- package/dist/Service-CN2v_Z9z.js +0 -347
- package/dist/Shape-Bi93tLCN.js +0 -37
- package/dist/Slider-C0jqeBGt.js +0 -78
- package/dist/SparkLine-Ce6-mdqG.js +0 -38
- package/dist/Spinner-DZDEct1A.js +0 -27
- package/dist/StaticHoc-BAdofX5w.js +0 -80
- package/dist/Status-CDC2e2_o.js +0 -93
- package/dist/Steps-CGyTaaVI.js +0 -271
- package/dist/Switch-QA0l7uEg.js +0 -100
- package/dist/SwitchContainer-zXvaPFlG.js +0 -93
- package/dist/Table-B8tWpiPU.js +0 -13
- package/dist/Table-DzGbNFxu.js +0 -3190
- package/dist/Table2-CQZ3und9.js +0 -1198
- package/dist/TableView-nlFBhvL1.js +0 -115
- package/dist/Tabs-XleB-2Mc.js +0 -487
- package/dist/TabsTransfer-CLLGXAkP.js +0 -188
- package/dist/TabsTransfer-Cs_Rg0TU.js +0 -11
- package/dist/TabsTransferPicker-VA3Vlla-.js +0 -99
- package/dist/Tag-tr5RKBfl.js +0 -75
- package/dist/Tasks-C2-ayUd-.js +0 -305
- package/dist/Textarea-_KbIxQet.js +0 -132
- package/dist/Timeline-CctoJRQo.js +0 -87
- package/dist/TooltipWrapper-BGNr8U2K.js +0 -83
- package/dist/Tpl-C28lpITc.js +0 -152
- package/dist/Transfer-Hjc9zR8W.js +0 -288
- package/dist/Transfer-tYS9Rx8U.js +0 -10
- package/dist/TransferPicker-C7Wzyuct.js +0 -123
- package/dist/TreeSelect-DAlWCEqs.js +0 -456
- package/dist/UUID-B5UZnlxW.js +0 -33
- package/dist/UserSelect-DqZZQB83.js +0 -170
- package/dist/VBox-C1OZZT8-.js +0 -38
- package/dist/Video-C1FRwLLL.js +0 -4068
- package/dist/WebComponent-g8Zc9zXp.js +0 -29
- package/dist/Wizard-DkqCsGz-.js +0 -585
- package/dist/Words-DUuKqyIf.js +0 -113
- package/dist/Wrapper-DmZ78GYG.js +0 -39
- package/dist/_getTag-CWmGzIun.js +0 -509
- package/dist/beneficiary-form-DCl2L16P.js +0 -3773
- package/dist/client-BEyTOBXT.js +0 -26
- package/dist/crypto-js-DUFYRUag.js +0 -3694
- package/dist/doc-B-Im0Knb.js +0 -1731
- package/dist/es-CsUppg1O.js +0 -837
- package/dist/esm-Cj_BRpNI.js +0 -35832
- package/dist/esm-DEyK_c3W.js +0 -25349
- package/dist/esm-SCCPj-cs.js +0 -93004
- package/dist/function-CNJMA2ft.js +0 -3151
- package/dist/isEqual-E2NjjS0_.js +0 -641
- package/dist/main-Bf7MY24z.js +0 -4475
- package/dist/mi18n-react.esm-y-nzmW0A.js +0 -1138
- package/dist/objectSpread2-smpSKONV.js +0 -27
- package/dist/omitBy-CD5n2TA7.js +0 -39
- package/dist/papaparse.min-3xa9r8Qi.js +0 -496
- package/dist/react-RxxVsDMo.js +0 -1205
- package/dist/react-cropper.es-anJ2KE7h.js +0 -1260
- package/dist/react-dom-D1mxcNoQ.js +0 -16864
- package/dist/react-g40aymqL.js +0 -2
- package/dist/rolldown-runtime-DwW8Tac2.js +0 -21
- package/dist/tslib.es6-DJiA3ePV.js +0 -170
- package/dist/xor-D-ggRBpm.js +0 -20
|
@@ -1,541 +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, L as PopOver$1, Li as matchSorter, Nn as autobind, P as OptionsControl, R as Overlay, Tn as require_find, Xr as filter, Xt as require_debounce, Y as formatInputThemeCss, Z as setThemeClassName, di as setVariable, ht as resolveEventData, j as highlight, oi as createObject, sn as isEffectiveApi, vi as getVariable, zr as ucFirst } from "./esm-DEyK_c3W.js";
|
|
7
|
-
import "./react-dom-D1mxcNoQ.js";
|
|
8
|
-
import { At as Downshift$1, Dt as Input, s as OverflowTpl$1 } from "./esm-Cj_BRpNI.js";
|
|
9
|
-
import { i as Spinner$1, s as Icon } 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_find = /* @__PURE__ */ __toESM(require_find()), TextControl = function(e) {
|
|
12
|
-
__extends(t, e);
|
|
13
|
-
function t(t) {
|
|
14
|
-
var n = e.call(this, t) || this, r = t.value;
|
|
15
|
-
return n.state = {
|
|
16
|
-
isOpen: !1,
|
|
17
|
-
inputValue: t.multiple || t.creatable === !1 ? "" : n.valueToString(r),
|
|
18
|
-
isFocused: !1,
|
|
19
|
-
revealPassword: !1
|
|
20
|
-
}, n.focus = n.focus.bind(n), n.clearValue = n.clearValue.bind(n), n.toggleRevealPassword = n.toggleRevealPassword.bind(n), n.inputRef = n.inputRef.bind(n), n.handleClick = n.handleClick.bind(n), n.handleFocus = n.handleFocus.bind(n), n.handleBlur = n.handleBlur.bind(n), n.handleInputChange = n.handleInputChange.bind(n), n.handleKeyDown = n.handleKeyDown.bind(n), n.handleChange = n.handleChange.bind(n), n.handleStateChange = n.handleStateChange.bind(n), n.loadAutoComplete = (0, import_debounce.default)(n.loadAutoComplete.bind(n), 250, {
|
|
21
|
-
trailing: !0,
|
|
22
|
-
leading: !1
|
|
23
|
-
}), n;
|
|
24
|
-
}
|
|
25
|
-
return t.prototype.componentDidMount = function() {
|
|
26
|
-
var e = this, t = this.props, r = t.formItem, a = t.autoComplete, o = t.addHook, s = t.formInited, c = t.data, l = t.name;
|
|
27
|
-
isEffectiveApi(a, c) && r && (s ? r.loadOptions(a, createObject(c, { term: "" })) : o && (this.unHook = o(function(t) {
|
|
28
|
-
return __awaiter(e, void 0, void 0, function() {
|
|
29
|
-
return __generator(this, function(e) {
|
|
30
|
-
switch (e.label) {
|
|
31
|
-
case 0: return [4, r.loadOptions(a, createObject(t, { term: "" }))];
|
|
32
|
-
case 1: return e.sent(), r.value && setVariable(t, l, r.value), [2];
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
}, "init")));
|
|
37
|
-
}, t.prototype.componentDidUpdate = function(e) {
|
|
38
|
-
var t = this.props;
|
|
39
|
-
e.value !== t.value && this.setState({ inputValue: t.multiple || t.creatable === !1 ? "" : this.valueToString(t.value) }), e.revealPassword !== t.revealPassword && !t.revealPassword && this.setState({ revealPassword: !1 });
|
|
40
|
-
}, t.prototype.componentWillUnmount = function() {
|
|
41
|
-
this.unHook && this.unHook();
|
|
42
|
-
}, t.prototype.inputRef = function(e) {
|
|
43
|
-
this.input = e;
|
|
44
|
-
}, t.prototype.doAction = function(e, t, n, r) {
|
|
45
|
-
n === void 0 && (n = !1);
|
|
46
|
-
var i = e?.actionType;
|
|
47
|
-
i === "reset" ? this.resetValue() : i === "clear" ? this.clearValue() : i === "focus" ? this.focus() : i === "review" ? this.setState({ revealPassword: !0 }) : i === "encrypt" && this.setState({ revealPassword: !1 });
|
|
48
|
-
}, t.prototype.focus = function() {
|
|
49
|
-
if (this.input) {
|
|
50
|
-
this.input.focus();
|
|
51
|
-
var e = this.input.value.length;
|
|
52
|
-
e && (this.input.type === "email" ? (this.input.type = "text", this.input.setSelectionRange(e, e), this.input.type = "email") : this.input.setSelectionRange(e, e));
|
|
53
|
-
}
|
|
54
|
-
}, t.prototype.resetValue = function() {
|
|
55
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
56
|
-
var e, t, r, i, a, o, s, c, l, u = this;
|
|
57
|
-
return __generator(this, function(n) {
|
|
58
|
-
switch (n.label) {
|
|
59
|
-
case 0: return e = this.props, t = e.onChange, r = e.dispatchEvent, i = e.resetValue, a = e.formStore, o = e.store, s = e.name, c = getVariable(a?.pristine ?? o?.pristine, s) ?? i, [4, r("change", resolveEventData(this.props, { value: c }))];
|
|
60
|
-
case 1: return l = n.sent(), l?.prevented ? [2] : (t(c), this.setState({ inputValue: c }, function() {
|
|
61
|
-
u.loadAutoComplete();
|
|
62
|
-
}), [2]);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
}, t.prototype.clearValue = function() {
|
|
67
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
68
|
-
var e, t, r, i, a, o, s, c = this;
|
|
69
|
-
return __generator(this, function(n) {
|
|
70
|
-
switch (n.label) {
|
|
71
|
-
case 0: return e = this.props, t = e.onChange, r = e.dispatchEvent, i = e.clearValueOnEmpty, a = this.props.resetValue, i && a === "" && (a = void 0), [4, r("clear", resolveEventData(this.props, { value: a }))];
|
|
72
|
-
case 1: return o = n.sent(), o?.prevented ? [2] : [4, r("change", resolveEventData(this.props, { value: a }))];
|
|
73
|
-
case 2: return s = n.sent(), s?.prevented ? [2] : (t(a), this.setState({ inputValue: a }, function() {
|
|
74
|
-
c.loadAutoComplete();
|
|
75
|
-
}), [2]);
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
}, t.prototype.removeItem = function(e) {
|
|
80
|
-
var t = this.props, n = t.selectedOptions, r = t.onChange, i = n.concat();
|
|
81
|
-
i.splice(e, 1), r(this.normalizeValue(i));
|
|
82
|
-
}, t.prototype.handleClick = function(e) {
|
|
83
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
84
|
-
var t, r, i, a, o;
|
|
85
|
-
return __generator(this, function(n) {
|
|
86
|
-
switch (n.label) {
|
|
87
|
-
case 0: return t = this.props, r = t.dispatchEvent, i = t.value, a = t.multiple, [4, r("click", resolveEventData(this.props, { value: i }))];
|
|
88
|
-
case 1: return o = n.sent(), o?.prevented || (a || e.target === this.input) && (this.state.isFocused || this.focus(), this.setState({ isOpen: !0 })), [2];
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
}, t.prototype.handleFocus = function(e) {
|
|
93
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
94
|
-
var t, r, i, a, o;
|
|
95
|
-
return __generator(this, function(n) {
|
|
96
|
-
switch (n.label) {
|
|
97
|
-
case 0: return t = this.props, r = t.dispatchEvent, i = t.onFocus, a = t.value, this.setState({
|
|
98
|
-
isOpen: !0,
|
|
99
|
-
isFocused: !0
|
|
100
|
-
}), [4, r("focus", resolveEventData(this.props, { value: a }))];
|
|
101
|
-
case 1: return o = n.sent(), o?.prevented || i?.(e), [2];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
}, t.prototype.handleBlur = function(e) {
|
|
106
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
107
|
-
var t, r, i, a, o, s, c, l = this;
|
|
108
|
-
return __generator(this, function(n) {
|
|
109
|
-
switch (n.label) {
|
|
110
|
-
case 0: return t = this.props, r = t.onBlur, i = t.trimContents, a = t.value, o = t.onChange, s = t.dispatchEvent, this.setState({ isFocused: !1 }, function() {
|
|
111
|
-
if (i && a && typeof a == "string") {
|
|
112
|
-
var e = a.trim();
|
|
113
|
-
l.input && (l.input.value = e), o(e);
|
|
114
|
-
}
|
|
115
|
-
}), [4, s("blur", resolveEventData(this.props, { value: a }))];
|
|
116
|
-
case 1: return c = n.sent(), c?.prevented || r && r(e), [2];
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
});
|
|
120
|
-
}, t.prototype.close = function() {
|
|
121
|
-
this.setState({ isFocused: !1 });
|
|
122
|
-
}, t.prototype.handleInputChange = function(e) {
|
|
123
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
124
|
-
var t, r, i, a, o, s, c, l = this;
|
|
125
|
-
return __generator(this, function(n) {
|
|
126
|
-
switch (n.label) {
|
|
127
|
-
case 0: return t = this.transformValue(e.currentTarget.value), r = this.props, i = r.creatable, a = r.multiple, o = r.onChange, s = r.dispatchEvent, [4, s("change", resolveEventData(this.props, { value: t }))];
|
|
128
|
-
case 1: return c = n.sent(), c?.prevented || this.setState({ inputValue: t }, function() {
|
|
129
|
-
i !== !1 && !a && o?.(t), l.loadAutoComplete();
|
|
130
|
-
}), [2];
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
}, t.prototype.handleKeyDown = function(e) {
|
|
135
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
136
|
-
var t, r, i, a, o, s, c, l, u, l, d;
|
|
137
|
-
return __generator(this, function(n) {
|
|
138
|
-
switch (n.label) {
|
|
139
|
-
case 0: return t = this.props, r = t.selectedOptions, i = t.onChange, a = t.multiple, o = t.creatable, s = t.dispatchEvent, c = this.props?.valueField || "value", r.length && !this.state.inputValue && e.keyCode === 8 ? (e.preventDefault(), l = r.concat(), l.pop(), i(this.normalizeValue(l)), this.setState({ inputValue: "" }, this.loadAutoComplete), [3, 4]) : [3, 1];
|
|
140
|
-
case 1: return e.key === "Enter" && this.state.inputValue && typeof this.highlightedIndex != "number" && o !== !1 ? (e.preventDefault(), u = this.state.inputValue, a && u && ((0, import_find.default)(r, function(e) {
|
|
141
|
-
return e[c] == u;
|
|
142
|
-
}) ? u = this.normalizeValue(r).concat() : (l = r.concat(), l.push({
|
|
143
|
-
label: u,
|
|
144
|
-
value: u
|
|
145
|
-
}), u = this.normalizeValue(l).concat())), [4, s("enter", resolveEventData(this.props, { value: u }))]) : [3, 3];
|
|
146
|
-
case 2: return d = n.sent(), d?.prevented ? [2] : (i(u), this.setState({
|
|
147
|
-
inputValue: a ? "" : u,
|
|
148
|
-
isOpen: !1
|
|
149
|
-
}, this.loadAutoComplete), [3, 4]);
|
|
150
|
-
case 3: e.key === "Enter" && this.state.isOpen && typeof this.highlightedIndex != "number" && this.setState({ isOpen: !1 }), n.label = 4;
|
|
151
|
-
case 4: return [2];
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
});
|
|
155
|
-
}, t.prototype.handleChange = function(e) {
|
|
156
|
-
var t = this.props, n = t.onChange, r = t.multiple, i = t.options, a = t.selectedOptions, o = t.creatable, s = t.valueField, c = i.find(function(t) {
|
|
157
|
-
return t[s || "value"] === e;
|
|
158
|
-
});
|
|
159
|
-
if (r) {
|
|
160
|
-
var l = a.concat();
|
|
161
|
-
c ? l.push(c) : e && o !== !1 && l.push({
|
|
162
|
-
label: e,
|
|
163
|
-
value: e
|
|
164
|
-
}), n(this.normalizeValue(l));
|
|
165
|
-
} else n(c ? this.normalizeValue(c) : e);
|
|
166
|
-
(r || o === !1) && this.setState({ inputValue: "" }, this.loadAutoComplete);
|
|
167
|
-
}, t.prototype.handleStateChange = function(e) {
|
|
168
|
-
var t = this.props.creatable, n = this.props.multiple || this.props.multi;
|
|
169
|
-
switch (e.type) {
|
|
170
|
-
case Downshift$1.stateChangeTypes.itemMouseEnter:
|
|
171
|
-
this.setState({ isOpen: !0 });
|
|
172
|
-
break;
|
|
173
|
-
case Downshift$1.stateChangeTypes.changeInput:
|
|
174
|
-
this.setState({ isOpen: !0 });
|
|
175
|
-
break;
|
|
176
|
-
default:
|
|
177
|
-
var r = {};
|
|
178
|
-
e.isOpen !== void 0 && (r.isOpen = e.isOpen), e.highlightedIndex !== void 0 && (this.highlightedIndex = e.highlightedIndex), !n && t === !1 && this.state.isOpen && e.isOpen === !1 && (r.inputValue = ""), this.setState(r);
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
}, t.prototype.handleNormalInputChange = function(e) {
|
|
182
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
183
|
-
var t, r, i, a, o, s, c;
|
|
184
|
-
return __generator(this, function(n) {
|
|
185
|
-
switch (n.label) {
|
|
186
|
-
case 0: return t = this.props, r = t.onChange, i = t.dispatchEvent, a = t.trimContents, o = t.clearValueOnEmpty, s = this.transformValue(e.currentTarget.value), typeof s == "string" && (a && (s = s.trim()), o && s === "" && (s = void 0)), [4, i("change", resolveEventData(this.props, { value: s }))];
|
|
187
|
-
case 1: return c = n.sent(), c?.prevented || r(s), [2];
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
});
|
|
191
|
-
}, t.prototype.normalizeValue = function(e) {
|
|
192
|
-
var t = this.props, n = t.multiple, r = t.delimiter, i = t.joinValues, a = t.extractValue, o = t.valueField, s = Array.isArray(e) ? e : e ? [e] : [];
|
|
193
|
-
if (i) return s.map(function(e) {
|
|
194
|
-
return e[o || "value"];
|
|
195
|
-
}).join(r || ",");
|
|
196
|
-
if (a) {
|
|
197
|
-
var c = s.map(function(e) {
|
|
198
|
-
return e[o || "value"];
|
|
199
|
-
});
|
|
200
|
-
return n ? c : c[0];
|
|
201
|
-
} else return n ? s : s[0];
|
|
202
|
-
}, t.prototype.transformValue = function(e) {
|
|
203
|
-
var t = this.props.transform;
|
|
204
|
-
return t && Object.keys(t).forEach(function(n) {
|
|
205
|
-
var r = t[n];
|
|
206
|
-
switch (n) {
|
|
207
|
-
case "lowerCase":
|
|
208
|
-
r && (e = e.toLowerCase());
|
|
209
|
-
break;
|
|
210
|
-
case "upperCase":
|
|
211
|
-
r && (e = e.toUpperCase());
|
|
212
|
-
break;
|
|
213
|
-
}
|
|
214
|
-
}), e;
|
|
215
|
-
}, t.prototype.loadAutoComplete = function() {
|
|
216
|
-
var e = this.props, t = e.formItem, n = e.autoComplete, r = e.data;
|
|
217
|
-
isEffectiveApi(n, r) && t && t.loadOptions(n, createObject(r, { term: this.state.inputValue || "" }), { extendsOptions: !0 });
|
|
218
|
-
}, t.prototype.reload = function(e, t) {
|
|
219
|
-
var n = this.props.reloadOptions;
|
|
220
|
-
n && n(e, t);
|
|
221
|
-
}, t.prototype.valueToString = function(e) {
|
|
222
|
-
return e == null ? "" : typeof e == "string" ? e : e instanceof Date ? e.toISOString() : JSON.stringify(e);
|
|
223
|
-
}, t.prototype.getTarget = function() {
|
|
224
|
-
return this.input?.parentElement;
|
|
225
|
-
}, t.prototype.renderSugestMode = function() {
|
|
226
|
-
var e = this, t = this.props, n = t.className;
|
|
227
|
-
t.style;
|
|
228
|
-
var r = t.inputControlClassName, i = t.nativeInputClassName, a = t.inputOnly, o = t.value, c = t.placeholder, d = t.classnames, f = t.disabled, m = t.readOnly, h = t.name, g = t.loading, _ = t.clearable, v = t.options, b = t.selectedOptions, x = t.autoComplete, S = t.labelField, D = t.valueField, O = t.multiple, k = t.creatable, A = t.borderMode, M = t.showCounter, N = t.data, P = t.maxLength, F = t.minLength, I = t.translate, ae = t.loadingConfig, L = t.popOverContainer, R = t.themeCss, z = t.css, B = t.id, V = t.nativeAutoComplete, H = t.testIdBuilder, U = this.props.type?.replace(/^(?:native|input)\-/, "");
|
|
229
|
-
return import_react.createElement(Downshift$1, {
|
|
230
|
-
isOpen: this.state.isOpen && !f && !m,
|
|
231
|
-
inputValue: this.state.inputValue,
|
|
232
|
-
onChange: this.handleChange,
|
|
233
|
-
onStateChange: this.handleStateChange,
|
|
234
|
-
selectedItem: b.map(function(e) {
|
|
235
|
-
return e[D || "value"];
|
|
236
|
-
})
|
|
237
|
-
}, function(t) {
|
|
238
|
-
var w, W, G = t.getInputProps, K = t.getItemProps, q = t.isOpen, J = t.inputValue, Y = t.selectedItem, X = t.highlightedIndex, Z = J && q && !x ? matchSorter(v, J, {
|
|
239
|
-
keys: [S || "label", D || "value"],
|
|
240
|
-
threshold: matchSorter.rankings.CONTAINS
|
|
241
|
-
}) : v, Q = q ? mapItemIndex(Z, Y) : {};
|
|
242
|
-
Z = Z.filter(function(e) {
|
|
243
|
-
return !~Y.indexOf(e.value);
|
|
244
|
-
}), e.state.inputValue && k !== !1 && O && !Z.some(function(t) {
|
|
245
|
-
return t.value === e.state.inputValue;
|
|
246
|
-
}) && !~Y.indexOf(e.state.inputValue) && Z.push((w = {}, w[S || "label"] = e.state.inputValue, w[D || "value"] = e.state.inputValue, w.isNew = !0, w));
|
|
247
|
-
var $ = filter(c, N);
|
|
248
|
-
return import_react.createElement("div", __assign({
|
|
249
|
-
className: d("TextControl-input TextControl-input--withAC", r, setThemeClassName(__assign(__assign({}, e.props), {
|
|
250
|
-
name: "inputControlClassName",
|
|
251
|
-
id: B,
|
|
252
|
-
themeCss: R || z
|
|
253
|
-
})), setThemeClassName(__assign(__assign({}, e.props), {
|
|
254
|
-
name: "inputControlClassName",
|
|
255
|
-
id: B,
|
|
256
|
-
themeCss: R || z,
|
|
257
|
-
extra: "inner"
|
|
258
|
-
})), a ? n : "", (W = {
|
|
259
|
-
"is-opened": q,
|
|
260
|
-
"TextControl-input--multiple": O
|
|
261
|
-
}, W[`TextControl-input--border${ucFirst(A)}`] = A, W)),
|
|
262
|
-
onClick: e.handleClick
|
|
263
|
-
}, H?.getTestId()), import_react.createElement(import_react.Fragment, null, $ && !b.length && !e.state.inputValue && !e.state.isFocused ? import_react.createElement("div", { className: d("TextControl-placeholder") }, $) : null, b.map(function(t, n) {
|
|
264
|
-
return O ? import_react.createElement("div", {
|
|
265
|
-
className: d("TextControl-value"),
|
|
266
|
-
key: n
|
|
267
|
-
}, import_react.createElement(OverflowTpl$1, {
|
|
268
|
-
className: d("TextControl-valueLabel"),
|
|
269
|
-
tooltip: `${t[S || "label"]}`
|
|
270
|
-
}, `${t[S || "label"]}`), import_react.createElement(Icon, {
|
|
271
|
-
icon: "close",
|
|
272
|
-
className: d("TextControl-valueIcon", "icon"),
|
|
273
|
-
onClick: e.removeItem.bind(e, n)
|
|
274
|
-
})) : J && q || k !== !1 ? null : import_react.createElement("div", {
|
|
275
|
-
className: d("TextControl-value"),
|
|
276
|
-
key: n
|
|
277
|
-
}, t.label);
|
|
278
|
-
}), import_react.createElement(Input, __assign({}, G({
|
|
279
|
-
name: h,
|
|
280
|
-
ref: e.inputRef,
|
|
281
|
-
disabled: f,
|
|
282
|
-
readOnly: m,
|
|
283
|
-
type: U,
|
|
284
|
-
onFocus: e.handleFocus,
|
|
285
|
-
onBlur: e.handleBlur,
|
|
286
|
-
onChange: e.handleInputChange,
|
|
287
|
-
onKeyDown: e.handleKeyDown,
|
|
288
|
-
maxLength: P,
|
|
289
|
-
minLength: F
|
|
290
|
-
}), {
|
|
291
|
-
autoComplete: V,
|
|
292
|
-
size: 10,
|
|
293
|
-
className: d(i)
|
|
294
|
-
}))), _ && !f && !m && o ? import_react.createElement("a", {
|
|
295
|
-
onClick: e.clearValue,
|
|
296
|
-
className: d("TextControl-clear")
|
|
297
|
-
}, import_react.createElement(Icon, {
|
|
298
|
-
icon: "input-clear",
|
|
299
|
-
className: "icon",
|
|
300
|
-
iconContent: "InputText-clear"
|
|
301
|
-
})) : null, M ? import_react.createElement("span", { className: d("TextControl-counter") }, `${e.valueToString(o)?.length}${typeof P == "number" && P ? `/${P}` : ""}`) : null, g ? import_react.createElement(Spinner$1, {
|
|
302
|
-
show: !0,
|
|
303
|
-
icon: "reload",
|
|
304
|
-
size: "sm",
|
|
305
|
-
spinnerClassName: d("TextControl-spinner"),
|
|
306
|
-
loadingConfig: ae
|
|
307
|
-
}) : null, import_react.createElement(Overlay, {
|
|
308
|
-
container: L || e.getTarget,
|
|
309
|
-
target: e.getTarget,
|
|
310
|
-
show: !!(q && Z.length)
|
|
311
|
-
}, import_react.createElement(PopOver$1, {
|
|
312
|
-
className: d("TextControl-popover"),
|
|
313
|
-
style: { width: e.input ? e.input.parentElement.offsetWidth : "auto" }
|
|
314
|
-
}, import_react.createElement("div", { className: d("TextControl-sugs") }, Z.map(function(e) {
|
|
315
|
-
var t = e[S || "label"], n = e[D || "value"];
|
|
316
|
-
return import_react.createElement("div", __assign({}, K({
|
|
317
|
-
item: n,
|
|
318
|
-
disabled: e.disabled,
|
|
319
|
-
className: d("TextControl-sugItem", {
|
|
320
|
-
"is-highlight": X === Q[n],
|
|
321
|
-
"is-disabled": e.disabled || e.readOnly
|
|
322
|
-
})
|
|
323
|
-
}), { key: n }), e.isNew ? import_react.createElement("span", null, I("Text.add", { label: t }), import_react.createElement(Icon, {
|
|
324
|
-
icon: "enter",
|
|
325
|
-
className: "icon"
|
|
326
|
-
})) : import_react.createElement("span", null, e.disabled ? t : highlight(t, J), e.tip));
|
|
327
|
-
})))));
|
|
328
|
-
});
|
|
329
|
-
}, t.prototype.toggleRevealPassword = function() {
|
|
330
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
331
|
-
var e, t, r, i, a;
|
|
332
|
-
return __generator(this, function(n) {
|
|
333
|
-
switch (n.label) {
|
|
334
|
-
case 0: return e = this.props, t = e.dispatchEvent, r = e.value, i = this.state.revealPassword ? "encrypt" : "review", [4, t(i, resolveEventData(this.props, { value: r }))];
|
|
335
|
-
case 1: return a = n.sent(), a?.prevented || a?.stoped || this.setState({ revealPassword: !this.state.revealPassword }), [2];
|
|
336
|
-
}
|
|
337
|
-
});
|
|
338
|
-
});
|
|
339
|
-
}, t.prototype.renderNormal = function() {
|
|
340
|
-
var e, t = this.props;
|
|
341
|
-
t.classPrefix;
|
|
342
|
-
var n = t.classnames, r = t.className;
|
|
343
|
-
t.style;
|
|
344
|
-
var i = t.inputControlClassName, a = t.nativeInputClassName, o = t.inputOnly, c = t.value, l = t.placeholder;
|
|
345
|
-
t.onChange;
|
|
346
|
-
var u = t.disabled, d = t.readOnly, f = t.max, p = t.min, m = t.step, h = t.clearable, g = t.revealPassword, _ = g === void 0 ? !0 : g, v = t.name, y = t.borderMode, b = t.prefix, x = t.suffix, S = t.data, w = t.showCounter, T = t.maxLength, E = t.minLength, D = t.themeCss, O = t.css, k = t.id, A = t.nativeAutoComplete, j = t.testIdBuilder, M = this.props.type?.replace(/^(?:native|input)\-/, "");
|
|
347
|
-
return import_react.createElement("div", __assign({ className: n("TextControl-input", (e = {}, e[`TextControl-input--border${ucFirst(y)}`] = y, e), setThemeClassName(__assign(__assign({}, this.props), {
|
|
348
|
-
name: "inputControlClassName",
|
|
349
|
-
id: k,
|
|
350
|
-
themeCss: D || O
|
|
351
|
-
})), setThemeClassName(__assign(__assign({}, this.props), {
|
|
352
|
-
name: "inputControlClassName",
|
|
353
|
-
id: k,
|
|
354
|
-
themeCss: D || O,
|
|
355
|
-
extra: "inner"
|
|
356
|
-
})), i, o ? r : "") }, j?.getTestId()), b ? import_react.createElement("span", { className: n("TextControl-inputPrefix") }, filter(b, S)) : null, import_react.createElement(Input, __assign({
|
|
357
|
-
name: v,
|
|
358
|
-
placeholder: filter(l, S),
|
|
359
|
-
ref: this.inputRef,
|
|
360
|
-
disabled: u,
|
|
361
|
-
readOnly: d,
|
|
362
|
-
type: this.state.revealPassword ? "text" : M,
|
|
363
|
-
onFocus: this.handleFocus,
|
|
364
|
-
onBlur: this.handleBlur,
|
|
365
|
-
max: f,
|
|
366
|
-
min: p,
|
|
367
|
-
maxLength: T,
|
|
368
|
-
minLength: E,
|
|
369
|
-
autoComplete: A,
|
|
370
|
-
size: 10,
|
|
371
|
-
step: m,
|
|
372
|
-
onChange: this.handleNormalInputChange,
|
|
373
|
-
value: this.valueToString(c),
|
|
374
|
-
className: n(a, { "TextControl-input-password": M === "password" && _ })
|
|
375
|
-
}, j?.getChild("input").getTestId())), h && !u && !d && c ? import_react.createElement("a", {
|
|
376
|
-
onClick: this.clearValue,
|
|
377
|
-
className: n("TextControl-clear")
|
|
378
|
-
}, import_react.createElement(Icon, {
|
|
379
|
-
icon: "input-clear",
|
|
380
|
-
className: "icon",
|
|
381
|
-
iconContent: "InputText-clear"
|
|
382
|
-
})) : null, M === "password" && _ && !u ? import_react.createElement("a", {
|
|
383
|
-
onClick: this.toggleRevealPassword,
|
|
384
|
-
className: n("TextControl-revealPassword")
|
|
385
|
-
}, this.state.revealPassword ? import_react.createElement(Icon, {
|
|
386
|
-
icon: "view",
|
|
387
|
-
className: n("TextControl-icon-view"),
|
|
388
|
-
classNameProp: n("TextControl-icon-view"),
|
|
389
|
-
iconContent: "InputText-view"
|
|
390
|
-
}) : import_react.createElement(Icon, {
|
|
391
|
-
icon: "invisible",
|
|
392
|
-
className: n("TextControl-icon-invisible"),
|
|
393
|
-
classNameProp: n("TextControl-icon-invisible"),
|
|
394
|
-
iconContent: "InputText-invisible"
|
|
395
|
-
})) : null, w ? import_react.createElement("span", { className: n("TextControl-counter") }, `${this.valueToString(c)?.length}${typeof T == "number" && T ? `/${T}` : ""}`) : null, x ? import_react.createElement("span", { className: n("TextControl-inputSuffix") }, filter(x, S)) : null);
|
|
396
|
-
}, t.prototype.renderBody = function(e) {
|
|
397
|
-
var t, n, r = this.props, i = r.classnames, a = r.className, o = r.style, c = r.classPrefix, l = r.addOn, u = r.render, d = r.data, f = r.disabled, p = r.readOnly, m = r.inputOnly, h = r.static, g = r.addOnClassName, _ = r.themeCss, v = r.css, y = r.id, b = typeof l == "string" ? {
|
|
398
|
-
label: l,
|
|
399
|
-
type: "plain"
|
|
400
|
-
} : l, x = import_react.createElement(Icon, {
|
|
401
|
-
cx: i,
|
|
402
|
-
icon: b?.icon,
|
|
403
|
-
className: "Icon"
|
|
404
|
-
}), S = b && !h ? b.actionType || ~[
|
|
405
|
-
"button",
|
|
406
|
-
"submit",
|
|
407
|
-
"reset",
|
|
408
|
-
"action"
|
|
409
|
-
].indexOf(b.type) ? import_react.createElement("div", { className: i(`${c}TextControl-button`, g, setThemeClassName(__assign(__assign({}, this.props), {
|
|
410
|
-
name: "addOnClassName",
|
|
411
|
-
id: y,
|
|
412
|
-
themeCss: _ || v,
|
|
413
|
-
extra: "addOn"
|
|
414
|
-
}))) }, u("addOn", b, { disabled: f })) : import_react.createElement("div", { className: i(`${c}TextControl-addOn`, g, setThemeClassName(__assign(__assign({}, this.props), {
|
|
415
|
-
name: "addOnClassName",
|
|
416
|
-
id: y,
|
|
417
|
-
themeCss: _ || v,
|
|
418
|
-
extra: "addOn"
|
|
419
|
-
}))) }, x, b.label ? filter(b.label, d) : null) : null;
|
|
420
|
-
if (m) return e;
|
|
421
|
-
var C = h ? i(`${c}TextControl`, (n = {}, n[`${c}TextControl--withAddOn`] = !!S, n)) : i(a, `${c}TextControl`, (t = {}, t[`${c}TextControl--withAddOn`] = !!S, t["is-focused"] = this.state.isFocused, t["is-disabled"] = f || p, t));
|
|
422
|
-
return import_react.createElement("div", {
|
|
423
|
-
className: C,
|
|
424
|
-
style: o
|
|
425
|
-
}, b && b.position === "left" ? S : null, e, b && b.position !== "left" ? S : null);
|
|
426
|
-
}, t.prototype.render = function() {
|
|
427
|
-
var e = this.props, t = e.options, n = e.source, r = e.autoComplete, i = e.themeCss, a = e.css, o = e.id, l = e.env, u = e.classPrefix, d = r !== !1 && (n || t?.length || r) ? this.renderSugestMode() : this.renderNormal();
|
|
428
|
-
return import_react.createElement(import_react.Fragment, null, this.renderBody(d), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
429
|
-
config: {
|
|
430
|
-
themeCss: i || a,
|
|
431
|
-
classNames: [{
|
|
432
|
-
key: "inputControlClassName",
|
|
433
|
-
weights: {
|
|
434
|
-
focused: { parent: `.${u}TextControl.is-focused` },
|
|
435
|
-
disabled: { parent: `.${u}TextControl.is-disabled` }
|
|
436
|
-
}
|
|
437
|
-
}],
|
|
438
|
-
id: o
|
|
439
|
-
},
|
|
440
|
-
env: l
|
|
441
|
-
})), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
442
|
-
config: {
|
|
443
|
-
themeCss: formatInputThemeCss(i || a),
|
|
444
|
-
classNames: [{
|
|
445
|
-
key: "inputControlClassName",
|
|
446
|
-
weights: {
|
|
447
|
-
default: { inner: "input" },
|
|
448
|
-
hover: { inner: "input" },
|
|
449
|
-
focused: {
|
|
450
|
-
parent: `.${u}TextControl.is-focused`,
|
|
451
|
-
inner: "input"
|
|
452
|
-
},
|
|
453
|
-
disabled: {
|
|
454
|
-
parent: `.${u}TextControl.is-disabled`,
|
|
455
|
-
inner: "input"
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
}],
|
|
459
|
-
id: o && o + "-inner"
|
|
460
|
-
},
|
|
461
|
-
env: l
|
|
462
|
-
})), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
463
|
-
config: {
|
|
464
|
-
themeCss: i || a,
|
|
465
|
-
classNames: [{ key: "addOnClassName" }],
|
|
466
|
-
id: o && o + "-addOn"
|
|
467
|
-
},
|
|
468
|
-
env: l
|
|
469
|
-
})));
|
|
470
|
-
}, t.defaultProps = {
|
|
471
|
-
resetValue: "",
|
|
472
|
-
labelField: "label",
|
|
473
|
-
valueField: "value",
|
|
474
|
-
placeholder: "",
|
|
475
|
-
allowInputText: !0,
|
|
476
|
-
trimContents: !0,
|
|
477
|
-
nativeAutoComplete: "off"
|
|
478
|
-
}, __decorate([
|
|
479
|
-
autobind,
|
|
480
|
-
__metadata("design:type", Function),
|
|
481
|
-
__metadata("design:paramtypes", []),
|
|
482
|
-
__metadata("design:returntype", void 0)
|
|
483
|
-
], t.prototype, "close", null), __decorate([
|
|
484
|
-
autobind,
|
|
485
|
-
__metadata("design:type", Function),
|
|
486
|
-
__metadata("design:paramtypes", [Object]),
|
|
487
|
-
__metadata("design:returntype", Promise)
|
|
488
|
-
], t.prototype, "handleNormalInputChange", null), __decorate([
|
|
489
|
-
autobind,
|
|
490
|
-
__metadata("design:type", Function),
|
|
491
|
-
__metadata("design:paramtypes", []),
|
|
492
|
-
__metadata("design:returntype", void 0)
|
|
493
|
-
], t.prototype, "getTarget", null), __decorate([
|
|
494
|
-
autobind,
|
|
495
|
-
supportStatic(),
|
|
496
|
-
__metadata("design:type", Function),
|
|
497
|
-
__metadata("design:paramtypes", []),
|
|
498
|
-
__metadata("design:returntype", Object)
|
|
499
|
-
], t.prototype, "render", null), t;
|
|
500
|
-
}(import_react.PureComponent);
|
|
501
|
-
function mapItemIndex(e, t, n) {
|
|
502
|
-
return n === void 0 && (n = "value"), e.filter(function(e) {
|
|
503
|
-
return t.indexOf(e[n || "value"]) === -1;
|
|
504
|
-
}).reduce(function(e, t, r) {
|
|
505
|
-
return e[t[n || "value"]] = r, e;
|
|
506
|
-
}, {});
|
|
507
|
-
}
|
|
508
|
-
var TextControlRenderer = function(e) {
|
|
509
|
-
__extends(t, e);
|
|
510
|
-
function t() {
|
|
511
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
512
|
-
}
|
|
513
|
-
return t = __decorate([OptionsControl({
|
|
514
|
-
type: "input-text",
|
|
515
|
-
alias: [
|
|
516
|
-
"input-password",
|
|
517
|
-
"native-date",
|
|
518
|
-
"native-time",
|
|
519
|
-
"native-number"
|
|
520
|
-
]
|
|
521
|
-
})], t), t;
|
|
522
|
-
}(TextControl), EmailControlRenderer = function(e) {
|
|
523
|
-
__extends(t, e);
|
|
524
|
-
function t() {
|
|
525
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
526
|
-
}
|
|
527
|
-
return t = __decorate([OptionsControl({
|
|
528
|
-
type: "input-email",
|
|
529
|
-
validations: "isEmail"
|
|
530
|
-
})], t), t;
|
|
531
|
-
}(TextControl), UrlControlRenderer = function(e) {
|
|
532
|
-
__extends(t, e);
|
|
533
|
-
function t() {
|
|
534
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
535
|
-
}
|
|
536
|
-
return t = __decorate([OptionsControl({
|
|
537
|
-
type: "input-url",
|
|
538
|
-
validations: "isUrl"
|
|
539
|
-
})], t), t;
|
|
540
|
-
}(TextControl);
|
|
541
|
-
export { EmailControlRenderer, TextControlRenderer, UrlControlRenderer, TextControl as default, mapItemIndex };
|