vue-layout-gitcode 1.12.15-beta.32 → 1.12.15-beta.33
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-JhPcQuPP.js → GloabarSearch-Bx4aEBUK.js} +3 -3
- package/{MenuItem-xjTXks21.js → MenuItem-DgImjPMi.js} +1 -1
- package/{ProjectMenuList-PVBwsQ3V.js → ProjectMenuList-CByElIbh.js} +2 -2
- package/{ProjectMenuListV2-uKWo48n2.js → ProjectMenuListV2-jZGL9aN8.js} +2 -2
- package/{ProjectSearch-DZb1ILv7.js → ProjectSearch-CbiwpNU3.js} +1 -1
- package/{SearchHistoryList-Dx6vjM_l.js → SearchHistoryList-CO5ZiMen.js} +1 -1
- package/{SearchRecommed-Drite9Jb.js → SearchRecommed-6g9Zv7vG.js} +2 -2
- package/{SearchScopeList-B1gB1V-V.js → SearchScopeList-D_6rL1xB.js} +1 -1
- package/{UserSearch-CBY4vKpo.js → UserSearch-CRb2A9th.js} +1 -1
- package/{index-CFBRjvqd.js → index-BiO3VN7s.js} +1 -1
- package/{index-6WqxtF8s.js → index-CUEBZ15G.js} +68 -23
- package/{index-e6PW7zQn.js → index-CUJhAT7q.js} +2 -2
- package/{index-v8B326P4.js → index-DyRgsnFE.js} +1 -1
- package/index.js +1 -1
- package/{notice-fUG6JsMT.js → notice-D-JmuFxf.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-V2qBaEdN.js → transWebUrl-Dd7HkL5v.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-CUEBZ15G.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-CUJhAT7q.js";
|
|
7
|
+
import "./transWebUrl-Dd7HkL5v.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, computed, ref, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createTextVNode, 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, b as REPO_EVENT, H as ASIDE_MENU_REPO, I as isHttps, J as navigateWithMigrationGuard, _ 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, b as REPO_EVENT, H as ASIDE_MENU_REPO, I as isHttps, J as navigateWithMigrationGuard, _ as _export_sfc } from "./index-CUEBZ15G.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, M as _sfc_main$1, N as loadAsideData, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, K as asideRequest, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, M as _sfc_main$1, N as loadAsideData, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, K as asideRequest, _ as _export_sfc } from "./index-CUEBZ15G.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-Dd7HkL5v.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, K as asideRequest, G as GIcon, J as navigateWithMigrationGuard, 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, K as asideRequest, G as GIcon, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-CUEBZ15G.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-Dd7HkL5v.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-CUEBZ15G.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-CUEBZ15G.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,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-CUJhAT7q.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-CUEBZ15G.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-CUEBZ15G.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-CUEBZ15G.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-project history-list-project--padded" };
|
|
@@ -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-CUEBZ15G.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:";
|
|
@@ -8018,6 +8018,7 @@ const gitCodeLayout$1 = {
|
|
|
8018
8018
|
validEmail: "或者有效的邮箱地址",
|
|
8019
8019
|
SMSVerificationCode: "请输入{count}位有效的短信验证码",
|
|
8020
8020
|
fillNecessaryInfo: "请输入有效的手机号码",
|
|
8021
|
+
fillValidEmail: "请输入有效的邮箱地址",
|
|
8021
8022
|
youNeeToAgr: "您需要同意",
|
|
8022
8023
|
toUseGit: "才能使用。",
|
|
8023
8024
|
ifYouDoNotAgrWe: "如果您不同意,很遗憾我们无法为您提供服务。",
|
|
@@ -8434,6 +8435,7 @@ const gitCodeLayout = {
|
|
|
8434
8435
|
validEmail: "Or a valid email address",
|
|
8435
8436
|
SMSVerificationCode: "Please enter a valid SMS verification code with {count} digits",
|
|
8436
8437
|
fillNecessaryInfo: "Please enter a valid mobile number",
|
|
8438
|
+
fillValidEmail: "Please enter a valid email",
|
|
8437
8439
|
youNeeToAgr: "You need to agree",
|
|
8438
8440
|
toUseGit: "to use GitCode.",
|
|
8439
8441
|
ifYouDoNotAgrWe: "If you do not agree, unfortunately, we cannot provide you with services.",
|
|
@@ -16647,12 +16649,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
16647
16649
|
setup(__props) {
|
|
16648
16650
|
const layoutConfig2 = useLayoutConfig();
|
|
16649
16651
|
const { t: $t } = i18n.global;
|
|
16650
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16651
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16652
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16653
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16654
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16655
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
16652
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CbiwpNU3.js"));
|
|
16653
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-CRb2A9th.js"));
|
|
16654
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Bx4aEBUK.js"));
|
|
16655
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CO5ZiMen.js"));
|
|
16656
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D_6rL1xB.js"));
|
|
16657
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-6g9Zv7vG.js"));
|
|
16656
16658
|
const props = __props;
|
|
16657
16659
|
const repoInfo = inject("repoInfo");
|
|
16658
16660
|
const orgInfo = inject("orgInfo");
|
|
@@ -17862,7 +17864,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17862
17864
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17863
17865
|
}
|
|
17864
17866
|
};
|
|
17865
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17867
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-D-JmuFxf.js"));
|
|
17866
17868
|
function clearNotice() {
|
|
17867
17869
|
if (localStorage$2.getItem("validator_email")) {
|
|
17868
17870
|
localStorage$2.removeItem("validator_email");
|
|
@@ -20389,9 +20391,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
20389
20391
|
const layoutConfig2 = useLayoutConfig();
|
|
20390
20392
|
const { t: t2 } = i18n.global;
|
|
20391
20393
|
const route = useRoute();
|
|
20392
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
20393
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
20394
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
20394
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-DgImjPMi.js"));
|
|
20395
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-jZGL9aN8.js"));
|
|
20396
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-CByElIbh.js"));
|
|
20395
20397
|
const props = __props;
|
|
20396
20398
|
const useReport2 = inject("useReport");
|
|
20397
20399
|
const userInfo = inject("userInfo");
|
|
@@ -26813,7 +26815,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
26813
26815
|
__publicField(_SlidCaptchaManager, "instance");
|
|
26814
26816
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
26815
26817
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
26816
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
26818
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BiO3VN7s.js"));
|
|
26817
26819
|
const useSlidCaptcha = () => {
|
|
26818
26820
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
26819
26821
|
const open = (config) => {
|
|
@@ -26843,7 +26845,7 @@ const useSlidCaptcha = () => {
|
|
|
26843
26845
|
close
|
|
26844
26846
|
};
|
|
26845
26847
|
};
|
|
26846
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
26848
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-DyRgsnFE.js"));
|
|
26847
26849
|
const useYunpianCaptcha = () => {
|
|
26848
26850
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
26849
26851
|
const open = (config) => {
|
|
@@ -27803,6 +27805,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27803
27805
|
}
|
|
27804
27806
|
]);
|
|
27805
27807
|
const forgetVerificationType = ref("phone");
|
|
27808
|
+
const forgetCodeButtonProps = reactive({
|
|
27809
|
+
countdown: false,
|
|
27810
|
+
second: 59,
|
|
27811
|
+
aliasKey: "mobile_email"
|
|
27812
|
+
});
|
|
27806
27813
|
const ForgetPasswordForm = computed(() => [
|
|
27807
27814
|
forgetVerificationType.value === "phone" ? {
|
|
27808
27815
|
type: "inputSelect",
|
|
@@ -27827,13 +27834,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27827
27834
|
required: true,
|
|
27828
27835
|
rules: [
|
|
27829
27836
|
{
|
|
27830
|
-
message: $t("gitCodeLayout.LoginModal.tips.
|
|
27837
|
+
message: $t("gitCodeLayout.LoginModal.tips.fillValidEmail"),
|
|
27831
27838
|
trigger: "change",
|
|
27832
27839
|
validator: (_rule, value, cb) => {
|
|
27833
27840
|
if (emailRegExp.test(value)) {
|
|
27834
27841
|
return cb();
|
|
27835
27842
|
}
|
|
27836
|
-
return cb(new Error($t("gitCodeLayout.LoginModal.tips.
|
|
27843
|
+
return cb(new Error($t("gitCodeLayout.LoginModal.tips.fillValidEmail")));
|
|
27837
27844
|
}
|
|
27838
27845
|
}
|
|
27839
27846
|
]
|
|
@@ -27844,11 +27851,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27844
27851
|
label: $t("gitCodeLayout.LoginModal.tips.verificationCode"),
|
|
27845
27852
|
required: true,
|
|
27846
27853
|
rules: FormRules.codes,
|
|
27847
|
-
props:
|
|
27848
|
-
countdown: false,
|
|
27849
|
-
second: 59,
|
|
27850
|
-
aliasKey: "mobile_email"
|
|
27851
|
-
}
|
|
27854
|
+
props: forgetCodeButtonProps
|
|
27852
27855
|
},
|
|
27853
27856
|
...VerifyPassword
|
|
27854
27857
|
]);
|
|
@@ -27858,6 +27861,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
27858
27861
|
const FormRef = shallowRef(null);
|
|
27859
27862
|
const tabPanel = ref("miniProgram");
|
|
27860
27863
|
const formType = ref(props.defaultType);
|
|
27864
|
+
let forgetSavedFormData = null;
|
|
27861
27865
|
const handleForgetVerificationTypeChange = (type) => {
|
|
27862
27866
|
if (forgetVerificationType.value === type) {
|
|
27863
27867
|
return;
|
|
@@ -28803,15 +28807,21 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28803
28807
|
watch(
|
|
28804
28808
|
() => [tabPanel.value, formType.value, forgetVerificationType.value],
|
|
28805
28809
|
(newVal, oldVal) => {
|
|
28810
|
+
var _a;
|
|
28806
28811
|
errForRemoteLogin.value = false;
|
|
28807
|
-
|
|
28812
|
+
const [tab, menu] = newVal;
|
|
28813
|
+
const [_, prev_menu] = oldVal;
|
|
28814
|
+
const isForgetTypeSwitch = menu === "forget" && prev_menu === "forget";
|
|
28815
|
+
if (isForgetTypeSwitch) {
|
|
28816
|
+
if ((_a = FormRef.value) == null ? void 0 : _a.Data) {
|
|
28817
|
+
forgetSavedFormData = { ...FormRef.value.Data };
|
|
28818
|
+
}
|
|
28819
|
+
} else if (FormRef.value) {
|
|
28808
28820
|
FormRef.value.ClearForm();
|
|
28809
28821
|
clearFormError();
|
|
28810
28822
|
disabled.value = true;
|
|
28811
28823
|
}
|
|
28812
|
-
|
|
28813
|
-
const [_, prev_menu] = oldVal;
|
|
28814
|
-
if (menu !== "register") {
|
|
28824
|
+
if (menu !== "register" && !isForgetTypeSwitch) {
|
|
28815
28825
|
if (interval) {
|
|
28816
28826
|
clearInterval(interval);
|
|
28817
28827
|
interval = null;
|
|
@@ -28824,6 +28834,41 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
28824
28834
|
}
|
|
28825
28835
|
}
|
|
28826
28836
|
refreshCountDown(tab, menu);
|
|
28837
|
+
if (isForgetTypeSwitch && interval) {
|
|
28838
|
+
const countdownItem = ForgetPasswordForm.value.find((item) => item.props);
|
|
28839
|
+
if ((countdownItem == null ? void 0 : countdownItem.props) && Object.prototype.hasOwnProperty.call(countdownItem.props, "countdown")) {
|
|
28840
|
+
countdownItem.props.second = cacheForm.countdownSecond;
|
|
28841
|
+
countdownItem.props.countdown = true;
|
|
28842
|
+
}
|
|
28843
|
+
}
|
|
28844
|
+
if (isForgetTypeSwitch && forgetSavedFormData) {
|
|
28845
|
+
nextTick(async () => {
|
|
28846
|
+
var _a2;
|
|
28847
|
+
const data = (_a2 = FormRef.value) == null ? void 0 : _a2.Data;
|
|
28848
|
+
if (data) {
|
|
28849
|
+
for (const key in forgetSavedFormData) {
|
|
28850
|
+
if (forgetSavedFormData[key]) {
|
|
28851
|
+
data[key] = forgetSavedFormData[key];
|
|
28852
|
+
}
|
|
28853
|
+
}
|
|
28854
|
+
disabled.value = ForgetPasswordForm.value.some((item) => item.required && !data[item.key]);
|
|
28855
|
+
clearFormError();
|
|
28856
|
+
const filledKeys = ForgetPasswordForm.value.map((item) => item.key).filter((key) => data[key]);
|
|
28857
|
+
if (filledKeys.length) {
|
|
28858
|
+
const res = await FormRef.value.ValidateFormKeys(filledKeys);
|
|
28859
|
+
if (res.type === "fail") {
|
|
28860
|
+
for (const key of Object.keys(res.errors)) {
|
|
28861
|
+
const messages = res.errors[key];
|
|
28862
|
+
if (messages == null ? void 0 : messages.length) {
|
|
28863
|
+
formErrors[key] = messages[0].message;
|
|
28864
|
+
}
|
|
28865
|
+
}
|
|
28866
|
+
}
|
|
28867
|
+
}
|
|
28868
|
+
}
|
|
28869
|
+
forgetSavedFormData = null;
|
|
28870
|
+
});
|
|
28871
|
+
}
|
|
28827
28872
|
}
|
|
28828
28873
|
);
|
|
28829
28874
|
function checkAgree() {
|
|
@@ -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-CUEBZ15G.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-Dd7HkL5v.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
|
|
|
8
8
|
import "vue-devui-lal/message/style.css";
|
|
9
9
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
10
10
|
import "vue-devui-lal/overlay/style.css";
|
|
11
|
-
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-CUEBZ15G.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a1, Y, $, Q, U, W, a4, a6, Z, X, P, S, V, a0, O, B, a7, a3, a5, a2 } from "./index-
|
|
1
|
+
import { a1, Y, $, Q, U, W, a4, a6, Z, X, P, S, V, a0, O, B, a7, a3, a5, a2 } from "./index-CUEBZ15G.js";
|
|
2
2
|
export {
|
|
3
3
|
a1 as AsideFooterTools,
|
|
4
4
|
Y as AtomCodeLauncher,
|
|
@@ -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, _ as _export_sfc } from "./index-
|
|
2
|
+
import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-CUEBZ15G.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