114 Commits

Author SHA1 Message Date
parisma
a2fb92d988 feat(stage): 1) 高亮边框样式加粗
2) 统一组件是否可选中逻辑,固定定位和绝对定位不可混合多选
3) 多选moveable options接受业务传入的moveableOptions
2022-07-27 13:13:44 +08:00
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
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
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
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
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
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
5c74e0f296 chore: release v1.0.4 2022-07-07 20:01:27 +08:00
roymondchen
56a7707721 chore: release v1.0.3 2022-07-05 15:04:35 +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
1950c11629 chore: release v1.0.2 2022-06-29 15:35:29 +08:00
roymondchen
fd1fea2519 chore: release v1.0.1 2022-06-27 15:00:07 +08:00
roymondchen
618f853d63 chore: release v1.0.0 2022-06-24 20:54:30 +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
roymondchen
7467aba75e chore(stage): 修改判断position的方法 2022-06-22 16:51:28 +08:00
roymondchen
6e7837dc39 chore: release v1.0.0-rc.12 2022-06-21 20:42:36 +08:00
roymondchen
def0e3ef8d feat(stage): 提供tmagicRuntimeReady message事件通知 2022-06-21 20:19:25 +08:00
i33
f72b8c7614
fix: 修正getScrollParent逻辑 (#141)
* Create const.ts

错别字

* docs:修改注释中错别字

* fix: 修正getScrollParent逻辑
2022-06-21 12:51:35 +08:00
i33
b751621488
docs:修改注释中错别字 (#140)
* Create const.ts

错别字

* docs:修改注释中错别字
2022-06-20 13:10:07 +08:00
jia000
0fe6e0ed75
release v1.0.0-rc.11 (#138)
* fix(editor): 页面标题不要换行

* docs: 教程与stageCore

* fix(editor): runtime.updateRootConfig可以为空

* fix(editor): 编辑组件是获取parent需要获取到Proxy

* fix(editor): 默认page属性值加上layout

* fix(stage): magic注入时机应当在iframe onload之后

* chore: release v1.0.0-rc.11

* chore: 更新changlog

Co-authored-by: roymondchen <roymondchen@tencent.com>
2022-06-17 17:13:22 +08:00
i33
e5f269cd88
Update const.ts (#137)
chore(stage): 修改注释中的错别字
2022-06-16 14:35:54 +08:00
roymondchen
3ab29d7022 chore: release v1.0.0-rc.10 2022-06-15 19:43:25 +08:00
roymondchen
7c5c4cb4ae chore: release v1.0.0-rc.9 2022-06-15 15:29:30 +08:00
roymondchen
feff6177c9 fix(stage): 所有父节点中如果有translate,导致选中框定位出错 2022-06-15 15:23:46 +08:00
roymondchen
48c4f784c4 chore: release v1.0.0-rc.8 2022-06-15 14:43:36 +08:00
roymondchen
154860c66c feat: 支持配置updateDragEl方法来调制选中框 2022-06-15 14:22:14 +08:00
roymondchen
2ed4557536 chore: release 1.0.0-rc.7 2022-06-13 19:10:40 +08:00
roymondchen
a9936b5276 feat(stage): 支持rotate scale fix #92 2022-06-09 19:22:05 +08:00
roymondchen
4944b27464 build: 移出lerna,改用pnpm 2022-06-07 16:25:41 +08:00
roymondchen
9af637408c 1.0.0-rc.6 2022-06-06 15:41:00 +08:00
roymondchen
586711b9bd fix(editor): 置顶,置低逻辑弄反了 2022-06-06 15:28:47 +08:00
roymondchen
efef69e8ff build: 支持node 16 2022-06-01 18:15:55 +08:00
roymondchen
e0f8752773 v1.0.0-rc.5 2022-05-31 21:47:54 +08:00
roymondchen
0824602ad2 fix(stage): 流式布局下,镜像节点zindex应该比选中节点高 2022-05-31 21:47:54 +08:00
roymondchen
85164ec432 feat(stage): elementGuidelines可以配置 2022-05-31 21:47:54 +08:00
roymondchen
d2c936c5f0 v1.0.0-rc.4 2022-05-31 12:09:59 +08:00
roymondchen
67e2ba3825 feat(stage): 增加对齐线 2022-05-31 12:09:59 +08:00
roymondchen
0397c6887a feat(stage): runtime添加getApp方法 2022-05-27 18:48:55 +08:00
roymondchen
8452daf0e0 fix(stage): 页面小于画布时,滚动位置修复 2022-05-27 18:48:55 +08:00