@tant/icons 1.18.18 → 1.18.20
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/data-input.js +63 -0
- package/dist/es/icons/file-sql-fill.js +67 -0
- package/dist/es/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/icons/data-input.js +70 -0
- package/dist/lib/icons/file-sql-fill.js +74 -0
- package/dist/lib/index.js +14 -0
- package/dist/tant-icons.cjs.js +1564 -1454
- package/dist/tant-icons.esm.js +1563 -1455
- package/package.json +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var 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 DataInput = function DataInput(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: "M10 11V8l5 4-5 4v-3H1v-2h9zm-7.542 4h2.124A8.003 8.003 0 0020 12 8 8 0 004.582 9H2.458C3.732 4.943 7.522 2 12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10c-4.478 0-8.268-2.943-9.542-7z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
DataInput.propTypes = {
|
|
52
|
+
iconClassName: PropTypes.string,
|
|
53
|
+
spin: PropTypes.bool,
|
|
54
|
+
color: PropTypes.string,
|
|
55
|
+
testid: PropTypes.string,
|
|
56
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
57
|
+
};
|
|
58
|
+
DataInput.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default DataInput;
|
|
@@ -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 FileSqlFill = function FileSqlFill(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: "M12.537 11.447a1.008 1.008 0 00-.684-.026.976.976 0 00-.496.357c-.21.327-.312.71-.289 1.095-.024.408.077.814.29 1.167a.92.92 0 00.336.305.954.954 0 00.894 0 .918.918 0 00.337-.305c.213-.353.314-.759.29-1.167 0-.717-.228-1.193-.678-1.426z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
fillRule: "evenodd",
|
|
51
|
+
clipRule: "evenodd",
|
|
52
|
+
d: "M16.802 2.611l3.69 3.909c.326.343.507.792.508 1.258v12.346c0 .498-.205.974-.568 1.326-.363.352-.856.55-1.37.55H4.938a1.972 1.972 0 01-1.369-.55A1.848 1.848 0 013 20.124V3.876c0-.498.205-.974.568-1.326.363-.352.856-.55 1.37-.55h10.434c.269 0 .535.055.781.16.246.105.467.259.649.451zm.09 4.467h2.377l-3.023-3.202v2.568a.61.61 0 00.187.447.647.647 0 00.458.187zM9.525 14.42c-.08.178-.198.338-.347.469-.17.138-.364.245-.574.313a2.292 2.292 0 01-.769.118 2.794 2.794 0 01-.94-.167 2.413 2.413 0 01-.669-.362.213.213 0 01-.084-.142.203.203 0 01.048-.158l.35-.411a.216.216 0 01.287-.038c.132.092.273.17.42.233.194.088.405.134.618.136a.85.85 0 00.507-.122.392.392 0 00.117-.514.433.433 0 00-.14-.14 1.247 1.247 0 00-.23-.115l-.284-.118-.629-.258a1.787 1.787 0 01-.36-.186 1.528 1.528 0 01-.31-.27 1.18 1.18 0 01-.298-.817 1.34 1.34 0 01.482-.982c.16-.131.345-.232.544-.298.221-.074.454-.11.688-.109.286.002.569.055.834.158.201.078.39.185.557.318a.217.217 0 01.034.296l-.3.357a.217.217 0 01-.282.044c-.1-.064-.206-.12-.317-.166a1.379 1.379 0 00-.526-.096.787.787 0 00-.447.111.346.346 0 00-.165.311.303.303 0 00.068.185c.042.054.094.1.154.136.074.044.15.082.23.115l.289.118.62.242c.266.1.503.262.688.473.18.228.27.51.255.796.003.186-.035.37-.11.542l-.01-.002zm4.864 2.024a2.372 2.372 0 01-.659.087 2.226 2.226 0 01-1.297-.353 2.02 2.02 0 01-.46-.4 2.247 2.247 0 01-.281-.418.21.21 0 00-.14-.109 2.143 2.143 0 01-.602-.253 1.936 1.936 0 01-.537-.505 2.407 2.407 0 01-.344-.715c-.08-.29-.12-.59-.117-.89a3.04 3.04 0 01.158-1.02c.093-.28.245-.537.448-.757.19-.202.426-.36.688-.464a2.532 2.532 0 011.784 0c.262.104.498.264.688.469.206.218.362.475.46.755.11.327.163.67.158 1.013a2.712 2.712 0 01-.413 1.556c-.2.303-.485.544-.822.696a.214.214 0 00-.088.064.203.203 0 00.037.289.86.86 0 00.214.106 1.767 1.767 0 001.12.027l.147.587c.01.05 0 .1-.025.144a.212.212 0 01-.117.091zm3.548-1.424a.206.206 0 01-.062.147.22.22 0 01-.151.062h-2.567a.22.22 0 01-.152-.061.206.206 0 01-.063-.148v-4.251c0-.056.022-.109.063-.148a.22.22 0 01.152-.061h.657a.22.22 0 01.152.061c.04.04.064.092.064.148v3.364c0 .055.023.108.064.147a.22.22 0 00.151.06h1.479a.22.22 0 01.15.062c.04.039.063.092.063.147v.471z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
FileSqlFill.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
|
+
FileSqlFill.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
export default FileSqlFill;
|
package/dist/es/index.js
CHANGED
|
@@ -109,6 +109,7 @@ export { default as TaBook } from './icons/book';
|
|
|
109
109
|
export { default as TaBook2 } from './icons/book-2';
|
|
110
110
|
export { default as TaSticker } from './icons/sticker';
|
|
111
111
|
export { default as TaStickerFill } from './icons/sticker-fill';
|
|
112
|
+
export { default as TaFileSqlFill } from './icons/file-sql-fill';
|
|
112
113
|
export { default as TaAlignCenter } from './icons/align-center';
|
|
113
114
|
export { default as TaAlignRight } from './icons/align-right';
|
|
114
115
|
export { default as TaTableClassic } from './icons/table-classic ';
|
|
@@ -263,6 +264,7 @@ export { default as TaEndTask } from './icons/end-task';
|
|
|
263
264
|
export { default as TaTaskFlow } from './icons/task-flow';
|
|
264
265
|
export { default as TaName } from './icons/name';
|
|
265
266
|
export { default as TaWarehouse } from './icons/warehouse';
|
|
267
|
+
export { default as TaDataInput } from './icons/data-input';
|
|
266
268
|
export { default as TaFontSize } from './icons/font-size';
|
|
267
269
|
export { default as TaFontBold } from './icons/font-bold';
|
|
268
270
|
export { default as TaFontItalic } from './icons/font- italic';
|
package/dist/index.d.ts
CHANGED
|
@@ -121,6 +121,7 @@ export const TaBook: Icon;
|
|
|
121
121
|
export const TaBook2: Icon;
|
|
122
122
|
export const TaSticker: Icon;
|
|
123
123
|
export const TaStickerFill: Icon;
|
|
124
|
+
export const TaFileSqlFill: Icon;
|
|
124
125
|
export const TaAlignCenter: Icon;
|
|
125
126
|
export const TaAlignRight: Icon;
|
|
126
127
|
export const TaTableClassic: Icon;
|
|
@@ -275,6 +276,7 @@ export const TaEndTask: Icon;
|
|
|
275
276
|
export const TaTaskFlow: Icon;
|
|
276
277
|
export const TaName: Icon;
|
|
277
278
|
export const TaWarehouse: Icon;
|
|
279
|
+
export const TaDataInput: Icon;
|
|
278
280
|
export const TaFontSize: Icon;
|
|
279
281
|
export const TaFontBold: Icon;
|
|
280
282
|
export const TaFontItalic: Icon;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var 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 DataInput = function DataInput(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: "M10 11V8l5 4-5 4v-3H1v-2h9zm-7.542 4h2.124A8.003 8.003 0 0020 12 8 8 0 004.582 9H2.458C3.732 4.943 7.522 2 12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10c-4.478 0-8.268-2.943-9.542-7z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
DataInput.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
testid: _propTypes["default"].string,
|
|
63
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
|
+
};
|
|
65
|
+
DataInput.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = DataInput;
|
|
@@ -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 FileSqlFill = function FileSqlFill(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M12.537 11.447a1.008 1.008 0 00-.684-.026.976.976 0 00-.496.357c-.21.327-.312.71-.289 1.095-.024.408.077.814.29 1.167a.92.92 0 00.336.305.954.954 0 00.894 0 .918.918 0 00.337-.305c.213-.353.314-.759.29-1.167 0-.717-.228-1.193-.678-1.426z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
fillRule: "evenodd",
|
|
58
|
+
clipRule: "evenodd",
|
|
59
|
+
d: "M16.802 2.611l3.69 3.909c.326.343.507.792.508 1.258v12.346c0 .498-.205.974-.568 1.326-.363.352-.856.55-1.37.55H4.938a1.972 1.972 0 01-1.369-.55A1.848 1.848 0 013 20.124V3.876c0-.498.205-.974.568-1.326.363-.352.856-.55 1.37-.55h10.434c.269 0 .535.055.781.16.246.105.467.259.649.451zm.09 4.467h2.377l-3.023-3.202v2.568a.61.61 0 00.187.447.647.647 0 00.458.187zM9.525 14.42c-.08.178-.198.338-.347.469-.17.138-.364.245-.574.313a2.292 2.292 0 01-.769.118 2.794 2.794 0 01-.94-.167 2.413 2.413 0 01-.669-.362.213.213 0 01-.084-.142.203.203 0 01.048-.158l.35-.411a.216.216 0 01.287-.038c.132.092.273.17.42.233.194.088.405.134.618.136a.85.85 0 00.507-.122.392.392 0 00.117-.514.433.433 0 00-.14-.14 1.247 1.247 0 00-.23-.115l-.284-.118-.629-.258a1.787 1.787 0 01-.36-.186 1.528 1.528 0 01-.31-.27 1.18 1.18 0 01-.298-.817 1.34 1.34 0 01.482-.982c.16-.131.345-.232.544-.298.221-.074.454-.11.688-.109.286.002.569.055.834.158.201.078.39.185.557.318a.217.217 0 01.034.296l-.3.357a.217.217 0 01-.282.044c-.1-.064-.206-.12-.317-.166a1.379 1.379 0 00-.526-.096.787.787 0 00-.447.111.346.346 0 00-.165.311.303.303 0 00.068.185c.042.054.094.1.154.136.074.044.15.082.23.115l.289.118.62.242c.266.1.503.262.688.473.18.228.27.51.255.796.003.186-.035.37-.11.542l-.01-.002zm4.864 2.024a2.372 2.372 0 01-.659.087 2.226 2.226 0 01-1.297-.353 2.02 2.02 0 01-.46-.4 2.247 2.247 0 01-.281-.418.21.21 0 00-.14-.109 2.143 2.143 0 01-.602-.253 1.936 1.936 0 01-.537-.505 2.407 2.407 0 01-.344-.715c-.08-.29-.12-.59-.117-.89a3.04 3.04 0 01.158-1.02c.093-.28.245-.537.448-.757.19-.202.426-.36.688-.464a2.532 2.532 0 011.784 0c.262.104.498.264.688.469.206.218.362.475.46.755.11.327.163.67.158 1.013a2.712 2.712 0 01-.413 1.556c-.2.303-.485.544-.822.696a.214.214 0 00-.088.064.203.203 0 00.037.289.86.86 0 00.214.106 1.767 1.767 0 001.12.027l.147.587c.01.05 0 .1-.025.144a.212.212 0 01-.117.091zm3.548-1.424a.206.206 0 01-.062.147.22.22 0 01-.151.062h-2.567a.22.22 0 01-.152-.061.206.206 0 01-.063-.148v-4.251c0-.056.022-.109.063-.148a.22.22 0 01.152-.061h.657a.22.22 0 01.152.061c.04.04.064.092.064.148v3.364c0 .055.023.108.064.147a.22.22 0 00.151.06h1.479a.22.22 0 01.15.062c.04.039.063.092.063.147v.471z"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
FileSqlFill.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
|
+
FileSqlFill.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '1em'
|
|
73
|
+
};
|
|
74
|
+
var _default = exports["default"] = FileSqlFill;
|
package/dist/lib/index.js
CHANGED
|
@@ -621,6 +621,12 @@ Object.defineProperty(exports, "TaDashboardMgr", {
|
|
|
621
621
|
return _dashboardMgr["default"];
|
|
622
622
|
}
|
|
623
623
|
});
|
|
624
|
+
Object.defineProperty(exports, "TaDataInput", {
|
|
625
|
+
enumerable: true,
|
|
626
|
+
get: function get() {
|
|
627
|
+
return _dataInput["default"];
|
|
628
|
+
}
|
|
629
|
+
});
|
|
624
630
|
Object.defineProperty(exports, "TaDatabase", {
|
|
625
631
|
enumerable: true,
|
|
626
632
|
get: function get() {
|
|
@@ -1005,6 +1011,12 @@ Object.defineProperty(exports, "TaFileRemove", {
|
|
|
1005
1011
|
return _fileRemove["default"];
|
|
1006
1012
|
}
|
|
1007
1013
|
});
|
|
1014
|
+
Object.defineProperty(exports, "TaFileSqlFill", {
|
|
1015
|
+
enumerable: true,
|
|
1016
|
+
get: function get() {
|
|
1017
|
+
return _fileSqlFill["default"];
|
|
1018
|
+
}
|
|
1019
|
+
});
|
|
1008
1020
|
Object.defineProperty(exports, "TaFilter", {
|
|
1009
1021
|
enumerable: true,
|
|
1010
1022
|
get: function get() {
|
|
@@ -2964,6 +2976,7 @@ var _book = _interopRequireDefault(require("./icons/book"));
|
|
|
2964
2976
|
var _book2 = _interopRequireDefault(require("./icons/book-2"));
|
|
2965
2977
|
var _sticker = _interopRequireDefault(require("./icons/sticker"));
|
|
2966
2978
|
var _stickerFill = _interopRequireDefault(require("./icons/sticker-fill"));
|
|
2979
|
+
var _fileSqlFill = _interopRequireDefault(require("./icons/file-sql-fill"));
|
|
2967
2980
|
var _alignCenter = _interopRequireDefault(require("./icons/align-center"));
|
|
2968
2981
|
var _alignRight = _interopRequireDefault(require("./icons/align-right"));
|
|
2969
2982
|
var _tableClassic = _interopRequireDefault(require("./icons/table-classic "));
|
|
@@ -3118,6 +3131,7 @@ var _endTask = _interopRequireDefault(require("./icons/end-task"));
|
|
|
3118
3131
|
var _taskFlow = _interopRequireDefault(require("./icons/task-flow"));
|
|
3119
3132
|
var _name = _interopRequireDefault(require("./icons/name"));
|
|
3120
3133
|
var _warehouse = _interopRequireDefault(require("./icons/warehouse"));
|
|
3134
|
+
var _dataInput = _interopRequireDefault(require("./icons/data-input"));
|
|
3121
3135
|
var _fontSize = _interopRequireDefault(require("./icons/font-size"));
|
|
3122
3136
|
var _fontBold = _interopRequireDefault(require("./icons/font-bold"));
|
|
3123
3137
|
var _fontItalic = _interopRequireDefault(require("./icons/font- italic"));
|