@flatbiz/antd 5.0.35 → 5.0.36
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/{_commonjsHelpers-B0GIDhER.js → _commonjsHelpers-nJh5OW6J.js} +2 -2
- package/dist/_commonjsHelpers-nJh5OW6J.js.map +1 -0
- package/dist/{_rollupPluginBabelHelpers-CP5aeNcJ.js → _rollupPluginBabelHelpers-BspM60Sw.js} +17 -17
- package/dist/{_rollupPluginBabelHelpers-CP5aeNcJ.js.map → _rollupPluginBabelHelpers-BspM60Sw.js.map} +1 -1
- package/dist/ace-editor-groovy/index.js +4 -4
- package/dist/ace-editor-java/index.js +4 -4
- package/dist/ace-editor-json/index.js +7 -7
- package/dist/ace-editor-mysql/index.js +7 -7
- package/dist/ace-editor-xml/index.js +7 -7
- package/dist/ai-search/index.js +6 -6
- package/dist/{ai-search-WcG2oakE.js → ai-search-BuvayoCT.js} +4 -4
- package/dist/{ai-search-WcG2oakE.js.map → ai-search-BuvayoCT.js.map} +1 -1
- package/dist/{alert-gN_wp9C1.js → alert-DGRFbqqK.js} +2 -2
- package/dist/{alert-gN_wp9C1.js.map → alert-DGRFbqqK.js.map} +1 -1
- package/dist/alert-wrapper/index.js +2 -2
- package/dist/amount-fen-input/index.js +2 -2
- package/dist/{amount-fen-input-DSueMlf8.js → amount-fen-input-DI4mxLeO.js} +2 -2
- package/dist/{amount-fen-input-DSueMlf8.js.map → amount-fen-input-DI4mxLeO.js.map} +1 -1
- package/dist/{amount-fen-input-goqylrM3.js → amount-fen-input-Vaayc5GF.js} +3 -3
- package/dist/{amount-fen-input-goqylrM3.js.map → amount-fen-input-Vaayc5GF.js.map} +1 -1
- package/dist/amount-fen-input-form-item/index.js +3 -3
- package/dist/anchor-steps/index.js +3 -3
- package/dist/{anchor-steps-BpBOQghC.js → anchor-steps-CqqmN9Pf.js} +3 -3
- package/dist/{anchor-steps-BpBOQghC.js.map → anchor-steps-CqqmN9Pf.js.map} +1 -1
- package/dist/block-layout/index.d.ts +2 -2
- package/dist/block-layout/index.js +2 -2
- package/dist/bootstrap/index.js +8 -8
- package/dist/{bootstrap-tw4J2cHF.js → bootstrap-BH_Lhcqj.js} +4 -4
- package/dist/{bootstrap-tw4J2cHF.js.map → bootstrap-BH_Lhcqj.js.map} +1 -1
- package/dist/box-grid/index.js +1 -1
- package/dist/box-grid/index.js.map +1 -1
- package/dist/button-operate/index.d.ts +5 -5
- package/dist/button-operate/index.js +9 -9
- package/dist/{button-operate-C4nUyzrt.js → button-operate-CUkR47Pj.js} +7 -7
- package/dist/button-operate-CUkR47Pj.js.map +1 -0
- package/dist/button-wrapper/index.d.ts +2 -1
- package/dist/button-wrapper/index.js +4 -4
- package/dist/{button-wrapper-C2koH6hy.js → button-wrapper-DezyMqPx.js} +4 -4
- package/dist/button-wrapper-DezyMqPx.js.map +1 -0
- package/dist/card-layout/index.js +3 -3
- package/dist/{card-layout-DjLanJsj.js → card-layout-P-Qb5pCT.js} +3 -3
- package/dist/{card-layout-DjLanJsj.js.map → card-layout-P-Qb5pCT.js.map} +1 -1
- package/dist/card-wrapper/index.js +2 -2
- package/dist/{card-wrapper-Bu6yyUKG.js → card-wrapper-C8YADYlW.js} +2 -2
- package/dist/{card-wrapper-Bu6yyUKG.js.map → card-wrapper-C8YADYlW.js.map} +1 -1
- package/dist/cascader-wrapper/index.js +4 -4
- package/dist/{cascader-wrapper-c5qaaIiU.js → cascader-wrapper-BFCjHaa9.js} +3 -3
- package/dist/{cascader-wrapper-c5qaaIiU.js.map → cascader-wrapper-BFCjHaa9.js.map} +1 -1
- package/dist/{cell-render-DqCOvBt_.js → cell-render-DzfB84nF.js} +6 -6
- package/dist/{cell-render-DqCOvBt_.js.map → cell-render-DzfB84nF.js.map} +1 -1
- package/dist/{center-BXeKtiny.js → center-DgQUmnwe.js} +3 -3
- package/dist/{center-BXeKtiny.js.map → center-DgQUmnwe.js.map} +1 -1
- package/dist/check-list/index.js +2 -2
- package/dist/check-list/index.js.map +1 -1
- package/dist/checkbox-wrapper/index.js +2 -2
- package/dist/{checkbox-wrapper-OT4OlsxX.js → checkbox-wrapper-BOIS5kIz.js} +2 -2
- package/dist/{checkbox-wrapper-OT4OlsxX.js.map → checkbox-wrapper-BOIS5kIz.js.map} +1 -1
- package/dist/{color-picker-8w4ZPYlJ.js → color-picker-BYGCHXn2.js} +3 -3
- package/dist/{color-picker-8w4ZPYlJ.js.map → color-picker-BYGCHXn2.js.map} +1 -1
- package/dist/color-picker-wrapper/index.js +3 -3
- package/dist/config-provider-wrapper/index.js +2 -2
- package/dist/{config-provider-wrapper-Dbk1Er0W.js → config-provider-wrapper-C72dPUJZ.js} +2 -2
- package/dist/{config-provider-wrapper-Dbk1Er0W.js.map → config-provider-wrapper-C72dPUJZ.js.map} +1 -1
- package/dist/{content-BrpRj7zk.js → content-B5Twifti.js} +4 -4
- package/dist/content-B5Twifti.js.map +1 -0
- package/dist/{context-BOYja0yN.js → context-BjWI-TkR.js} +2 -2
- package/dist/{context-BOYja0yN.js.map → context-BjWI-TkR.js.map} +1 -1
- package/dist/css-node-hover/index.js +2 -2
- package/dist/{css-node-hover-DrXHYNCC.js → css-node-hover-2asP-4iL.js} +2 -2
- package/dist/{css-node-hover-DrXHYNCC.js.map → css-node-hover-2asP-4iL.js.map} +1 -1
- package/dist/date-picker-wrapper/index.js +3 -3
- package/dist/{date-picker-wrapper-2KEdKz5v.js → date-picker-wrapper-D0_g483p.js} +3 -3
- package/dist/{date-picker-wrapper-2KEdKz5v.js.map → date-picker-wrapper-D0_g483p.js.map} +1 -1
- package/dist/date-range-picker-wrapper/index.js +3 -3
- package/dist/{date-range-picker-wrapper-BO6uJjDk.js → date-range-picker-wrapper-BYOsf0I5.js} +3 -3
- package/dist/{date-range-picker-wrapper-BO6uJjDk.js.map → date-range-picker-wrapper-BYOsf0I5.js.map} +1 -1
- package/dist/date-range-picker-wrapper-form-item/index.js +6 -6
- package/dist/{date-range-picker-wrapper-form-item-CkuOvgHk.js → date-range-picker-wrapper-form-item-C_ClxVlZ.js} +5 -5
- package/dist/{date-range-picker-wrapper-form-item-CkuOvgHk.js.map → date-range-picker-wrapper-form-item-C_ClxVlZ.js.map} +1 -1
- package/dist/delete-node/index.js +3 -3
- package/dist/{delete-node-C6jwhyxz.js → delete-node-BIETvJjg.js} +3 -3
- package/dist/{delete-node-C6jwhyxz.js.map → delete-node-BIETvJjg.js.map} +1 -1
- package/dist/{dependencies-CwiS3Chb.js → dependencies-BPs1pFvo.js} +2 -2
- package/dist/{dependencies-CwiS3Chb.js.map → dependencies-BPs1pFvo.js.map} +1 -1
- package/dist/dialog-alert/index.d.ts +5 -5
- package/dist/dialog-alert/index.js +8 -8
- package/dist/{dialog-alert-BJUJNVk3.js → dialog-alert-oCn1pNH0.js} +3 -3
- package/dist/dialog-alert-oCn1pNH0.js.map +1 -0
- package/dist/dialog-confirm/index.d.ts +4 -4
- package/dist/dialog-confirm/index.js +7 -7
- package/dist/{dialog-confirm-CagitgW9.js → dialog-confirm-CQDn4_GG.js} +3 -3
- package/dist/{dialog-confirm-CagitgW9.js.map → dialog-confirm-CQDn4_GG.js.map} +1 -1
- package/dist/dialog-drag-modal/index.d.ts +4 -4
- package/dist/dialog-drag-modal/index.js +8 -8
- package/dist/dialog-drawer/index.d.ts +4 -4
- package/dist/dialog-drawer/index.js +6 -6
- package/dist/{dialog-drawer-CTo7BS1O.js → dialog-drawer-D_NeRR-R.js} +5 -5
- package/dist/dialog-drawer-D_NeRR-R.js.map +1 -0
- package/dist/dialog-drawer-content/index.d.ts +4 -4
- package/dist/dialog-drawer-content/index.js +6 -6
- package/dist/dialog-loading/index.js +2 -2
- package/dist/{dialog-loading-DWAkSW3k.js → dialog-loading-Bm6n4_3R.js} +2 -2
- package/dist/{dialog-loading-DWAkSW3k.js.map → dialog-loading-Bm6n4_3R.js.map} +1 -1
- package/dist/dialog-modal/index.d.ts +4 -4
- package/dist/dialog-modal/index.js +6 -6
- package/dist/{dialog-modal-Nyty6_h7.js → dialog-modal-xVzOgsQO.js} +5 -5
- package/dist/dialog-modal-xVzOgsQO.js.map +1 -0
- package/dist/dialog-preview-image/index.js +2 -2
- package/dist/{drag-CD2Oqu4S.js → drag-CLGaRrbr.js} +4 -4
- package/dist/drag-CLGaRrbr.js.map +1 -0
- package/dist/drag-collapse/index.js +2 -2
- package/dist/{drag-collapse-C9Ufwg8F.js → drag-collapse-D2mbeDvD.js} +2 -2
- package/dist/{drag-collapse-C9Ufwg8F.js.map → drag-collapse-D2mbeDvD.js.map} +1 -1
- package/dist/{drag-collapse-fR-vIpas.js → drag-collapse-DhZ1V5P6.js} +2 -2
- package/dist/{drag-collapse-fR-vIpas.js.map → drag-collapse-DhZ1V5P6.js.map} +1 -1
- package/dist/drag-collapse-form-list/index.js +2 -2
- package/dist/drag-editable-card/index.d.ts +1 -1
- package/dist/drag-editable-card/index.js +13 -13
- package/dist/drag-editable-table/index.d.ts +1 -2
- package/dist/drag-editable-table/index.js +26 -26
- package/dist/drag-editable-table-pro/index.js +10 -10
- package/dist/drag-form-list/index.js +8 -8
- package/dist/{drag-form-list-_DJotlyC.js → drag-form-list-BrIW06Ex.js} +5 -5
- package/dist/{drag-form-list-_DJotlyC.js.map → drag-form-list-BrIW06Ex.js.map} +1 -1
- package/dist/{drag-modal-DVq260Mc.js → drag-modal-B7atMt2P.js} +11 -11
- package/dist/{drag-modal-DVq260Mc.js.map → drag-modal-B7atMt2P.js.map} +1 -1
- package/dist/drag-table/index.js +3 -3
- package/dist/{drag-table-CYRFOAYX.js → drag-table-B5s0LEwN.js} +3 -3
- package/dist/drag-table-B5s0LEwN.js.map +1 -0
- package/dist/{drag-Wzt5Qu0X.js → drag-xBmmIPTD.js} +4 -4
- package/dist/drag-xBmmIPTD.js.map +1 -0
- package/dist/{drawer-BI8T3w7e.js → drawer-BITwshmb.js} +4 -4
- package/dist/drawer-BITwshmb.js.map +1 -0
- package/dist/dropdown-menu-wrapper/index.d.ts +5 -5
- package/dist/dropdown-menu-wrapper/index.js +8 -8
- package/dist/{dropdown-menu-wrapper-Dti5BObg.js → dropdown-menu-wrapper-CfZMQb2W.js} +7 -7
- package/dist/dropdown-menu-wrapper-CfZMQb2W.js.map +1 -0
- package/dist/easy-form/index.js +3 -3
- package/dist/easy-table/index.d.ts +2 -2
- package/dist/easy-table/index.js +20 -20
- package/dist/easy-table/index.js.map +1 -1
- package/dist/editable-card/index.d.ts +1 -1
- package/dist/editable-card/index.js +12 -12
- package/dist/{editable-card-BrnWDl8j.js → editable-card-Dty6epO9.js} +6 -6
- package/dist/editable-card-Dty6epO9.js.map +1 -0
- package/dist/{editable-card-BN9ViZz0.js → editable-card-hr9oCXyN.js} +9 -9
- package/dist/editable-card-hr9oCXyN.js.map +1 -0
- package/dist/editable-field/index.js +3 -3
- package/dist/{editable-field-CJrq0eiF.js → editable-field-BH6M_S9W.js} +3 -3
- package/dist/{editable-field-CJrq0eiF.js.map → editable-field-BH6M_S9W.js.map} +1 -1
- package/dist/editable-table/index.d.ts +1 -2
- package/dist/editable-table/index.js +24 -24
- package/dist/{editable-table-D2-osC9X.js → editable-table-D5Fc0B1_.js} +13 -13
- package/dist/{editable-table-D2-osC9X.js.map → editable-table-D5Fc0B1_.js.map} +1 -1
- package/dist/editable-table-pro/index.js +8 -8
- package/dist/{editable-table-pro-DuxoUyNf.js → editable-table-pro-B12YG7J_.js} +7 -7
- package/dist/editable-table-pro-B12YG7J_.js.map +1 -0
- package/dist/{editor-_CPhhFJO.js → editor-C_Wf256R.js} +4 -4
- package/dist/{editor-_CPhhFJO.js.map → editor-C_Wf256R.js.map} +1 -1
- package/dist/{editor-D-wv_4El.js → editor-CncecOdy.js} +5 -5
- package/dist/{editor-D-wv_4El.js.map → editor-CncecOdy.js.map} +1 -1
- package/dist/{editor-D8ot-YJF.js → editor-CxXSgnLP.js} +3 -3
- package/dist/{editor-D8ot-YJF.js.map → editor-CxXSgnLP.js.map} +1 -1
- package/dist/{editor-BBLseWzD.js → editor-Dhs7idH7.js} +3 -3
- package/dist/{editor-BBLseWzD.js.map → editor-Dhs7idH7.js.map} +1 -1
- package/dist/{editor-DU3q52Nx.js → editor-i79rPG9r.js} +5 -5
- package/dist/{editor-DU3q52Nx.js.map → editor-i79rPG9r.js.map} +1 -1
- package/dist/{error-boundary-WH8mMuvq.js → error-boundary-D6RX4EQZ.js} +8 -8
- package/dist/error-boundary-D6RX4EQZ.js.map +1 -0
- package/dist/error-boundary-wrapper/index.d.ts +6 -5
- package/dist/error-boundary-wrapper/index.js +3 -3
- package/dist/fba-app/index.d.ts +7 -7
- package/dist/fba-app/index.js +7 -7
- package/dist/{fba-app-CQ6DtVqw.js → fba-app-BlOEAmoC.js} +36 -36
- package/dist/fba-app-BlOEAmoC.js.map +1 -0
- package/dist/fba-hooks/index.js +1 -1
- package/dist/fba-hooks/index.js.map +1 -1
- package/dist/fba-utils/index.js +1 -1
- package/dist/{fba-utils-Dfbczn1S.js → fba-utils-okhb5eSJ.js} +2 -2
- package/dist/{fba-utils-Dfbczn1S.js.map → fba-utils-okhb5eSJ.js.map} +1 -1
- package/dist/file-export/index.js +2 -2
- package/dist/{file-export-CRiO6KsI.js → file-export-B3RBS7Wl.js} +2 -2
- package/dist/{file-export-CRiO6KsI.js.map → file-export-B3RBS7Wl.js.map} +1 -1
- package/dist/file-import/index.d.ts +3 -3
- package/dist/file-import/index.js +2 -2
- package/dist/{file-import-DqTOsgdP.js → file-import-pbdSC5lZ.js} +2 -2
- package/dist/file-import-pbdSC5lZ.js.map +1 -0
- package/dist/file-select/index.d.ts +2 -2
- package/dist/file-select/index.js +2 -2
- package/dist/{file-select-E0G9jIBv.js → file-select-BFrXFyKW.js} +2 -2
- package/dist/file-select-BFrXFyKW.js.map +1 -0
- package/dist/flex-layout/index.js +2 -2
- package/dist/{flex-layout-zremxICp.js → flex-layout-BGtMe7zr.js} +2 -2
- package/dist/{flex-layout-zremxICp.js.map → flex-layout-BGtMe7zr.js.map} +1 -1
- package/dist/{form-DNtjXzAW.js → form-398WU_jI.js} +3 -3
- package/dist/{form-DNtjXzAW.js.map → form-398WU_jI.js.map} +1 -1
- package/dist/form-grid/index.js +1 -1
- package/dist/form-grid/index.js.map +1 -1
- package/dist/form-item-group/index.js +2 -2
- package/dist/form-item-span/index.d.ts +4 -2
- package/dist/form-item-span/index.js +2 -2
- package/dist/form-item-text/index.js +5 -5
- package/dist/{form-item-text-Cd-o5xce.js → form-item-text-bxy5q8tw.js} +5 -5
- package/dist/{form-item-text-Cd-o5xce.js.map → form-item-text-bxy5q8tw.js.map} +1 -1
- package/dist/form-item-wrapper/index.js +2 -2
- package/dist/{form-item-wrapper-CkGsPiNS.js → form-item-wrapper-Ci7-5IKi.js} +2 -2
- package/dist/{form-item-wrapper-CkGsPiNS.js.map → form-item-wrapper-Ci7-5IKi.js.map} +1 -1
- package/dist/form-item-wrapper-dependencies/index.js +2 -2
- package/dist/form-list-wrapper/index.js +7 -7
- package/dist/{form-list-wrapper-Cw2GlFg4.js → form-list-wrapper-BTSuq_pI.js} +4 -4
- package/dist/{form-list-wrapper-Cw2GlFg4.js.map → form-list-wrapper-BTSuq_pI.js.map} +1 -1
- package/dist/form-wrapper/index.js +2 -2
- package/dist/{form-wrapper-BSwxGtCk.js → form-wrapper-DBDMN0mN.js} +2 -2
- package/dist/{form-wrapper-BSwxGtCk.js.map → form-wrapper-DBDMN0mN.js.map} +1 -1
- package/dist/gap/index.js +2 -2
- package/dist/{gap-D_CWfDQP.js → gap-5v_ndf2v.js} +2 -2
- package/dist/{gap-D_CWfDQP.js.map → gap-5v_ndf2v.js.map} +1 -1
- package/dist/icon-wrapper/index.d.ts +4 -4
- package/dist/icon-wrapper/index.js +2 -2
- package/dist/{icon-wrapper-GTNh6wtb.js → icon-wrapper-DfWj_rer.js} +2 -2
- package/dist/icon-wrapper-DfWj_rer.js.map +1 -0
- package/dist/{in-view-d3iIBPld.js → in-view-XeG6cIRO.js} +7 -7
- package/dist/{in-view-d3iIBPld.js.map → in-view-XeG6cIRO.js.map} +1 -1
- package/dist/index.d.ts +457 -460
- package/dist/index.js +113 -113
- package/dist/input-search-wrapper/index.js +2 -2
- package/dist/{input-search-wrapper-c71s0_t_.js → input-search-wrapper-dVFSFf3t.js} +2 -2
- package/dist/{input-search-wrapper-c71s0_t_.js.map → input-search-wrapper-dVFSFf3t.js.map} +1 -1
- package/dist/input-text-area-wrapper/index.js +2 -2
- package/dist/{input-text-area-wrapper-B9n2rosB.js → input-text-area-wrapper-CRi9fWSJ.js} +2 -2
- package/dist/{input-text-area-wrapper-B9n2rosB.js.map → input-text-area-wrapper-CRi9fWSJ.js.map} +1 -1
- package/dist/input-wrapper/index.js +2 -2
- package/dist/{input-wrapper-uKQO_C6_.js → input-wrapper-hEJP2UIk.js} +2 -2
- package/dist/{input-wrapper-uKQO_C6_.js.map → input-wrapper-hEJP2UIk.js.map} +1 -1
- package/dist/{label-value-BadY_U3T.js → label-value-CcUdtnY1.js} +5 -5
- package/dist/{label-value-BadY_U3T.js.map → label-value-CcUdtnY1.js.map} +1 -1
- package/dist/label-value-layout/index.js +2 -2
- package/dist/{label-value-layout-BMj_6nzd.js → label-value-layout-CbKTtTXJ.js} +2 -2
- package/dist/{label-value-layout-BMj_6nzd.js.map → label-value-layout-CbKTtTXJ.js.map} +1 -1
- package/dist/label-value-render/index.js +5 -5
- package/dist/{layout-Bl4P3Cv6.js → layout-2woF_D6T.js} +2 -2
- package/dist/layout-2woF_D6T.js.map +1 -0
- package/dist/local-loading/index.js +2 -2
- package/dist/local-loading/index.js.map +1 -1
- package/dist/mention-editor/index.js +3 -3
- package/dist/{mention-editor-OACZLcF7.js → mention-editor-zgAlQ8Cx.js} +3 -3
- package/dist/{mention-editor-OACZLcF7.js.map → mention-editor-zgAlQ8Cx.js.map} +1 -1
- package/dist/{mentions-BRY_sAl9.js → mentions-950t_JC_.js} +8 -8
- package/dist/{mentions-BRY_sAl9.js.map → mentions-950t_JC_.js.map} +1 -1
- package/dist/mentions-wrapper/index.js +2 -2
- package/dist/modal-action/index.js +2 -2
- package/dist/{modal-action-CdaBPYhO.js → modal-action-kQ60nGCG.js} +2 -2
- package/dist/{modal-action-CdaBPYhO.js.map → modal-action-kQ60nGCG.js.map} +1 -1
- package/dist/{number-range-CByi394c.js → number-range-DUyTW0V1.js} +4 -4
- package/dist/{number-range-CByi394c.js.map → number-range-DUyTW0V1.js.map} +1 -1
- package/dist/number-range-form-item/index.js +4 -4
- package/dist/{pagination-B42W0Zo3.js → pagination-2j2BYp57.js} +2 -3
- package/dist/pagination-2j2BYp57.js.map +1 -0
- package/dist/pagination-wrapper/index.js +2 -3
- package/dist/pagination-wrapper/index.js.map +1 -1
- package/dist/pdf/index.js +1 -1
- package/dist/pdf/index.js.map +1 -1
- package/dist/pdf-preview/index.js +3 -3
- package/dist/permission/index.js +2 -2
- package/dist/{permission-BXFgP5jk.js → permission-D5AvZAS8.js} +2 -2
- package/dist/{permission-BXFgP5jk.js.map → permission-D5AvZAS8.js.map} +1 -1
- package/dist/{preview-BDryCcSx.js → preview-DvEwmG2h.js} +3 -3
- package/dist/{preview-BDryCcSx.js.map → preview-DvEwmG2h.js.map} +1 -1
- package/dist/{preview-image-Dxw8Vx6a.js → preview-image-BCBOv4h_.js} +2 -2
- package/dist/{preview-image-Dxw8Vx6a.js.map → preview-image-BCBOv4h_.js.map} +1 -1
- package/dist/radio-group-wrapper-Dip9OsdR.js.map +1 -1
- package/dist/relation-tree/index.js +2 -2
- package/dist/{relation-tree-C6XAfRoa.js → relation-tree-BMas57Ck.js} +2 -2
- package/dist/{relation-tree-C6XAfRoa.js.map → relation-tree-BMas57Ck.js.map} +1 -1
- package/dist/request-status/index.js +3 -3
- package/dist/{request-status-CJ_zkp3v.js → request-status-5M9DP8-J.js} +2 -2
- package/dist/{request-status-CJ_zkp3v.js.map → request-status-5M9DP8-J.js.map} +1 -1
- package/dist/resizable-drawer/index.d.ts +11 -12
- package/dist/resizable-drawer/index.js +6 -6
- package/dist/rich-text-editor/index.js +2 -2
- package/dist/{rich-text-editor-BMDEIxeg.js → rich-text-editor-cqzUxX_s.js} +2 -2
- package/dist/{rich-text-editor-BMDEIxeg.js.map → rich-text-editor-cqzUxX_s.js.map} +1 -1
- package/dist/rich-text-viewer/index.js +4 -4
- package/dist/{rich-text-viewer-BoeWMAbJ.js → rich-text-viewer-CPAJ3JD1.js} +4 -4
- package/dist/{rich-text-viewer-BoeWMAbJ.js.map → rich-text-viewer-CPAJ3JD1.js.map} +1 -1
- package/dist/roll-location-center/index.js +2 -2
- package/dist/roll-location-in-view/index.js +2 -2
- package/dist/rule-describe/index.js +3 -3
- package/dist/{rule-describe-BZqpizoH.js → rule-describe-BkkX7ukt.js} +2 -2
- package/dist/{rule-describe-BZqpizoH.js.map → rule-describe-BkkX7ukt.js.map} +1 -1
- package/dist/{search-ZcmX1Q6C.js → search-BbKmdP-9.js} +4 -4
- package/dist/{search-ZcmX1Q6C.js.map → search-BbKmdP-9.js.map} +1 -1
- package/dist/search-form/index.d.ts +2 -2
- package/dist/search-form/index.js +6 -6
- package/dist/search-menu/index.js +4 -4
- package/dist/{search-menu-BT9wgBth.js → search-menu-N7nz0XoH.js} +4 -4
- package/dist/{search-menu-BT9wgBth.js.map → search-menu-N7nz0XoH.js.map} +1 -1
- package/dist/{selector-DmDKP__k.js → selector-CQ_yMKjh.js} +3 -3
- package/dist/selector-CQ_yMKjh.js.map +1 -0
- package/dist/{selector-Bt2nQLHF.js → selector-D0YxuDbf.js} +2 -3
- package/dist/{selector-Bt2nQLHF.js.map → selector-D0YxuDbf.js.map} +1 -1
- package/dist/selector-wrapper/index.js +4 -4
- package/dist/{selector-wrapper-gY1oRe4Y.js → selector-wrapper-BSpsy8KA.js} +3 -3
- package/dist/{selector-wrapper-gY1oRe4Y.js.map → selector-wrapper-BSpsy8KA.js.map} +1 -1
- package/dist/selector-wrapper-search/index.js +4 -4
- package/dist/{selector-wrapper-search-cCVI4svG.js → selector-wrapper-search-DG0GPWl6.js} +3 -3
- package/dist/{selector-wrapper-search-cCVI4svG.js.map → selector-wrapper-search-DG0GPWl6.js.map} +1 -1
- package/dist/selector-wrapper-simple/index.js +4 -4
- package/dist/{selector-wrapper-simple-CdvME51-.js → selector-wrapper-simple-BE6H7nX7.js} +3 -3
- package/dist/{selector-wrapper-simple-CdvME51-.js.map → selector-wrapper-simple-BE6H7nX7.js.map} +1 -1
- package/dist/simple-layout/index.js +1 -1
- package/dist/sms-count-down/index.js +2 -2
- package/dist/{sms-count-down-C2JyVn9C.js → sms-count-down-DyovY2s3.js} +2 -2
- package/dist/{sms-count-down-C2JyVn9C.js.map → sms-count-down-DyovY2s3.js.map} +1 -1
- package/dist/{span-DWxMz7SD.js → span-Cjqb-rEm.js} +2 -2
- package/dist/span-Cjqb-rEm.js.map +1 -0
- package/dist/{split-hdcaLHCj.js → split-BHDOAdvw.js} +2 -2
- package/dist/{split-hdcaLHCj.js.map → split-BHDOAdvw.js.map} +1 -1
- package/dist/split-wrapper/index.js +2 -2
- package/dist/{svg-7tZHNcxX.js → svg-CqFW3W-s.js} +2 -2
- package/dist/{svg-7tZHNcxX.js.map → svg-CqFW3W-s.js.map} +1 -1
- package/dist/svg-http-view/index.js +2 -2
- package/dist/switch-confirm-wrapper/index.js +2 -2
- package/dist/{switch-confirm-wrapper-Dy1NP5Jr.js → switch-confirm-wrapper-CFFD0YJY.js} +2 -2
- package/dist/{switch-confirm-wrapper-Dy1NP5Jr.js.map → switch-confirm-wrapper-CFFD0YJY.js.map} +1 -1
- package/dist/switch-wrapper/index.js +2 -2
- package/dist/{switch-wrapper-6Cz0lmJf.js → switch-wrapper-CxGztawn.js} +2 -2
- package/dist/{switch-wrapper-6Cz0lmJf.js.map → switch-wrapper-CxGztawn.js.map} +1 -1
- package/dist/{symbol-CE0FGxOG.js → symbol-DcM8okBP.js} +2 -2
- package/dist/{symbol-CE0FGxOG.js.map → symbol-DcM8okBP.js.map} +1 -1
- package/dist/table-cell-render/index.d.ts +5 -5
- package/dist/table-cell-render/index.js +11 -11
- package/dist/table-scrollbar/index.d.ts +3 -1
- package/dist/table-scrollbar/index.js +2 -2
- package/dist/{table-scrollbar-BdG-x6ZM.js → table-scrollbar-yqz5FkCz.js} +2 -2
- package/dist/table-scrollbar-yqz5FkCz.js.map +1 -0
- package/dist/{tabs-Co68dF0x.js → tabs-cpy2bCpo.js} +2 -2
- package/dist/{tabs-Co68dF0x.js.map → tabs-cpy2bCpo.js.map} +1 -1
- package/dist/tabs-sticky/index.js +2 -2
- package/dist/tabs-wrapper/index.js +2 -2
- package/dist/{tabs-wrapper-BXLWJgLy.js → tabs-wrapper-IxpPTX9z.js} +2 -2
- package/dist/{tabs-wrapper-BXLWJgLy.js.map → tabs-wrapper-IxpPTX9z.js.map} +1 -1
- package/dist/tag-group/index.js +2 -2
- package/dist/{tag-group-DRGR3Av9.js → tag-group-B2oj-CYo.js} +2 -2
- package/dist/{tag-group-DRGR3Av9.js.map → tag-group-B2oj-CYo.js.map} +1 -1
- package/dist/{tag-list-DgAFiV_K.js → tag-list-B0OTlda6.js} +2 -2
- package/dist/{tag-list-DgAFiV_K.js.map → tag-list-B0OTlda6.js.map} +1 -1
- package/dist/tag-list-render/index.js +2 -2
- package/dist/tag-list-select-C8_X2SS-.js.map +1 -1
- package/dist/tag-wrapper/index.d.ts +2 -1
- package/dist/tag-wrapper/index.js +2 -2
- package/dist/{tag-wrapper-CDjtf4e8.js → tag-wrapper-CJsZ8Jvy.js} +2 -2
- package/dist/tag-wrapper-CJsZ8Jvy.js.map +1 -0
- package/dist/text-overflow/index.js +2 -2
- package/dist/{text-overflow-MS3fPWKe.js → text-overflow-C42UFIyh.js} +2 -2
- package/dist/{text-overflow-MS3fPWKe.js.map → text-overflow-C42UFIyh.js.map} +1 -1
- package/dist/text-symbol-wrapper/index.js +2 -2
- package/dist/{time-CeL7904f.js → time-Cv4_lLXu.js} +2 -2
- package/dist/{time-CeL7904f.js.map → time-Cv4_lLXu.js.map} +1 -1
- package/dist/time-picker-wrapper/index.js +3 -3
- package/dist/{time-picker-wrapper-UPKqZ4U5.js → time-picker-wrapper-AQg6UCts.js} +3 -3
- package/dist/{time-picker-wrapper-UPKqZ4U5.js.map → time-picker-wrapper-AQg6UCts.js.map} +1 -1
- package/dist/time-range-picker-wrapper/index.js +3 -3
- package/dist/{time-range-picker-wrapper-B7bl-p2p.js → time-range-picker-wrapper-C2Y0j-w1.js} +3 -3
- package/dist/{time-range-picker-wrapper-B7bl-p2p.js.map → time-range-picker-wrapper-C2Y0j-w1.js.map} +1 -1
- package/dist/time-range-picker-wrapper-form-item/index.js +6 -6
- package/dist/{time-range-picker-wrapper-form-item-BXkIqi-2.js → time-range-picker-wrapper-form-item-Cl0i2rZv.js} +5 -5
- package/dist/{time-range-picker-wrapper-form-item-BXkIqi-2.js.map → time-range-picker-wrapper-form-item-Cl0i2rZv.js.map} +1 -1
- package/dist/tips-title/index.js +2 -2
- package/dist/{tips-title-B7ifvKpk.js → tips-title-B6qZn_zc.js} +2 -2
- package/dist/{tips-title-B7ifvKpk.js.map → tips-title-B6qZn_zc.js.map} +1 -1
- package/dist/tips-wrapper/index.js +2 -2
- package/dist/{tips-wrapper-DjVZ0hGy.js → tips-wrapper-DvbgHMwl.js} +2 -2
- package/dist/{tips-wrapper-DjVZ0hGy.js.map → tips-wrapper-DvbgHMwl.js.map} +1 -1
- package/dist/tree-modal/index.d.ts +5 -5
- package/dist/tree-modal/index.js +14 -15
- package/dist/tree-modal/index.js.map +1 -1
- package/dist/tree-modal-selector/index.d.ts +5 -5
- package/dist/tree-modal-selector/index.js +15 -15
- package/dist/tree-selector-wrapper/index.js +4 -4
- package/dist/tree-wrapper/index.d.ts +5 -5
- package/dist/tree-wrapper/index.js +13 -13
- package/dist/tree-wrapper/index.js.map +1 -1
- package/dist/upload-wrapper/index.d.ts +1 -2
- package/dist/upload-wrapper/index.js +5 -5
- package/dist/{upload-wrapper-BUz9bu5L.js → upload-wrapper--IfkLPBP.js} +3 -3
- package/dist/upload-wrapper--IfkLPBP.js.map +1 -0
- package/dist/x-mind-preview/index.d.ts +3 -3
- package/dist/x-mind-preview/index.js +2 -2
- package/dist/{x-mind-preview-z-MeFlwz.js → x-mind-preview-Bx7UmHAu.js} +2 -2
- package/dist/x-mind-preview-Bx7UmHAu.js.map +1 -0
- package/package.json +4 -4
- package/dist/_commonjsHelpers-B0GIDhER.js.map +0 -1
- package/dist/button-operate-C4nUyzrt.js.map +0 -1
- package/dist/button-wrapper-C2koH6hy.js.map +0 -1
- package/dist/content-BrpRj7zk.js.map +0 -1
- package/dist/dialog-alert-BJUJNVk3.js.map +0 -1
- package/dist/dialog-drawer-CTo7BS1O.js.map +0 -1
- package/dist/dialog-modal-Nyty6_h7.js.map +0 -1
- package/dist/drag-CD2Oqu4S.js.map +0 -1
- package/dist/drag-Wzt5Qu0X.js.map +0 -1
- package/dist/drag-table-CYRFOAYX.js.map +0 -1
- package/dist/drawer-BI8T3w7e.js.map +0 -1
- package/dist/dropdown-menu-wrapper-Dti5BObg.js.map +0 -1
- package/dist/editable-card-BN9ViZz0.js.map +0 -1
- package/dist/editable-card-BrnWDl8j.js.map +0 -1
- package/dist/editable-table-pro-DuxoUyNf.js.map +0 -1
- package/dist/error-boundary-WH8mMuvq.js.map +0 -1
- package/dist/fba-app-CQ6DtVqw.js.map +0 -1
- package/dist/file-import-DqTOsgdP.js.map +0 -1
- package/dist/file-select-E0G9jIBv.js.map +0 -1
- package/dist/icon-wrapper-GTNh6wtb.js.map +0 -1
- package/dist/layout-Bl4P3Cv6.js.map +0 -1
- package/dist/pagination-B42W0Zo3.js.map +0 -1
- package/dist/selector-DmDKP__k.js.map +0 -1
- package/dist/span-DWxMz7SD.js.map +0 -1
- package/dist/table-scrollbar-BdG-x6ZM.js.map +0 -1
- package/dist/tag-wrapper-CDjtf4e8.js.map +0 -1
- package/dist/upload-wrapper-BUz9bu5L.js.map +0 -1
- package/dist/x-mind-preview-z-MeFlwz.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { DateFormatType, LabelValueItem, TAny, TNoopDefine, TPlainObject } from '@flatbiz/utils';
|
|
2
2
|
import { IAllProps } from '@tinymce/tinymce-react';
|
|
3
|
-
import { AlertProps, ButtonProps, CardProps, CascaderProps, CheckboxProps, CollapseProps, ColorPickerProps, DatePicker, DrawerProps, DropdownProps, FormInstance, FormItemProps, FormListFieldData, FormListOperation, FormProps, GetProps, InputNumber, InputNumberProps, InputProps, MentionProps, ModalProps, PaginationProps, PopconfirmProps, PopoverProps, RadioGroupProps, RowProps, SelectProps, SpaceProps, SwitchProps, TableProps, Tabs, TabsProps, TagProps, TimePickerProps, TimeRangePickerProps, TooltipProps, TreeProps, TreeSelectProps, UploadProps } from 'antd';
|
|
3
|
+
import { AlertProps, ButtonProps, CardProps, CascaderProps, CheckboxProps, CollapseProps, ColorPickerProps, DatePicker, DrawerProps, DropdownProps, FormInstance, FormItemProps, FormListFieldData, FormListOperation, FormProps, GetProps, InputNumber, InputNumberProps, InputProps, MentionProps, ModalProps, PaginationProps, PopconfirmProps, PopoverProps, RadioGroupProps, RowProps, SelectProps, SpaceProps, SwitchProps, TableProps, Tabs, TabsProps, TagProps, TimePickerProps, TimeRangePickerProps, TooltipProps, TreeProps, TreeSelectProps, UploadFile, UploadProps } from 'antd';
|
|
4
4
|
import { ConfigProviderProps } from 'antd/es/config-provider';
|
|
5
5
|
import { PickerProps } from 'antd/es/date-picker/generatePicker';
|
|
6
6
|
import { FormListProps } from 'antd/es/form';
|
|
7
|
-
import { FormListProps } from 'antd/es/form/FormList.js';
|
|
8
7
|
import { ColumnsType } from 'antd/es/table';
|
|
9
8
|
import { RcFile } from 'antd/es/upload';
|
|
10
9
|
import { CheckboxGroupProps } from 'antd/lib/checkbox';
|
|
11
10
|
import { SearchProps, TextAreaProps } from 'antd/lib/input';
|
|
12
11
|
import { UploadChangeParam } from 'antd/lib/upload';
|
|
13
|
-
import {
|
|
14
|
-
import React$1 from 'react';
|
|
15
|
-
import { CSSProperties, DependencyList, DetailedHTMLProps, FC, ForwardRefExoticComponent, ReactElement, ReactNode, RefAttributes } from 'react';
|
|
12
|
+
import { CSSProperties, Component, DependencyList, DetailedHTMLProps, FC, ForwardRefExoticComponent, HTMLAttributes, MouseEvent, ReactElement, ReactNode, RefAttributes } from 'react';
|
|
16
13
|
import { IAceEditorProps } from 'react-ace';
|
|
17
14
|
import { SplitProps } from 'react-split';
|
|
18
15
|
import { Editor as TinyMCEEditor } from 'tinymce';
|
|
@@ -48,7 +45,7 @@ export type AceEditorGroovyProps = Omit<IAceEditorProps, "mode" | "value" | "onC
|
|
|
48
45
|
* 5.2 配置 theme = xxxx
|
|
49
46
|
* ```
|
|
50
47
|
*/
|
|
51
|
-
export declare const AceEditorGroovy: (props: AceEditorGroovyProps) => import("react").
|
|
48
|
+
export declare const AceEditorGroovy: (props: AceEditorGroovyProps) => import("react").JSX.Element;
|
|
52
49
|
export type AceEditorJavaProps = Omit<IAceEditorProps, "mode" | "value" | "onChange" | "theme"> & {
|
|
53
50
|
/** 编辑器高度,默认值:100%,可输入值例如 300px、100% */
|
|
54
51
|
height?: string;
|
|
@@ -80,7 +77,7 @@ export type AceEditorJavaProps = Omit<IAceEditorProps, "mode" | "value" | "onCha
|
|
|
80
77
|
* 5.2 配置 theme = xxxx
|
|
81
78
|
* ```
|
|
82
79
|
*/
|
|
83
|
-
export declare const AceEditorJava: (props: AceEditorJavaProps) => import("react").
|
|
80
|
+
export declare const AceEditorJava: (props: AceEditorJavaProps) => import("react").JSX.Element;
|
|
84
81
|
export type AceEditorJsonProps = Omit<IAceEditorProps, "mode" | "value" | "onChange" | "theme"> & {
|
|
85
82
|
/** 编辑器高度,默认值:100%,可输入值例如 300px、100% */
|
|
86
83
|
height?: string;
|
|
@@ -104,8 +101,8 @@ export type AceEditorJsonProps = Omit<IAceEditorProps, "mode" | "value" | "onCha
|
|
|
104
101
|
*/
|
|
105
102
|
theme?: string;
|
|
106
103
|
/** 底部额外布局 */
|
|
107
|
-
footerExtraRender?: (children:
|
|
108
|
-
footerStyle?:
|
|
104
|
+
footerExtraRender?: (children: ReactElement) => ReactElement;
|
|
105
|
+
footerStyle?: CSSProperties;
|
|
109
106
|
};
|
|
110
107
|
/**
|
|
111
108
|
* Json编辑器
|
|
@@ -119,7 +116,7 @@ export type AceEditorJsonProps = Omit<IAceEditorProps, "mode" | "value" | "onCha
|
|
|
119
116
|
* 5.2 配置 theme = xxxx
|
|
120
117
|
* ```
|
|
121
118
|
*/
|
|
122
|
-
export declare const AceEditorJson: (props: AceEditorJsonProps) => import("react").
|
|
119
|
+
export declare const AceEditorJson: (props: AceEditorJsonProps) => import("react").JSX.Element;
|
|
123
120
|
export type AceEditorMysqlProps = Omit<IAceEditorProps, "theme" | "mode" | "value" | "onChange"> & {
|
|
124
121
|
/** 编辑器高度,默认值:100%,可输入值例如 300px、100% */
|
|
125
122
|
height?: string;
|
|
@@ -141,10 +138,10 @@ export type AceEditorMysqlProps = Omit<IAceEditorProps, "theme" | "mode" | "valu
|
|
|
141
138
|
*/
|
|
142
139
|
theme?: string;
|
|
143
140
|
/** 底部额外布局 */
|
|
144
|
-
footerExtraRender?: (children:
|
|
145
|
-
footerStyle?:
|
|
141
|
+
footerExtraRender?: (children: ReactElement) => ReactElement;
|
|
142
|
+
footerStyle?: CSSProperties;
|
|
146
143
|
};
|
|
147
|
-
export declare const AceEditorMysql: (props: AceEditorMysqlProps) => import("react").
|
|
144
|
+
export declare const AceEditorMysql: (props: AceEditorMysqlProps) => import("react").JSX.Element;
|
|
148
145
|
export type AceEditorXmlProps = Omit<IAceEditorProps, "mode" | "value" | "onChange" | "theme"> & {
|
|
149
146
|
/** 编辑器高度,默认值:100%,可输入值例如 300px、100% */
|
|
150
147
|
height?: string;
|
|
@@ -170,8 +167,8 @@ export type AceEditorXmlProps = Omit<IAceEditorProps, "mode" | "value" | "onChan
|
|
|
170
167
|
*/
|
|
171
168
|
theme?: string;
|
|
172
169
|
/** 底部额外布局 */
|
|
173
|
-
footerExtraRender?: (children:
|
|
174
|
-
footerStyle?:
|
|
170
|
+
footerExtraRender?: (children: ReactElement) => ReactElement;
|
|
171
|
+
footerStyle?: CSSProperties;
|
|
175
172
|
};
|
|
176
173
|
/**
|
|
177
174
|
* xml编辑器
|
|
@@ -185,7 +182,7 @@ export type AceEditorXmlProps = Omit<IAceEditorProps, "mode" | "value" | "onChan
|
|
|
185
182
|
* 5.2 配置 theme = xxxx
|
|
186
183
|
* ```
|
|
187
184
|
*/
|
|
188
|
-
export declare const AceEditorXml: (props: AceEditorXmlProps) => import("react").
|
|
185
|
+
export declare const AceEditorXml: (props: AceEditorXmlProps) => import("react").JSX.Element;
|
|
189
186
|
export type AiSearchProps = {
|
|
190
187
|
/** 获取AI提示词 */
|
|
191
188
|
getPromptValue: (inputValue: string) => string;
|
|
@@ -199,25 +196,25 @@ export type AiSearchProps = {
|
|
|
199
196
|
maxRows?: number;
|
|
200
197
|
};
|
|
201
198
|
className?: string;
|
|
202
|
-
style?:
|
|
199
|
+
style?: CSSProperties;
|
|
203
200
|
/** 是否使用流式交互 */
|
|
204
201
|
stream?: boolean;
|
|
205
202
|
/** 设置进度条跑完时间,单位秒,默认值:10秒 */
|
|
206
203
|
progressTime?: number;
|
|
207
204
|
};
|
|
208
|
-
export declare const AiSearch: (props: AiSearchProps) => import("react").
|
|
205
|
+
export declare const AiSearch: (props: AiSearchProps) => import("react").JSX.Element;
|
|
209
206
|
export type AlertWrapperProps = AlertProps & {
|
|
210
207
|
size?: "small" | "default" | "large";
|
|
211
208
|
};
|
|
212
209
|
/**
|
|
213
210
|
* antd Alert 无法控制内边距,此组件扩展size属性
|
|
214
211
|
*/
|
|
215
|
-
export declare const AlertWrapper: (props: AlertWrapperProps) => import("react").
|
|
212
|
+
export declare const AlertWrapper: (props: AlertWrapperProps) => import("react").JSX.Element;
|
|
216
213
|
export type AmountFenInputProps = Omit<InputNumberProps, "defaultValue"> & {
|
|
217
214
|
value?: number;
|
|
218
215
|
onChange?: (value?: number) => void;
|
|
219
216
|
};
|
|
220
|
-
export declare const AmountFenInput: (props: AmountFenInputProps) => import("react").
|
|
217
|
+
export declare const AmountFenInput: (props: AmountFenInputProps) => import("react").JSX.Element;
|
|
221
218
|
export type AmountFenInputFormItemProps = FormItemProps & {
|
|
222
219
|
inputNumberProps?: Omit<InputNumberProps, "value" | "onChange" | "defaultValue">;
|
|
223
220
|
};
|
|
@@ -232,12 +229,12 @@ export type AmountFenInputFormItemProps = FormItemProps & {
|
|
|
232
229
|
* />
|
|
233
230
|
* ```
|
|
234
231
|
*/
|
|
235
|
-
export declare const AmountFenInputFormItem: (props: AmountFenInputFormItemProps) => import("react").
|
|
232
|
+
export declare const AmountFenInputFormItem: (props: AmountFenInputFormItemProps) => import("react").JSX.Element;
|
|
236
233
|
export type AnchorStepsProps = {
|
|
237
234
|
steps: {
|
|
238
235
|
id: string;
|
|
239
236
|
title: string;
|
|
240
|
-
content:
|
|
237
|
+
content: ReactElement;
|
|
241
238
|
}[];
|
|
242
239
|
className?: string;
|
|
243
240
|
};
|
|
@@ -246,8 +243,8 @@ export type AnchorStepsProps = {
|
|
|
246
243
|
* @param props
|
|
247
244
|
* @returns
|
|
248
245
|
*/
|
|
249
|
-
export declare const AnchorSteps: (props: AnchorStepsProps) => import("react").
|
|
250
|
-
export type BlockLayoutProps =
|
|
246
|
+
export declare const AnchorSteps: (props: AnchorStepsProps) => import("react").JSX.Element;
|
|
247
|
+
export type BlockLayoutProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
251
248
|
/**
|
|
252
249
|
* 块布局(控制light/dark模式下,块背景色和字体颜色)
|
|
253
250
|
* ```
|
|
@@ -259,7 +256,7 @@ export type BlockLayoutProps = React$1.DetailedHTMLProps<React$1.HTMLAttributes<
|
|
|
259
256
|
* @param props
|
|
260
257
|
* @returns
|
|
261
258
|
*/
|
|
262
|
-
export declare const BlockLayout: (props: BlockLayoutProps) => import("react").
|
|
259
|
+
export declare const BlockLayout: (props: BlockLayoutProps) => import("react").JSX.Element;
|
|
263
260
|
export type FormItemNamePath = string | number | Array<string | number>;
|
|
264
261
|
export type TLocale = "en" | "zh-cn";
|
|
265
262
|
export type TFbaLocale = {
|
|
@@ -285,13 +282,13 @@ export type ConfigProviderWrapperProps = Omit<ConfigProviderProps, "locale"> & {
|
|
|
285
282
|
* 1. 新增监听辅助行为,移除复制文本中前后空格能力
|
|
286
283
|
* ```
|
|
287
284
|
*/
|
|
288
|
-
export declare const ConfigProviderWrapper: (props: ConfigProviderWrapperProps) => import("react").
|
|
285
|
+
export declare const ConfigProviderWrapper: (props: ConfigProviderWrapperProps) => import("react").JSX.Element;
|
|
289
286
|
export type BootstrapProps = {
|
|
290
287
|
/** 是否紧凑模式 */
|
|
291
288
|
compact?: boolean;
|
|
292
289
|
/** 是否drak模式 */
|
|
293
290
|
dark?: boolean;
|
|
294
|
-
children:
|
|
291
|
+
children: ReactNode;
|
|
295
292
|
configProviderProps?: ConfigProviderWrapperProps;
|
|
296
293
|
/** @default zhCN */
|
|
297
294
|
locale?: "en" | "zh-cn";
|
|
@@ -324,12 +321,12 @@ export type BootstrapProps = {
|
|
|
324
321
|
* 4. 封装 antd ConfigProvider 可配置主题
|
|
325
322
|
* ```
|
|
326
323
|
*/
|
|
327
|
-
export declare const Bootstrap: (props: BootstrapProps) => import("react").
|
|
324
|
+
export declare const Bootstrap: (props: BootstrapProps) => import("react").JSX.Element;
|
|
328
325
|
export type TBoxBreakpoint = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
329
326
|
export interface ICommonReact {
|
|
330
|
-
children?:
|
|
327
|
+
children?: ReactNode;
|
|
331
328
|
className?: string;
|
|
332
|
-
style?:
|
|
329
|
+
style?: CSSProperties;
|
|
333
330
|
}
|
|
334
331
|
export type Gutter = number | undefined | Partial<Record<TBoxBreakpoint, number>>;
|
|
335
332
|
export type GutterParams = Gutter | [
|
|
@@ -438,7 +435,7 @@ export declare const BoxGrid: {
|
|
|
438
435
|
};
|
|
439
436
|
export type ButtonWrapperProps = Omit<ButtonProps, "onClick" | "color"> & {
|
|
440
437
|
/** 当返回 Promise 时,按钮自动loading */
|
|
441
|
-
onClick?: (e:
|
|
438
|
+
onClick?: (e: MouseEvent<HTMLElement>) => Promise<TAny> | void;
|
|
442
439
|
/** 重复点击间隙,单位毫秒 默认值:500 */
|
|
443
440
|
debounceDuration?: number;
|
|
444
441
|
/** 基于GLOBAL中elemAclLimits按钮权限列表,控制按钮显示、隐藏 */
|
|
@@ -458,7 +455,7 @@ export type ButtonWrapperProps = Omit<ButtonProps, "onClick" | "color"> & {
|
|
|
458
455
|
* @param props
|
|
459
456
|
* @returns
|
|
460
457
|
*/
|
|
461
|
-
export declare const ButtonWrapper: (props: ButtonWrapperProps) => import("react").
|
|
458
|
+
export declare const ButtonWrapper: (props: ButtonWrapperProps) => import("react").JSX.Element | null;
|
|
462
459
|
export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContainer" | "open" | "open" | "okButtonProps" | "cancelButtonProps" | "footer"> & {
|
|
463
460
|
/**
|
|
464
461
|
* 内置尺寸,根据比例固定高度、宽度,默认:无
|
|
@@ -468,11 +465,11 @@ export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
468
465
|
* ```
|
|
469
466
|
*/
|
|
470
467
|
size?: "small" | "middle" | "large" | null;
|
|
471
|
-
onOk?: (form: FormInstance, e:
|
|
472
|
-
onCancel?: (form: FormInstance, e:
|
|
473
|
-
content: string |
|
|
468
|
+
onOk?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
469
|
+
onCancel?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
470
|
+
content: string | ReactElement | ((form: FormInstance, operate: {
|
|
474
471
|
onClose: TNoopDefine;
|
|
475
|
-
}) =>
|
|
472
|
+
}) => ReactElement);
|
|
476
473
|
configProviderProps?: ConfigProviderWrapperProps;
|
|
477
474
|
okHidden?: boolean;
|
|
478
475
|
cancelHidden?: boolean;
|
|
@@ -487,14 +484,14 @@ export type DialogModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
487
484
|
* ```
|
|
488
485
|
*/
|
|
489
486
|
bodyHeightPercent?: number;
|
|
490
|
-
titleExtra?:
|
|
487
|
+
titleExtra?: ReactElement;
|
|
491
488
|
/**
|
|
492
489
|
* null则隐藏footer
|
|
493
490
|
* ```
|
|
494
491
|
* extraData 为外部通过 useDialogModal.rerenderFooter 重新渲染footer携带的数据
|
|
495
492
|
* ```
|
|
496
493
|
*/
|
|
497
|
-
footer?: null |
|
|
494
|
+
footer?: null | ReactElement | ReactElement[] | ((form: FormInstance, extraData?: TPlainObject) => ReactElement);
|
|
498
495
|
/** 内容高度,为styles.body.height快捷配置,优先级低于styles.body.height */
|
|
499
496
|
bodyHeight?: number;
|
|
500
497
|
};
|
|
@@ -533,12 +530,12 @@ export declare const dialogModal: {
|
|
|
533
530
|
};
|
|
534
531
|
};
|
|
535
532
|
export interface DropdownMenuItem extends Omit<ButtonProps, "color"> {
|
|
536
|
-
text?: string |
|
|
533
|
+
text?: string | ReactElement;
|
|
537
534
|
color?: string;
|
|
538
|
-
onClick?: (event:
|
|
535
|
+
onClick?: (event: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
539
536
|
permission?: string;
|
|
540
537
|
needConfirm?: boolean;
|
|
541
|
-
confirmMessage?:
|
|
538
|
+
confirmMessage?: ReactNode;
|
|
542
539
|
hidden?: boolean;
|
|
543
540
|
confirmModalProps?: DialogModalProps;
|
|
544
541
|
stopPropagation?: boolean;
|
|
@@ -557,20 +554,20 @@ export interface DropdownMenuWrapperProps extends Omit<DropdownProps, "menu"> {
|
|
|
557
554
|
* 1. Dropdown默认弹框根节点在组件内部,通过isFixed=true可设置弹框根节点在body下
|
|
558
555
|
* ```
|
|
559
556
|
*/
|
|
560
|
-
export declare const DropdownMenuWrapper: (props: DropdownMenuWrapperProps) => import("react").
|
|
557
|
+
export declare const DropdownMenuWrapper: (props: DropdownMenuWrapperProps) => import("react").JSX.Element;
|
|
561
558
|
export interface ButtonOperateItem extends ButtonWrapperProps {
|
|
562
559
|
/** hover 提示文字,isFold=true无效 */
|
|
563
|
-
hoverTips?: string |
|
|
560
|
+
hoverTips?: string | ReactElement;
|
|
564
561
|
/** hover 提示类型 默认:'tooltip' */
|
|
565
562
|
tipsType?: "popover" | "tooltip";
|
|
566
563
|
/** 按钮文案 */
|
|
567
|
-
text?: string |
|
|
564
|
+
text?: string | ReactElement;
|
|
568
565
|
/** 自定义按钮颜色 */
|
|
569
566
|
color?: string;
|
|
570
567
|
/** 是否需要二次弹框确认 */
|
|
571
568
|
needConfirm?: boolean;
|
|
572
569
|
/** 二次弹框确认文案 */
|
|
573
|
-
confirmMessage?:
|
|
570
|
+
confirmMessage?: ReactNode;
|
|
574
571
|
popconfirmProps?: Pick<PopconfirmProps, "placement" | "okText" | "cancelText" | "trigger">;
|
|
575
572
|
/** 是否折叠合拢 */
|
|
576
573
|
isFold?: boolean;
|
|
@@ -580,7 +577,7 @@ export interface ButtonOperateItem extends ButtonWrapperProps {
|
|
|
580
577
|
}
|
|
581
578
|
export interface ButtonOperateProps {
|
|
582
579
|
className?: string;
|
|
583
|
-
style?:
|
|
580
|
+
style?: CSSProperties;
|
|
584
581
|
/**
|
|
585
582
|
* 如果数组中元素为ReactElement类型
|
|
586
583
|
* 1. 一般为antd Button组件,如果组件存在属性hidden=true、v-hidden=true,则会隐藏
|
|
@@ -588,11 +585,11 @@ export interface ButtonOperateProps {
|
|
|
588
585
|
* 3. 任何confirm、disabled等状态在外部控制
|
|
589
586
|
* 3. 不支持fold效果
|
|
590
587
|
*/
|
|
591
|
-
operateList: Array<ButtonOperateItem | null |
|
|
588
|
+
operateList: Array<ButtonOperateItem | null | ReactElement>;
|
|
592
589
|
/** 是否换行,默认true */
|
|
593
590
|
wrap?: boolean;
|
|
594
591
|
/** 隐藏图标Icon */
|
|
595
|
-
foldIcon?:
|
|
592
|
+
foldIcon?: ReactElement;
|
|
596
593
|
/** 按钮之间是否添加分隔符 */
|
|
597
594
|
split?: boolean;
|
|
598
595
|
/** 多个按钮的包装组件Space属性 */
|
|
@@ -603,8 +600,8 @@ export interface ButtonOperateProps {
|
|
|
603
600
|
dropdownMenuProps?: Omit<DropdownMenuWrapperProps, "menuList">;
|
|
604
601
|
}
|
|
605
602
|
export declare const ButtonOperateItemContent: (props: Pick<ButtonOperateItem, "hoverTips" | "tipsType"> & {
|
|
606
|
-
content:
|
|
607
|
-
}) => import("react").
|
|
603
|
+
content: ReactNode;
|
|
604
|
+
}) => import("react").JSX.Element;
|
|
608
605
|
/**
|
|
609
606
|
* 按钮组合处理组件
|
|
610
607
|
* ```
|
|
@@ -617,14 +614,14 @@ export declare const ButtonOperateItemContent: (props: Pick<ButtonOperateItem, "
|
|
|
617
614
|
* 2. 修改原因:升级 antd 5.5.1 后,Dropdown 中 Popconfirm弹框组合使用存在问题
|
|
618
615
|
* ```
|
|
619
616
|
*/
|
|
620
|
-
export declare const ButtonOperate:
|
|
617
|
+
export declare const ButtonOperate: FC<ButtonOperateProps>;
|
|
621
618
|
export type CardLayoutProps = {
|
|
622
619
|
/** 描述 */
|
|
623
|
-
desc?: string | string[] |
|
|
620
|
+
desc?: string | string[] | ReactElement | ReactElement[];
|
|
624
621
|
/** 标题 */
|
|
625
|
-
title?: string |
|
|
622
|
+
title?: string | ReactElement;
|
|
626
623
|
/** 子标题,在标题右侧 */
|
|
627
|
-
subTitle?: string |
|
|
624
|
+
subTitle?: string | ReactElement;
|
|
628
625
|
/**
|
|
629
626
|
* layoutType 布局类型
|
|
630
627
|
* ```
|
|
@@ -635,19 +632,19 @@ export type CardLayoutProps = {
|
|
|
635
632
|
layoutType?: "layer" | "tight";
|
|
636
633
|
/** 隐藏标题左侧符号 */
|
|
637
634
|
titleLeftLine?: boolean;
|
|
638
|
-
titleStyle?:
|
|
639
|
-
titleContentStyle?:
|
|
640
|
-
subTitleStyle?:
|
|
641
|
-
titleExtraStyle?:
|
|
642
|
-
contentStyle?:
|
|
635
|
+
titleStyle?: CSSProperties;
|
|
636
|
+
titleContentStyle?: CSSProperties;
|
|
637
|
+
subTitleStyle?: CSSProperties;
|
|
638
|
+
titleExtraStyle?: CSSProperties;
|
|
639
|
+
contentStyle?: CSSProperties;
|
|
643
640
|
/** 优先级大于 style padding */
|
|
644
|
-
padding?:
|
|
641
|
+
padding?: CSSProperties["padding"];
|
|
645
642
|
/** 优先级大于 style width */
|
|
646
|
-
width?:
|
|
643
|
+
width?: CSSProperties["width"];
|
|
647
644
|
/** 优先级大于 style height */
|
|
648
|
-
height?:
|
|
645
|
+
height?: CSSProperties["height"];
|
|
649
646
|
/** 标题右侧布局 */
|
|
650
|
-
titleExtra?: string |
|
|
647
|
+
titleExtra?: string | ReactElement;
|
|
651
648
|
/** 当存在滚动条时,标题固定,滚动区域为内部部分 */
|
|
652
649
|
titleFixed?: boolean;
|
|
653
650
|
/**
|
|
@@ -658,9 +655,9 @@ export type CardLayoutProps = {
|
|
|
658
655
|
size?: "default" | "small";
|
|
659
656
|
onClick?: (event: any) => void;
|
|
660
657
|
hidden?: boolean;
|
|
661
|
-
children?:
|
|
658
|
+
children?: ReactNode;
|
|
662
659
|
className?: string;
|
|
663
|
-
style?:
|
|
660
|
+
style?: CSSProperties;
|
|
664
661
|
};
|
|
665
662
|
/**
|
|
666
663
|
* 卡片结构布局,替代 SimpleLayout 组件
|
|
@@ -673,7 +670,7 @@ export type CardLayoutProps = {
|
|
|
673
670
|
* ```
|
|
674
671
|
*/
|
|
675
672
|
export declare const CardLayout: {
|
|
676
|
-
(props: CardLayoutProps): import("react").
|
|
673
|
+
(props: CardLayoutProps): import("react").JSX.Element;
|
|
677
674
|
defaultProps: {
|
|
678
675
|
titleLeftLine: boolean;
|
|
679
676
|
layoutType: string;
|
|
@@ -686,15 +683,15 @@ export declare const CardLayout: {
|
|
|
686
683
|
* @param props
|
|
687
684
|
* @returns
|
|
688
685
|
*/
|
|
689
|
-
export declare const CardWrapper: (props: CardProps) => import("react").
|
|
686
|
+
export declare const CardWrapper: (props: CardProps) => import("react").JSX.Element;
|
|
690
687
|
export type TRequestStatus = "request-init" | "request-progress" | "request-success" | "request-error" | "no-dependencies-params";
|
|
691
688
|
export type TRequestStatusProps = {
|
|
692
689
|
status?: TRequestStatus;
|
|
693
|
-
errorButton?:
|
|
690
|
+
errorButton?: ReactElement;
|
|
694
691
|
messageConfig?: Partial<Record<TRequestStatus, string>>;
|
|
695
692
|
loading?: boolean;
|
|
696
693
|
};
|
|
697
|
-
export declare const RequestStatus: (props: TRequestStatusProps) => import("react").
|
|
694
|
+
export declare const RequestStatus: (props: TRequestStatusProps) => import("react").JSX.Element;
|
|
698
695
|
export type CascaderWrapperServiceConfig = {
|
|
699
696
|
params?: TPlainObject;
|
|
700
697
|
onRequest?: (params?: TAny) => TAny;
|
|
@@ -723,7 +720,7 @@ export type CascaderWrapperProps = Omit<CascaderProps<TAny>, "loading" | "notFou
|
|
|
723
720
|
* 请求服务需求的数据,当设置`selectorList`后无效果
|
|
724
721
|
*/
|
|
725
722
|
serviceConfig?: CascaderWrapperServiceConfig;
|
|
726
|
-
onLabelRenderAdapter?: (dataItem: TPlainObject) => string |
|
|
723
|
+
onLabelRenderAdapter?: (dataItem: TPlainObject) => string | ReactElement;
|
|
727
724
|
onSelectorListChange?: (dataList: TPlainObject[]) => void;
|
|
728
725
|
/**
|
|
729
726
|
* 是否动态加载选项
|
|
@@ -779,7 +776,7 @@ export declare const CascaderWrapper: import("react").ForwardRefExoticComponent<
|
|
|
779
776
|
* 请求服务需求的数据,当设置`selectorList`后无效果
|
|
780
777
|
*/
|
|
781
778
|
serviceConfig?: CascaderWrapperServiceConfig;
|
|
782
|
-
onLabelRenderAdapter?: (dataItem: TPlainObject) => string |
|
|
779
|
+
onLabelRenderAdapter?: (dataItem: TPlainObject) => string | ReactElement;
|
|
783
780
|
onSelectorListChange?: (dataList: TPlainObject[]) => void;
|
|
784
781
|
/**
|
|
785
782
|
* 是否动态加载选项
|
|
@@ -802,8 +799,8 @@ export declare const CascaderWrapper: import("react").ForwardRefExoticComponent<
|
|
|
802
799
|
} & import("react").RefAttributes<CascaderWrapperRefApi>>;
|
|
803
800
|
export interface CommonPropsWithChildren<S extends TPlainObject = TPlainObject> {
|
|
804
801
|
className?: string;
|
|
805
|
-
style?:
|
|
806
|
-
children?:
|
|
802
|
+
style?: CSSProperties & Partial<S>;
|
|
803
|
+
children?: ReactNode | undefined;
|
|
807
804
|
}
|
|
808
805
|
export type CheckListItemValue = string | number;
|
|
809
806
|
export type CheckListSelectedValue<T extends "multi" | "radio"> = T extends "multi" ? CheckListItemValue[] : CheckListItemValue;
|
|
@@ -813,8 +810,8 @@ export type CheckListProps<T extends "multi" | "radio"> = {
|
|
|
813
810
|
onPreChange?: (value: CheckListItemValue) => Promise<void>;
|
|
814
811
|
value?: CheckListSelectedValue<T>;
|
|
815
812
|
defaultValue?: CheckListSelectedValue<T>;
|
|
816
|
-
beforeExtra?:
|
|
817
|
-
afterExtra?:
|
|
813
|
+
beforeExtra?: ReactNode;
|
|
814
|
+
afterExtra?: ReactNode;
|
|
818
815
|
stopPropagation?: boolean;
|
|
819
816
|
required?: boolean;
|
|
820
817
|
} & CommonPropsWithChildren;
|
|
@@ -824,17 +821,17 @@ export type CheckListItemContentProps = {
|
|
|
824
821
|
onClick?: (event: any) => void;
|
|
825
822
|
className?: string;
|
|
826
823
|
readonly?: boolean;
|
|
827
|
-
style?:
|
|
824
|
+
style?: CSSProperties;
|
|
828
825
|
};
|
|
829
826
|
export type CheckListItemProps = {
|
|
830
827
|
value: CheckListItemValue;
|
|
831
828
|
disabled?: boolean;
|
|
832
829
|
readonly?: boolean;
|
|
833
|
-
children: (data: CheckListItemContentProps) =>
|
|
830
|
+
children: (data: CheckListItemContentProps) => ReactElement;
|
|
834
831
|
className?: string;
|
|
835
|
-
style?:
|
|
832
|
+
style?: CSSProperties;
|
|
836
833
|
};
|
|
837
|
-
export declare const CheckList: (<T extends "multi" | "radio">(props: CheckListProps<T>) => import("react").
|
|
834
|
+
export declare const CheckList: (<T extends "multi" | "radio">(props: CheckListProps<T>) => import("react").JSX.Element) & {
|
|
838
835
|
Item: (props: CheckListItemProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
839
836
|
};
|
|
840
837
|
export type CheckboxWrapperProps = Omit<CheckboxProps, "checked" | "defaultChecked" | "onChange"> & {
|
|
@@ -855,7 +852,7 @@ export type CheckboxWrapperProps = Omit<CheckboxProps, "checked" | "defaultCheck
|
|
|
855
852
|
* </Form.Item>
|
|
856
853
|
* ```
|
|
857
854
|
*/
|
|
858
|
-
export declare const CheckboxWrapper: (props: CheckboxWrapperProps) => import("react").
|
|
855
|
+
export declare const CheckboxWrapper: (props: CheckboxWrapperProps) => import("react").JSX.Element;
|
|
859
856
|
export type ColorPickerWrapperProps = Omit<ColorPickerProps, "value" | "onChange"> & {
|
|
860
857
|
/** 格式:#1677ff */
|
|
861
858
|
value?: string;
|
|
@@ -863,13 +860,13 @@ export type ColorPickerWrapperProps = Omit<ColorPickerProps, "value" | "onChange
|
|
|
863
860
|
onChange?: (hex?: string) => void;
|
|
864
861
|
viewMinWidth?: number;
|
|
865
862
|
};
|
|
866
|
-
export declare const ColorPickerWrapper: (props: ColorPickerWrapperProps) => import("react").
|
|
863
|
+
export declare const ColorPickerWrapper: (props: ColorPickerWrapperProps) => import("react").JSX.Element;
|
|
867
864
|
export type CssHoverProps = {
|
|
868
|
-
children:
|
|
865
|
+
children: ReactElement | ReactElement[];
|
|
869
866
|
} & Pick<CommonPropsWithChildren<{
|
|
870
|
-
"--v-css-hover-bgcolor":
|
|
871
|
-
"--v-css-hover-opacity":
|
|
872
|
-
"--v-css-hover-border-radius":
|
|
867
|
+
"--v-css-hover-bgcolor": CSSProperties["backgroundColor"];
|
|
868
|
+
"--v-css-hover-opacity": CSSProperties["opacity"];
|
|
869
|
+
"--v-css-hover-border-radius": CSSProperties["borderRadius"];
|
|
873
870
|
}>, "style" | "children">;
|
|
874
871
|
/**
|
|
875
872
|
* css hover 效果
|
|
@@ -880,14 +877,14 @@ export type CssHoverProps = {
|
|
|
880
877
|
* @param props
|
|
881
878
|
* @returns
|
|
882
879
|
*/
|
|
883
|
-
export declare const CssNodeHover: (props: CssHoverProps) => import("react").
|
|
880
|
+
export declare const CssNodeHover: (props: CssHoverProps) => import("react").JSX.Element;
|
|
884
881
|
export type DataRenderProps = {
|
|
885
882
|
isEmpty: boolean | (() => boolean);
|
|
886
|
-
empty?:
|
|
887
|
-
emptyText?: string |
|
|
888
|
-
emptyStyle?:
|
|
883
|
+
empty?: ReactElement;
|
|
884
|
+
emptyText?: string | ReactElement;
|
|
885
|
+
emptyStyle?: CSSProperties;
|
|
889
886
|
emptyClassName?: string;
|
|
890
|
-
children:
|
|
887
|
+
children: ReactNode;
|
|
891
888
|
};
|
|
892
889
|
/**
|
|
893
890
|
* 数据渲染,内置处理数据为空渲染
|
|
@@ -905,7 +902,7 @@ export type DataRenderProps = {
|
|
|
905
902
|
* </DataRender>
|
|
906
903
|
* ```
|
|
907
904
|
*/
|
|
908
|
-
export declare const DataRender: (props: DataRenderProps) => import("react").
|
|
905
|
+
export declare const DataRender: (props: DataRenderProps) => import("react").JSX.Element;
|
|
909
906
|
export type TDayjsDateType = "YYYY-MM-DD HH:mm:ss" | "YYYY-MM-DD HH:mm" | "YYYY-MM-DD HH" | "YYYY-MM-DD" | (string & {});
|
|
910
907
|
export type TDayjsTimeType = "HH:mm:ss" | "HH:mm" | "HH" | "mm:ss" | "mm" | "ss" | (string & {});
|
|
911
908
|
export type DatePickerWrapperProps = Omit<PickerProps<TAny>, "value" | "onChange" | "format"> & {
|
|
@@ -939,7 +936,7 @@ export type DatePickerWrapperProps = Omit<PickerProps<TAny>, "value" | "onChange
|
|
|
939
936
|
* 5. 设置 disabledTime 后,内置的disabledTime逻辑将失效
|
|
940
937
|
* ```
|
|
941
938
|
*/
|
|
942
|
-
export declare const DatePickerWrapper: (props: DatePickerWrapperProps) => import("react").
|
|
939
|
+
export declare const DatePickerWrapper: (props: DatePickerWrapperProps) => import("react").JSX.Element;
|
|
943
940
|
export type RangePickerDateProps = GetProps<typeof DatePicker.RangePicker>;
|
|
944
941
|
export type DateRangePickerWrapperProps = Omit<RangePickerDateProps, "value" | "onChange" | "onCalendarChange" | "format"> & {
|
|
945
942
|
value?: [
|
|
@@ -990,7 +987,7 @@ export type DateRangePickerWrapperProps = Omit<RangePickerDateProps, "value" | "
|
|
|
990
987
|
* TODO: 存在场景缺陷,当设置maxDays、showTime后,在选择单个日期不通过确认按钮直接切换输入框,无法获取回调,无法约束disabledDate
|
|
991
988
|
* ```
|
|
992
989
|
*/
|
|
993
|
-
export declare const DateRangePickerWrapper: (props: DateRangePickerWrapperProps) => import("react").
|
|
990
|
+
export declare const DateRangePickerWrapper: (props: DateRangePickerWrapperProps) => import("react").JSX.Element;
|
|
994
991
|
export type TFormLayoutPreClassNameProps = {
|
|
995
992
|
/**
|
|
996
993
|
* label宽度,Form内部所有FormItem label都生效
|
|
@@ -1030,13 +1027,13 @@ export type TFormItemLayoutPreClassNameProps = {
|
|
|
1030
1027
|
className?: string;
|
|
1031
1028
|
};
|
|
1032
1029
|
export type FormItemWrapperProps = Omit<FormItemProps, "hidden" | "children" | "noStyle"> & TFormItemLayoutPreClassNameProps & {
|
|
1033
|
-
wrapper?: (children:
|
|
1030
|
+
wrapper?: (children: ReactNode) => ReactElement;
|
|
1034
1031
|
/** 设置wrapper后,before、after失效 */
|
|
1035
|
-
before?:
|
|
1032
|
+
before?: ReactNode;
|
|
1036
1033
|
/** 设置wrapper后,before、after失效 */
|
|
1037
|
-
after?:
|
|
1034
|
+
after?: ReactNode;
|
|
1038
1035
|
/** 设置 before、after 属性的包装结构style */
|
|
1039
|
-
beforeAfterStyle?:
|
|
1036
|
+
beforeAfterStyle?: CSSProperties;
|
|
1040
1037
|
/** value 序列化处理 */
|
|
1041
1038
|
inputNormalize?: (value?: TAny) => TAny;
|
|
1042
1039
|
/**
|
|
@@ -1069,7 +1066,7 @@ export type FormItemWrapperProps = Omit<FormItemProps, "hidden" | "children" | "
|
|
|
1069
1066
|
*/
|
|
1070
1067
|
span?: number;
|
|
1071
1068
|
/** 不支持函数式写法,如果需要使用dependencies获取表单值,可使用FormItemWrapperDependencies 组件 */
|
|
1072
|
-
children?:
|
|
1069
|
+
children?: ReactNode;
|
|
1073
1070
|
/**
|
|
1074
1071
|
* ```
|
|
1075
1072
|
* 1. 设置noStyle后,可能会导致 FromItemWrapper 在 EasyFrom 内部渲染网格布局时出现异常
|
|
@@ -1105,7 +1102,7 @@ export type FormItemWrapperProps = Omit<FormItemProps, "hidden" | "children" | "
|
|
|
1105
1102
|
* ```
|
|
1106
1103
|
*/
|
|
1107
1104
|
export declare const FormItemWrapper: {
|
|
1108
|
-
(props: FormItemWrapperProps): import("react").
|
|
1105
|
+
(props: FormItemWrapperProps): import("react").JSX.Element;
|
|
1109
1106
|
domTypeName: string;
|
|
1110
1107
|
};
|
|
1111
1108
|
export type DateRangePickerWrapperFormItemProps = Omit<FormItemWrapperProps, "name"> & {
|
|
@@ -1158,21 +1155,21 @@ export type DateRangePickerWrapperFormItemProps = Omit<FormItemWrapperProps, "na
|
|
|
1158
1155
|
* </FormListWrapper>
|
|
1159
1156
|
* ```
|
|
1160
1157
|
*/
|
|
1161
|
-
export declare const DateRangePickerWrapperFormItem: (props: DateRangePickerWrapperFormItemProps) => import("react").
|
|
1158
|
+
export declare const DateRangePickerWrapperFormItem: (props: DateRangePickerWrapperFormItemProps) => import("react").JSX.Element;
|
|
1162
1159
|
/** 删除节点,点击后会显示二次确认点击 */
|
|
1163
1160
|
export declare const DeleteNode: (props: {
|
|
1164
1161
|
onDelete: () => void;
|
|
1165
1162
|
/** 默认图标 */
|
|
1166
|
-
icon?:
|
|
1163
|
+
icon?: ReactElement;
|
|
1167
1164
|
/** 确认图标 */
|
|
1168
|
-
confirmIcon?:
|
|
1165
|
+
confirmIcon?: ReactElement;
|
|
1169
1166
|
/** 是否隐藏 */
|
|
1170
1167
|
hidden?: boolean;
|
|
1171
|
-
style?:
|
|
1168
|
+
style?: CSSProperties;
|
|
1172
1169
|
className?: string;
|
|
1173
|
-
}) => import("react").
|
|
1170
|
+
}) => import("react").JSX.Element;
|
|
1174
1171
|
export type DialogAlertProps = Omit<DialogModalProps, "onOk" | "cancelHidden" | "cancelButtonProps" | "onCancel" | "onClick"> & {
|
|
1175
|
-
onClick?: (e:
|
|
1172
|
+
onClick?: (e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
1176
1173
|
};
|
|
1177
1174
|
/**
|
|
1178
1175
|
* 确认弹框
|
|
@@ -1212,40 +1209,40 @@ export type DialogDragModalProps = {
|
|
|
1212
1209
|
/** 相同的modalKey,最多只有一个弹起状态 */
|
|
1213
1210
|
modalKey?: string;
|
|
1214
1211
|
className?: string;
|
|
1215
|
-
style?:
|
|
1212
|
+
style?: CSSProperties;
|
|
1216
1213
|
styles?: {
|
|
1217
|
-
header?:
|
|
1218
|
-
body?:
|
|
1219
|
-
footer?:
|
|
1214
|
+
header?: CSSProperties;
|
|
1215
|
+
body?: CSSProperties;
|
|
1216
|
+
footer?: CSSProperties;
|
|
1220
1217
|
};
|
|
1221
1218
|
width?: number;
|
|
1222
1219
|
bodyHeight?: number;
|
|
1223
1220
|
/** 触发弹起点击事件event,用于计算鼠标位置 */
|
|
1224
|
-
event?:
|
|
1221
|
+
event?: MouseEvent<HTMLElement>;
|
|
1225
1222
|
/** 定义弹出层距离触发点的x轴偏移量 */
|
|
1226
1223
|
xOffset?: number;
|
|
1227
1224
|
title?: string;
|
|
1228
|
-
okText?: string |
|
|
1229
|
-
cancelText?: string |
|
|
1225
|
+
okText?: string | ReactElement;
|
|
1226
|
+
cancelText?: string | ReactElement;
|
|
1230
1227
|
okHidden?: boolean;
|
|
1231
1228
|
cancelHidden?: boolean;
|
|
1232
|
-
onOk?: (form: FormInstance, e:
|
|
1233
|
-
onCancel?: (form: FormInstance, e:
|
|
1234
|
-
content: string |
|
|
1229
|
+
onOk?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
1230
|
+
onCancel?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
1231
|
+
content: string | ReactElement | ((form: FormInstance, operate: {
|
|
1235
1232
|
onClose: TNoopDefine;
|
|
1236
|
-
}) =>
|
|
1233
|
+
}) => ReactElement);
|
|
1237
1234
|
/** 覆盖当前footer,自定义操作按钮 */
|
|
1238
1235
|
footer?: null | ((form: FormInstance, operate: {
|
|
1239
1236
|
onClose: TNoopDefine;
|
|
1240
|
-
}) =>
|
|
1237
|
+
}) => ReactElement);
|
|
1241
1238
|
/** 当前footer操作按钮,左侧扩展 */
|
|
1242
1239
|
footerOperateBeforeRender?: (form: FormInstance, operate: {
|
|
1243
1240
|
onClose: TNoopDefine;
|
|
1244
|
-
}) =>
|
|
1241
|
+
}) => ReactElement;
|
|
1245
1242
|
/** 当前footer操作按钮,右侧扩展 */
|
|
1246
1243
|
footerOperateAfterRender?: (form: FormInstance, operate: {
|
|
1247
1244
|
onClose: TNoopDefine;
|
|
1248
|
-
}) =>
|
|
1245
|
+
}) => ReactElement;
|
|
1249
1246
|
};
|
|
1250
1247
|
/**
|
|
1251
1248
|
* 可移动弹框
|
|
@@ -1267,13 +1264,13 @@ export declare const dialogDragModal: {
|
|
|
1267
1264
|
close: (modalKey?: string) => void;
|
|
1268
1265
|
};
|
|
1269
1266
|
export type DialogDrawerProps = Omit<DrawerProps, "onOk" | "onCancel" | "getContainer" | "open" | "open" | "footer" | "extra"> & {
|
|
1270
|
-
okText?: string |
|
|
1271
|
-
cancelText?: string |
|
|
1272
|
-
onOk?: (form: FormInstance, e:
|
|
1273
|
-
onCancel?: (form: FormInstance, e:
|
|
1274
|
-
content: string |
|
|
1267
|
+
okText?: string | ReactElement;
|
|
1268
|
+
cancelText?: string | ReactElement;
|
|
1269
|
+
onOk?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
1270
|
+
onCancel?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
1271
|
+
content: string | ReactElement | ((form: FormInstance, operate: {
|
|
1275
1272
|
onClose: TNoopDefine;
|
|
1276
|
-
}) =>
|
|
1273
|
+
}) => ReactElement);
|
|
1277
1274
|
configProviderProps?: ConfigProviderWrapperProps;
|
|
1278
1275
|
okButtonExtraProps?: Omit<ButtonWrapperProps, "onClick" | "children" | "loading">;
|
|
1279
1276
|
cancelButtonExtraProps?: Omit<ButtonWrapperProps, "onClick" | "children">;
|
|
@@ -1282,14 +1279,14 @@ export type DialogDrawerProps = Omit<DrawerProps, "onOk" | "onCancel" | "getCont
|
|
|
1282
1279
|
/** 设置操作区域位置 */
|
|
1283
1280
|
operatePosition?: "header" | "footer";
|
|
1284
1281
|
/** 右上角自定义内容,如果operatePosition=header,此设置无效 */
|
|
1285
|
-
extra?:
|
|
1282
|
+
extra?: ReactNode | ((form: FormInstance) => ReactElement);
|
|
1286
1283
|
/**
|
|
1287
1284
|
* ```
|
|
1288
1285
|
* 1. 自定义弹框操作区域,通过 operatePosition 配置可以自定义位置
|
|
1289
1286
|
* 2. extraData 为外部通过 useDialogModal.rerenderFooter 重新渲染footer携带的数据
|
|
1290
1287
|
* ```
|
|
1291
1288
|
*/
|
|
1292
|
-
operateRender?: (form: FormInstance, extraData?: TPlainObject) =>
|
|
1289
|
+
operateRender?: (form: FormInstance, extraData?: TPlainObject) => ReactElement;
|
|
1293
1290
|
};
|
|
1294
1291
|
/**
|
|
1295
1292
|
* 抽屉弹框
|
|
@@ -1327,17 +1324,17 @@ export declare const dialogDrawer: {
|
|
|
1327
1324
|
export type DialogDrawerContentProps = {
|
|
1328
1325
|
footer?: (data: {
|
|
1329
1326
|
onClose: () => void;
|
|
1330
|
-
}) =>
|
|
1331
|
-
footerStyle?:
|
|
1332
|
-
children?:
|
|
1327
|
+
}) => ReactElement;
|
|
1328
|
+
footerStyle?: CSSProperties;
|
|
1329
|
+
children?: ReactNode;
|
|
1333
1330
|
okHidden?: boolean;
|
|
1334
1331
|
cancelHidden?: boolean;
|
|
1335
1332
|
okButtonExtraProps?: Omit<ButtonWrapperProps, "onClick" | "children" | "loading">;
|
|
1336
1333
|
cancelButtonExtraProps?: Omit<ButtonWrapperProps, "onClick" | "children" | "loading">;
|
|
1337
|
-
okText?: string |
|
|
1338
|
-
cancelText?: string |
|
|
1339
|
-
onOk?: (e:
|
|
1340
|
-
onCancel?: (e:
|
|
1334
|
+
okText?: string | ReactElement;
|
|
1335
|
+
cancelText?: string | ReactElement;
|
|
1336
|
+
onOk?: (e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
1337
|
+
onCancel?: (e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
1341
1338
|
};
|
|
1342
1339
|
/**
|
|
1343
1340
|
* 当dialogDrawer底部操作按钮在业务content内部时,使用
|
|
@@ -1346,7 +1343,7 @@ export type DialogDrawerContentProps = {
|
|
|
1346
1343
|
* 2. 设置 footer 后,okHidden、cancelHidden、okButtonExtraProps、cancelButtonExtraProps、okText、cancelText、onOk、onCancel全部失效
|
|
1347
1344
|
* ```
|
|
1348
1345
|
*/
|
|
1349
|
-
export declare const DialogDrawerContent: (props: DialogDrawerContentProps) => import("react").
|
|
1346
|
+
export declare const DialogDrawerContent: (props: DialogDrawerContentProps) => import("react").JSX.Element;
|
|
1350
1347
|
export type DialogLoadingProps = {
|
|
1351
1348
|
className?: string;
|
|
1352
1349
|
message?: string;
|
|
@@ -1389,12 +1386,12 @@ export declare const dialogPreviewImage: {
|
|
|
1389
1386
|
export type DragCollapseItemKey = number | string;
|
|
1390
1387
|
export type DragCollapseItem = {
|
|
1391
1388
|
key: DragCollapseItemKey;
|
|
1392
|
-
header:
|
|
1393
|
-
content:
|
|
1389
|
+
header: ReactNode;
|
|
1390
|
+
content: ReactElement;
|
|
1394
1391
|
};
|
|
1395
1392
|
export type DragCollapseProps = {
|
|
1396
1393
|
className?: string;
|
|
1397
|
-
style?:
|
|
1394
|
+
style?: CSSProperties;
|
|
1398
1395
|
/** 面板数据 */
|
|
1399
1396
|
items: DragCollapseItem[];
|
|
1400
1397
|
/** 拖拽面板回调 */
|
|
@@ -1416,7 +1413,7 @@ export type DragCollapseProps = {
|
|
|
1416
1413
|
/** 隐藏拖拽图标,默认不隐藏 */
|
|
1417
1414
|
hideDragIcon?: boolean;
|
|
1418
1415
|
/** 设置拖拽图标 */
|
|
1419
|
-
dragIcon?:
|
|
1416
|
+
dragIcon?: ReactElement;
|
|
1420
1417
|
/** 切换面板的回调 */
|
|
1421
1418
|
onChange?: (activeKey?: DragCollapseItemKey | DragCollapseItemKey[]) => void;
|
|
1422
1419
|
};
|
|
@@ -1425,7 +1422,7 @@ export type DragCollapseProps = {
|
|
|
1425
1422
|
* @param props
|
|
1426
1423
|
* @returns
|
|
1427
1424
|
*/
|
|
1428
|
-
export declare const DragCollapse: (props: DragCollapseProps) => import("react").
|
|
1425
|
+
export declare const DragCollapse: (props: DragCollapseProps) => import("react").JSX.Element;
|
|
1429
1426
|
export type DragCollapseFormListContentProps = {
|
|
1430
1427
|
/** Form.List item fieldData */
|
|
1431
1428
|
formListFieldData: FormListFieldData;
|
|
@@ -1446,7 +1443,7 @@ export type DragCollapseFormListProps = {
|
|
|
1446
1443
|
/** formList item 数据中的唯一值,默认值:uid */
|
|
1447
1444
|
uidFieldName?: string;
|
|
1448
1445
|
className?: string;
|
|
1449
|
-
style?:
|
|
1446
|
+
style?: CSSProperties;
|
|
1450
1447
|
/** formList name */
|
|
1451
1448
|
formListName: string | number | (string | number)[];
|
|
1452
1449
|
/** 拖拽面板回调 */
|
|
@@ -1466,15 +1463,15 @@ export type DragCollapseFormListProps = {
|
|
|
1466
1463
|
/** 设置折叠面板大小 */
|
|
1467
1464
|
size?: CollapseProps["size"];
|
|
1468
1465
|
/** 设置拖拽图标 */
|
|
1469
|
-
dragIcon?:
|
|
1466
|
+
dragIcon?: ReactElement;
|
|
1470
1467
|
/** 切换面板的回调 */
|
|
1471
1468
|
onChange?: (activeKey?: number | string | (number | string)[]) => void;
|
|
1472
1469
|
/** 禁用拖拽,拖拽图标隐藏 */
|
|
1473
1470
|
dragDisabled?: boolean;
|
|
1474
1471
|
/** 折叠面板 header 渲染 */
|
|
1475
|
-
header: (data: DragCollapseFormListHeaderProps) =>
|
|
1472
|
+
header: (data: DragCollapseFormListHeaderProps) => ReactElement;
|
|
1476
1473
|
/** 折叠面板 content 渲染 */
|
|
1477
|
-
content: (data: DragCollapseFormListContentProps) =>
|
|
1474
|
+
content: (data: DragCollapseFormListContentProps) => ReactElement;
|
|
1478
1475
|
/** 设置面板禁止拖拽 */
|
|
1479
1476
|
getItemDragDisabled?: (uid: string | number, index: number) => boolean;
|
|
1480
1477
|
rules?: FormListProps["rules"];
|
|
@@ -1485,9 +1482,9 @@ export type DragCollapseFormListProps = {
|
|
|
1485
1482
|
* 1. FormList数组中必须要有唯一值字段,默认值字段名称uid,可通过uidFieldName自定义设置名称
|
|
1486
1483
|
* ```
|
|
1487
1484
|
*/
|
|
1488
|
-
export declare const DragCollapseFormList: (props: DragCollapseFormListProps) => import("react").
|
|
1485
|
+
export declare const DragCollapseFormList: (props: DragCollapseFormListProps) => import("react").JSX.Element;
|
|
1489
1486
|
export type FormWrapperProps<Values = any> = TFormLayoutPreClassNameProps & FormProps<Values> & {
|
|
1490
|
-
children:
|
|
1487
|
+
children: ReactNode;
|
|
1491
1488
|
};
|
|
1492
1489
|
/**
|
|
1493
1490
|
* Form 包装组件,添加对formItem的布局控制
|
|
@@ -1495,7 +1492,7 @@ export type FormWrapperProps<Values = any> = TFormLayoutPreClassNameProps & Form
|
|
|
1495
1492
|
* 1. 内置布局样式使用 preDefinedClassName.form
|
|
1496
1493
|
* ```
|
|
1497
1494
|
*/
|
|
1498
|
-
export declare const FormWrapper: (props: FormWrapperProps) => import("react").
|
|
1495
|
+
export declare const FormWrapper: (props: FormWrapperProps) => import("react").JSX.Element;
|
|
1499
1496
|
export type EasyFormProps = Omit<FormWrapperProps, "children"> & {
|
|
1500
1497
|
/**
|
|
1501
1498
|
* 定义一行显示几列(当外层宽度尺寸大于 992px(lg) 时,一行显示几列), 默认值:3
|
|
@@ -1532,7 +1529,7 @@ export type EasyFormProps = Omit<FormWrapperProps, "children"> & {
|
|
|
1532
1529
|
width?: number | string;
|
|
1533
1530
|
/** 网格间距 */
|
|
1534
1531
|
gridGutter?: BoxRowProps["gutter"];
|
|
1535
|
-
children:
|
|
1532
|
+
children: ReactNode;
|
|
1536
1533
|
/**
|
|
1537
1534
|
* 是否为纯净模式,对EasyForm的子节点不做任何包装处理
|
|
1538
1535
|
*/
|
|
@@ -1595,7 +1592,7 @@ export type EasyFormProps = Omit<FormWrapperProps, "children"> & {
|
|
|
1595
1592
|
* ```
|
|
1596
1593
|
*/
|
|
1597
1594
|
export declare const EasyForm: {
|
|
1598
|
-
(props: EasyFormProps): import("react").
|
|
1595
|
+
(props: EasyFormProps): import("react").JSX.Element;
|
|
1599
1596
|
domTypeName: string;
|
|
1600
1597
|
};
|
|
1601
1598
|
export type EditableCardDataIndex = string | string[];
|
|
@@ -1655,7 +1652,7 @@ export type EditableCardColumnItem = {
|
|
|
1655
1652
|
*/
|
|
1656
1653
|
gridNumber?: number;
|
|
1657
1654
|
/** 标题 */
|
|
1658
|
-
title?:
|
|
1655
|
+
title?: ReactElement | string;
|
|
1659
1656
|
/**
|
|
1660
1657
|
* Form.Item props
|
|
1661
1658
|
*/
|
|
@@ -1692,7 +1689,7 @@ export type EditableCardColumnItem = {
|
|
|
1692
1689
|
* }
|
|
1693
1690
|
* ```
|
|
1694
1691
|
*/
|
|
1695
|
-
render?: (operation: EditableCardOperation) =>
|
|
1692
|
+
render?: (operation: EditableCardOperation) => ReactElement;
|
|
1696
1693
|
/**
|
|
1697
1694
|
* 会在 title 之后展示一个 icon
|
|
1698
1695
|
*/
|
|
@@ -1708,11 +1705,11 @@ export type EditableCardColumnItem = {
|
|
|
1708
1705
|
hidden?: (operation: EditableCardOperation, index: number) => boolean;
|
|
1709
1706
|
/** 移除设置,优先级高于 hidden */
|
|
1710
1707
|
remove?: (operation: EditableCardOperation, index: number) => boolean;
|
|
1711
|
-
formItemContainer?: (formItem:
|
|
1708
|
+
formItemContainer?: (formItem: ReactElement) => ReactElement | null;
|
|
1712
1709
|
};
|
|
1713
1710
|
export type EditableCardProps = {
|
|
1714
1711
|
className?: string;
|
|
1715
|
-
style?:
|
|
1712
|
+
style?: CSSProperties;
|
|
1716
1713
|
/** 卡片内字段配置 */
|
|
1717
1714
|
columns: EditableCardColumnItem[];
|
|
1718
1715
|
/**
|
|
@@ -1746,32 +1743,32 @@ export type EditableCardProps = {
|
|
|
1746
1743
|
/**`默认新增按钮`新增行默认值,hiddenFooterBtn != true 有效 */
|
|
1747
1744
|
addRowDefaultValues?: () => TPlainObject;
|
|
1748
1745
|
/** 自定义新增按钮名称 */
|
|
1749
|
-
addRowBtnName?:
|
|
1746
|
+
addRowBtnName?: ReactNode;
|
|
1750
1747
|
/** 隐藏底部`新增`按钮 */
|
|
1751
1748
|
hiddenFooterBtn?: boolean;
|
|
1752
1749
|
/** 隐藏默认删除按钮 */
|
|
1753
1750
|
hiddenDeleteBtn?: boolean;
|
|
1754
1751
|
/** 顶部区域渲染 */
|
|
1755
|
-
contentBeforeRender?: (formListOperation: FormListOperation, nextRowIndex: number) =>
|
|
1752
|
+
contentBeforeRender?: (formListOperation: FormListOperation, nextRowIndex: number) => ReactElement | null;
|
|
1756
1753
|
/** 底部区域渲染 */
|
|
1757
|
-
contentAfterRender?: (formListOperation: FormListOperation, nextRowIndex: number) =>
|
|
1754
|
+
contentAfterRender?: (formListOperation: FormListOperation, nextRowIndex: number) => ReactElement | null;
|
|
1758
1755
|
/** 设置默认卡片名称,设置 onCustomWrapper 后失效 */
|
|
1759
|
-
onCustomGroupName?: (index: number) => string |
|
|
1756
|
+
onCustomGroupName?: (index: number) => string | ReactElement;
|
|
1760
1757
|
/** 自定义卡片包裹,同时可自定义删除按钮、新增按钮 */
|
|
1761
|
-
onCustomWrapper?: (children:
|
|
1758
|
+
onCustomWrapper?: (children: ReactElement, extraData: {
|
|
1762
1759
|
operation: FormListOperation;
|
|
1763
1760
|
fields: FormListFieldData[];
|
|
1764
1761
|
fieldItem: FormListFieldData;
|
|
1765
1762
|
index: number;
|
|
1766
1763
|
required?: boolean;
|
|
1767
1764
|
key: string;
|
|
1768
|
-
}) =>
|
|
1765
|
+
}) => ReactElement;
|
|
1769
1766
|
/** 设置必填,但只有一条数据时,隐藏默认删除按钮 */
|
|
1770
1767
|
required?: boolean;
|
|
1771
1768
|
/** 默认卡片样式 */
|
|
1772
1769
|
cardClassName?: string;
|
|
1773
1770
|
/** 默认卡片样式 */
|
|
1774
|
-
cardStyle?:
|
|
1771
|
+
cardStyle?: CSSProperties;
|
|
1775
1772
|
/**
|
|
1776
1773
|
* 每个卡片内容都使用了 EasyForm 包裹,此处可设置 EasyFormProps
|
|
1777
1774
|
* ```
|
|
@@ -1810,15 +1807,15 @@ export type EditableCardProps = {
|
|
|
1810
1807
|
required?: boolean;
|
|
1811
1808
|
key: string;
|
|
1812
1809
|
}) => {
|
|
1813
|
-
before?:
|
|
1814
|
-
after?:
|
|
1815
|
-
} |
|
|
1810
|
+
before?: ReactElement[];
|
|
1811
|
+
after?: ReactElement[];
|
|
1812
|
+
} | ReactElement;
|
|
1816
1813
|
};
|
|
1817
1814
|
export type DragEditableCardProps = Omit<EditableCardProps, "onCustomWrapper"> & {
|
|
1818
1815
|
/**
|
|
1819
1816
|
* 拖拽图标自定义,默认使用 DragOutlined 图标
|
|
1820
1817
|
*/
|
|
1821
|
-
dragIcon?:
|
|
1818
|
+
dragIcon?: ReactElement;
|
|
1822
1819
|
/** 禁用拖拽 */
|
|
1823
1820
|
disabledDrag?: boolean;
|
|
1824
1821
|
/**
|
|
@@ -1854,13 +1851,13 @@ export type DragEditableCardProps = Omit<EditableCardProps, "onCustomWrapper"> &
|
|
|
1854
1851
|
* 1. 卡片数组必须有唯一值字段,通过参数 uidFieldKey 告诉组件
|
|
1855
1852
|
* ```
|
|
1856
1853
|
*/
|
|
1857
|
-
export declare const DragEditableCard: (props: DragEditableCardProps) => import("react").
|
|
1854
|
+
export declare const DragEditableCard: (props: DragEditableCardProps) => import("react").JSX.Element;
|
|
1858
1855
|
export type TipsWrapperProps = {
|
|
1859
1856
|
gap?: number;
|
|
1860
1857
|
className?: string;
|
|
1861
|
-
style?:
|
|
1862
|
-
children?:
|
|
1863
|
-
icon?:
|
|
1858
|
+
style?: CSSProperties;
|
|
1859
|
+
children?: ReactNode;
|
|
1860
|
+
icon?: ReactElement;
|
|
1864
1861
|
/** Icon添加点击事件,设置hoverTips后失效 */
|
|
1865
1862
|
onClick?: (event: any) => void;
|
|
1866
1863
|
/**
|
|
@@ -1891,7 +1888,7 @@ export type TipsWrapperProps = {
|
|
|
1891
1888
|
* <TipsWrapper onClick={noop}>ABC</TipsWrapper>
|
|
1892
1889
|
* ```
|
|
1893
1890
|
*/
|
|
1894
|
-
export declare const TipsWrapper: (props: TipsWrapperProps) => import("react").
|
|
1891
|
+
export declare const TipsWrapper: (props: TipsWrapperProps) => import("react").JSX.Element;
|
|
1895
1892
|
export type SelectorWrapperValue = string | number | Array<string | number> | TPlainObject<string | number> | Array<TPlainObject<string | number>>;
|
|
1896
1893
|
export type SelectorServiceConfig = {
|
|
1897
1894
|
params?: TPlainObject;
|
|
@@ -1956,11 +1953,11 @@ export type SelectorWrapperProps = Omit<SelectProps, "onSearch" | "notFoundConte
|
|
|
1956
1953
|
label: string;
|
|
1957
1954
|
value: string | number;
|
|
1958
1955
|
};
|
|
1959
|
-
onLabelRenderAdapter?: (dataItem: TPlainObject) => string |
|
|
1956
|
+
onLabelRenderAdapter?: (dataItem: TPlainObject) => string | ReactElement;
|
|
1960
1957
|
onChange?: (value?: SelectorWrapperValue, selectedList?: TPlainObject[] | TPlainObject) => void;
|
|
1961
1958
|
showIcon?: boolean;
|
|
1962
1959
|
/** select option添加图标;与showIcon组合使用 */
|
|
1963
|
-
icon?: (data: TPlainObject, index: number) =>
|
|
1960
|
+
icon?: (data: TPlainObject, index: number) => ReactElement;
|
|
1964
1961
|
requestMessageConfig?: TRequestStatusProps["messageConfig"];
|
|
1965
1962
|
/**
|
|
1966
1963
|
* value格式
|
|
@@ -2012,7 +2009,7 @@ export type SwitchWrapperProps = Omit<SwitchProps, "checked" | "defaultChecked"
|
|
|
2012
2009
|
* 6. 可设置 serviceConfig 配置服务调用交互
|
|
2013
2010
|
* ```
|
|
2014
2011
|
*/
|
|
2015
|
-
export declare const SwitchWrapper: (props: SwitchWrapperProps) => import("react").
|
|
2012
|
+
export declare const SwitchWrapper: (props: SwitchWrapperProps) => import("react").JSX.Element;
|
|
2016
2013
|
export type UploadWrapperFileItem = {
|
|
2017
2014
|
uid: string;
|
|
2018
2015
|
name: string;
|
|
@@ -2059,7 +2056,7 @@ export type UploadWrapperProps<T extends TPlainObject = TPlainObject> = {
|
|
|
2059
2056
|
* ```
|
|
2060
2057
|
*/
|
|
2061
2058
|
extraOperate?: {
|
|
2062
|
-
icon:
|
|
2059
|
+
icon: ReactElement;
|
|
2063
2060
|
onClick: (file: UploadFile, fileList: UploadFile[], e: any) => void;
|
|
2064
2061
|
}[];
|
|
2065
2062
|
} & Omit<UploadProps, "onChange" | "fileList">;
|
|
@@ -2103,7 +2100,7 @@ export type UploadWrapperProps<T extends TPlainObject = TPlainObject> = {
|
|
|
2103
2100
|
* ```
|
|
2104
2101
|
*
|
|
2105
2102
|
*/
|
|
2106
|
-
export declare const UploadWrapper: (props: UploadWrapperProps) => import("react").
|
|
2103
|
+
export declare const UploadWrapper: (props: UploadWrapperProps) => import("react").JSX.Element;
|
|
2107
2104
|
export type EditableTableName = string | number | Array<string | number>;
|
|
2108
2105
|
export type EditableTableRecordType = FormListFieldData & {
|
|
2109
2106
|
operation: FormListOperation;
|
|
@@ -2172,7 +2169,7 @@ export type EditableCustomConfig = {
|
|
|
2172
2169
|
editable?: boolean;
|
|
2173
2170
|
completeName: Array<number | string>;
|
|
2174
2171
|
tableRowIndex: number;
|
|
2175
|
-
}) =>
|
|
2172
|
+
}) => ReactElement;
|
|
2176
2173
|
};
|
|
2177
2174
|
export type EditableTypeConfig = EditableCustomConfig | EditableInputConfig | EditableSelectWrapperConfig | EditableDatePickerWrapperConfig | EditableDateRangePickerWrapperConfig | EditableCheckboxGroupConfig | EditableTextareaConfig | EditableInputNumberConfig | EditableRadioGroupConfig | EditableFileUploadConfig | EditableSwitchWrapperConfig;
|
|
2178
2175
|
export type FieldSingleConfig = {
|
|
@@ -2191,7 +2188,7 @@ export type FieldSingleConfig = {
|
|
|
2191
2188
|
* 3. 同级配置 editableConfigList后,同级render配置失效
|
|
2192
2189
|
* 4. checkboxGroup、radioGroup、selectorWrapper第二次参数为options数组
|
|
2193
2190
|
*/
|
|
2194
|
-
render?: (params?: TAny, other?: TAny) =>
|
|
2191
|
+
render?: (params?: TAny, other?: TAny) => ReactNode;
|
|
2195
2192
|
};
|
|
2196
2193
|
export type FormListItemMethodOperateProps = {
|
|
2197
2194
|
tableRowIndex: number;
|
|
@@ -2209,14 +2206,14 @@ export type FormListConfig = {
|
|
|
2209
2206
|
editableConfigList: Array<FieldSingleConfig & {
|
|
2210
2207
|
fieldName: string;
|
|
2211
2208
|
}>;
|
|
2212
|
-
onFormListBeforeRender?: (data: FormListMethodOperateProps) =>
|
|
2213
|
-
onFormListAfterRender?: (data: FormListMethodOperateProps) =>
|
|
2214
|
-
onFormListItemBeforeRender?: (data: FormListItemMethodOperateProps) =>
|
|
2215
|
-
onFormListItemAfterRender?: (data: FormListItemMethodOperateProps) =>
|
|
2209
|
+
onFormListBeforeRender?: (data: FormListMethodOperateProps) => ReactElement | null;
|
|
2210
|
+
onFormListAfterRender?: (data: FormListMethodOperateProps) => ReactElement | null;
|
|
2211
|
+
onFormListItemBeforeRender?: (data: FormListItemMethodOperateProps) => ReactElement | null;
|
|
2212
|
+
onFormListItemAfterRender?: (data: FormListItemMethodOperateProps) => ReactElement | null;
|
|
2216
2213
|
deleteOperateRender?: (data: {
|
|
2217
2214
|
remove: () => void;
|
|
2218
2215
|
formListItemIndex: number;
|
|
2219
|
-
}) =>
|
|
2216
|
+
}) => ReactElement;
|
|
2220
2217
|
};
|
|
2221
2218
|
export type fieldConfigFunctionParams = {
|
|
2222
2219
|
tableRowIndex: number;
|
|
@@ -2269,9 +2266,9 @@ export type EditableTableColumn = Omit<ColumnsType["0"], "render"> & {
|
|
|
2269
2266
|
operation: FormListOperation;
|
|
2270
2267
|
index: number;
|
|
2271
2268
|
getTableRowData: () => TPlainObject;
|
|
2272
|
-
}) =>
|
|
2269
|
+
}) => ReactElement | null;
|
|
2273
2270
|
/** table datasource children column 自定义渲染 */
|
|
2274
|
-
tableChildrenColumnRender?: (value: TAny, record: TPlainObject, index: number) =>
|
|
2271
|
+
tableChildrenColumnRender?: (value: TAny, record: TPlainObject, index: number) => ReactElement | null;
|
|
2275
2272
|
/** 为表格header中的字段添加必填标识,无验证拦截功能 */
|
|
2276
2273
|
required?: boolean;
|
|
2277
2274
|
};
|
|
@@ -2305,11 +2302,11 @@ export type EditableTableProps = {
|
|
|
2305
2302
|
cellVerticalAlign?: "baseline" | "middle" | "top" | "bottom";
|
|
2306
2303
|
};
|
|
2307
2304
|
columns: EditableTableColumn[];
|
|
2308
|
-
onTableBeforeRender?: (formListOperation: FormListOperation, nextRowIndex: number) =>
|
|
2305
|
+
onTableBeforeRender?: (formListOperation: FormListOperation, nextRowIndex: number) => ReactElement | null;
|
|
2309
2306
|
/**
|
|
2310
2307
|
* 设置后,将覆盖底部`新增`按钮
|
|
2311
2308
|
*/
|
|
2312
|
-
onTableAfterRender?: (formListOperation: FormListOperation, nextRowIndex: number) =>
|
|
2309
|
+
onTableAfterRender?: (formListOperation: FormListOperation, nextRowIndex: number) => ReactElement | null;
|
|
2313
2310
|
/** 新增行默认值,自定义onTableAfterRender后失效 */
|
|
2314
2311
|
getAddRowDefaultValues?: () => TPlainObject;
|
|
2315
2312
|
/** 隐藏底部`新增`按钮,设置 onTableAfterRender后 失效 */
|
|
@@ -2332,7 +2329,7 @@ export type EditableTableProps = {
|
|
|
2332
2329
|
/** 空效果显示尺寸,默认值:small */
|
|
2333
2330
|
emptyShowSize?: "small" | "large";
|
|
2334
2331
|
className?: string;
|
|
2335
|
-
style?:
|
|
2332
|
+
style?: CSSProperties;
|
|
2336
2333
|
};
|
|
2337
2334
|
/**
|
|
2338
2335
|
* 可编辑表格(通过FormList实现)
|
|
@@ -2347,12 +2344,12 @@ export type EditableTableProps = {
|
|
|
2347
2344
|
* 6. 4.5.0版本移除 ref.getTableItemDataByFormListItemKey 功能,可选择表格参考(https://fex.qa.tcshuke.com/docs/admin/main/table/row-editable2)
|
|
2348
2345
|
* ```
|
|
2349
2346
|
*/
|
|
2350
|
-
export declare const EditableTable: (props: EditableTableProps) => import("react").
|
|
2347
|
+
export declare const EditableTable: (props: EditableTableProps) => import("react").JSX.Element;
|
|
2351
2348
|
export type DragEditableTableProps = EditableTableProps & {
|
|
2352
2349
|
/**
|
|
2353
2350
|
* 拖拽图标自定义,默认使用 DragOutlined 图标
|
|
2354
2351
|
*/
|
|
2355
|
-
dragIcon?:
|
|
2352
|
+
dragIcon?: ReactElement;
|
|
2356
2353
|
/** 禁用拖拽 */
|
|
2357
2354
|
disabledDrag?: boolean;
|
|
2358
2355
|
/**
|
|
@@ -2386,7 +2383,7 @@ export type DragEditableTableProps = EditableTableProps & {
|
|
|
2386
2383
|
* 2. Table 参数 components.body.row 被组件内部使用
|
|
2387
2384
|
* ```
|
|
2388
2385
|
*/
|
|
2389
|
-
export declare const DragEditableTable: (props: DragEditableTableProps) => import("react").
|
|
2386
|
+
export declare const DragEditableTable: (props: DragEditableTableProps) => import("react").JSX.Element;
|
|
2390
2387
|
export type EditableTableProDataIndex = string | readonly (string | number)[];
|
|
2391
2388
|
export interface EditableTableProOperation {
|
|
2392
2389
|
add: (defaultValue: TPlainObject, insertIndex?: number) => void;
|
|
@@ -2414,7 +2411,7 @@ export interface EditableTableProOperation {
|
|
|
2414
2411
|
validateRowFields: (nameList: EditableTableProDataIndex[]) => Promise<void>;
|
|
2415
2412
|
}
|
|
2416
2413
|
export type EditableTableProColumnItem = Omit<ColumnsType[0], "render" | "title" | "dataIndex"> & {
|
|
2417
|
-
title?:
|
|
2414
|
+
title?: ReactElement | string;
|
|
2418
2415
|
dataIndex?: EditableTableProDataIndex;
|
|
2419
2416
|
/** Form.Item props */
|
|
2420
2417
|
formItemProps?: Omit<FormItemWrapperProps, "children" | "name"> | ((value: TAny, record: TPlainObject, index: number, operation: EditableTableProOperation) => Omit<FormItemWrapperProps, "children" | "name">);
|
|
@@ -2450,7 +2447,7 @@ export type EditableTableProColumnItem = Omit<ColumnsType[0], "render" | "title"
|
|
|
2450
2447
|
* }
|
|
2451
2448
|
* ```
|
|
2452
2449
|
*/
|
|
2453
|
-
render?: (value: TAny, record: TPlainObject, index: number, operation: EditableTableProOperation) =>
|
|
2450
|
+
render?: (value: TAny, record: TPlainObject, index: number, operation: EditableTableProOperation) => ReactElement;
|
|
2454
2451
|
/** 是否可编辑 */
|
|
2455
2452
|
editable: boolean | ((record: TPlainObject, index: number) => boolean);
|
|
2456
2453
|
/**
|
|
@@ -2504,15 +2501,15 @@ export type EditableTableProProps = {
|
|
|
2504
2501
|
*/
|
|
2505
2502
|
rules?: FormListProps["rules"];
|
|
2506
2503
|
className?: string;
|
|
2507
|
-
style?:
|
|
2504
|
+
style?: CSSProperties;
|
|
2508
2505
|
/**`默认新增按钮`新增行默认值,hiddenFooterBtn != true 有效 */
|
|
2509
2506
|
addRowDefaultValues?: () => TPlainObject;
|
|
2510
2507
|
/** 隐藏底部`新增`按钮 */
|
|
2511
2508
|
hiddenFooterBtn?: boolean;
|
|
2512
2509
|
/** 表格顶部区域渲染 */
|
|
2513
|
-
tableBeforeAreaRender?: (formListOperation: FormListOperation, nextRowIndex: number) =>
|
|
2510
|
+
tableBeforeAreaRender?: (formListOperation: FormListOperation, nextRowIndex: number) => ReactElement | null;
|
|
2514
2511
|
/** 表格底部区域渲染 */
|
|
2515
|
-
tableAfterAreaRender?: (formListOperation: FormListOperation, nextRowIndex: number) =>
|
|
2512
|
+
tableAfterAreaRender?: (formListOperation: FormListOperation, nextRowIndex: number) => ReactElement | null;
|
|
2516
2513
|
/** 展开的行key,一般用于初始化,重新tableProps.expandable.expandedRowKeys后失效 */
|
|
2517
2514
|
expandedRowKeys?: string[];
|
|
2518
2515
|
/**
|
|
@@ -2541,12 +2538,12 @@ export type EditableTableProProps = {
|
|
|
2541
2538
|
* https://fex.qa.tcshuke.com/docs/admin/main/table/row-editable4
|
|
2542
2539
|
* ```
|
|
2543
2540
|
*/
|
|
2544
|
-
export declare const EditableTablePro: (props: EditableTableProProps) => import("react").
|
|
2541
|
+
export declare const EditableTablePro: (props: EditableTableProProps) => import("react").JSX.Element;
|
|
2545
2542
|
export type DragEditableTableProProps = EditableTableProProps & {
|
|
2546
2543
|
/**
|
|
2547
2544
|
* 拖拽图标自定义,默认使用 DragOutlined 图标
|
|
2548
2545
|
*/
|
|
2549
|
-
dragIcon?:
|
|
2546
|
+
dragIcon?: ReactElement;
|
|
2550
2547
|
/** 禁用拖拽 */
|
|
2551
2548
|
disabledDrag?: boolean;
|
|
2552
2549
|
/**
|
|
@@ -2581,15 +2578,15 @@ export type DragEditableTableProProps = EditableTableProProps & {
|
|
|
2581
2578
|
* 4. 存在多级的情况下,通过上移、下移操作按钮,调用 column.render.operation.move 方法实现同一级内移动
|
|
2582
2579
|
* ```
|
|
2583
2580
|
*/
|
|
2584
|
-
export declare const DragEditableTablePro: (props: DragEditableTableProProps) => import("react").
|
|
2581
|
+
export declare const DragEditableTablePro: (props: DragEditableTableProProps) => import("react").JSX.Element;
|
|
2585
2582
|
export type FormItemHorizontalUnionProps = {
|
|
2586
2583
|
className?: string;
|
|
2587
|
-
style?:
|
|
2588
|
-
label?: string |
|
|
2584
|
+
style?: CSSProperties;
|
|
2585
|
+
label?: string | ReactElement;
|
|
2589
2586
|
/** 水平布局元素 */
|
|
2590
2587
|
groupConfigList: {
|
|
2591
2588
|
hidden?: boolean;
|
|
2592
|
-
before?:
|
|
2589
|
+
before?: ReactElement | string;
|
|
2593
2590
|
/**
|
|
2594
2591
|
* 设置宽度
|
|
2595
2592
|
* ```
|
|
@@ -2600,12 +2597,12 @@ export type FormItemHorizontalUnionProps = {
|
|
|
2600
2597
|
* ```
|
|
2601
2598
|
*/
|
|
2602
2599
|
width?: number | string;
|
|
2603
|
-
mainItem:
|
|
2604
|
-
after?:
|
|
2600
|
+
mainItem: ReactElement;
|
|
2601
|
+
after?: ReactElement | string;
|
|
2605
2602
|
}[];
|
|
2606
2603
|
/** 水平布局原始之间的间距 */
|
|
2607
2604
|
gap?: number;
|
|
2608
|
-
flexLayoutStyle?:
|
|
2605
|
+
flexLayoutStyle?: CSSProperties;
|
|
2609
2606
|
flexLayoutClassName?: string;
|
|
2610
2607
|
hidden?: boolean;
|
|
2611
2608
|
required?: boolean;
|
|
@@ -2641,8 +2638,8 @@ export type DragFormListContentProps = {
|
|
|
2641
2638
|
};
|
|
2642
2639
|
export type DragFormListProps = {
|
|
2643
2640
|
className?: string;
|
|
2644
|
-
style?:
|
|
2645
|
-
itemStyle?:
|
|
2641
|
+
style?: CSSProperties;
|
|
2642
|
+
itemStyle?: CSSProperties;
|
|
2646
2643
|
/** formList item 数据中的唯一值,默认值:uid */
|
|
2647
2644
|
uidFieldName?: string;
|
|
2648
2645
|
/** formList name */
|
|
@@ -2658,7 +2655,7 @@ export type DragFormListProps = {
|
|
|
2658
2655
|
/** 拖拽回调 */
|
|
2659
2656
|
onDropChange?: (items: TPlainObject[]) => void;
|
|
2660
2657
|
/** 设置拖拽图标 */
|
|
2661
|
-
dragIcon?:
|
|
2658
|
+
dragIcon?: ReactElement;
|
|
2662
2659
|
/** 禁用拖拽,拖拽图标隐藏 */
|
|
2663
2660
|
dragDisabled?: boolean;
|
|
2664
2661
|
/** 设置item禁止拖拽 */
|
|
@@ -2668,15 +2665,15 @@ export type DragFormListProps = {
|
|
|
2668
2665
|
/** 隐藏新增行按钮 */
|
|
2669
2666
|
hiddenAddRowButton?: boolean;
|
|
2670
2667
|
/** 自定义新增行按钮,getAddRowDefaultValues配置失效 */
|
|
2671
|
-
onCustomAddRowButton?: (operation: FormListOperation) =>
|
|
2668
|
+
onCustomAddRowButton?: (operation: FormListOperation) => ReactElement;
|
|
2672
2669
|
/** formListItem 内容 */
|
|
2673
|
-
children: (data: DragFormListContentProps) =>
|
|
2670
|
+
children: (data: DragFormListContentProps) => ReactElement;
|
|
2674
2671
|
/** 隐藏数据为空渲染 */
|
|
2675
2672
|
hiddenEmptyRender?: boolean;
|
|
2676
2673
|
/** formList内部渲染包装,多用于FormListWrapper嵌套布局 */
|
|
2677
2674
|
formListChildrenWrapper?: (props: {
|
|
2678
|
-
children:
|
|
2679
|
-
}) =>
|
|
2675
|
+
children: ReactElement;
|
|
2676
|
+
}) => ReactElement;
|
|
2680
2677
|
/**
|
|
2681
2678
|
* Form.List rules
|
|
2682
2679
|
* ```
|
|
@@ -2719,7 +2716,7 @@ export type DragFormListProps = {
|
|
|
2719
2716
|
* 2. 通过 itemGap 设置FormList Item 之间间隙
|
|
2720
2717
|
* ```
|
|
2721
2718
|
*/
|
|
2722
|
-
export declare const DragFormList: (props: DragFormListProps) => import("react").
|
|
2719
|
+
export declare const DragFormList: (props: DragFormListProps) => import("react").JSX.Element;
|
|
2723
2720
|
export type DragTableProps = Omit<TableProps<TPlainObject>, "dataSource"> & {
|
|
2724
2721
|
/**
|
|
2725
2722
|
* ```
|
|
@@ -2727,7 +2724,7 @@ export type DragTableProps = Omit<TableProps<TPlainObject>, "dataSource"> & {
|
|
|
2727
2724
|
* 2. dragIcon = false,可设置表格行拖拽
|
|
2728
2725
|
* ```
|
|
2729
2726
|
*/
|
|
2730
|
-
dragIcon?: false |
|
|
2727
|
+
dragIcon?: false | ReactElement;
|
|
2731
2728
|
/** 表格数据唯一值字段Key,未填或者无法唯一,都不能拖拽能力 */
|
|
2732
2729
|
uidFieldKey: string;
|
|
2733
2730
|
dataSource?: TPlainObject[];
|
|
@@ -2757,13 +2754,13 @@ export type DragTableProps = Omit<TableProps<TPlainObject>, "dataSource"> & {
|
|
|
2757
2754
|
* 3. Table 参数 components.body.row 被组件内部使用
|
|
2758
2755
|
* ```
|
|
2759
2756
|
*/
|
|
2760
|
-
export declare const DragTable: (props: DragTableProps) => import("react").
|
|
2757
|
+
export declare const DragTable: (props: DragTableProps) => import("react").JSX.Element;
|
|
2761
2758
|
export type TDynamicNodeProps = {
|
|
2762
2759
|
className?: string;
|
|
2763
2760
|
getContainer?: HTMLElement | (() => HTMLElement) | string;
|
|
2764
|
-
content?:
|
|
2761
|
+
content?: ReactElement;
|
|
2765
2762
|
fixed?: boolean;
|
|
2766
|
-
style?:
|
|
2763
|
+
style?: CSSProperties;
|
|
2767
2764
|
};
|
|
2768
2765
|
/**
|
|
2769
2766
|
* 动态添加 element 元素
|
|
@@ -2789,7 +2786,7 @@ export type TEasyTableTableColumn<T> = ColumnsType<T>[0] & {
|
|
|
2789
2786
|
*/
|
|
2790
2787
|
tooltip?: string | {
|
|
2791
2788
|
content: string;
|
|
2792
|
-
icon?:
|
|
2789
|
+
icon?: ReactElement;
|
|
2793
2790
|
hoverArea?: "icon" | "all";
|
|
2794
2791
|
};
|
|
2795
2792
|
dataIndex?: keyof T | (string & {});
|
|
@@ -2814,7 +2811,7 @@ export type TEasyTableTableColumn<T> = ColumnsType<T>[0] & {
|
|
|
2814
2811
|
* 3. respData为异步返回数据
|
|
2815
2812
|
* ```
|
|
2816
2813
|
*/
|
|
2817
|
-
asyncRender?: (value: TAny, record: T, index: number, respData?: TAny) =>
|
|
2814
|
+
asyncRender?: (value: TAny, record: T, index: number, respData?: TAny) => ReactNode;
|
|
2818
2815
|
/** 设置默认值,当数据为【undefined、null、''】时显示;自定义render后失效 */
|
|
2819
2816
|
defaultValue?: string;
|
|
2820
2817
|
};
|
|
@@ -2859,8 +2856,8 @@ export type EasyTableServiceConfig = {
|
|
|
2859
2856
|
};
|
|
2860
2857
|
export type EasyTableProps = {
|
|
2861
2858
|
className?: string;
|
|
2862
|
-
style?:
|
|
2863
|
-
children:
|
|
2859
|
+
style?: CSSProperties;
|
|
2860
|
+
children: ReactElement | ReactElement[] | ((dataSource?: TAny) => ReactElement);
|
|
2864
2861
|
/**
|
|
2865
2862
|
* EasyTable唯一值,可用于缓存查询条件
|
|
2866
2863
|
* @deprecated 已过时,如果需要缓存数据请设置 cacheKey 参数
|
|
@@ -2960,7 +2957,7 @@ export type EasyTableProps = {
|
|
|
2960
2957
|
/** 隐藏默认触发节点 */
|
|
2961
2958
|
hidden?: boolean;
|
|
2962
2959
|
/** 自定义图标 */
|
|
2963
|
-
icon?:
|
|
2960
|
+
icon?: ReactElement;
|
|
2964
2961
|
/** 文本 */
|
|
2965
2962
|
text?: string;
|
|
2966
2963
|
/** 鼠标悬浮文案 */
|
|
@@ -3030,7 +3027,7 @@ export type EasyTableRefApi = {
|
|
|
3030
3027
|
/** 修改表格数据源,会触发onDataSourceChange函数 */
|
|
3031
3028
|
onUpdateDataSource: (dataList: TPlainObject[]) => void;
|
|
3032
3029
|
/** 自定义字段折叠触发位置,默认位置在最后一个字段标题右侧 */
|
|
3033
|
-
columnFoldTriggerRender: (children:
|
|
3030
|
+
columnFoldTriggerRender: (children: ReactElement, columns: TEasyTableTableColumn<TPlainObject>[]) => ReactElement;
|
|
3034
3031
|
/** 查询loading状态 */
|
|
3035
3032
|
loading?: boolean;
|
|
3036
3033
|
/**
|
|
@@ -3047,8 +3044,8 @@ export type EasyTableRefApi = {
|
|
|
3047
3044
|
};
|
|
3048
3045
|
export type FormOperateColProps = {
|
|
3049
3046
|
className?: string;
|
|
3050
|
-
leftList?: Array<
|
|
3051
|
-
rightList?: Array<
|
|
3047
|
+
leftList?: Array<ReactElement | null>;
|
|
3048
|
+
rightList?: Array<ReactElement | null>;
|
|
3052
3049
|
justify?: RowProps["justify"];
|
|
3053
3050
|
/** 强制单独一行 */
|
|
3054
3051
|
forceAloneRow?: boolean;
|
|
@@ -3057,7 +3054,7 @@ export type FormOperateColProps = {
|
|
|
3057
3054
|
rightSpaceProps?: SpaceProps;
|
|
3058
3055
|
};
|
|
3059
3056
|
export type FormRowProps = RowProps & {
|
|
3060
|
-
children?:
|
|
3057
|
+
children?: ReactNode | ReactNode[];
|
|
3061
3058
|
/**
|
|
3062
3059
|
* default = { xs: 24, sm: 12, md: 8, lg: 8, xl: 8, xxl: 6 };
|
|
3063
3060
|
* small = { xs: 24, sm: 12, md: 8, lg: 6, xl: 6, xxl: 6 };
|
|
@@ -3065,7 +3062,7 @@ export type FormRowProps = RowProps & {
|
|
|
3065
3062
|
gridSize?: "default" | "small";
|
|
3066
3063
|
};
|
|
3067
3064
|
export type EasyTableFilterProps = {
|
|
3068
|
-
children:
|
|
3065
|
+
children: ReactElement | ReactElement[] | ((form: FormInstance) => ReactElement);
|
|
3069
3066
|
/** isPure = true时无效 */
|
|
3070
3067
|
filterOperate?: (form: FormInstance) => FormOperateColProps;
|
|
3071
3068
|
/** 是否为纯净模式(查询条件布局是否自定义), */
|
|
@@ -3091,9 +3088,9 @@ export type EasyTableFilterProps = {
|
|
|
3091
3088
|
/**
|
|
3092
3089
|
* @deprecated已过期,使用 easyFormProps.style 配置
|
|
3093
3090
|
*/
|
|
3094
|
-
formStyle?:
|
|
3091
|
+
formStyle?: CSSProperties;
|
|
3095
3092
|
/** filter Form 外层 BlockLayout style */
|
|
3096
|
-
filterWrapperStyle?:
|
|
3093
|
+
filterWrapperStyle?: CSSProperties;
|
|
3097
3094
|
/** filter Form 外层 BlockLayout className */
|
|
3098
3095
|
filterWrapperClassName?: string;
|
|
3099
3096
|
/**
|
|
@@ -3110,7 +3107,7 @@ export type EasyTableFilterProps = {
|
|
|
3110
3107
|
easyFormProps?: Omit<EasyFormProps, "isPure" | "column" | "forceColumn" | "width" | "gridGutter" | "children">;
|
|
3111
3108
|
};
|
|
3112
3109
|
export type EasyTableTableProps<T> = Omit<TableProps<TAny>, "dataSource" | "loading" | "rowKey" | "columns"> & {
|
|
3113
|
-
children?:
|
|
3110
|
+
children?: ReactElement | ReactElement[];
|
|
3114
3111
|
/**
|
|
3115
3112
|
* 表格行 key 的取值,
|
|
3116
3113
|
* ```
|
|
@@ -3122,7 +3119,7 @@ export type EasyTableTableProps<T> = Omit<TableProps<TAny>, "dataSource" | "load
|
|
|
3122
3119
|
*/
|
|
3123
3120
|
rowKey: TableProps<TAny>["rowKey"];
|
|
3124
3121
|
/** table Form 外层 SimpleLayout className */
|
|
3125
|
-
tableWrapperStyle?:
|
|
3122
|
+
tableWrapperStyle?: CSSProperties;
|
|
3126
3123
|
/** table Form 外层 SimpleLayout className */
|
|
3127
3124
|
tableWrapperClassName?: string;
|
|
3128
3125
|
/**
|
|
@@ -3196,7 +3193,7 @@ export declare const EasyTable: import("react").ForwardRefExoticComponent<EasyTa
|
|
|
3196
3193
|
* 8. 通过easyFormProps属性可整体控制子节点FormItem布局
|
|
3197
3194
|
*```
|
|
3198
3195
|
*/
|
|
3199
|
-
Filter: (props: EasyTableFilterProps) => import("react").
|
|
3196
|
+
Filter: (props: EasyTableFilterProps) => import("react").JSX.Element;
|
|
3200
3197
|
/**
|
|
3201
3198
|
* 表格渲染
|
|
3202
3199
|
* @param props
|
|
@@ -3205,7 +3202,7 @@ export declare const EasyTable: import("react").ForwardRefExoticComponent<EasyTa
|
|
|
3205
3202
|
* 2. 分页功能已内置处理,不调用 onChange
|
|
3206
3203
|
* ```
|
|
3207
3204
|
*/
|
|
3208
|
-
Table: <T extends import("@flatbiz/utils").TPlainObject>(props: EasyTableTableProps<T>) => import("react").
|
|
3205
|
+
Table: <T extends import("@flatbiz/utils").TPlainObject>(props: EasyTableTableProps<T>) => import("react").JSX.Element;
|
|
3209
3206
|
/**
|
|
3210
3207
|
* @deprecated 已过时 4.3.0版本移除,请使用 useEasyTable
|
|
3211
3208
|
*/
|
|
@@ -3228,15 +3225,15 @@ export declare const EasyTable: import("react").ForwardRefExoticComponent<EasyTa
|
|
|
3228
3225
|
* https://fex.qa.tcshuke.com/docs/admin/main/form/grid
|
|
3229
3226
|
* ```
|
|
3230
3227
|
*/
|
|
3231
|
-
export declare const EditableCard: (props: EditableCardProps) => import("react").
|
|
3228
|
+
export declare const EditableCard: (props: EditableCardProps) => import("react").JSX.Element;
|
|
3232
3229
|
export interface EditableFieldProps {
|
|
3233
3230
|
className?: string;
|
|
3234
|
-
style?:
|
|
3235
|
-
editRender:
|
|
3231
|
+
style?: CSSProperties;
|
|
3232
|
+
editRender: ReactElement | ((data: {
|
|
3236
3233
|
value?: TAny;
|
|
3237
3234
|
onChange?: (data?: TAny) => void;
|
|
3238
|
-
}) =>
|
|
3239
|
-
viewRender?: (value?: TAny) =>
|
|
3235
|
+
}) => ReactElement);
|
|
3236
|
+
viewRender?: (value?: TAny) => ReactNode;
|
|
3240
3237
|
value?: TAny;
|
|
3241
3238
|
onChange?: (data?: TAny) => void;
|
|
3242
3239
|
placeholderValue?: string;
|
|
@@ -3258,13 +3255,13 @@ export interface EditableFieldProps {
|
|
|
3258
3255
|
iconConfig?: {
|
|
3259
3256
|
editIcon?: (options: {
|
|
3260
3257
|
onClick: () => void;
|
|
3261
|
-
}) =>
|
|
3258
|
+
}) => ReactElement;
|
|
3262
3259
|
confirmIcon?: (options: {
|
|
3263
3260
|
onClick: () => void;
|
|
3264
|
-
}) =>
|
|
3261
|
+
}) => ReactElement;
|
|
3265
3262
|
cancelIcon?: (options: {
|
|
3266
3263
|
onClick: () => void;
|
|
3267
|
-
}) =>
|
|
3264
|
+
}) => ReactElement;
|
|
3268
3265
|
};
|
|
3269
3266
|
}
|
|
3270
3267
|
/**
|
|
@@ -3281,7 +3278,7 @@ export interface EditableFieldProps {
|
|
|
3281
3278
|
*/
|
|
3282
3279
|
export declare const EditableField: (props: EditableFieldProps) => any;
|
|
3283
3280
|
export interface EditableFieldProviderProps {
|
|
3284
|
-
children:
|
|
3281
|
+
children: ReactElement;
|
|
3285
3282
|
/** 是否只读 */
|
|
3286
3283
|
readonly?: boolean;
|
|
3287
3284
|
/** 是否编辑状态 */
|
|
@@ -3294,7 +3291,7 @@ export interface EditableFieldProviderProps {
|
|
|
3294
3291
|
* @param props
|
|
3295
3292
|
* @returns
|
|
3296
3293
|
*/
|
|
3297
|
-
export declare const EditableFieldProvider: (props: EditableFieldProviderProps) => import("react").
|
|
3294
|
+
export declare const EditableFieldProvider: (props: EditableFieldProviderProps) => import("react").JSX.Element;
|
|
3298
3295
|
export interface ErrorBoundaryProps {
|
|
3299
3296
|
message?: ReactNode;
|
|
3300
3297
|
description?: ReactNode;
|
|
@@ -3309,7 +3306,7 @@ export interface ErrorBoundaryStates {
|
|
|
3309
3306
|
componentStack?: string;
|
|
3310
3307
|
};
|
|
3311
3308
|
}
|
|
3312
|
-
declare class ErrorBoundary extends
|
|
3309
|
+
declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryStates> {
|
|
3313
3310
|
state: {
|
|
3314
3311
|
error: undefined;
|
|
3315
3312
|
info: {
|
|
@@ -3317,20 +3314,20 @@ declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBou
|
|
|
3317
3314
|
};
|
|
3318
3315
|
};
|
|
3319
3316
|
componentDidCatch(error: Error | null, info: object): void;
|
|
3320
|
-
render(): string | number | boolean | Iterable<ReactNode> |
|
|
3317
|
+
render(): string | number | boolean | Iterable<ReactNode> | import("react").JSX.Element | null | undefined;
|
|
3321
3318
|
}
|
|
3322
3319
|
/**
|
|
3323
3320
|
* react 异常拦截
|
|
3324
3321
|
*/
|
|
3325
3322
|
export declare const ErrorBoundaryWrapper: typeof ErrorBoundary;
|
|
3326
3323
|
export type FbaAppDrawerProps = Omit<DrawerProps, "onOk" | "onCancel" | "getContainer" | "footer" | "extra"> & {
|
|
3327
|
-
okText?: string |
|
|
3328
|
-
cancelText?: string |
|
|
3329
|
-
onOk?: (form: FormInstance, e:
|
|
3330
|
-
onCancel?: (form: FormInstance, e:
|
|
3331
|
-
content: string |
|
|
3324
|
+
okText?: string | ReactElement;
|
|
3325
|
+
cancelText?: string | ReactElement;
|
|
3326
|
+
onOk?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
3327
|
+
onCancel?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
3328
|
+
content: string | ReactElement | ((form: FormInstance, operate: {
|
|
3332
3329
|
onClose: DrawerProps["onClose"];
|
|
3333
|
-
}) =>
|
|
3330
|
+
}) => ReactElement);
|
|
3334
3331
|
okButtonExtraProps?: Omit<ButtonWrapperProps, "onClick" | "children" | "loading">;
|
|
3335
3332
|
cancelButtonExtraProps?: Omit<ButtonWrapperProps, "onClick" | "children">;
|
|
3336
3333
|
okHidden?: boolean;
|
|
@@ -3338,14 +3335,14 @@ export type FbaAppDrawerProps = Omit<DrawerProps, "onOk" | "onCancel" | "getCont
|
|
|
3338
3335
|
/** 设置操作区域位置 */
|
|
3339
3336
|
operatePosition?: "header" | "footer";
|
|
3340
3337
|
/** 右上角自定义内容,如果operatePosition=header,此设置无效 */
|
|
3341
|
-
extra?:
|
|
3338
|
+
extra?: ReactNode | ((form: FormInstance) => ReactElement);
|
|
3342
3339
|
/**
|
|
3343
3340
|
* ```
|
|
3344
3341
|
* 1. 自定义弹框操作区域,通过 operatePosition 配置可以自定义位置
|
|
3345
3342
|
* 2. extraData 为外部通过 useDialogModal.rerenderFooter 重新渲染footer携带的数据
|
|
3346
3343
|
* ```
|
|
3347
3344
|
*/
|
|
3348
|
-
operateRender?: (form: FormInstance, extraData?: TPlainObject) =>
|
|
3345
|
+
operateRender?: (form: FormInstance, extraData?: TPlainObject) => ReactElement;
|
|
3349
3346
|
};
|
|
3350
3347
|
export type FbaAppModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContainer" | "okButtonProps" | "cancelButtonProps" | "footer"> & {
|
|
3351
3348
|
/**
|
|
@@ -3356,12 +3353,12 @@ export type FbaAppModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
3356
3353
|
* ```
|
|
3357
3354
|
*/
|
|
3358
3355
|
size?: "small" | "middle" | "large" | null;
|
|
3359
|
-
onOk?: (form: FormInstance, e:
|
|
3360
|
-
onCancel?: (form: FormInstance, e:
|
|
3356
|
+
onOk?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
3357
|
+
onCancel?: (form: FormInstance, e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
3361
3358
|
onClose?: () => void;
|
|
3362
|
-
content: string |
|
|
3359
|
+
content: string | ReactElement | ((form: FormInstance, operate: {
|
|
3363
3360
|
onClose: TNoopDefine;
|
|
3364
|
-
}) =>
|
|
3361
|
+
}) => ReactElement);
|
|
3365
3362
|
okHidden?: boolean;
|
|
3366
3363
|
cancelHidden?: boolean;
|
|
3367
3364
|
okButtonProps?: Omit<ButtonWrapperProps, "hidden" | "children" | "onClick">;
|
|
@@ -3375,20 +3372,20 @@ export type FbaAppModalProps = Omit<ModalProps, "onOk" | "onCancel" | "getContai
|
|
|
3375
3372
|
* ```
|
|
3376
3373
|
*/
|
|
3377
3374
|
bodyHeightPercent?: number;
|
|
3378
|
-
titleExtra?:
|
|
3375
|
+
titleExtra?: ReactElement;
|
|
3379
3376
|
/**
|
|
3380
3377
|
* null则隐藏footer
|
|
3381
3378
|
* ```
|
|
3382
3379
|
* extraData 为外部通过 useDialogModal.rerenderFooter 重新渲染footer携带的数据
|
|
3383
3380
|
* ```
|
|
3384
3381
|
*/
|
|
3385
|
-
footer?: null |
|
|
3382
|
+
footer?: null | ReactElement | ReactElement[] | ((form: FormInstance, extraData?: TPlainObject) => ReactElement);
|
|
3386
3383
|
/** 内容高度,为styles.body.height快捷配置,优先级低于styles.body.height */
|
|
3387
3384
|
bodyHeight?: number;
|
|
3388
3385
|
};
|
|
3389
3386
|
export type FbaAppConfirmProps = FbaAppModalProps;
|
|
3390
3387
|
export type FbaAppAlertProps = Omit<FbaAppModalProps, "onOk" | "cancelHidden" | "cancelButtonProps" | "onCancel" | "onClick"> & {
|
|
3391
|
-
onClick?: (e:
|
|
3388
|
+
onClick?: (e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
3392
3389
|
};
|
|
3393
3390
|
export type FbaAppLoadingProps = {
|
|
3394
3391
|
className?: string;
|
|
@@ -3397,7 +3394,7 @@ export type FbaAppLoadingProps = {
|
|
|
3397
3394
|
};
|
|
3398
3395
|
export declare const FbaApp: ((props: {
|
|
3399
3396
|
children: import("react").ReactNode;
|
|
3400
|
-
}) => import("react").
|
|
3397
|
+
}) => import("react").JSX.Element) & {
|
|
3401
3398
|
/** 不支持多次弹框,第二个弹框可使用useDialogDrawer2 */
|
|
3402
3399
|
useDialogDrawer: () => {
|
|
3403
3400
|
appDialogDrawer: {
|
|
@@ -3548,11 +3545,11 @@ export declare const fbaUtils: {
|
|
|
3548
3545
|
};
|
|
3549
3546
|
export type FileExportProps = {
|
|
3550
3547
|
/** 触发节点 */
|
|
3551
|
-
action: (
|
|
3548
|
+
action: (ReactElement & {
|
|
3552
3549
|
onClick?: (e: any) => void;
|
|
3553
3550
|
}) | ((data: {
|
|
3554
3551
|
onClick: (e: any) => void;
|
|
3555
|
-
}) =>
|
|
3552
|
+
}) => ReactElement);
|
|
3556
3553
|
/**
|
|
3557
3554
|
* 获取文件流数据
|
|
3558
3555
|
* ```
|
|
@@ -3587,14 +3584,14 @@ export type FileExportProps = {
|
|
|
3587
3584
|
/>
|
|
3588
3585
|
* ```
|
|
3589
3586
|
*/
|
|
3590
|
-
export declare const FileExport: (props: FileExportProps) => import("react").
|
|
3587
|
+
export declare const FileExport: (props: FileExportProps) => import("react").JSX.Element;
|
|
3591
3588
|
export type FileImportProps = {
|
|
3592
3589
|
/** 上传文件接口返回处理 */
|
|
3593
3590
|
onImportFinish: (data?: TAny) => void;
|
|
3594
|
-
buttonName?: string |
|
|
3595
|
-
children?:
|
|
3591
|
+
buttonName?: string | ReactElement;
|
|
3592
|
+
children?: ReactNode | ((data: {
|
|
3596
3593
|
loading: boolean;
|
|
3597
|
-
}) =>
|
|
3594
|
+
}) => ReactNode);
|
|
3598
3595
|
} & Omit<UploadProps, "fileList" | "showUploadList" | "itemRender" | "listType" | "multiple" | "previewFile" | "progress" | "onChange" | "onDownload" | "onRemove" | "onPreview" | "directory" | "customRequest" | "defaultFileList" | "iconRender">;
|
|
3599
3596
|
/**
|
|
3600
3597
|
* 文件导入
|
|
@@ -3615,15 +3612,15 @@ export type FileImportProps = {
|
|
|
3615
3612
|
* ```
|
|
3616
3613
|
*/
|
|
3617
3614
|
export declare const FileImport: {
|
|
3618
|
-
(props: FileImportProps): import("react").
|
|
3615
|
+
(props: FileImportProps): import("react").JSX.Element;
|
|
3619
3616
|
defaultProps: {
|
|
3620
3617
|
name: string;
|
|
3621
3618
|
accept: string;
|
|
3622
3619
|
};
|
|
3623
3620
|
};
|
|
3624
3621
|
export type FileSelectProps = {
|
|
3625
|
-
buttonName?: string |
|
|
3626
|
-
children?:
|
|
3622
|
+
buttonName?: string | ReactElement;
|
|
3623
|
+
children?: ReactNode;
|
|
3627
3624
|
/** 上传按钮与文件排版 默认:horizontal */
|
|
3628
3625
|
direction?: "horizontal" | "hertical";
|
|
3629
3626
|
/** 可选择文件格式,默认:.xlsx,.xls */
|
|
@@ -3637,7 +3634,7 @@ export type FileSelectProps = {
|
|
|
3637
3634
|
* 默认选择文件格式:.xlsx,.xls
|
|
3638
3635
|
* ```
|
|
3639
3636
|
*/
|
|
3640
|
-
export declare const FileSelect: (props: FileSelectProps) => import("react").
|
|
3637
|
+
export declare const FileSelect: (props: FileSelectProps) => import("react").JSX.Element;
|
|
3641
3638
|
export type FlexLayoutProps = {
|
|
3642
3639
|
className?: string;
|
|
3643
3640
|
/** 子组件铺满的索引值,从0开始 */
|
|
@@ -3645,10 +3642,10 @@ export type FlexLayoutProps = {
|
|
|
3645
3642
|
/**方向,默认值vertical */
|
|
3646
3643
|
direction?: "vertical" | "horizontal";
|
|
3647
3644
|
onClick?: () => void;
|
|
3648
|
-
style?:
|
|
3645
|
+
style?: CSSProperties;
|
|
3649
3646
|
/** 间隙尺寸 */
|
|
3650
3647
|
gap?: number;
|
|
3651
|
-
children?:
|
|
3648
|
+
children?: ReactNode | null | Array<ReactNode | null>;
|
|
3652
3649
|
};
|
|
3653
3650
|
/**
|
|
3654
3651
|
* flex布局,主要用于Flex结构性布局
|
|
@@ -3656,7 +3653,7 @@ export type FlexLayoutProps = {
|
|
|
3656
3653
|
* 4.2.87版本中将fullIndex改为了必填属性,如果在升级中遇到问题,不确定怎么写,可设置 fullIndex=[] 保持原样
|
|
3657
3654
|
* ```
|
|
3658
3655
|
*/
|
|
3659
|
-
export declare const FlexLayout: (props: FlexLayoutProps) => import("react").
|
|
3656
|
+
export declare const FlexLayout: (props: FlexLayoutProps) => import("react").JSX.Element;
|
|
3660
3657
|
export type FormColProps = {
|
|
3661
3658
|
/** 栅格占位格数,替换lg、xl、xxl默认数据 */
|
|
3662
3659
|
span?: number;
|
|
@@ -3674,7 +3671,7 @@ export type FormColProps = {
|
|
|
3674
3671
|
xxl?: number;
|
|
3675
3672
|
/** 强制单独一行 */
|
|
3676
3673
|
forceAloneRow?: boolean;
|
|
3677
|
-
children?:
|
|
3674
|
+
children?: ReactNode | ReactNode[];
|
|
3678
3675
|
hidden?: boolean;
|
|
3679
3676
|
};
|
|
3680
3677
|
export declare const FormGrid: {
|
|
@@ -3685,7 +3682,7 @@ export declare const FormGrid: {
|
|
|
3685
3682
|
* 2. 子元素只能是 FormGrid.Col、FormGrid.OperateCol,其他会被忽略
|
|
3686
3683
|
* 3. 所有子元素中只能存在一个 FormGrid.OperateCol
|
|
3687
3684
|
*/
|
|
3688
|
-
Row: (props: FormRowProps) => import("react").
|
|
3685
|
+
Row: (props: FormRowProps) => import("react").JSX.Element;
|
|
3689
3686
|
/**
|
|
3690
3687
|
* 网格响应式布局,默认值:{ xs: 24, sm: 12, md: 12, lg: 8, xl: 8, xxl: 6 }
|
|
3691
3688
|
*```
|
|
@@ -3700,7 +3697,7 @@ export declare const FormGrid: {
|
|
|
3700
3697
|
* ```
|
|
3701
3698
|
*/
|
|
3702
3699
|
Col: {
|
|
3703
|
-
(props: FormColProps): import("react").
|
|
3700
|
+
(props: FormColProps): import("react").JSX.Element | null;
|
|
3704
3701
|
domTypeName: string;
|
|
3705
3702
|
};
|
|
3706
3703
|
/**
|
|
@@ -3713,35 +3710,35 @@ export declare const FormGrid: {
|
|
|
3713
3710
|
* ```
|
|
3714
3711
|
*/
|
|
3715
3712
|
OperateCol: {
|
|
3716
|
-
(props: FormOperateColProps): import("react").
|
|
3713
|
+
(props: FormOperateColProps): import("react").JSX.Element | null;
|
|
3717
3714
|
domTypeName: string;
|
|
3718
3715
|
};
|
|
3719
3716
|
};
|
|
3720
3717
|
export type FormItemCardProps = {
|
|
3721
|
-
title?: string |
|
|
3722
|
-
children:
|
|
3718
|
+
title?: string | ReactElement;
|
|
3719
|
+
children: ReactElement | ReactElement[];
|
|
3723
3720
|
className?: string;
|
|
3724
|
-
style?:
|
|
3721
|
+
style?: CSSProperties;
|
|
3725
3722
|
titleSign?: boolean;
|
|
3726
3723
|
};
|
|
3727
3724
|
export declare const FormItemGroup: {
|
|
3728
|
-
HorizontalUnion: (props: FormItemHorizontalUnionProps) => import("react").
|
|
3725
|
+
HorizontalUnion: (props: FormItemHorizontalUnionProps) => import("react").JSX.Element;
|
|
3729
3726
|
Card: import("react").FC<FormItemCardProps>;
|
|
3730
3727
|
};
|
|
3731
3728
|
export type FormItemHiddenProps = {
|
|
3732
3729
|
name: FormItemProps["name"];
|
|
3733
3730
|
className?: string;
|
|
3734
|
-
style?:
|
|
3731
|
+
style?: CSSProperties;
|
|
3735
3732
|
};
|
|
3736
3733
|
export declare const FormItemHidden: {
|
|
3737
|
-
(props: FormItemHiddenProps): import("react").
|
|
3734
|
+
(props: FormItemHiddenProps): import("react").JSX.Element;
|
|
3738
3735
|
domTypeName: string;
|
|
3739
3736
|
};
|
|
3740
3737
|
export type FormItemSpanProps = {
|
|
3741
3738
|
span?: number;
|
|
3742
|
-
children?:
|
|
3739
|
+
children?: ReactNode;
|
|
3743
3740
|
className?: string;
|
|
3744
|
-
style?:
|
|
3741
|
+
style?: CSSProperties;
|
|
3745
3742
|
/** 是否移除 */
|
|
3746
3743
|
hidden?: boolean;
|
|
3747
3744
|
};
|
|
@@ -3772,7 +3769,7 @@ export type FormItemSpanProps = {
|
|
|
3772
3769
|
* ```
|
|
3773
3770
|
*/
|
|
3774
3771
|
export declare const FormItemSpan: {
|
|
3775
|
-
(props: FormItemSpanProps): import("react").
|
|
3772
|
+
(props: FormItemSpanProps): import("react").JSX.Element;
|
|
3776
3773
|
domTypeName: string;
|
|
3777
3774
|
};
|
|
3778
3775
|
export type FormItemTextServiceConfig = {
|
|
@@ -3790,7 +3787,7 @@ export type FormItemTextProps = Omit<FormItemWrapperProps, "onChange"> & {
|
|
|
3790
3787
|
/** 是否换行,默认不换行,超出省略(鼠标悬浮可显示) */
|
|
3791
3788
|
wrap?: boolean;
|
|
3792
3789
|
/** 自定义数据显示 */
|
|
3793
|
-
render?: (value?: TAny) =>
|
|
3790
|
+
render?: (value?: TAny) => ReactNode;
|
|
3794
3791
|
/** 占位值,当 value 为 ''、undefined、null时显示 */
|
|
3795
3792
|
placeholderValue?: string;
|
|
3796
3793
|
/**
|
|
@@ -3845,17 +3842,17 @@ export type FormItemTextProps = Omit<FormItemWrapperProps, "onChange"> & {
|
|
|
3845
3842
|
* ```
|
|
3846
3843
|
*/
|
|
3847
3844
|
export declare const FormItemText: {
|
|
3848
|
-
(props: FormItemTextProps): import("react").
|
|
3845
|
+
(props: FormItemTextProps): import("react").JSX.Element;
|
|
3849
3846
|
domTypeName: string;
|
|
3850
3847
|
};
|
|
3851
3848
|
export type FormItemWrapperDependenciesProps = {
|
|
3852
3849
|
children?: (form: FormInstance, otherProps: {
|
|
3853
|
-
style?:
|
|
3850
|
+
style?: CSSProperties;
|
|
3854
3851
|
className?: string;
|
|
3855
|
-
}) =>
|
|
3852
|
+
}) => ReactElement;
|
|
3856
3853
|
dependencies: any[];
|
|
3857
3854
|
className?: string;
|
|
3858
|
-
style?:
|
|
3855
|
+
style?: CSSProperties;
|
|
3859
3856
|
};
|
|
3860
3857
|
/**
|
|
3861
3858
|
* FormItem依赖写法包装,当处在EasyForm内部时,不支持 <Form.Item dependencies={['xxx']} noStyle /> 此写法,使用 <FormItemWrapperDependencies dependencies={['xxx']} /> 代替
|
|
@@ -3884,7 +3881,7 @@ export type FormItemWrapperDependenciesProps = {
|
|
|
3884
3881
|
* ```
|
|
3885
3882
|
*/
|
|
3886
3883
|
export declare const FormItemWrapperDependencies: {
|
|
3887
|
-
(props: FormItemWrapperDependenciesProps): import("react").
|
|
3884
|
+
(props: FormItemWrapperDependenciesProps): import("react").JSX.Element;
|
|
3888
3885
|
domTypeName: string;
|
|
3889
3886
|
};
|
|
3890
3887
|
export type FormListWrapperContentProps = {
|
|
@@ -3917,7 +3914,7 @@ export type FormListWrapperContentProps = {
|
|
|
3917
3914
|
};
|
|
3918
3915
|
export type FormListWrapperProps = {
|
|
3919
3916
|
className?: string;
|
|
3920
|
-
style?:
|
|
3917
|
+
style?: CSSProperties;
|
|
3921
3918
|
/** formList item 数据中的唯一值,默认值:uid */
|
|
3922
3919
|
uidFieldName?: string;
|
|
3923
3920
|
/** formList name */
|
|
@@ -3936,15 +3933,15 @@ export type FormListWrapperProps = {
|
|
|
3936
3933
|
/** 隐藏新增行按钮 */
|
|
3937
3934
|
hiddenAddRowButton?: boolean;
|
|
3938
3935
|
/** 自定义新增行按钮,getAddRowDefaultValues配置失效 */
|
|
3939
|
-
onCustomAddRowButton?: (operation: FormListOperation) =>
|
|
3936
|
+
onCustomAddRowButton?: (operation: FormListOperation) => ReactElement;
|
|
3940
3937
|
/** formListItem 内容 */
|
|
3941
|
-
children: (data: FormListWrapperContentProps) =>
|
|
3938
|
+
children: (data: FormListWrapperContentProps) => ReactElement;
|
|
3942
3939
|
/** 隐藏数据为空渲染 */
|
|
3943
3940
|
hiddenEmptyRender?: boolean;
|
|
3944
3941
|
/** formList内部渲染包装,多用于FormListWrapper嵌套布局 */
|
|
3945
3942
|
formListChildrenWrapper?: (props: {
|
|
3946
|
-
children:
|
|
3947
|
-
}) =>
|
|
3943
|
+
children: ReactElement;
|
|
3944
|
+
}) => ReactElement;
|
|
3948
3945
|
/**
|
|
3949
3946
|
* Form.List rules
|
|
3950
3947
|
* ```
|
|
@@ -3985,12 +3982,12 @@ export type FormListWrapperProps = {
|
|
|
3985
3982
|
* 2. 通过 itemGap 设置FormList Item 之间间隙
|
|
3986
3983
|
* ```
|
|
3987
3984
|
*/
|
|
3988
|
-
export declare const FormListWrapper: (props: FormListWrapperProps) => import("react").
|
|
3985
|
+
export declare const FormListWrapper: (props: FormListWrapperProps) => import("react").JSX.Element;
|
|
3989
3986
|
export type GapProps = {
|
|
3990
3987
|
height?: number;
|
|
3991
3988
|
width?: number;
|
|
3992
3989
|
className?: string;
|
|
3993
|
-
style?:
|
|
3990
|
+
style?: CSSProperties;
|
|
3994
3991
|
inline?: boolean;
|
|
3995
3992
|
};
|
|
3996
3993
|
/**
|
|
@@ -3998,17 +3995,17 @@ export type GapProps = {
|
|
|
3998
3995
|
* @param props
|
|
3999
3996
|
* @returns
|
|
4000
3997
|
*/
|
|
4001
|
-
export declare const Gap: (props: GapProps) => import("react").
|
|
3998
|
+
export declare const Gap: (props: GapProps) => import("react").JSX.Element;
|
|
4002
3999
|
export type IconWrapperProps = {
|
|
4003
|
-
hoverTips?: string |
|
|
4000
|
+
hoverTips?: string | ReactElement;
|
|
4004
4001
|
/**
|
|
4005
4002
|
* 提示类型
|
|
4006
4003
|
* @default 'tooltip'
|
|
4007
4004
|
*/
|
|
4008
4005
|
tipsType?: "popover" | "tooltip";
|
|
4009
|
-
icon?:
|
|
4010
|
-
style?:
|
|
4011
|
-
text?: string |
|
|
4006
|
+
icon?: ReactNode;
|
|
4007
|
+
style?: CSSProperties;
|
|
4008
|
+
text?: string | ReactElement;
|
|
4012
4009
|
className?: string;
|
|
4013
4010
|
size?: "small" | "middle" | "large";
|
|
4014
4011
|
onClick?: (event: any) => void;
|
|
@@ -4019,7 +4016,7 @@ export type IconWrapperProps = {
|
|
|
4019
4016
|
/** 图标与文字之间的间距 */
|
|
4020
4017
|
gap?: number;
|
|
4021
4018
|
};
|
|
4022
|
-
export declare const IconWrapper: (props: IconWrapperProps) => import("react").
|
|
4019
|
+
export declare const IconWrapper: (props: IconWrapperProps) => import("react").JSX.Element;
|
|
4023
4020
|
export type InputSearchWrapperProps = Omit<SearchProps, "defaultValue">;
|
|
4024
4021
|
/**
|
|
4025
4022
|
* ```
|
|
@@ -4032,7 +4029,7 @@ export type InputSearchWrapperProps = Omit<SearchProps, "defaultValue">;
|
|
|
4032
4029
|
*
|
|
4033
4030
|
* ```
|
|
4034
4031
|
*/
|
|
4035
|
-
export declare const InputSearchWrapper: (props: InputSearchWrapperProps) => import("react").
|
|
4032
|
+
export declare const InputSearchWrapper: (props: InputSearchWrapperProps) => import("react").JSX.Element;
|
|
4036
4033
|
export type InputTextAreaWrapperProps = Omit<TextAreaProps, "defaultValue"> & {
|
|
4037
4034
|
debounceDuration?: number;
|
|
4038
4035
|
};
|
|
@@ -4047,7 +4044,7 @@ export type InputTextAreaWrapperProps = Omit<TextAreaProps, "defaultValue"> & {
|
|
|
4047
4044
|
*
|
|
4048
4045
|
* ```
|
|
4049
4046
|
*/
|
|
4050
|
-
export declare const InputTextAreaWrapper: (props: InputTextAreaWrapperProps) => import("react").
|
|
4047
|
+
export declare const InputTextAreaWrapper: (props: InputTextAreaWrapperProps) => import("react").JSX.Element;
|
|
4051
4048
|
export type InputWrapperProps = Omit<InputProps, "defaultValue"> & {
|
|
4052
4049
|
debounceDuration?: number;
|
|
4053
4050
|
};
|
|
@@ -4062,11 +4059,11 @@ export type InputWrapperProps = Omit<InputProps, "defaultValue"> & {
|
|
|
4062
4059
|
* 6. 可设置防抖执行时间
|
|
4063
4060
|
* ```
|
|
4064
4061
|
*/
|
|
4065
|
-
export declare const InputWrapper: (props: InputWrapperProps) => import("react").
|
|
4062
|
+
export declare const InputWrapper: (props: InputWrapperProps) => import("react").JSX.Element;
|
|
4066
4063
|
export type LabelValueLayoutProps = {
|
|
4067
4064
|
options: {
|
|
4068
|
-
label: string |
|
|
4069
|
-
value?: string | number |
|
|
4065
|
+
label: string | ReactElement;
|
|
4066
|
+
value?: string | number | ReactElement | null;
|
|
4070
4067
|
span?: number;
|
|
4071
4068
|
hidden?: boolean;
|
|
4072
4069
|
}[];
|
|
@@ -4075,19 +4072,19 @@ export type LabelValueLayoutProps = {
|
|
|
4075
4072
|
/** 添加边框 */
|
|
4076
4073
|
bordered?: boolean;
|
|
4077
4074
|
className?: string;
|
|
4078
|
-
style?:
|
|
4075
|
+
style?: CSSProperties;
|
|
4079
4076
|
/** 边框 row 内边距 */
|
|
4080
|
-
borderedRowPadding?:
|
|
4077
|
+
borderedRowPadding?: CSSProperties["padding"];
|
|
4081
4078
|
};
|
|
4082
4079
|
/**
|
|
4083
4080
|
* @deprecated 已过期,请使用 LabelValueRender 组件
|
|
4084
4081
|
* options[].span 是 Description.Item 的数量。 span={2} 会占用两个 DescriptionItem 的宽度
|
|
4085
4082
|
* options[].hidden 是否隐藏 Description.Item
|
|
4086
4083
|
*/
|
|
4087
|
-
export declare const LabelValueLayout: (props: LabelValueLayoutProps) => import("react").
|
|
4084
|
+
export declare const LabelValueLayout: (props: LabelValueLayoutProps) => import("react").JSX.Element;
|
|
4088
4085
|
export type TLabelValueItem = {
|
|
4089
|
-
label: string |
|
|
4090
|
-
value?: string | number |
|
|
4086
|
+
label: string | ReactElement;
|
|
4087
|
+
value?: string | number | ReactElement;
|
|
4091
4088
|
/** 根据LabelValueRender.column配置,当前item占几列 */
|
|
4092
4089
|
span?: 1 | 2 | 3 | 4 | 6;
|
|
4093
4090
|
/** 是否隐藏 */
|
|
@@ -4104,12 +4101,12 @@ export type TLabelValueItem = {
|
|
|
4104
4101
|
hideTip?: boolean;
|
|
4105
4102
|
/** value 渲染不使用 TextOverflow 包裹 */
|
|
4106
4103
|
valueNoWrapper?: boolean;
|
|
4107
|
-
labelStyle?:
|
|
4108
|
-
valueStyle?:
|
|
4104
|
+
labelStyle?: CSSProperties;
|
|
4105
|
+
valueStyle?: CSSProperties;
|
|
4109
4106
|
};
|
|
4110
4107
|
export type LabelValueRenderProps = {
|
|
4111
4108
|
className?: string;
|
|
4112
|
-
style?:
|
|
4109
|
+
style?: CSSProperties;
|
|
4113
4110
|
/**
|
|
4114
4111
|
* 定义一行显示几列, 默认值:4
|
|
4115
4112
|
* ```
|
|
@@ -4164,9 +4161,9 @@ export type LabelValueRenderProps = {
|
|
|
4164
4161
|
labelWidth?: number | "auto";
|
|
4165
4162
|
width?: number;
|
|
4166
4163
|
/** label 样式 */
|
|
4167
|
-
labelStyle?:
|
|
4164
|
+
labelStyle?: CSSProperties;
|
|
4168
4165
|
/** value 样式 */
|
|
4169
|
-
valueStyle?:
|
|
4166
|
+
valueStyle?: CSSProperties;
|
|
4170
4167
|
size?: "default" | "small";
|
|
4171
4168
|
/**
|
|
4172
4169
|
* label&value 方向布局
|
|
@@ -4196,7 +4193,7 @@ export type LabelValueRenderProps = {
|
|
|
4196
4193
|
* 3. 内置响应式布局
|
|
4197
4194
|
* ```
|
|
4198
4195
|
*/
|
|
4199
|
-
export declare const LabelValueRender: (props: LabelValueRenderProps) => import("react").
|
|
4196
|
+
export declare const LabelValueRender: (props: LabelValueRenderProps) => import("react").JSX.Element;
|
|
4200
4197
|
export type LocalLoadingServiceConfig = {
|
|
4201
4198
|
onRequest: (params?: TAny) => Promise<TAny>;
|
|
4202
4199
|
params?: TPlainObject;
|
|
@@ -4207,12 +4204,12 @@ export type LocalLoadingServiceConfig = {
|
|
|
4207
4204
|
};
|
|
4208
4205
|
export interface LocalLoadingProps {
|
|
4209
4206
|
className?: string;
|
|
4210
|
-
style?:
|
|
4211
|
-
contentStyle?:
|
|
4207
|
+
style?: CSSProperties;
|
|
4208
|
+
contentStyle?: CSSProperties;
|
|
4212
4209
|
/** 接口数据配置 */
|
|
4213
4210
|
serviceConfig: LocalLoadingServiceConfig;
|
|
4214
4211
|
/** children 为函数,参数【respData】为接口返回数据 */
|
|
4215
|
-
children: (respData?: TAny) =>
|
|
4212
|
+
children: (respData?: TAny) => ReactElement;
|
|
4216
4213
|
/**
|
|
4217
4214
|
* 是否异步,默认:false
|
|
4218
4215
|
* ```
|
|
@@ -4228,7 +4225,7 @@ export interface LocalLoadingProps {
|
|
|
4228
4225
|
/** loading tip,默认值:Loading */
|
|
4229
4226
|
tip?: string;
|
|
4230
4227
|
/** loading 内容 */
|
|
4231
|
-
content?:
|
|
4228
|
+
content?: ReactElement;
|
|
4232
4229
|
/** 背景色,默认值:rgba(0,0,0,0.01) */
|
|
4233
4230
|
bgColor?: string;
|
|
4234
4231
|
};
|
|
@@ -4239,7 +4236,7 @@ export interface LocalLoadingProps {
|
|
|
4239
4236
|
/** 是否显示必填异常 */
|
|
4240
4237
|
showRequiredError?: boolean;
|
|
4241
4238
|
/** 自定义异常渲染处理 */
|
|
4242
|
-
errorRender?: (error?: TAny) =>
|
|
4239
|
+
errorRender?: (error?: TAny) => ReactElement;
|
|
4243
4240
|
/** 设置内部滚动,需要设置 style.height 才能生效,@5.0.16 */
|
|
4244
4241
|
contentScroll?: boolean;
|
|
4245
4242
|
/** 设置高度 */
|
|
@@ -4339,7 +4336,7 @@ export type ParamItem = {
|
|
|
4339
4336
|
} & Record<string, TAny>;
|
|
4340
4337
|
export type OperationPresetProps = {
|
|
4341
4338
|
/** icon */
|
|
4342
|
-
icon:
|
|
4339
|
+
icon: ReactElement;
|
|
4343
4340
|
/** 模版参数文案 */
|
|
4344
4341
|
label?: string;
|
|
4345
4342
|
/** 模版参数类型 */
|
|
@@ -4370,19 +4367,19 @@ export type MentionEditorProps = Omit<MentionsWrapperProps, "prefix"> & {
|
|
|
4370
4367
|
* 4. 模版参数建议都以${_xxx}为格式
|
|
4371
4368
|
* 5. Demo: https://fex.qa.tcshuke.com/docs/admin/main/widget?key=mention-editor
|
|
4372
4369
|
*/
|
|
4373
|
-
export declare const MentionEditor: (props: MentionEditorProps) => import("react").
|
|
4370
|
+
export declare const MentionEditor: (props: MentionEditorProps) => import("react").JSX.Element;
|
|
4374
4371
|
export interface ModalActionProps {
|
|
4375
|
-
children:
|
|
4372
|
+
children: ReactElement | ((data: {
|
|
4376
4373
|
onClose: () => void;
|
|
4377
4374
|
open: boolean;
|
|
4378
|
-
}) =>
|
|
4379
|
-
action?: (
|
|
4375
|
+
}) => ReactElement);
|
|
4376
|
+
action?: (ReactElement & {
|
|
4380
4377
|
onClick?: (e: any) => void;
|
|
4381
4378
|
}) | ((data: {
|
|
4382
4379
|
onClick: (e: any) => void;
|
|
4383
4380
|
onClose: () => void;
|
|
4384
4381
|
open: boolean;
|
|
4385
|
-
}) =>
|
|
4382
|
+
}) => ReactElement);
|
|
4386
4383
|
}
|
|
4387
4384
|
/**
|
|
4388
4385
|
* 弹框 触发器
|
|
@@ -4394,7 +4391,7 @@ export interface ModalActionProps {
|
|
|
4394
4391
|
* </ModalAction>
|
|
4395
4392
|
* ```
|
|
4396
4393
|
*/
|
|
4397
|
-
export declare const ModalAction: (props: ModalActionProps) => import("react").
|
|
4394
|
+
export declare const ModalAction: (props: ModalActionProps) => import("react").JSX.Element;
|
|
4398
4395
|
type InputNumberProps$1 = GetProps<typeof InputNumber>;
|
|
4399
4396
|
export type NumberRangeFormItemProps = Omit<FormItemWrapperProps, "name" | "rules"> & {
|
|
4400
4397
|
minFormItemName: FormItemNamePath;
|
|
@@ -4419,18 +4416,18 @@ export type NumberRangeFormItemProps = Omit<FormItemWrapperProps, "name" | "rule
|
|
|
4419
4416
|
/**
|
|
4420
4417
|
* 数字输入范围组件
|
|
4421
4418
|
*/
|
|
4422
|
-
export declare const NumberRangeFormItem: (props: NumberRangeFormItemProps) => import("react").
|
|
4419
|
+
export declare const NumberRangeFormItem: (props: NumberRangeFormItemProps) => import("react").JSX.Element;
|
|
4423
4420
|
export type PageFixedFooterProps = {
|
|
4424
4421
|
className?: string;
|
|
4425
|
-
style?:
|
|
4426
|
-
children?:
|
|
4422
|
+
style?: CSSProperties;
|
|
4423
|
+
children?: ReactNode | ReactNode[];
|
|
4427
4424
|
hidden?: boolean;
|
|
4428
4425
|
};
|
|
4429
|
-
export declare const PageFixedFooter: (props: PageFixedFooterProps) => import("react").
|
|
4426
|
+
export declare const PageFixedFooter: (props: PageFixedFooterProps) => import("react").JSX.Element | null;
|
|
4430
4427
|
export type Page404Props = {
|
|
4431
4428
|
message?: string;
|
|
4432
4429
|
};
|
|
4433
|
-
export declare const Page404: (props: Page404Props) => import("react").
|
|
4430
|
+
export declare const Page404: (props: Page404Props) => import("react").JSX.Element;
|
|
4434
4431
|
/**
|
|
4435
4432
|
* 由于 antd 5.3.x 分页Pagination组件,存在点击分页选择框时,一直朝下
|
|
4436
4433
|
* issues:https://github.com/ant-design/ant-design/issues/36866
|
|
@@ -4438,7 +4435,7 @@ export declare const Page404: (props: Page404Props) => import("react").React$1.J
|
|
|
4438
4435
|
* @param props
|
|
4439
4436
|
* @returns
|
|
4440
4437
|
*/
|
|
4441
|
-
export declare const PaginationWrapper: (props: PaginationProps) => import("react").
|
|
4438
|
+
export declare const PaginationWrapper: (props: PaginationProps) => import("react").JSX.Element;
|
|
4442
4439
|
/**
|
|
4443
4440
|
* pdf预览
|
|
4444
4441
|
* ```
|
|
@@ -4456,7 +4453,7 @@ export declare const Pdf: {
|
|
|
4456
4453
|
children: import("react").ReactNode;
|
|
4457
4454
|
error?: import("react").ReactElement | ((error: any) => import("react").ReactElement);
|
|
4458
4455
|
className?: string;
|
|
4459
|
-
}) => import("react").
|
|
4456
|
+
}) => import("react").JSX.Element;
|
|
4460
4457
|
Page: (props: {
|
|
4461
4458
|
onRenderSuccess?: (pageInstance: any, pdfInstance: any) => void;
|
|
4462
4459
|
onRenderError?: (error: any, pdfInstance: any) => void;
|
|
@@ -4468,7 +4465,7 @@ export declare const Pdf: {
|
|
|
4468
4465
|
onClick?: (e: any) => void;
|
|
4469
4466
|
className?: string;
|
|
4470
4467
|
style?: import("react").CSSProperties;
|
|
4471
|
-
}) => import("react").
|
|
4468
|
+
}) => import("react").JSX.Element;
|
|
4472
4469
|
};
|
|
4473
4470
|
export type PdfPreviewProps = {
|
|
4474
4471
|
pdfUrl: string;
|
|
@@ -4491,7 +4488,7 @@ export type PdfPreviewProps = {
|
|
|
4491
4488
|
* Demo: https://fex.qa.tcshuke.com/docs/admin/main/file/pdf-seal
|
|
4492
4489
|
* ```
|
|
4493
4490
|
*/
|
|
4494
|
-
export declare const PdfPreview: (props: PdfPreviewProps) => import("react").
|
|
4491
|
+
export declare const PdfPreview: (props: PdfPreviewProps) => import("react").JSX.Element;
|
|
4495
4492
|
export type PdfPreview2Props = {
|
|
4496
4493
|
pdfUrl: string;
|
|
4497
4494
|
/** 网络环境,inner/内网,outer/外网,默认inner */
|
|
@@ -4505,12 +4502,12 @@ export type PdfPreview2Props = {
|
|
|
4505
4502
|
* 3. networkEnv 设置内网、外网,默认内网
|
|
4506
4503
|
* ```
|
|
4507
4504
|
*/
|
|
4508
|
-
export declare const PdfPreview2: (props: PdfPreview2Props) => import("react").
|
|
4505
|
+
export declare const PdfPreview2: (props: PdfPreview2Props) => import("react").JSX.Element;
|
|
4509
4506
|
export interface PermissionProps {
|
|
4510
4507
|
name?: string;
|
|
4511
|
-
children?:
|
|
4508
|
+
children?: ReactNode | ReactNode[];
|
|
4512
4509
|
}
|
|
4513
|
-
export declare const Permission: (props: PermissionProps) => import("react").
|
|
4510
|
+
export declare const Permission: (props: PermissionProps) => import("react").JSX.Element | null;
|
|
4514
4511
|
/**
|
|
4515
4512
|
* 预定义className
|
|
4516
4513
|
* ```
|
|
@@ -4591,7 +4588,7 @@ export declare const preDefinedClassName: {
|
|
|
4591
4588
|
};
|
|
4592
4589
|
export type RadioGroupWrapperValue = string | number | boolean;
|
|
4593
4590
|
export type RadioGroupWrapperOptionItem = {
|
|
4594
|
-
label: string |
|
|
4591
|
+
label: string | ReactElement;
|
|
4595
4592
|
value: RadioGroupWrapperValue;
|
|
4596
4593
|
disabled?: boolean;
|
|
4597
4594
|
};
|
|
@@ -4611,7 +4608,7 @@ export type CustomRadioGroupProps = {
|
|
|
4611
4608
|
* @param props
|
|
4612
4609
|
* @returns
|
|
4613
4610
|
*/
|
|
4614
|
-
export declare const RadioGroupWrapper: (props: CustomRadioGroupProps) => import("react").
|
|
4611
|
+
export declare const RadioGroupWrapper: (props: CustomRadioGroupProps) => import("react").JSX.Element;
|
|
4615
4612
|
export type RelationProps = {
|
|
4616
4613
|
/** 左侧Tag+线占用宽度 */
|
|
4617
4614
|
tagLineWidth?: number;
|
|
@@ -4627,8 +4624,8 @@ export type RelationProps = {
|
|
|
4627
4624
|
onTagClick?: (tagName?: string) => void;
|
|
4628
4625
|
/**连接线颜色 */
|
|
4629
4626
|
lineColor?: string;
|
|
4630
|
-
solt1: () =>
|
|
4631
|
-
solt2?: () =>
|
|
4627
|
+
solt1: () => ReactElement;
|
|
4628
|
+
solt2?: () => ReactElement | null;
|
|
4632
4629
|
className?: string;
|
|
4633
4630
|
onlyOne?: boolean;
|
|
4634
4631
|
onlyNoMainOne?: boolean;
|
|
@@ -4637,7 +4634,7 @@ export type RelationProps = {
|
|
|
4637
4634
|
export type RelationTreeProps = {
|
|
4638
4635
|
className?: string;
|
|
4639
4636
|
dataSource?: TRelationTreeData;
|
|
4640
|
-
children: (data: TRelationTreeCustomData, operate: TRelationTreeOperate, extraData?: TPlainObject) =>
|
|
4637
|
+
children: (data: TRelationTreeCustomData, operate: TRelationTreeOperate, extraData?: TPlainObject) => ReactElement;
|
|
4641
4638
|
onChange?: (dataSource?: TRelationTreeData) => void;
|
|
4642
4639
|
relationProps?: Pick<RelationProps, "tagLineWidth" | "indentWidth" | "tagColor" | "tagWidth" | "lineColor">;
|
|
4643
4640
|
onTagClick?: (uid: string, extraData?: TPlainObject) => void;
|
|
@@ -4664,31 +4661,31 @@ export type TRelationTreeOperate = {
|
|
|
4664
4661
|
remove: (uid: string) => void;
|
|
4665
4662
|
onChange: (name: string, value: TAny) => void;
|
|
4666
4663
|
};
|
|
4667
|
-
export declare const RelationTree: (props: RelationTreeProps) => import("react").
|
|
4664
|
+
export declare const RelationTree: (props: RelationTreeProps) => import("react").JSX.Element;
|
|
4668
4665
|
export type ResizableDrawerProps = {
|
|
4669
4666
|
open?: boolean;
|
|
4670
4667
|
onClose?: () => void;
|
|
4671
|
-
title?:
|
|
4668
|
+
title?: ReactNode;
|
|
4672
4669
|
width?: number | string;
|
|
4673
|
-
children?:
|
|
4674
|
-
footer?:
|
|
4670
|
+
children?: ReactNode;
|
|
4671
|
+
footer?: ReactNode | null;
|
|
4675
4672
|
hidenFooter?: boolean;
|
|
4676
4673
|
maskClosable?: boolean;
|
|
4677
4674
|
mask?: boolean;
|
|
4678
4675
|
className?: string;
|
|
4679
|
-
style?:
|
|
4676
|
+
style?: CSSProperties;
|
|
4680
4677
|
styles?: {
|
|
4681
|
-
header?:
|
|
4682
|
-
body?:
|
|
4683
|
-
footer?:
|
|
4678
|
+
header?: CSSProperties;
|
|
4679
|
+
body?: CSSProperties;
|
|
4680
|
+
footer?: CSSProperties;
|
|
4684
4681
|
};
|
|
4685
|
-
headerExtraRender?:
|
|
4682
|
+
headerExtraRender?: ReactElement;
|
|
4686
4683
|
zIndex?: number;
|
|
4687
|
-
onOk?: (e:
|
|
4684
|
+
onOk?: (e: MouseEvent<HTMLElement>) => void | Promise<void>;
|
|
4688
4685
|
cancelText?: string;
|
|
4689
4686
|
okText?: string;
|
|
4690
4687
|
};
|
|
4691
|
-
export declare const ResizableDrawer:
|
|
4688
|
+
export declare const ResizableDrawer: FC<ResizableDrawerProps>;
|
|
4692
4689
|
export interface RichTextEditorProps extends Omit<IAllProps, "onChange" | "init"> {
|
|
4693
4690
|
/** 设置高度,默认:500 */
|
|
4694
4691
|
height?: number;
|
|
@@ -4746,14 +4743,14 @@ export interface RichTextEditorProps extends Omit<IAllProps, "onChange" | "init"
|
|
|
4746
4743
|
* 默认比例:[{ min: 0, max: 1000, ratio: 0.5 }, { min: 1000, ratio: 0.3 }]
|
|
4747
4744
|
* ```
|
|
4748
4745
|
*/
|
|
4749
|
-
export declare const RichTextEditor: (props: RichTextEditorProps) => import("react").
|
|
4746
|
+
export declare const RichTextEditor: (props: RichTextEditorProps) => import("react").JSX.Element;
|
|
4750
4747
|
export type RichTextViewerProps = {
|
|
4751
4748
|
value: string;
|
|
4752
4749
|
className?: string;
|
|
4753
|
-
style?:
|
|
4750
|
+
style?: CSSProperties;
|
|
4754
4751
|
fullscreen?: boolean;
|
|
4755
4752
|
onInit?: (editor: TinyMCEEditor) => void;
|
|
4756
|
-
children?:
|
|
4753
|
+
children?: ReactElement;
|
|
4757
4754
|
fullscreenIconTips?: string;
|
|
4758
4755
|
};
|
|
4759
4756
|
/**
|
|
@@ -4766,35 +4763,35 @@ export type RichTextViewerProps = {
|
|
|
4766
4763
|
* @param props
|
|
4767
4764
|
* @returns
|
|
4768
4765
|
*/
|
|
4769
|
-
export declare const RichTextViewer: (props: RichTextViewerProps) => import("react").
|
|
4766
|
+
export declare const RichTextViewer: (props: RichTextViewerProps) => import("react").JSX.Element;
|
|
4770
4767
|
export type RollLocationCenterProps = {
|
|
4771
4768
|
renderList: {
|
|
4772
4769
|
activeKey: string;
|
|
4773
|
-
render:
|
|
4770
|
+
render: ReactElement;
|
|
4774
4771
|
}[];
|
|
4775
4772
|
activeKey?: string;
|
|
4776
4773
|
behavior?: ScrollBehavior;
|
|
4777
4774
|
direction?: "horizontal" | "vertical";
|
|
4778
|
-
style?:
|
|
4775
|
+
style?: CSSProperties;
|
|
4779
4776
|
className?: string;
|
|
4780
4777
|
};
|
|
4781
|
-
export declare const RollLocationCenter: (props: RollLocationCenterProps) => import("react").
|
|
4778
|
+
export declare const RollLocationCenter: (props: RollLocationCenterProps) => import("react").JSX.Element;
|
|
4782
4779
|
export type RollLocationInViewProps = {
|
|
4783
4780
|
renderList: {
|
|
4784
4781
|
activeKey: string;
|
|
4785
|
-
render:
|
|
4782
|
+
render: ReactElement;
|
|
4786
4783
|
}[];
|
|
4787
4784
|
activeKey?: string;
|
|
4788
4785
|
behavior?: ScrollBehavior;
|
|
4789
4786
|
activeOffset?: number;
|
|
4790
4787
|
direction?: "horizontal" | "vertical";
|
|
4791
|
-
style?:
|
|
4788
|
+
style?: CSSProperties;
|
|
4792
4789
|
className?: string;
|
|
4793
4790
|
};
|
|
4794
|
-
export declare const RollLocationInView: (props: RollLocationInViewProps) => import("react").
|
|
4791
|
+
export declare const RollLocationInView: (props: RollLocationInViewProps) => import("react").JSX.Element;
|
|
4795
4792
|
export type RuleDataItem = {
|
|
4796
|
-
title?: string |
|
|
4797
|
-
desc?: string |
|
|
4793
|
+
title?: string | ReactElement;
|
|
4794
|
+
desc?: string | ReactElement;
|
|
4798
4795
|
};
|
|
4799
4796
|
export type RuleDescribeProps = {
|
|
4800
4797
|
title?: string;
|
|
@@ -4802,13 +4799,13 @@ export type RuleDescribeProps = {
|
|
|
4802
4799
|
ruleDataList: RuleDataItem[];
|
|
4803
4800
|
titleSign?: boolean;
|
|
4804
4801
|
className?: string;
|
|
4805
|
-
ruleItemTitleStyle?:
|
|
4806
|
-
ruleItemDescStyle?:
|
|
4807
|
-
ruleItemStyle?:
|
|
4802
|
+
ruleItemTitleStyle?: CSSProperties;
|
|
4803
|
+
ruleItemDescStyle?: CSSProperties;
|
|
4804
|
+
ruleItemStyle?: CSSProperties;
|
|
4808
4805
|
};
|
|
4809
|
-
export declare const RuleDescribe: (props: RuleDescribeProps) => import("react").
|
|
4806
|
+
export declare const RuleDescribe: (props: RuleDescribeProps) => import("react").JSX.Element;
|
|
4810
4807
|
export type SearchFormProps = {
|
|
4811
|
-
children:
|
|
4808
|
+
children: ReactElement | ReactElement[] | ((form: FormInstance) => ReactElement);
|
|
4812
4809
|
/** isPure = true时无效 */
|
|
4813
4810
|
searchOperate?: (form: FormInstance) => FormOperateColProps;
|
|
4814
4811
|
/** 是否为纯净模式(查询条件布局是否自定义), */
|
|
@@ -4828,7 +4825,7 @@ export type SearchFormProps = {
|
|
|
4828
4825
|
*/
|
|
4829
4826
|
formGridSize?: FormRowProps["gridSize"];
|
|
4830
4827
|
formClassName?: string;
|
|
4831
|
-
formStyle?:
|
|
4828
|
+
formStyle?: CSSProperties;
|
|
4832
4829
|
/** form 初始值 */
|
|
4833
4830
|
formInitialValues?: TPlainObject;
|
|
4834
4831
|
/** label宽度,Form内部所有FormItem label都生效 */
|
|
@@ -4932,44 +4929,44 @@ export interface ISearchMenuProps {
|
|
|
4932
4929
|
key?: string;
|
|
4933
4930
|
};
|
|
4934
4931
|
/** 自定义渲染条目 */
|
|
4935
|
-
renderItem?: (nodeData: TPlainObject) =>
|
|
4932
|
+
renderItem?: (nodeData: TPlainObject) => ReactElement;
|
|
4936
4933
|
/** 搜索框参数 */
|
|
4937
4934
|
inputProps?: InputSearchWrapperProps;
|
|
4938
4935
|
/** 搜索位置额外元素 */
|
|
4939
|
-
searchExtraElement?:
|
|
4936
|
+
searchExtraElement?: ReactElement;
|
|
4940
4937
|
placeholder?: string;
|
|
4941
4938
|
className?: string;
|
|
4942
|
-
wrapStyle?:
|
|
4943
|
-
style?:
|
|
4944
|
-
searchStyle?:
|
|
4939
|
+
wrapStyle?: CSSProperties;
|
|
4940
|
+
style?: CSSProperties;
|
|
4941
|
+
searchStyle?: CSSProperties;
|
|
4945
4942
|
/** 是否显示搜索区域 */
|
|
4946
4943
|
showSearch?: boolean;
|
|
4947
4944
|
}
|
|
4948
4945
|
export interface IListViewItem {
|
|
4949
|
-
label:
|
|
4946
|
+
label: ReactNode;
|
|
4950
4947
|
key: string;
|
|
4951
4948
|
}
|
|
4952
4949
|
export interface IListViewProps {
|
|
4953
4950
|
dataList: IListViewItem[];
|
|
4954
4951
|
value?: string;
|
|
4955
4952
|
onChange?: (key: string, item: IListViewItem) => void;
|
|
4956
|
-
style?:
|
|
4953
|
+
style?: CSSProperties;
|
|
4957
4954
|
/** 自定义空数据提示 */
|
|
4958
|
-
emptyView?:
|
|
4955
|
+
emptyView?: ReactElement;
|
|
4959
4956
|
}
|
|
4960
4957
|
/**
|
|
4961
4958
|
* 列表搜索
|
|
4962
4959
|
* @param props
|
|
4963
4960
|
* @returns
|
|
4964
4961
|
*/
|
|
4965
|
-
export declare function SearchMenu(props: ISearchMenuProps & Pick<IListViewProps, "emptyView">): import("react").
|
|
4962
|
+
export declare function SearchMenu(props: ISearchMenuProps & Pick<IListViewProps, "emptyView">): import("react").JSX.Element;
|
|
4966
4963
|
/**
|
|
4967
4964
|
* 选择器包装组件
|
|
4968
4965
|
* ```
|
|
4969
4966
|
* 1. 不支持搜索调用服务模式,可使用组件 SelectorWrapperSearch
|
|
4970
4967
|
* ```
|
|
4971
4968
|
*/
|
|
4972
|
-
export declare const SelectorWrapper: (props: SelectorWrapperProps) => import("react").
|
|
4969
|
+
export declare const SelectorWrapper: (props: SelectorWrapperProps) => import("react").JSX.Element;
|
|
4973
4970
|
export type SelectorWrapperSearchServiceConfig = {
|
|
4974
4971
|
params?: TPlainObject;
|
|
4975
4972
|
onRequest: (params?: TAny) => TAny;
|
|
@@ -5008,7 +5005,7 @@ export type SelectorWrapperSearchProps = Omit<SelectProps, "onSearch" | "notFoun
|
|
|
5008
5005
|
onSelectorRequestError?: (error: Error) => void;
|
|
5009
5006
|
/** 交互文案配置 */
|
|
5010
5007
|
requestMessageConfig?: TRequestStatusProps["messageConfig"];
|
|
5011
|
-
onLabelRenderAdapter?: (dataItem: TPlainObject) => string |
|
|
5008
|
+
onLabelRenderAdapter?: (dataItem: TPlainObject) => string | ReactElement;
|
|
5012
5009
|
customKeyword?: string;
|
|
5013
5010
|
};
|
|
5014
5011
|
/**
|
|
@@ -5021,7 +5018,7 @@ export type SelectorWrapperSearchProps = Omit<SelectProps, "onSearch" | "notFoun
|
|
|
5021
5018
|
* 3. 不会对value、onChange做任何处理
|
|
5022
5019
|
* ```
|
|
5023
5020
|
*/
|
|
5024
|
-
export declare const SelectorWrapperSearch: (props: SelectorWrapperSearchProps) => import("react").
|
|
5021
|
+
export declare const SelectorWrapperSearch: (props: SelectorWrapperSearchProps) => import("react").JSX.Element;
|
|
5025
5022
|
export type SelectorWrapperSimpleServiceConfig = {
|
|
5026
5023
|
params?: TPlainObject;
|
|
5027
5024
|
onRequest: (params?: TAny) => TAny;
|
|
@@ -5071,12 +5068,12 @@ export type SelectorWrapperSimpleProps = Omit<SelectProps, "onSearch" | "notFoun
|
|
|
5071
5068
|
* 3. 不会对value、onChange做任何处理
|
|
5072
5069
|
* ```
|
|
5073
5070
|
*/
|
|
5074
|
-
export declare const SelectorWrapperSimple: (props: SelectorWrapperSimpleProps) => import("react").
|
|
5071
|
+
export declare const SelectorWrapperSimple: (props: SelectorWrapperSimpleProps) => import("react").JSX.Element;
|
|
5075
5072
|
export type SimpleLayoutProps = {
|
|
5076
5073
|
className?: string;
|
|
5077
|
-
style?:
|
|
5078
|
-
title?: string |
|
|
5079
|
-
desc?: string |
|
|
5074
|
+
style?: CSSProperties;
|
|
5075
|
+
title?: string | ReactElement;
|
|
5076
|
+
desc?: string | ReactElement | string[] | ReactElement[];
|
|
5080
5077
|
/**
|
|
5081
5078
|
* @deprecated 已过期,请使用form className 属性 preDefinedClassName.form.xxx
|
|
5082
5079
|
*/
|
|
@@ -5090,14 +5087,14 @@ export type SimpleLayoutProps = {
|
|
|
5090
5087
|
*/
|
|
5091
5088
|
layoutType?: "layer" | "tight";
|
|
5092
5089
|
titleLeftLine?: boolean;
|
|
5093
|
-
titleStyle?:
|
|
5094
|
-
contentStyle?:
|
|
5090
|
+
titleStyle?: CSSProperties;
|
|
5091
|
+
contentStyle?: CSSProperties;
|
|
5095
5092
|
/** 优先级大于 style padding */
|
|
5096
|
-
padding?:
|
|
5093
|
+
padding?: CSSProperties["padding"];
|
|
5097
5094
|
/** 优先级大于 style width */
|
|
5098
|
-
width?:
|
|
5099
|
-
children?:
|
|
5100
|
-
titleExtra?: string |
|
|
5095
|
+
width?: CSSProperties["width"];
|
|
5096
|
+
children?: ReactNode | ReactNode[];
|
|
5097
|
+
titleExtra?: string | ReactElement;
|
|
5101
5098
|
hidden?: boolean;
|
|
5102
5099
|
titleFixed?: boolean;
|
|
5103
5100
|
/**
|
|
@@ -5118,7 +5115,7 @@ export type SimpleLayoutProps = {
|
|
|
5118
5115
|
* ```
|
|
5119
5116
|
*/
|
|
5120
5117
|
export declare const SimpleLayout: {
|
|
5121
|
-
(props: SimpleLayoutProps): import("react").
|
|
5118
|
+
(props: SimpleLayoutProps): import("react").JSX.Element;
|
|
5122
5119
|
defaultProps: {
|
|
5123
5120
|
titleLeftLine: boolean;
|
|
5124
5121
|
layoutType: string;
|
|
@@ -5136,9 +5133,9 @@ export interface SmsCountDownProps {
|
|
|
5136
5133
|
onTick?: (time: number) => void;
|
|
5137
5134
|
className?: string;
|
|
5138
5135
|
}
|
|
5139
|
-
export declare const SmsCountDown:
|
|
5136
|
+
export declare const SmsCountDown: FC<SmsCountDownProps>;
|
|
5140
5137
|
export type SplitWrapperProps = SplitProps & {
|
|
5141
|
-
panelStyle?:
|
|
5138
|
+
panelStyle?: CSSProperties;
|
|
5142
5139
|
};
|
|
5143
5140
|
/**
|
|
5144
5141
|
* 分屏可拖动组件
|
|
@@ -5153,7 +5150,7 @@ export type SplitWrapperProps = SplitProps & {
|
|
|
5153
5150
|
3. 通过 direction 设置方向
|
|
5154
5151
|
* ```
|
|
5155
5152
|
*/
|
|
5156
|
-
export declare const SplitWrapper: (props: SplitWrapperProps) => import("react").
|
|
5153
|
+
export declare const SplitWrapper: (props: SplitWrapperProps) => import("react").JSX.Element;
|
|
5157
5154
|
export declare const styles: () => void;
|
|
5158
5155
|
export type SvgHttpViewProps = {
|
|
5159
5156
|
/**
|
|
@@ -5175,7 +5172,7 @@ export type SvgHttpViewProps = {
|
|
|
5175
5172
|
color?: string;
|
|
5176
5173
|
onClick?: (e: any) => void;
|
|
5177
5174
|
className?: string;
|
|
5178
|
-
style?:
|
|
5175
|
+
style?: CSSProperties;
|
|
5179
5176
|
};
|
|
5180
5177
|
/**
|
|
5181
5178
|
* http svg地址解析,可自定义颜色
|
|
@@ -5185,7 +5182,7 @@ export type SvgHttpViewProps = {
|
|
|
5185
5182
|
* 3.
|
|
5186
5183
|
* ```
|
|
5187
5184
|
*/
|
|
5188
|
-
export declare const SvgHttpView: (props: SvgHttpViewProps) => import("react").
|
|
5185
|
+
export declare const SvgHttpView: (props: SvgHttpViewProps) => import("react").JSX.Element;
|
|
5189
5186
|
export type SwitchConfirmWrapperValue = string | number | boolean;
|
|
5190
5187
|
export type SwitchConfirmWrapperProps = Omit<SwitchProps, "defaultChecked" | "onChange"> & {
|
|
5191
5188
|
value?: SwitchConfirmWrapperValue;
|
|
@@ -5259,7 +5256,7 @@ export type SwitchConfirmWrapperProps = Omit<SwitchProps, "defaultChecked" | "on
|
|
|
5259
5256
|
* </Form.Item>
|
|
5260
5257
|
* ```
|
|
5261
5258
|
*/
|
|
5262
|
-
export declare const SwitchConfirmWrapper: (props: SwitchConfirmWrapperProps) => import("react").
|
|
5259
|
+
export declare const SwitchConfirmWrapper: (props: SwitchConfirmWrapperProps) => import("react").JSX.Element;
|
|
5263
5260
|
export type TagListSelectValue = string | number | boolean;
|
|
5264
5261
|
export type TagListSelectDataItem = {
|
|
5265
5262
|
label: string;
|
|
@@ -5301,10 +5298,10 @@ export type TagListSelectProps = {
|
|
|
5301
5298
|
* <Tag color={'red'}>启用</Tag>
|
|
5302
5299
|
* ```
|
|
5303
5300
|
*/
|
|
5304
|
-
export declare const TagListSelect:
|
|
5301
|
+
export declare const TagListSelect: FC<TagListSelectProps>;
|
|
5305
5302
|
export type TableColumnIconRenderProps = {
|
|
5306
5303
|
/** 额外内容,一般为Icon */
|
|
5307
|
-
extra:
|
|
5304
|
+
extra: ReactElement;
|
|
5308
5305
|
extraPosition?: "before" | "after";
|
|
5309
5306
|
onClick?: (e: any) => void;
|
|
5310
5307
|
/** 是否显示原单元格数据,默认值:true */
|
|
@@ -5385,7 +5382,7 @@ export declare const tableCellRender: {
|
|
|
5385
5382
|
* }))
|
|
5386
5383
|
* ```
|
|
5387
5384
|
*/
|
|
5388
|
-
operateCell: (options: (item: TAny, index: number) => ButtonOperateProps) => (_value: string | number, record: any, index: number) => import("react").
|
|
5385
|
+
operateCell: (options: (item: TAny, index: number) => ButtonOperateProps) => (_value: string | number, record: any, index: number) => import("react").JSX.Element;
|
|
5389
5386
|
/**
|
|
5390
5387
|
* 实现字段超出隐藏,默认长度10个字符
|
|
5391
5388
|
* @deprecated 已过期,请使用 TextOverflow 组件实现
|
|
@@ -5394,7 +5391,7 @@ export declare const tableCellRender: {
|
|
|
5394
5391
|
* 2. 会讲字符转出字节进行计算显示
|
|
5395
5392
|
* ```
|
|
5396
5393
|
*/
|
|
5397
|
-
tooltipCell: (showMaxNumber?: number, defaultValue?: string) => (value: string | number) => string | number | import("react").
|
|
5394
|
+
tooltipCell: (showMaxNumber?: number, defaultValue?: string) => (value: string | number) => string | number | import("react").JSX.Element | undefined;
|
|
5398
5395
|
/**
|
|
5399
5396
|
* Tag格式数据渲染,可结合枚举定义数据
|
|
5400
5397
|
* ```
|
|
@@ -5420,7 +5417,7 @@ export declare const tableCellRender: {
|
|
|
5420
5417
|
maxShowCount?: number;
|
|
5421
5418
|
/** 触发maxShowCount后,被折叠的内容是否显示完整tag,默认值:false */
|
|
5422
5419
|
foldShowAllTag?: boolean;
|
|
5423
|
-
}) => (value?: TAny) => import("react").
|
|
5420
|
+
}) => (value?: TAny) => import("react").JSX.Element | null;
|
|
5424
5421
|
/**
|
|
5425
5422
|
* 单元格对象数据处理,支持多级处理
|
|
5426
5423
|
* ```
|
|
@@ -5451,7 +5448,7 @@ export declare const tableCellRender: {
|
|
|
5451
5448
|
defaultValue?: string | number;
|
|
5452
5449
|
/** 隐藏背景颜色, 默认值:true */
|
|
5453
5450
|
hideBgColor?: boolean;
|
|
5454
|
-
}) => (value?: string | number) => string | number | import("react").
|
|
5451
|
+
}) => (value?: string | number) => string | number | import("react").JSX.Element | undefined;
|
|
5455
5452
|
/**
|
|
5456
5453
|
* 分金额展示,入参分,显示万元(默认添加千分位)
|
|
5457
5454
|
* ```
|
|
@@ -5478,7 +5475,7 @@ export declare const tableCellRender: {
|
|
|
5478
5475
|
showBgColor?: boolean;
|
|
5479
5476
|
/** 移除小数点后末尾零 */
|
|
5480
5477
|
removeTailZero?: boolean;
|
|
5481
|
-
}) => (value?: string | number) => string | number | import("react").
|
|
5478
|
+
}) => (value?: string | number) => string | number | import("react").JSX.Element | undefined;
|
|
5482
5479
|
/**
|
|
5483
5480
|
* 单元格徽标展示数据
|
|
5484
5481
|
* ```
|
|
@@ -5514,10 +5511,10 @@ export declare const tableCellRender: {
|
|
|
5514
5511
|
* }
|
|
5515
5512
|
* ```
|
|
5516
5513
|
*/
|
|
5517
|
-
clickCell: (onClick: (record: TPlainObject, e: any) => void, defaultValue?: string) => (value: TAny, record: TPlainObject) => string | import("react").
|
|
5514
|
+
clickCell: (onClick: (record: TPlainObject, e: any) => void, defaultValue?: string) => (value: TAny, record: TPlainObject) => string | import("react").JSX.Element | undefined;
|
|
5518
5515
|
};
|
|
5519
5516
|
export type TableScrollProps = {
|
|
5520
|
-
children:
|
|
5517
|
+
children: ReactNode;
|
|
5521
5518
|
/**
|
|
5522
5519
|
* y轴的滚动条
|
|
5523
5520
|
*/
|
|
@@ -5533,33 +5530,33 @@ export type TableScrollProps = {
|
|
|
5533
5530
|
* ```
|
|
5534
5531
|
*/
|
|
5535
5532
|
export declare const TableScrollbar: ({ children, target, ...props }: TableScrollProps) => import("react").FunctionComponentElement<{
|
|
5536
|
-
summary: (...args: any[]) => import("react").
|
|
5533
|
+
summary: (...args: any[]) => import("react").JSX.Element;
|
|
5537
5534
|
}>;
|
|
5538
5535
|
export type TableTitleTooltipProps = {
|
|
5539
|
-
title: string |
|
|
5536
|
+
title: string | ReactElement;
|
|
5540
5537
|
tooltip: string | {
|
|
5541
|
-
icon?:
|
|
5538
|
+
icon?: ReactElement;
|
|
5542
5539
|
content: string;
|
|
5543
5540
|
hoverArea?: "icon" | "all";
|
|
5544
5541
|
};
|
|
5545
5542
|
gap?: number;
|
|
5546
5543
|
className?: string;
|
|
5547
|
-
style?:
|
|
5544
|
+
style?: CSSProperties;
|
|
5548
5545
|
};
|
|
5549
5546
|
/**
|
|
5550
5547
|
* title + tooltip
|
|
5551
5548
|
* @deprecated 已过期,请使用 TipsWrapper 组件
|
|
5552
5549
|
*/
|
|
5553
|
-
export declare const TableTitleTooltip: (props: TableTitleTooltipProps) => import("react").
|
|
5550
|
+
export declare const TableTitleTooltip: (props: TableTitleTooltipProps) => import("react").JSX.Element;
|
|
5554
5551
|
export type TabsType = GetProps<typeof Tabs>;
|
|
5555
5552
|
export type TabsStickyProps = {
|
|
5556
5553
|
tabsProps: Omit<TabsType, "tabPosition">;
|
|
5557
5554
|
/** tabs头部布局 */
|
|
5558
|
-
headerRender?:
|
|
5555
|
+
headerRender?: ReactElement;
|
|
5559
5556
|
/** 点击tabItem后,tab跳到顶部吸顶效果;默认值true */
|
|
5560
5557
|
clickTabToTop?: boolean;
|
|
5561
5558
|
/** 设置tabItem 内容包裹元素的样式 */
|
|
5562
|
-
tabItemContentWrapperStyle?: (key: string) =>
|
|
5559
|
+
tabItemContentWrapperStyle?: (key: string) => CSSProperties;
|
|
5563
5560
|
};
|
|
5564
5561
|
/**
|
|
5565
5562
|
* Tabs吸顶组件
|
|
@@ -5567,7 +5564,7 @@ export type TabsStickyProps = {
|
|
|
5567
5564
|
* 1. 组件根节点设置了 height: 100%、overflow: auto;所以外部包裹元素必须要有高度
|
|
5568
5565
|
* ```
|
|
5569
5566
|
*/
|
|
5570
|
-
export declare const TabsSticky: (props: TabsStickyProps) => import("react").
|
|
5567
|
+
export declare const TabsSticky: (props: TabsStickyProps) => import("react").JSX.Element;
|
|
5571
5568
|
export type TabsWrapperProps = TabsProps & {
|
|
5572
5569
|
/**
|
|
5573
5570
|
* Tabs Header 提供 Sticky 效果,默认值:true
|
|
@@ -5595,7 +5592,7 @@ export type TabsWrapperProps = TabsProps & {
|
|
|
5595
5592
|
* 缓存模式:会话缓存,在浏览器关闭后,会清除
|
|
5596
5593
|
* ```
|
|
5597
5594
|
*/
|
|
5598
|
-
export declare const TabsWrapper: (props: TabsWrapperProps) => import("react").
|
|
5595
|
+
export declare const TabsWrapper: (props: TabsWrapperProps) => import("react").JSX.Element;
|
|
5599
5596
|
export type TagGroupDataItem = {
|
|
5600
5597
|
label: string;
|
|
5601
5598
|
value: string | number;
|
|
@@ -5612,7 +5609,7 @@ export type TagGroupProps = {
|
|
|
5612
5609
|
/**
|
|
5613
5610
|
* Tag 列表显示
|
|
5614
5611
|
*/
|
|
5615
|
-
export declare const TagGroup:
|
|
5612
|
+
export declare const TagGroup: FC<TagGroupProps>;
|
|
5616
5613
|
export type TagListRenderValue = string | number | boolean;
|
|
5617
5614
|
export type TagListRenderDataItem = {
|
|
5618
5615
|
label: string;
|
|
@@ -5657,19 +5654,19 @@ export type TagListRenderProps = {
|
|
|
5657
5654
|
* <Tag color={'red'}>启用</Tag>
|
|
5658
5655
|
* ```
|
|
5659
5656
|
*/
|
|
5660
|
-
export declare const TagListRender:
|
|
5657
|
+
export declare const TagListRender: FC<TagListRenderProps>;
|
|
5661
5658
|
export type TagWrapperProps = Omit<TagProps, "onClick"> & {
|
|
5662
|
-
onClick?: (e:
|
|
5659
|
+
onClick?: (e: MouseEvent<HTMLElement>) => Promise<TAny> | void;
|
|
5663
5660
|
loading?: boolean;
|
|
5664
5661
|
debounceDuration?: number;
|
|
5665
5662
|
};
|
|
5666
5663
|
/**
|
|
5667
5664
|
* 为 Tag 添加 loading 效果
|
|
5668
5665
|
*/
|
|
5669
|
-
export declare const TagWrapper: (props: TagWrapperProps) => import("react").
|
|
5666
|
+
export declare const TagWrapper: (props: TagWrapperProps) => import("react").JSX.Element;
|
|
5670
5667
|
export type TextOverflowProps = {
|
|
5671
5668
|
/** text 为ReactElement类型时,maxLength配置无效 */
|
|
5672
|
-
text: string |
|
|
5669
|
+
text: string | ReactElement;
|
|
5673
5670
|
/** 最大显示宽度 */
|
|
5674
5671
|
maxWidth?: number;
|
|
5675
5672
|
/** 最大显示字数 */
|
|
@@ -5704,19 +5701,19 @@ export type TextOverflowProps = {
|
|
|
5704
5701
|
4. 与 Table columns render结合使用,如果Table配置了 scroll={{ x: 'max-content' }}后,不能与TextOverflow maxWidth结合使用
|
|
5705
5702
|
* ```
|
|
5706
5703
|
*/
|
|
5707
|
-
export declare const TextOverflow: import("react").MemoExoticComponent<(props: TextOverflowProps) => import("react").
|
|
5704
|
+
export declare const TextOverflow: import("react").MemoExoticComponent<(props: TextOverflowProps) => import("react").JSX.Element>;
|
|
5708
5705
|
export type TextSymbolWrapperProps = {
|
|
5709
5706
|
className?: string;
|
|
5710
|
-
style?:
|
|
5707
|
+
style?: CSSProperties;
|
|
5711
5708
|
/** 内置图标类型 */
|
|
5712
5709
|
symbolType?: "required";
|
|
5713
5710
|
/** 自定义标记符号,优先级大于 symbolType */
|
|
5714
|
-
symbol?:
|
|
5711
|
+
symbol?: ReactNode;
|
|
5715
5712
|
/** 标记位置,默认:brefore */
|
|
5716
5713
|
position?: "before" | "after";
|
|
5717
5714
|
/** 显示文本 */
|
|
5718
|
-
text?: string |
|
|
5719
|
-
symbolStyle?:
|
|
5715
|
+
text?: string | ReactElement;
|
|
5716
|
+
symbolStyle?: CSSProperties;
|
|
5720
5717
|
onSymbolClick?: (event: any) => void;
|
|
5721
5718
|
/** 只隐藏符号,不隐藏文案 */
|
|
5722
5719
|
hiddenSymbol?: boolean;
|
|
@@ -5729,7 +5726,7 @@ export type TextSymbolWrapperProps = {
|
|
|
5729
5726
|
* 例如: <TextSymbolWrapper text={'用户名'} symbolType="required" />
|
|
5730
5727
|
* ```
|
|
5731
5728
|
*/
|
|
5732
|
-
export declare const TextSymbolWrapper: (props: TextSymbolWrapperProps) => import("react").
|
|
5729
|
+
export declare const TextSymbolWrapper: (props: TextSymbolWrapperProps) => import("react").JSX.Element;
|
|
5733
5730
|
export type TimePickerWrapperProps = Omit<TimePickerProps, "value" | "onChange" | "format"> & {
|
|
5734
5731
|
value?: string;
|
|
5735
5732
|
onChange?: (value?: string) => void;
|
|
@@ -5759,7 +5756,7 @@ export type TimePickerWrapperProps = Omit<TimePickerProps, "value" | "onChange"
|
|
|
5759
5756
|
* 5. 设置disabledTime后,disabledTimeConfig配置将失效
|
|
5760
5757
|
* ```
|
|
5761
5758
|
*/
|
|
5762
|
-
export declare const TimePickerWrapper: (props: TimePickerWrapperProps) => import("react").
|
|
5759
|
+
export declare const TimePickerWrapper: (props: TimePickerWrapperProps) => import("react").JSX.Element;
|
|
5763
5760
|
export type TimeRangePickerWrapperProps = Omit<TimeRangePickerProps, "value" | "onChange" | "format"> & {
|
|
5764
5761
|
value?: [
|
|
5765
5762
|
string,
|
|
@@ -5794,7 +5791,7 @@ export type TimeRangePickerWrapperProps = Omit<TimeRangePickerProps, "value" | "
|
|
|
5794
5791
|
* 4. 设置disabledTime后,disabledTimeConfig配置将失效
|
|
5795
5792
|
* ```
|
|
5796
5793
|
*/
|
|
5797
|
-
export declare const TimeRangePickerWrapper: (props: TimeRangePickerWrapperProps) => import("react").
|
|
5794
|
+
export declare const TimeRangePickerWrapper: (props: TimeRangePickerWrapperProps) => import("react").JSX.Element;
|
|
5798
5795
|
export type TimeRangePickerWrapperFormItemProps = Omit<FormItemWrapperProps, "name"> & {
|
|
5799
5796
|
/**
|
|
5800
5797
|
* 开始的时间name
|
|
@@ -5845,23 +5842,23 @@ export type TimeRangePickerWrapperFormItemProps = Omit<FormItemWrapperProps, "na
|
|
|
5845
5842
|
* </FormListWrapper>
|
|
5846
5843
|
* ```
|
|
5847
5844
|
*/
|
|
5848
|
-
export declare const TimeRangePickerWrapperFormItem: (props: TimeRangePickerWrapperFormItemProps) => import("react").
|
|
5845
|
+
export declare const TimeRangePickerWrapperFormItem: (props: TimeRangePickerWrapperFormItemProps) => import("react").JSX.Element;
|
|
5849
5846
|
export type TipsTitleProps = {
|
|
5850
5847
|
className?: string;
|
|
5851
|
-
style?:
|
|
5852
|
-
title: string |
|
|
5853
|
-
titleStyle?:
|
|
5854
|
-
contentStyle?:
|
|
5855
|
-
children:
|
|
5848
|
+
style?: CSSProperties;
|
|
5849
|
+
title: string | ReactElement;
|
|
5850
|
+
titleStyle?: CSSProperties;
|
|
5851
|
+
contentStyle?: CSSProperties;
|
|
5852
|
+
children: ReactNode;
|
|
5856
5853
|
size?: "default" | "small";
|
|
5857
5854
|
/** 自定义 help icon */
|
|
5858
|
-
helpIcon?:
|
|
5855
|
+
helpIcon?: ReactElement;
|
|
5859
5856
|
/** 配置 helpIcon 后,此参数失效 */
|
|
5860
5857
|
onHelp?: () => void;
|
|
5861
5858
|
hidden?: boolean;
|
|
5862
5859
|
borderColor?: string;
|
|
5863
5860
|
};
|
|
5864
|
-
export declare const TipsTitle: (props: TipsTitleProps) => import("react").
|
|
5861
|
+
export declare const TipsTitle: (props: TipsTitleProps) => import("react").JSX.Element | null;
|
|
5865
5862
|
export type TreeWrapperValue = string | number | Array<string | number> | TPlainObject<string | number> | Array<TPlainObject<string | number>>;
|
|
5866
5863
|
export type TreeServiceConfig = {
|
|
5867
5864
|
params?: TPlainObject;
|
|
@@ -5904,7 +5901,7 @@ export type TreeWrapperProps = Omit<TreeProps, "treeData" | "onExpand" | "select
|
|
|
5904
5901
|
/**
|
|
5905
5902
|
* useEffect依赖项数组,用于重新发起获取接口数据
|
|
5906
5903
|
*/
|
|
5907
|
-
effectDependencyList?:
|
|
5904
|
+
effectDependencyList?: DependencyList;
|
|
5908
5905
|
/**
|
|
5909
5906
|
* 请求服务需求的数据,当设置`selectorTreeList`后无效果
|
|
5910
5907
|
*/
|
|
@@ -5999,12 +5996,12 @@ export type TreeWrapperProps = Omit<TreeProps, "treeData" | "onExpand" | "select
|
|
|
5999
5996
|
showSearch?: boolean;
|
|
6000
5997
|
onSearchValueChange?: (searchValue?: string) => void;
|
|
6001
5998
|
searchPlaceholder?: string;
|
|
6002
|
-
searchStyle?:
|
|
5999
|
+
searchStyle?: CSSProperties;
|
|
6003
6000
|
icon?: (data: {
|
|
6004
6001
|
isParent: boolean;
|
|
6005
6002
|
isLeaf: boolean;
|
|
6006
6003
|
[key: string]: TAny;
|
|
6007
|
-
}) =>
|
|
6004
|
+
}) => ReactElement;
|
|
6008
6005
|
/**
|
|
6009
6006
|
* 状态文案配置
|
|
6010
6007
|
*/
|
|
@@ -6044,7 +6041,7 @@ export type TreeWrapperProps = Omit<TreeProps, "treeData" | "onExpand" | "select
|
|
|
6044
6041
|
/** treeItem数据适配器 */
|
|
6045
6042
|
treeItemDataAdapter?: (dataItem: TPlainObject) => TPlainObject;
|
|
6046
6043
|
/** 搜索位置额外元素 */
|
|
6047
|
-
searchExtraElement?:
|
|
6044
|
+
searchExtraElement?: ReactElement;
|
|
6048
6045
|
/** 有唯一跟节点时,初始化是否展开,默认值:false */
|
|
6049
6046
|
initRootExpand?: boolean;
|
|
6050
6047
|
/** 搜素过滤方式,高亮 | 过滤;默认:filter */
|
|
@@ -6079,7 +6076,7 @@ export type TreeWrapperProps = Omit<TreeProps, "treeData" | "onExpand" | "select
|
|
|
6079
6076
|
* b. 设置 titleRender 后,menuLayout失效
|
|
6080
6077
|
* ```
|
|
6081
6078
|
*/
|
|
6082
|
-
labelRender?: (nodeData: TPlainObject) =>
|
|
6079
|
+
labelRender?: (nodeData: TPlainObject) => ReactElement;
|
|
6083
6080
|
/**
|
|
6084
6081
|
* 自定义搜索规则
|
|
6085
6082
|
*/
|
|
@@ -6146,7 +6143,7 @@ export type TreeWrapperRefApi = {
|
|
|
6146
6143
|
* 6. 内置 onDrop 事件已处理数组排序,通过 onDropNodeHandle 事件可获取操作节点排序数据;自定义onDrop后,内置onDrop失效
|
|
6147
6144
|
* ```
|
|
6148
6145
|
*/
|
|
6149
|
-
export declare const TreeWrapper:
|
|
6146
|
+
export declare const TreeWrapper: ForwardRefExoticComponent<TreeWrapperProps & RefAttributes<TreeWrapperRefApi>> & {
|
|
6150
6147
|
getTreeDataList: (modelKey: string) => TPlainObject[];
|
|
6151
6148
|
};
|
|
6152
6149
|
export type TreeModelSelectItem = {
|
|
@@ -6191,7 +6188,7 @@ export type TreeModalContentProps = {
|
|
|
6191
6188
|
treeProps?: Pick<TreeWrapperProps, "showSearch" | "searchResultType" | "searchPlaceholder" | "searchValue" | "loadDataFlag" | "loadDataServiceConfig" | "icon" | "disabledCanUse" | "treeItemDataAdapter" | "searchExtraElement" | "initRootExpand" | "searchResultType" | "labelRender" | "customSearchRule" | "checkableType" | "checkStrictly" | "defaultExpandAll" | "clickParentNodeToggleExpand" | "disableNodeSelect">;
|
|
6192
6189
|
};
|
|
6193
6190
|
export type TreeModalProps = TreeModalContentProps & {
|
|
6194
|
-
children:
|
|
6191
|
+
children: ReactElement & {
|
|
6195
6192
|
onClick?: (e: any) => void | Promise<void>;
|
|
6196
6193
|
};
|
|
6197
6194
|
modalClassName?: string;
|
|
@@ -6199,8 +6196,8 @@ export type TreeModalProps = TreeModalContentProps & {
|
|
|
6199
6196
|
modalBodyHeight?: number;
|
|
6200
6197
|
disabled?: boolean;
|
|
6201
6198
|
};
|
|
6202
|
-
export declare const TreeModal: ((props: TreeModalProps) => import("react").
|
|
6203
|
-
Content: (props: TreeModalContentProps) => import("react").
|
|
6199
|
+
export declare const TreeModal: ((props: TreeModalProps) => import("react").JSX.Element) & {
|
|
6200
|
+
Content: (props: TreeModalContentProps) => import("react").JSX.Element;
|
|
6204
6201
|
};
|
|
6205
6202
|
export type TreeModalSelectorProps = Omit<TreeModalProps, "children" | "forceRender" | "onChange"> & {
|
|
6206
6203
|
placeholder?: string;
|
|
@@ -6275,7 +6272,7 @@ export type TreeSelectorWrapperProps = Omit<TreeSelectProps, "treeExpandedKeys"
|
|
|
6275
6272
|
/**
|
|
6276
6273
|
* useEffect依赖项数组,用于重新发起获取接口数据
|
|
6277
6274
|
*/
|
|
6278
|
-
effectDependencyList?:
|
|
6275
|
+
effectDependencyList?: DependencyList;
|
|
6279
6276
|
/**
|
|
6280
6277
|
* 请求服务需求的数据,当设置`treeSelectorList`后无效果
|
|
6281
6278
|
*/
|
|
@@ -6374,7 +6371,7 @@ export type TreeSelectorWrapperProps = Omit<TreeSelectProps, "treeExpandedKeys"
|
|
|
6374
6371
|
* 2. 父节点默认不返回,需要返回请设置showCheckedStrategy
|
|
6375
6372
|
* ```
|
|
6376
6373
|
*/
|
|
6377
|
-
export declare const TreeSelectorWrapper: (props: TreeSelectorWrapperProps) => import("react").
|
|
6374
|
+
export declare const TreeSelectorWrapper: (props: TreeSelectorWrapperProps) => import("react").JSX.Element;
|
|
6378
6375
|
export type TXMindTreeItem = {
|
|
6379
6376
|
data: {
|
|
6380
6377
|
/** 节点文本 */
|
|
@@ -6390,7 +6387,7 @@ export type TXMindTreeItem = {
|
|
|
6390
6387
|
export interface IXMindPreviewProps {
|
|
6391
6388
|
data?: TXMindTreeItem;
|
|
6392
6389
|
className?: string;
|
|
6393
|
-
style?:
|
|
6390
|
+
style?: CSSProperties;
|
|
6394
6391
|
/**
|
|
6395
6392
|
* 自定义节点渲染内容:
|
|
6396
6393
|
* 默认情况 xmind 会自动计算节点的宽高,
|
|
@@ -6403,9 +6400,9 @@ export interface IXMindPreviewProps {
|
|
|
6403
6400
|
renderNode?: (node: TXMindTreeItem) => {
|
|
6404
6401
|
width?: number;
|
|
6405
6402
|
height?: number;
|
|
6406
|
-
reactNode:
|
|
6403
|
+
reactNode: ReactNode;
|
|
6407
6404
|
} | void;
|
|
6408
6405
|
}
|
|
6409
|
-
export declare const XMindPreview:
|
|
6406
|
+
export declare const XMindPreview: FC<IXMindPreviewProps>;
|
|
6410
6407
|
|
|
6411
6408
|
export {};
|