@arco-iconbox/react-hiagent 0.1.1 → 0.1.2
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/IconAPI/index.d.ts +4 -0
- package/cjs/IconAPI/index.js +63 -0
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +3 -1
- package/dist/icon.min.js +1 -1
- package/esm/IconAPI/index.d.ts +4 -0
- package/esm/IconAPI/index.js +38 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/package.json +1 -1
- package/src/IconAPI/index.tsx +15 -0
- package/src/index.ts +1 -0
- package/umd/IconAPI/index.d.ts +4 -0
- package/umd/IconAPI/index.js +73 -0
- package/umd/index.d.ts +1 -0
- package/umd/index.js +4 -2
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
declare const IconAPI: React.ForwardRefExoticComponent<Pick<OriginIconProps, "string" | "className" | "prefix" | "width" | "height" | "useCurrentColor" | "spin" | "color" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "style" | "target" | "type" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPath" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filter" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "mask" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "path" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & React.RefAttributes<SVGSVGElement>>;
|
|
4
|
+
export default IconAPI;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 IconAPIComponent(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-API").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 20 20" }, rest, { ref: ref }),
|
|
56
|
+
react_1.default.createElement("path", { d: "m15.417 9.167-1.25 1.25-4.583-4.584 1.25-1.25c.625-.625 2.916-1.666 4.583 0 1.667 1.667.625 3.959 0 4.584Z" }),
|
|
57
|
+
react_1.default.createElement("path", { d: "M12.61 2.9c1.06-.16 2.335.034 3.396 1.094 1.06 1.06 1.254 2.337 1.094 3.396-.145.953-.583 1.802-1.009 2.276l-.085.09-1.25 1.25a.833.833 0 0 1-1.178 0L8.994 6.423a.833.833 0 0 1 0-1.179l1.25-1.25c.451-.451 1.35-.94 2.366-1.094Zm2.218 2.273c-.607-.607-1.31-.725-1.97-.625-.702.106-1.262.451-1.436.625l-.66.66 3.405 3.405.66-.66c.174-.174.519-.734.626-1.437.1-.659-.02-1.362-.625-1.968Z" }),
|
|
58
|
+
react_1.default.createElement("path", { d: "M16.91 1.91a.833.833 0 1 1 1.18 1.18l-2.084 2.083a.833.833 0 1 1-1.178-1.179l2.083-2.083ZM4.583 10.833l1.25-1.25 4.583 4.584-1.25 1.25c-.625.625-2.916 1.666-4.583 0-1.667-1.667-.625-3.959 0-4.584Z" }),
|
|
59
|
+
react_1.default.createElement("path", { d: "M5.833 8.75c.221 0 .433.088.59.244l4.583 4.583a.833.833 0 0 1 0 1.179l-1.25 1.25c-.451.451-1.35.94-2.366 1.093-1.06.161-2.335-.033-3.396-1.093-1.06-1.06-1.255-2.337-1.094-3.396.154-1.016.643-1.915 1.094-2.366l1.25-1.25.061-.055a.833.833 0 0 1 .528-.19Zm-.66 2.672c-.174.174-.519.734-.625 1.437-.1.659.018 1.362.625 1.968l.114.109c.58.512 1.236.61 1.854.516.703-.106 1.263-.451 1.437-.625l.66-.66-3.405-3.405-.66.66Z" }),
|
|
60
|
+
react_1.default.createElement("path", { d: "M10.66 11.078a.833.833 0 1 1 1.18 1.178l-1.668 1.666a.833.833 0 0 1-1.178-1.178l1.667-1.666Zm-6.666 3.75a.833.833 0 1 1 1.178 1.178L3.09 18.089a.833.833 0 0 1-1.178-1.178l2.083-2.084Zm3.75-6.668a.833.833 0 1 1 1.179 1.18l-1.667 1.666a.833.833 0 1 1-1.178-1.179l1.666-1.666Z" }));
|
|
61
|
+
}
|
|
62
|
+
var IconAPI = react_1.default.forwardRef(IconAPIComponent);
|
|
63
|
+
exports.default = IconAPI;
|
package/cjs/index.d.ts
CHANGED
|
@@ -1449,4 +1449,5 @@ export { default as IconMoreVertical1 } from './IconMoreVertical1';
|
|
|
1449
1449
|
export { default as IconParallel } from './IconParallel';
|
|
1450
1450
|
export { default as IconUserVariable } from './IconUserVariable';
|
|
1451
1451
|
export { default as IconInvokeMemoryDel } from './IconInvokeMemoryDel';
|
|
1452
|
+
export { default as IconAPI } from './IconAPI';
|
|
1452
1453
|
export * from './type';
|
package/cjs/index.js
CHANGED
|
@@ -46,7 +46,7 @@ exports.IconBanjo = exports.IconPostalHor = exports.IconMobilePhone = exports.Ic
|
|
|
46
46
|
exports.IconDataDataset = exports.IconModelService = exports.IconDataOnlineTagging = exports.IconModelOptimization = exports.IconModelAppliction = exports.IconModelWarehouse = exports.IconModelExperienceCenter = exports.IconComputingManagement = exports.IconShare = exports.IconTrialOperation = exports.IconWiki = exports.IconColumnConfiguration1 = exports.IconMessageFill = exports.IconCardCollectionLinearity = exports.IconAgentQuote = exports.IconCardCollectionSurface = exports.IconAgentUse = exports.IconAgentDialogue = exports.IconOfficialV = exports.IconTokenQuantity = exports.IconBlock1 = exports.IconAcccount1 = exports.IconClosure = exports.IconPackaging = exports.IconRerank = exports.IconEn = exports.IconTraditionalChinese = exports.IconSimplifiedChinese = exports.IconGeneralSuccessHighSaturation = exports.IconCopyLine = exports.IconCollect2 = exports.IconUncollect2 = exports.IconUploadingDoc = exports.IconAddGroup = exports.IconRouge1 = exports.IconRougeL = exports.IconRouge2 = exports.IconF1 = exports.IconAccuracy = exports.IconTemplate1 = exports.IconNoRule = exports.IconJavascript = exports.IconUserTemplate = exports.IconKnowledgeLeft = exports.IconKnowledgeRight = exports.IconKnowledgeAddto = exports.IconKnowledgeMinus = exports.IconGroup = exports.IconRadio = exports.IconStudioMicrophone = void 0;
|
|
47
47
|
exports.IconStopUpdate = exports.IconSheildKey = exports.IconRl = exports.IconPromptMaas = exports.IconDataSetMaas = exports.IconModelAccess = exports.IconContinuePretrain = exports.IconAddMaas = exports.IconMoreMaas = exports.IconOutputMaas = exports.IconMemoryWebapp = exports.IconBatchProcessing = exports.IconUnfold2 = exports.IconModelGallery = exports.IconOutput = exports.IconScale = exports.IconWebEmb = exports.IconThreatAttribution = exports.IconProtection = exports.IconShield = exports.IconCommentApply = exports.IconWflHttp = exports.IconVideo = exports.IconVariableAggregation = exports.IconAddNewVersion = exports.IconWfMemory = exports.IconFunctionCall = exports.IconImageAi = exports.IconSystemPresetting = exports.IconManagementBackEnd = exports.IconModelServiceC = exports.IconModelFile = exports.IconVectorModel = exports.IconLanguageModel = exports.IconSortingModel = exports.IconReportSet = exports.IconMenteor = exports.IconContextualRelevance = exports.IconNist = exports.IconBleu = exports.IconImageUnderstanding = exports.IconObservationIntegration = exports.IconArrangeMemory = exports.IconInvokeMemory = exports.IconCaretUp = exports.IconCaretDown = exports.IconAddVersion = exports.IconWflSetVariable = exports.IconAgtDebug = exports.IconSessionFlow = void 0;
|
|
48
48
|
exports.IconUserVariable = exports.IconParallel = exports.IconMoreVertical1 = exports.IconExportRecord = exports.IconPublishVersion = exports.IconRuntimeConfiguration = exports.IconRunConfiguration = exports.IconArrowDownward = exports.IconArrowUpwards = exports.IconCustomApplication = exports.IconWkfOptimization = exports.IconWkfTemplate = exports.IconStarColor = exports.IconModelWarehouseDetail = exports.IconDistribution = exports.IconCheckboxList = exports.IconDatasetsReflux = exports.IconDataProcessing = exports.IconCardSurface = exports.IconCardLine = exports.IconKnowledgeRetrieval = exports.IconKnowledgeWriting = exports.IconInformationCollection = exports.IconUnpin = exports.IconRename = exports.IconPin = exports.IconBatchMovement = exports.IconAsynchronousOperation = exports.IconParameterSetting = exports.IconFolderClose = exports.IconFolderOpen = exports.IconFolderMaas = exports.IconBatchInference = exports.IconObs = exports.IconDataSetBos = exports.IconManagement = exports.IconDeepseek = exports.IconDataSetDetail = exports.IconDataSetBlue = exports.IconImageModel = exports.IconWorkspaceMaas = exports.IconYaml = exports.IconUserMaas = exports.IconCustomMark = exports.IconService = exports.IconRm = exports.IconSmoothUpdate = exports.IconModelEvalue = exports.IconSingleMachine = exports.IconTos = void 0;
|
|
49
|
-
exports.IconInvokeMemoryDel = void 0;
|
|
49
|
+
exports.IconAPI = exports.IconInvokeMemoryDel = void 0;
|
|
50
50
|
var IconWorkflowNodata_1 = require("./IconWorkflowNodata");
|
|
51
51
|
Object.defineProperty(exports, "IconWorkflowNodata", { enumerable: true, get: function () { return __importDefault(IconWorkflowNodata_1).default; } });
|
|
52
52
|
var IconAgentNodata_1 = require("./IconAgentNodata");
|
|
@@ -2949,4 +2949,6 @@ var IconUserVariable_1 = require("./IconUserVariable");
|
|
|
2949
2949
|
Object.defineProperty(exports, "IconUserVariable", { enumerable: true, get: function () { return __importDefault(IconUserVariable_1).default; } });
|
|
2950
2950
|
var IconInvokeMemoryDel_1 = require("./IconInvokeMemoryDel");
|
|
2951
2951
|
Object.defineProperty(exports, "IconInvokeMemoryDel", { enumerable: true, get: function () { return __importDefault(IconInvokeMemoryDel_1).default; } });
|
|
2952
|
+
var IconAPI_1 = require("./IconAPI");
|
|
2953
|
+
Object.defineProperty(exports, "IconAPI", { enumerable: true, get: function () { return __importDefault(IconAPI_1).default; } });
|
|
2952
2954
|
__exportStar(require("./type"), exports);
|