Adapt to mobile style (#259)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2025-08-17 01:15:42 +08:00
1 parent 88c34c9c9d
commit e5c177efcb
24 files changed
+208 -431

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ module.exports = {
}, },
plugins: ['vue', 'html', 'prettier'], plugins: ['vue', 'html', 'prettier'],
rules: { rules: {
'vue/valid-define-props': 'off',
'prettier/prettier': 'error', 'prettier/prettier': 'error',
'vue/multi-word-component-names': 'off' 'vue/multi-word-component-names': 'off'
} }
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "add adapt to mobile",
"packageName": "@acedatacloud/nexior",
"email": "office@acedata.cloud",
"dependentChangeType": "patch"
}
+2 -2
View File
@@ -85,8 +85,8 @@
"@types/psl": "^1.1.3", "@types/psl": "^1.1.3",
"@types/qs": "^6.9.9", "@types/qs": "^6.9.9",
"@types/uuid": "^8.3.4", "@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.17.0", "@typescript-eslint/eslint-plugin": "^8.39.1",
"@typescript-eslint/parser": "^5.17.0", "@typescript-eslint/parser": "^8.39.1",
"@vitejs/plugin-vue": "^6.0.0", "@vitejs/plugin-vue": "^6.0.0",
"@vue/tsconfig": "^0.7.0", "@vue/tsconfig": "^0.7.0",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
+4 -17
View File
@@ -2,7 +2,6 @@
ul { ul {
list-style: initial; list-style: initial;
} }
ol { ol {
list-style: decimal; list-style: decimal;
} }
@@ -44,24 +43,12 @@
background-color: var(--el-color-info-light-2) !important; background-color: var(--el-color-info-light-2) !important;
} }
pre { .markdown-body pre {
position: relative; color: var(--el-text-color-regular) !important;
} }
pre button { pre {
color: #adb5bd; position: relative;
box-sizing: border-box;
transition: 0.2s ease-out;
cursor: pointer;
user-select: none;
background: rgba(0, 0, 0, 0.15);
border: 1px solid rgba(0, 0, 0, 0);
padding: 5px 10px;
font-size: 0.8em;
position: absolute;
top: 0;
right: 0;
border-radius: 0 0.15rem;
} }
.markdown-body hr { .markdown-body hr {
+1 -1
View File
@@ -166,7 +166,7 @@ export default defineComponent({
} }
}, },
questionValue(val: string) { questionValue(val: string) {
this.$emit('update:question', val); this.$emit('update:question', val.trim());
}, },
question(val: string) { question(val: string) {
if (val !== this.questionValue) { if (val !== this.questionValue) {
+10 -5
View File
@@ -24,7 +24,10 @@
class="content" class="content"
> >
<div v-if="!isEditing" class="message-content"> <div v-if="!isEditing" class="message-content">
<markdown-renderer v-if="!Array.isArray(message.content)" :content="message?.content" /> <div v-if="!Array.isArray(message.content)">
<markdown-renderer v-if="message.role === 'assistant'" :content="message?.content" />
<pre v-else class="whitespace-pre-wrap break-words w-fit max-w-full py-1">{{ message.content }}</pre>
</div>
<div v-else> <div v-else>
<div v-for="(item, index) in message.content" :key="index"> <div v-for="(item, index) in message.content" :key="index">
<img <img
@@ -40,7 +43,10 @@
:closable="false" :closable="false"
class="mt-2" class="mt-2"
/> />
<markdown-renderer v-if="item.type === 'text'" :key="index" :content="item.text" /> <div v-if="item.type === 'text'">
<markdown-renderer v-if="message.role === 'assistant'" :content="item.text" />
<pre v-else class="whitespace-pre-wrap break-words w-fit max-w-full py-1">{{ item.text?.trim() }}</pre>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -318,10 +324,9 @@ export default defineComponent({
.content { .content {
background-color: var(--el-bg-color-page); background-color: var(--el-bg-color-page);
color: var(--el-text-color-primary); color: var(--el-text-color-primary);
width: fit-content;
text-align: left;
max-width: 100%;
position: relative; position: relative;
width: fit-content;
max-width: 90%;
.edits { .edits {
background-color: var(--el-bg-color-page); background-color: var(--el-bg-color-page);
padding: 0; padding: 0;
+1 -1
View File
@@ -13,7 +13,7 @@
<script setup lang="ts"> <script setup lang="ts">
import type { Icon } from '@icon-park/vue-next/lib/runtime'; import type { Icon } from '@icon-park/vue-next/lib/runtime';
// @ts-ignore
defineProps<{ defineProps<{
icon: Icon; icon: Icon;
theme?: 'outline' | 'filled' | 'two-tone' | 'multi-color'; theme?: 'outline' | 'filled' | 'two-tone' | 'multi-color';
+7 -2
View File
@@ -277,15 +277,17 @@ export default defineComponent({
&[direction='row'] { &[direction='row'] {
flex-direction: row; flex-direction: row;
border-top: 1px solid var(--el-border-color); border-top: 1px solid var(--el-border-color);
overflow-x: scroll;
.brand { .brand {
display: none; display: none;
} }
.top { .top {
padding-left: 10px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
gap: 10px;
justify-content: space-evenly; justify-content: space-evenly;
width: 100%;
.link { .link {
text-align: center; text-align: center;
.description { .description {
@@ -298,7 +300,10 @@ export default defineComponent({
} }
} }
.bottom { .bottom {
display: none; padding: 0 10px;
display: flex;
flex: 1;
justify-content: flex-end;
} }
} }
&[direction='column'] { &[direction='column'] {
+1 -1
View File
@@ -3,7 +3,7 @@
<bot-placeholder /> <bot-placeholder />
</div> </div>
<div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="tasks h-full w-full overflow-y-auto"> <div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="tasks h-full w-full overflow-y-auto">
<task-preview v-for="(task, taskIndex) in tasks?.items" :key="taskIndex" :model-value="task" /> <task-preview v-for="task in tasks?.items" :key="task.id" :model-value="task" />
</div> </div>
<div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center"> <div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center">
<no-tasks /> <no-tasks />
+1 -1
View File
@@ -3,7 +3,7 @@
<bot-placeholder /> <bot-placeholder />
</div> </div>
<div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="tasks w-full h-full overflow-y-auto"> <div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="tasks w-full h-full overflow-y-auto">
<task-preview v-for="(task, taskIndex) in tasks?.items" :key="taskIndex" :model-value="task" /> <task-preview v-for="task in tasks?.items" :key="task.id" :model-value="task" />
</div> </div>
<div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center"> <div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center">
<no-tasks /> <no-tasks />
+1 -1
View File
@@ -3,7 +3,7 @@
<bot-placeholder /> <bot-placeholder />
</div> </div>
<div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="h-full w-full overflow-y-auto tasks"> <div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="h-full w-full overflow-y-auto tasks">
<task-preview v-for="(task, taskIndex) in tasks?.items" :key="taskIndex" :model-value="task" /> <task-preview v-for="task in tasks?.items" :key="task.id" :model-value="task" />
</div> </div>
<div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center"> <div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center">
<no-tasks /> <no-tasks />
+1 -6
View File
@@ -3,12 +3,7 @@
<bot-placeholder /> <bot-placeholder />
</div> </div>
<div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="tasks w-full h-full overflow-y-auto"> <div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="tasks w-full h-full overflow-y-auto">
<task-preview <task-preview v-for="task in tasks?.items" :key="task.id" :model-value="task" @extend="$emit('extend')" />
v-for="(task, taskIndex) in tasks?.items"
:key="taskIndex"
:model-value="task"
@extend="$emit('extend')"
/>
</div> </div>
<div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center"> <div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center">
<no-tasks /> <no-tasks />
+2 -2
View File
@@ -12,8 +12,8 @@
@scroll="onHandleScroll" @scroll="onHandleScroll"
> >
<task-item <task-item
v-for="(task, taskKey) in tasks" v-for="task in tasks"
:key="taskKey" :key="task.id"
:model-value="task" :model-value="task"
@extend="$emit('extend', $event)" @extend="$emit('extend', $event)"
@custom="$emit('custom', $event)" @custom="$emit('custom', $event)"
+25 -130
View File
@@ -1,30 +1,32 @@
<template> <template>
<el-scrollbar class="right-panel"> <div v-if="audio?.object" class="size-full overflow-hidden">
<div v-if="audio?.object" class="card"> <div class="relative h-[300px]">
<div class="image-container"> <el-image :src="audio.image_url" fit="cover" class="size-full">
<el-image :src="audio.image_url" fit="cover"> <template #error>
<template #error> <div class="flex items-center justify-center size-full bg-[var(--el-bg-color)]">
<div class="image-slot"> <el-icon class="text-3xl"><icon-picture /></el-icon>
<el-icon><icon-picture /></el-icon> </div>
</div> </template>
</template> </el-image>
</el-image> <h2
<h2 class="title">{{ audio?.title }}</h2> class="absolute bottom-0 left-0 right-0 m-0 p-4 text-white z-10 bg-gradient-to-t from-black/70 to-transparent"
>
{{ audio?.title }}
</h2>
</div>
<div class="p-4">
<div class="flex items-center font-bold mb-2">
<el-avatar :size="30" :src="audio?.image_url" class="mr-2"></el-avatar>
<span>{{ audio?.title }}</span>
</div> </div>
<div class="content"> <p class="text-[var(--el-text-color-regular)] mb-2">{{ audio?.style }}</p>
<div class="artist"> <p class="text-xs text-[var(--el-text-color-regular)]">{{ $dayjs.format(audio?.created_at) }}</p>
<el-avatar :size="30" :src="audio?.image_url"></el-avatar> <div class="mt-4 text-sm leading-[25px] whitespace-pre-wrap">
<span>{{ audio?.title }}</span> <p>{{ audio?.lyric }}</p>
</div>
<p class="style">{{ audio?.style }}</p>
<p class="time">{{ $dayjs.format(audio?.created_at) }}</p>
<div class="lyrics">
<p>{{ audio?.lyric }}</p>
</div>
</div> </div>
</div> </div>
<div v-else class="gradient-background"></div> </div>
</el-scrollbar> <div v-else class="w-full h-full bg-gradient-to-b from-gray-200 to-gray-300"></div>
</template> </template>
<script lang="ts"> <script lang="ts">
@@ -35,122 +37,15 @@ import { Picture as IconPicture } from '@element-plus/icons-vue';
export default defineComponent({ export default defineComponent({
name: 'TaskPreview', name: 'TaskPreview',
components: { components: {
ElScrollbar,
IconPicture, IconPicture,
ElImage, ElImage,
ElAvatar, ElAvatar,
ElIcon ElIcon
}, },
data() {
return {
showCloseIcon: true
};
},
computed: { computed: {
audio() { audio() {
return this.$store.state.suno?.audio; return this.$store.state.suno?.audio;
} }
},
methods: {
closeCard() {
this.showCloseIcon = !this.showCloseIcon;
}
} }
}); });
</script> </script>
<style scoped>
.right-panel {
padding: 2px;
background-color: (--el-bg-color);
}
.cover-image {
width: 100%;
height: auto;
margin-bottom: 10px;
}
.card-scrollbar {
height: 600px;
width: 300px;
}
.card {
width: 100%;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.image-container {
position: relative;
height: 300px;
}
.image-container .el-image {
width: 100%;
height: 100%;
}
.close-icon {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
padding: 5px;
color: white;
z-index: 2;
}
.content {
padding: 15px;
}
.title {
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 0;
padding: 15px;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
color: white;
z-index: 1;
}
.artist {
display: flex;
align-items: center;
margin: 10px 0;
font-weight: bold;
}
.artist span {
margin-right: 10px;
}
.actions {
display: flex;
justify-content: space-around;
margin: 10px 0;
}
.action-icon {
font-size: 24px;
cursor: pointer;
}
.time {
font-size: 12px;
color: var(--el-text-color-secondary);
}
.lyrics {
margin: 15px 0;
font-size: 14px;
line-height: 25px;
white-space: pre-wrap;
}
</style>
+17 -105
View File
@@ -1,36 +1,19 @@
<template> <template>
<div ref="panel" class="panel recent" @scroll="onHandleScroll"> <div v-if="tasks?.items === undefined" class="tasks">
<div v-if="tasks?.items === undefined" class="tasks"> <bot-placeholder />
<div v-for="_ in 3" :key="_" class="task placeholder">
<div class="left">
<el-skeleton animated>
<template #template>
<el-skeleton-item variant="image" class="avatar" />
</template>
</el-skeleton>
</div>
<div class="main">
<el-skeleton animated>
<template #template>
<el-skeleton-item variant="p" class="title" />
<el-skeleton-item variant="text" style="margin-right: 16px" />
<el-skeleton-item variant="text" style="width: 80%" />
</template>
</el-skeleton>
</div>
</div>
</div>
<div v-else-if="tasks?.items?.length && tasks?.items?.length > 0" class="tasks">
<task-preview v-for="(task, taskId) in tasks?.items" :key="taskId" :model-value="task" class="preview" />
</div>
<div v-if="tasks?.items?.length === 0" class="w-full h-full flex items-center justify-center">
<no-tasks />
</div>
</div> </div>
<div v-show="!!$store?.state?.suno?.audio?.object" class="flex-1 flex flex-col"> <div
<div class="h-20"> v-else-if="tasks?.items?.length && tasks?.items?.length > 0"
<player /> class="flex-1 w-full overflow-y-auto tasks p-2"
</div> @scroll="onHandleScroll"
>
<task-preview v-for="(task, taskId) in tasks?.items" :key="taskId" :model-value="task" class="preview" />
</div>
<div v-if="tasks?.items?.length === 0" class="w-full flex-1 flex items-center justify-center">
<no-tasks />
</div>
<div v-show="!!$store?.state?.suno?.audio?.object" class="h-20">
<player />
</div> </div>
</template> </template>
@@ -38,15 +21,14 @@
import { defineComponent } from 'vue'; import { defineComponent } from 'vue';
import TaskPreview from './task/Preview.vue'; import TaskPreview from './task/Preview.vue';
import Player from '@/components/suno/player/Player.vue'; import Player from '@/components/suno/player/Player.vue';
import { ElSkeleton, ElSkeletonItem } from 'element-plus';
import NoTasks from '@/components/common/NoTasks.vue'; import NoTasks from '@/components/common/NoTasks.vue';
import BotPlaceholder from '@/components/common/BotPlaceholder.vue';
export default defineComponent({ export default defineComponent({
name: 'RecentPanel', name: 'RecentPanel',
components: { components: {
BotPlaceholder,
TaskPreview, TaskPreview,
ElSkeleton,
ElSkeletonItem,
Player, Player,
NoTasks NoTasks
}, },
@@ -68,7 +50,7 @@ export default defineComponent({
methods: { methods: {
onHandleScroll() { onHandleScroll() {
const el = this.$refs.panel as HTMLElement; const el = this.$refs.panel as HTMLElement;
console.log('reach-top reach-top reach-top'); console.log('reach-top');
if (el.scrollTop === 0) { if (el.scrollTop === 0) {
this.$emit('reach-top'); this.$emit('reach-top');
} }
@@ -76,73 +58,3 @@ export default defineComponent({
} }
}); });
</script> </script>
<style lang="scss" scoped>
.panel {
display: flex;
flex-direction: column;
align-items: center;
&.recent {
width: 100%;
height: 100%;
display: flex;
overflow-y: auto;
flex-direction: column;
.preview {
margin-right: 15px;
}
.description {
text-align: left;
font-size: 14px;
color: var(--el-text-color-secondary);
}
.tasks {
width: 100%;
.task {
width: 100%;
height: fit-content;
text-align: left;
&.placeholder {
display: flex;
flex-direction: row;
.left {
width: 70px;
padding: 10px;
.avatar {
width: 50px;
height: 50px;
// border-radius: 50%;
}
}
.main {
width: calc(100% - 70px);
flex: 1;
padding: 10px;
margin-bottom: 10px;
.icon {
display: flex;
height: 200px;
width: 300px;
}
.title {
display: block;
width: 200px;
height: 20px;
margin-bottom: 15px;
}
}
}
.operations {
height: fit-content !important;
}
}
}
}
}
</style>
@@ -4,12 +4,12 @@
:icon="audio?.state === 'playing' ? PauseOne : Play" :icon="audio?.state === 'playing' ? PauseOne : Play"
size="45" size="45"
theme="filled" theme="filled"
class="control" class="text-[var(--el-color-primary)] cursor-pointer"
@click="togglePlay" @click="togglePlay"
/> />
<el-popover placement="top" width="50px" trigger="click"> <el-popover placement="top" width="50px" trigger="click">
<template #reference> <template #reference>
<icon-park :icon="VolumeSmall" size="20" :stroke-width="2" class="hover-text" /> <icon-park :icon="VolumeSmall" size="20" :stroke-width="2" class="cursor-pointer" />
</template> </template>
<player-volume-slider /> <player-volume-slider />
</el-popover> </el-popover>
@@ -32,9 +32,3 @@ const togglePlay = () =>
}); });
const audio = computed(() => store.state.suno.audio); const audio = computed(() => store.state.suno.audio);
</script> </script>
<style lang="scss">
.control {
color: var(--el-color-primary);
}
</style>
+15 -29
View File
@@ -1,8 +1,8 @@
<template> <template>
<div class="task"> <div class="task">
<div v-for="(audio, audioIndex) in audios" :key="audioIndex" class="audio" @click="onClick(audio)"> <div v-for="audio in audios" :key="audio.id" class="audio" @click.stop="onClick(audio)">
<div v-loading="!audio?.audio_url" class="left"> <div v-loading="!audio?.audio_url" class="left">
<el-image :src="audio?.image_url" class="cover" fit="cover" /> <el-image :src="audio?.image_url" class="cover" fit="cover" lazy />
<div <div
v-if=" v-if="
audio?.audio_url && audio?.audio_url &&
@@ -10,7 +10,7 @@
$store.state?.suno?.audio?.state === 'playing' $store.state?.suno?.audio?.state === 'playing'
" "
class="overlay" class="overlay"
@click="onPause(audio)" @click.stop="onPause(audio)"
> >
<el-icon><video-pause /></el-icon> <el-icon><video-pause /></el-icon>
</div> </div>
@@ -21,7 +21,7 @@
($store.state?.suno?.audio?.id === audio.id && $store.state?.suno?.audio?.state === 'paused')) ($store.state?.suno?.audio?.id === audio.id && $store.state?.suno?.audio?.state === 'paused'))
" "
class="overlay" class="overlay"
@click="onPlay(audio)" @click.stop="onPlay(audio)"
> >
<el-icon><video-play /></el-icon> <el-icon><video-play /></el-icon>
</div> </div>
@@ -34,7 +34,7 @@
<p class="style">{{ audio?.style }}</p> <p class="style">{{ audio?.style }}</p>
</div> </div>
<div class="right"> <div class="right">
<el-button v-if="audio?.audio_url" size="small" round @click="onExtend($event, audio)">{{ <el-button v-if="audio?.audio_url" size="small" round @click.stop="onExtend($event, audio)">{{
$t('suno.button.extend') $t('suno.button.extend')
}}</el-button> }}</el-button>
<el-tooltip effect="dark" :content="$t('suno.button.video')" placement="top"> <el-tooltip effect="dark" :content="$t('suno.button.video')" placement="top">
@@ -57,10 +57,10 @@
</span> </span>
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item v-if="audio?.video_url" @click="onDownload($event, audio?.video_url)"> <el-dropdown-item v-if="audio?.video_url" @click.stop="onDownload($event, audio?.video_url)">
{{ $t('suno.button.download_video') }} {{ $t('suno.button.download_video') }}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="audio?.audio_url" @click="onDownload($event, audio?.audio_url)"> <el-dropdown-item v-if="audio?.audio_url" @click.stop="onDownload($event, audio?.audio_url)">
{{ $t('suno.button.download_audio') }} {{ $t('suno.button.download_audio') }}
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
@@ -78,13 +78,13 @@
</span> </span>
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item v-if="audio.id" @click="onGetStems(audio.id)"> <el-dropdown-item v-if="audio.id" @click.stop="onGetStems(audio.id)">
{{ $t('suno.button.get_stems') }} {{ $t('suno.button.get_stems') }}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item @click="onCover(audio)"> <el-dropdown-item @click.stop="onCover(audio)">
{{ $t('suno.button.cover_music') }} {{ $t('suno.button.cover_music') }}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="audio?.id && audio?.action === 'extend'" @click="onConcatMusic(audio?.id)"> <el-dropdown-item v-if="audio?.id && audio?.action === 'extend'" @click.stop="onConcatMusic(audio?.id)">
{{ $t('suno.button.concat_music') }} {{ $t('suno.button.concat_music') }}
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
@@ -154,20 +154,10 @@ export default defineComponent({
return this.$store.state.suno?.tasks; return this.$store.state.suno?.tasks;
}, },
audios(): ISunoAudio[] { audios(): ISunoAudio[] {
let result: ISunoAudio[] = []; const data = (this.modelValue?.response?.data ?? []) as ISunoAudio[];
// @ts-ignore // @ts-ignore
const action = this.modelValue?.request?.action; const action = this.modelValue?.request?.action as ISunoAudio['action'] | undefined;
if (Array.isArray(this.modelValue?.response?.data)) { return action ? data.map((a) => ({ ...a, action })) : data;
this.modelValue?.response?.data?.forEach((item: any) => {
let audio = item as ISunoAudio;
// Add the action field to the audio object
if (action) {
audio.action = action;
}
result.push(audio);
});
}
return result;
}, },
application() { application() {
return this.$store.state.suno?.application; return this.$store.state.suno?.application;
@@ -222,12 +212,8 @@ export default defineComponent({
onDownload(event: MouseEvent, audioUrl: string) { onDownload(event: MouseEvent, audioUrl: string) {
event.stopPropagation(); event.stopPropagation();
console.log('on download', audioUrl); console.log('on download', audioUrl);
// 使用 URL 对象解析
const parsedUrl = new URL(audioUrl); const parsedUrl = new URL(audioUrl);
// 获取路径名
const pathname = parsedUrl.pathname; const pathname = parsedUrl.pathname;
// 提取文件名
const filename = pathname.substring(pathname.lastIndexOf('/') + 1); const filename = pathname.substring(pathname.lastIndexOf('/') + 1);
console.log('on preview', filename); console.log('on preview', filename);
fetch(audioUrl) fetch(audioUrl)
@@ -294,8 +280,7 @@ export default defineComponent({
}, },
async onScrollDown() { async onScrollDown() {
setTimeout(() => { setTimeout(() => {
// scroll to bottom for `.recent` const el = document.querySelector('.tasks');
const el = document.querySelector('.recent');
if (el) { if (el) {
el.scrollTop = el.scrollHeight; el.scrollTop = el.scrollHeight;
} }
@@ -319,6 +304,7 @@ export default defineComponent({
.task { .task {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
cursor: pointer;
.audio { .audio {
display: flex; display: flex;
margin-bottom: 10px; margin-bottom: 10px;
+2 -2
View File
@@ -1,6 +1,6 @@
<template> <template>
<el-dialog :model-value="visible" @close="onClose"> <el-dialog class="min-w-[450px]" :model-value="visible" @close="onClose">
<div class="flex settings h-[460px]"> <div class="flex settings h-[450px]">
<aside class="h-full border-r"> <aside class="h-full border-r">
<el-menu class="border-r-0"> <el-menu class="border-r-0">
<el-menu-item <el-menu-item
-1
View File
@@ -55,7 +55,6 @@ export default defineComponent({
.result { .result {
height: 100%; height: 100%;
padding: 15px;
flex: 1; flex: 1;
width: calc(100% - 600px); width: calc(100% - 600px);
height: 100%; height: 100%;
+4 -4
View File
@@ -204,7 +204,7 @@ export default defineComponent({
console.debug('onRestart!', this.question, JSON.stringify(this.references)); console.debug('onRestart!', this.question, JSON.stringify(this.references));
// 2. Update the messages // 2. Update the messages
const token = this.credential?.token; const token = this.credential?.token;
const question = this.question; const question = this.question.trim();
// reset question and references // reset question and references
if (!token || !question) { if (!token || !question) {
console.error('no token or endpoint or question'); console.error('no token or endpoint or question');
@@ -336,7 +336,7 @@ export default defineComponent({
let content = []; let content = [];
content.push({ content.push({
type: 'text', type: 'text',
text: this.question text: this.question.trim()
}); });
for (let i = 0; i < this.references.length; i++) { for (let i = 0; i < this.references.length; i++) {
if (isImageUrl(this.references[i])) { if (isImageUrl(this.references[i])) {
@@ -358,7 +358,7 @@ export default defineComponent({
}); });
} else { } else {
this.messages.push({ this.messages.push({
content: this.question, content: this.question.trim(),
role: ROLE_USER role: ROLE_USER
}); });
} }
@@ -369,7 +369,7 @@ export default defineComponent({
async onRequest() { async onRequest() {
console.debug('start to get answer', this.messages); console.debug('start to get answer', this.messages);
const token = this.credential?.token; const token = this.credential?.token;
const question = this.question; const question = this.question.trim();
const references = this.references; const references = this.references;
console.debug('validated', question, references); console.debug('validated', question, references);
// reset question and references // reset question and references
+1
View File
@@ -13,6 +13,7 @@
v-loading="loading" v-loading="loading"
:data="applications" :data="applications"
stripe stripe
class="!h-[calc(100vh-250px)]"
table-layout="fixed" table-layout="fixed"
:empty-text="$t('common.message.noData')" :empty-text="$t('common.message.noData')"
> >
+1 -1
View File
@@ -9,7 +9,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-card shadow="hover"> <el-card shadow="hover">
<el-table v-loading="loading" :data="orders" stripe> <el-table v-loading="loading" :data="orders" stripe class="!h-[calc(100vh-250px)]">
<el-table-column prop="id" :label="$t('order.field.id')" class-name="text-center" width="190px"> <el-table-column prop="id" :label="$t('order.field.id')" class-name="text-center" width="190px">
<template #default="scope"> <template #default="scope">
<span class="key">{{ scope.row.id }}</span> <span class="key">{{ scope.row.id }}</span>
+5 -12
View File
@@ -8,8 +8,8 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :md="8" :sm="12" class="mb-4"> <el-col :md="8" :sm="12" class="flex items-center px-2 mb-4">
<span class="inline-block mr-3"> {{ $t('usage.field.application') }} </span> <span class="inline-block mr-3 text-sm w-10"> {{ $t('usage.field.application') }} </span>
<el-select <el-select
v-model="applicationId" v-model="applicationId"
:placeholder="$t('usage.field.application')" :placeholder="$t('usage.field.application')"
@@ -19,8 +19,8 @@
<el-option v-for="item in applications" :key="item.id" :label="item.service?.title" :value="item?.id!" /> <el-option v-for="item in applications" :key="item.id" :label="item.service?.title" :value="item?.id!" />
</el-select> </el-select>
</el-col> </el-col>
<el-col :md="8" :sm="12" class="mb-4"> <el-col :md="8" :sm="12" class="flex items-center px-2 mb-4">
<span class="inline-block mr-3"> {{ $t('usage.field.api') }} </span> <span class="inline-block mr-3 text-sm w-10"> {{ $t('usage.field.api') }} </span>
<el-select v-model="apiId" :placeholder="$t('usage.field.api')" clearable @change="onApiChange"> <el-select v-model="apiId" :placeholder="$t('usage.field.api')" clearable @change="onApiChange">
<el-option v-for="item in apis" :key="item?.id" :label="item?.title" :value="item?.id!" /> <el-option v-for="item in apis" :key="item?.id" :label="item?.title" :value="item?.id!" />
</el-select> </el-select>
@@ -34,6 +34,7 @@
:data="apiUsages" :data="apiUsages"
stripe stripe
table-layout="fixed" table-layout="fixed"
class="!h-[calc(100vh-350px)]"
:empty-text="$t('common.message.noData')" :empty-text="$t('common.message.noData')"
> >
<el-table-column :label="$t('application.field.name')" width="140px"> <el-table-column :label="$t('application.field.name')" width="140px">
@@ -262,11 +263,3 @@ export default defineComponent({
} }
}); });
</script> </script>
<style lang="scss" scoped>
.panel {
.el-table {
height: calc(100vh - 300px) !important;
}
}
</style>
+97 -100
View File
@@ -392,14 +392,14 @@
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.8.tgz#610d7ea539d2fcdbe39237b5cc175eb2c4451f9c" resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.8.tgz#610d7ea539d2fcdbe39237b5cc175eb2c4451f9c"
integrity sha512-cn3Yr7+OaaZq1c+2pe+8yxC8E144SReCQjN6/2ynubzYjvyqZjTXfQJpAcQpsdJq3My7XADANiYGHoFC69pLQw== integrity sha512-cn3Yr7+OaaZq1c+2pe+8yxC8E144SReCQjN6/2ynubzYjvyqZjTXfQJpAcQpsdJq3My7XADANiYGHoFC69pLQw==
"@eslint-community/eslint-utils@^4.2.0": "@eslint-community/eslint-utils@^4.7.0":
version "4.7.0" version "4.7.0"
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz#607084630c6c033992a082de6e6fbc1a8b52175a" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz#607084630c6c033992a082de6e6fbc1a8b52175a"
integrity sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw== integrity sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==
dependencies: dependencies:
eslint-visitor-keys "^3.4.3" eslint-visitor-keys "^3.4.3"
"@eslint-community/regexpp@^4.4.0": "@eslint-community/regexpp@^4.10.0":
version "4.12.1" version "4.12.1"
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz#cfc6cffe39df390a3841cde2abccf92eaa7ae0e0" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.1.tgz#cfc6cffe39df390a3841cde2abccf92eaa7ae0e0"
integrity sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ== integrity sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==
@@ -1127,11 +1127,6 @@
resolved "https://registry.yarnpkg.com/@types/json-logic-js/-/json-logic-js-2.0.8.tgz#a1108452069a498981813e32dd081754ae6b3395" resolved "https://registry.yarnpkg.com/@types/json-logic-js/-/json-logic-js-2.0.8.tgz#a1108452069a498981813e32dd081754ae6b3395"
integrity sha512-WgNsDPuTPKYXl0Jh0IfoCoJoAGGYZt5qzpmjuLSEg7r0cKp/kWtWp0HAsVepyPSPyXiHo6uXp/B/kW/2J1fa2Q== integrity sha512-WgNsDPuTPKYXl0Jh0IfoCoJoAGGYZt5qzpmjuLSEg7r0cKp/kWtWp0HAsVepyPSPyXiHo6uXp/B/kW/2J1fa2Q==
"@types/json-schema@^7.0.9":
version "7.0.15"
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841"
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
"@types/json5@^0.0.29": "@types/json5@^0.0.29":
version "0.0.29" version "0.0.29"
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
@@ -1201,11 +1196,6 @@
resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.14.0.tgz#d8b60cecf62f2db0fb68e5e006077b9178b85de5" resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.14.0.tgz#d8b60cecf62f2db0fb68e5e006077b9178b85de5"
integrity sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ== integrity sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==
"@types/semver@^7.3.12":
version "7.7.0"
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.7.0.tgz#64c441bdae033b378b6eef7d0c3d77c329b9378e"
integrity sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==
"@types/slice-ansi@^4.0.0": "@types/slice-ansi@^4.0.0":
version "4.0.0" version "4.0.0"
resolved "https://registry.yarnpkg.com/@types/slice-ansi/-/slice-ansi-4.0.0.tgz#eb40dfbe3ac5c1de61f6bcb9ed471f54baa989d6" resolved "https://registry.yarnpkg.com/@types/slice-ansi/-/slice-ansi-4.0.0.tgz#eb40dfbe3ac5c1de61f6bcb9ed471f54baa989d6"
@@ -1231,89 +1221,103 @@
resolved "https://registry.yarnpkg.com/@types/web-bluetooth/-/web-bluetooth-0.0.21.tgz#525433c784aed9b457aaa0ee3d92aeb71f346b63" resolved "https://registry.yarnpkg.com/@types/web-bluetooth/-/web-bluetooth-0.0.21.tgz#525433c784aed9b457aaa0ee3d92aeb71f346b63"
integrity sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA== integrity sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==
"@typescript-eslint/eslint-plugin@^5.17.0": "@typescript-eslint/eslint-plugin@^8.39.1":
version "5.62.0" version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.39.1.tgz#28dffcb5272d20afe250bfeec3173263db5528a0"
integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag== integrity sha512-yYegZ5n3Yr6eOcqgj2nJH8cH/ZZgF+l0YIdKILSDjYFRjgYQMgv/lRjV5Z7Up04b9VYUondt8EPMqg7kTWgJ2g==
dependencies: dependencies:
"@eslint-community/regexpp" "^4.4.0" "@eslint-community/regexpp" "^4.10.0"
"@typescript-eslint/scope-manager" "5.62.0" "@typescript-eslint/scope-manager" "8.39.1"
"@typescript-eslint/type-utils" "5.62.0" "@typescript-eslint/type-utils" "8.39.1"
"@typescript-eslint/utils" "5.62.0" "@typescript-eslint/utils" "8.39.1"
debug "^4.3.4" "@typescript-eslint/visitor-keys" "8.39.1"
graphemer "^1.4.0" graphemer "^1.4.0"
ignore "^5.2.0" ignore "^7.0.0"
natural-compare-lite "^1.4.0" natural-compare "^1.4.0"
semver "^7.3.7" ts-api-utils "^2.1.0"
tsutils "^3.21.0"
"@typescript-eslint/parser@^5.17.0": "@typescript-eslint/parser@^8.39.1":
version "5.62.0" version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.39.1.tgz#7f8f9ecfc7e172d67e42c366fa198e42324e5d50"
integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== integrity sha512-pUXGCuHnnKw6PyYq93lLRiZm3vjuslIy7tus1lIQTYVK9bL8XBgJnCWm8a0KcTtHC84Yya1Q6rtll+duSMj0dg==
dependencies: dependencies:
"@typescript-eslint/scope-manager" "5.62.0" "@typescript-eslint/scope-manager" "8.39.1"
"@typescript-eslint/types" "5.62.0" "@typescript-eslint/types" "8.39.1"
"@typescript-eslint/typescript-estree" "5.62.0" "@typescript-eslint/typescript-estree" "8.39.1"
"@typescript-eslint/visitor-keys" "8.39.1"
debug "^4.3.4" debug "^4.3.4"
"@typescript-eslint/scope-manager@5.62.0": "@typescript-eslint/project-service@8.39.1":
version "5.62.0" version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.39.1.tgz#63525878d488ebf27c485f295e83434a1398f52d"
integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== integrity sha512-8fZxek3ONTwBu9ptw5nCKqZOSkXshZB7uAxuFF0J/wTMkKydjXCzqqga7MlFMpHi9DoG4BadhmTkITBcg8Aybw==
dependencies: dependencies:
"@typescript-eslint/types" "5.62.0" "@typescript-eslint/tsconfig-utils" "^8.39.1"
"@typescript-eslint/visitor-keys" "5.62.0" "@typescript-eslint/types" "^8.39.1"
"@typescript-eslint/type-utils@5.62.0":
version "5.62.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a"
integrity sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==
dependencies:
"@typescript-eslint/typescript-estree" "5.62.0"
"@typescript-eslint/utils" "5.62.0"
debug "^4.3.4" debug "^4.3.4"
tsutils "^3.21.0"
"@typescript-eslint/types@5.62.0": "@typescript-eslint/scope-manager@8.39.1":
version "5.62.0" version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.39.1.tgz#1253fe3e1f2f33f08a3e438a05b5dd7faf9fbca6"
integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== integrity sha512-RkBKGBrjgskFGWuyUGz/EtD8AF/GW49S21J8dvMzpJitOF1slLEbbHnNEtAHtnDAnx8qDEdRrULRnWVx27wGBw==
"@typescript-eslint/typescript-estree@5.62.0":
version "5.62.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b"
integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==
dependencies: dependencies:
"@typescript-eslint/types" "5.62.0" "@typescript-eslint/types" "8.39.1"
"@typescript-eslint/visitor-keys" "5.62.0" "@typescript-eslint/visitor-keys" "8.39.1"
"@typescript-eslint/tsconfig-utils@8.39.1", "@typescript-eslint/tsconfig-utils@^8.39.1":
version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.39.1.tgz#17f13b4ad481e7bec7c249ee1854078645b34b12"
integrity sha512-ePUPGVtTMR8XMU2Hee8kD0Pu4NDE1CN9Q1sxGSGd/mbOtGZDM7pnhXNJnzW63zk/q+Z54zVzj44HtwXln5CvHA==
"@typescript-eslint/type-utils@8.39.1":
version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.39.1.tgz#642f9fb96173649e2928fea0375b1d74d31906c2"
integrity sha512-gu9/ahyatyAdQbKeHnhT4R+y3YLtqqHyvkfDxaBYk97EcbfChSJXyaJnIL3ygUv7OuZatePHmQvuH5ru0lnVeA==
dependencies:
"@typescript-eslint/types" "8.39.1"
"@typescript-eslint/typescript-estree" "8.39.1"
"@typescript-eslint/utils" "8.39.1"
debug "^4.3.4" debug "^4.3.4"
globby "^11.1.0" ts-api-utils "^2.1.0"
"@typescript-eslint/types@8.39.1", "@typescript-eslint/types@^8.39.1":
version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.39.1.tgz#f0ab996c8ab2c3b046bbf86bb1990b03529869a1"
integrity sha512-7sPDKQQp+S11laqTrhHqeAbsCfMkwJMrV7oTDvtDds4mEofJYir414bYKUEb8YPUm9QL3U+8f6L6YExSoAGdQw==
"@typescript-eslint/typescript-estree@8.39.1":
version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.39.1.tgz#8825d3ea7ea2144c577859ae489eec24ef7318a5"
integrity sha512-EKkpcPuIux48dddVDXyQBlKdeTPMmALqBUbEk38McWv0qVEZwOpVJBi7ugK5qVNgeuYjGNQxrrnoM/5+TI/BPw==
dependencies:
"@typescript-eslint/project-service" "8.39.1"
"@typescript-eslint/tsconfig-utils" "8.39.1"
"@typescript-eslint/types" "8.39.1"
"@typescript-eslint/visitor-keys" "8.39.1"
debug "^4.3.4"
fast-glob "^3.3.2"
is-glob "^4.0.3" is-glob "^4.0.3"
semver "^7.3.7" minimatch "^9.0.4"
tsutils "^3.21.0" semver "^7.6.0"
ts-api-utils "^2.1.0"
"@typescript-eslint/utils@5.62.0": "@typescript-eslint/utils@8.39.1":
version "5.62.0" version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.39.1.tgz#58a834f89f93b786ada2cd14d77fa63c3c8f408b"
integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ== integrity sha512-VF5tZ2XnUSTuiqZFXCZfZs1cgkdd3O/sSYmdo2EpSyDlC86UM/8YytTmKnehOW3TGAlivqTDT6bS87B/GQ/jyg==
dependencies: dependencies:
"@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/eslint-utils" "^4.7.0"
"@types/json-schema" "^7.0.9" "@typescript-eslint/scope-manager" "8.39.1"
"@types/semver" "^7.3.12" "@typescript-eslint/types" "8.39.1"
"@typescript-eslint/scope-manager" "5.62.0" "@typescript-eslint/typescript-estree" "8.39.1"
"@typescript-eslint/types" "5.62.0"
"@typescript-eslint/typescript-estree" "5.62.0"
eslint-scope "^5.1.1"
semver "^7.3.7"
"@typescript-eslint/visitor-keys@5.62.0": "@typescript-eslint/visitor-keys@8.39.1":
version "5.62.0" version "8.39.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.39.1.tgz#a467742a98f2fa3c03d7bed4979dc0db3850a77a"
integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== integrity sha512-W8FQi6kEh2e8zVhQ0eeRnxdvIoOkAp/CPAahcNio6nO9dsIwb9b34z90KOlheoyuVf6LSOEdjlkxSkapNEc+4A==
dependencies: dependencies:
"@typescript-eslint/types" "5.62.0" "@typescript-eslint/types" "8.39.1"
eslint-visitor-keys "^3.3.0" eslint-visitor-keys "^4.2.1"
"@vitejs/plugin-vue@^6.0.0": "@vitejs/plugin-vue@^6.0.0":
version "6.0.0" version "6.0.0"
@@ -2715,11 +2719,16 @@ eslint-visitor-keys@^2.0.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
eslint-visitor-keys@^3.1.0, eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: eslint-visitor-keys@^3.1.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3:
version "3.4.3" version "3.4.3"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
eslint-visitor-keys@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz#4cfea60fe7dd0ad8e816e1ed026c1d5251b512c1"
integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==
eslint@^7.32.0: eslint@^7.32.0:
version "7.32.0" version "7.32.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d" resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d"
@@ -3200,7 +3209,7 @@ globalthis@^1.0.4:
define-properties "^1.2.1" define-properties "^1.2.1"
gopd "^1.0.1" gopd "^1.0.1"
globby@^11.0.0, globby@^11.1.0: globby@^11.0.0:
version "11.1.0" version "11.1.0"
resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==
@@ -3332,7 +3341,7 @@ ignore@^5.1.1, ignore@^5.2.0:
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5"
integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==
ignore@^7.0.5: ignore@^7.0.0, ignore@^7.0.5:
version "7.0.5" version "7.0.5"
resolved "https://registry.yarnpkg.com/ignore/-/ignore-7.0.5.tgz#4cb5f6cd7d4c7ab0365738c7aea888baa6d7efd9" resolved "https://registry.yarnpkg.com/ignore/-/ignore-7.0.5.tgz#4cb5f6cd7d4c7ab0365738c7aea888baa6d7efd9"
integrity sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg== integrity sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==
@@ -4031,11 +4040,6 @@ native-run@^2.0.0:
tslib "^2.6.2" tslib "^2.6.2"
yauzl "^2.10.0" yauzl "^2.10.0"
natural-compare-lite@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4"
integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==
natural-compare@^1.4.0: natural-compare@^1.4.0:
version "1.4.0" version "1.4.0"
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
@@ -4805,7 +4809,7 @@ semver@^6.1.0, semver@^6.3.1:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
semver@^7.0.0, semver@^7.2.1, semver@^7.3.5, semver@^7.3.7, semver@^7.7.2: semver@^7.0.0, semver@^7.2.1, semver@^7.3.5, semver@^7.3.7, semver@^7.6.0, semver@^7.7.2:
version "7.7.2" version "7.7.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58"
integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==
@@ -5262,6 +5266,11 @@ tree-kill@^1.2.2:
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc"
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==
ts-api-utils@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-2.1.0.tgz#595f7094e46eed364c13fd23e75f9513d29baf91"
integrity sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==
ts-interface-checker@^0.1.9: ts-interface-checker@^0.1.9:
version "0.1.13" version "0.1.13"
resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699"
@@ -5282,23 +5291,11 @@ tslib@2.4.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==
tslib@^1.8.1:
version "1.14.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
tslib@^2.0.1, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.4.1, tslib@^2.6.2: tslib@^2.0.1, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.4.1, tslib@^2.6.2:
version "2.8.1" version "2.8.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
tsutils@^3.21.0:
version "3.21.0"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==
dependencies:
tslib "^1.8.1"
type-check@^0.4.0, type-check@~0.4.0: type-check@^0.4.0, type-check@~0.4.0:
version "0.4.0" version "0.4.0"
resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"