@arco-iconbox/react-hiagent 0.2.62 → 0.2.64
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/IconMermaidCopy/index.d.ts +4 -0
- package/cjs/IconMermaidCopy/index.js +60 -0
- package/cjs/IconMermaidDownload/index.d.ts +4 -0
- package/cjs/IconMermaidDownload/index.js +59 -0
- package/cjs/IconMermaidFull/index.d.ts +4 -0
- package/cjs/IconMermaidFull/index.js +59 -0
- package/cjs/IconMermaidMagnify/index.d.ts +4 -0
- package/cjs/IconMermaidMagnify/index.js +59 -0
- package/cjs/IconMermaidScale/index.d.ts +4 -0
- package/cjs/IconMermaidScale/index.js +59 -0
- package/cjs/IconMermaidShrink/index.d.ts +4 -0
- package/cjs/IconMermaidShrink/index.js +59 -0
- package/cjs/IconSafeTag/index.d.ts +4 -0
- package/cjs/IconSafeTag/index.js +59 -0
- package/cjs/index.d.ts +7 -0
- package/cjs/index.js +15 -1
- package/dist/icon.min.js +1 -1
- package/esm/IconMermaidCopy/index.d.ts +4 -0
- package/esm/IconMermaidCopy/index.js +35 -0
- package/esm/IconMermaidDownload/index.d.ts +4 -0
- package/esm/IconMermaidDownload/index.js +34 -0
- package/esm/IconMermaidFull/index.d.ts +4 -0
- package/esm/IconMermaidFull/index.js +34 -0
- package/esm/IconMermaidMagnify/index.d.ts +4 -0
- package/esm/IconMermaidMagnify/index.js +34 -0
- package/esm/IconMermaidScale/index.d.ts +4 -0
- package/esm/IconMermaidScale/index.js +34 -0
- package/esm/IconMermaidShrink/index.d.ts +4 -0
- package/esm/IconMermaidShrink/index.js +34 -0
- package/esm/IconSafeTag/index.d.ts +4 -0
- package/esm/IconSafeTag/index.js +34 -0
- package/esm/index.d.ts +7 -0
- package/esm/index.js +7 -0
- package/package.json +1 -1
- package/src/IconMermaidCopy/index.tsx +15 -0
- package/src/IconMermaidDownload/index.tsx +15 -0
- package/src/IconMermaidFull/index.tsx +15 -0
- package/src/IconMermaidMagnify/index.tsx +15 -0
- package/src/IconMermaidScale/index.tsx +15 -0
- package/src/IconMermaidShrink/index.tsx +15 -0
- package/src/IconSafeTag/index.tsx +15 -0
- package/src/index.ts +7 -0
- package/umd/IconMermaidCopy/index.d.ts +4 -0
- package/umd/IconMermaidCopy/index.js +70 -0
- package/umd/IconMermaidDownload/index.d.ts +4 -0
- package/umd/IconMermaidDownload/index.js +69 -0
- package/umd/IconMermaidFull/index.d.ts +4 -0
- package/umd/IconMermaidFull/index.js +69 -0
- package/umd/IconMermaidMagnify/index.d.ts +4 -0
- package/umd/IconMermaidMagnify/index.js +69 -0
- package/umd/IconMermaidScale/index.d.ts +4 -0
- package/umd/IconMermaidScale/index.js +69 -0
- package/umd/IconMermaidShrink/index.d.ts +4 -0
- package/umd/IconMermaidShrink/index.js +69 -0
- package/umd/IconSafeTag/index.d.ts +4 -0
- package/umd/IconSafeTag/index.js +69 -0
- package/umd/index.d.ts +7 -0
- package/umd/index.js +16 -2
|
@@ -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 IconMermaidDownloadComponent(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 || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-mermaid-download").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { d: "M3.553 10.814a.27.27 0 0 1 .27.27v1.492h8.448v-1.491a.27.27 0 0 1 .272-.271h.881l.055.006a.27.27 0 0 1 .216.265v2.204l-.003.072a.712.712 0 0 1-.709.639h-9.87a.712.712 0 0 1-.713-.711v-2.204a.27.27 0 0 1 .271-.271h.882ZM8.488 2l.055.005a.271.271 0 0 1 .216.266v5.692l.29-.288 1.595-1.596a.272.272 0 0 1 .384 0l.623.624a.271.271 0 0 1 0 .384l-3.305 3.305a.271.271 0 0 1-.383 0L4.657 7.087a.271.271 0 0 1 0-.384l.623-.624a.272.272 0 0 1 .385 0l1.67 1.672V2.27c0-.15.122-.27.271-.271h.882Z" }));
|
|
66
|
+
}
|
|
67
|
+
var IconMermaidDownload = react_1.default.forwardRef(IconMermaidDownloadComponent);
|
|
68
|
+
exports.default = IconMermaidDownload;
|
|
69
|
+
});
|
|
@@ -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 IconMermaidFullComponent(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 || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-mermaid-full").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { d: "M2.9 9.95a.35.35 0 0 1 .35.35v2.45H5.7a.35.35 0 0 1 .35.35v.6a.35.35 0 0 1-.35.35H2.6a.65.65 0 0 1-.65-.65v-3.1a.35.35 0 0 1 .35-.35h.6Zm10.8 0a.35.35 0 0 1 .35.35v3.1a.65.65 0 0 1-.65.65h-3.1a.35.35 0 0 1-.35-.35v-.6a.35.35 0 0 1 .35-.35h2.45V10.3a.35.35 0 0 1 .35-.35h.6ZM10.95 5.4a.9.9 0 0 1 .9.9v3.4a.9.9 0 0 1-.9.9h-5.9a.9.9 0 0 1-.9-.9V6.3a.9.9 0 0 1 .9-.9h5.9Zm-5.6 4h5.3V6.6h-5.3v2.8Zm.35-7.45a.35.35 0 0 1 .35.35v.6a.35.35 0 0 1-.35.35H3.25V5.7a.35.35 0 0 1-.35.35h-.6a.35.35 0 0 1-.35-.35V2.6c0-.36.29-.65.65-.65h3.1Zm7.7 0c.36 0 .65.29.65.65v3.1a.35.35 0 0 1-.35.35h-.6a.35.35 0 0 1-.35-.35V3.25H10.3a.35.35 0 0 1-.35-.35v-.6a.35.35 0 0 1 .35-.35h3.1Z" }));
|
|
66
|
+
}
|
|
67
|
+
var IconMermaidFull = react_1.default.forwardRef(IconMermaidFullComponent);
|
|
68
|
+
exports.default = IconMermaidFull;
|
|
69
|
+
});
|
|
@@ -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 IconMermaidMagnifyComponent(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 || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-mermaid-magnify").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { d: "M7.505 1.45a6.056 6.056 0 0 1 6.055 6.055c0 1.428-.496 2.74-1.324 3.776l2.088 2.088a.3.3 0 0 1 0 .424l-.531.53a.3.3 0 0 1-.424 0l-2.088-2.087A6.056 6.056 0 1 1 7.505 1.45Zm0 1.35a4.706 4.706 0 1 0 0 9.41 4.706 4.706 0 0 0 0-9.41Zm.68 4.03h1.108a.3.3 0 0 1 .3.3v.75a.3.3 0 0 1-.3.3H8.184v1.108a.3.3 0 0 1-.3.3h-.75a.3.3 0 0 1-.3-.3V8.179H5.728a.3.3 0 0 1-.3-.3v-.75a.3.3 0 0 1 .3-.3h1.108V5.723a.3.3 0 0 1 .3-.3h.75a.3.3 0 0 1 .3.3V6.83Z" }));
|
|
66
|
+
}
|
|
67
|
+
var IconMermaidMagnify = react_1.default.forwardRef(IconMermaidMagnifyComponent);
|
|
68
|
+
exports.default = IconMermaidMagnify;
|
|
69
|
+
});
|
|
@@ -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 IconMermaidScaleComponent(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 || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-mermaid-scale").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { fillRule: "evenodd", d: "m8.966 8.495-.47.472a.333.333 0 0 0 0 .471l3.228 3.228H9.75c-.149 0-.203.016-.257.045a.303.303 0 0 0-.126.126c-.029.055-.045.108-.045.257v.479c0 .148.016.202.045.256a.303.303 0 0 0 .126.127c.054.029.108.044.257.044h3.572a.667.667 0 0 0 .667-.667V9.761c0-.149-.015-.203-.044-.257a.302.302 0 0 0-.126-.126c-.055-.03-.109-.045-.257-.045h-.479c-.148 0-.202.016-.257.045a.303.303 0 0 0-.126.126c-.029.054-.044.108-.044.257v1.953l-3.22-3.219a.333.333 0 0 0-.47 0ZM2.666 2A.667.667 0 0 0 2 2.667v3.666c0 .184.15.334.333.334H3c.184 0 .333-.15.333-.334v-2L6.52 7.519c.13.13.341.13.471 0l.472-.472a.333.333 0 0 0 0-.471L4.219 3.333h2.114A.334.334 0 0 0 6.667 3v-.667A.333.333 0 0 0 6.333 2H2.667Z", clipRule: "evenodd" }));
|
|
66
|
+
}
|
|
67
|
+
var IconMermaidScale = react_1.default.forwardRef(IconMermaidScaleComponent);
|
|
68
|
+
exports.default = IconMermaidScale;
|
|
69
|
+
});
|
|
@@ -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 IconMermaidShrinkComponent(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 || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-mermaid-shrink").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 16 16" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { d: "M7.505 1.45a6.056 6.056 0 0 1 6.055 6.055c0 1.428-.496 2.74-1.324 3.776l2.088 2.088a.3.3 0 0 1 0 .424l-.531.53a.3.3 0 0 1-.424 0l-2.088-2.087A6.056 6.056 0 1 1 7.505 1.45Zm0 1.35a4.706 4.706 0 1 0 0 9.41 4.706 4.706 0 0 0 0-9.41Zm2.088 5.08a.3.3 0 0 1-.3.3H5.727a.3.3 0 0 1-.3-.3v-.75a.3.3 0 0 1 .3-.3h3.566a.3.3 0 0 1 .3.3v.75Z" }));
|
|
66
|
+
}
|
|
67
|
+
var IconMermaidShrink = react_1.default.forwardRef(IconMermaidShrinkComponent);
|
|
68
|
+
exports.default = IconMermaidShrink;
|
|
69
|
+
});
|
|
@@ -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 IconSafeTagComponent(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 || 'hiagent';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-safe_tag").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 16 16", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { d: "M7.7334 1.00841C7.89707 0.936654 8.08334 0.936769 8.24707 1.00841L13.7295 3.40782C13.9625 3.50981 14.1133 3.74039 14.1133 3.99474C14.1131 4.73937 14.1123 6.24064 14.1123 6.49767C14.1122 9.15429 13.2337 10.8911 12.0879 12.3004C11.0498 13.5773 9.58899 14.5471 8.16211 15.0172C8.05011 15.0541 7.93041 15.0559 7.81836 15.0191C7.24785 14.8317 5.36882 14.1054 3.89355 12.2838C2.42576 10.4709 1.88871 8.70836 1.88867 6.36876C1.88867 6.05329 1.88824 5.55681 1.8877 5.04649C1.88731 4.68266 1.88694 4.31158 1.88672 3.99376C1.88657 3.73977 2.03697 3.50994 2.26953 3.40782L7.7334 1.00841ZM10.3828 5.89708C10.2579 5.7725 10.0556 5.77243 9.93066 5.89708L7.36719 8.46056L6.06934 7.1627C5.9444 7.03785 5.74218 7.03794 5.61719 7.1627L5.15137 7.62755C5.02642 7.75252 5.02645 7.95568 5.15137 8.08067L7.14062 10.0699C7.19881 10.1281 7.27444 10.1587 7.35059 10.1627C7.43795 10.1673 7.52697 10.1366 7.59375 10.0699L10.8486 6.81505C10.9733 6.69016 10.9732 6.48785 10.8486 6.3629L10.3828 5.89708Z" }));
|
|
66
|
+
}
|
|
67
|
+
var IconSafeTag = react_1.default.forwardRef(IconSafeTagComponent);
|
|
68
|
+
exports.default = IconSafeTag;
|
|
69
|
+
});
|
package/umd/index.d.ts
CHANGED
|
@@ -807,4 +807,11 @@ export { default as IconAdministratorLine } from './IconAdministratorLine';
|
|
|
807
807
|
export { default as IconUserLine } from './IconUserLine';
|
|
808
808
|
export { default as IconEvalOffline } from './IconEvalOffline';
|
|
809
809
|
export { default as IconEvalOnline } from './IconEvalOnline';
|
|
810
|
+
export { default as IconSafeTag } from './IconSafeTag';
|
|
811
|
+
export { default as IconMermaidFull } from './IconMermaidFull';
|
|
812
|
+
export { default as IconMermaidDownload } from './IconMermaidDownload';
|
|
813
|
+
export { default as IconMermaidMagnify } from './IconMermaidMagnify';
|
|
814
|
+
export { default as IconMermaidShrink } from './IconMermaidShrink';
|
|
815
|
+
export { default as IconMermaidCopy } from './IconMermaidCopy';
|
|
816
|
+
export { default as IconMermaidScale } from './IconMermaidScale';
|
|
810
817
|
export * from './type';
|