422 Commits

Author SHA1 Message Date
roymondchen
091bf37b6d chore: release v1.1.0-beta.12 v1.1.0-beta.12 2022-08-24 11:04:08 +08:00
roymondchen
9b9c9db683 fix(editor): 上移一层通知runtime更新参数出错
fix #282
2022-08-24 10:36:42 +08:00
roymondchen
5529bbc6e1 fix(editor): 组件属性表单配置默认值 2022-08-24 10:04:28 +08:00
roymondchen
98bc4e2dbb feat(editor): 添加stage slot 2022-08-24 09:37:41 +08:00
roymondchen
31029bc8f1 feat(editor): propsService添加fillConfig方法,支持扩展 2022-08-23 20:35:34 +08:00
roymondchen
3cdcca3b0b chore(editor): 删除无用代码 2022-08-23 20:35:34 +08:00
wangminghua
9b0db4a807 fix(editor): 修复 update 返回值三目运算符判断错误的问题,同时优化输入与输入类型一致。 2022-08-23 14:39:21 +08:00
wangminghua
547e733c65 fix(editor): 修复Add返回数组还是对象的逻辑 2022-08-23 12:59:13 +08:00
roymondchen
cfda89a2f6 chore: 更新monaco-editor版本 2022-08-22 17:42:17 +08:00
王明华
56b8ed1d73
refactor(editor): 支持doPaste插件 (#299)
* refactor(editor): 粘贴时添加粘贴选项,用于格式化粘贴对象数据。

* refactor(editor): 支持doPaste插件
2022-08-22 17:36:02 +08:00
roymondchen
a7fa9f3a29 docs(docs): 组件联动原理描述
close #257
2022-08-22 15:11:55 +08:00
roymondchen
221336f634 docs: tmagic/cli 2022-08-22 15:11:55 +08:00
i33
f3c9ba475f
fix(editor): 拖拽改变父容器时错乱现象 (#296)
* fix(editor): 拖拽改变父容器时错乱现象

直接拖拽元素改变其父容器时, 会产生错乱的现象。

* Update packages/stage/src/types.ts

Co-authored-by: jia000 <398009049@qq.com>

Co-authored-by: jia000 <398009049@qq.com>
2022-08-22 13:18:23 +08:00
jia000
edcfe685d8
Merge pull request #295 from jia000/release
chore: release v1.1.0-beta.11
2022-08-19 11:26:22 +08:00
roymondchen
6cc1d8e3c0 chore: release v1.1.0-beta.11 v1.1.0-beta.11 2022-08-19 11:25:10 +08:00
roymondchen
de380357ee fix(ui,runtime): 组件注册默认以magic-ui-xx的形式,不再需要在组件中设置name
fix #291
2022-08-19 11:09:26 +08:00
roymondchen
143bded648 feat(editor): 记住组件树节点展开的状态
close #283
2022-08-19 10:57:19 +08:00
i33
0536ac29ae
fix(editor): 解决UISelect控制台警告 (#289)
* fix(editor): 解决UISelect控制台警告

tooltip使用时,如果直接子元素有v-if, 会造成控制台警告`[ElOnlyChild] no valid child node found`,添加一个固定元素,避免警告。

* Update UISelect.vue

修改v-if到tooltip
2022-08-19 10:52:01 +08:00
roymondchen
aed4b42191 feat(admin): 更新runtime 2022-08-18 19:47:49 +08:00
roymondchen
87f1bfbdd6 feat(cli): 添加onInit/onPrepare配置 2022-08-18 19:47:49 +08:00
roymondchen
4e4cae4a77 fix(cli): window下路径分隔符\转换为/
fix #286
2022-08-18 17:17:15 +08:00
jia000
8f8d6ba420
Merge pull request #285 from jia000/release
chore: release v1.1.0-beta.10
2022-08-17 15:31:26 +08:00
roymondchen
6573e8606f chore: release v1.1.0-beta.10 v1.1.0-beta.10 2022-08-17 15:29:57 +08:00
roymondchen
e1c0614265 fix(form): text按方向键减到负数后,继续按方向键无效
fix #261
2022-08-17 15:27:10 +08:00
roymondchen
5f0e421550 fix(editor): 复制页面错误 2022-08-17 15:27:10 +08:00
roymondchen
c19afda58c feat(cli): 自动install组件包,支持pnpm,npm,yarn 2022-08-17 15:27:10 +08:00
roymondchen
2cde4bb5a0 feat(editor): runtime add api中parent参数加回去 2022-08-16 16:29:32 +08:00
roymondchen
b1bd7a870e feat(core): 旋转角度支持配置不带单位的数值
fix #260
2022-08-16 15:45:48 +08:00
roymondchen
41a8400095 fix(playground,runtime): 拖动添加弹窗时初始位置不对 2022-08-16 15:20:39 +08:00
roymondchen
59e6aff70a feat(editor,stage): runtime-api中的add/update/remove中的参数加上parentId 2022-08-16 15:20:39 +08:00
roymondchen
9d2e2210d1 fix(editor): react runtime中添加没有即使渲染 2022-08-16 14:39:42 +08:00
jia000
79cee1cbdc
Merge pull request #273 from jia000/release
chore: release v1.1.0-beta.9
2022-08-12 16:12:20 +08:00
roymondchen
cacf228511 chore: release v1.1.0-beta.9 v1.1.0-beta.9 2022-08-12 15:47:14 +08:00
roymondchen
52973d2a34 feat(cli): 支持temp下的config.ts配置文件,该模式下的配置文件会默认被删掉 2022-08-12 15:38:45 +08:00
roymondchen
4f8ea94ee8 feat(stage,editor): 拖入指定容器支持配置成按住alt才开启 2022-08-12 15:36:05 +08:00
roymondchen
b1ce0be682 feat(stage): 暂时禁用多选resizable 2022-08-12 14:28:10 +08:00
roymondchen
edf66cc076 fix(stage): 多选时禁止拖出边界 2022-08-12 14:19:25 +08:00
roymondchen
c949590f80 feat(editor,stage): 多选支持居中操作 2022-08-12 13:39:25 +08:00
王明华
8f5acff0a6
fix(stage): 修复多选组件处于拖拽状态时画布组件命中高亮的问题,优化多选拖拽体验 (#265)
* fix(stage): 修复多选组件处于拖拽状态时画布组件命中高亮的问题,优化多选拖拽体验

* fix(stage): 修复多选组件处于拖拽状态时画布组件命中高亮的问题,优化多选拖拽体验

* fix(stage): type.ts 中定义全局拖拽状态枚举 StageDragStatus,并修改相关的枚举使用项

Co-authored-by: jia000 <398009049@qq.com>
2022-08-12 13:15:26 +08:00
王明华
cf9768ba96
fix(stage): 修复非多选状态下,点击选中组件切换为普通选中状态 (#254)
* fix(stage): 修复非多选状态下,点击选中组件切换为普通选中状态

* fix(stage): 修复非多选状态下,点击选中组件切换为普通选中状态

* fix(stage): 修复非多选状态下,点击选中组件切换为普通选中状态
2022-08-12 12:55:34 +08:00
roymondchen
78fe83bddc docs: 修改教程1中的错误描述 2022-08-12 12:48:02 +08:00
roymondchen
31d60eb1ba fix(playground): pc预览适配 2022-08-11 17:53:03 +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
jia000
554e7cfd52
Merge pull request #256 from jia000/release
chore: release v1.1.0-beta.8
2022-08-11 14:47:52 +08:00
roymondchen
ea83830f17 chore: release v1.1.0-beta.8 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
fb93527b44 chore: 更新vitest版本 2022-08-11 14:39:59 +08:00
roymondchen
b6fa064b0b feat(editor): editorService.add支持添加多个组件 2022-08-11 14:26:03 +08:00
roymondchen
5ccb5f1ec9 fix(ui-vue2): button,container,text formconfig补充完整 2022-08-09 20:05:21 +08:00