roymondchen
|
b02aa75ddc
|
feat(editor): 历史记录面板支持单步回滚(类 git revert)
将目标历史步骤的修改作为一次新操作反向应用,不破坏原有栈结构,
page/dataSource/codeBlock 三类 service 均提供 revert 能力;
面板新增关闭按钮、步骤编号展示与合并组卡片样式优化。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-29 14:19:44 +08:00 |
|
roymondchen
|
f0c66427b8
|
feat: form 新增 showDiff prop 支持自定义对比判断
- form: MForm/Container 新增 showDiff prop,允许调用方自定义
'是否展示对比内容' 的判断逻辑,并在嵌套 Container 中自动透传;
不传时沿用默认的 isEqual 行为
- editor: CompareForm 利用该能力处理 code-select 字段中 '' 与
{ hookType: 'code', hookData: [] } 两种语义为空形态被 isEqual 误判为差异的问题
- docs: 补充 form-props.md 中 showDiff 的说明与示例
- test: 补充 Code 字段相关单测
|
2026-05-28 20:30:05 +08:00 |
|
roymondchen
|
59f4e0edac
|
feat(editor): 历史记录面板支持差异对比
- 新增 HistoryDiffDialog 历史差异对比弹窗
- 新增 CompareForm 表单对比组件
- 抽取 code-block 工具函数到 utils/code-block.ts
- 历史列表面板支持选择两个版本进行对比
|
2026-05-28 19:49:03 +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
|
2475a4f901
|
feat(editor): 新增"已选组件"面板节点双击事件 layer-node-dblclick 与 beforeLayerNodeDblclick 钩子
- TreeNode/Tree 增加 node-dblclick 事件透传
- LayerPanel 默认双击切换可展开节点的展开/收起状态,并向上抛出 node-dblclick
- Sidebar/Editor 暴露 layer-node-dblclick 事件与 beforeLayerNodeDblclick 拦截钩子
- 补充 props/events 文档
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-09 16:52:15 +08:00 |
|
roymondchen
|
7ce640627d
|
feat(editor): 新增 stage-top 插槽用于在画布上方插入自定义元素
ScrollViewer 增加 before 具名插槽,Stage 据此暴露 stage-top 插槽,
经 Workspace、Editor 逐层透传,并补充对应类型定义与文档说明。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-07 20:31:25 +08:00 |
|
roymondchen
|
3cde69f6f9
|
feat(editor): 支持自定义组件树节点是否可展开的判断函数
新增 layerNodeIsExpandable 配置项,业务方可自定义"已选组件"面板中
节点是否显示为可展开形态。同时导出默认实现 defaultIsExpandable 与
类型 IsExpandableFunction 供第三方复用。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-07 13:53:51 +08:00 |
|
roymondchen
|
b2888962df
|
style(schema,editor,data-source): 代码块类型定义中content去掉string类型
|
2026-04-09 15:28:03 +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
|
e8714c96c9
|
feat(form-schema,form,editor,table): 完善表单配置类型
|
2026-03-20 17:38:11 +08:00 |
|
roymondchen
|
55eb546ad6
|
feat(form-schema,form,editor): 完善表单配置类型
|
2026-03-20 12:31:55 +08:00 |
|
roymondchen
|
03b6180a02
|
fix(editor): 数据源方法编辑后content变成字符串
|
2025-12-29 19:22:28 +08:00 |
|
roymondchen
|
8d55d0cd8d
|
feat(editor): 代码编辑器支持配置自动高度
|
2025-12-03 17:50:48 +08:00 |
|
roymondchen
|
8f0d99a4a6
|
style(design, editor, tdesign-vue-next-adapter): 编辑器顶部导航按钮tdesign下样式优化
|
2025-11-12 19:52:30 +08:00 |
|
roymondchen
|
3097e8eddb
|
feat(editor): 支持配置自定义创建Monaco editor函数
|
2025-06-06 16:03:56 +08:00 |
|
roymondchen
|
e7e9197ae3
|
style: 更新eslint版本,更新eslint配置
|
2025-04-21 20:35:54 +08:00 |
|
roymondchen
|
54e00f2852
|
feat(editor): 编辑代码块/数据源时高亮列表中对应的项
|
2025-04-10 20:36:38 +08:00 |
|
roymondchen
|
9b546645f3
|
chore: update deps
|
2025-03-31 20:31:29 +08:00 |
|
roymondchen
|
900b701c80
|
refactor(editor): 新增useServices hook,减少使用可选链
|
2025-02-11 16:24:24 +08:00 |
|
roymondchen
|
877a4eaa49
|
feat(editor): 优化浏览器变小时各列大小变化
|
2025-02-10 19:59:11 +08:00 |
|
roymondchen
|
1baec3f1d4
|
refactor(editor): useTemplateRef参数不能与变量名一样,不然会有一个warn
|
2025-01-09 20:48:35 +08:00 |
|
roymondchen
|
e8bbdf613b
|
feat(editor): 样式配置面板支持拖动大小
|
2024-12-30 20:44:27 +08:00 |
|
roymondchen
|
74f76d0ba3
|
feat(editor): 数据源/代码编辑列表新增右键菜单
|
2024-12-16 20:20:02 +08:00 |
|
roymondchen
|
7109df9deb
|
refactor(editor): 模板改成使用useTemplateRef
|
2024-12-13 16:19:44 +08:00 |
|
roymondchen
|
9f7d67b17b
|
feat(form,editor): 表单新增修改数据记录
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
47a21d6544
|
feat(editor): 新增已选组件、代码编辑、数据源及其子节点增量缩进配置
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
34fc0a15b9
|
refactor: 将data-source,dep,schema,utils收敛到core,将form,table,stage,design,util收敛到editor
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
ee469dfd65
|
refactor: 及时释放没用变量
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
8d54bcafc1
|
style(editor): 代码参数配置label width设置长些
|
2024-08-06 14:35:19 +08:00 |
|
roymondchen
|
72a7c151e9
|
fix(editor): 组件树右键菜单在组件树面板拖出时被面板遮挡
fix #624
|
2024-07-25 19:30:50 +08:00 |
|
roymondchen
|
16d4eff385
|
fix(editor): 组件树中将容器拖入自身中会导致容器丢失
fix #622
|
2024-07-25 17:20:36 +08:00 |
|
roymondchen
|
6cdeaa0c1b
|
feat(editor): 方法参数支持选择数据源字段
|
2024-07-02 16:16:15 +08:00 |
|
roymondchen
|
7fb4d96cb0
|
fix(editor): 已选组件树中如果出现items不是数组会导致节点渲染失败
|
2024-05-30 17:23:41 +08:00 |
|
roymondchen
|
7049b1ff45
|
fix(editor): 初始化时如果浏览器切到后台编辑器列宽度计算出问题
|
2024-03-26 15:20:41 +08:00 |
|
roymondchen
|
b3cf919273
|
chore(editor): 解决warning
|
2024-03-19 19:18:03 +08:00 |
|
moonszhang
|
96149bd2ae
|
feat(editor): 数据源抽屉切floatbox
|
2024-03-19 11:07:43 +00:00 |
|
roymondchen
|
92b7a2aecf
|
feat: 完善tdesign-vue-next适配
|
2024-03-19 17:26:08 +08:00 |
|
roymondchen
|
42f1f28b02
|
fix(editor): 拖动浮动窗口会导致窗口变大
|
2024-03-15 17:14:56 +08:00 |
|
roymondchen
|
c83e76e641
|
feat(editor): 优化代码块编辑弹窗
|
2024-03-15 15:24:16 +08:00 |
|
roymondchen
|
36a1a18615
|
fix(editor): 修复第一次打开编辑器左右边栏宽度可能为0问题
|
2024-03-15 15:22:30 +08:00 |
|
roymondchen
|
62e7888fcf
|
fix(editor): 修复直接关闭代码块编辑窗口告警
|
2024-03-13 19:59:45 +08:00 |
|
moonszhang
|
7ce60b223e
|
feat(editor): 增加FloatBox的beforeClose函数
|
2024-03-13 06:00:22 +00:00 |
|
moonszhang
|
cae928f7f9
|
fix(editor): 修复点击floatbox时更新zindex导致宽高被重置的问题
|
2024-03-13 06:00:22 +00:00 |
|
moonszhang
|
5fc649607a
|
fix(editor): 修复高级中打开代码块没有floatbox嵌套的问题,floatbox支持beforeClose事件
|
2024-03-13 06:00:22 +00:00 |
|
moonszhang
|
a035f02f83
|
feat(editor): 使用 floatbox 替换原抽屉栏
|
2024-03-11 12:25:19 +00:00 |
|
roymondchen
|
fcede5c0ac
|
feat(editor): menu配置支持事件
|
2024-02-28 15:18:36 +08:00 |
|
roymondchen
|
c30e7d340b
|
feat(editor,stage): 完善双击画布可以已弹层方向显示并显示完整的组件
|
2024-01-18 11:40:00 +08:00 |
|
roymondchen
|
e4af8cadb0
|
feat(editor,stage): 双击画布可以已弹层方向显示并显示完整的组件
|
2024-01-12 16:36:59 +08:00 |
|
roymondchen
|
5c54f50365
|
refactor: button text prop 改成 link element-plus将废弃text
|
2024-01-08 17:49:41 +08:00 |
|
roymondchen
|
f9cf6fa500
|
style(editor): tree empty 样式调整
|
2023-12-20 15:05:20 +08:00 |
|