@tant/icons 1.2.4 → 1.3.7
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-cancelled.js +53 -0
- package/dist/es/icons/approve.js +2 -4
- package/dist/es/icons/bell-2-fill.js +53 -0
- package/dist/es/icons/box-open.js +3 -1
- package/dist/es/icons/end-task.js +69 -0
- package/dist/es/icons/interval.js +61 -0
- package/dist/es/icons/notice.js +55 -0
- package/dist/es/icons/send.js +3 -1
- package/dist/es/index.js +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/lib/icons/approve-cancelled.js +61 -0
- package/dist/lib/icons/approve.js +2 -4
- package/dist/lib/icons/bell-2-fill.js +61 -0
- package/dist/lib/icons/box-open.js +3 -1
- package/dist/lib/icons/end-task.js +77 -0
- package/dist/lib/icons/interval.js +69 -0
- package/dist/lib/icons/notice.js +63 -0
- package/dist/lib/icons/send.js +3 -1
- package/dist/lib/index.js +36 -1
- package/dist/tant-icons.cjs.js +1377 -1119
- package/dist/tant-icons.esm.js +1373 -1120
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
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 ApproveCancelled = function ApproveCancelled(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
|
+
d: "M19.973 14.042c0-1.19-.255-2.237-.766-3.141-.511-.904-1.247-1.612-2.207-2.123-.96-.51-2.11-.766-3.45-.766H7.783l-2.032.092 1.508-1.261L9.4 4.739c.1-.093.178-.196.234-.308a.974.974 0 00.084-.421.995.995 0 00-.28-.72C9.25 3.097 9.005 3 8.699 3c-.287 0-.539.11-.757.327l-5.03 4.956a1.1 1.1 0 00-.244.364c-.056.131-.084.268-.084.412 0 .143.028.283.084.42.056.138.138.256.243.356l5.03 4.955c.219.219.471.328.758.328.306 0 .552-.094.739-.28.187-.194.28-.437.28-.73a.95.95 0 00-.084-.412 1.015 1.015 0 00-.234-.327l-2.14-2.094-1.51-1.262 2.033.093h5.795c.923 0 1.705.165 2.347.496.648.324 1.14.779 1.477 1.365.337.58.505 1.246.505 2 0 .761-.168 1.437-.505 2.03-.336.585-.829 1.047-1.477 1.383-.642.343-1.425.515-2.347.515h-2.066c-.312 0-.568.102-.767.308-.2.206-.3.452-.3.739s.1.533.3.738c.2.206.455.31.767.31h2.15c1.315 0 2.444-.247 3.385-.74.947-.492 1.67-1.184 2.17-2.075.504-.892.756-1.936.756-3.133z"
|
|
40
|
+
})));
|
|
41
|
+
};
|
|
42
|
+
ApproveCancelled.propTypes = {
|
|
43
|
+
iconClassName: PropTypes.string,
|
|
44
|
+
spin: PropTypes.bool,
|
|
45
|
+
color: PropTypes.string,
|
|
46
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
47
|
+
};
|
|
48
|
+
ApproveCancelled.defaultProps = {
|
|
49
|
+
spin: false,
|
|
50
|
+
color: 'currentColor',
|
|
51
|
+
size: '1em'
|
|
52
|
+
};
|
|
53
|
+
export default ApproveCancelled;
|
package/dist/es/icons/approve.js
CHANGED
|
@@ -36,13 +36,11 @@ var Approve = function Approve(props) {
|
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
|
|
40
|
-
clipRule: "evenodd",
|
|
41
|
-
d: "M6 17v3h12v-3h2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3h2z"
|
|
39
|
+
d: "M2 20.5a.5.5 0 01.5-.5h19a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-19a.5.5 0 01-.5-.5v-1z"
|
|
42
40
|
}), /*#__PURE__*/React.createElement("path", {
|
|
43
41
|
fillRule: "evenodd",
|
|
44
42
|
clipRule: "evenodd",
|
|
45
|
-
d: "
|
|
43
|
+
d: "M8.695 10.752a5 5 0 116.61 0L15.72 12H21a1 1 0 011 1v4a1 1 0 01-1 1H3a1 1 0 01-1-1v-4a1 1 0 011-1h5.28l.415-1.248zM9 7a3 3 0 114.61 2.532c-.368.235-.61.718-.407 1.22.279.856.563 1.71.848 2.564A1 1 0 0015 14h5v2H4v-2h5a1 1 0 00.949-.684c.282-.846.568-1.691.845-2.54.2-.61.187-.868-.404-1.244A2.999 2.999 0 019 7z"
|
|
46
44
|
})));
|
|
47
45
|
};
|
|
48
46
|
Approve.propTypes = {
|
|
@@ -0,0 +1,53 @@
|
|
|
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 Bell2Fill = function Bell2Fill(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
|
+
d: "M7.308 3.966L5.944 2.602a9.99 9.99 0 00-3.928 7.486h1.907a8.053 8.053 0 013.385-6.122zm12.769 6.122h1.907a9.966 9.966 0 00-3.937-7.486l-1.364 1.364a8.035 8.035 0 013.394 6.122zm-1.878.478a6.195 6.195 0 00-4.767-6.026v-.65c0-.792-.64-1.43-1.43-1.43-.792 0-1.43.64-1.43 1.43v.65a6.194 6.194 0 00-4.767 6.026v5.245l-1.907 1.908v.954h16.211v-.954l-1.907-1.908v-5.245h-.003zM12 21.532a1.9 1.9 0 001.755-1.163c.097-.23.153-.475.153-.742h-3.816c0 1.047.858 1.905 1.908 1.905z"
|
|
40
|
+
})));
|
|
41
|
+
};
|
|
42
|
+
Bell2Fill.propTypes = {
|
|
43
|
+
iconClassName: PropTypes.string,
|
|
44
|
+
spin: PropTypes.bool,
|
|
45
|
+
color: PropTypes.string,
|
|
46
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
47
|
+
};
|
|
48
|
+
Bell2Fill.defaultProps = {
|
|
49
|
+
spin: false,
|
|
50
|
+
color: 'currentColor',
|
|
51
|
+
size: '1em'
|
|
52
|
+
};
|
|
53
|
+
export default Bell2Fill;
|
|
@@ -36,7 +36,9 @@ var BoxOpen = function BoxOpen(props) {
|
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M14.494 2.942a1.002 1.002 0 01-.71 1.244L4.222 6.685a1.002 1.002 0 01-.506-1.938l9.561-2.5a1.002 1.002 0 011.217.695zM3 9.977c0-1.107.895-2.004 2-2.004h14c1.104 0 2 .897 2 2.004v10.02A2.002 2.002 0 0119 22H5c-1.105 0-2-.897-2-2.004V9.976zm16 0H5v10.02h14V9.976zm-4.5 4.008h-5V11.98h5v2.004z"
|
|
40
42
|
})));
|
|
41
43
|
};
|
|
42
44
|
BoxOpen.propTypes = {
|
|
@@ -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 EndTask = function EndTask(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
|
+
d: "M20 5a3 3 0 00-3-3H5a3 3 0 00-3 3v14a3 3 0 003 3h5v-2H5a1 1 0 01-1-1V5a1 1 0 011-1h12a1 1 0 011 1v5h2V5z"
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
fillRule: "evenodd",
|
|
42
|
+
clipRule: "evenodd",
|
|
43
|
+
d: "M16.5 20a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm0 2a5.5 5.5 0 100-11 5.5 5.5 0 000 11z"
|
|
44
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
+
fillRule: "evenodd",
|
|
46
|
+
clipRule: "evenodd",
|
|
47
|
+
d: "M18.5 17.5h-4v-2h4v2z"
|
|
48
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
fillRule: "evenodd",
|
|
50
|
+
clipRule: "evenodd",
|
|
51
|
+
d: "M16 9H6V7h10v2z"
|
|
52
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
53
|
+
fillRule: "evenodd",
|
|
54
|
+
clipRule: "evenodd",
|
|
55
|
+
d: "M11 13H6v-2h5v2z"
|
|
56
|
+
})));
|
|
57
|
+
};
|
|
58
|
+
EndTask.propTypes = {
|
|
59
|
+
iconClassName: PropTypes.string,
|
|
60
|
+
spin: PropTypes.bool,
|
|
61
|
+
color: PropTypes.string,
|
|
62
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
63
|
+
};
|
|
64
|
+
EndTask.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
export default EndTask;
|
|
@@ -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 Interval = function Interval(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
|
+
d: "M19.48 2.65c.333.418.52.983.52 1.572V9h-1.778V4.222H5.778V9H4V4.222c0-.59.187-1.154.52-1.571C4.855 2.234 5.307 2 5.779 2h12.444c.472 0 .924.234 1.257.65z"
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
d: "M18.222 15H20v4.778c0 .59-.187 1.154-.52 1.571-.334.417-.786.651-1.258.651H5.778c-.472 0-.924-.234-1.257-.65-.334-.418-.521-.983-.521-1.572V15h1.778v4.778h12.444V15z"
|
|
42
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
43
|
+
d: "M8 11H4v2h4v-2z"
|
|
44
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
+
d: "M10 11h4v2h-4v-2z"
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M20 11h-4v2h4v-2z"
|
|
48
|
+
})));
|
|
49
|
+
};
|
|
50
|
+
Interval.propTypes = {
|
|
51
|
+
iconClassName: PropTypes.string,
|
|
52
|
+
spin: PropTypes.bool,
|
|
53
|
+
color: PropTypes.string,
|
|
54
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
55
|
+
};
|
|
56
|
+
Interval.defaultProps = {
|
|
57
|
+
spin: false,
|
|
58
|
+
color: 'currentColor',
|
|
59
|
+
size: '1em'
|
|
60
|
+
};
|
|
61
|
+
export default Interval;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 Notice = function Notice(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: "M8.97 8.7l3.064-3.244L15.098 8.7H8.97zm-2.752 0l5.089-5.387a1 1 0 011.454 0L17.85 8.7h2.418a1 1 0 011 1v10.312a1 1 0 01-1 1H3.8a1 1 0 01-1-1V9.7a1 1 0 011-1h2.418zm2.225 6.464a1.334 1.334 0 11-2.667 0 1.334 1.334 0 012.667 0zm3.591 1.334a1.334 1.334 0 100-2.668 1.334 1.334 0 000 2.668zm6.259-1.334a1.334 1.334 0 11-2.668 0 1.334 1.334 0 012.668 0z"
|
|
42
|
+
})));
|
|
43
|
+
};
|
|
44
|
+
Notice.propTypes = {
|
|
45
|
+
iconClassName: PropTypes.string,
|
|
46
|
+
spin: PropTypes.bool,
|
|
47
|
+
color: PropTypes.string,
|
|
48
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
49
|
+
};
|
|
50
|
+
Notice.defaultProps = {
|
|
51
|
+
spin: false,
|
|
52
|
+
color: 'currentColor',
|
|
53
|
+
size: '1em'
|
|
54
|
+
};
|
|
55
|
+
export default Notice;
|
package/dist/es/icons/send.js
CHANGED
|
@@ -36,7 +36,9 @@ var Send = function Send(props) {
|
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M21.756 2.346a.99.99 0 01.244.648 1.003 1.003 0 01-.02.21l-3.6 17.992a1 1 0 01-1.58.604l-5.786-4.34-2.747 3.282A1 1 0 016.5 20.1v-6.025L2.4 11a1 1 0 01.229-1.728L20.608 2.08a.998.998 0 011.133.249l.015.017zM8.5 15.575v1.773l.912-1.09-.912-.683zm.778-1.917L19.48 5.496l-2.75 13.752-7.453-5.59zm5.828-7.223l-7.48 5.984-2.602-1.951 10.082-4.033z"
|
|
40
42
|
})));
|
|
41
43
|
};
|
|
42
44
|
Send.propTypes = {
|
package/dist/es/index.js
CHANGED
|
@@ -51,8 +51,10 @@ export { default as TaGoal } from './icons/goal';
|
|
|
51
51
|
export { default as TaOneTime } from './icons/one-time';
|
|
52
52
|
export { default as TaRecurring } from './icons/recurring';
|
|
53
53
|
export { default as TaManual } from './icons/manual';
|
|
54
|
-
export { default as TaApprove } from './icons/approve';
|
|
55
54
|
export { default as TaMute } from './icons/mute';
|
|
55
|
+
export { default as TaApprove } from './icons/approve';
|
|
56
|
+
export { default as TaEndTask } from './icons/end-task';
|
|
57
|
+
export { default as TaApproveCancelled } from './icons/approve-cancelled';
|
|
56
58
|
export { default as TaTdLogo } from './icons/td-logo';
|
|
57
59
|
export { default as TaLanguage } from './icons/language';
|
|
58
60
|
export { default as TaCalendar } from './icons/calendar';
|
|
@@ -85,6 +87,7 @@ export { default as TaLocation } from './icons/location';
|
|
|
85
87
|
export { default as TaShieldCheck } from './icons/shield-check';
|
|
86
88
|
export { default as TaShieldCross } from './icons/shield-cross';
|
|
87
89
|
export { default as TaShieldKeyhole } from './icons/shield-keyhole';
|
|
90
|
+
export { default as TaBell2Fill } from './icons/bell-2-fill';
|
|
88
91
|
export { default as TaBox } from './icons/box';
|
|
89
92
|
export { default as TaAnalysis } from './icons/analysis';
|
|
90
93
|
export { default as TaFilter } from './icons/filter';
|
|
@@ -196,6 +199,7 @@ export { default as TaEyeOff } from './icons/eye-off';
|
|
|
196
199
|
export { default as TaEyeOffFill } from './icons/eye-off-fill';
|
|
197
200
|
export { default as TaDot } from './icons/dot';
|
|
198
201
|
export { default as TaAnchor } from './icons/anchor';
|
|
202
|
+
export { default as TaNotice } from './icons/notice';
|
|
199
203
|
export { default as TaChartLine } from './icons/chart-line';
|
|
200
204
|
export { default as TaChartBar } from './icons/chart-bar';
|
|
201
205
|
export { default as TaChartCum } from './icons/chart-cum';
|
|
@@ -263,6 +267,7 @@ export { default as TaExpand } from './icons/expand';
|
|
|
263
267
|
export { default as TaPinch } from './icons/pinch ';
|
|
264
268
|
export { default as TaNewIndicator } from './icons/new-indicator';
|
|
265
269
|
export { default as TaBoxOpen } from './icons/box-open';
|
|
270
|
+
export { default as TaInterval } from './icons/interval';
|
|
266
271
|
export { default as TaReport } from './icons/report';
|
|
267
272
|
export { default as TaReportRemoval } from './icons/report-removal';
|
|
268
273
|
export { default as TaFileAdd } from './icons/file-add';
|
package/dist/index.d.ts
CHANGED
|
@@ -62,8 +62,10 @@ export const TaGoal: Icon;
|
|
|
62
62
|
export const TaOneTime: Icon;
|
|
63
63
|
export const TaRecurring: Icon;
|
|
64
64
|
export const TaManual: Icon;
|
|
65
|
-
export const TaApprove: Icon;
|
|
66
65
|
export const TaMute: Icon;
|
|
66
|
+
export const TaApprove: Icon;
|
|
67
|
+
export const TaEndTask: Icon;
|
|
68
|
+
export const TaApproveCancelled: Icon;
|
|
67
69
|
export const TaTdLogo: Icon;
|
|
68
70
|
export const TaLanguage: Icon;
|
|
69
71
|
export const TaCalendar: Icon;
|
|
@@ -96,6 +98,7 @@ export const TaLocation: Icon;
|
|
|
96
98
|
export const TaShieldCheck: Icon;
|
|
97
99
|
export const TaShieldCross: Icon;
|
|
98
100
|
export const TaShieldKeyhole: Icon;
|
|
101
|
+
export const TaBell2Fill: Icon;
|
|
99
102
|
export const TaBox: Icon;
|
|
100
103
|
export const TaAnalysis: Icon;
|
|
101
104
|
export const TaFilter: Icon;
|
|
@@ -207,6 +210,7 @@ export const TaEyeOff: Icon;
|
|
|
207
210
|
export const TaEyeOffFill: Icon;
|
|
208
211
|
export const TaDot: Icon;
|
|
209
212
|
export const TaAnchor: Icon;
|
|
213
|
+
export const TaNotice: Icon;
|
|
210
214
|
export const TaChartLine: Icon;
|
|
211
215
|
export const TaChartBar: Icon;
|
|
212
216
|
export const TaChartCum: Icon;
|
|
@@ -274,6 +278,7 @@ export const TaExpand: Icon;
|
|
|
274
278
|
export const TaPinch: Icon;
|
|
275
279
|
export const TaNewIndicator: Icon;
|
|
276
280
|
export const TaBoxOpen: Icon;
|
|
281
|
+
export const TaInterval: Icon;
|
|
277
282
|
export const TaReport: Icon;
|
|
278
283
|
export const TaReportRemoval: Icon;
|
|
279
284
|
export const TaFileAdd: Icon;
|
|
@@ -0,0 +1,61 @@
|
|
|
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 ApproveCancelled = function ApproveCancelled(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: "M19.973 14.042c0-1.19-.255-2.237-.766-3.141-.511-.904-1.247-1.612-2.207-2.123-.96-.51-2.11-.766-3.45-.766H7.783l-2.032.092 1.508-1.261L9.4 4.739c.1-.093.178-.196.234-.308a.974.974 0 00.084-.421.995.995 0 00-.28-.72C9.25 3.097 9.005 3 8.699 3c-.287 0-.539.11-.757.327l-5.03 4.956a1.1 1.1 0 00-.244.364c-.056.131-.084.268-.084.412 0 .143.028.283.084.42.056.138.138.256.243.356l5.03 4.955c.219.219.471.328.758.328.306 0 .552-.094.739-.28.187-.194.28-.437.28-.73a.95.95 0 00-.084-.412 1.015 1.015 0 00-.234-.327l-2.14-2.094-1.51-1.262 2.033.093h5.795c.923 0 1.705.165 2.347.496.648.324 1.14.779 1.477 1.365.337.58.505 1.246.505 2 0 .761-.168 1.437-.505 2.03-.336.585-.829 1.047-1.477 1.383-.642.343-1.425.515-2.347.515h-2.066c-.312 0-.568.102-.767.308-.2.206-.3.452-.3.739s.1.533.3.738c.2.206.455.31.767.31h2.15c1.315 0 2.444-.247 3.385-.74.947-.492 1.67-1.184 2.17-2.075.504-.892.756-1.936.756-3.133z"
|
|
47
|
+
})));
|
|
48
|
+
};
|
|
49
|
+
ApproveCancelled.propTypes = {
|
|
50
|
+
iconClassName: _propTypes["default"].string,
|
|
51
|
+
spin: _propTypes["default"].bool,
|
|
52
|
+
color: _propTypes["default"].string,
|
|
53
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
54
|
+
};
|
|
55
|
+
ApproveCancelled.defaultProps = {
|
|
56
|
+
spin: false,
|
|
57
|
+
color: 'currentColor',
|
|
58
|
+
size: '1em'
|
|
59
|
+
};
|
|
60
|
+
var _default = ApproveCancelled;
|
|
61
|
+
exports["default"] = _default;
|
|
@@ -43,13 +43,11 @@ var Approve = function Approve(props) {
|
|
|
43
43
|
animationTimingFunction: 'linear'
|
|
44
44
|
} : {})
|
|
45
45
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
-
|
|
47
|
-
clipRule: "evenodd",
|
|
48
|
-
d: "M6 17v3h12v-3h2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3h2z"
|
|
46
|
+
d: "M2 20.5a.5.5 0 01.5-.5h19a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-19a.5.5 0 01-.5-.5v-1z"
|
|
49
47
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
50
48
|
fillRule: "evenodd",
|
|
51
49
|
clipRule: "evenodd",
|
|
52
|
-
d: "
|
|
50
|
+
d: "M8.695 10.752a5 5 0 116.61 0L15.72 12H21a1 1 0 011 1v4a1 1 0 01-1 1H3a1 1 0 01-1-1v-4a1 1 0 011-1h5.28l.415-1.248zM9 7a3 3 0 114.61 2.532c-.368.235-.61.718-.407 1.22.279.856.563 1.71.848 2.564A1 1 0 0015 14h5v2H4v-2h5a1 1 0 00.949-.684c.282-.846.568-1.691.845-2.54.2-.61.187-.868-.404-1.244A2.999 2.999 0 019 7z"
|
|
53
51
|
})));
|
|
54
52
|
};
|
|
55
53
|
Approve.propTypes = {
|
|
@@ -0,0 +1,61 @@
|
|
|
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 Bell2Fill = function Bell2Fill(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: "M7.308 3.966L5.944 2.602a9.99 9.99 0 00-3.928 7.486h1.907a8.053 8.053 0 013.385-6.122zm12.769 6.122h1.907a9.966 9.966 0 00-3.937-7.486l-1.364 1.364a8.035 8.035 0 013.394 6.122zm-1.878.478a6.195 6.195 0 00-4.767-6.026v-.65c0-.792-.64-1.43-1.43-1.43-.792 0-1.43.64-1.43 1.43v.65a6.194 6.194 0 00-4.767 6.026v5.245l-1.907 1.908v.954h16.211v-.954l-1.907-1.908v-5.245h-.003zM12 21.532a1.9 1.9 0 001.755-1.163c.097-.23.153-.475.153-.742h-3.816c0 1.047.858 1.905 1.908 1.905z"
|
|
47
|
+
})));
|
|
48
|
+
};
|
|
49
|
+
Bell2Fill.propTypes = {
|
|
50
|
+
iconClassName: _propTypes["default"].string,
|
|
51
|
+
spin: _propTypes["default"].bool,
|
|
52
|
+
color: _propTypes["default"].string,
|
|
53
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
54
|
+
};
|
|
55
|
+
Bell2Fill.defaultProps = {
|
|
56
|
+
spin: false,
|
|
57
|
+
color: 'currentColor',
|
|
58
|
+
size: '1em'
|
|
59
|
+
};
|
|
60
|
+
var _default = Bell2Fill;
|
|
61
|
+
exports["default"] = _default;
|
|
@@ -43,7 +43,9 @@ var BoxOpen = function BoxOpen(props) {
|
|
|
43
43
|
animationTimingFunction: 'linear'
|
|
44
44
|
} : {})
|
|
45
45
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
-
|
|
46
|
+
fillRule: "evenodd",
|
|
47
|
+
clipRule: "evenodd",
|
|
48
|
+
d: "M14.494 2.942a1.002 1.002 0 01-.71 1.244L4.222 6.685a1.002 1.002 0 01-.506-1.938l9.561-2.5a1.002 1.002 0 011.217.695zM3 9.977c0-1.107.895-2.004 2-2.004h14c1.104 0 2 .897 2 2.004v10.02A2.002 2.002 0 0119 22H5c-1.105 0-2-.897-2-2.004V9.976zm16 0H5v10.02h14V9.976zm-4.5 4.008h-5V11.98h5v2.004z"
|
|
47
49
|
})));
|
|
48
50
|
};
|
|
49
51
|
BoxOpen.propTypes = {
|