t-ui-plus
Version:
Page level components developed based on Element Plus.
127 lines (126 loc) • 4.41 kB
TypeScript
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
import { FormOpts } from './src/type';
export * from './src/type';
export declare const TForm: {
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
className: {
type: PropType<string>;
default: string;
};
formOpts: {
type: PropType<FormOpts>;
required: true;
default: () => any;
};
widthSize: {
type: PropType<1 | 2 | 3 | 4 | 5 | 6>;
default: number;
};
labelPosition: {
type: PropType<"top" | "left" | "right">;
default: string;
};
isTrim: {
type: PropType<boolean>;
default: boolean;
};
}>> & Readonly<{
onHandleEvent?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onGetRefs?: ((...args: any[]) => any) | undefined;
}>, any, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
handleEvent: (...args: any[]) => void;
"update:modelValue": (...args: any[]) => void;
getRefs: (...args: any[]) => void;
}, PublicProps, {
className: string;
formOpts: FormOpts;
widthSize: 1 | 2 | 3 | 4 | 5 | 6;
labelPosition: "left" | "right" | "top";
isTrim: boolean;
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly< ExtractPropTypes<{
className: {
type: PropType<string>;
default: string;
};
formOpts: {
type: PropType<FormOpts>;
required: true;
default: () => any;
};
widthSize: {
type: PropType<1 | 2 | 3 | 4 | 5 | 6>;
default: number;
};
labelPosition: {
type: PropType<"top" | "left" | "right">;
default: string;
};
isTrim: {
type: PropType<boolean>;
default: boolean;
};
}>> & Readonly<{
onHandleEvent?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onGetRefs?: ((...args: any[]) => any) | undefined;
}>, any, {}, {}, {}, {
className: string;
formOpts: FormOpts;
widthSize: 1 | 2 | 3 | 4 | 5 | 6;
labelPosition: "left" | "right" | "top";
isTrim: boolean;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
className: {
type: PropType<string>;
default: string;
};
formOpts: {
type: PropType<FormOpts>;
required: true;
default: () => any;
};
widthSize: {
type: PropType<1 | 2 | 3 | 4 | 5 | 6>;
default: number;
};
labelPosition: {
type: PropType<"top" | "left" | "right">;
default: string;
};
isTrim: {
type: PropType<boolean>;
default: boolean;
};
}>> & Readonly<{
onHandleEvent?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onGetRefs?: ((...args: any[]) => any) | undefined;
}>, any, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
handleEvent: (...args: any[]) => void;
"update:modelValue": (...args: any[]) => void;
getRefs: (...args: any[]) => void;
}, string, {
className: string;
formOpts: FormOpts;
widthSize: 1 | 2 | 3 | 4 | 5 | 6;
labelPosition: "left" | "right" | "top";
isTrim: boolean;
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
$slots: Partial<Record<any, (_: {
scope: any;
}) => any>> & Partial<Record<any, (_: {
scope: Record<string, any>;
}) => any>> & Partial<Record<any, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>;
});