vue-layout-gitcode 1.12.15-beta.8 → 1.12.15-beta.9
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-iT2fx6Su.js → GloabarSearch-C1nWOUJB.js} +3 -3
- package/{MenuItem-gpMioL7c.js → MenuItem-8aGiYVO8.js} +1 -1
- package/{ProjectMenuList-qJRgFFc2.js → ProjectMenuList-B1ELNtOR.js} +2 -2
- package/{ProjectMenuListV2-DxeLKcuC.js → ProjectMenuListV2-DqVDFCK3.js} +2 -2
- package/{ProjectSearch-ByOYVtZa.js → ProjectSearch-D34sK5Ah.js} +1 -1
- package/{SearchHistoryList-BSEHxpLm.js → SearchHistoryList-gGFIxEBc.js} +1 -1
- package/{SearchRecommed-DxKb5eje.js → SearchRecommed-DwHRUUqY.js} +2 -2
- package/{SearchScopeList-D-VLtvR3.js → SearchScopeList-D0hTmy-e.js} +1 -1
- package/{UserSearch-CMvjqb9t.js → UserSearch-CU7riBY8.js} +1 -1
- package/{index-DB8vSwNM.js → index-BSsLr4S4.js} +1 -1
- package/{index-BfpPpmj0.js → index-BcgECitz.js} +2 -2
- package/{index-VaV5XVhn.js → index-Dec1tgAr.js} +1 -1
- package/{index-CKKeJYA9.js → index-dYH2DhnV.js} +452 -354
- package/index.d.ts +38 -0
- package/index.js +7 -6
- package/{notice-DPBhpIrF.js → notice-BdGYpMTQ.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-C5NH2PM9.js → transWebUrl-al9DwZTp.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": `#${_ctx.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": `#${_ctx.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",
|
|
@@ -9043,24 +9043,24 @@ const currentHelpDocsAiCommunityUrl = () => {
|
|
|
9043
9043
|
const baseUrl = isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
|
|
9044
9044
|
return appendLangPathToHelpDocsUrl(baseUrl);
|
|
9045
9045
|
};
|
|
9046
|
-
const _hoisted_1$
|
|
9047
|
-
const _hoisted_2$
|
|
9048
|
-
const _hoisted_3$
|
|
9046
|
+
const _hoisted_1$C = { class: "home-nav-right" };
|
|
9047
|
+
const _hoisted_2$r = { class: "home-nav-item" };
|
|
9048
|
+
const _hoisted_3$q = { class: "tooltip-sign" };
|
|
9049
9049
|
const _hoisted_4$j = { class: "home-nav-tooltip-wrapper" };
|
|
9050
|
-
const _hoisted_5$
|
|
9051
|
-
const _hoisted_6$
|
|
9052
|
-
const _hoisted_7$
|
|
9053
|
-
const _hoisted_8$
|
|
9050
|
+
const _hoisted_5$g = { class: "home-nav-text" };
|
|
9051
|
+
const _hoisted_6$e = { class: "home-nav-tooltip-wrapper" };
|
|
9052
|
+
const _hoisted_7$b = { class: "home-nav-text" };
|
|
9053
|
+
const _hoisted_8$a = {
|
|
9054
9054
|
key: 2,
|
|
9055
9055
|
class: "tools-list"
|
|
9056
9056
|
};
|
|
9057
|
-
const _hoisted_9$
|
|
9058
|
-
const _hoisted_10$
|
|
9059
|
-
const _hoisted_11$
|
|
9060
|
-
const _hoisted_12$
|
|
9061
|
-
const _hoisted_13$
|
|
9062
|
-
const _hoisted_14$
|
|
9063
|
-
const _hoisted_15$
|
|
9057
|
+
const _hoisted_9$8 = { class: "home-nav-tooltip-wrapper" };
|
|
9058
|
+
const _hoisted_10$8 = { class: "home-nav-text" };
|
|
9059
|
+
const _hoisted_11$7 = { class: "tools-float-feedback-sub" };
|
|
9060
|
+
const _hoisted_12$6 = { class: "qrcode-wrapper" };
|
|
9061
|
+
const _hoisted_13$3 = { class: "qrcode-wrapper__title" };
|
|
9062
|
+
const _hoisted_14$3 = { class: "tools-list-item" };
|
|
9063
|
+
const _hoisted_15$3 = { class: "g-card tools-float-nps-card" };
|
|
9064
9064
|
const _hoisted_16$2 = {
|
|
9065
9065
|
key: 0,
|
|
9066
9066
|
class: "opinion-box"
|
|
@@ -9097,7 +9097,7 @@ const _hoisted_30$1 = { class: "tools-float-finish__text" };
|
|
|
9097
9097
|
const _hoisted_31$1 = { class: "home-nav-item collapse-tool" };
|
|
9098
9098
|
const _hoisted_32$1 = { class: "home-nav-item" };
|
|
9099
9099
|
const _hoisted_33$1 = ["src", "alt"];
|
|
9100
|
-
const _sfc_main$
|
|
9100
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
9101
9101
|
__name: "index",
|
|
9102
9102
|
props: {
|
|
9103
9103
|
sceneValue: { default: SceneValue.home },
|
|
@@ -9339,7 +9339,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9339
9339
|
size: "18px"
|
|
9340
9340
|
})
|
|
9341
9341
|
])) : createCommentVNode("", true),
|
|
9342
|
-
createElementVNode("div", _hoisted_1$
|
|
9342
|
+
createElementVNode("div", _hoisted_1$C, [
|
|
9343
9343
|
inviteVisible.value && isModuleVisible(unref(ToolsFloatDisplayItem).INVITE) ? (openBlock(), createBlock(unref(Tooltip), {
|
|
9344
9344
|
key: 0,
|
|
9345
9345
|
position: "left",
|
|
@@ -9347,7 +9347,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9347
9347
|
}, {
|
|
9348
9348
|
content: withCtx(() => [
|
|
9349
9349
|
createElementVNode("div", _hoisted_4$j, [
|
|
9350
|
-
createElementVNode("div", _hoisted_5$
|
|
9350
|
+
createElementVNode("div", _hoisted_5$g, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
|
|
9351
9351
|
])
|
|
9352
9352
|
]),
|
|
9353
9353
|
default: withCtx(() => [
|
|
@@ -9355,13 +9355,13 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9355
9355
|
class: "home-nav-link computing",
|
|
9356
9356
|
onClick: handleInvite
|
|
9357
9357
|
}, [
|
|
9358
|
-
createElementVNode("div", _hoisted_2$
|
|
9358
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
9359
9359
|
_cache[5] || (_cache[5] = createElementVNode("img", {
|
|
9360
9360
|
class: "common-icon tools-float-icon",
|
|
9361
9361
|
src: "https://cdn-static.gitcode.com/static/images/homeweb/invite.svg",
|
|
9362
9362
|
alt: ""
|
|
9363
9363
|
}, null, -1)),
|
|
9364
|
-
createElementVNode("div", _hoisted_3$
|
|
9364
|
+
createElementVNode("div", _hoisted_3$q, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
|
|
9365
9365
|
])
|
|
9366
9366
|
])
|
|
9367
9367
|
]),
|
|
@@ -9373,8 +9373,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9373
9373
|
"overlay-class": "tools-tag-tooltip"
|
|
9374
9374
|
}, {
|
|
9375
9375
|
content: withCtx(() => [
|
|
9376
|
-
createElementVNode("div", _hoisted_6$
|
|
9377
|
-
createElementVNode("div", _hoisted_7$
|
|
9376
|
+
createElementVNode("div", _hoisted_6$e, [
|
|
9377
|
+
createElementVNode("div", _hoisted_7$b, toDisplayString$1(_ctx.isCannWhiteList ? unref(t2)("gitCodeLayout.userSetting.menu.cannTask") : unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
|
|
9378
9378
|
])
|
|
9379
9379
|
]),
|
|
9380
9380
|
default: withCtx(() => [
|
|
@@ -9394,16 +9394,16 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9394
9394
|
]),
|
|
9395
9395
|
_: 1
|
|
9396
9396
|
})) : createCommentVNode("", true),
|
|
9397
|
-
isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
9397
|
+
isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_8$a, [
|
|
9398
9398
|
createVNode(unref(Tooltip), {
|
|
9399
9399
|
position: "left",
|
|
9400
9400
|
"overlay-class": "tools-tag-tooltip"
|
|
9401
9401
|
}, {
|
|
9402
9402
|
content: withCtx(() => [
|
|
9403
|
-
createElementVNode("div", _hoisted_9$
|
|
9404
|
-
createElementVNode("div", _hoisted_10$
|
|
9403
|
+
createElementVNode("div", _hoisted_9$8, [
|
|
9404
|
+
createElementVNode("div", _hoisted_10$8, [
|
|
9405
9405
|
createElementVNode("p", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback01")), 1),
|
|
9406
|
-
createElementVNode("p", _hoisted_11$
|
|
9406
|
+
createElementVNode("p", _hoisted_11$7, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback02")), 1)
|
|
9407
9407
|
])
|
|
9408
9408
|
])
|
|
9409
9409
|
]),
|
|
@@ -9433,8 +9433,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9433
9433
|
"overlay-class": "tools-tag-tooltip"
|
|
9434
9434
|
}, {
|
|
9435
9435
|
content: withCtx(() => [
|
|
9436
|
-
createElementVNode("div", _hoisted_12$
|
|
9437
|
-
createElementVNode("div", _hoisted_13$
|
|
9436
|
+
createElementVNode("div", _hoisted_12$6, [
|
|
9437
|
+
createElementVNode("div", _hoisted_13$3, toDisplayString$1(unref(t2)("gitCodeLayout.home.followUs")), 1),
|
|
9438
9438
|
_cache[8] || (_cache[8] = createElementVNode("img", {
|
|
9439
9439
|
class: "qrcode",
|
|
9440
9440
|
src: "https://cdn-static.gitcode.com/static/images/points/wx_gitcode.png"
|
|
@@ -9469,7 +9469,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9469
9469
|
"is-open": npsPopVisible.value
|
|
9470
9470
|
}, {
|
|
9471
9471
|
content: withCtx(() => [
|
|
9472
|
-
createElementVNode("div", _hoisted_15$
|
|
9472
|
+
createElementVNode("div", _hoisted_15$3, [
|
|
9473
9473
|
process2.value ? (openBlock(), createElementBlock("div", _hoisted_16$2, [
|
|
9474
9474
|
createElementVNode("div", _hoisted_17$2, [
|
|
9475
9475
|
(openBlock(), createElementBlock(Fragment, null, renderList(opinionStepList, (item) => {
|
|
@@ -9553,7 +9553,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9553
9553
|
])
|
|
9554
9554
|
]),
|
|
9555
9555
|
default: withCtx(() => [
|
|
9556
|
-
createElementVNode("div", _hoisted_14$
|
|
9556
|
+
createElementVNode("div", _hoisted_14$3, [
|
|
9557
9557
|
createVNode(unref(Popover), {
|
|
9558
9558
|
class: "custom-popover-feedback",
|
|
9559
9559
|
position: ["left"],
|
|
@@ -9643,7 +9643,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9643
9643
|
};
|
|
9644
9644
|
}
|
|
9645
9645
|
});
|
|
9646
|
-
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9646
|
+
const ToolsFloat = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
9647
9647
|
var repoTypeEnum = /* @__PURE__ */ ((repoTypeEnum2) => {
|
|
9648
9648
|
repoTypeEnum2["NORMAL"] = "0";
|
|
9649
9649
|
repoTypeEnum2["MODEL"] = "1";
|
|
@@ -9785,8 +9785,8 @@ const collectRegisterLoginEvent = ({ isRegister, registerLoginMethod, success, e
|
|
|
9785
9785
|
delete reportData["utm_source"];
|
|
9786
9786
|
window.collectEvent("beconEvent", isRegister ? "register" : "login", reportData);
|
|
9787
9787
|
};
|
|
9788
|
-
const _hoisted_1$
|
|
9789
|
-
const _sfc_main$
|
|
9788
|
+
const _hoisted_1$B = ["href", "target", "disabled"];
|
|
9789
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
9790
9790
|
...{
|
|
9791
9791
|
name: "GLink"
|
|
9792
9792
|
},
|
|
@@ -9830,11 +9830,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
9830
9830
|
disabled: _ctx.disabled || _ctx.noPointer
|
|
9831
9831
|
}, [
|
|
9832
9832
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
9833
|
-
], 10, _hoisted_1$
|
|
9833
|
+
], 10, _hoisted_1$B));
|
|
9834
9834
|
};
|
|
9835
9835
|
}
|
|
9836
9836
|
});
|
|
9837
|
-
const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9837
|
+
const GLink = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
9838
9838
|
const headerHeight = ref(56);
|
|
9839
9839
|
const useHeaderHeight = () => {
|
|
9840
9840
|
const setHeaderHeight = (height) => {
|
|
@@ -10470,7 +10470,7 @@ if (isBrowser) {
|
|
|
10470
10470
|
}
|
|
10471
10471
|
const sessionStorage$1 = sessionStorage;
|
|
10472
10472
|
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAmsSURBVHgB7VpdbxxnFT7nfccmRam6/gXZXIBy1y3qRe8YR6kUoUpdbhACJNtShFJUSCyBBFd2I1ClAoklVAE32BYXRAJqIwEyUOrNL4h70dtm+wvqNG7deGbe03PO+7Gzlr27/kpzsSeazO5kZvZ95jnnOR8TgLGNbWxjG9vYDjWEp8zyNjUg22lBiS1TuOeNo5YFbBgyTUMAFgz4PXYnDEzf3XimO+h+GTwFls9S43G5O2NLaLtqp2VKaJiSCB0yGEQEJAHFIMkwKXxMjl8AopwvXxl07y8V4EvXdnMo3cye+6xtK3jOVISmYCAlb/KZgTBT4Pd8TD+TfGegiApyiH0pAF+6vpvzOhegoNxUvNiSwZS88II32VcAniVhTIAya6AgeS9/AK0AFXKH2BMFmN+kxqfF4wVXwA0snQdUgQcXtwoFgLJk/T6xqG7Kx2w4xi5Mw37ziQF88fXd/NHe58scZxfYBdGzBQkYFkxVpSBQAXkXZJC8CYMUXTQCxZEU0sATsG/c+PwOL3/TVnhBY0vYqyABk7jjGJSnvc0L72qMeQaxB8gIWGGPgtjw+fRw2G+fKYMv/nQ3dwUuG2VNGfPMCagYd+yiWFGXH8Dcfzae7cRr2y/vzHJKuM3gGh4cX+tUXKAHHLvD1nDqAFuLnMc+ezyLlXnVFS5XN4ziUQpbAgySqGAF3Qmqpjc2prr1+6z/7/zK917e2XJg70eXtMFtmT3vtkDbw9ZzKon+0pvUnHhc5FTiDC+a8xg1AqAeuCIATIqpqUCUcva/G+dXD7v39y/v3WGtvGlDHhT2VGD4+zkwU0sdHAjyWAxeukPN0rk2L/J5jp0c98omRcGoakCKnoik3BZFpRQmDHz1XPGPQb9ljemgo5uqrME1hRWpZIaBOzLA5u+paQtYLsX1Ks8ABpZEJDAy0wcuuWUQFU0FZFBiCmh9fWrgIvmah2iikqJPH8j3Q3h/lDWPrKLNt9n1CrrP+csn5+hyhVN2cE/VkIL7UQIXXJKBkX8QoTLhLeNE/cqVR/nABRpq8oNgl/R50fKDsfp0cG2UdY8EsLnMMVXBGi/4OSvMFE4XbXnxtopMyTEXlNFFEQmqGR6IVigQVVBSAWQ2mxn023zWgj4MERjJg6wslv3OTMC9UdY+EsDsISx4qYeecIgCMns+j0VBCUAkaSc2fcxZ513MahaLUs/XOJz5zpXdhf2/eZO7imt5cYfBNbkk89UN/2Wt7jtLG8NThD6gYSc0WVAy5x54twzMiEDsOS8a+/KaFXctqFah+PhM8aN1pCFflYSqhUQMcIvBrPDnh/xvF9glZxUcqKCw2PBemBOA6OZ+/e9sBUawoQC/dts9QGEvyb1DDyLGmcP+dKAu7MWHY9CD6wGJUh9rTHG/UHv6mtMBxHNDyabgBJjN+GEZ7L71L3MRRrSBKvr13xJX/K5py6CWQe49uAgUA9CacqrCgiRxBReSMwYwmBbv/PFQY1I6FyXeQu3JMafgdOPjhlbhCHYoQMl1VLhFLFMq6CXp0ss+ps91Nw0PoFIgqXAOe5V7jF2BB5diUhllcCgs8lkh5lBc0wOELv/CCpwGQCroDvbnsH4gyhz0qpJ6T1ehFxBfYlESlBqbsWnt6xS0BZIYkwTvgSX2BCSz98t3TBeOYAfG4KU3ixwcbpr9zNVbnCIJSmSOcE/Usq8TT66Zvke2yAMSN62XXypE/CVL4CiIC3Z/9ffRYw8GMUgOb2S9uDuIuRCLdRfl4YmLAKJi1kQDtFHt7+sAUroQcJzEGQhhxh8YEMeegGOWeZ9N4DQcww4EyMm8lUQlxlMCF5SzSK7pK5Z6zGm+gygUDLWW96AmJnXBAc+c5jmvmOgFRkYT8Mbi3dHy3n47MNEjuG/bgrZToSzlWFBOTfBclmEsrKtQRGs745N4HDlEoKl/A8+irXUF0uvptfyFFRJqiklh3731N7sIx7QDGfxgcXKr9fPdF0xpZpjJpq14CZXTeQlUjmeU1LAFflNd1Lugd0+o5bveyCG5pSWsl2qQ4s5qKsAAKqgmPzQ+MTPuDTiBHbsfnH7lExlB5LXRQm3EkJJ5YJFrVj8Ng16CD6ADY3W19PUmCeDuwl+OLix1O/ZMxpbY6WND48r/8SoJyT2TgjrwM5U4ejBQT+ReVEL8yT7LTsae2LFHFnzhPaxJvwmioi2NqqKh9AB6M03vxj7PxdoSA3PskqKerJiqoPJvpgMntJEYlPcFl9uP1vJv8TuDYBs8IGK366TOoDfew1ploqzG2EsTamFuXxKXOLS6MThR0Azu/WLleMpZt6EM6ssQ+HQTKmhxLPFnSPkoq9w8w7kfhAXrc0uLWC/HQicuSokQSi8VFE0DNpRk1gNX0BO4DqdgZhRwnAZakhZ4LfnVq70OnCdfW8aZeY0pCnNLrSf9GyDjAjBhTjvx0BHYmkpmQWgyVKDqnpnQX440kjg2wDo4yYVZSuDY14G/8+65JSbjlk/aRgXEhpFEHL2r+5rohqjllzKVEZhYivETUbCBwZ/9YaIDZwkQYIcHtk7BCQvowhgdcLZ9ld8K1ezuu88sctjMsQt/JC6JFAe0Rl2Vi2Sf2zxbJHspx2RLzPnc5/OhwQ6ckh0K0Mo7uirlLazFklQvy9+9utusn//n9yZXVt+bvIhEcxnRvfSiJDSrPgWI/OsGsQyzNbeMdSczuwVnDfD//3x2+vxXqqmswhdSJ06hM+BRAlRm8wdXuOvYZ3/qTK78sZNNy1CWF7uqOU3Z8e6X1DMd90OkkOxD/JmRBkonAigmM0t+yg27r8XxsQVNbjs2Zy/vLV87AKgMZTNrHphepRJryyQq3j1DUpcyLdNOovvjpdNR0KEAxfg3W2mkUJuraCog7Q1moMLNH+buw+t5P1BTYybLVDUpxCKpm6ZeT87V7kEGSieuXo4EkJ/zq71SLPV2aHsvJH1sAl3k5JD33TxUK6FhpSyopWctdQuh7lT3nH/t9mjTslFtaKKX/+Vgomv29pReK8euHczK2x1c7Lv5pNOXzCE1qFJpM5tRck3f97FqUjn/o99Mnpq4jASwnX/cCFVJlxN6B8m9n7lJjo9ShrGbCSgquLn91xumS1XReLc0me/5bOr54GNm+dbrS2YJzsgGAlzvTG2323Txr+v9b3Gu57vgaBJC4bx6EDi9eVZ9pNWo1pYI/eCwU1mc+8nSyevNQXbsfvC13K2xi24fBk5scZYaWUUfcgxOxZqT43Cbg3d+/nenG2uH2Zn/T6e3ZvdarCJrIjA8w181k9nS/NLw93pjG9vYxja2p8G+ADz7MtW/3lU1AAAAAElFTkSuQmCC";
|
|
10473
|
-
const _sfc_main$
|
|
10473
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
10474
10474
|
...{
|
|
10475
10475
|
name: "GAvatar"
|
|
10476
10476
|
},
|
|
@@ -10516,8 +10516,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
10516
10516
|
};
|
|
10517
10517
|
}
|
|
10518
10518
|
});
|
|
10519
|
-
const _hoisted_1$
|
|
10520
|
-
const _sfc_main$
|
|
10519
|
+
const _hoisted_1$A = ["src"];
|
|
10520
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
10521
10521
|
...{ name: "FlashTag" },
|
|
10522
10522
|
__name: "FlashTag",
|
|
10523
10523
|
props: {
|
|
@@ -10562,7 +10562,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
10562
10562
|
key: 0,
|
|
10563
10563
|
class: "gc-flash-tag__icon",
|
|
10564
10564
|
src: iconUrl.value
|
|
10565
|
-
}, null, 8, _hoisted_1$
|
|
10565
|
+
}, null, 8, _hoisted_1$A)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
10566
10566
|
], 16)
|
|
10567
10567
|
]),
|
|
10568
10568
|
_: 3
|
|
@@ -11371,49 +11371,49 @@ const useTimeFormat = () => {
|
|
|
11371
11371
|
formatTime
|
|
11372
11372
|
};
|
|
11373
11373
|
};
|
|
11374
|
-
const _hoisted_1$
|
|
11374
|
+
const _hoisted_1$z = {
|
|
11375
11375
|
key: 0,
|
|
11376
11376
|
class: "org-layout-toolbar"
|
|
11377
11377
|
};
|
|
11378
|
-
const _hoisted_2$
|
|
11379
|
-
const _hoisted_3$
|
|
11378
|
+
const _hoisted_2$q = { class: "org-layout-toolbar-title ellipsis-two-line" };
|
|
11379
|
+
const _hoisted_3$p = { class: "header-custom-btn-label" };
|
|
11380
11380
|
const _hoisted_4$i = { class: "g-repo-breadcrumb-custom" };
|
|
11381
|
-
const _hoisted_5$
|
|
11381
|
+
const _hoisted_5$f = {
|
|
11382
11382
|
key: 1,
|
|
11383
11383
|
class: "header-custom-mirrors-avatar"
|
|
11384
11384
|
};
|
|
11385
|
-
const _hoisted_6$
|
|
11385
|
+
const _hoisted_6$d = {
|
|
11386
11386
|
key: 0,
|
|
11387
11387
|
src: _imports_0,
|
|
11388
11388
|
alt: "mirrors-avatar-phone",
|
|
11389
11389
|
class: "header-custom-mirrors-img"
|
|
11390
11390
|
};
|
|
11391
|
-
const _hoisted_7$
|
|
11391
|
+
const _hoisted_7$a = {
|
|
11392
11392
|
key: 1,
|
|
11393
11393
|
src: "https://cdn-static.gitcode.com/static/images/mirrors-avata_20250411.gif",
|
|
11394
11394
|
alt: "mirrors-avatar",
|
|
11395
11395
|
class: "header-custom-mirrors-img-tall"
|
|
11396
11396
|
};
|
|
11397
|
-
const _hoisted_8$
|
|
11398
|
-
const _hoisted_9$
|
|
11397
|
+
const _hoisted_8$9 = { class: "g-repo-breadcrumb-container" };
|
|
11398
|
+
const _hoisted_9$7 = {
|
|
11399
11399
|
key: 0,
|
|
11400
11400
|
class: "header-custom-breadcrumb-row"
|
|
11401
11401
|
};
|
|
11402
|
-
const _hoisted_10$
|
|
11403
|
-
const _hoisted_11$
|
|
11404
|
-
const _hoisted_12$
|
|
11402
|
+
const _hoisted_10$7 = ["title"];
|
|
11403
|
+
const _hoisted_11$6 = ["title"];
|
|
11404
|
+
const _hoisted_12$5 = {
|
|
11405
11405
|
key: 0,
|
|
11406
11406
|
class: "header-custom-tag-mb"
|
|
11407
11407
|
};
|
|
11408
|
-
const _hoisted_13$
|
|
11408
|
+
const _hoisted_13$2 = {
|
|
11409
11409
|
key: 1,
|
|
11410
11410
|
class: "header-custom-tag-mb"
|
|
11411
11411
|
};
|
|
11412
|
-
const _hoisted_14$
|
|
11412
|
+
const _hoisted_14$2 = {
|
|
11413
11413
|
key: 2,
|
|
11414
11414
|
class: "header-custom-tag-mb"
|
|
11415
11415
|
};
|
|
11416
|
-
const _hoisted_15$
|
|
11416
|
+
const _hoisted_15$2 = {
|
|
11417
11417
|
key: 3,
|
|
11418
11418
|
class: "header-custom-tag-mb"
|
|
11419
11419
|
};
|
|
@@ -11430,7 +11430,7 @@ const _hoisted_20$1 = {
|
|
|
11430
11430
|
};
|
|
11431
11431
|
const _hoisted_21$1 = { class: "user-layout-toolbar-title ellipsis-two-line" };
|
|
11432
11432
|
const _hoisted_22$1 = { class: "header-custom-btn-label" };
|
|
11433
|
-
const _sfc_main$
|
|
11433
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
11434
11434
|
__name: "HeaderCustom",
|
|
11435
11435
|
props: {
|
|
11436
11436
|
scene: { default: SceneValue.home },
|
|
@@ -11550,7 +11550,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11550
11550
|
});
|
|
11551
11551
|
return (_ctx, _cache) => {
|
|
11552
11552
|
var _a, _b, _c;
|
|
11553
|
-
return _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11553
|
+
return _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
11554
11554
|
createVNode(GLink, {
|
|
11555
11555
|
href: ((_a = _ctx.orgProps) == null ? void 0 : _a.orgHomepageUrl) || "",
|
|
11556
11556
|
class: "header-custom-link"
|
|
@@ -11558,7 +11558,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11558
11558
|
default: withCtx(() => {
|
|
11559
11559
|
var _a2, _b2, _c2;
|
|
11560
11560
|
return [
|
|
11561
|
-
createVNode(_sfc_main$
|
|
11561
|
+
createVNode(_sfc_main$H, {
|
|
11562
11562
|
class: "g-border",
|
|
11563
11563
|
src: (_a2 = unref(orgInfo)) == null ? void 0 : _a2.avatar,
|
|
11564
11564
|
name: (_b2 = unref(orgInfo)) == null ? void 0 : _b2.name,
|
|
@@ -11566,7 +11566,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11566
11566
|
height: 28,
|
|
11567
11567
|
is_round: false
|
|
11568
11568
|
}, null, 8, ["src", "name"]),
|
|
11569
|
-
createElementVNode("div", _hoisted_2$
|
|
11569
|
+
createElementVNode("div", _hoisted_2$q, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
|
|
11570
11570
|
];
|
|
11571
11571
|
}),
|
|
11572
11572
|
_: 1
|
|
@@ -11581,7 +11581,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11581
11581
|
default: withCtx(() => {
|
|
11582
11582
|
var _a2;
|
|
11583
11583
|
return [
|
|
11584
|
-
createElementVNode("span", _hoisted_3$
|
|
11584
|
+
createElementVNode("span", _hoisted_3$p, toDisplayString$1(((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
|
|
11585
11585
|
];
|
|
11586
11586
|
}),
|
|
11587
11587
|
_: 1
|
|
@@ -11611,7 +11611,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11611
11611
|
default: withCtx(() => {
|
|
11612
11612
|
var _a3, _b3, _c3, _d2;
|
|
11613
11613
|
return [
|
|
11614
|
-
!((_a3 = _ctx.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$
|
|
11614
|
+
!((_a3 = _ctx.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$H, {
|
|
11615
11615
|
key: 0,
|
|
11616
11616
|
class: normalizeClass({ "g-border": isOrg.value }),
|
|
11617
11617
|
src: (_c3 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c3.avatar_url,
|
|
@@ -11619,14 +11619,14 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11619
11619
|
width: 28,
|
|
11620
11620
|
height: 28,
|
|
11621
11621
|
is_round: !isOrg.value
|
|
11622
|
-
}, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_5$
|
|
11623
|
-
unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_6$
|
|
11622
|
+
}, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_5$f, [
|
|
11623
|
+
unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_6$d)) : (openBlock(), createElementBlock("img", _hoisted_7$a))
|
|
11624
11624
|
]))
|
|
11625
11625
|
];
|
|
11626
11626
|
}),
|
|
11627
11627
|
_: 1
|
|
11628
11628
|
}, 8, ["href"]),
|
|
11629
|
-
createElementVNode("div", _hoisted_8$
|
|
11629
|
+
createElementVNode("div", _hoisted_8$9, [
|
|
11630
11630
|
!((_b2 = _ctx.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
|
|
11631
11631
|
key: 0,
|
|
11632
11632
|
ref_key: "breadcrumbRef",
|
|
@@ -11637,7 +11637,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11637
11637
|
return openBlock(), createElementBlock(Fragment, {
|
|
11638
11638
|
key: item.path
|
|
11639
11639
|
}, [
|
|
11640
|
-
index2 !== unref(breadcrumb).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_9$
|
|
11640
|
+
index2 !== unref(breadcrumb).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_9$7, [
|
|
11641
11641
|
createVNode(GLink, {
|
|
11642
11642
|
class: "linkTx",
|
|
11643
11643
|
href: item.path
|
|
@@ -11649,7 +11649,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11649
11649
|
ref: breadcrumbTextRef,
|
|
11650
11650
|
title: item.label,
|
|
11651
11651
|
class: normalizeClass(["linkTx", index2 === unref(breadcrumb).length - 1 ? "header-custom-bold" : ""])
|
|
11652
|
-
}, toDisplayString$1(item.label), 11, _hoisted_10$
|
|
11652
|
+
}, toDisplayString$1(item.label), 11, _hoisted_10$7)
|
|
11653
11653
|
]),
|
|
11654
11654
|
_: 2
|
|
11655
11655
|
}, 1032, ["href"]),
|
|
@@ -11674,12 +11674,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11674
11674
|
ref: breadcrumbNextTextRef,
|
|
11675
11675
|
title: unref(breadcrumb)[unref(breadcrumb).length - 1].label,
|
|
11676
11676
|
class: "linkTx header-custom-bold"
|
|
11677
|
-
}, toDisplayString$1(unref(breadcrumb)[unref(breadcrumb).length - 1].label), 9, _hoisted_11$
|
|
11677
|
+
}, toDisplayString$1(unref(breadcrumb)[unref(breadcrumb).length - 1].label), 9, _hoisted_11$6)
|
|
11678
11678
|
]),
|
|
11679
11679
|
_: 1
|
|
11680
11680
|
}, 8, ["to"]),
|
|
11681
|
-
unref(isGstarRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
11682
|
-
createVNode(_sfc_main$
|
|
11681
|
+
unref(isGstarRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_12$5, [
|
|
11682
|
+
createVNode(_sfc_main$G, {
|
|
11683
11683
|
origin: "repo",
|
|
11684
11684
|
icon: "",
|
|
11685
11685
|
type: "gstar",
|
|
@@ -11691,8 +11691,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11691
11691
|
_: 1,
|
|
11692
11692
|
__: [2]
|
|
11693
11693
|
}, 8, ["message"])
|
|
11694
|
-
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$
|
|
11695
|
-
createVNode(_sfc_main$
|
|
11694
|
+
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
|
|
11695
|
+
createVNode(_sfc_main$G, {
|
|
11696
11696
|
origin: "repo",
|
|
11697
11697
|
icon: "",
|
|
11698
11698
|
type: "incubation",
|
|
@@ -11705,8 +11705,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11705
11705
|
__: [3]
|
|
11706
11706
|
}, 8, ["message"])
|
|
11707
11707
|
])) : createCommentVNode("", true),
|
|
11708
|
-
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$
|
|
11709
|
-
createVNode(_sfc_main$
|
|
11708
|
+
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
|
|
11709
|
+
createVNode(_sfc_main$G, {
|
|
11710
11710
|
trusted: "",
|
|
11711
11711
|
message: unref(t2)("gitCodeLayout.trusted.title"),
|
|
11712
11712
|
icon: "",
|
|
@@ -11714,7 +11714,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11714
11714
|
href: "/trusted"
|
|
11715
11715
|
}, null, 8, ["message"])
|
|
11716
11716
|
])) : createCommentVNode("", true),
|
|
11717
|
-
((_d = _ctx.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_15$
|
|
11717
|
+
((_d = _ctx.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_15$2, [
|
|
11718
11718
|
createVNode(GIcon, {
|
|
11719
11719
|
size: "16px",
|
|
11720
11720
|
class: "header-custom-lock-icon",
|
|
@@ -11755,7 +11755,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11755
11755
|
default: withCtx(() => {
|
|
11756
11756
|
var _a2, _b2, _c2, _d, _e;
|
|
11757
11757
|
return [
|
|
11758
|
-
createVNode(_sfc_main$
|
|
11758
|
+
createVNode(_sfc_main$H, {
|
|
11759
11759
|
src: (_a2 = unref(otherUserInfo)) == null ? void 0 : _a2.avatarUrl,
|
|
11760
11760
|
name: ((_b2 = unref(otherUserInfo)) == null ? void 0 : _b2.name) || ((_c2 = unref(otherUserInfo)) == null ? void 0 : _c2.nickname),
|
|
11761
11761
|
width: 28,
|
|
@@ -11782,9 +11782,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
11782
11782
|
};
|
|
11783
11783
|
}
|
|
11784
11784
|
});
|
|
11785
|
-
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11786
|
-
const _hoisted_1$
|
|
11787
|
-
const _sfc_main$
|
|
11785
|
+
const HeaderCustom = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
11786
|
+
const _hoisted_1$y = ["src"];
|
|
11787
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
11788
11788
|
...{ name: "OperationEntry" },
|
|
11789
11789
|
__name: "OperationEntry",
|
|
11790
11790
|
setup(__props) {
|
|
@@ -11828,14 +11828,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11828
11828
|
class: "operation-entry__img",
|
|
11829
11829
|
src: img.value,
|
|
11830
11830
|
alt: "operation-entry"
|
|
11831
|
-
}, null, 8, _hoisted_1$
|
|
11831
|
+
}, null, 8, _hoisted_1$y)
|
|
11832
11832
|
])) : createCommentVNode("", true);
|
|
11833
11833
|
};
|
|
11834
11834
|
}
|
|
11835
11835
|
});
|
|
11836
|
-
const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11837
|
-
const _hoisted_1$
|
|
11838
|
-
const _sfc_main$
|
|
11836
|
+
const OperationEntry = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
11837
|
+
const _hoisted_1$x = ["src"];
|
|
11838
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
11839
11839
|
__name: "ClaimPower",
|
|
11840
11840
|
props: {
|
|
11841
11841
|
config: {}
|
|
@@ -11858,14 +11858,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11858
11858
|
createElementVNode("img", {
|
|
11859
11859
|
src: _ctx.config.logo_url,
|
|
11860
11860
|
alt: "claim power"
|
|
11861
|
-
}, null, 8, _hoisted_1$
|
|
11861
|
+
}, null, 8, _hoisted_1$x)
|
|
11862
11862
|
])) : createCommentVNode("", true);
|
|
11863
11863
|
};
|
|
11864
11864
|
}
|
|
11865
11865
|
});
|
|
11866
|
-
const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11867
|
-
const _hoisted_1$
|
|
11868
|
-
const _sfc_main$
|
|
11866
|
+
const ClaimPower = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
11867
|
+
const _hoisted_1$w = { class: "devui-select__item g-option-link" };
|
|
11868
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
11869
11869
|
...{
|
|
11870
11870
|
name: "OptionLink"
|
|
11871
11871
|
},
|
|
@@ -11883,7 +11883,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11883
11883
|
},
|
|
11884
11884
|
setup(__props) {
|
|
11885
11885
|
return (_ctx, _cache) => {
|
|
11886
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
11886
|
+
return openBlock(), createElementBlock("li", _hoisted_1$w, [
|
|
11887
11887
|
createVNode(GLink, normalizeProps(guardReactiveProps(_ctx.$props)), {
|
|
11888
11888
|
default: withCtx(() => [
|
|
11889
11889
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -11894,7 +11894,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11894
11894
|
};
|
|
11895
11895
|
}
|
|
11896
11896
|
});
|
|
11897
|
-
const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11897
|
+
const OptionLink = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
11898
11898
|
var aes = { exports: {} };
|
|
11899
11899
|
function commonjsRequire(path) {
|
|
11900
11900
|
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.');
|
|
@@ -14358,7 +14358,7 @@ function headRequest(request) {
|
|
|
14358
14358
|
}
|
|
14359
14359
|
};
|
|
14360
14360
|
}
|
|
14361
|
-
const _sfc_main$
|
|
14361
|
+
const _sfc_main$B = /* @__PURE__ */ Object.assign({
|
|
14362
14362
|
name: "Create"
|
|
14363
14363
|
}, {
|
|
14364
14364
|
__name: "index",
|
|
@@ -14472,8 +14472,8 @@ const _sfc_main$A = /* @__PURE__ */ Object.assign({
|
|
|
14472
14472
|
};
|
|
14473
14473
|
}
|
|
14474
14474
|
});
|
|
14475
|
-
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14476
|
-
const _sfc_main$
|
|
14475
|
+
const Create = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
14476
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
14477
14477
|
...{
|
|
14478
14478
|
name: "DocumentCenter"
|
|
14479
14479
|
},
|
|
@@ -14498,12 +14498,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14498
14498
|
};
|
|
14499
14499
|
}
|
|
14500
14500
|
});
|
|
14501
|
-
const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14502
|
-
const _hoisted_1$
|
|
14501
|
+
const DocumentCenter = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
14502
|
+
const _hoisted_1$v = {
|
|
14503
14503
|
key: 1,
|
|
14504
14504
|
class: "g-text-all"
|
|
14505
14505
|
};
|
|
14506
|
-
const _sfc_main$
|
|
14506
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
14507
14507
|
...{ name: "GText" },
|
|
14508
14508
|
__name: "index",
|
|
14509
14509
|
props: {
|
|
@@ -14580,24 +14580,24 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
14580
14580
|
class: "watch-all",
|
|
14581
14581
|
onClick: onShowAll
|
|
14582
14582
|
}, toDisplayString$1(_ctx.$t("gitCodeLayout.notice.msg.viewAll")), 1)) : createCommentVNode("", true)
|
|
14583
|
-
], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14583
|
+
], 6)) : showAllContent.value && finalConfig.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
14584
14584
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
14585
14585
|
])) : createCommentVNode("", true);
|
|
14586
14586
|
};
|
|
14587
14587
|
}
|
|
14588
14588
|
});
|
|
14589
|
-
const GText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14590
|
-
const _hoisted_1$
|
|
14591
|
-
const _hoisted_2$
|
|
14592
|
-
const _hoisted_3$
|
|
14589
|
+
const GText = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
14590
|
+
const _hoisted_1$u = { class: "message-item" };
|
|
14591
|
+
const _hoisted_2$p = { class: "message-item-footer" };
|
|
14592
|
+
const _hoisted_3$o = ["title"];
|
|
14593
14593
|
const _hoisted_4$h = ["href"];
|
|
14594
|
-
const _hoisted_5$
|
|
14595
|
-
const _hoisted_6$
|
|
14596
|
-
const _hoisted_7$
|
|
14597
|
-
const _hoisted_8$
|
|
14598
|
-
const _hoisted_9$
|
|
14599
|
-
const _hoisted_10$
|
|
14600
|
-
const _sfc_main$
|
|
14594
|
+
const _hoisted_5$e = { class: "message-item-info-content" };
|
|
14595
|
+
const _hoisted_6$c = { class: "message-item-body" };
|
|
14596
|
+
const _hoisted_7$9 = ["title", "innerHTML"];
|
|
14597
|
+
const _hoisted_8$8 = ["title"];
|
|
14598
|
+
const _hoisted_9$6 = { class: "message-item-info" };
|
|
14599
|
+
const _hoisted_10$6 = { class: "message-item-rightTx message-item-date" };
|
|
14600
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
14601
14601
|
__name: "index",
|
|
14602
14602
|
props: {
|
|
14603
14603
|
data: { default: () => ({}) },
|
|
@@ -14609,8 +14609,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
14609
14609
|
const { formatTimeFromNow } = useTimeFormat();
|
|
14610
14610
|
return (_ctx, _cache) => {
|
|
14611
14611
|
var _a;
|
|
14612
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14613
|
-
createElementVNode("div", _hoisted_2$
|
|
14612
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
14613
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
14614
14614
|
createElementVNode("div", {
|
|
14615
14615
|
class: "message-item__avatar-wrap",
|
|
14616
14616
|
title: _ctx.data.nickname
|
|
@@ -14620,17 +14620,17 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
14620
14620
|
target: "_blank",
|
|
14621
14621
|
class: "user-info linktx message-item__user-info"
|
|
14622
14622
|
}, [
|
|
14623
|
-
createVNode(_sfc_main$
|
|
14623
|
+
createVNode(_sfc_main$H, {
|
|
14624
14624
|
name: _ctx.data.nickname,
|
|
14625
14625
|
src: _ctx.data.avatar,
|
|
14626
14626
|
width: 32,
|
|
14627
14627
|
height: 32
|
|
14628
14628
|
}, null, 8, ["name", "src"])
|
|
14629
14629
|
], 8, _hoisted_4$h)
|
|
14630
|
-
], 8, _hoisted_3$
|
|
14630
|
+
], 8, _hoisted_3$o)
|
|
14631
14631
|
]),
|
|
14632
|
-
createElementVNode("div", _hoisted_5$
|
|
14633
|
-
createElementVNode("div", _hoisted_6$
|
|
14632
|
+
createElementVNode("div", _hoisted_5$e, [
|
|
14633
|
+
createElementVNode("div", _hoisted_6$c, [
|
|
14634
14634
|
createVNode(GLink, {
|
|
14635
14635
|
href: unref(transformUrl)(_ctx.data.url),
|
|
14636
14636
|
target: "_blank",
|
|
@@ -14645,17 +14645,17 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
14645
14645
|
title: _ctx.data.title,
|
|
14646
14646
|
innerHTML: unref(xssPurify)(_ctx.data.title) || "",
|
|
14647
14647
|
class: "message-item__title"
|
|
14648
|
-
}, null, 8, _hoisted_7$
|
|
14648
|
+
}, null, 8, _hoisted_7$9)) : (openBlock(), createElementBlock("span", {
|
|
14649
14649
|
key: 1,
|
|
14650
14650
|
title: _ctx.data.title
|
|
14651
|
-
}, toDisplayString$1(_ctx.data.title || "-"), 9, _hoisted_8$
|
|
14651
|
+
}, toDisplayString$1(_ctx.data.title || "-"), 9, _hoisted_8$8))
|
|
14652
14652
|
]),
|
|
14653
14653
|
_: 1
|
|
14654
14654
|
})
|
|
14655
14655
|
]),
|
|
14656
14656
|
_: 1
|
|
14657
14657
|
}, 8, ["href", "class"]),
|
|
14658
|
-
createElementVNode("div", _hoisted_9$
|
|
14658
|
+
createElementVNode("div", _hoisted_9$6, [
|
|
14659
14659
|
createVNode(GText, null, {
|
|
14660
14660
|
default: withCtx(() => [
|
|
14661
14661
|
createTextVNode(toDisplayString$1(_ctx.data.repo), 1)
|
|
@@ -14672,18 +14672,18 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
14672
14672
|
])
|
|
14673
14673
|
])
|
|
14674
14674
|
]),
|
|
14675
|
-
createElementVNode("div", _hoisted_10$
|
|
14675
|
+
createElementVNode("div", _hoisted_10$6, toDisplayString$1(unref(formatTimeFromNow)(_ctx.data.time)), 1)
|
|
14676
14676
|
]);
|
|
14677
14677
|
};
|
|
14678
14678
|
}
|
|
14679
14679
|
});
|
|
14680
|
-
const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14681
|
-
const _hoisted_1$
|
|
14682
|
-
const _hoisted_2$
|
|
14680
|
+
const MessageItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
14681
|
+
const _hoisted_1$t = { class: "message-header-nav" };
|
|
14682
|
+
const _hoisted_2$o = {
|
|
14683
14683
|
key: 0,
|
|
14684
14684
|
class: "item-count-icon"
|
|
14685
14685
|
};
|
|
14686
|
-
const _hoisted_3$
|
|
14686
|
+
const _hoisted_3$n = {
|
|
14687
14687
|
key: 1,
|
|
14688
14688
|
class: "g-number"
|
|
14689
14689
|
};
|
|
@@ -14691,33 +14691,33 @@ const _hoisted_4$g = {
|
|
|
14691
14691
|
key: 0,
|
|
14692
14692
|
class: "g-number message-box__count"
|
|
14693
14693
|
};
|
|
14694
|
-
const _hoisted_5$
|
|
14695
|
-
const _hoisted_6$
|
|
14694
|
+
const _hoisted_5$d = { class: "message-content-cover" };
|
|
14695
|
+
const _hoisted_6$b = {
|
|
14696
14696
|
key: 0,
|
|
14697
14697
|
class: "message-content-header"
|
|
14698
14698
|
};
|
|
14699
|
-
const _hoisted_7$
|
|
14699
|
+
const _hoisted_7$8 = {
|
|
14700
14700
|
key: 0,
|
|
14701
14701
|
class: "g-number"
|
|
14702
14702
|
};
|
|
14703
|
-
const _hoisted_8$
|
|
14703
|
+
const _hoisted_8$7 = {
|
|
14704
14704
|
key: 0,
|
|
14705
14705
|
class: "g-number"
|
|
14706
14706
|
};
|
|
14707
|
-
const _hoisted_9$
|
|
14707
|
+
const _hoisted_9$5 = {
|
|
14708
14708
|
key: 2,
|
|
14709
14709
|
class: "message-content-empty"
|
|
14710
14710
|
};
|
|
14711
|
-
const _hoisted_10$
|
|
14711
|
+
const _hoisted_10$5 = {
|
|
14712
14712
|
key: 3,
|
|
14713
14713
|
class: "loading-more"
|
|
14714
14714
|
};
|
|
14715
|
-
const _hoisted_11$
|
|
14715
|
+
const _hoisted_11$5 = {
|
|
14716
14716
|
key: 4,
|
|
14717
14717
|
class: "no-more"
|
|
14718
14718
|
};
|
|
14719
|
-
const _hoisted_12$
|
|
14720
|
-
const _sfc_main$
|
|
14719
|
+
const _hoisted_12$4 = { class: "message-footer-nav" };
|
|
14720
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
14721
14721
|
__name: "MessageBox",
|
|
14722
14722
|
setup(__props, { expose: __expose }) {
|
|
14723
14723
|
var _a;
|
|
@@ -14988,7 +14988,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14988
14988
|
class: "message-box",
|
|
14989
14989
|
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => console.log("stop"), ["stop"]))
|
|
14990
14990
|
}, [
|
|
14991
|
-
createElementVNode("div", _hoisted_1$
|
|
14991
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
14992
14992
|
createVNode(unref(Tabs), {
|
|
14993
14993
|
modelValue: checkedId.value,
|
|
14994
14994
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkedId.value = $event),
|
|
@@ -15004,7 +15004,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15004
15004
|
createElementVNode("div", {
|
|
15005
15005
|
class: normalizeClass(["message-header-nav-item", { "message-header-nav-item-active": item.messageType === checkedId.value }])
|
|
15006
15006
|
}, [
|
|
15007
|
-
item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
15007
|
+
item.icon ? (openBlock(), createElementBlock("div", _hoisted_2$o, [
|
|
15008
15008
|
createVNode(GIcon, {
|
|
15009
15009
|
name: item.icon,
|
|
15010
15010
|
size: "16px",
|
|
@@ -15017,7 +15017,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15017
15017
|
}, null, 8, ["name"])
|
|
15018
15018
|
])) : createCommentVNode("", true),
|
|
15019
15019
|
createElementVNode("span", null, toDisplayString$1(item.text), 1),
|
|
15020
|
-
item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
15020
|
+
item.count > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString$1(item.count), 1)) : createCommentVNode("", true)
|
|
15021
15021
|
], 2)
|
|
15022
15022
|
]),
|
|
15023
15023
|
_: 2
|
|
@@ -15039,21 +15039,21 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15039
15039
|
ref: scrollContainer,
|
|
15040
15040
|
class: "message-content"
|
|
15041
15041
|
}, [
|
|
15042
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_5$
|
|
15043
|
-
currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
15042
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
15043
|
+
currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
|
|
15044
15044
|
createElementVNode("div", {
|
|
15045
15045
|
class: normalizeClass(["message-content-header-item message-content-header-item--mr", { active: mentionSubTab.value === "project" }]),
|
|
15046
15046
|
onClick: _cache[2] || (_cache[2] = ($event) => switchMentionSubTab("project"))
|
|
15047
15047
|
}, [
|
|
15048
15048
|
_cache[6] || (_cache[6] = createTextVNode(" 项目相关 ")),
|
|
15049
|
-
mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
15049
|
+
mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
|
|
15050
15050
|
], 2),
|
|
15051
15051
|
createElementVNode("div", {
|
|
15052
15052
|
class: normalizeClass(["message-content-header-item", { active: mentionSubTab.value === "discussion" }]),
|
|
15053
15053
|
onClick: _cache[3] || (_cache[3] = ($event) => switchMentionSubTab("discussion"))
|
|
15054
15054
|
}, [
|
|
15055
15055
|
_cache[7] || (_cache[7] = createTextVNode(" 在线讨论 ")),
|
|
15056
|
-
mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$
|
|
15056
|
+
mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$7, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
|
|
15057
15057
|
], 2)
|
|
15058
15058
|
])) : createCommentVNode("", true),
|
|
15059
15059
|
listData.value.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(listData.value, (item) => {
|
|
@@ -15063,16 +15063,16 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15063
15063
|
data: item,
|
|
15064
15064
|
onTrigger: ($event) => handleMessageRead(item)
|
|
15065
15065
|
}, null, 8, ["type", "data", "onTrigger"]);
|
|
15066
|
-
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_9$
|
|
15066
|
+
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_9$5, [
|
|
15067
15067
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMessage")), 1)
|
|
15068
15068
|
])),
|
|
15069
|
-
loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
15070
|
-
!hasMore.value && listData.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_11$
|
|
15069
|
+
loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_10$5, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.loading")) + "... ", 1)) : createCommentVNode("", true),
|
|
15070
|
+
!hasMore.value && listData.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_11$5, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMore")), 1)) : createCommentVNode("", true)
|
|
15071
15071
|
])), [
|
|
15072
15072
|
[_directive_loading, loading.value]
|
|
15073
15073
|
])
|
|
15074
15074
|
], 512),
|
|
15075
|
-
createElementVNode("div", _hoisted_12$
|
|
15075
|
+
createElementVNode("div", _hoisted_12$4, [
|
|
15076
15076
|
createElementVNode("div", { onClick: setPageRead }, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.pageRead")), 1),
|
|
15077
15077
|
createElementVNode("div", {
|
|
15078
15078
|
onClick: _cache[4] || (_cache[4] = ($event) => toPage("all"))
|
|
@@ -15082,8 +15082,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
15082
15082
|
};
|
|
15083
15083
|
}
|
|
15084
15084
|
});
|
|
15085
|
-
const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15086
|
-
const _sfc_main$
|
|
15085
|
+
const MessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15086
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
15087
15087
|
...{
|
|
15088
15088
|
name: "Notice"
|
|
15089
15089
|
},
|
|
@@ -15195,7 +15195,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
15195
15195
|
};
|
|
15196
15196
|
}
|
|
15197
15197
|
});
|
|
15198
|
-
const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15198
|
+
const Notice = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15199
15199
|
function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
15200
15200
|
const allCookies = api.get() || {};
|
|
15201
15201
|
const storedValue = allCookies[key] || localStorage$2.getItem(key);
|
|
@@ -15219,10 +15219,10 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
|
15219
15219
|
);
|
|
15220
15220
|
return value;
|
|
15221
15221
|
}
|
|
15222
|
-
const _hoisted_1$
|
|
15223
|
-
const _hoisted_2$
|
|
15224
|
-
const _hoisted_3$
|
|
15225
|
-
const _sfc_main$
|
|
15222
|
+
const _hoisted_1$s = { class: "tools-item-wrapper" };
|
|
15223
|
+
const _hoisted_2$n = { class: "tools-item-wrapper-checkbox" };
|
|
15224
|
+
const _hoisted_3$m = ["onClick", "title"];
|
|
15225
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
15226
15226
|
__name: "Lang",
|
|
15227
15227
|
setup(__props) {
|
|
15228
15228
|
const lang = useCookie(LANG_KEY, LANG_ZH);
|
|
@@ -15239,9 +15239,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15239
15239
|
window.location.reload();
|
|
15240
15240
|
};
|
|
15241
15241
|
return (_ctx, _cache) => {
|
|
15242
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15242
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
15243
15243
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.lang")), 1),
|
|
15244
|
-
createElementVNode("div", _hoisted_2$
|
|
15244
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
15245
15245
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
15246
15246
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
15247
15247
|
key: item.label
|
|
@@ -15256,26 +15256,26 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15256
15256
|
color: "var(--theme-icon-fill-weak)",
|
|
15257
15257
|
class: "checkbox-item-icon"
|
|
15258
15258
|
}, null, 8, ["name"])
|
|
15259
|
-
], 16, _hoisted_3$
|
|
15259
|
+
], 16, _hoisted_3$m);
|
|
15260
15260
|
}), 128))
|
|
15261
15261
|
])
|
|
15262
15262
|
]);
|
|
15263
15263
|
};
|
|
15264
15264
|
}
|
|
15265
15265
|
});
|
|
15266
|
-
const _hoisted_1$
|
|
15266
|
+
const _hoisted_1$r = {
|
|
15267
15267
|
key: 0,
|
|
15268
15268
|
class: "user-level-avatar-badge"
|
|
15269
15269
|
};
|
|
15270
|
-
const _hoisted_2$
|
|
15271
|
-
const _hoisted_3$
|
|
15270
|
+
const _hoisted_2$m = { class: "user-level__row" };
|
|
15271
|
+
const _hoisted_3$l = ["src"];
|
|
15272
15272
|
const _hoisted_4$f = { class: "level-name" };
|
|
15273
|
-
const _hoisted_5$
|
|
15274
|
-
const _hoisted_6$
|
|
15275
|
-
const _hoisted_7$
|
|
15276
|
-
const _hoisted_8$
|
|
15273
|
+
const _hoisted_5$c = { class: "level-icon" };
|
|
15274
|
+
const _hoisted_6$a = ["src"];
|
|
15275
|
+
const _hoisted_7$7 = { class: "custom-btn" };
|
|
15276
|
+
const _hoisted_8$6 = { class: "user-level__btn-text" };
|
|
15277
15277
|
const maxLevel = 3;
|
|
15278
|
-
const _sfc_main$
|
|
15278
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
15279
15279
|
...{ name: "UserLevel" },
|
|
15280
15280
|
__name: "UserLevel",
|
|
15281
15281
|
props: ["accountInfo"],
|
|
@@ -15326,40 +15326,40 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
15326
15326
|
class: normalizeClass(["user-level", { [unref(ThemeType).BLACK]: unref(currentTheme) === unref(ThemeType).BLACK }]),
|
|
15327
15327
|
onClick: handleUpgrade
|
|
15328
15328
|
}, [
|
|
15329
|
-
__props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
15330
|
-
createElementVNode("div", _hoisted_2$
|
|
15329
|
+
__props.accountInfo.need_tips ? (openBlock(), createElementBlock("div", _hoisted_1$r)) : createCommentVNode("", true),
|
|
15330
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
15331
15331
|
createElementVNode("img", {
|
|
15332
15332
|
class: "level-avatar",
|
|
15333
15333
|
src: levelInfo.value.avatar,
|
|
15334
15334
|
alt: ""
|
|
15335
|
-
}, null, 8, _hoisted_3$
|
|
15335
|
+
}, null, 8, _hoisted_3$l),
|
|
15336
15336
|
createElementVNode("div", _hoisted_4$f, [
|
|
15337
15337
|
createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
|
|
15338
|
-
createElementVNode("div", _hoisted_5$
|
|
15338
|
+
createElementVNode("div", _hoisted_5$c, [
|
|
15339
15339
|
createElementVNode("img", {
|
|
15340
15340
|
src: levelInfo.value.level,
|
|
15341
15341
|
alt: ""
|
|
15342
|
-
}, null, 8, _hoisted_6$
|
|
15342
|
+
}, null, 8, _hoisted_6$a)
|
|
15343
15343
|
])
|
|
15344
15344
|
])
|
|
15345
15345
|
]),
|
|
15346
|
-
createElementVNode("div", _hoisted_7$
|
|
15347
|
-
createElementVNode("div", _hoisted_8$
|
|
15346
|
+
createElementVNode("div", _hoisted_7$7, [
|
|
15347
|
+
createElementVNode("div", _hoisted_8$6, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.tips.getPoints")), 1)
|
|
15348
15348
|
])
|
|
15349
15349
|
], 2);
|
|
15350
15350
|
};
|
|
15351
15351
|
}
|
|
15352
15352
|
});
|
|
15353
|
-
const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15354
|
-
const _hoisted_1$
|
|
15355
|
-
const _hoisted_2$
|
|
15356
|
-
const _hoisted_3$
|
|
15353
|
+
const UserLevel = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15354
|
+
const _hoisted_1$q = { class: "g-user-drawer-info-list" };
|
|
15355
|
+
const _hoisted_2$l = { class: "g-user-drawer-info-list__name-wrap" };
|
|
15356
|
+
const _hoisted_3$k = ["title"];
|
|
15357
15357
|
const _hoisted_4$e = ["title"];
|
|
15358
|
-
const _hoisted_5$
|
|
15358
|
+
const _hoisted_5$b = {
|
|
15359
15359
|
key: 0,
|
|
15360
15360
|
class: "g-user-drawer-lang-row"
|
|
15361
15361
|
};
|
|
15362
|
-
const _sfc_main$
|
|
15362
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
15363
15363
|
__name: "UserAvatarMenu",
|
|
15364
15364
|
props: {
|
|
15365
15365
|
isChatBot: { type: Boolean },
|
|
@@ -15501,7 +15501,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
15501
15501
|
});
|
|
15502
15502
|
const avatarLangBlock = {
|
|
15503
15503
|
id: "avatar-lang",
|
|
15504
|
-
component: markRaw(_sfc_main$
|
|
15504
|
+
component: markRaw(_sfc_main$v),
|
|
15505
15505
|
avatarLangRow: true
|
|
15506
15506
|
};
|
|
15507
15507
|
const shouldShowEnterpriseLang = computed(
|
|
@@ -15576,18 +15576,18 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
15576
15576
|
target: _ctx.isChatBot ? "_blank" : ""
|
|
15577
15577
|
}, {
|
|
15578
15578
|
default: withCtx(() => [
|
|
15579
|
-
createVNode(_sfc_main$
|
|
15579
|
+
createVNode(_sfc_main$H, {
|
|
15580
15580
|
name: _ctx.accountInfo.nickname,
|
|
15581
15581
|
src: _ctx.accountInfo.avatar,
|
|
15582
15582
|
width: 52,
|
|
15583
15583
|
height: 52
|
|
15584
15584
|
}, null, 8, ["name", "src"]),
|
|
15585
|
-
createElementVNode("div", _hoisted_1$
|
|
15586
|
-
createElementVNode("div", _hoisted_2$
|
|
15585
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
15586
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
15587
15587
|
createElementVNode("p", {
|
|
15588
15588
|
class: "g-user-drawer-info-list-name ellipsis",
|
|
15589
15589
|
title: _ctx.accountInfo.nickname
|
|
15590
|
-
}, toDisplayString$1(_ctx.accountInfo.nickname), 9, _hoisted_3$
|
|
15590
|
+
}, toDisplayString$1(_ctx.accountInfo.nickname), 9, _hoisted_3$k),
|
|
15591
15591
|
createElementVNode("p", {
|
|
15592
15592
|
class: "g-user-drawer-info-list-id ellipsis",
|
|
15593
15593
|
title: _ctx.accountInfo.username
|
|
@@ -15611,7 +15611,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
15611
15611
|
key: index2
|
|
15612
15612
|
}, [
|
|
15613
15613
|
block.component ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
15614
|
-
block.avatarLangRow ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
15614
|
+
block.avatarLangRow ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
|
|
15615
15615
|
(openBlock(), createBlock(resolveDynamicComponent(block.component), {
|
|
15616
15616
|
key: block.id
|
|
15617
15617
|
}))
|
|
@@ -15642,20 +15642,20 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
15642
15642
|
};
|
|
15643
15643
|
}
|
|
15644
15644
|
});
|
|
15645
|
-
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15646
|
-
const _hoisted_1$
|
|
15647
|
-
const _hoisted_2$
|
|
15645
|
+
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15646
|
+
const _hoisted_1$p = { class: "g-user-avatar flex-center" };
|
|
15647
|
+
const _hoisted_2$k = {
|
|
15648
15648
|
key: 0,
|
|
15649
15649
|
class: "g-user-avatar__badge"
|
|
15650
15650
|
};
|
|
15651
|
-
const _hoisted_3$
|
|
15651
|
+
const _hoisted_3$j = { class: "g-user-avatar flex-center" };
|
|
15652
15652
|
const _hoisted_4$d = {
|
|
15653
15653
|
key: 0,
|
|
15654
15654
|
class: "g-user-avatar__badge"
|
|
15655
15655
|
};
|
|
15656
|
-
const _hoisted_5$
|
|
15657
|
-
const _hoisted_6$
|
|
15658
|
-
const _sfc_main$
|
|
15656
|
+
const _hoisted_5$a = { class: "g-user-drawer" };
|
|
15657
|
+
const _hoisted_6$9 = { class: "user-avatar__drawer-header" };
|
|
15658
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
15659
15659
|
...{
|
|
15660
15660
|
name: "UserAvatar"
|
|
15661
15661
|
},
|
|
@@ -15794,12 +15794,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15794
15794
|
key: 0,
|
|
15795
15795
|
onClick: _cache[0] || (_cache[0] = ($event) => drawerVisible.value = true)
|
|
15796
15796
|
}, [
|
|
15797
|
-
createElementVNode("div", _hoisted_1$
|
|
15798
|
-
createVNode(_sfc_main$
|
|
15797
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
15798
|
+
createVNode(_sfc_main$H, {
|
|
15799
15799
|
name: accountInfo.value.nickname,
|
|
15800
15800
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
15801
15801
|
}, null, 8, ["name", "src"]),
|
|
15802
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
15802
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$k, _cache[4] || (_cache[4] = [
|
|
15803
15803
|
createElementVNode("div", null, null, -1)
|
|
15804
15804
|
]))) : createCommentVNode("", true)
|
|
15805
15805
|
])
|
|
@@ -15812,7 +15812,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15812
15812
|
onToggle: handleToggle
|
|
15813
15813
|
}, {
|
|
15814
15814
|
menu: withCtx(() => [
|
|
15815
|
-
createElementVNode("div", _hoisted_5$
|
|
15815
|
+
createElementVNode("div", _hoisted_5$a, [
|
|
15816
15816
|
createVNode(UserAvatarMenu, {
|
|
15817
15817
|
independence: _ctx.independence,
|
|
15818
15818
|
loginOutFinish: _ctx.loginOutFinish,
|
|
@@ -15826,8 +15826,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15826
15826
|
])
|
|
15827
15827
|
]),
|
|
15828
15828
|
default: withCtx(() => [
|
|
15829
|
-
createElementVNode("div", _hoisted_3$
|
|
15830
|
-
createVNode(_sfc_main$
|
|
15829
|
+
createElementVNode("div", _hoisted_3$j, [
|
|
15830
|
+
createVNode(_sfc_main$H, {
|
|
15831
15831
|
name: accountInfo.value.nickname,
|
|
15832
15832
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
15833
15833
|
}, null, 8, ["name", "src"]),
|
|
@@ -15847,7 +15847,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15847
15847
|
}, {
|
|
15848
15848
|
default: withCtx(() => [
|
|
15849
15849
|
createElementVNode("div", null, [
|
|
15850
|
-
createElementVNode("div", _hoisted_6$
|
|
15850
|
+
createElementVNode("div", _hoisted_6$9, [
|
|
15851
15851
|
createVNode(unref(Button), {
|
|
15852
15852
|
class: "draw-side-bar-close",
|
|
15853
15853
|
icon: "close",
|
|
@@ -15874,7 +15874,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15874
15874
|
};
|
|
15875
15875
|
}
|
|
15876
15876
|
});
|
|
15877
|
-
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15877
|
+
const UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
15878
15878
|
var EVENT_NAME = /* @__PURE__ */ ((EVENT_NAME2) => {
|
|
15879
15879
|
EVENT_NAME2["START_SEARCH"] = "开始搜索";
|
|
15880
15880
|
EVENT_NAME2["SEARCH"] = "搜索";
|
|
@@ -16087,16 +16087,16 @@ const buildQualifierPrefix = (info) => {
|
|
|
16087
16087
|
}
|
|
16088
16088
|
return `${key}:${info.searchScopeName} `;
|
|
16089
16089
|
};
|
|
16090
|
-
const _hoisted_1$
|
|
16090
|
+
const _hoisted_1$o = {
|
|
16091
16091
|
key: 0,
|
|
16092
16092
|
class: "devui-input-slot__prefix"
|
|
16093
16093
|
};
|
|
16094
|
-
const _hoisted_2$
|
|
16095
|
-
const _hoisted_3$
|
|
16094
|
+
const _hoisted_2$j = ["value"];
|
|
16095
|
+
const _hoisted_3$i = {
|
|
16096
16096
|
key: 1,
|
|
16097
16097
|
class: "devui-input-slot__suffix"
|
|
16098
16098
|
};
|
|
16099
|
-
const _sfc_main$
|
|
16099
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
16100
16100
|
...{
|
|
16101
16101
|
name: "HighlightInput",
|
|
16102
16102
|
inheritAttrs: false
|
|
@@ -16264,7 +16264,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16264
16264
|
class: normalizeClass(["devui-input__wrapper devui-input--glow-style hl-search-input", [rootClass.value, { "devui-input--focus": isFocused.value }]]),
|
|
16265
16265
|
style: normalizeStyle(rootStyle.value)
|
|
16266
16266
|
}, [
|
|
16267
|
-
_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16267
|
+
_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
16268
16268
|
renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
16269
16269
|
])) : createCommentVNode("", true),
|
|
16270
16270
|
createElementVNode("div", {
|
|
@@ -16290,28 +16290,28 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16290
16290
|
ref: nativeRef,
|
|
16291
16291
|
class: "devui-input__inner hl-search-input__native",
|
|
16292
16292
|
value: _ctx.modelValue
|
|
16293
|
-
}, inputAttrs.value, { onInput }), null, 16, _hoisted_2$
|
|
16293
|
+
}, inputAttrs.value, { onInput }), null, 16, _hoisted_2$j)
|
|
16294
16294
|
], 512),
|
|
16295
|
-
_ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16295
|
+
_ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
16296
16296
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
16297
16297
|
])) : createCommentVNode("", true)
|
|
16298
16298
|
], 6);
|
|
16299
16299
|
};
|
|
16300
16300
|
}
|
|
16301
16301
|
});
|
|
16302
|
-
const HighlightInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16303
|
-
const _hoisted_1$
|
|
16304
|
-
const _hoisted_2$
|
|
16305
|
-
const _hoisted_3$
|
|
16302
|
+
const HighlightInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16303
|
+
const _hoisted_1$n = { class: "g-header-search-prefix" };
|
|
16304
|
+
const _hoisted_2$i = ["innerHTML"];
|
|
16305
|
+
const _hoisted_3$h = { class: "g-header-search-suffix-splitline" };
|
|
16306
16306
|
const _hoisted_4$c = { class: "g-header-search-suffix-suffixIcon" };
|
|
16307
|
-
const _hoisted_5$
|
|
16308
|
-
const _hoisted_6$
|
|
16307
|
+
const _hoisted_5$9 = { class: "history-list" };
|
|
16308
|
+
const _hoisted_6$8 = {
|
|
16309
16309
|
key: 1,
|
|
16310
16310
|
class: "aireposearch aireposearch--flex"
|
|
16311
16311
|
};
|
|
16312
16312
|
const RECOMMEND_RESERVE = 60;
|
|
16313
16313
|
const HISTORY_DISPLAY_COUNT = 3;
|
|
16314
|
-
const _sfc_main$
|
|
16314
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
16315
16315
|
__name: "index",
|
|
16316
16316
|
props: {
|
|
16317
16317
|
inAIHub: { type: Boolean },
|
|
@@ -16321,12 +16321,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16321
16321
|
setup(__props) {
|
|
16322
16322
|
const layoutConfig2 = useLayoutConfig();
|
|
16323
16323
|
const { t: $t } = i18n.global;
|
|
16324
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16325
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16326
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16327
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16328
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16329
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
16324
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-D34sK5Ah.js"));
|
|
16325
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-CU7riBY8.js"));
|
|
16326
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-C1nWOUJB.js"));
|
|
16327
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-gGFIxEBc.js"));
|
|
16328
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D0hTmy-e.js"));
|
|
16329
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DwHRUUqY.js"));
|
|
16330
16330
|
const props = __props;
|
|
16331
16331
|
const repoInfo = inject("repoInfo");
|
|
16332
16332
|
const orgInfo = inject("orgInfo");
|
|
@@ -16871,7 +16871,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16871
16871
|
}, {
|
|
16872
16872
|
menu: withCtx(() => [
|
|
16873
16873
|
createElementVNode("div", null, [
|
|
16874
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
16874
|
+
withDirectives(createElementVNode("div", _hoisted_5$9, [
|
|
16875
16875
|
createVNode(unref(SearchScopeList), {
|
|
16876
16876
|
searchScopeList: searchScopeList.value,
|
|
16877
16877
|
onScopeSearch
|
|
@@ -16938,7 +16938,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16938
16938
|
ref: inputRef
|
|
16939
16939
|
}, {
|
|
16940
16940
|
prefix: withCtx(() => [
|
|
16941
|
-
createElementVNode("div", _hoisted_1$
|
|
16941
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
16942
16942
|
createVNode(GIcon, {
|
|
16943
16943
|
name: "gt-search",
|
|
16944
16944
|
class: "g-header-search-icon",
|
|
@@ -16962,7 +16962,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16962
16962
|
class: "quick-tips",
|
|
16963
16963
|
innerHTML: unref(quickTips),
|
|
16964
16964
|
onClick: onInputClick
|
|
16965
|
-
}, null, 8, _hoisted_2$
|
|
16965
|
+
}, null, 8, _hoisted_2$i)), [
|
|
16966
16966
|
[vShow, placeholderVisible.value]
|
|
16967
16967
|
])
|
|
16968
16968
|
]),
|
|
@@ -16979,7 +16979,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16979
16979
|
}, null, 512), [
|
|
16980
16980
|
[vShow, searchStr.value]
|
|
16981
16981
|
]),
|
|
16982
|
-
withDirectives(createElementVNode("span", _hoisted_3$
|
|
16982
|
+
withDirectives(createElementVNode("span", _hoisted_3$h, "|", 512), [
|
|
16983
16983
|
[vShow, searchStr.value]
|
|
16984
16984
|
]),
|
|
16985
16985
|
createElementVNode("div", _hoisted_4$c, [
|
|
@@ -17000,7 +17000,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17000
17000
|
_: 3
|
|
17001
17001
|
}, 8, ["overlay-class", "visible"])
|
|
17002
17002
|
], 2)) : createCommentVNode("", true),
|
|
17003
|
-
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
17003
|
+
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
17004
17004
|
createVNode(unref(Input), {
|
|
17005
17005
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
17006
17006
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -17020,16 +17020,16 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17020
17020
|
};
|
|
17021
17021
|
}
|
|
17022
17022
|
});
|
|
17023
|
-
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17024
|
-
const _hoisted_1$
|
|
17025
|
-
const _hoisted_2$
|
|
17026
|
-
const _hoisted_3$
|
|
17023
|
+
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
17024
|
+
const _hoisted_1$m = { class: "announce-mobile-top" };
|
|
17025
|
+
const _hoisted_2$h = { class: "announce-mobile-bottom" };
|
|
17026
|
+
const _hoisted_3$g = ["href"];
|
|
17027
17027
|
const _hoisted_4$b = { class: "announce-content" };
|
|
17028
|
-
const _hoisted_5$
|
|
17029
|
-
const _hoisted_6$
|
|
17030
|
-
const _hoisted_7$
|
|
17028
|
+
const _hoisted_5$8 = { class: "announce-content-inner" };
|
|
17029
|
+
const _hoisted_6$7 = ["href"];
|
|
17030
|
+
const _hoisted_7$6 = { class: "announce-handle-wrapper" };
|
|
17031
17031
|
const ANNOUNCE_STATUS_KEY = "site_announcement_status";
|
|
17032
|
-
const _sfc_main$
|
|
17032
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
17033
17033
|
...{ name: "SiteAnnouncement" },
|
|
17034
17034
|
__name: "SiteAnnouncement",
|
|
17035
17035
|
setup(__props) {
|
|
@@ -17077,7 +17077,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17077
17077
|
class: normalizeClass(["announce-wrapper", { mobile: unref(isMobile) }])
|
|
17078
17078
|
}, [
|
|
17079
17079
|
unref(isMobile) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
17080
|
-
createElementVNode("div", _hoisted_1$
|
|
17080
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
17081
17081
|
createElementVNode("div", null, [
|
|
17082
17082
|
createVNode(GIcon, {
|
|
17083
17083
|
name: "gt-plane-warningCircular-blue",
|
|
@@ -17087,11 +17087,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17087
17087
|
]),
|
|
17088
17088
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.content")), 1)
|
|
17089
17089
|
]),
|
|
17090
|
-
createElementVNode("div", _hoisted_2$
|
|
17090
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
17091
17091
|
createElementVNode("a", {
|
|
17092
17092
|
class: "announce-detail",
|
|
17093
17093
|
href: migrationAnnounceUrl.value
|
|
17094
|
-
}, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail_mobile")), 9, _hoisted_3$
|
|
17094
|
+
}, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail_mobile")), 9, _hoisted_3$g),
|
|
17095
17095
|
createElementVNode("span", {
|
|
17096
17096
|
class: "announce-handle",
|
|
17097
17097
|
onClick: _cache[0] || (_cache[0] = ($event) => handleClose())
|
|
@@ -17099,7 +17099,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17099
17099
|
])
|
|
17100
17100
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
17101
17101
|
createElementVNode("div", _hoisted_4$b, [
|
|
17102
|
-
createElementVNode("div", _hoisted_5$
|
|
17102
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
17103
17103
|
createVNode(GIcon, {
|
|
17104
17104
|
name: "gt-plane-warningCircular-blue",
|
|
17105
17105
|
size: "16",
|
|
@@ -17109,10 +17109,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17109
17109
|
createElementVNode("a", {
|
|
17110
17110
|
class: "announce-detail",
|
|
17111
17111
|
href: migrationAnnounceUrl.value
|
|
17112
|
-
}, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail")), 9, _hoisted_6$
|
|
17112
|
+
}, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail")), 9, _hoisted_6$7)
|
|
17113
17113
|
])
|
|
17114
17114
|
]),
|
|
17115
|
-
createElementVNode("div", _hoisted_7$
|
|
17115
|
+
createElementVNode("div", _hoisted_7$6, [
|
|
17116
17116
|
createElementVNode("span", {
|
|
17117
17117
|
class: "announce-handle",
|
|
17118
17118
|
onClick: _cache[1] || (_cache[1] = ($event) => handleClose())
|
|
@@ -17123,7 +17123,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17123
17123
|
};
|
|
17124
17124
|
}
|
|
17125
17125
|
});
|
|
17126
|
-
const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17126
|
+
const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
17127
17127
|
const vElementExposure = {
|
|
17128
17128
|
mounted(el, binding) {
|
|
17129
17129
|
const observer = new IntersectionObserver(function(entries2, observer2) {
|
|
@@ -17147,7 +17147,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17147
17147
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17148
17148
|
}
|
|
17149
17149
|
};
|
|
17150
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17150
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-BdGYpMTQ.js"));
|
|
17151
17151
|
function clearNotice() {
|
|
17152
17152
|
if (localStorage$2.getItem("validator_email")) {
|
|
17153
17153
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17174,21 +17174,21 @@ function useNotification() {
|
|
|
17174
17174
|
notice
|
|
17175
17175
|
};
|
|
17176
17176
|
}
|
|
17177
|
-
const _hoisted_1$
|
|
17178
|
-
const _hoisted_2$
|
|
17179
|
-
const _hoisted_3$
|
|
17177
|
+
const _hoisted_1$l = { class: "g-toolbar-left allow-click-stop" };
|
|
17178
|
+
const _hoisted_2$g = { key: 0 };
|
|
17179
|
+
const _hoisted_3$f = {
|
|
17180
17180
|
key: 1,
|
|
17181
17181
|
class: "search-avatar"
|
|
17182
17182
|
};
|
|
17183
17183
|
const _hoisted_4$a = { class: "g-toolbar-right__claim-row" };
|
|
17184
|
-
const _hoisted_5$
|
|
17184
|
+
const _hoisted_5$7 = {
|
|
17185
17185
|
key: 1,
|
|
17186
17186
|
class: "g-header-body"
|
|
17187
17187
|
};
|
|
17188
|
-
const _hoisted_6$
|
|
17189
|
-
const _hoisted_7$
|
|
17190
|
-
const _hoisted_8$
|
|
17191
|
-
const _sfc_main$
|
|
17188
|
+
const _hoisted_6$6 = { class: "g-header-body-left" };
|
|
17189
|
+
const _hoisted_7$5 = { class: "g-header-body-right" };
|
|
17190
|
+
const _hoisted_8$5 = { key: 2 };
|
|
17191
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
17192
17192
|
...{
|
|
17193
17193
|
name: "GitCodeHeader"
|
|
17194
17194
|
},
|
|
@@ -17625,7 +17625,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17625
17625
|
class: "g-toolbar allow-click-stop",
|
|
17626
17626
|
onClick: withModifiers(handleToolbarClick, ["stop"])
|
|
17627
17627
|
}, [
|
|
17628
|
-
createElementVNode("div", _hoisted_1$
|
|
17628
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
17629
17629
|
createElementVNode("div", {
|
|
17630
17630
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
17631
17631
|
}, ["stop"])),
|
|
@@ -17675,10 +17675,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17675
17675
|
}, 8, ["scene", "isLogin", "errorCode", "orgProps", "repoProps", "userProps"])) : createCommentVNode("", true)
|
|
17676
17676
|
], 2)) : createCommentVNode("", true)
|
|
17677
17677
|
]),
|
|
17678
|
-
_ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
17678
|
+
_ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
17679
17679
|
renderSlot(_ctx.$slots, "headerMiddleRight", {}, void 0, true)
|
|
17680
17680
|
])) : createCommentVNode("", true),
|
|
17681
|
-
!inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
17681
|
+
!inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
17682
17682
|
isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
|
|
17683
17683
|
(openBlock(), createBlock(Search, {
|
|
17684
17684
|
inAIHub: inAIHub.value,
|
|
@@ -17759,17 +17759,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17759
17759
|
])), [
|
|
17760
17760
|
[unref(vElementExposure), { trigger: (type) => handleToolbarExpo() }]
|
|
17761
17761
|
]),
|
|
17762
|
-
_ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
17762
|
+
_ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
17763
17763
|
renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
|
|
17764
|
-
createElementVNode("div", _hoisted_6$
|
|
17764
|
+
createElementVNode("div", _hoisted_6$6, [
|
|
17765
17765
|
renderSlot(_ctx.$slots, "info", {}, void 0, true)
|
|
17766
17766
|
]),
|
|
17767
|
-
createElementVNode("div", _hoisted_7$
|
|
17767
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
17768
17768
|
renderSlot(_ctx.$slots, "menu", {}, void 0, true)
|
|
17769
17769
|
])
|
|
17770
17770
|
], true)
|
|
17771
17771
|
])) : createCommentVNode("", true),
|
|
17772
|
-
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
17772
|
+
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
|
|
17773
17773
|
renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
|
|
17774
17774
|
])) : createCommentVNode("", true)
|
|
17775
17775
|
], 6)
|
|
@@ -17777,22 +17777,22 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17777
17777
|
};
|
|
17778
17778
|
}
|
|
17779
17779
|
});
|
|
17780
|
-
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17781
|
-
const _hoisted_1$
|
|
17782
|
-
const _hoisted_2$
|
|
17783
|
-
const _hoisted_3$
|
|
17780
|
+
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
17781
|
+
const _hoisted_1$k = { class: "g-toolbar allow-click-stop" };
|
|
17782
|
+
const _hoisted_2$f = { class: "g-toolbar-left allow-click-stop" };
|
|
17783
|
+
const _hoisted_3$e = { class: "g-toolbar-custom" };
|
|
17784
17784
|
const _hoisted_4$9 = { class: "enterprise-name" };
|
|
17785
|
-
const _hoisted_5$
|
|
17786
|
-
const _hoisted_6$
|
|
17787
|
-
const _hoisted_7$
|
|
17788
|
-
const _hoisted_8$
|
|
17785
|
+
const _hoisted_5$6 = { class: "enterprise-flag" };
|
|
17786
|
+
const _hoisted_6$5 = { class: "search-avatar" };
|
|
17787
|
+
const _hoisted_7$4 = { class: "g-toolbar-right allow-click-stop" };
|
|
17788
|
+
const _hoisted_8$4 = {
|
|
17789
17789
|
key: 0,
|
|
17790
17790
|
class: "g-header-body"
|
|
17791
17791
|
};
|
|
17792
|
-
const _hoisted_9$
|
|
17793
|
-
const _hoisted_10$
|
|
17794
|
-
const _hoisted_11$
|
|
17795
|
-
const _sfc_main$
|
|
17792
|
+
const _hoisted_9$4 = { class: "g-header-body-left" };
|
|
17793
|
+
const _hoisted_10$4 = { class: "g-header-body-right" };
|
|
17794
|
+
const _hoisted_11$4 = { key: 1 };
|
|
17795
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
17796
17796
|
...{
|
|
17797
17797
|
name: "EnterpriseHeader"
|
|
17798
17798
|
},
|
|
@@ -18013,10 +18013,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18013
18013
|
class: normalizeClass(["g-header allow-click-stop", [showHeaderShadow.value ? "head-shadow" : "", _ctx.headerBorder ? "oldBorder" : "", headerClassName.value]])
|
|
18014
18014
|
}, [
|
|
18015
18015
|
createVNode(SiteAnnouncement),
|
|
18016
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
18017
|
-
createElementVNode("div", _hoisted_2$
|
|
18018
|
-
createElementVNode("div", _hoisted_3$
|
|
18019
|
-
createVNode(_sfc_main$
|
|
18016
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
18017
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
18018
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
18019
|
+
createVNode(_sfc_main$H, {
|
|
18020
18020
|
src: (_a2 = _ctx.enterpriseInfo) == null ? void 0 : _a2.avatar,
|
|
18021
18021
|
name: (_b = _ctx.enterpriseInfo) == null ? void 0 : _b.name,
|
|
18022
18022
|
isRound: false,
|
|
@@ -18025,10 +18025,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18025
18025
|
class: "enterprise-avatar"
|
|
18026
18026
|
}, null, 8, ["src", "name"]),
|
|
18027
18027
|
createElementVNode("span", _hoisted_4$9, toDisplayString$1((_c = _ctx.enterpriseInfo) == null ? void 0 : _c.name), 1),
|
|
18028
|
-
createElementVNode("span", _hoisted_5$
|
|
18028
|
+
createElementVNode("span", _hoisted_5$6, toDisplayString$1(unref(t2)("gitCodeLayout.header.enterpriseFlag")), 1)
|
|
18029
18029
|
])
|
|
18030
18030
|
]),
|
|
18031
|
-
createElementVNode("div", _hoisted_6$
|
|
18031
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
18032
18032
|
isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
|
|
18033
18033
|
(openBlock(), createBlock(Search, {
|
|
18034
18034
|
inAIHub: false,
|
|
@@ -18046,7 +18046,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18046
18046
|
}, 8, ["sceneValue"]))
|
|
18047
18047
|
], true) : createCommentVNode("", true)
|
|
18048
18048
|
]),
|
|
18049
|
-
createElementVNode("div", _hoisted_7$
|
|
18049
|
+
createElementVNode("div", _hoisted_7$4, [
|
|
18050
18050
|
!_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18051
18051
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18052
18052
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
@@ -18119,17 +18119,17 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18119
18119
|
])), [
|
|
18120
18120
|
[unref(vElementExposure), { trigger: (type) => handleToolbarExpo() }]
|
|
18121
18121
|
]),
|
|
18122
|
-
_ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
18122
|
+
_ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
|
|
18123
18123
|
renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
|
|
18124
|
-
createElementVNode("div", _hoisted_9$
|
|
18124
|
+
createElementVNode("div", _hoisted_9$4, [
|
|
18125
18125
|
renderSlot(_ctx.$slots, "info", {}, void 0, true)
|
|
18126
18126
|
]),
|
|
18127
|
-
createElementVNode("div", _hoisted_10$
|
|
18127
|
+
createElementVNode("div", _hoisted_10$4, [
|
|
18128
18128
|
renderSlot(_ctx.$slots, "menu", {}, void 0, true)
|
|
18129
18129
|
])
|
|
18130
18130
|
], true)
|
|
18131
18131
|
])) : createCommentVNode("", true),
|
|
18132
|
-
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_11$
|
|
18132
|
+
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_11$4, [
|
|
18133
18133
|
renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
|
|
18134
18134
|
])) : createCommentVNode("", true)
|
|
18135
18135
|
], 2)
|
|
@@ -18137,7 +18137,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18137
18137
|
};
|
|
18138
18138
|
}
|
|
18139
18139
|
});
|
|
18140
|
-
const EnterpriseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18140
|
+
const EnterpriseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18141
18141
|
const layoutConfig$1 = useLayoutConfig();
|
|
18142
18142
|
const useConfigSide = (request, sceneValue) => {
|
|
18143
18143
|
const API = asideRequest(request);
|
|
@@ -18342,9 +18342,9 @@ var SearchType = /* @__PURE__ */ ((SearchType2) => {
|
|
|
18342
18342
|
SearchType2[SearchType2["Enterprise"] = 3] = "Enterprise";
|
|
18343
18343
|
return SearchType2;
|
|
18344
18344
|
})(SearchType || {});
|
|
18345
|
-
const _hoisted_1$
|
|
18346
|
-
const _hoisted_2$
|
|
18347
|
-
const _sfc_main$
|
|
18345
|
+
const _hoisted_1$j = { class: "area" };
|
|
18346
|
+
const _hoisted_2$e = { class: "area__layout-slot" };
|
|
18347
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
18348
18348
|
__name: "Area",
|
|
18349
18349
|
props: {
|
|
18350
18350
|
list: {},
|
|
@@ -18357,9 +18357,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18357
18357
|
const layoutConfig2 = useLayoutConfig();
|
|
18358
18358
|
const { t: t2 } = i18n.global;
|
|
18359
18359
|
const route = useRoute();
|
|
18360
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18361
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18362
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18360
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-8aGiYVO8.js"));
|
|
18361
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DqVDFCK3.js"));
|
|
18362
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-B1ELNtOR.js"));
|
|
18363
18363
|
const props = __props;
|
|
18364
18364
|
const useReport2 = inject("useReport");
|
|
18365
18365
|
const userInfo = inject("userInfo");
|
|
@@ -18564,7 +18564,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18564
18564
|
window.open(url, openMode);
|
|
18565
18565
|
};
|
|
18566
18566
|
return (_ctx, _cache) => {
|
|
18567
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18567
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
18568
18568
|
createVNode(unref(Menu), {
|
|
18569
18569
|
class: "menu",
|
|
18570
18570
|
onSelect: onMenuClick,
|
|
@@ -18590,7 +18590,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18590
18590
|
return {
|
|
18591
18591
|
name: key,
|
|
18592
18592
|
fn: withCtx(() => [
|
|
18593
|
-
createElementVNode("div", _hoisted_2$
|
|
18593
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
18594
18594
|
createVNode(unref(Menu), {
|
|
18595
18595
|
class: "menu",
|
|
18596
18596
|
onSelect: onMenuClick,
|
|
@@ -18618,11 +18618,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18618
18618
|
};
|
|
18619
18619
|
}
|
|
18620
18620
|
});
|
|
18621
|
-
const Area = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18622
|
-
const _hoisted_1$
|
|
18623
|
-
const _hoisted_2$
|
|
18624
|
-
const _hoisted_3$
|
|
18625
|
-
const _sfc_main$
|
|
18621
|
+
const Area = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18622
|
+
const _hoisted_1$i = { class: "tools-item-wrapper" };
|
|
18623
|
+
const _hoisted_2$d = { class: "tools-item-wrapper-checkbox" };
|
|
18624
|
+
const _hoisted_3$d = ["onClick", "title"];
|
|
18625
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18626
18626
|
__name: "Theme",
|
|
18627
18627
|
setup(__props) {
|
|
18628
18628
|
const { t: t2 } = i18n.global;
|
|
@@ -18647,9 +18647,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18647
18647
|
setTheme(activeTheme.value);
|
|
18648
18648
|
};
|
|
18649
18649
|
return (_ctx, _cache) => {
|
|
18650
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18650
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
18651
18651
|
createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.theme")), 1),
|
|
18652
|
-
createElementVNode("div", _hoisted_2$
|
|
18652
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
18653
18653
|
(openBlock(true), createElementBlock(Fragment, null, renderList(themeList.value, (item) => {
|
|
18654
18654
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
18655
18655
|
key: item.value
|
|
@@ -18664,17 +18664,17 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18664
18664
|
color: "var(--theme-icon-fill-weak)",
|
|
18665
18665
|
class: "checkbox-item-icon"
|
|
18666
18666
|
}, null, 8, ["name"])
|
|
18667
|
-
], 16, _hoisted_3$
|
|
18667
|
+
], 16, _hoisted_3$d);
|
|
18668
18668
|
}), 128))
|
|
18669
18669
|
])
|
|
18670
18670
|
]);
|
|
18671
18671
|
};
|
|
18672
18672
|
}
|
|
18673
18673
|
});
|
|
18674
|
-
const _hoisted_1$
|
|
18675
|
-
const _hoisted_2$
|
|
18676
|
-
const _hoisted_3$
|
|
18677
|
-
const _sfc_main$
|
|
18674
|
+
const _hoisted_1$h = { class: "settings__label" };
|
|
18675
|
+
const _hoisted_2$c = { class: "aside-footer-tools-item-dropdown-item" };
|
|
18676
|
+
const _hoisted_3$c = { class: "aside-footer-tools-item-dropdown-item" };
|
|
18677
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
18678
18678
|
__name: "Settings",
|
|
18679
18679
|
props: {
|
|
18680
18680
|
showThemeSetting: { type: Boolean },
|
|
@@ -18690,13 +18690,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18690
18690
|
"overlay-class": "footer-tools-setting-dropdown"
|
|
18691
18691
|
}, {
|
|
18692
18692
|
menu: withCtx(() => [
|
|
18693
|
-
withDirectives(createElementVNode("div", _hoisted_2$
|
|
18694
|
-
createVNode(_sfc_main$
|
|
18693
|
+
withDirectives(createElementVNode("div", _hoisted_2$c, [
|
|
18694
|
+
createVNode(_sfc_main$l)
|
|
18695
18695
|
], 512), [
|
|
18696
18696
|
[vShow, _ctx.showThemeSetting]
|
|
18697
18697
|
]),
|
|
18698
|
-
withDirectives(createElementVNode("div", _hoisted_3$
|
|
18699
|
-
createVNode(_sfc_main$
|
|
18698
|
+
withDirectives(createElementVNode("div", _hoisted_3$c, [
|
|
18699
|
+
createVNode(_sfc_main$v)
|
|
18700
18700
|
], 512), [
|
|
18701
18701
|
[vShow, _ctx.showLangSetting]
|
|
18702
18702
|
])
|
|
@@ -18715,7 +18715,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18715
18715
|
size: "16",
|
|
18716
18716
|
class: "active-icon settings__icon-min"
|
|
18717
18717
|
}),
|
|
18718
|
-
createElementVNode("span", _hoisted_1$
|
|
18718
|
+
createElementVNode("span", _hoisted_1$h, toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.preSettingLittle")), 1)
|
|
18719
18719
|
], 2)
|
|
18720
18720
|
]),
|
|
18721
18721
|
_: 1
|
|
@@ -18723,9 +18723,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18723
18723
|
};
|
|
18724
18724
|
}
|
|
18725
18725
|
});
|
|
18726
|
-
const Settings = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18726
|
+
const Settings = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18727
18727
|
const FEEDBACK_CENTER_URL = "https://gitcode.com/Gitcode-offical-team/GitCode-Docs/issues";
|
|
18728
|
-
const _sfc_main$
|
|
18728
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
18729
18729
|
__name: "SubMenuList",
|
|
18730
18730
|
setup(__props) {
|
|
18731
18731
|
const layoutConfig2 = useLayoutConfig();
|
|
@@ -18780,7 +18780,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18780
18780
|
};
|
|
18781
18781
|
}
|
|
18782
18782
|
});
|
|
18783
|
-
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18783
|
+
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18784
18784
|
const createSetting = () => {
|
|
18785
18785
|
const { t: t2 } = i18n.global;
|
|
18786
18786
|
const isGitCodeHost2 = typeof window !== "undefined" && window.location.hostname.includes("gitcode");
|
|
@@ -18820,29 +18820,29 @@ const createSetting = () => {
|
|
|
18820
18820
|
}
|
|
18821
18821
|
return settings;
|
|
18822
18822
|
};
|
|
18823
|
-
const _hoisted_1$
|
|
18824
|
-
const _hoisted_2$
|
|
18825
|
-
const _hoisted_3$
|
|
18823
|
+
const _hoisted_1$g = { class: "aside-footer" };
|
|
18824
|
+
const _hoisted_2$b = { class: "remake-message" };
|
|
18825
|
+
const _hoisted_3$b = ["title"];
|
|
18826
18826
|
const _hoisted_4$8 = { class: "remake-message__line" };
|
|
18827
|
-
const _hoisted_5$
|
|
18827
|
+
const _hoisted_5$5 = {
|
|
18828
18828
|
href: "https://beian.miit.gov.cn/#/Integrated/index",
|
|
18829
18829
|
target: "_blank"
|
|
18830
18830
|
};
|
|
18831
|
-
const _hoisted_6$
|
|
18831
|
+
const _hoisted_6$4 = {
|
|
18832
18832
|
key: 0,
|
|
18833
18833
|
class: "remake-message__line public-security"
|
|
18834
18834
|
};
|
|
18835
|
-
const _hoisted_7$
|
|
18836
|
-
const _hoisted_8$
|
|
18835
|
+
const _hoisted_7$3 = ["href"];
|
|
18836
|
+
const _hoisted_8$3 = {
|
|
18837
18837
|
href: "https://www.huaweicloud.com/",
|
|
18838
18838
|
target: "_blank",
|
|
18839
18839
|
rel: "noopener noreferrer"
|
|
18840
18840
|
};
|
|
18841
|
-
const _hoisted_9$
|
|
18842
|
-
const _hoisted_10$
|
|
18843
|
-
const _hoisted_11$
|
|
18844
|
-
const _hoisted_12$
|
|
18845
|
-
const _sfc_main$
|
|
18841
|
+
const _hoisted_9$3 = { class: "contact-info__about-row" };
|
|
18842
|
+
const _hoisted_10$3 = { class: "footer-work-info" };
|
|
18843
|
+
const _hoisted_11$3 = { class: "footer-work-info__item footer-work-info__item--mt" };
|
|
18844
|
+
const _hoisted_12$3 = { class: "" };
|
|
18845
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
18846
18846
|
__name: "ContactInfo",
|
|
18847
18847
|
setup(__props) {
|
|
18848
18848
|
const { t: t2 } = i18n.global;
|
|
@@ -18852,21 +18852,21 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18852
18852
|
return getLocaleLang() === LANG_EN;
|
|
18853
18853
|
});
|
|
18854
18854
|
return (_ctx, _cache) => {
|
|
18855
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18856
|
-
createElementVNode("div", _hoisted_2$
|
|
18855
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
18856
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
18857
18857
|
createElementVNode("p", {
|
|
18858
18858
|
class: "remake-message__line remake-message__line--break",
|
|
18859
18859
|
title: unref(copyright).digestAbbr
|
|
18860
|
-
}, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$
|
|
18860
|
+
}, " © " + toDisplayString$1(unref(copyright).digestAbbr), 9, _hoisted_3$b),
|
|
18861
18861
|
createElementVNode("p", _hoisted_4$8, [
|
|
18862
|
-
createElementVNode("a", _hoisted_5$
|
|
18862
|
+
createElementVNode("a", _hoisted_5$5, toDisplayString$1(unref(copyright).icp), 1)
|
|
18863
18863
|
]),
|
|
18864
|
-
unref(copyright).publicSecurity_url ? (openBlock(), createElementBlock("p", _hoisted_6$
|
|
18864
|
+
unref(copyright).publicSecurity_url ? (openBlock(), createElementBlock("p", _hoisted_6$4, [
|
|
18865
18865
|
_cache[0] || (_cache[0] = createElementVNode("img", { src: "//g.csdnimg.cn/common/csdn-footer/images/badge.png" }, null, -1)),
|
|
18866
18866
|
createElementVNode("a", {
|
|
18867
18867
|
href: unref(copyright).publicSecurity_url,
|
|
18868
18868
|
target: "_blank"
|
|
18869
|
-
}, toDisplayString$1(unref(copyright).publicSecurity), 9, _hoisted_7$
|
|
18869
|
+
}, toDisplayString$1(unref(copyright).publicSecurity), 9, _hoisted_7$3)
|
|
18870
18870
|
])) : createCommentVNode("", true)
|
|
18871
18871
|
]),
|
|
18872
18872
|
createElementVNode("p", {
|
|
@@ -18879,9 +18879,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18879
18879
|
rel: "noopener noreferrer"
|
|
18880
18880
|
}, "CSDN", -1)),
|
|
18881
18881
|
_cache[2] || (_cache[2] = createTextVNode(" | ")),
|
|
18882
|
-
createElementVNode("a", _hoisted_8$
|
|
18882
|
+
createElementVNode("a", _hoisted_8$3, toDisplayString$1(unref(t2)("gitCodeLayout.home.HWCloud")), 1)
|
|
18883
18883
|
], 2),
|
|
18884
|
-
createElementVNode("p", _hoisted_9$
|
|
18884
|
+
createElementVNode("p", _hoisted_9$3, [
|
|
18885
18885
|
createVNode(GLink, {
|
|
18886
18886
|
target: "_blank",
|
|
18887
18887
|
href: unref(currentHelpDocsAboutUsUrl)()
|
|
@@ -18902,22 +18902,22 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18902
18902
|
_: 1
|
|
18903
18903
|
}, 8, ["href"])
|
|
18904
18904
|
]),
|
|
18905
|
-
createElementVNode("ul", _hoisted_10$
|
|
18905
|
+
createElementVNode("ul", _hoisted_10$3, [
|
|
18906
18906
|
_cache[4] || (_cache[4] = createElementVNode("li", { class: "footer-work-info__item" }, [
|
|
18907
18907
|
createElementVNode("span", { class: "" }, "400-6868-951")
|
|
18908
18908
|
], -1)),
|
|
18909
|
-
createElementVNode("li", _hoisted_11$
|
|
18910
|
-
createElementVNode("span", _hoisted_12$
|
|
18909
|
+
createElementVNode("li", _hoisted_11$3, [
|
|
18910
|
+
createElementVNode("span", _hoisted_12$3, "9:00-18:00 (" + toDisplayString$1(unref(t2)("gitCodeLayout.home.onWeekdays")) + ")", 1)
|
|
18911
18911
|
])
|
|
18912
18912
|
])
|
|
18913
18913
|
]);
|
|
18914
18914
|
};
|
|
18915
18915
|
}
|
|
18916
18916
|
});
|
|
18917
|
-
const ContactInfo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18918
|
-
const _hoisted_1$
|
|
18919
|
-
const _hoisted_2$
|
|
18920
|
-
const _hoisted_3$
|
|
18917
|
+
const ContactInfo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18918
|
+
const _hoisted_1$f = { class: "config-aside__main" };
|
|
18919
|
+
const _hoisted_2$a = { key: 0 };
|
|
18920
|
+
const _hoisted_3$a = {
|
|
18921
18921
|
key: 1,
|
|
18922
18922
|
class: "aside-menus"
|
|
18923
18923
|
};
|
|
@@ -18925,7 +18925,7 @@ const _hoisted_4$7 = {
|
|
|
18925
18925
|
key: 1,
|
|
18926
18926
|
class: "line line--mt"
|
|
18927
18927
|
};
|
|
18928
|
-
const _sfc_main$
|
|
18928
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
18929
18929
|
__name: "configAideContent",
|
|
18930
18930
|
props: {
|
|
18931
18931
|
sceneValue: { default: SceneValue.home },
|
|
@@ -19060,18 +19060,18 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19060
19060
|
createElementVNode("div", {
|
|
19061
19061
|
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": _ctx.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
19062
19062
|
}, [
|
|
19063
|
-
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
19063
|
+
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
19064
19064
|
createElementVNode("div", {
|
|
19065
19065
|
class: normalizeClass(["scroll-content config-aside__scroll", { scroll: isScroll.value }]),
|
|
19066
19066
|
onScroll: handleScroll,
|
|
19067
19067
|
onMouseleave: handleMouseLeave
|
|
19068
19068
|
}, [
|
|
19069
|
-
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
19069
|
+
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
19070
19070
|
createVNode(unref(Skeleton), {
|
|
19071
19071
|
loading: unref(sideLoading),
|
|
19072
19072
|
row: 4
|
|
19073
19073
|
}, null, 8, ["loading"])
|
|
19074
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
19074
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
19075
19075
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayArea.value, (item, index2) => {
|
|
19076
19076
|
return openBlock(), createElementBlock(Fragment, {
|
|
19077
19077
|
key: item.id
|
|
@@ -19135,9 +19135,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19135
19135
|
};
|
|
19136
19136
|
}
|
|
19137
19137
|
});
|
|
19138
|
-
const ConfigAideContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19139
|
-
const _hoisted_1$
|
|
19140
|
-
const _sfc_main$
|
|
19138
|
+
const ConfigAideContent = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19139
|
+
const _hoisted_1$e = { class: "aside-drawer-header" };
|
|
19140
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
19141
19141
|
__name: "index",
|
|
19142
19142
|
props: {
|
|
19143
19143
|
sceneValue: { default: SceneValue.home },
|
|
@@ -19316,7 +19316,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19316
19316
|
class: "draw-side-bar"
|
|
19317
19317
|
}, {
|
|
19318
19318
|
default: withCtx(() => [
|
|
19319
|
-
createElementVNode("div", _hoisted_1$
|
|
19319
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
19320
19320
|
createVNode(GLink, {
|
|
19321
19321
|
class: "g-toolbar-left-logo",
|
|
19322
19322
|
style: normalizeStyle(logoStyle.value),
|
|
@@ -19347,7 +19347,59 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19347
19347
|
};
|
|
19348
19348
|
}
|
|
19349
19349
|
});
|
|
19350
|
-
const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19350
|
+
const GitCodeAside = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19351
|
+
const _hoisted_1$d = { class: "aside-footer-tools-item" };
|
|
19352
|
+
const _hoisted_2$9 = { class: "aside-footer-tools-item-dropdown-item" };
|
|
19353
|
+
const _hoisted_3$9 = { class: "aside-footer-tools-item-dropdown-item" };
|
|
19354
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
19355
|
+
...{ name: "AsideFooterTools" },
|
|
19356
|
+
__name: "index",
|
|
19357
|
+
props: {
|
|
19358
|
+
showThemeSetting: { type: Boolean, default: true },
|
|
19359
|
+
showLangSetting: { type: Boolean, default: true },
|
|
19360
|
+
position: { default: () => ["bottom-end"] }
|
|
19361
|
+
},
|
|
19362
|
+
setup(__props) {
|
|
19363
|
+
const { t: t2 } = i18n.global;
|
|
19364
|
+
return (_ctx, _cache) => {
|
|
19365
|
+
return openBlock(), createBlock(unref(Dropdown), {
|
|
19366
|
+
position: _ctx.position,
|
|
19367
|
+
align: "end",
|
|
19368
|
+
"overlay-class": "footer-tools-setting-dropdown"
|
|
19369
|
+
}, {
|
|
19370
|
+
menu: withCtx(() => [
|
|
19371
|
+
withDirectives(createElementVNode("div", _hoisted_2$9, [
|
|
19372
|
+
createVNode(_sfc_main$l)
|
|
19373
|
+
], 512), [
|
|
19374
|
+
[vShow, _ctx.showThemeSetting]
|
|
19375
|
+
]),
|
|
19376
|
+
withDirectives(createElementVNode("div", _hoisted_3$9, [
|
|
19377
|
+
createVNode(_sfc_main$v)
|
|
19378
|
+
], 512), [
|
|
19379
|
+
[vShow, _ctx.showLangSetting]
|
|
19380
|
+
])
|
|
19381
|
+
]),
|
|
19382
|
+
default: withCtx(() => [
|
|
19383
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
19384
|
+
createVNode(GIcon, {
|
|
19385
|
+
name: "gt-line-setting",
|
|
19386
|
+
size: "16",
|
|
19387
|
+
class: "default-icon aside-footer-tools__icon-min"
|
|
19388
|
+
}),
|
|
19389
|
+
createVNode(GIcon, {
|
|
19390
|
+
name: "gt-line-setting",
|
|
19391
|
+
size: "16",
|
|
19392
|
+
class: "active-icon aside-footer-tools__icon-min"
|
|
19393
|
+
}),
|
|
19394
|
+
createTextVNode(" " + toDisplayString$1(unref(t2)("gitCodeLayout.common.footerSetting.preSetting")), 1)
|
|
19395
|
+
])
|
|
19396
|
+
]),
|
|
19397
|
+
_: 1
|
|
19398
|
+
}, 8, ["position"]);
|
|
19399
|
+
};
|
|
19400
|
+
}
|
|
19401
|
+
});
|
|
19402
|
+
const AsideFooterTools = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19351
19403
|
const repoInfoData = {
|
|
19352
19404
|
"star_count": 0,
|
|
19353
19405
|
"forks_count": 0,
|
|
@@ -20058,6 +20110,17 @@ const _hoisted_1$c = { class: "home-wrapper" };
|
|
|
20058
20110
|
const _hoisted_2$8 = { class: "home-content" };
|
|
20059
20111
|
const _hoisted_3$8 = { class: "home-left-side" };
|
|
20060
20112
|
const _hoisted_4$6 = { class: "home-main" };
|
|
20113
|
+
const _hoisted_5$4 = { class: "afd-demo" };
|
|
20114
|
+
const _hoisted_6$3 = { class: "afd-demo-card" };
|
|
20115
|
+
const _hoisted_7$2 = { class: "afd-demo-card-body" };
|
|
20116
|
+
const _hoisted_8$2 = { class: "afd-demo-card" };
|
|
20117
|
+
const _hoisted_9$2 = { class: "afd-demo-card-body afd-demo-card-body--tall" };
|
|
20118
|
+
const _hoisted_10$2 = { class: "afd-demo-bottom-slot" };
|
|
20119
|
+
const _hoisted_11$2 = { class: "afd-demo-card" };
|
|
20120
|
+
const _hoisted_12$2 = { class: "afd-demo-card-body" };
|
|
20121
|
+
const _hoisted_13$1 = { class: "afd-demo-card" };
|
|
20122
|
+
const _hoisted_14$1 = { class: "afd-demo-card-body" };
|
|
20123
|
+
const _hoisted_15$1 = { class: "afd-demo-hosted-box" };
|
|
20061
20124
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
20062
20125
|
__name: "home",
|
|
20063
20126
|
setup(__props) {
|
|
@@ -20190,7 +20253,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20190
20253
|
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"])
|
|
20191
20254
|
]),
|
|
20192
20255
|
createElementVNode("div", _hoisted_4$6, [
|
|
20193
|
-
_cache[
|
|
20256
|
+
_cache[13] || (_cache[13] = createElementVNode("h1", null, "控制Header 切换", -1)),
|
|
20194
20257
|
createVNode(unref(RadioGroup), {
|
|
20195
20258
|
direction: "row",
|
|
20196
20259
|
modelValue: showCommonHeader.value,
|
|
@@ -20220,8 +20283,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20220
20283
|
]),
|
|
20221
20284
|
_: 1
|
|
20222
20285
|
}, 8, ["modelValue"]),
|
|
20223
|
-
_cache[
|
|
20224
|
-
_cache[
|
|
20286
|
+
_cache[14] || (_cache[14] = createElementVNode("hr", { class: "home-divider" }, null, -1)),
|
|
20287
|
+
_cache[15] || (_cache[15] = createElementVNode("h1", { class: "home-section-title" }, "场景值 SceneValue 传入", -1)),
|
|
20225
20288
|
createVNode(unref(RadioGroup), {
|
|
20226
20289
|
direction: "row",
|
|
20227
20290
|
modelValue: sceneSelected.value,
|
|
@@ -20243,8 +20306,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20243
20306
|
]),
|
|
20244
20307
|
_: 1
|
|
20245
20308
|
}, 8, ["modelValue"]),
|
|
20246
|
-
_cache[
|
|
20247
|
-
_cache[
|
|
20309
|
+
_cache[16] || (_cache[16] = createElementVNode("hr", { class: "home-divider" }, null, -1)),
|
|
20310
|
+
_cache[17] || (_cache[17] = createElementVNode("h2", { class: "home-subsection-title" }, "是否独立部署", -1)),
|
|
20248
20311
|
createVNode(unref(RadioGroup), {
|
|
20249
20312
|
direction: "row",
|
|
20250
20313
|
modelValue: independence.value,
|
|
@@ -20273,7 +20336,40 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20273
20336
|
}))
|
|
20274
20337
|
]),
|
|
20275
20338
|
_: 1
|
|
20276
|
-
}, 8, ["modelValue"])
|
|
20339
|
+
}, 8, ["modelValue"]),
|
|
20340
|
+
_cache[18] || (_cache[18] = createElementVNode("hr", { class: "home-divider" }, null, -1)),
|
|
20341
|
+
_cache[19] || (_cache[19] = createElementVNode("h1", { class: "home-section-title" }, "AsideFooterTools 独立组件 demo", -1)),
|
|
20342
|
+
_cache[20] || (_cache[20] = createElementVNode("p", { class: "home-demo-desc" }, " 单独暴露的偏好设置组件,脱离 Aside 使用,宿主自定义位置/宽度。 ", -1)),
|
|
20343
|
+
createElementVNode("div", _hoisted_5$4, [
|
|
20344
|
+
createElementVNode("div", _hoisted_6$3, [
|
|
20345
|
+
_cache[9] || (_cache[9] = createElementVNode("div", { class: "afd-demo-card-title" }, "1. 默认(下拉向下展开)", -1)),
|
|
20346
|
+
createElementVNode("div", _hoisted_7$2, [
|
|
20347
|
+
createVNode(AsideFooterTools)
|
|
20348
|
+
])
|
|
20349
|
+
]),
|
|
20350
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
20351
|
+
_cache[10] || (_cache[10] = createElementVNode("div", { class: "afd-demo-card-title" }, " 2. position=['top-end'](放在页面底部时用,向上展开) ", -1)),
|
|
20352
|
+
createElementVNode("div", _hoisted_9$2, [
|
|
20353
|
+
createElementVNode("div", _hoisted_10$2, [
|
|
20354
|
+
createVNode(AsideFooterTools, { position: ["top-end"] })
|
|
20355
|
+
])
|
|
20356
|
+
])
|
|
20357
|
+
]),
|
|
20358
|
+
createElementVNode("div", _hoisted_11$2, [
|
|
20359
|
+
_cache[11] || (_cache[11] = createElementVNode("div", { class: "afd-demo-card-title" }, "3. 只显示主题设置", -1)),
|
|
20360
|
+
createElementVNode("div", _hoisted_12$2, [
|
|
20361
|
+
createVNode(AsideFooterTools, { "show-lang-setting": false })
|
|
20362
|
+
])
|
|
20363
|
+
]),
|
|
20364
|
+
createElementVNode("div", _hoisted_13$1, [
|
|
20365
|
+
_cache[12] || (_cache[12] = createElementVNode("div", { class: "afd-demo-card-title" }, "4. 宿主自控宽度(限 300px + 边框)", -1)),
|
|
20366
|
+
createElementVNode("div", _hoisted_14$1, [
|
|
20367
|
+
createElementVNode("div", _hoisted_15$1, [
|
|
20368
|
+
createVNode(AsideFooterTools)
|
|
20369
|
+
])
|
|
20370
|
+
])
|
|
20371
|
+
])
|
|
20372
|
+
])
|
|
20277
20373
|
])
|
|
20278
20374
|
]),
|
|
20279
20375
|
createVNode(ToolsFloat, {
|
|
@@ -24825,7 +24921,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
24825
24921
|
__publicField(_SlidCaptchaManager, "instance");
|
|
24826
24922
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
24827
24923
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
24828
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24924
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BSsLr4S4.js"));
|
|
24829
24925
|
const useSlidCaptcha = () => {
|
|
24830
24926
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
24831
24927
|
const open = (config) => {
|
|
@@ -24855,7 +24951,7 @@ const useSlidCaptcha = () => {
|
|
|
24855
24951
|
close
|
|
24856
24952
|
};
|
|
24857
24953
|
};
|
|
24858
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
24954
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-Dec1tgAr.js"));
|
|
24859
24955
|
const useYunpianCaptcha = () => {
|
|
24860
24956
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
24861
24957
|
const open = (config) => {
|
|
@@ -27733,10 +27829,11 @@ const index = {
|
|
|
27733
27829
|
app.component("ToolsFloat", ToolsFloat);
|
|
27734
27830
|
app.component("GitCodeAside", GitCodeAside);
|
|
27735
27831
|
app.component("GitCodeHeader", GitCodeHeader);
|
|
27832
|
+
app.component("AsideFooterTools", AsideFooterTools);
|
|
27736
27833
|
}
|
|
27737
27834
|
};
|
|
27738
27835
|
export {
|
|
27739
|
-
|
|
27836
|
+
setTheme as $,
|
|
27740
27837
|
ThemeType as A,
|
|
27741
27838
|
currentTheme as B,
|
|
27742
27839
|
LANG_EN as C,
|
|
@@ -27747,7 +27844,7 @@ export {
|
|
|
27747
27844
|
isHttps as H,
|
|
27748
27845
|
navigateWithMigrationGuard as I,
|
|
27749
27846
|
asideRequest as J,
|
|
27750
|
-
_sfc_main$
|
|
27847
|
+
_sfc_main$H as K,
|
|
27751
27848
|
LANG_ZH as L,
|
|
27752
27849
|
loadAsideData as M,
|
|
27753
27850
|
ToolsFloat as N,
|
|
@@ -27759,12 +27856,13 @@ export {
|
|
|
27759
27856
|
TOPIC_TYPE as T,
|
|
27760
27857
|
EnterpriseHeader as U,
|
|
27761
27858
|
SiteAnnouncement as V,
|
|
27762
|
-
|
|
27763
|
-
|
|
27764
|
-
|
|
27765
|
-
|
|
27859
|
+
AsideFooterTools as W,
|
|
27860
|
+
useLogin as X,
|
|
27861
|
+
setLayoutConfig as Y,
|
|
27862
|
+
GitCodeLayoutEmitter as Z,
|
|
27766
27863
|
_export_sfc as _,
|
|
27767
27864
|
i18n as a,
|
|
27865
|
+
index as a0,
|
|
27768
27866
|
REPO_EVENT as b,
|
|
27769
27867
|
REPO_TYPE as c,
|
|
27770
27868
|
transferNumber as d,
|
|
@@ -27777,7 +27875,7 @@ export {
|
|
|
27777
27875
|
usePageResize as k,
|
|
27778
27876
|
localStorage$2 as l,
|
|
27779
27877
|
isGstarRepo as m,
|
|
27780
|
-
_sfc_main$
|
|
27878
|
+
_sfc_main$G as n,
|
|
27781
27879
|
isIncubationRepo as o,
|
|
27782
27880
|
highlightWords as p,
|
|
27783
27881
|
_frEventTrack as q,
|