@arco-iconbox/react-hiagent 0.3.4 → 0.3.6
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/IconA2A/index.d.ts +4 -0
- package/cjs/IconA2A/index.js +61 -0
- package/cjs/IconDiamond/index.d.ts +4 -0
- package/cjs/IconDiamond/index.js +59 -0
- package/cjs/index.d.ts +2 -0
- package/cjs/index.js +5 -1
- package/dist/icon.min.js +1 -1
- package/esm/IconA2A/index.d.ts +4 -0
- package/esm/IconA2A/index.js +36 -0
- package/esm/IconDiamond/index.d.ts +4 -0
- package/esm/IconDiamond/index.js +34 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/package.json +1 -1
- package/src/IconA2A/index.tsx +15 -0
- package/src/IconDiamond/index.tsx +15 -0
- package/src/index.ts +2 -0
- package/umd/IconA2A/index.d.ts +4 -0
- package/umd/IconA2A/index.js +71 -0
- package/umd/IconDiamond/index.d.ts +4 -0
- package/umd/IconDiamond/index.js +69 -0
- package/umd/index.d.ts +2 -0
- package/umd/index.js +6 -2
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
var react_1 = __importStar(require("react"));
|
|
49
|
+
var context_1 = require("../context");
|
|
50
|
+
function IconA2AComponent(props, ref) {
|
|
51
|
+
var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
|
|
52
|
+
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"]);
|
|
53
|
+
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
54
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
55
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-A2A").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 }),
|
|
56
|
+
react_1.default.createElement("rect", { width: "24", height: "24", fill: useCurrentColor ? 'currentColor' : '#14C9C9', rx: "4" }),
|
|
57
|
+
react_1.default.createElement("path", { stroke: "#fff", strokeLinejoin: "round", strokeWidth: "1.8", d: "M19.083 9.206A2.4 2.4 0 0 0 17.9 7.137l-4.683-2.755a2.4 2.4 0 0 0-2.434 0L6.1 7.137a2.4 2.4 0 0 0-1.183 2.069v5.588A2.4 2.4 0 0 0 6.1 16.863l4.683 2.755a2.4 2.4 0 0 0 2.434 0l4.683-2.755a2.4 2.4 0 0 0 1.183-2.07V9.207Z" }),
|
|
58
|
+
react_1.default.createElement("path", { stroke: "#fff", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.8", d: "M8.667 9.916 11.997 12l3.334-2.084M12 12v3.75" }));
|
|
59
|
+
}
|
|
60
|
+
var IconA2A = react_1.default.forwardRef(IconA2AComponent);
|
|
61
|
+
exports.default = IconA2A;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
var react_1 = __importStar(require("react"));
|
|
49
|
+
var context_1 = require("../context");
|
|
50
|
+
function IconDiamondComponent(props, ref) {
|
|
51
|
+
var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
|
|
52
|
+
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"]);
|
|
53
|
+
var prefix = prefixFromProps || prefixFromContext || 'hiagent';
|
|
54
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
55
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-Diamond").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 14 14" }, rest, { ref: ref }),
|
|
56
|
+
react_1.default.createElement("path", { fillRule: "evenodd", d: "M3.087 2.679a1.05 1.05 0 0 1 .907-.52h6.012c.373 0 .718.197.907.52l1.53 2.617a1.05 1.05 0 0 1-.113 1.217l-4.536 5.241a1.05 1.05 0 0 1-1.588 0L1.67 6.513a1.05 1.05 0 0 1-.112-1.217l1.53-2.617Zm3.048.413H4.246l.676 1.844 1.213-1.844ZM4.107 5.425 3.512 3.8l-.949 1.624h1.544Zm-1.336.933 2.912 3.366L4.45 6.358H2.77Zm2.673 0 1.446 3.946a.11.11 0 0 0 .042.058c.017.01.04.018.068.018.027 0 .05-.007.067-.018a.109.109 0 0 0 .042-.058l1.447-3.946H5.444Zm4.106 0L8.316 9.725l2.913-3.367H9.55Zm1.887-.933-.949-1.623-.595 1.623h1.544Zm-2.359-.49L7.866 3.093h1.888l-.676 1.844Zm-.795.49L7 3.475l-1.283 1.95h2.565Z", clipRule: "evenodd" }));
|
|
57
|
+
}
|
|
58
|
+
var IconDiamond = react_1.default.forwardRef(IconDiamondComponent);
|
|
59
|
+
exports.default = IconDiamond;
|
package/cjs/index.d.ts
CHANGED
|
@@ -865,4 +865,6 @@ export { default as IconTrajectoryQa } from './IconTrajectoryQa';
|
|
|
865
865
|
export { default as IconGenerating } from './IconGenerating';
|
|
866
866
|
export { default as IconAiSummary } from './IconAiSummary';
|
|
867
867
|
export { default as IconAiGenerateVariationSpark } from './IconAiGenerateVariationSpark';
|
|
868
|
+
export { default as IconA2A } from './IconA2A';
|
|
869
|
+
export { default as IconDiamond } from './IconDiamond';
|
|
868
870
|
export * from './type';
|
package/cjs/index.js
CHANGED
|
@@ -34,7 +34,7 @@ exports.IconDataProcessing1 = exports.IconModelExperienceCenter = exports.IconOb
|
|
|
34
34
|
exports.IconThumbUp = exports.IconArrowDown = exports.IconCalendarClock = exports.IconCloseCircle = exports.IconCopy = exports.IconLaunch = exports.IconMenu = exports.IconMessage = exports.IconDataProduction = exports.IconTransform1 = exports.IconAgentChatStop = exports.IconDebugging = exports.IconResultEvaluation = exports.IconTraceText = exports.IconTraceRaw = exports.IconAgentpro = exports.IconAgentproStop = exports.IconTaskDone = exports.IconArtifactsBrowse = exports.IconAgentproReportDownload = exports.IconArtifactsCode = exports.IconAgentproFileList = exports.IconArtifactsKnowledge = exports.IconAgentproConfiguration = exports.IconArtifactsOther = exports.IconArtifactsShell = exports.IconArtifactsSearch = exports.IconArtifactsFile = exports.IconArtifactsPic = exports.IconVideoAgentKnowledge = exports.IconSpeaker = exports.IconExperienceCenter = exports.IconLinkArrowSmall = exports.IconSavedConditions = exports.IconSaveButton = exports.IconText2video1 = exports.IconVolume = exports.IconFullscreen = exports.IconVideoTag = exports.IconMoonshot = exports.IconBGE = exports.IconQwen = exports.IconGPT35 = exports.IconGPT4 = exports.IconDoubao = exports.IconGoogleGemini = exports.IconDeepseek = exports.IconAWS = exports.IconClaude = exports.IconReleaseManagement = void 0;
|
|
35
35
|
exports.IconMermaidFull = exports.IconSafeTag = exports.IconEvalOnline = exports.IconEvalOffline = exports.IconUserLine = exports.IconAdministratorLine = exports.IconMultimodalLoading = exports.IconTextProcessing = exports.IconSankeyDiagram = exports.IconTerminology = exports.IconAgentproFollow = exports.IconUploadFile = exports.IconUploadRadio = exports.IconKnowledgeBoard = exports.IconIndicatorMonitoring = exports.IconLoading2 = exports.IconQAExtract = exports.IconMore = exports.IconKnowledgeDataSynchronization = exports.IconKnowledgeChartTable = exports.IconTreeTerminologySearch = exports.IconTreeQASearch = exports.IconWorkflowKnowledgeRetrieval = exports.IconCompletedComparison = exports.IconPDSeparation = exports.IconRise2 = exports.IconComparison = exports.IconDecline2 = exports.IconAutomaticOptimization = exports.IconPromptWordTemplate = exports.IconGeneratedDocument = exports.IconTreeObject = exports.IconTreeRules = exports.IconDiagramCracking2 = exports.IconTaskCompleted = exports.IconFullscreenExit = exports.IconEmpty = exports.IconTag = exports.IconRotateLeft = exports.IconWorkflowChecklist = exports.IconDataInsight = exports.IconMenuIndicators = exports.IconMenuEvaluationSet = exports.IconDataOnlineTagging = exports.IconMenuHiagent = exports.IconModelGallery = exports.IconThumbDown = exports.IconZoomOut = exports.IconZoomIn = exports.IconMinusCircle = void 0;
|
|
36
36
|
exports.IconAddFolder2 = exports.IconJSONFormat = exports.IconExtractText = exports.IconSchema = exports.IconOperatingHistory = exports.IconLastRun = exports.IconAnnotation = exports.IconNextStep = exports.IconLastStep = exports.IconOptimizeLayout = exports.IconTouchpadMouseWorkflow = exports.IconTouchpadModeWorkflow = exports.IconBuildCommunity = exports.IconWorkflowCondition = exports.IconWorkflowCode = exports.IconModelTraining = exports.IconBasicDatabase = exports.IconGraphTriplet = exports.IconGraphFoldingPanel = exports.IconGraphLWindow = exports.IconGraphNode = exports.IconGraphThumbnail = exports.IconGraphSchema = exports.IconGraphConsolidatedEntity = exports.IconGraphSWindow = exports.IconReport2 = exports.IconIntelligentSynthesis = exports.IconBailian = exports.IconVolcengine = exports.IconOpenai = exports.IconServiceRouting = exports.IconNewWindow1 = exports.IconSpecifiedResource = exports.IconSelfBuiltResources = exports.IconNewNoService = exports.IconNewNoData = exports.IconNewGeneralDefault = exports.IconTabelNodata = exports.IconMermaidClose = exports.IconSkills = exports.IconTimeout = exports.IconGuarantee = exports.IconVoicecallCancel = exports.IconVoicecallConfirm = exports.IconAddAgentEval = exports.IconMermaidScale = exports.IconMermaidCopy = exports.IconMermaidShrink = exports.IconMermaidMagnify = exports.IconMermaidDownload = void 0;
|
|
37
|
-
exports.IconAiGenerateVariationSpark = exports.IconAiSummary = exports.IconGenerating = exports.IconTrajectoryQa = exports.IconWeworkBot = exports.IconTrajectory = exports.IconWorkflowGraph = exports.IconKit = exports.IconRuntimeConfiguration = exports.IconEnVariable = exports.IconYAML = exports.IconJinja = exports.IconScale = exports.IconLLM = exports.IconSkillCenter = exports.IconSkills2 = exports.IconCreateFile2 = void 0;
|
|
37
|
+
exports.IconDiamond = exports.IconA2A = exports.IconAiGenerateVariationSpark = exports.IconAiSummary = exports.IconGenerating = exports.IconTrajectoryQa = exports.IconWeworkBot = exports.IconTrajectory = exports.IconWorkflowGraph = exports.IconKit = exports.IconRuntimeConfiguration = exports.IconEnVariable = exports.IconYAML = exports.IconJinja = exports.IconScale = exports.IconLLM = exports.IconSkillCenter = exports.IconSkills2 = exports.IconCreateFile2 = void 0;
|
|
38
38
|
var IconWorkflowNodata_1 = require("./IconWorkflowNodata");
|
|
39
39
|
Object.defineProperty(exports, "IconWorkflowNodata", { enumerable: true, get: function () { return __importDefault(IconWorkflowNodata_1).default; } });
|
|
40
40
|
var IconAgentNodata_1 = require("./IconAgentNodata");
|
|
@@ -1769,4 +1769,8 @@ var IconAiSummary_1 = require("./IconAiSummary");
|
|
|
1769
1769
|
Object.defineProperty(exports, "IconAiSummary", { enumerable: true, get: function () { return __importDefault(IconAiSummary_1).default; } });
|
|
1770
1770
|
var IconAiGenerateVariationSpark_1 = require("./IconAiGenerateVariationSpark");
|
|
1771
1771
|
Object.defineProperty(exports, "IconAiGenerateVariationSpark", { enumerable: true, get: function () { return __importDefault(IconAiGenerateVariationSpark_1).default; } });
|
|
1772
|
+
var IconA2A_1 = require("./IconA2A");
|
|
1773
|
+
Object.defineProperty(exports, "IconA2A", { enumerable: true, get: function () { return __importDefault(IconA2A_1).default; } });
|
|
1774
|
+
var IconDiamond_1 = require("./IconDiamond");
|
|
1775
|
+
Object.defineProperty(exports, "IconDiamond", { enumerable: true, get: function () { return __importDefault(IconDiamond_1).default; } });
|
|
1772
1776
|
__exportStar(require("./type"), exports);
|