@lobehub/icons 4.7.0 → 4.8.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.
Files changed (168) hide show
  1. package/README.md +18 -18
  2. package/es/Amp/components/Avatar.d.ts +5 -0
  3. package/es/Amp/components/Avatar.js +25 -0
  4. package/es/Amp/components/Color.d.ts +3 -0
  5. package/es/Amp/components/Color.js +45 -0
  6. package/es/Amp/components/Combine.d.ts +7 -0
  7. package/es/Amp/components/Combine.js +32 -0
  8. package/es/Amp/components/Mono.d.ts +3 -0
  9. package/es/Amp/components/Mono.js +44 -0
  10. package/es/Amp/components/Text.d.ts +3 -0
  11. package/es/Amp/components/Text.js +39 -0
  12. package/es/Amp/index.d.ts +15 -0
  13. package/es/Amp/index.js +14 -0
  14. package/es/Amp/style.d.ts +7 -0
  15. package/es/Amp/style.js +9 -0
  16. package/es/Antigravity/components/Avatar.d.ts +5 -0
  17. package/es/Antigravity/components/Avatar.js +25 -0
  18. package/es/Antigravity/components/Color.d.ts +3 -0
  19. package/es/Antigravity/components/Color.js +348 -0
  20. package/es/Antigravity/components/Combine.d.ts +7 -0
  21. package/es/Antigravity/components/Combine.js +32 -0
  22. package/es/Antigravity/components/Mono.d.ts +3 -0
  23. package/es/Antigravity/components/Mono.js +40 -0
  24. package/es/Antigravity/components/Text.d.ts +3 -0
  25. package/es/Antigravity/components/Text.js +39 -0
  26. package/es/Antigravity/index.d.ts +16 -0
  27. package/es/Antigravity/index.js +14 -0
  28. package/es/Antigravity/style.d.ts +7 -0
  29. package/es/Antigravity/style.js +9 -0
  30. package/es/CherryStudio/components/Avatar.d.ts +5 -0
  31. package/es/CherryStudio/components/Avatar.js +25 -0
  32. package/es/CherryStudio/components/Color.d.ts +3 -0
  33. package/es/CherryStudio/components/Color.js +45 -0
  34. package/es/CherryStudio/components/Combine.d.ts +7 -0
  35. package/es/CherryStudio/components/Combine.js +32 -0
  36. package/es/CherryStudio/components/Mono.d.ts +3 -0
  37. package/es/CherryStudio/components/Mono.js +44 -0
  38. package/es/CherryStudio/components/Text.d.ts +3 -0
  39. package/es/CherryStudio/components/Text.js +57 -0
  40. package/es/CherryStudio/index.d.ts +15 -0
  41. package/es/CherryStudio/index.js +14 -0
  42. package/es/CherryStudio/style.d.ts +7 -0
  43. package/es/CherryStudio/style.js +9 -0
  44. package/es/ClaudeCode/components/Avatar.d.ts +5 -0
  45. package/es/ClaudeCode/components/Avatar.js +25 -0
  46. package/es/ClaudeCode/components/Color.d.ts +3 -0
  47. package/es/ClaudeCode/components/Color.js +41 -0
  48. package/es/ClaudeCode/components/Combine.d.ts +7 -0
  49. package/es/ClaudeCode/components/Combine.js +32 -0
  50. package/es/ClaudeCode/components/Mono.d.ts +3 -0
  51. package/es/ClaudeCode/components/Mono.js +41 -0
  52. package/es/ClaudeCode/components/Text.d.ts +3 -0
  53. package/es/ClaudeCode/components/Text.js +40 -0
  54. package/es/ClaudeCode/index.d.ts +16 -0
  55. package/es/ClaudeCode/index.js +14 -0
  56. package/es/ClaudeCode/style.d.ts +7 -0
  57. package/es/ClaudeCode/style.js +9 -0
  58. package/es/Codex/components/Avatar.d.ts +5 -0
  59. package/es/Codex/components/Avatar.js +25 -0
  60. package/es/Codex/components/Color.d.ts +3 -0
  61. package/es/Codex/components/Color.js +64 -0
  62. package/es/Codex/components/Combine.d.ts +7 -0
  63. package/es/Codex/components/Combine.js +32 -0
  64. package/es/Codex/components/Inner.d.ts +3 -0
  65. package/es/Codex/components/Inner.js +63 -0
  66. package/es/Codex/components/Mono.d.ts +3 -0
  67. package/es/Codex/components/Mono.js +41 -0
  68. package/es/Codex/components/Text.d.ts +3 -0
  69. package/es/Codex/components/Text.js +39 -0
  70. package/es/Codex/index.d.ts +15 -0
  71. package/es/Codex/index.js +14 -0
  72. package/es/Codex/style.d.ts +7 -0
  73. package/es/Codex/style.js +9 -0
  74. package/es/Junie/components/Avatar.d.ts +5 -0
  75. package/es/Junie/components/Avatar.js +25 -0
  76. package/es/Junie/components/Color.d.ts +3 -0
  77. package/es/Junie/components/Color.js +39 -0
  78. package/es/Junie/components/Combine.d.ts +7 -0
  79. package/es/Junie/components/Combine.js +32 -0
  80. package/es/Junie/components/Mono.d.ts +3 -0
  81. package/es/Junie/components/Mono.js +40 -0
  82. package/es/Junie/components/Text.d.ts +3 -0
  83. package/es/Junie/components/Text.js +39 -0
  84. package/es/Junie/index.d.ts +15 -0
  85. package/es/Junie/index.js +14 -0
  86. package/es/Junie/style.d.ts +7 -0
  87. package/es/Junie/style.js +9 -0
  88. package/es/KiloCode/components/Avatar.d.ts +5 -0
  89. package/es/KiloCode/components/Avatar.js +25 -0
  90. package/es/KiloCode/components/Combine.d.ts +5 -0
  91. package/es/KiloCode/components/Combine.js +26 -0
  92. package/es/KiloCode/components/Inner.d.ts +3 -0
  93. package/es/KiloCode/components/Inner.js +40 -0
  94. package/es/KiloCode/components/Mono.d.ts +3 -0
  95. package/es/KiloCode/components/Mono.js +40 -0
  96. package/es/KiloCode/components/Text.d.ts +3 -0
  97. package/es/KiloCode/components/Text.js +39 -0
  98. package/es/KiloCode/index.d.ts +13 -0
  99. package/es/KiloCode/index.js +12 -0
  100. package/es/KiloCode/style.d.ts +7 -0
  101. package/es/KiloCode/style.js +9 -0
  102. package/es/OpenCode/components/Avatar.d.ts +5 -0
  103. package/es/OpenCode/components/Avatar.js +25 -0
  104. package/es/OpenCode/components/Combine.d.ts +5 -0
  105. package/es/OpenCode/components/Combine.js +24 -0
  106. package/es/OpenCode/components/Mono.d.ts +3 -0
  107. package/es/OpenCode/components/Mono.js +40 -0
  108. package/es/OpenCode/components/Text.d.ts +3 -0
  109. package/es/OpenCode/components/Text.js +81 -0
  110. package/es/OpenCode/index.d.ts +13 -0
  111. package/es/OpenCode/index.js +12 -0
  112. package/es/OpenCode/style.d.ts +7 -0
  113. package/es/OpenCode/style.js +9 -0
  114. package/es/OpenHands/components/Avatar.d.ts +5 -0
  115. package/es/OpenHands/components/Avatar.js +25 -0
  116. package/es/OpenHands/components/Color.d.ts +3 -0
  117. package/es/OpenHands/components/Color.js +47 -0
  118. package/es/OpenHands/components/Combine.d.ts +7 -0
  119. package/es/OpenHands/components/Combine.js +32 -0
  120. package/es/OpenHands/components/Mono.d.ts +3 -0
  121. package/es/OpenHands/components/Mono.js +43 -0
  122. package/es/OpenHands/components/Text.d.ts +3 -0
  123. package/es/OpenHands/components/Text.js +39 -0
  124. package/es/OpenHands/index.d.ts +15 -0
  125. package/es/OpenHands/index.js +14 -0
  126. package/es/OpenHands/style.d.ts +7 -0
  127. package/es/OpenHands/style.js +9 -0
  128. package/es/RooCode/components/Avatar.d.ts +5 -0
  129. package/es/RooCode/components/Avatar.js +25 -0
  130. package/es/RooCode/components/Combine.d.ts +5 -0
  131. package/es/RooCode/components/Combine.js +26 -0
  132. package/es/RooCode/components/Mono.d.ts +3 -0
  133. package/es/RooCode/components/Mono.js +40 -0
  134. package/es/RooCode/components/Text.d.ts +3 -0
  135. package/es/RooCode/components/Text.js +39 -0
  136. package/es/RooCode/index.d.ts +13 -0
  137. package/es/RooCode/index.js +12 -0
  138. package/es/RooCode/style.d.ts +7 -0
  139. package/es/RooCode/style.js +9 -0
  140. package/es/Zencoder/components/Avatar.d.ts +5 -0
  141. package/es/Zencoder/components/Avatar.js +25 -0
  142. package/es/Zencoder/components/Color.d.ts +3 -0
  143. package/es/Zencoder/components/Color.js +39 -0
  144. package/es/Zencoder/components/Combine.d.ts +7 -0
  145. package/es/Zencoder/components/Combine.js +32 -0
  146. package/es/Zencoder/components/Mono.d.ts +3 -0
  147. package/es/Zencoder/components/Mono.js +40 -0
  148. package/es/Zencoder/components/Text.d.ts +3 -0
  149. package/es/Zencoder/components/Text.js +39 -0
  150. package/es/Zencoder/index.d.ts +15 -0
  151. package/es/Zencoder/index.js +14 -0
  152. package/es/Zencoder/style.d.ts +7 -0
  153. package/es/Zencoder/style.js +9 -0
  154. package/es/features/AgentIcon/DefaultAvatar.d.ts +4 -0
  155. package/es/features/AgentIcon/DefaultAvatar.js +40 -0
  156. package/es/features/AgentIcon/DefaultIcon.d.ts +9 -0
  157. package/es/features/AgentIcon/DefaultIcon.js +26 -0
  158. package/es/features/AgentIcon/index.d.ts +11 -0
  159. package/es/features/AgentIcon/index.js +95 -0
  160. package/es/features/ProviderIcon/DefaultIcon.js +2 -2
  161. package/es/features/agentConfig.d.ts +19 -0
  162. package/es/features/agentConfig.js +129 -0
  163. package/es/features/index.d.ts +2 -0
  164. package/es/features/index.js +2 -0
  165. package/es/icons.d.ts +11 -0
  166. package/es/icons.js +11 -0
  167. package/es/toc.js +198 -0
  168. package/package.json +1 -1
@@ -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,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ 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 { 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: "M9.898 16.313c-.302-1.02-.813-2.23-1.856-2.676-1.058-.412-2.263.079-3.13.703-.648.476-1.215 1.112-1.515 1.873-.101.26-.172.531-.206.805a4.81 4.81 0 00-.073.83c.031 1.809 1.007 3.544 2.348 4.721.73.624 1.675 1.197 2.68 1.126 1.602-.163 1.91-2.142 2.082-3.426.073-.53.076-1.067.05-1.6a10.58 10.58 0 00-.383-2.357h.003zM19.203 16.73a8.675 8.675 0 00-1.507-.545c-.77-.206-1.56-.335-2.362-.364-1.06-.028-2.37.082-3.117.94-.72.878-.624 2.18-.296 3.195.254.765.682 1.499 1.315 2.02.214.176.45.328.702.447.248.124.5.246.768.327 1.729.53 3.681.139 5.213-.773.816-.5 1.656-1.225 1.896-2.204.339-1.575-1.444-2.479-2.615-3.04l.003-.003zM23.818 8.037c-.225-.931-.651-1.956-1.506-2.486-1.391-.81-2.802.61-3.7 1.547a8.35 8.35 0 00-.981 1.263c-.434.67-.801 1.38-1.075 2.132-.352 1.001-.654 2.283-.07 3.254.612.954 1.876 1.267 2.942 1.27.807-.003 1.637-.186 2.328-.626a3.3 3.3 0 00.64-.53c.195-.199.387-.402.548-.628 1.038-1.481 1.27-3.46.874-5.201v.005zM14.937 8.762c1.097-.287 1.783-1.394 2.115-2.407.246-.768.328-1.614.124-2.408a3.457 3.457 0 00-.304-.772 4.815 4.815 0 00-.429-.715C15.354 1.015 13.546.185 11.768.021c-.956-.073-2.06.018-2.83.666-1.201 1.076-.287 2.857.328 3.997.254.471.564.909.9 1.324a10.506 10.506 0 001.695 1.682c.841.646 1.967 1.326 3.076 1.072zM5.626 12.378a10.523 10.523 0 002.125-1.092c.874-.602 1.867-1.463 1.969-2.595.065-1.132-.773-2.127-1.636-2.757-.655-.47-1.434-.81-2.252-.863a3.38 3.38 0 00-.826.05 5.016 5.016 0 00-.813.187C2.483 5.895 1.132 7.36.43 9.002c-.366.887-.62 1.968-.242 2.899.652 1.473 2.627 1.154 3.9.923a8.777 8.777 0 001.537-.446h.002z"
37
+ })]
38
+ }));
39
+ });
40
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ 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 211 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: "M2 19.166L14.613 8.652v-.42H2.307V4.823h18.44v2.452L8.134 17.865v.739l12.613-.35v3.408H2v-2.495zM46.34 14.262H28.965c.306 2.56 1.944 4.636 7.09 4.636 4.466 0 6.035-1.326 6.304-2.728h3.99c-.201 2.935-3.102 5.824-10.294 5.824-8.898 0-11.487-4.429-11.487-8.62 0-5.386 4.128-8.895 11.212-8.895 7.085 0 10.568 3.203 10.568 8.414v1.37h-.006zm-3.982-2.727c0-2.246-1.807-3.954-6.41-3.954-4.227 0-6.271 1.432-6.847 4.053h13.257v-.1zM51.319 4.824h4.364l-.069 4.934h.42c1.262-3.44 3.64-5.279 9.092-5.279 6.885 0 9.304 3.309 9.304 7.432v9.745h-4.364v-8.582c0-2.996-1.532-5.01-6.578-5.01-4.09 0-7.805 1.939-7.805 6.03v7.562h-4.364V4.824zM79.232 13.237c0-4.773 3.715-8.758 11.112-8.758s10.293 3.159 10.293 6.806l-3.99.35c-.038-1.908-1.707-3.746-6.234-3.746-4.528 0-6.816 2.352-6.816 5.348 0 2.828 1.77 5.349 6.647 5.349 4.878 0 6.44-1.77 6.472-3.678l3.99.35c0 3.509-2.758 6.737-10.63 6.737-7.874 0-10.844-4.497-10.844-8.758zM105.339 13.274c0-4.428 3.27-8.79 11.556-8.79s11.555 4.362 11.555 8.79c0 4.429-3.201 8.72-11.555 8.72s-11.556-4.26-11.556-8.72zm18.74 0c0-2.797-1.945-5.386-7.19-5.386-5.247 0-7.192 2.59-7.192 5.386 0 2.796 1.907 5.31 7.192 5.31 5.283 0 7.19-2.52 7.19-5.31zM133.084 13.036c0-4.735 3.852-8.552 10.837-8.552 4.74 0 6.978 1.327 7.866 3.648h.388V0h4.364v21.656h-4.364c.068-1.226.137-2.933.168-4.323h-.418c-.819 2.759-3.09 4.667-8.136 4.667-6.815 0-10.699-3.546-10.699-8.964h-.006zm19.084.2v-.512c0-2.658-2.457-4.836-7.635-4.836-4.739 0-7.122 2.214-7.122 5.148 0 3.41 2.621 5.555 7.091 5.555 5.11 0 7.666-3.065 7.666-5.354zM183.384 14.262h-17.377c.306 2.56 1.944 4.636 7.09 4.636 4.466 0 6.035-1.326 6.304-2.728h3.989c-.2 2.935-3.101 5.824-10.293 5.824-8.898 0-11.486-4.429-11.486-8.62 0-5.386 4.127-8.895 11.212-8.895 7.084 0 10.567 3.203 10.567 8.414v1.37h-.006zm-3.989-2.727c0-2.246-1.808-3.954-6.41-3.954-4.227 0-6.272 1.432-6.847 4.053h13.257v-.1zM188.362 4.823h4.364l-.069 5.148h.42c1.056-3.034 3.088-5.487 7.828-5.487 5.559 0 7.666 3.065 7.666 7.77 0 1.295-.068 2.452-.099 2.996h-4.09a22.37 22.37 0 00.068-1.739c0-3.61-1.194-5.448-4.802-5.448-4.465 0-6.916 3.471-6.916 7.225v6.368h-4.364V4.823h-.006z"
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;
@@ -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 = "Zencoder";
2
+ export declare const COMBINE_TEXT_MULTIPLE = 0.8;
3
+ export declare const COMBINE_SPACE_MULTIPLE = 0.3;
4
+ export declare const COLOR_PRIMARY = "#E65C2C";
5
+ export declare const AVATAR_BACKGROUND = "#000";
6
+ export declare const AVATAR_COLOR = "#E65C2C";
7
+ export declare const AVATAR_ICON_MULTIPLE = 0.6;
@@ -0,0 +1,9 @@
1
+ export var TITLE = 'Zencoder';
2
+ export var COMBINE_TEXT_MULTIPLE = 0.8;
3
+ export var COMBINE_SPACE_MULTIPLE = 0.3;
4
+ export var COLOR_PRIMARY = '#E65C2C';
5
+
6
+ // Avatar constants
7
+ export var AVATAR_BACKGROUND = '#000';
8
+ export var AVATAR_COLOR = COLOR_PRIMARY;
9
+ export var AVATAR_ICON_MULTIPLE = 0.6;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IconAvatarProps } from "../IconAvatar";
3
+ declare const DefaultAvatar: import("react").NamedExoticComponent<Omit<IconAvatarProps, "Icon">>;
4
+ export default DefaultAvatar;
@@ -0,0 +1,40 @@
1
+ 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); }
2
+ 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; }
3
+ 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; }
4
+ 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; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ 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); }
7
+ import { Center } from '@lobehub/ui';
8
+ import { cssVar } from 'antd-style';
9
+ import { memo } from 'react';
10
+ import DefaultIcon from "./DefaultIcon";
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ var DefaultAvatar = /*#__PURE__*/memo(function (_ref) {
13
+ var _ref$shape = _ref.shape,
14
+ shape = _ref$shape === void 0 ? 'circle' : _ref$shape,
15
+ color = _ref.color,
16
+ background = _ref.background,
17
+ size = _ref.size,
18
+ style = _ref.style,
19
+ _ref$iconMultiple = _ref.iconMultiple,
20
+ iconMultiple = _ref$iconMultiple === void 0 ? 0.6 : _ref$iconMultiple,
21
+ iconStyle = _ref.iconStyle,
22
+ iconClassName = _ref.iconClassName;
23
+ return /*#__PURE__*/_jsx(Center, {
24
+ flex: 'none',
25
+ style: _objectSpread({
26
+ background: background || cssVar.colorFillSecondary,
27
+ borderRadius: shape === 'circle' ? '50%' : Math.floor(size * 0.1),
28
+ color: color,
29
+ height: size,
30
+ width: size
31
+ }, style),
32
+ children: /*#__PURE__*/_jsx(DefaultIcon, {
33
+ className: iconClassName,
34
+ color: color,
35
+ size: size * iconMultiple,
36
+ style: iconStyle
37
+ })
38
+ });
39
+ });
40
+ export default DefaultAvatar;
@@ -0,0 +1,9 @@
1
+ import { CSSProperties } from 'react';
2
+ interface DefaultIconProps {
3
+ className?: string;
4
+ color?: string;
5
+ size?: number;
6
+ style?: CSSProperties;
7
+ }
8
+ declare const DefaultAvatar: import("react").NamedExoticComponent<DefaultIconProps>;
9
+ export default DefaultAvatar;
@@ -0,0 +1,26 @@
1
+ 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); }
2
+ var _excluded = ["color", "size"];
3
+ 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; }
4
+ 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; }
5
+ 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; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ 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); }
8
+ 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; }
9
+ 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; }
10
+ import { Icon } from '@lobehub/ui';
11
+ import { cssVar } from 'antd-style';
12
+ import { Bot } from 'lucide-react';
13
+ import { memo } from 'react';
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ var DefaultAvatar = /*#__PURE__*/memo(function (_ref) {
16
+ var color = _ref.color,
17
+ _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? 12 : _ref$size,
19
+ rest = _objectWithoutProperties(_ref, _excluded);
20
+ return /*#__PURE__*/_jsx(Icon, _objectSpread({
21
+ color: color || cssVar.colorTextDescription,
22
+ icon: Bot,
23
+ size: size
24
+ }, rest));
25
+ });
26
+ export default DefaultAvatar;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface AgentIconProps {
3
+ agent?: string;
4
+ className?: string;
5
+ shape?: 'circle' | 'square';
6
+ size?: number;
7
+ style?: CSSProperties;
8
+ type?: 'avatar' | 'mono' | 'color' | 'combine' | 'combine-color';
9
+ }
10
+ declare const AgentIcon: import("react").NamedExoticComponent<AgentIconProps>;
11
+ export default AgentIcon;
@@ -0,0 +1,95 @@
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 = ["agent", "size", "type", "shape"];
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 _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
11
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
12
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
13
+ 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; }
14
+ 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; }
15
+ import { memo, useMemo } from 'react';
16
+ import { agentMappings } from "../agentConfig";
17
+ import DefaultAvatar from "./DefaultAvatar";
18
+ import DefaultIcon from "./DefaultIcon";
19
+ import { jsx as _jsx } from "react/jsx-runtime";
20
+ var AgentIcon = /*#__PURE__*/memo(function (_ref) {
21
+ var originAgent = _ref.agent,
22
+ _ref$size = _ref.size,
23
+ size = _ref$size === void 0 ? 12 : _ref$size,
24
+ _ref$type = _ref.type,
25
+ type = _ref$type === void 0 ? 'avatar' : _ref$type,
26
+ shape = _ref.shape,
27
+ rest = _objectWithoutProperties(_ref, _excluded);
28
+ var Render = useMemo(function () {
29
+ if (!originAgent) return;
30
+ var model = originAgent.toLowerCase();
31
+ var _iterator = _createForOfIteratorHelper(agentMappings),
32
+ _step;
33
+ try {
34
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
35
+ var item = _step.value;
36
+ if (item.keywords.some(function (keyword) {
37
+ return new RegExp(keyword, 'i').test(model);
38
+ })) {
39
+ return item;
40
+ }
41
+ }
42
+ } catch (err) {
43
+ _iterator.e(err);
44
+ } finally {
45
+ _iterator.f();
46
+ }
47
+ }, [originAgent]);
48
+ var props = _objectSpread(_objectSpread({
49
+ size: size
50
+ }, Render === null || Render === void 0 ? void 0 : Render.props), rest);
51
+ switch (type) {
52
+ case 'avatar':
53
+ {
54
+ if (!(Render !== null && Render !== void 0 && Render.Icon)) return /*#__PURE__*/_jsx(DefaultAvatar, _objectSpread({
55
+ shape: shape
56
+ }, props));
57
+ return /*#__PURE__*/_jsx(Render.Icon.Avatar, _objectSpread({
58
+ shape: shape
59
+ }, props));
60
+ }
61
+ case 'mono':
62
+ {
63
+ if (!(Render !== null && Render !== void 0 && Render.Icon)) return /*#__PURE__*/_jsx(DefaultIcon, _objectSpread({}, props));
64
+ return /*#__PURE__*/_jsx(Render.Icon, _objectSpread({}, props));
65
+ }
66
+ case 'color':
67
+ {
68
+ var _Render$Icon;
69
+ if (!(Render !== null && Render !== void 0 && Render.Icon)) return /*#__PURE__*/_jsx(DefaultIcon, _objectSpread({}, props));
70
+ return (_Render$Icon = Render.Icon) !== null && _Render$Icon !== void 0 && _Render$Icon.Color ? /*#__PURE__*/_jsx(Render.Icon.Color, _objectSpread({}, props)) : /*#__PURE__*/_jsx(Render.Icon, _objectSpread({}, props));
71
+ }
72
+ case 'combine':
73
+ {
74
+ var _Render$Icon2, _Render$Icon3, _Render$Icon4;
75
+ if (!(Render !== null && Render !== void 0 && Render.Icon)) return /*#__PURE__*/_jsx(DefaultIcon, _objectSpread({}, props));
76
+ return (_Render$Icon2 = Render.Icon) !== null && _Render$Icon2 !== void 0 && _Render$Icon2.Combine ? /*#__PURE__*/_jsx(Render.Icon.Combine, _objectSpread({
77
+ type: 'mono'
78
+ }, props)) : (_Render$Icon3 = Render.Icon) !== null && _Render$Icon3 !== void 0 && _Render$Icon3.Brand ? /*#__PURE__*/_jsx(Render.Icon.Brand, _objectSpread({}, props)) : (_Render$Icon4 = Render.Icon) !== null && _Render$Icon4 !== void 0 && _Render$Icon4.Text ? /*#__PURE__*/_jsx(Render.Icon.Text, _objectSpread({}, props)) : /*#__PURE__*/_jsx(Render.Icon, _objectSpread({}, props));
79
+ }
80
+ case 'combine-color':
81
+ {
82
+ var _Render$Icon5, _Render$Icon6, _Render$Icon7;
83
+ if (!(Render !== null && Render !== void 0 && Render.Icon)) return /*#__PURE__*/_jsx(DefaultIcon, _objectSpread({}, props));
84
+ return (_Render$Icon5 = Render.Icon) !== null && _Render$Icon5 !== void 0 && _Render$Icon5.Combine ? /*#__PURE__*/_jsx(Render.Icon.Combine, _objectSpread({
85
+ type: 'color'
86
+ }, props)) : (_Render$Icon6 = Render.Icon) !== null && _Render$Icon6 !== void 0 && _Render$Icon6.BrandColor ? /*#__PURE__*/_jsx(Render.Icon.BrandColor, _objectSpread({}, props)) : (_Render$Icon7 = Render.Icon) !== null && _Render$Icon7 !== void 0 && _Render$Icon7.Text ? /*#__PURE__*/_jsx(Render.Icon.Text, _objectSpread({}, props)) : /*#__PURE__*/_jsx(Render.Icon, _objectSpread({}, props));
87
+ }
88
+ default:
89
+ {
90
+ return /*#__PURE__*/_jsx(DefaultIcon, _objectSpread({}, props));
91
+ }
92
+ }
93
+ });
94
+ AgentIcon.displayName = 'AgentIcon';
95
+ export default AgentIcon;
@@ -8,8 +8,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
8
8
  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; }
9
9
  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; }
10
10
  import { Icon } from '@lobehub/ui';
11
+ import { ProviderIcon } from '@lobehub/ui/icons';
11
12
  import { cssVar } from 'antd-style';
12
- import { Radar } from 'lucide-react';
13
13
  import { memo } from 'react';
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  var DefaultIcon = /*#__PURE__*/memo(function (_ref) {
@@ -19,7 +19,7 @@ var DefaultIcon = /*#__PURE__*/memo(function (_ref) {
19
19
  rest = _objectWithoutProperties(_ref, _excluded);
20
20
  return /*#__PURE__*/_jsx(Icon, _objectSpread({
21
21
  color: color || cssVar.colorTextDescription,
22
- icon: Radar,
22
+ icon: ProviderIcon,
23
23
  size: size
24
24
  }, rest));
25
25
  });
@@ -0,0 +1,19 @@
1
+ import { FC } from 'react';
2
+ import type { IconAvatarProps } from "./IconAvatar";
3
+ import type { IconCombineProps } from "./IconCombine";
4
+ import type { IconType } from "../types";
5
+ type AgentIconType = FC<IconType & any> & {
6
+ Avatar: FC<Omit<IconAvatarProps, 'Icon'> & any>;
7
+ Brand?: FC<IconType & any>;
8
+ BrandColor?: FC<IconType & any>;
9
+ Color?: FC<IconType & any>;
10
+ Combine?: FC<Omit<IconCombineProps, 'Icon' | 'Text'> & any>;
11
+ Text?: FC<IconType & any>;
12
+ };
13
+ export interface AgentMapping {
14
+ Icon: AgentIconType;
15
+ keywords: string[];
16
+ props?: any;
17
+ }
18
+ export declare const agentMappings: AgentMapping[];
19
+ export {};
@@ -0,0 +1,129 @@
1
+ import Amp from "../Amp";
2
+ import Antigravity from "../Antigravity";
3
+ import CherryStudio from "../CherryStudio";
4
+ import Claude from "../Claude";
5
+ import ClaudeCode from "../ClaudeCode";
6
+ import Cline from "../Cline";
7
+ import Codex from "../Codex";
8
+ import Copilot from "../Copilot";
9
+ import Coze from "../Coze";
10
+ import Cursor from "../Cursor";
11
+ import Dify from "../Dify";
12
+ import Gemini from "../Gemini";
13
+ import GithubCopilot from "../GithubCopilot";
14
+ import Goose from "../Goose";
15
+ import Junie from "../Junie";
16
+ import KiloCode from "../KiloCode";
17
+ import Kimi from "../Kimi";
18
+ import LobeHub from "../LobeHub";
19
+ import Manus from "../Manus";
20
+ import MetaAI from "../MetaAI";
21
+ import N8n from "../N8n";
22
+ import Notion from "../Notion";
23
+ import OpenAI from "../OpenAI";
24
+ import OpenClaw from "../OpenClaw";
25
+ import OpenCode from "../OpenCode";
26
+ import OpenHands from "../OpenHands";
27
+ import Replit from "../Replit";
28
+ import RooCode from "../RooCode";
29
+ import Trae from "../Trae";
30
+ import Windsurf from "../Windsurf";
31
+ import Zencoder from "../Zencoder";
32
+
33
+ // Define a type for our agent mapping
34
+
35
+ // Create a mapping of agent keywords to their respective Icon functions
36
+ export var agentMappings = [{
37
+ Icon: LobeHub,
38
+ keywords: ['lobehub', 'lobechat', 'lobe-ai', 'lobeai', 'lobe']
39
+ }, {
40
+ Icon: ClaudeCode,
41
+ keywords: ['claude-code', 'claudecode']
42
+ }, {
43
+ Icon: Claude,
44
+ keywords: ['claude']
45
+ }, {
46
+ Icon: Codex,
47
+ keywords: ['codex']
48
+ }, {
49
+ Icon: OpenAI,
50
+ keywords: ['openai', 'chatgpt', 'gpt']
51
+ }, {
52
+ Icon: OpenClaw,
53
+ keywords: ['open-claw', 'openclaw', 'claw', 'clawdbot', 'moltbot']
54
+ }, {
55
+ Icon: Manus,
56
+ keywords: ['manus']
57
+ }, {
58
+ Icon: CherryStudio,
59
+ keywords: ['cherry-studio', 'cherrystudio']
60
+ }, {
61
+ Icon: Cursor,
62
+ keywords: ['cursor']
63
+ }, {
64
+ Icon: Amp,
65
+ keywords: ['amp']
66
+ }, {
67
+ Icon: GithubCopilot,
68
+ keywords: ['github-copilot', 'githubcopilot', 'github']
69
+ }, {
70
+ Icon: Copilot,
71
+ keywords: ['copilot']
72
+ }, {
73
+ Icon: Gemini,
74
+ keywords: ['gemini-cli', 'gemini']
75
+ }, {
76
+ Icon: KiloCode,
77
+ keywords: ['kilo-code', 'kilocode']
78
+ }, {
79
+ Icon: Junie,
80
+ keywords: ['junie']
81
+ }, {
82
+ Icon: Replit,
83
+ keywords: ['replit']
84
+ }, {
85
+ Icon: Windsurf,
86
+ keywords: ['windsurf']
87
+ }, {
88
+ Icon: Cline,
89
+ keywords: ['cline']
90
+ }, {
91
+ Icon: OpenCode,
92
+ keywords: ['open-code', 'opencode']
93
+ }, {
94
+ Icon: OpenHands,
95
+ keywords: ['open-hands', 'openhands']
96
+ }, {
97
+ Icon: RooCode,
98
+ keywords: ['roo-code', 'roocode']
99
+ }, {
100
+ Icon: Goose,
101
+ keywords: ['goose']
102
+ }, {
103
+ Icon: Trae,
104
+ keywords: ['trae']
105
+ }, {
106
+ Icon: Zencoder,
107
+ keywords: ['zencoder']
108
+ }, {
109
+ Icon: Coze,
110
+ keywords: ['coze']
111
+ }, {
112
+ Icon: Dify,
113
+ keywords: ['dify']
114
+ }, {
115
+ Icon: Antigravity,
116
+ keywords: ['antigravity', 'google']
117
+ }, {
118
+ Icon: Kimi,
119
+ keywords: ['kimi']
120
+ }, {
121
+ Icon: MetaAI,
122
+ keywords: ['meta-ai', 'metaai']
123
+ }, {
124
+ Icon: N8n,
125
+ keywords: ['n8n']
126
+ }, {
127
+ Icon: Notion,
128
+ keywords: ['notion']
129
+ }];
@@ -1,3 +1,5 @@
1
+ export { agentMappings } from './agentConfig';
2
+ export { default as AgentIcon, type AgentIconProps } from './AgentIcon';
1
3
  export { getLobeIconCDN, type LobeIconCdnConfig } from './getLobeIconCDN';
2
4
  export { default as IconAvatar, type IconAvatarProps } from './IconAvatar';
3
5
  export { default as IconCombine, type IconCombineProps } from './IconCombine';
@@ -1,3 +1,5 @@
1
+ export { agentMappings } from "./agentConfig";
2
+ export { default as AgentIcon } from "./AgentIcon";
1
3
  export { getLobeIconCDN } from "./getLobeIconCDN";
2
4
  export { default as IconAvatar } from "./IconAvatar";
3
5
  export { default as IconCombine } from "./IconCombine";
package/es/icons.d.ts CHANGED
@@ -13,8 +13,10 @@ export { default as AkashChat, type CompoundedIcon as AkashChatProps } from './A
13
13
  export { default as AlephAlpha, type CompoundedIcon as AlephAlphaProps } from './AlephAlpha';
14
14
  export { default as Alibaba, type CompoundedIcon as AlibabaProps } from './Alibaba';
15
15
  export { default as AlibabaCloud, type CompoundedIcon as AlibabaCloudProps } from './AlibabaCloud';
16
+ export { default as Amp, type CompoundedIcon as AmpProps } from './Amp';
16
17
  export { default as AntGroup, type CompoundedIcon as AntGroupProps } from './AntGroup';
17
18
  export { default as Anthropic, type CompoundedIcon as AnthropicProps } from './Anthropic';
19
+ export { default as Antigravity, type CompoundedIcon as AntigravityProps } from './Antigravity';
18
20
  export { default as Anyscale, type CompoundedIcon as AnyscaleProps } from './Anyscale';
19
21
  export { default as Apple, type CompoundedIcon as AppleProps } from './Apple';
20
22
  export { default as Arcee, type CompoundedIcon as ArceeProps } from './Arcee';
@@ -42,13 +44,16 @@ export { default as CapCut, type CompoundedIcon as CapCutProps } from './CapCut'
42
44
  export { default as CentML, type CompoundedIcon as CentMLProps } from './CentML';
43
45
  export { default as Cerebras, type CompoundedIcon as CerebrasProps } from './Cerebras';
44
46
  export { default as ChatGLM, type CompoundedIcon as ChatGLMProps } from './ChatGLM';
47
+ export { default as CherryStudio, type CompoundedIcon as CherryStudioProps } from './CherryStudio';
45
48
  export { default as Civitai, type CompoundedIcon as CivitaiProps } from './Civitai';
46
49
  export { default as Claude, type CompoundedIcon as ClaudeProps } from './Claude';
50
+ export { default as ClaudeCode, type CompoundedIcon as ClaudeCodeProps } from './ClaudeCode';
47
51
  export { default as Cline, type CompoundedIcon as ClineProps } from './Cline';
48
52
  export { default as Clipdrop, type CompoundedIcon as ClipdropProps } from './Clipdrop';
49
53
  export { default as Cloudflare, type CompoundedIcon as CloudflareProps } from './Cloudflare';
50
54
  export { default as CodeFlicker, type CompoundedIcon as CodeFlickerProps } from './CodeFlicker';
51
55
  export { default as CodeGeeX, type CompoundedIcon as CodeGeeXProps } from './CodeGeeX';
56
+ export { default as Codex, type CompoundedIcon as CodexProps } from './Codex';
52
57
  export { default as CogVideo, type CompoundedIcon as CogVideoProps } from './CogVideo';
53
58
  export { default as CogView, type CompoundedIcon as CogViewProps } from './CogView';
54
59
  export { default as Cohere, type CompoundedIcon as CohereProps } from './Cohere';
@@ -127,6 +132,8 @@ export { default as Inflection, type CompoundedIcon as InflectionProps } from '.
127
132
  export { default as InternLM, type CompoundedIcon as InternLMProps } from './InternLM';
128
133
  export { default as Jimeng, type CompoundedIcon as JimengProps } from './Jimeng';
129
134
  export { default as Jina, type CompoundedIcon as JinaProps } from './Jina';
135
+ export { default as Junie, type CompoundedIcon as JunieProps } from './Junie';
136
+ export { default as KiloCode, type CompoundedIcon as KiloCodeProps } from './KiloCode';
130
137
  export { default as Kimi, type CompoundedIcon as KimiProps } from './Kimi';
131
138
  export { default as Kling, type CompoundedIcon as KlingProps } from './Kling';
132
139
  export { default as Kluster, type CompoundedIcon as KlusterProps } from './Kluster';
@@ -187,6 +194,8 @@ export { default as Ollama, type CompoundedIcon as OllamaProps } from './Ollama'
187
194
  export { default as OpenAI, type CompoundedIcon as OpenAIProps } from './OpenAI';
188
195
  export { default as OpenChat, type CompoundedIcon as OpenChatProps } from './OpenChat';
189
196
  export { default as OpenClaw, type CompoundedIcon as OpenClawProps } from './OpenClaw';
197
+ export { default as OpenCode, type CompoundedIcon as OpenCodeProps } from './OpenCode';
198
+ export { default as OpenHands, type CompoundedIcon as OpenHandsProps } from './OpenHands';
190
199
  export { default as OpenRouter, type CompoundedIcon as OpenRouterProps } from './OpenRouter';
191
200
  export { default as OpenWebUI, type CompoundedIcon as OpenWebUIProps } from './OpenWebUI';
192
201
  export { default as PaLM, type CompoundedIcon as PaLMProps } from './PaLM';
@@ -209,6 +218,7 @@ export { default as Recraft, type CompoundedIcon as RecraftProps } from './Recra
209
218
  export { default as Relace, type CompoundedIcon as RelaceProps } from './Relace';
210
219
  export { default as Replicate, type CompoundedIcon as ReplicateProps } from './Replicate';
211
220
  export { default as Replit, type CompoundedIcon as ReplitProps } from './Replit';
221
+ export { default as RooCode, type CompoundedIcon as RooCodeProps } from './RooCode';
212
222
  export { default as RSSHub, type CompoundedIcon as RSSHubProps } from './RSSHub';
213
223
  export { default as Runway, type CompoundedIcon as RunwayProps } from './Runway';
214
224
  export { default as Rwkv, type CompoundedIcon as RwkvProps } from './Rwkv';
@@ -268,6 +278,7 @@ export { default as Yuanbao, type CompoundedIcon as YuanbaoProps } from './Yuanb
268
278
  export { default as ZAI, type CompoundedIcon as ZAIProps } from './ZAI';
269
279
  export { default as Zapier, type CompoundedIcon as ZapierProps } from './Zapier';
270
280
  export { default as Zeabur, type CompoundedIcon as ZeaburProps } from './Zeabur';
281
+ export { default as Zencoder, type CompoundedIcon as ZencoderProps } from './Zencoder';
271
282
  export { default as ZenMux, type CompoundedIcon as ZenMuxProps } from './ZenMux';
272
283
  export { default as ZeroOne, type CompoundedIcon as ZeroOneProps } from './ZeroOne';
273
284
  export { default as Zhipu, type CompoundedIcon as ZhipuProps } from './Zhipu';