@tant/icons 1.18.32 → 1.18.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,89 @@
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 DashboardAiCl = function DashboardAiCl(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
+ fillRule: "evenodd",
50
+ clipRule: "evenodd",
51
+ d: "M17 16.245V18a1 1 0 01-1 1H8a1 1 0 01-1-1v-1.755a8 8 0 1110 0zm-2-.96l.75-.6a6 6 0 10-7.498 0l.748.6V17h6v-1.715zM9 10a3 3 0 013-3V5a5 5 0 00-5 5h2zm7 12v-2H8v2h8z",
52
+ fill: "url(#paint0_linear_9712_44)"
53
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
54
+ id: "paint0_linear_9712_44",
55
+ x1: "4.151",
56
+ y1: "-13.743",
57
+ x2: "19.694",
58
+ y2: "19.708",
59
+ gradientUnits: "userSpaceOnUse"
60
+ }, /*#__PURE__*/React.createElement("stop", {
61
+ offset: ".355",
62
+ stopColor: "#1D76F0"
63
+ }), /*#__PURE__*/React.createElement("stop", {
64
+ offset: ".565",
65
+ stopColor: "#B068E7"
66
+ }), /*#__PURE__*/React.createElement("stop", {
67
+ offset: ".77",
68
+ stopColor: "#FF678D"
69
+ }), /*#__PURE__*/React.createElement("stop", {
70
+ offset: ".895",
71
+ stopColor: "#FF915B"
72
+ }), /*#__PURE__*/React.createElement("stop", {
73
+ offset: "1",
74
+ stopColor: "#FFC038"
75
+ }))))));
76
+ };
77
+ DashboardAiCl.propTypes = {
78
+ iconClassName: PropTypes.string,
79
+ spin: PropTypes.bool,
80
+ color: PropTypes.string,
81
+ testid: PropTypes.string,
82
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
83
+ };
84
+ DashboardAiCl.defaultProps = {
85
+ spin: false,
86
+ color: 'currentColor',
87
+ size: '1em'
88
+ };
89
+ export default DashboardAiCl;
@@ -0,0 +1,80 @@
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 DashboardReadingCl = function DashboardReadingCl(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: "M20.74 2.499h-7.826v-.555a.835.835 0 00-.82-.849.834.834 0 00-.823.847v.555h-8.01c-1.201 0-2.164.992-2.164 2.219v11.093c0 1.225.963 2.233 2.166 2.233h8.023v2.13l-.312.088h.044l-3.24.993a.755.755 0 00-.483.409.92.92 0 00-.07.642.806.806 0 001.004.57l3.85-1.184 3.692 1.168c.072.03.156.046.24.046h.015a.823.823 0 00.78-.6.839.839 0 00-.54-1.035l-3.027-.965h.015l-.34-.102v-2.145h7.825c1.188 0 2.165-.993 2.165-2.235V4.719c-.015-1.227-.975-2.22-2.165-2.22zM2.723 4.717c0-.307.24-.555.539-.555h17.475c.298 0 .54.248.54.555V15.81a.548.548 0 01-.54.555H3.264a.545.545 0 01-.538-.555V4.717h-.002zm11.822 9.064a.79.79 0 01-.896.182.814.814 0 01-.264-.182l-3.495-3.605-3.426 3.533a.787.787 0 01-1.13 0 .85.85 0 01-.016-1.182l4.005-4.132a.803.803 0 011.146 0L13.965 12l3.61-3.722a.785.785 0 011.132 0c.156.161.24.365.255.585a.852.852 0 01-.227.597l-4.19 4.32z",
50
+ fill: "url(#paint0_linear_9712_23)"
51
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
52
+ id: "paint0_linear_9712_23",
53
+ x1: "1.097",
54
+ y1: "12",
55
+ x2: "23.523",
56
+ y2: "12",
57
+ gradientUnits: "userSpaceOnUse"
58
+ }, /*#__PURE__*/React.createElement("stop", {
59
+ stopColor: "#1E76F0"
60
+ }), /*#__PURE__*/React.createElement("stop", {
61
+ offset: ".355",
62
+ stopColor: "#9747FF"
63
+ }), /*#__PURE__*/React.createElement("stop", {
64
+ offset: ".965",
65
+ stopColor: "#1E76F0"
66
+ }))))));
67
+ };
68
+ DashboardReadingCl.propTypes = {
69
+ iconClassName: PropTypes.string,
70
+ spin: PropTypes.bool,
71
+ color: PropTypes.string,
72
+ testid: PropTypes.string,
73
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
74
+ };
75
+ DashboardReadingCl.defaultProps = {
76
+ spin: false,
77
+ color: 'currentColor',
78
+ size: '1em'
79
+ };
80
+ export default DashboardReadingCl;
package/dist/es/index.js CHANGED
@@ -27,6 +27,8 @@ export { default as TaReportCl } from './icons/report-cl';
27
27
  export { default as TaUserTagCl } from './icons/user-tag-cl';
28
28
  export { default as TaGroupCl } from './icons/group-cl';
29
29
  export { default as TaVPropCl } from './icons/v-prop-cl';
30
+ export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
31
+ export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
30
32
  export { default as TaFlagCn } from './icons/flag-cn';
31
33
  export { default as TaFlagUs } from './icons/flag-us';
32
34
  export { default as TaFlagJp } from './icons/flag-jp';
package/dist/index.d.ts CHANGED
@@ -39,6 +39,8 @@ export const TaReportCl: Icon;
39
39
  export const TaUserTagCl: Icon;
40
40
  export const TaGroupCl: Icon;
41
41
  export const TaVPropCl: Icon;
42
+ export const TaDashboardReadingCl: Icon;
43
+ export const TaDashboardAiCl: Icon;
42
44
  export const TaFlagCn: Icon;
43
45
  export const TaFlagUs: Icon;
44
46
  export const TaFlagJp: Icon;
@@ -0,0 +1,96 @@
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 DashboardAiCl = function DashboardAiCl(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
+ fillRule: "evenodd",
57
+ clipRule: "evenodd",
58
+ d: "M17 16.245V18a1 1 0 01-1 1H8a1 1 0 01-1-1v-1.755a8 8 0 1110 0zm-2-.96l.75-.6a6 6 0 10-7.498 0l.748.6V17h6v-1.715zM9 10a3 3 0 013-3V5a5 5 0 00-5 5h2zm7 12v-2H8v2h8z",
59
+ fill: "url(#paint0_linear_9712_44)"
60
+ }), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
61
+ id: "paint0_linear_9712_44",
62
+ x1: "4.151",
63
+ y1: "-13.743",
64
+ x2: "19.694",
65
+ y2: "19.708",
66
+ gradientUnits: "userSpaceOnUse"
67
+ }, /*#__PURE__*/_react["default"].createElement("stop", {
68
+ offset: ".355",
69
+ stopColor: "#1D76F0"
70
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
71
+ offset: ".565",
72
+ stopColor: "#B068E7"
73
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
74
+ offset: ".77",
75
+ stopColor: "#FF678D"
76
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
77
+ offset: ".895",
78
+ stopColor: "#FF915B"
79
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
80
+ offset: "1",
81
+ stopColor: "#FFC038"
82
+ }))))));
83
+ };
84
+ DashboardAiCl.propTypes = {
85
+ iconClassName: _propTypes["default"].string,
86
+ spin: _propTypes["default"].bool,
87
+ color: _propTypes["default"].string,
88
+ testid: _propTypes["default"].string,
89
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
90
+ };
91
+ DashboardAiCl.defaultProps = {
92
+ spin: false,
93
+ color: 'currentColor',
94
+ size: '1em'
95
+ };
96
+ var _default = exports["default"] = DashboardAiCl;
@@ -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 DashboardReadingCl = function DashboardReadingCl(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: "M20.74 2.499h-7.826v-.555a.835.835 0 00-.82-.849.834.834 0 00-.823.847v.555h-8.01c-1.201 0-2.164.992-2.164 2.219v11.093c0 1.225.963 2.233 2.166 2.233h8.023v2.13l-.312.088h.044l-3.24.993a.755.755 0 00-.483.409.92.92 0 00-.07.642.806.806 0 001.004.57l3.85-1.184 3.692 1.168c.072.03.156.046.24.046h.015a.823.823 0 00.78-.6.839.839 0 00-.54-1.035l-3.027-.965h.015l-.34-.102v-2.145h7.825c1.188 0 2.165-.993 2.165-2.235V4.719c-.015-1.227-.975-2.22-2.165-2.22zM2.723 4.717c0-.307.24-.555.539-.555h17.475c.298 0 .54.248.54.555V15.81a.548.548 0 01-.54.555H3.264a.545.545 0 01-.538-.555V4.717h-.002zm11.822 9.064a.79.79 0 01-.896.182.814.814 0 01-.264-.182l-3.495-3.605-3.426 3.533a.787.787 0 01-1.13 0 .85.85 0 01-.016-1.182l4.005-4.132a.803.803 0 011.146 0L13.965 12l3.61-3.722a.785.785 0 011.132 0c.156.161.24.365.255.585a.852.852 0 01-.227.597l-4.19 4.32z",
57
+ fill: "url(#paint0_linear_9712_23)"
58
+ }), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
59
+ id: "paint0_linear_9712_23",
60
+ x1: "1.097",
61
+ y1: "12",
62
+ x2: "23.523",
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
+ DashboardReadingCl.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
+ DashboardReadingCl.defaultProps = {
83
+ spin: false,
84
+ color: 'currentColor',
85
+ size: '1em'
86
+ };
87
+ var _default = exports["default"] = DashboardReadingCl;
package/dist/lib/index.js CHANGED
@@ -633,6 +633,12 @@ Object.defineProperty(exports, "TaDashboard", {
633
633
  return _dashboard["default"];
634
634
  }
635
635
  });
636
+ Object.defineProperty(exports, "TaDashboardAiCl", {
637
+ enumerable: true,
638
+ get: function get() {
639
+ return _DashboardAICl["default"];
640
+ }
641
+ });
636
642
  Object.defineProperty(exports, "TaDashboardCl", {
637
643
  enumerable: true,
638
644
  get: function get() {
@@ -645,6 +651,12 @@ Object.defineProperty(exports, "TaDashboardMgr", {
645
651
  return _dashboardMgr["default"];
646
652
  }
647
653
  });
654
+ Object.defineProperty(exports, "TaDashboardReadingCl", {
655
+ enumerable: true,
656
+ get: function get() {
657
+ return _DashboardReadingCl["default"];
658
+ }
659
+ });
648
660
  Object.defineProperty(exports, "TaDataInput", {
649
661
  enumerable: true,
650
662
  get: function get() {
@@ -2966,6 +2978,8 @@ var _reportCl = _interopRequireDefault(require("./icons/report-cl"));
2966
2978
  var _userTagCl = _interopRequireDefault(require("./icons/user-tag-cl"));
2967
2979
  var _groupCl = _interopRequireDefault(require("./icons/group-cl"));
2968
2980
  var _vPropCl = _interopRequireDefault(require("./icons/v-prop-cl"));
2981
+ var _DashboardReadingCl = _interopRequireDefault(require("./icons/Dashboard-Reading-cl"));
2982
+ var _DashboardAICl = _interopRequireDefault(require("./icons/Dashboard-AI-cl"));
2969
2983
  var _flagCn = _interopRequireDefault(require("./icons/flag-cn"));
2970
2984
  var _flagUs = _interopRequireDefault(require("./icons/flag-us"));
2971
2985
  var _flagJp = _interopRequireDefault(require("./icons/flag-jp"));