vue-layout-gitcode 1.12.40 → 1.12.41

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-CoTmqqqd.js";
3
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./useReportRepo-6cg_fubT.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-h_W8HYhU.js";
3
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./useReportRepo-CXlL6SCW.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-CoTmqqqd.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-h_W8HYhU.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-CoTmqqqd.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-h_W8HYhU.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-BJOs3T2E.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BczLVmeW.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-CoTmqqqd.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-h_W8HYhU.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-BJOs3T2E.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BczLVmeW.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-CoTmqqqd.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-h_W8HYhU.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-CoTmqqqd.js";
2
+ import { a as i18n, n as normalizeSearchHistoryEntry, G as GIcon, _ as _export_sfc } from "./index-h_W8HYhU.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-6cg_fubT.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-CoTmqqqd.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./useReportRepo-CXlL6SCW.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-h_W8HYhU.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-CoTmqqqd.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-h_W8HYhU.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-CoTmqqqd.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-h_W8HYhU.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" };
@@ -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-CoTmqqqd.js";
11
+ import { a as i18n, k as usePageResize, A as isZh, _ as _export_sfc } from "./index-h_W8HYhU.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 { y as slidCaptchaManager, z as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-CoTmqqqd.js";
2
+ import { y as slidCaptchaManager, z as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-h_W8HYhU.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:";
@@ -11269,7 +11269,6 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
11269
11269
  props: {
11270
11270
  dropdownVisible: { type: Boolean, default: false },
11271
11271
  isCreateOrg: { type: Boolean, default: true },
11272
- isCreateEnterprise: { type: Boolean, default: false },
11273
11272
  items: { default: void 0 },
11274
11273
  onNavigate: { type: Function, default: void 0 }
11275
11274
  },
@@ -11341,7 +11340,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
11341
11340
  const menuItems = computed(() => {
11342
11341
  const baseItems = props.items || defaultMenuItems.value;
11343
11342
  const items = props.isCreateOrg ? baseItems : baseItems.filter((item) => item.key !== "organization");
11344
- return props.isCreateEnterprise ? [...items, enterpriseMenuItem] : items;
11343
+ return [...items, enterpriseMenuItem];
11345
11344
  });
11346
11345
  function getMenuItems() {
11347
11346
  var _a;
@@ -15958,12 +15957,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15958
15957
  setup(__props) {
15959
15958
  const layoutConfig2 = useLayoutConfig();
15960
15959
  const { t: $t } = i18n.global;
15961
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-D7so4Y5b.js"));
15962
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-sYipfTC1.js"));
15963
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-8m-1kram.js"));
15964
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-E2zinsuS.js"));
15965
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CsOUkAzu.js"));
15966
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-D7yqw2C4.js"));
15960
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-RPXFMu1R.js"));
15961
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-CfYdnSSt.js"));
15962
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-YilLmuv9.js"));
15963
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DLHiQxon.js"));
15964
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BcysuWPy.js"));
15965
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Cdt_7uFd.js"));
15967
15966
  const props = __props;
15968
15967
  const repoInfo = inject("repoInfo", computed(() => void 0));
15969
15968
  const orgInfo = inject("orgInfo", computed(() => void 0));
@@ -17354,7 +17353,7 @@ const vElementExposure = {
17354
17353
  beforeUnmount() {
17355
17354
  }
17356
17355
  };
17357
- const NoticeModal = defineAsyncComponent(() => import("./notice-CjPGlCcz.js"));
17356
+ const NoticeModal = defineAsyncComponent(() => import("./notice-CHV_1LwE.js"));
17358
17357
  function clearNotice() {
17359
17358
  if (localStorage$2.getItem("validator_email")) {
17360
17359
  localStorage$2.removeItem("validator_email");
@@ -19518,7 +19517,6 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19518
19517
  dropdownVisible: _ctx.openCreateDropdown,
19519
19518
  items: _ctx.createMenuItems,
19520
19519
  onNavigate: _ctx.createMenuNavigate,
19521
- "is-create-enterprise": "",
19522
19520
  "onUpdate:dropdownVisible": _cache[3] || (_cache[3] = ($event) => emit("update:openCreateDropdown", $event))
19523
19521
  }, null, 8, ["dropdownVisible", "items", "onNavigate"])) : createCommentVNode("", true),
19524
19522
  isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 2 })) : createCommentVNode("", true),
@@ -19786,9 +19784,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19786
19784
  const layoutConfig2 = useLayoutConfig();
19787
19785
  const { t: t2 } = i18n.global;
19788
19786
  const route = useRoute();
19789
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-CWZ5KP6I.js"));
19790
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-CgD8Qw8R.js"));
19791
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-D0DTp4x5.js"));
19787
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-C7ckVqSq.js"));
19788
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-Cy-_DEso.js"));
19789
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-B0Lg78cL.js"));
19792
19790
  const props = __props;
19793
19791
  const useReport2 = inject("useReport");
19794
19792
  const userInfo = inject("userInfo");
@@ -26241,7 +26239,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26241
26239
  __publicField(_SlidCaptchaManager, "instance");
26242
26240
  let SlidCaptchaManager = _SlidCaptchaManager;
26243
26241
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26244
- const SlidCaptcha = defineAsyncComponent(() => import("./index-Dq_QwsS1.js"));
26242
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-COQDnVGm.js"));
26245
26243
  const useSlidCaptcha = () => {
26246
26244
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26247
26245
  const open = (config) => {
@@ -26271,7 +26269,7 @@ const useSlidCaptcha = () => {
26271
26269
  close
26272
26270
  };
26273
26271
  };
26274
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-BsRXUfO7.js"));
26272
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-CCw22BCm.js"));
26275
26273
  const useYunpianCaptcha = () => {
26276
26274
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26277
26275
  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-CoTmqqqd.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-h_W8HYhU.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-CoTmqqqd.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-h_W8HYhU.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.40",
3
+ "version": "1.12.41",
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-CoTmqqqd.js";
1
+ import { z as useLayoutConfig } from "./index-h_W8HYhU.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-CoTmqqqd.js";
3
- import { t as transWebUrl } from "./transWebUrl-BJOs3T2E.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-h_W8HYhU.js";
3
+ import { t as transWebUrl } from "./transWebUrl-BczLVmeW.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";