vue-layout-gitcode 1.12.32 → 1.12.33
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-CfzcvxSo.js → GloabarSearch-FdER9zXP.js} +3 -3
- package/{MenuItem-LRo9QIac.js → MenuItem-D2_LvZCi.js} +1 -1
- package/{ProjectMenuList-D28VN1oJ.js → ProjectMenuList-DDt_gOEY.js} +2 -2
- package/{ProjectMenuListV2-CCTzRfLE.js → ProjectMenuListV2-BGGPh1vK.js} +2 -2
- package/{ProjectSearch-D_Nj43xg.js → ProjectSearch-D9C19cN6.js} +1 -1
- package/{SearchHistoryList-C70-F1a-.js → SearchHistoryList-DjgzO_kR.js} +1 -1
- package/{SearchRecommed-CyhoDgtR.js → SearchRecommed-tzOsLMbQ.js} +2 -2
- package/{SearchScopeList-VrIGp3n7.js → SearchScopeList-CQsjq46j.js} +1 -1
- package/{UserSearch-BbTUppyO.js → UserSearch-590o0ItK.js} +1 -1
- package/{index-BOqooT_p.js → index-COHx49Eg.js} +16 -13
- package/{index-CZld-7mo.js → index-D4qBzVyU.js} +1 -1
- package/{index-CD_FGxoo.js → index-DZBO98l0.js} +1 -1
- package/{index-D-7OuQ1T.js → index-Dwfdvp-j.js} +2 -2
- package/index.js +1 -1
- package/{notice-DakBV-AY.js → notice-CaAAFxYU.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-D5JKCPqj.js → transWebUrl-qlBP968n.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, inject, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, createVNode, unref, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
4
|
+
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-COHx49Eg.js";
|
|
5
5
|
import "lodash/debounce";
|
|
6
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
7
|
-
import "./transWebUrl-
|
|
6
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-Dwfdvp-j.js";
|
|
7
|
+
import "./transWebUrl-qlBP968n.js";
|
|
8
8
|
import "vue-devui-lal/tooltip";
|
|
9
9
|
import "vue-devui-lal/tooltip/style.css";
|
|
10
10
|
import "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, useSlots, computed, ref, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createTextVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, b as REPO_EVENT, H as ASIDE_MENU_REPO, I as isHttps, J as navigateWithMigrationGuard, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, b as REPO_EVENT, H as ASIDE_MENU_REPO, I as isHttps, J as navigateWithMigrationGuard, _ as _export_sfc } from "./index-COHx49Eg.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Popover } from "vue-devui-lal/popover";
|
|
5
5
|
import "vue-devui-lal/popover/style.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, watch, computed, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, M as _sfc_main$1, N as loadAsideData, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, K as asideRequest, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, M as _sfc_main$1, N as loadAsideData, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, K as asideRequest, _ as _export_sfc } from "./index-COHx49Eg.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-qlBP968n.js";
|
|
5
5
|
import { Select, Option } from "vue-devui-lal/select";
|
|
6
6
|
import { Input } from "vue-devui-lal/input";
|
|
7
7
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, computed, watch, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, t as transformUrl, K as asideRequest, G as GIcon, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, t as transformUrl, K as asideRequest, G as GIcon, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-COHx49Eg.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-qlBP968n.js";
|
|
5
5
|
import { Input } from "vue-devui-lal/input";
|
|
6
6
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
7
7
|
import { MenuItem } from "vue-devui-lal/menu";
|
|
@@ -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-COHx49Eg.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-COHx49Eg.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,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, 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, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-Dwfdvp-j.js";
|
|
3
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-COHx49Eg.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-COHx49Eg.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, t as transformUrl } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-COHx49Eg.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]" };
|
|
@@ -8521,6 +8521,8 @@ const LANG_KEY = "gitcode_lang";
|
|
|
8521
8521
|
const COOKIE_DOMAIN = () => {
|
|
8522
8522
|
if (typeof window !== "undefined" && window.location.hostname.includes("atomgit.com")) {
|
|
8523
8523
|
return ".atomgit.com";
|
|
8524
|
+
} else if (typeof window !== "undefined" && window.location.hostname.includes("gitcode.net")) {
|
|
8525
|
+
return ".gitcode.net";
|
|
8524
8526
|
} else if (typeof window !== "undefined" && window.location.hostname.includes("gitcode.com")) {
|
|
8525
8527
|
return ".gitcode.com";
|
|
8526
8528
|
}
|
|
@@ -15292,9 +15294,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15292
15294
|
const router2 = useRouter();
|
|
15293
15295
|
const { t: t2 } = i18n.global;
|
|
15294
15296
|
const handleClick = (linkItem) => {
|
|
15297
|
+
var _a, _b;
|
|
15295
15298
|
if (lang.value === linkItem.value) return;
|
|
15296
15299
|
lang.value = linkItem.value;
|
|
15297
|
-
const isHomePage = router2.currentRoute.value.name === "home";
|
|
15300
|
+
const isHomePage = ((_b = (_a = router2 == null ? void 0 : router2.currentRoute) == null ? void 0 : _a.value) == null ? void 0 : _b.name) === "home";
|
|
15298
15301
|
if (isHomePage) {
|
|
15299
15302
|
sessionStorage$1.setItem("page_reload", "changedLang");
|
|
15300
15303
|
}
|
|
@@ -16383,12 +16386,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16383
16386
|
setup(__props) {
|
|
16384
16387
|
const layoutConfig2 = useLayoutConfig();
|
|
16385
16388
|
const { t: $t } = i18n.global;
|
|
16386
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16387
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16388
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16389
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16390
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16391
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
16389
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-D9C19cN6.js"));
|
|
16390
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-590o0ItK.js"));
|
|
16391
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-FdER9zXP.js"));
|
|
16392
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DjgzO_kR.js"));
|
|
16393
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CQsjq46j.js"));
|
|
16394
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-tzOsLMbQ.js"));
|
|
16392
16395
|
const props = __props;
|
|
16393
16396
|
const repoInfo = inject("repoInfo");
|
|
16394
16397
|
const orgInfo = inject("orgInfo");
|
|
@@ -17209,7 +17212,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17209
17212
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17210
17213
|
}
|
|
17211
17214
|
};
|
|
17212
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17215
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-CaAAFxYU.js"));
|
|
17213
17216
|
function clearNotice() {
|
|
17214
17217
|
if (localStorage$2.getItem("validator_email")) {
|
|
17215
17218
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18420,9 +18423,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18420
18423
|
const layoutConfig2 = useLayoutConfig();
|
|
18421
18424
|
const { t: t2 } = i18n.global;
|
|
18422
18425
|
const route = useRoute();
|
|
18423
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18424
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18425
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18426
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-D2_LvZCi.js"));
|
|
18427
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BGGPh1vK.js"));
|
|
18428
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DDt_gOEY.js"));
|
|
18426
18429
|
const props = __props;
|
|
18427
18430
|
const useReport2 = inject("useReport");
|
|
18428
18431
|
const userInfo = inject("userInfo");
|
|
@@ -24901,7 +24904,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
24901
24904
|
__publicField(_SlidCaptchaManager, "instance");
|
|
24902
24905
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
24903
24906
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
24904
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24907
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-DZBO98l0.js"));
|
|
24905
24908
|
const useSlidCaptcha = () => {
|
|
24906
24909
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
24907
24910
|
const open = (config) => {
|
|
@@ -24931,7 +24934,7 @@ const useSlidCaptcha = () => {
|
|
|
24931
24934
|
close
|
|
24932
24935
|
};
|
|
24933
24936
|
};
|
|
24934
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
24937
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-D4qBzVyU.js"));
|
|
24935
24938
|
const useYunpianCaptcha = () => {
|
|
24936
24939
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
24937
24940
|
const open = (config) => {
|
|
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
|
|
|
8
8
|
import "vue-devui-lal/message/style.css";
|
|
9
9
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
10
10
|
import "vue-devui-lal/overlay/style.css";
|
|
11
|
-
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-COHx49Eg.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, nextTick, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-
|
|
2
|
+
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-COHx49Eg.js";
|
|
3
3
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const TARGET_TEXT = "Click in order:";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
|
|
2
2
|
import debounce from "lodash/debounce";
|
|
3
|
-
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-COHx49Eg.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-qlBP968n.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
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-COHx49Eg.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";
|
package/package.json
CHANGED