@lobehub/icons 1.35.0 → 1.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Adobe/components/Avatar.d.ts +1 -1
- package/es/Adobe/components/Avatar.js +1 -1
- package/es/Adobe/components/Combine.d.ts +1 -1
- package/es/Adobe/components/Combine.js +1 -1
- package/es/AdobeFirefly/components/Avatar.d.ts +1 -1
- package/es/AdobeFirefly/components/Avatar.js +1 -1
- package/es/AdobeFirefly/components/Combine.d.ts +1 -1
- package/es/AdobeFirefly/components/Combine.js +1 -1
- package/es/Ai21/components/Avatar.d.ts +1 -1
- package/es/Ai21/components/Avatar.js +1 -1
- package/es/Ai21/components/Combine.d.ts +1 -1
- package/es/Ai21/components/Combine.js +1 -1
- package/es/Ai360/components/Avatar.d.ts +1 -1
- package/es/Ai360/components/Avatar.js +1 -1
- package/es/Ai360/components/Combine.d.ts +1 -1
- package/es/Ai360/components/Combine.js +1 -1
- package/es/AiMass/components/Avatar.d.ts +1 -1
- package/es/AiMass/components/Avatar.js +1 -1
- package/es/AiMass/components/Combine.d.ts +1 -1
- package/es/AiMass/components/Combine.js +1 -1
- package/es/Alibaba/components/Avatar.d.ts +1 -1
- package/es/Alibaba/components/Avatar.js +1 -1
- package/es/AntGroup/components/Avatar.d.ts +1 -1
- package/es/AntGroup/components/Avatar.js +1 -1
- package/es/Anthropic/components/Avatar.d.ts +1 -1
- package/es/Anthropic/components/Avatar.js +1 -1
- package/es/Automatic/components/Avatar.d.ts +1 -1
- package/es/Automatic/components/Avatar.js +1 -1
- package/es/Automatic/components/Combine.d.ts +1 -1
- package/es/Automatic/components/Combine.js +1 -1
- package/es/Aws/components/Avatar.d.ts +1 -1
- package/es/Aws/components/Avatar.js +1 -1
- package/es/Aws/components/Combine.d.ts +1 -1
- package/es/Aws/components/Combine.js +1 -1
- package/es/Aya/components/Avatar.d.ts +1 -1
- package/es/Aya/components/Avatar.js +1 -1
- package/es/Aya/components/Combine.d.ts +1 -1
- package/es/Aya/components/Combine.js +1 -1
- package/es/Azure/components/Avatar.d.ts +1 -1
- package/es/Azure/components/Avatar.js +1 -1
- package/es/Azure/components/Combine.d.ts +1 -1
- package/es/Azure/components/Combine.js +1 -1
- package/es/Baichuan/components/Avatar.d.ts +1 -1
- package/es/Baichuan/components/Avatar.js +1 -1
- package/es/Baichuan/components/Combine.d.ts +1 -1
- package/es/Baichuan/components/Combine.js +1 -1
- package/es/Baidu/components/Avatar.d.ts +1 -1
- package/es/Baidu/components/Avatar.js +1 -1
- package/es/BaiduCloud/components/Avatar.d.ts +1 -1
- package/es/BaiduCloud/components/Avatar.js +1 -1
- package/es/BaiduCloud/components/Combine.d.ts +1 -1
- package/es/BaiduCloud/components/Combine.js +1 -1
- package/es/Bedrock/components/Avatar.d.ts +1 -1
- package/es/Bedrock/components/Avatar.js +1 -1
- package/es/Bedrock/components/Combine.d.ts +1 -1
- package/es/Bedrock/components/Combine.js +1 -1
- package/es/Bing/components/Avatar.d.ts +1 -1
- package/es/Bing/components/Avatar.js +1 -1
- package/es/Bing/components/Combine.d.ts +1 -1
- package/es/Bing/components/Combine.js +1 -1
- package/es/ByteDance/components/Avatar.d.ts +1 -1
- package/es/ByteDance/components/Avatar.js +1 -1
- package/es/ChatGLM/components/Avatar.d.ts +1 -1
- package/es/ChatGLM/components/Avatar.js +1 -1
- package/es/ChatGLM/components/Combine.d.ts +1 -1
- package/es/ChatGLM/components/Combine.js +1 -1
- package/es/Claude/components/Avatar.d.ts +1 -1
- package/es/Claude/components/Avatar.js +1 -1
- package/es/Claude/components/Combine.d.ts +1 -1
- package/es/Claude/components/Combine.js +1 -1
- package/es/Cloudflare/components/Avatar.d.ts +1 -1
- package/es/Cloudflare/components/Avatar.js +1 -1
- package/es/Cloudflare/components/Combine.d.ts +1 -1
- package/es/Cloudflare/components/Combine.js +1 -1
- package/es/CodeGeeX/components/Avatar.d.ts +1 -1
- package/es/CodeGeeX/components/Avatar.js +1 -1
- package/es/CodeGeeX/components/Combine.d.ts +1 -1
- package/es/CodeGeeX/components/Combine.js +1 -1
- package/es/Cohere/components/Avatar.d.ts +1 -1
- package/es/Cohere/components/Avatar.js +1 -1
- package/es/Cohere/components/Combine.d.ts +1 -1
- package/es/Cohere/components/Combine.js +1 -1
- package/es/Colab/components/Avatar.d.ts +1 -1
- package/es/Colab/components/Avatar.js +1 -1
- package/es/Colab/components/Combine.d.ts +1 -1
- package/es/Colab/components/Combine.js +1 -1
- package/es/Copilot/components/Avatar.d.ts +1 -1
- package/es/Copilot/components/Avatar.js +1 -1
- package/es/Copilot/components/Combine.d.ts +1 -1
- package/es/Copilot/components/Combine.js +1 -1
- package/es/Dalle/components/Avatar.d.ts +1 -1
- package/es/Dalle/components/Avatar.js +1 -1
- package/es/Dalle/components/Combine.d.ts +1 -1
- package/es/Dalle/components/Combine.js +1 -1
- package/es/Dbrx/components/Avatar.d.ts +1 -1
- package/es/Dbrx/components/Avatar.js +1 -1
- package/es/Dbrx/components/Combine.d.ts +1 -1
- package/es/Dbrx/components/Combine.js +1 -1
- package/es/DeepMind/components/Avatar.d.ts +1 -1
- package/es/DeepMind/components/Avatar.js +1 -1
- package/es/DeepMind/components/Combine.d.ts +1 -1
- package/es/DeepMind/components/Combine.js +1 -1
- package/es/DeepSeek/components/Avatar.d.ts +1 -1
- package/es/DeepSeek/components/Avatar.js +1 -1
- package/es/DeepSeek/components/Combine.d.ts +1 -1
- package/es/DeepSeek/components/Combine.js +1 -1
- package/es/Doubao/components/Avatar.d.ts +1 -1
- package/es/Doubao/components/Avatar.js +1 -1
- package/es/Doubao/components/Combine.d.ts +1 -1
- package/es/Doubao/components/Combine.js +1 -1
- package/es/Fireworks/components/Avatar.d.ts +1 -1
- package/es/Fireworks/components/Avatar.js +1 -1
- package/es/Fireworks/components/Combine.d.ts +1 -1
- package/es/Fireworks/components/Combine.js +1 -1
- package/es/FishAudio/components/Avatar.d.ts +1 -1
- package/es/FishAudio/components/Avatar.js +1 -1
- package/es/FishAudio/components/Combine.d.ts +1 -1
- package/es/FishAudio/components/Combine.js +1 -1
- package/es/Flux/components/Avatar.d.ts +1 -1
- package/es/Flux/components/Avatar.js +1 -1
- package/es/Flux/components/Combine.d.ts +1 -1
- package/es/Flux/components/Combine.js +1 -1
- package/es/Gemini/components/Avatar.d.ts +1 -1
- package/es/Gemini/components/Avatar.js +1 -1
- package/es/Gemini/components/Combine.d.ts +1 -1
- package/es/Gemini/components/Combine.js +1 -1
- package/es/Gemma/components/Avatar.d.ts +1 -1
- package/es/Gemma/components/Avatar.js +1 -1
- package/es/Gemma/components/Combine.d.ts +1 -1
- package/es/Gemma/components/Combine.js +1 -1
- package/es/Github/components/Avatar.d.ts +1 -1
- package/es/Github/components/Avatar.js +1 -1
- package/es/Github/components/Combine.d.ts +1 -1
- package/es/Github/components/Combine.js +1 -1
- package/es/GithubCopilot/components/Avatar.d.ts +1 -1
- package/es/GithubCopilot/components/Avatar.js +1 -1
- package/es/GithubCopilot/components/Combine.d.ts +1 -1
- package/es/GithubCopilot/components/Combine.js +1 -1
- package/es/Google/components/Avatar.d.ts +1 -1
- package/es/Google/components/Avatar.js +1 -1
- package/es/Grok/components/Avatar.d.ts +1 -1
- package/es/Grok/components/Avatar.js +1 -1
- package/es/Grok/components/Combine.d.ts +1 -1
- package/es/Grok/components/Combine.js +1 -1
- package/es/Groq/components/Avatar.d.ts +1 -1
- package/es/Groq/components/Avatar.js +1 -1
- package/es/Groq/components/Combine.d.ts +1 -1
- package/es/Groq/components/Combine.js +1 -1
- package/es/HuggingFace/components/Avatar.d.ts +1 -1
- package/es/HuggingFace/components/Avatar.js +1 -1
- package/es/HuggingFace/components/Combine.d.ts +1 -1
- package/es/HuggingFace/components/Combine.js +1 -1
- package/es/Hunyuan/components/Avatar.d.ts +1 -1
- package/es/Hunyuan/components/Avatar.js +1 -1
- package/es/Hunyuan/components/Combine.d.ts +1 -1
- package/es/Hunyuan/components/Combine.js +1 -1
- package/es/InternLM/components/Avatar.d.ts +1 -1
- package/es/InternLM/components/Avatar.js +1 -1
- package/es/InternLM/components/Combine.d.ts +1 -1
- package/es/InternLM/components/Combine.js +1 -1
- package/es/LLaVA/components/Avatar.d.ts +1 -1
- package/es/LLaVA/components/Avatar.js +1 -1
- package/es/LLaVA/components/Combine.d.ts +1 -1
- package/es/LLaVA/components/Combine.js +1 -1
- package/es/Langfuse/components/Avatar.d.ts +1 -1
- package/es/Langfuse/components/Avatar.js +1 -1
- package/es/Langfuse/components/Combine.d.ts +1 -1
- package/es/Langfuse/components/Combine.js +1 -1
- package/es/LmStudio/components/Avatar.d.ts +1 -1
- package/es/LmStudio/components/Avatar.js +1 -1
- package/es/LmStudio/components/Combine.d.ts +1 -1
- package/es/LmStudio/components/Combine.js +1 -1
- package/es/LobeHub/components/Avatar.d.ts +1 -1
- package/es/LobeHub/components/Avatar.js +1 -1
- package/es/LobeHub/components/Combine.d.ts +1 -1
- package/es/LobeHub/components/Combine.js +1 -1
- package/es/Magic/components/Avatar.d.ts +1 -1
- package/es/Magic/components/Avatar.js +1 -1
- package/es/Magic/components/Combine.d.ts +1 -1
- package/es/Magic/components/Combine.js +1 -1
- package/es/Meta/components/Avatar.d.ts +1 -1
- package/es/Meta/components/Avatar.js +1 -1
- package/es/Meta/components/Combine.d.ts +1 -1
- package/es/Meta/components/Combine.js +1 -1
- package/es/Midjourney/components/Avatar.d.ts +1 -1
- package/es/Midjourney/components/Avatar.js +1 -1
- package/es/Midjourney/components/Combine.d.ts +1 -1
- package/es/Midjourney/components/Combine.js +1 -1
- package/es/Minimax/components/Avatar.d.ts +1 -1
- package/es/Minimax/components/Avatar.js +1 -1
- package/es/Minimax/components/Combine.d.ts +1 -1
- package/es/Minimax/components/Combine.js +1 -1
- package/es/Mistral/components/Avatar.d.ts +1 -1
- package/es/Mistral/components/Avatar.js +1 -1
- package/es/Mistral/components/Combine.d.ts +1 -1
- package/es/Mistral/components/Combine.js +1 -1
- package/es/Moonshot/components/Avatar.d.ts +1 -1
- package/es/Moonshot/components/Avatar.js +1 -1
- package/es/Moonshot/components/Combine.d.ts +1 -1
- package/es/Moonshot/components/Combine.js +1 -1
- package/es/Novita/components/Avatar.d.ts +1 -1
- package/es/Novita/components/Avatar.js +1 -1
- package/es/Novita/components/Combine.d.ts +1 -1
- package/es/Novita/components/Combine.js +1 -1
- package/es/Nvidia/components/Avatar.d.ts +1 -1
- package/es/Nvidia/components/Avatar.js +1 -1
- package/es/Nvidia/components/Combine.d.ts +1 -1
- package/es/Nvidia/components/Combine.js +1 -1
- package/es/Ollama/components/Avatar.d.ts +1 -1
- package/es/Ollama/components/Avatar.js +1 -1
- package/es/Ollama/components/Combine.d.ts +1 -1
- package/es/Ollama/components/Combine.js +1 -1
- package/es/OpenAI/components/Avatar.d.ts +1 -1
- package/es/OpenAI/components/Avatar.js +1 -1
- package/es/OpenAI/components/Combine.d.ts +1 -1
- package/es/OpenAI/components/Combine.js +1 -1
- package/es/OpenChat/components/Avatar.d.ts +1 -1
- package/es/OpenChat/components/Avatar.js +1 -1
- package/es/OpenChat/components/Combine.d.ts +1 -1
- package/es/OpenChat/components/Combine.js +1 -1
- package/es/OpenRouter/components/Avatar.d.ts +1 -1
- package/es/OpenRouter/components/Avatar.js +1 -1
- package/es/OpenRouter/components/Combine.d.ts +1 -1
- package/es/OpenRouter/components/Combine.js +1 -1
- package/es/PaLM/components/Avatar.d.ts +1 -1
- package/es/PaLM/components/Avatar.js +1 -1
- package/es/PaLM/components/Combine.d.ts +1 -1
- package/es/PaLM/components/Combine.js +1 -1
- package/es/Perplexity/components/Avatar.d.ts +1 -1
- package/es/Perplexity/components/Avatar.js +1 -1
- package/es/Perplexity/components/Combine.d.ts +1 -1
- package/es/Perplexity/components/Combine.js +1 -1
- package/es/Pollinations/components/Avatar.d.ts +1 -1
- package/es/Pollinations/components/Avatar.js +1 -1
- package/es/Pollinations/components/Combine.d.ts +1 -1
- package/es/Pollinations/components/Combine.js +1 -1
- package/es/Qingyan/components/Avatar.d.ts +1 -1
- package/es/Qingyan/components/Avatar.js +1 -1
- package/es/Qingyan/components/Combine.d.ts +1 -1
- package/es/Qingyan/components/Combine.js +1 -1
- package/es/Qwen/components/Avatar.d.ts +1 -1
- package/es/Qwen/components/Avatar.js +1 -1
- package/es/Qwen/components/Combine.d.ts +1 -1
- package/es/Qwen/components/Combine.js +1 -1
- package/es/Replicate/components/Avatar.d.ts +1 -1
- package/es/Replicate/components/Avatar.js +1 -1
- package/es/Rwkv/components/Avatar.d.ts +1 -1
- package/es/Rwkv/components/Avatar.js +1 -1
- package/es/Rwkv/components/Combine.d.ts +1 -1
- package/es/Rwkv/components/Combine.js +1 -1
- package/es/SenseNova/components/Avatar.d.ts +1 -1
- package/es/SenseNova/components/Avatar.js +1 -1
- package/es/SenseNova/components/Combine.d.ts +1 -1
- package/es/SenseNova/components/Combine.js +1 -1
- package/es/SiliconCloud/components/Avatar.d.ts +1 -1
- package/es/SiliconCloud/components/Avatar.js +1 -1
- package/es/SiliconCloud/components/Combine.d.ts +1 -1
- package/es/SiliconCloud/components/Combine.js +1 -1
- package/es/Spark/components/Avatar.d.ts +1 -1
- package/es/Spark/components/Avatar.js +1 -1
- package/es/Spark/components/Combine.d.ts +1 -1
- package/es/Spark/components/Combine.js +1 -1
- package/es/Stability/components/Avatar.d.ts +1 -1
- package/es/Stability/components/Avatar.js +1 -1
- package/es/Stability/components/Combine.d.ts +1 -1
- package/es/Stability/components/Combine.js +1 -1
- package/es/Stepfun/components/Avatar.d.ts +1 -1
- package/es/Stepfun/components/Avatar.js +1 -1
- package/es/Stepfun/components/Combine.d.ts +1 -1
- package/es/Stepfun/components/Combine.js +1 -1
- package/es/Suno/components/Avatar.d.ts +1 -1
- package/es/Suno/components/Avatar.js +1 -1
- package/es/Suno/components/Combine.d.ts +1 -1
- package/es/Suno/components/Combine.js +1 -1
- package/es/Tencent/components/Avatar.d.ts +1 -1
- package/es/Tencent/components/Avatar.js +1 -1
- package/es/Together/components/Avatar.d.ts +1 -1
- package/es/Together/components/Avatar.js +1 -1
- package/es/Together/components/Combine.d.ts +1 -1
- package/es/Together/components/Combine.js +1 -1
- package/es/Upstage/components/Avatar.d.ts +1 -1
- package/es/Upstage/components/Avatar.js +1 -1
- package/es/Upstage/components/Combine.d.ts +1 -1
- package/es/Upstage/components/Combine.js +1 -1
- package/es/Vllm/components/Avatar.d.ts +1 -1
- package/es/Vllm/components/Avatar.js +1 -1
- package/es/Vllm/components/Combine.d.ts +1 -1
- package/es/Vllm/components/Combine.js +1 -1
- package/es/Wenxin/components/Avatar.d.ts +1 -1
- package/es/Wenxin/components/Avatar.js +1 -1
- package/es/Wenxin/components/Combine.d.ts +1 -1
- package/es/Wenxin/components/Combine.js +1 -1
- package/es/WorkersAI/components/Avatar.d.ts +1 -1
- package/es/WorkersAI/components/Avatar.js +1 -1
- package/es/WorkersAI/components/Combine.d.ts +1 -1
- package/es/WorkersAI/components/Combine.js +1 -1
- package/es/Yi/components/Avatar.d.ts +1 -1
- package/es/Yi/components/Avatar.js +1 -1
- package/es/Yi/components/Combine.d.ts +1 -1
- package/es/Yi/components/Combine.js +1 -1
- package/es/Zeabur/components/Avatar.d.ts +1 -1
- package/es/Zeabur/components/Avatar.js +1 -1
- package/es/Zeabur/components/Combine.d.ts +1 -1
- package/es/Zeabur/components/Combine.js +1 -1
- package/es/ZeroOne/components/Avatar.d.ts +1 -1
- package/es/ZeroOne/components/Avatar.js +1 -1
- package/es/ZeroOne/components/Combine.d.ts +1 -1
- package/es/ZeroOne/components/Combine.js +1 -1
- package/es/Zhipu/components/Avatar.d.ts +1 -1
- package/es/Zhipu/components/Avatar.js +1 -1
- package/es/Zhipu/components/Combine.d.ts +1 -1
- package/es/Zhipu/components/Combine.js +1 -1
- package/es/{IconAvatar → features/IconAvatar}/index.d.ts +1 -1
- package/es/{IconCombine → features/IconCombine}/index.d.ts +1 -1
- package/es/{ModelIcon → features/ModelIcon}/index.js +1 -1
- package/es/features/ProviderCombine/Combine.d.ts +8 -0
- package/es/features/ProviderCombine/Combine.js +36 -0
- package/es/{ProviderCombine → features/ProviderCombine}/index.d.ts +1 -1
- package/es/{ProviderCombine → features/ProviderCombine}/index.js +7 -3
- package/es/{ProviderIcon → features/ProviderIcon}/DefaultAvatar.d.ts +1 -1
- package/es/{ProviderIcon → features/ProviderIcon}/index.d.ts +1 -1
- package/es/{ProviderIcon → features/ProviderIcon}/index.js +2 -1
- package/es/{ModelIcon/const.d.ts → features/modelConfig.d.ts} +2 -2
- package/es/features/providerConfig.d.ts +25 -0
- package/es/{ProviderCombine/const.js → features/providerConfig.js} +126 -142
- package/es/{ProviderIcon/const.d.ts → features/providerEnum.d.ts} +1 -19
- package/es/features/providerEnum.js +37 -0
- package/es/index.d.ts +9 -8
- package/es/index.js +9 -8
- package/package.json +1 -1
- package/es/ProviderCombine/const.d.ts +0 -12
- package/es/ProviderIcon/const.js +0 -169
- /package/es/{IconAvatar → features/IconAvatar}/index.js +0 -0
- /package/es/{IconAvatar → features/IconAvatar}/util.d.ts +0 -0
- /package/es/{IconAvatar → features/IconAvatar}/util.js +0 -0
- /package/es/{IconCombine → features/IconCombine}/index.js +0 -0
- /package/es/{ModelIcon → features/ModelIcon}/DefaultAvatar.d.ts +0 -0
- /package/es/{ModelIcon → features/ModelIcon}/DefaultAvatar.js +0 -0
- /package/es/{ModelIcon → features/ModelIcon}/DefaultIcon.d.ts +0 -0
- /package/es/{ModelIcon → features/ModelIcon}/DefaultIcon.js +0 -0
- /package/es/{ModelIcon → features/ModelIcon}/index.d.ts +0 -0
- /package/es/{ModelTag → features/ModelTag}/index.d.ts +0 -0
- /package/es/{ModelTag → features/ModelTag}/index.js +0 -0
- /package/es/{ProviderIcon → features/ProviderIcon}/DefaultAvatar.js +0 -0
- /package/es/{ProviderIcon → features/ProviderIcon}/DefaultIcon.d.ts +0 -0
- /package/es/{ProviderIcon → features/ProviderIcon}/DefaultIcon.js +0 -0
- /package/es/{ModelIcon/const.js → features/modelConfig.js} +0 -0
@@ -1,10 +1,9 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["
|
2
|
+
var _excluded = ["size", "type"],
|
3
3
|
_excluded2 = ["size", "type"],
|
4
4
|
_excluded3 = ["size", "type"],
|
5
5
|
_excluded4 = ["size", "type"],
|
6
|
-
_excluded5 = ["size", "type"]
|
7
|
-
_excluded6 = ["size", "type"];
|
6
|
+
_excluded5 = ["size", "type"];
|
8
7
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
9
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
10
9
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
@@ -12,9 +11,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
12
11
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
13
12
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
14
13
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
15
|
-
import { Divider } from 'antd';
|
16
|
-
import { memo } from 'react';
|
17
|
-
import { Flexbox } from 'react-layout-kit';
|
18
14
|
import Ai21 from "../Ai21";
|
19
15
|
import Ai360 from "../Ai360";
|
20
16
|
import AiMass from "../AiMass";
|
@@ -32,6 +28,7 @@ import Gemini from "../Gemini";
|
|
32
28
|
import Github from "../Github";
|
33
29
|
import Google from "../Google";
|
34
30
|
import Groq from "../Groq";
|
31
|
+
import HuggingFace from "../HuggingFace";
|
35
32
|
import Hunyuan from "../Hunyuan";
|
36
33
|
import LobeHub from "../LobeHub";
|
37
34
|
import Minimax from "../Minimax";
|
@@ -42,7 +39,6 @@ import Ollama from "../Ollama";
|
|
42
39
|
import OpenAI from "../OpenAI";
|
43
40
|
import OpenRouter from "../OpenRouter";
|
44
41
|
import Perplexity from "../Perplexity";
|
45
|
-
import { ModelProvider } from "../ProviderIcon/const";
|
46
42
|
import Qwen from "../Qwen";
|
47
43
|
import SenseNova from "../SenseNova";
|
48
44
|
import SiliconCloud from "../SiliconCloud";
|
@@ -53,44 +49,24 @@ import Upstage from "../Upstage";
|
|
53
49
|
import Wenxin from "../Wenxin";
|
54
50
|
import ZeroOne from "../ZeroOne";
|
55
51
|
import Zhipu from "../Zhipu";
|
52
|
+
import _Combine from "./ProviderCombine/Combine";
|
53
|
+
import { ModelProvider } from "./providerEnum";
|
56
54
|
import { jsx as _jsx } from "react/jsx-runtime";
|
57
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
58
|
-
var Combine = /*#__PURE__*/memo(function (_ref) {
|
59
|
-
var left = _ref.left,
|
60
|
-
right = _ref.right,
|
61
|
-
_ref$size = _ref.size,
|
62
|
-
size = _ref$size === void 0 ? 24 : _ref$size,
|
63
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
64
|
-
return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
|
65
|
-
align: 'center',
|
66
|
-
flex: 'none',
|
67
|
-
gap: size / 3,
|
68
|
-
horizontal: true
|
69
|
-
}, rest), {}, {
|
70
|
-
children: [left, /*#__PURE__*/_jsx(Divider, {
|
71
|
-
style: {
|
72
|
-
marginBlock: 0,
|
73
|
-
marginInline: size / 6
|
74
|
-
},
|
75
|
-
type: 'vertical'
|
76
|
-
}), right]
|
77
|
-
}));
|
78
|
-
});
|
79
55
|
export var providerMappings = [{
|
80
|
-
Icon: LobeHub
|
56
|
+
Icon: LobeHub,
|
81
57
|
keywords: [ModelProvider.LobeHub]
|
82
58
|
}, {
|
83
|
-
Icon: Zhipu
|
84
|
-
|
85
|
-
|
86
|
-
}, {
|
87
|
-
|
88
|
-
var
|
89
|
-
size =
|
90
|
-
|
91
|
-
type =
|
92
|
-
props = _objectWithoutProperties(
|
93
|
-
return /*#__PURE__*/_jsx(
|
59
|
+
Icon: Zhipu,
|
60
|
+
combineMultiple: 1.25,
|
61
|
+
keywords: [ModelProvider.ZhiPu]
|
62
|
+
}, {
|
63
|
+
Combine: function Combine(_ref) {
|
64
|
+
var _ref$size = _ref.size,
|
65
|
+
size = _ref$size === void 0 ? 24 : _ref$size,
|
66
|
+
_ref$type = _ref.type,
|
67
|
+
type = _ref$type === void 0 ? 'color' : _ref$type,
|
68
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
69
|
+
return /*#__PURE__*/_jsx(_Combine, _objectSpread({
|
94
70
|
left: type === 'color' ? /*#__PURE__*/_jsx(Aws.Color, {
|
95
71
|
size: size * 1.2
|
96
72
|
}) : /*#__PURE__*/_jsx(Aws, {
|
@@ -103,20 +79,21 @@ export var providerMappings = [{
|
|
103
79
|
size: size
|
104
80
|
}, props));
|
105
81
|
},
|
106
|
-
|
107
|
-
|
82
|
+
Icon: Bedrock,
|
83
|
+
combineMultiple: 1.1,
|
84
|
+
keywords: [ModelProvider.Bedrock]
|
108
85
|
}, {
|
109
|
-
Icon: DeepSeek
|
110
|
-
|
111
|
-
|
86
|
+
Icon: DeepSeek,
|
87
|
+
combineMultiple: 1.16,
|
88
|
+
keywords: [ModelProvider.DeepSeek]
|
112
89
|
}, {
|
113
|
-
|
114
|
-
var
|
115
|
-
size =
|
116
|
-
|
117
|
-
type =
|
118
|
-
props = _objectWithoutProperties(
|
119
|
-
return /*#__PURE__*/_jsx(
|
90
|
+
Combine: function Combine(_ref2) {
|
91
|
+
var _ref2$size = _ref2.size,
|
92
|
+
size = _ref2$size === void 0 ? 24 : _ref2$size,
|
93
|
+
_ref2$type = _ref2.type,
|
94
|
+
type = _ref2$type === void 0 ? 'color' : _ref2$type,
|
95
|
+
props = _objectWithoutProperties(_ref2, _excluded2);
|
96
|
+
return /*#__PURE__*/_jsx(_Combine, _objectSpread({
|
120
97
|
left: type === 'color' ? /*#__PURE__*/_jsx(Google.BrandColor, {
|
121
98
|
size: size * 0.95
|
122
99
|
}) : /*#__PURE__*/_jsx(Google.Brand, {
|
@@ -129,16 +106,17 @@ export var providerMappings = [{
|
|
129
106
|
size: size
|
130
107
|
}, props));
|
131
108
|
},
|
132
|
-
|
133
|
-
|
109
|
+
Icon: Google,
|
110
|
+
combineMultiple: 0.92,
|
111
|
+
keywords: [ModelProvider.Google]
|
134
112
|
}, {
|
135
|
-
|
136
|
-
var
|
137
|
-
size =
|
138
|
-
|
139
|
-
type =
|
140
|
-
props = _objectWithoutProperties(
|
141
|
-
return /*#__PURE__*/_jsx(
|
113
|
+
Combine: function Combine(_ref3) {
|
114
|
+
var _ref3$size = _ref3.size,
|
115
|
+
size = _ref3$size === void 0 ? 24 : _ref3$size,
|
116
|
+
_ref3$type = _ref3.type,
|
117
|
+
type = _ref3$type === void 0 ? 'color' : _ref3$type,
|
118
|
+
props = _objectWithoutProperties(_ref3, _excluded3);
|
119
|
+
return /*#__PURE__*/_jsx(_Combine, _objectSpread({
|
142
120
|
left: /*#__PURE__*/_jsx(Azure.Combine, {
|
143
121
|
size: size * 0.92,
|
144
122
|
type: type
|
@@ -149,37 +127,41 @@ export var providerMappings = [{
|
|
149
127
|
size: size
|
150
128
|
}, props));
|
151
129
|
},
|
130
|
+
Icon: Azure,
|
152
131
|
keywords: [ModelProvider.Azure]
|
153
132
|
}, {
|
154
|
-
Icon: Moonshot
|
155
|
-
|
156
|
-
|
133
|
+
Icon: Moonshot,
|
134
|
+
combineMultiple: 0.9,
|
135
|
+
keywords: [ModelProvider.Moonshot]
|
136
|
+
}, {
|
137
|
+
Icon: Novita,
|
138
|
+
keywords: [ModelProvider.Novita]
|
157
139
|
}, {
|
158
|
-
Icon: OpenAI
|
140
|
+
Icon: OpenAI,
|
159
141
|
keywords: [ModelProvider.OpenAI]
|
160
142
|
}, {
|
161
|
-
Icon: Ollama
|
162
|
-
|
163
|
-
|
143
|
+
Icon: Ollama,
|
144
|
+
combineMultiple: 1.16,
|
145
|
+
keywords: [ModelProvider.Ollama]
|
164
146
|
}, {
|
165
|
-
Icon: Perplexity
|
147
|
+
Icon: Perplexity,
|
166
148
|
keywords: [ModelProvider.Perplexity]
|
167
149
|
}, {
|
168
|
-
Icon: Minimax
|
169
|
-
|
170
|
-
|
150
|
+
Icon: Minimax,
|
151
|
+
combineMultiple: 1.3,
|
152
|
+
keywords: [ModelProvider.Minimax]
|
171
153
|
}, {
|
172
|
-
Icon: Mistral
|
173
|
-
|
174
|
-
|
154
|
+
Icon: Mistral,
|
155
|
+
combineMultiple: 1.08,
|
156
|
+
keywords: [ModelProvider.Mistral]
|
175
157
|
}, {
|
176
|
-
|
177
|
-
var
|
178
|
-
size =
|
179
|
-
|
180
|
-
type =
|
181
|
-
props = _objectWithoutProperties(
|
182
|
-
return /*#__PURE__*/_jsx(
|
158
|
+
Combine: function Combine(_ref4) {
|
159
|
+
var _ref4$size = _ref4.size,
|
160
|
+
size = _ref4$size === void 0 ? 24 : _ref4$size,
|
161
|
+
_ref4$type = _ref4.type,
|
162
|
+
type = _ref4$type === void 0 ? 'color' : _ref4$type,
|
163
|
+
props = _objectWithoutProperties(_ref4, _excluded4);
|
164
|
+
return /*#__PURE__*/_jsx(_Combine, _objectSpread({
|
183
165
|
left: /*#__PURE__*/_jsx(Anthropic.Text, {
|
184
166
|
size: size * 0.75
|
185
167
|
}),
|
@@ -190,83 +172,80 @@ export var providerMappings = [{
|
|
190
172
|
size: size
|
191
173
|
}, props));
|
192
174
|
},
|
193
|
-
|
194
|
-
|
175
|
+
Icon: Anthropic,
|
176
|
+
combineMultiple: 0.83,
|
177
|
+
keywords: [ModelProvider.Anthropic]
|
195
178
|
}, {
|
196
|
-
Icon: Groq
|
179
|
+
Icon: Groq,
|
197
180
|
keywords: [ModelProvider.Groq]
|
198
181
|
}, {
|
199
|
-
Icon: OpenRouter
|
200
|
-
|
201
|
-
|
182
|
+
Icon: OpenRouter,
|
183
|
+
combineMultiple: 0.8,
|
184
|
+
keywords: [ModelProvider.OpenRouter]
|
202
185
|
}, {
|
203
|
-
Icon: ZeroOne
|
204
|
-
|
205
|
-
|
186
|
+
Icon: ZeroOne,
|
187
|
+
combineMultiple: 0.9,
|
188
|
+
keywords: [ModelProvider.ZeroOne]
|
206
189
|
}, {
|
207
|
-
Icon: Together
|
190
|
+
Icon: Together,
|
208
191
|
keywords: [ModelProvider.TogetherAI]
|
209
192
|
}, {
|
210
|
-
Icon:
|
211
|
-
keywords: [ModelProvider.FireworksAI],
|
212
|
-
multiple: 1.14
|
213
|
-
}, {
|
214
|
-
Icon: Spark.Combine,
|
215
|
-
keywords: [ModelProvider.Spark],
|
216
|
-
multiple: 0.92
|
217
|
-
}, {
|
218
|
-
Icon: Qwen.Combine,
|
193
|
+
Icon: Qwen,
|
219
194
|
keywords: [ModelProvider.Qwen]
|
220
195
|
}, {
|
221
|
-
Icon: Stepfun
|
222
|
-
|
223
|
-
|
196
|
+
Icon: Stepfun,
|
197
|
+
combineMultiple: 0.83,
|
198
|
+
keywords: [ModelProvider.Stepfun]
|
224
199
|
}, {
|
225
|
-
Icon:
|
226
|
-
|
227
|
-
|
200
|
+
Icon: Spark,
|
201
|
+
combineMultiple: 0.92,
|
202
|
+
keywords: [ModelProvider.Spark]
|
228
203
|
}, {
|
229
|
-
Icon:
|
230
|
-
|
231
|
-
|
204
|
+
Icon: Fireworks,
|
205
|
+
combineMultiple: 1.14,
|
206
|
+
keywords: [ModelProvider.FireworksAI]
|
232
207
|
}, {
|
233
|
-
Icon:
|
234
|
-
|
235
|
-
|
208
|
+
Icon: Baichuan,
|
209
|
+
combineMultiple: 0.83,
|
210
|
+
keywords: [ModelProvider.Baichuan]
|
236
211
|
}, {
|
237
|
-
Icon:
|
238
|
-
|
239
|
-
|
212
|
+
Icon: AiMass,
|
213
|
+
combineMultiple: 1.16,
|
214
|
+
keywords: [ModelProvider.Taichu]
|
240
215
|
}, {
|
241
|
-
Icon:
|
242
|
-
|
243
|
-
|
216
|
+
Icon: Ai360,
|
217
|
+
combineMultiple: 0.83,
|
218
|
+
keywords: [ModelProvider.Ai360]
|
244
219
|
}, {
|
245
|
-
Icon:
|
246
|
-
|
247
|
-
|
220
|
+
Icon: SiliconCloud,
|
221
|
+
combineMultiple: 0.75,
|
222
|
+
keywords: [ModelProvider.SiliconCloud]
|
248
223
|
}, {
|
249
|
-
Icon:
|
250
|
-
|
251
|
-
|
224
|
+
Icon: Upstage,
|
225
|
+
combineMultiple: 0.9,
|
226
|
+
keywords: [ModelProvider.Upstage]
|
252
227
|
}, {
|
253
|
-
Icon:
|
254
|
-
|
255
|
-
|
228
|
+
Icon: Ai21,
|
229
|
+
combineMultiple: 0.9,
|
230
|
+
keywords: [ModelProvider.Ai21]
|
256
231
|
}, {
|
257
|
-
Icon:
|
258
|
-
|
232
|
+
Icon: Github,
|
233
|
+
combineMultiple: 0.95,
|
234
|
+
keywords: [ModelProvider.Github]
|
259
235
|
}, {
|
260
|
-
Icon: Doubao
|
236
|
+
Icon: Doubao,
|
261
237
|
keywords: [ModelProvider.Doubao]
|
262
238
|
}, {
|
263
|
-
Icon:
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
239
|
+
Icon: Hunyuan,
|
240
|
+
keywords: [ModelProvider.Hunyuan]
|
241
|
+
}, {
|
242
|
+
Combine: function Combine(_ref5) {
|
243
|
+
var _ref5$size = _ref5.size,
|
244
|
+
size = _ref5$size === void 0 ? 24 : _ref5$size,
|
245
|
+
_ref5$type = _ref5.type,
|
246
|
+
type = _ref5$type === void 0 ? 'color' : _ref5$type,
|
247
|
+
props = _objectWithoutProperties(_ref5, _excluded5);
|
248
|
+
return /*#__PURE__*/_jsx(_Combine, _objectSpread({
|
270
249
|
left: /*#__PURE__*/_jsx(BaiduCloud.Combine, {
|
271
250
|
size: size * 0.9,
|
272
251
|
type: type
|
@@ -279,9 +258,14 @@ export var providerMappings = [{
|
|
279
258
|
size: size
|
280
259
|
}, props));
|
281
260
|
},
|
261
|
+
Icon: Wenxin,
|
282
262
|
keywords: [ModelProvider.Wenxin]
|
283
263
|
}, {
|
284
|
-
Icon: SenseNova
|
285
|
-
|
286
|
-
|
264
|
+
Icon: SenseNova,
|
265
|
+
combineMultiple: 0.95,
|
266
|
+
keywords: [ModelProvider.SenseNova]
|
267
|
+
}, {
|
268
|
+
Icon: HuggingFace,
|
269
|
+
combineMultiple: 1.16,
|
270
|
+
keywords: [ModelProvider.HuggingFace]
|
287
271
|
}];
|
@@ -1,20 +1,3 @@
|
|
1
|
-
import { FC } from 'react';
|
2
|
-
import type { IconAvatarProps } from "../IconAvatar";
|
3
|
-
import type { IconCombineProps } from "../IconCombine";
|
4
|
-
import type { IconType } from "../types";
|
5
|
-
type ProviderIconType = FC<IconType & any> & {
|
6
|
-
Avatar: FC<Omit<IconAvatarProps, 'Icon'> & any>;
|
7
|
-
Brand?: FC<IconType & any>;
|
8
|
-
BrandColor?: FC<IconType & any>;
|
9
|
-
Color?: FC<IconType & any>;
|
10
|
-
Combine?: FC<Omit<IconCombineProps, 'Icon' | 'Text'> & any>;
|
11
|
-
Text?: FC<IconType & any>;
|
12
|
-
};
|
13
|
-
export interface ProviderMapping {
|
14
|
-
Icon: ProviderIconType;
|
15
|
-
keywords: string[];
|
16
|
-
props?: any;
|
17
|
-
}
|
18
1
|
export declare enum ModelProvider {
|
19
2
|
Ai21 = "ai21",
|
20
3
|
Ai360 = "ai360",
|
@@ -28,6 +11,7 @@ export declare enum ModelProvider {
|
|
28
11
|
Github = "github",
|
29
12
|
Google = "google",
|
30
13
|
Groq = "groq",
|
14
|
+
HuggingFace = "huggingface",
|
31
15
|
Hunyuan = "hunyuan",
|
32
16
|
LobeHub = "lobehub",
|
33
17
|
Minimax = "minimax",
|
@@ -51,5 +35,3 @@ export declare enum ModelProvider {
|
|
51
35
|
ZhiPu = "zhipu"
|
52
36
|
}
|
53
37
|
export type ModelProviderKey = Lowercase<keyof typeof ModelProvider>;
|
54
|
-
export declare const providerMappings: ProviderMapping[];
|
55
|
-
export {};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
2
|
+
ModelProvider["Ai21"] = "ai21";
|
3
|
+
ModelProvider["Ai360"] = "ai360";
|
4
|
+
ModelProvider["Anthropic"] = "anthropic";
|
5
|
+
ModelProvider["Azure"] = "azure";
|
6
|
+
ModelProvider["Baichuan"] = "baichuan";
|
7
|
+
ModelProvider["Bedrock"] = "bedrock";
|
8
|
+
ModelProvider["DeepSeek"] = "deepseek";
|
9
|
+
ModelProvider["Doubao"] = "Doubao";
|
10
|
+
ModelProvider["FireworksAI"] = "fireworksai";
|
11
|
+
ModelProvider["Github"] = "github";
|
12
|
+
ModelProvider["Google"] = "google";
|
13
|
+
ModelProvider["Groq"] = "groq";
|
14
|
+
ModelProvider["HuggingFace"] = "huggingface";
|
15
|
+
ModelProvider["Hunyuan"] = "hunyuan";
|
16
|
+
ModelProvider["LobeHub"] = "lobehub";
|
17
|
+
ModelProvider["Minimax"] = "minimax";
|
18
|
+
ModelProvider["Mistral"] = "mistral";
|
19
|
+
ModelProvider["Moonshot"] = "moonshot";
|
20
|
+
ModelProvider["Novita"] = "novita";
|
21
|
+
ModelProvider["Ollama"] = "ollama";
|
22
|
+
ModelProvider["OpenAI"] = "openai";
|
23
|
+
ModelProvider["OpenRouter"] = "openrouter";
|
24
|
+
ModelProvider["Perplexity"] = "perplexity";
|
25
|
+
ModelProvider["Qwen"] = "qwen";
|
26
|
+
ModelProvider["SenseNova"] = "sensenova";
|
27
|
+
ModelProvider["SiliconCloud"] = "siliconcloud";
|
28
|
+
ModelProvider["Spark"] = "spark";
|
29
|
+
ModelProvider["Stepfun"] = "stepfun";
|
30
|
+
ModelProvider["Taichu"] = "taichu";
|
31
|
+
ModelProvider["TogetherAI"] = "togetherai";
|
32
|
+
ModelProvider["Upstage"] = "upstage";
|
33
|
+
ModelProvider["Wenxin"] = "wenxin";
|
34
|
+
ModelProvider["ZeroOne"] = "zeroone";
|
35
|
+
ModelProvider["ZhiPu"] = "zhipu";
|
36
|
+
return ModelProvider;
|
37
|
+
}({});
|
package/es/index.d.ts
CHANGED
@@ -28,6 +28,15 @@ export { default as Dbrx, type CompoundedIcon as DbrxProps } from './Dbrx';
|
|
28
28
|
export { default as DeepMind, type CompoundedIcon as DeepMindProps } from './DeepMind';
|
29
29
|
export { default as DeepSeek, type CompoundedIcon as DeepSeekProps } from './DeepSeek';
|
30
30
|
export { default as Doubao, type CompoundedIcon as DoubaoProps } from './Doubao';
|
31
|
+
export { default as IconAvatar, type IconAvatarProps } from './features/IconAvatar';
|
32
|
+
export { default as IconCombine, type IconCombineProps } from './features/IconCombine';
|
33
|
+
export { modelMappings } from './features/modelConfig';
|
34
|
+
export { default as ModelIcon, type ModelIconProps } from './features/ModelIcon';
|
35
|
+
export { default as ModelTag, type ModelTagProps } from './features/ModelTag';
|
36
|
+
export { default as ProviderCombine, type ProviderCombineProps } from './features/ProviderCombine';
|
37
|
+
export { providerMappings } from './features/providerConfig';
|
38
|
+
export { ModelProvider, type ModelProviderKey } from './features/providerEnum';
|
39
|
+
export { default as ProviderIcon, type ProviderIconProps } from './features/ProviderIcon';
|
31
40
|
export { default as Fireworks, type CompoundedIcon as FireworksProps } from './Fireworks';
|
32
41
|
export { default as FishAudio, type CompoundedIcon as FishAudioProps } from './FishAudio';
|
33
42
|
export { default as Flux, type CompoundedIcon as FluxProps } from './Flux';
|
@@ -40,8 +49,6 @@ export { default as Grok, type CompoundedIcon as GrokProps } from './Grok';
|
|
40
49
|
export { default as Groq, type CompoundedIcon as GroqProps } from './Groq';
|
41
50
|
export { default as HuggingFace, type CompoundedIcon as HuggingFaceProps } from './HuggingFace';
|
42
51
|
export { default as Hunyuan, type CompoundedIcon as HunyuanProps } from './Hunyuan';
|
43
|
-
export { default as IconAvatar, type IconAvatarProps } from './IconAvatar';
|
44
|
-
export { default as IconCombine, type IconCombineProps } from './IconCombine';
|
45
52
|
export { default as InternLM, type CompoundedIcon as InternLMProps } from './InternLM';
|
46
53
|
export { default as Langfuse, type CompoundedIcon as LangfuseProps } from './Langfuse';
|
47
54
|
export { default as LLaVA, type CompoundedIcon as LLaVAProps } from './LLaVA';
|
@@ -52,9 +59,6 @@ export { default as Meta, type CompoundedIcon as MetaProps } from './Meta';
|
|
52
59
|
export { default as Midjourney, type CompoundedIcon as MidjourneyProps } from './Midjourney';
|
53
60
|
export { default as Minimax, type CompoundedIcon as MinimaxProps } from './Minimax';
|
54
61
|
export { default as Mistral, type CompoundedIcon as MistralProps } from './Mistral';
|
55
|
-
export { default as ModelIcon, type ModelIconProps } from './ModelIcon';
|
56
|
-
export { modelMappings } from './ModelIcon/const';
|
57
|
-
export { default as ModelTag, type ModelTagProps } from './ModelTag';
|
58
62
|
export { default as Moonshot, type CompoundedIcon as MoonshotProps } from './Moonshot';
|
59
63
|
export { default as Novita, type CompoundedIcon as NovitaProps } from './Novita';
|
60
64
|
export { default as Nvidia, type CompoundedIcon as NvidiaProps } from './Nvidia';
|
@@ -65,9 +69,6 @@ export { default as OpenRouter, type CompoundedIcon as OpenRouterProps } from '.
|
|
65
69
|
export { default as PaLM, type CompoundedIcon as PaLMProps } from './PaLM';
|
66
70
|
export { default as Perplexity, type CompoundedIcon as PerplexityProps } from './Perplexity';
|
67
71
|
export { default as Pollinations, type CompoundedIcon as PollinationsProps } from './Pollinations';
|
68
|
-
export { default as ProviderCombine, type ProviderCombineProps } from './ProviderCombine';
|
69
|
-
export { default as ProviderIcon, type ProviderIconProps } from './ProviderIcon';
|
70
|
-
export { ModelProvider, type ModelProviderKey, providerMappings } from './ProviderIcon/const';
|
71
72
|
export { default as Qingyan, type CompoundedIcon as QingyanProps } from './Qingyan';
|
72
73
|
export { default as Qwen, type CompoundedIcon as QwenProps } from './Qwen';
|
73
74
|
export { default as Tongyi, type CompoundedIcon as TongyiProps } from './Qwen';
|
package/es/index.js
CHANGED
@@ -28,6 +28,15 @@ export { default as Dbrx } from "./Dbrx";
|
|
28
28
|
export { default as DeepMind } from "./DeepMind";
|
29
29
|
export { default as DeepSeek } from "./DeepSeek";
|
30
30
|
export { default as Doubao } from "./Doubao";
|
31
|
+
export { default as IconAvatar } from "./features/IconAvatar";
|
32
|
+
export { default as IconCombine } from "./features/IconCombine";
|
33
|
+
export { modelMappings } from "./features/modelConfig";
|
34
|
+
export { default as ModelIcon } from "./features/ModelIcon";
|
35
|
+
export { default as ModelTag } from "./features/ModelTag";
|
36
|
+
export { default as ProviderCombine } from "./features/ProviderCombine";
|
37
|
+
export { providerMappings } from "./features/providerConfig";
|
38
|
+
export { ModelProvider } from "./features/providerEnum";
|
39
|
+
export { default as ProviderIcon } from "./features/ProviderIcon";
|
31
40
|
export { default as Fireworks } from "./Fireworks";
|
32
41
|
export { default as FishAudio } from "./FishAudio";
|
33
42
|
export { default as Flux } from "./Flux";
|
@@ -40,8 +49,6 @@ export { default as Grok } from "./Grok";
|
|
40
49
|
export { default as Groq } from "./Groq";
|
41
50
|
export { default as HuggingFace } from "./HuggingFace";
|
42
51
|
export { default as Hunyuan } from "./Hunyuan";
|
43
|
-
export { default as IconAvatar } from "./IconAvatar";
|
44
|
-
export { default as IconCombine } from "./IconCombine";
|
45
52
|
export { default as InternLM } from "./InternLM";
|
46
53
|
export { default as Langfuse } from "./Langfuse";
|
47
54
|
export { default as LLaVA } from "./LLaVA";
|
@@ -52,9 +59,6 @@ export { default as Meta } from "./Meta";
|
|
52
59
|
export { default as Midjourney } from "./Midjourney";
|
53
60
|
export { default as Minimax } from "./Minimax";
|
54
61
|
export { default as Mistral } from "./Mistral";
|
55
|
-
export { default as ModelIcon } from "./ModelIcon";
|
56
|
-
export { modelMappings } from "./ModelIcon/const";
|
57
|
-
export { default as ModelTag } from "./ModelTag";
|
58
62
|
export { default as Moonshot } from "./Moonshot";
|
59
63
|
export { default as Novita } from "./Novita";
|
60
64
|
export { default as Nvidia } from "./Nvidia";
|
@@ -65,9 +69,6 @@ export { default as OpenRouter } from "./OpenRouter";
|
|
65
69
|
export { default as PaLM } from "./PaLM";
|
66
70
|
export { default as Perplexity } from "./Perplexity";
|
67
71
|
export { default as Pollinations } from "./Pollinations";
|
68
|
-
export { default as ProviderCombine } from "./ProviderCombine";
|
69
|
-
export { default as ProviderIcon } from "./ProviderIcon";
|
70
|
-
export { ModelProvider, providerMappings } from "./ProviderIcon/const";
|
71
72
|
export { default as Qingyan } from "./Qingyan";
|
72
73
|
export { default as Qwen } from "./Qwen";
|
73
74
|
export { default as Tongyi } from "./Qwen";
|
package/package.json
CHANGED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { DivProps } from '@lobehub/ui';
|
2
|
-
import { FC } from 'react';
|
3
|
-
export interface ProviderMapping {
|
4
|
-
Icon: FC<DivProps & {
|
5
|
-
size: number;
|
6
|
-
type: 'color' | 'mono';
|
7
|
-
}>;
|
8
|
-
keywords: string[];
|
9
|
-
multiple?: number;
|
10
|
-
props?: any;
|
11
|
-
}
|
12
|
-
export declare const providerMappings: ProviderMapping[];
|