vue-layout-gitcode 1.12.14 → 1.12.15-beta.10

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