vue-layout-gitcode 1.9.22 → 1.9.23

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,10 +1,10 @@
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-C7_YkPbO.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-BkRHEbSF.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CX6Ws4cX.js";
7
- import "./transWebUrl-BP9hBhvr.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CceYmtb0.js";
7
+ import "./transWebUrl-XUmsR0Lf.js";
8
8
  import "vue-devui-lal/tooltip";
9
9
  import "vue-devui-lal/tooltip/style.css";
10
10
  import "vue-router";
@@ -12,7 +12,6 @@ import "vue-devui-lal/grid";
12
12
  import "vue-devui-lal/skeleton";
13
13
  import "vue-devui-lal/grid/style.css";
14
14
  import "vue-devui-lal/skeleton/style.css";
15
- import "@vueuse/core";
16
15
  import "vue-devui-lal/popover";
17
16
  import "vue-devui-lal/popover/style.css";
18
17
  const _hoisted_1$1 = { class: "mb-[4px] mt-[16px] flex justify-between" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, useSlots, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, renderSlot } from "vue";
2
- import { a as i18n, w as useLayoutConfig, x as ThemeType, y as currentTheme, g as LANG_ZH, z as LANG_EN, q as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-C7_YkPbO.js";
2
+ import { a as i18n, x as useLayoutConfig, y as ThemeType, z as currentTheme, L as LANG_ZH, A as LANG_EN, w as getLocaleLang, G as GIcon, B as emitEvent, C as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BkRHEbSF.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { Popover } from "vue-devui-lal/popover";
5
5
  import "vue-devui-lal/popover/style.css";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, ref, reactive, watch, computed, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, vShow } from "vue";
2
- import { a as i18n, w as useLayoutConfig, G as GIcon, C as _sfc_main$1, D as loadAsideData, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, F as asideRequest, _ as _export_sfc } from "./index-C7_YkPbO.js";
2
+ import { a as i18n, x as useLayoutConfig, G as GIcon, D as _sfc_main$1, F as loadAsideData, B as emitEvent, s as setLoginTriggerSource, d as useRequestReport, H as asideRequest, _ as _export_sfc } from "./index-BkRHEbSF.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-BP9hBhvr.js";
4
+ import { t as transWebUrl } from "./transWebUrl-XUmsR0Lf.js";
5
5
  import { Select, Option } from "vue-devui-lal/select";
6
6
  import { Input } from "vue-devui-lal/input";
7
7
  import { Skeleton } from "vue-devui-lal/skeleton";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, ref, reactive, computed, watch, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
2
- import { a as i18n, w as useLayoutConfig, G as GIcon, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-C7_YkPbO.js";
2
+ import { a as i18n, x as useLayoutConfig, G as GIcon, B as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-BkRHEbSF.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-BP9hBhvr.js";
4
+ import { t as transWebUrl } from "./transWebUrl-XUmsR0Lf.js";
5
5
  import { Input } from "vue-devui-lal/input";
6
6
  import { Skeleton } from "vue-devui-lal/skeleton";
7
7
  import { MenuItem } from "vue-devui-lal/menu";
@@ -1,5 +1,5 @@
1
1
  import { 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-C7_YkPbO.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-BkRHEbSF.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-C7_YkPbO.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BkRHEbSF.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-C7_YkPbO.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-BkRHEbSF.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, renderSlot, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-CX6Ws4cX.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-C7_YkPbO.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-CceYmtb0.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-BkRHEbSF.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-C7_YkPbO.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BkRHEbSF.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-C7_YkPbO.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-BkRHEbSF.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]" };
@@ -10,7 +10,7 @@ import "vue-devui-lal/textarea/style.css";
10
10
  import { Icon } from "vue-devui-lal/icon";
11
11
  import "vue-devui-lal/icon/style.css";
12
12
  import { useRouter, useRoute, createRouter, createWebHistory, createMemoryHistory } from "vue-router";
13
- import { useWindowSize, useEventListener, useElementSize, useLocalStorage, useStorage, useDebounceFn } from "@vueuse/core";
13
+ import { useWindowSize, useEventListener, useElementSize, useStorage, useDebounceFn } from "@vueuse/core";
14
14
  import { Avatar } from "vue-devui-lal/avatar";
15
15
  import "vue-devui-lal/avatar/style.css";
16
16
  import "lodash/last";
@@ -8242,6 +8242,7 @@ const LANGUAGE = [
8242
8242
  { label: "English", value: LANG_EN, language: LANGUAGE_EN, icon: "gt-line-English1" }
8243
8243
  ];
8244
8244
  const LANG_KEY = "gitcode_lang";
8245
+ const SUPPORT_LOCALES = [LANG_EN, LANG_ZH];
8245
8246
  function isComposer(instance, mode) {
8246
8247
  return mode === "composition" && isRef(instance.locale);
8247
8248
  }
@@ -8264,7 +8265,8 @@ function setI18nLanguage(i18n2, locale2) {
8264
8265
  setLocale(i18n2, locale2);
8265
8266
  }
8266
8267
  const getLocaleLang = () => {
8267
- let localLang = localStorage$2.getItem(LANG_KEY);
8268
+ const storedLang = api.get(LANG_KEY);
8269
+ let localLang = SUPPORT_LOCALES.includes(storedLang) ? storedLang : LANG_ZH;
8268
8270
  if (typeof window !== "undefined" && window.location.pathname.startsWith("/ai-copilot")) {
8269
8271
  localLang = LANG_ZH;
8270
8272
  }
@@ -12240,7 +12242,6 @@ const THEME_KEY = "gitcode_theme";
12240
12242
  const COOKIE_DOMAIN = ".gitcode.com";
12241
12243
  const COOKIE_OPTIONS = {
12242
12244
  expires: 365,
12243
- // 365天过期
12244
12245
  path: "/",
12245
12246
  secure: typeof window !== "undefined" && window.location.protocol === "https:",
12246
12247
  sameSite: "Lax",
@@ -16974,13 +16975,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
16974
16975
  var _a;
16975
16976
  const layoutConfig2 = useLayoutConfig();
16976
16977
  const { t: $t } = i18n.global;
16977
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CKv_y8SW.js"));
16978
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-BZcotSfD.js"));
16979
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-RdF8iq7P.js"));
16980
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-B1_dOf1o.js"));
16981
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D2wjoTji.js"));
16982
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CV1LjR8t.js"));
16983
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-CFRMLyYb.js"));
16978
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-D8DGAJmL.js"));
16979
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-B3yD5lgn.js"));
16980
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DYl0xYMM.js"));
16981
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BHjTiqAf.js"));
16982
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-Cn7_fr8L.js"));
16983
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-C2e6dImb.js"));
16984
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-c5H8fMMA.js"));
16984
16985
  const props = __props;
16985
16986
  const repoInfo = inject("repoInfo");
16986
16987
  const orgInfo = inject("orgInfo");
@@ -17634,7 +17635,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
17634
17635
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
17635
17636
  }
17636
17637
  };
17637
- const NoticeModal = defineAsyncComponent(() => import("./notice-BL4L53eD.js"));
17638
+ const NoticeModal = defineAsyncComponent(() => import("./notice-COFIbYUY.js"));
17638
17639
  function clearNotice() {
17639
17640
  if (localStorage$2.getItem("validator_email")) {
17640
17641
  localStorage$2.removeItem("validator_email");
@@ -18388,9 +18389,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18388
18389
  const layoutConfig2 = useLayoutConfig();
18389
18390
  const { t: t2 } = i18n.global;
18390
18391
  const route = useRoute();
18391
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-D-6V-e9q.js"));
18392
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DHiYVus4.js"));
18393
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DrwBMawO.js"));
18392
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-DEhVPYgY.js"));
18393
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-CSxrRyNI.js"));
18394
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-T5BKYgxJ.js"));
18394
18395
  const props = __props;
18395
18396
  console.log("slotKeys", props.slotKeys);
18396
18397
  console.log("props", props);
@@ -18602,13 +18603,34 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18602
18603
  }
18603
18604
  });
18604
18605
  const Area = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-vue-layout-gitcode"]]);
18606
+ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
18607
+ const storedValue = api.get(key);
18608
+ const initialValue = storedValue ?? defaultValue;
18609
+ const value = ref(initialValue);
18610
+ if (!storedValue) {
18611
+ api.set(key, initialValue, options);
18612
+ }
18613
+ watch(
18614
+ value,
18615
+ (newValue) => {
18616
+ if (newValue) {
18617
+ api.set(key, newValue, options);
18618
+ } else {
18619
+ api.remove(key, { domain: COOKIE_DOMAIN });
18620
+ }
18621
+ },
18622
+ { flush: "sync" }
18623
+ // 立即同步,不等待下一个 tick
18624
+ );
18625
+ return value;
18626
+ }
18605
18627
  const _hoisted_1$i = { class: "tools-item-wrapper" };
18606
18628
  const _hoisted_2$c = { class: "tools-item-wrapper-checkbox" };
18607
18629
  const _hoisted_3$a = ["onClick", "title"];
18608
18630
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
18609
18631
  __name: "Lang",
18610
18632
  setup(__props) {
18611
- const lang = useLocalStorage(LANG_KEY, LANG_ZH);
18633
+ const lang = useCookie(LANG_KEY, LANG_ZH);
18612
18634
  const linkList = ref(LANGUAGE);
18613
18635
  const router2 = useRouter();
18614
18636
  const { t: t2 } = i18n.global;
@@ -24090,7 +24112,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24090
24112
  }
24091
24113
  });
24092
24114
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
24093
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CAVuy618.js"));
24115
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-DJmsTDuM.js"));
24094
24116
  const useSlidCaptcha = () => {
24095
24117
  const { mount, unMount } = usePopup("slid-captcha-popup");
24096
24118
  const open = (config) => {
@@ -24109,7 +24131,7 @@ const useSlidCaptcha = () => {
24109
24131
  close: unMount
24110
24132
  };
24111
24133
  };
24112
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-B0FboNO8.js"));
24134
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-DzdGoav5.js"));
24113
24135
  const useYunpianCaptcha = () => {
24114
24136
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
24115
24137
  const open = (config) => {
@@ -26128,26 +26150,27 @@ const index = {
26128
26150
  }
26129
26151
  };
26130
26152
  export {
26131
- emitEvent as A,
26132
- isHttps as B,
26133
- _sfc_main$A as C,
26134
- loadAsideData as D,
26153
+ LANG_EN as A,
26154
+ emitEvent as B,
26155
+ isHttps as C,
26156
+ _sfc_main$A as D,
26135
26157
  EVENT_NAME as E,
26136
- asideRequest as F,
26158
+ loadAsideData as F,
26137
26159
  GIcon as G,
26138
- ToolsFloat as H,
26139
- _sfc_main as I,
26140
- GitCodeAside as J,
26141
- GitCodeHeader as K,
26142
- LANG_KEY as L,
26143
- useLogin as M,
26144
- setLayoutConfig as N,
26145
- GitCodeLayoutEmitter as O,
26146
- setTheme as P,
26147
- index as Q,
26160
+ asideRequest as H,
26161
+ ToolsFloat as I,
26162
+ _sfc_main as J,
26163
+ GitCodeAside as K,
26164
+ LANG_ZH as L,
26165
+ GitCodeHeader as M,
26166
+ useLogin as N,
26167
+ setLayoutConfig as O,
26168
+ GitCodeLayoutEmitter as P,
26169
+ setTheme as Q,
26148
26170
  REPO_MODULE as R,
26149
26171
  SceneValue as S,
26150
26172
  TOPIC_TYPE as T,
26173
+ index as U,
26151
26174
  _export_sfc as _,
26152
26175
  i18n as a,
26153
26176
  REPO_EVENT as b,
@@ -26155,7 +26178,7 @@ export {
26155
26178
  useRequestReport as d,
26156
26179
  extractRepoInfoWithURL as e,
26157
26180
  useTimeFormat as f,
26158
- LANG_ZH as g,
26181
+ useCookie as g,
26159
26182
  headRequest as h,
26160
26183
  isPhone as i,
26161
26184
  usePageResize as j,
@@ -26165,14 +26188,14 @@ export {
26165
26188
  isIncubationRepo as n,
26166
26189
  highlightWords as o,
26167
26190
  _frEventTrack as p,
26168
- getLocaleLang as q,
26191
+ LANG_KEY as q,
26169
26192
  reqCatch as r,
26170
26193
  setLoginTriggerSource as s,
26171
26194
  transferNumber as t,
26172
26195
  useModel as u,
26173
26196
  vElementExposure as v,
26174
- useLayoutConfig as w,
26175
- ThemeType as x,
26176
- currentTheme as y,
26177
- LANG_EN as z
26197
+ getLocaleLang as w,
26198
+ useLayoutConfig as x,
26199
+ ThemeType as y,
26200
+ currentTheme as z
26178
26201
  };
@@ -1,13 +1,12 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
2
2
  import debounce from "lodash/debounce";
3
- import { t as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, L as LANG_KEY, g as LANG_ZH, j as usePageResize, k as isGstarRepo, m as _sfc_main$b, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-C7_YkPbO.js";
4
- import { t as transWebUrl } from "./transWebUrl-BP9hBhvr.js";
3
+ import { t as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as useCookie, j as usePageResize, L as LANG_ZH, k as isGstarRepo, m as _sfc_main$b, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, q as LANG_KEY } from "./index-BkRHEbSF.js";
4
+ import { t as transWebUrl } from "./transWebUrl-XUmsR0Lf.js";
5
5
  import { useRouter } from "vue-router";
6
6
  import { Row, Col } from "vue-devui-lal/grid";
7
7
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
8
8
  import "vue-devui-lal/grid/style.css";
9
9
  import "vue-devui-lal/skeleton/style.css";
10
- import { useLocalStorage } from "@vueuse/core";
11
10
  import { Popover } from "vue-devui-lal/popover";
12
11
  import "vue-devui-lal/popover/style.css";
13
12
  const useReportRepo = (reportParams, viewReport) => {
@@ -635,7 +634,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
635
634
  },
636
635
  emits: ["report"],
637
636
  setup(__props, { emit: __emit }) {
638
- const lang = useLocalStorage(LANG_KEY, LANG_ZH);
637
+ const lang = useCookie(LANG_KEY, LANG_ZH);
639
638
  const API = headRequest(inject("request"));
640
639
  const emits = __emit;
641
640
  const router = useRouter();
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { q as getLocaleLang, g as LANG_ZH, w as useLayoutConfig, _ as _export_sfc } from "./index-C7_YkPbO.js";
2
+ import { w as getLocaleLang, L as LANG_ZH, x as useLayoutConfig, _ as _export_sfc } from "./index-BkRHEbSF.js";
3
3
  import { FixedOverlay } from "vue-devui-lal/overlay";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const TARGET_TEXT = "Click in order:";
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
8
8
  import "vue-devui-lal/message/style.css";
9
9
  import { FixedOverlay } from "vue-devui-lal/overlay";
10
10
  import "vue-devui-lal/overlay/style.css";
11
- import { a as i18n, j as usePageResize, q as getLocaleLang, g as LANG_ZH, _ as _export_sfc } from "./index-C7_YkPbO.js";
11
+ import { a as i18n, j as usePageResize, w as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BkRHEbSF.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  constructor() {
14
14
  __publicField(this, "ypRiddlerInstance", null);
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { J, K, O, I, S, H, y, Q, N, P, M } from "./index-C7_YkPbO.js";
1
+ import { K, M, P, J, S, I, z, U, O, Q, N } from "./index-BkRHEbSF.js";
2
2
  export {
3
- J as GitCodeAside,
4
- K as GitCodeHeader,
5
- O as GitCodeLayoutEmitter,
6
- I as Login,
3
+ K as GitCodeAside,
4
+ M as GitCodeHeader,
5
+ P as GitCodeLayoutEmitter,
6
+ J as Login,
7
7
  S as SceneValue,
8
- H as ToolsFloat,
9
- y as currentTheme,
10
- Q as default,
11
- N as setLayoutConfig,
12
- P as setTheme,
13
- M as useLogin
8
+ I as ToolsFloat,
9
+ z as currentTheme,
10
+ U as default,
11
+ O as setLayoutConfig,
12
+ Q as setTheme,
13
+ N as useLogin
14
14
  };
@@ -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-C7_YkPbO.js";
2
+ import { i as isPhone, u as useModel } from "./index-BkRHEbSF.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.9.22",
3
+ "version": "1.9.23",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
- import { w as useLayoutConfig } from "./index-C7_YkPbO.js";
1
+ import { x as useLayoutConfig } from "./index-BkRHEbSF.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;