vue-layout-gitcode 1.0.1 → 1.0.2
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-52647c97.js → GloabarSearch-17e77b1e.js} +5 -4
- package/{ProjectSearch-e63ed1ba.js → ProjectSearch-2735465f.js} +5 -4
- package/{SearchHistoryList-87488e31.js → SearchHistoryList-df38eb3e.js} +4 -3
- package/{SearchPrefixTag-cfcbeba4.js → SearchPrefixTag-6487df83.js} +4 -3
- package/{SearchRecommed-8ba4e3a3.js → SearchRecommed-30ce741b.js} +9 -7
- package/{SearchScopeList-dab774d3.js → SearchScopeList-f8827003.js} +4 -3
- package/{UserSearch-d57efc36.js → UserSearch-c2065a9a.js} +5 -4
- package/{formatNameSpace-24f91ed9.js → formatNameSpace-cafc014b.js} +1 -1
- package/{index-e987b0b4.js → index-76454ee2.js} +4 -3
- package/{index-74e529af.js → index-a174ea22.js} +224 -166
- package/index.d.ts +22 -4
- package/index.js +9 -7
- package/{notice-dd3a9d4a.js → notice-868a1c83.js} +4 -3
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -35,10 +35,11 @@ import { Badge } from "vue-devui-lal/badge";
|
|
|
35
35
|
import "vue-devui-lal/badge/style.css";
|
|
36
36
|
import { Tabs } from "vue-devui-lal/tabs";
|
|
37
37
|
import "vue-devui-lal/tabs/style.css";
|
|
38
|
-
import { RadioGroup, Radio } from "vue-devui-lal/radio";
|
|
39
|
-
import "vue-devui-lal/radio/style.css";
|
|
40
38
|
import { Form, FormItem } from "vue-devui-lal/form";
|
|
41
39
|
import "vue-devui-lal/form/style.css";
|
|
40
|
+
import { RadioGroup, Radio } from "vue-devui-lal/radio";
|
|
41
|
+
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
42
|
+
import "vue-devui-lal/radio/style.css";
|
|
42
43
|
import { Checkbox } from "vue-devui-lal/checkbox";
|
|
43
44
|
import "vue-devui-lal/checkbox/style.css";
|
|
44
45
|
import { Modal } from "vue-devui-lal/modal";
|
|
@@ -101,6 +102,30 @@ const _export_sfc = (sfc, props) => {
|
|
|
101
102
|
return target;
|
|
102
103
|
};
|
|
103
104
|
const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-2e3caaf8"]]);
|
|
105
|
+
const defaultConfig = {
|
|
106
|
+
VITE_ENV: "production",
|
|
107
|
+
VITE_HOST: "https://gitcode.com",
|
|
108
|
+
VITE_API_HOST: "https://web-api.gitcode.com",
|
|
109
|
+
VITE_AD_LINK: "https://cdn-static.gitcode.com/adList/active.json",
|
|
110
|
+
VITE_NEWS_HOST: "https://news.gitcode.com",
|
|
111
|
+
VITE_AI_HOST: "https://ai.gitcode.com",
|
|
112
|
+
VITE_INCUBATION_TOPIC: "6656c64efd46e722f6299761",
|
|
113
|
+
VITE_GSTAR_TOPIC: "6656c65ebacc215dac8b2d06",
|
|
114
|
+
VITE_TRUSTED_TOPIC: "6716255303226504db66d8d7",
|
|
115
|
+
VITE_SEARCH_REPO_CHANNEL_ID: "67bc3f5f97a0293d6bfebd01",
|
|
116
|
+
VITE_SECRET_KEY: "SA!nUNPZ5o!OSV&B",
|
|
117
|
+
VITE_SECRET_IV: "SA!nwwwZ5o!OSV&B"
|
|
118
|
+
};
|
|
119
|
+
let layoutConfig$5 = { ...defaultConfig };
|
|
120
|
+
function setLayoutConfig(customConfig) {
|
|
121
|
+
layoutConfig$5 = {
|
|
122
|
+
...layoutConfig$5,
|
|
123
|
+
...customConfig
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function useLayoutConfig() {
|
|
127
|
+
return layoutConfig$5;
|
|
128
|
+
}
|
|
104
129
|
function generateRandomString(length) {
|
|
105
130
|
let result2 = "";
|
|
106
131
|
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
@@ -284,9 +309,6 @@ var AsideReportEvent = /* @__PURE__ */ ((AsideReportEvent2) => {
|
|
|
284
309
|
AsideReportEvent2["AI_CLICK"] = "aihub_gitcode_toolbar";
|
|
285
310
|
return AsideReportEvent2;
|
|
286
311
|
})(AsideReportEvent || {});
|
|
287
|
-
const SITE_HOST = "https://gitcode.com";
|
|
288
|
-
const AI_HOST = "https://ai.gitcode.com";
|
|
289
|
-
const NEWS_HOST = "https://news.gitcode.com";
|
|
290
312
|
const AICopilot_ROUTE_NAME = "aiCopilot";
|
|
291
313
|
const HELP_DOCS_URL = "https://docs.gitcode.com";
|
|
292
314
|
const MENU_ITEM_ROUTE_NAME = ["home", "gStar", "trusted", "aiCopilot", "kanban", "contributed", "issues", "merge", "discussionCreated", "explore", "userFollowing", "userStars", "ai"];
|
|
@@ -1288,6 +1310,7 @@ function init(converter, defaultAttributes) {
|
|
|
1288
1310
|
);
|
|
1289
1311
|
}
|
|
1290
1312
|
var api = init(defaultConverter, { path: "/" });
|
|
1313
|
+
const layoutConfig$4 = useLayoutConfig();
|
|
1291
1314
|
function scrollToTop() {
|
|
1292
1315
|
const c = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
|
|
1293
1316
|
if (c > 0) {
|
|
@@ -1311,7 +1334,7 @@ function extractRepoInfoWithURL(repoUrl) {
|
|
|
1311
1334
|
return parts.join("/");
|
|
1312
1335
|
}
|
|
1313
1336
|
const isGstarRepo = (topics) => {
|
|
1314
|
-
const gstarTopicIds =
|
|
1337
|
+
const gstarTopicIds = layoutConfig$4.VITE_GSTAR_TOPIC.split(",");
|
|
1315
1338
|
let isGstar = false;
|
|
1316
1339
|
topics && topics.forEach((item) => {
|
|
1317
1340
|
if (gstarTopicIds.includes(item.topic_id || item.id)) {
|
|
@@ -1321,7 +1344,7 @@ const isGstarRepo = (topics) => {
|
|
|
1321
1344
|
return isGstar;
|
|
1322
1345
|
};
|
|
1323
1346
|
const isTrustedRepo = (topics) => {
|
|
1324
|
-
const trustedTopicIds =
|
|
1347
|
+
const trustedTopicIds = layoutConfig$4.VITE_TRUSTED_TOPIC.split(",");
|
|
1325
1348
|
let isTrusted = false;
|
|
1326
1349
|
topics && topics.forEach((item) => {
|
|
1327
1350
|
if (trustedTopicIds.includes(item.topic_id || item.id)) {
|
|
@@ -1330,7 +1353,7 @@ const isTrustedRepo = (topics) => {
|
|
|
1330
1353
|
});
|
|
1331
1354
|
return isTrusted;
|
|
1332
1355
|
};
|
|
1333
|
-
const INCUBATION_TOPICS = "
|
|
1356
|
+
const INCUBATION_TOPICS = layoutConfig$4.VITE_INCUBATION_TOPIC || "";
|
|
1334
1357
|
const isIncubationRepo = (topics = []) => {
|
|
1335
1358
|
if (!topics)
|
|
1336
1359
|
return false;
|
|
@@ -1374,7 +1397,7 @@ const getLastTimeRepoId = () => {
|
|
|
1374
1397
|
};
|
|
1375
1398
|
const setUtmSourceSign = (utm_source) => {
|
|
1376
1399
|
const time = new Date((/* @__PURE__ */ new Date()).getTime() + 60 * 60 * 1e3);
|
|
1377
|
-
return api.set("utm_source_sign", utm_source, { expires: time, domain:
|
|
1400
|
+
return api.set("utm_source_sign", utm_source, { expires: time, domain: layoutConfig$4.VITE_COOKIE_DOMAIN });
|
|
1378
1401
|
};
|
|
1379
1402
|
const getUtmSourceSign = () => {
|
|
1380
1403
|
return api.get("utm_source_sign") || "";
|
|
@@ -1539,6 +1562,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
1539
1562
|
},
|
|
1540
1563
|
emits: ["toggle-growth-center"],
|
|
1541
1564
|
setup(__props, { emit: __emit }) {
|
|
1565
|
+
const layoutConfig2 = useLayoutConfig();
|
|
1542
1566
|
const { t: t2 } = useI18n();
|
|
1543
1567
|
const props = __props;
|
|
1544
1568
|
provide("globalStore", computed(() => props.globalStore));
|
|
@@ -1638,7 +1662,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
1638
1662
|
if (closeActive && closeActive === "1" && closeDate === nowDate) {
|
|
1639
1663
|
return false;
|
|
1640
1664
|
}
|
|
1641
|
-
const adLink = "
|
|
1665
|
+
const adLink = layoutConfig2.VITE_AD_LINK + "?timestamp=" + (/* @__PURE__ */ new Date()).getTime();
|
|
1642
1666
|
const response = await fetch(adLink);
|
|
1643
1667
|
activeAdJson.value = await response.json();
|
|
1644
1668
|
};
|
|
@@ -1935,9 +1959,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
1935
1959
|
};
|
|
1936
1960
|
}
|
|
1937
1961
|
});
|
|
1938
|
-
const
|
|
1962
|
+
const index_vue_vue_type_style_index_0_scoped_0c66acaa_lang = "";
|
|
1939
1963
|
const index_vue_vue_type_style_index_1_lang$3 = "";
|
|
1940
|
-
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
1964
|
+
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0c66acaa"]]);
|
|
1941
1965
|
const { width } = useWindowSize();
|
|
1942
1966
|
const usePageResize = () => {
|
|
1943
1967
|
const widthConfig = {
|
|
@@ -2704,10 +2728,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
2704
2728
|
}
|
|
2705
2729
|
});
|
|
2706
2730
|
const index_vue_vue_type_style_index_0_lang$1 = "";
|
|
2731
|
+
const layoutConfig$3 = useLayoutConfig();
|
|
2707
2732
|
const transWebUrl = (url, params) => {
|
|
2708
2733
|
if (!url)
|
|
2709
2734
|
return url;
|
|
2710
2735
|
let processedUrl = url;
|
|
2736
|
+
if (layoutConfig$3.VITE_ENV !== "production") {
|
|
2737
|
+
const regex = /^(?:https?:\/\/)?(?:www\.)?([^\/]+)(\/.*)$/;
|
|
2738
|
+
const match = url.match(regex);
|
|
2739
|
+
processedUrl = match ? match[2] : url || "/";
|
|
2740
|
+
}
|
|
2711
2741
|
if (!params)
|
|
2712
2742
|
return processedUrl;
|
|
2713
2743
|
const separator = processedUrl.includes("?") ? "&" : "?";
|
|
@@ -3152,6 +3182,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3152
3182
|
},
|
|
3153
3183
|
emits: ["onSelect"],
|
|
3154
3184
|
setup(__props, { emit: __emit }) {
|
|
3185
|
+
const layoutConfig2 = useLayoutConfig();
|
|
3186
|
+
const AI_HOST = layoutConfig2.VITE_AI_HOST;
|
|
3187
|
+
const NEWS_HOST = layoutConfig2.VITE_NEWS_HOST;
|
|
3155
3188
|
const router2 = useRouter();
|
|
3156
3189
|
const route = useRoute();
|
|
3157
3190
|
const { t: t2, locale: locale2 } = useI18n();
|
|
@@ -3201,7 +3234,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3201
3234
|
icon: "gt-line-home-2",
|
|
3202
3235
|
activeIcon: "gt-plane-home-2",
|
|
3203
3236
|
label: t2("gitCodeLayout.header.home"),
|
|
3204
|
-
host:
|
|
3237
|
+
host: layoutConfig2.VITE_HOST,
|
|
3205
3238
|
// 跳转的域名
|
|
3206
3239
|
route: { name: "home", microApp: HOMEWEB_APP_NAME }
|
|
3207
3240
|
// 跳转的路径
|
|
@@ -3211,7 +3244,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3211
3244
|
icon: "gt-line-issues",
|
|
3212
3245
|
activeIcon: "gt-plane-issues-2",
|
|
3213
3246
|
label: "Issues",
|
|
3214
|
-
host:
|
|
3247
|
+
host: layoutConfig2.VITE_HOST,
|
|
3215
3248
|
route: { name: "issues", login: true }
|
|
3216
3249
|
},
|
|
3217
3250
|
{
|
|
@@ -3219,7 +3252,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3219
3252
|
icon: "gt-line-pullRequest",
|
|
3220
3253
|
activeIcon: "gt-plane-pullRequest-2",
|
|
3221
3254
|
label: props.asideSetShowLittle ? "PR" : "Pull Requests",
|
|
3222
|
-
host:
|
|
3255
|
+
host: layoutConfig2.VITE_HOST,
|
|
3223
3256
|
route: { name: "merge", login: true }
|
|
3224
3257
|
},
|
|
3225
3258
|
{
|
|
@@ -3227,7 +3260,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3227
3260
|
icon: "gt-line-table",
|
|
3228
3261
|
activeIcon: "gt-plane-table-2",
|
|
3229
3262
|
label: t2("gitCodeLayout.org.board"),
|
|
3230
|
-
host:
|
|
3263
|
+
host: layoutConfig2.VITE_HOST,
|
|
3231
3264
|
// 跳转的域名
|
|
3232
3265
|
route: { name: "kanban", login: true },
|
|
3233
3266
|
// 跳转的路径
|
|
@@ -3238,7 +3271,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3238
3271
|
icon: "gt-line-discussions",
|
|
3239
3272
|
activeIcon: "gt-plane-discussions-2",
|
|
3240
3273
|
label: t2("gitCodeLayout.repo.pr.discussion"),
|
|
3241
|
-
host:
|
|
3274
|
+
host: layoutConfig2.VITE_HOST,
|
|
3242
3275
|
route: { name: "discussionCreated", login: true }
|
|
3243
3276
|
}
|
|
3244
3277
|
// {
|
|
@@ -3247,7 +3280,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3247
3280
|
// icon: 'gt-a-watchshuxing1guan5',
|
|
3248
3281
|
// activeIcon: 'gt-a-watchshuxing1kai8',
|
|
3249
3282
|
// label: t('gitCodeLayout.home.focusOn'),
|
|
3250
|
-
// host:
|
|
3283
|
+
// host: layoutConfig.VITE_HOST,
|
|
3251
3284
|
// route: { name: 'userFollowing', microApp: 'user-center', params: { namespace: username }, login: true }
|
|
3252
3285
|
// },
|
|
3253
3286
|
// {
|
|
@@ -3256,7 +3289,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3256
3289
|
// icon: 'gt-a-Star_Navigation_Defaults_16px1',
|
|
3257
3290
|
// activeIcon: 'gt-a-Star_Navigation_Select_16px1',
|
|
3258
3291
|
// label: t('gitCodeLayout.home.star'),
|
|
3259
|
-
// host:
|
|
3292
|
+
// host: layoutConfig.VITE_HOST,
|
|
3260
3293
|
// route: { name: 'userStars', microApp: 'user-center', params: { namespace: username }, login: true }
|
|
3261
3294
|
// }
|
|
3262
3295
|
];
|
|
@@ -3273,8 +3306,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3273
3306
|
activeIcon: "gt-plane-GitCodeAI",
|
|
3274
3307
|
label: props.asideSetShowLittle ? "AI" : "GitCode AI",
|
|
3275
3308
|
openBlank: true,
|
|
3276
|
-
host:
|
|
3277
|
-
href: `${
|
|
3309
|
+
host: layoutConfig2.VITE_HOST,
|
|
3310
|
+
href: `${layoutConfig2.VITE_HOST}/ai?utm_source=sidebar`
|
|
3278
3311
|
},
|
|
3279
3312
|
/* {
|
|
3280
3313
|
key: 'ai',
|
|
@@ -3291,7 +3324,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3291
3324
|
icon: 'gt-plane-GStar',
|
|
3292
3325
|
activeIcon: 'gt-plane-GStar-red',
|
|
3293
3326
|
label: 'G-Star',
|
|
3294
|
-
host:
|
|
3327
|
+
host: layoutConfig.VITE_HOST,
|
|
3295
3328
|
route: { name: 'gStar', microApp: HOMEWEB_APP_NAME }
|
|
3296
3329
|
}, */
|
|
3297
3330
|
{
|
|
@@ -3317,7 +3350,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3317
3350
|
icon: 'gt-a-Property1Default5',
|
|
3318
3351
|
activeIcon: 'gt-a-Property1red5',
|
|
3319
3352
|
label: asideSetShowLittle ? t('gitCodeLayout.trusted.shortName') : t('gitCodeLayout.trusted.menu'),
|
|
3320
|
-
host:
|
|
3353
|
+
host: layoutConfig.VITE_HOST,
|
|
3321
3354
|
route: { name: 'trusted', microApp: HOMEWEB_APP_NAME }
|
|
3322
3355
|
} */
|
|
3323
3356
|
];
|
|
@@ -3675,9 +3708,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3675
3708
|
};
|
|
3676
3709
|
}
|
|
3677
3710
|
});
|
|
3678
|
-
const
|
|
3711
|
+
const asideContent_vue_vue_type_style_index_0_scoped_2ad08b34_lang = "";
|
|
3679
3712
|
const asideContent_vue_vue_type_style_index_1_lang = "";
|
|
3680
|
-
const AsideContent = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
3713
|
+
const AsideContent = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-2ad08b34"]]);
|
|
3681
3714
|
const _hoisted_1$l = { class: "p-[16px] flex justify-between items-center h-[60px]" };
|
|
3682
3715
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
3683
3716
|
__name: "index",
|
|
@@ -5841,6 +5874,7 @@ var encUtf8 = { exports: {} };
|
|
|
5841
5874
|
})(encUtf8);
|
|
5842
5875
|
var encUtf8Exports = encUtf8.exports;
|
|
5843
5876
|
const Utf8 = /* @__PURE__ */ getDefaultExportFromCjs(encUtf8Exports);
|
|
5877
|
+
const layoutConfig$2 = useLayoutConfig();
|
|
5844
5878
|
function headRequest(request) {
|
|
5845
5879
|
return {
|
|
5846
5880
|
// 获取用户是否可以创建组织 checkUserCreateOrg
|
|
@@ -6065,8 +6099,8 @@ function headRequest(request) {
|
|
|
6065
6099
|
},
|
|
6066
6100
|
// 密码登录
|
|
6067
6101
|
toLogin(data) {
|
|
6068
|
-
const key = Utf8.parse(
|
|
6069
|
-
const iv = Utf8.parse(
|
|
6102
|
+
const key = Utf8.parse(layoutConfig$2.VITE_SECRET_KEY);
|
|
6103
|
+
const iv = Utf8.parse(layoutConfig$2.VITE_SECRET_IV);
|
|
6070
6104
|
const cryptoCode = AES.encrypt(data.password, key, {
|
|
6071
6105
|
iv,
|
|
6072
6106
|
padding: Pkcs7
|
|
@@ -6183,6 +6217,8 @@ const _hoisted_7$5 = { class: "flex items-center min-w-[90px] gap-[8px] font-sem
|
|
|
6183
6217
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
6184
6218
|
__name: "AiHubMenus",
|
|
6185
6219
|
setup(__props) {
|
|
6220
|
+
const layoutConfig2 = useLayoutConfig();
|
|
6221
|
+
const AI_HOST = layoutConfig2.VITE_AI_HOST;
|
|
6186
6222
|
const { t: t2 } = useI18n();
|
|
6187
6223
|
const API = headRequest(inject("request"));
|
|
6188
6224
|
const repoInfo = inject("repoInfo");
|
|
@@ -6341,9 +6377,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
6341
6377
|
};
|
|
6342
6378
|
}
|
|
6343
6379
|
});
|
|
6344
|
-
const
|
|
6380
|
+
const AiHubMenus_vue_vue_type_style_index_0_scoped_369af3b6_lang = "";
|
|
6345
6381
|
const AiHubMenus_vue_vue_type_style_index_1_lang = "";
|
|
6346
|
-
const AiHubMenus = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
6382
|
+
const AiHubMenus = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-369af3b6"]]);
|
|
6347
6383
|
const _hoisted_1$j = ["src"];
|
|
6348
6384
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
6349
6385
|
...{ name: "FlashTag" },
|
|
@@ -8258,6 +8294,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
8258
8294
|
},
|
|
8259
8295
|
emits: ["followDevCommunity", "followUser"],
|
|
8260
8296
|
setup(__props, { emit: __emit }) {
|
|
8297
|
+
const layoutConfig2 = useLayoutConfig();
|
|
8298
|
+
const AI_HOST = layoutConfig2.VITE_AI_HOST;
|
|
8261
8299
|
const breadcrumb = useBreadcrumb();
|
|
8262
8300
|
console.log("breadcrumb", breadcrumb);
|
|
8263
8301
|
const breadcrumbRef = ref(null);
|
|
@@ -8320,7 +8358,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
8320
8358
|
return;
|
|
8321
8359
|
if (!topicTag.value)
|
|
8322
8360
|
return;
|
|
8323
|
-
const aiUrl = `${
|
|
8361
|
+
const aiUrl = `${AI_HOST}${topicTag.value.linkUrl}`;
|
|
8324
8362
|
location.href = aiUrl;
|
|
8325
8363
|
};
|
|
8326
8364
|
const showTimeTopic = computed(() => {
|
|
@@ -8589,9 +8627,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
8589
8627
|
};
|
|
8590
8628
|
}
|
|
8591
8629
|
});
|
|
8592
|
-
const
|
|
8630
|
+
const HeaderCustom_vue_vue_type_style_index_0_scoped_fe3d30e3_lang = "";
|
|
8593
8631
|
const HeaderCustom_vue_vue_type_style_index_1_lang = "";
|
|
8594
|
-
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
8632
|
+
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-fe3d30e3"]]);
|
|
8595
8633
|
const logo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANgAAAAkCAYAAADrcPSPAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA8USURBVHgB7V1NbCRHFX6vemx+DmQWIgJc0j5kQ4RQvGeUeHyE2LteEJwixY4EydomthGIG7YvKEIRa7P2ZgEpHitXBLP2rpAipJ1NDjnaOUE2SG6iiEuQcASbLJ7pKt6r7p6p7unf8exidvuT2jPTXf26+lW9V6++et0GKFGixF0DQh84sGvVFsAUgnxSAtq0a9QQ6CiAQzp2dQis5ojTdKBEiQcUhQzsll2bBlDP0VbLfxY2AeT2aeetOpQo8YAhl4G9a9dotFIXybBs6B80somlx51mA0qUeECQamAcCrZBbSlQUzA4rJ123lyCe4SpRVWFdjeEBQmHjcu4DyXuK5ydd1eUwuXODiFndi9V6vA/hkg6QMZlt0DtDdi4GIvv2mN/gHuENhmXq9SNYFMoF6BEiXuEWAPzjevGMUPCRFC4OfWeXatBiRL3OXoMzGMIB2Fc2CRDSgwFFbg2lChxn6PHwNogl+OMCwGJnEAHUkATukOPNVQzp52b4xWw6sllLQdKlLjPUTF/EA0/qkAuxhVsAy49QWtaHNrROpft794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ea9lFWUYY8ofu85xiJ2svGs/zSPZMuSEMt7VQd6vqnI+28Pv+XjMudl3su79intlYCXuPmJTpXhE4ZEFcsJM7M1rXHTWfmWArw4oUeIkIjEXsaiRFQPuDwGO97OAXaLE/xNSk329uZGgUWagsen6aefmmdK4SjwIyLVg9GdiDi3vdW7HeO00v4gUV0/q69pKlLgbyL8iC4GhcdZDvn9hpN9JAUA0umiUhlXiQUQhA4uC17eCLHl+aNMTKGgdRb8scr/853slSpQoUeKu4b/VMDt15riwZwAAAABJRU5ErkJggg==";
|
|
8596
8634
|
const _hoisted_1$h = ["src"];
|
|
8597
8635
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
@@ -8600,8 +8638,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8600
8638
|
},
|
|
8601
8639
|
__name: "ChatBot",
|
|
8602
8640
|
setup(__props) {
|
|
8641
|
+
const layoutConfig2 = useLayoutConfig();
|
|
8603
8642
|
function goPage() {
|
|
8604
|
-
window.open(`${
|
|
8643
|
+
window.open(`${layoutConfig2.VITE_HOST}/ai?utm_source=toolbar`);
|
|
8605
8644
|
}
|
|
8606
8645
|
return (_ctx, _cache) => {
|
|
8607
8646
|
return openBlock(), createElementBlock("div", {
|
|
@@ -8617,8 +8656,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8617
8656
|
};
|
|
8618
8657
|
}
|
|
8619
8658
|
});
|
|
8620
|
-
const
|
|
8621
|
-
const ChatBot = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
8659
|
+
const ChatBot_vue_vue_type_style_index_0_scoped_e951add8_lang = "";
|
|
8660
|
+
const ChatBot = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-e951add8"]]);
|
|
8622
8661
|
const _hoisted_1$g = { class: "devui-select__item g-option-link" };
|
|
8623
8662
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
8624
8663
|
...{
|
|
@@ -9385,7 +9424,7 @@ const $i18n = setupI18n({
|
|
|
9385
9424
|
}
|
|
9386
9425
|
});
|
|
9387
9426
|
const i18n = $i18n;
|
|
9388
|
-
const
|
|
9427
|
+
const index_vue_vue_type_style_index_0_scoped_4bd4e5e2_lang = "";
|
|
9389
9428
|
const _sfc_main$k = /* @__PURE__ */ Object.assign({
|
|
9390
9429
|
name: "Create"
|
|
9391
9430
|
}, {
|
|
@@ -9397,6 +9436,7 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign({
|
|
|
9397
9436
|
}
|
|
9398
9437
|
},
|
|
9399
9438
|
setup(__props) {
|
|
9439
|
+
const layoutConfig2 = useLayoutConfig();
|
|
9400
9440
|
const API = headRequest(inject("request"));
|
|
9401
9441
|
const getUserCreateOrg = async (user) => {
|
|
9402
9442
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -9412,8 +9452,8 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign({
|
|
|
9412
9452
|
};
|
|
9413
9453
|
const { t: $t } = i18n.global;
|
|
9414
9454
|
const linkList = ref([
|
|
9415
|
-
{ label: $t("gitCodeLayout.header.createRepo"), href: `${
|
|
9416
|
-
{ label: $t("gitCodeLayout.header.importRepo"), href: `${
|
|
9455
|
+
{ label: $t("gitCodeLayout.header.createRepo"), href: `${layoutConfig2.VITE_HOST}/create?position=nav_top` },
|
|
9456
|
+
{ label: $t("gitCodeLayout.header.importRepo"), href: `${layoutConfig2.VITE_HOST}/migrate?type=3` },
|
|
9417
9457
|
{ label: $t("gitCodeLayout.header.createOrg"), linkName: "newOrg" }
|
|
9418
9458
|
]);
|
|
9419
9459
|
useRoute();
|
|
@@ -9426,10 +9466,10 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign({
|
|
|
9426
9466
|
Message.warning($t("gitCodeLayout.userSetting.tips.youCanCreOrManUp", { num: 5 }));
|
|
9427
9467
|
return;
|
|
9428
9468
|
} else {
|
|
9429
|
-
window.location.href = `${
|
|
9469
|
+
window.location.href = `${layoutConfig2.VITE_HOST}/org/create`;
|
|
9430
9470
|
}
|
|
9431
9471
|
}
|
|
9432
|
-
if (window.location.href.includes("create") && linkItem.href === `${
|
|
9472
|
+
if (window.location.href.includes("create") && linkItem.href === `${layoutConfig2.VITE_HOST}/create?position=nav_top`) {
|
|
9433
9473
|
window.location.reload();
|
|
9434
9474
|
event.stopPropagation();
|
|
9435
9475
|
}
|
|
@@ -9476,7 +9516,7 @@ const _sfc_main$k = /* @__PURE__ */ Object.assign({
|
|
|
9476
9516
|
};
|
|
9477
9517
|
}
|
|
9478
9518
|
});
|
|
9479
|
-
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
9519
|
+
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-4bd4e5e2"]]);
|
|
9480
9520
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
9481
9521
|
...{
|
|
9482
9522
|
name: "DocumentCenter"
|
|
@@ -9646,6 +9686,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9646
9686
|
},
|
|
9647
9687
|
__name: "Notice",
|
|
9648
9688
|
setup(__props) {
|
|
9689
|
+
const layoutConfig2 = useLayoutConfig();
|
|
9649
9690
|
const API = headRequest(inject("request"));
|
|
9650
9691
|
const counts = ref(0);
|
|
9651
9692
|
const getCounts = () => {
|
|
@@ -9674,7 +9715,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9674
9715
|
});
|
|
9675
9716
|
return (_ctx, _cache) => {
|
|
9676
9717
|
return openBlock(), createBlock(GLink, {
|
|
9677
|
-
href: `${unref(
|
|
9718
|
+
href: `${unref(layoutConfig2).VITE_HOST}/notice?message_sate=countNotRead`
|
|
9678
9719
|
}, {
|
|
9679
9720
|
default: withCtx(() => [
|
|
9680
9721
|
createVNode(unref(Badge), {
|
|
@@ -9699,8 +9740,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9699
9740
|
};
|
|
9700
9741
|
}
|
|
9701
9742
|
});
|
|
9702
|
-
const
|
|
9703
|
-
const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
9743
|
+
const Notice_vue_vue_type_style_index_0_scoped_061b58d4_lang = "";
|
|
9744
|
+
const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-061b58d4"]]);
|
|
9704
9745
|
const UserLevel_vue_vue_type_style_index_0_scoped_decf23ff_lang = "";
|
|
9705
9746
|
const _hoisted_1$f = {
|
|
9706
9747
|
key: 0,
|
|
@@ -9798,6 +9839,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
9798
9839
|
__name: "UserAvatarMenu",
|
|
9799
9840
|
props: ["isChatBot", "accountInfo", "loginOutFinish", "inAIHub"],
|
|
9800
9841
|
setup(__props) {
|
|
9842
|
+
const layoutConfig2 = useLayoutConfig();
|
|
9801
9843
|
const API = headRequest(inject("request"));
|
|
9802
9844
|
const repoInfo = inject("repoInfo");
|
|
9803
9845
|
const orgInfo = inject("orgInfo");
|
|
@@ -9890,7 +9932,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
9890
9932
|
return openBlock(), createElementBlock("div", null, [
|
|
9891
9933
|
createVNode(GLink, {
|
|
9892
9934
|
class: "g-user-drawer-info pl-[32px] pr-[16px] cursor-pointer",
|
|
9893
|
-
href: `${unref(
|
|
9935
|
+
href: `${unref(layoutConfig2).VITE_HOST}/${__props.accountInfo.username}`,
|
|
9894
9936
|
key: "myPage",
|
|
9895
9937
|
target: __props.isChatBot ? "_blank" : ""
|
|
9896
9938
|
}, {
|
|
@@ -9987,8 +10029,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
9987
10029
|
};
|
|
9988
10030
|
}
|
|
9989
10031
|
});
|
|
9990
|
-
const
|
|
9991
|
-
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
10032
|
+
const UserAvatarMenu_vue_vue_type_style_index_0_scoped_488040dd_lang = "";
|
|
10033
|
+
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-488040dd"]]);
|
|
9992
10034
|
const _hoisted_1$d = { class: "g-user-avatar flex-center ml-1" };
|
|
9993
10035
|
const _hoisted_2$a = {
|
|
9994
10036
|
key: 0,
|
|
@@ -10258,13 +10300,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
10258
10300
|
setup(__props) {
|
|
10259
10301
|
var _a;
|
|
10260
10302
|
const { t: $t } = i18n.global;
|
|
10261
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
10262
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
10263
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
10264
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
10265
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
10266
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
10267
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
10303
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-2735465f.js"));
|
|
10304
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-c2065a9a.js"));
|
|
10305
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-17e77b1e.js"));
|
|
10306
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-df38eb3e.js"));
|
|
10307
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-f8827003.js"));
|
|
10308
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-6487df83.js"));
|
|
10309
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-30ce741b.js"));
|
|
10268
10310
|
const props = __props;
|
|
10269
10311
|
const repoInfo = inject("repoInfo");
|
|
10270
10312
|
const orgInfo = inject("orgInfo");
|
|
@@ -10288,7 +10330,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
10288
10330
|
}
|
|
10289
10331
|
});
|
|
10290
10332
|
const showRecommend = computed(() => {
|
|
10291
|
-
return props.sceneValue === SceneValue.home;
|
|
10333
|
+
return props.sceneValue === SceneValue.home || props.sceneValue === SceneValue.repo;
|
|
10292
10334
|
});
|
|
10293
10335
|
const isFocus = ref(false);
|
|
10294
10336
|
const searchDropDownVisible = ref(false);
|
|
@@ -10664,85 +10706,90 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
10664
10706
|
])
|
|
10665
10707
|
]),
|
|
10666
10708
|
default: withCtx(() => [
|
|
10667
|
-
(
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
isFocus.value ? (openBlock(), createElementBlock("div", {
|
|
10721
|
-
key: 0,
|
|
10722
|
-
class: "g-header-search-suffix",
|
|
10723
|
-
onClick: onSearch
|
|
10724
|
-
}, [
|
|
10725
|
-
withDirectives(createVNode(Icon, {
|
|
10726
|
-
name: "gt-line-close",
|
|
10727
|
-
class: "g-header-search-suffix-close",
|
|
10728
|
-
onClick: withModifiers(onClearSearch, ["stop"])
|
|
10729
|
-
}, null, 512), [
|
|
10730
|
-
[vShow, searchStr.value]
|
|
10709
|
+
createVNode(unref(Form), null, {
|
|
10710
|
+
default: withCtx(() => [
|
|
10711
|
+
(openBlock(), createBlock(unref(Input), {
|
|
10712
|
+
key: _ctx.$route.fullPath,
|
|
10713
|
+
id: "golbalSearch",
|
|
10714
|
+
class: "g-header-search custom-h-searchinput",
|
|
10715
|
+
modelValue: searchStr.value,
|
|
10716
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchStr.value = $event),
|
|
10717
|
+
modelModifiers: { trim: true },
|
|
10718
|
+
onKeydown: [
|
|
10719
|
+
withKeys(onSearchBefore, ["enter"]),
|
|
10720
|
+
_cache[1] || (_cache[1] = withKeys(($event) => changeHoverIndex("del"), ["up"])),
|
|
10721
|
+
_cache[2] || (_cache[2] = withKeys(($event) => changeHoverIndex("add"), ["down"])),
|
|
10722
|
+
withKeys(onBackspaceHandle, ["backspace"])
|
|
10723
|
+
],
|
|
10724
|
+
onFocus,
|
|
10725
|
+
onCompositionstart: _cache[3] || (_cache[3] = ($event) => inputIng.value = true),
|
|
10726
|
+
onCompositionend: _cache[4] || (_cache[4] = ($event) => inputIng.value = false),
|
|
10727
|
+
autocomplete: "off",
|
|
10728
|
+
ref_key: "inputRef",
|
|
10729
|
+
ref: inputRef
|
|
10730
|
+
}, {
|
|
10731
|
+
prefix: withCtx(() => [
|
|
10732
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
10733
|
+
createVNode(Icon, {
|
|
10734
|
+
name: "gt-search",
|
|
10735
|
+
class: "g-header-search-icon",
|
|
10736
|
+
onClick: onInputClick
|
|
10737
|
+
})
|
|
10738
|
+
]),
|
|
10739
|
+
withDirectives(createElementVNode("span", {
|
|
10740
|
+
class: "quick-tips",
|
|
10741
|
+
innerHTML: unref(quickTips),
|
|
10742
|
+
onClick: onInputClick
|
|
10743
|
+
}, null, 8, _hoisted_2$9), [
|
|
10744
|
+
[vShow, placeholderVisible.value]
|
|
10745
|
+
]),
|
|
10746
|
+
withDirectives(createVNode(unref(SearchPrefixTag), {
|
|
10747
|
+
tag: cnScopeMap[localSearchInfo.value.searchScope] + ":" + localSearchInfo.value.searchScopeName,
|
|
10748
|
+
closeVisible: isFocus.value,
|
|
10749
|
+
onInputClick,
|
|
10750
|
+
onCloseTag
|
|
10751
|
+
}, null, 8, ["tag", "closeVisible"]), [
|
|
10752
|
+
[vShow, projectTagVisible.value]
|
|
10753
|
+
]),
|
|
10754
|
+
withDirectives(createVNode(unref(SearchPrefixTag), {
|
|
10755
|
+
tag: unref($t)("gitCodeLayout.header.language") + ":" + language.value,
|
|
10756
|
+
closeVisible: isFocus.value,
|
|
10757
|
+
onInputClick,
|
|
10758
|
+
onCloseTag: onCloseLanguageTag
|
|
10759
|
+
}, null, 8, ["tag", "closeVisible"]), [
|
|
10760
|
+
[vShow, languageTagVisible.value]
|
|
10761
|
+
])
|
|
10731
10762
|
]),
|
|
10732
|
-
|
|
10733
|
-
|
|
10763
|
+
suffix: withCtx(() => [
|
|
10764
|
+
isFocus.value ? (openBlock(), createElementBlock("div", {
|
|
10765
|
+
key: 0,
|
|
10766
|
+
class: "g-header-search-suffix",
|
|
10767
|
+
onClick: onSearch
|
|
10768
|
+
}, [
|
|
10769
|
+
withDirectives(createVNode(Icon, {
|
|
10770
|
+
name: "gt-line-close",
|
|
10771
|
+
class: "g-header-search-suffix-close",
|
|
10772
|
+
onClick: withModifiers(onClearSearch, ["stop"])
|
|
10773
|
+
}, null, 512), [
|
|
10774
|
+
[vShow, searchStr.value]
|
|
10775
|
+
]),
|
|
10776
|
+
withDirectives(createElementVNode("span", _hoisted_3$6, "|", 512), [
|
|
10777
|
+
[vShow, searchStr.value]
|
|
10778
|
+
]),
|
|
10779
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
10780
|
+
createVNode(Icon, {
|
|
10781
|
+
name: "search",
|
|
10782
|
+
class: "g-header-search-icon",
|
|
10783
|
+
color: "#fff"
|
|
10784
|
+
})
|
|
10785
|
+
])
|
|
10786
|
+
])) : createCommentVNode("", true)
|
|
10734
10787
|
]),
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
name: "search",
|
|
10738
|
-
class: "g-header-search-icon",
|
|
10739
|
-
color: "#fff"
|
|
10740
|
-
})
|
|
10741
|
-
])
|
|
10742
|
-
])) : createCommentVNode("", true)
|
|
10788
|
+
_: 1
|
|
10789
|
+
}, 8, ["modelValue"]))
|
|
10743
10790
|
]),
|
|
10744
10791
|
_: 1
|
|
10745
|
-
}
|
|
10792
|
+
})
|
|
10746
10793
|
]),
|
|
10747
10794
|
_: 1
|
|
10748
10795
|
}, 8, ["visible"])
|
|
@@ -10767,9 +10814,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
10767
10814
|
};
|
|
10768
10815
|
}
|
|
10769
10816
|
});
|
|
10770
|
-
const
|
|
10817
|
+
const index_vue_vue_type_style_index_0_scoped_ac54e615_lang = "";
|
|
10771
10818
|
const index_vue_vue_type_style_index_1_lang$1 = "";
|
|
10772
|
-
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
10819
|
+
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-ac54e615"]]);
|
|
10773
10820
|
function usePopup(className, rootElement) {
|
|
10774
10821
|
const root2 = rootElement || document.getElementById("app");
|
|
10775
10822
|
let cacheClass = "popup-container";
|
|
@@ -13177,13 +13224,13 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
13177
13224
|
HttpStatusCode[value] = key;
|
|
13178
13225
|
});
|
|
13179
13226
|
const HttpStatusCode$1 = HttpStatusCode;
|
|
13180
|
-
function createInstance(
|
|
13181
|
-
const context = new Axios$1(
|
|
13227
|
+
function createInstance(defaultConfig2) {
|
|
13228
|
+
const context = new Axios$1(defaultConfig2);
|
|
13182
13229
|
const instance = bind(Axios$1.prototype.request, context);
|
|
13183
13230
|
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
13184
13231
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
13185
13232
|
instance.create = function create2(instanceConfig) {
|
|
13186
|
-
return createInstance(mergeConfig(
|
|
13233
|
+
return createInstance(mergeConfig(defaultConfig2, instanceConfig));
|
|
13187
13234
|
};
|
|
13188
13235
|
return instance;
|
|
13189
13236
|
}
|
|
@@ -13304,6 +13351,7 @@ const getCommonHeadInfo = (isAiHub) => {
|
|
|
13304
13351
|
"X-Device-ID": "unknown"
|
|
13305
13352
|
};
|
|
13306
13353
|
};
|
|
13354
|
+
const layoutConfig$1 = useLayoutConfig();
|
|
13307
13355
|
const setPassportPrefix = (url, method) => {
|
|
13308
13356
|
const prefix = "/uc";
|
|
13309
13357
|
{
|
|
@@ -13325,7 +13373,7 @@ const setPassportPrefix = (url, method) => {
|
|
|
13325
13373
|
}
|
|
13326
13374
|
return url;
|
|
13327
13375
|
};
|
|
13328
|
-
const baseURL =
|
|
13376
|
+
const baseURL = layoutConfig$1.VITE_API_HOST;
|
|
13329
13377
|
const proxyService = (params, customConfigs) => {
|
|
13330
13378
|
const baseUrl = baseURL;
|
|
13331
13379
|
const service = axios$1.create({
|
|
@@ -13376,7 +13424,6 @@ const proxyService = (params, customConfigs) => {
|
|
|
13376
13424
|
);
|
|
13377
13425
|
return service(params);
|
|
13378
13426
|
};
|
|
13379
|
-
const devuiIcon = "";
|
|
13380
13427
|
const repoInfoData = {
|
|
13381
13428
|
"star_count": 0,
|
|
13382
13429
|
"forks_count": 0,
|
|
@@ -13890,6 +13937,20 @@ const _hoisted_4$4 = { class: "home-main" };
|
|
|
13890
13937
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
13891
13938
|
__name: "home",
|
|
13892
13939
|
setup(__props) {
|
|
13940
|
+
setLayoutConfig({
|
|
13941
|
+
VITE_ENV: "development",
|
|
13942
|
+
VITE_HOST: "https://test.gitcode.net",
|
|
13943
|
+
VITE_API_HOST: "https://test.gitcode.net",
|
|
13944
|
+
VITE_AD_LINK: "https://cdn-static.gitcode.com/adList/test-active.json",
|
|
13945
|
+
VITE_NEWS_HOST: "https://test-news.gitcode.net",
|
|
13946
|
+
VITE_AI_HOST: "https://test-ai.gitcode.net",
|
|
13947
|
+
VITE_INCUBATION_TOPIC: "6653f7a191a72b11f2478e93",
|
|
13948
|
+
VITE_GSTAR_TOPIC: "6653f80e91a72b11f2478e99",
|
|
13949
|
+
VITE_TRUSTED_TOPIC: "6715c49554670a12f26fb08d",
|
|
13950
|
+
VITE_SEARCH_REPO_CHANNEL_ID: "67b45f4dbfd0c85476fd8b84",
|
|
13951
|
+
VITE_SECRET_KEY: "SA!nUNPZ5o!OSV&B",
|
|
13952
|
+
VITE_SECRET_IV: "SA!nwwwZ5o!OSV&B"
|
|
13953
|
+
});
|
|
13893
13954
|
const isLogin = ref(false);
|
|
13894
13955
|
const userInfo = ref({});
|
|
13895
13956
|
const repoInfo = ref({});
|
|
@@ -13911,9 +13972,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
13911
13972
|
localStorage.removeItem("xauth_token");
|
|
13912
13973
|
localStorage.removeItem("userInfo");
|
|
13913
13974
|
};
|
|
13914
|
-
const openHarmonyGuide = () => {
|
|
13915
|
-
alert("鸿蒙开发者登录,在这里登录不了");
|
|
13916
|
-
};
|
|
13917
13975
|
const sceneSelected = ref(SceneValue.home);
|
|
13918
13976
|
const directionRowList = ref(Object.values(SceneValue));
|
|
13919
13977
|
const handleSceneChange = (val) => {
|
|
@@ -13972,7 +14030,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
13972
14030
|
orgInfo: orgInfo.value,
|
|
13973
14031
|
otherUserInfo: otherUserInfo.value,
|
|
13974
14032
|
headerFunctions: [],
|
|
13975
|
-
openHarmonyGuide,
|
|
14033
|
+
openHarmonyGuide: true,
|
|
13976
14034
|
headerCustomProps: headerCustomProps.value,
|
|
13977
14035
|
onFollowDevCommunity: followDevCommunity,
|
|
13978
14036
|
onFollowUser: followUser
|
|
@@ -14113,8 +14171,9 @@ async function csdnloginCheck(route, loginCallback, request) {
|
|
|
14113
14171
|
}
|
|
14114
14172
|
return false;
|
|
14115
14173
|
}
|
|
14116
|
-
const
|
|
14117
|
-
const
|
|
14174
|
+
const layoutConfig = useLayoutConfig();
|
|
14175
|
+
const cookieDomain = layoutConfig.VITE_COOKIE_DOMAIN;
|
|
14176
|
+
const VITE_API_HOST = layoutConfig.VITE_API_HOST;
|
|
14118
14177
|
const { t: t$2 } = i18n.global;
|
|
14119
14178
|
const GRAPH_CODE = 400007;
|
|
14120
14179
|
const createLoginConfig = (request) => {
|
|
@@ -17989,7 +18048,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
17989
18048
|
const MFA_vue_vue_type_style_index_0_lang = "";
|
|
17990
18049
|
const MFA_vue_vue_type_style_index_1_scoped_3e0f827f_lang = "";
|
|
17991
18050
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3e0f827f"]]);
|
|
17992
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
18051
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-76454ee2.js"));
|
|
17993
18052
|
const useSlidCaptcha = () => {
|
|
17994
18053
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
17995
18054
|
const open = (config) => {
|
|
@@ -18188,10 +18247,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
18188
18247
|
triggerType: { default: "" },
|
|
18189
18248
|
route: {},
|
|
18190
18249
|
request: { default: () => Promise.resolve({ data: null }) },
|
|
18191
|
-
openHarmonyGuide: {},
|
|
18250
|
+
openHarmonyGuide: { type: Boolean },
|
|
18192
18251
|
loginSuccess: {}
|
|
18193
18252
|
},
|
|
18194
|
-
emits: ["update:modelValue", "login", "close", "link"],
|
|
18253
|
+
emits: ["update:modelValue", "login", "close", "link", "openHarmonyGuide"],
|
|
18195
18254
|
setup(__props, { emit: __emit }) {
|
|
18196
18255
|
const props = __props;
|
|
18197
18256
|
const request = props.request;
|
|
@@ -18993,7 +19052,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
18993
19052
|
formType.value = "register";
|
|
18994
19053
|
};
|
|
18995
19054
|
const handleRegisterHarmony = () => {
|
|
18996
|
-
|
|
19055
|
+
emits("openHarmonyGuide");
|
|
18997
19056
|
};
|
|
18998
19057
|
const handleBack = () => {
|
|
18999
19058
|
mfaCheck.value = false;
|
|
@@ -19339,9 +19398,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
19339
19398
|
};
|
|
19340
19399
|
}
|
|
19341
19400
|
});
|
|
19342
|
-
const
|
|
19401
|
+
const index_vue_vue_type_style_index_0_scoped_4c0b3116_lang = "";
|
|
19343
19402
|
const index_vue_vue_type_style_index_1_lang = "";
|
|
19344
|
-
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
19403
|
+
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-4c0b3116"]]);
|
|
19345
19404
|
const { t } = i18n.global;
|
|
19346
19405
|
function useLogin(request) {
|
|
19347
19406
|
const successMsg = t("gitCodeLayout.common.tips.welcome");
|
|
@@ -19420,7 +19479,7 @@ function useLogin(request) {
|
|
|
19420
19479
|
isMounted
|
|
19421
19480
|
};
|
|
19422
19481
|
}
|
|
19423
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
19482
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-868a1c83.js"));
|
|
19424
19483
|
function clearNotice() {
|
|
19425
19484
|
if (localStorage.getItem("validator_email")) {
|
|
19426
19485
|
localStorage.removeItem("validator_email");
|
|
@@ -19476,10 +19535,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19476
19535
|
userInfo: { default: () => ({}) },
|
|
19477
19536
|
headerFunctions: {},
|
|
19478
19537
|
headerCustomProps: {},
|
|
19479
|
-
openHarmonyGuide: {}
|
|
19538
|
+
openHarmonyGuide: { type: Boolean }
|
|
19480
19539
|
},
|
|
19481
19540
|
emits: ["followDevCommunity", "followUser"],
|
|
19482
19541
|
setup(__props, { emit: __emit }) {
|
|
19542
|
+
const layoutConfig2 = useLayoutConfig();
|
|
19543
|
+
const VITE_HOST = layoutConfig2.VITE_HOST;
|
|
19483
19544
|
const route = useRoute();
|
|
19484
19545
|
const props = __props;
|
|
19485
19546
|
const emit = __emit;
|
|
@@ -19574,7 +19635,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19574
19635
|
notice();
|
|
19575
19636
|
}
|
|
19576
19637
|
};
|
|
19577
|
-
const { VITE_HOST } = { "VITE_APP_TITLE": "新gitcode", "VITE_TEST_REPOID": "34", "VITE_SECRET_KEY": "SA!nUNPZ5o!OSV&B", "VITE_SECRET_IV": "SA!nwwwZ5o!OSV&B", "VITE_PASSPORT_PREFIX": "/uc", "VITE_ENV": "production", "VITE_HOST": "https://gitcode.com", "VITE_API_HOST": "https://web-api.gitcode.com", "VITE_AD_LINK": "https://cdn-static.gitcode.com/adList/active.json", "VITE_NEWS_HOST": "https://news.gitcode.com", "VITE_AI_HOST": "https://ai.gitcode.com", "VITE_INCUBATION_TOPIC": "6656c64efd46e722f6299761", "VITE_GSTAR_TOPIC": "6656c65ebacc215dac8b2d06", "VITE_TRUSTED_TOPIC": "6716255303226504db66d8d7", "VITE_SEARCH_REPO_CHANNEL_ID": "67bc3f5f97a0293d6bfebd01", "BASE_URL": "/", "MODE": "production", "DEV": false, "PROD": true, "SSR": false };
|
|
19578
19638
|
onMounted(() => {
|
|
19579
19639
|
toNotice();
|
|
19580
19640
|
addEventListener("logout", (options) => {
|
|
@@ -19608,9 +19668,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19608
19668
|
props.loginSuccess(options);
|
|
19609
19669
|
});
|
|
19610
19670
|
addEventListener("notice", toNotice);
|
|
19611
|
-
addEventListener("openHarmonyGuide", () => {
|
|
19612
|
-
props.openHarmonyGuide();
|
|
19613
|
-
});
|
|
19614
19671
|
window.addEventListener("message", (event) => {
|
|
19615
19672
|
if (event.origin !== VITE_HOST)
|
|
19616
19673
|
return;
|
|
@@ -19621,7 +19678,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19621
19678
|
});
|
|
19622
19679
|
});
|
|
19623
19680
|
onBeforeUnmount(() => {
|
|
19624
|
-
offEvent("openHarmonyGuide");
|
|
19625
19681
|
offEvent("notice");
|
|
19626
19682
|
offEvent("updateUserInfo");
|
|
19627
19683
|
offEvent("login");
|
|
@@ -19656,7 +19712,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19656
19712
|
showNameAndIcon.value ? (openBlock(), createBlock(GLink, {
|
|
19657
19713
|
key: 1,
|
|
19658
19714
|
class: normalizeClass(["g-toolbar-left-logo", unref(currentTheme)]),
|
|
19659
|
-
href: unref(
|
|
19715
|
+
href: unref(VITE_HOST)
|
|
19660
19716
|
}, null, 8, ["class", "href"])) : createCommentVNode("", true)
|
|
19661
19717
|
]),
|
|
19662
19718
|
isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) ? (openBlock(), createElementBlock("div", {
|
|
@@ -19753,8 +19809,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19753
19809
|
};
|
|
19754
19810
|
}
|
|
19755
19811
|
});
|
|
19756
|
-
const
|
|
19757
|
-
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
19812
|
+
const index_vue_vue_type_style_index_0_scoped_bc49236b_lang = "";
|
|
19813
|
+
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bc49236b"]]);
|
|
19758
19814
|
const GitCodeLayoutLibLocales = {
|
|
19759
19815
|
zh: zhLocale,
|
|
19760
19816
|
en: enLocale
|
|
@@ -19785,13 +19841,15 @@ export {
|
|
|
19785
19841
|
isPhone as i,
|
|
19786
19842
|
highlightWords as j,
|
|
19787
19843
|
_frEventTrack as k,
|
|
19788
|
-
|
|
19789
|
-
|
|
19790
|
-
|
|
19791
|
-
|
|
19792
|
-
|
|
19793
|
-
|
|
19844
|
+
useLayoutConfig as l,
|
|
19845
|
+
debounce$1 as m,
|
|
19846
|
+
baseURL as n,
|
|
19847
|
+
ToolsFloat as o,
|
|
19848
|
+
GitCodeHeader as p,
|
|
19849
|
+
GitCodeLayoutLibLocales as q,
|
|
19794
19850
|
reqCatch as r,
|
|
19851
|
+
setLayoutConfig as s,
|
|
19795
19852
|
transWebUrl as t,
|
|
19796
|
-
useModel as u
|
|
19853
|
+
useModel as u,
|
|
19854
|
+
index as v
|
|
19797
19855
|
};
|