style(ui): eslint-sort-imports

This commit is contained in:
Fu Diwei
2025-01-02 12:50:38 +08:00
parent 1588179bc9
commit b6dd2248c8
51 changed files with 84 additions and 137 deletions

View File

@@ -1,7 +1,7 @@
import { forwardRef, useEffect, useImperativeHandle, useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
import { useCreation } from "ahooks";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, Select, type FormInstance } from "antd";
import { Form, type FormInstance, Input, Select } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -3,7 +3,7 @@ import { flushSync } from "react-dom";
import { useTranslation } from "react-i18next";
import { UploadOutlined as UploadOutlinedIcon } from "@ant-design/icons";
import { useDeepCompareEffect } from "ahooks";
import { Button, Form, Input, Upload, type FormInstance, type UploadFile, type UploadProps } from "antd";
import { Button, Form, type FormInstance, Input, Upload, type UploadFile, type UploadProps } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -3,7 +3,7 @@ import { flushSync } from "react-dom";
import { useTranslation } from "react-i18next";
import { UploadOutlined as UploadOutlinedIcon } from "@ant-design/icons";
import { useDeepCompareEffect } from "ahooks";
import { Button, Form, Input, InputNumber, Upload, type FormInstance, type UploadFile, type UploadProps } from "antd";
import { Button, Form, type FormInstance, Input, InputNumber, Upload, type UploadFile, type UploadProps } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { Form, Input, type FormInstance } from "antd";
import { Form, type FormInstance, Input } from "antd";
import { createSchemaFieldRule } from "antd-zod";
import { z } from "zod";

View File

@@ -1,6 +1,6 @@
import { memo } from "react";
import { useTranslation } from "react-i18next";
import { Avatar, Select, Space, Tag, Typography, type SelectProps } from "antd";
import { Avatar, Select, type SelectProps, Space, Tag, Typography } from "antd";
import { ACCESS_USAGES, accessProvidersMap } from "@/domain/provider";

View File

@@ -1,5 +1,5 @@
import { useEffect, useState } from "react";
import { Avatar, Select, Space, Typography, type SelectProps } from "antd";
import { Avatar, Select, type SelectProps, Space, Typography } from "antd";
import { type AccessModel } from "@/domain/access";
import { accessProvidersMap } from "@/domain/provider";