@keyblade/pro-components 1.15.0-alpha.15 → 1.15.0-alpha.16
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/es/components.d.ts +1 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +53 -47
- package/es/inerface.d.ts +1 -0
- package/es/pro-appeal/appeal-step.vue.d.ts +228 -0
- package/es/pro-appeal/appeal-step.vue.js +424 -0
- package/es/pro-appeal/appeal-step.vue3.js +5 -0
- package/es/pro-appeal/assets/idCardImg.png.js +4 -0
- package/es/pro-appeal/enum.d.ts +28 -0
- package/es/pro-appeal/enum.js +12 -0
- package/es/pro-appeal/index.d.ts +11 -0
- package/es/pro-appeal/index.js +11 -0
- package/es/pro-appeal/index.vue.d.ts +43 -0
- package/es/pro-appeal/index.vue.js +172 -0
- package/es/pro-appeal/index.vue3.js +5 -0
- package/es/pro-appeal/interface.d.ts +48 -0
- package/es/pro-appeal/query-progress.vue.d.ts +222 -0
- package/es/pro-appeal/query-progress.vue.js +175 -0
- package/es/pro-appeal/query-progress.vue3.js +5 -0
- package/es/pro-find-password/index.vue.d.ts +2380 -2281
- package/es/pro-find-password/index.vue.js +64 -56
- package/es/pro-find-password/reset-password.vue.d.ts +209 -1
- package/es/pro-find-password/reset-password.vue.js +76 -73
- package/es/pro-login/auth-verify.vue.d.ts +780 -3
- package/es/pro-login/interface.d.ts +2 -2
- package/es/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Card as
|
|
3
|
-
import { EFindPasswordSteps as
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as U, useSlots as h, ref as p, computed as z, onBeforeUnmount as j, watch as q, createBlock as S, openBlock as d, unref as t, mergeProps as k, withCtx as o, renderSlot as l, createVNode as s, createCommentVNode as $, createElementBlock as B, createTextVNode as c, createSlots as T, normalizeClass as v, normalizeProps as E, guardReactiveProps as V, createElementVNode as A, toDisplayString as G } from "vue";
|
|
2
|
+
import { Card as H, Space as J, Steps as K, Step as b, Form as M, FormItem as F, Button as O } from "@arco-design/web-vue";
|
|
3
|
+
import { EFindPasswordSteps as N } from "./enum.js";
|
|
4
|
+
import Q from "./verify-user-name.vue.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import
|
|
7
|
-
const
|
|
6
|
+
import W from "./reset-password.vue.js";
|
|
7
|
+
const X = { key: 1 }, u = "keyblade-find-password", oe = /* @__PURE__ */ U({
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: {
|
|
10
10
|
current: { default: 1 },
|
|
@@ -27,70 +27,70 @@ const W = { key: 1 }, l = "keyblade-find-password", oe = /* @__PURE__ */ L({
|
|
|
27
27
|
"update:current": {}
|
|
28
28
|
},
|
|
29
29
|
emits: ["send-sms-code", "update:current", "next", "entry"],
|
|
30
|
-
setup(
|
|
31
|
-
const n =
|
|
30
|
+
setup(_, { expose: D, emit: L }) {
|
|
31
|
+
const n = _, a = L, y = h(), g = p(), R = p(), w = z(() => ({
|
|
32
32
|
inputProps: n.inputProps,
|
|
33
33
|
formItemProps: n.formItemProps,
|
|
34
34
|
loading: n.loading,
|
|
35
|
-
prefixClsName:
|
|
35
|
+
prefixClsName: u
|
|
36
36
|
})), i = z({
|
|
37
37
|
get: () => n.current,
|
|
38
|
-
set: (e) =>
|
|
38
|
+
set: (e) => a("update:current", e)
|
|
39
39
|
}), m = p(), f = p(4);
|
|
40
|
-
|
|
40
|
+
j(() => {
|
|
41
41
|
m.value && I();
|
|
42
42
|
});
|
|
43
43
|
const C = (e) => {
|
|
44
|
-
n.current >= 3 ||
|
|
44
|
+
n.current >= 3 || a("next", n.current + 1, e);
|
|
45
45
|
}, I = () => {
|
|
46
46
|
f.value = 4, clearInterval(m.value), m.value = void 0;
|
|
47
47
|
};
|
|
48
|
-
return
|
|
48
|
+
return q(() => n.current, (e) => {
|
|
49
49
|
e >= 3 && (m.value = setInterval(() => {
|
|
50
|
-
f.value > 0 ? f.value-- : (I(),
|
|
50
|
+
f.value > 0 ? f.value-- : (I(), a("entry"));
|
|
51
51
|
}, 1e3));
|
|
52
|
-
}),
|
|
52
|
+
}), D({
|
|
53
53
|
get resetTime() {
|
|
54
|
-
var e,
|
|
55
|
-
return (
|
|
54
|
+
var e, r;
|
|
55
|
+
return (r = (e = g.value) == null ? void 0 : e.resetTime) != null ? r : (() => {
|
|
56
56
|
});
|
|
57
57
|
},
|
|
58
58
|
get resetRef() {
|
|
59
59
|
var e;
|
|
60
|
-
return (e =
|
|
60
|
+
return (e = g.value) == null ? void 0 : e.formRef;
|
|
61
61
|
},
|
|
62
62
|
get verifyRef() {
|
|
63
63
|
var e;
|
|
64
64
|
return (e = R.value) == null ? void 0 : e.formRef;
|
|
65
65
|
}
|
|
66
|
-
}), (e,
|
|
66
|
+
}), (e, r) => (d(), S(t(H), k({ class: u }, e.cardProps), {
|
|
67
67
|
default: o(() => [
|
|
68
|
-
|
|
69
|
-
s(
|
|
68
|
+
l(e.$slots, "header"),
|
|
69
|
+
s(t(J), {
|
|
70
70
|
direction: "vertical",
|
|
71
71
|
fill: "",
|
|
72
72
|
size: "large"
|
|
73
73
|
}, {
|
|
74
74
|
default: o(() => [
|
|
75
|
-
s(
|
|
75
|
+
s(t(K), {
|
|
76
76
|
current: i.value,
|
|
77
77
|
"label-placement": "vertical"
|
|
78
78
|
}, {
|
|
79
79
|
default: o(() => [
|
|
80
|
-
s(
|
|
81
|
-
default: o(() =>
|
|
80
|
+
s(t(b), null, {
|
|
81
|
+
default: o(() => r[2] || (r[2] = [
|
|
82
82
|
c("验证用户名")
|
|
83
83
|
])),
|
|
84
84
|
_: 1
|
|
85
85
|
}),
|
|
86
|
-
s(
|
|
87
|
-
default: o(() =>
|
|
86
|
+
s(t(b), null, {
|
|
87
|
+
default: o(() => r[3] || (r[3] = [
|
|
88
88
|
c("重置密码")
|
|
89
89
|
])),
|
|
90
90
|
_: 1
|
|
91
91
|
}),
|
|
92
|
-
s(
|
|
93
|
-
default: o(() =>
|
|
92
|
+
s(t(b), null, {
|
|
93
|
+
default: o(() => r[4] || (r[4] = [
|
|
94
94
|
c("完成")
|
|
95
95
|
])),
|
|
96
96
|
_: 1
|
|
@@ -98,59 +98,67 @@ const W = { key: 1 }, l = "keyblade-find-password", oe = /* @__PURE__ */ L({
|
|
|
98
98
|
]),
|
|
99
99
|
_: 1
|
|
100
100
|
}, 8, ["current"]),
|
|
101
|
-
|
|
102
|
-
i.value ===
|
|
101
|
+
l(e.$slots, "content"),
|
|
102
|
+
i.value === t(N).verify ? (d(), S(Q, k({ key: 0 }, w.value, {
|
|
103
103
|
ref_key: "verifyRef",
|
|
104
104
|
ref: R,
|
|
105
105
|
onSubmit: C
|
|
106
|
-
}),
|
|
107
|
-
|
|
106
|
+
}), T({ _: 2 }, [
|
|
107
|
+
t(y)["verify-code"] ? {
|
|
108
108
|
name: "verify-code",
|
|
109
109
|
fn: o(() => [
|
|
110
|
-
|
|
110
|
+
l(e.$slots, "verify-code")
|
|
111
111
|
]),
|
|
112
112
|
key: "0"
|
|
113
113
|
} : void 0
|
|
114
|
-
]), 1040)) :
|
|
115
|
-
i.value ===
|
|
114
|
+
]), 1040)) : $("", !0),
|
|
115
|
+
i.value === t(N).reset ? (d(), S(W, k({ key: 1 }, w.value, {
|
|
116
116
|
ref_key: "resetRef",
|
|
117
|
-
ref:
|
|
117
|
+
ref: g,
|
|
118
118
|
countdown: e.countdown,
|
|
119
119
|
"phone-num": e.phoneNum,
|
|
120
|
-
onSendSmsCode:
|
|
120
|
+
onSendSmsCode: r[0] || (r[0] = () => a("send-sms-code")),
|
|
121
121
|
onSubmit: C
|
|
122
|
-
}),
|
|
123
|
-
|
|
122
|
+
}), T({ _: 2 }, [
|
|
123
|
+
t(y).appeal ? {
|
|
124
|
+
name: "appeal",
|
|
125
|
+
fn: o(() => [
|
|
126
|
+
l(e.$slots, "appeal")
|
|
127
|
+
]),
|
|
128
|
+
key: "0"
|
|
129
|
+
} : void 0
|
|
130
|
+
]), 1040, ["countdown", "phone-num"])) : $("", !0),
|
|
131
|
+
i.value === t(N).succeed ? (d(), B("div", {
|
|
124
132
|
key: 2,
|
|
125
|
-
class: v(`${
|
|
133
|
+
class: v(`${u}-succeed`)
|
|
126
134
|
}, [
|
|
127
|
-
|
|
128
|
-
s(
|
|
135
|
+
t(y).succeed ? l(e.$slots, "succeed", { key: 0 }) : (d(), B("div", X, [
|
|
136
|
+
s(t(M), {
|
|
129
137
|
model: {},
|
|
130
|
-
class: v(`${
|
|
131
|
-
onSubmit:
|
|
138
|
+
class: v(`${u}-succeed`),
|
|
139
|
+
onSubmit: r[1] || (r[1] = (P) => a("entry"))
|
|
132
140
|
}, {
|
|
133
141
|
default: o(() => [
|
|
134
|
-
s(
|
|
142
|
+
s(t(F), E(V(e.formItemProps)), {
|
|
135
143
|
default: o(() => [
|
|
136
|
-
|
|
137
|
-
class: v(`${
|
|
138
|
-
}, " 重置密码成功," +
|
|
144
|
+
A("div", {
|
|
145
|
+
class: v(`${u}-succeed-message`)
|
|
146
|
+
}, " 重置密码成功," + G(f.value) + "秒后自动返回 ", 3)
|
|
139
147
|
]),
|
|
140
148
|
_: 1
|
|
141
149
|
}, 16),
|
|
142
|
-
s(
|
|
150
|
+
s(t(F), E(V(e.formItemProps)), {
|
|
143
151
|
default: o(() => {
|
|
144
|
-
var
|
|
152
|
+
var P;
|
|
145
153
|
return [
|
|
146
|
-
s(
|
|
154
|
+
s(t(O), {
|
|
147
155
|
type: "primary",
|
|
148
156
|
long: "",
|
|
149
157
|
"html-type": "submit",
|
|
150
|
-
size: (
|
|
151
|
-
class: v(`${
|
|
158
|
+
size: (P = e.inputProps) == null ? void 0 : P.size,
|
|
159
|
+
class: v(`${u}-succeed-submit`)
|
|
152
160
|
}, {
|
|
153
|
-
default: o(() =>
|
|
161
|
+
default: o(() => r[5] || (r[5] = [
|
|
154
162
|
c(" 确认 ")
|
|
155
163
|
])),
|
|
156
164
|
_: 1
|
|
@@ -163,11 +171,11 @@ const W = { key: 1 }, l = "keyblade-find-password", oe = /* @__PURE__ */ L({
|
|
|
163
171
|
_: 1
|
|
164
172
|
}, 8, ["class"])
|
|
165
173
|
]))
|
|
166
|
-
], 2)) :
|
|
174
|
+
], 2)) : $("", !0)
|
|
167
175
|
]),
|
|
168
176
|
_: 3
|
|
169
177
|
}),
|
|
170
|
-
|
|
178
|
+
l(e.$slots, "footer")
|
|
171
179
|
]),
|
|
172
180
|
_: 3
|
|
173
181
|
}, 16));
|
|
@@ -1,5 +1,207 @@
|
|
|
1
1
|
import { IFindPasswordReset, ResetPasswordFormField } from './interface';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
appeal?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
formRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
model: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
layout: {
|
|
14
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
19
|
+
};
|
|
20
|
+
labelColProps: {
|
|
21
|
+
type: ObjectConstructor;
|
|
22
|
+
default: () => {
|
|
23
|
+
span: number;
|
|
24
|
+
offset: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
wrapperColProps: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
default: () => {
|
|
30
|
+
span: number;
|
|
31
|
+
offset: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
labelColStyle: ObjectConstructor;
|
|
35
|
+
wrapperColStyle: ObjectConstructor;
|
|
36
|
+
labelAlign: {
|
|
37
|
+
type: import('vue').PropType<"left" | "right">;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
disabled: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
rules: {
|
|
45
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
46
|
+
};
|
|
47
|
+
autoLabelWidth: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
id: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
};
|
|
54
|
+
scrollToFirstError: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{
|
|
59
|
+
onSubmit?: ((data: {
|
|
60
|
+
values: Record<string, any>;
|
|
61
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
62
|
+
}, ev: Event) => any) | undefined;
|
|
63
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
64
|
+
onSubmitFailed?: ((data: {
|
|
65
|
+
values: Record<string, any>;
|
|
66
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
67
|
+
}, ev: Event) => any) | undefined;
|
|
68
|
+
}>, {
|
|
69
|
+
cls: import('vue').ComputedRef<(string | {
|
|
70
|
+
[x: string]: boolean;
|
|
71
|
+
})[]>;
|
|
72
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
73
|
+
handleSubmit: (e: Event) => void;
|
|
74
|
+
innerValidate: (callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
75
|
+
innerValidateField: (field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
76
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
77
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
78
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
79
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
80
|
+
}, {}, {}, {
|
|
81
|
+
validate(callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
82
|
+
validateField(field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
83
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
84
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
85
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
86
|
+
scrollToField(field: string): void;
|
|
87
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
88
|
+
submit: (data: {
|
|
89
|
+
values: Record<string, any>;
|
|
90
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
91
|
+
}, ev: Event) => true;
|
|
92
|
+
submitSuccess: (values: Record<string, any>, ev: Event) => true;
|
|
93
|
+
submitFailed: (data: {
|
|
94
|
+
values: Record<string, any>;
|
|
95
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
96
|
+
}, ev: Event) => true;
|
|
97
|
+
}, import('vue').PublicProps, {
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
100
|
+
labelColProps: Record<string, any>;
|
|
101
|
+
wrapperColProps: Record<string, any>;
|
|
102
|
+
labelAlign: "left" | "right";
|
|
103
|
+
autoLabelWidth: boolean;
|
|
104
|
+
scrollToFirstError: boolean;
|
|
105
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
106
|
+
P: {};
|
|
107
|
+
B: {};
|
|
108
|
+
D: {};
|
|
109
|
+
C: {};
|
|
110
|
+
M: {};
|
|
111
|
+
Defaults: {};
|
|
112
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
113
|
+
model: {
|
|
114
|
+
type: ObjectConstructor;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
layout: {
|
|
118
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
size: {
|
|
122
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
123
|
+
};
|
|
124
|
+
labelColProps: {
|
|
125
|
+
type: ObjectConstructor;
|
|
126
|
+
default: () => {
|
|
127
|
+
span: number;
|
|
128
|
+
offset: number;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
wrapperColProps: {
|
|
132
|
+
type: ObjectConstructor;
|
|
133
|
+
default: () => {
|
|
134
|
+
span: number;
|
|
135
|
+
offset: number;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
labelColStyle: ObjectConstructor;
|
|
139
|
+
wrapperColStyle: ObjectConstructor;
|
|
140
|
+
labelAlign: {
|
|
141
|
+
type: import('vue').PropType<"left" | "right">;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
disabled: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
rules: {
|
|
149
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
150
|
+
};
|
|
151
|
+
autoLabelWidth: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
id: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
};
|
|
158
|
+
scrollToFirstError: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
}>> & Readonly<{
|
|
163
|
+
onSubmit?: ((data: {
|
|
164
|
+
values: Record<string, any>;
|
|
165
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
166
|
+
}, ev: Event) => any) | undefined;
|
|
167
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
168
|
+
onSubmitFailed?: ((data: {
|
|
169
|
+
values: Record<string, any>;
|
|
170
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
171
|
+
}, ev: Event) => any) | undefined;
|
|
172
|
+
}>, {
|
|
173
|
+
cls: import('vue').ComputedRef<(string | {
|
|
174
|
+
[x: string]: boolean;
|
|
175
|
+
})[]>;
|
|
176
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
177
|
+
handleSubmit: (e: Event) => void;
|
|
178
|
+
innerValidate: (callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
179
|
+
innerValidateField: (field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
180
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
181
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
182
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
183
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
184
|
+
}, {}, {}, {
|
|
185
|
+
validate(callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
186
|
+
validateField(field: string | string[], callback?: ((errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined) => void) | undefined): Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
187
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
188
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
189
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
190
|
+
scrollToField(field: string): void;
|
|
191
|
+
}, {
|
|
192
|
+
disabled: boolean;
|
|
193
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
194
|
+
labelColProps: Record<string, any>;
|
|
195
|
+
wrapperColProps: Record<string, any>;
|
|
196
|
+
labelAlign: "left" | "right";
|
|
197
|
+
autoLabelWidth: boolean;
|
|
198
|
+
scrollToFirstError: boolean;
|
|
199
|
+
}> | null;
|
|
200
|
+
};
|
|
201
|
+
rootEl: any;
|
|
202
|
+
};
|
|
203
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
204
|
+
declare const __VLS_component: import('vue').DefineComponent<IFindPasswordReset, {
|
|
3
205
|
formRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
206
|
model: {
|
|
5
207
|
type: ObjectConstructor;
|
|
@@ -588,4 +790,10 @@ declare const _default: import('vue').DefineComponent<IFindPasswordReset, {
|
|
|
588
790
|
scrollToFirstError: boolean;
|
|
589
791
|
}> | null;
|
|
590
792
|
}, any>;
|
|
793
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
591
794
|
export default _default;
|
|
795
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
796
|
+
new (): {
|
|
797
|
+
$slots: S;
|
|
798
|
+
};
|
|
799
|
+
};
|