vue-layout-gitcode 1.10.38 → 1.10.39
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-Cc-EAfTj.js → GloabarSearch-CpV9Y0-2.js} +3 -3
- package/{MenuItem-CO0zHVCU.js → MenuItem-xG1zyDqG.js} +1 -1
- package/{ProjectMenuList-to0LshAc.js → ProjectMenuList-BpIv8yk8.js} +2 -2
- package/{ProjectMenuListV2-Dzx7cemj.js → ProjectMenuListV2-ewgKsv0G.js} +2 -2
- package/{ProjectSearch-C-ZuiFNe.js → ProjectSearch-BNrh-n61.js} +1 -1
- package/{SearchHistoryList-Cb-KkbKO.js → SearchHistoryList-Ca_yx2TJ.js} +1 -1
- package/{SearchPrefixTag-CG2Rapoz.js → SearchPrefixTag-8fcmiStm.js} +1 -1
- package/{SearchRecommed-D-E5ydK1.js → SearchRecommed-Elyth2MI.js} +2 -2
- package/{SearchScopeList-BrCok_xU.js → SearchScopeList-C-uLY739.js} +1 -1
- package/{UserSearch-DggTPss0.js → UserSearch-Cg_r3s6r.js} +1 -1
- package/{index-TvzVWjfV.js → index-3kx3gWG8.js} +1 -1
- package/{index-C-H5jIRN.js → index-Bqx7R4V9.js} +1 -1
- package/{index-FlMc5vO6.js → index-CAPAOsg7.js} +2 -2
- package/{index-CBin7MhP.js → index-DxJFoNO4.js} +101 -19
- package/index.js +1 -1
- package/{notice-B-DrjcWz.js → notice-CUm9r7g5.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-DUb856FS.js → transWebUrl-BHz8Qist.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-DxJFoNO4.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-CAPAOsg7.js";
|
|
7
|
+
import "./transWebUrl-BHz8Qist.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-DxJFoNO4.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-DxJFoNO4.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BHz8Qist.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-DxJFoNO4.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BHz8Qist.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-DxJFoNO4.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-DxJFoNO4.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-DxJFoNO4.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-CAPAOsg7.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-DxJFoNO4.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-DxJFoNO4.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-DxJFoNO4.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-DxJFoNO4.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:";
|
|
@@ -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-DxJFoNO4.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|
|
@@ -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-DxJFoNO4.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BHz8Qist.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";
|
|
@@ -9025,9 +9025,63 @@ const isGitCodeHost = () => {
|
|
|
9025
9025
|
return location.hostname.includes("gitcode");
|
|
9026
9026
|
};
|
|
9027
9027
|
const currentSiteName = () => isGitCodeHost() ? "GitCode" : "AtomGit";
|
|
9028
|
-
const
|
|
9029
|
-
|
|
9030
|
-
|
|
9028
|
+
const appendLangPathToHelpDocsUrl = (baseUrl) => {
|
|
9029
|
+
if (!baseUrl) {
|
|
9030
|
+
return baseUrl;
|
|
9031
|
+
}
|
|
9032
|
+
const currentLang = getLocaleLang();
|
|
9033
|
+
if (currentLang !== LANG_ZH) {
|
|
9034
|
+
try {
|
|
9035
|
+
const urlObj = new URL(baseUrl);
|
|
9036
|
+
if (urlObj.pathname.startsWith("/en")) {
|
|
9037
|
+
return baseUrl;
|
|
9038
|
+
}
|
|
9039
|
+
urlObj.pathname = "/en" + urlObj.pathname;
|
|
9040
|
+
return urlObj.toString();
|
|
9041
|
+
} catch (error) {
|
|
9042
|
+
console.warn("appendLangPathToHelpDocsUrl: URL 解析失败", error);
|
|
9043
|
+
if (baseUrl.includes("://")) {
|
|
9044
|
+
const parts = baseUrl.split("://");
|
|
9045
|
+
const protocol = parts[0];
|
|
9046
|
+
const rest = parts[1];
|
|
9047
|
+
const firstSlashIndex = rest.indexOf("/");
|
|
9048
|
+
if (firstSlashIndex === -1) {
|
|
9049
|
+
return `${protocol}://${rest}/en`;
|
|
9050
|
+
}
|
|
9051
|
+
const domain = rest.slice(0, firstSlashIndex);
|
|
9052
|
+
const path = rest.slice(firstSlashIndex);
|
|
9053
|
+
if (path.startsWith("/en")) {
|
|
9054
|
+
return baseUrl;
|
|
9055
|
+
}
|
|
9056
|
+
return `${protocol}://${domain}/en${path}`;
|
|
9057
|
+
}
|
|
9058
|
+
if (baseUrl && !baseUrl.startsWith("/en")) {
|
|
9059
|
+
const firstSlashIndex = baseUrl.indexOf("/");
|
|
9060
|
+
if (firstSlashIndex === -1) {
|
|
9061
|
+
return `${baseUrl}/en`;
|
|
9062
|
+
}
|
|
9063
|
+
const domain = baseUrl.slice(0, firstSlashIndex);
|
|
9064
|
+
const path = baseUrl.slice(firstSlashIndex);
|
|
9065
|
+
return `${domain}/en${path}`;
|
|
9066
|
+
}
|
|
9067
|
+
return baseUrl;
|
|
9068
|
+
}
|
|
9069
|
+
}
|
|
9070
|
+
return baseUrl;
|
|
9071
|
+
};
|
|
9072
|
+
const currentHelpDocsBaseUrl = () => isGitCodeHost() ? HELP_DOCS_URL_GITCODE : HELP_DOCS_URL_ATOMGIT;
|
|
9073
|
+
const currentHelpDocsUrl = () => {
|
|
9074
|
+
const baseUrl = currentHelpDocsBaseUrl();
|
|
9075
|
+
return appendLangPathToHelpDocsUrl(baseUrl);
|
|
9076
|
+
};
|
|
9077
|
+
const currentHelpDocsAboutUsUrl = () => {
|
|
9078
|
+
const baseUrl = isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/aboutus/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/aboutus/";
|
|
9079
|
+
return appendLangPathToHelpDocsUrl(baseUrl);
|
|
9080
|
+
};
|
|
9081
|
+
const currentHelpDocsAiCommunityUrl = () => {
|
|
9082
|
+
const baseUrl = isGitCodeHost() ? HELP_DOCS_URL_GITCODE + "/docs/help/home/ai-community/" : HELP_DOCS_URL_ATOMGIT + "/docs/help/home/ai-community/";
|
|
9083
|
+
return appendLangPathToHelpDocsUrl(baseUrl);
|
|
9084
|
+
};
|
|
9031
9085
|
const _hoisted_1$y = { class: "home-nav-right" };
|
|
9032
9086
|
const _hoisted_2$o = { class: "home-nav-item" };
|
|
9033
9087
|
const _hoisted_3$n = { class: "tooltip-sign" };
|
|
@@ -15713,13 +15767,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15713
15767
|
var _a;
|
|
15714
15768
|
const layoutConfig2 = useLayoutConfig();
|
|
15715
15769
|
const { t: $t } = i18n.global;
|
|
15716
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
15717
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
15718
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
15719
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
15720
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
15721
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
15722
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
15770
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BNrh-n61.js"));
|
|
15771
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-Cg_r3s6r.js"));
|
|
15772
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CpV9Y0-2.js"));
|
|
15773
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Ca_yx2TJ.js"));
|
|
15774
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-C-uLY739.js"));
|
|
15775
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-8fcmiStm.js"));
|
|
15776
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Elyth2MI.js"));
|
|
15723
15777
|
const props = __props;
|
|
15724
15778
|
const repoInfo = inject("repoInfo");
|
|
15725
15779
|
const orgInfo = inject("orgInfo");
|
|
@@ -16493,7 +16547,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
16493
16547
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
16494
16548
|
}
|
|
16495
16549
|
};
|
|
16496
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
16550
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-CUm9r7g5.js"));
|
|
16497
16551
|
function clearNotice() {
|
|
16498
16552
|
if (localStorage$2.getItem("validator_email")) {
|
|
16499
16553
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17300,9 +17354,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17300
17354
|
const layoutConfig2 = useLayoutConfig();
|
|
17301
17355
|
const { t: t2 } = i18n.global;
|
|
17302
17356
|
const route = useRoute();
|
|
17303
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
17304
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
17305
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
17357
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-xG1zyDqG.js"));
|
|
17358
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-ewgKsv0G.js"));
|
|
17359
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BpIv8yk8.js"));
|
|
17306
17360
|
const props = __props;
|
|
17307
17361
|
console.log("slotKeys", props.slotKeys);
|
|
17308
17362
|
console.log("props", props);
|
|
@@ -17696,6 +17750,12 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
17696
17750
|
});
|
|
17697
17751
|
const linkList = computed(() => {
|
|
17698
17752
|
return [
|
|
17753
|
+
{
|
|
17754
|
+
name: t2("gitCodeLayout.home.informationCenter"),
|
|
17755
|
+
icon: "gt-line-consulting",
|
|
17756
|
+
url: `${transformNewsUrl(INFORMATION_CENTER_URL)}?lang=${getLocaleLang() || "zh"}`,
|
|
17757
|
+
target: "_blank"
|
|
17758
|
+
},
|
|
17699
17759
|
{
|
|
17700
17760
|
name: t2("gitCodeLayout.header.helpDocument"),
|
|
17701
17761
|
icon: "gt-line-file",
|
|
@@ -23512,7 +23572,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
23512
23572
|
__publicField(_SlidCaptchaManager, "instance");
|
|
23513
23573
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
23514
23574
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
23515
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
23575
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-3kx3gWG8.js"));
|
|
23516
23576
|
const useSlidCaptcha = () => {
|
|
23517
23577
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
23518
23578
|
const open = (config) => {
|
|
@@ -23542,7 +23602,7 @@ const useSlidCaptcha = () => {
|
|
|
23542
23602
|
close
|
|
23543
23603
|
};
|
|
23544
23604
|
};
|
|
23545
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
23605
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-Bqx7R4V9.js"));
|
|
23546
23606
|
const useYunpianCaptcha = () => {
|
|
23547
23607
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
23548
23608
|
const open = (config) => {
|
|
@@ -25090,10 +25150,32 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25090
25150
|
close();
|
|
25091
25151
|
}
|
|
25092
25152
|
};
|
|
25153
|
+
const getHelpDocsUrlWithPath = (path, hash) => {
|
|
25154
|
+
const baseUrl = currentHelpDocsBaseUrl();
|
|
25155
|
+
const currentLang2 = getLocaleLang();
|
|
25156
|
+
let normalizedPath = path;
|
|
25157
|
+
if (normalizedPath && !normalizedPath.startsWith("/")) {
|
|
25158
|
+
normalizedPath = "/" + normalizedPath;
|
|
25159
|
+
}
|
|
25160
|
+
let fullPath = normalizedPath;
|
|
25161
|
+
if (currentLang2 !== LANG_ZH) {
|
|
25162
|
+
fullPath = "/en" + normalizedPath;
|
|
25163
|
+
}
|
|
25164
|
+
if (hash) {
|
|
25165
|
+
let normalizedHash = hash;
|
|
25166
|
+
if (!normalizedHash.startsWith("#")) {
|
|
25167
|
+
normalizedHash = "#" + normalizedHash;
|
|
25168
|
+
}
|
|
25169
|
+
fullPath += normalizedHash;
|
|
25170
|
+
}
|
|
25171
|
+
return baseUrl + fullPath;
|
|
25172
|
+
};
|
|
25173
|
+
const currentLang = getLocaleLang();
|
|
25174
|
+
const dataShareHash = currentLang !== LANG_ZH ? "#viii-data-synchronization-and-account-integration" : "#八数据同步与账户整合";
|
|
25093
25175
|
const links = {
|
|
25094
|
-
agreement:
|
|
25095
|
-
privacy:
|
|
25096
|
-
dataShare:
|
|
25176
|
+
agreement: getHelpDocsUrlWithPath("/docs/help/home/protocol/terms-of-service"),
|
|
25177
|
+
privacy: getHelpDocsUrlWithPath("/docs/help/home/protocol/privacy-policy"),
|
|
25178
|
+
dataShare: getHelpDocsUrlWithPath("/docs/help/home/protocol/privacy-policy", dataShareHash)
|
|
25097
25179
|
};
|
|
25098
25180
|
const links_hw = {
|
|
25099
25181
|
agreement: "https://www.huaweicloud.com/declaration/sa_cua.html",
|
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-DxJFoNO4.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