vue-layout-gitcode 1.10.22 → 1.10.24

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-BkslUNV0.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-BfRwFz0M.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-qw7rZk1E.js";
7
- import "./transWebUrl-wAag8enq.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-BhWyqcUM.js";
7
+ import "./transWebUrl-CstjqzeK.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, z as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, x as getLocaleLang, G as GIcon, D as emitEvent, F as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BkslUNV0.js";
2
+ import { a as i18n, z as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, x as getLocaleLang, G as GIcon, D as emitEvent, F as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BfRwFz0M.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, z as useLayoutConfig, G as GIcon, t as transformUrl, I as _sfc_main$1, J as loadAsideData, D as emitEvent, s as setLoginTriggerSource, f as useRequestReport, H as asideRequest, _ as _export_sfc } from "./index-BkslUNV0.js";
2
+ import { a as i18n, z as useLayoutConfig, G as GIcon, t as transformUrl, I as _sfc_main$1, J as loadAsideData, D as emitEvent, s as setLoginTriggerSource, f as useRequestReport, H as asideRequest, _ as _export_sfc } from "./index-BfRwFz0M.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-wAag8enq.js";
4
+ import { t as transWebUrl } from "./transWebUrl-CstjqzeK.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, z as useLayoutConfig, t as transformUrl, H as asideRequest, G as GIcon, D as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-BkslUNV0.js";
2
+ import { a as i18n, z as useLayoutConfig, t as transformUrl, H as asideRequest, G as GIcon, D as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-BfRwFz0M.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-wAag8enq.js";
4
+ import { t as transWebUrl } from "./transWebUrl-CstjqzeK.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-BkslUNV0.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-BfRwFz0M.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-BkslUNV0.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BfRwFz0M.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-BkslUNV0.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-BfRwFz0M.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-qw7rZk1E.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-BkslUNV0.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-BhWyqcUM.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-BfRwFz0M.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-BkslUNV0.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BfRwFz0M.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-BkslUNV0.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-BfRwFz0M.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]" };
@@ -14559,7 +14559,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
14559
14559
  if (listData.value.length === 0) {
14560
14560
  return;
14561
14561
  }
14562
- const res = await API.updateMsgStatus(listData.value.map((item) => item.id), accountInfo.value.id);
14562
+ const ids = listData.value.map((item) => item.id).slice(0, 200);
14563
+ const res = await API.updateMsgStatus(ids, accountInfo.value.id);
14563
14564
  if (res && !(res == null ? void 0 : res.error)) {
14564
14565
  init2();
14565
14566
  }
@@ -14776,7 +14777,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
14776
14777
  data: item,
14777
14778
  onTrigger: ($event) => handleMessageRead(item)
14778
14779
  }, null, 8, ["type", "data", "onTrigger"]);
14779
- }), 128)) : (openBlock(), createElementBlock("div", _hoisted_6$9, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMessage")), 1)),
14780
+ }), 128)) : (openBlock(), createElementBlock("div", _hoisted_6$9, [
14781
+ createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMessage")), 1)
14782
+ ])),
14780
14783
  loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_7$6, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.loading")) + "... ", 1)) : createCommentVNode("", true),
14781
14784
  !hasMore.value && listData.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_8$5, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMore")), 1)) : createCommentVNode("", true)
14782
14785
  ])), [
@@ -15588,13 +15591,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
15588
15591
  var _a;
15589
15592
  const layoutConfig2 = useLayoutConfig();
15590
15593
  const { t: $t } = i18n.global;
15591
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-B1nhKxZT.js"));
15592
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-CkxoyvIN.js"));
15593
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Cww6QnKW.js"));
15594
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CNeh9ZUI.js"));
15595
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BVCP4EwP.js"));
15596
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-VKsFrnVC.js"));
15597
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-h59HxqHm.js"));
15594
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Dhe-X9Em.js"));
15595
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-BoZS91mv.js"));
15596
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Dy6W6OkO.js"));
15597
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Cz45g-bR.js"));
15598
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CkhpmDOk.js"));
15599
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-DJrVmChj.js"));
15600
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-C2YDv-Mn.js"));
15598
15601
  const props = __props;
15599
15602
  const repoInfo = inject("repoInfo");
15600
15603
  const orgInfo = inject("orgInfo");
@@ -16367,7 +16370,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
16367
16370
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
16368
16371
  }
16369
16372
  };
16370
- const NoticeModal = defineAsyncComponent(() => import("./notice-BvoTvWhI.js"));
16373
+ const NoticeModal = defineAsyncComponent(() => import("./notice-vvpcgnUy.js"));
16371
16374
  function clearNotice() {
16372
16375
  if (localStorage$2.getItem("validator_email")) {
16373
16376
  localStorage$2.removeItem("validator_email");
@@ -17170,9 +17173,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17170
17173
  const layoutConfig2 = useLayoutConfig();
17171
17174
  const { t: t2 } = i18n.global;
17172
17175
  const route = useRoute();
17173
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-Cc2jHXbR.js"));
17174
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-j-LSxPjX.js"));
17175
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-ByUCT_9V.js"));
17176
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-C93sdsWo.js"));
17177
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-CtVQl85R.js"));
17178
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BcYnW7Q4.js"));
17176
17179
  const props = __props;
17177
17180
  console.log("slotKeys", props.slotKeys);
17178
17181
  console.log("props", props);
@@ -23310,7 +23313,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
23310
23313
  __publicField(_SlidCaptchaManager, "instance");
23311
23314
  let SlidCaptchaManager = _SlidCaptchaManager;
23312
23315
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
23313
- const SlidCaptcha = defineAsyncComponent(() => import("./index-x3svxcfS.js"));
23316
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-Djw6-zVH.js"));
23314
23317
  const useSlidCaptcha = () => {
23315
23318
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
23316
23319
  const open = (config) => {
@@ -23340,7 +23343,7 @@ const useSlidCaptcha = () => {
23340
23343
  close
23341
23344
  };
23342
23345
  };
23343
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-BK8XcUy9.js"));
23346
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-CsVagXVg.js"));
23344
23347
  const useYunpianCaptcha = () => {
23345
23348
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
23346
23349
  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-BkslUNV0.js";
4
- import { t as transWebUrl } from "./transWebUrl-wAag8enq.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-BfRwFz0M.js";
4
+ import { t as transWebUrl } from "./transWebUrl-CstjqzeK.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";
@@ -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, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BkslUNV0.js";
11
+ import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BfRwFz0M.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  constructor() {
14
14
  __publicField(this, "ypRiddlerInstance", null);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, onMounted, nextTick, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { x as getLocaleLang, L as LANG_ZH, y as slidCaptchaManager, z as useLayoutConfig, _ as _export_sfc } from "./index-BkslUNV0.js";
2
+ import { x as getLocaleLang, L as LANG_ZH, y as slidCaptchaManager, z as useLayoutConfig, _ as _export_sfc } from "./index-BfRwFz0M.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 { N, O, V, M, S, P, K, B, X, U, W, Q } from "./index-BkslUNV0.js";
1
+ import { N, O, V, M, S, P, K, B, X, U, W, Q } from "./index-BfRwFz0M.js";
2
2
  export {
3
3
  N as GitCodeAside,
4
4
  O 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-BkslUNV0.js";
2
+ import { i as isPhone, u as useModel } from "./index-BfRwFz0M.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.22",
3
+ "version": "1.10.24",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",