vue-layout-gitcode 1.3.18 → 1.3.19
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-Bivgs3eE.js → GloabarSearch-ONS6f-IZ.js} +2 -2
- package/{ProjectSearch-DihKoxUn.js → ProjectSearch-CoMJA9ap.js} +1 -1
- package/{SearchHistoryList-CsKVa3LP.js → SearchHistoryList-DipnAOo-.js} +1 -1
- package/{SearchPrefixTag-_SwFGdMW.js → SearchPrefixTag-BZSeMX7C.js} +1 -1
- package/{SearchRecommed--tgQhVky.js → SearchRecommed-BHOx2vCC.js} +2 -2
- package/{SearchScopeList-B7g-rtZk.js → SearchScopeList-B1rFh_eG.js} +1 -1
- package/{UserSearch-CCUEwW3n.js → UserSearch-DSq_5F1q.js} +1 -1
- package/{index-CEapdIQY.js → index-BV3o4Nmw.js} +61 -53
- package/{index-DeLP5ZuC.js → index-BsQf4k-H.js} +1 -1
- package/{index-CeR5y-VD.js → index-CpMIg5X3.js} +1 -1
- package/index.js +1 -1
- package/{notice-C3yB7SLa.js → notice-HNGtx2Gz.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { inject, ref, watch, onMounted, createElementBlock, createCommentVNode, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
4
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-BV3o4Nmw.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CpMIg5X3.js";
|
|
6
6
|
const _hoisted_1 = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "px-[8px] history-list-project pl-[8px]"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, inject, computed, withDirectives, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-BV3o4Nmw.js";
|
|
3
3
|
import { useRoute, useRouter } from "vue-router";
|
|
4
4
|
import "vue-devui-lal/icon";
|
|
5
5
|
import "vue-devui-lal/icon/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, createCommentVNode, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers } from "vue";
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BV3o4Nmw.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "history-list" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, withModifiers, createVNode, vShow } from "vue";
|
|
2
|
-
import { G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { G as GIcon, _ as _export_sfc } from "./index-BV3o4Nmw.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "ellipsis" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createVNode, withCtx } from "vue";
|
|
2
|
-
import { u as useReportRepo, S as SearchRepoCard } from "./index-
|
|
3
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-CpMIg5X3.js";
|
|
3
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-BV3o4Nmw.js";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { SkeletonItem } from "vue-devui-lal/skeleton";
|
|
6
6
|
import "vue-devui-lal/grid/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, Fragment, renderList, createElementVNode, createVNode, createCommentVNode, toDisplayString, unref } from "vue";
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BV3o4Nmw.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject, ref, watch, withDirectives, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-BV3o4Nmw.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
|
|
@@ -10894,8 +10894,8 @@ const _hoisted_3$h = {
|
|
|
10894
10894
|
class: "tooltip-sign"
|
|
10895
10895
|
};
|
|
10896
10896
|
const _hoisted_4$d = { class: "home-nav-tooltip-wrapper" };
|
|
10897
|
-
const _hoisted_5$
|
|
10898
|
-
const _hoisted_6$
|
|
10897
|
+
const _hoisted_5$9 = { class: "home-nav-text" };
|
|
10898
|
+
const _hoisted_6$7 = {
|
|
10899
10899
|
key: 1,
|
|
10900
10900
|
class: "tools-list"
|
|
10901
10901
|
};
|
|
@@ -11110,7 +11110,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
11110
11110
|
}, {
|
|
11111
11111
|
content: withCtx(() => [
|
|
11112
11112
|
createElementVNode("div", _hoisted_4$d, [
|
|
11113
|
-
createElementVNode("div", _hoisted_5$
|
|
11113
|
+
createElementVNode("div", _hoisted_5$9, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
|
|
11114
11114
|
])
|
|
11115
11115
|
]),
|
|
11116
11116
|
default: withCtx(() => [
|
|
@@ -11130,7 +11130,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
11130
11130
|
]),
|
|
11131
11131
|
_: 1
|
|
11132
11132
|
})) : createCommentVNode("", true),
|
|
11133
|
-
isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
11133
|
+
isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
11134
11134
|
createVNode(unref(Tooltip), {
|
|
11135
11135
|
position: "left",
|
|
11136
11136
|
"overlay-class": "tools-tag-tooltip"
|
|
@@ -14434,8 +14434,8 @@ const _hoisted_1$s = { class: "ai-hub-menus" };
|
|
|
14434
14434
|
const _hoisted_2$j = ["href", "onMouseenter"];
|
|
14435
14435
|
const _hoisted_3$g = { class: "ai-hub-menus-item_label" };
|
|
14436
14436
|
const _hoisted_4$c = ["onMouseenter"];
|
|
14437
|
-
const _hoisted_5$
|
|
14438
|
-
const _hoisted_6$
|
|
14437
|
+
const _hoisted_5$8 = { class: "ai-hub-menus-themetablist" };
|
|
14438
|
+
const _hoisted_6$6 = { class: "w-[32px] h-[32px] flex items-center justify-center" };
|
|
14439
14439
|
const _hoisted_7$6 = { class: "flex items-center min-w-[90px] gap-[8px] font-semibold" };
|
|
14440
14440
|
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
14441
14441
|
__name: "AiHubMenus",
|
|
@@ -14528,7 +14528,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
14528
14528
|
position: ["top-start"]
|
|
14529
14529
|
}, {
|
|
14530
14530
|
menu: withCtx(() => [
|
|
14531
|
-
createElementVNode("ul", _hoisted_5$
|
|
14531
|
+
createElementVNode("ul", _hoisted_5$8, [
|
|
14532
14532
|
(openBlock(true), createElementBlock(Fragment, null, renderList(themeTablist.value, (item, index22) => {
|
|
14533
14533
|
return openBlock(), createBlock(GLink, {
|
|
14534
14534
|
key: index22,
|
|
@@ -14577,7 +14577,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
14577
14577
|
href: activeMenu.value.url
|
|
14578
14578
|
}, {
|
|
14579
14579
|
default: withCtx(() => [
|
|
14580
|
-
createElementVNode("div", _hoisted_6$
|
|
14580
|
+
createElementVNode("div", _hoisted_6$6, [
|
|
14581
14581
|
createVNode(GIcon, {
|
|
14582
14582
|
size: "18px",
|
|
14583
14583
|
name: "gt-line-down",
|
|
@@ -16420,8 +16420,8 @@ const _hoisted_2$i = {
|
|
|
16420
16420
|
};
|
|
16421
16421
|
const _hoisted_3$f = { class: "org-layout-toolbar-title flex-1 ellipsis-two-line" };
|
|
16422
16422
|
const _hoisted_4$b = { class: "text-xs" };
|
|
16423
|
-
const _hoisted_5$
|
|
16424
|
-
const _hoisted_6$
|
|
16423
|
+
const _hoisted_5$7 = { class: "flex items-center w-full" };
|
|
16424
|
+
const _hoisted_6$5 = {
|
|
16425
16425
|
key: 1,
|
|
16426
16426
|
class: "flex items-center min-w-[30px]"
|
|
16427
16427
|
};
|
|
@@ -16637,7 +16637,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
16637
16637
|
default: withCtx(() => {
|
|
16638
16638
|
var _a2, _b2, _c, _d, _e, _f, _g;
|
|
16639
16639
|
return [
|
|
16640
|
-
createElementVNode("h2", _hoisted_5$
|
|
16640
|
+
createElementVNode("h2", _hoisted_5$7, [
|
|
16641
16641
|
createVNode(GLink, {
|
|
16642
16642
|
href: (_a2 = unref(breadcrumb)[0]) == null ? void 0 : _a2.path,
|
|
16643
16643
|
class: "pr-[12px]"
|
|
@@ -16653,7 +16653,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
16653
16653
|
width: 28,
|
|
16654
16654
|
height: 28,
|
|
16655
16655
|
is_round: !isOrg.value
|
|
16656
|
-
}, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
16656
|
+
}, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
16657
16657
|
unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$5)) : (openBlock(), createElementBlock("img", _hoisted_8$5))
|
|
16658
16658
|
]))
|
|
16659
16659
|
];
|
|
@@ -17223,8 +17223,8 @@ const _hoisted_1$n = {
|
|
|
17223
17223
|
const _hoisted_2$h = { class: "flex items-center font-medium gap-[4px]" };
|
|
17224
17224
|
const _hoisted_3$e = ["src"];
|
|
17225
17225
|
const _hoisted_4$a = { class: "level-name" };
|
|
17226
|
-
const _hoisted_5$
|
|
17227
|
-
const _hoisted_6$
|
|
17226
|
+
const _hoisted_5$6 = { class: "level-icon" };
|
|
17227
|
+
const _hoisted_6$4 = ["src"];
|
|
17228
17228
|
const _hoisted_7$4 = { class: "custom-btn" };
|
|
17229
17229
|
const _hoisted_8$4 = { class: "flex items-center justify-center" };
|
|
17230
17230
|
const maxLevel = 3;
|
|
@@ -17283,11 +17283,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17283
17283
|
}, null, 8, _hoisted_3$e),
|
|
17284
17284
|
createElementVNode("div", _hoisted_4$a, [
|
|
17285
17285
|
createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
|
|
17286
|
-
createElementVNode("div", _hoisted_5$
|
|
17286
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
17287
17287
|
createElementVNode("img", {
|
|
17288
17288
|
src: levelInfo.value.level,
|
|
17289
17289
|
alt: ""
|
|
17290
|
-
}, null, 8, _hoisted_6$
|
|
17290
|
+
}, null, 8, _hoisted_6$4)
|
|
17291
17291
|
])
|
|
17292
17292
|
])
|
|
17293
17293
|
]),
|
|
@@ -17757,7 +17757,7 @@ const _hoisted_1$k = { class: "g-header-search-prefix" };
|
|
|
17757
17757
|
const _hoisted_2$e = { class: "g-header-search-suffix-splitline" };
|
|
17758
17758
|
const _hoisted_3$b = { class: "g-header-search-suffix-suffixIcon" };
|
|
17759
17759
|
const _hoisted_4$8 = { class: "history-list" };
|
|
17760
|
-
const _hoisted_5$
|
|
17760
|
+
const _hoisted_5$5 = {
|
|
17761
17761
|
key: 1,
|
|
17762
17762
|
class: "aireposearch flex-1"
|
|
17763
17763
|
};
|
|
@@ -17770,13 +17770,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17770
17770
|
setup(__props) {
|
|
17771
17771
|
var _a;
|
|
17772
17772
|
const { t: $t } = i18n.global;
|
|
17773
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17774
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17775
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17776
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17777
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17778
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17779
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed
|
|
17773
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CoMJA9ap.js"));
|
|
17774
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-DSq_5F1q.js"));
|
|
17775
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-ONS6f-IZ.js"));
|
|
17776
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DipnAOo-.js"));
|
|
17777
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-B1rFh_eG.js"));
|
|
17778
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BZSeMX7C.js"));
|
|
17779
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BHOx2vCC.js"));
|
|
17780
17780
|
const props = __props;
|
|
17781
17781
|
const repoInfo = inject("repoInfo");
|
|
17782
17782
|
const orgInfo = inject("orgInfo");
|
|
@@ -18323,7 +18323,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18323
18323
|
_: 1
|
|
18324
18324
|
}, 8, ["visible"])
|
|
18325
18325
|
], 2)) : createCommentVNode("", true),
|
|
18326
|
-
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
18326
|
+
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
|
|
18327
18327
|
createVNode(unref(Input), {
|
|
18328
18328
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
18329
18329
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -18344,7 +18344,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18344
18344
|
}
|
|
18345
18345
|
});
|
|
18346
18346
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18347
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18347
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-HNGtx2Gz.js"));
|
|
18348
18348
|
function clearNotice() {
|
|
18349
18349
|
if (localStorage$2.getItem("validator_email")) {
|
|
18350
18350
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18371,15 +18371,13 @@ function useNotification() {
|
|
|
18371
18371
|
notice
|
|
18372
18372
|
};
|
|
18373
18373
|
}
|
|
18374
|
-
const _hoisted_1$j = {
|
|
18375
|
-
const _hoisted_2$d = { class: "search-avatar flex-1 flex items-center justify-center" };
|
|
18376
|
-
const _hoisted_3$a = {
|
|
18374
|
+
const _hoisted_1$j = {
|
|
18377
18375
|
key: 1,
|
|
18378
18376
|
class: "g-header-body"
|
|
18379
18377
|
};
|
|
18380
|
-
const
|
|
18381
|
-
const
|
|
18382
|
-
const
|
|
18378
|
+
const _hoisted_2$d = { class: "g-header-body-left h-full" };
|
|
18379
|
+
const _hoisted_3$a = { class: "g-header-body-right h-full" };
|
|
18380
|
+
const _hoisted_4$7 = { key: 2 };
|
|
18383
18381
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18384
18382
|
...{
|
|
18385
18383
|
name: "header"
|
|
@@ -18551,8 +18549,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18551
18549
|
window.open(props.bgConfig.detail_top_url, "_blank");
|
|
18552
18550
|
}
|
|
18553
18551
|
};
|
|
18554
|
-
const handleHeaderClick = () => {
|
|
18555
|
-
|
|
18552
|
+
const handleHeaderClick = (e) => {
|
|
18553
|
+
console.log("handleHeaderClick", e);
|
|
18554
|
+
if (!e.target.classList.contains("allow-click-stop")) {
|
|
18555
|
+
return;
|
|
18556
|
+
}
|
|
18557
|
+
if (isIndexHead.value && props.bgConfig.index_head_url) {
|
|
18556
18558
|
window.open(props.bgConfig.index_head_url, "_blank");
|
|
18557
18559
|
}
|
|
18558
18560
|
};
|
|
@@ -18614,13 +18616,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18614
18616
|
var _a, _b, _c, _d;
|
|
18615
18617
|
return openBlock(), createElementBlock("div", {
|
|
18616
18618
|
onClick: withModifiers(handleHeaderClick, ["prevent", "stop"]),
|
|
18617
|
-
class: "gitcode-header-wrapper w-full",
|
|
18619
|
+
class: "gitcode-header-wrapper w-full cursor-pointer",
|
|
18618
18620
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
18619
18621
|
}, [
|
|
18620
18622
|
createElementVNode("div", {
|
|
18621
|
-
|
|
18622
|
-
}, ["prevent", "stop"])),
|
|
18623
|
-
class: normalizeClass(["g-header fixed z-20", { "ai-hub": inAIHub.value }]),
|
|
18623
|
+
class: normalizeClass(["g-header allow-click-stop fixed z-20", { "ai-hub": inAIHub.value }]),
|
|
18624
18624
|
ref_key: "headerRef",
|
|
18625
18625
|
ref: headerRef
|
|
18626
18626
|
}, [
|
|
@@ -18628,7 +18628,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18628
18628
|
key: 0,
|
|
18629
18629
|
class: "w-full h-[64px] cursor-pointer",
|
|
18630
18630
|
style: normalizeStyle(stickyNoticeStyle.value),
|
|
18631
|
-
onClick: handleStickyNoticeClick
|
|
18631
|
+
onClick: withModifiers(handleStickyNoticeClick, ["stop"])
|
|
18632
18632
|
}, [
|
|
18633
18633
|
createVNode(GIcon, {
|
|
18634
18634
|
class: "sticky-notice-icon",
|
|
@@ -18641,9 +18641,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18641
18641
|
style: normalizeStyle(detailBgStyle.value)
|
|
18642
18642
|
}, [
|
|
18643
18643
|
createElementVNode("div", {
|
|
18644
|
-
class: normalizeClass(["g-toolbar-left items-center", { "flex-[1] min-w-0": !inAIHub.value }])
|
|
18644
|
+
class: normalizeClass(["g-toolbar-left items-center allow-click-stop", { "flex-[1] min-w-0": !inAIHub.value }])
|
|
18645
18645
|
}, [
|
|
18646
|
-
createElementVNode("div",
|
|
18646
|
+
createElementVNode("div", {
|
|
18647
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
18648
|
+
}, ["prevent", "stop"])),
|
|
18649
|
+
class: "flex flex-center gap-[12px] g-header-ailog"
|
|
18650
|
+
}, [
|
|
18647
18651
|
isModuleVisible(unref(HeaderDisplayItem).ASIDE_BUTTON) ? (openBlock(), createBlock(GIcon, {
|
|
18648
18652
|
key: 0,
|
|
18649
18653
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(emitEvent)("toggleAsideMenuByHamburger")),
|
|
@@ -18675,12 +18679,16 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18675
18679
|
orgProps: (_b = _ctx.headerCustomProps) == null ? void 0 : _b.orgProps,
|
|
18676
18680
|
repoProps: (_c = _ctx.headerCustomProps) == null ? void 0 : _c.repoProps,
|
|
18677
18681
|
userProps: (_d = _ctx.headerCustomProps) == null ? void 0 : _d.userProps,
|
|
18678
|
-
onFollowDevCommunity: _cache[
|
|
18679
|
-
onFollowUser: _cache[
|
|
18682
|
+
onFollowDevCommunity: _cache[2] || (_cache[2] = ($event) => emit("followDevCommunity", $event)),
|
|
18683
|
+
onFollowUser: _cache[3] || (_cache[3] = ($event) => emit("followUser"))
|
|
18680
18684
|
}, null, 8, ["scene", "isLogin", "errorCode", "orgProps", "repoProps", "userProps"])) : createCommentVNode("", true)
|
|
18681
18685
|
], 2)) : createCommentVNode("", true)
|
|
18682
18686
|
], 2),
|
|
18683
|
-
createElementVNode("div",
|
|
18687
|
+
createElementVNode("div", {
|
|
18688
|
+
onClick: _cache[4] || (_cache[4] = withModifiers(() => {
|
|
18689
|
+
}, ["prevent", "stop"])),
|
|
18690
|
+
class: "search-avatar flex-1 flex items-center justify-center"
|
|
18691
|
+
}, [
|
|
18684
18692
|
isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
|
|
18685
18693
|
(openBlock(), createBlock(Search, {
|
|
18686
18694
|
inAIHub: inAIHub.value,
|
|
@@ -18690,7 +18698,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18690
18698
|
], true) : createCommentVNode("", true)
|
|
18691
18699
|
]),
|
|
18692
18700
|
createElementVNode("div", {
|
|
18693
|
-
class: normalizeClass(["g-toolbar-right gap-[16px] flex-[1] justify-end max-md:gap-[12px]", inAIHub.value ? "2xl:min-w-[600px] flex-none" : ""])
|
|
18701
|
+
class: normalizeClass(["g-toolbar-right gap-[16px] flex-[1] justify-end max-md:gap-[12px] allow-click-stop", inAIHub.value ? "2xl:min-w-[600px] flex-none" : ""])
|
|
18694
18702
|
}, [
|
|
18695
18703
|
isModuleVisible(unref(HeaderDisplayItem).DEEPSEEK_BUTTON) ? (openBlock(), createBlock(ChatBot, { key: 0 })) : createCommentVNode("", true),
|
|
18696
18704
|
!_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -18698,7 +18706,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18698
18706
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
18699
18707
|
key: 0,
|
|
18700
18708
|
class: "app-login-warp border-none login-icon",
|
|
18701
|
-
onClick: _cache[
|
|
18709
|
+
onClick: _cache[5] || (_cache[5] = ($event) => handleLogin("login"))
|
|
18702
18710
|
}, [
|
|
18703
18711
|
createVNode(GIcon, {
|
|
18704
18712
|
name: "gt-line-NotLoggedIn",
|
|
@@ -18710,7 +18718,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18710
18718
|
createVNode(unref(Button), {
|
|
18711
18719
|
variant: "solid",
|
|
18712
18720
|
color: "primary",
|
|
18713
|
-
onClick: _cache[
|
|
18721
|
+
onClick: _cache[6] || (_cache[6] = withModifiers(($event) => handleLogin("login"), ["prevent", "stop"]))
|
|
18714
18722
|
}, {
|
|
18715
18723
|
default: withCtx(() => [
|
|
18716
18724
|
createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.login")), 1)
|
|
@@ -18718,7 +18726,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18718
18726
|
_: 1
|
|
18719
18727
|
}),
|
|
18720
18728
|
createVNode(unref(Button), {
|
|
18721
|
-
onClick: _cache[
|
|
18729
|
+
onClick: _cache[7] || (_cache[7] = withModifiers(($event) => handleLogin("register"), ["prevent", "stop", "prevent", "stop"])),
|
|
18722
18730
|
class: "min-w-[64px]"
|
|
18723
18731
|
}, {
|
|
18724
18732
|
default: withCtx(() => [
|
|
@@ -18742,17 +18750,17 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18742
18750
|
], 64))
|
|
18743
18751
|
], 2)
|
|
18744
18752
|
], 6),
|
|
18745
|
-
_ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div",
|
|
18753
|
+
_ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
18746
18754
|
renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
|
|
18747
|
-
createElementVNode("div",
|
|
18755
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
18748
18756
|
renderSlot(_ctx.$slots, "info", {}, void 0, true)
|
|
18749
18757
|
]),
|
|
18750
|
-
createElementVNode("div",
|
|
18758
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
18751
18759
|
renderSlot(_ctx.$slots, "menu", {}, void 0, true)
|
|
18752
18760
|
])
|
|
18753
18761
|
], true)
|
|
18754
18762
|
])) : createCommentVNode("", true),
|
|
18755
|
-
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div",
|
|
18763
|
+
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
|
|
18756
18764
|
renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
|
|
18757
18765
|
])) : createCommentVNode("", true)
|
|
18758
18766
|
], 2)
|
|
@@ -24947,7 +24955,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24947
24955
|
}
|
|
24948
24956
|
});
|
|
24949
24957
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
24950
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24958
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BsQf4k-H.js"));
|
|
24951
24959
|
const useSlidCaptcha = () => {
|
|
24952
24960
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24953
24961
|
const open = (config) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import { w as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { w as useLayoutConfig, _ as _export_sfc } from "./index-BV3o4Nmw.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
-
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
2
|
+
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-BV3o4Nmw.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { i as isPhone, u as useModel } from "./index-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-BV3o4Nmw.js";
|
|
3
3
|
import { Notification } from "vue-devui-lal/notification";
|
|
4
4
|
import { Button } from "vue-devui-lal/button";
|
|
5
5
|
import "vue-devui-lal/notification/style.css";
|