1943 Commits

Author SHA1 Message Date
roymondchen
6e07d5762b chore(eslint-config): release 0.1.0 2026-04-09 12:15:05 +08:00
roymondchen
cfd5998242 fix(stage): 新增组件后等待渲染完后选中 2026-04-09 12:03:36 +08:00
roymondchen
26dc70d70c fix(editor): 历史记录信息中添加页面信息 2026-04-08 17:19:15 +08:00
roymondchen
99c8274a1e fix(editor): 修复 getTMagicAppPrimise 变量名拼写错误
Made-with: Cursor
2026-04-07 20:30:39 +08:00
roymondchen
334569e2d7 feat(editor): 添加 stage beforeDblclick 钩子,支持拦截默认双击行为
在 StageOptions 和 EditorProps 中新增 beforeDblclick 配置项,
该函数返回 false 或 Promise<false> 时将阻止 stage 默认的双击处理逻辑。

Made-with: Cursor
2026-04-07 19:19:00 +08:00
roymondchen
f583c7daec feat(editor,data-source): 数据源支持内置"设置数据"方法
支持通过事件调用数据源的 setData 方法,可以选择数据源字段并根据字段类型动态设置数据;
重构 CodeParams 参数配置支持动态类型; DataSourceFieldSelect 支持指定数据源ID;
常量抽取到 utils/const.ts

Made-with: Cursor
2026-04-07 18:25:35 +08:00
roymondchen
172a7a1c92 feat(editor,stage): 支持双击穿透选中鼠标下方的下一个可选中元素
将 dblclick 处理统一到 Stage.vue,新增 ActionManager.getNextElementFromPoint
方法跳过最上层元素返回下方第二个可选中元素,双击时若无特殊处理则穿透选中下方组件。

Made-with: Cursor
2026-04-07 18:25:35 +08:00
roymondchen
73c676931f build: 更新ts@10 2026-04-07 18:25:35 +08:00
roymondchen
df2d635682 fix(editor): 优化 StageOverlay 双击行为,仅在元素被滚动容器裁剪时打开 overlay
双击页面片容器时直接选中对应页面片;新增 isClippedByScrollContainer
判断元素是否被非页面级滚动容器裁剪,避免不必要的 overlay 弹出。

Made-with: Cursor
2026-04-07 18:25:35 +08:00
roymondchen
0c2f2fd2b5 refactor(editor): 拆分 editor service,提取工具函数减少文件行数
将 services/editor.ts 从 1335 行精简到 1075 行,提取以下内容:

- 新增 utils/editor-history.ts:历史操作处理函数(add/remove/update)
- utils/editor.ts 新增:resolveSelectedNode、toggleFixedPosition、
  calcMoveStyle、calcAlignCenterStyle、calcLayerTargetIndex、
  editorNodeMergeCustomizer、collectRelatedNodes、classifyDragSources
- type.ts 新增:EditorEvents、canUsePluginMethods、AsyncMethodName
- 补充完整的单元测试覆盖所有新增工具函数

Made-with: Cursor
2026-04-07 18:25:35 +08:00
oceanzhu
a7274198bf docs: add AGENTS.md for AI navigation 2026-04-07 10:13:37 +08:00
Linzsong
6f2e8d8d74 fix(stage): 修复隐藏标尺后无法显示问题 2026-03-27 15:35:01 +08:00
roymondchen
637a5bb69a refactor(editor): 历史记录改成记录操作而不是记录副本 2026-03-27 15:27:41 +08:00
roymondchen
42e7ac1b2e chore: update lockfile v1.7.9 v1.7.9 2026-03-23 15:32:49 +08:00
roymondchen
a3cdad9d91 chore: release v1.7.9 2026-03-23 15:31:42 +08:00
roymondchen
711af79d72 fix(form): row容器中如果配置没有type显示异常 2026-03-23 15:23:41 +08:00
roymondchen
728fbc035c chore: update lockfile v1.7.8 v1.7.8 2026-03-20 19:44:45 +08:00
roymondchen
01795455e9 chore: release v1.7.8 2026-03-20 19:43:37 +08:00
roymondchen
9b56223359 fix(editor): 组件配置样式显示出错 2026-03-20 19:41:18 +08:00
roymondchen
984cea7ca3 chore: update lockfile v1.7.8-beta.4 v1.7.8-beta.4 2026-03-20 18:54:57 +08:00
roymondchen
9921ed8a2d chore: release v1.7.8-beta.4 2026-03-20 18:53:49 +08:00
roymondchen
e36d8d7cf8 fix(form-schema): 表单 schema 中 display 与 component 部分字段改为可选
Made-with: Cursor
2026-03-20 18:45:19 +08:00
roymondchen
35aa81514b chore: update lockfile v1.7.8-beta.3 v1.7.8-beta.3 2026-03-20 17:41:38 +08:00
roymondchen
450376872e chore: release v1.7.8-beta.3 2026-03-20 17:40:26 +08:00
roymondchen
e8714c96c9 feat(form-schema,form,editor,table): 完善表单配置类型 2026-03-20 17:38:11 +08:00
roymondchen
feefd3779e chore: update lockfile v1.7.8-beta.2 v1.7.8-beta.2 2026-03-20 12:36:12 +08:00
roymondchen
1ae023db8c chore: release v1.7.8-beta.2 2026-03-20 12:34:50 +08:00
roymondchen
55eb546ad6 feat(form-schema,form,editor): 完善表单配置类型 2026-03-20 12:31:55 +08:00
roymondchen
1664559d8f refactor(dep): 优化性能 2026-03-19 16:02:41 +08:00
roymondchen
a34d0cdccc build: 构建的类型文件中别名没有消除 2026-03-19 15:53:01 +08:00
roymondchen
210ac436fc chore: update lockfile v1.7.8-beta.1 v1.7.8-beta.1 2026-03-19 12:10:29 +08:00
roymondchen
64c8ed15ab chore: release v1.7.8-beta.1 2026-03-19 12:09:15 +08:00
roymondchen
bada79e519 fix: GitHub Pages 默认使用 Jekyll 处理站点文件,而 Jekyll 会忽略所有以下划线开头的文件和目录 2026-03-19 12:00:50 +08:00
roymondchen
06a6068c47 build: 优化type check性能 2026-03-19 11:47:08 +08:00
roymondchen
58281a345b chore(playground): 删除多样代码 2026-03-19 11:36:11 +08:00
roymondchen
0bbafa153d fix(core,data-source): 多个页面片容器引用同一个页面片时,其他有未渲染的页面片容器时会导致数据源编译后数据无法更新 2026-03-19 11:34:51 +08:00
roymondchen
f6bd647958 test(editor): 更新monaco-editor依赖 2026-03-18 20:27:09 +08:00
roymondchen
c79034befc feat(editor,form): 支持按需设置表单组件 2026-03-18 20:19:05 +08:00
roymondchen
88e6c7d377 build: es产物不要合并文件,保证能够tree-shaking 2026-03-18 19:19:29 +08:00
moonszhang
92bd5cf942 feat(core): runDataSourceMethod 返回 await 方法的执行结果 2026-03-18 09:15:01 +00:00
roymondchen
5ae667b7ee chore: update eslint 10 2026-03-17 20:03:45 +08:00
roymondchen
18bfbefaf2 chore: 更新版权协议 2026-03-17 17:31:43 +08:00
roymondchen
1b9492165c build: playground构建忽略lightningcss错误 2026-03-17 17:30:26 +08:00
roymondchen
61f00a0fb7 chore(editor): 完善类型检验 2026-03-17 16:57:28 +08:00
roymondchen
6d91a7a844 chore: 更新vite 2026-03-17 16:52:46 +08:00
roymondchen
3e4d49dd45 chore: update pnpm 2026-03-17 15:52:53 +08:00
roymondchen
1b854d2347 chore: update lockfile v1.7.7 v1.7.7 2026-03-12 17:32:26 +08:00
roymondchen
814549e168 chore: release v1.7.7 2026-03-12 17:30:47 +08:00
roymondchen
71d6dd9e38 feat(editor): monaco-editor改成异步加载 2026-03-12 17:27:07 +08:00
roymondchen
0d698b20e7 feat(data-source): 事件监听添加立即执行配置 2026-03-12 16:37:50 +08:00