@tant/icons 1.3.28 → 1.3.29

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,71 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
3
+ 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); }
4
+ 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; }
5
+ 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; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
+ 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; }
10
+ 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; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var EndLab = function EndLab(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
+ otherProps = _objectWithoutProperties(props, _excluded);
22
+ return /*#__PURE__*/React.createElement("span", {
23
+ role: "img",
24
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
25
+ }, /*#__PURE__*/React.createElement("style", {
26
+ children: loadingCircleStyle
27
+ }), /*#__PURE__*/React.createElement("svg", _extends({
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ width: size,
30
+ height: size,
31
+ viewBox: "0 0 24 24",
32
+ fill: color
33
+ }, otherProps, {
34
+ className: iconClassName,
35
+ style: _objectSpread(_objectSpread({}, style), spin ? {
36
+ animationDuration: '1s',
37
+ animationIterationCount: 'infinite',
38
+ animationName: 'loadingCircle',
39
+ animationTimingFunction: 'linear'
40
+ } : {})
41
+ }), /*#__PURE__*/React.createElement("svg", {
42
+ width: "24",
43
+ height: "25",
44
+ xmlns: "http://www.w3.org/2000/svg"
45
+ }, /*#__PURE__*/React.createElement("rect", {
46
+ width: "24",
47
+ height: "24.123"
48
+ }), /*#__PURE__*/React.createElement("path", {
49
+ d: "M15.452 8.51l1.55 2.49h-1.58l-1.098-1.763a2.77 2.77 0 01-.443-1.532V3.37h-3.709v4.334c0 .544-.16 1.068-.443 1.532L4.61 17.46a1.485 1.485 0 00-.04 1.552c.262.484.766.786 1.33.786H11v1.35H5.88c-1.068 0-1.995-.564-2.519-1.49a2.868 2.868 0 01.08-2.924l5.14-8.224c.14-.242.221-.524.221-.806V3.37h-.544a.68.68 0 01-.685-.686A.68.68 0 018.258 2h7.517a.68.68 0 01.685.685.68.68 0 01-.685.686h-.544v4.334c0 .282.08.564.221.806z"
50
+ }), /*#__PURE__*/React.createElement("path", {
51
+ d: "M8.822 12.623H11v6.148H5.9c-.262 0-.403-.16-.444-.262-.06-.12-.12-.322.02-.524l3.346-5.362z"
52
+ }), /*#__PURE__*/React.createElement("path", {
53
+ d: "M15.5 18.5h4v-2h-4v2z"
54
+ }), /*#__PURE__*/React.createElement("path", {
55
+ fillRule: "evenodd",
56
+ clipRule: "evenodd",
57
+ d: "M23 17.5a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0zm-2 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0z"
58
+ }))));
59
+ };
60
+ EndLab.propTypes = {
61
+ iconClassName: PropTypes.string,
62
+ spin: PropTypes.bool,
63
+ color: PropTypes.string,
64
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
65
+ };
66
+ EndLab.defaultProps = {
67
+ spin: false,
68
+ color: 'currentColor',
69
+ size: '1em'
70
+ };
71
+ export default EndLab;
@@ -0,0 +1,65 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
3
+ 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); }
4
+ 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; }
5
+ 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; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
+ 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; }
10
+ 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; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var Lab = function Lab(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
+ otherProps = _objectWithoutProperties(props, _excluded);
22
+ return /*#__PURE__*/React.createElement("span", {
23
+ role: "img",
24
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
25
+ }, /*#__PURE__*/React.createElement("style", {
26
+ children: loadingCircleStyle
27
+ }), /*#__PURE__*/React.createElement("svg", _extends({
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ width: size,
30
+ height: size,
31
+ viewBox: "0 0 24 24",
32
+ fill: color
33
+ }, otherProps, {
34
+ className: iconClassName,
35
+ style: _objectSpread(_objectSpread({}, style), spin ? {
36
+ animationDuration: '1s',
37
+ animationIterationCount: 'infinite',
38
+ animationName: 'loadingCircle',
39
+ animationTimingFunction: 'linear'
40
+ } : {})
41
+ }), /*#__PURE__*/React.createElement("svg", {
42
+ width: "24",
43
+ height: "25",
44
+ xmlns: "http://www.w3.org/2000/svg"
45
+ }, /*#__PURE__*/React.createElement("rect", {
46
+ width: "24",
47
+ height: "24.123"
48
+ }), /*#__PURE__*/React.createElement("path", {
49
+ fillRule: "evenodd",
50
+ clipRule: "evenodd",
51
+ d: "M15.452 9.51l5.12 8.225c.543.907.584 1.996.04 2.923a2.836 2.836 0 01-2.52 1.492H5.88c-1.068 0-1.995-.565-2.519-1.492a2.868 2.868 0 01.08-2.923l5.14-8.224c.14-.242.221-.524.221-.806V4.37h-.544a.68.68 0 01-.685-.686A.68.68 0 018.258 3h7.517a.68.68 0 01.685.685.68.68 0 01-.685.686h-.544v4.334c0 .282.08.564.221.806zm2.66 11.29c.565 0 1.049-.303 1.33-.787a1.577 1.577 0 000-1.552l-5.118-8.224a2.77 2.77 0 01-.443-1.532V4.37h-3.709v4.334c0 .544-.16 1.068-.443 1.531L4.61 18.462a1.485 1.485 0 00-.04 1.552c.262.484.766.786 1.33.786h12.212zm-9.29-7.177h6.368l3.345 5.362a.49.49 0 01.02.524.48.48 0 01-.443.262H5.9c-.262 0-.403-.16-.444-.262-.06-.12-.12-.322.02-.524l3.346-5.362z"
52
+ }))));
53
+ };
54
+ Lab.propTypes = {
55
+ iconClassName: PropTypes.string,
56
+ spin: PropTypes.bool,
57
+ color: PropTypes.string,
58
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
59
+ };
60
+ Lab.defaultProps = {
61
+ spin: false,
62
+ color: 'currentColor',
63
+ size: '1em'
64
+ };
65
+ export default Lab;
@@ -45,7 +45,7 @@ var OperatorInclude = function OperatorInclude(props) {
45
45
  }, /*#__PURE__*/React.createElement("path", {
46
46
  fillRule: "evenodd",
47
47
  clipRule: "evenodd",
48
- d: "M18 6H9.5a3.5 3.5 0 100 7H20v2H9.5a5.5 5.5 0 110-11H20v2h-2zM4 17h16v2H4v-2z"
48
+ d: "M6 6h8.5a3.5 3.5 0 110 7H4v2h10.5a5.5 5.5 0 100-11H4v2h2zm14 11H4v2h16v-2z"
49
49
  }))));
50
50
  };
51
51
  OperatorInclude.propTypes = {
@@ -47,12 +47,13 @@ var OperatorNotInclude = function OperatorNotInclude(props) {
47
47
  }, /*#__PURE__*/React.createElement("path", {
48
48
  fillRule: "evenodd",
49
49
  clipRule: "evenodd",
50
- d: "M15.113 4l2.309-4 1.732 1-1.732 3H20v2h-3.733l-4.041 7H20v2h-8.929l-1.155 2H20v2H8.762l-2.03 3.515-1.732-1L6.452 19H4v-2h3.607l1.181-2.046A5.501 5.501 0 019.5 4h5.613zm-1.155 2H9.5a3.5 3.5 0 000 7h.416l4.042-7z"
50
+ d: "M8.887 4L6.578 0 4.846 1l1.732 3H4v2h3.733l4.041 7H4v2h8.929l1.155 2H4v2h11.238l2.03 3.515 1.732-1L17.548 19H20v-2h-3.607l-1.181-2.046A5.501 5.501 0 0014.5 4H8.887zm1.155 2H14.5a3.5 3.5 0 010 7h-.416l-4.042-7z"
51
51
  })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
52
52
  id: "clip0_3399_79"
53
53
  }, /*#__PURE__*/React.createElement("rect", {
54
54
  width: "24",
55
- height: "24"
55
+ height: "24",
56
+ transform: "matrix(-1 0 0 1 24 0)"
56
57
  }))))));
57
58
  };
58
59
  OperatorNotInclude.propTypes = {
@@ -0,0 +1,60 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
3
+ 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); }
4
+ 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; }
5
+ 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; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
+ 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; }
10
+ 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; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var Pause2 = function Pause2(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
+ otherProps = _objectWithoutProperties(props, _excluded);
22
+ return /*#__PURE__*/React.createElement("span", {
23
+ role: "img",
24
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
25
+ }, /*#__PURE__*/React.createElement("style", {
26
+ children: loadingCircleStyle
27
+ }), /*#__PURE__*/React.createElement("svg", _extends({
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ width: size,
30
+ height: size,
31
+ viewBox: "0 0 24 24",
32
+ fill: color
33
+ }, otherProps, {
34
+ className: iconClassName,
35
+ style: _objectSpread(_objectSpread({}, style), spin ? {
36
+ animationDuration: '1s',
37
+ animationIterationCount: 'infinite',
38
+ animationName: 'loadingCircle',
39
+ animationTimingFunction: 'linear'
40
+ } : {})
41
+ }), /*#__PURE__*/React.createElement("svg", {
42
+ width: "24",
43
+ height: "24",
44
+ xmlns: "http://www.w3.org/2000/svg"
45
+ }, /*#__PURE__*/React.createElement("path", {
46
+ d: "M9 7h2v10H9V7zm4 0h2v10h-2V7z"
47
+ }))));
48
+ };
49
+ Pause2.propTypes = {
50
+ iconClassName: PropTypes.string,
51
+ spin: PropTypes.bool,
52
+ color: PropTypes.string,
53
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
54
+ };
55
+ Pause2.defaultProps = {
56
+ spin: false,
57
+ color: 'currentColor',
58
+ size: '1em'
59
+ };
60
+ export default Pause2;
@@ -0,0 +1,62 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
3
+ 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); }
4
+ 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; }
5
+ 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; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
+ 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; }
10
+ 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; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var Ruler = function Ruler(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
+ otherProps = _objectWithoutProperties(props, _excluded);
22
+ return /*#__PURE__*/React.createElement("span", {
23
+ role: "img",
24
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
25
+ }, /*#__PURE__*/React.createElement("style", {
26
+ children: loadingCircleStyle
27
+ }), /*#__PURE__*/React.createElement("svg", _extends({
28
+ xmlns: "http://www.w3.org/2000/svg",
29
+ width: size,
30
+ height: size,
31
+ viewBox: "0 0 24 24",
32
+ fill: color
33
+ }, otherProps, {
34
+ className: iconClassName,
35
+ style: _objectSpread(_objectSpread({}, style), spin ? {
36
+ animationDuration: '1s',
37
+ animationIterationCount: 'infinite',
38
+ animationName: 'loadingCircle',
39
+ animationTimingFunction: 'linear'
40
+ } : {})
41
+ }), /*#__PURE__*/React.createElement("svg", {
42
+ width: "24",
43
+ height: "24",
44
+ xmlns: "http://www.w3.org/2000/svg"
45
+ }, /*#__PURE__*/React.createElement("path", {
46
+ fillRule: "evenodd",
47
+ clipRule: "evenodd",
48
+ d: "M10.651 2a1 1 0 00-.92.609l-7.65 18A1 1 0 003 22h7.827a.975.975 0 00.086-.004A.986.986 0 0011 22h10a1 1 0 100-2h-8.66l7.058-16.609A1 1 0 0018.478 2H10.65zM9.188 9l-.85 2H11a1 1 0 110 2H8a.996.996 0 01-.464-.114L6.638 15H9a1 1 0 110 2H6c-.07 0-.138-.007-.204-.02L4.513 20h5.653l6.8-16h-5.653l-1.275 3H12a1 1 0 110 2H9.188z"
49
+ }))));
50
+ };
51
+ Ruler.propTypes = {
52
+ iconClassName: PropTypes.string,
53
+ spin: PropTypes.bool,
54
+ color: PropTypes.string,
55
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
56
+ };
57
+ Ruler.defaultProps = {
58
+ spin: false,
59
+ color: 'currentColor',
60
+ size: '1em'
61
+ };
62
+ export default Ruler;
package/dist/es/index.js CHANGED
@@ -57,6 +57,9 @@ export { default as TaEndTask } from './icons/end-task';
57
57
  export { default as TaApproveCancelled } from './icons/approve-cancelled';
58
58
  export { default as TaSmile } from './icons/smile';
59
59
  export { default as TaProperty } from './icons/property';
60
+ export { default as TaLab } from './icons/lab';
61
+ export { default as TaEndLab } from './icons/end-lab';
62
+ export { default as TaRuler } from './icons/ruler';
60
63
  export { default as TaTdLogo } from './icons/td-logo';
61
64
  export { default as TaLanguage } from './icons/language';
62
65
  export { default as TaCalendar } from './icons/calendar';
@@ -301,6 +304,7 @@ export { default as TaBranch } from './icons/branch';
301
304
  export { default as TaValidate } from './icons/validate';
302
305
  export { default as TaMagicWand } from './icons/magic-wand';
303
306
  export { default as TaAddToPage } from './icons/add-to-page';
307
+ export { default as TaPause2 } from './icons/pause-2';
304
308
  export { default as TaReport } from './icons/report';
305
309
  export { default as TaReportRemoval } from './icons/report-removal';
306
310
  export { default as TaFileAdd } from './icons/file-add';
package/dist/index.d.ts CHANGED
@@ -68,6 +68,9 @@ export const TaEndTask: Icon;
68
68
  export const TaApproveCancelled: Icon;
69
69
  export const TaSmile: Icon;
70
70
  export const TaProperty: Icon;
71
+ export const TaLab: Icon;
72
+ export const TaEndLab: Icon;
73
+ export const TaRuler: Icon;
71
74
  export const TaTdLogo: Icon;
72
75
  export const TaLanguage: Icon;
73
76
  export const TaCalendar: Icon;
@@ -312,6 +315,7 @@ export const TaBranch: Icon;
312
315
  export const TaValidate: Icon;
313
316
  export const TaMagicWand: Icon;
314
317
  export const TaAddToPage: Icon;
318
+ export const TaPause2: Icon;
315
319
  export const TaReport: Icon;
316
320
  export const TaReportRemoval: Icon;
317
321
  export const TaFileAdd: Icon;
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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"];
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ 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); }
13
+ 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; }
14
+ 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; }
15
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
+ 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; }
19
+ 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; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var EndLab = function EndLab(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
+ otherProps = _objectWithoutProperties(props, _excluded);
29
+ return /*#__PURE__*/_react["default"].createElement("span", {
30
+ role: "img",
31
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
32
+ }, /*#__PURE__*/_react["default"].createElement("style", {
33
+ children: loadingCircleStyle
34
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ width: size,
37
+ height: size,
38
+ viewBox: "0 0 24 24",
39
+ fill: color
40
+ }, otherProps, {
41
+ className: iconClassName,
42
+ style: _objectSpread(_objectSpread({}, style), spin ? {
43
+ animationDuration: '1s',
44
+ animationIterationCount: 'infinite',
45
+ animationName: 'loadingCircle',
46
+ animationTimingFunction: 'linear'
47
+ } : {})
48
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
49
+ width: "24",
50
+ height: "25",
51
+ xmlns: "http://www.w3.org/2000/svg"
52
+ }, /*#__PURE__*/_react["default"].createElement("rect", {
53
+ width: "24",
54
+ height: "24.123"
55
+ }), /*#__PURE__*/_react["default"].createElement("path", {
56
+ d: "M15.452 8.51l1.55 2.49h-1.58l-1.098-1.763a2.77 2.77 0 01-.443-1.532V3.37h-3.709v4.334c0 .544-.16 1.068-.443 1.532L4.61 17.46a1.485 1.485 0 00-.04 1.552c.262.484.766.786 1.33.786H11v1.35H5.88c-1.068 0-1.995-.564-2.519-1.49a2.868 2.868 0 01.08-2.924l5.14-8.224c.14-.242.221-.524.221-.806V3.37h-.544a.68.68 0 01-.685-.686A.68.68 0 018.258 2h7.517a.68.68 0 01.685.685.68.68 0 01-.685.686h-.544v4.334c0 .282.08.564.221.806z"
57
+ }), /*#__PURE__*/_react["default"].createElement("path", {
58
+ d: "M8.822 12.623H11v6.148H5.9c-.262 0-.403-.16-.444-.262-.06-.12-.12-.322.02-.524l3.346-5.362z"
59
+ }), /*#__PURE__*/_react["default"].createElement("path", {
60
+ d: "M15.5 18.5h4v-2h-4v2z"
61
+ }), /*#__PURE__*/_react["default"].createElement("path", {
62
+ fillRule: "evenodd",
63
+ clipRule: "evenodd",
64
+ d: "M23 17.5a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0zm-2 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0z"
65
+ }))));
66
+ };
67
+ EndLab.propTypes = {
68
+ iconClassName: _propTypes["default"].string,
69
+ spin: _propTypes["default"].bool,
70
+ color: _propTypes["default"].string,
71
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
72
+ };
73
+ EndLab.defaultProps = {
74
+ spin: false,
75
+ color: 'currentColor',
76
+ size: '1em'
77
+ };
78
+ var _default = EndLab;
79
+ exports["default"] = _default;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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"];
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ 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); }
13
+ 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; }
14
+ 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; }
15
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
+ 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; }
19
+ 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; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Lab = function Lab(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
+ otherProps = _objectWithoutProperties(props, _excluded);
29
+ return /*#__PURE__*/_react["default"].createElement("span", {
30
+ role: "img",
31
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
32
+ }, /*#__PURE__*/_react["default"].createElement("style", {
33
+ children: loadingCircleStyle
34
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ width: size,
37
+ height: size,
38
+ viewBox: "0 0 24 24",
39
+ fill: color
40
+ }, otherProps, {
41
+ className: iconClassName,
42
+ style: _objectSpread(_objectSpread({}, style), spin ? {
43
+ animationDuration: '1s',
44
+ animationIterationCount: 'infinite',
45
+ animationName: 'loadingCircle',
46
+ animationTimingFunction: 'linear'
47
+ } : {})
48
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
49
+ width: "24",
50
+ height: "25",
51
+ xmlns: "http://www.w3.org/2000/svg"
52
+ }, /*#__PURE__*/_react["default"].createElement("rect", {
53
+ width: "24",
54
+ height: "24.123"
55
+ }), /*#__PURE__*/_react["default"].createElement("path", {
56
+ fillRule: "evenodd",
57
+ clipRule: "evenodd",
58
+ d: "M15.452 9.51l5.12 8.225c.543.907.584 1.996.04 2.923a2.836 2.836 0 01-2.52 1.492H5.88c-1.068 0-1.995-.565-2.519-1.492a2.868 2.868 0 01.08-2.923l5.14-8.224c.14-.242.221-.524.221-.806V4.37h-.544a.68.68 0 01-.685-.686A.68.68 0 018.258 3h7.517a.68.68 0 01.685.685.68.68 0 01-.685.686h-.544v4.334c0 .282.08.564.221.806zm2.66 11.29c.565 0 1.049-.303 1.33-.787a1.577 1.577 0 000-1.552l-5.118-8.224a2.77 2.77 0 01-.443-1.532V4.37h-3.709v4.334c0 .544-.16 1.068-.443 1.531L4.61 18.462a1.485 1.485 0 00-.04 1.552c.262.484.766.786 1.33.786h12.212zm-9.29-7.177h6.368l3.345 5.362a.49.49 0 01.02.524.48.48 0 01-.443.262H5.9c-.262 0-.403-.16-.444-.262-.06-.12-.12-.322.02-.524l3.346-5.362z"
59
+ }))));
60
+ };
61
+ Lab.propTypes = {
62
+ iconClassName: _propTypes["default"].string,
63
+ spin: _propTypes["default"].bool,
64
+ color: _propTypes["default"].string,
65
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
66
+ };
67
+ Lab.defaultProps = {
68
+ spin: false,
69
+ color: 'currentColor',
70
+ size: '1em'
71
+ };
72
+ var _default = Lab;
73
+ exports["default"] = _default;
@@ -52,7 +52,7 @@ var OperatorInclude = function OperatorInclude(props) {
52
52
  }, /*#__PURE__*/_react["default"].createElement("path", {
53
53
  fillRule: "evenodd",
54
54
  clipRule: "evenodd",
55
- d: "M18 6H9.5a3.5 3.5 0 100 7H20v2H9.5a5.5 5.5 0 110-11H20v2h-2zM4 17h16v2H4v-2z"
55
+ d: "M6 6h8.5a3.5 3.5 0 110 7H4v2h10.5a5.5 5.5 0 100-11H4v2h2zm14 11H4v2h16v-2z"
56
56
  }))));
57
57
  };
58
58
  OperatorInclude.propTypes = {
@@ -54,12 +54,13 @@ var OperatorNotInclude = function OperatorNotInclude(props) {
54
54
  }, /*#__PURE__*/_react["default"].createElement("path", {
55
55
  fillRule: "evenodd",
56
56
  clipRule: "evenodd",
57
- d: "M15.113 4l2.309-4 1.732 1-1.732 3H20v2h-3.733l-4.041 7H20v2h-8.929l-1.155 2H20v2H8.762l-2.03 3.515-1.732-1L6.452 19H4v-2h3.607l1.181-2.046A5.501 5.501 0 019.5 4h5.613zm-1.155 2H9.5a3.5 3.5 0 000 7h.416l4.042-7z"
57
+ d: "M8.887 4L6.578 0 4.846 1l1.732 3H4v2h3.733l4.041 7H4v2h8.929l1.155 2H4v2h11.238l2.03 3.515 1.732-1L17.548 19H20v-2h-3.607l-1.181-2.046A5.501 5.501 0 0014.5 4H8.887zm1.155 2H14.5a3.5 3.5 0 010 7h-.416l-4.042-7z"
58
58
  })), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
59
59
  id: "clip0_3399_79"
60
60
  }, /*#__PURE__*/_react["default"].createElement("rect", {
61
61
  width: "24",
62
- height: "24"
62
+ height: "24",
63
+ transform: "matrix(-1 0 0 1 24 0)"
63
64
  }))))));
64
65
  };
65
66
  OperatorNotInclude.propTypes = {
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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"];
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ 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); }
13
+ 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; }
14
+ 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; }
15
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
+ 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; }
19
+ 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; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Pause2 = function Pause2(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
+ otherProps = _objectWithoutProperties(props, _excluded);
29
+ return /*#__PURE__*/_react["default"].createElement("span", {
30
+ role: "img",
31
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
32
+ }, /*#__PURE__*/_react["default"].createElement("style", {
33
+ children: loadingCircleStyle
34
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ width: size,
37
+ height: size,
38
+ viewBox: "0 0 24 24",
39
+ fill: color
40
+ }, otherProps, {
41
+ className: iconClassName,
42
+ style: _objectSpread(_objectSpread({}, style), spin ? {
43
+ animationDuration: '1s',
44
+ animationIterationCount: 'infinite',
45
+ animationName: 'loadingCircle',
46
+ animationTimingFunction: 'linear'
47
+ } : {})
48
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
49
+ width: "24",
50
+ height: "24",
51
+ xmlns: "http://www.w3.org/2000/svg"
52
+ }, /*#__PURE__*/_react["default"].createElement("path", {
53
+ d: "M9 7h2v10H9V7zm4 0h2v10h-2V7z"
54
+ }))));
55
+ };
56
+ Pause2.propTypes = {
57
+ iconClassName: _propTypes["default"].string,
58
+ spin: _propTypes["default"].bool,
59
+ color: _propTypes["default"].string,
60
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
61
+ };
62
+ Pause2.defaultProps = {
63
+ spin: false,
64
+ color: 'currentColor',
65
+ size: '1em'
66
+ };
67
+ var _default = Pause2;
68
+ exports["default"] = _default;