krco
Version:
基于arco-design-vue的配置化表格表单组件
54 lines (53 loc) • 1.82 kB
TypeScript
import { CrudOption } from "./type";
interface Props {
option: CrudOption;
data: any[];
}
declare let __VLS_typeProps: Props;
declare function updateDicDataAll(): void;
declare const tableModelForm: import("vue").ModelRef<any, string, any, any>;
type __VLS_PublicProps = {
modelValue?: typeof tableModelForm['value'];
} & typeof __VLS_typeProps;
declare var __VLS_inheritedAttrs: {};
declare const __VLS_templateResult: {
slots: Partial<Record<string, (_: {
record: any;
rowIndex: any;
column: any;
val: any;
}) => any>> & {
menu?(_: {
record: any;
rowIndex: any;
column: any;
}): any;
menuRight?(_: {}): any;
};
refs: {};
attrs: Partial<typeof __VLS_inheritedAttrs>;
};
type __VLS_Slots = typeof __VLS_templateResult['slots'];
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
updateDicData: (field: string, data: any[]) => void;
updateDicDataAll: typeof updateDicDataAll;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
onAdd: (...args: any[]) => void;
onDel: (...args: any[]) => void;
onEdit: (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<{
modelValue?: (typeof tableModelForm)["value"];
} & Props & {
onOnAdd?: ((...args: any[]) => any) | undefined;
onOnDel?: ((...args: any[]) => any) | undefined;
onOnEdit?: ((...args: any[]) => any) | undefined;
}>, {
option: CrudOption;
}, {}, {}, {}, 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;
};
};