vue-layout-gitcode 1.12.15-beta.18 → 1.12.15-beta.19

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,10 +1,10 @@
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-74FrLVfr.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-CdGNxKZI.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CIdAghB3.js";
7
- import "./transWebUrl-B5P10ESJ.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-AfSq7g-p.js";
7
+ import "./transWebUrl-Cmpy6PO-.js";
8
8
  import "vue-devui-lal/tooltip";
9
9
  import "vue-devui-lal/tooltip/style.css";
10
10
  import "vue-router";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, useSlots, computed, ref, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createTextVNode, toDisplayString, renderSlot } from "vue";
2
- import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, b as REPO_EVENT, H as ASIDE_MENU_REPO, I as isHttps, J as navigateWithMigrationGuard, _ as _export_sfc } from "./index-74FrLVfr.js";
2
+ import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, b as REPO_EVENT, H as ASIDE_MENU_REPO, I as isHttps, J as navigateWithMigrationGuard, _ as _export_sfc } from "./index-CdGNxKZI.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, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, vShow } from "vue";
2
- import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, M as _sfc_main$1, N as loadAsideData, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, K as asideRequest, _ as _export_sfc } from "./index-74FrLVfr.js";
2
+ import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, M as _sfc_main$1, N as loadAsideData, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, K as asideRequest, _ as _export_sfc } from "./index-CdGNxKZI.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-B5P10ESJ.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cmpy6PO-.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, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
2
- import { a as i18n, y as useLayoutConfig, t as transformUrl, K as asideRequest, G as GIcon, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-74FrLVfr.js";
2
+ import { a as i18n, y as useLayoutConfig, t as transformUrl, K as asideRequest, G as GIcon, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-CdGNxKZI.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-B5P10ESJ.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cmpy6PO-.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 { 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-74FrLVfr.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-CdGNxKZI.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-74FrLVfr.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CdGNxKZI.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, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-CIdAghB3.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-74FrLVfr.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-AfSq7g-p.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-CdGNxKZI.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-74FrLVfr.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CdGNxKZI.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, t as transformUrl } from "./index-74FrLVfr.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-CdGNxKZI.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,7 +1,7 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
2
2
  import debounce from "lodash/debounce";
3
- import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-74FrLVfr.js";
4
- import { t as transWebUrl } from "./transWebUrl-B5P10ESJ.js";
3
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-CdGNxKZI.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cmpy6PO-.js";
5
5
  import { useRouter } from "vue-router";
6
6
  import { Row, Col } from "vue-devui-lal/grid";
7
7
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
@@ -16340,12 +16340,12 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
16340
16340
  setup(__props) {
16341
16341
  const layoutConfig2 = useLayoutConfig();
16342
16342
  const { t: $t } = i18n.global;
16343
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Bur3edSa.js"));
16344
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-DH5fyfb6.js"));
16345
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-C1fR51x2.js"));
16346
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-B2rmOBJR.js"));
16347
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-d1zkEhS3.js"));
16348
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-B7utMXGE.js"));
16343
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CTFbcFFk.js"));
16344
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DrPy9UZk.js"));
16345
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-qcZ4oS7J.js"));
16346
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-B62oSJ8Q.js"));
16347
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BC_V4bID.js"));
16348
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-C0YIqmoZ.js"));
16349
16349
  const props = __props;
16350
16350
  const repoInfo = inject("repoInfo");
16351
16351
  const orgInfo = inject("orgInfo");
@@ -17253,14 +17253,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17253
17253
  const sidebarUrls = ref(null);
17254
17254
  const actionUrls = computed(() => sidebarUrls.value ?? fallbackUrls.value);
17255
17255
  const discoverLinks = computed(() => [
17256
- {
17257
- label: t2("gitCodeLayout.home.aiCommunity"),
17258
- href: actionUrls.value.aiCommunity
17259
- },
17260
17256
  {
17261
17257
  label: "AtomCode",
17262
17258
  href: actionUrls.value.atomCode
17263
17259
  },
17260
+ {
17261
+ label: t2("gitCodeLayout.home.aiCommunity"),
17262
+ href: actionUrls.value.aiCommunity
17263
+ },
17264
17264
  {
17265
17265
  label: t2("gitCodeLayout.home.competition"),
17266
17266
  href: actionUrls.value.competition
@@ -17369,7 +17369,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
17369
17369
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
17370
17370
  }
17371
17371
  };
17372
- const NoticeModal = defineAsyncComponent(() => import("./notice-Bmt7HiCc.js"));
17372
+ const NoticeModal = defineAsyncComponent(() => import("./notice-m4odxsof.js"));
17373
17373
  function clearNotice() {
17374
17374
  if (localStorage$2.getItem("validator_email")) {
17375
17375
  localStorage$2.removeItem("validator_email");
@@ -18583,9 +18583,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18583
18583
  const layoutConfig2 = useLayoutConfig();
18584
18584
  const { t: t2 } = i18n.global;
18585
18585
  const route = useRoute();
18586
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-BdW7SHdF.js"));
18587
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-iY7cnWA_.js"));
18588
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-Cqbkm-ZV.js"));
18586
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-dLXqaM49.js"));
18587
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DoaouJ41.js"));
18588
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BF-c6bAL.js"));
18589
18589
  const props = __props;
18590
18590
  const useReport2 = inject("useReport");
18591
18591
  const userInfo = inject("userInfo");
@@ -26286,7 +26286,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26286
26286
  __publicField(_SlidCaptchaManager, "instance");
26287
26287
  let SlidCaptchaManager = _SlidCaptchaManager;
26288
26288
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26289
- const SlidCaptcha = defineAsyncComponent(() => import("./index-BDSapsqq.js"));
26289
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-D2Wao1Fv.js"));
26290
26290
  const useSlidCaptcha = () => {
26291
26291
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26292
26292
  const open = (config) => {
@@ -26316,7 +26316,7 @@ const useSlidCaptcha = () => {
26316
26316
  close
26317
26317
  };
26318
26318
  };
26319
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-BXdUGH-Y.js"));
26319
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-CwwSyL4G.js"));
26320
26320
  const useYunpianCaptcha = () => {
26321
26321
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26322
26322
  const open = (config) => {
@@ -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, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-74FrLVfr.js";
11
+ import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-CdGNxKZI.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, onMounted, nextTick, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-74FrLVfr.js";
2
+ import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-CdGNxKZI.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:";
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $, Y, Q, U, W, a2, X, P, S, V, Z, O, B, a4, a1, a3, a0 } from "./index-74FrLVfr.js";
1
+ import { $, Y, Q, U, W, a2, X, P, S, V, Z, O, B, a4, a1, a3, a0 } from "./index-CdGNxKZI.js";
2
2
  export {
3
3
  $ as AsideFooterTools,
4
4
  Y as EnterpriseHeader,
@@ -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, _ as _export_sfc } from "./index-74FrLVfr.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-CdGNxKZI.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.15-beta.18",
3
+ "version": "1.12.15-beta.19",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
- import { y as useLayoutConfig } from "./index-74FrLVfr.js";
1
+ import { y as useLayoutConfig } from "./index-CdGNxKZI.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;