@keyblade/pro-components 1.13.8-alpha.34 → 1.13.8-alpha.36
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 +2 -0
- package/es/global-props.d.ts +12 -6
- package/es/index.d.ts +2 -0
- package/es/index.js +46 -38
- package/es/inerface.d.ts +4 -2
- package/es/pro-calendar/calendar.vue.d.ts +4 -4
- package/es/pro-calendar/header.vue.d.ts +1 -1
- package/es/pro-calendar/index.d.ts +21 -21
- package/es/pro-calendar/month.vue.d.ts +1 -1
- package/es/pro-calendar/week.vue.d.ts +1 -1
- package/es/pro-calendar/year.vue.d.ts +1 -1
- package/es/pro-date-range-picker/index.d.ts +12 -11
- package/es/pro-date-range-picker/pro-date-range-picker.vue.d.ts +3 -2
- package/es/pro-date-range-picker/pro-date-range-picker.vue.js +2 -2
- package/es/pro-date-range-picker/pro-date-range-picker.vue2.js +68 -64
- package/es/pro-dates-picker/index.d.ts +6 -6
- package/es/pro-dates-picker/index.vue.d.ts +2 -2
- package/es/pro-find-password/enum.d.ts +8 -0
- package/es/pro-find-password/enum.js +4 -0
- package/es/pro-find-password/index.d.ts +9 -0
- package/es/pro-find-password/index.js +12 -0
- package/es/pro-find-password/index.vue.d.ts +3695 -0
- package/es/pro-find-password/index.vue.js +178 -0
- package/es/pro-find-password/index.vue3.js +5 -0
- package/es/pro-find-password/interface.d.ts +45 -0
- package/es/pro-find-password/reset-password.vue.d.ts +400 -0
- package/es/pro-find-password/reset-password.vue.js +181 -0
- package/es/pro-find-password/reset-password.vue2.js +4 -0
- package/es/pro-find-password/verify-user-name.vue.d.ts +413 -0
- package/es/pro-find-password/verify-user-name.vue.js +114 -0
- package/es/pro-find-password/verify-user-name.vue3.js +5 -0
- package/es/pro-footer-bar/index.d.ts +3 -3
- package/es/pro-footer-bar/index.vue.d.ts +1 -1
- package/es/pro-footer-bar/index.vue.js +2 -2
- package/es/pro-form-group/index.d.ts +6 -6
- package/es/pro-form-group/index.vue.d.ts +2 -2
- package/es/pro-form-group/index.vue.js +1 -1
- package/es/pro-image-upload/image-upload.vue.d.ts +1 -1
- package/es/pro-image-upload/index.d.ts +3 -3
- package/es/pro-layout/index.d.ts +5 -3
- package/es/pro-layout/pro-layout.vue.d.ts +3 -1
- package/es/pro-layout/pro-layout.vue.js +92 -89
- package/es/pro-loader/index.d.ts +3 -3
- package/es/pro-loader/index.vue.d.ts +1 -1
- package/es/pro-login/enum.d.ts +6 -0
- package/es/pro-login/enum.js +4 -0
- package/es/pro-login/form-mobile.vue.d.ts +415 -0
- package/es/pro-login/form-mobile.vue.js +148 -0
- package/es/pro-login/form-mobile.vue2.js +4 -0
- package/es/pro-login/form-password.vue.d.ts +393 -0
- package/es/pro-login/form-password.vue.js +101 -0
- package/es/pro-login/form-password.vue2.js +4 -0
- package/es/pro-login/index.d.ts +9 -0
- package/es/pro-login/index.js +12 -0
- package/es/pro-login/index.vue.d.ts +3665 -0
- package/es/pro-login/index.vue.js +107 -0
- package/es/pro-login/index.vue3.js +5 -0
- package/es/pro-login/interface.d.ts +72 -0
- package/es/pro-login/regexp.d.ts +17 -0
- package/es/pro-login/regexp.js +28 -0
- package/es/pro-page-container/constant.d.ts +2 -0
- package/es/pro-page-container/constant.js +9 -0
- package/es/pro-page-container/index.d.ts +6 -33
- package/es/pro-page-container/interface.d.ts +12 -0
- package/es/pro-page-container/pro-page-container.vue.d.ts +4 -19
- package/es/pro-page-container/pro-page-container.vue.js +51 -38
- package/es/pro-page-header/constant.d.ts +2 -0
- package/es/pro-page-header/constant.js +13 -0
- package/es/pro-page-header/index.d.ts +3 -153
- package/es/pro-page-header/interface.d.ts +21 -0
- package/es/pro-page-header/pro-page-header.vue.d.ts +2 -105
- package/es/pro-page-header/pro-page-header.vue.js +140 -126
- package/es/pro-reuse-tabs/index.d.ts +3 -3
- package/es/pro-reuse-tabs/pro-reuse-tabs.vue.d.ts +1 -1
- package/es/pro-table/index.d.ts +9 -9
- package/es/pro-table/index.vue.d.ts +3 -3
- package/es/pro-textarea/index.d.ts +4 -4
- package/es/pro-textarea/index.vue.d.ts +1 -1
- package/es/pro-textarea/index.vue.js +2 -2
- package/es/pro-textarea/{inerface.d.ts → interface.d.ts} +19 -18
- package/es/style.css +1 -1
- package/package.json +2 -1
- package/es/pro-page-container/inerface.d.ts +0 -12
- /package/es/pro-calendar/{inerface.d.ts → interface.d.ts} +0 -0
- /package/es/pro-date-range-picker/{inerface.d.ts → interface.d.ts} +0 -0
- /package/es/pro-dates-picker/{inerface.d.ts → interface.d.ts} +0 -0
- /package/es/pro-footer-bar/{inerface.d.ts → interface.d.ts} +0 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { defineComponent as U, ref as i, onBeforeUnmount as q, resolveComponent as m, createBlock as V, openBlock as g, normalizeClass as f, withCtx as s, createVNode as t, mergeProps as n, createElementBlock as R, createTextVNode as N, toDisplayString as T, normalizeProps as E, guardReactiveProps as _ } from "vue";
|
|
2
|
+
import { regexp as x, message as D } from "../pro-login/regexp.js";
|
|
3
|
+
const j = /* @__PURE__ */ U({
|
|
4
|
+
__name: "reset-password",
|
|
5
|
+
props: {
|
|
6
|
+
current: {},
|
|
7
|
+
phoneNum: {},
|
|
8
|
+
inputProps: { default: () => ({
|
|
9
|
+
size: "large"
|
|
10
|
+
}) },
|
|
11
|
+
countdown: { default: 60 },
|
|
12
|
+
formItemProps: { default: () => ({
|
|
13
|
+
hideLabel: !0,
|
|
14
|
+
validateTrigger: []
|
|
15
|
+
}) },
|
|
16
|
+
onNext: {},
|
|
17
|
+
onSendSmsCode: {},
|
|
18
|
+
onEntry: {},
|
|
19
|
+
"update:current": {},
|
|
20
|
+
prefixClsName: {}
|
|
21
|
+
},
|
|
22
|
+
emits: ["submit", "send-sms-code"],
|
|
23
|
+
setup(y, { expose: h, emit: k }) {
|
|
24
|
+
const v = y, S = {
|
|
25
|
+
password: [{
|
|
26
|
+
required: !0,
|
|
27
|
+
message: "请输入新密码"
|
|
28
|
+
}, {
|
|
29
|
+
validator: (o, e) => {
|
|
30
|
+
x.password.test(o) || e(D.password);
|
|
31
|
+
}
|
|
32
|
+
}],
|
|
33
|
+
again: [{
|
|
34
|
+
required: !0,
|
|
35
|
+
message: "请再次输入新密码"
|
|
36
|
+
}, {
|
|
37
|
+
validator: (o, e) => {
|
|
38
|
+
l.value.password !== o && e("两次输入的密码不同");
|
|
39
|
+
}
|
|
40
|
+
}],
|
|
41
|
+
captcha: [{
|
|
42
|
+
required: !0,
|
|
43
|
+
message: "请输入验证码"
|
|
44
|
+
}]
|
|
45
|
+
}, d = i(), l = i({
|
|
46
|
+
password: "",
|
|
47
|
+
again: "",
|
|
48
|
+
captcha: ""
|
|
49
|
+
}), u = i(), r = i(v.countdown), P = k;
|
|
50
|
+
q(() => {
|
|
51
|
+
u.value && w();
|
|
52
|
+
});
|
|
53
|
+
const $ = () => {
|
|
54
|
+
P("submit", l.value);
|
|
55
|
+
}, c = (o) => {
|
|
56
|
+
var e;
|
|
57
|
+
(e = d.value) == null || e.clearValidate(o);
|
|
58
|
+
}, w = () => {
|
|
59
|
+
r.value = v.countdown, clearInterval(u.value), u.value = void 0;
|
|
60
|
+
}, z = () => {
|
|
61
|
+
var o;
|
|
62
|
+
(o = d.value) == null || o.validateField("mobile", (e) => {
|
|
63
|
+
if (!e && r.value >= 60) {
|
|
64
|
+
if (u.value)
|
|
65
|
+
return;
|
|
66
|
+
P("send-sms-code"), r.value--, u.value = setInterval(() => {
|
|
67
|
+
r.value > 0 ? r.value-- : w();
|
|
68
|
+
}, 1e3);
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
return h({
|
|
73
|
+
formRef: d,
|
|
74
|
+
resetTime: w
|
|
75
|
+
}), (o, e) => {
|
|
76
|
+
const b = m("a-input"), p = m("a-form-item"), C = m("a-button"), I = m("a-input-password"), B = m("a-form");
|
|
77
|
+
return g(), V(B, {
|
|
78
|
+
ref_key: "formRef",
|
|
79
|
+
ref: d,
|
|
80
|
+
model: l.value,
|
|
81
|
+
rules: S,
|
|
82
|
+
class: f(`${o.prefixClsName}-reset-password`),
|
|
83
|
+
onSubmitSuccess: $
|
|
84
|
+
}, {
|
|
85
|
+
default: s(() => [
|
|
86
|
+
t(p, n({ field: "phoneNum" }, o.formItemProps), {
|
|
87
|
+
default: s(() => [
|
|
88
|
+
t(b, n(o.inputProps, {
|
|
89
|
+
"default-value": o.phoneNum,
|
|
90
|
+
"max-length": 16,
|
|
91
|
+
disabled: ""
|
|
92
|
+
}), null, 16, ["default-value"])
|
|
93
|
+
]),
|
|
94
|
+
_: 1
|
|
95
|
+
}, 16),
|
|
96
|
+
t(p, n({ field: "captcha" }, o.formItemProps), {
|
|
97
|
+
default: s(() => [
|
|
98
|
+
t(b, n(o.inputProps, {
|
|
99
|
+
modelValue: l.value.captcha,
|
|
100
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => l.value.captcha = a),
|
|
101
|
+
"max-length": 6,
|
|
102
|
+
placeholder: "请输入短信验证码",
|
|
103
|
+
autocomplete: "off",
|
|
104
|
+
onInput: e[1] || (e[1] = (a) => c("captcha"))
|
|
105
|
+
}), {
|
|
106
|
+
append: s(() => [
|
|
107
|
+
r.value >= v.countdown ? (g(), V(C, {
|
|
108
|
+
key: 0,
|
|
109
|
+
type: "outline",
|
|
110
|
+
class: f(`${o.prefixClsName}-mobile-send-code`),
|
|
111
|
+
onClick: z
|
|
112
|
+
}, {
|
|
113
|
+
default: s(() => e[6] || (e[6] = [
|
|
114
|
+
N(" 获取短信验证码 ")
|
|
115
|
+
])),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["class"])) : (g(), R("div", {
|
|
118
|
+
key: 1,
|
|
119
|
+
class: f(`${o.prefixClsName}-mobile-time`)
|
|
120
|
+
}, T(r.value) + "秒后可重新发送 ", 3))
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 16, ["modelValue"])
|
|
124
|
+
]),
|
|
125
|
+
_: 1
|
|
126
|
+
}, 16),
|
|
127
|
+
t(p, n({ field: "password" }, o.formItemProps), {
|
|
128
|
+
default: s(() => [
|
|
129
|
+
t(I, n(o.inputProps, {
|
|
130
|
+
modelValue: l.value.password,
|
|
131
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => l.value.password = a),
|
|
132
|
+
"max-length": 32,
|
|
133
|
+
placeholder: "请输入您新的登录密码",
|
|
134
|
+
autocomplete: "new-password",
|
|
135
|
+
onInput: e[3] || (e[3] = (a) => c("password"))
|
|
136
|
+
}), null, 16, ["modelValue"])
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
}, 16),
|
|
140
|
+
t(p, n({ field: "again" }, o.formItemProps), {
|
|
141
|
+
default: s(() => [
|
|
142
|
+
t(I, n(o.inputProps, {
|
|
143
|
+
modelValue: l.value.again,
|
|
144
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => l.value.again = a),
|
|
145
|
+
"max-length": 32,
|
|
146
|
+
placeholder: "请再次输入您新的登录密码",
|
|
147
|
+
autocomplete: "new-password",
|
|
148
|
+
onInput: e[5] || (e[5] = (a) => c("again"))
|
|
149
|
+
}), null, 16, ["modelValue"])
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
}, 16),
|
|
153
|
+
t(p, E(_(o.formItemProps)), {
|
|
154
|
+
default: s(() => {
|
|
155
|
+
var a;
|
|
156
|
+
return [
|
|
157
|
+
t(C, {
|
|
158
|
+
type: "primary",
|
|
159
|
+
long: "",
|
|
160
|
+
"html-type": "submit",
|
|
161
|
+
size: (a = o.inputProps) == null ? void 0 : a.size,
|
|
162
|
+
class: f(`${o.prefixClsName}-reset-password-submit`)
|
|
163
|
+
}, {
|
|
164
|
+
default: s(() => e[7] || (e[7] = [
|
|
165
|
+
N(" 确认 ")
|
|
166
|
+
])),
|
|
167
|
+
_: 1
|
|
168
|
+
}, 8, ["size", "class"])
|
|
169
|
+
];
|
|
170
|
+
}),
|
|
171
|
+
_: 1
|
|
172
|
+
}, 16)
|
|
173
|
+
]),
|
|
174
|
+
_: 1
|
|
175
|
+
}, 8, ["model", "class"]);
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
export {
|
|
180
|
+
j as default
|
|
181
|
+
};
|
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
import { IFindPasswordVerifyUserName, VerifyUserNameFormField } from './interface';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
'verify-code'?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
formRef: unknown;
|
|
9
|
+
};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<IFindPasswordVerifyUserName, {
|
|
14
|
+
formRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
model: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
layout: {
|
|
20
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
25
|
+
};
|
|
26
|
+
labelColProps: {
|
|
27
|
+
type: ObjectConstructor;
|
|
28
|
+
default: () => {
|
|
29
|
+
span: number;
|
|
30
|
+
offset: number;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
wrapperColProps: {
|
|
34
|
+
type: ObjectConstructor;
|
|
35
|
+
default: () => {
|
|
36
|
+
span: number;
|
|
37
|
+
offset: number;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
labelColStyle: ObjectConstructor;
|
|
41
|
+
wrapperColStyle: ObjectConstructor;
|
|
42
|
+
labelAlign: {
|
|
43
|
+
type: import('vue').PropType<"left" | "right">;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
rules: {
|
|
51
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
52
|
+
};
|
|
53
|
+
autoLabelWidth: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
id: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
};
|
|
60
|
+
scrollToFirstError: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{
|
|
65
|
+
onSubmit?: ((data: {
|
|
66
|
+
values: Record<string, any>;
|
|
67
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
68
|
+
}, ev: Event) => any) | undefined;
|
|
69
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
70
|
+
onSubmitFailed?: ((data: {
|
|
71
|
+
values: Record<string, any>;
|
|
72
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
73
|
+
}, ev: Event) => any) | undefined;
|
|
74
|
+
}>, {
|
|
75
|
+
cls: import('vue').ComputedRef<(string | {
|
|
76
|
+
[x: string]: boolean;
|
|
77
|
+
})[]>;
|
|
78
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
79
|
+
handleSubmit: (e: Event) => void;
|
|
80
|
+
innerValidate: (callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
81
|
+
innerValidateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
82
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
83
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
84
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
85
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
86
|
+
}, {}, {}, {
|
|
87
|
+
validate(callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
88
|
+
validateField(field: string | string[], callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
89
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
90
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
91
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
92
|
+
scrollToField(field: string): void;
|
|
93
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
|
+
submit: (data: {
|
|
95
|
+
values: Record<string, any>;
|
|
96
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
97
|
+
}, ev: Event) => true;
|
|
98
|
+
submitSuccess: (values: Record<string, any>, ev: Event) => true;
|
|
99
|
+
submitFailed: (data: {
|
|
100
|
+
values: Record<string, any>;
|
|
101
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
102
|
+
}, ev: Event) => true;
|
|
103
|
+
}, import('vue').PublicProps, {
|
|
104
|
+
disabled: boolean;
|
|
105
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
106
|
+
labelColProps: Record<string, any>;
|
|
107
|
+
wrapperColProps: Record<string, any>;
|
|
108
|
+
labelAlign: "left" | "right";
|
|
109
|
+
autoLabelWidth: boolean;
|
|
110
|
+
scrollToFirstError: boolean;
|
|
111
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
112
|
+
P: {};
|
|
113
|
+
B: {};
|
|
114
|
+
D: {};
|
|
115
|
+
C: {};
|
|
116
|
+
M: {};
|
|
117
|
+
Defaults: {};
|
|
118
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
119
|
+
model: {
|
|
120
|
+
type: ObjectConstructor;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
layout: {
|
|
124
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
size: {
|
|
128
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
129
|
+
};
|
|
130
|
+
labelColProps: {
|
|
131
|
+
type: ObjectConstructor;
|
|
132
|
+
default: () => {
|
|
133
|
+
span: number;
|
|
134
|
+
offset: number;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
wrapperColProps: {
|
|
138
|
+
type: ObjectConstructor;
|
|
139
|
+
default: () => {
|
|
140
|
+
span: number;
|
|
141
|
+
offset: number;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
labelColStyle: ObjectConstructor;
|
|
145
|
+
wrapperColStyle: ObjectConstructor;
|
|
146
|
+
labelAlign: {
|
|
147
|
+
type: import('vue').PropType<"left" | "right">;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
disabled: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: undefined;
|
|
153
|
+
};
|
|
154
|
+
rules: {
|
|
155
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
156
|
+
};
|
|
157
|
+
autoLabelWidth: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
id: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
};
|
|
164
|
+
scrollToFirstError: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
}>> & Readonly<{
|
|
169
|
+
onSubmit?: ((data: {
|
|
170
|
+
values: Record<string, any>;
|
|
171
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
172
|
+
}, ev: Event) => any) | undefined;
|
|
173
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
174
|
+
onSubmitFailed?: ((data: {
|
|
175
|
+
values: Record<string, any>;
|
|
176
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
177
|
+
}, ev: Event) => any) | undefined;
|
|
178
|
+
}>, {
|
|
179
|
+
cls: import('vue').ComputedRef<(string | {
|
|
180
|
+
[x: string]: boolean;
|
|
181
|
+
})[]>;
|
|
182
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
183
|
+
handleSubmit: (e: Event) => void;
|
|
184
|
+
innerValidate: (callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
185
|
+
innerValidateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
186
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
187
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
188
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
189
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
190
|
+
}, {}, {}, {
|
|
191
|
+
validate(callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
192
|
+
validateField(field: string | string[], callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
193
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
194
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
195
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
196
|
+
scrollToField(field: string): void;
|
|
197
|
+
}, {
|
|
198
|
+
disabled: boolean;
|
|
199
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
200
|
+
labelColProps: Record<string, any>;
|
|
201
|
+
wrapperColProps: Record<string, any>;
|
|
202
|
+
labelAlign: "left" | "right";
|
|
203
|
+
autoLabelWidth: boolean;
|
|
204
|
+
scrollToFirstError: boolean;
|
|
205
|
+
}> | undefined, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
206
|
+
model: {
|
|
207
|
+
type: ObjectConstructor;
|
|
208
|
+
required: true;
|
|
209
|
+
};
|
|
210
|
+
layout: {
|
|
211
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
212
|
+
default: string;
|
|
213
|
+
};
|
|
214
|
+
size: {
|
|
215
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
216
|
+
};
|
|
217
|
+
labelColProps: {
|
|
218
|
+
type: ObjectConstructor;
|
|
219
|
+
default: () => {
|
|
220
|
+
span: number;
|
|
221
|
+
offset: number;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
wrapperColProps: {
|
|
225
|
+
type: ObjectConstructor;
|
|
226
|
+
default: () => {
|
|
227
|
+
span: number;
|
|
228
|
+
offset: number;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
labelColStyle: ObjectConstructor;
|
|
232
|
+
wrapperColStyle: ObjectConstructor;
|
|
233
|
+
labelAlign: {
|
|
234
|
+
type: import('vue').PropType<"left" | "right">;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
237
|
+
disabled: {
|
|
238
|
+
type: BooleanConstructor;
|
|
239
|
+
default: undefined;
|
|
240
|
+
};
|
|
241
|
+
rules: {
|
|
242
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
243
|
+
};
|
|
244
|
+
autoLabelWidth: {
|
|
245
|
+
type: BooleanConstructor;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
id: {
|
|
249
|
+
type: StringConstructor;
|
|
250
|
+
};
|
|
251
|
+
scrollToFirstError: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: boolean;
|
|
254
|
+
};
|
|
255
|
+
}>> & Readonly<{
|
|
256
|
+
onSubmit?: ((data: {
|
|
257
|
+
values: Record<string, any>;
|
|
258
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
259
|
+
}, ev: Event) => any) | undefined;
|
|
260
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
261
|
+
onSubmitFailed?: ((data: {
|
|
262
|
+
values: Record<string, any>;
|
|
263
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
264
|
+
}, ev: Event) => any) | undefined;
|
|
265
|
+
}>, {
|
|
266
|
+
cls: import('vue').ComputedRef<(string | {
|
|
267
|
+
[x: string]: boolean;
|
|
268
|
+
})[]>;
|
|
269
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
270
|
+
handleSubmit: (e: Event) => void;
|
|
271
|
+
innerValidate: (callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
272
|
+
innerValidateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
273
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
274
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
275
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
276
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
277
|
+
}, {}, {}, {
|
|
278
|
+
validate(callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
279
|
+
validateField(field: string | string[], callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
280
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
281
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
282
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
283
|
+
scrollToField(field: string): void;
|
|
284
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
285
|
+
submit: (data: {
|
|
286
|
+
values: Record<string, any>;
|
|
287
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
288
|
+
}, ev: Event) => true;
|
|
289
|
+
submitSuccess: (values: Record<string, any>, ev: Event) => true;
|
|
290
|
+
submitFailed: (data: {
|
|
291
|
+
values: Record<string, any>;
|
|
292
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
293
|
+
}, ev: Event) => true;
|
|
294
|
+
}, import('vue').PublicProps, {
|
|
295
|
+
disabled: boolean;
|
|
296
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
297
|
+
labelColProps: Record<string, any>;
|
|
298
|
+
wrapperColProps: Record<string, any>;
|
|
299
|
+
labelAlign: "left" | "right";
|
|
300
|
+
autoLabelWidth: boolean;
|
|
301
|
+
scrollToFirstError: boolean;
|
|
302
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
303
|
+
P: {};
|
|
304
|
+
B: {};
|
|
305
|
+
D: {};
|
|
306
|
+
C: {};
|
|
307
|
+
M: {};
|
|
308
|
+
Defaults: {};
|
|
309
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
310
|
+
model: {
|
|
311
|
+
type: ObjectConstructor;
|
|
312
|
+
required: true;
|
|
313
|
+
};
|
|
314
|
+
layout: {
|
|
315
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
316
|
+
default: string;
|
|
317
|
+
};
|
|
318
|
+
size: {
|
|
319
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
320
|
+
};
|
|
321
|
+
labelColProps: {
|
|
322
|
+
type: ObjectConstructor;
|
|
323
|
+
default: () => {
|
|
324
|
+
span: number;
|
|
325
|
+
offset: number;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
wrapperColProps: {
|
|
329
|
+
type: ObjectConstructor;
|
|
330
|
+
default: () => {
|
|
331
|
+
span: number;
|
|
332
|
+
offset: number;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
labelColStyle: ObjectConstructor;
|
|
336
|
+
wrapperColStyle: ObjectConstructor;
|
|
337
|
+
labelAlign: {
|
|
338
|
+
type: import('vue').PropType<"left" | "right">;
|
|
339
|
+
default: string;
|
|
340
|
+
};
|
|
341
|
+
disabled: {
|
|
342
|
+
type: BooleanConstructor;
|
|
343
|
+
default: undefined;
|
|
344
|
+
};
|
|
345
|
+
rules: {
|
|
346
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
347
|
+
};
|
|
348
|
+
autoLabelWidth: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
default: boolean;
|
|
351
|
+
};
|
|
352
|
+
id: {
|
|
353
|
+
type: StringConstructor;
|
|
354
|
+
};
|
|
355
|
+
scrollToFirstError: {
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
359
|
+
}>> & Readonly<{
|
|
360
|
+
onSubmit?: ((data: {
|
|
361
|
+
values: Record<string, any>;
|
|
362
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
363
|
+
}, ev: Event) => any) | undefined;
|
|
364
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
365
|
+
onSubmitFailed?: ((data: {
|
|
366
|
+
values: Record<string, any>;
|
|
367
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
368
|
+
}, ev: Event) => any) | undefined;
|
|
369
|
+
}>, {
|
|
370
|
+
cls: import('vue').ComputedRef<(string | {
|
|
371
|
+
[x: string]: boolean;
|
|
372
|
+
})[]>;
|
|
373
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
374
|
+
handleSubmit: (e: Event) => void;
|
|
375
|
+
innerValidate: (callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
376
|
+
innerValidateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<Record<string, import('@arco-design/web-vue').ValidatedError> | undefined>;
|
|
377
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
378
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
379
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
380
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
381
|
+
}, {}, {}, {
|
|
382
|
+
validate(callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
383
|
+
validateField(field: string | string[], callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
384
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
385
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
386
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
387
|
+
scrollToField(field: string): void;
|
|
388
|
+
}, {
|
|
389
|
+
disabled: boolean;
|
|
390
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
391
|
+
labelColProps: Record<string, any>;
|
|
392
|
+
wrapperColProps: Record<string, any>;
|
|
393
|
+
labelAlign: "left" | "right";
|
|
394
|
+
autoLabelWidth: boolean;
|
|
395
|
+
scrollToFirstError: boolean;
|
|
396
|
+
}> | undefined>;
|
|
397
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
398
|
+
submit: (value: VerifyUserNameFormField) => any;
|
|
399
|
+
}, string, import('vue').PublicProps, Readonly<IFindPasswordVerifyUserName> & Readonly<{
|
|
400
|
+
onSubmit?: ((value: VerifyUserNameFormField) => any) | undefined;
|
|
401
|
+
}>, {
|
|
402
|
+
inputProps: import('..').IInputProps;
|
|
403
|
+
formItemProps: Partial<import('@arco-design/web-vue').FormItemInstance>;
|
|
404
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
405
|
+
formRef: unknown;
|
|
406
|
+
}, any>;
|
|
407
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
408
|
+
export default _default;
|
|
409
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
410
|
+
new (): {
|
|
411
|
+
$slots: S;
|
|
412
|
+
};
|
|
413
|
+
};
|