@pubinfo/core 2.0.0-rc.1 → 2.0.0-rc.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-Bblni_W7.js → AppSetting-D2RJrc9O.js} +15 -15
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-A7PnhNKK.js → HCheckList.vue_vue_type_script_setup_true_lang-DusVz35O.js} +1 -1
- package/dist/{HToggle-xibvPpmf.js → HToggle-DMcVgMVY.js} +1 -1
- package/dist/{PreferencesContent--JtPw_LT.js → PreferencesContent-Dtd9rtew.js} +4 -4
- package/dist/{SettingBreadcrumb-BwhdAtkC.js → SettingBreadcrumb-QSCSviKM.js} +3 -3
- package/dist/{SettingCopyright-DPsRDagL.js → SettingCopyright-Dr5P6yfq.js} +2 -2
- package/dist/{SettingEnableTransition-mtHTUb08.js → SettingEnableTransition-DGiHEbCI.js} +2 -2
- package/dist/{SettingHome-agxHFIKq.js → SettingHome-CEPcBlds.js} +2 -2
- package/dist/{SettingMenu-D6WwcOw-.js → SettingMenu-BJdjnRA6.js} +3 -3
- package/dist/{SettingMode-CkmhszlD.js → SettingMode-BnuCHoEY.js} +1 -1
- package/dist/{SettingNavSearch-CEB5DZGf.js → SettingNavSearch-CiU4BmlU.js} +2 -2
- package/dist/{SettingOther-Dzs1uwnC.js → SettingOther-DTHjVlFe.js} +2 -2
- package/dist/{SettingPage-bOThkL2-.js → SettingPage-D75_Nf05.js} +2 -2
- package/dist/{SettingTabbar-L6yQxAeE.js → SettingTabbar-D48dzvgA.js} +3 -3
- package/dist/{SettingThemes-Cxa5bR66.js → SettingThemes-D-8vTs5n.js} +1 -1
- package/dist/{SettingToolbar-BZ2uHom2.js → SettingToolbar-DjIjm9V-.js} +2 -2
- package/dist/{SettingTopbar-hptxTh8m.js → SettingTopbar-Cg30OTH3.js} +3 -3
- package/dist/{SettingWidthMode-D2R2W4-n.js → SettingWidthMode-BKV_7kb8.js} +1 -1
- package/dist/{TopThinMode-C26i10py.js → TopThinMode-JFYsp_lJ.js} +1 -1
- package/dist/built-in/layout-component/components/Tools/index.vue.d.ts +0 -206
- package/dist/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -206
- package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +19 -0
- package/dist/{colors-C8I6Fdyp.js → colors-CODcBxrF.js} +1 -1
- package/dist/{index-D948mfZb.js → index-BAoB7aoj.js} +1 -1
- package/dist/{index-DeWCd_-p.js → index-BROqFYXS.js} +1 -1
- package/dist/{index-DdS6qgK_.js → index-BVLkBCRY.js} +4 -4
- package/dist/{index-EOTrQlGo.js → index-D4_xmL_A.js} +1 -1
- package/dist/index-DQn1WFMa.js +139 -0
- package/dist/{index-DZ6SbWiv.js → index-DmcblkoZ.js} +2 -2
- package/dist/{index-D3zjK9rd.js → index-DvJr0paY.js} +2 -2
- package/dist/{index-RwbJwutI.js → index-Jd3PYkpj.js} +13117 -13070
- package/dist/index-RT-QBzm0.js +234 -0
- package/dist/index.js +1 -1
- package/dist/{pick-D6j4F3UM.js → pick-BLJM77QN.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -6
- package/src/built-in/authentication/pages/change-organization/assets/change-org.svg +1 -1
- package/src/built-in/authentication/pages/change-password/assets/mima.svg +1 -1
- package/src/built-in/authorization/pages/not-permission/403.svg +1 -1
- package/src/built-in/authorization/pages/not-permission/403_dark.svg +1 -1
- package/src/built-in/layout-component/assets/icons/favorites.svg +1 -1
- package/src/built-in/layout-component/assets/icons/toolbar-collapse.svg +1 -1
- package/src/built-in/layout-component/components/Tools/Search.vue +11 -5
- package/src/built-in/layout-component/components/Tools/index.vue +7 -5
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +5 -4
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +32 -10
- package/src/built-in/layout-component/composables/useGlobalSearch.ts +48 -0
- package/src/features/assets/fonts/digital-7/digital-7-webfont.svg +131 -133
- package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.svg +130 -132
- package/src/features/assets/images/org.svg +2 -2
- package/src/features/components/NotAllowed/assets/403.svg +1 -1
- package/src/features/components/NotAllowed/assets/403_dark.svg +1 -1
- package/src/features/components/PubinfoIcon/index.vue +1 -1
- package/src/features/pages/not-found/assets/404.svg +1 -1
- package/src/features/pages/not-found/assets/404_dark.svg +1 -1
- package/dist/index-CkyHqPON.js +0 -139
- package/dist/index-xzfvpJSq.js +0 -234
|
@@ -7,211 +7,5 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
7
7
|
M: {};
|
|
8
8
|
Defaults: {};
|
|
9
9
|
}, Readonly<import('vue').TransitionGroupProps>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
10
|
-
searchRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
11
|
-
toggle: (type?: "menu" | "tab") => void;
|
|
12
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
13
|
-
searchInputRef: HTMLInputElement;
|
|
14
|
-
searchResultRef: ({
|
|
15
|
-
$: import('vue').ComponentInternalInstance;
|
|
16
|
-
$data: {};
|
|
17
|
-
$props: Partial<{
|
|
18
|
-
element: string | import('vue').Component;
|
|
19
|
-
}> & Omit<{
|
|
20
|
-
readonly element: string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>;
|
|
21
|
-
readonly options?: false | {
|
|
22
|
-
paddingAbsolute?: boolean | undefined;
|
|
23
|
-
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
24
|
-
update?: {
|
|
25
|
-
elementEvents?: [elementSelector: string, eventNames: string][] | null | undefined;
|
|
26
|
-
debounce?: number | [timeout: number, maxWait: number] | null | undefined;
|
|
27
|
-
attributes?: string[] | null | undefined;
|
|
28
|
-
ignoreMutation?: ((mutation: MutationRecord) => any) | null | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
overflow?: {
|
|
31
|
-
x?: import('../../../../../../../../node_modules/overlayscrollbars').OverflowBehavior | undefined;
|
|
32
|
-
y?: import('../../../../../../../../node_modules/overlayscrollbars').OverflowBehavior | undefined;
|
|
33
|
-
} | undefined;
|
|
34
|
-
scrollbars?: {
|
|
35
|
-
theme?: string | null | undefined;
|
|
36
|
-
visibility?: import('../../../../../../../../node_modules/overlayscrollbars').ScrollbarsVisibilityBehavior | undefined;
|
|
37
|
-
autoHide?: import('../../../../../../../../node_modules/overlayscrollbars').ScrollbarsAutoHideBehavior | undefined;
|
|
38
|
-
autoHideDelay?: number | undefined;
|
|
39
|
-
autoHideSuspend?: boolean | undefined;
|
|
40
|
-
dragScroll?: boolean | undefined;
|
|
41
|
-
clickScroll?: boolean | undefined;
|
|
42
|
-
pointers?: string[] | null | undefined;
|
|
43
|
-
} | undefined;
|
|
44
|
-
} | null | undefined;
|
|
45
|
-
readonly defer?: boolean | IdleRequestOptions | undefined;
|
|
46
|
-
readonly events?: false | {
|
|
47
|
-
initialized?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void)[] | null | undefined;
|
|
48
|
-
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;
|
|
49
|
-
destroyed?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void)[] | null | undefined;
|
|
50
|
-
scroll?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void)[] | null | undefined;
|
|
51
|
-
} | null | undefined;
|
|
52
|
-
onOsInitialized?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => any) | undefined | undefined;
|
|
53
|
-
onOsUpdated?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => any) | undefined | undefined;
|
|
54
|
-
onOsDestroyed?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => any) | undefined | undefined;
|
|
55
|
-
onOsScroll?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => any) | undefined | undefined;
|
|
56
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "element">;
|
|
57
|
-
$attrs: {
|
|
58
|
-
[x: string]: unknown;
|
|
59
|
-
};
|
|
60
|
-
$refs: {
|
|
61
|
-
[x: string]: unknown;
|
|
62
|
-
};
|
|
63
|
-
$slots: Readonly<{
|
|
64
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
65
|
-
}>;
|
|
66
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
67
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
68
|
-
$host: Element | null;
|
|
69
|
-
$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);
|
|
70
|
-
$el: any;
|
|
71
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
-
element: {
|
|
73
|
-
type: import('vue').PropType<string | import('vue').Component>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
options: {
|
|
77
|
-
type: import('vue').PropType<false | {
|
|
78
|
-
paddingAbsolute?: boolean | undefined;
|
|
79
|
-
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
80
|
-
update?: {
|
|
81
|
-
elementEvents?: [elementSelector: string, eventNames: string][] | null | undefined;
|
|
82
|
-
debounce?: number | [timeout: number, maxWait: number] | null | undefined;
|
|
83
|
-
attributes?: string[] | null | undefined;
|
|
84
|
-
ignoreMutation?: ((mutation: MutationRecord) => any) | null | undefined;
|
|
85
|
-
} | undefined;
|
|
86
|
-
overflow?: {
|
|
87
|
-
x?: import('../../../../../../../../node_modules/overlayscrollbars').OverflowBehavior | undefined;
|
|
88
|
-
y?: import('../../../../../../../../node_modules/overlayscrollbars').OverflowBehavior | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
scrollbars?: {
|
|
91
|
-
theme?: string | null | undefined;
|
|
92
|
-
visibility?: import('../../../../../../../../node_modules/overlayscrollbars').ScrollbarsVisibilityBehavior | undefined;
|
|
93
|
-
autoHide?: import('../../../../../../../../node_modules/overlayscrollbars').ScrollbarsAutoHideBehavior | undefined;
|
|
94
|
-
autoHideDelay?: number | undefined;
|
|
95
|
-
autoHideSuspend?: boolean | undefined;
|
|
96
|
-
dragScroll?: boolean | undefined;
|
|
97
|
-
clickScroll?: boolean | undefined;
|
|
98
|
-
pointers?: string[] | null | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
} | null | undefined>;
|
|
101
|
-
};
|
|
102
|
-
events: {
|
|
103
|
-
type: import('vue').PropType<false | {
|
|
104
|
-
initialized?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void)[] | null | undefined;
|
|
105
|
-
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;
|
|
106
|
-
destroyed?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void)[] | null | undefined;
|
|
107
|
-
scroll?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void)[] | null | undefined;
|
|
108
|
-
} | null | undefined>;
|
|
109
|
-
};
|
|
110
|
-
defer: {
|
|
111
|
-
type: import('vue').PropType<boolean | IdleRequestOptions | undefined>;
|
|
112
|
-
};
|
|
113
|
-
}>> & {
|
|
114
|
-
onOsInitialized?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => any) | undefined;
|
|
115
|
-
onOsUpdated?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => any) | undefined;
|
|
116
|
-
onOsDestroyed?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => any) | undefined;
|
|
117
|
-
onOsScroll?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => any) | undefined;
|
|
118
|
-
}, {
|
|
119
|
-
osInstance(): import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars | null;
|
|
120
|
-
getElement(): HTMLElement | null;
|
|
121
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
122
|
-
osInitialized: (instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void;
|
|
123
|
-
osUpdated: (instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => void;
|
|
124
|
-
osDestroyed: (instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void;
|
|
125
|
-
osScroll: (instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void;
|
|
126
|
-
}, string, {
|
|
127
|
-
element: string | import('vue').Component;
|
|
128
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
129
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
130
|
-
created?: (() => void) | (() => void)[];
|
|
131
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
132
|
-
mounted?: (() => void) | (() => void)[];
|
|
133
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
134
|
-
updated?: (() => void) | (() => void)[];
|
|
135
|
-
activated?: (() => void) | (() => void)[];
|
|
136
|
-
deactivated?: (() => void) | (() => void)[];
|
|
137
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
138
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
139
|
-
destroyed?: (() => void) | (() => void)[];
|
|
140
|
-
unmounted?: (() => void) | (() => void)[];
|
|
141
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
142
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
143
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
144
|
-
};
|
|
145
|
-
$forceUpdate: () => void;
|
|
146
|
-
$nextTick: typeof import('vue').nextTick;
|
|
147
|
-
$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;
|
|
148
|
-
} & Readonly<{
|
|
149
|
-
element: string | import('vue').Component;
|
|
150
|
-
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
151
|
-
element: {
|
|
152
|
-
type: import('vue').PropType<string | import('vue').Component>;
|
|
153
|
-
default: string;
|
|
154
|
-
};
|
|
155
|
-
options: {
|
|
156
|
-
type: import('vue').PropType<false | {
|
|
157
|
-
paddingAbsolute?: boolean | undefined;
|
|
158
|
-
showNativeOverlaidScrollbars?: boolean | undefined;
|
|
159
|
-
update?: {
|
|
160
|
-
elementEvents?: [elementSelector: string, eventNames: string][] | null | undefined;
|
|
161
|
-
debounce?: number | [timeout: number, maxWait: number] | null | undefined;
|
|
162
|
-
attributes?: string[] | null | undefined;
|
|
163
|
-
ignoreMutation?: ((mutation: MutationRecord) => any) | null | undefined;
|
|
164
|
-
} | undefined;
|
|
165
|
-
overflow?: {
|
|
166
|
-
x?: import('../../../../../../../../node_modules/overlayscrollbars').OverflowBehavior | undefined;
|
|
167
|
-
y?: import('../../../../../../../../node_modules/overlayscrollbars').OverflowBehavior | undefined;
|
|
168
|
-
} | undefined;
|
|
169
|
-
scrollbars?: {
|
|
170
|
-
theme?: string | null | undefined;
|
|
171
|
-
visibility?: import('../../../../../../../../node_modules/overlayscrollbars').ScrollbarsVisibilityBehavior | undefined;
|
|
172
|
-
autoHide?: import('../../../../../../../../node_modules/overlayscrollbars').ScrollbarsAutoHideBehavior | undefined;
|
|
173
|
-
autoHideDelay?: number | undefined;
|
|
174
|
-
autoHideSuspend?: boolean | undefined;
|
|
175
|
-
dragScroll?: boolean | undefined;
|
|
176
|
-
clickScroll?: boolean | undefined;
|
|
177
|
-
pointers?: string[] | null | undefined;
|
|
178
|
-
} | undefined;
|
|
179
|
-
} | null | undefined>;
|
|
180
|
-
};
|
|
181
|
-
events: {
|
|
182
|
-
type: import('vue').PropType<false | {
|
|
183
|
-
initialized?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => void)[] | null | undefined;
|
|
184
|
-
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;
|
|
185
|
-
destroyed?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => void)[] | null | undefined;
|
|
186
|
-
scroll?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void) | ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => void)[] | null | undefined;
|
|
187
|
-
} | null | undefined>;
|
|
188
|
-
};
|
|
189
|
-
defer: {
|
|
190
|
-
type: import('vue').PropType<boolean | IdleRequestOptions | undefined>;
|
|
191
|
-
};
|
|
192
|
-
}>> & {
|
|
193
|
-
onOsInitialized?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars) => any) | undefined;
|
|
194
|
-
onOsUpdated?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, onUpdatedArgs: import('../../../../../../../../node_modules/overlayscrollbars').OnUpdatedEventListenerArgs) => any) | undefined;
|
|
195
|
-
onOsDestroyed?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, canceled: boolean) => any) | undefined;
|
|
196
|
-
onOsScroll?: ((instance: import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars, event: Event) => any) | undefined;
|
|
197
|
-
}, "element" | "osInstance" | "getElement"> & import('vue').ShallowUnwrapRef<{
|
|
198
|
-
osInstance(): import('../../../../../../../../node_modules/overlayscrollbars').OverlayScrollbars | null;
|
|
199
|
-
getElement(): HTMLElement | null;
|
|
200
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
201
|
-
$slots: {
|
|
202
|
-
default?(_: {}): any;
|
|
203
|
-
};
|
|
204
|
-
}) | null;
|
|
205
|
-
searchResultItemRef: HTMLAnchorElement[];
|
|
206
|
-
}, any, import('vue').ComponentProvideOptions, {
|
|
207
|
-
P: {};
|
|
208
|
-
B: {};
|
|
209
|
-
D: {};
|
|
210
|
-
C: {};
|
|
211
|
-
M: {};
|
|
212
|
-
Defaults: {};
|
|
213
|
-
}, Readonly<{}> & Readonly<{}>, {
|
|
214
|
-
toggle: (type?: "menu" | "tab") => void;
|
|
215
|
-
}, {}, {}, {}, {}> | null;
|
|
216
10
|
}, HTMLDivElement>;
|
|
217
11
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type SearchType = 'menu' | 'tab';
|
|
2
|
+
declare function open(type?: SearchType): void;
|
|
3
|
+
declare function close(): void;
|
|
4
|
+
declare function toggle(type?: SearchType): void;
|
|
5
|
+
/**
|
|
6
|
+
* 全局搜索服务
|
|
7
|
+
* 可以支持多处挂载,只需要使用 `useGlobalSearch` 开启即可
|
|
8
|
+
* 这样可以避免如果使用快捷键可能会多处开启 search 的问题
|
|
9
|
+
*
|
|
10
|
+
* close [#38](https://github.com/wsypower/pubinfo/issues/38)
|
|
11
|
+
*/
|
|
12
|
+
export declare function useGlobalSearch(): {
|
|
13
|
+
isShow: import('vue').Ref<boolean, boolean>;
|
|
14
|
+
searchType: import('vue').Ref<SearchType, SearchType>;
|
|
15
|
+
open: typeof open;
|
|
16
|
+
close: typeof close;
|
|
17
|
+
toggle: typeof toggle;
|
|
18
|
+
};
|
|
19
|
+
export type { SearchType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as t } from "./index-
|
|
1
|
+
import { e as t } from "./index-Jd3PYkpj.js";
|
|
2
2
|
const n = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
|
|
3
3
|
function C(e, s) {
|
|
4
4
|
return n.reduce((o, r) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u, a as d, _ as c, b as f } from "./index-
|
|
1
|
+
import { u, a as d, _ as c, b as f } from "./index-Jd3PYkpj.js";
|
|
2
2
|
import { defineComponent as x, ref as p, onMounted as v, createElementBlock as m, openBlock as _, createElementVNode as o, createVNode as w, withCtx as b, createTextVNode as g, toDisplayString as k, unref as N } from "vue";
|
|
3
3
|
import { useRoute as S, useRouter as h, onBeforeRouteLeave as B } from "vue-router";
|
|
4
4
|
const C = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b9 as a, _ as i, b as u } from "./index-
|
|
1
|
+
import { b9 as a, _ as i, b as u } from "./index-Jd3PYkpj.js";
|
|
2
2
|
import { defineComponent as d, ref as c, onUnmounted as x, onMounted as f, createElementBlock as m, openBlock as p, createElementVNode as n, createVNode as v, withCtx as _, createTextVNode as w, toDisplayString as g, unref as N } from "vue";
|
|
3
3
|
import { useRouter as b } from "vue-router";
|
|
4
4
|
const k = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, C = { class: "flex flex-col gap-4" }, I = /* @__PURE__ */ d({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as pe, computed as P, ref as ne, createVNode as v, cloneVNode as Yo, isVNode as Nt, inject as qe, provide as Qe, onUnmounted as Jo, shallowRef as re, watch as we, watchEffect as Fe, onMounted as Ze, createTextVNode as Bn, Fragment as nt, onBeforeUnmount as at, isRef as mr, reactive as Dt, toRefs as qn, toRaw as kt, nextTick as Ct, onUpdated as Zo, unref as Tt, toRef as Be, getCurrentInstance as el, Transition as hc, withDirectives as mc, vShow as gc, Teleport as bc, useAttrs as Hp, onBeforeUpdate as yc, getCurrentScope as Lp, onScopeDispose as zp, onActivated as ri, onBeforeMount as Wp, Text as Sc, mergeProps as Kt, Comment as jp, resolveDynamicComponent as xs, createElementBlock as Yp, openBlock as Gp, createElementVNode as Xp, withCtx as Cs } from "vue";
|
|
2
|
-
import { a as Up, T as tl, B as ql, R as Zn, u as Et, F as wn, g as ao, b as dn, c as qp, d as Qp, r as xc, e as Jp, y as Ql, f as Cc, h as $c, i as Jl, j as nl, k as Go, l as ii, C as Zp, m as si, n as wc, o as ev, p as Ic, N as $s, q as Zl, s as ws, t as tv, v as nv, A as ov, w as lv, x as av, z as rv, D as Is, I as Pc, E as iv, G as sv, _ as Oc, H as uv, J as cv, K as dv, L as fv } from "./index-
|
|
3
|
-
import { S as Ba, s as Tc, c as pv, d as vv, w as Ye, e as y, f as Ve, P as X, g as H, h as de, i as It, p as Eo, K as ge, j as st, k as Pt, l as zt, m as nn, o as et, n as Dc, q as tn, r as gr, t as tt, C as ui, L as ea, v as hv, x as kc, y as Ec, D as ta, z as vt, A as Mc, B as ot, E as an, F as lt, G as na, H as bt, I as oa, J as ze, M as Ue, N as Mo, O as An, Q as br, R as ci, T as mv, U as Ce, V as Xe, W as ke, X as Ge, Y as ln, Z as gv, $ as ut, a0 as bv, a1 as yv, a2 as Nc, a3 as wo, a4 as di, a5 as $n, a6 as Xo, a7 as Sv, a8 as Ps, a9 as Nn, aa as Fn, ab as Ht, ac as eo, ad as Vn, ae as Rc, af as it, ag as Xn, ah as la, ai as xv, aj as Ao, ak as aa, al as Cv, am as $v, an as Aa, ao as Kn, ap as wv, aq as ro, ar as yr, as as ra, at as _c, au as Bc, av as Ac, aw as Iv, ax as Fc, ay as Os, az as Pv, aA as kn, aB as Ov, aC as Tv, aD as Ts, aE as Ds, aF as Fl, aG as Dv, aH as kv, aI as Ev, aJ as Sr, aK as Mv, aL as Kc, aM as Xt, aN as Nv, aO as Rv, aP as _v, aQ as Bv, aR as ks, aS as Av, aT as Fv, aU as Kv, aV as Vc, aW as Vv, aX as Hv, aY as Lv, aZ as zv, a_ as Wv, a$ as jv, b0 as Es, b1 as Yv, b2 as to, b3 as fi, b4 as Gv, b5 as Xv, b6 as Uv } from "./index-
|
|
2
|
+
import { a as Up, T as tl, B as ql, R as Zn, u as Et, F as wn, g as ao, b as dn, c as qp, d as Qp, r as xc, e as Jp, y as Ql, f as Cc, h as $c, i as Jl, j as nl, k as Go, l as ii, C as Zp, m as si, n as wc, o as ev, p as Ic, N as $s, q as Zl, s as ws, t as tv, v as nv, A as ov, w as lv, x as av, z as rv, D as Is, I as Pc, E as iv, G as sv, _ as Oc, H as uv, J as cv, K as dv, L as fv } from "./index-DmcblkoZ.js";
|
|
3
|
+
import { S as Ba, s as Tc, c as pv, d as vv, w as Ye, e as y, f as Ve, P as X, g as H, h as de, i as It, p as Eo, K as ge, j as st, k as Pt, l as zt, m as nn, o as et, n as Dc, q as tn, r as gr, t as tt, C as ui, L as ea, v as hv, x as kc, y as Ec, D as ta, z as vt, A as Mc, B as ot, E as an, F as lt, G as na, H as bt, I as oa, J as ze, M as Ue, N as Mo, O as An, Q as br, R as ci, T as mv, U as Ce, V as Xe, W as ke, X as Ge, Y as ln, Z as gv, $ as ut, a0 as bv, a1 as yv, a2 as Nc, a3 as wo, a4 as di, a5 as $n, a6 as Xo, a7 as Sv, a8 as Ps, a9 as Nn, aa as Fn, ab as Ht, ac as eo, ad as Vn, ae as Rc, af as it, ag as Xn, ah as la, ai as xv, aj as Ao, ak as aa, al as Cv, am as $v, an as Aa, ao as Kn, ap as wv, aq as ro, ar as yr, as as ra, at as _c, au as Bc, av as Ac, aw as Iv, ax as Fc, ay as Os, az as Pv, aA as kn, aB as Ov, aC as Tv, aD as Ts, aE as Ds, aF as Fl, aG as Dv, aH as kv, aI as Ev, aJ as Sr, aK as Mv, aL as Kc, aM as Xt, aN as Nv, aO as Rv, aP as _v, aQ as Bv, aR as ks, aS as Av, aT as Fv, aU as Kv, aV as Vc, aW as Vv, aX as Hv, aY as Lv, aZ as zv, a_ as Wv, a$ as jv, b0 as Es, b1 as Yv, b2 as to, b3 as fi, b4 as Gv, b5 as Xv, b6 as Uv } from "./index-Jd3PYkpj.js";
|
|
4
4
|
import { onMounted as qv, nextTick as Hc, isRef as Qv, ref as Lc, getCurrentInstance as pi, unref as Jv, getCurrentScope as Zv, onScopeDispose as eh, watch as xr, computed as th, customRef as nh, onUpdated as oh, isVue2 as lh } from "vue-demi";
|
|
5
|
-
import { p as vi } from "./pick-
|
|
6
|
-
import { T as ah } from "./index-
|
|
5
|
+
import { p as vi } from "./pick-BLJM77QN.js";
|
|
6
|
+
import { T as ah } from "./index-DvJr0paY.js";
|
|
7
7
|
function rh() {
|
|
8
8
|
}
|
|
9
9
|
function ih(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { markRaw as J, createElementBlock as f, openBlock as r, createElementVNode as o, defineComponent as D, resolveComponent as h, renderSlot as Y, createBlock as g, withCtx as d, toDisplayString as G, mergeProps as U, Fragment as v, renderList as P, normalizeClass as F, createCommentVNode as C, unref as t, ref as b, computed as k, onMounted as T, watch as O, createVNode as Q, createTextVNode as Z } from "vue";
|
|
2
|
-
import { b as y, bE as I, bG as K, bH as V, bI as L } from "./index-
|
|
2
|
+
import { b as y, bE as I, bG as K, bH as V, bI as L } from "./index-Jd3PYkpj.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
const X = {
|
|
5
5
|
viewBox: "0 0 24 24",
|