@ibiz-template/full-code-template 0.7.41-alpha.2 → 0.7.41-alpha.5

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.
Files changed (28) hide show
  1. package/package.json +2 -2
  2. package/src/index.js +1 -0
  3. package/static/CHANGELOG.md +1 -0
  4. package/static/README.md +19 -10
  5. package/static/index.html +1 -1
  6. package/static/package.json +15 -13
  7. package/static/pnpm-lock.yaml +1128 -646
  8. package/static/public/dingtalk.html +1 -1
  9. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.266/index.min.css +1 -0
  10. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.266/index.system.min.js +15 -0
  11. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.266/polyfills.legacy.js +4 -0
  12. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.270/index.min.css +1 -0
  13. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.270/index.system.min.js +15 -0
  14. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.270/polyfills.legacy.js +4 -0
  15. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.299/index.min.css +1 -0
  16. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.299/index.system.min.js +15 -0
  17. package/static/public/extras/js/@ibiz-template-plugin/gantt/0.1.8-alpha.299/polyfills.legacy.js +4 -0
  18. package/static/public/extras/js/element-plus/2.4.4/element-plus.system.min.js +9 -9
  19. package/static/public/extras/json/system-import.json +3 -3
  20. package/static/public/oauth.html +1 -1
  21. package/static/public/scripts/jquery.min.js +4 -0
  22. package/static/public/wxwork.html +1 -1
  23. package/static/src/components/view-shell/view-shell.tsx +4 -1
  24. package/static/src/model/model-loader.ts +26 -15
  25. package/template/@macro/control/include.hbs +4 -0
  26. package/template/pages/index.ts.hbs +7 -4
  27. package/static/public/extras/js/element-plus/2.4.2/element-plus.min.css +0 -1
  28. package/static/public/extras/js/element-plus/2.4.2/element-plus.system.min.js +0 -77
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/full-code-template",
3
- "version": "0.7.41-alpha.2",
3
+ "version": "0.7.41-alpha.5",
4
4
  "description": "vue3全代码模版包,根据包内容生成项目代码。",
5
5
  "bin": {
6
6
  "code-generator": "src/index.js"
@@ -16,7 +16,7 @@
16
16
  "author": "ibiz",
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "@ibizlab/cli": "^0.2.25",
19
+ "@ibizlab/cli": "^0.2.29",
20
20
  "commander": "^12.0.0",
21
21
  "prettier": "^3.2.5"
22
22
  }
package/src/index.js CHANGED
@@ -33,5 +33,6 @@ execSync(
33
33
  `${binPath}/ibizlab pub -m ${modelPath} -t ${templatePath} -o ${outputPath}/src/publish --app ${app} && ${binPath}/prettier --ignore-path '' '${outputPath}/src/publish/**/*.(ts|vue|tsx)' -w`,
34
34
  );
35
35
  copyFiles(`${outputPath}/src/publish/app`, `${outputPath}/public/static/app`);
36
+ fs.rmSync(`${outputPath}/src/publish/app`, { recursive: true, force: true }); // 递归删除目录及其内容
36
37
 
37
38
  console.log(`发布模板成功,模型路径:${modelPath},发布应用代码标识:${app},模板路径:${templatePath},输出路径:${outputPath}/src/publish`);
@@ -10,6 +10,7 @@
10
10
  ### Fixed
11
11
 
12
12
  - 修复项目应用无appUtils资源时启动报错的问题
13
+ - 修复列表导航栏和表格导航栏绘制异常
13
14
 
14
15
  ### PackageUpgrade
15
16
 
package/static/README.md CHANGED
@@ -56,7 +56,16 @@ iBiz前端全代码项目基于iBiz平台产出的模型,采用了模板技术
56
56
  $ pnpm install
57
57
  ```
58
58
 
59
- ### 3. 启动
59
+ ### 3. 发布代码
60
+
61
+ 打开前端项目,进入工作空间下,根据实际情况调整pub命令参数,其中m指的是模型路径,t指的是模板路径,o指的是输出目录,app指的是应用名称。
62
+
63
+ ```bash
64
+ # "pub": "ibizlab pub -m /root/workspace/ibizlab-plm/model -t ./template -o ./src/publish --app plmweb && npm run prettier && npm run postpub",
65
+ $ pnpm pub
66
+ ```
67
+
68
+ ### 4. 启动
60
69
 
61
70
  在工作空间下,执行启动命令。
62
71
 
@@ -66,25 +75,25 @@ $ pnpm run dev
66
75
 
67
76
  启动后,访问开发项目。
68
77
 
69
- ### 3. 预览
78
+ ### 5. 打包
70
79
 
71
- 在工作空间下,执行预览命令。
80
+ 在工作空间下,执行打包命令。
72
81
 
73
82
  ```bash
74
- $ pnpm run preview
83
+ $ pnpm run build
75
84
  ```
76
85
 
77
- 启动后,预览开发项目。
86
+ 打包完成,生成最终交付产物。
78
87
 
79
- ### 4. 打包
88
+ ### 6. 预览
80
89
 
81
- 在工作空间下,执行打包命令。
90
+ 在工作空间下,执行预览命令。
82
91
 
83
92
  ```bash
84
- $ pnpm run build
93
+ $ pnpm run preview
85
94
  ```
86
95
 
87
- 打包完成,生成最终交付产物。
96
+ 启动后,预览开发项目。
88
97
 
89
98
  ## 成果物结构
90
99
 
@@ -124,7 +133,7 @@ $ pnpm run build
124
133
 
125
134
  ## 如何贡献
126
135
 
127
- 如果你希望参与贡献,欢迎 [Pull Request](<https://gitee.com/iBizModeling/full-code-vue/issues/new>),或通过自助服务群给我们报告 Bug。
136
+ 如果你希望参与贡献,欢迎Pull Request,或通过自助服务群给我们报告 Bug。
128
137
 
129
138
  强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)(本指南不提供此项目的实际支持服务!)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](https://www.chiark.greenend.org.uk/~sgtatham/bugs-cn.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。
130
139
 
package/static/index.html CHANGED
@@ -15,7 +15,7 @@
15
15
  />
16
16
  <link
17
17
  type="text/css"
18
- href="/extras/js/element-plus/2.4.2/element-plus.min.css"
18
+ href="/extras/js/element-plus/2.4.4/element-plus.min.css"
19
19
  rel="stylesheet"
20
20
  />
21
21
  <script src="/extras/js/system/6.14.2/system.min.js"></script>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ibiz-template/full-code-template",
3
3
  "private": true,
4
- "version": "0.7.41-alpha.2",
4
+ "version": "0.7.41-alpha.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -9,9 +9,10 @@
9
9
  "preview": "vite preview",
10
10
  "lint": "eslint 'src/**/*.tsx' 'src/**/*.ts' 'src/**/*.vue'",
11
11
  "lint:style": "stylelint 'src/**/*.scss'",
12
- "pub": "ibizlab pub -m /root/workspace/plm-community-plugin/plmcom-core/src/main/resources/model/cn/ibizlab/plmcom -t ./template -o ./src/publish --app plmcomweb && npm run prettier && npm run postpub",
12
+ "pub:temp":"publish -p .",
13
+ "pub:code": "generate -m /root/workspace/ibizlab-plm/model -o ./ --app plmweb -tv 0.7.41-alpha.5 && npm run prettier && npm run postpub",
13
14
  "postpub": "cp -r ./src/publish/app/* ./public/static/app && rm -rf ./src/publish/app/*",
14
- "compute-pkg": "ibiz-temp compute-pkg -m /root/workspace/plm-community-plugin/plmcom-core/src/main/resources/model/cn/ibizlab/plmcom --app plmcomweb",
15
+ "compute-pkg": "ibiz-temp compute-pkg -m /root/workspace/ibizlab-plm/model --app plmweb",
15
16
  "download-pkg": "ibiz-temp download-pkg",
16
17
  "prettier": "prettier --ignore-path '' 'src/publish/**/*.(ts|vue|tsx)' -w",
17
18
  "clear": "rm -rf src/publish"
@@ -22,17 +23,16 @@
22
23
  "@ibiz-template-plugin/ai-chat": "^0.0.28",
23
24
  "@ibiz-template-plugin/bi-report": "0.0.26",
24
25
  "@ibiz-template-plugin/data-view": "0.0.4",
25
- "@ibiz-template/cli": "^0.3.13",
26
- "@ibiz-template/core": "0.7.41-alpha.2",
26
+ "@ibiz-template/core": "0.7.41-alpha.18",
27
27
  "@ibiz-template/devtool": "0.0.11",
28
- "@ibiz-template/model-helper": "0.7.41-alpha.2",
29
- "@ibiz-template/runtime": "0.7.41-alpha.2",
28
+ "@ibiz-template/model-helper": "0.7.41-alpha.21",
29
+ "@ibiz-template/runtime": "0.7.41-alpha.21",
30
30
  "@ibiz-template/theme": "0.7.39",
31
- "@ibiz-template/vue3-components": "0.7.41-alpha.2",
32
- "@ibiz-template/vue3-util": "0.7.41-alpha.2",
33
- "@ibiz-template/web-theme": "3.4.0",
34
- "@ibiz/model-core": "^0.1.76",
35
- "@ibiz/rt-model-api": "^0.2.73",
31
+ "@ibiz-template/vue3-components": "0.7.41-alpha.21",
32
+ "@ibiz-template/vue3-util": "0.7.41-alpha.21",
33
+ "@ibiz-template/web-theme": "3.8.0",
34
+ "@ibiz/model-core": "^0.1.81",
35
+ "@ibiz/rt-model-api": "^0.2.79",
36
36
  "@imengyu/vue3-context-menu": "^1.3.5",
37
37
  "@wangeditor/editor": "^5.1.23",
38
38
  "@wangeditor/editor-for-vue": "^5.1.12",
@@ -60,7 +60,9 @@
60
60
  "devDependencies": {
61
61
  "@commitlint/cli": "^17.8.0",
62
62
  "@commitlint/config-conventional": "^17.8.0",
63
- "@ibizlab/cli": "^0.2.25",
63
+ "@ibiz-template/cli": "^0.3.23",
64
+ "@ibiz-template/full-code-generator": "^0.0.3",
65
+ "@ibizlab/cli": "^0.2.29",
64
66
  "@types/lodash-es": "^4.17.10",
65
67
  "@types/node": "^20.8.7",
66
68
  "@types/nprogress": "^0.2.2",