vue-layout-gitcode 1.3.18 → 1.3.20

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 { inject, ref, watch, onMounted, createElementBlock, createCommentVNode, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock } from "vue";
2
2
  import "vue-devui-lal/icon";
3
3
  import "vue-devui-lal/icon/style.css";
4
- import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-CEapdIQY.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CeR5y-VD.js";
4
+ import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-rXcur-WJ.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-kGuvm88x.js";
6
6
  const _hoisted_1 = {
7
7
  key: 0,
8
8
  class: "px-[8px] history-list-project pl-[8px]"
@@ -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-CEapdIQY.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-rXcur-WJ.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-CEapdIQY.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-rXcur-WJ.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-CEapdIQY.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-rXcur-WJ.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-CeR5y-VD.js";
3
- import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-CEapdIQY.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-kGuvm88x.js";
3
+ import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-rXcur-WJ.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-CEapdIQY.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-rXcur-WJ.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-CEapdIQY.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-rXcur-WJ.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,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 { w as useLayoutConfig, _ as _export_sfc } from "./index-CEapdIQY.js";
3
+ import { w as useLayoutConfig, _ as _export_sfc } from "./index-rXcur-WJ.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -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, reactive, withCtx } 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$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CEapdIQY.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$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-rXcur-WJ.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";
@@ -10895,7 +10895,7 @@ const _hoisted_3$h = {
10895
10895
  };
10896
10896
  const _hoisted_4$d = { class: "home-nav-tooltip-wrapper" };
10897
10897
  const _hoisted_5$a = { class: "home-nav-text" };
10898
- const _hoisted_6$8 = {
10898
+ const _hoisted_6$7 = {
10899
10899
  key: 1,
10900
10900
  class: "tools-list"
10901
10901
  };
@@ -11130,7 +11130,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
11130
11130
  ]),
11131
11131
  _: 1
11132
11132
  })) : createCommentVNode("", true),
11133
- isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
11133
+ isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
11134
11134
  createVNode(unref(Tooltip), {
11135
11135
  position: "left",
11136
11136
  "overlay-class": "tools-tag-tooltip"
@@ -14435,7 +14435,7 @@ const _hoisted_2$j = ["href", "onMouseenter"];
14435
14435
  const _hoisted_3$g = { class: "ai-hub-menus-item_label" };
14436
14436
  const _hoisted_4$c = ["onMouseenter"];
14437
14437
  const _hoisted_5$9 = { class: "ai-hub-menus-themetablist" };
14438
- const _hoisted_6$7 = { class: "w-[32px] h-[32px] flex items-center justify-center" };
14438
+ const _hoisted_6$6 = { class: "w-[32px] h-[32px] flex items-center justify-center" };
14439
14439
  const _hoisted_7$6 = { class: "flex items-center min-w-[90px] gap-[8px] font-semibold" };
14440
14440
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
14441
14441
  __name: "AiHubMenus",
@@ -14577,7 +14577,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14577
14577
  href: activeMenu.value.url
14578
14578
  }, {
14579
14579
  default: withCtx(() => [
14580
- createElementVNode("div", _hoisted_6$7, [
14580
+ createElementVNode("div", _hoisted_6$6, [
14581
14581
  createVNode(GIcon, {
14582
14582
  size: "18px",
14583
14583
  name: "gt-line-down",
@@ -16421,7 +16421,7 @@ const _hoisted_2$i = {
16421
16421
  const _hoisted_3$f = { class: "org-layout-toolbar-title flex-1 ellipsis-two-line" };
16422
16422
  const _hoisted_4$b = { class: "text-xs" };
16423
16423
  const _hoisted_5$8 = { class: "flex items-center w-full" };
16424
- const _hoisted_6$6 = {
16424
+ const _hoisted_6$5 = {
16425
16425
  key: 1,
16426
16426
  class: "flex items-center min-w-[30px]"
16427
16427
  };
@@ -16653,7 +16653,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16653
16653
  width: 28,
16654
16654
  height: 28,
16655
16655
  is_round: !isOrg.value
16656
- }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$6, [
16656
+ }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$5, [
16657
16657
  unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$5)) : (openBlock(), createElementBlock("img", _hoisted_8$5))
16658
16658
  ]))
16659
16659
  ];
@@ -17003,8 +17003,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17003
17003
  setup(__props) {
17004
17004
  const { t: t2 } = i18n.global;
17005
17005
  return (_ctx, _cache) => {
17006
- const _component_GLink = resolveComponent("GLink");
17007
- return openBlock(), createBlock(_component_GLink, {
17006
+ return openBlock(), createBlock(GLink, {
17008
17007
  variant: "text",
17009
17008
  class: normalizeClass(["g-toolbar-docs", _ctx.whiteColor ? "white" : "black"]),
17010
17009
  href: "https://docs.gitcode.com/docs/help/home/ai-community/",
@@ -17224,7 +17223,7 @@ const _hoisted_2$h = { class: "flex items-center font-medium gap-[4px]" };
17224
17223
  const _hoisted_3$e = ["src"];
17225
17224
  const _hoisted_4$a = { class: "level-name" };
17226
17225
  const _hoisted_5$7 = { class: "level-icon" };
17227
- const _hoisted_6$5 = ["src"];
17226
+ const _hoisted_6$4 = ["src"];
17228
17227
  const _hoisted_7$4 = { class: "custom-btn" };
17229
17228
  const _hoisted_8$4 = { class: "flex items-center justify-center" };
17230
17229
  const maxLevel = 3;
@@ -17287,7 +17286,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17287
17286
  createElementVNode("img", {
17288
17287
  src: levelInfo.value.level,
17289
17288
  alt: ""
17290
- }, null, 8, _hoisted_6$5)
17289
+ }, null, 8, _hoisted_6$4)
17291
17290
  ])
17292
17291
  ])
17293
17292
  ]),
@@ -17770,13 +17769,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17770
17769
  setup(__props) {
17771
17770
  var _a;
17772
17771
  const { t: $t } = i18n.global;
17773
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DihKoxUn.js"));
17774
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-CCUEwW3n.js"));
17775
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Bivgs3eE.js"));
17776
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CsKVa3LP.js"));
17777
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-B7g-rtZk.js"));
17778
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-_SwFGdMW.js"));
17779
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed--tgQhVky.js"));
17772
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-VqHp3kV4.js"));
17773
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-BV9CAZJq.js"));
17774
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CX-u3lTt.js"));
17775
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-RMGyipLv.js"));
17776
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BSdjStUu.js"));
17777
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-D1SzYkZi.js"));
17778
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BpbZyqOz.js"));
17780
17779
  const props = __props;
17781
17780
  const repoInfo = inject("repoInfo");
17782
17781
  const orgInfo = inject("orgInfo");
@@ -18344,7 +18343,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18344
18343
  }
18345
18344
  });
18346
18345
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18347
- const NoticeModal = defineAsyncComponent(() => import("./notice-C3yB7SLa.js"));
18346
+ const NoticeModal = defineAsyncComponent(() => import("./notice-Dz4WwbHw.js"));
18348
18347
  function clearNotice() {
18349
18348
  if (localStorage$2.getItem("validator_email")) {
18350
18349
  localStorage$2.removeItem("validator_email");
@@ -18371,15 +18370,14 @@ function useNotification() {
18371
18370
  notice
18372
18371
  };
18373
18372
  }
18374
- const _hoisted_1$j = { class: "flex flex-center gap-[12px] g-header-ailog" };
18375
- const _hoisted_2$d = { class: "search-avatar flex-1 flex items-center justify-center" };
18376
- const _hoisted_3$a = {
18373
+ const _hoisted_1$j = { class: "search-avatar flex-1 flex items-center justify-center" };
18374
+ const _hoisted_2$d = {
18377
18375
  key: 1,
18378
18376
  class: "g-header-body"
18379
18377
  };
18380
- const _hoisted_4$7 = { class: "g-header-body-left h-full" };
18381
- const _hoisted_5$5 = { class: "g-header-body-right h-full" };
18382
- const _hoisted_6$4 = { key: 2 };
18378
+ const _hoisted_3$a = { class: "g-header-body-left h-full" };
18379
+ const _hoisted_4$7 = { class: "g-header-body-right h-full" };
18380
+ const _hoisted_5$5 = { key: 2 };
18383
18381
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
18384
18382
  ...{
18385
18383
  name: "header"
@@ -18551,8 +18549,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18551
18549
  window.open(props.bgConfig.detail_top_url, "_blank");
18552
18550
  }
18553
18551
  };
18554
- const handleHeaderClick = () => {
18555
- if (props.bgConfig.index_head_url) {
18552
+ const handleHeaderClick = (e) => {
18553
+ console.log("handleHeaderClick", e);
18554
+ if (!e.target.classList.contains("allow-click-stop")) {
18555
+ return;
18556
+ }
18557
+ if (isIndexHead.value && props.bgConfig.index_head_url) {
18556
18558
  window.open(props.bgConfig.index_head_url, "_blank");
18557
18559
  }
18558
18560
  };
@@ -18613,14 +18615,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18613
18615
  return (_ctx, _cache) => {
18614
18616
  var _a, _b, _c, _d;
18615
18617
  return openBlock(), createElementBlock("div", {
18616
- onClick: withModifiers(handleHeaderClick, ["prevent", "stop"]),
18617
- class: "gitcode-header-wrapper w-full",
18618
+ onClick: withModifiers(handleHeaderClick, ["stop"]),
18619
+ class: "gitcode-header-wrapper w-full cursor-pointer",
18618
18620
  style: normalizeStyle({ height: `${unref(height)}px` })
18619
18621
  }, [
18620
18622
  createElementVNode("div", {
18621
- onClick: _cache[6] || (_cache[6] = withModifiers(() => {
18622
- }, ["prevent", "stop"])),
18623
- class: normalizeClass(["g-header fixed z-20", { "ai-hub": inAIHub.value }]),
18623
+ class: normalizeClass(["g-header allow-click-stop fixed z-20", { "ai-hub": inAIHub.value }]),
18624
18624
  ref_key: "headerRef",
18625
18625
  ref: headerRef
18626
18626
  }, [
@@ -18628,7 +18628,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18628
18628
  key: 0,
18629
18629
  class: "w-full h-[64px] cursor-pointer",
18630
18630
  style: normalizeStyle(stickyNoticeStyle.value),
18631
- onClick: handleStickyNoticeClick
18631
+ onClick: withModifiers(handleStickyNoticeClick, ["stop"])
18632
18632
  }, [
18633
18633
  createVNode(GIcon, {
18634
18634
  class: "sticky-notice-icon",
@@ -18641,9 +18641,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18641
18641
  style: normalizeStyle(detailBgStyle.value)
18642
18642
  }, [
18643
18643
  createElementVNode("div", {
18644
- class: normalizeClass(["g-toolbar-left items-center", { "flex-[1] min-w-0": !inAIHub.value }])
18644
+ class: normalizeClass(["g-toolbar-left items-center allow-click-stop", { "flex-[1] min-w-0": !inAIHub.value }])
18645
18645
  }, [
18646
- createElementVNode("div", _hoisted_1$j, [
18646
+ createElementVNode("div", {
18647
+ onClick: _cache[1] || (_cache[1] = withModifiers(() => {
18648
+ }, ["stop"])),
18649
+ class: "flex flex-center gap-[12px] g-header-ailog"
18650
+ }, [
18647
18651
  isModuleVisible(unref(HeaderDisplayItem).ASIDE_BUTTON) ? (openBlock(), createBlock(GIcon, {
18648
18652
  key: 0,
18649
18653
  onClick: _cache[0] || (_cache[0] = ($event) => unref(emitEvent)("toggleAsideMenuByHamburger")),
@@ -18675,12 +18679,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18675
18679
  orgProps: (_b = _ctx.headerCustomProps) == null ? void 0 : _b.orgProps,
18676
18680
  repoProps: (_c = _ctx.headerCustomProps) == null ? void 0 : _c.repoProps,
18677
18681
  userProps: (_d = _ctx.headerCustomProps) == null ? void 0 : _d.userProps,
18678
- onFollowDevCommunity: _cache[1] || (_cache[1] = ($event) => emit("followDevCommunity", $event)),
18679
- onFollowUser: _cache[2] || (_cache[2] = ($event) => emit("followUser"))
18682
+ onFollowDevCommunity: _cache[2] || (_cache[2] = ($event) => emit("followDevCommunity", $event)),
18683
+ onFollowUser: _cache[3] || (_cache[3] = ($event) => emit("followUser"))
18680
18684
  }, null, 8, ["scene", "isLogin", "errorCode", "orgProps", "repoProps", "userProps"])) : createCommentVNode("", true)
18681
18685
  ], 2)) : createCommentVNode("", true)
18682
18686
  ], 2),
18683
- createElementVNode("div", _hoisted_2$d, [
18687
+ createElementVNode("div", _hoisted_1$j, [
18684
18688
  isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
18685
18689
  (openBlock(), createBlock(Search, {
18686
18690
  inAIHub: inAIHub.value,
@@ -18690,7 +18694,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18690
18694
  ], true) : createCommentVNode("", true)
18691
18695
  ]),
18692
18696
  createElementVNode("div", {
18693
- class: normalizeClass(["g-toolbar-right gap-[16px] flex-[1] justify-end max-md:gap-[12px]", inAIHub.value ? "2xl:min-w-[600px] flex-none" : ""])
18697
+ class: normalizeClass(["g-toolbar-right gap-[16px] flex-[1] justify-end max-md:gap-[12px] allow-click-stop", inAIHub.value ? "2xl:min-w-[600px] flex-none" : ""])
18694
18698
  }, [
18695
18699
  isModuleVisible(unref(HeaderDisplayItem).DEEPSEEK_BUTTON) ? (openBlock(), createBlock(ChatBot, { key: 0 })) : createCommentVNode("", true),
18696
18700
  !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -18698,7 +18702,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18698
18702
  unref(isMobile) ? (openBlock(), createElementBlock("section", {
18699
18703
  key: 0,
18700
18704
  class: "app-login-warp border-none login-icon",
18701
- onClick: _cache[3] || (_cache[3] = ($event) => handleLogin("login"))
18705
+ onClick: _cache[4] || (_cache[4] = ($event) => handleLogin("login"))
18702
18706
  }, [
18703
18707
  createVNode(GIcon, {
18704
18708
  name: "gt-line-NotLoggedIn",
@@ -18710,7 +18714,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18710
18714
  createVNode(unref(Button), {
18711
18715
  variant: "solid",
18712
18716
  color: "primary",
18713
- onClick: _cache[4] || (_cache[4] = ($event) => handleLogin("login"))
18717
+ onClick: _cache[5] || (_cache[5] = withModifiers(($event) => handleLogin("login"), ["stop"]))
18714
18718
  }, {
18715
18719
  default: withCtx(() => [
18716
18720
  createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.login")), 1)
@@ -18718,7 +18722,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18718
18722
  _: 1
18719
18723
  }),
18720
18724
  createVNode(unref(Button), {
18721
- onClick: _cache[5] || (_cache[5] = ($event) => handleLogin("register")),
18725
+ onClick: _cache[6] || (_cache[6] = withModifiers(($event) => handleLogin("register"), ["stop"])),
18722
18726
  class: "min-w-[64px]"
18723
18727
  }, {
18724
18728
  default: withCtx(() => [
@@ -18742,17 +18746,17 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18742
18746
  ], 64))
18743
18747
  ], 2)
18744
18748
  ], 6),
18745
- _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
18749
+ _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
18746
18750
  renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
18747
- createElementVNode("div", _hoisted_4$7, [
18751
+ createElementVNode("div", _hoisted_3$a, [
18748
18752
  renderSlot(_ctx.$slots, "info", {}, void 0, true)
18749
18753
  ]),
18750
- createElementVNode("div", _hoisted_5$5, [
18754
+ createElementVNode("div", _hoisted_4$7, [
18751
18755
  renderSlot(_ctx.$slots, "menu", {}, void 0, true)
18752
18756
  ])
18753
18757
  ], true)
18754
18758
  ])) : createCommentVNode("", true),
18755
- _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
18759
+ _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
18756
18760
  renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
18757
18761
  ])) : createCommentVNode("", true)
18758
18762
  ], 2)
@@ -24947,7 +24951,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24947
24951
  }
24948
24952
  });
24949
24953
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
24950
- const SlidCaptcha = defineAsyncComponent(() => import("./index-DeLP5ZuC.js"));
24954
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-BGroWXZk.js"));
24951
24955
  const useSlidCaptcha = () => {
24952
24956
  const { mount, unMount } = usePopup("slid-captcha-popup");
24953
24957
  const open = (config) => {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { z, A, D, y, S, x, F, I, C, H, B } from "./index-CEapdIQY.js";
1
+ import { z, A, D, y, S, x, F, I, C, H, B } from "./index-rXcur-WJ.js";
2
2
  export {
3
3
  z as GitCodeAside,
4
4
  A 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-CEapdIQY.js";
2
+ import { i as isPhone, u as useModel } from "./index-rXcur-WJ.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.3.18",
3
+ "version": "1.3.20",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",