vue-layout-gitcode 1.12.15-beta.1 → 1.12.15-beta.3

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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AccountInfo } from '../../types/types';
2
2
  import { App } from '../vue/dist/vue.esm-bundler.js';
3
+ import { AxiosResponse } from 'axios';
3
4
  import { ComponentOptionsMixin } from '../../../vue/dist/vue.esm-bundler.js';
4
5
  import { ComponentOptionsMixin as ComponentOptionsMixin_2 } from '../../../../vue/dist/vue.esm-bundler.js';
5
6
  import { ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
@@ -8,198 +9,120 @@ import { currentTheme } from './themes/index';
8
9
  import { DefineComponent } from '../../../vue/dist/vue.esm-bundler.js';
9
10
  import { DefineComponent as DefineComponent_2 } from '../../../../vue/dist/vue.esm-bundler.js';
10
11
  import { Emitter } from 'mitt';
12
+ import { ExtractPropTypes } from '../../../vue/dist/vue.esm-bundler.js';
11
13
  import { HeaderPropsForCustom } from '../../types/types';
12
- import { LocationQueryValue } from 'vue-router';
13
14
  import { OrgInfo } from '../../types/types';
15
+ import { PropType } from '../../../vue/dist/vue.esm-bundler.js';
14
16
  import { PublicProps } from '../../../vue/dist/vue.esm-bundler.js';
15
17
  import { PublicProps as PublicProps_2 } from '../../../../vue/dist/vue.esm-bundler.js';
16
18
  import { repoInfoType } from '../../types/types';
17
19
  import { setTheme } from './themes/index';
18
20
  import { UserInfo } from '../../types/types';
19
21
 
20
- declare const __VLS_component: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {
21
- globalStore: Object;
22
- sceneValue: SceneValue;
23
- request: Function;
24
- userInfo: AccountInfo;
25
- independence: boolean;
26
- slotKeys: Array<string>;
27
- showThemeSetting: boolean;
28
- showLangSetting: boolean;
29
- showPreferencesSetting: boolean;
30
- collapseMode: boolean;
31
- disableFlatMode: boolean;
32
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
22
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
23
 
34
- declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
35
- resetPwdDirectlySuccess: (...args: any[]) => void;
36
- followDevCommunity: (...args: any[]) => void;
37
- followUser: (...args: any[]) => void;
38
- "update:openCreateDropdown": (...args: any[]) => void;
39
- }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
40
- onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
41
- onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
42
- onFollowUser?: ((...args: any[]) => any) | undefined;
43
- "onUpdate:openCreateDropdown"?: ((...args: any[]) => any) | undefined;
44
- }>, {
45
- globalStore: Object;
46
- isLogin: boolean;
47
- sceneValue: SceneValue;
48
- request: Function;
49
- repoInfo: repoInfoType;
50
- orgInfo: OrgInfo;
51
- otherUserInfo: UserInfo;
52
- userInfo: UserInfo;
53
- independence: boolean;
54
- headerBorder: boolean;
55
- bgConfig: {
56
- index_head: string;
57
- detail_top: string;
58
- detail_top_black: string;
59
- detail_toolbar: string;
60
- detail_toolbar_black: string;
61
- detail_top_url: string;
62
- index_head_url: string;
63
- detail_toolbar_url: string;
64
- };
65
- openCreateDropdown: boolean;
66
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
67
- headerRef: HTMLDivElement;
68
- }, HTMLDivElement>;
24
+ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
69
25
 
70
- declare const __VLS_component_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
71
- resetPwdDirectlySuccess: (...args: any[]) => void;
72
- followDevCommunity: (...args: any[]) => void;
73
- followUser: (...args: any[]) => void;
74
- }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
75
- onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
76
- onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
77
- onFollowUser?: ((...args: any[]) => any) | undefined;
78
- }>, {
79
- globalStore: Object;
80
- isLogin: boolean;
81
- request: Function;
82
- orgInfo: OrgInfo;
83
- userInfo: UserInfo;
84
- independence: boolean;
85
- headerBorder: boolean;
86
- enterpriseInfo: OrgInfo;
87
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
88
- headerRef: HTMLDivElement;
89
- }, HTMLDivElement>;
26
+ declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
90
27
 
91
- declare type __VLS_Props = {
92
- isLogin: boolean;
93
- request: Function;
94
- loginOutFinish?: Function;
95
- loginSuccess: Function;
96
- globalStore: Object;
97
- openHarmonyGuide: boolean;
98
- };
28
+ declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
99
29
 
100
- declare type __VLS_Props_2 = {
101
- sceneValue: SceneValue;
102
- isLogin: boolean;
103
- request: Function;
104
- loginOutFinish?: Function;
105
- loginSuccess: Function;
106
- globalStore: Object;
107
- repoInfo?: repoInfoType;
108
- orgInfo?: OrgInfo;
109
- otherUserInfo?: UserInfo;
110
- userInfo?: UserInfo;
111
- headerFunctions?: HeaderDisplayItem[];
112
- headerCustomProps?: HeaderPropsForCustom;
113
- openHarmonyGuide: boolean;
114
- headerBorder?: boolean;
115
- independence?: boolean;
116
- userMenus?: any[];
117
- loginChildComponents: any;
118
- bgConfig?: {
119
- index_head: string;
120
- detail_top: string;
121
- detail_top_black: string;
122
- detail_toolbar: string;
123
- detail_toolbar_black: string;
124
- detail_top_url: string;
125
- index_head_url: string;
126
- detail_toolbar_url: string;
30
+ declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
31
+
32
+ declare type __VLS_Prettify<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};
35
+
36
+ declare type __VLS_Prettify_2<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
39
+
40
+ declare type __VLS_Prettify_3<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
43
+
44
+ declare type __VLS_Prettify_4<T> = {
45
+ [K in keyof T]: T[K];
46
+ } & {};
47
+
48
+ declare type __VLS_Prettify_5<T> = {
49
+ [K in keyof T]: T[K];
50
+ } & {};
51
+
52
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
53
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
54
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
55
+ } : {
56
+ type: PropType<T[K]>;
57
+ required: true;
127
58
  };
128
- openCreateDropdown?: boolean;
129
59
  };
130
60
 
131
- declare type __VLS_Props_3 = {
132
- isLogin: boolean;
133
- request: Function;
134
- globalStore: Object;
135
- loginSuccess: Function;
136
- enterpriseInfo: OrgInfo;
137
- loginOutFinish?: Function;
138
- orgInfo?: OrgInfo;
139
- userInfo?: UserInfo;
140
- headerFunctions?: HeaderDisplayItem[];
141
- openHarmonyGuide: boolean;
142
- headerBorder?: boolean;
143
- independence?: boolean;
144
- userMenus?: any[];
145
- loginChildComponents: any;
146
- };
147
-
148
- declare function __VLS_template(): {
149
- attrs: Partial<{}>;
150
- slots: Partial<Record<string, (_: {}) => any>>;
151
- refs: {};
152
- rootEl: any;
153
- };
154
-
155
- declare function __VLS_template_2(): {
156
- attrs: Partial<{}>;
157
- slots: {
158
- headerCustom?(_: {}): any;
159
- aiSearch?(_: {}): any;
160
- headerMiddleRight?(_: {}): any;
161
- search?(_: {}): any;
162
- searchRecommend?(_: {}): any;
163
- globalSearch?(_: {
164
- searchStr: string | LocationQueryValue[];
165
- searchMore: (type: any) => void;
166
- }): any;
167
- bodyHeader?(_: {}): any;
168
- info?(_: {}): any;
169
- menu?(_: {}): any;
170
- headerBottom?(_: {}): any;
61
+ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
62
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
63
+ type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
64
+ } : {
65
+ type: PropType<T[K]>;
66
+ required: true;
171
67
  };
172
- refs: {
173
- headerRef: HTMLDivElement;
68
+ };
69
+
70
+ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
71
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
72
+ type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
73
+ } : {
74
+ type: PropType<T[K]>;
75
+ required: true;
174
76
  };
175
- rootEl: HTMLDivElement;
176
- };
177
-
178
- declare function __VLS_template_3(): {
179
- attrs: Partial<{}>;
180
- slots: {
181
- search?(_: {}): any;
182
- searchRecommend?(_: {}): any;
183
- globalSearch?(_: {
184
- searchStr: string | LocationQueryValue[];
185
- searchMore: (type: any) => void;
186
- }): any;
187
- bodyHeader?(_: {}): any;
188
- info?(_: {}): any;
189
- menu?(_: {}): any;
190
- headerBottom?(_: {}): any;
77
+ };
78
+
79
+ declare type __VLS_TypePropsToRuntimeProps_4<T> = {
80
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
81
+ type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
82
+ } : {
83
+ type: PropType<T[K]>;
84
+ required: true;
191
85
  };
192
- refs: {
193
- headerRef: HTMLDivElement;
86
+ };
87
+
88
+ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
89
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
90
+ type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
91
+ } : {
92
+ type: PropType<T[K]>;
93
+ required: true;
194
94
  };
195
- rootEl: HTMLDivElement;
196
95
  };
197
96
 
198
- declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
97
+ declare type __VLS_WithDefaults<P, D> = {
98
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
99
+ default: D[K];
100
+ }> : P[K];
101
+ };
199
102
 
200
- declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
103
+ declare type __VLS_WithDefaults_2<P, D> = {
104
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
105
+ default: D[K];
106
+ }> : P[K];
107
+ };
201
108
 
202
- declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
109
+ declare type __VLS_WithDefaults_3<P, D> = {
110
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
111
+ default: D[K];
112
+ }> : P[K];
113
+ };
114
+
115
+ declare type __VLS_WithDefaults_4<P, D> = {
116
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
117
+ default: D[K];
118
+ }> : P[K];
119
+ };
120
+
121
+ declare type __VLS_WithDefaults_5<P, D> = {
122
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
123
+ default: D[K];
124
+ }> : P[K];
125
+ };
203
126
 
204
127
  declare type __VLS_WithTemplateSlots<T, S> = T & {
205
128
  new (): {
@@ -243,7 +166,109 @@ declare const _default: {
243
166
  };
244
167
  export default _default;
245
168
 
246
- export declare const EnterpriseHeader: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
169
+ export declare const EnterpriseHeader: __VLS_WithTemplateSlots_3<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<{
170
+ isLogin: boolean;
171
+ request: Function;
172
+ globalStore: Object;
173
+ loginSuccess: Function;
174
+ enterpriseInfo: OrgInfo;
175
+ loginOutFinish?: Function | undefined;
176
+ orgInfo?: OrgInfo | undefined;
177
+ userInfo?: UserInfo | undefined;
178
+ headerFunctions?: HeaderDisplayItem[] | undefined;
179
+ openHarmonyGuide: boolean;
180
+ headerBorder?: boolean | undefined;
181
+ independence?: boolean | undefined;
182
+ userMenus?: any[] | undefined;
183
+ loginChildComponents: any;
184
+ }>, {
185
+ headerBorder: boolean;
186
+ isLogin: boolean;
187
+ independence: boolean;
188
+ request: (params: any, customConfigs?: {
189
+ customError?: boolean | undefined;
190
+ customTimeout?: number | undefined;
191
+ ignoreError?: boolean | undefined;
192
+ customErrorCodes?: number[] | undefined;
193
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
194
+ globalStore: () => {
195
+ httpStatus: number;
196
+ };
197
+ orgInfo: () => {
198
+ avatar: string;
199
+ name: string;
200
+ };
201
+ userInfo: () => {};
202
+ enterpriseInfo: () => {
203
+ avatar: string;
204
+ name: string;
205
+ };
206
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
207
+ resetPwdDirectlySuccess: (...args: any[]) => void;
208
+ followDevCommunity: (...args: any[]) => void;
209
+ followUser: (...args: any[]) => void;
210
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_5<{
211
+ isLogin: boolean;
212
+ request: Function;
213
+ globalStore: Object;
214
+ loginSuccess: Function;
215
+ enterpriseInfo: OrgInfo;
216
+ loginOutFinish?: Function | undefined;
217
+ orgInfo?: OrgInfo | undefined;
218
+ userInfo?: UserInfo | undefined;
219
+ headerFunctions?: HeaderDisplayItem[] | undefined;
220
+ openHarmonyGuide: boolean;
221
+ headerBorder?: boolean | undefined;
222
+ independence?: boolean | undefined;
223
+ userMenus?: any[] | undefined;
224
+ loginChildComponents: any;
225
+ }>, {
226
+ headerBorder: boolean;
227
+ isLogin: boolean;
228
+ independence: boolean;
229
+ request: (params: any, customConfigs?: {
230
+ customError?: boolean | undefined;
231
+ customTimeout?: number | undefined;
232
+ ignoreError?: boolean | undefined;
233
+ customErrorCodes?: number[] | undefined;
234
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
235
+ globalStore: () => {
236
+ httpStatus: number;
237
+ };
238
+ orgInfo: () => {
239
+ avatar: string;
240
+ name: string;
241
+ };
242
+ userInfo: () => {};
243
+ enterpriseInfo: () => {
244
+ avatar: string;
245
+ name: string;
246
+ };
247
+ }>>> & Readonly<{
248
+ onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
249
+ onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
250
+ onFollowUser?: ((...args: any[]) => any) | undefined;
251
+ }>, {
252
+ globalStore: Object;
253
+ isLogin: boolean;
254
+ request: Function;
255
+ orgInfo: OrgInfo;
256
+ userInfo: UserInfo;
257
+ independence: boolean;
258
+ headerBorder: boolean;
259
+ enterpriseInfo: OrgInfo;
260
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
261
+ search?(_: {}): any;
262
+ searchRecommend?(_: {}): any;
263
+ globalSearch?(_: {
264
+ searchStr: string;
265
+ searchMore: (type: any) => void;
266
+ }): any;
267
+ bodyHeader?(_: {}): any;
268
+ info?(_: {}): any;
269
+ menu?(_: {}): any;
270
+ headerBottom?(_: {}): any;
271
+ }>;
247
272
 
248
273
  declare type EventBus = {
249
274
  logout?: boolean;
@@ -275,9 +300,225 @@ declare type EventBus = {
275
300
  resetPwdDirectlySuccess: void;
276
301
  };
277
302
 
278
- export declare const GitCodeAside: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
303
+ export declare const GitCodeAside: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<Props_2>, {
304
+ sceneValue: SceneValue;
305
+ disableFlatMode: boolean;
306
+ request: (params: any, customConfigs?: {
307
+ customError?: boolean | undefined;
308
+ customTimeout?: number | undefined;
309
+ ignoreError?: boolean | undefined;
310
+ customErrorCodes?: number[] | undefined;
311
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
312
+ globalStore: () => {
313
+ httpStatus: number;
314
+ };
315
+ userInfo: () => {};
316
+ independence: boolean;
317
+ showPreferencesSetting: undefined;
318
+ showThemeSetting: undefined;
319
+ showLangSetting: undefined;
320
+ /** 默认展示小侧边栏,收起隐藏 */
321
+ collapseMode: boolean;
322
+ /** 需要显示hover的slotKeys */
323
+ slotKeys: () => never[];
324
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<Props_2>, {
325
+ sceneValue: SceneValue;
326
+ disableFlatMode: boolean;
327
+ request: (params: any, customConfigs?: {
328
+ customError?: boolean | undefined;
329
+ customTimeout?: number | undefined;
330
+ ignoreError?: boolean | undefined;
331
+ customErrorCodes?: number[] | undefined;
332
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
333
+ globalStore: () => {
334
+ httpStatus: number;
335
+ };
336
+ userInfo: () => {};
337
+ independence: boolean;
338
+ showPreferencesSetting: undefined;
339
+ showThemeSetting: undefined;
340
+ showLangSetting: undefined;
341
+ /** 默认展示小侧边栏,收起隐藏 */
342
+ collapseMode: boolean;
343
+ /** 需要显示hover的slotKeys */
344
+ slotKeys: () => never[];
345
+ }>>> & Readonly<{}>, {
346
+ globalStore: Object;
347
+ sceneValue: SceneValue;
348
+ request: Function;
349
+ userInfo: AccountInfo;
350
+ independence: boolean;
351
+ slotKeys: string[];
352
+ showThemeSetting: boolean;
353
+ showLangSetting: boolean;
354
+ showPreferencesSetting: boolean;
355
+ collapseMode: boolean;
356
+ disableFlatMode: boolean;
357
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Partial<Record<string, (_: {}) => any>>>;
279
358
 
280
- export declare const GitCodeHeader: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
359
+ export declare const GitCodeHeader: __VLS_WithTemplateSlots_2<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<{
360
+ sceneValue: SceneValue;
361
+ isLogin: boolean;
362
+ request: Function;
363
+ loginOutFinish?: Function | undefined;
364
+ loginSuccess: Function;
365
+ globalStore: Object;
366
+ repoInfo?: repoInfoType | undefined;
367
+ orgInfo?: OrgInfo | undefined;
368
+ otherUserInfo?: UserInfo | undefined;
369
+ userInfo?: UserInfo | undefined;
370
+ headerFunctions?: HeaderDisplayItem[] | undefined;
371
+ headerCustomProps?: HeaderPropsForCustom | undefined;
372
+ openHarmonyGuide: boolean;
373
+ headerBorder?: boolean | undefined;
374
+ independence?: boolean | undefined;
375
+ userMenus?: any[] | undefined;
376
+ loginChildComponents: any;
377
+ bgConfig?: {
378
+ index_head: string;
379
+ detail_top: string;
380
+ detail_top_black: string;
381
+ detail_toolbar: string;
382
+ detail_toolbar_black: string;
383
+ detail_top_url: string;
384
+ index_head_url: string;
385
+ detail_toolbar_url: string;
386
+ } | undefined;
387
+ openCreateDropdown?: boolean | undefined;
388
+ }>, {
389
+ sceneValue: any;
390
+ headerBorder: boolean;
391
+ isLogin: boolean;
392
+ independence: boolean;
393
+ request: (params: any, customConfigs?: {
394
+ customError?: boolean | undefined;
395
+ customTimeout?: number | undefined;
396
+ ignoreError?: boolean | undefined;
397
+ customErrorCodes?: number[] | undefined;
398
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
399
+ globalStore: () => {
400
+ httpStatus: number;
401
+ };
402
+ repoInfo: () => {};
403
+ orgInfo: () => {};
404
+ otherUserInfo: () => {};
405
+ userInfo: () => {};
406
+ bgConfig: () => {
407
+ index_head: string;
408
+ detail_top: string;
409
+ detail_top_black: string;
410
+ detail_toolbar: string;
411
+ detail_toolbar_black: string;
412
+ detail_top_url: string;
413
+ index_head_url: string;
414
+ detail_toolbar_url: string;
415
+ };
416
+ openCreateDropdown: boolean;
417
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
418
+ resetPwdDirectlySuccess: (...args: any[]) => void;
419
+ followDevCommunity: (...args: any[]) => void;
420
+ followUser: (...args: any[]) => void;
421
+ "update:openCreateDropdown": (...args: any[]) => void;
422
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<{
423
+ sceneValue: SceneValue;
424
+ isLogin: boolean;
425
+ request: Function;
426
+ loginOutFinish?: Function | undefined;
427
+ loginSuccess: Function;
428
+ globalStore: Object;
429
+ repoInfo?: repoInfoType | undefined;
430
+ orgInfo?: OrgInfo | undefined;
431
+ otherUserInfo?: UserInfo | undefined;
432
+ userInfo?: UserInfo | undefined;
433
+ headerFunctions?: HeaderDisplayItem[] | undefined;
434
+ headerCustomProps?: HeaderPropsForCustom | undefined;
435
+ openHarmonyGuide: boolean;
436
+ headerBorder?: boolean | undefined;
437
+ independence?: boolean | undefined;
438
+ userMenus?: any[] | undefined;
439
+ loginChildComponents: any;
440
+ bgConfig?: {
441
+ index_head: string;
442
+ detail_top: string;
443
+ detail_top_black: string;
444
+ detail_toolbar: string;
445
+ detail_toolbar_black: string;
446
+ detail_top_url: string;
447
+ index_head_url: string;
448
+ detail_toolbar_url: string;
449
+ } | undefined;
450
+ openCreateDropdown?: boolean | undefined;
451
+ }>, {
452
+ sceneValue: any;
453
+ headerBorder: boolean;
454
+ isLogin: boolean;
455
+ independence: boolean;
456
+ request: (params: any, customConfigs?: {
457
+ customError?: boolean | undefined;
458
+ customTimeout?: number | undefined;
459
+ ignoreError?: boolean | undefined;
460
+ customErrorCodes?: number[] | undefined;
461
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
462
+ globalStore: () => {
463
+ httpStatus: number;
464
+ };
465
+ repoInfo: () => {};
466
+ orgInfo: () => {};
467
+ otherUserInfo: () => {};
468
+ userInfo: () => {};
469
+ bgConfig: () => {
470
+ index_head: string;
471
+ detail_top: string;
472
+ detail_top_black: string;
473
+ detail_toolbar: string;
474
+ detail_toolbar_black: string;
475
+ detail_top_url: string;
476
+ index_head_url: string;
477
+ detail_toolbar_url: string;
478
+ };
479
+ openCreateDropdown: boolean;
480
+ }>>> & Readonly<{
481
+ onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
482
+ onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
483
+ onFollowUser?: ((...args: any[]) => any) | undefined;
484
+ "onUpdate:openCreateDropdown"?: ((...args: any[]) => any) | undefined;
485
+ }>, {
486
+ globalStore: Object;
487
+ isLogin: boolean;
488
+ sceneValue: SceneValue;
489
+ request: Function;
490
+ repoInfo: repoInfoType;
491
+ orgInfo: OrgInfo;
492
+ otherUserInfo: UserInfo;
493
+ userInfo: UserInfo;
494
+ independence: boolean;
495
+ headerBorder: boolean;
496
+ bgConfig: {
497
+ index_head: string;
498
+ detail_top: string;
499
+ detail_top_black: string;
500
+ detail_toolbar: string;
501
+ detail_toolbar_black: string;
502
+ detail_top_url: string;
503
+ index_head_url: string;
504
+ detail_toolbar_url: string;
505
+ };
506
+ openCreateDropdown: boolean;
507
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
508
+ headerCustom?(_: {}): any;
509
+ aiSearch?(_: {}): any;
510
+ headerMiddleRight?(_: {}): any;
511
+ search?(_: {}): any;
512
+ searchRecommend?(_: {}): any;
513
+ globalSearch?(_: {
514
+ searchStr: string;
515
+ searchMore: (type: any) => void;
516
+ }): any;
517
+ bodyHeader?(_: {}): any;
518
+ info?(_: {}): any;
519
+ menu?(_: {}): any;
520
+ headerBottom?(_: {}): any;
521
+ }>;
281
522
 
282
523
  export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
283
524
 
@@ -295,11 +536,47 @@ declare enum HeaderDisplayItem {
295
536
  OPERATION_ENTRY = "0111"
296
537
  }
297
538
 
298
- export declare const Login: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
539
+ export declare const Login: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
540
+ isLogin: boolean;
541
+ request: Function;
542
+ loginOutFinish?: Function | undefined;
543
+ loginSuccess: Function;
544
+ globalStore: Object;
545
+ openHarmonyGuide: boolean;
546
+ }>, {
547
+ request: (params: any, customConfigs?: {
548
+ customError?: boolean | undefined;
549
+ customTimeout?: number | undefined;
550
+ ignoreError?: boolean | undefined;
551
+ customErrorCodes?: number[] | undefined;
552
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
553
+ globalStore: () => {
554
+ httpStatus: number;
555
+ };
556
+ openHarmonyGuide: boolean;
557
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
558
+ isLogin: boolean;
559
+ request: Function;
560
+ loginOutFinish?: Function | undefined;
561
+ loginSuccess: Function;
562
+ globalStore: Object;
563
+ openHarmonyGuide: boolean;
564
+ }>, {
565
+ request: (params: any, customConfigs?: {
566
+ customError?: boolean | undefined;
567
+ customTimeout?: number | undefined;
568
+ ignoreError?: boolean | undefined;
569
+ customErrorCodes?: number[] | undefined;
570
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
571
+ globalStore: () => {
572
+ httpStatus: number;
573
+ };
574
+ openHarmonyGuide: boolean;
575
+ }>>> & Readonly<{}>, {
299
576
  globalStore: Object;
300
577
  request: Function;
301
578
  openHarmonyGuide: boolean;
302
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
579
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
303
580
 
304
581
  declare interface LoginOptions {
305
582
  Authorization?: boolean;
@@ -375,21 +652,42 @@ export { setTheme }
375
652
 
376
653
  export declare const SiteAnnouncement: DefineComponent_2< {}, {}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, {}, string, PublicProps_2, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions_2, true, {}, any>;
377
654
 
378
- declare const TOOLS_FLOAT_COLLAPSE_STATUS: {
379
- COLLAPSE: string;
380
- EXPAND: string;
381
- };
382
-
383
- export declare const ToolsFloat: DefineComponent<Props, {
384
- handleCollapseTool: (status: ToolsFloatCollapseStatusType) => void;
655
+ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
656
+ sceneValue: SceneValue;
657
+ isLogin: boolean;
658
+ request: (params: any, customConfigs?: {
659
+ customError?: boolean | undefined;
660
+ customTimeout?: number | undefined;
661
+ ignoreError?: boolean | undefined;
662
+ customErrorCodes?: number[] | undefined;
663
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
664
+ globalStore: () => {};
665
+ isRepoPage: boolean;
666
+ isWhiteListRepo: boolean;
667
+ isCannWhiteList: boolean;
668
+ }>>, {
669
+ handleCollapseTool: (status: string) => void;
385
670
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
386
- "toggle-growth-center": () => any;
387
- }, string, PublicProps, Readonly<Props> & Readonly<{
671
+ "toggle-growth-center": () => void;
672
+ }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
673
+ sceneValue: SceneValue;
674
+ isLogin: boolean;
675
+ request: (params: any, customConfigs?: {
676
+ customError?: boolean | undefined;
677
+ customTimeout?: number | undefined;
678
+ ignoreError?: boolean | undefined;
679
+ customErrorCodes?: number[] | undefined;
680
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
681
+ globalStore: () => {};
682
+ isRepoPage: boolean;
683
+ isWhiteListRepo: boolean;
684
+ isCannWhiteList: boolean;
685
+ }>>> & Readonly<{
388
686
  "onToggle-growth-center"?: (() => any) | undefined;
389
687
  }>, {
390
688
  globalStore: {
391
- isSignIn?: boolean;
392
689
  [key: string]: any;
690
+ isSignIn?: boolean | undefined;
393
691
  };
394
692
  isLogin: boolean;
395
693
  sceneValue: SceneValue;
@@ -397,9 +695,7 @@ request: Function;
397
695
  isRepoPage: boolean;
398
696
  isWhiteListRepo: boolean;
399
697
  isCannWhiteList: boolean;
400
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
401
-
402
- declare type ToolsFloatCollapseStatusType = typeof TOOLS_FLOAT_COLLAPSE_STATUS[keyof typeof TOOLS_FLOAT_COLLAPSE_STATUS];
698
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
403
699
 
404
700
  export declare function useLogin(request: any, globalStore?: any): {
405
701
  login: (options?: LoginOptions, loginSuccess?: Function, openHarmonyGuide?: boolean) => void;