UNPKG

el-plus-crud

Version:

采用Vue3 + TS,封装的element-plus数据驱动表单、列表组件

86 lines (84 loc) 2.75 kB
import { IFormDesc, IFormGroupConfig } from '../../../types'; declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ modelValue?: {} | { [key: string]: any; } | undefined; formDesc?: IFormDesc | undefined; formGroup?: IFormGroupConfig | undefined; show?: boolean | undefined; title?: string | undefined; tableRef?: any; success?: Function | undefined; isLoading?: boolean | undefined; successTip?: string | ((data?: any) => string) | undefined; }>, { title: string; modelValue: () => {}; show: boolean; successTip: string; }>>, { submit: () => void; validate: () => any; getData: () => any; clearValid: () => any; clear: () => any; init: () => any; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:show": (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ modelValue?: {} | { [key: string]: any; } | undefined; formDesc?: IFormDesc | undefined; formGroup?: IFormGroupConfig | undefined; show?: boolean | undefined; title?: string | undefined; tableRef?: any; success?: Function | undefined; isLoading?: boolean | undefined; successTip?: string | ((data?: any) => string) | undefined; }>, { title: string; modelValue: () => {}; show: boolean; successTip: string; }>>> & Readonly<{ "onUpdate:show"?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, { title: string; modelValue: {} | { [key: string]: any; }; show: boolean; successTip: string | ((data?: any) => string); }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, { header?(_: {}): any; top?(_: {}): any; default?(_: {}): any; footer?(_: {}): any; }>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_Prettify<T> = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };