@arco-iconbox/react-agentpro 0.0.15 → 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,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 IconToolInvokeComponent(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 || 'agentpro';
54
+ var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
55
+ 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 }),
56
+ 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" }));
57
+ }
58
+ var IconToolInvoke = react_1.default.forwardRef(IconToolInvokeComponent);
59
+ exports.default = IconToolInvoke;
package/cjs/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/cjs/index.js CHANGED
@@ -18,7 +18,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  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;
21
- 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 = void 0;
21
+ 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 = void 0;
22
22
  var IconSidebar_1 = require("./IconSidebar");
23
23
  Object.defineProperty(exports, "IconSidebar", { enumerable: true, get: function () { return __importDefault(IconSidebar_1).default; } });
24
24
  var IconPlugin_1 = require("./IconPlugin");
@@ -199,4 +199,6 @@ var IconNotificationFill_1 = require("./IconNotificationFill");
199
199
  Object.defineProperty(exports, "IconNotificationFill", { enumerable: true, get: function () { return __importDefault(IconNotificationFill_1).default; } });
200
200
  var IconDocFill_1 = require("./IconDocFill");
201
201
  Object.defineProperty(exports, "IconDocFill", { enumerable: true, get: function () { return __importDefault(IconDocFill_1).default; } });
202
+ var IconToolInvoke_1 = require("./IconToolInvoke");
203
+ Object.defineProperty(exports, "IconToolInvoke", { enumerable: true, get: function () { return __importDefault(IconToolInvoke_1).default; } });
202
204
  __exportStar(require("./type"), exports);