@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.
@@ -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;
@@ -36,13 +36,11 @@ var Approve = function Approve(props) {
36
36
  animationTimingFunction: 'linear'
37
37
  } : {})
38
38
  }), /*#__PURE__*/React.createElement("path", {
39
- fillRule: "evenodd",
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: "M6.975 4.02c0-1.116.901-2.02 2.013-2.02h6.04c1.112 0 2.014.904 2.014 2.02v.847c0 .63-.293 1.223-.791 1.605l-1.276.978.045 3.94 5.16 1.897a2.692 2.692 0 011.82 2.55v1.142c0 1.116-.901 2.02-2.013 2.02L4.013 19A2.017 2.017 0 012 16.98v-1.143c0-1.153.732-2.18 1.82-2.55l5.168-1.894V7.446l-1.245-.983a2.022 2.022 0 01-.768-1.587V4.02zm8.053 0h-6.04v.856l1.245.983c.485.383.769.968.769 1.587v3.947a2.02 2.02 0 01-1.323 1.897l-5.193 1.904-.014.004a.673.673 0 00-.459.64v1.142h15.974v-1.144a.672.672 0 00-.46-.638l-.014-.005-5.186-1.906a2.02 2.02 0 01-1.32-1.873l-.045-3.94a2.022 2.022 0 01.79-1.628l1.276-.979V4.02z"
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
- d: "M9.616 1.219l.012.014 2.474 3.056 2.473-3.053.012-.014a.636.636 0 01.78-.143l8.306 4.442.016.009a.607.607 0 01.173.914l-2.686 3.28 1.453 3.296a.608.608 0 01-.28.785l-.017.008-1.707.832c.04.092.06.19.063.29V18.291c0 .144-.04.286-.116.41a.808.808 0 01-.316.294l-.018.01-7.97 3.91a.828.828 0 01-.71.01l-.021-.01-7.958-3.91a.81.81 0 01-.323-.287.787.787 0 01-.126-.407v-3.357a.93.93 0 010-.021l-1.86-.906-.015-.008a.608.608 0 01-.28-.785l1.642-3.727-2.48-3.058a.608.608 0 01.18-.915l.015-.009 8.51-4.452a.636.636 0 01.774.146zm2.223 13.726l-1.036 2.95-.006.016a.631.631 0 01-.866.334L4.76 15.727v2.07l7.142 3.511 7.156-3.51v-2.39l-5.386 2.622a.63.63 0 01-.866-.334l-.006-.016-.961-2.735zM3.88 10.67l-1.032 2.342 6.785 3.304.882-2.512L3.88 10.67zm15.843-.214l-6.636 3.134.883 2.512 6.785-3.304-1.032-2.342zM12.12 5.764L4.797 9.33l6.778 3.202 7.191-3.397-6.646-3.37zm3.207-2.887l-1.56 1.925 6.607 3.35 1.467-1.792-6.514-3.483zm-6.456-.01L2.16 6.379l1.426 1.758 6.849-3.335L8.87 2.868z"
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("g", {
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
- })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
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
- fillRule: "evenodd",
40
- clipRule: "evenodd",
41
- d: "M12.663 19.849a8.51 8.51 0 01-5.372-1.267A7.749 7.749 0 014.58 15.67l4.082 1.302a1.111 1.111 0 00.676-2.117l-6-1.914a1.111 1.111 0 00-1.45 1.069l.007.62c-.01.083-.009.17.002.255l.05 5.127a1.111 1.111 0 002.222-.022l-.011-1.13a10.174 10.174 0 001.941 1.6 10.732 10.732 0 006.779 1.601c2.383-.23 4.615-1.244 6.305-2.877a9.643 9.643 0 002.777-5.045 1.111 1.111 0 10-2.18-.434 7.42 7.42 0 01-2.142 3.88c-1.317 1.274-3.076 2.08-4.975 2.265zm9.39-15.86a1.111 1.111 0 10-2.222.022l.011 1.13a10.175 10.175 0 00-1.941-1.6 10.732 10.732 0 00-6.779-1.601c-2.383.23-4.615 1.244-6.305 2.877a9.648 9.648 0 00-2.759 4.955 1.111 1.111 0 002.175.456 7.426 7.426 0 012.129-3.813c1.317-1.273 3.076-2.08 4.975-2.264a8.51 8.51 0 015.372 1.266 7.748 7.748 0 012.711 2.914L15.338 7.03a1.111 1.111 0 10-.676 2.117l6 1.914a1.111 1.111 0 001.449-1.069l-.006-.62c.01-.083.008-.17-.002-.255l-.05-5.127z"
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 = {
@@ -36,7 +36,9 @@ var Send = function Send(props) {
36
36
  animationTimingFunction: 'linear'
37
37
  } : {})
38
38
  }), /*#__PURE__*/React.createElement("path", {
39
- d: "M1.923 9.37c-.51-.205-.504-.51.034-.689l19.086-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.475.553-.717.07L11 13 1.923 9.37zm4.89-.2l5.636 2.255 3.04 6.082 3.546-12.41L6.812 9.17h.001z"
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
- fillRule: "evenodd",
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: "M6.975 4.02c0-1.116.901-2.02 2.013-2.02h6.04c1.112 0 2.014.904 2.014 2.02v.847c0 .63-.293 1.223-.791 1.605l-1.276.978.045 3.94 5.16 1.897a2.692 2.692 0 011.82 2.55v1.142c0 1.116-.901 2.02-2.013 2.02L4.013 19A2.017 2.017 0 012 16.98v-1.143c0-1.153.732-2.18 1.82-2.55l5.168-1.894V7.446l-1.245-.983a2.022 2.022 0 01-.768-1.587V4.02zm8.053 0h-6.04v.856l1.245.983c.485.383.769.968.769 1.587v3.947a2.02 2.02 0 01-1.323 1.897l-5.193 1.904-.014.004a.673.673 0 00-.459.64v1.142h15.974v-1.144a.672.672 0 00-.46-.638l-.014-.005-5.186-1.906a2.02 2.02 0 01-1.32-1.873l-.045-3.94a2.022 2.022 0 01.79-1.628l1.276-.979V4.02z"
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
- d: "M9.616 1.219l.012.014 2.474 3.056 2.473-3.053.012-.014a.636.636 0 01.78-.143l8.306 4.442.016.009a.607.607 0 01.173.914l-2.686 3.28 1.453 3.296a.608.608 0 01-.28.785l-.017.008-1.707.832c.04.092.06.19.063.29V18.291c0 .144-.04.286-.116.41a.808.808 0 01-.316.294l-.018.01-7.97 3.91a.828.828 0 01-.71.01l-.021-.01-7.958-3.91a.81.81 0 01-.323-.287.787.787 0 01-.126-.407v-3.357a.93.93 0 010-.021l-1.86-.906-.015-.008a.608.608 0 01-.28-.785l1.642-3.727-2.48-3.058a.608.608 0 01.18-.915l.015-.009 8.51-4.452a.636.636 0 01.774.146zm2.223 13.726l-1.036 2.95-.006.016a.631.631 0 01-.866.334L4.76 15.727v2.07l7.142 3.511 7.156-3.51v-2.39l-5.386 2.622a.63.63 0 01-.866-.334l-.006-.016-.961-2.735zM3.88 10.67l-1.032 2.342 6.785 3.304.882-2.512L3.88 10.67zm15.843-.214l-6.636 3.134.883 2.512 6.785-3.304-1.032-2.342zM12.12 5.764L4.797 9.33l6.778 3.202 7.191-3.397-6.646-3.37zm3.207-2.887l-1.56 1.925 6.607 3.35 1.467-1.792-6.514-3.483zm-6.456-.01L2.16 6.379l1.426 1.758 6.849-3.335L8.87 2.868z"
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("g", {
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
- })), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
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;