@easyv/react-icons 6.36.0 → 6.37.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/dist/es/icons.js +3 -0
- package/dist/es/react-icons/FileUploadColored.js +79 -0
- package/dist/es/react-icons/GsUploadColored.js +222 -0
- package/dist/es/react-icons/LayoutSwitchOutlined.js +37 -0
- package/dist/icons.d.ts +3 -0
- package/dist/lib/icons.js +24 -0
- package/dist/lib/react-icons/FileUploadColored.js +92 -0
- package/dist/lib/react-icons/GsUploadColored.js +235 -0
- package/dist/lib/react-icons/LayoutSwitchOutlined.js +50 -0
- package/dist/react-icons/FileUploadColored.d.ts +11 -0
- package/dist/react-icons/GsUploadColored.d.ts +11 -0
- package/dist/react-icons/LayoutSwitchOutlined.d.ts +11 -0
- package/package.json +1 -1
package/dist/es/icons.js
CHANGED
|
@@ -36,6 +36,8 @@ export { default as PlaneTurnPointColored } from './react-icons/PlaneTurnPointCo
|
|
|
36
36
|
export { default as DTableUploadColored } from './react-icons/DTableUploadColored';
|
|
37
37
|
export { default as EasyTwinUploadColored } from './react-icons/EasyTwinUploadColored';
|
|
38
38
|
export { default as EasyVUploadColored } from './react-icons/EasyVUploadColored';
|
|
39
|
+
export { default as GsUploadColored } from './react-icons/GsUploadColored';
|
|
40
|
+
export { default as FileUploadColored } from './react-icons/FileUploadColored';
|
|
39
41
|
export { default as ComponentsLightColored } from './react-icons/ComponentsLightColored';
|
|
40
42
|
export { default as ResourceLightColored } from './react-icons/ResourceLightColored';
|
|
41
43
|
export { default as ApplicationLightColored } from './react-icons/ApplicationLightColored';
|
|
@@ -711,6 +713,7 @@ export { default as TypePlusOutlined } from './react-icons/TypePlusOutlined';
|
|
|
711
713
|
export { default as FilePlusOutlined } from './react-icons/FilePlusOutlined';
|
|
712
714
|
export { default as FilterCheckedOutlined } from './react-icons/FilterCheckedOutlined';
|
|
713
715
|
export { default as SwatchBookOutlined } from './react-icons/SwatchBookOutlined';
|
|
716
|
+
export { default as LayoutSwitchOutlined } from './react-icons/LayoutSwitchOutlined';
|
|
714
717
|
export { default as FrameSelectionOutlined } from './react-icons/FrameSelectionOutlined';
|
|
715
718
|
export { default as ModelOutlined } from './react-icons/ModelOutlined';
|
|
716
719
|
export { default as ModelNodeListOutlined } from './react-icons/ModelNodeListOutlined';
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import { useConfig } from '../context';
|
|
5
|
+
const FileUploadColored = props => {
|
|
6
|
+
const {
|
|
7
|
+
color,
|
|
8
|
+
size,
|
|
9
|
+
className,
|
|
10
|
+
spin,
|
|
11
|
+
style = {},
|
|
12
|
+
...otherProps
|
|
13
|
+
} = props;
|
|
14
|
+
const config = useConfig();
|
|
15
|
+
const {
|
|
16
|
+
cls
|
|
17
|
+
} = config || {};
|
|
18
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
19
|
+
className: classnames('easyv-icon', {
|
|
20
|
+
'easyv-icon-loading': spin
|
|
21
|
+
}, cls, className),
|
|
22
|
+
style: {
|
|
23
|
+
color,
|
|
24
|
+
fontSize: size,
|
|
25
|
+
...style
|
|
26
|
+
}
|
|
27
|
+
}, otherProps), /*#__PURE__*/React.createElement("svg", {
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: "1em",
|
|
30
|
+
height: "1em",
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: "none"
|
|
33
|
+
}, /*#__PURE__*/React.createElement("mask", {
|
|
34
|
+
id: "a",
|
|
35
|
+
fill: "#fff"
|
|
36
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
d: "M13.023 2.09c.364 0 .717.125 1 .355l5.32 4.322c.37.301.586.753.586 1.23v12.328c0 .876-.71 1.586-1.586 1.586H5.657c-.876 0-1.586-.71-1.586-1.586V3.675c0-.875.71-1.585 1.586-1.585h7.366z"
|
|
38
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M13.023 2.09c.364 0 .717.125 1 .355l5.32 4.322c.37.301.586.753.586 1.23v12.328c0 .876-.71 1.586-1.586 1.586H5.657c-.876 0-1.586-.71-1.586-1.586V3.675c0-.875.71-1.585 1.586-1.585h7.366z",
|
|
40
|
+
fill: "url(#paint0_linear_12136_1213)"
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
42
|
+
d: "M14.023 2.445l-.19.233.19-.233zm5.32 4.322l.189-.232-.19.232zm.586 1.23h.3-.3zm-1.586 13.914v.3-.3zM13.023 2.09v.3c.295 0 .58.102.81.288l.19-.233.189-.233a1.886 1.886 0 00-1.19-.422v.3zm1 .355l-.19.233L19.153 7l.19-.233.189-.233-5.32-4.322-.19.233zm5.32 4.322l-.19.233c.301.244.476.61.476.998h.6c0-.568-.257-1.106-.697-1.463l-.19.232zm.586 1.23h-.3v12.328h.6V7.998h-.3zm0 12.328h-.3c0 .71-.576 1.286-1.286 1.286v.6a1.886 1.886 0 001.886-1.886h-.3zm-1.586 1.586v-.3H5.657v.6h12.686v-.3zm-12.686 0v-.3c-.71 0-1.286-.576-1.286-1.286h-.6c0 1.041.845 1.886 1.886 1.886v-.3zm-1.586-1.586h.3V3.675h-.6v16.65h.3zm0-16.65h.3c0-.71.576-1.285 1.286-1.285v-.6a1.886 1.886 0 00-1.886 1.886h.3zM5.657 2.09v.3h7.366v-.6H5.657v.3z",
|
|
43
|
+
fill: "url(#paint1_linear_12136_1213)",
|
|
44
|
+
fillOpacity: ".4",
|
|
45
|
+
mask: "url(#a)"
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M7.356 16.39a.305.305 0 01.31.31.317.317 0 01-.091.219.328.328 0 01-.22.082.29.29 0 01-.214-.082.3.3 0 01-.09-.22.29.29 0 01.09-.222.277.277 0 01.215-.087zm1.608-1.602c.554 0 .86.223.91.673h-.426c-.033-.116-.083-.194-.153-.24-.074-.05-.19-.074-.339-.074-.132 0-.231.016-.297.058a.203.203 0 00-.116.19c0 .074.058.136.174.19.074.033.214.074.43.128.243.058.425.128.54.202.17.108.256.256.256.446 0 .45-.318.677-.95.677-.586 0-.9-.251-.95-.747h.43c.025.145.078.248.153.306.074.053.19.082.355.082.339 0 .512-.099.512-.289 0-.103-.066-.186-.19-.244a2.366 2.366 0 00-.43-.123c-.251-.058-.429-.12-.528-.186a.484.484 0 01-.248-.43c0-.194.079-.347.24-.454.16-.112.371-.165.627-.165zm2.419 0c.314 0 .557.111.74.334.164.207.247.471.247.801 0 .314-.083.574-.244.781-.173.223-.417.334-.723.334-.264 0-.479-.123-.652-.371v1.131h-.438v-2.953h.409v.256c.149-.21.372-.313.66-.313zm-.066.355a.502.502 0 00-.442.227c-.091.132-.136.31-.136.529v.037c0 .227.053.413.169.553.099.128.231.194.396.194.215 0 .372-.07.475-.21.091-.133.14-.314.14-.55 0-.235-.045-.417-.127-.549-.104-.157-.26-.231-.475-.231zm1.514-1.17h.438v3.008h-.438v-3.007zm1.945.815c.314 0 .546.078.694.235.128.136.194.335.194.595v1.363h-.404v-.302a.89.89 0 01-.31.256c-.14.066-.306.104-.496.104-.223 0-.396-.058-.52-.17a.532.532 0 01-.203-.433c0-.24.095-.426.285-.554.174-.124.422-.186.736-.194l.479-.012v-.087c0-.298-.161-.446-.483-.446a.643.643 0 00-.331.074.379.379 0 00-.186.264l-.434-.037a.729.729 0 01.343-.512c.157-.099.372-.144.636-.144zm.455 1.206l-.45.012c-.401.008-.6.149-.6.413 0 .083.034.149.104.202a.416.416 0 00.268.083.712.712 0 00.475-.17.53.53 0 00.203-.416v-.124zm1.583-1.838v.69h.487v.363h-.487v1.239c0 .058.012.099.037.128a.157.157 0 00.116.041h.28v.364h-.35c-.182 0-.319-.05-.401-.145-.083-.09-.12-.219-.12-.388v-1.24h-.396v-.363h.396v-.508l.438-.181z",
|
|
48
|
+
fill: "#fff",
|
|
49
|
+
fillOpacity: ".88"
|
|
50
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
51
|
+
id: "paint0_linear_12136_1213",
|
|
52
|
+
x1: "7.07",
|
|
53
|
+
y1: "23.121",
|
|
54
|
+
x2: "22.734",
|
|
55
|
+
y2: "20.921",
|
|
56
|
+
gradientUnits: "userSpaceOnUse"
|
|
57
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
58
|
+
stopColor: "#fff",
|
|
59
|
+
stopOpacity: ".2"
|
|
60
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
61
|
+
offset: "1",
|
|
62
|
+
stopColor: "#fff",
|
|
63
|
+
stopOpacity: ".08"
|
|
64
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
65
|
+
id: "paint1_linear_12136_1213",
|
|
66
|
+
x1: "16.216",
|
|
67
|
+
y1: "4.077",
|
|
68
|
+
x2: "11.742",
|
|
69
|
+
y2: "17.156",
|
|
70
|
+
gradientUnits: "userSpaceOnUse"
|
|
71
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
72
|
+
stopColor: "#CDC5FF"
|
|
73
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
74
|
+
offset: "1",
|
|
75
|
+
stopColor: "#666",
|
|
76
|
+
stopOpacity: "0"
|
|
77
|
+
})))));
|
|
78
|
+
};
|
|
79
|
+
export default FileUploadColored;
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import { useConfig } from '../context';
|
|
5
|
+
const GsUploadColored = props => {
|
|
6
|
+
const {
|
|
7
|
+
color,
|
|
8
|
+
size,
|
|
9
|
+
className,
|
|
10
|
+
spin,
|
|
11
|
+
style = {},
|
|
12
|
+
...otherProps
|
|
13
|
+
} = props;
|
|
14
|
+
const config = useConfig();
|
|
15
|
+
const {
|
|
16
|
+
cls
|
|
17
|
+
} = config || {};
|
|
18
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
19
|
+
className: classnames('easyv-icon', {
|
|
20
|
+
'easyv-icon-loading': spin
|
|
21
|
+
}, cls, className),
|
|
22
|
+
style: {
|
|
23
|
+
color,
|
|
24
|
+
fontSize: size,
|
|
25
|
+
...style
|
|
26
|
+
}
|
|
27
|
+
}, otherProps), /*#__PURE__*/React.createElement("svg", {
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: "1em",
|
|
30
|
+
height: "1em",
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: "none"
|
|
33
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
34
|
+
d: "M7.875 8.063c0-.518.42-.938.938-.938h5.25c.517 0 .937.42.937.938v6.75c0 .517-.42.937-.938.937h-5.25a.937.937 0 01-.937-.938v-6.75z",
|
|
35
|
+
fill: "url(#paint0_linear_12136_1133)"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("foreignObject", {
|
|
37
|
+
x: "7.575",
|
|
38
|
+
y: "6.45",
|
|
39
|
+
width: "10.725",
|
|
40
|
+
height: "12.225"
|
|
41
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
42
|
+
xmlns: "http://www.w3.org/1999/xhtml",
|
|
43
|
+
style: {
|
|
44
|
+
backdropFilter: 'blur(.81px)',
|
|
45
|
+
height: '100%',
|
|
46
|
+
width: '100%'
|
|
47
|
+
},
|
|
48
|
+
clipPath: "url(#bgblur_0_12136_1133_clip_path)"
|
|
49
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
50
|
+
filter: "url(#filter0_d_12136_1133)",
|
|
51
|
+
dataFigmaBgBlurRadius: "1.613",
|
|
52
|
+
shapeRendering: "crispEdges"
|
|
53
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
d: "M9.375 9.188c0-.518.42-.938.938-.938h5.25c.517 0 .937.42.937.938v6.75c0 .517-.42.937-.938.937h-5.25a.937.937 0 01-.937-.938v-6.75z",
|
|
55
|
+
fill: "url(#paint1_radial_12136_1133)",
|
|
56
|
+
fillOpacity: ".9"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
d: "M10.313 8.325h5.25c.476 0 .862.386.862.863v6.75a.862.862 0 01-.863.862h-5.25a.862.862 0 01-.862-.863v-6.75c0-.476.386-.862.863-.862z",
|
|
59
|
+
stroke: "url(#paint2_linear_12136_1133)",
|
|
60
|
+
strokeOpacity: ".6",
|
|
61
|
+
strokeWidth: ".15"
|
|
62
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
63
|
+
filter: "url(#filter1_d_12136_1133)"
|
|
64
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
65
|
+
d: "M13.046 14.392l.071-.04a.102.102 0 01.103.176l-.109.063a.338.338 0 01-.336 0l-.108-.063a.103.103 0 01-.037-.14.103.103 0 01.14-.037l.07.041v-.387l.003.002a.194.194 0 00.191 0l.012-.007v.392zm-.855-.375l.217.125c.049.028.066.091.038.14a.103.103 0 01-.14.038l-.216-.126a.103.103 0 01-.038-.14.103.103 0 01.14-.037zm1.504 0a.103.103 0 01.14.037.103.103 0 01-.038.14l-.217.126a.104.104 0 01-.14-.038.104.104 0 01.039-.14l.216-.125zm-2.08-.333l.216.125c.049.028.065.091.037.14a.103.103 0 01-.14.037l-.216-.125a.103.103 0 01-.037-.14.103.103 0 01.14-.037zm2.658 0a.103.103 0 01.14.037.102.102 0 01-.038.14l-.217.125a.103.103 0 01-.14-.037.103.103 0 01.038-.14l.217-.125zm-1.414-2.768a.16.16 0 01.16 0l1.109.633c.05.029.081.083.081.14v1.265a.16.16 0 01-.081.138l-1.11.634a.16.16 0 01-.159 0l-1.109-.634a.16.16 0 01-.08-.138v-1.265a.16.16 0 01.08-.14l1.11-.633zm-1.882 2.109c.056 0 .102.045.102.102v.172c0 .047.025.09.066.114l.108.063a.102.102 0 01-.101.177l-.109-.063a.338.338 0 01-.168-.29v-.173c0-.056.046-.102.102-.102zm3.933 0c.056 0 .102.045.102.102v.172c0 .12-.065.232-.168.292l-.109.062a.102.102 0 01-.102-.177l.11-.063a.131.131 0 00.065-.114v-.172c0-.056.046-.102.102-.102zm-1.1-.918l-.615.352a.16.16 0 00-.08.138v.619c0 .024.026.04.047.028l.615-.352a.16.16 0 00.081-.14v-.618a.032.032 0 00-.048-.027zm-2.833-.002c.056 0 .102.046.102.103v.345a.103.103 0 01-.102.102.103.103 0 01-.102-.102v-.345c0-.056.046-.102.102-.103zm3.933 0c.056 0 .102.046.102.103v.345a.102.102 0 01-.102.102.103.103 0 01-.102-.102v-.345c0-.056.046-.103.102-.103zm-1.891-.789a.16.16 0 00-.16 0l-.69.394a.032.032 0 000 .055l.69.394a.16.16 0 00.16 0l.688-.394a.032.032 0 000-.055l-.688-.394zm-1.868-.209a.102.102 0 01.102.178l-.059.033.26.128a.194.194 0 00-.039.115v.094l-.336-.166v.144a.103.103 0 01-.102.103.103.103 0 01-.102-.103v-.172c0-.12.065-.23.168-.29l.108-.064zm3.584 0l.109.064c.103.06.168.17.168.29v.172a.103.103 0 01-.102.103.104.104 0 01-.102-.103v-.144l-.346.17v-.098a.19.19 0 00-.037-.111l.267-.132-.058-.033a.102.102 0 01.102-.178zm-3.006-.333a.103.103 0 01.14.037.103.103 0 01-.038.14l-.217.126a.103.103 0 01-.103-.178l.217-.125zm2.43 0l.216.125a.103.103 0 01-.102.178l-.217-.126a.103.103 0 01-.037-.14.103.103 0 01.14-.037zm-1.852-.333a.102.102 0 01.14.037.103.103 0 01-.039.14l-.217.125a.103.103 0 01-.14-.037.103.103 0 01.039-.14l.217-.125zm1.273 0l.217.125c.049.028.066.09.038.14a.103.103 0 01-.14.037l-.216-.125a.103.103 0 01-.039-.14.103.103 0 01.14-.037zm-.805-.271a.337.337 0 01.336 0l.109.062a.102.102 0 01-.103.177l-.108-.063a.132.132 0 00-.131 0l-.108.063a.103.103 0 01-.14-.037.103.103 0 01.037-.14l.108-.062z",
|
|
66
|
+
fill: "#F8F8F8"
|
|
67
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
68
|
+
filter: "url(#filter2_d_12136_1133)"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
70
|
+
cx: "9.45",
|
|
71
|
+
cy: "15.825",
|
|
72
|
+
r: "1.2",
|
|
73
|
+
fill: "#fff"
|
|
74
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
75
|
+
cx: "9.45",
|
|
76
|
+
cy: "15.825",
|
|
77
|
+
r: "1.256",
|
|
78
|
+
stroke: "#fff",
|
|
79
|
+
strokeWidth: ".113"
|
|
80
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
81
|
+
d: "M9.468 15.079a.04.04 0 01.014.01l.56.666c.02.025.002.06-.032.06h-.37v.76h-.38v-.76h-.37a.042.042 0 01-.021-.005.04.04 0 01-.015-.016.036.036 0 01.005-.04l.56-.665a.04.04 0 01.031-.014c.006 0 .012.001.018.004z",
|
|
82
|
+
fill: "#000"
|
|
83
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("filter", {
|
|
84
|
+
id: "filter0_d_12136_1133",
|
|
85
|
+
x: "7.575",
|
|
86
|
+
y: "6.45",
|
|
87
|
+
width: "10.725",
|
|
88
|
+
height: "12.225",
|
|
89
|
+
filterUnits: "userSpaceOnUse",
|
|
90
|
+
colorInterpolationFilters: "sRGB"
|
|
91
|
+
}, /*#__PURE__*/React.createElement("feFlood", {
|
|
92
|
+
floodOpacity: "0",
|
|
93
|
+
result: "BackgroundImageFix"
|
|
94
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
95
|
+
in: "SourceAlpha",
|
|
96
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
97
|
+
result: "hardAlpha"
|
|
98
|
+
}), /*#__PURE__*/React.createElement("feOffset", null), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
99
|
+
stdDeviation: ".9"
|
|
100
|
+
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
101
|
+
in2: "hardAlpha",
|
|
102
|
+
operator: "out"
|
|
103
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
104
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
|
|
105
|
+
}), /*#__PURE__*/React.createElement("feBlend", {
|
|
106
|
+
in2: "BackgroundImageFix",
|
|
107
|
+
result: "effect1_dropShadow_12136_1133"
|
|
108
|
+
}), /*#__PURE__*/React.createElement("feBlend", {
|
|
109
|
+
in: "SourceGraphic",
|
|
110
|
+
in2: "effect1_dropShadow_12136_1133",
|
|
111
|
+
result: "shape"
|
|
112
|
+
})), /*#__PURE__*/React.createElement("filter", {
|
|
113
|
+
id: "filter1_d_12136_1133",
|
|
114
|
+
x: "9.563",
|
|
115
|
+
y: "9.187",
|
|
116
|
+
width: "6.762",
|
|
117
|
+
height: "7.136",
|
|
118
|
+
filterUnits: "userSpaceOnUse",
|
|
119
|
+
colorInterpolationFilters: "sRGB"
|
|
120
|
+
}, /*#__PURE__*/React.createElement("feFlood", {
|
|
121
|
+
floodOpacity: "0",
|
|
122
|
+
result: "BackgroundImageFix"
|
|
123
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
124
|
+
in: "SourceAlpha",
|
|
125
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
126
|
+
result: "hardAlpha"
|
|
127
|
+
}), /*#__PURE__*/React.createElement("feOffset", {
|
|
128
|
+
dy: ".375"
|
|
129
|
+
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
130
|
+
stdDeviation: ".656"
|
|
131
|
+
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
132
|
+
in2: "hardAlpha",
|
|
133
|
+
operator: "out"
|
|
134
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
135
|
+
values: "0 0 0 0 0.197631 0 0 0 0 0.180168 0 0 0 0 0.354793 0 0 0 0.81 0"
|
|
136
|
+
}), /*#__PURE__*/React.createElement("feBlend", {
|
|
137
|
+
in2: "BackgroundImageFix",
|
|
138
|
+
result: "effect1_dropShadow_12136_1133"
|
|
139
|
+
}), /*#__PURE__*/React.createElement("feBlend", {
|
|
140
|
+
in: "SourceGraphic",
|
|
141
|
+
in2: "effect1_dropShadow_12136_1133",
|
|
142
|
+
result: "shape"
|
|
143
|
+
})), /*#__PURE__*/React.createElement("filter", {
|
|
144
|
+
id: "filter2_d_12136_1133",
|
|
145
|
+
x: "7.538",
|
|
146
|
+
y: "14.063",
|
|
147
|
+
width: "3.825",
|
|
148
|
+
height: "3.825",
|
|
149
|
+
filterUnits: "userSpaceOnUse",
|
|
150
|
+
colorInterpolationFilters: "sRGB"
|
|
151
|
+
}, /*#__PURE__*/React.createElement("feFlood", {
|
|
152
|
+
floodOpacity: "0",
|
|
153
|
+
result: "BackgroundImageFix"
|
|
154
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
155
|
+
in: "SourceAlpha",
|
|
156
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
157
|
+
result: "hardAlpha"
|
|
158
|
+
}), /*#__PURE__*/React.createElement("feOffset", {
|
|
159
|
+
dy: ".15"
|
|
160
|
+
}), /*#__PURE__*/React.createElement("feGaussianBlur", {
|
|
161
|
+
stdDeviation: ".3"
|
|
162
|
+
}), /*#__PURE__*/React.createElement("feComposite", {
|
|
163
|
+
in2: "hardAlpha",
|
|
164
|
+
operator: "out"
|
|
165
|
+
}), /*#__PURE__*/React.createElement("feColorMatrix", {
|
|
166
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
|
|
167
|
+
}), /*#__PURE__*/React.createElement("feBlend", {
|
|
168
|
+
in2: "BackgroundImageFix",
|
|
169
|
+
result: "effect1_dropShadow_12136_1133"
|
|
170
|
+
}), /*#__PURE__*/React.createElement("feBlend", {
|
|
171
|
+
in: "SourceGraphic",
|
|
172
|
+
in2: "effect1_dropShadow_12136_1133",
|
|
173
|
+
result: "shape"
|
|
174
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
175
|
+
id: "paint0_linear_12136_1133",
|
|
176
|
+
x1: "11.438",
|
|
177
|
+
y1: "7.125",
|
|
178
|
+
x2: "14.88",
|
|
179
|
+
y2: "13.806",
|
|
180
|
+
gradientUnits: "userSpaceOnUse"
|
|
181
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
182
|
+
stopColor: "#786AF1"
|
|
183
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
184
|
+
offset: ".801",
|
|
185
|
+
stopColor: "#604FEF"
|
|
186
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
187
|
+
id: "paint2_linear_12136_1133",
|
|
188
|
+
x1: "9.771",
|
|
189
|
+
y1: "8.625",
|
|
190
|
+
x2: "15.471",
|
|
191
|
+
y2: "17.165",
|
|
192
|
+
gradientUnits: "userSpaceOnUse"
|
|
193
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
194
|
+
stopColor: "#fff",
|
|
195
|
+
stopOpacity: ".67"
|
|
196
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
197
|
+
offset: "1",
|
|
198
|
+
stopColor: "#D0CBFF",
|
|
199
|
+
stopOpacity: ".25"
|
|
200
|
+
})), /*#__PURE__*/React.createElement("radialGradient", {
|
|
201
|
+
id: "paint1_radial_12136_1133",
|
|
202
|
+
cx: "0",
|
|
203
|
+
cy: "0",
|
|
204
|
+
r: "1",
|
|
205
|
+
gradientTransform: "matrix(7.125 8.4375 -14.4404 10.9443 11.354 8.813)",
|
|
206
|
+
gradientUnits: "userSpaceOnUse"
|
|
207
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
208
|
+
offset: ".005",
|
|
209
|
+
stopColor: "#B3ABFF",
|
|
210
|
+
stopOpacity: ".91"
|
|
211
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
212
|
+
offset: ".59",
|
|
213
|
+
stopColor: "#DCD8FF",
|
|
214
|
+
stopOpacity: ".47"
|
|
215
|
+
})), /*#__PURE__*/React.createElement("clipPath", {
|
|
216
|
+
id: "bgblur_0_12136_1133_clip_path",
|
|
217
|
+
transform: "translate(-7.575 -6.45)"
|
|
218
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
219
|
+
d: "M9.375 9.188c0-.518.42-.938.938-.938h5.25c.517 0 .937.42.937.938v6.75c0 .517-.42.937-.938.937h-5.25a.937.937 0 01-.937-.938v-6.75z"
|
|
220
|
+
})))));
|
|
221
|
+
};
|
|
222
|
+
export default GsUploadColored;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import { useConfig } from '../context';
|
|
5
|
+
const LayoutSwitchOutlined = props => {
|
|
6
|
+
const {
|
|
7
|
+
color,
|
|
8
|
+
size,
|
|
9
|
+
className,
|
|
10
|
+
spin,
|
|
11
|
+
style = {},
|
|
12
|
+
...otherProps
|
|
13
|
+
} = props;
|
|
14
|
+
const config = useConfig();
|
|
15
|
+
const {
|
|
16
|
+
cls
|
|
17
|
+
} = config || {};
|
|
18
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
19
|
+
className: classnames('easyv-icon', {
|
|
20
|
+
'easyv-icon-loading': spin
|
|
21
|
+
}, cls, className),
|
|
22
|
+
style: {
|
|
23
|
+
color,
|
|
24
|
+
fontSize: size,
|
|
25
|
+
...style
|
|
26
|
+
}
|
|
27
|
+
}, otherProps), /*#__PURE__*/React.createElement("svg", {
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: "1em",
|
|
30
|
+
height: "1em",
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: "currentColor"
|
|
33
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
34
|
+
d: "M22 19.85a.9.9 0 010 1.8h-5.326l.713.713a.9.9 0 01-1.274 1.274l-2.25-2.25a.9.9 0 01.637-1.537H22zM19 2a3 3 0 013 3v7h-2V5a1 1 0 00-1-1h-9v16h2v2H5a3 3 0 01-3-3V5a3 3 0 013-3h14zM5 4a1 1 0 00-1 1v14a1 1 0 001 1h3V4H5zm14.113 9.613a.9.9 0 011.274 0l2.25 2.25A.9.9 0 0122 17.4h-7.5a.9.9 0 010-1.8h5.326l-.713-.713a.9.9 0 010-1.274z"
|
|
35
|
+
})));
|
|
36
|
+
};
|
|
37
|
+
export default LayoutSwitchOutlined;
|
package/dist/icons.d.ts
CHANGED
|
@@ -51,6 +51,8 @@ export const PlaneTurnPointColored: Icon;
|
|
|
51
51
|
export const DTableUploadColored: Icon;
|
|
52
52
|
export const EasyTwinUploadColored: Icon;
|
|
53
53
|
export const EasyVUploadColored: Icon;
|
|
54
|
+
export const GsUploadColored: Icon;
|
|
55
|
+
export const FileUploadColored: Icon;
|
|
54
56
|
export const ComponentsLightColored: Icon;
|
|
55
57
|
export const ResourceLightColored: Icon;
|
|
56
58
|
export const ApplicationLightColored: Icon;
|
|
@@ -726,6 +728,7 @@ export const TypePlusOutlined: Icon;
|
|
|
726
728
|
export const FilePlusOutlined: Icon;
|
|
727
729
|
export const FilterCheckedOutlined: Icon;
|
|
728
730
|
export const SwatchBookOutlined: Icon;
|
|
731
|
+
export const LayoutSwitchOutlined: Icon;
|
|
729
732
|
export const FrameSelectionOutlined: Icon;
|
|
730
733
|
export const ModelOutlined: Icon;
|
|
731
734
|
export const ModelNodeListOutlined: Icon;
|
package/dist/lib/icons.js
CHANGED
|
@@ -40,6 +40,8 @@ var _exportNames = {
|
|
|
40
40
|
DTableUploadColored: true,
|
|
41
41
|
EasyTwinUploadColored: true,
|
|
42
42
|
EasyVUploadColored: true,
|
|
43
|
+
GsUploadColored: true,
|
|
44
|
+
FileUploadColored: true,
|
|
43
45
|
ComponentsLightColored: true,
|
|
44
46
|
ResourceLightColored: true,
|
|
45
47
|
ApplicationLightColored: true,
|
|
@@ -715,6 +717,7 @@ var _exportNames = {
|
|
|
715
717
|
FilePlusOutlined: true,
|
|
716
718
|
FilterCheckedOutlined: true,
|
|
717
719
|
SwatchBookOutlined: true,
|
|
720
|
+
LayoutSwitchOutlined: true,
|
|
718
721
|
FrameSelectionOutlined: true,
|
|
719
722
|
ModelOutlined: true,
|
|
720
723
|
ModelNodeListOutlined: true,
|
|
@@ -3546,6 +3549,12 @@ Object.defineProperty(exports, "FileUnknownOutlined", {
|
|
|
3546
3549
|
return _FileUnknownOutlined["default"];
|
|
3547
3550
|
}
|
|
3548
3551
|
});
|
|
3552
|
+
Object.defineProperty(exports, "FileUploadColored", {
|
|
3553
|
+
enumerable: true,
|
|
3554
|
+
get: function get() {
|
|
3555
|
+
return _FileUploadColored["default"];
|
|
3556
|
+
}
|
|
3557
|
+
});
|
|
3549
3558
|
Object.defineProperty(exports, "FileWordFilled", {
|
|
3550
3559
|
enumerable: true,
|
|
3551
3560
|
get: function get() {
|
|
@@ -4086,6 +4095,12 @@ Object.defineProperty(exports, "GroupSquareOutlined", {
|
|
|
4086
4095
|
return _GroupSquareOutlined["default"];
|
|
4087
4096
|
}
|
|
4088
4097
|
});
|
|
4098
|
+
Object.defineProperty(exports, "GsUploadColored", {
|
|
4099
|
+
enumerable: true,
|
|
4100
|
+
get: function get() {
|
|
4101
|
+
return _GsUploadColored["default"];
|
|
4102
|
+
}
|
|
4103
|
+
});
|
|
4089
4104
|
Object.defineProperty(exports, "HddFilled", {
|
|
4090
4105
|
enumerable: true,
|
|
4091
4106
|
get: function get() {
|
|
@@ -4482,6 +4497,12 @@ Object.defineProperty(exports, "LayoutOutlined", {
|
|
|
4482
4497
|
return _LayoutOutlined["default"];
|
|
4483
4498
|
}
|
|
4484
4499
|
});
|
|
4500
|
+
Object.defineProperty(exports, "LayoutSwitchOutlined", {
|
|
4501
|
+
enumerable: true,
|
|
4502
|
+
get: function get() {
|
|
4503
|
+
return _LayoutSwitchOutlined["default"];
|
|
4504
|
+
}
|
|
4505
|
+
});
|
|
4485
4506
|
Object.defineProperty(exports, "LeftCircleFilled", {
|
|
4486
4507
|
enumerable: true,
|
|
4487
4508
|
get: function get() {
|
|
@@ -7452,6 +7473,8 @@ var _PlaneTurnPointColored = _interopRequireDefault(require("./react-icons/Plane
|
|
|
7452
7473
|
var _DTableUploadColored = _interopRequireDefault(require("./react-icons/DTableUploadColored"));
|
|
7453
7474
|
var _EasyTwinUploadColored = _interopRequireDefault(require("./react-icons/EasyTwinUploadColored"));
|
|
7454
7475
|
var _EasyVUploadColored = _interopRequireDefault(require("./react-icons/EasyVUploadColored"));
|
|
7476
|
+
var _GsUploadColored = _interopRequireDefault(require("./react-icons/GsUploadColored"));
|
|
7477
|
+
var _FileUploadColored = _interopRequireDefault(require("./react-icons/FileUploadColored"));
|
|
7455
7478
|
var _ComponentsLightColored = _interopRequireDefault(require("./react-icons/ComponentsLightColored"));
|
|
7456
7479
|
var _ResourceLightColored = _interopRequireDefault(require("./react-icons/ResourceLightColored"));
|
|
7457
7480
|
var _ApplicationLightColored = _interopRequireDefault(require("./react-icons/ApplicationLightColored"));
|
|
@@ -8127,6 +8150,7 @@ var _TypePlusOutlined = _interopRequireDefault(require("./react-icons/TypePlusOu
|
|
|
8127
8150
|
var _FilePlusOutlined = _interopRequireDefault(require("./react-icons/FilePlusOutlined"));
|
|
8128
8151
|
var _FilterCheckedOutlined = _interopRequireDefault(require("./react-icons/FilterCheckedOutlined"));
|
|
8129
8152
|
var _SwatchBookOutlined = _interopRequireDefault(require("./react-icons/SwatchBookOutlined"));
|
|
8153
|
+
var _LayoutSwitchOutlined = _interopRequireDefault(require("./react-icons/LayoutSwitchOutlined"));
|
|
8130
8154
|
var _FrameSelectionOutlined = _interopRequireDefault(require("./react-icons/FrameSelectionOutlined"));
|
|
8131
8155
|
var _ModelOutlined = _interopRequireDefault(require("./react-icons/ModelOutlined"));
|
|
8132
8156
|
var _ModelNodeListOutlined = _interopRequireDefault(require("./react-icons/ModelNodeListOutlined"));
|
|
@@ -0,0 +1,92 @@
|
|
|
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 _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
+
var _context = require("../context");
|
|
11
|
+
var _excluded = ["color", "size", "className", "spin", "style"];
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); }
|
|
19
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
20
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
21
|
+
var FileUploadColored = function FileUploadColored(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
className = props.className,
|
|
25
|
+
spin = props.spin,
|
|
26
|
+
_props$style = props.style,
|
|
27
|
+
style = _props$style === void 0 ? {} : _props$style,
|
|
28
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
var config = (0, _context.useConfig)();
|
|
30
|
+
var _ref = config || {},
|
|
31
|
+
cls = _ref.cls;
|
|
32
|
+
return /*#__PURE__*/_react["default"].createElement("span", _extends({
|
|
33
|
+
className: (0, _classnames["default"])('easyv-icon', {
|
|
34
|
+
'easyv-icon-loading': spin
|
|
35
|
+
}, cls, className),
|
|
36
|
+
style: _objectSpread({
|
|
37
|
+
color: color,
|
|
38
|
+
fontSize: size
|
|
39
|
+
}, style)
|
|
40
|
+
}, otherProps), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
41
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
+
width: "1em",
|
|
43
|
+
height: "1em",
|
|
44
|
+
viewBox: "0 0 24 24",
|
|
45
|
+
fill: "none"
|
|
46
|
+
}, /*#__PURE__*/_react["default"].createElement("mask", {
|
|
47
|
+
id: "a",
|
|
48
|
+
fill: "#fff"
|
|
49
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
50
|
+
d: "M13.023 2.09c.364 0 .717.125 1 .355l5.32 4.322c.37.301.586.753.586 1.23v12.328c0 .876-.71 1.586-1.586 1.586H5.657c-.876 0-1.586-.71-1.586-1.586V3.675c0-.875.71-1.585 1.586-1.585h7.366z"
|
|
51
|
+
})), /*#__PURE__*/_react["default"].createElement("path", {
|
|
52
|
+
d: "M13.023 2.09c.364 0 .717.125 1 .355l5.32 4.322c.37.301.586.753.586 1.23v12.328c0 .876-.71 1.586-1.586 1.586H5.657c-.876 0-1.586-.71-1.586-1.586V3.675c0-.875.71-1.585 1.586-1.585h7.366z",
|
|
53
|
+
fill: "url(#paint0_linear_12136_1213)"
|
|
54
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M14.023 2.445l-.19.233.19-.233zm5.32 4.322l.189-.232-.19.232zm.586 1.23h.3-.3zm-1.586 13.914v.3-.3zM13.023 2.09v.3c.295 0 .58.102.81.288l.19-.233.189-.233a1.886 1.886 0 00-1.19-.422v.3zm1 .355l-.19.233L19.153 7l.19-.233.189-.233-5.32-4.322-.19.233zm5.32 4.322l-.19.233c.301.244.476.61.476.998h.6c0-.568-.257-1.106-.697-1.463l-.19.232zm.586 1.23h-.3v12.328h.6V7.998h-.3zm0 12.328h-.3c0 .71-.576 1.286-1.286 1.286v.6a1.886 1.886 0 001.886-1.886h-.3zm-1.586 1.586v-.3H5.657v.6h12.686v-.3zm-12.686 0v-.3c-.71 0-1.286-.576-1.286-1.286h-.6c0 1.041.845 1.886 1.886 1.886v-.3zm-1.586-1.586h.3V3.675h-.6v16.65h.3zm0-16.65h.3c0-.71.576-1.285 1.286-1.285v-.6a1.886 1.886 0 00-1.886 1.886h.3zM5.657 2.09v.3h7.366v-.6H5.657v.3z",
|
|
56
|
+
fill: "url(#paint1_linear_12136_1213)",
|
|
57
|
+
fillOpacity: ".4",
|
|
58
|
+
mask: "url(#a)"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
|
+
d: "M7.356 16.39a.305.305 0 01.31.31.317.317 0 01-.091.219.328.328 0 01-.22.082.29.29 0 01-.214-.082.3.3 0 01-.09-.22.29.29 0 01.09-.222.277.277 0 01.215-.087zm1.608-1.602c.554 0 .86.223.91.673h-.426c-.033-.116-.083-.194-.153-.24-.074-.05-.19-.074-.339-.074-.132 0-.231.016-.297.058a.203.203 0 00-.116.19c0 .074.058.136.174.19.074.033.214.074.43.128.243.058.425.128.54.202.17.108.256.256.256.446 0 .45-.318.677-.95.677-.586 0-.9-.251-.95-.747h.43c.025.145.078.248.153.306.074.053.19.082.355.082.339 0 .512-.099.512-.289 0-.103-.066-.186-.19-.244a2.366 2.366 0 00-.43-.123c-.251-.058-.429-.12-.528-.186a.484.484 0 01-.248-.43c0-.194.079-.347.24-.454.16-.112.371-.165.627-.165zm2.419 0c.314 0 .557.111.74.334.164.207.247.471.247.801 0 .314-.083.574-.244.781-.173.223-.417.334-.723.334-.264 0-.479-.123-.652-.371v1.131h-.438v-2.953h.409v.256c.149-.21.372-.313.66-.313zm-.066.355a.502.502 0 00-.442.227c-.091.132-.136.31-.136.529v.037c0 .227.053.413.169.553.099.128.231.194.396.194.215 0 .372-.07.475-.21.091-.133.14-.314.14-.55 0-.235-.045-.417-.127-.549-.104-.157-.26-.231-.475-.231zm1.514-1.17h.438v3.008h-.438v-3.007zm1.945.815c.314 0 .546.078.694.235.128.136.194.335.194.595v1.363h-.404v-.302a.89.89 0 01-.31.256c-.14.066-.306.104-.496.104-.223 0-.396-.058-.52-.17a.532.532 0 01-.203-.433c0-.24.095-.426.285-.554.174-.124.422-.186.736-.194l.479-.012v-.087c0-.298-.161-.446-.483-.446a.643.643 0 00-.331.074.379.379 0 00-.186.264l-.434-.037a.729.729 0 01.343-.512c.157-.099.372-.144.636-.144zm.455 1.206l-.45.012c-.401.008-.6.149-.6.413 0 .083.034.149.104.202a.416.416 0 00.268.083.712.712 0 00.475-.17.53.53 0 00.203-.416v-.124zm1.583-1.838v.69h.487v.363h-.487v1.239c0 .058.012.099.037.128a.157.157 0 00.116.041h.28v.364h-.35c-.182 0-.319-.05-.401-.145-.083-.09-.12-.219-.12-.388v-1.24h-.396v-.363h.396v-.508l.438-.181z",
|
|
61
|
+
fill: "#fff",
|
|
62
|
+
fillOpacity: ".88"
|
|
63
|
+
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
64
|
+
id: "paint0_linear_12136_1213",
|
|
65
|
+
x1: "7.07",
|
|
66
|
+
y1: "23.121",
|
|
67
|
+
x2: "22.734",
|
|
68
|
+
y2: "20.921",
|
|
69
|
+
gradientUnits: "userSpaceOnUse"
|
|
70
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
71
|
+
stopColor: "#fff",
|
|
72
|
+
stopOpacity: ".2"
|
|
73
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
74
|
+
offset: "1",
|
|
75
|
+
stopColor: "#fff",
|
|
76
|
+
stopOpacity: ".08"
|
|
77
|
+
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
78
|
+
id: "paint1_linear_12136_1213",
|
|
79
|
+
x1: "16.216",
|
|
80
|
+
y1: "4.077",
|
|
81
|
+
x2: "11.742",
|
|
82
|
+
y2: "17.156",
|
|
83
|
+
gradientUnits: "userSpaceOnUse"
|
|
84
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
85
|
+
stopColor: "#CDC5FF"
|
|
86
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
87
|
+
offset: "1",
|
|
88
|
+
stopColor: "#666",
|
|
89
|
+
stopOpacity: "0"
|
|
90
|
+
})))));
|
|
91
|
+
};
|
|
92
|
+
var _default = exports["default"] = FileUploadColored;
|
|
@@ -0,0 +1,235 @@
|
|
|
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 _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
+
var _context = require("../context");
|
|
11
|
+
var _excluded = ["color", "size", "className", "spin", "style"];
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); }
|
|
19
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
20
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
21
|
+
var GsUploadColored = function GsUploadColored(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
className = props.className,
|
|
25
|
+
spin = props.spin,
|
|
26
|
+
_props$style = props.style,
|
|
27
|
+
style = _props$style === void 0 ? {} : _props$style,
|
|
28
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
var config = (0, _context.useConfig)();
|
|
30
|
+
var _ref = config || {},
|
|
31
|
+
cls = _ref.cls;
|
|
32
|
+
return /*#__PURE__*/_react["default"].createElement("span", _extends({
|
|
33
|
+
className: (0, _classnames["default"])('easyv-icon', {
|
|
34
|
+
'easyv-icon-loading': spin
|
|
35
|
+
}, cls, className),
|
|
36
|
+
style: _objectSpread({
|
|
37
|
+
color: color,
|
|
38
|
+
fontSize: size
|
|
39
|
+
}, style)
|
|
40
|
+
}, otherProps), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
41
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
+
width: "1em",
|
|
43
|
+
height: "1em",
|
|
44
|
+
viewBox: "0 0 24 24",
|
|
45
|
+
fill: "none"
|
|
46
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
47
|
+
d: "M7.875 8.063c0-.518.42-.938.938-.938h5.25c.517 0 .937.42.937.938v6.75c0 .517-.42.937-.938.937h-5.25a.937.937 0 01-.937-.938v-6.75z",
|
|
48
|
+
fill: "url(#paint0_linear_12136_1133)"
|
|
49
|
+
}), /*#__PURE__*/_react["default"].createElement("foreignObject", {
|
|
50
|
+
x: "7.575",
|
|
51
|
+
y: "6.45",
|
|
52
|
+
width: "10.725",
|
|
53
|
+
height: "12.225"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
55
|
+
xmlns: "http://www.w3.org/1999/xhtml",
|
|
56
|
+
style: {
|
|
57
|
+
backdropFilter: 'blur(.81px)',
|
|
58
|
+
height: '100%',
|
|
59
|
+
width: '100%'
|
|
60
|
+
},
|
|
61
|
+
clipPath: "url(#bgblur_0_12136_1133_clip_path)"
|
|
62
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
63
|
+
filter: "url(#filter0_d_12136_1133)",
|
|
64
|
+
dataFigmaBgBlurRadius: "1.613",
|
|
65
|
+
shapeRendering: "crispEdges"
|
|
66
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
67
|
+
d: "M9.375 9.188c0-.518.42-.938.938-.938h5.25c.517 0 .937.42.937.938v6.75c0 .517-.42.937-.938.937h-5.25a.937.937 0 01-.937-.938v-6.75z",
|
|
68
|
+
fill: "url(#paint1_radial_12136_1133)",
|
|
69
|
+
fillOpacity: ".9"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
71
|
+
d: "M10.313 8.325h5.25c.476 0 .862.386.862.863v6.75a.862.862 0 01-.863.862h-5.25a.862.862 0 01-.862-.863v-6.75c0-.476.386-.862.863-.862z",
|
|
72
|
+
stroke: "url(#paint2_linear_12136_1133)",
|
|
73
|
+
strokeOpacity: ".6",
|
|
74
|
+
strokeWidth: ".15"
|
|
75
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
76
|
+
filter: "url(#filter1_d_12136_1133)"
|
|
77
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
78
|
+
d: "M13.046 14.392l.071-.04a.102.102 0 01.103.176l-.109.063a.338.338 0 01-.336 0l-.108-.063a.103.103 0 01-.037-.14.103.103 0 01.14-.037l.07.041v-.387l.003.002a.194.194 0 00.191 0l.012-.007v.392zm-.855-.375l.217.125c.049.028.066.091.038.14a.103.103 0 01-.14.038l-.216-.126a.103.103 0 01-.038-.14.103.103 0 01.14-.037zm1.504 0a.103.103 0 01.14.037.103.103 0 01-.038.14l-.217.126a.104.104 0 01-.14-.038.104.104 0 01.039-.14l.216-.125zm-2.08-.333l.216.125c.049.028.065.091.037.14a.103.103 0 01-.14.037l-.216-.125a.103.103 0 01-.037-.14.103.103 0 01.14-.037zm2.658 0a.103.103 0 01.14.037.102.102 0 01-.038.14l-.217.125a.103.103 0 01-.14-.037.103.103 0 01.038-.14l.217-.125zm-1.414-2.768a.16.16 0 01.16 0l1.109.633c.05.029.081.083.081.14v1.265a.16.16 0 01-.081.138l-1.11.634a.16.16 0 01-.159 0l-1.109-.634a.16.16 0 01-.08-.138v-1.265a.16.16 0 01.08-.14l1.11-.633zm-1.882 2.109c.056 0 .102.045.102.102v.172c0 .047.025.09.066.114l.108.063a.102.102 0 01-.101.177l-.109-.063a.338.338 0 01-.168-.29v-.173c0-.056.046-.102.102-.102zm3.933 0c.056 0 .102.045.102.102v.172c0 .12-.065.232-.168.292l-.109.062a.102.102 0 01-.102-.177l.11-.063a.131.131 0 00.065-.114v-.172c0-.056.046-.102.102-.102zm-1.1-.918l-.615.352a.16.16 0 00-.08.138v.619c0 .024.026.04.047.028l.615-.352a.16.16 0 00.081-.14v-.618a.032.032 0 00-.048-.027zm-2.833-.002c.056 0 .102.046.102.103v.345a.103.103 0 01-.102.102.103.103 0 01-.102-.102v-.345c0-.056.046-.102.102-.103zm3.933 0c.056 0 .102.046.102.103v.345a.102.102 0 01-.102.102.103.103 0 01-.102-.102v-.345c0-.056.046-.103.102-.103zm-1.891-.789a.16.16 0 00-.16 0l-.69.394a.032.032 0 000 .055l.69.394a.16.16 0 00.16 0l.688-.394a.032.032 0 000-.055l-.688-.394zm-1.868-.209a.102.102 0 01.102.178l-.059.033.26.128a.194.194 0 00-.039.115v.094l-.336-.166v.144a.103.103 0 01-.102.103.103.103 0 01-.102-.103v-.172c0-.12.065-.23.168-.29l.108-.064zm3.584 0l.109.064c.103.06.168.17.168.29v.172a.103.103 0 01-.102.103.104.104 0 01-.102-.103v-.144l-.346.17v-.098a.19.19 0 00-.037-.111l.267-.132-.058-.033a.102.102 0 01.102-.178zm-3.006-.333a.103.103 0 01.14.037.103.103 0 01-.038.14l-.217.126a.103.103 0 01-.103-.178l.217-.125zm2.43 0l.216.125a.103.103 0 01-.102.178l-.217-.126a.103.103 0 01-.037-.14.103.103 0 01.14-.037zm-1.852-.333a.102.102 0 01.14.037.103.103 0 01-.039.14l-.217.125a.103.103 0 01-.14-.037.103.103 0 01.039-.14l.217-.125zm1.273 0l.217.125c.049.028.066.09.038.14a.103.103 0 01-.14.037l-.216-.125a.103.103 0 01-.039-.14.103.103 0 01.14-.037zm-.805-.271a.337.337 0 01.336 0l.109.062a.102.102 0 01-.103.177l-.108-.063a.132.132 0 00-.131 0l-.108.063a.103.103 0 01-.14-.037.103.103 0 01.037-.14l.108-.062z",
|
|
79
|
+
fill: "#F8F8F8"
|
|
80
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
81
|
+
filter: "url(#filter2_d_12136_1133)"
|
|
82
|
+
}, /*#__PURE__*/_react["default"].createElement("circle", {
|
|
83
|
+
cx: "9.45",
|
|
84
|
+
cy: "15.825",
|
|
85
|
+
r: "1.2",
|
|
86
|
+
fill: "#fff"
|
|
87
|
+
}), /*#__PURE__*/_react["default"].createElement("circle", {
|
|
88
|
+
cx: "9.45",
|
|
89
|
+
cy: "15.825",
|
|
90
|
+
r: "1.256",
|
|
91
|
+
stroke: "#fff",
|
|
92
|
+
strokeWidth: ".113"
|
|
93
|
+
})), /*#__PURE__*/_react["default"].createElement("path", {
|
|
94
|
+
d: "M9.468 15.079a.04.04 0 01.014.01l.56.666c.02.025.002.06-.032.06h-.37v.76h-.38v-.76h-.37a.042.042 0 01-.021-.005.04.04 0 01-.015-.016.036.036 0 01.005-.04l.56-.665a.04.04 0 01.031-.014c.006 0 .012.001.018.004z",
|
|
95
|
+
fill: "#000"
|
|
96
|
+
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("filter", {
|
|
97
|
+
id: "filter0_d_12136_1133",
|
|
98
|
+
x: "7.575",
|
|
99
|
+
y: "6.45",
|
|
100
|
+
width: "10.725",
|
|
101
|
+
height: "12.225",
|
|
102
|
+
filterUnits: "userSpaceOnUse",
|
|
103
|
+
colorInterpolationFilters: "sRGB"
|
|
104
|
+
}, /*#__PURE__*/_react["default"].createElement("feFlood", {
|
|
105
|
+
floodOpacity: "0",
|
|
106
|
+
result: "BackgroundImageFix"
|
|
107
|
+
}), /*#__PURE__*/_react["default"].createElement("feColorMatrix", {
|
|
108
|
+
"in": "SourceAlpha",
|
|
109
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
110
|
+
result: "hardAlpha"
|
|
111
|
+
}), /*#__PURE__*/_react["default"].createElement("feOffset", null), /*#__PURE__*/_react["default"].createElement("feGaussianBlur", {
|
|
112
|
+
stdDeviation: ".9"
|
|
113
|
+
}), /*#__PURE__*/_react["default"].createElement("feComposite", {
|
|
114
|
+
in2: "hardAlpha",
|
|
115
|
+
operator: "out"
|
|
116
|
+
}), /*#__PURE__*/_react["default"].createElement("feColorMatrix", {
|
|
117
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
|
|
118
|
+
}), /*#__PURE__*/_react["default"].createElement("feBlend", {
|
|
119
|
+
in2: "BackgroundImageFix",
|
|
120
|
+
result: "effect1_dropShadow_12136_1133"
|
|
121
|
+
}), /*#__PURE__*/_react["default"].createElement("feBlend", {
|
|
122
|
+
"in": "SourceGraphic",
|
|
123
|
+
in2: "effect1_dropShadow_12136_1133",
|
|
124
|
+
result: "shape"
|
|
125
|
+
})), /*#__PURE__*/_react["default"].createElement("filter", {
|
|
126
|
+
id: "filter1_d_12136_1133",
|
|
127
|
+
x: "9.563",
|
|
128
|
+
y: "9.187",
|
|
129
|
+
width: "6.762",
|
|
130
|
+
height: "7.136",
|
|
131
|
+
filterUnits: "userSpaceOnUse",
|
|
132
|
+
colorInterpolationFilters: "sRGB"
|
|
133
|
+
}, /*#__PURE__*/_react["default"].createElement("feFlood", {
|
|
134
|
+
floodOpacity: "0",
|
|
135
|
+
result: "BackgroundImageFix"
|
|
136
|
+
}), /*#__PURE__*/_react["default"].createElement("feColorMatrix", {
|
|
137
|
+
"in": "SourceAlpha",
|
|
138
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
139
|
+
result: "hardAlpha"
|
|
140
|
+
}), /*#__PURE__*/_react["default"].createElement("feOffset", {
|
|
141
|
+
dy: ".375"
|
|
142
|
+
}), /*#__PURE__*/_react["default"].createElement("feGaussianBlur", {
|
|
143
|
+
stdDeviation: ".656"
|
|
144
|
+
}), /*#__PURE__*/_react["default"].createElement("feComposite", {
|
|
145
|
+
in2: "hardAlpha",
|
|
146
|
+
operator: "out"
|
|
147
|
+
}), /*#__PURE__*/_react["default"].createElement("feColorMatrix", {
|
|
148
|
+
values: "0 0 0 0 0.197631 0 0 0 0 0.180168 0 0 0 0 0.354793 0 0 0 0.81 0"
|
|
149
|
+
}), /*#__PURE__*/_react["default"].createElement("feBlend", {
|
|
150
|
+
in2: "BackgroundImageFix",
|
|
151
|
+
result: "effect1_dropShadow_12136_1133"
|
|
152
|
+
}), /*#__PURE__*/_react["default"].createElement("feBlend", {
|
|
153
|
+
"in": "SourceGraphic",
|
|
154
|
+
in2: "effect1_dropShadow_12136_1133",
|
|
155
|
+
result: "shape"
|
|
156
|
+
})), /*#__PURE__*/_react["default"].createElement("filter", {
|
|
157
|
+
id: "filter2_d_12136_1133",
|
|
158
|
+
x: "7.538",
|
|
159
|
+
y: "14.063",
|
|
160
|
+
width: "3.825",
|
|
161
|
+
height: "3.825",
|
|
162
|
+
filterUnits: "userSpaceOnUse",
|
|
163
|
+
colorInterpolationFilters: "sRGB"
|
|
164
|
+
}, /*#__PURE__*/_react["default"].createElement("feFlood", {
|
|
165
|
+
floodOpacity: "0",
|
|
166
|
+
result: "BackgroundImageFix"
|
|
167
|
+
}), /*#__PURE__*/_react["default"].createElement("feColorMatrix", {
|
|
168
|
+
"in": "SourceAlpha",
|
|
169
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
170
|
+
result: "hardAlpha"
|
|
171
|
+
}), /*#__PURE__*/_react["default"].createElement("feOffset", {
|
|
172
|
+
dy: ".15"
|
|
173
|
+
}), /*#__PURE__*/_react["default"].createElement("feGaussianBlur", {
|
|
174
|
+
stdDeviation: ".3"
|
|
175
|
+
}), /*#__PURE__*/_react["default"].createElement("feComposite", {
|
|
176
|
+
in2: "hardAlpha",
|
|
177
|
+
operator: "out"
|
|
178
|
+
}), /*#__PURE__*/_react["default"].createElement("feColorMatrix", {
|
|
179
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
|
|
180
|
+
}), /*#__PURE__*/_react["default"].createElement("feBlend", {
|
|
181
|
+
in2: "BackgroundImageFix",
|
|
182
|
+
result: "effect1_dropShadow_12136_1133"
|
|
183
|
+
}), /*#__PURE__*/_react["default"].createElement("feBlend", {
|
|
184
|
+
"in": "SourceGraphic",
|
|
185
|
+
in2: "effect1_dropShadow_12136_1133",
|
|
186
|
+
result: "shape"
|
|
187
|
+
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
188
|
+
id: "paint0_linear_12136_1133",
|
|
189
|
+
x1: "11.438",
|
|
190
|
+
y1: "7.125",
|
|
191
|
+
x2: "14.88",
|
|
192
|
+
y2: "13.806",
|
|
193
|
+
gradientUnits: "userSpaceOnUse"
|
|
194
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
195
|
+
stopColor: "#786AF1"
|
|
196
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
197
|
+
offset: ".801",
|
|
198
|
+
stopColor: "#604FEF"
|
|
199
|
+
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
200
|
+
id: "paint2_linear_12136_1133",
|
|
201
|
+
x1: "9.771",
|
|
202
|
+
y1: "8.625",
|
|
203
|
+
x2: "15.471",
|
|
204
|
+
y2: "17.165",
|
|
205
|
+
gradientUnits: "userSpaceOnUse"
|
|
206
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
207
|
+
stopColor: "#fff",
|
|
208
|
+
stopOpacity: ".67"
|
|
209
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
210
|
+
offset: "1",
|
|
211
|
+
stopColor: "#D0CBFF",
|
|
212
|
+
stopOpacity: ".25"
|
|
213
|
+
})), /*#__PURE__*/_react["default"].createElement("radialGradient", {
|
|
214
|
+
id: "paint1_radial_12136_1133",
|
|
215
|
+
cx: "0",
|
|
216
|
+
cy: "0",
|
|
217
|
+
r: "1",
|
|
218
|
+
gradientTransform: "matrix(7.125 8.4375 -14.4404 10.9443 11.354 8.813)",
|
|
219
|
+
gradientUnits: "userSpaceOnUse"
|
|
220
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
221
|
+
offset: ".005",
|
|
222
|
+
stopColor: "#B3ABFF",
|
|
223
|
+
stopOpacity: ".91"
|
|
224
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
225
|
+
offset: ".59",
|
|
226
|
+
stopColor: "#DCD8FF",
|
|
227
|
+
stopOpacity: ".47"
|
|
228
|
+
})), /*#__PURE__*/_react["default"].createElement("clipPath", {
|
|
229
|
+
id: "bgblur_0_12136_1133_clip_path",
|
|
230
|
+
transform: "translate(-7.575 -6.45)"
|
|
231
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
232
|
+
d: "M9.375 9.188c0-.518.42-.938.938-.938h5.25c.517 0 .937.42.937.938v6.75c0 .517-.42.937-.938.937h-5.25a.937.937 0 01-.937-.938v-6.75z"
|
|
233
|
+
})))));
|
|
234
|
+
};
|
|
235
|
+
var _default = exports["default"] = GsUploadColored;
|
|
@@ -0,0 +1,50 @@
|
|
|
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 _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
+
var _context = require("../context");
|
|
11
|
+
var _excluded = ["color", "size", "className", "spin", "style"];
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); }
|
|
19
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
20
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
21
|
+
var LayoutSwitchOutlined = function LayoutSwitchOutlined(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
className = props.className,
|
|
25
|
+
spin = props.spin,
|
|
26
|
+
_props$style = props.style,
|
|
27
|
+
style = _props$style === void 0 ? {} : _props$style,
|
|
28
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
var config = (0, _context.useConfig)();
|
|
30
|
+
var _ref = config || {},
|
|
31
|
+
cls = _ref.cls;
|
|
32
|
+
return /*#__PURE__*/_react["default"].createElement("span", _extends({
|
|
33
|
+
className: (0, _classnames["default"])('easyv-icon', {
|
|
34
|
+
'easyv-icon-loading': spin
|
|
35
|
+
}, cls, className),
|
|
36
|
+
style: _objectSpread({
|
|
37
|
+
color: color,
|
|
38
|
+
fontSize: size
|
|
39
|
+
}, style)
|
|
40
|
+
}, otherProps), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
41
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
+
width: "1em",
|
|
43
|
+
height: "1em",
|
|
44
|
+
viewBox: "0 0 24 24",
|
|
45
|
+
fill: "currentColor"
|
|
46
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
47
|
+
d: "M22 19.85a.9.9 0 010 1.8h-5.326l.713.713a.9.9 0 01-1.274 1.274l-2.25-2.25a.9.9 0 01.637-1.537H22zM19 2a3 3 0 013 3v7h-2V5a1 1 0 00-1-1h-9v16h2v2H5a3 3 0 01-3-3V5a3 3 0 013-3h14zM5 4a1 1 0 00-1 1v14a1 1 0 001 1h3V4H5zm14.113 9.613a.9.9 0 011.274 0l2.25 2.25A.9.9 0 0122 17.4h-7.5a.9.9 0 010-1.8h5.326l-.713-.713a.9.9 0 010-1.274z"
|
|
48
|
+
})));
|
|
49
|
+
};
|
|
50
|
+
var _default = exports["default"] = LayoutSwitchOutlined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentType, SVGAttributes } from 'react';
|
|
3
|
+
|
|
4
|
+
interface Props extends SVGAttributes<SVGElement> {
|
|
5
|
+
color?: string;
|
|
6
|
+
size?: string | number;
|
|
7
|
+
spin?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare const Icon: ComponentType<Props>;
|
|
11
|
+
export default Icon;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentType, SVGAttributes } from 'react';
|
|
3
|
+
|
|
4
|
+
interface Props extends SVGAttributes<SVGElement> {
|
|
5
|
+
color?: string;
|
|
6
|
+
size?: string | number;
|
|
7
|
+
spin?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare const Icon: ComponentType<Props>;
|
|
11
|
+
export default Icon;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentType, SVGAttributes } from 'react';
|
|
3
|
+
|
|
4
|
+
interface Props extends SVGAttributes<SVGElement> {
|
|
5
|
+
color?: string;
|
|
6
|
+
size?: string | number;
|
|
7
|
+
spin?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare const Icon: ComponentType<Props>;
|
|
11
|
+
export default Icon;
|