@tant/icons 1.20.2 → 1.20.4
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/dist/es/icons/Dashboard-Generate-cl.js +142 -0
- package/dist/es/icons/clean.js +69 -0
- package/dist/es/icons/logo-AppPush-gray.js +1 -1
- package/dist/es/icons/logo-wechat-gray.js +1 -1
- package/dist/es/icons/robot.js +73 -0
- package/dist/es/icons/switch.js +65 -0
- package/dist/es/icons/system-build.js +2 -2
- package/dist/es/index.js +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/lib/icons/Dashboard-Generate-cl.js +149 -0
- package/dist/lib/icons/clean.js +76 -0
- package/dist/lib/icons/logo-AppPush-gray.js +1 -1
- package/dist/lib/icons/logo-wechat-gray.js +1 -1
- package/dist/lib/icons/robot.js +80 -0
- package/dist/lib/icons/switch.js +72 -0
- package/dist/lib/icons/system-build.js +2 -2
- package/dist/lib/index.js +28 -0
- package/dist/tant-icons.cjs.js +2214 -1905
- package/dist/tant-icons.esm.js +2211 -1906
- package/package.json +1 -1
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
fill: "none",
|
|
47
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
48
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
fillRule: "evenodd",
|
|
50
|
+
clipRule: "evenodd",
|
|
51
|
+
d: "M10 16a1 1 0 011 1v3l-.005.102A1 1 0 0110 21H4l-.103-.005a1 1 0 01-.892-.893L3 20v-3a1 1 0 01.897-.995L4 16h6zm-5.3 3.3h4.6v-1.6H4.7v1.6z",
|
|
52
|
+
fill: "url(#paint0_linear_9883_58)"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
fillRule: "evenodd",
|
|
55
|
+
clipRule: "evenodd",
|
|
56
|
+
d: "M20 10a1 1 0 011 1v9l-.005.102A1 1 0 0120 21h-6l-.102-.005a1 1 0 01-.893-.893L13 20v-9a1 1 0 01.898-.995L14 10h6zm-5.3 9.3h4.6v-7.6h-4.6v7.6z",
|
|
57
|
+
fill: "url(#paint1_linear_9883_58)"
|
|
58
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
59
|
+
fillRule: "evenodd",
|
|
60
|
+
clipRule: "evenodd",
|
|
61
|
+
d: "M10 3a1 1 0 011 1v9l-.005.102A1 1 0 0110 14H4l-.103-.005a1 1 0 01-.892-.893L3 13V4a1 1 0 01.897-.995L4 3h6zm-5.3 9.3h4.6V4.7H4.7v7.6z",
|
|
62
|
+
fill: "url(#paint2_linear_9883_58)"
|
|
63
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
64
|
+
fillRule: "evenodd",
|
|
65
|
+
clipRule: "evenodd",
|
|
66
|
+
d: "M20 3a1 1 0 011 1v3l-.005.103A1 1 0 0120 8h-6l-.102-.005a1 1 0 01-.893-.892L13 7V4a1 1 0 01.898-.995L14 3h6zm-5.3 3.3h4.6V4.7h-4.6v1.6z",
|
|
67
|
+
fill: "url(#paint3_linear_9883_58)"
|
|
68
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
69
|
+
id: "paint0_linear_9883_58",
|
|
70
|
+
x1: "3",
|
|
71
|
+
y1: "12",
|
|
72
|
+
x2: "21.512",
|
|
73
|
+
y2: "12",
|
|
74
|
+
gradientUnits: "userSpaceOnUse"
|
|
75
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
76
|
+
stopColor: "#1E76F0"
|
|
77
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
78
|
+
offset: ".355",
|
|
79
|
+
stopColor: "#9747FF"
|
|
80
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
81
|
+
offset: ".965",
|
|
82
|
+
stopColor: "#1E76F0"
|
|
83
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
84
|
+
id: "paint1_linear_9883_58",
|
|
85
|
+
x1: "3",
|
|
86
|
+
y1: "12",
|
|
87
|
+
x2: "21.512",
|
|
88
|
+
y2: "12",
|
|
89
|
+
gradientUnits: "userSpaceOnUse"
|
|
90
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
91
|
+
stopColor: "#1E76F0"
|
|
92
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
93
|
+
offset: ".355",
|
|
94
|
+
stopColor: "#9747FF"
|
|
95
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
96
|
+
offset: ".965",
|
|
97
|
+
stopColor: "#1E76F0"
|
|
98
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
99
|
+
id: "paint2_linear_9883_58",
|
|
100
|
+
x1: "3",
|
|
101
|
+
y1: "12",
|
|
102
|
+
x2: "21.512",
|
|
103
|
+
y2: "12",
|
|
104
|
+
gradientUnits: "userSpaceOnUse"
|
|
105
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
106
|
+
stopColor: "#1E76F0"
|
|
107
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
108
|
+
offset: ".355",
|
|
109
|
+
stopColor: "#9747FF"
|
|
110
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
111
|
+
offset: ".965",
|
|
112
|
+
stopColor: "#1E76F0"
|
|
113
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
114
|
+
id: "paint3_linear_9883_58",
|
|
115
|
+
x1: "3",
|
|
116
|
+
y1: "12",
|
|
117
|
+
x2: "21.512",
|
|
118
|
+
y2: "12",
|
|
119
|
+
gradientUnits: "userSpaceOnUse"
|
|
120
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
121
|
+
stopColor: "#1E76F0"
|
|
122
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
123
|
+
offset: ".355",
|
|
124
|
+
stopColor: "#9747FF"
|
|
125
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
126
|
+
offset: ".965",
|
|
127
|
+
stopColor: "#1E76F0"
|
|
128
|
+
}))))));
|
|
129
|
+
};
|
|
130
|
+
DashboardGenerateCl.propTypes = {
|
|
131
|
+
iconClassName: PropTypes.string,
|
|
132
|
+
spin: PropTypes.bool,
|
|
133
|
+
color: PropTypes.string,
|
|
134
|
+
testid: PropTypes.string,
|
|
135
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
136
|
+
};
|
|
137
|
+
DashboardGenerateCl.defaultProps = {
|
|
138
|
+
spin: false,
|
|
139
|
+
color: 'currentColor',
|
|
140
|
+
size: '1em'
|
|
141
|
+
};
|
|
142
|
+
export default DashboardGenerateCl;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var Clean = function Clean(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M10.779 14.606a1 1 0 011.414 1.414l-2.121 2.122-1.415-1.415 2.122-2.12z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M7.95 11.778a1 1 0 111.414 1.414l-2.121 2.121L5.829 13.9l2.12-2.12z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
fillRule: "evenodd",
|
|
53
|
+
clipRule: "evenodd",
|
|
54
|
+
d: "M19.263 3.293a1 1 0 011.414 1.414l-4.243 4.242 3.536 3.536.07.076a1 1 0 01-.07 1.338l-7.778 7.779-.075.069a1.002 1.002 0 01-1.263 0l-.076-.07-8.486-8.485-.068-.076a1 1 0 010-1.262l.068-.076L10.071 4a1 1 0 011.338-.07l.076.07 3.535 3.535 4.243-4.242zm-14.85 9.192l7.072 7.072 4.243-4.244-7.071-7.07-4.243 4.242zm5.658-5.657l7.071 7.071.707-.707-7.071-7.071-.707.707z"
|
|
55
|
+
}))));
|
|
56
|
+
};
|
|
57
|
+
Clean.propTypes = {
|
|
58
|
+
iconClassName: PropTypes.string,
|
|
59
|
+
spin: PropTypes.bool,
|
|
60
|
+
color: PropTypes.string,
|
|
61
|
+
testid: PropTypes.string,
|
|
62
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
63
|
+
};
|
|
64
|
+
Clean.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
export default Clean;
|
|
@@ -45,7 +45,7 @@ var LogoAppPushGray = function LogoAppPushGray(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "M16.5 6.5a1 1 0 00-1-1h-7a1 1 0 00-1
|
|
48
|
+
d: "M16.5 6.5a1 1 0 00-1-1h-7a1 1 0 00-1 1v2a1 1 0 001 1h7a1 1 0 001-1v-2z"
|
|
49
49
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
50
|
d: "M4 4a2 2 0 012-2h12a2 2 0 012 2v16a2 2 0 01-2 2H6a2 2 0 01-2-2V4zm2 1v14a1 1 0 001 1h10a1 1 0 001-1V5a1 1 0 00-1-1H7a1 1 0 00-1 1z"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("path", {
|
|
@@ -45,7 +45,7 @@ var LogoWechatGray = function LogoWechatGray(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "
|
|
48
|
+
d: "M16.777 8.628c3.99 0 7.223 2.768 7.223 6.185 0 1.516-.5 2.187-1.3 3.387l.55 2.8-2.75-1c-1.142.648-2.253 1-3.723 1-3.982 0-7.215-2.77-7.215-6.187 0-3.417 3.233-6.185 7.215-6.185zm0 2.148c-2.715 0-5.115 1.873-5.115 4.037 0 2.166 2.393 4.187 5.115 4.187C19.5 19 22 16.979 22 14.813c0-2.165-2.478-4.037-5.223-4.037zM8.55 3c3.757 0 6.953 2.044 8.093 4.88a9.355 9.355 0 00-2.326.333C13.35 6.478 11.13 5 8.55 5 5.077 5 2 7.473 2 10.182 2 12.89 5.028 15.4 8.5 15.4h.277c.03.782.26 1.221.583 1.933h-.81c-1.069 0-2.09-.164-3.033-.462l-2.974 1.405L2.6 15.5C1 14 0 12.493 0 10.182 0 6.214 3.825 3 8.55 3zm6.454 9.855a1.048 1.048 0 01.947 1.05 1.049 1.049 0 01-.947 1.05l-.104.006a1.049 1.049 0 01-1.045-.951l-.005-.105a1.049 1.049 0 011.05-1.056l.104.006zm3.82-.005a1.05 1.05 0 011.05 1.055c0 .28-.11.548-.308.746a1.05 1.05 0 01-1.793-.746 1.049 1.049 0 011.05-1.056zM6.217 7.3c.298 0 .584.12.795.332a1.135 1.135 0 010 1.6 1.122 1.122 0 01-1.92-.8c0-.3.118-.588.329-.8.21-.212.497-.332.796-.332zm4.47 0c.298 0 .584.12.795.332a1.135 1.135 0 010 1.6 1.123 1.123 0 01-1.92-.8c0-.3.118-.588.329-.8.21-.212.497-.332.796-.332z"
|
|
49
49
|
}))));
|
|
50
50
|
};
|
|
51
51
|
LogoWechatGray.propTypes = {
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var Robot = function Robot(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M9.5 11a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M14.5 11a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
fillRule: "evenodd",
|
|
53
|
+
clipRule: "evenodd",
|
|
54
|
+
d: "M12 2a2 2 0 011 3.73V7h5l.102.005A1 1 0 0119 8v10l-.005.102a1 1 0 01-.893.893L18 19H6l-.103-.005a1 1 0 01-.892-.893L5 18V8a1 1 0 01.897-.995L6 7h5V5.73A2 2 0 0112 2zM7 17h10V9H7v8z"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
d: "M3 10a1 1 0 011 1v3l-.005.102a1 1 0 01-1.99 0L2 14v-3a1 1 0 011-1z"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
d: "M21 10a1 1 0 011 1v3l-.005.102a1 1 0 01-1.99 0L20 14v-3a1 1 0 011-1z"
|
|
59
|
+
}))));
|
|
60
|
+
};
|
|
61
|
+
Robot.propTypes = {
|
|
62
|
+
iconClassName: PropTypes.string,
|
|
63
|
+
spin: PropTypes.bool,
|
|
64
|
+
color: PropTypes.string,
|
|
65
|
+
testid: PropTypes.string,
|
|
66
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
67
|
+
};
|
|
68
|
+
Robot.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '1em'
|
|
72
|
+
};
|
|
73
|
+
export default Robot;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var Switch = function Switch(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M5.24 15.15A1 1 0 016 13.5h12a1 1 0 010 2H8.173l1.585 1.85.064.08a1 1 0 01-1.581 1.22l-3-3.5z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M5 9.5a1 1 0 011-1h9.826l-1.585-1.85-.063-.081a1 1 0 011.58-1.22l3 3.5a1 1 0 01-.758 1.65H6a1 1 0 01-1-1z"
|
|
51
|
+
}))));
|
|
52
|
+
};
|
|
53
|
+
Switch.propTypes = {
|
|
54
|
+
iconClassName: PropTypes.string,
|
|
55
|
+
spin: PropTypes.bool,
|
|
56
|
+
color: PropTypes.string,
|
|
57
|
+
testid: PropTypes.string,
|
|
58
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
59
|
+
};
|
|
60
|
+
Switch.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default Switch;
|
|
@@ -45,11 +45,11 @@ var SystemBuild = function SystemBuild(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "M2 12c0-.865.11-1.703.316-2.504A3 3 0 004.99 4.867a9.99 9.99 0 014.335-2.505 3 3 0 005.348 0 9.99 9.99 0 014.335 2.505 3 3 0 002.675 4.63 10.036 10.036 0 010 5.007 3 3 0 00-2.675 4.
|
|
48
|
+
d: "M2 12c0-.865.11-1.703.316-2.504A3 3 0 004.99 4.867a9.99 9.99 0 014.335-2.505 3 3 0 005.348 0 9.99 9.99 0 014.335 2.505 3 3 0 002.675 4.63 10.036 10.036 0 010 5.007 3 3 0 00-2.675 4.629 9.99 9.99 0 01-4.335 2.505 3 3 0 00-5.348 0 9.99 9.99 0 01-4.335-2.505 3 3 0 00-2.675-4.63A10.056 10.056 0 012 12zm4.804 3c.63 1.091.81 2.346.564 3.524.408.29.842.541 1.297.75A4.993 4.993 0 0112 18c1.26 0 2.438.471 3.335 1.274.455-.209.889-.46 1.297-.75A4.993 4.993 0 0117.196 15a4.993 4.993 0 012.77-2.25 8.134 8.134 0 000-1.5A4.993 4.993 0 0117.195 9a4.993 4.993 0 01-.564-3.524 7.988 7.988 0 00-1.297-.75A4.993 4.993 0 0112 6a4.993 4.993 0 01-3.335-1.274 7.99 7.99 0 00-1.297.75A4.993 4.993 0 016.804 9a4.993 4.993 0 01-2.77 2.25 8.125 8.125 0 000 1.5A4.99 4.99 0 016.804 15z"
|
|
49
49
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
50
|
fillRule: "evenodd",
|
|
51
51
|
clipRule: "evenodd",
|
|
52
|
-
d: "M11.102 12.
|
|
52
|
+
d: "M11.102 12.341l4.013-3.461 1.385 1.385-5.539 4.846L7.5 11.649l1.385-1.384 2.217 2.076z"
|
|
53
53
|
}))));
|
|
54
54
|
};
|
|
55
55
|
SystemBuild.propTypes = {
|
package/dist/es/index.js
CHANGED
|
@@ -33,6 +33,7 @@ export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
|
|
|
33
33
|
export { default as TaReportReadingCl } from './icons/Report- Reading-cl';
|
|
34
34
|
export { default as TaCopywritingAiCl } from './icons/Copywriting- AI-cl';
|
|
35
35
|
export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
|
|
36
|
+
export { default as TaDashboardGenerateCl } from './icons/Dashboard-Generate-cl';
|
|
36
37
|
export { default as TaFlagCn } from './icons/flag-cn';
|
|
37
38
|
export { default as TaFlagUs } from './icons/flag-us';
|
|
38
39
|
export { default as TaFlagJp } from './icons/flag-jp';
|
|
@@ -288,6 +289,7 @@ export { default as TaDataOutput } from './icons/data-output';
|
|
|
288
289
|
export { default as TaManageQuery } from './icons/manage-query';
|
|
289
290
|
export { default as TaSad } from './icons/sad';
|
|
290
291
|
export { default as TaNeutral } from './icons/neutral';
|
|
292
|
+
export { default as TaRobot } from './icons/robot';
|
|
291
293
|
export { default as TaFontSize } from './icons/font-size';
|
|
292
294
|
export { default as TaFontBold } from './icons/font-bold';
|
|
293
295
|
export { default as TaFontItalic } from './icons/font- italic';
|
|
@@ -428,6 +430,8 @@ export { default as TaArrowGoBack } from './icons/arrow-go-back';
|
|
|
428
430
|
export { default as TaArrowGoForward } from './icons/arrow-go-forward';
|
|
429
431
|
export { default as TaRecycle } from './icons/recycle';
|
|
430
432
|
export { default as TaOfflineSync } from './icons/offline-sync';
|
|
433
|
+
export { default as TaSwitch } from './icons/switch';
|
|
434
|
+
export { default as TaClean } from './icons/clean';
|
|
431
435
|
export { default as TaInfo } from './icons/info';
|
|
432
436
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
433
437
|
export { default as TaHelp } from './icons/help';
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export const TaDashboardReadingCl: Icon;
|
|
|
45
45
|
export const TaReportReadingCl: Icon;
|
|
46
46
|
export const TaCopywritingAiCl: Icon;
|
|
47
47
|
export const TaDashboardAiCl: Icon;
|
|
48
|
+
export const TaDashboardGenerateCl: Icon;
|
|
48
49
|
export const TaFlagCn: Icon;
|
|
49
50
|
export const TaFlagUs: Icon;
|
|
50
51
|
export const TaFlagJp: Icon;
|
|
@@ -300,6 +301,7 @@ export const TaDataOutput: Icon;
|
|
|
300
301
|
export const TaManageQuery: Icon;
|
|
301
302
|
export const TaSad: Icon;
|
|
302
303
|
export const TaNeutral: Icon;
|
|
304
|
+
export const TaRobot: Icon;
|
|
303
305
|
export const TaFontSize: Icon;
|
|
304
306
|
export const TaFontBold: Icon;
|
|
305
307
|
export const TaFontItalic: Icon;
|
|
@@ -440,6 +442,8 @@ export const TaArrowGoBack: Icon;
|
|
|
440
442
|
export const TaArrowGoForward: Icon;
|
|
441
443
|
export const TaRecycle: Icon;
|
|
442
444
|
export const TaOfflineSync: Icon;
|
|
445
|
+
export const TaSwitch: Icon;
|
|
446
|
+
export const TaClean: Icon;
|
|
443
447
|
export const TaInfo: Icon;
|
|
444
448
|
export const TaInfoFill: Icon;
|
|
445
449
|
export const TaHelp: Icon;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
fill: "none",
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
55
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
fillRule: "evenodd",
|
|
57
|
+
clipRule: "evenodd",
|
|
58
|
+
d: "M10 16a1 1 0 011 1v3l-.005.102A1 1 0 0110 21H4l-.103-.005a1 1 0 01-.892-.893L3 20v-3a1 1 0 01.897-.995L4 16h6zm-5.3 3.3h4.6v-1.6H4.7v1.6z",
|
|
59
|
+
fill: "url(#paint0_linear_9883_58)"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
+
fillRule: "evenodd",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
d: "M20 10a1 1 0 011 1v9l-.005.102A1 1 0 0120 21h-6l-.102-.005a1 1 0 01-.893-.893L13 20v-9a1 1 0 01.898-.995L14 10h6zm-5.3 9.3h4.6v-7.6h-4.6v7.6z",
|
|
64
|
+
fill: "url(#paint1_linear_9883_58)"
|
|
65
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
66
|
+
fillRule: "evenodd",
|
|
67
|
+
clipRule: "evenodd",
|
|
68
|
+
d: "M10 3a1 1 0 011 1v9l-.005.102A1 1 0 0110 14H4l-.103-.005a1 1 0 01-.892-.893L3 13V4a1 1 0 01.897-.995L4 3h6zm-5.3 9.3h4.6V4.7H4.7v7.6z",
|
|
69
|
+
fill: "url(#paint2_linear_9883_58)"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
71
|
+
fillRule: "evenodd",
|
|
72
|
+
clipRule: "evenodd",
|
|
73
|
+
d: "M20 3a1 1 0 011 1v3l-.005.103A1 1 0 0120 8h-6l-.102-.005a1 1 0 01-.893-.892L13 7V4a1 1 0 01.898-.995L14 3h6zm-5.3 3.3h4.6V4.7h-4.6v1.6z",
|
|
74
|
+
fill: "url(#paint3_linear_9883_58)"
|
|
75
|
+
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
76
|
+
id: "paint0_linear_9883_58",
|
|
77
|
+
x1: "3",
|
|
78
|
+
y1: "12",
|
|
79
|
+
x2: "21.512",
|
|
80
|
+
y2: "12",
|
|
81
|
+
gradientUnits: "userSpaceOnUse"
|
|
82
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
83
|
+
stopColor: "#1E76F0"
|
|
84
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
85
|
+
offset: ".355",
|
|
86
|
+
stopColor: "#9747FF"
|
|
87
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
88
|
+
offset: ".965",
|
|
89
|
+
stopColor: "#1E76F0"
|
|
90
|
+
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
91
|
+
id: "paint1_linear_9883_58",
|
|
92
|
+
x1: "3",
|
|
93
|
+
y1: "12",
|
|
94
|
+
x2: "21.512",
|
|
95
|
+
y2: "12",
|
|
96
|
+
gradientUnits: "userSpaceOnUse"
|
|
97
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
98
|
+
stopColor: "#1E76F0"
|
|
99
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
100
|
+
offset: ".355",
|
|
101
|
+
stopColor: "#9747FF"
|
|
102
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
103
|
+
offset: ".965",
|
|
104
|
+
stopColor: "#1E76F0"
|
|
105
|
+
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
106
|
+
id: "paint2_linear_9883_58",
|
|
107
|
+
x1: "3",
|
|
108
|
+
y1: "12",
|
|
109
|
+
x2: "21.512",
|
|
110
|
+
y2: "12",
|
|
111
|
+
gradientUnits: "userSpaceOnUse"
|
|
112
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
113
|
+
stopColor: "#1E76F0"
|
|
114
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
115
|
+
offset: ".355",
|
|
116
|
+
stopColor: "#9747FF"
|
|
117
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
118
|
+
offset: ".965",
|
|
119
|
+
stopColor: "#1E76F0"
|
|
120
|
+
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
121
|
+
id: "paint3_linear_9883_58",
|
|
122
|
+
x1: "3",
|
|
123
|
+
y1: "12",
|
|
124
|
+
x2: "21.512",
|
|
125
|
+
y2: "12",
|
|
126
|
+
gradientUnits: "userSpaceOnUse"
|
|
127
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
128
|
+
stopColor: "#1E76F0"
|
|
129
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
130
|
+
offset: ".355",
|
|
131
|
+
stopColor: "#9747FF"
|
|
132
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
133
|
+
offset: ".965",
|
|
134
|
+
stopColor: "#1E76F0"
|
|
135
|
+
}))))));
|
|
136
|
+
};
|
|
137
|
+
DashboardGenerateCl.propTypes = {
|
|
138
|
+
iconClassName: _propTypes["default"].string,
|
|
139
|
+
spin: _propTypes["default"].bool,
|
|
140
|
+
color: _propTypes["default"].string,
|
|
141
|
+
testid: _propTypes["default"].string,
|
|
142
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
143
|
+
};
|
|
144
|
+
DashboardGenerateCl.defaultProps = {
|
|
145
|
+
spin: false,
|
|
146
|
+
color: 'currentColor',
|
|
147
|
+
size: '1em'
|
|
148
|
+
};
|
|
149
|
+
var _default = exports["default"] = DashboardGenerateCl;
|