vue-layout-gitcode 1.9.40 → 1.9.42
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.
- package/{GloabarSearch-CLGkvwud.js → GloabarSearch-GhdyEu56.js} +3 -3
- package/{MenuItem-DAZus3jl.js → MenuItem-wg5-67VI.js} +1 -1
- package/{ProjectMenuList-DaBBRDc8.js → ProjectMenuList-Bl42c1NJ.js} +2 -2
- package/{ProjectMenuListV2-DFD0fuuJ.js → ProjectMenuListV2-5DSL8L3S.js} +2 -2
- package/{ProjectSearch-Dh-HrHfE.js → ProjectSearch-Cxy0vDeB.js} +1 -1
- package/{SearchHistoryList-BM-JsOt3.js → SearchHistoryList-CWeAmN18.js} +1 -1
- package/{SearchPrefixTag-eMoQEc4_.js → SearchPrefixTag-CjqaeMDs.js} +1 -1
- package/{SearchRecommed-D10ZeNUs.js → SearchRecommed-D-kvRy54.js} +2 -2
- package/{SearchScopeList-B1lD-Yfq.js → SearchScopeList-Ca48ibiO.js} +1 -1
- package/{UserSearch-DoqY9xWw.js → UserSearch-CdMIuISR.js} +1 -1
- package/{index-T4Z5OkVh.js → index-2gPu79zL.js} +1 -1
- package/{index-CIU_9hcx.js → index-BYCtUltf.js} +1 -1
- package/{index-CfIVby28.js → index-Bg-e1h4U.js} +2 -2
- package/{index-DA28_nab.js → index-h2aMbLVB.js} +42 -45
- package/index.d.ts +2 -11
- package/index.js +7 -6
- package/{notice-BWDs3h0g.js → notice-B8YQB8zS.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-Dkwb_Npa.js → transWebUrl-UOD93u1l.js} +1 -1
|
@@ -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-
|
|
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-h2aMbLVB.js";
|
|
5
5
|
import "lodash/debounce";
|
|
6
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
7
|
-
import "./transWebUrl-
|
|
6
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-Bg-e1h4U.js";
|
|
7
|
+
import "./transWebUrl-UOD93u1l.js";
|
|
8
8
|
import "vue-devui-lal/tooltip";
|
|
9
9
|
import "vue-devui-lal/tooltip/style.css";
|
|
10
10
|
import "vue-router";
|
|
@@ -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, y as useLayoutConfig, z as ThemeType, A as currentTheme, L as LANG_ZH, B as LANG_EN, x as getLocaleLang, G as GIcon, C as emitEvent, D as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, z as ThemeType, A as currentTheme, L as LANG_ZH, B as LANG_EN, x as getLocaleLang, G as GIcon, C as emitEvent, D as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-h2aMbLVB.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, y as useLayoutConfig, G as GIcon, t as transformUrl, F as _sfc_main$1, H as loadAsideData, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, F as _sfc_main$1, H as loadAsideData, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-h2aMbLVB.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-UOD93u1l.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, y as useLayoutConfig, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, t as transformUrl, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, t as transformUrl, _ as _export_sfc } from "./index-h2aMbLVB.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-UOD93u1l.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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-h2aMbLVB.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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-h2aMbLVB.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-
|
|
2
|
+
import { G as GIcon, _ as _export_sfc } from "./index-h2aMbLVB.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-
|
|
3
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-Bg-e1h4U.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-h2aMbLVB.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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-h2aMbLVB.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, t as transformUrl } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-h2aMbLVB.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { x as getLocaleLang, L as LANG_ZH, y as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
2
|
+
import { x as getLocaleLang, L as LANG_ZH, y as useLayoutConfig, _ as _export_sfc } from "./index-h2aMbLVB.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, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-h2aMbLVB.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
constructor() {
|
|
14
14
|
__publicField(this, "ypRiddlerInstance", null);
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-h2aMbLVB.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-UOD93u1l.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";
|
|
@@ -8292,9 +8292,23 @@ const LANGUAGE = [
|
|
|
8292
8292
|
{ label: "English", value: LANG_EN, language: LANGUAGE_EN, icon: "gt-line-English1" }
|
|
8293
8293
|
];
|
|
8294
8294
|
const LANG_KEY = "gitcode_lang";
|
|
8295
|
+
const COOKIE_DOMAIN = () => {
|
|
8296
|
+
if (window.location.hostname.includes("atomgit.com")) {
|
|
8297
|
+
return ".atomgit.com";
|
|
8298
|
+
} else {
|
|
8299
|
+
return ".gitcode.com";
|
|
8300
|
+
}
|
|
8301
|
+
};
|
|
8302
|
+
const COOKIE_OPTIONS = {
|
|
8303
|
+
expires: 365,
|
|
8304
|
+
path: "/",
|
|
8305
|
+
secure: typeof window !== "undefined" && window.location.protocol === "https:",
|
|
8306
|
+
sameSite: "Lax",
|
|
8307
|
+
domain: COOKIE_DOMAIN()
|
|
8308
|
+
};
|
|
8295
8309
|
const SUPPORT_LOCALES = [LANG_EN, LANG_ZH];
|
|
8296
8310
|
const currentDomainCookie = api.get(LANG_KEY);
|
|
8297
|
-
if (currentDomainCookie && "." + window.location.hostname !==
|
|
8311
|
+
if (currentDomainCookie && "." + window.location.hostname !== COOKIE_DOMAIN() || !SUPPORT_LOCALES.includes(currentDomainCookie)) {
|
|
8298
8312
|
api.remove(LANG_KEY);
|
|
8299
8313
|
}
|
|
8300
8314
|
const reverseGitcodeToAtomgit = (messages) => {
|
|
@@ -12440,14 +12454,6 @@ var ThemeType = /* @__PURE__ */ ((ThemeType2) => {
|
|
|
12440
12454
|
return ThemeType2;
|
|
12441
12455
|
})(ThemeType || {});
|
|
12442
12456
|
const THEME_KEY = "gitcode_theme";
|
|
12443
|
-
const COOKIE_DOMAIN = ".gitcode.com";
|
|
12444
|
-
const COOKIE_OPTIONS = {
|
|
12445
|
-
expires: 365,
|
|
12446
|
-
path: "/",
|
|
12447
|
-
secure: typeof window !== "undefined" && window.location.protocol === "https:",
|
|
12448
|
-
sameSite: "Lax",
|
|
12449
|
-
domain: COOKIE_DOMAIN
|
|
12450
|
-
};
|
|
12451
12457
|
const currentThemeStorage = ref(api.get(THEME_KEY) || "");
|
|
12452
12458
|
const themeColorMap = {
|
|
12453
12459
|
[ThemeType.BLACK]: black,
|
|
@@ -12461,7 +12467,7 @@ watch(currentThemeStorage, (newValue) => {
|
|
|
12461
12467
|
if (newValue) {
|
|
12462
12468
|
api.set(THEME_KEY, newValue, COOKIE_OPTIONS);
|
|
12463
12469
|
} else {
|
|
12464
|
-
api.remove(THEME_KEY, { domain: COOKIE_DOMAIN });
|
|
12470
|
+
api.remove(THEME_KEY, { domain: COOKIE_DOMAIN() });
|
|
12465
12471
|
}
|
|
12466
12472
|
});
|
|
12467
12473
|
const currentTheme = computed(() => {
|
|
@@ -12515,7 +12521,7 @@ class Theme {
|
|
|
12515
12521
|
}
|
|
12516
12522
|
stopAutoTheme(isInit = false) {
|
|
12517
12523
|
if (!isInit) {
|
|
12518
|
-
api.remove("AutoTheme", { domain: COOKIE_DOMAIN });
|
|
12524
|
+
api.remove("AutoTheme", { domain: COOKIE_DOMAIN() });
|
|
12519
12525
|
}
|
|
12520
12526
|
this.darkModeMediaQuery.onchange = null;
|
|
12521
12527
|
}
|
|
@@ -17251,13 +17257,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17251
17257
|
var _a;
|
|
17252
17258
|
const layoutConfig2 = useLayoutConfig();
|
|
17253
17259
|
const { t: $t } = i18n.global;
|
|
17254
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17255
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17256
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17257
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17258
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17259
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17260
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17260
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Cxy0vDeB.js"));
|
|
17261
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-CdMIuISR.js"));
|
|
17262
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-GhdyEu56.js"));
|
|
17263
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CWeAmN18.js"));
|
|
17264
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-Ca48ibiO.js"));
|
|
17265
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CjqaeMDs.js"));
|
|
17266
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-D-kvRy54.js"));
|
|
17261
17267
|
const props = __props;
|
|
17262
17268
|
const repoInfo = inject("repoInfo");
|
|
17263
17269
|
const orgInfo = inject("orgInfo");
|
|
@@ -17914,13 +17920,9 @@ const announcementLeft = "0";
|
|
|
17914
17920
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
17915
17921
|
...{ name: "SiteAnnouncement" },
|
|
17916
17922
|
__name: "SiteAnnouncement",
|
|
17917
|
-
props: {
|
|
17918
|
-
asideCollapseMode: { type: Boolean, default: false }
|
|
17919
|
-
},
|
|
17920
17923
|
setup(__props) {
|
|
17921
17924
|
const { t: t2 } = i18n.global;
|
|
17922
17925
|
const isShow = ref(SITE_STATUS.DISABLE);
|
|
17923
|
-
const asideShow = ref(true);
|
|
17924
17926
|
const handleClose = (type) => {
|
|
17925
17927
|
isShow.value = false;
|
|
17926
17928
|
{
|
|
@@ -17932,12 +17934,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17932
17934
|
const migrationAnnounceUrl = computed(() => {
|
|
17933
17935
|
return window.location.hostname.includes("gitcode") ? "https://gitcode.com/gitcode" : "https://atomgit.com/gitcode";
|
|
17934
17936
|
});
|
|
17935
|
-
|
|
17936
|
-
asideShow.value = value;
|
|
17937
|
-
});
|
|
17938
|
-
onMounted(() => {
|
|
17939
|
-
const asideDefaultWidth = Number(localStorage$2.getItem("asideDefaultWidth") || 0);
|
|
17940
|
-
asideShow.value = asideDefaultWidth > 0;
|
|
17937
|
+
const initShowStatus = () => {
|
|
17941
17938
|
if (!SITE_STATUS.DISABLE) {
|
|
17942
17939
|
isShow.value = false;
|
|
17943
17940
|
return;
|
|
@@ -17956,9 +17953,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17956
17953
|
isShow.value = false;
|
|
17957
17954
|
}
|
|
17958
17955
|
}
|
|
17959
|
-
}
|
|
17960
|
-
|
|
17961
|
-
|
|
17956
|
+
};
|
|
17957
|
+
onMounted(() => {
|
|
17958
|
+
initShowStatus();
|
|
17962
17959
|
});
|
|
17963
17960
|
return (_ctx, _cache) => {
|
|
17964
17961
|
return isShow.value ? (openBlock(), createElementBlock("div", {
|
|
@@ -17998,7 +17995,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17998
17995
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17999
17996
|
}
|
|
18000
17997
|
};
|
|
18001
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17998
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-B8YQB8zS.js"));
|
|
18002
17999
|
function clearNotice() {
|
|
18003
18000
|
if (localStorage$2.getItem("validator_email")) {
|
|
18004
18001
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18065,7 +18062,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18065
18062
|
independence: { type: Boolean, default: true },
|
|
18066
18063
|
userMenus: {},
|
|
18067
18064
|
loginChildComponents: {},
|
|
18068
|
-
asideCollapseMode: { type: Boolean, default: false },
|
|
18069
18065
|
bgConfig: { default: () => ({
|
|
18070
18066
|
index_head: "",
|
|
18071
18067
|
detail_top: "",
|
|
@@ -18446,7 +18442,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18446
18442
|
], 4)), [
|
|
18447
18443
|
[unref(vElementExposure), { trigger: (type) => handleStickyNoticeExpo() }]
|
|
18448
18444
|
]) : createCommentVNode("", true),
|
|
18449
|
-
createVNode(SiteAnnouncement
|
|
18445
|
+
createVNode(SiteAnnouncement),
|
|
18450
18446
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
18451
18447
|
class: "g-toolbar w-full overflow-hidden allow-click-stop",
|
|
18452
18448
|
onClick: withModifiers(handleToolbarClick, ["stop"])
|
|
@@ -18801,9 +18797,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18801
18797
|
const layoutConfig2 = useLayoutConfig();
|
|
18802
18798
|
const { t: t2 } = i18n.global;
|
|
18803
18799
|
const route = useRoute();
|
|
18804
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18805
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18806
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18800
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-wg5-67VI.js"));
|
|
18801
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-5DSL8L3S.js"));
|
|
18802
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-Bl42c1NJ.js"));
|
|
18807
18803
|
const props = __props;
|
|
18808
18804
|
console.log("slotKeys", props.slotKeys);
|
|
18809
18805
|
console.log("props", props);
|
|
@@ -19031,7 +19027,7 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
|
19031
19027
|
api.set(key, newValue, options);
|
|
19032
19028
|
localStorage.setItem(key, newValue);
|
|
19033
19029
|
} else {
|
|
19034
|
-
api.remove(key, { domain: COOKIE_DOMAIN });
|
|
19030
|
+
api.remove(key, { domain: COOKIE_DOMAIN() });
|
|
19035
19031
|
}
|
|
19036
19032
|
},
|
|
19037
19033
|
{ flush: "sync" }
|
|
@@ -24648,7 +24644,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24648
24644
|
}
|
|
24649
24645
|
});
|
|
24650
24646
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24651
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24647
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-2gPu79zL.js"));
|
|
24652
24648
|
const useSlidCaptcha = () => {
|
|
24653
24649
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24654
24650
|
const open = (config) => {
|
|
@@ -24667,7 +24663,7 @@ const useSlidCaptcha = () => {
|
|
|
24667
24663
|
close: unMount
|
|
24668
24664
|
};
|
|
24669
24665
|
};
|
|
24670
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
24666
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-BYCtUltf.js"));
|
|
24671
24667
|
const useYunpianCaptcha = () => {
|
|
24672
24668
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
24673
24669
|
const open = (config) => {
|
|
@@ -26694,14 +26690,15 @@ export {
|
|
|
26694
26690
|
LANG_ZH as L,
|
|
26695
26691
|
GitCodeAside as M,
|
|
26696
26692
|
GitCodeHeader as N,
|
|
26697
|
-
|
|
26698
|
-
|
|
26699
|
-
|
|
26693
|
+
SiteAnnouncement as O,
|
|
26694
|
+
useLogin as P,
|
|
26695
|
+
setLayoutConfig as Q,
|
|
26700
26696
|
REPO_MODULE as R,
|
|
26701
26697
|
SceneValue as S,
|
|
26702
26698
|
TOPIC_TYPE as T,
|
|
26703
|
-
|
|
26704
|
-
|
|
26699
|
+
GitCodeLayoutEmitter as U,
|
|
26700
|
+
setTheme as V,
|
|
26701
|
+
index as W,
|
|
26705
26702
|
_export_sfc as _,
|
|
26706
26703
|
i18n as a,
|
|
26707
26704
|
REPO_EVENT as b,
|
package/index.d.ts
CHANGED
|
@@ -313,11 +313,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
313
313
|
type: PropType<any>;
|
|
314
314
|
required: true;
|
|
315
315
|
};
|
|
316
|
-
asideCollapseMode: {
|
|
317
|
-
type: PropType<boolean | undefined>;
|
|
318
|
-
required: false;
|
|
319
|
-
default: boolean;
|
|
320
|
-
};
|
|
321
316
|
bgConfig: {
|
|
322
317
|
type: PropType<{
|
|
323
318
|
index_head: string;
|
|
@@ -431,11 +426,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
431
426
|
type: PropType<any>;
|
|
432
427
|
required: true;
|
|
433
428
|
};
|
|
434
|
-
asideCollapseMode: {
|
|
435
|
-
type: PropType<boolean | undefined>;
|
|
436
|
-
required: false;
|
|
437
|
-
default: boolean;
|
|
438
|
-
};
|
|
439
429
|
bgConfig: {
|
|
440
430
|
type: PropType<{
|
|
441
431
|
index_head: string;
|
|
@@ -474,7 +464,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
474
464
|
orgInfo: OrgInfo | undefined;
|
|
475
465
|
otherUserInfo: UserInfo | undefined;
|
|
476
466
|
headerBorder: boolean | undefined;
|
|
477
|
-
asideCollapseMode: boolean | undefined;
|
|
478
467
|
bgConfig: {
|
|
479
468
|
index_head: string;
|
|
480
469
|
detail_top: string;
|
|
@@ -604,6 +593,8 @@ export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
|
|
|
604
593
|
|
|
605
594
|
export { setTheme }
|
|
606
595
|
|
|
596
|
+
export declare const SiteAnnouncement: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
597
|
+
|
|
607
598
|
export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
608
599
|
sceneValue: {
|
|
609
600
|
type: PropType<SceneValue>;
|
package/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { M, N,
|
|
1
|
+
import { M, N, U, K, S, O, J, A, W, Q, V, P } from "./index-h2aMbLVB.js";
|
|
2
2
|
export {
|
|
3
3
|
M as GitCodeAside,
|
|
4
4
|
N as GitCodeHeader,
|
|
5
|
-
|
|
5
|
+
U as GitCodeLayoutEmitter,
|
|
6
6
|
K as Login,
|
|
7
7
|
S as SceneValue,
|
|
8
|
+
O as SiteAnnouncement,
|
|
8
9
|
J as ToolsFloat,
|
|
9
10
|
A as currentTheme,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
W as default,
|
|
12
|
+
Q as setLayoutConfig,
|
|
13
|
+
V as setTheme,
|
|
14
|
+
P as useLogin
|
|
14
15
|
};
|
|
@@ -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-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-h2aMbLVB.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