vue-layout-gitcode 1.12.28 → 1.12.29

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,6 +1,5 @@
1
1
  import { AccountInfo } from '../../types/types';
2
2
  import { App } from '../vue/dist/vue.esm-bundler.js';
3
- import { AxiosResponse } from 'axios';
4
3
  import { ComponentOptionsMixin } from '../../../vue/dist/vue.esm-bundler.js';
5
4
  import { ComponentOptionsMixin as ComponentOptionsMixin_2 } from '../../../../vue/dist/vue.esm-bundler.js';
6
5
  import { ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
@@ -9,120 +8,197 @@ import { currentTheme } from './themes/index';
9
8
  import { DefineComponent } from '../../../vue/dist/vue.esm-bundler.js';
10
9
  import { DefineComponent as DefineComponent_2 } from '../../../../vue/dist/vue.esm-bundler.js';
11
10
  import { Emitter } from 'mitt';
12
- import { ExtractPropTypes } from '../../../vue/dist/vue.esm-bundler.js';
13
11
  import { HeaderPropsForCustom } from '../../types/types';
14
12
  import { OrgInfo } from '../../types/types';
15
- import { PropType } from '../../../vue/dist/vue.esm-bundler.js';
16
13
  import { PublicProps } from '../../../vue/dist/vue.esm-bundler.js';
17
14
  import { PublicProps as PublicProps_2 } from '../../../../vue/dist/vue.esm-bundler.js';
18
15
  import { repoInfoType } from '../../types/types';
19
16
  import { setTheme } from './themes/index';
20
17
  import { UserInfo } from '../../types/types';
21
18
 
22
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
-
24
- declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
25
-
26
- declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
27
-
28
- declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
29
-
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
- } & {};
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>;
43
32
 
44
- declare type __VLS_Prettify_4<T> = {
45
- [K in keyof T]: T[K];
46
- } & {};
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>;
47
68
 
48
- declare type __VLS_Prettify_5<T> = {
49
- [K in keyof T]: T[K];
50
- } & {};
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>;
51
89
 
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;
58
- };
90
+ declare type __VLS_Props = {
91
+ isLogin: boolean;
92
+ request: Function;
93
+ loginOutFinish?: Function;
94
+ loginSuccess: Function;
95
+ globalStore: Object;
96
+ openHarmonyGuide: boolean;
59
97
  };
60
98
 
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;
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;
67
126
  };
127
+ openCreateDropdown?: boolean;
68
128
  };
69
129
 
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;
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;
76
170
  };
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;
171
+ refs: {
172
+ headerRef: HTMLDivElement;
85
173
  };
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;
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;
94
190
  };
191
+ refs: {
192
+ headerRef: HTMLDivElement;
193
+ };
194
+ rootEl: HTMLDivElement;
95
195
  };
96
196
 
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
- };
102
-
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
- };
108
-
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
- };
197
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
114
198
 
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
- };
199
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
120
200
 
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
- };
201
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
126
202
 
127
203
  declare type __VLS_WithTemplateSlots<T, S> = T & {
128
204
  new (): {
@@ -166,109 +242,7 @@ declare const _default: {
166
242
  };
167
243
  export default _default;
168
244
 
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
- }>;
245
+ export declare const EnterpriseHeader: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
272
246
 
273
247
  declare type EventBus = {
274
248
  logout?: boolean;
@@ -300,225 +274,9 @@ declare type EventBus = {
300
274
  resetPwdDirectlySuccess: void;
301
275
  };
302
276
 
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>>>;
277
+ export declare const GitCodeAside: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
358
278
 
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
- }>;
279
+ export declare const GitCodeHeader: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
522
280
 
523
281
  export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
524
282
 
@@ -536,47 +294,11 @@ declare enum HeaderDisplayItem {
536
294
  OPERATION_ENTRY = "0111"
537
295
  }
538
296
 
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<{}>, {
297
+ export declare const Login: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
576
298
  globalStore: Object;
577
299
  request: Function;
578
300
  openHarmonyGuide: boolean;
579
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
301
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
580
302
 
581
303
  declare interface LoginOptions {
582
304
  Authorization?: boolean;
@@ -652,42 +374,21 @@ export { setTheme }
652
374
 
653
375
  export declare const SiteAnnouncement: DefineComponent_2< {}, {}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, {}, string, PublicProps_2, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions_2, true, {}, any>;
654
376
 
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;
377
+ declare const TOOLS_FLOAT_COLLAPSE_STATUS: {
378
+ COLLAPSE: string;
379
+ EXPAND: string;
380
+ };
381
+
382
+ export declare const ToolsFloat: DefineComponent<Props, {
383
+ handleCollapseTool: (status: ToolsFloatCollapseStatusType) => void;
670
384
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
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<{
385
+ "toggle-growth-center": () => any;
386
+ }, string, PublicProps, Readonly<Props> & Readonly<{
686
387
  "onToggle-growth-center"?: (() => any) | undefined;
687
388
  }>, {
688
389
  globalStore: {
390
+ isSignIn?: boolean;
689
391
  [key: string]: any;
690
- isSignIn?: boolean | undefined;
691
392
  };
692
393
  isLogin: boolean;
693
394
  sceneValue: SceneValue;
@@ -695,7 +396,9 @@ request: Function;
695
396
  isRepoPage: boolean;
696
397
  isWhiteListRepo: boolean;
697
398
  isCannWhiteList: boolean;
698
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
399
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
400
+
401
+ declare type ToolsFloatCollapseStatusType = typeof TOOLS_FLOAT_COLLAPSE_STATUS[keyof typeof TOOLS_FLOAT_COLLAPSE_STATUS];
699
402
 
700
403
  export declare function useLogin(request: any, globalStore?: any): {
701
404
  login: (options?: LoginOptions, loginSuccess?: Function, openHarmonyGuide?: boolean) => void;