@tant/icons 1.18.39 → 1.19.40

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,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 DataOpsAiCl = function DataOpsAiCl(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.5 9V4.5h-17V9h17zm0 1.5h-17v9h17v-9zM3 3h18a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1zm2 9h2.5v5H5v-5zm0-6h2v2H5V6zm4 0h2v2H9V6z",
50
+ fill: "url(#paint0_linear_9756_21)"
51
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
52
+ id: "paint0_linear_9756_21",
53
+ x1: "2",
54
+ y1: "12",
55
+ x2: "22.568",
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
+ DataOpsAiCl.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
+ DataOpsAiCl.defaultProps = {
76
+ spin: false,
77
+ color: 'currentColor',
78
+ size: '1em'
79
+ };
80
+ export default DataOpsAiCl;
@@ -0,0 +1,88 @@
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 EngageAiCl = function EngageAiCl(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("g", {
49
+ clipPath: "url(#clip0_9756_12)"
50
+ }, /*#__PURE__*/React.createElement("path", {
51
+ d: "M11.25 2.276c-2.372.162-4.42 1.105-6.144 2.83-1.725 1.724-2.668 3.772-2.83 6.144H0v1.5h2.276c.162 2.372 1.105 4.42 2.83 6.144 1.724 1.725 3.772 2.669 6.144 2.83V24h1.5v-2.276c2.372-.162 4.42-1.105 6.144-2.83 1.725-1.724 2.669-3.772 2.83-6.144H24v-1.5h-2.276c-.162-2.372-1.105-4.42-2.83-6.144-1.724-1.725-3.772-2.668-6.144-2.83V0h-1.5v2.276zm6.585 3.89C19.445 7.777 20.25 9.72 20.25 12c0 2.278-.805 4.223-2.415 5.835-1.613 1.61-3.558 2.415-5.835 2.415s-4.222-.805-5.835-2.415C4.555 16.222 3.75 14.277 3.75 12s.805-4.222 2.415-5.835C7.778 4.555 9.723 3.75 12 3.75s4.222.805 5.835 2.415v.002zM12 16.5a4.548 4.548 0 003.181-1.319 4.607 4.607 0 00.56-.68 4.706 4.706 0 00.417-.779 4.663 4.663 0 00.255-.845c.03-.144.052-.289.066-.436a4.649 4.649 0 000-.882 4.548 4.548 0 00-1.297-2.74 4.26 4.26 0 00-.681-.56 4.706 4.706 0 00-.779-.417 4.663 4.663 0 00-.845-.255 3.996 3.996 0 00-.436-.066 4.649 4.649 0 00-.882 0 4.548 4.548 0 00-2.74 1.298 4.26 4.26 0 00-.56.681 4.706 4.706 0 00-.417.778 4.663 4.663 0 00-.255.845c-.03.144-.052.289-.066.434a4.728 4.728 0 000 .884 4.548 4.548 0 001.298 2.74 4.607 4.607 0 00.68.56 4.706 4.706 0 00.779.417 4.663 4.663 0 00.845.255c.144.03.289.052.434.066.15.014.297.021.443.021z",
52
+ fill: "url(#paint0_linear_9756_12)"
53
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
54
+ id: "paint0_linear_9756_12",
55
+ x1: "0",
56
+ y1: "12",
57
+ x2: "24.682",
58
+ y2: "12",
59
+ gradientUnits: "userSpaceOnUse"
60
+ }, /*#__PURE__*/React.createElement("stop", {
61
+ stopColor: "#1E76F0"
62
+ }), /*#__PURE__*/React.createElement("stop", {
63
+ offset: ".355",
64
+ stopColor: "#9747FF"
65
+ }), /*#__PURE__*/React.createElement("stop", {
66
+ offset: ".965",
67
+ stopColor: "#1E76F0"
68
+ })), /*#__PURE__*/React.createElement("clipPath", {
69
+ id: "clip0_9756_12"
70
+ }, /*#__PURE__*/React.createElement("rect", {
71
+ width: "24",
72
+ height: "24",
73
+ fill: "#fff"
74
+ }))))));
75
+ };
76
+ EngageAiCl.propTypes = {
77
+ iconClassName: PropTypes.string,
78
+ spin: PropTypes.bool,
79
+ color: PropTypes.string,
80
+ testid: PropTypes.string,
81
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
82
+ };
83
+ EngageAiCl.defaultProps = {
84
+ spin: false,
85
+ color: 'currentColor',
86
+ size: '1em'
87
+ };
88
+ export default EngageAiCl;
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 TaDataOpsAiCl } from './icons/DataOps-AI-cl';
31
+ export { default as TaEngageAiCl } from './icons/Engage-AI-cl';
30
32
  export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
31
33
  export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
32
34
  export { default as TaFlagCn } from './icons/flag-cn';
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 TaDataOpsAiCl: Icon;
43
+ export const TaEngageAiCl: Icon;
42
44
  export const TaDashboardReadingCl: Icon;
43
45
  export const TaDashboardAiCl: Icon;
44
46
  export const TaFlagCn: 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 DataOpsAiCl = function DataOpsAiCl(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.5 9V4.5h-17V9h17zm0 1.5h-17v9h17v-9zM3 3h18a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1zm2 9h2.5v5H5v-5zm0-6h2v2H5V6zm4 0h2v2H9V6z",
57
+ fill: "url(#paint0_linear_9756_21)"
58
+ }), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
59
+ id: "paint0_linear_9756_21",
60
+ x1: "2",
61
+ y1: "12",
62
+ x2: "22.568",
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
+ DataOpsAiCl.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
+ DataOpsAiCl.defaultProps = {
83
+ spin: false,
84
+ color: 'currentColor',
85
+ size: '1em'
86
+ };
87
+ var _default = exports["default"] = DataOpsAiCl;
@@ -0,0 +1,95 @@
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 EngageAiCl = function EngageAiCl(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("g", {
56
+ clipPath: "url(#clip0_9756_12)"
57
+ }, /*#__PURE__*/_react["default"].createElement("path", {
58
+ d: "M11.25 2.276c-2.372.162-4.42 1.105-6.144 2.83-1.725 1.724-2.668 3.772-2.83 6.144H0v1.5h2.276c.162 2.372 1.105 4.42 2.83 6.144 1.724 1.725 3.772 2.669 6.144 2.83V24h1.5v-2.276c2.372-.162 4.42-1.105 6.144-2.83 1.725-1.724 2.669-3.772 2.83-6.144H24v-1.5h-2.276c-.162-2.372-1.105-4.42-2.83-6.144-1.724-1.725-3.772-2.668-6.144-2.83V0h-1.5v2.276zm6.585 3.89C19.445 7.777 20.25 9.72 20.25 12c0 2.278-.805 4.223-2.415 5.835-1.613 1.61-3.558 2.415-5.835 2.415s-4.222-.805-5.835-2.415C4.555 16.222 3.75 14.277 3.75 12s.805-4.222 2.415-5.835C7.778 4.555 9.723 3.75 12 3.75s4.222.805 5.835 2.415v.002zM12 16.5a4.548 4.548 0 003.181-1.319 4.607 4.607 0 00.56-.68 4.706 4.706 0 00.417-.779 4.663 4.663 0 00.255-.845c.03-.144.052-.289.066-.436a4.649 4.649 0 000-.882 4.548 4.548 0 00-1.297-2.74 4.26 4.26 0 00-.681-.56 4.706 4.706 0 00-.779-.417 4.663 4.663 0 00-.845-.255 3.996 3.996 0 00-.436-.066 4.649 4.649 0 00-.882 0 4.548 4.548 0 00-2.74 1.298 4.26 4.26 0 00-.56.681 4.706 4.706 0 00-.417.778 4.663 4.663 0 00-.255.845c-.03.144-.052.289-.066.434a4.728 4.728 0 000 .884 4.548 4.548 0 001.298 2.74 4.607 4.607 0 00.68.56 4.706 4.706 0 00.779.417 4.663 4.663 0 00.845.255c.144.03.289.052.434.066.15.014.297.021.443.021z",
59
+ fill: "url(#paint0_linear_9756_12)"
60
+ })), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
61
+ id: "paint0_linear_9756_12",
62
+ x1: "0",
63
+ y1: "12",
64
+ x2: "24.682",
65
+ y2: "12",
66
+ gradientUnits: "userSpaceOnUse"
67
+ }, /*#__PURE__*/_react["default"].createElement("stop", {
68
+ stopColor: "#1E76F0"
69
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
70
+ offset: ".355",
71
+ stopColor: "#9747FF"
72
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
73
+ offset: ".965",
74
+ stopColor: "#1E76F0"
75
+ })), /*#__PURE__*/_react["default"].createElement("clipPath", {
76
+ id: "clip0_9756_12"
77
+ }, /*#__PURE__*/_react["default"].createElement("rect", {
78
+ width: "24",
79
+ height: "24",
80
+ fill: "#fff"
81
+ }))))));
82
+ };
83
+ EngageAiCl.propTypes = {
84
+ iconClassName: _propTypes["default"].string,
85
+ spin: _propTypes["default"].bool,
86
+ color: _propTypes["default"].string,
87
+ testid: _propTypes["default"].string,
88
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
89
+ };
90
+ EngageAiCl.defaultProps = {
91
+ spin: false,
92
+ color: 'currentColor',
93
+ size: '1em'
94
+ };
95
+ var _default = exports["default"] = EngageAiCl;
package/dist/lib/index.js CHANGED
@@ -663,6 +663,12 @@ Object.defineProperty(exports, "TaDataInput", {
663
663
  return _dataInput["default"];
664
664
  }
665
665
  });
666
+ Object.defineProperty(exports, "TaDataOpsAiCl", {
667
+ enumerable: true,
668
+ get: function get() {
669
+ return _DataOpsAICl["default"];
670
+ }
671
+ });
666
672
  Object.defineProperty(exports, "TaDataOutput", {
667
673
  enumerable: true,
668
674
  get: function get() {
@@ -879,6 +885,12 @@ Object.defineProperty(exports, "TaEndTask", {
879
885
  return _endTask["default"];
880
886
  }
881
887
  });
888
+ Object.defineProperty(exports, "TaEngageAiCl", {
889
+ enumerable: true,
890
+ get: function get() {
891
+ return _EngageAICl["default"];
892
+ }
893
+ });
882
894
  Object.defineProperty(exports, "TaError", {
883
895
  enumerable: true,
884
896
  get: function get() {
@@ -3008,6 +3020,8 @@ var _reportCl = _interopRequireDefault(require("./icons/report-cl"));
3008
3020
  var _userTagCl = _interopRequireDefault(require("./icons/user-tag-cl"));
3009
3021
  var _groupCl = _interopRequireDefault(require("./icons/group-cl"));
3010
3022
  var _vPropCl = _interopRequireDefault(require("./icons/v-prop-cl"));
3023
+ var _DataOpsAICl = _interopRequireDefault(require("./icons/DataOps-AI-cl"));
3024
+ var _EngageAICl = _interopRequireDefault(require("./icons/Engage-AI-cl"));
3011
3025
  var _DashboardReadingCl = _interopRequireDefault(require("./icons/Dashboard-Reading-cl"));
3012
3026
  var _DashboardAICl = _interopRequireDefault(require("./icons/Dashboard-AI-cl"));
3013
3027
  var _flagCn = _interopRequireDefault(require("./icons/flag-cn"));