Template
Migrate old admin modules and local crud deps
Port pages for data forms, score admin, student maintenance, vacation records, menu routing, and workbench. Add team switching, dynamic menu loading, viewport scaling, and bundled local fast-crud packages.
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
import { Ref } from "vue";
|
||||
import { CrudExpose } from "../d/expose";
|
||||
import { CrudBinding } from "../d";
|
||||
export type UseExposeProps<R = any> = {
|
||||
crudRef: Ref;
|
||||
crudBinding: Ref<CrudBinding<R>>;
|
||||
};
|
||||
export type UseExposeRet<R = any> = {
|
||||
expose: CrudExpose<R>;
|
||||
crudExpose: CrudExpose<R>;
|
||||
};
|
||||
export type UseEditableProps<R = any> = {
|
||||
crudExpose: CrudExpose<R>;
|
||||
};
|
||||
export type EditableOnEnabledProps = {
|
||||
editable: any;
|
||||
};
|
||||
/**
|
||||
*
|
||||
* @param props
|
||||
*/
|
||||
export declare function useExpose<R = any>(props: UseExposeProps<R>): UseExposeRet<R>;
|
||||
Reference in New Issue
Block a user