@tant/icons 1.20.7 → 1.20.16
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/Dashboard-Reading-cl.js +1 -1
- package/dist/es/icons/bi-vendor-fill-cl.js +74 -0
- package/dist/es/icons/bi-vendor.js +63 -0
- package/dist/es/icons/built-in.js +1 -1
- package/dist/es/icons/event-shunt.js +63 -0
- package/dist/es/icons/index-fill.js +63 -0
- package/dist/es/icons/line-circle.js +63 -0
- package/dist/es/icons/line-diamond.js +63 -0
- package/dist/es/icons/line-square.js +63 -0
- package/dist/es/icons/manual-verification.js +63 -0
- package/dist/es/icons/translation.js +63 -0
- package/dist/es/icons/u-property-shunt.js +63 -0
- package/dist/es/icons/undo.js +1 -1
- package/dist/es/icons/warehouse.js +1 -1
- package/dist/es/index.js +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/lib/icons/Dashboard-Reading-cl.js +1 -1
- package/dist/lib/icons/bi-vendor-fill-cl.js +81 -0
- package/dist/lib/icons/bi-vendor.js +70 -0
- package/dist/lib/icons/built-in.js +1 -1
- package/dist/lib/icons/event-shunt.js +70 -0
- package/dist/lib/icons/index-fill.js +70 -0
- package/dist/lib/icons/line-circle.js +70 -0
- package/dist/lib/icons/line-diamond.js +70 -0
- package/dist/lib/icons/line-square.js +70 -0
- package/dist/lib/icons/manual-verification.js +70 -0
- package/dist/lib/icons/translation.js +70 -0
- package/dist/lib/icons/u-property-shunt.js +70 -0
- package/dist/lib/icons/undo.js +1 -1
- package/dist/lib/icons/warehouse.js +1 -1
- package/dist/lib/index.js +70 -0
- package/dist/tant-icons.cjs.js +2595 -2054
- package/dist/tant-icons.esm.js +2586 -2055
- package/package.json +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var UPropertyShunt = function UPropertyShunt(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
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M17.5 22v-2h-7l2-2H21l-3.5 4zm3.5-6h-8.519l-3.7 3.625-.3.375H3v-2h4.519l3.7-3.625.3-.375H17.5v-2l3.5 4zM11.5 2a4.5 4.5 0 013.357 7.493 8.98 8.98 0 011.966.964l-2.175 1.098A7.004 7.004 0 0011.906 11c-3.554 0-6.466 2.626-6.892 6H3c.317-3.278 2.438-6.027 5.361-7.277A4.5 4.5 0 0111.5 2zm0 2a2.5 2.5 0 100 5 2.5 2.5 0 000-5z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
UPropertyShunt.propTypes = {
|
|
52
|
+
iconClassName: PropTypes.string,
|
|
53
|
+
spin: PropTypes.bool,
|
|
54
|
+
color: PropTypes.string,
|
|
55
|
+
testid: PropTypes.string,
|
|
56
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
57
|
+
};
|
|
58
|
+
UPropertyShunt.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default UPropertyShunt;
|
package/dist/es/icons/undo.js
CHANGED
|
@@ -45,7 +45,7 @@ var Undo = function Undo(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "M19.973 14.042c0-1.19-.255-2.237-.
|
|
48
|
+
d: "M19.973 14.042c0-1.19-.255-2.237-.767-3.141-.51-.904-1.246-1.612-2.206-2.123-.96-.51-2.11-.766-3.45-.766H7.783l-2.033.092L7.26 6.843 9.4 4.739c.1-.093.178-.196.234-.308a.974.974 0 00.084-.421.995.995 0 00-.28-.72C9.25 3.097 9.004 3 8.698 3c-.286 0-.538.11-.756.327l-5.03 4.956a1.1 1.1 0 00-.244.364c-.056.131-.084.268-.084.412 0 .143.028.283.084.42.056.138.137.256.243.356l5.03 4.955c.219.219.471.328.758.328.305 0 .552-.094.739-.28.187-.194.28-.437.28-.73a.95.95 0 00-.084-.412 1.015 1.015 0 00-.234-.327L7.26 11.275 5.75 10.013l2.033.093h5.795c.922 0 1.705.165 2.347.496.648.324 1.14.779 1.477 1.365.336.58.505 1.246.505 2 0 .761-.169 1.437-.505 2.03-.337.585-.83 1.047-1.477 1.383-.642.343-1.425.515-2.347.515H11.51c-.311 0-.567.102-.766.308-.2.206-.3.452-.3.739s.1.533.3.738c.2.206.455.31.766.31h2.15c1.316 0 2.444-.247 3.386-.74.947-.492 1.67-1.184 2.169-2.075.505-.892.757-1.936.757-3.133z"
|
|
49
49
|
}))));
|
|
50
50
|
};
|
|
51
51
|
Undo.propTypes = {
|
|
@@ -45,7 +45,7 @@ var Warehouse = function Warehouse(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "M12.614 5.18l8.324 6.
|
|
48
|
+
d: "M12.614 5.18l8.324 6.136 1.186-1.61-8.323-6.136a3 3 0 00-3.56 0L1.917 9.706l1.187 1.61 8.323-6.136a1 1 0 011.187 0z"
|
|
49
49
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
50
|
d: "M8.5 10.5a1 1 0 011-1h1a1 1 0 011 1v1a1 1 0 01-1 1h-1a1 1 0 01-1-1v-1z"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("path", {
|
package/dist/es/index.js
CHANGED
|
@@ -27,6 +27,8 @@ export { default as TaReportCl } from './icons/report-cl';
|
|
|
27
27
|
export { default as TaUserTagCl } from './icons/user-tag-cl';
|
|
28
28
|
export { default as TaGroupCl } from './icons/group-cl';
|
|
29
29
|
export { default as TaVPropCl } from './icons/v-prop-cl';
|
|
30
|
+
export { default as TaBiVendor } from './icons/bi-vendor';
|
|
31
|
+
export { default as TaBiVendorFillCl } from './icons/bi-vendor-fill-cl';
|
|
30
32
|
export { default as TaDataOpsAiCl } from './icons/DataOps-AI-cl';
|
|
31
33
|
export { default as TaEngageAiCl } from './icons/Engage-AI-cl';
|
|
32
34
|
export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
|
|
@@ -135,6 +137,9 @@ export { default as TaAlignLegendTop } from './icons/align-legend-top';
|
|
|
135
137
|
export { default as TaAlignLegendBottom } from './icons/align-legend-bottom';
|
|
136
138
|
export { default as TaAlignLegendLeft } from './icons/align-legend-left';
|
|
137
139
|
export { default as TaAlignLegendRight } from './icons/align-legend-right';
|
|
140
|
+
export { default as TaLineCircle } from './icons/line-circle';
|
|
141
|
+
export { default as TaLineDiamond } from './icons/line-diamond';
|
|
142
|
+
export { default as TaLineSquare } from './icons/line-square';
|
|
138
143
|
export { default as TaOperatorEqual } from './icons/operator-equal';
|
|
139
144
|
export { default as TaOperatorUnequal } from './icons/operator-unequal';
|
|
140
145
|
export { default as TaOperatorDivide } from './icons/operator-divide';
|
|
@@ -250,6 +255,7 @@ export { default as TaGameFill } from './icons/game-fill';
|
|
|
250
255
|
export { default as TaShop } from './icons/shop';
|
|
251
256
|
export { default as TaShopFill } from './icons/shop-fill';
|
|
252
257
|
export { default as TaEarth } from './icons/earth';
|
|
258
|
+
export { default as TaIndexFill } from './icons/index-fill';
|
|
253
259
|
export { default as TaGoalFill } from './icons/goal-fill';
|
|
254
260
|
export { default as TaGoal } from './icons/goal';
|
|
255
261
|
export { default as TaOneTime } from './icons/one-time';
|
|
@@ -292,6 +298,8 @@ export { default as TaNeutral } from './icons/neutral';
|
|
|
292
298
|
export { default as TaRobot } from './icons/robot';
|
|
293
299
|
export { default as TaArrowExpand } from './icons/arrow-expand';
|
|
294
300
|
export { default as TaArrowClose } from './icons/arrow-close';
|
|
301
|
+
export { default as TaTranslation } from './icons/translation';
|
|
302
|
+
export { default as TaManualVerification } from './icons/manual-verification';
|
|
295
303
|
export { default as TaFontSize } from './icons/font-size';
|
|
296
304
|
export { default as TaFontBold } from './icons/font-bold';
|
|
297
305
|
export { default as TaFontItalic } from './icons/font- italic';
|
|
@@ -333,6 +341,8 @@ export { default as TaVip } from './icons/vip';
|
|
|
333
341
|
export { default as TaVipFill } from './icons/vip-fill';
|
|
334
342
|
export { default as TaSvipFill } from './icons/svip-fill';
|
|
335
343
|
export { default as TaTransferOwnership } from './icons/transfer-ownership';
|
|
344
|
+
export { default as TaUPropertyShunt } from './icons/u-property-shunt';
|
|
345
|
+
export { default as TaEventShunt } from './icons/event-shunt';
|
|
336
346
|
export { default as TaArrowLeft } from './icons/arrow-left';
|
|
337
347
|
export { default as TaArrowRight } from './icons/arrow-right';
|
|
338
348
|
export { default as TaArrowUp } from './icons/arrow-up';
|
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ export const TaReportCl: Icon;
|
|
|
39
39
|
export const TaUserTagCl: Icon;
|
|
40
40
|
export const TaGroupCl: Icon;
|
|
41
41
|
export const TaVPropCl: Icon;
|
|
42
|
+
export const TaBiVendor: Icon;
|
|
43
|
+
export const TaBiVendorFillCl: Icon;
|
|
42
44
|
export const TaDataOpsAiCl: Icon;
|
|
43
45
|
export const TaEngageAiCl: Icon;
|
|
44
46
|
export const TaDashboardReadingCl: Icon;
|
|
@@ -147,6 +149,9 @@ export const TaAlignLegendTop: Icon;
|
|
|
147
149
|
export const TaAlignLegendBottom: Icon;
|
|
148
150
|
export const TaAlignLegendLeft: Icon;
|
|
149
151
|
export const TaAlignLegendRight: Icon;
|
|
152
|
+
export const TaLineCircle: Icon;
|
|
153
|
+
export const TaLineDiamond: Icon;
|
|
154
|
+
export const TaLineSquare: Icon;
|
|
150
155
|
export const TaOperatorEqual: Icon;
|
|
151
156
|
export const TaOperatorUnequal: Icon;
|
|
152
157
|
export const TaOperatorDivide: Icon;
|
|
@@ -262,6 +267,7 @@ export const TaGameFill: Icon;
|
|
|
262
267
|
export const TaShop: Icon;
|
|
263
268
|
export const TaShopFill: Icon;
|
|
264
269
|
export const TaEarth: Icon;
|
|
270
|
+
export const TaIndexFill: Icon;
|
|
265
271
|
export const TaGoalFill: Icon;
|
|
266
272
|
export const TaGoal: Icon;
|
|
267
273
|
export const TaOneTime: Icon;
|
|
@@ -304,6 +310,8 @@ export const TaNeutral: Icon;
|
|
|
304
310
|
export const TaRobot: Icon;
|
|
305
311
|
export const TaArrowExpand: Icon;
|
|
306
312
|
export const TaArrowClose: Icon;
|
|
313
|
+
export const TaTranslation: Icon;
|
|
314
|
+
export const TaManualVerification: Icon;
|
|
307
315
|
export const TaFontSize: Icon;
|
|
308
316
|
export const TaFontBold: Icon;
|
|
309
317
|
export const TaFontItalic: Icon;
|
|
@@ -345,6 +353,8 @@ export const TaVip: Icon;
|
|
|
345
353
|
export const TaVipFill: Icon;
|
|
346
354
|
export const TaSvipFill: Icon;
|
|
347
355
|
export const TaTransferOwnership: Icon;
|
|
356
|
+
export const TaUPropertyShunt: Icon;
|
|
357
|
+
export const TaEventShunt: Icon;
|
|
348
358
|
export const TaArrowLeft: Icon;
|
|
349
359
|
export const TaArrowRight: Icon;
|
|
350
360
|
export const TaArrowUp: Icon;
|
|
@@ -53,7 +53,7 @@ var DashboardReadingCl = function DashboardReadingCl(props) {
|
|
|
53
53
|
fill: "none",
|
|
54
54
|
xmlns: "http://www.w3.org/2000/svg"
|
|
55
55
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
-
d: "M20.74 2.499h-7.826v-.555a.835.835 0 00-.82-.849.834.834 0 00-.823.847v.
|
|
56
|
+
d: "M20.74 2.499h-7.826v-.555a.835.835 0 00-.82-.849.834.834 0 00-.823.847v.556h-8.01c-1.201 0-2.164.991-2.164 2.218v11.093c0 1.225.963 2.233 2.166 2.233h8.023v2.13l-.312.088h.044l-3.24.993a.753.753 0 00-.483.409.92.92 0 00-.07.642.805.805 0 001.004.57l3.85-1.184 3.692 1.168c.072.03.156.046.24.046h.015a.823.823 0 00.78-.6.839.839 0 00-.54-1.035l-3.027-.965h.015l-.34-.102v-2.145h7.825c1.188 0 2.165-.993 2.165-2.235V4.719c-.015-1.227-.975-2.22-2.165-2.22zM2.723 4.718c0-.308.24-.556.539-.556h17.475c.298 0 .54.248.54.556V15.81a.548.548 0 01-.54.555H3.264a.545.545 0 01-.538-.555V4.717h-.002zm11.822 9.063a.788.788 0 01-.896.182.812.812 0 01-.264-.182l-3.495-3.605-3.426 3.533a.787.787 0 01-1.13 0 .85.85 0 01-.016-1.182l4.005-4.131a.803.803 0 011.146 0L13.965 12l3.61-3.722a.785.785 0 011.132 0c.156.161.24.365.255.585a.852.852 0 01-.227.598l-4.19 4.32z",
|
|
57
57
|
fill: "url(#paint0_linear_9712_23)"
|
|
58
58
|
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
59
59
|
id: "paint0_linear_9712_23",
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
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", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var BiVendorFillCl = function BiVendorFillCl(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
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
fill: "none",
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
55
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
d: "M20.75 20.25a.75.75 0 010 1.5h-18a.75.75 0 010-1.5h18z",
|
|
57
|
+
fill: "#915AFF"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M18.75 3a2 2 0 012 2v11.23a2 2 0 01-2 2h-14a2 2 0 01-2-2V5a2 2 0 012-2h14z",
|
|
60
|
+
fill: "#915AFF"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
d: "M15.352 6.432h1.296V15h-1.296V6.432z",
|
|
63
|
+
fill: "#F1ECFF"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
d: "M7.09 6.432h3.912c.84 0 1.488.192 1.968.6.456.384.684.9.684 1.56 0 .48-.12.888-.36 1.224a2.13 2.13 0 01-.996.708c.564.108.996.336 1.284.684.288.348.432.816.432 1.392 0 .864-.3 1.488-.888 1.896-.504.336-1.212.504-2.124.504H7.09V6.432zm1.308 1.08v2.556h2.256c.6 0 1.032-.108 1.296-.312.264-.216.396-.552.396-1.008 0-.432-.132-.744-.396-.936-.264-.204-.696-.3-1.272-.3h-2.28zm0 3.624v2.784h2.424c.552 0 .984-.096 1.296-.264.384-.228.588-.588.588-1.08 0-.504-.156-.876-.456-1.104-.3-.228-.768-.336-1.392-.336h-2.46z",
|
|
66
|
+
fill: "#F1ECFF"
|
|
67
|
+
}))));
|
|
68
|
+
};
|
|
69
|
+
BiVendorFillCl.propTypes = {
|
|
70
|
+
iconClassName: _propTypes["default"].string,
|
|
71
|
+
spin: _propTypes["default"].bool,
|
|
72
|
+
color: _propTypes["default"].string,
|
|
73
|
+
testid: _propTypes["default"].string,
|
|
74
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
75
|
+
};
|
|
76
|
+
BiVendorFillCl.defaultProps = {
|
|
77
|
+
spin: false,
|
|
78
|
+
color: 'currentColor',
|
|
79
|
+
size: '1em'
|
|
80
|
+
};
|
|
81
|
+
var _default = exports["default"] = BiVendorFillCl;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
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", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var BiVendor = function BiVendor(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
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M20.75 20.25a.75.75 0 010 1.5h-18a.75.75 0 010-1.5h18zM18.75 3a2 2 0 012 2v11.23a2 2 0 01-1.796 1.99l-.204.01h-14l-.204-.01a2 2 0 01-1.796-1.99V5a2 2 0 012-2h14zm-14 1.5a.5.5 0 00-.5.5v11.23a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V5a.5.5 0 00-.5-.5h-14zm6.252 1.932c.84 0 1.488.192 1.968.6.456.384.684.9.684 1.56 0 .48-.12.888-.36 1.224a2.13 2.13 0 01-.996.708c.564.108.996.336 1.284.684.288.348.432.816.432 1.392 0 .864-.3 1.488-.888 1.896-.504.336-1.212.504-2.124.504H7.09V6.432h3.912zM16.648 15h-1.296V6.432h1.296V15zm-8.25-1.08h2.424c.552 0 .984-.096 1.296-.264.384-.228.588-.588.588-1.08 0-.504-.156-.876-.456-1.104-.3-.228-.768-.336-1.392-.336h-2.46v2.784zm0-3.852h2.256c.6 0 1.032-.108 1.296-.312.264-.216.396-.552.396-1.008 0-.432-.132-.744-.396-.936-.264-.204-.696-.3-1.272-.3h-2.28v2.556z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
BiVendor.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
testid: _propTypes["default"].string,
|
|
63
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
|
+
};
|
|
65
|
+
BiVendor.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = BiVendor;
|
|
@@ -52,7 +52,7 @@ var BuiltIn = function BuiltIn(props) {
|
|
|
52
52
|
height: "24",
|
|
53
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
54
54
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
-
d: "M9.5 9.134a1 1 0 00-1 1.732L11 12.31v3.16a1 1 0 102 0v-3.047l2.696-1.557a1 1 0
|
|
55
|
+
d: "M9.5 9.134a1 1 0 00-1 1.732L11 12.31v3.16a1 1 0 102 0v-3.047l2.696-1.557a1 1 0 00-1-1.732l-2.598 1.5-2.598-1.5z"
|
|
56
56
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
57
|
fillRule: "evenodd",
|
|
58
58
|
clipRule: "evenodd",
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
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", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var EventShunt = function EventShunt(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
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M17.5 22v-2h-7l2-2H21l-3.5 4zm3.5-6h-8.519l-3.7 3.625-.3.375H3v-2h4.519l3.7-3.625.3-.375H17.5v-2l3.5 4zM19 2a2 2 0 012 2v2h-2V4H5v12H3V4a2 2 0 012-2h14zm-5 6.333l-3.267 1.4L9.333 13 7 6l7 2.333z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
EventShunt.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
testid: _propTypes["default"].string,
|
|
63
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
|
+
};
|
|
65
|
+
EventShunt.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = EventShunt;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
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", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var IndexFill = function IndexFill(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
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M12 2C6.478 2 2 6.478 2 12a9.97 9.97 0 00.783 3.886l5.17-6.634 3.627 3.723 2.547-3.216-1.556-1.556 6.217-1.665-1.665 6.216-1.572-1.571-3.901 4.728-3.527-3.616-4.277 5.48C5.658 20.328 8.632 22 12 22c5.522 0 10-4.478 10-10 0-5.525-4.475-10-10-10z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
IndexFill.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
testid: _propTypes["default"].string,
|
|
63
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
|
+
};
|
|
65
|
+
IndexFill.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = IndexFill;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
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", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var LineCircle = function LineCircle(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
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M12.5 7.25a4 4 0 013.929 3.25h4.57v3h-4.7a4 4 0 01-3.799 2.75h-1a4 4 0 01-3.8-2.75H3v-3h4.572A4 4 0 0111.5 7.25h1z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
LineCircle.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
testid: _propTypes["default"].string,
|
|
63
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
|
+
};
|
|
65
|
+
LineCircle.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = LineCircle;
|