vue-layout-gitcode 1.5.20 → 1.5.22

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,8 +1,8 @@
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-D3iUCcXT.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-B1a2Ad0A.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-D34AqPB_.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-ByCTlzyt.js";
6
6
  import "vue-devui-lal/tooltip";
7
7
  import "vue-devui-lal/tooltip/style.css";
8
8
  import "vue-router";
@@ -1,8 +1,8 @@
1
- import { ref, computed, createElementBlock, openBlock, normalizeClass, createBlock, createElementVNode, toDisplayString } from "vue";
2
- import { _ as _export_sfc, y as ThemeType, z as currentTheme, j as LANG_ZH, A as LANG_EN, B as getLocaleLang, G as GIcon, C as isHttps } from "./index-D3iUCcXT.js";
1
+ import { defineComponent, inject, ref, computed, createElementBlock, openBlock, normalizeClass, createBlock, createElementVNode, toDisplayString } from "vue";
2
+ import { y as ThemeType, z as currentTheme, j as LANG_ZH, A as LANG_EN, B as getLocaleLang, G as GIcon, C as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-D34AqPB_.js";
3
3
  import { useRouter } from "vue-router";
4
4
  const _hoisted_1 = ["src"];
5
- const _sfc_main = {
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "MenuItem",
7
7
  props: {
8
8
  item: {
@@ -16,6 +16,7 @@ const _sfc_main = {
16
16
  }
17
17
  },
18
18
  setup(__props) {
19
+ const useReport = inject("useReport");
19
20
  const router = useRouter();
20
21
  const props = __props;
21
22
  const isHover = ref(false);
@@ -52,6 +53,15 @@ const _sfc_main = {
52
53
  const handleMouseLeave = () => {
53
54
  isHover.value = false;
54
55
  };
56
+ const clickMenuReport = () => {
57
+ if (!useReport) {
58
+ return;
59
+ }
60
+ const reportName = props.item.left_menu_name_cn;
61
+ if (reportName) {
62
+ useReport(REPO_EVENT.CLICK, { module_name: `侧边栏_${reportName}` });
63
+ }
64
+ };
55
65
  const handleMenuClick = () => {
56
66
  const currentHref = window.location.href;
57
67
  if (props.item.left_menu_url === currentHref) {
@@ -66,6 +76,7 @@ const _sfc_main = {
66
76
  path: props.item.left_menu_url
67
77
  });
68
78
  }
79
+ clickMenuReport();
69
80
  };
70
81
  return (_ctx, _cache) => {
71
82
  return openBlock(), createElementBlock("div", {
@@ -90,7 +101,7 @@ const _sfc_main = {
90
101
  ], 34);
91
102
  };
92
103
  }
93
- };
104
+ });
94
105
  const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
95
106
  export {
96
107
  MenuItem as default
@@ -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-D3iUCcXT.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-D34AqPB_.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-D3iUCcXT.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-D34AqPB_.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-D3iUCcXT.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-D34AqPB_.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, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-B1a2Ad0A.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-D3iUCcXT.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-ByCTlzyt.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-D34AqPB_.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-D3iUCcXT.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-D34AqPB_.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 } from "./index-D3iUCcXT.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-D34AqPB_.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]" };
@@ -1,5 +1,5 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, withCtx, reactive } from "vue";
2
- import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-D3iUCcXT.js";
2
+ import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-D34AqPB_.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { Row, Col } from "vue-devui-lal/grid";
5
5
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, render, resolveComponent, watchEffect, withDirectives, vShow, guardReactiveProps, onBeforeUnmount, nextTick, defineAsyncComponent, withKeys, useCssVars, useSlots, resolveDynamicComponent, resolveDirective, createSlots, toRaw, mergeModels, useModel as useModel$1, watchPostEffect } from "vue";
1
+ import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, render, resolveComponent, watchEffect, withDirectives, vShow, guardReactiveProps, onBeforeUnmount, nextTick, defineAsyncComponent, withKeys, useCssVars, useSlots, resolveDynamicComponent, createSlots, toRaw, mergeModels, useModel as useModel$1, watchPostEffect } from "vue";
2
2
  import { Button } from "vue-devui-lal/button";
3
3
  import { Popover } from "vue-devui-lal/popover";
4
4
  import { Tooltip } from "vue-devui-lal/tooltip";
@@ -18215,13 +18215,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18215
18215
  var _a;
18216
18216
  const layoutConfig2 = useLayoutConfig();
18217
18217
  const { t: $t } = i18n.global;
18218
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BReUb7jh.js"));
18219
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-D4MYsaIk.js"));
18220
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-C0mvrupJ.js"));
18221
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DcYhoV2v.js"));
18222
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-P3jI4jMO.js"));
18223
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-DhRlJjja.js"));
18224
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-By4iEu69.js"));
18218
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-cDK0UiDC.js"));
18219
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-CUshyq3c.js"));
18220
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-D3FltEhh.js"));
18221
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-hnUwSPQP.js"));
18222
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CKBt03zN.js"));
18223
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-XlmXFjnV.js"));
18224
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Bh_esdbP.js"));
18225
18225
  const props = __props;
18226
18226
  const repoInfo = inject("repoInfo");
18227
18227
  const orgInfo = inject("orgInfo");
@@ -18831,7 +18831,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18831
18831
  }
18832
18832
  });
18833
18833
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18834
- const NoticeModal = defineAsyncComponent(() => import("./notice-D9czqVFR.js"));
18834
+ const NoticeModal = defineAsyncComponent(() => import("./notice-DPT07XxY.js"));
18835
18835
  function clearNotice() {
18836
18836
  if (localStorage$2.getItem("validator_email")) {
18837
18837
  localStorage$2.removeItem("validator_email");
@@ -20814,9 +20814,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
20814
20814
  });
20815
20815
  const AsideContent = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-gitcode-layout-lib"]]);
20816
20816
  const useConfigSide = (request) => {
20817
- useLayoutConfig();
20818
20817
  const API = asideRequest(request);
20819
20818
  const route = useRoute();
20819
+ const sideLoading = ref(false);
20820
20820
  const isEn = computed(() => {
20821
20821
  return getLocaleLang() === LANG_EN;
20822
20822
  });
@@ -20862,6 +20862,7 @@ const useConfigSide = (request) => {
20862
20862
  };
20863
20863
  const fetchArea = async () => {
20864
20864
  var _a;
20865
+ sideLoading.value = true;
20865
20866
  const res = await API.getAsideConfig();
20866
20867
  const asideList = ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.data) || [];
20867
20868
  if (judgeIsShowAssetMenus(asideList)) {
@@ -20869,12 +20870,14 @@ const useConfigSide = (request) => {
20869
20870
  } else {
20870
20871
  area.value = groupByArea([...asideList]);
20871
20872
  }
20873
+ sideLoading.value = false;
20872
20874
  };
20873
20875
  return {
20874
20876
  isEn,
20875
20877
  showBgColor,
20876
20878
  area,
20877
- fetchArea
20879
+ fetchArea,
20880
+ sideLoading
20878
20881
  };
20879
20882
  };
20880
20883
  const _hoisted_1$g = { class: "area" };
@@ -20888,7 +20891,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
20888
20891
  const layoutConfig2 = useLayoutConfig();
20889
20892
  const { t: t2 } = i18n.global;
20890
20893
  const route = useRoute();
20891
- const MenuItem2 = defineAsyncComponent(() => import("./MenuItem-HtjXjegq.js"));
20894
+ const MenuItem2 = defineAsyncComponent(() => import("./MenuItem-D2HskyG5.js"));
20892
20895
  const ProjectMenuListV22 = defineAsyncComponent(() => Promise.resolve().then(() => ProjectMenuListV2$1));
20893
20896
  const ProjectMenuList2 = defineAsyncComponent(() => Promise.resolve().then(() => ProjectMenuList$1));
20894
20897
  const props = __props;
@@ -21045,6 +21048,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
21045
21048
  };
21046
21049
  }
21047
21050
  });
21051
+ const Area = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-gitcode-layout-lib"]]);
21048
21052
  const _hoisted_1$f = { class: "aside-footer-tools-item" };
21049
21053
  const _hoisted_2$a = { class: "aside-footer-tools-item-dropdown-item" };
21050
21054
  const _hoisted_3$7 = { class: "aside-footer-tools-item-dropdown-item" };
@@ -21144,15 +21148,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
21144
21148
  }
21145
21149
  });
21146
21150
  const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-gitcode-layout-lib"]]);
21147
- const _hoisted_1$e = { class: "flex-1 flex flex-col justify-between min-w-0 aside-menus" };
21148
- const _hoisted_2$9 = { class: "aside-menus" };
21151
+ const _hoisted_1$e = { class: "flex-[1] flex flex-col justify-between min-h-0" };
21152
+ const _hoisted_2$9 = { key: 0 };
21149
21153
  const _hoisted_3$6 = {
21150
- key: 0,
21151
- class: "line mt-[16px] mb-[6px]"
21154
+ key: 1,
21155
+ class: "aside-menus"
21152
21156
  };
21153
21157
  const _hoisted_4$6 = {
21154
21158
  key: 0,
21155
- class: "aside-footer"
21159
+ class: "line mt-[16px] mb-[6px]"
21156
21160
  };
21157
21161
  const _hoisted_5$4 = { class: "aside-footer-tools" };
21158
21162
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
@@ -21172,7 +21176,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21172
21176
  setup(__props) {
21173
21177
  const request = inject("request");
21174
21178
  const useReport2 = inject("useReport");
21175
- const { isEn, showBgColor, area, fetchArea } = useConfigSide(request);
21179
+ const { isEn, showBgColor, area, fetchArea, sideLoading } = useConfigSide(request);
21176
21180
  fetchArea();
21177
21181
  const isScroll = ref(false);
21178
21182
  const timer = ref(null);
@@ -21187,38 +21191,46 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21187
21191
  isScroll.value = false;
21188
21192
  };
21189
21193
  const handleAsideMenuExpo = (type) => {
21190
- console.log("handleAsideMenuExpo", type);
21191
- useReport2(REPO_EVENT.SHOW, { module_name: ASIDE_MENU_REPO.ASIDEEXPO });
21194
+ if (type === "expo") {
21195
+ useReport2(REPO_EVENT.SHOW, { module_name: ASIDE_MENU_REPO.ASIDEEXPO });
21196
+ }
21192
21197
  };
21193
21198
  return (_ctx, _cache) => {
21194
21199
  const _component_d_aside = resolveComponent("d-aside");
21195
- const _directive_element_exposure = resolveDirective("element-exposure");
21196
21200
  return openBlock(), createBlock(_component_d_aside, {
21197
21201
  class: normalizeClass(["config-aside-content", unref(showBgColor) ? "" : "oldWhite"])
21198
21202
  }, {
21199
21203
  default: withCtx(() => [
21200
21204
  createElementVNode("div", {
21201
- class: normalizeClass(["config-aside__content", { "side-bar-content-shot": _ctx.asideSetShowLittle, "shot-isCh": !unref(isEn), scroll: isScroll.value }]),
21202
- onScroll: handleScroll,
21203
- onMouseleave: handleMouseLeave
21205
+ class: normalizeClass(["config-aside__content", { "side-bar-content-shot": _ctx.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
21204
21206
  }, [
21205
21207
  withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
21206
- createElementVNode("div", _hoisted_2$9, [
21207
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(area), (item, index2) => {
21208
- return openBlock(), createElementBlock(Fragment, {
21209
- key: item.id
21210
- }, [
21211
- createVNode(_sfc_main$j, {
21212
- list: item,
21213
- isLogin: _ctx.isLogin
21214
- }, null, 8, ["list", "isLogin"]),
21215
- !_ctx.asideSetShowLittle && index2 !== unref(area).length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_3$6)) : createCommentVNode("", true)
21216
- ], 64);
21217
- }), 128)),
21218
- _cache[0] || (_cache[0] = createElementVNode("hr", { class: "line mt-[16px] mb-[16px]" }, null, -1)),
21219
- createVNode(SubMenuList)
21220
- ]),
21221
- !_ctx.asideSetShowLittle ? (openBlock(), createElementBlock("div", _hoisted_4$6)) : createCommentVNode("", true),
21208
+ createElementVNode("div", {
21209
+ class: normalizeClass(["scroll-content flex-[1]", { scroll: isScroll.value }]),
21210
+ onScroll: handleScroll,
21211
+ onMouseleave: handleMouseLeave
21212
+ }, [
21213
+ unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
21214
+ createVNode(unref(Skeleton), {
21215
+ loading: unref(sideLoading),
21216
+ row: 4
21217
+ }, null, 8, ["loading"])
21218
+ ])) : (openBlock(), createElementBlock("div", _hoisted_3$6, [
21219
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(area), (item, index2) => {
21220
+ return openBlock(), createElementBlock(Fragment, {
21221
+ key: item.id
21222
+ }, [
21223
+ createVNode(Area, {
21224
+ list: item,
21225
+ isLogin: _ctx.isLogin
21226
+ }, null, 8, ["list", "isLogin"]),
21227
+ !_ctx.asideSetShowLittle && index2 !== unref(area).length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$6)) : createCommentVNode("", true)
21228
+ ], 64);
21229
+ }), 128)),
21230
+ _cache[0] || (_cache[0] = createElementVNode("hr", { class: "line mt-[16px] mb-[16px]" }, null, -1)),
21231
+ createVNode(SubMenuList)
21232
+ ]))
21233
+ ], 34),
21222
21234
  createElementVNode("div", _hoisted_5$4, [
21223
21235
  createVNode(_sfc_main$i, {
21224
21236
  "show-lang-setting": true,
@@ -21226,9 +21238,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21226
21238
  })
21227
21239
  ])
21228
21240
  ])), [
21229
- [_directive_element_exposure, { trigger: (type) => handleAsideMenuExpo(type) }]
21241
+ [unref(vElementExposure), { trigger: (type) => handleAsideMenuExpo(type) }]
21230
21242
  ])
21231
- ], 34)
21243
+ ], 2)
21232
21244
  ]),
21233
21245
  _: 1
21234
21246
  }, 8, ["class"]);
@@ -26139,7 +26151,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
26139
26151
  }
26140
26152
  });
26141
26153
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
26142
- const SlidCaptcha = defineAsyncComponent(() => import("./index-Bk_jsrM7.js"));
26154
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-D81-AAhb.js"));
26143
26155
  const useSlidCaptcha = () => {
26144
26156
  const { mount, unMount } = usePopup("slid-captcha-popup");
26145
26157
  const open = (config) => {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
2
  import { FixedOverlay } from "vue-devui-lal/overlay";
3
- import { x as useLayoutConfig, _ as _export_sfc } from "./index-D3iUCcXT.js";
3
+ import { x as useLayoutConfig, _ as _export_sfc } from "./index-D34AqPB_.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H, I, M, F, S, D, z, O, K, N, J } from "./index-D3iUCcXT.js";
1
+ import { H, I, M, F, S, D, z, O, K, N, J } from "./index-D34AqPB_.js";
2
2
  export {
3
3
  H as GitCodeAside,
4
4
  I 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-D3iUCcXT.js";
2
+ import { i as isPhone, u as useModel } from "./index-D34AqPB_.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.5.20",
3
+ "version": "1.5.22",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",