fdb2 1.0.40 → 1.0.41

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.
Files changed (68) hide show
  1. package/README.md +4 -4
  2. package/dist/public/.vite/manifest.json +109 -1
  3. package/dist/public/database-monitor.css +445 -0
  4. package/dist/public/database-monitor.js +605 -0
  5. package/dist/public/database.css +740 -0
  6. package/dist/public/database.js +555 -0
  7. package/dist/public/database2.js +344 -0
  8. package/dist/public/echarts.js +79307 -0
  9. package/dist/public/explorer.css +979 -329
  10. package/dist/public/explorer.js +3563 -34962
  11. package/dist/public/export.js +54831 -0
  12. package/dist/public/helpers.js +27 -0
  13. package/dist/public/index.js +303 -35
  14. package/dist/public/layout.css +98 -65
  15. package/dist/public/layout.js +58 -21
  16. package/dist/public/query-history.css +651 -0
  17. package/dist/public/query-history.js +526 -0
  18. package/dist/public/sql-query-editor.css +503 -0
  19. package/dist/public/sql-query-editor.js +638 -0
  20. package/dist/public/theme.js +82 -0
  21. package/dist/server/__tests__/import-normalize.test.ts +79 -0
  22. package/dist/server/__tests__/remote-proxy.test.ts +62 -0
  23. package/dist/server/core/schema/__tests__/ddl-emitter.test.ts +152 -0
  24. package/dist/server/core/schema/canonical.d.ts.map +1 -1
  25. package/dist/server/core/schema/canonical.js +4 -1
  26. package/dist/server/core/schema/canonical.js.map +1 -1
  27. package/dist/server/core/schema/canonical.ts +4 -1
  28. package/dist/server/core/schema/ddl-emitter.d.ts +3 -0
  29. package/dist/server/core/schema/ddl-emitter.d.ts.map +1 -1
  30. package/dist/server/core/schema/ddl-emitter.js +126 -12
  31. package/dist/server/core/schema/ddl-emitter.js.map +1 -1
  32. package/dist/server/core/schema/ddl-emitter.ts +137 -11
  33. package/dist/server/index.d.ts +20 -0
  34. package/dist/server/index.d.ts.map +1 -1
  35. package/dist/server/index.js +292 -19
  36. package/dist/server/index.js.map +1 -1
  37. package/dist/server/index.ts +305 -21
  38. package/dist/server/service/database/cockroachdb.service.js +1 -1
  39. package/dist/server/service/database/cockroachdb.service.ts +1 -1
  40. package/dist/server/service/database/database.service.d.ts +22 -6
  41. package/dist/server/service/database/database.service.d.ts.map +1 -1
  42. package/dist/server/service/database/database.service.js +257 -54
  43. package/dist/server/service/database/database.service.js.map +1 -1
  44. package/dist/server/service/database/database.service.ts +265 -64
  45. package/dist/server/service/database/mongodb.service.d.ts +1 -1
  46. package/dist/server/service/database/mongodb.service.d.ts.map +1 -1
  47. package/dist/server/service/database/mongodb.service.js +18 -5
  48. package/dist/server/service/database/mongodb.service.js.map +1 -1
  49. package/dist/server/service/database/mongodb.service.ts +18 -5
  50. package/dist/server/service/database/mssql.service.js +4 -4
  51. package/dist/server/service/database/mssql.service.js.map +1 -1
  52. package/dist/server/service/database/mssql.service.ts +4 -4
  53. package/dist/server/service/database/oracle.service.d.ts +5 -1
  54. package/dist/server/service/database/oracle.service.d.ts.map +1 -1
  55. package/dist/server/service/database/oracle.service.js +23 -34
  56. package/dist/server/service/database/oracle.service.js.map +1 -1
  57. package/dist/server/service/database/oracle.service.ts +24 -44
  58. package/dist/server/service/database/sap.service.d.ts +8 -0
  59. package/dist/server/service/database/sap.service.d.ts.map +1 -1
  60. package/dist/server/service/database/sap.service.js +28 -0
  61. package/dist/server/service/database/sap.service.js.map +1 -1
  62. package/dist/server/service/database/sap.service.ts +29 -0
  63. package/dist/server/service/database/sqlite.service.d.ts.map +1 -1
  64. package/dist/server/service/database/sqlite.service.js +5 -2
  65. package/dist/server/service/database/sqlite.service.js.map +1 -1
  66. package/dist/server/service/database/sqlite.service.ts +5 -2
  67. package/package.json +1 -1
  68. package/public/fdb2.png +0 -0
@@ -0,0 +1,740 @@
1
+
2
+ /* 主容器 */
3
+ .database-dashboard-modern[data-v-10cf8764] {
4
+ min-height: calc(100vh - 200px);
5
+ background: linear-gradient(135deg, var(--db-light-color) 0%, var(--db-border) 100%);
6
+ padding: 1.5rem 0;
7
+ }
8
+
9
+ /* Hero 区域 */
10
+ .hero-section[data-v-10cf8764] {
11
+ position: relative;
12
+ margin-bottom: 3rem;
13
+ overflow: hidden;
14
+ }
15
+ .hero-content[data-v-10cf8764] {
16
+ background: linear-gradient(135deg, var(--db-surface) 0%, var(--db-light-color) 100%);
17
+ border-radius: 16px;
18
+ padding: 2rem;
19
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
20
+ border: 1px solid rgba(203, 213, 225, 0.8);
21
+ position: relative;
22
+ overflow: hidden;
23
+ }
24
+ .hero-background[data-v-10cf8764] {
25
+ position: absolute;
26
+ top: 0;
27
+ left: 0;
28
+ width: 100%;
29
+ height: 100%;
30
+ pointer-events: none;
31
+ z-index: 1;
32
+ }
33
+ .hero-shapes[data-v-10cf8764] {
34
+ position: absolute;
35
+ width: 100%;
36
+ height: 100%;
37
+ }
38
+ .hero-shape[data-v-10cf8764] {
39
+ position: absolute;
40
+ background: var(--db-primary-bg);
41
+ border-radius: 50%;
42
+ animation: float-10cf8764 6s ease-in-out infinite;
43
+ }
44
+ .shape-1[data-v-10cf8764] {
45
+ width: 200px;
46
+ height: 200px;
47
+ top: -50px;
48
+ right: -50px;
49
+ animation-delay: 0s;
50
+ }
51
+ .shape-2[data-v-10cf8764] {
52
+ width: 150px;
53
+ height: 150px;
54
+ bottom: -30px;
55
+ left: 20%;
56
+ animation-delay: 2s;
57
+ }
58
+ .shape-3[data-v-10cf8764] {
59
+ width: 100px;
60
+ height: 100px;
61
+ top: 20%;
62
+ right: 10%;
63
+ animation-delay: 4s;
64
+ }
65
+ @keyframes float-10cf8764 {
66
+ 0%, 100% { transform: translateY(0px) rotate(0deg);
67
+ }
68
+ 50% { transform: translateY(-20px) rotate(180deg);
69
+ }
70
+ }
71
+ .hero-text[data-v-10cf8764] {
72
+ position: relative;
73
+ z-index: 2;
74
+ }
75
+ .hero-badge[data-v-10cf8764] {
76
+ display: inline-flex;
77
+ align-items: center;
78
+ gap: 0.5rem;
79
+ background: var(--db-primary-color);
80
+ color: var(--db-on-accent);
81
+ padding: 0.5rem 1rem;
82
+ border-radius: 20px;
83
+ font-size: 0.875rem;
84
+ font-weight: 600;
85
+ margin-bottom: 1.5rem;
86
+ box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
87
+ }
88
+ .hero-title[data-v-10cf8764] {
89
+ font-size: 3rem;
90
+ font-weight: 800;
91
+ line-height: 1.1;
92
+ margin-bottom: 1.5rem;
93
+ color: var(--db-dark-color);
94
+ }
95
+ .gradient-text[data-v-10cf8764] {
96
+ background: var(--db-primary-color);
97
+ -webkit-background-clip: text;
98
+ -webkit-text-fill-color: transparent;
99
+ background-clip: text;
100
+ }
101
+ .hero-description[data-v-10cf8764] {
102
+ font-size: 1.125rem;
103
+ color: var(--db-darker-color);
104
+ line-height: 1.6;
105
+ margin-bottom: 2rem;
106
+ max-width: 600px;
107
+ }
108
+ .hero-actions[data-v-10cf8764] {
109
+ display: flex;
110
+ gap: 1rem;
111
+ margin-bottom: 2rem;
112
+ flex-wrap: wrap;
113
+ }
114
+ .btn-hero[data-v-10cf8764] {
115
+ display: inline-flex;
116
+ align-items: center;
117
+ gap: 0.5rem;
118
+ padding: 1rem 2rem;
119
+ border-radius: 12px;
120
+ text-decoration: none;
121
+ font-weight: 600;
122
+ font-size: 1rem;
123
+ transition: all 0.3s ease;
124
+ position: relative;
125
+ overflow: hidden;
126
+ }
127
+ .btn-primary-hero[data-v-10cf8764] {
128
+ background: var(--db-primary-color);
129
+ color: var(--db-on-accent);
130
+ box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
131
+ }
132
+ .btn-primary-hero[data-v-10cf8764]:hover {
133
+ transform: translateY(-2px);
134
+ box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
135
+ }
136
+ .btn-secondary-hero[data-v-10cf8764] {
137
+ background: var(--db-surface);
138
+ color: #667eea;
139
+ border: 2px solid #667eea;
140
+ }
141
+ .btn-secondary-hero[data-v-10cf8764]:hover {
142
+ background: #667eea;
143
+ color: var(--db-on-accent);
144
+ transform: translateY(-2px);
145
+ }
146
+ .btn-glow[data-v-10cf8764] {
147
+ position: absolute;
148
+ top: 50%;
149
+ left: 50%;
150
+ width: 0;
151
+ height: 0;
152
+ border-radius: 50%;
153
+ background: rgba(255, 255, 255, 0.3);
154
+ transform: translate(-50%, -50%);
155
+ transition: width 0.6s, height 0.6s;
156
+ }
157
+ .btn-hero:active .btn-glow[data-v-10cf8764] {
158
+ width: 300px;
159
+ height: 300px;
160
+ }
161
+ .hero-stats[data-v-10cf8764] {
162
+ display: flex;
163
+ gap: 3rem;
164
+ margin-top: 2rem;
165
+ }
166
+ .hero-stat[data-v-10cf8764] {
167
+ display: flex;
168
+ flex-direction: column;
169
+ gap: 0.25rem;
170
+ }
171
+ .stat-number[data-v-10cf8764] {
172
+ font-size: 2rem;
173
+ font-weight: 700;
174
+ color: var(--db-dark-color);
175
+ }
176
+ .stat-label[data-v-10cf8764] {
177
+ font-size: 0.875rem;
178
+ color: var(--db-darker-color);
179
+ font-weight: 600;
180
+ }
181
+
182
+ /* 可视化插图 */
183
+ .hero-visual[data-v-10cf8764] {
184
+ position: relative;
185
+ z-index: 2;
186
+ display: flex;
187
+ justify-content: center;
188
+ align-items: center;
189
+ height: 400px;
190
+ }
191
+ .database-illustration[data-v-10cf8764] {
192
+ position: relative;
193
+ width: 300px;
194
+ height: 300px;
195
+ }
196
+ .db-layer[data-v-10cf8764] {
197
+ position: absolute;
198
+ width: 100%;
199
+ height: 100%;
200
+ display: flex;
201
+ align-items: center;
202
+ justify-content: center;
203
+ border-radius: 20px;
204
+ font-size: 4rem;
205
+ color: var(--db-on-accent);
206
+ animation: rotate-10cf8764 20s linear infinite;
207
+ }
208
+ .layer-1[data-v-10cf8764] {
209
+ background: var(--db-primary-color);
210
+ animation-delay: 0s;
211
+ z-index: 3;
212
+ }
213
+ .layer-2[data-v-10cf8764] {
214
+ background: var(--db-accent-color);
215
+ animation-delay: 6s;
216
+ transform: scale(0.8) rotate(45deg);
217
+ z-index: 2;
218
+ }
219
+ .layer-3[data-v-10cf8764] {
220
+ background: var(--db-warning-color);
221
+ animation-delay: 12s;
222
+ transform: scale(0.6) rotate(90deg);
223
+ z-index: 1;
224
+ }
225
+ @keyframes rotate-10cf8764 {
226
+ from { transform: rotate(0deg);
227
+ }
228
+ to { transform: rotate(360deg);
229
+ }
230
+ }
231
+
232
+ /* 统计卡片区域 */
233
+ .stats-section[data-v-10cf8764] {
234
+ margin-bottom: 4rem;
235
+ }
236
+ .stat-card-modern[data-v-10cf8764] {
237
+ background: var(--db-surface);
238
+ border-radius: 16px;
239
+ padding: 1.25rem;
240
+ border: 1px solid rgba(203, 213, 225, 0.8);
241
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
242
+ transition: all 0.3s ease;
243
+ position: relative;
244
+ overflow: hidden;
245
+ }
246
+ .stat-card-modern[data-v-10cf8764]:hover {
247
+ transform: translateY(-4px);
248
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
249
+ }
250
+ .stat-icon-wrapper[data-v-10cf8764] {
251
+ display: flex;
252
+ justify-content: space-between;
253
+ align-items: flex-start;
254
+ margin-bottom: 1rem;
255
+ }
256
+ .stat-icon[data-v-10cf8764] {
257
+ width: 60px;
258
+ height: 60px;
259
+ border-radius: 12px;
260
+ display: flex;
261
+ align-items: center;
262
+ justify-content: center;
263
+ color: var(--db-on-accent);
264
+ font-size: 1.5rem;
265
+ flex-shrink: 0;
266
+ }
267
+ .stat-trend[data-v-10cf8764] {
268
+ display: flex;
269
+ flex-direction: column;
270
+ align-items: end;
271
+ gap: 0.25rem;
272
+ font-size: 0.875rem;
273
+ font-weight: 600;
274
+ color: #10b981;
275
+ }
276
+ .stat-gradient-1 .stat-icon[data-v-10cf8764] { background: var(--db-primary-color);
277
+ }
278
+ .stat-gradient-2 .stat-icon[data-v-10cf8764] { background: var(--db-accent-color);
279
+ }
280
+ .stat-gradient-3 .stat-icon[data-v-10cf8764] { background: var(--db-warning-color);
281
+ }
282
+ .stat-gradient-4 .stat-icon[data-v-10cf8764] { background: var(--db-danger-color);
283
+ }
284
+ .stat-content[data-v-10cf8764] {
285
+ display: flex;
286
+ flex-direction: column;
287
+ gap: 0.25rem;
288
+ }
289
+ .stat-card-modern .stat-number[data-v-10cf8764] {
290
+ font-size: 2.5rem;
291
+ font-weight: 700;
292
+ color: var(--db-dark-color);
293
+ line-height: 1;
294
+ }
295
+ .stat-title[data-v-10cf8764] {
296
+ font-size: 1rem;
297
+ font-weight: 600;
298
+ color: var(--db-text-body);
299
+ }
300
+ .stat-description[data-v-10cf8764] {
301
+ font-size: 0.875rem;
302
+ color: var(--db-darker-color);
303
+ }
304
+
305
+ /* 功能特性区域 */
306
+ .features-section[data-v-10cf8764] {
307
+ margin-bottom: 4rem;
308
+ }
309
+ .section-header[data-v-10cf8764] {
310
+ text-align: center;
311
+ margin-bottom: 3rem;
312
+ }
313
+ .section-icon[data-v-10cf8764] {
314
+ width: 60px;
315
+ height: 60px;
316
+ background: var(--db-primary-color);
317
+ border-radius: 16px;
318
+ display: flex;
319
+ align-items: center;
320
+ justify-content: center;
321
+ color: var(--db-on-accent);
322
+ font-size: 1.5rem;
323
+ margin: 0 auto 1rem;
324
+ box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
325
+ }
326
+ .section-title[data-v-10cf8764] {
327
+ font-size: 2rem;
328
+ font-weight: 700;
329
+ color: var(--db-dark-color);
330
+ margin-bottom: 0.5rem;
331
+ }
332
+ .section-subtitle[data-v-10cf8764] {
333
+ color: var(--db-darker-color);
334
+ font-size: 1.125rem;
335
+ max-width: 600px;
336
+ margin: 0 auto;
337
+ }
338
+ .features-grid[data-v-10cf8764] {
339
+ display: grid;
340
+ grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
341
+ gap: 2rem;
342
+ }
343
+ .feature-card[data-v-10cf8764] {
344
+ background: var(--db-surface);
345
+ border-radius: 16px;
346
+ padding: 1.5rem;
347
+ border: 1px solid rgba(203, 213, 225, 0.8);
348
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
349
+ transition: all 0.3s ease;
350
+ position: relative;
351
+ overflow: hidden;
352
+ display: flex;
353
+ flex-direction: column;
354
+ gap: 1.5rem;
355
+ }
356
+ .feature-card[data-v-10cf8764]:hover {
357
+ transform: translateY(-4px);
358
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
359
+ }
360
+ .feature-icon-wrapper[data-v-10cf8764] {
361
+ display: flex;
362
+ justify-content: space-between;
363
+ align-items: center;
364
+ position: relative;
365
+ }
366
+ .feature-icon[data-v-10cf8764] {
367
+ width: 60px;
368
+ height: 60px;
369
+ border-radius: 12px;
370
+ display: flex;
371
+ align-items: center;
372
+ justify-content: center;
373
+ color: var(--db-on-accent);
374
+ font-size: 1.5rem;
375
+ position: relative;
376
+ z-index: 2;
377
+ }
378
+ .feature-1[data-v-10cf8764] { background: var(--db-info-color);
379
+ }
380
+ .feature-2[data-v-10cf8764] { background: var(--db-accent-color);
381
+ }
382
+ .feature-3[data-v-10cf8764] { background: var(--db-warning-color);
383
+ }
384
+ .feature-4[data-v-10cf8764] { background: #8b5cf6;
385
+ }
386
+ .feature-number[data-v-10cf8764] {
387
+ font-size: 3rem;
388
+ font-weight: 700;
389
+ color: rgba(102, 126, 234, 0.1);
390
+ position: absolute;
391
+ right: 0;
392
+ top: 50%;
393
+ transform: translateY(-50%);
394
+ z-index: 1;
395
+ }
396
+ .feature-content[data-v-10cf8764] {
397
+ flex-grow: 1;
398
+ display: flex;
399
+ flex-direction: column;
400
+ gap: 0.75rem;
401
+ }
402
+ .feature-title[data-v-10cf8764] {
403
+ font-size: 1.25rem;
404
+ font-weight: 600;
405
+ color: var(--db-dark-color);
406
+ margin-bottom: 0;
407
+ }
408
+ .feature-description[data-v-10cf8764] {
409
+ color: var(--db-darker-color);
410
+ line-height: 1.6;
411
+ flex-grow: 1;
412
+ }
413
+ .feature-tags[data-v-10cf8764] {
414
+ display: flex;
415
+ gap: 0.5rem;
416
+ flex-wrap: wrap;
417
+ }
418
+ .feature-tag[data-v-10cf8764] {
419
+ background: linear-gradient(135deg, var(--db-border) 0%, var(--db-gray-medium) 100%);
420
+ color: var(--db-darker-color);
421
+ padding: 0.25rem 0.75rem;
422
+ border-radius: 20px;
423
+ font-size: 0.75rem;
424
+ font-weight: 500;
425
+ }
426
+ .feature-action[data-v-10cf8764] {
427
+ display: flex;
428
+ justify-content: end;
429
+ }
430
+ .feature-link[data-v-10cf8764] {
431
+ width: 40px;
432
+ height: 40px;
433
+ border-radius: 10px;
434
+ background: var(--db-primary-color);
435
+ color: var(--db-on-accent);
436
+ display: flex;
437
+ align-items: center;
438
+ justify-content: center;
439
+ text-decoration: none;
440
+ transition: all 0.3s ease;
441
+ }
442
+ .feature-link[data-v-10cf8764]:hover {
443
+ transform: scale(1.1) rotate(45deg);
444
+ }
445
+
446
+ /* 快速访问区域 */
447
+ .quick-access-section[data-v-10cf8764] {
448
+ margin-bottom: 4rem;
449
+ }
450
+ .quick-access-grid[data-v-10cf8764] {
451
+ display: grid;
452
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
453
+ gap: 1.5rem;
454
+ margin-bottom: 2rem;
455
+ }
456
+ .quick-access-card[data-v-10cf8764] {
457
+ background: var(--db-surface);
458
+ border-radius: 12px;
459
+ padding: 1.25rem;
460
+ border: 1px solid rgba(203, 213, 225, 0.8);
461
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
462
+ transition: all 0.3s ease;
463
+ display: flex;
464
+ flex-direction: column;
465
+ gap: 1rem;
466
+ }
467
+ .quick-access-card[data-v-10cf8764]:hover {
468
+ transform: translateY(-4px);
469
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
470
+ }
471
+ .quick-access-header[data-v-10cf8764] {
472
+ display: flex;
473
+ justify-content: space-between;
474
+ align-items: center;
475
+ }
476
+ .db-avatar[data-v-10cf8764] {
477
+ width: 50px;
478
+ height: 50px;
479
+ border-radius: 12px;
480
+ display: flex;
481
+ align-items: center;
482
+ justify-content: center;
483
+ color: var(--db-on-accent);
484
+ font-size: 1.25rem;
485
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
486
+ }
487
+ .connection-status[data-v-10cf8764] {
488
+ width: 10px;
489
+ height: 10px;
490
+ border-radius: 50%;
491
+ position: relative;
492
+ }
493
+ .status-online[data-v-10cf8764] {
494
+ background: #10b981;
495
+ box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
496
+ }
497
+ .status-offline[data-v-10cf8764] {
498
+ background: var(--db-gray-dark);
499
+ }
500
+ .status-dot[data-v-10cf8764] {
501
+ width: 100%;
502
+ height: 100%;
503
+ border-radius: 50%;
504
+ background: currentColor;
505
+ animation: pulse-10cf8764 2s ease-in-out infinite;
506
+ }
507
+ .quick-access-body[data-v-10cf8764] {
508
+ flex-grow: 1;
509
+ }
510
+ .connection-name[data-v-10cf8764] {
511
+ font-size: 1.1rem;
512
+ font-weight: 600;
513
+ color: var(--db-dark-color);
514
+ margin-bottom: 0.5rem;
515
+ }
516
+ .connection-info[data-v-10cf8764] {
517
+ display: flex;
518
+ flex-direction: column;
519
+ gap: 0.25rem;
520
+ font-size: 0.875rem;
521
+ color: var(--db-darker-color);
522
+ }
523
+ .db-type[data-v-10cf8764] {
524
+ font-weight: 600;
525
+ color: #667eea;
526
+ }
527
+ .connection-host[data-v-10cf8764] {
528
+ color: var(--db-gray-dark);
529
+ }
530
+ .quick-access-footer[data-v-10cf8764] {
531
+ margin-top: auto;
532
+ }
533
+ .quick-access-btn[data-v-10cf8764] {
534
+ width: 100%;
535
+ padding: 0.75rem;
536
+ background: linear-gradient(135deg, var(--db-light-color) 0%, var(--db-gray-light) 100%);
537
+ border: 1px solid var(--db-gray-medium);
538
+ border-radius: 10px;
539
+ color: #667eea;
540
+ font-weight: 500;
541
+ cursor: pointer;
542
+ transition: all 0.3s ease;
543
+ display: flex;
544
+ align-items: center;
545
+ justify-content: center;
546
+ gap: 0.5rem;
547
+ }
548
+ .quick-access-btn[data-v-10cf8764]:hover {
549
+ background: var(--db-primary-color);
550
+ color: var(--db-on-accent);
551
+ transform: translateY(-1px);
552
+ }
553
+ .view-all-connections[data-v-10cf8764] {
554
+ text-align: center;
555
+ }
556
+ .view-all-btn[data-v-10cf8764] {
557
+ display: inline-flex;
558
+ align-items: center;
559
+ gap: 0.75rem;
560
+ padding: 1rem 2rem;
561
+ background: var(--db-surface);
562
+ border: 2px solid var(--db-gray-medium);
563
+ border-radius: 12px;
564
+ color: var(--db-darker-color);
565
+ text-decoration: none;
566
+ font-weight: 600;
567
+ transition: all 0.3s ease;
568
+ }
569
+ .view-all-btn[data-v-10cf8764]:hover {
570
+ background: var(--db-primary-color);
571
+ color: var(--db-on-accent);
572
+ border-color: transparent;
573
+ transform: translateY(-2px);
574
+ }
575
+
576
+ /* 空状态 */
577
+ .empty-state-section[data-v-10cf8764] {
578
+ text-align: center;
579
+ padding: 4rem 2rem;
580
+ }
581
+ .empty-state-content[data-v-10cf8764] {
582
+ max-width: 600px;
583
+ margin: 0 auto;
584
+ }
585
+ .empty-illustration[data-v-10cf8764] {
586
+ position: relative;
587
+ margin-bottom: 2rem;
588
+ height: 200px;
589
+ display: flex;
590
+ justify-content: center;
591
+ align-items: center;
592
+ }
593
+ .empty-icon-wrapper[data-v-10cf8764] {
594
+ width: 100px;
595
+ height: 100px;
596
+ background: linear-gradient(135deg, var(--db-gray-light) 0%, var(--db-border) 100%);
597
+ border-radius: 20px;
598
+ display: flex;
599
+ align-items: center;
600
+ justify-content: center;
601
+ color: var(--db-gray-dark);
602
+ font-size: 3rem;
603
+ position: relative;
604
+ z-index: 2;
605
+ }
606
+ .empty-shapes[data-v-10cf8764] {
607
+ position: absolute;
608
+ width: 100%;
609
+ height: 100%;
610
+ }
611
+ .empty-shape[data-v-10cf8764] {
612
+ position: absolute;
613
+ background: var(--db-primary-bg);
614
+ border-radius: 50%;
615
+ animation: float-10cf8764 6s ease-in-out infinite;
616
+ }
617
+ .shape-a[data-v-10cf8764] {
618
+ width: 60px;
619
+ height: 60px;
620
+ top: 20px;
621
+ left: 20px;
622
+ animation-delay: 0s;
623
+ }
624
+ .shape-b[data-v-10cf8764] {
625
+ width: 40px;
626
+ height: 40px;
627
+ bottom: 30px;
628
+ right: 30px;
629
+ animation-delay: 2s;
630
+ }
631
+ .shape-c[data-v-10cf8764] {
632
+ width: 30px;
633
+ height: 30px;
634
+ top: 50%;
635
+ left: 70%;
636
+ animation-delay: 4s;
637
+ }
638
+ .empty-title[data-v-10cf8764] {
639
+ font-size: 2rem;
640
+ font-weight: 700;
641
+ color: var(--db-dark-color);
642
+ margin-bottom: 1rem;
643
+ }
644
+ .empty-description[data-v-10cf8764] {
645
+ font-size: 1.125rem;
646
+ color: var(--db-darker-color);
647
+ line-height: 1.6;
648
+ margin-bottom: 2rem;
649
+ }
650
+
651
+ /* 数据库类型颜色 */
652
+ .db-mysql[data-v-10cf8764] { background: #00758f;
653
+ }
654
+ .db-postgres[data-v-10cf8764] { background: #336791;
655
+ }
656
+ .db-sqlite[data-v-10cf8764] { background: #003b57;
657
+ }
658
+ .db-mssql[data-v-10cf8764] { background: #cc2927;
659
+ }
660
+ .db-oracle[data-v-10cf8764] { background: #f80000;
661
+ }
662
+ .db-default[data-v-10cf8764] { background: linear-gradient(135deg, var(--db-text-muted) 0%, var(--db-gray-dark) 100%);
663
+ }
664
+
665
+ /* 响应式设计 */
666
+ @media (max-width: 1024px) {
667
+ .features-grid[data-v-10cf8764] {
668
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
669
+ }
670
+ .quick-access-grid[data-v-10cf8764] {
671
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
672
+ }
673
+ }
674
+ @media (max-width: 768px) {
675
+ .database-dashboard-modern[data-v-10cf8764] {
676
+ padding: 1rem 0;
677
+ }
678
+ .hero-content[data-v-10cf8764] {
679
+ padding: 2rem;
680
+ }
681
+ .hero-title[data-v-10cf8764] {
682
+ font-size: 2rem;
683
+ }
684
+ .hero-description[data-v-10cf8764] {
685
+ font-size: 1rem;
686
+ }
687
+ .hero-actions[data-v-10cf8764] {
688
+ flex-direction: column;
689
+ align-items: stretch;
690
+ }
691
+ .hero-stats[data-v-10cf8764] {
692
+ gap: 2rem;
693
+ justify-content: center;
694
+ }
695
+ .hero-visual[data-v-10cf8764] {
696
+ height: 300px;
697
+ margin-top: 2rem;
698
+ }
699
+ .database-illustration[data-v-10cf8764] {
700
+ width: 200px;
701
+ height: 200px;
702
+ }
703
+ .db-layer[data-v-10cf8764] {
704
+ font-size: 3rem;
705
+ }
706
+ .section-title[data-v-10cf8764] {
707
+ font-size: 1.5rem;
708
+ }
709
+ .section-subtitle[data-v-10cf8764] {
710
+ font-size: 1rem;
711
+ }
712
+ .features-grid[data-v-10cf8764] {
713
+ grid-template-columns: 1fr;
714
+ }
715
+ .quick-access-grid[data-v-10cf8764] {
716
+ grid-template-columns: 1fr;
717
+ }
718
+ }
719
+ @media (max-width: 480px) {
720
+ .hero-content[data-v-10cf8764] {
721
+ padding: 1.5rem;
722
+ }
723
+ .hero-title[data-v-10cf8764] {
724
+ font-size: 1.75rem;
725
+ }
726
+ .stat-card-modern .stat-number[data-v-10cf8764] {
727
+ font-size: 2rem;
728
+ }
729
+ .feature-card[data-v-10cf8764] {
730
+ padding: 1.5rem;
731
+ }
732
+ }
733
+
734
+ /* 动画效果 */
735
+ @keyframes pulse-10cf8764 {
736
+ 0%, 100% { opacity: 1;
737
+ }
738
+ 50% { opacity: 0.5;
739
+ }
740
+ }