UNPKG

@uozi-admin/curd

Version:
45 lines (44 loc) 1.93 kB
import { FormInstance, RowProps } from 'antdv-next'; import { StdCurdProps, StdTableColumn } from '../types'; type __VLS_Props = { labelAlign?: 'left' | 'right'; columns: StdTableColumn[]; layout?: 'horizontal' | 'vertical' | 'inline'; formClass?: StdCurdProps['formClass']; formRowProps?: RowProps; errors?: Record<string, string>; mode?: 'edit' | 'add'; }; type __VLS_PublicProps = { 'data'?: Record<string, any>; } & __VLS_Props; declare const _default: import('vue').DefineComponent<__VLS_PublicProps, { formRef: import('vue').Ref<FormInstance | undefined, FormInstance | undefined>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:data": (value: Record<string, any>) => any; } & { validate: (payload: { name: string | number | (string | number)[]; status: boolean; errors: any[] | null; }) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:data"?: ((value: Record<string, any>) => any) | undefined; onValidate?: ((payload: { name: string | number | (string | number)[]; status: boolean; errors: any[] | null; }) => any) | undefined; }>, { formRowProps: RowProps; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { formRef: import('vue').CreateComponentPublicInstanceWithMixins<import('antdv-next').FormProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, import('antdv-next').FormEmits, import('vue').PublicProps, {}, false, {}, import('vue').SlotsType<import('antdv-next').FormSlots>, {}, {}, string, {}, any, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, import('antdv-next').FormProps, {}, {}, {}, {}, {}> | null; }, any>; export default _default;