@tuoyuan/web-plus
Version:
基于arco-design-vue的配置化表格表单组件
63 lines (62 loc) • 1.82 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 var __VLS_9: {
type: string;
};
declare var __VLS_35: {
type: string;
};
declare var __VLS_inheritedAttrs: {};
declare const __VLS_templateResult: {
slots: {
after?(_: typeof __VLS_9): any;
default?(_: {
type: string;
}): any;
before?(_: typeof __VLS_35): any;
};
refs: {};
attrs: Partial<typeof __VLS_inheritedAttrs>;
};
type __VLS_Slots = typeof __VLS_templateResult['slots'];
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
close: (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<{
visible?: (typeof __VLS_defaults)["visible"];
formData?: (typeof __VLS_defaults)["formData"];
} & Props & {
onClose?: ((...args: any[]) => any) | undefined;
}>, {
type: string;
dicData: Record<string, Array<{
value: any;
label: string;
}>>;
option: CrudOption;
loading: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};