@pubinfo-pr/core 0.1.1 → 0.182.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/built-in/authentication/pages/change-password/components/ChangePasswordForm/index.vue.d.ts +1 -5
- package/dist/built-in/authentication/pages/change-password/index.vue.d.ts +2 -10
- package/dist/built-in/layout-component/components/Menu/item.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/Menu/sub.vue.d.ts +17 -17
- package/dist/built-in/layout-component/components/Menu/types.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingCopyright.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingHome.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingMenu.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingMode.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingNavSearch.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingOther.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingPage.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingTabbar.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingThemes.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingToolbar.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingTopbar.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/Sidebar/index.vue.d.ts +1 -1
- package/dist/built-in/layout-component/components/Tools/SearchPanel.vue.d.ts +15 -15
- package/dist/built-in/layout-component/components/ui/HBadge.vue.d.ts +20 -0
- package/dist/built-in/layout-component/components/ui/HButton.vue.d.ts +26 -0
- package/dist/built-in/layout-component/components/ui/HCheckList.vue.d.ts +20 -0
- package/dist/built-in/layout-component/components/ui/HDialog.vue.d.ts +39 -0
- package/dist/built-in/layout-component/components/ui/HDivider.vue.d.ts +20 -0
- package/dist/built-in/layout-component/components/ui/HDropdown.vue.d.ts +18 -0
- package/dist/built-in/layout-component/components/ui/HDropdownMenu.vue.d.ts +21 -0
- package/dist/built-in/layout-component/components/ui/HDropdownTree.vue.d.ts +32 -0
- package/dist/built-in/layout-component/components/ui/HInput.vue.d.ts +17 -0
- package/dist/built-in/layout-component/components/ui/HKbd.vue.d.ts +17 -0
- package/dist/built-in/layout-component/components/ui/HSelect.vue.d.ts +17 -0
- package/dist/built-in/layout-component/components/ui/HTabList.vue.d.ts +22 -0
- package/dist/built-in/layout-component/components/ui/HToggle.vue.d.ts +14 -0
- package/dist/built-in/layout-component/components/ui/HTooltip.vue.d.ts +23 -0
- package/dist/built-in/layout-component/composables/useContext.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useGetComputedStyle.d.ts +2 -2
- package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +3 -3
- package/dist/built-in/layout-component/composables/useLayoutVisible.d.ts +1 -12
- package/dist/built-in/layout-component/composables/useTabbar.d.ts +8 -8
- package/dist/built-in/layout-component/provider.d.ts +1 -24
- package/dist/features/components/PassStrengthValidator/index.vue.d.ts +6 -6
- package/dist/features/components/PubinfoProvider/index.d.ts +2 -12
- package/dist/features/composables/partyLogin.d.ts +3 -3
- package/dist/features/composables/theme.d.ts +1 -1
- package/dist/features/stores/modules/favorites.d.ts +9 -39
- package/dist/features/stores/modules/iframe.d.ts +15 -61
- package/dist/features/stores/modules/keepAlive.d.ts +9 -9
- package/dist/features/stores/modules/menu.d.ts +21 -255
- package/dist/features/stores/modules/route.d.ts +21 -189
- package/dist/features/stores/modules/settings.d.ts +33 -1662
- package/dist/features/stores/modules/tabbar.d.ts +9 -117
- package/package.json +7 -7
- package/types/auto-imports.d.ts +0 -9
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string | number | undefined;
|
|
3
|
+
options: {
|
|
4
|
+
label: string | number;
|
|
5
|
+
value: string | number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}[];
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (args_0: string | number) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
|
+
readonly "onUpdate:modelValue"?: ((args_0: T) => any) | undefined;
|
|
4
|
+
readonly onChange?: ((args_0: T) => any) | undefined;
|
|
5
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & {
|
|
6
|
+
modelValue: T;
|
|
7
|
+
options: {
|
|
8
|
+
label: any;
|
|
9
|
+
value: T;
|
|
10
|
+
}[];
|
|
11
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
12
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
13
|
+
attrs: any;
|
|
14
|
+
slots: {};
|
|
15
|
+
emit: ((evt: "update:modelValue", args_0: T) => void) & ((evt: "change", args_0: T) => void);
|
|
16
|
+
}>) => import('vue').VNode & {
|
|
17
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_PrettifyLocal<T> = {
|
|
21
|
+
[K in keyof T]: T[K];
|
|
22
|
+
} & {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
onIcon?: string;
|
|
5
|
+
offIcon?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (args_0: boolean) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text?: string;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
text?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
|
+
text: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -13,5 +13,5 @@ interface LayoutContext {
|
|
|
13
13
|
generateTitle: (titile?: string | (() => any)) => string;
|
|
14
14
|
}
|
|
15
15
|
export declare function createContext(options: LayoutContext): void;
|
|
16
|
-
export declare function useContext():
|
|
16
|
+
export declare function useContext(): any;
|
|
17
17
|
export {};
|
|
@@ -10,6 +10,6 @@ export declare function useGetComputedStyle(property: string, root?: HTMLElement
|
|
|
10
10
|
* @returns 包含主侧边栏和子侧边栏实际宽度的计算属性对象。
|
|
11
11
|
*/
|
|
12
12
|
export declare function useGetSidebarActualWidth(): {
|
|
13
|
-
mainSidebarActualWidth:
|
|
14
|
-
subSidebarActualWidth:
|
|
13
|
+
mainSidebarActualWidth: any;
|
|
14
|
+
subSidebarActualWidth: any;
|
|
15
15
|
};
|
|
@@ -13,9 +13,9 @@ declare function toggle(type?: SearchType): void;
|
|
|
13
13
|
* close [#38](https://github.com/wsypower/pubinfo/issues/38)
|
|
14
14
|
*/
|
|
15
15
|
export declare function useGlobalSearch(): {
|
|
16
|
-
isShow:
|
|
17
|
-
searchType:
|
|
18
|
-
activePanelId:
|
|
16
|
+
isShow: import('vue').Ref<boolean, boolean>;
|
|
17
|
+
searchType: import('vue').Ref<SearchType, SearchType>;
|
|
18
|
+
activePanelId: import('vue').ShallowRef<symbol | null, symbol | null>;
|
|
19
19
|
open: typeof open;
|
|
20
20
|
close: typeof close;
|
|
21
21
|
toggle: typeof toggle;
|
|
@@ -4,16 +4,5 @@ export declare function createLayoutVisible(props: LayoutProps): void;
|
|
|
4
4
|
* 判断布局组件内各个部分的展示
|
|
5
5
|
*/
|
|
6
6
|
export declare function useLayoutVisible(_props?: LayoutProps): {
|
|
7
|
-
show:
|
|
8
|
-
/** 顶部栏 */
|
|
9
|
-
header: boolean | undefined;
|
|
10
|
-
/** 主侧边栏 */
|
|
11
|
-
mainSidebar: boolean | undefined;
|
|
12
|
-
/** 副侧边栏 */
|
|
13
|
-
subSidebar: boolean | undefined;
|
|
14
|
-
/** 标签栏 */
|
|
15
|
-
tabbar: boolean | undefined;
|
|
16
|
-
/** 工具栏 */
|
|
17
|
-
toolbar: boolean | undefined;
|
|
18
|
-
}>;
|
|
7
|
+
show: any;
|
|
19
8
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RouteLocationRaw } from 'vue-router';
|
|
2
2
|
export declare function useTabbar(): {
|
|
3
|
-
getId: () =>
|
|
3
|
+
getId: () => any;
|
|
4
4
|
open: (to: RouteLocationRaw) => void;
|
|
5
5
|
go: (delta: number) => void;
|
|
6
6
|
close: (to: RouteLocationRaw) => void;
|
|
7
|
-
closeById: (tabId?:
|
|
8
|
-
closeOtherSide: (tabId?:
|
|
9
|
-
closeLeftSide: (tabId?:
|
|
10
|
-
closeRightSide: (tabId?:
|
|
11
|
-
checkCloseOtherSide: (tabId?:
|
|
12
|
-
checkCloseLeftSide: (tabId?:
|
|
13
|
-
checkCloseRightSide: (tabId?:
|
|
7
|
+
closeById: (tabId?: any) => void;
|
|
8
|
+
closeOtherSide: (tabId?: any) => void;
|
|
9
|
+
closeLeftSide: (tabId?: any) => void;
|
|
10
|
+
closeRightSide: (tabId?: any) => void;
|
|
11
|
+
checkCloseOtherSide: (tabId?: any) => any;
|
|
12
|
+
checkCloseLeftSide: (tabId?: any) => boolean;
|
|
13
|
+
checkCloseRightSide: (tabId?: any) => boolean;
|
|
14
14
|
};
|
|
@@ -1,24 +1 @@
|
|
|
1
|
-
export declare const Provider:
|
|
2
|
-
appTitle: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
isDev: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
}>, () => globalThis.VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
13
|
-
appTitle: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
isDev: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {
|
|
22
|
-
isDev: boolean;
|
|
23
|
-
appTitle: string;
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
export declare const Provider: any;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
vertical: BooleanConstructor;
|
|
3
3
|
modelValue: {
|
|
4
|
-
type:
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
5
|
};
|
|
6
6
|
validate: {
|
|
7
|
-
type:
|
|
7
|
+
type: import('vue').PropType<any>;
|
|
8
8
|
};
|
|
9
9
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
"update:modelValue": (value: string) => any;
|
|
11
11
|
"update:validate": (value: any) => any;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
13
|
vertical: BooleanConstructor;
|
|
14
14
|
modelValue: {
|
|
15
|
-
type:
|
|
15
|
+
type: import('vue').PropType<string>;
|
|
16
16
|
};
|
|
17
17
|
validate: {
|
|
18
|
-
type:
|
|
18
|
+
type: import('vue').PropType<any>;
|
|
19
19
|
};
|
|
20
20
|
}>> & Readonly<{
|
|
21
21
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -4,16 +4,6 @@ interface PubinfoProviderProps {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const pubinfoInjectionKey: InjectionKey<PubinfoProviderProps>;
|
|
6
6
|
export declare function createPubinfoProvider(props: PubinfoProviderProps): void;
|
|
7
|
-
export declare function useProvider():
|
|
8
|
-
declare const _default:
|
|
9
|
-
loadIcon: {
|
|
10
|
-
type: PubinfoProviderProps["loadIcon"];
|
|
11
|
-
};
|
|
12
|
-
}>, () => globalThis.VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
-
loadIcon: {
|
|
16
|
-
type: PubinfoProviderProps["loadIcon"];
|
|
17
|
-
};
|
|
18
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export declare function useProvider(): any;
|
|
8
|
+
declare const _default: any;
|
|
19
9
|
export default _default;
|
|
@@ -12,8 +12,8 @@ export interface UsePartyLoginOptions {
|
|
|
12
12
|
* @param targetUrl 目标跳转 URL (来自 meta.link 或 meta.iframe)
|
|
13
13
|
*/
|
|
14
14
|
export declare function usePartyLogin(config: PartyLoginConfig, targetUrl: string, options?: UsePartyLoginOptions): Promise<{
|
|
15
|
-
url:
|
|
16
|
-
loading:
|
|
17
|
-
error:
|
|
15
|
+
url: import('vue').Ref<string, string>;
|
|
16
|
+
loading: import('vue').Ref<boolean, boolean>;
|
|
17
|
+
error: import('vue').Ref<Error | null, Error | null>;
|
|
18
18
|
execute: () => Promise<string>;
|
|
19
19
|
}>;
|
|
@@ -8,56 +8,26 @@ import { STORE_NAME } from '../enum';
|
|
|
8
8
|
* @returns 包含各种函数和响应式属性以管理收藏夹的对象。
|
|
9
9
|
*/
|
|
10
10
|
declare const useFavoritesStore: import('pinia').StoreDefinition<STORE_NAME.FAVORITES, Pick<{
|
|
11
|
-
list:
|
|
12
|
-
fullPath: string;
|
|
13
|
-
title?: string | (() => string) | undefined;
|
|
14
|
-
i18n?: string | undefined;
|
|
15
|
-
icon?: string | undefined;
|
|
16
|
-
}[], Favorites.recordRaw[] | {
|
|
17
|
-
fullPath: string;
|
|
18
|
-
title?: string | (() => string) | undefined;
|
|
19
|
-
i18n?: string | undefined;
|
|
20
|
-
icon?: string | undefined;
|
|
21
|
-
}[]>;
|
|
11
|
+
list: any;
|
|
22
12
|
canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
|
|
23
|
-
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) =>
|
|
13
|
+
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => any;
|
|
24
14
|
add: (route: RouteLocationNormalized) => void;
|
|
25
15
|
remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
|
|
26
16
|
sort: (newIndex: number, oldIndex: number) => void;
|
|
27
|
-
},
|
|
28
|
-
list:
|
|
29
|
-
fullPath: string;
|
|
30
|
-
title?: string | (() => string) | undefined;
|
|
31
|
-
i18n?: string | undefined;
|
|
32
|
-
icon?: string | undefined;
|
|
33
|
-
}[], Favorites.recordRaw[] | {
|
|
34
|
-
fullPath: string;
|
|
35
|
-
title?: string | (() => string) | undefined;
|
|
36
|
-
i18n?: string | undefined;
|
|
37
|
-
icon?: string | undefined;
|
|
38
|
-
}[]>;
|
|
17
|
+
}, any>, Pick<{
|
|
18
|
+
list: any;
|
|
39
19
|
canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
|
|
40
|
-
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) =>
|
|
20
|
+
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => any;
|
|
41
21
|
add: (route: RouteLocationNormalized) => void;
|
|
42
22
|
remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
|
|
43
23
|
sort: (newIndex: number, oldIndex: number) => void;
|
|
44
|
-
},
|
|
45
|
-
list:
|
|
46
|
-
fullPath: string;
|
|
47
|
-
title?: string | (() => string) | undefined;
|
|
48
|
-
i18n?: string | undefined;
|
|
49
|
-
icon?: string | undefined;
|
|
50
|
-
}[], Favorites.recordRaw[] | {
|
|
51
|
-
fullPath: string;
|
|
52
|
-
title?: string | (() => string) | undefined;
|
|
53
|
-
i18n?: string | undefined;
|
|
54
|
-
icon?: string | undefined;
|
|
55
|
-
}[]>;
|
|
24
|
+
}, any>, Pick<{
|
|
25
|
+
list: any;
|
|
56
26
|
canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
|
|
57
|
-
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) =>
|
|
27
|
+
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => any;
|
|
58
28
|
add: (route: RouteLocationNormalized) => void;
|
|
59
29
|
remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
|
|
60
30
|
sort: (newIndex: number, oldIndex: number) => void;
|
|
61
|
-
},
|
|
31
|
+
}, any>>;
|
|
62
32
|
export default useFavoritesStore;
|
|
63
33
|
export type FavoritesStore = ReturnType<typeof useFavoritesStore>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Iframe } from '../../../../types/iframe';
|
|
2
1
|
import { RouteRecordNormalized } from 'vue-router';
|
|
3
2
|
import { STORE_NAME } from '../enum';
|
|
4
3
|
/**
|
|
@@ -12,77 +11,32 @@ import { STORE_NAME } from '../enum';
|
|
|
12
11
|
* - close: 一个关闭一个或多个 iframe 并从最近路径列表中移除它们的方法。
|
|
13
12
|
*/
|
|
14
13
|
declare const useIframeStore: import('pinia').StoreDefinition<STORE_NAME.IFRAME, Pick<{
|
|
15
|
-
isGenerate:
|
|
16
|
-
openedList:
|
|
17
|
-
path: string;
|
|
18
|
-
src: string;
|
|
19
|
-
isOpen: boolean;
|
|
20
|
-
isLoading: boolean;
|
|
21
|
-
}[]>;
|
|
14
|
+
isGenerate: any;
|
|
15
|
+
openedList: any;
|
|
22
16
|
generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
|
|
23
17
|
closeLoading: (path: string) => void;
|
|
24
18
|
open: (path: string) => void;
|
|
25
19
|
close: (path: string | string[], destroy?: boolean) => void;
|
|
26
|
-
recentPathList:
|
|
27
|
-
list:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
isLoading: boolean;
|
|
32
|
-
}[], Iframe.recordRaw[] | {
|
|
33
|
-
path: string;
|
|
34
|
-
src: string;
|
|
35
|
-
isOpen: boolean;
|
|
36
|
-
isLoading: boolean;
|
|
37
|
-
}[]>;
|
|
38
|
-
}, "list" | "isGenerate" | "recentPathList">, Pick<{
|
|
39
|
-
isGenerate: globalThis.Ref<boolean, boolean>;
|
|
40
|
-
openedList: globalThis.ComputedRef<{
|
|
41
|
-
path: string;
|
|
42
|
-
src: string;
|
|
43
|
-
isOpen: boolean;
|
|
44
|
-
isLoading: boolean;
|
|
45
|
-
}[]>;
|
|
20
|
+
recentPathList: any;
|
|
21
|
+
list: any;
|
|
22
|
+
}, any>, Pick<{
|
|
23
|
+
isGenerate: any;
|
|
24
|
+
openedList: any;
|
|
46
25
|
generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
|
|
47
26
|
closeLoading: (path: string) => void;
|
|
48
27
|
open: (path: string) => void;
|
|
49
28
|
close: (path: string | string[], destroy?: boolean) => void;
|
|
50
|
-
recentPathList:
|
|
51
|
-
list:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
isLoading: boolean;
|
|
56
|
-
}[], Iframe.recordRaw[] | {
|
|
57
|
-
path: string;
|
|
58
|
-
src: string;
|
|
59
|
-
isOpen: boolean;
|
|
60
|
-
isLoading: boolean;
|
|
61
|
-
}[]>;
|
|
62
|
-
}, "openedList">, Pick<{
|
|
63
|
-
isGenerate: globalThis.Ref<boolean, boolean>;
|
|
64
|
-
openedList: globalThis.ComputedRef<{
|
|
65
|
-
path: string;
|
|
66
|
-
src: string;
|
|
67
|
-
isOpen: boolean;
|
|
68
|
-
isLoading: boolean;
|
|
69
|
-
}[]>;
|
|
29
|
+
recentPathList: any;
|
|
30
|
+
list: any;
|
|
31
|
+
}, any>, Pick<{
|
|
32
|
+
isGenerate: any;
|
|
33
|
+
openedList: any;
|
|
70
34
|
generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
|
|
71
35
|
closeLoading: (path: string) => void;
|
|
72
36
|
open: (path: string) => void;
|
|
73
37
|
close: (path: string | string[], destroy?: boolean) => void;
|
|
74
|
-
recentPathList:
|
|
75
|
-
list:
|
|
76
|
-
|
|
77
|
-
src: string;
|
|
78
|
-
isOpen: boolean;
|
|
79
|
-
isLoading: boolean;
|
|
80
|
-
}[], Iframe.recordRaw[] | {
|
|
81
|
-
path: string;
|
|
82
|
-
src: string;
|
|
83
|
-
isOpen: boolean;
|
|
84
|
-
isLoading: boolean;
|
|
85
|
-
}[]>;
|
|
86
|
-
}, "open" | "generateList" | "closeLoading" | "close">>;
|
|
38
|
+
recentPathList: any;
|
|
39
|
+
list: any;
|
|
40
|
+
}, any>>;
|
|
87
41
|
export default useIframeStore;
|
|
88
42
|
export type IframeStore = ReturnType<typeof useIframeStore>;
|
|
@@ -5,20 +5,20 @@ import { STORE_NAME } from '../enum';
|
|
|
5
5
|
* @returns keep-alive 存储对象。
|
|
6
6
|
*/
|
|
7
7
|
declare const useKeepAliveStore: import('pinia').StoreDefinition<STORE_NAME.KEEP_ALIVE, Pick<{
|
|
8
|
-
list:
|
|
9
|
-
add: (name: string | string[]) =>
|
|
8
|
+
list: any;
|
|
9
|
+
add: (name: string | string[]) => any;
|
|
10
10
|
remove: (name: string | string[]) => void;
|
|
11
11
|
clean: () => void;
|
|
12
|
-
},
|
|
13
|
-
list:
|
|
14
|
-
add: (name: string | string[]) =>
|
|
12
|
+
}, any>, Pick<{
|
|
13
|
+
list: any;
|
|
14
|
+
add: (name: string | string[]) => any;
|
|
15
15
|
remove: (name: string | string[]) => void;
|
|
16
16
|
clean: () => void;
|
|
17
|
-
},
|
|
18
|
-
list:
|
|
19
|
-
add: (name: string | string[]) =>
|
|
17
|
+
}, any>, Pick<{
|
|
18
|
+
list: any;
|
|
19
|
+
add: (name: string | string[]) => any;
|
|
20
20
|
remove: (name: string | string[]) => void;
|
|
21
21
|
clean: () => void;
|
|
22
|
-
},
|
|
22
|
+
}, any>>;
|
|
23
23
|
export default useKeepAliveStore;
|
|
24
24
|
export type KeepAliveStore = ReturnType<typeof useKeepAliveStore>;
|