vue-layout-gitcode 1.12.15-beta.56 → 1.12.15-beta.57

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-CBfBURIA.js";
3
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./useReportRepo-BBA5oOrD.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-L-3SsSi7.js";
3
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./useReportRepo-BZd31zwH.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-CBfBURIA.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-L-3SsSi7.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-CBfBURIA.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-L-3SsSi7.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-B0xLdCWp.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cx9ZRI5m.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-CBfBURIA.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-L-3SsSi7.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-B0xLdCWp.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cx9ZRI5m.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-CBfBURIA.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-L-3SsSi7.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-CBfBURIA.js";
2
+ import { a as i18n, n as normalizeSearchHistoryEntry, G as GIcon, _ as _export_sfc } from "./index-L-3SsSi7.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-BBA5oOrD.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-CBfBURIA.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./useReportRepo-BZd31zwH.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-L-3SsSi7.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-CBfBURIA.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-L-3SsSi7.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-CBfBURIA.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-L-3SsSi7.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-CBfBURIA.js";
11
+ import { a as i18n, k as usePageResize, A as isZh, _ as _export_sfc } from "./index-L-3SsSi7.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-CBfBURIA.js";
2
+ import { y as slidCaptchaManager, z as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-L-3SsSi7.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:";
@@ -16153,12 +16153,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
16153
16153
  setup(__props) {
16154
16154
  const layoutConfig2 = useLayoutConfig();
16155
16155
  const { t: $t } = i18n.global;
16156
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DiFQTudk.js"));
16157
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-B4UqFeav.js"));
16158
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BToo63lN.js"));
16159
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-C4c8kz4W.js"));
16160
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BSc_5zAp.js"));
16161
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BZtERyjj.js"));
16156
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-B3ykA31H.js"));
16157
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-Cde61Xu8.js"));
16158
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DiiT5MYU.js"));
16159
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-1RBcLezp.js"));
16160
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-mL7AhauQ.js"));
16161
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Dknq89dY.js"));
16162
16162
  const props = __props;
16163
16163
  const repoInfo = inject("repoInfo", computed(() => void 0));
16164
16164
  const orgInfo = inject("orgInfo", computed(() => void 0));
@@ -17526,7 +17526,7 @@ const vElementExposure = {
17526
17526
  beforeUnmount() {
17527
17527
  }
17528
17528
  };
17529
- const NoticeModal = defineAsyncComponent(() => import("./notice-CCYUf9Us.js"));
17529
+ const NoticeModal = defineAsyncComponent(() => import("./notice-BJoRIGi5.js"));
17530
17530
  function clearNotice() {
17531
17531
  if (localStorage$2.getItem("validator_email")) {
17532
17532
  localStorage$2.removeItem("validator_email");
@@ -17559,7 +17559,10 @@ const _hoisted_3$h = {
17559
17559
  key: 1,
17560
17560
  class: "search-avatar"
17561
17561
  };
17562
- const _hoisted_4$c = { class: "g-toolbar-right__claim-row" };
17562
+ const _hoisted_4$c = {
17563
+ key: 2,
17564
+ class: "g-toolbar-right__claim-row"
17565
+ };
17563
17566
  const _hoisted_5$7 = {
17564
17567
  key: 0,
17565
17568
  class: "g-toolbar-right-divider"
@@ -17902,6 +17905,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17902
17905
  });
17903
17906
  claimPowerConfig.value = (res == null ? void 0 : res.data) || {};
17904
17907
  };
17908
+ const isClaimRowVisible = computed(() => {
17909
+ var _a2;
17910
+ return Boolean(((_a2 = claimPowerConfig.value) == null ? void 0 : _a2.visible) || isModuleVisible(HeaderDisplayItem.OPERATION_ENTRY));
17911
+ });
17905
17912
  onMounted(() => {
17906
17913
  getClaimPowerConfig();
17907
17914
  toNotice();
@@ -18113,11 +18120,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
18113
18120
  isLogin: props.isLogin
18114
18121
  }, null, 8, ["workspace-navigate", "isLogin"])
18115
18122
  ], true) : createCommentVNode("", true),
18116
- createElementVNode("div", _hoisted_4$c, [
18123
+ isClaimRowVisible.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
18117
18124
  createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"]),
18118
18125
  isModuleVisible(unref(HeaderDisplayItem).OPERATION_ENTRY) ? (openBlock(), createBlock(OperationEntry, { key: 0 })) : createCommentVNode("", true)
18119
- ]),
18120
- !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
18126
+ ])) : createCommentVNode("", true),
18127
+ !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
18121
18128
  !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_5$7)) : createCommentVNode("", true),
18122
18129
  isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
18123
18130
  unref(isMobile) ? (openBlock(), createElementBlock("section", {
@@ -18153,7 +18160,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
18153
18160
  })
18154
18161
  ], 64)) : createCommentVNode("", true)
18155
18162
  ], 64)) : createCommentVNode("", true)
18156
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
18163
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 4 }, [
18157
18164
  !["sm"].includes(unref(widthType)) ? (openBlock(), createElementBlock("div", _hoisted_6$6)) : createCommentVNode("", true),
18158
18165
  !["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(HeaderCreateMenu, {
18159
18166
  key: 1,
@@ -19922,9 +19929,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19922
19929
  const layoutConfig2 = useLayoutConfig();
19923
19930
  const { t: t2 } = i18n.global;
19924
19931
  const route = useRoute();
19925
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-CSUD9h9u.js"));
19926
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-Cri1p6cu.js"));
19927
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BIfK-2PP.js"));
19932
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-DV6QzNnn.js"));
19933
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DTwA_NBs.js"));
19934
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BQweGz7_.js"));
19928
19935
  const props = __props;
19929
19936
  const useReport2 = inject("useReport");
19930
19937
  const userInfo = inject("userInfo");
@@ -26378,7 +26385,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26378
26385
  __publicField(_SlidCaptchaManager, "instance");
26379
26386
  let SlidCaptchaManager = _SlidCaptchaManager;
26380
26387
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26381
- const SlidCaptcha = defineAsyncComponent(() => import("./index-DIQGBKan.js"));
26388
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CcIDm-yG.js"));
26382
26389
  const useSlidCaptcha = () => {
26383
26390
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26384
26391
  const open = (config) => {
@@ -26408,7 +26415,7 @@ const useSlidCaptcha = () => {
26408
26415
  close
26409
26416
  };
26410
26417
  };
26411
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-BfbWU9zk.js"));
26418
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-BgCGiX2E.js"));
26412
26419
  const useYunpianCaptcha = () => {
26413
26420
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26414
26421
  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-CBfBURIA.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-L-3SsSi7.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-CBfBURIA.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-L-3SsSi7.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.56",
3
+ "version": "1.12.15-beta.57",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",