vue-layout-gitcode 1.3.48 → 1.3.49

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,8 +1,8 @@
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-DPsVWdUr.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CJekHAPW.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-D9VRnm39.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-DxGQw0EB.js";
6
6
  import "vue-devui-lal/tooltip";
7
7
  import "vue-devui-lal/tooltip/style.css";
8
8
  import "vue-router";
@@ -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-DPsVWdUr.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-D9VRnm39.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-DPsVWdUr.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-D9VRnm39.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-DPsVWdUr.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-D9VRnm39.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-CJekHAPW.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-DPsVWdUr.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-DxGQw0EB.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-D9VRnm39.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-DPsVWdUr.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-D9VRnm39.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-DPsVWdUr.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-D9VRnm39.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]" };
@@ -14488,7 +14488,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
14488
14488
  });
14489
14489
  const dynamicStyle = computed(() => !isHome.value ? "isBlack" : "isWhite");
14490
14490
  return (_ctx, _cache) => {
14491
- return __props.activeMenu ? (openBlock(), createElementBlock("section", _hoisted_1$t, [
14491
+ return __props.activeMenu.menueKey ? (openBlock(), createElementBlock("section", _hoisted_1$t, [
14492
14492
  __props.activeMenu.icon ? (openBlock(), createBlock(GIcon, {
14493
14493
  key: 0,
14494
14494
  class: "gt-line-ok1",
@@ -14738,7 +14738,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14738
14738
  menuList: menus,
14739
14739
  isRouterLink: isRouterLink.value,
14740
14740
  class: "md:hidden"
14741
- }, null, 8, ["activeMenu", "isRouterLink"])) : (openBlock(), createBlock(GLink, {
14741
+ }, null, 8, ["activeMenu", "isRouterLink"])) : createCommentVNode("", true),
14742
+ activeMenu.value.menueKey && !isRouterLink.value ? (openBlock(), createBlock(GLink, {
14742
14743
  key: 1,
14743
14744
  class: "flex items-center gap-[12px] md:hidden",
14744
14745
  href: activeMenu.value.url
@@ -14760,7 +14761,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14760
14761
  ])
14761
14762
  ]),
14762
14763
  _: 1
14763
- }, 8, ["href"]))
14764
+ }, 8, ["href"])) : createCommentVNode("", true)
14764
14765
  ]);
14765
14766
  };
14766
14767
  }
@@ -18081,13 +18082,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18081
18082
  var _a;
18082
18083
  const layoutConfig2 = useLayoutConfig();
18083
18084
  const { t: $t } = i18n.global;
18084
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BN0keplf.js"));
18085
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-BEDRV0rm.js"));
18086
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-APkaP1SJ.js"));
18087
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-D2lFHLpC.js"));
18088
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-sMEtGFaa.js"));
18089
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-i4r6kNPk.js"));
18090
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-fkn6kZL2.js"));
18085
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DB6xcwoP.js"));
18086
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-B1gIwefy.js"));
18087
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-xBXYbxaF.js"));
18088
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-U44SUR3B.js"));
18089
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BqqLDz9Y.js"));
18090
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BBrYPCOn.js"));
18091
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DPquXtCK.js"));
18091
18092
  const props = __props;
18092
18093
  const repoInfo = inject("repoInfo");
18093
18094
  const orgInfo = inject("orgInfo");
@@ -18697,7 +18698,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18697
18698
  }
18698
18699
  });
18699
18700
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18700
- const NoticeModal = defineAsyncComponent(() => import("./notice-BvgnoRgy.js"));
18701
+ const NoticeModal = defineAsyncComponent(() => import("./notice-6jK_R0x7.js"));
18701
18702
  function clearNotice() {
18702
18703
  if (localStorage$2.getItem("validator_email")) {
18703
18704
  localStorage$2.removeItem("validator_email");
@@ -25362,7 +25363,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
25362
25363
  }
25363
25364
  });
25364
25365
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
25365
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CGnpy-QF.js"));
25366
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-DeA-WN-i.js"));
25366
25367
  const useSlidCaptcha = () => {
25367
25368
  const { mount, unMount } = usePopup("slid-captcha-popup");
25368
25369
  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 { x as useLayoutConfig, _ as _export_sfc } from "./index-DPsVWdUr.js";
3
+ import { x as useLayoutConfig, _ as _export_sfc } from "./index-D9VRnm39.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, withCtx, reactive } 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$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-DPsVWdUr.js";
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$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-D9VRnm39.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,4 +1,4 @@
1
- import { A, B, F, z, S, y, H, J, D, I, C } from "./index-DPsVWdUr.js";
1
+ import { A, B, F, z, S, y, H, J, D, I, C } from "./index-D9VRnm39.js";
2
2
  export {
3
3
  A as GitCodeAside,
4
4
  B 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-DPsVWdUr.js";
2
+ import { i as isPhone, u as useModel } from "./index-D9VRnm39.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.3.48",
3
+ "version": "1.3.49",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",