vue-layout-gitcode 1.5.88 → 1.5.89

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.
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, inject, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, createVNode, unref, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
2
2
  import "vue-devui-lal/icon";
3
3
  import "vue-devui-lal/icon/style.css";
4
- import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-Bx6tlBbT.js";
4
+ import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-COr3PJR5.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-C2aBNAUC.js";
7
- import "./transWebUrl-CkhOIFmC.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-COC8_6gF.js";
7
+ import "./transWebUrl-BOubz67B.js";
8
8
  import "vue-devui-lal/tooltip";
9
9
  import "vue-devui-lal/tooltip/style.css";
10
10
  import "vue-router";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, useSlots, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, renderSlot } from "vue";
2
- import { q as useLayoutConfig, w as ThemeType, x as currentTheme, g as LANG_ZH, y as LANG_EN, z as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-Bx6tlBbT.js";
2
+ import { q as useLayoutConfig, w as ThemeType, x as currentTheme, g as LANG_ZH, y as LANG_EN, z as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-COr3PJR5.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { Popover } from "vue-devui-lal/popover";
5
5
  import "vue-devui-lal/popover/style.css";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, ref, reactive, watch, computed, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, vShow } from "vue";
2
- import { a as i18n, q as useLayoutConfig, G as GIcon, C as _sfc_main$1, D as loadAsideData, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, F as asideRequest, _ as _export_sfc } from "./index-Bx6tlBbT.js";
2
+ import { a as i18n, q as useLayoutConfig, G as GIcon, C as _sfc_main$1, D as loadAsideData, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, F as asideRequest, _ as _export_sfc } from "./index-COr3PJR5.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-CkhOIFmC.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BOubz67B.js";
5
5
  import { Select, Option } from "vue-devui-lal/select";
6
6
  import { Input } from "vue-devui-lal/input";
7
7
  import { Skeleton } from "vue-devui-lal/skeleton";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, ref, reactive, computed, watch, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
2
- import { a as i18n, q as useLayoutConfig, G as GIcon, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-Bx6tlBbT.js";
2
+ import { a as i18n, q as useLayoutConfig, G as GIcon, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-COr3PJR5.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-CkhOIFmC.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BOubz67B.js";
5
5
  import { Input } from "vue-devui-lal/input";
6
6
  import { Skeleton } from "vue-devui-lal/skeleton";
7
7
  import { MenuItem } from "vue-devui-lal/menu";
@@ -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-Bx6tlBbT.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-COr3PJR5.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-Bx6tlBbT.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-COr3PJR5.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-Bx6tlBbT.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-COr3PJR5.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-C2aBNAUC.js";
3
- import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-Bx6tlBbT.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-COC8_6gF.js";
3
+ import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-COr3PJR5.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-Bx6tlBbT.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-COr3PJR5.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-Bx6tlBbT.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-COr3PJR5.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]" };
@@ -1,7 +1,7 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, withCtx, reactive } from "vue";
2
2
  import debounce from "lodash/debounce";
3
- import { t as transferNumber, G as GIcon, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, L as LANG_KEY, g as LANG_ZH, j as usePageResize, k as isGstarRepo, m as _sfc_main$9, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-Bx6tlBbT.js";
4
- import { t as transWebUrl } from "./transWebUrl-CkhOIFmC.js";
3
+ import { t as transferNumber, G as GIcon, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, L as LANG_KEY, g as LANG_ZH, j as usePageResize, k as isGstarRepo, m as _sfc_main$9, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-COr3PJR5.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BOubz67B.js";
5
5
  import { useRouter } from "vue-router";
6
6
  import { Row, Col } from "vue-devui-lal/grid";
7
7
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
@@ -10971,11 +10971,11 @@ const _hoisted_3$j = {
10971
10971
  };
10972
10972
  const _hoisted_4$g = { class: "home-nav-tooltip-wrapper" };
10973
10973
  const _hoisted_5$d = { class: "home-nav-text" };
10974
- const _hoisted_6$9 = {
10974
+ const _hoisted_6$a = {
10975
10975
  key: 1,
10976
10976
  class: "tools-list"
10977
10977
  };
10978
- const _hoisted_7$6 = { class: "home-nav-tooltip-wrapper" };
10978
+ const _hoisted_7$7 = { class: "home-nav-tooltip-wrapper" };
10979
10979
  const _hoisted_8$5 = { class: "home-nav-text" };
10980
10980
  const _hoisted_9$4 = { class: "text-[var(--theme-placeholder)] text-[10px]" };
10981
10981
  const _hoisted_10$4 = { class: "qrcode-wrapper" };
@@ -11258,13 +11258,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
11258
11258
  ]),
11259
11259
  _: 1
11260
11260
  })) : createCommentVNode("", true),
11261
- isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
11261
+ isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
11262
11262
  createVNode(unref(Tooltip), {
11263
11263
  position: "left",
11264
11264
  "overlay-class": "tools-tag-tooltip"
11265
11265
  }, {
11266
11266
  content: withCtx(() => [
11267
- createElementVNode("div", _hoisted_7$6, [
11267
+ createElementVNode("div", _hoisted_7$7, [
11268
11268
  createElementVNode("div", _hoisted_8$5, [
11269
11269
  createElementVNode("p", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback01")), 1),
11270
11270
  createElementVNode("p", _hoisted_9$4, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback02")), 1)
@@ -14611,22 +14611,18 @@ const _hoisted_1$u = {
14611
14611
  class: "ai-home-mb-menu-wrap md:!hidden"
14612
14612
  };
14613
14613
  const _hoisted_2$k = ["src"];
14614
- const _hoisted_3$i = { class: "right-content cursor-pointer" };
14615
- const _hoisted_4$f = { class: "list-menu-ai-home" };
14616
- const _hoisted_5$c = ["src"];
14614
+ const _hoisted_3$i = { class: "right-content cursor-pointer text-black dark:text-white text-[16px]" };
14615
+ const _hoisted_4$f = { class: "pl-[10px]" };
14616
+ const _hoisted_5$c = { class: "list-menu-ai-home p-[12px]" };
14617
+ const _hoisted_6$9 = ["src"];
14617
14618
  const _sfc_main$A = /* @__PURE__ */ defineComponent({
14618
14619
  __name: "AiHubMenusMobile",
14619
14620
  props: ["activeMenu", "menuList", "isRouterLink", "scene"],
14620
14621
  setup(__props) {
14621
- const props = __props;
14622
14622
  const changeIcon = ref(false);
14623
14623
  const rotateIcon = computed(() => {
14624
14624
  return changeIcon.value ? "gt-line-up" : "gt-line-down";
14625
14625
  });
14626
- const isHome = computed(() => {
14627
- return props.scene === SceneValue.aiHome;
14628
- });
14629
- const dynamicStyle = computed(() => !isHome.value ? "isBlack" : "isWhite");
14630
14626
  return (_ctx, _cache) => {
14631
14627
  return __props.activeMenu.menueKey ? (openBlock(), createElementBlock("section", _hoisted_1$u, [
14632
14628
  __props.activeMenu.icon || __props.activeMenu.img ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -14637,23 +14633,23 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
14637
14633
  }, null, 8, _hoisted_2$k)) : (openBlock(), createBlock(GIcon, {
14638
14634
  key: 1,
14639
14635
  class: "gt-line-ok1",
14640
- name: isHome.value ? __props.activeMenu.whiteIcon : __props.activeMenu.icon
14636
+ name: __props.activeMenu.icon
14641
14637
  }, null, 8, ["name"]))
14642
14638
  ], 64)) : createCommentVNode("", true),
14643
14639
  createVNode(unref(Dropdown), {
14644
14640
  "overlay-class": "list-menu-ai-home-drop-wrap",
14645
- class: normalizeClass(["menu-bg", { "menu-bg-white": !isHome.value }])
14641
+ class: "bg-white dark:bg-gray-900"
14646
14642
  }, {
14647
14643
  menu: withCtx(() => [
14648
- createElementVNode("ul", _hoisted_4$f, [
14644
+ createElementVNode("ul", _hoisted_5$c, [
14649
14645
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.menuList, (item) => {
14650
14646
  var _a;
14651
14647
  return openBlock(), createElementBlock("li", {
14652
14648
  key: item.label,
14653
- class: "menu-item"
14649
+ class: "ai-menu-item"
14654
14650
  }, [
14655
14651
  createVNode(GLink, {
14656
- class: "icon-title-wrap w-full py-[12px]",
14652
+ class: "icon-title-wrap w-full py-[12px] dark:text-white text-black",
14657
14653
  href: __props.isRouterLink && item.to ? void 0 : item.url,
14658
14654
  to: __props.isRouterLink && item.to ? item.to : void 0
14659
14655
  }, {
@@ -14662,10 +14658,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
14662
14658
  key: 0,
14663
14659
  src: item.img,
14664
14660
  class: "w-[16px]"
14665
- }, null, 8, _hoisted_5$c)) : (openBlock(), createBlock(GIcon, {
14661
+ }, null, 8, _hoisted_6$9)) : (openBlock(), createBlock(GIcon, {
14666
14662
  key: 1,
14667
14663
  class: "menue-icon",
14668
- name: isHome.value ? item.whiteIcon : item.icon
14664
+ name: item.icon
14669
14665
  }, null, 8, ["name"])),
14670
14666
  createElementVNode("span", null, toDisplayString$1(item.label), 1)
14671
14667
  ]),
@@ -14673,8 +14669,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
14673
14669
  }, 1032, ["href", "to"]),
14674
14670
  withDirectives(createVNode(GIcon, {
14675
14671
  name: "gt-line-ok1",
14676
- class: normalizeClass([[dynamicStyle.value], "ml-[10px]"])
14677
- }, null, 8, ["class"]), [
14672
+ class: "ml-[10px]"
14673
+ }, null, 512), [
14678
14674
  [vShow, ((_a = __props.activeMenu) == null ? void 0 : _a.url) === item.url]
14679
14675
  ])
14680
14676
  ]);
@@ -14683,17 +14679,15 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
14683
14679
  ]),
14684
14680
  default: withCtx(() => [
14685
14681
  createElementVNode("section", _hoisted_3$i, [
14686
- createElementVNode("span", {
14687
- class: normalizeClass(["title", [dynamicStyle.value]])
14688
- }, toDisplayString$1(__props.activeMenu.label), 3),
14682
+ createElementVNode("span", _hoisted_4$f, toDisplayString$1(__props.activeMenu.label), 1),
14689
14683
  createVNode(GIcon, {
14690
14684
  name: rotateIcon.value,
14691
- class: normalizeClass(["gt-line-down", [dynamicStyle.value]])
14692
- }, null, 8, ["name", "class"])
14685
+ class: "gt-line-down"
14686
+ }, null, 8, ["name"])
14693
14687
  ])
14694
14688
  ]),
14695
14689
  _: 1
14696
- }, 8, ["class"])
14690
+ })
14697
14691
  ])) : createCommentVNode("", true);
14698
14692
  };
14699
14693
  }
@@ -14706,7 +14700,7 @@ const _hoisted_3$h = ["onMouseenter"];
14706
14700
  const _hoisted_4$e = ["src"];
14707
14701
  const _hoisted_5$b = { class: "ai-hub-menus-themetablist" };
14708
14702
  const _hoisted_6$8 = { class: "flex items-center gap-[8px] font-semibold" };
14709
- const _hoisted_7$5 = { class: "w-[32px] h-[32px] flex items-center justify-center" };
14703
+ const _hoisted_7$6 = { class: "w-[32px] h-[32px] flex items-center justify-center" };
14710
14704
  const _sfc_main$z = /* @__PURE__ */ defineComponent({
14711
14705
  __name: "AiHubMenus",
14712
14706
  props: ["scene"],
@@ -14943,7 +14937,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
14943
14937
  }, null, 8, ["name"]),
14944
14938
  createTextVNode(" " + toDisplayString$1(activeMenu.value.label), 1)
14945
14939
  ]),
14946
- createElementVNode("div", _hoisted_7$5, [
14940
+ createElementVNode("div", _hoisted_7$6, [
14947
14941
  createVNode(GIcon, {
14948
14942
  size: "18px",
14949
14943
  name: "gt-line-down",
@@ -15797,7 +15791,7 @@ const _hoisted_6$7 = {
15797
15791
  key: 1,
15798
15792
  class: "flex items-center min-w-[30px]"
15799
15793
  };
15800
- const _hoisted_7$4 = {
15794
+ const _hoisted_7$5 = {
15801
15795
  key: 0,
15802
15796
  src: _imports_0,
15803
15797
  alt: "mirrors-avatar-phone",
@@ -16038,7 +16032,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
16038
16032
  height: 28,
16039
16033
  is_round: !isOrg.value
16040
16034
  }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$7, [
16041
- unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$4)) : (openBlock(), createElementBlock("img", _hoisted_8$4))
16035
+ unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$5)) : (openBlock(), createElementBlock("img", _hoisted_8$4))
16042
16036
  ]))
16043
16037
  ];
16044
16038
  }),
@@ -16607,7 +16601,7 @@ const _hoisted_3$f = ["src"];
16607
16601
  const _hoisted_4$c = { class: "level-name" };
16608
16602
  const _hoisted_5$9 = { class: "level-icon" };
16609
16603
  const _hoisted_6$6 = ["src"];
16610
- const _hoisted_7$3 = { class: "custom-btn" };
16604
+ const _hoisted_7$4 = { class: "custom-btn" };
16611
16605
  const _hoisted_8$3 = { class: "flex items-center justify-center" };
16612
16606
  const maxLevel = 3;
16613
16607
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
@@ -16678,7 +16672,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
16678
16672
  ])
16679
16673
  ])
16680
16674
  ]),
16681
- createElementVNode("div", _hoisted_7$3, [
16675
+ createElementVNode("div", _hoisted_7$4, [
16682
16676
  createElementVNode("div", _hoisted_8$3, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.tips.getPoints")), 1)
16683
16677
  ])
16684
16678
  ], 2);
@@ -17187,13 +17181,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17187
17181
  var _a;
17188
17182
  const layoutConfig2 = useLayoutConfig();
17189
17183
  const { t: $t } = i18n.global;
17190
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-G6MjX9Kb.js"));
17191
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-zMjnDSe0.js"));
17192
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BY6NRlvn.js"));
17193
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-7o6Y0KXj.js"));
17194
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-zNbH0gHP.js"));
17195
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-JVKBDZhK.js"));
17196
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DEZXywkE.js"));
17184
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-C-9UTEKc.js"));
17185
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DpptU1KN.js"));
17186
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CT67V0N8.js"));
17187
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DC0-sp7I.js"));
17188
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CTTUoRTm.js"));
17189
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BbSZH7Qc.js"));
17190
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-5xe2iF-J.js"));
17197
17191
  const props = __props;
17198
17192
  const repoInfo = inject("repoInfo");
17199
17193
  const orgInfo = inject("orgInfo");
@@ -17824,7 +17818,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
17824
17818
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
17825
17819
  }
17826
17820
  };
17827
- const NoticeModal = defineAsyncComponent(() => import("./notice-O8B0XBCE.js"));
17821
+ const NoticeModal = defineAsyncComponent(() => import("./notice-DGK3kWn1.js"));
17828
17822
  function clearNotice() {
17829
17823
  if (localStorage$2.getItem("validator_email")) {
17830
17824
  localStorage$2.removeItem("validator_email");
@@ -17852,17 +17846,18 @@ function useNotification() {
17852
17846
  };
17853
17847
  }
17854
17848
  const _hoisted_1$k = { class: "g-toolbar-left items-center allow-click-stop flex-[1] min-w-0" };
17855
- const _hoisted_2$d = {
17856
- key: 0,
17849
+ const _hoisted_2$d = { key: 0 };
17850
+ const _hoisted_3$b = {
17851
+ key: 1,
17857
17852
  class: "search-avatar flex-1 flex items-center justify-center"
17858
17853
  };
17859
- const _hoisted_3$b = {
17854
+ const _hoisted_4$8 = {
17860
17855
  key: 1,
17861
17856
  class: "g-header-body"
17862
17857
  };
17863
- const _hoisted_4$8 = { class: "g-header-body-left h-full" };
17864
- const _hoisted_5$6 = { class: "g-header-body-right h-full" };
17865
- const _hoisted_6$4 = { key: 2 };
17858
+ const _hoisted_5$6 = { class: "g-header-body-left h-full" };
17859
+ const _hoisted_6$4 = { class: "g-header-body-right h-full" };
17860
+ const _hoisted_7$3 = { key: 2 };
17866
17861
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
17867
17862
  ...{
17868
17863
  name: "header"
@@ -18232,7 +18227,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18232
18227
  }, 8, ["scene", "isLogin", "errorCode", "orgProps", "repoProps", "userProps"])) : createCommentVNode("", true)
18233
18228
  ], 2)) : createCommentVNode("", true)
18234
18229
  ]),
18235
- !inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
18230
+ _ctx.$slots.headerMiddleRight ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
18231
+ renderSlot(_ctx.$slots, "headerMiddleRight", {}, void 0, true)
18232
+ ])) : createCommentVNode("", true),
18233
+ !inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
18236
18234
  isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
18237
18235
  (openBlock(), createBlock(Search, {
18238
18236
  inAIHub: inAIHub.value,
@@ -18298,17 +18296,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18298
18296
  ])), [
18299
18297
  [unref(vElementExposure), { trigger: (type) => handleToolbarExpo() }]
18300
18298
  ]),
18301
- _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
18299
+ _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
18302
18300
  renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
18303
- createElementVNode("div", _hoisted_4$8, [
18301
+ createElementVNode("div", _hoisted_5$6, [
18304
18302
  renderSlot(_ctx.$slots, "info", {}, void 0, true)
18305
18303
  ]),
18306
- createElementVNode("div", _hoisted_5$6, [
18304
+ createElementVNode("div", _hoisted_6$4, [
18307
18305
  renderSlot(_ctx.$slots, "menu", {}, void 0, true)
18308
18306
  ])
18309
18307
  ], true)
18310
18308
  ])) : createCommentVNode("", true),
18311
- _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
18309
+ _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
18312
18310
  renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
18313
18311
  ])) : createCommentVNode("", true)
18314
18312
  ], 6)
@@ -18496,9 +18494,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18496
18494
  const layoutConfig2 = useLayoutConfig();
18497
18495
  const { t: t2 } = i18n.global;
18498
18496
  const route = useRoute();
18499
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-fcSVEm1m.js"));
18500
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BfBFXBFY.js"));
18501
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BhO1dZ3_.js"));
18497
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-D7nueM6D.js"));
18498
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-Bcd927Rv.js"));
18499
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-yGSqaOOo.js"));
18502
18500
  const props = __props;
18503
18501
  const useReport2 = inject("useReport");
18504
18502
  const userInfo = inject("userInfo");
@@ -24043,7 +24041,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24043
24041
  }
24044
24042
  });
24045
24043
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
24046
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CHoA5xf2.js"));
24044
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CZc1l8X2.js"));
24047
24045
  const useSlidCaptcha = () => {
24048
24046
  const { mount, unMount } = usePopup("slid-captcha-popup");
24049
24047
  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 { q as useLayoutConfig, _ as _export_sfc } from "./index-Bx6tlBbT.js";
3
+ import { q as useLayoutConfig, _ as _export_sfc } from "./index-COr3PJR5.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-Bx6tlBbT.js";
1
+ import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-COr3PJR5.js";
2
2
  export {
3
3
  J as GitCodeAside,
4
4
  K as GitCodeHeader,
@@ -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-Bx6tlBbT.js";
2
+ import { i as isPhone, u as useModel } from "./index-COr3PJR5.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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.5.88",
3
+ "version": "1.5.89",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",