@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
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
|
|
2
|
+
import { t as require_react } from "./react-RxxVsDMo.js";
|
|
3
|
+
import { a as __generator, c as __rest, i as __extends, n as __awaiter, o as __metadata, r as __decorate, s as __read, t as __assign, u as __spreadArray } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
+
import "./function-CNJMA2ft.js";
|
|
5
|
+
import "./isEqual-E2NjjS0_.js";
|
|
6
|
+
import { J as CustomStyle, Nn as autobind, Xr as filter, Z as setThemeClassName, cr as guid, dt as ScopedContext, ft as filterTarget, it as Renderer, oi as createObject, ra as isAlive, sa as reaction, wt as ModalStore, xr as isVisible, yr as isObjectShallowModified } from "./esm-DEyK_c3W.js";
|
|
7
|
+
import { t as require_react_dom } from "./react-dom-D1mxcNoQ.js";
|
|
8
|
+
import { Bt as FinalModal } from "./esm-Cj_BRpNI.js";
|
|
9
|
+
import { i as Spinner$1, s as Icon } from "./PopUp-Bgkvnd4X.js";
|
|
10
|
+
var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom = require_react_dom(), Dialog = function(e) {
|
|
11
|
+
__extends(i, e);
|
|
12
|
+
function i(i) {
|
|
13
|
+
var a = e.call(this, i) || this;
|
|
14
|
+
a.isDead = !1, a.$$id = guid(), i.store.setEntered(!!i.show), a.handleSelfClose = a.handleSelfClose.bind(a), a.handleSelfScreen = a.handleSelfScreen.bind(a), a.handleAction = a.handleAction.bind(a), a.handleActionSensor = a.handleActionSensor.bind(a), a.handleDialogConfirm = a.handleDialogConfirm.bind(a), a.handleDialogClose = a.handleDialogClose.bind(a), a.handleDrawerConfirm = a.handleDrawerConfirm.bind(a), a.handleDrawerClose = a.handleDrawerClose.bind(a), a.handleEntered = a.handleEntered.bind(a), a.handleExited = a.handleExited.bind(a), a.handleFormInit = a.handleFormInit.bind(a), a.handleFormSaved = a.handleFormSaved.bind(a), a.handleFormChange = a.handleFormChange.bind(a), a.handleChildFinished = a.handleChildFinished.bind(a);
|
|
15
|
+
var o = i.store;
|
|
16
|
+
return a.reaction = reaction(function() {
|
|
17
|
+
return `${o.loading}${o.error}`;
|
|
18
|
+
}, function() {
|
|
19
|
+
return a.forceUpdate();
|
|
20
|
+
}), a;
|
|
21
|
+
}
|
|
22
|
+
return i.prototype.componentWillUnmount = function() {
|
|
23
|
+
this.reaction && this.reaction(), this.isDead = !0;
|
|
24
|
+
}, i.prototype.buildActions = function() {
|
|
25
|
+
var e = this.props, i = e.actions, a = e.confirm, o = e.translate, s = e.testIdBuilder;
|
|
26
|
+
if (i !== void 0) return i;
|
|
27
|
+
var c = [];
|
|
28
|
+
return c.push({
|
|
29
|
+
type: "button",
|
|
30
|
+
testIdBuilder: s?.getChild("cancel"),
|
|
31
|
+
actionType: "cancel",
|
|
32
|
+
label: o("cancel")
|
|
33
|
+
}), a && c.push({
|
|
34
|
+
type: "button",
|
|
35
|
+
testIdBuilder: s?.getChild("confirm"),
|
|
36
|
+
actionType: "confirm",
|
|
37
|
+
label: o("confirm"),
|
|
38
|
+
primary: !0
|
|
39
|
+
}), c;
|
|
40
|
+
}, i.prototype.handleSelfScreen = function(e) {
|
|
41
|
+
e.preventDefault(), e.stopPropagation();
|
|
42
|
+
var i = this.props.store;
|
|
43
|
+
i.setFullScreen(!i.isFullscreen);
|
|
44
|
+
}, i.prototype.handleSelfClose = function(e, i) {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function() {
|
|
46
|
+
var e, o, s, c, l;
|
|
47
|
+
return __generator(this, function(a) {
|
|
48
|
+
switch (a.label) {
|
|
49
|
+
case 0: return e = this.props, o = e.onClose, s = e.store, c = e.dispatchEvent, [4, c("cancel", this.props.data)];
|
|
50
|
+
case 1: return l = a.sent(), l?.prevented ? [2] : l?.pendingPromise.length ? [4, l.allDone()] : [3, 3];
|
|
51
|
+
case 2: a.sent(), a.label = 3;
|
|
52
|
+
case 3: return s.updateMessage(), s.setFullScreen(!1), o(i), [2];
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
}, i.prototype.handleActionSensor = function(e) {
|
|
57
|
+
var i = this, a = this.props.store, o = a.busying;
|
|
58
|
+
a.markBusying(!0), a.updateMessage(), e.then(function() {
|
|
59
|
+
a.markBusying(o);
|
|
60
|
+
}).catch(function(e) {
|
|
61
|
+
i.isDead || (a.updateMessage(e.message, !0), a.markBusying(o));
|
|
62
|
+
});
|
|
63
|
+
}, i.prototype.handleAction = function(e, i, a) {
|
|
64
|
+
var o = this.props, s = o.store, c = o.onAction;
|
|
65
|
+
i.type === "reset" ? s.reset() : i.actionType === "cancel" ? this.handleSelfClose() : c && c(e, i, a);
|
|
66
|
+
}, i.prototype.handleDialogConfirm = function(e, i) {
|
|
67
|
+
var a = [...arguments].slice(2), o = this.props.store;
|
|
68
|
+
i.mergeData && e.length === 1 && e[0] && o.updateData(e[0]);
|
|
69
|
+
var s = o.action.dialog;
|
|
70
|
+
s && s.onConfirm && s.onConfirm.apply(s, __spreadArray([e, i], __read(a), !1)) === !1 || o.closeDialog(!0, e);
|
|
71
|
+
}, i.prototype.handleDialogClose = function() {
|
|
72
|
+
var e = [...arguments], i = this.props.store, a = i.action.dialog;
|
|
73
|
+
a.onClose && a.onClose.apply(a, __spreadArray([], __read(e), !1)) === !1 || i.closeDialog(e[1]);
|
|
74
|
+
}, i.prototype.handleDrawerConfirm = function(e, i) {
|
|
75
|
+
var a = [...arguments].slice(2), o = this.props.store;
|
|
76
|
+
i.mergeData && e.length === 1 && e[0] && o.updateData(e[0]);
|
|
77
|
+
var s = o.action.drawer;
|
|
78
|
+
s && s.onConfirm && s.onConfirm.apply(s, __spreadArray([e, i], __read(a), !1)) === !1 || o.closeDrawer(!0, e);
|
|
79
|
+
}, i.prototype.handleDrawerClose = function() {
|
|
80
|
+
var e = [...arguments], i = this.props.store, a = i.action.drawer;
|
|
81
|
+
a.onClose && a.onClose.apply(a, __spreadArray([], __read(e), !1)) === !1 || i.closeDrawer.apply(i, __spreadArray([], __read(e), !1));
|
|
82
|
+
}, i.prototype.handleEntered = function() {
|
|
83
|
+
var e = this.props, i = e.lazySchema, a = e.store;
|
|
84
|
+
a.setEntered(!0), a.markBusying(!1), typeof i == "function" && a.setSchema(i(this.props));
|
|
85
|
+
var o = document.activeElement;
|
|
86
|
+
if (o) {
|
|
87
|
+
var s = (0, import_react_dom.findDOMNode)(this);
|
|
88
|
+
s && !s.contains(o) && o.blur();
|
|
89
|
+
}
|
|
90
|
+
}, i.prototype.handleExited = function() {
|
|
91
|
+
var e = this.props, i = e.lazySchema, a = e.store, o = e.statusStore;
|
|
92
|
+
o && isAlive(o) && o.resetAll(), isAlive(a) && (a.reset(), a.clearMessage(), a.markBusying(!1), a.setEntered(!1), typeof i == "function" && a.setSchema(""));
|
|
93
|
+
}, i.prototype.handleFormInit = function(e) {
|
|
94
|
+
this.props.store.setFormData(e);
|
|
95
|
+
}, i.prototype.handleFormChange = function(e, i) {
|
|
96
|
+
var a = this.props.store;
|
|
97
|
+
if (typeof i == "string") {
|
|
98
|
+
a.changeValue(i, e);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
a.setFormData(e);
|
|
102
|
+
}, i.prototype.handleFormSaved = function(e, i) {
|
|
103
|
+
this.props.store.setFormData(__assign(__assign({}, e), i));
|
|
104
|
+
}, i.prototype.handleChildFinished = function(e, i) {}, i.prototype.openFeedback = function(e, i) {
|
|
105
|
+
var a = this;
|
|
106
|
+
return new Promise(function(o) {
|
|
107
|
+
var s = a.props.store;
|
|
108
|
+
s.setCurrentAction({
|
|
109
|
+
type: "button",
|
|
110
|
+
actionType: "dialog",
|
|
111
|
+
dialog: e
|
|
112
|
+
}, a.props.resolveDefinitions), s.openDialog(i, void 0, function(e) {
|
|
113
|
+
o(e);
|
|
114
|
+
}, a.context);
|
|
115
|
+
});
|
|
116
|
+
}, i.prototype.getPopOverContainer = function() {
|
|
117
|
+
return (0, import_react_dom.findDOMNode)(this).querySelector(`.${this.props.classPrefix}Modal-content`);
|
|
118
|
+
}, i.prototype.renderBody = function(e, i) {
|
|
119
|
+
var a = this, o = this.props, s = o.render, c = o.store;
|
|
120
|
+
if (Array.isArray(e)) return e.map(function(e, i) {
|
|
121
|
+
return a.renderBody(e, i);
|
|
122
|
+
});
|
|
123
|
+
var l = {
|
|
124
|
+
key: i,
|
|
125
|
+
disabled: e && e.disabled || c.loading,
|
|
126
|
+
onAction: this.handleAction,
|
|
127
|
+
onFinished: this.handleChildFinished,
|
|
128
|
+
popOverContainer: this.getPopOverContainer,
|
|
129
|
+
onChange: this.handleFormChange,
|
|
130
|
+
onInit: this.handleFormInit,
|
|
131
|
+
onSaved: this.handleFormSaved,
|
|
132
|
+
onActionSensor: this.handleActionSensor,
|
|
133
|
+
btnDisabled: c.loading,
|
|
134
|
+
syncLocation: !1
|
|
135
|
+
};
|
|
136
|
+
if (!e.type) return s(`body${i ? `/${i}` : ""}`, e, l);
|
|
137
|
+
var u = e;
|
|
138
|
+
return u.type === "form" && (u = __assign({
|
|
139
|
+
mode: "horizontal",
|
|
140
|
+
wrapWithPanel: !1,
|
|
141
|
+
submitText: null
|
|
142
|
+
}, u)), s(`body${i ? `/${i}` : ""}`, u, l);
|
|
143
|
+
}, i.prototype.renderFooter = function() {
|
|
144
|
+
var e = this, i = this.buildActions(), a = this.props.hideActions;
|
|
145
|
+
if (!i || !i.length || a) return null;
|
|
146
|
+
var o = this.props, s = o.store, c = o.render, l = o.env, u = o.classnames, d = o.showErrorMsg, f = o.showLoading, p = o.show, m = o.dialogFooterClassName;
|
|
147
|
+
return import_react.createElement("div", { className: u("Modal-footer", m) }, f !== !1 && s.loading || d !== !1 && s.error ? import_react.createElement("div", {
|
|
148
|
+
className: u("Dialog-info"),
|
|
149
|
+
key: "info"
|
|
150
|
+
}, f === !1 ? null : import_react.createElement(Spinner$1, {
|
|
151
|
+
size: "sm",
|
|
152
|
+
key: "info",
|
|
153
|
+
show: s.loading
|
|
154
|
+
}), !l.forceSilenceInsideError && s.error && d !== !1 ? import_react.createElement("span", { className: u("Dialog-error") }, s.msg) : null) : null, i.map(function(i, a) {
|
|
155
|
+
return c(`action/${a}`, i, {
|
|
156
|
+
data: s.formData,
|
|
157
|
+
onAction: e.handleAction,
|
|
158
|
+
onActionSensor: void 0,
|
|
159
|
+
btnDisabled: s.loading,
|
|
160
|
+
key: a,
|
|
161
|
+
disabled: i.disabled || s.loading || !p
|
|
162
|
+
});
|
|
163
|
+
}));
|
|
164
|
+
}, i.prototype.render = function() {
|
|
165
|
+
var e = this.props.store, i = __assign(__assign({}, this.props), e.schema), a = i.className, s = i.style, c = i.size, l = i.height, u = i.width, d = i.closeOnEsc, p = i.closeOnOutside, h = i.title, v = i.render, y = i.header, b = i.body, x = i.bodyClassName, S = i.headerClassName, C = i.show, w = i.lazyRender, T = i.lazySchema, E = i.wrapperComponent, D = i.showCloseButton, O = i.env, A = i.classnames, j = i.classPrefix, M = i.translate, N = i.loadingConfig, P = i.overlay, F = i.dialogType, I = i.cancelText, L = i.confirmText, R = i.confirmBtnLevel, z = i.cancelBtnLevel;
|
|
166
|
+
i.popOverContainer, i.inDesign;
|
|
167
|
+
var B = i.themeCss, V = i.allowFullscreen, H = i.draggable, U = i.id, W = __rest(i, /* @__PURE__ */ "className.style.size.height.width.closeOnEsc.closeOnOutside.title.render.header.body.bodyClassName.headerClassName.show.lazyRender.lazySchema.wrapperComponent.showCloseButton.env.classnames.classPrefix.translate.loadingConfig.overlay.dialogType.cancelText.confirmText.confirmBtnLevel.cancelBtnLevel.popOverContainer.inDesign.themeCss.allowFullscreen.draggable.id".split(".")), G = E || FinalModal;
|
|
168
|
+
return import_react.createElement(G, __assign({}, W, {
|
|
169
|
+
classPrefix: j,
|
|
170
|
+
className: A(a),
|
|
171
|
+
style: s,
|
|
172
|
+
draggable: e.isFullscreen ? !1 : H,
|
|
173
|
+
size: c,
|
|
174
|
+
height: l,
|
|
175
|
+
width: u,
|
|
176
|
+
isFullscreen: e.isFullscreen,
|
|
177
|
+
modalClassName: A(setThemeClassName(__assign(__assign({}, this.props), {
|
|
178
|
+
name: "dialogClassName",
|
|
179
|
+
id: U,
|
|
180
|
+
themeCss: B
|
|
181
|
+
})), e.isFullscreen ? "Modal-fullScreen" : ""),
|
|
182
|
+
modalMaskClassName: setThemeClassName(__assign(__assign({}, this.props), {
|
|
183
|
+
name: "dialogMaskClassName",
|
|
184
|
+
id: U,
|
|
185
|
+
themeCss: B
|
|
186
|
+
})),
|
|
187
|
+
backdrop: "static",
|
|
188
|
+
onHide: this.handleSelfClose,
|
|
189
|
+
keyboard: d && !e.loading,
|
|
190
|
+
closeOnEsc: d,
|
|
191
|
+
closeOnOutside: !e.dialogOpen && p,
|
|
192
|
+
show: C,
|
|
193
|
+
onEntered: this.handleEntered,
|
|
194
|
+
onExited: this.handleExited,
|
|
195
|
+
container: O?.getModalContainer,
|
|
196
|
+
enforceFocus: !1,
|
|
197
|
+
disabled: e.loading,
|
|
198
|
+
overlay: P,
|
|
199
|
+
dialogType: F,
|
|
200
|
+
cancelText: I,
|
|
201
|
+
confirmText: L,
|
|
202
|
+
confirmBtnLevel: R,
|
|
203
|
+
cancelBtnLevel: z
|
|
204
|
+
}), h && typeof h == "string" ? import_react.createElement("div", { className: A("Modal-header", S, setThemeClassName(__assign(__assign({}, this.props), {
|
|
205
|
+
name: "dialogHeaderClassName",
|
|
206
|
+
id: U,
|
|
207
|
+
themeCss: B
|
|
208
|
+
}))) }, D !== !1 && !e.loading ? import_react.createElement("a", {
|
|
209
|
+
"data-tooltip": M("Dialog.close"),
|
|
210
|
+
"data-position": "left",
|
|
211
|
+
onClick: this.handleSelfClose,
|
|
212
|
+
className: A("Modal-close")
|
|
213
|
+
}, import_react.createElement(Icon, {
|
|
214
|
+
icon: "close",
|
|
215
|
+
className: "icon",
|
|
216
|
+
iconContent: "Dialog-close"
|
|
217
|
+
})) : null, V ? import_react.createElement("a", {
|
|
218
|
+
"data-tooltip": e.isFullscreen ? M("Dialog.reset") : M("Dialog.screen"),
|
|
219
|
+
"data-position": "left",
|
|
220
|
+
onClick: this.handleSelfScreen,
|
|
221
|
+
className: A("Modal-close Modal-screen")
|
|
222
|
+
}, import_react.createElement(Icon, {
|
|
223
|
+
icon: e.isFullscreen ? "un-fullscreen" : "full-screen",
|
|
224
|
+
className: "icon"
|
|
225
|
+
})) : null, import_react.createElement("div", { className: A("Modal-title", setThemeClassName(__assign(__assign({}, this.props), {
|
|
226
|
+
name: "dialogTitleClassName",
|
|
227
|
+
id: U,
|
|
228
|
+
themeCss: B
|
|
229
|
+
}))) }, filter(M(h), e.formData))) : h ? import_react.createElement("div", { className: A("Modal-header", S, setThemeClassName(__assign(__assign({}, this.props), {
|
|
230
|
+
name: "dialogHeaderClassName",
|
|
231
|
+
id: U,
|
|
232
|
+
themeCss: B
|
|
233
|
+
}))) }, D !== !1 && !e.loading ? import_react.createElement("a", {
|
|
234
|
+
"data-tooltip": M("Dialog.close"),
|
|
235
|
+
onClick: this.handleSelfClose,
|
|
236
|
+
className: A("Modal-close")
|
|
237
|
+
}, import_react.createElement(Icon, {
|
|
238
|
+
icon: "close",
|
|
239
|
+
className: "icon",
|
|
240
|
+
iconContent: "Dialog-close"
|
|
241
|
+
})) : null, V ? import_react.createElement("a", {
|
|
242
|
+
"data-tooltip": e.isFullscreen ? M("Dialog.reset") : M("Dialog.screen"),
|
|
243
|
+
"data-position": "left",
|
|
244
|
+
onClick: this.handleSelfScreen,
|
|
245
|
+
className: A("Modal-close Modal-screen")
|
|
246
|
+
}, import_react.createElement(Icon, {
|
|
247
|
+
icon: e.isFullscreen ? "un-fullscreen" : "full-screen",
|
|
248
|
+
className: "icon"
|
|
249
|
+
})) : null, v("title", h, {
|
|
250
|
+
data: e.formData,
|
|
251
|
+
onAction: this.handleAction,
|
|
252
|
+
onActionSensor: void 0,
|
|
253
|
+
btnDisabled: e.loading
|
|
254
|
+
})) : D !== !1 && !e.loading ? import_react.createElement("a", {
|
|
255
|
+
"data-tooltip": M("Dialog.close"),
|
|
256
|
+
onClick: this.handleSelfClose,
|
|
257
|
+
className: A("Modal-close")
|
|
258
|
+
}, import_react.createElement(Icon, {
|
|
259
|
+
icon: "close",
|
|
260
|
+
className: "icon",
|
|
261
|
+
iconContent: "Dialog-close"
|
|
262
|
+
})) : null, y ? v("header", y, {
|
|
263
|
+
data: e.formData,
|
|
264
|
+
onAction: this.handleAction,
|
|
265
|
+
onActionSensor: void 0,
|
|
266
|
+
btnDisabled: e.loading
|
|
267
|
+
}) : null, !e.entered && w || T && !b ? import_react.createElement("div", {
|
|
268
|
+
className: A("Modal-body", x, setThemeClassName(__assign(__assign({}, this.props), {
|
|
269
|
+
name: "dialogBodyClassName",
|
|
270
|
+
id: U,
|
|
271
|
+
themeCss: B
|
|
272
|
+
}))),
|
|
273
|
+
role: "dialog-body"
|
|
274
|
+
}, import_react.createElement(Spinner$1, {
|
|
275
|
+
overlay: !0,
|
|
276
|
+
show: !0,
|
|
277
|
+
size: "lg",
|
|
278
|
+
loadingConfig: N
|
|
279
|
+
})) : b ? import_react.createElement("div", {
|
|
280
|
+
className: A("Modal-body", x, setThemeClassName(__assign(__assign({}, this.props), {
|
|
281
|
+
name: "dialogBodyClassName",
|
|
282
|
+
id: U,
|
|
283
|
+
themeCss: B
|
|
284
|
+
}))),
|
|
285
|
+
role: "dialog-body"
|
|
286
|
+
}, this.renderBody(b, "body"), import_react.createElement(CustomStyle, __assign({}, this.props, {
|
|
287
|
+
config: {
|
|
288
|
+
themeCss: B,
|
|
289
|
+
classNames: [
|
|
290
|
+
{ key: "dialogClassName" },
|
|
291
|
+
{ key: "dialogMaskClassName" },
|
|
292
|
+
{ key: "dialogHeaderClassName" },
|
|
293
|
+
{ key: "dialogTitleClassName" },
|
|
294
|
+
{ key: "dialogBodyClassName" },
|
|
295
|
+
{ key: "dialogFooterClassName" }
|
|
296
|
+
],
|
|
297
|
+
id: U
|
|
298
|
+
},
|
|
299
|
+
env: O
|
|
300
|
+
}))) : null, b ? this.renderFooter() : null, b ? v("drawer", __assign(__assign({}, e.drawerSchema), { type: "drawer" }), {
|
|
301
|
+
key: "drawer",
|
|
302
|
+
data: e.drawerData,
|
|
303
|
+
onConfirm: this.handleDrawerConfirm,
|
|
304
|
+
onClose: this.handleDrawerClose,
|
|
305
|
+
show: e.drawerOpen,
|
|
306
|
+
onAction: this.handleAction
|
|
307
|
+
}) : null, b ? v("dialog", __assign(__assign({}, e.dialogSchema), { type: "dialog" }), {
|
|
308
|
+
key: "dialog",
|
|
309
|
+
data: e.dialogData,
|
|
310
|
+
onConfirm: this.handleDialogConfirm,
|
|
311
|
+
onClose: this.handleDialogClose,
|
|
312
|
+
show: e.dialogOpen,
|
|
313
|
+
onAction: this.handleAction
|
|
314
|
+
}) : null);
|
|
315
|
+
}, i.propsList = [
|
|
316
|
+
"title",
|
|
317
|
+
"size",
|
|
318
|
+
"closeOnEsc",
|
|
319
|
+
"closeOnOutside",
|
|
320
|
+
"children",
|
|
321
|
+
"bodyClassName",
|
|
322
|
+
"headerClassName",
|
|
323
|
+
"confirm",
|
|
324
|
+
"onClose",
|
|
325
|
+
"onConfirm",
|
|
326
|
+
"show",
|
|
327
|
+
"body",
|
|
328
|
+
"showCloseButton",
|
|
329
|
+
"showErrorMsg",
|
|
330
|
+
"actions",
|
|
331
|
+
"popOverContainer",
|
|
332
|
+
"overlay",
|
|
333
|
+
"draggable",
|
|
334
|
+
"allowFullscreen"
|
|
335
|
+
], i.defaultProps = {
|
|
336
|
+
title: "Dialog.title",
|
|
337
|
+
bodyClassName: "",
|
|
338
|
+
confirm: !0,
|
|
339
|
+
show: !1,
|
|
340
|
+
lazyRender: !1,
|
|
341
|
+
showCloseButton: !0,
|
|
342
|
+
wrapperComponent: FinalModal,
|
|
343
|
+
closeOnEsc: !1,
|
|
344
|
+
closeOnOutside: !1,
|
|
345
|
+
showErrorMsg: !0
|
|
346
|
+
}, __decorate([
|
|
347
|
+
autobind,
|
|
348
|
+
__metadata("design:type", Function),
|
|
349
|
+
__metadata("design:paramtypes", []),
|
|
350
|
+
__metadata("design:returntype", void 0)
|
|
351
|
+
], i.prototype, "getPopOverContainer", null), i;
|
|
352
|
+
}(import_react.Component), DialogRenderer = function(e) {
|
|
353
|
+
__extends(i, e);
|
|
354
|
+
function i(i, a) {
|
|
355
|
+
var o = e.call(this, i) || this;
|
|
356
|
+
return a.registerComponent(o), o;
|
|
357
|
+
}
|
|
358
|
+
return i.prototype.componentWillUnmount = function() {
|
|
359
|
+
this.context.unRegisterComponent(this), e.prototype.componentWillUnmount.call(this), clearTimeout(this.clearErrorTimer);
|
|
360
|
+
}, i.prototype.tryChildrenToHandle = function(e, i, a) {
|
|
361
|
+
var o = this, s = this.context, c = [], l = this.props, u = l.onConfirm, m = l.store;
|
|
362
|
+
if (e.target && c.push.apply(c, __spreadArray([], __read(e.target.split(",").map(function(e) {
|
|
363
|
+
return s.getComponentByName(e);
|
|
364
|
+
}).filter(function(e) {
|
|
365
|
+
return e && e.doAction;
|
|
366
|
+
})), !1)), e?.isolateScope !== !0 && !c.length) for (var h = s.getComponents().filter(function(e) {
|
|
367
|
+
return !~["drawer", "dialog"].indexOf(e.props.type);
|
|
368
|
+
}).concat(); h.length;) {
|
|
369
|
+
var g = h.pop();
|
|
370
|
+
if (~[
|
|
371
|
+
"crud",
|
|
372
|
+
"form",
|
|
373
|
+
"wizard"
|
|
374
|
+
].indexOf(g.props.type)) {
|
|
375
|
+
c.push(g);
|
|
376
|
+
break;
|
|
377
|
+
} else if (~["drawer", "dialog"].indexOf(g.props.type)) continue;
|
|
378
|
+
else ~["page", "service"].indexOf(g.props.type) && h.unshift.apply(h, g.context.getComponents());
|
|
379
|
+
}
|
|
380
|
+
return c.length ? (m.markBusying(!0), m.updateMessage(), Promise.all(c.map(function(a) {
|
|
381
|
+
return a.doAction(__assign(__assign({}, e), { from: o.$$id }), i, !0);
|
|
382
|
+
})).then(function(s) {
|
|
383
|
+
(e.type === "submit" || e.actionType === "submit" || e.actionType === "confirm") && e.close !== !1 && !c.some(function(e) {
|
|
384
|
+
return e.props.closeDialogOnSubmit === !1;
|
|
385
|
+
}) ? u && u(s, a || e, i, c) : e.close && (e.close === !0 ? o.handleSelfClose() : o.closeTarget(e.close)), m.markBusying(!1);
|
|
386
|
+
}).catch(function(e) {
|
|
387
|
+
o.isDead || (m.updateMessage(e.message, !0), m.markBusying(!1), clearTimeout(o.clearErrorTimer), o.clearErrorTimer = setTimeout(function() {
|
|
388
|
+
o.isDead || m.updateMessage("");
|
|
389
|
+
}, 3e3));
|
|
390
|
+
}), !0) : !1;
|
|
391
|
+
}, i.prototype.doAction = function(e, i, a) {
|
|
392
|
+
this.handleAction(void 0, e, i);
|
|
393
|
+
}, i.prototype.handleAction = function(e, i, o, s, l, u) {
|
|
394
|
+
return s === void 0 && (s = !1), __awaiter(this, void 0, void 0, function() {
|
|
395
|
+
var d, p, m, h, _, v, y, x, C, w, T, D, O = this;
|
|
396
|
+
return __generator(this, function(k) {
|
|
397
|
+
switch (k.label) {
|
|
398
|
+
case 0: return d = this.props, p = d.onAction, m = d.store, h = d.onConfirm, _ = d.env, v = d.dispatchEvent, y = d.onClose, x = d.show, i.from === this.$$id || !x ? [2, p ? p(e, i, o, s, l || this.context) : !1] : u?.pendingPromise.length ? [4, u.allDone()] : [3, 2];
|
|
399
|
+
case 1: k.sent(), k.label = 2;
|
|
400
|
+
case 2: return C = this.context, i.type === "reset" ? (m.setCurrentAction(i, this.props.resolveDefinitions), m.reset(), [3, 19]) : [3, 3];
|
|
401
|
+
case 3: return i.actionType === "close" || i.actionType === "cancel" ? [4, v("cancel", createObject(this.props.data, o))] : [3, 7];
|
|
402
|
+
case 4: return w = k.sent(), w?.prevented ? [2] : w?.pendingPromise.length ? [4, w.allDone()] : [3, 6];
|
|
403
|
+
case 5: k.sent(), k.label = 6;
|
|
404
|
+
case 6: return m.setCurrentAction(i, this.props.resolveDefinitions), m.updateMessage(), y(), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), [3, 19];
|
|
405
|
+
case 7: return i.actionType === "confirm" ? [4, v("confirm", createObject(this.props.data, o))] : [3, 11];
|
|
406
|
+
case 8: return T = k.sent(), T?.prevented ? [2] : T?.pendingPromise.length ? [4, T.allDone()] : [3, 10];
|
|
407
|
+
case 9: k.sent(), k.label = 10;
|
|
408
|
+
case 10: return m.setCurrentAction(i, this.props.resolveDefinitions), D = this.tryChildrenToHandle(__assign(__assign({}, i), { actionType: "submit" }), o, i), D || (m.updateMessage(), i.close !== !1 && y(!0)), [3, 19];
|
|
409
|
+
case 11: return i.actionType === "next" || i.actionType === "prev" ? (m.setCurrentAction(i, this.props.resolveDefinitions), i.type === "submit" ? this.tryChildrenToHandle(__assign(__assign({}, i), {
|
|
410
|
+
actionType: "submit",
|
|
411
|
+
close: !0
|
|
412
|
+
}), o, i) || this.handleSelfClose(void 0, !0) : h([o], i, o, []), [3, 19]) : [3, 12];
|
|
413
|
+
case 12: return i.actionType === "dialog" ? (m.setCurrentAction(i, this.props.resolveDefinitions), [2, new Promise(function(e) {
|
|
414
|
+
m.openDialog(o, void 0, function(a, o) {
|
|
415
|
+
var s;
|
|
416
|
+
(s = i.callback) == null || s.call(i, a, o), e({
|
|
417
|
+
confirmed: a,
|
|
418
|
+
value: o
|
|
419
|
+
});
|
|
420
|
+
}, l || O.context);
|
|
421
|
+
})]) : [3, 13];
|
|
422
|
+
case 13: return i.actionType === "drawer" ? (m.setCurrentAction(i, this.props.resolveDefinitions), [2, new Promise(function(e) {
|
|
423
|
+
m.openDrawer(o, void 0, function(a, o) {
|
|
424
|
+
var s;
|
|
425
|
+
(s = i.callback) == null || s.call(i, a, o), e({
|
|
426
|
+
confirmed: a,
|
|
427
|
+
value: o
|
|
428
|
+
});
|
|
429
|
+
});
|
|
430
|
+
})]) : [3, 14];
|
|
431
|
+
case 14: return i.actionType === "reload" ? (m.setCurrentAction(i, this.props.resolveDefinitions), i.target && C.reload(i.target, o), (i.close || i.type === "submit") && (this.handleSelfClose(void 0, i.type === "submit"), i.close && typeof i.close == "string" && this.closeTarget(i.close)), [3, 19]) : [3, 15];
|
|
432
|
+
case 15: return !i.from && this.tryChildrenToHandle(i, o) ? [3, 19] : [3, 16];
|
|
433
|
+
case 16: return i.actionType === "ajax" ? (m.setCurrentAction(i, this.props.resolveDefinitions), [2, m.saveRemote(i.api, o, {
|
|
434
|
+
successMessage: i.messages && i.messages.success,
|
|
435
|
+
errorMessage: i.messages && i.messages.failed
|
|
436
|
+
}).then(function() {
|
|
437
|
+
return __awaiter(O, void 0, void 0, function() {
|
|
438
|
+
var e;
|
|
439
|
+
return __generator(this, function(a) {
|
|
440
|
+
switch (a.label) {
|
|
441
|
+
case 0: return i.feedback && isVisible(i.feedback, m.data) ? [4, this.openFeedback(i.feedback, m.data)] : [3, 2];
|
|
442
|
+
case 1: a.sent(), a.label = 2;
|
|
443
|
+
case 2: return e = i.redirect && filter(i.redirect, m.data), e && _.jumpTo(e, i, m.data), i.reload && this.reloadTarget(filterTarget(i.reload, m.data), m.data), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), [2];
|
|
444
|
+
}
|
|
445
|
+
});
|
|
446
|
+
});
|
|
447
|
+
}).catch(function(e) {
|
|
448
|
+
if (s || i.countDown) throw e;
|
|
449
|
+
})]) : [3, 17];
|
|
450
|
+
case 17: return p ? [4, p(e, __assign(__assign({}, i), { close: !1 }), o, s, l || this.context)] : [3, 19];
|
|
451
|
+
case 18: k.sent(), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), k.label = 19;
|
|
452
|
+
case 19: return [2];
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
});
|
|
456
|
+
}, i.prototype.handleChildFinished = function(e, i) {
|
|
457
|
+
if (!(i && i.from === this.$$id || i.close === !1)) {
|
|
458
|
+
var a = this.context.getComponents().filter(function(e) {
|
|
459
|
+
return !~[
|
|
460
|
+
"drawer",
|
|
461
|
+
"dialog",
|
|
462
|
+
"action",
|
|
463
|
+
"button",
|
|
464
|
+
"submit",
|
|
465
|
+
"reset"
|
|
466
|
+
].indexOf(e.props.type);
|
|
467
|
+
}), o = this.props.onConfirm, s = this.props.onClose;
|
|
468
|
+
a.length === 1 && (a[0].props.type === "form" || a[0].props.type === "wizard") && (i.close === !0 || a[0].props.closeDialogOnSubmit !== !1) ? o && o([e], i, {}, a) : i.close === !0 && s();
|
|
469
|
+
}
|
|
470
|
+
}, i.prototype.handleDialogConfirm = function(i, a) {
|
|
471
|
+
var o = [...arguments].slice(2);
|
|
472
|
+
e.prototype.handleDialogConfirm.apply(this, __spreadArray([i, a], __read(o), !1));
|
|
473
|
+
var s = this.props.store, c = s.getDialogScoped() || this.context, l = s.action, u = a.reload ?? l.reload;
|
|
474
|
+
u ? c.reload(u, s.data) : c.component !== this && c.component?.reload ? c.component.reload() : this.context.getComponents().filter(function(e) {
|
|
475
|
+
return e.props.type === "crud";
|
|
476
|
+
}).forEach(function(e) {
|
|
477
|
+
return e.reload && e.reload();
|
|
478
|
+
});
|
|
479
|
+
}, i.prototype.handleDrawerConfirm = function(i, a) {
|
|
480
|
+
for (var o = this, s = [], c = 2; c < arguments.length; c++) s[c - 2] = arguments[c];
|
|
481
|
+
e.prototype.handleDrawerConfirm.call(this, i, a);
|
|
482
|
+
var l = this.props.store, u = l.getDialogScoped() || this.context, d = l.action, f = a.reload ?? d.reload;
|
|
483
|
+
setTimeout(function() {
|
|
484
|
+
f ? u.reload(f, l.data) : u.component !== o && u.component?.reload ? u.component.reload() : o.context.getComponents().filter(function(e) {
|
|
485
|
+
return e.props.type === "crud";
|
|
486
|
+
}).forEach(function(e) {
|
|
487
|
+
return e.reload && e.reload();
|
|
488
|
+
});
|
|
489
|
+
}, 300);
|
|
490
|
+
}, i.prototype.reloadTarget = function(e, i) {
|
|
491
|
+
this.context.reload(e, i);
|
|
492
|
+
}, i.prototype.closeTarget = function(e) {
|
|
493
|
+
this.context.close(e);
|
|
494
|
+
}, i.prototype.setData = function(e, i) {
|
|
495
|
+
return this.props.store.updateData(e, void 0, i);
|
|
496
|
+
}, i.prototype.getData = function() {
|
|
497
|
+
return this.props.store.data;
|
|
498
|
+
}, i.contextType = ScopedContext, i = __decorate([Renderer({
|
|
499
|
+
type: "dialog",
|
|
500
|
+
storeType: ModalStore.name,
|
|
501
|
+
storeExtendsData: !1,
|
|
502
|
+
isolateScope: !0,
|
|
503
|
+
shouldSyncSuperStore: function(e, i, a) {
|
|
504
|
+
return !!((e.dialogOpen || i.show) && (i.show !== a.show || isObjectShallowModified(a.data, i.data)));
|
|
505
|
+
}
|
|
506
|
+
}), __metadata("design:paramtypes", [Object, Object])], i), i;
|
|
507
|
+
}(Dialog);
|
|
508
|
+
export { DialogRenderer, Dialog as default };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { s as __toESM } from "./
|
|
2
|
-
import { t as require_react } from "./react-
|
|
1
|
+
import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
|
|
2
|
+
import { t as require_react } from "./react-RxxVsDMo.js";
|
|
3
3
|
import { a as __generator, i as __extends, n as __awaiter, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-
|
|
5
|
-
import "./isEqual-
|
|
6
|
-
import { F as FormItem,
|
|
7
|
-
import "./react-dom-
|
|
8
|
-
import { yt as DiffEditor } from "./esm-
|
|
9
|
-
import "./PopUp-
|
|
10
|
-
import "./Spinner-BSnTm3TK.js";
|
|
11
|
-
import "./Input-CCDZqV8p.js";
|
|
4
|
+
import "./function-CNJMA2ft.js";
|
|
5
|
+
import "./isEqual-E2NjjS0_.js";
|
|
6
|
+
import { F as FormItem, Ni as resolveVariableAndFilter, Zr as isPureVariable, ht as resolveEventData, vi as getVariable } from "./esm-DEyK_c3W.js";
|
|
7
|
+
import "./react-dom-D1mxcNoQ.js";
|
|
8
|
+
import { yt as DiffEditor } from "./esm-Cj_BRpNI.js";
|
|
9
|
+
import "./PopUp-Bgkvnd4X.js";
|
|
12
10
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
13
11
|
function normalizeValue(e, i) {
|
|
14
12
|
if (e && typeof e != "string" && (e = JSON.stringify(e, null, 2)), i && i === "json") try {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { s as __toESM } from "./
|
|
2
|
-
import { t as require_react } from "./react-
|
|
1
|
+
import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
|
|
2
|
+
import { t as require_react } from "./react-RxxVsDMo.js";
|
|
3
3
|
import { i as __extends, r as __decorate, t as __assign } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-
|
|
5
|
-
import "./isEqual-
|
|
6
|
-
import { J as CustomStyle,
|
|
7
|
-
import "./react-dom-
|
|
4
|
+
import "./function-CNJMA2ft.js";
|
|
5
|
+
import "./isEqual-E2NjjS0_.js";
|
|
6
|
+
import { J as CustomStyle, Ni as resolveVariableAndFilter, Z as setThemeClassName, Zr as isPureVariable, it as Renderer } from "./esm-DEyK_c3W.js";
|
|
7
|
+
import "./react-dom-D1mxcNoQ.js";
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react()), Divider = function(e) {
|
|
9
9
|
__extends(s, e);
|
|
10
10
|
function s() {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { s as __toESM } from "./
|
|
2
|
-
import { t as require_react } from "./react-
|
|
1
|
+
import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
|
|
2
|
+
import { t as require_react } from "./react-RxxVsDMo.js";
|
|
3
3
|
import { a as __generator, c as __rest, i as __extends, n as __awaiter, o as __metadata, r as __decorate, s as __read, t as __assign, u as __spreadArray } from "./tslib.es6-DJiA3ePV.js";
|
|
4
|
-
import "./function-
|
|
5
|
-
import "./isEqual-
|
|
6
|
-
import { J as CustomStyle,
|
|
7
|
-
import { t as require_react_dom } from "./react-dom-
|
|
8
|
-
import { wt as Drawer$1 } from "./esm-
|
|
9
|
-
import "./PopUp-
|
|
10
|
-
import { n as Spinner$1 } from "./Spinner-BSnTm3TK.js";
|
|
11
|
-
import "./Input-CCDZqV8p.js";
|
|
4
|
+
import "./function-CNJMA2ft.js";
|
|
5
|
+
import "./isEqual-E2NjjS0_.js";
|
|
6
|
+
import { J as CustomStyle, Nn as autobind, Xr as filter, Z as setThemeClassName, cr as guid, dt as ScopedContext, ft as filterTarget, it as Renderer, oi as createObject, ra as isAlive, sa as reaction, wt as ModalStore, xr as isVisible, yr as isObjectShallowModified } from "./esm-DEyK_c3W.js";
|
|
7
|
+
import { t as require_react_dom } from "./react-dom-D1mxcNoQ.js";
|
|
8
|
+
import { wt as Drawer$1 } from "./esm-Cj_BRpNI.js";
|
|
9
|
+
import { i as Spinner$1 } from "./PopUp-Bgkvnd4X.js";
|
|
12
10
|
var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom = require_react_dom(), Drawer = function(e) {
|
|
13
11
|
__extends(i, e);
|
|
14
12
|
function i(i) {
|
|
@@ -155,7 +153,7 @@ var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom =
|
|
|
155
153
|
}, a.context);
|
|
156
154
|
});
|
|
157
155
|
}, i.prototype.render = function() {
|
|
158
|
-
var e = this.props.store, i = __assign(__assign({}, this.props), e.schema), a = i.className, s = i.style, c = i.size, l = i.closeOnEsc, u = i.position, d = i.title, p = i.render, h = i.header, g = i.body,
|
|
156
|
+
var e = this.props.store, i = __assign(__assign({}, this.props), e.schema), a = i.className, s = i.style, c = i.size, l = i.closeOnEsc, u = i.position, d = i.title, p = i.render, h = i.header, g = i.body, v = i.bodyClassName, y = i.headerClassName, b = i.show, x = i.showCloseButton, S = i.width, C = i.height, w = i.wrapperComponent, T = i.env, E = i.resizable, D = i.overlay, O = i.closeOnOutside, k = i.classPrefix, A = i.classnames, j = i.drawerContainer, M = i.loadingConfig;
|
|
159
157
|
i.popOverContainer;
|
|
160
158
|
var N = i.themeCss, P = i.id, F = __rest(i, /* @__PURE__ */ "className.style.size.closeOnEsc.position.title.render.header.body.bodyClassName.headerClassName.show.showCloseButton.width.height.wrapperComponent.env.resizable.overlay.closeOnOutside.classPrefix.classnames.drawerContainer.loadingConfig.popOverContainer.themeCss.id".split(".")), I = w || Drawer$1;
|
|
161
159
|
return import_react.createElement(I, __assign({}, F, {
|
|
@@ -211,7 +209,7 @@ var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom =
|
|
|
211
209
|
onActionSensor: void 0,
|
|
212
210
|
btnDisabled: e.loading
|
|
213
211
|
}) : null) : null, e.entered ? g ? import_react.createElement("div", {
|
|
214
|
-
className: A("Drawer-body",
|
|
212
|
+
className: A("Drawer-body", v, setThemeClassName(__assign(__assign({}, this.props), {
|
|
215
213
|
name: "drawerBodyClassName",
|
|
216
214
|
id: P,
|
|
217
215
|
themeCss: N
|
|
@@ -231,7 +229,7 @@ var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom =
|
|
|
231
229
|
id: P
|
|
232
230
|
},
|
|
233
231
|
env: T
|
|
234
|
-
}))) : null : import_react.createElement("div", { className: A("Drawer-body",
|
|
232
|
+
}))) : null : import_react.createElement("div", { className: A("Drawer-body", v, setThemeClassName(__assign(__assign({}, this.props), {
|
|
235
233
|
name: "drawerBodyClassName",
|
|
236
234
|
id: P,
|
|
237
235
|
themeCss: N
|
|
@@ -339,18 +337,18 @@ var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom =
|
|
|
339
337
|
this.handleAction(void 0, e, i);
|
|
340
338
|
}, i.prototype.handleAction = function(e, i, o, s, l, u) {
|
|
341
339
|
return s === void 0 && (s = !1), __awaiter(this, void 0, void 0, function() {
|
|
342
|
-
var d, f, p, m, h, _, v,
|
|
343
|
-
return __generator(this, function(
|
|
344
|
-
switch (
|
|
340
|
+
var d, f, p, m, h, _, v, y, x, C, w = this;
|
|
341
|
+
return __generator(this, function(T) {
|
|
342
|
+
switch (T.label) {
|
|
345
343
|
case 0: return d = this.props, f = d.onClose, p = d.onAction, m = d.store, h = d.env, _ = d.dispatchEvent, v = d.show, i.from === this.$$id || !v ? [2, p ? p(e, i, o, s, l || this.context) : !1] : u?.pendingPromise.length ? [4, u.allDone()] : [3, 2];
|
|
346
|
-
case 1:
|
|
347
|
-
case 2: return
|
|
348
|
-
case 3: return x =
|
|
349
|
-
case 4:
|
|
344
|
+
case 1: T.sent(), T.label = 2;
|
|
345
|
+
case 2: return y = this.context, i.actionType === "close" || i.actionType === "cancel" ? [4, _("cancel", createObject(this.props.data, o))] : [3, 6];
|
|
346
|
+
case 3: return x = T.sent(), x?.prevented ? [2] : x?.pendingPromise.length ? [4, x.allDone()] : [3, 5];
|
|
347
|
+
case 4: T.sent(), T.label = 5;
|
|
350
348
|
case 5: return m.setCurrentAction(i, this.props.resolveDefinitions), f(), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), [3, 17];
|
|
351
349
|
case 6: return i.actionType === "confirm" ? [4, _("confirm", createObject(this.props.data, o))] : [3, 10];
|
|
352
|
-
case 7: return
|
|
353
|
-
case 8:
|
|
350
|
+
case 7: return C = T.sent(), C?.prevented ? [2] : C?.pendingPromise.length ? [4, C.allDone()] : [3, 9];
|
|
351
|
+
case 8: T.sent(), T.label = 9;
|
|
354
352
|
case 9: return m.setCurrentAction(i, this.props.resolveDefinitions), this.tryChildrenToHandle(i, o) || f(), [3, 17];
|
|
355
353
|
case 10: return i.actionType === "drawer" ? (m.setCurrentAction(i, this.props.resolveDefinitions), [2, new Promise(function(e) {
|
|
356
354
|
m.openDrawer(o, void 0, function(a, o) {
|
|
@@ -368,15 +366,15 @@ var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom =
|
|
|
368
366
|
confirmed: a,
|
|
369
367
|
value: o
|
|
370
368
|
});
|
|
371
|
-
}, l ||
|
|
369
|
+
}, l || w.context);
|
|
372
370
|
})]) : [3, 12];
|
|
373
|
-
case 12: return i.actionType === "reload" ? (m.setCurrentAction(i, this.props.resolveDefinitions), i.target &&
|
|
371
|
+
case 12: return i.actionType === "reload" ? (m.setCurrentAction(i, this.props.resolveDefinitions), i.target && y.reload(i.target, o), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), [3, 17]) : [3, 13];
|
|
374
372
|
case 13: return !i.from && this.tryChildrenToHandle(i, o) ? [3, 17] : [3, 14];
|
|
375
373
|
case 14: return i.actionType === "ajax" ? (m.setCurrentAction(i, this.props.resolveDefinitions), m.saveRemote(i.api, o, {
|
|
376
374
|
successMessage: i.messages && i.messages.success,
|
|
377
375
|
errorMessage: i.messages && i.messages.failed
|
|
378
376
|
}).then(function() {
|
|
379
|
-
return __awaiter(
|
|
377
|
+
return __awaiter(w, void 0, void 0, function() {
|
|
380
378
|
var e;
|
|
381
379
|
return __generator(this, function(a) {
|
|
382
380
|
switch (a.label) {
|
|
@@ -390,7 +388,7 @@ var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom =
|
|
|
390
388
|
if (s || i.countDown) throw e;
|
|
391
389
|
}), [3, 17]) : [3, 15];
|
|
392
390
|
case 15: return p ? [4, p(e, i, o, s, l || this.context)] : [3, 17];
|
|
393
|
-
case 16:
|
|
391
|
+
case 16: T.sent(), i.close && (i.close === !0 ? this.handleSelfClose() : this.closeTarget(i.close)), T.label = 17;
|
|
394
392
|
case 17: return [2];
|
|
395
393
|
}
|
|
396
394
|
});
|