@aplus-frontend/ui
Version:
18 lines (17 loc) • 605 B
TypeScript
import { InjectionKey, Ref } from 'vue';
import { ApTableSettingType } from '../../interface';
type ApColumnSettingContextProps = {
/**
* 当前选中的模版
*/
activeKey: Ref<string>;
/**
* 缓存设置
*/
cacheConfig: Ref<ApTableSettingType>;
deleteTemplate: (key: string) => void;
};
export declare const ApColumnSettingContextKey: InjectionKey<ApColumnSettingContextProps>;
export declare function useProvideApColumnSetting(state: ApColumnSettingContextProps): void;
export declare function useInjectApColumnSetting(): ApColumnSettingContextProps;
export {};