@lobehub/icons 1.35.2 → 1.35.3
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/features/providerConfig.js +17 -16
- package/package.json +1 -1
@@ -11,6 +11,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
11
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); }
|
12
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; }
|
13
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; }
|
14
|
+
import { memo } from 'react';
|
14
15
|
import Ai21 from "../Ai21";
|
15
16
|
import Ai360 from "../Ai360";
|
16
17
|
import AiMass from "../AiMass";
|
@@ -49,7 +50,7 @@ import Upstage from "../Upstage";
|
|
49
50
|
import Wenxin from "../Wenxin";
|
50
51
|
import ZeroOne from "../ZeroOne";
|
51
52
|
import Zhipu from "../Zhipu";
|
52
|
-
import
|
53
|
+
import Combine from "./ProviderCombine/Combine";
|
53
54
|
import { ModelProvider } from "./providerEnum";
|
54
55
|
import { jsx as _jsx } from "react/jsx-runtime";
|
55
56
|
export var providerMappings = [{
|
@@ -60,13 +61,13 @@ export var providerMappings = [{
|
|
60
61
|
combineMultiple: 1.25,
|
61
62
|
keywords: [ModelProvider.ZhiPu]
|
62
63
|
}, {
|
63
|
-
Combine: function
|
64
|
+
Combine: /*#__PURE__*/memo(function (_ref) {
|
64
65
|
var _ref$size = _ref.size,
|
65
66
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
66
67
|
_ref$type = _ref.type,
|
67
68
|
type = _ref$type === void 0 ? 'color' : _ref$type,
|
68
69
|
props = _objectWithoutProperties(_ref, _excluded);
|
69
|
-
return /*#__PURE__*/_jsx(
|
70
|
+
return /*#__PURE__*/_jsx(Combine, _objectSpread({
|
70
71
|
left: type === 'color' ? /*#__PURE__*/_jsx(Aws.Color, {
|
71
72
|
size: size * 1.2
|
72
73
|
}) : /*#__PURE__*/_jsx(Aws, {
|
@@ -78,7 +79,7 @@ export var providerMappings = [{
|
|
78
79
|
}),
|
79
80
|
size: size
|
80
81
|
}, props));
|
81
|
-
},
|
82
|
+
}),
|
82
83
|
Icon: Bedrock,
|
83
84
|
combineMultiple: 1.1,
|
84
85
|
keywords: [ModelProvider.Bedrock]
|
@@ -87,13 +88,13 @@ export var providerMappings = [{
|
|
87
88
|
combineMultiple: 1.16,
|
88
89
|
keywords: [ModelProvider.DeepSeek]
|
89
90
|
}, {
|
90
|
-
Combine: function
|
91
|
+
Combine: /*#__PURE__*/memo(function (_ref2) {
|
91
92
|
var _ref2$size = _ref2.size,
|
92
93
|
size = _ref2$size === void 0 ? 24 : _ref2$size,
|
93
94
|
_ref2$type = _ref2.type,
|
94
95
|
type = _ref2$type === void 0 ? 'color' : _ref2$type,
|
95
96
|
props = _objectWithoutProperties(_ref2, _excluded2);
|
96
|
-
return /*#__PURE__*/_jsx(
|
97
|
+
return /*#__PURE__*/_jsx(Combine, _objectSpread({
|
97
98
|
left: type === 'color' ? /*#__PURE__*/_jsx(Google.BrandColor, {
|
98
99
|
size: size * 0.95
|
99
100
|
}) : /*#__PURE__*/_jsx(Google.Brand, {
|
@@ -105,18 +106,18 @@ export var providerMappings = [{
|
|
105
106
|
}),
|
106
107
|
size: size
|
107
108
|
}, props));
|
108
|
-
},
|
109
|
+
}),
|
109
110
|
Icon: Google,
|
110
111
|
combineMultiple: 0.92,
|
111
112
|
keywords: [ModelProvider.Google]
|
112
113
|
}, {
|
113
|
-
Combine: function
|
114
|
+
Combine: /*#__PURE__*/memo(function (_ref3) {
|
114
115
|
var _ref3$size = _ref3.size,
|
115
116
|
size = _ref3$size === void 0 ? 24 : _ref3$size,
|
116
117
|
_ref3$type = _ref3.type,
|
117
118
|
type = _ref3$type === void 0 ? 'color' : _ref3$type,
|
118
119
|
props = _objectWithoutProperties(_ref3, _excluded3);
|
119
|
-
return /*#__PURE__*/_jsx(
|
120
|
+
return /*#__PURE__*/_jsx(Combine, _objectSpread({
|
120
121
|
left: /*#__PURE__*/_jsx(Azure.Combine, {
|
121
122
|
size: size * 0.92,
|
122
123
|
type: type
|
@@ -126,7 +127,7 @@ export var providerMappings = [{
|
|
126
127
|
}),
|
127
128
|
size: size
|
128
129
|
}, props));
|
129
|
-
},
|
130
|
+
}),
|
130
131
|
Icon: Azure,
|
131
132
|
keywords: [ModelProvider.Azure]
|
132
133
|
}, {
|
@@ -155,13 +156,13 @@ export var providerMappings = [{
|
|
155
156
|
combineMultiple: 1.08,
|
156
157
|
keywords: [ModelProvider.Mistral]
|
157
158
|
}, {
|
158
|
-
Combine: function
|
159
|
+
Combine: /*#__PURE__*/memo(function (_ref4) {
|
159
160
|
var _ref4$size = _ref4.size,
|
160
161
|
size = _ref4$size === void 0 ? 24 : _ref4$size,
|
161
162
|
_ref4$type = _ref4.type,
|
162
163
|
type = _ref4$type === void 0 ? 'color' : _ref4$type,
|
163
164
|
props = _objectWithoutProperties(_ref4, _excluded4);
|
164
|
-
return /*#__PURE__*/_jsx(
|
165
|
+
return /*#__PURE__*/_jsx(Combine, _objectSpread({
|
165
166
|
left: /*#__PURE__*/_jsx(Anthropic.Text, {
|
166
167
|
size: size * 0.75
|
167
168
|
}),
|
@@ -171,7 +172,7 @@ export var providerMappings = [{
|
|
171
172
|
}),
|
172
173
|
size: size
|
173
174
|
}, props));
|
174
|
-
},
|
175
|
+
}),
|
175
176
|
Icon: Anthropic,
|
176
177
|
combineMultiple: 0.83,
|
177
178
|
keywords: [ModelProvider.Anthropic]
|
@@ -239,13 +240,13 @@ export var providerMappings = [{
|
|
239
240
|
Icon: Hunyuan,
|
240
241
|
keywords: [ModelProvider.Hunyuan]
|
241
242
|
}, {
|
242
|
-
Combine: function
|
243
|
+
Combine: /*#__PURE__*/memo(function (_ref5) {
|
243
244
|
var _ref5$size = _ref5.size,
|
244
245
|
size = _ref5$size === void 0 ? 24 : _ref5$size,
|
245
246
|
_ref5$type = _ref5.type,
|
246
247
|
type = _ref5$type === void 0 ? 'color' : _ref5$type,
|
247
248
|
props = _objectWithoutProperties(_ref5, _excluded5);
|
248
|
-
return /*#__PURE__*/_jsx(
|
249
|
+
return /*#__PURE__*/_jsx(Combine, _objectSpread({
|
249
250
|
left: /*#__PURE__*/_jsx(BaiduCloud.Combine, {
|
250
251
|
size: size * 0.9,
|
251
252
|
type: type
|
@@ -257,7 +258,7 @@ export var providerMappings = [{
|
|
257
258
|
}, props)),
|
258
259
|
size: size
|
259
260
|
}, props));
|
260
|
-
},
|
261
|
+
}),
|
261
262
|
Icon: Wenxin,
|
262
263
|
keywords: [ModelProvider.Wenxin]
|
263
264
|
}, {
|