@tuoyuan/web-plus
Version:
基于arco-design-vue的配置化表格表单组件
64 lines (63 loc) • 1.96 kB
TypeScript
import type { Option } from "../form/type";
interface Props {
option: Option;
loading?: boolean;
okText?: string;
cancelText?: string;
title?: string;
footer?: boolean;
default?: Record<string, any>;
cancelBtn?: boolean;
maskClosable?: boolean;
modal?: any;
}
declare let __VLS_typeProps: Props;
declare function reset(): void;
declare function set(key: string, value: any): void;
declare function get(key: string): any;
declare const __VLS_defaults: {
visible: boolean;
};
type __VLS_PublicProps = {
"visible"?: typeof __VLS_defaults['visible'];
} & typeof __VLS_typeProps;
declare var __VLS_inheritedAttrs: {};
declare const __VLS_templateResult: {
slots: Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
footerLeft?(_: {}): any;
};
refs: {
formRef: unknown;
};
attrs: Partial<typeof __VLS_inheritedAttrs>;
};
type __VLS_Slots = typeof __VLS_templateResult['slots'];
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
set: typeof set;
get: typeof get;
reset: typeof reset;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
close: (...args: any[]) => void;
submit: (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<{
visible?: (typeof __VLS_defaults)["visible"];
} & Props & {
onClose?: ((...args: any[]) => any) | undefined;
onSubmit?: ((...args: any[]) => any) | undefined;
}>, {
title: string;
loading: boolean;
cancelText: string;
footer: boolean;
cancelBtn: boolean;
maskClosable: boolean;
okText: string;
modal: any;
}, {}, {}, {}, 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;
};
};