advint-user-admin
Version:
开箱即用的后台管理基础用户系统组件
51 lines (50 loc) • 2.21 kB
TypeScript
export declare const useAppStore: import('pinia').StoreDefinition<"app", Pick<{
device: globalThis.Ref<string, string>;
sidebar: {
opened: boolean;
withoutAnimation: boolean;
hide: boolean;
};
language: import('@vueuse/core').RemovableRef<string>;
locale: globalThis.ComputedRef<any>;
size: import('@vueuse/core').RemovableRef<"large" | "default" | "small">;
changeLanguage: (val: string) => void;
toggleSideBar: (withoutAnimation: boolean) => false | undefined;
closeSideBar: ({ withoutAnimation }: any) => void;
toggleDevice: (d: string) => void;
setSize: (s: "large" | "default" | "small") => void;
toggleSideBarHide: (status: boolean) => void;
}, "size" | "language" | "device" | "sidebar">, Pick<{
device: globalThis.Ref<string, string>;
sidebar: {
opened: boolean;
withoutAnimation: boolean;
hide: boolean;
};
language: import('@vueuse/core').RemovableRef<string>;
locale: globalThis.ComputedRef<any>;
size: import('@vueuse/core').RemovableRef<"large" | "default" | "small">;
changeLanguage: (val: string) => void;
toggleSideBar: (withoutAnimation: boolean) => false | undefined;
closeSideBar: ({ withoutAnimation }: any) => void;
toggleDevice: (d: string) => void;
setSize: (s: "large" | "default" | "small") => void;
toggleSideBarHide: (status: boolean) => void;
}, "locale">, Pick<{
device: globalThis.Ref<string, string>;
sidebar: {
opened: boolean;
withoutAnimation: boolean;
hide: boolean;
};
language: import('@vueuse/core').RemovableRef<string>;
locale: globalThis.ComputedRef<any>;
size: import('@vueuse/core').RemovableRef<"large" | "default" | "small">;
changeLanguage: (val: string) => void;
toggleSideBar: (withoutAnimation: boolean) => false | undefined;
closeSideBar: ({ withoutAnimation }: any) => void;
toggleDevice: (d: string) => void;
setSize: (s: "large" | "default" | "small") => void;
toggleSideBarHide: (status: boolean) => void;
}, "changeLanguage" | "toggleSideBar" | "closeSideBar" | "toggleDevice" | "setSize" | "toggleSideBarHide">>;
export default useAppStore;