vue-layout-gitcode 1.12.15-beta.65 → 1.12.15-beta.66

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, createElementBlock, openBlock, Fragment, renderList, withDirectives, createBlock, unref, ref, watch, createElementVNode, createCommentVNode, createVNode, toDisplayString } from "vue";
2
- import { h as headRequest, R as REPO_MODULE, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL, a as i18n, G as GIcon } from "./index-C2PKzuq6.js";
3
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./useReportRepo-CBA-Tnmu.js";
2
+ import { h as headRequest, R as REPO_MODULE, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL, a as i18n, G as GIcon } from "./index-By8V1pEl.js";
3
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./useReportRepo-HMsMztZ4.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, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createTextVNode, toDisplayString, renderSlot } from "vue";
2
- import { a as i18n, z 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-C2PKzuq6.js";
2
+ import { a as i18n, z 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-By8V1pEl.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, N as _sfc_main$1, O as loadAsideData, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, f as useRequestReport, M as asideRequest, _ as _export_sfc } from "./index-C2PKzuq6.js";
2
+ import { a as i18n, z 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, f as useRequestReport, M as asideRequest, _ as _export_sfc } from "./index-By8V1pEl.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-9O_5B0ff.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BiYYzBat.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, M as asideRequest, G as GIcon, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-C2PKzuq6.js";
2
+ import { a as i18n, z as useLayoutConfig, t as transformUrl, M as asideRequest, G as GIcon, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-By8V1pEl.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-9O_5B0ff.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BiYYzBat.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, 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-C2PKzuq6.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-By8V1pEl.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, n as normalizeSearchHistoryEntry, G as GIcon, _ as _export_sfc } from "./index-C2PKzuq6.js";
2
+ import { a as i18n, n as normalizeSearchHistoryEntry, G as GIcon, _ as _export_sfc } from "./index-By8V1pEl.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 "./useReportRepo-CBA-Tnmu.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-C2PKzuq6.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./useReportRepo-HMsMztZ4.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-By8V1pEl.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-C2PKzuq6.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-By8V1pEl.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, 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-C2PKzuq6.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-By8V1pEl.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, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { y as slidCaptchaManager, z as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-C2PKzuq6.js";
2
+ import { y as slidCaptchaManager, z as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-By8V1pEl.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:";
@@ -349,9 +349,10 @@ function udeskInit(config = {}, open = false) {
349
349
  const userInfo = localStorage$2.getItem("userInfo") || "";
350
350
  const cPhone = userInfo ? (_a = JSON.parse(userInfo)) == null ? void 0 : _a.mobile : "";
351
351
  const cName = userInfo ? (_b = JSON.parse(userInfo)) == null ? void 0 : _b.username : "";
352
+ const cToken = cPhone ? cName + "_" + cPhone : "";
352
353
  const cEmail = userInfo ? (_c = JSON.parse(userInfo)) == null ? void 0 : _c.email : "";
353
354
  const imUserKey = "d7f63a098fcee3937b1534fa179861da";
354
- const strSign = `nonce=${randomNum}&timestamp=${nowTimeStr}&web_token=${cPhone}&${imUserKey}`;
355
+ const strSign = `nonce=${randomNum}&timestamp=${nowTimeStr}&web_token=${cToken}&${imUserKey}`;
355
356
  const strSignature = sha1$1(strSign);
356
357
  if (userInfo || open) {
357
358
  (function(a, h2, c, b, f, g) {
@@ -375,7 +376,7 @@ function udeskInit(config = {}, open = false) {
375
376
  // 自定义客户信息
376
377
  nonce: randomNum,
377
378
  timestamp: nowTimeStr,
378
- web_token: cPhone,
379
+ web_token: cToken,
379
380
  c_name: cName,
380
381
  c_phone: cPhone,
381
382
  c_email: cEmail,
@@ -15937,12 +15938,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15937
15938
  setup(__props) {
15938
15939
  const layoutConfig2 = useLayoutConfig();
15939
15940
  const { t: $t } = i18n.global;
15940
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DwDXaTML.js"));
15941
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-BNK0_7Sb.js"));
15942
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-C_uS_Hbh.js"));
15943
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Cu6UkkuX.js"));
15944
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CxmQceVu.js"));
15945
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DPdZOEmw.js"));
15941
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DX4uCpR1.js"));
15942
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DYjtbj72.js"));
15943
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Diyst7cl.js"));
15944
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-KxJ1Ia2p.js"));
15945
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-KjsZJhZi.js"));
15946
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-UVP8pIiJ.js"));
15946
15947
  const props = __props;
15947
15948
  const repoInfo = inject("repoInfo", computed(() => void 0));
15948
15949
  const orgInfo = inject("orgInfo", computed(() => void 0));
@@ -17332,7 +17333,7 @@ const vElementExposure = {
17332
17333
  beforeUnmount() {
17333
17334
  }
17334
17335
  };
17335
- const NoticeModal = defineAsyncComponent(() => import("./notice-CObdDYSj.js"));
17336
+ const NoticeModal = defineAsyncComponent(() => import("./notice-B__eBSrb.js"));
17336
17337
  function clearNotice() {
17337
17338
  if (localStorage$2.getItem("validator_email")) {
17338
17339
  localStorage$2.removeItem("validator_email");
@@ -19758,9 +19759,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19758
19759
  const layoutConfig2 = useLayoutConfig();
19759
19760
  const { t: t2 } = i18n.global;
19760
19761
  const route = useRoute();
19761
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-CJEDocOW.js"));
19762
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DIuZkXS0.js"));
19763
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-ybKddQc8.js"));
19762
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-Dk9LTilC.js"));
19763
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-UCVXfI9e.js"));
19764
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-Dqu95rNf.js"));
19764
19765
  const props = __props;
19765
19766
  const useReport2 = inject("useReport");
19766
19767
  const userInfo = inject("userInfo");
@@ -26214,7 +26215,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26214
26215
  __publicField(_SlidCaptchaManager, "instance");
26215
26216
  let SlidCaptchaManager = _SlidCaptchaManager;
26216
26217
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26217
- const SlidCaptcha = defineAsyncComponent(() => import("./index-yb4pP7I6.js"));
26218
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-BHzDye0L.js"));
26218
26219
  const useSlidCaptcha = () => {
26219
26220
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26220
26221
  const open = (config) => {
@@ -26244,7 +26245,7 @@ const useSlidCaptcha = () => {
26244
26245
  close
26245
26246
  };
26246
26247
  };
26247
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-ByMlkNg8.js"));
26248
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-qtwDiRcQ.js"));
26248
26249
  const useYunpianCaptcha = () => {
26249
26250
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26250
26251
  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, A as isZh, _ as _export_sfc } from "./index-C2PKzuq6.js";
11
+ import { a as i18n, k as usePageResize, A as isZh, _ as _export_sfc } from "./index-By8V1pEl.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 { a3, $, a1, U, V, X, a6, a8, a0, Y, Z, Q, S, W, a2, P, C, a9, a5, a7, a4 } from "./index-C2PKzuq6.js";
1
+ import { a3, $, a1, U, V, X, a6, a8, a0, Y, Z, Q, S, W, a2, P, C, a9, a5, a7, a4 } from "./index-By8V1pEl.js";
2
2
  export {
3
3
  a3 as AsideFooterTools,
4
4
  $ as AtomCodeLauncher,
@@ -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-C2PKzuq6.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-By8V1pEl.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.65",
3
+ "version": "1.12.15-beta.66",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
- import { z as useLayoutConfig } from "./index-C2PKzuq6.js";
1
+ import { z as useLayoutConfig } from "./index-By8V1pEl.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, toDisplayString, unref, mergeModels, useModel, ref, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, renderList, withCtx, reactive, onMounted, watchEffect } from "vue";
2
- 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, o as _sfc_main$b, p as isIncubationRepo, q as highlightWords, t as transformUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, x as LANG_KEY } from "./index-C2PKzuq6.js";
3
- import { t as transWebUrl } from "./transWebUrl-9O_5B0ff.js";
2
+ 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, o as _sfc_main$b, p as isIncubationRepo, q as highlightWords, t as transformUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, x as LANG_KEY } from "./index-By8V1pEl.js";
3
+ import { t as transWebUrl } from "./transWebUrl-BiYYzBat.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";