299 Commits

Author SHA1 Message Date
roymondchen
3934ebd030 refactor(editor): 优化组件树逻辑 2022-12-22 10:56:05 +08:00
kevinyzheng
87a19c9bae fix(editor): 代码块列表无法滚动 2022-12-21 18:19:52 +08:00
roymondchen
cfc57f17af fix(editor): 组件销毁时移除service的时间监听 2022-12-13 15:32:13 +08:00
roymondchen
7c823022ae build(playground): playground 增加element-plus 按需加载
fix #438
2022-12-08 19:43:38 +08:00
roymondchen
45eaea6f68 fix(editor): 编辑器初始化默认选择节点 2022-12-05 20:05:23 +08:00
roymondchen
b7934f9f51 fix(editor): 页面切换不在重新渲染画布 2022-11-29 16:58:00 +08:00
roymondchen
fc50c87ad5 fix(editor): m-form不能加key,会导致vue示例销毁重建 2022-11-24 15:23:50 +08:00
roymondchen
eacc4dc794 fix(editor): 切换选中组件后组件属性表单内存未释放
fix #123
2022-11-23 17:54:01 +08:00
parisma
5ae32f0792 fix: 在tree上增加tabindex来监听focus事件,完善组件树多选体验 2022-11-23 09:49:58 +00:00
parisma
db91b3e6c6 style(editor): 修复组件树无法滑动的问题 2022-11-23 09:49:58 +00:00
parisma
dc730cddc3 style(editor): 默认展开组件树节点 2022-11-22 04:28:54 +00:00
parisma
8195a600f5 feat(editor): 修改代码块参数结构,以对象形式暴露app,params 2022-11-22 04:28:54 +00:00
roymondchen
813ca55ef6 feat(editor): 添加右键菜单粘贴icon 2022-11-18 16:22:42 +08:00
parisma
16f671cd8f feat(editor): 代码块支持传递参数 (merge request !9)
Squash merge branch 'feature/parisma_codeDraft' into 'master'
1、 table支持items为函数
2、代码块支持传递参数
2022-11-15 08:48:19 +00:00
roymondchen
8de58a2101 refactor(editor): 明确CodeEditor type的定义 2022-11-15 16:01:52 +08:00
parisma
b2702aaa9e fix: 优化组件列表多选键盘快捷键监听体验 2022-11-10 19:53:35 +08:00
parisma
c7a8552d9b fix: 代码块结构改造完成 2022-11-10 19:53:35 +08:00
parisma
c4293f17a6 feat: 修改code_block结构,组件代码关系绑定改为table,绑定关系更新未完成 2022-11-10 19:53:35 +08:00
parisma
0eab817a11 fix(editor): 区分直接关闭和保存后关闭
#440
2022-11-10 19:53:35 +08:00
parisma
d98d3748d3 feat(editor): 拆分代码块编辑器便于以后扩展,支持草稿自动保存,修复代码块列表的样式问题
#440
2022-11-10 19:53:35 +08:00
parisma
3673d6016d feat(editor): 代码编辑新增草稿功能
#440
2022-11-10 19:53:35 +08:00
roymondchen
6fdc28e121 chore(editor): export Layout 2022-11-07 14:32:16 +08:00
roymondchen
8d8ef55b81 fix(editor): 画布滚动条出现的不准确 2022-11-04 19:39:47 +08:00
roymondchen
c2e8a1caae fix(editor): content-menu没有响应式 2022-11-04 19:19:44 +08:00
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
roymondchen
11e0e04cbd feat(editor,stage): 在画布中支持选择父组件
close #403
2022-10-20 19:52:53 +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
0444f68f3a fix(editor): 拖动改变左右列宽,不能让中间区域宽度小于0 2022-10-12 17:57:34 +08:00
roymondchen
e01d5d913f fix(editor): 列框缓存失效 2022-10-12 17:57:34 +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
1c3565035c feat(editor): code组件新增options props 2022-09-23 19:55:28 +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