feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题
This commit is contained in:
+32
-30
@@ -17,6 +17,38 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
OpenAIMono as OpenAI,
|
||||
ClaudeColor as Claude,
|
||||
GeminiColor as Gemini,
|
||||
MoonshotMono as Moonshot,
|
||||
ZhipuColor as Zhipu,
|
||||
QwenColor as Qwen,
|
||||
DeepSeekColor as DeepSeek,
|
||||
MinimaxColor as Minimax,
|
||||
WenxinColor as Wenxin,
|
||||
SparkColor as Spark,
|
||||
MidjourneyMono as Midjourney,
|
||||
HunyuanColor as Hunyuan,
|
||||
CohereColor as Cohere,
|
||||
CloudflareColor as Cloudflare,
|
||||
Ai360Color as Ai360,
|
||||
YiColor as Yi,
|
||||
JinaMono as Jina,
|
||||
MistralColor as Mistral,
|
||||
XAIMono as XAI,
|
||||
OllamaMono as Ollama,
|
||||
DoubaoColor as Doubao,
|
||||
SunoMono as Suno,
|
||||
XinferenceColor as Xinference,
|
||||
OpenRouterMono as OpenRouter,
|
||||
DifyColor as Dify,
|
||||
CozeMono as Coze,
|
||||
SiliconCloudColor as SiliconCloud,
|
||||
KlingColor as Kling,
|
||||
PerplexityColor as Perplexity,
|
||||
ReplicateMono as Replicate,
|
||||
} from '@/assets/brand-icons/primitives';
|
||||
import React, { lazy, Suspense } from 'react';
|
||||
import i18next from 'i18next';
|
||||
// React 18-compatible LobeHub icons lack these brands; use generic icons.
|
||||
@@ -24,36 +56,6 @@ import { Lock, Bot as FastGPT, Image as Jimeng } from 'lucide-react';
|
||||
import { Modal, Tag, Typography } from '@/components/ui';
|
||||
import { copy, getCurrencySymbol, showSuccess } from './utils';
|
||||
import { visit } from 'unist-util-visit';
|
||||
import OpenAI from '@lobehub/icons/es/OpenAI/components/Mono';
|
||||
import Claude from '@lobehub/icons/es/Claude/components/Color';
|
||||
import Gemini from '@lobehub/icons/es/Gemini/components/Color';
|
||||
import Moonshot from '@lobehub/icons/es/Moonshot/components/Mono';
|
||||
import Zhipu from '@lobehub/icons/es/Zhipu/components/Color';
|
||||
import Qwen from '@lobehub/icons/es/Qwen/components/Color';
|
||||
import DeepSeek from '@lobehub/icons/es/DeepSeek/components/Color';
|
||||
import Minimax from '@lobehub/icons/es/Minimax/components/Color';
|
||||
import Wenxin from '@lobehub/icons/es/Wenxin/components/Color';
|
||||
import Spark from '@lobehub/icons/es/Spark/components/Color';
|
||||
import Midjourney from '@lobehub/icons/es/Midjourney/components/Mono';
|
||||
import Hunyuan from '@lobehub/icons/es/Hunyuan/components/Color';
|
||||
import Cohere from '@lobehub/icons/es/Cohere/components/Color';
|
||||
import Cloudflare from '@lobehub/icons/es/Cloudflare/components/Color';
|
||||
import Ai360 from '@lobehub/icons/es/Ai360/components/Color';
|
||||
import Yi from '@lobehub/icons/es/Yi/components/Color';
|
||||
import Jina from '@lobehub/icons/es/Jina/components/Mono';
|
||||
import Mistral from '@lobehub/icons/es/Mistral/components/Color';
|
||||
import XAI from '@lobehub/icons/es/XAI/components/Mono';
|
||||
import Ollama from '@lobehub/icons/es/Ollama/components/Mono';
|
||||
import Doubao from '@lobehub/icons/es/Doubao/components/Color';
|
||||
import Suno from '@lobehub/icons/es/Suno/components/Mono';
|
||||
import Xinference from '@lobehub/icons/es/Xinference/components/Color';
|
||||
import OpenRouter from '@lobehub/icons/es/OpenRouter/components/Mono';
|
||||
import Dify from '@lobehub/icons/es/Dify/components/Color';
|
||||
import Coze from '@lobehub/icons/es/Coze/components/Mono';
|
||||
import SiliconCloud from '@lobehub/icons/es/SiliconCloud/components/Color';
|
||||
import Kling from '@lobehub/icons/es/Kling/components/Color';
|
||||
import Perplexity from '@lobehub/icons/es/Perplexity/components/Color';
|
||||
import Replicate from '@lobehub/icons/es/Replicate/components/Mono';
|
||||
|
||||
// Full Avatar/Text/Combine variants are loaded only when configured icons render.
|
||||
const LobeHubIcon = lazy(() => import('../components/common/LobeHubIcon'));
|
||||
|
||||
Reference in New Issue
Block a user