|
@@ -1,4 +1,5 @@
|
|
import { DictCode } from '@/constants';
|
|
import { DictCode } from '@/constants';
|
|
|
|
+import type { IconfontIcon } from '@/icons/fonts/iconfont';
|
|
|
|
|
|
import type { Component, ComponentPublicInstance } from 'vue';
|
|
import type { Component, ComponentPublicInstance } from 'vue';
|
|
import type { StepProps, UploadProps } from 'ant-design-vue';
|
|
import type { StepProps, UploadProps } from 'ant-design-vue';
|
|
@@ -35,6 +36,12 @@ export interface OptionItem<T> {
|
|
|
|
|
|
export type CheckedType = boolean | string | number;
|
|
export type CheckedType = boolean | string | number;
|
|
|
|
|
|
|
|
+export interface IconObject {
|
|
|
|
+ name: IconfontIcon;
|
|
|
|
+ size?: number;
|
|
|
|
+ color?: string;
|
|
|
|
+}
|
|
|
|
+
|
|
export type FormRules<T> = {
|
|
export type FormRules<T> = {
|
|
[K in keyof T]?: Rule[];
|
|
[K in keyof T]?: Rule[];
|
|
} & {
|
|
} & {
|