vue-layout-gitcode 1.4.3 → 1.4.5
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-CW0SwbrS.js → GloabarSearch-DedMcgUY.js} +2 -2
- package/{ProjectSearch-BJKhXW9j.js → ProjectSearch-D1tkYnKH.js} +1 -1
- package/{SearchHistoryList-DIe_i71A.js → SearchHistoryList-KjBadTut.js} +1 -1
- package/{SearchPrefixTag-4xjYgyJb.js → SearchPrefixTag-DnTQT5Jm.js} +1 -1
- package/{SearchRecommed-BQxZo-VT.js → SearchRecommed-Chq7caoB.js} +2 -2
- package/{SearchScopeList-Ll-UO5EK.js → SearchScopeList-CnPwPVER.js} +1 -1
- package/{UserSearch-BtJbErCu.js → UserSearch-w7MbXntY.js} +11 -2
- package/{index-CLYvYYeS.js → index-BOG51Xhq.js} +2 -2
- package/{index-CwMo1Uk5.js → index-DFo9WWkb.js} +2 -2
- package/{index-Cu2YsLYo.js → index-SzoRo88A.js} +58 -57
- package/index.js +11 -11
- package/{notice-CgbAOXvX.js → notice-BysDgtHg.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } 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-SzoRo88A.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-BOG51Xhq.js";
|
|
6
6
|
import "vue-devui-lal/tooltip";
|
|
7
7
|
import "vue-devui-lal/tooltip/style.css";
|
|
8
8
|
import "vue-router";
|
|
@@ -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-SzoRo88A.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-SzoRo88A.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-SzoRo88A.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-BOG51Xhq.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-SzoRo88A.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-SzoRo88A.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-SzoRo88A.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,5 +1,5 @@
|
|
|
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
|
-
import { d as debounce,
|
|
2
|
+
import { d as debounce, f as transferNumber, G as GIcon, s as setLoginTriggerSource, g as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, j as useTimeFormat, L as LANG_KEY, k as LANG_ZH, m as usePageResize, n as isGstarRepo, o as _sfc_main$9, p as isIncubationRepo, q as highlightWords, w as transWebUrl, t as transformUrl, x as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-SzoRo88A.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -499,7 +499,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
499
499
|
const { widthType } = usePageResize();
|
|
500
500
|
const { t: $t } = i18n.global;
|
|
501
501
|
const handleClick = () => {
|
|
502
|
-
window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
|
|
502
|
+
window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
|
|
503
503
|
emits("report");
|
|
504
504
|
_frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
|
|
505
505
|
};
|
|
@@ -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 { y as useLayoutConfig, _ as _export_sfc } from "./index-SzoRo88A.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);
|
|
@@ -109,7 +109,7 @@ const defaultConfig = {
|
|
|
109
109
|
VITE_HOST: "https://gitcode.com",
|
|
110
110
|
VITE_HOST_TIANQI: "https://tianqi.gitcode.com",
|
|
111
111
|
VITE_API_HOST: "https://web-api.gitcode.com",
|
|
112
|
-
VITE_AD_LINK: "https://cdn-static.gitcode.
|
|
112
|
+
VITE_AD_LINK: "https://cdn-static.gitcode.host/adList/active.json",
|
|
113
113
|
VITE_NEWS_HOST: "https://news.gitcode.com",
|
|
114
114
|
VITE_AI_HOST: "https://ai.gitcode.com",
|
|
115
115
|
VITE_INCUBATION_TOPIC: "6656c64efd46e722f6299761",
|
|
@@ -358,7 +358,7 @@ function udeskInit(config = {}) {
|
|
|
358
358
|
g.src = b;
|
|
359
359
|
c = h2.getElementsByTagName(c)[0];
|
|
360
360
|
c.parentNode.insertBefore(g, c);
|
|
361
|
-
})(window, document, "script", "https://cdn-static.gitcode.
|
|
361
|
+
})(window, document, "script", "https://cdn-static.gitcode.host/static/js/udeskApi.js", "ud");
|
|
362
362
|
ud({
|
|
363
363
|
code: "24581k88",
|
|
364
364
|
link: "https://gitcode.s2.udesk.cn/im_client/?web_plugin_id=57707",
|
|
@@ -469,7 +469,7 @@ const OSS_IMAGES = {
|
|
|
469
469
|
};
|
|
470
470
|
const GOTO_QUICK_LOGIN = "gotoQuickLogin";
|
|
471
471
|
const DEFAULT_COUNTRY = "CN_0086";
|
|
472
|
-
const IMAGE_CDN_PREFIX = "https://cdn-static.gitcode.
|
|
472
|
+
const IMAGE_CDN_PREFIX = "https://cdn-static.gitcode.host";
|
|
473
473
|
const HARMONY_VISITED_DATE = "harmony-visitedDate";
|
|
474
474
|
const HARMONY_SURVEY_DELAY = "harmony-survey-delay";
|
|
475
475
|
const UTM_SOURCE = "utm_source";
|
|
@@ -11111,7 +11111,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11111
11111
|
createElementVNode("div", _hoisted_2$l, [
|
|
11112
11112
|
_cache[3] || (_cache[3] = createElementVNode("img", {
|
|
11113
11113
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
11114
|
-
src: "https://cdn-static.gitcode.
|
|
11114
|
+
src: "https://cdn-static.gitcode.host/static/images/homeweb/czzx.svg",
|
|
11115
11115
|
alt: ""
|
|
11116
11116
|
}, null, -1)),
|
|
11117
11117
|
!_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)
|
|
@@ -11142,7 +11142,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11142
11142
|
}, _cache[4] || (_cache[4] = [
|
|
11143
11143
|
createElementVNode("img", {
|
|
11144
11144
|
class: "inline-block h-[20px] w-[20px]",
|
|
11145
|
-
src: "https://cdn-static.gitcode.
|
|
11145
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/kefu.png",
|
|
11146
11146
|
alt: ""
|
|
11147
11147
|
}, null, -1),
|
|
11148
11148
|
createElementVNode("div", null, [
|
|
@@ -11163,7 +11163,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11163
11163
|
createElementVNode("div", _hoisted_11$4, toDisplayString$1(unref(t2)("gitCodeLayout.home.followUs")), 1),
|
|
11164
11164
|
_cache[5] || (_cache[5] = createElementVNode("img", {
|
|
11165
11165
|
class: "qrcode",
|
|
11166
|
-
src: "https://cdn-static.gitcode.
|
|
11166
|
+
src: "https://cdn-static.gitcode.host/static/images/points/wx_gitcode.png"
|
|
11167
11167
|
}, null, -1))
|
|
11168
11168
|
])
|
|
11169
11169
|
]),
|
|
@@ -11172,12 +11172,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11172
11172
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
11173
11173
|
createElementVNode("img", {
|
|
11174
11174
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
11175
|
-
src: "https://cdn-static.gitcode.
|
|
11175
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/follow-us.svg",
|
|
11176
11176
|
alt: ""
|
|
11177
11177
|
}),
|
|
11178
11178
|
createElementVNode("img", {
|
|
11179
11179
|
class: "active-icon inline-block h-[20px] w-[20px]",
|
|
11180
|
-
src: "https://cdn-static.gitcode.
|
|
11180
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/follow-us-hover.svg",
|
|
11181
11181
|
alt: ""
|
|
11182
11182
|
})
|
|
11183
11183
|
])
|
|
@@ -11290,12 +11290,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11290
11290
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
11291
11291
|
createElementVNode("img", {
|
|
11292
11292
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
11293
|
-
src: "https://cdn-static.gitcode.
|
|
11293
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/plane-smile.png",
|
|
11294
11294
|
alt: ""
|
|
11295
11295
|
}),
|
|
11296
11296
|
createElementVNode("img", {
|
|
11297
11297
|
class: "active-icon inline-block h-[20px] w-[20px]",
|
|
11298
|
-
src: "https://cdn-static.gitcode.
|
|
11298
|
+
src: "https://cdn-static.gitcode.host/static/images/desk/plane-smile-hover.png",
|
|
11299
11299
|
alt: ""
|
|
11300
11300
|
})
|
|
11301
11301
|
], -1)
|
|
@@ -16591,7 +16591,7 @@ const _hoisted_7$5 = {
|
|
|
16591
16591
|
};
|
|
16592
16592
|
const _hoisted_8$5 = {
|
|
16593
16593
|
key: 1,
|
|
16594
|
-
src: "https://cdn-static.gitcode.
|
|
16594
|
+
src: "https://cdn-static.gitcode.host/static/images/mirrors-avata_20250411.gif",
|
|
16595
16595
|
alt: "mirrors-avatar",
|
|
16596
16596
|
class: "h-[24px]"
|
|
16597
16597
|
};
|
|
@@ -17528,18 +17528,18 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17528
17528
|
const levelMap = {
|
|
17529
17529
|
v1: {
|
|
17530
17530
|
name: t2("gitCodeLayout.header.openSourceExplorer"),
|
|
17531
|
-
avatar: "https://cdn-static.gitcode.
|
|
17532
|
-
level: "https://cdn-static.gitcode.
|
|
17531
|
+
avatar: "https://cdn-static.gitcode.host/static/images/points/ava-v1.png",
|
|
17532
|
+
level: "https://cdn-static.gitcode.host/static/images/points/l-v1.png"
|
|
17533
17533
|
},
|
|
17534
17534
|
v2: {
|
|
17535
17535
|
name: t2("gitCodeLayout.header.openSourcePioneer"),
|
|
17536
|
-
avatar: "https://cdn-static.gitcode.
|
|
17537
|
-
level: "https://cdn-static.gitcode.
|
|
17536
|
+
avatar: "https://cdn-static.gitcode.host/static/images/points/ava-v2.png",
|
|
17537
|
+
level: "https://cdn-static.gitcode.host/static/images/points/l-v2.png"
|
|
17538
17538
|
},
|
|
17539
17539
|
v3: {
|
|
17540
17540
|
name: t2("gitCodeLayout.header.contributingStar"),
|
|
17541
|
-
avatar: "https://cdn-static.gitcode.
|
|
17542
|
-
level: "https://cdn-static.gitcode.
|
|
17541
|
+
avatar: "https://cdn-static.gitcode.host/static/images/points/ava-v3.png",
|
|
17542
|
+
level: "https://cdn-static.gitcode.host/static/images/points/l-v3.png"
|
|
17543
17543
|
}
|
|
17544
17544
|
};
|
|
17545
17545
|
const useReport2 = inject("useReport");
|
|
@@ -18095,13 +18095,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18095
18095
|
var _a;
|
|
18096
18096
|
const layoutConfig2 = useLayoutConfig();
|
|
18097
18097
|
const { t: $t } = i18n.global;
|
|
18098
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
18099
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
18100
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
18101
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
18102
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
18103
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
18104
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
18098
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-D1tkYnKH.js"));
|
|
18099
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-w7MbXntY.js"));
|
|
18100
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DedMcgUY.js"));
|
|
18101
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-KjBadTut.js"));
|
|
18102
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CnPwPVER.js"));
|
|
18103
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-DnTQT5Jm.js"));
|
|
18104
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Chq7caoB.js"));
|
|
18105
18105
|
const props = __props;
|
|
18106
18106
|
const repoInfo = inject("repoInfo");
|
|
18107
18107
|
const orgInfo = inject("orgInfo");
|
|
@@ -18711,7 +18711,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18711
18711
|
}
|
|
18712
18712
|
});
|
|
18713
18713
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18714
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18714
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-BysDgtHg.js"));
|
|
18715
18715
|
function clearNotice() {
|
|
18716
18716
|
if (localStorage$2.getItem("validator_email")) {
|
|
18717
18717
|
localStorage$2.removeItem("validator_email");
|
|
@@ -19351,8 +19351,8 @@ const loadUserProjectsInvolved = async (requestFn, params = {}) => {
|
|
|
19351
19351
|
var _a;
|
|
19352
19352
|
return {
|
|
19353
19353
|
key: item.name,
|
|
19354
|
-
web_url: item.web_url,
|
|
19355
|
-
avatar: item.avatar,
|
|
19354
|
+
web_url: transformUrl(item.web_url),
|
|
19355
|
+
avatar: transformUrl(item.avatar),
|
|
19356
19356
|
id: item.id,
|
|
19357
19357
|
label: item.name,
|
|
19358
19358
|
namespace: (_a = item.namespace_info) == null ? void 0 : _a.name
|
|
@@ -20560,7 +20560,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20560
20560
|
}, 8, ["href"]),
|
|
20561
20561
|
createVNode(GLink, {
|
|
20562
20562
|
class: "custom-link",
|
|
20563
|
-
href: "https://gitcode.com/Gitcode-offical-team/GitCode-Docs/issues"
|
|
20563
|
+
href: unref(transformUrl)("https://gitcode.com/Gitcode-offical-team/GitCode-Docs/issues")
|
|
20564
20564
|
}, {
|
|
20565
20565
|
default: withCtx(() => [
|
|
20566
20566
|
createVNode(GIcon, {
|
|
@@ -20570,7 +20570,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20570
20570
|
createTextVNode(" " + toDisplayString$1(unref(t2)("gitCodeLayout.home.feedbackCenter")), 1)
|
|
20571
20571
|
]),
|
|
20572
20572
|
_: 1
|
|
20573
|
-
})
|
|
20573
|
+
}, 8, ["href"])
|
|
20574
20574
|
], 2),
|
|
20575
20575
|
createElementVNode("div", _hoisted_9$2, [
|
|
20576
20576
|
createElementVNode("p", {
|
|
@@ -25305,7 +25305,7 @@ const _hoisted_9$1 = {
|
|
|
25305
25305
|
const _hoisted_10$1 = { class: "my-[32px]" };
|
|
25306
25306
|
const _hoisted_11$1 = { class: "flex items-center justify-between" };
|
|
25307
25307
|
const _hoisted_12$1 = { class: "cursor-pointer" };
|
|
25308
|
-
const GIT_CODE_LOGO_BLACK = "https://cdn-static.gitcode.
|
|
25308
|
+
const GIT_CODE_LOGO_BLACK = "https://cdn-static.gitcode.host/static/images/gitcode-logo-dark.png";
|
|
25309
25309
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
25310
25310
|
__name: "MFA",
|
|
25311
25311
|
props: {
|
|
@@ -25537,7 +25537,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25537
25537
|
}
|
|
25538
25538
|
});
|
|
25539
25539
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
25540
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
25540
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-DFo9WWkb.js"));
|
|
25541
25541
|
const useSlidCaptcha = () => {
|
|
25542
25542
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
25543
25543
|
const open = (config) => {
|
|
@@ -25564,7 +25564,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
25564
25564
|
createElementVNode("div", { class: "w-full flex-center" }, [
|
|
25565
25565
|
createElementVNode("img", {
|
|
25566
25566
|
class: "w-[60px] h-[60px]",
|
|
25567
|
-
src: "https://cdn-static.gitcode.
|
|
25567
|
+
src: "https://cdn-static.gitcode.host/static/images/common/loading.gif",
|
|
25568
25568
|
alt: "loading"
|
|
25569
25569
|
})
|
|
25570
25570
|
]),
|
|
@@ -25772,8 +25772,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25772
25772
|
const IconW = TransAssetsUrl(IconSource, "logo-wechat");
|
|
25773
25773
|
const IconHb = TransAssetsUrl(IconSource, "logo-hb");
|
|
25774
25774
|
const logoType = {
|
|
25775
|
-
black: "https://cdn-static.gitcode.
|
|
25776
|
-
white: "https://cdn-static.gitcode.
|
|
25775
|
+
black: "https://cdn-static.gitcode.host/static/images/gitcode-logo-white.png",
|
|
25776
|
+
white: "https://cdn-static.gitcode.host/static/images/gitcode-logo-dark.png"
|
|
25777
25777
|
};
|
|
25778
25778
|
const formErrors = reactive({});
|
|
25779
25779
|
const extraErrors = reactive({
|
|
@@ -26948,7 +26948,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26948
26948
|
}, [
|
|
26949
26949
|
createElementVNode("div", _hoisted_38, [
|
|
26950
26950
|
_cache[16] || (_cache[16] = createElementVNode("img", {
|
|
26951
|
-
src: "https://cdn-static.gitcode.
|
|
26951
|
+
src: "https://cdn-static.gitcode.host/static/images/guide/openharmony.svg",
|
|
26952
26952
|
alt: "",
|
|
26953
26953
|
class: "w-[32px] h-[32px] inline-block harmony-icon-img"
|
|
26954
26954
|
}, null, -1)),
|
|
@@ -27243,16 +27243,17 @@ const index = {
|
|
|
27243
27243
|
}
|
|
27244
27244
|
};
|
|
27245
27245
|
export {
|
|
27246
|
-
|
|
27247
|
-
|
|
27248
|
-
|
|
27249
|
-
|
|
27246
|
+
_sfc_main as A,
|
|
27247
|
+
GitCodeAside as B,
|
|
27248
|
+
GitCodeHeader as C,
|
|
27249
|
+
useLogin as D,
|
|
27250
27250
|
EVENT_NAME as E,
|
|
27251
|
-
|
|
27251
|
+
setLayoutConfig as F,
|
|
27252
27252
|
GIcon as G,
|
|
27253
|
-
|
|
27254
|
-
|
|
27255
|
-
|
|
27253
|
+
GitCodeLayoutEmitter as H,
|
|
27254
|
+
currentTheme as I,
|
|
27255
|
+
setTheme as J,
|
|
27256
|
+
index as K,
|
|
27256
27257
|
LANG_KEY as L,
|
|
27257
27258
|
REPO_MODULE as R,
|
|
27258
27259
|
SceneValue as S,
|
|
@@ -27263,25 +27264,25 @@ export {
|
|
|
27263
27264
|
REPO_TYPE as c,
|
|
27264
27265
|
debounce$1 as d,
|
|
27265
27266
|
extractRepoInfoWithURL as e,
|
|
27266
|
-
|
|
27267
|
-
|
|
27267
|
+
transferNumber as f,
|
|
27268
|
+
useRequestReport as g,
|
|
27268
27269
|
headRequest as h,
|
|
27269
27270
|
isPhone as i,
|
|
27270
|
-
|
|
27271
|
-
|
|
27271
|
+
useTimeFormat as j,
|
|
27272
|
+
LANG_ZH as k,
|
|
27272
27273
|
localStorage$2 as l,
|
|
27273
|
-
|
|
27274
|
-
|
|
27275
|
-
|
|
27276
|
-
|
|
27277
|
-
|
|
27274
|
+
usePageResize as m,
|
|
27275
|
+
isGstarRepo as n,
|
|
27276
|
+
_sfc_main$w as o,
|
|
27277
|
+
isIncubationRepo as p,
|
|
27278
|
+
highlightWords as q,
|
|
27278
27279
|
reqCatch as r,
|
|
27279
27280
|
setLoginTriggerSource as s,
|
|
27280
|
-
|
|
27281
|
+
transformUrl as t,
|
|
27281
27282
|
useModel as u,
|
|
27282
27283
|
vElementExposure as v,
|
|
27283
|
-
|
|
27284
|
-
|
|
27285
|
-
|
|
27286
|
-
|
|
27284
|
+
transWebUrl as w,
|
|
27285
|
+
_frEventTrack as x,
|
|
27286
|
+
useLayoutConfig as y,
|
|
27287
|
+
ToolsFloat as z
|
|
27287
27288
|
};
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B, C, H, A, S, z, I, K, F, J, D } from "./index-SzoRo88A.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
B as GitCodeAside,
|
|
4
|
+
C as GitCodeHeader,
|
|
5
|
+
H as GitCodeLayoutEmitter,
|
|
6
|
+
A as Login,
|
|
7
7
|
S as SceneValue,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
z as ToolsFloat,
|
|
9
|
+
I as currentTheme,
|
|
10
|
+
K as default,
|
|
11
|
+
F as setLayoutConfig,
|
|
12
|
+
J as setTheme,
|
|
13
|
+
D 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-SzoRo88A.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";
|