@lobehub/icons 1.76.1 → 1.77.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/es/Search1API/components/Avatar.d.ts +5 -0
- package/es/Search1API/components/Avatar.js +27 -0
- package/es/Search1API/components/Color.d.ts +3 -0
- package/es/Search1API/components/Color.js +42 -0
- package/es/Search1API/components/Combine.d.ts +7 -0
- package/es/Search1API/components/Combine.js +32 -0
- package/es/Search1API/components/Inner.d.ts +3 -0
- package/es/Search1API/components/Inner.js +41 -0
- package/es/Search1API/components/Mono.d.ts +3 -0
- package/es/Search1API/components/Mono.js +42 -0
- package/es/Search1API/components/Text.d.ts +3 -0
- package/es/Search1API/components/Text.js +40 -0
- package/es/Search1API/index.d.ts +15 -0
- package/es/Search1API/index.js +16 -0
- package/es/Search1API/style.d.ts +4 -0
- package/es/Search1API/style.js +4 -0
- package/es/features/providerEnum.d.ts +1 -0
- package/es/features/providerEnum.js +1 -0
- package/es/icons.d.ts +1 -0
- package/es/icons.js +1 -0
- package/es/toc.js +18 -0
- package/package.json +1 -1
@@ -0,0 +1,27 @@
|
|
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 Mono from "./Inner";
|
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: Mono,
|
22
|
+
"aria-label": TITLE,
|
23
|
+
background: background || COLOR_PRIMARY,
|
24
|
+
iconMultiple: 0.5
|
25
|
+
}, rest));
|
26
|
+
});
|
27
|
+
export default Avatar;
|
@@ -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
|
+
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
|
+
clipRule: "evenodd",
|
36
|
+
d: "M12 0C5.373 0 0 5.372 0 12s5.373 12 12 12 12-5.373 12-12c0-6.628-5.373-12-12-12zm3.581 17.071c-.82.701-1.977 1.051-3.473 1.051-1.528 0-2.73-.345-3.606-1.035-.876-.691-1.313-1.64-1.313-2.847h2.315c.075.53.222.926.442 1.19.402.477 1.09.716 2.066.716.584 0 1.058-.063 1.423-.19.692-.241 1.037-.69 1.037-1.346 0-.382-.17-.68-.508-.89-.339-.204-.876-.386-1.611-.542l-1.257-.276c-1.235-.274-2.083-.57-2.545-.89-.783-.535-1.173-1.372-1.173-2.512 0-1.04.382-1.902 1.147-2.59s1.89-1.032 3.372-1.032c1.239 0 2.294.324 3.169.973.874.648 1.332 1.59 1.375 2.823H14.11c-.043-.698-.355-1.194-.936-1.488-.388-.194-.87-.292-1.445-.292-.641 0-1.152.126-1.534.378-.382.252-.573.604-.573 1.055 0 .415.188.725.565.929.242.137.756.297 1.542.48l2.037.48c.892.21 1.562.492 2.007.843.692.546 1.038 1.336 1.038 2.37 0 1.06-.41 1.941-1.23 2.642z",
|
37
|
+
fill: "#0066FF",
|
38
|
+
fillRule: "evenodd"
|
39
|
+
})]
|
40
|
+
}));
|
41
|
+
});
|
42
|
+
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,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 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: "M12.142 24c2.933 0 5.202-.686 6.809-2.06 1.608-1.373 2.41-3.1 2.41-5.18 0-2.026-.678-3.575-2.034-4.645-.873-.689-2.186-1.24-3.934-1.65L11.4 9.522c-1.541-.36-2.549-.674-3.023-.942-.739-.4-1.108-1.008-1.108-1.82 0-.886.375-1.575 1.124-2.069.749-.494 1.75-.741 3.006-.741 1.129 0 2.074.191 2.833.572 1.14.577 1.751 1.549 1.835 2.917h4.57c-.085-2.418-.984-4.263-2.696-5.534C16.225.636 14.157 0 11.729 0 8.823 0 6.62.674 5.12 2.022 3.62 3.37 2.87 5.062 2.87 7.1c0 2.233.766 3.874 2.3 4.924.905.627 2.568 1.207 4.99 1.744l2.463.54c1.44.307 2.494.662 3.159 1.064.663.412.995.994.995 1.744 0 1.286-.677 2.165-2.034 2.639-.714.248-1.643.37-2.789.37-1.912 0-3.261-.466-4.05-1.403-.43-.516-.72-1.292-.867-2.332H2.5c0 2.368.858 4.227 2.574 5.58C6.79 23.324 9.147 24 12.142 24z"
|
38
|
+
})]
|
39
|
+
}));
|
40
|
+
});
|
41
|
+
export default Icon;
|
@@ -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 0C5.373 0 0 5.372 0 12s5.373 12 12 12 12-5.373 12-12c0-6.628-5.373-12-12-12zm3.581 17.071c-.82.701-1.977 1.051-3.473 1.051-1.528 0-2.73-.345-3.606-1.035-.876-.691-1.313-1.64-1.313-2.847h2.315c.075.53.222.926.442 1.19.402.477 1.09.716 2.066.716.584 0 1.058-.063 1.423-.19.692-.241 1.037-.69 1.037-1.346 0-.382-.17-.68-.508-.89-.339-.204-.876-.386-1.611-.542l-1.257-.276c-1.235-.274-2.083-.57-2.545-.89-.783-.535-1.173-1.372-1.173-2.512 0-1.04.382-1.902 1.147-2.59s1.89-1.032 3.372-1.032c1.239 0 2.294.324 3.169.973.874.648 1.332 1.59 1.375 2.823H14.11c-.043-.698-.355-1.194-.936-1.488-.388-.194-.87-.292-1.445-.292-.641 0-1.152.126-1.534.378-.382.252-.573.604-.573 1.055 0 .415.188.725.565.929.242.137.756.297 1.542.48l2.037.48c.892.21 1.562.492 2.007.843.692.546 1.038 1.336 1.038 2.37 0 1.06-.41 1.941-1.23 2.642z"
|
39
|
+
})]
|
40
|
+
}));
|
41
|
+
});
|
42
|
+
export default Icon;
|
@@ -0,0 +1,40 @@
|
|
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 157 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: "M151.37 21.525V.475h3.203v21.05h-3.203zM132.463 21.525V.475h7.857c2.392 0 4.26.582 5.604 1.748 1.364 1.147 2.046 2.748 2.046 4.804 0 2.055-.682 3.676-2.046 4.862-1.344 1.166-3.212 1.75-5.604 1.75h-4.655v7.886h-3.202zm3.202-10.792h4.566c2.945 0 4.418-1.236 4.418-3.706 0-2.412-1.473-3.618-4.418-3.618h-4.566v7.324zM110.73 21.525l7.59-21.05h4.062l7.591 21.05h-3.41l-1.927-5.485h-8.599l-1.897 5.485h-3.41zm6.315-8.39h6.612l-3.32-9.607-3.292 9.606zM103.956 21.525V6.523h-4.447v-2.58h1.809c1.205 0 2.055-.247 2.549-.741.514-.494.771-1.404.771-2.728h2.521v21.051h-3.203zM83.059 21.525V.475h3.143v7.56c.415-.91 1.028-1.572 1.838-1.987.83-.435 1.76-.652 2.787-.652 1.72 0 3.034.563 3.943 1.69.91 1.107 1.364 2.54 1.364 4.3v10.14h-3.143v-9.31c0-2.788-.998-4.181-2.994-4.181-1.166 0-2.096.365-2.787 1.097-.672.711-1.008 1.759-1.008 3.143v9.25h-3.143zM73.135 21.88c-1.503 0-2.817-.335-3.944-1.007-1.126-.692-1.996-1.65-2.609-2.876-.613-1.245-.919-2.698-.919-4.359 0-1.66.306-3.103.92-4.329.612-1.245 1.482-2.203 2.608-2.876 1.127-.691 2.441-1.037 3.944-1.037 1.917 0 3.508.504 4.773 1.512 1.265.988 2.026 2.392 2.283 4.21l-3.29.178c-.159-1.028-.574-1.809-1.246-2.342-.672-.554-1.512-.83-2.52-.83-1.325 0-2.362.494-3.114 1.482-.73.969-1.097 2.313-1.097 4.032 0 1.74.366 3.094 1.097 4.062.752.969 1.79 1.453 3.114 1.453 1.008 0 1.848-.277 2.52-.83.672-.573 1.087-1.433 1.245-2.58l3.291.178c-.257 1.819-1.018 3.272-2.283 4.359-1.245 1.067-2.836 1.6-4.773 1.6zM56.16 21.525V5.752h2.876l.089 2.994c.296-1.028.751-1.779 1.364-2.253.632-.494 1.433-.741 2.401-.741h1.513v2.816H62.89c-1.205 0-2.105.297-2.698.89s-.89 1.512-.89 2.757v9.31H56.16zM43.9 21.88c-1.64 0-2.955-.375-3.944-1.126-.968-.75-1.453-1.808-1.453-3.172 0-1.344.406-2.402 1.216-3.173.83-.77 2.105-1.324 3.825-1.66l5.426-1.038c0-2.431-1.137-3.647-3.41-3.647-1.008 0-1.799.228-2.372.682-.573.455-.968 1.107-1.186 1.957l-3.232-.207c.297-1.582 1.028-2.827 2.194-3.736 1.186-.91 2.718-1.364 4.596-1.364 2.135 0 3.756.573 4.863 1.72 1.126 1.126 1.69 2.717 1.69 4.773v6.137c0 .376.059.643.178.801.138.138.355.208.652.208h.563v2.49c-.276.06-.662.09-1.156.09-.89 0-1.601-.189-2.135-.564-.534-.376-.86-1.028-.978-1.957-.396.83-1.078 1.502-2.046 2.016-.969.514-2.066.77-3.291.77zm.504-2.49c1.423 0 2.54-.405 3.35-1.215s1.216-1.838 1.216-3.084v-1.008l-4.626.89c-.948.177-1.62.464-2.016.86-.375.375-.563.86-.563 1.452 0 .672.227 1.196.682 1.572.474.355 1.127.533 1.957.533zM28.863 21.88c-1.542 0-2.876-.335-4.003-1.007-1.107-.692-1.966-1.65-2.58-2.876-.592-1.245-.889-2.698-.889-4.359 0-1.66.297-3.103.89-4.329.613-1.245 1.472-2.203 2.58-2.876 1.106-.691 2.41-1.037 3.913-1.037 1.423 0 2.678.336 3.766 1.008 1.087.652 1.927 1.6 2.52 2.846.613 1.245.919 2.748.919 4.507v.8H24.653c.079 1.542.484 2.699 1.215 3.47.752.77 1.76 1.156 3.025 1.156.929 0 1.69-.208 2.283-.623.613-.435 1.047-1.028 1.304-1.779l3.262.208c-.415 1.482-1.236 2.668-2.461 3.558-1.206.89-2.678 1.334-4.418 1.334zm-4.21-9.694h8.005c-.099-1.404-.504-2.442-1.215-3.114-.712-.672-1.602-1.008-2.669-1.008-1.127 0-2.056.356-2.787 1.068-.711.691-1.156 1.71-1.334 3.053zM10.54 22c-1.681 0-3.144-.306-4.39-.92-1.225-.612-2.193-1.462-2.905-2.549C2.534 17.444 2.12 16.179 2 14.736l3.291-.208c.198 1.463.731 2.59 1.601 3.38.89.791 2.125 1.186 3.706 1.186 1.364 0 2.422-.257 3.173-.77.751-.515 1.127-1.266 1.127-2.254 0-.593-.149-1.117-.445-1.571-.277-.475-.82-.9-1.63-1.275-.792-.396-1.958-.781-3.5-1.157-1.68-.395-3.024-.84-4.032-1.334-1.008-.514-1.74-1.136-2.194-1.868-.435-.75-.652-1.67-.652-2.757 0-1.206.286-2.263.86-3.173.593-.929 1.433-1.65 2.52-2.164C6.912.257 8.217 0 9.739 0c1.6 0 2.974.296 4.12.89 1.147.592 2.047 1.403 2.699 2.43.652 1.029 1.058 2.205 1.216 3.53l-3.292.177c-.158-1.206-.642-2.194-1.452-2.965-.791-.77-1.908-1.156-3.35-1.156-1.226 0-2.195.286-2.906.86-.692.553-1.038 1.294-1.038 2.223 0 .613.138 1.117.415 1.512.296.396.81.751 1.542 1.068.75.296 1.808.603 3.172.919 1.819.415 3.262.929 4.33 1.542 1.067.593 1.828 1.294 2.282 2.105.474.81.712 1.73.712 2.757 0 1.245-.326 2.333-.979 3.262-.632.909-1.522 1.61-2.668 2.105-1.147.494-2.48.741-4.003.741z"
|
37
|
+
})]
|
38
|
+
}));
|
39
|
+
});
|
40
|
+
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.Avatar = Avatar;
|
13
|
+
Icons.Combine = Combine;
|
14
|
+
Icons.colorPrimary = COLOR_PRIMARY;
|
15
|
+
Icons.title = TITLE;
|
16
|
+
export default Icons;
|
@@ -34,6 +34,7 @@ export var ModelProvider = /*#__PURE__*/function (ModelProvider) {
|
|
34
34
|
ModelProvider["Perplexity"] = "perplexity";
|
35
35
|
ModelProvider["Qwen"] = "qwen";
|
36
36
|
ModelProvider["SambaNova"] = "sambanova";
|
37
|
+
ModelProvider["Search1API"] = "search1api";
|
37
38
|
ModelProvider["SenseNova"] = "sensenova";
|
38
39
|
ModelProvider["SiliconCloud"] = "siliconcloud";
|
39
40
|
ModelProvider["Spark"] = "spark";
|
package/es/icons.d.ts
CHANGED
@@ -103,6 +103,7 @@ export { default as Replit, type CompoundedIcon as ReplitProps } from './Replit'
|
|
103
103
|
export { default as Runway, type CompoundedIcon as RunwayProps } from './Runway';
|
104
104
|
export { default as Rwkv, type CompoundedIcon as RwkvProps } from './Rwkv';
|
105
105
|
export { default as SambaNova, type CompoundedIcon as SambaNovaProps } from './SambaNova';
|
106
|
+
export { default as Search1API, type CompoundedIcon as Search1APIProps } from './Search1API';
|
106
107
|
export { default as SenseNova, type CompoundedIcon as SenseNovaProps } from './SenseNova';
|
107
108
|
export { default as SiliconCloud, type CompoundedIcon as SiliconCloudProps } from './SiliconCloud';
|
108
109
|
export { default as Spark, type CompoundedIcon as SparkProps } from './Spark';
|
package/es/icons.js
CHANGED
@@ -103,6 +103,7 @@ export { default as Replit } from "./Replit";
|
|
103
103
|
export { default as Runway } from "./Runway";
|
104
104
|
export { default as Rwkv } from "./Rwkv";
|
105
105
|
export { default as SambaNova } from "./SambaNova";
|
106
|
+
export { default as Search1API } from "./Search1API";
|
106
107
|
export { default as SenseNova } from "./SenseNova";
|
107
108
|
export { default as SiliconCloud } from "./SiliconCloud";
|
108
109
|
export { default as Spark } from "./Spark";
|
package/es/toc.js
CHANGED
@@ -1910,6 +1910,24 @@ var toc = [{
|
|
1910
1910
|
"hasTextColor": false
|
1911
1911
|
},
|
1912
1912
|
"title": "SambaNova"
|
1913
|
+
}, {
|
1914
|
+
"color": "#0066FF",
|
1915
|
+
"desc": "https://search1api.com",
|
1916
|
+
"docsUrl": "search1-api",
|
1917
|
+
"fullTitle": "Search1API",
|
1918
|
+
"group": "provider",
|
1919
|
+
"id": "Search1API",
|
1920
|
+
"param": {
|
1921
|
+
"hasAvatar": true,
|
1922
|
+
"hasBrand": false,
|
1923
|
+
"hasBrandColor": false,
|
1924
|
+
"hasColor": true,
|
1925
|
+
"hasCombine": true,
|
1926
|
+
"hasText": true,
|
1927
|
+
"hasTextCn": false,
|
1928
|
+
"hasTextColor": false
|
1929
|
+
},
|
1930
|
+
"title": "Search1API"
|
1913
1931
|
}, {
|
1914
1932
|
"color": "#5B2AD8",
|
1915
1933
|
"desc": "https://platform.sensenova.cn",
|