1466 Commits

Author SHA1 Message Date
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
jia000
1f6c59ee41
Merge pull request #203 from jia000/release
chore: release v1.1.0-beta.3
2022-07-25 22:07:49 +08:00
roymondchen
818b5ea02a chore: release v1.1.0-beta.3 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
a4abf5feea fix(playground): 小屏幕下设备切换按钮样式问题 2022-07-18 14:11:41 +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
7c42f751a4 fix(magic-admin): 画布显示出错 2022-07-14 21:31:51 +08:00
roymondchen
48294ea21b chore: release v1.1.0-beta.1 2022-07-14 21:31:51 +08:00
roymondchen
fe281cfade build: 发布后更新docs依赖 2022-07-14 21:31:51 +08:00
roymondchen
4c5817a922 docs: 尖括号没有转义 2022-07-14 20:39:11 +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
260b6435cf docs: 添加editor新props 2022-07-14 19:30:42 +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
803f93caab build(playground): run playground 后自动在浏览器中打开页面 2022-07-12 14:23:25 +08:00
roymondchen
014859fd2f feat(runtime): 支持构建magic-admin的runtime产物 2022-07-11 20:18:55 +08:00
roymondchen
7dc0b4e261 fix(magic-admin): 修复发布页面资源路径错误,导致页面无法打开问题 2022-07-11 19:52:52 +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
dd1a8e22c5 docs: 添加render教程 2022-07-07 19:16:39 +08:00
kevinyzheng
8b70edeaf2 fix(runtime): 解决启动脚本不识别组件包内的插件 2022-07-07 11:54:34 +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
de81218dc0 chore: 修改actions构建失败问题 2022-07-01 20:07:28 +08:00
roymondchen
4e4d380afd docs: 修改文档表述不恰当问题 2022-07-01 17:42:59 +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