vue-layout-gitcode 1.10.47 → 1.10.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{GloabarSearch-lq_tNom-.js → GloabarSearch-UyNr8xag.js} +3 -3
- package/{MenuItem-sa1lManN.js → MenuItem-L7PRNGPb.js} +1 -1
- package/{ProjectMenuList-B12jY7S4.js → ProjectMenuList-aVFIyMBL.js} +2 -2
- package/{ProjectMenuListV2-CzbmFSbI.js → ProjectMenuListV2-Cphgt8fi.js} +2 -2
- package/{ProjectSearch-B4HyOR-n.js → ProjectSearch-DsLLM24x.js} +1 -1
- package/{SearchHistoryList-CiLTeRjc.js → SearchHistoryList-7Kh4Dmbv.js} +1 -1
- package/{SearchPrefixTag-BKBhPuRH.js → SearchPrefixTag-BeyUBVv4.js} +1 -1
- package/{SearchRecommed-De9HWMhQ.js → SearchRecommed-BGtVhFj1.js} +2 -2
- package/{SearchScopeList-DLm9DBVr.js → SearchScopeList-Bf1ZFqNB.js} +1 -1
- package/{UserSearch-rUKYk8Jx.js → UserSearch-Chw-Y8ry.js} +1 -1
- package/{index-BsAdNTFu.js → index-0Mneepjj.js} +206 -193
- package/{index-CYkBP9_X.js → index-BCxH3cNa.js} +2 -3
- package/{index-Cp24Y9A7.js → index-BW-OwqXX.js} +1 -1
- package/{index-Bf468b3i.js → index-DSy5kAHy.js} +5 -8
- package/index.d.ts +604 -12
- package/index.js +1 -1
- package/{notice-DfNMwy0L.js → notice-BL64TZ9e.js} +3 -5
- package/package.json +2 -2
- package/style.css +1 -1
- package/{transWebUrl-BCCt-IBJ.js → transWebUrl-BbJeiLE-.js} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, nextTick, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-
|
|
2
|
+
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-0Mneepjj.js";
|
|
3
3
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const TARGET_TEXT = "Click in order:";
|
|
@@ -108,8 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
108
108
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
109
109
|
createElementVNode("div", { id: "captcha-box" }, null, -1)
|
|
110
110
|
])),
|
|
111
|
-
_: 1
|
|
112
|
-
__: [0]
|
|
111
|
+
_: 1
|
|
113
112
|
});
|
|
114
113
|
};
|
|
115
114
|
}
|
|
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
|
|
|
8
8
|
import "vue-devui-lal/message/style.css";
|
|
9
9
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
10
10
|
import "vue-devui-lal/overlay/style.css";
|
|
11
|
-
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-0Mneepjj.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
|
|
2
2
|
import debounce from "lodash/debounce";
|
|
3
|
-
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-0Mneepjj.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BbJeiLE-.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -535,8 +535,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
535
535
|
default: withCtx(() => [
|
|
536
536
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag w-[32px] h-[15px] text-[9px] text-[#ffffff] flex items-center justify-center leading-[1]" }, "New", -1))
|
|
537
537
|
]),
|
|
538
|
-
_: 1
|
|
539
|
-
__: [0]
|
|
538
|
+
_: 1
|
|
540
539
|
})) : createCommentVNode("", true);
|
|
541
540
|
};
|
|
542
541
|
}
|
|
@@ -751,8 +750,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
751
750
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
752
751
|
createTextVNode("G-Star ")
|
|
753
752
|
])),
|
|
754
|
-
_: 1
|
|
755
|
-
__: [0]
|
|
753
|
+
_: 1
|
|
756
754
|
}, 8, ["message"])
|
|
757
755
|
])) : createCommentVNode("", true),
|
|
758
756
|
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
@@ -765,8 +763,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
765
763
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
766
764
|
createTextVNode(" G-Star ")
|
|
767
765
|
])),
|
|
768
|
-
_: 1
|
|
769
|
-
__: [1]
|
|
766
|
+
_: 1
|
|
770
767
|
}, 8, ["message"])
|
|
771
768
|
])) : createCommentVNode("", true),
|
|
772
769
|
createVNode(NewTag, {
|
package/index.d.ts
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccountInfo } from '../../types/types';
|
|
2
|
+
import { App } from './vue/dist/vue.esm-bundler.js';
|
|
3
|
+
import type { AxiosResponse } from 'axios';
|
|
4
|
+
import type { ComponentOptionsMixin } from './vue/dist/vue.esm-bundler.js';
|
|
5
|
+
import type { ComponentProvideOptions } from './vue/dist/vue.esm-bundler.js';
|
|
2
6
|
import { currentTheme } from './themes/index';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
+
import type { DefineComponent } from './vue/dist/vue.esm-bundler.js';
|
|
8
|
+
import type { Emitter } from 'mitt';
|
|
9
|
+
import type { ExtractPropTypes } from './vue/dist/vue.esm-bundler.js';
|
|
10
|
+
import { HeaderPropsForCustom } from '../../types/types';
|
|
11
|
+
import { OrgInfo } from '../../types/types';
|
|
12
|
+
import type { PropType } from './vue/dist/vue.esm-bundler.js';
|
|
13
|
+
import type { PublicProps } from './vue/dist/vue.esm-bundler.js';
|
|
14
|
+
import { repoInfoType } from '../../types/types';
|
|
7
15
|
import { setTheme } from './themes/index';
|
|
8
|
-
import {
|
|
9
|
-
import { default as ToolsFloat } from './components/ToolsFloat/index.vue';
|
|
16
|
+
import { UserInfo } from '../../types/types';
|
|
10
17
|
|
|
11
18
|
declare interface BaseLayoutConfig {
|
|
12
19
|
VITE_HOST: string;
|
|
@@ -62,13 +69,508 @@ declare type EventBus = {
|
|
|
62
69
|
resetPwdDirectlySuccess: void;
|
|
63
70
|
};
|
|
64
71
|
|
|
65
|
-
export
|
|
72
|
+
export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
|
|
73
|
+
sceneValue: {
|
|
74
|
+
type: PropType<SceneValue>;
|
|
75
|
+
required: true;
|
|
76
|
+
default: SceneValue;
|
|
77
|
+
};
|
|
78
|
+
disableFlatMode: {
|
|
79
|
+
type: PropType<boolean | undefined>;
|
|
80
|
+
required: false;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
userInfo: {
|
|
84
|
+
type: PropType<AccountInfo>;
|
|
85
|
+
required: true;
|
|
86
|
+
default: () => {};
|
|
87
|
+
};
|
|
88
|
+
isLogin: {
|
|
89
|
+
type: PropType<boolean>;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
request: {
|
|
93
|
+
type: PropType<Function>;
|
|
94
|
+
required: true;
|
|
95
|
+
default: (params: any, customConfigs?: {
|
|
96
|
+
customError?: boolean | undefined;
|
|
97
|
+
customTimeout?: number | undefined;
|
|
98
|
+
ignoreError?: boolean | undefined;
|
|
99
|
+
customErrorCodes?: number[] | undefined;
|
|
100
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
101
|
+
};
|
|
102
|
+
globalStore: {
|
|
103
|
+
type: PropType<Object>;
|
|
104
|
+
required: true;
|
|
105
|
+
default: () => {
|
|
106
|
+
httpStatus: number;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
independence: {
|
|
110
|
+
type: PropType<boolean | undefined>;
|
|
111
|
+
required: false;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
showPreferencesSetting: {
|
|
115
|
+
type: PropType<boolean | undefined>;
|
|
116
|
+
required: false;
|
|
117
|
+
skipCheck: boolean;
|
|
118
|
+
default: undefined;
|
|
119
|
+
};
|
|
120
|
+
showThemeSetting: {
|
|
121
|
+
type: PropType<boolean | undefined>;
|
|
122
|
+
required: false;
|
|
123
|
+
skipCheck: boolean;
|
|
124
|
+
default: undefined;
|
|
125
|
+
};
|
|
126
|
+
showLangSetting: {
|
|
127
|
+
type: PropType<boolean | undefined>;
|
|
128
|
+
required: false;
|
|
129
|
+
skipCheck: boolean;
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
collapseMode: {
|
|
133
|
+
type: PropType<boolean | undefined>;
|
|
134
|
+
required: false;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
slotKeys: {
|
|
138
|
+
type: PropType<string[] | undefined>;
|
|
139
|
+
required: false;
|
|
140
|
+
default: () => never[];
|
|
141
|
+
};
|
|
142
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
143
|
+
sceneValue: {
|
|
144
|
+
type: PropType<SceneValue>;
|
|
145
|
+
required: true;
|
|
146
|
+
default: SceneValue;
|
|
147
|
+
};
|
|
148
|
+
disableFlatMode: {
|
|
149
|
+
type: PropType<boolean | undefined>;
|
|
150
|
+
required: false;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
userInfo: {
|
|
154
|
+
type: PropType<AccountInfo>;
|
|
155
|
+
required: true;
|
|
156
|
+
default: () => {};
|
|
157
|
+
};
|
|
158
|
+
isLogin: {
|
|
159
|
+
type: PropType<boolean>;
|
|
160
|
+
required: true;
|
|
161
|
+
};
|
|
162
|
+
request: {
|
|
163
|
+
type: PropType<Function>;
|
|
164
|
+
required: true;
|
|
165
|
+
default: (params: any, customConfigs?: {
|
|
166
|
+
customError?: boolean | undefined;
|
|
167
|
+
customTimeout?: number | undefined;
|
|
168
|
+
ignoreError?: boolean | undefined;
|
|
169
|
+
customErrorCodes?: number[] | undefined;
|
|
170
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
171
|
+
};
|
|
172
|
+
globalStore: {
|
|
173
|
+
type: PropType<Object>;
|
|
174
|
+
required: true;
|
|
175
|
+
default: () => {
|
|
176
|
+
httpStatus: number;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
independence: {
|
|
180
|
+
type: PropType<boolean | undefined>;
|
|
181
|
+
required: false;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
showPreferencesSetting: {
|
|
185
|
+
type: PropType<boolean | undefined>;
|
|
186
|
+
required: false;
|
|
187
|
+
skipCheck: boolean;
|
|
188
|
+
default: undefined;
|
|
189
|
+
};
|
|
190
|
+
showThemeSetting: {
|
|
191
|
+
type: PropType<boolean | undefined>;
|
|
192
|
+
required: false;
|
|
193
|
+
skipCheck: boolean;
|
|
194
|
+
default: undefined;
|
|
195
|
+
};
|
|
196
|
+
showLangSetting: {
|
|
197
|
+
type: PropType<boolean | undefined>;
|
|
198
|
+
required: false;
|
|
199
|
+
skipCheck: boolean;
|
|
200
|
+
default: undefined;
|
|
201
|
+
};
|
|
202
|
+
collapseMode: {
|
|
203
|
+
type: PropType<boolean | undefined>;
|
|
204
|
+
required: false;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
slotKeys: {
|
|
208
|
+
type: PropType<string[] | undefined>;
|
|
209
|
+
required: false;
|
|
210
|
+
default: () => never[];
|
|
211
|
+
};
|
|
212
|
+
}>> & Readonly<{}>, {
|
|
213
|
+
sceneValue: SceneValue;
|
|
214
|
+
request: Function;
|
|
215
|
+
globalStore: Object;
|
|
216
|
+
disableFlatMode: boolean | undefined;
|
|
217
|
+
userInfo: AccountInfo;
|
|
218
|
+
independence: boolean | undefined;
|
|
219
|
+
showPreferencesSetting: boolean | undefined;
|
|
220
|
+
showThemeSetting: boolean | undefined;
|
|
221
|
+
showLangSetting: boolean | undefined;
|
|
222
|
+
collapseMode: boolean | undefined;
|
|
223
|
+
slotKeys: string[] | undefined;
|
|
224
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
66
225
|
|
|
67
|
-
export
|
|
226
|
+
export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
227
|
+
sceneValue: {
|
|
228
|
+
type: PropType<SceneValue>;
|
|
229
|
+
required: true;
|
|
230
|
+
default: any;
|
|
231
|
+
};
|
|
232
|
+
isLogin: {
|
|
233
|
+
type: PropType<boolean>;
|
|
234
|
+
required: true;
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
|
+
request: {
|
|
238
|
+
type: PropType<Function>;
|
|
239
|
+
required: true;
|
|
240
|
+
default: (params: any, customConfigs?: {
|
|
241
|
+
customError?: boolean | undefined;
|
|
242
|
+
customTimeout?: number | undefined;
|
|
243
|
+
ignoreError?: boolean | undefined;
|
|
244
|
+
customErrorCodes?: number[] | undefined;
|
|
245
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
246
|
+
};
|
|
247
|
+
loginOutFinish: {
|
|
248
|
+
type: PropType<Function | undefined>;
|
|
249
|
+
required: false;
|
|
250
|
+
};
|
|
251
|
+
loginSuccess: {
|
|
252
|
+
type: PropType<Function>;
|
|
253
|
+
required: true;
|
|
254
|
+
};
|
|
255
|
+
globalStore: {
|
|
256
|
+
type: PropType<Object>;
|
|
257
|
+
required: true;
|
|
258
|
+
default: () => {
|
|
259
|
+
httpStatus: number;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
repoInfo: {
|
|
263
|
+
type: PropType<repoInfoType | undefined>;
|
|
264
|
+
required: false;
|
|
265
|
+
default: () => {};
|
|
266
|
+
};
|
|
267
|
+
orgInfo: {
|
|
268
|
+
type: PropType<OrgInfo | undefined>;
|
|
269
|
+
required: false;
|
|
270
|
+
default: () => {};
|
|
271
|
+
};
|
|
272
|
+
otherUserInfo: {
|
|
273
|
+
type: PropType<UserInfo | undefined>;
|
|
274
|
+
required: false;
|
|
275
|
+
default: () => {};
|
|
276
|
+
};
|
|
277
|
+
userInfo: {
|
|
278
|
+
type: PropType<UserInfo | undefined>;
|
|
279
|
+
required: false;
|
|
280
|
+
default: () => {};
|
|
281
|
+
};
|
|
282
|
+
headerFunctions: {
|
|
283
|
+
type: PropType<HeaderDisplayItem[] | undefined>;
|
|
284
|
+
required: false;
|
|
285
|
+
};
|
|
286
|
+
headerCustomProps: {
|
|
287
|
+
type: PropType<HeaderPropsForCustom | undefined>;
|
|
288
|
+
required: false;
|
|
289
|
+
};
|
|
290
|
+
openHarmonyGuide: {
|
|
291
|
+
type: PropType<boolean>;
|
|
292
|
+
required: true;
|
|
293
|
+
};
|
|
294
|
+
headerBorder: {
|
|
295
|
+
type: PropType<boolean | undefined>;
|
|
296
|
+
required: false;
|
|
297
|
+
default: boolean;
|
|
298
|
+
};
|
|
299
|
+
independence: {
|
|
300
|
+
type: PropType<boolean | undefined>;
|
|
301
|
+
required: false;
|
|
302
|
+
default: boolean;
|
|
303
|
+
};
|
|
304
|
+
userMenus: {
|
|
305
|
+
type: PropType<any[] | undefined>;
|
|
306
|
+
required: false;
|
|
307
|
+
};
|
|
308
|
+
loginChildComponents: {
|
|
309
|
+
type: PropType<any>;
|
|
310
|
+
required: true;
|
|
311
|
+
};
|
|
312
|
+
bgConfig: {
|
|
313
|
+
type: PropType<{
|
|
314
|
+
index_head: string;
|
|
315
|
+
detail_top: string;
|
|
316
|
+
detail_top_black: string;
|
|
317
|
+
detail_toolbar: string;
|
|
318
|
+
detail_toolbar_black: string;
|
|
319
|
+
detail_top_url: string;
|
|
320
|
+
index_head_url: string;
|
|
321
|
+
detail_toolbar_url: string;
|
|
322
|
+
} | undefined>;
|
|
323
|
+
required: false;
|
|
324
|
+
default: () => {
|
|
325
|
+
index_head: string;
|
|
326
|
+
detail_top: string;
|
|
327
|
+
detail_top_black: string;
|
|
328
|
+
detail_toolbar: string;
|
|
329
|
+
detail_toolbar_black: string;
|
|
330
|
+
detail_top_url: string;
|
|
331
|
+
index_head_url: string;
|
|
332
|
+
detail_toolbar_url: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
openCreateDropdown: {
|
|
336
|
+
type: PropType<boolean | undefined>;
|
|
337
|
+
required: false;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
340
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("resetPwdDirectlySuccess" | "followDevCommunity" | "followUser" | "update:openCreateDropdown")[], "resetPwdDirectlySuccess" | "followDevCommunity" | "followUser" | "update:openCreateDropdown", PublicProps, Readonly<ExtractPropTypes<{
|
|
341
|
+
sceneValue: {
|
|
342
|
+
type: PropType<SceneValue>;
|
|
343
|
+
required: true;
|
|
344
|
+
default: any;
|
|
345
|
+
};
|
|
346
|
+
isLogin: {
|
|
347
|
+
type: PropType<boolean>;
|
|
348
|
+
required: true;
|
|
349
|
+
default: boolean;
|
|
350
|
+
};
|
|
351
|
+
request: {
|
|
352
|
+
type: PropType<Function>;
|
|
353
|
+
required: true;
|
|
354
|
+
default: (params: any, customConfigs?: {
|
|
355
|
+
customError?: boolean | undefined;
|
|
356
|
+
customTimeout?: number | undefined;
|
|
357
|
+
ignoreError?: boolean | undefined;
|
|
358
|
+
customErrorCodes?: number[] | undefined;
|
|
359
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
360
|
+
};
|
|
361
|
+
loginOutFinish: {
|
|
362
|
+
type: PropType<Function | undefined>;
|
|
363
|
+
required: false;
|
|
364
|
+
};
|
|
365
|
+
loginSuccess: {
|
|
366
|
+
type: PropType<Function>;
|
|
367
|
+
required: true;
|
|
368
|
+
};
|
|
369
|
+
globalStore: {
|
|
370
|
+
type: PropType<Object>;
|
|
371
|
+
required: true;
|
|
372
|
+
default: () => {
|
|
373
|
+
httpStatus: number;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
repoInfo: {
|
|
377
|
+
type: PropType<repoInfoType | undefined>;
|
|
378
|
+
required: false;
|
|
379
|
+
default: () => {};
|
|
380
|
+
};
|
|
381
|
+
orgInfo: {
|
|
382
|
+
type: PropType<OrgInfo | undefined>;
|
|
383
|
+
required: false;
|
|
384
|
+
default: () => {};
|
|
385
|
+
};
|
|
386
|
+
otherUserInfo: {
|
|
387
|
+
type: PropType<UserInfo | undefined>;
|
|
388
|
+
required: false;
|
|
389
|
+
default: () => {};
|
|
390
|
+
};
|
|
391
|
+
userInfo: {
|
|
392
|
+
type: PropType<UserInfo | undefined>;
|
|
393
|
+
required: false;
|
|
394
|
+
default: () => {};
|
|
395
|
+
};
|
|
396
|
+
headerFunctions: {
|
|
397
|
+
type: PropType<HeaderDisplayItem[] | undefined>;
|
|
398
|
+
required: false;
|
|
399
|
+
};
|
|
400
|
+
headerCustomProps: {
|
|
401
|
+
type: PropType<HeaderPropsForCustom | undefined>;
|
|
402
|
+
required: false;
|
|
403
|
+
};
|
|
404
|
+
openHarmonyGuide: {
|
|
405
|
+
type: PropType<boolean>;
|
|
406
|
+
required: true;
|
|
407
|
+
};
|
|
408
|
+
headerBorder: {
|
|
409
|
+
type: PropType<boolean | undefined>;
|
|
410
|
+
required: false;
|
|
411
|
+
default: boolean;
|
|
412
|
+
};
|
|
413
|
+
independence: {
|
|
414
|
+
type: PropType<boolean | undefined>;
|
|
415
|
+
required: false;
|
|
416
|
+
default: boolean;
|
|
417
|
+
};
|
|
418
|
+
userMenus: {
|
|
419
|
+
type: PropType<any[] | undefined>;
|
|
420
|
+
required: false;
|
|
421
|
+
};
|
|
422
|
+
loginChildComponents: {
|
|
423
|
+
type: PropType<any>;
|
|
424
|
+
required: true;
|
|
425
|
+
};
|
|
426
|
+
bgConfig: {
|
|
427
|
+
type: PropType<{
|
|
428
|
+
index_head: string;
|
|
429
|
+
detail_top: string;
|
|
430
|
+
detail_top_black: string;
|
|
431
|
+
detail_toolbar: string;
|
|
432
|
+
detail_toolbar_black: string;
|
|
433
|
+
detail_top_url: string;
|
|
434
|
+
index_head_url: string;
|
|
435
|
+
detail_toolbar_url: string;
|
|
436
|
+
} | undefined>;
|
|
437
|
+
required: false;
|
|
438
|
+
default: () => {
|
|
439
|
+
index_head: string;
|
|
440
|
+
detail_top: string;
|
|
441
|
+
detail_top_black: string;
|
|
442
|
+
detail_toolbar: string;
|
|
443
|
+
detail_toolbar_black: string;
|
|
444
|
+
detail_top_url: string;
|
|
445
|
+
index_head_url: string;
|
|
446
|
+
detail_toolbar_url: string;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
openCreateDropdown: {
|
|
450
|
+
type: PropType<boolean | undefined>;
|
|
451
|
+
required: false;
|
|
452
|
+
default: boolean;
|
|
453
|
+
};
|
|
454
|
+
}>> & Readonly<{
|
|
455
|
+
onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
|
|
456
|
+
onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
|
|
457
|
+
onFollowUser?: ((...args: any[]) => any) | undefined;
|
|
458
|
+
"onUpdate:openCreateDropdown"?: ((...args: any[]) => any) | undefined;
|
|
459
|
+
}>, {
|
|
460
|
+
sceneValue: SceneValue;
|
|
461
|
+
isLogin: boolean;
|
|
462
|
+
request: Function;
|
|
463
|
+
globalStore: Object;
|
|
464
|
+
userInfo: UserInfo | undefined;
|
|
465
|
+
independence: boolean | undefined;
|
|
466
|
+
repoInfo: repoInfoType | undefined;
|
|
467
|
+
orgInfo: OrgInfo | undefined;
|
|
468
|
+
otherUserInfo: UserInfo | undefined;
|
|
469
|
+
headerBorder: boolean | undefined;
|
|
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
|
+
} | undefined;
|
|
480
|
+
openCreateDropdown: boolean | undefined;
|
|
481
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
68
482
|
|
|
69
483
|
export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
|
|
70
484
|
|
|
71
|
-
|
|
485
|
+
declare enum HeaderDisplayItem {
|
|
486
|
+
LOGIN_AND_AVATAR = "0101",
|
|
487
|
+
MESSAGE_CENTER = "0102",
|
|
488
|
+
NEW_BUTTON = "0103",
|
|
489
|
+
DOCUMENT_CENTER = "0104",
|
|
490
|
+
DEEPSEEK_BUTTON = "0105",
|
|
491
|
+
SEARCH_BUTTON = "0106",
|
|
492
|
+
NAME_AND_ICON = "0107",
|
|
493
|
+
CUSTOM_CONTENT = "0108",
|
|
494
|
+
ASIDE_BUTTON = "0109",
|
|
495
|
+
NEWS_MULTI_LANGUAGE = "0110",
|
|
496
|
+
OPERATION_ENTRY = "0111"
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export declare const Login: DefineComponent<ExtractPropTypes<{
|
|
500
|
+
isLogin: {
|
|
501
|
+
type: PropType<boolean>;
|
|
502
|
+
required: true;
|
|
503
|
+
};
|
|
504
|
+
request: {
|
|
505
|
+
type: PropType<Function>;
|
|
506
|
+
required: true;
|
|
507
|
+
default: (params: any, customConfigs?: {
|
|
508
|
+
customError?: boolean | undefined;
|
|
509
|
+
customTimeout?: number | undefined;
|
|
510
|
+
ignoreError?: boolean | undefined;
|
|
511
|
+
customErrorCodes?: number[] | undefined;
|
|
512
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
513
|
+
};
|
|
514
|
+
loginOutFinish: {
|
|
515
|
+
type: PropType<Function | undefined>;
|
|
516
|
+
required: false;
|
|
517
|
+
};
|
|
518
|
+
loginSuccess: {
|
|
519
|
+
type: PropType<Function>;
|
|
520
|
+
required: true;
|
|
521
|
+
};
|
|
522
|
+
globalStore: {
|
|
523
|
+
type: PropType<Object>;
|
|
524
|
+
required: true;
|
|
525
|
+
default: () => {
|
|
526
|
+
httpStatus: number;
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
openHarmonyGuide: {
|
|
530
|
+
type: PropType<boolean>;
|
|
531
|
+
required: true;
|
|
532
|
+
default: boolean;
|
|
533
|
+
};
|
|
534
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
535
|
+
isLogin: {
|
|
536
|
+
type: PropType<boolean>;
|
|
537
|
+
required: true;
|
|
538
|
+
};
|
|
539
|
+
request: {
|
|
540
|
+
type: PropType<Function>;
|
|
541
|
+
required: true;
|
|
542
|
+
default: (params: any, customConfigs?: {
|
|
543
|
+
customError?: boolean | undefined;
|
|
544
|
+
customTimeout?: number | undefined;
|
|
545
|
+
ignoreError?: boolean | undefined;
|
|
546
|
+
customErrorCodes?: number[] | undefined;
|
|
547
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
548
|
+
};
|
|
549
|
+
loginOutFinish: {
|
|
550
|
+
type: PropType<Function | undefined>;
|
|
551
|
+
required: false;
|
|
552
|
+
};
|
|
553
|
+
loginSuccess: {
|
|
554
|
+
type: PropType<Function>;
|
|
555
|
+
required: true;
|
|
556
|
+
};
|
|
557
|
+
globalStore: {
|
|
558
|
+
type: PropType<Object>;
|
|
559
|
+
required: true;
|
|
560
|
+
default: () => {
|
|
561
|
+
httpStatus: number;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
openHarmonyGuide: {
|
|
565
|
+
type: PropType<boolean>;
|
|
566
|
+
required: true;
|
|
567
|
+
default: boolean;
|
|
568
|
+
};
|
|
569
|
+
}>> & Readonly<{}>, {
|
|
570
|
+
request: Function;
|
|
571
|
+
globalStore: Object;
|
|
572
|
+
openHarmonyGuide: boolean;
|
|
573
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
72
574
|
|
|
73
575
|
declare interface LoginOptions {
|
|
74
576
|
Authorization?: boolean;
|
|
@@ -96,9 +598,99 @@ export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
|
|
|
96
598
|
|
|
97
599
|
export { setTheme }
|
|
98
600
|
|
|
99
|
-
export
|
|
601
|
+
export declare const SiteAnnouncement: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
100
602
|
|
|
101
|
-
export
|
|
603
|
+
export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
604
|
+
sceneValue: {
|
|
605
|
+
type: PropType<SceneValue>;
|
|
606
|
+
required: true;
|
|
607
|
+
default: SceneValue;
|
|
608
|
+
};
|
|
609
|
+
isLogin: {
|
|
610
|
+
type: PropType<boolean>;
|
|
611
|
+
required: true;
|
|
612
|
+
default: boolean;
|
|
613
|
+
};
|
|
614
|
+
request: {
|
|
615
|
+
type: PropType<Function>;
|
|
616
|
+
required: true;
|
|
617
|
+
default: (params: any, customConfigs?: {
|
|
618
|
+
customError?: boolean | undefined;
|
|
619
|
+
customTimeout?: number | undefined;
|
|
620
|
+
ignoreError?: boolean | undefined;
|
|
621
|
+
customErrorCodes?: number[] | undefined;
|
|
622
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
623
|
+
};
|
|
624
|
+
globalStore: {
|
|
625
|
+
type: PropType<{
|
|
626
|
+
[key: string]: any;
|
|
627
|
+
isSignIn?: boolean | undefined;
|
|
628
|
+
}>;
|
|
629
|
+
required: true;
|
|
630
|
+
default: () => {};
|
|
631
|
+
};
|
|
632
|
+
isRepoPage: {
|
|
633
|
+
type: PropType<boolean | undefined>;
|
|
634
|
+
required: false;
|
|
635
|
+
default: boolean;
|
|
636
|
+
};
|
|
637
|
+
isWhiteListRepo: {
|
|
638
|
+
type: PropType<boolean>;
|
|
639
|
+
required: true;
|
|
640
|
+
default: boolean;
|
|
641
|
+
};
|
|
642
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "toggle-growth-center"[], "toggle-growth-center", PublicProps, Readonly<ExtractPropTypes<{
|
|
643
|
+
sceneValue: {
|
|
644
|
+
type: PropType<SceneValue>;
|
|
645
|
+
required: true;
|
|
646
|
+
default: SceneValue;
|
|
647
|
+
};
|
|
648
|
+
isLogin: {
|
|
649
|
+
type: PropType<boolean>;
|
|
650
|
+
required: true;
|
|
651
|
+
default: boolean;
|
|
652
|
+
};
|
|
653
|
+
request: {
|
|
654
|
+
type: PropType<Function>;
|
|
655
|
+
required: true;
|
|
656
|
+
default: (params: any, customConfigs?: {
|
|
657
|
+
customError?: boolean | undefined;
|
|
658
|
+
customTimeout?: number | undefined;
|
|
659
|
+
ignoreError?: boolean | undefined;
|
|
660
|
+
customErrorCodes?: number[] | undefined;
|
|
661
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
662
|
+
};
|
|
663
|
+
globalStore: {
|
|
664
|
+
type: PropType<{
|
|
665
|
+
[key: string]: any;
|
|
666
|
+
isSignIn?: boolean | undefined;
|
|
667
|
+
}>;
|
|
668
|
+
required: true;
|
|
669
|
+
default: () => {};
|
|
670
|
+
};
|
|
671
|
+
isRepoPage: {
|
|
672
|
+
type: PropType<boolean | undefined>;
|
|
673
|
+
required: false;
|
|
674
|
+
default: boolean;
|
|
675
|
+
};
|
|
676
|
+
isWhiteListRepo: {
|
|
677
|
+
type: PropType<boolean>;
|
|
678
|
+
required: true;
|
|
679
|
+
default: boolean;
|
|
680
|
+
};
|
|
681
|
+
}>> & Readonly<{
|
|
682
|
+
"onToggle-growth-center"?: ((...args: any[]) => any) | undefined;
|
|
683
|
+
}>, {
|
|
684
|
+
sceneValue: SceneValue;
|
|
685
|
+
isLogin: boolean;
|
|
686
|
+
request: Function;
|
|
687
|
+
globalStore: {
|
|
688
|
+
[key: string]: any;
|
|
689
|
+
isSignIn?: boolean | undefined;
|
|
690
|
+
};
|
|
691
|
+
isRepoPage: boolean | undefined;
|
|
692
|
+
isWhiteListRepo: boolean;
|
|
693
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
102
694
|
|
|
103
695
|
export declare function useLogin(request: any, globalStore?: any): {
|
|
104
696
|
login: (options?: LoginOptions, loginSuccess?: Function, openHarmonyGuide?: boolean) => void;
|