@tant/icons 1.3.8 → 1.3.10
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/alert-cl.js +75 -0
- package/dist/es/icons/d-integration-cl.js +66 -0
- package/dist/es/icons/d-manage-cl.js +72 -0
- package/dist/es/icons/d-tracking-cl.js +69 -0
- package/dist/es/icons/date-mark-cl.js +59 -0
- package/dist/es/icons/e-setting-cl.js +68 -0
- package/dist/es/icons/e-task-cl.js +58 -0
- package/dist/es/icons/folder-cl.js +2 -2
- package/dist/es/icons/folder-open-cl.js +2 -2
- package/dist/es/icons/m-distribution-cl.js +79 -0
- package/dist/es/icons/m-flow-cl.js +71 -0
- package/dist/es/icons/m-funnel-cl.js +57 -0
- package/dist/es/icons/m-interval-cl.js +95 -0
- package/dist/es/icons/m-prop-cl.js +62 -0
- package/dist/es/icons/m-retention-cl.js +69 -0
- package/dist/es/icons/m-sql-cl.js +75 -0
- package/dist/es/icons/page-cl.js +3 -3
- package/dist/es/icons/page-open-cl.js +1 -1
- package/dist/es/icons/{pinch .js → pinch.js} +0 -0
- package/dist/es/icons/space-cl.js +3 -3
- package/dist/es/icons/space-open-cl.js +4 -4
- package/dist/es/icons/template-cl.js +60 -0
- package/dist/es/icons/u-cohort-cl.js +69 -0
- package/dist/es/icons/u-search-cl.js +75 -0
- package/dist/es/icons/u-tag-cl.js +61 -0
- package/dist/es/icons/user-tag-cl.js +1 -1
- package/dist/es/index.js +19 -1
- package/dist/index.d.ts +18 -0
- package/dist/lib/icons/alert-cl.js +83 -0
- package/dist/lib/icons/d-integration-cl.js +74 -0
- package/dist/lib/icons/d-manage-cl.js +80 -0
- package/dist/lib/icons/d-tracking-cl.js +77 -0
- package/dist/lib/icons/date-mark-cl.js +67 -0
- package/dist/lib/icons/e-setting-cl.js +76 -0
- package/dist/lib/icons/e-task-cl.js +66 -0
- package/dist/lib/icons/folder-cl.js +2 -2
- package/dist/lib/icons/folder-open-cl.js +2 -2
- package/dist/lib/icons/m-distribution-cl.js +87 -0
- package/dist/lib/icons/m-flow-cl.js +79 -0
- package/dist/lib/icons/m-funnel-cl.js +65 -0
- package/dist/lib/icons/m-interval-cl.js +103 -0
- package/dist/lib/icons/m-prop-cl.js +70 -0
- package/dist/lib/icons/m-retention-cl.js +77 -0
- package/dist/lib/icons/m-sql-cl.js +83 -0
- package/dist/lib/icons/page-cl.js +3 -3
- package/dist/lib/icons/page-open-cl.js +1 -1
- package/dist/lib/icons/{pinch .js → pinch.js} +0 -0
- package/dist/lib/icons/space-cl.js +3 -3
- package/dist/lib/icons/space-open-cl.js +4 -4
- package/dist/lib/icons/template-cl.js +68 -0
- package/dist/lib/icons/u-cohort-cl.js +77 -0
- package/dist/lib/icons/u-search-cl.js +83 -0
- package/dist/lib/icons/u-tag-cl.js +69 -0
- package/dist/lib/icons/user-tag-cl.js +1 -1
- package/dist/lib/index.js +127 -1
- package/dist/tant-icons.cjs.js +1815 -701
- package/dist/tant-icons.esm.js +1798 -702
- package/package.json +1 -1
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var UCohortCl = function UCohortCl(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
39
|
+
cx: "16",
|
|
40
|
+
cy: "7.177",
|
|
41
|
+
rx: "3",
|
|
42
|
+
ry: "3.177",
|
|
43
|
+
fill: "#7639F0"
|
|
44
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
+
d: "M10 20h12c0-4.45-2.686-8.057-6-8.057S10 15.55 10 20z",
|
|
46
|
+
fill: "#32C8DC"
|
|
47
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
48
|
+
cx: "8",
|
|
49
|
+
cy: "7.177",
|
|
50
|
+
rx: "3",
|
|
51
|
+
ry: "3.177",
|
|
52
|
+
fill: "#32C8DC"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
d: "M2 20h12c0-4.45-2.686-8.057-6-8.057S2 15.55 2 20z",
|
|
55
|
+
fill: "#7639F0"
|
|
56
|
+
})));
|
|
57
|
+
};
|
|
58
|
+
UCohortCl.propTypes = {
|
|
59
|
+
iconClassName: PropTypes.string,
|
|
60
|
+
spin: PropTypes.bool,
|
|
61
|
+
color: PropTypes.string,
|
|
62
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
63
|
+
};
|
|
64
|
+
UCohortCl.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
export default UCohortCl;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var USearchCl = function USearchCl(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
39
|
+
cx: "12",
|
|
40
|
+
cy: "7.5",
|
|
41
|
+
r: "3.5",
|
|
42
|
+
fill: "#7639F0"
|
|
43
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
+
d: "M5 21.625c0-4.901 3.134-8.875 7-8.875s7 3.974 7 8.875H5z",
|
|
45
|
+
fill: "#7639F0"
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M3 7V3h4",
|
|
48
|
+
stroke: "#32C8DC",
|
|
49
|
+
strokeWidth: "3"
|
|
50
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
51
|
+
d: "M3 14v4h4",
|
|
52
|
+
stroke: "#32C8DC",
|
|
53
|
+
strokeWidth: "3"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
d: "M21 7V3h-4",
|
|
56
|
+
stroke: "#32C8DC",
|
|
57
|
+
strokeWidth: "3"
|
|
58
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
59
|
+
d: "M21 14v4h-4",
|
|
60
|
+
stroke: "#32C8DC",
|
|
61
|
+
strokeWidth: "3"
|
|
62
|
+
})));
|
|
63
|
+
};
|
|
64
|
+
USearchCl.propTypes = {
|
|
65
|
+
iconClassName: PropTypes.string,
|
|
66
|
+
spin: PropTypes.bool,
|
|
67
|
+
color: PropTypes.string,
|
|
68
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
69
|
+
};
|
|
70
|
+
USearchCl.defaultProps = {
|
|
71
|
+
spin: false,
|
|
72
|
+
color: 'currentColor',
|
|
73
|
+
size: '1em'
|
|
74
|
+
};
|
|
75
|
+
export default USearchCl;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var UTagCl = function UTagCl(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M14.874 2.737L9.032 8.24v13.97h11.684V8.24l-5.842-5.503zM15 11a2 2 0 100-4 2 2 0 000 4z",
|
|
42
|
+
fill: "#7639F0"
|
|
43
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
+
fillRule: "evenodd",
|
|
45
|
+
clipRule: "evenodd",
|
|
46
|
+
d: "M19.846 4.107l-8.024-.194L2 13.848l8.309 8.214 9.822-9.934-.285-8.02zM15 11a2 2 0 100-4 2 2 0 000 4z",
|
|
47
|
+
fill: "#32C8DC"
|
|
48
|
+
})));
|
|
49
|
+
};
|
|
50
|
+
UTagCl.propTypes = {
|
|
51
|
+
iconClassName: PropTypes.string,
|
|
52
|
+
spin: PropTypes.bool,
|
|
53
|
+
color: PropTypes.string,
|
|
54
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
55
|
+
};
|
|
56
|
+
UTagCl.defaultProps = {
|
|
57
|
+
spin: false,
|
|
58
|
+
color: 'currentColor',
|
|
59
|
+
size: '1em'
|
|
60
|
+
};
|
|
61
|
+
export default UTagCl;
|
|
@@ -37,7 +37,7 @@ var UserTagCl = function UserTagCl(props) {
|
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
39
|
d: "M21.576 1H8.351c-.445 0-.874.174-1.196.482L5.972 2.614c-.194.184-.07.516.194.523l3.332.106c.499.017.975.225 1.327.588 0 0 9.585 9.78 9.602 9.801h1.17c.774 0 1.404-.639 1.404-1.432V2.453C23 1.653 22.364 1 21.576 1z",
|
|
40
|
-
fill: "#
|
|
40
|
+
fill: "#474B5B"
|
|
41
41
|
}), /*#__PURE__*/React.createElement("path", {
|
|
42
42
|
d: "M18.998 13.63l-8.503-8.674a1.746 1.746 0 00-1.183-.523l-6.82-.22C1.66 4.187.98 4.88 1 5.729l.181 6.82c.014.514.218 1.002.577 1.365l8.496 8.666c.55.561 1.438.561 1.984 0l6.76-6.895a1.473 1.473 0 000-2.055zM4.654 9.067c-.617 0-1.117-.509-1.117-1.138 0-.629.5-1.138 1.117-1.138.616 0 1.116.509 1.116 1.138 0 .63-.5 1.138-1.116 1.138z",
|
|
43
43
|
fill: "#0A1032",
|
package/dist/es/index.js
CHANGED
|
@@ -165,6 +165,24 @@ export { default as TaSpaceOpenCl } from './icons/space-open-cl';
|
|
|
165
165
|
export { default as TaPageCl } from './icons/page-cl';
|
|
166
166
|
export { default as TaPageOpenCl } from './icons/page-open-cl';
|
|
167
167
|
export { default as TaMEventCl } from './icons/m-event-cl';
|
|
168
|
+
export { default as TaMRetentionCl } from './icons/m-retention-cl';
|
|
169
|
+
export { default as TaMFunnelCl } from './icons/m-funnel-cl';
|
|
170
|
+
export { default as TaMDistributionCl } from './icons/m-distribution-cl';
|
|
171
|
+
export { default as TaMIntervalCl } from './icons/m-interval-cl';
|
|
172
|
+
export { default as TaMFlowCl } from './icons/m-flow-cl';
|
|
173
|
+
export { default as TaMSqlCl } from './icons/m-sql-cl';
|
|
174
|
+
export { default as TaMPropCl } from './icons/m-prop-cl';
|
|
175
|
+
export { default as TaUTagCl } from './icons/u-tag-cl';
|
|
176
|
+
export { default as TaUCohortCl } from './icons/u-cohort-cl';
|
|
177
|
+
export { default as TaUSearchCl } from './icons/u-search-cl';
|
|
178
|
+
export { default as TaETaskCl } from './icons/e-task-cl';
|
|
179
|
+
export { default as TaESettingCl } from './icons/e-setting-cl';
|
|
180
|
+
export { default as TaDManageCl } from './icons/d-manage-cl';
|
|
181
|
+
export { default as TaDTrackingCl } from './icons/d-tracking-cl';
|
|
182
|
+
export { default as TaDIntegrationCl } from './icons/d-integration-cl';
|
|
183
|
+
export { default as TaAlertCl } from './icons/alert-cl';
|
|
184
|
+
export { default as TaTemplateCl } from './icons/template-cl';
|
|
185
|
+
export { default as TaDateMarkCl } from './icons/date-mark-cl';
|
|
168
186
|
export { default as TaInfo } from './icons/info';
|
|
169
187
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
170
188
|
export { default as TaHelp } from './icons/help';
|
|
@@ -265,7 +283,7 @@ export { default as TaUpload } from './icons/upload';
|
|
|
265
283
|
export { default as TaClick } from './icons/click';
|
|
266
284
|
export { default as TaInstall } from './icons/install';
|
|
267
285
|
export { default as TaExpand } from './icons/expand';
|
|
268
|
-
export { default as TaPinch } from './icons/pinch
|
|
286
|
+
export { default as TaPinch } from './icons/pinch';
|
|
269
287
|
export { default as TaNewIndicator } from './icons/new-indicator';
|
|
270
288
|
export { default as TaBoxOpen } from './icons/box-open';
|
|
271
289
|
export { default as TaInterval } from './icons/interval';
|
package/dist/index.d.ts
CHANGED
|
@@ -176,6 +176,24 @@ export const TaSpaceOpenCl: Icon;
|
|
|
176
176
|
export const TaPageCl: Icon;
|
|
177
177
|
export const TaPageOpenCl: Icon;
|
|
178
178
|
export const TaMEventCl: Icon;
|
|
179
|
+
export const TaMRetentionCl: Icon;
|
|
180
|
+
export const TaMFunnelCl: Icon;
|
|
181
|
+
export const TaMDistributionCl: Icon;
|
|
182
|
+
export const TaMIntervalCl: Icon;
|
|
183
|
+
export const TaMFlowCl: Icon;
|
|
184
|
+
export const TaMSqlCl: Icon;
|
|
185
|
+
export const TaMPropCl: Icon;
|
|
186
|
+
export const TaUTagCl: Icon;
|
|
187
|
+
export const TaUCohortCl: Icon;
|
|
188
|
+
export const TaUSearchCl: Icon;
|
|
189
|
+
export const TaETaskCl: Icon;
|
|
190
|
+
export const TaESettingCl: Icon;
|
|
191
|
+
export const TaDManageCl: Icon;
|
|
192
|
+
export const TaDTrackingCl: Icon;
|
|
193
|
+
export const TaDIntegrationCl: Icon;
|
|
194
|
+
export const TaAlertCl: Icon;
|
|
195
|
+
export const TaTemplateCl: Icon;
|
|
196
|
+
export const TaDateMarkCl: Icon;
|
|
179
197
|
export const TaInfo: Icon;
|
|
180
198
|
export const TaInfoFill: Icon;
|
|
181
199
|
export const TaHelp: Icon;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var AlertCl = function AlertCl(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
46
|
+
x: "2",
|
|
47
|
+
y: "19",
|
|
48
|
+
width: "20",
|
|
49
|
+
height: "3",
|
|
50
|
+
fill: "#1673F6",
|
|
51
|
+
fillOpacity: ".3"
|
|
52
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
53
|
+
d: "M11 2h2v3h-2V2z",
|
|
54
|
+
fill: "#1E76F0",
|
|
55
|
+
fillOpacity: ".3"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M19.121 4l1.415 1.414-2.122 2.122L17 6.12 19.121 4z",
|
|
58
|
+
fill: "#1E76F0",
|
|
59
|
+
fillOpacity: ".3"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
+
d: "M3 5.434L4.394 4l2.151 2.09-1.394 1.435L3 5.435z",
|
|
62
|
+
fill: "#1E76F0",
|
|
63
|
+
fillOpacity: ".3"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
fillRule: "evenodd",
|
|
66
|
+
clipRule: "evenodd",
|
|
67
|
+
d: "M12 6.229a7 7 0 00-7 7V20.5h14v-7.271a7 7 0 00-7-7zM10 13H8v4h2v-4z",
|
|
68
|
+
fill: "#1E76F0"
|
|
69
|
+
})));
|
|
70
|
+
};
|
|
71
|
+
AlertCl.propTypes = {
|
|
72
|
+
iconClassName: _propTypes["default"].string,
|
|
73
|
+
spin: _propTypes["default"].bool,
|
|
74
|
+
color: _propTypes["default"].string,
|
|
75
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
76
|
+
};
|
|
77
|
+
AlertCl.defaultProps = {
|
|
78
|
+
spin: false,
|
|
79
|
+
color: 'currentColor',
|
|
80
|
+
size: '1em'
|
|
81
|
+
};
|
|
82
|
+
var _default = AlertCl;
|
|
83
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var DIntegrationCl = function DIntegrationCl(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
d: "M21.2 9.4h-6v6h-6v6h12v-12z",
|
|
47
|
+
fill: "#1673F6"
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
49
|
+
x: "3",
|
|
50
|
+
y: "3",
|
|
51
|
+
width: "6",
|
|
52
|
+
height: "6",
|
|
53
|
+
fill: "#B3CFF8"
|
|
54
|
+
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
55
|
+
x: "6.4",
|
|
56
|
+
y: "6",
|
|
57
|
+
width: "7.2",
|
|
58
|
+
height: "7.2",
|
|
59
|
+
fill: "#1673F6"
|
|
60
|
+
})));
|
|
61
|
+
};
|
|
62
|
+
DIntegrationCl.propTypes = {
|
|
63
|
+
iconClassName: _propTypes["default"].string,
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
67
|
+
};
|
|
68
|
+
DIntegrationCl.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '1em'
|
|
72
|
+
};
|
|
73
|
+
var _default = DIntegrationCl;
|
|
74
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var DManageCl = function DManageCl(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
d: "M14 12.75V6L8 9v7.5l6-3.75z",
|
|
47
|
+
fill: "#B3CFF8"
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
49
|
+
d: "M2 12.75V5.982L8 9v7.5l-6-3.75z",
|
|
50
|
+
fill: "#1673F6",
|
|
51
|
+
opacity: ".6"
|
|
52
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
53
|
+
d: "M22 17.75V11l-6 3v7.5l6-3.75z",
|
|
54
|
+
fill: "#B3CFF8"
|
|
55
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
d: "M10.001 17.75v-6.768l6 3.018v7.5l-6-3.75z",
|
|
57
|
+
fill: "#1673F6",
|
|
58
|
+
opacity: ".6"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("g", {
|
|
60
|
+
style: "mix-blend-mode:multiply",
|
|
61
|
+
fill: "#1673F6"
|
|
62
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
63
|
+
d: "M8 2.807L14 6 8 9.048 2 6l6-3.193z"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
d: "M16 7.807L22 11l-6 3.047L10 11l6-3.193z"
|
|
66
|
+
}))));
|
|
67
|
+
};
|
|
68
|
+
DManageCl.propTypes = {
|
|
69
|
+
iconClassName: _propTypes["default"].string,
|
|
70
|
+
spin: _propTypes["default"].bool,
|
|
71
|
+
color: _propTypes["default"].string,
|
|
72
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
73
|
+
};
|
|
74
|
+
DManageCl.defaultProps = {
|
|
75
|
+
spin: false,
|
|
76
|
+
color: 'currentColor',
|
|
77
|
+
size: '1em'
|
|
78
|
+
};
|
|
79
|
+
var _default = DManageCl;
|
|
80
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var DTrackingCl = function DTrackingCl(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
d: "M22 17.219L12.159 22 2 17.219 12.159 13 22 17.219z",
|
|
47
|
+
fill: "#B3CFF8"
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
49
|
+
cx: "12",
|
|
50
|
+
cy: "15",
|
|
51
|
+
r: "3",
|
|
52
|
+
fill: "#1673F6"
|
|
53
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
54
|
+
cx: "7",
|
|
55
|
+
cy: "8",
|
|
56
|
+
r: "3",
|
|
57
|
+
fill: "#1673F6"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
59
|
+
cx: "16.5",
|
|
60
|
+
cy: "6.5",
|
|
61
|
+
r: "4.5",
|
|
62
|
+
fill: "#1673F6"
|
|
63
|
+
})));
|
|
64
|
+
};
|
|
65
|
+
DTrackingCl.propTypes = {
|
|
66
|
+
iconClassName: _propTypes["default"].string,
|
|
67
|
+
spin: _propTypes["default"].bool,
|
|
68
|
+
color: _propTypes["default"].string,
|
|
69
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
70
|
+
};
|
|
71
|
+
DTrackingCl.defaultProps = {
|
|
72
|
+
spin: false,
|
|
73
|
+
color: 'currentColor',
|
|
74
|
+
size: '1em'
|
|
75
|
+
};
|
|
76
|
+
var _default = DTrackingCl;
|
|
77
|
+
exports["default"] = _default;
|