mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
style: update icon
This commit is contained in:
parent
28acc2e48b
commit
c58514765d
|
|
@ -0,0 +1,6 @@
|
|||
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 19.8889H13.2222C12.9768 19.8889 12.7778 19.6899 12.7778 19.4445V18.5556C12.7778 18.3101 12.9768 18.1111 13.2222 18.1111H18.1111V13.2222C18.1111 12.9768 18.3101 12.7778 18.5556 12.7778H19.4444C19.6899 12.7778 19.8889 12.9768 19.8889 13.2222V19C19.8889 19.4909 19.4909 19.8889 19 19.8889Z" fill="white"/>
|
||||
<path d="M9.66672 2.11101H3.00006C2.50914 2.11101 2.11117 2.50898 2.11117 2.9999V8.77767C2.11117 9.02313 2.31015 9.22212 2.55561 9.22212H3.4445C3.68996 9.22212 3.88895 9.02313 3.88895 8.77767V3.88879H9.66672C9.91218 3.88879 10.1112 3.6898 10.1112 3.44434V2.55545C10.1112 2.30999 9.91218 2.11101 9.66672 2.11101Z" fill="white"/>
|
||||
<path d="M16.6889 2.11111V3.17778H19.8889V4.77778L18.9217 4.77829C18.447 5.83102 17.8102 6.79899 17.0398 7.6598C17.8689 8.35035 18.8195 8.92658 19.863 9.36344L19.1304 10.7872C17.9346 10.2731 16.8423 9.59559 15.8889 8.78252C14.9359 9.59534 13.8434 10.273 12.6474 10.7872L11.9148 9.36344C12.9583 8.92658 13.9089 8.35035 14.7391 7.65984C13.9676 6.79899 13.3308 5.83102 12.8561 4.77829L11.8889 4.77778V3.17778H15.0889V2.11111H16.6889ZM17.1301 4.77841H14.6477C14.9932 5.40835 15.4096 5.99905 15.8881 6.5426C16.3682 5.99905 16.7846 5.40835 17.1301 4.77841Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.11111 19.4445C2.11111 19.6899 2.3101 19.8889 2.55556 19.8889H10.5556C10.801 19.8889 11 19.6899 11 19.4445V11.4445C11 11.199 10.801 11 10.5556 11H2.55556C2.3101 11 2.11111 11.199 2.11111 11.4445V19.4445ZM4.1389 12.7778H4.97223C5.1103 12.7778 5.22223 12.8897 5.22223 13.0278V13.8611C5.22223 13.9992 5.1103 14.1111 4.97223 14.1111H4.1389C4.00083 14.1111 3.8889 13.9992 3.8889 13.8611V13.0278C3.8889 12.8897 4.00083 12.7778 4.1389 12.7778ZM5.72934 18.1059L3.8292 18.1014C3.75556 18.1012 3.69601 18.0414 3.69618 17.9677C3.69627 17.9325 3.71031 17.8987 3.73524 17.8738L5.57204 16.037C5.64146 15.9675 5.75403 15.9675 5.82345 16.037L6.67104 16.8845L8.91875 14.6368C8.98817 14.5674 9.10074 14.5674 9.17016 14.6368C9.2035 14.6702 9.22223 14.7154 9.22223 14.7625V17.9778C9.22223 18.0514 9.16254 18.1111 9.0889 18.1111H5.76635C5.75351 18.1111 5.74109 18.1093 5.72934 18.1059Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
|
|
@ -270,7 +270,7 @@ export const speechToTextNode = {
|
|||
}
|
||||
export const textToSpeechNode = {
|
||||
type: WorkflowType.TextToSpeechNode,
|
||||
text: '将文本通过语音合成模型转换为音频文件',
|
||||
text: '将文本通过语音合成模型转换为音频',
|
||||
label: '文本转语音',
|
||||
height: 252,
|
||||
properties: {
|
||||
|
|
@ -287,17 +287,17 @@ export const textToSpeechNode = {
|
|||
}
|
||||
export const menuNodes = [
|
||||
aiChatNode,
|
||||
imageUnderstandNode,
|
||||
imageGenerateNode,
|
||||
searchDatasetNode,
|
||||
questionNode,
|
||||
rerankerNode,
|
||||
conditionNode,
|
||||
replyNode,
|
||||
rerankerNode,
|
||||
documentExtractNode,
|
||||
imageUnderstandNode,
|
||||
formNode,
|
||||
questionNode,
|
||||
documentExtractNode,
|
||||
speechToTextNode,
|
||||
textToSpeechNode,
|
||||
imageGenerateNode
|
||||
textToSpeechNode
|
||||
]
|
||||
|
||||
/**
|
||||
|
|
@ -390,7 +390,7 @@ export const nodeDict: any = {
|
|||
[WorkflowType.ImageUnderstandNode]: imageUnderstandNode,
|
||||
[WorkflowType.TextToSpeechNode]: textToSpeechNode,
|
||||
[WorkflowType.SpeechToTextNode]: speechToTextNode,
|
||||
[WorkflowType.ImageGenerateNode]: imageGenerateNode
|
||||
[WorkflowType.ImageGenerateNode]: imageGenerateNode
|
||||
}
|
||||
export function isWorkFlow(type: string | undefined) {
|
||||
return type === 'WORK_FLOW'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<AppAvatar shape="square" style="background: #14C0FF;">
|
||||
<img src="@/assets/icon_image.svg" style="width: 65%" alt="" />
|
||||
<AppAvatar shape="square" style="background: #FF8800;">
|
||||
<img src="@/assets/icon_text-image.svg" style="width: 65%" alt="" />
|
||||
</AppAvatar>
|
||||
</template>
|
||||
<script setup lang="ts"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue