vue-layout-gitcode 1.2.6 → 1.2.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-BxWQrvEl.js → GloabarSearch-BP5fffWj.js} +2 -2
- package/{ProjectSearch-YIEr5Diu.js → ProjectSearch-6Kwbp9Yw.js} +1 -1
- package/{SearchHistoryList-Cr31WTbq.js → SearchHistoryList-CHN4tAH-.js} +1 -1
- package/{SearchPrefixTag-ClYqHcnn.js → SearchPrefixTag-Vo5DW81n.js} +1 -1
- package/{SearchRecommed-j-zXBvxP.js → SearchRecommed-BaR_5yRY.js} +2 -2
- package/{SearchScopeList-DON9mK_b.js → SearchScopeList-8cddsBrQ.js} +1 -1
- package/{UserSearch-Beg32Yu6.js → UserSearch-CyCdLusO.js} +1 -1
- package/{index-I2yYge9r.js → index-DA0X8oc5.js} +1 -1
- package/{index-B03he0qb.js → index-d1vivgMN.js} +1 -1
- package/{index-RVQN2zns.js → index-q8YdTC9j.js} +11 -11
- package/index.js +1 -1
- package/{notice-D6ZcCu4h.js → notice-BuftiYZZ.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-q8YdTC9j.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-DA0X8oc5.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-q8YdTC9j.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-q8YdTC9j.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-q8YdTC9j.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-DA0X8oc5.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-q8YdTC9j.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-q8YdTC9j.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-q8YdTC9j.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, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, unref, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
-
import { d as debounce, 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, t as transWebUrl, q as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
2
|
+
import { d as debounce, 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, t as transWebUrl, q as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-q8YdTC9j.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";
|
|
@@ -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 { v as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { v as useLayoutConfig, _ as _export_sfc } from "./index-q8YdTC9j.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -17647,13 +17647,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17647
17647
|
setup(__props) {
|
|
17648
17648
|
var _a;
|
|
17649
17649
|
const { t: $t } = i18n.global;
|
|
17650
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17651
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17652
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17653
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17654
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17655
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17656
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17650
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-6Kwbp9Yw.js"));
|
|
17651
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-CyCdLusO.js"));
|
|
17652
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BP5fffWj.js"));
|
|
17653
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CHN4tAH-.js"));
|
|
17654
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-8cddsBrQ.js"));
|
|
17655
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-Vo5DW81n.js"));
|
|
17656
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BaR_5yRY.js"));
|
|
17657
17657
|
const props = __props;
|
|
17658
17658
|
const repoInfo = inject("repoInfo");
|
|
17659
17659
|
const orgInfo = inject("orgInfo");
|
|
@@ -18211,7 +18211,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18211
18211
|
}
|
|
18212
18212
|
});
|
|
18213
18213
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18214
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18214
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-BuftiYZZ.js"));
|
|
18215
18215
|
function clearNotice() {
|
|
18216
18216
|
if (localStorage$2.getItem("validator_email")) {
|
|
18217
18217
|
localStorage$2.removeItem("validator_email");
|
|
@@ -21085,7 +21085,7 @@ async function checkUserRepositoryIssue(API) {
|
|
|
21085
21085
|
const haveQuery = new URLSearchParams(window.location.search).size > 0;
|
|
21086
21086
|
if (isHomePage && !haveQuery) {
|
|
21087
21087
|
const haveRepositoryInfo = await checkProjectIssuePrInfo(API);
|
|
21088
|
-
if (haveRepositoryInfo) {
|
|
21088
|
+
if (haveRepositoryInfo && layoutConfig.VITE_HOME_LOGIN_NEED_REDIRECT === "dashboard") {
|
|
21089
21089
|
window.location.href = "/dashboard";
|
|
21090
21090
|
return;
|
|
21091
21091
|
}
|
|
@@ -21137,7 +21137,7 @@ async function handleReturnUrl(API, path) {
|
|
|
21137
21137
|
const isHomePage = routeName === "home";
|
|
21138
21138
|
if (isHomePage && !search) {
|
|
21139
21139
|
const haveRepositoryInfo = await checkProjectIssuePrInfo(API);
|
|
21140
|
-
if (haveRepositoryInfo) {
|
|
21140
|
+
if (haveRepositoryInfo && layoutConfig.VITE_HOME_LOGIN_NEED_REDIRECT === "dashboard") {
|
|
21141
21141
|
window.location.replace("/dashboard");
|
|
21142
21142
|
return;
|
|
21143
21143
|
}
|
|
@@ -24593,7 +24593,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24593
24593
|
}
|
|
24594
24594
|
});
|
|
24595
24595
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
24596
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24596
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-d1vivgMN.js"));
|
|
24597
24597
|
const useSlidCaptcha = () => {
|
|
24598
24598
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24599
24599
|
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-q8YdTC9j.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";
|