epic-designer-gold 0.0.4 → 0.0.6
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/README.md +6 -3
- package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
- package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
- package/dist/_dayjs_commonjs-external-D9ZbEWhj.js +6 -0
- package/dist/_dayjs_commonjs-external-DWlrxCld.cjs +1 -0
- package/dist/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/_vue_commonjs-external-BbihI59z.cjs +1 -0
- package/dist/_vue_commonjs-external-NwvjgbHK.js +6 -0
- package/dist/attributeView-6r6gaGIs.js +105 -0
- package/dist/attributeView-C5w7Qfjw.cjs +1 -0
- package/dist/axios-CXDYiOMX.js +1704 -0
- package/dist/axios-tuVKNgv9.cjs +6 -0
- package/dist/az-C4lqmLYp.js +22 -0
- package/dist/az-CJXcaytS.cjs +1 -0
- package/dist/be--_CkdeMD.cjs +1 -0
- package/dist/be-DJzFjqtL.js +22 -0
- package/dist/bg-BOlG8Um1.js +25 -0
- package/dist/bg-DCT06eJE.cjs +1 -0
- package/dist/bn-bd-B1E6-oJQ.js +33 -0
- package/dist/bn-bd-DaKs5QkR.cjs +1 -0
- package/dist/button-BKT6NVeB.cjs +1 -0
- package/dist/button-BbHi0DmU.js +31 -0
- package/dist/button-Bj-ntCA2.js +27 -0
- package/dist/button-BvmCwtR3.js +27 -0
- package/dist/button-C48gWpMn.cjs +1 -0
- package/dist/button-Cc4KYk3v.cjs +1 -0
- package/dist/ca-BTQUSb29.cjs +1 -0
- package/dist/ca-DCcDFeSK.js +22 -0
- package/dist/card-BOMT_SwB.cjs +1 -0
- package/dist/card-BQ_K3Q8i.js +33 -0
- package/dist/card-BowzD9vN.cjs +1 -0
- package/dist/card-CNGNDzPp.js +31 -0
- package/dist/card-Cdove1KC.js +32 -0
- package/dist/card-hriyYYMn.cjs +1 -0
- package/dist/checkbox-CMr5pERY.cjs +1 -0
- package/dist/checkbox-D8eqzQDX.cjs +1 -0
- package/dist/checkbox-Dp36upb2.js +30 -0
- package/dist/checkbox-LVKgMSjI.js +28 -0
- package/dist/col-0rmM8on4.js +33 -0
- package/dist/col-B1GUMkMK.cjs +1 -0
- package/dist/col-B4lx76O5.cjs +1 -0
- package/dist/col-C_cbW1SI.js +33 -0
- package/dist/col-DXjfnmpf.cjs +1 -0
- package/dist/col-LQvh8U5y.js +30 -0
- package/dist/collapse-B2AXU6Jz.cjs +1 -0
- package/dist/collapse-BSFa_xwh.cjs +1 -0
- package/dist/collapse-CxLG5oyO.js +32 -0
- package/dist/collapse-I4H1VTFf.js +35 -0
- package/dist/collapseItem-CAGqWjGg.cjs +1 -0
- package/dist/collapseItem-CW_HTWvE.js +33 -0
- package/dist/collapseItem-DmnJXvsZ.js +30 -0
- package/dist/collapseItem-FF5A59WT.cjs +1 -0
- package/dist/core/components/asyncLoader/index.vue.d.ts +2 -0
- package/dist/core/components/builder/hooks/useBuilder.d.ts +29 -0
- package/dist/core/components/builder/index.d.ts +2 -0
- package/dist/core/components/builder/src/builder.vue.d.ts +41 -0
- package/dist/core/components/builder/src/types.d.ts +4 -0
- package/dist/core/components/designer/index.d.ts +2 -0
- package/dist/core/components/designer/src/designer.vue.d.ts +98 -0
- package/dist/core/components/designer/src/modules/actionBar/index.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/attributeView/attributeView.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/attributeView/styleView.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/componentView/index.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/editContainer/editNodeItem.vue.d.ts +11 -0
- package/dist/core/components/designer/src/modules/editContainer/editScreenContainer.vue.d.ts +20 -0
- package/dist/core/components/designer/src/modules/editContainer/index.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/editContainer/nodeItem.vue.d.ts +9 -0
- package/dist/core/components/designer/src/modules/editContainer/previewJson.vue.d.ts +5 -0
- package/dist/core/components/designer/src/modules/editContainer/previewWidgets.vue.d.ts +5 -0
- package/dist/core/components/designer/src/modules/editContainer/toolbar.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/header/index.vue.d.ts +28 -0
- package/dist/core/components/designer/src/modules/outline/outline.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/preview/index.vue.d.ts +5 -0
- package/dist/core/components/designer/src/modules/rightSidebar/breadcrumb.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/rightSidebar/index.vue.d.ts +2 -0
- package/dist/core/components/designer/src/modules/sourceCode/index.vue.d.ts +2 -0
- package/dist/core/components/designer/src/types.d.ts +46 -0
- package/dist/core/components/icon/index.d.ts +2 -0
- package/dist/core/components/icon/src/icon.vue.d.ts +10 -0
- package/dist/core/components/node/index.d.ts +2 -0
- package/dist/core/components/node/src/dynamicFormItem.vue.d.ts +30 -0
- package/dist/core/components/node/src/node.vue.d.ts +48 -0
- package/dist/core/components/tree/index.d.ts +2 -0
- package/dist/core/components/tree/src/tree.vue.d.ts +49 -0
- package/dist/core/components/tree/src/treeNodeItem.vue.d.ts +7 -0
- package/dist/core/components/tree/src/treeNodes.vue.d.ts +13 -0
- package/dist/core/extensions/EActionEditor/index.vue.d.ts +25 -0
- package/dist/core/extensions/EActionEditor/src/EActionEditorItem.vue.d.ts +50 -0
- package/dist/core/extensions/EActionEditor/src/EActionModal.vue.d.ts +13 -0
- package/dist/core/extensions/EActionEditor/src/EArgsEditor.vue.d.ts +13 -0
- package/dist/core/extensions/EActionEditor/src/EScriptEdit.vue.d.ts +2 -0
- package/dist/core/extensions/EColEditor/index.vue.d.ts +20 -0
- package/dist/core/extensions/EDataSource/index.vue.d.ts +8 -0
- package/dist/core/extensions/EInputSize/index.vue.d.ts +10 -0
- package/dist/core/extensions/EOptionsEditor/index.vue.d.ts +23 -0
- package/dist/core/extensions/EOptionsEditor/optionItem.vue.d.ts +15 -0
- package/dist/core/extensions/ERuleEditor/ERuleItem.vue.d.ts +15 -0
- package/dist/core/extensions/ERuleEditor/data.d.ts +9 -0
- package/dist/core/extensions/ERuleEditor/index.vue.d.ts +29 -0
- package/dist/core/extensions/ERuleEditor/types.d.ts +17 -0
- package/dist/core/extensions/MonacoEditor/index.d.ts +3 -0
- package/dist/core/extensions/MonacoEditor/index.vue.d.ts +45 -0
- package/dist/core/extensions/Page/index.d.ts +3 -0
- package/dist/core/extensions/Page/index.vue.d.ts +24 -0
- package/dist/core/extensions/index.d.ts +2 -0
- package/dist/core/index.d.ts +6 -0
- package/dist/core/types/epic-designer.d.ts +55 -0
- package/dist/cs-CisRL5gQ.js +53 -0
- package/dist/cs-D_hyDJBU.cjs +1 -0
- package/dist/da-DHmiHyZA.cjs +1 -0
- package/dist/da-DhyERRsC.js +22 -0
- package/dist/datePicker-2Df6yfYg.js +40 -0
- package/dist/datePicker-DCH40VJR.cjs +1 -0
- package/dist/de-2hHpT7Ze.cjs +1 -0
- package/dist/de-CjumkRE8.js +27 -0
- package/dist/el-BCec0wpC.cjs +1 -0
- package/dist/el-DyUHskgW.js +22 -0
- package/dist/en-C1ESb179.cjs +1 -0
- package/dist/en-C2YS2Qnb.js +18 -0
- package/dist/en-gb-C8f1Enek.js +23 -0
- package/dist/en-gb-py_kegyw.cjs +1 -0
- package/dist/epic-designer/index.d.ts +3 -0
- package/dist/epic-designer/uno.config.d.ts +2 -0
- package/dist/es-BFLRglxD.cjs +1 -0
- package/dist/es-DP04S73E.js +22 -0
- package/dist/et-DKRhU9OP.cjs +1 -0
- package/dist/et-ipLqjCDG.js +27 -0
- package/dist/eventView-Bjr69Rd5.js +64 -0
- package/dist/eventView-NwdUMS87.cjs +1 -0
- package/dist/fa-DUcAIQzU.cjs +1 -0
- package/dist/fa-DXE6u9is.js +22 -0
- package/dist/fade-in-scale-up.cssr-BXjoIAAA.js +39 -0
- package/dist/fade-in-scale-up.cssr-C_UMnGtI.cjs +1 -0
- package/dist/fi-Cpkq8dP2.js +27 -0
- package/dist/fi-CyT899pV.cjs +1 -0
- package/dist/form-6cUK-Ari.js +72 -0
- package/dist/form-BPH0cDFl.js +75 -0
- package/dist/form-ChuxpD-f.cjs +1 -0
- package/dist/form-Cr7tBgLQ.js +66 -0
- package/dist/form-CthzLIgs.cjs +1 -0
- package/dist/form-D2qj0Dvr.cjs +1 -0
- package/dist/formItem-0oXWwtrG.cjs +1 -0
- package/dist/formItem-BVnNs1Q9.cjs +1 -0
- package/dist/formItem-D10Om12T.js +22 -0
- package/dist/formItem-DPnbV4m-.js +22 -0
- package/dist/formItem-Do31LPIz.cjs +1 -0
- package/dist/formItem-cj8JQT2r.js +22 -0
- package/dist/fr-D1kezmpm.cjs +1 -0
- package/dist/fr-DoLP2lvG.js +22 -0
- package/dist/fr-ca-D872_l2Z.cjs +1 -0
- package/dist/fr-ca-EPfCD7sc.js +22 -0
- package/dist/ga-B7Rd2JIZ.cjs +1 -0
- package/dist/ga-BcnAx7jm.js +22 -0
- package/dist/gl-CBMDu4db.js +22 -0
- package/dist/gl-DI-aVaAh.cjs +1 -0
- package/dist/he-O14-JKYm.cjs +1 -0
- package/dist/he-VbXQT3dj.js +26 -0
- package/dist/hi-BSHDLwY4.cjs +1 -0
- package/dist/hi-nXeMgLvO.js +22 -0
- package/dist/hooks/common/element.d.ts +42 -0
- package/dist/hooks/common/index.d.ts +2 -0
- package/dist/hooks/common/theme.d.ts +12 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/store/index.d.ts +12 -0
- package/dist/hr-BuVBNZ4z.cjs +1 -0
- package/dist/hr-C3DFfYc9.js +26 -0
- package/dist/hu-Bs3B-9e3.js +44 -0
- package/dist/hu-CXrkHTYq.cjs +1 -0
- package/dist/hy-am-BLnv1pCz.cjs +1 -0
- package/dist/hy-am-CvHDFapi.js +22 -0
- package/dist/icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js +25 -0
- package/dist/icon.vue_vue_type_script_setup_true_lang-DJbUD5AQ.cjs +1 -0
- package/dist/id-CO78nlWo.js +22 -0
- package/dist/id-DG0GoH6p.cjs +1 -0
- package/dist/index-38iyho-s.js +577 -0
- package/dist/index-3fW_aWMH.js +1357 -0
- package/dist/index-4PPmJYKt.cjs +51 -0
- package/dist/index-6EFTHNVR.js +432 -0
- package/dist/index-B0MhdHTh.cjs +1 -0
- package/dist/index-B72l3XQl.js +453 -0
- package/dist/index-BB9rZNCd.cjs +181 -0
- package/dist/index-BCk0LJsg.cjs +347 -0
- package/dist/index-BGhueRec.js +88 -0
- package/dist/index-BVUz9lFN.cjs +325 -0
- package/dist/index-B_1hzyqd.cjs +1 -0
- package/dist/index-Ba0ZjQgI.js +84 -0
- package/dist/index-BhWgpNmb.cjs +1 -0
- package/dist/index-BlSHvevj.js +104 -0
- package/dist/index-Bs6GdgDl.cjs +1 -0
- package/dist/index-BsXm6fLD.js +1493 -0
- package/dist/index-CKLWkiPp.cjs +1 -0
- package/dist/index-CNOUPCih.js +698 -0
- package/dist/index-COyKmK8p.js +1160 -0
- package/dist/index-CR_tJiJv.js +653 -0
- package/dist/index-CSn_RIWx.cjs +1 -0
- package/dist/index-CYvG8McR.cjs +1 -0
- package/dist/index-CYxJOlU7.cjs +1 -0
- package/dist/index-Cap7FkuS.cjs +1 -0
- package/dist/index-Ch9jeYmj.cjs +1 -0
- package/dist/index-CjcjqKkB.js +571 -0
- package/dist/index-Cni0jg-k.js +41 -0
- package/dist/index-Cphndmia.cjs +214 -0
- package/dist/index-CsOmhsxu.cjs +1 -0
- package/dist/index-CuxnFxdY.cjs +1 -0
- package/dist/index-D0zzTC19.cjs +10 -0
- package/dist/index-D1ZL6feZ.js +50484 -0
- package/dist/index-D5WpEOUO.cjs +351 -0
- package/dist/index-DBQ-tc2k.cjs +1 -0
- package/dist/index-DMszow96.cjs +110 -0
- package/dist/index-DQ9Vb0QH.js +759 -0
- package/dist/index-DTzB2pWI.cjs +159 -0
- package/dist/index-DWCSzZfR.cjs +80 -0
- package/dist/index-DWjMyXtP.cjs +1 -0
- package/dist/index-DaRhLTx9.js +1876 -0
- package/dist/index-DanxRElg.cjs +1 -0
- package/dist/index-DgcFxYFp.js +14 -0
- package/dist/index-DiDIFoTk.js +18 -0
- package/dist/index-DyWFUxn5.js +11674 -0
- package/dist/index-HM72iSCq.js +64 -0
- package/dist/index-Hdc_C4Xg.js +389 -0
- package/dist/index-IUy1jsog.js +71 -0
- package/dist/index-Jekw1VEq.js +270 -0
- package/dist/index-M-hTLR0c.js +44 -0
- package/dist/index-OQsMzBdL.js +4 -0
- package/dist/index-RdEhd65J.cjs +65 -0
- package/dist/index-XU85x6vz.cjs +9 -0
- package/dist/index-_dOhTAow.js +682 -0
- package/dist/index-bIzClEMh.cjs +1 -0
- package/dist/index-g5ZjtbqH.cjs +102 -0
- package/dist/index-gA02bxwJ.js +5947 -0
- package/dist/index-jx5A2kt8.cjs +850 -0
- package/dist/index-rKNXYwxe.js +205 -0
- package/dist/index-tSmvj7CR.js +1742 -0
- package/dist/index-uaq_HmHi.js +87 -0
- package/dist/index-yVfYnYtN.js +1509 -0
- package/dist/index-zYoSB4fa.cjs +9 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +40 -0
- package/dist/is-Bip0ggci.js +30 -0
- package/dist/is-C40R_fdL.cjs +1 -0
- package/dist/it-BFF7WzRR.js +22 -0
- package/dist/it-D7K-0U_k.cjs +1 -0
- package/dist/ja-4CWMghxy.js +24 -0
- package/dist/ja-CAXCMb11.cjs +1 -0
- package/dist/ka-DrA_EMLP.js +22 -0
- package/dist/ka-JF7_8awE.cjs +1 -0
- package/dist/kk-Bv8yYeRk.cjs +1 -0
- package/dist/kk-QVPqpI2b.js +22 -0
- package/dist/km-BmycjYfj.cjs +1 -0
- package/dist/km-CBMnSWv_.js +22 -0
- package/dist/kn-CFiXt5hu.cjs +1 -0
- package/dist/kn-TECqDIit.js +22 -0
- package/dist/ko-DlQtUQ6r.cjs +1 -0
- package/dist/ko-MjoD8l4E.js +24 -0
- package/dist/ku-5MauiT2q.cjs +1 -0
- package/dist/ku-BfqBpklm.js +32 -0
- package/dist/lt-CkWoaAYB.cjs +1 -0
- package/dist/lt-D0cq_0yM.js +26 -0
- package/dist/lv-CVdYvxq8.js +22 -0
- package/dist/lv-CoTNe47-.cjs +1 -0
- package/dist/mk-DDuk7A3P.js +22 -0
- package/dist/mk-DVN6iYK_.cjs +1 -0
- package/dist/ml-CPI3tJe8.js +22 -0
- package/dist/ml-DnXJOqZ0.cjs +1 -0
- package/dist/mn-CNbMEx0y.js +22 -0
- package/dist/mn-DMIrWGkN.cjs +1 -0
- package/dist/modal-3Iw7tqyx.js +85 -0
- package/dist/modal-BPJM1Muh.js +59 -0
- package/dist/modal-BYw2WLwG.cjs +1 -0
- package/dist/modal-D4cRUUVN.js +74 -0
- package/dist/modal-DZRJyZfk.cjs +1 -0
- package/dist/modal-_fid8E1T.cjs +1 -0
- package/dist/ms-my-BcgYEtml.js +22 -0
- package/dist/ms-my-BoMZ8Hzl.cjs +1 -0
- package/dist/nb-BL5QmNEa.js +22 -0
- package/dist/nb-BdFW_T0n.cjs +1 -0
- package/dist/ne-9klrwaIE.js +24 -0
- package/dist/ne-VNPqdWFn.cjs +1 -0
- package/dist/nl-DBFNL8wC.cjs +1 -0
- package/dist/nl-DxyA21TA.js +22 -0
- package/dist/nl-be-Bo6vnbHY.cjs +1 -0
- package/dist/nl-be-Di_N4z2D.js +22 -0
- package/dist/outline-UAdT8ap6.cjs +1 -0
- package/dist/outline-utbOTCBV.js +54 -0
- package/dist/pl-BbDu9Cfd.js +47 -0
- package/dist/pl-De2Dm_kD.cjs +1 -0
- package/dist/pluginManager-D8PM7ICc.js +383 -0
- package/dist/pluginManager-itCTrGag.cjs +1 -0
- package/dist/pt-BaTZB0XW.cjs +1 -0
- package/dist/pt-CKDbEzZ-.js +22 -0
- package/dist/pt-br-B_N58uu_.cjs +1 -0
- package/dist/pt-br-C1mqj5qX.js +22 -0
- package/dist/radio-ChBAvqeY.js +32 -0
- package/dist/radio-D3AHEMXb.cjs +1 -0
- package/dist/radio-DAOm4xuJ.js +30 -0
- package/dist/radio-J90E17Sb.cjs +1 -0
- package/dist/ro-Cnuhxb40.cjs +1 -0
- package/dist/ro-V1i-UrkP.js +22 -0
- package/dist/row-B28N4Nao.cjs +1 -0
- package/dist/row-BC69rVQW.js +32 -0
- package/dist/row-BX4lrSir.js +33 -0
- package/dist/row-BpXp0tC3.cjs +1 -0
- package/dist/row-CkyJ9pQh.js +35 -0
- package/dist/row-NNlPGZRG.cjs +1 -0
- package/dist/ru-CCbLARi0.js +37 -0
- package/dist/ru-_du5Xwu3.cjs +1 -0
- package/dist/script/src/check-compiled.d.ts +1 -0
- package/dist/select-B8HCbraJ.js +29 -0
- package/dist/select-D6bRz5G2.cjs +1 -0
- package/dist/sign-CdhDIjlg.js +138 -0
- package/dist/sign-Dx0d5kWo.cjs +1 -0
- package/dist/sk-DD18bemk.js +53 -0
- package/dist/sk-DRjgEzVO.cjs +1 -0
- package/dist/sl-CL8MnX8D.js +56 -0
- package/dist/sl-nqW7xzZa.cjs +1 -0
- package/dist/sr-BiP5qrT7.js +29 -0
- package/dist/sr-BnjILg54.cjs +1 -0
- package/dist/style.css +1 -0
- package/dist/styleView-BfXze6dH.js +105 -0
- package/dist/styleView-i1faUAbF.cjs +1 -0
- package/dist/sv-6b7oq_fA.cjs +1 -0
- package/dist/sv-DxlAeqP5.js +23 -0
- package/dist/ta-CsfYqZQU.js +22 -0
- package/dist/ta-HTr6IFsZ.cjs +1 -0
- package/dist/th-C-CGWPlT.cjs +1 -0
- package/dist/th-CC5sx7mS.js +22 -0
- package/dist/tr-CCMwF27-.js +22 -0
- package/dist/tr-z7Blusoy.cjs +1 -0
- package/dist/tree.vue_vue_type_script_setup_true_lang-BVopU0uv.cjs +1 -0
- package/dist/tree.vue_vue_type_script_setup_true_lang-Bnl1CGxG.js +242 -0
- package/dist/ui/antd/button/button.vue.d.ts +30 -0
- package/dist/ui/antd/button/index.d.ts +3 -0
- package/dist/ui/antd/card/card.d.ts +20 -0
- package/dist/ui/antd/card/index.d.ts +3 -0
- package/dist/ui/antd/cascader/index.d.ts +3 -0
- package/dist/ui/antd/checkbox/index.d.ts +3 -0
- package/dist/ui/antd/col/col.d.ts +20 -0
- package/dist/ui/antd/col/index.d.ts +3 -0
- package/dist/ui/antd/color-picker/index.d.ts +3 -0
- package/dist/ui/antd/date-picker/datePicker.d.ts +29 -0
- package/dist/ui/antd/date-picker/index.d.ts +3 -0
- package/dist/ui/antd/form/form.vue.d.ts +64 -0
- package/dist/ui/antd/form/index.d.ts +3 -0
- package/dist/ui/antd/form-item/formItem.vue.d.ts +18 -0
- package/dist/ui/antd/form-item/index.d.ts +3 -0
- package/dist/ui/antd/index.cjs +10 -0
- package/dist/ui/antd/index.d.ts +7 -0
- package/dist/ui/antd/index.js +3117 -0
- package/dist/ui/antd/input/index.d.ts +3 -0
- package/dist/ui/antd/input-number/index.d.ts +3 -0
- package/dist/ui/antd/input-password/index.d.ts +3 -0
- package/dist/ui/antd/modal/index.d.ts +3 -0
- package/dist/ui/antd/modal/modal.vue.d.ts +42 -0
- package/dist/ui/antd/radio/index.d.ts +3 -0
- package/dist/ui/antd/row/index.d.ts +3 -0
- package/dist/ui/antd/row/row.d.ts +20 -0
- package/dist/ui/antd/select/index.d.ts +3 -0
- package/dist/ui/antd/slider/index.d.ts +3 -0
- package/dist/ui/antd/switch/index.d.ts +3 -0
- package/dist/ui/antd/textarea/index.d.ts +3 -0
- package/dist/ui/antd/time-picker/index.d.ts +3 -0
- package/dist/ui/antd/upload-file/index.d.ts +3 -0
- package/dist/ui/antd/upload-file/uploadFile.d.ts +21 -0
- package/dist/ui/antd/upload-image/index.d.ts +3 -0
- package/dist/ui/antd/upload-image/uploadImage.vue.d.ts +28 -0
- package/dist/ui/elementPlus/button/button.d.ts +18 -0
- package/dist/ui/elementPlus/button/index.d.ts +3 -0
- package/dist/ui/elementPlus/card/card.d.ts +20 -0
- package/dist/ui/elementPlus/card/index.d.ts +3 -0
- package/dist/ui/elementPlus/cascader/index.d.ts +3 -0
- package/dist/ui/elementPlus/checkbox/checkbox.d.ts +6 -0
- package/dist/ui/elementPlus/checkbox/index.d.ts +3 -0
- package/dist/ui/elementPlus/col/col.d.ts +20 -0
- package/dist/ui/elementPlus/col/index.d.ts +3 -0
- package/dist/ui/elementPlus/collapse/collapse.d.ts +20 -0
- package/dist/ui/elementPlus/collapse/index.d.ts +3 -0
- package/dist/ui/elementPlus/collapse-item/collapseItem.d.ts +20 -0
- package/dist/ui/elementPlus/collapse-item/index.d.ts +3 -0
- package/dist/ui/elementPlus/color-picker/index.d.ts +3 -0
- package/dist/ui/elementPlus/date-picker/index.d.ts +3 -0
- package/dist/ui/elementPlus/form/form.vue.d.ts +62 -0
- package/dist/ui/elementPlus/form/index.d.ts +3 -0
- package/dist/ui/elementPlus/formItem/formItem.vue.d.ts +18 -0
- package/dist/ui/elementPlus/formItem/index.d.ts +3 -0
- package/dist/ui/elementPlus/index.cjs +1 -0
- package/dist/ui/elementPlus/index.d.ts +6 -0
- package/dist/ui/elementPlus/index.js +2721 -0
- package/dist/ui/elementPlus/input/index.d.ts +3 -0
- package/dist/ui/elementPlus/input-number/index.d.ts +3 -0
- package/dist/ui/elementPlus/modal/index.d.ts +3 -0
- package/dist/ui/elementPlus/modal/modal.d.ts +22 -0
- package/dist/ui/elementPlus/radio/index.d.ts +3 -0
- package/dist/ui/elementPlus/radio/radio.d.ts +6 -0
- package/dist/ui/elementPlus/row/index.d.ts +3 -0
- package/dist/ui/elementPlus/row/row.d.ts +20 -0
- package/dist/ui/elementPlus/select/index.d.ts +3 -0
- package/dist/ui/elementPlus/select/select.d.ts +6 -0
- package/dist/ui/elementPlus/sign/index.d.ts +3 -0
- package/dist/ui/elementPlus/slider/index.d.ts +3 -0
- package/dist/ui/elementPlus/switch/index.d.ts +3 -0
- package/dist/ui/elementPlus/textarea/index.d.ts +3 -0
- package/dist/ui/elementPlus/upload-file/index.d.ts +3 -0
- package/dist/ui/elementPlus/upload-file/uploadFile.d.ts +20 -0
- package/dist/ui/elementPlus/upload-image/index.d.ts +3 -0
- package/dist/ui/elementPlus/upload-image/uploadImage.d.ts +20 -0
- package/dist/ui/index.d.ts +3 -0
- package/dist/ui/naiveUi/button/button.d.ts +18 -0
- package/dist/ui/naiveUi/button/index.d.ts +3 -0
- package/dist/ui/naiveUi/card/card.d.ts +20 -0
- package/dist/ui/naiveUi/card/index.d.ts +3 -0
- package/dist/ui/naiveUi/cascader/index.d.ts +3 -0
- package/dist/ui/naiveUi/checkbox/checkbox.d.ts +6 -0
- package/dist/ui/naiveUi/checkbox/index.d.ts +3 -0
- package/dist/ui/naiveUi/col/col.d.ts +20 -0
- package/dist/ui/naiveUi/col/index.d.ts +3 -0
- package/dist/ui/naiveUi/collapse/collapse.d.ts +20 -0
- package/dist/ui/naiveUi/collapse/index.d.ts +3 -0
- package/dist/ui/naiveUi/collapse-item/collapseItem.d.ts +20 -0
- package/dist/ui/naiveUi/collapse-item/index.d.ts +3 -0
- package/dist/ui/naiveUi/color-picker/index.d.ts +3 -0
- package/dist/ui/naiveUi/date-picker/index.d.ts +3 -0
- package/dist/ui/naiveUi/form/index.d.ts +3 -0
- package/dist/ui/naiveUi/form-item/formItem.vue.d.ts +18 -0
- package/dist/ui/naiveUi/form-item/index.d.ts +3 -0
- package/dist/ui/naiveUi/index.cjs +1 -0
- package/dist/ui/naiveUi/index.d.ts +2 -0
- package/dist/ui/naiveUi/index.js +2349 -0
- package/dist/ui/naiveUi/input/index.d.ts +3 -0
- package/dist/ui/naiveUi/input-number/index.d.ts +3 -0
- package/dist/ui/naiveUi/modal/index.d.ts +3 -0
- package/dist/ui/naiveUi/modal/modal.d.ts +22 -0
- package/dist/ui/naiveUi/radio/index.d.ts +3 -0
- package/dist/ui/naiveUi/radio/radio.d.ts +6 -0
- package/dist/ui/naiveUi/row/index.d.ts +3 -0
- package/dist/ui/naiveUi/row/row.d.ts +20 -0
- package/dist/ui/naiveUi/select/index.d.ts +3 -0
- package/dist/ui/naiveUi/slider/index.d.ts +3 -0
- package/dist/ui/naiveUi/switch/index.d.ts +3 -0
- package/dist/ui/naiveUi/upload-file/index.d.ts +3 -0
- package/dist/ui/naiveUi/upload-file/uploadFile.d.ts +20 -0
- package/dist/ui/naiveUi/upload-image/index.d.ts +3 -0
- package/dist/ui/naiveUi/upload-image/uploadImage.d.ts +20 -0
- package/dist/uk-Ba9IHfoi.js +31 -0
- package/dist/uk-Cc6k-QUE.cjs +1 -0
- package/dist/uploadFile-BU5cBhab.js +67 -0
- package/dist/uploadFile-C3HY1r-N.js +78 -0
- package/dist/uploadFile-COrVkbrU.js +70 -0
- package/dist/uploadFile-Dv3Rsw56.cjs +1 -0
- package/dist/uploadFile-LCUznBf2.cjs +1 -0
- package/dist/uploadFile-z7Ko58XG.cjs +1 -0
- package/dist/uploadImage-BQhv5ymq.cjs +1 -0
- package/dist/uploadImage-CYV7X1sG.js +88 -0
- package/dist/uploadImage-CnNnAISs.js +84 -0
- package/dist/uploadImage-Db_66X3C.js +93 -0
- package/dist/uploadImage-nwjqcVFU.cjs +1 -0
- package/dist/uploadImage-xU0He_aO.cjs +1 -0
- package/dist/ur-C0tmW1hr.js +22 -0
- package/dist/ur-CPEUOWqh.cjs +1 -0
- package/dist/utils/__test__/common/debounce.test.d.ts +1 -0
- package/dist/utils/__test__/common/deepClone.test.d.ts +1 -0
- package/dist/utils/__test__/common/deepCompareAndModify.test.d.ts +1 -0
- package/dist/utils/__test__/common/deepEqual.test.d.ts +1 -0
- package/dist/utils/__test__/common/findSchemaById.test.d.ts +1 -0
- package/dist/utils/__test__/common/findSchemas.test.d.ts +1 -0
- package/dist/utils/__test__/common/getFormSchemas.test.d.ts +1 -0
- package/dist/utils/__test__/common/getMatchedById.test.d.ts +1 -0
- package/dist/utils/__test__/common/getUUID.test.d.ts +1 -0
- package/dist/utils/__test__/common/getValueByPath.test.d.ts +1 -0
- package/dist/utils/__test__/common/mapSchemas.test.d.ts +1 -0
- package/dist/utils/__test__/common/setValueByPath.test.d.ts +1 -0
- package/dist/utils/__test__/manager/pageManager.test.d.ts +1 -0
- package/dist/utils/__test__/manager/revoke.test.d.ts +1 -0
- package/dist/utils/common/common.d.ts +7 -0
- package/dist/utils/common/component.d.ts +7 -0
- package/dist/utils/common/data.d.ts +119 -0
- package/dist/utils/common/eventBus.d.ts +2 -0
- package/dist/utils/common/index.d.ts +5 -0
- package/dist/utils/common/string.d.ts +11 -0
- package/dist/utils/index.d.ts +2 -0
- package/{packages/utils/manager/index.ts → dist/utils/manager/index.d.ts} +3 -3
- package/dist/utils/manager/pageManager.d.ts +26 -0
- package/dist/utils/manager/pluginManager.d.ts +379 -0
- package/dist/utils/manager/revoke.d.ts +40 -0
- package/dist/utils-BM69FtWE.js +66 -0
- package/dist/utils-zEcOzoWV.cjs +1 -0
- package/dist/vi-Dyfq5Qgz.cjs +1 -0
- package/dist/vi-j1PGHz1o.js +22 -0
- package/dist/vuedraggable.umd-BqhSJIAi.cjs +10 -0
- package/dist/vuedraggable.umd-D2S7Eo7p.js +4425 -0
- package/dist/zh-cn-BKQHxHe9.cjs +1 -0
- package/dist/zh-cn-BYui8_WB.js +25 -0
- package/dist/zh-hk-QZ4a6JLR.js +25 -0
- package/dist/zh-hk-hNFRxlrX.cjs +1 -0
- package/dist/zh-tw-BT16WIrT.js +25 -0
- package/dist/zh-tw-SGOlw9Wo.cjs +1 -0
- package/package.json +75 -49
- package/.eslintrc.js +0 -10
- package/.vscode/extensions.json +0 -3
- package/.vscode/settings.json +0 -6
- package/docs/.vitepress/config.ts +0 -163
- package/docs/.vitepress/theme/custom.css +0 -38
- package/docs/.vitepress/theme/index.ts +0 -7
- package/docs/.vitepress/theme/style.css +0 -44
- package/docs/guide/about/about.md +0 -24
- package/docs/guide/action/customFunctions.md +0 -560
- package/docs/guide/components/EBuilder.md +0 -546
- package/docs/guide/components/EDesigner.md +0 -120
- package/docs/guide/copyright/copyright.md +0 -38
- package/docs/guide/extensions/actionBar.md +0 -55
- package/docs/guide/extensions/component.md +0 -115
- package/docs/guide/extensions/icon.md +0 -111
- package/docs/guide/extensions/publicMethods.md +0 -52
- package/docs/guide/extensions/rightSidebar.md +0 -57
- package/docs/guide/start/dark-mode.md +0 -149
- package/docs/guide/start/i18n-cn.md +0 -39
- package/docs/guide/start/index.md +0 -59
- package/docs/guide/start/layoutGuide.md +0 -0
- package/docs/guide/start/quick-start.md +0 -194
- package/docs/guide/start/theme.md +0 -125
- package/docs/guide/utils/pageManager.md +0 -97
- package/docs/guide/utils/pluginManager.md +0 -227
- package/docs/index.md +0 -41
- package/docs/package.json +0 -15
- package/docs/public/certificate.jpg +0 -0
- package/docs/public/dark.png +0 -0
- package/docs/public/favicon.ico +0 -0
- package/docs/public/icons/demo.css +0 -539
- package/docs/public/icons/demo_index.html +0 -589
- package/docs/public/icons/iconfont.css +0 -379
- package/docs/public/icons/iconfont.js +0 -1
- package/docs/public/icons/iconfont.json +0 -646
- package/docs/public/icons/iconfont.ttf +0 -0
- package/docs/public/icons/iconfont.woff +0 -0
- package/docs/public/icons/iconfont.woff2 +0 -0
- package/docs/public/icons/iconify.css +0 -271
- package/docs/public/icons/iconify.html +0 -333
- package/docs/public/layout.jpg +0 -0
- package/docs/public/logo.png +0 -0
- package/docs/public/theme.jpg +0 -0
- package/docs/updateLog.md +0 -461
- package/docs/vite.config.ts +0 -18
- package/docs//345/210/235/345/247/213/345/214/226/345/270/203/345/261/200.jpg +0 -0
- package/docs//350/256/276/350/256/241/345/231/250/344/273/213/347/273/215.md +0 -21
- package/docs//350/256/276/350/256/241/345/231/250/345/270/203/345/261/200.jpg +0 -0
- package/examples/README.md +0 -18
- package/examples/index.html +0 -14
- package/examples/package.json +0 -28
- package/examples/public/favicon.ico +0 -0
- package/examples/src/App.vue +0 -5
- package/examples/src/assets/logo.png +0 -0
- package/examples/src/layout/baseLayout.vue +0 -3
- package/examples/src/layout/components/Header/index.vue +0 -104
- package/examples/src/layout/components/Main/Maximize.vue +0 -77
- package/examples/src/layout/components/Main/index.vue +0 -16
- package/examples/src/layout/components/Menu/index.vue +0 -49
- package/examples/src/layout/index.vue +0 -26
- package/examples/src/main.ts +0 -6
- package/examples/src/router/index.ts +0 -122
- package/examples/src/style/reset.css +0 -253
- package/examples/src/style.less +0 -44
- package/examples/src/views/builder/basic/index.vue +0 -300
- package/examples/src/views/builder/customForm/index.vue +0 -227
- package/examples/src/views/builder/disableDisplay/index.vue +0 -153
- package/examples/src/views/builder/disableDisplay copy/index.vue +0 -111
- package/examples/src/views/builder/loadData/index.vue +0 -69
- package/examples/src/views/builder/loadFormData/index.vue +0 -195
- package/examples/src/views/builder/sum/index.vue +0 -127
- package/examples/src/views/designer/basic/index.vue +0 -62
- package/examples/src/views/designer/formMode/index.vue +0 -22
- package/examples/src/views/designer/loadData/index.vue +0 -63
- package/examples/src/vite-env.d.ts +0 -1
- package/examples/tsconfig.json +0 -27
- package/examples/tsconfig.node.json +0 -10
- package/examples/uno.config.ts +0 -2
- package/examples/vite.config.ts +0 -35
- package/packages/core/LICENSE +0 -21
- package/packages/core/components/asyncLoader/index.less +0 -92
- package/packages/core/components/asyncLoader/index.vue +0 -7
- package/packages/core/components/builder/hooks/useBuilder.ts +0 -132
- package/packages/core/components/builder/index.ts +0 -3
- package/packages/core/components/builder/src/builder.vue +0 -131
- package/packages/core/components/builder/src/types.ts +0 -4
- package/packages/core/components/designer/index.ts +0 -3
- package/packages/core/components/designer/src/designer.vue +0 -337
- package/packages/core/components/designer/src/index.less +0 -81
- package/packages/core/components/designer/src/modules/actionBar/index.less +0 -80
- package/packages/core/components/designer/src/modules/actionBar/index.vue +0 -50
- package/packages/core/components/designer/src/modules/attributeView/attributeView.vue +0 -124
- package/packages/core/components/designer/src/modules/attributeView/eventView.vue +0 -77
- package/packages/core/components/designer/src/modules/attributeView/index.less +0 -36
- package/packages/core/components/designer/src/modules/attributeView/styleView.vue +0 -117
- package/packages/core/components/designer/src/modules/componentView/index.less +0 -61
- package/packages/core/components/designer/src/modules/componentView/index.vue +0 -127
- package/packages/core/components/designer/src/modules/editContainer/editNodeItem.vue +0 -87
- package/packages/core/components/designer/src/modules/editContainer/editScreenContainer.vue +0 -227
- package/packages/core/components/designer/src/modules/editContainer/index.less +0 -159
- package/packages/core/components/designer/src/modules/editContainer/index.vue +0 -36
- package/packages/core/components/designer/src/modules/editContainer/nodeItem.vue +0 -93
- package/packages/core/components/designer/src/modules/editContainer/previewJson.vue +0 -60
- package/packages/core/components/designer/src/modules/editContainer/previewWidgets.vue +0 -390
- package/packages/core/components/designer/src/modules/editContainer/toolbar.vue +0 -258
- package/packages/core/components/designer/src/modules/header/index.less +0 -16
- package/packages/core/components/designer/src/modules/header/index.vue +0 -72
- package/packages/core/components/designer/src/modules/outline/index.less +0 -7
- package/packages/core/components/designer/src/modules/outline/outline.vue +0 -56
- package/packages/core/components/designer/src/modules/preview/index.less +0 -0
- package/packages/core/components/designer/src/modules/preview/index.vue +0 -103
- package/packages/core/components/designer/src/modules/rightSidebar/breadcrumb.vue +0 -30
- package/packages/core/components/designer/src/modules/rightSidebar/index.less +0 -74
- package/packages/core/components/designer/src/modules/rightSidebar/index.vue +0 -67
- package/packages/core/components/designer/src/modules/sourceCode/index.less +0 -7
- package/packages/core/components/designer/src/modules/sourceCode/index.vue +0 -37
- package/packages/core/components/designer/src/types.ts +0 -51
- package/packages/core/components/icon/index.ts +0 -2
- package/packages/core/components/icon/src/icon.vue +0 -28
- package/packages/core/components/node/index.ts +0 -2
- package/packages/core/components/node/src/dynamicFormItem.vue +0 -38
- package/packages/core/components/node/src/node.vue +0 -400
- package/packages/core/components/tree/index.ts +0 -2
- package/packages/core/components/tree/src/index.less +0 -117
- package/packages/core/components/tree/src/tree.vue +0 -113
- package/packages/core/components/tree/src/treeNodeItem.vue +0 -120
- package/packages/core/components/tree/src/treeNodes.vue +0 -70
- package/packages/core/extensions/EActionEditor/index.less +0 -177
- package/packages/core/extensions/EActionEditor/index.vue +0 -160
- package/packages/core/extensions/EActionEditor/src/EActionEditorItem.vue +0 -133
- package/packages/core/extensions/EActionEditor/src/EActionModal.vue +0 -258
- package/packages/core/extensions/EActionEditor/src/EArgsEditor.vue +0 -61
- package/packages/core/extensions/EActionEditor/src/EScriptEdit.vue +0 -26
- package/packages/core/extensions/EColEditor/index.less +0 -24
- package/packages/core/extensions/EColEditor/index.vue +0 -65
- package/packages/core/extensions/EDataSource/index.less +0 -170
- package/packages/core/extensions/EDataSource/index.vue +0 -437
- package/packages/core/extensions/EInputSize/index.vue +0 -59
- package/packages/core/extensions/EOptionsEditor/index.vue +0 -195
- package/packages/core/extensions/EOptionsEditor/optionItem.vue +0 -72
- package/packages/core/extensions/ERuleEditor/ERuleItem.vue +0 -136
- package/packages/core/extensions/ERuleEditor/data.ts +0 -24
- package/packages/core/extensions/ERuleEditor/index.less +0 -17
- package/packages/core/extensions/ERuleEditor/index.vue +0 -157
- package/packages/core/extensions/ERuleEditor/types.ts +0 -17
- package/packages/core/extensions/MonacoEditor/index.ts +0 -31
- package/packages/core/extensions/MonacoEditor/index.vue +0 -150
- package/packages/core/extensions/Page/index.ts +0 -23
- package/packages/core/extensions/Page/index.vue +0 -27
- package/packages/core/extensions/index.ts +0 -58
- package/packages/core/index.less +0 -24
- package/packages/core/index.ts +0 -35
- package/packages/core/package.json +0 -59
- package/packages/core/static/icons/iconify.css +0 -271
- package/packages/core/static/logo.png +0 -0
- package/packages/core/tsconfig.json +0 -19
- package/packages/core/types/epic-designer.ts +0 -75
- package/packages/epic-designer/LICENSE +0 -21
- package/packages/epic-designer/README.md +0 -239
- package/packages/epic-designer/package.json +0 -75
- package/packages/hooks/LICENSE +0 -21
- package/packages/hooks/common/element.ts +0 -170
- package/packages/hooks/common/index.ts +0 -2
- package/packages/hooks/common/theme.ts +0 -84
- package/packages/hooks/index.ts +0 -2
- package/packages/hooks/package.json +0 -7
- package/packages/hooks/store/index.ts +0 -30
- package/packages/hooks/tsconfig.json +0 -19
- package/packages/script/package.json +0 -17
- package/packages/script/src/check-compiled.ts +0 -22
- package/packages/script/tsconfig.json +0 -10
- package/packages/ui/LICENSE +0 -21
- package/packages/ui/antd/button/button.vue +0 -16
- package/packages/ui/antd/button/index.ts +0 -203
- package/packages/ui/antd/card/card.ts +0 -31
- package/packages/ui/antd/card/index.ts +0 -64
- package/packages/ui/antd/cascader/cascader.vue +0 -23
- package/packages/ui/antd/cascader/index.ts +0 -200
- package/packages/ui/antd/checkbox/index.ts +0 -100
- package/packages/ui/antd/col/col.ts +0 -31
- package/packages/ui/antd/col/index.ts +0 -22
- package/packages/ui/antd/color-picker/index.ts +0 -108
- package/packages/ui/antd/date-picker/datePicker.ts +0 -47
- package/packages/ui/antd/date-picker/index.ts +0 -304
- package/packages/ui/antd/form/form.vue +0 -115
- package/packages/ui/antd/form/index.ts +0 -196
- package/packages/ui/antd/form-item/formItem.vue +0 -15
- package/packages/ui/antd/form-item/index.ts +0 -11
- package/packages/ui/antd/index.less +0 -33
- package/packages/ui/antd/index.ts +0 -306
- package/packages/ui/antd/input/index.ts +0 -170
- package/packages/ui/antd/input-number/index.ts +0 -182
- package/packages/ui/antd/input-password/index.ts +0 -153
- package/packages/ui/antd/modal/index.ts +0 -19
- package/packages/ui/antd/modal/modal.vue +0 -82
- package/packages/ui/antd/radio/index.ts +0 -106
- package/packages/ui/antd/row/index.ts +0 -115
- package/packages/ui/antd/row/row.ts +0 -31
- package/packages/ui/antd/select/index.ts +0 -230
- package/packages/ui/antd/slider/index.ts +0 -148
- package/packages/ui/antd/switch/index.ts +0 -142
- package/packages/ui/antd/textarea/index.ts +0 -163
- package/packages/ui/antd/time-picker/index.ts +0 -191
- package/packages/ui/antd/upload-file/index.ts +0 -89
- package/packages/ui/antd/upload-file/uploadFile.ts +0 -119
- package/packages/ui/antd/upload-image/index.ts +0 -70
- package/packages/ui/antd/upload-image/uploadImage.vue +0 -148
- package/packages/ui/elementPlus/button/button.ts +0 -24
- package/packages/ui/elementPlus/button/index.ts +0 -129
- package/packages/ui/elementPlus/card/card.ts +0 -36
- package/packages/ui/elementPlus/card/index.ts +0 -51
- package/packages/ui/elementPlus/cascader/index.ts +0 -222
- package/packages/ui/elementPlus/checkbox/checkbox.ts +0 -26
- package/packages/ui/elementPlus/checkbox/index.ts +0 -148
- package/packages/ui/elementPlus/col/col.ts +0 -31
- package/packages/ui/elementPlus/col/index.ts +0 -21
- package/packages/ui/elementPlus/collapse/collapse.ts +0 -32
- package/packages/ui/elementPlus/collapse/index.ts +0 -41
- package/packages/ui/elementPlus/collapse-item/collapseItem.ts +0 -31
- package/packages/ui/elementPlus/collapse-item/index.ts +0 -12
- package/packages/ui/elementPlus/color-picker/index.ts +0 -111
- package/packages/ui/elementPlus/date-picker/index.ts +0 -219
- package/packages/ui/elementPlus/form/form.vue +0 -110
- package/packages/ui/elementPlus/form/index.ts +0 -150
- package/packages/ui/elementPlus/formItem/formItem.vue +0 -15
- package/packages/ui/elementPlus/formItem/index.ts +0 -11
- package/packages/ui/elementPlus/index.less +0 -79
- package/packages/ui/elementPlus/index.ts +0 -91
- package/packages/ui/elementPlus/input/index.ts +0 -180
- package/packages/ui/elementPlus/input-number/index.ts +0 -146
- package/packages/ui/elementPlus/modal/index.ts +0 -18
- package/packages/ui/elementPlus/modal/modal.ts +0 -68
- package/packages/ui/elementPlus/radio/index.ts +0 -129
- package/packages/ui/elementPlus/radio/radio.ts +0 -32
- package/packages/ui/elementPlus/row/index.ts +0 -106
- package/packages/ui/elementPlus/row/row.ts +0 -32
- package/packages/ui/elementPlus/select/index.ts +0 -291
- package/packages/ui/elementPlus/select/select.ts +0 -29
- package/packages/ui/elementPlus/sign/index.ts +0 -97
- package/packages/ui/elementPlus/sign/sign.vue +0 -207
- package/packages/ui/elementPlus/slider/index.ts +0 -238
- package/packages/ui/elementPlus/switch/index.ts +0 -160
- package/packages/ui/elementPlus/textarea/index.ts +0 -155
- package/packages/ui/elementPlus/upload-file/index.ts +0 -87
- package/packages/ui/elementPlus/upload-file/uploadFile.ts +0 -114
- package/packages/ui/elementPlus/upload-image/index.ts +0 -87
- package/packages/ui/elementPlus/upload-image/uploadImage.ts +0 -150
- package/packages/ui/index.ts +0 -22
- package/packages/ui/naiveUi/button/button.ts +0 -25
- package/packages/ui/naiveUi/button/index.ts +0 -148
- package/packages/ui/naiveUi/card/card.ts +0 -32
- package/packages/ui/naiveUi/card/index.ts +0 -26
- package/packages/ui/naiveUi/cascader/index.ts +0 -222
- package/packages/ui/naiveUi/checkbox/checkbox.ts +0 -27
- package/packages/ui/naiveUi/checkbox/index.ts +0 -117
- package/packages/ui/naiveUi/col/col.ts +0 -30
- package/packages/ui/naiveUi/col/index.ts +0 -21
- package/packages/ui/naiveUi/collapse/collapse.ts +0 -31
- package/packages/ui/naiveUi/collapse/index.ts +0 -40
- package/packages/ui/naiveUi/collapse-item/collapseItem.ts +0 -31
- package/packages/ui/naiveUi/collapse-item/index.ts +0 -12
- package/packages/ui/naiveUi/color-picker/index.ts +0 -182
- package/packages/ui/naiveUi/date-picker/index.ts +0 -213
- package/packages/ui/naiveUi/form/form.vue +0 -98
- package/packages/ui/naiveUi/form/index.ts +0 -147
- package/packages/ui/naiveUi/form-item/formItem.vue +0 -15
- package/packages/ui/naiveUi/form-item/index.ts +0 -10
- package/packages/ui/naiveUi/index.less +0 -33
- package/packages/ui/naiveUi/index.ts +0 -68
- package/packages/ui/naiveUi/input/index.ts +0 -221
- package/packages/ui/naiveUi/input-number/index.ts +0 -145
- package/packages/ui/naiveUi/modal/index.ts +0 -18
- package/packages/ui/naiveUi/modal/modal.ts +0 -83
- package/packages/ui/naiveUi/radio/index.ts +0 -97
- package/packages/ui/naiveUi/radio/radio.ts +0 -27
- package/packages/ui/naiveUi/row/index.ts +0 -106
- package/packages/ui/naiveUi/row/row.ts +0 -31
- package/packages/ui/naiveUi/select/index.ts +0 -197
- package/packages/ui/naiveUi/slider/index.ts +0 -182
- package/packages/ui/naiveUi/switch/index.ts +0 -136
- package/packages/ui/naiveUi/upload-file/index.ts +0 -83
- package/packages/ui/naiveUi/upload-file/uploadFile.ts +0 -78
- package/packages/ui/naiveUi/upload-image/index.ts +0 -83
- package/packages/ui/naiveUi/upload-image/uploadImage.ts +0 -151
- package/packages/ui/package.json +0 -17
- package/packages/ui/tsconfig.json +0 -19
- package/packages/utils/LICENSE +0 -21
- package/packages/utils/__test__/common/debounce.test.ts +0 -44
- package/packages/utils/__test__/common/deepClone.test.ts +0 -42
- package/packages/utils/__test__/common/deepCompareAndModify.test.ts +0 -84
- package/packages/utils/__test__/common/deepEqual.test.ts +0 -105
- package/packages/utils/__test__/common/findSchemaById.test.ts +0 -80
- package/packages/utils/__test__/common/findSchemas.test.ts +0 -98
- package/packages/utils/__test__/common/getFormSchemas.test.ts +0 -124
- package/packages/utils/__test__/common/getMatchedById.test.ts +0 -79
- package/packages/utils/__test__/common/getUUID.test.ts +0 -30
- package/packages/utils/__test__/common/getValueByPath.test.ts +0 -54
- package/packages/utils/__test__/common/mapSchemas.test.ts +0 -98
- package/packages/utils/__test__/common/setValueByPath.test.ts +0 -69
- package/packages/utils/__test__/manager/pageManager.test.ts +0 -75
- package/packages/utils/__test__/manager/revoke.test.ts +0 -103
- package/packages/utils/common/common.ts +0 -18
- package/packages/utils/common/component.ts +0 -22
- package/packages/utils/common/data.ts +0 -662
- package/packages/utils/common/eventBus.ts +0 -4
- package/packages/utils/common/index.ts +0 -5
- package/packages/utils/common/string.ts +0 -24
- package/packages/utils/index.ts +0 -2
- package/packages/utils/manager/pageManager.ts +0 -238
- package/packages/utils/manager/pluginManager.ts +0 -633
- package/packages/utils/manager/revoke.ts +0 -124
- package/packages/utils/package.json +0 -7
- package/packages/utils/tsconfig.json +0 -19
- package/pnpm-lock.yaml +0 -14558
- package/pnpm-workspace.yaml +0 -5
- package/turbo.json +0 -20
- package/vitest.config.ts +0 -7
- /package/{packages/core → dist}/theme/var.less +0 -0
- /package/{packages/epic-designer/shims-vue.d.ts → shims-vue.d.ts} +0 -0
- /package/{packages/epic-designer/tsconfig.json → tsconfig.json} +0 -0
|
@@ -0,0 +1,2721 @@
|
|
|
1
|
+
import { pluginManager as i } from "epic-designer-gold";
|
|
2
|
+
import { ElFormItem as r, ElForm as c, ElRadioGroup as s, ElRadioButton as d, ElTabs as m, ElTabPane as u, ElCollapse as b, ElCollapseItem as f, ElDrawer as y } from "element-plus";
|
|
3
|
+
const h = {
|
|
4
|
+
component: async () => (await import("element-plus")).ElInput,
|
|
5
|
+
groupName: "表单",
|
|
6
|
+
icon: "icon--epic--border-color-outline-rounded",
|
|
7
|
+
sort: 700,
|
|
8
|
+
defaultSchema: {
|
|
9
|
+
label: "输入框",
|
|
10
|
+
type: "input",
|
|
11
|
+
field: "input",
|
|
12
|
+
input: !0,
|
|
13
|
+
componentProps: {
|
|
14
|
+
placeholder: "请输入"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
config: {
|
|
18
|
+
attribute: [
|
|
19
|
+
{
|
|
20
|
+
label: "字段名",
|
|
21
|
+
type: "input",
|
|
22
|
+
field: "field"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
label: "标题",
|
|
26
|
+
type: "input",
|
|
27
|
+
field: "label"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
label: "默认值",
|
|
31
|
+
type: "input",
|
|
32
|
+
field: "componentProps.defaultValue"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: "占位内容",
|
|
36
|
+
type: "input",
|
|
37
|
+
field: "componentProps.placeholder"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "尺寸",
|
|
41
|
+
type: "select",
|
|
42
|
+
defaultValue: "default",
|
|
43
|
+
componentProps: {
|
|
44
|
+
placeholder: "请选择",
|
|
45
|
+
clearable: !0,
|
|
46
|
+
options: [
|
|
47
|
+
{
|
|
48
|
+
label: "大号",
|
|
49
|
+
value: "large"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: "中等",
|
|
53
|
+
value: "default"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
label: "小型",
|
|
57
|
+
value: "small"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
field: "componentProps.size"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
label: "最大输入长度",
|
|
65
|
+
type: "number",
|
|
66
|
+
field: "componentProps.maxlength",
|
|
67
|
+
componentProps: {
|
|
68
|
+
placeholder: "请输入",
|
|
69
|
+
min: 0
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
label: "统计字数",
|
|
74
|
+
type: "switch",
|
|
75
|
+
field: "componentProps.showWordLimit",
|
|
76
|
+
show: ({ values: e }) => e.componentProps.maxlength
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
label: "输入类型",
|
|
80
|
+
type: "select",
|
|
81
|
+
defaultValue: "text",
|
|
82
|
+
componentProps: {
|
|
83
|
+
placeholder: "请选择",
|
|
84
|
+
clearable: !0,
|
|
85
|
+
options: [
|
|
86
|
+
{
|
|
87
|
+
label: "text",
|
|
88
|
+
value: "text"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
label: "number",
|
|
92
|
+
value: "number"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: "password",
|
|
96
|
+
value: "password"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
field: "componentProps.type"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
label: "显示切换图标",
|
|
104
|
+
type: "switch",
|
|
105
|
+
field: "componentProps.showPassword",
|
|
106
|
+
show: ({ values: e }) => e.componentProps.type === "password"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
label: "只读",
|
|
110
|
+
type: "switch",
|
|
111
|
+
field: "componentProps.readonly"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
label: "可清空",
|
|
115
|
+
type: "switch",
|
|
116
|
+
field: "componentProps.clearable"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
label: "禁用",
|
|
120
|
+
type: "switch",
|
|
121
|
+
field: "componentProps.disabled"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
label: "隐藏",
|
|
125
|
+
type: "switch",
|
|
126
|
+
field: "componentProps.hidden"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
label: "表单校验",
|
|
130
|
+
type: "ERuleEditor",
|
|
131
|
+
layout: "vertical",
|
|
132
|
+
field: "rules",
|
|
133
|
+
describe: "校验规则需要配合表单使用"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
event: [
|
|
137
|
+
{
|
|
138
|
+
type: "input",
|
|
139
|
+
describe: "输入值时"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
type: "change",
|
|
143
|
+
describe: "值修改时"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
type: "focus",
|
|
147
|
+
describe: "获取焦点时"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
type: "blur",
|
|
151
|
+
describe: "失去焦点时"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
type: "clear",
|
|
155
|
+
describe: "点击清空按钮时"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
action: [
|
|
159
|
+
{
|
|
160
|
+
type: "focus",
|
|
161
|
+
describe: "使 input 获取焦点"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: "blur",
|
|
165
|
+
describe: "使 input 失去焦点"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
type: "clear",
|
|
169
|
+
describe: "清除 input 值"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
type: "select",
|
|
173
|
+
describe: "选中 input 中的文字"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
}, P = {
|
|
178
|
+
component: async () => (await import("element-plus")).ElInput,
|
|
179
|
+
icon: "icon--epic--edit-square-outline-rounded",
|
|
180
|
+
groupName: "表单",
|
|
181
|
+
sort: 705,
|
|
182
|
+
defaultSchema: {
|
|
183
|
+
label: "文本域",
|
|
184
|
+
type: "textarea",
|
|
185
|
+
field: "textarea",
|
|
186
|
+
input: !0,
|
|
187
|
+
componentProps: {
|
|
188
|
+
placeholder: "请输入",
|
|
189
|
+
type: "textarea"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
config: {
|
|
193
|
+
attribute: [
|
|
194
|
+
{
|
|
195
|
+
label: "字段名",
|
|
196
|
+
type: "input",
|
|
197
|
+
field: "field"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
label: "标题",
|
|
201
|
+
type: "input",
|
|
202
|
+
field: "label"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
label: "默认值",
|
|
206
|
+
type: "textarea",
|
|
207
|
+
field: "componentProps.defaultValue"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
label: "占位内容",
|
|
211
|
+
type: "input",
|
|
212
|
+
field: "componentProps.placeholder"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
label: "尺寸",
|
|
216
|
+
type: "select",
|
|
217
|
+
componentProps: {
|
|
218
|
+
placeholder: "请选择",
|
|
219
|
+
clearable: !0,
|
|
220
|
+
options: [
|
|
221
|
+
{
|
|
222
|
+
label: "大号",
|
|
223
|
+
value: "large"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
label: "中等",
|
|
227
|
+
value: "default"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
label: "小型",
|
|
231
|
+
value: "small"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
field: "componentProps.size"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
label: "最大输入长度",
|
|
239
|
+
type: "number",
|
|
240
|
+
field: "componentProps.maxlength",
|
|
241
|
+
componentProps: {
|
|
242
|
+
placeholder: "请输入",
|
|
243
|
+
min: 0
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
label: "统计字数",
|
|
248
|
+
type: "switch",
|
|
249
|
+
field: "componentProps.showWordLimit",
|
|
250
|
+
show: ({ values: e }) => e.componentProps.maxlength
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
label: "最小行数",
|
|
254
|
+
type: "number",
|
|
255
|
+
field: "componentProps.autosize.minRows",
|
|
256
|
+
componentProps: {
|
|
257
|
+
placeholder: "请输入"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
label: "最大行数",
|
|
262
|
+
type: "number",
|
|
263
|
+
field: "componentProps.autosize.maxRows",
|
|
264
|
+
componentProps: {
|
|
265
|
+
placeholder: "请输入"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
label: "可清空",
|
|
270
|
+
type: "switch",
|
|
271
|
+
field: "componentProps.clearable"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
label: "禁用",
|
|
275
|
+
type: "switch",
|
|
276
|
+
field: "componentProps.disabled"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
label: "隐藏",
|
|
280
|
+
type: "switch",
|
|
281
|
+
field: "componentProps.hidden"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
label: "表单校验",
|
|
285
|
+
type: "ERuleEditor",
|
|
286
|
+
layout: "vertical",
|
|
287
|
+
field: "rules",
|
|
288
|
+
describe: "校验规则需要配合表单使用"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
event: [
|
|
292
|
+
{
|
|
293
|
+
type: "input",
|
|
294
|
+
describe: "输入值"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
type: "change",
|
|
298
|
+
describe: "值修改"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
type: "focus",
|
|
302
|
+
describe: "获取焦点"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
type: "blur",
|
|
306
|
+
describe: "失去焦点"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
action: [
|
|
310
|
+
{
|
|
311
|
+
type: "focus",
|
|
312
|
+
describe: "使 input 获取焦点"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
type: "blur",
|
|
316
|
+
describe: "使 input 失去焦点"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
type: "clear",
|
|
320
|
+
describe: "清除 input 值"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
type: "select",
|
|
324
|
+
describe: "选中 input 中的文字"
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
}, v = {
|
|
329
|
+
component: async () => (await import("element-plus")).ElInputNumber,
|
|
330
|
+
groupName: "表单",
|
|
331
|
+
icon: "icon--epic--123-rounded",
|
|
332
|
+
sort: 710,
|
|
333
|
+
defaultSchema: {
|
|
334
|
+
label: "数字输入框",
|
|
335
|
+
type: "number",
|
|
336
|
+
field: "number",
|
|
337
|
+
input: !0,
|
|
338
|
+
componentProps: {
|
|
339
|
+
placeholder: "请输入"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
config: {
|
|
343
|
+
attribute: [
|
|
344
|
+
{
|
|
345
|
+
label: "字段名",
|
|
346
|
+
type: "input",
|
|
347
|
+
field: "field"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
label: "标题",
|
|
351
|
+
type: "input",
|
|
352
|
+
field: "label"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
label: "默认值",
|
|
356
|
+
type: "number",
|
|
357
|
+
field: "componentProps.defaultValue"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
label: "占位内容",
|
|
361
|
+
type: "input",
|
|
362
|
+
field: "componentProps.placeholder"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
label: "尺寸",
|
|
366
|
+
type: "select",
|
|
367
|
+
componentProps: {
|
|
368
|
+
placeholder: "请选择",
|
|
369
|
+
clearable: !0,
|
|
370
|
+
options: [
|
|
371
|
+
{
|
|
372
|
+
label: "大号",
|
|
373
|
+
value: "large"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
label: "中等",
|
|
377
|
+
value: "default"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
label: "小型",
|
|
381
|
+
value: "small"
|
|
382
|
+
}
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
field: "componentProps.size"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
label: "最大值",
|
|
389
|
+
type: "number",
|
|
390
|
+
field: "componentProps.max",
|
|
391
|
+
componentProps: {
|
|
392
|
+
placeholder: "请输入"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
label: "最小值",
|
|
397
|
+
type: "number",
|
|
398
|
+
field: "componentProps.min",
|
|
399
|
+
componentProps: {
|
|
400
|
+
placeholder: "请输入"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
label: "步长",
|
|
405
|
+
type: "number",
|
|
406
|
+
field: "componentProps.step",
|
|
407
|
+
componentProps: {
|
|
408
|
+
placeholder: "请输入"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
label: "控制按钮位置",
|
|
413
|
+
type: "select",
|
|
414
|
+
defaultValue: "",
|
|
415
|
+
componentProps: {
|
|
416
|
+
options: [
|
|
417
|
+
{
|
|
418
|
+
label: "default",
|
|
419
|
+
value: ""
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
label: "right",
|
|
423
|
+
value: "right"
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
placeholder: "请选择",
|
|
427
|
+
clearable: !0
|
|
428
|
+
},
|
|
429
|
+
field: "componentProps.controlsPosition"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
label: "精度",
|
|
433
|
+
type: "number",
|
|
434
|
+
field: "componentProps.precision",
|
|
435
|
+
componentProps: {
|
|
436
|
+
placeholder: "请输入"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
label: "输入控制为步长的倍数",
|
|
441
|
+
type: "switch",
|
|
442
|
+
field: "componentProps.stepStrictly"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
label: "禁用",
|
|
446
|
+
type: "switch",
|
|
447
|
+
field: "componentProps.disabled"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
label: "隐藏",
|
|
451
|
+
type: "switch",
|
|
452
|
+
field: "componentProps.hidden"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
label: "表单校验",
|
|
456
|
+
type: "ERuleEditor",
|
|
457
|
+
layout: "vertical",
|
|
458
|
+
field: "rules",
|
|
459
|
+
describe: "校验规则需要配合表单使用",
|
|
460
|
+
componentProps: {
|
|
461
|
+
ruleType: "number"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
],
|
|
465
|
+
event: [
|
|
466
|
+
{
|
|
467
|
+
type: "change",
|
|
468
|
+
describe: "值变化时"
|
|
469
|
+
}
|
|
470
|
+
]
|
|
471
|
+
}
|
|
472
|
+
}, w = {
|
|
473
|
+
component: () => import("../../form-6cUK-Ari.js"),
|
|
474
|
+
groupName: "表单",
|
|
475
|
+
icon: "icon--epic--list-alt-outline-rounded",
|
|
476
|
+
sort: 600,
|
|
477
|
+
defaultSchema: {
|
|
478
|
+
label: "表单",
|
|
479
|
+
type: "form",
|
|
480
|
+
componentProps: {
|
|
481
|
+
name: "default",
|
|
482
|
+
labelWidth: "100px",
|
|
483
|
+
"label-position": "left"
|
|
484
|
+
},
|
|
485
|
+
children: []
|
|
486
|
+
},
|
|
487
|
+
config: {
|
|
488
|
+
attribute: [
|
|
489
|
+
{
|
|
490
|
+
label: "Name",
|
|
491
|
+
type: "input",
|
|
492
|
+
field: "componentProps.name"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
label: "标签位置",
|
|
496
|
+
type: "radio",
|
|
497
|
+
field: "componentProps.label-position",
|
|
498
|
+
componentProps: {
|
|
499
|
+
clearable: !0,
|
|
500
|
+
radioButton: !0,
|
|
501
|
+
options: [
|
|
502
|
+
{
|
|
503
|
+
label: "左边",
|
|
504
|
+
value: "left"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
label: "右边",
|
|
508
|
+
value: "right"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
label: "顶部",
|
|
512
|
+
value: "top"
|
|
513
|
+
}
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
label: "标签宽度",
|
|
519
|
+
type: "EInputSize",
|
|
520
|
+
field: "componentProps.labelWidth"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
label: "标签后缀",
|
|
524
|
+
type: "input",
|
|
525
|
+
field: "componentProps.labelSuffix",
|
|
526
|
+
componentProps: {
|
|
527
|
+
placeholder: "请输入"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
label: "表单尺寸",
|
|
532
|
+
type: "select",
|
|
533
|
+
field: "componentProps.size",
|
|
534
|
+
componentProps: {
|
|
535
|
+
placeholder: "请选择",
|
|
536
|
+
clearable: !0,
|
|
537
|
+
options: [
|
|
538
|
+
{
|
|
539
|
+
label: "大号",
|
|
540
|
+
value: "large"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
label: "中等",
|
|
544
|
+
value: "default"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
label: "小型",
|
|
548
|
+
value: "small"
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
label: "星号位置",
|
|
555
|
+
type: "select",
|
|
556
|
+
field: "componentProps.require-asterisk-position",
|
|
557
|
+
componentProps: {
|
|
558
|
+
placeholder: "请选择",
|
|
559
|
+
clearable: !0,
|
|
560
|
+
options: [
|
|
561
|
+
{
|
|
562
|
+
label: "左边",
|
|
563
|
+
value: "left"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
label: "右边",
|
|
567
|
+
value: "right"
|
|
568
|
+
}
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
label: "行内展示校验信息",
|
|
574
|
+
type: "switch",
|
|
575
|
+
field: "componentProps.inline-message"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
label: "校验反馈图标",
|
|
579
|
+
type: "switch",
|
|
580
|
+
field: "componentProps.status-icon"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
label: "滚动校验错误处",
|
|
584
|
+
type: "switch",
|
|
585
|
+
field: "componentProps.scroll-to-error"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
label: "行内模式",
|
|
589
|
+
type: "switch",
|
|
590
|
+
field: "componentProps.inline"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
label: "禁用",
|
|
594
|
+
type: "switch",
|
|
595
|
+
field: "componentProps.disabled"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
label: "隐藏",
|
|
599
|
+
type: "switch",
|
|
600
|
+
field: "componentProps.hidden"
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
action: [
|
|
604
|
+
{
|
|
605
|
+
type: "getData",
|
|
606
|
+
describe: "获取表单数据"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
type: "setData",
|
|
610
|
+
describe: "设置表单数据"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
type: "validate",
|
|
614
|
+
describe: "校验表单"
|
|
615
|
+
}
|
|
616
|
+
]
|
|
617
|
+
}
|
|
618
|
+
}, g = {
|
|
619
|
+
component: () => import("../../formItem-D10Om12T.js"),
|
|
620
|
+
defaultSchema: {
|
|
621
|
+
label: "表单项",
|
|
622
|
+
type: "form-item"
|
|
623
|
+
},
|
|
624
|
+
config: {}
|
|
625
|
+
}, E = {
|
|
626
|
+
component: () => import("../../button-BvmCwtR3.js"),
|
|
627
|
+
groupName: "表单",
|
|
628
|
+
icon: "icon--epic--fit-screen-rounded",
|
|
629
|
+
sort: 1200,
|
|
630
|
+
defaultSchema: {
|
|
631
|
+
label: "按钮",
|
|
632
|
+
type: "button",
|
|
633
|
+
field: "input",
|
|
634
|
+
input: !1
|
|
635
|
+
},
|
|
636
|
+
config: {
|
|
637
|
+
attribute: [
|
|
638
|
+
{
|
|
639
|
+
label: "标题",
|
|
640
|
+
type: "input",
|
|
641
|
+
field: "label"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
label: "类型",
|
|
645
|
+
type: "select",
|
|
646
|
+
componentProps: {
|
|
647
|
+
placeholder: "请选择",
|
|
648
|
+
clearable: !0,
|
|
649
|
+
options: [
|
|
650
|
+
{
|
|
651
|
+
label: "primary",
|
|
652
|
+
value: "primary"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
label: "success",
|
|
656
|
+
value: "success"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
label: "info",
|
|
660
|
+
value: "info"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
label: "warning",
|
|
664
|
+
value: "warning"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
label: "danger",
|
|
668
|
+
value: "danger"
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
},
|
|
672
|
+
field: "componentProps.type"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
label: "操作类型",
|
|
676
|
+
type: "select",
|
|
677
|
+
componentProps: {
|
|
678
|
+
placeholder: "请选择",
|
|
679
|
+
clearable: !0,
|
|
680
|
+
options: [
|
|
681
|
+
{
|
|
682
|
+
label: "button",
|
|
683
|
+
value: "button"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
label: "submit",
|
|
687
|
+
value: "submit"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
label: "reset",
|
|
691
|
+
value: "reset"
|
|
692
|
+
}
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
field: "componentProps.native-type"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
label: "自定义颜色",
|
|
699
|
+
type: "color-picker",
|
|
700
|
+
field: "componentProps.color",
|
|
701
|
+
componentProps: {
|
|
702
|
+
type: "color"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
label: "朴素按钮",
|
|
707
|
+
type: "switch",
|
|
708
|
+
field: "componentProps.plain"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
label: "圆角按钮",
|
|
712
|
+
type: "switch",
|
|
713
|
+
field: "componentProps.round"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
label: "圆形按钮",
|
|
717
|
+
type: "switch",
|
|
718
|
+
field: "componentProps.circle"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
label: "文字按钮",
|
|
722
|
+
type: "switch",
|
|
723
|
+
field: "componentProps.text"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
label: "加载状态",
|
|
727
|
+
type: "switch",
|
|
728
|
+
field: "componentProps.loading"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
label: "禁用",
|
|
732
|
+
type: "switch",
|
|
733
|
+
field: "componentProps.disabled"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
label: "隐藏",
|
|
737
|
+
type: "switch",
|
|
738
|
+
field: "componentProps.hidden"
|
|
739
|
+
}
|
|
740
|
+
],
|
|
741
|
+
event: [
|
|
742
|
+
{
|
|
743
|
+
type: "click",
|
|
744
|
+
describe: "点击按钮时"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
type: "dblclick",
|
|
748
|
+
describe: "双击按钮时"
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
}
|
|
752
|
+
}, x = {
|
|
753
|
+
component: () => import("../../card-CNGNDzPp.js"),
|
|
754
|
+
groupName: "布局",
|
|
755
|
+
icon: "icon--epic--wysiwyg-rounded",
|
|
756
|
+
sort: 700,
|
|
757
|
+
defaultSchema: {
|
|
758
|
+
label: "卡片布局",
|
|
759
|
+
type: "card",
|
|
760
|
+
children: [],
|
|
761
|
+
componentProps: {}
|
|
762
|
+
},
|
|
763
|
+
config: {
|
|
764
|
+
attribute: [
|
|
765
|
+
{
|
|
766
|
+
label: "标题",
|
|
767
|
+
type: "input",
|
|
768
|
+
field: "label"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
label: "阴影时机",
|
|
772
|
+
type: "select",
|
|
773
|
+
componentProps: {
|
|
774
|
+
options: [
|
|
775
|
+
{
|
|
776
|
+
label: "always",
|
|
777
|
+
value: "always"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
label: "hover",
|
|
781
|
+
value: "hover"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
label: "never",
|
|
785
|
+
value: "never"
|
|
786
|
+
}
|
|
787
|
+
],
|
|
788
|
+
placeholder: "请选择",
|
|
789
|
+
clearable: !0
|
|
790
|
+
},
|
|
791
|
+
field: "componentProps.shadow"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
label: "隐藏",
|
|
795
|
+
type: "switch",
|
|
796
|
+
field: "componentProps.hidden"
|
|
797
|
+
}
|
|
798
|
+
]
|
|
799
|
+
}
|
|
800
|
+
}, S = {
|
|
801
|
+
component: () => import("../../row-CkyJ9pQh.js"),
|
|
802
|
+
groupName: "布局",
|
|
803
|
+
icon: "icon--epic--width-normal-outline",
|
|
804
|
+
sort: 800,
|
|
805
|
+
defaultSchema: {
|
|
806
|
+
label: "栅格布局",
|
|
807
|
+
type: "row",
|
|
808
|
+
children: [
|
|
809
|
+
{
|
|
810
|
+
type: "col",
|
|
811
|
+
children: [],
|
|
812
|
+
componentProps: {
|
|
813
|
+
span: 12
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
type: "col",
|
|
818
|
+
children: [],
|
|
819
|
+
componentProps: {
|
|
820
|
+
span: 12
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
]
|
|
824
|
+
},
|
|
825
|
+
editConstraints: {
|
|
826
|
+
childImmovable: !0
|
|
827
|
+
},
|
|
828
|
+
config: {
|
|
829
|
+
attribute: [
|
|
830
|
+
{
|
|
831
|
+
label: "垂直对齐方式",
|
|
832
|
+
type: "select",
|
|
833
|
+
componentProps: {
|
|
834
|
+
style: { width: "100%" },
|
|
835
|
+
options: [
|
|
836
|
+
{
|
|
837
|
+
label: "top",
|
|
838
|
+
value: "top"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
label: "middle",
|
|
842
|
+
value: "middle"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
label: "bottom",
|
|
846
|
+
value: "bottom"
|
|
847
|
+
}
|
|
848
|
+
],
|
|
849
|
+
placeholder: "请选择"
|
|
850
|
+
},
|
|
851
|
+
field: "componentProps.align"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
label: "水平排列方式",
|
|
855
|
+
type: "select",
|
|
856
|
+
componentProps: {
|
|
857
|
+
style: { width: "100%" },
|
|
858
|
+
options: [
|
|
859
|
+
{
|
|
860
|
+
label: "start",
|
|
861
|
+
value: "start"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
label: "end",
|
|
865
|
+
value: "end"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
label: "center",
|
|
869
|
+
value: "center"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
label: "space-around",
|
|
873
|
+
value: "space-around"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
label: "space-between",
|
|
877
|
+
value: "space-between"
|
|
878
|
+
}
|
|
879
|
+
],
|
|
880
|
+
placeholder: "请选择"
|
|
881
|
+
},
|
|
882
|
+
field: "componentProps.justify"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
label: "栅格间距",
|
|
886
|
+
type: "number",
|
|
887
|
+
field: "componentProps.gutter",
|
|
888
|
+
componentProps: {
|
|
889
|
+
placeholder: "请输入"
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
label: "列编辑",
|
|
894
|
+
type: "EColEditor",
|
|
895
|
+
field: "children"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
label: "隐藏",
|
|
899
|
+
type: "switch",
|
|
900
|
+
field: "componentProps.hidden"
|
|
901
|
+
}
|
|
902
|
+
]
|
|
903
|
+
}
|
|
904
|
+
}, Y = {
|
|
905
|
+
component: () => import("../../col-0rmM8on4.js"),
|
|
906
|
+
defaultSchema: {
|
|
907
|
+
label: "栅格布局-列",
|
|
908
|
+
type: "col",
|
|
909
|
+
children: [],
|
|
910
|
+
componentProps: {
|
|
911
|
+
span: 6
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
config: {
|
|
915
|
+
attribute: [
|
|
916
|
+
{
|
|
917
|
+
label: "占位格数",
|
|
918
|
+
type: "number",
|
|
919
|
+
field: "componentProps.span"
|
|
920
|
+
}
|
|
921
|
+
]
|
|
922
|
+
}
|
|
923
|
+
}, V = {
|
|
924
|
+
component: () => import("../../select-B8HCbraJ.js"),
|
|
925
|
+
groupName: "表单",
|
|
926
|
+
icon: "icon--epic--select",
|
|
927
|
+
sort: 900,
|
|
928
|
+
defaultSchema: {
|
|
929
|
+
label: "选择框",
|
|
930
|
+
type: "select",
|
|
931
|
+
field: "select",
|
|
932
|
+
input: !0,
|
|
933
|
+
componentProps: {
|
|
934
|
+
options: [
|
|
935
|
+
{
|
|
936
|
+
label: "选项1",
|
|
937
|
+
value: "选项1"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
label: "选项2",
|
|
941
|
+
value: "选项2"
|
|
942
|
+
}
|
|
943
|
+
],
|
|
944
|
+
dynamicId: "",
|
|
945
|
+
placeholder: "请选择",
|
|
946
|
+
size: "default",
|
|
947
|
+
effect: "light",
|
|
948
|
+
placement: "bottom-start"
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
config: {
|
|
952
|
+
attribute: [
|
|
953
|
+
{
|
|
954
|
+
label: "字段名",
|
|
955
|
+
type: "input",
|
|
956
|
+
field: "field"
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
label: "标题",
|
|
960
|
+
type: "input",
|
|
961
|
+
field: "label"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
label: "默认值",
|
|
965
|
+
type: "select",
|
|
966
|
+
field: "componentProps.defaultValue"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
label: "占位内容",
|
|
970
|
+
type: "input",
|
|
971
|
+
field: "componentProps.placeholder"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
label: "尺寸",
|
|
975
|
+
type: "select",
|
|
976
|
+
componentProps: {
|
|
977
|
+
placeholder: "请选择",
|
|
978
|
+
clearable: !0,
|
|
979
|
+
options: [
|
|
980
|
+
{
|
|
981
|
+
label: "大号",
|
|
982
|
+
value: "large"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
label: "中等",
|
|
986
|
+
value: "default"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
label: "小型",
|
|
990
|
+
value: "small"
|
|
991
|
+
}
|
|
992
|
+
]
|
|
993
|
+
},
|
|
994
|
+
field: "componentProps.size"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
label: "可多选",
|
|
998
|
+
type: "switch",
|
|
999
|
+
field: "componentProps.multiple",
|
|
1000
|
+
onChange: ({ value: e, values: l }) => {
|
|
1001
|
+
e ? l.componentProps.defaultValue = [] : l.componentProps.defaultValue = null;
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
label: "多选隐藏",
|
|
1006
|
+
type: "switch",
|
|
1007
|
+
field: "componentProps.collapseTags",
|
|
1008
|
+
show: ({ values: e }) => e.componentProps.multiple
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
label: "隐藏提示",
|
|
1012
|
+
type: "switch",
|
|
1013
|
+
field: "componentProps.collapseTagsTooltip",
|
|
1014
|
+
show: ({ values: e }) => e.componentProps.multiple && e.componentProps.collapseTags
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
label: "保留搜索关键字",
|
|
1018
|
+
type: "switch",
|
|
1019
|
+
field: "componentProps.reserveKeyword",
|
|
1020
|
+
show: ({ values: e }) => e.componentProps.multiple
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
label: "标签类型",
|
|
1024
|
+
type: "select",
|
|
1025
|
+
defaultValue: "info",
|
|
1026
|
+
componentProps: {
|
|
1027
|
+
options: [
|
|
1028
|
+
{
|
|
1029
|
+
label: "success",
|
|
1030
|
+
value: "success"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
label: "info",
|
|
1034
|
+
value: "info"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
label: "warning",
|
|
1038
|
+
value: "warning"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
label: "danger",
|
|
1042
|
+
value: "danger"
|
|
1043
|
+
}
|
|
1044
|
+
]
|
|
1045
|
+
},
|
|
1046
|
+
show: ({ values: e }) => e.componentProps.multiple,
|
|
1047
|
+
field: "componentProps.tagType"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
label: "多选限制",
|
|
1051
|
+
type: "number",
|
|
1052
|
+
field: "componentProps.multipleLimit",
|
|
1053
|
+
show: ({ values: e }) => e.componentProps.multiple
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
label: "提示主题",
|
|
1057
|
+
type: "select",
|
|
1058
|
+
componentProps: {
|
|
1059
|
+
options: [
|
|
1060
|
+
{
|
|
1061
|
+
label: "light",
|
|
1062
|
+
value: "light"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
label: "dark",
|
|
1066
|
+
value: "dark"
|
|
1067
|
+
}
|
|
1068
|
+
]
|
|
1069
|
+
},
|
|
1070
|
+
field: "componentProps.effect"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
label: "可筛选",
|
|
1074
|
+
type: "switch",
|
|
1075
|
+
field: "componentProps.filterable"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
label: "允许创建条目",
|
|
1079
|
+
type: "switch",
|
|
1080
|
+
field: "componentProps.allowCreate"
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
label: "下拉框位置",
|
|
1084
|
+
type: "select",
|
|
1085
|
+
defaultValue: "bottom-start",
|
|
1086
|
+
componentProps: {
|
|
1087
|
+
options: [
|
|
1088
|
+
{
|
|
1089
|
+
label: "top",
|
|
1090
|
+
value: "top"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
label: "top-start",
|
|
1094
|
+
value: "top-start"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
label: "top-end",
|
|
1098
|
+
value: "top-end"
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
label: "bottom",
|
|
1102
|
+
value: "bottom"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
label: "bottom-start",
|
|
1106
|
+
value: "bottom-start"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
label: "bottom-end",
|
|
1110
|
+
value: "bottom-end"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
label: "left",
|
|
1114
|
+
value: "left"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
label: "left-start",
|
|
1118
|
+
value: "left-start"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
label: "left-end",
|
|
1122
|
+
value: "left-end"
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
label: "right",
|
|
1126
|
+
value: "right"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
label: "right-start",
|
|
1130
|
+
value: "right-start"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
label: "right-end",
|
|
1134
|
+
value: "right-end"
|
|
1135
|
+
}
|
|
1136
|
+
]
|
|
1137
|
+
},
|
|
1138
|
+
field: "componentProps.placement"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
label: "下拉框宽度与输入框相同",
|
|
1142
|
+
type: "switch",
|
|
1143
|
+
field: "componentProps.fitInputWidth"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
label: "无数据时文本",
|
|
1147
|
+
type: "input",
|
|
1148
|
+
field: "componentProps.noDataText",
|
|
1149
|
+
componentProps: {
|
|
1150
|
+
placeholder: "请输入"
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
label: "可清空",
|
|
1155
|
+
type: "switch",
|
|
1156
|
+
field: "componentProps.clearable"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
label: "禁用",
|
|
1160
|
+
type: "switch",
|
|
1161
|
+
field: "componentProps.disabled"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
label: "隐藏",
|
|
1165
|
+
type: "switch",
|
|
1166
|
+
field: "componentProps.hidden"
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
label: "选项管理",
|
|
1170
|
+
type: "EOptionsEditor",
|
|
1171
|
+
layout: "vertical",
|
|
1172
|
+
field: "componentProps.options",
|
|
1173
|
+
describe: "配置选项"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
label: "表单校验",
|
|
1177
|
+
type: "ERuleEditor",
|
|
1178
|
+
layout: "vertical",
|
|
1179
|
+
field: "rules",
|
|
1180
|
+
describe: "校验规则需要配合表单使用"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
label: "数据源",
|
|
1184
|
+
type: "EDataSource",
|
|
1185
|
+
layout: "vertical",
|
|
1186
|
+
field: "componentProps.dataSource",
|
|
1187
|
+
describe: "数据源配置"
|
|
1188
|
+
}
|
|
1189
|
+
],
|
|
1190
|
+
event: [
|
|
1191
|
+
{
|
|
1192
|
+
type: "change",
|
|
1193
|
+
describe: "值变化时"
|
|
1194
|
+
}
|
|
1195
|
+
]
|
|
1196
|
+
}
|
|
1197
|
+
}, C = {
|
|
1198
|
+
component: () => import("../../radio-ChBAvqeY.js"),
|
|
1199
|
+
groupName: "表单",
|
|
1200
|
+
icon: "icon--epic--radio-button-checked-outline",
|
|
1201
|
+
sort: 850,
|
|
1202
|
+
defaultSchema: {
|
|
1203
|
+
label: "单选框",
|
|
1204
|
+
type: "radio",
|
|
1205
|
+
field: "radio",
|
|
1206
|
+
input: !0,
|
|
1207
|
+
componentProps: {
|
|
1208
|
+
options: [
|
|
1209
|
+
{
|
|
1210
|
+
label: "选项1",
|
|
1211
|
+
value: "选项1"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
label: "选项2",
|
|
1215
|
+
value: "选项2"
|
|
1216
|
+
}
|
|
1217
|
+
],
|
|
1218
|
+
size: "default"
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
config: {
|
|
1222
|
+
attribute: [
|
|
1223
|
+
{
|
|
1224
|
+
label: "字段名",
|
|
1225
|
+
type: "input",
|
|
1226
|
+
field: "field"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
label: "标题",
|
|
1230
|
+
type: "input",
|
|
1231
|
+
field: "label"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
label: "默认值",
|
|
1235
|
+
type: "radio",
|
|
1236
|
+
field: "componentProps.defaultValue"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
label: "尺寸",
|
|
1240
|
+
type: "select",
|
|
1241
|
+
componentProps: {
|
|
1242
|
+
placeholder: "请选择",
|
|
1243
|
+
clearable: !0,
|
|
1244
|
+
options: [
|
|
1245
|
+
{
|
|
1246
|
+
label: "大号",
|
|
1247
|
+
value: "large"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
label: "中等",
|
|
1251
|
+
value: "default"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
label: "小型",
|
|
1255
|
+
value: "small"
|
|
1256
|
+
}
|
|
1257
|
+
]
|
|
1258
|
+
},
|
|
1259
|
+
field: "componentProps.size"
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
label: "按钮模式",
|
|
1263
|
+
type: "switch",
|
|
1264
|
+
field: "componentProps.radioButton"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
label: "选项文本颜色",
|
|
1268
|
+
type: "color-picker",
|
|
1269
|
+
layout: "horizontal",
|
|
1270
|
+
field: "componentProps.textColor",
|
|
1271
|
+
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1272
|
+
describe: "按钮模式下生效"
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
label: "选项按钮颜色",
|
|
1276
|
+
type: "color-picker",
|
|
1277
|
+
layout: "horizontal",
|
|
1278
|
+
field: "componentProps.fill",
|
|
1279
|
+
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1280
|
+
describe: "按钮模式下生效"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
label: "禁用",
|
|
1284
|
+
type: "switch",
|
|
1285
|
+
field: "componentProps.disabled"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
label: "隐藏",
|
|
1289
|
+
type: "switch",
|
|
1290
|
+
field: "componentProps.hidden"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
label: "选项管理",
|
|
1294
|
+
type: "EOptionsEditor",
|
|
1295
|
+
layout: "vertical",
|
|
1296
|
+
field: "componentProps.options"
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
label: "表单校验",
|
|
1300
|
+
type: "ERuleEditor",
|
|
1301
|
+
layout: "vertical",
|
|
1302
|
+
field: "rules",
|
|
1303
|
+
describe: "校验规则需要配合表单使用"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
label: "数据源",
|
|
1307
|
+
type: "EDataSource",
|
|
1308
|
+
layout: "vertical",
|
|
1309
|
+
field: "componentProps.dataSource",
|
|
1310
|
+
describe: "数据源配置"
|
|
1311
|
+
}
|
|
1312
|
+
],
|
|
1313
|
+
event: [
|
|
1314
|
+
{
|
|
1315
|
+
type: "change",
|
|
1316
|
+
describe: "值变化时"
|
|
1317
|
+
}
|
|
1318
|
+
]
|
|
1319
|
+
}
|
|
1320
|
+
}, k = {
|
|
1321
|
+
component: () => import("../../checkbox-LVKgMSjI.js"),
|
|
1322
|
+
groupName: "表单",
|
|
1323
|
+
icon: "icon--epic--dialogs-outline-rounded",
|
|
1324
|
+
sort: 860,
|
|
1325
|
+
defaultSchema: {
|
|
1326
|
+
label: "复选框",
|
|
1327
|
+
type: "checkbox",
|
|
1328
|
+
field: "checkbox",
|
|
1329
|
+
input: !0,
|
|
1330
|
+
componentProps: {
|
|
1331
|
+
options: [
|
|
1332
|
+
{
|
|
1333
|
+
label: "选项1",
|
|
1334
|
+
value: "选项1"
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
label: "选项2",
|
|
1338
|
+
value: "选项2"
|
|
1339
|
+
}
|
|
1340
|
+
]
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
config: {
|
|
1344
|
+
attribute: [
|
|
1345
|
+
{
|
|
1346
|
+
label: "字段名",
|
|
1347
|
+
type: "input",
|
|
1348
|
+
field: "field"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
label: "标题",
|
|
1352
|
+
type: "input",
|
|
1353
|
+
field: "label"
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
label: "默认值",
|
|
1357
|
+
type: "checkbox",
|
|
1358
|
+
field: "componentProps.defaultValue"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
label: "尺寸",
|
|
1362
|
+
type: "select",
|
|
1363
|
+
componentProps: {
|
|
1364
|
+
placeholder: "请选择",
|
|
1365
|
+
clearable: !0,
|
|
1366
|
+
options: [
|
|
1367
|
+
{
|
|
1368
|
+
label: "大号",
|
|
1369
|
+
value: "large"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
label: "中等",
|
|
1373
|
+
value: "default"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
label: "小型",
|
|
1377
|
+
value: "small"
|
|
1378
|
+
}
|
|
1379
|
+
]
|
|
1380
|
+
},
|
|
1381
|
+
field: "componentProps.size"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
label: "最大选中数",
|
|
1385
|
+
type: "number",
|
|
1386
|
+
field: "componentProps.max",
|
|
1387
|
+
componentProps: {
|
|
1388
|
+
placeholder: "请输入"
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
label: "最小选中数",
|
|
1393
|
+
type: "number",
|
|
1394
|
+
field: "componentProps.min",
|
|
1395
|
+
componentProps: {
|
|
1396
|
+
placeholder: "请输入"
|
|
1397
|
+
}
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
label: "按钮模式",
|
|
1401
|
+
type: "switch",
|
|
1402
|
+
field: "componentProps.radioButton"
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
label: "选项文本颜色",
|
|
1406
|
+
type: "color-picker",
|
|
1407
|
+
layout: "horizontal",
|
|
1408
|
+
field: "componentProps.textColor",
|
|
1409
|
+
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1410
|
+
describe: "按钮模式下生效"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
label: "选项按钮颜色",
|
|
1414
|
+
type: "color-picker",
|
|
1415
|
+
layout: "horizontal",
|
|
1416
|
+
field: "componentProps.fill",
|
|
1417
|
+
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1418
|
+
describe: "按钮模式下生效"
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
label: "禁用",
|
|
1422
|
+
type: "switch",
|
|
1423
|
+
field: "componentProps.disabled"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
label: "隐藏",
|
|
1427
|
+
type: "switch",
|
|
1428
|
+
field: "componentProps.hidden"
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
label: "选项管理",
|
|
1432
|
+
type: "EOptionsEditor",
|
|
1433
|
+
layout: "vertical",
|
|
1434
|
+
field: "componentProps.options"
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
label: "表单校验",
|
|
1438
|
+
type: "ERuleEditor",
|
|
1439
|
+
layout: "vertical",
|
|
1440
|
+
field: "rules",
|
|
1441
|
+
describe: "校验规则需要配合表单使用",
|
|
1442
|
+
componentProps: {
|
|
1443
|
+
ruleType: "array"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
label: "数据源",
|
|
1448
|
+
type: "EDataSource",
|
|
1449
|
+
layout: "vertical",
|
|
1450
|
+
field: "componentProps.dataSource",
|
|
1451
|
+
describe: "数据源配置"
|
|
1452
|
+
}
|
|
1453
|
+
],
|
|
1454
|
+
event: [
|
|
1455
|
+
{
|
|
1456
|
+
type: "change",
|
|
1457
|
+
describe: "值变化时"
|
|
1458
|
+
}
|
|
1459
|
+
]
|
|
1460
|
+
}
|
|
1461
|
+
}, T = {
|
|
1462
|
+
component: async () => (await import("element-plus")).ElSlider,
|
|
1463
|
+
groupName: "表单",
|
|
1464
|
+
icon: "icon--epic--switches",
|
|
1465
|
+
sort: 930,
|
|
1466
|
+
defaultSchema: {
|
|
1467
|
+
label: "滑块",
|
|
1468
|
+
type: "slider",
|
|
1469
|
+
field: "slider",
|
|
1470
|
+
input: !0,
|
|
1471
|
+
componentProps: {
|
|
1472
|
+
placement: "top-start",
|
|
1473
|
+
showTooltip: !0
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1476
|
+
config: {
|
|
1477
|
+
attribute: [
|
|
1478
|
+
{
|
|
1479
|
+
label: "字段名",
|
|
1480
|
+
type: "input",
|
|
1481
|
+
field: "field"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
label: "标题",
|
|
1485
|
+
type: "input",
|
|
1486
|
+
field: "label"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
label: "默认值",
|
|
1490
|
+
type: "slider",
|
|
1491
|
+
field: "componentProps.defaultValue"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
label: "尺寸",
|
|
1495
|
+
type: "select",
|
|
1496
|
+
componentProps: {
|
|
1497
|
+
placeholder: "请选择",
|
|
1498
|
+
clearable: !0,
|
|
1499
|
+
options: [
|
|
1500
|
+
{
|
|
1501
|
+
label: "大号",
|
|
1502
|
+
value: "large"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
label: "中等",
|
|
1506
|
+
value: "default"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
label: "小型",
|
|
1510
|
+
value: "small"
|
|
1511
|
+
}
|
|
1512
|
+
]
|
|
1513
|
+
},
|
|
1514
|
+
field: "componentProps.size"
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
label: "最小值",
|
|
1518
|
+
type: "number",
|
|
1519
|
+
field: "componentProps.min",
|
|
1520
|
+
componentProps: {
|
|
1521
|
+
placeholder: "请输入"
|
|
1522
|
+
},
|
|
1523
|
+
onChange: ({ value: e, values: l, componentAttributes: o }) => {
|
|
1524
|
+
const t = o.value.findIndex(
|
|
1525
|
+
(n) => n.field === "componentProps.max"
|
|
1526
|
+
), p = o.value[t];
|
|
1527
|
+
p.componentProps = {
|
|
1528
|
+
min: e
|
|
1529
|
+
}, (l.componentProps.max ?? 0) < e && (l.componentProps.max = e);
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
label: "最大值",
|
|
1534
|
+
type: "number",
|
|
1535
|
+
field: "componentProps.max",
|
|
1536
|
+
componentProps: {
|
|
1537
|
+
placeholder: "请输入"
|
|
1538
|
+
},
|
|
1539
|
+
onChange: ({ value: e, values: l, componentAttributes: o }) => {
|
|
1540
|
+
const t = o.value.findIndex(
|
|
1541
|
+
(n) => n.field === "componentProps.min"
|
|
1542
|
+
), p = o.value[t];
|
|
1543
|
+
p.componentProps = {
|
|
1544
|
+
max: e
|
|
1545
|
+
}, (l.componentProps.min ?? 0) > e && (l.componentProps.min = e);
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
label: "步长",
|
|
1550
|
+
type: "number",
|
|
1551
|
+
field: "componentProps.step",
|
|
1552
|
+
componentProps: {
|
|
1553
|
+
placeholder: "请输入"
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
label: "显示间断点",
|
|
1558
|
+
type: "switch",
|
|
1559
|
+
field: "componentProps.showStops"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
label: "提示信息",
|
|
1563
|
+
type: "switch",
|
|
1564
|
+
field: "componentProps.showTooltip"
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
label: "开启选择范围",
|
|
1568
|
+
type: "switch",
|
|
1569
|
+
field: "componentProps.range"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
label: "垂直模式",
|
|
1573
|
+
type: "switch",
|
|
1574
|
+
field: "componentProps.vertical"
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
label: "高度",
|
|
1578
|
+
type: "EInputSize",
|
|
1579
|
+
field: "componentProps.height",
|
|
1580
|
+
show: ({ values: e }) => e.componentProps.vertical
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
label: "显示数字框",
|
|
1584
|
+
type: "switch",
|
|
1585
|
+
field: "componentProps.showInput",
|
|
1586
|
+
onChange: ({ value: e, values: l }) => {
|
|
1587
|
+
e && (l.componentProps.showInputControls = !0);
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
label: "控制按钮",
|
|
1592
|
+
type: "switch",
|
|
1593
|
+
field: "componentProps.showInputControls",
|
|
1594
|
+
show: ({ values: e }) => e.componentProps.showInput
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
label: "提示框位置",
|
|
1598
|
+
type: "select",
|
|
1599
|
+
defaultValue: "bottom-start",
|
|
1600
|
+
componentProps: {
|
|
1601
|
+
options: [
|
|
1602
|
+
{
|
|
1603
|
+
label: "top",
|
|
1604
|
+
value: "top"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
label: "top-start",
|
|
1608
|
+
value: "top-start"
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
label: "top-end",
|
|
1612
|
+
value: "top-end"
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
label: "bottom",
|
|
1616
|
+
value: "bottom"
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
label: "bottom-start",
|
|
1620
|
+
value: "bottom-start"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
label: "bottom-end",
|
|
1624
|
+
value: "bottom-end"
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
label: "left",
|
|
1628
|
+
value: "left"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
label: "left-start",
|
|
1632
|
+
value: "left-start"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
label: "left-end",
|
|
1636
|
+
value: "left-end"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
label: "right",
|
|
1640
|
+
value: "right"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
label: "right-start",
|
|
1644
|
+
value: "right-start"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
label: "right-end",
|
|
1648
|
+
value: "right-end"
|
|
1649
|
+
}
|
|
1650
|
+
]
|
|
1651
|
+
},
|
|
1652
|
+
field: "componentProps.placement"
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
label: "禁用",
|
|
1656
|
+
type: "switch",
|
|
1657
|
+
field: "componentProps.disabled"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
label: "隐藏",
|
|
1661
|
+
type: "switch",
|
|
1662
|
+
field: "componentProps.hidden"
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
label: "表单校验",
|
|
1666
|
+
type: "ERuleEditor",
|
|
1667
|
+
layout: "vertical",
|
|
1668
|
+
field: "rules",
|
|
1669
|
+
describe: "校验规则需要配合表单使用",
|
|
1670
|
+
componentProps: {
|
|
1671
|
+
ruleType: "number"
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
],
|
|
1675
|
+
event: [
|
|
1676
|
+
{
|
|
1677
|
+
type: "input",
|
|
1678
|
+
describe: "拖拽实时触发"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
type: "change",
|
|
1682
|
+
describe: "拖拽结束改变值时"
|
|
1683
|
+
}
|
|
1684
|
+
]
|
|
1685
|
+
}
|
|
1686
|
+
}, I = {
|
|
1687
|
+
component: async () => (await import("element-plus")).ElColorPicker,
|
|
1688
|
+
groupName: "表单",
|
|
1689
|
+
icon: "icon--epic--palette-outline",
|
|
1690
|
+
sort: 950,
|
|
1691
|
+
defaultSchema: {
|
|
1692
|
+
label: "颜色选择器",
|
|
1693
|
+
type: "color-picker",
|
|
1694
|
+
field: "color-picker",
|
|
1695
|
+
input: !0
|
|
1696
|
+
},
|
|
1697
|
+
config: {
|
|
1698
|
+
attribute: [
|
|
1699
|
+
{
|
|
1700
|
+
label: "字段名",
|
|
1701
|
+
type: "input",
|
|
1702
|
+
field: "field"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
label: "标题",
|
|
1706
|
+
type: "input",
|
|
1707
|
+
field: "label"
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
label: "默认值",
|
|
1711
|
+
type: "color-picker",
|
|
1712
|
+
field: "componentProps.defaultValue"
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
label: "尺寸",
|
|
1716
|
+
type: "select",
|
|
1717
|
+
componentProps: {
|
|
1718
|
+
placeholder: "请选择",
|
|
1719
|
+
clearable: !0,
|
|
1720
|
+
options: [
|
|
1721
|
+
{
|
|
1722
|
+
label: "大号",
|
|
1723
|
+
value: "large"
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
label: "中等",
|
|
1727
|
+
value: "default"
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
label: "小型",
|
|
1731
|
+
value: "small"
|
|
1732
|
+
}
|
|
1733
|
+
]
|
|
1734
|
+
},
|
|
1735
|
+
field: "componentProps.size"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
label: "格式",
|
|
1739
|
+
type: "select",
|
|
1740
|
+
componentProps: {
|
|
1741
|
+
placeholder: "请选择",
|
|
1742
|
+
clearable: !0,
|
|
1743
|
+
options: [
|
|
1744
|
+
{
|
|
1745
|
+
label: "hsl",
|
|
1746
|
+
value: "hsl"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
label: "hsv",
|
|
1750
|
+
value: "hsv"
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
label: "hex",
|
|
1754
|
+
value: "hex"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
label: "rgb",
|
|
1758
|
+
value: "rgb"
|
|
1759
|
+
}
|
|
1760
|
+
]
|
|
1761
|
+
},
|
|
1762
|
+
field: "componentProps.colorFormat"
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
label: "透明度选择",
|
|
1766
|
+
type: "switch",
|
|
1767
|
+
field: "componentProps.showAlpha"
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
label: "禁用",
|
|
1771
|
+
type: "switch",
|
|
1772
|
+
field: "componentProps.disabled"
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
label: "隐藏",
|
|
1776
|
+
type: "switch",
|
|
1777
|
+
field: "componentProps.hidden"
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
label: "表单校验",
|
|
1781
|
+
type: "ERuleEditor",
|
|
1782
|
+
layout: "vertical",
|
|
1783
|
+
field: "rules",
|
|
1784
|
+
describe: "校验规则需要配合表单使用"
|
|
1785
|
+
}
|
|
1786
|
+
],
|
|
1787
|
+
event: [
|
|
1788
|
+
{
|
|
1789
|
+
type: "change",
|
|
1790
|
+
describe: "值变化时"
|
|
1791
|
+
}
|
|
1792
|
+
],
|
|
1793
|
+
action: []
|
|
1794
|
+
}
|
|
1795
|
+
}, D = {
|
|
1796
|
+
component: async () => (await import("element-plus")).ElSwitch,
|
|
1797
|
+
groupName: "表单",
|
|
1798
|
+
icon: "icon--epic--toggle-off-outline",
|
|
1799
|
+
sort: 930,
|
|
1800
|
+
defaultSchema: {
|
|
1801
|
+
label: "开关",
|
|
1802
|
+
type: "switch",
|
|
1803
|
+
field: "switch",
|
|
1804
|
+
input: !0,
|
|
1805
|
+
componentProps: {
|
|
1806
|
+
defaultValue: !1
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1809
|
+
config: {
|
|
1810
|
+
attribute: [
|
|
1811
|
+
{
|
|
1812
|
+
label: "字段名",
|
|
1813
|
+
type: "input",
|
|
1814
|
+
field: "field"
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
label: "标题",
|
|
1818
|
+
type: "input",
|
|
1819
|
+
field: "label"
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
label: "默认值",
|
|
1823
|
+
type: "switch",
|
|
1824
|
+
field: "componentProps.defaultValue"
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
label: "ON状态值",
|
|
1828
|
+
type: "input",
|
|
1829
|
+
field: "componentProps.activeValue",
|
|
1830
|
+
componentProps: {
|
|
1831
|
+
placeholder: "请输入"
|
|
1832
|
+
},
|
|
1833
|
+
onChange(e) {
|
|
1834
|
+
setTimeout(() => a(e));
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
label: "OFF状态值",
|
|
1839
|
+
type: "input",
|
|
1840
|
+
field: "componentProps.inactiveValue",
|
|
1841
|
+
componentProps: {
|
|
1842
|
+
placeholder: "请输入"
|
|
1843
|
+
},
|
|
1844
|
+
onChange(e) {
|
|
1845
|
+
setTimeout(() => a(e));
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
label: "ON状态描述",
|
|
1850
|
+
type: "input",
|
|
1851
|
+
field: "componentProps.activeText",
|
|
1852
|
+
componentProps: {
|
|
1853
|
+
placeholder: "请输入"
|
|
1854
|
+
}
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
label: "OFF状态描述",
|
|
1858
|
+
type: "input",
|
|
1859
|
+
field: "componentProps.inactiveText",
|
|
1860
|
+
componentProps: {
|
|
1861
|
+
placeholder: "请输入"
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
label: "尺寸",
|
|
1866
|
+
type: "select",
|
|
1867
|
+
componentProps: {
|
|
1868
|
+
placeholder: "请选择",
|
|
1869
|
+
clearable: !0,
|
|
1870
|
+
options: [
|
|
1871
|
+
{
|
|
1872
|
+
label: "大号",
|
|
1873
|
+
value: "large"
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
label: "中等",
|
|
1877
|
+
value: "default"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
label: "小型",
|
|
1881
|
+
value: "small"
|
|
1882
|
+
}
|
|
1883
|
+
]
|
|
1884
|
+
},
|
|
1885
|
+
field: "componentProps.size"
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
label: "宽度",
|
|
1889
|
+
type: "number",
|
|
1890
|
+
field: "componentProps.width",
|
|
1891
|
+
componentProps: {
|
|
1892
|
+
min: 50,
|
|
1893
|
+
placeholder: "请输入"
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
label: "文本点内显示",
|
|
1898
|
+
type: "switch",
|
|
1899
|
+
field: "componentProps.inlinePrompt"
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
label: "禁用",
|
|
1903
|
+
type: "switch",
|
|
1904
|
+
field: "componentProps.disabled"
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
label: "隐藏",
|
|
1908
|
+
type: "switch",
|
|
1909
|
+
field: "componentProps.hidden"
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
label: "表单校验",
|
|
1913
|
+
type: "ERuleEditor",
|
|
1914
|
+
layout: "vertical",
|
|
1915
|
+
field: "rules",
|
|
1916
|
+
describe: "校验规则需要配合表单使用",
|
|
1917
|
+
componentProps: {
|
|
1918
|
+
ruleType: "boolean"
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
],
|
|
1922
|
+
event: [
|
|
1923
|
+
{
|
|
1924
|
+
type: "change",
|
|
1925
|
+
describe: "状态发生变化时"
|
|
1926
|
+
}
|
|
1927
|
+
]
|
|
1928
|
+
}
|
|
1929
|
+
};
|
|
1930
|
+
function a(e) {
|
|
1931
|
+
var o;
|
|
1932
|
+
let l = ((o = e.values.componentProps) == null ? void 0 : o.inactiveValue) || !1;
|
|
1933
|
+
e.values.componentProps.unCheckedValue === "" && delete e.values.componentProps.unCheckedValue, e.values.componentProps.activeValue === "" && delete e.values.componentProps.activeValue, e.values.componentProps ? e.values.componentProps.defaultValue = l : e.values.componentProps = {
|
|
1934
|
+
defaultValue: l
|
|
1935
|
+
};
|
|
1936
|
+
}
|
|
1937
|
+
const z = {
|
|
1938
|
+
component: async () => (await import("element-plus")).ElCascader,
|
|
1939
|
+
groupName: "表单",
|
|
1940
|
+
icon: "icon--epic--full-coverage-outline",
|
|
1941
|
+
sort: 900,
|
|
1942
|
+
defaultSchema: {
|
|
1943
|
+
label: "级联选择器",
|
|
1944
|
+
type: "cascader",
|
|
1945
|
+
field: "cascader",
|
|
1946
|
+
input: !0,
|
|
1947
|
+
componentProps: {
|
|
1948
|
+
options: [
|
|
1949
|
+
{
|
|
1950
|
+
label: "选项1",
|
|
1951
|
+
value: "选项1"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
label: "选项2",
|
|
1955
|
+
value: "选项2"
|
|
1956
|
+
}
|
|
1957
|
+
],
|
|
1958
|
+
placeholder: "请选择",
|
|
1959
|
+
props: {
|
|
1960
|
+
expandTrigger: "click"
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
},
|
|
1964
|
+
config: {
|
|
1965
|
+
attribute: [
|
|
1966
|
+
{
|
|
1967
|
+
label: "字段名",
|
|
1968
|
+
type: "input",
|
|
1969
|
+
field: "field"
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
label: "标题",
|
|
1973
|
+
type: "input",
|
|
1974
|
+
field: "label"
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
label: "默认值",
|
|
1978
|
+
type: "cascader",
|
|
1979
|
+
field: "componentProps.defaultValue"
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
label: "占位内容",
|
|
1983
|
+
type: "input",
|
|
1984
|
+
field: "componentProps.placeholder"
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
label: "尺寸",
|
|
1988
|
+
type: "select",
|
|
1989
|
+
componentProps: {
|
|
1990
|
+
placeholder: "请选择",
|
|
1991
|
+
clearable: !0,
|
|
1992
|
+
options: [
|
|
1993
|
+
{
|
|
1994
|
+
label: "大号",
|
|
1995
|
+
value: "large"
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
label: "中等",
|
|
1999
|
+
value: "default"
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
label: "小型",
|
|
2003
|
+
value: "small"
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
field: "componentProps.size"
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
label: "分割符",
|
|
2011
|
+
type: "input",
|
|
2012
|
+
componentProps: {
|
|
2013
|
+
placeholder: "请输入"
|
|
2014
|
+
},
|
|
2015
|
+
field: "componentProps.separator"
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
label: "次级菜单展开方式",
|
|
2019
|
+
type: "select",
|
|
2020
|
+
field: "componentProps.props.expandTrigger",
|
|
2021
|
+
componentProps: {
|
|
2022
|
+
placeholder: "请选择",
|
|
2023
|
+
clearable: !0,
|
|
2024
|
+
options: [
|
|
2025
|
+
{
|
|
2026
|
+
label: "click",
|
|
2027
|
+
value: "click"
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
label: "hover",
|
|
2031
|
+
value: "hover"
|
|
2032
|
+
}
|
|
2033
|
+
]
|
|
2034
|
+
}
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
label: "可搜索",
|
|
2038
|
+
type: "switch",
|
|
2039
|
+
field: "componentProps.filterable"
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
label: "可多选",
|
|
2043
|
+
type: "switch",
|
|
2044
|
+
field: "componentProps.props.multiple",
|
|
2045
|
+
onChange: ({ value: e, values: l }) => {
|
|
2046
|
+
e ? l.componentProps.defaultValue = [] : l.componentProps.defaultValue = null;
|
|
2047
|
+
}
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
label: "折叠Tag",
|
|
2051
|
+
type: "switch",
|
|
2052
|
+
field: "componentProps.collapseTags",
|
|
2053
|
+
show: ({ values: e }) => e.componentProps.props.multiple
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
label: "显示被折叠标签",
|
|
2057
|
+
type: "switch",
|
|
2058
|
+
field: "componentProps.collapseTagsTooltip",
|
|
2059
|
+
show: ({ values: e }) => e.componentProps.props.multiple && e.componentProps.collapseTags
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
label: "不显示路径",
|
|
2063
|
+
type: "switch",
|
|
2064
|
+
componentProps: {
|
|
2065
|
+
activeValue: !1,
|
|
2066
|
+
inactiveValue: !0
|
|
2067
|
+
},
|
|
2068
|
+
field: "componentProps.showAllLevels"
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
label: "父级可选",
|
|
2072
|
+
type: "switch",
|
|
2073
|
+
field: "componentProps.props.checkStrictly",
|
|
2074
|
+
describe: "父子节点不互相关联"
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
label: "只获取选中节点",
|
|
2078
|
+
type: "switch",
|
|
2079
|
+
field: "componentProps.props.emitPath",
|
|
2080
|
+
componentProps: {
|
|
2081
|
+
activeValue: !1,
|
|
2082
|
+
inactiveValue: !0
|
|
2083
|
+
}
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
label: "可清空",
|
|
2087
|
+
type: "switch",
|
|
2088
|
+
field: "componentProps.clearable"
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
label: "禁用",
|
|
2092
|
+
type: "switch",
|
|
2093
|
+
field: "componentProps.disabled"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
label: "隐藏",
|
|
2097
|
+
type: "switch",
|
|
2098
|
+
field: "componentProps.hidden"
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
label: "选项管理",
|
|
2102
|
+
type: "EOptionsEditor",
|
|
2103
|
+
layout: "vertical",
|
|
2104
|
+
field: "componentProps.options",
|
|
2105
|
+
componentProps: {
|
|
2106
|
+
tree: !0
|
|
2107
|
+
},
|
|
2108
|
+
describe: "配置选项"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
label: "表单校验",
|
|
2112
|
+
type: "ERuleEditor",
|
|
2113
|
+
layout: "vertical",
|
|
2114
|
+
field: "rules",
|
|
2115
|
+
describe: "校验规则需要配合表单使用",
|
|
2116
|
+
componentProps: {
|
|
2117
|
+
ruleType: "array"
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
label: "数据源",
|
|
2122
|
+
type: "EDataSource",
|
|
2123
|
+
layout: "vertical",
|
|
2124
|
+
field: "componentProps.dataSource",
|
|
2125
|
+
describe: "数据源配置"
|
|
2126
|
+
}
|
|
2127
|
+
],
|
|
2128
|
+
event: [
|
|
2129
|
+
{
|
|
2130
|
+
type: "change",
|
|
2131
|
+
describe: "选中节点变化时"
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
type: "blur",
|
|
2135
|
+
describe: " 当失去焦点时触发"
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
type: "focus",
|
|
2139
|
+
describe: "当获得焦点时触发"
|
|
2140
|
+
}
|
|
2141
|
+
],
|
|
2142
|
+
action: [
|
|
2143
|
+
{
|
|
2144
|
+
type: "getCheckedNodes",
|
|
2145
|
+
describe: "获取当前选中节点"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
type: "togglePopperVisible",
|
|
2149
|
+
describe: "切换 popper 可见状态"
|
|
2150
|
+
}
|
|
2151
|
+
]
|
|
2152
|
+
}
|
|
2153
|
+
}, F = {
|
|
2154
|
+
component: () => import("../../collapse-I4H1VTFf.js"),
|
|
2155
|
+
icon: "epic-icon-xiala",
|
|
2156
|
+
defaultSchema: {
|
|
2157
|
+
label: "折叠面板",
|
|
2158
|
+
type: "collapse",
|
|
2159
|
+
children: [
|
|
2160
|
+
{
|
|
2161
|
+
type: "collapse-item",
|
|
2162
|
+
children: [],
|
|
2163
|
+
componentProps: {
|
|
2164
|
+
span: 12
|
|
2165
|
+
},
|
|
2166
|
+
id: "g062zikd2jk001"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
type: "collapse-item",
|
|
2170
|
+
children: [],
|
|
2171
|
+
componentProps: {
|
|
2172
|
+
span: 12
|
|
2173
|
+
},
|
|
2174
|
+
id: "gy5z9jtfb3s001"
|
|
2175
|
+
}
|
|
2176
|
+
]
|
|
2177
|
+
},
|
|
2178
|
+
config: {
|
|
2179
|
+
attribute: [
|
|
2180
|
+
{
|
|
2181
|
+
label: "折叠项管理",
|
|
2182
|
+
type: "EColEditor",
|
|
2183
|
+
field: "children"
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
label: "隐藏",
|
|
2187
|
+
type: "switch",
|
|
2188
|
+
field: "componentProps.hidden"
|
|
2189
|
+
}
|
|
2190
|
+
]
|
|
2191
|
+
}
|
|
2192
|
+
}, N = {
|
|
2193
|
+
component: () => import("../../collapseItem-CW_HTWvE.js"),
|
|
2194
|
+
defaultSchema: {
|
|
2195
|
+
label: "折叠项",
|
|
2196
|
+
type: "collapse-item",
|
|
2197
|
+
children: []
|
|
2198
|
+
},
|
|
2199
|
+
config: {
|
|
2200
|
+
attribute: []
|
|
2201
|
+
}
|
|
2202
|
+
}, R = {
|
|
2203
|
+
component: async () => (await import("element-plus")).ElDatePicker,
|
|
2204
|
+
groupName: "表单",
|
|
2205
|
+
icon: "icon--epic--calendar-month-outline-rounded",
|
|
2206
|
+
sort: 910,
|
|
2207
|
+
defaultSchema: {
|
|
2208
|
+
label: "日期选择器",
|
|
2209
|
+
type: "date",
|
|
2210
|
+
field: "date",
|
|
2211
|
+
input: !0,
|
|
2212
|
+
componentProps: {
|
|
2213
|
+
type: "date",
|
|
2214
|
+
valueFormat: "YYYY-MM-DD",
|
|
2215
|
+
format: "YYYY-MM-DD",
|
|
2216
|
+
placeholder: "请选择",
|
|
2217
|
+
startPlaceholder: "请选择",
|
|
2218
|
+
endPlaceholder: "请选择"
|
|
2219
|
+
}
|
|
2220
|
+
},
|
|
2221
|
+
config: {
|
|
2222
|
+
attribute: [
|
|
2223
|
+
{
|
|
2224
|
+
label: "字段名",
|
|
2225
|
+
type: "input",
|
|
2226
|
+
field: "field"
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
label: "标题",
|
|
2230
|
+
type: "input",
|
|
2231
|
+
field: "label"
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
label: "默认值",
|
|
2235
|
+
type: "date",
|
|
2236
|
+
field: "componentProps.defaultValue"
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
label: "日期类型",
|
|
2240
|
+
type: "select",
|
|
2241
|
+
field: "componentProps.type",
|
|
2242
|
+
componentProps: {
|
|
2243
|
+
options: [
|
|
2244
|
+
{
|
|
2245
|
+
label: "日期",
|
|
2246
|
+
value: "date"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
label: "周",
|
|
2250
|
+
value: "week"
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
label: "月份",
|
|
2254
|
+
value: "month"
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
label: "年份",
|
|
2258
|
+
value: "year"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
label: "时间",
|
|
2262
|
+
value: "datetime"
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
label: "时间范围",
|
|
2266
|
+
value: "datetimerange"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
label: "日期范围",
|
|
2270
|
+
value: "daterange"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
label: "月份范围",
|
|
2274
|
+
value: "monthrange"
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
label: "多个日期",
|
|
2278
|
+
value: "dates"
|
|
2279
|
+
}
|
|
2280
|
+
]
|
|
2281
|
+
},
|
|
2282
|
+
onChange({ values: e, value: l }) {
|
|
2283
|
+
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(l) ? (e.componentProps.format = "YYYY-MM-DD", e.componentProps.valueFormat = "YYYY-MM-DD") : ["week"].includes(l) ? (e.componentProps.format = "ww [周]", e.componentProps.valueFormat = "YYYY-MM-DD") : ["month", "monthrange"].includes(l) ? (e.componentProps.format = "YYYY-MM", e.componentProps.valueFormat = "YYYY-MM") : ["datetime", "datetimerange"].includes(l) ? (e.componentProps.format = "YYYY-MM-DD HH:mm:ss", e.componentProps.valueFormat = "YYYY-MM-DD HH:mm:ss") : ["year"].includes(l) && (e.componentProps.format = "YYYY", e.componentProps.valueFormat = "YYYY");
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
label: "开始占位符",
|
|
2288
|
+
type: "input",
|
|
2289
|
+
field: "componentProps.startPlaceholder",
|
|
2290
|
+
show({ values: e }) {
|
|
2291
|
+
return ["datetimerange", "daterange", "monthrange"].includes(
|
|
2292
|
+
e.componentProps.type
|
|
2293
|
+
);
|
|
2294
|
+
}
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
label: "结束占位符",
|
|
2298
|
+
type: "input",
|
|
2299
|
+
field: "componentProps.endPlaceholder",
|
|
2300
|
+
show({ values: e }) {
|
|
2301
|
+
return ["datetimerange", "daterange", "monthrange"].includes(
|
|
2302
|
+
e.componentProps.type
|
|
2303
|
+
);
|
|
2304
|
+
}
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
label: "占位内容",
|
|
2308
|
+
type: "input",
|
|
2309
|
+
field: "componentProps.placeholder",
|
|
2310
|
+
show({ values: e }) {
|
|
2311
|
+
return !["datetimerange", "daterange", "monthrange"].includes(
|
|
2312
|
+
e.componentProps.type
|
|
2313
|
+
);
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
label: "尺寸",
|
|
2318
|
+
type: "select",
|
|
2319
|
+
defaultValue: "default",
|
|
2320
|
+
componentProps: {
|
|
2321
|
+
placeholder: "请选择",
|
|
2322
|
+
clearable: !0,
|
|
2323
|
+
options: [
|
|
2324
|
+
{
|
|
2325
|
+
label: "大号",
|
|
2326
|
+
value: "large"
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
label: "中等",
|
|
2330
|
+
value: "default"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
label: "小型",
|
|
2334
|
+
value: "small"
|
|
2335
|
+
}
|
|
2336
|
+
]
|
|
2337
|
+
},
|
|
2338
|
+
field: "componentProps.size"
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
label: "可输入",
|
|
2342
|
+
type: "switch",
|
|
2343
|
+
field: "componentProps.editable"
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
label: "显示格式",
|
|
2347
|
+
type: "input",
|
|
2348
|
+
field: "componentProps.format"
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
label: "数据格式",
|
|
2352
|
+
type: "input",
|
|
2353
|
+
field: "componentProps.valueFormat"
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
label: "分割符",
|
|
2357
|
+
type: "input",
|
|
2358
|
+
field: "componentProps.rangeSeparator",
|
|
2359
|
+
componentProps: {
|
|
2360
|
+
placeholder: "请输入"
|
|
2361
|
+
},
|
|
2362
|
+
show({ values: e }) {
|
|
2363
|
+
return ["datetimerange", "daterange", "monthrange"].includes(
|
|
2364
|
+
e.componentProps.type
|
|
2365
|
+
);
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
label: "可清空",
|
|
2370
|
+
type: "switch",
|
|
2371
|
+
field: "componentProps.clearable"
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
label: "只读",
|
|
2375
|
+
type: "switch",
|
|
2376
|
+
field: "componentProps.readonly"
|
|
2377
|
+
},
|
|
2378
|
+
{
|
|
2379
|
+
label: "禁用",
|
|
2380
|
+
type: "switch",
|
|
2381
|
+
field: "componentProps.disabled"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
label: "隐藏",
|
|
2385
|
+
type: "switch",
|
|
2386
|
+
field: "componentProps.hidden"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
label: "表单校验",
|
|
2390
|
+
type: "ERuleEditor",
|
|
2391
|
+
layout: "vertical",
|
|
2392
|
+
field: "rules",
|
|
2393
|
+
describe: "校验规则需要配合表单使用"
|
|
2394
|
+
}
|
|
2395
|
+
],
|
|
2396
|
+
event: [
|
|
2397
|
+
{
|
|
2398
|
+
type: "change",
|
|
2399
|
+
describe: "值变化时"
|
|
2400
|
+
}
|
|
2401
|
+
]
|
|
2402
|
+
}
|
|
2403
|
+
}, B = {
|
|
2404
|
+
component: () => import("../../uploadFile-BU5cBhab.js"),
|
|
2405
|
+
groupName: "表单",
|
|
2406
|
+
icon: "icon--epic--upload-rounded",
|
|
2407
|
+
sort: 920,
|
|
2408
|
+
defaultSchema: {
|
|
2409
|
+
label: "上传文件",
|
|
2410
|
+
type: "upload-file",
|
|
2411
|
+
field: "uploadFile",
|
|
2412
|
+
input: !0,
|
|
2413
|
+
componentProps: {
|
|
2414
|
+
action: "https://examples.epicjs.cn/static/upload-img.json",
|
|
2415
|
+
name: "file",
|
|
2416
|
+
showFileList: !0
|
|
2417
|
+
}
|
|
2418
|
+
},
|
|
2419
|
+
config: {
|
|
2420
|
+
attribute: [
|
|
2421
|
+
{
|
|
2422
|
+
label: "字段名",
|
|
2423
|
+
type: "input",
|
|
2424
|
+
field: "field"
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
label: "标题",
|
|
2428
|
+
type: "input",
|
|
2429
|
+
field: "label"
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
label: "请求地址",
|
|
2433
|
+
type: "input",
|
|
2434
|
+
field: "componentProps.action"
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
label: "上传文件字段",
|
|
2438
|
+
type: "input",
|
|
2439
|
+
field: "componentProps.name"
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
label: "多选",
|
|
2443
|
+
type: "switch",
|
|
2444
|
+
field: "componentProps.multiple"
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
label: "展示文件列表",
|
|
2448
|
+
type: "switch",
|
|
2449
|
+
field: "componentProps.showFileList"
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
label: "拖拽上传",
|
|
2453
|
+
type: "switch",
|
|
2454
|
+
field: "componentProps.drag"
|
|
2455
|
+
},
|
|
2456
|
+
{
|
|
2457
|
+
label: "允许上传最大数量",
|
|
2458
|
+
type: "number",
|
|
2459
|
+
field: "componentProps.limit",
|
|
2460
|
+
componentProps: {
|
|
2461
|
+
min: 0,
|
|
2462
|
+
placeholder: "请输入"
|
|
2463
|
+
}
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
label: "禁用",
|
|
2467
|
+
type: "switch",
|
|
2468
|
+
field: "componentProps.disabled"
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
label: "隐藏",
|
|
2472
|
+
type: "switch",
|
|
2473
|
+
field: "componentProps.hidden"
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
label: "表单校验",
|
|
2477
|
+
type: "ERuleEditor",
|
|
2478
|
+
layout: "vertical",
|
|
2479
|
+
field: "rules",
|
|
2480
|
+
describe: "校验规则需要配合表单使用",
|
|
2481
|
+
componentProps: {
|
|
2482
|
+
ruleType: "array"
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
]
|
|
2486
|
+
},
|
|
2487
|
+
bindModel: "modelValue"
|
|
2488
|
+
}, M = {
|
|
2489
|
+
component: () => import("../../uploadImage-CYV7X1sG.js"),
|
|
2490
|
+
groupName: "表单",
|
|
2491
|
+
icon: "icon--epic--imagesmode-outline-rounded",
|
|
2492
|
+
sort: 920,
|
|
2493
|
+
defaultSchema: {
|
|
2494
|
+
label: "上传图片",
|
|
2495
|
+
type: "upload-image",
|
|
2496
|
+
field: "uploadImage",
|
|
2497
|
+
input: !0,
|
|
2498
|
+
componentProps: {
|
|
2499
|
+
action: "https://examples.epicjs.cn/static/upload-img.json",
|
|
2500
|
+
name: "file",
|
|
2501
|
+
showFileList: !0
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
config: {
|
|
2505
|
+
attribute: [
|
|
2506
|
+
{
|
|
2507
|
+
label: "字段名",
|
|
2508
|
+
type: "input",
|
|
2509
|
+
field: "field"
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
label: "标题",
|
|
2513
|
+
type: "input",
|
|
2514
|
+
field: "label"
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
label: "请求地址",
|
|
2518
|
+
type: "input",
|
|
2519
|
+
field: "componentProps.action"
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
label: "上传文件字段",
|
|
2523
|
+
type: "input",
|
|
2524
|
+
field: "componentProps.name"
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
label: "多选",
|
|
2528
|
+
type: "switch",
|
|
2529
|
+
field: "componentProps.multiple"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
label: "展示文件列表",
|
|
2533
|
+
type: "switch",
|
|
2534
|
+
field: "componentProps.showFileList"
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
label: "拖拽上传",
|
|
2538
|
+
type: "switch",
|
|
2539
|
+
field: "componentProps.drag"
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
label: "允许上传最大数量",
|
|
2543
|
+
type: "number",
|
|
2544
|
+
field: "componentProps.limit",
|
|
2545
|
+
componentProps: {
|
|
2546
|
+
min: 0,
|
|
2547
|
+
placeholder: "请输入"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
label: "禁用",
|
|
2552
|
+
type: "switch",
|
|
2553
|
+
field: "componentProps.disabled"
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
label: "隐藏",
|
|
2557
|
+
type: "switch",
|
|
2558
|
+
field: "componentProps.hidden"
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
label: "表单校验",
|
|
2562
|
+
type: "ERuleEditor",
|
|
2563
|
+
layout: "vertical",
|
|
2564
|
+
field: "rules",
|
|
2565
|
+
describe: "校验规则需要配合表单使用",
|
|
2566
|
+
componentProps: {
|
|
2567
|
+
ruleType: "array"
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
]
|
|
2571
|
+
},
|
|
2572
|
+
bindModel: "modelValue"
|
|
2573
|
+
}, L = {
|
|
2574
|
+
component: () => import("../../modal-BPJM1Muh.js"),
|
|
2575
|
+
defaultSchema: {
|
|
2576
|
+
label: "模态框",
|
|
2577
|
+
type: "modal",
|
|
2578
|
+
children: []
|
|
2579
|
+
},
|
|
2580
|
+
config: {
|
|
2581
|
+
attribute: [
|
|
2582
|
+
{
|
|
2583
|
+
label: "标题",
|
|
2584
|
+
type: "input",
|
|
2585
|
+
field: "title"
|
|
2586
|
+
}
|
|
2587
|
+
]
|
|
2588
|
+
}
|
|
2589
|
+
}, O = {
|
|
2590
|
+
// component: async () => await import("../../../../packages/core/components/designer/src"),
|
|
2591
|
+
component: async () => await import("../../sign-CdhDIjlg.js"),
|
|
2592
|
+
icon: "icon--epic--insert-text-outline-rounded",
|
|
2593
|
+
groupName: "表单",
|
|
2594
|
+
sort: 705,
|
|
2595
|
+
defaultSchema: {
|
|
2596
|
+
label: "签名板",
|
|
2597
|
+
type: "sign",
|
|
2598
|
+
field: "sign",
|
|
2599
|
+
input: !0,
|
|
2600
|
+
componentProps: {
|
|
2601
|
+
placeholder: "请输入",
|
|
2602
|
+
lineWidth: 4,
|
|
2603
|
+
type: "sign",
|
|
2604
|
+
style: {
|
|
2605
|
+
height: "300px"
|
|
2606
|
+
}
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
config: {
|
|
2610
|
+
attribute: [
|
|
2611
|
+
{
|
|
2612
|
+
label: "字段名",
|
|
2613
|
+
type: "input",
|
|
2614
|
+
field: "field"
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
label: "标题",
|
|
2618
|
+
type: "input",
|
|
2619
|
+
field: "label"
|
|
2620
|
+
},
|
|
2621
|
+
// {
|
|
2622
|
+
// label: "占位内容",
|
|
2623
|
+
// type: "input",
|
|
2624
|
+
// field: "componentProps.placeholder",
|
|
2625
|
+
// },
|
|
2626
|
+
{
|
|
2627
|
+
label: "线条宽度(px)",
|
|
2628
|
+
type: "input",
|
|
2629
|
+
componentProps: {
|
|
2630
|
+
placeholder: "请选择",
|
|
2631
|
+
clearable: !0
|
|
2632
|
+
},
|
|
2633
|
+
field: "componentProps.lineWidth"
|
|
2634
|
+
},
|
|
2635
|
+
// {
|
|
2636
|
+
// label: "禁用",
|
|
2637
|
+
// type: "switch",
|
|
2638
|
+
// field: "componentProps.disabled",
|
|
2639
|
+
// },
|
|
2640
|
+
{
|
|
2641
|
+
label: "隐藏",
|
|
2642
|
+
type: "switch",
|
|
2643
|
+
field: "componentProps.hidden"
|
|
2644
|
+
}
|
|
2645
|
+
]
|
|
2646
|
+
// event: [
|
|
2647
|
+
// {
|
|
2648
|
+
// type: "input",
|
|
2649
|
+
// describe: "输入值",
|
|
2650
|
+
// },
|
|
2651
|
+
// {
|
|
2652
|
+
// type: "change",
|
|
2653
|
+
// describe: "值修改",
|
|
2654
|
+
// },
|
|
2655
|
+
// {
|
|
2656
|
+
// type: "focus",
|
|
2657
|
+
// describe: "获取焦点",
|
|
2658
|
+
// },
|
|
2659
|
+
// {
|
|
2660
|
+
// type: "blur",
|
|
2661
|
+
// describe: "失去焦点",
|
|
2662
|
+
// },
|
|
2663
|
+
// ],
|
|
2664
|
+
// action: [
|
|
2665
|
+
// {
|
|
2666
|
+
// type: "focus",
|
|
2667
|
+
// describe: "使 input 获取焦点",
|
|
2668
|
+
// },
|
|
2669
|
+
// {
|
|
2670
|
+
// type: "blur",
|
|
2671
|
+
// describe: "使 input 失去焦点",
|
|
2672
|
+
// },
|
|
2673
|
+
// {
|
|
2674
|
+
// type: "clear",
|
|
2675
|
+
// describe: "清除 input 值",
|
|
2676
|
+
// },
|
|
2677
|
+
// {
|
|
2678
|
+
// type: "select",
|
|
2679
|
+
// describe: "选中 input 中的文字",
|
|
2680
|
+
// },
|
|
2681
|
+
// ],
|
|
2682
|
+
}
|
|
2683
|
+
};
|
|
2684
|
+
function G(e = i) {
|
|
2685
|
+
e.component("FormItem", r), e.component("Form", c), e.component("RadioGroup", s), e.component("RadioButton", d), e.component("Tabs", m), e.component("TabPane", u), e.component("Collapse", b), e.component("CollapseItem", f), e.component("Drawer", y), [
|
|
2686
|
+
w,
|
|
2687
|
+
g,
|
|
2688
|
+
h,
|
|
2689
|
+
P,
|
|
2690
|
+
v,
|
|
2691
|
+
C,
|
|
2692
|
+
k,
|
|
2693
|
+
R,
|
|
2694
|
+
V,
|
|
2695
|
+
D,
|
|
2696
|
+
I,
|
|
2697
|
+
z,
|
|
2698
|
+
T,
|
|
2699
|
+
B,
|
|
2700
|
+
M,
|
|
2701
|
+
E,
|
|
2702
|
+
x,
|
|
2703
|
+
S,
|
|
2704
|
+
Y,
|
|
2705
|
+
F,
|
|
2706
|
+
N,
|
|
2707
|
+
L,
|
|
2708
|
+
O
|
|
2709
|
+
].forEach((o) => {
|
|
2710
|
+
e.registerComponent(o), e.addBaseComponentTypes(o.defaultSchema.type);
|
|
2711
|
+
}), e.setInitialized(!0);
|
|
2712
|
+
}
|
|
2713
|
+
function H(e) {
|
|
2714
|
+
import("element-plus").then(({ provideGlobalConfig: l }) => {
|
|
2715
|
+
l(e);
|
|
2716
|
+
});
|
|
2717
|
+
}
|
|
2718
|
+
export {
|
|
2719
|
+
H as provideGlobalConfig,
|
|
2720
|
+
G as setupElementPlus
|
|
2721
|
+
};
|