@tant/icons 1.3.25 → 1.3.27
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/branch.js +60 -0
- package/dist/es/icons/flag-cn.js +114 -0
- package/dist/es/icons/flag-jp.js +124 -0
- package/dist/es/icons/flag-kr.js +168 -0
- package/dist/es/icons/flag-us.js +114 -0
- package/dist/es/icons/magic-wand.js +60 -0
- package/dist/es/icons/thumb-up.js +60 -0
- package/dist/es/icons/validate.js +64 -0
- package/dist/es/index.js +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/lib/icons/branch.js +68 -0
- package/dist/lib/icons/flag-cn.js +122 -0
- package/dist/lib/icons/flag-jp.js +132 -0
- package/dist/lib/icons/flag-kr.js +176 -0
- package/dist/lib/icons/flag-us.js +122 -0
- package/dist/lib/icons/magic-wand.js +68 -0
- package/dist/lib/icons/thumb-up.js +68 -0
- package/dist/lib/icons/validate.js +72 -0
- package/dist/lib/index.js +56 -0
- package/dist/tant-icons.cjs.js +1486 -802
- package/dist/tant-icons.esm.js +1479 -803
- package/package.json +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
3
|
+
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); }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
+
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; }
|
|
10
|
+
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; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var MagicWand = function MagicWand(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
role: "img",
|
|
24
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
25
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
26
|
+
children: loadingCircleStyle
|
|
27
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: size,
|
|
30
|
+
height: size,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: color
|
|
33
|
+
}, otherProps, {
|
|
34
|
+
className: iconClassName,
|
|
35
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
36
|
+
animationDuration: '1s',
|
|
37
|
+
animationIterationCount: 'infinite',
|
|
38
|
+
animationName: 'loadingCircle',
|
|
39
|
+
animationTimingFunction: 'linear'
|
|
40
|
+
} : {})
|
|
41
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
42
|
+
width: "24",
|
|
43
|
+
height: "24",
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
45
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
46
|
+
d: "M15.241 9.76c-.452-.429-.743-1-.824-1.618l-.42-3.216-2.848 1.55a2.712 2.712 0 01-1.795.285l-3.188-.595.595 3.188a2.712 2.712 0 01-.285 1.795l-1.55 2.848 3.216.42c.618.08 1.189.372 1.617.824l2.23 2.355 1.394-2.929a2.712 2.712 0 011.283-1.284l2.93-1.394L15.24 9.76zm.026 5.803l-2.308 4.851a.626.626 0 01-1.02.162l-3.695-3.9a.626.626 0 00-.372-.19l-5.328-.697a.625.625 0 01-.468-.92l2.568-4.719a.626.626 0 00.065-.413l-.984-5.282a.626.626 0 01.73-.73l5.282.984a.626.626 0 00.413-.065l4.72-2.568a.625.625 0 01.919.47l.697 5.326a.626.626 0 00.19.372l3.9 3.695a.625.625 0 01-.162 1.02l-4.85 2.308a.626.626 0 00-.297.296zm.832 2.01l1.475-1.474L22 20.524 20.524 22l-4.425-4.426z"
|
|
47
|
+
}))));
|
|
48
|
+
};
|
|
49
|
+
MagicWand.propTypes = {
|
|
50
|
+
iconClassName: PropTypes.string,
|
|
51
|
+
spin: PropTypes.bool,
|
|
52
|
+
color: PropTypes.string,
|
|
53
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
54
|
+
};
|
|
55
|
+
MagicWand.defaultProps = {
|
|
56
|
+
spin: false,
|
|
57
|
+
color: 'currentColor',
|
|
58
|
+
size: '1em'
|
|
59
|
+
};
|
|
60
|
+
export default MagicWand;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
3
|
+
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); }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
+
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; }
|
|
10
|
+
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; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var ThumbUp = function ThumbUp(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
role: "img",
|
|
24
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
25
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
26
|
+
children: loadingCircleStyle
|
|
27
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: size,
|
|
30
|
+
height: size,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: color
|
|
33
|
+
}, otherProps, {
|
|
34
|
+
className: iconClassName,
|
|
35
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
36
|
+
animationDuration: '1s',
|
|
37
|
+
animationIterationCount: 'infinite',
|
|
38
|
+
animationName: 'loadingCircle',
|
|
39
|
+
animationTimingFunction: 'linear'
|
|
40
|
+
} : {})
|
|
41
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
42
|
+
width: "24",
|
|
43
|
+
height: "24",
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
45
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
46
|
+
d: "M2 9h3v12H2a1 1 0 01-1-1V10a1 1 0 011-1zm5.293-1.293l6.4-6.4a.5.5 0 01.654-.047l.853.64a1.5 1.5 0 01.553 1.57L14.6 8H21a2 2 0 012 2v2.104a2 2 0 01-.15.762l-3.095 7.515a1 1 0 01-.925.619H8a1 1 0 01-1-1V8.414a1 1 0 01.293-.707z"
|
|
47
|
+
}))));
|
|
48
|
+
};
|
|
49
|
+
ThumbUp.propTypes = {
|
|
50
|
+
iconClassName: PropTypes.string,
|
|
51
|
+
spin: PropTypes.bool,
|
|
52
|
+
color: PropTypes.string,
|
|
53
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
54
|
+
};
|
|
55
|
+
ThumbUp.defaultProps = {
|
|
56
|
+
spin: false,
|
|
57
|
+
color: 'currentColor',
|
|
58
|
+
size: '1em'
|
|
59
|
+
};
|
|
60
|
+
export default ThumbUp;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
3
|
+
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); }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
+
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; }
|
|
10
|
+
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; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var Validate = function Validate(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
role: "img",
|
|
24
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
25
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
26
|
+
children: loadingCircleStyle
|
|
27
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: size,
|
|
30
|
+
height: size,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: color
|
|
33
|
+
}, otherProps, {
|
|
34
|
+
className: iconClassName,
|
|
35
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
36
|
+
animationDuration: '1s',
|
|
37
|
+
animationIterationCount: 'infinite',
|
|
38
|
+
animationName: 'loadingCircle',
|
|
39
|
+
animationTimingFunction: 'linear'
|
|
40
|
+
} : {})
|
|
41
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
42
|
+
width: "24",
|
|
43
|
+
height: "24",
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
45
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
46
|
+
d: "M12.587 10.644l-3.103-3-4.14 3.602 1.312 1.508 2.757-2.398 3.103 3 4.14-3.602-1.312-1.508-2.757 2.398z"
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
fillRule: "evenodd",
|
|
49
|
+
clipRule: "evenodd",
|
|
50
|
+
d: "M22.314 20.899l-4.283-4.282A8.96 8.96 0 0020 11c0-4.968-4.032-9-9-9s-9 4.032-9 9 4.032 9 9 9a8.96 8.96 0 005.617-1.969l4.282 4.283 1.415-1.415zM18 11a6.977 6.977 0 01-1.975 4.875l-.15.15A6.977 6.977 0 0111 18c-3.868 0-7-3.133-7-7 0-3.868 3.132-7 7-7 3.867 0 7 3.132 7 7z"
|
|
51
|
+
}))));
|
|
52
|
+
};
|
|
53
|
+
Validate.propTypes = {
|
|
54
|
+
iconClassName: PropTypes.string,
|
|
55
|
+
spin: PropTypes.bool,
|
|
56
|
+
color: PropTypes.string,
|
|
57
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
58
|
+
};
|
|
59
|
+
Validate.defaultProps = {
|
|
60
|
+
spin: false,
|
|
61
|
+
color: 'currentColor',
|
|
62
|
+
size: '1em'
|
|
63
|
+
};
|
|
64
|
+
export default Validate;
|
package/dist/es/index.js
CHANGED
|
@@ -165,6 +165,10 @@ export { default as TaReportCl } from './icons/report-cl';
|
|
|
165
165
|
export { default as TaUserTagCl } from './icons/user-tag-cl';
|
|
166
166
|
export { default as TaGroupCl } from './icons/group-cl';
|
|
167
167
|
export { default as TaVPropCl } from './icons/v-prop-cl';
|
|
168
|
+
export { default as TaFlagCn } from './icons/flag-cn';
|
|
169
|
+
export { default as TaFlagUs } from './icons/flag-us';
|
|
170
|
+
export { default as TaFlagJp } from './icons/flag-jp';
|
|
171
|
+
export { default as TaFlagKr } from './icons/flag-kr';
|
|
168
172
|
export { default as TaMEventCl } from './icons/m-event-cl';
|
|
169
173
|
export { default as TaMRetentionCl } from './icons/m-retention-cl';
|
|
170
174
|
export { default as TaMFunnelCl } from './icons/m-funnel-cl';
|
|
@@ -221,6 +225,7 @@ export { default as TaEyeOffFill } from './icons/eye-off-fill';
|
|
|
221
225
|
export { default as TaDot } from './icons/dot';
|
|
222
226
|
export { default as TaAnchor } from './icons/anchor';
|
|
223
227
|
export { default as TaNotice } from './icons/notice';
|
|
228
|
+
export { default as TaThumbUp } from './icons/thumb-up';
|
|
224
229
|
export { default as TaChartLine } from './icons/chart-line';
|
|
225
230
|
export { default as TaChartBar } from './icons/chart-bar';
|
|
226
231
|
export { default as TaChartCum } from './icons/chart-cum';
|
|
@@ -292,6 +297,9 @@ export { default as TaInterval } from './icons/interval';
|
|
|
292
297
|
export { default as TaRevert } from './icons/revert';
|
|
293
298
|
export { default as TaInsert } from './icons/insert';
|
|
294
299
|
export { default as TaDisable } from './icons/disable';
|
|
300
|
+
export { default as TaBranch } from './icons/branch';
|
|
301
|
+
export { default as TaValidate } from './icons/validate';
|
|
302
|
+
export { default as TaMagicWand } from './icons/magic-wand';
|
|
295
303
|
export { default as TaReport } from './icons/report';
|
|
296
304
|
export { default as TaReportRemoval } from './icons/report-removal';
|
|
297
305
|
export { default as TaFileAdd } from './icons/file-add';
|
package/dist/index.d.ts
CHANGED
|
@@ -176,6 +176,10 @@ export const TaReportCl: Icon;
|
|
|
176
176
|
export const TaUserTagCl: Icon;
|
|
177
177
|
export const TaGroupCl: Icon;
|
|
178
178
|
export const TaVPropCl: Icon;
|
|
179
|
+
export const TaFlagCn: Icon;
|
|
180
|
+
export const TaFlagUs: Icon;
|
|
181
|
+
export const TaFlagJp: Icon;
|
|
182
|
+
export const TaFlagKr: Icon;
|
|
179
183
|
export const TaMEventCl: Icon;
|
|
180
184
|
export const TaMRetentionCl: Icon;
|
|
181
185
|
export const TaMFunnelCl: Icon;
|
|
@@ -232,6 +236,7 @@ export const TaEyeOffFill: Icon;
|
|
|
232
236
|
export const TaDot: Icon;
|
|
233
237
|
export const TaAnchor: Icon;
|
|
234
238
|
export const TaNotice: Icon;
|
|
239
|
+
export const TaThumbUp: Icon;
|
|
235
240
|
export const TaChartLine: Icon;
|
|
236
241
|
export const TaChartBar: Icon;
|
|
237
242
|
export const TaChartCum: Icon;
|
|
@@ -303,6 +308,9 @@ export const TaInterval: Icon;
|
|
|
303
308
|
export const TaRevert: Icon;
|
|
304
309
|
export const TaInsert: Icon;
|
|
305
310
|
export const TaDisable: Icon;
|
|
311
|
+
export const TaBranch: Icon;
|
|
312
|
+
export const TaValidate: Icon;
|
|
313
|
+
export const TaMagicWand: Icon;
|
|
306
314
|
export const TaReport: Icon;
|
|
307
315
|
export const TaReportRemoval: Icon;
|
|
308
316
|
export const TaFileAdd: Icon;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
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); }
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var Branch = function Branch(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
|
+
role: "img",
|
|
31
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
33
|
+
children: loadingCircleStyle
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: size,
|
|
37
|
+
height: size,
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
fill: color
|
|
40
|
+
}, otherProps, {
|
|
41
|
+
className: iconClassName,
|
|
42
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
43
|
+
animationDuration: '1s',
|
|
44
|
+
animationIterationCount: 'infinite',
|
|
45
|
+
animationName: 'loadingCircle',
|
|
46
|
+
animationTimingFunction: 'linear'
|
|
47
|
+
} : {})
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
49
|
+
width: "24",
|
|
50
|
+
height: "24",
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
52
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
53
|
+
d: "M7.105 15.21A3 3 0 115 15.17V8.83a3.001 3.001 0 112 0V12c.836-.628 1.874-1 3-1h4a3.001 3.001 0 002.895-2.21 3 3 0 112.032.064A5 5 0 0114 13h-4a3.001 3.001 0 00-2.895 2.21z"
|
|
54
|
+
}))));
|
|
55
|
+
};
|
|
56
|
+
Branch.propTypes = {
|
|
57
|
+
iconClassName: _propTypes["default"].string,
|
|
58
|
+
spin: _propTypes["default"].bool,
|
|
59
|
+
color: _propTypes["default"].string,
|
|
60
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
61
|
+
};
|
|
62
|
+
Branch.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
var _default = Branch;
|
|
68
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
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); }
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var FlagCn = function FlagCn(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
|
+
role: "img",
|
|
31
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
33
|
+
children: loadingCircleStyle
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: size,
|
|
37
|
+
height: size,
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
fill: color
|
|
40
|
+
}, otherProps, {
|
|
41
|
+
className: iconClassName,
|
|
42
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
43
|
+
animationDuration: '1s',
|
|
44
|
+
animationIterationCount: 'infinite',
|
|
45
|
+
animationName: 'loadingCircle',
|
|
46
|
+
animationTimingFunction: 'linear'
|
|
47
|
+
} : {})
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
49
|
+
width: "24",
|
|
50
|
+
height: "24",
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
52
|
+
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
53
|
+
clipPath: "url(#clip0_6697_1121)"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("mask", {
|
|
55
|
+
id: "a",
|
|
56
|
+
style: {
|
|
57
|
+
maskType: 'luminance'
|
|
58
|
+
},
|
|
59
|
+
maskUnits: "userSpaceOnUse",
|
|
60
|
+
x: "1",
|
|
61
|
+
y: "4",
|
|
62
|
+
width: "22",
|
|
63
|
+
height: "16"
|
|
64
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
d: "M21.625 4H2.375C1.615 4 1 4.597 1 5.333v13.334C1 19.403 1.616 20 2.375 20h19.25c.76 0 1.375-.597 1.375-1.333V5.333C23 4.597 22.384 4 21.625 4z"
|
|
66
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
67
|
+
mask: "url(#a)"
|
|
68
|
+
}, /*#__PURE__*/_react["default"].createElement("mask", {
|
|
69
|
+
id: "b",
|
|
70
|
+
style: {
|
|
71
|
+
maskType: 'luminance'
|
|
72
|
+
},
|
|
73
|
+
maskUnits: "userSpaceOnUse",
|
|
74
|
+
x: "1",
|
|
75
|
+
y: "4",
|
|
76
|
+
width: "22",
|
|
77
|
+
height: "16"
|
|
78
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
79
|
+
d: "M23 4H1v16h22V4z"
|
|
80
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
81
|
+
mask: "url(#b)",
|
|
82
|
+
fillRule: "evenodd",
|
|
83
|
+
clipRule: "evenodd"
|
|
84
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
85
|
+
d: "M1 4h22v16H1V4z"
|
|
86
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
87
|
+
d: "M5.89 10.504l-2.676 2.034L4.236 9.46l-1.785-1.6 2.417-.086L5.891 5.3l1.022 2.476h2.413l-1.78 1.686.81 3.077-2.465-2.034z"
|
|
88
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
89
|
+
d: "M11.324 8.115l-1.124.657.257-1.283-.936-.96 1.267-.052.536-1.198.535 1.198h1.265l-.933 1.012.28 1.283-1.147-.657z"
|
|
90
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
91
|
+
d: "M12.699 10.781l-1.124.658.257-1.283-.936-.96 1.267-.053.536-1.198.535 1.198H14.5l-.933 1.013.28 1.283-1.147-.658z"
|
|
92
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
93
|
+
d: "M11.324 13.448l-1.124.657.257-1.283-.936-.96 1.267-.052.536-1.198.535 1.198h1.265l-.933 1.012.28 1.284-1.147-.658z"
|
|
94
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
95
|
+
d: "M8.574 14.781l-1.124.658.257-1.283-.936-.96 1.267-.053.536-1.198.535 1.198h1.265l-.933 1.013.28 1.283-1.147-.658z"
|
|
96
|
+
}))), /*#__PURE__*/_react["default"].createElement("g", {
|
|
97
|
+
style: {
|
|
98
|
+
mixBlendMode: 'multiply'
|
|
99
|
+
}
|
|
100
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
101
|
+
d: "M21.625 4.667H2.375a.677.677 0 00-.688.666v13.334c0 .368.308.666.688.666h19.25c.38 0 .688-.298.688-.666V5.333a.677.677 0 00-.688-.666z"
|
|
102
|
+
}))), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
|
|
103
|
+
id: "clip0_6697_1121"
|
|
104
|
+
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
105
|
+
width: "22",
|
|
106
|
+
height: "16",
|
|
107
|
+
transform: "translate(1 4)"
|
|
108
|
+
}))))));
|
|
109
|
+
};
|
|
110
|
+
FlagCn.propTypes = {
|
|
111
|
+
iconClassName: _propTypes["default"].string,
|
|
112
|
+
spin: _propTypes["default"].bool,
|
|
113
|
+
color: _propTypes["default"].string,
|
|
114
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
115
|
+
};
|
|
116
|
+
FlagCn.defaultProps = {
|
|
117
|
+
spin: false,
|
|
118
|
+
color: 'currentColor',
|
|
119
|
+
size: '1em'
|
|
120
|
+
};
|
|
121
|
+
var _default = FlagCn;
|
|
122
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
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); }
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var FlagJp = function FlagJp(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
|
+
role: "img",
|
|
31
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
33
|
+
children: loadingCircleStyle
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: size,
|
|
37
|
+
height: size,
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
fill: color
|
|
40
|
+
}, otherProps, {
|
|
41
|
+
className: iconClassName,
|
|
42
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
43
|
+
animationDuration: '1s',
|
|
44
|
+
animationIterationCount: 'infinite',
|
|
45
|
+
animationName: 'loadingCircle',
|
|
46
|
+
animationTimingFunction: 'linear'
|
|
47
|
+
} : {})
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
49
|
+
width: "24",
|
|
50
|
+
height: "24",
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
52
|
+
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
53
|
+
clipPath: "url(#clip0_6697_1119)"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("mask", {
|
|
55
|
+
id: "a",
|
|
56
|
+
style: {
|
|
57
|
+
maskType: 'luminance'
|
|
58
|
+
},
|
|
59
|
+
maskUnits: "userSpaceOnUse",
|
|
60
|
+
x: "1",
|
|
61
|
+
y: "4",
|
|
62
|
+
width: "22",
|
|
63
|
+
height: "16"
|
|
64
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
d: "M21.625 4H2.375C1.615 4 1 4.597 1 5.333v13.334C1 19.403 1.616 20 2.375 20h19.25c.76 0 1.375-.597 1.375-1.333V5.333C23 4.597 22.384 4 21.625 4z"
|
|
66
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
67
|
+
mask: "url(#a)"
|
|
68
|
+
}, /*#__PURE__*/_react["default"].createElement("mask", {
|
|
69
|
+
id: "b",
|
|
70
|
+
style: {
|
|
71
|
+
maskType: 'luminance'
|
|
72
|
+
},
|
|
73
|
+
maskUnits: "userSpaceOnUse",
|
|
74
|
+
x: "1",
|
|
75
|
+
y: "4",
|
|
76
|
+
width: "22",
|
|
77
|
+
height: "16"
|
|
78
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
79
|
+
d: "M23 4H1v16h22V4z"
|
|
80
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
81
|
+
mask: "url(#b)"
|
|
82
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
83
|
+
fillRule: "evenodd",
|
|
84
|
+
clipRule: "evenodd",
|
|
85
|
+
d: "M1 4v16h22V4H1z"
|
|
86
|
+
}), /*#__PURE__*/_react["default"].createElement("mask", {
|
|
87
|
+
id: "c",
|
|
88
|
+
style: {
|
|
89
|
+
maskType: 'luminance'
|
|
90
|
+
},
|
|
91
|
+
maskUnits: "userSpaceOnUse",
|
|
92
|
+
x: "1",
|
|
93
|
+
y: "4",
|
|
94
|
+
width: "22",
|
|
95
|
+
height: "16"
|
|
96
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
97
|
+
fillRule: "evenodd",
|
|
98
|
+
clipRule: "evenodd",
|
|
99
|
+
d: "M1 4v16h22V4H1z"
|
|
100
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
101
|
+
mask: "url(#c)"
|
|
102
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
103
|
+
fillRule: "evenodd",
|
|
104
|
+
clipRule: "evenodd",
|
|
105
|
+
d: "M12 17c2.848 0 5.156-2.239 5.156-5S14.848 7 12 7s-5.156 2.239-5.156 5S9.152 17 12 17z"
|
|
106
|
+
})))), /*#__PURE__*/_react["default"].createElement("g", {
|
|
107
|
+
style: {
|
|
108
|
+
mixBlendMode: 'multiply'
|
|
109
|
+
}
|
|
110
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
111
|
+
d: "M21.625 4.667H2.375a.677.677 0 00-.688.666v13.334c0 .368.308.666.688.666h19.25c.38 0 .688-.298.688-.666V5.333a.677.677 0 00-.688-.666z"
|
|
112
|
+
}))), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
|
|
113
|
+
id: "clip0_6697_1119"
|
|
114
|
+
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
115
|
+
width: "22",
|
|
116
|
+
height: "16",
|
|
117
|
+
transform: "translate(1 4)"
|
|
118
|
+
}))))));
|
|
119
|
+
};
|
|
120
|
+
FlagJp.propTypes = {
|
|
121
|
+
iconClassName: _propTypes["default"].string,
|
|
122
|
+
spin: _propTypes["default"].bool,
|
|
123
|
+
color: _propTypes["default"].string,
|
|
124
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
125
|
+
};
|
|
126
|
+
FlagJp.defaultProps = {
|
|
127
|
+
spin: false,
|
|
128
|
+
color: 'currentColor',
|
|
129
|
+
size: '1em'
|
|
130
|
+
};
|
|
131
|
+
var _default = FlagJp;
|
|
132
|
+
exports["default"] = _default;
|