@tant/icons 1.1.75 → 1.1.78
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/approve.js +69 -0
- package/dist/es/icons/expand.js +63 -0
- package/dist/es/icons/grid.js +65 -0
- package/dist/es/icons/picture-1.js +84 -0
- package/dist/es/icons/picture-2.js +102 -0
- package/dist/es/icons/report-cl.js +78 -0
- package/dist/es/icons/zoom-area-open.js +65 -0
- package/dist/es/icons/zoom-area-resrore.js +65 -0
- package/dist/es/icons/zoom-area.js +65 -0
- package/dist/es/index.js +10 -1
- package/dist/index.d.ts +9 -0
- package/dist/lib/icons/approve.js +81 -0
- package/dist/lib/icons/expand.js +75 -0
- package/dist/lib/icons/grid.js +77 -0
- package/dist/lib/icons/picture-1.js +96 -0
- package/dist/lib/icons/picture-2.js +114 -0
- package/dist/lib/icons/report-cl.js +90 -0
- package/dist/lib/icons/zoom-area-open.js +77 -0
- package/dist/lib/icons/zoom-area-resrore.js +77 -0
- package/dist/lib/icons/zoom-area.js +77 -0
- package/dist/lib/index.js +72 -0
- package/dist/tant-icons.cjs.js +1100 -579
- package/dist/tant-icons.esm.js +1092 -580
- package/package.json +1 -1
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
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; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var Approve = function Approve(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
fillRule: "evenodd",
|
|
49
|
+
clipRule: "evenodd",
|
|
50
|
+
d: "M6 17v3h12v-3h2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3h2z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
fillRule: "evenodd",
|
|
53
|
+
clipRule: "evenodd",
|
|
54
|
+
d: "M6.975 4.02c0-1.116.901-2.02 2.013-2.02h6.04c1.112 0 2.014.904 2.014 2.02v.847c0 .63-.293 1.223-.791 1.605l-1.276.978.045 3.94 5.16 1.897a2.692 2.692 0 011.82 2.55v1.142c0 1.116-.901 2.02-2.013 2.02L4.013 19A2.017 2.017 0 012 16.98v-1.143c0-1.153.732-2.18 1.82-2.55l5.168-1.894V7.446l-1.245-.983a2.022 2.022 0 01-.768-1.587V4.02zm8.053 0h-6.04v.856l1.245.983c.485.383.769.968.769 1.587v3.947a2.02 2.02 0 01-1.323 1.897l-5.193 1.904-.014.004a.673.673 0 00-.459.64v1.142h15.974v-1.144a.672.672 0 00-.46-.638l-.014-.005-5.186-1.906a2.02 2.02 0 01-1.32-1.873l-.045-3.94a2.022 2.022 0 01.79-1.628l1.276-.979V4.02z"
|
|
55
|
+
})));
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
Approve.propTypes = {
|
|
59
|
+
iconClassName: PropTypes.string,
|
|
60
|
+
spin: PropTypes.bool,
|
|
61
|
+
color: PropTypes.string,
|
|
62
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
63
|
+
};
|
|
64
|
+
Approve.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
export default Approve;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
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; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var Expand = function Expand(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M13.27 3.963a.915.915 0 00.943.933h.734l3.096-.198-2.441 2.333-2.808 2.78a.899.899 0 00-.278.675c0 .291.09.53.268.715.178.192.413.288.704.288a.875.875 0 00.378-.08.915.915 0 00.317-.208l2.808-2.8 2.312-2.442-.188 3.117v.745c0 .278.086.506.258.685a.878.878 0 00.674.278.91.91 0 00.685-.278A.928.928 0 0021 9.82V4.618c0-.516-.142-.916-.427-1.201-.284-.278-.678-.417-1.18-.417h-5.18c-.265 0-.49.09-.675.268a.962.962 0 00-.268.695zM3 14.169v5.213c0 .516.142.913.427 1.191.278.285.671.427 1.18.427h5.17a.898.898 0 00.675-.278.91.91 0 00.278-.685.916.916 0 00-.953-.943h-.734l-3.096.208 2.441-2.333 2.808-2.79a.853.853 0 00.288-.665c0-.291-.093-.533-.278-.725-.178-.185-.413-.278-.704-.278-.133 0-.258.024-.377.07a.912.912 0 00-.318.208L7.01 15.6l-2.322 2.442.188-3.117v-.755a.97.97 0 00-.258-.685.882.882 0 00-.664-.268.927.927 0 00-.685.268.95.95 0 00-.268.685z"
|
|
49
|
+
})));
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
Expand.propTypes = {
|
|
53
|
+
iconClassName: PropTypes.string,
|
|
54
|
+
spin: PropTypes.bool,
|
|
55
|
+
color: PropTypes.string,
|
|
56
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
57
|
+
};
|
|
58
|
+
Expand.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Expand;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
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; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var Grid = function Grid(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
fillRule: "evenodd",
|
|
49
|
+
clipRule: "evenodd",
|
|
50
|
+
d: "M5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm7 0c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm2 9c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2 5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9-12c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-2 5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm2 9c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zM5 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm2 9c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"
|
|
51
|
+
})));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
Grid.propTypes = {
|
|
55
|
+
iconClassName: PropTypes.string,
|
|
56
|
+
spin: PropTypes.bool,
|
|
57
|
+
color: PropTypes.string,
|
|
58
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
59
|
+
};
|
|
60
|
+
Grid.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default Grid;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
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; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var Picture1 = function Picture1(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
48
|
+
cx: "10",
|
|
49
|
+
cy: "10",
|
|
50
|
+
r: "10"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
52
|
+
id: "a",
|
|
53
|
+
style: "mask-type:alpha",
|
|
54
|
+
maskUnits: "userSpaceOnUse",
|
|
55
|
+
x: "0",
|
|
56
|
+
y: "0",
|
|
57
|
+
width: "20",
|
|
58
|
+
height: "20"
|
|
59
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
60
|
+
cx: "10",
|
|
61
|
+
cy: "10",
|
|
62
|
+
r: "10"
|
|
63
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
64
|
+
mask: "url(#a)"
|
|
65
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
66
|
+
opacity: ".4",
|
|
67
|
+
d: "M8.947 15.427L4.5 12.673a1 1 0 010-1.7l4.448-2.754a2 2 0 012.106 0l4.448 2.754a1 1 0 010 1.7l-4.448 2.754a2 2 0 01-2.106 0z"
|
|
68
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
69
|
+
d: "M8.947 12.235L4.5 9.481a1 1 0 010-1.7l4.448-2.754a2 2 0 012.106 0L15.5 7.78a1 1 0 010 1.7l-4.448 2.754a2 2 0 01-2.106 0z"
|
|
70
|
+
}))));
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
Picture1.propTypes = {
|
|
74
|
+
iconClassName: PropTypes.string,
|
|
75
|
+
spin: PropTypes.bool,
|
|
76
|
+
color: PropTypes.string,
|
|
77
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
78
|
+
};
|
|
79
|
+
Picture1.defaultProps = {
|
|
80
|
+
spin: false,
|
|
81
|
+
color: 'currentColor',
|
|
82
|
+
size: '1em'
|
|
83
|
+
};
|
|
84
|
+
export default Picture1;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
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; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var Picture2 = function Picture2(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
48
|
+
cx: "10",
|
|
49
|
+
cy: "10",
|
|
50
|
+
r: "10"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
52
|
+
id: "a",
|
|
53
|
+
style: "mask-type:alpha",
|
|
54
|
+
maskUnits: "userSpaceOnUse",
|
|
55
|
+
x: "0",
|
|
56
|
+
y: "0",
|
|
57
|
+
width: "20",
|
|
58
|
+
height: "20"
|
|
59
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
60
|
+
cx: "10",
|
|
61
|
+
cy: "10",
|
|
62
|
+
r: "10"
|
|
63
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
64
|
+
mask: "url(#a)"
|
|
65
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
66
|
+
opacity: ".4",
|
|
67
|
+
x: "4.375",
|
|
68
|
+
y: "5.625",
|
|
69
|
+
width: "13.125",
|
|
70
|
+
height: "13.125",
|
|
71
|
+
rx: "2"
|
|
72
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
73
|
+
x: "1.875",
|
|
74
|
+
y: "8.125",
|
|
75
|
+
width: "13.125",
|
|
76
|
+
height: "13.125",
|
|
77
|
+
rx: "2"
|
|
78
|
+
})), /*#__PURE__*/React.createElement("circle", {
|
|
79
|
+
cx: "5.156",
|
|
80
|
+
cy: "12.031",
|
|
81
|
+
r: ".781"
|
|
82
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
83
|
+
cx: "10.781",
|
|
84
|
+
cy: "12.031",
|
|
85
|
+
r: ".781"
|
|
86
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
87
|
+
d: "M5.993 14.662a.5.5 0 00-.736.676l.736-.676zm5.013.661a.5.5 0 10-.762-.646l.762.646zm-5.75.015c.484.526 1.345 1.166 2.384 1.357 1.083.198 2.295-.108 3.366-1.372l-.762-.646c-.849 1-1.704 1.166-2.424 1.034-.764-.14-1.443-.632-1.827-1.05l-.736.677z"
|
|
88
|
+
})));
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
Picture2.propTypes = {
|
|
92
|
+
iconClassName: PropTypes.string,
|
|
93
|
+
spin: PropTypes.bool,
|
|
94
|
+
color: PropTypes.string,
|
|
95
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
96
|
+
};
|
|
97
|
+
Picture2.defaultProps = {
|
|
98
|
+
spin: false,
|
|
99
|
+
color: 'currentColor',
|
|
100
|
+
size: '1em'
|
|
101
|
+
};
|
|
102
|
+
export default Picture2;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
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; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var ReportCl = function ReportCl(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M1 3a1 1 0 011-1h20a1 1 0 011 1v2.667H1V3z",
|
|
49
|
+
fill: "#1673F6"
|
|
50
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
51
|
+
opacity: ".2",
|
|
52
|
+
d: "M1 5.667h22v14.5a2 2 0 01-2 2H3a2 2 0 01-2-2v-14.5z",
|
|
53
|
+
fill: "#1673F6"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
fillRule: "evenodd",
|
|
56
|
+
clipRule: "evenodd",
|
|
57
|
+
d: "M17.5 13.494h-5.076V8.417a5.077 5.077 0 015.077 5.077z",
|
|
58
|
+
fill: "#1673F6"
|
|
59
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
fillRule: "evenodd",
|
|
61
|
+
clipRule: "evenodd",
|
|
62
|
+
d: "M11.578 9.263h-.001a5.077 5.077 0 105.077 5.077h-5.076V9.262z",
|
|
63
|
+
fill: "#1673F6"
|
|
64
|
+
})));
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
ReportCl.propTypes = {
|
|
68
|
+
iconClassName: PropTypes.string,
|
|
69
|
+
spin: PropTypes.bool,
|
|
70
|
+
color: PropTypes.string,
|
|
71
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
72
|
+
};
|
|
73
|
+
ReportCl.defaultProps = {
|
|
74
|
+
spin: false,
|
|
75
|
+
color: 'currentColor',
|
|
76
|
+
size: '1em'
|
|
77
|
+
};
|
|
78
|
+
export default ReportCl;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
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; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var ZoomAreaOpen = function ZoomAreaOpen(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M21 11V4a1 1 0 00-1-1H4a1 1 0 00-1 1v16a1 1 0 001 1h7v-2H5V5h14v6h2z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M19 19v4h-2v-4h-4v-2h4v-4h2v4h4v2h-4z"
|
|
51
|
+
})));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
ZoomAreaOpen.propTypes = {
|
|
55
|
+
iconClassName: PropTypes.string,
|
|
56
|
+
spin: PropTypes.bool,
|
|
57
|
+
color: PropTypes.string,
|
|
58
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
59
|
+
};
|
|
60
|
+
ZoomAreaOpen.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default ZoomAreaOpen;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
4
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
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; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var ZoomAreaResrore = function ZoomAreaResrore(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M3 13v7a1 1 0 001 1h16a1 1 0 001-1V4a1 1 0 00-1-1H7v2h12v14H5v-6H3z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M11 1.384L9.588 0 5 4.5 9.588 9 11 7.616 7.823 4.5 11 1.384z"
|
|
51
|
+
})));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
ZoomAreaResrore.propTypes = {
|
|
55
|
+
iconClassName: PropTypes.string,
|
|
56
|
+
spin: PropTypes.bool,
|
|
57
|
+
color: PropTypes.string,
|
|
58
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
59
|
+
};
|
|
60
|
+
ZoomAreaResrore.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default ZoomAreaResrore;
|