@aloudata/aloudata-design 0.3.0-beta.1 → 0.3.0
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/es/Breadcrumb/style/index.less +11 -3
- package/es/Button/index.js +17 -2
- package/es/Button/style/index.less +41 -39
- package/es/Button/style/variables.less +9 -2
- package/es/Checkbox/style/index.less +19 -0
- package/es/Dropdown/Button.js +1 -1
- package/es/Form/style/index.less +8 -0
- package/es/Icon/antdIconfont.d.ts +4 -0
- package/es/Icon/antdIconfont.js +2 -0
- package/es/Icon/components/Icon.d.ts +32 -0
- package/es/Icon/components/Icon.js +27 -0
- package/es/Icon/components/createFromScripts.d.ts +1 -0
- package/es/Icon/components/createFromScripts.js +35 -0
- package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/es/Icon/icons/AddLine.d.ts +13 -0
- package/es/Icon/icons/AddLine.js +66 -0
- package/es/Icon/icons/AlertFill.d.ts +13 -0
- package/es/Icon/icons/AlertFill.js +73 -0
- package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/es/Icon/icons/ArrowsDownLine.js +66 -0
- package/es/Icon/icons/CancelFill.d.ts +13 -0
- package/es/Icon/icons/CancelFill.js +73 -0
- package/es/Icon/icons/CheckFill.d.ts +13 -0
- package/es/Icon/icons/CheckFill.js +73 -0
- package/es/Icon/icons/CloseLine.d.ts +13 -0
- package/es/Icon/icons/CloseLine.js +66 -0
- package/es/Icon/icons/DatabaseLine.d.ts +13 -0
- package/es/Icon/icons/DatabaseLine.js +66 -0
- package/es/Icon/icons/Deleteline.d.ts +13 -0
- package/es/Icon/icons/Deleteline.js +66 -0
- package/es/Icon/icons/DownloadLine.d.ts +13 -0
- package/es/Icon/icons/DownloadLine.js +73 -0
- package/es/Icon/icons/ErrorFill.d.ts +13 -0
- package/es/Icon/icons/ErrorFill.js +73 -0
- package/es/Icon/icons/EyeOffLine.d.ts +13 -0
- package/es/Icon/icons/EyeOffLine.js +73 -0
- package/es/Icon/icons/EyeOnLine.d.ts +13 -0
- package/es/Icon/icons/EyeOnLine.js +66 -0
- package/es/Icon/icons/FileLine.d.ts +13 -0
- package/es/Icon/icons/FileLine.js +73 -0
- package/es/Icon/icons/HomeFill.d.ts +13 -0
- package/es/Icon/icons/HomeFill.js +73 -0
- package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/es/Icon/icons/LightningLine.d.ts +13 -0
- package/es/Icon/icons/LightningLine.js +66 -0
- package/es/Icon/icons/Loading.d.ts +13 -0
- package/es/Icon/icons/Loading.js +66 -0
- package/es/Icon/icons/More.d.ts +13 -0
- package/es/Icon/icons/More.js +66 -0
- package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/es/Icon/icons/NewWindowsLine.js +74 -0
- package/es/Icon/icons/SearchLine.d.ts +13 -0
- package/es/Icon/icons/SearchLine.js +73 -0
- package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/es/Icon/icons/SortAscendingLine.js +66 -0
- package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/es/Icon/icons/SortDescendingLine.js +66 -0
- package/es/Icon/icons/TextLine.d.ts +13 -0
- package/es/Icon/icons/TextLine.js +73 -0
- package/es/Icon/icons/UserLine.d.ts +13 -0
- package/es/Icon/icons/UserLine.js +73 -0
- package/es/Icon/icons/style.css +9 -0
- package/es/Icon/icons/style.css.d.ts +10 -0
- package/es/Icon/index.d.ts +2 -13
- package/es/Icon/index.js +2 -53
- package/es/Icon/index.less +9 -17
- package/es/Icon/style/index.d.ts +1 -0
- package/es/Icon/style/index.js +1 -0
- package/es/Icon/style/index.less +0 -0
- package/es/Input/components/Password/index.js +6 -5
- package/es/Input/style/index.less +1 -1
- package/es/InputNumber/style/index.less +88 -16
- package/es/Menu/style/index.less +4 -3
- package/es/Modal/index.js +6 -4
- package/es/Modal/style/index.less +3 -3
- package/es/Navigator/style/index.less +46 -5
- package/es/Select/index.d.ts +2 -1
- package/es/Select/index.js +2 -1
- package/es/Select/rc-select/Selector/MultipleSelector.js +2 -2
- package/es/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/es/Select/style/index.d.ts +0 -1
- package/es/Select/style/index.js +0 -1
- package/es/Select/style/index.less +81 -10
- package/es/Select/style/variables.less +20 -9
- package/es/Select/style/variables.less.d.ts +4 -1
- package/es/Select/utils/iconUtil.js +5 -10
- package/es/Table/Table.d.ts +0 -1
- package/es/Table/Table.js +20 -11
- package/es/Table/style/index.less +7 -0
- package/es/Tabs/index.d.ts +2 -1
- package/es/Tabs/index.js +10 -4
- package/es/Tabs/style/index.less +35 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/style/index.less +1 -0
- package/es/style/themes/default/scrollBar.less +13 -0
- package/lib/Breadcrumb/style/index.less +11 -3
- package/lib/Button/index.js +18 -2
- package/lib/Button/style/index.less +41 -39
- package/lib/Button/style/variables.less +9 -2
- package/lib/Checkbox/style/index.less +19 -0
- package/lib/Dropdown/Button.js +1 -1
- package/lib/Form/style/index.less +8 -0
- package/lib/Icon/antdIconfont.d.ts +4 -0
- package/lib/Icon/antdIconfont.js +13 -0
- package/lib/Icon/components/Icon.d.ts +32 -0
- package/lib/Icon/components/Icon.js +38 -0
- package/lib/Icon/components/createFromScripts.d.ts +1 -0
- package/lib/Icon/components/createFromScripts.js +41 -0
- package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/lib/Icon/icons/AddLine.d.ts +13 -0
- package/lib/Icon/icons/AddLine.js +83 -0
- package/lib/Icon/icons/AlertFill.d.ts +13 -0
- package/lib/Icon/icons/AlertFill.js +90 -0
- package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/lib/Icon/icons/ArrowsDownLine.js +83 -0
- package/lib/Icon/icons/CancelFill.d.ts +13 -0
- package/lib/Icon/icons/CancelFill.js +90 -0
- package/lib/Icon/icons/CheckFill.d.ts +13 -0
- package/lib/Icon/icons/CheckFill.js +90 -0
- package/lib/Icon/icons/CloseLine.d.ts +13 -0
- package/lib/Icon/icons/CloseLine.js +83 -0
- package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
- package/lib/Icon/icons/DatabaseLine.js +83 -0
- package/lib/Icon/icons/Deleteline.d.ts +13 -0
- package/lib/Icon/icons/Deleteline.js +83 -0
- package/lib/Icon/icons/DownloadLine.d.ts +13 -0
- package/lib/Icon/icons/DownloadLine.js +90 -0
- package/lib/Icon/icons/ErrorFill.d.ts +13 -0
- package/lib/Icon/icons/ErrorFill.js +90 -0
- package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOffLine.js +90 -0
- package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOnLine.js +83 -0
- package/lib/Icon/icons/FileLine.d.ts +13 -0
- package/lib/Icon/icons/FileLine.js +90 -0
- package/lib/Icon/icons/HomeFill.d.ts +13 -0
- package/lib/Icon/icons/HomeFill.js +90 -0
- package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/lib/Icon/icons/LightningLine.d.ts +13 -0
- package/lib/Icon/icons/LightningLine.js +83 -0
- package/lib/Icon/icons/Loading.d.ts +13 -0
- package/lib/Icon/icons/Loading.js +83 -0
- package/lib/Icon/icons/More.d.ts +13 -0
- package/lib/Icon/icons/More.js +83 -0
- package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/lib/Icon/icons/NewWindowsLine.js +91 -0
- package/lib/Icon/icons/SearchLine.d.ts +13 -0
- package/lib/Icon/icons/SearchLine.js +90 -0
- package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortAscendingLine.js +83 -0
- package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortDescendingLine.js +83 -0
- package/lib/Icon/icons/TextLine.d.ts +13 -0
- package/lib/Icon/icons/TextLine.js +90 -0
- package/lib/Icon/icons/UserLine.d.ts +13 -0
- package/lib/Icon/icons/UserLine.js +90 -0
- package/lib/Icon/icons/style.css +9 -0
- package/lib/Icon/icons/style.css.d.ts +10 -0
- package/lib/Icon/index.d.ts +2 -13
- package/lib/Icon/index.js +2 -59
- package/lib/Icon/index.less +9 -17
- package/lib/Icon/style/index.d.ts +1 -0
- package/lib/Icon/style/index.js +1 -0
- package/lib/Icon/style/index.less +0 -0
- package/lib/Input/components/Password/index.js +7 -5
- package/lib/Input/style/index.less +1 -1
- package/lib/InputNumber/style/index.less +88 -16
- package/lib/Menu/style/index.less +4 -3
- package/lib/Modal/index.js +6 -4
- package/lib/Modal/style/index.less +3 -3
- package/lib/Navigator/style/index.less +46 -5
- package/lib/Select/index.d.ts +2 -1
- package/lib/Select/index.js +2 -1
- package/lib/Select/rc-select/Selector/MultipleSelector.js +2 -2
- package/lib/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/lib/Select/style/index.d.ts +0 -1
- package/lib/Select/style/index.js +0 -2
- package/lib/Select/style/index.less +81 -10
- package/lib/Select/style/variables.less +20 -9
- package/lib/Select/style/variables.less.d.ts +4 -1
- package/lib/Select/utils/iconUtil.js +5 -12
- package/lib/Table/Table.d.ts +0 -1
- package/lib/Table/Table.js +22 -12
- package/lib/Table/style/index.less +7 -0
- package/lib/Tabs/index.d.ts +2 -1
- package/lib/Tabs/index.js +11 -4
- package/lib/Tabs/style/index.less +35 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +8 -0
- package/lib/style/index.less +1 -0
- package/lib/style/themes/default/scrollBar.less +13 -0
- package/package.json +1 -1
- package/es/Icon/iconfont/demo.css +0 -539
- package/es/Icon/iconfont/demo_index.html +0 -720
- package/es/Icon/iconfont/iconfont.css +0 -109
- package/es/Icon/iconfont/iconfont.js +0 -46
- package/es/Icon/iconfont/iconfont.json +0 -170
- package/es/Icon/iconfont/iconfont.ttf +0 -0
- package/es/Icon/iconfont/iconfont.woff +0 -0
- package/es/Icon/iconfont/iconfont.woff2 +0 -0
- package/es/Table/components/Empty/empty-img.png +0 -0
- package/es/Table/components/Empty/index.d.ts +0 -4
- package/es/Table/components/Empty/index.js +0 -16
- package/es/Table/components/Empty/index.less +0 -24
- package/lib/Icon/iconfont/demo.css +0 -539
- package/lib/Icon/iconfont/demo_index.html +0 -720
- package/lib/Icon/iconfont/iconfont.css +0 -109
- package/lib/Icon/iconfont/iconfont.js +0 -48
- package/lib/Icon/iconfont/iconfont.json +0 -170
- package/lib/Icon/iconfont/iconfont.ttf +0 -0
- package/lib/Icon/iconfont/iconfont.woff +0 -0
- package/lib/Icon/iconfont/iconfont.woff2 +0 -0
- package/lib/Table/components/Empty/empty-img.png +0 -0
- package/lib/Table/components/Empty/index.d.ts +0 -4
- package/lib/Table/components/Empty/index.js +0 -30
- package/lib/Table/components/Empty/index.less +0 -24
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function ErrorFill(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
clipPath: "url(#56416__a)"
|
|
61
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
"data-follow-fill": "#001A33",
|
|
63
|
+
d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0Zm0 5a1 1 0 0 1 1 1v7.5a1 1 0 1 1-2 0V6a1 1 0 0 1 1-1Zm-1 12.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Z",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
fillRule: "evenodd",
|
|
66
|
+
fill: _fill
|
|
67
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
68
|
+
id: "56416__a"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
fill: "#fff",
|
|
71
|
+
d: "M0 0h24v24H0z"
|
|
72
|
+
})))));
|
|
73
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function EyeOffLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function EyeOffLine(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
clipPath: "url(#56352__a)"
|
|
61
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
"data-follow-fill": "#001A33",
|
|
63
|
+
d: "M22.707 3.707a1 1 0 0 0-1.414-1.414L17.17 6.414A11.814 11.814 0 0 0 11.814 5h-.021C9.208 5 6.864 6.028 4.98 7.25 3.092 8.476 1.597 9.943.692 10.928l-.01.01a2.694 2.694 0 0 0 0 3.588l.004.004a21.687 21.687 0 0 0 4.545 3.825l-2.938 2.938a1 1 0 1 0 1.414 1.414l5.855-5.855a1.002 1.002 0 0 0 .328-.328l4.634-4.634a1.006 1.006 0 0 0 .328-.328l7.855-7.855Zm-10.292 7.464L9.17 14.415a2.518 2.518 0 0 1-.17-.898A2.519 2.519 0 0 1 11.517 11c.31.002.614.06.898.17ZM11.523 9a4.52 4.52 0 0 1 2.376.686l1.782-1.783A9.809 9.809 0 0 0 11.782 7c-2.053.003-4.014.825-5.712 1.928-1.693 1.098-3.057 2.43-3.9 3.347a.695.695 0 0 0 .003.918A19.678 19.678 0 0 0 6.685 16.9l1.002-1.002A4.519 4.519 0 0 1 7 13.523v-.004A4.52 4.52 0 0 1 11.519 9h.004Zm8.62.363a1 1 0 0 1 1.407-.135 24.403 24.403 0 0 1 1.708 1.559l.008.007A2.54 2.54 0 0 1 24 12.571c0 .67-.27 1.302-.734 1.776l-.01.01c-.95.942-2.513 2.34-4.486 3.508C16.801 19.03 14.367 20 11.697 20H11a1 1 0 1 1 0-2h.697c2.19 0 4.269-.799 6.054-1.855 1.778-1.052 3.208-2.326 4.09-3.2a.539.539 0 0 0 .159-.373.54.54 0 0 0-.16-.375 22.406 22.406 0 0 0-1.563-1.426 1 1 0 0 1-.135-1.407Zm-4.135 5.069a.857.857 0 1 0-1.48-.866 2.573 2.573 0 0 1-.95.939.857.857 0 1 0 .845 1.491 4.286 4.286 0 0 0 1.585-1.564Z",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
fillRule: "evenodd",
|
|
66
|
+
fill: _fill
|
|
67
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
68
|
+
id: "56352__a"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
fill: "#fff",
|
|
71
|
+
d: "M0 0h24v24H0z"
|
|
72
|
+
})))));
|
|
73
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function EyeOnLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function EyeOnLine(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
"data-follow-fill": "#001A33",
|
|
61
|
+
fillRule: "evenodd",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
d: "M2 12c0-.193.069-.374.186-.51.86-.954 2.251-2.34 3.978-3.484C7.901 6.856 9.904 6 12 6s4.1.856 5.836 2.006c1.727 1.143 3.119 2.53 3.978 3.484A.783.783 0 0 1 22 12a.783.783 0 0 1-.186.51c-.86.954-2.251 2.34-3.978 3.484C16.099 17.144 14.096 18 12 18s-4.1-.856-5.836-2.006c-1.727-1.143-3.119-2.53-3.978-3.484A.783.783 0 0 1 2 12Zm10-8C9.366 4 6.977 5.069 5.06 6.338 3.137 7.612 1.615 9.135.694 10.158l-.01.011A2.782 2.782 0 0 0 0 12c0 .671.241 1.324.684 1.83l.01.012c.921 1.023 2.443 2.546 4.366 3.82C6.977 18.932 9.366 20 12 20c2.634 0 5.023-1.069 6.94-2.338 1.923-1.274 3.445-2.797 4.366-3.82l.01-.011c.443-.507.684-1.16.684-1.831s-.241-1.324-.684-1.83l-.01-.012c-.921-1.023-2.443-2.546-4.366-3.82C17.023 5.068 14.634 4 12 4Zm-2 8a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm2-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z",
|
|
64
|
+
fill: _fill
|
|
65
|
+
})));
|
|
66
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function FileLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function FileLine(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
clipPath: "url(#563d7__a)"
|
|
61
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
"data-follow-fill": "#001A33",
|
|
63
|
+
d: "M4.636 2a.61.61 0 0 0-.438.19.722.722 0 0 0-.198.502v18.616c0 .194.075.374.198.501a.61.61 0 0 0 .438.191h14.728a.61.61 0 0 0 .438-.19.723.723 0 0 0 .198-.502V10h-7a1 1 0 0 1-1-1V2H4.636ZM14 3.414 18.586 8H14V3.414ZM2.76.801A2.61 2.61 0 0 1 4.636 0H13a1 1 0 0 1 .707.293l8 8A1 1 0 0 1 22 9v12.308c0 .703-.27 1.384-.76 1.891a2.61 2.61 0 0 1-1.876.801H4.636a2.61 2.61 0 0 1-1.876-.8A2.722 2.722 0 0 1 2 21.307V2.692c0-.703.27-1.384.76-1.891Z",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
fillRule: "evenodd",
|
|
66
|
+
fill: _fill
|
|
67
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
68
|
+
id: "563d7__a"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
fill: "#fff",
|
|
71
|
+
d: "M0 0h24v24H0z"
|
|
72
|
+
})))));
|
|
73
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function HomeFill(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function HomeFill(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
clipPath: "url(#56255__a)"
|
|
61
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
"data-follow-fill": "#001A33",
|
|
63
|
+
d: "M12.673 1.26a1 1 0 0 0-1.346 0l-11 10a1 1 0 1 0 1.346 1.48L3 11.533V22a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-7a1 1 0 1 1 2 0v7a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V11.533l1.327 1.207a1 1 0 0 0 1.346-1.48l-11-10Z",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
fillRule: "evenodd",
|
|
66
|
+
fill: _fill
|
|
67
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
68
|
+
id: "56255__a"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
fill: "#fff",
|
|
71
|
+
d: "M0 0h24v24H0z"
|
|
72
|
+
})))));
|
|
73
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React, { useEffect, useRef } from 'react';
|
|
2
|
+
interface IconProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default function <%-PascalIconName%>(props: IconProps) {
|
|
14
|
+
const root = useRef<SVGSVGElement>(null)
|
|
15
|
+
const { size = '1em', width, height, spin, rtl, color, fill, stroke, className, ...rest } = props;
|
|
16
|
+
const _width = width || size;
|
|
17
|
+
const _height = height || size;
|
|
18
|
+
const _stroke = stroke || color;
|
|
19
|
+
const _fill = fill || color;
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (!_fill) {
|
|
22
|
+
(root.current as SVGSVGElement)?.querySelectorAll('[data-follow-fill]').forEach(item => {
|
|
23
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '')
|
|
24
|
+
})
|
|
25
|
+
}
|
|
26
|
+
if (!_stroke) {
|
|
27
|
+
(root.current as SVGSVGElement)?.querySelectorAll('[data-follow-stroke]').forEach(item => {
|
|
28
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '')
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
}, [stroke, color, fill])
|
|
32
|
+
const cls = [
|
|
33
|
+
'i-icon',
|
|
34
|
+
'i-icon-<%-iconCompKebabName%>',
|
|
35
|
+
spin ? 'i-icon-spin' : '',
|
|
36
|
+
rtl ? 'i-icon-rtl' : '',
|
|
37
|
+
className,
|
|
38
|
+
].filter(Boolean)
|
|
39
|
+
return (
|
|
40
|
+
<span
|
|
41
|
+
{...rest}
|
|
42
|
+
className={cls.join(' ')}
|
|
43
|
+
>
|
|
44
|
+
<svg
|
|
45
|
+
ref={root}
|
|
46
|
+
width={_width}
|
|
47
|
+
height={_height}
|
|
48
|
+
viewBox="<%-iconViewBox%>"
|
|
49
|
+
preserveAspectRatio="xMidYMid meet"
|
|
50
|
+
fill="<%-iconFill%>"
|
|
51
|
+
role="presentation"
|
|
52
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
53
|
+
>
|
|
54
|
+
<%-iconSourceTpl%>
|
|
55
|
+
</svg>
|
|
56
|
+
</span>
|
|
57
|
+
)
|
|
58
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function LightningLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function LightningLine(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
"data-follow-fill": "#001A33",
|
|
61
|
+
d: "M8.614 1.536A1 1 0 0 1 9.5 1h9a1 1 0 0 1 .786 1.618L15.057 8H20.5a1 1 0 0 1 .735 1.678l-12 13a1 1 0 0 1-1.702-.933l2.17-8.245H4a1 1 0 0 1-.886-1.464l5.5-10.5ZM10.105 3l-4.452 8.5H11a1 1 0 0 1 .967 1.255L10.49 18.37 18.216 10H13a1 1 0 0 1-.786-1.618L16.442 3h-6.337Z",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
fillRule: "evenodd",
|
|
64
|
+
fill: _fill
|
|
65
|
+
})));
|
|
66
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function Loading(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function Loading(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
"data-follow-fill": "#001A33",
|
|
61
|
+
d: "M12 .509a1 1 0 0 1 1 1v4.285a1 1 0 1 1-2 0V1.51a1 1 0 0 1 1-1ZM2.692 5.118a1 1 0 0 1 1.413-.06l3.154 2.897a1 1 0 0 1-1.353 1.473L2.752 6.53a1 1 0 0 1-.06-1.413Zm3.52 9.5a1 1 0 0 0-.698-1.875l-4.148 1.543a1 1 0 1 0 .697 1.874l4.148-1.543Zm3.66 3.137a1 1 0 0 1 .453 1.34l-1.903 3.84a1 1 0 1 1-1.792-.888l1.903-3.84a1 1 0 0 1 1.34-.452ZM21.249 6.531a1 1 0 0 0-1.353-1.473l-3.154 2.897a1 1 0 1 0 1.353 1.473l3.154-2.897Zm-4.048 6.8a1 1 0 0 1 1.286-.588l4.148 1.543a1 1 0 1 1-.697 1.874l-4.149-1.543a1 1 0 0 1-.588-1.286Zm-1.733 4.876a1 1 0 0 0-1.792.888l1.903 3.84a1 1 0 1 0 1.792-.888l-1.903-3.84Z",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
fillRule: "evenodd",
|
|
64
|
+
fill: _fill
|
|
65
|
+
})));
|
|
66
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function More(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|