st-comp 0.0.269 → 0.0.270
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/es/VarietyAiHelper.cjs +4 -4
- package/es/VarietyAiHelper.js +221 -221
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +46 -46
- package/lib/{index-8ba1607b.js → index-2dd72fda.js} +421 -421
- package/lib/{python-16c6e601.js → python-126b61c5.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietyAiHelper/index.vue +7 -50
package/package.json
CHANGED
|
@@ -404,12 +404,14 @@ defineExpose({
|
|
|
404
404
|
<div
|
|
405
405
|
v-if="isJSONSerializable(message.content)"
|
|
406
406
|
class="message-json"
|
|
407
|
+
:class="{ 'result-animation': index === messageList.length - 1 && showFinalResult }"
|
|
407
408
|
v-html="renderJSONContent(formatJSONContent(message.content))"
|
|
408
409
|
></div>
|
|
409
410
|
|
|
410
411
|
<div
|
|
411
412
|
v-else-if="message.content"
|
|
412
413
|
class="message-text"
|
|
414
|
+
:class="{ 'result-animation': index === messageList.length - 1 && showFinalResult }"
|
|
413
415
|
>
|
|
414
416
|
{{ message.content }}
|
|
415
417
|
</div>
|
|
@@ -539,22 +541,8 @@ defineExpose({
|
|
|
539
541
|
|
|
540
542
|
.message-item {
|
|
541
543
|
display: flex;
|
|
542
|
-
animation: fadeInUp 0.3s ease-out;
|
|
543
544
|
margin-bottom: 20px;
|
|
544
545
|
|
|
545
|
-
&:nth-child(1) {
|
|
546
|
-
animation-delay: 0.05s;
|
|
547
|
-
}
|
|
548
|
-
&:nth-child(2) {
|
|
549
|
-
animation-delay: 0.1s;
|
|
550
|
-
}
|
|
551
|
-
&:nth-child(3) {
|
|
552
|
-
animation-delay: 0.15s;
|
|
553
|
-
}
|
|
554
|
-
&:nth-child(4) {
|
|
555
|
-
animation-delay: 0.2s;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
546
|
.avatar {
|
|
559
547
|
flex-shrink: 0;
|
|
560
548
|
:deep(.el-avatar) {
|
|
@@ -633,7 +621,6 @@ defineExpose({
|
|
|
633
621
|
.node-status-icon {
|
|
634
622
|
position: relative;
|
|
635
623
|
z-index: 1;
|
|
636
|
-
background: white;
|
|
637
624
|
border-radius: 50%;
|
|
638
625
|
width: 20px;
|
|
639
626
|
height: 20px;
|
|
@@ -720,18 +707,12 @@ defineExpose({
|
|
|
720
707
|
border-radius: 18px 18px 18px 4px;
|
|
721
708
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
722
709
|
border: 1px solid rgba(102, 126, 234, 0.2);
|
|
723
|
-
background: white;
|
|
724
710
|
transition: all 0.3s ease;
|
|
725
711
|
}
|
|
726
712
|
|
|
727
|
-
.message-text {
|
|
728
|
-
animation: messageAppear 0.3s ease-out;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
713
|
.message-json {
|
|
732
714
|
width: 100%;
|
|
733
715
|
overflow: hidden;
|
|
734
|
-
animation: resultAppear 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
|
|
735
716
|
|
|
736
717
|
:deep(.parsed-conditions) {
|
|
737
718
|
margin: 0;
|
|
@@ -742,16 +723,10 @@ defineExpose({
|
|
|
742
723
|
color: #f56c6c;
|
|
743
724
|
margin-bottom: 8px;
|
|
744
725
|
padding: 8px 12px;
|
|
745
|
-
background: linear-gradient(135deg, #
|
|
726
|
+
background: linear-gradient(135deg, #ffebeb 0%, #ffe0e0 100%);
|
|
746
727
|
border-radius: 12px;
|
|
747
728
|
font-weight: 500;
|
|
748
729
|
transition: all 0.2s ease;
|
|
749
|
-
|
|
750
|
-
&:hover {
|
|
751
|
-
transform: translateX(4px);
|
|
752
|
-
background: linear-gradient(135deg, #ffebeb 0%, #ffe0e0 100%);
|
|
753
|
-
}
|
|
754
|
-
|
|
755
730
|
&:last-child {
|
|
756
731
|
margin-bottom: 0;
|
|
757
732
|
}
|
|
@@ -759,6 +734,10 @@ defineExpose({
|
|
|
759
734
|
}
|
|
760
735
|
}
|
|
761
736
|
|
|
737
|
+
.result-animation {
|
|
738
|
+
animation: resultAppear 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
|
|
739
|
+
}
|
|
740
|
+
|
|
762
741
|
.message-createTime {
|
|
763
742
|
font-size: 11px;
|
|
764
743
|
color: #9ca3af;
|
|
@@ -875,17 +854,6 @@ defineExpose({
|
|
|
875
854
|
}
|
|
876
855
|
}
|
|
877
856
|
|
|
878
|
-
@keyframes fadeInUp {
|
|
879
|
-
from {
|
|
880
|
-
opacity: 0;
|
|
881
|
-
transform: translateY(10px);
|
|
882
|
-
}
|
|
883
|
-
to {
|
|
884
|
-
opacity: 1;
|
|
885
|
-
transform: translateY(0);
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
|
|
889
857
|
@keyframes slideIn {
|
|
890
858
|
from {
|
|
891
859
|
opacity: 0;
|
|
@@ -915,17 +883,6 @@ defineExpose({
|
|
|
915
883
|
}
|
|
916
884
|
}
|
|
917
885
|
|
|
918
|
-
@keyframes messageAppear {
|
|
919
|
-
from {
|
|
920
|
-
opacity: 0;
|
|
921
|
-
transform: translateY(8px);
|
|
922
|
-
}
|
|
923
|
-
to {
|
|
924
|
-
opacity: 1;
|
|
925
|
-
transform: translateY(0);
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
|
|
929
886
|
@keyframes resultAppear {
|
|
930
887
|
0% {
|
|
931
888
|
opacity: 0;
|