vue-layout-gitcode 1.12.15-beta.10 → 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-DShGgmPu.js → GloabarSearch-B_hpcegG.js} +3 -3
- package/{MenuItem-C0_Z3kAs.js → MenuItem-BEwOFYk1.js} +1 -1
- package/{ProjectMenuList-DijZTN2Y.js → ProjectMenuList-DsFXRFSj.js} +2 -2
- package/{ProjectMenuListV2-rwBJNNnu.js → ProjectMenuListV2-CCc786iD.js} +2 -2
- package/{ProjectSearch-D2AdTPot.js → ProjectSearch-CnPDrJlb.js} +1 -1
- package/{SearchHistoryList-D5AKv0bc.js → SearchHistoryList-Yi-4pyqJ.js} +1 -1
- package/{SearchRecommed-t7cNwaJk.js → SearchRecommed-BR0w0PYW.js} +2 -2
- package/{SearchScopeList-CkFCXGUJ.js → SearchScopeList-BN0GfdPL.js} +1 -1
- package/{UserSearch-BAH-XaKB.js → UserSearch-BN-ZiXtK.js} +1 -1
- package/{index-BcmNxd28.js → index-3u6RC7b4.js} +377 -323
- package/{index-CktR4_3I.js → index-BeEeW2_Y.js} +1 -1
- package/{index-BB4Ahsk2.js → index-DvUzd0X8.js} +2 -2
- package/{index-DBK1y0r5.js → index-rlBUBry4.js} +1 -1
- package/index.d.ts +18 -0
- package/index.js +14 -13
- package/{notice-BkY2Sv5_.js → notice-tL8zkoWs.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-Y8-wNaJD.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" };
|
|
@@ -9655,7 +9655,7 @@ 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
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
|
]),
|
|
@@ -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,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";
|
|
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: {
|
|
@@ -11118,7 +11118,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
11118
11118
|
key: 0,
|
|
11119
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,12 +11926,12 @@ 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$
|
|
11933
|
+
const _hoisted_2$q = { class: "org-layout-toolbar-title ellipsis-two-line" };
|
|
11934
|
+
const _hoisted_3$p = { class: "header-custom-btn-label" };
|
|
11935
11935
|
const _hoisted_4$i = { class: "g-repo-breadcrumb-custom" };
|
|
11936
11936
|
const _hoisted_5$e = {
|
|
11937
11937
|
key: 1,
|
|
@@ -11985,7 +11985,7 @@ const _hoisted_20$1 = {
|
|
|
11985
11985
|
};
|
|
11986
11986
|
const _hoisted_21$1 = { class: "user-layout-toolbar-title ellipsis-two-line" };
|
|
11987
11987
|
const _hoisted_22$1 = { class: "header-custom-btn-label" };
|
|
11988
|
-
const _sfc_main$
|
|
11988
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
11989
11989
|
__name: "HeaderCustom",
|
|
11990
11990
|
props: {
|
|
11991
11991
|
scene: { default: SceneValue.home },
|
|
@@ -12105,7 +12105,7 @@ 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
12111
|
class: "header-custom-link"
|
|
@@ -12113,7 +12113,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
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
|
|
@@ -12166,7 +12166,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
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,
|
|
@@ -12234,7 +12234,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
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: "",
|
|
@@ -12308,7 +12308,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
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) {
|
|
@@ -12381,14 +12381,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12381
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",
|
|
@@ -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,16 +15133,16 @@ 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
15147
|
const _hoisted_5$d = { class: "message-item-info-content" };
|
|
15148
15148
|
const _hoisted_6$b = { class: "message-item-body" };
|
|
@@ -15150,7 +15150,7 @@ const _hoisted_7$8 = ["title", "innerHTML"];
|
|
|
15150
15150
|
const _hoisted_8$7 = ["title"];
|
|
15151
15151
|
const _hoisted_9$5 = { class: "message-item-info" };
|
|
15152
15152
|
const _hoisted_10$5 = { class: "message-item-rightTx message-item-date" };
|
|
15153
|
-
const _sfc_main$
|
|
15153
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
15154
15154
|
__name: "index",
|
|
15155
15155
|
props: {
|
|
15156
15156
|
data: { default: () => ({}) },
|
|
@@ -15162,8 +15162,8 @@ 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
15168
|
class: "message-item__avatar-wrap",
|
|
15169
15169
|
title: __props.data.nickname
|
|
@@ -15173,14 +15173,14 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15173
15173
|
target: "_blank",
|
|
15174
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, [
|
|
@@ -15230,13 +15230,13 @@ 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
|
};
|
|
@@ -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
|
|
@@ -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
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"],
|
|
@@ -15879,13 +15879,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
15879
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(
|
|
@@ -16129,18 +16129,18 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
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
|
|
@@ -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
16210
|
const _hoisted_6$8 = { class: "user-avatar__drawer-header" };
|
|
16211
|
-
const _sfc_main$
|
|
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"]),
|
|
@@ -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,19 +16843,19 @@ 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 = {
|
|
@@ -16864,7 +16864,7 @@ const _hoisted_6$7 = {
|
|
|
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",
|
|
@@ -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
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,7 +17630,7 @@ 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",
|
|
@@ -17640,11 +17640,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
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())
|
|
@@ -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,9 +17727,9 @@ 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
17734
|
class: "search-avatar"
|
|
17735
17735
|
};
|
|
@@ -17741,7 +17741,7 @@ const _hoisted_5$6 = {
|
|
|
17741
17741
|
const _hoisted_6$5 = { class: "g-header-body-left" };
|
|
17742
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
|
},
|
|
@@ -18178,7 +18178,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18178
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"])),
|
|
@@ -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,
|
|
@@ -18330,10 +18330,10 @@ 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$
|
|
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
18337
|
const _hoisted_4$9 = { class: "enterprise-name" };
|
|
18338
18338
|
const _hoisted_5$5 = { class: "enterprise-flag" };
|
|
18339
18339
|
const _hoisted_6$4 = { class: "search-avatar" };
|
|
@@ -18345,7 +18345,7 @@ const _hoisted_8$3 = {
|
|
|
18345
18345
|
const _hoisted_9$3 = { class: "g-header-body-left" };
|
|
18346
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
|
},
|
|
@@ -18566,10 +18566,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18566
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,
|
|
@@ -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
|
])
|
|
@@ -19268,7 +19268,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19268
19268
|
size: "16",
|
|
19269
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,9 +19276,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19276
19276
|
};
|
|
19277
19277
|
}
|
|
19278
19278
|
});
|
|
19279
|
-
const Settings = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19279
|
+
const Settings = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19280
19280
|
const FEEDBACK_CENTER_URL = "https://gitcode.com/Gitcode-offical-team/GitCode-Docs/issues";
|
|
19281
|
-
const _sfc_main$
|
|
19281
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
19282
19282
|
__name: "SubMenuList",
|
|
19283
19283
|
setup(__props) {
|
|
19284
19284
|
const layoutConfig2 = useLayoutConfig();
|
|
@@ -19333,7 +19333,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
19333
19333
|
};
|
|
19334
19334
|
}
|
|
19335
19335
|
});
|
|
19336
|
-
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19336
|
+
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19337
19337
|
const createSetting = () => {
|
|
19338
19338
|
const { t: t2 } = i18n.global;
|
|
19339
19339
|
const isGitCodeHost2 = typeof window !== "undefined" && window.location.hostname.includes("gitcode");
|
|
@@ -19373,9 +19373,9 @@ const createSetting = () => {
|
|
|
19373
19373
|
}
|
|
19374
19374
|
return settings;
|
|
19375
19375
|
};
|
|
19376
|
-
const _hoisted_1$
|
|
19377
|
-
const _hoisted_2$
|
|
19378
|
-
const _hoisted_3$
|
|
19376
|
+
const _hoisted_1$g = { class: "aside-footer" };
|
|
19377
|
+
const _hoisted_2$b = { class: "remake-message" };
|
|
19378
|
+
const _hoisted_3$b = ["title"];
|
|
19379
19379
|
const _hoisted_4$8 = { class: "remake-message__line" };
|
|
19380
19380
|
const _hoisted_5$4 = {
|
|
19381
19381
|
href: "https://beian.miit.gov.cn/#/Integrated/index",
|
|
@@ -19395,7 +19395,7 @@ const _hoisted_9$2 = { class: "contact-info__about-row" };
|
|
|
19395
19395
|
const _hoisted_10$2 = { class: "footer-work-info" };
|
|
19396
19396
|
const _hoisted_11$2 = { class: "footer-work-info__item footer-work-info__item--mt" };
|
|
19397
19397
|
const _hoisted_12$2 = { class: "" };
|
|
19398
|
-
const _sfc_main$
|
|
19398
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
19399
19399
|
__name: "ContactInfo",
|
|
19400
19400
|
setup(__props) {
|
|
19401
19401
|
const { t: t2 } = i18n.global;
|
|
@@ -19405,12 +19405,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19405
19405
|
return getLocaleLang() === LANG_EN;
|
|
19406
19406
|
});
|
|
19407
19407
|
return (_ctx, _cache) => {
|
|
19408
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19409
|
-
createElementVNode("div", _hoisted_2$
|
|
19408
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
19409
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
19410
19410
|
createElementVNode("p", {
|
|
19411
19411
|
class: "remake-message__line remake-message__line--break",
|
|
19412
19412
|
title: unref(copyright).digestAbbr
|
|
19413
|
-
}, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$
|
|
19413
|
+
}, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$b),
|
|
19414
19414
|
createElementVNode("p", _hoisted_4$8, [
|
|
19415
19415
|
createElementVNode("a", _hoisted_5$4, toDisplayString$1(unref(copyright).icp), 1)
|
|
19416
19416
|
]),
|
|
@@ -19467,10 +19467,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19467
19467
|
};
|
|
19468
19468
|
}
|
|
19469
19469
|
});
|
|
19470
|
-
const ContactInfo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19471
|
-
const _hoisted_1$
|
|
19472
|
-
const _hoisted_2$
|
|
19473
|
-
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 = {
|
|
19474
19474
|
key: 1,
|
|
19475
19475
|
class: "aside-menus"
|
|
19476
19476
|
};
|
|
@@ -19478,7 +19478,7 @@ const _hoisted_4$7 = {
|
|
|
19478
19478
|
key: 1,
|
|
19479
19479
|
class: "line line--mt"
|
|
19480
19480
|
};
|
|
19481
|
-
const _sfc_main$
|
|
19481
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
19482
19482
|
__name: "configAideContent",
|
|
19483
19483
|
props: {
|
|
19484
19484
|
sceneValue: { default: SceneValue.home },
|
|
@@ -19618,18 +19618,18 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19618
19618
|
createElementVNode("div", {
|
|
19619
19619
|
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": __props.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
19620
19620
|
}, [
|
|
19621
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
19621
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
19622
19622
|
createElementVNode("div", {
|
|
19623
19623
|
class: normalizeClass(["scroll-content config-aside__scroll", { scroll: isScroll.value }]),
|
|
19624
19624
|
onScroll: handleScroll,
|
|
19625
19625
|
onMouseleave: handleMouseLeave
|
|
19626
19626
|
}, [
|
|
19627
|
-
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
19627
|
+
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
19628
19628
|
createVNode(unref(Skeleton), {
|
|
19629
19629
|
loading: unref(sideLoading),
|
|
19630
19630
|
row: 4
|
|
19631
19631
|
}, null, 8, ["loading"])
|
|
19632
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
19632
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
19633
19633
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayArea.value, (item, index2) => {
|
|
19634
19634
|
return openBlock(), createElementBlock(Fragment, {
|
|
19635
19635
|
key: item.id
|
|
@@ -19693,9 +19693,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19693
19693
|
};
|
|
19694
19694
|
}
|
|
19695
19695
|
});
|
|
19696
|
-
const ConfigAideContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19697
|
-
const _hoisted_1$
|
|
19698
|
-
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({
|
|
19699
19699
|
__name: "index",
|
|
19700
19700
|
props: {
|
|
19701
19701
|
sceneValue: { default: SceneValue.home },
|
|
@@ -19874,7 +19874,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19874
19874
|
class: "draw-side-bar"
|
|
19875
19875
|
}, {
|
|
19876
19876
|
default: withCtx(() => [
|
|
19877
|
-
createElementVNode("div", _hoisted_1$
|
|
19877
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
19878
19878
|
createVNode(GLink, {
|
|
19879
19879
|
class: "g-toolbar-left-logo",
|
|
19880
19880
|
style: normalizeStyle(logoStyle.value),
|
|
@@ -19905,7 +19905,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19905
19905
|
};
|
|
19906
19906
|
}
|
|
19907
19907
|
});
|
|
19908
|
-
const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19908
|
+
const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19909
19909
|
const repoInfoData = {
|
|
19910
19910
|
"star_count": 0,
|
|
19911
19911
|
"forks_count": 0,
|
|
@@ -20612,11 +20612,11 @@ const headerCustomPropsData = {
|
|
|
20612
20612
|
isOtherUser: true
|
|
20613
20613
|
}
|
|
20614
20614
|
};
|
|
20615
|
-
const _hoisted_1$
|
|
20616
|
-
const _hoisted_2$
|
|
20617
|
-
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" };
|
|
20618
20618
|
const _hoisted_4$6 = { class: "home-main" };
|
|
20619
|
-
const _sfc_main$
|
|
20619
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
20620
20620
|
__name: "home",
|
|
20621
20621
|
setup(__props) {
|
|
20622
20622
|
const isLogin = ref(false);
|
|
@@ -20691,7 +20691,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20691
20691
|
}
|
|
20692
20692
|
});
|
|
20693
20693
|
return (_ctx, _cache) => {
|
|
20694
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20694
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
20695
20695
|
showCommonHeader.value ? (openBlock(), createBlock(GitCodeHeader, {
|
|
20696
20696
|
key: 0,
|
|
20697
20697
|
sceneValue: sceneSelected.value,
|
|
@@ -20724,8 +20724,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20724
20724
|
openHarmonyGuide: true,
|
|
20725
20725
|
headerCustomProps: headerCustomProps.value
|
|
20726
20726
|
}, null, 8, ["independence", "isLogin", "request", "globalStore", "enterpriseInfo", "userInfo", "headerCustomProps"])),
|
|
20727
|
-
createElementVNode("div", _hoisted_2$
|
|
20728
|
-
createElementVNode("div", _hoisted_3$
|
|
20727
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
20728
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
20729
20729
|
createVNode(GitCodeAside, {
|
|
20730
20730
|
sceneValue: sceneSelected.value,
|
|
20731
20731
|
userInfo: userInfo.value,
|
|
@@ -20840,8 +20840,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20840
20840
|
};
|
|
20841
20841
|
}
|
|
20842
20842
|
});
|
|
20843
|
-
const _hoisted_1$
|
|
20844
|
-
const _sfc_main$
|
|
20843
|
+
const _hoisted_1$c = { class: "home-wrapper" };
|
|
20844
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
20845
20845
|
__name: "login",
|
|
20846
20846
|
setup(__props) {
|
|
20847
20847
|
const isLogin = ref(false);
|
|
@@ -20873,8 +20873,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
20873
20873
|
}
|
|
20874
20874
|
});
|
|
20875
20875
|
return (_ctx, _cache) => {
|
|
20876
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20877
|
-
createVNode(_sfc_main, {
|
|
20876
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
20877
|
+
createVNode(_sfc_main$1, {
|
|
20878
20878
|
request: unref(proxyService),
|
|
20879
20879
|
loginSuccess,
|
|
20880
20880
|
loginOutFinish,
|
|
@@ -20890,7 +20890,7 @@ const routes = [
|
|
|
20890
20890
|
{
|
|
20891
20891
|
path: "/",
|
|
20892
20892
|
name: "home",
|
|
20893
|
-
component: _sfc_main$
|
|
20893
|
+
component: _sfc_main$f,
|
|
20894
20894
|
meta: {
|
|
20895
20895
|
// showBgColor: true,
|
|
20896
20896
|
asideMenu: "flat"
|
|
@@ -20899,52 +20899,52 @@ const routes = [
|
|
|
20899
20899
|
{
|
|
20900
20900
|
path: "/dashboard",
|
|
20901
20901
|
name: "dashboard",
|
|
20902
|
-
component: _sfc_main$
|
|
20902
|
+
component: _sfc_main$f
|
|
20903
20903
|
},
|
|
20904
20904
|
{
|
|
20905
20905
|
path: "/repoDashboard",
|
|
20906
20906
|
name: "repoDashboard",
|
|
20907
|
-
component: _sfc_main$
|
|
20907
|
+
component: _sfc_main$f
|
|
20908
20908
|
},
|
|
20909
20909
|
{
|
|
20910
20910
|
path: "/",
|
|
20911
20911
|
name: "homepage",
|
|
20912
|
-
component: _sfc_main$
|
|
20912
|
+
component: _sfc_main$f
|
|
20913
20913
|
},
|
|
20914
20914
|
{
|
|
20915
20915
|
path: "/settingOrganization",
|
|
20916
20916
|
name: "settingOrganization",
|
|
20917
|
-
component: _sfc_main$
|
|
20917
|
+
component: _sfc_main$f
|
|
20918
20918
|
},
|
|
20919
20919
|
{
|
|
20920
20920
|
path: "/settingRepo",
|
|
20921
20921
|
name: "settingRepo",
|
|
20922
|
-
component: _sfc_main$
|
|
20922
|
+
component: _sfc_main$f
|
|
20923
20923
|
},
|
|
20924
20924
|
{
|
|
20925
20925
|
path: "/myNotebook",
|
|
20926
20926
|
name: "myNotebook",
|
|
20927
|
-
component: _sfc_main$
|
|
20927
|
+
component: _sfc_main$f
|
|
20928
20928
|
},
|
|
20929
20929
|
{
|
|
20930
20930
|
path: "/userSpaces",
|
|
20931
20931
|
name: "userSpaces",
|
|
20932
|
-
component: _sfc_main$
|
|
20932
|
+
component: _sfc_main$f
|
|
20933
20933
|
},
|
|
20934
20934
|
{
|
|
20935
20935
|
path: "/userStars",
|
|
20936
20936
|
name: "userStars",
|
|
20937
|
-
component: _sfc_main$
|
|
20937
|
+
component: _sfc_main$f
|
|
20938
20938
|
},
|
|
20939
20939
|
{
|
|
20940
20940
|
path: "/setting",
|
|
20941
20941
|
name: "setting",
|
|
20942
|
-
component: _sfc_main$
|
|
20942
|
+
component: _sfc_main$f
|
|
20943
20943
|
},
|
|
20944
20944
|
{
|
|
20945
20945
|
path: "/login",
|
|
20946
20946
|
name: "/login",
|
|
20947
|
-
component: _sfc_main$
|
|
20947
|
+
component: _sfc_main$e
|
|
20948
20948
|
}
|
|
20949
20949
|
];
|
|
20950
20950
|
const router = createRouter({
|
|
@@ -21604,8 +21604,8 @@ function useModel(props, emits) {
|
|
|
21604
21604
|
vModels
|
|
21605
21605
|
};
|
|
21606
21606
|
}
|
|
21607
|
-
const _hoisted_1$
|
|
21608
|
-
const _sfc_main$
|
|
21607
|
+
const _hoisted_1$b = { class: "g-input-button-append__text" };
|
|
21608
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
21609
21609
|
__name: "inputButton",
|
|
21610
21610
|
props: {
|
|
21611
21611
|
modelValue: {},
|
|
@@ -21713,7 +21713,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
21713
21713
|
DisabledBtn.value || !__props.hasMobile ? "g-input-button-append-inactive" : "g-input-button-append-active"
|
|
21714
21714
|
])
|
|
21715
21715
|
}, [
|
|
21716
|
-
createElementVNode("span", _hoisted_1$
|
|
21716
|
+
createElementVNode("span", _hoisted_1$b, toDisplayString$1(BtnText.value), 1)
|
|
21717
21717
|
], 2)
|
|
21718
21718
|
]),
|
|
21719
21719
|
_: 1
|
|
@@ -21722,12 +21722,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
21722
21722
|
};
|
|
21723
21723
|
}
|
|
21724
21724
|
});
|
|
21725
|
-
const _hoisted_1$
|
|
21726
|
-
const _hoisted_2$
|
|
21727
|
-
const _hoisted_3$
|
|
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
21728
|
const _hoisted_4$5 = { class: "g-input-select__item-row" };
|
|
21729
21729
|
const _hoisted_5$3 = { class: "g-input-select__option-row" };
|
|
21730
|
-
const _sfc_main$
|
|
21730
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
21731
21731
|
__name: "inputSelect",
|
|
21732
21732
|
props: {
|
|
21733
21733
|
modelValue: {},
|
|
@@ -21800,8 +21800,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
21800
21800
|
}
|
|
21801
21801
|
});
|
|
21802
21802
|
return (_ctx, _cache) => {
|
|
21803
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21804
|
-
createElementVNode("div", _hoisted_2$
|
|
21803
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
21804
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
21805
21805
|
(props == null ? void 0 : props.editableSelect) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
21806
21806
|
createVNode(unref(Select), {
|
|
21807
21807
|
class: "login-country-select",
|
|
@@ -21818,7 +21818,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
21818
21818
|
value: item.value
|
|
21819
21819
|
}, {
|
|
21820
21820
|
default: withCtx(() => [
|
|
21821
|
-
createElementVNode("div", _hoisted_3$
|
|
21821
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
21822
21822
|
createElementVNode("span", null, toDisplayString$1(item.name), 1),
|
|
21823
21823
|
createElementVNode("span", null, toDisplayString$1(item.label), 1)
|
|
21824
21824
|
])
|
|
@@ -21922,7 +21922,7 @@ function useNoSpaceInput(getter, setter) {
|
|
|
21922
21922
|
handleKeydown
|
|
21923
21923
|
};
|
|
21924
21924
|
}
|
|
21925
|
-
const _sfc_main$
|
|
21925
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
21926
21926
|
__name: "index",
|
|
21927
21927
|
props: {
|
|
21928
21928
|
DataList: {},
|
|
@@ -22177,7 +22177,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22177
22177
|
autocomplete: autocompleteCalc((_a = formItem.props) == null ? void 0 : _a.autocomplete),
|
|
22178
22178
|
autofocus: formItem.key === "username",
|
|
22179
22179
|
spellcheck: false
|
|
22180
|
-
}), 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({
|
|
22181
22181
|
key: 1,
|
|
22182
22182
|
modelValue: Data[formItem.key],
|
|
22183
22183
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
@@ -22190,7 +22190,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22190
22190
|
text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
|
|
22191
22191
|
error: __props.errors.msgError,
|
|
22192
22192
|
autocomplete: autocompleteCalc((_c = formItem.props) == null ? void 0 : _c.autocomplete)
|
|
22193
|
-
}), 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({
|
|
22194
22194
|
key: 2,
|
|
22195
22195
|
country: Data.country,
|
|
22196
22196
|
class: __props.formErrors["mobile"] ? "input-select-error" : "",
|
|
@@ -22223,13 +22223,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22223
22223
|
}
|
|
22224
22224
|
});
|
|
22225
22225
|
const recentLoginImg = "data:image/png;base64,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";
|
|
22226
|
-
const _hoisted_1$
|
|
22227
|
-
const _hoisted_2$
|
|
22228
|
-
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" };
|
|
22229
22229
|
const _hoisted_4$4 = ["src", "alt", "onClick"];
|
|
22230
22230
|
const _hoisted_5$2 = { class: "recent-login-img" };
|
|
22231
22231
|
const _hoisted_6$2 = ["src"];
|
|
22232
|
-
const _sfc_main$
|
|
22232
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
22233
22233
|
__name: "auth",
|
|
22234
22234
|
props: {
|
|
22235
22235
|
logos: {},
|
|
@@ -22250,9 +22250,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22250
22250
|
return loginMethodList.includes(props.recentLoginType);
|
|
22251
22251
|
};
|
|
22252
22252
|
return (_ctx, _cache) => {
|
|
22253
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22254
|
-
createElementVNode("div", _hoisted_2$
|
|
22255
|
-
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, [
|
|
22256
22256
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.logos, (icon) => {
|
|
22257
22257
|
return openBlock(), createElementBlock("div", {
|
|
22258
22258
|
key: icon.alt,
|
|
@@ -22287,7 +22287,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22287
22287
|
};
|
|
22288
22288
|
}
|
|
22289
22289
|
});
|
|
22290
|
-
const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22290
|
+
const GAuth = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
22291
22291
|
const LOGIN_DECLARE_KEY = "g-login-declare-status";
|
|
22292
22292
|
const useDeclareStatus = () => {
|
|
22293
22293
|
const declareNotClicked = ref({
|
|
@@ -22329,11 +22329,11 @@ const useDeclareStatus = () => {
|
|
|
22329
22329
|
resetDeclareStatus
|
|
22330
22330
|
};
|
|
22331
22331
|
};
|
|
22332
|
-
const _hoisted_1$
|
|
22333
|
-
const _hoisted_2$
|
|
22334
|
-
const _hoisted_3$
|
|
22332
|
+
const _hoisted_1$8 = { class: "agreement" };
|
|
22333
|
+
const _hoisted_2$6 = { class: "agreement__placeholder" };
|
|
22334
|
+
const _hoisted_3$6 = { class: "agreement__placeholder" };
|
|
22335
22335
|
const _hoisted_4$3 = { class: "agreement__placeholder" };
|
|
22336
|
-
const _sfc_main$
|
|
22336
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22337
22337
|
__name: "agreement",
|
|
22338
22338
|
props: {
|
|
22339
22339
|
modelValue: { type: Boolean },
|
|
@@ -22357,19 +22357,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22357
22357
|
}
|
|
22358
22358
|
});
|
|
22359
22359
|
return (_ctx, _cache) => {
|
|
22360
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22360
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
22361
22361
|
createVNode(unref(Checkbox), {
|
|
22362
22362
|
"model-value": __props.modelValue,
|
|
22363
22363
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
22364
22364
|
size: "sm"
|
|
22365
22365
|
}, {
|
|
22366
22366
|
default: withCtx(() => [
|
|
22367
|
-
createElementVNode("span", _hoisted_2$
|
|
22367
|
+
createElementVNode("span", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.agree")), 1),
|
|
22368
22368
|
createElementVNode("span", {
|
|
22369
22369
|
class: normalizeClass(["agreement__link", unref(declareNotClicked)["agreement"] ? "badge-dot-item" : ""]),
|
|
22370
22370
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
|
|
22371
22371
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.link.agreement")), 3),
|
|
22372
|
-
createElementVNode("span", _hoisted_3$
|
|
22372
|
+
createElementVNode("span", _hoisted_3$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
|
|
22373
22373
|
createElementVNode("span", {
|
|
22374
22374
|
class: normalizeClass(["agreement__link", unref(declareNotClicked)["privacy"] ? "badge-dot-item" : ""]),
|
|
22375
22375
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
@@ -22397,11 +22397,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22397
22397
|
};
|
|
22398
22398
|
}
|
|
22399
22399
|
});
|
|
22400
|
-
const GAgreement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22401
|
-
const _hoisted_1$
|
|
22402
|
-
const _hoisted_2$
|
|
22403
|
-
const _hoisted_3$
|
|
22404
|
-
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({
|
|
22405
22405
|
__name: "agreements",
|
|
22406
22406
|
props: {
|
|
22407
22407
|
modelValue: { type: Boolean },
|
|
@@ -22433,12 +22433,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22433
22433
|
class: "agree-module agreements"
|
|
22434
22434
|
}, {
|
|
22435
22435
|
default: withCtx(() => [
|
|
22436
|
-
createElementVNode("span", _hoisted_1$
|
|
22436
|
+
createElementVNode("span", _hoisted_1$7, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.readAgree")), 1),
|
|
22437
22437
|
createElementVNode("a", {
|
|
22438
22438
|
class: normalizeClass(["agreements__link", unref(declareNotClicked)["agreement"] ? "badge-dot-item" : ""]),
|
|
22439
22439
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
|
|
22440
22440
|
}, toDisplayString$1("《" + unref($t)("gitCodeLayout.LoginModal.link.agreement") + "》"), 3),
|
|
22441
|
-
createElementVNode("span", _hoisted_2$
|
|
22441
|
+
createElementVNode("span", _hoisted_2$5, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.and")), 1),
|
|
22442
22442
|
createElementVNode("a", {
|
|
22443
22443
|
class: normalizeClass(["agreements__link", unref(declareNotClicked)["privacy"] ? "badge-dot-item" : ""]),
|
|
22444
22444
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
@@ -22454,7 +22454,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22454
22454
|
class: "agreements__data-share"
|
|
22455
22455
|
}, {
|
|
22456
22456
|
default: withCtx(() => [
|
|
22457
|
-
createElementVNode("span", _hoisted_3$
|
|
22457
|
+
createElementVNode("span", _hoisted_3$5, toDisplayString$1(dataShareName.value), 1),
|
|
22458
22458
|
createElementVNode("span", {
|
|
22459
22459
|
class: "agreements__data-link",
|
|
22460
22460
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => handleClick("dataShare"), ["stop"]))
|
|
@@ -22466,14 +22466,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22466
22466
|
};
|
|
22467
22467
|
}
|
|
22468
22468
|
});
|
|
22469
|
-
const _hoisted_1$
|
|
22470
|
-
const _hoisted_2$
|
|
22471
|
-
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"];
|
|
22472
22472
|
const _hoisted_4$2 = {
|
|
22473
22473
|
key: 0,
|
|
22474
22474
|
class: "g-title__text"
|
|
22475
22475
|
};
|
|
22476
|
-
const _sfc_main$
|
|
22476
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
22477
22477
|
__name: "title",
|
|
22478
22478
|
props: {
|
|
22479
22479
|
title: {},
|
|
@@ -22488,21 +22488,21 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22488
22488
|
emits("back");
|
|
22489
22489
|
};
|
|
22490
22490
|
return (_ctx, _cache) => {
|
|
22491
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22492
|
-
createElementVNode("div", _hoisted_2$
|
|
22491
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
22492
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
22493
22493
|
__props.showBack ? (openBlock(), createElementBlock("img", {
|
|
22494
22494
|
key: 0,
|
|
22495
22495
|
src: __props.icon,
|
|
22496
22496
|
class: "g-title__back-img",
|
|
22497
22497
|
onClick: withModifiers(handleClick, ["stop"])
|
|
22498
|
-
}, null, 8, _hoisted_3$
|
|
22498
|
+
}, null, 8, _hoisted_3$4)) : createCommentVNode("", true)
|
|
22499
22499
|
]),
|
|
22500
22500
|
__props.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(__props.title), 1)) : createCommentVNode("", true)
|
|
22501
22501
|
]);
|
|
22502
22502
|
};
|
|
22503
22503
|
}
|
|
22504
22504
|
});
|
|
22505
|
-
const GTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22505
|
+
const GTitle = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
22506
22506
|
const FindFileName = (path) => {
|
|
22507
22507
|
var _a;
|
|
22508
22508
|
const isName = /.*\/.*\/(.*\..*)/;
|
|
@@ -24902,10 +24902,10 @@ const isMobileEmail = (val) => {
|
|
|
24902
24902
|
}
|
|
24903
24903
|
return t$1("gitCodeLayout.common.phone") + "/" + t$1("gitCodeLayout.common.email");
|
|
24904
24904
|
};
|
|
24905
|
-
const _hoisted_1$
|
|
24906
|
-
const _hoisted_2$
|
|
24907
|
-
const _hoisted_3$
|
|
24908
|
-
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({
|
|
24909
24909
|
__name: "loginCheckModal",
|
|
24910
24910
|
props: /* @__PURE__ */ mergeModels({
|
|
24911
24911
|
dataShareChecked: { type: Boolean }
|
|
@@ -24947,7 +24947,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24947
24947
|
title: unref($t)("gitCodeLayout.LoginModal.subtitle.useAgrAndPriPolTip")
|
|
24948
24948
|
}, {
|
|
24949
24949
|
footer: withCtx(() => [
|
|
24950
|
-
createElementVNode("div", _hoisted_3$
|
|
24950
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
24951
24951
|
createVNode(unref(Button), {
|
|
24952
24952
|
class: "login-check-modal-footer__btn-cancel",
|
|
24953
24953
|
onClick: close
|
|
@@ -24971,7 +24971,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24971
24971
|
])
|
|
24972
24972
|
]),
|
|
24973
24973
|
default: withCtx(() => [
|
|
24974
|
-
createElementVNode("div", _hoisted_1$
|
|
24974
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
24975
24975
|
createElementVNode("div", null, [
|
|
24976
24976
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.youNeeToAgr")) + " ", 1),
|
|
24977
24977
|
createElementVNode("span", {
|
|
@@ -24995,7 +24995,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24995
24995
|
class: "login-check-modal-data-share"
|
|
24996
24996
|
}, {
|
|
24997
24997
|
default: withCtx(() => [
|
|
24998
|
-
createElementVNode("span", _hoisted_2$
|
|
24998
|
+
createElementVNode("span", _hoisted_2$3, toDisplayString$1(dataShareName.value), 1),
|
|
24999
24999
|
createElementVNode("span", {
|
|
25000
25000
|
class: "login-check-modal-link login-check-modal-link--sm",
|
|
25001
25001
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event) => handleClick("dataShare"), ["stop"]))
|
|
@@ -25010,9 +25010,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
25010
25010
|
};
|
|
25011
25011
|
}
|
|
25012
25012
|
});
|
|
25013
|
-
const _hoisted_1$
|
|
25014
|
-
const _hoisted_2$
|
|
25015
|
-
const _hoisted_3$
|
|
25013
|
+
const _hoisted_1$4 = { class: "mfa" };
|
|
25014
|
+
const _hoisted_2$2 = ["src"];
|
|
25015
|
+
const _hoisted_3$2 = { class: "mfa__title" };
|
|
25016
25016
|
const _hoisted_4$1 = { class: "mfa__desc" };
|
|
25017
25017
|
const _hoisted_5$1 = {
|
|
25018
25018
|
key: 0,
|
|
@@ -25037,7 +25037,7 @@ const _hoisted_9$1 = {
|
|
|
25037
25037
|
const _hoisted_10$1 = { class: "mfa__action" };
|
|
25038
25038
|
const _hoisted_11$1 = { class: "mfa__footer" };
|
|
25039
25039
|
const _hoisted_12$1 = { class: "mfa__back" };
|
|
25040
|
-
const _sfc_main$
|
|
25040
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
25041
25041
|
__name: "MFA",
|
|
25042
25042
|
props: {
|
|
25043
25043
|
mask: {},
|
|
@@ -25186,13 +25186,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25186
25186
|
focusInput();
|
|
25187
25187
|
});
|
|
25188
25188
|
return (_ctx, _cache) => {
|
|
25189
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25189
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
25190
25190
|
createElementVNode("img", {
|
|
25191
25191
|
class: "mfa__logo",
|
|
25192
25192
|
src: currentLogo.value,
|
|
25193
25193
|
alt: ""
|
|
25194
|
-
}, null, 8, _hoisted_2$
|
|
25195
|
-
createElementVNode("p", _hoisted_3$
|
|
25194
|
+
}, null, 8, _hoisted_2$2),
|
|
25195
|
+
createElementVNode("p", _hoisted_3$2, toDisplayString$1(modeTitle.value), 1),
|
|
25196
25196
|
createElementVNode("p", _hoisted_4$1, toDisplayString$1(unref(t2)("gitCodeLayout.LoginModal.mfatip5")), 1),
|
|
25197
25197
|
mode.value === "code" ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
25198
25198
|
(openBlock(true), createElementBlock(Fragment, null, renderList(inputList.value, (item, index2) => {
|
|
@@ -25266,7 +25266,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25266
25266
|
};
|
|
25267
25267
|
}
|
|
25268
25268
|
});
|
|
25269
|
-
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25269
|
+
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
25270
25270
|
const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
25271
25271
|
// eslint-disable-next-line no-useless-constructor
|
|
25272
25272
|
constructor() {
|
|
@@ -25454,7 +25454,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
25454
25454
|
__publicField(_SlidCaptchaManager, "instance");
|
|
25455
25455
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
25456
25456
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
25457
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
25457
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BeEeW2_Y.js"));
|
|
25458
25458
|
const useSlidCaptcha = () => {
|
|
25459
25459
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
25460
25460
|
const open = (config) => {
|
|
@@ -25484,7 +25484,7 @@ const useSlidCaptcha = () => {
|
|
|
25484
25484
|
close
|
|
25485
25485
|
};
|
|
25486
25486
|
};
|
|
25487
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
25487
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-rlBUBry4.js"));
|
|
25488
25488
|
const useYunpianCaptcha = () => {
|
|
25489
25489
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
25490
25490
|
const open = (config) => {
|
|
@@ -25875,10 +25875,10 @@ const useYiDunCaptcha = () => {
|
|
|
25875
25875
|
close
|
|
25876
25876
|
};
|
|
25877
25877
|
};
|
|
25878
|
-
const _sfc_main$
|
|
25879
|
-
const _hoisted_1$
|
|
25878
|
+
const _sfc_main$4 = {};
|
|
25879
|
+
const _hoisted_1$3 = { class: "content-loading" };
|
|
25880
25880
|
function _sfc_render(_ctx, _cache) {
|
|
25881
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25881
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [..._cache[0] || (_cache[0] = [
|
|
25882
25882
|
createElementVNode("div", { class: "content-loading-title" }, [
|
|
25883
25883
|
createElementVNode("div", { class: "content-loading__row" }, [
|
|
25884
25884
|
createElementVNode("img", {
|
|
@@ -25891,8 +25891,8 @@ function _sfc_render(_ctx, _cache) {
|
|
|
25891
25891
|
], -1)
|
|
25892
25892
|
])]);
|
|
25893
25893
|
}
|
|
25894
|
-
const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25895
|
-
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({
|
|
25896
25896
|
__name: "index",
|
|
25897
25897
|
props: {
|
|
25898
25898
|
loading: { type: Boolean },
|
|
@@ -25923,7 +25923,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
25923
25923
|
};
|
|
25924
25924
|
}
|
|
25925
25925
|
});
|
|
25926
|
-
const DataPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25926
|
+
const DataPanel = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
25927
25927
|
function useVisibilityPoll(pollFunction, options = {}, shouldPoll) {
|
|
25928
25928
|
const { interval = 1e4, immediate = true } = options;
|
|
25929
25929
|
const timer = ref(null);
|
|
@@ -25979,12 +25979,12 @@ function useVisibilityPoll(pollFunction, options = {}, shouldPoll) {
|
|
|
25979
25979
|
stopPoll
|
|
25980
25980
|
};
|
|
25981
25981
|
}
|
|
25982
|
-
const _hoisted_1$
|
|
25982
|
+
const _hoisted_1$2 = {
|
|
25983
25983
|
key: 0,
|
|
25984
25984
|
class: "login-modal-header"
|
|
25985
25985
|
};
|
|
25986
|
-
const _hoisted_2 = { class: "devui-icon__container devui-icon--operable devui-icon--no-slots login-modal-header__close-wrap" };
|
|
25987
|
-
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 = {
|
|
25988
25988
|
key: 1,
|
|
25989
25989
|
class: "login-modal-content"
|
|
25990
25990
|
};
|
|
@@ -26082,7 +26082,7 @@ const _hoisted_70 = { key: 3 };
|
|
|
26082
26082
|
const _hoisted_71 = { class: "login-modal-error login-modal-error--register" };
|
|
26083
26083
|
const _hoisted_72 = { class: "login-modal-error__text" };
|
|
26084
26084
|
const _hoisted_73 = { class: "absolute-btn" };
|
|
26085
|
-
const _sfc_main$
|
|
26085
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
26086
26086
|
...{
|
|
26087
26087
|
name: "GLoginModal"
|
|
26088
26088
|
},
|
|
@@ -27674,7 +27674,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27674
27674
|
onClose: onModalClose
|
|
27675
27675
|
}, {
|
|
27676
27676
|
header: withCtx(() => [
|
|
27677
|
-
!mfaCheck.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
27677
|
+
!mfaCheck.value ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
27678
27678
|
createVNode(GTitle, {
|
|
27679
27679
|
icon: unref(IconB),
|
|
27680
27680
|
title: FormConfig.value.title,
|
|
@@ -27683,7 +27683,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27683
27683
|
"show-back": FormConfig.value.showBack,
|
|
27684
27684
|
class: "login-modal-title"
|
|
27685
27685
|
}, null, 8, ["icon", "title", "show-title", "show-back"]),
|
|
27686
|
-
createElementVNode("div", _hoisted_2, [
|
|
27686
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
27687
27687
|
__props.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
27688
27688
|
key: 0,
|
|
27689
27689
|
onClick: onClickModalClose,
|
|
@@ -27703,7 +27703,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27703
27703
|
onSuccess: handleMFALogin,
|
|
27704
27704
|
onFail: handleMFALoginFail,
|
|
27705
27705
|
mask: cacheForm.mask
|
|
27706
|
-
}, null, 8, ["API", "mask"])) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
27706
|
+
}, null, 8, ["API", "mask"])) : (openBlock(), createElementBlock("div", _hoisted_3$1, [
|
|
27707
27707
|
["register", "login", "bindPhone", "bindPhoneConflict"].includes(formType.value) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
27708
27708
|
createElementVNode("div", _hoisted_5, [
|
|
27709
27709
|
createElementVNode("img", {
|
|
@@ -27938,7 +27938,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27938
27938
|
]),
|
|
27939
27939
|
_: 1
|
|
27940
27940
|
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
27941
|
-
formType.value !== "bindPhoneConflict" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
27941
|
+
formType.value !== "bindPhoneConflict" ? (openBlock(), createBlock(unref(_sfc_main$b), {
|
|
27942
27942
|
ref_key: "FormRef",
|
|
27943
27943
|
ref: FormRef,
|
|
27944
27944
|
key: formType.value,
|
|
@@ -28053,7 +28053,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28053
28053
|
createElementVNode("div", {
|
|
28054
28054
|
class: normalizeClass(["register-agree", [AgreementWarn.value ? "shaking-box" : ""]])
|
|
28055
28055
|
}, [
|
|
28056
|
-
createVNode(_sfc_main$
|
|
28056
|
+
createVNode(_sfc_main$8, {
|
|
28057
28057
|
modelValue: status.value,
|
|
28058
28058
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => status.value = $event),
|
|
28059
28059
|
dataShareChecked: dataShareChecked.value,
|
|
@@ -28110,7 +28110,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28110
28110
|
}),
|
|
28111
28111
|
_: 3
|
|
28112
28112
|
}, 8, ["modelValue", "lock-scroll", "draggable", "escapable", "append-to-body", "class"]),
|
|
28113
|
-
showProtoCheck.value ? (openBlock(), createBlock(_sfc_main$
|
|
28113
|
+
showProtoCheck.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
28114
28114
|
key: 0,
|
|
28115
28115
|
visible: showProtoCheck.value,
|
|
28116
28116
|
"onUpdate:visible": _cache[17] || (_cache[17] = ($event) => showProtoCheck.value = $event),
|
|
@@ -28123,7 +28123,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28123
28123
|
};
|
|
28124
28124
|
}
|
|
28125
28125
|
});
|
|
28126
|
-
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28126
|
+
const LoginModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
28127
28127
|
const { t } = i18n.global;
|
|
28128
28128
|
function useLogin(request, globalStore) {
|
|
28129
28129
|
const successMsg = t("gitCodeLayout.common.tips.welcome");
|
|
@@ -28227,8 +28227,8 @@ function useLogin(request, globalStore) {
|
|
|
28227
28227
|
isMounted
|
|
28228
28228
|
};
|
|
28229
28229
|
}
|
|
28230
|
-
const _hoisted_1 = { style: { "display": "none" } };
|
|
28231
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28230
|
+
const _hoisted_1$1 = { style: { "display": "none" } };
|
|
28231
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
28232
28232
|
...{
|
|
28233
28233
|
name: "Login"
|
|
28234
28234
|
},
|
|
@@ -28352,20 +28352,73 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28352
28352
|
offEvent("logout");
|
|
28353
28353
|
});
|
|
28354
28354
|
return (_ctx, _cache) => {
|
|
28355
|
-
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"]);
|
|
28356
28407
|
};
|
|
28357
28408
|
}
|
|
28358
28409
|
});
|
|
28410
|
+
const AsideFooterTools = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
28359
28411
|
const GitCodeLayoutEmitter = emitter;
|
|
28360
28412
|
const index = {
|
|
28361
28413
|
install: (app) => {
|
|
28362
28414
|
app.component("ToolsFloat", ToolsFloat);
|
|
28363
28415
|
app.component("GitCodeAside", GitCodeAside);
|
|
28364
28416
|
app.component("GitCodeHeader", GitCodeHeader);
|
|
28417
|
+
app.component("AsideFooterTools", AsideFooterTools);
|
|
28365
28418
|
}
|
|
28366
28419
|
};
|
|
28367
28420
|
export {
|
|
28368
|
-
|
|
28421
|
+
setTheme as $,
|
|
28369
28422
|
ThemeType as A,
|
|
28370
28423
|
currentTheme as B,
|
|
28371
28424
|
LANG_EN as C,
|
|
@@ -28376,24 +28429,25 @@ export {
|
|
|
28376
28429
|
isHttps as H,
|
|
28377
28430
|
navigateWithMigrationGuard as I,
|
|
28378
28431
|
asideRequest as J,
|
|
28379
|
-
_sfc_main$
|
|
28432
|
+
_sfc_main$H as K,
|
|
28380
28433
|
LANG_ZH as L,
|
|
28381
28434
|
loadAsideData as M,
|
|
28382
|
-
|
|
28383
|
-
|
|
28384
|
-
|
|
28385
|
-
|
|
28435
|
+
AsideFooterTools as N,
|
|
28436
|
+
EnterpriseHeader as O,
|
|
28437
|
+
GitCodeAside as P,
|
|
28438
|
+
GitCodeHeader as Q,
|
|
28386
28439
|
REPO_MODULE as R,
|
|
28387
|
-
|
|
28440
|
+
GitCodeLayoutEmitter as S,
|
|
28388
28441
|
TOPIC_TYPE as T,
|
|
28389
|
-
|
|
28390
|
-
|
|
28391
|
-
|
|
28392
|
-
|
|
28393
|
-
|
|
28394
|
-
|
|
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,
|
|
28395
28448
|
_export_sfc as _,
|
|
28396
28449
|
i18n as a,
|
|
28450
|
+
useLogin as a0,
|
|
28397
28451
|
REPO_EVENT as b,
|
|
28398
28452
|
REPO_TYPE as c,
|
|
28399
28453
|
transferNumber as d,
|
|
@@ -28406,7 +28460,7 @@ export {
|
|
|
28406
28460
|
usePageResize as k,
|
|
28407
28461
|
localStorage$2 as l,
|
|
28408
28462
|
isGstarRepo as m,
|
|
28409
|
-
_sfc_main$
|
|
28463
|
+
_sfc_main$G as n,
|
|
28410
28464
|
isIncubationRepo as o,
|
|
28411
28465
|
highlightWords as p,
|
|
28412
28466
|
_frEventTrack as q,
|