@tant/icons 1.18.1 → 1.18.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/dist/es/icons/chart-gantt .js +67 -0
- package/dist/es/icons/e-config-cl.js +17 -26
- package/dist/es/icons/partition.js +65 -0
- package/dist/es/icons/undo-approval.js +67 -0
- package/dist/es/index.js +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/lib/icons/chart-gantt .js +74 -0
- package/dist/lib/icons/e-config-cl.js +17 -26
- package/dist/lib/icons/partition.js +72 -0
- package/dist/lib/icons/undo-approval.js +74 -0
- package/dist/lib/index.js +21 -0
- package/dist/tant-icons.cjs.js +1372 -1212
- package/dist/tant-icons.esm.js +1370 -1213
- package/package.json +1 -1
|
@@ -0,0 +1,67 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(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 ChartGantt = function ChartGantt(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 7V4h12v3H9z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M9 20v-3h12v3H9z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M3 10.5v3h15v-3H3z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
ChartGantt.propTypes = {
|
|
56
|
+
iconClassName: PropTypes.string,
|
|
57
|
+
spin: PropTypes.bool,
|
|
58
|
+
color: PropTypes.string,
|
|
59
|
+
testid: PropTypes.string,
|
|
60
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
61
|
+
};
|
|
62
|
+
ChartGantt.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
export default ChartGantt;
|
|
@@ -45,34 +45,25 @@ var EConfigCl = function EConfigCl(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
fill: "none",
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg"
|
|
48
|
-
}, /*#__PURE__*/React.createElement("
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
height: "10",
|
|
53
|
-
rx: "2",
|
|
48
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
49
|
+
cx: "11",
|
|
50
|
+
cy: "13",
|
|
51
|
+
r: "9",
|
|
54
52
|
fill: "#B3CFF8"
|
|
55
|
-
}), /*#__PURE__*/React.createElement("
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
y: "3",
|
|
65
|
-
width: "9",
|
|
66
|
-
height: "6",
|
|
67
|
-
rx: "2",
|
|
68
|
-
fill: "#1560E9"
|
|
69
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
70
|
-
x: "13",
|
|
71
|
-
y: "11",
|
|
72
|
-
width: "9",
|
|
73
|
-
height: "10",
|
|
74
|
-
rx: "2",
|
|
53
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
54
|
+
cx: "11",
|
|
55
|
+
cy: "13",
|
|
56
|
+
r: "6",
|
|
57
|
+
fill: "#1E76F0"
|
|
58
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
59
|
+
cx: "11",
|
|
60
|
+
cy: "13",
|
|
61
|
+
r: "3",
|
|
75
62
|
fill: "#B3CFF8"
|
|
63
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
64
|
+
d: "M17.4 9.087l-4.15 3.99a4.04 4.04 0 01-3.295 1.087 3.87 3.87 0 011.174-3.21l4.15-3.989.356-1.73L19 2l.438 3.047 3.098.489L19.17 8.77l-1.771.316z",
|
|
65
|
+
fill: "#1E76F0",
|
|
66
|
+
stroke: "#fff"
|
|
76
67
|
}))));
|
|
77
68
|
};
|
|
78
69
|
EConfigCl.propTypes = {
|
|
@@ -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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(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 Partition = function Partition(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
|
+
fillRule: "evenodd",
|
|
49
|
+
clipRule: "evenodd",
|
|
50
|
+
d: "M9.47 13.935V19H7V5h5.44c1.588 0 2.848.413 3.779 1.24.937.827 1.406 1.92 1.406 3.281 0 1.394-.459 2.478-1.377 3.252-.911.775-2.19 1.162-3.838 1.162H9.47zm0-1.982h2.97c.878 0 1.549-.205 2.011-.615.462-.417.694-1.016.694-1.797 0-.768-.235-1.38-.704-1.836-.468-.462-1.113-.7-1.933-.713H9.47v4.961z"
|
|
51
|
+
}))));
|
|
52
|
+
};
|
|
53
|
+
Partition.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
|
+
Partition.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default Partition;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(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 UndoApproval = function UndoApproval(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.589 6.339c0 1.447.635 2.744 1.64 3.63l-.402 1.208h-5.11a.968.968 0 00-.967.968v3.871c0 .535.433.968.968.968h6.63a8.69 8.69 0 01-.327-1.936H2.685v-1.935h4.84a.967.967 0 00.65-.251 8.653 8.653 0 011.036-2.716l.05-.152c.193-.592.18-.84-.392-1.205a2.903 2.903 0 114.454-2.248 8.647 8.647 0 011.93-.564 4.84 4.84 0 00-9.664.362z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M9.173 18.92a8.746 8.746 0 001.52 1.935h-9.46a.484.484 0 01-.483-.484v-.968c0-.267.217-.484.484-.484h7.94z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M23.25 17.25c0-.916-.192-1.721-.576-2.416a4.078 4.078 0 00-1.658-1.632c-.721-.393-1.585-.59-2.592-.59h-4.333l-1.527.071 1.134-.97 1.608-1.618a.838.838 0 00.176-.237.764.764 0 00.063-.323c0-.22-.07-.405-.21-.554a.728.728 0 00-.555-.223.773.773 0 00-.57.252l-3.779 3.81a.85.85 0 00-.182.28.812.812 0 00-.064.317c0 .11.022.218.064.324a.773.773 0 00.182.273l3.78 3.81a.773.773 0 00.569.252c.23 0 .414-.071.555-.215a.784.784 0 00.21-.561.78.78 0 00-.239-.568l-1.608-1.61-1.134-.97 1.527.07h4.354c.693 0 1.28.128 1.763.382.487.249.857.599 1.11 1.05.253.445.38.958.38 1.538 0 .585-.127 1.105-.38 1.56-.253.451-.623.806-1.11 1.065-.482.263-1.07.395-1.763.395h-1.552a.758.758 0 00-.576.237.797.797 0 00-.225.568c0 .22.075.41.225.568.15.159.341.238.576.238h1.615c.989 0 1.836-.19 2.543-.568a3.897 3.897 0 001.63-1.597c.38-.685.569-1.488.569-2.408z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
UndoApproval.propTypes = {
|
|
56
|
+
iconClassName: PropTypes.string,
|
|
57
|
+
spin: PropTypes.bool,
|
|
58
|
+
color: PropTypes.string,
|
|
59
|
+
testid: PropTypes.string,
|
|
60
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
61
|
+
};
|
|
62
|
+
UndoApproval.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
export default UndoApproval;
|
package/dist/es/index.js
CHANGED
|
@@ -149,6 +149,7 @@ export { default as TaChartBarTable } from './icons/chart-bar-table';
|
|
|
149
149
|
export { default as TaChartLineTable } from './icons/chart-line-table';
|
|
150
150
|
export { default as TaChartScatter } from './icons/chart-scatter';
|
|
151
151
|
export { default as TaSqlTableView } from './icons/sql-table-view';
|
|
152
|
+
export { default as TaChartGantt } from './icons/chart-gantt ';
|
|
152
153
|
export { default as TaMEvent } from './icons/m-event';
|
|
153
154
|
export { default as TaMRetention } from './icons/m-retention';
|
|
154
155
|
export { default as TaMFunnel } from './icons/m-funnel';
|
|
@@ -213,6 +214,7 @@ export { default as TaIndex } from './icons/index';
|
|
|
213
214
|
export { default as TaSortUp } from './icons/sort-up';
|
|
214
215
|
export { default as TaSortDown } from './icons/sort-down';
|
|
215
216
|
export { default as TaFunction } from './icons/function';
|
|
217
|
+
export { default as TaPartition } from './icons/partition';
|
|
216
218
|
export { default as TaEducation } from './icons/education';
|
|
217
219
|
export { default as TaEducationFill } from './icons/education-fill';
|
|
218
220
|
export { default as TaGame } from './icons/game';
|
|
@@ -249,6 +251,7 @@ export { default as TaRenew } from './icons/renew';
|
|
|
249
251
|
export { default as TaSchedule } from './icons/schedule';
|
|
250
252
|
export { default as TaBring } from './icons/bring';
|
|
251
253
|
export { default as TaPulse } from './icons/pulse';
|
|
254
|
+
export { default as TaUndoApproval } from './icons/undo-approval';
|
|
252
255
|
export { default as TaFontSize } from './icons/font-size';
|
|
253
256
|
export { default as TaFontBold } from './icons/font-bold';
|
|
254
257
|
export { default as TaFontItalic } from './icons/font- italic';
|
package/dist/index.d.ts
CHANGED
|
@@ -161,6 +161,7 @@ export const TaChartBarTable: Icon;
|
|
|
161
161
|
export const TaChartLineTable: Icon;
|
|
162
162
|
export const TaChartScatter: Icon;
|
|
163
163
|
export const TaSqlTableView: Icon;
|
|
164
|
+
export const TaChartGantt: Icon;
|
|
164
165
|
export const TaMEvent: Icon;
|
|
165
166
|
export const TaMRetention: Icon;
|
|
166
167
|
export const TaMFunnel: Icon;
|
|
@@ -225,6 +226,7 @@ export const TaIndex: Icon;
|
|
|
225
226
|
export const TaSortUp: Icon;
|
|
226
227
|
export const TaSortDown: Icon;
|
|
227
228
|
export const TaFunction: Icon;
|
|
229
|
+
export const TaPartition: Icon;
|
|
228
230
|
export const TaEducation: Icon;
|
|
229
231
|
export const TaEducationFill: Icon;
|
|
230
232
|
export const TaGame: Icon;
|
|
@@ -261,6 +263,7 @@ export const TaRenew: Icon;
|
|
|
261
263
|
export const TaSchedule: Icon;
|
|
262
264
|
export const TaBring: Icon;
|
|
263
265
|
export const TaPulse: Icon;
|
|
266
|
+
export const TaUndoApproval: Icon;
|
|
264
267
|
export const TaFontSize: Icon;
|
|
265
268
|
export const TaFontBold: Icon;
|
|
266
269
|
export const TaFontItalic: Icon;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var ChartGantt = function ChartGantt(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
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M9 7V4h12v3H9z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M9 20v-3h12v3H9z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M3 10.5v3h15v-3H3z"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
ChartGantt.propTypes = {
|
|
63
|
+
iconClassName: _propTypes["default"].string,
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
testid: _propTypes["default"].string,
|
|
67
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
68
|
+
};
|
|
69
|
+
ChartGantt.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '1em'
|
|
73
|
+
};
|
|
74
|
+
var _default = exports["default"] = ChartGantt;
|
|
@@ -52,34 +52,25 @@ var EConfigCl = function EConfigCl(props) {
|
|
|
52
52
|
height: "24",
|
|
53
53
|
fill: "none",
|
|
54
54
|
xmlns: "http://www.w3.org/2000/svg"
|
|
55
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
height: "10",
|
|
60
|
-
rx: "2",
|
|
55
|
+
}, /*#__PURE__*/_react["default"].createElement("circle", {
|
|
56
|
+
cx: "11",
|
|
57
|
+
cy: "13",
|
|
58
|
+
r: "9",
|
|
61
59
|
fill: "#B3CFF8"
|
|
62
|
-
}), /*#__PURE__*/_react["default"].createElement("
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
y: "3",
|
|
72
|
-
width: "9",
|
|
73
|
-
height: "6",
|
|
74
|
-
rx: "2",
|
|
75
|
-
fill: "#1560E9"
|
|
76
|
-
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
77
|
-
x: "13",
|
|
78
|
-
y: "11",
|
|
79
|
-
width: "9",
|
|
80
|
-
height: "10",
|
|
81
|
-
rx: "2",
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
61
|
+
cx: "11",
|
|
62
|
+
cy: "13",
|
|
63
|
+
r: "6",
|
|
64
|
+
fill: "#1E76F0"
|
|
65
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
66
|
+
cx: "11",
|
|
67
|
+
cy: "13",
|
|
68
|
+
r: "3",
|
|
82
69
|
fill: "#B3CFF8"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
71
|
+
d: "M17.4 9.087l-4.15 3.99a4.04 4.04 0 01-3.295 1.087 3.87 3.87 0 011.174-3.21l4.15-3.989.356-1.73L19 2l.438 3.047 3.098.489L19.17 8.77l-1.771.316z",
|
|
72
|
+
fill: "#1E76F0",
|
|
73
|
+
stroke: "#fff"
|
|
83
74
|
}))));
|
|
84
75
|
};
|
|
85
76
|
EConfigCl.propTypes = {
|
|
@@ -0,0 +1,72 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var Partition = function Partition(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
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
fillRule: "evenodd",
|
|
56
|
+
clipRule: "evenodd",
|
|
57
|
+
d: "M9.47 13.935V19H7V5h5.44c1.588 0 2.848.413 3.779 1.24.937.827 1.406 1.92 1.406 3.281 0 1.394-.459 2.478-1.377 3.252-.911.775-2.19 1.162-3.838 1.162H9.47zm0-1.982h2.97c.878 0 1.549-.205 2.011-.615.462-.417.694-1.016.694-1.797 0-.768-.235-1.38-.704-1.836-.468-.462-1.113-.7-1.933-.713H9.47v4.961z"
|
|
58
|
+
}))));
|
|
59
|
+
};
|
|
60
|
+
Partition.propTypes = {
|
|
61
|
+
iconClassName: _propTypes["default"].string,
|
|
62
|
+
spin: _propTypes["default"].bool,
|
|
63
|
+
color: _propTypes["default"].string,
|
|
64
|
+
testid: _propTypes["default"].string,
|
|
65
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
66
|
+
};
|
|
67
|
+
Partition.defaultProps = {
|
|
68
|
+
spin: false,
|
|
69
|
+
color: 'currentColor',
|
|
70
|
+
size: '1em'
|
|
71
|
+
};
|
|
72
|
+
var _default = exports["default"] = Partition;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var UndoApproval = function UndoApproval(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
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M5.589 6.339c0 1.447.635 2.744 1.64 3.63l-.402 1.208h-5.11a.968.968 0 00-.967.968v3.871c0 .535.433.968.968.968h6.63a8.69 8.69 0 01-.327-1.936H2.685v-1.935h4.84a.967.967 0 00.65-.251 8.653 8.653 0 011.036-2.716l.05-.152c.193-.592.18-.84-.392-1.205a2.903 2.903 0 114.454-2.248 8.647 8.647 0 011.93-.564 4.84 4.84 0 00-9.664.362z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M9.173 18.92a8.746 8.746 0 001.52 1.935h-9.46a.484.484 0 01-.483-.484v-.968c0-.267.217-.484.484-.484h7.94z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M23.25 17.25c0-.916-.192-1.721-.576-2.416a4.078 4.078 0 00-1.658-1.632c-.721-.393-1.585-.59-2.592-.59h-4.333l-1.527.071 1.134-.97 1.608-1.618a.838.838 0 00.176-.237.764.764 0 00.063-.323c0-.22-.07-.405-.21-.554a.728.728 0 00-.555-.223.773.773 0 00-.57.252l-3.779 3.81a.85.85 0 00-.182.28.812.812 0 00-.064.317c0 .11.022.218.064.324a.773.773 0 00.182.273l3.78 3.81a.773.773 0 00.569.252c.23 0 .414-.071.555-.215a.784.784 0 00.21-.561.78.78 0 00-.239-.568l-1.608-1.61-1.134-.97 1.527.07h4.354c.693 0 1.28.128 1.763.382.487.249.857.599 1.11 1.05.253.445.38.958.38 1.538 0 .585-.127 1.105-.38 1.56-.253.451-.623.806-1.11 1.065-.482.263-1.07.395-1.763.395h-1.552a.758.758 0 00-.576.237.797.797 0 00-.225.568c0 .22.075.41.225.568.15.159.341.238.576.238h1.615c.989 0 1.836-.19 2.543-.568a3.897 3.897 0 001.63-1.597c.38-.685.569-1.488.569-2.408z"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
UndoApproval.propTypes = {
|
|
63
|
+
iconClassName: _propTypes["default"].string,
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
testid: _propTypes["default"].string,
|
|
67
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
68
|
+
};
|
|
69
|
+
UndoApproval.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '1em'
|
|
73
|
+
};
|
|
74
|
+
var _default = exports["default"] = UndoApproval;
|