vue-layout-gitcode 1.12.53 → 1.12.54-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-BDNhph93.js +202 -0
- package/{MenuItem-BznpPcWm.js → MenuItem-BPWpzVf_.js} +5 -5
- package/{ProjectMenuList-1HqdBGW9.js → ProjectMenuList-_Q_qB-mQ.js} +12 -12
- package/{ProjectMenuListV2-CYynTRGA.js → ProjectMenuListV2-BcWPp3mC.js} +9 -9
- package/ProjectSearch-BR2Zu_zU.js +87 -0
- package/{SearchHistoryList-BRHEDL2D.js → SearchHistoryList-iGL9LbMG.js} +9 -12
- package/{SearchRecommed-DiWjRapV.js → SearchRecommed-DPla4Bfu.js} +15 -23
- package/{SearchScopeList-CNJd45Ge.js → SearchScopeList-Cl3Mjaa2.js} +5 -5
- package/{UserSearch-B68GygQe.js → UserSearch-BjXMgkLa.js} +16 -19
- package/{index-D__jXgPB.js → index-Bv5SHa4l.js} +2 -2
- package/{search-suggestion-DQTeiN-d.js → index-BwIAQssk.js} +140 -191
- package/{index-N8tCNQEp.js → index-DFn-iMIL.js} +2 -2
- package/{index-D6SmTn3U.js → index-DYOYbfLQ.js} +9938 -10560
- package/index.d.ts +375 -47
- package/index.js +14 -22
- package/{notice-Dleiw4LE.js → notice-Y6bk2JPj.js} +6 -7
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-MIelOtyv.js → transWebUrl-yyTGj_5G.js} +3 -3
- package/GloabarSearch-D4WuCsub.js +0 -127
- package/ProjectSearch-g_ooyoDn.js +0 -121
package/index.d.ts
CHANGED
|
@@ -1,33 +1,239 @@
|
|
|
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
|
+
"update:openCreateDropdown": (...args: any[]) => void;
|
|
38
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
39
|
+
onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onFollowUser?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
"onUpdate:openCreateDropdown"?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
globalStore: Object;
|
|
45
|
+
isLogin: boolean;
|
|
46
|
+
sceneValue: SceneValue;
|
|
47
|
+
request: Function;
|
|
48
|
+
repoInfo: repoInfoType;
|
|
49
|
+
orgInfo: OrgInfo;
|
|
50
|
+
otherUserInfo: UserInfo;
|
|
51
|
+
userInfo: UserInfo;
|
|
52
|
+
independence: boolean;
|
|
53
|
+
headerBorder: boolean;
|
|
54
|
+
bgConfig: {
|
|
55
|
+
index_head: string;
|
|
56
|
+
detail_top: string;
|
|
57
|
+
detail_top_black: string;
|
|
58
|
+
detail_toolbar: string;
|
|
59
|
+
detail_toolbar_black: string;
|
|
60
|
+
detail_top_url: string;
|
|
61
|
+
index_head_url: string;
|
|
62
|
+
detail_toolbar_url: string;
|
|
63
|
+
};
|
|
64
|
+
openCreateDropdown: boolean;
|
|
65
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
66
|
+
headerRef: HTMLDivElement;
|
|
67
|
+
}, HTMLDivElement>;
|
|
68
|
+
|
|
69
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
70
|
+
resetPwdDirectlySuccess: (...args: any[]) => void;
|
|
71
|
+
followDevCommunity: (...args: any[]) => void;
|
|
72
|
+
followUser: (...args: any[]) => void;
|
|
73
|
+
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
74
|
+
onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
onFollowUser?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}>, {
|
|
78
|
+
globalStore: Object;
|
|
79
|
+
isLogin: boolean;
|
|
80
|
+
request: Function;
|
|
81
|
+
orgInfo: OrgInfo;
|
|
82
|
+
userInfo: UserInfo;
|
|
83
|
+
independence: boolean;
|
|
84
|
+
headerBorder: boolean;
|
|
85
|
+
enterpriseInfo: OrgInfo;
|
|
86
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
87
|
+
headerRef: HTMLDivElement;
|
|
88
|
+
}, HTMLDivElement>;
|
|
89
|
+
|
|
90
|
+
declare type __VLS_Props = {
|
|
91
|
+
isLogin: boolean;
|
|
92
|
+
request: Function;
|
|
93
|
+
loginOutFinish?: Function;
|
|
94
|
+
loginSuccess: Function;
|
|
95
|
+
globalStore: Object;
|
|
96
|
+
openHarmonyGuide: boolean;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
declare type __VLS_Props_2 = {
|
|
100
|
+
sceneValue: SceneValue;
|
|
101
|
+
isLogin: boolean;
|
|
102
|
+
request: Function;
|
|
103
|
+
loginOutFinish?: Function;
|
|
104
|
+
loginSuccess: Function;
|
|
105
|
+
globalStore: Object;
|
|
106
|
+
repoInfo?: repoInfoType;
|
|
107
|
+
orgInfo?: OrgInfo;
|
|
108
|
+
otherUserInfo?: UserInfo;
|
|
109
|
+
userInfo?: UserInfo;
|
|
110
|
+
headerFunctions?: HeaderDisplayItem[];
|
|
111
|
+
headerCustomProps?: HeaderPropsForCustom;
|
|
112
|
+
openHarmonyGuide: boolean;
|
|
113
|
+
headerBorder?: boolean;
|
|
114
|
+
independence?: boolean;
|
|
115
|
+
userMenus?: any[];
|
|
116
|
+
loginChildComponents: any;
|
|
117
|
+
bgConfig?: {
|
|
118
|
+
index_head: string;
|
|
119
|
+
detail_top: string;
|
|
120
|
+
detail_top_black: string;
|
|
121
|
+
detail_toolbar: string;
|
|
122
|
+
detail_toolbar_black: string;
|
|
123
|
+
detail_top_url: string;
|
|
124
|
+
index_head_url: string;
|
|
125
|
+
detail_toolbar_url: string;
|
|
126
|
+
};
|
|
127
|
+
openCreateDropdown?: boolean;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
declare type __VLS_Props_3 = {
|
|
131
|
+
isLogin: boolean;
|
|
132
|
+
request: Function;
|
|
133
|
+
globalStore: Object;
|
|
134
|
+
loginSuccess: Function;
|
|
135
|
+
enterpriseInfo: OrgInfo;
|
|
136
|
+
loginOutFinish?: Function;
|
|
137
|
+
orgInfo?: OrgInfo;
|
|
138
|
+
userInfo?: UserInfo;
|
|
139
|
+
headerFunctions?: HeaderDisplayItem[];
|
|
140
|
+
openHarmonyGuide: boolean;
|
|
141
|
+
headerBorder?: boolean;
|
|
142
|
+
independence?: boolean;
|
|
143
|
+
userMenus?: any[];
|
|
144
|
+
loginChildComponents: any;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
declare function __VLS_template(): {
|
|
148
|
+
attrs: Partial<{}>;
|
|
149
|
+
slots: Partial<Record<string, (_: {}) => any>>;
|
|
150
|
+
refs: {};
|
|
151
|
+
rootEl: any;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
declare function __VLS_template_2(): {
|
|
155
|
+
attrs: Partial<{}>;
|
|
156
|
+
slots: {
|
|
157
|
+
headerCustom?(_: {}): any;
|
|
158
|
+
aiSearch?(_: {}): any;
|
|
159
|
+
headerMiddleRight?(_: {}): any;
|
|
160
|
+
search?(_: {}): any;
|
|
161
|
+
searchRecommend?(_: {}): any;
|
|
162
|
+
globalSearch?(_: {
|
|
163
|
+
searchStr: string;
|
|
164
|
+
searchMore: (type: any) => void;
|
|
165
|
+
}): any;
|
|
166
|
+
bodyHeader?(_: {}): any;
|
|
167
|
+
info?(_: {}): any;
|
|
168
|
+
menu?(_: {}): any;
|
|
169
|
+
headerBottom?(_: {}): any;
|
|
170
|
+
};
|
|
171
|
+
refs: {
|
|
172
|
+
headerRef: HTMLDivElement;
|
|
173
|
+
};
|
|
174
|
+
rootEl: HTMLDivElement;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
declare function __VLS_template_3(): {
|
|
178
|
+
attrs: Partial<{}>;
|
|
179
|
+
slots: {
|
|
180
|
+
search?(_: {}): any;
|
|
181
|
+
searchRecommend?(_: {}): any;
|
|
182
|
+
globalSearch?(_: {
|
|
183
|
+
searchStr: string;
|
|
184
|
+
searchMore: (type: any) => void;
|
|
185
|
+
}): any;
|
|
186
|
+
bodyHeader?(_: {}): any;
|
|
187
|
+
info?(_: {}): any;
|
|
188
|
+
menu?(_: {}): any;
|
|
189
|
+
headerBottom?(_: {}): any;
|
|
190
|
+
};
|
|
191
|
+
refs: {
|
|
192
|
+
headerRef: HTMLDivElement;
|
|
193
|
+
};
|
|
194
|
+
rootEl: HTMLDivElement;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
198
|
+
|
|
199
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
200
|
+
|
|
201
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
202
|
+
|
|
203
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
204
|
+
new (): {
|
|
205
|
+
$slots: S;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
210
|
+
new (): {
|
|
211
|
+
$slots: S;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
216
|
+
new (): {
|
|
217
|
+
$slots: S;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
declare interface BaseLayoutConfig {
|
|
222
|
+
VITE_HOST: string;
|
|
223
|
+
VITE_HOST_TIANQI: string;
|
|
224
|
+
VITE_ENV: string;
|
|
225
|
+
VITE_API_HOST: string;
|
|
226
|
+
VITE_AD_LINK: string;
|
|
227
|
+
VITE_NEWS_HOST: string;
|
|
228
|
+
VITE_AI_HOST: string;
|
|
229
|
+
VITE_INCUBATION_TOPIC: string;
|
|
230
|
+
VITE_GSTAR_TOPIC: string;
|
|
231
|
+
VITE_TRUSTED_TOPIC: string;
|
|
232
|
+
VITE_SEARCH_REPO_CHANNEL_ID: string;
|
|
233
|
+
VITE_SECRET_KEY: string;
|
|
234
|
+
VITE_SECRET_IV: string;
|
|
235
|
+
[key: string]: string;
|
|
236
|
+
}
|
|
31
237
|
|
|
32
238
|
export { currentTheme }
|
|
33
239
|
|
|
@@ -36,46 +242,168 @@ declare const _default: {
|
|
|
36
242
|
};
|
|
37
243
|
export default _default;
|
|
38
244
|
|
|
39
|
-
export
|
|
245
|
+
export declare const EnterpriseHeader: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
40
246
|
|
|
41
|
-
|
|
247
|
+
declare type EventBus = {
|
|
248
|
+
logout?: boolean;
|
|
249
|
+
login?: any;
|
|
250
|
+
updateNaviBar: void;
|
|
251
|
+
notice: void;
|
|
252
|
+
updateNotice: number;
|
|
253
|
+
updateUserInfo: Record<string, any>;
|
|
254
|
+
handleAsideVisible: boolean;
|
|
255
|
+
toggleAsideMenuByHamburger: void;
|
|
256
|
+
globalTaskReport: void;
|
|
257
|
+
updateNoticeCount: string;
|
|
258
|
+
closeChatSlider: void;
|
|
259
|
+
tocChange?: any;
|
|
260
|
+
responseError: string;
|
|
261
|
+
updateMrAction: string;
|
|
262
|
+
updateLockStatusAndList: string;
|
|
263
|
+
updateIssueAction: string;
|
|
264
|
+
forbiddenRefresh: void;
|
|
265
|
+
microRouterChange: void;
|
|
266
|
+
openModal: void;
|
|
267
|
+
reportView: void;
|
|
268
|
+
crossFileClick: void;
|
|
269
|
+
repoTreeLoading: boolean;
|
|
270
|
+
openFullScreen: void;
|
|
271
|
+
openFilePath: void;
|
|
272
|
+
crossQuestion: void;
|
|
273
|
+
hisSearchValue: string;
|
|
274
|
+
resetPwdDirectlySuccess: void;
|
|
275
|
+
};
|
|
42
276
|
|
|
43
|
-
export
|
|
277
|
+
export declare const GitCodeAside: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
44
278
|
|
|
45
|
-
export
|
|
279
|
+
export declare const GitCodeHeader: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
46
280
|
|
|
47
281
|
export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
|
|
48
282
|
|
|
49
|
-
|
|
283
|
+
declare enum HeaderDisplayItem {
|
|
284
|
+
LOGIN_AND_AVATAR = "0101",
|
|
285
|
+
MESSAGE_CENTER = "0102",
|
|
286
|
+
NEW_BUTTON = "0103",
|
|
287
|
+
DOCUMENT_CENTER = "0104",
|
|
288
|
+
DEEPSEEK_BUTTON = "0105",
|
|
289
|
+
SEARCH_BUTTON = "0106",
|
|
290
|
+
NAME_AND_ICON = "0107",
|
|
291
|
+
CUSTOM_CONTENT = "0108",
|
|
292
|
+
ASIDE_BUTTON = "0109",
|
|
293
|
+
NEWS_MULTI_LANGUAGE = "0110",
|
|
294
|
+
OPERATION_ENTRY = "0111"
|
|
295
|
+
}
|
|
50
296
|
|
|
51
|
-
export {
|
|
297
|
+
export declare const Login: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
298
|
+
globalStore: Object;
|
|
299
|
+
request: Function;
|
|
300
|
+
openHarmonyGuide: boolean;
|
|
301
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
302
|
|
|
53
|
-
|
|
303
|
+
declare interface LoginOptions {
|
|
304
|
+
Authorization?: boolean;
|
|
305
|
+
type?: 'login' | 'register';
|
|
306
|
+
triggerType?: string;
|
|
307
|
+
loginTriggerSource?: string;
|
|
308
|
+
resetPwdSource?: string;
|
|
309
|
+
[x: string]: any;
|
|
310
|
+
}
|
|
54
311
|
|
|
55
|
-
|
|
312
|
+
declare interface Props {
|
|
313
|
+
/** 场景值 核心参数之一 */
|
|
314
|
+
sceneValue: SceneValue;
|
|
315
|
+
/** 是否登录 */
|
|
316
|
+
isLogin: boolean;
|
|
317
|
+
/** 请求实例 */
|
|
318
|
+
request: Function;
|
|
319
|
+
/** 全局store 上报需要 */
|
|
320
|
+
globalStore: {
|
|
321
|
+
isSignIn?: boolean;
|
|
322
|
+
[key: string]: any;
|
|
323
|
+
};
|
|
324
|
+
/** 是否为项目页 */
|
|
325
|
+
isRepoPage?: boolean;
|
|
326
|
+
/** 是否是白名单项目 - 白名单项目页,默认收起工具栏 */
|
|
327
|
+
isWhiteListRepo: boolean;
|
|
328
|
+
isCannWhiteList: boolean;
|
|
329
|
+
}
|
|
56
330
|
|
|
57
|
-
|
|
331
|
+
declare interface Props_2 {
|
|
332
|
+
/** 场景值 核心参数之一 */
|
|
333
|
+
sceneValue: SceneValue;
|
|
334
|
+
/** 禁用 flat 模式 */
|
|
335
|
+
disableFlatMode?: boolean;
|
|
336
|
+
/** 用户信息 */
|
|
337
|
+
userInfo: AccountInfo;
|
|
338
|
+
/** 是否登录 */
|
|
339
|
+
isLogin: boolean;
|
|
340
|
+
/** 请求实例 */
|
|
341
|
+
request: Function;
|
|
342
|
+
/** 全局store 上报需要 */
|
|
343
|
+
globalStore: Object;
|
|
344
|
+
/** 是否独立部署 */
|
|
345
|
+
independence?: boolean;
|
|
346
|
+
/** 是否显示偏好设置 */
|
|
347
|
+
showPreferencesSetting?: boolean | undefined;
|
|
348
|
+
/** 是否显示主题设置 */
|
|
349
|
+
showThemeSetting?: boolean | undefined;
|
|
350
|
+
/** 是否显示语言设置 */
|
|
351
|
+
showLangSetting?: boolean | undefined;
|
|
352
|
+
collapseMode?: boolean;
|
|
353
|
+
/** 需要显示hover的slotKeys */
|
|
354
|
+
slotKeys?: Array<string>;
|
|
355
|
+
}
|
|
58
356
|
|
|
59
|
-
export
|
|
357
|
+
export declare enum SceneValue {
|
|
358
|
+
home = "home",
|
|
359
|
+
repo = "repo",
|
|
360
|
+
org = "org",
|
|
361
|
+
aiHome = "aiHome",
|
|
362
|
+
aiRepo = "aiRepo",
|
|
363
|
+
aiGuide = "aiGuide",
|
|
364
|
+
blog = "blog",
|
|
365
|
+
news = "news",
|
|
366
|
+
active = "active",
|
|
367
|
+
user = "user",
|
|
368
|
+
enterprise = "enterprise"
|
|
369
|
+
}
|
|
60
370
|
|
|
61
|
-
export
|
|
371
|
+
export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
|
|
62
372
|
|
|
63
|
-
export {
|
|
64
|
-
|
|
65
|
-
export { Login }
|
|
66
|
-
|
|
67
|
-
export { SceneValue }
|
|
68
|
-
|
|
69
|
-
export { ScrollActiveContainer }
|
|
373
|
+
export { setTheme }
|
|
70
374
|
|
|
71
|
-
export {
|
|
375
|
+
export declare const SiteAnnouncement: DefineComponent_2< {}, {}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, {}, string, PublicProps_2, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions_2, true, {}, any>;
|
|
72
376
|
|
|
73
|
-
|
|
377
|
+
declare const TOOLS_FLOAT_COLLAPSE_STATUS: {
|
|
378
|
+
COLLAPSE: string;
|
|
379
|
+
EXPAND: string;
|
|
380
|
+
};
|
|
74
381
|
|
|
75
|
-
export
|
|
382
|
+
export declare const ToolsFloat: DefineComponent<Props, {
|
|
383
|
+
handleCollapseTool: (status: ToolsFloatCollapseStatusType) => void;
|
|
384
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
385
|
+
"toggle-growth-center": () => any;
|
|
386
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
387
|
+
"onToggle-growth-center"?: (() => any) | undefined;
|
|
388
|
+
}>, {
|
|
389
|
+
globalStore: {
|
|
390
|
+
isSignIn?: boolean;
|
|
391
|
+
[key: string]: any;
|
|
392
|
+
};
|
|
393
|
+
isLogin: boolean;
|
|
394
|
+
sceneValue: SceneValue;
|
|
395
|
+
request: Function;
|
|
396
|
+
isRepoPage: boolean;
|
|
397
|
+
isWhiteListRepo: boolean;
|
|
398
|
+
isCannWhiteList: boolean;
|
|
399
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
76
400
|
|
|
77
|
-
|
|
401
|
+
declare type ToolsFloatCollapseStatusType = typeof TOOLS_FLOAT_COLLAPSE_STATUS[keyof typeof TOOLS_FLOAT_COLLAPSE_STATUS];
|
|
78
402
|
|
|
79
|
-
export
|
|
403
|
+
export declare function useLogin(request: any, globalStore?: any): {
|
|
404
|
+
login: (options?: LoginOptions, loginSuccess?: Function, openHarmonyGuide?: boolean) => void;
|
|
405
|
+
unMount: () => void;
|
|
406
|
+
isMounted: () => boolean;
|
|
407
|
+
};
|
|
80
408
|
|
|
81
409
|
export { }
|
package/index.js
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O, P, Q, S, U, V, W, X, B, Y, Z, $, a0 } from "./index-DYOYbfLQ.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Y as
|
|
13
|
-
Z as
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
W as ScrollActiveContainer,
|
|
17
|
-
a2 as SiteAnnouncement,
|
|
18
|
-
P as ToolsFloat,
|
|
19
|
-
C as currentTheme,
|
|
20
|
-
a9 as default,
|
|
21
|
-
a5 as setLayoutConfig,
|
|
22
|
-
a7 as setTheme,
|
|
23
|
-
a4 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
|
-
import { defineComponent, computed,
|
|
2
|
-
import { i as isPhone, u as useModel
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-DYOYbfLQ.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
|
};
|