vue-layout-gitcode 1.5.125 → 1.5.126
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-TPk33WpX.js → GloabarSearch-BMhCTInH.js} +3 -3
- package/{MenuItem-CI802SWI.js → MenuItem-CgfCxRuK.js} +1 -1
- package/{ProjectMenuList-CdkqfFVX.js → ProjectMenuList-C8a14Luc.js} +2 -2
- package/{ProjectMenuListV2-DE2uRBo1.js → ProjectMenuListV2-DMvq39t4.js} +2 -2
- package/{ProjectSearch-D4wUeMY7.js → ProjectSearch-CvberoVQ.js} +1 -1
- package/{SearchHistoryList-1vuM608V.js → SearchHistoryList-QiGafVZe.js} +1 -1
- package/{SearchPrefixTag-BqiLxHum.js → SearchPrefixTag-BadQoiGd.js} +1 -1
- package/{SearchRecommed-Du_a3DCw.js → SearchRecommed-BtS4YlDi.js} +2 -2
- package/{SearchScopeList-BX2Rfsyo.js → SearchScopeList-EGIZLbUI.js} +1 -1
- package/{UserSearch-BrGzdK3x.js → UserSearch-CzA_hAqb.js} +1 -1
- package/{index-BxeQNRbc.js → index-BFvhie5i.js} +2 -2
- package/{index-B-csRsld.js → index-BI5W4oVI.js} +1 -1
- package/{index-D-Aa9aT7.js → index-DEf5Bmoy.js} +19 -19
- package/index.js +1 -1
- package/{notice-BGQGX-8m.js → notice-Crw4WJm7.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-_2lTsJYX.js → transWebUrl-pp2WcTwW.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-DEf5Bmoy.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-BFvhie5i.js";
|
|
7
|
+
import "./transWebUrl-pp2WcTwW.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 { q as useLayoutConfig, w as ThemeType, x as currentTheme, g as LANG_ZH, y as LANG_EN, z as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
2
|
+
import { q as useLayoutConfig, w as ThemeType, x as currentTheme, g as LANG_ZH, y as LANG_EN, z as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-DEf5Bmoy.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, q 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-
|
|
2
|
+
import { a as i18n, q 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-DEf5Bmoy.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-pp2WcTwW.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, q as useLayoutConfig, G as GIcon, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, q as useLayoutConfig, G as GIcon, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-DEf5Bmoy.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-pp2WcTwW.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-DEf5Bmoy.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-DEf5Bmoy.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-DEf5Bmoy.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-BFvhie5i.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-DEf5Bmoy.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-DEf5Bmoy.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-DEf5Bmoy.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,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 { 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-
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
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-DEf5Bmoy.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-pp2WcTwW.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";
|
|
@@ -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 { q as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { q as useLayoutConfig, _ as _export_sfc } from "./index-DEf5Bmoy.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -17327,13 +17327,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17327
17327
|
var _a;
|
|
17328
17328
|
const layoutConfig2 = useLayoutConfig();
|
|
17329
17329
|
const { t: $t } = i18n.global;
|
|
17330
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17331
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17332
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17333
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17334
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17335
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17336
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17330
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CvberoVQ.js"));
|
|
17331
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-CzA_hAqb.js"));
|
|
17332
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BMhCTInH.js"));
|
|
17333
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-QiGafVZe.js"));
|
|
17334
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-EGIZLbUI.js"));
|
|
17335
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BadQoiGd.js"));
|
|
17336
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BtS4YlDi.js"));
|
|
17337
17337
|
const props = __props;
|
|
17338
17338
|
const repoInfo = inject("repoInfo");
|
|
17339
17339
|
const orgInfo = inject("orgInfo");
|
|
@@ -17987,7 +17987,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17987
17987
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17988
17988
|
}
|
|
17989
17989
|
};
|
|
17990
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17990
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-Crw4WJm7.js"));
|
|
17991
17991
|
function clearNotice() {
|
|
17992
17992
|
if (localStorage$2.getItem("validator_email")) {
|
|
17993
17993
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18664,22 +18664,22 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18664
18664
|
list: {},
|
|
18665
18665
|
isLogin: { type: Boolean },
|
|
18666
18666
|
slotKeys: {},
|
|
18667
|
-
sceneValue: {}
|
|
18667
|
+
sceneValue: {},
|
|
18668
|
+
asideSetShowLittle: { type: Boolean }
|
|
18668
18669
|
},
|
|
18669
18670
|
setup(__props) {
|
|
18670
18671
|
const layoutConfig2 = useLayoutConfig();
|
|
18671
18672
|
const { t: t2 } = i18n.global;
|
|
18672
18673
|
const route = useRoute();
|
|
18673
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18674
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18675
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18674
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-CgfCxRuK.js"));
|
|
18675
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DMvq39t4.js"));
|
|
18676
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-C8a14Luc.js"));
|
|
18676
18677
|
const props = __props;
|
|
18677
18678
|
console.log("slotKeys", props.slotKeys);
|
|
18678
18679
|
console.log("props", props);
|
|
18679
18680
|
const useReport2 = inject("useReport");
|
|
18680
18681
|
const userInfo = inject("userInfo");
|
|
18681
18682
|
const request = inject("request");
|
|
18682
|
-
const asideSetShowLittle = inject("asideSetShowLittle");
|
|
18683
18683
|
const API = asideRequest(request);
|
|
18684
18684
|
const subShow = ref({
|
|
18685
18685
|
project: true,
|
|
@@ -18730,10 +18730,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18730
18730
|
return getMenuItemProps(item);
|
|
18731
18731
|
};
|
|
18732
18732
|
const renderComponent = (item) => {
|
|
18733
|
-
if (isProject(item) && !asideSetShowLittle) {
|
|
18733
|
+
if (isProject(item) && !props.asideSetShowLittle) {
|
|
18734
18734
|
return ProjectMenuListV2;
|
|
18735
18735
|
}
|
|
18736
|
-
if (isOrganization(item) && !asideSetShowLittle) {
|
|
18736
|
+
if (isOrganization(item) && !props.asideSetShowLittle) {
|
|
18737
18737
|
return ProjectMenuList;
|
|
18738
18738
|
}
|
|
18739
18739
|
return MenuItem;
|
|
@@ -19343,7 +19343,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19343
19343
|
list: getAreaItem(item),
|
|
19344
19344
|
isLogin: _ctx.isLogin,
|
|
19345
19345
|
slotKeys: layoutSlotKeys.value,
|
|
19346
|
-
sceneValue: _ctx.sceneValue
|
|
19346
|
+
sceneValue: _ctx.sceneValue,
|
|
19347
|
+
asideSetShowLittle: _ctx.asideSetShowLittle
|
|
19347
19348
|
}, createSlots({ _: 2 }, [
|
|
19348
19349
|
renderList(layoutSlotKeys.value, (key) => {
|
|
19349
19350
|
return {
|
|
@@ -19353,7 +19354,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19353
19354
|
])
|
|
19354
19355
|
};
|
|
19355
19356
|
})
|
|
19356
|
-
]), 1032, ["list", "isLogin", "slotKeys", "sceneValue"]),
|
|
19357
|
+
]), 1032, ["list", "isLogin", "slotKeys", "sceneValue", "asideSetShowLittle"]),
|
|
19357
19358
|
!_ctx.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$6)) : createCommentVNode("", true)
|
|
19358
19359
|
], 64);
|
|
19359
19360
|
}), 128)),
|
|
@@ -19450,7 +19451,6 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19450
19451
|
return asideSetShowLittle.value;
|
|
19451
19452
|
}
|
|
19452
19453
|
});
|
|
19453
|
-
provide("asideSetShowLittle", asideSetShowLittleMode);
|
|
19454
19454
|
const asideDefaultWidth = useStorage("asideDefaultWidth", sizeStore.isMobile.value ? 0 : asideSize.value.expand);
|
|
19455
19455
|
const mainMarginLeftWidth = computed(() => {
|
|
19456
19456
|
if (!asideSetShow.value || sizeStore.isMobile.value) {
|
|
@@ -24298,7 +24298,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24298
24298
|
}
|
|
24299
24299
|
});
|
|
24300
24300
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24301
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24301
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BI5W4oVI.js"));
|
|
24302
24302
|
const useSlidCaptcha = () => {
|
|
24303
24303
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24304
24304
|
const open = (config) => {
|
package/index.js
CHANGED
|
@@ -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-DEf5Bmoy.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