@txgw/payout-components 0.5.2 → 0.6.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-C5eEfOtM.js → AMIS--SZXSfKF.js} +6 -6
- package/dist/Action-D7O1nxY2.js +10 -0
- package/dist/{Action-CErPyqhd.js → Action-DpRShNiD.js} +21 -22
- package/dist/{Alert-CL6AxX9W.js → Alert-sakO0sgo.js} +8 -10
- package/dist/{AnchorNav-BQgaqBoy.js → AnchorNav-1OrNpCPU.js} +8 -10
- package/dist/App-mzRv6t1L.js +213 -0
- package/dist/{Audio-XJ-ya7eJ.js → Audio-CmGRzA8C.js} +8 -10
- package/dist/{Avatar-QQXB9S3Q.js → Avatar-C0g_Dcsr.js} +8 -10
- package/dist/{BarCode-Ddyw9A94.js → BarCode-Bgr2-a69.js} +7 -7
- package/dist/{BarCode-B3PHYs21.js → BarCode-f_fuunrs.js} +10 -10
- package/dist/{Breadcrumb-CbrEDG1L.js → Breadcrumb-3pb8787J.js} +8 -10
- package/dist/{ButtonGroup-Bc6JSoXR.js → ButtonGroup-DBJgP_U6.js} +7 -7
- package/dist/{ButtonGroupSelect-7uctYLWK.js → ButtonGroupSelect-BV8FHgm0.js} +9 -9
- package/dist/ButtonGroupSelect-Cl2irnYh.js +8 -0
- package/dist/{ButtonToolbar-EWvVGJ7N.js → ButtonToolbar-DMCBgh9w.js} +6 -6
- package/dist/{CRUD-C4gXxs8g.js → CRUD-DFP1DIcc.js} +44 -46
- package/dist/{CRUD2-L5l1_8In.js → CRUD2-BGpsdJ3D.js} +21 -23
- package/dist/{Calendar-DhRJvxTd.js → Calendar-D_aFq70_.js} +9 -11
- package/dist/Card-C54K-VRd.js +14 -0
- package/dist/{Card-BcxXrhE8.js → Card-FmRg7dLO.js} +26 -26
- package/dist/{Card2-RbgvR51k.js → Card2-Blr9gGoC.js} +8 -10
- package/dist/Cards-B7J3bYtx.js +485 -0
- package/dist/{Carousel-Crf07aHf.js → Carousel-Ba4JeK7n.js} +9 -11
- package/dist/{ChainedSelect-CFsJF5y3.js → ChainedSelect-CUU7qCFQ.js} +15 -17
- package/dist/{Chart-CYLdl6k0.js → Chart-BmOD9NEG.js} +11 -11
- package/dist/{ChartRadios-DlJuRNrx.js → ChartRadios-Bm7pnICh.js} +7 -7
- package/dist/{Checkbox-Cf_mVMHF.js → Checkbox-CcjG9Mv4.js} +5 -5
- package/dist/Checkbox-yvPZaH8N.js +10 -0
- package/dist/{Checkboxes-Dl2pbr1w.js → Checkboxes-Babxqar9.js} +13 -15
- package/dist/{Code-BIDd8kXb.js → Code-B7FhTic-.js} +10 -10
- package/dist/{Collapse-Bd9jyO8r.js → Collapse-BYdoEOZ2.js} +5 -5
- package/dist/Collapse-C9riUcKK.js +9 -0
- package/dist/{CollapseGroup-C35H5tbk.js → CollapseGroup-B7DmpWY1.js} +8 -10
- package/dist/{Color-CIbFLrBz.js → Color-BM1Qa0C1.js} +6 -6
- package/dist/{ColorPicker-DI5bOtYt.js → ColorPicker-BXmi_OWm.js} +30 -50
- package/dist/{ColumnToggler-fr1rfdSO.js → ColumnToggler-3QYyVjVf.js} +5 -5
- package/dist/ColumnToggler-D0NlxwMq.js +10 -0
- package/dist/{ColumnToggler-B13Y3e57.js → ColumnToggler-DLFwzPef.js} +11 -12
- package/dist/{Combo-CDtsyRSt.js → Combo-BsouWVHB.js} +37 -38
- package/dist/Combo-Cabifvbg.js +9 -0
- package/dist/{ConditionBuilder-CBl4Jioc.js → ConditionBuilder-BacjsaTh.js} +8 -10
- package/dist/{Container-B28GA5ym.js → Container-C5-66abH.js} +10 -12
- package/dist/{Control-BIDzpbuX.js → Control-krTArjIv.js} +6 -6
- package/dist/{Custom-6j0e0K6V.js → Custom-DawY4LgO.js} +6 -6
- package/dist/{Date-jzCX5NLQ.js → Date-C9Kib09x.js} +8 -8
- package/dist/{DateRange-ChlEtQuv.js → DateRange-D2lKQT_J.js} +6 -6
- package/dist/Dialog-oNlQLXnk.js +508 -0
- package/dist/{DiffEditor-fyqXITH0.js → DiffEditor-DY8XdtJS.js} +8 -10
- package/dist/{Divider-kXNT8Kpb.js → Divider-BgpLhaqf.js} +6 -6
- package/dist/{Drawer-DftiktlX.js → Drawer-DslUxLot.js} +24 -26
- package/dist/{DropDownButton-DQUNUwC3.js → DropDownButton-BIuAagmC.js} +9 -11
- package/dist/{Each-CgFfmNjU.js → Each-CA8gaJkL.js} +6 -6
- package/dist/{FieldSet-CpPow_4p.js → FieldSet-Cg1pE5gA.js} +4 -4
- package/dist/FieldSet-DVAa2H_Q.js +10 -0
- package/dist/{Flex-zWosUfSI.js → Flex-Baz4bI9u.js} +6 -6
- package/dist/{Formula-Djn7fCCV.js → Formula-ABhgdx_Q.js} +6 -6
- package/dist/{Grid2D-C79HuAFZ.js → Grid2D-DmdOVnhu.js} +8 -8
- package/dist/{GridNav-CE6lQbai.js → GridNav-lHAunT1M.js} +8 -10
- package/dist/{Group-kIPmyKmJ.js → Group-7sGnjMli.js} +13 -13
- package/dist/HBox-DxchKWfv.js +7 -0
- package/dist/{HBox-DEkb4cam.js → HBox-s88aG83B.js} +4 -4
- package/dist/{Hidden-DeRVSV3K.js → Hidden-BrTWoL8d.js} +6 -6
- package/dist/{IFrame-9oEnVjDw.js → IFrame-DaZ1v2-9.js} +6 -6
- package/dist/{Icon-CLZR3aiB.js → Icon-DNbdrsn8.js} +8 -10
- package/dist/{IconPicker-eyVR_kSQ.js → IconPicker-DqNlu5Zd.js} +13 -15
- package/dist/{IconSelect-CX-y4dt9.js → IconSelect-CvBITEcy.js} +9 -11
- package/dist/{IconSelectStore-6_CnklYA.js → IconSelectStore-CTqJPujB.js} +2 -2
- package/dist/{Image-Ba6YDbFB.js → Image-BBs8tnny.js} +11 -11
- package/dist/Image-DM9_Ii2b.js +9 -0
- package/dist/{Images-C_0GsHXi.js → Images-cRmH380W.js} +9 -11
- package/dist/{InputArray-DNhgr7Im.js → InputArray-Dov-RBrP.js} +9 -11
- package/dist/{InputCity-D-mfLobT.js → InputCity-owVpsIaD.js} +10 -12
- package/dist/{InputColor-DJRDQXkw.js → InputColor-DhVJhPp6.js} +8 -8
- package/dist/{InputDate-CgSiKBtx.js → InputDate-DLOwHbwT.js} +9 -11
- package/dist/InputDate-DWaIvnAp.js +292 -0
- package/dist/InputDateRange-CnGNwIFe.js +10 -0
- package/dist/InputDateRange-Diqw3JLp.js +170 -0
- package/dist/InputExcel-BjWNYvnN.js +427 -0
- package/dist/{InputFile-De-y47_A.js → InputFile-89BOwWJE.js} +31 -32
- package/dist/InputFile-DOym0HDc.js +10 -0
- package/dist/{InputFormula-BQ_TLuJU.js → InputFormula-CV5j31Ow.js} +8 -10
- package/dist/{InputGroup-CSy_Oi7L.js → InputGroup-C7O2ba0g.js} +6 -6
- package/dist/InputImage-BF7DAF8L.js +12 -0
- package/dist/{InputImage-Dk5CE1jT.js → InputImage-DcsVQf7c.js} +16 -17
- package/dist/{InputMonthRange-DU8TlVfr.js → InputMonthRange-BjD3hmwp.js} +10 -12
- package/dist/InputNumber-DKMOkba-.js +255 -0
- package/dist/{InputQuarterRange-CAkb2TQ0.js → InputQuarterRange-DZKnkZ_s.js} +10 -12
- package/dist/{InputRange-_k9JA4Ez.js → InputRange-DiHKf3tP.js} +9 -11
- package/dist/{InputRating-Cyewk6xh.js → InputRating-Bc8Od5b8.js} +9 -11
- package/dist/{InputRepeat-BhWIVzBa.js → InputRepeat-BhF5KVB2.js} +8 -10
- package/dist/InputRichText-BBBdDFA2.js +7 -0
- package/dist/InputRichText-CieHn0fO.js +198 -0
- package/dist/{InputSignature-D0qET_Np.js → InputSignature-CbfGjJlU.js} +8 -10
- package/dist/InputSubForm-BkM_3Rjg.js +236 -0
- package/dist/InputTable-CgOqC6Pc.js +900 -0
- package/dist/InputTag-35kCFM5X.js +464 -0
- package/dist/{InputText-CNHLKdgJ.js → InputText-BbEjGBtv.js} +59 -61
- package/dist/{InputTree-COEe1VLr.js → InputTree-DchkyMbL.js} +42 -44
- package/dist/{InputVerificationCode-B_Pt9Ykt.js → InputVerificationCode-kMxc8wW7.js} +8 -10
- package/dist/{InputYearRange-Aqp87FUU.js → InputYearRange-WJKJeloR.js} +10 -12
- package/dist/{JSONSchema-CNZcSSTE.js → JSONSchema-Bs0EWcHb.js} +8 -10
- package/dist/{JSONSchemaEditor-Dhu7duy-.js → JSONSchemaEditor-BoAK9FOL.js} +8 -10
- package/dist/{Json-2q0fMUg1.js → Json-DFjy1HRw.js} +7 -7
- package/dist/Link-nYGLB6gy.js +57 -0
- package/dist/List-D3183f4Z.js +14 -0
- package/dist/{List-xzPGRAx6.js → List-W3IAZR_6.js} +20 -21
- package/dist/{ListSelect-DmnMCqJK.js → ListSelect-DWGbHVxd.js} +7 -7
- package/dist/{LocationPicker-BXLzlI_f.js → LocationPicker-2G9yOxtm.js} +9 -11
- package/dist/{Log-DJEArjlY.js → Log-D6VU702y.js} +11 -13
- package/dist/{Mapping-DdrG3Ztj.js → Mapping-BATMD_xR.js} +12 -14
- package/dist/{Markdown-CuqQU4CA.js → Markdown-Baxbu8lV.js} +7 -7
- package/dist/{Markdown-DJBaZlcc.js → Markdown-Cg-xahnQ.js} +2 -2
- package/dist/{MatrixCheckboxes-f-7KmMUU.js → MatrixCheckboxes-B9hmFakW.js} +12 -14
- package/dist/{MultilineText-BmZvDSK_.js → MultilineText-0fMQhUCY.js} +8 -10
- package/dist/{Nav-5b-3S31N.js → Nav-DHIehZOG.js} +35 -37
- package/dist/NestedSelect-tQztH4PI.js +517 -0
- package/dist/{Number-cMwAUHkr.js → Number-Cndoqeyx.js} +6 -6
- package/dist/{OfficeViewer-CF4PyOxB.js → OfficeViewer-BVD_e5eZ.js} +10 -12
- package/dist/{Operation-CufqCpnG.js → Operation-DIv6n9dT.js} +6 -6
- package/dist/{Page-DCnma03q.js → Page-WoZtIIfk.js} +8 -10
- package/dist/{Pagination-UOrn4c0P.js → Pagination-DHvYHd_3.js} +8 -10
- package/dist/{PaginationWrapper-B-j0uFhf.js → PaginationWrapper-CtIJOXdw.js} +6 -6
- package/dist/{Panel-CdZuyRjC.js → Panel-Dt4KQrKa.js} +10 -12
- package/dist/{Password-DklNUFUB.js → Password-Wjfq7MSA.js} +8 -10
- package/dist/{Picker-5cxnpnwV.js → Picker-Cu52ukRg.js} +13 -15
- package/dist/{Plain-CPFHDxkg.js → Plain-DIlG753a.js} +6 -6
- package/dist/{Spinner-BSnTm3TK.js → PopUp-Bgkvnd4X.js} +356 -44
- package/dist/{Portlet-9v4hDYGt.js → Portlet-3Nh2cWeq.js} +8 -10
- package/dist/{Progress-CiHMdfZl.js → Progress-Dh2FTsky.js} +8 -10
- package/dist/{Property-BnEjeZVl.js → Property-DRSklFlT.js} +6 -6
- package/dist/{QRCode-BUFMyD3p.js → QRCode-BeUD-g8-.js} +10 -10
- package/dist/{Radio-ccx7KeaP.js → Radio-DrJJfNFI.js} +9 -11
- package/dist/{Radios-BlIx8v_G.js → Radios-CL3mreXa.js} +31 -33
- package/dist/{Remark-800xur3N.js → Remark-Cmo-r6dp.js} +4 -5
- package/dist/Remark-DuAbEmCW.js +9 -0
- package/dist/{RichText-CFya1zyE.js → RichText-jkERm8rC.js} +3 -3
- package/dist/{SearchBox-yVg7P7NW.js → SearchBox-CTxSMcV2.js} +8 -10
- package/dist/{Select-niHiH7nS.js → Select-D3LTuHwe.js} +20 -22
- package/dist/Service-CN2v_Z9z.js +347 -0
- package/dist/{Shape-DGcW-OLJ.js → Shape-Bi93tLCN.js} +8 -10
- package/dist/{Slider-C87MpqPU.js → Slider-C0jqeBGt.js} +8 -10
- package/dist/{SparkLine-Bc2KqhrP.js → SparkLine-Ce6-mdqG.js} +8 -10
- package/dist/{Spinner-3hXPV1FN.js → Spinner-DZDEct1A.js} +8 -10
- package/dist/{StaticHoc-DIk0DX4D.js → StaticHoc-BAdofX5w.js} +3 -3
- package/dist/Status-CDC2e2_o.js +93 -0
- package/dist/{Steps-DJRoyvU0.js → Steps-CGyTaaVI.js} +15 -17
- package/dist/{Switch-DJ1dcPVX.js → Switch-QA0l7uEg.js} +9 -11
- package/dist/{SwitchContainer-D3dNc78M.js → SwitchContainer-zXvaPFlG.js} +6 -6
- package/dist/Table-B8tWpiPU.js +13 -0
- package/dist/{Table-BbLdIOwp.js → Table-DzGbNFxu.js} +473 -474
- package/dist/Table2-CQZ3und9.js +1198 -0
- package/dist/{TableView-IVH5o169.js → TableView-nlFBhvL1.js} +10 -10
- package/dist/{Tabs-CC5ITl4F.js → Tabs-XleB-2Mc.js} +41 -43
- package/dist/{TabsTransfer-BoFtWaFp.js → TabsTransfer-CLLGXAkP.js} +24 -24
- package/dist/TabsTransfer-Cs_Rg0TU.js +11 -0
- package/dist/{TabsTransferPicker-DIlgk3ei.js → TabsTransferPicker-VA3Vlla-.js} +11 -13
- package/dist/{Tag-BQHuKVQ1.js → Tag-tr5RKBfl.js} +8 -10
- package/dist/{Tasks-6kY93Am4.js → Tasks-C2-ayUd-.js} +17 -19
- package/dist/{Textarea-Lhz3n5BX.js → Textarea-_KbIxQet.js} +9 -11
- package/dist/{Timeline-D2j_CiFR.js → Timeline-CctoJRQo.js} +8 -10
- package/dist/{TooltipWrapper-yKnGGKt7.js → TooltipWrapper-BGNr8U2K.js} +8 -10
- package/dist/Tpl-C28lpITc.js +152 -0
- package/dist/Transfer-Hjc9zR8W.js +288 -0
- package/dist/Transfer-tYS9Rx8U.js +10 -0
- package/dist/{TransferPicker-CoMThimo.js → TransferPicker-C7Wzyuct.js} +10 -12
- package/dist/{TreeSelect-DJCdycVn.js → TreeSelect-DAlWCEqs.js} +21 -23
- package/dist/{UUID-CyCEB9U4.js → UUID-B5UZnlxW.js} +6 -6
- package/dist/{UserSelect-DQzTWNEb.js → UserSelect-DqZZQB83.js} +20 -22
- package/dist/{VBox-jpFiQClW.js → VBox-C1OZZT8-.js} +6 -6
- package/dist/{Video-D_LLCdU7.js → Video-C1FRwLLL.js} +136 -136
- package/dist/{WebComponent-DiKfJl3_.js → WebComponent-g8Zc9zXp.js} +6 -6
- package/dist/{Wizard-B0z3wr80.js → Wizard-DkqCsGz-.js} +34 -36
- package/dist/{Words-B4Munegf.js → Words-DUuKqyIf.js} +16 -18
- package/dist/{Wrapper-HYrWbYb6.js → Wrapper-DmZ78GYG.js} +6 -6
- package/dist/{_createAssigner-Bm5lVWE-.js → _getTag-CWmGzIun.js} +41 -22
- package/dist/beneficiary-form-DCl2L16P.js +3773 -0
- package/dist/{client-Blt2XYIL.js → client-BEyTOBXT.js} +3 -3
- package/dist/crypto-js-DUFYRUag.js +3694 -0
- package/dist/{doc-CN4Z162V.js → doc-B-Im0Knb.js} +2 -2
- package/dist/{es-DK1r3YUJ.js → es-CsUppg1O.js} +3 -3
- package/dist/{esm-ChS65zTd.js → esm-Cj_BRpNI.js} +1246 -1190
- package/dist/{esm-DufZUL0t.js → esm-DEyK_c3W.js} +45 -35
- package/dist/{esm-CCV9JQyG.js → esm-SCCPj-cs.js} +3 -3
- package/dist/{function-Dbcnxw2H.js → function-CNJMA2ft.js} +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +5 -4
- package/dist/{isEqual-B1XgbWvm.js → isEqual-E2NjjS0_.js} +1 -1
- package/dist/{main-Dy7FH0sS.js → main-Bf7MY24z.js} +2 -2
- package/dist/mi18n-react.esm-y-nzmW0A.js +1138 -0
- package/dist/{objectSpread2-Dh0ABAXt.js → objectSpread2-smpSKONV.js} +2 -2
- package/dist/{omitBy-BBeQc7XG.js → omitBy-CD5n2TA7.js} +3 -3
- package/dist/{papaparse.min-ChqWm6yK.js → papaparse.min-3xa9r8Qi.js} +1 -1
- package/dist/{react-CHA_DGKo.js → react-RxxVsDMo.js} +1 -1
- package/dist/{react-cropper.es-O79UQPZ6.js → react-cropper.es-anJ2KE7h.js} +2 -2
- package/dist/{react-dom-tGNlN-2_.js → react-dom-D1mxcNoQ.js} +2 -2
- package/dist/react-g40aymqL.js +2 -0
- package/dist/xor-D-ggRBpm.js +20 -0
- package/package.json +13 -9
- package/dist/Action-BD84dQm7.js +0 -12
- package/dist/App-BjMDDfGp.js +0 -215
- package/dist/ButtonGroupSelect-Cxk8s81t.js +0 -8
- package/dist/Card-DP8rtHME.js +0 -16
- package/dist/Cards-DmOZWmYb.js +0 -487
- package/dist/Checkbox-DRgpdqR5.js +0 -12
- package/dist/CityDB-De7mzIWs.js +0 -3912
- package/dist/Collapse-DuyoxLtz.js +0 -11
- package/dist/ColumnToggler-DwURF6Gb.js +0 -12
- package/dist/Combo-mV4e8GoD.js +0 -11
- package/dist/Dialog-BAyLX0mi.js +0 -510
- package/dist/FieldSet-CTGWoAvC.js +0 -12
- package/dist/HBox-DdghBtxG.js +0 -7
- package/dist/Image-DYN6XwCv.js +0 -11
- package/dist/Input-CCDZqV8p.js +0 -52
- package/dist/InputDate-DSHN3zU4.js +0 -292
- package/dist/InputDateRange-CbpsnaCe.js +0 -12
- package/dist/InputDateRange-D6ELYD-x.js +0 -170
- package/dist/InputExcel-DjBIVGLo.js +0 -429
- package/dist/InputFile-b23f0dU0.js +0 -12
- package/dist/InputImage-DAUcgoKE.js +0 -14
- package/dist/InputNumber-p2UxlJX6.js +0 -257
- package/dist/InputRichText-C0NpxT6H.js +0 -7
- package/dist/InputRichText-CI2mXkzF.js +0 -198
- package/dist/InputSubForm-BtYTSrB4.js +0 -238
- package/dist/InputTable-CGMRFZUr.js +0 -902
- package/dist/InputTag-DXvCPL8J.js +0 -466
- package/dist/Link-B8iRSer9.js +0 -59
- package/dist/List-BKMt5KwT.js +0 -16
- package/dist/NestedSelect-CHnw2quX.js +0 -519
- package/dist/PdfViewer-BjkhimjY.js +0 -12607
- package/dist/PdfViewer-CkLbk1Th.js +0 -175
- package/dist/PopUp-reEZw5g2.js +0 -320
- package/dist/Remark-Df6vguZu.js +0 -11
- package/dist/Service-DIFAk9JU.js +0 -349
- package/dist/Status-BWasOOK9.js +0 -95
- package/dist/Table-BaCrZbR5.js +0 -15
- package/dist/Table2-MEQHOl_4.js +0 -1200
- package/dist/TabsTransfer-BXtj0vE-.js +0 -13
- package/dist/Tinymce-k7uU44j9.js +0 -63587
- package/dist/Tpl-C8SFSbv-.js +0 -154
- package/dist/Transfer-BDiet-S3.js +0 -12
- package/dist/Transfer-CoTV9nws.js +0 -288
- package/dist/__vite-browser-external-C1LsZvBw.js +0 -5
- package/dist/abap-CvDIJoq4.js +0 -122
- package/dist/apex-DJH2mRfT.js +0 -170
- package/dist/azcli-ChomlZy5.js +0 -53
- package/dist/bat-CmdEL5vQ.js +0 -123
- package/dist/beneficiary-form-DN5LSPin.js +0 -2130
- package/dist/bicep-CwtEaRi-.js +0 -221
- package/dist/bmap-BGH_bIhJ.js +0 -163
- package/dist/cameligo-mvwpGYSL.js +0 -189
- package/dist/clojure-DWgwR_x3.js +0 -146
- package/dist/codemirror-10K4F0d6.js +0 -5607
- package/dist/codemirror-CVXFHKur.js +0 -2
- package/dist/coffee-1AL9EmdD.js +0 -260
- package/dist/cpp-BAX9fjE6.js +0 -240
- package/dist/csharp-CFXvbZbk.js +0 -260
- package/dist/csp-DkenAN-1.js +0 -46
- package/dist/css-D0qiRMVz.js +0 -284
- package/dist/cssMode-31Qcr_YV.js +0 -1388
- package/dist/dart-CDGtSHr2.js +0 -236
- package/dist/dataTool-8juTlvT3.js +0 -127
- package/dist/dockerfile-CSknzC0F.js +0 -191
- package/dist/echarts-DYeQ7frz.js +0 -2
- package/dist/echarts-ioNbC02k.js +0 -40645
- package/dist/echarts-stat-DZqjnVuR.js +0 -758
- package/dist/echarts-wordcloud-CUlo6Bhd.js +0 -41196
- package/dist/ecl-HK8mA97g.js +0 -226
- package/dist/editor.api-DJvvWnxi.js +0 -52799
- package/dist/editor.main-B4dfb_aD.js +0 -25006
- package/dist/elixir-D9yfDUre.js +0 -502
- package/dist/exceljs.min-nuhAzUL9.js +0 -32053
- package/dist/flow9-kyy_2-D4.js +0 -176
- package/dist/fsharp-QJQUokTY.js +0 -147
- package/dist/go-Cq-NPpAC.js +0 -165
- package/dist/graphql-DSnjTp0n.js +0 -174
- package/dist/handlebars-sJdKcL8O.js +0 -411
- package/dist/hcl-RK8WN3Ur.js +0 -219
- package/dist/hls-DLPj3KFH.js +0 -11744
- package/dist/html-KRygywuV.js +0 -324
- package/dist/htmlMode-DNoCXiyS.js +0 -1315
- package/dist/htmlmixed-C2cKuIw-.js +0 -752
- package/dist/ini-CEgsI8Mb.js +0 -94
- package/dist/java-BBQ3kncu.js +0 -173
- package/dist/javascript-CWijH8KU.js +0 -3
- package/dist/javascript-CpPvjWyU.js +0 -20
- package/dist/javascript-z3V1O3DL.js +0 -644
- package/dist/jsonMode-DZXtN-nK.js +0 -1732
- package/dist/jsx-runtime-Bj1H-jyL.js +0 -483
- package/dist/julia-Cv1I7dyz.js +0 -414
- package/dist/kotlin-BYSXt0U8.js +0 -183
- package/dist/less-DqJSumRC.js +0 -242
- package/dist/lexon-DetymABe.js +0 -185
- package/dist/liquid-DQQKpMld.js +0 -198
- package/dist/lua-DAbeykJS.js +0 -200
- package/dist/m3-CXUxQdad.js +0 -193
- package/dist/markdown-qE4QfNoY.js +0 -262
- package/dist/mi18n-react.esm-m9XBudzT.js +0 -1131
- package/dist/mips-2NqZOK30.js +0 -128
- package/dist/monaco-editor-core-CDGnFY-Z.js +0 -0
- package/dist/monaco-editor-core-CK7t9yq3.js +0 -0
- package/dist/monaco-editor-core-CxtO33k4.js +0 -0
- package/dist/monaco-editor-core-D11wn0Vr.js +0 -0
- package/dist/monaco.contribution-Cr8Vbcwg.js +0 -143
- package/dist/mpegts-BTpx1WVy.js +0 -8265
- package/dist/msdax-DE7X9pbi.js +0 -156
- package/dist/multiplex-CsNuufkn.js +0 -87
- package/dist/mysql-AWNf5THv.js +0 -167
- package/dist/objective-c-BGe6xR-Y.js +0 -144
- package/dist/pascal-D-y7r-4l.js +0 -176
- package/dist/pascaligo-qL5heFeC.js +0 -201
- package/dist/perl-DzKQDF4r.js +0 -316
- package/dist/pgsql-Ci2RUqhT.js +0 -158
- package/dist/php-PNEASzvZ.js +0 -471
- package/dist/pla-CXNCf5pc.js +0 -146
- package/dist/placeholder-C7cTLPU8.js +0 -51
- package/dist/postiats-DkKv8Z8y.js +0 -504
- package/dist/powerquery-D97XJ_Ls.js +0 -190
- package/dist/powershell-BenhISae.js +0 -211
- package/dist/protobuf-DDlDyjNL.js +0 -655
- package/dist/pug-BPLU_T3S.js +0 -300
- package/dist/python-DV8AFCx6.js +0 -193
- package/dist/qsharp-BbxHsJRN.js +0 -126
- package/dist/r-C_bVYF4d.js +0 -189
- package/dist/razor-DJab8AU0.js +0 -518
- package/dist/react-C8icmfXK.js +0 -2
- package/dist/redis-24lhqnEF.js +0 -123
- package/dist/redshift-BA-vs3-a.js +0 -158
- package/dist/restructuredtext-DZvLRfxd.js +0 -287
- package/dist/ruby-DIOUuTge.js +0 -527
- package/dist/rust-DEGENBgy.js +0 -178
- package/dist/sb-YqQRy1Aj.js +0 -143
- package/dist/scala-CJaYjW7T.js +0 -551
- package/dist/scheme-Behwu3d2.js +0 -170
- package/dist/scss-DWPywJva.js +0 -417
- package/dist/shell-BuaejZUe.js +0 -220
- package/dist/simple-XEv7ggwt.js +0 -159
- package/dist/solidity-DwtWGZKw.js +0 -147
- package/dist/sophia-B_rmISO8.js +0 -147
- package/dist/sparql-4CH2wq-R.js +0 -124
- package/dist/sql-KrQAp8jb.js +0 -171
- package/dist/st-BdgF2Ved.js +0 -476
- package/dist/swift-DPhf5yMV.js +0 -227
- package/dist/systemverilog-D-r12h5g.js +0 -298
- package/dist/tcl-B1JtbBR-.js +0 -223
- package/dist/tsMode-DN-aeyWM.js +0 -988
- package/dist/twig-DKeEvrnL.js +0 -388
- package/dist/typescript-BPg7EmrG.js +0 -255
- package/dist/typescript-eArQtZ8F.js +0 -4
- package/dist/vb-cBZKS6-O.js +0 -260
- package/dist/xlsx-C-JaSvuM.js +0 -19361
- package/dist/xml-DlMwoWd-.js +0 -129
- package/dist/xor-D1jDwNN7.js +0 -20
- package/dist/yaml-ByFeqOGo.js +0 -216
- /package/dist/{IconPickerIcons-BjNW_Tas.js → IconPickerIcons-dHFcDHrv.js} +0 -0
- /package/dist/{chunk-BztcrWZM.js → rolldown-runtime-DwW8Tac2.js} +0 -0
|
@@ -1,2130 +0,0 @@
|
|
|
1
|
-
import { s as __toESM, t as __commonJSMin } from "./chunk-BztcrWZM.js";
|
|
2
|
-
import { d as REFRESH_TOKEN_KEY, l as ACCESS_TOKEN_KEY, n as useTranslate, t as Mi18nProvider } from "./mi18n-react.esm-m9XBudzT.js";
|
|
3
|
-
import { t as require_react } from "./react-CHA_DGKo.js";
|
|
4
|
-
import { a as __generator, c as __rest, i as __extends, n as __awaiter, o as __metadata, r as __decorate, s as __read, t as __assign, u as __spreadArray } from "./tslib.es6-DJiA3ePV.js";
|
|
5
|
-
import "./function-Dbcnxw2H.js";
|
|
6
|
-
import { t as require_isEqual } from "./isEqual-B1XgbWvm.js";
|
|
7
|
-
import { $n as getLevelFromClassName, A as registerCustomVendor, At as require_pick, Br as ucFirst, E as buildStyle, F as FormItem, J as CustomStyle, Pi as resolveVariableAndFilter, Pn as autobind, Q as themedLazyComponent, Qr as isPureVariable, Z as setThemeClassName, at as addSchemaFilter, bn as require_omit, br as isObjectShallowModified, di as isObject, gt as resolveEventData, it as Renderer, lr as guid$1, lt as registerRenderer, ot as extendDefaultEnv, q as FormRenderer, r as addRootWrapper, t as render, tt as themeable, ui as extendObject, yi as getVariable } from "./esm-DufZUL0t.js";
|
|
8
|
-
import "./react-dom-tGNlN-2_.js";
|
|
9
|
-
import { It as alert, Lt as confirm, Rt as setRenderSchemaFn, at as toast, bt as MonacoEditor, d as ImageGallery$1, it as Toast } from "./esm-ChS65zTd.js";
|
|
10
|
-
import "./PopUp-reEZw5g2.js";
|
|
11
|
-
import { r as _baseMerge_default, t as _createAssigner_default } from "./_createAssigner-Bm5lVWE-.js";
|
|
12
|
-
import { n as Spinner$1 } from "./Spinner-BSnTm3TK.js";
|
|
13
|
-
import { t as require_jsx_runtime } from "./jsx-runtime-Bj1H-jyL.js";
|
|
14
|
-
import "./Input-CCDZqV8p.js";
|
|
15
|
-
import "./Action-CErPyqhd.js";
|
|
16
|
-
import "./Remark-800xur3N.js";
|
|
17
|
-
import "./StaticHoc-DIk0DX4D.js";
|
|
18
|
-
import { n as ButtonGroupControlRenderer } from "./ButtonGroupSelect-7uctYLWK.js";
|
|
19
|
-
import { a as HocCopyable, i as TableCell, o as HocPopOver, s as HocQuickEdit } from "./Table-BbLdIOwp.js";
|
|
20
|
-
import "./xor-D1jDwNN7.js";
|
|
21
|
-
import "./ColumnToggler-B13Y3e57.js";
|
|
22
|
-
import { n as CardRenderer } from "./Card-BcxXrhE8.js";
|
|
23
|
-
import "./Image-Ba6YDbFB.js";
|
|
24
|
-
import "./Collapse-Bd9jyO8r.js";
|
|
25
|
-
import { n as CheckboxControlRenderer } from "./Checkbox-Cf_mVMHF.js";
|
|
26
|
-
import { n as FieldSetRenderer } from "./FieldSet-CpPow_4p.js";
|
|
27
|
-
import "./IconSelectStore-6_CnklYA.js";
|
|
28
|
-
import "./es-DK1r3YUJ.js";
|
|
29
|
-
import { n as FileControlRenderer } from "./InputFile-De-y47_A.js";
|
|
30
|
-
import { n as ImageControlRenderer } from "./InputImage-Dk5CE1jT.js";
|
|
31
|
-
import { n as RichTextControlRenderer } from "./InputRichText-CI2mXkzF.js";
|
|
32
|
-
import { n as HBoxRenderer } from "./HBox-DEkb4cam.js";
|
|
33
|
-
import { i as ListItemRenderer } from "./List-xzPGRAx6.js";
|
|
34
|
-
var import_react_fast_compare = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((e, A) => {
|
|
35
|
-
var j = typeof Element < "u", M = typeof Map == "function", N = typeof Set == "function", P = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
|
|
36
|
-
function F(e, A) {
|
|
37
|
-
if (e === A) return !0;
|
|
38
|
-
if (e && A && typeof e == "object" && typeof A == "object") {
|
|
39
|
-
if (e.constructor !== A.constructor) return !1;
|
|
40
|
-
var I, L, R;
|
|
41
|
-
if (Array.isArray(e)) {
|
|
42
|
-
if (I = e.length, I != A.length) return !1;
|
|
43
|
-
for (L = I; L-- !== 0;) if (!F(e[L], A[L])) return !1;
|
|
44
|
-
return !0;
|
|
45
|
-
}
|
|
46
|
-
var z;
|
|
47
|
-
if (M && e instanceof Map && A instanceof Map) {
|
|
48
|
-
if (e.size !== A.size) return !1;
|
|
49
|
-
for (z = e.entries(); !(L = z.next()).done;) if (!A.has(L.value[0])) return !1;
|
|
50
|
-
for (z = e.entries(); !(L = z.next()).done;) if (!F(L.value[1], A.get(L.value[0]))) return !1;
|
|
51
|
-
return !0;
|
|
52
|
-
}
|
|
53
|
-
if (N && e instanceof Set && A instanceof Set) {
|
|
54
|
-
if (e.size !== A.size) return !1;
|
|
55
|
-
for (z = e.entries(); !(L = z.next()).done;) if (!A.has(L.value[0])) return !1;
|
|
56
|
-
return !0;
|
|
57
|
-
}
|
|
58
|
-
if (P && ArrayBuffer.isView(e) && ArrayBuffer.isView(A)) {
|
|
59
|
-
if (I = e.length, I != A.length) return !1;
|
|
60
|
-
for (L = I; L-- !== 0;) if (e[L] !== A[L]) return !1;
|
|
61
|
-
return !0;
|
|
62
|
-
}
|
|
63
|
-
if (e.constructor === RegExp) return e.source === A.source && e.flags === A.flags;
|
|
64
|
-
if (e.valueOf !== Object.prototype.valueOf && typeof e.valueOf == "function" && typeof A.valueOf == "function") return e.valueOf() === A.valueOf();
|
|
65
|
-
if (e.toString !== Object.prototype.toString && typeof e.toString == "function" && typeof A.toString == "function") return e.toString() === A.toString();
|
|
66
|
-
if (R = Object.keys(e), I = R.length, I !== Object.keys(A).length) return !1;
|
|
67
|
-
for (L = I; L-- !== 0;) if (!Object.prototype.hasOwnProperty.call(A, R[L])) return !1;
|
|
68
|
-
if (j && e instanceof Element) return !1;
|
|
69
|
-
for (L = I; L-- !== 0;) if (!((R[L] === "_owner" || R[L] === "__v" || R[L] === "__o") && e.$$typeof) && !F(e[R[L]], A[R[L]])) return !1;
|
|
70
|
-
return !0;
|
|
71
|
-
}
|
|
72
|
-
return e !== e && A !== A;
|
|
73
|
-
}
|
|
74
|
-
A.exports = function(e, A) {
|
|
75
|
-
try {
|
|
76
|
-
return F(e, A);
|
|
77
|
-
} catch (e) {
|
|
78
|
-
if ((e.message || "").match(/stack|recursion/i)) return console.warn("react-fast-compare cannot handle circular refs"), !1;
|
|
79
|
-
throw e;
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
})))()), depsEqual = function(e, A) {
|
|
83
|
-
return e === void 0 && (e = []), A === void 0 && (A = []), (0, import_react_fast_compare.default)(e, A);
|
|
84
|
-
}, import_react = /* @__PURE__ */ __toESM(require_react()), useDeepCompareEffect_default = function(e) {
|
|
85
|
-
return function(A, j) {
|
|
86
|
-
var M = (0, import_react.useRef)(void 0), N = (0, import_react.useRef)(0);
|
|
87
|
-
(j === void 0 || !depsEqual(j, M.current)) && (N.current += 1), M.current = j, e(A, [N.current]);
|
|
88
|
-
};
|
|
89
|
-
}(import_react.useEffect);
|
|
90
|
-
extendDefaultEnv({
|
|
91
|
-
alert,
|
|
92
|
-
confirm,
|
|
93
|
-
notify: function(e, A, j) {
|
|
94
|
-
return toast[e] ? toast[e](A, j) : console.warn("[Notify]", e, A);
|
|
95
|
-
}
|
|
96
|
-
}), setRenderSchemaFn(function(e, A, j, M, N) {
|
|
97
|
-
return render({
|
|
98
|
-
name: "form",
|
|
99
|
-
type: "form",
|
|
100
|
-
wrapWithPanel: !1,
|
|
101
|
-
mode: "horizontal",
|
|
102
|
-
controls: e,
|
|
103
|
-
messages: { validateFailed: "" }
|
|
104
|
-
}, {
|
|
105
|
-
data: A,
|
|
106
|
-
onFinished: j,
|
|
107
|
-
scopeRef: M,
|
|
108
|
-
theme: N
|
|
109
|
-
}, { session: "prompt" });
|
|
110
|
-
}), addRootWrapper(function(e) {
|
|
111
|
-
var A = e.env, j = e.children;
|
|
112
|
-
return import_react.createElement(ImageGallery$1, { modalContainer: A.getModalContainer }, j);
|
|
113
|
-
});
|
|
114
|
-
var SimpleSpinner = themeable(function(e) {
|
|
115
|
-
var A = e.classnames;
|
|
116
|
-
return import_react.createElement("div", {
|
|
117
|
-
"data-testid": "spinner",
|
|
118
|
-
className: A("Spinner", "in", e.className)
|
|
119
|
-
}, import_react.createElement("div", { className: A("Spinner-icon", "Spinner-icon--default", "Spinner-icon--sm", e.spinnerClassName) }));
|
|
120
|
-
});
|
|
121
|
-
themedLazyComponent.defaultProps.placeholder = import_react.createElement(SimpleSpinner, null);
|
|
122
|
-
var import_omit = /* @__PURE__ */ __toESM(require_omit());
|
|
123
|
-
(function(e) {
|
|
124
|
-
__extends(A, e);
|
|
125
|
-
function A() {
|
|
126
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
127
|
-
}
|
|
128
|
-
return A = __decorate([FormItem({
|
|
129
|
-
test: /(^|\/)static(\-[^\/]+)?$/,
|
|
130
|
-
weight: -90,
|
|
131
|
-
strictMode: !1,
|
|
132
|
-
sizeMutable: !1,
|
|
133
|
-
name: "static"
|
|
134
|
-
})], A), A;
|
|
135
|
-
})(function(e) {
|
|
136
|
-
__extends(A, e);
|
|
137
|
-
function A(A) {
|
|
138
|
-
var j = e.call(this, A) || this;
|
|
139
|
-
return j.handleQuickChange = j.handleQuickChange.bind(j), j;
|
|
140
|
-
}
|
|
141
|
-
return A.prototype.handleQuickChange = function(e, A, j, M) {
|
|
142
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
143
|
-
var j, N, P, F;
|
|
144
|
-
return __generator(this, function(I) {
|
|
145
|
-
switch (I.label) {
|
|
146
|
-
case 0: return j = this.props, N = j.onBulkChange, P = j.onAction, F = j.data, A && A.api ? [4, P(null, {
|
|
147
|
-
actionType: "ajax",
|
|
148
|
-
api: A.api,
|
|
149
|
-
reload: M?.reload
|
|
150
|
-
}, extendObject(F, e), !0)] : [3, 2];
|
|
151
|
-
case 1: I.sent(), I.label = 2;
|
|
152
|
-
case 2: return N && N(e, A === !0), [2];
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
});
|
|
156
|
-
}, A.prototype.render = function() {
|
|
157
|
-
var e, A = this.props, j = A.className;
|
|
158
|
-
A.style;
|
|
159
|
-
var M = A.value, N = A.label, P = A.type, F = A.render;
|
|
160
|
-
A.children;
|
|
161
|
-
var I = A.data, R = A.classnames, z = A.name, B = A.disabled, V = A.$schema, H = A.defaultValue, W = A.borderMode, G = __rest(A, [
|
|
162
|
-
"className",
|
|
163
|
-
"style",
|
|
164
|
-
"value",
|
|
165
|
-
"label",
|
|
166
|
-
"type",
|
|
167
|
-
"render",
|
|
168
|
-
"children",
|
|
169
|
-
"data",
|
|
170
|
-
"classnames",
|
|
171
|
-
"name",
|
|
172
|
-
"disabled",
|
|
173
|
-
"$schema",
|
|
174
|
-
"defaultValue",
|
|
175
|
-
"borderMode"
|
|
176
|
-
]), K = /^static/.test(P) ? P.substring(7) || (G.tpl ? "tpl" : "plain") : P, q = __assign(__assign({
|
|
177
|
-
label: N,
|
|
178
|
-
name: z
|
|
179
|
-
}, V), {
|
|
180
|
-
style: V.innerStyle,
|
|
181
|
-
type: K
|
|
182
|
-
});
|
|
183
|
-
return import_react.createElement("div", { className: R("Form-static", (e = {}, e[`Form-static--border${ucFirst(W)}`] = W, e)) }, import_react.createElement(StaticFieldRenderer, __assign({}, __assign(__assign({}, G), {
|
|
184
|
-
name: z,
|
|
185
|
-
render: F,
|
|
186
|
-
field: q,
|
|
187
|
-
value: M === H ? void 0 : M,
|
|
188
|
-
className: j,
|
|
189
|
-
onQuickChange: this.handleQuickChange,
|
|
190
|
-
data: I,
|
|
191
|
-
disabled: B,
|
|
192
|
-
classnames: R
|
|
193
|
-
}))));
|
|
194
|
-
}, A.defaultProps = { placeholder: "-" }, A;
|
|
195
|
-
}(import_react.Component));
|
|
196
|
-
var StaticFieldRenderer = function(e) {
|
|
197
|
-
__extends(A, e);
|
|
198
|
-
function A() {
|
|
199
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
200
|
-
}
|
|
201
|
-
return A.prototype.render = function() {
|
|
202
|
-
var e = this.props;
|
|
203
|
-
e.type;
|
|
204
|
-
var A = e.className, j = e.render, M = e.style, N = e.wrapperComponent, P = e.contentsOnly;
|
|
205
|
-
e.labelClassName;
|
|
206
|
-
var F = e.value, I = e.data, R = e.children, z = e.width, B = e.inputClassName;
|
|
207
|
-
e.label;
|
|
208
|
-
var V = e.tabIndex, H = e.onKeyUp, W = e.field, G = __rest(e, [
|
|
209
|
-
"type",
|
|
210
|
-
"className",
|
|
211
|
-
"render",
|
|
212
|
-
"style",
|
|
213
|
-
"wrapperComponent",
|
|
214
|
-
"contentsOnly",
|
|
215
|
-
"labelClassName",
|
|
216
|
-
"value",
|
|
217
|
-
"data",
|
|
218
|
-
"children",
|
|
219
|
-
"width",
|
|
220
|
-
"inputClassName",
|
|
221
|
-
"label",
|
|
222
|
-
"tabIndex",
|
|
223
|
-
"onKeyUp",
|
|
224
|
-
"field"
|
|
225
|
-
]), K = __assign(__assign({}, W), {
|
|
226
|
-
className: B,
|
|
227
|
-
type: W && W.type || "plain"
|
|
228
|
-
}), q = R || j("field", K, __assign(__assign({}, (0, import_omit.default)(G, Object.keys(K))), {
|
|
229
|
-
value: F,
|
|
230
|
-
data: I
|
|
231
|
-
}));
|
|
232
|
-
return z && (M ||= {}, M.width = M.width || z), P ? q : (N ||= "div", import_react.createElement(N, {
|
|
233
|
-
className: A,
|
|
234
|
-
tabIndex: V,
|
|
235
|
-
onKeyUp: H
|
|
236
|
-
}, q));
|
|
237
|
-
}, A.defaultProps = __assign(__assign({}, TableCell.defaultProps), { wrapperComponent: "div" }), A = __decorate([
|
|
238
|
-
HocQuickEdit(),
|
|
239
|
-
HocPopOver({ position: "right" }),
|
|
240
|
-
HocCopyable()
|
|
241
|
-
], A), A;
|
|
242
|
-
}(TableCell), EditorControl = function(e) {
|
|
243
|
-
__extends(A, e);
|
|
244
|
-
function A(A) {
|
|
245
|
-
var j = e.call(this, A) || this;
|
|
246
|
-
return j.state = { focused: !1 }, j.toDispose = [], j.divRef = import_react.createRef(), j.prevHeight = 0, j.handleFocus = j.handleFocus.bind(j), j.handleBlur = j.handleBlur.bind(j), j.handleChange = j.handleChange.bind(j), j.handleEditorMounted = j.handleEditorMounted.bind(j), j;
|
|
247
|
-
}
|
|
248
|
-
return A.prototype.componentWillUnmount = function() {
|
|
249
|
-
this.toDispose.forEach(function(e) {
|
|
250
|
-
return e();
|
|
251
|
-
});
|
|
252
|
-
}, A.prototype.doAction = function(e, A, j, M) {
|
|
253
|
-
j === void 0 && (j = !1);
|
|
254
|
-
var N = e?.actionType, P = this.props, F = P.onChange, I = P.resetValue, L = P.formStore, R = P.store, z = P.name;
|
|
255
|
-
N === "clear" ? F("") : N === "reset" ? F(getVariable(L?.pristine ?? R?.pristine, z) ?? I ?? "") : N === "focus" && this.focus();
|
|
256
|
-
}, A.prototype.focus = function() {
|
|
257
|
-
var e;
|
|
258
|
-
this.editor.focus(), this.setState({ focused: !0 });
|
|
259
|
-
var A = this.editor?.getPosition();
|
|
260
|
-
(e = this.editor) == null || e.setPosition(A);
|
|
261
|
-
}, A.prototype.handleFocus = function(e) {
|
|
262
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
263
|
-
var A, j, M, N, P;
|
|
264
|
-
return __generator(this, function(F) {
|
|
265
|
-
switch (F.label) {
|
|
266
|
-
case 0: return A = this.props, j = A.dispatchEvent, M = A.value, N = A.onFocus, this.setState({ focused: !0 }), [4, j("focus", resolveEventData(this.props, { value: M }))];
|
|
267
|
-
case 1: return P = F.sent(), P?.prevented || N?.(e), [2];
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
});
|
|
271
|
-
}, A.prototype.handleBlur = function(e) {
|
|
272
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
273
|
-
var A, j, M, N, P;
|
|
274
|
-
return __generator(this, function(F) {
|
|
275
|
-
switch (F.label) {
|
|
276
|
-
case 0: return A = this.props, j = A.dispatchEvent, M = A.value, N = A.onBlur, this.setState({ focused: !1 }), [4, j("blur", resolveEventData(this.props, { value: M }))];
|
|
277
|
-
case 1: return P = F.sent(), P?.prevented || N?.(e), [2];
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
}, A.prototype.handleChange = function(e) {
|
|
282
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
283
|
-
var A, j, M, N;
|
|
284
|
-
return __generator(this, function(P) {
|
|
285
|
-
switch (P.label) {
|
|
286
|
-
case 0: return A = this.props, j = A.dispatchEvent, M = A.onChange, [4, j("change", resolveEventData(this.props, { value: e }))];
|
|
287
|
-
case 1: return N = P.sent(), N?.prevented || M?.(e), [2];
|
|
288
|
-
}
|
|
289
|
-
});
|
|
290
|
-
});
|
|
291
|
-
}, A.prototype.handleEditorMounted = function(e, A) {
|
|
292
|
-
var j = this;
|
|
293
|
-
if (this.editor = e, this.toDispose.push(e.onDidChangeModelDecorations(function() {
|
|
294
|
-
j.updateContainerSize(e, A), requestAnimationFrame(j.updateContainerSize.bind(j, e, A));
|
|
295
|
-
}).dispose), this.props.editorDidMount) {
|
|
296
|
-
var M = this.props.editorDidMount;
|
|
297
|
-
typeof M == "string" && (M = Function("editor", "monaco", M));
|
|
298
|
-
var N = M(e, A);
|
|
299
|
-
typeof N == "function" && this.toDispose.push(N);
|
|
300
|
-
}
|
|
301
|
-
}, A.prototype.updateContainerSize = function(e, A) {
|
|
302
|
-
if (this.divRef.current) {
|
|
303
|
-
var j = e.getOption(A.editor.EditorOption.lineHeight), M = e.getModel()?.getLineCount() || 1, N = e.getTopForLineNumber(M + 1) + j;
|
|
304
|
-
this.prevHeight !== N && (this.prevHeight = N, this.divRef.current.style.height = `${N}px`, e.layout());
|
|
305
|
-
}
|
|
306
|
-
}, A.prototype.render = function() {
|
|
307
|
-
var e, A = this.props, j = A.className;
|
|
308
|
-
A.style;
|
|
309
|
-
var M = A.classPrefix, N = A.classnames, P = A.value;
|
|
310
|
-
A.onChange;
|
|
311
|
-
var F = A.disabled, I = A.options, L = A.editorTheme, R = A.theme, z = A.size, B = A.data, V = A.allowFullscreen, H = A.placeholder, W = this.props.language, G = P;
|
|
312
|
-
return G && typeof G != "string" && (G = JSON.stringify(G, null, 2)), isPureVariable(W) && (W = resolveVariableAndFilter(W, B)), import_react.createElement("div", {
|
|
313
|
-
ref: this.divRef,
|
|
314
|
-
className: N("EditorControl", (e = { "is-focused": this.state.focused }, e[`EditorControl--${z}`] = z, e), j)
|
|
315
|
-
}, import_react.createElement(themedLazyComponent, {
|
|
316
|
-
classPrefix: M,
|
|
317
|
-
component: MonacoEditor,
|
|
318
|
-
allowFullscreen: V,
|
|
319
|
-
value: G,
|
|
320
|
-
onChange: this.handleChange,
|
|
321
|
-
disabled: F,
|
|
322
|
-
onFocus: this.handleFocus,
|
|
323
|
-
onBlur: this.handleBlur,
|
|
324
|
-
language: W,
|
|
325
|
-
editorTheme: L || (R === "dark" ? "vs-dark" : "vs"),
|
|
326
|
-
editorDidMount: this.handleEditorMounted,
|
|
327
|
-
childProps: { placeholder: H },
|
|
328
|
-
options: __assign(__assign({}, I), { readOnly: F })
|
|
329
|
-
}));
|
|
330
|
-
}, A.defaultProps = {
|
|
331
|
-
language: "javascript",
|
|
332
|
-
editorTheme: "",
|
|
333
|
-
allowFullscreen: !0,
|
|
334
|
-
options: {
|
|
335
|
-
automaticLayout: !0,
|
|
336
|
-
selectOnLineNumbers: !0,
|
|
337
|
-
scrollBeyondLastLine: !1,
|
|
338
|
-
folding: !0,
|
|
339
|
-
minimap: { enabled: !1 }
|
|
340
|
-
}
|
|
341
|
-
}, __decorate([
|
|
342
|
-
autobind,
|
|
343
|
-
__metadata("design:type", Function),
|
|
344
|
-
__metadata("design:paramtypes", [Object, Object]),
|
|
345
|
-
__metadata("design:returntype", void 0)
|
|
346
|
-
], A.prototype, "updateContainerSize", null), A;
|
|
347
|
-
}(import_react.Component);
|
|
348
|
-
(/* @__PURE__ */ "bat.c.coffeescript.cpp.csharp.css.dockerfile.fsharp.go.handlebars.html.ini.java.javascript.json.less.lua.markdown.msdax.objective-c.php.plaintext.postiats.powershell.pug.python.r.razor.ruby.sb.scss.sol.shell.sql.swift.typescript.vb.xml.yaml".split(".")).map(function(e) {
|
|
349
|
-
return function(A) {
|
|
350
|
-
__extends(j, A);
|
|
351
|
-
function j() {
|
|
352
|
-
return A !== null && A.apply(this, arguments) || this;
|
|
353
|
-
}
|
|
354
|
-
return j.lang = e, j.displayName = `${e[0].toUpperCase()}${e.substring(1)}EditorControlRenderer`, j.defaultProps = __assign(__assign({}, EditorControl.defaultProps), { language: e }), j = __decorate([FormItem({
|
|
355
|
-
type: `${e}-editor`,
|
|
356
|
-
sizeMutable: !1
|
|
357
|
-
})], j), j;
|
|
358
|
-
}(EditorControl);
|
|
359
|
-
}), (function(e) {
|
|
360
|
-
__extends(A, e);
|
|
361
|
-
function A() {
|
|
362
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
363
|
-
}
|
|
364
|
-
return A.defaultProps = __assign(__assign({}, EditorControl.defaultProps), { language: "javascript" }), A = __decorate([FormItem({
|
|
365
|
-
type: "js-editor",
|
|
366
|
-
sizeMutable: !1
|
|
367
|
-
})], A), A;
|
|
368
|
-
})(EditorControl), (function(e) {
|
|
369
|
-
__extends(A, e);
|
|
370
|
-
function A() {
|
|
371
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
372
|
-
}
|
|
373
|
-
return A.defaultProps = __assign(__assign({}, EditorControl.defaultProps), { language: "typescript" }), A = __decorate([FormItem({
|
|
374
|
-
type: "ts-editor",
|
|
375
|
-
sizeMutable: !1
|
|
376
|
-
})], A), A;
|
|
377
|
-
})(EditorControl), function(e) {
|
|
378
|
-
__extends(A, e);
|
|
379
|
-
function A() {
|
|
380
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
381
|
-
}
|
|
382
|
-
return A.defaultProps = __assign(__assign({}, EditorControl.defaultProps), { language: "javascript" }), A = __decorate([FormItem({
|
|
383
|
-
type: "editor",
|
|
384
|
-
sizeMutable: !1
|
|
385
|
-
})], A), A;
|
|
386
|
-
}(EditorControl);
|
|
387
|
-
var import_pick = /* @__PURE__ */ __toESM(require_pick()), ColProps = [
|
|
388
|
-
"lg",
|
|
389
|
-
"md",
|
|
390
|
-
"sm",
|
|
391
|
-
"xs"
|
|
392
|
-
];
|
|
393
|
-
function fromBsClass(e) {
|
|
394
|
-
return typeof e == "string" && e ? e.replace(/\bcol-(xs|sm|md|lg)-(\d+)\b/g, function(e, A, j) {
|
|
395
|
-
return `Grid-col--${A}${j}`;
|
|
396
|
-
}) : e;
|
|
397
|
-
}
|
|
398
|
-
function copProps2Class(e) {
|
|
399
|
-
var A = [];
|
|
400
|
-
return ColProps.forEach(function(j) {
|
|
401
|
-
return e && e[j] && A.push(`Grid-col--${j}${ucFirst(e[j])}`);
|
|
402
|
-
}), A.length || A.push("Grid-col--md"), A.join(" ");
|
|
403
|
-
}
|
|
404
|
-
var GridRenderer = function(e) {
|
|
405
|
-
__extends(A, e);
|
|
406
|
-
function A() {
|
|
407
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
408
|
-
}
|
|
409
|
-
return A = __decorate([Renderer({ type: "grid" })], A), A;
|
|
410
|
-
}(function(e) {
|
|
411
|
-
__extends(A, e);
|
|
412
|
-
function A() {
|
|
413
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
414
|
-
}
|
|
415
|
-
return A.prototype.renderChild = function(e, A, j, M) {
|
|
416
|
-
M === void 0 && (M = {});
|
|
417
|
-
var N = this.props, P = N.render, F = N.itemRender;
|
|
418
|
-
return F ? F(A, j, this.props) : P(e, A, M);
|
|
419
|
-
}, A.prototype.renderColumn = function(e, A, j) {
|
|
420
|
-
var M, N = (0, import_pick.default)(e, ColProps);
|
|
421
|
-
N = __assign({}, N);
|
|
422
|
-
var P = this.props, F = P.classnames, I = P.formMode, L = P.subFormMode, R = P.subFormHorizontal, z = P.formHorizontal;
|
|
423
|
-
P.translate;
|
|
424
|
-
var B = P.disabled, V = P.data, H = P.env, W = buildStyle(e.style, V), G = e.id, K = e.themeCss, q = e.wrapperCustomStyle;
|
|
425
|
-
return import_react.createElement("div", {
|
|
426
|
-
key: A,
|
|
427
|
-
className: F(copProps2Class(N), fromBsClass(e.columnClassName), (M = {}, M[`Grid-col--v${ucFirst(e.valign)}`] = e.valign, M), setThemeClassName(__assign(__assign({}, e), {
|
|
428
|
-
name: "baseControlClassName",
|
|
429
|
-
id: G,
|
|
430
|
-
themeCss: K
|
|
431
|
-
})), setThemeClassName(__assign(__assign({}, e), {
|
|
432
|
-
name: "wrapperCustomStyle",
|
|
433
|
-
id: G,
|
|
434
|
-
themeCss: K
|
|
435
|
-
}))),
|
|
436
|
-
style: W
|
|
437
|
-
}, this.renderChild(`column/${A}`, e.body || [], j, {
|
|
438
|
-
disabled: B,
|
|
439
|
-
formMode: e.mode || L || I,
|
|
440
|
-
formHorizontal: e.horizontal || R || z
|
|
441
|
-
}), import_react.createElement(CustomStyle, __assign({}, e, {
|
|
442
|
-
config: {
|
|
443
|
-
wrapperCustomStyle: q,
|
|
444
|
-
id: G,
|
|
445
|
-
themeCss: K,
|
|
446
|
-
classNames: [{ key: "baseControlClassName" }]
|
|
447
|
-
},
|
|
448
|
-
env: H
|
|
449
|
-
})));
|
|
450
|
-
}, A.prototype.renderColumns = function(e) {
|
|
451
|
-
var A = this;
|
|
452
|
-
return Array.isArray(e) ? e.map(function(j, M) {
|
|
453
|
-
return A.renderColumn(j, M, e.length);
|
|
454
|
-
}) : null;
|
|
455
|
-
}, A.prototype.render = function() {
|
|
456
|
-
var e, A = this.props, j = A.className, M = A.style, N = A.classnames, P = A.gap, F = A.valign, I = A.align, L = A.loading, R = L === void 0 ? !1 : L, z = A.loadingConfig, B = A.data, V = A.id, H = A.wrapperCustomStyle, W = A.env, G = A.themeCss, K = buildStyle(M, B);
|
|
457
|
-
return import_react.createElement("div", {
|
|
458
|
-
className: N("Grid", (e = {}, e[`Grid--${P}`] = P, e[`Grid--v${ucFirst(F)}`] = F, e[`Grid--h${ucFirst(I)}`] = I, e), j, setThemeClassName(__assign(__assign({}, this.props), {
|
|
459
|
-
name: "baseControlClassName",
|
|
460
|
-
id: V,
|
|
461
|
-
themeCss: G
|
|
462
|
-
})), setThemeClassName(__assign(__assign({}, this.props), {
|
|
463
|
-
name: "wrapperCustomStyle",
|
|
464
|
-
id: V,
|
|
465
|
-
themeCss: H
|
|
466
|
-
}))),
|
|
467
|
-
style: K,
|
|
468
|
-
"data-id": V,
|
|
469
|
-
"data-role": "container"
|
|
470
|
-
}, this.renderColumns(this.props.columns), import_react.createElement(Spinner$1, {
|
|
471
|
-
loadingConfig: z,
|
|
472
|
-
overlay: !0,
|
|
473
|
-
show: R
|
|
474
|
-
}), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
475
|
-
config: {
|
|
476
|
-
wrapperCustomStyle: H,
|
|
477
|
-
id: V,
|
|
478
|
-
themeCss: G,
|
|
479
|
-
classNames: [{ key: "baseControlClassName" }]
|
|
480
|
-
},
|
|
481
|
-
env: W
|
|
482
|
-
})));
|
|
483
|
-
}, A.propsList = ["columns"], A.defaultProps = {}, A;
|
|
484
|
-
}(import_react.Component));
|
|
485
|
-
addSchemaFilter(function(e, A) {
|
|
486
|
-
return A.component === CheckboxControlRenderer && e.label && e.option === void 0 && (e = __assign({}, e), e.option = e.label, delete e.label), e;
|
|
487
|
-
});
|
|
488
|
-
function convertFieldSetTabs2Controls(e) {
|
|
489
|
-
var A = {}, j = !1;
|
|
490
|
-
return A.controls = Array.isArray(e.controls) ? e.controls.concat() : [], A.controls = A.controls.map(function(e) {
|
|
491
|
-
if (Array.isArray(e)) {
|
|
492
|
-
var A = convertFieldSetTabs2Controls({
|
|
493
|
-
type: "group",
|
|
494
|
-
controls: e
|
|
495
|
-
});
|
|
496
|
-
return A !== e && (j = !0), A;
|
|
497
|
-
}
|
|
498
|
-
return e;
|
|
499
|
-
}), e.fieldSet && (Array.isArray(e.fieldSet) ? e.fieldSet : [e.fieldSet]).forEach(function(M) {
|
|
500
|
-
j = !0, A.controls.push(__assign(__assign({}, convertFieldSetTabs2Controls(M)), {
|
|
501
|
-
type: "fieldSet",
|
|
502
|
-
collapsable: e.collapsable
|
|
503
|
-
}));
|
|
504
|
-
}), e.tabs && (j = !0) && A.controls.push({
|
|
505
|
-
type: "tabs",
|
|
506
|
-
tabs: e.tabs.map(function(e) {
|
|
507
|
-
return convertFieldSetTabs2Controls(e);
|
|
508
|
-
})
|
|
509
|
-
}), j && (e = __assign(__assign({}, e), A), delete e.fieldSet, delete e.tabs), e;
|
|
510
|
-
}
|
|
511
|
-
addSchemaFilter(function(e, A) {
|
|
512
|
-
if (A.component !== FormRenderer) return e;
|
|
513
|
-
if (e.fieldSet || e.tabs) e = convertFieldSetTabs2Controls(e);
|
|
514
|
-
else if (Array.isArray(e.controls)) {
|
|
515
|
-
var j = !1, M = e.controls.map(function(e) {
|
|
516
|
-
if (Array.isArray(e)) {
|
|
517
|
-
var A = convertFieldSetTabs2Controls({
|
|
518
|
-
type: "group",
|
|
519
|
-
controls: e
|
|
520
|
-
});
|
|
521
|
-
return A !== e && (j = !0), A;
|
|
522
|
-
}
|
|
523
|
-
return e;
|
|
524
|
-
});
|
|
525
|
-
j && (e = __assign(__assign({}, e), { controls: M }));
|
|
526
|
-
}
|
|
527
|
-
return e;
|
|
528
|
-
}), addSchemaFilter(function(e, A) {
|
|
529
|
-
if (A.component !== FieldSetRenderer) return e;
|
|
530
|
-
if (Array.isArray(e.controls)) {
|
|
531
|
-
var j = !1, M = e.controls.map(function(e) {
|
|
532
|
-
if (Array.isArray(e)) {
|
|
533
|
-
var A = convertFieldSetTabs2Controls({
|
|
534
|
-
type: "group",
|
|
535
|
-
controls: e
|
|
536
|
-
});
|
|
537
|
-
return A !== e && (j = !0), A;
|
|
538
|
-
}
|
|
539
|
-
return e;
|
|
540
|
-
});
|
|
541
|
-
j && (e = __assign(__assign({}, e), { controls: M }));
|
|
542
|
-
}
|
|
543
|
-
return e;
|
|
544
|
-
});
|
|
545
|
-
function convertArray2Hbox(e) {
|
|
546
|
-
var A = !1, j = e.map(function(e) {
|
|
547
|
-
return Array.isArray(e) ? (A = !0, convertArray2Hbox(e)) : e;
|
|
548
|
-
});
|
|
549
|
-
return A || (j = e), {
|
|
550
|
-
type: "hbox",
|
|
551
|
-
columns: j
|
|
552
|
-
};
|
|
553
|
-
}
|
|
554
|
-
addSchemaFilter(function(e, A) {
|
|
555
|
-
if (A.component !== CardRenderer && A.component !== ListItemRenderer) return e;
|
|
556
|
-
if (Array.isArray(e.body)) {
|
|
557
|
-
var j = !1, M = e.body.map(function(e) {
|
|
558
|
-
return Array.isArray(e) ? (j = !0, convertArray2Hbox(e)) : e;
|
|
559
|
-
});
|
|
560
|
-
j && (e = __assign(__assign({}, e), { body: M }));
|
|
561
|
-
}
|
|
562
|
-
return e;
|
|
563
|
-
}), addSchemaFilter(function(e, A) {
|
|
564
|
-
return A.component === ButtonGroupControlRenderer && (e.btnClassName || e.btnActiveClassName) && (e = __assign(__assign({}, e), {
|
|
565
|
-
btnLevel: getLevelFromClassName(e.btnClassName),
|
|
566
|
-
btnActiveLevel: getLevelFromClassName(e.btnActiveClassName)
|
|
567
|
-
})), e;
|
|
568
|
-
}), addSchemaFilter(function(e, A) {
|
|
569
|
-
return A.component !== FileControlRenderer && A.component !== ImageControlRenderer && A.component !== RichTextControlRenderer ? e : (e.reciever && (e = __assign(__assign({}, e), { receiver: e.reciever }), delete e.reciever), e.videoReciever && (e = __assign(__assign({}, e), { videoReceiver: e.reciever }), delete e.reciever), e);
|
|
570
|
-
}), addSchemaFilter(function(e, A) {
|
|
571
|
-
return A.component === GridRenderer && Array.isArray(e.columns) && e.columns.some(function(e) {
|
|
572
|
-
return Array.isArray(e) || e.type;
|
|
573
|
-
}) && (e = __assign(__assign({}, e), { columns: e.columns.map(function(e) {
|
|
574
|
-
return Array.isArray(e) ? { body: [{
|
|
575
|
-
type: "grid",
|
|
576
|
-
columns: e
|
|
577
|
-
}] } : (e.type && (e = {
|
|
578
|
-
xs: e.xs,
|
|
579
|
-
sm: e.sm,
|
|
580
|
-
md: e.md,
|
|
581
|
-
lg: e.lg,
|
|
582
|
-
columnClassName: e.columnClassName,
|
|
583
|
-
body: [__rest(e, [
|
|
584
|
-
"xs",
|
|
585
|
-
"sm",
|
|
586
|
-
"md",
|
|
587
|
-
"lg",
|
|
588
|
-
"columnClassName"
|
|
589
|
-
])]
|
|
590
|
-
}), e);
|
|
591
|
-
}) })), e;
|
|
592
|
-
}), addSchemaFilter(function(e, A) {
|
|
593
|
-
return A.component === HBoxRenderer && Array.isArray(e.columns) && e.columns.some(function(e) {
|
|
594
|
-
return e.type;
|
|
595
|
-
}) && (e = __assign(__assign({}, e), { columns: e.columns.map(function(e) {
|
|
596
|
-
var A = e.width, j = e.height, M = e.style, N = e.columnClassName, P = e.visible, F = e.visibleOn, I = __rest(e, [
|
|
597
|
-
"width",
|
|
598
|
-
"height",
|
|
599
|
-
"style",
|
|
600
|
-
"columnClassName",
|
|
601
|
-
"visible",
|
|
602
|
-
"visibleOn"
|
|
603
|
-
]);
|
|
604
|
-
return e.type && (e = {
|
|
605
|
-
width: A,
|
|
606
|
-
height: j,
|
|
607
|
-
style: M,
|
|
608
|
-
columnClassName: N,
|
|
609
|
-
visible: P,
|
|
610
|
-
visibleOn: F,
|
|
611
|
-
body: [I]
|
|
612
|
-
}), e;
|
|
613
|
-
}) })), e;
|
|
614
|
-
});
|
|
615
|
-
var controlMapping = {
|
|
616
|
-
array: "input-array",
|
|
617
|
-
"button-group": "button-group-select",
|
|
618
|
-
city: "input-city",
|
|
619
|
-
color: "input-color",
|
|
620
|
-
date: "input-date",
|
|
621
|
-
datetime: "input-datetime",
|
|
622
|
-
time: "input-time",
|
|
623
|
-
quarter: "input-quarter",
|
|
624
|
-
month: "input-month",
|
|
625
|
-
year: "input-year",
|
|
626
|
-
"date-range": "input-date-range",
|
|
627
|
-
"datetime-range": "input-datetime-range",
|
|
628
|
-
diff: "diff-editor",
|
|
629
|
-
file: "input-file",
|
|
630
|
-
image: "input-image",
|
|
631
|
-
list: "list-select",
|
|
632
|
-
location: "location-picker",
|
|
633
|
-
matrix: "matrix-checkboxes",
|
|
634
|
-
"month-range": "input-month-range",
|
|
635
|
-
"quarter-range": "input-quarter-range",
|
|
636
|
-
number: "input-number",
|
|
637
|
-
range: "input-range",
|
|
638
|
-
rating: "input-rating",
|
|
639
|
-
repeat: "input-repeat",
|
|
640
|
-
"rich-text": "input-rich-text",
|
|
641
|
-
form: "input-sub-form",
|
|
642
|
-
table: "input-table",
|
|
643
|
-
tag: "input-tag",
|
|
644
|
-
text: "input-text",
|
|
645
|
-
url: "input-url",
|
|
646
|
-
password: "input-password",
|
|
647
|
-
email: "input-email",
|
|
648
|
-
tree: "input-tree",
|
|
649
|
-
progress: "static-progress",
|
|
650
|
-
mapping: "static-mapping"
|
|
651
|
-
}, maybeFormItem = [
|
|
652
|
-
"button",
|
|
653
|
-
"submit",
|
|
654
|
-
"reset",
|
|
655
|
-
"button-group",
|
|
656
|
-
"button-toolbar",
|
|
657
|
-
"container",
|
|
658
|
-
"grid",
|
|
659
|
-
"hbox",
|
|
660
|
-
"panel",
|
|
661
|
-
"anchor-nav",
|
|
662
|
-
"qr-code"
|
|
663
|
-
];
|
|
664
|
-
function wrapControl(e) {
|
|
665
|
-
if (!e || !e.type) return e;
|
|
666
|
-
var A = e.label, j = e.description, M = e.name, N = e.required, P = e.remark, F = e.inputOnly, I = e.labelClassName, R = e.caption, z = e.labelRemark, B = e.descriptionClassName, V = e.captionClassName, H = e.hint, U = e.showErrorMsg, W = e.mode, G = e.horizontal, K = e.className, q = e.inputClassName, J = e.columnClassName, Y = e.visibleOn, X = e.visible, Z = __rest(e, [
|
|
667
|
-
"label",
|
|
668
|
-
"description",
|
|
669
|
-
"name",
|
|
670
|
-
"required",
|
|
671
|
-
"remark",
|
|
672
|
-
"inputOnly",
|
|
673
|
-
"labelClassName",
|
|
674
|
-
"caption",
|
|
675
|
-
"labelRemark",
|
|
676
|
-
"descriptionClassName",
|
|
677
|
-
"captionClassName",
|
|
678
|
-
"hint",
|
|
679
|
-
"showErrorMsg",
|
|
680
|
-
"mode",
|
|
681
|
-
"horizontal",
|
|
682
|
-
"className",
|
|
683
|
-
"inputClassName",
|
|
684
|
-
"columnClassName",
|
|
685
|
-
"visibleOn",
|
|
686
|
-
"visible"
|
|
687
|
-
]);
|
|
688
|
-
return Z.name = M, Z.className = q, ~[
|
|
689
|
-
"button",
|
|
690
|
-
"submit",
|
|
691
|
-
"reset"
|
|
692
|
-
].indexOf(Z.type) && (Z.label = A, A = ""), {
|
|
693
|
-
type: "control",
|
|
694
|
-
label: A,
|
|
695
|
-
description: j,
|
|
696
|
-
name: M,
|
|
697
|
-
required: N,
|
|
698
|
-
remark: P,
|
|
699
|
-
inputOnly: F,
|
|
700
|
-
labelClassName: I,
|
|
701
|
-
caption: R,
|
|
702
|
-
labelRemark: z,
|
|
703
|
-
descriptionClassName: B,
|
|
704
|
-
captionClassName: V,
|
|
705
|
-
hint: H,
|
|
706
|
-
showErrorMsg: U,
|
|
707
|
-
mode: W,
|
|
708
|
-
horizontal: G,
|
|
709
|
-
className: K,
|
|
710
|
-
columnClassName: J,
|
|
711
|
-
visibleOn: Y,
|
|
712
|
-
visible: X,
|
|
713
|
-
body: Z
|
|
714
|
-
};
|
|
715
|
-
}
|
|
716
|
-
var maybeStatic = [
|
|
717
|
-
"tpl",
|
|
718
|
-
"mapping",
|
|
719
|
-
"progress",
|
|
720
|
-
"status",
|
|
721
|
-
"json",
|
|
722
|
-
"video",
|
|
723
|
-
"qrcode",
|
|
724
|
-
"plain",
|
|
725
|
-
"each",
|
|
726
|
-
"link"
|
|
727
|
-
];
|
|
728
|
-
function wrapStatic(e) {
|
|
729
|
-
return !e || !e.type ? e : __assign(__assign({}, e), { type: `static-${e.type}` });
|
|
730
|
-
}
|
|
731
|
-
addSchemaFilter(function(e, A, j) {
|
|
732
|
-
var M, N = typeof e?.type == "string" ? e.type.toLowerCase() : "", P = e;
|
|
733
|
-
if (N === "combo" && Array.isArray(e.conditions) && (P = __assign(__assign({}, e), { conditions: e.conditions.map(function(e) {
|
|
734
|
-
return Array.isArray(e.controls) && (e = __assign(__assign({}, e), { items: e.controls.map(F) }), delete e.controls), e;
|
|
735
|
-
}) })), e?.controls && e.type !== "audio" && e.type !== "carousel" ? (P = __assign(__assign({}, e), (M = {}, M[e.type === "combo" ? "items" : "body"] = (Array.isArray(e.controls) ? e.controls : [e.controls]).map(F), M)), delete P.controls) : e?.quickEdit?.controls && (!e.quickEdit.type || !~[
|
|
736
|
-
"combo",
|
|
737
|
-
"group",
|
|
738
|
-
"panel",
|
|
739
|
-
"fieldSet",
|
|
740
|
-
"fieldset"
|
|
741
|
-
].indexOf(e.quickEdit.type)) ? (P = __assign(__assign({}, e), { quickEdit: __assign(__assign({}, e.quickEdit), { body: (Array.isArray(e.quickEdit.controls) ? e.quickEdit.controls : [e.quickEdit.controls]).map(F) }) }), delete P.quickEdit.controls) : e?.quickEdit?.type ? P = __assign(__assign({}, e), { quickEdit: F(e.quickEdit) }) : N === "tabs" && Array.isArray(e.tabs) ? P = __assign(__assign({}, e), { tabs: e.tabs.map(function(e) {
|
|
742
|
-
return Array.isArray(e.controls) && !Array.isArray(e.body) && (e = __assign(__assign({}, e), { body: e.controls.map(F) }), delete e.controls), e;
|
|
743
|
-
}) }) : N === "anchor-nav" && Array.isArray(e.links) ? P = __assign(__assign({}, e), { links: e.links.map(function(e) {
|
|
744
|
-
return Array.isArray(e.controls) && (e = __assign(__assign({}, e), { body: e?.controls.map(F) }), delete e.controls), e;
|
|
745
|
-
}) }) : N === "input-array" && e.items ? P = __assign(__assign({}, e), { items: Array.isArray(e.items) ? e.items.map(F) : F(e.items) }) : (N === "grid" || N === "hbox") && Array.isArray(e.columns) ? P = __assign(__assign({}, e), { columns: e.columns.map(function(e) {
|
|
746
|
-
return Array.isArray(e.controls) && (e = __assign(__assign({}, e), { body: e?.controls.map(F) }), e.type !== "form" && delete e.type, delete e.controls), e;
|
|
747
|
-
}) }) : N === "service" && e?.body?.controls && (P = __assign(__assign({}, e), { body: (Array.isArray(e.body.controls) ? e.body.controls : [e.body.controls]).map(F) })), P !== e && isObjectShallowModified(P, e, !1, !1, [], 10)) return P;
|
|
748
|
-
return e;
|
|
749
|
-
function F(e) {
|
|
750
|
-
return e?.$ref && j.resolveDefinitions && (e = __assign(__assign({}, j.resolveDefinitions(e.$ref)), e), delete e.$ref), e && controlMapping[e.type] ? __assign(__assign({}, e), { type: controlMapping[e.type] }) : ~maybeFormItem.indexOf(e?.type) ? wrapControl(e) : ~maybeStatic.indexOf(e?.type) ? wrapStatic(e) : e;
|
|
751
|
-
}
|
|
752
|
-
});
|
|
753
|
-
var import_isEqual = /* @__PURE__ */ __toESM(require_isEqual());
|
|
754
|
-
addSchemaFilter(function(e, A, j) {
|
|
755
|
-
if (e && e.type === "input-kv") {
|
|
756
|
-
var M = e.autoParseJSON ?? !0;
|
|
757
|
-
return __assign(__assign({ draggable: !0 }, e), {
|
|
758
|
-
multiple: !0,
|
|
759
|
-
pipeIn: function(e) {
|
|
760
|
-
if (!isObject(e)) return [];
|
|
761
|
-
if ((0, import_isEqual.default)(e, this.cachedValue)) return this.cachedValueArray;
|
|
762
|
-
var A = [];
|
|
763
|
-
return Object.keys(e).forEach(function(j) {
|
|
764
|
-
var M = typeof e[j];
|
|
765
|
-
A.push({
|
|
766
|
-
key: j || "",
|
|
767
|
-
value: M === "string" || M === "number" || M === "boolean" ? e[j] : JSON.stringify(e[j])
|
|
768
|
-
});
|
|
769
|
-
}), A;
|
|
770
|
-
},
|
|
771
|
-
pipeOut: function(A) {
|
|
772
|
-
if (!Array.isArray(A)) return A;
|
|
773
|
-
var j = {};
|
|
774
|
-
return A.forEach(function(A) {
|
|
775
|
-
var N = A.key ?? "", P = A.value ?? e.defaultValue ?? "";
|
|
776
|
-
if (M && typeof P == "string" && P.startsWith("{")) try {
|
|
777
|
-
P = JSON.parse(P);
|
|
778
|
-
} catch {}
|
|
779
|
-
j[N] = P;
|
|
780
|
-
}), this.cachedValue = j, this.cachedValueArray = A, j;
|
|
781
|
-
},
|
|
782
|
-
items: [e.keySchema ? __assign(__assign({ id: `u:${guid$1()}` }, e.keySchema), {
|
|
783
|
-
unique: !0,
|
|
784
|
-
name: "key",
|
|
785
|
-
required: !0,
|
|
786
|
-
validateOnChange: !0
|
|
787
|
-
}) : {
|
|
788
|
-
placeholder: e.keyPlaceholder ?? "Key",
|
|
789
|
-
type: "input-text",
|
|
790
|
-
unique: !0,
|
|
791
|
-
name: "key",
|
|
792
|
-
required: !0,
|
|
793
|
-
validateOnChange: !0,
|
|
794
|
-
id: `u:${guid$1()}`
|
|
795
|
-
}, e.valueSchema ? __assign(__assign({ id: `u:${guid$1()}` }, e.valueSchema), { name: "value" }) : e.valueComponent ? {
|
|
796
|
-
placeholder: e.valuePlaceholder ?? "Value",
|
|
797
|
-
component: e.valueComponent,
|
|
798
|
-
asFormItem: !0,
|
|
799
|
-
name: "value",
|
|
800
|
-
id: `u:${guid$1()}`
|
|
801
|
-
} : {
|
|
802
|
-
placeholder: e.valuePlaceholder ?? "Value",
|
|
803
|
-
type: e.valueType || "input-text",
|
|
804
|
-
name: "value",
|
|
805
|
-
id: `u:${guid$1()}`
|
|
806
|
-
}]
|
|
807
|
-
});
|
|
808
|
-
}
|
|
809
|
-
return e;
|
|
810
|
-
}), addSchemaFilter(function(e, A, j) {
|
|
811
|
-
if (e && e.type === "input-kvs") {
|
|
812
|
-
var M = e.keyItem || {}, N = e.valueItems || [], P = !1;
|
|
813
|
-
return N.length == 1 && N[0].name === "_value" && (P = !0), __assign(__assign({
|
|
814
|
-
draggable: !0,
|
|
815
|
-
multiple: !0,
|
|
816
|
-
multiLine: !0
|
|
817
|
-
}, e), {
|
|
818
|
-
pipeIn: function(e) {
|
|
819
|
-
if (!isObject(e)) return [];
|
|
820
|
-
var A = [];
|
|
821
|
-
return Object.keys(e).forEach(function(j) {
|
|
822
|
-
var M = e[j];
|
|
823
|
-
P ? A.push({
|
|
824
|
-
_key: j || "",
|
|
825
|
-
_value: M
|
|
826
|
-
}) : typeof M == "object" && A.push(__assign(__assign({}, M), { _key: j || "" }));
|
|
827
|
-
}), A;
|
|
828
|
-
},
|
|
829
|
-
pipeOut: function(A) {
|
|
830
|
-
if (!Array.isArray(A)) return A;
|
|
831
|
-
var j = {};
|
|
832
|
-
return A.forEach(function(A) {
|
|
833
|
-
var M = A._key, N = __rest(A, ["_key"]);
|
|
834
|
-
M ??= "", P ? (e.valueIsArray ? j[M] = A._value || [] : j[M] = A._value || {}, (0, import_isEqual.default)(j[M], [{}]) && (j[M] = [])) : e.valueIsArray ? j[M] = N || [] : j[M] = N || {};
|
|
835
|
-
}), j;
|
|
836
|
-
},
|
|
837
|
-
items: __spreadArray([__assign({
|
|
838
|
-
type: "input-text",
|
|
839
|
-
unique: !0,
|
|
840
|
-
name: "_key",
|
|
841
|
-
required: !0,
|
|
842
|
-
validateOnChange: !0
|
|
843
|
-
}, M)], __read(N), !1)
|
|
844
|
-
});
|
|
845
|
-
}
|
|
846
|
-
return e;
|
|
847
|
-
}), registerRenderer({
|
|
848
|
-
type: "action",
|
|
849
|
-
alias: [
|
|
850
|
-
"button",
|
|
851
|
-
"submit",
|
|
852
|
-
"reset"
|
|
853
|
-
],
|
|
854
|
-
getComponent: function() {
|
|
855
|
-
return import("./Action-BD84dQm7.js");
|
|
856
|
-
}
|
|
857
|
-
}), registerRenderer({
|
|
858
|
-
type: "alert",
|
|
859
|
-
getComponent: function() {
|
|
860
|
-
return import("./Alert-CL6AxX9W.js");
|
|
861
|
-
}
|
|
862
|
-
}), registerRenderer({
|
|
863
|
-
type: "app",
|
|
864
|
-
getComponent: function() {
|
|
865
|
-
return import("./App-BjMDDfGp.js");
|
|
866
|
-
}
|
|
867
|
-
}), registerRenderer({
|
|
868
|
-
type: "avatar",
|
|
869
|
-
getComponent: function() {
|
|
870
|
-
return import("./Avatar-QQXB9S3Q.js");
|
|
871
|
-
}
|
|
872
|
-
}), registerRenderer({
|
|
873
|
-
type: "remark",
|
|
874
|
-
getComponent: function() {
|
|
875
|
-
return import("./Remark-Df6vguZu.js");
|
|
876
|
-
}
|
|
877
|
-
}), registerRenderer({
|
|
878
|
-
type: "button-group",
|
|
879
|
-
getComponent: function() {
|
|
880
|
-
return import("./ButtonGroup-Bc6JSoXR.js");
|
|
881
|
-
}
|
|
882
|
-
}), registerRenderer({
|
|
883
|
-
type: "button-toolbar",
|
|
884
|
-
getComponent: function() {
|
|
885
|
-
return import("./ButtonToolbar-EWvVGJ7N.js");
|
|
886
|
-
}
|
|
887
|
-
}), registerRenderer({
|
|
888
|
-
type: "breadcrumb",
|
|
889
|
-
getComponent: function() {
|
|
890
|
-
return import("./Breadcrumb-CbrEDG1L.js");
|
|
891
|
-
}
|
|
892
|
-
}), registerRenderer({
|
|
893
|
-
type: "dropdown-button",
|
|
894
|
-
getComponent: function() {
|
|
895
|
-
return import("./DropDownButton-DQUNUwC3.js");
|
|
896
|
-
}
|
|
897
|
-
}), registerRenderer({
|
|
898
|
-
type: "calendar",
|
|
899
|
-
getComponent: function() {
|
|
900
|
-
return import("./Calendar-DhRJvxTd.js");
|
|
901
|
-
}
|
|
902
|
-
}), registerRenderer({
|
|
903
|
-
type: "collapse",
|
|
904
|
-
getComponent: function() {
|
|
905
|
-
return import("./Collapse-DuyoxLtz.js");
|
|
906
|
-
}
|
|
907
|
-
}), registerRenderer({
|
|
908
|
-
type: "collapse-group",
|
|
909
|
-
getComponent: function() {
|
|
910
|
-
return import("./CollapseGroup-C35H5tbk.js");
|
|
911
|
-
}
|
|
912
|
-
}), registerRenderer({
|
|
913
|
-
type: "color",
|
|
914
|
-
getComponent: function() {
|
|
915
|
-
return import("./Color-CIbFLrBz.js");
|
|
916
|
-
}
|
|
917
|
-
}), registerRenderer({
|
|
918
|
-
type: "crud",
|
|
919
|
-
getComponent: function() {
|
|
920
|
-
return import("./CRUD-C4gXxs8g.js");
|
|
921
|
-
}
|
|
922
|
-
}), registerRenderer({
|
|
923
|
-
type: "crud2",
|
|
924
|
-
getComponent: function() {
|
|
925
|
-
return import("./CRUD2-L5l1_8In.js");
|
|
926
|
-
}
|
|
927
|
-
}), registerRenderer({
|
|
928
|
-
type: "pagination",
|
|
929
|
-
alias: ["pager"],
|
|
930
|
-
getComponent: function() {
|
|
931
|
-
return import("./Pagination-UOrn4c0P.js");
|
|
932
|
-
}
|
|
933
|
-
}), registerRenderer({
|
|
934
|
-
type: "cards",
|
|
935
|
-
getComponent: function() {
|
|
936
|
-
return import("./Cards-DmOZWmYb.js");
|
|
937
|
-
}
|
|
938
|
-
}), registerRenderer({
|
|
939
|
-
type: "card",
|
|
940
|
-
getComponent: function() {
|
|
941
|
-
return import("./Card-DP8rtHME.js");
|
|
942
|
-
}
|
|
943
|
-
}), registerRenderer({
|
|
944
|
-
type: "card2",
|
|
945
|
-
getComponent: function() {
|
|
946
|
-
return import("./Card2-RbgvR51k.js");
|
|
947
|
-
}
|
|
948
|
-
}), registerRenderer({
|
|
949
|
-
type: "custom",
|
|
950
|
-
getComponent: function() {
|
|
951
|
-
return import("./Custom-6j0e0K6V.js");
|
|
952
|
-
}
|
|
953
|
-
}), registerRenderer({
|
|
954
|
-
type: "date",
|
|
955
|
-
getComponent: function() {
|
|
956
|
-
return import("./Date-jzCX5NLQ.js");
|
|
957
|
-
}
|
|
958
|
-
}), registerRenderer({
|
|
959
|
-
type: "datetime",
|
|
960
|
-
getComponent: function() {
|
|
961
|
-
return import("./Date-jzCX5NLQ.js");
|
|
962
|
-
}
|
|
963
|
-
}), registerRenderer({
|
|
964
|
-
type: "time",
|
|
965
|
-
getComponent: function() {
|
|
966
|
-
return import("./Date-jzCX5NLQ.js");
|
|
967
|
-
}
|
|
968
|
-
}), registerRenderer({
|
|
969
|
-
type: "month",
|
|
970
|
-
getComponent: function() {
|
|
971
|
-
return import("./Date-jzCX5NLQ.js");
|
|
972
|
-
}
|
|
973
|
-
}), registerRenderer({
|
|
974
|
-
type: "dialog",
|
|
975
|
-
getComponent: function() {
|
|
976
|
-
return import("./Dialog-BAyLX0mi.js");
|
|
977
|
-
}
|
|
978
|
-
}), registerRenderer({
|
|
979
|
-
type: "divider",
|
|
980
|
-
getComponent: function() {
|
|
981
|
-
return import("./Divider-kXNT8Kpb.js");
|
|
982
|
-
}
|
|
983
|
-
}), registerRenderer({
|
|
984
|
-
type: "each",
|
|
985
|
-
getComponent: function() {
|
|
986
|
-
return import("./Each-CgFfmNjU.js");
|
|
987
|
-
}
|
|
988
|
-
}), registerRenderer({
|
|
989
|
-
type: "flex",
|
|
990
|
-
getComponent: function() {
|
|
991
|
-
return import("./Flex-zWosUfSI.js");
|
|
992
|
-
}
|
|
993
|
-
}), registerRenderer({
|
|
994
|
-
type: "shape",
|
|
995
|
-
getComponent: function() {
|
|
996
|
-
return import("./Shape-DGcW-OLJ.js");
|
|
997
|
-
}
|
|
998
|
-
}), registerRenderer({
|
|
999
|
-
type: "button-group-select",
|
|
1000
|
-
isFormItem: !0,
|
|
1001
|
-
getComponent: function() {
|
|
1002
|
-
return import("./ButtonGroupSelect-Cxk8s81t.js");
|
|
1003
|
-
}
|
|
1004
|
-
}), registerRenderer({
|
|
1005
|
-
type: "control",
|
|
1006
|
-
getComponent: function() {
|
|
1007
|
-
return import("./Control-BIDzpbuX.js");
|
|
1008
|
-
}
|
|
1009
|
-
}), registerRenderer({
|
|
1010
|
-
type: "hidden",
|
|
1011
|
-
isFormItem: !0,
|
|
1012
|
-
getComponent: function() {
|
|
1013
|
-
return import("./Hidden-DeRVSV3K.js");
|
|
1014
|
-
}
|
|
1015
|
-
}), registerRenderer({
|
|
1016
|
-
type: "input-text",
|
|
1017
|
-
alias: [
|
|
1018
|
-
"input-password",
|
|
1019
|
-
"native-date",
|
|
1020
|
-
"native-time",
|
|
1021
|
-
"native-number",
|
|
1022
|
-
"input-email",
|
|
1023
|
-
"input-url"
|
|
1024
|
-
],
|
|
1025
|
-
isFormItem: !0,
|
|
1026
|
-
getComponent: function() {
|
|
1027
|
-
return import("./InputText-CNHLKdgJ.js");
|
|
1028
|
-
}
|
|
1029
|
-
}), registerRenderer({
|
|
1030
|
-
type: "input-tag",
|
|
1031
|
-
isFormItem: !0,
|
|
1032
|
-
getComponent: function() {
|
|
1033
|
-
return import("./InputTag-DXvCPL8J.js");
|
|
1034
|
-
}
|
|
1035
|
-
}), registerRenderer({
|
|
1036
|
-
type: "input-number",
|
|
1037
|
-
isFormItem: !0,
|
|
1038
|
-
getComponent: function() {
|
|
1039
|
-
return import("./InputNumber-p2UxlJX6.js");
|
|
1040
|
-
}
|
|
1041
|
-
}), registerRenderer({
|
|
1042
|
-
type: "textarea",
|
|
1043
|
-
isFormItem: !0,
|
|
1044
|
-
getComponent: function() {
|
|
1045
|
-
return import("./Textarea-Lhz3n5BX.js");
|
|
1046
|
-
}
|
|
1047
|
-
}), registerRenderer({
|
|
1048
|
-
type: "checkboxes",
|
|
1049
|
-
isFormItem: !0,
|
|
1050
|
-
getComponent: function() {
|
|
1051
|
-
return import("./Checkboxes-Dl2pbr1w.js");
|
|
1052
|
-
}
|
|
1053
|
-
}), registerRenderer({
|
|
1054
|
-
type: "checkbox",
|
|
1055
|
-
isFormItem: !0,
|
|
1056
|
-
getComponent: function() {
|
|
1057
|
-
return import("./Checkbox-DRgpdqR5.js");
|
|
1058
|
-
}
|
|
1059
|
-
}), registerRenderer({
|
|
1060
|
-
type: "input-city",
|
|
1061
|
-
isFormItem: !0,
|
|
1062
|
-
getComponent: function() {
|
|
1063
|
-
return import("./InputCity-D-mfLobT.js");
|
|
1064
|
-
}
|
|
1065
|
-
}), registerRenderer({
|
|
1066
|
-
type: "chart-radios",
|
|
1067
|
-
isFormItem: !0,
|
|
1068
|
-
getComponent: function() {
|
|
1069
|
-
return import("./ChartRadios-DlJuRNrx.js");
|
|
1070
|
-
}
|
|
1071
|
-
}), registerRenderer({
|
|
1072
|
-
type: "input-rating",
|
|
1073
|
-
isFormItem: !0,
|
|
1074
|
-
getComponent: function() {
|
|
1075
|
-
return import("./InputRating-Cyewk6xh.js");
|
|
1076
|
-
}
|
|
1077
|
-
}), registerRenderer({
|
|
1078
|
-
type: "switch",
|
|
1079
|
-
isFormItem: !0,
|
|
1080
|
-
getComponent: function() {
|
|
1081
|
-
return import("./Switch-DJ1dcPVX.js");
|
|
1082
|
-
}
|
|
1083
|
-
}), registerRenderer({
|
|
1084
|
-
type: "radios",
|
|
1085
|
-
isFormItem: !0,
|
|
1086
|
-
getComponent: function() {
|
|
1087
|
-
return import("./Radios-BlIx8v_G.js");
|
|
1088
|
-
}
|
|
1089
|
-
}), registerRenderer({
|
|
1090
|
-
type: "radio",
|
|
1091
|
-
isFormItem: !0,
|
|
1092
|
-
getComponent: function() {
|
|
1093
|
-
return import("./Radio-ccx7KeaP.js");
|
|
1094
|
-
}
|
|
1095
|
-
}), registerRenderer({
|
|
1096
|
-
type: "json-schema",
|
|
1097
|
-
isFormItem: !0,
|
|
1098
|
-
getComponent: function() {
|
|
1099
|
-
return import("./JSONSchema-CNZcSSTE.js");
|
|
1100
|
-
}
|
|
1101
|
-
}), registerRenderer({
|
|
1102
|
-
type: "json-schema-editor",
|
|
1103
|
-
isFormItem: !0,
|
|
1104
|
-
getComponent: function() {
|
|
1105
|
-
return import("./JSONSchemaEditor-Dhu7duy-.js");
|
|
1106
|
-
}
|
|
1107
|
-
}), registerRenderer({
|
|
1108
|
-
type: "list-select",
|
|
1109
|
-
isFormItem: !0,
|
|
1110
|
-
getComponent: function() {
|
|
1111
|
-
return import("./ListSelect-DmnMCqJK.js");
|
|
1112
|
-
}
|
|
1113
|
-
}), registerRenderer({
|
|
1114
|
-
type: "location-picker",
|
|
1115
|
-
isFormItem: !0,
|
|
1116
|
-
getComponent: function() {
|
|
1117
|
-
return import("./LocationPicker-BXLzlI_f.js");
|
|
1118
|
-
}
|
|
1119
|
-
}), registerRenderer({
|
|
1120
|
-
type: "select",
|
|
1121
|
-
isFormItem: !0,
|
|
1122
|
-
getComponent: function() {
|
|
1123
|
-
return import("./Select-niHiH7nS.js");
|
|
1124
|
-
}
|
|
1125
|
-
}), registerRenderer({
|
|
1126
|
-
type: "multi-select",
|
|
1127
|
-
isFormItem: !0,
|
|
1128
|
-
getComponent: function() {
|
|
1129
|
-
return import("./Select-niHiH7nS.js");
|
|
1130
|
-
}
|
|
1131
|
-
}), registerRenderer({
|
|
1132
|
-
type: "input-date",
|
|
1133
|
-
isFormItem: !0,
|
|
1134
|
-
getComponent: function() {
|
|
1135
|
-
return import("./InputDate-CgSiKBtx.js");
|
|
1136
|
-
}
|
|
1137
|
-
}), registerRenderer({
|
|
1138
|
-
type: "input-datetime",
|
|
1139
|
-
isFormItem: !0,
|
|
1140
|
-
getComponent: function() {
|
|
1141
|
-
return import("./InputDate-CgSiKBtx.js");
|
|
1142
|
-
}
|
|
1143
|
-
}), registerRenderer({
|
|
1144
|
-
type: "input-time",
|
|
1145
|
-
isFormItem: !0,
|
|
1146
|
-
getComponent: function() {
|
|
1147
|
-
return import("./InputDate-CgSiKBtx.js");
|
|
1148
|
-
}
|
|
1149
|
-
}), registerRenderer({
|
|
1150
|
-
type: "input-month",
|
|
1151
|
-
isFormItem: !0,
|
|
1152
|
-
getComponent: function() {
|
|
1153
|
-
return import("./InputDate-CgSiKBtx.js");
|
|
1154
|
-
}
|
|
1155
|
-
}), registerRenderer({
|
|
1156
|
-
type: "input-quarter",
|
|
1157
|
-
isFormItem: !0,
|
|
1158
|
-
getComponent: function() {
|
|
1159
|
-
return import("./InputDate-CgSiKBtx.js");
|
|
1160
|
-
}
|
|
1161
|
-
}), registerRenderer({
|
|
1162
|
-
type: "input-year",
|
|
1163
|
-
isFormItem: !0,
|
|
1164
|
-
getComponent: function() {
|
|
1165
|
-
return import("./InputDate-CgSiKBtx.js");
|
|
1166
|
-
}
|
|
1167
|
-
}), registerRenderer({
|
|
1168
|
-
type: "input-date-range",
|
|
1169
|
-
isFormItem: !0,
|
|
1170
|
-
getComponent: function() {
|
|
1171
|
-
return import("./InputDateRange-CbpsnaCe.js");
|
|
1172
|
-
}
|
|
1173
|
-
}), registerRenderer({
|
|
1174
|
-
type: "input-datetime-range",
|
|
1175
|
-
isFormItem: !0,
|
|
1176
|
-
getComponent: function() {
|
|
1177
|
-
return import("./InputDateRange-CbpsnaCe.js");
|
|
1178
|
-
}
|
|
1179
|
-
}), registerRenderer({
|
|
1180
|
-
type: "input-time-range",
|
|
1181
|
-
isFormItem: !0,
|
|
1182
|
-
getComponent: function() {
|
|
1183
|
-
return import("./InputDateRange-CbpsnaCe.js");
|
|
1184
|
-
}
|
|
1185
|
-
}), registerRenderer({
|
|
1186
|
-
type: "input-formula",
|
|
1187
|
-
isFormItem: !0,
|
|
1188
|
-
getComponent: function() {
|
|
1189
|
-
return import("./InputFormula-BQ_TLuJU.js");
|
|
1190
|
-
}
|
|
1191
|
-
}), registerRenderer({
|
|
1192
|
-
type: "input-repeat",
|
|
1193
|
-
isFormItem: !0,
|
|
1194
|
-
getComponent: function() {
|
|
1195
|
-
return import("./InputRepeat-BhWIVzBa.js");
|
|
1196
|
-
}
|
|
1197
|
-
}), registerRenderer({
|
|
1198
|
-
type: "input-tree",
|
|
1199
|
-
isFormItem: !0,
|
|
1200
|
-
getComponent: function() {
|
|
1201
|
-
return import("./InputTree-COEe1VLr.js");
|
|
1202
|
-
}
|
|
1203
|
-
}), registerRenderer({
|
|
1204
|
-
type: "tree-select",
|
|
1205
|
-
isFormItem: !0,
|
|
1206
|
-
getComponent: function() {
|
|
1207
|
-
return import("./TreeSelect-DJCdycVn.js");
|
|
1208
|
-
}
|
|
1209
|
-
}), registerRenderer({
|
|
1210
|
-
type: "input-image",
|
|
1211
|
-
isFormItem: !0,
|
|
1212
|
-
getComponent: function() {
|
|
1213
|
-
return import("./InputImage-DAUcgoKE.js");
|
|
1214
|
-
}
|
|
1215
|
-
}), registerRenderer({
|
|
1216
|
-
type: "input-file",
|
|
1217
|
-
isFormItem: !0,
|
|
1218
|
-
getComponent: function() {
|
|
1219
|
-
return import("./InputFile-b23f0dU0.js");
|
|
1220
|
-
}
|
|
1221
|
-
}), registerRenderer({
|
|
1222
|
-
type: "uuid",
|
|
1223
|
-
isFormItem: !0,
|
|
1224
|
-
getComponent: function() {
|
|
1225
|
-
return import("./UUID-CyCEB9U4.js");
|
|
1226
|
-
}
|
|
1227
|
-
}), registerRenderer({
|
|
1228
|
-
type: "matrix-checkboxes",
|
|
1229
|
-
isFormItem: !0,
|
|
1230
|
-
getComponent: function() {
|
|
1231
|
-
return import("./MatrixCheckboxes-f-7KmMUU.js");
|
|
1232
|
-
}
|
|
1233
|
-
}), registerRenderer({
|
|
1234
|
-
type: "input-month-range",
|
|
1235
|
-
isFormItem: !0,
|
|
1236
|
-
getComponent: function() {
|
|
1237
|
-
return import("./InputMonthRange-DU8TlVfr.js");
|
|
1238
|
-
}
|
|
1239
|
-
}), registerRenderer({
|
|
1240
|
-
type: "input-quarter-range",
|
|
1241
|
-
isFormItem: !0,
|
|
1242
|
-
getComponent: function() {
|
|
1243
|
-
return import("./InputQuarterRange-CAkb2TQ0.js");
|
|
1244
|
-
}
|
|
1245
|
-
}), registerRenderer({
|
|
1246
|
-
type: "input-year-range",
|
|
1247
|
-
isFormItem: !0,
|
|
1248
|
-
getComponent: function() {
|
|
1249
|
-
return import("./InputYearRange-Aqp87FUU.js");
|
|
1250
|
-
}
|
|
1251
|
-
}), registerRenderer({
|
|
1252
|
-
type: "input-range",
|
|
1253
|
-
isFormItem: !0,
|
|
1254
|
-
getComponent: function() {
|
|
1255
|
-
return import("./InputRange-_k9JA4Ez.js");
|
|
1256
|
-
}
|
|
1257
|
-
}), registerRenderer({
|
|
1258
|
-
type: "input-array",
|
|
1259
|
-
isFormItem: !0,
|
|
1260
|
-
getComponent: function() {
|
|
1261
|
-
return import("./InputArray-DNhgr7Im.js");
|
|
1262
|
-
}
|
|
1263
|
-
}), registerRenderer({
|
|
1264
|
-
type: "combo",
|
|
1265
|
-
isFormItem: !0,
|
|
1266
|
-
getComponent: function() {
|
|
1267
|
-
return import("./Combo-mV4e8GoD.js");
|
|
1268
|
-
}
|
|
1269
|
-
}), registerRenderer({
|
|
1270
|
-
type: "input-kv",
|
|
1271
|
-
isFormItem: !0,
|
|
1272
|
-
getComponent: function() {
|
|
1273
|
-
return import("./Combo-mV4e8GoD.js");
|
|
1274
|
-
}
|
|
1275
|
-
}), registerRenderer({
|
|
1276
|
-
type: "input-kvs",
|
|
1277
|
-
isFormItem: !0,
|
|
1278
|
-
getComponent: function() {
|
|
1279
|
-
return import("./Combo-mV4e8GoD.js");
|
|
1280
|
-
}
|
|
1281
|
-
}), registerRenderer({
|
|
1282
|
-
type: "condition-builder",
|
|
1283
|
-
isFormItem: !0,
|
|
1284
|
-
getComponent: function() {
|
|
1285
|
-
return import("./ConditionBuilder-CBl4Jioc.js");
|
|
1286
|
-
}
|
|
1287
|
-
}), registerRenderer({
|
|
1288
|
-
type: "input-sub-form",
|
|
1289
|
-
isFormItem: !0,
|
|
1290
|
-
getComponent: function() {
|
|
1291
|
-
return import("./InputSubForm-BtYTSrB4.js");
|
|
1292
|
-
}
|
|
1293
|
-
}), registerRenderer({
|
|
1294
|
-
type: "input-excel",
|
|
1295
|
-
isFormItem: !0,
|
|
1296
|
-
getComponent: function() {
|
|
1297
|
-
return import("./InputExcel-DjBIVGLo.js");
|
|
1298
|
-
}
|
|
1299
|
-
}), registerRenderer({
|
|
1300
|
-
type: "input-rich-text",
|
|
1301
|
-
isFormItem: !0,
|
|
1302
|
-
getComponent: function() {
|
|
1303
|
-
return import("./InputRichText-C0NpxT6H.js");
|
|
1304
|
-
}
|
|
1305
|
-
}), registerRenderer({
|
|
1306
|
-
type: "diff-editor",
|
|
1307
|
-
isFormItem: !0,
|
|
1308
|
-
getComponent: function() {
|
|
1309
|
-
return import("./DiffEditor-fyqXITH0.js");
|
|
1310
|
-
}
|
|
1311
|
-
}), registerRenderer({
|
|
1312
|
-
type: "input-color",
|
|
1313
|
-
isFormItem: !0,
|
|
1314
|
-
getComponent: function() {
|
|
1315
|
-
return import("./InputColor-DJRDQXkw.js");
|
|
1316
|
-
}
|
|
1317
|
-
}), registerRenderer({
|
|
1318
|
-
type: "chained-select",
|
|
1319
|
-
isFormItem: !0,
|
|
1320
|
-
getComponent: function() {
|
|
1321
|
-
return import("./ChainedSelect-CFsJF5y3.js");
|
|
1322
|
-
}
|
|
1323
|
-
}), registerRenderer({
|
|
1324
|
-
type: "nested-select",
|
|
1325
|
-
isFormItem: !0,
|
|
1326
|
-
getComponent: function() {
|
|
1327
|
-
return import("./NestedSelect-CHnw2quX.js");
|
|
1328
|
-
}
|
|
1329
|
-
}), registerRenderer({
|
|
1330
|
-
type: "transfer",
|
|
1331
|
-
isFormItem: !0,
|
|
1332
|
-
getComponent: function() {
|
|
1333
|
-
return import("./Transfer-BDiet-S3.js");
|
|
1334
|
-
}
|
|
1335
|
-
}), registerRenderer({
|
|
1336
|
-
type: "transfer-picker",
|
|
1337
|
-
isFormItem: !0,
|
|
1338
|
-
getComponent: function() {
|
|
1339
|
-
return import("./TransferPicker-CoMThimo.js");
|
|
1340
|
-
}
|
|
1341
|
-
}), registerRenderer({
|
|
1342
|
-
type: "input-table",
|
|
1343
|
-
isFormItem: !0,
|
|
1344
|
-
getComponent: function() {
|
|
1345
|
-
return import("./InputTable-CGMRFZUr.js");
|
|
1346
|
-
}
|
|
1347
|
-
}), registerRenderer({
|
|
1348
|
-
type: "picker",
|
|
1349
|
-
isFormItem: !0,
|
|
1350
|
-
getComponent: function() {
|
|
1351
|
-
return import("./Picker-5cxnpnwV.js");
|
|
1352
|
-
}
|
|
1353
|
-
}), registerRenderer({
|
|
1354
|
-
type: "icon-picker",
|
|
1355
|
-
isFormItem: !0,
|
|
1356
|
-
getComponent: function() {
|
|
1357
|
-
return import("./IconPicker-eyVR_kSQ.js");
|
|
1358
|
-
}
|
|
1359
|
-
}), registerRenderer({
|
|
1360
|
-
type: "icon-select",
|
|
1361
|
-
isFormItem: !0,
|
|
1362
|
-
getComponent: function() {
|
|
1363
|
-
return import("./IconSelect-CX-y4dt9.js");
|
|
1364
|
-
}
|
|
1365
|
-
}), registerRenderer({
|
|
1366
|
-
type: "formula",
|
|
1367
|
-
isFormItem: !0,
|
|
1368
|
-
getComponent: function() {
|
|
1369
|
-
return import("./Formula-Djn7fCCV.js");
|
|
1370
|
-
}
|
|
1371
|
-
}), registerRenderer({
|
|
1372
|
-
type: "fieldset",
|
|
1373
|
-
isFormItem: !0,
|
|
1374
|
-
getComponent: function() {
|
|
1375
|
-
return import("./FieldSet-CTGWoAvC.js");
|
|
1376
|
-
}
|
|
1377
|
-
}), registerRenderer({
|
|
1378
|
-
type: "tabs-transfer",
|
|
1379
|
-
isFormItem: !0,
|
|
1380
|
-
getComponent: function() {
|
|
1381
|
-
return import("./TabsTransfer-BXtj0vE-.js");
|
|
1382
|
-
}
|
|
1383
|
-
}), registerRenderer({
|
|
1384
|
-
type: "tabs-transfer-picker",
|
|
1385
|
-
isFormItem: !0,
|
|
1386
|
-
getComponent: function() {
|
|
1387
|
-
return import("./TabsTransferPicker-DIlgk3ei.js");
|
|
1388
|
-
}
|
|
1389
|
-
}), registerRenderer({
|
|
1390
|
-
type: "group",
|
|
1391
|
-
getComponent: function() {
|
|
1392
|
-
return import("./Group-kIPmyKmJ.js");
|
|
1393
|
-
}
|
|
1394
|
-
}), registerRenderer({
|
|
1395
|
-
type: "input-group",
|
|
1396
|
-
isFormItem: !0,
|
|
1397
|
-
getComponent: function() {
|
|
1398
|
-
return import("./InputGroup-CSy_Oi7L.js");
|
|
1399
|
-
}
|
|
1400
|
-
}), registerRenderer({
|
|
1401
|
-
type: "users-select",
|
|
1402
|
-
isFormItem: !0,
|
|
1403
|
-
getComponent: function() {
|
|
1404
|
-
return import("./UserSelect-DQzTWNEb.js");
|
|
1405
|
-
}
|
|
1406
|
-
}), registerRenderer({
|
|
1407
|
-
type: "input-signature",
|
|
1408
|
-
isFormItem: !0,
|
|
1409
|
-
getComponent: function() {
|
|
1410
|
-
return import("./InputSignature-D0qET_Np.js");
|
|
1411
|
-
}
|
|
1412
|
-
}), registerRenderer({
|
|
1413
|
-
type: "input-verification-code",
|
|
1414
|
-
isFormItem: !0,
|
|
1415
|
-
getComponent: function() {
|
|
1416
|
-
return import("./InputVerificationCode-B_Pt9Ykt.js");
|
|
1417
|
-
}
|
|
1418
|
-
}), registerRenderer({
|
|
1419
|
-
type: "grid-2d",
|
|
1420
|
-
getComponent: function() {
|
|
1421
|
-
return import("./Grid2D-C79HuAFZ.js");
|
|
1422
|
-
}
|
|
1423
|
-
}), registerRenderer({
|
|
1424
|
-
type: "hbox",
|
|
1425
|
-
getComponent: function() {
|
|
1426
|
-
return import("./HBox-DdghBtxG.js");
|
|
1427
|
-
}
|
|
1428
|
-
}), registerRenderer({
|
|
1429
|
-
type: "vbox",
|
|
1430
|
-
getComponent: function() {
|
|
1431
|
-
return import("./VBox-jpFiQClW.js");
|
|
1432
|
-
}
|
|
1433
|
-
}), registerRenderer({
|
|
1434
|
-
type: "image",
|
|
1435
|
-
getComponent: function() {
|
|
1436
|
-
return import("./Image-DYN6XwCv.js");
|
|
1437
|
-
}
|
|
1438
|
-
}), registerRenderer({
|
|
1439
|
-
type: "images",
|
|
1440
|
-
getComponent: function() {
|
|
1441
|
-
return import("./Images-C_0GsHXi.js");
|
|
1442
|
-
}
|
|
1443
|
-
}), registerRenderer({
|
|
1444
|
-
type: "list",
|
|
1445
|
-
getComponent: function() {
|
|
1446
|
-
return import("./List-BKMt5KwT.js");
|
|
1447
|
-
}
|
|
1448
|
-
}), registerRenderer({
|
|
1449
|
-
type: "log",
|
|
1450
|
-
getComponent: function() {
|
|
1451
|
-
return import("./Log-DJEArjlY.js");
|
|
1452
|
-
}
|
|
1453
|
-
}), registerRenderer({
|
|
1454
|
-
type: "operation",
|
|
1455
|
-
getComponent: function() {
|
|
1456
|
-
return import("./Operation-CufqCpnG.js");
|
|
1457
|
-
}
|
|
1458
|
-
}), registerRenderer({
|
|
1459
|
-
type: "page",
|
|
1460
|
-
getComponent: function() {
|
|
1461
|
-
return import("./Page-DCnma03q.js");
|
|
1462
|
-
}
|
|
1463
|
-
}), registerRenderer({
|
|
1464
|
-
type: "pagination-wrapper",
|
|
1465
|
-
getComponent: function() {
|
|
1466
|
-
return import("./PaginationWrapper-B-j0uFhf.js");
|
|
1467
|
-
}
|
|
1468
|
-
}), registerRenderer({
|
|
1469
|
-
type: "panel",
|
|
1470
|
-
getComponent: function() {
|
|
1471
|
-
return import("./Panel-CdZuyRjC.js");
|
|
1472
|
-
}
|
|
1473
|
-
}), registerRenderer({
|
|
1474
|
-
type: "plain",
|
|
1475
|
-
alias: ["text"],
|
|
1476
|
-
getComponent: function() {
|
|
1477
|
-
return import("./Plain-CPFHDxkg.js");
|
|
1478
|
-
}
|
|
1479
|
-
}), registerRenderer({
|
|
1480
|
-
type: "property",
|
|
1481
|
-
getComponent: function() {
|
|
1482
|
-
return import("./Property-BnEjeZVl.js");
|
|
1483
|
-
}
|
|
1484
|
-
}), registerRenderer({
|
|
1485
|
-
type: "portlet",
|
|
1486
|
-
getComponent: function() {
|
|
1487
|
-
return import("./Portlet-9v4hDYGt.js");
|
|
1488
|
-
}
|
|
1489
|
-
}), registerRenderer({
|
|
1490
|
-
type: "spinner",
|
|
1491
|
-
getComponent: function() {
|
|
1492
|
-
return import("./Spinner-3hXPV1FN.js");
|
|
1493
|
-
}
|
|
1494
|
-
}), registerRenderer({
|
|
1495
|
-
type: "table",
|
|
1496
|
-
getComponent: function() {
|
|
1497
|
-
return import("./Table-BaCrZbR5.js");
|
|
1498
|
-
}
|
|
1499
|
-
}), registerRenderer({
|
|
1500
|
-
type: "tabs",
|
|
1501
|
-
getComponent: function() {
|
|
1502
|
-
return import("./Tabs-CC5ITl4F.js");
|
|
1503
|
-
}
|
|
1504
|
-
}), registerRenderer({
|
|
1505
|
-
type: "tpl",
|
|
1506
|
-
alias: ["html"],
|
|
1507
|
-
getComponent: function() {
|
|
1508
|
-
return import("./Tpl-C8SFSbv-.js");
|
|
1509
|
-
}
|
|
1510
|
-
}), registerRenderer({
|
|
1511
|
-
type: "mapping",
|
|
1512
|
-
alias: ["map"],
|
|
1513
|
-
getComponent: function() {
|
|
1514
|
-
return import("./Mapping-DdrG3Ztj.js");
|
|
1515
|
-
}
|
|
1516
|
-
}), registerRenderer({
|
|
1517
|
-
type: "progress",
|
|
1518
|
-
getComponent: function() {
|
|
1519
|
-
return import("./Progress-CiHMdfZl.js");
|
|
1520
|
-
}
|
|
1521
|
-
}), registerRenderer({
|
|
1522
|
-
type: "status",
|
|
1523
|
-
getComponent: function() {
|
|
1524
|
-
return import("./Status-BWasOOK9.js");
|
|
1525
|
-
}
|
|
1526
|
-
}), registerRenderer({
|
|
1527
|
-
type: "json",
|
|
1528
|
-
getComponent: function() {
|
|
1529
|
-
return import("./Json-2q0fMUg1.js");
|
|
1530
|
-
}
|
|
1531
|
-
}), registerRenderer({
|
|
1532
|
-
type: "link",
|
|
1533
|
-
getComponent: function() {
|
|
1534
|
-
return import("./Link-B8iRSer9.js");
|
|
1535
|
-
}
|
|
1536
|
-
}), registerRenderer({
|
|
1537
|
-
type: "wizard",
|
|
1538
|
-
getComponent: function() {
|
|
1539
|
-
return import("./Wizard-B0z3wr80.js");
|
|
1540
|
-
}
|
|
1541
|
-
}), registerRenderer({
|
|
1542
|
-
type: "chart",
|
|
1543
|
-
getComponent: function() {
|
|
1544
|
-
return import("./Chart-CYLdl6k0.js");
|
|
1545
|
-
}
|
|
1546
|
-
}), registerRenderer({
|
|
1547
|
-
type: "container",
|
|
1548
|
-
getComponent: function() {
|
|
1549
|
-
return import("./Container-B28GA5ym.js");
|
|
1550
|
-
}
|
|
1551
|
-
}), registerRenderer({
|
|
1552
|
-
type: "switch-container",
|
|
1553
|
-
getComponent: function() {
|
|
1554
|
-
return import("./SwitchContainer-D3dNc78M.js");
|
|
1555
|
-
}
|
|
1556
|
-
}), registerRenderer({
|
|
1557
|
-
type: "search-box",
|
|
1558
|
-
getComponent: function() {
|
|
1559
|
-
return import("./SearchBox-yVg7P7NW.js");
|
|
1560
|
-
}
|
|
1561
|
-
}), registerRenderer({
|
|
1562
|
-
type: "service",
|
|
1563
|
-
getComponent: function() {
|
|
1564
|
-
return import("./Service-DIFAk9JU.js");
|
|
1565
|
-
}
|
|
1566
|
-
}), registerRenderer({
|
|
1567
|
-
type: "sparkline",
|
|
1568
|
-
getComponent: function() {
|
|
1569
|
-
return import("./SparkLine-Bc2KqhrP.js");
|
|
1570
|
-
}
|
|
1571
|
-
}), registerRenderer({
|
|
1572
|
-
type: "video",
|
|
1573
|
-
getComponent: function() {
|
|
1574
|
-
return import("./Video-D_LLCdU7.js");
|
|
1575
|
-
}
|
|
1576
|
-
}), registerRenderer({
|
|
1577
|
-
type: "audio",
|
|
1578
|
-
getComponent: function() {
|
|
1579
|
-
return import("./Audio-XJ-ya7eJ.js");
|
|
1580
|
-
}
|
|
1581
|
-
}), registerRenderer({
|
|
1582
|
-
type: "nav",
|
|
1583
|
-
alias: ["navigation"],
|
|
1584
|
-
getComponent: function() {
|
|
1585
|
-
return import("./Nav-5b-3S31N.js");
|
|
1586
|
-
}
|
|
1587
|
-
}), registerRenderer({
|
|
1588
|
-
type: "number",
|
|
1589
|
-
getComponent: function() {
|
|
1590
|
-
return import("./Number-cMwAUHkr.js");
|
|
1591
|
-
}
|
|
1592
|
-
}), registerRenderer({
|
|
1593
|
-
type: "tasks",
|
|
1594
|
-
getComponent: function() {
|
|
1595
|
-
return import("./Tasks-6kY93Am4.js");
|
|
1596
|
-
}
|
|
1597
|
-
}), registerRenderer({
|
|
1598
|
-
type: "drawer",
|
|
1599
|
-
getComponent: function() {
|
|
1600
|
-
return import("./Drawer-DftiktlX.js");
|
|
1601
|
-
}
|
|
1602
|
-
}), registerRenderer({
|
|
1603
|
-
type: "wrapper",
|
|
1604
|
-
getComponent: function() {
|
|
1605
|
-
return import("./Wrapper-HYrWbYb6.js");
|
|
1606
|
-
}
|
|
1607
|
-
}), registerRenderer({
|
|
1608
|
-
type: "iframe",
|
|
1609
|
-
getComponent: function() {
|
|
1610
|
-
return import("./IFrame-9oEnVjDw.js");
|
|
1611
|
-
}
|
|
1612
|
-
}), registerRenderer({
|
|
1613
|
-
type: "barcode",
|
|
1614
|
-
getComponent: function() {
|
|
1615
|
-
return import("./BarCode-Ddyw9A94.js");
|
|
1616
|
-
}
|
|
1617
|
-
}), registerRenderer({
|
|
1618
|
-
type: "qrcode",
|
|
1619
|
-
alias: ["qr-code"],
|
|
1620
|
-
getComponent: function() {
|
|
1621
|
-
return import("./QRCode-BUFMyD3p.js");
|
|
1622
|
-
}
|
|
1623
|
-
}), registerRenderer({
|
|
1624
|
-
type: "icon",
|
|
1625
|
-
getComponent: function() {
|
|
1626
|
-
return import("./Icon-CLZR3aiB.js");
|
|
1627
|
-
}
|
|
1628
|
-
}), registerRenderer({
|
|
1629
|
-
type: "carousel",
|
|
1630
|
-
getComponent: function() {
|
|
1631
|
-
return import("./Carousel-Crf07aHf.js");
|
|
1632
|
-
}
|
|
1633
|
-
}), registerRenderer({
|
|
1634
|
-
type: "anchor-nav",
|
|
1635
|
-
getComponent: function() {
|
|
1636
|
-
return import("./AnchorNav-BQgaqBoy.js");
|
|
1637
|
-
}
|
|
1638
|
-
}), registerRenderer({
|
|
1639
|
-
type: "steps",
|
|
1640
|
-
getComponent: function() {
|
|
1641
|
-
return import("./Steps-DJRoyvU0.js");
|
|
1642
|
-
}
|
|
1643
|
-
}), registerRenderer({
|
|
1644
|
-
type: "timeline",
|
|
1645
|
-
getComponent: function() {
|
|
1646
|
-
return import("./Timeline-D2j_CiFR.js");
|
|
1647
|
-
}
|
|
1648
|
-
}), registerRenderer({
|
|
1649
|
-
type: "markdown",
|
|
1650
|
-
getComponent: function() {
|
|
1651
|
-
return import("./Markdown-CuqQU4CA.js");
|
|
1652
|
-
}
|
|
1653
|
-
}), registerRenderer({
|
|
1654
|
-
type: "table-view",
|
|
1655
|
-
getComponent: function() {
|
|
1656
|
-
return import("./TableView-IVH5o169.js");
|
|
1657
|
-
}
|
|
1658
|
-
}), registerRenderer({
|
|
1659
|
-
type: "code",
|
|
1660
|
-
getComponent: function() {
|
|
1661
|
-
return import("./Code-BIDd8kXb.js");
|
|
1662
|
-
}
|
|
1663
|
-
}), registerRenderer({
|
|
1664
|
-
type: "web-component",
|
|
1665
|
-
getComponent: function() {
|
|
1666
|
-
return import("./WebComponent-DiKfJl3_.js");
|
|
1667
|
-
}
|
|
1668
|
-
}), registerRenderer({
|
|
1669
|
-
type: "grid-nav",
|
|
1670
|
-
getComponent: function() {
|
|
1671
|
-
return import("./GridNav-CE6lQbai.js");
|
|
1672
|
-
}
|
|
1673
|
-
}), registerRenderer({
|
|
1674
|
-
type: "tooltip-wrapper",
|
|
1675
|
-
getComponent: function() {
|
|
1676
|
-
return import("./TooltipWrapper-yKnGGKt7.js");
|
|
1677
|
-
}
|
|
1678
|
-
}), registerRenderer({
|
|
1679
|
-
type: "tag",
|
|
1680
|
-
getComponent: function() {
|
|
1681
|
-
return import("./Tag-BQHuKVQ1.js");
|
|
1682
|
-
}
|
|
1683
|
-
}), registerRenderer({
|
|
1684
|
-
type: "table2",
|
|
1685
|
-
getComponent: function() {
|
|
1686
|
-
return import("./Table2-MEQHOl_4.js");
|
|
1687
|
-
}
|
|
1688
|
-
}), registerRenderer({
|
|
1689
|
-
type: "column-toggler",
|
|
1690
|
-
getComponent: function() {
|
|
1691
|
-
return import("./ColumnToggler-DwURF6Gb.js");
|
|
1692
|
-
}
|
|
1693
|
-
}), registerRenderer({
|
|
1694
|
-
type: "words",
|
|
1695
|
-
getComponent: function() {
|
|
1696
|
-
return import("./Words-B4Munegf.js");
|
|
1697
|
-
}
|
|
1698
|
-
}), registerRenderer({
|
|
1699
|
-
type: "tags",
|
|
1700
|
-
getComponent: function() {
|
|
1701
|
-
return import("./Words-B4Munegf.js");
|
|
1702
|
-
}
|
|
1703
|
-
}), registerRenderer({
|
|
1704
|
-
type: "password",
|
|
1705
|
-
getComponent: function() {
|
|
1706
|
-
return import("./Password-DklNUFUB.js");
|
|
1707
|
-
}
|
|
1708
|
-
}), registerRenderer({
|
|
1709
|
-
type: "date-range",
|
|
1710
|
-
getComponent: function() {
|
|
1711
|
-
return import("./DateRange-ChlEtQuv.js");
|
|
1712
|
-
}
|
|
1713
|
-
}), registerRenderer({
|
|
1714
|
-
type: "multiline-text",
|
|
1715
|
-
getComponent: function() {
|
|
1716
|
-
return import("./MultilineText-BmZvDSK_.js");
|
|
1717
|
-
}
|
|
1718
|
-
}), registerRenderer({
|
|
1719
|
-
type: "office-viewer",
|
|
1720
|
-
getComponent: function() {
|
|
1721
|
-
return import("./OfficeViewer-CF4PyOxB.js");
|
|
1722
|
-
}
|
|
1723
|
-
}), registerRenderer({
|
|
1724
|
-
type: "pdf-viewer",
|
|
1725
|
-
getComponent: function() {
|
|
1726
|
-
return import("./PdfViewer-CkLbk1Th.js");
|
|
1727
|
-
}
|
|
1728
|
-
}), registerRenderer({
|
|
1729
|
-
type: "amis",
|
|
1730
|
-
getComponent: function() {
|
|
1731
|
-
return import("./AMIS-C5eEfOtM.js");
|
|
1732
|
-
}
|
|
1733
|
-
}), registerRenderer({
|
|
1734
|
-
type: "slider",
|
|
1735
|
-
getComponent: function() {
|
|
1736
|
-
return import("./Slider-C87MpqPU.js");
|
|
1737
|
-
}
|
|
1738
|
-
});
|
|
1739
|
-
function guid() {
|
|
1740
|
-
return "mk-" + "xxxxxxxx".replace(/x/g, function(e) {
|
|
1741
|
-
return ((Math.random() * 16 | 0) & 3 | 8).toString(16);
|
|
1742
|
-
});
|
|
1743
|
-
}
|
|
1744
|
-
function setBorderStyle(e, A) {
|
|
1745
|
-
A.borderWidth !== void 0 && e.setAttribute("stroke-width", `${A.borderWidth}`), A.borderColor !== void 0 && e.setAttribute("stroke", A.borderColor), A.borderRadius !== void 0 && e.setAttribute("rx", `${A.borderRadius}`), A.borderRadius && e.setAttribute("stroke-linecap", "round");
|
|
1746
|
-
}
|
|
1747
|
-
function mk(e, A) {
|
|
1748
|
-
var j = A.colorScheme, M = A.borderRadius, N = A.borderWidth, P = A.borderColor, F = A.supportBorderRadius, I = A.width, L = A.height, R = A.shadow, z = new DOMParser().parseFromString(e, "image/svg+xml").documentElement, B = z.querySelectorAll("rect"), V = z.querySelectorAll("path"), U = z.querySelectorAll("polygon"), G = __spreadArray(__spreadArray(__spreadArray([], __read(V), !1), __read(U), !1), __read(B), !1);
|
|
1749
|
-
if (F !== !1) {
|
|
1750
|
-
var K = __read((z.getAttribute("viewBox") || "0 0").split(" "), 2), q = K[0], J = K[1];
|
|
1751
|
-
z.setAttribute("viewBox", `${q} ${J} ${I} ${L}`), B.forEach(function(e) {
|
|
1752
|
-
e.setAttribute("width", `${I}`), e.setAttribute("height", `${L}`);
|
|
1753
|
-
});
|
|
1754
|
-
}
|
|
1755
|
-
G.forEach(function(e) {
|
|
1756
|
-
setBorderStyle(e, {
|
|
1757
|
-
borderWidth: N,
|
|
1758
|
-
borderColor: P,
|
|
1759
|
-
borderRadius: M
|
|
1760
|
-
});
|
|
1761
|
-
});
|
|
1762
|
-
var Y = z.querySelectorAll("linearGradient"), X = z.querySelector("style"), Z = /* @__PURE__ */ new Map();
|
|
1763
|
-
Y.length && Y.forEach(function(e) {
|
|
1764
|
-
var A = e.getAttribute("id");
|
|
1765
|
-
A && Z.set(A, guid());
|
|
1766
|
-
}), X && ((X.textContent || "").match(/\.[a-zA-Z0-9_-]+/g)?.map(function(e) {
|
|
1767
|
-
return e.replace(".", "");
|
|
1768
|
-
}) || []).forEach(function(e) {
|
|
1769
|
-
Z.set(e, guid());
|
|
1770
|
-
});
|
|
1771
|
-
var Q = { overflow: "visible" };
|
|
1772
|
-
R?.enable && (Q.filter = `drop-shadow(${R.direction}px ${R.direction}px ${R.blur}px ${R.color})`);
|
|
1773
|
-
var $ = z.outerHTML;
|
|
1774
|
-
return j && Object.keys(j).forEach(function(e) {
|
|
1775
|
-
$ = $.replace(new RegExp(e, "g"), j[e]);
|
|
1776
|
-
}), Z.forEach(function(e, A) {
|
|
1777
|
-
$ = $.replace(new RegExp(A, "g"), e);
|
|
1778
|
-
}), {
|
|
1779
|
-
icon: $,
|
|
1780
|
-
style: Q
|
|
1781
|
-
};
|
|
1782
|
-
}
|
|
1783
|
-
registerCustomVendor("mk", mk);
|
|
1784
|
-
var mergeWith_default = _createAssigner_default(function(e, A, j, M) {
|
|
1785
|
-
_baseMerge_default(e, A, j, M);
|
|
1786
|
-
});
|
|
1787
|
-
async function getAccessToken(e, A, j) {
|
|
1788
|
-
let M = {
|
|
1789
|
-
authorization_code: e,
|
|
1790
|
-
code_verifier: j
|
|
1791
|
-
};
|
|
1792
|
-
return await (await fetch(`${A}/v1/payout/auth/token`, {
|
|
1793
|
-
method: "POST",
|
|
1794
|
-
body: JSON.stringify(M),
|
|
1795
|
-
headers: { "Content-Type": "application/json" }
|
|
1796
|
-
})).json();
|
|
1797
|
-
}
|
|
1798
|
-
async function refreshAccessToken(e, A) {
|
|
1799
|
-
let j = { refresh_token: e };
|
|
1800
|
-
return await (await fetch(`${A}/v1/payout/auth/token/refresh`, {
|
|
1801
|
-
method: "POST",
|
|
1802
|
-
body: JSON.stringify(j),
|
|
1803
|
-
headers: { "Content-Type": "application/json" }
|
|
1804
|
-
})).json();
|
|
1805
|
-
}
|
|
1806
|
-
function parseExpiresIn(e) {
|
|
1807
|
-
let A = Date.parse(e);
|
|
1808
|
-
if (!isNaN(A)) {
|
|
1809
|
-
let e = Date.now(), j = Math.floor((A - e) / 1e3);
|
|
1810
|
-
return j > 0 ? j : 0;
|
|
1811
|
-
}
|
|
1812
|
-
return 0;
|
|
1813
|
-
}
|
|
1814
|
-
var refreshTimer = null, refreshPromise = null, getAccessTokenPromise = null, REFRESH_LEAD_OFFSET_SECONDS = 300;
|
|
1815
|
-
function scheduleTokenRefresh(e, A) {
|
|
1816
|
-
refreshTimer &&= (clearTimeout(refreshTimer), null);
|
|
1817
|
-
let N = parseExpiresIn(e);
|
|
1818
|
-
if (N <= 0) return;
|
|
1819
|
-
let P = Math.max(0, (N - REFRESH_LEAD_OFFSET_SECONDS) * 1e3);
|
|
1820
|
-
refreshTimer = setTimeout(async () => {
|
|
1821
|
-
try {
|
|
1822
|
-
let e = localStorage.getItem(REFRESH_TOKEN_KEY);
|
|
1823
|
-
if (!e) return;
|
|
1824
|
-
let N = await refreshAccessToken(e, A);
|
|
1825
|
-
N.access_token && N.refresh_token && (localStorage.setItem(ACCESS_TOKEN_KEY, N.access_token), localStorage.setItem(REFRESH_TOKEN_KEY, N.refresh_token), scheduleTokenRefresh(N.expires_in, A));
|
|
1826
|
-
} catch (e) {
|
|
1827
|
-
console.error("[payout-sdk] Auto refresh token failed:", e), refreshTimer &&= (clearTimeout(refreshTimer), null);
|
|
1828
|
-
}
|
|
1829
|
-
}, P);
|
|
1830
|
-
}
|
|
1831
|
-
function clearTokenRefreshTimer() {
|
|
1832
|
-
refreshTimer &&= (clearTimeout(refreshTimer), null);
|
|
1833
|
-
}
|
|
1834
|
-
function clearToken() {
|
|
1835
|
-
localStorage.removeItem(ACCESS_TOKEN_KEY), localStorage.removeItem(REFRESH_TOKEN_KEY);
|
|
1836
|
-
}
|
|
1837
|
-
function setToken(e, A) {
|
|
1838
|
-
localStorage.setItem(ACCESS_TOKEN_KEY, e), localStorage.setItem(REFRESH_TOKEN_KEY, A);
|
|
1839
|
-
}
|
|
1840
|
-
async function getAccessTokenWithSingleton(e, A, j) {
|
|
1841
|
-
if (getAccessTokenPromise) return getAccessTokenPromise;
|
|
1842
|
-
getAccessTokenPromise = (async () => {
|
|
1843
|
-
if (!j) throw Error("[payout-sdk] codeVerifier is required");
|
|
1844
|
-
let M = await getAccessToken(e, A, j);
|
|
1845
|
-
if (!M.access_token || !M.refresh_token) throw clearToken(), Error("[payout-sdk] getAccessToken failed, check authCode validity");
|
|
1846
|
-
return setToken(M.access_token, M.refresh_token), scheduleTokenRefresh(M.expires_in, A), M;
|
|
1847
|
-
})();
|
|
1848
|
-
try {
|
|
1849
|
-
return await getAccessTokenPromise;
|
|
1850
|
-
} finally {
|
|
1851
|
-
getAccessTokenPromise = null;
|
|
1852
|
-
}
|
|
1853
|
-
}
|
|
1854
|
-
async function refreshToken(e) {
|
|
1855
|
-
if (refreshPromise) return refreshPromise;
|
|
1856
|
-
refreshPromise = (async () => {
|
|
1857
|
-
let A = localStorage.getItem(REFRESH_TOKEN_KEY);
|
|
1858
|
-
if (!A) throw Error("[payout-sdk] No refresh token available");
|
|
1859
|
-
let M = await refreshAccessToken(A, e);
|
|
1860
|
-
if (!M.access_token || !M.refresh_token) throw clearToken(), clearTokenRefreshTimer(), Error("[payout-sdk] Refresh token failed");
|
|
1861
|
-
return setToken(M.access_token, M.refresh_token), scheduleTokenRefresh(M.expires_in, e), M.access_token;
|
|
1862
|
-
})();
|
|
1863
|
-
try {
|
|
1864
|
-
return await refreshPromise;
|
|
1865
|
-
} finally {
|
|
1866
|
-
refreshPromise = null;
|
|
1867
|
-
}
|
|
1868
|
-
}
|
|
1869
|
-
async function fetchWithAuth(e, A, j, N = 1) {
|
|
1870
|
-
if (N < 0) throw Error("[payout-sdk] fetchWithAuth retries exceeded");
|
|
1871
|
-
let { headers: P, authCode: F, domain: I, codeVerifier: L } = j;
|
|
1872
|
-
localStorage.getItem("midas_payout_access_token") || await getAccessTokenWithSingleton(F, I, L);
|
|
1873
|
-
let R = await fetch(new URL(e, I), {
|
|
1874
|
-
...j,
|
|
1875
|
-
body: JSON.stringify({
|
|
1876
|
-
...A,
|
|
1877
|
-
access_token: localStorage.getItem(ACCESS_TOKEN_KEY)
|
|
1878
|
-
}),
|
|
1879
|
-
headers: {
|
|
1880
|
-
...P,
|
|
1881
|
-
"Content-Type": "application/json"
|
|
1882
|
-
}
|
|
1883
|
-
});
|
|
1884
|
-
if (R.status === 400) {
|
|
1885
|
-
let M = await R.json();
|
|
1886
|
-
if (M.name != "INTERNAL_ERROR" && M.name != "INVALID_TOKEN") throw toast.error(`${M.name}: ${M.message}`), Error(`[payout-sdk] ${M.name}: ${M.message}`);
|
|
1887
|
-
if (localStorage.getItem("midas_payout_refresh_token")) try {
|
|
1888
|
-
return await refreshToken(I), fetchWithAuth(e, A, j, --N);
|
|
1889
|
-
} catch (e) {
|
|
1890
|
-
console.error("[payout-sdk] Refresh token failed:", e);
|
|
1891
|
-
}
|
|
1892
|
-
return await getAccessTokenWithSingleton(F, I, L), fetchWithAuth(e, A, j, --N);
|
|
1893
|
-
}
|
|
1894
|
-
return R;
|
|
1895
|
-
}
|
|
1896
|
-
var import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
1897
|
-
function getAmisLocale(e) {
|
|
1898
|
-
return e && e.startsWith("zh") ? "zh_CN" : "en_US";
|
|
1899
|
-
}
|
|
1900
|
-
async function getCountryInfos(e, A, j) {
|
|
1901
|
-
return (await (await fetchWithAuth("/v1/payout/beneficiary/token/countryinfos", {}, {
|
|
1902
|
-
method: "POST",
|
|
1903
|
-
authCode: e,
|
|
1904
|
-
domain: A,
|
|
1905
|
-
codeVerifier: j
|
|
1906
|
-
})).json()).country_infos || [];
|
|
1907
|
-
}
|
|
1908
|
-
async function getPaymentMethodsInfo(e, A, j, M) {
|
|
1909
|
-
return await (await fetchWithAuth("/v1/payout/beneficiary/token/paymentmethodinfos", { region_code: e }, {
|
|
1910
|
-
method: "POST",
|
|
1911
|
-
authCode: A,
|
|
1912
|
-
domain: j,
|
|
1913
|
-
codeVerifier: M
|
|
1914
|
-
})).json();
|
|
1915
|
-
}
|
|
1916
|
-
function getTransferMethodSchema({ inputPayoutType: e, inputCurrency: A }, j, M, N) {
|
|
1917
|
-
let P = [];
|
|
1918
|
-
for (let M of Object.values(j.countries)) {
|
|
1919
|
-
let j = M.payoutTypes?.[e]?.currencies;
|
|
1920
|
-
if (j) for (let [e, M] of Object.entries(j)) e === A && P.push(M);
|
|
1921
|
-
}
|
|
1922
|
-
if (P.length !== 0) return {
|
|
1923
|
-
type: "list-select",
|
|
1924
|
-
name: "inputPaymentMethod",
|
|
1925
|
-
label: M("paymentMethodInputLabel", "Transfer method"),
|
|
1926
|
-
options: P.map((e) => ({
|
|
1927
|
-
value: e.payment_method,
|
|
1928
|
-
body: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1929
|
-
className: "flex font-bold",
|
|
1930
|
-
children: e.display_name
|
|
1931
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1932
|
-
className: "flex mt-1",
|
|
1933
|
-
children: e.description
|
|
1934
|
-
})] })
|
|
1935
|
-
})),
|
|
1936
|
-
value: N?.payment_method
|
|
1937
|
-
};
|
|
1938
|
-
}
|
|
1939
|
-
async function getBeneficiarySchema({ inputRegionCode: e, inputCurrency: A, inputPaymentMethod: j }, M, N, P, F) {
|
|
1940
|
-
if (!e || !A || !j || !N || !P || !F) return;
|
|
1941
|
-
let I = await (await fetchWithAuth("/v1/payout/beneficiary/form/schema/token/query", {
|
|
1942
|
-
payment_method: j,
|
|
1943
|
-
region: e,
|
|
1944
|
-
currency: A,
|
|
1945
|
-
local_clearing_system: "",
|
|
1946
|
-
version: "v1",
|
|
1947
|
-
entity_type: "ENTITY_TYPE_PERSONAL",
|
|
1948
|
-
beneficiary_info: JSON.stringify(M)
|
|
1949
|
-
}, {
|
|
1950
|
-
method: "POST",
|
|
1951
|
-
authCode: N,
|
|
1952
|
-
domain: P,
|
|
1953
|
-
codeVerifier: F
|
|
1954
|
-
})).json();
|
|
1955
|
-
return JSON.parse(I.beneficiary_schema.amis_page.replace(/Area Code/g, "AREA_CODE"));
|
|
1956
|
-
}
|
|
1957
|
-
function convertEntityTypeToPayoutType(e) {
|
|
1958
|
-
return "B2P";
|
|
1959
|
-
}
|
|
1960
|
-
function BeneficiaryForm$1({ authCode: e, domain: A, codeVerifier: j, emitter: M, defaultValues: P = {}, customizations: F, locale: I }) {
|
|
1961
|
-
let { t: L } = useTranslate("beneficiaryForm"), [R, z] = (0, import_react.useState)([]), [B, V] = (0, import_react.useState)({
|
|
1962
|
-
inputPayoutType: convertEntityTypeToPayoutType(P?.beneficiary?.entity_details?.type) || "B2P",
|
|
1963
|
-
inputPaymentMethod: P?.payment_method,
|
|
1964
|
-
inputRegionCode: P?.beneficiary?.address?.country,
|
|
1965
|
-
inputCurrency: P?.receive_currency
|
|
1966
|
-
}), [H, U] = (0, import_react.useState)(), [W, G] = (0, import_react.useState)(), K = (0, import_react.useMemo)(() => !F?.layout?.find((e) => e.name === "bankDetails")?.hidden, [F?.layout]), q = (0, import_react.useMemo)(() => {
|
|
1967
|
-
let e = /* @__PURE__ */ new Set();
|
|
1968
|
-
return R.filter((A) => A.country_number && !e.has(A.country_number) && e.add(A.country_number)).map((e) => ({
|
|
1969
|
-
label: e.country_name_standard || e.country_name,
|
|
1970
|
-
value: e.country_code
|
|
1971
|
-
})).sort((e, A) => e.label.localeCompare(A.label));
|
|
1972
|
-
}, [R]), [J, Y] = (0, import_react.useState)();
|
|
1973
|
-
useDeepCompareEffect_default(() => {
|
|
1974
|
-
if (!B?.inputRegionCode || !B?.inputPayoutType) return;
|
|
1975
|
-
let M = B.inputRegionCode;
|
|
1976
|
-
getPaymentMethodsInfo(M, e, A, j).then((e) => {
|
|
1977
|
-
U(e);
|
|
1978
|
-
let A = e.currency_display_order || [];
|
|
1979
|
-
A.length > 0 && Y(A.map((e) => ({
|
|
1980
|
-
label: e,
|
|
1981
|
-
value: e
|
|
1982
|
-
})));
|
|
1983
|
-
});
|
|
1984
|
-
}, [
|
|
1985
|
-
e,
|
|
1986
|
-
j,
|
|
1987
|
-
A,
|
|
1988
|
-
B?.inputPayoutType,
|
|
1989
|
-
B.inputRegionCode
|
|
1990
|
-
]);
|
|
1991
|
-
let X = (0, import_react.useMemo)(() => {
|
|
1992
|
-
if (!(!B?.inputCurrency || !B?.inputPayoutType || !H)) return getTransferMethodSchema({
|
|
1993
|
-
inputPayoutType: B.inputPayoutType,
|
|
1994
|
-
inputCurrency: B.inputCurrency
|
|
1995
|
-
}, H, L, P);
|
|
1996
|
-
}, [
|
|
1997
|
-
P,
|
|
1998
|
-
B,
|
|
1999
|
-
H,
|
|
2000
|
-
L
|
|
2001
|
-
]), Z = (0, import_react.useMemo)(() => {
|
|
2002
|
-
if (!(R.length === 0 || !X || !B?.inputPaymentMethod || !B?.inputRegionCode || !B?.inputCurrency)) return W;
|
|
2003
|
-
}, [
|
|
2004
|
-
R,
|
|
2005
|
-
B,
|
|
2006
|
-
W,
|
|
2007
|
-
X
|
|
2008
|
-
]);
|
|
2009
|
-
useDeepCompareEffect_default(() => {
|
|
2010
|
-
getBeneficiarySchema({
|
|
2011
|
-
inputPaymentMethod: B.inputPaymentMethod,
|
|
2012
|
-
inputRegionCode: B.inputRegionCode,
|
|
2013
|
-
inputCurrency: B.inputCurrency
|
|
2014
|
-
}, P, e, A, j).then((e) => {
|
|
2015
|
-
if (!e) return;
|
|
2016
|
-
let A = e.body.findIndex((e) => e.type === "form");
|
|
2017
|
-
e.body[A].api.url = "/api/form", e.body[A].api.requestAdaptor = function(e, A) {
|
|
2018
|
-
return e?.body?.value && M.emit("submit", mergeWith_default(P, e.body.value, (e, A) => {
|
|
2019
|
-
if (Array.isArray(e)) return e.concat(A);
|
|
2020
|
-
})), { mockResponse: {
|
|
2021
|
-
status: 200,
|
|
2022
|
-
data: {
|
|
2023
|
-
status: 0,
|
|
2024
|
-
data: { name: "mock value" }
|
|
2025
|
-
}
|
|
2026
|
-
} };
|
|
2027
|
-
}, G(e);
|
|
2028
|
-
});
|
|
2029
|
-
}, [
|
|
2030
|
-
e,
|
|
2031
|
-
j,
|
|
2032
|
-
P,
|
|
2033
|
-
A,
|
|
2034
|
-
M,
|
|
2035
|
-
B
|
|
2036
|
-
]);
|
|
2037
|
-
let Q = (0, import_react.useMemo)(() => ({
|
|
2038
|
-
type: "page",
|
|
2039
|
-
visible: K,
|
|
2040
|
-
body: {
|
|
2041
|
-
type: "spinner",
|
|
2042
|
-
show: R.length === 0,
|
|
2043
|
-
overlay: !0,
|
|
2044
|
-
body: [{
|
|
2045
|
-
type: "form",
|
|
2046
|
-
title: L("title", "Bank Details"),
|
|
2047
|
-
submitText: "",
|
|
2048
|
-
onChange: (e) => {
|
|
2049
|
-
let A = e.inputRegionCode, j = e.inputRegionCode ? e.inputCurrency : "", M = e.inputRegionCode ? e.inputPaymentMethod : "";
|
|
2050
|
-
V({
|
|
2051
|
-
inputPayoutType: e.inputPayoutType,
|
|
2052
|
-
inputPaymentMethod: M,
|
|
2053
|
-
inputRegionCode: A,
|
|
2054
|
-
inputCurrency: j
|
|
2055
|
-
});
|
|
2056
|
-
},
|
|
2057
|
-
body: [
|
|
2058
|
-
{
|
|
2059
|
-
label: L("regionInputLabel", "Bank Location"),
|
|
2060
|
-
type: "input-text",
|
|
2061
|
-
creatable: !1,
|
|
2062
|
-
name: "inputRegionCode",
|
|
2063
|
-
options: q,
|
|
2064
|
-
value: B?.inputRegionCode
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
label: L("payoutTypeInputLabel", "Bank account type"),
|
|
2068
|
-
type: "radios",
|
|
2069
|
-
name: "inputPayoutType",
|
|
2070
|
-
selectFirst: !0,
|
|
2071
|
-
options: [{
|
|
2072
|
-
label: "Individual",
|
|
2073
|
-
value: "B2P"
|
|
2074
|
-
}],
|
|
2075
|
-
value: B?.inputPayoutType
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
label: L("currencyInputLabel", "Account currency"),
|
|
2079
|
-
type: "input-text",
|
|
2080
|
-
creatable: !1,
|
|
2081
|
-
name: "inputCurrency",
|
|
2082
|
-
options: B.inputRegionCode ? J : [],
|
|
2083
|
-
selectFirst: !0,
|
|
2084
|
-
value: B?.inputCurrency
|
|
2085
|
-
},
|
|
2086
|
-
X
|
|
2087
|
-
]
|
|
2088
|
-
}]
|
|
2089
|
-
}
|
|
2090
|
-
}), [
|
|
2091
|
-
R.length,
|
|
2092
|
-
B,
|
|
2093
|
-
J,
|
|
2094
|
-
q,
|
|
2095
|
-
K,
|
|
2096
|
-
L,
|
|
2097
|
-
X
|
|
2098
|
-
]);
|
|
2099
|
-
(0, import_react.useEffect)(() => {
|
|
2100
|
-
async function M() {
|
|
2101
|
-
z(await getCountryInfos(e, A, j));
|
|
2102
|
-
}
|
|
2103
|
-
M();
|
|
2104
|
-
}, [
|
|
2105
|
-
e,
|
|
2106
|
-
j,
|
|
2107
|
-
A
|
|
2108
|
-
]);
|
|
2109
|
-
let $ = (0, import_react.useMemo)(() => ({ fetcher: () => new Promise(() => ({
|
|
2110
|
-
status: 200,
|
|
2111
|
-
data: {
|
|
2112
|
-
status: 0,
|
|
2113
|
-
data: { name: "mock value" }
|
|
2114
|
-
}
|
|
2115
|
-
})) }), []);
|
|
2116
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
2117
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Toast, {}),
|
|
2118
|
-
render(Q, { locale: getAmisLocale(I) }),
|
|
2119
|
-
Z && render(Z, { locale: getAmisLocale(I) }, $)
|
|
2120
|
-
] });
|
|
2121
|
-
}
|
|
2122
|
-
function BeneficiaryForm(e) {
|
|
2123
|
-
let { mi18n: A } = e;
|
|
2124
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Mi18nProvider, {
|
|
2125
|
-
mi18n: A,
|
|
2126
|
-
fallback: "Loading...",
|
|
2127
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BeneficiaryForm$1, { ...e })
|
|
2128
|
-
});
|
|
2129
|
-
}
|
|
2130
|
-
export { BeneficiaryForm as default };
|