Enhance Code Consistency Across Repository with .editorconfig (#19023)

This commit is contained in:
QuantumGhost
2025-04-29 18:04:33 +08:00
committed by GitHub
parent 226afd4550
commit bd1bbfee4b
274 changed files with 1271 additions and 1217 deletions

View File

@@ -42,4 +42,4 @@
@apply text-text-destructive bg-state-destructive-hover
}
}
}

View File

@@ -20,4 +20,4 @@
.appIcon.rounded {
@apply rounded-full;
}
}

View File

@@ -7,4 +7,4 @@
background-image: url(~@/app/components/develop/secret-key/assets/pause.svg);
background-position: center;
background-repeat: no-repeat;
}
}

View File

@@ -25,4 +25,4 @@
.badge.badge-accent {
@apply text-text-accent-secondary border border-text-accent-secondary
}
}
}

View File

@@ -22,7 +22,7 @@
}
.btn-primary {
@apply
@apply
shadow
bg-components-button-primary-bg
border-components-button-primary-border
@@ -32,7 +32,7 @@
}
.btn-primary.btn-destructive {
@apply
@apply
bg-components-button-destructive-primary-bg
border-components-button-destructive-primary-border
hover:bg-components-button-destructive-primary-bg-hover
@@ -41,7 +41,7 @@
}
.btn-primary.btn-disabled {
@apply
@apply
shadow-none
bg-components-button-primary-bg-disabled
border-components-button-primary-border-disabled
@@ -49,7 +49,7 @@
}
.btn-primary.btn-destructive.btn-disabled {
@apply
@apply
shadow-none
bg-components-button-destructive-primary-bg-disabled
border-components-button-destructive-primary-border-disabled
@@ -57,130 +57,130 @@
}
.btn-secondary {
@apply
@apply
border-[0.5px]
shadow-xs
bg-components-button-secondary-bg
border-components-button-secondary-border
hover:bg-components-button-secondary-bg-hover
hover:border-components-button-secondary-border-hover
bg-components-button-secondary-bg
border-components-button-secondary-border
hover:bg-components-button-secondary-bg-hover
hover:border-components-button-secondary-border-hover
text-components-button-secondary-text;
}
.btn-secondary.btn-disabled {
@apply
bg-components-button-secondary-bg-disabled
border-components-button-secondary-border-disabled
@apply
bg-components-button-secondary-bg-disabled
border-components-button-secondary-border-disabled
text-components-button-secondary-text-disabled;
}
.btn-secondary.btn-destructive {
@apply
bg-components-button-destructive-secondary-bg
border-components-button-destructive-secondary-border
hover:bg-components-button-destructive-secondary-bg-hover
hover:border-components-button-destructive-secondary-border-hover
@apply
bg-components-button-destructive-secondary-bg
border-components-button-destructive-secondary-border
hover:bg-components-button-destructive-secondary-bg-hover
hover:border-components-button-destructive-secondary-border-hover
text-components-button-destructive-secondary-text;
}
.btn-secondary.btn-destructive.btn-disabled {
@apply
bg-components-button-destructive-secondary-bg-disabled
border-components-button-destructive-secondary-border-disabled
@apply
bg-components-button-destructive-secondary-bg-disabled
border-components-button-destructive-secondary-border-disabled
text-components-button-destructive-secondary-text-disabled;
}
.btn-secondary-accent {
@apply
@apply
border-[0.5px]
shadow-xs
bg-components-button-secondary-bg
border-components-button-secondary-border
hover:bg-components-button-secondary-bg-hover
hover:border-components-button-secondary-border-hover
bg-components-button-secondary-bg
border-components-button-secondary-border
hover:bg-components-button-secondary-bg-hover
hover:border-components-button-secondary-border-hover
text-components-button-secondary-accent-text;
}
.btn-secondary-accent.btn-disabled {
@apply
bg-components-button-secondary-bg-disabled
border-components-button-secondary-border-disabled
@apply
bg-components-button-secondary-bg-disabled
border-components-button-secondary-border-disabled
text-components-button-secondary-accent-text-disabled;
}
.btn-warning {
@apply
bg-components-button-destructive-primary-bg
border-components-button-destructive-primary-border
hover:bg-components-button-destructive-primary-bg-hover
hover:border-components-button-destructive-primary-border-hover
@apply
bg-components-button-destructive-primary-bg
border-components-button-destructive-primary-border
hover:bg-components-button-destructive-primary-bg-hover
hover:border-components-button-destructive-primary-border-hover
text-components-button-destructive-primary-text;
}
.btn-warning.btn-disabled {
@apply
bg-components-button-destructive-primary-bg-disabled
border-components-button-destructive-primary-border-disabled
@apply
bg-components-button-destructive-primary-bg-disabled
border-components-button-destructive-primary-border-disabled
text-components-button-destructive-primary-text-disabled;
}
.btn-tertiary {
@apply
bg-components-button-tertiary-bg
hover:bg-components-button-tertiary-bg-hover
@apply
bg-components-button-tertiary-bg
hover:bg-components-button-tertiary-bg-hover
text-components-button-tertiary-text;
}
.btn-tertiary.btn-disabled {
@apply
bg-components-button-tertiary-bg-disabled
@apply
bg-components-button-tertiary-bg-disabled
text-components-button-tertiary-text-disabled;
}
.btn-tertiary.btn-destructive {
@apply
bg-components-button-destructive-tertiary-bg
hover:bg-components-button-destructive-tertiary-bg-hover
@apply
bg-components-button-destructive-tertiary-bg
hover:bg-components-button-destructive-tertiary-bg-hover
text-components-button-destructive-tertiary-text;
}
.btn-tertiary.btn-destructive.btn-disabled {
@apply
bg-components-button-destructive-tertiary-bg-disabled
@apply
bg-components-button-destructive-tertiary-bg-disabled
text-components-button-destructive-tertiary-text-disabled;
}
.btn-ghost {
@apply
hover:bg-components-button-ghost-bg-hover
@apply
hover:bg-components-button-ghost-bg-hover
text-components-button-ghost-text;
}
.btn-ghost.btn-disabled {
@apply
@apply
text-components-button-ghost-text-disabled;
}
.btn-ghost.btn-destructive {
@apply
hover:bg-components-button-destructive-ghost-bg-hover
@apply
hover:bg-components-button-destructive-ghost-bg-hover
text-components-button-destructive-ghost-text;
}
.btn-ghost.btn-destructive.btn-disabled {
@apply
@apply
text-components-button-destructive-ghost-text-disabled;
}
.btn-ghost-accent {
@apply
@apply
hover:bg-state-accent-hover
text-components-button-secondary-accent-text;
}
.btn-ghost-accent.btn-disabled {
@apply
@apply
text-components-button-secondary-accent-text-disabled;
}
}
}

View File

@@ -2,25 +2,25 @@ export const markdownContentSVG = `
\`\`\`svg
<svg width="400" height="600" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#F0F8FF"/>
<text x="50%" y="60" font-family="楷体" font-size="32" fill="#4682B4" text-anchor="middle">创意Logo设计</text>
<line x1="50" y1="80" x2="350" y2="80" stroke="#B0C4DE" stroke-width="2"/>
<text x="50%" y="120" font-family="Arial" font-size="24" fill="#708090" text-anchor="middle">科研</text>
<text x="50%" y="150" font-family="MS Mincho" font-size="20" fill="#778899" text-anchor="middle">科学研究</text>
<text x="50%" y="200" font-family="汇文明朝体" font-size="18" fill="#696969" text-anchor="middle">
<tspan x="50%" dy="25">探索未知的灯塔,</tspan>
<tspan x="50%" dy="25">照亮人类前进的道路。</tspan>
<tspan x="50%" dy="25">科研,是永不熄灭的好奇心,</tspan>
<tspan x="50%" dy="25">也是推动世界进步的引擎。</tspan>
</text>
<circle cx="200" cy="400" r="80" fill="none" stroke="#4169E1" stroke-width="3"/>
<line x1="200" y1="320" x2="200" y2="480" stroke="#4169E1" stroke-width="3"/>
<line x1="120" y1="400" x2="280" y2="400" stroke="#4169E1" stroke-width="3"/>
<text x="50%" y="550" font-family="微软雅黑" font-size="16" fill="#1E90FF" text-anchor="middle">探索 • 创新 • 进步</text>
</svg>
\`\`\`

View File

@@ -79,4 +79,4 @@
.avatar::after {
left: 5px;
}
}

View File

@@ -12,4 +12,4 @@
.copyIcon.copied {
background-image: url(~@/app/components/develop/secret-key/assets/copied.svg);
}
}

View File

@@ -17,4 +17,4 @@
.slider-track-1 {
background-color: #E5E7EB;
}
}

View File

@@ -2,4 +2,4 @@
background-image: url(./Grid.svg);
background-repeat: repeat;
background-position: 0 0;
}
}

View File

@@ -89,4 +89,4 @@
]
},
"name": "Robot"
}
}

View File

@@ -86,4 +86,4 @@
]
},
"name": "User"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "ArCube1"
}
}

View File

@@ -35,4 +35,4 @@
]
},
"name": "Asterisk"
}
}

View File

@@ -176,4 +176,4 @@
]
},
"name": "AwsMarketplace"
}
}

View File

@@ -190,4 +190,4 @@
]
},
"name": "Azure"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Buildings"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Diamond"
}
}

View File

@@ -63,4 +63,4 @@
]
},
"name": "GoogleCloud"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Group2"
}
}

View File

@@ -25,4 +25,4 @@
]
},
"name": "Keyframe"
}
}

View File

@@ -92,4 +92,4 @@
]
},
"name": "Sparkles"
}
}

View File

@@ -33,4 +33,4 @@
]
},
"name": "SparklesSoft"
}
}

View File

@@ -122,4 +122,4 @@
]
},
"name": "D"
}
}

View File

@@ -25,4 +25,4 @@
]
},
"name": "DiagonalDividingLine"
}
}

View File

@@ -59,4 +59,4 @@
]
},
"name": "Dify"
}
}

View File

@@ -337,4 +337,4 @@
]
},
"name": "Gdpr"
}
}

View File

@@ -33,4 +33,4 @@
]
},
"name": "Github"
}
}

View File

@@ -64,4 +64,4 @@
]
},
"name": "Highlight"
}
}

View File

@@ -118,4 +118,4 @@
]
},
"name": "Iso"
}
}

View File

@@ -25,4 +25,4 @@
]
},
"name": "Line3"
}
}

View File

@@ -35,4 +35,4 @@
]
},
"name": "Lock"
}
}

View File

@@ -34,4 +34,4 @@
]
},
"name": "MessageChatSquare"
}
}

View File

@@ -150,4 +150,4 @@
]
},
"name": "MultiPathRetrieval"
}
}

View File

@@ -143,4 +143,4 @@
]
},
"name": "NTo1Retrieval"
}
}

View File

@@ -80,4 +80,4 @@
]
},
"name": "Notion"
}
}

View File

@@ -935,4 +935,4 @@
]
},
"name": "Soc2"
}
}

View File

@@ -44,4 +44,4 @@
]
},
"name": "SparklesSoft"
}
}

View File

@@ -24,4 +24,4 @@
]
},
"name": "Triangle"
}
}

View File

@@ -178,4 +178,4 @@
]
},
"name": "Csv"
}
}

View File

@@ -166,4 +166,4 @@
]
},
"name": "Doc"
}
}

View File

@@ -175,4 +175,4 @@
]
},
"name": "Docx"
}
}

View File

@@ -175,4 +175,4 @@
]
},
"name": "Html"
}
}

View File

@@ -175,4 +175,4 @@
]
},
"name": "Json"
}
}

View File

@@ -141,4 +141,4 @@
]
},
"name": "Md"
}
}

View File

@@ -166,4 +166,4 @@
]
},
"name": "Pdf"
}
}

View File

@@ -177,4 +177,4 @@
]
},
"name": "Txt"
}
}

View File

@@ -196,4 +196,4 @@
]
},
"name": "Unknown"
}
}

View File

@@ -142,4 +142,4 @@
]
},
"name": "Xlsx"
}
}

View File

@@ -178,4 +178,4 @@
]
},
"name": "Yaml"
}
}

View File

@@ -113,4 +113,4 @@
]
},
"name": "Chunk"
}
}

View File

@@ -59,4 +59,4 @@
]
},
"name": "Collapse"
}
}

View File

@@ -35,4 +35,4 @@
]
},
"name": "GeneralType"
}
}

View File

@@ -33,4 +33,4 @@
]
},
"name": "LayoutRight2LineMod"
}
}

View File

@@ -53,4 +53,4 @@
]
},
"name": "ParentChildType"
}
}

View File

@@ -113,4 +113,4 @@
]
},
"name": "SelectionMod"
}
}

View File

@@ -34,4 +34,4 @@
]
},
"name": "Anthropic"
}
}

View File

@@ -1043,4 +1043,4 @@
]
},
"name": "AnthropicDark"
}
}

View File

@@ -1043,4 +1043,4 @@
]
},
"name": "AnthropicLight"
}
}

View File

@@ -536,4 +536,4 @@
]
},
"name": "AnthropicText"
}
}

View File

@@ -71,4 +71,4 @@
]
},
"name": "AzureOpenaiService"
}
}

View File

@@ -233,4 +233,4 @@
]
},
"name": "AzureOpenaiServiceText"
}
}

View File

@@ -177,4 +177,4 @@
]
},
"name": "Azureai"
}
}

View File

@@ -240,4 +240,4 @@
]
},
"name": "AzureaiText"
}
}

View File

@@ -73,4 +73,4 @@
]
},
"name": "Baichuan"
}
}

View File

@@ -153,4 +153,4 @@
]
},
"name": "BaichuanText"
}
}

View File

@@ -69,4 +69,4 @@
]
},
"name": "Chatglm"
}
}

View File

@@ -132,4 +132,4 @@
]
},
"name": "ChatglmText"
}
}

View File

@@ -109,4 +109,4 @@
]
},
"name": "Cohere"
}
}

View File

@@ -87,4 +87,4 @@
]
},
"name": "CohereText"
}
}

View File

@@ -48,4 +48,4 @@
]
},
"name": "Gpt3"
}
}

View File

@@ -48,4 +48,4 @@
]
},
"name": "Gpt4"
}
}

View File

@@ -155,4 +155,4 @@
]
},
"name": "Huggingface"
}
}

View File

@@ -319,4 +319,4 @@
]
},
"name": "HuggingfaceText"
}
}

View File

@@ -347,4 +347,4 @@
]
},
"name": "HuggingfaceTextHub"
}
}

View File

@@ -41,4 +41,4 @@
]
},
"name": "IflytekSpark"
}
}

View File

@@ -184,4 +184,4 @@
]
},
"name": "IflytekSparkText"
}
}

View File

@@ -95,4 +95,4 @@
]
},
"name": "IflytekSparkTextCn"
}
}

View File

@@ -32,4 +32,4 @@
]
},
"name": "Jina"
}
}

View File

@@ -79,4 +79,4 @@
]
},
"name": "JinaText"
}
}

View File

@@ -104,4 +104,4 @@
]
},
"name": "Localai"
}
}

View File

@@ -167,4 +167,4 @@
]
},
"name": "LocalaiText"
}
}

View File

@@ -73,4 +73,4 @@
]
},
"name": "Microsoft"
}
}

View File

@@ -34,4 +34,4 @@
]
},
"name": "OpenaiBlack"
}
}

View File

@@ -34,4 +34,4 @@
]
},
"name": "OpenaiBlue"
}
}

View File

@@ -34,4 +34,4 @@
]
},
"name": "OpenaiGreen"
}
}

View File

@@ -74,4 +74,4 @@
]
},
"name": "OpenaiText"
}
}

View File

@@ -23,4 +23,4 @@
]
},
"name": "OpenaiTransparent"
}
}

View File

@@ -34,4 +34,4 @@
]
},
"name": "OpenaiViolet"
}
}

View File

@@ -80,4 +80,4 @@
]
},
"name": "Openllm"
}
}

View File

@@ -140,4 +140,4 @@
]
},
"name": "OpenllmText"
}
}

View File

@@ -36,4 +36,4 @@
]
},
"name": "Replicate"
}
}

View File

@@ -113,4 +113,4 @@
]
},
"name": "ReplicateText"
}
}

View File

@@ -173,4 +173,4 @@
]
},
"name": "XorbitsInference"
}
}

View File

@@ -326,4 +326,4 @@
]
},
"name": "XorbitsInferenceText"
}
}

View File

@@ -50,4 +50,4 @@
]
},
"name": "Zhipuai"
}
}

View File

@@ -41,4 +41,4 @@
]
},
"name": "ZhipuaiText"
}
}

View File

@@ -59,4 +59,4 @@
]
},
"name": "ZhipuaiTextCn"
}
}

View File

@@ -26,4 +26,4 @@
]
},
"name": "Checked"
}
}

View File

@@ -78,4 +78,4 @@
]
},
"name": "DefaultToolIcon"
}
}

Some files were not shown because too many files have changed in this diff Show More