vue-layout-gitcode 1.10.39 → 1.10.40

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-DxJFoNO4.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-BGGNfy_M.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CAPAOsg7.js";
7
- import "./transWebUrl-BHz8Qist.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-BMs7IWAY.js";
7
+ import "./transWebUrl-CjdHwffp.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, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, 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, H as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-DxJFoNO4.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, H as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BGGNfy_M.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, J as _sfc_main$1, K as loadAsideData, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-DxJFoNO4.js";
2
+ import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, J as _sfc_main$1, K as loadAsideData, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-BGGNfy_M.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-BHz8Qist.js";
4
+ import { t as transWebUrl } from "./transWebUrl-CjdHwffp.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, I as asideRequest, G as GIcon, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-DxJFoNO4.js";
2
+ import { a as i18n, y as useLayoutConfig, t as transformUrl, I as asideRequest, G as GIcon, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-BGGNfy_M.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-BHz8Qist.js";
4
+ import { t as transWebUrl } from "./transWebUrl-CjdHwffp.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-DxJFoNO4.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-BGGNfy_M.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-DxJFoNO4.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BGGNfy_M.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-DxJFoNO4.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-BGGNfy_M.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, renderSlot, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-CAPAOsg7.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-DxJFoNO4.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-BMs7IWAY.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-BGGNfy_M.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-DxJFoNO4.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BGGNfy_M.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-DxJFoNO4.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-BGGNfy_M.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]" };
@@ -14531,7 +14531,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
14531
14531
  __props.data.vHtml ? (openBlock(), createElementBlock("div", {
14532
14532
  key: 0,
14533
14533
  title: __props.data.title,
14534
- innerHTML: __props.data.title || "",
14534
+ innerHTML: unref(xssPurify)(__props.data.title) || "",
14535
14535
  class: "overflow-hidden"
14536
14536
  }, null, 8, _hoisted_7$7)) : (openBlock(), createElementBlock("span", {
14537
14537
  key: 1,
@@ -15767,13 +15767,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
15767
15767
  var _a;
15768
15768
  const layoutConfig2 = useLayoutConfig();
15769
15769
  const { t: $t } = i18n.global;
15770
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BNrh-n61.js"));
15771
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-Cg_r3s6r.js"));
15772
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CpV9Y0-2.js"));
15773
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Ca_yx2TJ.js"));
15774
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-C-uLY739.js"));
15775
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-8fcmiStm.js"));
15776
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Elyth2MI.js"));
15770
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Dwq4aKu3.js"));
15771
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-BGdL5rBg.js"));
15772
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Cu1Y0_Ef.js"));
15773
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-C5lB3bDj.js"));
15774
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CAz2Lk-m.js"));
15775
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-Cf5hOyDq.js"));
15776
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BcM9qVkI.js"));
15777
15777
  const props = __props;
15778
15778
  const repoInfo = inject("repoInfo");
15779
15779
  const orgInfo = inject("orgInfo");
@@ -16547,7 +16547,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
16547
16547
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
16548
16548
  }
16549
16549
  };
16550
- const NoticeModal = defineAsyncComponent(() => import("./notice-CUm9r7g5.js"));
16550
+ const NoticeModal = defineAsyncComponent(() => import("./notice-BvkbG9vq.js"));
16551
16551
  function clearNotice() {
16552
16552
  if (localStorage$2.getItem("validator_email")) {
16553
16553
  localStorage$2.removeItem("validator_email");
@@ -17354,9 +17354,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17354
17354
  const layoutConfig2 = useLayoutConfig();
17355
17355
  const { t: t2 } = i18n.global;
17356
17356
  const route = useRoute();
17357
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-xG1zyDqG.js"));
17358
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-ewgKsv0G.js"));
17359
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BpIv8yk8.js"));
17357
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-CqmQVcXF.js"));
17358
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-tNrzUQp7.js"));
17359
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-Blpa1HZi.js"));
17360
17360
  const props = __props;
17361
17361
  console.log("slotKeys", props.slotKeys);
17362
17362
  console.log("props", props);
@@ -23572,7 +23572,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
23572
23572
  __publicField(_SlidCaptchaManager, "instance");
23573
23573
  let SlidCaptchaManager = _SlidCaptchaManager;
23574
23574
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
23575
- const SlidCaptcha = defineAsyncComponent(() => import("./index-3kx3gWG8.js"));
23575
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-C03Fddzr.js"));
23576
23576
  const useSlidCaptcha = () => {
23577
23577
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
23578
23578
  const open = (config) => {
@@ -23602,7 +23602,7 @@ const useSlidCaptcha = () => {
23602
23602
  close
23603
23603
  };
23604
23604
  };
23605
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-Bqx7R4V9.js"));
23605
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-rTlsZmo9.js"));
23606
23606
  const useYunpianCaptcha = () => {
23607
23607
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
23608
23608
  const open = (config) => {
@@ -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-DxJFoNO4.js";
4
- import { t as transWebUrl } from "./transWebUrl-BHz8Qist.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-BGGNfy_M.js";
4
+ import { t as transWebUrl } from "./transWebUrl-CjdHwffp.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";
@@ -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-DxJFoNO4.js";
2
+ import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-BGGNfy_M.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, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-DxJFoNO4.js";
11
+ import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-BGGNfy_M.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { O, P, W, N, S, Q, M, B, Y, V, X, U } from "./index-DxJFoNO4.js";
1
+ import { O, P, W, N, S, Q, M, B, Y, V, X, U } from "./index-BGGNfy_M.js";
2
2
  export {
3
3
  O as GitCodeAside,
4
4
  P 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-DxJFoNO4.js";
2
+ import { i as isPhone, u as useModel } from "./index-BGGNfy_M.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.10.39",
3
+ "version": "1.10.40",
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-DxJFoNO4.js";
1
+ import { y as useLayoutConfig } from "./index-BGGNfy_M.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;