@lobehub/icons 1.97.2 → 1.98.0
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/README.md +14 -13
- package/es/Adobe/components/Color.js +2 -3
- package/es/Adobe/components/Mono.js +2 -3
- package/es/Adobe/components/Text.js +2 -3
- package/es/Adobe/index.js +0 -2
- package/es/AdobeFirefly/components/Color.js +2 -3
- package/es/AdobeFirefly/components/Mono.js +2 -3
- package/es/AdobeFirefly/components/Text.js +2 -3
- package/es/AdobeFirefly/index.js +0 -2
- package/es/Ai21/components/BrandColor.js +2 -3
- package/es/Ai21/components/Mono.js +2 -3
- package/es/Ai21/components/Text.js +2 -3
- package/es/Ai21/index.js +0 -2
- package/es/Ai360/components/Color.js +2 -3
- package/es/Ai360/components/Mono.js +2 -3
- package/es/Ai360/components/Text.js +2 -3
- package/es/Ai360/index.js +0 -2
- package/es/AiHubMix/components/Color.js +2 -3
- package/es/AiHubMix/components/Inner.js +2 -3
- package/es/AiHubMix/components/Mono.js +2 -3
- package/es/AiHubMix/components/Text.js +2 -3
- package/es/AiHubMix/index.js +0 -2
- package/es/AiMass/components/Color.js +2 -3
- package/es/AiMass/components/Mono.js +2 -3
- package/es/AiMass/components/Text.js +2 -3
- package/es/AiMass/index.js +0 -2
- package/es/AiStudio/components/Color.js +2 -3
- package/es/AiStudio/components/Mono.js +2 -3
- package/es/AiStudio/components/Text.js +2 -3
- package/es/AiStudio/index.js +0 -2
- package/es/AionLabs/components/Color.js +2 -3
- package/es/AionLabs/components/Mono.js +2 -3
- package/es/AionLabs/components/Text.js +2 -3
- package/es/AionLabs/index.js +0 -2
- package/es/AlephAlpha/components/Mono.js +2 -3
- package/es/AlephAlpha/components/Text.js +2 -3
- package/es/AlephAlpha/index.js +0 -2
- package/es/Alibaba/components/BrandColor.js +2 -3
- package/es/Alibaba/components/BrandMono.js +2 -3
- package/es/Alibaba/components/Color.js +2 -3
- package/es/Alibaba/components/Mono.js +2 -3
- package/es/Alibaba/components/Text.js +2 -3
- package/es/Alibaba/components/TextCn.js +2 -3
- package/es/Alibaba/index.js +0 -2
- package/es/AlibabaCloud/components/Color.js +2 -3
- package/es/AlibabaCloud/components/Mono.js +2 -3
- package/es/AlibabaCloud/components/Text.js +2 -3
- package/es/AlibabaCloud/components/TextCn.js +2 -3
- package/es/AlibabaCloud/index.js +0 -2
- package/es/AntGroup/components/BrandColor.js +2 -3
- package/es/AntGroup/components/BrandMono.js +2 -3
- package/es/AntGroup/components/Color.js +2 -3
- package/es/AntGroup/components/Mono.js +2 -3
- package/es/AntGroup/components/Text.js +2 -3
- package/es/AntGroup/components/TextCn.js +2 -3
- package/es/AntGroup/index.js +0 -2
- package/es/Anthropic/components/Mono.js +2 -3
- package/es/Anthropic/components/Text.js +2 -3
- package/es/Anthropic/index.js +0 -2
- package/es/Anyscale/components/Color.js +2 -3
- package/es/Anyscale/components/Mono.js +2 -3
- package/es/Anyscale/components/Text.js +2 -3
- package/es/Anyscale/index.js +0 -2
- package/es/AssemblyAI/components/Color.js +2 -3
- package/es/AssemblyAI/components/Mono.js +2 -3
- package/es/AssemblyAI/components/Text.js +2 -3
- package/es/AssemblyAI/index.js +0 -2
- package/es/Automatic/components/Color.js +2 -3
- package/es/Automatic/components/Mono.js +2 -3
- package/es/Automatic/index.js +0 -2
- package/es/Aws/components/BrandColor.js +2 -3
- package/es/Aws/components/BrandMono.js +2 -3
- package/es/Aws/components/Color.js +2 -3
- package/es/Aws/components/Mono.js +2 -3
- package/es/Aws/components/Text.js +2 -3
- package/es/Aws/index.js +0 -2
- package/es/Aya/components/Color.js +2 -3
- package/es/Aya/components/Mono.js +2 -3
- package/es/Aya/components/Text.js +2 -3
- package/es/Aya/index.js +0 -2
- package/es/Azure/components/Color.js +2 -3
- package/es/Azure/components/Mono.js +2 -3
- package/es/Azure/components/Text.js +2 -3
- package/es/Azure/index.js +0 -2
- package/es/AzureAI/components/Color.js +2 -3
- package/es/AzureAI/components/Mono.js +2 -3
- package/es/AzureAI/components/Text.js +2 -3
- package/es/AzureAI/index.js +0 -2
- package/es/BAAI/components/Mono.js +2 -3
- package/es/BAAI/components/Text.js +2 -3
- package/es/BAAI/index.js +0 -2
- package/es/Baichuan/components/Color.js +2 -3
- package/es/Baichuan/components/Mono.js +2 -3
- package/es/Baichuan/components/Text.js +2 -3
- package/es/Baichuan/index.js +0 -2
- package/es/Baidu/components/BrandColor.js +2 -3
- package/es/Baidu/components/BrandMono.js +2 -3
- package/es/Baidu/components/Color.js +2 -3
- package/es/Baidu/components/Mono.js +2 -3
- package/es/Baidu/components/Text.js +2 -3
- package/es/Baidu/components/TextCn.js +2 -3
- package/es/Baidu/index.js +0 -2
- package/es/BaiduCloud/components/Color.js +2 -3
- package/es/BaiduCloud/components/Mono.js +2 -3
- package/es/BaiduCloud/components/Text.js +2 -3
- package/es/BaiduCloud/index.js +0 -2
- package/es/Bedrock/components/Color.js +2 -3
- package/es/Bedrock/components/Mono.js +2 -3
- package/es/Bedrock/components/Text.js +2 -3
- package/es/Bedrock/index.js +0 -2
- package/es/Bing/components/Color.js +2 -3
- package/es/Bing/components/Mono.js +2 -3
- package/es/Bing/components/Text.js +2 -3
- package/es/Bing/index.js +0 -2
- package/es/ByteDance/components/BrandColor.js +2 -3
- package/es/ByteDance/components/BrandMono.js +2 -3
- package/es/ByteDance/components/Color.js +2 -3
- package/es/ByteDance/components/Mono.js +2 -3
- package/es/ByteDance/components/Text.js +2 -3
- package/es/ByteDance/components/TextCn.js +2 -3
- package/es/ByteDance/index.js +0 -2
- package/es/CentML/components/BrandColor.js +2 -3
- package/es/CentML/components/BrandMono.js +2 -3
- package/es/CentML/components/Color.js +2 -3
- package/es/CentML/components/Mono.js +2 -3
- package/es/CentML/components/Text.js +2 -3
- package/es/CentML/index.js +0 -2
- package/es/Cerebras/components/BrandColor.js +2 -3
- package/es/Cerebras/components/BrandMono.js +2 -3
- package/es/Cerebras/components/Color.js +2 -3
- package/es/Cerebras/components/Mono.js +2 -3
- package/es/Cerebras/components/Text.js +2 -3
- package/es/Cerebras/index.js +0 -2
- package/es/ChatGLM/components/Color.js +2 -3
- package/es/ChatGLM/components/Mono.js +2 -3
- package/es/ChatGLM/components/Text.js +2 -3
- package/es/ChatGLM/index.js +0 -2
- package/es/Civitai/components/Color.js +2 -3
- package/es/Civitai/components/Mono.js +2 -3
- package/es/Civitai/components/Text.js +2 -3
- package/es/Civitai/components/TextColor.js +2 -3
- package/es/Civitai/index.js +0 -2
- package/es/Claude/components/Color.js +2 -3
- package/es/Claude/components/Mono.js +2 -3
- package/es/Claude/components/Text.js +2 -3
- package/es/Claude/index.js +0 -2
- package/es/Cline/components/Mono.js +2 -3
- package/es/Cline/components/Text.js +2 -3
- package/es/Cline/index.js +0 -2
- package/es/Clipdrop/components/Mono.js +2 -3
- package/es/Clipdrop/components/Text.js +2 -3
- package/es/Clipdrop/index.js +0 -2
- package/es/Cloudflare/components/Color.js +2 -3
- package/es/Cloudflare/components/Mono.js +2 -3
- package/es/Cloudflare/components/Text.js +2 -3
- package/es/Cloudflare/index.js +0 -2
- package/es/CodeGeeX/components/Color.js +2 -3
- package/es/CodeGeeX/components/Mono.js +2 -3
- package/es/CodeGeeX/components/Text.js +2 -3
- package/es/CodeGeeX/index.js +0 -2
- package/es/CogVideo/components/Color.js +2 -3
- package/es/CogVideo/components/Mono.js +2 -3
- package/es/CogVideo/components/Text.js +2 -3
- package/es/CogVideo/index.js +0 -2
- package/es/CogView/components/Color.js +2 -3
- package/es/CogView/components/Mono.js +2 -3
- package/es/CogView/components/Text.js +2 -3
- package/es/CogView/index.js +0 -2
- package/es/Cohere/components/Color.js +2 -3
- package/es/Cohere/components/Mono.js +2 -3
- package/es/Cohere/components/Text.js +2 -3
- package/es/Cohere/index.js +0 -2
- package/es/Colab/components/Color.js +2 -3
- package/es/Colab/components/Mono.js +2 -3
- package/es/Colab/components/Text.js +2 -3
- package/es/Colab/index.js +0 -2
- package/es/ComfyUI/components/Color.js +2 -3
- package/es/ComfyUI/components/Mono.js +2 -3
- package/es/ComfyUI/components/Text.js +2 -3
- package/es/ComfyUI/index.js +0 -2
- package/es/CommandA/components/Color.js +2 -3
- package/es/CommandA/components/Mono.js +2 -3
- package/es/CommandA/components/Text.js +2 -3
- package/es/CommandA/index.js +0 -2
- package/es/Copilot/components/Color.js +2 -3
- package/es/Copilot/components/Mono.js +2 -3
- package/es/Copilot/components/Text.js +2 -3
- package/es/Copilot/index.js +0 -2
- package/es/Coqui/components/Color.js +2 -3
- package/es/Coqui/components/Mono.js +2 -3
- package/es/Coqui/components/Text.js +2 -3
- package/es/Coqui/index.js +0 -2
- package/es/Coze/components/Mono.js +2 -3
- package/es/Coze/components/Text.js +2 -3
- package/es/Coze/index.js +0 -2
- package/es/CrewAI/components/Brand.js +2 -3
- package/es/CrewAI/components/BrandColor.js +2 -3
- package/es/CrewAI/components/Color.js +2 -3
- package/es/CrewAI/components/Mono.js +2 -3
- package/es/CrewAI/components/Text.js +2 -3
- package/es/CrewAI/index.js +0 -2
- package/es/Crusoe/components/Color.js +2 -3
- package/es/Crusoe/components/Mono.js +2 -3
- package/es/Crusoe/components/Text.js +2 -3
- package/es/Crusoe/index.js +0 -2
- package/es/Cursor/components/Mono.js +2 -3
- package/es/Cursor/components/Text.js +2 -3
- package/es/Cursor/index.js +0 -2
- package/es/Dalle/components/Color.js +2 -3
- package/es/Dalle/components/Mono.js +2 -3
- package/es/Dalle/components/Text.js +2 -3
- package/es/Dalle/index.js +0 -2
- package/es/Dbrx/components/BrandColor.js +2 -3
- package/es/Dbrx/components/BrandMono.js +2 -3
- package/es/Dbrx/components/Color.js +2 -3
- package/es/Dbrx/components/Mono.js +2 -3
- package/es/Dbrx/components/Text.js +2 -3
- package/es/Dbrx/index.js +0 -2
- package/es/DeepAI/components/Mono.js +2 -3
- package/es/DeepAI/components/Text.js +2 -3
- package/es/DeepAI/index.js +0 -2
- package/es/DeepInfra/components/Color.js +2 -3
- package/es/DeepInfra/components/Mono.js +2 -3
- package/es/DeepInfra/components/Text.js +2 -3
- package/es/DeepInfra/index.js +0 -2
- package/es/DeepMind/components/Color.js +2 -3
- package/es/DeepMind/components/Mono.js +2 -3
- package/es/DeepMind/components/Text.js +2 -3
- package/es/DeepMind/index.js +0 -2
- package/es/DeepSeek/components/Color.js +2 -3
- package/es/DeepSeek/components/Mono.js +2 -3
- package/es/DeepSeek/components/Text.js +2 -3
- package/es/DeepSeek/index.js +0 -2
- package/es/Dify/components/Color.js +2 -3
- package/es/Dify/components/Mono.js +2 -3
- package/es/Dify/components/Text.js +2 -3
- package/es/Dify/components/TextColor.js +2 -3
- package/es/Dify/index.js +0 -2
- package/es/Doc2X/components/Color.js +2 -3
- package/es/Doc2X/components/Mono.js +2 -3
- package/es/Doc2X/components/Text.js +2 -3
- package/es/Doc2X/index.js +0 -2
- package/es/DocSearch/components/Color.js +2 -3
- package/es/DocSearch/components/Mono.js +2 -3
- package/es/DocSearch/components/Text.js +2 -3
- package/es/DocSearch/index.js +0 -2
- package/es/Doubao/components/Color.js +2 -3
- package/es/Doubao/components/Mono.js +2 -3
- package/es/Doubao/components/Text.js +2 -3
- package/es/Doubao/index.js +0 -2
- package/es/DreamMachine/components/Mono.js +2 -3
- package/es/DreamMachine/components/Text.js +2 -3
- package/es/DreamMachine/index.js +0 -2
- package/es/Exa/components/Color.js +2 -3
- package/es/Exa/components/Mono.js +2 -3
- package/es/Exa/components/Text.js +2 -3
- package/es/Exa/index.js +0 -2
- package/es/Fal/components/Mono.js +2 -3
- package/es/Fal/components/Text.js +2 -3
- package/es/Fal/index.js +0 -2
- package/es/Featherless/components/Color.js +2 -3
- package/es/Featherless/components/Mono.js +2 -3
- package/es/Featherless/components/Text.js +2 -3
- package/es/Featherless/index.js +0 -2
- package/es/Fireworks/components/Color.js +2 -3
- package/es/Fireworks/components/Mono.js +2 -3
- package/es/Fireworks/components/Text.js +2 -3
- package/es/Fireworks/index.js +0 -2
- package/es/FishAudio/components/Mono.js +2 -3
- package/es/FishAudio/components/Text.js +2 -3
- package/es/FishAudio/index.js +0 -2
- package/es/Flora/components/Mono.js +2 -3
- package/es/Flora/components/Text.js +2 -3
- package/es/Flora/index.js +0 -2
- package/es/Flowith/components/Mono.js +2 -3
- package/es/Flowith/components/Text.js +2 -3
- package/es/Flowith/index.js +0 -2
- package/es/Flux/components/Mono.js +2 -3
- package/es/Flux/components/Text.js +2 -3
- package/es/Flux/index.js +0 -2
- package/es/Friendli/components/Mono.js +2 -3
- package/es/Friendli/components/Text.js +2 -3
- package/es/Friendli/index.js +0 -2
- package/es/Gemini/components/BrandColor.js +2 -3
- package/es/Gemini/components/BrandMono.js +2 -3
- package/es/Gemini/components/Color.js +2 -3
- package/es/Gemini/components/Mono.js +2 -3
- package/es/Gemini/components/Text.js +2 -3
- package/es/Gemini/index.js +0 -2
- package/es/Gemma/components/Color.js +2 -3
- package/es/Gemma/components/Mono.js +2 -3
- package/es/Gemma/components/Simple.js +2 -3
- package/es/Gemma/components/Text.js +2 -3
- package/es/Gemma/index.js +0 -2
- package/es/GiteeAI/components/Mono.js +2 -3
- package/es/GiteeAI/components/Text.js +2 -3
- package/es/GiteeAI/index.js +0 -2
- package/es/Github/components/Mono.js +2 -3
- package/es/Github/components/Text.js +2 -3
- package/es/Github/index.js +0 -2
- package/es/GithubCopilot/components/Mono.js +2 -3
- package/es/GithubCopilot/components/Text.js +2 -3
- package/es/GithubCopilot/index.js +0 -2
- package/es/Glif/components/Mono.js +2 -3
- package/es/Glif/components/Text.js +2 -3
- package/es/Glif/index.js +0 -2
- package/es/Google/components/BrandColor.js +2 -3
- package/es/Google/components/BrandMono.js +2 -3
- package/es/Google/components/Color.js +2 -3
- package/es/Google/components/Mono.js +2 -3
- package/es/Google/index.js +0 -2
- package/es/Goose/components/Mono.js +2 -3
- package/es/Goose/components/Text.js +2 -3
- package/es/Goose/index.js +0 -2
- package/es/Gradio/components/Color.js +2 -3
- package/es/Gradio/components/Mono.js +2 -3
- package/es/Gradio/components/Text.js +2 -3
- package/es/Gradio/index.js +0 -2
- package/es/Greptile/components/Color.js +2 -3
- package/es/Greptile/components/Mono.js +2 -3
- package/es/Greptile/components/Text.js +2 -3
- package/es/Greptile/index.js +0 -2
- package/es/Grok/components/Mono.js +2 -3
- package/es/Grok/components/Text.js +2 -3
- package/es/Grok/index.js +0 -2
- package/es/Groq/components/Mono.js +2 -3
- package/es/Groq/components/Text.js +2 -3
- package/es/Groq/index.js +0 -2
- package/es/Hailuo/components/Color.js +2 -3
- package/es/Hailuo/components/Mono.js +2 -3
- package/es/Hailuo/components/Text.js +2 -3
- package/es/Hailuo/index.js +0 -2
- package/es/Haiper/components/Mono.js +2 -3
- package/es/Haiper/components/Text.js +2 -3
- package/es/Haiper/index.js +0 -2
- package/es/Hedra/components/Mono.js +2 -3
- package/es/Hedra/components/Text.js +2 -3
- package/es/Hedra/index.js +0 -2
- package/es/Higress/components/Color.js +2 -3
- package/es/Higress/components/Mono.js +2 -3
- package/es/Higress/components/Text.js +2 -3
- package/es/Higress/components/TextColor.js +2 -3
- package/es/Higress/index.js +0 -2
- package/es/HuggingFace/components/Color.js +2 -3
- package/es/HuggingFace/components/Mono.js +2 -3
- package/es/HuggingFace/components/Text.js +2 -3
- package/es/HuggingFace/index.js +0 -2
- package/es/Hunyuan/components/Color.js +2 -3
- package/es/Hunyuan/components/Mono.js +2 -3
- package/es/Hunyuan/components/Text.js +2 -3
- package/es/Hunyuan/index.js +0 -2
- package/es/Hyperbolic/components/Color.js +2 -3
- package/es/Hyperbolic/components/Mono.js +2 -3
- package/es/Hyperbolic/components/Text.js +2 -3
- package/es/Hyperbolic/index.js +0 -2
- package/es/IFlyTekCloud/components/Color.js +2 -3
- package/es/IFlyTekCloud/components/Mono.js +2 -3
- package/es/IFlyTekCloud/components/Text.js +2 -3
- package/es/IFlyTekCloud/index.js +0 -2
- package/es/Ideogram/components/Mono.js +2 -3
- package/es/Ideogram/components/Text.js +2 -3
- package/es/Ideogram/index.js +0 -2
- package/es/Inference/components/Mono.js +2 -3
- package/es/Inference/components/Text.js +2 -3
- package/es/Inference/index.js +0 -2
- package/es/Infermatic/components/Color.js +2 -3
- package/es/Infermatic/components/Mono.js +2 -3
- package/es/Infermatic/components/Text.js +2 -3
- package/es/Infermatic/index.js +0 -2
- package/es/Infinigence/components/Color.js +2 -3
- package/es/Infinigence/components/Mono.js +2 -3
- package/es/Infinigence/components/Text.js +2 -3
- package/es/Infinigence/components/TextCn.js +2 -3
- package/es/Infinigence/index.js +0 -2
- package/es/Inflection/components/Mono.js +2 -3
- package/es/Inflection/components/Text.js +2 -3
- package/es/Inflection/index.js +0 -2
- package/es/InternLM/components/Color.js +2 -3
- package/es/InternLM/components/Mono.js +2 -3
- package/es/InternLM/components/Text.js +2 -3
- package/es/InternLM/index.js +0 -2
- package/es/Jina/components/Mono.js +2 -3
- package/es/Jina/components/Text.js +2 -3
- package/es/Jina/index.js +0 -2
- package/es/Kera/components/Mono.js +2 -3
- package/es/Kera/components/Text.js +2 -3
- package/es/Kera/index.js +0 -2
- package/es/Kimi/components/Color.js +2 -3
- package/es/Kimi/components/Mono.js +2 -3
- package/es/Kimi/components/Text.js +2 -3
- package/es/Kimi/index.js +0 -2
- package/es/Kling/components/Color.js +2 -3
- package/es/Kling/components/Mono.js +2 -3
- package/es/Kling/components/Text.js +2 -3
- package/es/Kling/index.js +0 -2
- package/es/Kluster/components/Color.js +2 -3
- package/es/Kluster/components/Mono.js +2 -3
- package/es/Kluster/components/Text.js +2 -3
- package/es/Kluster/index.js +0 -2
- package/es/LLaVA/components/Color.js +2 -3
- package/es/LLaVA/components/Mono.js +2 -3
- package/es/LLaVA/components/Text.js +2 -3
- package/es/LLaVA/index.js +0 -2
- package/es/Lambda/components/Mono.js +2 -3
- package/es/Lambda/components/Text.js +2 -3
- package/es/Lambda/index.js +0 -2
- package/es/LangChain/components/Color.js +2 -3
- package/es/LangChain/components/Mono.js +2 -3
- package/es/LangChain/components/Text.js +2 -3
- package/es/LangChain/index.js +0 -2
- package/es/LangGraph/components/Color.js +2 -3
- package/es/LangGraph/components/Mono.js +2 -3
- package/es/LangGraph/components/Text.js +2 -3
- package/es/LangGraph/index.js +0 -2
- package/es/LangSmith/components/Color.js +2 -3
- package/es/LangSmith/components/Mono.js +2 -3
- package/es/LangSmith/components/Text.js +2 -3
- package/es/LangSmith/index.js +0 -2
- package/es/Langfuse/components/Color.js +2 -3
- package/es/Langfuse/components/Mono.js +2 -3
- package/es/Langfuse/components/Text.js +2 -3
- package/es/Langfuse/index.js +0 -2
- package/es/LeptonAI/components/Color.js +2 -3
- package/es/LeptonAI/components/Mono.js +2 -3
- package/es/LeptonAI/components/Text.js +2 -3
- package/es/LeptonAI/index.js +0 -2
- package/es/Lightricks/components/Mono.js +2 -3
- package/es/Lightricks/components/Text.js +2 -3
- package/es/Lightricks/index.js +0 -2
- package/es/Liquid/components/Mono.js +2 -3
- package/es/Liquid/components/Text.js +2 -3
- package/es/Liquid/index.js +0 -2
- package/es/LiveKit/components/Color.js +2 -3
- package/es/LiveKit/components/Mono.js +2 -3
- package/es/LiveKit/components/Text.js +2 -3
- package/es/LiveKit/index.js +0 -2
- package/es/LlamaIndex/components/Color.js +2 -3
- package/es/LlamaIndex/components/Mono.js +2 -3
- package/es/LlamaIndex/components/Text.js +2 -3
- package/es/LlamaIndex/index.js +0 -2
- package/es/LmStudio/components/Mono.js +2 -3
- package/es/LmStudio/components/Text.js +2 -3
- package/es/LmStudio/index.js +0 -2
- package/es/LobeHub/components/Color.js +2 -3
- package/es/LobeHub/components/Mono.js +2 -3
- package/es/LobeHub/components/Text.js +2 -3
- package/es/LobeHub/index.js +0 -2
- package/es/Luma/components/Color.js +2 -3
- package/es/Luma/components/Mono.js +2 -3
- package/es/Luma/components/Text.js +2 -3
- package/es/Luma/index.js +0 -2
- package/es/MCP/components/Mono.js +2 -3
- package/es/MCP/components/Text.js +2 -3
- package/es/MCP/index.js +0 -2
- package/es/Magic/components/Mono.js +2 -3
- package/es/Magic/components/Text.js +2 -3
- package/es/Magic/index.js +0 -2
- package/es/Make/components/Color.js +2 -3
- package/es/Make/components/Mono.js +2 -3
- package/es/Make/components/Text.js +2 -3
- package/es/Make/index.js +0 -2
- package/es/Manus/components/Mono.js +2 -3
- package/es/Manus/components/Text.js +2 -3
- package/es/Manus/index.js +0 -2
- package/es/Meta/components/BrandColor.js +2 -3
- package/es/Meta/components/BrandMono.js +2 -3
- package/es/Meta/components/Color.js +2 -3
- package/es/Meta/components/Mono.js +2 -3
- package/es/Meta/components/Text.js +2 -3
- package/es/Meta/index.js +0 -2
- package/es/Microsoft/components/Color.js +2 -3
- package/es/Microsoft/components/Mono.js +2 -3
- package/es/Microsoft/components/Text.js +2 -3
- package/es/Microsoft/index.js +0 -2
- package/es/Midjourney/components/Mono.js +2 -3
- package/es/Midjourney/components/Text.js +2 -3
- package/es/Midjourney/index.js +0 -2
- package/es/Minimax/components/Color.js +2 -3
- package/es/Minimax/components/Mono.js +2 -3
- package/es/Minimax/components/Text.js +2 -3
- package/es/Minimax/index.js +0 -2
- package/es/Mistral/components/Color.js +2 -3
- package/es/Mistral/components/Mono.js +2 -3
- package/es/Mistral/components/Text.js +2 -3
- package/es/Mistral/index.js +0 -2
- package/es/ModelScope/components/Color.js +2 -3
- package/es/ModelScope/components/Mono.js +2 -3
- package/es/ModelScope/components/Text.js +2 -3
- package/es/ModelScope/index.js +0 -2
- package/es/Monica/components/Color.js +2 -3
- package/es/Monica/components/Mono.js +2 -3
- package/es/Monica/components/Text.js +2 -3
- package/es/Monica/index.js +0 -2
- package/es/Moonshot/components/Mono.js +2 -3
- package/es/Moonshot/components/Text.js +2 -3
- package/es/Moonshot/index.js +0 -2
- package/es/MyShell/components/Color.js +2 -3
- package/es/MyShell/components/Mono.js +2 -3
- package/es/MyShell/components/Text.js +2 -3
- package/es/MyShell/index.js +0 -2
- package/es/N8n/components/Color.js +2 -3
- package/es/N8n/components/Mono.js +2 -3
- package/es/N8n/components/Text.js +2 -3
- package/es/N8n/index.js +0 -2
- package/es/NPLCloud/components/Color.js +2 -3
- package/es/NPLCloud/components/Mono.js +2 -3
- package/es/NPLCloud/components/Text.js +2 -3
- package/es/NPLCloud/index.js +0 -2
- package/es/Nebius/components/Mono.js +2 -3
- package/es/Nebius/components/Text.js +2 -3
- package/es/Nebius/index.js +0 -2
- package/es/NotebookLM/components/Mono.js +2 -3
- package/es/NotebookLM/components/Text.js +2 -3
- package/es/NotebookLM/index.js +0 -2
- package/es/Notion/components/Mono.js +2 -3
- package/es/Notion/components/Text.js +2 -3
- package/es/Notion/index.js +0 -2
- package/es/Nova/components/Color.js +2 -3
- package/es/Nova/components/Mono.js +2 -3
- package/es/Nova/components/Text.js +2 -3
- package/es/Nova/index.js +0 -2
- package/es/Novita/components/Color.js +2 -3
- package/es/Novita/components/Mono.js +2 -3
- package/es/Novita/components/Text.js +2 -3
- package/es/Novita/index.js +0 -2
- package/es/Nvidia/components/Color.js +2 -3
- package/es/Nvidia/components/Mono.js +2 -3
- package/es/Nvidia/components/Text.js +2 -3
- package/es/Nvidia/index.js +0 -2
- package/es/Ollama/components/Mono.js +2 -3
- package/es/Ollama/components/Text.js +2 -3
- package/es/Ollama/index.js +0 -2
- package/es/OpenAI/components/Mono.js +2 -3
- package/es/OpenAI/components/Text.js +2 -3
- package/es/OpenAI/index.js +0 -2
- package/es/OpenChat/components/Color.js +2 -3
- package/es/OpenChat/components/Mono.js +2 -3
- package/es/OpenChat/components/Text.js +2 -3
- package/es/OpenChat/index.js +0 -2
- package/es/OpenRouter/components/Mono.js +2 -3
- package/es/OpenRouter/components/Text.js +2 -3
- package/es/OpenRouter/index.js +0 -2
- package/es/OpenWebUI/components/Mono.js +2 -3
- package/es/OpenWebUI/components/Text.js +2 -3
- package/es/OpenWebUI/index.js +0 -2
- package/es/PPIO/components/Color.js +2 -3
- package/es/PPIO/components/Mono.js +2 -3
- package/es/PPIO/components/Text.js +2 -3
- package/es/PPIO/components/TextCn.js +2 -3
- package/es/PPIO/index.js +0 -2
- package/es/PaLM/components/Color.js +2 -3
- package/es/PaLM/components/Mono.js +2 -3
- package/es/PaLM/components/Text.js +2 -3
- package/es/PaLM/index.js +0 -2
- package/es/Parasail/components/Mono.js +2 -3
- package/es/Parasail/components/Text.js +2 -3
- package/es/Parasail/index.js +0 -2
- package/es/Perplexity/components/Color.js +2 -3
- package/es/Perplexity/components/Mono.js +2 -3
- package/es/Perplexity/components/Text.js +2 -3
- package/es/Perplexity/index.js +0 -2
- package/es/Phidata/components/Color.js +2 -3
- package/es/Phidata/components/Mono.js +2 -3
- package/es/Phidata/components/Text.js +2 -3
- package/es/Phidata/index.js +0 -2
- package/es/Pika/components/Mono.js +2 -3
- package/es/Pika/components/Text.js +2 -3
- package/es/Pika/index.js +0 -2
- package/es/PixVerse/components/Color.js +2 -3
- package/es/PixVerse/components/Mono.js +2 -3
- package/es/PixVerse/components/Text.js +2 -3
- package/es/PixVerse/index.js +0 -2
- package/es/Poe/components/Color.js +2 -3
- package/es/Poe/components/Mono.js +2 -3
- package/es/Poe/components/Text.js +2 -3
- package/es/Poe/index.js +0 -2
- package/es/Pollinations/components/Mono.js +2 -3
- package/es/Pollinations/components/Text.js +2 -3
- package/es/Pollinations/index.js +0 -2
- package/es/Qingyan/components/Color.js +2 -3
- package/es/Qingyan/components/Mono.js +2 -3
- package/es/Qingyan/components/Text.js +2 -3
- package/es/Qingyan/index.js +0 -2
- package/es/Qiniu/components/Avatar.d.ts +5 -0
- package/es/Qiniu/components/Avatar.js +26 -0
- package/es/Qiniu/components/Color.d.ts +3 -0
- package/es/Qiniu/components/Color.js +39 -0
- package/es/Qiniu/components/Combine.d.ts +7 -0
- package/es/Qiniu/components/Combine.js +32 -0
- package/es/Qiniu/components/Mono.d.ts +3 -0
- package/es/Qiniu/components/Mono.js +40 -0
- package/es/Qiniu/components/Text.d.ts +3 -0
- package/es/Qiniu/components/Text.js +40 -0
- package/es/Qiniu/index.d.ts +15 -0
- package/es/Qiniu/index.js +14 -0
- package/es/Qiniu/style.d.ts +4 -0
- package/es/Qiniu/style.js +4 -0
- package/es/Qwen/components/Color.js +2 -3
- package/es/Qwen/components/Mono.js +2 -3
- package/es/Qwen/components/Text.js +2 -3
- package/es/Qwen/index.js +0 -2
- package/es/RSSHub/components/Color.js +2 -3
- package/es/RSSHub/components/Mono.js +2 -3
- package/es/RSSHub/components/Text.js +2 -3
- package/es/RSSHub/index.js +0 -2
- package/es/Railway/components/Mono.js +2 -3
- package/es/Railway/components/Text.js +2 -3
- package/es/Railway/index.js +0 -2
- package/es/Recraft/components/Mono.js +2 -3
- package/es/Recraft/components/Text.js +2 -3
- package/es/Recraft/index.js +0 -2
- package/es/Replicate/components/BrandMono.js +2 -3
- package/es/Replicate/components/Mono.js +2 -3
- package/es/Replicate/index.js +0 -2
- package/es/Replit/components/Color.js +2 -3
- package/es/Replit/components/Mono.js +2 -3
- package/es/Replit/components/Text.js +2 -3
- package/es/Replit/index.js +0 -2
- package/es/Runway/components/Mono.js +2 -3
- package/es/Runway/components/Text.js +2 -3
- package/es/Runway/index.js +0 -2
- package/es/Rwkv/components/Color.js +2 -3
- package/es/Rwkv/components/Mono.js +2 -3
- package/es/Rwkv/components/Text.js +2 -3
- package/es/Rwkv/index.js +0 -2
- package/es/SambaNova/components/Color.js +2 -3
- package/es/SambaNova/components/Mono.js +2 -3
- package/es/SambaNova/components/Text.js +2 -3
- package/es/SambaNova/index.js +0 -2
- package/es/Search1API/components/Color.js +2 -3
- package/es/Search1API/components/Inner.js +2 -3
- package/es/Search1API/components/Mono.js +2 -3
- package/es/Search1API/components/Text.js +2 -3
- package/es/Search1API/index.js +0 -2
- package/es/SearchApi/components/Mono.js +2 -3
- package/es/SearchApi/components/Text.js +2 -3
- package/es/SearchApi/index.js +0 -2
- package/es/SenseNova/components/BrandColor.js +2 -3
- package/es/SenseNova/components/BrandMono.js +2 -3
- package/es/SenseNova/components/Color.js +2 -3
- package/es/SenseNova/components/Mono.js +2 -3
- package/es/SenseNova/components/Text.js +2 -3
- package/es/SenseNova/index.js +0 -2
- package/es/SiliconCloud/components/Color.js +2 -3
- package/es/SiliconCloud/components/Mono.js +2 -3
- package/es/SiliconCloud/components/Text.js +2 -3
- package/es/SiliconCloud/index.js +0 -2
- package/es/Snowflake/components/Color.js +2 -3
- package/es/Snowflake/components/Mono.js +2 -3
- package/es/Snowflake/components/Text.js +2 -3
- package/es/Snowflake/index.js +0 -2
- package/es/Spark/components/Color.js +2 -3
- package/es/Spark/components/Mono.js +2 -3
- package/es/Spark/components/Text.js +2 -3
- package/es/Spark/index.js +0 -2
- package/es/Stability/components/BrandColor.js +2 -3
- package/es/Stability/components/BrandMono.js +2 -3
- package/es/Stability/components/Color.js +2 -3
- package/es/Stability/components/Mono.js +2 -3
- package/es/Stability/components/Text.js +2 -3
- package/es/Stability/index.js +0 -2
- package/es/StateCloud/components/Color.js +2 -3
- package/es/StateCloud/components/Mono.js +2 -3
- package/es/StateCloud/components/Text.js +2 -3
- package/es/StateCloud/index.js +0 -2
- package/es/Stepfun/components/Color.js +2 -3
- package/es/Stepfun/components/Mono.js +2 -3
- package/es/Stepfun/components/Text.js +2 -3
- package/es/Stepfun/index.js +0 -2
- package/es/Suno/components/Mono.js +2 -3
- package/es/Suno/components/Text.js +2 -3
- package/es/Suno/index.js +0 -2
- package/es/Sync/components/Mono.js +2 -3
- package/es/Sync/components/Text.js +2 -3
- package/es/Sync/index.js +0 -2
- package/es/TII/components/Color.js +2 -3
- package/es/TII/components/Mono.js +2 -3
- package/es/TII/components/Text.js +2 -3
- package/es/TII/index.js +0 -2
- package/es/Targon/components/Color.js +2 -3
- package/es/Targon/components/Inner.js +2 -3
- package/es/Targon/components/Mono.js +2 -3
- package/es/Targon/components/Text.js +2 -3
- package/es/Targon/index.js +0 -2
- package/es/Tencent/components/BrandColor.js +2 -3
- package/es/Tencent/components/BrandMono.js +2 -3
- package/es/Tencent/components/Color.js +2 -3
- package/es/Tencent/components/Mono.js +2 -3
- package/es/Tencent/components/Text.js +2 -3
- package/es/Tencent/components/TextCn.js +2 -3
- package/es/Tencent/index.js +0 -2
- package/es/TencentCloud/components/Color.js +2 -3
- package/es/TencentCloud/components/Mono.js +2 -3
- package/es/TencentCloud/components/Text.js +2 -3
- package/es/TencentCloud/index.js +0 -2
- package/es/Tiangong/components/Color.js +2 -3
- package/es/Tiangong/components/Mono.js +2 -3
- package/es/Tiangong/components/Text.js +2 -3
- package/es/Tiangong/index.js +0 -2
- package/es/Together/components/BrandColor.js +2 -3
- package/es/Together/components/BrandMono.js +2 -3
- package/es/Together/components/Color.js +2 -3
- package/es/Together/components/Mono.js +2 -3
- package/es/Together/components/Text.js +2 -3
- package/es/Together/index.js +0 -2
- package/es/TopazLabs/components/Mono.js +2 -3
- package/es/TopazLabs/components/Text.js +2 -3
- package/es/TopazLabs/index.js +0 -2
- package/es/Tripo/components/Color.js +2 -3
- package/es/Tripo/components/Mono.js +2 -3
- package/es/Tripo/components/Text.js +2 -3
- package/es/Tripo/index.js +0 -2
- package/es/Udio/components/Color.js +2 -3
- package/es/Udio/components/Mono.js +2 -3
- package/es/Udio/components/Text.js +2 -3
- package/es/Udio/index.js +0 -2
- package/es/Unstructured/components/Color.js +2 -3
- package/es/Unstructured/components/Inner.js +2 -3
- package/es/Unstructured/components/Mono.js +2 -3
- package/es/Unstructured/components/Text.js +2 -3
- package/es/Unstructured/index.js +0 -2
- package/es/Upstage/components/Color.js +2 -3
- package/es/Upstage/components/Mono.js +2 -3
- package/es/Upstage/components/Text.js +2 -3
- package/es/Upstage/index.js +0 -2
- package/es/V0/components/Mono.js +2 -3
- package/es/V0/index.js +0 -2
- package/es/VectorizerAI/components/Mono.js +2 -3
- package/es/VectorizerAI/components/Text.js +2 -3
- package/es/VectorizerAI/index.js +0 -2
- package/es/Vercel/components/Mono.js +2 -3
- package/es/Vercel/components/Text.js +2 -3
- package/es/Vercel/index.js +0 -2
- package/es/VertexAI/components/Color.js +2 -3
- package/es/VertexAI/components/Mono.js +2 -3
- package/es/VertexAI/components/Text.js +2 -3
- package/es/VertexAI/index.js +0 -2
- package/es/Vidu/components/Color.js +2 -3
- package/es/Vidu/components/Mono.js +2 -3
- package/es/Vidu/components/Text.js +2 -3
- package/es/Vidu/index.js +0 -2
- package/es/Viggle/components/Mono.js +2 -3
- package/es/Viggle/components/Text.js +2 -3
- package/es/Viggle/index.js +0 -2
- package/es/Vllm/components/Color.js +2 -3
- package/es/Vllm/components/Mono.js +2 -3
- package/es/Vllm/components/Text.js +2 -3
- package/es/Vllm/index.js +0 -2
- package/es/Volcengine/components/Color.js +2 -3
- package/es/Volcengine/components/Mono.js +2 -3
- package/es/Volcengine/components/Text.js +2 -3
- package/es/Volcengine/index.js +0 -2
- package/es/Voyage/components/Color.js +2 -3
- package/es/Voyage/components/Mono.js +2 -3
- package/es/Voyage/components/Text.js +2 -3
- package/es/Voyage/index.js +0 -2
- package/es/Wenxin/components/Color.js +2 -3
- package/es/Wenxin/components/Mono.js +2 -3
- package/es/Wenxin/components/Text.js +2 -3
- package/es/Wenxin/index.js +0 -2
- package/es/WorkersAI/components/Color.js +2 -3
- package/es/WorkersAI/components/Mono.js +2 -3
- package/es/WorkersAI/components/Text.js +2 -3
- package/es/WorkersAI/index.js +0 -2
- package/es/XAI/components/Mono.js +2 -3
- package/es/XAI/components/Text.js +2 -3
- package/es/XAI/index.js +0 -2
- package/es/Xinference/components/Color.js +2 -3
- package/es/Xinference/components/Mono.js +2 -3
- package/es/Xinference/components/Text.js +2 -3
- package/es/Xinference/index.js +0 -2
- package/es/Xuanyuan/components/Color.js +2 -3
- package/es/Xuanyuan/components/Mono.js +2 -3
- package/es/Xuanyuan/components/Text.js +2 -3
- package/es/Xuanyuan/index.js +0 -2
- package/es/Yandex/components/Mono.js +2 -3
- package/es/Yandex/components/Text.js +2 -3
- package/es/Yandex/index.js +0 -2
- package/es/Yi/components/Color.js +2 -3
- package/es/Yi/components/Mono.js +2 -3
- package/es/Yi/index.js +0 -2
- package/es/Yuanbao/components/Color.js +2 -3
- package/es/Yuanbao/components/Mono.js +2 -3
- package/es/Yuanbao/components/Text.js +2 -3
- package/es/Yuanbao/index.js +0 -2
- package/es/Zeabur/components/Color.js +2 -3
- package/es/Zeabur/components/Mono.js +2 -3
- package/es/Zeabur/components/Text.js +2 -3
- package/es/Zeabur/index.js +0 -2
- package/es/ZeroOne/components/Color.js +2 -3
- package/es/ZeroOne/components/Mono.js +2 -3
- package/es/ZeroOne/components/Text.js +2 -3
- package/es/ZeroOne/index.js +0 -2
- package/es/Zhipu/components/Color.js +2 -3
- package/es/Zhipu/components/Mono.js +2 -3
- package/es/Zhipu/components/Text.js +2 -3
- package/es/Zhipu/index.js +0 -2
- package/es/components/Dashboard/IconItem.js +2 -3
- package/es/components/Dashboard/Text.js +2 -2
- package/es/components/DownloadButton/index.d.ts +1 -2
- package/es/components/DownloadButton/index.js +1 -7
- package/es/components/Editor/Color.js +1 -1
- package/es/components/Editor/Mono.js +1 -1
- package/es/components/Editor/Preview.d.ts +3 -2
- package/es/components/Editor/Preview.js +2 -3
- package/es/components/Editor/Text.js +1 -1
- package/es/components/Editor/index.js +1 -1
- package/es/components/IconPreview/index.js +2 -4
- package/es/features/IconAvatar/index.d.ts +3 -3
- package/es/features/IconAvatar/index.js +11 -7
- package/es/features/IconCombine/index.d.ts +1 -1
- package/es/features/IconCombine/index.js +2 -3
- package/es/features/ModelIcon/DefaultAvatar.d.ts +1 -1
- package/es/features/ModelIcon/DefaultAvatar.js +2 -3
- package/es/features/ModelIcon/DefaultIcon.d.ts +1 -1
- package/es/features/ModelIcon/DefaultIcon.js +3 -6
- package/es/features/ModelIcon/index.d.ts +1 -1
- package/es/features/ModelIcon/index.js +3 -3
- package/es/features/ModelTag/index.js +1 -0
- package/es/features/ProviderCombine/index.d.ts +1 -1
- package/es/features/ProviderCombine/index.js +3 -3
- package/es/features/ProviderIcon/DefaultAvatar.d.ts +2 -2
- package/es/features/ProviderIcon/DefaultAvatar.js +2 -3
- package/es/features/ProviderIcon/DefaultIcon.d.ts +2 -2
- package/es/features/ProviderIcon/DefaultIcon.js +3 -6
- package/es/features/ProviderIcon/index.d.ts +1 -1
- package/es/features/ProviderIcon/index.js +3 -3
- package/es/features/modelConfig.js +4 -0
- package/es/features/providerConfig.js +5 -0
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -0
- package/es/icons.d.ts +1 -0
- package/es/icons.js +1 -0
- package/es/toc.js +18 -0
- package/package.json +4 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
'use client';
|
2
2
|
|
3
3
|
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); }
|
4
|
-
var _excluded = ["className", "
|
4
|
+
var _excluded = ["className", "onClick"];
|
5
5
|
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; }
|
6
6
|
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; }
|
7
7
|
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; }
|
@@ -15,10 +15,6 @@ import { memo } from 'react';
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
16
16
|
var DownloadButton = /*#__PURE__*/memo(function (_ref) {
|
17
17
|
var className = _ref.className,
|
18
|
-
_ref$placement = _ref.placement,
|
19
|
-
placement = _ref$placement === void 0 ? 'right' : _ref$placement,
|
20
|
-
_ref$size = _ref.size,
|
21
|
-
size = _ref$size === void 0 ? 'site' : _ref$size,
|
22
18
|
onClick = _ref.onClick,
|
23
19
|
rest = _objectWithoutProperties(_ref, _excluded);
|
24
20
|
return /*#__PURE__*/_jsx(ActionIcon, _objectSpread(_objectSpread({}, rest), {}, {
|
@@ -26,8 +22,6 @@ var DownloadButton = /*#__PURE__*/memo(function (_ref) {
|
|
26
22
|
glass: true,
|
27
23
|
icon: Download,
|
28
24
|
onClick: onClick,
|
29
|
-
placement: placement,
|
30
|
-
size: size,
|
31
25
|
title: 'Download'
|
32
26
|
}));
|
33
27
|
});
|
@@ -41,7 +41,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
|
|
41
41
|
}), /*#__PURE__*/_jsx(Highlighter, {
|
42
42
|
className: styles.code,
|
43
43
|
language: 'tsx',
|
44
|
-
children: "'use client';\n\nimport {
|
44
|
+
children: "'use client';\n\nimport { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n height={size}\n\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
|
45
45
|
})]
|
46
46
|
});
|
47
47
|
});
|
@@ -41,7 +41,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
|
|
41
41
|
}), /*#__PURE__*/_jsx(Highlighter, {
|
42
42
|
className: styles.code,
|
43
43
|
language: 'tsx',
|
44
|
-
children: "'use client';\n\nimport {
|
44
|
+
children: "'use client';\n\nimport { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
|
45
45
|
})]
|
46
46
|
});
|
47
47
|
});
|
@@ -1,8 +1,9 @@
|
|
1
|
-
|
1
|
+
import { Ref } from 'react';
|
2
2
|
interface PreviewProps {
|
3
3
|
precent?: string;
|
4
|
+
ref?: Ref<HTMLDivElement>;
|
4
5
|
svg: string;
|
5
6
|
title: string;
|
6
7
|
}
|
7
|
-
declare const Preview: import("react").
|
8
|
+
declare const Preview: import("react").NamedExoticComponent<PreviewProps>;
|
8
9
|
export default Preview;
|
@@ -2,7 +2,7 @@ var _templateObject;
|
|
2
2
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
3
3
|
import { Highlighter, Tag } from '@lobehub/ui';
|
4
4
|
import { createStyles } from 'antd-style';
|
5
|
-
import {
|
5
|
+
import { memo } from 'react';
|
6
6
|
import { Flexbox } from 'react-layout-kit';
|
7
7
|
import IconPreview from "../IconPreview";
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
@@ -13,7 +13,7 @@ var useStyles = createStyles(function (_ref) {
|
|
13
13
|
code: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n flex: 1;\n height: 96px;\n\n pre {\n padding: 8px !important;\n }\n\n code {\n font-size: 12px;\n text-wrap: initial;\n }\n "])))
|
14
14
|
};
|
15
15
|
});
|
16
|
-
var Preview = /*#__PURE__*/
|
16
|
+
var Preview = /*#__PURE__*/memo(function (_ref2) {
|
17
17
|
var svg = _ref2.svg,
|
18
18
|
title = _ref2.title,
|
19
19
|
precent = _ref2.precent;
|
@@ -42,7 +42,6 @@ var Preview = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
42
42
|
}), /*#__PURE__*/_jsxs(Flexbox, {
|
43
43
|
gap: 8,
|
44
44
|
horizontal: true,
|
45
|
-
ref: ref,
|
46
45
|
children: [/*#__PURE__*/_jsx(IconPreview, {
|
47
46
|
children: svg
|
48
47
|
}), /*#__PURE__*/_jsx(Highlighter, {
|
@@ -41,7 +41,7 @@ var Preview = /*#__PURE__*/memo(function (_ref2) {
|
|
41
41
|
}), /*#__PURE__*/_jsx(Highlighter, {
|
42
42
|
className: styles.code,
|
43
43
|
language: 'tsx',
|
44
|
-
children: "'use client';\n\nimport {
|
44
|
+
children: "'use client';\n\nimport { memo } from 'react';\nimport type { IconType } from '@/types';\n\nimport { TITLE } from '../style';\n\nconst Icon: IconType = memo(({ size = '1em', style, ...rest }) => {\n return (\n <svg\n fill=\"currentColor\"\n fillRule=\"evenodd\"\n height={size}\n\n style={{ flex: 'none', lineHeight: 1, ...style }}\n viewBox=\"".concat(viewbox, "\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...rest}\n >\n <title>{TITLE}</title>\n ").concat(svg, "\n </svg>\n );\n});\n\nexport default Icon;\n")
|
45
45
|
})]
|
46
46
|
});
|
47
47
|
});
|
@@ -12,7 +12,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
12
12
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
13
13
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
14
14
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
15
|
-
import { StoryBook, useControls, useCreateStore } from '@lobehub/ui';
|
15
|
+
import { StoryBook, useControls, useCreateStore } from '@lobehub/ui/storybook';
|
16
16
|
import { createStyles } from 'antd-style';
|
17
17
|
import { useEffect, useRef, useState } from 'react';
|
18
18
|
import { Flexbox } from 'react-layout-kit';
|
@@ -21,7 +21,7 @@ var useStyles = createStyles(function (_ref) {
|
|
21
21
|
cx = _ref.cx;
|
22
22
|
return {
|
23
23
|
btn: cx('copy-button', css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n inset-block-start: 4px;\n inset-inline-end: 4px;\n opacity: 0;\n "])))),
|
24
|
-
container: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n\n flex: none;\n\n padding: 12px;\n
|
24
|
+
container: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n\n flex: none;\n\n padding: 12px;\n border: 1px solid ", ";\n border-radius: ", "px;\n\n line-height: 1;\n\n background: ", ";\n\n &:hover {\n .copy-button {\n opacity: 1;\n }\n }\n "])), token.colorBorder, token.borderRadius, token.colorBgContainer),
|
25
25
|
inner: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n\n width: auto;\n min-width: 72px;\n height: 72px;\n\n font-size: 72px;\n line-height: 1;\n "])))
|
26
26
|
};
|
27
27
|
});
|
@@ -44,11 +44,9 @@ var IconPreview = /*#__PURE__*/memo(function (_ref2) {
|
|
44
44
|
className: styles.inner,
|
45
45
|
dangerouslySetInnerHTML: {
|
46
46
|
__html: children
|
47
|
-
}
|
48
|
-
ref: ref
|
47
|
+
}
|
49
48
|
}) : /*#__PURE__*/_jsx("div", {
|
50
49
|
className: styles.inner,
|
51
|
-
ref: ref,
|
52
50
|
children: children
|
53
51
|
}), /*#__PURE__*/_jsx(DownloadButton, {
|
54
52
|
className: styles.btn,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { CSSProperties } from 'react';
|
2
|
-
import { type
|
2
|
+
import { type CenterProps } from 'react-layout-kit';
|
3
3
|
import { IconType } from "../../types";
|
4
|
-
export interface IconAvatarProps extends Omit<
|
4
|
+
export interface IconAvatarProps extends Omit<CenterProps, 'children'> {
|
5
5
|
Icon?: IconType;
|
6
6
|
background?: string;
|
7
7
|
color?: string;
|
@@ -11,5 +11,5 @@ export interface IconAvatarProps extends Omit<FlexboxProps, 'children'> {
|
|
11
11
|
shape?: 'circle' | 'square';
|
12
12
|
size: number;
|
13
13
|
}
|
14
|
-
declare const IconAvatar: import("react").
|
14
|
+
declare const IconAvatar: import("react").NamedExoticComponent<IconAvatarProps>;
|
15
15
|
export default IconAvatar;
|
@@ -1,17 +1,20 @@
|
|
1
1
|
'use client';
|
2
2
|
|
3
3
|
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); }
|
4
|
+
var _excluded = ["shape", "color", "background", "size", "style", "iconMultiple", "Icon", "iconStyle", "iconClassName"];
|
4
5
|
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; }
|
5
6
|
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; }
|
6
7
|
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; }
|
7
8
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
9
|
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); }
|
10
|
+
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; }
|
11
|
+
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; }
|
9
12
|
import { useThemeMode } from 'antd-style';
|
10
|
-
import {
|
13
|
+
import { memo } from 'react';
|
11
14
|
import { Center } from 'react-layout-kit';
|
12
15
|
import { getAvatarShadow, roundToEven } from "./util";
|
13
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
14
|
-
var IconAvatar = /*#__PURE__*/
|
17
|
+
var IconAvatar = /*#__PURE__*/memo(function (_ref) {
|
15
18
|
var _ref$shape = _ref.shape,
|
16
19
|
shape = _ref$shape === void 0 ? 'circle' : _ref$shape,
|
17
20
|
_ref$color = _ref.color,
|
@@ -23,12 +26,12 @@ var IconAvatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
23
26
|
iconMultiple = _ref$iconMultiple === void 0 ? 0.75 : _ref$iconMultiple,
|
24
27
|
Icon = _ref.Icon,
|
25
28
|
iconStyle = _ref.iconStyle,
|
26
|
-
iconClassName = _ref.iconClassName
|
29
|
+
iconClassName = _ref.iconClassName,
|
30
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
27
31
|
var _useThemeMode = useThemeMode(),
|
28
32
|
isDarkMode = _useThemeMode.isDarkMode;
|
29
|
-
return /*#__PURE__*/_jsx(Center, {
|
33
|
+
return /*#__PURE__*/_jsx(Center, _objectSpread(_objectSpread({
|
30
34
|
flex: 'none',
|
31
|
-
ref: ref,
|
32
35
|
style: _objectSpread({
|
33
36
|
background: background,
|
34
37
|
borderRadius: shape === 'circle' ? '50%' : Math.floor(size * 0.1),
|
@@ -36,13 +39,14 @@ var IconAvatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
36
39
|
color: color,
|
37
40
|
height: size,
|
38
41
|
width: size
|
39
|
-
}, style)
|
42
|
+
}, style)
|
43
|
+
}, rest), {}, {
|
40
44
|
children: Icon && /*#__PURE__*/_jsx(Icon, {
|
41
45
|
className: iconClassName,
|
42
46
|
color: color,
|
43
47
|
size: roundToEven(size * iconMultiple),
|
44
48
|
style: iconStyle
|
45
49
|
})
|
46
|
-
});
|
50
|
+
}));
|
47
51
|
});
|
48
52
|
export default IconAvatar;
|
@@ -17,5 +17,5 @@ export interface IconCombineProps extends FlexboxProps {
|
|
17
17
|
spaceMultiple?: number;
|
18
18
|
textMultiple?: number;
|
19
19
|
}
|
20
|
-
declare const IconCombine: import("react").
|
20
|
+
declare const IconCombine: import("react").NamedExoticComponent<IconCombineProps>;
|
21
21
|
export default IconCombine;
|
@@ -9,12 +9,12 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
9
9
|
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); }
|
10
10
|
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; }
|
11
11
|
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; }
|
12
|
-
import {
|
12
|
+
import { memo } from 'react';
|
13
13
|
import { Flexbox } from 'react-layout-kit';
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
15
15
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
16
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
17
|
-
var IconCombine = /*#__PURE__*/
|
17
|
+
var IconCombine = /*#__PURE__*/memo(function (_ref) {
|
18
18
|
var Icon = _ref.Icon,
|
19
19
|
style = _ref.style,
|
20
20
|
Text = _ref.Text,
|
@@ -52,7 +52,6 @@ var IconCombine = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
52
52
|
flex: 'none',
|
53
53
|
horizontal: true,
|
54
54
|
justify: 'flex-start',
|
55
|
-
ref: ref,
|
56
55
|
style: _objectSpread({
|
57
56
|
color: color
|
58
57
|
}, style)
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { IconAvatarProps } from "../IconAvatar";
|
3
|
-
declare const DefaultAvatar: import("react").
|
3
|
+
declare const DefaultAvatar: import("react").NamedExoticComponent<Omit<IconAvatarProps, "Icon">>;
|
4
4
|
export default DefaultAvatar;
|
@@ -5,11 +5,11 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
6
6
|
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); }
|
7
7
|
import { useTheme } from 'antd-style';
|
8
|
-
import {
|
8
|
+
import { memo } from 'react';
|
9
9
|
import { Center } from 'react-layout-kit';
|
10
10
|
import DefaultIcon from "./DefaultIcon";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
|
-
var DefaultAvatar = /*#__PURE__*/
|
12
|
+
var DefaultAvatar = /*#__PURE__*/memo(function (_ref) {
|
13
13
|
var _ref$shape = _ref.shape,
|
14
14
|
shape = _ref$shape === void 0 ? 'circle' : _ref$shape,
|
15
15
|
color = _ref.color,
|
@@ -23,7 +23,6 @@ var DefaultAvatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
23
23
|
var theme = useTheme();
|
24
24
|
return /*#__PURE__*/_jsx(Center, {
|
25
25
|
flex: 'none',
|
26
|
-
ref: ref,
|
27
26
|
style: _objectSpread({
|
28
27
|
background: background || theme.colorFillSecondary,
|
29
28
|
borderRadius: shape === 'circle' ? '50%' : Math.floor(size * 0.1),
|
@@ -5,5 +5,5 @@ interface DefaultIconProps {
|
|
5
5
|
size?: number;
|
6
6
|
style?: CSSProperties;
|
7
7
|
}
|
8
|
-
declare const DefaultAvatar: import("react").
|
8
|
+
declare const DefaultAvatar: import("react").NamedExoticComponent<DefaultIconProps>;
|
9
9
|
export default DefaultAvatar;
|
@@ -10,9 +10,9 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
10
10
|
import { Icon } from '@lobehub/ui';
|
11
11
|
import { useTheme } from 'antd-style';
|
12
12
|
import { Brain } from 'lucide-react';
|
13
|
-
import {
|
13
|
+
import { memo } from 'react';
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
-
var DefaultAvatar = /*#__PURE__*/
|
15
|
+
var DefaultAvatar = /*#__PURE__*/memo(function (_ref) {
|
16
16
|
var color = _ref.color,
|
17
17
|
_ref$size = _ref.size,
|
18
18
|
size = _ref$size === void 0 ? 12 : _ref$size,
|
@@ -21,10 +21,7 @@ var DefaultAvatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
21
21
|
return /*#__PURE__*/_jsx(Icon, _objectSpread({
|
22
22
|
color: color || theme.colorTextDescription,
|
23
23
|
icon: Brain,
|
24
|
-
|
25
|
-
size: {
|
26
|
-
fontSize: size
|
27
|
-
}
|
24
|
+
size: size
|
28
25
|
}, rest));
|
29
26
|
});
|
30
27
|
export default DefaultAvatar;
|
@@ -7,5 +7,5 @@ export interface ModelIconProps {
|
|
7
7
|
style?: CSSProperties;
|
8
8
|
type?: 'avatar' | 'mono' | 'color' | 'combine' | 'combine-color';
|
9
9
|
}
|
10
|
-
declare const ModelIcon: import("react").
|
10
|
+
declare const ModelIcon: import("react").NamedExoticComponent<ModelIconProps>;
|
11
11
|
export default ModelIcon;
|
@@ -12,12 +12,12 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
13
13
|
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
14
|
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 {
|
15
|
+
import { memo, useMemo } from 'react';
|
16
16
|
import { modelMappings } from "../modelConfig";
|
17
17
|
import DefaultAvatar from "./DefaultAvatar";
|
18
18
|
import DefaultIcon from "./DefaultIcon";
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
20
|
-
var ModelIcon = /*#__PURE__*/
|
20
|
+
var ModelIcon = /*#__PURE__*/memo(function (_ref) {
|
21
21
|
var originModel = _ref.model,
|
22
22
|
_ref$size = _ref.size,
|
23
23
|
size = _ref$size === void 0 ? 12 : _ref$size,
|
@@ -46,7 +46,6 @@ var ModelIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
46
46
|
}
|
47
47
|
}, [originModel]);
|
48
48
|
var props = _objectSpread(_objectSpread({
|
49
|
-
ref: ref,
|
50
49
|
size: size
|
51
50
|
}, Render === null || Render === void 0 ? void 0 : Render.props), rest);
|
52
51
|
switch (type) {
|
@@ -92,4 +91,5 @@ var ModelIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
92
91
|
}
|
93
92
|
}
|
94
93
|
});
|
94
|
+
ModelIcon.displayName = 'ModelIcon';
|
95
95
|
export default ModelIcon;
|
@@ -6,5 +6,5 @@ export interface ProviderCombineProps extends Omit<FlexboxProps, 'children' | 'h
|
|
6
6
|
size?: number;
|
7
7
|
type?: 'mono' | 'color';
|
8
8
|
}
|
9
|
-
declare const ProviderCombine: import("react").
|
9
|
+
declare const ProviderCombine: import("react").NamedExoticComponent<ProviderCombineProps>;
|
10
10
|
export default ProviderCombine;
|
@@ -12,12 +12,12 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
13
13
|
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
14
|
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 {
|
15
|
+
import { memo, useMemo } from 'react';
|
16
16
|
import { Flexbox } from 'react-layout-kit';
|
17
17
|
import DefaultIcon from "../ProviderIcon/DefaultIcon";
|
18
18
|
import { providerMappings } from "../providerConfig";
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
20
|
-
var ProviderCombine = /*#__PURE__*/
|
20
|
+
var ProviderCombine = /*#__PURE__*/memo(function (_ref) {
|
21
21
|
var _Render$Icon, _Render$Icon2;
|
22
22
|
var originProvider = _ref.provider,
|
23
23
|
_ref$size = _ref.size,
|
@@ -57,10 +57,10 @@ var ProviderCombine = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
57
57
|
flex: 'none',
|
58
58
|
height: size * 1.5,
|
59
59
|
horizontal: true,
|
60
|
-
ref: ref,
|
61
60
|
width: 'fit-content'
|
62
61
|
}, rest), {}, {
|
63
62
|
children: icon
|
64
63
|
}));
|
65
64
|
});
|
65
|
+
ProviderCombine.displayName = 'ProviderCombine';
|
66
66
|
export default ProviderCombine;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { IconAvatarProps } from '../IconAvatar';
|
3
|
-
declare const DefaultAvatar: import("react").
|
2
|
+
import type { IconAvatarProps } from '../IconAvatar';
|
3
|
+
declare const DefaultAvatar: import("react").NamedExoticComponent<Omit<IconAvatarProps, "Icon">>;
|
4
4
|
export default DefaultAvatar;
|
@@ -5,11 +5,11 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
6
6
|
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); }
|
7
7
|
import { useTheme } from 'antd-style';
|
8
|
-
import {
|
8
|
+
import { memo } from 'react';
|
9
9
|
import { Center } from 'react-layout-kit';
|
10
10
|
import DefaultIcon from "./DefaultIcon";
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
12
|
-
var DefaultAvatar = /*#__PURE__*/
|
12
|
+
var DefaultAvatar = /*#__PURE__*/memo(function (_ref) {
|
13
13
|
var _ref$shape = _ref.shape,
|
14
14
|
shape = _ref$shape === void 0 ? 'circle' : _ref$shape,
|
15
15
|
color = _ref.color,
|
@@ -23,7 +23,6 @@ var DefaultAvatar = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
23
23
|
var theme = useTheme();
|
24
24
|
return /*#__PURE__*/_jsx(Center, {
|
25
25
|
flex: 'none',
|
26
|
-
ref: ref,
|
27
26
|
style: _objectSpread({
|
28
27
|
background: background || theme.colorFillSecondary,
|
29
28
|
borderRadius: shape === 'circle' ? '50%' : Math.floor(size * 0.1),
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
1
|
+
import { type CSSProperties } from 'react';
|
2
2
|
interface DefaultIconProps {
|
3
3
|
className?: string;
|
4
4
|
color?: string;
|
5
5
|
size?: number;
|
6
6
|
style?: CSSProperties;
|
7
7
|
}
|
8
|
-
declare const DefaultIcon: import("react").
|
8
|
+
declare const DefaultIcon: import("react").NamedExoticComponent<DefaultIconProps>;
|
9
9
|
export default DefaultIcon;
|
@@ -10,9 +10,9 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
10
10
|
import { Icon } from '@lobehub/ui';
|
11
11
|
import { useTheme } from 'antd-style';
|
12
12
|
import { Radar } from 'lucide-react';
|
13
|
-
import {
|
13
|
+
import { memo } from 'react';
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
15
|
-
var DefaultIcon = /*#__PURE__*/
|
15
|
+
var DefaultIcon = /*#__PURE__*/memo(function (_ref) {
|
16
16
|
var color = _ref.color,
|
17
17
|
_ref$size = _ref.size,
|
18
18
|
size = _ref$size === void 0 ? 12 : _ref$size,
|
@@ -21,10 +21,7 @@ var DefaultIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
21
21
|
return /*#__PURE__*/_jsx(Icon, _objectSpread({
|
22
22
|
color: color || theme.colorTextDescription,
|
23
23
|
icon: Radar,
|
24
|
-
|
25
|
-
size: {
|
26
|
-
fontSize: size
|
27
|
-
}
|
24
|
+
size: size
|
28
25
|
}, rest));
|
29
26
|
});
|
30
27
|
export default DefaultIcon;
|
@@ -9,5 +9,5 @@ export interface ProviderIconProps {
|
|
9
9
|
style?: CSSProperties;
|
10
10
|
type?: 'avatar' | 'mono' | 'color' | 'combine' | 'combine-color';
|
11
11
|
}
|
12
|
-
declare const ProviderIcon: import("react").
|
12
|
+
declare const ProviderIcon: import("react").NamedExoticComponent<ProviderIconProps>;
|
13
13
|
export default ProviderIcon;
|
@@ -12,13 +12,13 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
13
13
|
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
14
|
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 {
|
15
|
+
import { memo, useMemo } from 'react';
|
16
16
|
import { providerMappings } from "../providerConfig";
|
17
17
|
import { ModelProvider } from "../providerEnum";
|
18
18
|
import DefaultAvatar from "./DefaultAvatar";
|
19
19
|
import DefaultIcon from "./DefaultIcon";
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
21
|
-
var ProviderIcon = /*#__PURE__*/
|
21
|
+
var ProviderIcon = /*#__PURE__*/memo(function (_ref) {
|
22
22
|
var originProvider = _ref.provider,
|
23
23
|
_ref$size = _ref.size,
|
24
24
|
size = _ref$size === void 0 ? 12 : _ref$size,
|
@@ -48,7 +48,6 @@ var ProviderIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
48
48
|
}
|
49
49
|
}, [originProvider]);
|
50
50
|
var props = _objectSpread(_objectSpread({
|
51
|
-
ref: ref,
|
52
51
|
size: size
|
53
52
|
}, Render === null || Render === void 0 ? void 0 : Render.props), rest);
|
54
53
|
switch (type) {
|
@@ -98,4 +97,5 @@ var ProviderIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
98
97
|
}
|
99
98
|
}
|
100
99
|
});
|
100
|
+
ProviderIcon.displayName = 'ProviderIcon';
|
101
101
|
export default ProviderIcon;
|
@@ -40,6 +40,7 @@ import OpenChat from "../OpenChat";
|
|
40
40
|
import OpenRouter from "../OpenRouter";
|
41
41
|
import PaLM from "../PaLM";
|
42
42
|
import Perplexity from "../Perplexity";
|
43
|
+
import Qiniu from "../Qiniu";
|
43
44
|
import Qwen from "../Qwen";
|
44
45
|
import Rwkv from "../Rwkv";
|
45
46
|
import SenseNova from "../SenseNova";
|
@@ -113,6 +114,9 @@ export var modelMappings = [{
|
|
113
114
|
}, {
|
114
115
|
Icon: Moonshot,
|
115
116
|
keywords: ['kimi', 'moonshot']
|
117
|
+
}, {
|
118
|
+
Icon: Qiniu,
|
119
|
+
keywords: ['qiniu']
|
116
120
|
}, {
|
117
121
|
Icon: Qwen,
|
118
122
|
keywords: ['qwen', 'qwq', 'qvq']
|
@@ -53,6 +53,7 @@ import OpenAI from "../OpenAI";
|
|
53
53
|
import OpenRouter from "../OpenRouter";
|
54
54
|
import PPIO from "../PPIO";
|
55
55
|
import Perplexity from "../Perplexity";
|
56
|
+
import Qiniu from "../Qiniu";
|
56
57
|
import Qwen from "../Qwen";
|
57
58
|
import SambaNova from "../SambaNova";
|
58
59
|
import Search1API from "../Search1API";
|
@@ -212,6 +213,10 @@ export var providerMappings = [{
|
|
212
213
|
}, {
|
213
214
|
Icon: Together,
|
214
215
|
keywords: [ModelProvider.TogetherAI]
|
216
|
+
}, {
|
217
|
+
Icon: Qiniu,
|
218
|
+
combineMultiple: 1.1,
|
219
|
+
keywords: [ModelProvider.Qiniu]
|
215
220
|
}, {
|
216
221
|
Icon: Qwen,
|
217
222
|
keywords: [ModelProvider.Qwen]
|
@@ -34,6 +34,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
34
34
|
ModelProvider["OpenRouter"] = "openrouter";
|
35
35
|
ModelProvider["PPIO"] = "ppio";
|
36
36
|
ModelProvider["Perplexity"] = "perplexity";
|
37
|
+
ModelProvider["Qiniu"] = "qiniu";
|
37
38
|
ModelProvider["Qwen"] = "qwen";
|
38
39
|
ModelProvider["SambaNova"] = "sambanova";
|
39
40
|
ModelProvider["Search1API"] = "search1api";
|
package/es/icons.d.ts
CHANGED
@@ -147,6 +147,7 @@ export { default as Poe, type CompoundedIcon as PoeProps } from './Poe';
|
|
147
147
|
export { default as Pollinations, type CompoundedIcon as PollinationsProps } from './Pollinations';
|
148
148
|
export { default as PPIO, type CompoundedIcon as PPIOProps } from './PPIO';
|
149
149
|
export { default as Qingyan, type CompoundedIcon as QingyanProps } from './Qingyan';
|
150
|
+
export { default as Qiniu, type CompoundedIcon as QiniuProps } from './Qiniu';
|
150
151
|
export { default as Qwen, type CompoundedIcon as QwenProps } from './Qwen';
|
151
152
|
export { default as Railway, type CompoundedIcon as RailwayProps } from './Railway';
|
152
153
|
export { default as Recraft, type CompoundedIcon as RecraftProps } from './Recraft';
|
package/es/icons.js
CHANGED
@@ -147,6 +147,7 @@ export { default as Poe } from "./Poe";
|
|
147
147
|
export { default as Pollinations } from "./Pollinations";
|
148
148
|
export { default as PPIO } from "./PPIO";
|
149
149
|
export { default as Qingyan } from "./Qingyan";
|
150
|
+
export { default as Qiniu } from "./Qiniu";
|
150
151
|
export { default as Qwen } from "./Qwen";
|
151
152
|
export { default as Railway } from "./Railway";
|
152
153
|
export { default as Recraft } from "./Recraft";
|
package/es/toc.js
CHANGED
@@ -2702,6 +2702,24 @@ var toc = [{
|
|
2702
2702
|
"hasTextColor": false
|
2703
2703
|
},
|
2704
2704
|
"title": "Qingyan"
|
2705
|
+
}, {
|
2706
|
+
"color": "#06AEEF",
|
2707
|
+
"desc": "https://qiniu.com",
|
2708
|
+
"docsUrl": "qiniu",
|
2709
|
+
"fullTitle": "Qiniu (七牛云)",
|
2710
|
+
"group": "provider",
|
2711
|
+
"id": "Qiniu",
|
2712
|
+
"param": {
|
2713
|
+
"hasAvatar": true,
|
2714
|
+
"hasBrand": false,
|
2715
|
+
"hasBrandColor": false,
|
2716
|
+
"hasColor": true,
|
2717
|
+
"hasCombine": true,
|
2718
|
+
"hasText": true,
|
2719
|
+
"hasTextCn": false,
|
2720
|
+
"hasTextColor": false
|
2721
|
+
},
|
2722
|
+
"title": "Qiniu"
|
2705
2723
|
}, {
|
2706
2724
|
"color": "#615ced",
|
2707
2725
|
"colorGradient": "linear-gradient(to right, #00055F, #6F69F7)",
|