@uozi-admin/curd
Version:
Easy to implement curd.
35 lines (34 loc) • 1.25 kB
TypeScript
import { StdTableColumn } from '../types';
type __VLS_Props = {
columns: StdTableColumn[];
hideResetBtn?: boolean;
showSearchBtn?: boolean;
data: Record<string, any>;
maxVisibleItems?: number;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
'search-actions-left'?(_: {}): any;
extra?(_: {
formData: Record<string, any>;
}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
reset: () => any;
"update:data": (data: Record<string, any>) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onReset?: (() => any) | undefined;
"onUpdate:data"?: ((data: Record<string, 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;
};
};