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