@tant/icons 1.17.17 → 1.17.21
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/logo- API-gray.js +65 -0
- package/dist/es/icons/recycle.js +6 -10
- package/dist/es/icons/sql-table-view.js +79 -0
- package/dist/es/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/icons/logo- API-gray.js +72 -0
- package/dist/lib/icons/recycle.js +6 -10
- package/dist/lib/icons/sql-table-view.js +86 -0
- package/dist/lib/index.js +14 -0
- package/dist/tant-icons.cjs.js +1575 -1455
- package/dist/tant-icons.esm.js +1574 -1456
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(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 LogoApiGray = function LogoApiGray(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
|
+
fillRule: "evenodd",
|
|
49
|
+
clipRule: "evenodd",
|
|
50
|
+
d: "M19.56 3L21 4.44l-1.512 1.512a5.093 5.093 0 01-.648 6.408l-.72.72-1.44 1.44-1.44-1.44-4.32-4.32-1.44-1.44 1.44-1.44.72-.72a5.093 5.093 0 016.408-.648L19.56 3zm-2.88 8.64l-4.32-4.32.72-.72a3.055 3.055 0 014.32 4.32l-.72.72zm-9.36.72l4.32 4.32-.72.72a3.055 3.055 0 11-4.32-4.32l.72-.72zm0-2.88l1.44 1.44 1.44-1.44 1.44 1.44-1.44 1.44 1.44 1.44 1.44-1.44 1.44 1.44-1.44 1.44 1.44 1.44-1.44 1.44-.72.72a5.093 5.093 0 01-6.408.648L4.44 21 3 19.56l1.512-1.512a5.093 5.093 0 01.648-6.408l.72-.72 1.44-1.44z"
|
|
51
|
+
}))));
|
|
52
|
+
};
|
|
53
|
+
LogoApiGray.propTypes = {
|
|
54
|
+
iconClassName: PropTypes.string,
|
|
55
|
+
spin: PropTypes.bool,
|
|
56
|
+
color: PropTypes.string,
|
|
57
|
+
testid: PropTypes.string,
|
|
58
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
59
|
+
};
|
|
60
|
+
LogoApiGray.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default LogoApiGray;
|
package/dist/es/icons/recycle.js
CHANGED
|
@@ -45,19 +45,15 @@ var Recycle = function Recycle(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "
|
|
48
|
+
d: "M13.103 12.331A1.99 1.99 0 0012 12c-.45 0-.864.148-1.198.398l-1.867-.969A3.991 3.991 0 0112 10c1.15 0 2.187.486 2.917 1.263l-1.814 1.068z"
|
|
49
49
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
-
d: "
|
|
50
|
+
d: "M10.014 14.236a2 2 0 00.852 1.412v2.189a4.001 4.001 0 01-2.792-4.605l1.94 1.004z"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
-
d: "
|
|
52
|
+
d: "M13.996 14.125a2 2 0 01-1.13 1.678v2.034c0 .023 0 .046-.002.07a4.002 4.002 0 003.014-4.89l-1.882 1.108z"
|
|
53
53
|
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
d: "
|
|
57
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
-
d: "M5.07 16c.175.302.37.593.582.87l-1.586 1.218A10.007 10.007 0 013.338 17l1.732-1.002z"
|
|
59
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
-
d: "M19.057 15.771c.246-.458.448-.942.6-1.448l1.915.58a9.945 9.945 0 01-.752 1.812l-1.763-.944z"
|
|
54
|
+
fillRule: "evenodd",
|
|
55
|
+
clipRule: "evenodd",
|
|
56
|
+
d: "M22 6h-5V3a1 1 0 00-1-1H8a1 1 0 00-1 1v3H2v2h2v13a1 1 0 001 1h14a1 1 0 001-1V8h2V6zM6 8h12v12H6V8zm3-2V4h6v2H9z"
|
|
61
57
|
}))));
|
|
62
58
|
};
|
|
63
59
|
Recycle.propTypes = {
|
|
@@ -0,0 +1,79 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(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 SqlTableView = function SqlTableView(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: "M22.4 2.4h-20v3h20v-3z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M8.4 7.4h-6v3h6v-3z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M8.4 12.4h-6v3h6v-3z"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
d: "M8.4 17.4h-6v3h6v-3z"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
d: "M15.4 7.4h-5v2.2h5V7.4z"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
d: "M22.4 7.4v2.2h-5V7.4h5z"
|
|
59
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
d: "M18.186 15.6c0 .736-.62 1.333-1.386 1.333-.766 0-1.386-.597-1.386-1.333s.62-1.333 1.386-1.333c.765 0 1.386.597 1.386 1.333z"
|
|
61
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
fillRule: "evenodd",
|
|
63
|
+
clipRule: "evenodd",
|
|
64
|
+
d: "M22.8 15.6c-.522-2.73-3.01-4.8-6-4.8s-5.479 2.07-6 4.8c.522 2.73 3.01 4.8 6 4.8s5.479-2.07 6-4.8zm-6-2.4c1.378 0 2.494 1.075 2.494 2.4S18.178 18 16.8 18c-1.378 0-2.495-1.075-2.495-2.4s1.117-2.4 2.495-2.4z"
|
|
65
|
+
}))));
|
|
66
|
+
};
|
|
67
|
+
SqlTableView.propTypes = {
|
|
68
|
+
iconClassName: PropTypes.string,
|
|
69
|
+
spin: PropTypes.bool,
|
|
70
|
+
color: PropTypes.string,
|
|
71
|
+
testid: PropTypes.string,
|
|
72
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
73
|
+
};
|
|
74
|
+
SqlTableView.defaultProps = {
|
|
75
|
+
spin: false,
|
|
76
|
+
color: 'currentColor',
|
|
77
|
+
size: '1em'
|
|
78
|
+
};
|
|
79
|
+
export default SqlTableView;
|
package/dist/es/index.js
CHANGED
|
@@ -79,6 +79,7 @@ export { default as TaLogoFcmCl } from './icons/logo-fcm-cl';
|
|
|
79
79
|
export { default as TaLogoWebhookGray } from './icons/logo-webhook-gray';
|
|
80
80
|
export { default as TaLogoAppPushGray } from './icons/logo-AppPush-gray';
|
|
81
81
|
export { default as TaLogoClientsideGray } from './icons/logo-clientside-gray';
|
|
82
|
+
export { default as TaLogoApiGray } from './icons/logo- API-gray';
|
|
82
83
|
export { default as TaLogoDouyinGray } from './icons/logo-douyin-gray';
|
|
83
84
|
export { default as TaAvatarGroupCl } from './icons/avatar-group-cl';
|
|
84
85
|
export { default as TaAvatarProjectCl } from './icons/avatar-project-cl';
|
|
@@ -145,6 +146,7 @@ export { default as TaChartDistTable } from './icons/chart-dist-table';
|
|
|
145
146
|
export { default as TaChartBarTable } from './icons/chart-bar-table';
|
|
146
147
|
export { default as TaChartLineTable } from './icons/chart-line-table';
|
|
147
148
|
export { default as TaChartScatter } from './icons/chart-scatter';
|
|
149
|
+
export { default as TaSqlTableView } from './icons/sql-table-view';
|
|
148
150
|
export { default as TaMEvent } from './icons/m-event';
|
|
149
151
|
export { default as TaMRetention } from './icons/m-retention';
|
|
150
152
|
export { default as TaMFunnel } from './icons/m-funnel';
|
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ export const TaLogoFcmCl: Icon;
|
|
|
91
91
|
export const TaLogoWebhookGray: Icon;
|
|
92
92
|
export const TaLogoAppPushGray: Icon;
|
|
93
93
|
export const TaLogoClientsideGray: Icon;
|
|
94
|
+
export const TaLogoApiGray: Icon;
|
|
94
95
|
export const TaLogoDouyinGray: Icon;
|
|
95
96
|
export const TaAvatarGroupCl: Icon;
|
|
96
97
|
export const TaAvatarProjectCl: Icon;
|
|
@@ -157,6 +158,7 @@ export const TaChartDistTable: Icon;
|
|
|
157
158
|
export const TaChartBarTable: Icon;
|
|
158
159
|
export const TaChartLineTable: Icon;
|
|
159
160
|
export const TaChartScatter: Icon;
|
|
161
|
+
export const TaSqlTableView: Icon;
|
|
160
162
|
export const TaMEvent: Icon;
|
|
161
163
|
export const TaMRetention: Icon;
|
|
162
164
|
export const TaMFunnel: Icon;
|
|
@@ -0,0 +1,72 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var LogoApiGray = function LogoApiGray(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
|
+
fillRule: "evenodd",
|
|
56
|
+
clipRule: "evenodd",
|
|
57
|
+
d: "M19.56 3L21 4.44l-1.512 1.512a5.093 5.093 0 01-.648 6.408l-.72.72-1.44 1.44-1.44-1.44-4.32-4.32-1.44-1.44 1.44-1.44.72-.72a5.093 5.093 0 016.408-.648L19.56 3zm-2.88 8.64l-4.32-4.32.72-.72a3.055 3.055 0 014.32 4.32l-.72.72zm-9.36.72l4.32 4.32-.72.72a3.055 3.055 0 11-4.32-4.32l.72-.72zm0-2.88l1.44 1.44 1.44-1.44 1.44 1.44-1.44 1.44 1.44 1.44 1.44-1.44 1.44 1.44-1.44 1.44 1.44 1.44-1.44 1.44-.72.72a5.093 5.093 0 01-6.408.648L4.44 21 3 19.56l1.512-1.512a5.093 5.093 0 01.648-6.408l.72-.72 1.44-1.44z"
|
|
58
|
+
}))));
|
|
59
|
+
};
|
|
60
|
+
LogoApiGray.propTypes = {
|
|
61
|
+
iconClassName: _propTypes["default"].string,
|
|
62
|
+
spin: _propTypes["default"].bool,
|
|
63
|
+
color: _propTypes["default"].string,
|
|
64
|
+
testid: _propTypes["default"].string,
|
|
65
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
66
|
+
};
|
|
67
|
+
LogoApiGray.defaultProps = {
|
|
68
|
+
spin: false,
|
|
69
|
+
color: 'currentColor',
|
|
70
|
+
size: '1em'
|
|
71
|
+
};
|
|
72
|
+
var _default = exports["default"] = LogoApiGray;
|
|
@@ -52,19 +52,15 @@ var Recycle = function Recycle(props) {
|
|
|
52
52
|
height: "24",
|
|
53
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
54
54
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
-
d: "
|
|
55
|
+
d: "M13.103 12.331A1.99 1.99 0 0012 12c-.45 0-.864.148-1.198.398l-1.867-.969A3.991 3.991 0 0112 10c1.15 0 2.187.486 2.917 1.263l-1.814 1.068z"
|
|
56
56
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
-
d: "
|
|
57
|
+
d: "M10.014 14.236a2 2 0 00.852 1.412v2.189a4.001 4.001 0 01-2.792-4.605l1.94 1.004z"
|
|
58
58
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
-
d: "
|
|
59
|
+
d: "M13.996 14.125a2 2 0 01-1.13 1.678v2.034c0 .023 0 .046-.002.07a4.002 4.002 0 003.014-4.89l-1.882 1.108z"
|
|
60
60
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
d: "
|
|
64
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
-
d: "M5.07 16c.175.302.37.593.582.87l-1.586 1.218A10.007 10.007 0 013.338 17l1.732-1.002z"
|
|
66
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
67
|
-
d: "M19.057 15.771c.246-.458.448-.942.6-1.448l1.915.58a9.945 9.945 0 01-.752 1.812l-1.763-.944z"
|
|
61
|
+
fillRule: "evenodd",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
d: "M22 6h-5V3a1 1 0 00-1-1H8a1 1 0 00-1 1v3H2v2h2v13a1 1 0 001 1h14a1 1 0 001-1V8h2V6zM6 8h12v12H6V8zm3-2V4h6v2H9z"
|
|
68
64
|
}))));
|
|
69
65
|
};
|
|
70
66
|
Recycle.propTypes = {
|
|
@@ -0,0 +1,86 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var SqlTableView = function SqlTableView(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: "M22.4 2.4h-20v3h20v-3z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M8.4 7.4h-6v3h6v-3z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M8.4 12.4h-6v3h6v-3z"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
+
d: "M8.4 17.4h-6v3h6v-3z"
|
|
62
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
63
|
+
d: "M15.4 7.4h-5v2.2h5V7.4z"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
d: "M22.4 7.4v2.2h-5V7.4h5z"
|
|
66
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
67
|
+
d: "M18.186 15.6c0 .736-.62 1.333-1.386 1.333-.766 0-1.386-.597-1.386-1.333s.62-1.333 1.386-1.333c.765 0 1.386.597 1.386 1.333z"
|
|
68
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
69
|
+
fillRule: "evenodd",
|
|
70
|
+
clipRule: "evenodd",
|
|
71
|
+
d: "M22.8 15.6c-.522-2.73-3.01-4.8-6-4.8s-5.479 2.07-6 4.8c.522 2.73 3.01 4.8 6 4.8s5.479-2.07 6-4.8zm-6-2.4c1.378 0 2.494 1.075 2.494 2.4S18.178 18 16.8 18c-1.378 0-2.495-1.075-2.495-2.4s1.117-2.4 2.495-2.4z"
|
|
72
|
+
}))));
|
|
73
|
+
};
|
|
74
|
+
SqlTableView.propTypes = {
|
|
75
|
+
iconClassName: _propTypes["default"].string,
|
|
76
|
+
spin: _propTypes["default"].bool,
|
|
77
|
+
color: _propTypes["default"].string,
|
|
78
|
+
testid: _propTypes["default"].string,
|
|
79
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
80
|
+
};
|
|
81
|
+
SqlTableView.defaultProps = {
|
|
82
|
+
spin: false,
|
|
83
|
+
color: 'currentColor',
|
|
84
|
+
size: '1em'
|
|
85
|
+
};
|
|
86
|
+
var _default = exports["default"] = SqlTableView;
|
package/dist/lib/index.js
CHANGED
|
@@ -1359,6 +1359,12 @@ Object.defineProperty(exports, "TaLogoAndroidGray", {
|
|
|
1359
1359
|
return _logoAndroidGray["default"];
|
|
1360
1360
|
}
|
|
1361
1361
|
});
|
|
1362
|
+
Object.defineProperty(exports, "TaLogoApiGray", {
|
|
1363
|
+
enumerable: true,
|
|
1364
|
+
get: function get() {
|
|
1365
|
+
return _logoAPIGray["default"];
|
|
1366
|
+
}
|
|
1367
|
+
});
|
|
1362
1368
|
Object.defineProperty(exports, "TaLogoAppPushGray", {
|
|
1363
1369
|
enumerable: true,
|
|
1364
1370
|
get: function get() {
|
|
@@ -2229,6 +2235,12 @@ Object.defineProperty(exports, "TaSql3", {
|
|
|
2229
2235
|
return _sql3["default"];
|
|
2230
2236
|
}
|
|
2231
2237
|
});
|
|
2238
|
+
Object.defineProperty(exports, "TaSqlTableView", {
|
|
2239
|
+
enumerable: true,
|
|
2240
|
+
get: function get() {
|
|
2241
|
+
return _sqlTableView["default"];
|
|
2242
|
+
}
|
|
2243
|
+
});
|
|
2232
2244
|
Object.defineProperty(exports, "TaStarFill", {
|
|
2233
2245
|
enumerable: true,
|
|
2234
2246
|
get: function get() {
|
|
@@ -2742,6 +2754,7 @@ var _logoFcmCl = _interopRequireDefault(require("./icons/logo-fcm-cl"));
|
|
|
2742
2754
|
var _logoWebhookGray = _interopRequireDefault(require("./icons/logo-webhook-gray"));
|
|
2743
2755
|
var _logoAppPushGray = _interopRequireDefault(require("./icons/logo-AppPush-gray"));
|
|
2744
2756
|
var _logoClientsideGray = _interopRequireDefault(require("./icons/logo-clientside-gray"));
|
|
2757
|
+
var _logoAPIGray = _interopRequireDefault(require("./icons/logo- API-gray"));
|
|
2745
2758
|
var _logoDouyinGray = _interopRequireDefault(require("./icons/logo-douyin-gray"));
|
|
2746
2759
|
var _avatarGroupCl = _interopRequireDefault(require("./icons/avatar-group-cl"));
|
|
2747
2760
|
var _avatarProjectCl = _interopRequireDefault(require("./icons/avatar-project-cl"));
|
|
@@ -2808,6 +2821,7 @@ var _chartDistTable = _interopRequireDefault(require("./icons/chart-dist-table")
|
|
|
2808
2821
|
var _chartBarTable = _interopRequireDefault(require("./icons/chart-bar-table"));
|
|
2809
2822
|
var _chartLineTable = _interopRequireDefault(require("./icons/chart-line-table"));
|
|
2810
2823
|
var _chartScatter = _interopRequireDefault(require("./icons/chart-scatter"));
|
|
2824
|
+
var _sqlTableView = _interopRequireDefault(require("./icons/sql-table-view"));
|
|
2811
2825
|
var _mEvent = _interopRequireDefault(require("./icons/m-event"));
|
|
2812
2826
|
var _mRetention = _interopRequireDefault(require("./icons/m-retention"));
|
|
2813
2827
|
var _mFunnel = _interopRequireDefault(require("./icons/m-funnel"));
|