vue-layout-gitcode 1.5.104 → 1.5.105

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-DoHtDmEG.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-CfcOtJRk.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-BOfsxpqk.js";
7
- import "./transWebUrl-6a5S2Tr1.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-Beud1Vwl.js";
7
+ import "./transWebUrl-BiFUQvua.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-DoHtDmEG.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-CfcOtJRk.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-DoHtDmEG.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-CfcOtJRk.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-6a5S2Tr1.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BiFUQvua.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-DoHtDmEG.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-CfcOtJRk.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-6a5S2Tr1.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BiFUQvua.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-DoHtDmEG.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-CfcOtJRk.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-DoHtDmEG.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CfcOtJRk.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-DoHtDmEG.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-CfcOtJRk.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-BOfsxpqk.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-DoHtDmEG.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-Beud1Vwl.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-CfcOtJRk.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-DoHtDmEG.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CfcOtJRk.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-DoHtDmEG.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-CfcOtJRk.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, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
2
2
  import debounce from "lodash/debounce";
3
- import { t as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, 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$b, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-DoHtDmEG.js";
4
- import { t as transWebUrl } from "./transWebUrl-6a5S2Tr1.js";
3
+ import { t as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, 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$b, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CfcOtJRk.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BiFUQvua.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";
@@ -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-DoHtDmEG.js";
3
+ import { q as useLayoutConfig, _ as _export_sfc } from "./index-CfcOtJRk.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -10952,7 +10952,7 @@ const _hoisted_3$j = {
10952
10952
  };
10953
10953
  const _hoisted_4$g = { class: "home-nav-tooltip-wrapper" };
10954
10954
  const _hoisted_5$d = { class: "home-nav-text" };
10955
- const _hoisted_6$a = {
10955
+ const _hoisted_6$b = {
10956
10956
  key: 1,
10957
10957
  class: "tools-list"
10958
10958
  };
@@ -11239,7 +11239,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
11239
11239
  ]),
11240
11240
  _: 1
11241
11241
  })) : createCommentVNode("", true),
11242
- isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
11242
+ isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
11243
11243
  createVNode(unref(Tooltip), {
11244
11244
  position: "left",
11245
11245
  "overlay-class": "tools-tag-tooltip"
@@ -14593,7 +14593,7 @@ const _hoisted_2$k = ["src"];
14593
14593
  const _hoisted_3$i = { class: "right-content cursor-pointer text-black dark:text-white text-[16px]" };
14594
14594
  const _hoisted_4$f = { class: "pl-[10px]" };
14595
14595
  const _hoisted_5$c = { class: "list-menu-ai-home p-[12px]" };
14596
- const _hoisted_6$9 = ["src"];
14596
+ const _hoisted_6$a = ["src"];
14597
14597
  const _sfc_main$A = /* @__PURE__ */ defineComponent({
14598
14598
  __name: "AiHubMenusMobile",
14599
14599
  props: ["activeMenu", "menuList", "isRouterLink", "scene"],
@@ -14637,7 +14637,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
14637
14637
  key: 0,
14638
14638
  src: item.img,
14639
14639
  class: "w-[16px]"
14640
- }, null, 8, _hoisted_6$9)) : (openBlock(), createBlock(GIcon, {
14640
+ }, null, 8, _hoisted_6$a)) : (openBlock(), createBlock(GIcon, {
14641
14641
  key: 1,
14642
14642
  class: "menue-icon",
14643
14643
  name: item.icon
@@ -14678,7 +14678,7 @@ const _hoisted_2$j = { class: "ai-hub-menus-item_label" };
14678
14678
  const _hoisted_3$h = ["onMouseenter"];
14679
14679
  const _hoisted_4$e = ["src"];
14680
14680
  const _hoisted_5$b = { class: "ai-hub-menus-themetablist" };
14681
- const _hoisted_6$8 = { class: "flex items-center gap-[8px] font-semibold" };
14681
+ const _hoisted_6$9 = { class: "flex items-center gap-[8px] font-semibold" };
14682
14682
  const _hoisted_7$6 = { class: "w-[32px] h-[32px] flex items-center justify-center" };
14683
14683
  const _sfc_main$z = /* @__PURE__ */ defineComponent({
14684
14684
  __name: "AiHubMenus",
@@ -14909,7 +14909,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
14909
14909
  href: activeMenu.value.url
14910
14910
  }, {
14911
14911
  default: withCtx(() => [
14912
- createElementVNode("span", _hoisted_6$8, [
14912
+ createElementVNode("span", _hoisted_6$9, [
14913
14913
  createVNode(GIcon, {
14914
14914
  size: "24px",
14915
14915
  name: activeMenu.value.icon
@@ -15766,7 +15766,7 @@ const _hoisted_2$i = {
15766
15766
  const _hoisted_3$g = { class: "org-layout-toolbar-title flex-1 ellipsis-two-line" };
15767
15767
  const _hoisted_4$d = { class: "text-xs" };
15768
15768
  const _hoisted_5$a = { class: "flex items-center w-full g-repo-breadcrumb-custom" };
15769
- const _hoisted_6$7 = {
15769
+ const _hoisted_6$8 = {
15770
15770
  key: 1,
15771
15771
  class: "flex items-center min-w-[30px]"
15772
15772
  };
@@ -16010,7 +16010,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
16010
16010
  width: 28,
16011
16011
  height: 28,
16012
16012
  is_round: !isOrg.value
16013
- }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$7, [
16013
+ }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$8, [
16014
16014
  unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$5)) : (openBlock(), createElementBlock("img", _hoisted_8$4))
16015
16015
  ]))
16016
16016
  ];
@@ -16578,7 +16578,7 @@ const _hoisted_2$h = { class: "flex items-center font-medium gap-[4px]" };
16578
16578
  const _hoisted_3$f = ["src"];
16579
16579
  const _hoisted_4$c = { class: "level-name" };
16580
16580
  const _hoisted_5$9 = { class: "level-icon" };
16581
- const _hoisted_6$6 = ["src"];
16581
+ const _hoisted_6$7 = ["src"];
16582
16582
  const _hoisted_7$4 = { class: "custom-btn" };
16583
16583
  const _hoisted_8$3 = { class: "flex items-center justify-center" };
16584
16584
  const maxLevel = 3;
@@ -16646,7 +16646,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
16646
16646
  createElementVNode("img", {
16647
16647
  src: levelInfo.value.level,
16648
16648
  alt: ""
16649
- }, null, 8, _hoisted_6$6)
16649
+ }, null, 8, _hoisted_6$7)
16650
16650
  ])
16651
16651
  ])
16652
16652
  ]),
@@ -16893,7 +16893,7 @@ const _hoisted_4$a = {
16893
16893
  class: "g-user-avatar__badge"
16894
16894
  };
16895
16895
  const _hoisted_5$8 = { class: "g-user-drawer" };
16896
- const _hoisted_6$5 = { class: "p-[16px] pt-[8px] pb-0 flex justify-end items-center h-[48px]" };
16896
+ const _hoisted_6$6 = { class: "p-[16px] pt-[8px] pb-0 flex justify-end items-center h-[48px]" };
16897
16897
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
16898
16898
  ...{
16899
16899
  name: "UserAvatar"
@@ -17028,7 +17028,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17028
17028
  }, {
17029
17029
  default: withCtx(() => [
17030
17030
  createElementVNode("div", null, [
17031
- createElementVNode("div", _hoisted_6$5, [
17031
+ createElementVNode("div", _hoisted_6$6, [
17032
17032
  createVNode(unref(Button), {
17033
17033
  class: "cursor-pointer draw-side-bar-close",
17034
17034
  icon: "close",
@@ -17142,10 +17142,11 @@ const setlocalVistHistory = (data, localType) => {
17142
17142
  return cur;
17143
17143
  };
17144
17144
  const _hoisted_1$l = { class: "g-header-search-prefix" };
17145
- const _hoisted_2$e = { class: "g-header-search-suffix-splitline" };
17146
- const _hoisted_3$c = { class: "g-header-search-suffix-suffixIcon" };
17147
- const _hoisted_4$9 = { class: "history-list" };
17148
- const _hoisted_5$7 = {
17145
+ const _hoisted_2$e = ["innerHTML"];
17146
+ const _hoisted_3$c = { class: "g-header-search-suffix-splitline" };
17147
+ const _hoisted_4$9 = { class: "g-header-search-suffix-suffixIcon" };
17148
+ const _hoisted_5$7 = { class: "history-list" };
17149
+ const _hoisted_6$5 = {
17149
17150
  key: 1,
17150
17151
  class: "aireposearch flex-1"
17151
17152
  };
@@ -17160,13 +17161,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17160
17161
  var _a;
17161
17162
  const layoutConfig2 = useLayoutConfig();
17162
17163
  const { t: $t } = i18n.global;
17163
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-3nQ9w38M.js"));
17164
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-CQw_Q2PC.js"));
17165
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-fqx5e2C7.js"));
17166
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CD5B7ttB.js"));
17167
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BdeJxNsx.js"));
17168
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BXpKcLjk.js"));
17169
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BTLGq0sj.js"));
17164
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CTGZIORA.js"));
17165
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DMa-YfhT.js"));
17166
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-B9a1IaUa.js"));
17167
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BptEJNbT.js"));
17168
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D9BmunWj.js"));
17169
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CpFOj5A3.js"));
17170
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-D1BjrTir.js"));
17170
17171
  const props = __props;
17171
17172
  const repoInfo = inject("repoInfo");
17172
17173
  const orgInfo = inject("orgInfo");
@@ -17231,7 +17232,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17231
17232
  localSearchInfo.value = { ...searchInfo.value };
17232
17233
  }
17233
17234
  };
17234
- computed(() => {
17235
+ const placeholderVisible = computed(() => {
17235
17236
  if (!isSearchPage.value) {
17236
17237
  return !isFocus.value && !searchStr.value;
17237
17238
  }
@@ -17645,7 +17646,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17645
17646
  }, {
17646
17647
  menu: withCtx(() => [
17647
17648
  createElementVNode("div", null, [
17648
- withDirectives(createElementVNode("div", _hoisted_4$9, [
17649
+ withDirectives(createElementVNode("div", _hoisted_5$7, [
17649
17650
  createVNode(unref(SearchScopeList), {
17650
17651
  searchScopeList: searchScopeList.value,
17651
17652
  searchStr: searchStr.value,
@@ -17718,7 +17719,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17718
17719
  onClick: withModifiers(onInputClick, ["stop"])
17719
17720
  })
17720
17721
  ]),
17721
- showRecommendSearch.value ? (openBlock(), createElementBlock("div", {
17722
+ showRecommendSearch.value && searchHotWords.value.length ? (openBlock(), createElementBlock("div", {
17722
17723
  key: 0,
17723
17724
  class: normalizeClass(["g-header-search-recommend-placeholder z-[-1] absolute top-0 left-[44px] w-full h-full leading-[100%] text-[var(--theme-placeholder)]", { default: !isFocus.value, focus: isFocus.value }])
17724
17725
  }, [
@@ -17729,7 +17730,14 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17729
17730
  key: item
17730
17731
  }, toDisplayString$1(item.content), 3);
17731
17732
  }), 128))
17732
- ], 2)) : createCommentVNode("", true),
17733
+ ], 2)) : withDirectives((openBlock(), createElementBlock("span", {
17734
+ key: 1,
17735
+ class: "quick-tips",
17736
+ innerHTML: unref(quickTips),
17737
+ onClick: onInputClick
17738
+ }, null, 8, _hoisted_2$e)), [
17739
+ [vShow, placeholderVisible.value]
17740
+ ]),
17733
17741
  withDirectives(createVNode(unref(SearchPrefixTag), {
17734
17742
  tag: cnScopeMap[localSearchInfo.value.searchScope] + ":" + localSearchInfo.value.searchScopeName,
17735
17743
  closeVisible: isFocus.value,
@@ -17760,10 +17768,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17760
17768
  }, null, 512), [
17761
17769
  [vShow, searchStr.value]
17762
17770
  ]),
17763
- withDirectives(createElementVNode("span", _hoisted_2$e, "|", 512), [
17771
+ withDirectives(createElementVNode("span", _hoisted_3$c, "|", 512), [
17764
17772
  [vShow, searchStr.value]
17765
17773
  ]),
17766
- createElementVNode("div", _hoisted_3$c, [
17774
+ createElementVNode("div", _hoisted_4$9, [
17767
17775
  createVNode(GIcon, {
17768
17776
  name: "search",
17769
17777
  class: "g-header-search-icon",
@@ -17781,7 +17789,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17781
17789
  _: 1
17782
17790
  }, 8, ["overlay-class", "visible"])
17783
17791
  ], 2)) : createCommentVNode("", true),
17784
- _ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
17792
+ _ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
17785
17793
  createVNode(unref(Input), {
17786
17794
  placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
17787
17795
  onKeydown: withKeys(searchResult, ["enter"]),
@@ -17809,7 +17817,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
17809
17817
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
17810
17818
  }
17811
17819
  };
17812
- const NoticeModal = defineAsyncComponent(() => import("./notice-DGWeA36M.js"));
17820
+ const NoticeModal = defineAsyncComponent(() => import("./notice-C65gEd6_.js"));
17813
17821
  function clearNotice() {
17814
17822
  if (localStorage$2.getItem("validator_email")) {
17815
17823
  localStorage$2.removeItem("validator_email");
@@ -18483,9 +18491,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18483
18491
  const layoutConfig2 = useLayoutConfig();
18484
18492
  const { t: t2 } = i18n.global;
18485
18493
  const route = useRoute();
18486
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-DxofpRWQ.js"));
18487
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DliTdGxI.js"));
18488
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DSlix6zl.js"));
18494
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-IsHEeJn4.js"));
18495
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-Ck-qxZQQ.js"));
18496
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-Co2HrD-B.js"));
18489
18497
  const props = __props;
18490
18498
  const useReport2 = inject("useReport");
18491
18499
  const userInfo = inject("userInfo");
@@ -24035,7 +24043,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24035
24043
  }
24036
24044
  });
24037
24045
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
24038
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CUb2pJTg.js"));
24046
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-BgV2m7s1.js"));
24039
24047
  const useSlidCaptcha = () => {
24040
24048
  const { mount, unMount } = usePopup("slid-captcha-popup");
24041
24049
  const open = (config) => {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-DoHtDmEG.js";
1
+ import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-CfcOtJRk.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-DoHtDmEG.js";
2
+ import { i as isPhone, u as useModel } from "./index-CfcOtJRk.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.104",
3
+ "version": "1.5.105",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
- import { q as useLayoutConfig } from "./index-DoHtDmEG.js";
1
+ import { q as useLayoutConfig } from "./index-CfcOtJRk.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;