simple-frame-unit 1.0.2
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/.env.dev +14 -0
- package/CHANGELOG.md +9 -0
- package/README.md +24 -0
- package/dist/ed-frame-vue.common.1.js +11046 -0
- package/dist/ed-frame-vue.common.1.js.map +1 -0
- package/dist/ed-frame-vue.common.2.js +1715 -0
- package/dist/ed-frame-vue.common.2.js.map +1 -0
- package/dist/ed-frame-vue.common.js +53427 -0
- package/dist/ed-frame-vue.common.js.map +1 -0
- package/dist/ed-frame-vue.umd.1.js +11046 -0
- package/dist/ed-frame-vue.umd.1.js.map +1 -0
- package/dist/ed-frame-vue.umd.2.js +1715 -0
- package/dist/ed-frame-vue.umd.2.js.map +1 -0
- package/dist/ed-frame-vue.umd.js +53437 -0
- package/dist/ed-frame-vue.umd.js.map +1 -0
- package/dist/ed-frame-vue.umd.min.1.js +17 -0
- package/dist/ed-frame-vue.umd.min.1.js.map +1 -0
- package/dist/ed-frame-vue.umd.min.2.js +4 -0
- package/dist/ed-frame-vue.umd.min.2.js.map +1 -0
- package/dist/ed-frame-vue.umd.min.js +470 -0
- package/dist/ed-frame-vue.umd.min.js.map +1 -0
- package/import.easydata.js +46 -0
- package/lib/CHANGELOG.md +18 -0
- package/lib/README.md +27 -0
- package/lib/api/ds/index.js +124 -0
- package/lib/api/easyData.js +90 -0
- package/lib/api/easyform/easyForm.js +32 -0
- package/lib/api/index.js +61 -0
- package/lib/api/interface/index.js +32 -0
- package/lib/api/system.js +20 -0
- package/lib/index.js +80 -0
- package/lib/packages/BasicTemplate/EasyDataTemplate.vue +189 -0
- package/lib/packages/BasicTemplate/Props.js +64 -0
- package/lib/packages/BasicTemplate/components/TemplateComp.vue +263 -0
- package/lib/packages/BasicTemplate/components/TemplateViews.vue +292 -0
- package/lib/packages/BasicTemplate/hooks/business.js +74 -0
- package/lib/packages/BasicTemplate/hooks/getFormData.js +89 -0
- package/lib/packages/BasicTemplate/hooks/queryFormData.js +194 -0
- package/lib/packages/BasicTemplate/hooks/submitForm.js +53 -0
- package/lib/packages/BasicTemplate/hooks/useEmits.js +15 -0
- package/lib/packages/BasicTemplate/hooks/validate.js +42 -0
- package/lib/packages/EasyDataForm/EasyDataForm.vue +597 -0
- package/lib/packages/EasyDataForm/Props.js +22 -0
- package/lib/packages/EasyDataForm/components/FormItem.vue +228 -0
- package/lib/packages/EasyDataForm/hooks/useChosePopup.js +85 -0
- package/lib/packages/EasyDataForm/hooks/useEmits.js +19 -0
- package/lib/packages/EasyDataForm/hooks/useForm.js +169 -0
- package/lib/packages/EasyDataForm/hooks/useUpload.js +168 -0
- package/lib/packages/EasyDataList/EasyDataList.vue +348 -0
- package/lib/packages/EasyDataList/Props.js +116 -0
- package/lib/packages/EasyDataList/components/BasicModal.vue +150 -0
- package/lib/packages/EasyDataList/components/FormAction.vue +63 -0
- package/lib/packages/EasyDataList/hooks/useEmits.js +30 -0
- package/lib/packages/EasyDataList/hooks/useForm.js +62 -0
- package/lib/packages/EasyDataList/hooks/useTable.js +314 -0
- package/lib/packages/EasyDataTable/EasyDataTable.vue +233 -0
- package/lib/packages/EasyDataView/EasyDataView.vue +105 -0
- package/lib/packages/EdRichPreview/index.js +32 -0
- package/lib/packages/EdRichText/index.vue +167 -0
- package/lib/packages/EdRichText/replaceUrl.js +49 -0
- package/lib/packages/components/FileView.vue +97 -0
- package/lib/packages/index.js +11 -0
- package/lib/packages/mixins/EasyDataMixins.js +133 -0
- package/lib/packages/mixins/useTable.jsx +130 -0
- package/lib/pages/DataSource/index.js +8 -0
- package/lib/pages/DataSource/src/components/ControlViews/BaseProps.js +103 -0
- package/lib/pages/DataSource/src/components/ControlViews/control.js +1089 -0
- package/lib/pages/DataSource/src/components/ControlViews/index.vue +301 -0
- package/lib/pages/DataSource/src/components/TableOperationModal.vue +225 -0
- package/lib/pages/DataSource/src/components/TablePropsModal.vue +367 -0
- package/lib/pages/DataSource/src/components/ViewPropsModal.vue +737 -0
- package/lib/pages/DataSource/src/components/modal/ChooseDict.vue +119 -0
- package/lib/pages/DataSource/src/hooks/useTable.js +138 -0
- package/lib/pages/DataSource/src/index.vue +431 -0
- package/lib/pages/Interface/index.js +8 -0
- package/lib/pages/Interface/src/components/InterfaceCall.vue +73 -0
- package/lib/pages/Interface/src/components/InterfaceDepend.vue +299 -0
- package/lib/pages/Interface/src/components/InterfaceFee.vue +131 -0
- package/lib/pages/Interface/src/components/InterfaceMessage.vue +878 -0
- package/lib/pages/Interface/src/components/InterfaceMock.vue +203 -0
- package/lib/pages/Interface/src/components/InterfaceParam.vue +308 -0
- package/lib/pages/Interface/src/components/InterfaceRepeat.vue +281 -0
- package/lib/pages/Interface/src/components/InterfaceVariable.vue +31 -0
- package/lib/pages/Interface/src/index.vue +216 -0
- package/lib/pages/Template/index.js +8 -0
- package/lib/pages/Template/src/components/DefineModal.vue +524 -0
- package/lib/pages/Template/src/components/TemplatePreview.vue +109 -0
- package/lib/pages/Template/src/components/model/AddDialog.vue +60 -0
- package/lib/pages/Template/src/components/model/TemplatePreview2.vue +101 -0
- package/lib/pages/Template/src/hooks/index.js +3 -0
- package/lib/pages/Template/src/hooks/useEmits.js +64 -0
- package/lib/pages/Template/src/index.vue +124 -0
- package/lib/popup/index.js +8 -0
- package/lib/popup/src/DataSourceChoose.vue +44 -0
- package/lib/popup/src/DataSourceViewIdChoose.vue +67 -0
- package/lib/popup/src/DictChoose.vue +104 -0
- package/lib/popup/src/InterfaceChoose.vue +46 -0
- package/lib/popup/src/OrgChoose.vue +121 -0
- package/lib/popup/src/RoleChoose.vue +101 -0
- package/lib/popup/src/TemplateChoose.vue +43 -0
- package/lib/popup/src/UserChoose.vue +161 -0
- package/lib/popup//347/273/204/344/273/266/345/274/200/345/217/221/350/247/204/350/214/203.md +25 -0
- package/lib/style/custom.scss +126 -0
- package/lib/style/deep.scss +109 -0
- package/lib/style/index.scss +4 -0
- package/lib/utils/MapLoader.js +48 -0
- package/lib/utils/dateUtils.js +58 -0
- package/lib/utils/index.js +8 -0
- package/lib/utils/setting.js +25 -0
- package/lib/utils/sortable/index.js +3784 -0
- package/lib/utils/useBusiness.js +212 -0
- package/lib/utils/utils.js +588 -0
- package/package.json +77 -0
- package/src/App.vue +12 -0
- package/src/assets/Vue.png +0 -0
- package/src/assets/avatar.png +0 -0
- package/src/assets/images/bg.png +0 -0
- package/src/assets/images/logo-bills.png +0 -0
- package/src/assets/images/pic.png +0 -0
- package/src/assets/images/weplus-logo.png +0 -0
- package/src/assets/marker.png +0 -0
- package/src/assets/styles/common.scss +359 -0
- package/src/assets/styles/ele-docs.css +3278 -0
- package/src/assets/styles/fonts/icomoon.eot +0 -0
- package/src/assets/styles/fonts/icomoon.svg +14 -0
- package/src/assets/styles/fonts/icomoon.ttf +0 -0
- package/src/assets/styles/fonts/icomoon.woff +0 -0
- package/src/assets/styles/fonts/style.css +39 -0
- package/src/assets/styles/higtlightEle.css +84 -0
- package/src/assets/svg/code.svg +7 -0
- package/src/assets/svg/password.svg +1 -0
- package/src/components/Popups/DiyCompDictChoose.vue +112 -0
- package/src/components/Popups/index.js +28 -0
- package/src/components/ed-base-vue/global/variable.js +8 -0
- package/src/components/ed-base-vue/index.js +81 -0
- package/src/components/ed-base-vue/package/EdCard/index.js +7 -0
- package/src/components/ed-base-vue/package/EdCard/src/index.vue +87 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/index.js +8 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/AceEditor/AceConfig.js +71 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/AceEditor/Editor.vue +137 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/AceEditor/Toolbar.vue +68 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/AceEditor/index.vue +119 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/AceEditor/webpack-resolver.js +51 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/Codemirror/Toolbar.vue +57 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/Codemirror/config.js +64 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/Codemirror/index.vue +309 -0
- package/src/components/ed-base-vue/package/EdCodeEditor/src/EdCodeEditor.vue +238 -0
- package/src/components/ed-base-vue/package/EdDate/index.js +8 -0
- package/src/components/ed-base-vue/package/EdDate/src/index.js +50 -0
- package/src/components/ed-base-vue/package/EdDescriptions/index.js +8 -0
- package/src/components/ed-base-vue/package/EdDescriptions/src/EdDescriptions.vue +46 -0
- package/src/components/ed-base-vue/package/EdDescriptions/src/EdDescriptionsItem.js +20 -0
- package/src/components/ed-base-vue/package/EdDescriptions/src/Props.js +20 -0
- package/src/components/ed-base-vue/package/EdDialog/index.js +8 -0
- package/src/components/ed-base-vue/package/EdDialog/src/EdDialog.vue +138 -0
- package/src/components/ed-base-vue/package/EdDialog/src/Props.js +91 -0
- package/src/components/ed-base-vue/package/EdDialog/src/components/DialogFooter.vue +42 -0
- package/src/components/ed-base-vue/package/EdDialog/src/components/DialogWrapper.vue +53 -0
- package/src/components/ed-base-vue/package/EdDrawer/index.js +8 -0
- package/src/components/ed-base-vue/package/EdDrawer/src/DrawerFooter.vue +41 -0
- package/src/components/ed-base-vue/package/EdDrawer/src/EdDrawer.vue +150 -0
- package/src/components/ed-base-vue/package/EdDrawer/src/props.js +71 -0
- package/src/components/ed-base-vue/package/EdFlow/index.js +8 -0
- package/src/components/ed-base-vue/package/EdFlow/src/EdFlowItem.vue +733 -0
- package/src/components/ed-base-vue/package/EdFlow/src/index.vue +148 -0
- package/src/components/ed-base-vue/package/EdForm/index.js +8 -0
- package/src/components/ed-base-vue/package/EdForm/src/EdForm.vue +172 -0
- package/src/components/ed-base-vue/package/EdForm/src/Props.js +33 -0
- package/src/components/ed-base-vue/package/EdForm/src/components/EdFormItem.vue +34 -0
- package/src/components/ed-base-vue/package/EdIcons/index.js +8 -0
- package/src/components/ed-base-vue/package/EdIcons/src/hooks/Icons.js +406 -0
- package/src/components/ed-base-vue/package/EdIcons/src/hooks/Icons1.js +830 -0
- package/src/components/ed-base-vue/package/EdIcons/src/index.vue +13 -0
- package/src/components/ed-base-vue/package/EdImage/index.js +8 -0
- package/src/components/ed-base-vue/package/EdImage/src/index.vue +28 -0
- package/src/components/ed-base-vue/package/EdInputArray/index.js +8 -0
- package/src/components/ed-base-vue/package/EdInputArray/src/Props.js +26 -0
- package/src/components/ed-base-vue/package/EdInputArray/src/index.vue +97 -0
- package/src/components/ed-base-vue/package/EdInputColor/index.js +8 -0
- package/src/components/ed-base-vue/package/EdInputColor/src/InputColor.vue +81 -0
- package/src/components/ed-base-vue/package/EdInputMap/index.js +9 -0
- package/src/components/ed-base-vue/package/EdInputMap/src/EdInputMap.vue +246 -0
- package/src/components/ed-base-vue/package/EdInputMap/src/EdInputMapProps.js +6 -0
- package/src/components/ed-base-vue/package/EdInputPop/index.js +13 -0
- package/src/components/ed-base-vue/package/EdInputPop/src/EdInputPop.vue +144 -0
- package/src/components/ed-base-vue/package/EdInputPop/src/Props.js +48 -0
- package/src/components/ed-base-vue/package/EdInputTable/index.js +8 -0
- package/src/components/ed-base-vue/package/EdInputTable/src/EdInputTable.vue +368 -0
- package/src/components/ed-base-vue/package/EdInputTable/src/Fetch.js +40 -0
- package/src/components/ed-base-vue/package/EdJsonEditor/index.js +13 -0
- package/src/components/ed-base-vue/package/EdJsonEditor/src/EdJsonEditor.vue +198 -0
- package/src/components/ed-base-vue/package/EdJsonEditor/src/assets/img/jsoneditor-icons.svg +749 -0
- package/src/components/ed-base-vue/package/EdJsonEditor/src/assets/jsoneditor.css +2031 -0
- package/src/components/ed-base-vue/package/EdJsonEditor/src/assets/plus.svg +1 -0
- package/src/components/ed-base-vue/package/EdJsonEditor/src/hooks.js +63 -0
- package/src/components/ed-base-vue/package/EdJsonViewer/index.js +8 -0
- package/src/components/ed-base-vue/package/EdJsonViewer/src/EdJsonViewer.vue +44 -0
- package/src/components/ed-base-vue/package/EdLable/index.js +8 -0
- package/src/components/ed-base-vue/package/EdLable/src/index.vue +34 -0
- package/src/components/ed-base-vue/package/EdLink/index.js +8 -0
- package/src/components/ed-base-vue/package/EdLink/src/index.vue +43 -0
- package/src/components/ed-base-vue/package/EdMarkEditor/index.js +15 -0
- package/src/components/ed-base-vue/package/EdMarkEditor/src/EdMarkEditor.vue +368 -0
- package/src/components/ed-base-vue/package/EdMarkEditor/src/extra-function.js +538 -0
- package/src/components/ed-base-vue/package/EdMarkEditor/src/highlight.js +95 -0
- package/src/components/ed-base-vue/package/EdTable/index.js +8 -0
- package/src/components/ed-base-vue/package/EdTable/src/EdTable.vue +240 -0
- package/src/components/ed-base-vue/package/EdTable/src/Props.js +97 -0
- package/src/components/ed-base-vue/package/EdTable/src/components/TableColumnItem.js +24 -0
- package/src/components/ed-base-vue/package/EdTable/src/components/TablePagination.vue +73 -0
- package/src/components/ed-base-vue/package/EdTableEditor/index.js +8 -0
- package/src/components/ed-base-vue/package/EdTableEditor/src/EdTableEditor.vue +282 -0
- package/src/components/ed-base-vue/package/EdTableEditor/src/Props.js +107 -0
- package/src/components/ed-base-vue/package/EdTableEditor/src/hooks/validate.js +90 -0
- package/src/components/ed-base-vue/package/EdUpload/index.js +8 -0
- package/src/components/ed-base-vue/package/EdUpload/src/Props.js +90 -0
- package/src/components/ed-base-vue/package/EdUpload/src/index.vue +88 -0
- package/src/components/ed-base-vue/package/EdViewer/index.js +8 -0
- package/src/components/ed-base-vue/package/EdViewer/src/EdViewer.vue +310 -0
- package/src/components/ed-base-vue/package/EdWangEditor/index.js +14 -0
- package/src/components/ed-base-vue/package/EdWangEditor/src/EdWangEditor.vue +127 -0
- package/src/components/ed-base-vue/package/ExtendSlot.js +12 -0
- package/src/components/ed-base-vue/package/OptionSlot.js +65 -0
- package/src/components/ed-base-vue/plugin/Message/index.js +2 -0
- package/src/components/ed-base-vue/plugin/Message/src/main.js +91 -0
- package/src/components/ed-base-vue/plugin/Message/src/main.vue +253 -0
- package/src/components/ed-base-vue/plugin/print/index.js +156 -0
- package/src/components/ed-base-vue/plugin/sortable/index.js +3784 -0
- package/src/components/ed-base-vue/style/custom.scss +107 -0
- package/src/components/ed-base-vue/style/deep.scss +100 -0
- package/src/components/ed-base-vue/style/index.scss +4 -0
- package/src/components/ed-base-vue/tools/date-format.js +315 -0
- package/src/components/ed-base-vue/tools/utils.js +124 -0
- package/src/layouts/components/AppMain.vue +17 -0
- package/src/layouts/components/Header.vue +256 -0
- package/src/layouts/components/Logo.vue +56 -0
- package/src/layouts/components/Navbar.vue +169 -0
- package/src/layouts/components/SideBar.vue +107 -0
- package/src/layouts/components/index.js +5 -0
- package/src/layouts/index.vue +57 -0
- package/src/main.js +42 -0
- package/src/request/config.js +6 -0
- package/src/request/index.js +85 -0
- package/src/request/request.js +147 -0
- package/src/router/index.js +65 -0
- package/src/router/modules/baseRouter.js +43 -0
- package/src/router/modules/easydata.js +49 -0
- package/src/views/base/BaseRichPreview.vue +23 -0
- package/src/views/base/BaseRichText.vue +28 -0
- package/src/views/base/EdFormView.vue +54 -0
- package/src/views/base/EdTable.vue +98 -0
- package/src/views/base/inputTable.vue +103 -0
- package/src/views/easydata/Interface.vue +3 -0
- package/src/views/easydata/dataSource.vue +13 -0
- package/src/views/easydata/dataSourceView.vue +71 -0
- package/src/views/easydata/templateDemo.vue +89 -0
- package/src/views/easydata/templateInfo.vue +13 -0
- package/src/views/index.vue +17 -0
- package/src/views/login.vue +208 -0
- package/src/views/redirect.vue +15 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const fse = require('fs-extra');
|
|
4
|
+
|
|
5
|
+
// 使用方式
|
|
6
|
+
// node ./import.easydata.js [动态表单项目路径]
|
|
7
|
+
|
|
8
|
+
function ImportEasyData(form, to) {
|
|
9
|
+
|
|
10
|
+
// 项目路径
|
|
11
|
+
const projectPath = process.argv[2] || path.join('..', form);
|
|
12
|
+
// 项目中具体文件的父级文件夹
|
|
13
|
+
const sourcePath = path.join(projectPath, '/lib');
|
|
14
|
+
if (!fs.existsSync(sourcePath)) {
|
|
15
|
+
console.error(sourcePath, '项目不存在, 请检查路径');
|
|
16
|
+
throw '项目不存在, 请检查路径';
|
|
17
|
+
}
|
|
18
|
+
const EmptyFolder = (fuckPath) => {
|
|
19
|
+
fs.readdirSync(fuckPath).forEach((file, index, arr) => {
|
|
20
|
+
if (fs.lstatSync(`${fuckPath}/${file}`).isFile()) {
|
|
21
|
+
fs.unlinkSync(`${fuckPath}/${file}`)
|
|
22
|
+
} else if (fs.lstatSync(`${fuckPath}/${file}`).isDirectory()) {
|
|
23
|
+
EmptyFolder(`${fuckPath}/${file}`)
|
|
24
|
+
fs.rmdirSync(`${fuckPath}/${file}`)
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
}
|
|
28
|
+
// 需要复制到的地方
|
|
29
|
+
const targetPath = path.join(__dirname, to);
|
|
30
|
+
if (!fs.existsSync(targetPath)) {
|
|
31
|
+
fs.mkdirSync(targetPath, {
|
|
32
|
+
recursive: true,
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
// 删除指定文件夹下面的所有文件或文件夹
|
|
36
|
+
EmptyFolder(targetPath)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// 获取目标目录下的所有内容, 开始复制
|
|
40
|
+
fse.copySync(sourcePath, targetPath);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// 导入ed-base-vue
|
|
44
|
+
ImportEasyData('ed-base-vue', '/src/components/ed-base-vue')
|
|
45
|
+
// 导入ed-frame-vue
|
|
46
|
+
// ImportEasyData('ed-frame-vue', '/src/components/ed-frame-vue')
|
package/lib/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
## 更新日志
|
|
2
|
+
|
|
3
|
+
### 1.0.2
|
|
4
|
+
*2023-03-08*
|
|
5
|
+
- 新增 `WangEditor`组件,用于富文本编辑
|
|
6
|
+
- 新增 `EdInputPop`组件,用于Input放大编辑
|
|
7
|
+
- 优化组件加载
|
|
8
|
+
|
|
9
|
+
### 1.0.1
|
|
10
|
+
|
|
11
|
+
*2023-02-24*
|
|
12
|
+
- Dialog: 新增`v-model`双向数据绑定功能
|
|
13
|
+
- Dialog:修复`showFooter`字段未启用
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
- DataSource/TablePropsModal:优化 `虚拟列信息` 展示
|
|
17
|
+
- DataSource/TablePropsModal:新增虚拟列信息点击 `添加` 功能定位到指定行数
|
|
18
|
+
|
package/lib/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# EasyData组件说明
|
|
2
|
+
|
|
3
|
+
## 版本 1.0.0
|
|
4
|
+
|
|
5
|
+
## 一、目录结构
|
|
6
|
+
|
|
7
|
+
### api:组件请求接口集合
|
|
8
|
+
|
|
9
|
+
### components:基础组件集合
|
|
10
|
+
- CodeEditor:代码编辑
|
|
11
|
+
- Describe:查看组件
|
|
12
|
+
- Dialog:el弹窗二次封装
|
|
13
|
+
- Drawer:el抽屉二次封装
|
|
14
|
+
- Form:Form表单二次封装,即EasyDataForm
|
|
15
|
+
- List:组合组件,即EasyDataList
|
|
16
|
+
- Table:Table组件二次封装
|
|
17
|
+
- Template:模板渲染,即TemplateView组件
|
|
18
|
+
|
|
19
|
+
### packages:动态渲染组件集合
|
|
20
|
+
|
|
21
|
+
### pages:数据源、接口、模板等页面集合
|
|
22
|
+
|
|
23
|
+
### popup:组件内部选择弹窗组件集合
|
|
24
|
+
|
|
25
|
+
### 依赖
|
|
26
|
+
- (MarkEditor.vue) rollup-plugin-copy:复制文件(vite项目中使用第三方js文件包)
|
|
27
|
+
- (MarkEditor.vue) mavon-editor: markdown编辑器
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import {deleteAction, getAction, postAction} from '../index'
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// 数据源分页查询
|
|
5
|
+
export const dataSourcePage = (query) => getAction('/easydata/dataSource/page', query)
|
|
6
|
+
export const copyDataSource = (query) => getAction('/easydata/dataSource/copyDataSource', query)
|
|
7
|
+
export const addDsInfo = (param) => postAction('/easydata/dataSource/add', param)
|
|
8
|
+
export const delDs = (param) => deleteAction('/easydata/dataSource/delete', param)
|
|
9
|
+
export const exportOne = (param) => getAction('/easydata/dataSource/exportOne', param)
|
|
10
|
+
export const importDs = (param) => postAction('/easydata/dataSource/import', param)
|
|
11
|
+
//db
|
|
12
|
+
export const easyDbList = (query) => getAction('/easydata/dataSource/easyDb/list', query)
|
|
13
|
+
export const addEasyDb = (param) => postAction('/easydata/dataSource/easyDb/add', param)
|
|
14
|
+
export const addAllEasyDb = (param) => postAction('/easydata/dataSource/easyDb/addList', param)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
// 数据源分页查询
|
|
18
|
+
export const addFieldModel = (param) => postAction('/easydata/fieldInfo/addModel', param)
|
|
19
|
+
export const getFieldListByDsId = (param) => getAction('/easydata/fieldInfo/list', param)
|
|
20
|
+
|
|
21
|
+
// 数据源分页查询
|
|
22
|
+
export const addTableInfo = (param) => postAction('/easydata/tableInfo/add', param)
|
|
23
|
+
export const getTableInfoByDsId = (param) => getAction('/easydata/tableInfo/one', param)
|
|
24
|
+
//db
|
|
25
|
+
export const getDbTableInfoByDsId = (param) => getAction('/easydata/dbTableInfo/one', param)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
// 数据源分页查询
|
|
29
|
+
export const deleteAllViCol = (param) => postAction('/easydata/tableOperator/deleteAll', param)
|
|
30
|
+
export const reloadAllViCol = (param) => postAction('/easydata/tableOperator/reloadAll', param)
|
|
31
|
+
export const createTable = (param) => postAction('/easydata/tableOperator/create', param)
|
|
32
|
+
export const getTableSchema = (param) => postAction('/easydata/tableOperator/getTableSchema', param)
|
|
33
|
+
export const dropTable = (param) => postAction('/easydata/tableOperator/drop', param)
|
|
34
|
+
export const clearTable = (param) => postAction('/easydata/tableOperator/clear', param)
|
|
35
|
+
export const truncateTable = (param) => postAction('/easydata/tableOperator/truncate', param)
|
|
36
|
+
export const alterTable = (param) => postAction('/easydata/tableOperator/alter', param)
|
|
37
|
+
//db
|
|
38
|
+
export const createDbTable = (param) => postAction('/easydata/dbTableOperator/create', param)
|
|
39
|
+
export const truncateDbTable = (param) => postAction('/easydata/dbTableOperator/truncate', param)
|
|
40
|
+
export const alterDbTable = (param) => postAction('/easydata/dbTableOperator/alter', param)
|
|
41
|
+
export const clearDbTable = (param) => postAction('/easydata/dbTableOperator/clear', param)
|
|
42
|
+
export const deleteAllDbViCol = (param) => postAction('/easydata/dbTableOperator/deleteAll', param)
|
|
43
|
+
export const reloadAllDbViCol = (param) => postAction('/easydata/dbTableOperator/reloadAll', param)
|
|
44
|
+
export const dropDbTable = (param) => postAction('/easydata/dbTableOperator/drop', param)
|
|
45
|
+
|
|
46
|
+
// 数据源分页查询
|
|
47
|
+
export const addSqlIdInfo = (param) => postAction('/easydata/tableSql/addModel', param)
|
|
48
|
+
export const getSqlIdList = (param) => getAction('/easydata/tableSql/list', param)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
/** 根据数据源名称查询视图列表 */
|
|
52
|
+
export const controlInfoViewList = (param) => getAction('/easydata/controlInfo/viewList', param);
|
|
53
|
+
/** 保存新增的视图 */
|
|
54
|
+
export const addViewModel = (param) => postAction( '/easydata/controlInfo/addViewModel', param)
|
|
55
|
+
/** 根据ID删除视图 */
|
|
56
|
+
export const deleteViewModel = (param) => deleteAction( '/easydata/controlInfo/deleteViewModel', param);
|
|
57
|
+
/** 根据视图ID及数据源复制视图 */
|
|
58
|
+
export const copyViewModel = (param) => postAction( '/easydata/controlInfo/copyViewModel', param)
|
|
59
|
+
|
|
60
|
+
/** 根据数据源名称及视图ID查询控件信息 */
|
|
61
|
+
export const listControlInfo = (param) => getAction( '/easydata/controlInfo/listByViewId', param);
|
|
62
|
+
/** 根据数据源名称查询虚拟列 */
|
|
63
|
+
export const listFieldInfo = (param) => getAction( '/easydata/fieldInfo/list', param);
|
|
64
|
+
/** 保存控件信息整个table */
|
|
65
|
+
export const saveControlModel = (param) => postAction( '/easydata/controlInfo/saveControlModel', param);
|
|
66
|
+
/** 删除一行控件信息 */
|
|
67
|
+
export const deleteControlInfo = (param) => deleteAction( '/easydata/controlInfo/deleteControlInfo', param);
|
|
68
|
+
|
|
69
|
+
/** 获取控件属性信息 */
|
|
70
|
+
export const getControlProps = (controlId) => getAction( '/easydata/controlProps/one', {controlId});
|
|
71
|
+
/** 新增控件属性 */
|
|
72
|
+
export const addControlProps = (param) => postAction( '/easydata/controlProps/add', param);
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
// 批量导出
|
|
76
|
+
export default {
|
|
77
|
+
dataSourcePage,
|
|
78
|
+
copyDataSource,
|
|
79
|
+
addDsInfo,
|
|
80
|
+
delDs,
|
|
81
|
+
exportOne,
|
|
82
|
+
importDs,
|
|
83
|
+
easyDbList,
|
|
84
|
+
addEasyDb,
|
|
85
|
+
addAllEasyDb,
|
|
86
|
+
|
|
87
|
+
addFieldModel,
|
|
88
|
+
getFieldListByDsId,
|
|
89
|
+
|
|
90
|
+
addTableInfo,
|
|
91
|
+
getTableInfoByDsId,
|
|
92
|
+
getDbTableInfoByDsId,
|
|
93
|
+
|
|
94
|
+
deleteAllViCol,
|
|
95
|
+
reloadAllViCol,
|
|
96
|
+
createTable,
|
|
97
|
+
getTableSchema,
|
|
98
|
+
dropTable,
|
|
99
|
+
clearTable,
|
|
100
|
+
truncateTable,
|
|
101
|
+
alterTable,
|
|
102
|
+
createDbTable,
|
|
103
|
+
truncateDbTable,
|
|
104
|
+
alterDbTable,
|
|
105
|
+
clearDbTable,
|
|
106
|
+
deleteAllDbViCol,
|
|
107
|
+
reloadAllDbViCol,
|
|
108
|
+
dropDbTable,
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
addSqlIdInfo,
|
|
112
|
+
getSqlIdList,
|
|
113
|
+
|
|
114
|
+
controlInfoViewList,
|
|
115
|
+
addViewModel,
|
|
116
|
+
deleteViewModel,
|
|
117
|
+
copyViewModel,
|
|
118
|
+
listControlInfo,
|
|
119
|
+
listFieldInfo,
|
|
120
|
+
saveControlModel,
|
|
121
|
+
deleteControlInfo,
|
|
122
|
+
getControlProps,
|
|
123
|
+
addControlProps
|
|
124
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import {getAction, postAction, uploadAction} from './index'
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @name DefaultUrl
|
|
6
|
+
* @type {{init: string, selectData: string, deleteData: string, uploadUrl: string, uploadLocalUrl: string, updateData: string, page: string, insertData: string, updateDataList: string}}
|
|
7
|
+
* @description 公共请求地址
|
|
8
|
+
*/
|
|
9
|
+
export const DefaultUrl = {
|
|
10
|
+
page: "/easydata/view/selectDataPage",
|
|
11
|
+
init: "/easydata/view/controls",
|
|
12
|
+
selectData: '/easydata/view/selectData',
|
|
13
|
+
deleteData: '/easydata/view/deleteData',
|
|
14
|
+
insertData: '/easydata/view/insertData',
|
|
15
|
+
updateData: '/easydata/view/updateData',
|
|
16
|
+
updateDataList: '/easydata/view/updateDataList',
|
|
17
|
+
uploadUrl: '/easydata/common/upload',
|
|
18
|
+
uploadLocalUrl: '/sys/common/uploadLocal',
|
|
19
|
+
downloadUrl: '/admin-api/infra/file/',
|
|
20
|
+
selectDataList: "/easydata/dataOperator/selectDataList",
|
|
21
|
+
getTreeData: '/admin/base/tree/getData',
|
|
22
|
+
getDictItemsByType: '/easydata/dict/getDictItemsByType',
|
|
23
|
+
getDictList: '/easydata/dict/getDictList',
|
|
24
|
+
//直接操作数据库,不是通过视图
|
|
25
|
+
insertDataByObj: '/easydata/dataOperator/insertData',
|
|
26
|
+
//直接操作数据库,不是通过视图
|
|
27
|
+
updateDataByObj: '/easydata/dataOperator/updateData',
|
|
28
|
+
exportDataList: '/easydata/view/exportDataList',
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @name TempType
|
|
33
|
+
* @type {{view: string, save: string}}
|
|
34
|
+
* @description 模板类型
|
|
35
|
+
*/
|
|
36
|
+
export const TempType = {
|
|
37
|
+
save: 'save',
|
|
38
|
+
view: 'view',
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** 分页查询列表数据 */
|
|
42
|
+
export const pageQueryList = (viewModel, url = DefaultUrl.page) => postAction(url, viewModel);
|
|
43
|
+
/** 初始化数据源控件 */
|
|
44
|
+
export const initControls = (dataSourceName, viewId = 'default') => getAction(DefaultUrl.init, {
|
|
45
|
+
dataSourceName,
|
|
46
|
+
viewId
|
|
47
|
+
})
|
|
48
|
+
/** 条件查询一条数据 */
|
|
49
|
+
export const getOneData = (viewModel, url = DefaultUrl.selectData) => postAction(url, viewModel);
|
|
50
|
+
/** 根据id删除数据 */
|
|
51
|
+
export const deleteDataById = (id, dataSourceName) => postAction(DefaultUrl.deleteData, {id, dataSourceName});
|
|
52
|
+
/** 新增一条数据 */
|
|
53
|
+
export const insertData = (viewModel, url = DefaultUrl.insertData) => postAction(url, viewModel);
|
|
54
|
+
/** 更新一条数据 */
|
|
55
|
+
export const updateData = (viewModel, url = DefaultUrl.updateData) => postAction(url, viewModel);
|
|
56
|
+
/** 更新多条数据 */
|
|
57
|
+
export const updateDataList = (viewModel, url = DefaultUrl.updateDataList) => postAction(url, viewModel);
|
|
58
|
+
/** 上传文件地址 */
|
|
59
|
+
export const uploadFile = (param, url = DefaultUrl.uploadUrl) => uploadAction(url, param);
|
|
60
|
+
/** 上传文件到本地, 比如数据源导入等 */
|
|
61
|
+
export const uploadLocalFile = (param, url = DefaultUrl.uploadLocalUrl) => uploadAction(url, param);
|
|
62
|
+
/** 根据type获取码表得item */
|
|
63
|
+
export const getDictItemByType = (param, url = DefaultUrl.getDictItemsByType) => getAction(url, param);
|
|
64
|
+
/** 获取所有得码表type支持传类型筛选 */
|
|
65
|
+
export const getDictList = (param, url = DefaultUrl.getDictList) => getAction(url, param);
|
|
66
|
+
export const selectDataList = (param, url = DefaultUrl.selectDataList) => postAction(url, param);
|
|
67
|
+
export const insertDataByObj = (param, url = DefaultUrl.insertDataByObj) => postAction(url, param);
|
|
68
|
+
export const updateDataByObj = (param, url = DefaultUrl.updateDataByObj) => postAction(url, param);
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* 获取文件服务访问路径
|
|
73
|
+
* @param avatar
|
|
74
|
+
* @param subStr
|
|
75
|
+
* @returns {*}
|
|
76
|
+
*/
|
|
77
|
+
export const getFileAccessHttpUrl = (avatar, subStr) => {
|
|
78
|
+
if (!subStr) subStr = 'http'
|
|
79
|
+
try {
|
|
80
|
+
if (avatar && avatar.startsWith(subStr)) {
|
|
81
|
+
return avatar;
|
|
82
|
+
} else {
|
|
83
|
+
if (avatar && avatar.length > 0 && avatar.indexOf('[') === -1) {
|
|
84
|
+
return Vue.prototype.$EdFrame.BASE_API + avatar;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
} catch (err) {
|
|
88
|
+
console.log(err);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {deleteAction, getAction, postAction, putAction} from "../index";
|
|
2
|
+
|
|
3
|
+
/** 提交在线表单 */
|
|
4
|
+
export const insertSingleForm = (param) => postAction('/easydata/easy-form/insertSingleForm', param);
|
|
5
|
+
|
|
6
|
+
/** 提交在线模板表单 */
|
|
7
|
+
export const insertTemplateForm = (param) => postAction('/easydata/easy-form/insertTemplateForm', param);
|
|
8
|
+
|
|
9
|
+
/** 修改在线表单 */
|
|
10
|
+
export const updateSingleForm = (param) => postAction('/easydata/easy-form/updateSingleForm', param);
|
|
11
|
+
|
|
12
|
+
/** 回显在线表单 */
|
|
13
|
+
export const querySingleForm = (param) => postAction('/easydata/easy-form/querySingleForm', param);
|
|
14
|
+
|
|
15
|
+
/** 回显在线表单 */
|
|
16
|
+
export const queryTemplateForm = (param) => postAction('/easydata/easy-form/queryTemplateForm', param);
|
|
17
|
+
|
|
18
|
+
/** 创建在线表单 */
|
|
19
|
+
export const createEasyFormInfo = (param) => postAction('/easydata/easy-form-info/create', param);
|
|
20
|
+
|
|
21
|
+
/** 更新在线表单 */
|
|
22
|
+
export const updateEasyFormInfo = (param) => putAction('/easydata/easy-form-info/update', param);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/** 删除在线表单 */
|
|
26
|
+
export const deleteEasyFormInfo = (id) => deleteAction('/easydata/easy-form-info/delete?id=' + id);
|
|
27
|
+
|
|
28
|
+
/** 获得在线表单 */
|
|
29
|
+
export const getEasyFormInfo = (id) => getAction('/easydata/easy-form-info/get?id=' + id);
|
|
30
|
+
|
|
31
|
+
/** 获得在线表单分页 */
|
|
32
|
+
export const getEasyFormInfoPage = (param) => getAction('/easydata/easy-form-info/page', param);
|
package/lib/api/index.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
|
|
3
|
+
export function postAction(url, param) {
|
|
4
|
+
return Vue.prototype.$EdFrame.request({
|
|
5
|
+
url: url,
|
|
6
|
+
method: 'post',
|
|
7
|
+
data: param
|
|
8
|
+
})
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function getAction(url, param) {
|
|
12
|
+
return Vue.prototype.$EdFrame.request({
|
|
13
|
+
url: url,
|
|
14
|
+
method: 'get',
|
|
15
|
+
params: param
|
|
16
|
+
})
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function deleteAction(url, param) {
|
|
20
|
+
return Vue.prototype.$EdFrame.request({
|
|
21
|
+
url: url,
|
|
22
|
+
method: 'delete',
|
|
23
|
+
params: param,
|
|
24
|
+
})
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export function putAction(url, param) {
|
|
28
|
+
return Vue.prototype.$EdFrame.request({
|
|
29
|
+
url: url,
|
|
30
|
+
method: 'put',
|
|
31
|
+
data: param,
|
|
32
|
+
})
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function uploadAction(url, param) {
|
|
36
|
+
return Vue.prototype.$EdFrame.request({
|
|
37
|
+
url: url,
|
|
38
|
+
data: param,
|
|
39
|
+
method: 'post',
|
|
40
|
+
headers: {
|
|
41
|
+
'Content-Type': 'multipart/form-data',
|
|
42
|
+
}
|
|
43
|
+
})
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function downFilePost(url, parameter) {
|
|
47
|
+
return Vue.prototype.$EdFrame.request({
|
|
48
|
+
url: url,
|
|
49
|
+
data: parameter,
|
|
50
|
+
method: 'post',
|
|
51
|
+
responseType: 'blob'
|
|
52
|
+
})
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default {
|
|
56
|
+
postAction,
|
|
57
|
+
getAction,
|
|
58
|
+
deleteAction,
|
|
59
|
+
putAction,
|
|
60
|
+
uploadAction,
|
|
61
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {deleteAction, getAction, postAction} from '../index'
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// 数据源分页查询
|
|
5
|
+
export const copyInterface = (param) => getAction('/easyapi/copy', param)
|
|
6
|
+
export const deleteInterface = (param) => deleteAction('/easyapi/delete', param)
|
|
7
|
+
export const resolveMeta = (param) => postAction('/easyapi/meta/resolveMeta', param)
|
|
8
|
+
export const saveMeta = (param) => postAction('/easyapi/meta/saveMeta', param)
|
|
9
|
+
export const getMeta = (param) => postAction('/easyapi/meta/getMeta', param)
|
|
10
|
+
export const saveParams = (param) => postAction('/easyapi/saveParams', param)
|
|
11
|
+
export const listFieldInfo = (param) => postAction('/easydata/view/selectData', param)
|
|
12
|
+
export const exportFile = (param) => postAction('/easyapi/exportFile', param)
|
|
13
|
+
export const importInterface = (param) => postAction('/easyapi/importInterface', param)
|
|
14
|
+
export const jobCall = (param) => postAction('/easyapi/job/call', param)
|
|
15
|
+
|
|
16
|
+
export const updateDepend = (param) => postAction('/easyapi/updateDepend', param)
|
|
17
|
+
|
|
18
|
+
export const saveDepend = (param) => postAction('/easyapi/saveDepend', param)
|
|
19
|
+
// 批量导出
|
|
20
|
+
export default {
|
|
21
|
+
copyInterface,
|
|
22
|
+
deleteInterface,
|
|
23
|
+
resolveMeta,
|
|
24
|
+
saveMeta,
|
|
25
|
+
getMeta,
|
|
26
|
+
listFieldInfo,
|
|
27
|
+
saveParams,
|
|
28
|
+
importInterface,
|
|
29
|
+
jobCall,
|
|
30
|
+
saveDepend,
|
|
31
|
+
updateDepend
|
|
32
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {getAction} from "./index";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// 查询部门列表
|
|
5
|
+
export const listDept = (param) => getAction('/system/dept/list', param)
|
|
6
|
+
|
|
7
|
+
// 获取用户精简信息列表
|
|
8
|
+
export const listSimpleUsers = (param) => getAction('/system/user/list-all-simple', param)
|
|
9
|
+
|
|
10
|
+
// 查询用户列表
|
|
11
|
+
export const listUser = (param) => getAction('/system/user/page', param)
|
|
12
|
+
|
|
13
|
+
// 获取岗位精简信息列表
|
|
14
|
+
export const listSimplePosts = (param) => getAction('/system/post/list-all-simple', param)
|
|
15
|
+
|
|
16
|
+
// 获取部门精简信息列表
|
|
17
|
+
export const listSimpleDepts = (param) => getAction('/system/dept/list-all-simple', param)
|
|
18
|
+
|
|
19
|
+
// 查询角色列表
|
|
20
|
+
export const listRole = (param) => getAction('/system/role/page', param)
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import {postAction, getAction, uploadAction, deleteAction, putAction, downFilePost} from './api'
|
|
3
|
+
// 混合组件
|
|
4
|
+
import EasyDataTable from './packages/EasyDataTable/EasyDataTable.vue'
|
|
5
|
+
import EasyDataList from './packages/EasyDataList/EasyDataList.vue'
|
|
6
|
+
import EasyDataForm from './packages/EasyDataForm/EasyDataForm.vue'
|
|
7
|
+
import EasyDataTemplate from './packages/BasicTemplate/EasyDataTemplate.vue'
|
|
8
|
+
import EasyDataView from './packages/EasyDataView/EasyDataView.vue'
|
|
9
|
+
import EdRichPreview from './packages/EdRichPreview/index.js'
|
|
10
|
+
import EdRichText from './packages/EdRichText/index.vue'
|
|
11
|
+
|
|
12
|
+
// 装载组件
|
|
13
|
+
import DataSourceList from './pages/DataSource'
|
|
14
|
+
import Interface from './pages/Interface'
|
|
15
|
+
import Template from './pages/Template'
|
|
16
|
+
|
|
17
|
+
// css
|
|
18
|
+
import "./style/index.scss"
|
|
19
|
+
|
|
20
|
+
// 组件集合
|
|
21
|
+
const components = {
|
|
22
|
+
EasyDataList,
|
|
23
|
+
EasyDataTable,
|
|
24
|
+
EasyDataForm,
|
|
25
|
+
EasyDataTemplate,
|
|
26
|
+
EasyDataView,
|
|
27
|
+
EdRichPreview,
|
|
28
|
+
EdRichText,
|
|
29
|
+
|
|
30
|
+
DataSourceList,
|
|
31
|
+
Interface,
|
|
32
|
+
Template,
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
Object.keys(components).forEach(key => {
|
|
36
|
+
Vue.component(components[key].name, components[key]);
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
const install = function (Vue, opts = {}) {
|
|
41
|
+
// 传递参数
|
|
42
|
+
Vue.prototype.$EdFrame = {}
|
|
43
|
+
Object.keys(opts).forEach(key => {
|
|
44
|
+
Vue.prototype.$EdFrame[key] = opts[key]
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
// 注册请求方法 - post
|
|
48
|
+
Vue.prototype.$EdFrame.postAction = postAction
|
|
49
|
+
Vue.prototype.$EdFrame.getAction = getAction
|
|
50
|
+
Vue.prototype.$EdFrame.uploadAction = uploadAction
|
|
51
|
+
Vue.prototype.$EdFrame.deleteAction = deleteAction
|
|
52
|
+
Vue.prototype.$EdFrame.putAction = putAction
|
|
53
|
+
Vue.prototype.$EdFrame.downFilePost = downFilePost
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* istanbul ignore if */
|
|
57
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
58
|
+
install(window.Vue);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export {
|
|
62
|
+
EasyDataTemplate,
|
|
63
|
+
EasyDataView,
|
|
64
|
+
EasyDataList,
|
|
65
|
+
EasyDataTable,
|
|
66
|
+
|
|
67
|
+
DataSourceList,
|
|
68
|
+
Interface,
|
|
69
|
+
Template,
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export default {
|
|
73
|
+
version: '1.0.0',
|
|
74
|
+
install,
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|