314 Commits

Author SHA1 Message Date
parisma
a4884c504f fix: 修复多选组件时新增组件的体验问题 2022-07-27 13:13:44 +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
0450de481f refactor(stage): 将dragresize中的up down函数移到util中 2022-07-26 16:28:37 +08:00
roymondchen
bf95925878 fix(editor): 拖动组件到最右边会多出1px 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
Iain
923e8ea5ab feat(core): 添加设计稿宽度设置(px转rem相关),默认375,可设置为750 2022-07-22 16:10:50 +08:00
khuntoriia
3ccabfbe44
多选优化及问题修复 (#196)
* feat(stage): 支持绝对定位,固定定位,组内元素按住shift键进行多选拖拽能力

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

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

* fix(stage): 修复多选target元素无法映射到drag虚拟元素的问题

* feat(stage): 多选拖拽完成后将更新的位置信息暴露给上层业务方

* fix(stage): 删除多余的成员变量

Co-authored-by: parisma <parisma@tencent.com>
2022-07-22 11:31:11 +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
1750467d5b fix(core): 事件触发时组件未初始化,等组件初始化后再调用事件处理 2022-07-19 15:39:45 +08:00
roymondchen
d8d0096350 chore: release v1.1.0-beta.2 2022-07-15 18:53:56 +08:00
jia000
30b209b628
chore: release v1.0.6 (#183)
* fix(form): el-table类型引用有问题,改为any

* chore: release v1.0.6

Co-authored-by: roymondchen <roymondchen@tencent.com>
2022-07-15 18:19:50 +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
f3e2d9ca39 feat(ui): page 添加magic-ui-container class 2022-07-14 19:02:29 +08:00
roymondchen
f2893880b1 feat(ui-vue2): 升级至vue2.7.4 2022-07-11 15:23:58 +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
roymondchen
8d5eab0ef8 fix(form): date组件初始值 不显示 2022-07-07 19:46:11 +08:00
roymondchen
db96610c91 chore(form): 去掉无用log 2022-07-05 20:25:12 +08:00
roymondchen
56a7707721 chore: release v1.0.3 2022-07-05 15:04:35 +08:00
roymondchen
3090bc7763 fix(form): 配置了names,validator中的value应为model 2022-07-05 14:49:23 +08:00
roymondchen
9454bb3679 fix(form): tabs配置name后出错 2022-07-05 14:49:23 +08:00
roymondchen
26c60c316a fix(form): fieldset checkbox chang事件不会触发 2022-07-05 14:49:23 +08:00
roymondchen
68302c01f1 chore: install 后需要build,不然run playground会报错 2022-07-01 20:07:28 +08:00
roymondchen
a7afe057fb chore: import type 2022-07-01 20:07:28 +08:00
roymondchen
4216880d11 build: runtime支持热更新 2022-07-01 17:42:59 +08:00
roymondchen
6d4323123f build: build之前做type check 2022-06-30 20:23:50 +08:00
roymondchen
e1705c350e feat(form): datetime移出默认defaultTime,支持defaultTime配置 2022-06-30 20:23:50 +08:00
roymondchen
1950c11629 chore: release v1.0.2 2022-06-29 15:35:29 +08:00
roymondchen
fab8717fcf fix(form): el-upload类型读取失败导致Table.vue.d.ts丢失 2022-06-29 15:35:29 +08:00
roymondchen
32e86d8167 fix(form): 初始化values时,数组中的对象出现key丢失 2022-06-29 15:35:29 +08:00
roymondchen
fd1fea2519 chore: release v1.0.1 2022-06-27 15:00:07 +08:00
roymondchen
3de29e0316 feat(form): groundlist 函数配置增加prop/config两个变量 2022-06-27 12:06:00 +08:00
i33
ecd80cb4a4 fix(editor): 修正Editor slot 变量位置 2022-06-27 12:04:18 +08:00
roymondchen
618f853d63 chore: release v1.0.0 2022-06-24 20:54:30 +08:00
roymondchen
c83d83b1a1 fix(core): 拼写错误 2022-06-24 20:36:52 +08:00
roymondchen
83cd10159d feat(form): datetime默认的具体时刻设置为23:59:59 2022-06-24 20:36:52 +08:00
roymondchen
906002f809 chore: release v1.0.0-rc.13 2022-06-22 17:49:31 +08:00
roymondchen
069aec64c1 fix(stage): 无法拖到left为0 2022-06-22 16:51:28 +08:00
roymondchen
fb612eaddc feat(editor): 参考线缓存与页面绑定 2022-06-22 16:51:28 +08:00