vue-layout-gitcode 1.12.46 → 1.12.48

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, a as i18n, c as useLayoutConfig, G as GIcon } from "./index-mlmVS3BC.js";
3
- import { u as useReportRepo, S as SearchRepoCard, m as mergeSearchSuggestions } from "./search-suggestion-Ktj1zhE3.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-DeGDfCYb.js";
3
+ import { u as useReportRepo, S as SearchRepoCard, m as mergeSearchSuggestions } from "./search-suggestion-DgGrJ-K7.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, 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-mlmVS3BC.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-DeGDfCYb.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, 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-mlmVS3BC.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-DeGDfCYb.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-C2cxq1ps.js";
4
+ import { t as transWebUrl } from "./transWebUrl-CqeYOxhc.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, c as useLayoutConfig, t as transformUrl, M as asideRequest, G as GIcon, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, e as useRequestReport, _ as _export_sfc } from "./index-mlmVS3BC.js";
2
+ import { a as i18n, c as useLayoutConfig, t as transformUrl, M as asideRequest, G as GIcon, K as navigateWithMigrationGuard, H as emitEvent, s as setLoginTriggerSource, e as useRequestReport, _ as _export_sfc } from "./index-DeGDfCYb.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-C2cxq1ps.js";
4
+ import { t as transWebUrl } from "./transWebUrl-CqeYOxhc.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-mlmVS3BC.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-DeGDfCYb.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-mlmVS3BC.js";
2
+ import { a as i18n, n as normalizeSearchHistoryEntry, G as GIcon, _ as _export_sfc } from "./index-DeGDfCYb.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, i as isProjectSuggestionType, n as normalizeProjectUrlForMainSite } from "./search-suggestion-Ktj1zhE3.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-mlmVS3BC.js";
2
+ import { u as useReportRepo, S as SearchRepoCard, i as isProjectSuggestionType, n as normalizeProjectUrlForMainSite } from "./search-suggestion-DgGrJ-K7.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-DeGDfCYb.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-mlmVS3BC.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DeGDfCYb.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-mlmVS3BC.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-DeGDfCYb.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 { z as slidCaptchaManager, c as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-mlmVS3BC.js";
2
+ import { z as slidCaptchaManager, c as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-DeGDfCYb.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-mlmVS3BC.js";
11
+ import { a as i18n, j as usePageResize, A as isZh, _ as _export_sfc } from "./index-DeGDfCYb.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {
@@ -13432,19 +13432,19 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
13432
13432
  is_round: false
13433
13433
  }, null, 8, ["src", "name"]),
13434
13434
  createElementVNode("div", _hoisted_2$v, [
13435
- createElementVNode("span", _hoisted_3$u, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1),
13436
- orgEnterpriseId.value ? (openBlock(), createElementBlock("span", {
13437
- key: 0,
13438
- class: "header-custom-enterprise-btn org-layout-toolbar-enterprise",
13439
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleEnterpriseClick(orgEnterpriseId.value, orgEnterpriseName.value), ["stop", "prevent"]))
13440
- }, [
13441
- createVNode(GIcon, {
13442
- name: "gt-enterprise",
13443
- size: "16px",
13444
- class: "header-custom-enterprise-icon"
13445
- })
13446
- ])) : createCommentVNode("", true)
13447
- ])
13435
+ createElementVNode("span", _hoisted_3$u, toDisplayString$1((_c2 = unref(orgInfo)) == null ? void 0 : _c2.name), 1)
13436
+ ]),
13437
+ orgEnterpriseId.value ? (openBlock(), createElementBlock("span", {
13438
+ key: 0,
13439
+ class: "header-custom-enterprise-btn org-layout-toolbar-enterprise",
13440
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleEnterpriseClick(orgEnterpriseId.value, orgEnterpriseName.value), ["stop", "prevent"]))
13441
+ }, [
13442
+ createVNode(GIcon, {
13443
+ name: "gt-enterprise1",
13444
+ size: "16px",
13445
+ class: "header-custom-enterprise-icon"
13446
+ })
13447
+ ])) : createCommentVNode("", true)
13448
13448
  ];
13449
13449
  }),
13450
13450
  _: 1
@@ -13587,7 +13587,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
13587
13587
  onClick: _cache[2] || (_cache[2] = ($event) => handleEnterpriseClick(repoEnterpriseId.value, repoEnterpriseName.value))
13588
13588
  }, [
13589
13589
  createVNode(GIcon, {
13590
- name: "gt-enterprise",
13590
+ name: "gt-enterprise1",
13591
13591
  size: "16px",
13592
13592
  class: "header-custom-enterprise-icon"
13593
13593
  })
@@ -16048,12 +16048,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16048
16048
  setup(__props) {
16049
16049
  const layoutConfig2 = useLayoutConfig();
16050
16050
  const { t: $t } = i18n.global;
16051
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BWgYkutQ.js"));
16052
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-Bue3puQ9.js"));
16053
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-B-aOzEWA.js"));
16054
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Df0MQwp7.js"));
16055
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-NBZTpiza.js"));
16056
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-B0kWk7LT.js"));
16051
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BjvTpyHG.js"));
16052
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-Bl5NlF8w.js"));
16053
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DlN5CIiN.js"));
16054
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DSzmJaiq.js"));
16055
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-Bd8z5pfE.js"));
16056
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Cz5wdSW5.js"));
16057
16057
  const props = __props;
16058
16058
  const repoInfo = inject("repoInfo", computed(() => void 0));
16059
16059
  const orgInfo = inject("orgInfo", computed(() => void 0));
@@ -17444,7 +17444,7 @@ const vElementExposure = {
17444
17444
  beforeUnmount() {
17445
17445
  }
17446
17446
  };
17447
- const NoticeModal = defineAsyncComponent(() => import("./notice-BBT58A2W.js"));
17447
+ const NoticeModal = defineAsyncComponent(() => import("./notice-BfZ0ZS1h.js"));
17448
17448
  function clearNotice() {
17449
17449
  if (localStorage$2.getItem("validator_email")) {
17450
17450
  localStorage$2.removeItem("validator_email");
@@ -19894,9 +19894,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19894
19894
  const layoutConfig2 = useLayoutConfig();
19895
19895
  const { t: t2 } = i18n.global;
19896
19896
  const route = useRoute();
19897
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-SfuInJ1G.js"));
19898
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-Cl-jQE6q.js"));
19899
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-ywyUGGqm.js"));
19897
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-DqIhS8S4.js"));
19898
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-aHSdKWzH.js"));
19899
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DuP20QR9.js"));
19900
19900
  const props = __props;
19901
19901
  const useReport2 = inject("useReport");
19902
19902
  const userInfo = inject("userInfo");
@@ -26367,7 +26367,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26367
26367
  __publicField(_SlidCaptchaManager, "instance");
26368
26368
  let SlidCaptchaManager = _SlidCaptchaManager;
26369
26369
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26370
- const SlidCaptcha = defineAsyncComponent(() => import("./index-B42Bonoc.js"));
26370
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CpLWFp5g.js"));
26371
26371
  const useSlidCaptcha = () => {
26372
26372
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26373
26373
  const open = (config) => {
@@ -26397,7 +26397,7 @@ const useSlidCaptcha = () => {
26397
26397
  close
26398
26398
  };
26399
26399
  };
26400
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-DJnaTbtP.js"));
26400
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-DJYL3DkE.js"));
26401
26401
  const useYunpianCaptcha = () => {
26402
26402
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26403
26403
  const open = (config) => {
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-mlmVS3BC.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-DeGDfCYb.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-mlmVS3BC.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-DeGDfCYb.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.46",
3
+ "version": "1.12.48",
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, 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, e as useRequestReport, r as reqCatch, 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-mlmVS3BC.js";
3
- import { t as transWebUrl } from "./transWebUrl-C2cxq1ps.js";
2
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, e as useRequestReport, r as reqCatch, 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-DeGDfCYb.js";
3
+ import { t as transWebUrl } from "./transWebUrl-CqeYOxhc.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";