45 Commits

Author SHA1 Message Date
parisma
071619b9bd style(editor): 代码块样式修改 2022-09-22 16:46:11 +08:00
parisma
134efbfb0f fix(editor): 修复从dsl初始化时代码块绑定关系未同步的问题,修复一些warning,优化语法报错时保存并关闭的交互逻辑 2022-09-22 16:46:11 +08:00
parisma
896f92b5a8 fix(editor): 代码块删除支持传参处理失败逻辑,ts类型修复 2022-09-22 16:46:11 +08:00
parisma
bc000e9ca6 fix(editor): 解决修改代码名称后已选择的select tag不更新的问题,优化一些样式 2022-09-22 16:46:11 +08:00
parisma
8b9ac826fc fix(editor): 修复语法报错 2022-09-22 16:46:11 +08:00
parisma
441a412817 fix(editor): icon使用editor封装的icon组件 2022-09-22 16:46:11 +08:00
parisma
5b220a0e06 feat(editor): codeBlockService暴露一些方法支持hook,默认设置代码块到dsl的method字段 2022-09-22 16:46:11 +08:00
parisma
2f803c963a feat(editor): 代码块功能增加删除,完善一些边界情况的交互 2022-09-22 16:46:11 +08:00
parisma
0c25cf795f feat(editor): 代码块绑定功能完成 2022-09-22 16:46:11 +08:00
parisma
7640c06ccb feat(editor): 代码块service封装完成 2022-09-22 16:46:11 +08:00
parisma
452c80d829 feat(editor): 代码块功能新增slot 2022-09-22 16:46:11 +08:00
parisma
2a8cfe58c4 feat(editor): 新增,编辑代码块完成 2022-09-22 16:46:11 +08:00
parisma
f1242ee3f4 feat(editor): 代码块编辑区改为使用弹窗,代码块slot完善 2022-09-22 16:46:11 +08:00
parisma
0c2c33f854 feat(editor): 代码块新增,编辑器保存至dsl 2022-09-22 16:46:11 +08:00
roymondchen
4643acb0f8 fix(editor): layer-node-content slot参数出错 2022-09-22 15:47:12 +08:00
roymondchen
cda0c41ad4 feat(editor): 新增layer-node-content slot,用于定制组件树节点
re #368
2022-09-22 14:43:46 +08:00
roymondchen
3ff823a59f fix(editor): 页面列表是否可以滚动判断不准确 2022-09-14 20:09:00 +08:00
roymondchen
c307386190 feat(editor): 添加compoent-list-item slot 2022-09-06 16:04:20 +08:00
roymondchen
4872e5352b chore(editor): 重构tool-button,将功能逻辑移到nav-menu中 2022-08-25 15:30:41 +08:00
roymondchen
143bded648 feat(editor): 记住组件树节点展开的状态
close #283
2022-08-19 10:57:19 +08:00
roymondchen
08dae20aa0 build(editor): 由于生成.d文件无法将别名转化成真实路径,暂时将@editor改回相对路径 2022-08-05 20:12:35 +08:00
roymondchen
4ff07ea5a9 fix(editor): 重复import 2022-07-28 15:31:08 +08:00
i33
340eeb32d7
fix(editor): 已选组件树形拖放时, layout 根据父窗口动态变化 (#210)
* fix(editor): 已选组件树形拖放时, layout 根据父窗口动态变化

当拖拽到不同的父节点时, 自身节点的position不会根据父容器变化

* 修改代码格式

Co-authored-by: jia000 <398009049@qq.com>

Co-authored-by: jia000 <398009049@qq.com>
2022-07-28 13:47:54 +08:00
roymondchen
89f863d873 fix: 当前选中组件处于流式布局模式下时,直接拖动其他组件会错误判断成是流式组件 2022-07-25 22:02:17 +08:00
roymondchen
0e0e3ee310 refactor: 使用@element-plus/icons-vue替换@element-plus/icons 2022-07-14 20:39:11 +08:00
roymondchen
de0c6952c7 feat: 支持将组件拖动到指定容器 2022-07-14 19:02:29 +08:00
roymondchen
e901ad4dd0 feat(editor): 添加props-panel-header slot;修改layer-panel,component-list-panel slot名称,加上-header 2022-07-08 17:37:04 +08:00
roymondchen
49c9e87d6e feat(editor): 添加layer-panel/component-list-panel slot 2022-07-07 19:46:11 +08:00
roymondchen
70292b92c8 feat(editor): contentmenu支持扩展 2022-06-06 15:28:47 +08:00
roymondchen
d02e044293 refactor(editor): tabpane prop type 2022-05-27 18:48:55 +08:00
roymondchen
2731609526 fix: 升级element-plus2.2.0后,sidebar动态变化后,顺序不对 2022-05-13 20:45:31 +08:00
roymondchen
1486beb52c fix: 升级element-plus2.2.0后,button默认样式变化 2022-05-13 20:45:31 +08:00
roymondchen
d1610e5ff2 style(editor): 菜单样式优化 2022-05-07 15:18:29 +08:00
roymondchen
bcbd1f5d37 fix(editor): 删除组件后,组件树不更新 2022-05-07 15:18:29 +08:00
roymondchen
5da8601f36 feat(editor): 支持拖拽添加组件 2022-05-07 15:18:29 +08:00
roymondchen
56375b0fb0 refactor(editor): 重构右键菜单 2022-05-05 20:33:10 +08:00
roymondchen
992ebbe3ce fix(editor): 修复新增组件时,组件列表配置的数据丢失问题 2022-04-13 17:17:14 +08:00
roymondchen
f896115881 feat(editor): 组件树保持展开当前选中节点的父节点 2022-04-07 18:31:37 +08:00
roymondchen
8390ba75be fix(editor): 从组件树选中没有渲染的组件时,需要等待组件渲染完成再初始化选中框 2022-04-07 18:31:37 +08:00
roymondchen
97a722579d feat(editor): 组件树增加id和type过滤 2022-04-02 20:14:45 +08:00
roymondchen
a842c5b0ce feat: 优化拖拽体验 2022-04-02 12:56:54 +08:00
roymondchen
be4df0fc9b fix(editor): 组件树右键菜单子菜单出不来 2022-04-01 16:56:59 +08:00
roymondchen
6dbda7b565 style(editor): 将节点类型改成枚举 2022-03-31 19:46:12 +08:00
parisma
feb9ac9a81 feat: 编辑器支持鼠标悬停高亮组件 2022-03-31 15:16:32 +08:00
roymondchen
bc8b9f5225 refactor: make it public 2022-02-17 14:47:39 +08:00