vue-layout-gitcode 1.5.80 → 1.5.81
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-CmqBqqCE.js → GloabarSearch-DlXzcMGs.js} +3 -3
- package/{MenuItem-D-Svq_y0.js → MenuItem-ISND_wvy.js} +1 -1
- package/{ProjectMenuList-D6So4qR6.js → ProjectMenuList-BrM9bFEt.js} +3 -3
- package/{ProjectMenuListV2-DFfPL3yp.js → ProjectMenuListV2-DXkWyxjj.js} +2 -2
- package/{ProjectSearch-0GgYbeL2.js → ProjectSearch-D1lyAgMX.js} +1 -1
- package/{SearchHistoryList-sFhszs64.js → SearchHistoryList-CYf3guD9.js} +1 -1
- package/{SearchPrefixTag-C7tnt2by.js → SearchPrefixTag-DnWaPuJM.js} +1 -1
- package/{SearchRecommed-C27b3jIj.js → SearchRecommed-iwkmZ_Os.js} +2 -2
- package/{SearchScopeList-zpkCs_iS.js → SearchScopeList-B-64FqkU.js} +1 -1
- package/{UserSearch-BMCaStsG.js → UserSearch-BJhEbx6q.js} +11 -2
- package/{index-B4y0YfrT.js → index-DJNthaNB.js} +3 -3
- package/{index-CLHItLiY.js → index-Dg53JPll.js} +2 -2
- package/{index-DIBqvYHb.js → index-bLPYnJNC.js} +92 -74
- package/index.js +11 -11
- package/{notice-Cyf9qor5.js → notice-xElU_mX_.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-BfFVELu2.js → transWebUrl-BxRwWsUU.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, inject, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, createVNode, unref, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
4
|
+
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-bLPYnJNC.js";
|
|
5
5
|
import "lodash/debounce";
|
|
6
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
7
|
-
import "./transWebUrl-
|
|
6
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-DJNthaNB.js";
|
|
7
|
+
import "./transWebUrl-BxRwWsUU.js";
|
|
8
8
|
import "vue-devui-lal/tooltip";
|
|
9
9
|
import "vue-devui-lal/tooltip/style.css";
|
|
10
10
|
import "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, useSlots, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { w as useLayoutConfig, x as ThemeType, y as currentTheme, j as LANG_ZH, z as LANG_EN, A as getLocaleLang, G as GIcon, B as emitEvent, C as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-bLPYnJNC.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Popover } from "vue-devui-lal/popover";
|
|
5
5
|
import "vue-devui-lal/popover/style.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, watch, computed, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n,
|
|
2
|
+
import { a as i18n, w as useLayoutConfig, G as GIcon, D as transformUrl, F as _sfc_main$1, H as loadAsideData, B as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-bLPYnJNC.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BxRwWsUU.js";
|
|
5
5
|
import { Select, Option } from "vue-devui-lal/select";
|
|
6
6
|
import { Input } from "vue-devui-lal/input";
|
|
7
7
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
@@ -339,7 +339,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
339
339
|
return openBlock(), createBlock(unref(MenuItem), {
|
|
340
340
|
key: item.key,
|
|
341
341
|
"data-openBlank": true,
|
|
342
|
-
"data-href": unref(transWebUrl)(item.web_url),
|
|
342
|
+
"data-href": unref(transformUrl)(unref(transWebUrl)(item.web_url)),
|
|
343
343
|
class: "text",
|
|
344
344
|
title: _ctx.type === "project" ? `${item.namespace}/${item.label}` : item.label
|
|
345
345
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, computed, watch, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n,
|
|
2
|
+
import { a as i18n, w as useLayoutConfig, G as GIcon, B as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-bLPYnJNC.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BxRwWsUU.js";
|
|
5
5
|
import { Input } from "vue-devui-lal/input";
|
|
6
6
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
7
7
|
import { MenuItem } from "vue-devui-lal/menu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, inject, computed, withDirectives, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-bLPYnJNC.js";
|
|
3
3
|
import { useRoute, useRouter } from "vue-router";
|
|
4
4
|
import "vue-devui-lal/icon";
|
|
5
5
|
import "vue-devui-lal/icon/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, createCommentVNode, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers } from "vue";
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-bLPYnJNC.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "history-list" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, withModifiers, createVNode, vShow } from "vue";
|
|
2
|
-
import { G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { G as GIcon, _ as _export_sfc } from "./index-bLPYnJNC.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "ellipsis" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createVNode, withCtx } from "vue";
|
|
2
|
-
import { u as useReportRepo, S as SearchRepoCard } from "./index-
|
|
3
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-DJNthaNB.js";
|
|
3
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-bLPYnJNC.js";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { SkeletonItem } from "vue-devui-lal/skeleton";
|
|
6
6
|
import "vue-devui-lal/grid/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, Fragment, renderList, createElementVNode, createVNode, createCommentVNode, toDisplayString, unref } from "vue";
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-bLPYnJNC.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject, ref, watch, withDirectives, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-bLPYnJNC.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
|
|
@@ -41,7 +41,16 @@ const _sfc_main = {
|
|
|
41
41
|
search: props.searchStr
|
|
42
42
|
}).then((res) => {
|
|
43
43
|
const data = res.data || {};
|
|
44
|
-
searchFileList.value = data.content
|
|
44
|
+
searchFileList.value = data.content.map((item) => {
|
|
45
|
+
return {
|
|
46
|
+
...item,
|
|
47
|
+
web_url: transformUrl(item.web_url),
|
|
48
|
+
ssh_url_to_repo: transformUrl(item.ssh_url_to_repo),
|
|
49
|
+
http_url_to_repo: transformUrl(item.http_url_to_repo),
|
|
50
|
+
readme_url: transformUrl(item.readme_url),
|
|
51
|
+
avatar_url: transformUrl(item.avatar_url)
|
|
52
|
+
};
|
|
53
|
+
}) || [];
|
|
45
54
|
}).finally(() => {
|
|
46
55
|
loading.value = false;
|
|
47
56
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, withCtx, reactive } from "vue";
|
|
2
2
|
import debounce from "lodash/debounce";
|
|
3
|
-
import {
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { d as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-bLPYnJNC.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BxRwWsUU.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";
|
|
@@ -501,7 +501,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
501
501
|
const { widthType } = usePageResize();
|
|
502
502
|
const { t: $t } = i18n.global;
|
|
503
503
|
const handleClick = () => {
|
|
504
|
-
window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
|
|
504
|
+
window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
|
|
505
505
|
emits("report");
|
|
506
506
|
_frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
|
|
507
507
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import {
|
|
3
|
+
import { w as useLayoutConfig, _ as _export_sfc } from "./index-bLPYnJNC.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
logoUrl: null
|
|
36
36
|
// 去除logo
|
|
37
37
|
};
|
|
38
|
-
window.initTAC("https://cdn-static.gitcode.
|
|
38
|
+
window.initTAC("https://cdn-static.gitcode.host/js/tac/", config, style).then((tac) => {
|
|
39
39
|
tac.init();
|
|
40
40
|
}).catch((e) => {
|
|
41
41
|
console.error("初始化tac失败", e);
|
|
@@ -104,12 +104,18 @@ const _export_sfc = (sfc, props) => {
|
|
|
104
104
|
return target;
|
|
105
105
|
};
|
|
106
106
|
const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
107
|
+
const transformUrl$1 = (url) => {
|
|
108
|
+
if (typeof window !== "undefined" && typeof location !== "undefined") {
|
|
109
|
+
return url == null ? void 0 : url.replace(/gitcode\.com/g, location.host).replace(/ai\./g, "");
|
|
110
|
+
}
|
|
111
|
+
return url;
|
|
112
|
+
};
|
|
107
113
|
const defaultConfig = {
|
|
108
114
|
VITE_ENV: "production",
|
|
109
115
|
VITE_HOST: "https://gitcode.com",
|
|
110
116
|
VITE_HOST_TIANQI: "https://tianqi.gitcode.com",
|
|
111
117
|
VITE_API_HOST: "https://web-api.gitcode.com",
|
|
112
|
-
VITE_AD_LINK: "https://cdn-static.gitcode.
|
|
118
|
+
VITE_AD_LINK: "https://cdn-static.gitcode.host/adList/active.json",
|
|
113
119
|
VITE_NEWS_HOST: "https://news.gitcode.com",
|
|
114
120
|
VITE_AI_HOST: "https://ai.gitcode.com",
|
|
115
121
|
VITE_INCUBATION_TOPIC: "6656c64efd46e722f6299761",
|
|
@@ -119,7 +125,7 @@ const defaultConfig = {
|
|
|
119
125
|
VITE_SECRET_KEY: "SA!nUNPZ5o!OSV&B",
|
|
120
126
|
VITE_SECRET_IV: "SA!nwwwZ5o!OSV&B"
|
|
121
127
|
};
|
|
122
|
-
|
|
128
|
+
const layoutConfig$4 = reactive({ ...defaultConfig, VITE_HOST_TIANQI: transformUrl$1(defaultConfig.VITE_HOST_TIANQI) });
|
|
123
129
|
function setLayoutConfig(customConfig) {
|
|
124
130
|
Object.assign(layoutConfig$4, customConfig);
|
|
125
131
|
}
|
|
@@ -372,7 +378,7 @@ function udeskInit(config = {}) {
|
|
|
372
378
|
g.src = b;
|
|
373
379
|
c = h2.getElementsByTagName(c)[0];
|
|
374
380
|
c.parentNode.insertBefore(g, c);
|
|
375
|
-
})(window, document, "script", "https://cdn-static.gitcode.
|
|
381
|
+
})(window, document, "script", "https://cdn-static.gitcode.host/static/js/udeskApi.js", "ud");
|
|
376
382
|
ud({
|
|
377
383
|
code: "24581k88",
|
|
378
384
|
link: "https://gitcode.s2.udesk.cn/im_client/?web_plugin_id=57707",
|
|
@@ -482,7 +488,7 @@ const OSS_IMAGES = {
|
|
|
482
488
|
};
|
|
483
489
|
const GOTO_QUICK_LOGIN = "gotoQuickLogin";
|
|
484
490
|
const DEFAULT_COUNTRY = "CN_0086";
|
|
485
|
-
const IMAGE_CDN_PREFIX = "https://cdn-static.gitcode.
|
|
491
|
+
const IMAGE_CDN_PREFIX = "https://cdn-static.gitcode.host";
|
|
486
492
|
const HARMONY_VISITED_DATE = "harmony-visitedDate";
|
|
487
493
|
const HARMONY_SURVEY_DELAY = "harmony-survey-delay";
|
|
488
494
|
const UTM_SOURCE = "utm_source";
|
|
@@ -7566,7 +7572,7 @@ const gitCodeLayout$1 = {
|
|
|
7566
7572
|
informationCenter: "资讯中心",
|
|
7567
7573
|
feedbackCenter: "反馈中心",
|
|
7568
7574
|
companyInformation: "重庆开源共创",
|
|
7569
|
-
recordInformation: "渝ICP备2023009037
|
|
7575
|
+
recordInformation: "渝ICP备2023009037号-3",
|
|
7570
7576
|
technicalSupport: "技术支持:",
|
|
7571
7577
|
HWCloud: "华为云",
|
|
7572
7578
|
userFeedback01: "在线客服",
|
|
@@ -7885,7 +7891,7 @@ const gitCodeLayout = {
|
|
|
7885
7891
|
slogon: "Co-create GitCode, the Code Home for Developers",
|
|
7886
7892
|
digest: "ChongQingKaiYuanGongChuang Technology Co., Ltd. All Rights Reserved",
|
|
7887
7893
|
companyInformation: "ChongQingKaiYuanGongChuang",
|
|
7888
|
-
recordInformation: "Yu ICP No. 2023009037",
|
|
7894
|
+
recordInformation: "Yu ICP No. 2023009037-3",
|
|
7889
7895
|
searchPlaceholder2: "Type <kbd>/</kbd> to search",
|
|
7890
7896
|
searchPlaceholder: "Search",
|
|
7891
7897
|
alreadyFollowed: "Followed",
|
|
@@ -11204,7 +11210,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11204
11210
|
createElementVNode("div", _hoisted_2$l, [
|
|
11205
11211
|
_cache[5] || (_cache[5] = createElementVNode("img", {
|
|
11206
11212
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
11207
|
-
src: "https://cdn-static.gitcode.
|
|
11213
|
+
src: "https://cdn-static.gitcode.host/static/images/homeweb/czzx.svg",
|
|
11208
11214
|
alt: ""
|
|
11209
11215
|
}, null, -1)),
|
|
11210
11216
|
!_ctx.isLogin || !isSignIn.value ? (openBlock(), createElementBlock("div", _hoisted_3$j, toDisplayString$1(!_ctx.isLogin ? unref(t2)("gitCodeLayout.growthCenter.receive") : unref(t2)("gitCodeLayout.growthCenter.signIn")), 1)) : createCommentVNode("", true)
|
|
@@ -11235,7 +11241,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11235
11241
|
}, _cache[6] || (_cache[6] = [
|
|
11236
11242
|
createElementVNode("img", {
|
|
11237
11243
|
class: "inline-block h-[20px] w-[20px]",
|
|
11238
|
-
src: "https://cdn-static.gitcode.
|
|
11244
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/kefu.png",
|
|
11239
11245
|
alt: ""
|
|
11240
11246
|
}, null, -1),
|
|
11241
11247
|
createElementVNode("div", null, [
|
|
@@ -11256,7 +11262,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11256
11262
|
createElementVNode("div", _hoisted_11$4, toDisplayString$1(unref(t2)("gitCodeLayout.home.followUs")), 1),
|
|
11257
11263
|
_cache[7] || (_cache[7] = createElementVNode("img", {
|
|
11258
11264
|
class: "qrcode",
|
|
11259
|
-
src: "https://cdn-static.gitcode.
|
|
11265
|
+
src: "https://cdn-static.gitcode.host/static/images/points/wx_gitcode.png"
|
|
11260
11266
|
}, null, -1))
|
|
11261
11267
|
])
|
|
11262
11268
|
]),
|
|
@@ -11265,12 +11271,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11265
11271
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
11266
11272
|
createElementVNode("img", {
|
|
11267
11273
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
11268
|
-
src: "https://cdn-static.gitcode.
|
|
11274
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/follow-us.svg",
|
|
11269
11275
|
alt: ""
|
|
11270
11276
|
}),
|
|
11271
11277
|
createElementVNode("img", {
|
|
11272
11278
|
class: "active-icon inline-block h-[20px] w-[20px]",
|
|
11273
|
-
src: "https://cdn-static.gitcode.
|
|
11279
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/follow-us-hover.svg",
|
|
11274
11280
|
alt: ""
|
|
11275
11281
|
})
|
|
11276
11282
|
])
|
|
@@ -11383,12 +11389,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11383
11389
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
11384
11390
|
createElementVNode("img", {
|
|
11385
11391
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
11386
|
-
src: "https://cdn-static.gitcode.
|
|
11392
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/plane-smile.png",
|
|
11387
11393
|
alt: ""
|
|
11388
11394
|
}),
|
|
11389
11395
|
createElementVNode("img", {
|
|
11390
11396
|
class: "active-icon inline-block h-[20px] w-[20px]",
|
|
11391
|
-
src: "https://cdn-static.gitcode.
|
|
11397
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/plane-smile-hover.png",
|
|
11392
11398
|
alt: ""
|
|
11393
11399
|
})
|
|
11394
11400
|
], -1)
|
|
@@ -12110,6 +12116,12 @@ if (isBrowser) {
|
|
|
12110
12116
|
}
|
|
12111
12117
|
const sessionStorage$1 = sessionStorage;
|
|
12112
12118
|
const _imports_0 = "data:image/png;base64,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";
|
|
12119
|
+
const transformUrl = (url) => {
|
|
12120
|
+
if (typeof window !== "undefined" && typeof location !== "undefined") {
|
|
12121
|
+
return url == null ? void 0 : url.replace(/gitcode\.com/g, location.host).replace(/ai\./g, "");
|
|
12122
|
+
}
|
|
12123
|
+
return url;
|
|
12124
|
+
};
|
|
12113
12125
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
12114
12126
|
...{
|
|
12115
12127
|
name: "GAvatar"
|
|
@@ -12139,7 +12151,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
12139
12151
|
});
|
|
12140
12152
|
return (_ctx, _cache) => {
|
|
12141
12153
|
return openBlock(), createBlock(unref(Avatar), {
|
|
12142
|
-
"img-src": imgSrc.value,
|
|
12154
|
+
"img-src": unref(transformUrl)(imgSrc.value),
|
|
12143
12155
|
name: placeholderName.value,
|
|
12144
12156
|
width: _ctx.width,
|
|
12145
12157
|
height: _ctx.height,
|
|
@@ -15758,7 +15770,7 @@ const _hoisted_7$4 = {
|
|
|
15758
15770
|
};
|
|
15759
15771
|
const _hoisted_8$4 = {
|
|
15760
15772
|
key: 1,
|
|
15761
|
-
src: "https://cdn-static.gitcode.
|
|
15773
|
+
src: "https://cdn-static.gitcode.host/static/images/mirrors-avata_20250411.gif",
|
|
15762
15774
|
alt: "mirrors-avatar",
|
|
15763
15775
|
class: "h-[24px]"
|
|
15764
15776
|
};
|
|
@@ -16573,18 +16585,18 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16573
16585
|
const levelMap = {
|
|
16574
16586
|
v1: {
|
|
16575
16587
|
name: t2("gitCodeLayout.header.openSourceExplorer"),
|
|
16576
|
-
avatar: "https://cdn-static.gitcode.
|
|
16577
|
-
level: "https://cdn-static.gitcode.
|
|
16588
|
+
avatar: "https://cdn-static.gitcode.host/static/images/points/ava-v1.png",
|
|
16589
|
+
level: "https://cdn-static.gitcode.host/static/images/points/l-v1.png"
|
|
16578
16590
|
},
|
|
16579
16591
|
v2: {
|
|
16580
16592
|
name: t2("gitCodeLayout.header.openSourcePioneer"),
|
|
16581
|
-
avatar: "https://cdn-static.gitcode.
|
|
16582
|
-
level: "https://cdn-static.gitcode.
|
|
16593
|
+
avatar: "https://cdn-static.gitcode.host/static/images/points/ava-v2.png",
|
|
16594
|
+
level: "https://cdn-static.gitcode.host/static/images/points/l-v2.png"
|
|
16583
16595
|
},
|
|
16584
16596
|
v3: {
|
|
16585
16597
|
name: t2("gitCodeLayout.header.contributingStar"),
|
|
16586
|
-
avatar: "https://cdn-static.gitcode.
|
|
16587
|
-
level: "https://cdn-static.gitcode.
|
|
16598
|
+
avatar: "https://cdn-static.gitcode.host/static/images/points/ava-v3.png",
|
|
16599
|
+
level: "https://cdn-static.gitcode.host/static/images/points/l-v3.png"
|
|
16588
16600
|
}
|
|
16589
16601
|
};
|
|
16590
16602
|
const useReport2 = inject("useReport");
|
|
@@ -16960,7 +16972,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16960
16972
|
createElementVNode("div", _hoisted_1$m, [
|
|
16961
16973
|
createVNode(_sfc_main$B, {
|
|
16962
16974
|
name: accountInfo.value.nickname,
|
|
16963
|
-
src: accountInfo.value.avatar
|
|
16975
|
+
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16964
16976
|
}, null, 8, ["name", "src"]),
|
|
16965
16977
|
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$f, _cache[4] || (_cache[4] = [
|
|
16966
16978
|
createElementVNode("div", null, null, -1)
|
|
@@ -16990,7 +17002,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16990
17002
|
createElementVNode("div", _hoisted_3$d, [
|
|
16991
17003
|
createVNode(_sfc_main$B, {
|
|
16992
17004
|
name: accountInfo.value.nickname,
|
|
16993
|
-
src: accountInfo.value.avatar
|
|
17005
|
+
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16994
17006
|
}, null, 8, ["name", "src"]),
|
|
16995
17007
|
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$a, _cache[5] || (_cache[5] = [
|
|
16996
17008
|
createElementVNode("div", null, null, -1)
|
|
@@ -17140,13 +17152,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17140
17152
|
var _a;
|
|
17141
17153
|
const layoutConfig2 = useLayoutConfig();
|
|
17142
17154
|
const { t: $t } = i18n.global;
|
|
17143
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17144
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17145
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17146
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17147
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17148
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17149
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17155
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-D1lyAgMX.js"));
|
|
17156
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-BJhEbx6q.js"));
|
|
17157
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DlXzcMGs.js"));
|
|
17158
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CYf3guD9.js"));
|
|
17159
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-B-64FqkU.js"));
|
|
17160
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-DnWaPuJM.js"));
|
|
17161
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-iwkmZ_Os.js"));
|
|
17150
17162
|
const props = __props;
|
|
17151
17163
|
const repoInfo = inject("repoInfo");
|
|
17152
17164
|
const orgInfo = inject("orgInfo");
|
|
@@ -17384,7 +17396,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17384
17396
|
} else {
|
|
17385
17397
|
hotUrl = `${hotUrl}?source_module=search_box_hot_word`;
|
|
17386
17398
|
}
|
|
17387
|
-
window.open(hotUrl, "_blank");
|
|
17399
|
+
window.open(transformUrl$1(hotUrl), "_blank");
|
|
17388
17400
|
return;
|
|
17389
17401
|
}
|
|
17390
17402
|
isSearchHistory.value = false;
|
|
@@ -17774,7 +17786,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17774
17786
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17775
17787
|
}
|
|
17776
17788
|
};
|
|
17777
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17789
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-xElU_mX_.js"));
|
|
17778
17790
|
function clearNotice() {
|
|
17779
17791
|
if (localStorage$2.getItem("validator_email")) {
|
|
17780
17792
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18396,8 +18408,8 @@ const loadUserProjectsInvolved = async (requestFn, params = {}) => {
|
|
|
18396
18408
|
var _a;
|
|
18397
18409
|
return {
|
|
18398
18410
|
key: item.name,
|
|
18399
|
-
web_url: item.web_url,
|
|
18400
|
-
avatar: item.avatar,
|
|
18411
|
+
web_url: transformUrl$1(item.web_url),
|
|
18412
|
+
avatar: transformUrl$1(item.avatar),
|
|
18401
18413
|
id: item.id,
|
|
18402
18414
|
label: item.name,
|
|
18403
18415
|
namespace: (_a = item.namespace_info) == null ? void 0 : _a.name
|
|
@@ -18446,9 +18458,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18446
18458
|
const layoutConfig2 = useLayoutConfig();
|
|
18447
18459
|
const { t: t2 } = i18n.global;
|
|
18448
18460
|
const route = useRoute();
|
|
18449
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18450
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18451
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18461
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-ISND_wvy.js"));
|
|
18462
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DXkWyxjj.js"));
|
|
18463
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BrM9bFEt.js"));
|
|
18452
18464
|
const props = __props;
|
|
18453
18465
|
const useReport2 = inject("useReport");
|
|
18454
18466
|
const userInfo = inject("userInfo");
|
|
@@ -20370,9 +20382,13 @@ async function checkUserRepositoryIssue(API, isRegister = false) {
|
|
|
20370
20382
|
async function successResolve(params, API, isRegister = false) {
|
|
20371
20383
|
var _a;
|
|
20372
20384
|
const { path, userInfo, type, loginMethod } = params;
|
|
20385
|
+
const transformUserInfo = {
|
|
20386
|
+
...userInfo,
|
|
20387
|
+
avatar: transformUrl$1(userInfo == null ? void 0 : userInfo.avatar)
|
|
20388
|
+
};
|
|
20373
20389
|
if (userInfo) {
|
|
20374
|
-
emitEvent("updateUserInfo",
|
|
20375
|
-
const { username, email } =
|
|
20390
|
+
emitEvent("updateUserInfo", transformUserInfo);
|
|
20391
|
+
const { username, email } = transformUserInfo;
|
|
20376
20392
|
setEmailValid(username, email);
|
|
20377
20393
|
}
|
|
20378
20394
|
saveLastLoginType(loginMethod);
|
|
@@ -23766,7 +23782,7 @@ const _hoisted_9$1 = {
|
|
|
23766
23782
|
const _hoisted_10$1 = { class: "my-[32px]" };
|
|
23767
23783
|
const _hoisted_11$1 = { class: "flex items-center justify-between" };
|
|
23768
23784
|
const _hoisted_12$1 = { class: "cursor-pointer" };
|
|
23769
|
-
const GIT_CODE_LOGO_BLACK = "https://cdn-static.gitcode.
|
|
23785
|
+
const GIT_CODE_LOGO_BLACK = "https://cdn-static.gitcode.host/static/images/gitcode-logo-dark.png";
|
|
23770
23786
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
23771
23787
|
__name: "MFA",
|
|
23772
23788
|
props: {
|
|
@@ -23998,7 +24014,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23998
24014
|
}
|
|
23999
24015
|
});
|
|
24000
24016
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24001
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24017
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-Dg53JPll.js"));
|
|
24002
24018
|
const useSlidCaptcha = () => {
|
|
24003
24019
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24004
24020
|
const open = (config) => {
|
|
@@ -24025,7 +24041,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
24025
24041
|
createElementVNode("div", { class: "w-full flex-center" }, [
|
|
24026
24042
|
createElementVNode("img", {
|
|
24027
24043
|
class: "w-[60px] h-[60px]",
|
|
24028
|
-
src: "https://cdn-static.gitcode.
|
|
24044
|
+
src: "https://cdn-static.gitcode.host/static/images/common/loading.gif",
|
|
24029
24045
|
alt: "loading"
|
|
24030
24046
|
})
|
|
24031
24047
|
]),
|
|
@@ -24246,8 +24262,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24246
24262
|
const IconHb = TransAssetsUrl(IconSource, "logo-hb");
|
|
24247
24263
|
const IconHW = TransAssetsUrl(IconSource, "logo-huawei");
|
|
24248
24264
|
const logoType = {
|
|
24249
|
-
black: "https://cdn-static.gitcode.
|
|
24250
|
-
white: "https://cdn-static.gitcode.
|
|
24265
|
+
black: "https://cdn-static.gitcode.host/static/images/gitcode-logo-white.png",
|
|
24266
|
+
white: "https://cdn-static.gitcode.host/static/images/gitcode-logo-dark.png"
|
|
24251
24267
|
};
|
|
24252
24268
|
const formErrors = reactive({});
|
|
24253
24269
|
const extraErrors = reactive({
|
|
@@ -25471,7 +25487,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25471
25487
|
}, [
|
|
25472
25488
|
createElementVNode("div", _hoisted_42, [
|
|
25473
25489
|
_cache[18] || (_cache[18] = createElementVNode("img", {
|
|
25474
|
-
src: "https://cdn-static.gitcode.
|
|
25490
|
+
src: "https://cdn-static.gitcode.host/static/images/guide/openharmony.svg",
|
|
25475
25491
|
alt: "",
|
|
25476
25492
|
class: "w-[32px] h-[32px] inline-block harmony-icon-img"
|
|
25477
25493
|
}, null, -1)),
|
|
@@ -25776,51 +25792,53 @@ const index = {
|
|
|
25776
25792
|
}
|
|
25777
25793
|
};
|
|
25778
25794
|
export {
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25795
|
+
getLocaleLang as A,
|
|
25796
|
+
emitEvent as B,
|
|
25797
|
+
isHttps as C,
|
|
25798
|
+
transformUrl as D,
|
|
25783
25799
|
EVENT_NAME as E,
|
|
25784
|
-
|
|
25800
|
+
_sfc_main$B as F,
|
|
25785
25801
|
GIcon as G,
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25802
|
+
loadAsideData as H,
|
|
25803
|
+
asideRequest as I,
|
|
25804
|
+
ToolsFloat as J,
|
|
25805
|
+
_sfc_main as K,
|
|
25790
25806
|
LANG_KEY as L,
|
|
25791
|
-
|
|
25792
|
-
|
|
25793
|
-
|
|
25794
|
-
|
|
25795
|
-
|
|
25807
|
+
GitCodeAside as M,
|
|
25808
|
+
GitCodeHeader as N,
|
|
25809
|
+
useLogin as O,
|
|
25810
|
+
setLayoutConfig as P,
|
|
25811
|
+
GitCodeLayoutEmitter as Q,
|
|
25796
25812
|
REPO_MODULE as R,
|
|
25797
25813
|
SceneValue as S,
|
|
25798
25814
|
TOPIC_TYPE as T,
|
|
25815
|
+
setTheme as U,
|
|
25816
|
+
index as V,
|
|
25799
25817
|
_export_sfc as _,
|
|
25800
25818
|
i18n as a,
|
|
25801
25819
|
REPO_EVENT as b,
|
|
25802
25820
|
REPO_TYPE as c,
|
|
25803
|
-
|
|
25821
|
+
transferNumber as d,
|
|
25804
25822
|
extractRepoInfoWithURL as e,
|
|
25805
|
-
|
|
25806
|
-
|
|
25823
|
+
useRequestReport as f,
|
|
25824
|
+
useTimeFormat as g,
|
|
25807
25825
|
headRequest as h,
|
|
25808
25826
|
isPhone as i,
|
|
25809
|
-
|
|
25810
|
-
|
|
25827
|
+
LANG_ZH as j,
|
|
25828
|
+
usePageResize as k,
|
|
25811
25829
|
localStorage$2 as l,
|
|
25812
|
-
|
|
25813
|
-
|
|
25814
|
-
|
|
25815
|
-
|
|
25816
|
-
|
|
25830
|
+
isGstarRepo as m,
|
|
25831
|
+
_sfc_main$y as n,
|
|
25832
|
+
isIncubationRepo as o,
|
|
25833
|
+
highlightWords as p,
|
|
25834
|
+
_frEventTrack as q,
|
|
25817
25835
|
reqCatch as r,
|
|
25818
25836
|
setLoginTriggerSource as s,
|
|
25819
|
-
|
|
25837
|
+
transformUrl$1 as t,
|
|
25820
25838
|
useModel as u,
|
|
25821
25839
|
vElementExposure as v,
|
|
25822
|
-
|
|
25823
|
-
|
|
25824
|
-
|
|
25825
|
-
|
|
25840
|
+
useLayoutConfig as w,
|
|
25841
|
+
ThemeType as x,
|
|
25842
|
+
currentTheme as y,
|
|
25843
|
+
LANG_EN as z
|
|
25826
25844
|
};
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M, N, Q, K, S, J, y, V, P, U, O } from "./index-bLPYnJNC.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
M as GitCodeAside,
|
|
4
|
+
N as GitCodeHeader,
|
|
5
|
+
Q as GitCodeLayoutEmitter,
|
|
6
|
+
K as Login,
|
|
7
7
|
S as SceneValue,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
J as ToolsFloat,
|
|
9
|
+
y as currentTheme,
|
|
10
|
+
V as default,
|
|
11
|
+
P as setLayoutConfig,
|
|
12
|
+
U as setTheme,
|
|
13
|
+
O as useLogin
|
|
14
14
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { i as isPhone, u as useModel } from "./index-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-bLPYnJNC.js";
|
|
3
3
|
import { Notification } from "vue-devui-lal/notification";
|
|
4
4
|
import { Button } from "vue-devui-lal/button";
|
|
5
5
|
import "vue-devui-lal/notification/style.css";
|