2025-11-28 14:03:20 +08:00
|
|
|
import { HomeIcon } from '../svg-icon';
|
|
|
|
|
|
|
|
|
|
export enum EmptyType {
|
|
|
|
|
Data = 'data',
|
|
|
|
|
SearchData = 'search-data',
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum EmptyCardType {
|
|
|
|
|
Agent = 'agent',
|
|
|
|
|
Dataset = 'dataset',
|
|
|
|
|
Chat = 'chat',
|
|
|
|
|
Search = 'search',
|
2025-12-08 10:17:56 +08:00
|
|
|
Memory = 'memory',
|
2026-04-30 12:36:03 +08:00
|
|
|
Skills = 'skills',
|
2025-11-28 14:03:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const EmptyCardData = {
|
|
|
|
|
[EmptyCardType.Agent]: {
|
|
|
|
|
icon: <HomeIcon name="agents" width={'24'} />,
|
2026-03-02 19:10:11 +08:00
|
|
|
titleKey: 'empty.agentTitle',
|
|
|
|
|
notFoundKey: 'empty.notFoundAgent',
|
2025-11-28 14:03:20 +08:00
|
|
|
},
|
|
|
|
|
[EmptyCardType.Dataset]: {
|
|
|
|
|
icon: <HomeIcon name="datasets" width={'24'} />,
|
2026-03-02 19:10:11 +08:00
|
|
|
titleKey: 'empty.datasetTitle',
|
|
|
|
|
notFoundKey: 'empty.notFoundDataset',
|
2025-11-28 14:03:20 +08:00
|
|
|
},
|
|
|
|
|
[EmptyCardType.Chat]: {
|
|
|
|
|
icon: <HomeIcon name="chats" width={'24'} />,
|
2026-03-02 19:10:11 +08:00
|
|
|
titleKey: 'empty.chatTitle',
|
|
|
|
|
notFoundKey: 'empty.notFoundChat',
|
2025-11-28 14:03:20 +08:00
|
|
|
},
|
|
|
|
|
[EmptyCardType.Search]: {
|
|
|
|
|
icon: <HomeIcon name="searches" width={'24'} />,
|
2026-03-02 19:10:11 +08:00
|
|
|
titleKey: 'empty.searchTitle',
|
|
|
|
|
notFoundKey: 'empty.notFoundSearch',
|
2025-12-08 10:17:56 +08:00
|
|
|
},
|
|
|
|
|
[EmptyCardType.Memory]: {
|
|
|
|
|
icon: <HomeIcon name="memory" width={'24'} />,
|
2026-03-02 19:10:11 +08:00
|
|
|
titleKey: 'empty.memoryTitle',
|
|
|
|
|
notFoundKey: 'empty.notFoundMemory',
|
2025-11-28 14:03:20 +08:00
|
|
|
},
|
2026-04-30 12:36:03 +08:00
|
|
|
[EmptyCardType.Skills]: {
|
|
|
|
|
icon: <HomeIcon name="skills" width={'24'} />,
|
|
|
|
|
titleKey: 'empty.skillsTitle',
|
|
|
|
|
notFoundKey: 'empty.notFoundSkills',
|
|
|
|
|
},
|
2025-11-28 14:03:20 +08:00
|
|
|
};
|