vue-layout-gitcode 1.5.21 → 1.5.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.
- package/{GloabarSearch-B1sxRIzV.js → GloabarSearch-DkHz9Zz_.js} +2 -2
- package/{MenuItem-Ba3_OmXu.js → MenuItem-BcDTE1r_.js} +11 -1
- package/{ProjectSearch-BmzvkTDx.js → ProjectSearch-CTmfCRBU.js} +1 -1
- package/{SearchHistoryList-CoEKxYuo.js → SearchHistoryList-Cu8ePK-S.js} +1 -1
- package/{SearchPrefixTag-DQDcIiNp.js → SearchPrefixTag-DqMHg3gN.js} +1 -1
- package/{SearchRecommed-CUQHMmAS.js → SearchRecommed-D0Nomqdw.js} +2 -2
- package/{SearchScopeList-DjpAbCrw.js → SearchScopeList-BofqZJX7.js} +1 -1
- package/{UserSearch-CrnLmeBI.js → UserSearch-BljhZMhv.js} +1 -1
- package/{index-CMs24Cvb.js → index-CpRy3d9h.js} +69 -57
- package/{index-Dt3kXyam.js → index-Z6BbpwFy.js} +1 -1
- package/{index-YmqhiEu4.js → index-ey9IU_uN.js} +1 -1
- package/index.js +11 -11
- package/{notice-B-gdMCIm.js → notice-C970_l70.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, inject, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, createVNode, unref, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } 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-CpRy3d9h.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-ey9IU_uN.js";
|
|
6
6
|
import "vue-devui-lal/tooltip";
|
|
7
7
|
import "vue-devui-lal/tooltip/style.css";
|
|
8
8
|
import "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, computed, createElementBlock, openBlock, normalizeClass, createBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { y as
|
|
2
|
+
import { y as currentTheme, z as ThemeType, j as LANG_ZH, A as LANG_EN, B as getLocaleLang, G as GIcon, C as isHttps, D as emitEvent, b as REPO_EVENT, _ as _export_sfc } from "./index-CpRy3d9h.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
const _hoisted_1 = ["src"];
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -13,6 +13,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
active: {
|
|
14
14
|
type: Boolean,
|
|
15
15
|
default: false
|
|
16
|
+
},
|
|
17
|
+
isLogin: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: false
|
|
16
20
|
}
|
|
17
21
|
},
|
|
18
22
|
setup(__props) {
|
|
@@ -24,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
28
|
return props.active || isHover.value;
|
|
25
29
|
});
|
|
26
30
|
const currentImg = computed(() => {
|
|
31
|
+
console.log("currentTheme", currentTheme.value, "left_menu_logo_black", props.item.left_menu_logo_black);
|
|
27
32
|
const imgMap = {
|
|
28
33
|
[ThemeType.WHITE]: {
|
|
29
34
|
selected: props.item.left_menu_logo_hover,
|
|
@@ -40,6 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
45
|
return imgMap[currentTheme.value].unselected;
|
|
41
46
|
}
|
|
42
47
|
});
|
|
48
|
+
console.log("currentImg", currentImg.value);
|
|
43
49
|
const currentName = computed(() => {
|
|
44
50
|
const nameMap = {
|
|
45
51
|
[LANG_EN]: props.item.left_menu_name_en,
|
|
@@ -72,6 +78,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
78
|
} else if (isHttps(props.item.left_menu_url)) {
|
|
73
79
|
window.location.href = props.item.left_menu_url;
|
|
74
80
|
} else {
|
|
81
|
+
if (props.item.left_menu_url != "/" && !props.isLogin) {
|
|
82
|
+
emitEvent("login", { loginTriggerSource: `aside_${props.item.left_menu_url}` });
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
75
85
|
router.push({
|
|
76
86
|
path: props.item.left_menu_url
|
|
77
87
|
});
|
|
@@ -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-CpRy3d9h.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-CpRy3d9h.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-CpRy3d9h.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "ellipsis" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createVNode, withCtx } from "vue";
|
|
2
|
-
import { u as useReportRepo, S as SearchRepoCard } from "./index-
|
|
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-ey9IU_uN.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-CpRy3d9h.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-CpRy3d9h.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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-CpRy3d9h.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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, render, resolveComponent, watchEffect, withDirectives, vShow, guardReactiveProps, onBeforeUnmount, nextTick, defineAsyncComponent, withKeys, useCssVars, useSlots, resolveDynamicComponent,
|
|
1
|
+
import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, render, resolveComponent, watchEffect, withDirectives, vShow, guardReactiveProps, onBeforeUnmount, nextTick, defineAsyncComponent, withKeys, useCssVars, useSlots, resolveDynamicComponent, createSlots, toRaw, mergeModels, useModel as useModel$1, watchPostEffect } from "vue";
|
|
2
2
|
import { Button } from "vue-devui-lal/button";
|
|
3
3
|
import { Popover } from "vue-devui-lal/popover";
|
|
4
4
|
import { Tooltip } from "vue-devui-lal/tooltip";
|
|
@@ -18215,13 +18215,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
18215
18215
|
var _a;
|
|
18216
18216
|
const layoutConfig2 = useLayoutConfig();
|
|
18217
18217
|
const { t: $t } = i18n.global;
|
|
18218
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
18219
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
18220
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
18221
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
18222
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
18223
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
18224
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
18218
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CTmfCRBU.js"));
|
|
18219
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-BljhZMhv.js"));
|
|
18220
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DkHz9Zz_.js"));
|
|
18221
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Cu8ePK-S.js"));
|
|
18222
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BofqZJX7.js"));
|
|
18223
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-DqMHg3gN.js"));
|
|
18224
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-D0Nomqdw.js"));
|
|
18225
18225
|
const props = __props;
|
|
18226
18226
|
const repoInfo = inject("repoInfo");
|
|
18227
18227
|
const orgInfo = inject("orgInfo");
|
|
@@ -18831,7 +18831,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
18831
18831
|
}
|
|
18832
18832
|
});
|
|
18833
18833
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18834
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18834
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-C970_l70.js"));
|
|
18835
18835
|
function clearNotice() {
|
|
18836
18836
|
if (localStorage$2.getItem("validator_email")) {
|
|
18837
18837
|
localStorage$2.removeItem("validator_email");
|
|
@@ -20814,9 +20814,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
20814
20814
|
});
|
|
20815
20815
|
const AsideContent = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
20816
20816
|
const useConfigSide = (request) => {
|
|
20817
|
-
useLayoutConfig();
|
|
20818
20817
|
const API = asideRequest(request);
|
|
20819
20818
|
const route = useRoute();
|
|
20819
|
+
const sideLoading = ref(false);
|
|
20820
20820
|
const isEn = computed(() => {
|
|
20821
20821
|
return getLocaleLang() === LANG_EN;
|
|
20822
20822
|
});
|
|
@@ -20862,6 +20862,7 @@ const useConfigSide = (request) => {
|
|
|
20862
20862
|
};
|
|
20863
20863
|
const fetchArea = async () => {
|
|
20864
20864
|
var _a;
|
|
20865
|
+
sideLoading.value = true;
|
|
20865
20866
|
const res = await API.getAsideConfig();
|
|
20866
20867
|
const asideList = ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.data) || [];
|
|
20867
20868
|
if (judgeIsShowAssetMenus(asideList)) {
|
|
@@ -20869,12 +20870,14 @@ const useConfigSide = (request) => {
|
|
|
20869
20870
|
} else {
|
|
20870
20871
|
area.value = groupByArea([...asideList]);
|
|
20871
20872
|
}
|
|
20873
|
+
sideLoading.value = false;
|
|
20872
20874
|
};
|
|
20873
20875
|
return {
|
|
20874
20876
|
isEn,
|
|
20875
20877
|
showBgColor,
|
|
20876
20878
|
area,
|
|
20877
|
-
fetchArea
|
|
20879
|
+
fetchArea,
|
|
20880
|
+
sideLoading
|
|
20878
20881
|
};
|
|
20879
20882
|
};
|
|
20880
20883
|
const _hoisted_1$g = { class: "area" };
|
|
@@ -20888,7 +20891,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20888
20891
|
const layoutConfig2 = useLayoutConfig();
|
|
20889
20892
|
const { t: t2 } = i18n.global;
|
|
20890
20893
|
const route = useRoute();
|
|
20891
|
-
const MenuItem2 = defineAsyncComponent(() => import("./MenuItem-
|
|
20894
|
+
const MenuItem2 = defineAsyncComponent(() => import("./MenuItem-BcDTE1r_.js"));
|
|
20892
20895
|
const ProjectMenuListV22 = defineAsyncComponent(() => Promise.resolve().then(() => ProjectMenuListV2$1));
|
|
20893
20896
|
const ProjectMenuList2 = defineAsyncComponent(() => Promise.resolve().then(() => ProjectMenuList$1));
|
|
20894
20897
|
const props = __props;
|
|
@@ -20910,7 +20913,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20910
20913
|
const projectProps = computed(() => {
|
|
20911
20914
|
return {
|
|
20912
20915
|
subShow: subShow.value.project,
|
|
20913
|
-
isLogin: props.isLogin,
|
|
20914
20916
|
key: "project",
|
|
20915
20917
|
type: "project",
|
|
20916
20918
|
defaultData: defaultProject.value,
|
|
@@ -20921,7 +20923,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20921
20923
|
const orgProps = computed(() => {
|
|
20922
20924
|
return {
|
|
20923
20925
|
subShow: subShow.value.team,
|
|
20924
|
-
isLogin: props.isLogin,
|
|
20925
20926
|
type: "team",
|
|
20926
20927
|
defaultData: defaultOrg.value,
|
|
20927
20928
|
title: t2("gitCodeLayout.common.organize"),
|
|
@@ -21034,9 +21035,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
21034
21035
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.list, (item) => {
|
|
21035
21036
|
return openBlock(), createBlock(resolveDynamicComponent(renderComponent(item)), mergeProps({
|
|
21036
21037
|
key: item.id,
|
|
21038
|
+
isLogin: _ctx.isLogin,
|
|
21037
21039
|
item,
|
|
21038
21040
|
ref_for: true
|
|
21039
|
-
}, getProps(item)), null, 16, ["item"]);
|
|
21041
|
+
}, getProps(item)), null, 16, ["isLogin", "item"]);
|
|
21040
21042
|
}), 128))
|
|
21041
21043
|
]),
|
|
21042
21044
|
_: 1
|
|
@@ -21045,6 +21047,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
21045
21047
|
};
|
|
21046
21048
|
}
|
|
21047
21049
|
});
|
|
21050
|
+
const Area = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
21048
21051
|
const _hoisted_1$f = { class: "aside-footer-tools-item" };
|
|
21049
21052
|
const _hoisted_2$a = { class: "aside-footer-tools-item-dropdown-item" };
|
|
21050
21053
|
const _hoisted_3$7 = { class: "aside-footer-tools-item-dropdown-item" };
|
|
@@ -21144,15 +21147,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21144
21147
|
}
|
|
21145
21148
|
});
|
|
21146
21149
|
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
21147
|
-
const _hoisted_1$e = { class: "flex-1 flex flex-col justify-between min-
|
|
21148
|
-
const _hoisted_2$9 = {
|
|
21150
|
+
const _hoisted_1$e = { class: "flex-[1] flex flex-col justify-between min-h-0" };
|
|
21151
|
+
const _hoisted_2$9 = { key: 0 };
|
|
21149
21152
|
const _hoisted_3$6 = {
|
|
21150
|
-
key:
|
|
21151
|
-
class: "
|
|
21153
|
+
key: 1,
|
|
21154
|
+
class: "aside-menus"
|
|
21152
21155
|
};
|
|
21153
21156
|
const _hoisted_4$6 = {
|
|
21154
21157
|
key: 0,
|
|
21155
|
-
class: "
|
|
21158
|
+
class: "line mt-[16px] mb-[6px]"
|
|
21156
21159
|
};
|
|
21157
21160
|
const _hoisted_5$4 = { class: "aside-footer-tools" };
|
|
21158
21161
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
@@ -21172,7 +21175,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21172
21175
|
setup(__props) {
|
|
21173
21176
|
const request = inject("request");
|
|
21174
21177
|
const useReport2 = inject("useReport");
|
|
21175
|
-
const { isEn, showBgColor, area, fetchArea } = useConfigSide(request);
|
|
21178
|
+
const { isEn, showBgColor, area, fetchArea, sideLoading } = useConfigSide(request);
|
|
21176
21179
|
fetchArea();
|
|
21177
21180
|
const isScroll = ref(false);
|
|
21178
21181
|
const timer = ref(null);
|
|
@@ -21187,38 +21190,46 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21187
21190
|
isScroll.value = false;
|
|
21188
21191
|
};
|
|
21189
21192
|
const handleAsideMenuExpo = (type) => {
|
|
21190
|
-
|
|
21191
|
-
|
|
21193
|
+
if (type === "expo") {
|
|
21194
|
+
useReport2(REPO_EVENT.SHOW, { module_name: ASIDE_MENU_REPO.ASIDEEXPO });
|
|
21195
|
+
}
|
|
21192
21196
|
};
|
|
21193
21197
|
return (_ctx, _cache) => {
|
|
21194
21198
|
const _component_d_aside = resolveComponent("d-aside");
|
|
21195
|
-
const _directive_element_exposure = resolveDirective("element-exposure");
|
|
21196
21199
|
return openBlock(), createBlock(_component_d_aside, {
|
|
21197
21200
|
class: normalizeClass(["config-aside-content", unref(showBgColor) ? "" : "oldWhite"])
|
|
21198
21201
|
}, {
|
|
21199
21202
|
default: withCtx(() => [
|
|
21200
21203
|
createElementVNode("div", {
|
|
21201
|
-
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": _ctx.asideSetShowLittle, "shot-isCh": !unref(isEn)
|
|
21202
|
-
onScroll: handleScroll,
|
|
21203
|
-
onMouseleave: handleMouseLeave
|
|
21204
|
+
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": _ctx.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
21204
21205
|
}, [
|
|
21205
21206
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
21206
|
-
createElementVNode("div",
|
|
21207
|
-
|
|
21208
|
-
|
|
21209
|
-
|
|
21210
|
-
|
|
21211
|
-
|
|
21212
|
-
|
|
21213
|
-
|
|
21214
|
-
|
|
21215
|
-
|
|
21216
|
-
|
|
21217
|
-
|
|
21218
|
-
|
|
21219
|
-
|
|
21220
|
-
|
|
21221
|
-
|
|
21207
|
+
createElementVNode("div", {
|
|
21208
|
+
class: normalizeClass(["scroll-content flex-[1]", { scroll: isScroll.value }]),
|
|
21209
|
+
onScroll: handleScroll,
|
|
21210
|
+
onMouseleave: handleMouseLeave
|
|
21211
|
+
}, [
|
|
21212
|
+
unref(sideLoading) ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
21213
|
+
createVNode(unref(Skeleton), {
|
|
21214
|
+
loading: unref(sideLoading),
|
|
21215
|
+
row: 4
|
|
21216
|
+
}, null, 8, ["loading"])
|
|
21217
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
21218
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(area), (item, index2) => {
|
|
21219
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
21220
|
+
key: item.id
|
|
21221
|
+
}, [
|
|
21222
|
+
createVNode(Area, {
|
|
21223
|
+
list: item,
|
|
21224
|
+
isLogin: _ctx.isLogin
|
|
21225
|
+
}, null, 8, ["list", "isLogin"]),
|
|
21226
|
+
!_ctx.asideSetShowLittle && index2 !== unref(area).length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$6)) : createCommentVNode("", true)
|
|
21227
|
+
], 64);
|
|
21228
|
+
}), 128)),
|
|
21229
|
+
_cache[0] || (_cache[0] = createElementVNode("hr", { class: "line mt-[16px] mb-[16px]" }, null, -1)),
|
|
21230
|
+
createVNode(SubMenuList)
|
|
21231
|
+
]))
|
|
21232
|
+
], 34),
|
|
21222
21233
|
createElementVNode("div", _hoisted_5$4, [
|
|
21223
21234
|
createVNode(_sfc_main$i, {
|
|
21224
21235
|
"show-lang-setting": true,
|
|
@@ -21226,9 +21237,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21226
21237
|
})
|
|
21227
21238
|
])
|
|
21228
21239
|
])), [
|
|
21229
|
-
[
|
|
21240
|
+
[unref(vElementExposure), { trigger: (type) => handleAsideMenuExpo(type) }]
|
|
21230
21241
|
])
|
|
21231
|
-
],
|
|
21242
|
+
], 2)
|
|
21232
21243
|
]),
|
|
21233
21244
|
_: 1
|
|
21234
21245
|
}, 8, ["class"]);
|
|
@@ -26139,7 +26150,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
26139
26150
|
}
|
|
26140
26151
|
});
|
|
26141
26152
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
26142
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
26153
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-Z6BbpwFy.js"));
|
|
26143
26154
|
const useSlidCaptcha = () => {
|
|
26144
26155
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
26145
26156
|
const open = (config) => {
|
|
@@ -27848,18 +27859,19 @@ export {
|
|
|
27848
27859
|
LANG_EN as A,
|
|
27849
27860
|
getLocaleLang as B,
|
|
27850
27861
|
isHttps as C,
|
|
27851
|
-
|
|
27862
|
+
emitEvent as D,
|
|
27852
27863
|
EVENT_NAME as E,
|
|
27853
|
-
|
|
27864
|
+
ToolsFloat as F,
|
|
27854
27865
|
GIcon as G,
|
|
27855
|
-
|
|
27856
|
-
|
|
27857
|
-
|
|
27858
|
-
|
|
27866
|
+
_sfc_main as H,
|
|
27867
|
+
GitCodeAside as I,
|
|
27868
|
+
GitCodeHeader as J,
|
|
27869
|
+
useLogin as K,
|
|
27859
27870
|
LANG_KEY as L,
|
|
27860
|
-
|
|
27861
|
-
|
|
27862
|
-
|
|
27871
|
+
setLayoutConfig as M,
|
|
27872
|
+
GitCodeLayoutEmitter as N,
|
|
27873
|
+
setTheme as O,
|
|
27874
|
+
index as P,
|
|
27863
27875
|
REPO_MODULE as R,
|
|
27864
27876
|
SceneValue as S,
|
|
27865
27877
|
TOPIC_TYPE as T,
|
|
@@ -27888,6 +27900,6 @@ export {
|
|
|
27888
27900
|
vElementExposure as v,
|
|
27889
27901
|
_frEventTrack as w,
|
|
27890
27902
|
useLayoutConfig as x,
|
|
27891
|
-
|
|
27892
|
-
|
|
27903
|
+
currentTheme as y,
|
|
27904
|
+
ThemeType as z
|
|
27893
27905
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import { x as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { x as useLayoutConfig, _ as _export_sfc } from "./index-CpRy3d9h.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, withCtx, reactive } from "vue";
|
|
2
|
-
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
2
|
+
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CpRy3d9h.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I, J, N, H, S, F, y, P, M, O, K } from "./index-CpRy3d9h.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
I as GitCodeAside,
|
|
4
|
+
J as GitCodeHeader,
|
|
5
|
+
N as GitCodeLayoutEmitter,
|
|
6
|
+
H as Login,
|
|
7
7
|
S as SceneValue,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
F as ToolsFloat,
|
|
9
|
+
y as currentTheme,
|
|
10
|
+
P as default,
|
|
11
|
+
M as setLayoutConfig,
|
|
12
|
+
O as setTheme,
|
|
13
|
+
K 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-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-CpRy3d9h.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";
|