@siact/sime-x-vue 0.0.2 → 0.0.4
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/sime-x-vue.mjs +60 -144
- package/dist/sime-x-vue.mjs.map +1 -1
- package/dist/sime-x-vue.umd.js +59 -143
- package/dist/sime-x-vue.umd.js.map +1 -1
- package/dist/style.css +127 -75
- package/package.json +1 -1
- package/types/components/sime-x.vue.d.ts +2 -0
package/dist/style.css
CHANGED
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
opacity: 0;
|
|
346
346
|
transform: scale(0.8);
|
|
347
347
|
}
|
|
348
|
-
.sime-x[data-v-
|
|
348
|
+
.sime-x[data-v-73306d13] {
|
|
349
349
|
--bg-primary: #ffffff;
|
|
350
350
|
--bg-secondary: #f8fafc;
|
|
351
351
|
--bg-header: #0f172a;
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
--accent-color: #3b82f6;
|
|
360
360
|
--hover-bg: rgba(0, 0, 0, 0.05);
|
|
361
361
|
}
|
|
362
|
-
.sime-x[data-theme=dark][data-v-
|
|
362
|
+
.sime-x[data-theme=dark][data-v-73306d13] {
|
|
363
363
|
--bg-primary: #1e293b;
|
|
364
364
|
--bg-secondary: #0f172a;
|
|
365
365
|
--bg-header: #0f172a;
|
|
@@ -373,13 +373,13 @@
|
|
|
373
373
|
--accent-color: #60a5fa;
|
|
374
374
|
--hover-bg: rgba(255, 255, 255, 0.1);
|
|
375
375
|
}
|
|
376
|
-
.is-hidden[data-v-
|
|
376
|
+
.is-hidden[data-v-73306d13] {
|
|
377
377
|
height: 0;
|
|
378
378
|
opacity: 0 !important;
|
|
379
379
|
pointer-events: none !important;
|
|
380
380
|
visibility: hidden !important;
|
|
381
381
|
}
|
|
382
|
-
.assistant-fab[data-v-
|
|
382
|
+
.assistant-fab[data-v-73306d13] {
|
|
383
383
|
position: relative;
|
|
384
384
|
cursor: pointer;
|
|
385
385
|
overflow: visible;
|
|
@@ -388,30 +388,30 @@
|
|
|
388
388
|
pointer-events: auto;
|
|
389
389
|
transition: all 0.3s ease;
|
|
390
390
|
}
|
|
391
|
-
.assistant-fab[data-v-
|
|
391
|
+
.assistant-fab[data-v-73306d13]:hover {
|
|
392
392
|
transform: scale(1.05);
|
|
393
393
|
}
|
|
394
|
-
.assistant-fab[data-v-
|
|
394
|
+
.assistant-fab[data-v-73306d13]:active {
|
|
395
395
|
transform: scale(0.95);
|
|
396
396
|
}
|
|
397
|
-
.assistant-fab .voice-status[data-v-
|
|
397
|
+
.assistant-fab .voice-status[data-v-73306d13] {
|
|
398
398
|
position: absolute;
|
|
399
399
|
right: 100%;
|
|
400
400
|
margin-right: 20px;
|
|
401
401
|
}
|
|
402
|
-
.assistant-fab img[data-v-
|
|
402
|
+
.assistant-fab img[data-v-73306d13] {
|
|
403
403
|
display: block;
|
|
404
404
|
position: relative;
|
|
405
405
|
object-fit: contain;
|
|
406
406
|
}
|
|
407
|
-
.assistant-fab .fab-pulse[data-v-
|
|
407
|
+
.assistant-fab .fab-pulse[data-v-73306d13] {
|
|
408
408
|
position: absolute;
|
|
409
409
|
inset: -4px;
|
|
410
410
|
border-radius: 50%;
|
|
411
411
|
border: 2px solid var(--accent-color);
|
|
412
412
|
opacity: 0;
|
|
413
413
|
}
|
|
414
|
-
@keyframes pulse-
|
|
414
|
+
@keyframes pulse-73306d13 {
|
|
415
415
|
0%, 100% {
|
|
416
416
|
opacity: 0;
|
|
417
417
|
transform: scale(1);
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
transform: scale(1.1);
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
.x-dialog-container[data-v-
|
|
424
|
+
.x-dialog-container[data-v-73306d13] {
|
|
425
425
|
position: fixed;
|
|
426
426
|
top: 0;
|
|
427
427
|
left: 0;
|
|
@@ -435,17 +435,17 @@
|
|
|
435
435
|
opacity: 0;
|
|
436
436
|
pointer-events: none;
|
|
437
437
|
}
|
|
438
|
-
.x-dialog-container.position-ready[data-v-
|
|
438
|
+
.x-dialog-container.position-ready[data-v-73306d13] {
|
|
439
439
|
opacity: 1;
|
|
440
440
|
pointer-events: auto;
|
|
441
441
|
}
|
|
442
|
-
.x-dialog-container[data-v-
|
|
442
|
+
.x-dialog-container[data-v-73306d13]:active {
|
|
443
443
|
cursor: grabbing;
|
|
444
444
|
}
|
|
445
|
-
.x-dialog-container.collapsed .x-dialog-header[data-v-
|
|
445
|
+
.x-dialog-container.collapsed .x-dialog-header[data-v-73306d13] {
|
|
446
446
|
border-radius: 16px;
|
|
447
447
|
}
|
|
448
|
-
.x-dialog-container .x-dialog-header[data-v-
|
|
448
|
+
.x-dialog-container .x-dialog-header[data-v-73306d13] {
|
|
449
449
|
position: relative;
|
|
450
450
|
display: flex;
|
|
451
451
|
justify-content: space-between;
|
|
@@ -456,12 +456,12 @@
|
|
|
456
456
|
user-select: none;
|
|
457
457
|
border-bottom: 1px solid var(--border-color);
|
|
458
458
|
}
|
|
459
|
-
.x-dialog-container .x-dialog-header .header-left[data-v-
|
|
459
|
+
.x-dialog-container .x-dialog-header .header-left[data-v-73306d13] {
|
|
460
460
|
display: flex;
|
|
461
461
|
align-items: center;
|
|
462
462
|
gap: 10px;
|
|
463
463
|
}
|
|
464
|
-
.x-dialog-container .x-dialog-header .header-left .logo-icon[data-v-
|
|
464
|
+
.x-dialog-container .x-dialog-header .header-left .logo-icon[data-v-73306d13] {
|
|
465
465
|
display: flex;
|
|
466
466
|
align-items: center;
|
|
467
467
|
justify-content: center;
|
|
@@ -469,23 +469,23 @@
|
|
|
469
469
|
height: 36px;
|
|
470
470
|
transition: transform 0.2s ease;
|
|
471
471
|
}
|
|
472
|
-
.x-dialog-container .x-dialog-header .header-left .logo-icon .logo[data-v-
|
|
472
|
+
.x-dialog-container .x-dialog-header .header-left .logo-icon .logo[data-v-73306d13] {
|
|
473
473
|
width: 100%;
|
|
474
474
|
height: 100%;
|
|
475
475
|
object-fit: contain;
|
|
476
476
|
}
|
|
477
|
-
.x-dialog-container .x-dialog-header .header-left .title[data-v-
|
|
477
|
+
.x-dialog-container .x-dialog-header .header-left .title[data-v-73306d13] {
|
|
478
478
|
font-weight: 600;
|
|
479
479
|
font-size: 15px;
|
|
480
480
|
color: var(--text-header);
|
|
481
481
|
letter-spacing: -0.01em;
|
|
482
482
|
}
|
|
483
|
-
.x-dialog-container .x-dialog-header .actions[data-v-
|
|
483
|
+
.x-dialog-container .x-dialog-header .actions[data-v-73306d13] {
|
|
484
484
|
display: flex;
|
|
485
485
|
align-items: center;
|
|
486
486
|
gap: 4px;
|
|
487
487
|
}
|
|
488
|
-
.x-dialog-container .x-dialog-header .actions .action-btn[data-v-
|
|
488
|
+
.x-dialog-container .x-dialog-header .actions .action-btn[data-v-73306d13] {
|
|
489
489
|
display: flex;
|
|
490
490
|
align-items: center;
|
|
491
491
|
justify-content: center;
|
|
@@ -498,26 +498,26 @@
|
|
|
498
498
|
transition: all 0.2s ease;
|
|
499
499
|
border-radius: 8px;
|
|
500
500
|
}
|
|
501
|
-
.x-dialog-container .x-dialog-header .actions .action-btn[data-v-
|
|
501
|
+
.x-dialog-container .x-dialog-header .actions .action-btn[data-v-73306d13]:hover {
|
|
502
502
|
color: var(--text-header);
|
|
503
503
|
background: var(--hover-bg);
|
|
504
504
|
transform: translateY(-1px);
|
|
505
505
|
}
|
|
506
|
-
.x-dialog-container .x-dialog-header .actions .action-btn[data-v-
|
|
506
|
+
.x-dialog-container .x-dialog-header .actions .action-btn[data-v-73306d13]:active {
|
|
507
507
|
transform: translateY(0);
|
|
508
508
|
}
|
|
509
|
-
.x-dialog-container .x-dialog-header .actions .action-btn svg[data-v-
|
|
509
|
+
.x-dialog-container .x-dialog-header .actions .action-btn svg[data-v-73306d13] {
|
|
510
510
|
transition: transform 0.2s ease;
|
|
511
511
|
}
|
|
512
|
-
.x-dialog-container .x-dialog-header .actions .action-btn.collapse-btn:hover svg[data-v-
|
|
512
|
+
.x-dialog-container .x-dialog-header .actions .action-btn.collapse-btn:hover svg[data-v-73306d13] {
|
|
513
513
|
transform: scale(1.1);
|
|
514
514
|
}
|
|
515
|
-
.x-dialog-container .voice-container[data-v-
|
|
515
|
+
.x-dialog-container .voice-container[data-v-73306d13] {
|
|
516
516
|
width: 100%;
|
|
517
517
|
opacity: 1;
|
|
518
518
|
pointer-events: auto;
|
|
519
519
|
}
|
|
520
|
-
.x-dialog-container .x-dialog-content[data-v-
|
|
520
|
+
.x-dialog-container .x-dialog-content[data-v-73306d13] {
|
|
521
521
|
flex: 1;
|
|
522
522
|
display: flex;
|
|
523
523
|
overflow: hidden;
|
|
@@ -525,13 +525,13 @@
|
|
|
525
525
|
opacity: 1;
|
|
526
526
|
pointer-events: auto;
|
|
527
527
|
}
|
|
528
|
-
.x-dialog-container .x-iframe[data-v-
|
|
528
|
+
.x-dialog-container .x-iframe[data-v-73306d13] {
|
|
529
529
|
flex: 1;
|
|
530
530
|
width: 100%;
|
|
531
531
|
height: 100%;
|
|
532
532
|
border: none;
|
|
533
533
|
}
|
|
534
|
-
.x-dialog-container .resize-handle[data-v-
|
|
534
|
+
.x-dialog-container .resize-handle[data-v-73306d13] {
|
|
535
535
|
position: absolute;
|
|
536
536
|
bottom: 0;
|
|
537
537
|
right: 0;
|
|
@@ -547,38 +547,38 @@
|
|
|
547
547
|
border-bottom-right-radius: 16px;
|
|
548
548
|
z-index: 10;
|
|
549
549
|
}
|
|
550
|
-
.x-dialog-container .resize-handle[data-v-
|
|
550
|
+
.x-dialog-container .resize-handle[data-v-73306d13]:hover {
|
|
551
551
|
color: var(--accent-color);
|
|
552
552
|
background: linear-gradient(135deg, transparent 50%, var(--hover-bg) 50%);
|
|
553
553
|
}
|
|
554
|
-
.x-dialog-container .resize-handle svg[data-v-
|
|
554
|
+
.x-dialog-container .resize-handle svg[data-v-73306d13] {
|
|
555
555
|
width: 16px;
|
|
556
556
|
height: 16px;
|
|
557
557
|
transform: rotate(0deg);
|
|
558
558
|
transition: transform 0.2s ease;
|
|
559
559
|
}
|
|
560
|
-
.x-dialog-container .resize-handle:hover svg[data-v-
|
|
560
|
+
.x-dialog-container .resize-handle:hover svg[data-v-73306d13] {
|
|
561
561
|
transform: scale(1.2);
|
|
562
562
|
}
|
|
563
563
|
|
|
564
564
|
/* 语音按钮状态样式 */
|
|
565
|
-
.action-btn.theme-btn[data-v-
|
|
565
|
+
.action-btn.theme-btn[data-v-73306d13] {
|
|
566
566
|
position: relative;
|
|
567
567
|
transition: all 0.3s ease;
|
|
568
568
|
}
|
|
569
|
-
.action-btn.theme-btn.active[data-v-
|
|
569
|
+
.action-btn.theme-btn.active[data-v-73306d13] {
|
|
570
570
|
background: rgba(59, 130, 246, 0.1);
|
|
571
571
|
color: #3b82f6;
|
|
572
572
|
}
|
|
573
|
-
.action-btn.theme-btn.listening[data-v-
|
|
574
|
-
animation: pulse-listening-
|
|
573
|
+
.action-btn.theme-btn.listening[data-v-73306d13] {
|
|
574
|
+
animation: pulse-listening-73306d13 2s ease-in-out infinite;
|
|
575
575
|
}
|
|
576
|
-
.action-btn.theme-btn.woke[data-v-
|
|
576
|
+
.action-btn.theme-btn.woke[data-v-73306d13] {
|
|
577
577
|
background: rgba(34, 197, 94, 0.2);
|
|
578
578
|
color: #22c55e;
|
|
579
|
-
animation: pulse-wake-
|
|
579
|
+
animation: pulse-wake-73306d13 0.6s ease-in-out;
|
|
580
580
|
}
|
|
581
|
-
@keyframes pulse-listening-
|
|
581
|
+
@keyframes pulse-listening-73306d13 {
|
|
582
582
|
0%, 100% {
|
|
583
583
|
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
|
|
584
584
|
}
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
@keyframes pulse-wake-
|
|
589
|
+
@keyframes pulse-wake-73306d13 {
|
|
590
590
|
0%, 100% {
|
|
591
591
|
transform: scale(1);
|
|
592
592
|
}
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
/* 语音指示器 */
|
|
598
|
-
.voice-indicator[data-v-
|
|
598
|
+
.voice-indicator[data-v-73306d13] {
|
|
599
599
|
position: absolute;
|
|
600
600
|
top: 4px;
|
|
601
601
|
right: 4px;
|
|
@@ -604,14 +604,14 @@
|
|
|
604
604
|
border-radius: 50%;
|
|
605
605
|
background: #3b82f6;
|
|
606
606
|
}
|
|
607
|
-
.action-btn.theme-btn.listening .voice-indicator[data-v-
|
|
608
|
-
animation: blink-
|
|
607
|
+
.action-btn.theme-btn.listening .voice-indicator[data-v-73306d13] {
|
|
608
|
+
animation: blink-73306d13 1.5s ease-in-out infinite;
|
|
609
609
|
}
|
|
610
|
-
.action-btn.theme-btn.woke .voice-indicator[data-v-
|
|
610
|
+
.action-btn.theme-btn.woke .voice-indicator[data-v-73306d13] {
|
|
611
611
|
background: #22c55e;
|
|
612
612
|
animation: none;
|
|
613
613
|
}
|
|
614
|
-
@keyframes blink-
|
|
614
|
+
@keyframes blink-73306d13 {
|
|
615
615
|
0%, 100% {
|
|
616
616
|
opacity: 1;
|
|
617
617
|
}
|
|
@@ -619,8 +619,60 @@
|
|
|
619
619
|
opacity: 0.3;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
+
/* 麦克风唤醒动画 */
|
|
623
|
+
.listening-badge.wake-active[data-v-73306d13] {
|
|
624
|
+
background-color: rgba(34, 197, 94, 0.85);
|
|
625
|
+
animation: wake-badge-pop-73306d13 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
626
|
+
}
|
|
627
|
+
.listening-badge.wake-active .listening-icon[data-v-73306d13] {
|
|
628
|
+
animation: wake-icon-flash-73306d13 1.5s ease-in-out;
|
|
629
|
+
}
|
|
630
|
+
.listening-badge.wake-active[data-v-73306d13]::after {
|
|
631
|
+
content: "";
|
|
632
|
+
position: absolute;
|
|
633
|
+
inset: -3px;
|
|
634
|
+
border-radius: 50%;
|
|
635
|
+
border: 2px solid #22c55e;
|
|
636
|
+
animation: wake-mic-ring-73306d13 1.2s ease-out forwards;
|
|
637
|
+
pointer-events: none;
|
|
638
|
+
}
|
|
639
|
+
@keyframes wake-badge-pop-73306d13 {
|
|
640
|
+
0% {
|
|
641
|
+
transform: scale(1);
|
|
642
|
+
}
|
|
643
|
+
50% {
|
|
644
|
+
transform: scale(1.4);
|
|
645
|
+
}
|
|
646
|
+
100% {
|
|
647
|
+
transform: scale(1);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
@keyframes wake-icon-flash-73306d13 {
|
|
651
|
+
0%, 100% {
|
|
652
|
+
color: #ffffff;
|
|
653
|
+
}
|
|
654
|
+
25% {
|
|
655
|
+
color: #bbf7d0;
|
|
656
|
+
}
|
|
657
|
+
50% {
|
|
658
|
+
color: #ffffff;
|
|
659
|
+
}
|
|
660
|
+
75% {
|
|
661
|
+
color: #bbf7d0;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
@keyframes wake-mic-ring-73306d13 {
|
|
665
|
+
0% {
|
|
666
|
+
transform: scale(1);
|
|
667
|
+
opacity: 0.8;
|
|
668
|
+
}
|
|
669
|
+
100% {
|
|
670
|
+
transform: scale(2.2);
|
|
671
|
+
opacity: 0;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
622
674
|
/* FAB 头像容器 */
|
|
623
|
-
.fab-avatar-wrapper[data-v-
|
|
675
|
+
.fab-avatar-wrapper[data-v-73306d13] {
|
|
624
676
|
position: relative;
|
|
625
677
|
display: flex; /* 改用 flex 可以消除图片底部的行高间隙 */
|
|
626
678
|
align-items: center;
|
|
@@ -630,7 +682,7 @@
|
|
|
630
682
|
}
|
|
631
683
|
|
|
632
684
|
/* 2. 修正图片样式 */
|
|
633
|
-
.fab-avatar-wrapper img[data-v-
|
|
685
|
+
.fab-avatar-wrapper img[data-v-73306d13] {
|
|
634
686
|
display: block;
|
|
635
687
|
max-width: 100%;
|
|
636
688
|
height: auto;
|
|
@@ -638,7 +690,7 @@
|
|
|
638
690
|
}
|
|
639
691
|
|
|
640
692
|
/* 3. 优化徽章定位 */
|
|
641
|
-
.listening-badge[data-v-
|
|
693
|
+
.listening-badge[data-v-73306d13] {
|
|
642
694
|
position: absolute;
|
|
643
695
|
/* 强制定位到容器边缘 */
|
|
644
696
|
top: 0;
|
|
@@ -655,22 +707,22 @@
|
|
|
655
707
|
z-index: 10;
|
|
656
708
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
657
709
|
/* 继承你原有的动画 */
|
|
658
|
-
animation: badge-float-
|
|
710
|
+
animation: badge-float-73306d13 5s ease-in-out infinite;
|
|
659
711
|
pointer-events: none; /* 防止遮挡头像点击 */
|
|
660
712
|
}
|
|
661
713
|
|
|
662
714
|
/* 4. 调整声波扩散的基准 */
|
|
663
|
-
.wave[data-v-
|
|
715
|
+
.wave[data-v-73306d13] {
|
|
664
716
|
position: absolute;
|
|
665
717
|
/* 确保声波从徽章中心扩散,而不是从容器左上角 */
|
|
666
718
|
inset: -2px;
|
|
667
719
|
border-radius: 50%;
|
|
668
720
|
border: 2px solid rgba(59, 130, 246, 0.6); /* 声波颜色建议跟主题色一致 */
|
|
669
|
-
animation: wave-expand-
|
|
721
|
+
animation: wave-expand-73306d13 3s ease-out infinite;
|
|
670
722
|
}
|
|
671
723
|
|
|
672
724
|
/* 优化后的监听状态徽章 */
|
|
673
|
-
.listening-badge[data-v-
|
|
725
|
+
.listening-badge[data-v-73306d13] {
|
|
674
726
|
position: absolute;
|
|
675
727
|
top: -8px;
|
|
676
728
|
right: -8px;
|
|
@@ -682,11 +734,11 @@
|
|
|
682
734
|
align-items: center;
|
|
683
735
|
justify-content: center;
|
|
684
736
|
z-index: 10;
|
|
685
|
-
animation: badge-float-
|
|
737
|
+
animation: badge-float-73306d13 5s ease-in-out infinite;
|
|
686
738
|
}
|
|
687
739
|
|
|
688
740
|
/* 徽章浮动动画 */
|
|
689
|
-
@keyframes badge-float-
|
|
741
|
+
@keyframes badge-float-73306d13 {
|
|
690
742
|
0%, 100% {
|
|
691
743
|
transform: translateY(0) scale(1);
|
|
692
744
|
}
|
|
@@ -695,7 +747,7 @@
|
|
|
695
747
|
}
|
|
696
748
|
}
|
|
697
749
|
/* 声波容器 */
|
|
698
|
-
.listening-waves[data-v-
|
|
750
|
+
.listening-waves[data-v-73306d13] {
|
|
699
751
|
position: absolute;
|
|
700
752
|
inset: 0;
|
|
701
753
|
display: flex;
|
|
@@ -704,35 +756,35 @@
|
|
|
704
756
|
}
|
|
705
757
|
|
|
706
758
|
/* 声波动画 */
|
|
707
|
-
.wave[data-v-
|
|
759
|
+
.wave[data-v-73306d13] {
|
|
708
760
|
position: absolute;
|
|
709
761
|
width: 100%;
|
|
710
762
|
height: 100%;
|
|
711
763
|
border-radius: 50%;
|
|
712
764
|
border: 2px solid rgba(255, 255, 255, 0.6);
|
|
713
|
-
animation: wave-expand-
|
|
765
|
+
animation: wave-expand-73306d13 3s ease-out infinite;
|
|
714
766
|
}
|
|
715
|
-
.wave-1[data-v-
|
|
767
|
+
.wave-1[data-v-73306d13] {
|
|
716
768
|
animation-delay: 0s;
|
|
717
769
|
}
|
|
718
|
-
.wave-2[data-v-
|
|
770
|
+
.wave-2[data-v-73306d13] {
|
|
719
771
|
animation-delay: 0.6s;
|
|
720
772
|
}
|
|
721
|
-
.wave-3[data-v-
|
|
773
|
+
.wave-3[data-v-73306d13] {
|
|
722
774
|
animation-delay: 1.2s;
|
|
723
775
|
}
|
|
724
|
-
@keyframes wave-expand-
|
|
776
|
+
@keyframes wave-expand-73306d13 {
|
|
725
777
|
0% {
|
|
726
778
|
transform: scale(0.8);
|
|
727
779
|
opacity: 0.8;
|
|
728
780
|
}
|
|
729
781
|
100% {
|
|
730
|
-
transform: scale(
|
|
782
|
+
transform: scale(1.2);
|
|
731
783
|
opacity: 0;
|
|
732
784
|
}
|
|
733
785
|
}
|
|
734
786
|
/* 麦克风图标 */
|
|
735
|
-
.listening-icon[data-v-
|
|
787
|
+
.listening-icon[data-v-73306d13] {
|
|
736
788
|
position: relative;
|
|
737
789
|
width: 24px;
|
|
738
790
|
height: 24px;
|
|
@@ -741,9 +793,9 @@
|
|
|
741
793
|
justify-content: center;
|
|
742
794
|
color: #ffffff;
|
|
743
795
|
z-index: 1;
|
|
744
|
-
animation: icon-pulse-
|
|
796
|
+
animation: icon-pulse-73306d13 2.5s ease-in-out infinite;
|
|
745
797
|
}
|
|
746
|
-
@keyframes icon-pulse-
|
|
798
|
+
@keyframes icon-pulse-73306d13 {
|
|
747
799
|
0%, 100% {
|
|
748
800
|
transform: scale(1);
|
|
749
801
|
}
|
|
@@ -752,23 +804,23 @@
|
|
|
752
804
|
}
|
|
753
805
|
}
|
|
754
806
|
/* 徽章淡入淡出动画 */
|
|
755
|
-
.indicator-fade-enter-active[data-v-
|
|
807
|
+
.indicator-fade-enter-active[data-v-73306d13] {
|
|
756
808
|
transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
757
809
|
}
|
|
758
|
-
.indicator-fade-leave-active[data-v-
|
|
810
|
+
.indicator-fade-leave-active[data-v-73306d13] {
|
|
759
811
|
transition: all 1s ease;
|
|
760
812
|
}
|
|
761
|
-
.indicator-fade-enter-from[data-v-
|
|
813
|
+
.indicator-fade-enter-from[data-v-73306d13] {
|
|
762
814
|
opacity: 0;
|
|
763
815
|
transform: scale(0.3) rotate(-180deg);
|
|
764
816
|
}
|
|
765
|
-
.indicator-fade-leave-to[data-v-
|
|
817
|
+
.indicator-fade-leave-to[data-v-73306d13] {
|
|
766
818
|
opacity: 0;
|
|
767
819
|
transform: scale(0.5) rotate(180deg);
|
|
768
820
|
}
|
|
769
821
|
|
|
770
822
|
/* FAB 脉冲效果 */
|
|
771
|
-
.fab-pulse[data-v-
|
|
823
|
+
.fab-pulse[data-v-73306d13] {
|
|
772
824
|
position: absolute;
|
|
773
825
|
top: 0;
|
|
774
826
|
left: 0;
|
|
@@ -777,10 +829,10 @@
|
|
|
777
829
|
border-radius: 50%;
|
|
778
830
|
pointer-events: none;
|
|
779
831
|
}
|
|
780
|
-
.fab-pulse.active[data-v-
|
|
781
|
-
animation: fab-pulse-
|
|
832
|
+
.fab-pulse.active[data-v-73306d13] {
|
|
833
|
+
animation: fab-pulse-73306d13 2s ease-in-out infinite;
|
|
782
834
|
}
|
|
783
|
-
@keyframes fab-pulse-
|
|
835
|
+
@keyframes fab-pulse-73306d13 {
|
|
784
836
|
0%, 100% {
|
|
785
837
|
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
|
|
786
838
|
}
|
|
@@ -789,9 +841,9 @@
|
|
|
789
841
|
}
|
|
790
842
|
}
|
|
791
843
|
/* 深色模式适配 */
|
|
792
|
-
[data-theme=dark] .action-btn.theme-btn.active[data-v-
|
|
844
|
+
[data-theme=dark] .action-btn.theme-btn.active[data-v-73306d13] {
|
|
793
845
|
background: rgba(59, 130, 246, 0.2);
|
|
794
846
|
}
|
|
795
|
-
[data-theme=dark] .action-btn.theme-btn.woke[data-v-
|
|
847
|
+
[data-theme=dark] .action-btn.theme-btn.woke[data-v-73306d13] {
|
|
796
848
|
background: rgba(34, 197, 94, 0.3);
|
|
797
849
|
}
|
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
17
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
"start-transcribing": () => void;
|
|
19
19
|
"stop-transcribing": () => void;
|
|
20
|
+
wakeUp: (isWake: boolean) => void;
|
|
20
21
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
21
22
|
xLogo?: string | undefined;
|
|
22
23
|
xSize?: XSize | undefined;
|
|
@@ -28,6 +29,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
28
29
|
}>>> & Readonly<{
|
|
29
30
|
"onStart-transcribing"?: (() => any) | undefined;
|
|
30
31
|
"onStop-transcribing"?: (() => any) | undefined;
|
|
32
|
+
onWakeUp?: ((isWake: boolean) => any) | undefined;
|
|
31
33
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
34
|
export default _default;
|
|
33
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|