vue-layout-gitcode 1.3.46 → 1.3.48

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-A5QqlpWp.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-Cg6fQE1y.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-DPsVWdUr.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CJekHAPW.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-A5QqlpWp.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-DPsVWdUr.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-A5QqlpWp.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DPsVWdUr.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-A5QqlpWp.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-DPsVWdUr.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-Cg6fQE1y.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-A5QqlpWp.js";
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";
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-A5QqlpWp.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DPsVWdUr.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-A5QqlpWp.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-DPsVWdUr.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 { x as useLayoutConfig, _ as _export_sfc } from "./index-A5QqlpWp.js";
3
+ import { x as useLayoutConfig, _ as _export_sfc } from "./index-DPsVWdUr.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-A5QqlpWp.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-DPsVWdUr.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";
@@ -17903,7 +17903,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17903
17903
  name: accountInfo.value.nickname,
17904
17904
  src: accountInfo.value.avatar
17905
17905
  }, null, 8, ["name", "src"]),
17906
- accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$f, _cache[3] || (_cache[3] = [
17906
+ accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$f, _cache[4] || (_cache[4] = [
17907
17907
  createElementVNode("div", null, null, -1)
17908
17908
  ]))) : createCommentVNode("", true)
17909
17909
  ])
@@ -17933,7 +17933,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17933
17933
  name: accountInfo.value.nickname,
17934
17934
  src: accountInfo.value.avatar
17935
17935
  }, null, 8, ["name", "src"]),
17936
- accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$9, _cache[4] || (_cache[4] = [
17936
+ accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$9, _cache[5] || (_cache[5] = [
17937
17937
  createElementVNode("div", null, null, -1)
17938
17938
  ]))) : createCommentVNode("", true)
17939
17939
  ])
@@ -17942,7 +17942,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17942
17942
  })),
17943
17943
  createVNode(unref(Drawer), {
17944
17944
  modelValue: drawerVisible.value,
17945
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => drawerVisible.value = $event),
17945
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => drawerVisible.value = $event),
17946
17946
  position: "right",
17947
17947
  "lock-scroll": "",
17948
17948
  style: normalizeStyle([{ "top": "0", "max-height": "100%" }, { width: "240px", overflowY: "scroll" }])
@@ -17963,7 +17963,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17963
17963
  accountInfo: accountInfo.value,
17964
17964
  isChatBot: __props.isChatBot,
17965
17965
  inAIHub: __props.inAIHub,
17966
- userMenus: __props.userMenus
17966
+ userMenus: __props.userMenus,
17967
+ onClick: _cache[2] || (_cache[2] = ($event) => drawerVisible.value = false)
17967
17968
  }, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus"])
17968
17969
  ])
17969
17970
  ]),
@@ -18080,13 +18081,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18080
18081
  var _a;
18081
18082
  const layoutConfig2 = useLayoutConfig();
18082
18083
  const { t: $t } = i18n.global;
18083
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-ColsLOLj.js"));
18084
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-Cxw15FUd.js"));
18085
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BTaUyNbU.js"));
18086
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-XiT5gUYm.js"));
18087
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-Dl0JYRVQ.js"));
18088
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-6dCqMFU7.js"));
18089
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-CGe1ULRs.js"));
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"));
18090
18091
  const props = __props;
18091
18092
  const repoInfo = inject("repoInfo");
18092
18093
  const orgInfo = inject("orgInfo");
@@ -18696,7 +18697,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18696
18697
  }
18697
18698
  });
18698
18699
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18699
- const NoticeModal = defineAsyncComponent(() => import("./notice-RKIQwyIl.js"));
18700
+ const NoticeModal = defineAsyncComponent(() => import("./notice-BvgnoRgy.js"));
18700
18701
  function clearNotice() {
18701
18702
  if (localStorage$2.getItem("validator_email")) {
18702
18703
  localStorage$2.removeItem("validator_email");
@@ -25361,7 +25362,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
25361
25362
  }
25362
25363
  });
25363
25364
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
25364
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CSsn5IHf.js"));
25365
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CGnpy-QF.js"));
25365
25366
  const useSlidCaptcha = () => {
25366
25367
  const { mount, unMount } = usePopup("slid-captcha-popup");
25367
25368
  const open = (config) => {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, B, F, z, S, y, H, J, D, I, C } from "./index-A5QqlpWp.js";
1
+ import { A, B, F, z, S, y, H, J, D, I, C } from "./index-DPsVWdUr.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-A5QqlpWp.js";
2
+ import { i as isPhone, u as useModel } from "./index-DPsVWdUr.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.46",
3
+ "version": "1.3.48",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",