yuang-framework-ui-common 1.0.14 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,331 @@
1
+ <template>
2
+ <svg width="254" height="294" style="width: auto; height: auto">
3
+ <defs>
4
+ <path d="M0 .335h253.49v253.49H0z" />
5
+ <path d="M0 293.665h253.49V.401H0z" />
6
+ </defs>
7
+ <g fill="none" fillRule="evenodd">
8
+ <g transform="translate(0 .067)">
9
+ <mask fill="#fff" />
10
+ <path
11
+ d="M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134"
12
+ fill="#E4EBF7"
13
+ mask="url(#b)"
14
+ />
15
+ </g>
16
+ <path
17
+ d="M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671"
18
+ fill="#FFF"
19
+ />
20
+ <path
21
+ d="M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861"
22
+ stroke="#FFF"
23
+ strokeWidth="2"
24
+ />
25
+ <path
26
+ d="M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238"
27
+ fill="#FFF"
28
+ />
29
+ <path
30
+ d="M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775"
31
+ fill="#FFF"
32
+ />
33
+ <path
34
+ d="M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68"
35
+ fill="#FF603B"
36
+ />
37
+ <path
38
+ d="M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733"
39
+ fill="#FFF"
40
+ />
41
+ <path
42
+ d="M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487"
43
+ fill="#FFB594"
44
+ />
45
+ <path
46
+ d="M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235"
47
+ fill="#FFF"
48
+ />
49
+ <path
50
+ d="M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246"
51
+ fill="#FFB594"
52
+ />
53
+ <path
54
+ d="M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508"
55
+ fill="#FFC6A0"
56
+ />
57
+ <path
58
+ d="M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z"
59
+ fill="#520038"
60
+ />
61
+ <path
62
+ d="M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26"
63
+ fill="#552950"
64
+ />
65
+ <path
66
+ stroke="#DB836E"
67
+ strokeWidth="1.063"
68
+ strokeLinecap="round"
69
+ strokeLinejoin="round"
70
+ d="M99.206 73.644l-.9 1.62-.3 4.38h-2.24"
71
+ />
72
+ <path
73
+ d="M99.926 73.284s1.8-.72 2.52.54"
74
+ stroke="#5C2552"
75
+ strokeWidth="1.117"
76
+ strokeLinecap="round"
77
+ strokeLinejoin="round"
78
+ />
79
+ <path
80
+ d="M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68"
81
+ stroke="#DB836E"
82
+ strokeWidth="1.117"
83
+ strokeLinecap="round"
84
+ strokeLinejoin="round"
85
+ />
86
+ <path
87
+ d="M92.326 71.724s1.84 1.12 4.16.96"
88
+ stroke="#5C2552"
89
+ strokeWidth="1.117"
90
+ strokeLinecap="round"
91
+ strokeLinejoin="round"
92
+ />
93
+ <path
94
+ d="M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954"
95
+ stroke="#DB836E"
96
+ strokeWidth="1.063"
97
+ strokeLinecap="round"
98
+ strokeLinejoin="round"
99
+ />
100
+ <path
101
+ d="M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044"
102
+ stroke="#E4EBF7"
103
+ strokeWidth="1.136"
104
+ strokeLinecap="round"
105
+ strokeLinejoin="round"
106
+ />
107
+ <path
108
+ d="M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583"
109
+ fill="#FFF"
110
+ />
111
+ <path
112
+ d="M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75"
113
+ fill="#FFC6A0"
114
+ />
115
+ <path
116
+ d="M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713"
117
+ fill="#FFC6A0"
118
+ />
119
+ <path
120
+ d="M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51"
121
+ stroke="#E4EBF7"
122
+ strokeWidth="1.085"
123
+ strokeLinecap="round"
124
+ strokeLinejoin="round"
125
+ />
126
+ <path
127
+ d="M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16"
128
+ fill="#FFC6A0"
129
+ />
130
+ <path
131
+ d="M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575"
132
+ fill="#FFF"
133
+ />
134
+ <path
135
+ d="M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47"
136
+ fill="#CBD1D1"
137
+ />
138
+ <path
139
+ d="M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z"
140
+ fill="#2B0849"
141
+ />
142
+ <path
143
+ d="M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671"
144
+ fill="#A4AABA"
145
+ />
146
+ <path
147
+ d="M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z"
148
+ fill="#CBD1D1"
149
+ />
150
+ <path
151
+ d="M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162"
152
+ fill="#2B0849"
153
+ />
154
+ <path
155
+ d="M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156"
156
+ fill="#A4AABA"
157
+ />
158
+ <path
159
+ d="M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69"
160
+ fill="#7BB2F9"
161
+ />
162
+ <path
163
+ d="M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034"
164
+ stroke="#648BD8"
165
+ strokeWidth="1.085"
166
+ strokeLinecap="round"
167
+ strokeLinejoin="round"
168
+ />
169
+ <path
170
+ d="M96.973 219.373s2.882-1.153 6.34-4.034"
171
+ stroke="#648BD8"
172
+ strokeWidth="1.032"
173
+ strokeLinecap="round"
174
+ strokeLinejoin="round"
175
+ />
176
+ <path
177
+ d="M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07"
178
+ stroke="#648BD8"
179
+ strokeWidth="1.085"
180
+ strokeLinecap="round"
181
+ strokeLinejoin="round"
182
+ />
183
+ <path
184
+ d="M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62"
185
+ fill="#192064"
186
+ />
187
+ <path
188
+ d="M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843"
189
+ fill="#FFF"
190
+ />
191
+ <path
192
+ d="M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668"
193
+ fill="#192064"
194
+ />
195
+ <path
196
+ d="M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513"
197
+ stroke="#648BD8"
198
+ strokeWidth="1.085"
199
+ strokeLinecap="round"
200
+ strokeLinejoin="round"
201
+ />
202
+ <path
203
+ d="M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72"
204
+ stroke="#E4EBF7"
205
+ strokeWidth="1.085"
206
+ strokeLinecap="round"
207
+ strokeLinejoin="round"
208
+ />
209
+ <path
210
+ d="M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69"
211
+ fill="#FFC6A0"
212
+ />
213
+ <path
214
+ d="M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593"
215
+ stroke="#DB836E"
216
+ strokeWidth=".774"
217
+ strokeLinecap="round"
218
+ strokeLinejoin="round"
219
+ />
220
+ <path
221
+ d="M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762"
222
+ stroke="#E59788"
223
+ strokeWidth=".774"
224
+ strokeLinecap="round"
225
+ strokeLinejoin="round"
226
+ />
227
+ <path
228
+ d="M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594"
229
+ fill="#FFC6A0"
230
+ />
231
+ <path
232
+ d="M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12"
233
+ stroke="#E59788"
234
+ strokeWidth=".774"
235
+ strokeLinecap="round"
236
+ strokeLinejoin="round"
237
+ />
238
+ <path
239
+ d="M109.278 112.533s3.38-3.613 7.575-4.662"
240
+ stroke="#E4EBF7"
241
+ strokeWidth="1.085"
242
+ strokeLinecap="round"
243
+ strokeLinejoin="round"
244
+ />
245
+ <path
246
+ d="M107.375 123.006s9.697-2.745 11.445-.88"
247
+ stroke="#E59788"
248
+ strokeWidth=".774"
249
+ strokeLinecap="round"
250
+ strokeLinejoin="round"
251
+ />
252
+ <path
253
+ d="M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955"
254
+ stroke="#BFCDDD"
255
+ strokeWidth="2"
256
+ strokeLinecap="round"
257
+ strokeLinejoin="round"
258
+ />
259
+ <path
260
+ d="M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01"
261
+ fill="#A3B4C6"
262
+ />
263
+ <path
264
+ d="M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813"
265
+ fill="#A3B4C6"
266
+ />
267
+ <mask fill="#fff" />
268
+ <path
269
+ fill="#A3B4C6"
270
+ mask="url(#d)"
271
+ d="M154.098 190.096h70.513v-84.617h-70.513z"
272
+ />
273
+ <path
274
+ d="M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208"
275
+ fill="#BFCDDD"
276
+ mask="url(#d)"
277
+ />
278
+ <path
279
+ d="M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802"
280
+ fill="#FFF"
281
+ mask="url(#d)"
282
+ />
283
+ <path
284
+ d="M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209"
285
+ fill="#BFCDDD"
286
+ mask="url(#d)"
287
+ />
288
+ <path
289
+ d="M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751"
290
+ stroke="#7C90A5"
291
+ strokeWidth="1.124"
292
+ strokeLinecap="round"
293
+ strokeLinejoin="round"
294
+ mask="url(#d)"
295
+ />
296
+ <path
297
+ d="M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802"
298
+ fill="#FFF"
299
+ mask="url(#d)"
300
+ />
301
+ <path
302
+ d="M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407"
303
+ fill="#BFCDDD"
304
+ mask="url(#d)"
305
+ />
306
+ <path
307
+ d="M177.259 207.217v11.52M201.05 207.217v11.52"
308
+ stroke="#A3B4C6"
309
+ strokeWidth="1.124"
310
+ strokeLinecap="round"
311
+ strokeLinejoin="round"
312
+ mask="url(#d)"
313
+ />
314
+ <path
315
+ d="M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422"
316
+ fill="#5BA02E"
317
+ mask="url(#d)"
318
+ />
319
+ <path
320
+ d="M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423"
321
+ fill="#92C110"
322
+ mask="url(#d)"
323
+ />
324
+ <path
325
+ d="M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209"
326
+ fill="#F2D7AD"
327
+ mask="url(#d)"
328
+ />
329
+ </g>
330
+ </svg>
331
+ </template>
@@ -0,0 +1,25 @@
1
+ <template>
2
+ <ele-page>
3
+ <el-result title="500">
4
+ <template #icon>
5
+ <div style="width: 250px; height: 295px; margin: 20px 0 10px 0">
6
+ <icon-svg />
7
+ </div>
8
+ </template>
9
+ <template #sub-title>
10
+ <ele-text type="placeholder">抱歉, 服务器出错了.</ele-text>
11
+ </template>
12
+ <template #extra>
13
+ <router-link to="/" style="display: inline-flex; text-decoration: none">
14
+ <el-button type="primary">返回首页</el-button>
15
+ </router-link>
16
+ </template>
17
+ </el-result>
18
+ </ele-page>
19
+ </template>
20
+
21
+ <script lang="ts" setup>
22
+ import IconSvg from './components/icon-svg.vue';
23
+
24
+ defineOptions({ name: 'Exception500' });
25
+ </script>
@@ -0,0 +1,22 @@
1
+ <template>
2
+ <div>encryptData:{{encryptData }}</div>
3
+ <div>decryptData:{{decryptData }}</div>
4
+ </template>
5
+
6
+ <script setup lang="ts">
7
+ import { onMounted, ref } from 'vue';
8
+ import {getAesRandomKey, aesEncrypt, aesDecrypt} from '../../../lib/utils/aesUtils';
9
+
10
+ let encryptData = ref('');
11
+ let decryptData = ref('');
12
+ onMounted(() => {
13
+
14
+ let aesRandomKey = getAesRandomKey();
15
+ encryptData.value = aesEncrypt(aesRandomKey, '测试');
16
+ decryptData.value = aesDecrypt(aesRandomKey, encryptData.value);
17
+ })
18
+ </script>
19
+
20
+ <style scoped>
21
+
22
+ </style>
@@ -0,0 +1,14 @@
1
+ <template>
2
+ <el-button @click="showSuccessMessage('成功')">成功</el-button>
3
+ <el-button @click="showInfoMessage('信息')">信息</el-button>
4
+ <el-button @click="showWarningMessage('警告')">警告</el-button>
5
+ <el-button @click="showErrorMessage('错误')">错误</el-button>
6
+ </template>
7
+
8
+ <script setup lang="ts">
9
+ import {showSuccessMessage, showInfoMessage, showWarningMessage, showErrorMessage} from '../../../lib/utils/messageUtils';
10
+ </script>
11
+
12
+ <style scoped>
13
+
14
+ </style>
@@ -0,0 +1,25 @@
1
+ <template>
2
+ <div>encryptData:{{ encryptData }}</div>
3
+ <div>decryptData:{{ decryptData }}</div>
4
+ </template>
5
+
6
+ <script setup lang="ts">
7
+ import {onMounted, ref} from 'vue';
8
+ import {getRsaKeys, rsaEncrypt, rsaDecrypt} from '../../../lib/utils/rsaUtils';
9
+
10
+ let encryptData = ref('');
11
+ let decryptData = ref('');
12
+
13
+ onMounted(async () => {
14
+
15
+ let rsaKeys = await getRsaKeys();
16
+
17
+ encryptData.value = rsaEncrypt(rsaKeys.publicKey, '测试');
18
+ decryptData.value = rsaDecrypt(rsaKeys.privateKey, encryptData.value);
19
+ })
20
+
21
+ </script>
22
+
23
+ <style scoped>
24
+
25
+ </style>
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <div>ssoEncrypt:{{ ssoEncrypt }}</div>
3
+ </template>
4
+
5
+ <script setup lang="ts">
6
+ import {onMounted, ref} from 'vue';
7
+ import {getSsoEncrypt} from '../../../lib/utils/ssoUtils';
8
+
9
+ let ssoEncrypt = ref('');
10
+
11
+ onMounted(async () => {
12
+ ssoEncrypt.value = getSsoEncrypt('测试');
13
+ })
14
+
15
+ </script>
16
+
17
+ <style scoped>
18
+
19
+ </style>
@@ -1,54 +0,0 @@
1
- import axios from "axios"
2
-
3
- import {clearSsoAccessToken} from '../utils/ssoUtils';
4
-
5
-
6
- const $http = axios.create({
7
- baseURL: (window as any).$config?.apiBaseUrl ?? '/gateway-api',
8
- timeout: 5000,
9
- headers: {}
10
- })
11
-
12
-
13
- /* 请求拦截 */
14
- $http.interceptors.request.use(config => {
15
- config.headers["X-Requested-With"] = 'XMLHttpRequest';
16
-
17
- let gatewayAccessToken = localStorage.getItem("gatewayAccessToken") ?? '';
18
- let gatewayPublicKey = localStorage.getItem("gatewayPublicKey") ?? '';
19
- let ssoAccessToken = localStorage.getItem("ssoAccessToken") ?? '';
20
- if (gatewayAccessToken) {
21
- config.headers["Gateway-Access-Token"] = gatewayAccessToken;
22
- }
23
- if (gatewayPublicKey) {
24
- config.headers["Gateway-Public-Key"] = gatewayPublicKey;
25
- }
26
-
27
- if (ssoAccessToken) {
28
- config.headers["Sso-Access-Token"] = ssoAccessToken;
29
- }
30
- config.headers["Request-Id"] = 'test';
31
- return config;
32
- }, err => Promise.reject(err));
33
-
34
-
35
- /* 响应拦截器 */
36
- $http.interceptors.response.use((res) => {
37
- // 登录过期处理
38
- if (res.data.statusCode !== 200) {
39
- if (res.data.statusCode === 401) {
40
- clearSsoAccessToken();
41
- // router.push('/sso/login');
42
- location.href = 'http://localhost:8110/sso-ui-pc/sso/login';
43
- return Promise.reject(new Error(res.data.message));
44
- }
45
- return Promise.reject(new Error(res.data.message));
46
- }
47
-
48
- return res;
49
- }, (error) => {
50
- return Promise.reject(error);
51
- });
52
-
53
-
54
- export default $http