Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit 09e67e5

Browse files
authored
Merge pull request #112 from vize-team/feature/editor-optim
Feature/editor optim
2 parents c290ab2 + 30d8cf8 commit 09e67e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+5793
-1815
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,8 @@ lerna-debug.log*
289289
!/packages/cgi-new/dist/
290290
/packages/generator-web/test/dist
291291
/packages/cgi/workspace
292-
/packages/generator-pegasus
293292
/packages/doc/src/.vuepress/dist/
294293
/packages/types/dist/
295294
/packages/cgi/deploy-boilerplate/
296295
/packages/types/docs/
297-
/packages/editor/src/api/utils.ts
298296
/packages/materials-universal/.vize/

README.md

Lines changed: 73 additions & 108 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 4887 additions & 332 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
"@types/tinycolor2": "^1.4.2",
8585
"@typescript-eslint/eslint-plugin": "^3.0.2",
8686
"@typescript-eslint/parser": "^3.0.2",
87+
"@vuepress/plugin-active-header-links": "^1.8.0",
88+
"@vuepress/plugin-back-to-top": "^1.8.0",
89+
"@vuepress/plugin-nprogress": "^1.8.0",
90+
"@vuepress/plugin-pwa": "^1.8.0",
91+
"@vuepress/plugin-search": "^1.8.0",
8792
"css-loader": "3.4.2",
8893
"css-to-string-loader": "^0.1.3",
8994
"customize-cra": "^0.9.1",
@@ -102,6 +107,7 @@
102107
"less": "4.1.0",
103108
"less-loader": "5.0.0",
104109
"lint-staged": "^10.2.11",
110+
"markdown-it-html5-embed": "^1.0.0",
105111
"node-watch": "^0.7.1",
106112
"prettier": "^1.19.1",
107113
"raw-loader": "^4.0.1",
@@ -110,8 +116,10 @@
110116
"sass-loader": "^8.0.2",
111117
"typedoc": "^0.20.35",
112118
"typescript": "^4.2.4",
119+
"vuepress": "^1.8.0",
113120
"vuepress-plugin-code-copy": "^1.0.6",
114121
"vuepress-plugin-code-switcher": "^1.1.0",
122+
"vuepress-plugin-nprogress": "^1.1.8",
115123
"webpack": "4.42.0"
116124
}
117125
}

packages/cli/src/webpackCompiler/lib.default.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,13 @@ export function getLibDefaultWebpackConfig({ libConfig, libPaths, isProd, withFo
127127
// })
128128
],
129129
externals: {
130-
antd: 'Antd',
131130
react: 'React',
132131
'react-dom': 'ReactDom',
133132
'react-dom/server': 'ReactDomServer',
134-
'@formily/antd': 'Formily',
133+
antd: 'Antd',
134+
'@formily/core': 'FormilyCore',
135+
'@formily/react': 'FormilyReact',
136+
'@formily/antd': 'FormilyAntd',
135137
},
136138
mode: isProd ? 'production' : 'development',
137139
devtool: 'source-map',

packages/doc/package.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
{
22
"name": "vize-doc",
33
"version": "1.0.0",
4-
"description": "",
5-
"main": "index.js",
64
"scripts": {
7-
"dev": "./node_modules/.bin/vuepress dev ./src",
5+
"dev": "../../node_modules/.bin/vuepress dev ./src",
86
"build": "./node_modules/.bin/vuepress build ./src"
9-
},
10-
"author": "",
11-
"license": "ISC",
12-
"devDependencies": {
13-
"@vuepress/plugin-active-header-links": "^1.8.0",
14-
"@vuepress/plugin-back-to-top": "^1.8.0",
15-
"@vuepress/plugin-nprogress": "^1.8.0",
16-
"@vuepress/plugin-pwa": "^1.8.0",
17-
"@vuepress/plugin-search": "^1.8.0",
18-
"markdown-it-html5-embed": "^1.0.0",
19-
"vuepress": "^1.8.0"
207
}
218
}

packages/doc/src/.vuepress/config.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { sidebar } = require('./sidebar');
22

33
module.exports = {
44
title: 'Vize',
5-
description: 'Vize: 现代化的可视化搭建引擎',
5+
description: 'Vize: 现代化的可视化编排引擎',
66
repo: 'https://github.com/vize-team/vize',
77
serviceWorker: true,
88
displayAllHeaders: true,
@@ -28,10 +28,18 @@ module.exports = {
2828
text: '文档',
2929
link: '/welcome/intro',
3030
},
31+
{
32+
text: 'Types',
33+
link: 'https://vize-team.github.io/types/modules.html',
34+
},
3135
{
3236
text: 'Github',
3337
link: 'https://github.com/vize-team/vize',
3438
},
39+
{
40+
text: 'Discussions',
41+
link: 'https://github.com/vize-team/vize/discussions',
42+
},
3543
],
3644
sidebarDepth: 2,
3745
sidebar,
@@ -42,6 +50,10 @@ module.exports = {
4250
'@vuepress/back-to-top',
4351
'@vuepress/plugin-nprogress',
4452
'@vuepress/last-updated',
53+
'@vuepress/plugin-back-to-top',
54+
'vuepress-plugin-smooth-scroll',
55+
'vuepress-plugin-table-of-contents',
56+
'vuepress-plugin-nprogress',
4557
[
4658
'@vuepress/plugin-pwa',
4759
{
@@ -58,8 +70,6 @@ module.exports = {
5870
},
5971
},
6072
],
61-
'vuepress-plugin-smooth-scroll',
62-
'vuepress-plugin-table-of-contents',
6373
[
6474
'@vuepress/search',
6575
{
@@ -70,7 +80,7 @@ module.exports = {
7080
'code-switcher',
7181
{
7282
groups: {
73-
default: { config: 'config.ts', index: 'index.ts', style: 'index.scss' },
83+
default: { config: 'config.ts', index: 'index.ts' },
7484
},
7585
},
7686
],

packages/doc/src/.vuepress/sidebar.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
const sidebar = [
22
{
3-
title: '欢迎',
3+
title: '👏 欢迎',
44
collapsable: true,
55
children: ['/welcome/intro', '/welcome/packages'],
66
},
77
{
8-
title: '快速上手',
8+
title: '⚡️ 快速上手',
99
collapsable: true,
1010
children: ['/start/ready', '/start/component', '/start/plugin', '/start/action', '/start/container'],
1111
},
1212
{
13-
title: '物料开发',
13+
title: '🌟 物料开发',
1414
collapsable: true,
1515
children: ['/dev/materials', '/dev/component', '/dev/plugin', '/dev/action', '/dev/container'],
1616
},
1717
{
18-
title: '事件系统',
18+
title: '⚛️ 事件系统',
1919
collapsable: true,
2020
children: [
2121
'/events/intro',
@@ -27,28 +27,28 @@ const sidebar = [
2727
],
2828
},
2929
{
30-
title: '表单',
30+
title: '✉️ 表单',
3131
collapsable: true,
3232
children: ['/form/intro', '/form/jsonSchema', '/form/registryField', '/form/dynamicForm'],
3333
},
3434
{
35-
title: '样式',
35+
title: '💅 样式',
3636
collapsable: true,
3737
children: ['/style/styleGroup', '/style/styleInject', '/style/fixed'],
3838
},
3939
{
40-
title: '进阶',
40+
title: '⚙️ 进阶',
4141
collapsable: true,
4242
children: [
4343
'/advanced/meta',
4444
'/advanced/containerComponent',
4545
'/advanced/routerController.md',
46-
'/advanced/hot-area-component.md',
46+
'/advanced/hotAreaComponent.md',
4747
'/advanced/dsl.md',
4848
],
4949
},
5050
{
51-
title: '部署',
51+
title: '🛠 部署',
5252
collapsable: true,
5353
children: [
5454
'/deploy/intro',
@@ -60,8 +60,9 @@ const sidebar = [
6060
],
6161
},
6262
{
63-
title: 'CLI',
63+
title: '🪄 CLI',
6464
collapsable: true,
65+
children: ['/cli/config', '/cli/commands'],
6566
},
6667
];
6768

packages/doc/src/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ actionText: 上手 →
55
actionLink: /welcome/intro
66

77
features:
8-
- title: 丰富完备的物料抽象
9-
details: 组件、插件、动作、页面容器等多种粒度的物料抽象,具备无限的拓展能力
10-
- title: 易用的可视化编辑
8+
- title: 🌟 丰富完备的物料抽象
9+
details: 组件、插件、事件、动作、页面容器等多种粒度的物料抽象,具备无限的拓展能力
10+
- title: 🤟 易用的可视化编辑
1111
details: 拖拽式编排、流式/自由布局能力、可视化热区、容器组件嵌套等能力,让复杂的编排功能也变得友好且易用
12-
- title: 强大的逻辑配置能力
13-
details: 强大的事件配置系统,让物料具备真正的联动能力,即使复杂地逻辑与交互也不在话下
14-
- title: 真 · 所见即所得
15-
details: 高性能地实时预览渲染引擎,带来真正所见即做的编辑体验
16-
- title: 便捷的接入方式
17-
details: 为所有的单元能力提供 NPM Packages,超低成本接入
18-
- title: 完善的工具链支持
19-
details: CLI 提供完善的模板创建、开发、调试、发布等功能
12+
- title: ⚛️ 强大的逻辑编排能力
13+
details: 强大的可视化事件配置系统,让物料具备真正的联动能力,即使复杂的逻辑与交互也不在话下
14+
- title: 👁 真 · 所见即所得
15+
details: 高性能的实时预览渲染引擎,带来真正所见即做的编辑体验
16+
- title: 🛠 强大的拓展能力
17+
details: 为所有的单元能力提供独立 Packages,开箱即用,超低成本接入,同时提供丰富的拓展接口
18+
- title: 🪄 完善的工具链支持
19+
details: CLI 提供完善的模板创建、开发、调试、构建、发布等功能
2020

2121
footer: Developing with ❤️ by Aedron@github
2222
meta:
2323
- name: description
24-
content: 现代化的 Web 可视化搭建引擎
24+
content: 现代化的 Web 可视化编排引擎
2525
- name: keywords
2626
content: home homepage homepages
2727
---
File renamed without changes.

0 commit comments

Comments
 (0)