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

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,198 @@ 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';
12
+ import { LocationQueryValue } from 'vue-router';
15
13
  import { OrgInfo } from '../../types/types';
16
- import { PropType } from '../../../vue/dist/vue.esm-bundler.js';
17
14
  import { PublicProps } from '../../../vue/dist/vue.esm-bundler.js';
18
15
  import { PublicProps as PublicProps_2 } from '../../../../vue/dist/vue.esm-bundler.js';
19
16
  import { repoInfoType } from '../../types/types';
20
17
  import { setTheme } from './themes/index';
21
18
  import { UserInfo } from '../../types/types';
22
19
 
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
- } & {};
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>;
44
33
 
45
- declare type __VLS_Prettify_4<T> = {
46
- [K in keyof T]: T[K];
47
- } & {};
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>;
48
69
 
49
- declare type __VLS_Prettify_5<T> = {
50
- [K in keyof T]: T[K];
51
- } & {};
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>;
52
90
 
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
- };
91
+ declare type __VLS_Props = {
92
+ isLogin: boolean;
93
+ request: Function;
94
+ loginOutFinish?: Function;
95
+ loginSuccess: Function;
96
+ globalStore: Object;
97
+ openHarmonyGuide: boolean;
60
98
  };
61
99
 
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;
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;
68
127
  };
128
+ openCreateDropdown?: boolean;
69
129
  };
70
130
 
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;
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;
77
171
  };
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;
172
+ refs: {
173
+ headerRef: HTMLDivElement;
86
174
  };
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;
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;
95
191
  };
192
+ refs: {
193
+ headerRef: HTMLDivElement;
194
+ };
195
+ rootEl: HTMLDivElement;
96
196
  };
97
197
 
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
- };
198
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
115
199
 
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
- };
200
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
121
201
 
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
- };
202
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
127
203
 
128
204
  declare type __VLS_WithTemplateSlots<T, S> = T & {
129
205
  new (): {
@@ -167,109 +243,7 @@ declare const _default: {
167
243
  };
168
244
  export default _default;
169
245
 
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
- }>;
246
+ export declare const EnterpriseHeader: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
273
247
 
274
248
  declare type EventBus = {
275
249
  logout?: boolean;
@@ -301,225 +275,9 @@ declare type EventBus = {
301
275
  resetPwdDirectlySuccess: void;
302
276
  };
303
277
 
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>>>;
278
+ export declare const GitCodeAside: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
359
279
 
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
- }>;
280
+ export declare const GitCodeHeader: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
523
281
 
524
282
  export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
525
283
 
@@ -537,47 +295,11 @@ declare enum HeaderDisplayItem {
537
295
  OPERATION_ENTRY = "0111"
538
296
  }
539
297
 
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<{}>, {
298
+ export declare const Login: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
577
299
  globalStore: Object;
578
300
  request: Function;
579
301
  openHarmonyGuide: boolean;
580
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
302
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
581
303
 
582
304
  declare interface LoginOptions {
583
305
  Authorization?: boolean;
@@ -653,42 +375,21 @@ export { setTheme }
653
375
 
654
376
  export declare const SiteAnnouncement: DefineComponent_2< {}, {}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, {}, string, PublicProps_2, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions_2, true, {}, any>;
655
377
 
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;
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;
671
385
  }, {}, {}, {}, 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<{
386
+ "toggle-growth-center": () => any;
387
+ }, string, PublicProps, Readonly<Props> & Readonly<{
687
388
  "onToggle-growth-center"?: (() => any) | undefined;
688
389
  }>, {
689
390
  globalStore: {
391
+ isSignIn?: boolean;
690
392
  [key: string]: any;
691
- isSignIn?: boolean | undefined;
692
393
  };
693
394
  isLogin: boolean;
694
395
  sceneValue: SceneValue;
@@ -696,7 +397,9 @@ request: Function;
696
397
  isRepoPage: boolean;
697
398
  isWhiteListRepo: boolean;
698
399
  isCannWhiteList: boolean;
699
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
400
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
401
+
402
+ declare type ToolsFloatCollapseStatusType = typeof TOOLS_FLOAT_COLLAPSE_STATUS[keyof typeof TOOLS_FLOAT_COLLAPSE_STATUS];
700
403
 
701
404
  export declare function useLogin(request: any, globalStore?: any): {
702
405
  login: (options?: LoginOptions, loginSuccess?: Function, openHarmonyGuide?: boolean) => void;