vue-layout-gitcode 1.12.15-beta.52 → 1.12.15-beta.54

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,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- 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, resolveComponent, watchEffect, nextTick, onBeforeUnmount, Teleport, resolveDirective, withDirectives, guardReactiveProps, markRaw, resolveDynamicComponent, useAttrs, defineAsyncComponent, vShow, withKeys, createStaticVNode, useCssVars, createSlots, render, toRaw, mergeModels, useModel as useModel$1, watchPostEffect, useSlots } from "vue";
4
+ 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, resolveComponent, watchEffect, nextTick, onBeforeUnmount, Teleport, resolveDirective, withDirectives, guardReactiveProps, markRaw, resolveDynamicComponent, useAttrs, defineAsyncComponent, vShow, withKeys, useCssVars, createSlots, render, toRaw, mergeModels, useModel as useModel$1, watchPostEffect, useSlots } from "vue";
5
5
  import { Button } from "vue-devui-lal/button";
6
6
  import { Popover } from "vue-devui-lal/popover";
7
7
  import { Tooltip } from "vue-devui-lal/tooltip";
@@ -9114,15 +9114,15 @@ const _hoisted_1$H = { class: "home-nav-right" };
9114
9114
  const _hoisted_2$v = { class: "home-nav-item" };
9115
9115
  const _hoisted_3$u = { class: "tooltip-sign" };
9116
9116
  const _hoisted_4$n = { class: "home-nav-tooltip-wrapper" };
9117
- const _hoisted_5$i = { class: "home-nav-text" };
9117
+ const _hoisted_5$j = { class: "home-nav-text" };
9118
9118
  const _hoisted_6$g = { class: "home-nav-tooltip-wrapper" };
9119
- const _hoisted_7$c = { class: "home-nav-text" };
9120
- const _hoisted_8$a = {
9119
+ const _hoisted_7$d = { class: "home-nav-text" };
9120
+ const _hoisted_8$c = {
9121
9121
  key: 2,
9122
9122
  class: "tools-list"
9123
9123
  };
9124
- const _hoisted_9$8 = { class: "home-nav-tooltip-wrapper" };
9125
- const _hoisted_10$8 = { class: "home-nav-text" };
9124
+ const _hoisted_9$a = { class: "home-nav-tooltip-wrapper" };
9125
+ const _hoisted_10$9 = { class: "home-nav-text" };
9126
9126
  const _hoisted_11$7 = { class: "tools-float-feedback-sub" };
9127
9127
  const _hoisted_12$6 = { class: "qrcode-wrapper" };
9128
9128
  const _hoisted_13$3 = { class: "qrcode-wrapper__title" };
@@ -9411,7 +9411,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9411
9411
  }, {
9412
9412
  content: withCtx(() => [
9413
9413
  createElementVNode("div", _hoisted_4$n, [
9414
- createElementVNode("div", _hoisted_5$i, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9414
+ createElementVNode("div", _hoisted_5$j, toDisplayString$1(unref(t2)("gitCodeLayout.growthCenter.invite")), 1)
9415
9415
  ])
9416
9416
  ]),
9417
9417
  default: withCtx(() => [
@@ -9438,7 +9438,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9438
9438
  }, {
9439
9439
  content: withCtx(() => [
9440
9440
  createElementVNode("div", _hoisted_6$g, [
9441
- createElementVNode("div", _hoisted_7$c, toDisplayString$1(_ctx.isCannWhiteList ? unref(t2)("gitCodeLayout.userSetting.menu.cannTask") : unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
9441
+ createElementVNode("div", _hoisted_7$d, toDisplayString$1(_ctx.isCannWhiteList ? unref(t2)("gitCodeLayout.userSetting.menu.cannTask") : unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
9442
9442
  ])
9443
9443
  ]),
9444
9444
  default: withCtx(() => [
@@ -9458,14 +9458,14 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
9458
9458
  ]),
9459
9459
  _: 1
9460
9460
  })) : createCommentVNode("", true),
9461
- isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_8$a, [
9461
+ isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_8$c, [
9462
9462
  createVNode(unref(Tooltip), {
9463
9463
  position: "left",
9464
9464
  "overlay-class": "tools-tag-tooltip"
9465
9465
  }, {
9466
9466
  content: withCtx(() => [
9467
- createElementVNode("div", _hoisted_9$8, [
9468
- createElementVNode("div", _hoisted_10$8, [
9467
+ createElementVNode("div", _hoisted_9$a, [
9468
+ createElementVNode("div", _hoisted_10$9, [
9469
9469
  createElementVNode("p", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback01")), 1),
9470
9470
  createElementVNode("p", _hoisted_11$7, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback02")), 1)
9471
9471
  ])
@@ -10939,7 +10939,7 @@ const _hoisted_1$E = {
10939
10939
  const _hoisted_2$u = { class: "org-layout-toolbar-title ellipsis-two-line" };
10940
10940
  const _hoisted_3$t = { class: "header-custom-btn-label" };
10941
10941
  const _hoisted_4$m = { class: "g-repo-breadcrumb-custom" };
10942
- const _hoisted_5$h = {
10942
+ const _hoisted_5$i = {
10943
10943
  key: 1,
10944
10944
  class: "header-custom-mirrors-avatar"
10945
10945
  };
@@ -10949,18 +10949,18 @@ const _hoisted_6$f = {
10949
10949
  alt: "mirrors-avatar-phone",
10950
10950
  class: "header-custom-mirrors-img"
10951
10951
  };
10952
- const _hoisted_7$b = {
10952
+ const _hoisted_7$c = {
10953
10953
  key: 1,
10954
10954
  src: "https://cdn-static.gitcode.com/static/images/mirrors-avata_20250411.gif",
10955
10955
  alt: "mirrors-avatar",
10956
10956
  class: "header-custom-mirrors-img-tall"
10957
10957
  };
10958
- const _hoisted_8$9 = { class: "g-repo-breadcrumb-container" };
10959
- const _hoisted_9$7 = {
10958
+ const _hoisted_8$b = { class: "g-repo-breadcrumb-container" };
10959
+ const _hoisted_9$9 = {
10960
10960
  key: 0,
10961
10961
  class: "header-custom-breadcrumb-row"
10962
10962
  };
10963
- const _hoisted_10$7 = ["title"];
10963
+ const _hoisted_10$8 = ["title"];
10964
10964
  const _hoisted_11$6 = ["title"];
10965
10965
  const _hoisted_12$5 = {
10966
10966
  key: 0,
@@ -11178,14 +11178,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11178
11178
  width: 28,
11179
11179
  height: 28,
11180
11180
  is_round: !isOrg.value
11181
- }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_5$h, [
11182
- unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_6$f)) : (openBlock(), createElementBlock("img", _hoisted_7$b))
11181
+ }, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_5$i, [
11182
+ unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_6$f)) : (openBlock(), createElementBlock("img", _hoisted_7$c))
11183
11183
  ]))
11184
11184
  ];
11185
11185
  }),
11186
11186
  _: 1
11187
11187
  }, 8, ["href"]),
11188
- createElementVNode("div", _hoisted_8$9, [
11188
+ createElementVNode("div", _hoisted_8$b, [
11189
11189
  !((_b2 = _ctx.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
11190
11190
  key: 0,
11191
11191
  ref_key: "breadcrumbRef",
@@ -11196,7 +11196,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11196
11196
  return openBlock(), createElementBlock(Fragment, {
11197
11197
  key: item.path
11198
11198
  }, [
11199
- index2 !== unref(breadcrumb).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_9$7, [
11199
+ index2 !== unref(breadcrumb).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_9$9, [
11200
11200
  createVNode(GLink, {
11201
11201
  class: "linkTx",
11202
11202
  href: item.path
@@ -11208,7 +11208,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
11208
11208
  ref: breadcrumbTextRef,
11209
11209
  title: item.label,
11210
11210
  class: normalizeClass(["linkTx", index2 === unref(breadcrumb).length - 1 ? "header-custom-bold" : ""])
11211
- }, toDisplayString$1(item.label), 11, _hoisted_10$7)
11211
+ }, toDisplayString$1(item.label), 11, _hoisted_10$8)
11212
11212
  ]),
11213
11213
  _: 2
11214
11214
  }, 1032, ["href"]),
@@ -11460,14 +11460,15 @@ const HEADER_CREATE_MENU_PATHS = [
11460
11460
  const _hoisted_1$B = { class: "g-header-create dashboard-create-menu" };
11461
11461
  const _hoisted_2$t = { class: "dashboard-create-menu__tooltip" };
11462
11462
  const _hoisted_3$s = ["title", "aria-label", "aria-expanded"];
11463
- const _hoisted_4$l = ["aria-label"];
11464
- const _hoisted_5$g = {
11463
+ const _hoisted_4$l = { class: "dashboard-create-menu__trigger-text" };
11464
+ const _hoisted_5$h = ["aria-label"];
11465
+ const _hoisted_6$e = {
11465
11466
  key: 0,
11466
11467
  class: "dashboard-create-menu__divider",
11467
11468
  role: "separator"
11468
11469
  };
11469
- const _hoisted_6$e = ["href", "onClick", "onKeydown"];
11470
- const _hoisted_7$a = { class: "dashboard-create-menu__copy" };
11470
+ const _hoisted_7$b = ["href", "onClick", "onKeydown"];
11471
+ const _hoisted_8$a = { class: "dashboard-create-menu__copy" };
11471
11472
  const menuId = "gitcode-header-create-menu";
11472
11473
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
11473
11474
  ...{
@@ -11725,7 +11726,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11725
11726
  class: "dashboard-create-menu__trigger-icon",
11726
11727
  "aria-hidden": "true"
11727
11728
  }),
11728
- createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
11729
+ createElementVNode("span", _hoisted_4$l, toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
11729
11730
  ], 40, _hoisted_3$s)
11730
11731
  ]),
11731
11732
  (openBlock(), createBlock(Teleport, { to: "body" }, [
@@ -11743,7 +11744,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11743
11744
  return openBlock(), createElementBlock(Fragment, {
11744
11745
  key: item.key
11745
11746
  }, [
11746
- item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_5$g)) : createCommentVNode("", true),
11747
+ item.dividerBefore ? (openBlock(), createElementBlock("div", _hoisted_6$e)) : createCommentVNode("", true),
11747
11748
  createElementVNode("a", {
11748
11749
  href: unref(toApplicationUrl)(unref(layoutConfig2).VITE_HOST, item.href),
11749
11750
  class: "dashboard-create-menu__item",
@@ -11759,13 +11760,13 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
11759
11760
  class: "dashboard-create-menu__icon",
11760
11761
  "aria-hidden": "true"
11761
11762
  }, null, 8, ["name"]),
11762
- createElementVNode("span", _hoisted_7$a, [
11763
+ createElementVNode("span", _hoisted_8$a, [
11763
11764
  createElementVNode("strong", null, toDisplayString$1(item.label), 1)
11764
11765
  ])
11765
- ], 40, _hoisted_6$e)
11766
+ ], 40, _hoisted_7$b)
11766
11767
  ], 64);
11767
11768
  }), 128))
11768
- ], 12, _hoisted_4$l)) : createCommentVNode("", true)
11769
+ ], 12, _hoisted_5$h)) : createCommentVNode("", true)
11769
11770
  ]))
11770
11771
  ]);
11771
11772
  };
@@ -14353,12 +14354,12 @@ const _hoisted_1$z = { class: "message-item" };
14353
14354
  const _hoisted_2$s = { class: "message-item-footer" };
14354
14355
  const _hoisted_3$r = ["title"];
14355
14356
  const _hoisted_4$k = ["href"];
14356
- const _hoisted_5$f = { class: "message-item-info-content" };
14357
+ const _hoisted_5$g = { class: "message-item-info-content" };
14357
14358
  const _hoisted_6$d = { class: "message-item-body" };
14358
- const _hoisted_7$9 = ["title", "innerHTML"];
14359
- const _hoisted_8$8 = ["title"];
14360
- const _hoisted_9$6 = { class: "message-item-info" };
14361
- const _hoisted_10$6 = { class: "message-item-rightTx message-item-date" };
14359
+ const _hoisted_7$a = ["title", "innerHTML"];
14360
+ const _hoisted_8$9 = ["title"];
14361
+ const _hoisted_9$8 = { class: "message-item-info" };
14362
+ const _hoisted_10$7 = { class: "message-item-rightTx message-item-date" };
14362
14363
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
14363
14364
  __name: "index",
14364
14365
  props: {
@@ -14391,7 +14392,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14391
14392
  ], 8, _hoisted_4$k)
14392
14393
  ], 8, _hoisted_3$r)
14393
14394
  ]),
14394
- createElementVNode("div", _hoisted_5$f, [
14395
+ createElementVNode("div", _hoisted_5$g, [
14395
14396
  createElementVNode("div", _hoisted_6$d, [
14396
14397
  createVNode(GLink, {
14397
14398
  href: unref(transformUrl)(_ctx.data.url),
@@ -14407,17 +14408,17 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14407
14408
  title: _ctx.data.title,
14408
14409
  innerHTML: unref(xssPurify)(_ctx.data.title) || "",
14409
14410
  class: "message-item__title"
14410
- }, null, 8, _hoisted_7$9)) : (openBlock(), createElementBlock("span", {
14411
+ }, null, 8, _hoisted_7$a)) : (openBlock(), createElementBlock("span", {
14411
14412
  key: 1,
14412
14413
  title: _ctx.data.title
14413
- }, toDisplayString$1(_ctx.data.title || "-"), 9, _hoisted_8$8))
14414
+ }, toDisplayString$1(_ctx.data.title || "-"), 9, _hoisted_8$9))
14414
14415
  ]),
14415
14416
  _: 1
14416
14417
  })
14417
14418
  ]),
14418
14419
  _: 1
14419
14420
  }, 8, ["href", "class"]),
14420
- createElementVNode("div", _hoisted_9$6, [
14421
+ createElementVNode("div", _hoisted_9$8, [
14421
14422
  createVNode(GText, null, {
14422
14423
  default: withCtx(() => [
14423
14424
  createTextVNode(toDisplayString$1(_ctx.data.repo), 1)
@@ -14434,7 +14435,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
14434
14435
  ])
14435
14436
  ])
14436
14437
  ]),
14437
- createElementVNode("div", _hoisted_10$6, toDisplayString$1(unref(formatTimeFromNow)(_ctx.data.time)), 1)
14438
+ createElementVNode("div", _hoisted_10$7, toDisplayString$1(unref(formatTimeFromNow)(_ctx.data.time)), 1)
14438
14439
  ]);
14439
14440
  };
14440
14441
  }
@@ -14453,24 +14454,24 @@ const _hoisted_4$j = {
14453
14454
  key: 0,
14454
14455
  class: "g-number message-box__count"
14455
14456
  };
14456
- const _hoisted_5$e = { class: "message-content-cover" };
14457
+ const _hoisted_5$f = { class: "message-content-cover" };
14457
14458
  const _hoisted_6$c = {
14458
14459
  key: 0,
14459
14460
  class: "message-content-header"
14460
14461
  };
14461
- const _hoisted_7$8 = {
14462
+ const _hoisted_7$9 = {
14462
14463
  key: 0,
14463
14464
  class: "g-number"
14464
14465
  };
14465
- const _hoisted_8$7 = {
14466
+ const _hoisted_8$8 = {
14466
14467
  key: 0,
14467
14468
  class: "g-number"
14468
14469
  };
14469
- const _hoisted_9$5 = {
14470
+ const _hoisted_9$7 = {
14470
14471
  key: 2,
14471
14472
  class: "message-content-empty"
14472
14473
  };
14473
- const _hoisted_10$5 = {
14474
+ const _hoisted_10$6 = {
14474
14475
  key: 3,
14475
14476
  class: "loading-more"
14476
14477
  };
@@ -14801,21 +14802,21 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14801
14802
  ref: scrollContainer,
14802
14803
  class: "message-content"
14803
14804
  }, [
14804
- withDirectives((openBlock(), createElementBlock("div", _hoisted_5$e, [
14805
+ withDirectives((openBlock(), createElementBlock("div", _hoisted_5$f, [
14805
14806
  currentType.value === "mention" ? (openBlock(), createElementBlock("div", _hoisted_6$c, [
14806
14807
  createElementVNode("div", {
14807
14808
  class: normalizeClass(["message-content-header-item message-content-header-item--mr", { active: mentionSubTab.value === "project" }]),
14808
14809
  onClick: _cache[2] || (_cache[2] = ($event) => switchMentionSubTab("project"))
14809
14810
  }, [
14810
14811
  _cache[6] || (_cache[6] = createTextVNode(" 项目相关 ")),
14811
- mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
14812
+ mentionSubTabCount.value.project > 0 ? (openBlock(), createElementBlock("span", _hoisted_7$9, toDisplayString$1(mentionSubTabCount.value.project), 1)) : createCommentVNode("", true)
14812
14813
  ], 2),
14813
14814
  createElementVNode("div", {
14814
14815
  class: normalizeClass(["message-content-header-item", { active: mentionSubTab.value === "discussion" }]),
14815
14816
  onClick: _cache[3] || (_cache[3] = ($event) => switchMentionSubTab("discussion"))
14816
14817
  }, [
14817
14818
  _cache[7] || (_cache[7] = createTextVNode(" 在线讨论 ")),
14818
- mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$7, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
14819
+ mentionSubTabCount.value.discussion > 0 ? (openBlock(), createElementBlock("span", _hoisted_8$8, toDisplayString$1(mentionSubTabCount.value.discussion), 1)) : createCommentVNode("", true)
14819
14820
  ], 2)
14820
14821
  ])) : createCommentVNode("", true),
14821
14822
  listData.value.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(listData.value, (item) => {
@@ -14825,10 +14826,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
14825
14826
  data: item,
14826
14827
  onTrigger: ($event) => handleMessageRead(item)
14827
14828
  }, null, 8, ["type", "data", "onTrigger"]);
14828
- }), 128)) : (openBlock(), createElementBlock("div", _hoisted_9$5, [
14829
+ }), 128)) : (openBlock(), createElementBlock("div", _hoisted_9$7, [
14829
14830
  createElementVNode("div", null, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMessage")), 1)
14830
14831
  ])),
14831
- loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_10$5, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.loading")) + "... ", 1)) : createCommentVNode("", true),
14832
+ loadingMore.value ? (openBlock(), createElementBlock("div", _hoisted_10$6, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.loading")) + "... ", 1)) : createCommentVNode("", true),
14832
14833
  !hasMore.value && listData.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_11$5, toDisplayString$1(unref(t2)("gitCodeLayout.notice.msg.noMore")), 1)) : createCommentVNode("", true)
14833
14834
  ])), [
14834
14835
  [_directive_loading, loading.value]
@@ -14889,13 +14890,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14889
14890
  return (_ctx, _cache) => {
14890
14891
  return unref(isMobile) ? (openBlock(), createBlock(GLink, {
14891
14892
  key: 0,
14893
+ class: "g-notice-btn",
14892
14894
  href: `${unref(transformUrl)(unref(layoutConfig2).VITE_HOST)}/notice?message_sate=countNotRead`
14893
14895
  }, {
14894
14896
  default: withCtx(() => [
14895
14897
  createVNode(unref(Badge), {
14896
14898
  class: "g-notice",
14897
14899
  count: counts.value,
14898
- offset: [-4, 0],
14900
+ offset: [-2, -2],
14899
14901
  hidden: !counts.value,
14900
14902
  status: "danger"
14901
14903
  }, {
@@ -14915,7 +14917,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14915
14917
  position: ["bottom-start"],
14916
14918
  "destroy-on-hide": false,
14917
14919
  trigger: "hover",
14918
- offset: { mainAxis: 14, crossAxis: 0 },
14920
+ offset: { mainAxis: 8, crossAxis: 0 },
14919
14921
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
14920
14922
  }, ["stop"])),
14921
14923
  "overlay-class": "g-user-dropdown",
@@ -14930,13 +14932,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14930
14932
  ]),
14931
14933
  default: withCtx(() => [
14932
14934
  createVNode(GLink, {
14935
+ class: "g-notice-btn",
14933
14936
  href: `${unref(transformUrl)(unref(layoutConfig2).VITE_HOST)}/notice?message_sate=countNotRead`
14934
14937
  }, {
14935
14938
  default: withCtx(() => [
14936
14939
  createVNode(unref(Badge), {
14937
14940
  class: "g-notice",
14938
14941
  count: counts.value,
14939
- offset: [-4, 0],
14942
+ offset: [-2, -2],
14940
14943
  hidden: !counts.value,
14941
14944
  status: "danger"
14942
14945
  }, {
@@ -15069,10 +15072,10 @@ const _hoisted_1$v = {
15069
15072
  const _hoisted_2$p = { class: "user-level__row" };
15070
15073
  const _hoisted_3$o = ["src"];
15071
15074
  const _hoisted_4$i = { class: "level-name" };
15072
- const _hoisted_5$d = { class: "level-icon" };
15075
+ const _hoisted_5$e = { class: "level-icon" };
15073
15076
  const _hoisted_6$b = ["src"];
15074
- const _hoisted_7$7 = { class: "custom-btn" };
15075
- const _hoisted_8$6 = { class: "user-level__btn-text" };
15077
+ const _hoisted_7$8 = { class: "custom-btn" };
15078
+ const _hoisted_8$7 = { class: "user-level__btn-text" };
15076
15079
  const maxLevel = 3;
15077
15080
  const _sfc_main$z = /* @__PURE__ */ defineComponent({
15078
15081
  ...{ name: "UserLevel" },
@@ -15134,7 +15137,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15134
15137
  }, null, 8, _hoisted_3$o),
15135
15138
  createElementVNode("div", _hoisted_4$i, [
15136
15139
  createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
15137
- createElementVNode("div", _hoisted_5$d, [
15140
+ createElementVNode("div", _hoisted_5$e, [
15138
15141
  createElementVNode("img", {
15139
15142
  src: levelInfo.value.level,
15140
15143
  alt: ""
@@ -15142,8 +15145,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15142
15145
  ])
15143
15146
  ])
15144
15147
  ]),
15145
- createElementVNode("div", _hoisted_7$7, [
15146
- createElementVNode("div", _hoisted_8$6, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.tips.getPoints")), 1)
15148
+ createElementVNode("div", _hoisted_7$8, [
15149
+ createElementVNode("div", _hoisted_8$7, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.tips.getPoints")), 1)
15147
15150
  ])
15148
15151
  ], 2);
15149
15152
  };
@@ -15154,7 +15157,7 @@ const _hoisted_1$u = { class: "g-user-drawer-info-list" };
15154
15157
  const _hoisted_2$o = { class: "g-user-drawer-info-list__name-wrap" };
15155
15158
  const _hoisted_3$n = ["title"];
15156
15159
  const _hoisted_4$h = ["title"];
15157
- const _hoisted_5$c = {
15160
+ const _hoisted_5$d = {
15158
15161
  key: 0,
15159
15162
  class: "g-user-drawer-lang-row"
15160
15163
  };
@@ -15412,7 +15415,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
15412
15415
  key: index2
15413
15416
  }, [
15414
15417
  block.component ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
15415
- block.avatarLangRow ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
15418
+ block.avatarLangRow ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
15416
15419
  (openBlock(), createBlock(resolveDynamicComponent(block.component), {
15417
15420
  key: block.id
15418
15421
  }))
@@ -15455,7 +15458,7 @@ const _hoisted_4$g = {
15455
15458
  key: 0,
15456
15459
  class: "g-user-avatar__badge"
15457
15460
  };
15458
- const _hoisted_5$b = { class: "g-user-drawer" };
15461
+ const _hoisted_5$c = { class: "g-user-drawer" };
15459
15462
  const _hoisted_6$a = { class: "user-avatar__drawer-header" };
15460
15463
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
15461
15464
  ...{
@@ -15614,7 +15617,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15614
15617
  onToggle: handleToggle
15615
15618
  }, {
15616
15619
  menu: withCtx(() => [
15617
- createElementVNode("div", _hoisted_5$b, [
15620
+ createElementVNode("div", _hoisted_5$c, [
15618
15621
  createVNode(UserAvatarMenu, {
15619
15622
  independence: _ctx.independence,
15620
15623
  loginOutFinish: _ctx.loginOutFinish,
@@ -16179,7 +16182,7 @@ const _hoisted_1$r = { class: "g-header-search-prefix" };
16179
16182
  const _hoisted_2$l = ["innerHTML"];
16180
16183
  const _hoisted_3$k = { class: "g-header-search-suffix-splitline" };
16181
16184
  const _hoisted_4$f = { class: "g-header-search-suffix-suffixIcon" };
16182
- const _hoisted_5$a = { class: "history-list" };
16185
+ const _hoisted_5$b = { class: "history-list" };
16183
16186
  const _hoisted_6$9 = {
16184
16187
  key: 1,
16185
16188
  class: "aireposearch aireposearch--flex"
@@ -16197,12 +16200,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16197
16200
  setup(__props) {
16198
16201
  const layoutConfig2 = useLayoutConfig();
16199
16202
  const { t: $t } = i18n.global;
16200
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Da-Kgn71.js"));
16201
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-QBLnfBpF.js"));
16202
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CInD_uyR.js"));
16203
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-C0xWDI8v.js"));
16204
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-sC0t1HgC.js"));
16205
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BdlBemKR.js"));
16203
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-COwLUc1e.js"));
16204
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DXTbSPeU.js"));
16205
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DtJ1XSNT.js"));
16206
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CbSiu8ol.js"));
16207
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CGTtiY3J.js"));
16208
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DJ5BVOoR.js"));
16206
16209
  const props = __props;
16207
16210
  const repoInfo = inject("repoInfo", computed(() => void 0));
16208
16211
  const orgInfo = inject("orgInfo", computed(() => void 0));
@@ -16756,7 +16759,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16756
16759
  }, {
16757
16760
  menu: withCtx(() => [
16758
16761
  createElementVNode("div", null, [
16759
- withDirectives(createElementVNode("div", _hoisted_5$a, [
16762
+ withDirectives(createElementVNode("div", _hoisted_5$b, [
16760
16763
  createVNode(unref(SearchScopeList), {
16761
16764
  searchScopeList: searchScopeList.value,
16762
16765
  onScopeSearch
@@ -16911,9 +16914,9 @@ const _hoisted_1$q = { class: "announce-mobile-top" };
16911
16914
  const _hoisted_2$k = { class: "announce-mobile-bottom" };
16912
16915
  const _hoisted_3$j = ["href"];
16913
16916
  const _hoisted_4$e = { class: "announce-content" };
16914
- const _hoisted_5$9 = { class: "announce-content-inner" };
16917
+ const _hoisted_5$a = { class: "announce-content-inner" };
16915
16918
  const _hoisted_6$8 = ["href"];
16916
- const _hoisted_7$6 = { class: "announce-handle-wrapper" };
16919
+ const _hoisted_7$7 = { class: "announce-handle-wrapper" };
16917
16920
  const ANNOUNCE_STATUS_KEY = "site_announcement_status";
16918
16921
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
16919
16922
  ...{ name: "SiteAnnouncement" },
@@ -16985,7 +16988,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
16985
16988
  ])
16986
16989
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
16987
16990
  createElementVNode("div", _hoisted_4$e, [
16988
- createElementVNode("div", _hoisted_5$9, [
16991
+ createElementVNode("div", _hoisted_5$a, [
16989
16992
  createVNode(GIcon, {
16990
16993
  name: "gt-plane-warningCircular-blue",
16991
16994
  size: "16",
@@ -16998,7 +17001,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
16998
17001
  }, toDisplayString$1(unref(t2)("gitCodeLayout.home.migrationAnnounce.viewDetail")), 9, _hoisted_6$8)
16999
17002
  ])
17000
17003
  ]),
17001
- createElementVNode("div", _hoisted_7$6, [
17004
+ createElementVNode("div", _hoisted_7$7, [
17002
17005
  createElementVNode("span", {
17003
17006
  class: "announce-handle",
17004
17007
  onClick: _cache[1] || (_cache[1] = ($event) => handleClose())
@@ -17133,6 +17136,7 @@ const _hoisted_1$p = { class: "home-header-actions" };
17133
17136
  const _hoisted_2$j = { class: "home-header-actions__menu" };
17134
17137
  const _hoisted_3$i = ["href"];
17135
17138
  const _hoisted_4$d = ["href"];
17139
+ const _hoisted_5$9 = { class: "home-header-actions__workspace-text" };
17136
17140
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
17137
17141
  ...{
17138
17142
  name: "HomeHeaderActions"
@@ -17303,24 +17307,35 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17303
17307
  class: "home-header-actions__button home-header-actions__workspace",
17304
17308
  onClick: onWorkspaceClick
17305
17309
  }, [
17306
- _cache[1] || (_cache[1] = createStaticVNode('<svg class="home-header-actions__icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-vue-layout-gitcode><path d="M12 12h.01" data-v-vue-layout-gitcode></path><path d="M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2" data-v-vue-layout-gitcode></path><path d="M22 13a18.15 18.15 0 0 1-20 0" data-v-vue-layout-gitcode></path><rect width="20" height="14" x="2" y="6" rx="2" data-v-vue-layout-gitcode></rect></svg>', 1)),
17307
- createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.header.myWorkbench")), 1)
17310
+ createVNode(GIcon, {
17311
+ class: "home-header-actions__icon",
17312
+ name: "gt-line-work",
17313
+ size: "16px",
17314
+ color: "currentColor"
17315
+ }),
17316
+ createElementVNode("span", _hoisted_5$9, toDisplayString$1(unref(t2)("gitCodeLayout.header.myWorkbench")), 1)
17308
17317
  ], 8, _hoisted_4$d)
17309
17318
  ]);
17310
17319
  };
17311
17320
  }
17312
17321
  });
17313
17322
  const HomeHeaderActions = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-vue-layout-gitcode"]]);
17314
- const _hoisted_1$o = ["aria-label"];
17315
- const _hoisted_2$i = ["aria-label", "aria-expanded"];
17323
+ const _hoisted_1$o = ["aria-label", "aria-expanded"];
17324
+ const _hoisted_2$i = { class: "atomcode-launcher-text" };
17316
17325
  const _hoisted_3$h = {
17317
17326
  id: "atomCodeLaunchMenu",
17318
17327
  class: "atomcode-launch-menu",
17319
17328
  role: "menu"
17320
17329
  };
17321
- const _hoisted_4$c = { class: "atomcode-launch-heading" };
17322
- const _hoisted_5$8 = { id: "atomCodeContextHint" };
17323
- const _hoisted_6$7 = ["href"];
17330
+ const _hoisted_4$c = { class: "atomcode-launch-item__title-row" };
17331
+ const _hoisted_5$8 = { class: "atomcode-launch-item__title" };
17332
+ const _hoisted_6$7 = {
17333
+ id: "atomCodeContextHint",
17334
+ class: "atomcode-launch-item__desc"
17335
+ };
17336
+ const _hoisted_7$6 = ["href"];
17337
+ const _hoisted_8$6 = { class: "atomcode-launch-item__title-row" };
17338
+ const _hoisted_9$6 = { class: "atomcode-launch-item__title" };
17324
17339
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
17325
17340
  ...{
17326
17341
  name: "AtomCodeLauncher"
@@ -17391,16 +17406,6 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17391
17406
  id: "atomCodeLauncher",
17392
17407
  class: normalizeClass(["atomcode-launcher", { open: isOpen.value }])
17393
17408
  }, [
17394
- createElementVNode("button", {
17395
- id: "atomCodeLaunchMain",
17396
- class: "atomcode-launch-main",
17397
- type: "button",
17398
- "aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCode"),
17399
- onClick: handleLaunchMain
17400
- }, [
17401
- _cache[0] || (_cache[0] = createStaticVNode('<svg data-lucide="sparkles" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-v-vue-layout-gitcode><path d="m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z" data-v-vue-layout-gitcode></path><path d="M5 3v4" data-v-vue-layout-gitcode></path><path d="M19 17v4" data-v-vue-layout-gitcode></path><path d="M3 5h4" data-v-vue-layout-gitcode></path><path d="M17 19h4" data-v-vue-layout-gitcode></path></svg>', 1)),
17402
- createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.title")), 1)
17403
- ], 8, _hoisted_1$o),
17404
17409
  createVNode(unref(Dropdown), {
17405
17410
  position: ["bottom-end", "bottom-start"],
17406
17411
  "destroy-on-hide": false,
@@ -17411,111 +17416,101 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17411
17416
  }, {
17412
17417
  menu: withCtx(() => [
17413
17418
  createElementVNode("div", _hoisted_3$h, [
17414
- createElementVNode("div", _hoisted_4$c, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.useAtomCode")), 1),
17415
17419
  createElementVNode("button", {
17416
17420
  type: "button",
17421
+ class: "atomcode-launch-item atomcode-launch-item--with-desc",
17417
17422
  role: "menuitem",
17418
17423
  "data-atomcode-open": "",
17419
17424
  onClick: openAtomCode
17420
17425
  }, [
17421
- _cache[2] || (_cache[2] = createElementVNode("svg", {
17422
- "data-lucide": "arrow-up-right",
17423
- xmlns: "http://www.w3.org/2000/svg",
17424
- width: "16",
17425
- height: "16",
17426
- viewBox: "0 0 24 24",
17427
- fill: "none",
17428
- stroke: "currentColor",
17429
- "stroke-width": "2",
17430
- "stroke-linecap": "round",
17431
- "stroke-linejoin": "round",
17432
- "aria-hidden": "true"
17433
- }, [
17434
- createElementVNode("path", { d: "M7 7h10v10" }),
17435
- createElementVNode("path", { d: "M7 17 17 7" })
17436
- ], -1)),
17437
- createElementVNode("span", null, [
17438
- createElementVNode("strong", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.openInWorkbench")), 1),
17439
- createElementVNode("small", _hoisted_5$8, toDisplayString$1(contextHintText.value), 1)
17440
- ])
17426
+ createElementVNode("div", _hoisted_4$c, [
17427
+ _cache[0] || (_cache[0] = createElementVNode("svg", {
17428
+ "data-lucide": "arrow-up-right",
17429
+ xmlns: "http://www.w3.org/2000/svg",
17430
+ width: "16",
17431
+ height: "16",
17432
+ viewBox: "0 0 24 24",
17433
+ fill: "none",
17434
+ stroke: "currentColor",
17435
+ "stroke-width": "2",
17436
+ "stroke-linecap": "round",
17437
+ "stroke-linejoin": "round",
17438
+ "aria-hidden": "true",
17439
+ class: "atomcode-item-icon"
17440
+ }, [
17441
+ createElementVNode("path", { d: "M7 7h10v10" }),
17442
+ createElementVNode("path", { d: "M7 17 17 7" })
17443
+ ], -1)),
17444
+ createElementVNode("span", _hoisted_5$8, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.openInWorkbench")), 1)
17445
+ ]),
17446
+ createElementVNode("div", _hoisted_6$7, toDisplayString$1(contextHintText.value), 1)
17441
17447
  ]),
17442
- _cache[5] || (_cache[5] = createElementVNode("div", { class: "atomcode-launch-divider" }, null, -1)),
17443
17448
  createElementVNode("a", {
17444
17449
  href: resolvedCliDownloadUrl.value,
17445
17450
  target: "_blank",
17446
17451
  rel: "noopener noreferrer",
17452
+ class: "atomcode-launch-item",
17447
17453
  role: "menuitem",
17448
17454
  "data-atomcode-cli": ""
17449
17455
  }, [
17450
- _cache[3] || (_cache[3] = createElementVNode("svg", {
17451
- "data-lucide": "download",
17452
- xmlns: "http://www.w3.org/2000/svg",
17453
- width: "16",
17454
- height: "16",
17455
- viewBox: "0 0 24 24",
17456
- fill: "none",
17457
- stroke: "currentColor",
17458
- "stroke-width": "2",
17459
- "stroke-linecap": "round",
17460
- "stroke-linejoin": "round",
17461
- "aria-hidden": "true"
17462
- }, [
17463
- createElementVNode("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
17464
- createElementVNode("polyline", { points: "7 10 12 15 17 10" }),
17465
- createElementVNode("line", {
17466
- x1: "12",
17467
- x2: "12",
17468
- y1: "15",
17469
- y2: "3"
17470
- })
17471
- ], -1)),
17472
- createElementVNode("span", null, [
17473
- createElementVNode("strong", null, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.downloadCli")), 1)
17474
- ]),
17475
- _cache[4] || (_cache[4] = createElementVNode("svg", {
17476
- "data-lucide": "arrow-up-right",
17477
- xmlns: "http://www.w3.org/2000/svg",
17478
- width: "15",
17479
- height: "15",
17480
- viewBox: "0 0 24 24",
17481
- fill: "none",
17482
- stroke: "currentColor",
17483
- "stroke-width": "2",
17484
- "stroke-linecap": "round",
17485
- "stroke-linejoin": "round",
17486
- "aria-hidden": "true"
17487
- }, [
17488
- createElementVNode("path", { d: "M7 7h10v10" }),
17489
- createElementVNode("path", { d: "M7 17 17 7" })
17490
- ], -1))
17491
- ], 8, _hoisted_6$7)
17456
+ createElementVNode("div", _hoisted_8$6, [
17457
+ _cache[1] || (_cache[1] = createElementVNode("svg", {
17458
+ "data-lucide": "download",
17459
+ xmlns: "http://www.w3.org/2000/svg",
17460
+ width: "16",
17461
+ height: "16",
17462
+ viewBox: "0 0 24 24",
17463
+ fill: "none",
17464
+ stroke: "currentColor",
17465
+ "stroke-width": "2",
17466
+ "stroke-linecap": "round",
17467
+ "stroke-linejoin": "round",
17468
+ "aria-hidden": "true",
17469
+ class: "atomcode-item-icon"
17470
+ }, [
17471
+ createElementVNode("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }),
17472
+ createElementVNode("polyline", { points: "7 10 12 15 17 10" }),
17473
+ createElementVNode("line", {
17474
+ x1: "12",
17475
+ x2: "12",
17476
+ y1: "15",
17477
+ y2: "3"
17478
+ })
17479
+ ], -1)),
17480
+ createElementVNode("span", _hoisted_9$6, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.downloadCli")), 1)
17481
+ ])
17482
+ ], 8, _hoisted_7$6)
17492
17483
  ])
17493
17484
  ]),
17494
17485
  default: withCtx(() => [
17495
17486
  createElementVNode("button", {
17496
- id: "atomCodeLaunchToggle",
17497
- class: "atomcode-launch-toggle",
17487
+ id: "atomCodeLaunchMain",
17488
+ class: "atomcode-launcher-btn",
17498
17489
  type: "button",
17499
- "aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCodeMenu"),
17490
+ "aria-label": unref(t2)("gitCodeLayout.atomCode.openAtomCode"),
17500
17491
  "aria-haspopup": "menu",
17501
- "aria-expanded": isOpen.value
17502
- }, _cache[1] || (_cache[1] = [
17503
- createElementVNode("svg", {
17504
- "data-lucide": "chevron-down",
17505
- xmlns: "http://www.w3.org/2000/svg",
17506
- width: "16",
17507
- height: "16",
17508
- viewBox: "0 0 24 24",
17509
- fill: "none",
17510
- stroke: "currentColor",
17511
- "stroke-width": "2",
17512
- "stroke-linecap": "round",
17513
- "stroke-linejoin": "round",
17514
- "aria-hidden": "true"
17515
- }, [
17516
- createElementVNode("path", { d: "m6 9 6 6 6-6" })
17517
- ], -1)
17518
- ]), 8, _hoisted_2$i)
17492
+ "aria-expanded": isOpen.value,
17493
+ onClick: handleLaunchMain
17494
+ }, [
17495
+ createVNode(GIcon, {
17496
+ name: "gt-line-copilot-light",
17497
+ size: "16px",
17498
+ class: "atomcode-icon atomcode-icon--light"
17499
+ }),
17500
+ createVNode(GIcon, {
17501
+ name: "gt-line-copilot-dark",
17502
+ size: "16px",
17503
+ class: "atomcode-icon atomcode-icon--dark"
17504
+ }),
17505
+ createElementVNode("span", _hoisted_2$i, toDisplayString$1(unref(t2)("gitCodeLayout.atomCode.title")), 1),
17506
+ createVNode(GIcon, {
17507
+ name: "gt-line-down",
17508
+ size: "16px",
17509
+ color: "currentColor",
17510
+ rotate: isOpen.value ? "180deg" : "0deg",
17511
+ class: "atomcode-launcher-chevron"
17512
+ }, null, 8, ["rotate"])
17513
+ ], 8, _hoisted_1$o)
17519
17514
  ]),
17520
17515
  _: 1
17521
17516
  })
@@ -17540,7 +17535,7 @@ const vElementExposure = {
17540
17535
  beforeUnmount() {
17541
17536
  }
17542
17537
  };
17543
- const NoticeModal = defineAsyncComponent(() => import("./notice-7F251gFl.js"));
17538
+ const NoticeModal = defineAsyncComponent(() => import("./notice-CabzYxnD.js"));
17544
17539
  function clearNotice() {
17545
17540
  if (localStorage$2.getItem("validator_email")) {
17546
17541
  localStorage$2.removeItem("validator_email");
@@ -17575,12 +17570,20 @@ const _hoisted_3$g = {
17575
17570
  };
17576
17571
  const _hoisted_4$b = { class: "g-toolbar-right__claim-row" };
17577
17572
  const _hoisted_5$7 = {
17573
+ key: 0,
17574
+ class: "g-toolbar-right-divider"
17575
+ };
17576
+ const _hoisted_6$6 = {
17577
+ key: 0,
17578
+ class: "g-toolbar-right-divider"
17579
+ };
17580
+ const _hoisted_7$5 = {
17578
17581
  key: 1,
17579
17582
  class: "g-header-body"
17580
17583
  };
17581
- const _hoisted_6$6 = { class: "g-header-body-left" };
17582
- const _hoisted_7$5 = { class: "g-header-body-right" };
17583
- const _hoisted_8$5 = { key: 2 };
17584
+ const _hoisted_8$5 = { class: "g-header-body-left" };
17585
+ const _hoisted_9$5 = { class: "g-header-body-right" };
17586
+ const _hoisted_10$5 = { key: 2 };
17584
17587
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
17585
17588
  ...{
17586
17589
  name: "GitCodeHeader"
@@ -18124,7 +18127,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18124
18127
  isModuleVisible(unref(HeaderDisplayItem).OPERATION_ENTRY) ? (openBlock(), createBlock(OperationEntry, { key: 0 })) : createCommentVNode("", true)
18125
18128
  ]),
18126
18129
  !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
18127
- isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18130
+ !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_5$7)) : createCommentVNode("", true),
18131
+ isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
18128
18132
  unref(isMobile) ? (openBlock(), createElementBlock("section", {
18129
18133
  key: 0,
18130
18134
  class: "app-login-warp login-icon",
@@ -18159,17 +18163,18 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18159
18163
  ], 64)) : createCommentVNode("", true)
18160
18164
  ], 64)) : createCommentVNode("", true)
18161
18165
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
18166
+ !["sm"].includes(unref(widthType)) ? (openBlock(), createElementBlock("div", _hoisted_6$6)) : createCommentVNode("", true),
18162
18167
  !["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(HeaderCreateMenu, {
18163
- key: 0,
18168
+ key: 1,
18164
18169
  dropdownVisible: props.openCreateDropdown,
18165
18170
  items: props.createMenuItems,
18166
18171
  onNavigate: props.createMenuNavigate,
18167
18172
  "onUpdate:dropdownVisible": _cache[6] || (_cache[6] = ($event) => emit("update:openCreateDropdown", $event))
18168
18173
  }, null, 8, ["dropdownVisible", "items", "onNavigate"])) : createCommentVNode("", true),
18169
- isModuleVisible(unref(HeaderDisplayItem).DOCUMENT_CENTER) ? (openBlock(), createBlock(DocumentCenter, { key: 1 })) : createCommentVNode("", true),
18170
- isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 2 })) : createCommentVNode("", true),
18174
+ isModuleVisible(unref(HeaderDisplayItem).DOCUMENT_CENTER) ? (openBlock(), createBlock(DocumentCenter, { key: 2 })) : createCommentVNode("", true),
18175
+ isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 3 })) : createCommentVNode("", true),
18171
18176
  isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
18172
- key: 3,
18177
+ key: 4,
18173
18178
  isChatBot: isChatBot.value,
18174
18179
  loginOutFinish: _ctx.loginOutFinish,
18175
18180
  inAIHub: inAIHub.value,
@@ -18181,17 +18186,17 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
18181
18186
  ])), [
18182
18187
  [unref(vElementExposure), { trigger: () => handleToolbarExpo() }]
18183
18188
  ]),
18184
- _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
18189
+ _ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
18185
18190
  renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
18186
- createElementVNode("div", _hoisted_6$6, [
18191
+ createElementVNode("div", _hoisted_8$5, [
18187
18192
  renderSlot(_ctx.$slots, "info", {}, void 0, true)
18188
18193
  ]),
18189
- createElementVNode("div", _hoisted_7$5, [
18194
+ createElementVNode("div", _hoisted_9$5, [
18190
18195
  renderSlot(_ctx.$slots, "menu", {}, void 0, true)
18191
18196
  ])
18192
18197
  ], true)
18193
18198
  ])) : createCommentVNode("", true),
18194
- _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
18199
+ _ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_10$5, [
18195
18200
  renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
18196
18201
  ])) : createCommentVNode("", true)
18197
18202
  ], 6)
@@ -19355,7 +19360,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19355
19360
  loginChildComponents: { default: void 0 },
19356
19361
  atomcodeLaunchQs: { default: "" },
19357
19362
  showAtomCodeLauncher: { type: Boolean, default: false },
19358
- launchAtomCode: { type: Function, default: void 0 }
19363
+ launchAtomCode: { type: Function, default: void 0 },
19364
+ defaultGlobalSearchType: { default: "repo" }
19359
19365
  },
19360
19366
  emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess"],
19361
19367
  setup(__props, { emit: __emit }) {
@@ -19575,7 +19581,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19575
19581
  inAIHub: false,
19576
19582
  key: _ctx.$route.fullPath,
19577
19583
  sceneValue: unref(SceneValue).home,
19578
- isShowStickyNotice: false
19584
+ isShowStickyNotice: false,
19585
+ defaultGlobalSearchType: _ctx.defaultGlobalSearchType
19579
19586
  }, createSlots({ _: 2 }, [
19580
19587
  _ctx.$slots.searchRecommend ? {
19581
19588
  name: "searchRecommend",
@@ -19591,7 +19598,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19591
19598
  ]),
19592
19599
  key: "1"
19593
19600
  } : void 0
19594
- ]), 1032, ["sceneValue"]))
19601
+ ]), 1032, ["sceneValue", "defaultGlobalSearchType"]))
19595
19602
  ], true) : createCommentVNode("", true)
19596
19603
  ]),
19597
19604
  createElementVNode("div", _hoisted_7$3, [
@@ -19649,7 +19656,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19649
19656
  color: "var(--theme-light-text)",
19650
19657
  class: "btn-add-icon"
19651
19658
  }),
19652
- createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.createRepo_01")), 1)
19659
+ createTextVNode(toDisplayString$1(unref(t2)("gitCodeLayout.header.create")), 1)
19653
19660
  ]),
19654
19661
  _: 1
19655
19662
  })) : createCommentVNode("", true),
@@ -19924,9 +19931,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
19924
19931
  const layoutConfig2 = useLayoutConfig();
19925
19932
  const { t: t2 } = i18n.global;
19926
19933
  const route = useRoute();
19927
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-BP1Zpc0Z.js"));
19928
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BR3K5AVm.js"));
19929
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BphF9hcW.js"));
19934
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-z_q38p7d.js"));
19935
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-w27iLg53.js"));
19936
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-D-5t0FdW.js"));
19930
19937
  const props = __props;
19931
19938
  const useReport2 = inject("useReport");
19932
19939
  const userInfo = inject("userInfo");
@@ -26380,7 +26387,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26380
26387
  __publicField(_SlidCaptchaManager, "instance");
26381
26388
  let SlidCaptchaManager = _SlidCaptchaManager;
26382
26389
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26383
- const SlidCaptcha = defineAsyncComponent(() => import("./index-mAml0m-2.js"));
26390
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CSBavq4m.js"));
26384
26391
  const useSlidCaptcha = () => {
26385
26392
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26386
26393
  const open = (config) => {
@@ -26410,7 +26417,7 @@ const useSlidCaptcha = () => {
26410
26417
  close
26411
26418
  };
26412
26419
  };
26413
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-Bt39i4Am.js"));
26420
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-B9S7kNlY.js"));
26414
26421
  const useYunpianCaptcha = () => {
26415
26422
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26416
26423
  const open = (config) => {