vue-layout-gitcode 1.12.15-beta.11 → 1.12.15-beta.12
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-DxJ6MLn8.js → GloabarSearch-B_hpcegG.js} +8 -8
- package/{MenuItem-D4MiC6IG.js → MenuItem-BEwOFYk1.js} +3 -3
- package/{ProjectMenuList-DZGYiODT.js → ProjectMenuList-DsFXRFSj.js} +11 -11
- package/{ProjectMenuListV2-EV89LR2x.js → ProjectMenuListV2-CCc786iD.js} +7 -7
- package/{ProjectSearch-BEwuDaPM.js → ProjectSearch-CnPDrJlb.js} +26 -18
- package/{SearchHistoryList-DmaxAvK8.js → SearchHistoryList-Yi-4pyqJ.js} +9 -9
- package/{SearchRecommed-DZluuC-H.js → SearchRecommed-BR0w0PYW.js} +6 -6
- package/{SearchScopeList-BYE_KyGE.js → SearchScopeList-BN0GfdPL.js} +4 -4
- package/{UserSearch-BzHQXmzE.js → UserSearch-BN-ZiXtK.js} +5 -5
- package/{index-G58a172b.js → index-3u6RC7b4.js} +626 -571
- package/{index-EOrZj5ss.js → index-BeEeW2_Y.js} +1 -1
- package/{index-BOScKrtu.js → index-DvUzd0X8.js} +32 -32
- package/{index-BxHk52W8.js → index-rlBUBry4.js} +1 -1
- package/index.d.ts +18 -0
- package/index.js +14 -13
- package/{notice-B43kh3GE.js → notice-tL8zkoWs.js} +6 -5
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-C4Zf5RBI.js → transWebUrl-BFPL9TTH.js} +1 -1
|
@@ -57,9 +57,9 @@ import { Checkbox } from "vue-devui-lal/checkbox";
|
|
|
57
57
|
import "vue-devui-lal/checkbox/style.css";
|
|
58
58
|
import { Modal } from "vue-devui-lal/modal";
|
|
59
59
|
import "vue-devui-lal/modal/style.css";
|
|
60
|
-
const _hoisted_1$
|
|
61
|
-
const _hoisted_2$
|
|
62
|
-
const _sfc_main$
|
|
60
|
+
const _hoisted_1$D = ["xlink:href"];
|
|
61
|
+
const _hoisted_2$s = ["xlink:href"];
|
|
62
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
63
63
|
__name: "index",
|
|
64
64
|
props: {
|
|
65
65
|
name: { default: "gt-run" },
|
|
@@ -88,7 +88,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
88
88
|
}, [
|
|
89
89
|
createElementVNode("use", {
|
|
90
90
|
"xlink:href": `#${__props.name}`
|
|
91
|
-
}, null, 8, _hoisted_1$
|
|
91
|
+
}, null, 8, _hoisted_1$D)
|
|
92
92
|
], 6)),
|
|
93
93
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
94
94
|
], 2)) : (openBlock(), createElementBlock("svg", {
|
|
@@ -99,7 +99,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
99
99
|
}, [
|
|
100
100
|
createElementVNode("use", {
|
|
101
101
|
"xlink:href": `#${__props.name}`
|
|
102
|
-
}, null, 8, _hoisted_2$
|
|
102
|
+
}, null, 8, _hoisted_2$s)
|
|
103
103
|
], 6));
|
|
104
104
|
};
|
|
105
105
|
}
|
|
@@ -111,7 +111,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
111
111
|
}
|
|
112
112
|
return target;
|
|
113
113
|
};
|
|
114
|
-
const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
114
|
+
const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
115
115
|
const defaultConfig = {
|
|
116
116
|
VITE_ENV: "production",
|
|
117
117
|
VITE_HOST: "https://gitcode.com",
|
|
@@ -9601,9 +9601,9 @@ const currentHelpDocsAiCommunityUrl = () => {
|
|
|
9601
9601
|
const baseUrl = isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
|
|
9602
9602
|
return appendLangPathToHelpDocsUrl(baseUrl);
|
|
9603
9603
|
};
|
|
9604
|
-
const _hoisted_1$
|
|
9605
|
-
const _hoisted_2$
|
|
9606
|
-
const _hoisted_3$
|
|
9604
|
+
const _hoisted_1$C = { class: "home-nav-right" };
|
|
9605
|
+
const _hoisted_2$r = { class: "home-nav-item" };
|
|
9606
|
+
const _hoisted_3$q = { class: "tooltip-sign" };
|
|
9607
9607
|
const _hoisted_4$j = { class: "home-nav-tooltip-wrapper" };
|
|
9608
9608
|
const _hoisted_5$f = { class: "home-nav-text" };
|
|
9609
9609
|
const _hoisted_6$d = { class: "home-nav-tooltip-wrapper" };
|
|
@@ -9614,11 +9614,11 @@ const _hoisted_8$9 = {
|
|
|
9614
9614
|
};
|
|
9615
9615
|
const _hoisted_9$7 = { class: "home-nav-tooltip-wrapper" };
|
|
9616
9616
|
const _hoisted_10$7 = { class: "home-nav-text" };
|
|
9617
|
-
const _hoisted_11$6 = { class: "
|
|
9617
|
+
const _hoisted_11$6 = { class: "tools-float-feedback-sub" };
|
|
9618
9618
|
const _hoisted_12$5 = { class: "qrcode-wrapper" };
|
|
9619
|
-
const _hoisted_13$2 = { class: "
|
|
9619
|
+
const _hoisted_13$2 = { class: "qrcode-wrapper__title" };
|
|
9620
9620
|
const _hoisted_14$2 = { class: "tools-list-item" };
|
|
9621
|
-
const _hoisted_15$2 = { class: "g-card
|
|
9621
|
+
const _hoisted_15$2 = { class: "g-card tools-float-nps-card" };
|
|
9622
9622
|
const _hoisted_16$2 = {
|
|
9623
9623
|
key: 0,
|
|
9624
9624
|
class: "opinion-box"
|
|
@@ -9627,35 +9627,35 @@ const _hoisted_17$2 = { class: "tab-step" };
|
|
|
9627
9627
|
const _hoisted_18$2 = ["onClick"];
|
|
9628
9628
|
const _hoisted_19$2 = {
|
|
9629
9629
|
key: 0,
|
|
9630
|
-
class: "rate
|
|
9630
|
+
class: "rate tools-float-stage"
|
|
9631
9631
|
};
|
|
9632
9632
|
const _hoisted_20$2 = {
|
|
9633
9633
|
key: 0,
|
|
9634
|
-
class: "
|
|
9634
|
+
class: "tools-float-stage__corner"
|
|
9635
9635
|
};
|
|
9636
|
-
const _hoisted_21$2 = { class: "
|
|
9637
|
-
const _hoisted_22$2 = { class: "
|
|
9636
|
+
const _hoisted_21$2 = { class: "tools-float-stage__title" };
|
|
9637
|
+
const _hoisted_22$2 = { class: "tools-float-stage__rate-row" };
|
|
9638
9638
|
const _hoisted_23$1 = ["onMouseover", "onClick"];
|
|
9639
9639
|
const _hoisted_24$1 = {
|
|
9640
9640
|
key: 1,
|
|
9641
|
-
class: "Opinion
|
|
9641
|
+
class: "Opinion tools-float-stage"
|
|
9642
9642
|
};
|
|
9643
9643
|
const _hoisted_25$1 = {
|
|
9644
9644
|
key: 0,
|
|
9645
|
-
class: "
|
|
9645
|
+
class: "tools-float-stage__corner"
|
|
9646
9646
|
};
|
|
9647
|
-
const _hoisted_26$1 = { class: "
|
|
9648
|
-
const _hoisted_27$1 = { class: "
|
|
9647
|
+
const _hoisted_26$1 = { class: "tools-float-stage__title" };
|
|
9648
|
+
const _hoisted_27$1 = { class: "tools-float-stage__textarea" };
|
|
9649
9649
|
const _hoisted_28$1 = {
|
|
9650
9650
|
key: 1,
|
|
9651
|
-
class: "finish
|
|
9651
|
+
class: "finish tools-float-finish"
|
|
9652
9652
|
};
|
|
9653
|
-
const _hoisted_29$1 = { class: "
|
|
9654
|
-
const _hoisted_30$1 = { class: "
|
|
9653
|
+
const _hoisted_29$1 = { class: "tools-float-finish__icon" };
|
|
9654
|
+
const _hoisted_30$1 = { class: "tools-float-finish__text" };
|
|
9655
9655
|
const _hoisted_31$1 = { class: "home-nav-item collapse-tool" };
|
|
9656
9656
|
const _hoisted_32$1 = { class: "home-nav-item" };
|
|
9657
9657
|
const _hoisted_33$1 = ["src", "alt"];
|
|
9658
|
-
const _sfc_main$
|
|
9658
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
9659
9659
|
__name: "index",
|
|
9660
9660
|
props: {
|
|
9661
9661
|
sceneValue: { default: SceneValue.home },
|
|
@@ -9897,7 +9897,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9897
9897
|
size: "18px"
|
|
9898
9898
|
})
|
|
9899
9899
|
])) : createCommentVNode("", true),
|
|
9900
|
-
createElementVNode("div", _hoisted_1$
|
|
9900
|
+
createElementVNode("div", _hoisted_1$C, [
|
|
9901
9901
|
inviteVisible.value && isModuleVisible(unref(ToolsFloatDisplayItem).INVITE) ? (openBlock(), createBlock(unref(Tooltip), {
|
|
9902
9902
|
key: 0,
|
|
9903
9903
|
position: "left",
|
|
@@ -9913,13 +9913,13 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9913
9913
|
class: "home-nav-link computing",
|
|
9914
9914
|
onClick: handleInvite
|
|
9915
9915
|
}, [
|
|
9916
|
-
createElementVNode("div", _hoisted_2$
|
|
9916
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
9917
9917
|
_cache[5] || (_cache[5] = createElementVNode("img", {
|
|
9918
|
-
class: "common-icon
|
|
9918
|
+
class: "common-icon tools-float-icon",
|
|
9919
9919
|
src: "https://cdn-static.gitcode.com/static/images/homeweb/invite.svg",
|
|
9920
9920
|
alt: ""
|
|
9921
9921
|
}, null, -1)),
|
|
9922
|
-
createElementVNode("div", _hoisted_3$
|
|
9922
|
+
createElementVNode("div", _hoisted_3$q, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
|
|
9923
9923
|
])
|
|
9924
9924
|
])
|
|
9925
9925
|
]),
|
|
@@ -9943,7 +9943,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9943
9943
|
}, [..._cache[6] || (_cache[6] = [
|
|
9944
9944
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
9945
9945
|
createElementVNode("img", {
|
|
9946
|
-
class: "common-icon
|
|
9946
|
+
class: "common-icon tools-float-icon",
|
|
9947
9947
|
src: "https://cdn-static.gitcode.com/static/images/homeweb/czzx.svg",
|
|
9948
9948
|
alt: ""
|
|
9949
9949
|
})
|
|
@@ -9966,14 +9966,14 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9966
9966
|
])
|
|
9967
9967
|
]),
|
|
9968
9968
|
default: withCtx(() => [
|
|
9969
|
-
createElementVNode("div", { class: "tools-list-item
|
|
9969
|
+
createElementVNode("div", { class: "tools-list-item tools-list-item--gap" }, [
|
|
9970
9970
|
createElementVNode("div", {
|
|
9971
9971
|
id: "gitcode-desk-btn",
|
|
9972
9972
|
class: "home-nav-item kefu",
|
|
9973
9973
|
onClick: showDesk
|
|
9974
9974
|
}, [..._cache[7] || (_cache[7] = [
|
|
9975
9975
|
createElementVNode("img", {
|
|
9976
|
-
class: "
|
|
9976
|
+
class: "tools-float-icon",
|
|
9977
9977
|
src: "https://cdn-static.gitcode.com/static/images/desk/kefu.png",
|
|
9978
9978
|
alt: ""
|
|
9979
9979
|
}, null, -1),
|
|
@@ -10003,12 +10003,12 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10003
10003
|
_cache[9] || (_cache[9] = createElementVNode("a", { class: "home-nav-link tools-list-item" }, [
|
|
10004
10004
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
10005
10005
|
createElementVNode("img", {
|
|
10006
|
-
class: "common-icon
|
|
10006
|
+
class: "common-icon tools-float-icon",
|
|
10007
10007
|
src: "https://cdn-static.gitcode.com/static/images/desk/follow-us.svg",
|
|
10008
10008
|
alt: ""
|
|
10009
10009
|
}),
|
|
10010
10010
|
createElementVNode("img", {
|
|
10011
|
-
class: "active-icon
|
|
10011
|
+
class: "active-icon tools-float-icon",
|
|
10012
10012
|
src: "https://cdn-static.gitcode.com/static/images/desk/follow-us-hover.svg",
|
|
10013
10013
|
alt: ""
|
|
10014
10014
|
})
|
|
@@ -10032,10 +10032,10 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10032
10032
|
(openBlock(), createElementBlock(Fragment, null, renderList(opinionStepList, (item) => {
|
|
10033
10033
|
return createElementVNode("div", {
|
|
10034
10034
|
key: item.index,
|
|
10035
|
-
class: normalizeClass(["tab-item
|
|
10035
|
+
class: normalizeClass(["tab-item", opinionStep.value === item.index ? "tab-item--active" : "tab-item--inactive"]),
|
|
10036
10036
|
onClick: ($event) => swTab(item)
|
|
10037
10037
|
}, [..._cache[11] || (_cache[11] = [
|
|
10038
|
-
createElementVNode("span", { class: "cursor-pointer" }, null, -1)
|
|
10038
|
+
createElementVNode("span", { class: "tools-float-cursor-pointer" }, null, -1)
|
|
10039
10039
|
])], 10, _hoisted_18$2);
|
|
10040
10040
|
}), 64))
|
|
10041
10041
|
]),
|
|
@@ -10051,7 +10051,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10051
10051
|
(openBlock(), createElementBlock(Fragment, null, renderList(rateIcon, (ico) => {
|
|
10052
10052
|
return createElementVNode("div", {
|
|
10053
10053
|
key: ico.name,
|
|
10054
|
-
class: normalizeClass(["opinion-item
|
|
10054
|
+
class: normalizeClass(["opinion-item", { active: rateNow.value === ico.index }]),
|
|
10055
10055
|
onMouseover: ($event) => activeOp(ico.index),
|
|
10056
10056
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => activeOp(null)),
|
|
10057
10057
|
onClick: ($event) => selectOpinion(ico)
|
|
@@ -10121,12 +10121,12 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10121
10121
|
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
10122
10122
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
10123
10123
|
createElementVNode("img", {
|
|
10124
|
-
class: "common-icon
|
|
10124
|
+
class: "common-icon tools-float-icon",
|
|
10125
10125
|
src: "https://cdn-static.gitcode.com/static/images/desk/plane-smile.png",
|
|
10126
10126
|
alt: ""
|
|
10127
10127
|
}),
|
|
10128
10128
|
createElementVNode("img", {
|
|
10129
|
-
class: "active-icon
|
|
10129
|
+
class: "active-icon tools-float-icon",
|
|
10130
10130
|
src: "https://cdn-static.gitcode.com/static/images/desk/plane-smile-hover.png",
|
|
10131
10131
|
alt: ""
|
|
10132
10132
|
})
|
|
@@ -10165,7 +10165,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10165
10165
|
default: withCtx(() => [
|
|
10166
10166
|
showScrollToTopBtn.value ? (openBlock(), createElementBlock("div", {
|
|
10167
10167
|
key: 0,
|
|
10168
|
-
class: "
|
|
10168
|
+
class: "home-nav-link tools-questionnaire tools-float-scroll-top",
|
|
10169
10169
|
onClick: _cache[4] || (_cache[4] = //@ts-ignore
|
|
10170
10170
|
(...args) => unref(scrollToTop) && unref(scrollToTop)(...args))
|
|
10171
10171
|
}, [
|
|
@@ -10181,7 +10181,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10181
10181
|
}),
|
|
10182
10182
|
isModuleVisible(unref(ToolsFloatDisplayItem).AD) && activeAdItem.value && activeAdItem.value.imgUrl ? (openBlock(), createElementBlock("div", {
|
|
10183
10183
|
key: 3,
|
|
10184
|
-
class: "active-tips
|
|
10184
|
+
class: "active-tips",
|
|
10185
10185
|
onClick: withModifiers(handleActive, ["stop"])
|
|
10186
10186
|
}, [
|
|
10187
10187
|
createElementVNode("div", {
|
|
@@ -10199,7 +10199,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10199
10199
|
};
|
|
10200
10200
|
}
|
|
10201
10201
|
});
|
|
10202
|
-
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10202
|
+
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
10203
10203
|
var repoTypeEnum = /* @__PURE__ */ ((repoTypeEnum2) => {
|
|
10204
10204
|
repoTypeEnum2["NORMAL"] = "0";
|
|
10205
10205
|
repoTypeEnum2["MODEL"] = "1";
|
|
@@ -10341,8 +10341,8 @@ const collectRegisterLoginEvent = ({ isRegister, registerLoginMethod, success, e
|
|
|
10341
10341
|
delete reportData["utm_source"];
|
|
10342
10342
|
window.collectEvent("beconEvent", isRegister ? "register" : "login", reportData);
|
|
10343
10343
|
};
|
|
10344
|
-
const _hoisted_1$
|
|
10345
|
-
const _sfc_main$
|
|
10344
|
+
const _hoisted_1$B = ["href", "target", "disabled"];
|
|
10345
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
10346
10346
|
...{
|
|
10347
10347
|
name: "GLink"
|
|
10348
10348
|
},
|
|
@@ -10386,11 +10386,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
10386
10386
|
disabled: __props.disabled || __props.noPointer
|
|
10387
10387
|
}, [
|
|
10388
10388
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
10389
|
-
], 10, _hoisted_1$
|
|
10389
|
+
], 10, _hoisted_1$B));
|
|
10390
10390
|
};
|
|
10391
10391
|
}
|
|
10392
10392
|
});
|
|
10393
|
-
const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10393
|
+
const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
10394
10394
|
const headerHeight = ref(56);
|
|
10395
10395
|
const useHeaderHeight = () => {
|
|
10396
10396
|
const setHeaderHeight = (height) => {
|
|
@@ -11026,7 +11026,7 @@ if (isBrowser) {
|
|
|
11026
11026
|
}
|
|
11027
11027
|
const sessionStorage$1 = sessionStorage;
|
|
11028
11028
|
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAmsSURBVHgB7VpdbxxnFT7nfccmRam6/gXZXIBy1y3qRe8YR6kUoUpdbhACJNtShFJUSCyBBFd2I1ClAoklVAE32BYXRAJqIwEyUOrNL4h70dtm+wvqNG7deGbe03PO+7Gzlr27/kpzsSeazO5kZvZ95jnnOR8TgLGNbWxjG9vYDjWEp8zyNjUg22lBiS1TuOeNo5YFbBgyTUMAFgz4PXYnDEzf3XimO+h+GTwFls9S43G5O2NLaLtqp2VKaJiSCB0yGEQEJAHFIMkwKXxMjl8AopwvXxl07y8V4EvXdnMo3cye+6xtK3jOVISmYCAlb/KZgTBT4Pd8TD+TfGegiApyiH0pAF+6vpvzOhegoNxUvNiSwZS88II32VcAniVhTIAya6AgeS9/AK0AFXKH2BMFmN+kxqfF4wVXwA0snQdUgQcXtwoFgLJk/T6xqG7Kx2w4xi5Mw37ziQF88fXd/NHe58scZxfYBdGzBQkYFkxVpSBQAXkXZJC8CYMUXTQCxZEU0sATsG/c+PwOL3/TVnhBY0vYqyABk7jjGJSnvc0L72qMeQaxB8gIWGGPgtjw+fRw2G+fKYMv/nQ3dwUuG2VNGfPMCagYd+yiWFGXH8Dcfzae7cRr2y/vzHJKuM3gGh4cX+tUXKAHHLvD1nDqAFuLnMc+ezyLlXnVFS5XN4ziUQpbAgySqGAF3Qmqpjc2prr1+6z/7/zK917e2XJg70eXtMFtmT3vtkDbw9ZzKon+0pvUnHhc5FTiDC+a8xg1AqAeuCIATIqpqUCUcva/G+dXD7v39y/v3WGtvGlDHhT2VGD4+zkwU0sdHAjyWAxeukPN0rk2L/J5jp0c98omRcGoakCKnoik3BZFpRQmDHz1XPGPQb9ljemgo5uqrME1hRWpZIaBOzLA5u+paQtYLsX1Ks8ABpZEJDAy0wcuuWUQFU0FZFBiCmh9fWrgIvmah2iikqJPH8j3Q3h/lDWPrKLNt9n1CrrP+csn5+hyhVN2cE/VkIL7UQIXXJKBkX8QoTLhLeNE/cqVR/nABRpq8oNgl/R50fKDsfp0cG2UdY8EsLnMMVXBGi/4OSvMFE4XbXnxtopMyTEXlNFFEQmqGR6IVigQVVBSAWQ2mxn023zWgj4MERjJg6wslv3OTMC9UdY+EsDsISx4qYeecIgCMns+j0VBCUAkaSc2fcxZ513MahaLUs/XOJz5zpXdhf2/eZO7imt5cYfBNbkk89UN/2Wt7jtLG8NThD6gYSc0WVAy5x54twzMiEDsOS8a+/KaFXctqFah+PhM8aN1pCFflYSqhUQMcIvBrPDnh/xvF9glZxUcqKCw2PBemBOA6OZ+/e9sBUawoQC/dts9QGEvyb1DDyLGmcP+dKAu7MWHY9CD6wGJUh9rTHG/UHv6mtMBxHNDyabgBJjN+GEZ7L71L3MRRrSBKvr13xJX/K5py6CWQe49uAgUA9CacqrCgiRxBReSMwYwmBbv/PFQY1I6FyXeQu3JMafgdOPjhlbhCHYoQMl1VLhFLFMq6CXp0ss+ps91Nw0PoFIgqXAOe5V7jF2BB5diUhllcCgs8lkh5lBc0wOELv/CCpwGQCroDvbnsH4gyhz0qpJ6T1ehFxBfYlESlBqbsWnt6xS0BZIYkwTvgSX2BCSz98t3TBeOYAfG4KU3ixwcbpr9zNVbnCIJSmSOcE/Usq8TT66Zvke2yAMSN62XXypE/CVL4CiIC3Z/9ffRYw8GMUgOb2S9uDuIuRCLdRfl4YmLAKJi1kQDtFHt7+sAUroQcJzEGQhhxh8YEMeegGOWeZ9N4DQcww4EyMm8lUQlxlMCF5SzSK7pK5Z6zGm+gygUDLWW96AmJnXBAc+c5jmvmOgFRkYT8Mbi3dHy3n47MNEjuG/bgrZToSzlWFBOTfBclmEsrKtQRGs745N4HDlEoKl/A8+irXUF0uvptfyFFRJqiklh3731N7sIx7QDGfxgcXKr9fPdF0xpZpjJpq14CZXTeQlUjmeU1LAFflNd1Lugd0+o5bveyCG5pSWsl2qQ4s5qKsAAKqgmPzQ+MTPuDTiBHbsfnH7lExlB5LXRQm3EkJJ5YJFrVj8Ng16CD6ADY3W19PUmCeDuwl+OLix1O/ZMxpbY6WND48r/8SoJyT2TgjrwM5U4ejBQT+ReVEL8yT7LTsae2LFHFnzhPaxJvwmioi2NqqKh9AB6M03vxj7PxdoSA3PskqKerJiqoPJvpgMntJEYlPcFl9uP1vJv8TuDYBs8IGK366TOoDfew1ploqzG2EsTamFuXxKXOLS6MThR0Azu/WLleMpZt6EM6ssQ+HQTKmhxLPFnSPkoq9w8w7kfhAXrc0uLWC/HQicuSokQSi8VFE0DNpRk1gNX0BO4DqdgZhRwnAZakhZ4LfnVq70OnCdfW8aZeY0pCnNLrSf9GyDjAjBhTjvx0BHYmkpmQWgyVKDqnpnQX440kjg2wDo4yYVZSuDY14G/8+65JSbjlk/aRgXEhpFEHL2r+5rohqjllzKVEZhYivETUbCBwZ/9YaIDZwkQYIcHtk7BCQvowhgdcLZ9ld8K1ezuu88sctjMsQt/JC6JFAe0Rl2Vi2Sf2zxbJHspx2RLzPnc5/OhwQ6ckh0K0Mo7uirlLazFklQvy9+9utusn//n9yZXVt+bvIhEcxnRvfSiJDSrPgWI/OsGsQyzNbeMdSczuwVnDfD//3x2+vxXqqmswhdSJ06hM+BRAlRm8wdXuOvYZ3/qTK78sZNNy1CWF7uqOU3Z8e6X1DMd90OkkOxD/JmRBkonAigmM0t+yg27r8XxsQVNbjs2Zy/vLV87AKgMZTNrHphepRJryyQq3j1DUpcyLdNOovvjpdNR0KEAxfg3W2mkUJuraCog7Q1moMLNH+buw+t5P1BTYybLVDUpxCKpm6ZeT87V7kEGSieuXo4EkJ/zq71SLPV2aHsvJH1sAl3k5JD33TxUK6FhpSyopWctdQuh7lT3nH/t9mjTslFtaKKX/+Vgomv29pReK8euHczK2x1c7Lv5pNOXzCE1qFJpM5tRck3f97FqUjn/o99Mnpq4jASwnX/cCFVJlxN6B8m9n7lJjo9ShrGbCSgquLn91xumS1XReLc0me/5bOr54GNm+dbrS2YJzsgGAlzvTG2323Txr+v9b3Gu57vgaBJC4bx6EDi9eVZ9pNWo1pYI/eCwU1mc+8nSyevNQXbsfvC13K2xi24fBk5scZYaWUUfcgxOxZqT43Cbg3d+/nenG2uH2Zn/T6e3ZvdarCJrIjA8w181k9nS/NLw93pjG9vYxja2p8G+ADz7MtW/3lU1AAAAAElFTkSuQmCC";
|
|
11029
|
-
const _sfc_main$
|
|
11029
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
11030
11030
|
...{
|
|
11031
11031
|
name: "GAvatar"
|
|
11032
11032
|
},
|
|
@@ -11072,8 +11072,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
11072
11072
|
};
|
|
11073
11073
|
}
|
|
11074
11074
|
});
|
|
11075
|
-
const _hoisted_1$
|
|
11076
|
-
const _sfc_main$
|
|
11075
|
+
const _hoisted_1$A = ["src"];
|
|
11076
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
11077
11077
|
...{ name: "FlashTag" },
|
|
11078
11078
|
__name: "FlashTag",
|
|
11079
11079
|
props: {
|
|
@@ -11112,13 +11112,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
11112
11112
|
}, {
|
|
11113
11113
|
default: withCtx(() => [
|
|
11114
11114
|
createElementVNode("span", mergeProps({
|
|
11115
|
-
class: ["gc-flash-tag
|
|
11115
|
+
class: ["gc-flash-tag", { "gc-trusted-tag": __props.trusted, "gc-flash-tag--clickable": __props.clickEnabled, "gc-flash-tag--default": !__props.clickEnabled, "gc-icon-tag": __props.icon }]
|
|
11116
11116
|
}, _ctx.$attrs, { onClick: handleClick }), [
|
|
11117
11117
|
__props.icon ? (openBlock(), createElementBlock("img", {
|
|
11118
11118
|
key: 0,
|
|
11119
|
-
class: "
|
|
11119
|
+
class: "gc-flash-tag__icon",
|
|
11120
11120
|
src: iconUrl.value
|
|
11121
|
-
}, null, 8, _hoisted_1$
|
|
11121
|
+
}, null, 8, _hoisted_1$A)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1)
|
|
11122
11122
|
], 16)
|
|
11123
11123
|
]),
|
|
11124
11124
|
_: 3
|
|
@@ -11926,66 +11926,66 @@ const useTimeFormat = () => {
|
|
|
11926
11926
|
formatTime
|
|
11927
11927
|
};
|
|
11928
11928
|
};
|
|
11929
|
-
const _hoisted_1$
|
|
11929
|
+
const _hoisted_1$z = {
|
|
11930
11930
|
key: 0,
|
|
11931
11931
|
class: "org-layout-toolbar"
|
|
11932
11932
|
};
|
|
11933
|
-
const _hoisted_2$
|
|
11934
|
-
const _hoisted_3$
|
|
11935
|
-
const _hoisted_4$i = { class: "
|
|
11933
|
+
const _hoisted_2$q = { class: "org-layout-toolbar-title ellipsis-two-line" };
|
|
11934
|
+
const _hoisted_3$p = { class: "header-custom-btn-label" };
|
|
11935
|
+
const _hoisted_4$i = { class: "g-repo-breadcrumb-custom" };
|
|
11936
11936
|
const _hoisted_5$e = {
|
|
11937
11937
|
key: 1,
|
|
11938
|
-
class: "
|
|
11938
|
+
class: "header-custom-mirrors-avatar"
|
|
11939
11939
|
};
|
|
11940
11940
|
const _hoisted_6$c = {
|
|
11941
11941
|
key: 0,
|
|
11942
11942
|
src: _imports_0,
|
|
11943
11943
|
alt: "mirrors-avatar-phone",
|
|
11944
|
-
class: "
|
|
11944
|
+
class: "header-custom-mirrors-img"
|
|
11945
11945
|
};
|
|
11946
11946
|
const _hoisted_7$9 = {
|
|
11947
11947
|
key: 1,
|
|
11948
11948
|
src: "https://cdn-static.gitcode.com/static/images/mirrors-avata_20250411.gif",
|
|
11949
11949
|
alt: "mirrors-avatar",
|
|
11950
|
-
class: "
|
|
11950
|
+
class: "header-custom-mirrors-img-tall"
|
|
11951
11951
|
};
|
|
11952
11952
|
const _hoisted_8$8 = { class: "g-repo-breadcrumb-container" };
|
|
11953
11953
|
const _hoisted_9$6 = {
|
|
11954
11954
|
key: 0,
|
|
11955
|
-
class: "
|
|
11955
|
+
class: "header-custom-breadcrumb-row"
|
|
11956
11956
|
};
|
|
11957
11957
|
const _hoisted_10$6 = ["title"];
|
|
11958
11958
|
const _hoisted_11$5 = ["title"];
|
|
11959
11959
|
const _hoisted_12$4 = {
|
|
11960
11960
|
key: 0,
|
|
11961
|
-
class: "mb
|
|
11961
|
+
class: "header-custom-tag-mb"
|
|
11962
11962
|
};
|
|
11963
11963
|
const _hoisted_13$1 = {
|
|
11964
11964
|
key: 1,
|
|
11965
|
-
class: "mb
|
|
11965
|
+
class: "header-custom-tag-mb"
|
|
11966
11966
|
};
|
|
11967
11967
|
const _hoisted_14$1 = {
|
|
11968
11968
|
key: 2,
|
|
11969
|
-
class: "mb
|
|
11969
|
+
class: "header-custom-tag-mb"
|
|
11970
11970
|
};
|
|
11971
11971
|
const _hoisted_15$1 = {
|
|
11972
11972
|
key: 3,
|
|
11973
|
-
class: "mb
|
|
11973
|
+
class: "header-custom-tag-mb"
|
|
11974
11974
|
};
|
|
11975
|
-
const _hoisted_16$1 = { class: "
|
|
11975
|
+
const _hoisted_16$1 = { class: "header-custom-topic-label" };
|
|
11976
11976
|
const _hoisted_17$1 = {
|
|
11977
11977
|
key: 5,
|
|
11978
|
-
class: "topic-tag
|
|
11978
|
+
class: "topic-tag font-color-t2 gh_mirros_tag"
|
|
11979
11979
|
};
|
|
11980
|
-
const _hoisted_18$1 = { class: "
|
|
11981
|
-
const _hoisted_19$1 = { class: "
|
|
11980
|
+
const _hoisted_18$1 = { class: "header-custom-topic-label" };
|
|
11981
|
+
const _hoisted_19$1 = { class: "header-custom-skeleton" };
|
|
11982
11982
|
const _hoisted_20$1 = {
|
|
11983
11983
|
key: 2,
|
|
11984
11984
|
class: "user-layout-toolbar"
|
|
11985
11985
|
};
|
|
11986
|
-
const _hoisted_21$1 = { class: "user-layout-toolbar-title
|
|
11987
|
-
const _hoisted_22$1 = { class: "
|
|
11988
|
-
const _sfc_main$
|
|
11986
|
+
const _hoisted_21$1 = { class: "user-layout-toolbar-title ellipsis-two-line" };
|
|
11987
|
+
const _hoisted_22$1 = { class: "header-custom-btn-label" };
|
|
11988
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
11989
11989
|
__name: "HeaderCustom",
|
|
11990
11990
|
props: {
|
|
11991
11991
|
scene: { default: SceneValue.home },
|
|
@@ -12105,15 +12105,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12105
12105
|
});
|
|
12106
12106
|
return (_ctx, _cache) => {
|
|
12107
12107
|
var _a, _b, _c;
|
|
12108
|
-
return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
12108
|
+
return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
12109
12109
|
createVNode(GLink, {
|
|
12110
12110
|
href: ((_a = __props.orgProps) == null ? void 0 : _a.orgHomepageUrl) || "",
|
|
12111
|
-
class: "
|
|
12111
|
+
class: "header-custom-link"
|
|
12112
12112
|
}, {
|
|
12113
12113
|
default: withCtx(() => {
|
|
12114
12114
|
var _a2, _b2, _c2;
|
|
12115
12115
|
return [
|
|
12116
|
-
createVNode(_sfc_main$
|
|
12116
|
+
createVNode(_sfc_main$H, {
|
|
12117
12117
|
class: "g-border",
|
|
12118
12118
|
src: (_a2 = unref(orgInfo)) == null ? void 0 : _a2.avatar,
|
|
12119
12119
|
name: (_b2 = unref(orgInfo)) == null ? void 0 : _b2.name,
|
|
@@ -12121,7 +12121,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12121
12121
|
height: 28,
|
|
12122
12122
|
is_round: false
|
|
12123
12123
|
}, null, 8, ["src", "name"]),
|
|
12124
|
-
createElementVNode("div", _hoisted_2$
|
|
12124
|
+
createElementVNode("div", _hoisted_2$q, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
|
|
12125
12125
|
];
|
|
12126
12126
|
}),
|
|
12127
12127
|
_: 1
|
|
@@ -12136,7 +12136,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12136
12136
|
default: withCtx(() => {
|
|
12137
12137
|
var _a2;
|
|
12138
12138
|
return [
|
|
12139
|
-
createElementVNode("span", _hoisted_3$
|
|
12139
|
+
createElementVNode("span", _hoisted_3$p, toDisplayString$1(((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
|
|
12140
12140
|
];
|
|
12141
12141
|
}),
|
|
12142
12142
|
_: 1
|
|
@@ -12161,12 +12161,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12161
12161
|
createElementVNode("h2", _hoisted_4$i, [
|
|
12162
12162
|
createVNode(GLink, {
|
|
12163
12163
|
href: (_a2 = unref(breadcrumb)[0]) == null ? void 0 : _a2.path,
|
|
12164
|
-
class: "
|
|
12164
|
+
class: "header-custom-avatar-link"
|
|
12165
12165
|
}, {
|
|
12166
12166
|
default: withCtx(() => {
|
|
12167
12167
|
var _a3, _b3, _c3, _d2;
|
|
12168
12168
|
return [
|
|
12169
|
-
!((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$
|
|
12169
|
+
!((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$H, {
|
|
12170
12170
|
key: 0,
|
|
12171
12171
|
class: normalizeClass({ "g-border": isOrg.value }),
|
|
12172
12172
|
src: (_c3 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c3.avatar_url,
|
|
@@ -12186,7 +12186,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12186
12186
|
key: 0,
|
|
12187
12187
|
ref_key: "breadcrumbRef",
|
|
12188
12188
|
ref: breadcrumbRef,
|
|
12189
|
-
class: "g-repo-layout-breadcrumb
|
|
12189
|
+
class: "g-repo-layout-breadcrumb"
|
|
12190
12190
|
}, [
|
|
12191
12191
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(breadcrumb), (item, index2) => {
|
|
12192
12192
|
return openBlock(), createElementBlock(Fragment, {
|
|
@@ -12203,7 +12203,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12203
12203
|
ref_key: "breadcrumbTextRef",
|
|
12204
12204
|
ref: breadcrumbTextRef,
|
|
12205
12205
|
title: item.label,
|
|
12206
|
-
class: normalizeClass(["linkTx", index2 === unref(breadcrumb).length - 1 ? "
|
|
12206
|
+
class: normalizeClass(["linkTx", index2 === unref(breadcrumb).length - 1 ? "header-custom-bold" : ""])
|
|
12207
12207
|
}, toDisplayString$1(item.label), 11, _hoisted_10$6)
|
|
12208
12208
|
]),
|
|
12209
12209
|
_: 2
|
|
@@ -12217,7 +12217,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12217
12217
|
key: 1,
|
|
12218
12218
|
ref_key: "breadcrumbNextRef",
|
|
12219
12219
|
ref: breadcrumbNextRef,
|
|
12220
|
-
class: normalizeClass(["g-repo-layout-breadcrumb-next
|
|
12220
|
+
class: normalizeClass(["g-repo-layout-breadcrumb-next", [((_c2 = __props.repoProps) == null ? void 0 : _c2.isGhMirrors) ? "g-repo-layout-breadcrumb-next--full" : "g-repo-layout-breadcrumb-next--limit"]])
|
|
12221
12221
|
}, [
|
|
12222
12222
|
createVNode(GLink, {
|
|
12223
12223
|
class: "linkTx",
|
|
@@ -12228,13 +12228,13 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12228
12228
|
ref_key: "breadcrumbNextTextRef",
|
|
12229
12229
|
ref: breadcrumbNextTextRef,
|
|
12230
12230
|
title: unref(breadcrumb)[unref(breadcrumb).length - 1].label,
|
|
12231
|
-
class: "linkTx
|
|
12231
|
+
class: "linkTx header-custom-bold"
|
|
12232
12232
|
}, toDisplayString$1(unref(breadcrumb)[unref(breadcrumb).length - 1].label), 9, _hoisted_11$5)
|
|
12233
12233
|
]),
|
|
12234
12234
|
_: 1
|
|
12235
12235
|
}, 8, ["to"]),
|
|
12236
12236
|
unref(isGstarRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_12$4, [
|
|
12237
|
-
createVNode(_sfc_main$
|
|
12237
|
+
createVNode(_sfc_main$G, {
|
|
12238
12238
|
origin: "repo",
|
|
12239
12239
|
icon: "",
|
|
12240
12240
|
type: "gstar",
|
|
@@ -12246,7 +12246,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12246
12246
|
_: 1
|
|
12247
12247
|
}, 8, ["message"])
|
|
12248
12248
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
12249
|
-
createVNode(_sfc_main$
|
|
12249
|
+
createVNode(_sfc_main$G, {
|
|
12250
12250
|
origin: "repo",
|
|
12251
12251
|
icon: "",
|
|
12252
12252
|
type: "incubation",
|
|
@@ -12259,7 +12259,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12259
12259
|
}, 8, ["message"])
|
|
12260
12260
|
])) : createCommentVNode("", true),
|
|
12261
12261
|
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
12262
|
-
createVNode(_sfc_main$
|
|
12262
|
+
createVNode(_sfc_main$G, {
|
|
12263
12263
|
trusted: "",
|
|
12264
12264
|
message: unref(t2)("gitCodeLayout.trusted.title"),
|
|
12265
12265
|
icon: "",
|
|
@@ -12270,19 +12270,19 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12270
12270
|
((_d = __props.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_15$1, [
|
|
12271
12271
|
createVNode(GIcon, {
|
|
12272
12272
|
size: "16px",
|
|
12273
|
-
class: "
|
|
12273
|
+
class: "header-custom-lock-icon",
|
|
12274
12274
|
name: "gt-line-lock"
|
|
12275
12275
|
})
|
|
12276
12276
|
])) : createCommentVNode("", true),
|
|
12277
12277
|
topicTag.value ? (openBlock(), createElementBlock("div", {
|
|
12278
12278
|
key: 4,
|
|
12279
|
-
class: "topic-tag
|
|
12279
|
+
class: "topic-tag font-color-t2",
|
|
12280
12280
|
onClick: toAiHub
|
|
12281
12281
|
}, [
|
|
12282
12282
|
createVNode(GIcon, {
|
|
12283
12283
|
name: (_e = topicTag.value) == null ? void 0 : _e.icon,
|
|
12284
12284
|
color: "var(--devui-shape-icon-fill)",
|
|
12285
|
-
class: "
|
|
12285
|
+
class: "header-custom-topic-icon"
|
|
12286
12286
|
}, null, 8, ["name"]),
|
|
12287
12287
|
createElementVNode("span", _hoisted_16$1, toDisplayString$1((_f = topicTag.value) == null ? void 0 : _f.suffix), 1)
|
|
12288
12288
|
])) : createCommentVNode("", true),
|
|
@@ -12290,7 +12290,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12290
12290
|
createVNode(GIcon, {
|
|
12291
12291
|
name: "gt-line-time",
|
|
12292
12292
|
color: "var(--devui-shape-icon-fill)",
|
|
12293
|
-
class: "
|
|
12293
|
+
class: "header-custom-topic-icon"
|
|
12294
12294
|
}),
|
|
12295
12295
|
createElementVNode("span", _hoisted_18$1, toDisplayString$1(formatTime.value) + toDisplayString$1(unref(t2)("gitCodeLayout.repo.code.syncText")), 1)
|
|
12296
12296
|
])) : createCommentVNode("", true)
|
|
@@ -12303,12 +12303,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12303
12303
|
}, 8, ["loading"])) : __props.scene === unref(SceneValue).user && ((_c = __props.userProps) == null ? void 0 : _c.isOtherUser) ? (openBlock(), createElementBlock("div", _hoisted_20$1, [
|
|
12304
12304
|
createVNode(GLink, {
|
|
12305
12305
|
to: { name: "homepage" },
|
|
12306
|
-
class: "
|
|
12306
|
+
class: "header-custom-link"
|
|
12307
12307
|
}, {
|
|
12308
12308
|
default: withCtx(() => {
|
|
12309
12309
|
var _a2, _b2, _c2, _d, _e;
|
|
12310
12310
|
return [
|
|
12311
|
-
createVNode(_sfc_main$
|
|
12311
|
+
createVNode(_sfc_main$H, {
|
|
12312
12312
|
src: (_a2 = unref(otherUserInfo)) == null ? void 0 : _a2.avatarUrl,
|
|
12313
12313
|
name: ((_b2 = unref(otherUserInfo)) == null ? void 0 : _b2.name) || ((_c2 = unref(otherUserInfo)) == null ? void 0 : _c2.nickname),
|
|
12314
12314
|
width: 28,
|
|
@@ -12335,9 +12335,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12335
12335
|
};
|
|
12336
12336
|
}
|
|
12337
12337
|
});
|
|
12338
|
-
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12339
|
-
const _hoisted_1$
|
|
12340
|
-
const _sfc_main$
|
|
12338
|
+
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
12339
|
+
const _hoisted_1$y = ["src"];
|
|
12340
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
12341
12341
|
...{ name: "OperationEntry" },
|
|
12342
12342
|
__name: "OperationEntry",
|
|
12343
12343
|
setup(__props) {
|
|
@@ -12374,21 +12374,21 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12374
12374
|
return (_ctx, _cache) => {
|
|
12375
12375
|
return img.value && headerEntryConfig.value.url ? (openBlock(), createElementBlock("div", {
|
|
12376
12376
|
key: 0,
|
|
12377
|
-
class: "operation-entry
|
|
12377
|
+
class: "operation-entry",
|
|
12378
12378
|
onClick: handleClick
|
|
12379
12379
|
}, [
|
|
12380
12380
|
createElementVNode("img", {
|
|
12381
|
-
class: "
|
|
12381
|
+
class: "operation-entry__img",
|
|
12382
12382
|
src: img.value,
|
|
12383
12383
|
alt: "operation-entry"
|
|
12384
|
-
}, null, 8, _hoisted_1$
|
|
12384
|
+
}, null, 8, _hoisted_1$y)
|
|
12385
12385
|
])) : createCommentVNode("", true);
|
|
12386
12386
|
};
|
|
12387
12387
|
}
|
|
12388
12388
|
});
|
|
12389
|
-
const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12390
|
-
const _hoisted_1$
|
|
12391
|
-
const _sfc_main$
|
|
12389
|
+
const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
12390
|
+
const _hoisted_1$x = ["src"];
|
|
12391
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
12392
12392
|
__name: "ClaimPower",
|
|
12393
12393
|
props: {
|
|
12394
12394
|
config: {}
|
|
@@ -12411,14 +12411,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12411
12411
|
createElementVNode("img", {
|
|
12412
12412
|
src: __props.config.logo_url,
|
|
12413
12413
|
alt: "claim power"
|
|
12414
|
-
}, null, 8, _hoisted_1$
|
|
12414
|
+
}, null, 8, _hoisted_1$x)
|
|
12415
12415
|
])) : createCommentVNode("", true);
|
|
12416
12416
|
};
|
|
12417
12417
|
}
|
|
12418
12418
|
});
|
|
12419
|
-
const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12420
|
-
const _hoisted_1$
|
|
12421
|
-
const _sfc_main$
|
|
12419
|
+
const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
12420
|
+
const _hoisted_1$w = { class: "devui-select__item g-option-link" };
|
|
12421
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
12422
12422
|
...{
|
|
12423
12423
|
name: "OptionLink"
|
|
12424
12424
|
},
|
|
@@ -12436,7 +12436,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
12436
12436
|
},
|
|
12437
12437
|
setup(__props) {
|
|
12438
12438
|
return (_ctx, _cache) => {
|
|
12439
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
12439
|
+
return openBlock(), createElementBlock("li", _hoisted_1$w, [
|
|
12440
12440
|
createVNode(GLink, normalizeProps(guardReactiveProps(_ctx.$props)), {
|
|
12441
12441
|
default: withCtx(() => [
|
|
12442
12442
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -12447,7 +12447,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
12447
12447
|
};
|
|
12448
12448
|
}
|
|
12449
12449
|
});
|
|
12450
|
-
const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12450
|
+
const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
12451
12451
|
var aes = { exports: {} };
|
|
12452
12452
|
function commonjsRequire(path) {
|
|
12453
12453
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -14911,7 +14911,7 @@ function headRequest(request) {
|
|
|
14911
14911
|
}
|
|
14912
14912
|
};
|
|
14913
14913
|
}
|
|
14914
|
-
const _sfc_main$
|
|
14914
|
+
const _sfc_main$B = /* @__PURE__ */ Object.assign({
|
|
14915
14915
|
name: "Create"
|
|
14916
14916
|
}, {
|
|
14917
14917
|
__name: "index",
|
|
@@ -15006,14 +15006,14 @@ const _sfc_main$A = /* @__PURE__ */ Object.assign({
|
|
|
15006
15006
|
default: withCtx(() => [
|
|
15007
15007
|
createVNode(unref(Button), {
|
|
15008
15008
|
id: "guide-step3",
|
|
15009
|
-
class: "
|
|
15009
|
+
class: "btn-add",
|
|
15010
15010
|
variant: "solid"
|
|
15011
15011
|
}, {
|
|
15012
15012
|
default: withCtx(() => [
|
|
15013
15013
|
createVNode(GIcon, {
|
|
15014
15014
|
name: "gt-add",
|
|
15015
15015
|
color: "var(--theme-light-text)",
|
|
15016
|
-
class: "
|
|
15016
|
+
class: "btn-add-icon"
|
|
15017
15017
|
}),
|
|
15018
15018
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.header.create")), 1)
|
|
15019
15019
|
]),
|
|
@@ -15025,8 +15025,8 @@ const _sfc_main$A = /* @__PURE__ */ Object.assign({
|
|
|
15025
15025
|
};
|
|
15026
15026
|
}
|
|
15027
15027
|
});
|
|
15028
|
-
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15029
|
-
const _sfc_main$
|
|
15028
|
+
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15029
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
15030
15030
|
...{
|
|
15031
15031
|
name: "DocumentCenter"
|
|
15032
15032
|
},
|
|
@@ -15051,12 +15051,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
15051
15051
|
};
|
|
15052
15052
|
}
|
|
15053
15053
|
});
|
|
15054
|
-
const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15055
|
-
const _hoisted_1$
|
|
15054
|
+
const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15055
|
+
const _hoisted_1$v = {
|
|
15056
15056
|
key: 1,
|
|
15057
15057
|
class: "g-text-all"
|
|
15058
15058
|
};
|
|
15059
|
-
const _sfc_main$
|
|
15059
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
15060
15060
|
...{ name: "GText" },
|
|
15061
15061
|
__name: "index",
|
|
15062
15062
|
props: {
|
|
@@ -15133,24 +15133,24 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
15133
15133
|
class: "watch-all",
|
|
15134
15134
|
onClick: onShowAll
|
|
15135
15135
|
}, toDisplayString$1(_ctx.$t("gitCodeLayout.notice.msg.viewAll")), 1)) : createCommentVNode("", true)
|
|
15136
|
-
], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15136
|
+
], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
15137
15137
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
15138
15138
|
])) : createCommentVNode("", true);
|
|
15139
15139
|
};
|
|
15140
15140
|
}
|
|
15141
15141
|
});
|
|
15142
|
-
const GText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15143
|
-
const _hoisted_1$
|
|
15144
|
-
const _hoisted_2$
|
|
15145
|
-
const _hoisted_3$
|
|
15142
|
+
const GText = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15143
|
+
const _hoisted_1$u = { class: "message-item" };
|
|
15144
|
+
const _hoisted_2$p = { class: "message-item-footer" };
|
|
15145
|
+
const _hoisted_3$o = ["title"];
|
|
15146
15146
|
const _hoisted_4$h = ["href"];
|
|
15147
|
-
const _hoisted_5$d = { class: "message-item-info-content
|
|
15148
|
-
const _hoisted_6$b = { class: "
|
|
15147
|
+
const _hoisted_5$d = { class: "message-item-info-content" };
|
|
15148
|
+
const _hoisted_6$b = { class: "message-item-body" };
|
|
15149
15149
|
const _hoisted_7$8 = ["title", "innerHTML"];
|
|
15150
15150
|
const _hoisted_8$7 = ["title"];
|
|
15151
|
-
const _hoisted_9$5 = { class: "message-item-info
|
|
15152
|
-
const _hoisted_10$5 = { class: "
|
|
15153
|
-
const _sfc_main$
|
|
15151
|
+
const _hoisted_9$5 = { class: "message-item-info" };
|
|
15152
|
+
const _hoisted_10$5 = { class: "message-item-rightTx message-item-date" };
|
|
15153
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
15154
15154
|
__name: "index",
|
|
15155
15155
|
props: {
|
|
15156
15156
|
data: { default: () => ({}) },
|
|
@@ -15162,32 +15162,32 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15162
15162
|
const { formatTimeFromNow } = useTimeFormat();
|
|
15163
15163
|
return (_ctx, _cache) => {
|
|
15164
15164
|
var _a;
|
|
15165
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15166
|
-
createElementVNode("div", _hoisted_2$
|
|
15165
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
15166
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
15167
15167
|
createElementVNode("div", {
|
|
15168
|
-
class: "
|
|
15168
|
+
class: "message-item__avatar-wrap",
|
|
15169
15169
|
title: __props.data.nickname
|
|
15170
15170
|
}, [
|
|
15171
15171
|
createElementVNode("a", {
|
|
15172
15172
|
href: unref(transformUrl)((_a = __props.data) == null ? void 0 : _a.userPath),
|
|
15173
15173
|
target: "_blank",
|
|
15174
|
-
class: "user-info
|
|
15174
|
+
class: "user-info linktx message-item__user-info"
|
|
15175
15175
|
}, [
|
|
15176
|
-
createVNode(_sfc_main$
|
|
15176
|
+
createVNode(_sfc_main$H, {
|
|
15177
15177
|
name: __props.data.nickname,
|
|
15178
15178
|
src: __props.data.avatar,
|
|
15179
15179
|
width: 32,
|
|
15180
15180
|
height: 32
|
|
15181
15181
|
}, null, 8, ["name", "src"])
|
|
15182
15182
|
], 8, _hoisted_4$h)
|
|
15183
|
-
], 8, _hoisted_3$
|
|
15183
|
+
], 8, _hoisted_3$o)
|
|
15184
15184
|
]),
|
|
15185
15185
|
createElementVNode("div", _hoisted_5$d, [
|
|
15186
15186
|
createElementVNode("div", _hoisted_6$b, [
|
|
15187
15187
|
createVNode(GLink, {
|
|
15188
15188
|
href: unref(transformUrl)(__props.data.url),
|
|
15189
15189
|
target: "_blank",
|
|
15190
|
-
class: normalizeClass(["message-item-content
|
|
15190
|
+
class: normalizeClass(["message-item-content", { "text-light": __props.data.read }]),
|
|
15191
15191
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("trigger"))
|
|
15192
15192
|
}, {
|
|
15193
15193
|
default: withCtx(() => [
|
|
@@ -15197,7 +15197,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15197
15197
|
key: 0,
|
|
15198
15198
|
title: __props.data.title,
|
|
15199
15199
|
innerHTML: unref(xssPurify)(__props.data.title) || "",
|
|
15200
|
-
class: "
|
|
15200
|
+
class: "message-item__title"
|
|
15201
15201
|
}, null, 8, _hoisted_7$8)) : (openBlock(), createElementBlock("span", {
|
|
15202
15202
|
key: 1,
|
|
15203
15203
|
title: __props.data.title
|
|
@@ -15230,19 +15230,19 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15230
15230
|
};
|
|
15231
15231
|
}
|
|
15232
15232
|
});
|
|
15233
|
-
const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15234
|
-
const _hoisted_1$
|
|
15235
|
-
const _hoisted_2$
|
|
15233
|
+
const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15234
|
+
const _hoisted_1$t = { class: "message-header-nav" };
|
|
15235
|
+
const _hoisted_2$o = {
|
|
15236
15236
|
key: 0,
|
|
15237
15237
|
class: "item-count-icon"
|
|
15238
15238
|
};
|
|
15239
|
-
const _hoisted_3$
|
|
15239
|
+
const _hoisted_3$n = {
|
|
15240
15240
|
key: 1,
|
|
15241
15241
|
class: "g-number"
|
|
15242
15242
|
};
|
|
15243
15243
|
const _hoisted_4$g = {
|
|
15244
15244
|
key: 0,
|
|
15245
|
-
class: "g-number
|
|
15245
|
+
class: "g-number message-box__count"
|
|
15246
15246
|
};
|
|
15247
15247
|
const _hoisted_5$c = { class: "message-content-cover" };
|
|
15248
15248
|
const _hoisted_6$a = {
|
|
@@ -15270,7 +15270,7 @@ const _hoisted_11$4 = {
|
|
|
15270
15270
|
class: "no-more"
|
|
15271
15271
|
};
|
|
15272
15272
|
const _hoisted_12$3 = { class: "message-footer-nav" };
|
|
15273
|
-
const _sfc_main$
|
|
15273
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
15274
15274
|
__name: "MessageBox",
|
|
15275
15275
|
setup(__props, { expose: __expose }) {
|
|
15276
15276
|
var _a;
|
|
@@ -15541,7 +15541,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15541
15541
|
class: "message-box",
|
|
15542
15542
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => console.log("stop"), ["stop"]))
|
|
15543
15543
|
}, [
|
|
15544
|
-
createElementVNode("div", _hoisted_1$
|
|
15544
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
15545
15545
|
createVNode(unref(Tabs), {
|
|
15546
15546
|
modelValue: checkedId.value,
|
|
15547
15547
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkedId.value = $event),
|
|
@@ -15557,7 +15557,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15557
15557
|
createElementVNode("div", {
|
|
15558
15558
|
class: normalizeClass(["message-header-nav-item", { "message-header-nav-item-active": item.messageType === checkedId.value }])
|
|
15559
15559
|
}, [
|
|
15560
|
-
item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
15560
|
+
item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
|
|
15561
15561
|
createVNode(GIcon, {
|
|
15562
15562
|
name: item.icon,
|
|
15563
15563
|
size: "16px",
|
|
@@ -15570,7 +15570,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15570
15570
|
}, null, 8, ["name"])
|
|
15571
15571
|
])) : createCommentVNode("", true),
|
|
15572
15572
|
createElementVNode("span", null, toDisplayString$1(item.text), 1),
|
|
15573
|
-
item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
15573
|
+
item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString$1(item.count), 1)) : createCommentVNode("", true)
|
|
15574
15574
|
], 2)
|
|
15575
15575
|
]),
|
|
15576
15576
|
_: 2
|
|
@@ -15595,7 +15595,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15595
15595
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_5$c, [
|
|
15596
15596
|
currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
15597
15597
|
createElementVNode("div", {
|
|
15598
|
-
class: normalizeClass(["message-content-header-item mr
|
|
15598
|
+
class: normalizeClass(["message-content-header-item message-content-header-item--mr", { active: mentionSubTab.value === "project" }]),
|
|
15599
15599
|
onClick: _cache[2] || (_cache[2] = ($event) => switchMentionSubTab("project"))
|
|
15600
15600
|
}, [
|
|
15601
15601
|
_cache[6] || (_cache[6] = createTextVNode(" 项目相关 ", -1)),
|
|
@@ -15635,8 +15635,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15635
15635
|
};
|
|
15636
15636
|
}
|
|
15637
15637
|
});
|
|
15638
|
-
const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15639
|
-
const _sfc_main$
|
|
15638
|
+
const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15639
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
15640
15640
|
...{
|
|
15641
15641
|
name: "Notice"
|
|
15642
15642
|
},
|
|
@@ -15748,7 +15748,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
15748
15748
|
};
|
|
15749
15749
|
}
|
|
15750
15750
|
});
|
|
15751
|
-
const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15751
|
+
const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15752
15752
|
function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
15753
15753
|
const allCookies = api.get() || {};
|
|
15754
15754
|
const storedValue = allCookies[key] || localStorage$2.getItem(key);
|
|
@@ -15772,10 +15772,10 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
|
15772
15772
|
);
|
|
15773
15773
|
return value;
|
|
15774
15774
|
}
|
|
15775
|
-
const _hoisted_1$
|
|
15776
|
-
const _hoisted_2$
|
|
15777
|
-
const _hoisted_3$
|
|
15778
|
-
const _sfc_main$
|
|
15775
|
+
const _hoisted_1$s = { class: "tools-item-wrapper" };
|
|
15776
|
+
const _hoisted_2$n = { class: "tools-item-wrapper-checkbox" };
|
|
15777
|
+
const _hoisted_3$m = ["onClick", "title"];
|
|
15778
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
15779
15779
|
__name: "Lang",
|
|
15780
15780
|
setup(__props) {
|
|
15781
15781
|
const lang = useCookie(LANG_KEY, LANG_ZH);
|
|
@@ -15792,9 +15792,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15792
15792
|
window.location.reload();
|
|
15793
15793
|
};
|
|
15794
15794
|
return (_ctx, _cache) => {
|
|
15795
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15795
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
15796
15796
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.lang")), 1),
|
|
15797
|
-
createElementVNode("div", _hoisted_2$
|
|
15797
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
15798
15798
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
15799
15799
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
15800
15800
|
key: item.label
|
|
@@ -15809,26 +15809,26 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15809
15809
|
color: "var(--theme-icon-fill-weak)",
|
|
15810
15810
|
class: "checkbox-item-icon"
|
|
15811
15811
|
}, null, 8, ["name"])
|
|
15812
|
-
], 16, _hoisted_3$
|
|
15812
|
+
], 16, _hoisted_3$m);
|
|
15813
15813
|
}), 128))
|
|
15814
15814
|
])
|
|
15815
15815
|
]);
|
|
15816
15816
|
};
|
|
15817
15817
|
}
|
|
15818
15818
|
});
|
|
15819
|
-
const _hoisted_1$
|
|
15819
|
+
const _hoisted_1$r = {
|
|
15820
15820
|
key: 0,
|
|
15821
15821
|
class: "user-level-avatar-badge"
|
|
15822
15822
|
};
|
|
15823
|
-
const _hoisted_2$
|
|
15824
|
-
const _hoisted_3$
|
|
15823
|
+
const _hoisted_2$m = { class: "user-level__row" };
|
|
15824
|
+
const _hoisted_3$l = ["src"];
|
|
15825
15825
|
const _hoisted_4$f = { class: "level-name" };
|
|
15826
15826
|
const _hoisted_5$b = { class: "level-icon" };
|
|
15827
15827
|
const _hoisted_6$9 = ["src"];
|
|
15828
15828
|
const _hoisted_7$6 = { class: "custom-btn" };
|
|
15829
|
-
const _hoisted_8$5 = { class: "
|
|
15829
|
+
const _hoisted_8$5 = { class: "user-level__btn-text" };
|
|
15830
15830
|
const maxLevel = 3;
|
|
15831
|
-
const _sfc_main$
|
|
15831
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
15832
15832
|
...{ name: "UserLevel" },
|
|
15833
15833
|
__name: "UserLevel",
|
|
15834
15834
|
props: ["accountInfo"],
|
|
@@ -15876,16 +15876,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
15876
15876
|
});
|
|
15877
15877
|
return (_ctx, _cache) => {
|
|
15878
15878
|
return openBlock(), createElementBlock("div", {
|
|
15879
|
-
class: normalizeClass(["user-level
|
|
15879
|
+
class: normalizeClass(["user-level", { [unref(ThemeType).BLACK]: unref(currentTheme) === unref(ThemeType).BLACK }]),
|
|
15880
15880
|
onClick: handleUpgrade
|
|
15881
15881
|
}, [
|
|
15882
|
-
__props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15883
|
-
createElementVNode("div", _hoisted_2$
|
|
15882
|
+
__props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$r)) : createCommentVNode("", true),
|
|
15883
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
15884
15884
|
createElementVNode("img", {
|
|
15885
15885
|
class: "level-avatar",
|
|
15886
15886
|
src: levelInfo.value.avatar,
|
|
15887
15887
|
alt: ""
|
|
15888
|
-
}, null, 8, _hoisted_3$
|
|
15888
|
+
}, null, 8, _hoisted_3$l),
|
|
15889
15889
|
createElementVNode("div", _hoisted_4$f, [
|
|
15890
15890
|
createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
|
|
15891
15891
|
createElementVNode("div", _hoisted_5$b, [
|
|
@@ -15903,16 +15903,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
15903
15903
|
};
|
|
15904
15904
|
}
|
|
15905
15905
|
});
|
|
15906
|
-
const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15907
|
-
const _hoisted_1$
|
|
15908
|
-
const _hoisted_2$
|
|
15909
|
-
const _hoisted_3$
|
|
15906
|
+
const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15907
|
+
const _hoisted_1$q = { class: "g-user-drawer-info-list" };
|
|
15908
|
+
const _hoisted_2$l = { class: "g-user-drawer-info-list__name-wrap" };
|
|
15909
|
+
const _hoisted_3$k = ["title"];
|
|
15910
15910
|
const _hoisted_4$e = ["title"];
|
|
15911
15911
|
const _hoisted_5$a = {
|
|
15912
15912
|
key: 0,
|
|
15913
15913
|
class: "g-user-drawer-lang-row"
|
|
15914
15914
|
};
|
|
15915
|
-
const _sfc_main$
|
|
15915
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
15916
15916
|
__name: "UserAvatarMenu",
|
|
15917
15917
|
props: {
|
|
15918
15918
|
isChatBot: { type: Boolean },
|
|
@@ -16054,7 +16054,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
16054
16054
|
});
|
|
16055
16055
|
const avatarLangBlock = {
|
|
16056
16056
|
id: "avatar-lang",
|
|
16057
|
-
component: markRaw(_sfc_main$
|
|
16057
|
+
component: markRaw(_sfc_main$v),
|
|
16058
16058
|
avatarLangRow: true
|
|
16059
16059
|
};
|
|
16060
16060
|
const shouldShowEnterpriseLang = computed(
|
|
@@ -16123,24 +16123,24 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
16123
16123
|
ref: menuContainerRef
|
|
16124
16124
|
}, [
|
|
16125
16125
|
createVNode(GLink, {
|
|
16126
|
-
class: "g-user-drawer-info
|
|
16126
|
+
class: "g-user-drawer-info",
|
|
16127
16127
|
href: `${unref(layoutConfig2).VITE_HOST}/${__props.accountInfo.username}`,
|
|
16128
16128
|
key: "myPage",
|
|
16129
16129
|
target: __props.isChatBot ? "_blank" : ""
|
|
16130
16130
|
}, {
|
|
16131
16131
|
default: withCtx(() => [
|
|
16132
|
-
createVNode(_sfc_main$
|
|
16132
|
+
createVNode(_sfc_main$H, {
|
|
16133
16133
|
name: __props.accountInfo.nickname,
|
|
16134
16134
|
src: __props.accountInfo.avatar,
|
|
16135
16135
|
width: 52,
|
|
16136
16136
|
height: 52
|
|
16137
16137
|
}, null, 8, ["name", "src"]),
|
|
16138
|
-
createElementVNode("div", _hoisted_1$
|
|
16139
|
-
createElementVNode("div", _hoisted_2$
|
|
16138
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
16139
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
16140
16140
|
createElementVNode("p", {
|
|
16141
16141
|
class: "g-user-drawer-info-list-name ellipsis",
|
|
16142
16142
|
title: __props.accountInfo.nickname
|
|
16143
|
-
}, toDisplayString$1(__props.accountInfo.nickname), 9, _hoisted_3$
|
|
16143
|
+
}, toDisplayString$1(__props.accountInfo.nickname), 9, _hoisted_3$k),
|
|
16144
16144
|
createElementVNode("p", {
|
|
16145
16145
|
class: "g-user-drawer-info-list-id ellipsis",
|
|
16146
16146
|
title: __props.accountInfo.username
|
|
@@ -16160,7 +16160,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
16160
16160
|
}, null, 8, ["accountInfo"])) : createCommentVNode("", true),
|
|
16161
16161
|
(openBlock(true), createElementBlock(Fragment, null, renderList(userMenuList.value, (block, index2) => {
|
|
16162
16162
|
return openBlock(), createElementBlock("div", {
|
|
16163
|
-
class: normalizeClass(["g-user-drawer-block", { "
|
|
16163
|
+
class: normalizeClass(["g-user-drawer-block", { "g-user-drawer-block--no-pt": index2 === 0 && __props.inAIHub }]),
|
|
16164
16164
|
key: index2
|
|
16165
16165
|
}, [
|
|
16166
16166
|
block.component ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
@@ -16195,20 +16195,20 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
16195
16195
|
};
|
|
16196
16196
|
}
|
|
16197
16197
|
});
|
|
16198
|
-
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16199
|
-
const _hoisted_1$
|
|
16200
|
-
const _hoisted_2$
|
|
16198
|
+
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16199
|
+
const _hoisted_1$p = { class: "g-user-avatar flex-center" };
|
|
16200
|
+
const _hoisted_2$k = {
|
|
16201
16201
|
key: 0,
|
|
16202
16202
|
class: "g-user-avatar__badge"
|
|
16203
16203
|
};
|
|
16204
|
-
const _hoisted_3$
|
|
16204
|
+
const _hoisted_3$j = { class: "g-user-avatar flex-center" };
|
|
16205
16205
|
const _hoisted_4$d = {
|
|
16206
16206
|
key: 0,
|
|
16207
16207
|
class: "g-user-avatar__badge"
|
|
16208
16208
|
};
|
|
16209
16209
|
const _hoisted_5$9 = { class: "g-user-drawer" };
|
|
16210
|
-
const _hoisted_6$8 = { class: "
|
|
16211
|
-
const _sfc_main$
|
|
16210
|
+
const _hoisted_6$8 = { class: "user-avatar__drawer-header" };
|
|
16211
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
16212
16212
|
...{
|
|
16213
16213
|
name: "UserAvatar"
|
|
16214
16214
|
},
|
|
@@ -16347,12 +16347,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16347
16347
|
key: 0,
|
|
16348
16348
|
onClick: _cache[0] || (_cache[0] = ($event) => drawerVisible.value = true)
|
|
16349
16349
|
}, [
|
|
16350
|
-
createElementVNode("div", _hoisted_1$
|
|
16351
|
-
createVNode(_sfc_main$
|
|
16350
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
16351
|
+
createVNode(_sfc_main$H, {
|
|
16352
16352
|
name: accountInfo.value.nickname,
|
|
16353
16353
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16354
16354
|
}, null, 8, ["name", "src"]),
|
|
16355
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16355
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$k, [..._cache[4] || (_cache[4] = [
|
|
16356
16356
|
createElementVNode("div", null, null, -1)
|
|
16357
16357
|
])])) : createCommentVNode("", true)
|
|
16358
16358
|
])
|
|
@@ -16379,8 +16379,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16379
16379
|
])
|
|
16380
16380
|
]),
|
|
16381
16381
|
default: withCtx(() => [
|
|
16382
|
-
createElementVNode("div", _hoisted_3$
|
|
16383
|
-
createVNode(_sfc_main$
|
|
16382
|
+
createElementVNode("div", _hoisted_3$j, [
|
|
16383
|
+
createVNode(_sfc_main$H, {
|
|
16384
16384
|
name: accountInfo.value.nickname,
|
|
16385
16385
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16386
16386
|
}, null, 8, ["name", "src"]),
|
|
@@ -16402,7 +16402,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16402
16402
|
createElementVNode("div", null, [
|
|
16403
16403
|
createElementVNode("div", _hoisted_6$8, [
|
|
16404
16404
|
createVNode(unref(Button), {
|
|
16405
|
-
class: "
|
|
16405
|
+
class: "draw-side-bar-close",
|
|
16406
16406
|
icon: "close",
|
|
16407
16407
|
onClick: _cache[1] || (_cache[1] = ($event) => drawerVisible.value = false),
|
|
16408
16408
|
variant: "text"
|
|
@@ -16427,7 +16427,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16427
16427
|
};
|
|
16428
16428
|
}
|
|
16429
16429
|
});
|
|
16430
|
-
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16430
|
+
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16431
16431
|
var EVENT_NAME = /* @__PURE__ */ ((EVENT_NAME2) => {
|
|
16432
16432
|
EVENT_NAME2["START_SEARCH"] = "开始搜索";
|
|
16433
16433
|
EVENT_NAME2["SEARCH"] = "搜索";
|
|
@@ -16640,16 +16640,16 @@ const buildQualifierPrefix = (info) => {
|
|
|
16640
16640
|
}
|
|
16641
16641
|
return `${key}:${info.searchScopeName} `;
|
|
16642
16642
|
};
|
|
16643
|
-
const _hoisted_1$
|
|
16643
|
+
const _hoisted_1$o = {
|
|
16644
16644
|
key: 0,
|
|
16645
16645
|
class: "devui-input-slot__prefix"
|
|
16646
16646
|
};
|
|
16647
|
-
const _hoisted_2$
|
|
16648
|
-
const _hoisted_3$
|
|
16647
|
+
const _hoisted_2$j = ["value"];
|
|
16648
|
+
const _hoisted_3$i = {
|
|
16649
16649
|
key: 1,
|
|
16650
16650
|
class: "devui-input-slot__suffix"
|
|
16651
16651
|
};
|
|
16652
|
-
const _sfc_main$
|
|
16652
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
16653
16653
|
...{
|
|
16654
16654
|
name: "HighlightInput",
|
|
16655
16655
|
inheritAttrs: false
|
|
@@ -16817,7 +16817,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16817
16817
|
class: normalizeClass(["devui-input__wrapper devui-input--glow-style hl-search-input", [rootClass.value, { "devui-input--focus": isFocused.value }]]),
|
|
16818
16818
|
style: normalizeStyle(rootStyle.value)
|
|
16819
16819
|
}, [
|
|
16820
|
-
_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16820
|
+
_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
16821
16821
|
renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
16822
16822
|
])) : createCommentVNode("", true),
|
|
16823
16823
|
createElementVNode("div", {
|
|
@@ -16843,28 +16843,28 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16843
16843
|
ref: nativeRef,
|
|
16844
16844
|
class: "devui-input__inner hl-search-input__native",
|
|
16845
16845
|
value: __props.modelValue
|
|
16846
|
-
}, inputAttrs.value, { onInput }), null, 16, _hoisted_2$
|
|
16846
|
+
}, inputAttrs.value, { onInput }), null, 16, _hoisted_2$j)
|
|
16847
16847
|
], 512),
|
|
16848
|
-
_ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16848
|
+
_ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
16849
16849
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
16850
16850
|
])) : createCommentVNode("", true)
|
|
16851
16851
|
], 6);
|
|
16852
16852
|
};
|
|
16853
16853
|
}
|
|
16854
16854
|
});
|
|
16855
|
-
const HighlightInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16856
|
-
const _hoisted_1$
|
|
16857
|
-
const _hoisted_2$
|
|
16858
|
-
const _hoisted_3$
|
|
16855
|
+
const HighlightInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16856
|
+
const _hoisted_1$n = { class: "g-header-search-prefix" };
|
|
16857
|
+
const _hoisted_2$i = ["innerHTML"];
|
|
16858
|
+
const _hoisted_3$h = { class: "g-header-search-suffix-splitline" };
|
|
16859
16859
|
const _hoisted_4$c = { class: "g-header-search-suffix-suffixIcon" };
|
|
16860
16860
|
const _hoisted_5$8 = { class: "history-list" };
|
|
16861
16861
|
const _hoisted_6$7 = {
|
|
16862
16862
|
key: 1,
|
|
16863
|
-
class: "aireposearch flex
|
|
16863
|
+
class: "aireposearch aireposearch--flex"
|
|
16864
16864
|
};
|
|
16865
16865
|
const RECOMMEND_RESERVE = 60;
|
|
16866
16866
|
const HISTORY_DISPLAY_COUNT = 3;
|
|
16867
|
-
const _sfc_main$
|
|
16867
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
16868
16868
|
__name: "index",
|
|
16869
16869
|
props: {
|
|
16870
16870
|
inAIHub: { type: Boolean },
|
|
@@ -16874,12 +16874,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16874
16874
|
setup(__props) {
|
|
16875
16875
|
const layoutConfig2 = useLayoutConfig();
|
|
16876
16876
|
const { t: $t } = i18n.global;
|
|
16877
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16878
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16879
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16880
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16881
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16882
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
16877
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CnPDrJlb.js"));
|
|
16878
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-BN-ZiXtK.js"));
|
|
16879
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-B_hpcegG.js"));
|
|
16880
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Yi-4pyqJ.js"));
|
|
16881
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BN0GfdPL.js"));
|
|
16882
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BR0w0PYW.js"));
|
|
16883
16883
|
const props = __props;
|
|
16884
16884
|
const repoInfo = inject("repoInfo");
|
|
16885
16885
|
const orgInfo = inject("orgInfo");
|
|
@@ -17491,7 +17491,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17491
17491
|
ref: inputRef
|
|
17492
17492
|
}, {
|
|
17493
17493
|
prefix: withCtx(() => [
|
|
17494
|
-
createElementVNode("div", _hoisted_1$
|
|
17494
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
17495
17495
|
createVNode(GIcon, {
|
|
17496
17496
|
name: "gt-search",
|
|
17497
17497
|
class: "g-header-search-icon",
|
|
@@ -17503,10 +17503,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17503
17503
|
class: normalizeClass(["g-header-search-recommend-placeholder", { default: !isFocus.value, focus: isFocus.value, "recommend-hidden": !recommendHasRoom.value }]),
|
|
17504
17504
|
style: normalizeStyle(recommendOffset.value ? { left: `calc(44px + ${recommendOffset.value}px)`, width: `${recommendMaxWidth.value}px`, overflow: "hidden" } : void 0)
|
|
17505
17505
|
}, [
|
|
17506
|
-
_cache[8] || (_cache[8] = createElementVNode("div", { class: "
|
|
17506
|
+
_cache[8] || (_cache[8] = createElementVNode("div", { class: "g-header-search-recommend-flame" }, "🔥", -1)),
|
|
17507
17507
|
(openBlock(true), createElementBlock(Fragment, null, renderList(searchHotWords.value, (item, index2) => {
|
|
17508
17508
|
return openBlock(), createElementBlock("div", {
|
|
17509
|
-
class: normalizeClass(["g-header-search-recommend-item
|
|
17509
|
+
class: normalizeClass(["g-header-search-recommend-item", { fadeInUp: activeSearchKey.value === index2, fadeOutUp: activeSearchKey.value !== index2 }]),
|
|
17510
17510
|
key: item
|
|
17511
17511
|
}, toDisplayString$1(item.content), 3);
|
|
17512
17512
|
}), 128))
|
|
@@ -17515,7 +17515,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17515
17515
|
class: "quick-tips",
|
|
17516
17516
|
innerHTML: unref(quickTips),
|
|
17517
17517
|
onClick: onInputClick
|
|
17518
|
-
}, null, 8, _hoisted_2$
|
|
17518
|
+
}, null, 8, _hoisted_2$i)), [
|
|
17519
17519
|
[vShow, placeholderVisible.value]
|
|
17520
17520
|
])
|
|
17521
17521
|
]),
|
|
@@ -17532,7 +17532,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17532
17532
|
}, null, 512), [
|
|
17533
17533
|
[vShow, searchStr.value]
|
|
17534
17534
|
]),
|
|
17535
|
-
withDirectives(createElementVNode("span", _hoisted_3$
|
|
17535
|
+
withDirectives(createElementVNode("span", _hoisted_3$h, "|", 512), [
|
|
17536
17536
|
[vShow, searchStr.value]
|
|
17537
17537
|
]),
|
|
17538
17538
|
createElementVNode("div", _hoisted_4$c, [
|
|
@@ -17573,16 +17573,16 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17573
17573
|
};
|
|
17574
17574
|
}
|
|
17575
17575
|
});
|
|
17576
|
-
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17577
|
-
const _hoisted_1$
|
|
17578
|
-
const _hoisted_2$
|
|
17579
|
-
const _hoisted_3$
|
|
17576
|
+
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
17577
|
+
const _hoisted_1$m = { class: "announce-mobile-top" };
|
|
17578
|
+
const _hoisted_2$h = { class: "announce-mobile-bottom" };
|
|
17579
|
+
const _hoisted_3$g = ["href"];
|
|
17580
17580
|
const _hoisted_4$b = { class: "announce-content" };
|
|
17581
|
-
const _hoisted_5$7 = { class: "
|
|
17581
|
+
const _hoisted_5$7 = { class: "announce-content-inner" };
|
|
17582
17582
|
const _hoisted_6$6 = ["href"];
|
|
17583
17583
|
const _hoisted_7$5 = { class: "announce-handle-wrapper" };
|
|
17584
17584
|
const ANNOUNCE_STATUS_KEY = "site_announcement_status";
|
|
17585
|
-
const _sfc_main$
|
|
17585
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
17586
17586
|
...{ name: "SiteAnnouncement" },
|
|
17587
17587
|
__name: "SiteAnnouncement",
|
|
17588
17588
|
setup(__props) {
|
|
@@ -17630,21 +17630,21 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17630
17630
|
class: normalizeClass(["announce-wrapper", { mobile: unref(isMobile) }])
|
|
17631
17631
|
}, [
|
|
17632
17632
|
unref(isMobile) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
17633
|
-
createElementVNode("div", _hoisted_1$
|
|
17633
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
17634
17634
|
createElementVNode("div", null, [
|
|
17635
17635
|
createVNode(GIcon, {
|
|
17636
17636
|
name: "gt-plane-warningCircular-blue",
|
|
17637
17637
|
size: "16",
|
|
17638
|
-
class: "
|
|
17638
|
+
class: "announce-icon-shrink"
|
|
17639
17639
|
})
|
|
17640
17640
|
]),
|
|
17641
17641
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.content")), 1)
|
|
17642
17642
|
]),
|
|
17643
|
-
createElementVNode("div", _hoisted_2$
|
|
17643
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
17644
17644
|
createElementVNode("a", {
|
|
17645
17645
|
class: "announce-detail",
|
|
17646
17646
|
href: migrationAnnounceUrl.value
|
|
17647
|
-
}, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail_mobile")), 9, _hoisted_3$
|
|
17647
|
+
}, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail_mobile")), 9, _hoisted_3$g),
|
|
17648
17648
|
createElementVNode("span", {
|
|
17649
17649
|
class: "announce-handle",
|
|
17650
17650
|
onClick: _cache[0] || (_cache[0] = ($event) => handleClose())
|
|
@@ -17656,7 +17656,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17656
17656
|
createVNode(GIcon, {
|
|
17657
17657
|
name: "gt-plane-warningCircular-blue",
|
|
17658
17658
|
size: "16",
|
|
17659
|
-
class: "
|
|
17659
|
+
class: "announce-content-icon"
|
|
17660
17660
|
}),
|
|
17661
17661
|
createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.content")), 1),
|
|
17662
17662
|
createElementVNode("a", {
|
|
@@ -17676,7 +17676,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17676
17676
|
};
|
|
17677
17677
|
}
|
|
17678
17678
|
});
|
|
17679
|
-
const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17679
|
+
const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
17680
17680
|
const vElementExposure = {
|
|
17681
17681
|
mounted(el, binding) {
|
|
17682
17682
|
const observer = new IntersectionObserver(function(entries2, observer2) {
|
|
@@ -17700,7 +17700,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17700
17700
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17701
17701
|
}
|
|
17702
17702
|
};
|
|
17703
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17703
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-tL8zkoWs.js"));
|
|
17704
17704
|
function clearNotice() {
|
|
17705
17705
|
if (localStorage$2.getItem("validator_email")) {
|
|
17706
17706
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17727,21 +17727,21 @@ function useNotification() {
|
|
|
17727
17727
|
notice
|
|
17728
17728
|
};
|
|
17729
17729
|
}
|
|
17730
|
-
const _hoisted_1$
|
|
17731
|
-
const _hoisted_2$
|
|
17732
|
-
const _hoisted_3$
|
|
17730
|
+
const _hoisted_1$l = { class: "g-toolbar-left allow-click-stop" };
|
|
17731
|
+
const _hoisted_2$g = { key: 0 };
|
|
17732
|
+
const _hoisted_3$f = {
|
|
17733
17733
|
key: 1,
|
|
17734
|
-
class: "search-avatar
|
|
17734
|
+
class: "search-avatar"
|
|
17735
17735
|
};
|
|
17736
|
-
const _hoisted_4$a = { class: "
|
|
17736
|
+
const _hoisted_4$a = { class: "g-toolbar-right__claim-row" };
|
|
17737
17737
|
const _hoisted_5$6 = {
|
|
17738
17738
|
key: 1,
|
|
17739
17739
|
class: "g-header-body"
|
|
17740
17740
|
};
|
|
17741
|
-
const _hoisted_6$5 = { class: "g-header-body-left
|
|
17742
|
-
const _hoisted_7$4 = { class: "g-header-body-right
|
|
17741
|
+
const _hoisted_6$5 = { class: "g-header-body-left" };
|
|
17742
|
+
const _hoisted_7$4 = { class: "g-header-body-right" };
|
|
17743
17743
|
const _hoisted_8$4 = { key: 2 };
|
|
17744
|
-
const _sfc_main$
|
|
17744
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
17745
17745
|
...{
|
|
17746
17746
|
name: "GitCodeHeader"
|
|
17747
17747
|
},
|
|
@@ -18150,18 +18150,18 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18150
18150
|
var _a2, _b, _c, _d;
|
|
18151
18151
|
return openBlock(), createElementBlock("div", {
|
|
18152
18152
|
onClick: withModifiers(handleHeaderClick, ["stop"]),
|
|
18153
|
-
class: normalizeClass(["gitcode-header-wrapper
|
|
18153
|
+
class: normalizeClass(["gitcode-header-wrapper", detailBgInfo.value ? "gitcode-header-wrapper--clickable" : ""]),
|
|
18154
18154
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
18155
18155
|
}, [
|
|
18156
18156
|
createElementVNode("div", {
|
|
18157
|
-
class: normalizeClass(["g-header allow-click-stop
|
|
18157
|
+
class: normalizeClass(["g-header allow-click-stop", [inAIHub.value ? "ai-hub g-header--ai-border " : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "", __props.headerBorder ? "oldBorder" : "", headerClassName.value, isIndexHead.value && !showHeaderShadow.value ? "g-header--transparent" : ""]]),
|
|
18158
18158
|
ref_key: "headerRef",
|
|
18159
18159
|
ref: headerRef,
|
|
18160
18160
|
style: normalizeStyle(detailBgStyle.value)
|
|
18161
18161
|
}, [
|
|
18162
18162
|
isShowStickyNoticeByClose.value ? withDirectives((openBlock(), createElementBlock("div", {
|
|
18163
18163
|
key: 0,
|
|
18164
|
-
class: "sticky-notice
|
|
18164
|
+
class: "sticky-notice",
|
|
18165
18165
|
style: normalizeStyle(stickyNoticeStyle.value),
|
|
18166
18166
|
onClick: withModifiers(handleStickyNoticeClick, ["stop"])
|
|
18167
18167
|
}, [
|
|
@@ -18175,21 +18175,21 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18175
18175
|
]) : createCommentVNode("", true),
|
|
18176
18176
|
createVNode(SiteAnnouncement),
|
|
18177
18177
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
18178
|
-
class: "g-toolbar
|
|
18178
|
+
class: "g-toolbar allow-click-stop",
|
|
18179
18179
|
onClick: withModifiers(handleToolbarClick, ["stop"])
|
|
18180
18180
|
}, [
|
|
18181
|
-
createElementVNode("div", _hoisted_1$
|
|
18181
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
18182
18182
|
createElementVNode("div", {
|
|
18183
18183
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
18184
18184
|
}, ["stop"])),
|
|
18185
|
-
class: "
|
|
18185
|
+
class: "g-header-ailog"
|
|
18186
18186
|
}, [
|
|
18187
18187
|
isModuleVisible(unref(HeaderDisplayItem).ASIDE_BUTTON) && !isHomePageHiddenMenuBtn.value ? (openBlock(), createBlock(GIcon, {
|
|
18188
18188
|
key: 0,
|
|
18189
18189
|
onClick: handleHamburgerClick,
|
|
18190
18190
|
name: "gt-hamburger",
|
|
18191
18191
|
size: "24px",
|
|
18192
|
-
class: "
|
|
18192
|
+
class: "g-toolbar-left-asideicon",
|
|
18193
18193
|
color: "var(--theme-aide-text)"
|
|
18194
18194
|
})) : createCommentVNode("", true),
|
|
18195
18195
|
showNameAndIcon.value && __props.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
@@ -18208,7 +18208,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18208
18208
|
]),
|
|
18209
18209
|
isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) ? (openBlock(), createElementBlock("div", {
|
|
18210
18210
|
key: 0,
|
|
18211
|
-
class: normalizeClass(["g-toolbar-custom", inAIHub.value && !unref(isPhone)() ? "
|
|
18211
|
+
class: normalizeClass(["g-toolbar-custom", inAIHub.value && !unref(isPhone)() ? "g-toolbar-custom--ai" : ""])
|
|
18212
18212
|
}, [
|
|
18213
18213
|
_ctx.$slots.headerCustom ? renderSlot(_ctx.$slots, "headerCustom", {}, void 0, true, 0) : isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) && !showNameAndIcon.value ? (openBlock(), createBlock(HeaderCustom, {
|
|
18214
18214
|
key: 1,
|
|
@@ -18228,10 +18228,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18228
18228
|
}, 8, ["scene", "isLogin", "errorCode", "orgProps", "repoProps", "userProps"])) : createCommentVNode("", true)
|
|
18229
18229
|
], 2)) : createCommentVNode("", true)
|
|
18230
18230
|
]),
|
|
18231
|
-
_ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
18231
|
+
_ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
18232
18232
|
renderSlot(_ctx.$slots, "headerMiddleRight", {}, void 0, true)
|
|
18233
18233
|
])) : createCommentVNode("", true),
|
|
18234
|
-
!inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
18234
|
+
!inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
18235
18235
|
isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", {}, () => [
|
|
18236
18236
|
(openBlock(), createBlock(Search, {
|
|
18237
18237
|
inAIHub: inAIHub.value,
|
|
@@ -18250,7 +18250,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18250
18250
|
], true, 0) : createCommentVNode("", true)
|
|
18251
18251
|
])) : createCommentVNode("", true),
|
|
18252
18252
|
createElementVNode("div", {
|
|
18253
|
-
class: normalizeClass(["g-toolbar-right
|
|
18253
|
+
class: normalizeClass(["g-toolbar-right allow-click-stop", inAIHub.value ? "g-toolbar-right--ai" : ""])
|
|
18254
18254
|
}, [
|
|
18255
18255
|
createElementVNode("div", _hoisted_4$a, [
|
|
18256
18256
|
createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"]),
|
|
@@ -18260,7 +18260,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18260
18260
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18261
18261
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
18262
18262
|
key: 0,
|
|
18263
|
-
class: "app-login-warp
|
|
18263
|
+
class: "app-login-warp login-icon",
|
|
18264
18264
|
onClick: _cache[3] || (_cache[3] = ($event) => handleLogin("login"))
|
|
18265
18265
|
}, [
|
|
18266
18266
|
createVNode(GIcon, {
|
|
@@ -18282,7 +18282,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18282
18282
|
}),
|
|
18283
18283
|
createVNode(unref(Button), {
|
|
18284
18284
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => handleLogin("register"), ["stop"])),
|
|
18285
|
-
class: "
|
|
18285
|
+
class: "g-toolbar-right__register-btn"
|
|
18286
18286
|
}, {
|
|
18287
18287
|
default: withCtx(() => [
|
|
18288
18288
|
createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.register")), 1)
|
|
@@ -18330,22 +18330,22 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18330
18330
|
};
|
|
18331
18331
|
}
|
|
18332
18332
|
});
|
|
18333
|
-
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18334
|
-
const _hoisted_1$
|
|
18335
|
-
const _hoisted_2$
|
|
18336
|
-
const _hoisted_3$
|
|
18337
|
-
const _hoisted_4$9 = { class: "
|
|
18338
|
-
const _hoisted_5$5 = { class: "
|
|
18339
|
-
const _hoisted_6$4 = { class: "search-avatar
|
|
18340
|
-
const _hoisted_7$3 = { class: "g-toolbar-right
|
|
18333
|
+
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18334
|
+
const _hoisted_1$k = { class: "g-toolbar allow-click-stop" };
|
|
18335
|
+
const _hoisted_2$f = { class: "g-toolbar-left allow-click-stop" };
|
|
18336
|
+
const _hoisted_3$e = { class: "g-toolbar-custom" };
|
|
18337
|
+
const _hoisted_4$9 = { class: "enterprise-name" };
|
|
18338
|
+
const _hoisted_5$5 = { class: "enterprise-flag" };
|
|
18339
|
+
const _hoisted_6$4 = { class: "search-avatar" };
|
|
18340
|
+
const _hoisted_7$3 = { class: "g-toolbar-right allow-click-stop" };
|
|
18341
18341
|
const _hoisted_8$3 = {
|
|
18342
18342
|
key: 0,
|
|
18343
18343
|
class: "g-header-body"
|
|
18344
18344
|
};
|
|
18345
|
-
const _hoisted_9$3 = { class: "g-header-body-left
|
|
18346
|
-
const _hoisted_10$3 = { class: "g-header-body-right
|
|
18345
|
+
const _hoisted_9$3 = { class: "g-header-body-left" };
|
|
18346
|
+
const _hoisted_10$3 = { class: "g-header-body-right" };
|
|
18347
18347
|
const _hoisted_11$3 = { key: 1 };
|
|
18348
|
-
const _sfc_main$
|
|
18348
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
18349
18349
|
...{
|
|
18350
18350
|
name: "EnterpriseHeader"
|
|
18351
18351
|
},
|
|
@@ -18557,19 +18557,19 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18557
18557
|
return (_ctx, _cache) => {
|
|
18558
18558
|
var _a2, _b, _c;
|
|
18559
18559
|
return openBlock(), createElementBlock("div", {
|
|
18560
|
-
class: "gitcode-header-wrapper
|
|
18560
|
+
class: "gitcode-header-wrapper",
|
|
18561
18561
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
18562
18562
|
}, [
|
|
18563
18563
|
createElementVNode("div", {
|
|
18564
18564
|
ref_key: "headerRef",
|
|
18565
18565
|
ref: headerRef,
|
|
18566
|
-
class: normalizeClass(["g-header allow-click-stop
|
|
18566
|
+
class: normalizeClass(["g-header allow-click-stop", [showHeaderShadow.value ? "head-shadow" : "", __props.headerBorder ? "oldBorder" : "", headerClassName.value]])
|
|
18567
18567
|
}, [
|
|
18568
18568
|
createVNode(SiteAnnouncement),
|
|
18569
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
18570
|
-
createElementVNode("div", _hoisted_2$
|
|
18571
|
-
createElementVNode("div", _hoisted_3$
|
|
18572
|
-
createVNode(_sfc_main$
|
|
18569
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
18570
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
18571
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
18572
|
+
createVNode(_sfc_main$H, {
|
|
18573
18573
|
src: (_a2 = __props.enterpriseInfo) == null ? void 0 : _a2.avatar,
|
|
18574
18574
|
name: (_b = __props.enterpriseInfo) == null ? void 0 : _b.name,
|
|
18575
18575
|
isRound: false,
|
|
@@ -18604,7 +18604,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18604
18604
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18605
18605
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
18606
18606
|
key: 0,
|
|
18607
|
-
class: "app-login-warp
|
|
18607
|
+
class: "app-login-warp login-icon",
|
|
18608
18608
|
onClick: _cache[0] || (_cache[0] = ($event) => handleLogin("login"))
|
|
18609
18609
|
}, [
|
|
18610
18610
|
createVNode(GIcon, {
|
|
@@ -18625,7 +18625,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18625
18625
|
}),
|
|
18626
18626
|
createVNode(unref(Button), {
|
|
18627
18627
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => handleLogin("register"), ["stop"])),
|
|
18628
|
-
class: "
|
|
18628
|
+
class: "register-btn"
|
|
18629
18629
|
}, {
|
|
18630
18630
|
default: withCtx(() => [
|
|
18631
18631
|
createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.register")), 1)
|
|
@@ -18637,7 +18637,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18637
18637
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
18638
18638
|
!["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(unref(Button), {
|
|
18639
18639
|
key: 0,
|
|
18640
|
-
class: "
|
|
18640
|
+
class: "btn-add",
|
|
18641
18641
|
variant: "solid",
|
|
18642
18642
|
onClick: handleNewRepo
|
|
18643
18643
|
}, {
|
|
@@ -18645,7 +18645,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18645
18645
|
createVNode(GIcon, {
|
|
18646
18646
|
name: "gt-add",
|
|
18647
18647
|
color: "var(--theme-light-text)",
|
|
18648
|
-
class: "
|
|
18648
|
+
class: "btn-add-icon"
|
|
18649
18649
|
}),
|
|
18650
18650
|
createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.createRepo_01")), 1)
|
|
18651
18651
|
]),
|
|
@@ -18656,7 +18656,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18656
18656
|
name: unref(isWhiteTheme)() ? "gt-line-light" : "gt-line-dark",
|
|
18657
18657
|
size: "16px",
|
|
18658
18658
|
onClick: handleThemeChange,
|
|
18659
|
-
class: "
|
|
18659
|
+
class: "theme-toggle-icon"
|
|
18660
18660
|
}, null, 8, ["name"]),
|
|
18661
18661
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
|
|
18662
18662
|
key: 2,
|
|
@@ -18690,7 +18690,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18690
18690
|
};
|
|
18691
18691
|
}
|
|
18692
18692
|
});
|
|
18693
|
-
const EnterpriseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18693
|
+
const EnterpriseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18694
18694
|
const layoutConfig$1 = useLayoutConfig();
|
|
18695
18695
|
const useConfigSide = (request, sceneValue) => {
|
|
18696
18696
|
const API = asideRequest(request);
|
|
@@ -18895,9 +18895,9 @@ var SearchType = /* @__PURE__ */ ((SearchType2) => {
|
|
|
18895
18895
|
SearchType2[SearchType2["Enterprise"] = 3] = "Enterprise";
|
|
18896
18896
|
return SearchType2;
|
|
18897
18897
|
})(SearchType || {});
|
|
18898
|
-
const _hoisted_1$
|
|
18899
|
-
const _hoisted_2$
|
|
18900
|
-
const _sfc_main$
|
|
18898
|
+
const _hoisted_1$j = { class: "area" };
|
|
18899
|
+
const _hoisted_2$e = { class: "area__layout-slot" };
|
|
18900
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
18901
18901
|
__name: "Area",
|
|
18902
18902
|
props: {
|
|
18903
18903
|
list: {},
|
|
@@ -18910,9 +18910,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18910
18910
|
const layoutConfig2 = useLayoutConfig();
|
|
18911
18911
|
const { t: t2 } = i18n.global;
|
|
18912
18912
|
const route = useRoute();
|
|
18913
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18914
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18915
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18913
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-BEwOFYk1.js"));
|
|
18914
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-CCc786iD.js"));
|
|
18915
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DsFXRFSj.js"));
|
|
18916
18916
|
const props = __props;
|
|
18917
18917
|
const useReport2 = inject("useReport");
|
|
18918
18918
|
const userInfo = inject("userInfo");
|
|
@@ -19117,7 +19117,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
19117
19117
|
window.open(url, openMode);
|
|
19118
19118
|
};
|
|
19119
19119
|
return (_ctx, _cache) => {
|
|
19120
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19120
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
19121
19121
|
createVNode(unref(Menu), {
|
|
19122
19122
|
class: "menu",
|
|
19123
19123
|
onSelect: onMenuClick,
|
|
@@ -19143,7 +19143,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
19143
19143
|
return {
|
|
19144
19144
|
name: key,
|
|
19145
19145
|
fn: withCtx(() => [
|
|
19146
|
-
createElementVNode("div", _hoisted_2$
|
|
19146
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
19147
19147
|
createVNode(unref(Menu), {
|
|
19148
19148
|
class: "menu",
|
|
19149
19149
|
onSelect: onMenuClick,
|
|
@@ -19171,11 +19171,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
19171
19171
|
};
|
|
19172
19172
|
}
|
|
19173
19173
|
});
|
|
19174
|
-
const Area = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19175
|
-
const _hoisted_1$
|
|
19176
|
-
const _hoisted_2$
|
|
19177
|
-
const _hoisted_3$
|
|
19178
|
-
const _sfc_main$
|
|
19174
|
+
const Area = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19175
|
+
const _hoisted_1$i = { class: "tools-item-wrapper" };
|
|
19176
|
+
const _hoisted_2$d = { class: "tools-item-wrapper-checkbox" };
|
|
19177
|
+
const _hoisted_3$d = ["onClick", "title"];
|
|
19178
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
19179
19179
|
__name: "Theme",
|
|
19180
19180
|
setup(__props) {
|
|
19181
19181
|
const { t: t2 } = i18n.global;
|
|
@@ -19200,9 +19200,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19200
19200
|
setTheme(activeTheme.value);
|
|
19201
19201
|
};
|
|
19202
19202
|
return (_ctx, _cache) => {
|
|
19203
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19203
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
19204
19204
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.theme")), 1),
|
|
19205
|
-
createElementVNode("div", _hoisted_2$
|
|
19205
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
19206
19206
|
(openBlock(true), createElementBlock(Fragment, null, renderList(themeList.value, (item) => {
|
|
19207
19207
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
19208
19208
|
key: item.value
|
|
@@ -19217,17 +19217,17 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19217
19217
|
color: "var(--theme-icon-fill-weak)",
|
|
19218
19218
|
class: "checkbox-item-icon"
|
|
19219
19219
|
}, null, 8, ["name"])
|
|
19220
|
-
], 16, _hoisted_3$
|
|
19220
|
+
], 16, _hoisted_3$d);
|
|
19221
19221
|
}), 128))
|
|
19222
19222
|
])
|
|
19223
19223
|
]);
|
|
19224
19224
|
};
|
|
19225
19225
|
}
|
|
19226
19226
|
});
|
|
19227
|
-
const _hoisted_1$
|
|
19228
|
-
const _hoisted_2$
|
|
19229
|
-
const _hoisted_3$
|
|
19230
|
-
const _sfc_main$
|
|
19227
|
+
const _hoisted_1$h = { class: "settings__label" };
|
|
19228
|
+
const _hoisted_2$c = { class: "aside-footer-tools-item-dropdown-item" };
|
|
19229
|
+
const _hoisted_3$c = { class: "aside-footer-tools-item-dropdown-item" };
|
|
19230
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
19231
19231
|
__name: "Settings",
|
|
19232
19232
|
props: {
|
|
19233
19233
|
showThemeSetting: { type: Boolean },
|
|
@@ -19243,13 +19243,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19243
19243
|
"overlay-class": "footer-tools-setting-dropdown"
|
|
19244
19244
|
}, {
|
|
19245
19245
|
menu: withCtx(() => [
|
|
19246
|
-
withDirectives(createElementVNode("div", _hoisted_2$
|
|
19247
|
-
createVNode(_sfc_main$
|
|
19246
|
+
withDirectives(createElementVNode("div", _hoisted_2$c, [
|
|
19247
|
+
createVNode(_sfc_main$l)
|
|
19248
19248
|
], 512), [
|
|
19249
19249
|
[vShow, __props.showThemeSetting]
|
|
19250
19250
|
]),
|
|
19251
|
-
withDirectives(createElementVNode("div", _hoisted_3$
|
|
19252
|
-
createVNode(_sfc_main$
|
|
19251
|
+
withDirectives(createElementVNode("div", _hoisted_3$c, [
|
|
19252
|
+
createVNode(_sfc_main$v)
|
|
19253
19253
|
], 512), [
|
|
19254
19254
|
[vShow, __props.showLangSetting]
|
|
19255
19255
|
])
|
|
@@ -19261,14 +19261,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19261
19261
|
createVNode(GIcon, {
|
|
19262
19262
|
name: "gt-line-setting",
|
|
19263
19263
|
size: "16",
|
|
19264
|
-
class: "default-icon min
|
|
19264
|
+
class: "default-icon settings__icon-min"
|
|
19265
19265
|
}),
|
|
19266
19266
|
createVNode(GIcon, {
|
|
19267
19267
|
name: "gt-line-setting",
|
|
19268
19268
|
size: "16",
|
|
19269
|
-
class: "active-icon min
|
|
19269
|
+
class: "active-icon settings__icon-min"
|
|
19270
19270
|
}),
|
|
19271
|
-
createElementVNode("span", _hoisted_1$
|
|
19271
|
+
createElementVNode("span", _hoisted_1$h, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.preSettingLittle")), 1)
|
|
19272
19272
|
], 2)
|
|
19273
19273
|
]),
|
|
19274
19274
|
_: 1
|
|
@@ -19276,8 +19276,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19276
19276
|
};
|
|
19277
19277
|
}
|
|
19278
19278
|
});
|
|
19279
|
+
const Settings = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19279
19280
|
const FEEDBACK_CENTER_URL = "https://gitcode.com/Gitcode-offical-team/GitCode-Docs/issues";
|
|
19280
|
-
const _sfc_main$
|
|
19281
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
19281
19282
|
__name: "SubMenuList",
|
|
19282
19283
|
setup(__props) {
|
|
19283
19284
|
const layoutConfig2 = useLayoutConfig();
|
|
@@ -19309,12 +19310,12 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
19309
19310
|
});
|
|
19310
19311
|
return (_ctx, _cache) => {
|
|
19311
19312
|
return openBlock(), createElementBlock("div", {
|
|
19312
|
-
class: normalizeClass(["sub-menu-list
|
|
19313
|
+
class: normalizeClass(["sub-menu-list", { en: isEn.value }])
|
|
19313
19314
|
}, [
|
|
19314
19315
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
19315
19316
|
return openBlock(), createBlock(GLink, {
|
|
19316
19317
|
key: item.name,
|
|
19317
|
-
class: "custom-link
|
|
19318
|
+
class: "custom-link sub-menu-list__link",
|
|
19318
19319
|
href: item.url,
|
|
19319
19320
|
target: item.target
|
|
19320
19321
|
}, {
|
|
@@ -19332,7 +19333,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
19332
19333
|
};
|
|
19333
19334
|
}
|
|
19334
19335
|
});
|
|
19335
|
-
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19336
|
+
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19336
19337
|
const createSetting = () => {
|
|
19337
19338
|
const { t: t2 } = i18n.global;
|
|
19338
19339
|
const isGitCodeHost2 = typeof window !== "undefined" && window.location.hostname.includes("gitcode");
|
|
@@ -19372,17 +19373,17 @@ const createSetting = () => {
|
|
|
19372
19373
|
}
|
|
19373
19374
|
return settings;
|
|
19374
19375
|
};
|
|
19375
|
-
const _hoisted_1$
|
|
19376
|
-
const _hoisted_2$
|
|
19377
|
-
const _hoisted_3$
|
|
19378
|
-
const _hoisted_4$8 = { class: "
|
|
19376
|
+
const _hoisted_1$g = { class: "aside-footer" };
|
|
19377
|
+
const _hoisted_2$b = { class: "remake-message" };
|
|
19378
|
+
const _hoisted_3$b = ["title"];
|
|
19379
|
+
const _hoisted_4$8 = { class: "remake-message__line" };
|
|
19379
19380
|
const _hoisted_5$4 = {
|
|
19380
19381
|
href: "https://beian.miit.gov.cn/#/Integrated/index",
|
|
19381
19382
|
target: "_blank"
|
|
19382
19383
|
};
|
|
19383
19384
|
const _hoisted_6$3 = {
|
|
19384
19385
|
key: 0,
|
|
19385
|
-
class: "
|
|
19386
|
+
class: "remake-message__line public-security"
|
|
19386
19387
|
};
|
|
19387
19388
|
const _hoisted_7$2 = ["href"];
|
|
19388
19389
|
const _hoisted_8$2 = {
|
|
@@ -19390,11 +19391,11 @@ const _hoisted_8$2 = {
|
|
|
19390
19391
|
target: "_blank",
|
|
19391
19392
|
rel: "noopener noreferrer"
|
|
19392
19393
|
};
|
|
19393
|
-
const _hoisted_9$2 = { class: "
|
|
19394
|
-
const _hoisted_10$2 = { class: "footer-work-info
|
|
19395
|
-
const _hoisted_11$2 = { class: "
|
|
19394
|
+
const _hoisted_9$2 = { class: "contact-info__about-row" };
|
|
19395
|
+
const _hoisted_10$2 = { class: "footer-work-info" };
|
|
19396
|
+
const _hoisted_11$2 = { class: "footer-work-info__item footer-work-info__item--mt" };
|
|
19396
19397
|
const _hoisted_12$2 = { class: "" };
|
|
19397
|
-
const _sfc_main$
|
|
19398
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
19398
19399
|
__name: "ContactInfo",
|
|
19399
19400
|
setup(__props) {
|
|
19400
19401
|
const { t: t2 } = i18n.global;
|
|
@@ -19404,12 +19405,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19404
19405
|
return getLocaleLang() === LANG_EN;
|
|
19405
19406
|
});
|
|
19406
19407
|
return (_ctx, _cache) => {
|
|
19407
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19408
|
-
createElementVNode("div", _hoisted_2$
|
|
19408
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
19409
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
19409
19410
|
createElementVNode("p", {
|
|
19410
|
-
class: "
|
|
19411
|
+
class: "remake-message__line remake-message__line--break",
|
|
19411
19412
|
title: unref(copyright).digestAbbr
|
|
19412
|
-
}, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$
|
|
19413
|
+
}, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$b),
|
|
19413
19414
|
createElementVNode("p", _hoisted_4$8, [
|
|
19414
19415
|
createElementVNode("a", _hoisted_5$4, toDisplayString$1(unref(copyright).icp), 1)
|
|
19415
19416
|
]),
|
|
@@ -19422,7 +19423,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19422
19423
|
])) : createCommentVNode("", true)
|
|
19423
19424
|
]),
|
|
19424
19425
|
createElementVNode("p", {
|
|
19425
|
-
class: normalizeClass(["
|
|
19426
|
+
class: normalizeClass(["contact-info__support support", { en: isEn.value }])
|
|
19426
19427
|
}, [
|
|
19427
19428
|
createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.technicalSupport")), 1),
|
|
19428
19429
|
_cache[1] || (_cache[1] = createElementVNode("a", {
|
|
@@ -19455,7 +19456,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19455
19456
|
}, 8, ["href"])
|
|
19456
19457
|
]),
|
|
19457
19458
|
createElementVNode("ul", _hoisted_10$2, [
|
|
19458
|
-
_cache[4] || (_cache[4] = createElementVNode("li", { class: "
|
|
19459
|
+
_cache[4] || (_cache[4] = createElementVNode("li", { class: "footer-work-info__item" }, [
|
|
19459
19460
|
createElementVNode("span", { class: "" }, "400-6868-951")
|
|
19460
19461
|
], -1)),
|
|
19461
19462
|
createElementVNode("li", _hoisted_11$2, [
|
|
@@ -19466,18 +19467,18 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19466
19467
|
};
|
|
19467
19468
|
}
|
|
19468
19469
|
});
|
|
19469
|
-
const ContactInfo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19470
|
-
const _hoisted_1$
|
|
19471
|
-
const _hoisted_2$
|
|
19472
|
-
const _hoisted_3$
|
|
19470
|
+
const ContactInfo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19471
|
+
const _hoisted_1$f = { class: "config-aside__main" };
|
|
19472
|
+
const _hoisted_2$a = { key: 0 };
|
|
19473
|
+
const _hoisted_3$a = {
|
|
19473
19474
|
key: 1,
|
|
19474
19475
|
class: "aside-menus"
|
|
19475
19476
|
};
|
|
19476
19477
|
const _hoisted_4$7 = {
|
|
19477
19478
|
key: 1,
|
|
19478
|
-
class: "line mt
|
|
19479
|
+
class: "line line--mt"
|
|
19479
19480
|
};
|
|
19480
|
-
const _sfc_main$
|
|
19481
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
19481
19482
|
__name: "configAideContent",
|
|
19482
19483
|
props: {
|
|
19483
19484
|
sceneValue: { default: SceneValue.home },
|
|
@@ -19617,18 +19618,18 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19617
19618
|
createElementVNode("div", {
|
|
19618
19619
|
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": __props.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
19619
19620
|
}, [
|
|
19620
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
19621
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
19621
19622
|
createElementVNode("div", {
|
|
19622
|
-
class: normalizeClass(["scroll-content
|
|
19623
|
+
class: normalizeClass(["scroll-content config-aside__scroll", { scroll: isScroll.value }]),
|
|
19623
19624
|
onScroll: handleScroll,
|
|
19624
19625
|
onMouseleave: handleMouseLeave
|
|
19625
19626
|
}, [
|
|
19626
|
-
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
19627
|
+
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
19627
19628
|
createVNode(unref(Skeleton), {
|
|
19628
19629
|
loading: unref(sideLoading),
|
|
19629
19630
|
row: 4
|
|
19630
19631
|
}, null, 8, ["loading"])
|
|
19631
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
19632
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
19632
19633
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayArea.value, (item, index2) => {
|
|
19633
19634
|
return openBlock(), createElementBlock(Fragment, {
|
|
19634
19635
|
key: item.id
|
|
@@ -19666,7 +19667,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19666
19667
|
], 64);
|
|
19667
19668
|
}), 128)),
|
|
19668
19669
|
!__props.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).LINK) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19669
|
-
_cache[3] || (_cache[3] = createElementVNode("hr", { class: "line
|
|
19670
|
+
_cache[3] || (_cache[3] = createElementVNode("hr", { class: "line line--my" }, null, -1)),
|
|
19670
19671
|
createVNode(SubMenuList)
|
|
19671
19672
|
], 64)) : createCommentVNode("", true)
|
|
19672
19673
|
])),
|
|
@@ -19676,7 +19677,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19676
19677
|
key: 0,
|
|
19677
19678
|
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little": __props.asideSetShowLittle }])
|
|
19678
19679
|
}, [
|
|
19679
|
-
createVNode(
|
|
19680
|
+
createVNode(Settings, {
|
|
19680
19681
|
"show-lang-setting": __props.showLangSetting,
|
|
19681
19682
|
"show-theme-setting": __props.showThemeSetting,
|
|
19682
19683
|
asideSetShowLittle: __props.asideSetShowLittle
|
|
@@ -19692,9 +19693,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19692
19693
|
};
|
|
19693
19694
|
}
|
|
19694
19695
|
});
|
|
19695
|
-
const ConfigAideContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19696
|
-
const _hoisted_1$
|
|
19697
|
-
const _sfc_main$
|
|
19696
|
+
const ConfigAideContent = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19697
|
+
const _hoisted_1$e = { class: "aside-drawer-header" };
|
|
19698
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
19698
19699
|
__name: "index",
|
|
19699
19700
|
props: {
|
|
19700
19701
|
sceneValue: { default: SceneValue.home },
|
|
@@ -19873,7 +19874,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19873
19874
|
class: "draw-side-bar"
|
|
19874
19875
|
}, {
|
|
19875
19876
|
default: withCtx(() => [
|
|
19876
|
-
createElementVNode("div", _hoisted_1$
|
|
19877
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
19877
19878
|
createVNode(GLink, {
|
|
19878
19879
|
class: "g-toolbar-left-logo",
|
|
19879
19880
|
style: normalizeStyle(logoStyle.value),
|
|
@@ -19882,7 +19883,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19882
19883
|
onClickCapture: handleDrawerLogoClick
|
|
19883
19884
|
}, null, 8, ["style", "to", "href"]),
|
|
19884
19885
|
createVNode(unref(Button), {
|
|
19885
|
-
class: "
|
|
19886
|
+
class: "draw-side-bar-close",
|
|
19886
19887
|
icon: "close",
|
|
19887
19888
|
onClick: _cache[0] || (_cache[0] = ($event) => handleAsideVisible(false)),
|
|
19888
19889
|
variant: "text"
|
|
@@ -19904,7 +19905,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19904
19905
|
};
|
|
19905
19906
|
}
|
|
19906
19907
|
});
|
|
19907
|
-
const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19908
|
+
const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19908
19909
|
const repoInfoData = {
|
|
19909
19910
|
"star_count": 0,
|
|
19910
19911
|
"forks_count": 0,
|
|
@@ -20611,11 +20612,11 @@ const headerCustomPropsData = {
|
|
|
20611
20612
|
isOtherUser: true
|
|
20612
20613
|
}
|
|
20613
20614
|
};
|
|
20614
|
-
const _hoisted_1$
|
|
20615
|
-
const _hoisted_2$
|
|
20616
|
-
const _hoisted_3$
|
|
20615
|
+
const _hoisted_1$d = { class: "home-wrapper" };
|
|
20616
|
+
const _hoisted_2$9 = { class: "home-content" };
|
|
20617
|
+
const _hoisted_3$9 = { class: "home-left-side" };
|
|
20617
20618
|
const _hoisted_4$6 = { class: "home-main" };
|
|
20618
|
-
const _sfc_main$
|
|
20619
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
20619
20620
|
__name: "home",
|
|
20620
20621
|
setup(__props) {
|
|
20621
20622
|
const isLogin = ref(false);
|
|
@@ -20690,7 +20691,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20690
20691
|
}
|
|
20691
20692
|
});
|
|
20692
20693
|
return (_ctx, _cache) => {
|
|
20693
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20694
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
20694
20695
|
showCommonHeader.value ? (openBlock(), createBlock(GitCodeHeader, {
|
|
20695
20696
|
key: 0,
|
|
20696
20697
|
sceneValue: sceneSelected.value,
|
|
@@ -20723,8 +20724,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20723
20724
|
openHarmonyGuide: true,
|
|
20724
20725
|
headerCustomProps: headerCustomProps.value
|
|
20725
20726
|
}, null, 8, ["independence", "isLogin", "request", "globalStore", "enterpriseInfo", "userInfo", "headerCustomProps"])),
|
|
20726
|
-
createElementVNode("div", _hoisted_2$
|
|
20727
|
-
createElementVNode("div", _hoisted_3$
|
|
20727
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
20728
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
20728
20729
|
createVNode(GitCodeAside, {
|
|
20729
20730
|
sceneValue: sceneSelected.value,
|
|
20730
20731
|
userInfo: userInfo.value,
|
|
@@ -20775,8 +20776,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20775
20776
|
]),
|
|
20776
20777
|
_: 1
|
|
20777
20778
|
}, 8, ["modelValue"]),
|
|
20778
|
-
_cache[10] || (_cache[10] = createElementVNode("hr", { class: "
|
|
20779
|
-
_cache[11] || (_cache[11] = createElementVNode("h1", { class: "
|
|
20779
|
+
_cache[10] || (_cache[10] = createElementVNode("hr", { class: "home-divider" }, null, -1)),
|
|
20780
|
+
_cache[11] || (_cache[11] = createElementVNode("h1", { class: "home-section-title" }, "场景值 SceneValue 传入", -1)),
|
|
20780
20781
|
createVNode(unref(RadioGroup), {
|
|
20781
20782
|
direction: "row",
|
|
20782
20783
|
modelValue: sceneSelected.value,
|
|
@@ -20798,8 +20799,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20798
20799
|
]),
|
|
20799
20800
|
_: 1
|
|
20800
20801
|
}, 8, ["modelValue"]),
|
|
20801
|
-
_cache[12] || (_cache[12] = createElementVNode("hr", { class: "
|
|
20802
|
-
_cache[13] || (_cache[13] = createElementVNode("h2", { class: "
|
|
20802
|
+
_cache[12] || (_cache[12] = createElementVNode("hr", { class: "home-divider" }, null, -1)),
|
|
20803
|
+
_cache[13] || (_cache[13] = createElementVNode("h2", { class: "home-subsection-title" }, "是否独立部署", -1)),
|
|
20803
20804
|
createVNode(unref(RadioGroup), {
|
|
20804
20805
|
direction: "row",
|
|
20805
20806
|
modelValue: independence.value,
|
|
@@ -20839,8 +20840,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20839
20840
|
};
|
|
20840
20841
|
}
|
|
20841
20842
|
});
|
|
20842
|
-
const _hoisted_1$
|
|
20843
|
-
const _sfc_main$
|
|
20843
|
+
const _hoisted_1$c = { class: "home-wrapper" };
|
|
20844
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
20844
20845
|
__name: "login",
|
|
20845
20846
|
setup(__props) {
|
|
20846
20847
|
const isLogin = ref(false);
|
|
@@ -20872,8 +20873,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
20872
20873
|
}
|
|
20873
20874
|
});
|
|
20874
20875
|
return (_ctx, _cache) => {
|
|
20875
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20876
|
-
createVNode(_sfc_main, {
|
|
20876
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
20877
|
+
createVNode(_sfc_main$1, {
|
|
20877
20878
|
request: unref(proxyService),
|
|
20878
20879
|
loginSuccess,
|
|
20879
20880
|
loginOutFinish,
|
|
@@ -20889,7 +20890,7 @@ const routes = [
|
|
|
20889
20890
|
{
|
|
20890
20891
|
path: "/",
|
|
20891
20892
|
name: "home",
|
|
20892
|
-
component: _sfc_main$
|
|
20893
|
+
component: _sfc_main$f,
|
|
20893
20894
|
meta: {
|
|
20894
20895
|
// showBgColor: true,
|
|
20895
20896
|
asideMenu: "flat"
|
|
@@ -20898,52 +20899,52 @@ const routes = [
|
|
|
20898
20899
|
{
|
|
20899
20900
|
path: "/dashboard",
|
|
20900
20901
|
name: "dashboard",
|
|
20901
|
-
component: _sfc_main$
|
|
20902
|
+
component: _sfc_main$f
|
|
20902
20903
|
},
|
|
20903
20904
|
{
|
|
20904
20905
|
path: "/repoDashboard",
|
|
20905
20906
|
name: "repoDashboard",
|
|
20906
|
-
component: _sfc_main$
|
|
20907
|
+
component: _sfc_main$f
|
|
20907
20908
|
},
|
|
20908
20909
|
{
|
|
20909
20910
|
path: "/",
|
|
20910
20911
|
name: "homepage",
|
|
20911
|
-
component: _sfc_main$
|
|
20912
|
+
component: _sfc_main$f
|
|
20912
20913
|
},
|
|
20913
20914
|
{
|
|
20914
20915
|
path: "/settingOrganization",
|
|
20915
20916
|
name: "settingOrganization",
|
|
20916
|
-
component: _sfc_main$
|
|
20917
|
+
component: _sfc_main$f
|
|
20917
20918
|
},
|
|
20918
20919
|
{
|
|
20919
20920
|
path: "/settingRepo",
|
|
20920
20921
|
name: "settingRepo",
|
|
20921
|
-
component: _sfc_main$
|
|
20922
|
+
component: _sfc_main$f
|
|
20922
20923
|
},
|
|
20923
20924
|
{
|
|
20924
20925
|
path: "/myNotebook",
|
|
20925
20926
|
name: "myNotebook",
|
|
20926
|
-
component: _sfc_main$
|
|
20927
|
+
component: _sfc_main$f
|
|
20927
20928
|
},
|
|
20928
20929
|
{
|
|
20929
20930
|
path: "/userSpaces",
|
|
20930
20931
|
name: "userSpaces",
|
|
20931
|
-
component: _sfc_main$
|
|
20932
|
+
component: _sfc_main$f
|
|
20932
20933
|
},
|
|
20933
20934
|
{
|
|
20934
20935
|
path: "/userStars",
|
|
20935
20936
|
name: "userStars",
|
|
20936
|
-
component: _sfc_main$
|
|
20937
|
+
component: _sfc_main$f
|
|
20937
20938
|
},
|
|
20938
20939
|
{
|
|
20939
20940
|
path: "/setting",
|
|
20940
20941
|
name: "setting",
|
|
20941
|
-
component: _sfc_main$
|
|
20942
|
+
component: _sfc_main$f
|
|
20942
20943
|
},
|
|
20943
20944
|
{
|
|
20944
20945
|
path: "/login",
|
|
20945
20946
|
name: "/login",
|
|
20946
|
-
component: _sfc_main$
|
|
20947
|
+
component: _sfc_main$e
|
|
20947
20948
|
}
|
|
20948
20949
|
];
|
|
20949
20950
|
const router = createRouter({
|
|
@@ -21603,8 +21604,8 @@ function useModel(props, emits) {
|
|
|
21603
21604
|
vModels
|
|
21604
21605
|
};
|
|
21605
21606
|
}
|
|
21606
|
-
const _hoisted_1$
|
|
21607
|
-
const _sfc_main$
|
|
21607
|
+
const _hoisted_1$b = { class: "g-input-button-append__text" };
|
|
21608
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
21608
21609
|
__name: "inputButton",
|
|
21609
21610
|
props: {
|
|
21610
21611
|
modelValue: {},
|
|
@@ -21693,7 +21694,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
21693
21694
|
});
|
|
21694
21695
|
return (_ctx, _cache) => {
|
|
21695
21696
|
return openBlock(), createElementBlock("div", {
|
|
21696
|
-
class: normalizeClass(["
|
|
21697
|
+
class: normalizeClass(["g-input-button", [inputBtnClassName.value, __props.error ? "g-input-button-error" : ""]])
|
|
21697
21698
|
}, [
|
|
21698
21699
|
createVNode(unref(Input), {
|
|
21699
21700
|
modelValue: unref(vModels),
|
|
@@ -21712,7 +21713,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
21712
21713
|
DisabledBtn.value || !__props.hasMobile ? "g-input-button-append-inactive" : "g-input-button-append-active"
|
|
21713
21714
|
])
|
|
21714
21715
|
}, [
|
|
21715
|
-
createElementVNode("span", _hoisted_1$
|
|
21716
|
+
createElementVNode("span", _hoisted_1$b, toDisplayString$1(BtnText.value), 1)
|
|
21716
21717
|
], 2)
|
|
21717
21718
|
]),
|
|
21718
21719
|
_: 1
|
|
@@ -21721,12 +21722,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
21721
21722
|
};
|
|
21722
21723
|
}
|
|
21723
21724
|
});
|
|
21724
|
-
const _hoisted_1$
|
|
21725
|
-
const _hoisted_2$
|
|
21726
|
-
const _hoisted_3$
|
|
21727
|
-
const _hoisted_4$5 = { class: "
|
|
21728
|
-
const _hoisted_5$3 = { class: "
|
|
21729
|
-
const _sfc_main$
|
|
21725
|
+
const _hoisted_1$a = { class: "g-input-select" };
|
|
21726
|
+
const _hoisted_2$8 = { class: "login-phone" };
|
|
21727
|
+
const _hoisted_3$8 = { class: "g-input-select__option-row" };
|
|
21728
|
+
const _hoisted_4$5 = { class: "g-input-select__item-row" };
|
|
21729
|
+
const _hoisted_5$3 = { class: "g-input-select__option-row" };
|
|
21730
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
21730
21731
|
__name: "inputSelect",
|
|
21731
21732
|
props: {
|
|
21732
21733
|
modelValue: {},
|
|
@@ -21799,8 +21800,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
21799
21800
|
}
|
|
21800
21801
|
});
|
|
21801
21802
|
return (_ctx, _cache) => {
|
|
21802
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21803
|
-
createElementVNode("div", _hoisted_2$
|
|
21803
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
21804
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
21804
21805
|
(props == null ? void 0 : props.editableSelect) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
21805
21806
|
createVNode(unref(Select), {
|
|
21806
21807
|
class: "login-country-select",
|
|
@@ -21817,7 +21818,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
21817
21818
|
value: item.value
|
|
21818
21819
|
}, {
|
|
21819
21820
|
default: withCtx(() => [
|
|
21820
|
-
createElementVNode("div", _hoisted_3$
|
|
21821
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
21821
21822
|
createElementVNode("span", null, toDisplayString$1(item.name), 1),
|
|
21822
21823
|
createElementVNode("span", null, toDisplayString$1(item.label), 1)
|
|
21823
21824
|
])
|
|
@@ -21845,7 +21846,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
21845
21846
|
createElementVNode("div", null, toDisplayString$1(slotProps.option.label), 1),
|
|
21846
21847
|
createVNode(GIcon, {
|
|
21847
21848
|
name: "gt-line-delete",
|
|
21848
|
-
class: "
|
|
21849
|
+
class: "g-input-select__delete-icon",
|
|
21849
21850
|
onClick: withModifiers(($event) => deleteMobile(slotProps.option.value), ["stop"])
|
|
21850
21851
|
}, null, 8, ["onClick"])
|
|
21851
21852
|
])
|
|
@@ -21921,7 +21922,7 @@ function useNoSpaceInput(getter, setter) {
|
|
|
21921
21922
|
handleKeydown
|
|
21922
21923
|
};
|
|
21923
21924
|
}
|
|
21924
|
-
const _sfc_main$
|
|
21925
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
21925
21926
|
__name: "index",
|
|
21926
21927
|
props: {
|
|
21927
21928
|
DataList: {},
|
|
@@ -22176,7 +22177,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22176
22177
|
autocomplete: autocompleteCalc((_a = formItem.props) == null ? void 0 : _a.autocomplete),
|
|
22177
22178
|
autofocus: formItem.key === "username",
|
|
22178
22179
|
spellcheck: false
|
|
22179
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange", "onKeydown", "autocomplete", "autofocus"])) : formItem.type === "inputButton" ? (openBlock(), createBlock(_sfc_main$
|
|
22180
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange", "onKeydown", "autocomplete", "autofocus"])) : formItem.type === "inputButton" ? (openBlock(), createBlock(_sfc_main$d, mergeProps({
|
|
22180
22181
|
key: 1,
|
|
22181
22182
|
modelValue: Data[formItem.key],
|
|
22182
22183
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
@@ -22189,7 +22190,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22189
22190
|
text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
|
|
22190
22191
|
error: __props.errors.msgError,
|
|
22191
22192
|
autocomplete: autocompleteCalc((_c = formItem.props) == null ? void 0 : _c.autocomplete)
|
|
22192
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$
|
|
22193
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$c, mergeProps({
|
|
22193
22194
|
key: 2,
|
|
22194
22195
|
country: Data.country,
|
|
22195
22196
|
class: __props.formErrors["mobile"] ? "input-select-error" : "",
|
|
@@ -22222,13 +22223,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22222
22223
|
}
|
|
22223
22224
|
});
|
|
22224
22225
|
const recentLoginImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAoCAYAAAAIeF9DAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAfgSURBVHgB7ZtLbFRlFMfPnU4LhbaMgAJCdJpYImwoK7vgMSwkGDckQgwrARduJNREE4nykhhJMKGNblxIuzOEElcGAptiWeCKuoFIMYykCEoLpQ9eZWY8v9v52tvbOzP33mlLDPefTDtzn993/uf8z/nO3LGkDNxIphJPRVIxyW7MipXUTY0xySVyIgl5gWCJDOTESuu80yK532MS62xId3ZKCFgSAj3JVConuYOW5BpfNOMHQFrN21kp1uH6dGfa70mBCPkjmdqqJBxXL0hKhACw2v0S44sQlabkqOTalIiURAiLtNrv8Mp0V3uxg2JSAn8mN+x9JtnLERllI6n+33YtueF4sYOKRkhPcsNBzRGHJMI0w+pWCdukEjbg3lMwQiIyZhK5Rk0BP3vt8SQkImM2kEt5ydcUySJnZERaJMKsICu5T95Md43bexIhVFMk8GhtMasYqJRYvcknkyQLXYvImHUkRiV70HwYJ+RaMrWTZCP/E8TqaiQsyjl3htBMG4o38YltuYN+z56z+g1J7NouQTB4+ow8utQ9aVvliqWy7Ievpb+1TUbOXZy0D6NV5A0X1+M4Nr6c/8tkXlOjvS29/n0Z7b0z5V5Lju3zHMOj3y7LnFUN9vh7d+y1t720e7vEamvsMRTC/LfXSc3m9eIX/3z2jQTFU8k2679DNiHXk+u3ZgO0QzBW3bYtcv/EKckODpc8flHzLnl46fKU7RjzyZXr8qqSwiQGO86O70vs2mafZ8B9Mvri+KFzXWrcbvuzFyDLDUjMDA7J8PkuSezeJvM3r5MqJXfx/o+lv6UwGaBiQY3nNd2owmn0FYYQTeZ4yBghOYl9wN+gwCh+CCkGBj966/a4VztJeagR9a/ux/B+70MkDbSdmhRxRAGEPGjrsJ0AR8IJAGTca22339e9t0UJuzjlXozJOa5CWLh35yQnCogETds42qVJZauEwMK9u8omBNxraZfK5ctsSXLDS5KKoVYjd5GOi2siQxBEFECCuRYE1KoE4YIDShLAkBg089EXU+QTIHOlcg9yWg4ykmmM659UyC683NHB+zFYw40LJY8JE+ZegAic5OX9e2z5IDIYY9+R78ePYT85ZMVPrfaL3IaM3T3ynScZgIjyI1vlwUrF9YullIQEk5lJzFWvLHUPigW3nAyc6FAXs+zIABBQ33VyyrnG4yHDncPcuKEFRCmUKVmUvGs0h1hrguYPPCrtY4BOeCVgEmuFQwa4rok4jMU5zghEfqrV44fPTei8+7ocQ3Rw7RFN/v0qT8hNsblAOjkM2XRWW85Kzw9idbXjY3DOO4CsJ5SQnO+FIEmv3LBlcEa3a7ScrG5aa79nEnc+1QTfO+alGAIynFLG/SGkT6WlULlL9ce+vx25gMqsGPD+hc1j3k0OuqVyxjXclZ5fJB3RONhxRudw1O+pibhmj6Tf+Ihp+UfiqlHvY5JOo+CFGHW4gAYbOD3aOVC3pHCfx1d6JAhYZzy52mNLD8R4yZQXhjWS7mqOGdLzFqh8mXkNnT5rV5KFsFQdYLT3th2FThBZJiqeBSxK4kFaJWgzmNd0Uh4o8wzYAP2s2/bOtCVnCMZQQeDMASz2MAyJuhiQN5NL7OT/1UTyN8SweB3S+d7PR7YTHONe8L72y49KxG2N0i8lIAbiEhKvHNgjix3hbDSfKEkW8EzWFbfyK+RiMCXmk6vXpRwwnlLrB0rkYsDgLCYXH9hj54ipOaZ20mcIrgy5ONR8ng5NCBEycn5Cnsb0fa09AbySid5898Px/eg7XuMHtGW8PC8oKvIdhWLw09eilEaibYnSRSyybCKL4oG5Uu0RSWyjpC6Vt7yg3ZK/QhOSGxxxbZlYy+CVDJIEzHtTHfXvaCt53cr82sGr1RIUGKdQXysoKBBuXhlzsNdVkog+8gM5BNIpCkbyuSjoYtZALdgdmhAGMbdpojlMH8cUByQ0QhsvwsvxHL8eX5WXq3uuRBkUnG8kr9Bij6YhfSo/bRFAg5FciTpwfYgZqwSP2qVz1eoGKQc8YFfyqZNC6NMeEPnAvBgkMDU4BQChTYJjW7HcgRdTTtNzgrTefNlZLshFyIzXOgTSyYPVb5X+xoHoxuCQgaOx6neuLRgrY2Yb+bNUXiqANE87BiIEvWRVy2ToBWFIXhgdY2J43gOzqDIaXd3kPXGiiDKadQPg/EILqUGt6nrqN/omy2g/93CD8RLRxSLREMGLY8mJptJ0gzGxH8KQL4gplb8mw+rkbyDJmqfeNFcT92OdZMZuhw/ZxqP+Z5FHyDIoPATiOIbPEAlxNCOd/SIKAdO2YBvRseTY5/ZkMKSTGNN+B06iAWSyn3Mpvb1QqJ/mrgid3d/q/PcuzkWmqQDNy90pwAlYzxBNXh3sQsiIdZj/1rXkhuB9dw+YdQgELFePGtFSEW8yRiV6OAZdN14GUUiGs/EHMAQTp/vrLCs9J6LX78uvNTivssxOAo5gKiRDutMxcKIl3+4b316somIs/qLZal+ZvmDr3LQREiE00hmJbVqVf+43dFKPMF3IHV7leAg7IuT5otX98HVEyHOD1b0y/Wuze2tEyHOB/UOeTV57Qq/UI4SGytSF5kI7owiZJfA7RJ7j9ZIpJ6IImR20xiV2qMHj9yBuRITMEMYiQlqrJNZS74MIg4iQacCY8a0B1X9tZ2e1R1PRHfZn0f8BoszztTsf3m0AAAAASUVORK5CYII=";
|
|
22225
|
-
const _hoisted_1$
|
|
22226
|
-
const _hoisted_2$
|
|
22227
|
-
const _hoisted_3$
|
|
22226
|
+
const _hoisted_1$9 = { class: "auth-container" };
|
|
22227
|
+
const _hoisted_2$7 = { class: "tips" };
|
|
22228
|
+
const _hoisted_3$7 = { class: "icons" };
|
|
22228
22229
|
const _hoisted_4$4 = ["src", "alt", "onClick"];
|
|
22229
|
-
const _hoisted_5$2 = { class: "
|
|
22230
|
+
const _hoisted_5$2 = { class: "recent-login-img" };
|
|
22230
22231
|
const _hoisted_6$2 = ["src"];
|
|
22231
|
-
const _sfc_main$
|
|
22232
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
22232
22233
|
__name: "auth",
|
|
22233
22234
|
props: {
|
|
22234
22235
|
logos: {},
|
|
@@ -22249,13 +22250,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22249
22250
|
return loginMethodList.includes(props.recentLoginType);
|
|
22250
22251
|
};
|
|
22251
22252
|
return (_ctx, _cache) => {
|
|
22252
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22253
|
-
createElementVNode("div", _hoisted_2$
|
|
22254
|
-
createElementVNode("div", _hoisted_3$
|
|
22253
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
22254
|
+
createElementVNode("div", _hoisted_2$7, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
|
|
22255
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
22255
22256
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.logos, (icon) => {
|
|
22256
22257
|
return openBlock(), createElementBlock("div", {
|
|
22257
22258
|
key: icon.alt,
|
|
22258
|
-
class: "
|
|
22259
|
+
class: "icon-wrap otherInfo-icon"
|
|
22259
22260
|
}, [
|
|
22260
22261
|
createVNode(unref(Tooltip), {
|
|
22261
22262
|
position: "top",
|
|
@@ -22264,7 +22265,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22264
22265
|
}, {
|
|
22265
22266
|
default: withCtx(() => [
|
|
22266
22267
|
createElementVNode("img", {
|
|
22267
|
-
class: "
|
|
22268
|
+
class: "otherInfo-icon__img",
|
|
22268
22269
|
src: icon.src,
|
|
22269
22270
|
alt: icon.alt,
|
|
22270
22271
|
onClick: withModifiers(($event) => handleClick(icon), ["stop"])
|
|
@@ -22276,7 +22277,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22276
22277
|
checkIsRecentLogin(icon.loginMethodList) ? (openBlock(), createElementBlock("img", {
|
|
22277
22278
|
key: 0,
|
|
22278
22279
|
src: unref(recentLoginImg),
|
|
22279
|
-
class: "
|
|
22280
|
+
class: "recent-login-img__icon"
|
|
22280
22281
|
}, null, 8, _hoisted_6$2)) : createCommentVNode("", true)
|
|
22281
22282
|
])
|
|
22282
22283
|
]);
|
|
@@ -22286,7 +22287,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22286
22287
|
};
|
|
22287
22288
|
}
|
|
22288
22289
|
});
|
|
22289
|
-
const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22290
|
+
const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
22290
22291
|
const LOGIN_DECLARE_KEY = "g-login-declare-status";
|
|
22291
22292
|
const useDeclareStatus = () => {
|
|
22292
22293
|
const declareNotClicked = ref({
|
|
@@ -22328,11 +22329,11 @@ const useDeclareStatus = () => {
|
|
|
22328
22329
|
resetDeclareStatus
|
|
22329
22330
|
};
|
|
22330
22331
|
};
|
|
22331
|
-
const _hoisted_1$
|
|
22332
|
-
const _hoisted_2$
|
|
22333
|
-
const _hoisted_3$
|
|
22334
|
-
const _hoisted_4$3 = { class: "
|
|
22335
|
-
const _sfc_main$
|
|
22332
|
+
const _hoisted_1$8 = { class: "agreement" };
|
|
22333
|
+
const _hoisted_2$6 = { class: "agreement__placeholder" };
|
|
22334
|
+
const _hoisted_3$6 = { class: "agreement__placeholder" };
|
|
22335
|
+
const _hoisted_4$3 = { class: "agreement__placeholder" };
|
|
22336
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22336
22337
|
__name: "agreement",
|
|
22337
22338
|
props: {
|
|
22338
22339
|
modelValue: { type: Boolean },
|
|
@@ -22356,21 +22357,21 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22356
22357
|
}
|
|
22357
22358
|
});
|
|
22358
22359
|
return (_ctx, _cache) => {
|
|
22359
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22360
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
22360
22361
|
createVNode(unref(Checkbox), {
|
|
22361
22362
|
"model-value": __props.modelValue,
|
|
22362
22363
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
22363
22364
|
size: "sm"
|
|
22364
22365
|
}, {
|
|
22365
22366
|
default: withCtx(() => [
|
|
22366
|
-
createElementVNode("span", _hoisted_2$
|
|
22367
|
+
createElementVNode("span", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.agree")), 1),
|
|
22367
22368
|
createElementVNode("span", {
|
|
22368
|
-
class: normalizeClass(["
|
|
22369
|
+
class: normalizeClass(["agreement__link", unref(declareNotClicked)["agreement"] ? "badge-dot-item" : ""]),
|
|
22369
22370
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
|
|
22370
22371
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.agreement")), 3),
|
|
22371
|
-
createElementVNode("span", _hoisted_3$
|
|
22372
|
+
createElementVNode("span", _hoisted_3$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
|
|
22372
22373
|
createElementVNode("span", {
|
|
22373
|
-
class: normalizeClass(["
|
|
22374
|
+
class: normalizeClass(["agreement__link", unref(declareNotClicked)["privacy"] ? "badge-dot-item" : ""]),
|
|
22374
22375
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
22375
22376
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")), 3)
|
|
22376
22377
|
]),
|
|
@@ -22385,7 +22386,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22385
22386
|
createElementVNode("span", _hoisted_4$3, [
|
|
22386
22387
|
createTextVNode(toDisplayString$1(dataShareName.value) + " ", 1),
|
|
22387
22388
|
createElementVNode("span", {
|
|
22388
|
-
class: "
|
|
22389
|
+
class: "agreement__link",
|
|
22389
22390
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => handleClick("dataShare"), ["stop"]))
|
|
22390
22391
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.dataShareTip")), 1)
|
|
22391
22392
|
])
|
|
@@ -22396,11 +22397,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22396
22397
|
};
|
|
22397
22398
|
}
|
|
22398
22399
|
});
|
|
22399
|
-
const GAgreement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22400
|
-
const _hoisted_1$
|
|
22401
|
-
const _hoisted_2$
|
|
22402
|
-
const _hoisted_3$
|
|
22403
|
-
const _sfc_main$
|
|
22400
|
+
const GAgreement = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
22401
|
+
const _hoisted_1$7 = { class: "agreements__hint" };
|
|
22402
|
+
const _hoisted_2$5 = { class: "agreements__hint-plain" };
|
|
22403
|
+
const _hoisted_3$5 = { class: "agreements__hint" };
|
|
22404
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
22404
22405
|
__name: "agreements",
|
|
22405
22406
|
props: {
|
|
22406
22407
|
modelValue: { type: Boolean },
|
|
@@ -22429,17 +22430,17 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22429
22430
|
"model-value": __props.modelValue,
|
|
22430
22431
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
22431
22432
|
size: "sm",
|
|
22432
|
-
class: "
|
|
22433
|
+
class: "agree-module agreements"
|
|
22433
22434
|
}, {
|
|
22434
22435
|
default: withCtx(() => [
|
|
22435
|
-
createElementVNode("span", _hoisted_1$
|
|
22436
|
+
createElementVNode("span", _hoisted_1$7, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.readAgree")), 1),
|
|
22436
22437
|
createElementVNode("a", {
|
|
22437
|
-
class: normalizeClass(["
|
|
22438
|
+
class: normalizeClass(["agreements__link", unref(declareNotClicked)["agreement"] ? "badge-dot-item" : ""]),
|
|
22438
22439
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
|
|
22439
22440
|
}, toDisplayString$1("《" + unref($t)("gitCodeLayout.LoginModal.link.agreement") + "》"), 3),
|
|
22440
|
-
createElementVNode("span", _hoisted_2$
|
|
22441
|
+
createElementVNode("span", _hoisted_2$5, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
|
|
22441
22442
|
createElementVNode("a", {
|
|
22442
|
-
class: normalizeClass(["
|
|
22443
|
+
class: normalizeClass(["agreements__link", unref(declareNotClicked)["privacy"] ? "badge-dot-item" : ""]),
|
|
22443
22444
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
22444
22445
|
}, toDisplayString$1("《" + unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy") + "》"), 3),
|
|
22445
22446
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -22450,12 +22451,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22450
22451
|
"model-value": __props.dataShareChecked,
|
|
22451
22452
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
22452
22453
|
size: "sm",
|
|
22453
|
-
class: "
|
|
22454
|
+
class: "agreements__data-share"
|
|
22454
22455
|
}, {
|
|
22455
22456
|
default: withCtx(() => [
|
|
22456
|
-
createElementVNode("span", _hoisted_3$
|
|
22457
|
+
createElementVNode("span", _hoisted_3$5, toDisplayString$1(dataShareName.value), 1),
|
|
22457
22458
|
createElementVNode("span", {
|
|
22458
|
-
class: "
|
|
22459
|
+
class: "agreements__data-link",
|
|
22459
22460
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => handleClick("dataShare"), ["stop"]))
|
|
22460
22461
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.dataShareTip")), 1)
|
|
22461
22462
|
]),
|
|
@@ -22465,14 +22466,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22465
22466
|
};
|
|
22466
22467
|
}
|
|
22467
22468
|
});
|
|
22468
|
-
const _hoisted_1$
|
|
22469
|
-
const _hoisted_2$
|
|
22470
|
-
const _hoisted_3$
|
|
22469
|
+
const _hoisted_1$6 = { class: "g-title" };
|
|
22470
|
+
const _hoisted_2$4 = { class: "back-img" };
|
|
22471
|
+
const _hoisted_3$4 = ["src"];
|
|
22471
22472
|
const _hoisted_4$2 = {
|
|
22472
22473
|
key: 0,
|
|
22473
|
-
class: "
|
|
22474
|
+
class: "g-title__text"
|
|
22474
22475
|
};
|
|
22475
|
-
const _sfc_main$
|
|
22476
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
22476
22477
|
__name: "title",
|
|
22477
22478
|
props: {
|
|
22478
22479
|
title: {},
|
|
@@ -22487,21 +22488,21 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22487
22488
|
emits("back");
|
|
22488
22489
|
};
|
|
22489
22490
|
return (_ctx, _cache) => {
|
|
22490
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22491
|
-
createElementVNode("div", _hoisted_2$
|
|
22491
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
22492
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
22492
22493
|
__props.showBack ? (openBlock(), createElementBlock("img", {
|
|
22493
22494
|
key: 0,
|
|
22494
22495
|
src: __props.icon,
|
|
22495
|
-
class: "
|
|
22496
|
+
class: "g-title__back-img",
|
|
22496
22497
|
onClick: withModifiers(handleClick, ["stop"])
|
|
22497
|
-
}, null, 8, _hoisted_3$
|
|
22498
|
+
}, null, 8, _hoisted_3$4)) : createCommentVNode("", true)
|
|
22498
22499
|
]),
|
|
22499
22500
|
__props.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(__props.title), 1)) : createCommentVNode("", true)
|
|
22500
22501
|
]);
|
|
22501
22502
|
};
|
|
22502
22503
|
}
|
|
22503
22504
|
});
|
|
22504
|
-
const GTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22505
|
+
const GTitle = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
22505
22506
|
const FindFileName = (path) => {
|
|
22506
22507
|
var _a;
|
|
22507
22508
|
const isName = /.*\/.*\/(.*\..*)/;
|
|
@@ -24901,10 +24902,10 @@ const isMobileEmail = (val) => {
|
|
|
24901
24902
|
}
|
|
24902
24903
|
return t$1("gitCodeLayout.common.phone") + "/" + t$1("gitCodeLayout.common.email");
|
|
24903
24904
|
};
|
|
24904
|
-
const _hoisted_1$
|
|
24905
|
-
const _hoisted_2$
|
|
24906
|
-
const _hoisted_3$
|
|
24907
|
-
const _sfc_main$
|
|
24905
|
+
const _hoisted_1$5 = { class: "modal-body" };
|
|
24906
|
+
const _hoisted_2$3 = { class: "login-check-modal-text" };
|
|
24907
|
+
const _hoisted_3$3 = { class: "login-check-modal-footer" };
|
|
24908
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
24908
24909
|
__name: "loginCheckModal",
|
|
24909
24910
|
props: /* @__PURE__ */ mergeModels({
|
|
24910
24911
|
dataShareChecked: { type: Boolean }
|
|
@@ -24946,9 +24947,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24946
24947
|
title: unref($t)("gitCodeLayout.LoginModal.subtitle.useAgrAndPriPolTip")
|
|
24947
24948
|
}, {
|
|
24948
24949
|
footer: withCtx(() => [
|
|
24949
|
-
createElementVNode("div", _hoisted_3$
|
|
24950
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
24950
24951
|
createVNode(unref(Button), {
|
|
24951
|
-
class: "
|
|
24952
|
+
class: "login-check-modal-footer__btn-cancel",
|
|
24952
24953
|
onClick: close
|
|
24953
24954
|
}, {
|
|
24954
24955
|
default: withCtx(() => [
|
|
@@ -24958,7 +24959,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24958
24959
|
}),
|
|
24959
24960
|
createVNode(unref(Button), {
|
|
24960
24961
|
variant: "solid",
|
|
24961
|
-
class: "
|
|
24962
|
+
class: "login-check-modal-footer__btn-confirm",
|
|
24962
24963
|
disabled: !__props.dataShareChecked,
|
|
24963
24964
|
onClick: handleConfirm
|
|
24964
24965
|
}, {
|
|
@@ -24970,16 +24971,16 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24970
24971
|
])
|
|
24971
24972
|
]),
|
|
24972
24973
|
default: withCtx(() => [
|
|
24973
|
-
createElementVNode("div", _hoisted_1$
|
|
24974
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
24974
24975
|
createElementVNode("div", null, [
|
|
24975
24976
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.youNeeToAgr")) + " ", 1),
|
|
24976
24977
|
createElementVNode("span", {
|
|
24977
|
-
class: normalizeClass(["
|
|
24978
|
+
class: normalizeClass(["login-check-modal-link", unref(declareNotClicked)["agreement"] ? "badge-dot-item" : ""]),
|
|
24978
24979
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
|
|
24979
24980
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.agreement")), 3),
|
|
24980
24981
|
createTextVNode(" " + toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")) + " ", 1),
|
|
24981
24982
|
createElementVNode("span", {
|
|
24982
|
-
class: normalizeClass(["
|
|
24983
|
+
class: normalizeClass(["login-check-modal-link", unref(declareNotClicked)["privacy"] ? "badge-dot-item" : ""]),
|
|
24983
24984
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
24984
24985
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")), 3),
|
|
24985
24986
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.toUseGit")), 1)
|
|
@@ -24991,12 +24992,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24991
24992
|
"model-value": __props.dataShareChecked,
|
|
24992
24993
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = (val) => emits("update:dataShareChecked", val)),
|
|
24993
24994
|
size: "sm",
|
|
24994
|
-
class: "
|
|
24995
|
+
class: "login-check-modal-data-share"
|
|
24995
24996
|
}, {
|
|
24996
24997
|
default: withCtx(() => [
|
|
24997
|
-
createElementVNode("span", _hoisted_2$
|
|
24998
|
+
createElementVNode("span", _hoisted_2$3, toDisplayString$1(dataShareName.value), 1),
|
|
24998
24999
|
createElementVNode("span", {
|
|
24999
|
-
class: "
|
|
25000
|
+
class: "login-check-modal-link login-check-modal-link--sm",
|
|
25000
25001
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => handleClick("dataShare"), ["stop"]))
|
|
25001
25002
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.dataShareTip")), 1)
|
|
25002
25003
|
]),
|
|
@@ -25009,10 +25010,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
25009
25010
|
};
|
|
25010
25011
|
}
|
|
25011
25012
|
});
|
|
25012
|
-
const _hoisted_1$
|
|
25013
|
-
const _hoisted_2$
|
|
25014
|
-
const _hoisted_3$
|
|
25015
|
-
const _hoisted_4$1 = { class: "
|
|
25013
|
+
const _hoisted_1$4 = { class: "mfa" };
|
|
25014
|
+
const _hoisted_2$2 = ["src"];
|
|
25015
|
+
const _hoisted_3$2 = { class: "mfa__title" };
|
|
25016
|
+
const _hoisted_4$1 = { class: "mfa__desc" };
|
|
25016
25017
|
const _hoisted_5$1 = {
|
|
25017
25018
|
key: 0,
|
|
25018
25019
|
class: "input-list"
|
|
@@ -25023,20 +25024,20 @@ const _hoisted_6$1 = {
|
|
|
25023
25024
|
};
|
|
25024
25025
|
const _hoisted_7$1 = {
|
|
25025
25026
|
key: 2,
|
|
25026
|
-
class: "
|
|
25027
|
+
class: "mfa__error"
|
|
25027
25028
|
};
|
|
25028
25029
|
const _hoisted_8$1 = {
|
|
25029
25030
|
key: 3,
|
|
25030
|
-
class: "
|
|
25031
|
+
class: "mfa__hint"
|
|
25031
25032
|
};
|
|
25032
25033
|
const _hoisted_9$1 = {
|
|
25033
25034
|
key: 4,
|
|
25034
|
-
class: "
|
|
25035
|
+
class: "mfa__hint"
|
|
25035
25036
|
};
|
|
25036
|
-
const _hoisted_10$1 = { class: "
|
|
25037
|
-
const _hoisted_11$1 = { class: "
|
|
25038
|
-
const _hoisted_12$1 = { class: "
|
|
25039
|
-
const _sfc_main$
|
|
25037
|
+
const _hoisted_10$1 = { class: "mfa__action" };
|
|
25038
|
+
const _hoisted_11$1 = { class: "mfa__footer" };
|
|
25039
|
+
const _hoisted_12$1 = { class: "mfa__back" };
|
|
25040
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
25040
25041
|
__name: "MFA",
|
|
25041
25042
|
props: {
|
|
25042
25043
|
mask: {},
|
|
@@ -25185,13 +25186,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25185
25186
|
focusInput();
|
|
25186
25187
|
});
|
|
25187
25188
|
return (_ctx, _cache) => {
|
|
25188
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25189
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
25189
25190
|
createElementVNode("img", {
|
|
25190
|
-
class: "
|
|
25191
|
+
class: "mfa__logo",
|
|
25191
25192
|
src: currentLogo.value,
|
|
25192
25193
|
alt: ""
|
|
25193
|
-
}, null, 8, _hoisted_2$
|
|
25194
|
-
createElementVNode("p", _hoisted_3$
|
|
25194
|
+
}, null, 8, _hoisted_2$2),
|
|
25195
|
+
createElementVNode("p", _hoisted_3$2, toDisplayString$1(modeTitle.value), 1),
|
|
25195
25196
|
createElementVNode("p", _hoisted_4$1, toDisplayString$1(unref(t2)("gitCodeLayout.LoginModal.mfatip5")), 1),
|
|
25196
25197
|
mode.value === "code" ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
25197
25198
|
(openBlock(true), createElementBlock(Fragment, null, renderList(inputList.value, (item, index2) => {
|
|
@@ -25223,7 +25224,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25223
25224
|
mode.value === "recover" ? (openBlock(), createElementBlock("p", _hoisted_9$1, toDisplayString$1(unref(t2)("gitCodeLayout.LoginModal.mfatip2")), 1)) : createCommentVNode("", true),
|
|
25224
25225
|
createElementVNode("div", _hoisted_10$1, [
|
|
25225
25226
|
createVNode(unref(Button), {
|
|
25226
|
-
class: "
|
|
25227
|
+
class: "mfa__submit",
|
|
25227
25228
|
color: "primary",
|
|
25228
25229
|
loading: loading.value,
|
|
25229
25230
|
onClick: handleConfirm,
|
|
@@ -25245,19 +25246,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25245
25246
|
createVNode(GIcon, {
|
|
25246
25247
|
color: "var(--devui-aide-text)",
|
|
25247
25248
|
name: "gt-line-left",
|
|
25248
|
-
class: "
|
|
25249
|
+
class: "mfa__back-icon"
|
|
25249
25250
|
}),
|
|
25250
25251
|
createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.pipeline.goBack")), 1)
|
|
25251
25252
|
])) : createCommentVNode("", true)
|
|
25252
25253
|
]),
|
|
25253
25254
|
mode.value === "recover" ? (openBlock(), createElementBlock("p", {
|
|
25254
25255
|
key: 0,
|
|
25255
|
-
class: "
|
|
25256
|
+
class: "mfa__switch",
|
|
25256
25257
|
onClick: _cache[2] || (_cache[2] = ($event) => modChange("code"))
|
|
25257
25258
|
}, toDisplayString$1(unref(t2)("gitCodeLayout.LoginModal.mfatip7")), 1)) : createCommentVNode("", true),
|
|
25258
25259
|
mode.value === "code" ? (openBlock(), createElementBlock("p", {
|
|
25259
25260
|
key: 1,
|
|
25260
|
-
class: "
|
|
25261
|
+
class: "mfa__switch",
|
|
25261
25262
|
onClick: _cache[3] || (_cache[3] = ($event) => modChange("recover"))
|
|
25262
25263
|
}, toDisplayString$1(unref(t2)("gitCodeLayout.LoginModal.mfatip6")), 1)) : createCommentVNode("", true)
|
|
25263
25264
|
])
|
|
@@ -25265,7 +25266,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25265
25266
|
};
|
|
25266
25267
|
}
|
|
25267
25268
|
});
|
|
25268
|
-
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25269
|
+
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
25269
25270
|
const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
25270
25271
|
// eslint-disable-next-line no-useless-constructor
|
|
25271
25272
|
constructor() {
|
|
@@ -25453,7 +25454,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
25453
25454
|
__publicField(_SlidCaptchaManager, "instance");
|
|
25454
25455
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
25455
25456
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
25456
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
25457
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BeEeW2_Y.js"));
|
|
25457
25458
|
const useSlidCaptcha = () => {
|
|
25458
25459
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
25459
25460
|
const open = (config) => {
|
|
@@ -25483,7 +25484,7 @@ const useSlidCaptcha = () => {
|
|
|
25483
25484
|
close
|
|
25484
25485
|
};
|
|
25485
25486
|
};
|
|
25486
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
25487
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-rlBUBry4.js"));
|
|
25487
25488
|
const useYunpianCaptcha = () => {
|
|
25488
25489
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
25489
25490
|
const open = (config) => {
|
|
@@ -25874,14 +25875,14 @@ const useYiDunCaptcha = () => {
|
|
|
25874
25875
|
close
|
|
25875
25876
|
};
|
|
25876
25877
|
};
|
|
25877
|
-
const _sfc_main$
|
|
25878
|
-
const _hoisted_1$
|
|
25878
|
+
const _sfc_main$4 = {};
|
|
25879
|
+
const _hoisted_1$3 = { class: "content-loading" };
|
|
25879
25880
|
function _sfc_render(_ctx, _cache) {
|
|
25880
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25881
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [..._cache[0] || (_cache[0] = [
|
|
25881
25882
|
createElementVNode("div", { class: "content-loading-title" }, [
|
|
25882
|
-
createElementVNode("div", { class: "
|
|
25883
|
+
createElementVNode("div", { class: "content-loading__row" }, [
|
|
25883
25884
|
createElementVNode("img", {
|
|
25884
|
-
class: "
|
|
25885
|
+
class: "content-loading__img",
|
|
25885
25886
|
src: "https://cdn-static.gitcode.com/static/images/common/loading.gif",
|
|
25886
25887
|
alt: "loading"
|
|
25887
25888
|
})
|
|
@@ -25890,8 +25891,8 @@ function _sfc_render(_ctx, _cache) {
|
|
|
25890
25891
|
], -1)
|
|
25891
25892
|
])]);
|
|
25892
25893
|
}
|
|
25893
|
-
const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25894
|
-
const _sfc_main$
|
|
25894
|
+
const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render], ["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
25895
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
25895
25896
|
__name: "index",
|
|
25896
25897
|
props: {
|
|
25897
25898
|
loading: { type: Boolean },
|
|
@@ -25910,19 +25911,19 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
25910
25911
|
__props.loading ? renderSlot(_ctx.$slots, "loading", {}, () => [
|
|
25911
25912
|
__props.skeleton ? (openBlock(), createBlock(unref(Skeleton), {
|
|
25912
25913
|
key: 0,
|
|
25913
|
-
class: "
|
|
25914
|
+
class: "data-panel__skeleton",
|
|
25914
25915
|
rows: __props.skeletonRow
|
|
25915
25916
|
}, null, 8, ["rows"])) : __props.animation ? (openBlock(), createBlock(ContentLoading, {
|
|
25916
25917
|
key: 1,
|
|
25917
25918
|
name: "loading",
|
|
25918
|
-
class: "
|
|
25919
|
+
class: "data-panel__content-loading"
|
|
25919
25920
|
})) : createCommentVNode("", true)
|
|
25920
25921
|
], true, 0) : renderSlot(_ctx.$slots, "default", {}, void 0, true, 1)
|
|
25921
25922
|
], 2);
|
|
25922
25923
|
};
|
|
25923
25924
|
}
|
|
25924
25925
|
});
|
|
25925
|
-
const DataPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25926
|
+
const DataPanel = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
25926
25927
|
function useVisibilityPoll(pollFunction, options = {}, shouldPoll) {
|
|
25927
25928
|
const { interval = 1e4, immediate = true } = options;
|
|
25928
25929
|
const timer = ref(null);
|
|
@@ -25978,110 +25979,110 @@ function useVisibilityPoll(pollFunction, options = {}, shouldPoll) {
|
|
|
25978
25979
|
stopPoll
|
|
25979
25980
|
};
|
|
25980
25981
|
}
|
|
25981
|
-
const _hoisted_1$
|
|
25982
|
+
const _hoisted_1$2 = {
|
|
25982
25983
|
key: 0,
|
|
25983
|
-
class: "
|
|
25984
|
+
class: "login-modal-header"
|
|
25984
25985
|
};
|
|
25985
|
-
const _hoisted_2 = { class: "devui-icon__container devui-icon--operable devui-icon--no-slots
|
|
25986
|
-
const _hoisted_3 = {
|
|
25986
|
+
const _hoisted_2$1 = { class: "devui-icon__container devui-icon--operable devui-icon--no-slots login-modal-header__close-wrap" };
|
|
25987
|
+
const _hoisted_3$1 = {
|
|
25987
25988
|
key: 1,
|
|
25988
25989
|
class: "login-modal-content"
|
|
25989
25990
|
};
|
|
25990
25991
|
const _hoisted_4 = {
|
|
25991
25992
|
key: 0,
|
|
25992
|
-
class: "
|
|
25993
|
+
class: "login-modal-content-left login-modal-content-left-register"
|
|
25993
25994
|
};
|
|
25994
25995
|
const _hoisted_5 = { class: "login-modal-content-left-register-logo" };
|
|
25995
25996
|
const _hoisted_6 = ["src"];
|
|
25996
|
-
const _hoisted_7 = { class: "
|
|
25997
|
-
const _hoisted_8 = { class: "
|
|
25998
|
-
const _hoisted_9 = { class: "
|
|
25999
|
-
const _hoisted_10 = { class: "
|
|
25997
|
+
const _hoisted_7 = { class: "login-modal-logo-desc" };
|
|
25998
|
+
const _hoisted_8 = { class: "login-modal-history" };
|
|
25999
|
+
const _hoisted_9 = { class: "login-modal-history__title" };
|
|
26000
|
+
const _hoisted_10 = { class: "login-modal-history__content" };
|
|
26000
26001
|
const _hoisted_11 = {
|
|
26001
26002
|
key: 0,
|
|
26002
|
-
class: "
|
|
26003
|
+
class: "login-modal-tabs-row"
|
|
26003
26004
|
};
|
|
26004
|
-
const _hoisted_12 = { class: "
|
|
26005
|
-
const _hoisted_13 = { class: "
|
|
26005
|
+
const _hoisted_12 = { class: "login-modal-tabs" };
|
|
26006
|
+
const _hoisted_13 = { class: "last-login-img" };
|
|
26006
26007
|
const _hoisted_14 = ["src"];
|
|
26007
|
-
const _hoisted_15 = { class: "
|
|
26008
|
+
const _hoisted_15 = { class: "last-login-img" };
|
|
26008
26009
|
const _hoisted_16 = ["src"];
|
|
26009
|
-
const _hoisted_17 = { class: "
|
|
26010
|
+
const _hoisted_17 = { class: "last-login-img" };
|
|
26010
26011
|
const _hoisted_18 = ["src"];
|
|
26011
|
-
const _hoisted_19 = { class: "
|
|
26012
|
+
const _hoisted_19 = { class: "login-modal-section-tip login-modal-section-tip--right" };
|
|
26012
26013
|
const _hoisted_20 = {
|
|
26013
26014
|
key: 1,
|
|
26014
|
-
class: "forget-tips
|
|
26015
|
+
class: "forget-tips"
|
|
26015
26016
|
};
|
|
26016
26017
|
const _hoisted_21 = { key: 2 };
|
|
26017
|
-
const _hoisted_22 = { class: "
|
|
26018
|
-
const _hoisted_23 = { class: "
|
|
26019
|
-
const _hoisted_24 = { class: "
|
|
26018
|
+
const _hoisted_22 = { class: "login-modal-row-between" };
|
|
26019
|
+
const _hoisted_23 = { class: "login-modal-section-title" };
|
|
26020
|
+
const _hoisted_24 = { class: "login-modal-section-tip" };
|
|
26020
26021
|
const _hoisted_25 = { key: 3 };
|
|
26021
|
-
const _hoisted_26 = { class: "
|
|
26022
|
-
const _hoisted_27 = { class: "
|
|
26023
|
-
const _hoisted_28 = { class: "
|
|
26022
|
+
const _hoisted_26 = { class: "login-modal-row-between" };
|
|
26023
|
+
const _hoisted_27 = { class: "login-modal-section-title" };
|
|
26024
|
+
const _hoisted_28 = { class: "login-modal-section-tip" };
|
|
26024
26025
|
const _hoisted_29 = { class: "bind-phone-tip" };
|
|
26025
26026
|
const _hoisted_30 = { key: 4 };
|
|
26026
|
-
const _hoisted_31 = { class: "
|
|
26027
|
-
const _hoisted_32 = { class: "
|
|
26028
|
-
const _hoisted_33 = { class: "
|
|
26029
|
-
const _hoisted_34 = { class: "
|
|
26030
|
-
const _hoisted_35 = { class: "
|
|
26031
|
-
const _hoisted_36 = { class: "
|
|
26027
|
+
const _hoisted_31 = { class: "login-modal-row-between login-modal-row-between--mb" };
|
|
26028
|
+
const _hoisted_32 = { class: "login-modal-section-title" };
|
|
26029
|
+
const _hoisted_33 = { class: "login-modal-section-tip" };
|
|
26030
|
+
const _hoisted_34 = { class: "login-modal-conflict-card" };
|
|
26031
|
+
const _hoisted_35 = { class: "login-modal-bold" };
|
|
26032
|
+
const _hoisted_36 = { class: "login-modal-conflict-card__sub" };
|
|
26032
26033
|
const _hoisted_37 = ["href"];
|
|
26033
|
-
const _hoisted_38 = { class: "
|
|
26034
|
-
const _hoisted_39 = { class: "
|
|
26035
|
-
const _hoisted_40 = { class: "
|
|
26036
|
-
const _hoisted_41 = { class: "
|
|
26037
|
-
const _hoisted_42 = { class: "
|
|
26038
|
-
const _hoisted_43 = { class: "
|
|
26039
|
-
const _hoisted_44 = { class: "
|
|
26040
|
-
const _hoisted_45 = { class: "
|
|
26041
|
-
const _hoisted_46 = { class: "qrcode-container
|
|
26042
|
-
const _hoisted_47 = { class: "
|
|
26034
|
+
const _hoisted_38 = { class: "login-modal-conflict-list" };
|
|
26035
|
+
const _hoisted_39 = { class: "login-modal-bold login-modal-bold--mb" };
|
|
26036
|
+
const _hoisted_40 = { class: "login-modal-conflict-list__items" };
|
|
26037
|
+
const _hoisted_41 = { class: "login-modal-conflict-list__hint" };
|
|
26038
|
+
const _hoisted_42 = { class: "login-modal-conflict-list__hint" };
|
|
26039
|
+
const _hoisted_43 = { class: "login-modal-conflict-warning" };
|
|
26040
|
+
const _hoisted_44 = { class: "login-modal-bold login-modal-bold--mb" };
|
|
26041
|
+
const _hoisted_45 = { class: "login-modal-conflict-actions" };
|
|
26042
|
+
const _hoisted_46 = { class: "qrcode-container" };
|
|
26043
|
+
const _hoisted_47 = { class: "qrcode-container__panel" };
|
|
26043
26044
|
const _hoisted_48 = ["src"];
|
|
26044
26045
|
const _hoisted_49 = {
|
|
26045
26046
|
key: 0,
|
|
26046
26047
|
class: "mask"
|
|
26047
26048
|
};
|
|
26048
|
-
const _hoisted_50 = { class: "
|
|
26049
|
-
const _hoisted_51 = { class: "
|
|
26050
|
-
const _hoisted_52 = { class: "
|
|
26049
|
+
const _hoisted_50 = { class: "qrcode-container__timeout-text" };
|
|
26050
|
+
const _hoisted_51 = { class: "qrcode-container__timeout-prompt" };
|
|
26051
|
+
const _hoisted_52 = { class: "qrcode-container__timeout-btn" };
|
|
26051
26052
|
const _hoisted_53 = {
|
|
26052
26053
|
key: 1,
|
|
26053
|
-
class: "
|
|
26054
|
+
class: "qrcode-container__status"
|
|
26054
26055
|
};
|
|
26055
|
-
const _hoisted_54 = { class: "
|
|
26056
|
-
const _hoisted_55 = { class: "
|
|
26056
|
+
const _hoisted_54 = { class: "qrcode-container__status-success" };
|
|
26057
|
+
const _hoisted_55 = { class: "qrcode-container__status-tip" };
|
|
26057
26058
|
const _hoisted_56 = {
|
|
26058
26059
|
key: 0,
|
|
26059
|
-
class: "
|
|
26060
|
+
class: "qrcode-container__caption"
|
|
26060
26061
|
};
|
|
26061
26062
|
const _hoisted_57 = {
|
|
26062
26063
|
key: 0,
|
|
26063
|
-
class: "login-modal-info
|
|
26064
|
+
class: "login-modal-info"
|
|
26064
26065
|
};
|
|
26065
26066
|
const _hoisted_58 = { class: "login-modal-info-left" };
|
|
26066
26067
|
const _hoisted_59 = {
|
|
26067
26068
|
key: 0,
|
|
26068
|
-
class: "
|
|
26069
|
+
class: "login-modal-submit-block"
|
|
26069
26070
|
};
|
|
26070
|
-
const _hoisted_60 = { class: "
|
|
26071
|
-
const _hoisted_61 = { class: "
|
|
26071
|
+
const _hoisted_60 = { class: "login-modal-agreement__inner" };
|
|
26072
|
+
const _hoisted_61 = { class: "login-modal-harmony-row" };
|
|
26072
26073
|
const _hoisted_62 = { class: "harmony-icon" };
|
|
26073
|
-
const _hoisted_63 = { class: "
|
|
26074
|
+
const _hoisted_63 = { class: "last-login-img" };
|
|
26074
26075
|
const _hoisted_64 = ["src"];
|
|
26075
|
-
const _hoisted_65 = { class: "
|
|
26076
|
-
const _hoisted_66 = { class: "login-modal-footer
|
|
26076
|
+
const _hoisted_65 = { class: "login-modal-harmony-entry__label" };
|
|
26077
|
+
const _hoisted_66 = { class: "login-modal-footer" };
|
|
26077
26078
|
const _hoisted_67 = { key: 2 };
|
|
26078
|
-
const _hoisted_68 = { class: "
|
|
26079
|
+
const _hoisted_68 = { class: "login-modal-error__text" };
|
|
26079
26080
|
const _hoisted_69 = { class: "absolute-btn" };
|
|
26080
26081
|
const _hoisted_70 = { key: 3 };
|
|
26081
|
-
const _hoisted_71 = { class: "
|
|
26082
|
-
const _hoisted_72 = { class: "
|
|
26082
|
+
const _hoisted_71 = { class: "login-modal-error login-modal-error--register" };
|
|
26083
|
+
const _hoisted_72 = { class: "login-modal-error__text" };
|
|
26083
26084
|
const _hoisted_73 = { class: "absolute-btn" };
|
|
26084
|
-
const _sfc_main$
|
|
26085
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
26085
26086
|
...{
|
|
26086
26087
|
name: "GLoginModal"
|
|
26087
26088
|
},
|
|
@@ -27673,16 +27674,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27673
27674
|
onClose: onModalClose
|
|
27674
27675
|
}, {
|
|
27675
27676
|
header: withCtx(() => [
|
|
27676
|
-
!mfaCheck.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
27677
|
+
!mfaCheck.value ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
27677
27678
|
createVNode(GTitle, {
|
|
27678
27679
|
icon: unref(IconB),
|
|
27679
27680
|
title: FormConfig.value.title,
|
|
27680
27681
|
"show-title": FormConfig.value.showTitle,
|
|
27681
27682
|
onBack: handleTitleBackClick,
|
|
27682
27683
|
"show-back": FormConfig.value.showBack,
|
|
27683
|
-
class: "login-modal-title
|
|
27684
|
+
class: "login-modal-title"
|
|
27684
27685
|
}, null, 8, ["icon", "title", "show-title", "show-back"]),
|
|
27685
|
-
createElementVNode("div", _hoisted_2, [
|
|
27686
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
27686
27687
|
__props.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
27687
27688
|
key: 0,
|
|
27688
27689
|
onClick: onClickModalClose,
|
|
@@ -27702,13 +27703,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27702
27703
|
onSuccess: handleMFALogin,
|
|
27703
27704
|
onFail: handleMFALoginFail,
|
|
27704
27705
|
mask: cacheForm.mask
|
|
27705
|
-
}, null, 8, ["API", "mask"])) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
27706
|
+
}, null, 8, ["API", "mask"])) : (openBlock(), createElementBlock("div", _hoisted_3$1, [
|
|
27706
27707
|
["register", "login", "bindPhone", "bindPhoneConflict"].includes(formType.value) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
27707
27708
|
createElementVNode("div", _hoisted_5, [
|
|
27708
27709
|
createElementVNode("img", {
|
|
27709
27710
|
src: isAIHub.value ? AiLogoType[unref(currentTheme)] : logoType[unref(currentTheme)],
|
|
27710
27711
|
alt: "gitcode-logo",
|
|
27711
|
-
class: "
|
|
27712
|
+
class: "login-modal-logo-img"
|
|
27712
27713
|
}, null, 8, _hoisted_6),
|
|
27713
27714
|
createElementVNode("div", _hoisted_7, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.desc")), 1)
|
|
27714
27715
|
]),
|
|
@@ -27722,7 +27723,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27722
27723
|
], 2)
|
|
27723
27724
|
])) : createCommentVNode("", true),
|
|
27724
27725
|
createElementVNode("div", {
|
|
27725
|
-
class: normalizeClass(formType.value === "forget" ? "
|
|
27726
|
+
class: normalizeClass(["login-modal-form", formType.value === "forget" ? "login-modal-form--forget" : "login-modal-form--default"])
|
|
27726
27727
|
}, [
|
|
27727
27728
|
formType.value === "login" ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
27728
27729
|
createElementVNode("div", _hoisted_12, [
|
|
@@ -27738,7 +27739,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27738
27739
|
recentLoginType.value === unref(LoginMethodEnum).MINI_PROGRAM ? (openBlock(), createElementBlock("img", {
|
|
27739
27740
|
key: 0,
|
|
27740
27741
|
src: unref(recentLoginImg),
|
|
27741
|
-
class: "
|
|
27742
|
+
class: "last-login-img__icon"
|
|
27742
27743
|
}, null, 8, _hoisted_14)) : createCommentVNode("", true)
|
|
27743
27744
|
])
|
|
27744
27745
|
], 2),
|
|
@@ -27754,7 +27755,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27754
27755
|
recentLoginType.value === unref(LoginMethodEnum).PHONE ? (openBlock(), createElementBlock("img", {
|
|
27755
27756
|
key: 0,
|
|
27756
27757
|
src: unref(recentLoginImg),
|
|
27757
|
-
class: "
|
|
27758
|
+
class: "last-login-img__icon"
|
|
27758
27759
|
}, null, 8, _hoisted_16)) : createCommentVNode("", true)
|
|
27759
27760
|
])
|
|
27760
27761
|
], 2),
|
|
@@ -27770,7 +27771,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27770
27771
|
recentLoginType.value === unref(LoginMethodEnum).PASSWORD ? (openBlock(), createElementBlock("img", {
|
|
27771
27772
|
key: 0,
|
|
27772
27773
|
src: unref(recentLoginImg),
|
|
27773
|
-
class: "
|
|
27774
|
+
class: "last-login-img__icon"
|
|
27774
27775
|
}, null, 8, _hoisted_18)) : createCommentVNode("", true)
|
|
27775
27776
|
])
|
|
27776
27777
|
], 2)
|
|
@@ -27779,7 +27780,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27779
27780
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.noAccount")) + " ", 1),
|
|
27780
27781
|
createElementVNode("span", {
|
|
27781
27782
|
onClick: clickRegister,
|
|
27782
|
-
class: "
|
|
27783
|
+
class: "login-modal-link"
|
|
27783
27784
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.registerAgain")), 1)
|
|
27784
27785
|
])
|
|
27785
27786
|
])) : createCommentVNode("", true),
|
|
@@ -27792,7 +27793,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27792
27793
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.haveAccount")) + " ", 1),
|
|
27793
27794
|
createElementVNode("span", {
|
|
27794
27795
|
onClick: _cache[3] || (_cache[3] = ($event) => handleTitleBackClick("register")),
|
|
27795
|
-
class: "
|
|
27796
|
+
class: "login-modal-link"
|
|
27796
27797
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.backLogin")), 1)
|
|
27797
27798
|
])
|
|
27798
27799
|
])
|
|
@@ -27803,7 +27804,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27803
27804
|
createElementVNode("div", _hoisted_28, [
|
|
27804
27805
|
createElementVNode("span", {
|
|
27805
27806
|
onClick: _cache[4] || (_cache[4] = ($event) => handleTitleBackClick("bindPhone")),
|
|
27806
|
-
class: "
|
|
27807
|
+
class: "login-modal-link"
|
|
27807
27808
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.backLogin")), 1)
|
|
27808
27809
|
])
|
|
27809
27810
|
]),
|
|
@@ -27815,7 +27816,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27815
27816
|
createElementVNode("div", _hoisted_33, [
|
|
27816
27817
|
createElementVNode("span", {
|
|
27817
27818
|
onClick: _cache[5] || (_cache[5] = ($event) => handleTitleBackClick("bindPhoneConflict")),
|
|
27818
|
-
class: "
|
|
27819
|
+
class: "login-modal-link"
|
|
27819
27820
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.backLogin")), 1)
|
|
27820
27821
|
])
|
|
27821
27822
|
]),
|
|
@@ -27829,7 +27830,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27829
27830
|
createElementVNode("a", {
|
|
27830
27831
|
href: currentUserHomePage.value,
|
|
27831
27832
|
target: "_blank",
|
|
27832
|
-
class: "
|
|
27833
|
+
class: "login-modal-anchor"
|
|
27833
27834
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.bindPhoneConflict.text04")), 9, _hoisted_37)
|
|
27834
27835
|
]),
|
|
27835
27836
|
createElementVNode("p", null, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.bindPhoneConflict.text05")) + " 「" + toDisplayString$1(newUsername.value) + "」", 1)
|
|
@@ -27851,7 +27852,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27851
27852
|
createElementVNode("p", _hoisted_44, [
|
|
27852
27853
|
createVNode(GIcon, {
|
|
27853
27854
|
name: "gt-plane-warningTriangle-orange",
|
|
27854
|
-
class: "
|
|
27855
|
+
class: "login-modal-conflict-warning__icon"
|
|
27855
27856
|
}),
|
|
27856
27857
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.bindPhoneConflict.text11")), 1)
|
|
27857
27858
|
]),
|
|
@@ -27859,7 +27860,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27859
27860
|
]),
|
|
27860
27861
|
createElementVNode("div", _hoisted_45, [
|
|
27861
27862
|
createVNode(unref(Button), {
|
|
27862
|
-
class: "
|
|
27863
|
+
class: "login-modal-conflict-actions__btn",
|
|
27863
27864
|
loading: bindOperateLoading.value,
|
|
27864
27865
|
color: "secondary",
|
|
27865
27866
|
size: "lg",
|
|
@@ -27871,7 +27872,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27871
27872
|
_: 1
|
|
27872
27873
|
}, 8, ["loading"]),
|
|
27873
27874
|
createVNode(unref(Button), {
|
|
27874
|
-
class: "
|
|
27875
|
+
class: "login-modal-conflict-actions__btn",
|
|
27875
27876
|
loading: bindOperateLoading.value,
|
|
27876
27877
|
size: "lg",
|
|
27877
27878
|
variant: "solid",
|
|
@@ -27904,13 +27905,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27904
27905
|
createElementVNode("img", {
|
|
27905
27906
|
src: miniProgramInfo.value.qrcode,
|
|
27906
27907
|
alt: "小程序二维码",
|
|
27907
|
-
class: "
|
|
27908
|
+
class: "qrcode-container__img"
|
|
27908
27909
|
}, null, 8, _hoisted_48),
|
|
27909
27910
|
miniProgramStatus.value !== "WAITING" ? (openBlock(), createElementBlock("div", _hoisted_49, [
|
|
27910
27911
|
miniProgramStatus.value === "TIMEOUT" ? (openBlock(), createElementBlock("div", {
|
|
27911
27912
|
key: 0,
|
|
27912
27913
|
onClick: getMiniProgramQrCode,
|
|
27913
|
-
class: "
|
|
27914
|
+
class: "qrcode-container__timeout"
|
|
27914
27915
|
}, [
|
|
27915
27916
|
createVNode(GIcon, {
|
|
27916
27917
|
name: "gt-line-update",
|
|
@@ -27931,13 +27932,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27931
27932
|
!["SCAN", "CANCEL", "LOGIN"].includes(miniProgramStatus.value) ? (openBlock(), createElementBlock("p", _hoisted_56, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip05")), 1)) : (openBlock(), createElementBlock("button", {
|
|
27932
27933
|
key: 1,
|
|
27933
27934
|
onClick: getMiniProgramQrCode,
|
|
27934
|
-
class: "
|
|
27935
|
+
class: "qrcode-container__retry"
|
|
27935
27936
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.miniProgram.tip06")), 1))
|
|
27936
27937
|
])
|
|
27937
27938
|
]),
|
|
27938
27939
|
_: 1
|
|
27939
27940
|
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
27940
|
-
formType.value !== "bindPhoneConflict" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
27941
|
+
formType.value !== "bindPhoneConflict" ? (openBlock(), createBlock(unref(_sfc_main$b), {
|
|
27941
27942
|
ref_key: "FormRef",
|
|
27942
27943
|
ref: FormRef,
|
|
27943
27944
|
key: formType.value,
|
|
@@ -27995,7 +27996,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27995
27996
|
_: 1
|
|
27996
27997
|
}, 8, ["loading", "disabled"]),
|
|
27997
27998
|
createElementVNode("div", {
|
|
27998
|
-
class: normalizeClass([
|
|
27999
|
+
class: normalizeClass(["login-modal-footer-args login-modal-agreement", AgreementWarn.value ? "shaking-box" : ""])
|
|
27999
28000
|
}, [
|
|
28000
28001
|
createElementVNode("div", _hoisted_60, [
|
|
28001
28002
|
createVNode(GAgreement, {
|
|
@@ -28010,20 +28011,20 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28010
28011
|
createElementVNode("div", _hoisted_61, [
|
|
28011
28012
|
__props.openHarmonyGuide ? (openBlock(), createElementBlock("div", {
|
|
28012
28013
|
key: 0,
|
|
28013
|
-
class: "
|
|
28014
|
+
class: "login-modal-harmony-entry",
|
|
28014
28015
|
onClick: withModifiers(handleRegisterHarmony, ["stop"])
|
|
28015
28016
|
}, [
|
|
28016
28017
|
createElementVNode("div", _hoisted_62, [
|
|
28017
28018
|
_cache[20] || (_cache[20] = createElementVNode("img", {
|
|
28018
28019
|
src: "https://cdn-static.gitcode.com/static/images/guide/openharmony.svg",
|
|
28019
28020
|
alt: "",
|
|
28020
|
-
class: "
|
|
28021
|
+
class: "harmony-icon-img"
|
|
28021
28022
|
}, null, -1)),
|
|
28022
28023
|
createElementVNode("div", _hoisted_63, [
|
|
28023
28024
|
recentLoginType.value === unref(LoginMethodEnum).HARMONY ? (openBlock(), createElementBlock("img", {
|
|
28024
28025
|
key: 0,
|
|
28025
28026
|
src: unref(recentLoginImg),
|
|
28026
|
-
class: "
|
|
28027
|
+
class: "last-login-img__icon"
|
|
28027
28028
|
}, null, 8, _hoisted_64)) : createCommentVNode("", true)
|
|
28028
28029
|
])
|
|
28029
28030
|
]),
|
|
@@ -28036,23 +28037,23 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28036
28037
|
logos,
|
|
28037
28038
|
onAuth: pcAuthLogin,
|
|
28038
28039
|
recentLoginType: recentLoginType.value,
|
|
28039
|
-
class: "
|
|
28040
|
+
class: "login-modal-footer__auth"
|
|
28040
28041
|
}, null, 8, ["logos", "recentLoginType"])
|
|
28041
28042
|
])
|
|
28042
28043
|
], 64)) : createCommentVNode("", true),
|
|
28043
28044
|
["register", "forget"].includes(formType.value) ? (openBlock(), createElementBlock("div", _hoisted_67, [
|
|
28044
28045
|
createElementVNode("div", {
|
|
28045
28046
|
class: normalizeClass([
|
|
28046
|
-
"
|
|
28047
|
-
formType.value === "register" ? "
|
|
28047
|
+
"login-modal-error",
|
|
28048
|
+
formType.value === "register" ? "login-modal-error--register" : ((_a2 = formErrors == null ? void 0 : formErrors.username) == null ? void 0 : _a2.length) > 42 ? "login-modal-error--clickable" : ""
|
|
28048
28049
|
])
|
|
28049
28050
|
}, [
|
|
28050
28051
|
createElementVNode("span", _hoisted_68, toDisplayString$1(errorMsg.value), 1)
|
|
28051
28052
|
], 2),
|
|
28052
28053
|
createElementVNode("div", {
|
|
28053
|
-
class: normalizeClass(["register-agree
|
|
28054
|
+
class: normalizeClass(["register-agree", [AgreementWarn.value ? "shaking-box" : ""]])
|
|
28054
28055
|
}, [
|
|
28055
|
-
createVNode(_sfc_main$
|
|
28056
|
+
createVNode(_sfc_main$8, {
|
|
28056
28057
|
modelValue: status.value,
|
|
28057
28058
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => status.value = $event),
|
|
28058
28059
|
dataShareChecked: dataShareChecked.value,
|
|
@@ -28069,7 +28070,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28069
28070
|
onClick: handleConfirm,
|
|
28070
28071
|
disabled: disabled.value,
|
|
28071
28072
|
loading: loading.value,
|
|
28072
|
-
class: "
|
|
28073
|
+
class: "login-modal-submit-btn"
|
|
28073
28074
|
}, {
|
|
28074
28075
|
default: withCtx(() => [
|
|
28075
28076
|
createTextVNode(toDisplayString$1(formType.value === "forget" ? unref($t)("gitCodeLayout.userSetting.account.changePassword") : unref($t)("gitCodeLayout.LoginModal.action.verify")), 1)
|
|
@@ -28090,7 +28091,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28090
28091
|
onClick: handleConfirm,
|
|
28091
28092
|
disabled: disabled.value,
|
|
28092
28093
|
loading: loading.value,
|
|
28093
|
-
class: "
|
|
28094
|
+
class: "login-modal-submit-btn login-modal-submit-btn--bindphone"
|
|
28094
28095
|
}, {
|
|
28095
28096
|
default: withCtx(() => [
|
|
28096
28097
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.verify")), 1)
|
|
@@ -28109,7 +28110,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28109
28110
|
}),
|
|
28110
28111
|
_: 3
|
|
28111
28112
|
}, 8, ["modelValue", "lock-scroll", "draggable", "escapable", "append-to-body", "class"]),
|
|
28112
|
-
showProtoCheck.value ? (openBlock(), createBlock(_sfc_main$
|
|
28113
|
+
showProtoCheck.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
28113
28114
|
key: 0,
|
|
28114
28115
|
visible: showProtoCheck.value,
|
|
28115
28116
|
"onUpdate:visible": _cache[17] || (_cache[17] = ($event) => showProtoCheck.value = $event),
|
|
@@ -28122,7 +28123,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28122
28123
|
};
|
|
28123
28124
|
}
|
|
28124
28125
|
});
|
|
28125
|
-
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28126
|
+
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
28126
28127
|
const { t } = i18n.global;
|
|
28127
28128
|
function useLogin(request, globalStore) {
|
|
28128
28129
|
const successMsg = t("gitCodeLayout.common.tips.welcome");
|
|
@@ -28226,8 +28227,8 @@ function useLogin(request, globalStore) {
|
|
|
28226
28227
|
isMounted
|
|
28227
28228
|
};
|
|
28228
28229
|
}
|
|
28229
|
-
const _hoisted_1 = { style: { "display": "none" } };
|
|
28230
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28230
|
+
const _hoisted_1$1 = { style: { "display": "none" } };
|
|
28231
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
28231
28232
|
...{
|
|
28232
28233
|
name: "Login"
|
|
28233
28234
|
},
|
|
@@ -28351,20 +28352,73 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28351
28352
|
offEvent("logout");
|
|
28352
28353
|
});
|
|
28353
28354
|
return (_ctx, _cache) => {
|
|
28354
|
-
return openBlock(), createElementBlock("div", _hoisted_1);
|
|
28355
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1);
|
|
28356
|
+
};
|
|
28357
|
+
}
|
|
28358
|
+
});
|
|
28359
|
+
const _hoisted_1 = { class: "aside-footer-tools-item" };
|
|
28360
|
+
const _hoisted_2 = { class: "aside-footer-tools-item-dropdown-item" };
|
|
28361
|
+
const _hoisted_3 = { class: "aside-footer-tools-item-dropdown-item" };
|
|
28362
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28363
|
+
...{ name: "AsideFooterTools" },
|
|
28364
|
+
__name: "index",
|
|
28365
|
+
props: {
|
|
28366
|
+
showThemeSetting: { type: Boolean, default: true },
|
|
28367
|
+
showLangSetting: { type: Boolean, default: true },
|
|
28368
|
+
position: { default: () => ["bottom-end"] }
|
|
28369
|
+
},
|
|
28370
|
+
setup(__props) {
|
|
28371
|
+
const { t: t2 } = i18n.global;
|
|
28372
|
+
return (_ctx, _cache) => {
|
|
28373
|
+
return openBlock(), createBlock(unref(Dropdown), {
|
|
28374
|
+
position: __props.position,
|
|
28375
|
+
align: "end",
|
|
28376
|
+
"overlay-class": "footer-tools-setting-dropdown"
|
|
28377
|
+
}, {
|
|
28378
|
+
menu: withCtx(() => [
|
|
28379
|
+
withDirectives(createElementVNode("div", _hoisted_2, [
|
|
28380
|
+
createVNode(_sfc_main$l)
|
|
28381
|
+
], 512), [
|
|
28382
|
+
[vShow, __props.showThemeSetting]
|
|
28383
|
+
]),
|
|
28384
|
+
withDirectives(createElementVNode("div", _hoisted_3, [
|
|
28385
|
+
createVNode(_sfc_main$v)
|
|
28386
|
+
], 512), [
|
|
28387
|
+
[vShow, __props.showLangSetting]
|
|
28388
|
+
])
|
|
28389
|
+
]),
|
|
28390
|
+
default: withCtx(() => [
|
|
28391
|
+
createElementVNode("div", _hoisted_1, [
|
|
28392
|
+
createVNode(GIcon, {
|
|
28393
|
+
name: "gt-line-setting",
|
|
28394
|
+
size: "16",
|
|
28395
|
+
class: "default-icon aside-footer-tools__icon-min"
|
|
28396
|
+
}),
|
|
28397
|
+
createVNode(GIcon, {
|
|
28398
|
+
name: "gt-line-setting",
|
|
28399
|
+
size: "16",
|
|
28400
|
+
class: "active-icon aside-footer-tools__icon-min"
|
|
28401
|
+
}),
|
|
28402
|
+
createTextVNode(" " + toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.preSetting")), 1)
|
|
28403
|
+
])
|
|
28404
|
+
]),
|
|
28405
|
+
_: 1
|
|
28406
|
+
}, 8, ["position"]);
|
|
28355
28407
|
};
|
|
28356
28408
|
}
|
|
28357
28409
|
});
|
|
28410
|
+
const AsideFooterTools = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
28358
28411
|
const GitCodeLayoutEmitter = emitter;
|
|
28359
28412
|
const index = {
|
|
28360
28413
|
install: (app) => {
|
|
28361
28414
|
app.component("ToolsFloat", ToolsFloat);
|
|
28362
28415
|
app.component("GitCodeAside", GitCodeAside);
|
|
28363
28416
|
app.component("GitCodeHeader", GitCodeHeader);
|
|
28417
|
+
app.component("AsideFooterTools", AsideFooterTools);
|
|
28364
28418
|
}
|
|
28365
28419
|
};
|
|
28366
28420
|
export {
|
|
28367
|
-
|
|
28421
|
+
setTheme as $,
|
|
28368
28422
|
ThemeType as A,
|
|
28369
28423
|
currentTheme as B,
|
|
28370
28424
|
LANG_EN as C,
|
|
@@ -28375,24 +28429,25 @@ export {
|
|
|
28375
28429
|
isHttps as H,
|
|
28376
28430
|
navigateWithMigrationGuard as I,
|
|
28377
28431
|
asideRequest as J,
|
|
28378
|
-
_sfc_main$
|
|
28432
|
+
_sfc_main$H as K,
|
|
28379
28433
|
LANG_ZH as L,
|
|
28380
28434
|
loadAsideData as M,
|
|
28381
|
-
|
|
28382
|
-
|
|
28383
|
-
|
|
28384
|
-
|
|
28435
|
+
AsideFooterTools as N,
|
|
28436
|
+
EnterpriseHeader as O,
|
|
28437
|
+
GitCodeAside as P,
|
|
28438
|
+
GitCodeHeader as Q,
|
|
28385
28439
|
REPO_MODULE as R,
|
|
28386
|
-
|
|
28440
|
+
GitCodeLayoutEmitter as S,
|
|
28387
28441
|
TOPIC_TYPE as T,
|
|
28388
|
-
|
|
28389
|
-
|
|
28390
|
-
|
|
28391
|
-
|
|
28392
|
-
|
|
28393
|
-
|
|
28442
|
+
_sfc_main$1 as U,
|
|
28443
|
+
SceneValue as V,
|
|
28444
|
+
SiteAnnouncement as W,
|
|
28445
|
+
ToolsFloat as X,
|
|
28446
|
+
index as Y,
|
|
28447
|
+
setLayoutConfig as Z,
|
|
28394
28448
|
_export_sfc as _,
|
|
28395
28449
|
i18n as a,
|
|
28450
|
+
useLogin as a0,
|
|
28396
28451
|
REPO_EVENT as b,
|
|
28397
28452
|
REPO_TYPE as c,
|
|
28398
28453
|
transferNumber as d,
|
|
@@ -28405,7 +28460,7 @@ export {
|
|
|
28405
28460
|
usePageResize as k,
|
|
28406
28461
|
localStorage$2 as l,
|
|
28407
28462
|
isGstarRepo as m,
|
|
28408
|
-
_sfc_main$
|
|
28463
|
+
_sfc_main$G as n,
|
|
28409
28464
|
isIncubationRepo as o,
|
|
28410
28465
|
highlightWords as p,
|
|
28411
28466
|
_frEventTrack as q,
|