@lobehub/icons 5.0.0 → 5.1.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 +112 -111
- package/es/AgentVoice/components/Avatar.d.ts +5 -0
- package/es/AgentVoice/components/Avatar.js +25 -0
- package/es/AgentVoice/components/Color.js +39 -0
- package/es/AgentVoice/components/Combine.d.ts +7 -0
- package/es/AgentVoice/components/Combine.js +32 -0
- package/es/AgentVoice/components/Mono.js +40 -0
- package/es/AgentVoice/components/Text.d.ts +3 -0
- package/es/AgentVoice/components/Text.js +40 -0
- package/es/AgentVoice/index.d.ts +15 -0
- package/es/AgentVoice/index.js +14 -0
- package/es/AgentVoice/style.d.ts +7 -0
- package/es/AgentVoice/style.js +9 -0
- package/es/Apertis/components/Avatar.d.ts +5 -0
- package/es/Apertis/components/Avatar.js +25 -0
- package/es/Apertis/components/Color.d.ts +3 -0
- package/es/Apertis/components/Color.js +136 -0
- package/es/Apertis/components/Combine.d.ts +7 -0
- package/es/Apertis/components/Combine.js +32 -0
- package/es/Apertis/components/Mono.d.ts +3 -0
- package/es/Apertis/components/Mono.js +49 -0
- package/es/Apertis/components/Text.d.ts +3 -0
- package/es/Apertis/components/Text.js +39 -0
- package/es/Apertis/index.d.ts +15 -0
- package/es/Apertis/index.js +14 -0
- package/es/Apertis/style.d.ts +7 -0
- package/es/Apertis/style.js +9 -0
- package/es/AskVerdict/components/Avatar.d.ts +5 -0
- package/es/AskVerdict/components/Avatar.js +25 -0
- package/es/AskVerdict/components/Color.d.ts +3 -0
- package/es/AskVerdict/components/Color.js +77 -0
- package/es/AskVerdict/components/Combine.d.ts +7 -0
- package/es/AskVerdict/components/Combine.js +32 -0
- package/es/AskVerdict/components/Mono.d.ts +3 -0
- package/es/AskVerdict/components/Mono.js +52 -0
- package/es/AskVerdict/components/Text.d.ts +3 -0
- package/es/AskVerdict/components/Text.js +39 -0
- package/es/AskVerdict/index.d.ts +15 -0
- package/es/AskVerdict/index.js +14 -0
- package/es/AskVerdict/style.d.ts +7 -0
- package/es/AskVerdict/style.js +9 -0
- package/es/LangChain/components/Color.js +2 -7
- package/es/LangChain/components/Mono.js +1 -4
- package/es/LangChain/components/Text.js +2 -10
- package/es/LangChain/style.d.ts +5 -5
- package/es/LangChain/style.js +5 -5
- package/es/LlmApi/components/Avatar.d.ts +5 -0
- package/es/LlmApi/components/Avatar.js +25 -0
- package/es/LlmApi/components/Color.d.ts +3 -0
- package/es/LlmApi/components/Color.js +58 -0
- package/es/LlmApi/components/Combine.d.ts +7 -0
- package/es/LlmApi/components/Combine.js +32 -0
- package/es/LlmApi/components/Mono.d.ts +3 -0
- package/es/LlmApi/components/Mono.js +43 -0
- package/es/LlmApi/components/Text.d.ts +3 -0
- package/es/LlmApi/components/Text.js +40 -0
- package/es/LlmApi/index.d.ts +15 -0
- package/es/LlmApi/index.js +14 -0
- package/es/LlmApi/style.d.ts +7 -0
- package/es/LlmApi/style.js +7 -0
- package/es/Qoder/components/Avatar.d.ts +5 -0
- package/es/Qoder/components/Avatar.js +25 -0
- package/es/Qoder/components/Color.d.ts +3 -0
- package/es/Qoder/components/Color.js +42 -0
- package/es/Qoder/components/Combine.d.ts +7 -0
- package/es/Qoder/components/Combine.js +32 -0
- package/es/Qoder/components/Mono.d.ts +3 -0
- package/es/Qoder/components/Mono.js +43 -0
- package/es/Qoder/components/Text.d.ts +3 -0
- package/es/Qoder/components/Text.js +39 -0
- package/es/Qoder/index.d.ts +15 -0
- package/es/Qoder/index.js +14 -0
- package/es/Qoder/style.d.ts +7 -0
- package/es/Qoder/style.js +7 -0
- package/es/Together/components/Avatar.js +2 -2
- package/es/Together/components/Color.js +8 -9
- package/es/Together/components/Mono.js +5 -6
- package/es/Together/components/Text.js +14 -5
- package/es/Together/index.d.ts +0 -4
- package/es/Together/index.js +0 -4
- package/es/Together/style.d.ts +3 -3
- package/es/Together/style.js +2 -2
- package/es/Xpay/components/Avatar.d.ts +5 -0
- package/es/Xpay/components/Avatar.js +25 -0
- package/es/Xpay/components/Color.d.ts +3 -0
- package/es/Xpay/components/Color.js +45 -0
- package/es/Xpay/components/Combine.d.ts +7 -0
- package/es/Xpay/components/Combine.js +32 -0
- package/es/Xpay/components/Mono.d.ts +3 -0
- package/es/Xpay/components/Mono.js +44 -0
- package/es/Xpay/components/Text.d.ts +3 -0
- package/es/Xpay/components/Text.js +39 -0
- package/es/Xpay/index.d.ts +15 -0
- package/es/Xpay/index.js +14 -0
- package/es/Xpay/style.d.ts +7 -0
- package/es/Xpay/style.js +9 -0
- package/es/features/providerConfig.js +14 -5
- package/es/features/providerEnum.d.ts +7 -0
- package/es/features/providerEnum.js +7 -0
- package/es/icons.d.ts +6 -0
- package/es/icons.js +6 -0
- package/es/toc.js +112 -4
- package/package.json +2 -2
- package/es/Together/components/BrandColor.js +0 -42
- package/es/Together/components/BrandMono.js +0 -41
- /package/es/{Together/components/BrandColor.d.ts → AgentVoice/components/Color.d.ts} +0 -0
- /package/es/{Together/components/BrandMono.d.ts → AgentVoice/components/Mono.d.ts} +0 -0
package/es/Together/index.d.ts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import Avatar from './components/Avatar';
|
|
2
|
-
import BrandColor from './components/BrandColor';
|
|
3
|
-
import BrandMono from './components/BrandMono';
|
|
4
2
|
import Color from './components/Color';
|
|
5
3
|
import Combine from './components/Combine';
|
|
6
4
|
import Mono from './components/Mono';
|
|
7
5
|
import Text from './components/Text';
|
|
8
6
|
export type CompoundedIcon = typeof Mono & {
|
|
9
7
|
Avatar: typeof Avatar;
|
|
10
|
-
Brand: typeof BrandMono;
|
|
11
|
-
BrandColor: typeof BrandColor;
|
|
12
8
|
Color: typeof Color;
|
|
13
9
|
Combine: typeof Combine;
|
|
14
10
|
Text: typeof Text;
|
package/es/Together/index.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import Avatar from "./components/Avatar";
|
|
2
|
-
import BrandColor from "./components/BrandColor";
|
|
3
|
-
import BrandMono from "./components/BrandMono";
|
|
4
2
|
import Color from "./components/Color";
|
|
5
3
|
import Combine from "./components/Combine";
|
|
6
4
|
import Mono from "./components/Mono";
|
|
@@ -11,8 +9,6 @@ Icons.Color = Color;
|
|
|
11
9
|
Icons.Text = Text;
|
|
12
10
|
Icons.Combine = Combine;
|
|
13
11
|
Icons.Avatar = Avatar;
|
|
14
|
-
Icons.Brand = BrandMono;
|
|
15
|
-
Icons.BrandColor = BrandColor;
|
|
16
12
|
Icons.colorPrimary = COLOR_PRIMARY;
|
|
17
13
|
Icons.title = TITLE;
|
|
18
14
|
export default Icons;
|
package/es/Together/style.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const TITLE = "together.ai";
|
|
2
2
|
export declare const COMBINE_TEXT_MULTIPLE = 0.85;
|
|
3
3
|
export declare const COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
-
export declare const COLOR_PRIMARY = "#
|
|
5
|
-
export declare const AVATAR_BACKGROUND = "#
|
|
6
|
-
export declare const AVATAR_COLOR = "#
|
|
4
|
+
export declare const COLOR_PRIMARY = "#fff";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#fff";
|
|
6
|
+
export declare const AVATAR_COLOR = "#000";
|
|
7
7
|
export declare const AVATAR_ICON_MULTIPLE = 0.75;
|
package/es/Together/style.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export var TITLE = 'together.ai';
|
|
2
2
|
export var COMBINE_TEXT_MULTIPLE = 0.85;
|
|
3
3
|
export var COMBINE_SPACE_MULTIPLE = 0.2;
|
|
4
|
-
export var COLOR_PRIMARY = '#
|
|
4
|
+
export var COLOR_PRIMARY = '#fff';
|
|
5
5
|
|
|
6
6
|
// Avatar constants
|
|
7
7
|
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
|
8
|
-
export var AVATAR_COLOR = '#
|
|
8
|
+
export var AVATAR_COLOR = '#000';
|
|
9
9
|
export var AVATAR_ICON_MULTIPLE = 0.75;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
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
|
+
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
|
+
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
|
+
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
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
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); }
|
|
9
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
10
|
+
import { memo } from 'react';
|
|
11
|
+
import IconAvatar from "../../features/IconAvatar";
|
|
12
|
+
import { AVATAR_BACKGROUND, AVATAR_COLOR, AVATAR_ICON_MULTIPLE, TITLE } from "../style";
|
|
13
|
+
import Color from "./Color";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
|
16
|
+
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
17
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
|
18
|
+
Icon: Color,
|
|
19
|
+
"aria-label": TITLE,
|
|
20
|
+
background: AVATAR_BACKGROUND,
|
|
21
|
+
color: AVATAR_COLOR,
|
|
22
|
+
iconMultiple: AVATAR_ICON_MULTIPLE
|
|
23
|
+
}, rest));
|
|
24
|
+
});
|
|
25
|
+
export default Avatar;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
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 = ["size", "style"];
|
|
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
|
+
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
|
+
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; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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; }
|
|
12
|
+
import { memo } from 'react';
|
|
13
|
+
import { TITLE } from "../style";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
17
|
+
var _ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
19
|
+
style = _ref.style,
|
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
height: size,
|
|
24
|
+
style: _objectSpread({
|
|
25
|
+
flex: 'none',
|
|
26
|
+
lineHeight: 1
|
|
27
|
+
}, style),
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
width: size,
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
31
|
+
}, rest), {}, {
|
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
33
|
+
children: TITLE
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
d: "M8.041 2.045v1.76a.024.024 0 01-.024.024c-.44-.003-.841-.001-1.202.005-.739.013-1.476.277-1.926.884-.246.332-.32.764-.32 1.22l.001 2.348c.01.75-.018 1.283-.084 1.599a3.896 3.896 0 01-1.275 2.183.02.02 0 000 .015c0 .002.002.004.004.006.916.927 1.345 2.262 1.35 3.548.005 1.185.006 2.274.003 3.266 0 .338.054.681.237 1.026.23.431.756.758 1.2.889.607.18 1.274.142 2.016.134a.02.02 0 01.014.006.02.02 0 01.006.014v1.768a.023.023 0 01-.023.024c-.582-.007-1.346.044-1.935-.053-.844-.138-1.56-.468-2.146-.988-.78-.694-1.177-1.586-1.19-2.674a173.556 173.556 0 01-.006-3.368c.01-1.182-.579-2.848-2.06-2.772-.035.001-.25 0-.648-.004A.034.034 0 010 12.871v-1.754c0-.009.004-.017.01-.024a.034.034 0 01.024-.01c.673.002 1.188.056 1.675-.197.495-.258.839-.77.972-1.307.047-.188.067-.478.061-.871-.01-.74-.008-1.733.005-2.98.013-1.193.494-2.152 1.445-2.878a3.853 3.853 0 011.478-.692c.778-.181 1.36-.162 2.333-.152a.039.039 0 01.038.039zM16 22.726v-1.74c0-.01.004-.018.01-.025a.036.036 0 01.026-.01c.53.005 1.034.023 1.535-.058.549-.088 1.068-.351 1.403-.76.233-.286.355-.649.365-1.09l.02-3.45c.005-1.006.26-1.93.764-2.77.11-.185.299-.427.567-.727a.032.032 0 00-.003-.045 3.902 3.902 0 01-1.249-2.142c-.068-.32-.099-.831-.093-1.534.007-.801.008-1.601.005-2.4-.002-.473-.058-.877-.318-1.253-.43-.62-1.24-.887-1.987-.891l-1.012-.005A.034.034 0 0116 3.792V2.038a.031.031 0 01.02-.029 5.412 5.412 0 012.608.258c.5.163.957.433 1.372.809.762.691 1.153 1.57 1.173 2.635.005.307.007 1.423.005 3.348 0 .728.386 1.513 1.061 1.84.24.117.5.176.778.18a48.113 48.113 0 001.012.004.02.02 0 01.006.005.02.02 0 01.006.014v1.785a.022.022 0 01-.021.021c-.2-.003-.511-.003-.932 0-.533.004-.953.22-1.262.65-.25.347-.437.777-.563 1.29-.066.27-.095.74-.085 1.412.004.345.003 1.259-.004 2.74-.006 1.24-.497 2.222-1.474 2.946-.628.466-1.373.735-2.234.807-.186.015-.664.017-1.434.005a.032.032 0 01-.023-.01.032.032 0 01-.009-.022z",
|
|
36
|
+
fill: "#00DC9C"
|
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
+
d: "M10 13.821c.005 0 .01-.004.016-.011l3.073-3.789a.055.055 0 01.042-.02h1.859a.01.01 0 01.005.002.01.01 0 01.004.005.01.01 0 01-.001.01l-4.035 4.969c-.002.003-.004.007-.004.013 0 .006.002.01.004.014l4.033 4.97a.01.01 0 01.002.005v.005a.01.01 0 01-.004.004.01.01 0 01-.006.002H13.13a.054.054 0 01-.042-.02 4418.41 4418.41 0 01-3.073-3.79c-.006-.008-.01-.011-.015-.011-.004 0-.01.003-.016.01a3639.522 3639.522 0 01-3.073 3.79.055.055 0 01-.042.02H5.01a.01.01 0 01-.009-.007.01.01 0 01.001-.01l4.035-4.969c.003-.003.004-.007.004-.014 0-.005-.001-.01-.004-.013l-4.033-4.97a.01.01 0 01-.002-.005.01.01 0 01.005-.01.01.01 0 01.005-.001h1.859a.055.055 0 01.042.02l3.072 3.79c.006.007.011.011.016.011z"
|
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
40
|
+
d: "M15.002 4c.016 0 .026.018.03.054.042.388.098.748.17 1.08.088.41.228.848.523 1.142.294.295.731.437 1.141.525.332.071.692.128 1.08.17.036.005.054.015.054.031s-.018.026-.055.03c-.387.042-.747.099-1.08.17-.41.087-.846.228-1.141.523-.296.294-.437.731-.525 1.141-.071.332-.128.692-.17 1.08-.005.036-.015.054-.031.054s-.026-.018-.03-.055a10.61 10.61 0 00-.17-1.08c-.088-.41-.228-.847-.523-1.141-.294-.295-.731-.437-1.141-.525a10.528 10.528 0 00-1.08-.17c-.036-.005-.054-.015-.054-.031s.018-.026.055-.03c.388-.042.747-.099 1.08-.17.41-.087.847-.228 1.141-.523.296-.294.437-.731.525-1.141.072-.332.128-.692.17-1.08.005-.036.015-.054.031-.054z",
|
|
41
|
+
fill: "#FFB400"
|
|
42
|
+
})]
|
|
43
|
+
}));
|
|
44
|
+
});
|
|
45
|
+
export default Icon;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IconCombineProps } from "../../features/IconCombine";
|
|
3
|
+
export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
|
|
4
|
+
type?: 'color' | 'mono';
|
|
5
|
+
}
|
|
6
|
+
declare const Combine: import("react").NamedExoticComponent<CombineProps>;
|
|
7
|
+
export default Combine;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
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 = ["type"];
|
|
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
|
+
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
|
+
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; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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; }
|
|
12
|
+
import { memo } from 'react';
|
|
13
|
+
import IconCombine from "../../features/IconCombine";
|
|
14
|
+
import { COMBINE_SPACE_MULTIPLE, COMBINE_TEXT_MULTIPLE, TITLE } from "../style";
|
|
15
|
+
import Color from "./Color";
|
|
16
|
+
import Mono from "./Mono";
|
|
17
|
+
import Text from "./Text";
|
|
18
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
+
var Combine = /*#__PURE__*/memo(function (_ref) {
|
|
20
|
+
var _ref$type = _ref.type,
|
|
21
|
+
type = _ref$type === void 0 ? 'mono' : _ref$type,
|
|
22
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
23
|
+
var Icon = type === 'color' ? Color : Mono;
|
|
24
|
+
return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
|
|
25
|
+
Icon: Icon,
|
|
26
|
+
Text: Text,
|
|
27
|
+
"aria-label": TITLE,
|
|
28
|
+
spaceMultiple: COMBINE_SPACE_MULTIPLE,
|
|
29
|
+
textMultiple: COMBINE_TEXT_MULTIPLE
|
|
30
|
+
}, rest));
|
|
31
|
+
});
|
|
32
|
+
export default Combine;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
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 = ["size", "style"];
|
|
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
|
+
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
|
+
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; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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; }
|
|
12
|
+
import { memo } from 'react';
|
|
13
|
+
import { TITLE } from "../style";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
17
|
+
var _ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
19
|
+
style = _ref.style,
|
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
height: size,
|
|
25
|
+
style: _objectSpread({
|
|
26
|
+
flex: 'none',
|
|
27
|
+
lineHeight: 1
|
|
28
|
+
}, style),
|
|
29
|
+
viewBox: "0 0 24 24",
|
|
30
|
+
width: size,
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
32
|
+
}, rest), {}, {
|
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
34
|
+
children: TITLE
|
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
36
|
+
d: "M8.041 2.045v1.76a.024.024 0 01-.024.024c-.44-.003-.841-.001-1.202.005-.739.013-1.476.277-1.926.884-.246.332-.32.764-.32 1.22l.001 2.348c.01.75-.018 1.283-.084 1.599a3.896 3.896 0 01-1.275 2.183.02.02 0 000 .015c0 .002.002.004.004.006.916.927 1.345 2.262 1.35 3.548.005 1.185.006 2.274.003 3.266 0 .338.054.681.237 1.026.23.431.756.758 1.2.889.607.18 1.274.142 2.016.134a.02.02 0 01.014.006.02.02 0 01.006.014v1.768a.023.023 0 01-.023.024c-.582-.007-1.346.044-1.935-.053-.844-.138-1.56-.468-2.146-.988-.78-.694-1.177-1.586-1.19-2.674a173.556 173.556 0 01-.006-3.368c.01-1.182-.579-2.848-2.06-2.772-.035.001-.25 0-.648-.004A.034.034 0 010 12.871v-1.754c0-.009.004-.017.01-.024a.034.034 0 01.024-.01c.673.002 1.188.056 1.675-.197.495-.258.839-.77.972-1.307.047-.188.067-.478.061-.871-.01-.74-.008-1.733.005-2.98.013-1.193.494-2.152 1.445-2.878a3.853 3.853 0 011.478-.692c.778-.181 1.36-.162 2.333-.152a.039.039 0 01.038.039zM16 22.726v-1.74c0-.01.004-.018.01-.025a.036.036 0 01.026-.01c.53.005 1.034.023 1.535-.058.549-.088 1.068-.351 1.403-.76.233-.286.355-.649.365-1.09l.02-3.45c.005-1.006.26-1.93.764-2.77.11-.185.299-.427.567-.727a.032.032 0 00-.003-.045 3.902 3.902 0 01-1.249-2.142c-.068-.32-.099-.831-.093-1.534.007-.801.008-1.601.005-2.4-.002-.473-.058-.877-.318-1.253-.43-.62-1.24-.887-1.987-.891l-1.012-.005A.034.034 0 0116 3.792V2.038a.031.031 0 01.02-.029 5.412 5.412 0 012.608.258c.5.163.957.433 1.372.809.762.691 1.153 1.57 1.173 2.635.005.307.007 1.423.005 3.348 0 .728.386 1.513 1.061 1.84.24.117.5.176.778.18a48.113 48.113 0 001.012.004.02.02 0 01.006.005.02.02 0 01.006.014v1.785a.022.022 0 01-.021.021c-.2-.003-.511-.003-.932 0-.533.004-.953.22-1.262.65-.25.347-.437.777-.563 1.29-.066.27-.095.74-.085 1.412.004.345.003 1.259-.004 2.74-.006 1.24-.497 2.222-1.474 2.946-.628.466-1.373.735-2.234.807-.186.015-.664.017-1.434.005a.032.032 0 01-.023-.01.032.032 0 01-.009-.022z"
|
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
38
|
+
d: "M10 13.821c.005 0 .01-.004.016-.011l3.073-3.789a.055.055 0 01.042-.02h1.859a.01.01 0 01.005.002.01.01 0 01.004.005.01.01 0 01-.001.01l-4.035 4.969c-.002.003-.004.007-.004.013 0 .006.002.01.004.014l4.033 4.97a.01.01 0 01.002.005v.005a.01.01 0 01-.004.004.01.01 0 01-.006.002H13.13a.054.054 0 01-.042-.02 4418.41 4418.41 0 01-3.073-3.79c-.006-.008-.01-.011-.015-.011-.004 0-.01.003-.016.01a3639.522 3639.522 0 01-3.073 3.79.055.055 0 01-.042.02H5.01a.01.01 0 01-.009-.007.01.01 0 01.001-.01l4.035-4.969c.003-.003.004-.007.004-.014 0-.005-.001-.01-.004-.013l-4.033-4.97a.01.01 0 01-.002-.005.01.01 0 01.005-.01.01.01 0 01.005-.001h1.859a.055.055 0 01.042.02l3.072 3.79c.006.007.011.011.016.011z"
|
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
40
|
+
d: "M15.002 4c.016 0 .026.018.03.054.042.388.098.748.17 1.08.088.41.228.848.523 1.142.294.295.731.437 1.141.525.332.071.692.128 1.08.17.036.005.054.015.054.031s-.018.026-.055.03c-.387.042-.747.099-1.08.17-.41.087-.846.228-1.141.523-.296.294-.437.731-.525 1.141-.071.332-.128.692-.17 1.08-.005.036-.015.054-.031.054s-.026-.018-.03-.055a10.61 10.61 0 00-.17-1.08c-.088-.41-.228-.847-.523-1.141-.294-.295-.731-.437-1.141-.525a10.528 10.528 0 00-1.08-.17c-.036-.005-.054-.015-.054-.031s.018-.026.055-.03c.388-.042.747-.099 1.08-.17.41-.087.847-.228 1.141-.523.296-.294.437-.731.525-1.141.072-.332.128-.692.17-1.08.005-.036.015-.054.031-.054z"
|
|
41
|
+
})]
|
|
42
|
+
}));
|
|
43
|
+
});
|
|
44
|
+
export default Icon;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
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 = ["size", "style"];
|
|
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
|
+
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
|
+
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; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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; }
|
|
12
|
+
import { memo } from 'react';
|
|
13
|
+
import { TITLE } from "../style";
|
|
14
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
var Icon = /*#__PURE__*/memo(function (_ref) {
|
|
17
|
+
var _ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? '1em' : _ref$size,
|
|
19
|
+
style = _ref.style,
|
|
20
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
+
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
|
|
22
|
+
fill: "currentColor",
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
height: size,
|
|
25
|
+
style: _objectSpread({
|
|
26
|
+
flex: 'none',
|
|
27
|
+
lineHeight: 1
|
|
28
|
+
}, style),
|
|
29
|
+
viewBox: "0 0 67 24",
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
31
|
+
}, rest), {}, {
|
|
32
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
33
|
+
children: TITLE
|
|
34
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
35
|
+
d: "M19.701 16.74a.016.016 0 00-.008-.004l-.01.001a.016.016 0 00-.01.015v7.209a.04.04 0 01-.04.04H17.4a.024.024 0 01-.023-.025V2.418c0-.005.002-.01.006-.014a.02.02 0 01.015-.006h2.237a.041.041 0 01.041.041v1.072c0 .005.002.01.004.014a.026.026 0 00.026.012c.005 0 .01-.002.013-.005 1.667-1.372 3.887-1.643 5.974-1.496.776.054 1.414.152 1.913.292.585.166 1.128.401 1.629.707.436.265.848.609 1.237 1.03 1.215 1.317 1.745 2.996 1.757 4.796.007.965.008 1.75.005 2.356-.008 1.313-.253 2.669-.882 3.807-.852 1.54-2.159 2.629-3.835 3.105-.378.108-.9.238-1.314.28-.753.077-1.5.091-2.243.042-1.613-.108-3.032-.678-4.256-1.712zm1.976-11.77c-1.216.72-1.808 1.867-1.96 3.206-.025.22-.04.76-.045 1.623-.002.331 0 .906.005 1.723.009 1.36.432 2.505 1.421 3.377a4.928 4.928 0 002.445 1.184 7.72 7.72 0 001.36.098c.926-.005 1.7-.081 2.526-.44.841-.365 1.46-1 1.877-1.785.467-.88.622-1.803.625-2.792.002-.894.001-1.63-.002-2.21-.008-1.767-.602-3.382-2.312-4.157-1.121-.509-2.438-.535-3.681-.462-.747.045-1.595.243-2.259.636zM46.013 18.048v-1.206a.033.033 0 00-.018-.029.034.034 0 00-.035.003c-1.225.893-2.738 1.528-4.256 1.633-.815.056-1.645.037-2.49-.057-.35-.038-.828-.14-1.096-.198a7.94 7.94 0 01-2.3-.86 6.203 6.203 0 01-1.524-1.24c-.363-.402-.617-.914-.763-1.538-.11-.462-.078-.958-.077-1.59.004-1.337.96-2.537 2.01-3.285.36-.256.803-.484 1.333-.683a9.487 9.487 0 012.32-.56 17.29 17.29 0 011.677-.092 367.17 367.17 0 015.173 0 .04.04 0 00.04-.038c.018-.57.007-.998-.03-1.286-.15-1.116-.876-1.88-1.9-2.263a6.68 6.68 0 00-1.873-.4c-1.529-.108-3.074-.09-4.488.375a3.041 3.041 0 00-1.575 1.156.033.033 0 01-.02.013.032.032 0 01-.023-.004l-1.915-1.184a.025.025 0 01-.011-.017.025.025 0 01.004-.02c.115-.158.21-.29.284-.398.171-.247.37-.403.58-.616.06-.061.151-.137.276-.228a6.462 6.462 0 011.27-.727c.766-.327 1.708-.549 2.585-.626 1.26-.112 2.431-.107 3.515.013 1.109.123 2.495.495 3.426 1.129.979.666 1.65 1.6 2.015 2.802.066.218.117.544.154.98.022.256.033.587.033.995l-.001 10.065a.024.024 0 01-.024.024h-2.234a.042.042 0 01-.03-.013.043.043 0 01-.012-.03zm-.05-7.402h-4.9c-1.191.001-2.173.081-3.213.43a3.914 3.914 0 00-1.892 1.337.927.927 0 00-.202.573c-.003.418-.004.665-.003.743.005.493.34.83.671 1.13.491.446 1.06.762 1.705.949a9.637 9.637 0 003.493.34c1.519-.139 2.825-.789 3.92-1.95a2.15 2.15 0 00.453-.678.24.24 0 00.018-.089v-2.736a.049.049 0 00-.015-.035.05.05 0 00-.035-.014zM8.732 8.398c.006 0 .014-.006.023-.018 2.16-2.705 3.744-4.687 4.753-5.947a.082.082 0 01.065-.03h2.873a.016.016 0 01.015.009.015.015 0 01.001.008.016.016 0 01-.003.008l-6.239 7.8a.033.033 0 00-.006.02c0 .01.002.016.006.022a550355.486 550355.486 0 006.24 7.809.016.016 0 01-.007.015.016.016 0 01-.009.002l-2.873-.001a.084.084 0 01-.065-.03c-1.008-1.26-2.592-3.243-4.751-5.95-.01-.01-.017-.017-.024-.017-.007 0-.015.006-.024.018a5934.92 5934.92 0 01-4.753 5.947.082.082 0 01-.065.03H1.016c-.003 0-.006 0-.009-.002a.015.015 0 01-.005-.007.016.016 0 01.002-.016l6.238-7.8c.004-.004.007-.011.007-.02 0-.01-.003-.016-.007-.021a493238.997 493238.997 0 01-6.239-7.81.016.016 0 01.016-.017h2.873a.084.084 0 01.065.031c1.008 1.26 2.592 3.243 4.75 5.949.01.012.018.018.025.018zM58.818 13.627a.021.021 0 00.02.01.021.021 0 00.018-.014l3.718-11.197a.04.04 0 01.015-.02.042.042 0 01.024-.008h2.363a.021.021 0 01.017.009.022.022 0 01.003.019l-5.853 17.642c-.661 1.993-2.075 3.346-4.21 3.63-.717.095-1.613.083-2.348-.085a7.156 7.156 0 01-1.778-.665 4.447 4.447 0 01-1.69-1.546.04.04 0 01-.006-.029.04.04 0 01.016-.024l1.809-1.294a.035.035 0 01.028-.006.036.036 0 01.024.017c.406.677 1.055.995 1.843 1.248.268.086.553.13.855.134.708.008 1.401-.034 1.984-.37.651-.373 1.05-1.01 1.29-1.729.168-.506.471-1.429.908-2.77a.055.055 0 00-.005-.046L49.544 2.44a.029.029 0 010-.027.027.027 0 01.024-.014h2.585a.065.065 0 01.055.031l6.61 11.198z"
|
|
36
|
+
})]
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
export default Icon;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Avatar from './components/Avatar';
|
|
2
|
+
import Color from './components/Color';
|
|
3
|
+
import Combine from './components/Combine';
|
|
4
|
+
import Mono from './components/Mono';
|
|
5
|
+
import Text from './components/Text';
|
|
6
|
+
export type CompoundedIcon = typeof Mono & {
|
|
7
|
+
Avatar: typeof Avatar;
|
|
8
|
+
Color: typeof Color;
|
|
9
|
+
Combine: typeof Combine;
|
|
10
|
+
Text: typeof Text;
|
|
11
|
+
colorPrimary: string;
|
|
12
|
+
title: string;
|
|
13
|
+
};
|
|
14
|
+
declare const Icons: CompoundedIcon;
|
|
15
|
+
export default Icons;
|
package/es/Xpay/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Avatar from "./components/Avatar";
|
|
2
|
+
import Color from "./components/Color";
|
|
3
|
+
import Combine from "./components/Combine";
|
|
4
|
+
import Mono from "./components/Mono";
|
|
5
|
+
import Text from "./components/Text";
|
|
6
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
|
7
|
+
var Icons = Mono;
|
|
8
|
+
Icons.Color = Color;
|
|
9
|
+
Icons.Text = Text;
|
|
10
|
+
Icons.Combine = Combine;
|
|
11
|
+
Icons.Avatar = Avatar;
|
|
12
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
|
13
|
+
Icons.title = TITLE;
|
|
14
|
+
export default Icons;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const TITLE = "xpay";
|
|
2
|
+
export declare const COMBINE_TEXT_MULTIPLE = 0.8;
|
|
3
|
+
export declare const COMBINE_SPACE_MULTIPLE = 0.25;
|
|
4
|
+
export declare const COLOR_PRIMARY = "#0F1C4D";
|
|
5
|
+
export declare const AVATAR_BACKGROUND = "#0F1C4D";
|
|
6
|
+
export declare const AVATAR_COLOR = "#fff";
|
|
7
|
+
export declare const AVATAR_ICON_MULTIPLE = 0.6;
|
package/es/Xpay/style.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var TITLE = 'xpay';
|
|
2
|
+
export var COMBINE_TEXT_MULTIPLE = 0.8;
|
|
3
|
+
export var COMBINE_SPACE_MULTIPLE = 0.25;
|
|
4
|
+
export var COLOR_PRIMARY = '#0F1C4D';
|
|
5
|
+
|
|
6
|
+
// Avatar constants
|
|
7
|
+
export var AVATAR_BACKGROUND = COLOR_PRIMARY;
|
|
8
|
+
export var AVATAR_COLOR = '#fff';
|
|
9
|
+
export var AVATAR_ICON_MULTIPLE = 0.6;
|
|
@@ -87,6 +87,7 @@ import Kluster from "../Kluster";
|
|
|
87
87
|
import LG from "../LG";
|
|
88
88
|
import Lambda from "../Lambda";
|
|
89
89
|
import LeptonAI from "../LeptonAI";
|
|
90
|
+
import LlmApi from "../LlmApi";
|
|
90
91
|
import LmStudio from "../LmStudio";
|
|
91
92
|
import LobeHub from "../LobeHub";
|
|
92
93
|
import LongCat from "../LongCat";
|
|
@@ -143,6 +144,7 @@ import WorkersAI from "../WorkersAI";
|
|
|
143
144
|
import XAI from "../XAI";
|
|
144
145
|
import XiaomiMiMo from "../XiaomiMiMo";
|
|
145
146
|
import Xinference from "../Xinference";
|
|
147
|
+
import Xpay from "../Xpay";
|
|
146
148
|
import Yandex from "../Yandex";
|
|
147
149
|
import ZenMux from "../ZenMux";
|
|
148
150
|
import ZeroOne from "../ZeroOne";
|
|
@@ -170,7 +172,7 @@ export var providerMappings = [{
|
|
|
170
172
|
keywords: [ModelProvider.Baidu]
|
|
171
173
|
}, {
|
|
172
174
|
Icon: Bailian,
|
|
173
|
-
keywords: [ModelProvider.Bailian]
|
|
175
|
+
keywords: [ModelProvider.Bailian, ModelProvider.BailianCodingPlan]
|
|
174
176
|
}, {
|
|
175
177
|
Icon: Baseten,
|
|
176
178
|
keywords: [ModelProvider.Baseten]
|
|
@@ -237,6 +239,9 @@ export var providerMappings = [{
|
|
|
237
239
|
}, {
|
|
238
240
|
Icon: LeptonAI,
|
|
239
241
|
keywords: [ModelProvider.LeptonAI]
|
|
242
|
+
}, {
|
|
243
|
+
Icon: LlmApi,
|
|
244
|
+
keywords: [ModelProvider.LlmApi]
|
|
240
245
|
}, {
|
|
241
246
|
Icon: LG,
|
|
242
247
|
keywords: [ModelProvider.LG]
|
|
@@ -301,7 +306,7 @@ export var providerMappings = [{
|
|
|
301
306
|
}, {
|
|
302
307
|
Icon: Zhipu,
|
|
303
308
|
combineMultiple: 1.25,
|
|
304
|
-
keywords: [ModelProvider.ZhiPu]
|
|
309
|
+
keywords: [ModelProvider.ZhiPu, ModelProvider.GLMCodingPlan]
|
|
305
310
|
}, {
|
|
306
311
|
Combine: /*#__PURE__*/memo(function (_ref) {
|
|
307
312
|
var _ref$size = _ref.size,
|
|
@@ -376,7 +381,7 @@ export var providerMappings = [{
|
|
|
376
381
|
}, {
|
|
377
382
|
Icon: Moonshot,
|
|
378
383
|
combineMultiple: 0.9,
|
|
379
|
-
keywords: [ModelProvider.Moonshot]
|
|
384
|
+
keywords: [ModelProvider.Moonshot, ModelProvider.KimiCodingPlan]
|
|
380
385
|
}, {
|
|
381
386
|
Icon: Novita,
|
|
382
387
|
keywords: [ModelProvider.Novita]
|
|
@@ -393,7 +398,7 @@ export var providerMappings = [{
|
|
|
393
398
|
}, {
|
|
394
399
|
Icon: Minimax,
|
|
395
400
|
combineMultiple: 1.3,
|
|
396
|
-
keywords: [ModelProvider.Minimax]
|
|
401
|
+
keywords: [ModelProvider.Minimax, ModelProvider.MiniMaxCodingPlan]
|
|
397
402
|
}, {
|
|
398
403
|
Icon: Mistral,
|
|
399
404
|
keywords: [ModelProvider.Mistral]
|
|
@@ -619,7 +624,7 @@ export var providerMappings = [{
|
|
|
619
624
|
keywords: [ModelProvider.AzureAI]
|
|
620
625
|
}, {
|
|
621
626
|
Icon: Volcengine,
|
|
622
|
-
keywords: [ModelProvider.Volcengine]
|
|
627
|
+
keywords: [ModelProvider.Volcengine, ModelProvider.VolcengineCodingPlan]
|
|
623
628
|
}, {
|
|
624
629
|
Icon: SambaNova,
|
|
625
630
|
combineMultiple: 0.8,
|
|
@@ -642,6 +647,10 @@ export var providerMappings = [{
|
|
|
642
647
|
Icon: Xinference,
|
|
643
648
|
combineMultiple: 0.85,
|
|
644
649
|
keywords: [ModelProvider.Xinference]
|
|
650
|
+
}, {
|
|
651
|
+
Icon: Xpay,
|
|
652
|
+
combineMultiple: 0.8,
|
|
653
|
+
keywords: [ModelProvider.Xpay]
|
|
645
654
|
}, {
|
|
646
655
|
Icon: Fal,
|
|
647
656
|
combineMultiple: 0.8,
|
|
@@ -21,6 +21,7 @@ export declare enum ModelProvider {
|
|
|
21
21
|
Baidu = "baidu",
|
|
22
22
|
BaiduCloud = "baiducloud",
|
|
23
23
|
Bailian = "bailian",
|
|
24
|
+
BailianCodingPlan = "bailiancodingplan",
|
|
24
25
|
Baseten = "baseten",
|
|
25
26
|
Bedrock = "bedrock",
|
|
26
27
|
Bfl = "bfl",
|
|
@@ -47,6 +48,7 @@ export declare enum ModelProvider {
|
|
|
47
48
|
Fireworks = "fireworks",
|
|
48
49
|
FireworksAI = "fireworksai",
|
|
49
50
|
Friendli = "friendli",
|
|
51
|
+
GLMCodingPlan = "glmcodingplan",
|
|
50
52
|
Gemini = "gemini",
|
|
51
53
|
GiteeAI = "giteeai",
|
|
52
54
|
Github = "github",
|
|
@@ -68,16 +70,19 @@ export declare enum ModelProvider {
|
|
|
68
70
|
Infinigence = "infinigence",
|
|
69
71
|
InternLM = "internlm",
|
|
70
72
|
Jina = "jina",
|
|
73
|
+
KimiCodingPlan = "kimicodingplan",
|
|
71
74
|
Kluster = "kluster",
|
|
72
75
|
LG = "lg",
|
|
73
76
|
Lambda = "lambda",
|
|
74
77
|
LeptonAI = "leptonai",
|
|
78
|
+
LlmApi = "llmapi",
|
|
75
79
|
LmStudio = "lmstudio",
|
|
76
80
|
LobeHub = "lobehub",
|
|
77
81
|
LongCat = "longcat",
|
|
78
82
|
Menlo = "menlo",
|
|
79
83
|
Meta = "meta",
|
|
80
84
|
Microsoft = "microsoft",
|
|
85
|
+
MiniMaxCodingPlan = "minimaxcodingplan",
|
|
81
86
|
Minimax = "minimax",
|
|
82
87
|
Mistral = "mistral",
|
|
83
88
|
ModelScope = "modelscope",
|
|
@@ -126,11 +131,13 @@ export declare enum ModelProvider {
|
|
|
126
131
|
VercelAIGateway = "vercelaigateway",
|
|
127
132
|
VertexAI = "vertexai",
|
|
128
133
|
Volcengine = "volcengine",
|
|
134
|
+
VolcengineCodingPlan = "volcenginecodingplan",
|
|
129
135
|
Wenxin = "wenxin",
|
|
130
136
|
WorkersAI = "workersai",
|
|
131
137
|
XAI = "xai",
|
|
132
138
|
XiaomiMiMo = "xiaomimimo",
|
|
133
139
|
Xinference = "xinference",
|
|
140
|
+
Xpay = "xpay",
|
|
134
141
|
Yandex = "yandex",
|
|
135
142
|
ZenMux = "zenmux",
|
|
136
143
|
ZeroOne = "zeroone",
|
|
@@ -21,6 +21,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
|
21
21
|
ModelProvider["Baidu"] = "baidu";
|
|
22
22
|
ModelProvider["BaiduCloud"] = "baiducloud";
|
|
23
23
|
ModelProvider["Bailian"] = "bailian";
|
|
24
|
+
ModelProvider["BailianCodingPlan"] = "bailiancodingplan";
|
|
24
25
|
ModelProvider["Baseten"] = "baseten";
|
|
25
26
|
ModelProvider["Bedrock"] = "bedrock";
|
|
26
27
|
ModelProvider["Bfl"] = "bfl";
|
|
@@ -47,6 +48,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
|
47
48
|
ModelProvider["Fireworks"] = "fireworks";
|
|
48
49
|
ModelProvider["FireworksAI"] = "fireworksai";
|
|
49
50
|
ModelProvider["Friendli"] = "friendli";
|
|
51
|
+
ModelProvider["GLMCodingPlan"] = "glmcodingplan";
|
|
50
52
|
ModelProvider["Gemini"] = "gemini";
|
|
51
53
|
ModelProvider["GiteeAI"] = "giteeai";
|
|
52
54
|
ModelProvider["Github"] = "github";
|
|
@@ -68,16 +70,19 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
|
68
70
|
ModelProvider["Infinigence"] = "infinigence";
|
|
69
71
|
ModelProvider["InternLM"] = "internlm";
|
|
70
72
|
ModelProvider["Jina"] = "jina";
|
|
73
|
+
ModelProvider["KimiCodingPlan"] = "kimicodingplan";
|
|
71
74
|
ModelProvider["Kluster"] = "kluster";
|
|
72
75
|
ModelProvider["LG"] = "lg";
|
|
73
76
|
ModelProvider["Lambda"] = "lambda";
|
|
74
77
|
ModelProvider["LeptonAI"] = "leptonai";
|
|
78
|
+
ModelProvider["LlmApi"] = "llmapi";
|
|
75
79
|
ModelProvider["LmStudio"] = "lmstudio";
|
|
76
80
|
ModelProvider["LobeHub"] = "lobehub";
|
|
77
81
|
ModelProvider["LongCat"] = "longcat";
|
|
78
82
|
ModelProvider["Menlo"] = "menlo";
|
|
79
83
|
ModelProvider["Meta"] = "meta";
|
|
80
84
|
ModelProvider["Microsoft"] = "microsoft";
|
|
85
|
+
ModelProvider["MiniMaxCodingPlan"] = "minimaxcodingplan";
|
|
81
86
|
ModelProvider["Minimax"] = "minimax";
|
|
82
87
|
ModelProvider["Mistral"] = "mistral";
|
|
83
88
|
ModelProvider["ModelScope"] = "modelscope";
|
|
@@ -126,11 +131,13 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
|
126
131
|
ModelProvider["VercelAIGateway"] = "vercelaigateway";
|
|
127
132
|
ModelProvider["VertexAI"] = "vertexai";
|
|
128
133
|
ModelProvider["Volcengine"] = "volcengine";
|
|
134
|
+
ModelProvider["VolcengineCodingPlan"] = "volcenginecodingplan";
|
|
129
135
|
ModelProvider["Wenxin"] = "wenxin";
|
|
130
136
|
ModelProvider["WorkersAI"] = "workersai";
|
|
131
137
|
ModelProvider["XAI"] = "xai";
|
|
132
138
|
ModelProvider["XiaomiMiMo"] = "xiaomimimo";
|
|
133
139
|
ModelProvider["Xinference"] = "xinference";
|
|
140
|
+
ModelProvider["Xpay"] = "xpay";
|
|
134
141
|
ModelProvider["Yandex"] = "yandex";
|
|
135
142
|
ModelProvider["ZenMux"] = "zenmux";
|
|
136
143
|
ModelProvider["ZeroOne"] = "zeroone";
|
package/es/icons.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as Ace, type CompoundedIcon as AceProps } from './Ace';
|
|
2
2
|
export { default as Adobe, type CompoundedIcon as AdobeProps } from './Adobe';
|
|
3
3
|
export { default as AdobeFirefly, type CompoundedIcon as AdobeFireflyProps } from './AdobeFirefly';
|
|
4
|
+
export { default as AgentVoice, type CompoundedIcon as AgentVoiceProps } from './AgentVoice';
|
|
4
5
|
export { default as Agui, type CompoundedIcon as AguiProps } from './Agui';
|
|
5
6
|
export { default as Ai2, type CompoundedIcon as Ai2Props } from './Ai2';
|
|
6
7
|
export { default as Ai21, type CompoundedIcon as Ai21Props } from './Ai21';
|
|
@@ -19,8 +20,10 @@ export { default as AntGroup, type CompoundedIcon as AntGroupProps } from './Ant
|
|
|
19
20
|
export { default as Anthropic, type CompoundedIcon as AnthropicProps } from './Anthropic';
|
|
20
21
|
export { default as Antigravity, type CompoundedIcon as AntigravityProps } from './Antigravity';
|
|
21
22
|
export { default as Anyscale, type CompoundedIcon as AnyscaleProps } from './Anyscale';
|
|
23
|
+
export { default as Apertis, type CompoundedIcon as ApertisProps } from './Apertis';
|
|
22
24
|
export { default as Apple, type CompoundedIcon as AppleProps } from './Apple';
|
|
23
25
|
export { default as Arcee, type CompoundedIcon as ArceeProps } from './Arcee';
|
|
26
|
+
export { default as AskVerdict, type CompoundedIcon as AskVerdictProps } from './AskVerdict';
|
|
24
27
|
export { default as AssemblyAI, type CompoundedIcon as AssemblyAIProps } from './AssemblyAI';
|
|
25
28
|
export { default as AtlasCloud, type CompoundedIcon as AtlasCloudProps } from './AtlasCloud';
|
|
26
29
|
export { default as Automatic, type CompoundedIcon as AutomaticProps } from './Automatic';
|
|
@@ -154,6 +157,7 @@ export { default as Liquid, type CompoundedIcon as LiquidProps } from './Liquid'
|
|
|
154
157
|
export { default as LiveKit, type CompoundedIcon as LiveKitProps } from './LiveKit';
|
|
155
158
|
export { default as LlamaIndex, type CompoundedIcon as LlamaIndexProps } from './LlamaIndex';
|
|
156
159
|
export { default as LLaVA, type CompoundedIcon as LLaVAProps } from './LLaVA';
|
|
160
|
+
export { default as LlmApi, type CompoundedIcon as LlmApiProps } from './LlmApi';
|
|
157
161
|
export { default as LmStudio, type CompoundedIcon as LmStudioProps } from './LmStudio';
|
|
158
162
|
export { default as LobeHub, type CompoundedIcon as LobeHubProps } from './LobeHub';
|
|
159
163
|
export { default as LongCat, type CompoundedIcon as LongCatProps } from './LongCat';
|
|
@@ -213,6 +217,7 @@ export { default as PPIO, type CompoundedIcon as PPIOProps } from './PPIO';
|
|
|
213
217
|
export { default as PydanticAI, type CompoundedIcon as PydanticAIProps } from './PydanticAI';
|
|
214
218
|
export { default as Qingyan, type CompoundedIcon as QingyanProps } from './Qingyan';
|
|
215
219
|
export { default as Qiniu, type CompoundedIcon as QiniuProps } from './Qiniu';
|
|
220
|
+
export { default as Qoder, type CompoundedIcon as QoderProps } from './Qoder';
|
|
216
221
|
export { default as Qwen, type CompoundedIcon as QwenProps } from './Qwen';
|
|
217
222
|
export { default as Railway, type CompoundedIcon as RailwayProps } from './Railway';
|
|
218
223
|
export { default as Recraft, type CompoundedIcon as RecraftProps } from './Recraft';
|
|
@@ -271,6 +276,7 @@ export { default as WorkersAI, type CompoundedIcon as WorkersAIProps } from './W
|
|
|
271
276
|
export { default as XAI, type CompoundedIcon as XAIProps } from './XAI';
|
|
272
277
|
export { default as XiaomiMiMo, type CompoundedIcon as XiaomiMiMoProps } from './XiaomiMiMo';
|
|
273
278
|
export { default as Xinference, type CompoundedIcon as XinferenceProps } from './Xinference';
|
|
279
|
+
export { default as Xpay, type CompoundedIcon as XpayProps } from './Xpay';
|
|
274
280
|
export { default as Xuanyuan, type CompoundedIcon as XuanyuanProps } from './Xuanyuan';
|
|
275
281
|
export { default as Yandex, type CompoundedIcon as YandexProps } from './Yandex';
|
|
276
282
|
export { default as Yi, type CompoundedIcon as YiProps } from './Yi';
|
package/es/icons.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as Ace } from "./Ace";
|
|
2
2
|
export { default as Adobe } from "./Adobe";
|
|
3
3
|
export { default as AdobeFirefly } from "./AdobeFirefly";
|
|
4
|
+
export { default as AgentVoice } from "./AgentVoice";
|
|
4
5
|
export { default as Agui } from "./Agui";
|
|
5
6
|
export { default as Ai2 } from "./Ai2";
|
|
6
7
|
export { default as Ai21 } from "./Ai21";
|
|
@@ -19,8 +20,10 @@ export { default as AntGroup } from "./AntGroup";
|
|
|
19
20
|
export { default as Anthropic } from "./Anthropic";
|
|
20
21
|
export { default as Antigravity } from "./Antigravity";
|
|
21
22
|
export { default as Anyscale } from "./Anyscale";
|
|
23
|
+
export { default as Apertis } from "./Apertis";
|
|
22
24
|
export { default as Apple } from "./Apple";
|
|
23
25
|
export { default as Arcee } from "./Arcee";
|
|
26
|
+
export { default as AskVerdict } from "./AskVerdict";
|
|
24
27
|
export { default as AssemblyAI } from "./AssemblyAI";
|
|
25
28
|
export { default as AtlasCloud } from "./AtlasCloud";
|
|
26
29
|
export { default as Automatic } from "./Automatic";
|
|
@@ -154,6 +157,7 @@ export { default as Liquid } from "./Liquid";
|
|
|
154
157
|
export { default as LiveKit } from "./LiveKit";
|
|
155
158
|
export { default as LlamaIndex } from "./LlamaIndex";
|
|
156
159
|
export { default as LLaVA } from "./LLaVA";
|
|
160
|
+
export { default as LlmApi } from "./LlmApi";
|
|
157
161
|
export { default as LmStudio } from "./LmStudio";
|
|
158
162
|
export { default as LobeHub } from "./LobeHub";
|
|
159
163
|
export { default as LongCat } from "./LongCat";
|
|
@@ -213,6 +217,7 @@ export { default as PPIO } from "./PPIO";
|
|
|
213
217
|
export { default as PydanticAI } from "./PydanticAI";
|
|
214
218
|
export { default as Qingyan } from "./Qingyan";
|
|
215
219
|
export { default as Qiniu } from "./Qiniu";
|
|
220
|
+
export { default as Qoder } from "./Qoder";
|
|
216
221
|
export { default as Qwen } from "./Qwen";
|
|
217
222
|
export { default as Railway } from "./Railway";
|
|
218
223
|
export { default as Recraft } from "./Recraft";
|
|
@@ -271,6 +276,7 @@ export { default as WorkersAI } from "./WorkersAI";
|
|
|
271
276
|
export { default as XAI } from "./XAI";
|
|
272
277
|
export { default as XiaomiMiMo } from "./XiaomiMiMo";
|
|
273
278
|
export { default as Xinference } from "./Xinference";
|
|
279
|
+
export { default as Xpay } from "./Xpay";
|
|
274
280
|
export { default as Xuanyuan } from "./Xuanyuan";
|
|
275
281
|
export { default as Yandex } from "./Yandex";
|
|
276
282
|
export { default as Yi } from "./Yi";
|