1480 Commits

Author SHA1 Message Date
jia000
d3342a04c9
Merge pull request #315 from jia000/release
chore: release v1.1.0-beta.13
2022-08-29 12:19:33 +08:00
roymondchen
7dfb0ea7b6 chore: release v1.1.0-beta.13 v1.1.0-beta.13 2022-08-29 12:18:18 +08:00
roymondchen
f3c376a31f chore(cli): 去除@vuepress/cli依赖 2022-08-29 12:14:40 +08:00
roymondchen
de8ef8dc58 feat(editor): 画布添加滚动条
fix #262
2022-08-26 22:00:16 +08:00
roymondchen
dd3075be56 feat(editor): 去掉画布根据视窗大小自动调整缩放比例,加上缩放到实际大小/缩放以适应菜单按钮 2022-08-25 16:24:48 +08:00
roymondchen
4872e5352b chore(editor): 重构tool-button,将功能逻辑移到nav-menu中 2022-08-25 15:30:41 +08:00
roymondchen
ca5e4d2702 chore(editor): 导出ContentMenu 2022-08-25 11:08:17 +08:00
jia000
814984d5bf
Merge pull request #309 from jia000/release
chore: release v1.1.0-beta.12
2022-08-24 11:09:03 +08:00
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