@lobehub/icons 1.70.0 → 1.72.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 +23 -21
- package/es/AzureAI/components/Avatar.d.ts +5 -0
- package/es/AzureAI/components/Avatar.js +27 -0
- package/es/AzureAI/components/Color.d.ts +3 -0
- package/es/AzureAI/components/Color.js +178 -0
- package/es/AzureAI/components/Combine.d.ts +7 -0
- package/es/AzureAI/components/Combine.js +32 -0
- package/es/AzureAI/components/Mono.d.ts +3 -0
- package/es/AzureAI/components/Mono.js +48 -0
- package/es/AzureAI/components/Text.d.ts +3 -0
- package/es/AzureAI/components/Text.js +40 -0
- package/es/AzureAI/index.d.ts +15 -0
- package/es/AzureAI/index.js +16 -0
- package/es/AzureAI/style.d.ts +4 -0
- package/es/AzureAI/style.js +4 -0
- package/es/Fireworks/components/Avatar.js +3 -3
- package/es/Fireworks/components/Color.d.ts +3 -0
- package/es/Fireworks/components/Color.js +42 -0
- package/es/Fireworks/components/Combine.d.ts +3 -1
- package/es/Fireworks/components/Combine.js +9 -3
- package/es/Fireworks/components/Mono.js +2 -1
- package/es/Fireworks/components/Text.js +2 -2
- package/es/Fireworks/index.d.ts +2 -1
- package/es/Fireworks/index.js +3 -2
- package/es/Fireworks/style.d.ts +2 -3
- package/es/Fireworks/style.js +2 -3
- package/es/Jina/components/Avatar.d.ts +5 -0
- package/es/Jina/components/Avatar.js +27 -0
- package/es/Jina/components/Mono.d.ts +3 -0
- package/es/Jina/components/Mono.js +41 -0
- package/es/Jina/components/Text.d.ts +3 -0
- package/es/Jina/components/Text.js +44 -0
- package/es/Jina/index.d.ts +11 -0
- package/es/Jina/index.js +12 -0
- package/es/Jina/style.d.ts +4 -0
- package/es/Jina/style.js +4 -0
- package/es/PPIO/components/Avatar.d.ts +5 -0
- package/es/PPIO/components/Avatar.js +27 -0
- package/es/PPIO/components/Color.d.ts +3 -0
- package/es/PPIO/components/Color.js +42 -0
- package/es/PPIO/components/Combine.d.ts +7 -0
- package/es/PPIO/components/Combine.js +32 -0
- package/es/PPIO/components/Mono.d.ts +3 -0
- package/es/PPIO/components/Mono.js +42 -0
- package/es/PPIO/components/Text.d.ts +3 -0
- package/es/PPIO/components/Text.js +41 -0
- package/es/PPIO/components/TextCn.d.ts +3 -0
- package/es/PPIO/components/TextCn.js +41 -0
- package/es/PPIO/index.d.ts +17 -0
- package/es/PPIO/index.js +18 -0
- package/es/PPIO/style.d.ts +4 -0
- package/es/PPIO/style.js +4 -0
- package/es/Vllm/style.d.ts +1 -1
- package/es/Vllm/style.js +1 -1
- package/es/Volcengine/components/Avatar.d.ts +5 -0
- package/es/Volcengine/components/Avatar.js +26 -0
- package/es/Volcengine/components/Color.d.ts +3 -0
- package/es/Volcengine/components/Color.js +49 -0
- package/es/Volcengine/components/Combine.d.ts +7 -0
- package/es/Volcengine/components/Combine.js +32 -0
- package/es/Volcengine/components/Mono.d.ts +3 -0
- package/es/Volcengine/components/Mono.js +53 -0
- package/es/Volcengine/components/Text.d.ts +3 -0
- package/es/Volcengine/components/Text.js +48 -0
- package/es/Volcengine/index.d.ts +15 -0
- package/es/Volcengine/index.js +16 -0
- package/es/Volcengine/style.d.ts +4 -0
- package/es/Volcengine/style.js +4 -0
- package/es/features/ProviderCombine/index.js +4 -6
- package/es/features/providerConfig.js +27 -5
- package/es/features/providerEnum.d.ts +5 -0
- package/es/features/providerEnum.js +5 -0
- package/es/icons.d.ts +4 -0
- package/es/icons.js +4 -0
- package/es/toc.js +77 -6
- package/package.json +1 -1
@@ -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 { SPACE_MULTIPLE, 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: SPACE_MULTIPLE,
|
29
|
+
textMultiple: TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|
@@ -0,0 +1,42 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
clipRule: "evenodd",
|
38
|
+
d: "M12.002 0C5.377 0 0 5.37 0 11.994c0 3.266 1.309 6.232 3.43 8.395v-8.383c0-2.288.893-4.447 2.51-6.063a8.513 8.513 0 016.066-2.509h.07l-.074.008c4.735 0 8.575 3.84 8.575 8.571 0 .413-.03.818-.087 1.219l-4.844-4.86A5.12 5.12 0 0012.01 6.87a5.126 5.126 0 00-3.637 1.503 5.107 5.107 0 00-1.507 3.641c0 1.376.536 2.666 1.507 3.64a5.12 5.12 0 003.637 1.504 5.126 5.126 0 003.637-1.503 5.114 5.114 0 001.496-3.348l2.842 2.853c-1.256 3.18-4.353 5.433-7.978 5.433-1.879 0-3.671-.6-5.145-1.714v3.967c1.56.742 3.3 1.155 5.137 1.155C18.623 24 24 18.63 24 12.006 24.008 5.373 18.635.004 12.006.004L12.002 0z"
|
39
|
+
})]
|
40
|
+
}));
|
41
|
+
});
|
42
|
+
export default Icon;
|
@@ -0,0 +1,41 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 62 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M4.92 13.81v7.185H2V2.95h7.748c1.668 0 2.958.49 3.871 1.473.914.984 1.37 2.303 1.37 3.957s-.456 2.973-1.37 3.956c-.913.984-2.203 1.473-3.871 1.473H4.921zm0-2.563h4.648c.743 0 1.316-.191 1.73-.58.415-.388.622-.946.622-1.67V7.76c0-.729-.207-1.282-.621-1.67-.415-.388-.993-.58-1.731-.58H4.92v5.738zm16.187 2.563v7.185h-2.921V2.95h7.749c1.667 0 2.957.49 3.871 1.473.913.984 1.37 2.303 1.37 3.957s-.457 2.973-1.37 3.956c-.914.984-2.204 1.473-3.871 1.473h-4.828zm0-2.563h4.647c.743 0 1.317-.191 1.731-.58.415-.388.622-.946.622-1.67V7.76c0-.729-.207-1.282-.622-1.67-.414-.388-.993-.58-1.731-.58h-4.647v5.738zm20.345 7.37v2.378h-7.849v-2.378h2.454V5.335h-2.454V2.957h7.849v2.377h-2.48v13.284h2.48zm13.823 1.793c-.95.388-2.018.585-3.186.585-1.169 0-2.23-.197-3.186-.585a6.554 6.554 0 01-2.454-1.723c-.68-.76-1.205-1.702-1.577-2.824-.372-1.127-.558-2.42-.558-3.887 0-1.468.186-2.766.558-3.888.372-1.122.898-2.063 1.577-2.823a6.676 6.676 0 012.454-1.723c.95-.389 2.017-.585 3.186-.585 1.168 0 2.23.191 3.186.585a6.554 6.554 0 012.454 1.723c.68.76 1.205 1.701 1.577 2.823.372 1.128.557 2.42.557 3.888 0 1.467-.185 2.765-.557 3.887-.372 1.122-.897 2.063-1.577 2.824a6.655 6.655 0 01-2.454 1.723zm-5.161-2.367c.589.229 1.248.346 1.975.346.712 0 1.365-.117 1.96-.346a4.141 4.141 0 001.518-1c.415-.436.744-.962.972-1.59.228-.627.345-1.334.345-2.121V10.62c0-.793-.111-1.5-.345-2.122a4.494 4.494 0 00-.972-1.59 4.096 4.096 0 00-1.518-1 5.337 5.337 0 00-1.96-.346c-.733 0-1.386.117-1.975.346a4.139 4.139 0 00-1.509 1 4.65 4.65 0 00-.971 1.59c-.229.627-.346 1.335-.346 2.122v2.712c0 .792.117 1.5.346 2.121.228.623.552 1.154.971 1.59.42.437.919.771 1.509 1z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -0,0 +1,41 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 128 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
clipRule: "evenodd",
|
37
|
+
d: "M127.807.569a.57.57 0 00-.569-.569H64.181a.57.57 0 00-.568.569v22.808a.57.57 0 00.568.569h63.057a.57.57 0 00.569-.57V.57zM96.135 4.031h-8.636v14.916c-1.364-1.031-2.336-2.707-3.032-4.738.745-.504 1.57-1.162 2.395-1.82.193-.154.387-.309.58-.461l-1.297-1.34c-.541.638-1.36 1.44-2.134 2.121a35.04 35.04 0 01-.76-3.999 26.3 26.3 0 002.916-.84l-1.44-1.462c-1.396.6-3.754 1.16-5.83 1.5v9.98c0 .783-.42 1.16-.76 1.341.26.362.6 1.122.717 1.52.026-.02.058-.047.09-.074l.027-.02c.148-.113.361-.24.749-.437l.122-.058c.648-.325 1.742-.814 3.68-1.649-.122-.361-.298-1-.361-1.5l-2.656 1.059V9.232c.218-.044.436-.081.657-.12.184-.03.37-.062.56-.098.621 5.062 1.859 9.359 4.572 11.598a7.37 7.37 0 011.195-1.436v1.016h8.608v-.181c.34.34.68.76.877 1.08 1.779-1.74 2.756-3.76 3.313-5.723.797 2.26 1.96 3.978 3.718 5.563.239-.5.759-1.08 1.216-1.42-2.417-1.978-3.574-4.28-4.312-8.1.032-.411.036-.827.04-1.203l.002-.179V8.391h-1.7v1.442c0 2.6-.297 6.498-3.154 9.518v-.861h-6.792v-1.521c.377.282.84.68 1.057.899.919-1.08 1.758-2.383 2.538-3.861.659 1.218 1.2 2.34 1.556 3.26l1.599-.862c-.478-1.202-1.28-2.68-2.257-4.26.78-1.68 1.418-3.52 1.96-5.397l-1.657-.34a30.022 30.022 0 01-1.36 4.057 71.59 71.59 0 00-2.38-3.382l-1.056.543v-1.92h6.83V4.031zm-20.616.595c3.356-.436 7.233-1.18 9.469-1.978v-.005l1.497 1.5c-2.554.856-6.07 1.478-9.288 1.898v3.744c-.01 3.297-.356 8.072-2.438 11.257-.318-.297-1.056-.739-1.476-.898 2.034-3.08 2.236-7.419 2.236-10.519V4.626zm29.378 5.026h17.705v1.898h-9.288a40 40 0 01-4.233 6.302l9.087-.66a85.73 85.73 0 00-2.236-3.238l1.7-.899c1.657 2.218 3.616 5.079 4.593 6.919l-1.795 1.079c-.281-.6-.701-1.319-1.179-2.1l-3.853.32c-6.973.579-8.016.666-8.807.977-.117-.42-.436-1.478-.717-2.08.499-.116.935-.616 1.556-1.398.563-.643 2.082-2.823 3.298-5.222h-5.831V9.652zm-35.432 9.694c.919-1.5 2.22-4.02 3.218-6.259l1.216 1.26a89.24 89.24 0 01-3.016 6.28l-1.418-1.281zm22.474-7.057a63.436 63.436 0 00-2.618-3.999v8.078c.982-1.117 1.859-2.52 2.618-4.079zM69.03 9.593l.898-1.382.005.005c1.116.5 2.635 1.34 3.415 1.94l-.94 1.559c-.722-.643-2.241-1.542-3.377-2.122zM98.047 2.57c-.398 2.978-1.237 5.86-2.618 7.641.42.218 1.216.702 1.54.963.717-1.021 1.296-2.34 1.795-3.84h4.493c-.281 1.282-.637 2.6-.961 3.52l1.46.442c.579-1.361 1.158-3.5 1.577-5.36l-1.237-.362-.297.058h-4.557c.218-.898.42-1.84.558-2.802l-1.753-.26zM70.028 4.233l.919-1.361v.005c1.136.558 2.692 1.478 3.473 2.138l-.977 1.5c-.739-.66-2.279-1.644-3.415-2.282zm37.062-.144h13.462v1.899H107.09V4.089zM4.92 13.81v7.184H2V2.951h7.748c1.668 0 2.958.49 3.871 1.473.914.984 1.37 2.303 1.37 3.957s-.456 2.972-1.37 3.956c-.913.984-2.203 1.473-3.871 1.473H4.921zm0-2.563h4.648c.743 0 1.316-.191 1.73-.58.415-.388.622-.946.622-1.67V7.76c0-.729-.207-1.282-.621-1.67-.415-.388-.993-.58-1.731-.58H4.92v5.738zm16.187 2.563v7.184h-2.921V2.951h7.749c1.667 0 2.957.49 3.871 1.473.913.984 1.37 2.303 1.37 3.957s-.457 2.972-1.37 3.956c-.914.984-2.204 1.473-3.871 1.473h-4.828zm0-2.563h4.647c.743 0 1.317-.191 1.731-.58.415-.388.622-.946.622-1.67V7.76c0-.729-.207-1.282-.622-1.67-.414-.388-.993-.58-1.731-.58h-4.647v5.738zm20.345 7.37v2.377h-7.849v-2.377h2.454V5.335h-2.454V2.957h7.849v2.377h-2.48v13.284h2.48zm13.823 1.793c-.95.388-2.018.584-3.186.584-1.169 0-2.23-.196-3.186-.584a6.553 6.553 0 01-2.454-1.723c-.68-.76-1.205-1.702-1.577-2.824-.372-1.127-.558-2.42-.558-3.887 0-1.468.186-2.766.558-3.888.372-1.122.898-2.063 1.577-2.823a6.676 6.676 0 012.454-1.723c.95-.389 2.017-.585 3.186-.585 1.168 0 2.23.191 3.186.585a6.554 6.554 0 012.454 1.723c.68.76 1.205 1.701 1.577 2.823.372 1.128.557 2.42.557 3.888 0 1.467-.185 2.765-.557 3.887-.372 1.122-.897 2.063-1.577 2.824a6.656 6.656 0 01-2.454 1.723zm-5.161-2.367c.589.229 1.248.346 1.975.346a5.42 5.42 0 001.96-.346 4.141 4.141 0 001.518-1c.415-.436.744-.962.972-1.59.228-.627.345-1.334.345-2.121V10.62c0-.793-.111-1.5-.345-2.122a4.494 4.494 0 00-.972-1.59 4.095 4.095 0 00-1.518-1 5.337 5.337 0 00-1.96-.346c-.733 0-1.386.117-1.975.346a4.139 4.139 0 00-1.509 1 4.651 4.651 0 00-.971 1.59c-.229.627-.346 1.335-.346 2.122v2.712c0 .792.117 1.5.346 2.121.228.623.552 1.154.971 1.59.42.437.919.771 1.509 1z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -0,0 +1,17 @@
|
|
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 TextCn from './components/TextCn';
|
7
|
+
export type CompoundedIcon = typeof Mono & {
|
8
|
+
Avatar: typeof Avatar;
|
9
|
+
Color: typeof Color;
|
10
|
+
Combine: typeof Combine;
|
11
|
+
Text: typeof Text;
|
12
|
+
TextCn: typeof TextCn;
|
13
|
+
colorPrimary: string;
|
14
|
+
title: string;
|
15
|
+
};
|
16
|
+
declare const Icons: CompoundedIcon;
|
17
|
+
export default Icons;
|
package/es/PPIO/index.js
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Color from "./components/Color";
|
5
|
+
import Combine from "./components/Combine";
|
6
|
+
import Mono from "./components/Mono";
|
7
|
+
import Text from "./components/Text";
|
8
|
+
import TextCn from "./components/TextCn";
|
9
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
10
|
+
var Icons = Mono;
|
11
|
+
Icons.Color = Color;
|
12
|
+
Icons.Text = Text;
|
13
|
+
Icons.TextCn = TextCn;
|
14
|
+
Icons.Avatar = Avatar;
|
15
|
+
Icons.Combine = Combine;
|
16
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
17
|
+
Icons.title = TITLE;
|
18
|
+
export default Icons;
|
package/es/PPIO/style.js
ADDED
package/es/Vllm/style.d.ts
CHANGED
package/es/Vllm/style.js
CHANGED
@@ -0,0 +1,26 @@
|
|
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 = ["background"];
|
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 IconAvatar from "../../features/IconAvatar";
|
14
|
+
import { COLOR_PRIMARY, TITLE } from "../style";
|
15
|
+
import Color from "./Color";
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
17
|
+
var Avatar = /*#__PURE__*/memo(function (_ref) {
|
18
|
+
var background = _ref.background,
|
19
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
20
|
+
return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
|
21
|
+
Icon: Color,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_PRIMARY
|
24
|
+
}, rest));
|
25
|
+
});
|
26
|
+
export default Avatar;
|
@@ -0,0 +1,49 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
height: size,
|
23
|
+
ref: ref,
|
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: "M19.44 10.153l-2.936 11.586a.215.215 0 00.214.261h5.87a.215.215 0 00.214-.261l-2.95-11.586a.214.214 0 00-.412 0zM3.28 12.778l-2.275 8.96A.214.214 0 001.22 22h4.532a.212.212 0 00.214-.165.214.214 0 000-.097l-2.276-8.96a.214.214 0 00-.41 0z",
|
36
|
+
fill: "#00E5E5"
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
|
+
d: "M7.29 5.359L3.148 21.738a.215.215 0 00.203.261h8.29a.214.214 0 00.215-.261L7.7 5.358a.214.214 0 00-.41 0z",
|
39
|
+
fill: "#006EFF"
|
40
|
+
}), /*#__PURE__*/_jsx("path", {
|
41
|
+
d: "M14.44.15a.214.214 0 00-.41 0L8.366 21.739a.214.214 0 00.214.261H19.9a.216.216 0 00.171-.078.214.214 0 00.044-.183L14.439.15z",
|
42
|
+
fill: "#006EFF"
|
43
|
+
}), /*#__PURE__*/_jsx("path", {
|
44
|
+
d: "M10.278 7.741L6.685 21.736a.214.214 0 00.214.264h7.17a.215.215 0 00.214-.264L10.688 7.741a.214.214 0 00-.41 0z",
|
45
|
+
fill: "#00E5E5"
|
46
|
+
})]
|
47
|
+
}));
|
48
|
+
});
|
49
|
+
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 { SPACE_MULTIPLE, 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: SPACE_MULTIPLE,
|
29
|
+
textMultiple: TEXT_MULTIPLE
|
30
|
+
}, rest));
|
31
|
+
});
|
32
|
+
export default Combine;
|
@@ -0,0 +1,53 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 24 24",
|
31
|
+
width: size,
|
32
|
+
xmlns: "http://www.w3.org/2000/svg"
|
33
|
+
}, rest), {}, {
|
34
|
+
children: [/*#__PURE__*/_jsx("title", {
|
35
|
+
children: TITLE
|
36
|
+
}), /*#__PURE__*/_jsx("path", {
|
37
|
+
d: "M7.29 5.36L3.148 21.737a.215.215 0 00.203.261h8.29a.214.214 0 00.215-.261L7.7 5.359a.214.214 0 00-.41 0z",
|
38
|
+
fillOpacity: ".5"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
clipRule: "evenodd",
|
41
|
+
d: "M4.553 16.18l-1.406 5.558a.214.214 0 00.203.261h2.42-4.551a.214.214 0 01-.214-.26l2.275-8.961a.214.214 0 01.409 0l.864 3.402z"
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
43
|
+
d: "M14.44.15a.214.214 0 00-.41 0L8.366 21.739a.214.214 0 00.214.261H19.9a.214.214 0 00.215-.261L14.44.151z",
|
44
|
+
fillOpacity: ".5"
|
45
|
+
}), /*#__PURE__*/_jsx("path", {
|
46
|
+
clipRule: "evenodd",
|
47
|
+
d: "M16.694 22h3.207a.215.215 0 00.214-.262l-1.839-6.993 1.164-4.592a.214.214 0 01.411 0l2.951 11.586a.214.214 0 01-.214.261h-5.894z"
|
48
|
+
}), /*#__PURE__*/_jsx("path", {
|
49
|
+
d: "M10.278 7.741L6.685 21.736a.214.214 0 00.214.264h7.17a.216.216 0 00.214-.166.216.216 0 000-.098L10.687 7.742a.214.214 0 00-.409 0z"
|
50
|
+
})]
|
51
|
+
}));
|
52
|
+
});
|
53
|
+
export default Icon;
|
@@ -0,0 +1,48 @@
|
|
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 { forwardRef } 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__*/forwardRef(function (_ref, 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
|
+
ref: ref,
|
26
|
+
style: _objectSpread({
|
27
|
+
flex: 'none',
|
28
|
+
lineHeight: 1
|
29
|
+
}, style),
|
30
|
+
viewBox: "0 0 86 24",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, rest), {}, {
|
33
|
+
children: [/*#__PURE__*/_jsx("title", {
|
34
|
+
children: TITLE
|
35
|
+
}), /*#__PURE__*/_jsx("path", {
|
36
|
+
d: "M33.855 2.306h-2.031c-.123 0-.223.1-.223.222V21.07c0 .123.1.222.223.222h2.031c.123 0 .223-.1.223-.222V2.528c0-.122-.1-.222-.223-.222zM60.948 2.382h-2.134c-.124 0-.225.101-.225.226v19.16c0 .125.1.226.225.226h2.134c.125 0 .226-.101.226-.226V2.608c0-.125-.101-.226-.226-.226zM26.66 4.625h-2.027a.225.225 0 00-.225.226v16.78c0 .125.1.226.225.226h2.026a.225.225 0 00.225-.225V4.85c0-.125-.1-.226-.225-.226zM41.057 4.625h-2.026a.225.225 0 00-.225.226v16.78c0 .125.1.226.225.226h2.026a.225.225 0 00.226-.225V4.85c0-.125-.101-.226-.226-.226z"
|
37
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
|
+
d: "M41.166 19.383v2.06a.416.416 0 01-.417.417H24.933a.417.417 0 01-.417-.417v-2.06h16.65zM75.17 4.53V2.923a.111.111 0 00-.112-.112h-9.67a.111.111 0 00-.111.112V4.53c0 .061.05.111.111.111h9.67c.062 0 .111-.05.111-.111zM83.938 3.392V5.14a.112.112 0 01-.111.11h-6.175a.228.228 0 01-.228-.227V3.506a.228.228 0 01.228-.228h6.175a.112.112 0 01.111.111v.003zM16.846 5.074c-.037.973-.17 3.204-.63 6.717a.23.23 0 00.225.26h2.34a.232.232 0 00.225-.203c.454-3.539.571-5.773.617-6.757a.224.224 0 00-.229-.234h-2.32a.226.226 0 00-.228.217zM5.627 5.077c.04.978.171 3.227.633 6.765a.228.228 0 01-.225.263H3.678a.234.234 0 01-.228-.203c-.457-3.567-.585-5.818-.622-6.808a.228.228 0 01.23-.237h2.34a.227.227 0 01.229.22zM65.069 6.286a.118.118 0 00-.106.114v1.87a.11.11 0 00.123.114c1.675-.158 2.91-1.359 3.076-3.176a.112.112 0 00-.03-.087.114.114 0 00-.085-.036H66.17a.111.111 0 00-.111.1c-.135.964-.674 1.087-.99 1.101zM78.377 6.44h-1.932a.12.12 0 00-.089.043.118.118 0 00-.025.094c.628 3.536 3.672 5.764 7.861 5.756a.12.12 0 00.117-.117v-1.892a.114.114 0 00-.114-.114c-2.414 0-5.048-.97-5.707-3.681a.117.117 0 00-.111-.089z"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
d: "M68.98 2.382h-2.157a.111.111 0 00-.11.112v2.25c0 .062.049.112.11.112h2.158c.061 0 .11-.05.11-.111V2.494a.111.111 0 00-.11-.112zM73.623 2.382h-2.157a.111.111 0 00-.111.112v2.25c0 .062.05.112.11.112h2.158c.062 0 .111-.05.111-.111V2.494a.111.111 0 00-.11-.112zM83.094 4.914v-.166h-2.175v.226c.02.733.066 2.448-1.101 3.66-.888.922-2.343 1.41-4.329 1.453a.114.114 0 00-.114.117l.023 1.937a.12.12 0 00.12.12c2.59-.051 4.565-.764 5.866-2.117 1.798-1.875 1.732-4.311 1.71-5.23zM79.124 2.357h-1.937a.114.114 0 00-.111.108 1.873 1.873 0 01-1.604 1.798.114.114 0 00-.097.111v1.94a.114.114 0 00.12.114 3.994 3.994 0 003.74-3.957.111.111 0 00-.11-.114zM45.186 3.053v2.03a.226.226 0 00.225.225h6.974a.108.108 0 01.109.108v2.283a.11.11 0 01-.109.111h-6.974a.226.226 0 00-.225.225v6.797a.225.225 0 00.225.225h6.974a.112.112 0 01.109.112v3.79a.224.224 0 01-.137.207.224.224 0 01-.086.018h-5.136a.226.226 0 00-.22.17l-.499 2.17a.112.112 0 00.108.136h7.77a.673.673 0 00.674-.673v-8.19a.225.225 0 00-.226-.225h-6.968a.108.108 0 01-.111-.111v-2.072a.111.111 0 01.111-.11h6.974a.225.225 0 00.225-.226v-7a.228.228 0 00-.225-.225H45.41a.226.226 0 00-.225.225zM74.57 5.632h-7.727a.112.112 0 00-.11.112v1.36a.106.106 0 00.03.08.109.109 0 00.08.032h5.739a.106.106 0 01.08.032.108.108 0 01.03.08v3.055a.112.112 0 01-.11.112h-.665a.11.11 0 00-.109.085l-.374 1.615a.113.113 0 00.022.095.112.112 0 00.087.042h2.337a.913.913 0 00.913-.913V5.858a.223.223 0 00-.223-.226zM73.358 13.62v6.417a.222.222 0 01-.226.223h-1.555a.226.226 0 00-.22.168l-.388 1.427a.114.114 0 00.112.145h4.029a.895.895 0 00.893-.896V13.62h-2.645z"
|
41
|
+
}), /*#__PURE__*/_jsx("path", {
|
42
|
+
d: "M65.81 7.984v3.156a.224.224 0 00.226.222h5.025a.222.222 0 00.222-.222V7.984a.22.22 0 00-.064-.16.224.224 0 00-.158-.066h-5.025a.225.225 0 00-.225.226zm3.587 2.111h-1.712a.114.114 0 01-.111-.111v-.859a.114.114 0 01.111-.111h1.712a.111.111 0 01.111.111v.856a.112.112 0 01-.11.114zM83.564 14.321v-1.403a.111.111 0 00-.111-.112H65.907a.111.111 0 00-.11.112v1.403c0 .062.049.112.11.112h17.546c.061 0 .111-.05.111-.112zM83.29 16.744V15.34a.111.111 0 00-.111-.111H66.184a.111.111 0 00-.111.111v1.404c0 .061.05.111.111.111H83.18c.062 0 .111-.05.111-.111zM84.212 19.15v-1.404a.111.111 0 00-.111-.112H65.263a.111.111 0 00-.112.111v1.404c0 .062.05.112.112.112H84.1c.061 0 .111-.05.111-.112zM9.97 9.724c.1 5.678-4.823 9.476-7.756 9.673A.222.222 0 002 19.62v2.06a.224.224 0 00.143.208c.028.01.058.016.088.014 2.189-.13 4.671-1.312 6.549-3.138 1.689-1.635 3.71-4.531 3.71-9.043V2.223A.222.222 0 0012.266 2H10.2a.223.223 0 00-.223.223L9.97 9.724z"
|
43
|
+
}), /*#__PURE__*/_jsx("path", {
|
44
|
+
d: "M12.475 9.724c-.103 5.678 4.83 9.476 7.753 9.673a.226.226 0 01.216.223v2.06a.225.225 0 01-.069.161.223.223 0 01-.165.061c-2.185-.13-4.67-1.312-6.545-3.138-1.69-1.635-3.71-4.531-3.71-9.043V2.223A.223.223 0 0110.178 2h2.066a.223.223 0 01.225.223l.006 7.501z"
|
45
|
+
})]
|
46
|
+
}));
|
47
|
+
});
|
48
|
+
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;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
'use client';
|
2
|
+
|
3
|
+
import Avatar from "./components/Avatar";
|
4
|
+
import Color from "./components/Color";
|
5
|
+
import Combine from "./components/Combine";
|
6
|
+
import Mono from "./components/Mono";
|
7
|
+
import Text from "./components/Text";
|
8
|
+
import { COLOR_PRIMARY, TITLE } from "./style";
|
9
|
+
var Icons = Mono;
|
10
|
+
Icons.Color = Color;
|
11
|
+
Icons.Text = Text;
|
12
|
+
Icons.Combine = Combine;
|
13
|
+
Icons.Avatar = Avatar;
|
14
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
15
|
+
Icons.title = TITLE;
|
16
|
+
export default Icons;
|
@@ -18,7 +18,7 @@ import DefaultIcon from "../ProviderIcon/DefaultIcon";
|
|
18
18
|
import { providerMappings } from "../providerConfig";
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
20
20
|
var ProviderCombine = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
21
|
-
var _Render$Icon;
|
21
|
+
var _Render$Icon, _Render$Icon2;
|
22
22
|
var originProvider = _ref.provider,
|
23
23
|
_ref$size = _ref.size,
|
24
24
|
size = _ref$size === void 0 ? 12 : _ref$size,
|
@@ -45,13 +45,11 @@ var ProviderCombine = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
45
45
|
_iterator.f();
|
46
46
|
}
|
47
47
|
}, [originProvider]);
|
48
|
-
var
|
48
|
+
var iconProps = _objectSpread({
|
49
49
|
size: size * ((Render === null || Render === void 0 ? void 0 : Render.combineMultiple) || 1),
|
50
50
|
type: type
|
51
|
-
},
|
52
|
-
|
53
|
-
type: type
|
54
|
-
}, (Render === null || Render === void 0 ? void 0 : Render.props) || {})) : /*#__PURE__*/_jsx(DefaultIcon, {
|
51
|
+
}, Render === null || Render === void 0 ? void 0 : Render.props);
|
52
|
+
var icon = Render !== null && Render !== void 0 && Render.Combine ? /*#__PURE__*/_jsx(Render.Combine, _objectSpread({}, iconProps)) : Render !== null && Render !== void 0 && (_Render$Icon = Render.Icon) !== null && _Render$Icon !== void 0 && _Render$Icon.Combine ? /*#__PURE__*/_jsx(Render.Icon.Combine, _objectSpread({}, iconProps)) : Render !== null && Render !== void 0 && (_Render$Icon2 = Render.Icon) !== null && _Render$Icon2 !== void 0 && _Render$Icon2.Text ? /*#__PURE__*/_jsx(Render.Icon.Text, _objectSpread({}, iconProps)) : /*#__PURE__*/_jsx(DefaultIcon, {
|
55
53
|
size: size
|
56
54
|
});
|
57
55
|
return /*#__PURE__*/_jsx(Flexbox, _objectSpread(_objectSpread({
|