vue-layout-gitcode 1.3.5 → 1.3.7
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-BGjPsN7R.js → GloabarSearch-C1wrkkwq.js} +2 -2
- package/{ProjectSearch-BtHGbabX.js → ProjectSearch-DMGVJ9IZ.js} +1 -1
- package/{SearchHistoryList-fIfTj4xY.js → SearchHistoryList-BmpBwTP0.js} +1 -1
- package/{SearchPrefixTag-BmBbMZU-.js → SearchPrefixTag-BqqKR3m5.js} +1 -1
- package/{SearchRecommed-AHYE7hpE.js → SearchRecommed-BhEIcGi2.js} +2 -2
- package/{SearchScopeList-B6X4KuBk.js → SearchScopeList-DclfT5tR.js} +1 -1
- package/{UserSearch-DYolvk7T.js → UserSearch-2dyc4nHs.js} +1 -1
- package/{index-Cma1kh0R.js → index-Cf_S7c60.js} +1 -1
- package/{index-_-y_pTbO.js → index-Cy53uCDy.js} +23 -15
- package/{index-Dx2WwTQG.js → index-QBbAAHBg.js} +1 -1
- package/index.js +1 -1
- package/{notice-CeRKzrLR.js → notice-CORpFE7s.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { inject, ref, watch, onMounted, createElementBlock, createCommentVNode, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
4
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-Cy53uCDy.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-QBbAAHBg.js";
|
|
6
6
|
const _hoisted_1 = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "px-[8px] history-list-project pl-[8px]"
|
|
@@ -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-Cy53uCDy.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-Cy53uCDy.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-Cy53uCDy.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, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-QBbAAHBg.js";
|
|
3
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-Cy53uCDy.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-Cy53uCDy.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-Cy53uCDy.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,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 { w as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { w as useLayoutConfig, _ as _export_sfc } from "./index-Cy53uCDy.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -17748,13 +17748,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17748
17748
|
setup(__props) {
|
|
17749
17749
|
var _a;
|
|
17750
17750
|
const { t: $t } = i18n.global;
|
|
17751
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17752
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17753
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17754
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17755
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17756
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17757
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17751
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DMGVJ9IZ.js"));
|
|
17752
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-2dyc4nHs.js"));
|
|
17753
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-C1wrkkwq.js"));
|
|
17754
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BmpBwTP0.js"));
|
|
17755
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DclfT5tR.js"));
|
|
17756
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BqqKR3m5.js"));
|
|
17757
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BhEIcGi2.js"));
|
|
17758
17758
|
const props = __props;
|
|
17759
17759
|
const repoInfo = inject("repoInfo");
|
|
17760
17760
|
const orgInfo = inject("orgInfo");
|
|
@@ -18312,7 +18312,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18312
18312
|
}
|
|
18313
18313
|
});
|
|
18314
18314
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18315
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18315
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-CORpFE7s.js"));
|
|
18316
18316
|
function clearNotice() {
|
|
18317
18317
|
if (localStorage$2.getItem("validator_email")) {
|
|
18318
18318
|
localStorage$2.removeItem("validator_email");
|
|
@@ -20126,14 +20126,22 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
20126
20126
|
}
|
|
20127
20127
|
});
|
|
20128
20128
|
const asideSetShowLittle = useStorage("asideSetShowLittle", false);
|
|
20129
|
+
const asideSetShowLittleMode = computed(() => {
|
|
20130
|
+
if (props.collapseMode) {
|
|
20131
|
+
return true;
|
|
20132
|
+
} else {
|
|
20133
|
+
return asideSetShowLittle.value;
|
|
20134
|
+
}
|
|
20135
|
+
});
|
|
20129
20136
|
const asideDefaultWidth = useStorage("asideDefaultWidth", sizeStore.isMobile.value ? 0 : asideSize.value.expand);
|
|
20130
20137
|
const mainMarginLeftWidth = computed(() => {
|
|
20131
20138
|
if (!asideSetShow.value || sizeStore.isMobile.value) {
|
|
20132
20139
|
return 0;
|
|
20133
|
-
}
|
|
20134
|
-
|
|
20140
|
+
}
|
|
20141
|
+
if (props.collapseMode) {
|
|
20142
|
+
return asideDefaultWidth.value >= asideSize.value.expand ? asideSize.value.expand : asideDefaultWidth.value;
|
|
20135
20143
|
} else {
|
|
20136
|
-
return
|
|
20144
|
+
return asideDefaultWidth.value < asideSize.value.expand ? asideSize.value.collapse : asideDefaultWidth.value;
|
|
20137
20145
|
}
|
|
20138
20146
|
});
|
|
20139
20147
|
const asideVisible = ref(false);
|
|
@@ -20173,7 +20181,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
20173
20181
|
key: 0,
|
|
20174
20182
|
sceneValue: _ctx.sceneValue,
|
|
20175
20183
|
asideDefaultWidth: mainMarginLeftWidth.value,
|
|
20176
|
-
asideSetShowLittle:
|
|
20184
|
+
asideSetShowLittle: asideSetShowLittleMode.value,
|
|
20177
20185
|
isLogin: _ctx.isLogin,
|
|
20178
20186
|
showPreferencesSetting: _ctx.showPreferencesSetting,
|
|
20179
20187
|
showThemeSetting: _ctx.showThemeSetting,
|
|
@@ -20844,7 +20852,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20844
20852
|
globalStore: globalStore.value,
|
|
20845
20853
|
independence: independence.value,
|
|
20846
20854
|
slotKeys: ["home", "issues"],
|
|
20847
|
-
collapseMode:
|
|
20855
|
+
collapseMode: sceneSelected.value == unref(SceneValue).repo
|
|
20848
20856
|
}, {
|
|
20849
20857
|
home: withCtx(() => _cache[2] || (_cache[2] = [
|
|
20850
20858
|
createElementVNode("div", null, "首页hover-插槽", -1)
|
|
@@ -20853,7 +20861,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20853
20861
|
createElementVNode("div", null, "issues hover-插槽", -1)
|
|
20854
20862
|
])),
|
|
20855
20863
|
_: 1
|
|
20856
|
-
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence"])
|
|
20864
|
+
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"])
|
|
20857
20865
|
]),
|
|
20858
20866
|
createElementVNode("div", _hoisted_4$3, [
|
|
20859
20867
|
_cache[6] || (_cache[6] = createElementVNode("h1", null, "控制 Header 值传入", -1)),
|
|
@@ -24792,7 +24800,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24792
24800
|
}
|
|
24793
24801
|
});
|
|
24794
24802
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
24795
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24803
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-Cf_S7c60.js"));
|
|
24796
24804
|
const useSlidCaptcha = () => {
|
|
24797
24805
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24798
24806
|
const open = (config) => {
|
|
@@ -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, reactive, withCtx } 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$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b 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$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-Cy53uCDy.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,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-Cy53uCDy.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";
|