vue-layout-gitcode 1.10.30 → 1.10.32
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-CTOxh0EZ.js → GloabarSearch-DpN8sZM2.js} +3 -3
- package/{MenuItem-ByguR9nn.js → MenuItem-Caf2A8XB.js} +1 -1
- package/{ProjectMenuList-D_rlFH20.js → ProjectMenuList-CmDLuZ88.js} +2 -2
- package/{ProjectMenuListV2-Cqfwqylc.js → ProjectMenuListV2-D064CkUY.js} +2 -2
- package/{ProjectSearch-4UlL97FG.js → ProjectSearch-fQ7mQQ5O.js} +1 -1
- package/{SearchHistoryList-DSRw6B9n.js → SearchHistoryList-Dsgw3erW.js} +1 -1
- package/{SearchPrefixTag-yIBoe8oJ.js → SearchPrefixTag-QOqABDHl.js} +1 -1
- package/{SearchRecommed-C0Ua5LjA.js → SearchRecommed-DO1S7xER.js} +2 -2
- package/{SearchScopeList-uwtrYosj.js → SearchScopeList-CRrRHm9F.js} +1 -1
- package/{UserSearch-VHCUX3lJ.js → UserSearch-D3WNGWmG.js} +1 -1
- package/{index-iw06UYk7.js → index-Bokp3itA.js} +2 -1
- package/{index-DFCIPo_4.js → index-COqP5qrx.js} +32 -30
- package/{index-DDBaBKzQ.js → index-VPhgrMFM.js} +1 -1
- package/{index-DJYcAjnZ.js → index-b0DGasFN.js} +2 -2
- package/index.d.ts +0 -8
- package/index.js +1 -1
- package/{notice-DYG8WR3C.js → notice-CaMDFvhR.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-CtILSXbp.js → transWebUrl-CZnxR5BU.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-COqP5qrx.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-b0DGasFN.js";
|
|
7
|
+
import "./transWebUrl-CZnxR5BU.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, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, 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, H as isHttps, b as REPO_EVENT, _ 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, H as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-COqP5qrx.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, J as _sfc_main$1, K as loadAsideData, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, J as _sfc_main$1, K as loadAsideData, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-COqP5qrx.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CZnxR5BU.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, I as asideRequest, G as GIcon, 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, I as asideRequest, G as GIcon, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-COqP5qrx.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CZnxR5BU.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-COqP5qrx.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-COqP5qrx.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-COqP5qrx.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, 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-b0DGasFN.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-COqP5qrx.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-COqP5qrx.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-COqP5qrx.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]" };
|
|
@@ -8,8 +8,9 @@ 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-COqP5qrx.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
|
+
// eslint-disable-next-line no-useless-constructor
|
|
13
14
|
constructor() {
|
|
14
15
|
__publicField(this, "ypRiddlerInstance", null);
|
|
15
16
|
__publicField(this, "isScriptLoaded", false);
|
|
@@ -8602,7 +8602,7 @@ const INCUBATION_TOPICS = layoutConfig$5.VITE_INCUBATION_TOPIC || "";
|
|
|
8602
8602
|
const isIncubationRepo = (topics = []) => {
|
|
8603
8603
|
if (!topics) return false;
|
|
8604
8604
|
const incubationIds = INCUBATION_TOPICS.split(",");
|
|
8605
|
-
if (topics.some((e) => /孵化项目/.test(e.name) || incubationIds.includes(e.topic_id || e.id))) {
|
|
8605
|
+
if (topics.some((e) => (e == null ? void 0 : e.type) === 0 && (/孵化项目/.test(e.name) || incubationIds.includes(e.topic_id || e.id)))) {
|
|
8606
8606
|
return true;
|
|
8607
8607
|
}
|
|
8608
8608
|
return false;
|
|
@@ -11397,18 +11397,18 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11397
11397
|
const showTimeTopic = computed(() => {
|
|
11398
11398
|
var _a, _b;
|
|
11399
11399
|
if (props.scene !== SceneValue.repo) return false;
|
|
11400
|
-
if (!((_a = repoInfo.value) == null ? void 0 : _a.
|
|
11400
|
+
if (!((_a = repoInfo.value) == null ? void 0 : _a.last_repository_updated_at)) {
|
|
11401
11401
|
return false;
|
|
11402
11402
|
}
|
|
11403
11403
|
try {
|
|
11404
|
-
return (/* @__PURE__ */ new Date()).getTime() - new Date((_b = repoInfo.value) == null ? void 0 : _b.
|
|
11404
|
+
return (/* @__PURE__ */ new Date()).getTime() - new Date((_b = repoInfo.value) == null ? void 0 : _b.last_repository_updated_at).getTime() < 7 * 24 * 60 * 60 * 1e3;
|
|
11405
11405
|
} catch (error) {
|
|
11406
11406
|
return false;
|
|
11407
11407
|
}
|
|
11408
11408
|
});
|
|
11409
11409
|
const formatTime = computed(() => {
|
|
11410
11410
|
var _a;
|
|
11411
|
-
return formatTimeFromNow((_a = repoInfo.value) == null ? void 0 : _a.
|
|
11411
|
+
return formatTimeFromNow((_a = repoInfo.value) == null ? void 0 : _a.last_repository_updated_at);
|
|
11412
11412
|
});
|
|
11413
11413
|
const handleFollowUser = () => {
|
|
11414
11414
|
if (props.scene !== SceneValue.user) return;
|
|
@@ -15623,6 +15623,7 @@ const setlocalVistHistory = (data, localType) => {
|
|
|
15623
15623
|
}
|
|
15624
15624
|
}
|
|
15625
15625
|
} catch (e) {
|
|
15626
|
+
console.error(e);
|
|
15626
15627
|
}
|
|
15627
15628
|
} else {
|
|
15628
15629
|
cur = [data];
|
|
@@ -15652,13 +15653,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15652
15653
|
var _a;
|
|
15653
15654
|
const layoutConfig2 = useLayoutConfig();
|
|
15654
15655
|
const { t: $t } = i18n.global;
|
|
15655
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
15656
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
15657
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
15658
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
15659
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
15660
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
15661
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
15656
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-fQ7mQQ5O.js"));
|
|
15657
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-D3WNGWmG.js"));
|
|
15658
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DpN8sZM2.js"));
|
|
15659
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Dsgw3erW.js"));
|
|
15660
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CRrRHm9F.js"));
|
|
15661
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-QOqABDHl.js"));
|
|
15662
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DO1S7xER.js"));
|
|
15662
15663
|
const props = __props;
|
|
15663
15664
|
const repoInfo = inject("repoInfo");
|
|
15664
15665
|
const orgInfo = inject("orgInfo");
|
|
@@ -15688,6 +15689,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15688
15689
|
searchScopeName: otherUserInfo.value.nickname
|
|
15689
15690
|
};
|
|
15690
15691
|
}
|
|
15692
|
+
return {};
|
|
15691
15693
|
});
|
|
15692
15694
|
const showRecommend = computed(() => {
|
|
15693
15695
|
return props.sceneValue === SceneValue.home || props.sceneValue === SceneValue.repo || props.sceneValue === SceneValue.org || props.sceneValue === SceneValue.user;
|
|
@@ -16410,7 +16412,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16410
16412
|
const SiteAnnouncement = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
16411
16413
|
const vElementExposure = {
|
|
16412
16414
|
mounted(el, binding) {
|
|
16413
|
-
|
|
16415
|
+
const observer = new IntersectionObserver(function(entries2, observer2) {
|
|
16414
16416
|
entries2.forEach(function(entry) {
|
|
16415
16417
|
var _a;
|
|
16416
16418
|
if (entry.isIntersecting) {
|
|
@@ -16431,7 +16433,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
16431
16433
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
16432
16434
|
}
|
|
16433
16435
|
};
|
|
16434
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
16436
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-CaMDFvhR.js"));
|
|
16435
16437
|
function clearNotice() {
|
|
16436
16438
|
if (localStorage$2.getItem("validator_email")) {
|
|
16437
16439
|
localStorage$2.removeItem("validator_email");
|
|
@@ -16486,7 +16488,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16486
16488
|
globalStore: { default: () => ({
|
|
16487
16489
|
httpStatus: 200
|
|
16488
16490
|
}) },
|
|
16489
|
-
isChatBot: { type: Boolean },
|
|
16490
16491
|
repoInfo: { default: () => ({}) },
|
|
16491
16492
|
orgInfo: { default: () => ({}) },
|
|
16492
16493
|
otherUserInfo: { default: () => ({}) },
|
|
@@ -16724,7 +16725,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16724
16725
|
return api.get("isRegister") && api.get("success") && api.get("registerLoginMethod");
|
|
16725
16726
|
});
|
|
16726
16727
|
const reportHuoShan = () => {
|
|
16727
|
-
var _a2, _b;
|
|
16728
|
+
var _a2, _b, _c;
|
|
16728
16729
|
if (!props.isLogin) {
|
|
16729
16730
|
const reportParams = Object.fromEntries(new URLSearchParams(location.search).entries());
|
|
16730
16731
|
localStorage$2.setItem("quickAppLoginReportParams", JSON.stringify(reportParams));
|
|
@@ -16744,17 +16745,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16744
16745
|
env: layoutConfig2.VITE_ENV,
|
|
16745
16746
|
...reportParams
|
|
16746
16747
|
};
|
|
16747
|
-
window.collectEvent("config", {
|
|
16748
|
+
(_a2 = window == null ? void 0 : window.collectEvent) == null ? void 0 : _a2.call(window, "config", {
|
|
16748
16749
|
web_id: reportParams["web_id"] || "",
|
|
16749
16750
|
ssid: reportParams["ssid"] || ""
|
|
16750
16751
|
});
|
|
16751
|
-
(
|
|
16752
|
+
(_b = window == null ? void 0 : window.collectEvent) == null ? void 0 : _b.call(
|
|
16752
16753
|
window,
|
|
16753
16754
|
api.get("isRegister") === "true" ? "register" : "login",
|
|
16754
16755
|
reportData
|
|
16755
16756
|
);
|
|
16756
16757
|
if (api.get("isRegister") === "true") {
|
|
16757
|
-
(
|
|
16758
|
+
(_c = window == null ? void 0 : window.collectEvent) == null ? void 0 : _c.call(
|
|
16758
16759
|
window,
|
|
16759
16760
|
"login",
|
|
16760
16761
|
reportData
|
|
@@ -17095,7 +17096,7 @@ const useConfigSide = (request, sceneValue) => {
|
|
|
17095
17096
|
let asideList = (((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.data) || []).map((item) => {
|
|
17096
17097
|
let processedUrl = item.left_menu_url;
|
|
17097
17098
|
if (processedUrl == null ? void 0 : processedUrl.startsWith("https://competition.")) {
|
|
17098
|
-
|
|
17099
|
+
const competitionUrl = replaceHost({ url: processedUrl, customHost: transformUrl(layoutConfig$1.VITE_COMPETITION_HOST) });
|
|
17099
17100
|
processedUrl = competitionUrl.includes("atomgit") ? competitionUrl.replace("competition", "competitions") : competitionUrl;
|
|
17100
17101
|
} else if (processedUrl == null ? void 0 : processedUrl.startsWith("https://ai.")) {
|
|
17101
17102
|
processedUrl = replaceHost({ url: processedUrl, customHost: transformUrl(layoutConfig$1.VITE_AI_HOST) });
|
|
@@ -17235,9 +17236,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17235
17236
|
const layoutConfig2 = useLayoutConfig();
|
|
17236
17237
|
const { t: t2 } = i18n.global;
|
|
17237
17238
|
const route = useRoute();
|
|
17238
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
17239
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
17240
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
17239
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-Caf2A8XB.js"));
|
|
17240
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-D064CkUY.js"));
|
|
17241
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-CmDLuZ88.js"));
|
|
17241
17242
|
const props = __props;
|
|
17242
17243
|
console.log("slotKeys", props.slotKeys);
|
|
17243
17244
|
console.log("props", props);
|
|
@@ -18130,8 +18131,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18130
18131
|
showLangSetting: __props.showLangSetting,
|
|
18131
18132
|
independence: __props.independence,
|
|
18132
18133
|
slotKeys: __props.slotKeys,
|
|
18133
|
-
collapseMode: __props.collapseMode
|
|
18134
|
-
disableFlatMode: __props.disableFlatMode
|
|
18134
|
+
collapseMode: __props.collapseMode
|
|
18135
18135
|
}, createSlots({ _: 2 }, [
|
|
18136
18136
|
renderList(__props.slotKeys, (key) => {
|
|
18137
18137
|
return {
|
|
@@ -18141,7 +18141,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18141
18141
|
])
|
|
18142
18142
|
};
|
|
18143
18143
|
})
|
|
18144
|
-
]), 1032, ["class", "style", "sceneValue", "asideDefaultWidth", "asideSetShowLittle", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence", "slotKeys", "collapseMode"
|
|
18144
|
+
]), 1032, ["class", "style", "sceneValue", "asideDefaultWidth", "asideSetShowLittle", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence", "slotKeys", "collapseMode"])) : (openBlock(), createBlock(unref(Drawer), {
|
|
18145
18145
|
key: 1,
|
|
18146
18146
|
modelValue: asideVisible.value,
|
|
18147
18147
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => asideVisible.value = $event),
|
|
@@ -23229,6 +23229,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23229
23229
|
});
|
|
23230
23230
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
23231
23231
|
const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
23232
|
+
// eslint-disable-next-line no-useless-constructor
|
|
23232
23233
|
constructor() {
|
|
23233
23234
|
__publicField(this, "tacInstance", null);
|
|
23234
23235
|
__publicField(this, "isScriptLoaded", false);
|
|
@@ -23414,7 +23415,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
23414
23415
|
__publicField(_SlidCaptchaManager, "instance");
|
|
23415
23416
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
23416
23417
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
23417
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
23418
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-VPhgrMFM.js"));
|
|
23418
23419
|
const useSlidCaptcha = () => {
|
|
23419
23420
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
23420
23421
|
const open = (config) => {
|
|
@@ -23444,7 +23445,7 @@ const useSlidCaptcha = () => {
|
|
|
23444
23445
|
close
|
|
23445
23446
|
};
|
|
23446
23447
|
};
|
|
23447
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
23448
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-Bokp3itA.js"));
|
|
23448
23449
|
const useYunpianCaptcha = () => {
|
|
23449
23450
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
23450
23451
|
const open = (config) => {
|
|
@@ -23471,6 +23472,7 @@ const useYunpianCaptcha = () => {
|
|
|
23471
23472
|
};
|
|
23472
23473
|
};
|
|
23473
23474
|
const _YidunCaptchaManager = class _YidunCaptchaManager {
|
|
23475
|
+
// eslint-disable-next-line no-useless-constructor
|
|
23474
23476
|
constructor() {
|
|
23475
23477
|
__publicField(this, "neCaptchaInstance", null);
|
|
23476
23478
|
__publicField(this, "isScriptLoaded", false);
|
|
@@ -26187,7 +26189,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26187
26189
|
return api.get("isRegister") && api.get("success") && api.get("registerLoginMethod");
|
|
26188
26190
|
});
|
|
26189
26191
|
const reportHuoShan = () => {
|
|
26190
|
-
var _a;
|
|
26192
|
+
var _a, _b;
|
|
26191
26193
|
if (!props.isLogin) {
|
|
26192
26194
|
const reportParams = Object.fromEntries(new URLSearchParams(location.search).entries());
|
|
26193
26195
|
localStorage$2.setItem("quickAppLoginReportParams", JSON.stringify(reportParams));
|
|
@@ -26207,11 +26209,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26207
26209
|
env: layoutConfig2.VITE_ENV,
|
|
26208
26210
|
...reportParams
|
|
26209
26211
|
};
|
|
26210
|
-
window.collectEvent("config", {
|
|
26212
|
+
(_a = window == null ? void 0 : window.collectEvent) == null ? void 0 : _a.call(window, "config", {
|
|
26211
26213
|
web_id: reportParams["web_id"] || "",
|
|
26212
26214
|
ssid: reportParams["ssid"] || ""
|
|
26213
26215
|
});
|
|
26214
|
-
(
|
|
26216
|
+
(_b = window == null ? void 0 : window.collectEvent) == null ? void 0 : _b.call(
|
|
26215
26217
|
window,
|
|
26216
26218
|
api.get("isRegister") === "true" ? "register" : "login",
|
|
26217
26219
|
reportData
|
|
@@ -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-COqP5qrx.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-COqP5qrx.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CZnxR5BU.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.d.ts
CHANGED
|
@@ -259,10 +259,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
259
259
|
httpStatus: number;
|
|
260
260
|
};
|
|
261
261
|
};
|
|
262
|
-
isChatBot: {
|
|
263
|
-
type: PropType<boolean | undefined>;
|
|
264
|
-
required: false;
|
|
265
|
-
};
|
|
266
262
|
repoInfo: {
|
|
267
263
|
type: PropType<repoInfoType | undefined>;
|
|
268
264
|
required: false;
|
|
@@ -372,10 +368,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
372
368
|
httpStatus: number;
|
|
373
369
|
};
|
|
374
370
|
};
|
|
375
|
-
isChatBot: {
|
|
376
|
-
type: PropType<boolean | undefined>;
|
|
377
|
-
required: false;
|
|
378
|
-
};
|
|
379
371
|
repoInfo: {
|
|
380
372
|
type: PropType<repoInfoType | undefined>;
|
|
381
373
|
required: false;
|
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-COqP5qrx.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";
|