vue-layout-gitcode 1.10.40 → 1.11.1
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-Cu1Y0_Ef.js → GloabarSearch-DFGpWMOf.js} +3 -3
- package/{MenuItem-CqmQVcXF.js → MenuItem-VUC3XpSa.js} +1 -1
- package/{ProjectMenuList-Blpa1HZi.js → ProjectMenuList-BRlzFKV4.js} +2 -2
- package/{ProjectMenuListV2-tNrzUQp7.js → ProjectMenuListV2-BzBfvkq5.js} +2 -2
- package/{ProjectSearch-Dwq4aKu3.js → ProjectSearch-_uotSRv4.js} +1 -1
- package/{SearchHistoryList-C5lB3bDj.js → SearchHistoryList-CYr_ueHR.js} +1 -1
- package/{SearchPrefixTag-Cf5hOyDq.js → SearchPrefixTag-Bwdz9v91.js} +1 -1
- package/{SearchRecommed-BcM9qVkI.js → SearchRecommed-BCoqOTYU.js} +2 -2
- package/{SearchScopeList-CAz2Lk-m.js → SearchScopeList-DJQgRF5b.js} +1 -1
- package/{UserSearch-BGdL5rBg.js → UserSearch-Dp28gSml.js} +1 -1
- package/{index-rTlsZmo9.js → index-CGKcjPSt.js} +1 -1
- package/{index-BGGNfy_M.js → index-CSF46rQ4.js} +21 -37
- package/{index-C03Fddzr.js → index-D3P36zGR.js} +1 -1
- package/{index-BMs7IWAY.js → index-DIYD1AAT.js} +2 -2
- package/index.js +1 -1
- package/{notice-BvkbG9vq.js → notice-3p9ozzs3.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-CjdHwffp.js → transWebUrl-DpVxMVig.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-CSF46rQ4.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-DIYD1AAT.js";
|
|
7
|
+
import "./transWebUrl-DpVxMVig.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-CSF46rQ4.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-CSF46rQ4.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-DpVxMVig.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-CSF46rQ4.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-DpVxMVig.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-CSF46rQ4.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-CSF46rQ4.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-CSF46rQ4.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-DIYD1AAT.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-CSF46rQ4.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-CSF46rQ4.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-CSF46rQ4.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,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-CSF46rQ4.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|
|
@@ -7947,8 +7947,7 @@ const gitCodeLayout$1 = {
|
|
|
7947
7947
|
wechatScanCodeLogin: "微信扫码登录",
|
|
7948
7948
|
AccountLogin: "帐号登录",
|
|
7949
7949
|
resetPassword: "重置密码",
|
|
7950
|
-
huaweiLogin: "华为"
|
|
7951
|
-
sjtuLogin: "启悟学习社区"
|
|
7950
|
+
huaweiLogin: "华为"
|
|
7952
7951
|
},
|
|
7953
7952
|
tips: {
|
|
7954
7953
|
forgotPassword: "忘记密码?",
|
|
@@ -8328,10 +8327,9 @@ const gitCodeLayout = {
|
|
|
8328
8327
|
verify: "Confirm",
|
|
8329
8328
|
confirmPassword: "Confirm password",
|
|
8330
8329
|
wechatScanCodeLogin: "WeChat QR code login",
|
|
8331
|
-
AccountLogin: "
|
|
8330
|
+
AccountLogin: "Account login",
|
|
8332
8331
|
resetPassword: "Reset password",
|
|
8333
|
-
huaweiLogin: "Huawei"
|
|
8334
|
-
sjtuLogin: "QiWu Community"
|
|
8332
|
+
huaweiLogin: "Huawei"
|
|
8335
8333
|
},
|
|
8336
8334
|
tips: {
|
|
8337
8335
|
forgotPassword: "Forgot password?",
|
|
@@ -9695,7 +9693,6 @@ var AuthTypeEnum = /* @__PURE__ */ ((AuthTypeEnum2) => {
|
|
|
9695
9693
|
AuthTypeEnum2["ATOMGIT"] = "atomgit";
|
|
9696
9694
|
AuthTypeEnum2["PHONE_AND_PASSWORD"] = "phoneAndPassword";
|
|
9697
9695
|
AuthTypeEnum2["HUAWEI"] = "huawei";
|
|
9698
|
-
AuthTypeEnum2["SJTU"] = "sjtu";
|
|
9699
9696
|
return AuthTypeEnum2;
|
|
9700
9697
|
})(AuthTypeEnum || {});
|
|
9701
9698
|
var LoginMethodEnum = /* @__PURE__ */ ((LoginMethodEnum2) => {
|
|
@@ -15767,13 +15764,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15767
15764
|
var _a;
|
|
15768
15765
|
const layoutConfig2 = useLayoutConfig();
|
|
15769
15766
|
const { t: $t } = i18n.global;
|
|
15770
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
15771
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
15772
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
15773
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
15774
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
15775
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
15776
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
15767
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-_uotSRv4.js"));
|
|
15768
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-Dp28gSml.js"));
|
|
15769
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DFGpWMOf.js"));
|
|
15770
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CYr_ueHR.js"));
|
|
15771
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DJQgRF5b.js"));
|
|
15772
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-Bwdz9v91.js"));
|
|
15773
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BCoqOTYU.js"));
|
|
15777
15774
|
const props = __props;
|
|
15778
15775
|
const repoInfo = inject("repoInfo");
|
|
15779
15776
|
const orgInfo = inject("orgInfo");
|
|
@@ -16547,7 +16544,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
16547
16544
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
16548
16545
|
}
|
|
16549
16546
|
};
|
|
16550
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
16547
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-3p9ozzs3.js"));
|
|
16551
16548
|
function clearNotice() {
|
|
16552
16549
|
if (localStorage$2.getItem("validator_email")) {
|
|
16553
16550
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17354,9 +17351,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17354
17351
|
const layoutConfig2 = useLayoutConfig();
|
|
17355
17352
|
const { t: t2 } = i18n.global;
|
|
17356
17353
|
const route = useRoute();
|
|
17357
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
17358
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
17359
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
17354
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-VUC3XpSa.js"));
|
|
17355
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BzBfvkq5.js"));
|
|
17356
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BRlzFKV4.js"));
|
|
17360
17357
|
const props = __props;
|
|
17361
17358
|
console.log("slotKeys", props.slotKeys);
|
|
17362
17359
|
console.log("props", props);
|
|
@@ -19361,7 +19358,7 @@ const createLoginConfig = (request) => {
|
|
|
19361
19358
|
afterWechatLogin(param) {
|
|
19362
19359
|
bindResultResolve(param, API);
|
|
19363
19360
|
},
|
|
19364
|
-
// 其他三方授权前(gitee、github、hbuilder
|
|
19361
|
+
// 其他三方授权前(gitee、github、hbuilder)
|
|
19365
19362
|
beforeOtherLogin(param) {
|
|
19366
19363
|
const { type, validFunc } = param;
|
|
19367
19364
|
const check = validFunc ? validFunc() : true;
|
|
@@ -19761,13 +19758,8 @@ const __vite_glob_0_9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
19761
19758
|
__proto__: null,
|
|
19762
19759
|
default: logoMobile
|
|
19763
19760
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19764
|
-
const logoSjtu = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='_图层_2'%20data-name='图层_2'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20110.49%20137.82'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%23f4bf1b;%20}%20.cls-2%20{%20fill:%20blue;%20}%20%3c/style%3e%3c/defs%3e%3cg%20id='_图层_1-2'%20data-name='图层_1'%3e%3cpolygon%20class='cls-1'%20points='89.52%20110.32%2021.48%20110.32%2062.49%20137.82%2089.52%20110.32'/%3e%3cg%3e%3cpolyline%20class='cls-2'%20points='89.52%2068.38%2089.52%2021.31%2021.48%2021.31%2021.48%20110.32%200%20110.32%200%200%20110.49%200%20110.49%2068.38'/%3e%3cpolygon%20class='cls-2'%20points='62.49%20137.82%2016.88%20107.25%2016.88%2015.97%2062.15%2047.4%2062.49%20137.82'/%3e%3cg%3e%3crect%20class='cls-2'%20x='100.01'%20y='99.83'%20width='10.49'%20height='10.49'/%3e%3crect%20class='cls-2'%20x='89.52'%20y='89.35'%20width='10.49'%20height='10.49'/%3e%3crect%20class='cls-2'%20x='89.52'%20y='68.38'%20width='10.49'%20height='10.49'/%3e%3crect%20class='cls-2'%20x='100.01'%20y='78.86'%20width='10.49'%20height='10.49'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
19765
|
-
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19766
|
-
__proto__: null,
|
|
19767
|
-
default: logoSjtu
|
|
19768
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
19769
19761
|
const logoWechat = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1532_182)'%3e%3cpath%20d='M5.27165%205.34104C4.99419%205.34104%204.71674%205.52601%204.71674%205.80347C4.71674%206.08093%204.99419%206.2659%205.27165%206.2659C5.54911%206.2659%205.73408%206.08093%205.73408%205.80347C5.73408%205.51445%205.54911%205.34104%205.27165%205.34104ZM9.02887%208.02312C8.8439%208.02312%208.67049%208.21965%208.67049%208.39306C8.67049%208.5896%208.85546%208.76301%209.02887%208.76301C9.30633%208.76301%209.4913%208.57804%209.4913%208.39306C9.4913%208.20809%209.30633%208.02312%209.02887%208.02312ZM7.83812%206.2659C8.11558%206.2659%208.30055%206.06937%208.30055%205.80347C8.30055%205.52601%208.11558%205.34104%207.83812%205.34104C7.56067%205.34104%207.28321%205.52601%207.28321%205.80347C7.28321%206.08093%207.56067%206.2659%207.83812%206.2659ZM11.0404%208.02312C10.8555%208.02312%2010.6821%208.21965%2010.6821%208.39306C10.6821%208.5896%2010.867%208.76301%2011.0404%208.76301C11.3179%208.76301%2011.5029%208.57804%2011.5029%208.39306C11.5029%208.20809%2011.3179%208.02312%2011.0404%208.02312Z'%20fill='%2328C445'/%3e%3cpath%20d='M7.97688%200.0462418C3.57225%200.0462418%200%203.6185%200%208.02312C0%2012.4277%203.57225%2016%207.97688%2016C12.3815%2016%2015.9538%2012.4277%2015.9538%208.02312C15.9538%203.6185%2012.3815%200.0462418%207.97688%200.0462418ZM6.46243%2010.0694C6%2010.0694%205.63006%209.97688%205.19075%209.87283L3.91908%2010.5202L4.27746%209.39884C3.36416%208.75144%202.80925%207.90751%202.80925%206.90173C2.80925%205.13295%204.46243%203.74566%206.46243%203.74566C8.25434%203.74566%209.83815%204.85549%2010.1503%206.34682C10.0347%206.33526%209.91908%206.3237%209.80347%206.3237C8.06936%206.34682%206.7052%207.65318%206.7052%209.27168C6.7052%209.53757%206.75145%209.79191%206.82081%2010.0462C6.7052%2010.0578%206.57803%2010.0694%206.46243%2010.0694ZM11.8728%2011.3642L12.1503%2012.289L11.1561%2011.7341C10.7977%2011.8266%2010.4277%2011.9191%2010.0578%2011.9191C8.31214%2011.9191%206.93642%2010.7168%206.93642%209.22543C6.92486%207.74566%208.30058%206.54335%2010.0347%206.54335C11.6879%206.54335%2013.1445%207.75722%2013.1445%209.23699C13.1445%2010.0694%2012.6012%2010.8092%2011.8728%2011.3642Z'%20fill='%2328C445'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1532_182'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
19770
|
-
const
|
|
19762
|
+
const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19771
19763
|
__proto__: null,
|
|
19772
19764
|
default: logoWechat
|
|
19773
19765
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -23572,7 +23564,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
23572
23564
|
__publicField(_SlidCaptchaManager, "instance");
|
|
23573
23565
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
23574
23566
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
23575
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
23567
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-D3P36zGR.js"));
|
|
23576
23568
|
const useSlidCaptcha = () => {
|
|
23577
23569
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
23578
23570
|
const open = (config) => {
|
|
@@ -23602,7 +23594,7 @@ const useSlidCaptcha = () => {
|
|
|
23602
23594
|
close
|
|
23603
23595
|
};
|
|
23604
23596
|
};
|
|
23605
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
23597
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-CGKcjPSt.js"));
|
|
23606
23598
|
const useYunpianCaptcha = () => {
|
|
23607
23599
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
23608
23600
|
const open = (config) => {
|
|
@@ -24239,7 +24231,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24239
24231
|
const FormRules = getFormRules();
|
|
24240
24232
|
const { t: $t } = i18n.global;
|
|
24241
24233
|
const msgError = ref(false);
|
|
24242
|
-
const IconSource = /* @__PURE__ */ Object.assign({ "/src/assets/imgs/icon/login-modal/logo-back.svg": __vite_glob_0_0, "/src/assets/imgs/icon/login-modal/logo-csdn.svg": __vite_glob_0_1, "/src/assets/imgs/icon/login-modal/logo-git.svg": __vite_glob_0_2, "/src/assets/imgs/icon/login-modal/logo-gitee.svg": __vite_glob_0_3, "/src/assets/imgs/icon/login-modal/logo-github-white.svg": __vite_glob_0_4, "/src/assets/imgs/icon/login-modal/logo-github.svg": __vite_glob_0_5, "/src/assets/imgs/icon/login-modal/logo-gitlab.svg": __vite_glob_0_6, "/src/assets/imgs/icon/login-modal/logo-hb.svg": __vite_glob_0_7, "/src/assets/imgs/icon/login-modal/logo-huawei.svg": __vite_glob_0_8, "/src/assets/imgs/icon/login-modal/logo-mobile.svg": __vite_glob_0_9, "/src/assets/imgs/icon/login-modal/logo-
|
|
24234
|
+
const IconSource = /* @__PURE__ */ Object.assign({ "/src/assets/imgs/icon/login-modal/logo-back.svg": __vite_glob_0_0, "/src/assets/imgs/icon/login-modal/logo-csdn.svg": __vite_glob_0_1, "/src/assets/imgs/icon/login-modal/logo-git.svg": __vite_glob_0_2, "/src/assets/imgs/icon/login-modal/logo-gitee.svg": __vite_glob_0_3, "/src/assets/imgs/icon/login-modal/logo-github-white.svg": __vite_glob_0_4, "/src/assets/imgs/icon/login-modal/logo-github.svg": __vite_glob_0_5, "/src/assets/imgs/icon/login-modal/logo-gitlab.svg": __vite_glob_0_6, "/src/assets/imgs/icon/login-modal/logo-hb.svg": __vite_glob_0_7, "/src/assets/imgs/icon/login-modal/logo-huawei.svg": __vite_glob_0_8, "/src/assets/imgs/icon/login-modal/logo-mobile.svg": __vite_glob_0_9, "/src/assets/imgs/icon/login-modal/logo-wechat.svg": __vite_glob_0_10 });
|
|
24243
24235
|
const IconH = TransAssetsUrl(IconSource, "logo-gitee");
|
|
24244
24236
|
const IconC = TransAssetsUrl(IconSource, "logo-csdn");
|
|
24245
24237
|
const IconG = TransAssetsUrl(IconSource, "logo-github");
|
|
@@ -24248,7 +24240,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24248
24240
|
const IconW = TransAssetsUrl(IconSource, "logo-wechat");
|
|
24249
24241
|
const IconHb = TransAssetsUrl(IconSource, "logo-hb");
|
|
24250
24242
|
const IconHW = TransAssetsUrl(IconSource, "logo-huawei");
|
|
24251
|
-
const IconQiWu = TransAssetsUrl(IconSource, "logo-sjtu");
|
|
24252
24243
|
const logoConfig = getCurrentLogoMap();
|
|
24253
24244
|
const logoType = {
|
|
24254
24245
|
black: logoConfig.siteLogoWhite,
|
|
@@ -24284,12 +24275,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24284
24275
|
let timer = null;
|
|
24285
24276
|
let interval = null;
|
|
24286
24277
|
const logos = reactive([
|
|
24287
|
-
{
|
|
24288
|
-
src: IconQiWu,
|
|
24289
|
-
alt: "sjtu",
|
|
24290
|
-
describe: $t("gitCodeLayout.LoginModal.action.sjtuLogin") + $t("gitCodeLayout.LoginModal.action.AccountLogin"),
|
|
24291
|
-
loginMethodList: ["sjtu"]
|
|
24292
|
-
},
|
|
24293
24278
|
{
|
|
24294
24279
|
src: IconC,
|
|
24295
24280
|
alt: "csdn",
|
|
@@ -25572,8 +25557,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25572
25557
|
[AuthTypeEnum.GITEE]: () => LoginConfig.beforeOtherLogin(loginParams),
|
|
25573
25558
|
[AuthTypeEnum.GITHUB]: () => LoginConfig.beforeOtherLogin(loginParams),
|
|
25574
25559
|
[AuthTypeEnum.H_BUILDER]: () => LoginConfig.beforeOtherLogin(loginParams),
|
|
25575
|
-
[AuthTypeEnum.HUAWEI]: () => LoginConfig.beforeOtherLogin(loginParams)
|
|
25576
|
-
[AuthTypeEnum.SJTU]: () => LoginConfig.beforeOtherLogin(loginParams)
|
|
25560
|
+
[AuthTypeEnum.HUAWEI]: () => LoginConfig.beforeOtherLogin(loginParams)
|
|
25577
25561
|
};
|
|
25578
25562
|
loginMap[type]();
|
|
25579
25563
|
if (localStorage$2.getItem("utm_source")) {
|
|
@@ -26259,7 +26243,7 @@ function useLogin(request, globalStore) {
|
|
|
26259
26243
|
url = window.location.search;
|
|
26260
26244
|
}
|
|
26261
26245
|
const returnUrl = url.replace("?returnUrl=", "");
|
|
26262
|
-
if (!router2
|
|
26246
|
+
if (!router2.hasRoute(type)) {
|
|
26263
26247
|
location.href = `${layoutConfig2.VITE_HOST}/${type}?returnUrl=${returnUrl}`;
|
|
26264
26248
|
} else {
|
|
26265
26249
|
router2.replace(`/${type}?returnUrl=${returnUrl}`);
|
|
@@ -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-CSF46rQ4.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-CSF46rQ4.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-DpVxMVig.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { i as isPhone, u as useModel } from "./index-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-CSF46rQ4.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