chore: replace components with core-ui, upgrade eslint

This commit is contained in:
jialin
2026-04-24 14:28:30 +08:00
committed by jialin
parent d48aa99dcc
commit 8711c27b78
470 changed files with 1017 additions and 24093 deletions
@@ -1,11 +1,10 @@
import HighlightCode from '@/components/highlight-code';
import SealInput from '@/components/seal-form/seal-input';
import externalLinks from '@/constants/external-links';
import {
InfoCircleOutlined,
LockOutlined,
UserOutlined
} from '@ant-design/icons';
import { Input as CInput, HighlightCode } from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Button, Checkbox, Divider, Form, FormInstance } from 'antd';
import { createStyles } from 'antd-style';
@@ -93,7 +92,7 @@ const LocalUserForm: React.FC<LocalUserFormProps> = (props) => {
}
]}
>
<SealInput.Input
<CInput.Input
autoComplete="username"
label={intl.formatMessage({ id: 'common.form.username' })}
prefix={<UserOutlined />}
@@ -114,7 +113,7 @@ const LocalUserForm: React.FC<LocalUserFormProps> = (props) => {
}
]}
>
<SealInput.Password
<CInput.Password
autoComplete="current-password"
prefix={<LockOutlined />}
label={intl.formatMessage({ id: 'common.form.password' })}