roymondchen
|
092bc2914d
|
feat(data-source): 新增数据源 mounted 生命周期
页面渲染完成后由 runtime 触发 mounted 事件,统一管理数据源 mounted 及 timing=mounted 的方法执行;支持异步注册数据源在 init 后补充 mounted。
|
2026-09-03 20:27:18 +08:00 |
|
roymondchen
|
b0d43dc277
|
fix(editor,form): 合并宿主 FORM_CONTEXT 并修复 formState mForm 自引用
编辑器不再遮蔽外层 provide 的业务上下文。
formState Proxy 支持 Vue2 时代 vm.mForm 跨字段通信,
并修复 context 自引用导致的栈溢出。
Select 对 valueKey 路径使用可选链。
|
2026-09-02 16:44:01 +08:00 |
|
roymondchen
|
a7999f50d5
|
feat(form): 用 FormContext 与 provide/inject 替代 extendState 钩子
统一表单业务上下文的注入方式,通过读穿 Proxy 保持 mForm 回调签名不变,并移除 extendFormState/extendState 等分散的扩展钩子。
|
2026-09-01 14:48:42 +08:00 |
|
roymondchen
|
02eeb2e87f
|
feat(editor): 统一列表字段添加按钮样式并支持新增后自动滚动
CodeSelect、EventSelect、DisplayConds 使用吸底全宽添加按钮;
group-list 新增后滚到最后一项,避开吸顶标题与吸底按钮。
|
2026-09-01 12:02:09 +08:00 |
|
roymondchen
|
d877bd8593
|
test(editor): 使用 vi.waitFor 稳定 CompareForm 与 ViewForm 单测
|
2026-08-10 20:18:57 +08:00 |
|
roymondchen
|
6919a0a0b1
|
fix(editor): 右键菜单动态变化后修复菜单位置防止截断
|
2026-07-23 15:13:26 +08:00 |
|
roymondchen
|
6f3f321736
|
feat(editor): 抽离表单视图与对比逻辑
|
2026-07-21 21:18:29 +08:00 |
|
roymondchen
|
9aa251ce57
|
fix(editor): 延迟 FloatingBox 拖拽遮罩到实际位移时显示,修复关闭按钮点击失效
|
2026-07-02 20:52:17 +08:00 |
|
roymondchen
|
3b9fb714e5
|
refactor(editor): 解耦 FloatingBox 的 uiService 依赖并改为 props 传入
- FloatingBox 不再强制依赖 uiService
- frameworkWidth 默认回退到视窗宽度
- 新增 initialStyle prop 支持外部设置初始样式
- 各调用方显式传入 frameworkWidth 以保留右边界收敛行为
|
2026-07-02 20:22:24 +08:00 |
|
roymondchen
|
9f2fa1a9c8
|
refactor(editor): 抽离历史记录回滚交互并开放复用入口
|
2026-06-18 17:04:16 +08:00 |
|
roymondchen
|
9fe10e274c
|
test: 补充 editor、stage、table 单元测试覆盖
|
2026-06-11 18:45:42 +08:00 |
|
roymondchen
|
cbc4b25072
|
feat(editor): 字段对比模式逐项展示差异并补充历史记录面板文档
- CodeSelect/CodeSelectCol/EventSelect/DataSource 等复合字段在对比模式下
按索引对齐前后值,逐项展示新增/删除/修改高亮,并隐藏写操作按钮
- form 容器/列表/表格支持对比模式只读展示
- 新增「历史记录面板」指南文档,完善表单对比文档及 menu props 说明
- 补充相关单元测试
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-29 15:51:47 +08:00 |
|
roymondchen
|
df8790042f
|
feat(editor): 导航菜单支持菜单项溢出收纳,新增 NavMenuColumn 组件
- 抽离每列渲染逻辑为 NavMenuColumn 组件,监听容器宽度
- 容器空间不足时自动隐藏溢出项,并通过更多按钮 Popover 展开
- ToolButton 暴露根元素引用,便于父级测量宽度
- design ButtonProps 新增 bg 属性,用于更多按钮的激活态样式
- 补充 NavMenuColumn / NavMenu / ToolButton 的单元测试
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-15 19:33:53 +08:00 |
|
roymondchen
|
ab6918f43d
|
test: 完善测试用例
|
2026-05-14 15:26:22 +08:00 |
|
roymondchen
|
91bfa5698e
|
test(editor): 测试用例里依赖了element-plus,暂时删掉
|
2022-10-11 20:29:08 +08:00 |
|
roymondchen
|
ac065504f6
|
test: vue组件测试用例
|
2022-09-26 21:29:54 +08:00 |
|
roymondchen
|
6d4323123f
|
build: build之前做type check
|
2022-06-30 20:23:50 +08:00 |
|
roymondchen
|
ca4a6b596d
|
test: jest 改成 vitest
|
2022-06-07 20:10:41 +08:00 |
|
roymondchen
|
75133ab6da
|
refactor: update element-plus
|
2022-05-11 18:38:17 +08:00 |
|
roymondchen
|
51031fe8ab
|
feat(editor): 添加常用快捷键
|
2022-04-22 12:16:39 +08:00 |
|
roymondchen
|
bc8b9f5225
|
refactor: make it public
|
2022-02-17 14:47:39 +08:00 |
|