vue-layout-gitcode 1.9.46 → 1.9.47
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-i7Vm0X_K.js → GloabarSearch-Bn7u2y5G.js} +3 -3
- package/{MenuItem-DQlnrMg3.js → MenuItem-KQ_xei4_.js} +1 -1
- package/{ProjectMenuList-BdNJgExk.js → ProjectMenuList-CI36z_Eh.js} +2 -2
- package/{ProjectMenuListV2-CP7qcNw_.js → ProjectMenuListV2-BXS49UYp.js} +2 -2
- package/{ProjectSearch-KwNuTsl3.js → ProjectSearch-CPrAtvdj.js} +1 -1
- package/{SearchHistoryList-C7vc6f2b.js → SearchHistoryList-D6kAI-4I.js} +1 -1
- package/{SearchPrefixTag-Cu3t9Eb7.js → SearchPrefixTag-CQL-BQSX.js} +1 -1
- package/{SearchRecommed-CLyNlFAD.js → SearchRecommed-BpRdV8Kz.js} +2 -2
- package/{SearchScopeList-Coft38r4.js → SearchScopeList-BPCrZxlr.js} +1 -1
- package/{UserSearch-D5zqa-jo.js → UserSearch-Cqvdq6Bf.js} +1 -1
- package/{index-S2CGZGOC.js → index-BLjT9vV4.js} +2 -2
- package/{index-BKJRmKgd.js → index-BxBd15zi.js} +29 -23
- package/{index-DehPGMWf.js → index-DbJgW3o5.js} +1 -1
- package/{index-XWhAp0uv.js → index-rkabbZyH.js} +1 -1
- package/index.js +1 -1
- package/{notice-DIjSoBGy.js → notice-xJC_E9Ij.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-DElg6-Lb.js → transWebUrl-Cen6nQhl.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-BxBd15zi.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-BLjT9vV4.js";
|
|
7
|
+
import "./transWebUrl-Cen6nQhl.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, z as ThemeType, A as currentTheme, L as LANG_ZH, B as LANG_EN, x as getLocaleLang, G as GIcon, C as emitEvent, D as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, z as ThemeType, A as currentTheme, L as LANG_ZH, B as LANG_EN, x as getLocaleLang, G as GIcon, C as emitEvent, D as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BxBd15zi.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, F as _sfc_main$1, H as loadAsideData, C 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, F as _sfc_main$1, H as loadAsideData, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-BxBd15zi.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-Cen6nQhl.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, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, t as transformUrl, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, t as transformUrl, _ as _export_sfc } from "./index-BxBd15zi.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-Cen6nQhl.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-BxBd15zi.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-BxBd15zi.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-BxBd15zi.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-BLjT9vV4.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-BxBd15zi.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-BxBd15zi.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-BxBd15zi.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,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-BxBd15zi.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-Cen6nQhl.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";
|
|
@@ -8255,11 +8255,12 @@ const LANGUAGE = [
|
|
|
8255
8255
|
];
|
|
8256
8256
|
const LANG_KEY = "gitcode_lang";
|
|
8257
8257
|
const COOKIE_DOMAIN = () => {
|
|
8258
|
-
if (window.location.hostname.includes("atomgit.com")) {
|
|
8258
|
+
if (typeof window !== "undefined" && window.location.hostname.includes("atomgit.com")) {
|
|
8259
8259
|
return ".atomgit.com";
|
|
8260
|
-
} else {
|
|
8260
|
+
} else if (typeof window !== "undefined" && window.location.hostname.includes("gitcode.com")) {
|
|
8261
8261
|
return ".gitcode.com";
|
|
8262
8262
|
}
|
|
8263
|
+
return ".gitcode.com";
|
|
8263
8264
|
};
|
|
8264
8265
|
const COOKIE_OPTIONS = {
|
|
8265
8266
|
expires: 365,
|
|
@@ -11927,7 +11928,7 @@ const collectRegisterLoginEvent = ({ isRegister, registerLoginMethod, success, e
|
|
|
11927
11928
|
article_id: searchParams["from_id"] || "",
|
|
11928
11929
|
userid_fast_application: searchParams["uuid_tt_dd"] || "",
|
|
11929
11930
|
gitcode_utm_source: searchParams["utm_source"] || "",
|
|
11930
|
-
page_url: location.href || "",
|
|
11931
|
+
page_url: (location == null ? void 0 : location.href) || "",
|
|
11931
11932
|
env: layoutConfig$3.VITE_ENV,
|
|
11932
11933
|
namespace: extraData.namespace || "",
|
|
11933
11934
|
...extraData,
|
|
@@ -13920,13 +13921,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13920
13921
|
};
|
|
13921
13922
|
});
|
|
13922
13923
|
function goPage() {
|
|
13924
|
+
var _a, _b, _c;
|
|
13923
13925
|
let url = "";
|
|
13924
13926
|
if (!tianqiButtonConfig.value.url) {
|
|
13925
|
-
url = transformUrlWithSpecialPrefix({ url: layoutConfig2.VITE_HOST_TIANQI, host: window.location.host }) + "?utm_source=toolbar";
|
|
13927
|
+
url = transformUrlWithSpecialPrefix({ url: layoutConfig2.VITE_HOST_TIANQI, host: (_a = window == null ? void 0 : window.location) == null ? void 0 : _a.host }) + "?utm_source=toolbar";
|
|
13926
13928
|
} else {
|
|
13927
13929
|
url = transformUrl(tianqiButtonConfig.value.url) + "?utm_source=toolbar";
|
|
13928
13930
|
}
|
|
13929
|
-
const isGitcodeHost = window.location.host.includes("gitcode");
|
|
13931
|
+
const isGitcodeHost = (_c = (_b = window == null ? void 0 : window.location) == null ? void 0 : _b.host) == null ? void 0 : _c.includes("gitcode");
|
|
13930
13932
|
if (url.includes("tianqi.pre.")) {
|
|
13931
13933
|
url = isGitcodeHost ? "https://pre-tianqi.gitcode.com" : "https://pre-tianqi.atomgit.com";
|
|
13932
13934
|
} else if (url.includes("tianqi.test.")) {
|
|
@@ -17228,13 +17230,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17228
17230
|
var _a;
|
|
17229
17231
|
const layoutConfig2 = useLayoutConfig();
|
|
17230
17232
|
const { t: $t } = i18n.global;
|
|
17231
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17232
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17233
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17234
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17235
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17236
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17237
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17233
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CPrAtvdj.js"));
|
|
17234
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-Cqvdq6Bf.js"));
|
|
17235
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Bn7u2y5G.js"));
|
|
17236
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-D6kAI-4I.js"));
|
|
17237
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BPCrZxlr.js"));
|
|
17238
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CQL-BQSX.js"));
|
|
17239
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BpRdV8Kz.js"));
|
|
17238
17240
|
const props = __props;
|
|
17239
17241
|
const repoInfo = inject("repoInfo");
|
|
17240
17242
|
const orgInfo = inject("orgInfo");
|
|
@@ -17903,7 +17905,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17903
17905
|
}
|
|
17904
17906
|
};
|
|
17905
17907
|
const migrationAnnounceUrl = computed(() => {
|
|
17906
|
-
|
|
17908
|
+
var _a, _b;
|
|
17909
|
+
return ((_b = (_a = window == null ? void 0 : window.location) == null ? void 0 : _a.hostname) == null ? void 0 : _b.includes("gitcode")) ? "https://gitcode.com/gitcode" : "https://atomgit.com/gitcode";
|
|
17907
17910
|
});
|
|
17908
17911
|
const initShowStatus = () => {
|
|
17909
17912
|
if (!SITE_STATUS.DISABLE) {
|
|
@@ -17966,7 +17969,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17966
17969
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17967
17970
|
}
|
|
17968
17971
|
};
|
|
17969
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17972
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-xJC_E9Ij.js"));
|
|
17970
17973
|
function clearNotice() {
|
|
17971
17974
|
if (localStorage$2.getItem("validator_email")) {
|
|
17972
17975
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18768,9 +18771,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18768
18771
|
const layoutConfig2 = useLayoutConfig();
|
|
18769
18772
|
const { t: t2 } = i18n.global;
|
|
18770
18773
|
const route = useRoute();
|
|
18771
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18772
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18773
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18774
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-KQ_xei4_.js"));
|
|
18775
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BXS49UYp.js"));
|
|
18776
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-CI36z_Eh.js"));
|
|
18774
18777
|
const props = __props;
|
|
18775
18778
|
console.log("slotKeys", props.slotKeys);
|
|
18776
18779
|
console.log("props", props);
|
|
@@ -19209,7 +19212,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
19209
19212
|
const SubMenuList = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
19210
19213
|
const createSetting = () => {
|
|
19211
19214
|
const { t: t2 } = i18n.global;
|
|
19212
|
-
const isGitCodeHost2 = window.location.hostname.includes("gitcode");
|
|
19215
|
+
const isGitCodeHost2 = typeof window !== "undefined" && window.location.hostname.includes("gitcode");
|
|
19213
19216
|
const settings = {
|
|
19214
19217
|
slogan: t2("gitCodeLayout.home.slogon"),
|
|
19215
19218
|
copyright: {
|
|
@@ -21787,7 +21790,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
21787
21790
|
emits("declares", type);
|
|
21788
21791
|
};
|
|
21789
21792
|
const dataShareName = computed(() => {
|
|
21790
|
-
|
|
21793
|
+
var _a, _b;
|
|
21794
|
+
if ((_b = (_a = window == null ? void 0 : window.location) == null ? void 0 : _a.host) == null ? void 0 : _b.includes("gitcode")) {
|
|
21791
21795
|
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "AtomGit" });
|
|
21792
21796
|
} else {
|
|
21793
21797
|
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "GitCode" });
|
|
@@ -21853,7 +21857,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
21853
21857
|
emits("declares", type);
|
|
21854
21858
|
};
|
|
21855
21859
|
const dataShareName = computed(() => {
|
|
21856
|
-
|
|
21860
|
+
var _a;
|
|
21861
|
+
if ((_a = window == null ? void 0 : window.location) == null ? void 0 : _a.host.includes("gitcode")) {
|
|
21857
21862
|
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "AtomGit" });
|
|
21858
21863
|
} else {
|
|
21859
21864
|
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "GitCode" });
|
|
@@ -24280,7 +24285,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24280
24285
|
emits("confirm");
|
|
24281
24286
|
};
|
|
24282
24287
|
const dataShareName = computed(() => {
|
|
24283
|
-
|
|
24288
|
+
var _a;
|
|
24289
|
+
if ((_a = window == null ? void 0 : window.location) == null ? void 0 : _a.host.includes("gitcode")) {
|
|
24284
24290
|
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "AtomGit" });
|
|
24285
24291
|
} else {
|
|
24286
24292
|
return $t("gitCodeLayout.LoginModal.link.dataShare", { name: "GitCode" });
|
|
@@ -24615,7 +24621,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24615
24621
|
}
|
|
24616
24622
|
});
|
|
24617
24623
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24618
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24624
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-rkabbZyH.js"));
|
|
24619
24625
|
const useSlidCaptcha = () => {
|
|
24620
24626
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24621
24627
|
const open = (config) => {
|
|
@@ -24634,7 +24640,7 @@ const useSlidCaptcha = () => {
|
|
|
24634
24640
|
close: unMount
|
|
24635
24641
|
};
|
|
24636
24642
|
};
|
|
24637
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
24643
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-DbJgW3o5.js"));
|
|
24638
24644
|
const useYunpianCaptcha = () => {
|
|
24639
24645
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
24640
24646
|
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, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BxBd15zi.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
constructor() {
|
|
14
14
|
__publicField(this, "ypRiddlerInstance", null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { x as getLocaleLang, L as LANG_ZH, y as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
2
|
+
import { x as getLocaleLang, L as LANG_ZH, y as useLayoutConfig, _ as _export_sfc } from "./index-BxBd15zi.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:";
|
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-BxBd15zi.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