@tant/icons 1.18.12 → 1.18.14
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/copy-ddl.js +73 -0
- package/dist/es/icons/copy-query.js +67 -0
- package/dist/es/icons/logo-starrocks.js +69 -0
- package/dist/es/icons/logo-trino.js +112 -0
- package/dist/es/index.js +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/lib/icons/copy-ddl.js +80 -0
- package/dist/lib/icons/copy-query.js +74 -0
- package/dist/lib/icons/logo-starrocks.js +76 -0
- package/dist/lib/icons/logo-trino.js +119 -0
- package/dist/lib/index.js +28 -0
- package/dist/tant-icons.cjs.js +1807 -1526
- package/dist/tant-icons.esm.js +1804 -1527
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
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 CopyDdl = function CopyDdl(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: "M6 6V3a1 1 0 011-1h12a1 1 0 011 1v5h-2V4H8v2h7a1 1 0 011 1v4h-2V8H4.002L4 19H2l.003-12c0-.552.45-1 1.006-1H6z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
fillRule: "evenodd",
|
|
51
|
+
clipRule: "evenodd",
|
|
52
|
+
d: "M6 13h2.273c.836 0 1.432.127 1.786.38.364.243.59.658.679 1.242.098.576.147 1.535.147 2.878 0 1.343-.049 2.307-.147 2.891-.089.576-.315.99-.68 1.243-.353.244-.949.366-1.785.366H6v-9zm2.273 7.783c.364 0 .615-.052.753-.157.147-.113.246-.383.295-.81.049-.437.074-1.208.074-2.316 0-1.108-.025-1.875-.074-2.302-.05-.436-.148-.707-.295-.811-.138-.114-.389-.17-.753-.17H7.49v6.566h.782z"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
fillRule: "evenodd",
|
|
55
|
+
clipRule: "evenodd",
|
|
56
|
+
d: "M12.126 13h2.273c.836 0 1.431.127 1.785.38.364.243.59.658.68 1.242.098.576.147 1.535.147 2.878 0 1.343-.05 2.307-.148 2.891-.088.576-.315.99-.679 1.243-.354.244-.95.366-1.786.366h-2.272v-9zm2.273 7.783c.364 0 .615-.052.752-.157.148-.113.246-.383.295-.81.05-.437.074-1.208.074-2.316 0-1.108-.024-1.875-.074-2.302-.049-.436-.147-.707-.295-.811-.137-.114-.388-.17-.752-.17h-.783v6.566h.783z"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
d: "M19.771 13h-1.52v9H22v-1.23h-2.229V13z"
|
|
59
|
+
}))));
|
|
60
|
+
};
|
|
61
|
+
CopyDdl.propTypes = {
|
|
62
|
+
iconClassName: PropTypes.string,
|
|
63
|
+
spin: PropTypes.bool,
|
|
64
|
+
color: PropTypes.string,
|
|
65
|
+
testid: PropTypes.string,
|
|
66
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
67
|
+
};
|
|
68
|
+
CopyDdl.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '1em'
|
|
72
|
+
};
|
|
73
|
+
export default CopyDdl;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 CopyQuery = function CopyQuery(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: "M7 6V3a1 1 0 011-1h12a1 1 0 011 1v12h-2V4H9v2h7a1 1 0 011 1v4h-2V8H5.002L5 19H3l.003-12c0-.552.45-1 1.006-1h2.99z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
fillRule: "evenodd",
|
|
51
|
+
clipRule: "evenodd",
|
|
52
|
+
d: "M15.695 18.566a4.791 4.791 0 00-7.292-6.163 4.79 4.79 0 006.163 7.292L16.87 22 18 20.87l-2.305-2.304zm-1.647-5.034a3.193 3.193 0 11-4.516 4.516 3.193 3.193 0 014.516-4.516z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
CopyQuery.propTypes = {
|
|
56
|
+
iconClassName: PropTypes.string,
|
|
57
|
+
spin: PropTypes.bool,
|
|
58
|
+
color: PropTypes.string,
|
|
59
|
+
testid: PropTypes.string,
|
|
60
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
61
|
+
};
|
|
62
|
+
CopyQuery.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
export default CopyQuery;
|
|
@@ -0,0 +1,69 @@
|
|
|
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 LogoStarrocks = function LogoStarrocks(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: "M3.448 6.802c-.022.493.202.762.516 1.009l6.051 4.975c.56.47.605.785.224 1.39L7.281 18.68c-.381.56-.717.65-1.322.314l-1.883-1.076C3.359 17.515 3 16.888 3 16.059V8.102c0-.448.112-.852.448-1.3z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M20.505 17.426c.134-.516-.113-.785-.426-1.031-2.018-1.659-4.012-3.295-6.007-4.954-.65-.537-.695-.806-.247-1.501.964-1.48 1.95-2.959 2.914-4.438.381-.583.74-.65 1.345-.314.627.359 1.255.717 1.86 1.076.717.404 1.053 1.009 1.053 1.838v7.979c.023.47-.111.919-.492 1.345z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M15.843 13.616c.134.09 3.877 3.16 3.922 3.205.538.493.493.918-.135 1.3-1.613.919-5.984 3.406-6.544 3.742-.717.426-1.435.426-2.152 0-1.03-.605-2.062-1.187-3.093-1.793-.493-.29-.493-.605 0-.874 2.443-1.39 4.864-2.801 7.307-4.19.56-.315.941-.65.695-1.39z"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
d: "M8.177 10.567c-.134-.09-3.877-3.16-3.922-3.205-.538-.493-.493-.919.135-1.3 1.613-.919 5.984-3.406 6.544-3.743.717-.425 1.435-.425 2.152 0 1.03.606 2.062 1.188 3.093 1.793.493.292.493.606 0 .875-2.443 1.39-4.864 2.801-7.307 4.19-.56.315-.941.65-.695 1.39z"
|
|
55
|
+
}))));
|
|
56
|
+
};
|
|
57
|
+
LogoStarrocks.propTypes = {
|
|
58
|
+
iconClassName: PropTypes.string,
|
|
59
|
+
spin: PropTypes.bool,
|
|
60
|
+
color: PropTypes.string,
|
|
61
|
+
testid: PropTypes.string,
|
|
62
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
63
|
+
};
|
|
64
|
+
LogoStarrocks.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
export default LogoStarrocks;
|
|
@@ -0,0 +1,112 @@
|
|
|
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 LogoTrino = function LogoTrino(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("g", {
|
|
48
|
+
clipPath: "url(#clip0_9285_217)"
|
|
49
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M18.545 11.197c0-.29-.118-.57-.327-.775a1.127 1.127 0 00-1.578 0c-.21.206-.327.484-.327.775.005.208.077.41.204.576.127.167.304.29.506.355v1.668a5.61 5.61 0 00-2.57-2.866c.17-.365.345-.679.513-.967a24.115 24.115 0 012.11-2.643c.42-.49.818-.95 1.142-1.351.908-1.117 1.905-2.768 1.719-3.746a.924.924 0 00-.465-.66c-1.262-.73-2.977 1.642-4.663 3.931-1.116 1.512-1.693 3.651-1.957 4.852a7.52 7.52 0 00-1.574-.168 7.056 7.056 0 00-2.262.365 30.5 30.5 0 01.123-4.016c.372-3.472.208-5.509-.48-6.206A.903.903 0 007.929 0c-2.031.098-1.8 6.053-1.767 6.732.082 1.628.744 3.607 1.146 4.702a5.633 5.633 0 00-1.954 2.851H5.21a1.176 1.176 0 00-.837.3A1.137 1.137 0 004 15.38v1.888a1.12 1.12 0 00.373.794 1.167 1.167 0 00.836.301h.246c.28.643.697 1.22 1.224 1.69l-.372.322a.424.424 0 00-.048.599c1.116 1.332 2.943 2.095 4.993 2.095 2.05 0 3.885-.763 4.994-2.095a.422.422 0 00-.049-.6l-.372-.32a4.95 4.95 0 001.224-1.72h.28a1.182 1.182 0 00.836-.301 1.141 1.141 0 00.373-.794v-1.873a1.06 1.06 0 00-.203-.596 1.09 1.09 0 00-.508-.383v-2.26c.204-.062.382-.185.511-.352a.992.992 0 00.207-.578z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M9.44 20.35c.342-.223-.558-.14-.633-.289a6.236 6.236 0 01-1.064-.186c-.632-.164-2.15-1.165-2.314-2.125-.164-.96 0-2.782.684-3.877a6.331 6.331 0 011.63-1.716s-1.328-3.1-1.44-5.44C6.192 4.377 6.378.212 7.933.14 9.488.066 9.261 3.965 8.997 6.502a32.45 32.45 0 00-.074 5.067 7.47 7.47 0 012.046-.336 8 8 0 011.824.168s.494-3.592 2.124-5.84c1.63-2.25 3.349-4.546 4.465-3.893 1.116.654-.305 2.987-1.29 4.202-.987 1.216-2.695 3.042-3.264 4.016a16.85 16.85 0 00-.986 2.012 5.506 5.506 0 012.377 2.307c.804 1.574.864 3.509.432 4.33a2.97 2.97 0 01-.877.96c-.36.252-.774.423-1.21.5-.495.022-2.575.53-2.575.53l-2.55-.175z"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
d: "M13.083 11.434s1.243-3.18 2.355-4.965c1.113-1.785 2.605-3.136 3.074-2.862.468.274-.957 1.942-2.207 3.581a41.262 41.262 0 00-2.765 4.52l-.457-.274z"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
d: "M8.093 11.978l.372-.27s-.052-3.18 0-5.111c.052-1.931.153-4.344-.506-4.323-.658.022-1.116 1.888-.86 4.52.185 1.752.518 3.486.994 5.184z"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
d: "M6.984 18.794a.715.715 0 00.722-.708.715.715 0 00-.722-.708.715.715 0 00-.722.708c0 .391.323.708.722.708z"
|
|
59
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
d: "M15.516 18.794a.715.715 0 00.722-.708.715.715 0 00-.722-.708.715.715 0 00-.722.708c0 .391.324.708.722.708z"
|
|
61
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
d: "M12.447 18.028a.069.069 0 00-.053-.007.068.068 0 00-.04.032s-.216.365-.529.387a.79.79 0 01-.558-.255v-.54c.2-.11.525-.439.525-.552a.514.514 0 00-.202-.3.532.532 0 00-.353-.098c-.372 0-.632.237-.632.434 0 .198.409.453.524.526v.533a.674.674 0 01-.487.252c-.294 0-.517-.394-.521-.398a.072.072 0 00-.093-.03.072.072 0 00-.03.095s.264.472.644.472a.8.8 0 00.562-.267.889.889 0 00.588.267h.044a.936.936 0 00.636-.46.063.063 0 00.007-.051.065.065 0 00-.032-.04z"
|
|
63
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
64
|
+
d: "M7.743 12.164S6.713 9.61 6.515 8.273c-.197-1.337-.372-3.567-.111-5.053.112-.685.263-1.362.454-2.03 0 0-.48 3.465-.302 4.98.179 1.515 1.187 5.994 1.187 5.994z"
|
|
65
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
66
|
+
d: "M12.793 11.401s.744-3.866 1.827-5.385c1.082-1.518 2.426-3.362 3.106-3.826l.681-.467s-2.73 2.811-3.787 5.111-1.827 4.567-1.827 4.567z"
|
|
67
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
68
|
+
d: "M8.465 15.782a.573.573 0 00-.525.34.545.545 0 00.12.606.57.57 0 00.871-.082.548.548 0 00-.068-.7.57.57 0 00-.398-.164zm.16.515a.154.154 0 01-.108-.044.148.148 0 010-.211.154.154 0 01.216 0 .148.148 0 01-.055.246.155.155 0 01-.06.01h.007z"
|
|
69
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
d: "M14.017 15.782a.573.573 0 00-.523.343.545.545 0 00.123.605.569.569 0 00.616.12.564.564 0 00.254-.204.547.547 0 00-.07-.701.571.571 0 00-.4-.163zm.16.515a.158.158 0 01-.107-.045.152.152 0 01-.046-.105.152.152 0 01.053-.092.158.158 0 01.256.092c0 .04-.018.079-.047.107a.158.158 0 01-.11.043z"
|
|
71
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
72
|
+
opacity: ".2",
|
|
73
|
+
d: "M11.341 20.255c2.898 0 5.247-1.661 5.247-3.71 0-2.048-2.349-3.709-5.247-3.709-2.897 0-5.246 1.66-5.246 3.71 0 2.048 2.349 3.709 5.247 3.709z"
|
|
74
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
75
|
+
d: "M17.693 14.483v-2.435a.914.914 0 00.501-.298.885.885 0 00.213-.535.962.962 0 00-.32-.617.997.997 0 00-1.32 0 .962.962 0 00-.32.617.88.88 0 00.21.535.91.91 0 00.5.298v2.373h-.07c-.745-2.534-2.944-4.107-5.813-4.107-2.868 0-5.082 1.558-5.815 4.107h-.25c-.27-.013-.533.079-.734.256a.997.997 0 00-.337.69v1.887c.016.263.138.51.338.687.2.176.464.268.733.255h.339a4.788 4.788 0 001.34 1.858l-.484.423a.289.289 0 00-.104.198.283.283 0 00.07.211c1.087 1.289 2.87 2.045 4.886 2.045 2.017 0 3.799-.73 4.885-2.045a.285.285 0 00-.033-.409l-.484-.423a4.871 4.871 0 001.34-1.858h.372c.269.012.532-.08.733-.255a.997.997 0 00.338-.687v-1.888a.946.946 0 00-.21-.556.976.976 0 00-.504-.327zm-6.419-1.479c2.657 0 4.815 1.716 4.815 3.822 0 2.282-2.426 3.286-4.815 3.286-2.388 0-4.814-1.022-4.814-3.285 0-2.107 2.158-3.823 4.814-3.823z"
|
|
76
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
77
|
+
d: "M17.872 16.622h-.715v-.343c0-.466-.047-.93-.141-1.387h.301a.51.51 0 01.49.283c.028.06.044.125.046.191l.019 1.256z"
|
|
78
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
79
|
+
d: "M17.336 17.725h-.372c.07-.258.124-.52.16-.785h.744v.314a.48.48 0 01-.165.346.501.501 0 01-.367.125z"
|
|
80
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
81
|
+
d: "M11.274 22.445c-1.786 0-3.37-.631-4.372-1.749l.503-.438a6.739 6.739 0 003.87 1.096 6.75 6.75 0 003.87-1.096l.498.438c-.997 1.117-2.586 1.75-4.369 1.75z"
|
|
82
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
83
|
+
d: "M5.21 14.892h.32c-.094.456-.141.921-.142 1.387a2.213 2.213 0 000 .343h-.696v-1.256a.46.46 0 01.15-.35.479.479 0 01.367-.124z"
|
|
84
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
85
|
+
d: "M11.274 12.69a6.594 6.594 0 00-1.786.252V11.04a6.489 6.489 0 011.786-.237 6.478 6.478 0 011.783.237v1.917a6.06 6.06 0 00-1.783-.267z"
|
|
86
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
87
|
+
d: "M9.135 11.15v1.92c-1.786.642-3.033 2.092-3.033 3.756 0 2.158 2.088 3.618 5.172 3.618 3.085 0 5.173-1.46 5.173-3.617 0-1.665-1.25-3.115-3.033-3.757v-1.92c2.087.73 3.39 2.624 3.39 5.143 0 2.834-2.214 4.747-5.53 4.747-3.315 0-5.529-1.903-5.529-4.747 0-2.519 1.302-4.406 3.39-5.143z"
|
|
88
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
89
|
+
d: "M4.673 16.94h.745c.034.265.087.527.16.785h-.373a.512.512 0 01-.369-.125.494.494 0 01-.166-.346l.003-.314z"
|
|
90
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
91
|
+
d: "M17.425 11.591c.247 0 .447-.176.447-.394 0-.218-.2-.394-.447-.394s-.447.176-.447.394c0 .218.2.394.447.394z"
|
|
92
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
93
|
+
id: "clip0_9285_217"
|
|
94
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
95
|
+
width: "16",
|
|
96
|
+
height: "23",
|
|
97
|
+
transform: "translate(4)"
|
|
98
|
+
}))))));
|
|
99
|
+
};
|
|
100
|
+
LogoTrino.propTypes = {
|
|
101
|
+
iconClassName: PropTypes.string,
|
|
102
|
+
spin: PropTypes.bool,
|
|
103
|
+
color: PropTypes.string,
|
|
104
|
+
testid: PropTypes.string,
|
|
105
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
106
|
+
};
|
|
107
|
+
LogoTrino.defaultProps = {
|
|
108
|
+
spin: false,
|
|
109
|
+
color: 'currentColor',
|
|
110
|
+
size: '1em'
|
|
111
|
+
};
|
|
112
|
+
export default LogoTrino;
|
package/dist/es/index.js
CHANGED
|
@@ -86,6 +86,8 @@ export { default as TaLogoAppPushGray } from './icons/logo-AppPush-gray';
|
|
|
86
86
|
export { default as TaLogoClientsideGray } from './icons/logo-clientside-gray';
|
|
87
87
|
export { default as TaLogoApiGray } from './icons/logo- API-gray';
|
|
88
88
|
export { default as TaLogoDouyinGray } from './icons/logo-douyin-gray';
|
|
89
|
+
export { default as TaLogoTrino } from './icons/logo-trino';
|
|
90
|
+
export { default as TaLogoStarrocks } from './icons/logo-starrocks';
|
|
89
91
|
export { default as TaAvatarGroupCl } from './icons/avatar-group-cl';
|
|
90
92
|
export { default as TaAvatarProjectCl } from './icons/avatar-project-cl';
|
|
91
93
|
export { default as TaReport } from './icons/report';
|
|
@@ -277,6 +279,8 @@ export { default as TaBuildMode } from './icons/build-mode';
|
|
|
277
279
|
export { default as TaCodeVariable } from './icons/code-variable';
|
|
278
280
|
export { default as TaTableRow } from './icons/table-row';
|
|
279
281
|
export { default as TaTableCol } from './icons/table-col';
|
|
282
|
+
export { default as TaCopyQuery } from './icons/copy-query';
|
|
283
|
+
export { default as TaCopyDdl } from './icons/copy-ddl';
|
|
280
284
|
export { default as TaUser1 } from './icons/user-1';
|
|
281
285
|
export { default as TaUser1Fill } from './icons/user-1-fill';
|
|
282
286
|
export { default as TaUser2 } from './icons/user-2';
|
package/dist/index.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ export const TaLogoAppPushGray: Icon;
|
|
|
98
98
|
export const TaLogoClientsideGray: Icon;
|
|
99
99
|
export const TaLogoApiGray: Icon;
|
|
100
100
|
export const TaLogoDouyinGray: Icon;
|
|
101
|
+
export const TaLogoTrino: Icon;
|
|
102
|
+
export const TaLogoStarrocks: Icon;
|
|
101
103
|
export const TaAvatarGroupCl: Icon;
|
|
102
104
|
export const TaAvatarProjectCl: Icon;
|
|
103
105
|
export const TaReport: Icon;
|
|
@@ -289,6 +291,8 @@ export const TaBuildMode: Icon;
|
|
|
289
291
|
export const TaCodeVariable: Icon;
|
|
290
292
|
export const TaTableRow: Icon;
|
|
291
293
|
export const TaTableCol: Icon;
|
|
294
|
+
export const TaCopyQuery: Icon;
|
|
295
|
+
export const TaCopyDdl: Icon;
|
|
292
296
|
export const TaUser1: Icon;
|
|
293
297
|
export const TaUser1Fill: Icon;
|
|
294
298
|
export const TaUser2: Icon;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 CopyDdl = function CopyDdl(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: "M6 6V3a1 1 0 011-1h12a1 1 0 011 1v5h-2V4H8v2h7a1 1 0 011 1v4h-2V8H4.002L4 19H2l.003-12c0-.552.45-1 1.006-1H6z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
fillRule: "evenodd",
|
|
58
|
+
clipRule: "evenodd",
|
|
59
|
+
d: "M6 13h2.273c.836 0 1.432.127 1.786.38.364.243.59.658.679 1.242.098.576.147 1.535.147 2.878 0 1.343-.049 2.307-.147 2.891-.089.576-.315.99-.68 1.243-.353.244-.949.366-1.785.366H6v-9zm2.273 7.783c.364 0 .615-.052.753-.157.147-.113.246-.383.295-.81.049-.437.074-1.208.074-2.316 0-1.108-.025-1.875-.074-2.302-.05-.436-.148-.707-.295-.811-.138-.114-.389-.17-.753-.17H7.49v6.566h.782z"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
+
fillRule: "evenodd",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
d: "M12.126 13h2.273c.836 0 1.431.127 1.785.38.364.243.59.658.68 1.242.098.576.147 1.535.147 2.878 0 1.343-.05 2.307-.148 2.891-.088.576-.315.99-.679 1.243-.354.244-.95.366-1.786.366h-2.272v-9zm2.273 7.783c.364 0 .615-.052.752-.157.148-.113.246-.383.295-.81.05-.437.074-1.208.074-2.316 0-1.108-.024-1.875-.074-2.302-.049-.436-.147-.707-.295-.811-.137-.114-.388-.17-.752-.17h-.783v6.566h.783z"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
d: "M19.771 13h-1.52v9H22v-1.23h-2.229V13z"
|
|
66
|
+
}))));
|
|
67
|
+
};
|
|
68
|
+
CopyDdl.propTypes = {
|
|
69
|
+
iconClassName: _propTypes["default"].string,
|
|
70
|
+
spin: _propTypes["default"].bool,
|
|
71
|
+
color: _propTypes["default"].string,
|
|
72
|
+
testid: _propTypes["default"].string,
|
|
73
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
74
|
+
};
|
|
75
|
+
CopyDdl.defaultProps = {
|
|
76
|
+
spin: false,
|
|
77
|
+
color: 'currentColor',
|
|
78
|
+
size: '1em'
|
|
79
|
+
};
|
|
80
|
+
var _default = exports["default"] = CopyDdl;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 CopyQuery = function CopyQuery(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: "M7 6V3a1 1 0 011-1h12a1 1 0 011 1v12h-2V4H9v2h7a1 1 0 011 1v4h-2V8H5.002L5 19H3l.003-12c0-.552.45-1 1.006-1h2.99z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
fillRule: "evenodd",
|
|
58
|
+
clipRule: "evenodd",
|
|
59
|
+
d: "M15.695 18.566a4.791 4.791 0 00-7.292-6.163 4.79 4.79 0 006.163 7.292L16.87 22 18 20.87l-2.305-2.304zm-1.647-5.034a3.193 3.193 0 11-4.516 4.516 3.193 3.193 0 014.516-4.516z"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
CopyQuery.propTypes = {
|
|
63
|
+
iconClassName: _propTypes["default"].string,
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
testid: _propTypes["default"].string,
|
|
67
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
68
|
+
};
|
|
69
|
+
CopyQuery.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '1em'
|
|
73
|
+
};
|
|
74
|
+
var _default = exports["default"] = CopyQuery;
|
|
@@ -0,0 +1,76 @@
|
|
|
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 LogoStarrocks = function LogoStarrocks(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: "M3.448 6.802c-.022.493.202.762.516 1.009l6.051 4.975c.56.47.605.785.224 1.39L7.281 18.68c-.381.56-.717.65-1.322.314l-1.883-1.076C3.359 17.515 3 16.888 3 16.059V8.102c0-.448.112-.852.448-1.3z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M20.505 17.426c.134-.516-.113-.785-.426-1.031-2.018-1.659-4.012-3.295-6.007-4.954-.65-.537-.695-.806-.247-1.501.964-1.48 1.95-2.959 2.914-4.438.381-.583.74-.65 1.345-.314.627.359 1.255.717 1.86 1.076.717.404 1.053 1.009 1.053 1.838v7.979c.023.47-.111.919-.492 1.345z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M15.843 13.616c.134.09 3.877 3.16 3.922 3.205.538.493.493.918-.135 1.3-1.613.919-5.984 3.406-6.544 3.742-.717.426-1.435.426-2.152 0-1.03-.605-2.062-1.187-3.093-1.793-.493-.29-.493-.605 0-.874 2.443-1.39 4.864-2.801 7.307-4.19.56-.315.941-.65.695-1.39z"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
+
d: "M8.177 10.567c-.134-.09-3.877-3.16-3.922-3.205-.538-.493-.493-.919.135-1.3 1.613-.919 5.984-3.406 6.544-3.743.717-.425 1.435-.425 2.152 0 1.03.606 2.062 1.188 3.093 1.793.493.292.493.606 0 .875-2.443 1.39-4.864 2.801-7.307 4.19-.56.315-.941.65-.695 1.39z"
|
|
62
|
+
}))));
|
|
63
|
+
};
|
|
64
|
+
LogoStarrocks.propTypes = {
|
|
65
|
+
iconClassName: _propTypes["default"].string,
|
|
66
|
+
spin: _propTypes["default"].bool,
|
|
67
|
+
color: _propTypes["default"].string,
|
|
68
|
+
testid: _propTypes["default"].string,
|
|
69
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
70
|
+
};
|
|
71
|
+
LogoStarrocks.defaultProps = {
|
|
72
|
+
spin: false,
|
|
73
|
+
color: 'currentColor',
|
|
74
|
+
size: '1em'
|
|
75
|
+
};
|
|
76
|
+
var _default = exports["default"] = LogoStarrocks;
|