@tant/icons 1.3.24 → 1.3.26
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/disable.js +62 -0
- package/dist/es/icons/e-charts-cl.js +79 -0
- package/dist/es/icons/e-setting-cl.js +1 -1
- 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/thumb-up.js +60 -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/disable.js +70 -0
- package/dist/lib/icons/e-charts-cl.js +87 -0
- package/dist/lib/icons/e-setting-cl.js +1 -1
- 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/thumb-up.js +68 -0
- package/dist/lib/index.js +56 -0
- package/dist/tant-icons.cjs.js +1485 -784
- package/dist/tant-icons.esm.js +1478 -785
- package/package.json +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
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 FlagUs = function FlagUs(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("g", {
|
|
46
|
+
clipPath: "url(#clip0_6697_1120)"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("mask", {
|
|
48
|
+
id: "a",
|
|
49
|
+
style: {
|
|
50
|
+
maskType: 'luminance'
|
|
51
|
+
},
|
|
52
|
+
maskUnits: "userSpaceOnUse",
|
|
53
|
+
x: "1",
|
|
54
|
+
y: "4",
|
|
55
|
+
width: "22",
|
|
56
|
+
height: "16"
|
|
57
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
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"
|
|
59
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
mask: "url(#a)"
|
|
61
|
+
}, /*#__PURE__*/React.createElement("mask", {
|
|
62
|
+
id: "b",
|
|
63
|
+
style: {
|
|
64
|
+
maskType: 'luminance'
|
|
65
|
+
},
|
|
66
|
+
maskUnits: "userSpaceOnUse",
|
|
67
|
+
x: "1",
|
|
68
|
+
y: "4",
|
|
69
|
+
width: "22",
|
|
70
|
+
height: "16"
|
|
71
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
72
|
+
d: "M23 4H1v16h22V4z"
|
|
73
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
74
|
+
mask: "url(#b)"
|
|
75
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
76
|
+
fillRule: "evenodd",
|
|
77
|
+
clipRule: "evenodd",
|
|
78
|
+
d: "M1 4h22v16H1V4z"
|
|
79
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
80
|
+
fillRule: "evenodd",
|
|
81
|
+
clipRule: "evenodd",
|
|
82
|
+
d: "M1 5.333v1.334h22V5.333H1zM1 8v1.333h22V8H1zm0 4v-1.333h22V12H1zm0 1.333v1.334h22v-1.334H1zm0 4V16h22v1.333H1zM1 20v-1.333h22V20H1z"
|
|
83
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
84
|
+
d: "M13.375 4H1v9.333h12.375V4z"
|
|
85
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
86
|
+
fillRule: "evenodd",
|
|
87
|
+
clipRule: "evenodd",
|
|
88
|
+
d: "M2.43 6.898l.729-.492.565.395h-.32l.647.555-.219.778H3.49l-.332-.715-.284.715H2.03l.647.555-.246.876.729-.492.565.394h-.32l.647.556-.219.778H3.49l-.332-.715-.284.715H2.03l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.721l-.332-.715-.284.715h-.41l-.195-.778.567-.556h-.261l.584-.394.705.492-.22-.876.567-.555h-.721l-.332-.715-.284.715h-.41l-.195-.778.567-.555h-.261l.584-.395.705.492-.22-.875.567-.556h-.721l-.332-.714-.284.714h-.845l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H8.99l-.332-.714-.284.714H7.53l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H6.24l-.332-.714-.284.714H4.78l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H3.49l-.332-.714-.284.714H2.03l.647.556-.246.875zm8.277 2.57l.219-.779-.647-.555h.32l-.565-.394-.585.394h.262l-.567.555.195.778h.41l.284-.714.332.714h.342zm-1.483 0l-.565-.395-.585.394h.262l-.567.556.195.778h.41l.284-.715.332.715h.342l.219-.778-.647-.556h.32zm-2.423.555l-.219.778H6.24l-.332-.715-.284.715h-.41l-.195-.778.567-.556h-.262l.585-.394.565.394h-.32l.647.556zm.198-.556h-.41l-.195-.778.567-.555h-.262l.585-.394.565.394h-.32l.647.555-.219.778h-.342l-.332-.714-.284.714zm-1.792 0l.219-.778-.647-.555h.32l-.565-.394-.585.394h.262l-.567.555.195.778h.41l.284-.714.332.714h.342zm4.344-2.111l-.219.778H8.99l-.332-.715-.284.715h-.41l-.195-.778.567-.555h-.262l.585-.395.565.395h-.32l.647.555zM6.474 6.8l-.565-.395-.585.395h.262l-.567.555.195.778h.41l.284-.715.332.715h.342l.219-.778-.647-.555h.32z"
|
|
89
|
+
}))), /*#__PURE__*/React.createElement("g", {
|
|
90
|
+
style: {
|
|
91
|
+
mixBlendMode: 'multiply'
|
|
92
|
+
}
|
|
93
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
94
|
+
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"
|
|
95
|
+
}))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
96
|
+
id: "clip0_6697_1120"
|
|
97
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
98
|
+
width: "22",
|
|
99
|
+
height: "16",
|
|
100
|
+
transform: "translate(1 4)"
|
|
101
|
+
}))))));
|
|
102
|
+
};
|
|
103
|
+
FlagUs.propTypes = {
|
|
104
|
+
iconClassName: PropTypes.string,
|
|
105
|
+
spin: PropTypes.bool,
|
|
106
|
+
color: PropTypes.string,
|
|
107
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
108
|
+
};
|
|
109
|
+
FlagUs.defaultProps = {
|
|
110
|
+
spin: false,
|
|
111
|
+
color: 'currentColor',
|
|
112
|
+
size: '1em'
|
|
113
|
+
};
|
|
114
|
+
export default FlagUs;
|
|
@@ -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;
|
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';
|
|
@@ -177,6 +181,7 @@ export { default as TaUTagCl } from './icons/u-tag-cl';
|
|
|
177
181
|
export { default as TaUCohortCl } from './icons/u-cohort-cl';
|
|
178
182
|
export { default as TaUSearchCl } from './icons/u-search-cl';
|
|
179
183
|
export { default as TaETaskCl } from './icons/e-task-cl';
|
|
184
|
+
export { default as TaEChartsCl } from './icons/e-charts-cl';
|
|
180
185
|
export { default as TaESettingCl } from './icons/e-setting-cl';
|
|
181
186
|
export { default as TaDManageCl } from './icons/d-manage-cl';
|
|
182
187
|
export { default as TaDTrackingCl } from './icons/d-tracking-cl';
|
|
@@ -220,6 +225,7 @@ export { default as TaEyeOffFill } from './icons/eye-off-fill';
|
|
|
220
225
|
export { default as TaDot } from './icons/dot';
|
|
221
226
|
export { default as TaAnchor } from './icons/anchor';
|
|
222
227
|
export { default as TaNotice } from './icons/notice';
|
|
228
|
+
export { default as TaThumbUp } from './icons/thumb-up';
|
|
223
229
|
export { default as TaChartLine } from './icons/chart-line';
|
|
224
230
|
export { default as TaChartBar } from './icons/chart-bar';
|
|
225
231
|
export { default as TaChartCum } from './icons/chart-cum';
|
|
@@ -290,6 +296,8 @@ export { default as TaBoxOpen } from './icons/box-open';
|
|
|
290
296
|
export { default as TaInterval } from './icons/interval';
|
|
291
297
|
export { default as TaRevert } from './icons/revert';
|
|
292
298
|
export { default as TaInsert } from './icons/insert';
|
|
299
|
+
export { default as TaDisable } from './icons/disable';
|
|
300
|
+
export { default as TaBranch } from './icons/branch';
|
|
293
301
|
export { default as TaReport } from './icons/report';
|
|
294
302
|
export { default as TaReportRemoval } from './icons/report-removal';
|
|
295
303
|
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;
|
|
@@ -188,6 +192,7 @@ export const TaUTagCl: Icon;
|
|
|
188
192
|
export const TaUCohortCl: Icon;
|
|
189
193
|
export const TaUSearchCl: Icon;
|
|
190
194
|
export const TaETaskCl: Icon;
|
|
195
|
+
export const TaEChartsCl: Icon;
|
|
191
196
|
export const TaESettingCl: Icon;
|
|
192
197
|
export const TaDManageCl: Icon;
|
|
193
198
|
export const TaDTrackingCl: Icon;
|
|
@@ -231,6 +236,7 @@ export const TaEyeOffFill: Icon;
|
|
|
231
236
|
export const TaDot: Icon;
|
|
232
237
|
export const TaAnchor: Icon;
|
|
233
238
|
export const TaNotice: Icon;
|
|
239
|
+
export const TaThumbUp: Icon;
|
|
234
240
|
export const TaChartLine: Icon;
|
|
235
241
|
export const TaChartBar: Icon;
|
|
236
242
|
export const TaChartCum: Icon;
|
|
@@ -301,6 +307,8 @@ export const TaBoxOpen: Icon;
|
|
|
301
307
|
export const TaInterval: Icon;
|
|
302
308
|
export const TaRevert: Icon;
|
|
303
309
|
export const TaInsert: Icon;
|
|
310
|
+
export const TaDisable: Icon;
|
|
311
|
+
export const TaBranch: Icon;
|
|
304
312
|
export const TaReport: Icon;
|
|
305
313
|
export const TaReportRemoval: Icon;
|
|
306
314
|
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,70 @@
|
|
|
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 Disable = function Disable(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
|
+
fillRule: "evenodd",
|
|
54
|
+
clipRule: "evenodd",
|
|
55
|
+
d: "M16.906 18.32A8 8 0 015.68 7.094L16.905 18.32zm1.414-1.414L7.094 5.68A8 8 0 0118.32 16.905zM22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
Disable.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
63
|
+
};
|
|
64
|
+
Disable.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
var _default = Disable;
|
|
70
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
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 EChartsCl = function EChartsCl(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
|
+
fill: "none",
|
|
52
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
53
|
+
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
54
|
+
x: "2",
|
|
55
|
+
y: "2",
|
|
56
|
+
width: "13",
|
|
57
|
+
height: "20",
|
|
58
|
+
fill: "#B3CFF8"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("g", {
|
|
60
|
+
style: {
|
|
61
|
+
mixBlendMode: 'multiply'
|
|
62
|
+
}
|
|
63
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
64
|
+
d: "M22.39 10.53h-6.18V4c3.412 0 6.179 2.924 6.18 6.53z",
|
|
65
|
+
fill: "#1E76F0"
|
|
66
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
67
|
+
style: {
|
|
68
|
+
mixBlendMode: 'multiply'
|
|
69
|
+
}
|
|
70
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
71
|
+
d: "M15.18 5.088C11.767 5.088 9 8.012 9 11.62c0 3.607 2.767 6.531 6.18 6.531s6.18-2.924 6.18-6.53h-6.18V5.088z",
|
|
72
|
+
fill: "#1E76F0"
|
|
73
|
+
})))));
|
|
74
|
+
};
|
|
75
|
+
EChartsCl.propTypes = {
|
|
76
|
+
iconClassName: _propTypes["default"].string,
|
|
77
|
+
spin: _propTypes["default"].bool,
|
|
78
|
+
color: _propTypes["default"].string,
|
|
79
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
80
|
+
};
|
|
81
|
+
EChartsCl.defaultProps = {
|
|
82
|
+
spin: false,
|
|
83
|
+
color: 'currentColor',
|
|
84
|
+
size: '1em'
|
|
85
|
+
};
|
|
86
|
+
var _default = EChartsCl;
|
|
87
|
+
exports["default"] = _default;
|
|
@@ -69,7 +69,7 @@ var ESettingCl = function ESettingCl(props) {
|
|
|
69
69
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
70
70
|
fillRule: "evenodd",
|
|
71
71
|
clipRule: "evenodd",
|
|
72
|
-
d: "
|
|
72
|
+
d: "M12.5 22l3.5-6-3.5-6h-7L2 16l3.5 6h7zM9 17.98c1.104 0 2-.887 2-1.98a1.99 1.99 0 00-2-1.98c-1.105 0-2 .887-2 1.98a1.99 1.99 0 002 1.98z",
|
|
73
73
|
fill: "#1E76F0"
|
|
74
74
|
})))));
|
|
75
75
|
};
|
|
@@ -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;
|