/* * @Author: liuJie * @Date: 2026-01-25 00:06:41 * @LastEditors: liuJie * @LastEditTime: 2026-01-25 21:52:47 * @Describe: 工具栏配置 */ export interface MaterialToolType { label: string; id: string; description: string; source: Array; }; export interface SourceType { name: string; type: string; icon: string; component: string; id: string; data?: any; active: boolean; isEdit: boolean; }; export const materialTools:MaterialToolType[] = [ { label: '业务逻辑', id: 'basic-nodes', description: '业务节点', source: [{ name: 'HTTP请求', type: 'http', icon: 'lucide:link', component: 'Http', id: 'http-node-id', data: {}, active: false, isEdit: false, }, { name: '条件分支', type: 'condition', icon: 'lucide:trending-up-down', component: 'Condition', id: 'condition-node-id', data: {}, active: false, isEdit: false, }, { name: '代码执行', type: 'code', icon: 'lucide:code', component: 'Code', id: 'code-node-id', data: {}, active: false, isEdit: false, }, { name: '数据查询', type: 'database', icon: 'lucide:database-zap', component: 'Database', id: 'data-query-node-id', data: {}, active: false, isEdit: false, }, ], } ];