@pubinfo/core 2.1.6 → 2.1.7
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/{AppSetting-BIRvodtV.js → AppSetting-CTIsHew8.js} +15 -15
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-BLVMjmfa.js → HCheckList.vue_vue_type_script_setup_true_lang-VeZLC9_3.js} +1 -1
- package/dist/{HToggle-CdADiMUw.js → HToggle-yjb49QxF.js} +1 -1
- package/dist/HeaderThinMenu-BVlGUPXh.js +4 -0
- package/dist/{PreferencesContent-CcsKZRyN.js → PreferencesContent-CZQf1_VU.js} +4 -4
- package/dist/{SettingBreadcrumb-SJBoMC0-.js → SettingBreadcrumb-BcIsqS3T.js} +3 -3
- package/dist/{SettingCopyright-BR0v9vy9.js → SettingCopyright-CLcJJ_ZY.js} +2 -2
- package/dist/{SettingEnableTransition-H3-8W2Ay.js → SettingEnableTransition-8CPCBLhR.js} +2 -2
- package/dist/{SettingHome-EPaeVV35.js → SettingHome-BmaIcr9s.js} +2 -2
- package/dist/{SettingMenu-DeKXG6Ye.js → SettingMenu-CXV2tDsG.js} +3 -3
- package/dist/{SettingMode-Ce8ncU-3.js → SettingMode-ClKWlQsK.js} +1 -1
- package/dist/{SettingNavSearch-Nv1XWI8Z.js → SettingNavSearch-BRDac2j6.js} +2 -2
- package/dist/{SettingOther-DLeUQI_l.js → SettingOther-BX1lfqmd.js} +2 -2
- package/dist/{SettingPage-BgDKHXfm.js → SettingPage-DHw1q1h7.js} +2 -2
- package/dist/{SettingTabbar-DRzh8xvT.js → SettingTabbar-mcZN2csR.js} +3 -3
- package/dist/{SettingThemes-BjJb2ABS.js → SettingThemes-DGui2UHj.js} +1 -1
- package/dist/{SettingToolbar-Dl1m_y2o.js → SettingToolbar-DhcVwzSM.js} +2 -2
- package/dist/{SettingTopbar-HK2Fev5b.js → SettingTopbar-BkzRB6Cj.js} +3 -3
- package/dist/{SettingWidthMode-DJFruHIU.js → SettingWidthMode-fBOSOYdB.js} +1 -1
- package/dist/built-in/authentication/pages/change-password/components/ChangePasswordForm/index.vue.d.ts +639 -2
- package/dist/built-in/authentication/pages/change-password/index.vue.d.ts +644 -3
- 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/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/HInput.vue.d.ts +1 -1
- 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 +12 -1
- package/dist/built-in/layout-component/composables/useTabbar.d.ts +8 -8
- package/dist/built-in/layout-component/provider.d.ts +24 -1
- package/dist/features/components/PassStrengthValidator/index.vue.d.ts +6 -6
- package/dist/features/components/PubinfoProvider/index.d.ts +12 -2
- 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 +39 -9
- package/dist/features/stores/modules/iframe.d.ts +61 -15
- package/dist/features/stores/modules/keepAlive.d.ts +9 -9
- package/dist/features/stores/modules/menu.d.ts +255 -21
- package/dist/features/stores/modules/route.d.ts +189 -21
- package/dist/features/stores/modules/settings.d.ts +1662 -33
- package/dist/features/stores/modules/tabbar.d.ts +117 -9
- package/dist/{index-DqUSWUO-.js → index-Bw1ie7-j.js} +1 -1
- package/dist/index-C2JZzc0b.js +4 -0
- package/dist/{index-DC4SqZQM.js → index-C5mj5gP8.js} +1 -1
- package/dist/{index-BUXE7jUv.js → index-C7-lntpD.js} +1 -1
- package/dist/{index-CRc0qAl1.js → index-CALZPKTP.js} +2 -2
- package/dist/{index-Di9_Accz.js → index-CMZt4YAs.js} +3 -3
- package/dist/{index-Dv2IycJL.js → index-CcAZUk6R.js} +10 -9
- package/dist/{index-Cf1LBY0D.js → index-CxObISsD.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{pick-CkD7KYWg.js → pick-DnLzjJ7h.js} +1 -1
- package/package.json +7 -7
- package/src/features/stores/modules/route.ts +5 -4
- package/dist/HeaderThinMenu-Dp0XlzMT.js +0 -4
- package/dist/index-BRcwNCIV.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SubMenuItemProps } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<SubMenuItemProps, {
|
|
3
|
-
ref:
|
|
3
|
+
ref: globalThis.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4
4
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SubMenuItemProps> & Readonly<{}>, {
|
|
5
5
|
level: number;
|
|
6
6
|
subMenu: boolean;
|
|
@@ -3,7 +3,7 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
3
3
|
level: number;
|
|
4
4
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
5
|
itemRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').SubMenuItemProps> & Readonly<{}>, {
|
|
6
|
-
ref:
|
|
6
|
+
ref: globalThis.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
7
7
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
8
8
|
level: number;
|
|
9
9
|
subMenu: boolean;
|
|
@@ -18,7 +18,7 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
18
18
|
M: {};
|
|
19
19
|
Defaults: {};
|
|
20
20
|
}, Readonly<import('./types').SubMenuItemProps> & Readonly<{}>, {
|
|
21
|
-
ref:
|
|
21
|
+
ref: globalThis.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
22
22
|
}, {}, {}, {}, {
|
|
23
23
|
level: number;
|
|
24
24
|
subMenu: boolean;
|
|
@@ -30,7 +30,7 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
30
30
|
$props: Partial<{
|
|
31
31
|
element: string | import('vue').Component;
|
|
32
32
|
}> & Omit<{
|
|
33
|
-
readonly element: string |
|
|
33
|
+
readonly element: string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
34
34
|
readonly options?: false | {
|
|
35
35
|
paddingAbsolute?: boolean | undefined;
|
|
36
36
|
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
@@ -74,20 +74,20 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
74
74
|
[x: string]: unknown;
|
|
75
75
|
};
|
|
76
76
|
$slots: Readonly<{
|
|
77
|
-
[name: string]:
|
|
77
|
+
[name: string]: globalThis.Slot | undefined;
|
|
78
78
|
}>;
|
|
79
|
-
$root:
|
|
80
|
-
$parent:
|
|
79
|
+
$root: ComponentPublicInstance | null;
|
|
80
|
+
$parent: ComponentPublicInstance | null;
|
|
81
81
|
$host: Element | null;
|
|
82
82
|
$emit: ((event: "osInitialized", instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) & ((event: "osUpdated", instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void) & ((event: "osDestroyed", instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) & ((event: "osScroll", instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void);
|
|
83
83
|
$el: any;
|
|
84
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
84
|
+
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
85
85
|
element: {
|
|
86
|
-
type:
|
|
86
|
+
type: PropType<string | import('vue').Component>;
|
|
87
87
|
default: string;
|
|
88
88
|
};
|
|
89
89
|
options: {
|
|
90
|
-
type:
|
|
90
|
+
type: PropType<false | {
|
|
91
91
|
paddingAbsolute?: boolean | undefined;
|
|
92
92
|
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
93
93
|
update?: {
|
|
@@ -113,7 +113,7 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
113
113
|
} | null | undefined>;
|
|
114
114
|
};
|
|
115
115
|
events: {
|
|
116
|
-
type:
|
|
116
|
+
type: PropType<false | {
|
|
117
117
|
initialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void)[] | null | undefined;
|
|
118
118
|
updated?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void)[] | null | undefined;
|
|
119
119
|
destroyed?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void)[] | null | undefined;
|
|
@@ -121,7 +121,7 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
121
121
|
} | null | undefined>;
|
|
122
122
|
};
|
|
123
123
|
defer: {
|
|
124
|
-
type:
|
|
124
|
+
type: PropType<boolean | IdleRequestOptions | undefined>;
|
|
125
125
|
};
|
|
126
126
|
}>> & {
|
|
127
127
|
onOsInitialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => any) | undefined;
|
|
@@ -153,20 +153,20 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
153
153
|
unmounted?: (() => void) | (() => void)[];
|
|
154
154
|
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
155
155
|
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
156
|
-
errorCaptured?: ((err: unknown, instance:
|
|
156
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
157
157
|
};
|
|
158
158
|
$forceUpdate: () => void;
|
|
159
159
|
$nextTick: typeof import('vue').nextTick;
|
|
160
160
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
161
161
|
} & Readonly<{
|
|
162
162
|
element: string | import('vue').Component;
|
|
163
|
-
}> & Omit<Readonly<
|
|
163
|
+
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
164
164
|
element: {
|
|
165
|
-
type:
|
|
165
|
+
type: PropType<string | import('vue').Component>;
|
|
166
166
|
default: string;
|
|
167
167
|
};
|
|
168
168
|
options: {
|
|
169
|
-
type:
|
|
169
|
+
type: PropType<false | {
|
|
170
170
|
paddingAbsolute?: boolean | undefined;
|
|
171
171
|
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
172
172
|
update?: {
|
|
@@ -192,7 +192,7 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
192
192
|
} | null | undefined>;
|
|
193
193
|
};
|
|
194
194
|
events: {
|
|
195
|
-
type:
|
|
195
|
+
type: PropType<false | {
|
|
196
196
|
initialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void)[] | null | undefined;
|
|
197
197
|
updated?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void)[] | null | undefined;
|
|
198
198
|
destroyed?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void)[] | null | undefined;
|
|
@@ -200,7 +200,7 @@ declare const _default: import('vue').DefineComponent<SubMenuProps, {}, {}, {},
|
|
|
200
200
|
} | null | undefined>;
|
|
201
201
|
};
|
|
202
202
|
defer: {
|
|
203
|
-
type:
|
|
203
|
+
type: PropType<boolean | IdleRequestOptions | undefined>;
|
|
204
204
|
};
|
|
205
205
|
}>> & {
|
|
206
206
|
onOsInitialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => any) | undefined;
|
|
@@ -27,7 +27,7 @@ export interface MenuInjection {
|
|
|
27
27
|
handleMenuItemClick: (index: string, meta?: Menu.recordRaw['meta']) => void;
|
|
28
28
|
handleSubMenuClick: (index: string, indexPath: string[]) => void;
|
|
29
29
|
}
|
|
30
|
-
export declare const rootMenuInjectionKey:
|
|
30
|
+
export declare const rootMenuInjectionKey: globalThis.InjectionKey<MenuInjection>;
|
|
31
31
|
export interface SubMenuProps {
|
|
32
32
|
uniqueKey: string[];
|
|
33
33
|
menu: Menu.recordRaw;
|
|
@@ -2,7 +2,7 @@ type __VLS_Props = {
|
|
|
2
2
|
showAllMenus?: boolean;
|
|
3
3
|
};
|
|
4
4
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
5
|
-
toggleSidebarCollapse: () =>
|
|
5
|
+
toggleSidebarCollapse: () => void;
|
|
6
6
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
7
|
showAllMenus: boolean;
|
|
8
8
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
14
14
|
$props: Partial<{
|
|
15
15
|
element: string | import('vue').Component;
|
|
16
16
|
}> & Omit<{
|
|
17
|
-
readonly element: string |
|
|
17
|
+
readonly element: string | globalThis.Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
18
18
|
readonly options?: false | {
|
|
19
19
|
paddingAbsolute?: boolean | undefined;
|
|
20
20
|
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
@@ -58,20 +58,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
58
58
|
[x: string]: unknown;
|
|
59
59
|
};
|
|
60
60
|
$slots: Readonly<{
|
|
61
|
-
[name: string]:
|
|
61
|
+
[name: string]: globalThis.Slot | undefined;
|
|
62
62
|
}>;
|
|
63
|
-
$root:
|
|
64
|
-
$parent:
|
|
63
|
+
$root: ComponentPublicInstance | null;
|
|
64
|
+
$parent: ComponentPublicInstance | null;
|
|
65
65
|
$host: Element | null;
|
|
66
66
|
$emit: ((event: "osInitialized", instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) & ((event: "osUpdated", instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void) & ((event: "osDestroyed", instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) & ((event: "osScroll", instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void);
|
|
67
67
|
$el: any;
|
|
68
|
-
$options: import('vue').ComponentOptionsBase<Readonly<
|
|
68
|
+
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
69
69
|
element: {
|
|
70
|
-
type:
|
|
70
|
+
type: PropType<string | import('vue').Component>;
|
|
71
71
|
default: string;
|
|
72
72
|
};
|
|
73
73
|
options: {
|
|
74
|
-
type:
|
|
74
|
+
type: PropType<false | {
|
|
75
75
|
paddingAbsolute?: boolean | undefined;
|
|
76
76
|
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
77
77
|
update?: {
|
|
@@ -97,7 +97,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
97
97
|
} | null | undefined>;
|
|
98
98
|
};
|
|
99
99
|
events: {
|
|
100
|
-
type:
|
|
100
|
+
type: PropType<false | {
|
|
101
101
|
initialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void)[] | null | undefined;
|
|
102
102
|
updated?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void)[] | null | undefined;
|
|
103
103
|
destroyed?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void)[] | null | undefined;
|
|
@@ -105,7 +105,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
105
105
|
} | null | undefined>;
|
|
106
106
|
};
|
|
107
107
|
defer: {
|
|
108
|
-
type:
|
|
108
|
+
type: PropType<boolean | IdleRequestOptions | undefined>;
|
|
109
109
|
};
|
|
110
110
|
}>> & {
|
|
111
111
|
onOsInitialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => any) | undefined;
|
|
@@ -137,20 +137,20 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
137
137
|
unmounted?: (() => void) | (() => void)[];
|
|
138
138
|
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
139
139
|
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
140
|
-
errorCaptured?: ((err: unknown, instance:
|
|
140
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
141
141
|
};
|
|
142
142
|
$forceUpdate: () => void;
|
|
143
143
|
$nextTick: typeof import('vue').nextTick;
|
|
144
144
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
145
145
|
} & Readonly<{
|
|
146
146
|
element: string | import('vue').Component;
|
|
147
|
-
}> & Omit<Readonly<
|
|
147
|
+
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
148
148
|
element: {
|
|
149
|
-
type:
|
|
149
|
+
type: PropType<string | import('vue').Component>;
|
|
150
150
|
default: string;
|
|
151
151
|
};
|
|
152
152
|
options: {
|
|
153
|
-
type:
|
|
153
|
+
type: PropType<false | {
|
|
154
154
|
paddingAbsolute?: boolean | undefined;
|
|
155
155
|
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
156
156
|
update?: {
|
|
@@ -176,7 +176,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
176
176
|
} | null | undefined>;
|
|
177
177
|
};
|
|
178
178
|
events: {
|
|
179
|
-
type:
|
|
179
|
+
type: PropType<false | {
|
|
180
180
|
initialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void)[] | null | undefined;
|
|
181
181
|
updated?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void)[] | null | undefined;
|
|
182
182
|
destroyed?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) | ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void)[] | null | undefined;
|
|
@@ -184,7 +184,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
184
184
|
} | null | undefined>;
|
|
185
185
|
};
|
|
186
186
|
defer: {
|
|
187
|
-
type:
|
|
187
|
+
type: PropType<boolean | IdleRequestOptions | undefined>;
|
|
188
188
|
};
|
|
189
189
|
}>> & {
|
|
190
190
|
onOsInitialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => any) | undefined;
|
|
@@ -4,7 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
7
|
-
ref: any
|
|
7
|
+
ref: globalThis.Ref<any, any>;
|
|
8
8
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (args_0: string) => any;
|
|
10
10
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -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(): LayoutContext;
|
|
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: globalThis.ComputedRef<string>;
|
|
14
|
+
subSidebarActualWidth: globalThis.ComputedRef<string>;
|
|
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: globalThis.Ref<boolean, boolean>;
|
|
17
|
+
searchType: globalThis.Ref<SearchType, SearchType>;
|
|
18
|
+
activePanelId: globalThis.ShallowRef<symbol | null>;
|
|
19
19
|
open: typeof open;
|
|
20
20
|
close: typeof close;
|
|
21
21
|
toggle: typeof toggle;
|
|
@@ -4,5 +4,16 @@ export declare function createLayoutVisible(props: LayoutProps): void;
|
|
|
4
4
|
* 判断布局组件内各个部分的展示
|
|
5
5
|
*/
|
|
6
6
|
export declare function useLayoutVisible(_props?: LayoutProps): {
|
|
7
|
-
show:
|
|
7
|
+
show: globalThis.ComputedRef<{
|
|
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
|
+
}>;
|
|
8
19
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RouteLocationRaw } from 'vue-router';
|
|
2
2
|
export declare function useTabbar(): {
|
|
3
|
-
getId: () =>
|
|
3
|
+
getId: () => string;
|
|
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?: string) => void;
|
|
8
|
+
closeOtherSide: (tabId?: string) => void;
|
|
9
|
+
closeLeftSide: (tabId?: string) => void;
|
|
10
|
+
closeRightSide: (tabId?: string) => void;
|
|
11
|
+
checkCloseOtherSide: (tabId?: string) => boolean;
|
|
12
|
+
checkCloseLeftSide: (tabId?: string) => boolean;
|
|
13
|
+
checkCloseRightSide: (tabId?: string) => boolean;
|
|
14
14
|
};
|
|
@@ -1 +1,24 @@
|
|
|
1
|
-
export declare const Provider:
|
|
1
|
+
export declare const Provider: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
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,21 +1,21 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
vertical: BooleanConstructor;
|
|
3
3
|
modelValue: {
|
|
4
|
-
type:
|
|
4
|
+
type: globalThis.PropType<string>;
|
|
5
5
|
};
|
|
6
6
|
validate: {
|
|
7
|
-
type:
|
|
7
|
+
type: globalThis.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<globalThis.ExtractPropTypes<{
|
|
13
13
|
vertical: BooleanConstructor;
|
|
14
14
|
modelValue: {
|
|
15
|
-
type:
|
|
15
|
+
type: globalThis.PropType<string>;
|
|
16
16
|
};
|
|
17
17
|
validate: {
|
|
18
|
-
type:
|
|
18
|
+
type: globalThis.PropType<any>;
|
|
19
19
|
};
|
|
20
20
|
}>> & Readonly<{
|
|
21
21
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -4,6 +4,16 @@ 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:
|
|
7
|
+
export declare function useProvider(): PubinfoProviderProps;
|
|
8
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
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>;
|
|
9
19
|
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: globalThis.Ref<string, string>;
|
|
16
|
+
loading: globalThis.Ref<boolean, boolean>;
|
|
17
|
+
error: globalThis.Ref<Error | null, Error | null>;
|
|
18
18
|
execute: () => Promise<string>;
|
|
19
19
|
}>;
|
|
@@ -8,26 +8,56 @@ import { STORE_NAME } from '../enum';
|
|
|
8
8
|
* @returns 包含各种函数和响应式属性以管理收藏夹的对象。
|
|
9
9
|
*/
|
|
10
10
|
declare const useFavoritesStore: import('pinia').StoreDefinition<STORE_NAME.FAVORITES, Pick<{
|
|
11
|
-
list:
|
|
11
|
+
list: globalThis.Ref<{
|
|
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
|
+
}[]>;
|
|
12
22
|
canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
|
|
13
|
-
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) =>
|
|
23
|
+
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => boolean;
|
|
14
24
|
add: (route: RouteLocationNormalized) => void;
|
|
15
25
|
remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
|
|
16
26
|
sort: (newIndex: number, oldIndex: number) => void;
|
|
17
|
-
},
|
|
18
|
-
list:
|
|
27
|
+
}, "list">, Pick<{
|
|
28
|
+
list: globalThis.Ref<{
|
|
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
|
+
}[]>;
|
|
19
39
|
canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
|
|
20
|
-
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) =>
|
|
40
|
+
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => boolean;
|
|
21
41
|
add: (route: RouteLocationNormalized) => void;
|
|
22
42
|
remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
|
|
23
43
|
sort: (newIndex: number, oldIndex: number) => void;
|
|
24
|
-
},
|
|
25
|
-
list:
|
|
44
|
+
}, never>, Pick<{
|
|
45
|
+
list: globalThis.Ref<{
|
|
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
|
+
}[]>;
|
|
26
56
|
canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
|
|
27
|
-
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) =>
|
|
57
|
+
isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => boolean;
|
|
28
58
|
add: (route: RouteLocationNormalized) => void;
|
|
29
59
|
remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
|
|
30
60
|
sort: (newIndex: number, oldIndex: number) => void;
|
|
31
|
-
},
|
|
61
|
+
}, "sort" | "add" | "remove" | "canAdd" | "isAdd">>;
|
|
32
62
|
export default useFavoritesStore;
|
|
33
63
|
export type FavoritesStore = ReturnType<typeof useFavoritesStore>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Iframe } from '../../../../types/iframe';
|
|
1
2
|
import { RouteRecordNormalized } from 'vue-router';
|
|
2
3
|
import { STORE_NAME } from '../enum';
|
|
3
4
|
/**
|
|
@@ -11,35 +12,80 @@ import { STORE_NAME } from '../enum';
|
|
|
11
12
|
* - close: 一个关闭一个或多个 iframe 并从最近路径列表中移除它们的方法。
|
|
12
13
|
*/
|
|
13
14
|
declare const useIframeStore: import('pinia').StoreDefinition<STORE_NAME.IFRAME, Pick<{
|
|
14
|
-
isGenerate:
|
|
15
|
-
openedList:
|
|
15
|
+
isGenerate: globalThis.Ref<boolean, boolean>;
|
|
16
|
+
openedList: globalThis.ComputedRef<{
|
|
17
|
+
path: string;
|
|
18
|
+
src: string;
|
|
19
|
+
isOpen: boolean;
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
}[]>;
|
|
16
22
|
generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
|
|
17
23
|
closeLoading: (path: string) => void;
|
|
18
24
|
open: (path: string) => void;
|
|
19
25
|
close: (path: string | string[], destroy?: boolean) => void;
|
|
20
26
|
clean: () => void;
|
|
21
|
-
recentPathList:
|
|
22
|
-
list:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
recentPathList: globalThis.Ref<string[], string[]>;
|
|
28
|
+
list: globalThis.Ref<{
|
|
29
|
+
path: string;
|
|
30
|
+
src: string;
|
|
31
|
+
isOpen: boolean;
|
|
32
|
+
isLoading: boolean;
|
|
33
|
+
}[], Iframe.recordRaw[] | {
|
|
34
|
+
path: string;
|
|
35
|
+
src: string;
|
|
36
|
+
isOpen: boolean;
|
|
37
|
+
isLoading: boolean;
|
|
38
|
+
}[]>;
|
|
39
|
+
}, "list" | "isGenerate" | "recentPathList">, Pick<{
|
|
40
|
+
isGenerate: globalThis.Ref<boolean, boolean>;
|
|
41
|
+
openedList: globalThis.ComputedRef<{
|
|
42
|
+
path: string;
|
|
43
|
+
src: string;
|
|
44
|
+
isOpen: boolean;
|
|
45
|
+
isLoading: boolean;
|
|
46
|
+
}[]>;
|
|
26
47
|
generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
|
|
27
48
|
closeLoading: (path: string) => void;
|
|
28
49
|
open: (path: string) => void;
|
|
29
50
|
close: (path: string | string[], destroy?: boolean) => void;
|
|
30
51
|
clean: () => void;
|
|
31
|
-
recentPathList:
|
|
32
|
-
list:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
52
|
+
recentPathList: globalThis.Ref<string[], string[]>;
|
|
53
|
+
list: globalThis.Ref<{
|
|
54
|
+
path: string;
|
|
55
|
+
src: string;
|
|
56
|
+
isOpen: boolean;
|
|
57
|
+
isLoading: boolean;
|
|
58
|
+
}[], Iframe.recordRaw[] | {
|
|
59
|
+
path: string;
|
|
60
|
+
src: string;
|
|
61
|
+
isOpen: boolean;
|
|
62
|
+
isLoading: boolean;
|
|
63
|
+
}[]>;
|
|
64
|
+
}, "openedList">, Pick<{
|
|
65
|
+
isGenerate: globalThis.Ref<boolean, boolean>;
|
|
66
|
+
openedList: globalThis.ComputedRef<{
|
|
67
|
+
path: string;
|
|
68
|
+
src: string;
|
|
69
|
+
isOpen: boolean;
|
|
70
|
+
isLoading: boolean;
|
|
71
|
+
}[]>;
|
|
36
72
|
generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
|
|
37
73
|
closeLoading: (path: string) => void;
|
|
38
74
|
open: (path: string) => void;
|
|
39
75
|
close: (path: string | string[], destroy?: boolean) => void;
|
|
40
76
|
clean: () => void;
|
|
41
|
-
recentPathList:
|
|
42
|
-
list:
|
|
43
|
-
|
|
77
|
+
recentPathList: globalThis.Ref<string[], string[]>;
|
|
78
|
+
list: globalThis.Ref<{
|
|
79
|
+
path: string;
|
|
80
|
+
src: string;
|
|
81
|
+
isOpen: boolean;
|
|
82
|
+
isLoading: boolean;
|
|
83
|
+
}[], Iframe.recordRaw[] | {
|
|
84
|
+
path: string;
|
|
85
|
+
src: string;
|
|
86
|
+
isOpen: boolean;
|
|
87
|
+
isLoading: boolean;
|
|
88
|
+
}[]>;
|
|
89
|
+
}, "open" | "clean" | "generateList" | "closeLoading" | "close">>;
|
|
44
90
|
export default useIframeStore;
|
|
45
91
|
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: globalThis.Ref<string[], string[]>;
|
|
9
|
+
add: (name: string | string[]) => number | false | undefined;
|
|
10
10
|
remove: (name: string | string[]) => void;
|
|
11
11
|
clean: () => void;
|
|
12
|
-
},
|
|
13
|
-
list:
|
|
14
|
-
add: (name: string | string[]) =>
|
|
12
|
+
}, "list">, Pick<{
|
|
13
|
+
list: globalThis.Ref<string[], string[]>;
|
|
14
|
+
add: (name: string | string[]) => number | false | undefined;
|
|
15
15
|
remove: (name: string | string[]) => void;
|
|
16
16
|
clean: () => void;
|
|
17
|
-
},
|
|
18
|
-
list:
|
|
19
|
-
add: (name: string | string[]) =>
|
|
17
|
+
}, never>, Pick<{
|
|
18
|
+
list: globalThis.Ref<string[], string[]>;
|
|
19
|
+
add: (name: string | string[]) => number | false | undefined;
|
|
20
20
|
remove: (name: string | string[]) => void;
|
|
21
21
|
clean: () => void;
|
|
22
|
-
},
|
|
22
|
+
}, "add" | "remove" | "clean">>;
|
|
23
23
|
export default useKeepAliveStore;
|
|
24
24
|
export type KeepAliveStore = ReturnType<typeof useKeepAliveStore>;
|