@arco-iconbox/react-hiagent 0.2.91 → 0.2.93
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/IconJinja/index.d.ts +4 -0
- package/cjs/IconJinja/index.js +61 -0
- package/cjs/IconScale/index.js +2 -3
- package/cjs/IconYAML/index.d.ts +4 -0
- package/cjs/IconYAML/index.js +61 -0
- package/cjs/index.d.ts +3 -1
- package/cjs/index.js +16 -12
- package/dist/icon.min.js +1 -1
- package/esm/IconJinja/index.d.ts +4 -0
- package/esm/IconJinja/index.js +36 -0
- package/esm/IconScale/index.js +2 -3
- package/esm/IconYAML/index.d.ts +4 -0
- package/esm/IconYAML/index.js +36 -0
- package/esm/index.d.ts +3 -1
- package/esm/index.js +3 -1
- package/package.json +1 -1
- package/src/IconJinja/index.tsx +15 -0
- package/src/IconScale/index.tsx +1 -1
- package/src/IconYAML/index.tsx +15 -0
- package/src/index.ts +3 -1
- package/umd/IconJinja/index.d.ts +4 -0
- package/umd/IconJinja/index.js +71 -0
- package/umd/IconScale/index.js +2 -3
- package/umd/IconYAML/index.d.ts +4 -0
- package/umd/IconYAML/index.js +71 -0
- package/umd/index.d.ts +3 -1
- package/umd/index.js +8 -4
|
@@ -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 IconJinjaComponent(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-Jinja").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 18 18", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
31
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5 1.125C3.90326 1.125 3.33097 1.36205 2.90901 1.78401C2.48705 2.20597 2.25 2.77826 2.25 3.375V14.625C2.25 15.2217 2.48705 15.794 2.90901 16.216C3.33097 16.6379 3.90326 16.875 4.5 16.875H13.5C14.0967 16.875 14.669 16.6379 15.091 16.216C15.5129 15.794 15.75 15.2217 15.75 14.625V6.75L10.125 1.125H4.5Z", fill: useCurrentColor ? 'currentColor' : '#B54A58' }),
|
|
32
|
+
React.createElement("path", { d: "M4.16118 7.80241H4.19738C5.97186 8.3352 8.29556 8.3352 8.94136 8.32551L9.5389 8.31584C11.3013 8.2577 12.2006 7.64741 13.7759 7.01291C13.8845 6.96931 14.0113 7.04196 13.9992 7.14368C13.9871 7.49243 13.8845 8.95518 12.6714 9.33783C12.6291 9.35236 12.5808 9.36688 12.5386 9.37657C12.4782 9.38626 12.4541 9.42986 12.442 9.45891L12.3394 9.74468C12.3213 9.8125 12.267 9.87062 12.2066 9.87062H12.104C12.0135 9.87062 11.9411 9.92874 11.935 10.0014V10.2775C11.935 10.3065 11.9652 10.3308 12.0014 10.3308H12.78C12.8524 10.3308 12.9128 10.3792 12.9128 10.4373V10.8684C12.9128 10.9265 12.8524 10.975 12.78 10.975H12.0014C11.9652 10.975 11.935 10.9992 11.935 11.0283V11.1445C11.935 11.1735 11.9652 11.1978 12.0014 11.1978H12.78C12.8524 11.2026 12.9068 11.2462 12.9068 11.3043V11.7354C12.9068 11.7839 12.8585 11.8371 12.8042 11.8371H11.9954C11.9592 11.8371 11.929 11.8613 11.929 11.8904V14.7239C11.929 14.8692 11.7781 14.9903 11.597 14.9903H11.0478C10.8667 14.9903 10.7158 14.8692 10.7158 14.7239V11.8904C10.7158 11.8613 10.6857 11.8371 10.6494 11.8371L7.25744 11.8323C7.22122 11.8323 7.19104 11.8565 7.19104 11.8856V14.7336C7.19104 14.8789 7.04016 15 6.85908 15H6.30984C6.12878 15 5.97788 14.8789 5.97788 14.7336V11.8807C5.97788 11.8516 5.94772 11.8274 5.9115 11.8274C5.9115 11.8274 5.06652 11.8226 5.05444 11.8177C5.01822 11.7984 4.99408 11.7645 4.99408 11.7257V11.2995C4.99408 11.2414 5.05444 11.1929 5.1329 11.1929H5.97186V11.1881H5.97788V11.0283C5.97788 10.9992 5.94772 10.975 5.9115 10.975H5.1329C5.06048 10.975 5.00012 10.9265 5.00012 10.8684V10.4373C5.00012 10.3792 5.06048 10.3308 5.1329 10.3308H5.9115C5.94772 10.3308 5.97788 10.3065 5.97788 10.2775V10.0014C5.97788 9.93359 5.90546 9.87062 5.8089 9.87062H5.70628C5.63386 9.87062 5.59162 9.80766 5.5735 9.74468L5.4709 9.45891C5.45882 9.42017 5.41658 9.38626 5.3683 9.37174C4.5897 9.21673 4.26982 8.7566 4.00424 8.0349V8.03007C3.97408 7.84601 4.11288 7.8121 4.16118 7.80241ZM7.17898 9.86095V10.2823C7.17898 10.3404 7.22122 10.384 7.27554 10.384H8.36196C8.41628 10.384 8.45852 10.3404 8.45852 10.2823V9.86095C8.45852 9.80766 8.41628 9.75923 8.36196 9.75923H7.27554C7.22726 9.76406 7.17898 9.80766 7.17898 9.86095ZM9.41818 9.86095V10.2823C9.41818 10.3356 9.46042 10.384 9.51474 10.384H10.6012C10.6555 10.384 10.6977 10.3404 10.6977 10.2823V9.86095C10.6977 9.80766 10.6555 9.75923 10.6012 9.75923H9.51474C9.46646 9.76406 9.41818 9.80766 9.41818 9.86095Z", fill: useCurrentColor ? 'currentColor' : '#fff' }),
|
|
33
|
+
React.createElement("path", { d: "M10.125 1.125L15.75 6.75H12.375C11.7783 6.75 11.206 6.51295 10.784 6.09099C10.3621 5.66903 10.125 5.09674 10.125 4.5V1.125Z", fill: useCurrentColor ? 'currentColor' : '#E37D8A' }));
|
|
34
|
+
}
|
|
35
|
+
var IconJinja = React.forwardRef(IconJinjaComponent);
|
|
36
|
+
export default IconJinja;
|
package/esm/IconScale/index.js
CHANGED
|
@@ -27,9 +27,8 @@ function IconScaleComponent(props, ref) {
|
|
|
27
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 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
28
28
|
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
29
29
|
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
30
|
-
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-scale").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0
|
|
31
|
-
React.createElement("
|
|
32
|
-
React.createElement("path", { d: "M16.7887 2.62204L17.378 3.21129C17.5407 3.37401 17.5407 3.63783 17.378 3.80055L13.342 7.83588 15.8083 7.83629C15.994 7.83629 16.0614 7.85563 16.1293 7.89195 16.1972 7.92826 16.2505 7.98155 16.2868 8.04945 16.3231 8.11735 16.3424 8.1847 16.3424 8.37044V8.96882C16.3424 9.15455 16.3231 9.2219 16.2868 9.2898 16.2505 9.35771 16.1972 9.41099 16.1293 9.44731 16.0614 9.48362 15.994 9.50296 15.8083 9.50296H11.3424C10.8822 9.50296 10.5091 9.12986 10.5091 8.66963V4.20377C10.5091 4.01804 10.5284 3.95069 10.5647 3.88278 10.6011 3.81488 10.6544 3.76159 10.7223 3.72528 10.7902 3.68897 10.8575 3.66963 11.0432 3.66963H11.6416C11.8274 3.66963 11.8947 3.68897 11.9626 3.72528 12.0305 3.76159 12.0838 3.81488 12.1201 3.88278 12.1564 3.95069 12.1758 4.01804 12.1758 4.20377V6.64546L16.1995 2.62204C16.3622 2.45932 16.626 2.45932 16.7887 2.62204zM9.16667 10C9.6269 10 10 10.3731 10 10.8333V15.4167C10 15.6468 9.81345 15.8333 9.58333 15.8333H8.75C8.51988 15.8333 8.33333 15.6468 8.33333 15.4167L8.33314 12.9163 4.35156 16.8985C4.18884 17.0612 3.92503 17.0612 3.76231 16.8985L3.17305 16.3092C3.01033 16.1465 3.01033 15.8827 3.17305 15.72L7.22606 11.6667H4.58333C4.35321 11.6667 4.16667 11.4801 4.16667 11.25V10.4167C4.16667 10.1865 4.35321 10 4.58333 10H9.16667z" })));
|
|
30
|
+
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-scale").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 24 24" }, rest, { ref: ref }),
|
|
31
|
+
React.createElement("path", { fillRule: "evenodd", d: "m4.515 3.146-.707.708a.5.5 0 0 0 0 .707L8.65 9.403H5.69c-.223 0-.303.024-.385.067a.454.454 0 0 0-.189.19c-.044.08-.067.162-.067.384v.719c0 .223.023.303.067.385a.454.454 0 0 0 .189.189c.082.043.162.067.385.067h5.36a1 1 0 0 0 1-1v-5.36c0-.222-.024-.303-.067-.385a.456.456 0 0 0-.19-.189c-.081-.043-.162-.066-.385-.066h-.718c-.223 0-.303.023-.385.066a.454.454 0 0 0-.189.19c-.044.08-.067.162-.067.385v2.93L5.222 3.146a.5.5 0 0 0-.707 0ZM13.661 12a1 1 0 0 0-1 1v5.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-3l4.778 4.778a.5.5 0 0 0 .707 0l.708-.707a.5.5 0 0 0 0-.707L15.99 14h3.171a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-5.5Z", clipRule: "evenodd" }));
|
|
33
32
|
}
|
|
34
33
|
var IconScale = React.forwardRef(IconScaleComponent);
|
|
35
34
|
export default IconScale;
|
|
@@ -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 IconYAMLComponent(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-YAML").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 18 18", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
31
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5 1.125C3.90326 1.125 3.33097 1.36205 2.90901 1.78401C2.48705 2.20597 2.25 2.77826 2.25 3.375V14.625C2.25 15.2217 2.48705 15.794 2.90901 16.216C3.33097 16.6379 3.90326 16.875 4.5 16.875H13.5C14.0967 16.875 14.669 16.6379 15.091 16.216C15.5129 15.794 15.75 15.2217 15.75 14.625V6.75L10.125 1.125H4.5Z", fill: useCurrentColor ? 'currentColor' : '#B0CA0C' }),
|
|
32
|
+
React.createElement("path", { d: "M10.125 1.125L15.75 6.75H12.375C11.7783 6.75 11.206 6.51295 10.784 6.09099C10.3621 5.66903 10.125 5.09674 10.125 4.5V1.125Z", fill: useCurrentColor ? 'currentColor' : '#C6E11C' }),
|
|
33
|
+
React.createElement("path", { d: "M6.70312 8.72949H6.31445C6.10977 8.72951 6.00709 8.78 5.95703 8.83789C5.90311 8.90093 5.85357 9.04611 5.85352 9.3252V10.0615C5.85352 10.3809 5.80586 10.6561 5.69629 10.8721L5.64551 10.9629C5.57244 11.0767 5.47657 11.1746 5.36426 11.25C5.47563 11.3254 5.57013 11.4211 5.64551 11.5381L5.69629 11.627C5.80593 11.8429 5.85347 12.1182 5.85352 12.4375V13.1738C5.85352 13.4527 5.90305 13.5991 5.95703 13.6621L5.97852 13.6836C6.03482 13.7324 6.136 13.7715 6.31445 13.7715H6.70312V14.7939H6.29199C5.79945 14.7939 5.39963 14.6965 5.12402 14.4717C4.83159 14.2344 4.71295 13.8236 4.71289 13.3057V12.5254C4.71287 12.3569 4.69798 12.2294 4.67383 12.1377L4.64648 12.0566C4.63172 12.0181 4.60952 11.983 4.58105 11.9531C4.55249 11.9231 4.51837 11.8984 4.48047 11.8818C4.39275 11.8436 4.25535 11.817 4.05859 11.8125L3.89355 11.8076V10.6914L4.05859 10.6875C4.26079 10.683 4.39889 10.6545 4.48438 10.6152C4.52214 10.5983 4.55666 10.5742 4.58496 10.5439C4.61319 10.5138 4.63497 10.4782 4.64941 10.4395C4.68764 10.345 4.71286 10.1943 4.71289 9.97461V9.19434C4.71292 8.67641 4.83115 8.26619 5.12305 8.02832C5.39922 7.80334 5.79928 7.70606 6.29199 7.70605H6.70312V8.72949ZM11.708 7.70605C12.2005 7.70611 12.6004 7.80342 12.876 8.02832C13.1684 8.26566 13.2861 8.67641 13.2861 9.19434V9.97461C13.2862 10.1943 13.3114 10.3455 13.3496 10.4395C13.3641 10.4782 13.3868 10.5137 13.415 10.5439C13.4432 10.574 13.477 10.5982 13.5146 10.6152C13.6001 10.6546 13.7389 10.683 13.9414 10.6875L14.1064 10.6914V11.8076L13.9414 11.8125C13.7447 11.817 13.6073 11.8436 13.5195 11.8818C13.4816 11.8984 13.4475 11.9231 13.4189 11.9531C13.3904 11.983 13.3673 12.018 13.3525 12.0566L13.3262 12.1367C13.3019 12.229 13.2861 12.3566 13.2861 12.5254V13.3057C13.2861 13.823 13.1678 14.2338 12.876 14.4717C12.6004 14.6966 12.2011 14.7939 11.708 14.7939H11.2969V13.7715H11.6846C11.8633 13.7715 11.9652 13.7319 12.0215 13.6836L12.042 13.6621C12.096 13.5991 12.1455 13.4528 12.1455 13.1738V12.4375C12.1456 12.1182 12.1937 11.8429 12.3027 11.627L12.3535 11.5371C12.4288 11.4208 12.5235 11.3253 12.6348 11.25C12.5224 11.1743 12.4265 11.0761 12.3535 10.9619L12.3037 10.8721C12.1941 10.6561 12.1455 10.3809 12.1455 10.0615V9.3252C12.1455 9.04649 12.096 8.90086 12.042 8.83789C11.9913 8.78006 11.8891 8.72949 11.6846 8.72949H11.2969V7.70605H11.708ZM5.69434 13.373L5.70117 13.4258C5.6947 13.3769 5.68965 13.3276 5.6875 13.2783L5.69434 13.373ZM7.4502 10.5996C7.80911 10.5997 8.09961 10.8911 8.09961 11.25C8.0996 11.6089 7.8091 11.9003 7.4502 11.9004C7.09122 11.9004 6.79982 11.609 6.7998 11.25C6.7998 10.891 7.09121 10.5996 7.4502 10.5996ZM9.15039 10.5996C9.5092 10.5998 9.7998 10.8911 9.7998 11.25C9.79979 11.6088 9.50919 11.9002 9.15039 11.9004C8.79141 11.9004 8.50001 11.609 8.5 11.25C8.5 10.891 8.79141 10.5996 9.15039 10.5996ZM10.8496 10.5996C11.2086 10.5996 11.5 10.891 11.5 11.25C11.5 11.609 11.2086 11.9004 10.8496 11.9004C10.4908 11.9002 10.2002 11.6089 10.2002 11.25C10.2002 10.8911 10.4908 10.5998 10.8496 10.5996ZM12.5918 10.9941L12.5977 11C12.5791 10.9806 12.5616 10.9596 12.5449 10.9385L12.5918 10.9941ZM12.3135 9.32617L12.3115 9.22168L12.3076 9.15137C12.3121 9.20537 12.3135 9.26377 12.3135 9.32617ZM12.8184 8.2041L12.8115 8.19629L12.7686 8.15918C12.7854 8.17268 12.8026 8.18835 12.8184 8.2041Z", fill: useCurrentColor ? 'currentColor' : '#F7F0FE' }));
|
|
34
|
+
}
|
|
35
|
+
var IconYAML = React.forwardRef(IconYAMLComponent);
|
|
36
|
+
export default IconYAML;
|
package/esm/index.d.ts
CHANGED
|
@@ -426,7 +426,6 @@ export { default as IconShield } from './IconShield';
|
|
|
426
426
|
export { default as IconProtection } from './IconProtection';
|
|
427
427
|
export { default as IconThreatAttribution } from './IconThreatAttribution';
|
|
428
428
|
export { default as IconWebEmb } from './IconWebEmb';
|
|
429
|
-
export { default as IconScale } from './IconScale';
|
|
430
429
|
export { default as IconOutput } from './IconOutput';
|
|
431
430
|
export { default as IconUnfold2 } from './IconUnfold2';
|
|
432
431
|
export { default as IconBatchProcessing } from './IconBatchProcessing';
|
|
@@ -854,4 +853,7 @@ export { default as IconCreateFile2 } from './IconCreateFile2';
|
|
|
854
853
|
export { default as IconSkills2 } from './IconSkills2';
|
|
855
854
|
export { default as IconSkillCenter } from './IconSkillCenter';
|
|
856
855
|
export { default as IconLlm } from './IconLlm';
|
|
856
|
+
export { default as IconScale } from './IconScale';
|
|
857
|
+
export { default as IconJinja } from './IconJinja';
|
|
858
|
+
export { default as IconYAML } from './IconYAML';
|
|
857
859
|
export * from './type';
|
package/esm/index.js
CHANGED
|
@@ -426,7 +426,6 @@ export { default as IconShield } from './IconShield';
|
|
|
426
426
|
export { default as IconProtection } from './IconProtection';
|
|
427
427
|
export { default as IconThreatAttribution } from './IconThreatAttribution';
|
|
428
428
|
export { default as IconWebEmb } from './IconWebEmb';
|
|
429
|
-
export { default as IconScale } from './IconScale';
|
|
430
429
|
export { default as IconOutput } from './IconOutput';
|
|
431
430
|
export { default as IconUnfold2 } from './IconUnfold2';
|
|
432
431
|
export { default as IconBatchProcessing } from './IconBatchProcessing';
|
|
@@ -854,4 +853,7 @@ export { default as IconCreateFile2 } from './IconCreateFile2';
|
|
|
854
853
|
export { default as IconSkills2 } from './IconSkills2';
|
|
855
854
|
export { default as IconSkillCenter } from './IconSkillCenter';
|
|
856
855
|
export { default as IconLlm } from './IconLlm';
|
|
856
|
+
export { default as IconScale } from './IconScale';
|
|
857
|
+
export { default as IconJinja } from './IconJinja';
|
|
858
|
+
export { default as IconYAML } from './IconYAML';
|
|
857
859
|
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 IconJinjaComponent(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-Jinja${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 18 18" fill={useCurrentColor ? 'currentColor' : 'none'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M4.5 1.125C3.90326 1.125 3.33097 1.36205 2.90901 1.78401C2.48705 2.20597 2.25 2.77826 2.25 3.375V14.625C2.25 15.2217 2.48705 15.794 2.90901 16.216C3.33097 16.6379 3.90326 16.875 4.5 16.875H13.5C14.0967 16.875 14.669 16.6379 15.091 16.216C15.5129 15.794 15.75 15.2217 15.75 14.625V6.75L10.125 1.125H4.5Z" fill={useCurrentColor ? 'currentColor' : '#B54A58'}/><path d="M4.16118 7.80241H4.19738C5.97186 8.3352 8.29556 8.3352 8.94136 8.32551L9.5389 8.31584C11.3013 8.2577 12.2006 7.64741 13.7759 7.01291C13.8845 6.96931 14.0113 7.04196 13.9992 7.14368C13.9871 7.49243 13.8845 8.95518 12.6714 9.33783C12.6291 9.35236 12.5808 9.36688 12.5386 9.37657C12.4782 9.38626 12.4541 9.42986 12.442 9.45891L12.3394 9.74468C12.3213 9.8125 12.267 9.87062 12.2066 9.87062H12.104C12.0135 9.87062 11.9411 9.92874 11.935 10.0014V10.2775C11.935 10.3065 11.9652 10.3308 12.0014 10.3308H12.78C12.8524 10.3308 12.9128 10.3792 12.9128 10.4373V10.8684C12.9128 10.9265 12.8524 10.975 12.78 10.975H12.0014C11.9652 10.975 11.935 10.9992 11.935 11.0283V11.1445C11.935 11.1735 11.9652 11.1978 12.0014 11.1978H12.78C12.8524 11.2026 12.9068 11.2462 12.9068 11.3043V11.7354C12.9068 11.7839 12.8585 11.8371 12.8042 11.8371H11.9954C11.9592 11.8371 11.929 11.8613 11.929 11.8904V14.7239C11.929 14.8692 11.7781 14.9903 11.597 14.9903H11.0478C10.8667 14.9903 10.7158 14.8692 10.7158 14.7239V11.8904C10.7158 11.8613 10.6857 11.8371 10.6494 11.8371L7.25744 11.8323C7.22122 11.8323 7.19104 11.8565 7.19104 11.8856V14.7336C7.19104 14.8789 7.04016 15 6.85908 15H6.30984C6.12878 15 5.97788 14.8789 5.97788 14.7336V11.8807C5.97788 11.8516 5.94772 11.8274 5.9115 11.8274C5.9115 11.8274 5.06652 11.8226 5.05444 11.8177C5.01822 11.7984 4.99408 11.7645 4.99408 11.7257V11.2995C4.99408 11.2414 5.05444 11.1929 5.1329 11.1929H5.97186V11.1881H5.97788V11.0283C5.97788 10.9992 5.94772 10.975 5.9115 10.975H5.1329C5.06048 10.975 5.00012 10.9265 5.00012 10.8684V10.4373C5.00012 10.3792 5.06048 10.3308 5.1329 10.3308H5.9115C5.94772 10.3308 5.97788 10.3065 5.97788 10.2775V10.0014C5.97788 9.93359 5.90546 9.87062 5.8089 9.87062H5.70628C5.63386 9.87062 5.59162 9.80766 5.5735 9.74468L5.4709 9.45891C5.45882 9.42017 5.41658 9.38626 5.3683 9.37174C4.5897 9.21673 4.26982 8.7566 4.00424 8.0349V8.03007C3.97408 7.84601 4.11288 7.8121 4.16118 7.80241ZM7.17898 9.86095V10.2823C7.17898 10.3404 7.22122 10.384 7.27554 10.384H8.36196C8.41628 10.384 8.45852 10.3404 8.45852 10.2823V9.86095C8.45852 9.80766 8.41628 9.75923 8.36196 9.75923H7.27554C7.22726 9.76406 7.17898 9.80766 7.17898 9.86095ZM9.41818 9.86095V10.2823C9.41818 10.3356 9.46042 10.384 9.51474 10.384H10.6012C10.6555 10.384 10.6977 10.3404 10.6977 10.2823V9.86095C10.6977 9.80766 10.6555 9.75923 10.6012 9.75923H9.51474C9.46646 9.76406 9.41818 9.80766 9.41818 9.86095Z" fill={useCurrentColor ? 'currentColor' : '#fff'}/><path d="M10.125 1.125L15.75 6.75H12.375C11.7783 6.75 11.206 6.51295 10.784 6.09099C10.3621 5.66903 10.125 5.09674 10.125 4.5V1.125Z" fill={useCurrentColor ? 'currentColor' : '#E37D8A'}/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconJinja = React.forwardRef(IconJinjaComponent);
|
|
15
|
+
export default IconJinja;
|
package/src/IconScale/index.tsx
CHANGED
|
@@ -8,7 +8,7 @@ function IconScaleComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElem
|
|
|
8
8
|
|
|
9
9
|
const prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
10
10
|
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
-
return <svg className={`${prefix}-icon ${prefix}-icon-scale${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : '#000'} viewBox="0 0
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-scale${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : '#000'} viewBox="0 0 24 24" {...rest} ref={ref}><path fillRule="evenodd" d="m4.515 3.146-.707.708a.5.5 0 0 0 0 .707L8.65 9.403H5.69c-.223 0-.303.024-.385.067a.454.454 0 0 0-.189.19c-.044.08-.067.162-.067.384v.719c0 .223.023.303.067.385a.454.454 0 0 0 .189.189c.082.043.162.067.385.067h5.36a1 1 0 0 0 1-1v-5.36c0-.222-.024-.303-.067-.385a.456.456 0 0 0-.19-.189c-.081-.043-.162-.066-.385-.066h-.718c-.223 0-.303.023-.385.066a.454.454 0 0 0-.189.19c-.044.08-.067.162-.067.385v2.93L5.222 3.146a.5.5 0 0 0-.707 0ZM13.661 12a1 1 0 0 0-1 1v5.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-3l4.778 4.778a.5.5 0 0 0 .707 0l.708-.707a.5.5 0 0 0 0-.707L15.99 14h3.171a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-5.5Z" clipRule="evenodd"/></svg>;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
const IconScale = React.forwardRef(IconScaleComponent);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconYAMLComponent(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-YAML${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 18 18" fill={useCurrentColor ? 'currentColor' : 'none'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M4.5 1.125C3.90326 1.125 3.33097 1.36205 2.90901 1.78401C2.48705 2.20597 2.25 2.77826 2.25 3.375V14.625C2.25 15.2217 2.48705 15.794 2.90901 16.216C3.33097 16.6379 3.90326 16.875 4.5 16.875H13.5C14.0967 16.875 14.669 16.6379 15.091 16.216C15.5129 15.794 15.75 15.2217 15.75 14.625V6.75L10.125 1.125H4.5Z" fill={useCurrentColor ? 'currentColor' : '#B0CA0C'}/><path d="M10.125 1.125L15.75 6.75H12.375C11.7783 6.75 11.206 6.51295 10.784 6.09099C10.3621 5.66903 10.125 5.09674 10.125 4.5V1.125Z" fill={useCurrentColor ? 'currentColor' : '#C6E11C'}/><path d="M6.70312 8.72949H6.31445C6.10977 8.72951 6.00709 8.78 5.95703 8.83789C5.90311 8.90093 5.85357 9.04611 5.85352 9.3252V10.0615C5.85352 10.3809 5.80586 10.6561 5.69629 10.8721L5.64551 10.9629C5.57244 11.0767 5.47657 11.1746 5.36426 11.25C5.47563 11.3254 5.57013 11.4211 5.64551 11.5381L5.69629 11.627C5.80593 11.8429 5.85347 12.1182 5.85352 12.4375V13.1738C5.85352 13.4527 5.90305 13.5991 5.95703 13.6621L5.97852 13.6836C6.03482 13.7324 6.136 13.7715 6.31445 13.7715H6.70312V14.7939H6.29199C5.79945 14.7939 5.39963 14.6965 5.12402 14.4717C4.83159 14.2344 4.71295 13.8236 4.71289 13.3057V12.5254C4.71287 12.3569 4.69798 12.2294 4.67383 12.1377L4.64648 12.0566C4.63172 12.0181 4.60952 11.983 4.58105 11.9531C4.55249 11.9231 4.51837 11.8984 4.48047 11.8818C4.39275 11.8436 4.25535 11.817 4.05859 11.8125L3.89355 11.8076V10.6914L4.05859 10.6875C4.26079 10.683 4.39889 10.6545 4.48438 10.6152C4.52214 10.5983 4.55666 10.5742 4.58496 10.5439C4.61319 10.5138 4.63497 10.4782 4.64941 10.4395C4.68764 10.345 4.71286 10.1943 4.71289 9.97461V9.19434C4.71292 8.67641 4.83115 8.26619 5.12305 8.02832C5.39922 7.80334 5.79928 7.70606 6.29199 7.70605H6.70312V8.72949ZM11.708 7.70605C12.2005 7.70611 12.6004 7.80342 12.876 8.02832C13.1684 8.26566 13.2861 8.67641 13.2861 9.19434V9.97461C13.2862 10.1943 13.3114 10.3455 13.3496 10.4395C13.3641 10.4782 13.3868 10.5137 13.415 10.5439C13.4432 10.574 13.477 10.5982 13.5146 10.6152C13.6001 10.6546 13.7389 10.683 13.9414 10.6875L14.1064 10.6914V11.8076L13.9414 11.8125C13.7447 11.817 13.6073 11.8436 13.5195 11.8818C13.4816 11.8984 13.4475 11.9231 13.4189 11.9531C13.3904 11.983 13.3673 12.018 13.3525 12.0566L13.3262 12.1367C13.3019 12.229 13.2861 12.3566 13.2861 12.5254V13.3057C13.2861 13.823 13.1678 14.2338 12.876 14.4717C12.6004 14.6966 12.2011 14.7939 11.708 14.7939H11.2969V13.7715H11.6846C11.8633 13.7715 11.9652 13.7319 12.0215 13.6836L12.042 13.6621C12.096 13.5991 12.1455 13.4528 12.1455 13.1738V12.4375C12.1456 12.1182 12.1937 11.8429 12.3027 11.627L12.3535 11.5371C12.4288 11.4208 12.5235 11.3253 12.6348 11.25C12.5224 11.1743 12.4265 11.0761 12.3535 10.9619L12.3037 10.8721C12.1941 10.6561 12.1455 10.3809 12.1455 10.0615V9.3252C12.1455 9.04649 12.096 8.90086 12.042 8.83789C11.9913 8.78006 11.8891 8.72949 11.6846 8.72949H11.2969V7.70605H11.708ZM5.69434 13.373L5.70117 13.4258C5.6947 13.3769 5.68965 13.3276 5.6875 13.2783L5.69434 13.373ZM7.4502 10.5996C7.80911 10.5997 8.09961 10.8911 8.09961 11.25C8.0996 11.6089 7.8091 11.9003 7.4502 11.9004C7.09122 11.9004 6.79982 11.609 6.7998 11.25C6.7998 10.891 7.09121 10.5996 7.4502 10.5996ZM9.15039 10.5996C9.5092 10.5998 9.7998 10.8911 9.7998 11.25C9.79979 11.6088 9.50919 11.9002 9.15039 11.9004C8.79141 11.9004 8.50001 11.609 8.5 11.25C8.5 10.891 8.79141 10.5996 9.15039 10.5996ZM10.8496 10.5996C11.2086 10.5996 11.5 10.891 11.5 11.25C11.5 11.609 11.2086 11.9004 10.8496 11.9004C10.4908 11.9002 10.2002 11.6089 10.2002 11.25C10.2002 10.8911 10.4908 10.5998 10.8496 10.5996ZM12.5918 10.9941L12.5977 11C12.5791 10.9806 12.5616 10.9596 12.5449 10.9385L12.5918 10.9941ZM12.3135 9.32617L12.3115 9.22168L12.3076 9.15137C12.3121 9.20537 12.3135 9.26377 12.3135 9.32617ZM12.8184 8.2041L12.8115 8.19629L12.7686 8.15918C12.7854 8.17268 12.8026 8.18835 12.8184 8.2041Z" fill={useCurrentColor ? 'currentColor' : '#F7F0FE'}/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconYAML = React.forwardRef(IconYAMLComponent);
|
|
15
|
+
export default IconYAML;
|
package/src/index.ts
CHANGED
|
@@ -426,7 +426,6 @@ export { default as IconShield } from './IconShield';
|
|
|
426
426
|
export { default as IconProtection } from './IconProtection';
|
|
427
427
|
export { default as IconThreatAttribution } from './IconThreatAttribution';
|
|
428
428
|
export { default as IconWebEmb } from './IconWebEmb';
|
|
429
|
-
export { default as IconScale } from './IconScale';
|
|
430
429
|
export { default as IconOutput } from './IconOutput';
|
|
431
430
|
export { default as IconUnfold2 } from './IconUnfold2';
|
|
432
431
|
export { default as IconBatchProcessing } from './IconBatchProcessing';
|
|
@@ -854,5 +853,8 @@ export { default as IconCreateFile2 } from './IconCreateFile2';
|
|
|
854
853
|
export { default as IconSkills2 } from './IconSkills2';
|
|
855
854
|
export { default as IconSkillCenter } from './IconSkillCenter';
|
|
856
855
|
export { default as IconLlm } from './IconLlm';
|
|
856
|
+
export { default as IconScale } from './IconScale';
|
|
857
|
+
export { default as IconJinja } from './IconJinja';
|
|
858
|
+
export { default as IconYAML } from './IconYAML';
|
|
857
859
|
|
|
858
860
|
export * from './type';
|
|
@@ -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 IconJinjaComponent(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-Jinja").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 18 18", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5 1.125C3.90326 1.125 3.33097 1.36205 2.90901 1.78401C2.48705 2.20597 2.25 2.77826 2.25 3.375V14.625C2.25 15.2217 2.48705 15.794 2.90901 16.216C3.33097 16.6379 3.90326 16.875 4.5 16.875H13.5C14.0967 16.875 14.669 16.6379 15.091 16.216C15.5129 15.794 15.75 15.2217 15.75 14.625V6.75L10.125 1.125H4.5Z", fill: useCurrentColor ? 'currentColor' : '#B54A58' }),
|
|
66
|
+
react_1.default.createElement("path", { d: "M4.16118 7.80241H4.19738C5.97186 8.3352 8.29556 8.3352 8.94136 8.32551L9.5389 8.31584C11.3013 8.2577 12.2006 7.64741 13.7759 7.01291C13.8845 6.96931 14.0113 7.04196 13.9992 7.14368C13.9871 7.49243 13.8845 8.95518 12.6714 9.33783C12.6291 9.35236 12.5808 9.36688 12.5386 9.37657C12.4782 9.38626 12.4541 9.42986 12.442 9.45891L12.3394 9.74468C12.3213 9.8125 12.267 9.87062 12.2066 9.87062H12.104C12.0135 9.87062 11.9411 9.92874 11.935 10.0014V10.2775C11.935 10.3065 11.9652 10.3308 12.0014 10.3308H12.78C12.8524 10.3308 12.9128 10.3792 12.9128 10.4373V10.8684C12.9128 10.9265 12.8524 10.975 12.78 10.975H12.0014C11.9652 10.975 11.935 10.9992 11.935 11.0283V11.1445C11.935 11.1735 11.9652 11.1978 12.0014 11.1978H12.78C12.8524 11.2026 12.9068 11.2462 12.9068 11.3043V11.7354C12.9068 11.7839 12.8585 11.8371 12.8042 11.8371H11.9954C11.9592 11.8371 11.929 11.8613 11.929 11.8904V14.7239C11.929 14.8692 11.7781 14.9903 11.597 14.9903H11.0478C10.8667 14.9903 10.7158 14.8692 10.7158 14.7239V11.8904C10.7158 11.8613 10.6857 11.8371 10.6494 11.8371L7.25744 11.8323C7.22122 11.8323 7.19104 11.8565 7.19104 11.8856V14.7336C7.19104 14.8789 7.04016 15 6.85908 15H6.30984C6.12878 15 5.97788 14.8789 5.97788 14.7336V11.8807C5.97788 11.8516 5.94772 11.8274 5.9115 11.8274C5.9115 11.8274 5.06652 11.8226 5.05444 11.8177C5.01822 11.7984 4.99408 11.7645 4.99408 11.7257V11.2995C4.99408 11.2414 5.05444 11.1929 5.1329 11.1929H5.97186V11.1881H5.97788V11.0283C5.97788 10.9992 5.94772 10.975 5.9115 10.975H5.1329C5.06048 10.975 5.00012 10.9265 5.00012 10.8684V10.4373C5.00012 10.3792 5.06048 10.3308 5.1329 10.3308H5.9115C5.94772 10.3308 5.97788 10.3065 5.97788 10.2775V10.0014C5.97788 9.93359 5.90546 9.87062 5.8089 9.87062H5.70628C5.63386 9.87062 5.59162 9.80766 5.5735 9.74468L5.4709 9.45891C5.45882 9.42017 5.41658 9.38626 5.3683 9.37174C4.5897 9.21673 4.26982 8.7566 4.00424 8.0349V8.03007C3.97408 7.84601 4.11288 7.8121 4.16118 7.80241ZM7.17898 9.86095V10.2823C7.17898 10.3404 7.22122 10.384 7.27554 10.384H8.36196C8.41628 10.384 8.45852 10.3404 8.45852 10.2823V9.86095C8.45852 9.80766 8.41628 9.75923 8.36196 9.75923H7.27554C7.22726 9.76406 7.17898 9.80766 7.17898 9.86095ZM9.41818 9.86095V10.2823C9.41818 10.3356 9.46042 10.384 9.51474 10.384H10.6012C10.6555 10.384 10.6977 10.3404 10.6977 10.2823V9.86095C10.6977 9.80766 10.6555 9.75923 10.6012 9.75923H9.51474C9.46646 9.76406 9.41818 9.80766 9.41818 9.86095Z", fill: useCurrentColor ? 'currentColor' : '#fff' }),
|
|
67
|
+
react_1.default.createElement("path", { d: "M10.125 1.125L15.75 6.75H12.375C11.7783 6.75 11.206 6.51295 10.784 6.09099C10.3621 5.66903 10.125 5.09674 10.125 4.5V1.125Z", fill: useCurrentColor ? 'currentColor' : '#E37D8A' }));
|
|
68
|
+
}
|
|
69
|
+
var IconJinja = react_1.default.forwardRef(IconJinjaComponent);
|
|
70
|
+
exports.default = IconJinja;
|
|
71
|
+
});
|
package/umd/IconScale/index.js
CHANGED
|
@@ -61,9 +61,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
61
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 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
62
62
|
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
63
63
|
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
-
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-scale").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0
|
|
65
|
-
react_1.default.createElement("
|
|
66
|
-
react_1.default.createElement("path", { d: "M16.7887 2.62204L17.378 3.21129C17.5407 3.37401 17.5407 3.63783 17.378 3.80055L13.342 7.83588 15.8083 7.83629C15.994 7.83629 16.0614 7.85563 16.1293 7.89195 16.1972 7.92826 16.2505 7.98155 16.2868 8.04945 16.3231 8.11735 16.3424 8.1847 16.3424 8.37044V8.96882C16.3424 9.15455 16.3231 9.2219 16.2868 9.2898 16.2505 9.35771 16.1972 9.41099 16.1293 9.44731 16.0614 9.48362 15.994 9.50296 15.8083 9.50296H11.3424C10.8822 9.50296 10.5091 9.12986 10.5091 8.66963V4.20377C10.5091 4.01804 10.5284 3.95069 10.5647 3.88278 10.6011 3.81488 10.6544 3.76159 10.7223 3.72528 10.7902 3.68897 10.8575 3.66963 11.0432 3.66963H11.6416C11.8274 3.66963 11.8947 3.68897 11.9626 3.72528 12.0305 3.76159 12.0838 3.81488 12.1201 3.88278 12.1564 3.95069 12.1758 4.01804 12.1758 4.20377V6.64546L16.1995 2.62204C16.3622 2.45932 16.626 2.45932 16.7887 2.62204zM9.16667 10C9.6269 10 10 10.3731 10 10.8333V15.4167C10 15.6468 9.81345 15.8333 9.58333 15.8333H8.75C8.51988 15.8333 8.33333 15.6468 8.33333 15.4167L8.33314 12.9163 4.35156 16.8985C4.18884 17.0612 3.92503 17.0612 3.76231 16.8985L3.17305 16.3092C3.01033 16.1465 3.01033 15.8827 3.17305 15.72L7.22606 11.6667H4.58333C4.35321 11.6667 4.16667 11.4801 4.16667 11.25V10.4167C4.16667 10.1865 4.35321 10 4.58333 10H9.16667z" })));
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-scale").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 24 24" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { fillRule: "evenodd", d: "m4.515 3.146-.707.708a.5.5 0 0 0 0 .707L8.65 9.403H5.69c-.223 0-.303.024-.385.067a.454.454 0 0 0-.189.19c-.044.08-.067.162-.067.384v.719c0 .223.023.303.067.385a.454.454 0 0 0 .189.189c.082.043.162.067.385.067h5.36a1 1 0 0 0 1-1v-5.36c0-.222-.024-.303-.067-.385a.456.456 0 0 0-.19-.189c-.081-.043-.162-.066-.385-.066h-.718c-.223 0-.303.023-.385.066a.454.454 0 0 0-.189.19c-.044.08-.067.162-.067.385v2.93L5.222 3.146a.5.5 0 0 0-.707 0ZM13.661 12a1 1 0 0 0-1 1v5.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-3l4.778 4.778a.5.5 0 0 0 .707 0l.708-.707a.5.5 0 0 0 0-.707L15.99 14h3.171a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-5.5Z", clipRule: "evenodd" }));
|
|
67
66
|
}
|
|
68
67
|
var IconScale = react_1.default.forwardRef(IconScaleComponent);
|
|
69
68
|
exports.default = IconScale;
|
|
@@ -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 IconYAMLComponent(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-YAML").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 18 18", fill: useCurrentColor ? 'currentColor' : 'none', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5 1.125C3.90326 1.125 3.33097 1.36205 2.90901 1.78401C2.48705 2.20597 2.25 2.77826 2.25 3.375V14.625C2.25 15.2217 2.48705 15.794 2.90901 16.216C3.33097 16.6379 3.90326 16.875 4.5 16.875H13.5C14.0967 16.875 14.669 16.6379 15.091 16.216C15.5129 15.794 15.75 15.2217 15.75 14.625V6.75L10.125 1.125H4.5Z", fill: useCurrentColor ? 'currentColor' : '#B0CA0C' }),
|
|
66
|
+
react_1.default.createElement("path", { d: "M10.125 1.125L15.75 6.75H12.375C11.7783 6.75 11.206 6.51295 10.784 6.09099C10.3621 5.66903 10.125 5.09674 10.125 4.5V1.125Z", fill: useCurrentColor ? 'currentColor' : '#C6E11C' }),
|
|
67
|
+
react_1.default.createElement("path", { d: "M6.70312 8.72949H6.31445C6.10977 8.72951 6.00709 8.78 5.95703 8.83789C5.90311 8.90093 5.85357 9.04611 5.85352 9.3252V10.0615C5.85352 10.3809 5.80586 10.6561 5.69629 10.8721L5.64551 10.9629C5.57244 11.0767 5.47657 11.1746 5.36426 11.25C5.47563 11.3254 5.57013 11.4211 5.64551 11.5381L5.69629 11.627C5.80593 11.8429 5.85347 12.1182 5.85352 12.4375V13.1738C5.85352 13.4527 5.90305 13.5991 5.95703 13.6621L5.97852 13.6836C6.03482 13.7324 6.136 13.7715 6.31445 13.7715H6.70312V14.7939H6.29199C5.79945 14.7939 5.39963 14.6965 5.12402 14.4717C4.83159 14.2344 4.71295 13.8236 4.71289 13.3057V12.5254C4.71287 12.3569 4.69798 12.2294 4.67383 12.1377L4.64648 12.0566C4.63172 12.0181 4.60952 11.983 4.58105 11.9531C4.55249 11.9231 4.51837 11.8984 4.48047 11.8818C4.39275 11.8436 4.25535 11.817 4.05859 11.8125L3.89355 11.8076V10.6914L4.05859 10.6875C4.26079 10.683 4.39889 10.6545 4.48438 10.6152C4.52214 10.5983 4.55666 10.5742 4.58496 10.5439C4.61319 10.5138 4.63497 10.4782 4.64941 10.4395C4.68764 10.345 4.71286 10.1943 4.71289 9.97461V9.19434C4.71292 8.67641 4.83115 8.26619 5.12305 8.02832C5.39922 7.80334 5.79928 7.70606 6.29199 7.70605H6.70312V8.72949ZM11.708 7.70605C12.2005 7.70611 12.6004 7.80342 12.876 8.02832C13.1684 8.26566 13.2861 8.67641 13.2861 9.19434V9.97461C13.2862 10.1943 13.3114 10.3455 13.3496 10.4395C13.3641 10.4782 13.3868 10.5137 13.415 10.5439C13.4432 10.574 13.477 10.5982 13.5146 10.6152C13.6001 10.6546 13.7389 10.683 13.9414 10.6875L14.1064 10.6914V11.8076L13.9414 11.8125C13.7447 11.817 13.6073 11.8436 13.5195 11.8818C13.4816 11.8984 13.4475 11.9231 13.4189 11.9531C13.3904 11.983 13.3673 12.018 13.3525 12.0566L13.3262 12.1367C13.3019 12.229 13.2861 12.3566 13.2861 12.5254V13.3057C13.2861 13.823 13.1678 14.2338 12.876 14.4717C12.6004 14.6966 12.2011 14.7939 11.708 14.7939H11.2969V13.7715H11.6846C11.8633 13.7715 11.9652 13.7319 12.0215 13.6836L12.042 13.6621C12.096 13.5991 12.1455 13.4528 12.1455 13.1738V12.4375C12.1456 12.1182 12.1937 11.8429 12.3027 11.627L12.3535 11.5371C12.4288 11.4208 12.5235 11.3253 12.6348 11.25C12.5224 11.1743 12.4265 11.0761 12.3535 10.9619L12.3037 10.8721C12.1941 10.6561 12.1455 10.3809 12.1455 10.0615V9.3252C12.1455 9.04649 12.096 8.90086 12.042 8.83789C11.9913 8.78006 11.8891 8.72949 11.6846 8.72949H11.2969V7.70605H11.708ZM5.69434 13.373L5.70117 13.4258C5.6947 13.3769 5.68965 13.3276 5.6875 13.2783L5.69434 13.373ZM7.4502 10.5996C7.80911 10.5997 8.09961 10.8911 8.09961 11.25C8.0996 11.6089 7.8091 11.9003 7.4502 11.9004C7.09122 11.9004 6.79982 11.609 6.7998 11.25C6.7998 10.891 7.09121 10.5996 7.4502 10.5996ZM9.15039 10.5996C9.5092 10.5998 9.7998 10.8911 9.7998 11.25C9.79979 11.6088 9.50919 11.9002 9.15039 11.9004C8.79141 11.9004 8.50001 11.609 8.5 11.25C8.5 10.891 8.79141 10.5996 9.15039 10.5996ZM10.8496 10.5996C11.2086 10.5996 11.5 10.891 11.5 11.25C11.5 11.609 11.2086 11.9004 10.8496 11.9004C10.4908 11.9002 10.2002 11.6089 10.2002 11.25C10.2002 10.8911 10.4908 10.5998 10.8496 10.5996ZM12.5918 10.9941L12.5977 11C12.5791 10.9806 12.5616 10.9596 12.5449 10.9385L12.5918 10.9941ZM12.3135 9.32617L12.3115 9.22168L12.3076 9.15137C12.3121 9.20537 12.3135 9.26377 12.3135 9.32617ZM12.8184 8.2041L12.8115 8.19629L12.7686 8.15918C12.7854 8.17268 12.8026 8.18835 12.8184 8.2041Z", fill: useCurrentColor ? 'currentColor' : '#F7F0FE' }));
|
|
68
|
+
}
|
|
69
|
+
var IconYAML = react_1.default.forwardRef(IconYAMLComponent);
|
|
70
|
+
exports.default = IconYAML;
|
|
71
|
+
});
|
package/umd/index.d.ts
CHANGED
|
@@ -426,7 +426,6 @@ export { default as IconShield } from './IconShield';
|
|
|
426
426
|
export { default as IconProtection } from './IconProtection';
|
|
427
427
|
export { default as IconThreatAttribution } from './IconThreatAttribution';
|
|
428
428
|
export { default as IconWebEmb } from './IconWebEmb';
|
|
429
|
-
export { default as IconScale } from './IconScale';
|
|
430
429
|
export { default as IconOutput } from './IconOutput';
|
|
431
430
|
export { default as IconUnfold2 } from './IconUnfold2';
|
|
432
431
|
export { default as IconBatchProcessing } from './IconBatchProcessing';
|
|
@@ -854,4 +853,7 @@ export { default as IconCreateFile2 } from './IconCreateFile2';
|
|
|
854
853
|
export { default as IconSkills2 } from './IconSkills2';
|
|
855
854
|
export { default as IconSkillCenter } from './IconSkillCenter';
|
|
856
855
|
export { default as IconLlm } from './IconLlm';
|
|
856
|
+
export { default as IconScale } from './IconScale';
|
|
857
|
+
export { default as IconJinja } from './IconJinja';
|
|
858
|
+
export { default as IconYAML } from './IconYAML';
|
|
857
859
|
export * from './type';
|