vue-layout-gitcode 1.3.12 → 1.3.13
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-PUHLASx2.js → GloabarSearch-gRLdeG5o.js} +2 -2
- package/{ProjectSearch-Dsg_fEMW.js → ProjectSearch-BethOEWy.js} +1 -1
- package/{SearchHistoryList-CygAe68G.js → SearchHistoryList-DJ_TTnfI.js} +1 -1
- package/{SearchPrefixTag-W9_Mcaod.js → SearchPrefixTag-CXrP0ryY.js} +1 -1
- package/{SearchRecommed-Dab7AMhX.js → SearchRecommed-BBXxiCxl.js} +2 -2
- package/{SearchScopeList-D2Fz0dAc.js → SearchScopeList-BveHG7Rd.js} +1 -1
- package/{UserSearch-Dtn7wiZi.js → UserSearch-Bdwk3Gkc.js} +1 -1
- package/{index-DeWW4_eh.js → index-B2j78jiI.js} +1 -1
- package/{index-DMySrfnU.js → index-CbuqN5sr.js} +16 -14
- package/{index-Bvg-XzaC.js → index-CxmYP4A_.js} +1 -1
- package/index.js +1 -1
- package/{notice-CIPSkRjI.js → notice-C6PUxMAg.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-CbuqN5sr.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-B2j78jiI.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-CbuqN5sr.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-CbuqN5sr.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-CbuqN5sr.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-B2j78jiI.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-CbuqN5sr.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-CbuqN5sr.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-CbuqN5sr.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 { 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-CbuqN5sr.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";
|
|
@@ -17768,13 +17768,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17768
17768
|
setup(__props) {
|
|
17769
17769
|
var _a;
|
|
17770
17770
|
const { t: $t } = i18n.global;
|
|
17771
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17772
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17773
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17774
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17775
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17776
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17777
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17771
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BethOEWy.js"));
|
|
17772
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-Bdwk3Gkc.js"));
|
|
17773
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-gRLdeG5o.js"));
|
|
17774
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DJ_TTnfI.js"));
|
|
17775
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BveHG7Rd.js"));
|
|
17776
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CXrP0ryY.js"));
|
|
17777
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BBXxiCxl.js"));
|
|
17778
17778
|
const props = __props;
|
|
17779
17779
|
const repoInfo = inject("repoInfo");
|
|
17780
17780
|
const orgInfo = inject("orgInfo");
|
|
@@ -18342,7 +18342,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18342
18342
|
}
|
|
18343
18343
|
});
|
|
18344
18344
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18345
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18345
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-C6PUxMAg.js"));
|
|
18346
18346
|
function clearNotice() {
|
|
18347
18347
|
if (localStorage$2.getItem("validator_email")) {
|
|
18348
18348
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18416,6 +18416,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18416
18416
|
const layoutConfig2 = useLayoutConfig();
|
|
18417
18417
|
const route = useRoute();
|
|
18418
18418
|
const props = __props;
|
|
18419
|
+
console.log("props.bgConfig", props.sceneValue);
|
|
18419
18420
|
const { useReport: useReport2 } = useRequestReport(props.request, props.globalStore);
|
|
18420
18421
|
const emit = __emit;
|
|
18421
18422
|
provide("request", props.request);
|
|
@@ -18515,15 +18516,16 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18515
18516
|
}
|
|
18516
18517
|
};
|
|
18517
18518
|
const isIndexHead = computed(() => {
|
|
18518
|
-
return props.bgConfig.index_head && isHome.value;
|
|
18519
|
+
return props.bgConfig.index_head && isHome.value && window.location.pathname === "/dashboard";
|
|
18520
|
+
});
|
|
18521
|
+
const isShowStickyNotice = computed(() => {
|
|
18522
|
+
return ([SceneValue.repo, SceneValue.org, SceneValue.user].includes(props.sceneValue) || isHome.value && window.location.pathname === "/dashboard") && props.bgConfig.detail_toolbar;
|
|
18519
18523
|
});
|
|
18520
18524
|
const stickyNoticeInfo = computed(() => {
|
|
18521
|
-
|
|
18522
|
-
return isShowStickyNotice ? props.bgConfig.detail_top : "";
|
|
18525
|
+
return isShowStickyNotice.value ? props.bgConfig.detail_top : "";
|
|
18523
18526
|
});
|
|
18524
18527
|
const detailBgInfo = computed(() => {
|
|
18525
|
-
|
|
18526
|
-
return isShowDetailBg ? props.bgConfig.detail_toolbar : "";
|
|
18528
|
+
return isShowStickyNotice.value ? props.bgConfig.detail_toolbar : "";
|
|
18527
18529
|
});
|
|
18528
18530
|
const detailBgStyle = computed(() => {
|
|
18529
18531
|
return detailBgInfo.value ? {
|
|
@@ -24926,7 +24928,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24926
24928
|
}
|
|
24927
24929
|
});
|
|
24928
24930
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
24929
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24931
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-CxmYP4A_.js"));
|
|
24930
24932
|
const useSlidCaptcha = () => {
|
|
24931
24933
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24932
24934
|
const open = (config) => {
|
|
@@ -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-CbuqN5sr.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
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-CbuqN5sr.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";
|