vue-layout-gitcode 1.12.68 → 1.12.69

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,6 +1,6 @@
1
1
  import { defineComponent, inject, openBlock, createElementBlock, Fragment, renderList, withDirectives, createBlock, unref, ref, watch, createElementVNode, createVNode, toDisplayString, createCommentVNode } from "vue";
2
- import { h as headRequest, R as REPO_MODULE, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, a as i18n, c as useLayoutConfig, G as GIcon } from "./index-CdHMrA1T.js";
3
- import { u as useReportRepo, S as SearchRepoCard, m as mergeSearchSuggestions } from "./search-suggestion-Cbh7scJR.js";
2
+ import { h as headRequest, R as REPO_MODULE, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, a as i18n, c as useLayoutConfig, G as GIcon } from "./index-lKj_dSeo.js";
3
+ import { u as useReportRepo, S as SearchRepoCard, m as mergeSearchSuggestions } from "./search-suggestion-hLLkFIUb.js";
4
4
  import "vue-devui-lal/icon";
5
5
  import "vue-devui-lal/icon/style.css";
6
6
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, useSlots, computed, ref, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createTextVNode, toDisplayString, renderSlot } from "vue";
2
- import { a as i18n, c as useLayoutConfig, B as ThemeType, C as currentTheme, L as LANG_ZH, D as LANG_EN, F as getLocaleLang, G as GIcon, H as emitEvent, b as REPO_EVENT, I as ASIDE_MENU_REPO, J as isHttps, K as navigateWithMigrationGuard, _ as _export_sfc } from "./index-CdHMrA1T.js";
2
+ import { a as i18n, c as useLayoutConfig, B as ThemeType, C as currentTheme, L as LANG_ZH, D as LANG_EN, F as getLocaleLang, G as GIcon, H as emitEvent, b as REPO_EVENT, I as ASIDE_MENU_REPO, J as isHttps, K as navigateWithMigrationGuard, _ as _export_sfc } from "./index-lKj_dSeo.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, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createVNode, withModifiers, normalizeClass, withCtx, renderList, createBlock, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
2
- import { a as i18n, c as useLayoutConfig, G as GIcon, t as transformUrl, N as _sfc_main$1, O as loadAsideData, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, e as useRequestReport, M as asideRequest, _ as _export_sfc } from "./index-CdHMrA1T.js";
2
+ import { a as i18n, c as useLayoutConfig, G as GIcon, t as transformUrl, N as _sfc_main$1, O as loadAsideData, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, e as useRequestReport, M as asideRequest, _ as _export_sfc } from "./index-lKj_dSeo.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-Btu3e_fD.js";
4
+ import { t as transWebUrl } from "./transWebUrl-B8_qk_Te.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, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withModifiers, normalizeClass, withCtx, createBlock, createCommentVNode, Fragment, renderList, createTextVNode, withDirectives, vShow } from "vue";
2
- import { a as i18n, c as useLayoutConfig, t as transformUrl, G as GIcon, M as asideRequest, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, e as useRequestReport, _ as _export_sfc } from "./index-CdHMrA1T.js";
2
+ import { a as i18n, c as useLayoutConfig, t as transformUrl, G as GIcon, M as asideRequest, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, e as useRequestReport, _ as _export_sfc } from "./index-lKj_dSeo.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-Btu3e_fD.js";
4
+ import { t as transWebUrl } from "./transWebUrl-B8_qk_Te.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 { defineComponent, ref, inject, watch, computed, withDirectives, openBlock, createElementBlock, 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-CdHMrA1T.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-lKj_dSeo.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, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers, createCommentVNode } from "vue";
2
- import { a as i18n, n as normalizeSearchHistoryEntry, G as GIcon, _ as _export_sfc } from "./index-CdHMrA1T.js";
2
+ import { a as i18n, n as normalizeSearchHistoryEntry, G as GIcon, _ as _export_sfc } from "./index-lKj_dSeo.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,6 +1,6 @@
1
1
  import { defineComponent, inject, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard, i as isProjectSuggestionType, n as normalizeProjectUrlForMainSite } from "./search-suggestion-Cbh7scJR.js";
3
- import { a as i18n, h as headRequest, c as useLayoutConfig, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-CdHMrA1T.js";
2
+ import { u as useReportRepo, S as SearchRepoCard, i as isProjectSuggestionType, n as normalizeProjectUrlForMainSite } from "./search-suggestion-hLLkFIUb.js";
3
+ import { a as i18n, h as headRequest, c as useLayoutConfig, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-lKj_dSeo.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, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode, unref } from "vue";
2
- import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CdHMrA1T.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-lKj_dSeo.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 { defineComponent, inject, ref, watch, withDirectives, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
2
- import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-CdHMrA1T.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-lKj_dSeo.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-project history-list-project--padded" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, onMounted, nextTick, onUnmounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { z as slidCaptchaManager, c as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-CdHMrA1T.js";
2
+ import { z as slidCaptchaManager, c as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-lKj_dSeo.js";
3
3
  import { FixedOverlay } from "vue-devui-lal/overlay";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const TARGET_TEXT = "Click in order:";
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
8
8
  import "vue-devui-lal/message/style.css";
9
9
  import { FixedOverlay } from "vue-devui-lal/overlay";
10
10
  import "vue-devui-lal/overlay/style.css";
11
- import { a as i18n, j as usePageResize, A as isZh, _ as _export_sfc } from "./index-CdHMrA1T.js";
11
+ import { a as i18n, j as usePageResize, A as isZh, _ as _export_sfc } from "./index-lKj_dSeo.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {
@@ -16229,15 +16229,15 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
16229
16229
  }, null, 8, ["name", "src"]),
16230
16230
  createElementVNode("span", {
16231
16231
  class: "g-account-switch-name",
16232
- title: item.username
16233
- }, toDisplayString$1(item.username), 9, _hoisted_4$k),
16232
+ title: item.nickname || item.username
16233
+ }, toDisplayString$1(item.nickname || item.username), 9, _hoisted_4$k),
16234
16234
  item.status === "need_reauth" ? (openBlock(), createElementBlock("span", _hoisted_5$f, toDisplayString$1(unref(t2)("gitCodeLayout.header.accountNeedReauth")), 1)) : createCommentVNode("", true)
16235
16235
  ], 8, _hoisted_3$q),
16236
16236
  createElementVNode("button", {
16237
16237
  class: "g-account-switch-remove",
16238
16238
  type: "button",
16239
16239
  disabled: __props.busy,
16240
- "aria-label": `${unref(t2)("gitCodeLayout.header.accountRemove")} ${item.username}`,
16240
+ "aria-label": `${unref(t2)("gitCodeLayout.header.accountRemove")} ${item.nickname || item.username}`,
16241
16241
  title: unref(t2)("gitCodeLayout.header.accountRemove"),
16242
16242
  onClick: ($event) => emit("remove", item.ref)
16243
16243
  }, "×", 8, _hoisted_6$e)
@@ -17869,12 +17869,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17869
17869
  setup(__props) {
17870
17870
  const layoutConfig2 = useLayoutConfig();
17871
17871
  const { t: $t } = i18n.global;
17872
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-D4RbOLXG.js"));
17873
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-CWat7_4C.js"));
17874
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Cng9q4kT.js"));
17875
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DhO5xZhZ.js"));
17876
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-_c_QObw9.js"));
17877
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BuS3kfJi.js"));
17872
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DDpgNM3a.js"));
17873
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DYiUrC5P.js"));
17874
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CwNMZFWw.js"));
17875
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BvYXFhGG.js"));
17876
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DU3c06oO.js"));
17877
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DkXSf-23.js"));
17878
17878
  const props = __props;
17879
17879
  const repoInfo = inject("repoInfo", computed(() => void 0));
17880
17880
  const orgInfo = inject("orgInfo", computed(() => void 0));
@@ -19236,7 +19236,7 @@ const vElementExposure = {
19236
19236
  beforeUnmount() {
19237
19237
  }
19238
19238
  };
19239
- const NoticeModal = defineAsyncComponent(() => import("./notice-bcah4Y8T.js"));
19239
+ const NoticeModal = defineAsyncComponent(() => import("./notice-DYtAgiT8.js"));
19240
19240
  function clearNotice() {
19241
19241
  if (localStorage$2.getItem("validator_email")) {
19242
19242
  localStorage$2.removeItem("validator_email");
@@ -21716,9 +21716,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
21716
21716
  const layoutConfig2 = useLayoutConfig();
21717
21717
  const { t: t2 } = i18n.global;
21718
21718
  const route = useRoute();
21719
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-B-UAWoEo.js"));
21720
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-D9l7n3Gb.js"));
21721
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-Bvu5TTWx.js"));
21719
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-CnvRHtgK.js"));
21720
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DZ3fEs72.js"));
21721
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DMqoWby7.js"));
21722
21722
  const props = __props;
21723
21723
  const useReport2 = inject("useReport");
21724
21724
  const userInfo = inject("userInfo");
@@ -28256,7 +28256,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
28256
28256
  __publicField(_SlidCaptchaManager, "instance");
28257
28257
  let SlidCaptchaManager = _SlidCaptchaManager;
28258
28258
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
28259
- const SlidCaptcha = defineAsyncComponent(() => import("./index-F3eMI-sw.js"));
28259
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-B2b6x1Aa.js"));
28260
28260
  const useSlidCaptcha = () => {
28261
28261
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
28262
28262
  const open = (config2) => {
@@ -28286,7 +28286,7 @@ const useSlidCaptcha = () => {
28286
28286
  close
28287
28287
  };
28288
28288
  };
28289
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-DNfhml9y.js"));
28289
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-BcuxQ57n.js"));
28290
28290
  const useYunpianCaptcha = () => {
28291
28291
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
28292
28292
  const open = (config2) => {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P, Q, S, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, C, a8, a9, aa, ab, ac, ad, ae, af, ag } from "./index-CdHMrA1T.js";
1
+ import { P, Q, S, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, C, a8, a9, aa, ab, ac, ad, ae, af, ag } from "./index-lKj_dSeo.js";
2
2
  export {
3
3
  P as AsideFooterTools,
4
4
  Q as AtomCodeLauncher,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
2
- import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-CdHMrA1T.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-lKj_dSeo.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.12.68",
3
+ "version": "1.12.69",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, toDisplayString, unref, useModel, ref, watch, openBlock, createElementBlock, createVNode, normalizeClass, withDirectives, createElementVNode, vShow, mergeModels, inject, withModifiers, createBlock, Fragment, computed, normalizeStyle, createCommentVNode, createTextVNode, renderList, withCtx, reactive, onMounted, watchEffect } from "vue";
2
- import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, r as reqCatch, e as useRequestReport, h as headRequest, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as useCookie, j as usePageResize, L as LANG_ZH, k as isGstarRepo, m as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, w as REPO_TYPE, x as extractRepoInfoWithURL, y as LANG_KEY } from "./index-CdHMrA1T.js";
3
- import { t as transWebUrl } from "./transWebUrl-Btu3e_fD.js";
2
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, r as reqCatch, e as useRequestReport, h as headRequest, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as useCookie, j as usePageResize, L as LANG_ZH, k as isGstarRepo, m as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, w as REPO_TYPE, x as extractRepoInfoWithURL, y as LANG_KEY } from "./index-lKj_dSeo.js";
3
+ import { t as transWebUrl } from "./transWebUrl-B8_qk_Te.js";
4
4
  import { useRouter } from "vue-router";
5
5
  import { Row, Col } from "vue-devui-lal/grid";
6
6
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";