711 Commits

Author SHA1 Message Date
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
roymondchen
beee67b3eb fix(editor): 画布右键菜单中粘贴按钮显示条件修改 2022-08-09 20:05:21 +08:00
roymondchen
23617a63e9 fix(editor): icon 图片模式样式修改 2022-08-09 20:05:21 +08:00
roymondchen
66d013f510 build(cli): 增加声明文件生成 2022-08-09 20:05:21 +08:00
jia000
538ec01507
Merge pull request #247 from jia000/release
chore: release v1.1.0-beta.7
2022-08-08 21:15:54 +08:00
roymondchen
100cb940cb chore: release v1.1.0-beta.7 v1.1.0-beta.7 2022-08-08 21:14:11 +08:00
roymondchen
a7057d2568 fix(form): daterange不会自动更新 2022-08-08 21:09:58 +08:00
roymondchen
0a126c1f71 chore: 添加magic-admin/server/static到eslintingnore 2022-08-08 21:09:58 +08:00
parisma
46e0e23785 fix(editor): 修复先单击选中页面,再进行多选无法选中的问题 2022-08-08 19:37:20 +08:00
roymondchen
a4dd4eac02 fix(editor): 页面列表显示问题 2022-08-08 19:21:40 +08:00
roymondchen
9ac3e12487 feat(utils): moment换成dayjs 2022-08-08 18:57:38 +08:00
roymondchen
5f78bbd7b7 feat(core): 新增store 2022-08-08 17:20:21 +08:00