@tant/icons 1.20.16 → 1.20.18
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/Drill-down.js +63 -0
- package/dist/es/icons/e-flow-cl.js +113 -0
- package/dist/es/icons/logo-flink-cl.js +623 -0
- package/dist/es/icons/logo-spark-cl.js +74 -0
- package/dist/es/icons/paste-2.js +63 -0
- package/dist/es/icons/paste.js +63 -0
- package/dist/es/index.js +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/lib/icons/Drill-down.js +70 -0
- package/dist/lib/icons/e-flow-cl.js +120 -0
- package/dist/lib/icons/logo-flink-cl.js +630 -0
- package/dist/lib/icons/logo-spark-cl.js +81 -0
- package/dist/lib/icons/paste-2.js +70 -0
- package/dist/lib/icons/paste.js +70 -0
- package/dist/lib/index.js +42 -0
- package/dist/tant-icons.cjs.js +2880 -1941
- package/dist/tant-icons.esm.js +2875 -1942
- package/package.json +1 -1
|
@@ -0,0 +1,74 @@
|
|
|
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 LogoSparkCl = function LogoSparkCl(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_10479_718)"
|
|
50
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
51
|
+
d: "M11.007 2c-.354.01-.705.18-.997.504-.161.18-.298.392-.411.603-.296.553-.354 1.179-.463 1.786L8.534 8.3c-.023.134-.083.19-.203.228L3.914 9.93a4.138 4.138 0 00-.93.422c-.868.551-.996 1.459-.344 2.256.288.352.659.6 1.07.78l2.75 1.226c.024.012.048.02.073.025l.58.42s-.577 6.397.508 6.84a4.494 4.494 0 01-.064-.013s.11.119.407.084c.227.042.197.035.011-.002.404-.052 1.147-.39 2.434-1.685.095-.084.188-.172.278-.261l2.781-3.003.65.229c.024.032.058.053.112.069l3.097.942c.424.131.842.227 1.294.16.805-.117 1.398-.78 1.39-1.592-.003-.356-.128-.678-.292-.988l-2.051-3.89c-.065-.123-.063-.203.03-.313l3.447-4.05c.223-.266.424-.552.54-.882.258-.73-.074-1.31-.832-1.452a2.37 2.37 0 00-1.031.06l-4.937 1.312c-.146.04-.217.012-.296-.12l-2.016-3.35a3.714 3.714 0 00-.543-.707c-.31-.309-.668-.457-1.023-.447zm.148 3.084a.53.53 0 01.157.176l2.17 3.614c.059.098.113.133.231.101l3.82-1.015.919-.24a.33.33 0 01-.084.167l-3.15 3.698c-.089.108-.097.183-.03.31l1.99 3.774.092.193-.002.004-3.551-.98-.001-.002-.672-.188-3.983 4.415.729-5.805-.654-.284.001-.002-3.699-1.468a.491.491 0 01.2-.112l4.497-1.421c.106-.033.166-.074.176-.195l.063-.368.605-3.407.176-.965z",
|
|
52
|
+
fill: "#E15919"
|
|
53
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
54
|
+
id: "clip0_10479_718"
|
|
55
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
56
|
+
width: "20",
|
|
57
|
+
height: "20",
|
|
58
|
+
fill: "#fff",
|
|
59
|
+
transform: "translate(2 2)"
|
|
60
|
+
}))))));
|
|
61
|
+
};
|
|
62
|
+
LogoSparkCl.propTypes = {
|
|
63
|
+
iconClassName: PropTypes.string,
|
|
64
|
+
spin: PropTypes.bool,
|
|
65
|
+
color: PropTypes.string,
|
|
66
|
+
testid: PropTypes.string,
|
|
67
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
68
|
+
};
|
|
69
|
+
LogoSparkCl.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '1em'
|
|
73
|
+
};
|
|
74
|
+
export default LogoSparkCl;
|
|
@@ -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 Paste2 = function Paste2(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: "M15 2a2 2 0 012 2h3.007c.548 0 .993.445.993.993v16.014a.994.994 0 01-.993.993H3.993A.994.994 0 013 21.007V4.993C3 4.445 3.445 4 3.993 4H7a2 2 0 012-2h6zM5 20h14V6h-2a2 2 0 01-2 2H9a2 2 0 01-2-2H5v14zm3-5a1 1 0 110 2 1 1 0 010-2zm8.5 0a1 1 0 110 2h-5a1 1 0 110-2h5zM8 11a1 1 0 110 2 1 1 0 010-2zm8.5 0a1 1 0 110 2h-5a1 1 0 110-2h5zM9 6h6V4H9v2z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Paste2.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
|
+
Paste2.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Paste2;
|
|
@@ -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 Paste = function Paste(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 4a2 2 0 012-2h6a2 2 0 012 2h3.007c.548 0 .993.445.993.993v16.014a.994.994 0 01-.993.993H3.993A.993.993 0 013 21.007V4.993C3 4.445 3.445 4 3.993 4H7zm0 2H5v14h14V6h-2a2 2 0 01-2 2H9a2 2 0 01-2-2zm2-2v2h6V4H9z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Paste.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
|
+
Paste.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Paste;
|
package/dist/es/index.js
CHANGED
|
@@ -63,6 +63,7 @@ export { default as TaECampaignCl } from './icons/e-campaign-cl';
|
|
|
63
63
|
export { default as TaETaskCl } from './icons/e-task-cl';
|
|
64
64
|
export { default as TaESettingCl } from './icons/e-setting-cl';
|
|
65
65
|
export { default as TaEConfigCl } from './icons/e-config-cl';
|
|
66
|
+
export { default as TaEFlowCl } from './icons/e-flow-cl';
|
|
66
67
|
export { default as TaAlertCl } from './icons/alert-cl';
|
|
67
68
|
export { default as TaTemplateCl } from './icons/template-cl';
|
|
68
69
|
export { default as TaDateMarkCl } from './icons/date-mark-cl';
|
|
@@ -102,6 +103,8 @@ export { default as TaLogoApiGray } from './icons/logo- API-gray';
|
|
|
102
103
|
export { default as TaLogoDouyinGray } from './icons/logo-douyin-gray';
|
|
103
104
|
export { default as TaLogoTrinoCl } from './icons/logo-trino-cl';
|
|
104
105
|
export { default as TaLogoStarrocksCl } from './icons/logo-starrocks-cl';
|
|
106
|
+
export { default as TaLogoFlinkCl } from './icons/logo-flink-cl';
|
|
107
|
+
export { default as TaLogoSparkCl } from './icons/logo-spark-cl';
|
|
105
108
|
export { default as TaAvatarGroupCl } from './icons/avatar-group-cl';
|
|
106
109
|
export { default as TaAvatarProjectCl } from './icons/avatar-project-cl';
|
|
107
110
|
export { default as TaReport } from './icons/report';
|
|
@@ -300,6 +303,7 @@ export { default as TaArrowExpand } from './icons/arrow-expand';
|
|
|
300
303
|
export { default as TaArrowClose } from './icons/arrow-close';
|
|
301
304
|
export { default as TaTranslation } from './icons/translation';
|
|
302
305
|
export { default as TaManualVerification } from './icons/manual-verification';
|
|
306
|
+
export { default as TaDrillDown } from './icons/Drill-down';
|
|
303
307
|
export { default as TaFontSize } from './icons/font-size';
|
|
304
308
|
export { default as TaFontBold } from './icons/font-bold';
|
|
305
309
|
export { default as TaFontItalic } from './icons/font- italic';
|
|
@@ -444,6 +448,8 @@ export { default as TaRecycle } from './icons/recycle';
|
|
|
444
448
|
export { default as TaOfflineSync } from './icons/offline-sync';
|
|
445
449
|
export { default as TaSwitch } from './icons/switch';
|
|
446
450
|
export { default as TaClean } from './icons/clean';
|
|
451
|
+
export { default as TaPaste } from './icons/paste';
|
|
452
|
+
export { default as TaPaste2 } from './icons/paste-2';
|
|
447
453
|
export { default as TaInfo } from './icons/info';
|
|
448
454
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
449
455
|
export { default as TaHelp } from './icons/help';
|
package/dist/index.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export const TaECampaignCl: Icon;
|
|
|
75
75
|
export const TaETaskCl: Icon;
|
|
76
76
|
export const TaESettingCl: Icon;
|
|
77
77
|
export const TaEConfigCl: Icon;
|
|
78
|
+
export const TaEFlowCl: Icon;
|
|
78
79
|
export const TaAlertCl: Icon;
|
|
79
80
|
export const TaTemplateCl: Icon;
|
|
80
81
|
export const TaDateMarkCl: Icon;
|
|
@@ -114,6 +115,8 @@ export const TaLogoApiGray: Icon;
|
|
|
114
115
|
export const TaLogoDouyinGray: Icon;
|
|
115
116
|
export const TaLogoTrinoCl: Icon;
|
|
116
117
|
export const TaLogoStarrocksCl: Icon;
|
|
118
|
+
export const TaLogoFlinkCl: Icon;
|
|
119
|
+
export const TaLogoSparkCl: Icon;
|
|
117
120
|
export const TaAvatarGroupCl: Icon;
|
|
118
121
|
export const TaAvatarProjectCl: Icon;
|
|
119
122
|
export const TaReport: Icon;
|
|
@@ -312,6 +315,7 @@ export const TaArrowExpand: Icon;
|
|
|
312
315
|
export const TaArrowClose: Icon;
|
|
313
316
|
export const TaTranslation: Icon;
|
|
314
317
|
export const TaManualVerification: Icon;
|
|
318
|
+
export const TaDrillDown: Icon;
|
|
315
319
|
export const TaFontSize: Icon;
|
|
316
320
|
export const TaFontBold: Icon;
|
|
317
321
|
export const TaFontItalic: Icon;
|
|
@@ -456,6 +460,8 @@ export const TaRecycle: Icon;
|
|
|
456
460
|
export const TaOfflineSync: Icon;
|
|
457
461
|
export const TaSwitch: Icon;
|
|
458
462
|
export const TaClean: Icon;
|
|
463
|
+
export const TaPaste: Icon;
|
|
464
|
+
export const TaPaste2: Icon;
|
|
459
465
|
export const TaInfo: Icon;
|
|
460
466
|
export const TaInfoFill: Icon;
|
|
461
467
|
export const TaHelp: Icon;
|
|
@@ -0,0 +1,70 @@
|
|
|
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 DrillDown = function DrillDown(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
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M9.023 6.386l.537.723a.2.2 0 01.003.234l-.045.046-2.842 2.108 5.415 3.148 5.257-3.15-2.739-2.11a.2.2 0 01-.066-.225l.03-.056.55-.713a.2.2 0 01.28-.036L18.9 9.049a.65.65 0 01-.063 1.072l-6.404 3.838a.65.65 0 01-.66.005l-6.6-3.837a.65.65 0 01-.062-1.084l3.633-2.697a.2.2 0 01.28.04zm3.463-1.737c.11 0 .2.09.2.2v5.8a.2.2 0 01-.2.2h-.9a.2.2 0 01-.2-.2v-5.8c0-.11.09-.2.2-.2h.9zm0 10.425c.11 0 .2.09.2.2v1.81l1.871-1.863a.202.202 0 01.218-.043.2.2 0 01.065.044l.635.638a.2.2 0 010 .283l-3.032 3.019a.65.65 0 01-.918-.001l-3.019-3.02a.2.2 0 010-.282l.637-.636a.2.2 0 01.23-.038l.053.038 1.96 1.96v-1.91a.2.2 0 01.147-.192l.053-.007h.9z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
DrillDown.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
testid: _propTypes["default"].string,
|
|
63
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
|
+
};
|
|
65
|
+
DrillDown.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = DrillDown;
|
|
@@ -0,0 +1,120 @@
|
|
|
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 EFlowCl = function EFlowCl(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: "M5 3a1 1 0 011-1h12a1 1 0 011 1v6a1 1 0 01-1 1H6a1 1 0 01-1-1V3z",
|
|
57
|
+
fill: "#1673F6"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M12 10v6m-8 .5l3.207-3.207A1 1 0 017.914 13h8.172a1 1 0 01.707.293L20 16.5",
|
|
60
|
+
stroke: "#B3CFF8"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
d: "M17 17a1 1 0 011-1h3a1 1 0 011 1v4a1 1 0 01-1 1h-3a1 1 0 01-1-1v-4z",
|
|
63
|
+
fill: "#B3CFF8"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("mask", {
|
|
65
|
+
id: "a",
|
|
66
|
+
fill: "#fff"
|
|
67
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
68
|
+
d: "M17 17a1 1 0 011-1h3a1 1 0 011 1v1h-5v-1z"
|
|
69
|
+
})), /*#__PURE__*/_react["default"].createElement("path", {
|
|
70
|
+
d: "M17 17a1 1 0 011-1h3a1 1 0 011 1v1h-5v-1z",
|
|
71
|
+
fill: "#1673F6"
|
|
72
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
73
|
+
d: "M17 16.5a2.5 2.5 0 015 0V18h-5v-1.5zm5 1.5h-5 5zm-5 0v-2 2zm5-2v2-2z",
|
|
74
|
+
fill: "#1673F6",
|
|
75
|
+
mask: "url(#a)"
|
|
76
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
77
|
+
d: "M9.5 17a1 1 0 011-1h3a1 1 0 011 1v4a1 1 0 01-1 1h-3a1 1 0 01-1-1v-4z",
|
|
78
|
+
fill: "#B3CFF8"
|
|
79
|
+
}), /*#__PURE__*/_react["default"].createElement("mask", {
|
|
80
|
+
id: "b",
|
|
81
|
+
fill: "#fff"
|
|
82
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
83
|
+
d: "M9.5 17a1 1 0 011-1h3a1 1 0 011 1v1h-5v-1z"
|
|
84
|
+
})), /*#__PURE__*/_react["default"].createElement("path", {
|
|
85
|
+
d: "M9.5 17a1 1 0 011-1h3a1 1 0 011 1v1h-5v-1z",
|
|
86
|
+
fill: "#1673F6"
|
|
87
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
88
|
+
d: "M9.5 16.5a2.5 2.5 0 015 0V18h-5v-1.5zm5 1.5h-5 5zm-5 0v-2 2zm5-2v2-2z",
|
|
89
|
+
fill: "#1673F6",
|
|
90
|
+
mask: "url(#b)"
|
|
91
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
92
|
+
d: "M2 17a1 1 0 011-1h3a1 1 0 011 1v4a1 1 0 01-1 1H3a1 1 0 01-1-1v-4z",
|
|
93
|
+
fill: "#B3CFF8"
|
|
94
|
+
}), /*#__PURE__*/_react["default"].createElement("mask", {
|
|
95
|
+
id: "c",
|
|
96
|
+
fill: "#fff"
|
|
97
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
98
|
+
d: "M2 17a1 1 0 011-1h3a1 1 0 011 1v1H2v-1z"
|
|
99
|
+
})), /*#__PURE__*/_react["default"].createElement("path", {
|
|
100
|
+
d: "M2 17a1 1 0 011-1h3a1 1 0 011 1v1H2v-1z",
|
|
101
|
+
fill: "#1673F6"
|
|
102
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
103
|
+
d: "M2 16.5a2.5 2.5 0 015 0V18H2v-1.5zM7 18H2h5zm-5 0v-2 2zm5-2v2-2z",
|
|
104
|
+
fill: "#1673F6",
|
|
105
|
+
mask: "url(#c)"
|
|
106
|
+
}))));
|
|
107
|
+
};
|
|
108
|
+
EFlowCl.propTypes = {
|
|
109
|
+
iconClassName: _propTypes["default"].string,
|
|
110
|
+
spin: _propTypes["default"].bool,
|
|
111
|
+
color: _propTypes["default"].string,
|
|
112
|
+
testid: _propTypes["default"].string,
|
|
113
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
114
|
+
};
|
|
115
|
+
EFlowCl.defaultProps = {
|
|
116
|
+
spin: false,
|
|
117
|
+
color: 'currentColor',
|
|
118
|
+
size: '1em'
|
|
119
|
+
};
|
|
120
|
+
var _default = exports["default"] = EFlowCl;
|