mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: change workflow icon
This commit is contained in:
parent
2e69698e6b
commit
d7ee6b74b3
|
|
@ -1,11 +1,10 @@
|
|||
<svg width="20" height="20" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z" fill="#FF8800"/>
|
||||
<g clip-path="url(#clip0_10330_2372)">
|
||||
<path d="M22.5715 7.55565C22.7761 7.55565 22.9542 7.69533 23.0031 7.89401L26.3667 21.5792C26.4356 21.8593 26.2235 22.1297 25.9351 22.1297H24.9468C24.7483 22.1297 24.5739 21.9981 24.5194 21.8072L23.4149 17.9355H19.6078L19.0541 19.8045C18.1413 22.4957 15.4533 24.4445 12.2798 24.4445C9.32693 24.4445 6.79442 22.7572 5.71945 20.3549C5.69242 20.2945 5.66068 20.2159 5.62896 20.134C5.53599 19.8941 5.67535 19.6296 5.92345 19.5612C5.96516 19.5497 6.0032 19.5393 6.03397 19.5308C6.35482 19.4424 6.61238 19.3715 6.80666 19.318C7.02895 19.2568 7.25552 19.3785 7.34889 19.5893C8.14894 21.3957 10.0553 22.6668 12.2798 22.6668C14.5329 22.6668 16.4597 21.3628 17.2411 19.5193L17.317 19.3285L20.0773 7.89578C20.1255 7.69624 20.3041 7.55565 20.5094 7.55565H22.5715ZM12.2798 7.11121C14.9799 7.11121 17.1687 9.41058 17.1687 12.247V16.1976C17.1687 19.0341 14.9799 21.3334 12.2798 21.3334C9.57975 21.3334 7.39092 19.0341 7.39092 16.1976V12.247C7.39092 9.41058 9.57975 7.11121 12.2798 7.11121ZM21.5396 9.10632L19.9645 16.0903H23.1147L21.5396 9.10632Z" fill="white"/>
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_5275_2381)">
|
||||
<path d="M10.8505 2.05216C10.9704 2.05216 11.0748 2.13401 11.1034 2.25042L13.0743 10.2691C13.1146 10.4332 12.9904 10.5916 12.8214 10.5916H12.2423C12.126 10.5916 12.0238 10.5145 11.9918 10.4027L11.3447 8.13413H9.11394L8.78951 9.22925C8.25466 10.8061 6.67968 11.948 4.82021 11.948C3.09001 11.948 1.60612 10.9593 0.976257 9.55171C0.960418 9.51632 0.94182 9.47029 0.92323 9.42231C0.868756 9.28171 0.950416 9.12672 1.09579 9.08668C1.12022 9.07995 1.14251 9.07381 1.16054 9.06885C1.34854 9.01707 1.49946 8.9755 1.61329 8.94415C1.74354 8.90828 1.8763 8.97959 1.93101 9.10312C2.39978 10.1616 3.51681 10.9063 4.82021 10.9063C6.14039 10.9063 7.26936 10.1423 7.7272 9.06211L7.77168 8.95029L9.38907 2.25146C9.4173 2.13454 9.52193 2.05216 9.64222 2.05216H10.8505ZM4.82021 1.79175C6.40228 1.79175 7.6848 3.13904 7.6848 4.80101V7.11582C7.6848 8.77779 6.40228 10.1251 4.82021 10.1251C3.23815 10.1251 1.95563 8.77779 1.95563 7.11582V4.80101C1.95563 3.13904 3.23815 1.79175 4.82021 1.79175ZM10.2459 2.96076L9.32299 7.05292H11.1688L10.2459 2.96076Z" fill="white"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_10330_2372">
|
||||
<rect width="21.3333" height="21.3333" fill="white" transform="translate(5.33331 5.33337)"/>
|
||||
<clipPath id="clip0_5275_2381">
|
||||
<rect width="12.5" height="12.5" fill="white" transform="translate(0.75 0.75)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
|
|
@ -1,11 +1,10 @@
|
|||
<svg width="20" height="20" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z" fill="#14C0FF"/>
|
||||
<g clip-path="url(#clip0_10330_2180)">
|
||||
<path d="M9.42854 7.55565C9.22395 7.55565 9.04578 7.69533 8.99695 7.89401L5.63329 21.5792C5.56444 21.8593 5.77647 22.1297 6.06488 22.1297H7.05321C7.25171 22.1297 7.42615 21.9981 7.4806 21.8072L8.5851 17.9355H12.3922L12.9459 19.8045C13.8587 22.4957 16.5467 24.4445 19.7202 24.4445C22.6731 24.4445 25.2056 22.7572 26.2805 20.3549C26.3076 20.2945 26.3393 20.2159 26.371 20.134C26.464 19.8941 26.3246 19.6296 26.0765 19.5612C26.0348 19.5497 25.9968 19.5393 25.966 19.5308C25.6452 19.4424 25.3876 19.3715 25.1933 19.318C24.9711 19.2568 24.7445 19.3785 24.6511 19.5893C23.8511 21.3957 21.9447 22.6668 19.7202 22.6668C17.4671 22.6668 15.5403 21.3628 14.7589 19.5193L14.683 19.3285L11.9227 7.89578C11.8745 7.69624 11.6959 7.55565 11.4906 7.55565H9.42854ZM19.7202 7.11121C17.0201 7.11121 14.8313 9.41058 14.8313 12.247V16.1976C14.8313 19.0341 17.0201 21.3334 19.7202 21.3334C22.4203 21.3334 24.6091 19.0341 24.6091 16.1976V12.247C24.6091 9.41058 22.4203 7.11121 19.7202 7.11121ZM10.4604 9.10632L12.0355 16.0903H8.88529L10.4604 9.10632Z" fill="white"/>
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_5275_4068)">
|
||||
<path d="M3.14952 2.05216C3.02964 2.05216 2.92525 2.13401 2.89663 2.25042L0.925736 10.2691C0.8854 10.4332 1.00963 10.5916 1.17863 10.5916H1.75772C1.87403 10.5916 1.97624 10.5145 2.00815 10.4027L2.65532 8.13413H4.88606L5.21049 9.22925C5.74534 10.8061 7.32032 11.948 9.17979 11.948C10.91 11.948 12.3939 10.9593 13.0237 9.55171C13.0396 9.51632 13.0582 9.47029 13.0768 9.42231C13.1312 9.28171 13.0496 9.12672 12.9042 9.08668C12.8798 9.07995 12.8575 9.07381 12.8395 9.06885C12.6515 9.01707 12.5005 8.9755 12.3867 8.94415C12.2565 8.90828 12.1237 8.97959 12.069 9.10312C11.6002 10.1616 10.4832 10.9063 9.17979 10.9063C7.85961 10.9063 6.73064 10.1423 6.2728 9.06211L6.22832 8.95029L4.61093 2.25146C4.5827 2.13454 4.47807 2.05216 4.35778 2.05216H3.14952ZM9.17979 1.79175C7.59772 1.79175 6.3152 3.13904 6.3152 4.80101V7.11582C6.3152 8.77779 7.59772 10.1251 9.17979 10.1251C10.7619 10.1251 12.0444 8.77779 12.0444 7.11582V4.80101C12.0444 3.13904 10.7619 1.79175 9.17979 1.79175ZM3.75411 2.96076L4.67701 7.05292H2.83121L3.75411 2.96076Z" fill="white"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_10330_2180">
|
||||
<rect width="21.3333" height="21.3333" fill="white" transform="matrix(-1 0 0 1 26.6667 5.33337)"/>
|
||||
<clipPath id="clip0_5275_4068">
|
||||
<rect width="12.5" height="12.5" fill="white" transform="matrix(-1 0 0 1 13.25 0.75)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
|
|
@ -526,19 +526,19 @@ export const menuNodes = [
|
|||
list: [
|
||||
aiChatNode,
|
||||
intentNode,
|
||||
questionNode,
|
||||
imageGenerateNode,
|
||||
imageUnderstandNode,
|
||||
textToSpeechNode,
|
||||
speechToTextNode,
|
||||
textToVideoNode,
|
||||
imageToVideoNode,
|
||||
questionNode,
|
||||
],
|
||||
},
|
||||
{ label: t('views.knowledge.title'), list: [searchKnowledgeNode, rerankerNode] },
|
||||
{
|
||||
label: t('views.applicationWorkflow.nodes.classify.businessLogic'),
|
||||
list: [loopNode, conditionNode, formNode, variableAssignNode, replyNode],
|
||||
list: [conditionNode, formNode, variableAssignNode, replyNode, loopNode],
|
||||
},
|
||||
{
|
||||
label: t('views.applicationWorkflow.nodes.classify.other'),
|
||||
|
|
@ -563,7 +563,7 @@ export const applicationLoopMenuNodes = [
|
|||
{ label: t('views.knowledge.title'), list: [searchKnowledgeNode, rerankerNode] },
|
||||
{
|
||||
label: t('views.applicationWorkflow.nodes.classify.businessLogic'),
|
||||
list: [loopBreakNode, loopContinueNode, conditionNode, formNode, variableAssignNode, replyNode],
|
||||
list: [conditionNode, formNode, variableAssignNode, replyNode, loopContinueNode, loopBreakNode],
|
||||
},
|
||||
{
|
||||
label: t('views.applicationWorkflow.nodes.classify.other'),
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<el-avatar shape="square" style="background: #FF8800;">
|
||||
<el-avatar shape="square" style="background: #14c0ff">
|
||||
<img src="@/assets/workflow/icon_text-image.svg" style="width: 65%" alt="" />
|
||||
</el-avatar>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<el-avatar shape="square" style="background: #14C0FF;">
|
||||
<el-avatar shape="square" style="background: #14c0ff">
|
||||
<img src="@/assets/workflow/icon_image.svg" style="width: 65%" alt="" />
|
||||
</el-avatar>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<el-avatar shape="square" style="background: #ff8800">
|
||||
<img src="@/assets/workflow/icon_speech_to_text.svg" style="width: 100%" alt="" />
|
||||
<el-avatar shape="square" style="background: #FF8800">
|
||||
<img src="@/assets/workflow/icon_speech_to_text.svg" style="width: 70%" alt="" />
|
||||
</el-avatar>
|
||||
</template>
|
||||
<script setup lang="ts"></script>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<el-avatar shape="square" style="background: #14c0ff">
|
||||
<img src="@/assets/workflow/icon_text_to_speech.svg" style="width: 100%" alt="" />
|
||||
<el-avatar shape="square" style="background: #ff8800">
|
||||
<img src="@/assets/workflow/icon_text_to_speech.svg" style="width: 70%" alt="" />
|
||||
</el-avatar>
|
||||
</template>
|
||||
<script setup lang="ts"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue