| 1234567891011121314151617181920212223 |
- /**
- * 事件总线 定义
- */
- import EventBus from './event-bus/EventBus';
- /**
- * 定义event bus
- * 任意 event bus 的定义,必须添加 bus_ 前缀
- */
- export const bus_themeChange = new EventBus('theme_change');
- // 知识库搜索
- export const bus_knowledgeSearch = new EventBus('knowledge_search');
- // 知识库图标编辑
- export const bus_knowledgeIconEdit = new EventBus('knowledge_icon_edit');
- // 智能体搜索
- export const bus_intelligentSearch = new EventBus('intelligent_search');
- // 智能体编辑
- export const bus_intelligentEdit = new EventBus('intelligent_edit');
- // 智能体图标编辑
- export const bus_intelligentIconEdit = new EventBus('intelligent_icon_edit');
- // 智能体标签数据同步
- export const bus_intelligentLabelSync = new EventBus('intelligent_label_sync');
|