@arco-iconbox/react-agentpro 0.0.14 → 0.0.16

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.
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { OriginIconProps } from '../type';
3
+ declare const IconToolInvoke: React.ForwardRefExoticComponent<Omit<OriginIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
4
+ export default IconToolInvoke;
@@ -0,0 +1,34 @@
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 IconToolInvokeComponent(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 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
28
+ var prefix = prefixFromProps || prefixFromContext || 'agentpro';
29
+ var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
30
+ return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-toolInvoke").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 12 12", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
31
+ React.createElement("path", { d: "M5.50033 7.4995H1.55275C1.12733 7.4995 0.894953 7.00519 1.16734 6.67959L6.18507 0.681499C6.50585 0.298016 7.13051 0.568201 7.06836 1.06347L6.63716 4.50038H10.5847C11.0102 4.50038 11.2425 4.99469 10.9702 5.32028L5.95242 11.3184C5.63164 11.7019 5.00698 11.4317 5.06913 10.9364L5.50033 7.4995ZM2.62413 6.49988H6.06874C6.37055 6.49988 6.60403 6.76333 6.56663 7.06156L6.27719 9.36879L9.51336 5.50013H6.06874C5.76693 5.50013 5.53346 5.23655 5.57086 4.93831L5.8603 2.63109L2.62413 6.49975V6.49988Z" }));
32
+ }
33
+ var IconToolInvoke = React.forwardRef(IconToolInvokeComponent);
34
+ export default IconToolInvoke;
package/esm/index.d.ts CHANGED
@@ -88,4 +88,5 @@ export { default as IconImageUnderstanding } from './IconImageUnderstanding';
88
88
  export { default as IconSuccess1 } from './IconSuccess1';
89
89
  export { default as IconNotificationFill } from './IconNotificationFill';
90
90
  export { default as IconDocFill } from './IconDocFill';
91
+ export { default as IconToolInvoke } from './IconToolInvoke';
91
92
  export * from './type';
package/esm/index.js CHANGED
@@ -88,4 +88,5 @@ export { default as IconImageUnderstanding } from './IconImageUnderstanding';
88
88
  export { default as IconSuccess1 } from './IconSuccess1';
89
89
  export { default as IconNotificationFill } from './IconNotificationFill';
90
90
  export { default as IconDocFill } from './IconDocFill';
91
+ export { default as IconToolInvoke } from './IconToolInvoke';
91
92
  export * from './type';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arco-iconbox/react-agentpro",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "license": "ISC",
@@ -0,0 +1,15 @@
1
+ import React, { ForwardedRef, useContext } from 'react';
2
+ import { OriginIconProps } from '../type';
3
+ import { Context } from '../context';
4
+
5
+ function IconToolInvokeComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
6
+ const { prefix: prefixFromContext } = useContext(Context);
7
+ const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
8
+
9
+ const prefix = prefixFromProps || prefixFromContext || 'agentpro';
10
+ const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
11
+ return <svg className={`${prefix}-icon ${prefix}-icon-toolInvoke${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 12 12" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M5.50033 7.4995H1.55275C1.12733 7.4995 0.894953 7.00519 1.16734 6.67959L6.18507 0.681499C6.50585 0.298016 7.13051 0.568201 7.06836 1.06347L6.63716 4.50038H10.5847C11.0102 4.50038 11.2425 4.99469 10.9702 5.32028L5.95242 11.3184C5.63164 11.7019 5.00698 11.4317 5.06913 10.9364L5.50033 7.4995ZM2.62413 6.49988H6.06874C6.37055 6.49988 6.60403 6.76333 6.56663 7.06156L6.27719 9.36879L9.51336 5.50013H6.06874C5.76693 5.50013 5.53346 5.23655 5.57086 4.93831L5.8603 2.63109L2.62413 6.49975V6.49988Z"/></svg>;
12
+ }
13
+
14
+ const IconToolInvoke = React.forwardRef(IconToolInvokeComponent);
15
+ export default IconToolInvoke;
package/src/index.ts CHANGED
@@ -88,5 +88,6 @@ export { default as IconImageUnderstanding } from './IconImageUnderstanding';
88
88
  export { default as IconSuccess1 } from './IconSuccess1';
89
89
  export { default as IconNotificationFill } from './IconNotificationFill';
90
90
  export { default as IconDocFill } from './IconDocFill';
91
+ export { default as IconToolInvoke } from './IconToolInvoke';
91
92
 
92
93
  export * from './type';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { OriginIconProps } from '../type';
3
+ declare const IconToolInvoke: React.ForwardRefExoticComponent<Omit<OriginIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
4
+ export default IconToolInvoke;
@@ -0,0 +1,69 @@
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 IconToolInvokeComponent(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 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
62
+ var prefix = prefixFromProps || prefixFromContext || 'agentpro';
63
+ var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
64
+ return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-toolInvoke").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 12 12", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
65
+ react_1.default.createElement("path", { d: "M5.50033 7.4995H1.55275C1.12733 7.4995 0.894953 7.00519 1.16734 6.67959L6.18507 0.681499C6.50585 0.298016 7.13051 0.568201 7.06836 1.06347L6.63716 4.50038H10.5847C11.0102 4.50038 11.2425 4.99469 10.9702 5.32028L5.95242 11.3184C5.63164 11.7019 5.00698 11.4317 5.06913 10.9364L5.50033 7.4995ZM2.62413 6.49988H6.06874C6.37055 6.49988 6.60403 6.76333 6.56663 7.06156L6.27719 9.36879L9.51336 5.50013H6.06874C5.76693 5.50013 5.53346 5.23655 5.57086 4.93831L5.8603 2.63109L2.62413 6.49975V6.49988Z" }));
66
+ }
67
+ var IconToolInvoke = react_1.default.forwardRef(IconToolInvokeComponent);
68
+ exports.default = IconToolInvoke;
69
+ });
package/umd/index.d.ts CHANGED
@@ -88,4 +88,5 @@ export { default as IconImageUnderstanding } from './IconImageUnderstanding';
88
88
  export { default as IconSuccess1 } from './IconSuccess1';
89
89
  export { default as IconNotificationFill } from './IconNotificationFill';
90
90
  export { default as IconDocFill } from './IconDocFill';
91
+ export { default as IconToolInvoke } from './IconToolInvoke';
91
92
  export * from './type';
package/umd/index.js CHANGED
@@ -21,12 +21,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
21
21
  if (v !== undefined) module.exports = v;
22
22
  }
23
23
  else if (typeof define === "function" && define.amd) {
24
- define(["require", "exports", "./IconSidebar", "./IconPlugin", "./IconUser", "./IconSettings", "./IconSidebarRight", "./IconLogOut", "./IconSearch", "./IconSidebarLeft", "./IconChinese", "./IconNewTask", "./IconUp", "./IconEye", "./IconCode", "./IconAdd", "./IconPuzzle", "./IconAttention", "./IconLoadingGrey", "./IconAbnormality", "./IconQuestionnaire", "./IconEdit", "./IconTerminal", "./IconCopy", "./IconEarth", "./IconSuccessFill", "./IconRetry", "./IconBottomAlign", "./IconEdit2", "./IconTool", "./IconBook", "./IconCommandLine", "./IconStop", "./IconDoc", "./IconPdf", "./IconTxt", "./IconConfig", "./IconAttachment", "./IconClose", "./IconLeft", "./IconRight", "./IconCheck", "./IconModelDefault", "./IconGpt", "./IconRichText", "./IconExitRichText", "./IconApLogoOutline", "./IconPlanBash", "./IconPlanExtract", "./IconPlanEdit", "./IconPlanWrite", "./IconPlanSearch", "./IconPlanSkill", "./IconPlanUploadArtifact", "./IconPlanRead", "./IconApLogo3", "./IconApLogo1", "./IconApLogo2", "./IconYAML", "./IconAudio", "./IconVideo", "./IconUploadingLarkdocx", "./IconUploadingHtml", "./IconLog", "./IconXMind", "./IconUploadingWps", "./IconUploadingPng", "./IconUploadingTxt", "./IconUnknownFile", "./IconUploadingJson", "./IconZip", "./IconDataExternal", "./IconUploadingCsv", "./IconUploadingMd", "./IconUploadingLarkbitable", "./IconUploadingPdf", "./IconUploadingLarksheet", "./IconUploadingXlsx", "./IconUploadingPpt", "./IconJinja", "./IconUploadingDoc", "./IconUploadingOfd", "./IconEnter", "./IconSubAgent", "./IconTaskPlan", "./IconManualApproval", "./IconSelfExecution", "./IconCloseFill", "./IconImageUnderstanding", "./IconSuccess1", "./IconNotificationFill", "./IconDocFill", "./type"], factory);
24
+ define(["require", "exports", "./IconSidebar", "./IconPlugin", "./IconUser", "./IconSettings", "./IconSidebarRight", "./IconLogOut", "./IconSearch", "./IconSidebarLeft", "./IconChinese", "./IconNewTask", "./IconUp", "./IconEye", "./IconCode", "./IconAdd", "./IconPuzzle", "./IconAttention", "./IconLoadingGrey", "./IconAbnormality", "./IconQuestionnaire", "./IconEdit", "./IconTerminal", "./IconCopy", "./IconEarth", "./IconSuccessFill", "./IconRetry", "./IconBottomAlign", "./IconEdit2", "./IconTool", "./IconBook", "./IconCommandLine", "./IconStop", "./IconDoc", "./IconPdf", "./IconTxt", "./IconConfig", "./IconAttachment", "./IconClose", "./IconLeft", "./IconRight", "./IconCheck", "./IconModelDefault", "./IconGpt", "./IconRichText", "./IconExitRichText", "./IconApLogoOutline", "./IconPlanBash", "./IconPlanExtract", "./IconPlanEdit", "./IconPlanWrite", "./IconPlanSearch", "./IconPlanSkill", "./IconPlanUploadArtifact", "./IconPlanRead", "./IconApLogo3", "./IconApLogo1", "./IconApLogo2", "./IconYAML", "./IconAudio", "./IconVideo", "./IconUploadingLarkdocx", "./IconUploadingHtml", "./IconLog", "./IconXMind", "./IconUploadingWps", "./IconUploadingPng", "./IconUploadingTxt", "./IconUnknownFile", "./IconUploadingJson", "./IconZip", "./IconDataExternal", "./IconUploadingCsv", "./IconUploadingMd", "./IconUploadingLarkbitable", "./IconUploadingPdf", "./IconUploadingLarksheet", "./IconUploadingXlsx", "./IconUploadingPpt", "./IconJinja", "./IconUploadingDoc", "./IconUploadingOfd", "./IconEnter", "./IconSubAgent", "./IconTaskPlan", "./IconManualApproval", "./IconSelfExecution", "./IconCloseFill", "./IconImageUnderstanding", "./IconSuccess1", "./IconNotificationFill", "./IconDocFill", "./IconToolInvoke", "./type"], factory);
25
25
  }
26
26
  })(function (require, exports) {
27
27
  "use strict";
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.IconDocFill = exports.IconNotificationFill = exports.IconSuccess1 = exports.IconImageUnderstanding = exports.IconCloseFill = exports.IconSelfExecution = exports.IconManualApproval = exports.IconTaskPlan = exports.IconSubAgent = exports.IconEnter = exports.IconUploadingOfd = exports.IconUploadingDoc = exports.IconJinja = exports.IconUploadingPpt = exports.IconUploadingXlsx = exports.IconUploadingLarksheet = exports.IconUploadingPdf = exports.IconUploadingLarkbitable = exports.IconUploadingMd = exports.IconUploadingCsv = exports.IconDataExternal = exports.IconZip = exports.IconUploadingJson = exports.IconUnknownFile = exports.IconUploadingTxt = exports.IconUploadingPng = exports.IconUploadingWps = exports.IconXMind = exports.IconLog = exports.IconUploadingHtml = exports.IconUploadingLarkdocx = exports.IconVideo = exports.IconAudio = exports.IconYAML = exports.IconApLogo2 = exports.IconApLogo1 = exports.IconApLogo3 = exports.IconPlanRead = exports.IconPlanUploadArtifact = exports.IconPlanSkill = exports.IconPlanSearch = exports.IconPlanWrite = exports.IconPlanEdit = exports.IconPlanExtract = exports.IconPlanBash = exports.IconApLogoOutline = exports.IconExitRichText = exports.IconRichText = exports.IconGpt = exports.IconModelDefault = exports.IconCheck = exports.IconRight = exports.IconLeft = exports.IconClose = exports.IconAttachment = exports.IconConfig = exports.IconTxt = exports.IconPdf = exports.IconDoc = exports.IconStop = exports.IconCommandLine = exports.IconBook = exports.IconTool = exports.IconEdit2 = exports.IconBottomAlign = exports.IconRetry = exports.IconSuccessFill = exports.IconEarth = exports.IconCopy = exports.IconTerminal = exports.IconEdit = exports.IconQuestionnaire = exports.IconAbnormality = exports.IconLoadingGrey = exports.IconAttention = exports.IconPuzzle = exports.IconAdd = exports.IconCode = exports.IconEye = exports.IconUp = exports.IconNewTask = exports.IconChinese = exports.IconSidebarLeft = exports.IconSearch = exports.IconLogOut = exports.IconSidebarRight = exports.IconSettings = exports.IconUser = exports.IconPlugin = exports.IconSidebar = void 0;
29
+ exports.IconToolInvoke = exports.IconDocFill = exports.IconNotificationFill = exports.IconSuccess1 = exports.IconImageUnderstanding = exports.IconCloseFill = exports.IconSelfExecution = exports.IconManualApproval = exports.IconTaskPlan = exports.IconSubAgent = exports.IconEnter = exports.IconUploadingOfd = exports.IconUploadingDoc = exports.IconJinja = exports.IconUploadingPpt = exports.IconUploadingXlsx = exports.IconUploadingLarksheet = exports.IconUploadingPdf = exports.IconUploadingLarkbitable = exports.IconUploadingMd = exports.IconUploadingCsv = exports.IconDataExternal = exports.IconZip = exports.IconUploadingJson = exports.IconUnknownFile = exports.IconUploadingTxt = exports.IconUploadingPng = exports.IconUploadingWps = exports.IconXMind = exports.IconLog = exports.IconUploadingHtml = exports.IconUploadingLarkdocx = exports.IconVideo = exports.IconAudio = exports.IconYAML = exports.IconApLogo2 = exports.IconApLogo1 = exports.IconApLogo3 = exports.IconPlanRead = exports.IconPlanUploadArtifact = exports.IconPlanSkill = exports.IconPlanSearch = exports.IconPlanWrite = exports.IconPlanEdit = exports.IconPlanExtract = exports.IconPlanBash = exports.IconApLogoOutline = exports.IconExitRichText = exports.IconRichText = exports.IconGpt = exports.IconModelDefault = exports.IconCheck = exports.IconRight = exports.IconLeft = exports.IconClose = exports.IconAttachment = exports.IconConfig = exports.IconTxt = exports.IconPdf = exports.IconDoc = exports.IconStop = exports.IconCommandLine = exports.IconBook = exports.IconTool = exports.IconEdit2 = exports.IconBottomAlign = exports.IconRetry = exports.IconSuccessFill = exports.IconEarth = exports.IconCopy = exports.IconTerminal = exports.IconEdit = exports.IconQuestionnaire = exports.IconAbnormality = exports.IconLoadingGrey = exports.IconAttention = exports.IconPuzzle = exports.IconAdd = exports.IconCode = exports.IconEye = exports.IconUp = exports.IconNewTask = exports.IconChinese = exports.IconSidebarLeft = exports.IconSearch = exports.IconLogOut = exports.IconSidebarRight = exports.IconSettings = exports.IconUser = exports.IconPlugin = exports.IconSidebar = void 0;
30
30
  var IconSidebar_1 = require("./IconSidebar");
31
31
  Object.defineProperty(exports, "IconSidebar", { enumerable: true, get: function () { return __importDefault(IconSidebar_1).default; } });
32
32
  var IconPlugin_1 = require("./IconPlugin");
@@ -207,5 +207,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
207
207
  Object.defineProperty(exports, "IconNotificationFill", { enumerable: true, get: function () { return __importDefault(IconNotificationFill_1).default; } });
208
208
  var IconDocFill_1 = require("./IconDocFill");
209
209
  Object.defineProperty(exports, "IconDocFill", { enumerable: true, get: function () { return __importDefault(IconDocFill_1).default; } });
210
+ var IconToolInvoke_1 = require("./IconToolInvoke");
211
+ Object.defineProperty(exports, "IconToolInvoke", { enumerable: true, get: function () { return __importDefault(IconToolInvoke_1).default; } });
210
212
  __exportStar(require("./type"), exports);
211
213
  });