V4.8.17 feature (#3485)
* feat: add third party account config (#3443) * temp * editor workflow variable style * add team to dispatch * i18n * delete console * change openai account position * fix * fix * fix * fix * fix * 4.8.17 test (#3461) * perf: external provider config * perf: ui * feat: add template config (#3434) * change template position * template config * delete console * delete * fix * fix * perf: Mongo visutal field (#3464) * remve invalid code * perf: team member visutal code * perf: virtual search; perf: search test data * fix: ts * fix: image response headers * perf: template code * perf: auth layout;perf: auto save (#3472) * perf: auth layout * perf: auto save * perf: auto save * fix: template guide display & http input support external variables (#3475) * fix: template guide display * http editor support external workflow variables * perf: auto save;fix: ifelse checker line break; (#3478) * perf: auto save * perf: auto save * fix: ifelse checker line break * perf: doc * perf: doc * fix: update var type error * 4.8.17 test (#3479) * perf: auto save * perf: auto save * perf: template code * 4.8.17 test (#3480) * perf: auto save * perf: auto save * perf: model price model * feat: add react memo * perf: model provider filter * fix: ts (#3481) * perf: auto save * perf: auto save * fix: ts * simple app tool select (#3473) * workflow plugin userguide & simple tool ui * simple tool filter * reuse component * change component to hook * fix * perf: too selector modal (#3484) * perf: auto save * perf: auto save * perf: markdown render * perf: too selector * fix: app version require tmbId * perf: templates refresh * perf: templates refresh * hide auto save error tip * perf: toolkit guide --------- Co-authored-by: heheer <heheer@sealos.io>
@@ -28,4 +28,4 @@ const Avatar = ({ w = '30px', src, ...props }: ImageProps) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default Avatar;
|
||||
export default React.memo(Avatar);
|
||||
|
@@ -57,4 +57,4 @@ function DndDrag<T>({ children, renderClone, onDragEndCb, dataList }: Props<T>)
|
||||
);
|
||||
}
|
||||
|
||||
export default DndDrag;
|
||||
export default React.memo(DndDrag) as <T>(props: Props<T>) => React.ReactElement;
|
||||
|
@@ -17,6 +17,7 @@ export const iconPaths = {
|
||||
'common/addUser': () => import('./icons/common/addUser.svg'),
|
||||
'common/administrator': () => import('./icons/common/administrator.svg'),
|
||||
'common/arrowLeft': () => import('./icons/common/arrowLeft.svg'),
|
||||
'common/arrowRight': () => import('./icons/common/arrowRight.svg'),
|
||||
'common/backFill': () => import('./icons/common/backFill.svg'),
|
||||
'common/backLight': () => import('./icons/common/backLight.svg'),
|
||||
'common/billing': () => import('./icons/common/billing.svg'),
|
||||
@@ -48,6 +49,7 @@ export const iconPaths = {
|
||||
'common/language/China': () => import('./icons/common/language/China.svg'),
|
||||
'common/language/en': () => import('./icons/common/language/en.svg'),
|
||||
'common/language/zh': () => import('./icons/common/language/zh.svg'),
|
||||
'common/layer': () => import('./icons/common/layer.svg'),
|
||||
'common/leftArrowLight': () => import('./icons/common/leftArrowLight.svg'),
|
||||
'common/line': () => import('./icons/common/line.svg'),
|
||||
'common/lineChange': () => import('./icons/common/lineChange.svg'),
|
||||
@@ -81,13 +83,16 @@ export const iconPaths = {
|
||||
'common/settingLight': () => import('./icons/common/settingLight.svg'),
|
||||
'common/solidChevronRight': () => import('./icons/common/solidChevronRight.svg'),
|
||||
'common/subtract': () => import('./icons/common/subtract.svg'),
|
||||
'common/templateMarket': () => import('./icons/common/templateMarket.svg'),
|
||||
'common/text/t': () => import('./icons/common/text/t.svg'),
|
||||
'common/thirdParty': () => import('./icons/common/thirdParty.svg'),
|
||||
'common/tickFill': () => import('./icons/common/tickFill.svg'),
|
||||
'common/toolkit': () => import('./icons/common/toolkit.svg'),
|
||||
'common/trash': () => import('./icons/common/trash.svg'),
|
||||
'common/upRightArrowLight': () => import('./icons/common/upRightArrowLight.svg'),
|
||||
'common/uploadFileFill': () => import('./icons/common/uploadFileFill.svg'),
|
||||
'common/userInfo': () => import('./icons/common/userInfo.svg'),
|
||||
'common/variable': () => import('./icons/common/variable.svg'),
|
||||
'common/viewLight': () => import('./icons/common/viewLight.svg'),
|
||||
'common/voiceLight': () => import('./icons/common/voiceLight.svg'),
|
||||
'common/warn': () => import('./icons/common/warn.svg'),
|
||||
@@ -119,6 +124,17 @@ export const iconPaths = {
|
||||
'core/app/simpleMode/tts': () => import('./icons/core/app/simpleMode/tts.svg'),
|
||||
'core/app/simpleMode/variable': () => import('./icons/core/app/simpleMode/variable.svg'),
|
||||
'core/app/simpleMode/whisper': () => import('./icons/core/app/simpleMode/whisper.svg'),
|
||||
'core/app/templates/TranslateRobot': () =>
|
||||
import('./icons/core/app/templates/TranslateRobot.svg'),
|
||||
'core/app/templates/animalLife': () => import('./icons/core/app/templates/animalLife.svg'),
|
||||
'core/app/templates/chinese': () => import('./icons/core/app/templates/chinese.svg'),
|
||||
'core/app/templates/divination': () => import('./icons/core/app/templates/divination.svg'),
|
||||
'core/app/templates/flux': () => import('./icons/core/app/templates/flux.svg'),
|
||||
'core/app/templates/githubIssue': () => import('./icons/core/app/templates/githubIssue.svg'),
|
||||
'core/app/templates/google': () => import('./icons/core/app/templates/google.svg'),
|
||||
'core/app/templates/plugin-dalle': () => import('./icons/core/app/templates/plugin-dalle.svg'),
|
||||
'core/app/templates/plugin-feishu': () => import('./icons/core/app/templates/plugin-feishu.svg'),
|
||||
'core/app/templates/stock': () => import('./icons/core/app/templates/stock.svg'),
|
||||
'core/app/toolCall': () => import('./icons/core/app/toolCall.svg'),
|
||||
'core/app/ttsFill': () => import('./icons/core/app/ttsFill.svg'),
|
||||
'core/app/type/httpPlugin': () => import('./icons/core/app/type/httpPlugin.svg'),
|
||||
@@ -376,6 +392,7 @@ export const iconPaths = {
|
||||
'price/right': () => import('./icons/price/right.svg'),
|
||||
save: () => import('./icons/save.svg'),
|
||||
stop: () => import('./icons/stop.svg'),
|
||||
'support/account/laf': () => import('./icons/support/account/laf.svg'),
|
||||
'support/account/loginoutLight': () => import('./icons/support/account/loginoutLight.svg'),
|
||||
'support/account/plans': () => import('./icons/support/account/plans.svg'),
|
||||
'support/account/promotionLight': () => import('./icons/support/account/promotionLight.svg'),
|
||||
|
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.86193 3.5286C8.60158 3.78895 8.60158 4.21106 8.86193 4.47141L11.7239 7.33334H2.66667C2.29848 7.33334 2 7.63181 2 8C2 8.36819 2.29848 8.66667 2.66667 8.66667H11.7239L8.86193 11.5286C8.60158 11.7889 8.60158 12.2111 8.86193 12.4714C9.12228 12.7318 9.54439 12.7318 9.80474 12.4714L13.8047 8.47141C14.0651 8.21106 14.0651 7.78895 13.8047 7.5286L9.80474 3.5286C9.54439 3.26825 9.12228 3.26825 8.86193 3.5286Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 539 B |
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" fill="none">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.79789 1.3894C8.93146 1.36434 9.06853 1.36434 9.2021 1.3894C9.36089 1.41919 9.5023 1.49151 9.56594 1.52407C9.57246 1.5274 9.57817 1.53032 9.58299 1.53273L16.2556 4.86906C16.5097 4.9961 16.6702 5.2558 16.6702 5.53988C16.6702 5.82396 16.5097 6.08366 16.2556 6.2107L9.58299 9.54703C9.57817 9.54944 9.57246 9.55236 9.56594 9.5557C9.5023 9.58825 9.36089 9.66058 9.2021 9.69037C9.06853 9.71543 8.93146 9.71543 8.79789 9.69037C8.6391 9.66058 8.4977 9.58825 8.43405 9.5557C8.42753 9.55236 8.42182 9.54944 8.417 9.54703L1.74434 6.2107C1.49026 6.08366 1.32975 5.82396 1.32975 5.53988C1.32975 5.2558 1.49026 4.9961 1.74434 4.86906L8.417 1.53273C8.42182 1.53032 8.42753 1.5274 8.43405 1.52407C8.49769 1.49151 8.6391 1.41919 8.79789 1.3894ZM9 2.91829L3.7568 5.53988L9 8.16148L14.2432 5.53988L9 2.91829ZM1.40893 8.66459C1.59418 8.29411 2.04468 8.14394 2.41516 8.32918L9 11.6216L15.5848 8.32918C15.9553 8.14394 16.4058 8.29411 16.5911 8.66459C16.7763 9.03508 16.6261 9.48558 16.2556 9.67082L9.58299 13.0072C9.57817 13.0096 9.57246 13.0125 9.56594 13.0158C9.5023 13.0484 9.36089 13.1207 9.2021 13.1505C9.06853 13.1755 8.93146 13.1755 8.79789 13.1505C8.6391 13.1207 8.4977 13.0484 8.43405 13.0158C8.42753 13.0125 8.42182 13.0096 8.417 13.0072L1.74434 9.67082C1.37386 9.48558 1.22369 9.03508 1.40893 8.66459ZM1.40893 12.1247C1.59418 11.7542 2.04468 11.6041 2.41516 11.7893L9 15.0817L15.5848 11.7893C15.9553 11.6041 16.4058 11.7542 16.5911 12.1247C16.7763 12.4952 16.6261 12.9457 16.2556 13.1309L9.58299 16.4673C9.57817 16.4697 9.57247 16.4726 9.56595 16.4759C9.5023 16.5085 9.36089 16.5808 9.2021 16.6106C9.06853 16.6357 8.93146 16.6357 8.79789 16.6106C8.6391 16.5808 8.49769 16.5085 8.43405 16.4759C8.42753 16.4726 8.42182 16.4697 8.417 16.4673L1.74434 13.1309C1.37386 12.9457 1.22369 12.4952 1.40893 12.1247Z" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" >
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.4583 7.13094L6.60858 6.68746C6.3905 6.63518 6.16154 6.60713 5.92405 6.60713C4.3115 6.60713 3.00427 7.91436 3.00427 9.52691C3.00427 11.1395 4.3115 12.4467 5.92405 12.4467C7.24744 12.4467 8.36881 11.5651 8.72548 10.3539L9.04242 9.2776H13.8426L13.8426 3.93535L8.4583 3.93535V7.13094ZM5.4583 5.13138C3.23625 5.3641 1.50427 7.24324 1.50427 9.52691C1.50427 11.9679 3.48308 13.9467 5.92405 13.9467C7.93065 13.9467 9.62493 12.6095 10.1644 10.7776H13.8426C14.6711 10.7776 15.3426 10.106 15.3426 9.2776V3.93535C15.3426 3.10692 14.6711 2.43535 13.8426 2.43535H8.4583C7.70971 2.43535 7.08919 2.98372 6.97655 3.70068C6.96454 3.77714 6.9583 3.85552 6.9583 3.93535V5.2288C6.62653 5.14926 6.28021 5.10713 5.92405 5.10713C5.76675 5.10713 5.61136 5.11535 5.4583 5.13138Z"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.1475 9.2776L8.10266 14.5515H14.9726L12.3191 9.95547L13.8417 9.27845C13.8419 9.27828 13.8425 9.27776 13.8426 9.2776C13.8426 9.27913 13.8426 9.27969 13.8426 9.27947L13.8426 9.2776C13.8426 9.27778 13.8427 9.27737 13.8426 9.2776C13.8428 9.27708 13.8435 9.27675 13.8435 9.2766C13.8436 9.27654 13.8436 9.2765 13.8435 9.2766C13.8435 9.27675 13.8428 9.27708 13.8426 9.2776L13.8426 3.93535L8.4583 3.93535L8.45832 9.2776H11.1475ZM14.7236 10.4918C15.0988 10.2191 15.3426 9.77685 15.3426 9.2776V3.93535C15.3426 3.10692 14.6711 2.43535 13.8426 2.43535H8.4583C7.62987 2.43535 6.9583 3.10692 6.9583 3.93535L6.95832 9.2776C6.95832 9.58297 7.04957 9.86703 7.2063 10.104C7.47474 10.5099 7.93527 10.7776 8.45832 10.7776H8.54944L6.80362 13.8015C6.22627 14.8015 6.94796 16.0515 8.10266 16.0515H14.9726C16.1273 16.0515 16.849 14.8015 16.2716 13.8015L14.4515 10.6489C14.548 10.606 14.6391 10.5532 14.7236 10.4918Z"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.8426 3.93535L8.4583 3.93535L8.45832 9.2776H13.8426L13.8426 3.93535ZM8.4583 2.43535C7.62987 2.43535 6.9583 3.10692 6.9583 3.93535L6.95832 9.2776C6.95832 10.106 7.62989 10.7776 8.45832 10.7776H13.8426C14.6711 10.7776 15.3426 10.106 15.3426 9.2776V3.93535C15.3426 3.10692 14.6711 2.43535 13.8426 2.43535H8.4583Z" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18">
|
||||
<path d="M7.275 3.39747C7.275 2.44478 8.04731 1.67247 9 1.67247C9.95269 1.67247 10.725 2.44478 10.725 3.39747C10.725 4.35016 9.95269 5.12247 9 5.12247C8.04731 5.12247 7.275 4.35016 7.275 3.39747Z"/>
|
||||
<path d="M13.05 12.7336C13.05 11.7809 13.8223 11.0086 14.775 11.0086C15.7277 11.0086 16.5 11.7809 16.5 12.7336C16.5 13.6863 15.7277 14.4586 14.775 14.4586C13.8223 14.4586 13.05 13.6863 13.05 12.7336Z" />
|
||||
<path d="M1.5 12.7336C1.5 11.7809 2.27231 11.0086 3.225 11.0086C4.17769 11.0086 4.95 11.7809 4.95 12.7336C4.95 13.6863 4.17769 14.4586 3.225 14.4586C2.27231 14.4586 1.5 13.6863 1.5 12.7336Z" />
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.47577 4.59792C6.28566 4.20775 5.81199 4.04174 5.44739 4.27718C4.59257 4.82918 3.87495 5.57494 3.35537 6.45819C2.83579 7.34145 2.53261 8.331 2.46543 9.34633C2.43677 9.7794 2.812 10.1128 3.24539 10.0894C3.67878 10.066 4.0047 9.69385 4.04974 9.26218C4.12336 8.55661 4.34733 7.87177 4.71008 7.25511C5.07284 6.63845 5.56261 6.10997 6.14355 5.70284C6.49897 5.45374 6.66587 4.98809 6.47577 4.59792ZM14.7543 10.0953C15.1877 10.1191 15.5632 9.78614 15.535 9.35303C15.4689 8.33764 15.1667 7.34777 14.648 6.46399C14.1294 5.5802 13.4125 4.83371 12.5583 4.28083C12.1939 4.04501 11.7201 4.21054 11.5295 4.60051C11.339 4.99049 11.5055 5.45631 11.8606 5.70577C12.4412 6.11351 12.9304 6.64248 13.2925 7.25951C13.6546 7.87655 13.8779 8.56161 13.9508 9.26726C13.9954 9.69898 14.3209 10.0714 14.7543 10.0953ZM6.03643 15.6186C5.64939 15.4222 5.55425 14.9294 5.79558 14.5686C6.03691 14.2079 6.52325 14.1176 6.91745 14.2992C7.56177 14.596 8.26499 14.753 8.98043 14.7558C9.69587 14.7586 10.4003 14.6072 11.0469 14.3154C11.4426 14.1369 11.9282 14.2311 12.1667 14.5937C12.4051 14.9563 12.3061 15.4484 11.9176 15.6417C11.0066 16.0951 9.99898 16.3315 8.97425 16.3275C7.94951 16.3235 6.94382 16.0791 6.03643 15.6186Z" />
|
||||
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" >
|
||||
<path d="M2.40921 14.9955C2.74759 15.3952 3.28934 15.595 4.03446 15.595V14.1936C3.74393 14.1936 3.53373 14.0912 3.40384 13.8863C3.27738 13.6815 3.21415 13.3342 3.21415 12.8446V11.3083C3.21415 10.0842 2.95096 9.31726 2.42459 9.00749V8.97752C2.95096 8.66275 3.21415 7.90583 3.21415 6.70673V5.11044C3.21415 4.24109 3.48758 3.80642 4.03446 3.80642V2.40498C3.28251 2.40498 2.73905 2.61482 2.40409 3.03451C2.06913 3.44919 1.90165 4.17115 1.90165 5.20037V6.87161C1.90165 7.82589 1.64188 8.30302 1.12235 8.30302V9.68198C1.64188 9.68198 1.90165 10.1416 1.90165 11.0609V12.8596C1.90165 13.8838 2.07083 14.5958 2.40921 14.9955Z"/>
|
||||
<path d="M15.5908 14.9955C15.2524 15.3952 14.7107 15.595 13.9655 15.595V14.1936C14.2561 14.1936 14.4663 14.0912 14.5962 13.8863C14.7226 13.6815 14.7859 13.3342 14.7859 12.8446V11.3083C14.7859 10.0842 15.049 9.31726 15.5754 9.00749V8.97752C15.049 8.66275 14.7859 7.90583 14.7859 6.70673V5.11044C14.7859 4.24109 14.5124 3.80642 13.9655 3.80642V2.40498C14.7175 2.40498 15.261 2.61482 15.5959 3.03451C15.9309 3.44919 16.0984 4.17115 16.0984 5.20037V6.87161C16.0984 7.82589 16.3581 8.30302 16.8777 8.30302V9.68198C16.3581 9.68198 16.0984 10.1416 16.0984 11.0609V12.8596C16.0984 13.8838 15.9292 14.5958 15.5908 14.9955Z"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.12446 15.595C4.12446 15.6447 4.08416 15.685 4.03446 15.685C3.27447 15.685 2.7023 15.4809 2.34052 15.0536C1.98023 14.628 1.81165 13.8876 1.81165 12.8596V11.0609C1.81165 10.6068 1.74697 10.2807 1.62847 10.071C1.51423 9.86886 1.34901 9.77198 1.12235 9.77198C1.07264 9.77198 1.03235 9.73169 1.03235 9.68198V8.30302C1.03235 8.25332 1.07264 8.21303 1.12235 8.21303C1.23797 8.21303 1.33489 8.18665 1.4163 8.13681C1.49791 8.08683 1.56895 8.0102 1.62778 7.90214C1.74691 7.68331 1.81165 7.34353 1.81165 6.87161V5.20037C1.81165 4.16717 1.97862 3.41818 2.33391 2.97816C2.69205 2.52958 3.26679 2.31498 4.03446 2.31498C4.08416 2.31498 4.12446 2.35528 4.12446 2.40498V3.80642C4.12446 3.85613 4.08416 3.89642 4.03446 3.89642C3.78954 3.89642 3.6144 3.99118 3.4954 4.18035C3.372 4.37651 3.30415 4.68229 3.30415 5.11044V6.70673C3.30415 7.84046 3.07112 8.62051 2.56503 8.99216C2.80368 9.1661 2.98111 9.43386 3.10188 9.78579C3.2379 10.1822 3.30415 10.6908 3.30415 11.3083V12.8446C3.30415 13.3312 3.36786 13.6563 3.48014 13.8386C3.59008 14.0116 3.76791 14.1036 4.03446 14.1036C4.08416 14.1036 4.12446 14.1439 4.12446 14.1936V15.595ZM3.40384 13.8863C3.27738 13.6815 3.21415 13.3342 3.21415 12.8446V11.3083C3.21415 10.1321 2.97117 9.37803 2.48522 9.04599C2.47453 9.03868 2.46373 9.03159 2.45281 9.02469C2.44349 9.01881 2.43408 9.01308 2.42459 9.00749V8.97752C2.43392 8.97194 2.44317 8.96622 2.45233 8.96037C2.46331 8.95335 2.47417 8.94613 2.48492 8.93871C2.97107 8.6031 3.21415 7.85911 3.21415 6.70673V5.11044C3.21415 4.24109 3.48758 3.80642 4.03446 3.80642V2.40498C4.00412 2.40498 3.97412 2.40532 3.94446 2.40601C3.23899 2.42226 2.72553 2.63176 2.40409 3.03451C2.06913 3.44919 1.90165 4.17115 1.90165 5.20037V6.87161C1.90165 7.82589 1.64188 8.30302 1.12235 8.30302V9.68198C1.64188 9.68198 1.90165 10.1416 1.90165 11.0609V12.8596C1.90165 13.8838 2.07083 14.5958 2.40921 14.9955C2.73382 15.3789 3.24556 15.5784 3.94446 15.594C3.97412 15.5947 4.00412 15.595 4.03446 15.595V14.1936C3.74393 14.1936 3.53373 14.0912 3.40384 13.8863ZM13.9655 15.685C13.9158 15.685 13.8755 15.6447 13.8755 15.595V14.1936C13.8755 14.1439 13.9158 14.1036 13.9655 14.1036C14.2321 14.1036 14.4099 14.0116 14.5199 13.8386C14.6321 13.6563 14.6959 13.3312 14.6959 12.8446V11.3083C14.6959 10.6908 14.7621 10.1822 14.8981 9.78579C15.0189 9.43386 15.1963 9.16609 15.435 8.99216C14.9289 8.6205 14.6959 7.84046 14.6959 6.70673V5.11044C14.6959 4.68229 14.628 4.37651 14.5046 4.18035C14.3856 3.99118 14.2105 3.89642 13.9655 3.89642C13.9158 3.89642 13.8755 3.85613 13.8755 3.80642V2.40498C13.8755 2.35528 13.9158 2.31498 13.9655 2.31498C14.7332 2.31498 15.3079 2.52957 15.6661 2.97811C16.0214 3.41813 16.1884 4.16713 16.1884 5.20037V6.87161C16.1884 7.34353 16.2531 7.68331 16.3722 7.90214C16.4311 8.0102 16.5021 8.08683 16.5837 8.13681C16.6651 8.18665 16.762 8.21303 16.8777 8.21303C16.9274 8.21303 16.9677 8.25332 16.9677 8.30302V9.68198C16.9677 9.73169 16.9274 9.77198 16.8777 9.77198C16.651 9.77198 16.4858 9.86886 16.3715 10.071C16.253 10.2807 16.1884 10.6068 16.1884 11.0609V12.8596C16.1884 13.8876 16.0198 14.628 15.6595 15.0536C15.2977 15.4809 14.7255 15.685 13.9655 15.685ZM15.5959 3.03451C15.2745 2.63176 14.761 2.42226 14.0556 2.40601C14.0259 2.40532 13.9959 2.40498 13.9655 2.40498V3.80642C14.5124 3.80642 14.7859 4.24109 14.7859 5.11044V6.70673C14.7859 7.85911 15.0289 8.6031 15.5151 8.93871C15.5258 8.94613 15.5367 8.95335 15.5477 8.96037C15.5568 8.96622 15.5661 8.97194 15.5754 8.97752V9.00749C15.5659 9.01308 15.5565 9.01881 15.5472 9.02469C15.5363 9.03158 15.5255 9.03868 15.5148 9.04599C15.0288 9.37802 14.7859 10.1321 14.7859 11.3083V12.8446C14.7859 13.3342 14.7226 13.6815 14.5962 13.8863C14.4663 14.0912 14.2561 14.1936 13.9655 14.1936V15.595C13.9959 15.595 14.0259 15.5947 14.0556 15.594C14.7544 15.5784 15.2662 15.3789 15.5908 14.9955C15.9292 14.5958 16.0984 13.8838 16.0984 12.8596V11.0609C16.0984 10.1416 16.3581 9.68198 16.8777 9.68198V8.30302C16.3581 8.30302 16.0984 7.82589 16.0984 6.87161V5.20037C16.0984 4.17115 15.9309 3.44919 15.5959 3.03451Z" />
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.81804 5.81801C6.11093 5.52512 6.58581 5.52512 6.8787 5.81801L9.00001 7.93932L11.1213 5.81801C11.4142 5.52512 11.8891 5.52512 12.182 5.81801C12.4749 6.1109 12.4749 6.58578 12.182 6.87867L10.0607 8.99998L12.182 11.1213C12.4749 11.4142 12.4749 11.8891 12.182 12.182C11.8891 12.4749 11.4142 12.4749 11.1213 12.182L9.00001 10.0606L6.87868 12.182C6.58579 12.4749 6.11091 12.4749 5.81802 12.182C5.52513 11.8891 5.52513 11.4142 5.81802 11.1213L7.93935 8.99998L5.81804 6.87867C5.52515 6.58578 5.52515 6.1109 5.81804 5.81801Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 5.8 KiB |
@@ -0,0 +1 @@
|
||||
<svg t="1719284028629" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4376" width="256" height="256"><path d="M381.5 483.7c0-53.1 43.2-96.3 96.3-96.3h85v-187c0-9.4-7.6-17-17-17H137.9c-9.4 0-17 7.6-17 17v283.3c0 9.4 7.6 17 17 17h73.6v32.1l64.3-32.1h105.7v-17z" fill="#9ADCCF" p-id="4377"></path><path d="M747.7 784h-270c-9.4 0-17-7.6-17-17V483.7c0-9.4 7.6-17 17-17h407.9c9.4 0 17 7.6 17 17V767c0 9.4-7.6 17-17 17H812v32.1L747.7 784z" fill="#FFF370" p-id="4378"></path><path d="M341.8 523.4h-56.7c-2.6 0-5.2 0.6-7.6 1.8l-88.7 44.4v-29.2c0-9.4-7.6-17-17-17h-34c-21.9 0-39.7-17.8-39.7-39.7V200.5c0-21.9 17.8-39.7 39.7-39.7h407.9c21.9 0 39.7 17.8 39.7 39.7v147.3c0 9.4 7.6 17 17 17s17-7.6 17-17V200.5c0-40.6-33-73.6-73.6-73.6H137.9c-40.6 0-73.6 33-73.6 73.6v283.3c0 40.6 33 73.6 73.6 73.6h17V597c0 5.9 3 11.4 8.1 14.5 2.7 1.7 5.8 2.5 8.9 2.5 2.6 0 5.2-0.6 7.6-1.8l109.7-54.9h52.6c9.4 0 17-7.6 17-17 0-9.3-7.6-16.9-17-16.9z" fill="#4F3D3B" p-id="4379"></path><path d="M885.7 410.1h-65.8c-9.4 0-17 7.6-17 17s7.6 17 17 17h65.8c21.9 0 39.7 17.8 39.7 39.7V767c0 21.9-17.8 39.7-39.7 39.7h-34c-9.4 0-17 7.6-17 17v29.2L746 808.4c-2.4-1.2-5-1.8-7.6-1.8H477.8c-21.9 0-39.7-17.8-39.7-39.7V483.7c0-21.9 17.8-39.7 39.7-39.7h249.3c9.4 0 17-7.6 17-17s-7.6-17-17-17H477.8c-12.9 0-25 3.3-35.5 9.2l-85-180.7c-2.8-6-8.8-9.8-15.4-9.8s-12.6 3.8-15.4 9.8l-90.6 192.6c-4 8.5-0.3 18.6 8.1 22.6 8.5 4 18.6 0.3 22.6-8.1l19.4-41.2h111.7l18.4 39.1c-7.6 11.6-12 25.4-12 40.2V767c0 40.6 33 73.6 73.6 73.6h256.6L844 895.5c2.4 1.2 5 1.8 7.6 1.8 3.1 0 6.2-0.9 8.9-2.5 5-3.1 8.1-8.6 8.1-14.5v-39.7h17c40.6 0 73.6-33 73.6-73.6V483.7c0.1-40.6-32.9-73.6-73.5-73.6z m-583.8-39.7l39.9-84.7 39.9 84.7h-79.8zM358 733.9c-0.2-0.6-0.3-1.1-0.5-1.7-0.2-0.6-0.6-1.1-0.9-1.7-0.2-0.4-0.4-0.8-0.7-1.2-1.2-1.9-2.9-3.5-4.7-4.7-0.4-0.3-0.8-0.4-1.2-0.6-0.6-0.3-1.1-0.7-1.7-0.9-0.5-0.2-1.1-0.3-1.7-0.5-0.5-0.2-1-0.3-1.5-0.4-1.1-0.2-2.2-0.3-3.3-0.3H241c-21.9 0-39.7-17.8-39.7-39.7v-17.1c0-9.4-7.6-17-17-17s-17 7.6-17 17V682c0 40.6 33 73.6 73.6 73.6h59.8L284.5 772c-6.6 6.6-6.6 17.4 0 24 3.3 3.3 7.7 5 12 5s8.7-1.7 12-5l45.3-45.3c0.8-0.8 1.5-1.7 2.1-2.6 0.3-0.4 0.4-0.8 0.7-1.2 0.3-0.6 0.6-1.1 0.9-1.7 0.2-0.5 0.4-1.1 0.5-1.7 0.1-0.5 0.3-1 0.4-1.5 0.4-2.2 0.4-4.5 0-6.7 0-0.5-0.2-1-0.4-1.4zM665.5 222.3c0.2 0.6 0.3 1.1 0.5 1.7 0.2 0.6 0.6 1.1 0.9 1.7 0.2 0.4 0.4 0.8 0.7 1.2 1.2 1.9 2.9 3.5 4.7 4.7 0.4 0.3 0.8 0.4 1.2 0.6 0.6 0.3 1.1 0.7 1.7 0.9 0.5 0.2 1.1 0.3 1.7 0.5 0.5 0.2 1 0.3 1.5 0.4 1.1 0.2 2.2 0.3 3.3 0.3h100.8c21.9 0 39.7 17.8 39.7 39.7v73.6c0 9.4 7.6 17 17 17s17-7.6 17-17V274c0-40.6-33-73.6-73.6-73.6h-59.8l16.3-16.3c6.6-6.6 6.6-17.4 0-24-6.6-6.6-17.4-6.6-24 0l-45.3 45.3c-0.8 0.8-1.5 1.7-2.1 2.6-0.3 0.4-0.4 0.8-0.7 1.2-0.3 0.6-0.6 1.1-0.9 1.7-0.2 0.5-0.4 1.1-0.5 1.7-0.1 0.5-0.3 1-0.4 1.5-0.4 2.2-0.4 4.5 0 6.7 0 0.5 0.2 1 0.3 1.5z" fill="#4F3D3B" p-id="4380"></path><path d="M681.7 750c9.4 0 17-7.6 17-17v-45.3H778c9.4 0 17-7.6 17-17V580c0-9.4-7.6-17-17-17h-79.3v-45.3c0-9.4-7.6-17-17-17s-17 7.6-17 17V563h-79.3c-9.4 0-17 7.6-17 17v90.6c0 9.4 7.6 17 17 17h79.3V733c0 9.4 7.6 17 17 17z m17-153H761v56.7h-62.3V597z m-96.3 56.7V597h62.3v56.7h-62.3z" fill="#4F3D3B" p-id="4381"></path></svg>
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1 @@
|
||||
<svg t="1730274418124" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11324" width="200" height="200"><path d="M247.898336 292.06743c-49.519903 16.505968-87.715829-27.923945-116.599772-27.661946-28.883944 0.259999-131.633743 46.589909-131.297744 83.727836 0.333999 36.465929 165.363677 142.011723 280.909451 26.465948l-33.011935-82.531838zM776.103304 292.06743c49.519903 16.505968 87.715829-27.923945 116.599772-27.661946 28.883944 0.261999 131.631743 46.591909 131.295744 83.729836-0.331999 36.465929-165.363677 142.011723-280.909451 26.465948l33.013935-82.533838z" fill="#464655" p-id="11325"></path><path d="M684.877482 770.428495c38.135926-165.673676 107.73379-474.585073 107.73379-522.530979 0-49.519903 0-66.025871-33.011936-99.037807-10.519979-10.519979-31.255939-20.937959-56.439889-30.64794-122.67576-47.297908-259.635493-47.297908-382.311254 0-25.183951 9.709981-45.91791 20.127961-56.439889 30.64794-33.011936 33.011936-33.011936 49.519903-33.011936 99.037807 0 47.945906 69.597864 356.857303 107.73379 522.530979l-28.155945 98.547808c-15.063971 52.721897 24.523952 105.205795 79.355845 105.205794h243.347524c54.831893 0 94.421816-52.481897 79.355845-105.205794l-28.155945-98.547808z" fill="#ffffff" p-id="11326"></path><path d="M597.995652 813.026412h-171.989664c-25.43595 0-46.05791 20.61996-46.05791 46.05791a117.56577 117.56577 0 0 0 16.753967 60.485882l18.339964 30.56794a49.515903 49.515903 0 0 0 42.461917 24.041953h108.987788a49.513903 49.513903 0 0 0 42.461917-24.041953l18.339964-30.56794a117.56577 117.56577 0 0 0 16.753967-60.485882c0.004-25.43795-20.61596-46.05791-46.05191-46.05791z" fill="#EBB4A0" p-id="11327"></path><path d="M445.973949 908.154226a16.447968 16.447968 0 0 1-11.669977-4.83599l-33.011936-33.011936a16.499968 16.499968 0 0 1 0-23.341954 16.499968 16.499968 0 0 1 23.341955 0l33.011935 33.011935a16.499968 16.499968 0 0 1 0 23.339955 16.447968 16.447968 0 0 1-11.671977 4.83799zM578.025691 908.154226a16.447968 16.447968 0 0 1-11.669977-4.83599 16.499968 16.499968 0 0 1 0-23.339955l33.013935-33.011935a16.499968 16.499968 0 0 1 23.341955 0 16.499968 16.499968 0 0 1 0 23.341954l-33.011936 33.011936a16.469968 16.469968 0 0 1-11.673977 4.83399z" fill="#D7A091" p-id="11328"></path><path d="M759.597336 148.857709c-10.37398-10.37398-30.68994-20.64796-55.401891-30.241941-15.26197-18.447964-36.863928-40.649921-60.143883-52.289898C611.039627 49.817903 511.99982 49.817903 511.99982 49.817903s-99.037807 0-132.051742 16.505967c-23.281955 11.641977-44.881912 33.841934-60.143883 52.289898-24.709952 9.593981-45.025912 19.867961-55.401891 30.241941-29.425943 29.425943-32.607936 45.89391-32.957936 84.159836 22.629956 1.051998 50.861901 2.223996 64.307874 2.223996 100.699803 0 185.275638-47.077908 213.973582-67.973868l-15.903968 66.171871c52.267898-0.473999 145.389716-46.715909 164.457678-67.523868l17.105967 65.873871c51.1959-33.415935 51.1959-49.921902 51.1959-49.921902s33.365935 0.04 63.583876 18.303964c-3.291994-18.069965-11.147978-31.891938-30.567941-51.3119z" fill="#FFDEB7" p-id="11329"></path><path d="M232.016367 215.05158c-0.587999 9.309982-0.625999 19.917961-0.625999 32.843936 0 47.945906 69.597864 356.857303 107.73379 522.530979 0 0 90.343824-175.895656 90.343823-208.907592 0-32.979936 16.455968-296.567421-197.451614-346.467323z" fill="#6B676E" p-id="11330"></path><path d="M297.426239 404.71721a41.265919 24.759952 90 1 0 49.519903 0 41.265919 24.759952 90 1 0-49.519903 0Z" fill="#464655" p-id="11331"></path><path d="M791.985273 215.05158c0.587999 9.309982 0.625999 19.917961 0.625999 32.843936 0 47.945906-69.597864 356.857303-107.73379 522.530979 0 0-90.343824-175.895656-90.343823-208.907592 0-32.979936-16.453968-296.567421 197.451614-346.467323z" fill="#6B676E" p-id="11332"></path><path d="M677.055498 404.71721a41.265919 24.759952 90 1 0 49.519903 0 41.265919 24.759952 90 1 0-49.519903 0Z" fill="#464655" p-id="11333"></path></svg>
|
After Width: | Height: | Size: 3.9 KiB |
@@ -0,0 +1 @@
|
||||
<svg t="1730275413281" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16472" width="200" height="200"><path d="M919 233.6s-46.2-41.4-93.4-63.2c-51.4-26.6-124-25.4-124-25.4s-51.2-4.1-103.6 22.6c-52.4 26.7-91.1 62.9-91.1 62.9s-53.5-44.1-100.8-67.2S290.7 145 290.7 145s-64.9 3.6-106.7 23.8c-41.8 20.3-80.1 68.4-80.1 68.4v621.4s59-55.1 94.2-70.6c35.2-15.5 90.3-15 90.3-15s66 8.5 105.3 25.7c39.3 17.1 113.2 80.7 113.2 80.7s47.1-54.2 84.9-74.5c64.1-35.7 127.7-30.6 127.7-30.6s39.1 1.8 93.4 23.8c49.4 20 107.1 61.7 107.1 61.7l-1-626.2zM486.9 811s-101.1-86.3-198.4-84.3c-91.7 1.8-126.8 26.9-150.6 52.5 0.9-30.2-0.4-519.3-0.4-519.3s35.2-68.4 154.1-73.9c101-9.2 188.2 67.8 193.6 82.5 2.5 19.2 1.7 542.5 1.7 542.5z m394.8-20.2c-23.8-25.7-87.5-64.2-179.1-66-97.3-1.9-173.9 87.1-173.9 87.1s-0.8-523.3 1.7-542.5c8.5-14.7 74.7-88 193.6-82.5 103 4.8 159.1 72.2 159.1 72.2s-1.3 501.7-1.4 531.7z" fill="#000000" p-id="16473"></path><path d="M544.6 609.5h-65.1c-6.6 0-12-5.4-12-12v-171c0-6.6 5.4-12 12-12h65.1c6.6 0 12 5.4 12 12v171c0 6.6-5.4 12-12 12z" fill="#000000" p-id="16474"></path><path d="M544.6 609.5h-65.1c-6.6 0-12-5.4-12-12v-171c0-6.6 5.4-12 12-12h65.1c6.6 0 12 5.4 12 12v171c0 6.6-5.4 12-12 12z" fill="#000000" p-id="16475"></path></svg>
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1 @@
|
||||
<svg t="1730274794897" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12770" width="200" height="200"><path d="M841.5 378.7c-7.7-15-11.6-31.4-21-45.5-18-34.4-43-66.1-72.2-93.2-15.5-9.9-28.4-22.3-43.8-32.2-13.7-9-28.8-16.3-43-24.1-21.9-8.6-43-17.6-65.7-23.2-9-0.9-16.8-5.2-25.8-5.2l-37.4-4.3c-19.3-2.1-39.5-0.4-59.3 0.9-44.2 3.4-83.3 18-122.4 35.2-67.4 33.5-128 91.5-161.1 160.2-24.9 52-38.7 111.2-36.9 167.9 0 7.3 2.1 18 1.3 24.9 3.4 13.3 3 25.8 6.4 38.2 20.6 95.8 82 185.1 172.2 235.4 16.3 12 35.2 17.2 53.3 24.5 63.6 24.1 143.9 28.3 210.9 10.3 95.8-21.9 184.3-91.1 228.5-181.7 0.9-0.9 2.1-0.9 1.3-2.6 43-86.6 50.3-192.3 14.7-285.5z m-409.8-69.1c11.2-9.5 24.9-17.2 41.7-13.3 12 3 22.3 11.6 28.8 22.8 6 11.2 8.2 29.6 0 40.8-7.3 12.5-21.5 22.8-36.1 23.2-16.8-0.9-34.8-8.2-41.2-25.3-9.1-16-3.9-34.5 6.8-48.2z m386.1 335.9c-28.4 65.7-87.2 128.9-152.1 159.8-20.2 10.7-40.8 20.6-63.1 24.1-9.9 0-18.5 2.6-28.4 2.6l-25.8-2.6c-5.6-1.3-10.7-5.2-16.8-3.9-29.2-4.7-56.3-20.6-78.6-41.7-40.8-42.1-57.1-104.4-40.8-158.9 8.2-27.1 24.5-52.8 46-72.2 26.2-18.5 52.8-35.7 78.2-56.7 30.5-21.9 64.4-45.5 79-80.8 12-17.6 14.2-39.1 18-60.1 6.4-62.7-24.5-127.6-81.2-160.2-11.2-7.7-24.5-11.2-36.1-17.6-13.3-2.1-24.9-7.7-37.8-7.7-1.3-0.9 0.4-0.9-0.4-1.3 30.9-5.2 70.9-1.7 103.5 5.2C669 192 752.3 250.4 798.7 328.6l13.3 23.6c46.2 86.7 48.4 206.1 5.8 293.3z m-213.9 14.1c5.6 16.8 1.7 36.5-11.6 49-12.5 9-28.4 16.8-44.2 11.2-12-4.3-24.5-13.3-30.5-24.5-5.6-12-3.9-27.5 1.7-39.1 8.2-15.9 25.8-21.9 40.8-27.5 19.4-0.4 36.5 13.8 43.8 30.9z m44.2 246.2l-0.4 0.4-1.3-1.7c0.4 0.4 0.8 0.8 1.7 1.3z m-51.6 8.5h0.4-0.4z m-4.7 0.5c0 0.4-0.4 0.4-1.3 0.4 0.5-0.9 0.9-0.4 1.3-0.4z m0 0" fill="#000000" p-id="12771"></path></svg>
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1 @@
|
||||
<svg width="100%" height="100%" viewBox="0 0 89 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M52.308 3.07812H57.8465V4.92428H56.0003V6.77043H54.1541V10.4627H57.8465V12.3089H54.1541V25.232H52.308V27.0781H46.7695V25.232H48.6157V12.3089H46.7695V10.4627H48.6157V6.77043H50.4618V4.92428H52.308V3.07812Z" fill="currentColor"></path><path d="M79.3849 23.3858H81.2311V25.232H83.0772V27.0781H88.6157V25.232H86.7695V23.3858H84.9234V4.92428H79.3849V23.3858Z" fill="currentColor"></path><path d="M57.8465 14.155H59.6926V12.3089H61.5388V10.4627H70.7695V12.3089H74.4618V23.3858H76.308V25.232H78.1541V27.0781H72.6157V25.232H70.7695V23.3858H68.9234V14.155H67.0772V12.3089H65.2311V14.155H63.3849V23.3858H65.2311V25.232H67.0772V27.0781H61.5388V25.232H59.6926V23.3858H57.8465V14.155Z" fill="currentColor"></path><path d="M67.0772 25.232V23.3858H68.9234V25.232H67.0772Z" fill="currentColor"></path><rect opacity="0.22" x="7.38477" y="29.5391" width="2.46154" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.85" x="2.46094" y="19.6914" width="12.3077" height="2.46154" fill="#5F4CD9"></rect><rect x="4.92383" y="17.2305" width="9.84615" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.4" x="7.38477" y="27.0781" width="4.92308" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.7" y="22.1562" width="14.7692" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.5" x="7.38477" y="24.6133" width="7.38462" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.22" x="7.38477" y="12.3086" width="2.46154" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.85" x="2.46094" y="2.46094" width="12.3077" height="2.46154" fill="#5F4CD9"></rect><rect x="4.92383" width="9.84615" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.4" x="7.38477" y="9.84375" width="4.92308" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.7" y="4.92188" width="14.7692" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.5" x="7.38477" y="7.38281" width="7.38462" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.22" x="24.6152" y="29.5391" width="2.46154" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.85" x="19.6914" y="19.6914" width="12.3077" height="2.46154" fill="#5F4CD9"></rect><rect x="22.1543" y="17.2305" width="9.84615" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.4" x="24.6152" y="27.0781" width="4.92308" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.7" x="17.2305" y="22.1562" width="14.7692" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.5" x="24.6152" y="24.6133" width="7.38462" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.22" x="24.6152" y="12.3086" width="2.46154" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.85" x="19.6914" y="2.46094" width="12.3077" height="2.46154" fill="#5F4CD9"></rect><rect x="22.1543" width="9.84615" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.4" x="24.6152" y="9.84375" width="4.92308" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.7" x="17.2305" y="4.92188" width="14.7692" height="2.46154" fill="#5F4CD9"></rect><rect opacity="0.5" x="24.6152" y="7.38281" width="7.38462" height="2.46154" fill="#5F4CD9"></rect></svg>
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1 @@
|
||||
<svg t="1730273562336" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4241" width="200" height="200"><path d="M960 512c0 97.76-28.704 185.216-85.664 263.264-56.96 78.016-130.496 131.84-220.64 161.856-10.304 1.824-18.368 0.448-22.848-4.032a22.4 22.4 0 0 1-7.2-17.504v-122.88c0-37.632-10.304-65.44-30.464-82.912a409.856 409.856 0 0 0 59.616-10.368 222.752 222.752 0 0 0 54.72-22.816c18.848-10.784 34.528-23.36 47.104-38.592 12.544-15.232 22.848-35.904 30.912-61.44 8.096-25.568 12.128-54.688 12.128-87.904 0-47.072-15.232-86.976-46.208-120.16 14.368-35.456 13.024-74.912-4.48-118.848-10.752-3.616-26.432-1.344-47.072 6.272s-38.56 16.16-53.824 25.568l-21.984 13.888c-36.32-10.304-73.536-15.232-112.096-15.232s-75.776 4.928-112.096 15.232a444.48 444.48 0 0 0-24.672-15.68c-10.336-6.272-26.464-13.888-48.896-22.432-21.952-8.96-39.008-11.232-50.24-8.064-17.024 43.936-18.368 83.424-4.032 118.848-30.496 33.632-46.176 73.536-46.176 120.608 0 33.216 4.032 62.336 12.128 87.456 8.032 25.12 18.368 45.76 30.496 61.44 12.544 15.68 28.224 28.704 47.072 39.04 18.848 10.304 37.216 17.92 54.72 22.816a409.6 409.6 0 0 0 59.648 10.368c-15.712 13.856-25.12 34.048-28.704 60.064a99.744 99.744 0 0 1-26.464 8.512 178.208 178.208 0 0 1-33.184 2.688c-13.024 0-25.568-4.032-38.144-12.544-12.544-8.512-23.296-20.64-32.256-36.32a97.472 97.472 0 0 0-28.256-30.496c-11.232-8.064-21.088-12.576-28.704-13.92l-11.648-1.792c-8.096 0-13.92 0.928-17.056 2.688-3.136 1.792-4.032 4.032-2.688 6.72s3.136 5.408 5.376 8.096 4.928 4.928 7.616 7.168l4.032 2.688c8.544 4.032 17.056 11.232 25.568 21.984 8.544 10.752 14.368 20.64 18.4 29.6l5.824 13.44c4.928 14.816 13.44 26.912 25.568 35.872 12.096 8.992 25.088 14.816 39.008 17.504 13.888 2.688 27.36 4.032 40.352 4.032s23.776-0.448 32.288-2.24l13.472-2.24c0 14.784 0 32.288 0.416 52.032 0 19.744 0.48 30.496 0.48 31.392a22.624 22.624 0 0 1-7.648 17.472c-4.928 4.48-12.992 5.824-23.296 4.032-90.144-30.048-163.68-83.84-220.64-161.888C92.256 697.216 64 609.312 64 512c0-81.152 20.192-156.064 60.096-224.672s94.176-122.88 163.232-163.232C355.936 84.192 430.816 64 512 64s156.064 20.192 224.672 60.096 122.88 94.176 163.232 163.232C939.808 355.488 960 430.848 960 512" fill="#000000" p-id="4242"></path></svg>
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1 @@
|
||||
<svg t="1719285050683" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6411" width="256" height="256"><path d="M214.101333 512c0-32.512 5.546667-63.701333 15.36-92.928L57.173333 290.218667A491.861333 491.861333 0 0 0 4.693333 512c0 79.701333 18.858667 154.88 52.394667 221.610667l172.202667-129.066667A290.56 290.56 0 0 1 214.101333 512" fill="#FBBC05" p-id="6412"></path><path d="M516.693333 216.192c72.106667 0 137.258667 25.002667 188.458667 65.962667L854.101333 136.533333C763.349333 59.178667 646.997333 11.392 516.693333 11.392c-202.325333 0-376.234667 113.28-459.52 278.826667l172.373334 128.853333c39.68-118.016 152.832-202.88 287.146666-202.88" fill="#EA4335" p-id="6413"></path><path d="M516.693333 807.808c-134.357333 0-247.509333-84.864-287.232-202.88l-172.288 128.853333c83.242667 165.546667 257.152 278.826667 459.52 278.826667 124.842667 0 244.053333-43.392 333.568-124.757333l-163.584-123.818667c-46.122667 28.458667-104.234667 43.776-170.026666 43.776" fill="#34A853" p-id="6414"></path><path d="M1005.397333 512c0-29.568-4.693333-61.44-11.648-91.008H516.650667V614.4h274.602666c-13.696 65.962667-51.072 116.650667-104.533333 149.632l163.541333 123.818667c93.994667-85.418667 155.136-212.650667 155.136-375.850667" fill="#4285F4" p-id="6415"></path></svg>
|
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 6.6 KiB |
@@ -0,0 +1 @@
|
||||
<svg t="1719284536895" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5409" width="256" height="256"><path d="M891.318857 340.845714c4.900571 0 9.728 0.292571 14.628572 0.804572a409.965714 409.965714 0 0 1 108.836571 30.061714c10.093714 4.534857 12.580571 8.192 3.949714 17.334857-24.868571 26.624-45.494857 57.051429-61.001143 89.965714-16.822857 35.328-35.108571 69.851429-52.297142 105.033143a225.28 225.28 0 0 1-52.150858 69.412572c-53.613714 48.493714-116.150857 68.973714-187.538285 59.099428-81.92-11.337143-159.451429-38.985143-232.740572-75.483428a143.506286 143.506286 0 0 1-10.459428-5.485715 5.339429 5.339429 0 0 1 0.292571-9.216l5.12-2.706285c59.245714-31.670857 108.836571-75.849143 156.525714-122.294857 20.187429-19.529143 39.497143-40.009143 59.904-59.318858A345.014857 345.014857 0 0 1 804.571429 352.256c13.165714-3.218286 26.550857-5.778286 39.789714-8.630857h0.585143l28.233143-2.56" fill="#133C9A" p-id="5410"></path><path d="M317.659429 913.846857c-8.996571-0.512-31.158857-3.584-33.865143-3.949714a536.429714 536.429714 0 0 1-165.083429-48.274286c-30.208-14.116571-59.245714-30.72-88.356571-46.957714-19.163429-10.678857-27.794286-27.282286-27.648-49.883429 0.585143-83.382857 0.585143-166.765714 0-250.148571C2.413714 461.019429 0.731429 407.405714 0 353.718857c0-4.754286 0.731429-9.508571 2.194286-13.897143 3.291429-9.728 9.947429-10.24 16.530285-3.949714 7.606857 7.314286 13.677714 16.237714 21.211429 23.405714 67.291429 66.413714 138.752 127.195429 218.770286 177.225143 45.056 28.891429 91.940571 54.710857 140.434285 77.385143 77.750857 35.328 157.549714 66.486857 241.078858 86.235429 73.874286 17.481143 145.627429 6.436571 205.458285-40.374858 18.285714-15.652571 27.282286-27.062857 48.932572-55.881142a359.862857 359.862857 0 0 1-37.376 72.850285c-13.897143 21.942857-45.348571 51.2-69.193143 74.093715-36.278857 35.108571-83.748571 63.561143-128.292572 87.552-48.566857 26.185143-99.035429 47.104-152.941714 58.514285-27.648 6.948571-67.584 14.848-81.334857 15.579429-2.413714-0.146286-10.678857 1.682286-14.848 1.389714-35.547429 2.633143-57.490286 3.657143-92.891429 0z" fill="#3370FF" p-id="5411"></path><path d="M165.083429 110.518857a52.443429 52.443429 0 0 1 7.460571 0c152.649143 0 304.128 2.486857 456.630857 2.486857 0.292571 0 0.585143 0 0.731429 0.219429 14.189714 12.361143 27.282286 25.746286 39.277714 40.155428 34.450286 34.230857 60.123429 93.622857 77.677714 129.755429 8.777143 25.014857 21.942857 48.859429 28.16 76.8v0.438857c-15.579429 5.046857-30.72 11.190857-45.348571 18.505143-44.178286 22.381714-64.219429 38.765714-100.790857 74.752-19.968 19.529143-37.010286 37.083429-63.488 62.098286a563.346286 563.346286 0 0 1-29.769143 26.916571c-7.021714-12.434286-125.732571-244.589714-364.251429-427.300571" fill="#00D6B9" p-id="5412"></path></svg>
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1 @@
|
||||
<svg t="1730279749380" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23191" width="200" height="200"><path d="M192.682417 617.135502c10.498098 8.652054 23.62507 13.31833 37.040614 13.31833 2.300392 0 4.601808-0.1361 6.901177-0.407276 15.794731-1.89721 30.119995-10.181897 39.748283-22.918989L396.811538 447.300442l119.918183 101.526301c12.158924 10.277064 27.935236 15.387455 43.767829 13.491269 15.813151-1.664919 30.273491-9.69685 40.055275-22.317285l275.42491-354.942965c2.010797-2.593058 3.596921-5.380544 5.124717-8.16803l48.350195-57.257052c25.903973-30.679743 14.769378-50.598398-24.746614-44.248783l-227.867778 36.583197c-39.534412 6.349615-47.749514 33.8172-18.268062 61.070914l45.565778 42.100864L545.629935 419.407162l-120.55468-102.08605c-12.275581-10.336416-28.14706-15.21554-44.192501-13.452383-15.930831 1.780553-30.448476 10.083659-40.134069 22.955828l-120.960932 160.526043-58.093093-47.792493c-25.01472-20.595061-61.901839-16.917298-82.35466 8.284687-20.452821 25.163099-16.780175 62.250786 8.255011 82.807984L192.682417 617.135502z" fill="#F45944" p-id="23192"></path><path d="M878.626052 349.259522 610.025571 676.327626c-12.063757 15.291265-42.744523-6.658653-57.551764-19.240203l-107.951641-94.964862c-14.808264-12.580526-37.000706 8.710382-49.315172 23.809265l-125.447107 153.884786c-12.294001 15.098883-34.411741-2.206248-49.103348-14.924921l-109.457948-87.046518c-19.641339-18.891256-38.375006 0.813528-38.375006 38.48143l0.676405 233.131665c0.037862 19.550265 15.928784 35.538401 35.280528 35.557844l810.558793 0.639566c19.371186 0.01842 35.20378-15.969717 35.20378-35.519981 0 0 0.811482-503.446183 0.811482-541.656437C955.37504 317.243341 914.912489 307.410392 878.626052 349.259522z" fill="#F45944" p-id="23193"></path></svg>
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.05 1.5C6.25106 1.5 1.55005 6.20101 1.55005 12C1.55005 17.799 6.25106 22.5 12.05 22.5C17.849 22.5 22.55 17.799 22.55 12C22.55 6.20101 17.849 1.5 12.05 1.5ZM4.45357 10.6776L5.23449 9.8967C6.52836 8.60283 8.62614 8.60282 9.92001 9.89669L15.3864 15.3631C13.6613 17.0883 10.8642 17.0883 9.13909 15.3631L4.45357 10.6776ZM13.0437 11.4585L13.8246 10.6776C14.8765 9.62569 16.4598 9.42898 17.7104 10.0875C18.2671 10.3806 18.8755 10.6306 19.4995 10.5504C19.4995 10.5504 19.0284 11.5308 18.6367 12.1034C17.8653 13.2312 16.1674 14.5822 16.1674 14.5822L13.0437 11.4585Z" fill="url(#paint0_linear_15358_11488)"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_15358_11488" x1="12.05" y1="1.5" x2="12.05" y2="22.5" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#00BCA6"/>
|
||||
<stop offset="1" stop-color="#00AF9A"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 978 B |
@@ -58,4 +58,4 @@ const MyNumberInput = (props: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default MyNumberInput;
|
||||
export default React.memo(MyNumberInput);
|
||||
|
@@ -13,4 +13,4 @@ const SearchInput = (props: InputProps) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default SearchInput;
|
||||
export default React.memo(SearchInput);
|
||||
|
@@ -17,4 +17,4 @@ const MyBox = ({ text, isLoading, children, size, ...props }: Props, ref: any) =
|
||||
);
|
||||
};
|
||||
|
||||
export default forwardRef(MyBox);
|
||||
export default React.memo(forwardRef(MyBox));
|
||||
|
@@ -44,4 +44,4 @@ const Loading = ({
|
||||
);
|
||||
};
|
||||
|
||||
export default Loading;
|
||||
export default React.memo(Loading);
|
||||
|
@@ -77,4 +77,4 @@ const InputSlider = ({
|
||||
);
|
||||
};
|
||||
|
||||
export default InputSlider;
|
||||
export default React.memo(InputSlider);
|
||||
|
@@ -15,4 +15,4 @@ const QuestionTip = ({ label, maxW, ...props }: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default QuestionTip;
|
||||
export default React.memo(QuestionTip);
|
||||
|
@@ -20,31 +20,22 @@ export default function VariableLabel({
|
||||
<Box
|
||||
display="inline-flex"
|
||||
alignItems="center"
|
||||
m={'2px'}
|
||||
mx={'2px'}
|
||||
rounded={'4px'}
|
||||
px={1.5}
|
||||
py={'1px'}
|
||||
bg={parentLabel !== 'undefined' ? 'primary.50' : 'red.50'}
|
||||
color={parentLabel !== 'undefined' ? 'myGray.900' : 'red.600'}
|
||||
transform={parentLabel !== 'undefined' ? 'translateY(3px)' : ''}
|
||||
>
|
||||
{parentLabel !== 'undefined' ? (
|
||||
<Flex alignItems={'center'} color={'myGray.600'}>
|
||||
<Avatar
|
||||
src={nodeAvatar as any}
|
||||
w={'1rem'}
|
||||
mr={1}
|
||||
borderRadius={'xs'}
|
||||
display={'inline-flex'}
|
||||
verticalAlign={'middle'}
|
||||
/>
|
||||
<Flex alignItems={'center'} color={'myGray.600'} fontSize={'sm'}>
|
||||
<Avatar src={nodeAvatar as any} w={'1rem'} mr={1} borderRadius={'xs'} />
|
||||
{parentLabel}
|
||||
<ChevronRightIcon color={'myGray.500'} />
|
||||
{childLabel}
|
||||
</Flex>
|
||||
) : (
|
||||
<>
|
||||
<Box>{t('common:invalid_variable')}</Box>
|
||||
</>
|
||||
<Box>{t('common:invalid_variable')}</Box>
|
||||
)}
|
||||
</Box>
|
||||
</>
|
||||
|
@@ -0,0 +1,28 @@
|
||||
import { Box, Flex } from '@chakra-ui/react';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
|
||||
export default function Variable({ variableLabel }: { variableLabel: string }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box
|
||||
display="inline-flex"
|
||||
alignItems="center"
|
||||
mx={'2px'}
|
||||
rounded={'4px'}
|
||||
px={1.5}
|
||||
py={'1px'}
|
||||
{...(variableLabel
|
||||
? { bg: 'primary.50', color: 'primary.600' }
|
||||
: { bg: 'red.50', color: 'red.600' })}
|
||||
>
|
||||
{variableLabel ? (
|
||||
<Flex alignItems={'center'}>{variableLabel}</Flex>
|
||||
) : (
|
||||
<Box>{t('common:invalid_variable')}</Box>
|
||||
)}
|
||||
</Box>
|
||||
</>
|
||||
);
|
||||
}
|
@@ -5,8 +5,8 @@ import { useCallback, useEffect, useMemo } from 'react';
|
||||
|
||||
import { getHashtagRegexString } from './utils';
|
||||
import { registerLexicalTextEntity } from '../../utils';
|
||||
import { $createVariableNode, VariableNode } from './node';
|
||||
import { EditorVariablePickerType } from '../../type';
|
||||
import { $createVariableNode, VariableNode } from './node';
|
||||
|
||||
const REGEX = new RegExp(getHashtagRegexString(), 'i');
|
||||
|
||||
@@ -22,7 +22,11 @@ export default function VariablePlugin({ variables }: { variables: EditorVariabl
|
||||
}, [variables]);
|
||||
|
||||
const createVariableNode = useCallback((textNode: TextNode): VariableNode => {
|
||||
return $createVariableNode(textNode.getTextContent());
|
||||
const currentVariable = variables.find(
|
||||
(item) => item.key === textNode.getTextContent().replace(/[{}]/g, '')
|
||||
);
|
||||
const variableLabel = currentVariable?.label;
|
||||
return $createVariableNode(textNode.getTextContent(), variableLabel || '');
|
||||
}, []);
|
||||
|
||||
const getVariableMatch = useCallback((text: string) => {
|
||||
|
@@ -1,49 +0,0 @@
|
||||
import type { NodeKey, EditorConfig, LexicalNode, SerializedTextNode } from 'lexical';
|
||||
|
||||
import { TextNode, $applyNodeReplacement } from 'lexical';
|
||||
import { addClassNamesToElement } from '@lexical/utils';
|
||||
import styles from '../../index.module.scss';
|
||||
|
||||
export class VariableNode extends TextNode {
|
||||
static getType(): string {
|
||||
return 'variable';
|
||||
}
|
||||
|
||||
static clone(node: VariableNode): VariableNode {
|
||||
return new VariableNode(node.__text, node.__key);
|
||||
}
|
||||
|
||||
constructor(text: string, key?: NodeKey) {
|
||||
super(text, key);
|
||||
}
|
||||
|
||||
createDOM(config: EditorConfig): HTMLElement {
|
||||
const element = super.createDOM(config);
|
||||
addClassNamesToElement(element, styles.variable);
|
||||
return element;
|
||||
}
|
||||
|
||||
static importJSON(serializedNode: SerializedTextNode): TextNode {
|
||||
const node = $createVariableNode(serializedNode.text);
|
||||
node.setFormat(serializedNode.format);
|
||||
node.setDetail(serializedNode.detail);
|
||||
node.setMode(serializedNode.mode);
|
||||
node.setStyle(serializedNode.style);
|
||||
return node;
|
||||
}
|
||||
|
||||
exportJSON(): SerializedTextNode {
|
||||
return {
|
||||
...super.exportJSON(),
|
||||
type: 'variable'
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export function $createVariableNode(text: string): VariableNode {
|
||||
return $applyNodeReplacement(new VariableNode(text));
|
||||
}
|
||||
|
||||
export function $isVariableNode(node: LexicalNode | null | undefined): node is VariableNode {
|
||||
return node instanceof VariableNode;
|
||||
}
|
@@ -0,0 +1,105 @@
|
||||
import {
|
||||
DecoratorNode,
|
||||
DOMConversionMap,
|
||||
DOMExportOutput,
|
||||
EditorConfig,
|
||||
LexicalEditor,
|
||||
LexicalNode,
|
||||
NodeKey,
|
||||
SerializedLexicalNode,
|
||||
Spread,
|
||||
TextFormatType
|
||||
} from 'lexical';
|
||||
import Variable from './components/Variable';
|
||||
|
||||
export type SerializedVariableNode = Spread<
|
||||
{
|
||||
variableKey: string;
|
||||
variableLabel: string;
|
||||
format: number | TextFormatType;
|
||||
},
|
||||
SerializedLexicalNode
|
||||
>;
|
||||
|
||||
export class VariableNode extends DecoratorNode<JSX.Element> {
|
||||
__format: number | TextFormatType;
|
||||
__variableKey: string;
|
||||
__variableLabel: string;
|
||||
static getType(): string {
|
||||
return 'Variable';
|
||||
}
|
||||
static clone(node: VariableNode): VariableNode {
|
||||
return new VariableNode(node.__variableKey, node.__variableLabel, node.__format, node.__key);
|
||||
}
|
||||
constructor(
|
||||
variableKey: string,
|
||||
variableLabel: string,
|
||||
format?: number | TextFormatType,
|
||||
key?: NodeKey
|
||||
) {
|
||||
super(key);
|
||||
this.__variableKey = variableKey;
|
||||
this.__format = format || 0;
|
||||
this.__variableLabel = variableLabel;
|
||||
}
|
||||
|
||||
static importJSON(serializedNode: SerializedVariableNode): VariableNode {
|
||||
const node = $createVariableNode(serializedNode.variableKey, serializedNode.variableLabel);
|
||||
node.setFormat(serializedNode.format);
|
||||
return node;
|
||||
}
|
||||
|
||||
setFormat(format: number | TextFormatType): void {
|
||||
const self = this.getWritable();
|
||||
self.__format = format;
|
||||
}
|
||||
getFormat(): number | TextFormatType {
|
||||
return this.__format;
|
||||
}
|
||||
|
||||
exportJSON(): SerializedVariableNode {
|
||||
return {
|
||||
format: this.__format || 0,
|
||||
type: 'Variable',
|
||||
version: 1,
|
||||
variableKey: this.getVariableKey(),
|
||||
variableLabel: this.__variableLabel
|
||||
};
|
||||
}
|
||||
createDOM(): HTMLElement {
|
||||
const element = document.createElement('span');
|
||||
return element;
|
||||
}
|
||||
exportDOM(): DOMExportOutput {
|
||||
const element = document.createElement('span');
|
||||
return { element };
|
||||
}
|
||||
static importDOM(): DOMConversionMap | null {
|
||||
return {};
|
||||
}
|
||||
updateDOM(): false {
|
||||
return false;
|
||||
}
|
||||
getVariableKey(): string {
|
||||
return this.__variableKey;
|
||||
}
|
||||
getTextContent(
|
||||
_includeInert?: boolean | undefined,
|
||||
_includeDirectionless?: false | undefined
|
||||
): string {
|
||||
return `${this.__variableKey}`;
|
||||
}
|
||||
decorate(_editor: LexicalEditor, config: EditorConfig): JSX.Element {
|
||||
return <Variable variableLabel={this.__variableLabel} />;
|
||||
}
|
||||
}
|
||||
|
||||
export function $createVariableNode(variableKey: string, variableLabel: string): VariableNode {
|
||||
return new VariableNode(variableKey, variableLabel);
|
||||
}
|
||||
|
||||
export function $isVariableNode(
|
||||
node: VariableNode | LexicalNode | null | undefined
|
||||
): node is VariableNode {
|
||||
return node instanceof VariableNode;
|
||||
}
|
@@ -11,8 +11,9 @@ import type { EntityMatch } from '@lexical/text';
|
||||
import { $createTextNode, $getRoot, $isTextNode, TextNode } from 'lexical';
|
||||
import { useCallback } from 'react';
|
||||
import { VariableLabelNode } from './plugins/VariableLabelPlugin/node';
|
||||
import { VariableNode } from './plugins/VariablePlugin/node';
|
||||
|
||||
export function registerLexicalTextEntity<T extends TextNode | VariableLabelNode>(
|
||||
export function registerLexicalTextEntity<T extends TextNode | VariableLabelNode | VariableNode>(
|
||||
editor: LexicalEditor,
|
||||
getMatch: (text: string) => null | EntityMatch,
|
||||
targetNode: Klass<T>,
|
||||
@@ -22,7 +23,7 @@ export function registerLexicalTextEntity<T extends TextNode | VariableLabelNode
|
||||
return node instanceof targetNode;
|
||||
};
|
||||
|
||||
const replaceWithSimpleText = (node: TextNode | VariableLabelNode): void => {
|
||||
const replaceWithSimpleText = (node: TextNode | VariableLabelNode | VariableNode): void => {
|
||||
const textNode = $createTextNode(node.getTextContent());
|
||||
textNode.setFormat(node.getFormat());
|
||||
node.replace(textNode);
|
||||
@@ -228,6 +229,8 @@ export function editorStateToText(editor: LexicalEditor) {
|
||||
paragraphText.push(child.text);
|
||||
} else if (child.type === 'variableLabel') {
|
||||
paragraphText.push(child.variableKey);
|
||||
} else if (child.type === 'Variable') {
|
||||
paragraphText.push(child.variableKey);
|
||||
}
|
||||
});
|
||||
editorStateTextString.push(paragraphText.join(''));
|
||||
|
@@ -1,6 +1,8 @@
|
||||
import { FlowNodeTemplateTypeEnum } from '@fastgpt/global/core/workflow/constants';
|
||||
import { i18nT } from '../../i18n/utils';
|
||||
import type { PluginGroupSchemaType, TGroupType } from '../../../service/core/app/plugin/type';
|
||||
import { AppTemplateTypeEnum } from '@fastgpt/global/core/app/constants';
|
||||
import { TemplateTypeSchemaType } from '@fastgpt/global/core/app/type';
|
||||
|
||||
export const workflowNodeTemplateList = [
|
||||
{
|
||||
@@ -79,3 +81,31 @@ export const defaultGroup: PluginGroupSchemaType = {
|
||||
groupOrder: 0,
|
||||
groupTypes: systemPluginTemplateList
|
||||
};
|
||||
|
||||
export const defaultTemplateTypes: TemplateTypeSchemaType[] = [
|
||||
{
|
||||
typeName: i18nT('common:app.templateMarket.templateTags.Writing'),
|
||||
typeId: AppTemplateTypeEnum.writing,
|
||||
typeOrder: 0
|
||||
},
|
||||
{
|
||||
typeName: i18nT('common:app.templateMarket.templateTags.Image_generation'),
|
||||
typeId: AppTemplateTypeEnum.imageGeneration,
|
||||
typeOrder: 1
|
||||
},
|
||||
{
|
||||
typeName: i18nT('common:app.templateMarket.templateTags.Web_search'),
|
||||
typeId: AppTemplateTypeEnum.webSearch,
|
||||
typeOrder: 2
|
||||
},
|
||||
{
|
||||
typeName: i18nT('common:app.templateMarket.templateTags.Roleplay'),
|
||||
typeId: AppTemplateTypeEnum.roleplay,
|
||||
typeOrder: 3
|
||||
},
|
||||
{
|
||||
typeName: i18nT('common:app.templateMarket.templateTags.Office_services'),
|
||||
typeId: AppTemplateTypeEnum.officeServices,
|
||||
typeOrder: 4
|
||||
}
|
||||
];
|
||||
|
@@ -9,5 +9,6 @@
|
||||
"personalization": "Personalization",
|
||||
"promotion_records": "Promotions",
|
||||
"team": "Team",
|
||||
"third_party": "Third Party",
|
||||
"usage_records": "Usage"
|
||||
}
|
||||
|
@@ -42,7 +42,6 @@
|
||||
"notification_receiving": "Notify",
|
||||
"notification_receiving_hint": "Notification reception",
|
||||
"old_password": "Old Password",
|
||||
"open_api_notice": "You can fill in the relevant key of OpenAI/OneAPI. \nIf you fill in this content, the online platform using [AI Dialogue], [Problem Classification] and [Content Extraction] will use the Key you filled in, and there will be no charge. \nPlease pay attention to whether your Key has permission to access the corresponding model. \nGPT models can choose FastAI.",
|
||||
"openai_account_configuration": "OpenAI account configuration",
|
||||
"openai_account_setting_exception": "Setting OpenAI account exception",
|
||||
"package_and_usage": "Plans",
|
||||
@@ -60,7 +59,6 @@
|
||||
"please_bind_notification_receiving_path": "Please bind the notification receiving method first",
|
||||
"purchase_extra_package": "Upgrade",
|
||||
"reminder_create_bound_notification_account": "Remind the creator to bind the notification account",
|
||||
"request_address_notice": "Request address, default is openai official. \nThe forwarding address can be filled in, but \"v1\" is not automatically completed.",
|
||||
"resource_usage": "Usages",
|
||||
"select_avatar": "Click to select avatar",
|
||||
"standard_package_and_extra_resource_package": "Includes standard and extra plans",
|
||||
|
16
packages/web/i18n/en/account_thirdParty.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"configured": "Configured",
|
||||
"error.no_permission": "Please contact the administrator to configure",
|
||||
"laf_account": "laf account",
|
||||
"no_intro": "No explanation yet",
|
||||
"not_configured": "Not configured",
|
||||
"open_api_notice": "You can fill in the relevant key of OpenAI/OneAPI. \nIf you fill in this content, the online platform using [AI Dialogue], [Problem Classification] and [Content Extraction] will use the Key you filled in, and there will be no charge. \nPlease pay attention to whether your Key has permission to access the corresponding model. \nGPT models can choose FastAI.",
|
||||
"openai_account_configuration": "OpenAI/OneAPI account",
|
||||
"request_address_notice": "Request address, default is openai official. \nThe forwarding address can be filled in, but \\\"v1\\\" is not automatically completed.",
|
||||
"third_party_account": "Third-party account",
|
||||
"third_party_account_desc": "The administrator can configure third-party accounts or variables here, and the account will be used by all team members.",
|
||||
"unavailable": "Get usage exception",
|
||||
"usage": "Usage",
|
||||
"value_not_return_tip": "After the parameters are configured, they will not return to the front end again and do not need to be leaked to other members.",
|
||||
"value_placeholder": "Enter parameter values. \nEntering a null value means deleting the configuration."
|
||||
}
|
@@ -80,11 +80,7 @@
|
||||
"mark_count": "Number of Marked Answers",
|
||||
"max_histories_number": "Max histories",
|
||||
"max_histories_number_tip": "The maximum number of rounds of dialogue that the model can carry into memory. If the memory exceeds the model context, the system will force truncation. \nTherefore, even if 30 rounds of dialogue are configured, the actual number may not reach 30 rounds during operation.",
|
||||
"max_quote_tokens": "Max quote",
|
||||
"max_quote_tokens_tips": "The maximum number of tokens in a single search, about 1 character in Chinese = 1.7 tokens, and about 1 character in English = 1 token",
|
||||
"max_tokens": "Max tokens",
|
||||
"min_similarity": "lowest correlation",
|
||||
"min_similarity_tip": "The relevance of different index models is different. Please select the appropriate value through search testing. \nWhen using Result Rearrange , use the rearranged results for filtering.",
|
||||
"module.Custom Title Tip": "This title will be displayed during the conversation.",
|
||||
"module.No Modules": "No Plugins Found",
|
||||
"module.type": "\"{{type}}\" type\n{{description}}",
|
||||
@@ -113,6 +109,7 @@
|
||||
"search_app": "Search Application",
|
||||
"setting_app": "Workflow",
|
||||
"setting_plugin": "Workflow",
|
||||
"simple_tool_tips": "This plugin contains special inputs and is not currently supported for invocation by simple applications.",
|
||||
"stream_response": "Stream",
|
||||
"stream_response_tip": "Turning this switch off forces the model to use non-streaming mode and will not output content directly. \nIn the output of the AI reply, the content output by this model can be obtained for secondary processing.",
|
||||
"temperature": "Temperature",
|
||||
@@ -135,6 +132,7 @@
|
||||
"templateMarket.templateTags.Roleplay": "Roleplay",
|
||||
"templateMarket.templateTags.Web_search": "Web Search",
|
||||
"templateMarket.templateTags.Writing": "Writing",
|
||||
"templateMarket.template_guide": "Guide",
|
||||
"template_market": "Templates",
|
||||
"template_market_description": "Explore more features in the template market, with configuration tutorials and usage guides to help you understand and get started with various applications.",
|
||||
"template_market_empty_data": "No suitable templates found",
|
||||
@@ -155,7 +153,6 @@
|
||||
"type.Plugin": "Plugin",
|
||||
"type.Simple bot": "Simple App",
|
||||
"type.Workflow bot": "Workflow",
|
||||
"unusual_leave_auto_save": "Abnormal exit, automatic saving",
|
||||
"upload_file_max_amount": "Maximum File Quantity",
|
||||
"upload_file_max_amount_tip": "Maximum number of files uploaded in a single round of conversation",
|
||||
"variable.select type_desc": "You can define a global variable that does not need to be filled in by the user.\n\nThe value of this variable can come from the API interface, the Query of the shared link, or assigned through the [Variable Update] module.",
|
||||
|
@@ -32,6 +32,7 @@
|
||||
"Warning": "Warning",
|
||||
"add_new": "Add New",
|
||||
"add_new_param": "Add new param",
|
||||
"app.templateMarket.templateTags.Writing": "Writing",
|
||||
"back": "Back",
|
||||
"chose_condition": "Choose Condition",
|
||||
"chosen": "Chosen",
|
||||
@@ -683,6 +684,7 @@
|
||||
"core.module.Variable": "Global Variable",
|
||||
"core.module.Variable Setting": "Variable Setting",
|
||||
"core.module.edit.Field Name Cannot Be Empty": "Field Name Cannot Be Empty",
|
||||
"core.module.edit.Field Value Type Cannot Be Empty": "Optional data type cannot be empty.",
|
||||
"core.module.extract.Add field": "Add Field",
|
||||
"core.module.extract.Enum Description": "List the possible values of this field, one per line",
|
||||
"core.module.extract.Enum Value": "Enum Value",
|
||||
@@ -896,6 +898,10 @@
|
||||
"item_name": "Field Name",
|
||||
"just_now": "just",
|
||||
"key_repetition": "Key Repetition",
|
||||
"max_quote_tokens": "Quote cap",
|
||||
"max_quote_tokens_tips": "The maximum number of tokens in a single search, about 1 character in Chinese = 1.7 tokens, and about 1 character in English = 1 token",
|
||||
"min_similarity": "lowest correlation",
|
||||
"min_similarity_tip": "The relevance of different index models is different. Please select the appropriate value through search testing. \nWhen using Result Rearrange , use the rearranged results for filtering.",
|
||||
"model.billing": "Billing",
|
||||
"model.model_type": "Model type",
|
||||
"model.name": "Model name",
|
||||
|
@@ -9,5 +9,6 @@
|
||||
"personalization": "个性化",
|
||||
"promotion_records": "促销记录",
|
||||
"team": "团队管理",
|
||||
"third_party": "第三方账号",
|
||||
"usage_records": "使用记录"
|
||||
}
|
||||
|
@@ -42,9 +42,6 @@
|
||||
"notification_receiving": "通知接收",
|
||||
"notification_receiving_hint": "通知接收",
|
||||
"old_password": "旧密码",
|
||||
"open_api_notice": "可以填写 OpenAI/OneAPI 的相关密钥。如果你填写了该内容,在线上平台使用【 AI 对话】、【问题分类】和【内容提取】将会走你填写的 Key,不会计费。请注意你的 Key 是否有访问对应模型的权限。 GPT 模型可以选择 FastAI 。",
|
||||
"openai_account_configuration": "OpenAI 账号配置",
|
||||
"openai_account_setting_exception": "设置 OpenAI 账号异常",
|
||||
"package_and_usage": "套餐与用量",
|
||||
"package_details": "套餐详情",
|
||||
"package_expiry_time": "套餐到期时间",
|
||||
@@ -60,7 +57,6 @@
|
||||
"please_bind_notification_receiving_path": "请先绑定通知接收途径",
|
||||
"purchase_extra_package": "购买额外套餐",
|
||||
"reminder_create_bound_notification_account": "提醒创建者绑定通知账号",
|
||||
"request_address_notice": "请求地址,默认为 openai 官方。可填中转地址,未自动补全 \"v1\"",
|
||||
"resource_usage": "资源用量",
|
||||
"select_avatar": "点击选择头像",
|
||||
"standard_package_and_extra_resource_package": "包含标准套餐与额外资源包",
|
||||
|
20
packages/web/i18n/zh-CN/account_thirdParty.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"configured": "已配置",
|
||||
"error.no_permission": "请联系管理员配置",
|
||||
"get_usage_failed": "获取使用量失败",
|
||||
"laf_account": "laf 账号",
|
||||
"no_intro": "暂无说明",
|
||||
"not_configured": "未配置",
|
||||
"open_api_notice": "可以填写 OpenAI/OneAPI 的相关密钥。如果你填写了该内容,在线上平台使用【 AI 对话】、【问题分类】和【内容提取】将会走你填写的 Key,不会计费。请注意你的 Key 是否有访问对应模型的权限。 GPT 模型可以选择 FastAI 。",
|
||||
"openai_account_configuration": "OpenAI/OneAPI 账号",
|
||||
"openai_account_setting_exception": "设置 OpenAI 账号异常",
|
||||
"request_address_notice": "请求地址,默认为 openai 官方。可填中转地址,未自动补全 \"v1\"",
|
||||
"third_party_account": "第三方账号",
|
||||
"third_party_account.configured": "已配置",
|
||||
"third_party_account.not_configured": "未配置",
|
||||
"third_party_account_desc": "管理员可以在这里配置第三方账号或变量,该账号将被团队所有人使用",
|
||||
"unavailable": "获取使用量异常",
|
||||
"usage": "使用量:",
|
||||
"value_not_return_tip": "参数配置后,不会再次返回前端,无需泄露给其他成员",
|
||||
"value_placeholder": "输入参数值。输入空值表示删除该配置。"
|
||||
}
|
@@ -80,11 +80,7 @@
|
||||
"mark_count": "标注答案数量",
|
||||
"max_histories_number": "记忆轮数",
|
||||
"max_histories_number_tip": "模型最多携带多少轮对话进入记忆中,如果记忆超出模型上下文,系统会强制截断。所以尽管配置 30 轮对话,实际运行时候,不一定会达到 30 轮。",
|
||||
"max_quote_tokens": "引用上限",
|
||||
"max_quote_tokens_tips": "单次搜索最大的 token 数量,中文约 1 字=1.7 tokens,英文约 1 字=1 token",
|
||||
"max_tokens": "回复上限",
|
||||
"min_similarity": "最低相关度",
|
||||
"min_similarity_tip": "不同索引模型的相关度有区别,请通过搜索测试来选择合适的数值。使用 结果重排 时,使用重排结果进行过滤。",
|
||||
"module.Custom Title Tip": "该标题名字会展示在对话过程中",
|
||||
"module.No Modules": "没找到插件",
|
||||
"module.type": "\"{{type}}\"类型\n{{description}}",
|
||||
@@ -113,6 +109,7 @@
|
||||
"search_app": "搜索应用",
|
||||
"setting_app": "应用配置",
|
||||
"setting_plugin": "插件配置",
|
||||
"simple_tool_tips": "该插件含有特殊输入,暂不支持被简易应用调用",
|
||||
"stream_response": "流输出",
|
||||
"stream_response_tip": "关闭该开关,可以强制模型使用非流模式,并且不会直接进行内容输出。可以在 AI 回复的输出中,获取本次模型输出的内容进行二次处理。",
|
||||
"temperature": "温度",
|
||||
@@ -135,6 +132,7 @@
|
||||
"templateMarket.templateTags.Roleplay": "角色扮演",
|
||||
"templateMarket.templateTags.Web_search": "联网搜索",
|
||||
"templateMarket.templateTags.Writing": "文本创作",
|
||||
"templateMarket.template_guide": "模板说明",
|
||||
"template_market": "模板市场",
|
||||
"template_market_description": "在模板市场探索更多玩法,配置教程与使用引导,带你理解并上手各种应用",
|
||||
"template_market_empty_data": "找不到合适的模板",
|
||||
@@ -155,7 +153,6 @@
|
||||
"type.Plugin": "插件",
|
||||
"type.Simple bot": "简易应用",
|
||||
"type.Workflow bot": "工作流",
|
||||
"unusual_leave_auto_save": "异常离开,自动保存",
|
||||
"upload_file_max_amount": "最大文件数量",
|
||||
"upload_file_max_amount_tip": "单轮对话中最大上传文件数量",
|
||||
"variable.select type_desc": "可以为工作流定义全局变量,常用临时缓存。赋值的方式包括:\n1. 从对话页面的 query 参数获取。\n2. 通过 API 的 variables 对象传递。\n3. 通过【变量更新】节点进行赋值。",
|
||||
|
@@ -32,6 +32,11 @@
|
||||
"Warning": "提示",
|
||||
"add_new": "新增",
|
||||
"add_new_param": "新增参数",
|
||||
"app.templateMarket.templateTags.Image_generation": "图片生成",
|
||||
"app.templateMarket.templateTags.Office_services": "办公服务",
|
||||
"app.templateMarket.templateTags.Roleplay": "角色扮演",
|
||||
"app.templateMarket.templateTags.Web_search": "联网搜索",
|
||||
"app.templateMarket.templateTags.Writing": "文本创作",
|
||||
"back": "返回",
|
||||
"chose_condition": "选择条件",
|
||||
"chosen": "已选",
|
||||
@@ -682,6 +687,7 @@
|
||||
"core.module.Variable": "全局变量",
|
||||
"core.module.Variable Setting": "变量设置",
|
||||
"core.module.edit.Field Name Cannot Be Empty": "字段名不能为空",
|
||||
"core.module.edit.Field Value Type Cannot Be Empty": "可选数据类型不能为空",
|
||||
"core.module.extract.Add field": "新增字段",
|
||||
"core.module.extract.Enum Description": "列举出该字段可能的值,每行一个",
|
||||
"core.module.extract.Enum Value": "枚举值",
|
||||
@@ -895,6 +901,10 @@
|
||||
"item_name": "字段名",
|
||||
"just_now": "刚刚",
|
||||
"key_repetition": "key 重复",
|
||||
"max_quote_tokens": "引用上限",
|
||||
"max_quote_tokens_tips": "单次搜索最大的 token 数量,中文约 1 字=1.7 tokens,英文约 1 字=1 token",
|
||||
"min_similarity": "最低相关度",
|
||||
"min_similarity_tip": "不同索引模型的相关度有区别,请通过搜索测试来选择合适的数值。使用 结果重排 时,使用重排结果进行过滤。",
|
||||
"model.billing": "模型计费",
|
||||
"model.model_type": "模型类型",
|
||||
"model.name": "模型名",
|
||||
|
@@ -9,5 +9,6 @@
|
||||
"personalization": "個人化",
|
||||
"promotion_records": "促銷記錄",
|
||||
"team": "團隊管理",
|
||||
"third_party": "第三方账号",
|
||||
"usage_records": "使用記錄"
|
||||
}
|
||||
|
@@ -42,7 +42,6 @@
|
||||
"notification_receiving": "通知接收",
|
||||
"notification_receiving_hint": "通知接收",
|
||||
"old_password": "舊密碼",
|
||||
"open_api_notice": "可以填寫 OpenAI/OneAPI 的相關金鑰。\n如果你填寫了該內容,在線上平台使用【 AI 對話】、【問題分類】和【內容提取】將會走你填寫的 Key,不會計費用。\n請注意你的 Key 是否有存取對應模型的權限。 \nGPT 模型可以選擇 FastAI 。",
|
||||
"openai_account_configuration": "OpenAI 帳號配置",
|
||||
"openai_account_setting_exception": "設定 OpenAI 帳號異常",
|
||||
"package_and_usage": "套餐與用量",
|
||||
@@ -60,7 +59,6 @@
|
||||
"please_bind_notification_receiving_path": "請先綁定通知接收途徑",
|
||||
"purchase_extra_package": "購買額外套餐",
|
||||
"reminder_create_bound_notification_account": "提醒創建者綁定通知帳號",
|
||||
"request_address_notice": "請求地址,預設為 openai 官方。\n可填中轉位址,未自動補全 \"v1\"",
|
||||
"resource_usage": "資源用量",
|
||||
"select_avatar": "點選選擇頭像",
|
||||
"standard_package_and_extra_resource_package": "包含標準套餐與額外資源包",
|
||||
|
16
packages/web/i18n/zh-Hant/account_thirdParty.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"configured": "已配置",
|
||||
"error.no_permission": "請聯繫管理員配置",
|
||||
"laf_account": "af 帳號",
|
||||
"no_intro": "暫無說明",
|
||||
"not_configured": "未配置",
|
||||
"open_api_notice": "可以填寫 OpenAI/OneAPI 的相關金鑰。\n如果你填寫了該內容,在線上平台使用【 AI 對話】、【問題分類】和【內容提取】將會走你填寫的 Key,不會計費用。\n請注意你的 Key 是否有存取對應模型的權限。 \nGPT 模型可以選擇 FastAI 。",
|
||||
"openai_account_configuration": "OpenAI/OneAPI 帳號",
|
||||
"request_address_notice": "請求地址,預設為 openai 官方。可填中轉位址,未自動補全 \"v1\"",
|
||||
"third_party_account": "第三方帳號",
|
||||
"third_party_account_desc": "管理員可以在這裡配置第三方帳號或變量,該帳號將被團隊所有人使用",
|
||||
"unavailable": "取得使用量異常",
|
||||
"usage": "使用量:",
|
||||
"value_not_return_tip": "參數配置後,不會再次返回前端,無需洩漏給其他成員",
|
||||
"value_placeholder": "輸入參數值。\n輸入空值表示刪除該配置。"
|
||||
}
|
@@ -80,11 +80,7 @@
|
||||
"mark_count": "標記答案數量",
|
||||
"max_histories_number": "記憶輪數",
|
||||
"max_histories_number_tip": "模型最多攜帶多少輪對話進入記憶中,如果記憶超出模型上下文,系統會強制截斷。\n所以儘管配置 30 輪對話,實際運行時候,不一定會達到 30 輪。",
|
||||
"max_quote_tokens": "引用上限",
|
||||
"max_quote_tokens_tips": "單次搜尋最大的 token 數量,中文約 1 字=1.7 tokens,英文約 1 字=1 token",
|
||||
"max_tokens": "回覆上限",
|
||||
"min_similarity": "最低相關度",
|
||||
"min_similarity_tip": "不同索引模型的相關度有區別,請透過搜尋測試來選擇合適的數值。\n使用 結果重排 時,使用重排結果過濾。",
|
||||
"module.Custom Title Tip": "這個標題會顯示在對話過程中",
|
||||
"module.No Modules": "找不到外掛",
|
||||
"module.type": "\"{{type}}\" 類型\n{{description}}",
|
||||
@@ -113,6 +109,7 @@
|
||||
"search_app": "搜尋應用程式",
|
||||
"setting_app": "應用程式設定",
|
||||
"setting_plugin": "外掛設定",
|
||||
"simple_tool_tips": "該插件含有特殊輸入,暫不支持被簡易應用調用",
|
||||
"stream_response": "流輸出",
|
||||
"stream_response_tip": "關閉該開關,可以強制模型使用非流模式,並且不會直接進行內容輸出。\n可在 AI 回覆的輸出中,取得本次模型輸出的內容進行二次處理。",
|
||||
"temperature": "溫度",
|
||||
@@ -135,6 +132,7 @@
|
||||
"templateMarket.templateTags.Roleplay": "角色扮演",
|
||||
"templateMarket.templateTags.Web_search": "網路搜尋",
|
||||
"templateMarket.templateTags.Writing": "文字創作",
|
||||
"templateMarket.template_guide": "模板說明",
|
||||
"template_market": "範本市集",
|
||||
"template_market_description": "在範本市集探索更多玩法,設定教學與使用指引,帶您理解並上手各種應用程式",
|
||||
"template_market_empty_data": "找不到合適的範本",
|
||||
@@ -155,7 +153,6 @@
|
||||
"type.Plugin": "外掛",
|
||||
"type.Simple bot": "簡易應用程式",
|
||||
"type.Workflow bot": "工作流程",
|
||||
"unusual_leave_auto_save": "異常離開,自動儲存",
|
||||
"upload_file_max_amount": "最大檔案數量",
|
||||
"upload_file_max_amount_tip": "單輪對話中最大上傳檔案數量",
|
||||
"variable.select type_desc": "可以為工作流程定義全域變數,常用於暫存。賦值的方式包括:\n1. 從對話頁面的 query 參數取得。\n2. 透過 API 的 variables 物件傳遞。\n3. 透過【變數更新】節點進行賦值。",
|
||||
|
@@ -32,6 +32,7 @@
|
||||
"Warning": "警告",
|
||||
"add_new": "新增",
|
||||
"add_new_param": "新增參數",
|
||||
"app.templateMarket.templateTags.Writing": "文字創作",
|
||||
"back": "返回",
|
||||
"chose_condition": "選擇條件",
|
||||
"chosen": "已選擇",
|
||||
@@ -683,6 +684,7 @@
|
||||
"core.module.Variable": "全域變數",
|
||||
"core.module.Variable Setting": "變數設定",
|
||||
"core.module.edit.Field Name Cannot Be Empty": "欄位名稱不能為空",
|
||||
"core.module.edit.Field Value Type Cannot Be Empty": "可選數據類型不能為空",
|
||||
"core.module.extract.Add field": "新增欄位",
|
||||
"core.module.extract.Enum Description": "列舉此欄位可能的值,每行一個",
|
||||
"core.module.extract.Enum Value": "列舉值",
|
||||
@@ -897,6 +899,10 @@
|
||||
"item_name": "欄位名稱",
|
||||
"just_now": "剛剛",
|
||||
"key_repetition": "鍵值重複",
|
||||
"max_quote_tokens": "引用上限",
|
||||
"max_quote_tokens_tips": "單次搜尋最大的 token 數量,中文約 1 字=1.7 tokens,英文約 1 字=1 token",
|
||||
"min_similarity": "最低相關度",
|
||||
"min_similarity_tip": "不同索引模型的相關度有區別,請透過搜尋測試來選擇合適的數值。\n使用 結果重排 時,使用重排結果過濾。",
|
||||
"model.billing": "模型計費",
|
||||
"model.model_type": "模型類型",
|
||||
"model.name": "模型名",
|
||||
|
@@ -240,7 +240,7 @@ const Button = defineStyleConfig({
|
||||
},
|
||||
grayDanger: {
|
||||
bg: 'myGray.150',
|
||||
color: 'myGray.900',
|
||||
color: 'myGray.600',
|
||||
_hover: {
|
||||
color: 'red.600',
|
||||
background: 'red.1',
|
||||
|
3
packages/web/types/i18next.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
import 'i18next';
|
||||
import account_team from '../i18n/zh-CN/account_team.json';
|
||||
import account from '../i18n/zh-CN/account.json';
|
||||
import account_thirdParty from '../i18n/zh-CN/account_thirdParty.json';
|
||||
import account_promotion from '../i18n/zh-CN/account_promotion.json';
|
||||
import account_inform from '../i18n/zh-CN/account_inform.json';
|
||||
import account_setting from '../i18n/zh-CN/account_setting.json';
|
||||
@@ -37,6 +38,7 @@ export interface I18nNamespaces {
|
||||
account_promotion: typeof account_promotion;
|
||||
account: typeof account;
|
||||
account_team: typeof account_team;
|
||||
account_thirdParty: typeof account_thirdParty;
|
||||
}
|
||||
|
||||
export type I18nNsType = (keyof I18nNamespaces)[];
|
||||
@@ -69,6 +71,7 @@ declare module 'i18next' {
|
||||
'account_setting',
|
||||
'account_inform',
|
||||
'account_promotion',
|
||||
'account_thirdParty',
|
||||
'account',
|
||||
'account_team'
|
||||
];
|
||||
|