Skip to content

Commit 3601b7e

Browse files
feat: video
1 parent ad58a86 commit 3601b7e

File tree

2 files changed

+30
-9
lines changed

2 files changed

+30
-9
lines changed

ui/src/components/ai-chat/component/chat-input-operate/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
<div>
190190
<slot name="userInput" />
191191
</div>
192-
<div>
192+
<div class="flex align-center">
193193
<template v-if="props.applicationDetails.stt_model_enable">
194194
<span v-if="mode === 'mobile'">
195195
<el-button text @click="switchMicrophone(!isMicrophone)">

ui/src/components/app-icon/icons/application.ts

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,27 @@ export default {
550550
])
551551
},
552552
},
553+
'app-video-stop': {
554+
iconReader: () => {
555+
return h('i', [
556+
h(
557+
'svg',
558+
{
559+
style: { height: '100%', width: '100%' },
560+
viewBox: '0 0 1024 1024',
561+
version: '1.1',
562+
xmlns: 'http://www.w3.org/2000/svg',
563+
},
564+
[
565+
h('path', {
566+
d: 'M981.333333 512c0 259.2-210.133333 469.333333-469.333333 469.333333S42.666667 771.2 42.666667 512 252.8 42.666667 512 42.666667s469.333333 210.133333 469.333333 469.333333z m-85.333333 0a384 384 0 1 0-768 0 384 384 0 0 0 768 0zM384 341.333333h256c23.466667 0 42.666667 19.072 42.666667 42.666667v256c0 23.552-19.2 42.666667-42.666667 42.666667H384c-23.466667 0-42.666667-19.114667-42.666667-42.666667V384c0-23.594667 19.2-42.666667 42.666667-42.666667z',
567+
fill: 'currentColor',
568+
}),
569+
],
570+
),
571+
])
572+
},
573+
},
553574
'app-chat': {
554575
iconReader: () => {
555576
return h('i', [
@@ -571,7 +592,7 @@ export default {
571592
])
572593
},
573594
},
574-
'app-reference-outlined': {
595+
'app-reference-outlined': {
575596
iconReader: () => {
576597
return h('i', [
577598
h(
@@ -592,7 +613,7 @@ export default {
592613
])
593614
},
594615
},
595-
'app-quote': {
616+
'app-quote': {
596617
iconReader: () => {
597618
return h('i', [
598619
h(
@@ -601,16 +622,16 @@ export default {
601622
style: { height: '100%', width: '100%' },
602623
viewBox: '0 0 1024 1024',
603624
version: '1.1',
604-
xmlns: 'http://www.w3.org/2000/svg'
625+
xmlns: 'http://www.w3.org/2000/svg',
605626
},
606627
[
607628
h('path', {
608629
d: 'M800.768 477.184c-14.336 0-30.72 2.048-45.056 4.096 18.432-51.2 77.824-188.416 237.568-315.392 36.864-28.672-20.48-86.016-59.392-57.344-155.648 116.736-356.352 317.44-356.352 573.44v20.48c0 122.88 100.352 223.232 223.232 223.232S1024 825.344 1024 702.464c0-124.928-100.352-225.28-223.232-225.28zM223.232 477.184c-14.336 0-30.72 2.048-45.056 4.096 18.432-51.2 77.824-188.416 237.568-315.392 36.864-28.672-20.48-86.016-59.392-57.344C200.704 225.28 0 425.984 0 681.984v20.48c0 122.88 100.352 223.232 223.232 223.232s223.232-100.352 223.232-223.232c0-124.928-100.352-225.28-223.232-225.28z',
609-
fill: 'currentColor'
610-
})
611-
]
612-
)
630+
fill: 'currentColor',
631+
}),
632+
],
633+
),
613634
])
614-
}
635+
},
615636
},
616637
}

0 commit comments

Comments
 (0)