@tant/icons 1.3.24 → 1.3.25
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/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/index.js +2 -0
- package/dist/index.d.ts +2 -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/index.js +14 -0
- package/dist/tant-icons.cjs.js +855 -734
- package/dist/tant-icons.esm.js +854 -735
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
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 Disable = function Disable(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
|
+
fillRule: "evenodd",
|
|
47
|
+
clipRule: "evenodd",
|
|
48
|
+
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"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Disable.propTypes = {
|
|
52
|
+
iconClassName: PropTypes.string,
|
|
53
|
+
spin: PropTypes.bool,
|
|
54
|
+
color: PropTypes.string,
|
|
55
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
56
|
+
};
|
|
57
|
+
Disable.defaultProps = {
|
|
58
|
+
spin: false,
|
|
59
|
+
color: 'currentColor',
|
|
60
|
+
size: '1em'
|
|
61
|
+
};
|
|
62
|
+
export default Disable;
|
|
@@ -0,0 +1,79 @@
|
|
|
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 EChartsCl = function EChartsCl(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
|
+
fill: "none",
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
46
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
47
|
+
x: "2",
|
|
48
|
+
y: "2",
|
|
49
|
+
width: "13",
|
|
50
|
+
height: "20",
|
|
51
|
+
fill: "#B3CFF8"
|
|
52
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
53
|
+
style: {
|
|
54
|
+
mixBlendMode: 'multiply'
|
|
55
|
+
}
|
|
56
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
57
|
+
d: "M22.39 10.53h-6.18V4c3.412 0 6.179 2.924 6.18 6.53z",
|
|
58
|
+
fill: "#1E76F0"
|
|
59
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
style: {
|
|
61
|
+
mixBlendMode: 'multiply'
|
|
62
|
+
}
|
|
63
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
64
|
+
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",
|
|
65
|
+
fill: "#1E76F0"
|
|
66
|
+
})))));
|
|
67
|
+
};
|
|
68
|
+
EChartsCl.propTypes = {
|
|
69
|
+
iconClassName: PropTypes.string,
|
|
70
|
+
spin: PropTypes.bool,
|
|
71
|
+
color: PropTypes.string,
|
|
72
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
73
|
+
};
|
|
74
|
+
EChartsCl.defaultProps = {
|
|
75
|
+
spin: false,
|
|
76
|
+
color: 'currentColor',
|
|
77
|
+
size: '1em'
|
|
78
|
+
};
|
|
79
|
+
export default EChartsCl;
|
|
@@ -62,7 +62,7 @@ var ESettingCl = function ESettingCl(props) {
|
|
|
62
62
|
}, /*#__PURE__*/React.createElement("path", {
|
|
63
63
|
fillRule: "evenodd",
|
|
64
64
|
clipRule: "evenodd",
|
|
65
|
-
d: "
|
|
65
|
+
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",
|
|
66
66
|
fill: "#1E76F0"
|
|
67
67
|
})))));
|
|
68
68
|
};
|
package/dist/es/index.js
CHANGED
|
@@ -177,6 +177,7 @@ export { default as TaUTagCl } from './icons/u-tag-cl';
|
|
|
177
177
|
export { default as TaUCohortCl } from './icons/u-cohort-cl';
|
|
178
178
|
export { default as TaUSearchCl } from './icons/u-search-cl';
|
|
179
179
|
export { default as TaETaskCl } from './icons/e-task-cl';
|
|
180
|
+
export { default as TaEChartsCl } from './icons/e-charts-cl';
|
|
180
181
|
export { default as TaESettingCl } from './icons/e-setting-cl';
|
|
181
182
|
export { default as TaDManageCl } from './icons/d-manage-cl';
|
|
182
183
|
export { default as TaDTrackingCl } from './icons/d-tracking-cl';
|
|
@@ -290,6 +291,7 @@ export { default as TaBoxOpen } from './icons/box-open';
|
|
|
290
291
|
export { default as TaInterval } from './icons/interval';
|
|
291
292
|
export { default as TaRevert } from './icons/revert';
|
|
292
293
|
export { default as TaInsert } from './icons/insert';
|
|
294
|
+
export { default as TaDisable } from './icons/disable';
|
|
293
295
|
export { default as TaReport } from './icons/report';
|
|
294
296
|
export { default as TaReportRemoval } from './icons/report-removal';
|
|
295
297
|
export { default as TaFileAdd } from './icons/file-add';
|
package/dist/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ export const TaUTagCl: Icon;
|
|
|
188
188
|
export const TaUCohortCl: Icon;
|
|
189
189
|
export const TaUSearchCl: Icon;
|
|
190
190
|
export const TaETaskCl: Icon;
|
|
191
|
+
export const TaEChartsCl: Icon;
|
|
191
192
|
export const TaESettingCl: Icon;
|
|
192
193
|
export const TaDManageCl: Icon;
|
|
193
194
|
export const TaDTrackingCl: Icon;
|
|
@@ -301,6 +302,7 @@ export const TaBoxOpen: Icon;
|
|
|
301
302
|
export const TaInterval: Icon;
|
|
302
303
|
export const TaRevert: Icon;
|
|
303
304
|
export const TaInsert: Icon;
|
|
305
|
+
export const TaDisable: Icon;
|
|
304
306
|
export const TaReport: Icon;
|
|
305
307
|
export const TaReportRemoval: Icon;
|
|
306
308
|
export const TaFileAdd: Icon;
|
|
@@ -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
|
};
|
package/dist/lib/index.js
CHANGED
|
@@ -561,6 +561,12 @@ Object.defineProperty(exports, "TaDetail", {
|
|
|
561
561
|
return _detail["default"];
|
|
562
562
|
}
|
|
563
563
|
});
|
|
564
|
+
Object.defineProperty(exports, "TaDisable", {
|
|
565
|
+
enumerable: true,
|
|
566
|
+
get: function get() {
|
|
567
|
+
return _disable["default"];
|
|
568
|
+
}
|
|
569
|
+
});
|
|
564
570
|
Object.defineProperty(exports, "TaDisplayS", {
|
|
565
571
|
enumerable: true,
|
|
566
572
|
get: function get() {
|
|
@@ -615,6 +621,12 @@ Object.defineProperty(exports, "TaDropUp", {
|
|
|
615
621
|
return _dropUp["default"];
|
|
616
622
|
}
|
|
617
623
|
});
|
|
624
|
+
Object.defineProperty(exports, "TaEChartsCl", {
|
|
625
|
+
enumerable: true,
|
|
626
|
+
get: function get() {
|
|
627
|
+
return _eChartsCl["default"];
|
|
628
|
+
}
|
|
629
|
+
});
|
|
618
630
|
Object.defineProperty(exports, "TaEPropertySm", {
|
|
619
631
|
enumerable: true,
|
|
620
632
|
get: function get() {
|
|
@@ -2360,6 +2372,7 @@ var _uTagCl = _interopRequireDefault(require("./icons/u-tag-cl"));
|
|
|
2360
2372
|
var _uCohortCl = _interopRequireDefault(require("./icons/u-cohort-cl"));
|
|
2361
2373
|
var _uSearchCl = _interopRequireDefault(require("./icons/u-search-cl"));
|
|
2362
2374
|
var _eTaskCl = _interopRequireDefault(require("./icons/e-task-cl"));
|
|
2375
|
+
var _eChartsCl = _interopRequireDefault(require("./icons/e-charts-cl"));
|
|
2363
2376
|
var _eSettingCl = _interopRequireDefault(require("./icons/e-setting-cl"));
|
|
2364
2377
|
var _dManageCl = _interopRequireDefault(require("./icons/d-manage-cl"));
|
|
2365
2378
|
var _dTrackingCl = _interopRequireDefault(require("./icons/d-tracking-cl"));
|
|
@@ -2473,6 +2486,7 @@ var _boxOpen = _interopRequireDefault(require("./icons/box-open"));
|
|
|
2473
2486
|
var _interval = _interopRequireDefault(require("./icons/interval"));
|
|
2474
2487
|
var _revert = _interopRequireDefault(require("./icons/revert"));
|
|
2475
2488
|
var _insert = _interopRequireDefault(require("./icons/insert"));
|
|
2489
|
+
var _disable = _interopRequireDefault(require("./icons/disable"));
|
|
2476
2490
|
var _report = _interopRequireDefault(require("./icons/report"));
|
|
2477
2491
|
var _reportRemoval = _interopRequireDefault(require("./icons/report-removal"));
|
|
2478
2492
|
var _fileAdd = _interopRequireDefault(require("./icons/file-add"));
|