136 Commits

Author SHA1 Message Date
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
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