@uozi-admin/curd
Version:
Easy to implement curd.
34 lines (33 loc) • 1.19 kB
TypeScript
import { StdTableColumn } from 'src/types';
import { CurdApi } from 'src/types/api';
type __VLS_Props = {
api: CurdApi;
beforeSave?: () => Promise<void>;
columns: StdTableColumn[];
formClass?: string;
formRowProps?: any;
};
declare function showModal(rowKeys: (number | string)[], rows: any[]): void;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
extra?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
showModal: typeof showModal;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
save: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onSave?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};