vue-layout-gitcode 1.3.22 → 1.3.23

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, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CqAiepjz.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CHIT0RIe.js";
4
+ import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-GfreO8FI.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-HOUvAjiR.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-CqAiepjz.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-GfreO8FI.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-CqAiepjz.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-GfreO8FI.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-CqAiepjz.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-GfreO8FI.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-CHIT0RIe.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-CqAiepjz.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-HOUvAjiR.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-GfreO8FI.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-CqAiepjz.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-GfreO8FI.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-CqAiepjz.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-GfreO8FI.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-CqAiepjz.js";
3
+ import { w as useLayoutConfig, _ as _export_sfc } from "./index-GfreO8FI.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -17859,13 +17859,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17859
17859
  setup(__props) {
17860
17860
  var _a;
17861
17861
  const { t: $t } = i18n.global;
17862
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CaCEBNAG.js"));
17863
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-CDyMXuuz.js"));
17864
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-czVRz73u.js"));
17865
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CjJ3bFrb.js"));
17866
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-C0QImCC_.js"));
17867
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-Clx-Xb7h.js"));
17868
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DDOBHpnF.js"));
17862
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-ButAm79X.js"));
17863
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-BKDVmCTW.js"));
17864
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DYx5z1Da.js"));
17865
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DonFthJ7.js"));
17866
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DTdzfdMH.js"));
17867
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BlgJeNxu.js"));
17868
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DNpdx6oz.js"));
17869
17869
  const props = __props;
17870
17870
  const repoInfo = inject("repoInfo");
17871
17871
  const orgInfo = inject("orgInfo");
@@ -18028,8 +18028,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18028
18028
  isFocus.value = false;
18029
18029
  searchDropDownVisible.value = false;
18030
18030
  };
18031
- const onScopeSearch = (data) => {
18032
- debugger;
18031
+ const onScopeSearch = (data = {}) => {
18033
18032
  searchParams = { scope: data.enLabel ? data.enLabel : void 0 };
18034
18033
  if (isSearchPage.value && route.query.type && route.query.type !== "commit") {
18035
18034
  searchParams.type = route.query.type;
@@ -18459,7 +18458,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18459
18458
  }
18460
18459
  });
18461
18460
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18462
- const NoticeModal = defineAsyncComponent(() => import("./notice-Dh8VX28Z.js"));
18461
+ const NoticeModal = defineAsyncComponent(() => import("./notice-CDW8fVCI.js"));
18463
18462
  function clearNotice() {
18464
18463
  if (localStorage$2.getItem("validator_email")) {
18465
18464
  localStorage$2.removeItem("validator_email");
@@ -25063,7 +25062,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
25063
25062
  }
25064
25063
  });
25065
25064
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
25066
- const SlidCaptcha = defineAsyncComponent(() => import("./index-Bgv3ake1.js"));
25065
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-DKFp1NIJ.js"));
25067
25066
  const useSlidCaptcha = () => {
25068
25067
  const { mount, unMount } = usePopup("slid-captcha-popup");
25069
25068
  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, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CqAiepjz.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, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-GfreO8FI.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-CqAiepjz.js";
1
+ import { z, A, D, y, S, x, F, I, C, H, B } from "./index-GfreO8FI.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-CqAiepjz.js";
2
+ import { i as isPhone, u as useModel } from "./index-GfreO8FI.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.22",
3
+ "version": "1.3.23",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",