vue-layout-gitcode 1.12.54 → 1.12.55-multiple-account
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/GloabarSearch-pauYe1EB.js +202 -0
- package/{MenuItem-Fu7SS3Tz.js → MenuItem-kgh1FNF_.js} +4 -4
- package/{ProjectMenuList-DPscVNRR.js → ProjectMenuList-scrzaBwK.js} +11 -11
- package/{ProjectMenuListV2-nSkrRa6K.js → ProjectMenuListV2-8IyVTwfp.js} +8 -8
- package/ProjectSearch-BZA2Mbx_.js +87 -0
- package/{SearchHistoryList-CpJYD474.js → SearchHistoryList-DBxVBA-e.js} +8 -11
- package/{SearchRecommed-BMi4fhX2.js → SearchRecommed-BGOw4TTa.js} +13 -20
- package/{SearchScopeList-cN4MRz7O.js → SearchScopeList-C6_WmFR2.js} +4 -4
- package/{UserSearch-BDv9VoKV.js → UserSearch-DtFzHo5M.js} +16 -19
- package/{index-BVtkY7Om.js → index-BvoWiB_G.js} +1 -1
- package/{search-suggestion-CvlmOcjt.js → index-Ci7lYW7d.js} +140 -191
- package/{index-Ds8UDIgP.js → index-DEExiM6-.js} +1 -1
- package/{index-DdlJC00I.js → index-cvKRePGR.js} +8306 -9859
- package/index.d.ts +393 -47
- package/index.js +14 -22
- package/{notice-BCsRECZ7.js → notice-DIW-scpW.js} +5 -6
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-BIRrBeEN.js → transWebUrl-DdydDOiv.js} +3 -3
- package/GloabarSearch-CyqYE-oU.js +0 -127
- package/ProjectSearch-DzbH-bqt.js +0 -121
package/index.d.ts
CHANGED
|
@@ -1,33 +1,257 @@
|
|
|
1
|
+
import { AccountInfo } from '../../types/types';
|
|
1
2
|
import { App } from '../vue/dist/vue.esm-bundler.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
3
|
+
import { ComponentOptionsMixin } from '../../../vue/dist/vue.esm-bundler.js';
|
|
4
|
+
import { ComponentOptionsMixin as ComponentOptionsMixin_2 } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
5
|
+
import { ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
6
|
+
import { ComponentProvideOptions as ComponentProvideOptions_2 } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
4
7
|
import { currentTheme } from './themes/index';
|
|
8
|
+
import { DefineComponent } from '../../../vue/dist/vue.esm-bundler.js';
|
|
9
|
+
import { DefineComponent as DefineComponent_2 } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
5
10
|
import { Emitter } from 'mitt';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { HEADER_CREATE_MENU_PATHS } from './components/Header/create-menu';
|
|
12
|
-
import { default as HeaderCreateMenu } from './components/Header/Create/index.vue';
|
|
13
|
-
import { HeaderCreateMenuItem } from './components/Header/create-menu';
|
|
14
|
-
import { HeaderCreateMenuNavigate } from './components/Header/create-menu';
|
|
15
|
-
import { default as HeaderSkeleton } from './components/Header/HeaderSkeleton.vue';
|
|
16
|
-
import { HeaderSkeletonProps } from './components/Header/HeaderSkeleton.vue';
|
|
17
|
-
import { default as HomeHeaderActions } from './components/Header/HomeHeaderActions.vue';
|
|
18
|
-
import { HomeHeaderWorkspaceNavigate } from './utils/home-header-actions';
|
|
19
|
-
import { default as Login } from './components//Login/Login.vue';
|
|
20
|
-
import { SceneValue } from './constant/index';
|
|
21
|
-
import { default as ScrollActiveContainer } from './components/AsideV2/ScrollActiveContainer.vue';
|
|
22
|
-
import { setLayoutConfig } from './config';
|
|
11
|
+
import { HeaderPropsForCustom } from '../../types/types';
|
|
12
|
+
import { OrgInfo } from '../../types/types';
|
|
13
|
+
import { PublicProps } from '../../../vue/dist/vue.esm-bundler.js';
|
|
14
|
+
import { PublicProps as PublicProps_2 } from '../../../../vue/dist/vue.esm-bundler.js';
|
|
15
|
+
import { repoInfoType } from '../../types/types';
|
|
23
16
|
import { setTheme } from './themes/index';
|
|
24
|
-
import {
|
|
25
|
-
import { default as ToolsFloat } from './components/ToolsFloat/index.vue';
|
|
26
|
-
import { useLogin } from './utils/hooks/useLogin';
|
|
17
|
+
import { UserInfo } from '../../types/types';
|
|
27
18
|
|
|
28
|
-
|
|
19
|
+
declare const __VLS_component: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {
|
|
20
|
+
globalStore: Object;
|
|
21
|
+
sceneValue: SceneValue;
|
|
22
|
+
request: Function;
|
|
23
|
+
userInfo: AccountInfo;
|
|
24
|
+
independence: boolean;
|
|
25
|
+
slotKeys: Array<string>;
|
|
26
|
+
showThemeSetting: boolean;
|
|
27
|
+
showLangSetting: boolean;
|
|
28
|
+
showPreferencesSetting: boolean;
|
|
29
|
+
collapseMode: boolean;
|
|
30
|
+
disableFlatMode: boolean;
|
|
31
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
29
32
|
|
|
30
|
-
|
|
33
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
|
+
resetPwdDirectlySuccess: (...args: any[]) => void;
|
|
35
|
+
followDevCommunity: (...args: any[]) => void;
|
|
36
|
+
followUser: (...args: any[]) => void;
|
|
37
|
+
"account-switch": (...args: any[]) => void;
|
|
38
|
+
"account-add": (...args: any[]) => void;
|
|
39
|
+
"account-reauthorize": (...args: any[]) => void;
|
|
40
|
+
"account-remove": (...args: any[]) => void;
|
|
41
|
+
"update:openCreateDropdown": (...args: any[]) => void;
|
|
42
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
43
|
+
onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
onFollowUser?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
"onAccount-switch"?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
"onAccount-add"?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
"onAccount-reauthorize"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
"onAccount-remove"?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
"onUpdate:openCreateDropdown"?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
globalStore: Object;
|
|
53
|
+
isLogin: boolean;
|
|
54
|
+
sceneValue: SceneValue;
|
|
55
|
+
request: Function;
|
|
56
|
+
repoInfo: repoInfoType;
|
|
57
|
+
orgInfo: OrgInfo;
|
|
58
|
+
otherUserInfo: UserInfo;
|
|
59
|
+
userInfo: UserInfo;
|
|
60
|
+
independence: boolean;
|
|
61
|
+
accountSessionSupported: boolean;
|
|
62
|
+
accountSessions: any[];
|
|
63
|
+
accountSessionActiveRef: string | null;
|
|
64
|
+
accountSessionMax: number;
|
|
65
|
+
accountSessionBusy: boolean;
|
|
66
|
+
headerBorder: boolean;
|
|
67
|
+
bgConfig: {
|
|
68
|
+
index_head: string;
|
|
69
|
+
detail_top: string;
|
|
70
|
+
detail_top_black: string;
|
|
71
|
+
detail_toolbar: string;
|
|
72
|
+
detail_toolbar_black: string;
|
|
73
|
+
detail_top_url: string;
|
|
74
|
+
index_head_url: string;
|
|
75
|
+
detail_toolbar_url: string;
|
|
76
|
+
};
|
|
77
|
+
openCreateDropdown: boolean;
|
|
78
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
79
|
+
headerRef: HTMLDivElement;
|
|
80
|
+
}, HTMLDivElement>;
|
|
81
|
+
|
|
82
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
83
|
+
resetPwdDirectlySuccess: (...args: any[]) => void;
|
|
84
|
+
followDevCommunity: (...args: any[]) => void;
|
|
85
|
+
followUser: (...args: any[]) => void;
|
|
86
|
+
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
87
|
+
onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
|
|
89
|
+
onFollowUser?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
globalStore: Object;
|
|
92
|
+
isLogin: boolean;
|
|
93
|
+
request: Function;
|
|
94
|
+
orgInfo: OrgInfo;
|
|
95
|
+
userInfo: UserInfo;
|
|
96
|
+
independence: boolean;
|
|
97
|
+
headerBorder: boolean;
|
|
98
|
+
enterpriseInfo: OrgInfo;
|
|
99
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
100
|
+
headerRef: HTMLDivElement;
|
|
101
|
+
}, HTMLDivElement>;
|
|
102
|
+
|
|
103
|
+
declare type __VLS_Props = {
|
|
104
|
+
isLogin: boolean;
|
|
105
|
+
request: Function;
|
|
106
|
+
loginOutFinish?: Function;
|
|
107
|
+
loginSuccess: Function;
|
|
108
|
+
globalStore: Object;
|
|
109
|
+
openHarmonyGuide: boolean;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
declare type __VLS_Props_2 = {
|
|
113
|
+
sceneValue: SceneValue;
|
|
114
|
+
isLogin: boolean;
|
|
115
|
+
request: Function;
|
|
116
|
+
loginOutFinish?: Function;
|
|
117
|
+
loginSuccess: Function;
|
|
118
|
+
globalStore: Object;
|
|
119
|
+
repoInfo?: repoInfoType;
|
|
120
|
+
orgInfo?: OrgInfo;
|
|
121
|
+
otherUserInfo?: UserInfo;
|
|
122
|
+
userInfo?: UserInfo;
|
|
123
|
+
headerFunctions?: HeaderDisplayItem[];
|
|
124
|
+
headerCustomProps?: HeaderPropsForCustom;
|
|
125
|
+
openHarmonyGuide: boolean;
|
|
126
|
+
headerBorder?: boolean;
|
|
127
|
+
independence?: boolean;
|
|
128
|
+
userMenus?: any[];
|
|
129
|
+
loginChildComponents: any;
|
|
130
|
+
bgConfig?: {
|
|
131
|
+
index_head: string;
|
|
132
|
+
detail_top: string;
|
|
133
|
+
detail_top_black: string;
|
|
134
|
+
detail_toolbar: string;
|
|
135
|
+
detail_toolbar_black: string;
|
|
136
|
+
detail_top_url: string;
|
|
137
|
+
index_head_url: string;
|
|
138
|
+
detail_toolbar_url: string;
|
|
139
|
+
};
|
|
140
|
+
openCreateDropdown?: boolean;
|
|
141
|
+
accountSessionSupported?: boolean;
|
|
142
|
+
accountSessions?: any[];
|
|
143
|
+
accountSessionActiveRef?: string | null;
|
|
144
|
+
accountSessionMax?: number;
|
|
145
|
+
accountSessionBusy?: boolean;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
declare type __VLS_Props_3 = {
|
|
149
|
+
isLogin: boolean;
|
|
150
|
+
request: Function;
|
|
151
|
+
globalStore: Object;
|
|
152
|
+
loginSuccess: Function;
|
|
153
|
+
enterpriseInfo: OrgInfo;
|
|
154
|
+
loginOutFinish?: Function;
|
|
155
|
+
orgInfo?: OrgInfo;
|
|
156
|
+
userInfo?: UserInfo;
|
|
157
|
+
headerFunctions?: HeaderDisplayItem[];
|
|
158
|
+
openHarmonyGuide: boolean;
|
|
159
|
+
headerBorder?: boolean;
|
|
160
|
+
independence?: boolean;
|
|
161
|
+
userMenus?: any[];
|
|
162
|
+
loginChildComponents: any;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
declare function __VLS_template(): {
|
|
166
|
+
attrs: Partial<{}>;
|
|
167
|
+
slots: Partial<Record<string, (_: {}) => any>>;
|
|
168
|
+
refs: {};
|
|
169
|
+
rootEl: any;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
declare function __VLS_template_2(): {
|
|
173
|
+
attrs: Partial<{}>;
|
|
174
|
+
slots: {
|
|
175
|
+
headerCustom?(_: {}): any;
|
|
176
|
+
aiSearch?(_: {}): any;
|
|
177
|
+
headerMiddleRight?(_: {}): any;
|
|
178
|
+
search?(_: {}): any;
|
|
179
|
+
searchRecommend?(_: {}): any;
|
|
180
|
+
globalSearch?(_: {
|
|
181
|
+
searchStr: string;
|
|
182
|
+
searchMore: (type: any) => void;
|
|
183
|
+
}): any;
|
|
184
|
+
bodyHeader?(_: {}): any;
|
|
185
|
+
info?(_: {}): any;
|
|
186
|
+
menu?(_: {}): any;
|
|
187
|
+
headerBottom?(_: {}): any;
|
|
188
|
+
};
|
|
189
|
+
refs: {
|
|
190
|
+
headerRef: HTMLDivElement;
|
|
191
|
+
};
|
|
192
|
+
rootEl: HTMLDivElement;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
declare function __VLS_template_3(): {
|
|
196
|
+
attrs: Partial<{}>;
|
|
197
|
+
slots: {
|
|
198
|
+
search?(_: {}): any;
|
|
199
|
+
searchRecommend?(_: {}): any;
|
|
200
|
+
globalSearch?(_: {
|
|
201
|
+
searchStr: string;
|
|
202
|
+
searchMore: (type: any) => void;
|
|
203
|
+
}): any;
|
|
204
|
+
bodyHeader?(_: {}): any;
|
|
205
|
+
info?(_: {}): any;
|
|
206
|
+
menu?(_: {}): any;
|
|
207
|
+
headerBottom?(_: {}): any;
|
|
208
|
+
};
|
|
209
|
+
refs: {
|
|
210
|
+
headerRef: HTMLDivElement;
|
|
211
|
+
};
|
|
212
|
+
rootEl: HTMLDivElement;
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
216
|
+
|
|
217
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
218
|
+
|
|
219
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
220
|
+
|
|
221
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
222
|
+
new (): {
|
|
223
|
+
$slots: S;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
228
|
+
new (): {
|
|
229
|
+
$slots: S;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
234
|
+
new (): {
|
|
235
|
+
$slots: S;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
declare interface BaseLayoutConfig {
|
|
240
|
+
VITE_HOST: string;
|
|
241
|
+
VITE_HOST_TIANQI: string;
|
|
242
|
+
VITE_ENV: string;
|
|
243
|
+
VITE_API_HOST: string;
|
|
244
|
+
VITE_AD_LINK: string;
|
|
245
|
+
VITE_NEWS_HOST: string;
|
|
246
|
+
VITE_AI_HOST: string;
|
|
247
|
+
VITE_INCUBATION_TOPIC: string;
|
|
248
|
+
VITE_GSTAR_TOPIC: string;
|
|
249
|
+
VITE_TRUSTED_TOPIC: string;
|
|
250
|
+
VITE_SEARCH_REPO_CHANNEL_ID: string;
|
|
251
|
+
VITE_SECRET_KEY: string;
|
|
252
|
+
VITE_SECRET_IV: string;
|
|
253
|
+
[key: string]: string;
|
|
254
|
+
}
|
|
31
255
|
|
|
32
256
|
export { currentTheme }
|
|
33
257
|
|
|
@@ -36,46 +260,168 @@ declare const _default: {
|
|
|
36
260
|
};
|
|
37
261
|
export default _default;
|
|
38
262
|
|
|
39
|
-
export
|
|
263
|
+
export declare const EnterpriseHeader: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
40
264
|
|
|
41
|
-
|
|
265
|
+
declare type EventBus = {
|
|
266
|
+
logout?: boolean;
|
|
267
|
+
login?: any;
|
|
268
|
+
updateNaviBar: void;
|
|
269
|
+
notice: void;
|
|
270
|
+
updateNotice: number;
|
|
271
|
+
updateUserInfo: Record<string, any>;
|
|
272
|
+
handleAsideVisible: boolean;
|
|
273
|
+
toggleAsideMenuByHamburger: void;
|
|
274
|
+
globalTaskReport: void;
|
|
275
|
+
updateNoticeCount: string;
|
|
276
|
+
closeChatSlider: void;
|
|
277
|
+
tocChange?: any;
|
|
278
|
+
responseError: string;
|
|
279
|
+
updateMrAction: string;
|
|
280
|
+
updateLockStatusAndList: string;
|
|
281
|
+
updateIssueAction: string;
|
|
282
|
+
forbiddenRefresh: void;
|
|
283
|
+
microRouterChange: void;
|
|
284
|
+
openModal: void;
|
|
285
|
+
reportView: void;
|
|
286
|
+
crossFileClick: void;
|
|
287
|
+
repoTreeLoading: boolean;
|
|
288
|
+
openFullScreen: void;
|
|
289
|
+
openFilePath: void;
|
|
290
|
+
crossQuestion: void;
|
|
291
|
+
hisSearchValue: string;
|
|
292
|
+
resetPwdDirectlySuccess: void;
|
|
293
|
+
};
|
|
42
294
|
|
|
43
|
-
export
|
|
295
|
+
export declare const GitCodeAside: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
44
296
|
|
|
45
|
-
export
|
|
297
|
+
export declare const GitCodeHeader: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
46
298
|
|
|
47
299
|
export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
|
|
48
300
|
|
|
49
|
-
|
|
301
|
+
declare enum HeaderDisplayItem {
|
|
302
|
+
LOGIN_AND_AVATAR = "0101",
|
|
303
|
+
MESSAGE_CENTER = "0102",
|
|
304
|
+
NEW_BUTTON = "0103",
|
|
305
|
+
DOCUMENT_CENTER = "0104",
|
|
306
|
+
DEEPSEEK_BUTTON = "0105",
|
|
307
|
+
SEARCH_BUTTON = "0106",
|
|
308
|
+
NAME_AND_ICON = "0107",
|
|
309
|
+
CUSTOM_CONTENT = "0108",
|
|
310
|
+
ASIDE_BUTTON = "0109",
|
|
311
|
+
NEWS_MULTI_LANGUAGE = "0110",
|
|
312
|
+
OPERATION_ENTRY = "0111"
|
|
313
|
+
}
|
|
50
314
|
|
|
51
|
-
export {
|
|
315
|
+
export declare const Login: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
316
|
+
globalStore: Object;
|
|
317
|
+
request: Function;
|
|
318
|
+
openHarmonyGuide: boolean;
|
|
319
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
320
|
|
|
53
|
-
|
|
321
|
+
declare interface LoginOptions {
|
|
322
|
+
Authorization?: boolean;
|
|
323
|
+
type?: 'login' | 'register';
|
|
324
|
+
triggerType?: string;
|
|
325
|
+
loginTriggerSource?: string;
|
|
326
|
+
resetPwdSource?: string;
|
|
327
|
+
[x: string]: any;
|
|
328
|
+
}
|
|
54
329
|
|
|
55
|
-
|
|
330
|
+
declare interface Props {
|
|
331
|
+
/** 场景值 核心参数之一 */
|
|
332
|
+
sceneValue: SceneValue;
|
|
333
|
+
/** 是否登录 */
|
|
334
|
+
isLogin: boolean;
|
|
335
|
+
/** 请求实例 */
|
|
336
|
+
request: Function;
|
|
337
|
+
/** 全局store 上报需要 */
|
|
338
|
+
globalStore: {
|
|
339
|
+
isSignIn?: boolean;
|
|
340
|
+
[key: string]: any;
|
|
341
|
+
};
|
|
342
|
+
/** 是否为项目页 */
|
|
343
|
+
isRepoPage?: boolean;
|
|
344
|
+
/** 是否是白名单项目 - 白名单项目页,默认收起工具栏 */
|
|
345
|
+
isWhiteListRepo: boolean;
|
|
346
|
+
isCannWhiteList: boolean;
|
|
347
|
+
}
|
|
56
348
|
|
|
57
|
-
|
|
349
|
+
declare interface Props_2 {
|
|
350
|
+
/** 场景值 核心参数之一 */
|
|
351
|
+
sceneValue: SceneValue;
|
|
352
|
+
/** 禁用 flat 模式 */
|
|
353
|
+
disableFlatMode?: boolean;
|
|
354
|
+
/** 用户信息 */
|
|
355
|
+
userInfo: AccountInfo;
|
|
356
|
+
/** 是否登录 */
|
|
357
|
+
isLogin: boolean;
|
|
358
|
+
/** 请求实例 */
|
|
359
|
+
request: Function;
|
|
360
|
+
/** 全局store 上报需要 */
|
|
361
|
+
globalStore: Object;
|
|
362
|
+
/** 是否独立部署 */
|
|
363
|
+
independence?: boolean;
|
|
364
|
+
/** 是否显示偏好设置 */
|
|
365
|
+
showPreferencesSetting?: boolean | undefined;
|
|
366
|
+
/** 是否显示主题设置 */
|
|
367
|
+
showThemeSetting?: boolean | undefined;
|
|
368
|
+
/** 是否显示语言设置 */
|
|
369
|
+
showLangSetting?: boolean | undefined;
|
|
370
|
+
collapseMode?: boolean;
|
|
371
|
+
/** 需要显示hover的slotKeys */
|
|
372
|
+
slotKeys?: Array<string>;
|
|
373
|
+
}
|
|
58
374
|
|
|
59
|
-
export
|
|
375
|
+
export declare enum SceneValue {
|
|
376
|
+
home = "home",
|
|
377
|
+
repo = "repo",
|
|
378
|
+
org = "org",
|
|
379
|
+
aiHome = "aiHome",
|
|
380
|
+
aiRepo = "aiRepo",
|
|
381
|
+
aiGuide = "aiGuide",
|
|
382
|
+
blog = "blog",
|
|
383
|
+
news = "news",
|
|
384
|
+
active = "active",
|
|
385
|
+
user = "user",
|
|
386
|
+
enterprise = "enterprise"
|
|
387
|
+
}
|
|
60
388
|
|
|
61
|
-
export
|
|
389
|
+
export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
|
|
62
390
|
|
|
63
|
-
export {
|
|
64
|
-
|
|
65
|
-
export { Login }
|
|
66
|
-
|
|
67
|
-
export { SceneValue }
|
|
68
|
-
|
|
69
|
-
export { ScrollActiveContainer }
|
|
391
|
+
export { setTheme }
|
|
70
392
|
|
|
71
|
-
export {
|
|
393
|
+
export declare const SiteAnnouncement: DefineComponent_2< {}, {}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, {}, string, PublicProps_2, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions_2, true, {}, any>;
|
|
72
394
|
|
|
73
|
-
|
|
395
|
+
declare const TOOLS_FLOAT_COLLAPSE_STATUS: {
|
|
396
|
+
COLLAPSE: string;
|
|
397
|
+
EXPAND: string;
|
|
398
|
+
};
|
|
74
399
|
|
|
75
|
-
export
|
|
400
|
+
export declare const ToolsFloat: DefineComponent<Props, {
|
|
401
|
+
handleCollapseTool: (status: ToolsFloatCollapseStatusType) => void;
|
|
402
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
403
|
+
"toggle-growth-center": () => any;
|
|
404
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
405
|
+
"onToggle-growth-center"?: (() => any) | undefined;
|
|
406
|
+
}>, {
|
|
407
|
+
globalStore: {
|
|
408
|
+
isSignIn?: boolean;
|
|
409
|
+
[key: string]: any;
|
|
410
|
+
};
|
|
411
|
+
isLogin: boolean;
|
|
412
|
+
sceneValue: SceneValue;
|
|
413
|
+
request: Function;
|
|
414
|
+
isRepoPage: boolean;
|
|
415
|
+
isWhiteListRepo: boolean;
|
|
416
|
+
isCannWhiteList: boolean;
|
|
417
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
76
418
|
|
|
77
|
-
|
|
419
|
+
declare type ToolsFloatCollapseStatusType = typeof TOOLS_FLOAT_COLLAPSE_STATUS[keyof typeof TOOLS_FLOAT_COLLAPSE_STATUS];
|
|
78
420
|
|
|
79
|
-
export
|
|
421
|
+
export declare function useLogin(request: any, globalStore?: any): {
|
|
422
|
+
login: (options?: LoginOptions, loginSuccess?: Function, openHarmonyGuide?: boolean) => void;
|
|
423
|
+
unMount: () => void;
|
|
424
|
+
isMounted: () => boolean;
|
|
425
|
+
};
|
|
80
426
|
|
|
81
427
|
export { }
|
package/index.js
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
import { P, Q, S, U, V, W, X, Y, Z, $, a0
|
|
1
|
+
import { O, P, Q, S, U, V, W, X, B, Y, Z, $, a0 } from "./index-cvKRePGR.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
a3 as ScrollActiveContainer,
|
|
17
|
-
a4 as SiteAnnouncement,
|
|
18
|
-
a5 as ToolsFloat,
|
|
19
|
-
C as currentTheme,
|
|
20
|
-
a6 as default,
|
|
21
|
-
a7 as setLayoutConfig,
|
|
22
|
-
a8 as setTheme,
|
|
23
|
-
a9 as useLogin
|
|
3
|
+
O as EnterpriseHeader,
|
|
4
|
+
P as GitCodeAside,
|
|
5
|
+
Q as GitCodeHeader,
|
|
6
|
+
S as GitCodeLayoutEmitter,
|
|
7
|
+
U as Login,
|
|
8
|
+
V as SceneValue,
|
|
9
|
+
W as SiteAnnouncement,
|
|
10
|
+
X as ToolsFloat,
|
|
11
|
+
B as currentTheme,
|
|
12
|
+
Y as default,
|
|
13
|
+
Z as setLayoutConfig,
|
|
14
|
+
$ as setTheme,
|
|
15
|
+
a0 as useLogin
|
|
24
16
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { i as isPhone, u as useModel
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-cvKRePGR.js";
|
|
3
3
|
import { Notification } from "vue-devui-lal/notification";
|
|
4
4
|
import { Button } from "vue-devui-lal/button";
|
|
5
5
|
import "vue-devui-lal/notification/style.css";
|
|
@@ -26,15 +26,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(vModels) ? vModels.value = $event : null)
|
|
27
27
|
}, {
|
|
28
28
|
default: withCtx(() => [
|
|
29
|
-
_cache[3] || (_cache[3] = createElementVNode("div", { class: "
|
|
29
|
+
_cache[3] || (_cache[3] = createElementVNode("div", { class: "text-[var(--theme-text)] leading-[18px] break-all text-[13px]" }, "为了你的账户安全,请将系统预设的邮箱地址修改为你的真实邮箱地址。", -1)),
|
|
30
30
|
createElementVNode("div", {
|
|
31
|
-
class: normalizeClass([
|
|
31
|
+
class: normalizeClass([isMobile.value ? "mt-[15px]" : "mt-[22px]", "flex justify-end"])
|
|
32
32
|
}, [
|
|
33
33
|
createVNode(unref(Button), {
|
|
34
34
|
variant: "outline",
|
|
35
35
|
size: isMobile.value ? "sm" : "md",
|
|
36
36
|
onClick: __props.onClose,
|
|
37
|
-
class: "
|
|
37
|
+
class: "mr-[8px]"
|
|
38
38
|
}, {
|
|
39
39
|
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
40
40
|
createTextVNode("忽略", -1)
|
|
@@ -59,7 +59,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
const notice = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
63
62
|
export {
|
|
64
|
-
|
|
63
|
+
_sfc_main as default
|
|
65
64
|
};
|