新增前端vue

This commit is contained in:
2025-11-26 13:55:01 +08:00
parent ae391f1b94
commit ffd5a6ad66
781 changed files with 83348 additions and 0 deletions

1
web-vue/packages/dfm/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/assets

View File

@@ -0,0 +1,23 @@
- 官方网站:<https://jeesite.com>
- 使用文档:<https://jeesite.com/docs>
- 后端代码:<https://gitee.com/thinkgem/jeesite5>
- 前端代码:<https://gitee.com/thinkgem/jeesite-vue>
------
<div align="center">
如果你喜欢 JeeSite请给她一个 ⭐️ Star您的支持将是我们前行的动力。
</div>
------
- 问题反馈:<https://gitee.com/thinkgem/jeesite-vue/issues> [【新手必读】](https://gitee.com/thinkgem/jeesite5/issues/I18ARR)
- 需求收集:<https://gitee.com/thinkgem/jeesite-vue/issues/new>
- QQ 群:`127515876``209330483``223507718``709534275``730390092``1373527``183903863(外包)`
- 微信群:添加客服微信 <http://s.jeesite.com> 邀请您进群
- 关注微信公众号,了解最新动态:
<p style="padding-left:40px">
<img alt="JeeSite微信公众号" src="https://jeesite.com/assets/images/mp.png" width="220" height="220">
</p>

View File

@@ -0,0 +1,2 @@
import './node_modules/@jeesite/dfm-lib/dist/style.css';
export { DBuilder, DDesigner, pluginManager, setupDForm } from './node_modules/@jeesite/dfm-lib/dist';

View File

@@ -0,0 +1,40 @@
{
"name": "@jeesite/dfm",
"version": "5.14.0",
"private": true,
"type": "module",
"scripts": {
"type:check": "vue-tsc --noEmit --skipLibCheck",
"uninstall": "rimraf node_modules",
"update": "ncu -u"
},
"dependencies": {
"@jeesite/dfm-lib": "5.14.0-rc.1",
"@vueuse/core": "13.9.0",
"dayjs": "1.11.18",
"less": "4.4.2",
"lodash-es": "4.17.21",
"monaco-editor": "0.54.0",
"vuedraggable": "4.1.0",
"vue-i18n": "11.1.12",
"vue-types": "6.0.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "6.0.1",
"vite-plugin-dts": "4.5.4",
"vitest": "3.2.4"
},
"homepage": "https://jeesite.com",
"repository": {
"type": "git",
"url": "https://gitee.com/thinkgem/jeesite-vue.git"
},
"bugs": {
"url": "https://gitee.com/thinkgem/jeesite-vue/issues"
},
"author": {
"name": "ThinkGem",
"email": "thinkgem@163.com",
"url": "https://gitee.com/thinkgem"
}
}

View File

@@ -0,0 +1,32 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@jeesite/dfm/*": ["./*"]
}
},
"include": [
"./**/*.ts",
"./**/*.tsx",
"./**/*.vue"
],
"exclude": [
"node_modules",
"vite.config.ts",
"dist"
],
"homepage": "https://jeesite.com",
"repository": {
"type": "git",
"url": "https://gitee.com/thinkgem/jeesite-vue.git"
},
"bugs": {
"url": "https://gitee.com/thinkgem/jeesite-vue/issues"
},
"author": {
"name": "ThinkGem",
"email": "thinkgem@163.com",
"url": "https://gitee.com/thinkgem"
}
}

View File

@@ -0,0 +1,20 @@
<template>
<PageWrapper :contentFullHeight="true">
<DDesigner :hiddenHeader="false" />
</PageWrapper>
</template>
<script setup>
import { PageWrapper } from '@jeesite/core/components/Page';
import { DDesigner } from '@jeesite/dfm';
// import { pluginManager } from '@jeesite/dfm';
// import { onMounted } from 'vue';
//
// onMounted(() => {
// console.log(pluginManager.getComponents());
// console.log(pluginManager.getComponentConfigs());
// console.log(pluginManager.getComponent('Input'));
// console.log(pluginManager.getComponentConfig('Input'));
// pluginManager.registerComponent(componentConfig);
// pluginManager.removeComponent('Input');
// });
</script>