@pubinfo-pr/core 0.1.1 → 0.171.2
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-CmT5_15W.js → AppSetting-D5eSdPuB.js} +15 -15
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CHzkJth7.js → HCheckList.vue_vue_type_script_setup_true_lang-DgeRhutB.js} +1 -1
- package/dist/{HToggle-DpDYLh8y.js → HToggle-BajvSdEE.js} +1 -1
- package/dist/HeaderThinMenu-ouAiyBjb.js +4 -0
- package/dist/{PreferencesContent-AXqWatOF.js → PreferencesContent-mr3zgq9x.js} +4 -4
- package/dist/{SettingBreadcrumb-CBWdS_nO.js → SettingBreadcrumb-Chx1c5oE.js} +3 -3
- package/dist/{SettingCopyright-D5Jhdu1J.js → SettingCopyright-BgIL_X3d.js} +2 -2
- package/dist/{SettingEnableTransition-DQJozSZH.js → SettingEnableTransition-16PeKbCJ.js} +2 -2
- package/dist/{SettingHome-DAwn9Ypx.js → SettingHome-DuLT9846.js} +2 -2
- package/dist/{SettingMenu-DEQRAtWl.js → SettingMenu-DDOmRqGo.js} +3 -3
- package/dist/{SettingMode-bh3I8UBZ.js → SettingMode-B6OwuuHR.js} +1 -1
- package/dist/{SettingNavSearch-iYc-eRzY.js → SettingNavSearch-BzmXK8I0.js} +2 -2
- package/dist/{SettingOther-C2TS6okv.js → SettingOther-DcDn9I3J.js} +2 -2
- package/dist/{SettingPage-B2_SNyn5.js → SettingPage-DmfsDzGF.js} +2 -2
- package/dist/{SettingTabbar-BETdKJxz.js → SettingTabbar-BxxzDY5f.js} +3 -3
- package/dist/{SettingThemes-ComNCP3P.js → SettingThemes-DoTkccTu.js} +1 -1
- package/dist/{SettingToolbar-D0DTBbbb.js → SettingToolbar-ogjoj5NI.js} +2 -2
- package/dist/{SettingTopbar-BcO5Hcxm.js → SettingTopbar-BRZEIJZt.js} +3 -3
- package/dist/{SettingWidthMode-wzTMq96A.js → SettingWidthMode-DQmewGT6.js} +1 -1
- 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/built-in/pinia-plugin/plugins/persistedstate/utils.d.ts +1 -1
- 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 +18 -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/dist/{index-C5X0cH7a.js → index-73TLLAnx.js} +3 -3
- package/dist/{index-BXLF9xfN.js → index-B3GOGQYd.js} +9898 -9894
- package/dist/{index-6W8u4oWQ.js → index-BRjgatUZ.js} +1 -1
- package/dist/index-BrK3HYDT.js +4 -0
- package/dist/{index-B9i7R1pn.js → index-CkUIa4JM.js} +2 -2
- package/dist/{index-_VKoUSGo.js → index-D2zvNBbe.js} +1 -1
- package/dist/{index-CMSPnrUx.js → index-DwF3aqst.js} +1 -1
- package/dist/{index-FATjHAwl.js → index-NOUM2y9h.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{pick-BvMRfqim.js → pick-dLE6MD9A.js} +1 -1
- package/package.json +7 -7
- package/src/built-in/devtools/index.ts +4 -4
- package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +2 -2
- package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +1 -1
- package/src/built-in/pinia-plugin/plugins/persistedstate/utils.ts +1 -1
- package/src/features/stores/modules/iframe.ts +6 -0
- package/src/utils/cleanup.ts +3 -4
- package/types/auto-imports.d.ts +0 -9
- package/dist/HeaderThinMenu-D6jF8yl1.js +0 -4
- package/dist/index-DSKHePRb.js +0 -4
|
@@ -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 | import('vue').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]: import('vue').Slot<any> | undefined;
|
|
62
62
|
}>;
|
|
63
|
-
$root: ComponentPublicInstance | null;
|
|
64
|
-
$parent: ComponentPublicInstance | null;
|
|
63
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
64
|
+
$parent: import('vue').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<import('vue').ExtractPropTypes<{
|
|
69
69
|
element: {
|
|
70
|
-
type: PropType<string | import('vue').Component>;
|
|
70
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
71
71
|
default: string;
|
|
72
72
|
};
|
|
73
73
|
options: {
|
|
74
|
-
type: PropType<false | {
|
|
74
|
+
type: import('vue').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: PropType<false | {
|
|
100
|
+
type: import('vue').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: PropType<boolean | IdleRequestOptions | undefined>;
|
|
108
|
+
type: import('vue').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: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
140
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').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<import('vue').ExtractPropTypes<{
|
|
148
148
|
element: {
|
|
149
|
-
type: PropType<string | import('vue').Component>;
|
|
149
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
150
150
|
default: string;
|
|
151
151
|
};
|
|
152
152
|
options: {
|
|
153
|
-
type: PropType<false | {
|
|
153
|
+
type: import('vue').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: PropType<false | {
|
|
179
|
+
type: import('vue').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: PropType<boolean | IdleRequestOptions | undefined>;
|
|
187
|
+
type: import('vue').PropType<boolean | IdleRequestOptions | undefined>;
|
|
188
188
|
};
|
|
189
189
|
}>> & {
|
|
190
190
|
onOsInitialized?: ((instance: import('../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => any) | undefined;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: string | number | boolean;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
block?: boolean;
|
|
3
|
+
outline?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLButtonElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
block: boolean;
|
|
18
|
+
outline: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string | number | undefined;
|
|
3
|
+
options: {
|
|
4
|
+
label?: string | number;
|
|
5
|
+
icon?: string;
|
|
6
|
+
value: string | number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (args_0: string | number) => any;
|
|
13
|
+
change: (args_0: string | number | undefined) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
|
|
16
|
+
onChange?: ((args_0: string | number | undefined) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
appear?: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
preventClose?: boolean;
|
|
6
|
+
overlay?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: Readonly<{
|
|
11
|
+
default: any;
|
|
12
|
+
footer: any;
|
|
13
|
+
}> & {
|
|
14
|
+
default: any;
|
|
15
|
+
footer: any;
|
|
16
|
+
};
|
|
17
|
+
refs: {};
|
|
18
|
+
rootEl: any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (args_0: boolean) => any;
|
|
23
|
+
close: () => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
26
|
+
onClose?: (() => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
modelValue: boolean;
|
|
29
|
+
appear: boolean;
|
|
30
|
+
preventClose: boolean;
|
|
31
|
+
overlay: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
dropdown?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DropdownMenu } from '../Tools/interface';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: DropdownMenu[];
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): 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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
item?: Item;
|
|
3
|
+
level?: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
interface Item {
|
|
7
|
+
title: string;
|
|
8
|
+
children?: Item[];
|
|
9
|
+
}
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
select: (...args: any[]) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
level: number;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
7
|
+
ref: any;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (args_0: string) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
inputRef: HTMLInputElement;
|
|
16
|
+
}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { CustomStorageEventDetail, StorageArea } from './types';
|
|
2
2
|
/** 自定义事件名称,用于跨标签页通信 */
|
|
3
|
-
export declare const CUSTOM_EVENT = "pubinfo:persistedstate:local";
|
|
3
|
+
export declare const CUSTOM_EVENT = "pubinfo-pr:persistedstate:local";
|
|
4
4
|
/**
|
|
5
5
|
* 调度微任务,优先使用原生 queueMicrotask
|
|
6
6
|
*/
|
|
@@ -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
|
}>;
|