vue-layout-gitcode 1.2.1 → 1.2.3
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-C81eBQli.js → GloabarSearch-Luq88Twk.js} +2 -2
- package/{ProjectSearch-CkXs5Zol.js → ProjectSearch-aSi-XfZV.js} +1 -1
- package/{SearchHistoryList-BX_OdTVL.js → SearchHistoryList-DjA8jeUH.js} +1 -1
- package/{SearchPrefixTag-DKWkKXeO.js → SearchPrefixTag-COcXCNTu.js} +1 -1
- package/{SearchRecommed-BUNnDwkp.js → SearchRecommed-C7V-n60f.js} +2 -2
- package/{SearchScopeList-C5UXYFfz.js → SearchScopeList-But3pypF.js} +1 -1
- package/{UserSearch-sJKoX39E.js → UserSearch-qdWUu8ll.js} +1 -1
- package/{index-DTd5WI7b.js → index-CbV3gYeV.js} +1 -1
- package/{index-WLpSdyKt.js → index-D_VfKLWd.js} +1 -1
- package/{index-C1JExHMa.js → index-DiuiR6-l.js} +19 -13
- package/index.js +1 -1
- package/{notice--nrqmZoG.js → notice-CI36_CVA.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-DiuiR6-l.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CbV3gYeV.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-DiuiR6-l.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-DiuiR6-l.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-DiuiR6-l.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-CbV3gYeV.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-DiuiR6-l.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-DiuiR6-l.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-DiuiR6-l.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-DiuiR6-l.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-DiuiR6-l.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -14215,7 +14215,7 @@ function headRequest(request) {
|
|
|
14215
14215
|
data,
|
|
14216
14216
|
headers: {
|
|
14217
14217
|
"last-repo-id": getLastTimeRepoId(),
|
|
14218
|
-
"X-Source":
|
|
14218
|
+
"X-Source": getRegisterSourceTab()
|
|
14219
14219
|
}
|
|
14220
14220
|
})
|
|
14221
14221
|
);
|
|
@@ -14239,7 +14239,10 @@ function headRequest(request) {
|
|
|
14239
14239
|
() => request({
|
|
14240
14240
|
url: `/uc/api/v1/qrcode/${platform2}`,
|
|
14241
14241
|
method: "get",
|
|
14242
|
-
params: { scene_id }
|
|
14242
|
+
params: { scene_id },
|
|
14243
|
+
headers: {
|
|
14244
|
+
"X-Source": getLoginTriggerSource()
|
|
14245
|
+
}
|
|
14243
14246
|
}),
|
|
14244
14247
|
params
|
|
14245
14248
|
);
|
|
@@ -17615,13 +17618,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17615
17618
|
setup(__props) {
|
|
17616
17619
|
var _a;
|
|
17617
17620
|
const { t: $t } = i18n.global;
|
|
17618
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17619
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17620
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17621
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17622
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17623
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17624
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17621
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-aSi-XfZV.js"));
|
|
17622
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-qdWUu8ll.js"));
|
|
17623
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Luq88Twk.js"));
|
|
17624
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DjA8jeUH.js"));
|
|
17625
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-But3pypF.js"));
|
|
17626
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-COcXCNTu.js"));
|
|
17627
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-C7V-n60f.js"));
|
|
17625
17628
|
const props = __props;
|
|
17626
17629
|
const repoInfo = inject("repoInfo");
|
|
17627
17630
|
const orgInfo = inject("orgInfo");
|
|
@@ -18179,7 +18182,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18179
18182
|
}
|
|
18180
18183
|
});
|
|
18181
18184
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18182
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice
|
|
18185
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-CI36_CVA.js"));
|
|
18183
18186
|
function clearNotice() {
|
|
18184
18187
|
if (localStorage$2.getItem("validator_email")) {
|
|
18185
18188
|
localStorage$2.removeItem("validator_email");
|
|
@@ -21014,6 +21017,9 @@ function setLoginTriggerSource(triggerSource) {
|
|
|
21014
21017
|
function getLoginTriggerSource() {
|
|
21015
21018
|
return sessionStorage.getItem(LOGIN_MODAL_TRIGGER_SOURCE);
|
|
21016
21019
|
}
|
|
21020
|
+
function getRegisterSourceTab() {
|
|
21021
|
+
return sessionStorage.getItem(REGISTER_SOURCE_TAB);
|
|
21022
|
+
}
|
|
21017
21023
|
function getLoginReturnUrl() {
|
|
21018
21024
|
return api.get("third_utm_source_sign_path") || localStorage$2.getItem("loginReturnUrl") || "/";
|
|
21019
21025
|
}
|
|
@@ -21142,8 +21148,8 @@ function reportCancelAuth(API) {
|
|
|
21142
21148
|
function cancelAuth(params, API) {
|
|
21143
21149
|
var _a;
|
|
21144
21150
|
const { noTip = false } = params;
|
|
21151
|
+
reportCancelAuth(API);
|
|
21145
21152
|
if (isAuthWindow()) {
|
|
21146
|
-
reportCancelAuth(API);
|
|
21147
21153
|
!noTip && ((_a = window.opener) == null ? void 0 : _a.postMessage({ type: AuthResType.FAIL, message: t$2("gitCodeLayout.oauth.revokedAuthorization") }, "*"));
|
|
21148
21154
|
window == null ? void 0 : window.close();
|
|
21149
21155
|
return;
|
|
@@ -21156,8 +21162,8 @@ function failResolve(params, API) {
|
|
|
21156
21162
|
var _a;
|
|
21157
21163
|
const { errorInfo } = params;
|
|
21158
21164
|
const msg = errorInfo || t$2("gitCodeLayout.userSetting.tips.autFai");
|
|
21165
|
+
reportCancelAuth(API);
|
|
21159
21166
|
if (isAuthWindow()) {
|
|
21160
|
-
reportCancelAuth(API);
|
|
21161
21167
|
(_a = window.opener) == null ? void 0 : _a.postMessage({ type: AuthResType.FAIL, message: msg }, "*");
|
|
21162
21168
|
window == null ? void 0 : window.close();
|
|
21163
21169
|
return;
|
|
@@ -24583,7 +24589,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24583
24589
|
}
|
|
24584
24590
|
});
|
|
24585
24591
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
24586
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24592
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-D_VfKLWd.js"));
|
|
24587
24593
|
const useSlidCaptcha = () => {
|
|
24588
24594
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24589
24595
|
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-DiuiR6-l.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";
|