@tant/icons 1.19.40 → 1.20.2
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/Copywriting- AI-cl.js +80 -0
- package/dist/es/icons/Report- Reading-cl.js +80 -0
- package/dist/es/icons/align-legend-bottom.js +63 -0
- package/dist/es/icons/align-legend-left.js +63 -0
- package/dist/es/icons/align-legend-right.js +63 -0
- package/dist/es/icons/align-legend-top.js +63 -0
- package/dist/es/icons/goal-fill.js +65 -0
- package/dist/es/icons/goal.js +1 -3
- package/dist/es/icons/hashtag.js +63 -0
- package/dist/es/icons/list-nested.js +1 -1
- package/dist/es/icons/logo-douyin-gray.js +1 -1
- package/dist/es/icons/logo-wechat-gray.js +2 -9
- package/dist/es/icons/neutral.js +63 -0
- package/dist/es/icons/phrase.js +63 -0
- package/dist/es/icons/post.js +63 -0
- package/dist/es/icons/sad.js +63 -0
- package/dist/es/icons/system-build.js +2 -2
- package/dist/es/icons/video.js +63 -0
- package/dist/es/index.js +14 -1
- package/dist/index.d.ts +13 -0
- package/dist/lib/icons/Copywriting- AI-cl.js +87 -0
- package/dist/lib/icons/Report- Reading-cl.js +87 -0
- package/dist/lib/icons/align-legend-bottom.js +70 -0
- package/dist/lib/icons/align-legend-left.js +70 -0
- package/dist/lib/icons/align-legend-right.js +70 -0
- package/dist/lib/icons/align-legend-top.js +70 -0
- package/dist/lib/icons/goal-fill.js +72 -0
- package/dist/lib/icons/goal.js +1 -3
- package/dist/lib/icons/hashtag.js +70 -0
- package/dist/lib/icons/list-nested.js +1 -1
- package/dist/lib/icons/logo-douyin-gray.js +1 -1
- package/dist/lib/icons/logo-wechat-gray.js +2 -9
- package/dist/lib/icons/neutral.js +70 -0
- package/dist/lib/icons/phrase.js +70 -0
- package/dist/lib/icons/post.js +70 -0
- package/dist/lib/icons/sad.js +70 -0
- package/dist/lib/icons/system-build.js +2 -2
- package/dist/lib/icons/video.js +70 -0
- package/dist/lib/index.js +91 -0
- package/dist/tant-icons.cjs.js +2642 -1926
- package/dist/tant-icons.esm.js +2630 -1927
- package/package.json +1 -1
|
@@ -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 n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(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 (-1 !== e.indexOf(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 Neutral = function Neutral(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: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 2a8 8 0 00-8 8 8 8 0 008 8 8 8 0 008-8 8 8 0 00-8-8zm3 10a1 1 0 110 2H9a1 1 0 110-2h6zM8.5 8a1 1 0 011 1v1a1 1 0 11-2 0V9a1 1 0 011-1zm7 0a1 1 0 011 1v1a1 1 0 11-2 0V9a1 1 0 011-1z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Neutral.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
|
+
Neutral.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Neutral;
|
|
@@ -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 n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(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 (-1 !== e.indexOf(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 Phrase = function Phrase(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: "M7.603 4.005a1 1 0 010 1.99L7.5 6H7a3 3 0 00-3 3v2.065h4.5a2.5 2.5 0 012.5 2.5V16.5A2.5 2.5 0 018.5 19h-4A2.5 2.5 0 012 16.5V9a5 5 0 015-5h.5l.103.005zm11 0a1 1 0 010 1.99L18.5 6H18a3 3 0 00-3 3v2.065h4.5a2.5 2.5 0 012.5 2.5V16.5a2.5 2.5 0 01-2.5 2.5h-4a2.5 2.5 0 01-2.5-2.5V9a5 5 0 015-5h.5l.102.005zM4 16.5a.5.5 0 00.5.5h4a.5.5 0 00.5-.5v-2.935a.5.5 0 00-.5-.5H4V16.5zm11 0a.5.5 0 00.5.5h4a.5.5 0 00.5-.5v-2.935a.5.5 0 00-.5-.5H15V16.5z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Phrase.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
|
+
Phrase.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Phrase;
|
|
@@ -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 n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(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 (-1 !== e.indexOf(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 Post = function Post(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: "M12.467 3C17.17 3 21 6.796 21 11.5c0 4.704-3.83 8.5-8.533 8.5H5.473c-1.945 0-2.933-2.337-1.579-3.732l.94-.968a8.44 8.44 0 01-.9-3.8c0-4.704 3.83-8.5 8.533-8.5zm0 2c-3.609 0-6.533 2.91-6.533 6.5 0 1.537.536 2.95 1.432 4.063L5.33 17.66a.2.2 0 00.144.339h6.994C16.075 18 19 15.09 19 11.5S16.075 5 12.467 5z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Post.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
|
+
Post.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Post;
|
|
@@ -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 n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(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 (-1 !== e.indexOf(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 Sad = function Sad(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: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 008-8 8 8 0 00-8-8 8 8 0 00-8 8 8 8 0 008 8zm3.5-9a1 1 0 01-1-1V9a1 1 0 112 0v1a1 1 0 01-1 1zm-7 0a1 1 0 01-1-1V9a1 1 0 112 0v1a1 1 0 01-1 1zm.494 6.024a1 1 0 01-1.408-1.42l.003-.002.003-.003.008-.007.021-.02.066-.062a6.07 6.07 0 011.057-.732 6.355 6.355 0 016.926.541 4.586 4.586 0 01.296.252l.031.031.002.002-.706.707.707-.707a1.001 1.001 0 01-1.41 1.42l-.002-.003.002.002a2.698 2.698 0 00-.152-.128 4.354 4.354 0 00-4.736-.36 4.06 4.06 0 00-.554.36 2.506 2.506 0 00-.152.128l-.002.001z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Sad.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
|
+
Sad.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Sad;
|
|
@@ -45,11 +45,11 @@ var SystemBuild = function SystemBuild(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "M2 12c0-.865.11-1.703.316-2.504A3 3 0 004.99 4.867a9.99 9.99 0 014.335-2.505 3 3 0 005.348 0 9.99 9.99 0 014.335 2.505 3 3 0 002.675 4.63 10.036 10.036 0 010 5.007 3 3 0 00-2.675 4.
|
|
48
|
+
d: "M2 12c0-.865.11-1.703.316-2.504A3 3 0 004.99 4.867a9.99 9.99 0 014.335-2.505 3 3 0 005.348 0 9.99 9.99 0 014.335 2.505 3 3 0 002.675 4.63 10.036 10.036 0 010 5.007 3 3 0 00-2.675 4.63 9.99 9.99 0 01-4.335 2.504 3 3 0 00-5.348 0 9.99 9.99 0 01-4.335-2.505 3 3 0 00-2.675-4.63A10.056 10.056 0 012 12zm4.804 3c.63 1.091.81 2.346.564 3.524.408.29.842.541 1.297.75A4.993 4.993 0 0112 18c1.26 0 2.438.471 3.335 1.274.455-.209.889-.46 1.297-.75A4.993 4.993 0 0117.196 15a4.992 4.992 0 012.77-2.25 8.134 8.134 0 000-1.5A4.993 4.993 0 0117.195 9a4.993 4.993 0 01-.564-3.524 7.988 7.988 0 00-1.297-.75A4.993 4.993 0 0112 6a4.993 4.993 0 01-3.335-1.274 7.99 7.99 0 00-1.297.75A4.993 4.993 0 016.804 9a4.993 4.993 0 01-2.77 2.25 8.125 8.125 0 000 1.5A4.99 4.99 0 016.804 15z"
|
|
49
49
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
50
|
fillRule: "evenodd",
|
|
51
51
|
clipRule: "evenodd",
|
|
52
|
-
d: "M11.102 12.
|
|
52
|
+
d: "M11.102 12.342l4.013-3.462 1.385 1.385-5.539 4.846L7.5 11.649l1.385-1.384 2.217 2.077z"
|
|
53
53
|
}))));
|
|
54
54
|
};
|
|
55
55
|
SystemBuild.propTypes = {
|
|
@@ -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 n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(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 (-1 !== e.indexOf(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 Video = function Video(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: "M18.25 3C20.321 3 22 4.727 22 6.857v10.286C22 19.273 20.321 21 18.25 21H5.75C3.679 21 2 19.273 2 17.143V6.857C2 4.727 3.679 3 5.75 3h12.5zM3.875 17.143c0 1.065.84 1.928 1.875 1.928h12.5c1.035 0 1.875-.863 1.875-1.928V10H3.875v7.143zM11.222 12a.206.206 0 01.106.037l2.578 1.78a.226.226 0 01.068.286.215.215 0 01-.068.08l-2.578 1.78a.206.206 0 01-.298-.07.226.226 0 01-.03-.112V12.22a.225.225 0 01.111-.194.207.207 0 01.11-.025zM5.528 4.942c-.93.113-1.653.927-1.653 1.915V8h4.71L5.528 4.942zM17.414 8h2.711V6.857c0-1.065-.84-1.928-1.875-1.928h-3.907L17.414 8zm-6 0h3.171l-3.07-3.071H8.343L11.414 8z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Video.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
|
+
Video.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Video;
|
package/dist/es/index.js
CHANGED
|
@@ -30,6 +30,8 @@ export { default as TaVPropCl } from './icons/v-prop-cl';
|
|
|
30
30
|
export { default as TaDataOpsAiCl } from './icons/DataOps-AI-cl';
|
|
31
31
|
export { default as TaEngageAiCl } from './icons/Engage-AI-cl';
|
|
32
32
|
export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
|
|
33
|
+
export { default as TaReportReadingCl } from './icons/Report- Reading-cl';
|
|
34
|
+
export { default as TaCopywritingAiCl } from './icons/Copywriting- AI-cl';
|
|
33
35
|
export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
|
|
34
36
|
export { default as TaFlagCn } from './icons/flag-cn';
|
|
35
37
|
export { default as TaFlagUs } from './icons/flag-us';
|
|
@@ -128,6 +130,10 @@ export { default as TaTableSimple } from './icons/table-simple ';
|
|
|
128
130
|
export { default as TaCertified } from './icons/certified';
|
|
129
131
|
export { default as TaUncertified } from './icons/uncertified';
|
|
130
132
|
export { default as TaAddIndexCl } from './icons/add-index-cl';
|
|
133
|
+
export { default as TaAlignLegendTop } from './icons/align-legend-top';
|
|
134
|
+
export { default as TaAlignLegendBottom } from './icons/align-legend-bottom';
|
|
135
|
+
export { default as TaAlignLegendLeft } from './icons/align-legend-left';
|
|
136
|
+
export { default as TaAlignLegendRight } from './icons/align-legend-right';
|
|
131
137
|
export { default as TaOperatorEqual } from './icons/operator-equal';
|
|
132
138
|
export { default as TaOperatorUnequal } from './icons/operator-unequal';
|
|
133
139
|
export { default as TaOperatorDivide } from './icons/operator-divide';
|
|
@@ -243,6 +249,7 @@ export { default as TaGameFill } from './icons/game-fill';
|
|
|
243
249
|
export { default as TaShop } from './icons/shop';
|
|
244
250
|
export { default as TaShopFill } from './icons/shop-fill';
|
|
245
251
|
export { default as TaEarth } from './icons/earth';
|
|
252
|
+
export { default as TaGoalFill } from './icons/goal-fill';
|
|
246
253
|
export { default as TaGoal } from './icons/goal';
|
|
247
254
|
export { default as TaOneTime } from './icons/one-time';
|
|
248
255
|
export { default as TaRecurring } from './icons/recurring';
|
|
@@ -279,6 +286,8 @@ export { default as TaWarehouse } from './icons/warehouse';
|
|
|
279
286
|
export { default as TaDataInput } from './icons/data-input';
|
|
280
287
|
export { default as TaDataOutput } from './icons/data-output';
|
|
281
288
|
export { default as TaManageQuery } from './icons/manage-query';
|
|
289
|
+
export { default as TaSad } from './icons/sad';
|
|
290
|
+
export { default as TaNeutral } from './icons/neutral';
|
|
282
291
|
export { default as TaFontSize } from './icons/font-size';
|
|
283
292
|
export { default as TaFontBold } from './icons/font-bold';
|
|
284
293
|
export { default as TaFontItalic } from './icons/font- italic';
|
|
@@ -303,6 +312,7 @@ export { default as TaTextCase } from './icons/text-case';
|
|
|
303
312
|
export { default as TaTextWholeMatch } from './icons/text-whole-match';
|
|
304
313
|
export { default as TaAttachment } from './icons/attachment';
|
|
305
314
|
export { default as TaResizer } from './icons/resizer';
|
|
315
|
+
export { default as TaVideo } from './icons/video';
|
|
306
316
|
export { default as TaUser1 } from './icons/user-1';
|
|
307
317
|
export { default as TaUser1Fill } from './icons/user-1-fill';
|
|
308
318
|
export { default as TaUser2 } from './icons/user-2';
|
|
@@ -495,4 +505,7 @@ export { default as TaBox } from './icons/box';
|
|
|
495
505
|
export { default as TaShutDown } from './icons/shut-down';
|
|
496
506
|
export { default as TaDatabase } from './icons/database';
|
|
497
507
|
export { default as TaTerminal } from './icons/terminal';
|
|
498
|
-
export { default as TaSatelliteDish } from './icons/satellite-dish';
|
|
508
|
+
export { default as TaSatelliteDish } from './icons/satellite-dish';
|
|
509
|
+
export { default as TaPost } from './icons/post';
|
|
510
|
+
export { default as TaPhrase } from './icons/phrase';
|
|
511
|
+
export { default as TaHashtag } from './icons/hashtag';
|
package/dist/index.d.ts
CHANGED
|
@@ -42,6 +42,8 @@ export const TaVPropCl: Icon;
|
|
|
42
42
|
export const TaDataOpsAiCl: Icon;
|
|
43
43
|
export const TaEngageAiCl: Icon;
|
|
44
44
|
export const TaDashboardReadingCl: Icon;
|
|
45
|
+
export const TaReportReadingCl: Icon;
|
|
46
|
+
export const TaCopywritingAiCl: Icon;
|
|
45
47
|
export const TaDashboardAiCl: Icon;
|
|
46
48
|
export const TaFlagCn: Icon;
|
|
47
49
|
export const TaFlagUs: Icon;
|
|
@@ -140,6 +142,10 @@ export const TaTableSimple: Icon;
|
|
|
140
142
|
export const TaCertified: Icon;
|
|
141
143
|
export const TaUncertified: Icon;
|
|
142
144
|
export const TaAddIndexCl: Icon;
|
|
145
|
+
export const TaAlignLegendTop: Icon;
|
|
146
|
+
export const TaAlignLegendBottom: Icon;
|
|
147
|
+
export const TaAlignLegendLeft: Icon;
|
|
148
|
+
export const TaAlignLegendRight: Icon;
|
|
143
149
|
export const TaOperatorEqual: Icon;
|
|
144
150
|
export const TaOperatorUnequal: Icon;
|
|
145
151
|
export const TaOperatorDivide: Icon;
|
|
@@ -255,6 +261,7 @@ export const TaGameFill: Icon;
|
|
|
255
261
|
export const TaShop: Icon;
|
|
256
262
|
export const TaShopFill: Icon;
|
|
257
263
|
export const TaEarth: Icon;
|
|
264
|
+
export const TaGoalFill: Icon;
|
|
258
265
|
export const TaGoal: Icon;
|
|
259
266
|
export const TaOneTime: Icon;
|
|
260
267
|
export const TaRecurring: Icon;
|
|
@@ -291,6 +298,8 @@ export const TaWarehouse: Icon;
|
|
|
291
298
|
export const TaDataInput: Icon;
|
|
292
299
|
export const TaDataOutput: Icon;
|
|
293
300
|
export const TaManageQuery: Icon;
|
|
301
|
+
export const TaSad: Icon;
|
|
302
|
+
export const TaNeutral: Icon;
|
|
294
303
|
export const TaFontSize: Icon;
|
|
295
304
|
export const TaFontBold: Icon;
|
|
296
305
|
export const TaFontItalic: Icon;
|
|
@@ -315,6 +324,7 @@ export const TaTextCase: Icon;
|
|
|
315
324
|
export const TaTextWholeMatch: Icon;
|
|
316
325
|
export const TaAttachment: Icon;
|
|
317
326
|
export const TaResizer: Icon;
|
|
327
|
+
export const TaVideo: Icon;
|
|
318
328
|
export const TaUser1: Icon;
|
|
319
329
|
export const TaUser1Fill: Icon;
|
|
320
330
|
export const TaUser2: Icon;
|
|
@@ -508,3 +518,6 @@ export const TaShutDown: Icon;
|
|
|
508
518
|
export const TaDatabase: Icon;
|
|
509
519
|
export const TaTerminal: Icon;
|
|
510
520
|
export const TaSatelliteDish: Icon;
|
|
521
|
+
export const TaPost: Icon;
|
|
522
|
+
export const TaPhrase: Icon;
|
|
523
|
+
export const TaHashtag: Icon;
|
|
@@ -0,0 +1,87 @@
|
|
|
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 n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(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 (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var CopywritingAiCl = function CopywritingAiCl(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: "M16.628 2C18.486 2 19.5 3.026 19.5 4.884v.67c0 .569-.174 1.03-.8 1.031-.428 0-.77-.462-.77-1.031v-.67c0-.72-.583-1.302-1.302-1.302H4.962c-.719 0-1.302.583-1.302 1.302v14.232c0 .72.621 1.184 1.34 1.184h12.5c.57 0 .8.565.8 1 0 .358-.23.7-.8.7H5c-1.858 0-3-1.026-3-2.884V4.884C2 3.026 3.104 2 4.962 2h11.666zm-.424 8c.063 0 .085.021.106.085l2.603 8.799c.02.073 0 .105-.075.105h-1.36c-.075 0-.106-.021-.127-.074l-.68-2.45c.009.012-2.587 0-2.613 0l-.649 2.45c-.02.074-.042.085-.127.085h-1.19c-.084 0-.106-.021-.084-.127l2.326-8.11c.042-.137.074-.276.085-.678 0-.064.021-.085.074-.085h1.711zm5.29.07c.074 0 .105.028.106.142v8.645c0 .1-.02.143-.106.143H20.22c-.085 0-.107-.057-.107-.143l-.01-8.645.005-.064c.01-.054.038-.079.102-.079h1.285zM8.202 15.204a.89.89 0 01.895.883.89.89 0 01-.896.884H6.493a.89.89 0 01-.893-.884.89.89 0 01.894-.883h1.708zm7.13-3.89c-.17.954-.605 2.565-.955 3.827h1.954c-.223-.902-.764-2.873-.977-3.827h-.022zm-5.214-.713c.496 0 .895.394.896.883a.89.89 0 01-.896.884H6.494a.89.89 0 01-.894-.884c0-.487.402-.883.894-.883h3.624zM14.078 6a.89.89 0 01.894.884c0 .487-.4.883-.894.883H6.494a.89.89 0 01-.894-.883A.89.89 0 016.494 6h7.584z",
|
|
57
|
+
fill: "url(#paint0_linear_9770_262)"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
59
|
+
id: "paint0_linear_9770_262",
|
|
60
|
+
x1: "2",
|
|
61
|
+
y1: "12",
|
|
62
|
+
x2: "22.157",
|
|
63
|
+
y2: "12",
|
|
64
|
+
gradientUnits: "userSpaceOnUse"
|
|
65
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
66
|
+
stopColor: "#1E76F0"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
68
|
+
offset: ".355",
|
|
69
|
+
stopColor: "#9747FF"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
71
|
+
offset: ".965",
|
|
72
|
+
stopColor: "#1E76F0"
|
|
73
|
+
}))))));
|
|
74
|
+
};
|
|
75
|
+
CopywritingAiCl.propTypes = {
|
|
76
|
+
iconClassName: _propTypes["default"].string,
|
|
77
|
+
spin: _propTypes["default"].bool,
|
|
78
|
+
color: _propTypes["default"].string,
|
|
79
|
+
testid: _propTypes["default"].string,
|
|
80
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
81
|
+
};
|
|
82
|
+
CopywritingAiCl.defaultProps = {
|
|
83
|
+
spin: false,
|
|
84
|
+
color: 'currentColor',
|
|
85
|
+
size: '1em'
|
|
86
|
+
};
|
|
87
|
+
var _default = exports["default"] = CopywritingAiCl;
|
|
@@ -0,0 +1,87 @@
|
|
|
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 n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(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 (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var ReportReadingCl = function ReportReadingCl(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: "M16.628 2C18.486 2 19.5 3.026 19.5 4.884v.67c0 .569-.174 1.03-.8 1.031-.428 0-.77-.462-.77-1.031v-.67c0-.72-.583-1.302-1.302-1.302H4.962c-.719 0-1.302.583-1.302 1.302v14.232c0 .72.621 1.184 1.34 1.184h12.5c.57 0 .8.565.8 1 0 .358-.23.7-.8.7H5c-1.858 0-3-1.026-3-2.884V4.884C2 3.026 3.104 2 4.962 2h11.666zm3.425 10a.786.786 0 01.566.241c.156.16.24.365.255.585a.852.852 0 01-.226.597l-4.19 4.32a.79.79 0 01-.58.25.819.819 0 01-.58-.25l-3.494-3.604-3.426 3.532a.788.788 0 01-1.132 0 .85.85 0 01-.015-1.182l4.005-4.132a.805.805 0 011.147 0l3.495 3.605 3.608-3.72a.789.789 0 01.567-.242zm-6.575-4c.57 0 1.032.23 1.032.8 0 .57-.462.762-1.031.762H7.03C6.461 9.563 6 9.37 6 8.8c0-.57.462-.8 1.031-.8h6.448z",
|
|
57
|
+
fill: "url(#paint0_linear_9770_30)"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
59
|
+
id: "paint0_linear_9770_30",
|
|
60
|
+
x1: "2",
|
|
61
|
+
y1: "12",
|
|
62
|
+
x2: "21.411",
|
|
63
|
+
y2: "12",
|
|
64
|
+
gradientUnits: "userSpaceOnUse"
|
|
65
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
66
|
+
stopColor: "#1E76F0"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
68
|
+
offset: ".355",
|
|
69
|
+
stopColor: "#9747FF"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
71
|
+
offset: ".965",
|
|
72
|
+
stopColor: "#1E76F0"
|
|
73
|
+
}))))));
|
|
74
|
+
};
|
|
75
|
+
ReportReadingCl.propTypes = {
|
|
76
|
+
iconClassName: _propTypes["default"].string,
|
|
77
|
+
spin: _propTypes["default"].bool,
|
|
78
|
+
color: _propTypes["default"].string,
|
|
79
|
+
testid: _propTypes["default"].string,
|
|
80
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
81
|
+
};
|
|
82
|
+
ReportReadingCl.defaultProps = {
|
|
83
|
+
spin: false,
|
|
84
|
+
color: 'currentColor',
|
|
85
|
+
size: '1em'
|
|
86
|
+
};
|
|
87
|
+
var _default = exports["default"] = ReportReadingCl;
|