@uozi-admin/curd
Version:
Easy to implement curd.
32 lines (31 loc) • 1.16 kB
TypeScript
import { FormItemProps } from 'antdv-next';
import { StdFormItemConfig, StdTableColumn } from '../types';
export interface Props {
dataIndex?: StdTableColumn['dataIndex'];
label?: string;
extra?: string;
hint?: string | (() => string);
error?: string;
required?: boolean;
rules?: FormItemProps['rules'];
noValidate?: boolean;
formItem?: StdFormItemConfig;
formData?: Record<string, any>;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};