@tant/icons 1.18.4 → 1.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/icons/d-assets-cl.js +94 -0
- package/dist/es/icons/date-mark-cl.js +2 -2
- package/dist/es/icons/flag-cn.js +1 -1
- package/dist/es/icons/flag-us.js +1 -1
- package/dist/es/icons/s-administrator.js +75 -0
- package/dist/es/icons/s-workspace.js +81 -0
- package/dist/es/icons/task-flow.js +63 -0
- package/dist/es/icons/template-cl.js +1 -1
- package/dist/es/icons/undo-approval.js +3 -5
- package/dist/es/index.js +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/lib/icons/d-assets-cl.js +101 -0
- package/dist/lib/icons/date-mark-cl.js +2 -2
- package/dist/lib/icons/flag-cn.js +1 -1
- package/dist/lib/icons/flag-us.js +1 -1
- package/dist/lib/icons/s-administrator.js +82 -0
- package/dist/lib/icons/s-workspace.js +88 -0
- package/dist/lib/icons/task-flow.js +70 -0
- package/dist/lib/icons/template-cl.js +1 -1
- package/dist/lib/icons/undo-approval.js +3 -5
- package/dist/lib/index.js +33 -5
- package/dist/tant-icons.cjs.js +2020 -1749
- package/dist/tant-icons.esm.js +2017 -1750
- package/package.json +1 -1
|
@@ -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-.
|
|
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.
|
|
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
|
};
|
package/dist/es/icons/flag-cn.js
CHANGED
|
@@ -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.
|
|
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", {
|
package/dist/es/icons/flag-us.js
CHANGED
|
@@ -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-.
|
|
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,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.
|
|
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
|
-
|
|
49
|
-
|
|
50
|
-
d: "
|
|
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
|
|
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
|
|
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,8 @@ 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
|
|
257
|
+
export { default as TaEndTask } from './icons/end-task';
|
|
258
|
+
export { default as TaTaskFlow } from './icons/task-flow';
|
|
255
259
|
export { default as TaFontSize } from './icons/font-size';
|
|
256
260
|
export { default as TaFontBold } from './icons/font-bold';
|
|
257
261
|
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
|
|
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
|
|
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,8 @@ 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
|
|
269
|
+
export const TaEndTask: Icon;
|
|
270
|
+
export const TaTaskFlow: Icon;
|
|
267
271
|
export const TaFontSize: Icon;
|
|
268
272
|
export const TaFontBold: Icon;
|
|
269
273
|
export const TaFontItalic: Icon;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var DAssetsCl = function DAssetsCl(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
fill: "none",
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
55
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
d: "M6 12h12v7H6v-7z",
|
|
57
|
+
fill: "#7EA8F1"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M3 15l3-3v7l-3 3v-7z",
|
|
60
|
+
fill: "#518BF3"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
d: "M21 15l-3-3v7l3 3v-7z",
|
|
63
|
+
fill: "#518BF3"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
65
|
+
cx: "15.5",
|
|
66
|
+
cy: "14.5",
|
|
67
|
+
r: "1.5",
|
|
68
|
+
fill: "#1560E9"
|
|
69
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
70
|
+
d: "M3 15h18v7H3v-7z",
|
|
71
|
+
fill: "#B3CFF8"
|
|
72
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
73
|
+
cx: "8.5",
|
|
74
|
+
cy: "11.5",
|
|
75
|
+
r: "2.5",
|
|
76
|
+
fill: "#1673F6"
|
|
77
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
78
|
+
fillRule: "evenodd",
|
|
79
|
+
clipRule: "evenodd",
|
|
80
|
+
d: "M10.95 12a2.5 2.5 0 01-4.9 0h4.9z",
|
|
81
|
+
fill: "#1560E9"
|
|
82
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
83
|
+
cx: "14.5",
|
|
84
|
+
cy: "5.5",
|
|
85
|
+
r: "3.5",
|
|
86
|
+
fill: "#1673F6"
|
|
87
|
+
}))));
|
|
88
|
+
};
|
|
89
|
+
DAssetsCl.propTypes = {
|
|
90
|
+
iconClassName: _propTypes["default"].string,
|
|
91
|
+
spin: _propTypes["default"].bool,
|
|
92
|
+
color: _propTypes["default"].string,
|
|
93
|
+
testid: _propTypes["default"].string,
|
|
94
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
95
|
+
};
|
|
96
|
+
DAssetsCl.defaultProps = {
|
|
97
|
+
spin: false,
|
|
98
|
+
color: 'currentColor',
|
|
99
|
+
size: '1em'
|
|
100
|
+
};
|
|
101
|
+
var _default = exports["default"] = DAssetsCl;
|
|
@@ -58,10 +58,10 @@ var DateMarkCl = function DateMarkCl(props) {
|
|
|
58
58
|
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",
|
|
59
59
|
fill: "#B3CFF8"
|
|
60
60
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
-
d: "M23.442 14.434a.658.658 0 00-.
|
|
61
|
+
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",
|
|
62
62
|
fill: "#1673F6"
|
|
63
63
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
64
|
-
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.
|
|
64
|
+
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",
|
|
65
65
|
fill: "#0F5DEF"
|
|
66
66
|
}))));
|
|
67
67
|
};
|
|
@@ -92,7 +92,7 @@ var FlagCn = function FlagCn(props) {
|
|
|
92
92
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
93
93
|
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"
|
|
94
94
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
95
|
-
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.
|
|
95
|
+
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"
|
|
96
96
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
97
97
|
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"
|
|
98
98
|
}))), /*#__PURE__*/_react["default"].createElement("g", {
|
|
@@ -94,7 +94,7 @@ var FlagUs = function FlagUs(props) {
|
|
|
94
94
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
95
95
|
fillRule: "evenodd",
|
|
96
96
|
clipRule: "evenodd",
|
|
97
|
-
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-.
|
|
97
|
+
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"
|
|
98
98
|
}))), /*#__PURE__*/_react["default"].createElement("g", {
|
|
99
99
|
style: {
|
|
100
100
|
mixBlendMode: 'multiply'
|