@tant/icons 1.18.4 → 1.18.7

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,94 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
10
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var DAssetsCl = function DAssetsCl(props) {
15
+ var color = props.color,
16
+ size = props.size,
17
+ spin = props.spin,
18
+ style = props.style,
19
+ className = props.className,
20
+ iconClassName = props.iconClassName,
21
+ testid = props.testid,
22
+ otherProps = _objectWithoutProperties(props, _excluded);
23
+ return /*#__PURE__*/React.createElement("span", {
24
+ role: "img",
25
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
26
+ }, /*#__PURE__*/React.createElement("style", {
27
+ children: loadingCircleStyle
28
+ }), /*#__PURE__*/React.createElement("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: size,
31
+ height: size,
32
+ viewBox: "0 0 24 24",
33
+ fill: color
34
+ }, otherProps, {
35
+ className: iconClassName,
36
+ "data-testid": testid,
37
+ style: _objectSpread(_objectSpread({}, style), spin ? {
38
+ animationDuration: '1s',
39
+ animationIterationCount: 'infinite',
40
+ animationName: 'loadingCircle',
41
+ animationTimingFunction: 'linear'
42
+ } : {})
43
+ }), /*#__PURE__*/React.createElement("svg", {
44
+ width: "24",
45
+ height: "24",
46
+ fill: "none",
47
+ xmlns: "http://www.w3.org/2000/svg"
48
+ }, /*#__PURE__*/React.createElement("path", {
49
+ d: "M6 12h12v7H6v-7z",
50
+ fill: "#7EA8F1"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ d: "M3 15l3-3v7l-3 3v-7z",
53
+ fill: "#518BF3"
54
+ }), /*#__PURE__*/React.createElement("path", {
55
+ d: "M21 15l-3-3v7l3 3v-7z",
56
+ fill: "#518BF3"
57
+ }), /*#__PURE__*/React.createElement("circle", {
58
+ cx: "15.5",
59
+ cy: "14.5",
60
+ r: "1.5",
61
+ fill: "#1560E9"
62
+ }), /*#__PURE__*/React.createElement("path", {
63
+ d: "M3 15h18v7H3v-7z",
64
+ fill: "#B3CFF8"
65
+ }), /*#__PURE__*/React.createElement("circle", {
66
+ cx: "8.5",
67
+ cy: "11.5",
68
+ r: "2.5",
69
+ fill: "#1673F6"
70
+ }), /*#__PURE__*/React.createElement("path", {
71
+ fillRule: "evenodd",
72
+ clipRule: "evenodd",
73
+ d: "M10.95 12a2.5 2.5 0 01-4.9 0h4.9z",
74
+ fill: "#1560E9"
75
+ }), /*#__PURE__*/React.createElement("circle", {
76
+ cx: "14.5",
77
+ cy: "5.5",
78
+ r: "3.5",
79
+ fill: "#1673F6"
80
+ }))));
81
+ };
82
+ DAssetsCl.propTypes = {
83
+ iconClassName: PropTypes.string,
84
+ spin: PropTypes.bool,
85
+ color: PropTypes.string,
86
+ testid: PropTypes.string,
87
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
88
+ };
89
+ DAssetsCl.defaultProps = {
90
+ spin: false,
91
+ color: 'currentColor',
92
+ size: '1em'
93
+ };
94
+ export default DAssetsCl;
@@ -51,10 +51,10 @@ var DateMarkCl = function DateMarkCl(props) {
51
51
  d: "M3.65 2h2.13v1.889h5.4V2h2.13v1.889h.989c1.176 0 2.13.987 2.13 2.204v12.592c0 1.217-.954 2.204-2.13 2.204H2.129C.954 20.889 0 19.902 0 18.685V6.093c0-1.217.953-2.204 2.13-2.204h1.52V2zm10.953 4.722H1.825V8.14h12.778V6.722z",
52
52
  fill: "#B3CFF8"
53
53
  }), /*#__PURE__*/React.createElement("path", {
54
- d: "M23.442 14.434a.658.658 0 00-.199-.3.639.639 0 00-.324-.148l-3.739-.658-1.691-3.353a.654.654 0 00-1.168 0l-1.673 3.354-3.739.676a.638.638 0 00-.34.14.658.658 0 00-.223.666.64.64 0 00.18.309l2.73 2.496-.702 3.62a.66.66 0 00.262.64.712.712 0 00.691.047l3.393-1.658 3.383 1.658a.653.653 0 00.953-.686l-.682-3.62 2.701-2.516a.64.64 0 00.187-.667z",
54
+ d: "M23.442 14.434a.658.658 0 00-.198-.3.639.639 0 00-.325-.148l-3.738-.658-1.692-3.353a.654.654 0 00-1.168 0l-1.673 3.354-3.739.676a.638.638 0 00-.34.14.657.657 0 00-.223.666.64.64 0 00.18.309l2.73 2.496-.702 3.62a.66.66 0 00.262.64.712.712 0 00.692.047l3.392-1.658 3.383 1.658a.653.653 0 00.954-.686l-.683-3.62 2.701-2.516a.64.64 0 00.187-.667z",
55
55
  fill: "#1673F6"
56
56
  }), /*#__PURE__*/React.createElement("path", {
57
- d: "M16.429 9.824v8.861c0 1.217-.954 2.204-2.13 2.204h-1.677l.633-3.273-2.729-2.496a.64.64 0 01-.168-.667.658.658 0 01.21-.308.638.638 0 01.341-.14l3.739-.676 1.673-3.354a.678.678 0 01.108-.15z",
57
+ d: "M16.429 9.824v8.861c0 1.217-.954 2.204-2.13 2.204h-1.677l.633-3.273-2.729-2.496a.64.64 0 01-.168-.667.657.657 0 01.21-.308.638.638 0 01.341-.14l3.739-.676 1.673-3.354a.678.678 0 01.108-.15z",
58
58
  fill: "#0F5DEF"
59
59
  }))));
60
60
  };
@@ -85,7 +85,7 @@ var FlagCn = function FlagCn(props) {
85
85
  }), /*#__PURE__*/React.createElement("path", {
86
86
  d: "M12.699 10.781l-1.124.658.257-1.283-.936-.96 1.267-.053.536-1.198.535 1.198H14.5l-.933 1.013.28 1.283-1.147-.658z"
87
87
  }), /*#__PURE__*/React.createElement("path", {
88
- d: "M11.324 13.448l-1.124.657.257-1.283-.936-.96 1.267-.052.536-1.198.535 1.198h1.265l-.933 1.012.28 1.283-1.147-.657z"
88
+ d: "M11.324 13.448l-1.124.657.257-1.283-.936-.96 1.267-.052.536-1.198.535 1.198h1.265l-.933 1.012.28 1.284-1.147-.658z"
89
89
  }), /*#__PURE__*/React.createElement("path", {
90
90
  d: "M8.574 14.781l-1.124.658.257-1.283-.936-.96 1.267-.053.536-1.198.535 1.198h1.265l-.933 1.013.28 1.283-1.147-.658z"
91
91
  }))), /*#__PURE__*/React.createElement("g", {
@@ -87,7 +87,7 @@ var FlagUs = function FlagUs(props) {
87
87
  }), /*#__PURE__*/React.createElement("path", {
88
88
  fillRule: "evenodd",
89
89
  clipRule: "evenodd",
90
- d: "M2.43 6.898l.729-.492.565.395h-.32l.647.555-.219.778H3.49l-.332-.715-.284.715H2.03l.647.555-.246.876.729-.492.565.394h-.32l.647.556-.219.778H3.49l-.332-.715-.284.715H2.03l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.721l-.332-.715-.284.715h-.41l-.195-.778.567-.556h-.261l.584-.394.705.492-.22-.876.567-.555h-.721l-.332-.715-.284.715h-.41l-.195-.778.567-.555h-.261l.584-.395.705.492-.22-.875.567-.556h-.721l-.332-.714-.284.714h-.845l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.779.567-.555H8.99l-.332-.714-.284.714H7.53l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.779.567-.555H6.24l-.332-.714-.284.714H4.78l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.779.567-.555H3.49l-.332-.714-.284.714H2.03l.647.556-.246.875zm8.277 2.57l.219-.779-.647-.555h.32l-.565-.394-.585.394h.262l-.567.555.195.778h.41l.284-.714.332.714h.342zm-1.483 0l-.565-.395-.585.394h.262l-.567.556.195.778h.41l.284-.715.332.715h.342l.219-.778-.647-.556h.32zm-2.423.555l-.219.778H6.24l-.332-.715-.284.715h-.41l-.195-.778.567-.556h-.262l.585-.394.565.394h-.32l.647.556zm.198-.556h-.41l-.195-.778.567-.555h-.262l.585-.394.565.394h-.32l.647.555-.219.778h-.342l-.332-.714-.284.714zm-1.792 0l.219-.778-.647-.555h.32l-.565-.394-.585.394h.262l-.567.555.195.778h.41l.284-.714.332.714h.342zm4.344-2.111l-.219.778H8.99l-.332-.715-.284.715h-.41l-.195-.778.567-.555h-.262l.585-.395.565.395h-.32l.647.555zM6.474 6.8l-.565-.395-.585.395h.262l-.567.555.195.778h.41l.284-.715.332.715h.342l.219-.778-.647-.555h.32z"
90
+ d: "M2.43 6.898l.729-.492.565.395h-.32l.647.555-.219.778H3.49l-.332-.715-.284.715H2.03l.647.555-.246.876.729-.492.565.394h-.32l.647.556-.219.778H3.49l-.332-.715-.284.715H2.03l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.721l-.332-.715-.284.715h-.41l-.195-.778.567-.556h-.261l.584-.394.705.492-.22-.876.567-.555h-.721l-.332-.715-.284.715h-.41l-.195-.778.567-.555h-.261l.584-.395.705.492-.22-.875.567-.556h-.721l-.332-.714-.284.714h-.845l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H8.99l-.332-.714-.284.714H7.53l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H6.24l-.332-.714-.284.714H4.78l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H3.49l-.332-.714-.284.714H2.03l.647.556-.246.875zm8.277 2.57l.219-.779-.647-.555h.32l-.565-.394-.585.394h.262l-.567.555.195.778h.41l.284-.714.332.714h.342zm-1.483 0l-.565-.395-.585.394h.262l-.567.556.195.778h.41l.284-.715.332.715h.342l.219-.778-.647-.556h.32zm-2.423.555l-.219.778H6.24l-.332-.715-.284.715h-.41l-.195-.778.567-.556h-.262l.585-.394.565.394h-.32l.647.556zm.198-.556h-.41l-.195-.778.567-.555h-.262l.585-.394.565.394h-.32l.647.555-.219.778h-.342l-.332-.714-.284.714zm-1.792 0l.219-.778-.647-.555h.32l-.565-.394-.585.394h.262l-.567.555.195.778h.41l.284-.714.332.714h.342zm4.344-2.111l-.219.778H8.99l-.332-.715-.284.715h-.41l-.195-.778.567-.555h-.262l.585-.395.565.395h-.32l.647.555zM6.474 6.8l-.565-.395-.585.395h.262l-.567.555.195.778h.41l.284-.715.332.715h.342l.219-.778-.647-.555h.32z"
91
91
  }))), /*#__PURE__*/React.createElement("g", {
92
92
  style: {
93
93
  mixBlendMode: 'multiply'
@@ -0,0 +1,65 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
10
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var Name = function Name(props) {
15
+ var color = props.color,
16
+ size = props.size,
17
+ spin = props.spin,
18
+ style = props.style,
19
+ className = props.className,
20
+ iconClassName = props.iconClassName,
21
+ testid = props.testid,
22
+ otherProps = _objectWithoutProperties(props, _excluded);
23
+ return /*#__PURE__*/React.createElement("span", {
24
+ role: "img",
25
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
26
+ }, /*#__PURE__*/React.createElement("style", {
27
+ children: loadingCircleStyle
28
+ }), /*#__PURE__*/React.createElement("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: size,
31
+ height: size,
32
+ viewBox: "0 0 24 24",
33
+ fill: color
34
+ }, otherProps, {
35
+ className: iconClassName,
36
+ "data-testid": testid,
37
+ style: _objectSpread(_objectSpread({}, style), spin ? {
38
+ animationDuration: '1s',
39
+ animationIterationCount: 'infinite',
40
+ animationName: 'loadingCircle',
41
+ animationTimingFunction: 'linear'
42
+ } : {})
43
+ }), /*#__PURE__*/React.createElement("svg", {
44
+ width: "24",
45
+ height: "24",
46
+ xmlns: "http://www.w3.org/2000/svg"
47
+ }, /*#__PURE__*/React.createElement("path", {
48
+ fillRule: "evenodd",
49
+ clipRule: "evenodd",
50
+ d: "M13 4h7v2h-7V4zm3 7h4v2h-4v-2zm2 7h2v2h-2v-2zM10.98 5H8.5L3 19.28h2.32l1.34-3.68h6.14l1.34 3.68h2.34L10.98 5zm1.16 8.8H7.32L9.7 7.34h.08l2.36 6.46z"
51
+ }))));
52
+ };
53
+ Name.propTypes = {
54
+ iconClassName: PropTypes.string,
55
+ spin: PropTypes.bool,
56
+ color: PropTypes.string,
57
+ testid: PropTypes.string,
58
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
59
+ };
60
+ Name.defaultProps = {
61
+ spin: false,
62
+ color: 'currentColor',
63
+ size: '1em'
64
+ };
65
+ export default Name;
@@ -0,0 +1,75 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
10
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var SAdministrator = function SAdministrator(props) {
15
+ var color = props.color,
16
+ size = props.size,
17
+ spin = props.spin,
18
+ style = props.style,
19
+ className = props.className,
20
+ iconClassName = props.iconClassName,
21
+ testid = props.testid,
22
+ otherProps = _objectWithoutProperties(props, _excluded);
23
+ return /*#__PURE__*/React.createElement("span", {
24
+ role: "img",
25
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
26
+ }, /*#__PURE__*/React.createElement("style", {
27
+ children: loadingCircleStyle
28
+ }), /*#__PURE__*/React.createElement("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: size,
31
+ height: size,
32
+ viewBox: "0 0 24 24",
33
+ fill: color
34
+ }, otherProps, {
35
+ className: iconClassName,
36
+ "data-testid": testid,
37
+ style: _objectSpread(_objectSpread({}, style), spin ? {
38
+ animationDuration: '1s',
39
+ animationIterationCount: 'infinite',
40
+ animationName: 'loadingCircle',
41
+ animationTimingFunction: 'linear'
42
+ } : {})
43
+ }), /*#__PURE__*/React.createElement("svg", {
44
+ width: "24",
45
+ height: "24",
46
+ xmlns: "http://www.w3.org/2000/svg"
47
+ }, /*#__PURE__*/React.createElement("circle", {
48
+ cx: "10",
49
+ cy: "6",
50
+ r: "4"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ fillRule: "evenodd",
53
+ clipRule: "evenodd",
54
+ d: "M19.5 22l3.5-6-3.5-6h-7L9 16l3.5 6h7zM16 17.98c1.105 0 2-.887 2-1.98a1.99 1.99 0 00-2-1.98c-1.105 0-2 .887-2 1.98a1.99 1.99 0 002 1.98z"
55
+ }), /*#__PURE__*/React.createElement("path", {
56
+ d: "M2 22h16c0-5.523-3.582-10-8-10s-8 4.477-8 10z"
57
+ }), /*#__PURE__*/React.createElement("path", {
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ d: "M18 22c0-1.58-.293-3.076-.816-4.405A2.005 2.005 0 0116 17.98c-1.105 0-2-.887-2-1.98 0-.757.429-1.414 1.059-1.747-1.07-1.093-2.371-1.847-3.798-2.13L9 16l3.5 6H18z"
61
+ }))));
62
+ };
63
+ SAdministrator.propTypes = {
64
+ iconClassName: PropTypes.string,
65
+ spin: PropTypes.bool,
66
+ color: PropTypes.string,
67
+ testid: PropTypes.string,
68
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
69
+ };
70
+ SAdministrator.defaultProps = {
71
+ spin: false,
72
+ color: 'currentColor',
73
+ size: '1em'
74
+ };
75
+ export default SAdministrator;
@@ -0,0 +1,81 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
10
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var SWorkspace = function SWorkspace(props) {
15
+ var color = props.color,
16
+ size = props.size,
17
+ spin = props.spin,
18
+ style = props.style,
19
+ className = props.className,
20
+ iconClassName = props.iconClassName,
21
+ testid = props.testid,
22
+ otherProps = _objectWithoutProperties(props, _excluded);
23
+ return /*#__PURE__*/React.createElement("span", {
24
+ role: "img",
25
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
26
+ }, /*#__PURE__*/React.createElement("style", {
27
+ children: loadingCircleStyle
28
+ }), /*#__PURE__*/React.createElement("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: size,
31
+ height: size,
32
+ viewBox: "0 0 24 24",
33
+ fill: color
34
+ }, otherProps, {
35
+ className: iconClassName,
36
+ "data-testid": testid,
37
+ style: _objectSpread(_objectSpread({}, style), spin ? {
38
+ animationDuration: '1s',
39
+ animationIterationCount: 'infinite',
40
+ animationName: 'loadingCircle',
41
+ animationTimingFunction: 'linear'
42
+ } : {})
43
+ }), /*#__PURE__*/React.createElement("svg", {
44
+ width: "24",
45
+ height: "24",
46
+ xmlns: "http://www.w3.org/2000/svg"
47
+ }, /*#__PURE__*/React.createElement("rect", {
48
+ x: "15",
49
+ y: "15",
50
+ width: "6",
51
+ height: "6"
52
+ }), /*#__PURE__*/React.createElement("rect", {
53
+ x: "15",
54
+ y: "3",
55
+ width: "6",
56
+ height: "10"
57
+ }), /*#__PURE__*/React.createElement("rect", {
58
+ x: "3",
59
+ y: "15",
60
+ width: "10",
61
+ height: "6"
62
+ }), /*#__PURE__*/React.createElement("rect", {
63
+ x: "3",
64
+ y: "3",
65
+ width: "10",
66
+ height: "10"
67
+ }))));
68
+ };
69
+ SWorkspace.propTypes = {
70
+ iconClassName: PropTypes.string,
71
+ spin: PropTypes.bool,
72
+ color: PropTypes.string,
73
+ testid: PropTypes.string,
74
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
75
+ };
76
+ SWorkspace.defaultProps = {
77
+ spin: false,
78
+ color: 'currentColor',
79
+ size: '1em'
80
+ };
81
+ export default SWorkspace;
@@ -0,0 +1,63 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
10
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
11
+ import React from 'react';
12
+ import PropTypes from 'prop-types';
13
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
+ var TaskFlow = function TaskFlow(props) {
15
+ var color = props.color,
16
+ size = props.size,
17
+ spin = props.spin,
18
+ style = props.style,
19
+ className = props.className,
20
+ iconClassName = props.iconClassName,
21
+ testid = props.testid,
22
+ otherProps = _objectWithoutProperties(props, _excluded);
23
+ return /*#__PURE__*/React.createElement("span", {
24
+ role: "img",
25
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
26
+ }, /*#__PURE__*/React.createElement("style", {
27
+ children: loadingCircleStyle
28
+ }), /*#__PURE__*/React.createElement("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: size,
31
+ height: size,
32
+ viewBox: "0 0 24 24",
33
+ fill: color
34
+ }, otherProps, {
35
+ className: iconClassName,
36
+ "data-testid": testid,
37
+ style: _objectSpread(_objectSpread({}, style), spin ? {
38
+ animationDuration: '1s',
39
+ animationIterationCount: 'infinite',
40
+ animationName: 'loadingCircle',
41
+ animationTimingFunction: 'linear'
42
+ } : {})
43
+ }), /*#__PURE__*/React.createElement("svg", {
44
+ width: "24",
45
+ height: "24",
46
+ xmlns: "http://www.w3.org/2000/svg"
47
+ }, /*#__PURE__*/React.createElement("path", {
48
+ d: "M17.207 2.293l-1.414 1.414L18.086 6H13v2h5.086l-2.293 2.293 1.414 1.414L21.914 7l-4.707-4.707zM7 11.5a4.5 4.5 0 100-9 4.5 4.5 0 000 9zM5.914 18l2.293 2.293-1.414 1.414L2.086 17l4.707-4.707 1.414 1.414L5.914 16H11v2H5.914zM14 13a1 1 0 00-1 1v6a1 1 0 001 1h6a1 1 0 001-1v-6a1 1 0 00-1-1h-6z"
49
+ }))));
50
+ };
51
+ TaskFlow.propTypes = {
52
+ iconClassName: PropTypes.string,
53
+ spin: PropTypes.bool,
54
+ color: PropTypes.string,
55
+ testid: PropTypes.string,
56
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
57
+ };
58
+ TaskFlow.defaultProps = {
59
+ spin: false,
60
+ color: 'currentColor',
61
+ size: '1em'
62
+ };
63
+ export default TaskFlow;
@@ -46,7 +46,7 @@ var TemplateCl = function TemplateCl(props) {
46
46
  fill: "none",
47
47
  xmlns: "http://www.w3.org/2000/svg"
48
48
  }, /*#__PURE__*/React.createElement("path", {
49
- d: "M11.304 2L23 4.97l-3.003 11.565L8.3 13.565 11.304 2z",
49
+ d: "M11.303 2L23 4.97l-3.003 11.565L8.3 13.565 11.303 2z",
50
50
  fill: "#B3CFF8"
51
51
  }), /*#__PURE__*/React.createElement("path", {
52
52
  d: "M13.801 13.94c0 3.769-3.09 6.823-6.9 6.823C3.089 20.763 0 17.708 0 13.94c0-3.768 3.09-6.823 6.9-6.823 3.812 0 6.901 3.055 6.901 6.823z",
@@ -45,11 +45,9 @@ var UndoApproval = function UndoApproval(props) {
45
45
  height: "24",
46
46
  xmlns: "http://www.w3.org/2000/svg"
47
47
  }, /*#__PURE__*/React.createElement("path", {
48
- d: "M5.589 6.339c0 1.447.635 2.744 1.64 3.63l-.402 1.208h-5.11a.968.968 0 00-.967.968v3.871c0 .535.433.968.968.968h6.63a8.69 8.69 0 01-.327-1.936H2.685v-1.935h4.84a.967.967 0 00.65-.251 8.653 8.653 0 011.036-2.716l.05-.152c.193-.592.18-.84-.392-1.205a2.903 2.903 0 114.454-2.248 8.647 8.647 0 011.93-.564 4.84 4.84 0 00-9.664.362z"
49
- }), /*#__PURE__*/React.createElement("path", {
50
- d: "M9.173 18.92a8.746 8.746 0 001.52 1.935h-9.46a.484.484 0 01-.483-.484v-.968c0-.267.217-.484.484-.484h7.94z"
51
- }), /*#__PURE__*/React.createElement("path", {
52
- d: "M23.25 17.25c0-.916-.192-1.721-.576-2.416a4.078 4.078 0 00-1.658-1.632c-.721-.393-1.585-.59-2.592-.59h-4.333l-1.527.071 1.134-.97 1.608-1.618a.838.838 0 00.176-.237.764.764 0 00.063-.323c0-.22-.07-.405-.21-.554a.728.728 0 00-.555-.223.773.773 0 00-.57.252l-3.779 3.81a.85.85 0 00-.182.28.812.812 0 00-.064.317c0 .11.022.218.064.324a.773.773 0 00.182.273l3.78 3.81a.773.773 0 00.569.252c.23 0 .414-.071.555-.215a.784.784 0 00.21-.561.78.78 0 00-.239-.568l-1.608-1.61-1.134-.97 1.527.07h4.354c.693 0 1.28.128 1.763.382.487.249.857.599 1.11 1.05.253.445.38.958.38 1.538 0 .585-.127 1.105-.38 1.56-.253.451-.623.806-1.11 1.065-.482.263-1.07.395-1.763.395h-1.552a.758.758 0 00-.576.237.797.797 0 00-.225.568c0 .22.075.41.225.568.15.159.341.238.576.238h1.615c.989 0 1.836-.19 2.543-.568a3.897 3.897 0 001.63-1.597c.38-.685.569-1.488.569-2.408z"
48
+ fillRule: "evenodd",
49
+ clipRule: "evenodd",
50
+ d: "M8.695 10.752A5 5 0 1116.9 8.001a9.007 9.007 0 00-2.193.294 3 3 0 10-4.317 1.237c.446.285.563.5.507.853A9.01 9.01 0 008.512 14H4v2h4.055a9.097 9.097 0 000 2H3a1 1 0 01-1-1v-4a1 1 0 011-1h5.28l.415-1.248zM9.515 22a8.966 8.966 0 01-1.003-2H2.5a.5.5 0 00-.5.5v1a.5.5 0 00.5.5h7.016zm6.849-3.515L13.828 16H19a3 3 0 110 6h-3v2h3a5 5 0 000-10h-5.172l2.536-2.586L14.95 10 10 14.95l4.95 4.95 1.414-1.415z"
53
51
  }))));
54
52
  };
55
53
  UndoApproval.propTypes = {
package/dist/es/index.js CHANGED
@@ -48,14 +48,17 @@ export { default as TaUSearchCl } from './icons/u-search-cl';
48
48
  export { default as TaDManageCl } from './icons/d-manage-cl';
49
49
  export { default as TaDTrackingCl } from './icons/d-tracking-cl';
50
50
  export { default as TaDIntegrationCl } from './icons/d-integration-cl';
51
- export { default as TaAlertCl } from './icons/alert-cl';
52
- export { default as TaTemplateCl } from './icons/template-cl';
53
- export { default as TaDateMarkCl } from './icons/date-mark-cl';
51
+ export { default as TaDAssetsCl } from './icons/d-assets-cl';
54
52
  export { default as TaEChartsCl } from './icons/e-charts-cl';
55
53
  export { default as TaECampaignCl } from './icons/e-campaign-cl';
56
54
  export { default as TaETaskCl } from './icons/e-task-cl';
57
55
  export { default as TaESettingCl } from './icons/e-setting-cl';
58
56
  export { default as TaEConfigCl } from './icons/e-config-cl';
57
+ export { default as TaAlertCl } from './icons/alert-cl';
58
+ export { default as TaTemplateCl } from './icons/template-cl';
59
+ export { default as TaDateMarkCl } from './icons/date-mark-cl';
60
+ export { default as TaSWorkspace } from './icons/s-workspace';
61
+ export { default as TaSAdministrator } from './icons/s-administrator';
59
62
  export { default as TaLogoDingdingCl } from './icons/logo-dingding-cl';
60
63
  export { default as TaLogoDingdingGray } from './icons/logo-dingding-gray';
61
64
  export { default as TaLogoWecomCl } from './icons/logo-wecom-cl';
@@ -230,7 +233,7 @@ export { default as TaMute } from './icons/mute';
230
233
  export { default as TaApprove } from './icons/approve';
231
234
  export { default as TaReject } from './icons/reject';
232
235
  export { default as TaConsent } from './icons/consent';
233
- export { default as TaEndTask } from './icons/end-task';
236
+ export { default as TaUndoApproval } from './icons/undo-approval';
234
237
  export { default as TaProperty } from './icons/property';
235
238
  export { default as TaLab } from './icons/lab';
236
239
  export { default as TaRuler } from './icons/ruler';
@@ -251,7 +254,9 @@ export { default as TaRenew } from './icons/renew';
251
254
  export { default as TaSchedule } from './icons/schedule';
252
255
  export { default as TaBring } from './icons/bring';
253
256
  export { default as TaPulse } from './icons/pulse';
254
- export { default as TaUndoApproval } from './icons/undo-approval';
257
+ export { default as TaEndTask } from './icons/end-task';
258
+ export { default as TaTaskFlow } from './icons/task-flow';
259
+ export { default as TaName } from './icons/name';
255
260
  export { default as TaFontSize } from './icons/font-size';
256
261
  export { default as TaFontBold } from './icons/font-bold';
257
262
  export { default as TaFontItalic } from './icons/font- italic';
package/dist/index.d.ts CHANGED
@@ -60,14 +60,17 @@ export const TaUSearchCl: Icon;
60
60
  export const TaDManageCl: Icon;
61
61
  export const TaDTrackingCl: Icon;
62
62
  export const TaDIntegrationCl: Icon;
63
- export const TaAlertCl: Icon;
64
- export const TaTemplateCl: Icon;
65
- export const TaDateMarkCl: Icon;
63
+ export const TaDAssetsCl: Icon;
66
64
  export const TaEChartsCl: Icon;
67
65
  export const TaECampaignCl: Icon;
68
66
  export const TaETaskCl: Icon;
69
67
  export const TaESettingCl: Icon;
70
68
  export const TaEConfigCl: Icon;
69
+ export const TaAlertCl: Icon;
70
+ export const TaTemplateCl: Icon;
71
+ export const TaDateMarkCl: Icon;
72
+ export const TaSWorkspace: Icon;
73
+ export const TaSAdministrator: Icon;
71
74
  export const TaLogoDingdingCl: Icon;
72
75
  export const TaLogoDingdingGray: Icon;
73
76
  export const TaLogoWecomCl: Icon;
@@ -242,7 +245,7 @@ export const TaMute: Icon;
242
245
  export const TaApprove: Icon;
243
246
  export const TaReject: Icon;
244
247
  export const TaConsent: Icon;
245
- export const TaEndTask: Icon;
248
+ export const TaUndoApproval: Icon;
246
249
  export const TaProperty: Icon;
247
250
  export const TaLab: Icon;
248
251
  export const TaRuler: Icon;
@@ -263,7 +266,9 @@ export const TaRenew: Icon;
263
266
  export const TaSchedule: Icon;
264
267
  export const TaBring: Icon;
265
268
  export const TaPulse: Icon;
266
- export const TaUndoApproval: Icon;
269
+ export const TaEndTask: Icon;
270
+ export const TaTaskFlow: Icon;
271
+ export const TaName: Icon;
267
272
  export const TaFontSize: Icon;
268
273
  export const TaFontBold: Icon;
269
274
  export const TaFontItalic: Icon;