krco
Version:
基于arco-design-vue的配置化表格表单组件
40 lines (39 loc) • 1.32 kB
TypeScript
import type { CrudOption } from "./type";
interface Props {
option: CrudOption;
type?: string;
loading?: boolean;
width: number | string;
dicData: Record<string, Array<{
value: any;
label: string;
}>>;
}
declare let __VLS_typeProps: Props;
declare const __VLS_defaults: {
visible: boolean;
formData: {};
};
type __VLS_PublicProps = {
"visible"?: typeof __VLS_defaults['visible'];
"formData"?: typeof __VLS_defaults['formData'];
} & typeof __VLS_typeProps;
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
'update:visible': (visible: boolean) => any;
'update:formData': (formData: {}) => any;
}, string, import("vue").PublicProps, Readonly<{
visible?: (typeof __VLS_defaults)["visible"];
formData?: (typeof __VLS_defaults)["formData"];
} & Props & {
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
"onUpdate:formData"?: ((formData: {}) => any) | undefined;
}>, {
type: string;
dicData: Record<string, Array<{
value: any;
label: string;
}>>;
option: CrudOption;
loading: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
export default _default;