roymondchen
|
3b9fb714e5
|
refactor(editor): 解耦 FloatingBox 的 uiService 依赖并改为 props 传入
- FloatingBox 不再强制依赖 uiService
- frameworkWidth 默认回退到视窗宽度
- 新增 initialStyle prop 支持外部设置初始样式
- 各调用方显式传入 frameworkWidth 以保留右边界收敛行为
|
2026-07-02 20:22:24 +08:00 |
|
roymondchen
|
284be0d276
|
fix(editor): 修复 FloatingBox 拖动时鼠标进入 iframe 区域事件丢失
- 拖拽/缩放开始时插入全屏透明遮罩盖住 iframe,结束时移除,避免事件被 iframe 吞掉
- 修正拖拽标题时 z-index 竞态导致遮罩被浮窗盖住的问题
- 将 body 内边距从 scss 抽取为 bodyStyle 透传,复用方按需自定义
|
2026-07-02 20:01:45 +08:00 |
|
roymondchen
|
95769d6ae0
|
fix(editor): 数据源配置面板默认激活「数据定义」tab
未指定编辑方法或字段路径时,将 tab 容器默认激活到 fields,避免无 active 状态。
|
2026-06-16 16:34:27 +08:00 |
|
roymondchen
|
8933c46b73
|
fix(editor): sidebar 侧栏项 key 与 SideItemKey 常量对齐
确保侧栏配置与字段编辑时切换 tab 的 key 一致,避免硬编码字符串不一致。
|
2026-06-16 14:12:14 +08:00 |
|
roymondchen
|
ffcc734102
|
feat(editor): 查看/编辑时自动切换 sidebar 并定位到对应配置
点击代码块、数据源字段或方法的选择器编辑/查看按钮时,自动切换到对应 sidebar tab,并打开详情中的目标字段或方法配置。
|
2026-06-15 17:43:09 +08:00 |
|
roymondchen
|
6ba59c0d14
|
feat(editor): 将侧边栏激活面板状态同步至 uiService
|
2026-06-11 15:12:56 +08:00 |
|
roymondchen
|
27b2c2c685
|
feat(editor): 历史记录支持操作来源
|
2026-06-04 16:08:52 +08:00 |
|
roymondchen
|
4c855ba50b
|
feat(editor): 写操作支持 doNotPushHistory 选项以跳过历史记录
- editor/codeBlock/dataSource 的 add/update/delete 等接口新增 doNotPushHistory 选项
- 移除不再使用的 editor-history 工具及其单测
- 修复 layer 节点状态在重建时丢失已有 status 的问题
- 同步更新 service 方法文档,新增 dragto 复现用例
|
2026-05-28 16:03:29 +08:00 |
|
roymondchen
|
b9a6dd5b84
|
fix(editor): 修复 root 整体替换时图层面板节点状态残留与组件树闪烁问题
|
2026-05-26 17:06:45 +08:00 |
|
roymondchen
|
aab73249d1
|
feat(editor): 新增 alwaysMultiSelect 配置开启常驻多选模式
新增编辑器配置项 alwaysMultiSelect(默认 false),开启后无需按住 Ctrl/Meta
键,组件树与画布点击即多选;当 disabledMultiSelect=true 时本配置失效。同步
在 stage 层 ActionManager 暴露 setAlwaysMultiSelect 方法用于运行时切换,并
补充组件树/服务/画布的状态联动、文档与单元测试。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-11 16:50:40 +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
|
5af9f6e27a
|
feat(editor): 新增 canDropIn 配置统一控制 layer/stage 拖拽放入行为
支持通过 scene 区分图层树、画布拖动、组件库新增三种场景;
返回 false 阻止放入,返回 Id 可重定向放入目标节点。
layer 场景下若禁用某节点的 inner,其子节点的 before/after 也会被同步禁用以避免被绕过。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-05-09 16:38:10 +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
|
70d730ca82
|
refactor(editor): 新增数据源按钮封装成组件
|
2025-12-04 17:31:38 +08:00 |
|
roymondchen
|
a2a9556ab8
|
style(editor): 调整已选组件节点右侧按钮样式
|
2025-12-04 16:36:34 +08:00 |
|
roymondchen
|
08b476e04f
|
feat(design,editor,element-plus-adapter,form,table,tdesign-vue-next-adapter): 重构table组件,适配tdesign
|
2025-11-12 19:52:30 +08:00 |
|
roymondchen
|
6152a78467
|
feat(editor): 支持禁用数据源与代码块
|
2025-06-09 16:35:08 +08:00 |
|
roymondchen
|
de52ff4fe1
|
fix(editor): 编辑数据源/代码块时,列表高亮
|
2025-04-24 14:02:34 +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
|
413134b21d
|
feat(editor): 优化依赖收集状态显示,新增剩余任务数量显示
|
2025-02-11 19:25:28 +08:00 |
|
roymondchen
|
900b701c80
|
refactor(editor): 新增useServices hook,减少使用可选链
|
2025-02-11 16:24:24 +08:00 |
|
roymondchen
|
1baec3f1d4
|
refactor(editor): useTemplateRef参数不能与变量名一样,不然会有一个warn
|
2025-01-09 20:48:35 +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
|
e3f28abe1a
|
feat(editor): 代码块与数据源列表节点中新增依赖收集中tag
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
b4136c91c2
|
feat(editor): 优化依赖收集体验,减小收集任务粒度,修改配置时识别是否需要触发重新收集
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
eb8126c32f
|
refactor(editor,utils): 将traverseNode方法挪到utils中
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
1de4d95bd4
|
chore: 更新依赖,vue@3.5.1
|
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
|
c82e3257c1
|
refactor(stage,editor): stage销毁后释放内部变量
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
c73a27eb1a
|
feat(design): popover 添加destroyOnClose props
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
c5ce6d3c10
|
style(editor): 优化数据源新增列表样式
|
2024-12-09 20:21:34 +08:00 |
|
roymondchen
|
837daf6cab
|
feat(editor): 编辑器左边栏支持配置不可拖出,支持before-click函数配置
|
2024-07-25 20:53:03 +08:00 |
|
roymondchen
|
0bbf7c5643
|
feat(editor): 添加component-list slot,用于自定义组件列表
re #621
|
2024-07-25 17:49:40 +08:00 |
|
roymondchen
|
16d4eff385
|
fix(editor): 组件树中将容器拖入自身中会导致容器丢失
fix #622
|
2024-07-25 17:20:36 +08:00 |
|
roymondchen
|
c456798751
|
fix(editor): 在组件树中多选时不能选中页面
|
2024-07-25 16:23:36 +08:00 |
|
roymondchen
|
5ac768f15b
|
feat(editor): 组件树中支持多选拖动
|
2024-06-11 19:28:40 +08:00 |
|
roymondchen
|
e1f8392261
|
chore: 更新依赖
|
2024-06-05 19:44:39 +08:00 |
|
roymondchen
|
ee269917f8
|
feat(dep,editor,data-source,schema): 优化编辑器中依赖收集性能
|
2024-05-29 19:32:16 +08:00 |
|
roymondchen
|
fc1a7a09ff
|
feat(editor): 优化数据源选择器与代码选择的编辑按钮
|
2024-04-16 11:52:11 +08:00 |
|
roymondchen
|
4054c6ed57
|
feat(editor): 支持配置左侧边栏tab style
|
2024-04-12 20:20:40 +08:00 |
|
roymondchen
|
b1e79c1e05
|
fix(editor): 在组件属性配置表单中编辑数据源方法无法保存问题
|
2024-04-12 20:11:34 +08:00 |
|
roymondchen
|
66e16452a8
|
feat(editor): 数据源字段选择器增加编辑按钮
|
2024-03-26 16:12:01 +08:00 |
|
Yang Gao
|
b564907b12
|
fix(editor): 数据源列表搜索过滤无响应问题 (#582)
|
2024-03-21 19:30:29 +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
|
c83e76e641
|
feat(editor): 优化代码块编辑弹窗
|
2024-03-15 15:24:16 +08:00 |
|
moonszhang
|
5fc649607a
|
fix(editor): 修复高级中打开代码块没有floatbox嵌套的问题,floatbox支持beforeClose事件
|
2024-03-13 06:00:22 +00:00 |
|