krco
Version:
基于arco-design-vue的配置化表格表单组件
82 lines (81 loc) • 3.06 kB
TypeScript
import type { Option, Column } from "./type";
declare let __VLS_typeProps: {
menuRight?: boolean;
option: Option;
copyBtn?: boolean;
delBtn?: boolean;
};
declare const __VLS_defaults: {
selectedIndex: string;
};
type __VLS_PublicProps = {
modelValue?: any;
"selectedIndex"?: typeof __VLS_defaults['selectedIndex'];
} & typeof __VLS_typeProps;
declare var __VLS_inheritedAttrs: {};
declare const __VLS_templateResult: {
slots: Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {
item: Column;
size: "mini" | "small" | "medium" | "large" | undefined;
}) => any>> & Partial<Record<string, (_: {
label: string | undefined;
record: Option;
}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {
item: Column;
size: "mini" | "small" | "medium" | "large" | undefined;
}) => any>> & {
menu?(_: {
size: "mini" | "small" | "medium" | "large" | undefined;
loading: boolean;
}): any;
menuLeft?(_: {
size: "mini" | "small" | "medium" | "large" | undefined;
loading: boolean;
}): any;
suffix?(_: {
loading: boolean;
}): any;
menuright?(_: {
size: "mini" | "small" | "medium" | "large" | undefined;
loading: boolean;
}): any;
};
refs: {
formRef: unknown;
rowRef: unknown;
};
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, {
reset: (...args: any[]) => void;
submit: (...args: any[]) => void;
"form-change": (...args: any[]) => void;
"item-copy": (...args: any[]) => void;
"item-delete": (...args: any[]) => void;
"item-click": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<{
modelValue?: any;
selectedIndex?: (typeof __VLS_defaults)["selectedIndex"];
} & {
menuRight?: boolean;
option: Option;
copyBtn?: boolean;
delBtn?: boolean;
} & {
onReset?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
"onForm-change"?: ((...args: any[]) => any) | undefined;
"onItem-copy"?: ((...args: any[]) => any) | undefined;
"onItem-delete"?: ((...args: any[]) => any) | undefined;
"onItem-click"?: ((...args: any[]) => any) | undefined;
}>, {
menuRight: 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;
};
};