@arco-iconbox/react-hiagent 0.3.6 → 0.3.8
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/cjs/IconLog/index.d.ts +4 -0
- package/cjs/IconLog/index.js +63 -0
- package/cjs/IconXMind/index.d.ts +4 -0
- package/cjs/IconXMind/index.js +61 -0
- package/cjs/index.d.ts +2 -0
- package/cjs/index.js +5 -1
- package/dist/icon.min.js +1 -1
- package/esm/IconLog/index.d.ts +4 -0
- package/esm/IconLog/index.js +38 -0
- package/esm/IconXMind/index.d.ts +4 -0
- package/esm/IconXMind/index.js +36 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/package.json +1 -1
- package/src/IconLog/index.tsx +15 -0
- package/src/IconXMind/index.tsx +15 -0
- package/src/index.ts +2 -0
- package/umd/IconLog/index.d.ts +4 -0
- package/umd/IconLog/index.js +73 -0
- package/umd/IconXMind/index.d.ts +4 -0
- package/umd/IconXMind/index.js +71 -0
- package/umd/index.d.ts +2 -0
- package/umd/index.js +6 -2
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import React, { useContext } from 'react';
|
|
24
|
+
import { Context } from '../context';
|
|
25
|
+
function IconLogComponent(props, ref) {
|
|
26
|
+
var prefixFromContext = useContext(Context).prefix;
|
|
27
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? false : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
28
|
+
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
29
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
30
|
+
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-Log").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 24 24" }, rest, { ref: ref }),
|
|
31
|
+
React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#6C7587', fillRule: "evenodd", d: "M6 1.5a3 3 0 0 0-3 3v15a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9l-7.5-7.5H6Z", clipRule: "evenodd" }),
|
|
32
|
+
React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M15.6 14.052c.267 0 .507.053.72.16.21.105.389.262.537.47.004.006.012.01.02.01a.024.024 0 0 0 .022-.02l.05-.29a.3.3 0 0 1 .296-.25h.455a.3.3 0 0 1 .3.3v4.076c0 .416-.083.765-.248 1.048-.16.283-.403.496-.728.64-.325.15-.728.224-1.208.224a6.25 6.25 0 0 1-.864-.056 3.514 3.514 0 0 1-.573-.132.285.285 0 0 1-.195-.274v-.298c0-.214.217-.36.422-.298l.122.034c.187.053.376.09.568.112.197.027.395.04.592.04.31 0 .539-.083.688-.248.155-.165.232-.413.232-.744v-.088c0-.09.003-.184.008-.28a6.82 6.82 0 0 0 .022-.235.02.02 0 0 0-.036-.012 1.345 1.345 0 0 1-.53.487 1.587 1.587 0 0 1-.704.152c-.517 0-.923-.197-1.216-.592-.288-.4-.432-.955-.432-1.664 0-.48.067-.888.2-1.224.133-.341.325-.6.576-.776.256-.181.557-.272.904-.272Zm.376.968a.737.737 0 0 0-.472.152.888.888 0 0 0-.28.44 2.539 2.539 0 0 0-.088.728c0 .437.07.765.208.984.139.213.355.32.648.32.155 0 .288-.019.4-.056a.606.606 0 0 0 .272-.2.978.978 0 0 0 .168-.368c.037-.15.056-.33.056-.544v-.144c0-.315-.032-.568-.096-.76a.757.757 0 0 0-.296-.416.907.907 0 0 0-.52-.136Zm-3.173 1.288c0 .363-.05.685-.152.968a1.937 1.937 0 0 1-.424.72 1.787 1.787 0 0 1-.664.44 2.563 2.563 0 0 1-.888.144 2.44 2.44 0 0 1-.848-.144 1.878 1.878 0 0 1-.664-.44 2.124 2.124 0 0 1-.44-.72 2.859 2.859 0 0 1-.152-.968c0-.485.085-.893.256-1.224.17-.336.416-.592.736-.768.32-.176.699-.264 1.136-.264.41 0 .773.088 1.088.264.315.176.563.432.744.768.181.33.272.739.272 1.224Zm-3.016 0c0 .288.03.53.088.728a.885.885 0 0 0 .296.44.87.87 0 0 0 .52.144c.213 0 .384-.048.512-.144a.84.84 0 0 0 .288-.44c.064-.197.096-.44.096-.728s-.032-.528-.096-.72a.797.797 0 0 0-.288-.432.87.87 0 0 0-.52-.144c-.315 0-.544.11-.688.328-.139.213-.208.536-.208.968ZM7.192 18.2a.3.3 0 0 1-.3.3H6.3a.3.3 0 0 1-.3-.3v-5.48a.3.3 0 0 1 .3-.3h.592a.3.3 0 0 1 .3.3v5.48Z" }),
|
|
33
|
+
React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', fillRule: "evenodd", d: "M10.093 5.193a.66.66 0 0 0-.934 0L6.143 8.21A.487.487 0 0 0 6 8.554V9.5a.5.5 0 0 0 .5.5h.946a.483.483 0 0 0 .344-.143l3.017-3.016a.66.66 0 0 0 0-.934l-.714-.714Z", clipRule: "evenodd", opacity: ".7" }),
|
|
34
|
+
React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#B5BAC3', d: "M13.5 1.5 21 9h-4.5a3 3 0 0 1-3-3V1.5Z" }),
|
|
35
|
+
React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M11.2 8.7a.3.3 0 0 1 .3.3v.7a.3.3 0 0 1-.3.3H9.3a.3.3 0 0 1-.3-.3c0-.034.013-.066.037-.09l.847-.847a.216.216 0 0 1 .153-.063H11.2Z", opacity: ".5" }));
|
|
36
|
+
}
|
|
37
|
+
var IconLog = React.forwardRef(IconLogComponent);
|
|
38
|
+
export default IconLog;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import React, { useContext } from 'react';
|
|
24
|
+
import { Context } from '../context';
|
|
25
|
+
function IconXMindComponent(props, ref) {
|
|
26
|
+
var prefixFromContext = useContext(Context).prefix;
|
|
27
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? false : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
28
|
+
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
29
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
30
|
+
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-XMind").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 24 24" }, rest, { ref: ref }),
|
|
31
|
+
React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#F35E3C', fillRule: "evenodd", d: "M6 1.5a3 3 0 0 0-3 3v15a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9l-7.5-7.5H6Z", clipRule: "evenodd" }),
|
|
32
|
+
React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M17.619 12.521c.094-.75-.038-.914-.81-.934-.467-.013-.937.01-1.405.024-.313.011-.625.038-.938.054-.399.02-.503.136-.456.507.018.139.042.277.046.416.012.377-.115.559-.474.704-.75.305-1.651.109-2.24-.473-.479-.473-.728-1.049-.903-1.671-.178-.635-.283-.69-.969-.672a141.8 141.8 0 0 1-2.5.044c-.52.005-.75.298-.65.788.14.68.534 1.209 1.083 1.607.58.418 1.224.753 1.83 1.14.17.107.302.266.45.402-.17.086-.333.22-.514.25-.764.119-1.5.313-2.179.67-.679.358-1.172.862-1.281 1.64-.059.414.023.504.46.495.802-.016 1.601-.038 2.402-.057.426-.01.574-.123.673-.52.021-.087.026-.18.054-.265.246-.743.75-1.246 1.599-1.233 1.684.028 2.994 1.05 3.296 2.626.087.458.33.622.82.59.993-.066 1.987-.134 2.981-.187.192-.01.249-.087.277-.246.09-.502-.093-.945-.347-1.364-.51-.838-1.29-1.401-2.13-1.9-.269-.159-.542-.311-.792-.495-.152-.112-.109-.236.08-.265.252-.038.509-.043.761-.077.861-.116 1.685-.663 1.776-1.598Z" }),
|
|
33
|
+
React.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#F89E8A', d: "M13.5 1.5 21 9h-4.5a3 3 0 0 1-3-3V1.5Z" }));
|
|
34
|
+
}
|
|
35
|
+
var IconXMind = React.forwardRef(IconXMindComponent);
|
|
36
|
+
export default IconXMind;
|
package/esm/index.d.ts
CHANGED
|
@@ -867,4 +867,6 @@ export { default as IconAiSummary } from './IconAiSummary';
|
|
|
867
867
|
export { default as IconAiGenerateVariationSpark } from './IconAiGenerateVariationSpark';
|
|
868
868
|
export { default as IconA2A } from './IconA2A';
|
|
869
869
|
export { default as IconDiamond } from './IconDiamond';
|
|
870
|
+
export { default as IconXMind } from './IconXMind';
|
|
871
|
+
export { default as IconLog } from './IconLog';
|
|
870
872
|
export * from './type';
|
package/esm/index.js
CHANGED
|
@@ -867,4 +867,6 @@ export { default as IconAiSummary } from './IconAiSummary';
|
|
|
867
867
|
export { default as IconAiGenerateVariationSpark } from './IconAiGenerateVariationSpark';
|
|
868
868
|
export { default as IconA2A } from './IconA2A';
|
|
869
869
|
export { default as IconDiamond } from './IconDiamond';
|
|
870
|
+
export { default as IconXMind } from './IconXMind';
|
|
871
|
+
export { default as IconLog } from './IconLog';
|
|
870
872
|
export * from './type';
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconLogComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = false, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-Log${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : 'none'} viewBox="0 0 24 24" {...rest} ref={ref}><path fill={useCurrentColor ? 'currentColor' : '#6C7587'} fillRule="evenodd" d="M6 1.5a3 3 0 0 0-3 3v15a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9l-7.5-7.5H6Z" clipRule="evenodd"/><path fill={useCurrentColor ? 'currentColor' : '#fff'} d="M15.6 14.052c.267 0 .507.053.72.16.21.105.389.262.537.47.004.006.012.01.02.01a.024.024 0 0 0 .022-.02l.05-.29a.3.3 0 0 1 .296-.25h.455a.3.3 0 0 1 .3.3v4.076c0 .416-.083.765-.248 1.048-.16.283-.403.496-.728.64-.325.15-.728.224-1.208.224a6.25 6.25 0 0 1-.864-.056 3.514 3.514 0 0 1-.573-.132.285.285 0 0 1-.195-.274v-.298c0-.214.217-.36.422-.298l.122.034c.187.053.376.09.568.112.197.027.395.04.592.04.31 0 .539-.083.688-.248.155-.165.232-.413.232-.744v-.088c0-.09.003-.184.008-.28a6.82 6.82 0 0 0 .022-.235.02.02 0 0 0-.036-.012 1.345 1.345 0 0 1-.53.487 1.587 1.587 0 0 1-.704.152c-.517 0-.923-.197-1.216-.592-.288-.4-.432-.955-.432-1.664 0-.48.067-.888.2-1.224.133-.341.325-.6.576-.776.256-.181.557-.272.904-.272Zm.376.968a.737.737 0 0 0-.472.152.888.888 0 0 0-.28.44 2.539 2.539 0 0 0-.088.728c0 .437.07.765.208.984.139.213.355.32.648.32.155 0 .288-.019.4-.056a.606.606 0 0 0 .272-.2.978.978 0 0 0 .168-.368c.037-.15.056-.33.056-.544v-.144c0-.315-.032-.568-.096-.76a.757.757 0 0 0-.296-.416.907.907 0 0 0-.52-.136Zm-3.173 1.288c0 .363-.05.685-.152.968a1.937 1.937 0 0 1-.424.72 1.787 1.787 0 0 1-.664.44 2.563 2.563 0 0 1-.888.144 2.44 2.44 0 0 1-.848-.144 1.878 1.878 0 0 1-.664-.44 2.124 2.124 0 0 1-.44-.72 2.859 2.859 0 0 1-.152-.968c0-.485.085-.893.256-1.224.17-.336.416-.592.736-.768.32-.176.699-.264 1.136-.264.41 0 .773.088 1.088.264.315.176.563.432.744.768.181.33.272.739.272 1.224Zm-3.016 0c0 .288.03.53.088.728a.885.885 0 0 0 .296.44.87.87 0 0 0 .52.144c.213 0 .384-.048.512-.144a.84.84 0 0 0 .288-.44c.064-.197.096-.44.096-.728s-.032-.528-.096-.72a.797.797 0 0 0-.288-.432.87.87 0 0 0-.52-.144c-.315 0-.544.11-.688.328-.139.213-.208.536-.208.968ZM7.192 18.2a.3.3 0 0 1-.3.3H6.3a.3.3 0 0 1-.3-.3v-5.48a.3.3 0 0 1 .3-.3h.592a.3.3 0 0 1 .3.3v5.48Z"/><path fill={useCurrentColor ? 'currentColor' : '#fff'} fillRule="evenodd" d="M10.093 5.193a.66.66 0 0 0-.934 0L6.143 8.21A.487.487 0 0 0 6 8.554V9.5a.5.5 0 0 0 .5.5h.946a.483.483 0 0 0 .344-.143l3.017-3.016a.66.66 0 0 0 0-.934l-.714-.714Z" clipRule="evenodd" opacity=".7"/><path fill={useCurrentColor ? 'currentColor' : '#B5BAC3'} d="M13.5 1.5 21 9h-4.5a3 3 0 0 1-3-3V1.5Z"/><path fill={useCurrentColor ? 'currentColor' : '#fff'} d="M11.2 8.7a.3.3 0 0 1 .3.3v.7a.3.3 0 0 1-.3.3H9.3a.3.3 0 0 1-.3-.3c0-.034.013-.066.037-.09l.847-.847a.216.216 0 0 1 .153-.063H11.2Z" opacity=".5"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconLog = React.forwardRef(IconLogComponent);
|
|
15
|
+
export default IconLog;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconXMindComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = false, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-XMind${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : 'none'} viewBox="0 0 24 24" {...rest} ref={ref}><path fill={useCurrentColor ? 'currentColor' : '#F35E3C'} fillRule="evenodd" d="M6 1.5a3 3 0 0 0-3 3v15a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9l-7.5-7.5H6Z" clipRule="evenodd"/><path fill={useCurrentColor ? 'currentColor' : '#fff'} d="M17.619 12.521c.094-.75-.038-.914-.81-.934-.467-.013-.937.01-1.405.024-.313.011-.625.038-.938.054-.399.02-.503.136-.456.507.018.139.042.277.046.416.012.377-.115.559-.474.704-.75.305-1.651.109-2.24-.473-.479-.473-.728-1.049-.903-1.671-.178-.635-.283-.69-.969-.672a141.8 141.8 0 0 1-2.5.044c-.52.005-.75.298-.65.788.14.68.534 1.209 1.083 1.607.58.418 1.224.753 1.83 1.14.17.107.302.266.45.402-.17.086-.333.22-.514.25-.764.119-1.5.313-2.179.67-.679.358-1.172.862-1.281 1.64-.059.414.023.504.46.495.802-.016 1.601-.038 2.402-.057.426-.01.574-.123.673-.52.021-.087.026-.18.054-.265.246-.743.75-1.246 1.599-1.233 1.684.028 2.994 1.05 3.296 2.626.087.458.33.622.82.59.993-.066 1.987-.134 2.981-.187.192-.01.249-.087.277-.246.09-.502-.093-.945-.347-1.364-.51-.838-1.29-1.401-2.13-1.9-.269-.159-.542-.311-.792-.495-.152-.112-.109-.236.08-.265.252-.038.509-.043.761-.077.861-.116 1.685-.663 1.776-1.598Z"/><path fill={useCurrentColor ? 'currentColor' : '#F89E8A'} d="M13.5 1.5 21 9h-4.5a3 3 0 0 1-3-3V1.5Z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconXMind = React.forwardRef(IconXMindComponent);
|
|
15
|
+
export default IconXMind;
|
package/src/index.ts
CHANGED
|
@@ -867,5 +867,7 @@ export { default as IconAiSummary } from './IconAiSummary';
|
|
|
867
867
|
export { default as IconAiGenerateVariationSpark } from './IconAiGenerateVariationSpark';
|
|
868
868
|
export { default as IconA2A } from './IconA2A';
|
|
869
869
|
export { default as IconDiamond } from './IconDiamond';
|
|
870
|
+
export { default as IconXMind } from './IconXMind';
|
|
871
|
+
export { default as IconLog } from './IconLog';
|
|
870
872
|
|
|
871
873
|
export * from './type';
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
+
}
|
|
18
|
+
Object.defineProperty(o, k2, desc);
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
36
|
+
var t = {};
|
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
38
|
+
t[p] = s[p];
|
|
39
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
40
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
41
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
42
|
+
t[p[i]] = s[p[i]];
|
|
43
|
+
}
|
|
44
|
+
return t;
|
|
45
|
+
};
|
|
46
|
+
(function (factory) {
|
|
47
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
48
|
+
var v = factory(require, exports);
|
|
49
|
+
if (v !== undefined) module.exports = v;
|
|
50
|
+
}
|
|
51
|
+
else if (typeof define === "function" && define.amd) {
|
|
52
|
+
define(["require", "exports", "react", "../context"], factory);
|
|
53
|
+
}
|
|
54
|
+
})(function (require, exports) {
|
|
55
|
+
"use strict";
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
var react_1 = __importStar(require("react"));
|
|
58
|
+
var context_1 = require("../context");
|
|
59
|
+
function IconLogComponent(props, ref) {
|
|
60
|
+
var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
|
|
61
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? false : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
62
|
+
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-Log").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 24 24" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#6C7587', fillRule: "evenodd", d: "M6 1.5a3 3 0 0 0-3 3v15a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9l-7.5-7.5H6Z", clipRule: "evenodd" }),
|
|
66
|
+
react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M15.6 14.052c.267 0 .507.053.72.16.21.105.389.262.537.47.004.006.012.01.02.01a.024.024 0 0 0 .022-.02l.05-.29a.3.3 0 0 1 .296-.25h.455a.3.3 0 0 1 .3.3v4.076c0 .416-.083.765-.248 1.048-.16.283-.403.496-.728.64-.325.15-.728.224-1.208.224a6.25 6.25 0 0 1-.864-.056 3.514 3.514 0 0 1-.573-.132.285.285 0 0 1-.195-.274v-.298c0-.214.217-.36.422-.298l.122.034c.187.053.376.09.568.112.197.027.395.04.592.04.31 0 .539-.083.688-.248.155-.165.232-.413.232-.744v-.088c0-.09.003-.184.008-.28a6.82 6.82 0 0 0 .022-.235.02.02 0 0 0-.036-.012 1.345 1.345 0 0 1-.53.487 1.587 1.587 0 0 1-.704.152c-.517 0-.923-.197-1.216-.592-.288-.4-.432-.955-.432-1.664 0-.48.067-.888.2-1.224.133-.341.325-.6.576-.776.256-.181.557-.272.904-.272Zm.376.968a.737.737 0 0 0-.472.152.888.888 0 0 0-.28.44 2.539 2.539 0 0 0-.088.728c0 .437.07.765.208.984.139.213.355.32.648.32.155 0 .288-.019.4-.056a.606.606 0 0 0 .272-.2.978.978 0 0 0 .168-.368c.037-.15.056-.33.056-.544v-.144c0-.315-.032-.568-.096-.76a.757.757 0 0 0-.296-.416.907.907 0 0 0-.52-.136Zm-3.173 1.288c0 .363-.05.685-.152.968a1.937 1.937 0 0 1-.424.72 1.787 1.787 0 0 1-.664.44 2.563 2.563 0 0 1-.888.144 2.44 2.44 0 0 1-.848-.144 1.878 1.878 0 0 1-.664-.44 2.124 2.124 0 0 1-.44-.72 2.859 2.859 0 0 1-.152-.968c0-.485.085-.893.256-1.224.17-.336.416-.592.736-.768.32-.176.699-.264 1.136-.264.41 0 .773.088 1.088.264.315.176.563.432.744.768.181.33.272.739.272 1.224Zm-3.016 0c0 .288.03.53.088.728a.885.885 0 0 0 .296.44.87.87 0 0 0 .52.144c.213 0 .384-.048.512-.144a.84.84 0 0 0 .288-.44c.064-.197.096-.44.096-.728s-.032-.528-.096-.72a.797.797 0 0 0-.288-.432.87.87 0 0 0-.52-.144c-.315 0-.544.11-.688.328-.139.213-.208.536-.208.968ZM7.192 18.2a.3.3 0 0 1-.3.3H6.3a.3.3 0 0 1-.3-.3v-5.48a.3.3 0 0 1 .3-.3h.592a.3.3 0 0 1 .3.3v5.48Z" }),
|
|
67
|
+
react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', fillRule: "evenodd", d: "M10.093 5.193a.66.66 0 0 0-.934 0L6.143 8.21A.487.487 0 0 0 6 8.554V9.5a.5.5 0 0 0 .5.5h.946a.483.483 0 0 0 .344-.143l3.017-3.016a.66.66 0 0 0 0-.934l-.714-.714Z", clipRule: "evenodd", opacity: ".7" }),
|
|
68
|
+
react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#B5BAC3', d: "M13.5 1.5 21 9h-4.5a3 3 0 0 1-3-3V1.5Z" }),
|
|
69
|
+
react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M11.2 8.7a.3.3 0 0 1 .3.3v.7a.3.3 0 0 1-.3.3H9.3a.3.3 0 0 1-.3-.3c0-.034.013-.066.037-.09l.847-.847a.216.216 0 0 1 .153-.063H11.2Z", opacity: ".5" }));
|
|
70
|
+
}
|
|
71
|
+
var IconLog = react_1.default.forwardRef(IconLogComponent);
|
|
72
|
+
exports.default = IconLog;
|
|
73
|
+
});
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
+
}
|
|
18
|
+
Object.defineProperty(o, k2, desc);
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
36
|
+
var t = {};
|
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
38
|
+
t[p] = s[p];
|
|
39
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
40
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
41
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
42
|
+
t[p[i]] = s[p[i]];
|
|
43
|
+
}
|
|
44
|
+
return t;
|
|
45
|
+
};
|
|
46
|
+
(function (factory) {
|
|
47
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
48
|
+
var v = factory(require, exports);
|
|
49
|
+
if (v !== undefined) module.exports = v;
|
|
50
|
+
}
|
|
51
|
+
else if (typeof define === "function" && define.amd) {
|
|
52
|
+
define(["require", "exports", "react", "../context"], factory);
|
|
53
|
+
}
|
|
54
|
+
})(function (require, exports) {
|
|
55
|
+
"use strict";
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
var react_1 = __importStar(require("react"));
|
|
58
|
+
var context_1 = require("../context");
|
|
59
|
+
function IconXMindComponent(props, ref) {
|
|
60
|
+
var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
|
|
61
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? false : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
62
|
+
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-XMind").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : 'none', viewBox: "0 0 24 24" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#F35E3C', fillRule: "evenodd", d: "M6 1.5a3 3 0 0 0-3 3v15a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9l-7.5-7.5H6Z", clipRule: "evenodd" }),
|
|
66
|
+
react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#fff', d: "M17.619 12.521c.094-.75-.038-.914-.81-.934-.467-.013-.937.01-1.405.024-.313.011-.625.038-.938.054-.399.02-.503.136-.456.507.018.139.042.277.046.416.012.377-.115.559-.474.704-.75.305-1.651.109-2.24-.473-.479-.473-.728-1.049-.903-1.671-.178-.635-.283-.69-.969-.672a141.8 141.8 0 0 1-2.5.044c-.52.005-.75.298-.65.788.14.68.534 1.209 1.083 1.607.58.418 1.224.753 1.83 1.14.17.107.302.266.45.402-.17.086-.333.22-.514.25-.764.119-1.5.313-2.179.67-.679.358-1.172.862-1.281 1.64-.059.414.023.504.46.495.802-.016 1.601-.038 2.402-.057.426-.01.574-.123.673-.52.021-.087.026-.18.054-.265.246-.743.75-1.246 1.599-1.233 1.684.028 2.994 1.05 3.296 2.626.087.458.33.622.82.59.993-.066 1.987-.134 2.981-.187.192-.01.249-.087.277-.246.09-.502-.093-.945-.347-1.364-.51-.838-1.29-1.401-2.13-1.9-.269-.159-.542-.311-.792-.495-.152-.112-.109-.236.08-.265.252-.038.509-.043.761-.077.861-.116 1.685-.663 1.776-1.598Z" }),
|
|
67
|
+
react_1.default.createElement("path", { fill: useCurrentColor ? 'currentColor' : '#F89E8A', d: "M13.5 1.5 21 9h-4.5a3 3 0 0 1-3-3V1.5Z" }));
|
|
68
|
+
}
|
|
69
|
+
var IconXMind = react_1.default.forwardRef(IconXMindComponent);
|
|
70
|
+
exports.default = IconXMind;
|
|
71
|
+
});
|
package/umd/index.d.ts
CHANGED
|
@@ -867,4 +867,6 @@ export { default as IconAiSummary } from './IconAiSummary';
|
|
|
867
867
|
export { default as IconAiGenerateVariationSpark } from './IconAiGenerateVariationSpark';
|
|
868
868
|
export { default as IconA2A } from './IconA2A';
|
|
869
869
|
export { default as IconDiamond } from './IconDiamond';
|
|
870
|
+
export { default as IconXMind } from './IconXMind';
|
|
871
|
+
export { default as IconLog } from './IconLog';
|
|
870
872
|
export * from './type';
|