UNPKG

@zhsz/cool-design-crud

Version:

54 lines (53 loc) 1.39 kB
import type { Browser } from './browser'; export declare function useRefs(): { refs: { [key: string]: obj; }; setRefs: (name: string) => (el: any) => void; }; export declare function useGlobal(): GlobalOptions; export declare function useTools(): { slots: Readonly<{ [name: string]: import("vue").Slot<any> | undefined; }>; getValue: (data: any, params?: any) => any; remoteTableCustom?: ((data: { key: string; value: string | null; }[]) => void) | undefined; dict: ClCrud.Dict; showWatermark: boolean; pageLayoutId: string; permission: ClCrud.Permission; style: { size: import("tdesign-vue-next").SizeEnum; }; events: { [key: string]: (...args: any[]) => any; }; watermark: any; dialog: { modalWidth?: string | number | undefined; }; table: { autoHeight: boolean; }; form: {}; render: { autoHeight: boolean; functionSlots: { exclude: string[]; }; }; crud: any; browser: Browser; }; export declare function useCore(): { crud: ClCrud.Provide; mitt: Emitter; }; export declare function useElApi(keys: string[], el: any): { [key: string]: any; }; export declare function useConfig({ props }: any): any; export declare function useEventListener(name: string, cb: () => any): void;