@tant/icons 1.18.12 → 1.18.13

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.
@@ -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;
package/dist/es/index.js CHANGED
@@ -277,6 +277,8 @@ export { default as TaBuildMode } from './icons/build-mode';
277
277
  export { default as TaCodeVariable } from './icons/code-variable';
278
278
  export { default as TaTableRow } from './icons/table-row';
279
279
  export { default as TaTableCol } from './icons/table-col';
280
+ export { default as TaCopyQuery } from './icons/copy-query';
281
+ export { default as TaCopyDdl } from './icons/copy-ddl';
280
282
  export { default as TaUser1 } from './icons/user-1';
281
283
  export { default as TaUser1Fill } from './icons/user-1-fill';
282
284
  export { default as TaUser2 } from './icons/user-2';
package/dist/index.d.ts CHANGED
@@ -289,6 +289,8 @@ export const TaBuildMode: Icon;
289
289
  export const TaCodeVariable: Icon;
290
290
  export const TaTableRow: Icon;
291
291
  export const TaTableCol: Icon;
292
+ export const TaCopyQuery: Icon;
293
+ export const TaCopyDdl: Icon;
292
294
  export const TaUser1: Icon;
293
295
  export const TaUser1Fill: Icon;
294
296
  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;
package/dist/lib/index.js CHANGED
@@ -513,6 +513,18 @@ Object.defineProperty(exports, "TaCopy2", {
513
513
  return _copy2["default"];
514
514
  }
515
515
  });
516
+ Object.defineProperty(exports, "TaCopyDdl", {
517
+ enumerable: true,
518
+ get: function get() {
519
+ return _copyDdl["default"];
520
+ }
521
+ });
522
+ Object.defineProperty(exports, "TaCopyQuery", {
523
+ enumerable: true,
524
+ get: function get() {
525
+ return _copyQuery["default"];
526
+ }
527
+ });
516
528
  Object.defineProperty(exports, "TaCost", {
517
529
  enumerable: true,
518
530
  get: function get() {
@@ -3072,6 +3084,8 @@ var _buildMode = _interopRequireDefault(require("./icons/build-mode"));
3072
3084
  var _codeVariable = _interopRequireDefault(require("./icons/code-variable"));
3073
3085
  var _tableRow = _interopRequireDefault(require("./icons/table-row"));
3074
3086
  var _tableCol = _interopRequireDefault(require("./icons/table-col"));
3087
+ var _copyQuery = _interopRequireDefault(require("./icons/copy-query"));
3088
+ var _copyDdl = _interopRequireDefault(require("./icons/copy-ddl"));
3075
3089
  var _user = _interopRequireDefault(require("./icons/user-1"));
3076
3090
  var _user1Fill = _interopRequireDefault(require("./icons/user-1-fill"));
3077
3091
  var _user2 = _interopRequireDefault(require("./icons/user-2"));