gxxc-ui 1.0.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/LICENSE +21 -0
- package/README.md +41 -0
- package/dist/AmountCellUI/index.d.ts +11 -0
- package/dist/AmountCellUI/index.js +123 -0
- package/dist/AnchorUI/demo/anchor-button.d.ts +3 -0
- package/dist/AnchorUI/demo/anchor-button.js +85 -0
- package/dist/AnchorUI/demo/use-anchor.d.ts +3 -0
- package/dist/AnchorUI/demo/use-anchor.js +69 -0
- package/dist/AnchorUI/index.d.ts +4 -0
- package/dist/AnchorUI/index.js +56 -0
- package/dist/AnchorUI/index.scss +21 -0
- package/dist/BackUI/index.d.ts +14 -0
- package/dist/BackUI/index.js +35 -0
- package/dist/BackUI/index.scss +26 -0
- package/dist/BroadcastUI/index.d.ts +12 -0
- package/dist/BroadcastUI/index.js +62 -0
- package/dist/BroadcastUI/index.scss +43 -0
- package/dist/ButtonUI/index.d.ts +9 -0
- package/dist/ButtonUI/index.js +17 -0
- package/dist/ButtonUI/index.scss +6 -0
- package/dist/CellUI/index.d.ts +13 -0
- package/dist/CellUI/index.js +78 -0
- package/dist/CellUI/index.scss +28 -0
- package/dist/Components/index.d.ts +2 -0
- package/dist/Components/index.js +4 -0
- package/dist/DateUI/index.d.ts +5 -0
- package/dist/DateUI/index.js +116 -0
- package/dist/DateUI/index.scss +3 -0
- package/dist/DescriptionsUI/index.d.ts +19 -0
- package/dist/DescriptionsUI/index.js +72 -0
- package/dist/DescriptionsUI/index.scss +88 -0
- package/dist/EmptyUI/emptyImage.d.ts +3 -0
- package/dist/EmptyUI/emptyImage.js +12 -0
- package/dist/EmptyUI/index.d.ts +9 -0
- package/dist/EmptyUI/index.js +13 -0
- package/dist/EmptyUI/index.scss +10 -0
- package/dist/FilterUI/index.d.ts +28 -0
- package/dist/FilterUI/index.js +252 -0
- package/dist/FilterUI/index.scss +80 -0
- package/dist/FormUI/index.d.ts +4 -0
- package/dist/FormUI/index.js +45 -0
- package/dist/FormUI/index.scss +64 -0
- package/dist/IconUI/index.d.ts +27 -0
- package/dist/IconUI/index.js +22 -0
- package/dist/IconUI/material/dictionary.d.ts +4 -0
- package/dist/IconUI/material/dictionary.js +71 -0
- package/dist/IconUI/material/dictionary.scss +58 -0
- package/dist/IconUI/material/material.d.ts +16 -0
- package/dist/IconUI/material/material.js +476 -0
- package/dist/IconUI/material/rally.d.ts +22 -0
- package/dist/IconUI/material/rally.js +50 -0
- package/dist/ImageUI/index.d.ts +13 -0
- package/dist/ImageUI/index.js +159 -0
- package/dist/ImageUI/index.scss +59 -0
- package/dist/InputUI/index.d.ts +7 -0
- package/dist/InputUI/index.js +114 -0
- package/dist/InputUI/index.scss +24 -0
- package/dist/LoadingUI/index.d.ts +4 -0
- package/dist/LoadingUI/index.js +13 -0
- package/dist/LoadingUI/index.scss +47 -0
- package/dist/MessageUI/index.d.ts +3 -0
- package/dist/MessageUI/index.js +9 -0
- package/dist/MessageUI/index.scss +50 -0
- package/dist/ModalUI/index.d.ts +4 -0
- package/dist/ModalUI/index.js +98 -0
- package/dist/ModalUI/index.scss +45 -0
- package/dist/NotificationUI/index.d.ts +3 -0
- package/dist/NotificationUI/index.js +30 -0
- package/dist/NotificationUI/index.scss +0 -0
- package/dist/PasswordStrongUI/index.d.ts +8 -0
- package/dist/PasswordStrongUI/index.js +67 -0
- package/dist/PasswordStrongUI/index.scss +35 -0
- package/dist/RichEditorUI/index.d.ts +10 -0
- package/dist/RichEditorUI/index.js +68 -0
- package/dist/RichEditorUI/index.scss +20 -0
- package/dist/SearchUI/index.d.ts +4 -0
- package/dist/SearchUI/index.js +55 -0
- package/dist/SearchUI/index.scss +20 -0
- package/dist/SelectUI/index.d.ts +13 -0
- package/dist/SelectUI/index.js +87 -0
- package/dist/SelectUI/index.scss +13 -0
- package/dist/StatisticUI/index.d.ts +20 -0
- package/dist/StatisticUI/index.js +70 -0
- package/dist/StatisticUI/index.scss +6 -0
- package/dist/SwitchUI/index.d.ts +4 -0
- package/dist/SwitchUI/index.js +24 -0
- package/dist/SwitchUI/index.scss +0 -0
- package/dist/TableUI/demo/index.scss +7 -0
- package/dist/TableUI/demo/setting.d.ts +4 -0
- package/dist/TableUI/demo/setting.js +107 -0
- package/dist/TableUI/index.d.ts +12 -0
- package/dist/TableUI/index.js +109 -0
- package/dist/TableUI/index.scss +40 -0
- package/dist/TableUI/material/Button/index.d.ts +4 -0
- package/dist/TableUI/material/Button/index.js +20 -0
- package/dist/TableUI/material/Button/index.scss +35 -0
- package/dist/TableUI/material/HideMultipleLines/index.d.ts +4 -0
- package/dist/TableUI/material/HideMultipleLines/index.js +48 -0
- package/dist/TableUI/material/HideMultipleLines/index.scss +11 -0
- package/dist/TableUI/material/MultiLine/index.d.ts +4 -0
- package/dist/TableUI/material/MultiLine/index.js +23 -0
- package/dist/TableUI/material/MultiLine/index.scss +25 -0
- package/dist/TableUI/material/Operate/index.d.ts +3 -0
- package/dist/TableUI/material/Operate/index.js +43 -0
- package/dist/TableUI/material/Operate/index.scss +25 -0
- package/dist/TableUI/material/Setting/index.d.ts +3 -0
- package/dist/TableUI/material/Setting/index.js +211 -0
- package/dist/TableUI/material/Setting/index.scss +52 -0
- package/dist/TagUI/index.d.ts +17 -0
- package/dist/TagUI/index.js +118 -0
- package/dist/TagUI/index.scss +41 -0
- package/dist/TestUI/index.d.ts +3 -0
- package/dist/TestUI/index.js +5 -0
- package/dist/TestUI/index.scss +0 -0
- package/dist/TextUI/index.d.ts +7 -0
- package/dist/TextUI/index.js +17 -0
- package/dist/TextUI/index.scss +10 -0
- package/dist/Tiga/demo/demoQuick.d.ts +3 -0
- package/dist/Tiga/demo/demoQuick.js +104 -0
- package/dist/Tiga/demo/demoQuickType.d.ts +8 -0
- package/dist/Tiga/demo/demoQuickType.js +94 -0
- package/dist/Tiga/index.d.ts +4 -0
- package/dist/Tiga/index.js +68 -0
- package/dist/Tiga/index.scss +0 -0
- package/dist/Tiga/material/quickType.d.ts +29 -0
- package/dist/Tiga/material/quickType.js +75 -0
- package/dist/UploadUI/index.d.ts +23 -0
- package/dist/UploadUI/index.js +383 -0
- package/dist/UploadUI/index.scss +202 -0
- package/dist/UploadUI/type.d.ts +4 -0
- package/dist/UploadUI/type.js +30 -0
- package/dist/VesselUI/index.d.ts +3 -0
- package/dist/VesselUI/index.js +199 -0
- package/dist/VesselUI/type.d.ts +64 -0
- package/dist/VesselUI/type.js +1 -0
- package/dist/VideoPreviewUI/index.d.ts +11 -0
- package/dist/VideoPreviewUI/index.js +65 -0
- package/dist/VideoPreviewUI/index.scss +32 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.js +1 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +34 -0
- package/package.json +87 -0
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export var Minsheng = function Minsheng(props) {
|
|
3
|
+
var color = props.color,
|
|
4
|
+
_props$width = props.width,
|
|
5
|
+
width = _props$width === void 0 ? '17' : _props$width,
|
|
6
|
+
_props$height = props.height,
|
|
7
|
+
height = _props$height === void 0 ? '16' : _props$height;
|
|
8
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
width: width !== null && width !== void 0 ? width : '17',
|
|
10
|
+
height: height !== null && height !== void 0 ? height : '16',
|
|
11
|
+
viewBox: "0 0 17 16",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
15
|
+
id: "Frame",
|
|
16
|
+
clipPath: "url(#clip0_298_2911)"
|
|
17
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
id: "Vector",
|
|
19
|
+
d: "M14.4999 8.82126C13.2302 7.11125 9.6286 6.7075 9.6286 6.7075L11.06 5.805L7.874 4L4.68801 5.63875L7.25065 7.11126C11.4063 7.04001 12.6068 9.32001 12.6068 9.32001C13.6457 12.6688 7.66621 12.9063 7.66621 12.9063C4.20318 13.2863 2.61019 10.1988 2.61019 10.1988L0.532367 10.27C3.00266 15.3288 11.868 13.12 11.868 13.12C16.5085 11.6713 14.4999 8.82126 14.4999 8.82126ZM7.874 6.7075L6.44261 5.97125L7.80474 4.9975L9.23612 5.805L7.874 6.7075Z",
|
|
20
|
+
fill: color !== null && color !== void 0 ? color : '#1D2088'
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
id: "Vector_2",
|
|
23
|
+
d: "M8.37483 2.4403C5.93038 2.27342 1.1625 2.51182 0.581645 5.37259C0.0733943 7.6612 3.60695 8.97238 6.0998 9.21078C5.59155 9.54454 5.0833 9.78293 4.59925 10.1167C5.76097 10.7604 6.85007 11.4279 7.93918 12L10.9645 10.2836L7.93918 8.73399C7.35832 8.66247 6.77747 8.8055 6.43863 8.8055C4.76867 8.8055 2.32422 7.01753 3.00189 5.37259C4.26041 1.86815 12.5376 2.34494 13.3847 5.87322H15.7324C14.6433 3.17933 10.7225 2.60718 8.37483 2.4403ZM8.03599 9.37766L9.53654 10.1882L7.93918 10.9988L6.51124 10.1882L8.03599 9.37766Z",
|
|
24
|
+
fill: color !== null && color !== void 0 ? color : '#5AA572'
|
|
25
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
26
|
+
id: "clip0_298_2911"
|
|
27
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
28
|
+
width: "16",
|
|
29
|
+
height: "16",
|
|
30
|
+
fill: "white",
|
|
31
|
+
transform: "translate(0.0571442)"
|
|
32
|
+
}))));
|
|
33
|
+
};
|
|
34
|
+
export var Pingan = function Pingan(props) {
|
|
35
|
+
var color = props.color,
|
|
36
|
+
_props$width2 = props.width,
|
|
37
|
+
width = _props$width2 === void 0 ? '17' : _props$width2,
|
|
38
|
+
_props$height2 = props.height,
|
|
39
|
+
height = _props$height2 === void 0 ? '16' : _props$height2;
|
|
40
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
41
|
+
width: width,
|
|
42
|
+
height: height,
|
|
43
|
+
viewBox: "0 0 17 16",
|
|
44
|
+
fill: "none",
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
46
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
47
|
+
id: "Frame",
|
|
48
|
+
clipPath: "url(#clip0_298_2899)"
|
|
49
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
id: "Vector",
|
|
51
|
+
d: "M8.05714 0C12.4753 0 16.0571 3.58187 16.0571 8C16.0571 12.4181 12.4753 16 8.05714 16C3.63901 16 0.0571442 12.4181 0.0571442 8C0.0571442 3.58187 3.63901 0 8.05714 0ZM7.01981 8.8128L6.98141 8.81653C6.93807 8.82499 6.89905 8.84833 6.8711 8.88251C6.84315 8.9167 6.82802 8.95958 6.82834 9.00373V11.0096L6.83208 11.0469C6.84968 11.1328 6.92701 11.2 7.01981 11.2H9.09181L9.13074 11.1963C9.17412 11.1876 9.21323 11.1644 9.24156 11.1304C9.2699 11.0965 9.28575 11.0538 9.28648 11.0096V9.00427L9.28221 8.9648C9.27287 8.9214 9.24881 8.88255 9.21411 8.85485C9.17941 8.82715 9.13621 8.8123 9.09181 8.8128H7.01981ZM7.45501 3.2L7.39954 3.20427C7.27368 3.22293 7.17074 3.30507 7.10354 3.42133L3.31154 10.8187L3.28754 10.8683C3.20061 11.0768 3.30728 11.2 3.51688 11.2H4.71794L4.77234 11.1984C4.90781 11.1883 4.96861 11.1365 5.04648 10.9904L8.05554 5.04213L11.0662 10.9904L11.095 11.0411C11.1713 11.1643 11.2401 11.2 11.3947 11.2H12.5969L12.6433 11.1979C12.8353 11.1792 12.9206 11.0405 12.8033 10.8192L9.00914 3.42187L8.97821 3.37387C8.94312 3.32145 8.89591 3.27828 8.84057 3.24801C8.78523 3.21774 8.72341 3.20127 8.66034 3.2H7.45501Z",
|
|
52
|
+
fill: color !== null && color !== void 0 ? color : '#FA6400'
|
|
53
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
54
|
+
id: "clip0_298_2899"
|
|
55
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
56
|
+
width: "16",
|
|
57
|
+
height: "16",
|
|
58
|
+
fill: "white",
|
|
59
|
+
transform: "translate(0.0571442)"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
export var Iconwx = function Iconwx(props) {
|
|
63
|
+
var _props$width3 = props.width,
|
|
64
|
+
width = _props$width3 === void 0 ? '21' : _props$width3,
|
|
65
|
+
_props$height3 = props.height,
|
|
66
|
+
height = _props$height3 === void 0 ? '20' : _props$height3;
|
|
67
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
68
|
+
width: width,
|
|
69
|
+
height: height,
|
|
70
|
+
viewBox: "0 0 21 20",
|
|
71
|
+
fill: "none",
|
|
72
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
73
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
74
|
+
id: "Group 117"
|
|
75
|
+
}, /*#__PURE__*/React.createElement("mask", {
|
|
76
|
+
id: "mask0_294_2896",
|
|
77
|
+
maskUnits: "userSpaceOnUse",
|
|
78
|
+
x: "0",
|
|
79
|
+
y: "0",
|
|
80
|
+
width: "21",
|
|
81
|
+
height: "20"
|
|
82
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
83
|
+
id: "Rectangle 390",
|
|
84
|
+
x: "0.0571442",
|
|
85
|
+
width: "20",
|
|
86
|
+
height: "20",
|
|
87
|
+
fill: "#D9D9D9"
|
|
88
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
89
|
+
mask: "url(#mask0_294_2896)"
|
|
90
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
91
|
+
id: "WeChat",
|
|
92
|
+
d: "M7.82548 12.2842C7.74423 12.3262 7.65278 12.3505 7.55555 12.3505C7.3305 12.3505 7.1349 12.2238 7.03219 12.0362L6.99286 11.9481L5.35436 8.26725C5.33668 8.22724 5.32573 8.18195 5.32573 8.13788C5.32573 7.96824 5.46009 7.83081 5.6258 7.83081C5.69301 7.83081 5.75526 7.85362 5.80529 7.8917L7.73882 9.30107C7.88004 9.39558 8.04883 9.45105 8.23027 9.45105C8.33858 9.45105 8.44179 9.43044 8.53808 9.39455L17.6308 5.25163C16.0009 3.28521 13.3167 2 10.2792 2C5.30849 2 1.27931 5.4375 1.27931 9.67816C1.27931 11.9915 2.49155 14.0741 4.38902 15.4817C4.54119 15.593 4.64088 15.7758 4.64088 15.9821C4.64088 16.0503 4.62659 16.1125 4.60916 16.1776C4.45762 16.7563 4.21507 17.6831 4.2038 17.7265C4.18486 17.7991 4.15534 17.875 4.15534 17.951C4.15534 18.1206 4.28958 18.2581 4.45554 18.2581C4.52055 18.2581 4.57379 18.2333 4.62873 18.2009L6.59901 17.0363C6.74722 16.9489 6.90412 16.8945 7.07706 16.8945C7.16901 16.8945 7.25787 16.9091 7.34145 16.9353C8.2606 17.206 9.25232 17.3563 10.2792 17.3563C15.2496 17.3563 19.2793 13.9186 19.2793 9.67816C19.2793 8.39372 18.9075 7.18408 18.2541 6.11999L7.89143 12.2453L7.82548 12.2842Z",
|
|
93
|
+
fill: "#1AAD19"
|
|
94
|
+
}))));
|
|
95
|
+
};
|
|
96
|
+
export var Iconzfb = function Iconzfb(props) {
|
|
97
|
+
var _props$width4 = props.width,
|
|
98
|
+
width = _props$width4 === void 0 ? '17' : _props$width4,
|
|
99
|
+
_props$height4 = props.height,
|
|
100
|
+
height = _props$height4 === void 0 ? '16' : _props$height4;
|
|
101
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
102
|
+
width: width,
|
|
103
|
+
height: height,
|
|
104
|
+
viewBox: "0 0 17 16",
|
|
105
|
+
fill: "none",
|
|
106
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
107
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
108
|
+
id: "Combined-Shape",
|
|
109
|
+
d: "M16.0571 10.8571C16.0571 10.8571 15.5429 10.8 13.2 10.0571C12.5714 9.82857 11.7143 9.54286 10.7429 9.14286C11.3143 8.17143 11.7714 7.02857 12.0571 5.77143H8.91429V4.62857H12.8V4H8.91429V2.11429H7.31429C7.02857 2.11429 7.02857 2.4 7.02857 2.4V4H3.14286V4.62857H7.08571V5.77143H3.82857V6.4H10.1143C9.88571 7.2 9.6 7.94286 9.2 8.62857C7.14286 7.94286 4.97143 7.42857 3.65714 7.77143C2.8 8 2.22857 8.34286 1.88571 8.74286C0.342857 10.5714 1.48571 13.3714 4.62857 13.3714C6.51429 13.3714 8.34286 12.3429 9.77143 10.5714C11.8857 11.6 16.0571 13.3143 16.0571 13.3143V13.4286C16.0571 14.8571 14.9143 16 13.4857 16H2.57143C1.14286 16 0 14.8571 0 13.4286V2.57143C0 1.14286 1.14286 0 2.57143 0H13.4857C14.9143 0 16.0571 1.14286 16.0571 2.57143V10.8571ZM4.34286 12.2857C1.82857 12.2857 1.08571 10.3429 2.34286 9.25714C2.74286 8.91429 3.48571 8.74286 3.88571 8.68571C5.37143 8.51429 6.74286 9.08571 8.34286 9.88571C7.25714 11.3714 5.77143 12.2857 4.34286 12.2857Z",
|
|
110
|
+
fill: "#226BF3"
|
|
111
|
+
}));
|
|
112
|
+
};
|
|
113
|
+
export var Zhaoshang = function Zhaoshang(props) {
|
|
114
|
+
var _props$width5 = props.width,
|
|
115
|
+
width = _props$width5 === void 0 ? '17' : _props$width5,
|
|
116
|
+
_props$height5 = props.height,
|
|
117
|
+
height = _props$height5 === void 0 ? '16' : _props$height5;
|
|
118
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
119
|
+
width: width,
|
|
120
|
+
height: height,
|
|
121
|
+
viewBox: "0 0 17 16",
|
|
122
|
+
fill: "none",
|
|
123
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
124
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
125
|
+
id: "Frame",
|
|
126
|
+
clipPath: "url(#clip0_298_2903)"
|
|
127
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
128
|
+
id: "Vector",
|
|
129
|
+
d: "M5.107 5.70708L2.82207 11.2911H11.9064L9.62515 5.68308L7.36423 11.2172L5.10823 5.70708H5.107ZM14.0024 9.95447H15.8159C15.7821 10.0905 15.7445 10.2252 15.7033 10.3594H14.1642L14.0024 9.95447ZM13.6972 9.19447H15.9679C15.9482 9.32985 15.9242 9.46401 15.8972 9.59816H13.859L13.6972 9.19447ZM13.3913 8.43447H16.0455C16.0381 8.56924 16.027 8.70401 16.0147 8.83816H13.5544L13.3913 8.43447ZM13.0861 7.67324H16.0504C16.0553 7.78216 16.0571 7.89108 16.0571 8.00062V8.07755H13.2473L13.0855 7.67324H13.0861ZM12.7815 6.91385H15.9839C16.0024 7.04678 16.0172 7.18155 16.0282 7.31755H12.9433L12.7815 6.91262V6.91385ZM12.4762 6.15262H15.8424C15.8744 6.28678 15.9021 6.42155 15.9273 6.55755H12.6375L12.475 6.15262H12.4762ZM0.0571508 8.00062C0.0528431 4.01416 2.99069 0.633853 6.9433 0.0787758C10.8953 -0.476917 14.6522 1.96247 15.7495 5.7957H12.3335L10.3396 0.831391L8.10392 6.38524L5.8233 0.881238L1.59561 11.2905L3.32115 13.7169H12.867L14.5181 11.2412L14.307 10.7151H15.5839C14.9445 12.4862 13.7008 13.9751 12.0719 14.9198C10.4429 15.8644 8.53291 16.2042 6.67807 15.8794C4.82339 15.5561 3.14233 14.5885 1.93112 13.1472C0.719915 11.7058 0.0562786 9.88328 0.0571508 8.00062Z",
|
|
130
|
+
fill: "#C7162E"
|
|
131
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
132
|
+
id: "clip0_298_2903"
|
|
133
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
134
|
+
width: "16",
|
|
135
|
+
height: "16",
|
|
136
|
+
fill: "white",
|
|
137
|
+
transform: "translate(0.0571442)"
|
|
138
|
+
}))));
|
|
139
|
+
};
|
|
140
|
+
export var Point = function Point(props) {
|
|
141
|
+
var _props$width6 = props.width,
|
|
142
|
+
width = _props$width6 === void 0 ? '14' : _props$width6,
|
|
143
|
+
_props$height6 = props.height,
|
|
144
|
+
height = _props$height6 === void 0 ? '14' : _props$height6;
|
|
145
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
146
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
147
|
+
width: width,
|
|
148
|
+
height: height,
|
|
149
|
+
viewBox: "0 0 14 14",
|
|
150
|
+
fill: "none"
|
|
151
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
152
|
+
d: "M8.03627 12.6776C6.74046 12.193 5.65965 10.5347 5.11871 9.56344C4.88515 9.14408 5.00818 8.62894 5.38301 8.32908C5.80081 7.99486 6.40308 8.0282 6.78142 8.40654L7.21367 8.83878V5.6855C7.21367 5.30691 7.52058 5 7.89917 5C8.27775 5 8.58467 5.30691 8.58467 5.6855V7.33069C8.58467 6.9521 8.89158 6.64519 9.27016 6.64519C9.64875 6.64519 9.95566 6.9521 9.95566 7.33069V7.87909C9.95566 7.5005 10.2626 7.19359 10.6412 7.19359C11.0197 7.19359 11.3267 7.5005 11.3267 7.87909V8.42749C11.3267 8.0489 11.6336 7.74199 12.0122 7.74199C12.3907 7.74199 12.6976 8.0489 12.6976 8.42749V10.5849C12.6976 10.8784 12.6251 11.1684 12.4559 11.4082C12.1753 11.8061 11.6708 12.4126 11.0525 12.6776C10.0928 13.0889 9.23454 13.1257 8.03627 12.6776Z",
|
|
153
|
+
stroke: "#2E64FA",
|
|
154
|
+
strokeLinecap: "round",
|
|
155
|
+
strokeLinejoin: "round"
|
|
156
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
157
|
+
d: "M3.16699 1L3.16699 6",
|
|
158
|
+
stroke: "#2E64FA",
|
|
159
|
+
strokeLinecap: "round",
|
|
160
|
+
strokeLinejoin: "round"
|
|
161
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
162
|
+
d: "M2.00016 2.16675L3.16683 1L4.3335 2.16667",
|
|
163
|
+
stroke: "#2E64FA",
|
|
164
|
+
strokeLinecap: "round",
|
|
165
|
+
strokeLinejoin: "round"
|
|
166
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
167
|
+
d: "M4.3335 6L3.16683 7.16667L2.00016 6",
|
|
168
|
+
stroke: "#2E64FA",
|
|
169
|
+
strokeLinecap: "round",
|
|
170
|
+
strokeLinejoin: "round"
|
|
171
|
+
}));
|
|
172
|
+
};
|
|
173
|
+
export var UploadPdf = function UploadPdf(props) {
|
|
174
|
+
var _props$width7 = props.width,
|
|
175
|
+
width = _props$width7 === void 0 ? '20' : _props$width7,
|
|
176
|
+
_props$height7 = props.height,
|
|
177
|
+
height = _props$height7 === void 0 ? '20' : _props$height7;
|
|
178
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
179
|
+
width: width,
|
|
180
|
+
height: height,
|
|
181
|
+
viewBox: "0 0 69 69",
|
|
182
|
+
fill: "none",
|
|
183
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
184
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
185
|
+
d: "M3 11C3 8.79086 4.79086 7 7 7H15.75H29.0041C29.9687 7 30.9009 7.3486 31.6288 7.98158L35.1212 11.0184C35.8491 11.6514 36.7813 12 37.7459 12H50C52.2091 12 54 13.7909 54 16V52C54 54.2091 52.2091 56 50 56H7C4.79086 56 3 54.2091 3 52V11Z",
|
|
186
|
+
fill: "#2E64FA"
|
|
187
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
188
|
+
d: "M12.201 21.9564C12.6725 20.2118 14.2552 19 16.0624 19H60.7754C63.4091 19 65.324 21.5012 64.6369 24.0436L56.799 53.0436C56.3275 54.7882 54.7448 56 52.9376 56H8.2246C5.5909 56 3.67599 53.4988 4.36314 50.9564L12.201 21.9564Z",
|
|
189
|
+
fill: "url(#paint0_linear_2865_1777)"
|
|
190
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
191
|
+
d: "M12.201 21.9564C12.6725 20.2118 14.2552 19 16.0624 19H60.7754C63.4091 19 65.324 21.5012 64.6369 24.0436L56.799 53.0436C56.3275 54.7882 54.7448 56 52.9376 56H8.2246C5.5909 56 3.67599 53.4988 4.36314 50.9564L12.201 21.9564Z",
|
|
192
|
+
fill: "url(#paint1_linear_2865_1777)"
|
|
193
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
194
|
+
id: "mask0_2865_1777",
|
|
195
|
+
style: {
|
|
196
|
+
maskType: 'alpha'
|
|
197
|
+
},
|
|
198
|
+
maskUnits: "userSpaceOnUse",
|
|
199
|
+
x: "3",
|
|
200
|
+
y: "19",
|
|
201
|
+
width: "53",
|
|
202
|
+
height: "37"
|
|
203
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
204
|
+
x: "3",
|
|
205
|
+
y: "19",
|
|
206
|
+
width: "53",
|
|
207
|
+
height: "37",
|
|
208
|
+
rx: "4",
|
|
209
|
+
fill: "url(#paint2_linear_2865_1777)"
|
|
210
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
211
|
+
mask: "url(#mask0_2865_1777)"
|
|
212
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
213
|
+
d: "M29 37H18",
|
|
214
|
+
stroke: "white",
|
|
215
|
+
strokeWidth: "3",
|
|
216
|
+
strokeLinecap: "round"
|
|
217
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
218
|
+
d: "M24 43H16",
|
|
219
|
+
stroke: "white",
|
|
220
|
+
strokeWidth: "3",
|
|
221
|
+
strokeLinecap: "round"
|
|
222
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
223
|
+
cx: "47.5",
|
|
224
|
+
cy: "45.5",
|
|
225
|
+
r: "13.5",
|
|
226
|
+
fill: "#A6BDE5"
|
|
227
|
+
})), /*#__PURE__*/React.createElement("circle", {
|
|
228
|
+
cx: "50.5",
|
|
229
|
+
cy: "45.5",
|
|
230
|
+
r: "13.5",
|
|
231
|
+
fill: "#FFBB3F"
|
|
232
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
233
|
+
d: "M47 44L51 40L55 44",
|
|
234
|
+
stroke: "white",
|
|
235
|
+
strokeWidth: "3",
|
|
236
|
+
strokeLinecap: "round"
|
|
237
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
238
|
+
d: "M51 42V52.5",
|
|
239
|
+
stroke: "white",
|
|
240
|
+
strokeWidth: "3",
|
|
241
|
+
strokeLinecap: "round"
|
|
242
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
243
|
+
id: "paint0_linear_2865_1777",
|
|
244
|
+
x1: "53.9417",
|
|
245
|
+
y1: "19",
|
|
246
|
+
x2: "11.9832",
|
|
247
|
+
y2: "46.7173",
|
|
248
|
+
gradientUnits: "userSpaceOnUse"
|
|
249
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
250
|
+
stopColor: "#E2FEDD"
|
|
251
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
252
|
+
offset: "1",
|
|
253
|
+
stopColor: "#C8F69A"
|
|
254
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
255
|
+
id: "paint1_linear_2865_1777",
|
|
256
|
+
x1: "63.5534",
|
|
257
|
+
y1: "19",
|
|
258
|
+
x2: "19.2379",
|
|
259
|
+
y2: "53.7977",
|
|
260
|
+
gradientUnits: "userSpaceOnUse"
|
|
261
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
262
|
+
stopColor: "#CFE4FF"
|
|
263
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
264
|
+
offset: "1",
|
|
265
|
+
stopColor: "#A0C1FF"
|
|
266
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
267
|
+
id: "paint2_linear_2865_1777",
|
|
268
|
+
x1: "53.9418",
|
|
269
|
+
y1: "19",
|
|
270
|
+
x2: "11.9832",
|
|
271
|
+
y2: "46.7173",
|
|
272
|
+
gradientUnits: "userSpaceOnUse"
|
|
273
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
274
|
+
stopColor: "#CFE4FF"
|
|
275
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
276
|
+
offset: "1",
|
|
277
|
+
stopColor: "#A0C1FF"
|
|
278
|
+
}))));
|
|
279
|
+
};
|
|
280
|
+
export var UploadImage = function UploadImage(props) {
|
|
281
|
+
var _props$width8 = props.width,
|
|
282
|
+
width = _props$width8 === void 0 ? '20' : _props$width8,
|
|
283
|
+
_props$height8 = props.height,
|
|
284
|
+
height = _props$height8 === void 0 ? '20' : _props$height8;
|
|
285
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
286
|
+
width: width,
|
|
287
|
+
height: height,
|
|
288
|
+
viewBox: "0 0 69 69",
|
|
289
|
+
fill: "none",
|
|
290
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
291
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
292
|
+
x: "3",
|
|
293
|
+
y: "9",
|
|
294
|
+
width: "41",
|
|
295
|
+
height: "47",
|
|
296
|
+
rx: "4",
|
|
297
|
+
fill: "#2E64FA"
|
|
298
|
+
}), /*#__PURE__*/React.createElement("rect", {
|
|
299
|
+
x: "3",
|
|
300
|
+
y: "19",
|
|
301
|
+
width: "53",
|
|
302
|
+
height: "37",
|
|
303
|
+
rx: "4",
|
|
304
|
+
fill: "url(#paint0_linear_2831_2138)"
|
|
305
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
306
|
+
id: "mask0_2831_2138",
|
|
307
|
+
style: {
|
|
308
|
+
maskType: 'alpha'
|
|
309
|
+
},
|
|
310
|
+
maskUnits: "userSpaceOnUse",
|
|
311
|
+
x: "3",
|
|
312
|
+
y: "19",
|
|
313
|
+
width: "53",
|
|
314
|
+
height: "37"
|
|
315
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
316
|
+
x: "3",
|
|
317
|
+
y: "19",
|
|
318
|
+
width: "53",
|
|
319
|
+
height: "37",
|
|
320
|
+
rx: "4",
|
|
321
|
+
fill: "url(#paint1_linear_2831_2138)"
|
|
322
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
323
|
+
mask: "url(#mask0_2831_2138)"
|
|
324
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
325
|
+
d: "M2 39L9.35294 42L14.2549 39L27 45",
|
|
326
|
+
stroke: "white",
|
|
327
|
+
strokeWidth: "3",
|
|
328
|
+
strokeLinecap: "round"
|
|
329
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
330
|
+
cx: "49.5",
|
|
331
|
+
cy: "46.5",
|
|
332
|
+
r: "14.5",
|
|
333
|
+
fill: "#A6BDE5"
|
|
334
|
+
})), /*#__PURE__*/React.createElement("circle", {
|
|
335
|
+
cx: "51.5",
|
|
336
|
+
cy: "46.5",
|
|
337
|
+
r: "13.5",
|
|
338
|
+
fill: "#FFBB3F"
|
|
339
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
340
|
+
d: "M48 44L52 40L56 44",
|
|
341
|
+
stroke: "white",
|
|
342
|
+
strokeWidth: "3",
|
|
343
|
+
strokeLinecap: "round"
|
|
344
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
345
|
+
d: "M52 42V52.5",
|
|
346
|
+
stroke: "white",
|
|
347
|
+
strokeWidth: "3",
|
|
348
|
+
strokeLinecap: "round"
|
|
349
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
350
|
+
id: "paint0_linear_2831_2138",
|
|
351
|
+
x1: "53.9418",
|
|
352
|
+
y1: "19",
|
|
353
|
+
x2: "11.9832",
|
|
354
|
+
y2: "46.7173",
|
|
355
|
+
gradientUnits: "userSpaceOnUse"
|
|
356
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
357
|
+
stopColor: "#CFE4FF"
|
|
358
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
359
|
+
offset: "1",
|
|
360
|
+
stopColor: "#A0C1FF"
|
|
361
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
362
|
+
id: "paint1_linear_2831_2138",
|
|
363
|
+
x1: "53.9418",
|
|
364
|
+
y1: "19",
|
|
365
|
+
x2: "11.9832",
|
|
366
|
+
y2: "46.7173",
|
|
367
|
+
gradientUnits: "userSpaceOnUse"
|
|
368
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
369
|
+
stopColor: "#CFE4FF"
|
|
370
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
371
|
+
offset: "1",
|
|
372
|
+
stopColor: "#A0C1FF"
|
|
373
|
+
}))));
|
|
374
|
+
};
|
|
375
|
+
export var UploadExcel = function UploadExcel(props) {
|
|
376
|
+
var _props$width9 = props.width,
|
|
377
|
+
width = _props$width9 === void 0 ? '20' : _props$width9,
|
|
378
|
+
_props$height9 = props.height,
|
|
379
|
+
height = _props$height9 === void 0 ? '20' : _props$height9;
|
|
380
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
381
|
+
width: width,
|
|
382
|
+
height: height,
|
|
383
|
+
viewBox: "0 0 69 69",
|
|
384
|
+
fill: "none",
|
|
385
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
386
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
387
|
+
d: "M3 11C3 8.79086 4.79086 7 7 7H15.75H29.0041C29.9687 7 30.9009 7.3486 31.6288 7.98158L35.1212 11.0184C35.8491 11.6514 36.7813 12 37.7459 12H50C52.2091 12 54 13.7909 54 16V52C54 54.2091 52.2091 56 50 56H7C4.79086 56 3 54.2091 3 52V11Z",
|
|
388
|
+
fill: "#1EAF69"
|
|
389
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
390
|
+
d: "M12.201 21.9564C12.6725 20.2118 14.2552 19 16.0624 19H60.7754C63.4091 19 65.324 21.5012 64.6369 24.0436L56.799 53.0436C56.3275 54.7882 54.7448 56 52.9376 56H8.2246C5.5909 56 3.67599 53.4988 4.36314 50.9564L12.201 21.9564Z",
|
|
391
|
+
fill: "url(#paint0_linear_2850_2797)"
|
|
392
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
393
|
+
id: "mask0_2850_2797",
|
|
394
|
+
style: {
|
|
395
|
+
maskType: 'alpha'
|
|
396
|
+
},
|
|
397
|
+
maskUnits: "userSpaceOnUse",
|
|
398
|
+
x: "3",
|
|
399
|
+
y: "19",
|
|
400
|
+
width: "53",
|
|
401
|
+
height: "37"
|
|
402
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
403
|
+
x: "3",
|
|
404
|
+
y: "19",
|
|
405
|
+
width: "53",
|
|
406
|
+
height: "37",
|
|
407
|
+
rx: "4",
|
|
408
|
+
fill: "url(#paint1_linear_2850_2797)"
|
|
409
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
410
|
+
mask: "url(#mask0_2850_2797)"
|
|
411
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
412
|
+
d: "M18 36L18 48",
|
|
413
|
+
stroke: "white",
|
|
414
|
+
strokeWidth: "3",
|
|
415
|
+
strokeLinecap: "round"
|
|
416
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
417
|
+
d: "M26 36H18",
|
|
418
|
+
stroke: "white",
|
|
419
|
+
strokeWidth: "3",
|
|
420
|
+
strokeLinecap: "round"
|
|
421
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
422
|
+
d: "M26 42H18",
|
|
423
|
+
stroke: "white",
|
|
424
|
+
strokeWidth: "3",
|
|
425
|
+
strokeLinecap: "round"
|
|
426
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
427
|
+
d: "M26 48H18",
|
|
428
|
+
stroke: "white",
|
|
429
|
+
strokeWidth: "3",
|
|
430
|
+
strokeLinecap: "round"
|
|
431
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
432
|
+
cx: "47.5",
|
|
433
|
+
cy: "45.5",
|
|
434
|
+
r: "13.5",
|
|
435
|
+
fill: "#A6E777"
|
|
436
|
+
})), /*#__PURE__*/React.createElement("circle", {
|
|
437
|
+
cx: "50.5",
|
|
438
|
+
cy: "45.5",
|
|
439
|
+
r: "13.5",
|
|
440
|
+
fill: "#1EAF69"
|
|
441
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
442
|
+
d: "M48 44L52 40L56 44",
|
|
443
|
+
stroke: "white",
|
|
444
|
+
strokeWidth: "3",
|
|
445
|
+
strokeLinecap: "round"
|
|
446
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
447
|
+
d: "M52 42V52.5",
|
|
448
|
+
stroke: "white",
|
|
449
|
+
strokeWidth: "3",
|
|
450
|
+
strokeLinecap: "round"
|
|
451
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
452
|
+
id: "paint0_linear_2850_2797",
|
|
453
|
+
x1: "53.9417",
|
|
454
|
+
y1: "19",
|
|
455
|
+
x2: "11.9832",
|
|
456
|
+
y2: "46.7173",
|
|
457
|
+
gradientUnits: "userSpaceOnUse"
|
|
458
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
459
|
+
stopColor: "#E2FEDD"
|
|
460
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
461
|
+
offset: "1",
|
|
462
|
+
stopColor: "#C8F69A"
|
|
463
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
464
|
+
id: "paint1_linear_2850_2797",
|
|
465
|
+
x1: "53.9418",
|
|
466
|
+
y1: "19",
|
|
467
|
+
x2: "11.9832",
|
|
468
|
+
y2: "46.7173",
|
|
469
|
+
gradientUnits: "userSpaceOnUse"
|
|
470
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
471
|
+
stopColor: "#CFE4FF"
|
|
472
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
473
|
+
offset: "1",
|
|
474
|
+
stopColor: "#A0C1FF"
|
|
475
|
+
}))));
|
|
476
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IconProps {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
fill?: string;
|
|
5
|
+
strokeWidth?: number;
|
|
6
|
+
theme?: 'outline' | 'filled' | 'two-tone' | 'multi-color';
|
|
7
|
+
width?: string | number;
|
|
8
|
+
height?: string | number;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
onClick?: (e: React.MouseEvent<SVGSVGElement>) => void;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export interface IconItem {
|
|
15
|
+
name: string;
|
|
16
|
+
element: (props: IconProps) => JSX.Element;
|
|
17
|
+
}
|
|
18
|
+
/** Icon 集合 */
|
|
19
|
+
export declare const iconRally: IconItem[];
|
|
20
|
+
export declare const iconMap: Record<string, IconItem>;
|
|
21
|
+
export declare const getIconByName: (name: string) => IconItem | undefined;
|
|
22
|
+
export declare const searchIcons: (keyword: string) => IconItem[];
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AddOne, AddPrint, Alarm, Alipay, ApiApp, ArrowRight, ArrowUp, Attention, Audit, BackgroundColor, Bank, BookmarkOne, Booth, Caution, ChartPieOne, Check, CheckCorrect, CheckOne, City, Clear, Close, CloseOne, Clue, Comment, Communication, Consume, CooperativeHandshake, Copy, CopyOne, Copyright, Currency, DataArrival, DataFour, Delete, DeleteOne, Deposit, DoubleDown, DoubleUp, Down, Download, Edit, Editor, EditTwo, EveryUser, Excel, ExpensesOne, Export, Family, Female, FileAddition, FilePdf, FileStaff, FileSuccess, FinancingOne, FolderDownload, FolderOpen, FullScreenOne, HamburgerButton, Handbag, Help, History, Home, Left, ListTwo, Local, Lock, Logout, Male, MapRoadTwo, MenuFoldOne, MenuUnfoldOne, More, Newlybuild, NewspaperFolding, Order, Passport, PeoplePlus, Peoples, Platte, Play, Power, Press, PreviewCloseOne, PreviewOpen, Protect, Refresh, Return, Right, RobotOne, RotateOne, Search, Send, Setting, SettingTwo, ShieldAdd, Square, Swipe, Switch, SwitchButton, TicketOne, TicketsTwo, Upload, User, UserBusiness, UserToUserTransmission, UTurnLeft, ViewList, Workbench, WritingFluently } from '@icon-park/react';
|
|
2
|
+
import React, { memo } from 'react';
|
|
3
|
+
import { Iconwx, Iconzfb, Minsheng, Pingan, Point, UploadExcel, UploadImage, UploadPdf, Zhaoshang } from "./material";
|
|
4
|
+
|
|
5
|
+
// 定义图标属性类型
|
|
6
|
+
|
|
7
|
+
// 定义图标项类型
|
|
8
|
+
|
|
9
|
+
// 创建图标元素的辅助函数,使用 memo 优化性能
|
|
10
|
+
var createIconElement = function createIconElement(Component) {
|
|
11
|
+
var MemoizedComponent = /*#__PURE__*/memo(Component);
|
|
12
|
+
return function (props) {
|
|
13
|
+
return /*#__PURE__*/React.createElement(MemoizedComponent, props);
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
// 创建图标数据的辅助函数
|
|
18
|
+
var createIconData = function createIconData(name, component) {
|
|
19
|
+
return {
|
|
20
|
+
name: name,
|
|
21
|
+
element: createIconElement(component)
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** Icon 集合 */
|
|
26
|
+
export var iconRally = [
|
|
27
|
+
// 自研icon
|
|
28
|
+
createIconData('Minsheng', Minsheng), createIconData('Pingan', Pingan), createIconData('Iconwx', Iconwx), createIconData('Iconzfb', Iconzfb), createIconData('Zhaoshang', Zhaoshang), createIconData('Point', Point), createIconData('UploadPdf', UploadPdf), createIconData('UploadImage', UploadImage), createIconData('UploadExcel', UploadExcel),
|
|
29
|
+
// icon-park 图标
|
|
30
|
+
createIconData('AddOne', AddOne), createIconData('AddPrint', AddPrint), createIconData('Alarm', Alarm), createIconData('Alipay', Alipay), createIconData('ApiApp', ApiApp), createIconData('ArrowRight', ArrowRight), createIconData('ArrowUp', ArrowUp), createIconData('Attention', Attention), createIconData('Audit', Audit), createIconData('BackgroundColor', BackgroundColor), createIconData('Bank', Bank), createIconData('BookmarkOne', BookmarkOne), createIconData('Booth', Booth), createIconData('Caution', Caution), createIconData('ChartPieOne', ChartPieOne), createIconData('Check', Check), createIconData('CheckCorrect', CheckCorrect), createIconData('CheckOne', CheckOne), createIconData('City', City), createIconData('Clear', Clear), createIconData('Close', Close), createIconData('CloseOne', CloseOne), createIconData('Clue', Clue), createIconData('Comment', Comment), createIconData('Communication', Communication), createIconData('Consume', Consume), createIconData('CooperativeHandshake', CooperativeHandshake), createIconData('Copy', Copy), createIconData('CopyOne', CopyOne), createIconData('Copyright', Copyright), createIconData('Currency', Currency), createIconData('DataArrival', DataArrival), createIconData('DataFour', DataFour), createIconData('Delete', Delete), createIconData('DeleteOne', DeleteOne), createIconData('Deposit', Deposit), createIconData('DoubleDown', DoubleDown), createIconData('DoubleUp', DoubleUp), createIconData('Down', Down), createIconData('Download', Download), createIconData('Edit', Edit), createIconData('Editor', Editor), createIconData('EditTwo', EditTwo), createIconData('EveryUser', EveryUser), createIconData('Excel', Excel), createIconData('ExpensesOne', ExpensesOne), createIconData('Export', Export), createIconData('Family', Family), createIconData('Female', Female), createIconData('FinancingOne', FinancingOne), createIconData('FileAddition', FileAddition), createIconData('FilePdf', FilePdf), createIconData('FileStaff', FileStaff), createIconData('FileSuccess', FileSuccess), createIconData('FolderDownload', FolderDownload), createIconData('FolderOpen', FolderOpen), createIconData('FullScreenOne', FullScreenOne), createIconData('HamburgerButton', HamburgerButton), createIconData('Handbag', Handbag), createIconData('Help', Help), createIconData('History', History), createIconData('Home', Home), createIconData('Left', Left), createIconData('ListTwo', ListTwo), createIconData('Local', Local), createIconData('Lock', Lock), createIconData('Logout', Logout), createIconData('Male', Male), createIconData('MapRoadTwo', MapRoadTwo), createIconData('MenuFoldOne', MenuFoldOne), createIconData('MenuUnfoldOne', MenuUnfoldOne), createIconData('More', More), createIconData('Newlybuild', Newlybuild), createIconData('NewspaperFolding', NewspaperFolding), createIconData('Order', Order), createIconData('Passport', Passport), createIconData('PeoplePlus', PeoplePlus), createIconData('Peoples', Peoples), createIconData('Platte', Platte), createIconData('Power', Power), createIconData('Press', Press), createIconData('PreviewCloseOne', PreviewCloseOne), createIconData('PreviewOpen', PreviewOpen), createIconData('Protect', Protect), createIconData('Refresh', Refresh), createIconData('Return', Return), createIconData('Right', Right), createIconData('RobotOne', RobotOne), createIconData('RotateOne', RotateOne), createIconData('Search', Search), createIconData('Send', Send), createIconData('Setting', Setting), createIconData('SettingTwo', SettingTwo), createIconData('ShieldAdd', ShieldAdd), createIconData('Square', Square), createIconData('Swipe', Swipe), createIconData('Switch', Switch), createIconData('SwitchButton', SwitchButton), createIconData('TicketOne', TicketOne), createIconData('TicketsTwo', TicketsTwo), createIconData('Upload', Upload), createIconData('User', User), createIconData('UserBusiness', UserBusiness), createIconData('UserToUserTransmission', UserToUserTransmission), createIconData('UTurnLeft', UTurnLeft), createIconData('ViewList', ViewList), createIconData('Workbench', Workbench), createIconData('WritingFluently', WritingFluently), createIconData('Play', Play)];
|
|
31
|
+
|
|
32
|
+
// 创建图标映射表,用于快速查找 (只计算一次)
|
|
33
|
+
export var iconMap = iconRally.reduce(function (map, icon) {
|
|
34
|
+
map[icon.name] = icon;
|
|
35
|
+
return map;
|
|
36
|
+
}, {});
|
|
37
|
+
|
|
38
|
+
// 根据名称获取图标
|
|
39
|
+
export var getIconByName = function getIconByName(name) {
|
|
40
|
+
return iconMap[name];
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
// 搜索图标
|
|
44
|
+
export var searchIcons = function searchIcons(keyword) {
|
|
45
|
+
if (!keyword) return iconRally;
|
|
46
|
+
var lowerKeyword = keyword.toLowerCase();
|
|
47
|
+
return iconRally.filter(function (icon) {
|
|
48
|
+
return icon.name.toLowerCase().includes(lowerKeyword);
|
|
49
|
+
});
|
|
50
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ImageProps } from 'antd';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './index.scss';
|
|
4
|
+
interface ImageUIProps extends ImageProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
src: string;
|
|
7
|
+
preview?: boolean | ImageProps['preview'];
|
|
8
|
+
maskType?: number;
|
|
9
|
+
clickOtherButton?: () => void;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
declare const ImageUI: (props: ImageUIProps) => React.JSX.Element;
|
|
13
|
+
export default ImageUI;
|