vue-layout-gitcode 1.3.53 → 1.3.55
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-DUGjIAxL.js → GloabarSearch-CEQngV6E.js} +2 -2
- package/{ProjectSearch-w6VrC_EZ.js → ProjectSearch-BT2pR7hb.js} +1 -1
- package/{SearchHistoryList-Cnvbh_Zp.js → SearchHistoryList-CVPDaTru.js} +1 -1
- package/{SearchPrefixTag-B6fK6QpJ.js → SearchPrefixTag-CC8su242.js} +1 -1
- package/{SearchRecommed-C2g5Zerg.js → SearchRecommed-DTkim2Ld.js} +2 -2
- package/{SearchScopeList-DpwC3Qdn.js → SearchScopeList-D8kSTW2f.js} +1 -1
- package/{UserSearch-Clo55MM_.js → UserSearch-C8T1d4yQ.js} +1 -1
- package/{index-MYl0BMUs.js → index-Bis_nUz0.js} +81 -68
- package/{index-DQpcGai-.js → index-CBiREgjU.js} +1 -1
- package/{index-DHzHhx_B.js → index-DbwJam0s.js} +1 -1
- package/index.js +1 -1
- package/{notice-DyTdRgDJ.js → notice-Cx07SGWP.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } 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-Bis_nUz0.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CBiREgjU.js";
|
|
6
6
|
import "vue-devui-lal/tooltip";
|
|
7
7
|
import "vue-devui-lal/tooltip/style.css";
|
|
8
8
|
import "vue-router";
|
|
@@ -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-Bis_nUz0.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-Bis_nUz0.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-Bis_nUz0.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, 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-CBiREgjU.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-Bis_nUz0.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-Bis_nUz0.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 } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-Bis_nUz0.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]" };
|
|
@@ -17580,7 +17580,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17580
17580
|
const handleUpgrade = () => {
|
|
17581
17581
|
handleAvatarRedPoint(CLICK_TIME_MODULE.GROWTH_CENTER, props.accountInfo.username);
|
|
17582
17582
|
useReport2("score_entrance_click", {});
|
|
17583
|
-
if (router2.hasRoute("
|
|
17583
|
+
if (router2.hasRoute("settingPoints")) {
|
|
17584
17584
|
router2.push("/setting/points");
|
|
17585
17585
|
} else {
|
|
17586
17586
|
location.href = `${layoutConfig2.VITE_HOST}/setting/points`;
|
|
@@ -18120,13 +18120,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18120
18120
|
var _a;
|
|
18121
18121
|
const layoutConfig2 = useLayoutConfig();
|
|
18122
18122
|
const { t: $t } = i18n.global;
|
|
18123
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
18124
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
18125
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
18126
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
18127
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
18128
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
18129
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
18123
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BT2pR7hb.js"));
|
|
18124
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-C8T1d4yQ.js"));
|
|
18125
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CEQngV6E.js"));
|
|
18126
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CVPDaTru.js"));
|
|
18127
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D8kSTW2f.js"));
|
|
18128
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CC8su242.js"));
|
|
18129
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DTkim2Ld.js"));
|
|
18130
18130
|
const props = __props;
|
|
18131
18131
|
const repoInfo = inject("repoInfo");
|
|
18132
18132
|
const orgInfo = inject("orgInfo");
|
|
@@ -18736,7 +18736,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18736
18736
|
}
|
|
18737
18737
|
});
|
|
18738
18738
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18739
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18739
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-Cx07SGWP.js"));
|
|
18740
18740
|
function clearNotice() {
|
|
18741
18741
|
if (localStorage$2.getItem("validator_email")) {
|
|
18742
18742
|
localStorage$2.removeItem("validator_email");
|
|
@@ -25545,7 +25545,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25545
25545
|
}
|
|
25546
25546
|
});
|
|
25547
25547
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
25548
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
25548
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-DbwJam0s.js"));
|
|
25549
25549
|
const useSlidCaptcha = () => {
|
|
25550
25550
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
25551
25551
|
const open = (config) => {
|
|
@@ -25709,32 +25709,34 @@ const _hoisted_20 = {
|
|
|
25709
25709
|
const _hoisted_21 = { class: "flex items-center" };
|
|
25710
25710
|
const _hoisted_22 = { class: "w-[50px] h-[20px] last-login-img" };
|
|
25711
25711
|
const _hoisted_23 = ["src"];
|
|
25712
|
-
const _hoisted_24 = { class: "
|
|
25713
|
-
const _hoisted_25 =
|
|
25712
|
+
const _hoisted_24 = { class: "w-[50px] h-[20px] last-login-img" };
|
|
25713
|
+
const _hoisted_25 = ["src"];
|
|
25714
|
+
const _hoisted_26 = { class: "text-[12px] leading-[32px] text-center" };
|
|
25715
|
+
const _hoisted_27 = {
|
|
25714
25716
|
key: 1,
|
|
25715
25717
|
class: "forget-tips text-[var(--devui-link)] my-[16px] min-h-[32px] leading-[32px] px-[12px] tracking-[.5px]"
|
|
25716
25718
|
};
|
|
25717
|
-
const
|
|
25718
|
-
const
|
|
25719
|
-
const
|
|
25720
|
-
const
|
|
25721
|
-
const
|
|
25722
|
-
const
|
|
25719
|
+
const _hoisted_28 = { key: 2 };
|
|
25720
|
+
const _hoisted_29 = { class: "flex items-center justify-between" };
|
|
25721
|
+
const _hoisted_30 = { class: "text-[var(--devui-text-weak)] font-bold text-[16px]" };
|
|
25722
|
+
const _hoisted_31 = { class: "text-[12px] leading-[32px]" };
|
|
25723
|
+
const _hoisted_32 = { class: "text-[12px] leading-[20px] mt-[16px] text-[var(--devui-placeholder)] font-normal" };
|
|
25724
|
+
const _hoisted_33 = {
|
|
25723
25725
|
key: 0,
|
|
25724
25726
|
class: "login-modal-info h-[20px]"
|
|
25725
25727
|
};
|
|
25726
|
-
const
|
|
25727
|
-
const
|
|
25728
|
-
const
|
|
25729
|
-
const
|
|
25730
|
-
const
|
|
25731
|
-
const
|
|
25732
|
-
const
|
|
25733
|
-
const
|
|
25734
|
-
const
|
|
25735
|
-
const
|
|
25736
|
-
const
|
|
25737
|
-
const
|
|
25728
|
+
const _hoisted_34 = { class: "login-modal-info-left" };
|
|
25729
|
+
const _hoisted_35 = { class: "mt-[18px]" };
|
|
25730
|
+
const _hoisted_36 = { class: "flex justify-center" };
|
|
25731
|
+
const _hoisted_37 = { class: "flex items-center justify-center pr-[16px] mt-[16px]" };
|
|
25732
|
+
const _hoisted_38 = { class: "harmony-icon" };
|
|
25733
|
+
const _hoisted_39 = { class: "w-[50px] h-[20px] last-login-img" };
|
|
25734
|
+
const _hoisted_40 = ["src"];
|
|
25735
|
+
const _hoisted_41 = { class: "ml-[8px] text-[12px]" };
|
|
25736
|
+
const _hoisted_42 = { class: "login-modal-footer flex items-center justify-center" };
|
|
25737
|
+
const _hoisted_43 = { key: 2 };
|
|
25738
|
+
const _hoisted_44 = { class: "line-clamp-2" };
|
|
25739
|
+
const _hoisted_45 = { class: "absolute-btn" };
|
|
25738
25740
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
25739
25741
|
...{
|
|
25740
25742
|
name: "GLoginModal"
|
|
@@ -26612,12 +26614,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26612
26614
|
const handleBack = () => {
|
|
26613
26615
|
mfaCheck.value = false;
|
|
26614
26616
|
};
|
|
26615
|
-
const handleTitleBackClick = () => {
|
|
26617
|
+
const handleTitleBackClick = (type) => {
|
|
26616
26618
|
if (resetPwdDirectly.value) {
|
|
26617
26619
|
emits("directClose");
|
|
26618
26620
|
return;
|
|
26619
26621
|
}
|
|
26620
|
-
|
|
26622
|
+
if (type === "register") {
|
|
26623
|
+
useReport(REGISTER_CLICK_TO_LOGIN, {}, API.report);
|
|
26624
|
+
}
|
|
26621
26625
|
formType.value = "login";
|
|
26622
26626
|
checkMiniProgramStatus();
|
|
26623
26627
|
};
|
|
@@ -26721,7 +26725,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26721
26725
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
26722
26726
|
createVNode(unref(Modal), {
|
|
26723
26727
|
modelValue: unref(vModels),
|
|
26724
|
-
"onUpdate:modelValue": _cache[
|
|
26728
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
26725
26729
|
"show-close": false,
|
|
26726
26730
|
"lock-scroll": _ctx.lockScroll,
|
|
26727
26731
|
draggable: _ctx.draggable,
|
|
@@ -26843,9 +26847,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26843
26847
|
tabPanel.value === "password" ? "login-modal-tab-active" : "login-modal-tab-inactive"
|
|
26844
26848
|
]),
|
|
26845
26849
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleTabPanelChange("password"), ["stop"]))
|
|
26846
|
-
},
|
|
26850
|
+
}, [
|
|
26851
|
+
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.password")) + " ", 1),
|
|
26852
|
+
createElementVNode("div", _hoisted_24, [
|
|
26853
|
+
recentLoginType.value === unref(LoginMethodEnum).PASSWORD ? (openBlock(), createElementBlock("img", {
|
|
26854
|
+
key: 0,
|
|
26855
|
+
src: unref(recentLoginImg),
|
|
26856
|
+
class: "w-[50px] h-[20px]"
|
|
26857
|
+
}, null, 8, _hoisted_25)) : createCommentVNode("", true)
|
|
26858
|
+
])
|
|
26859
|
+
], 2)
|
|
26847
26860
|
]),
|
|
26848
|
-
createElementVNode("div",
|
|
26861
|
+
createElementVNode("div", _hoisted_26, [
|
|
26849
26862
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.noAccount")) + " ", 1),
|
|
26850
26863
|
createElementVNode("span", {
|
|
26851
26864
|
onClick: clickRegister,
|
|
@@ -26853,19 +26866,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26853
26866
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.registerAgain")), 1)
|
|
26854
26867
|
])
|
|
26855
26868
|
])) : createCommentVNode("", true),
|
|
26856
|
-
formType.value === "forget" ? (openBlock(), createElementBlock("div",
|
|
26857
|
-
formType.value === "register" ? (openBlock(), createElementBlock("div",
|
|
26858
|
-
createElementVNode("div",
|
|
26859
|
-
createElementVNode("div",
|
|
26860
|
-
createElementVNode("div",
|
|
26869
|
+
formType.value === "forget" ? (openBlock(), createElementBlock("div", _hoisted_27, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.bindMobileWithAccount")) + "/" + toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.resetYourPassword")), 1)) : createCommentVNode("", true),
|
|
26870
|
+
formType.value === "register" ? (openBlock(), createElementBlock("div", _hoisted_28, [
|
|
26871
|
+
createElementVNode("div", _hoisted_29, [
|
|
26872
|
+
createElementVNode("div", _hoisted_30, "🎉 " + toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.title.register")), 1),
|
|
26873
|
+
createElementVNode("div", _hoisted_31, [
|
|
26861
26874
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.haveAccount")) + " ", 1),
|
|
26862
26875
|
createElementVNode("span", {
|
|
26863
|
-
onClick: handleTitleBackClick,
|
|
26876
|
+
onClick: _cache[2] || (_cache[2] = ($event) => handleTitleBackClick("register")),
|
|
26864
26877
|
class: "text-[var(--theme-link)] cursor-pointer hover:underline"
|
|
26865
26878
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.backLogin")), 1)
|
|
26866
26879
|
])
|
|
26867
26880
|
]),
|
|
26868
|
-
createElementVNode("div",
|
|
26881
|
+
createElementVNode("div", _hoisted_32, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.registerDesc")), 1)
|
|
26869
26882
|
])) : createCommentVNode("", true),
|
|
26870
26883
|
(openBlock(), createBlock(unref(_sfc_main$a), {
|
|
26871
26884
|
key: formType.value,
|
|
@@ -26890,26 +26903,26 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26890
26903
|
submit: withCtx(() => {
|
|
26891
26904
|
var _a2;
|
|
26892
26905
|
return [
|
|
26893
|
-
formType.value === "login" ? (openBlock(), createElementBlock("div",
|
|
26894
|
-
createElementVNode("div",
|
|
26906
|
+
formType.value === "login" ? (openBlock(), createElementBlock("div", _hoisted_33, [
|
|
26907
|
+
createElementVNode("div", _hoisted_34, [
|
|
26895
26908
|
createTextVNode(toDisplayString$1(errorMsg.value) + " ", 1),
|
|
26896
26909
|
errForRemoteLogin.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
26897
26910
|
createTextVNode(toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.unusualLogin")), 1),
|
|
26898
26911
|
createElementVNode("span", {
|
|
26899
|
-
onClick: _cache[
|
|
26912
|
+
onClick: _cache[3] || (_cache[3] = ($event) => handleTabPanelChange("verifyCode")),
|
|
26900
26913
|
class: "login-modal-info-left__link"
|
|
26901
26914
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.smsLogin")), 1)
|
|
26902
26915
|
], 64)) : createCommentVNode("", true)
|
|
26903
26916
|
]),
|
|
26904
26917
|
withDirectives(createElementVNode("div", {
|
|
26905
26918
|
class: "login-modal-info-right",
|
|
26906
|
-
onClick: _cache[
|
|
26919
|
+
onClick: _cache[4] || (_cache[4] = withModifiers(($event) => formType.value = "forget", ["stop"]))
|
|
26907
26920
|
}, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.forgotPassword")), 513), [
|
|
26908
26921
|
[vShow, tabPanel.value === "password" && formType.value === "login"]
|
|
26909
26922
|
])
|
|
26910
26923
|
])) : createCommentVNode("", true),
|
|
26911
26924
|
formType.value === "login" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
26912
|
-
createElementVNode("div",
|
|
26925
|
+
createElementVNode("div", _hoisted_35, [
|
|
26913
26926
|
createVNode(unref(Button), {
|
|
26914
26927
|
color: "primary",
|
|
26915
26928
|
variant: "solid",
|
|
@@ -26927,39 +26940,39 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26927
26940
|
createElementVNode("div", {
|
|
26928
26941
|
class: normalizeClass([["login-modal-footer-args", AgreementWarn.value ? "shaking-box" : ""], "mt-[16px]"])
|
|
26929
26942
|
}, [
|
|
26930
|
-
createElementVNode("div",
|
|
26943
|
+
createElementVNode("div", _hoisted_36, [
|
|
26931
26944
|
createVNode(_sfc_main$8, {
|
|
26932
26945
|
modelValue: status.value,
|
|
26933
|
-
"onUpdate:modelValue": _cache[
|
|
26934
|
-
onDeclares: _cache[
|
|
26946
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => status.value = $event),
|
|
26947
|
+
onDeclares: _cache[6] || (_cache[6] = (typ) => handleDisplay(typ))
|
|
26935
26948
|
}, null, 8, ["modelValue"])
|
|
26936
26949
|
])
|
|
26937
26950
|
], 2),
|
|
26938
|
-
createElementVNode("div",
|
|
26951
|
+
createElementVNode("div", _hoisted_37, [
|
|
26939
26952
|
_ctx.openHarmonyGuide ? (openBlock(), createElementBlock("div", {
|
|
26940
26953
|
key: 0,
|
|
26941
26954
|
class: "text-[var(--theme-link)] flex items-center mt-[12px] cursor-pointer",
|
|
26942
26955
|
onClick: withModifiers(handleRegisterHarmony, ["stop"])
|
|
26943
26956
|
}, [
|
|
26944
|
-
createElementVNode("div",
|
|
26945
|
-
_cache[
|
|
26957
|
+
createElementVNode("div", _hoisted_38, [
|
|
26958
|
+
_cache[16] || (_cache[16] = createElementVNode("img", {
|
|
26946
26959
|
src: "https://cdn-static.gitcode.com/static/images/guide/openharmony.svg",
|
|
26947
26960
|
alt: "",
|
|
26948
26961
|
class: "w-[32px] h-[32px] inline-block harmony-icon-img"
|
|
26949
26962
|
}, null, -1)),
|
|
26950
|
-
createElementVNode("div",
|
|
26963
|
+
createElementVNode("div", _hoisted_39, [
|
|
26951
26964
|
recentLoginType.value === unref(LoginMethodEnum).HARMONY ? (openBlock(), createElementBlock("img", {
|
|
26952
26965
|
key: 0,
|
|
26953
26966
|
src: unref(recentLoginImg),
|
|
26954
26967
|
class: "w-[50px] h-[20px]"
|
|
26955
|
-
}, null, 8,
|
|
26968
|
+
}, null, 8, _hoisted_40)) : createCommentVNode("", true)
|
|
26956
26969
|
])
|
|
26957
26970
|
]),
|
|
26958
|
-
createElementVNode("span",
|
|
26971
|
+
createElementVNode("span", _hoisted_41, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.action.oh")), 1)
|
|
26959
26972
|
])) : createCommentVNode("", true)
|
|
26960
26973
|
])
|
|
26961
26974
|
]),
|
|
26962
|
-
createElementVNode("div",
|
|
26975
|
+
createElementVNode("div", _hoisted_42, [
|
|
26963
26976
|
createVNode(GAuth, {
|
|
26964
26977
|
logos,
|
|
26965
26978
|
onAuth: pcAuthLogin,
|
|
@@ -26968,33 +26981,33 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26968
26981
|
}, null, 8, ["logos", "recentLoginType"])
|
|
26969
26982
|
])
|
|
26970
26983
|
], 64)) : createCommentVNode("", true),
|
|
26971
|
-
formType.value === "register" || formType.value === "forget" ? (openBlock(), createElementBlock("div",
|
|
26984
|
+
formType.value === "register" || formType.value === "forget" ? (openBlock(), createElementBlock("div", _hoisted_43, [
|
|
26972
26985
|
createElementVNode("div", {
|
|
26973
26986
|
class: normalizeClass(["text-[var(--devui-danger)] text-[14px] break-all box-border leading-[20px] h-[40px]", formType.value === "register" ? "mt-[-8px]" : ((_a2 = formErrors == null ? void 0 : formErrors.username) == null ? void 0 : _a2.length) > 42 ? "cursor-pointer" : ""])
|
|
26974
26987
|
}, [
|
|
26975
|
-
createElementVNode("span",
|
|
26988
|
+
createElementVNode("span", _hoisted_44, toDisplayString$1(errorMsg.value), 1)
|
|
26976
26989
|
], 2),
|
|
26977
26990
|
createElementVNode("div", {
|
|
26978
26991
|
class: normalizeClass(["register-agree mt-[16px]", [AgreementWarn.value ? "shaking-box" : ""]])
|
|
26979
26992
|
}, [
|
|
26980
26993
|
createVNode(_sfc_main$7, {
|
|
26981
26994
|
modelValue: hwStatus.value,
|
|
26982
|
-
"onUpdate:modelValue": _cache[
|
|
26983
|
-
onDeclares: _cache[
|
|
26995
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => hwStatus.value = $event),
|
|
26996
|
+
onDeclares: _cache[8] || (_cache[8] = (typ) => handleDisplay(typ, "huawei")),
|
|
26984
26997
|
"agreement-text": `《${unref($t)("gitCodeLayout.LoginModal.link.huaweiCloudAgreement")}》`,
|
|
26985
26998
|
"privacy-text": `《${unref($t)("gitCodeLayout.LoginModal.link.agreementPrivacy")}》`,
|
|
26986
|
-
onClick: _cache[
|
|
26999
|
+
onClick: _cache[9] || (_cache[9] = ($event) => agreementReport("signup_select", `hw${hwStatus.value ? 1 : 0}`))
|
|
26987
27000
|
}, null, 8, ["modelValue", "agreement-text", "privacy-text"]),
|
|
26988
27001
|
createVNode(_sfc_main$7, {
|
|
26989
27002
|
modelValue: status.value,
|
|
26990
|
-
"onUpdate:modelValue": _cache[
|
|
26991
|
-
onDeclares: _cache[
|
|
27003
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => status.value = $event),
|
|
27004
|
+
onDeclares: _cache[11] || (_cache[11] = (typ) => handleDisplay(typ)),
|
|
26992
27005
|
"agreement-text": `《GitCode ${unref($t)("gitCodeLayout.LoginModal.link.agreement")}》`,
|
|
26993
27006
|
"privacy-text": `《GitCode ${unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")}》`,
|
|
26994
|
-
onClick: _cache[
|
|
27007
|
+
onClick: _cache[12] || (_cache[12] = ($event) => agreementReport("signup_select", `gitcode${status.value ? 1 : 0}`))
|
|
26995
27008
|
}, null, 8, ["modelValue", "agreement-text", "privacy-text"])
|
|
26996
27009
|
], 2),
|
|
26997
|
-
createElementVNode("div",
|
|
27010
|
+
createElementVNode("div", _hoisted_45, [
|
|
26998
27011
|
createVNode(unref(Button), {
|
|
26999
27012
|
color: "primary",
|
|
27000
27013
|
variant: "solid",
|
|
@@ -27048,9 +27061,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27048
27061
|
]), 1032, ["modelValue", "lock-scroll", "draggable", "escapable", "append-to-body", "class"]),
|
|
27049
27062
|
createVNode(_sfc_main$5, {
|
|
27050
27063
|
visible: showProtoCheck.value,
|
|
27051
|
-
"onUpdate:visible": _cache[
|
|
27064
|
+
"onUpdate:visible": _cache[14] || (_cache[14] = ($event) => showProtoCheck.value = $event),
|
|
27052
27065
|
onConfirm: agreeAndLogin,
|
|
27053
|
-
onDeclares: _cache[
|
|
27066
|
+
onDeclares: _cache[15] || (_cache[15] = (typ) => handleDisplay(typ))
|
|
27054
27067
|
}, null, 8, ["visible"])
|
|
27055
27068
|
], 64);
|
|
27056
27069
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, withCtx, reactive } from "vue";
|
|
2
|
-
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
2
|
+
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-Bis_nUz0.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import { x as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { x as useLayoutConfig, _ as _export_sfc } from "./index-Bis_nUz0.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
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-Bis_nUz0.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";
|