vue-layout-gitcode 1.2.2 → 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-C8TasGXl.js → GloabarSearch-Luq88Twk.js} +2 -2
- package/{ProjectSearch-CnymV5fU.js → ProjectSearch-aSi-XfZV.js} +1 -1
- package/{SearchHistoryList-BRHUa9Jt.js → SearchHistoryList-DjA8jeUH.js} +1 -1
- package/{SearchPrefixTag-BvFEVuJg.js → SearchPrefixTag-COcXCNTu.js} +1 -1
- package/{SearchRecommed-Cv2fhrtH.js → SearchRecommed-C7V-n60f.js} +2 -2
- package/{SearchScopeList-B60GU3n7.js → SearchScopeList-But3pypF.js} +1 -1
- package/{UserSearch-DE_W7_Dg.js → UserSearch-qdWUu8ll.js} +1 -1
- package/{index-CTItrn9G.js → index-CbV3gYeV.js} +1 -1
- package/{index-DanD_ZjE.js → index-D_VfKLWd.js} +1 -1
- package/{index-50gBvRq3.js → index-DiuiR6-l.js} +15 -12
- package/index.js +1 -1
- package/{notice-CKRH2mf1.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",
|
|
@@ -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");
|
|
@@ -21145,8 +21148,8 @@ function reportCancelAuth(API) {
|
|
|
21145
21148
|
function cancelAuth(params, API) {
|
|
21146
21149
|
var _a;
|
|
21147
21150
|
const { noTip = false } = params;
|
|
21151
|
+
reportCancelAuth(API);
|
|
21148
21152
|
if (isAuthWindow()) {
|
|
21149
|
-
reportCancelAuth(API);
|
|
21150
21153
|
!noTip && ((_a = window.opener) == null ? void 0 : _a.postMessage({ type: AuthResType.FAIL, message: t$2("gitCodeLayout.oauth.revokedAuthorization") }, "*"));
|
|
21151
21154
|
window == null ? void 0 : window.close();
|
|
21152
21155
|
return;
|
|
@@ -21159,8 +21162,8 @@ function failResolve(params, API) {
|
|
|
21159
21162
|
var _a;
|
|
21160
21163
|
const { errorInfo } = params;
|
|
21161
21164
|
const msg = errorInfo || t$2("gitCodeLayout.userSetting.tips.autFai");
|
|
21165
|
+
reportCancelAuth(API);
|
|
21162
21166
|
if (isAuthWindow()) {
|
|
21163
|
-
reportCancelAuth(API);
|
|
21164
21167
|
(_a = window.opener) == null ? void 0 : _a.postMessage({ type: AuthResType.FAIL, message: msg }, "*");
|
|
21165
21168
|
window == null ? void 0 : window.close();
|
|
21166
21169
|
return;
|
|
@@ -24586,7 +24589,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24586
24589
|
}
|
|
24587
24590
|
});
|
|
24588
24591
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
24589
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24592
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-D_VfKLWd.js"));
|
|
24590
24593
|
const useSlidCaptcha = () => {
|
|
24591
24594
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24592
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";
|