72 Commits

Author SHA1 Message Date
roymondchen
131ae30bae chore: 添加组件name 2022-11-03 14:14:54 +08:00
roymondchen
95be9e9390 chore: 更新element-plus, tabpane只能是tabs的子元素,不能对tabpane进行二次封装 2022-11-02 15:24:58 +08:00
parisma
2c31caf34f fix(editor): 设置高亮节点操作一定要在刷新展开状态之后,否则可能导致设置的高亮无效
#404
2022-10-14 18:50:15 +08:00
roymondchen
40410292d7 fix(editor): 多选后拖动,组件树会收缩 2022-10-14 15:56:33 +08:00
roymondchen
6caa8cdb79 style(editor): 组件列表与组件树搜索框样式调整 2022-10-14 15:54:46 +08:00
roymondchen
63c61caccc feat(editor): editor使用tmagic-design
#401
2022-10-11 20:29:08 +08:00
khuntoriia
e3b7f587ee
feat(editor): 支持通过左侧组件树进行组件多选
* feat(layerpanel): 支持通过组件树对组件进行多选

* feat(editor): 重构LayerPanel为ts setup语法形式

* feat(editor): 组件列表选中节点与高亮节点时的逻辑优化,两种形态互斥处理

* fix(editor): 修复按住ctrl不放但鼠标移出的layerpanel时选择模式无法复原的问题,修复点击组件树index多选框可进行选择的问题

* fix(editor): 修复多选场景点击组件树节点取消多选时,节点高亮样式冲突的问题

close #404 

Co-authored-by: parisma <parisma@tencent.com>
2022-10-10 13:57:24 +08:00
parisma
52722ec5d4 chore(editor): ts报错修改 2022-09-28 16:42:32 +08:00
parisma
551da1a64b fix(eidtor): cr问题修改 2022-09-28 15:52:41 +08:00
parisma
0baec3e532 fix(editor): slot修改,schema声明修改 2022-09-28 15:52:41 +08:00
parisma
85951de24d fix(editor): 修复warning,修改playground dsl codeBlocks字段 2022-09-28 15:52:41 +08:00
parisma
84b24f11b8 Revert "fix(editor): codeblock slot参数修改"
This reverts commit b0a571b2bcb8b4c6f0098dd79fae4b9068996ae5.
2022-09-28 15:52:41 +08:00
parisma
2ac3645bb0 fix(editor): codeblock slot参数修改 2022-09-28 15:52:41 +08:00
roymondchen
96648767e4 chore(editor): 将组件都改成setup模式 2022-09-26 19:15:59 +08:00
roymondchen
dafcf33255 chore(editor): el-dialog class字段修改 2022-09-23 15:02:38 +08:00
roymondchen
00cd237f61 chore(editor): ts type error 2022-09-22 16:59:18 +08:00
parisma
37181d3084 fix(editor): 默认展开组件列表 2022-09-22 16:46:11 +08:00
parisma
92f3696e44 feat(editor): 组件代码块的绑定关系记录到dsl中,修复删除组件解除关系的问题,代码块dsl支持扩展字段 2022-09-22 16:46:11 +08:00
parisma
0b3585c150 feat(editor): 暂时隐藏代码块列表删除组件功能,支持点击组件tag定位到组件 2022-09-22 16:46:11 +08:00
parisma
bfaa8317e3 feat(editor): 支持代码块维度查看与组件的绑定关系,并支持从代码块列表解除绑定 2022-09-22 16:46:11 +08:00
parisma
5de3eeda71 refactor(editor): cr修改 2022-09-22 16:46:11 +08:00
parisma
ff3adbb1d0 refactor(editor): 导出ErrorType类型以便业务方使用 2022-09-22 16:46:11 +08:00
parisma
b3ae294a6a style(editor): 样式修改 2022-09-22 16:46:11 +08:00
parisma
c2637b1b0c fix(editor): 样式修改,editor pannel使用resize组件 2022-09-22 16:46:11 +08:00
parisma
27d8640fbc fix(editor): 样式优化 2022-09-22 16:46:11 +08:00
parisma
a452cecc44 fix(editor): 修改样式,修改代码块ID生成逻辑 2022-09-22 16:46:11 +08:00
parisma
9e1fb42783 feat(editor): 增加代码块搜索,代码编辑器同步设置是否可编辑属性,修复不可编辑状态下弹窗无法关闭的问题 2022-09-22 16:46:11 +08:00
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