@arco-iconbox/react-agentpro 0.0.8 → 0.0.9
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/{IconShift → IconEnter}/index.d.ts +2 -2
- package/cjs/{IconShift → IconEnter}/index.js +4 -4
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +3 -3
- package/dist/icon.min.js +1 -1
- package/{umd/IconShift → esm/IconEnter}/index.d.ts +2 -2
- package/esm/{IconShift → IconEnter}/index.js +4 -4
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
- package/src/{IconShift → IconEnter}/index.tsx +4 -4
- package/src/index.ts +1 -1
- package/{esm/IconShift → umd/IconEnter}/index.d.ts +2 -2
- package/umd/{IconShift → IconEnter}/index.js +4 -4
- package/umd/index.d.ts +1 -1
- package/umd/index.js +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OriginIconProps } from '../type';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const IconEnter: React.ForwardRefExoticComponent<Omit<OriginIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export default IconEnter;
|
|
@@ -22,13 +22,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import React, { useContext } from 'react';
|
|
24
24
|
import { Context } from '../context';
|
|
25
|
-
function
|
|
25
|
+
function IconEnterComponent(props, ref) {
|
|
26
26
|
var prefixFromContext = useContext(Context).prefix;
|
|
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 || 'agentpro';
|
|
29
29
|
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
30
|
-
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-
|
|
30
|
+
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-enter").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 14 14", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
31
31
|
React.createElement("path", { d: "M12.8337 2.2771C13.187 2.27728 13.4733 2.56339 13.4733 2.91675V9.33374C13.4731 9.68694 13.1869 9.97321 12.8337 9.97339H2.95475L4.75455 11.4519C5.0277 11.6762 5.06776 12.0801 4.84342 12.3533C4.61908 12.6264 4.2152 12.6655 3.94205 12.4412L0.760414 9.82788C0.612534 9.70638 0.527113 9.52512 0.527016 9.33374C0.527016 9.14221 0.612403 8.96019 0.760414 8.83862L3.94205 6.22534C4.2152 6.001 4.61908 6.04107 4.84342 6.31421C5.06741 6.58734 5.02757 6.99036 4.75455 7.2146L2.95475 8.69312H12.193V3.5564H9.33366C8.98019 3.5564 8.69303 3.27021 8.69303 2.91675C8.69303 2.56329 8.98019 2.2771 9.33366 2.2771H12.8337Z" }));
|
|
32
32
|
}
|
|
33
|
-
var
|
|
34
|
-
export default
|
|
33
|
+
var IconEnter = React.forwardRef(IconEnterComponent);
|
|
34
|
+
export default IconEnter;
|
package/esm/index.d.ts
CHANGED
|
@@ -78,5 +78,5 @@ export { default as IconUploadingPpt } from './IconUploadingPpt';
|
|
|
78
78
|
export { default as IconJinja } from './IconJinja';
|
|
79
79
|
export { default as IconUploadingDoc } from './IconUploadingDoc';
|
|
80
80
|
export { default as IconUploadingOfd } from './IconUploadingOfd';
|
|
81
|
-
export { default as
|
|
81
|
+
export { default as IconEnter } from './IconEnter';
|
|
82
82
|
export * from './type';
|
package/esm/index.js
CHANGED
|
@@ -78,5 +78,5 @@ export { default as IconUploadingPpt } from './IconUploadingPpt';
|
|
|
78
78
|
export { default as IconJinja } from './IconJinja';
|
|
79
79
|
export { default as IconUploadingDoc } from './IconUploadingDoc';
|
|
80
80
|
export { default as IconUploadingOfd } from './IconUploadingOfd';
|
|
81
|
-
export { default as
|
|
81
|
+
export { default as IconEnter } from './IconEnter';
|
|
82
82
|
export * from './type';
|
package/package.json
CHANGED
|
@@ -2,14 +2,14 @@ import React, { ForwardedRef, useContext } from 'react';
|
|
|
2
2
|
import { OriginIconProps } from '../type';
|
|
3
3
|
import { Context } from '../context';
|
|
4
4
|
|
|
5
|
-
function
|
|
5
|
+
function IconEnterComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
6
|
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
7
|
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
8
|
|
|
9
9
|
const prefix = prefixFromProps || prefixFromContext || 'agentpro';
|
|
10
10
|
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
-
return <svg className={`${prefix}-icon ${prefix}-icon-
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-enter${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 14 14" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M12.8337 2.2771C13.187 2.27728 13.4733 2.56339 13.4733 2.91675V9.33374C13.4731 9.68694 13.1869 9.97321 12.8337 9.97339H2.95475L4.75455 11.4519C5.0277 11.6762 5.06776 12.0801 4.84342 12.3533C4.61908 12.6264 4.2152 12.6655 3.94205 12.4412L0.760414 9.82788C0.612534 9.70638 0.527113 9.52512 0.527016 9.33374C0.527016 9.14221 0.612403 8.96019 0.760414 8.83862L3.94205 6.22534C4.2152 6.001 4.61908 6.04107 4.84342 6.31421C5.06741 6.58734 5.02757 6.99036 4.75455 7.2146L2.95475 8.69312H12.193V3.5564H9.33366C8.98019 3.5564 8.69303 3.27021 8.69303 2.91675C8.69303 2.56329 8.98019 2.2771 9.33366 2.2771H12.8337Z"/></svg>;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
const
|
|
15
|
-
export default
|
|
14
|
+
const IconEnter = React.forwardRef(IconEnterComponent);
|
|
15
|
+
export default IconEnter;
|
package/src/index.ts
CHANGED
|
@@ -78,6 +78,6 @@ export { default as IconUploadingPpt } from './IconUploadingPpt';
|
|
|
78
78
|
export { default as IconJinja } from './IconJinja';
|
|
79
79
|
export { default as IconUploadingDoc } from './IconUploadingDoc';
|
|
80
80
|
export { default as IconUploadingOfd } from './IconUploadingOfd';
|
|
81
|
-
export { default as
|
|
81
|
+
export { default as IconEnter } from './IconEnter';
|
|
82
82
|
|
|
83
83
|
export * from './type';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OriginIconProps } from '../type';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
3
|
+
declare const IconEnter: React.ForwardRefExoticComponent<Omit<OriginIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export default IconEnter;
|
|
@@ -56,14 +56,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
56
56
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
57
|
var react_1 = __importStar(require("react"));
|
|
58
58
|
var context_1 = require("../context");
|
|
59
|
-
function
|
|
59
|
+
function IconEnterComponent(props, ref) {
|
|
60
60
|
var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
|
|
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 || 'agentpro';
|
|
63
63
|
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
-
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-enter").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 14 14", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
65
65
|
react_1.default.createElement("path", { d: "M12.8337 2.2771C13.187 2.27728 13.4733 2.56339 13.4733 2.91675V9.33374C13.4731 9.68694 13.1869 9.97321 12.8337 9.97339H2.95475L4.75455 11.4519C5.0277 11.6762 5.06776 12.0801 4.84342 12.3533C4.61908 12.6264 4.2152 12.6655 3.94205 12.4412L0.760414 9.82788C0.612534 9.70638 0.527113 9.52512 0.527016 9.33374C0.527016 9.14221 0.612403 8.96019 0.760414 8.83862L3.94205 6.22534C4.2152 6.001 4.61908 6.04107 4.84342 6.31421C5.06741 6.58734 5.02757 6.99036 4.75455 7.2146L2.95475 8.69312H12.193V3.5564H9.33366C8.98019 3.5564 8.69303 3.27021 8.69303 2.91675C8.69303 2.56329 8.98019 2.2771 9.33366 2.2771H12.8337Z" }));
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
exports.default =
|
|
67
|
+
var IconEnter = react_1.default.forwardRef(IconEnterComponent);
|
|
68
|
+
exports.default = IconEnter;
|
|
69
69
|
});
|
package/umd/index.d.ts
CHANGED
|
@@ -78,5 +78,5 @@ export { default as IconUploadingPpt } from './IconUploadingPpt';
|
|
|
78
78
|
export { default as IconJinja } from './IconJinja';
|
|
79
79
|
export { default as IconUploadingDoc } from './IconUploadingDoc';
|
|
80
80
|
export { default as IconUploadingOfd } from './IconUploadingOfd';
|
|
81
|
-
export { default as
|
|
81
|
+
export { default as IconEnter } from './IconEnter';
|
|
82
82
|
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", "./
|
|
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", "./type"], factory);
|
|
25
25
|
}
|
|
26
26
|
})(function (require, exports) {
|
|
27
27
|
"use strict";
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
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");
|
|
@@ -187,7 +187,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
187
187
|
Object.defineProperty(exports, "IconUploadingDoc", { enumerable: true, get: function () { return __importDefault(IconUploadingDoc_1).default; } });
|
|
188
188
|
var IconUploadingOfd_1 = require("./IconUploadingOfd");
|
|
189
189
|
Object.defineProperty(exports, "IconUploadingOfd", { enumerable: true, get: function () { return __importDefault(IconUploadingOfd_1).default; } });
|
|
190
|
-
var
|
|
191
|
-
Object.defineProperty(exports, "
|
|
190
|
+
var IconEnter_1 = require("./IconEnter");
|
|
191
|
+
Object.defineProperty(exports, "IconEnter", { enumerable: true, get: function () { return __importDefault(IconEnter_1).default; } });
|
|
192
192
|
__exportStar(require("./type"), exports);
|
|
193
193
|
});
|