840 Commits

Author SHA1 Message Date
roymondchen
cacf228511 chore: release v1.1.0-beta.9 2022-08-12 15:47:14 +08:00
roymondchen
4f8ea94ee8 feat(stage,editor): 拖入指定容器支持配置成按住alt才开启 2022-08-12 15:36:05 +08:00
roymondchen
c949590f80 feat(editor,stage): 多选支持居中操作 2022-08-12 13:39:25 +08:00
roymondchen
0e82f652a9 fix(editor): 删除节点后,标记父节点为修改状态 2022-08-11 17:25:54 +08:00
roymondchen
882774311a fix(editor): 水平居中添加了两个历史堆栈 2022-08-11 17:25:54 +08:00
roymondchen
ea83830f17 chore: release v1.1.0-beta.8 2022-08-11 14:44:46 +08:00
roymondchen
41cdc6e650 test(editor): 更新propsService引用路径 2022-08-11 14:39:59 +08:00
roymondchen
b6fa064b0b feat(editor): editorService.add支持添加多个组件 2022-08-11 14:26:03 +08:00
roymondchen
beee67b3eb fix(editor): 画布右键菜单中粘贴按钮显示条件修改 2022-08-09 20:05:21 +08:00
roymondchen
23617a63e9 fix(editor): icon 图片模式样式修改 2022-08-09 20:05:21 +08:00
roymondchen
100cb940cb chore: release v1.1.0-beta.7 2022-08-08 21:14:11 +08:00
roymondchen
a4dd4eac02 fix(editor): 页面列表显示问题 2022-08-08 19:21:40 +08:00
roymondchen
7de649d8c4 fix(editor): uiselect没有注册 2022-08-08 13:30:37 +08:00
roymondchen
3bcc0c408a chore: release v1.1.0-beta.6 2022-08-05 20:21:45 +08:00
roymondchen
08dae20aa0 build(editor): 由于生成.d文件无法将别名转化成真实路径,暂时将@editor改回相对路径 2022-08-05 20:12:35 +08:00
roymondchen
5e36ca8e47 build: 构建时某些文件的.d文件丢失 2022-08-05 20:12:35 +08:00
wangminghua
9ffecf62f7 fix(editor): 添加组件粘贴操作支持偏移量 2022-08-05 20:10:32 +08:00
roymondchen
574e03f685 feat(editor): 完善storageService功能
新增namespace,setItem/getItem时自动key自动加上namespace;setItem可以指定协议;getItem时根据协议自动解析

fix #224
2022-08-04 18:46:26 +08:00
roymondchen
14e9b6ec59 chore: 将vite/client配置到tsconfig中 2022-08-04 15:39:19 +08:00
roymondchen
55661ee2e7 chore: 更新vite到3.0 2022-08-04 15:39:19 +08:00
roymondchen
3c0f19347d chore: 更新ts版本 2022-08-04 15:39:19 +08:00
wangminghua
2008bc7da1 fix(editor): 修复添加StorageService定义导出带来的构建错误 2022-08-04 13:40:46 +08:00
王明华
da0cb7d614
feat(editor): 添加storageService服务 (#225)
* feat(editor): 添加storageService服务

* fix(editor): 添加type.ts 导出StorageService的定义
2022-08-04 12:45:55 +08:00
parisma
8c64ea798a feat(editor): 多选粘贴后同步选中粘贴的多个元素,并支持拖拽,粘贴删除支持多个元素同时撤销到上一步 2022-08-04 12:38:36 +08:00
parisma
af2fa3eee4 test(editor): 修改测试用例,修复流水线打包问题 2022-08-03 14:46:48 +08:00
khuntoriia
b702857aad
feat(editor): 多选菜单支持复制粘贴删除 (#217)
* feat(editor): 多选菜单支持复制粘贴删除

* fix(editor): 编辑器选中节点统一为nodes数组,保留原node对象为nodes数组的第一个元素,将复制粘贴删除行为封装到editorservice中,支持键盘快捷键

* test(editor): 修改editor相关测试用例

* fix(editor): cr问题修改

* feat(editor): 将复制粘贴操作进行拆分封装

* fix(editor): cr修改

Co-authored-by: parisma <parisma@tencent.com>
2022-08-03 14:03:36 +08:00
王明华
a02fd2c695
fix(editor): id可能重复 (#221)
提升id位数,降低id重复几率
2022-08-03 14:01:12 +08:00
roymondchen
699e6fe953 chore: release v1.1.0-beta.5 2022-07-29 14:46:16 +08:00
roymondchen
aa20c74131 fix(editor): 新增页面时会有一个error 2022-07-29 14:32:53 +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
fff587d9eb fix(editor): 新增组件id不对 2022-07-27 16:47:12 +08:00
roymondchen
11d790d245 chore: release v1.1.0-beta.4 2022-07-26 16:34:42 +08:00
roymondchen
c1fc6b8f94 feat(editor): editorService.add 的addNode参数对象中加上inputEvent 2022-07-26 16:28:37 +08:00
roymondchen
9747e0f516 fix(editor): 画布大小与stageRect配置不相符 2022-07-26 16:28:37 +08:00
roymondchen
dd1ec53064 fix(editor): 水平居中 2022-07-26 13:25:56 +08:00
i33
940b08b2c5 fix(editor): 修正css sass变量
遇到浏览器报错
2022-07-26 13:17:11 +08:00
roymondchen
818b5ea02a chore: release v1.1.0-beta.3 2022-07-25 22:06:01 +08:00
roymondchen
89f863d873 fix: 当前选中组件处于流式布局模式下时,直接拖动其他组件会错误判断成是流式组件 2022-07-25 22:02:17 +08:00
roymondchen
d334b697ae fix(editor): 指定父节点添加组件 2022-07-25 22:02:17 +08:00
khuntoriia
fe520bf600
支持通过按住shift键进行组件多选的能力 (#193)
* feat(stage): 支持绝对定位,固定定位,组内元素按住shift键进行多选拖拽能力

* refactor: 更新pnpm-lock.yaml

* feat(stage): 使用moveable.helper接管moveable target的更新,针对弹窗场景引入业务方方法进行校准

* feat(stage): 将多选逻辑封装到StageMultiDragResize

* fix(stage): cr意见修改

Co-authored-by: parisma <parisma@tencent.com>
2022-07-21 15:15:41 +08:00
roymondchen
d8d0096350 chore: release v1.1.0-beta.2 2022-07-15 18:53:56 +08:00
roymondchen
48294ea21b chore: release v1.1.0-beta.1 2022-07-14 21:31:51 +08:00
roymondchen
0e0e3ee310 refactor: 使用@element-plus/icons-vue替换@element-plus/icons 2022-07-14 20:39:11 +08:00
roymondchen
cec111beed chore: release v1.1.0-beta.0 2022-07-14 20:39:11 +08:00
roymondchen
de0c6952c7 feat: 支持将组件拖动到指定容器 2022-07-14 19:02:29 +08:00
roymondchen
d5f6f69994 chore: release v1.0.5 2022-07-08 17:49:38 +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
5c74e0f296 chore: release v1.0.4 2022-07-07 20:01:27 +08:00
roymondchen
49c9e87d6e feat(editor): 添加layer-panel/component-list-panel slot 2022-07-07 19:46:11 +08:00