vue-layout-gitcode 1.10.34 → 1.10.36
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-ZUdgMdHw.js → GloabarSearch-YEZNh720.js} +3 -3
- package/{MenuItem-DbDSgCVb.js → MenuItem-kdOXexCm.js} +1 -1
- package/{ProjectMenuList--EX_Y6FK.js → ProjectMenuList-B1vPkkK_.js} +2 -2
- package/{ProjectMenuListV2-lwkDC5yc.js → ProjectMenuListV2-DJn9ahwb.js} +2 -2
- package/{ProjectSearch-Cu27Oo6T.js → ProjectSearch-Bovm7v4p.js} +1 -1
- package/{SearchHistoryList-BRknibL3.js → SearchHistoryList-_u7jq3az.js} +1 -1
- package/{SearchPrefixTag-DsGhdEYB.js → SearchPrefixTag-BpOVULHN.js} +1 -1
- package/{SearchRecommed-ChxDbWAw.js → SearchRecommed-DvtKYcy5.js} +2 -2
- package/{SearchScopeList-KLBGTkpp.js → SearchScopeList-Dju7J3EQ.js} +1 -1
- package/{UserSearch-Ea37hnHC.js → UserSearch-C4u69Kdt.js} +1 -1
- package/{index-Bzp5LVcG.js → index-Bg7u06NQ.js} +1 -1
- package/{index-nIHrUJs_.js → index-D3B70Plq.js} +34 -21
- package/{index-BZlQeUfS.js → index-wHCEGN9V.js} +2 -2
- package/{index-B37z48Pf.js → index-yqtOh7Jk.js} +1 -1
- package/index.js +1 -1
- package/{notice-CreD6h0k.js → notice-Dle7kwKG.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-C7BMQtiW.js → transWebUrl-OV5-X5bc.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-D3B70Plq.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-wHCEGN9V.js";
|
|
7
|
+
import "./transWebUrl-OV5-X5bc.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-D3B70Plq.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-D3B70Plq.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-OV5-X5bc.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-D3B70Plq.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-OV5-X5bc.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-D3B70Plq.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-D3B70Plq.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-D3B70Plq.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-wHCEGN9V.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-D3B70Plq.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-D3B70Plq.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-D3B70Plq.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 { 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-D3B70Plq.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:";
|
|
@@ -7799,6 +7799,7 @@ const gitCodeLayout$1 = {
|
|
|
7799
7799
|
openSourcePioneer: "开源先锋",
|
|
7800
7800
|
contributingStar: "贡献之星",
|
|
7801
7801
|
myNotebook: "我的 Notebook",
|
|
7802
|
+
myOpenClaw: "我的 OpenClaw",
|
|
7802
7803
|
myCloudSpace: "我的 云开发环境",
|
|
7803
7804
|
mySpace: "我的 Spaces",
|
|
7804
7805
|
aihub: {
|
|
@@ -8181,6 +8182,7 @@ const gitCodeLayout = {
|
|
|
8181
8182
|
openSourcePioneer: "Open Source Pioneer",
|
|
8182
8183
|
contributingStar: "Star Contributor",
|
|
8183
8184
|
myNotebook: "Your Notebook",
|
|
8185
|
+
myOpenClaw: "Your OpenClaw",
|
|
8184
8186
|
myCloudSpace: "Your Cloud Development",
|
|
8185
8187
|
mySpace: "Your Spaces",
|
|
8186
8188
|
aihub: {
|
|
@@ -15210,7 +15212,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15210
15212
|
{ id: "dashboard", label: t2("gitCodeLayout.header.workbench"), icon: "gt-plane-user", to: getRouterLink("dashboard") },
|
|
15211
15213
|
{ id: "myOrg", label: t2("gitCodeLayout.header.myOrg"), icon: "gt-plane-organization", to: getRouterLink({ name: "settingOrganization" }) },
|
|
15212
15214
|
{ id: "myRepo", label: t2("gitCodeLayout.header.myRepo"), icon: "gt-plane-projectHome1", to: getRouterLink("settingRepo") },
|
|
15213
|
-
{ id: "myNotebook", label: t2("gitCodeLayout.header.myNotebook"), icon: "gt-plane-Notebook",
|
|
15215
|
+
{ id: "myNotebook", label: t2("gitCodeLayout.header.myNotebook"), icon: "gt-plane-Notebook", link: `${layoutConfig2.VITE_AI_HOST}/user/${userInfo.value.username}/notebook` },
|
|
15216
|
+
{ id: "myOpenClaw", label: t2("gitCodeLayout.header.myOpenClaw"), icon: "gt-openclaw", link: `${layoutConfig2.VITE_AI_HOST}/user/${userInfo.value.username}/openclaw` },
|
|
15214
15217
|
// { id: 'myCloudSpace', label: t('gitCodeLayout.header.myCloudSpace'), icon: 'gt-plane-cloud', target: '_blank', href: 'https://devstation.connect.huaweicloud.com/devdesktop/webide' },
|
|
15215
15218
|
{ id: "mySpaces", label: t2("gitCodeLayout.header.mySpace"), icon: "gt-plane-Space", to: getRouterLink("userSpaces") },
|
|
15216
15219
|
{ id: "myStar", label: t2("gitCodeLayout.header.myStar"), icon: "gt-plane-star", to: getRouterLink("userStars") }
|
|
@@ -15236,6 +15239,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15236
15239
|
{ id: "myOrg", label: t2("gitCodeLayout.header.myOrg"), icon: "gt-plane-organization", link: "/setting/organization" },
|
|
15237
15240
|
{ id: "myRepo", label: t2("gitCodeLayout.header.myRepo"), icon: "gt-plane-projectHome1", link: "/setting/repo" },
|
|
15238
15241
|
{ id: "myNotebook", label: t2("gitCodeLayout.header.myNotebook"), icon: "gt-plane-Notebook", show: props.inAIHub, link: `/user/${userInfo.value.username}/notebook` },
|
|
15242
|
+
{ id: "myOpenClaw", label: t2("gitCodeLayout.header.myOpenClaw"), icon: "gt-openclaw", show: props.inAIHub, link: `/user/${userInfo.value.username}/openclaw` },
|
|
15239
15243
|
// { id: 'myCloudSpace', label: t('gitCodeLayout.header.myCloudSpace'), icon: 'gt-plane-cloud', link: 'https://devstation.connect.huaweicloud.com/devdesktop/webide' },
|
|
15240
15244
|
{ id: "mySpaces", label: t2("gitCodeLayout.header.mySpace"), icon: "gt-plane-Space", show: props.inAIHub, link: `/user/${userInfo.value.username}/spaces` },
|
|
15241
15245
|
{ id: "myStar", label: t2("gitCodeLayout.header.myStar"), icon: "gt-plane-star", link: `/user/${userInfo.value.username}/stars` }
|
|
@@ -15266,7 +15270,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
15266
15270
|
item.action();
|
|
15267
15271
|
}
|
|
15268
15272
|
if (item == null ? void 0 : item.link) {
|
|
15269
|
-
|
|
15273
|
+
let link = "";
|
|
15274
|
+
if (/^https?:\/\//i.test(item.link)) {
|
|
15275
|
+
link = item.link;
|
|
15276
|
+
} else {
|
|
15277
|
+
link = `${layoutConfig2.VITE_HOST}${item.link}`;
|
|
15278
|
+
}
|
|
15270
15279
|
emit("link-click");
|
|
15271
15280
|
setTimeout(() => {
|
|
15272
15281
|
window.open(link, "_self");
|
|
@@ -15710,13 +15719,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15710
15719
|
var _a;
|
|
15711
15720
|
const layoutConfig2 = useLayoutConfig();
|
|
15712
15721
|
const { t: $t } = i18n.global;
|
|
15713
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
15714
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
15715
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
15716
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
15717
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
15718
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
15719
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
15722
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Bovm7v4p.js"));
|
|
15723
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-C4u69Kdt.js"));
|
|
15724
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-YEZNh720.js"));
|
|
15725
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-_u7jq3az.js"));
|
|
15726
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-Dju7J3EQ.js"));
|
|
15727
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BpOVULHN.js"));
|
|
15728
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DvtKYcy5.js"));
|
|
15720
15729
|
const props = __props;
|
|
15721
15730
|
const repoInfo = inject("repoInfo");
|
|
15722
15731
|
const orgInfo = inject("orgInfo");
|
|
@@ -15809,7 +15818,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15809
15818
|
language.value = queryArg.l;
|
|
15810
15819
|
}
|
|
15811
15820
|
};
|
|
15812
|
-
if (route.name === "search") {
|
|
15821
|
+
if ((route == null ? void 0 : route.name) === "search") {
|
|
15813
15822
|
isSearchPage.value = true;
|
|
15814
15823
|
setQueryTag();
|
|
15815
15824
|
}
|
|
@@ -16490,7 +16499,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
16490
16499
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
16491
16500
|
}
|
|
16492
16501
|
};
|
|
16493
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
16502
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-Dle7kwKG.js"));
|
|
16494
16503
|
function clearNotice() {
|
|
16495
16504
|
if (localStorage$2.getItem("validator_email")) {
|
|
16496
16505
|
localStorage$2.removeItem("validator_email");
|
|
@@ -16616,7 +16625,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16616
16625
|
return visibleItems.value.includes(auth);
|
|
16617
16626
|
};
|
|
16618
16627
|
const isHomePageHiddenMenuBtn = computed(() => {
|
|
16619
|
-
|
|
16628
|
+
if (!route) return false;
|
|
16629
|
+
return props.sceneValue === SceneValue.home && ["home", "issues", "kanban", "discussionCreated", "merge"].includes(route == null ? void 0 : route.name) && !["sm", "lg"].includes(widthType.value);
|
|
16620
16630
|
});
|
|
16621
16631
|
const { isMobile } = usePageResize();
|
|
16622
16632
|
const { widthType } = usePageResize();
|
|
@@ -16827,7 +16837,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16827
16837
|
};
|
|
16828
16838
|
const claimPowerConfig = ref({});
|
|
16829
16839
|
const getClaimPowerConfig = async () => {
|
|
16830
|
-
const res = await props.request(
|
|
16840
|
+
const res = await props.request({
|
|
16841
|
+
url: "/api/v1/search/common/config/claim_computing_power",
|
|
16842
|
+
method: "get"
|
|
16843
|
+
});
|
|
16831
16844
|
claimPowerConfig.value = (res == null ? void 0 : res.data) || {};
|
|
16832
16845
|
};
|
|
16833
16846
|
onMounted(() => {
|
|
@@ -17293,9 +17306,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17293
17306
|
const layoutConfig2 = useLayoutConfig();
|
|
17294
17307
|
const { t: t2 } = i18n.global;
|
|
17295
17308
|
const route = useRoute();
|
|
17296
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
17297
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
17298
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList
|
|
17309
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-kdOXexCm.js"));
|
|
17310
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DJn9ahwb.js"));
|
|
17311
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-B1vPkkK_.js"));
|
|
17299
17312
|
const props = __props;
|
|
17300
17313
|
console.log("slotKeys", props.slotKeys);
|
|
17301
17314
|
console.log("props", props);
|
|
@@ -17941,7 +17954,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
17941
17954
|
computed(() => (userInfo == null ? void 0 : userInfo.username) || JSON.parse(localStorage$2.getItem("userInfo") || "{}").username);
|
|
17942
17955
|
const showPreferencesSetting = computed(() => {
|
|
17943
17956
|
if (props.showPreferencesSetting !== void 0) return props.showPreferencesSetting;
|
|
17944
|
-
return route.name !== AICopilot_ROUTE_NAME && isModuleVisible(AsideDisplayItem.PREFERENCE);
|
|
17957
|
+
return (route == null ? void 0 : route.name) !== AICopilot_ROUTE_NAME && isModuleVisible(AsideDisplayItem.PREFERENCE);
|
|
17945
17958
|
});
|
|
17946
17959
|
const handleScroll = () => {
|
|
17947
17960
|
isScroll.value = true;
|
|
@@ -18135,7 +18148,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18135
18148
|
provide("asideSetShow", asideSetShow);
|
|
18136
18149
|
console.log("indexasideSetShow", asideSetShow.value);
|
|
18137
18150
|
const isHome = computed(() => {
|
|
18138
|
-
return props.sceneValue === SceneValue.home && ["home", "issues", "kanban", "discussionCreated", "merge", "dashboard"].includes(route.name);
|
|
18151
|
+
return props.sceneValue === SceneValue.home && ["home", "issues", "kanban", "discussionCreated", "merge", "dashboard"].includes(route == null ? void 0 : route.name);
|
|
18139
18152
|
});
|
|
18140
18153
|
const asideSize = computed(() => {
|
|
18141
18154
|
if (props.collapseMode) {
|
|
@@ -23500,7 +23513,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
23500
23513
|
__publicField(_SlidCaptchaManager, "instance");
|
|
23501
23514
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
23502
23515
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
23503
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
23516
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-Bg7u06NQ.js"));
|
|
23504
23517
|
const useSlidCaptcha = () => {
|
|
23505
23518
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
23506
23519
|
const open = (config) => {
|
|
@@ -23530,7 +23543,7 @@ const useSlidCaptcha = () => {
|
|
|
23530
23543
|
close
|
|
23531
23544
|
};
|
|
23532
23545
|
};
|
|
23533
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
23546
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-yqtOh7Jk.js"));
|
|
23534
23547
|
const useYunpianCaptcha = () => {
|
|
23535
23548
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
23536
23549
|
const open = (config) => {
|
|
@@ -26164,7 +26177,7 @@ function useLogin(request, globalStore) {
|
|
|
26164
26177
|
}
|
|
26165
26178
|
} else {
|
|
26166
26179
|
closeModal();
|
|
26167
|
-
route.name !== "oauth" && mount(LoginModal, {
|
|
26180
|
+
(route == null ? void 0 : route.name) !== "oauth" && mount(LoginModal, {
|
|
26168
26181
|
route,
|
|
26169
26182
|
request,
|
|
26170
26183
|
modelValue: true,
|
|
@@ -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-D3B70Plq.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-OV5-X5bc.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";
|
|
@@ -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-D3B70Plq.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|
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-D3B70Plq.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