@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,257 +0,0 @@
|
|
|
1
|
-
import { s as __toESM } from "./chunk-BztcrWZM.js";
|
|
2
|
-
import { t as require_react } from "./react-CHA_DGKo.js";
|
|
3
|
-
import { a as __generator, d as __values, i as __extends, n as __awaiter, o as __metadata, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-Dbcnxw2H.js";
|
|
5
|
-
import "./isEqual-B1XgbWvm.js";
|
|
6
|
-
import { Ci as toFixed, Ct as normalizeOptions, F as FormItem, J as CustomStyle, Pn as autobind, Y as formatInputThemeCss, Z as setThemeClassName, Zr as filter, gt as resolveEventData, v as numberFormatter, y as numberReverter, yi as getVariable, yn as require_classnames } from "./esm-DufZUL0t.js";
|
|
7
|
-
import "./react-dom-tGNlN-2_.js";
|
|
8
|
-
import { K as NumberInput$1, ft as EnhancedSelect } from "./esm-ChS65zTd.js";
|
|
9
|
-
import "./PopUp-reEZw5g2.js";
|
|
10
|
-
import "./Spinner-BSnTm3TK.js";
|
|
11
|
-
import "./Input-CCDZqV8p.js";
|
|
12
|
-
import { t as supportStatic } from "./StaticHoc-DIk0DX4D.js";
|
|
13
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), import_classnames = /* @__PURE__ */ __toESM(require_classnames()), NumberControl = function(e) {
|
|
14
|
-
__extends(a, e);
|
|
15
|
-
function a(a) {
|
|
16
|
-
var o = e.call(this, a) || this;
|
|
17
|
-
o.handleChange = o.handleChange.bind(o), o.handleChangeUnit = o.handleChangeUnit.bind(o);
|
|
18
|
-
var s = o.getUnit(), c = normalizeOptions(a.unitOptions), l = a.formItem, u = a.value;
|
|
19
|
-
return l && o.formatNumber(u, !0), o.state = {
|
|
20
|
-
unit: s,
|
|
21
|
-
unitOptions: c
|
|
22
|
-
}, o;
|
|
23
|
-
}
|
|
24
|
-
return a.prototype.doAction = function(e, a, o, s) {
|
|
25
|
-
o === void 0 && (o = !1);
|
|
26
|
-
var c = e?.actionType, l = this.props, u = l.min, d = l.max, f = l.precision, p = l.step, m = l.resetValue, h = l.big, g = l.onChange, _ = l.clearValueOnEmpty, v = l.formStore, y = l.store, b = l.name;
|
|
27
|
-
if (c === "clear") g?.(_ ? void 0 : "");
|
|
28
|
-
else if (c === "reset") {
|
|
29
|
-
var x = NumberInput$1.normalizePrecision(this.filterNum(f), this.filterNum(p)), S = getVariable(v?.pristine ?? y?.pristine, b) ?? m, C = NumberInput$1.normalizeValue(S ?? "", this.filterNum(u, h), this.filterNum(d, h), x, S ?? "", _, h);
|
|
30
|
-
g?.(_ && C === "" ? void 0 : C);
|
|
31
|
-
}
|
|
32
|
-
}, a.prototype.formatNumber = function(e, a) {
|
|
33
|
-
a === void 0 && (a = !1);
|
|
34
|
-
var o = this.props, s = o.showAsPercent, c = o.suffix, l = o.step, u = o.big, d = o.setPrinstineValue, f = this.props.precision;
|
|
35
|
-
s && c === "%" && (f = (f || 0) + 2);
|
|
36
|
-
var h = this.getUnit(), g = normalizeOptions(this.props.unitOptions), _ = NumberInput$1.normalizePrecision(this.filterNum(f), this.filterNum(l));
|
|
37
|
-
if (e != null && _ != null && (!h || g.length === 0) && u !== !0) {
|
|
38
|
-
var v = parseFloat(toFixed(e.toString(), ".", _));
|
|
39
|
-
!isNaN(v) && v !== e && (e = v, a && d(v));
|
|
40
|
-
}
|
|
41
|
-
return e;
|
|
42
|
-
}, a.prototype.getUnit = function() {
|
|
43
|
-
var e, a, o = this.props;
|
|
44
|
-
if (o.unitOptions && o.unitOptions.length) {
|
|
45
|
-
var c = normalizeOptions(o.unitOptions).map(function(e) {
|
|
46
|
-
return e.value;
|
|
47
|
-
});
|
|
48
|
-
if (o.value && typeof o.value == "string") {
|
|
49
|
-
var l = c[0];
|
|
50
|
-
c.sort(function(e, a) {
|
|
51
|
-
return a.length - e.length;
|
|
52
|
-
});
|
|
53
|
-
try {
|
|
54
|
-
for (var u = __values(c), d = u.next(); !d.done; d = u.next()) {
|
|
55
|
-
var f = d.value;
|
|
56
|
-
if (o.value.endsWith(f)) {
|
|
57
|
-
l = f;
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
} catch (a) {
|
|
62
|
-
e = { error: a };
|
|
63
|
-
} finally {
|
|
64
|
-
try {
|
|
65
|
-
d && !d.done && (a = u.return) && a.call(u);
|
|
66
|
-
} finally {
|
|
67
|
-
if (e) throw e.error;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return l;
|
|
71
|
-
} else return c[0];
|
|
72
|
-
}
|
|
73
|
-
}, a.prototype.getValue = function(e) {
|
|
74
|
-
var a = this.props, o = a.resetValue, s = a.unitOptions;
|
|
75
|
-
if (!(e && typeof e != "number" && typeof e != "string")) return e !== null && s && this.state.unit && (e += String(this.state.unit)), e === null ? o ?? null : e;
|
|
76
|
-
}, a.prototype.dispatchEvent = function(e) {
|
|
77
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
78
|
-
var a, s, c;
|
|
79
|
-
return __generator(this, function(o) {
|
|
80
|
-
return a = this.props, s = a.dispatchEvent, c = a.value, s(e, resolveEventData(this.props, { value: c })), [2];
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
}, a.prototype.handleChange = function(e) {
|
|
84
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
85
|
-
var a, s, c, l, u, d, f;
|
|
86
|
-
return __generator(this, function(o) {
|
|
87
|
-
switch (o.label) {
|
|
88
|
-
case 0: return a = this.props, s = a.onChange, c = a.dispatchEvent, l = a.clearValueOnEmpty, u = this.getValue(e), d = l && u === "" ? void 0 : u, d = this.formatNumber(d), [4, c("change", resolveEventData(this.props, { value: d }))];
|
|
89
|
-
case 1: return f = o.sent(), f?.prevented || s(d), [2];
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
}, a.prototype.changeCursorPos = function(e) {
|
|
94
|
-
var a, o;
|
|
95
|
-
if (!isNaN(e)) {
|
|
96
|
-
var s = this.props, c = s.kilobitSeparator, l = s.prefix, u = e > 0 ? Math.floor(e) : Math.ceil(e), d = `${e}`.length;
|
|
97
|
-
if (l && (d += l.length), c) {
|
|
98
|
-
var f = Math.floor((`${Math.abs(u)}`.length - 1) / 3);
|
|
99
|
-
f > 0 && (d += f);
|
|
100
|
-
}
|
|
101
|
-
this.input && (c || l) && ((o = (a = this.input).setSelectionRange) == null || o.call(a, d, d));
|
|
102
|
-
}
|
|
103
|
-
}, a.prototype.filterNum = function(e, a) {
|
|
104
|
-
if (a === void 0 && (a = !1), e !== void 0) return typeof e != "number" && (e = filter(e, this.props.data), e = /^[-]?\d+/.test(e) ? a ? e : +e : void 0), e;
|
|
105
|
-
}, a.prototype.handleChangeUnit = function(e) {
|
|
106
|
-
var a = this, o = this.props.value, s = this.state.unit;
|
|
107
|
-
this.setState({ unit: e.value }, function() {
|
|
108
|
-
o && (o = o.toString().replace(s, ""), a.props.onChange(o + a.state.unit));
|
|
109
|
-
});
|
|
110
|
-
}, a.prototype.componentDidUpdate = function(e) {
|
|
111
|
-
var a = this.getUnit(), o = this.props, s = o.value, c = o.formInited, l = o.onChange, u = o.setPrinstineValue;
|
|
112
|
-
if (s != null && (typeof s == "string" || typeof s == "number") && a && !String(s).endsWith(a)) {
|
|
113
|
-
var d = this.getValue(s);
|
|
114
|
-
c === !1 ? u?.(d) : l?.(d);
|
|
115
|
-
}
|
|
116
|
-
this.props.value !== e.value && /^([-+]?(([1-9]\d*\.?\d*)|(0\.\d*[1-9]))[^\d\.]*)$/.test(this.props.value) && this.setState({ unit: a }), this.props.unitOptions !== e.unitOptions && this.setState({ unitOptions: normalizeOptions(this.props.unitOptions) });
|
|
117
|
-
}, a.prototype.inputRef = function(e) {
|
|
118
|
-
this.input = e;
|
|
119
|
-
}, a.prototype.focus = function() {
|
|
120
|
-
this.input && this.input.focus();
|
|
121
|
-
}, a.prototype.render = function() {
|
|
122
|
-
var e, a = this, o = this.props, s = o.className, c = o.style, l = o.classPrefix, u = o.value, d = o.step, p = o.precision, m = o.max, h = o.min, _ = o.disabled, b = o.placeholder, x = o.showSteps, w = o.borderMode, T = o.suffix, E = o.prefix, D = o.kilobitSeparator, O = o.unitOptions, k = o.readOnly, A = o.keyboard, j = o.displayMode, M = o.big, N = o.resetValue, P = o.clearValueOnEmpty, F = o.css, I = o.themeCss, L = o.inputControlClassName, R = o.id, z = o.env, B = o.name, V = o.showAsPercent, H = o.testIdBuilder, U = o.popOverContainer, W = this.state.unit, G = this.filterNum(p), K = D || E || T ? function(e, o) {
|
|
123
|
-
var s = o.userTyping, c = o.input;
|
|
124
|
-
if (D && e) if ((s || a.input === document.activeElement) && numberReverter(e) === numberReverter(a.input?.value)) {
|
|
125
|
-
var l = e.toString().split(".");
|
|
126
|
-
l[0] = l[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), e = l.join(".");
|
|
127
|
-
} else e = numberFormatter(e, G);
|
|
128
|
-
return T && s && a.input?.selectionStart === c.length ? `${E || ""}${e}` : `${E || ""}${e}${T || ""}`;
|
|
129
|
-
} : void 0, q = function(e) {
|
|
130
|
-
return e && (E && (e = e.replace(E, "")), T && (e = e.replace(T, "")), D && (e = e.replace(/,/g, ""))), e;
|
|
131
|
-
}, J = W && u && typeof u == "string" ? u.replace(W, "") : isNaN(u) ? void 0 : u;
|
|
132
|
-
return import_react.createElement("div", {
|
|
133
|
-
className: (0, import_classnames.default)(`${l}NumberControl`, (e = {}, e[`${l}NumberControl--withUnit`] = O, e), s),
|
|
134
|
-
style: c
|
|
135
|
-
}, import_react.createElement(NumberInput$1, {
|
|
136
|
-
name: B,
|
|
137
|
-
inputControlClassName: (0, import_classnames.default)(L, setThemeClassName(__assign(__assign({}, this.props), {
|
|
138
|
-
name: "inputControlClassName",
|
|
139
|
-
id: R,
|
|
140
|
-
themeCss: I || F
|
|
141
|
-
})), setThemeClassName(__assign(__assign({}, this.props), {
|
|
142
|
-
name: "inputControlClassName",
|
|
143
|
-
id: R,
|
|
144
|
-
themeCss: I || F,
|
|
145
|
-
extra: "inner"
|
|
146
|
-
}))),
|
|
147
|
-
inputRef: this.inputRef,
|
|
148
|
-
value: J,
|
|
149
|
-
resetValue: N,
|
|
150
|
-
step: d,
|
|
151
|
-
max: this.filterNum(m, M),
|
|
152
|
-
min: this.filterNum(h, M),
|
|
153
|
-
formatter: K,
|
|
154
|
-
parser: q,
|
|
155
|
-
onChange: this.handleChange,
|
|
156
|
-
disabled: _,
|
|
157
|
-
placeholder: b,
|
|
158
|
-
precision: G,
|
|
159
|
-
showSteps: x,
|
|
160
|
-
borderMode: w,
|
|
161
|
-
readOnly: k,
|
|
162
|
-
suffix: T,
|
|
163
|
-
showAsPercent: V,
|
|
164
|
-
onFocus: function() {
|
|
165
|
-
return a.dispatchEvent("focus");
|
|
166
|
-
},
|
|
167
|
-
onBlur: function() {
|
|
168
|
-
return a.dispatchEvent("blur");
|
|
169
|
-
},
|
|
170
|
-
keyboard: A,
|
|
171
|
-
displayMode: j,
|
|
172
|
-
big: M,
|
|
173
|
-
clearValueOnEmpty: P,
|
|
174
|
-
testIdBuilder: H
|
|
175
|
-
}), Array.isArray(O) && O.length !== 0 ? O.length > 1 ? import_react.createElement(EnhancedSelect, {
|
|
176
|
-
value: W,
|
|
177
|
-
clearable: !1,
|
|
178
|
-
options: this.state.unitOptions || [],
|
|
179
|
-
onChange: this.handleChangeUnit,
|
|
180
|
-
className: `${l}NumberControl-unit`,
|
|
181
|
-
disabled: _,
|
|
182
|
-
popOverContainer: U
|
|
183
|
-
}) : import_react.createElement("div", { className: (0, import_classnames.default)(`${l}NumberControl-unit`, `${l}NumberControl-single-unit`, `${l}Select`, `${k ? `${l}NumberControl-readonly` : ""}`) }, typeof O[0] == "string" ? O[0] : O[0].label) : null, import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
184
|
-
config: {
|
|
185
|
-
themeCss: I || F,
|
|
186
|
-
classNames: [{
|
|
187
|
-
key: "inputControlClassName",
|
|
188
|
-
weights: {
|
|
189
|
-
focused: { pre: `${l}Number-${j ? j + "-" : ""}focused.` },
|
|
190
|
-
disabled: { pre: `${l}Number-${j ? j + "-" : ""}disabled.` }
|
|
191
|
-
}
|
|
192
|
-
}],
|
|
193
|
-
id: R
|
|
194
|
-
},
|
|
195
|
-
env: z
|
|
196
|
-
})), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
197
|
-
config: {
|
|
198
|
-
themeCss: formatInputThemeCss(I || F),
|
|
199
|
-
classNames: [{
|
|
200
|
-
key: "inputControlClassName",
|
|
201
|
-
weights: {
|
|
202
|
-
default: { inner: "input" },
|
|
203
|
-
hover: { inner: "input" },
|
|
204
|
-
focused: {
|
|
205
|
-
pre: `${l}Number-${j ? j + "-" : ""}focused.`,
|
|
206
|
-
inner: "input"
|
|
207
|
-
},
|
|
208
|
-
disabled: {
|
|
209
|
-
pre: `${l}Number-${j ? j + "-" : ""}disabled.`,
|
|
210
|
-
inner: "input"
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}],
|
|
214
|
-
id: R && R + "-inner"
|
|
215
|
-
},
|
|
216
|
-
env: z
|
|
217
|
-
})));
|
|
218
|
-
}, a.defaultProps = {
|
|
219
|
-
step: 1,
|
|
220
|
-
resetValue: "",
|
|
221
|
-
clearValueOnEmpty: !1
|
|
222
|
-
}, __decorate([
|
|
223
|
-
autobind,
|
|
224
|
-
__metadata("design:type", Function),
|
|
225
|
-
__metadata("design:paramtypes", [String]),
|
|
226
|
-
__metadata("design:returntype", Promise)
|
|
227
|
-
], a.prototype, "dispatchEvent", null), __decorate([
|
|
228
|
-
autobind,
|
|
229
|
-
__metadata("design:type", Function),
|
|
230
|
-
__metadata("design:paramtypes", [Number]),
|
|
231
|
-
__metadata("design:returntype", void 0)
|
|
232
|
-
], a.prototype, "changeCursorPos", null), __decorate([
|
|
233
|
-
autobind,
|
|
234
|
-
__metadata("design:type", Function),
|
|
235
|
-
__metadata("design:paramtypes", [Object]),
|
|
236
|
-
__metadata("design:returntype", void 0)
|
|
237
|
-
], a.prototype, "inputRef", null), __decorate([
|
|
238
|
-
supportStatic(),
|
|
239
|
-
__metadata("design:type", Function),
|
|
240
|
-
__metadata("design:paramtypes", []),
|
|
241
|
-
__metadata("design:returntype", void 0)
|
|
242
|
-
], a.prototype, "render", null), a;
|
|
243
|
-
}(import_react.Component), NumberControlRenderer = function(e) {
|
|
244
|
-
__extends(a, e);
|
|
245
|
-
function a() {
|
|
246
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
247
|
-
}
|
|
248
|
-
return a.defaultProps = __assign({ validations: "isNumeric" }, NumberControl.defaultProps), a = __decorate([FormItem({
|
|
249
|
-
type: "input-number",
|
|
250
|
-
detectProps: [
|
|
251
|
-
"unitOptions",
|
|
252
|
-
"precision",
|
|
253
|
-
"suffix"
|
|
254
|
-
]
|
|
255
|
-
})], a), a;
|
|
256
|
-
}(NumberControl);
|
|
257
|
-
export { NumberControlRenderer, NumberControl as default };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./react-CHA_DGKo.js";
|
|
2
|
-
import "./function-Dbcnxw2H.js";
|
|
3
|
-
import "./isEqual-B1XgbWvm.js";
|
|
4
|
-
import "./esm-DufZUL0t.js";
|
|
5
|
-
import "./react-dom-tGNlN-2_.js";
|
|
6
|
-
import { n as RichTextControlRenderer, t as RichTextControl } from "./InputRichText-CI2mXkzF.js";
|
|
7
|
-
export { RichTextControlRenderer, RichTextControl as default };
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { s as __toESM } from "./chunk-BztcrWZM.js";
|
|
2
|
-
import { t as require_react } from "./react-CHA_DGKo.js";
|
|
3
|
-
import { a as __generator, i as __extends, n as __awaiter, o as __metadata, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import { t as require_isEqual } from "./isEqual-B1XgbWvm.js";
|
|
5
|
-
import { Br as ucFirst, F as FormItem, Pn as autobind, Pr as qsstringify, Q as themedLazyComponent, an as buildApi, gt as resolveEventData, un as normalizeApi, yn as require_classnames } from "./esm-DufZUL0t.js";
|
|
6
|
-
var import_react = /* @__PURE__ */ __toESM(require_react()), import_isEqual = /* @__PURE__ */ __toESM(require_isEqual()), import_classnames = /* @__PURE__ */ __toESM(require_classnames());
|
|
7
|
-
function loadRichText(e) {
|
|
8
|
-
return e === void 0 && (e = "froala"), function() {
|
|
9
|
-
return e === "tinymce" ? import("./Tinymce-k7uU44j9.js").then(function(e) {
|
|
10
|
-
return e.default;
|
|
11
|
-
}) : import("./RichText-CFya1zyE.js").then(function(e) {
|
|
12
|
-
return e.default;
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
var RichTextControl = function(e) {
|
|
17
|
-
__extends(l, e);
|
|
18
|
-
function l(l) {
|
|
19
|
-
var u = e.call(this, l) || this;
|
|
20
|
-
return u.state = {
|
|
21
|
-
config: null,
|
|
22
|
-
focused: !1
|
|
23
|
-
}, u.handleFocus = u.handleFocus.bind(u), u.handleBlur = u.handleBlur.bind(u), u.handleChange = u.handleChange.bind(u), u.state.config = u.getConfig(l), u;
|
|
24
|
-
}
|
|
25
|
-
return l.prototype.componentDidUpdate = function(e) {
|
|
26
|
-
var l = this.props, u = l.vendor || (l.env.richTextToken ? "froala" : "tinymce");
|
|
27
|
-
u === "froala" ? (!(0, import_isEqual.default)(e.options, l.options) || !(0, import_isEqual.default)(e.editorClass, l.editorClass) || !(0, import_isEqual.default)(e.placeholder, l.placeholder) || !(0, import_isEqual.default)(e.buttons, l.buttons)) && this.setState({ config: this.getConfig(l) }) : u === "tinymce" && (!(0, import_isEqual.default)(e.options, l.options) || !(0, import_isEqual.default)(e.fileField, l.fileField)) && this.setState({ config: this.getConfig(l) });
|
|
28
|
-
}, l.prototype.getConfig = function(e) {
|
|
29
|
-
var l = this, d = e.vendor || (e.env.richTextToken ? "froala" : "tinymce"), p = normalizeApi(e.receiver, e.receiver?.method || "post");
|
|
30
|
-
p.data = p.data || {};
|
|
31
|
-
var m = buildApi(p, e.data, { method: e.receiver.method || "post" });
|
|
32
|
-
if (d === "froala") {
|
|
33
|
-
var g = normalizeApi(e.videoReceiver, e.videoReceiver.method || "post");
|
|
34
|
-
g.data = g.data || {};
|
|
35
|
-
var _ = buildApi(g, e.data, { method: e.videoReceiver.method || "post" });
|
|
36
|
-
return __assign(__assign(__assign({
|
|
37
|
-
imageAllowedTypes: [
|
|
38
|
-
"jpeg",
|
|
39
|
-
"jpg",
|
|
40
|
-
"png",
|
|
41
|
-
"gif"
|
|
42
|
-
],
|
|
43
|
-
imageDefaultAlign: "left",
|
|
44
|
-
imageEditButtons: e.imageEditable ? [
|
|
45
|
-
"imageReplace",
|
|
46
|
-
"imageAlign",
|
|
47
|
-
"imageRemove",
|
|
48
|
-
"|",
|
|
49
|
-
"imageLink",
|
|
50
|
-
"linkOpen",
|
|
51
|
-
"linkEdit",
|
|
52
|
-
"linkRemove",
|
|
53
|
-
"-",
|
|
54
|
-
"imageDisplay",
|
|
55
|
-
"imageStyle",
|
|
56
|
-
"imageAlt",
|
|
57
|
-
"imageSize"
|
|
58
|
-
] : [],
|
|
59
|
-
key: e.env.richTextToken,
|
|
60
|
-
attribution: !1
|
|
61
|
-
}, e.options), {
|
|
62
|
-
editorClass: e.editorClass,
|
|
63
|
-
placeholderText: e.translate(e.placeholder),
|
|
64
|
-
imageUploadURL: m.url,
|
|
65
|
-
imageUploadParams: __assign({ from: "rich-text" }, m.data),
|
|
66
|
-
videoUploadURL: _.url,
|
|
67
|
-
videoUploadParams: __assign({ from: "rich-text" }, _.data),
|
|
68
|
-
events: __assign(__assign({}, e.options && e.options.events), {
|
|
69
|
-
focus: this.handleFocus,
|
|
70
|
-
blur: this.handleBlur
|
|
71
|
-
}),
|
|
72
|
-
language: !this.props.locale || this.props.locale === "zh-CN" ? "zh_cn" : ""
|
|
73
|
-
}), e.buttons ? { toolbarButtons: e.buttons } : {});
|
|
74
|
-
} else {
|
|
75
|
-
var v = e.env.fetcher;
|
|
76
|
-
return __assign(__assign({}, e.options), {
|
|
77
|
-
onLoaded: this.handleTinyMceLoaded,
|
|
78
|
-
images_upload_handler: function(d, p) {
|
|
79
|
-
return new Promise(function(p, g) {
|
|
80
|
-
return __awaiter(l, void 0, void 0, function() {
|
|
81
|
-
var l, f, _, y, x, S;
|
|
82
|
-
return __generator(this, function(u) {
|
|
83
|
-
switch (u.label) {
|
|
84
|
-
case 0: l = new FormData(), m.data && qsstringify(m.data).split("&").filter(function(e) {
|
|
85
|
-
return e !== "";
|
|
86
|
-
}).forEach(function(e) {
|
|
87
|
-
var u = e.split("=");
|
|
88
|
-
l.append(u[0], decodeURIComponent(u[1]));
|
|
89
|
-
}), l.append(e.fileField || "file", d.blob(), d.filename()), u.label = 1;
|
|
90
|
-
case 1: return u.trys.push([
|
|
91
|
-
1,
|
|
92
|
-
3,
|
|
93
|
-
,
|
|
94
|
-
4
|
|
95
|
-
]), m.url ? (_ = __assign({ adaptor: function(e) {
|
|
96
|
-
return __assign(__assign({}, e), { data: e });
|
|
97
|
-
} }, m), [4, v(_, l, { method: "post" })]) : (f = new FileReader(), f.readAsDataURL(d.blob()), f.onloadend = function() {
|
|
98
|
-
var e = f.result;
|
|
99
|
-
p(e);
|
|
100
|
-
}, [2]);
|
|
101
|
-
case 2: return y = u.sent(), y.ok && (x = y.data?.link || y.data?.url || y.data?.value || y.data?.data?.link || y.data?.data?.url || y.data?.data?.value, x ? p(x) : console.warn("must have return value")), [3, 4];
|
|
102
|
-
case 3: return S = u.sent(), g(S), [3, 4];
|
|
103
|
-
case 4: return [2];
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
}, l.prototype.handleFocus = function() {
|
|
112
|
-
this.setState({ focused: !0 });
|
|
113
|
-
}, l.prototype.handleBlur = function() {
|
|
114
|
-
this.setState({ focused: !1 });
|
|
115
|
-
}, l.prototype.handleChange = function(e, l, d) {
|
|
116
|
-
return __awaiter(this, void 0, void 0, function() {
|
|
117
|
-
var f, p, m, h, g;
|
|
118
|
-
return __generator(this, function(u) {
|
|
119
|
-
switch (u.label) {
|
|
120
|
-
case 0: return f = this.props, p = f.onChange, m = f.disabled, h = f.dispatchEvent, m ? [2] : [4, h("change", resolveEventData(this.props, { value: e }))];
|
|
121
|
-
case 1: return g = u.sent(), g?.prevented || p?.(e, l, d), [2];
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
}, l.prototype.handleTinyMceLoaded = function(e) {
|
|
126
|
-
var l = this.props.env;
|
|
127
|
-
return (l?.loadTinymcePlugin)?.call(l, e);
|
|
128
|
-
}, l.prototype.render = function() {
|
|
129
|
-
var e, l, u = this.props, d = u.className;
|
|
130
|
-
u.style;
|
|
131
|
-
var f = u.classPrefix, p = u.value;
|
|
132
|
-
u.onChange;
|
|
133
|
-
var m = u.disabled, h = u.static;
|
|
134
|
-
u.size;
|
|
135
|
-
var g = u.vendor, v = u.env, y = u.locale, b = u.translate, S = u.borderMode, C = g || (v.richTextToken ? "froala" : "tinymce");
|
|
136
|
-
return h ? import_react.createElement("div", {
|
|
137
|
-
className: (0, import_classnames.default)(`${f}RichTextControl`, d, (e = {
|
|
138
|
-
"is-focused": this.state.focused,
|
|
139
|
-
"is-disabled": m
|
|
140
|
-
}, e[`${f}RichTextControl--border${ucFirst(S)}`] = S, e)),
|
|
141
|
-
dangerouslySetInnerHTML: { __html: v.filterHtml(p) }
|
|
142
|
-
}) : import_react.createElement("div", { className: (0, import_classnames.default)(`${f}RichTextControl`, d, (l = {
|
|
143
|
-
"is-focused": this.state.focused,
|
|
144
|
-
"is-disabled": m
|
|
145
|
-
}, l[`${f}RichTextControl--border${ucFirst(S)}`] = S, l)) }, import_react.createElement(themedLazyComponent, {
|
|
146
|
-
getComponent: loadRichText(C),
|
|
147
|
-
model: p,
|
|
148
|
-
onModelChange: this.handleChange,
|
|
149
|
-
onFocus: this.handleFocus,
|
|
150
|
-
onBlur: this.handleBlur,
|
|
151
|
-
config: this.state.config,
|
|
152
|
-
disabled: m,
|
|
153
|
-
locale: y,
|
|
154
|
-
translate: b
|
|
155
|
-
}));
|
|
156
|
-
}, l.defaultProps = {
|
|
157
|
-
imageEditable: !0,
|
|
158
|
-
receiver: "/api/upload/image",
|
|
159
|
-
videoReceiver: "/api/upload/video",
|
|
160
|
-
fileField: "file",
|
|
161
|
-
placeholder: "placeholder.enter",
|
|
162
|
-
options: { toolbarButtons: [
|
|
163
|
-
"undo",
|
|
164
|
-
"redo",
|
|
165
|
-
"paragraphFormat",
|
|
166
|
-
"textColor",
|
|
167
|
-
"backgroundColor",
|
|
168
|
-
"bold",
|
|
169
|
-
"underline",
|
|
170
|
-
"strikeThrough",
|
|
171
|
-
"formatOL",
|
|
172
|
-
"formatUL",
|
|
173
|
-
"align",
|
|
174
|
-
"quote",
|
|
175
|
-
"insertLink",
|
|
176
|
-
"insertImage",
|
|
177
|
-
"insertEmotion",
|
|
178
|
-
"insertTable",
|
|
179
|
-
"html"
|
|
180
|
-
] }
|
|
181
|
-
}, __decorate([
|
|
182
|
-
autobind,
|
|
183
|
-
__metadata("design:type", Function),
|
|
184
|
-
__metadata("design:paramtypes", [Object]),
|
|
185
|
-
__metadata("design:returntype", void 0)
|
|
186
|
-
], l.prototype, "handleTinyMceLoaded", null), l;
|
|
187
|
-
}(import_react.Component), RichTextControlRenderer = function(e) {
|
|
188
|
-
__extends(l, e);
|
|
189
|
-
function l() {
|
|
190
|
-
return e !== null && e.apply(this, arguments) || this;
|
|
191
|
-
}
|
|
192
|
-
return l = __decorate([FormItem({
|
|
193
|
-
type: "input-rich-text",
|
|
194
|
-
sizeMutable: !1,
|
|
195
|
-
detectProps: ["options", "buttons"]
|
|
196
|
-
})], l), l;
|
|
197
|
-
}(RichTextControl);
|
|
198
|
-
export { RichTextControlRenderer as n, RichTextControl as t };
|