feat(canvas): 画布节点 - 恢复批量创作表与转换能力

This commit is contained in:
ddCat
2026-09-15 20:56:19 +08:00
parent f59b59b3e6
commit c57f1b36ae
36 changed files with 3341 additions and 34 deletions

View File

@@ -10,8 +10,10 @@ test("connection menu omits the header and provides descriptions for every optio
expect(component).not.toContain("ChevronRight");
expect(component).not.toContain("absolute inset-x-8 top-0 h-px");
const options = component.match(/<ConnectionCreateOption [^\n]+/g) || [];
expect(options).toHaveLength(8);
expect(options).toHaveLength(9);
for (const option of options) expect(option).toMatch(/description="[^"]+"/);
expect(component).toContain('title="批量创作表"');
expect(component).toContain("onCreate(CanvasNodeType.BatchTable)");
});
test("add-node submenu uses a four-column medium-size grid", () => {