@lobehub/icons 2.2.0 → 2.2.1
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 +35 -14
- package/package.json +1 -1
@@ -4,7 +4,8 @@ var _excluded = ["size", "type"],
|
|
4
4
|
_excluded3 = ["size", "type"],
|
5
5
|
_excluded4 = ["size", "type"],
|
6
6
|
_excluded5 = ["size", "type"],
|
7
|
-
_excluded6 = ["size", "type"]
|
7
|
+
_excluded6 = ["size", "type"],
|
8
|
+
_excluded7 = ["size", "type"];
|
8
9
|
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
10
|
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
11
|
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; }
|
@@ -16,6 +17,7 @@ import { memo } from 'react';
|
|
16
17
|
import Ai21 from "../Ai21";
|
17
18
|
import Ai360 from "../Ai360";
|
18
19
|
import AiMass from "../AiMass";
|
20
|
+
import AlibabaCloud from "../AlibabaCloud";
|
19
21
|
import Anthropic from "../Anthropic";
|
20
22
|
import Aws from "../Aws";
|
21
23
|
import Azure from "../Azure";
|
@@ -219,7 +221,26 @@ export var providerMappings = [{
|
|
219
221
|
combineMultiple: 1.1,
|
220
222
|
keywords: [ModelProvider.Qiniu]
|
221
223
|
}, {
|
222
|
-
|
224
|
+
Combine: /*#__PURE__*/memo(function (_ref5) {
|
225
|
+
var _ref5$size = _ref5.size,
|
226
|
+
size = _ref5$size === void 0 ? 24 : _ref5$size,
|
227
|
+
_ref5$type = _ref5.type,
|
228
|
+
type = _ref5$type === void 0 ? 'color' : _ref5$type,
|
229
|
+
props = _objectWithoutProperties(_ref5, _excluded5);
|
230
|
+
return /*#__PURE__*/_jsx(Combine, _objectSpread({
|
231
|
+
left: /*#__PURE__*/_jsx(AlibabaCloud.Combine, {
|
232
|
+
size: size,
|
233
|
+
type: type
|
234
|
+
}),
|
235
|
+
right: /*#__PURE__*/_jsx(Qwen.Combine, {
|
236
|
+
size: size,
|
237
|
+
type: type
|
238
|
+
}),
|
239
|
+
size: size
|
240
|
+
}, props));
|
241
|
+
}),
|
242
|
+
Icon: AlibabaCloud,
|
243
|
+
combineMultiple: 1.1,
|
223
244
|
keywords: [ModelProvider.Qwen]
|
224
245
|
}, {
|
225
246
|
Icon: Stepfun,
|
@@ -274,12 +295,12 @@ export var providerMappings = [{
|
|
274
295
|
Icon: TencentCloud,
|
275
296
|
keywords: [ModelProvider.TencentCloud]
|
276
297
|
}, {
|
277
|
-
Combine: /*#__PURE__*/memo(function (
|
278
|
-
var
|
279
|
-
size =
|
280
|
-
|
281
|
-
type =
|
282
|
-
props = _objectWithoutProperties(
|
298
|
+
Combine: /*#__PURE__*/memo(function (_ref6) {
|
299
|
+
var _ref6$size = _ref6.size,
|
300
|
+
size = _ref6$size === void 0 ? 24 : _ref6$size,
|
301
|
+
_ref6$type = _ref6.type,
|
302
|
+
type = _ref6$type === void 0 ? 'color' : _ref6$type,
|
303
|
+
props = _objectWithoutProperties(_ref6, _excluded6);
|
283
304
|
return /*#__PURE__*/_jsx(Combine, _objectSpread({
|
284
305
|
left: /*#__PURE__*/_jsx(BaiduCloud.Combine, {
|
285
306
|
size: size * 0.9,
|
@@ -311,12 +332,12 @@ export var providerMappings = [{
|
|
311
332
|
combineMultiple: 0.85,
|
312
333
|
keywords: [ModelProvider.XAI]
|
313
334
|
}, {
|
314
|
-
Combine: /*#__PURE__*/memo(function (
|
315
|
-
var
|
316
|
-
size =
|
317
|
-
|
318
|
-
type =
|
319
|
-
props = _objectWithoutProperties(
|
335
|
+
Combine: /*#__PURE__*/memo(function (_ref7) {
|
336
|
+
var _ref7$size = _ref7.size,
|
337
|
+
size = _ref7$size === void 0 ? 24 : _ref7$size,
|
338
|
+
_ref7$type = _ref7.type,
|
339
|
+
type = _ref7$type === void 0 ? 'color' : _ref7$type,
|
340
|
+
props = _objectWithoutProperties(_ref7, _excluded7);
|
320
341
|
return /*#__PURE__*/_jsx(Combine, _objectSpread({
|
321
342
|
left: /*#__PURE__*/_jsx(Cloudflare.Combine, {
|
322
343
|
size: size * 1.1,
|