@tant/icons 1.2.5 → 1.3.8
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/approve-cancelled.js +53 -0
- package/dist/es/icons/approve.js +2 -4
- package/dist/es/icons/box-open.js +3 -1
- package/dist/es/icons/edit-fill.js +2 -9
- package/dist/es/icons/end-task.js +69 -0
- package/dist/es/icons/interval.js +61 -0
- package/dist/es/icons/m-event-cl.js +59 -0
- package/dist/es/icons/recurring.js +3 -3
- package/dist/es/icons/send.js +3 -1
- package/dist/es/index.js +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/lib/icons/approve-cancelled.js +61 -0
- package/dist/lib/icons/approve.js +2 -4
- package/dist/lib/icons/box-open.js +3 -1
- package/dist/lib/icons/edit-fill.js +2 -9
- package/dist/lib/icons/end-task.js +77 -0
- package/dist/lib/icons/interval.js +69 -0
- package/dist/lib/icons/m-event-cl.js +67 -0
- package/dist/lib/icons/recurring.js +3 -3
- package/dist/lib/icons/send.js +3 -1
- package/dist/lib/index.js +29 -1
- package/dist/tant-icons.cjs.js +1339 -1130
- package/dist/tant-icons.esm.js +1336 -1131
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var ApproveCancelled = function ApproveCancelled(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M19.973 14.042c0-1.19-.255-2.237-.766-3.141-.511-.904-1.247-1.612-2.207-2.123-.96-.51-2.11-.766-3.45-.766H7.783l-2.032.092 1.508-1.261L9.4 4.739c.1-.093.178-.196.234-.308a.974.974 0 00.084-.421.995.995 0 00-.28-.72C9.25 3.097 9.005 3 8.699 3c-.287 0-.539.11-.757.327l-5.03 4.956a1.1 1.1 0 00-.244.364c-.056.131-.084.268-.084.412 0 .143.028.283.084.42.056.138.138.256.243.356l5.03 4.955c.219.219.471.328.758.328.306 0 .552-.094.739-.28.187-.194.28-.437.28-.73a.95.95 0 00-.084-.412 1.015 1.015 0 00-.234-.327l-2.14-2.094-1.51-1.262 2.033.093h5.795c.923 0 1.705.165 2.347.496.648.324 1.14.779 1.477 1.365.337.58.505 1.246.505 2 0 .761-.168 1.437-.505 2.03-.336.585-.829 1.047-1.477 1.383-.642.343-1.425.515-2.347.515h-2.066c-.312 0-.568.102-.767.308-.2.206-.3.452-.3.739s.1.533.3.738c.2.206.455.31.767.31h2.15c1.315 0 2.444-.247 3.385-.74.947-.492 1.67-1.184 2.17-2.075.504-.892.756-1.936.756-3.133z"
|
|
40
|
+
})));
|
|
41
|
+
};
|
|
42
|
+
ApproveCancelled.propTypes = {
|
|
43
|
+
iconClassName: PropTypes.string,
|
|
44
|
+
spin: PropTypes.bool,
|
|
45
|
+
color: PropTypes.string,
|
|
46
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
47
|
+
};
|
|
48
|
+
ApproveCancelled.defaultProps = {
|
|
49
|
+
spin: false,
|
|
50
|
+
color: 'currentColor',
|
|
51
|
+
size: '1em'
|
|
52
|
+
};
|
|
53
|
+
export default ApproveCancelled;
|
package/dist/es/icons/approve.js
CHANGED
|
@@ -36,13 +36,11 @@ var Approve = function Approve(props) {
|
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
|
|
40
|
-
clipRule: "evenodd",
|
|
41
|
-
d: "M6 17v3h12v-3h2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3h2z"
|
|
39
|
+
d: "M2 20.5a.5.5 0 01.5-.5h19a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-19a.5.5 0 01-.5-.5v-1z"
|
|
42
40
|
}), /*#__PURE__*/React.createElement("path", {
|
|
43
41
|
fillRule: "evenodd",
|
|
44
42
|
clipRule: "evenodd",
|
|
45
|
-
d: "
|
|
43
|
+
d: "M8.695 10.752a5 5 0 116.61 0L15.72 12H21a1 1 0 011 1v4a1 1 0 01-1 1H3a1 1 0 01-1-1v-4a1 1 0 011-1h5.28l.415-1.248zM9 7a3 3 0 114.61 2.532c-.368.235-.61.718-.407 1.22.279.856.563 1.71.848 2.564A1 1 0 0015 14h5v2H4v-2h5a1 1 0 00.949-.684c.282-.846.568-1.691.845-2.54.2-.61.187-.868-.404-1.244A2.999 2.999 0 019 7z"
|
|
46
44
|
})));
|
|
47
45
|
};
|
|
48
46
|
Approve.propTypes = {
|
|
@@ -36,7 +36,9 @@ var BoxOpen = function BoxOpen(props) {
|
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M14.494 2.942a1.002 1.002 0 01-.71 1.244L4.222 6.685a1.002 1.002 0 01-.506-1.938l9.561-2.5a1.002 1.002 0 011.217.695zM3 9.977c0-1.107.895-2.004 2-2.004h14c1.104 0 2 .897 2 2.004v10.02A2.002 2.002 0 0119 22H5c-1.105 0-2-.897-2-2.004V9.976zm16 0H5v10.02h14V9.976zm-4.5 4.008h-5V11.98h5v2.004z"
|
|
40
42
|
})));
|
|
41
43
|
};
|
|
42
44
|
BoxOpen.propTypes = {
|
|
@@ -35,18 +35,11 @@ var EditFill = function EditFill(props) {
|
|
|
35
35
|
animationName: 'loadingCircle',
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
|
-
}), /*#__PURE__*/React.createElement("
|
|
39
|
-
clipPath: "url(#clip0_970_67)"
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
39
|
d: "M3 17.25L14.06 6.19l3.75 3.75L8.75 19H21v2H3v-3.75z"
|
|
42
40
|
}), /*#__PURE__*/React.createElement("path", {
|
|
43
41
|
d: "M20.71 5.63c.39.39.39 1.02 0 1.41l-1.83 1.83-3.75-3.75 1.83-1.83a.996.996 0 011.41 0l2.34 2.34z"
|
|
44
|
-
}))
|
|
45
|
-
id: "clip0_970_67"
|
|
46
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
47
|
-
width: "24",
|
|
48
|
-
height: "24"
|
|
49
|
-
})))));
|
|
42
|
+
})));
|
|
50
43
|
};
|
|
51
44
|
EditFill.propTypes = {
|
|
52
45
|
iconClassName: PropTypes.string,
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var EndTask = function EndTask(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M20 5a3 3 0 00-3-3H5a3 3 0 00-3 3v14a3 3 0 003 3h5v-2H5a1 1 0 01-1-1V5a1 1 0 011-1h12a1 1 0 011 1v5h2V5z"
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
fillRule: "evenodd",
|
|
42
|
+
clipRule: "evenodd",
|
|
43
|
+
d: "M16.5 20a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm0 2a5.5 5.5 0 100-11 5.5 5.5 0 000 11z"
|
|
44
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
+
fillRule: "evenodd",
|
|
46
|
+
clipRule: "evenodd",
|
|
47
|
+
d: "M18.5 17.5h-4v-2h4v2z"
|
|
48
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
fillRule: "evenodd",
|
|
50
|
+
clipRule: "evenodd",
|
|
51
|
+
d: "M16 9H6V7h10v2z"
|
|
52
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
53
|
+
fillRule: "evenodd",
|
|
54
|
+
clipRule: "evenodd",
|
|
55
|
+
d: "M11 13H6v-2h5v2z"
|
|
56
|
+
})));
|
|
57
|
+
};
|
|
58
|
+
EndTask.propTypes = {
|
|
59
|
+
iconClassName: PropTypes.string,
|
|
60
|
+
spin: PropTypes.bool,
|
|
61
|
+
color: PropTypes.string,
|
|
62
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
63
|
+
};
|
|
64
|
+
EndTask.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
export default EndTask;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var Interval = function Interval(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M19.48 2.65c.333.418.52.983.52 1.572V9h-1.778V4.222H5.778V9H4V4.222c0-.59.187-1.154.52-1.571C4.855 2.234 5.307 2 5.779 2h12.444c.472 0 .924.234 1.257.65z"
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
d: "M18.222 15H20v4.778c0 .59-.187 1.154-.52 1.571-.334.417-.786.651-1.258.651H5.778c-.472 0-.924-.234-1.257-.65-.334-.418-.521-.983-.521-1.572V15h1.778v4.778h12.444V15z"
|
|
42
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
43
|
+
d: "M8 11H4v2h4v-2z"
|
|
44
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
+
d: "M10 11h4v2h-4v-2z"
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M20 11h-4v2h4v-2z"
|
|
48
|
+
})));
|
|
49
|
+
};
|
|
50
|
+
Interval.propTypes = {
|
|
51
|
+
iconClassName: PropTypes.string,
|
|
52
|
+
spin: PropTypes.bool,
|
|
53
|
+
color: PropTypes.string,
|
|
54
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
55
|
+
};
|
|
56
|
+
Interval.defaultProps = {
|
|
57
|
+
spin: false,
|
|
58
|
+
color: 'currentColor',
|
|
59
|
+
size: '1em'
|
|
60
|
+
};
|
|
61
|
+
export default Interval;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var MEventCl = function MEventCl(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
39
|
+
cx: "17",
|
|
40
|
+
cy: "7",
|
|
41
|
+
r: "5",
|
|
42
|
+
fill: "#F66C47"
|
|
43
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
+
d: "M2.727 13.472c-.819-.358-.794-1.527.038-1.85l13.596-5.266c.814-.316 1.613.49 1.29 1.302l-5.416 13.6c-.33.832-1.503.843-1.85.019l-2.148-5.1a1 1 0 00-.521-.529l-4.99-2.176z",
|
|
45
|
+
fill: "#1673F6"
|
|
46
|
+
})));
|
|
47
|
+
};
|
|
48
|
+
MEventCl.propTypes = {
|
|
49
|
+
iconClassName: PropTypes.string,
|
|
50
|
+
spin: PropTypes.bool,
|
|
51
|
+
color: PropTypes.string,
|
|
52
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
53
|
+
};
|
|
54
|
+
MEventCl.defaultProps = {
|
|
55
|
+
spin: false,
|
|
56
|
+
color: 'currentColor',
|
|
57
|
+
size: '1em'
|
|
58
|
+
};
|
|
59
|
+
export default MEventCl;
|
|
@@ -36,9 +36,9 @@ var Recurring = function Recurring(props) {
|
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
d: "
|
|
39
|
+
d: "M7.046 7.05a7 7 0 0110.022.125h-1.119a1 1 0 100 2h3.535a1 1 0 001-1V4.639a1 1 0 10-2 0v1.124a9 9 0 00-12.852-.127A8.969 8.969 0 003 11.854a1 1 0 002 .032A6.969 6.969 0 017.046 7.05z"
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
d: "M20.988 12.036a1 1 0 10-2-.008 6.966 6.966 0 01-2.042 4.922 7 7 0 01-10.022-.125h1.119a1 1 0 000-2H4.508a1 1 0 00-1 1v3.536a1 1 0 002 0v-1.124c.04.043.082.085.124.127a9 9 0 0012.728 0 8.965 8.965 0 002.628-6.328z"
|
|
42
42
|
})));
|
|
43
43
|
};
|
|
44
44
|
Recurring.propTypes = {
|
package/dist/es/icons/send.js
CHANGED
|
@@ -36,7 +36,9 @@ var Send = function Send(props) {
|
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M21.756 2.346a.99.99 0 01.244.648 1.003 1.003 0 01-.02.21l-3.6 17.992a1 1 0 01-1.58.604l-5.786-4.34-2.747 3.282A1 1 0 016.5 20.1v-6.025L2.4 11a1 1 0 01.229-1.728L20.608 2.08a.998.998 0 011.133.249l.015.017zM8.5 15.575v1.773l.912-1.09-.912-.683zm.778-1.917L19.48 5.496l-2.75 13.752-7.453-5.59zm5.828-7.223l-7.48 5.984-2.602-1.951 10.082-4.033z"
|
|
40
42
|
})));
|
|
41
43
|
};
|
|
42
44
|
Send.propTypes = {
|
package/dist/es/index.js
CHANGED
|
@@ -51,8 +51,10 @@ export { default as TaGoal } from './icons/goal';
|
|
|
51
51
|
export { default as TaOneTime } from './icons/one-time';
|
|
52
52
|
export { default as TaRecurring } from './icons/recurring';
|
|
53
53
|
export { default as TaManual } from './icons/manual';
|
|
54
|
-
export { default as TaApprove } from './icons/approve';
|
|
55
54
|
export { default as TaMute } from './icons/mute';
|
|
55
|
+
export { default as TaApprove } from './icons/approve';
|
|
56
|
+
export { default as TaEndTask } from './icons/end-task';
|
|
57
|
+
export { default as TaApproveCancelled } from './icons/approve-cancelled';
|
|
56
58
|
export { default as TaTdLogo } from './icons/td-logo';
|
|
57
59
|
export { default as TaLanguage } from './icons/language';
|
|
58
60
|
export { default as TaCalendar } from './icons/calendar';
|
|
@@ -162,6 +164,7 @@ export { default as TaSpaceCl } from './icons/space-cl';
|
|
|
162
164
|
export { default as TaSpaceOpenCl } from './icons/space-open-cl';
|
|
163
165
|
export { default as TaPageCl } from './icons/page-cl';
|
|
164
166
|
export { default as TaPageOpenCl } from './icons/page-open-cl';
|
|
167
|
+
export { default as TaMEventCl } from './icons/m-event-cl';
|
|
165
168
|
export { default as TaInfo } from './icons/info';
|
|
166
169
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
167
170
|
export { default as TaHelp } from './icons/help';
|
|
@@ -265,6 +268,7 @@ export { default as TaExpand } from './icons/expand';
|
|
|
265
268
|
export { default as TaPinch } from './icons/pinch ';
|
|
266
269
|
export { default as TaNewIndicator } from './icons/new-indicator';
|
|
267
270
|
export { default as TaBoxOpen } from './icons/box-open';
|
|
271
|
+
export { default as TaInterval } from './icons/interval';
|
|
268
272
|
export { default as TaReport } from './icons/report';
|
|
269
273
|
export { default as TaReportRemoval } from './icons/report-removal';
|
|
270
274
|
export { default as TaFileAdd } from './icons/file-add';
|
package/dist/index.d.ts
CHANGED
|
@@ -62,8 +62,10 @@ export const TaGoal: Icon;
|
|
|
62
62
|
export const TaOneTime: Icon;
|
|
63
63
|
export const TaRecurring: Icon;
|
|
64
64
|
export const TaManual: Icon;
|
|
65
|
-
export const TaApprove: Icon;
|
|
66
65
|
export const TaMute: Icon;
|
|
66
|
+
export const TaApprove: Icon;
|
|
67
|
+
export const TaEndTask: Icon;
|
|
68
|
+
export const TaApproveCancelled: Icon;
|
|
67
69
|
export const TaTdLogo: Icon;
|
|
68
70
|
export const TaLanguage: Icon;
|
|
69
71
|
export const TaCalendar: Icon;
|
|
@@ -173,6 +175,7 @@ export const TaSpaceCl: Icon;
|
|
|
173
175
|
export const TaSpaceOpenCl: Icon;
|
|
174
176
|
export const TaPageCl: Icon;
|
|
175
177
|
export const TaPageOpenCl: Icon;
|
|
178
|
+
export const TaMEventCl: Icon;
|
|
176
179
|
export const TaInfo: Icon;
|
|
177
180
|
export const TaInfoFill: Icon;
|
|
178
181
|
export const TaHelp: Icon;
|
|
@@ -276,6 +279,7 @@ export const TaExpand: Icon;
|
|
|
276
279
|
export const TaPinch: Icon;
|
|
277
280
|
export const TaNewIndicator: Icon;
|
|
278
281
|
export const TaBoxOpen: Icon;
|
|
282
|
+
export const TaInterval: Icon;
|
|
279
283
|
export const TaReport: Icon;
|
|
280
284
|
export const TaReportRemoval: Icon;
|
|
281
285
|
export const TaFileAdd: Icon;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var ApproveCancelled = function ApproveCancelled(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
d: "M19.973 14.042c0-1.19-.255-2.237-.766-3.141-.511-.904-1.247-1.612-2.207-2.123-.96-.51-2.11-.766-3.45-.766H7.783l-2.032.092 1.508-1.261L9.4 4.739c.1-.093.178-.196.234-.308a.974.974 0 00.084-.421.995.995 0 00-.28-.72C9.25 3.097 9.005 3 8.699 3c-.287 0-.539.11-.757.327l-5.03 4.956a1.1 1.1 0 00-.244.364c-.056.131-.084.268-.084.412 0 .143.028.283.084.42.056.138.138.256.243.356l5.03 4.955c.219.219.471.328.758.328.306 0 .552-.094.739-.28.187-.194.28-.437.28-.73a.95.95 0 00-.084-.412 1.015 1.015 0 00-.234-.327l-2.14-2.094-1.51-1.262 2.033.093h5.795c.923 0 1.705.165 2.347.496.648.324 1.14.779 1.477 1.365.337.58.505 1.246.505 2 0 .761-.168 1.437-.505 2.03-.336.585-.829 1.047-1.477 1.383-.642.343-1.425.515-2.347.515h-2.066c-.312 0-.568.102-.767.308-.2.206-.3.452-.3.739s.1.533.3.738c.2.206.455.31.767.31h2.15c1.315 0 2.444-.247 3.385-.74.947-.492 1.67-1.184 2.17-2.075.504-.892.756-1.936.756-3.133z"
|
|
47
|
+
})));
|
|
48
|
+
};
|
|
49
|
+
ApproveCancelled.propTypes = {
|
|
50
|
+
iconClassName: _propTypes["default"].string,
|
|
51
|
+
spin: _propTypes["default"].bool,
|
|
52
|
+
color: _propTypes["default"].string,
|
|
53
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
54
|
+
};
|
|
55
|
+
ApproveCancelled.defaultProps = {
|
|
56
|
+
spin: false,
|
|
57
|
+
color: 'currentColor',
|
|
58
|
+
size: '1em'
|
|
59
|
+
};
|
|
60
|
+
var _default = ApproveCancelled;
|
|
61
|
+
exports["default"] = _default;
|
|
@@ -43,13 +43,11 @@ var Approve = function Approve(props) {
|
|
|
43
43
|
animationTimingFunction: 'linear'
|
|
44
44
|
} : {})
|
|
45
45
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
-
|
|
47
|
-
clipRule: "evenodd",
|
|
48
|
-
d: "M6 17v3h12v-3h2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3h2z"
|
|
46
|
+
d: "M2 20.5a.5.5 0 01.5-.5h19a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-19a.5.5 0 01-.5-.5v-1z"
|
|
49
47
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
50
48
|
fillRule: "evenodd",
|
|
51
49
|
clipRule: "evenodd",
|
|
52
|
-
d: "
|
|
50
|
+
d: "M8.695 10.752a5 5 0 116.61 0L15.72 12H21a1 1 0 011 1v4a1 1 0 01-1 1H3a1 1 0 01-1-1v-4a1 1 0 011-1h5.28l.415-1.248zM9 7a3 3 0 114.61 2.532c-.368.235-.61.718-.407 1.22.279.856.563 1.71.848 2.564A1 1 0 0015 14h5v2H4v-2h5a1 1 0 00.949-.684c.282-.846.568-1.691.845-2.54.2-.61.187-.868-.404-1.244A2.999 2.999 0 019 7z"
|
|
53
51
|
})));
|
|
54
52
|
};
|
|
55
53
|
Approve.propTypes = {
|
|
@@ -43,7 +43,9 @@ var BoxOpen = function BoxOpen(props) {
|
|
|
43
43
|
animationTimingFunction: 'linear'
|
|
44
44
|
} : {})
|
|
45
45
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
-
|
|
46
|
+
fillRule: "evenodd",
|
|
47
|
+
clipRule: "evenodd",
|
|
48
|
+
d: "M14.494 2.942a1.002 1.002 0 01-.71 1.244L4.222 6.685a1.002 1.002 0 01-.506-1.938l9.561-2.5a1.002 1.002 0 011.217.695zM3 9.977c0-1.107.895-2.004 2-2.004h14c1.104 0 2 .897 2 2.004v10.02A2.002 2.002 0 0119 22H5c-1.105 0-2-.897-2-2.004V9.976zm16 0H5v10.02h14V9.976zm-4.5 4.008h-5V11.98h5v2.004z"
|
|
47
49
|
})));
|
|
48
50
|
};
|
|
49
51
|
BoxOpen.propTypes = {
|
|
@@ -42,18 +42,11 @@ var EditFill = function EditFill(props) {
|
|
|
42
42
|
animationName: 'loadingCircle',
|
|
43
43
|
animationTimingFunction: 'linear'
|
|
44
44
|
} : {})
|
|
45
|
-
}), /*#__PURE__*/_react["default"].createElement("
|
|
46
|
-
clipPath: "url(#clip0_970_67)"
|
|
47
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
48
46
|
d: "M3 17.25L14.06 6.19l3.75 3.75L8.75 19H21v2H3v-3.75z"
|
|
49
47
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
50
48
|
d: "M20.71 5.63c.39.39.39 1.02 0 1.41l-1.83 1.83-3.75-3.75 1.83-1.83a.996.996 0 011.41 0l2.34 2.34z"
|
|
51
|
-
}))
|
|
52
|
-
id: "clip0_970_67"
|
|
53
|
-
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
54
|
-
width: "24",
|
|
55
|
-
height: "24"
|
|
56
|
-
})))));
|
|
49
|
+
})));
|
|
57
50
|
};
|
|
58
51
|
EditFill.propTypes = {
|
|
59
52
|
iconClassName: _propTypes["default"].string,
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var EndTask = function EndTask(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
d: "M20 5a3 3 0 00-3-3H5a3 3 0 00-3 3v14a3 3 0 003 3h5v-2H5a1 1 0 01-1-1V5a1 1 0 011-1h12a1 1 0 011 1v5h2V5z"
|
|
47
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
48
|
+
fillRule: "evenodd",
|
|
49
|
+
clipRule: "evenodd",
|
|
50
|
+
d: "M16.5 20a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm0 2a5.5 5.5 0 100-11 5.5 5.5 0 000 11z"
|
|
51
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
52
|
+
fillRule: "evenodd",
|
|
53
|
+
clipRule: "evenodd",
|
|
54
|
+
d: "M18.5 17.5h-4v-2h4v2z"
|
|
55
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
fillRule: "evenodd",
|
|
57
|
+
clipRule: "evenodd",
|
|
58
|
+
d: "M16 9H6V7h10v2z"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
|
+
fillRule: "evenodd",
|
|
61
|
+
clipRule: "evenodd",
|
|
62
|
+
d: "M11 13H6v-2h5v2z"
|
|
63
|
+
})));
|
|
64
|
+
};
|
|
65
|
+
EndTask.propTypes = {
|
|
66
|
+
iconClassName: _propTypes["default"].string,
|
|
67
|
+
spin: _propTypes["default"].bool,
|
|
68
|
+
color: _propTypes["default"].string,
|
|
69
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
70
|
+
};
|
|
71
|
+
EndTask.defaultProps = {
|
|
72
|
+
spin: false,
|
|
73
|
+
color: 'currentColor',
|
|
74
|
+
size: '1em'
|
|
75
|
+
};
|
|
76
|
+
var _default = EndTask;
|
|
77
|
+
exports["default"] = _default;
|