UNPKG

@wocwin/t-ui-plus

Version:

Page level components developed based on Element Plus.

153 lines (152 loc) 4.97 kB
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue'; import { FormOpts } from './src/type'; export * from './src/type'; export declare const TForm: { new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{ className: { type: PropType<string>; default: string; }; formOpts: { type: PropType<any>; 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; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onGetRefs?: ((...args: any[]) => any) | undefined; }, any, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { handleEvent: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; getRefs: (...args: any[]) => void; }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{ className: { type: PropType<string>; default: string; }; formOpts: { type: PropType<any>; 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; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onGetRefs?: ((...args: any[]) => any) | undefined; }, { className: string; formOpts: FormOpts | any; widthSize: 1 | 2 | 3 | 4 | 5 | 6; labelPosition: "left" | "right" | "top"; isTrim: boolean; }, true, {}, {}, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly< ExtractPropTypes<{ className: { type: PropType<string>; default: string; }; formOpts: { type: PropType<any>; 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; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onGetRefs?: ((...args: any[]) => any) | undefined; }, any, {}, {}, {}, { className: string; formOpts: FormOpts | any; 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<any>; 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; }; }>> & { onHandleEvent?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onGetRefs?: ((...args: any[]) => any) | undefined; }, any, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { handleEvent: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; getRefs: (...args: any[]) => void; }, string, { className: string; formOpts: FormOpts | any; widthSize: 1 | 2 | 3 | 4 | 5 | 6; labelPosition: "left" | "right" | "top"; isTrim: boolean; }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => { $slots: Partial<Record<any, (_: { scope: any; }) => any>> & Partial<Record<any, (_: { scope: any; }) => any>> & Partial<Record<any, (_: {}) => any>> & Partial<Record<any, (_: {}) => any>>; });