vue-layout-gitcode 1.3.13 → 1.3.14

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 { 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-CbuqN5sr.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-B2j78jiI.js";
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-CV8yNh_6.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-DiWr6jsD.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-CbuqN5sr.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-CV8yNh_6.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-CbuqN5sr.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CV8yNh_6.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-CbuqN5sr.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-CV8yNh_6.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-B2j78jiI.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-CbuqN5sr.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-DiWr6jsD.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-CV8yNh_6.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-CbuqN5sr.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CV8yNh_6.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-CbuqN5sr.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-CV8yNh_6.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,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-CbuqN5sr.js";
3
+ import { w as useLayoutConfig, _ as _export_sfc } from "./index-CV8yNh_6.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -17768,13 +17768,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17768
17768
  setup(__props) {
17769
17769
  var _a;
17770
17770
  const { t: $t } = i18n.global;
17771
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BethOEWy.js"));
17772
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-Bdwk3Gkc.js"));
17773
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-gRLdeG5o.js"));
17774
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DJ_TTnfI.js"));
17775
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BveHG7Rd.js"));
17776
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CXrP0ryY.js"));
17777
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BBXxiCxl.js"));
17771
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Brvvbt_n.js"));
17772
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DOmxC0JJ.js"));
17773
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DDondZxI.js"));
17774
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-UGXr0e9c.js"));
17775
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-9nZztkiP.js"));
17776
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BI4E9rIE.js"));
17777
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-MtjN74o3.js"));
17778
17778
  const props = __props;
17779
17779
  const repoInfo = inject("repoInfo");
17780
17780
  const orgInfo = inject("orgInfo");
@@ -18342,7 +18342,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18342
18342
  }
18343
18343
  });
18344
18344
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18345
- const NoticeModal = defineAsyncComponent(() => import("./notice-C6PUxMAg.js"));
18345
+ const NoticeModal = defineAsyncComponent(() => import("./notice-CCbW5YXy.js"));
18346
18346
  function clearNotice() {
18347
18347
  if (localStorage$2.getItem("validator_email")) {
18348
18348
  localStorage$2.removeItem("validator_email");
@@ -18516,7 +18516,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18516
18516
  }
18517
18517
  };
18518
18518
  const isIndexHead = computed(() => {
18519
- return props.bgConfig.index_head && isHome.value && window.location.pathname === "/dashboard";
18519
+ return props.bgConfig.index_head && isHome.value && window.location.pathname === "/";
18520
18520
  });
18521
18521
  const isShowStickyNotice = computed(() => {
18522
18522
  return ([SceneValue.repo, SceneValue.org, SceneValue.user].includes(props.sceneValue) || isHome.value && window.location.pathname === "/dashboard") && props.bgConfig.detail_toolbar;
@@ -24928,7 +24928,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24928
24928
  }
24929
24929
  });
24930
24930
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
24931
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CxmYP4A_.js"));
24931
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CQci_WA9.js"));
24932
24932
  const useSlidCaptcha = () => {
24933
24933
  const { mount, unMount } = usePopup("slid-captcha-popup");
24934
24934
  const open = (config) => {
@@ -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-CbuqN5sr.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$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-CV8yNh_6.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 { z, A, D, y, S, x, F, I, C, H, B } from "./index-CbuqN5sr.js";
1
+ import { z, A, D, y, S, x, F, I, C, H, B } from "./index-CV8yNh_6.js";
2
2
  export {
3
3
  z as GitCodeAside,
4
4
  A 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-CbuqN5sr.js";
2
+ import { i as isPhone, u as useModel } from "./index-CV8yNh_6.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.13",
3
+ "version": "1.3.14",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",