@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,178 @@
|
|
|
1
|
+
import { defineComponent as A, useSlots as G, ref as p, computed as T, onBeforeUnmount as H, watch as J, resolveComponent as n, createBlock as k, openBlock as l, mergeProps as S, withCtx as o, renderSlot as m, createVNode as r, createCommentVNode as $, createElementBlock as B, createTextVNode as v, unref as d, createSlots as K, normalizeClass as y, normalizeProps as E, guardReactiveProps as V, createElementVNode as M, toDisplayString as O } from "vue";
|
|
2
|
+
import { EFindPasswordSteps as b } from "./enum.js";
|
|
3
|
+
import Q from "./verify-user-name.vue.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import W from "./reset-password.vue.js";
|
|
6
|
+
const X = { key: 1 }, a = "keyblade-find-password", re = /* @__PURE__ */ A({
|
|
7
|
+
__name: "index",
|
|
8
|
+
props: {
|
|
9
|
+
current: { default: 1 },
|
|
10
|
+
phoneNum: { default: "" },
|
|
11
|
+
cardProps: { default: () => ({
|
|
12
|
+
bordered: !1
|
|
13
|
+
}) },
|
|
14
|
+
inputProps: { default: () => ({
|
|
15
|
+
size: "large"
|
|
16
|
+
}) },
|
|
17
|
+
countdown: {},
|
|
18
|
+
formItemProps: { default: () => ({
|
|
19
|
+
hideLabel: !0,
|
|
20
|
+
validateTrigger: []
|
|
21
|
+
}) },
|
|
22
|
+
onNext: {},
|
|
23
|
+
onSendSmsCode: {},
|
|
24
|
+
onEntry: {},
|
|
25
|
+
"update:current": {}
|
|
26
|
+
},
|
|
27
|
+
emits: ["send-sms-code", "update:current", "next", "entry"],
|
|
28
|
+
setup(D, { expose: F, emit: L }) {
|
|
29
|
+
const s = D, u = L, N = G(), _ = p(), R = p(), w = T(() => ({
|
|
30
|
+
inputProps: s.inputProps,
|
|
31
|
+
formItemProps: s.formItemProps,
|
|
32
|
+
prefixClsName: a
|
|
33
|
+
})), i = T({
|
|
34
|
+
get: () => s.current,
|
|
35
|
+
set: (e) => u("update:current", e)
|
|
36
|
+
}), f = p(), c = p(4);
|
|
37
|
+
H(() => {
|
|
38
|
+
f.value && z();
|
|
39
|
+
});
|
|
40
|
+
const C = (e) => {
|
|
41
|
+
s.current >= 3 || u("next", s.current + 1, e);
|
|
42
|
+
}, z = () => {
|
|
43
|
+
c.value = 4, clearInterval(f.value), f.value = void 0;
|
|
44
|
+
};
|
|
45
|
+
return J(() => s.current, (e) => {
|
|
46
|
+
e >= 3 && (f.value = setInterval(() => {
|
|
47
|
+
c.value > 0 ? c.value-- : (z(), u("entry"));
|
|
48
|
+
}, 1e3));
|
|
49
|
+
}), F({
|
|
50
|
+
get resetTime() {
|
|
51
|
+
var e, t;
|
|
52
|
+
return (t = (e = _.value) == null ? void 0 : e.resetTime) != null ? t : (() => {
|
|
53
|
+
});
|
|
54
|
+
},
|
|
55
|
+
get resetRef() {
|
|
56
|
+
var e;
|
|
57
|
+
return (e = _.value) == null ? void 0 : e.formRef;
|
|
58
|
+
},
|
|
59
|
+
get verifyRef() {
|
|
60
|
+
var e;
|
|
61
|
+
return (e = R.value) == null ? void 0 : e.formRef;
|
|
62
|
+
}
|
|
63
|
+
}), (e, t) => {
|
|
64
|
+
const P = n("a-step"), U = n("a-steps"), I = n("a-form-item"), h = n("a-button"), j = n("a-form"), q = n("a-space"), x = n("a-card");
|
|
65
|
+
return l(), k(x, S({ class: a }, e.cardProps), {
|
|
66
|
+
default: o(() => [
|
|
67
|
+
m(e.$slots, "header"),
|
|
68
|
+
r(q, {
|
|
69
|
+
direction: "vertical",
|
|
70
|
+
fill: "",
|
|
71
|
+
size: "large"
|
|
72
|
+
}, {
|
|
73
|
+
default: o(() => [
|
|
74
|
+
r(U, {
|
|
75
|
+
current: i.value,
|
|
76
|
+
"label-placement": "vertical"
|
|
77
|
+
}, {
|
|
78
|
+
default: o(() => [
|
|
79
|
+
r(P, null, {
|
|
80
|
+
default: o(() => t[2] || (t[2] = [
|
|
81
|
+
v("验证用户名")
|
|
82
|
+
])),
|
|
83
|
+
_: 1
|
|
84
|
+
}),
|
|
85
|
+
r(P, null, {
|
|
86
|
+
default: o(() => t[3] || (t[3] = [
|
|
87
|
+
v("重置密码")
|
|
88
|
+
])),
|
|
89
|
+
_: 1
|
|
90
|
+
}),
|
|
91
|
+
r(P, null, {
|
|
92
|
+
default: o(() => t[4] || (t[4] = [
|
|
93
|
+
v("完成")
|
|
94
|
+
])),
|
|
95
|
+
_: 1
|
|
96
|
+
})
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}, 8, ["current"]),
|
|
100
|
+
m(e.$slots, "content"),
|
|
101
|
+
i.value === d(b).verify ? (l(), k(Q, S({ key: 0 }, w.value, {
|
|
102
|
+
ref_key: "verifyRef",
|
|
103
|
+
ref: R,
|
|
104
|
+
onSubmit: C
|
|
105
|
+
}), K({ _: 2 }, [
|
|
106
|
+
d(N)["verify-code"] ? {
|
|
107
|
+
name: "verify-code",
|
|
108
|
+
fn: o(() => [
|
|
109
|
+
m(e.$slots, "verify-code")
|
|
110
|
+
]),
|
|
111
|
+
key: "0"
|
|
112
|
+
} : void 0
|
|
113
|
+
]), 1040)) : $("", !0),
|
|
114
|
+
i.value === d(b).reset ? (l(), k(W, S({ key: 1 }, w.value, {
|
|
115
|
+
ref_key: "resetRef",
|
|
116
|
+
ref: _,
|
|
117
|
+
countdown: e.countdown,
|
|
118
|
+
"phone-num": e.phoneNum,
|
|
119
|
+
onSendSmsCode: t[0] || (t[0] = () => u("send-sms-code")),
|
|
120
|
+
onSubmit: C
|
|
121
|
+
}), null, 16, ["countdown", "phone-num"])) : $("", !0),
|
|
122
|
+
i.value === d(b).succeed ? (l(), B("div", {
|
|
123
|
+
key: 2,
|
|
124
|
+
class: y(`${a}-succeed`)
|
|
125
|
+
}, [
|
|
126
|
+
d(N).succeed ? m(e.$slots, "succeed", { key: 0 }) : (l(), B("div", X, [
|
|
127
|
+
r(j, {
|
|
128
|
+
model: {},
|
|
129
|
+
class: y(`${a}-succeed`),
|
|
130
|
+
onSubmit: t[1] || (t[1] = (g) => u("entry"))
|
|
131
|
+
}, {
|
|
132
|
+
default: o(() => [
|
|
133
|
+
r(I, E(V(e.formItemProps)), {
|
|
134
|
+
default: o(() => [
|
|
135
|
+
M("div", {
|
|
136
|
+
class: y(`${a}-succeed-message`)
|
|
137
|
+
}, " 重置密码成功," + O(c.value) + "秒后自动返回 ", 3)
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 16),
|
|
141
|
+
r(I, E(V(e.formItemProps)), {
|
|
142
|
+
default: o(() => {
|
|
143
|
+
var g;
|
|
144
|
+
return [
|
|
145
|
+
r(h, {
|
|
146
|
+
type: "primary",
|
|
147
|
+
long: "",
|
|
148
|
+
"html-type": "submit",
|
|
149
|
+
size: (g = e.inputProps) == null ? void 0 : g.size,
|
|
150
|
+
class: y(`${a}-succeed-submit`)
|
|
151
|
+
}, {
|
|
152
|
+
default: o(() => t[5] || (t[5] = [
|
|
153
|
+
v(" 确认 ")
|
|
154
|
+
])),
|
|
155
|
+
_: 1
|
|
156
|
+
}, 8, ["size", "class"])
|
|
157
|
+
];
|
|
158
|
+
}),
|
|
159
|
+
_: 1
|
|
160
|
+
}, 16)
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
}, 8, ["class"])
|
|
164
|
+
]))
|
|
165
|
+
], 2)) : $("", !0)
|
|
166
|
+
]),
|
|
167
|
+
_: 3
|
|
168
|
+
}),
|
|
169
|
+
m(e.$slots, "footer")
|
|
170
|
+
]),
|
|
171
|
+
_: 3
|
|
172
|
+
}, 16);
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
export {
|
|
177
|
+
re as default
|
|
178
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { FormInstance, FormItemInstance } from '@arco-design/web-vue';
|
|
2
|
+
import { ICardProps, IInputProps } from '../pro-login/interface';
|
|
3
|
+
import { EFindPasswordSteps } from './enum';
|
|
4
|
+
export * from './enum';
|
|
5
|
+
export type IFindPassword = {
|
|
6
|
+
/** 当前步骤 */
|
|
7
|
+
current?: EFindPasswordSteps | number;
|
|
8
|
+
/** 手机号 */
|
|
9
|
+
phoneNum?: string;
|
|
10
|
+
/** 卡片属性 */
|
|
11
|
+
cardProps?: ICardProps;
|
|
12
|
+
/** 输入框属性 */
|
|
13
|
+
inputProps?: IInputProps;
|
|
14
|
+
/** 倒计时(秒) */
|
|
15
|
+
countdown?: number;
|
|
16
|
+
/** 表单项属性 */
|
|
17
|
+
formItemProps?: Partial<FormItemInstance>;
|
|
18
|
+
/** 下一步 */
|
|
19
|
+
onNext?: (current: number) => void;
|
|
20
|
+
/** 获取短信验证码 */
|
|
21
|
+
onSendSmsCode?: (value: string) => void;
|
|
22
|
+
/** 修改成功,返回 */
|
|
23
|
+
onEntry?: () => void;
|
|
24
|
+
} & {
|
|
25
|
+
'update:current'?: (value: number) => void;
|
|
26
|
+
};
|
|
27
|
+
export type IFindPasswordVerifyUserName = Omit<IFindPassword, 'cardProps'> & {
|
|
28
|
+
prefixClsName: string;
|
|
29
|
+
};
|
|
30
|
+
export type IFindPasswordReset = Omit<IFindPassword, 'cardProps'> & {
|
|
31
|
+
phoneNum: string;
|
|
32
|
+
prefixClsName: string;
|
|
33
|
+
};
|
|
34
|
+
export type VerifyUserNameFormField = {
|
|
35
|
+
username: string;
|
|
36
|
+
captcha: string;
|
|
37
|
+
};
|
|
38
|
+
export type ResetPasswordFormField = {
|
|
39
|
+
password: string;
|
|
40
|
+
again: string;
|
|
41
|
+
captcha: string;
|
|
42
|
+
};
|
|
43
|
+
export interface IFindPasswordFormRef {
|
|
44
|
+
formRef: FormInstance;
|
|
45
|
+
}
|
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
import { IFindPasswordReset, ResetPasswordFormField } from './interface';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IFindPasswordReset, {
|
|
3
|
+
formRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
model: {
|
|
5
|
+
type: ObjectConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
layout: {
|
|
9
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
14
|
+
};
|
|
15
|
+
labelColProps: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {
|
|
18
|
+
span: number;
|
|
19
|
+
offset: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
wrapperColProps: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
default: () => {
|
|
25
|
+
span: number;
|
|
26
|
+
offset: number;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
labelColStyle: ObjectConstructor;
|
|
30
|
+
wrapperColStyle: ObjectConstructor;
|
|
31
|
+
labelAlign: {
|
|
32
|
+
type: import('vue').PropType<"left" | "right">;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
rules: {
|
|
40
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
41
|
+
};
|
|
42
|
+
autoLabelWidth: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
id: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
};
|
|
49
|
+
scrollToFirstError: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{
|
|
54
|
+
onSubmit?: ((data: {
|
|
55
|
+
values: Record<string, any>;
|
|
56
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
57
|
+
}, ev: Event) => any) | undefined;
|
|
58
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
59
|
+
onSubmitFailed?: ((data: {
|
|
60
|
+
values: Record<string, any>;
|
|
61
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
62
|
+
}, ev: Event) => any) | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
cls: import('vue').ComputedRef<(string | {
|
|
65
|
+
[x: string]: boolean;
|
|
66
|
+
})[]>;
|
|
67
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
68
|
+
handleSubmit: (e: Event) => void;
|
|
69
|
+
innerValidate: (callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
70
|
+
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>;
|
|
71
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
72
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
73
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
74
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
75
|
+
}, {}, {}, {
|
|
76
|
+
validate(callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
77
|
+
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>>;
|
|
78
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
79
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
80
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
81
|
+
scrollToField(field: string): void;
|
|
82
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
|
+
submit: (data: {
|
|
84
|
+
values: Record<string, any>;
|
|
85
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
86
|
+
}, ev: Event) => true;
|
|
87
|
+
submitSuccess: (values: Record<string, any>, ev: Event) => true;
|
|
88
|
+
submitFailed: (data: {
|
|
89
|
+
values: Record<string, any>;
|
|
90
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
91
|
+
}, ev: Event) => true;
|
|
92
|
+
}, import('vue').PublicProps, {
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
95
|
+
labelColProps: Record<string, any>;
|
|
96
|
+
wrapperColProps: Record<string, any>;
|
|
97
|
+
labelAlign: "left" | "right";
|
|
98
|
+
autoLabelWidth: boolean;
|
|
99
|
+
scrollToFirstError: boolean;
|
|
100
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
101
|
+
P: {};
|
|
102
|
+
B: {};
|
|
103
|
+
D: {};
|
|
104
|
+
C: {};
|
|
105
|
+
M: {};
|
|
106
|
+
Defaults: {};
|
|
107
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
108
|
+
model: {
|
|
109
|
+
type: ObjectConstructor;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
layout: {
|
|
113
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
size: {
|
|
117
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
118
|
+
};
|
|
119
|
+
labelColProps: {
|
|
120
|
+
type: ObjectConstructor;
|
|
121
|
+
default: () => {
|
|
122
|
+
span: number;
|
|
123
|
+
offset: number;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
wrapperColProps: {
|
|
127
|
+
type: ObjectConstructor;
|
|
128
|
+
default: () => {
|
|
129
|
+
span: number;
|
|
130
|
+
offset: number;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
labelColStyle: ObjectConstructor;
|
|
134
|
+
wrapperColStyle: ObjectConstructor;
|
|
135
|
+
labelAlign: {
|
|
136
|
+
type: import('vue').PropType<"left" | "right">;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
disabled: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: undefined;
|
|
142
|
+
};
|
|
143
|
+
rules: {
|
|
144
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
145
|
+
};
|
|
146
|
+
autoLabelWidth: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
id: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
};
|
|
153
|
+
scrollToFirstError: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
}>> & Readonly<{
|
|
158
|
+
onSubmit?: ((data: {
|
|
159
|
+
values: Record<string, any>;
|
|
160
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
161
|
+
}, ev: Event) => any) | undefined;
|
|
162
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
163
|
+
onSubmitFailed?: ((data: {
|
|
164
|
+
values: Record<string, any>;
|
|
165
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
166
|
+
}, ev: Event) => any) | undefined;
|
|
167
|
+
}>, {
|
|
168
|
+
cls: import('vue').ComputedRef<(string | {
|
|
169
|
+
[x: string]: boolean;
|
|
170
|
+
})[]>;
|
|
171
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
172
|
+
handleSubmit: (e: Event) => void;
|
|
173
|
+
innerValidate: (callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
174
|
+
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>;
|
|
175
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
176
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
177
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
178
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
179
|
+
}, {}, {}, {
|
|
180
|
+
validate(callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
181
|
+
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>>;
|
|
182
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
183
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
184
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
185
|
+
scrollToField(field: string): void;
|
|
186
|
+
}, {
|
|
187
|
+
disabled: boolean;
|
|
188
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
189
|
+
labelColProps: Record<string, any>;
|
|
190
|
+
wrapperColProps: Record<string, any>;
|
|
191
|
+
labelAlign: "left" | "right";
|
|
192
|
+
autoLabelWidth: boolean;
|
|
193
|
+
scrollToFirstError: boolean;
|
|
194
|
+
}> | undefined, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
195
|
+
model: {
|
|
196
|
+
type: ObjectConstructor;
|
|
197
|
+
required: true;
|
|
198
|
+
};
|
|
199
|
+
layout: {
|
|
200
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
size: {
|
|
204
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
205
|
+
};
|
|
206
|
+
labelColProps: {
|
|
207
|
+
type: ObjectConstructor;
|
|
208
|
+
default: () => {
|
|
209
|
+
span: number;
|
|
210
|
+
offset: number;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
wrapperColProps: {
|
|
214
|
+
type: ObjectConstructor;
|
|
215
|
+
default: () => {
|
|
216
|
+
span: number;
|
|
217
|
+
offset: number;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
labelColStyle: ObjectConstructor;
|
|
221
|
+
wrapperColStyle: ObjectConstructor;
|
|
222
|
+
labelAlign: {
|
|
223
|
+
type: import('vue').PropType<"left" | "right">;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
disabled: {
|
|
227
|
+
type: BooleanConstructor;
|
|
228
|
+
default: undefined;
|
|
229
|
+
};
|
|
230
|
+
rules: {
|
|
231
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
232
|
+
};
|
|
233
|
+
autoLabelWidth: {
|
|
234
|
+
type: BooleanConstructor;
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
|
+
id: {
|
|
238
|
+
type: StringConstructor;
|
|
239
|
+
};
|
|
240
|
+
scrollToFirstError: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
244
|
+
}>> & Readonly<{
|
|
245
|
+
onSubmit?: ((data: {
|
|
246
|
+
values: Record<string, any>;
|
|
247
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
248
|
+
}, ev: Event) => any) | undefined;
|
|
249
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
250
|
+
onSubmitFailed?: ((data: {
|
|
251
|
+
values: Record<string, any>;
|
|
252
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
253
|
+
}, ev: Event) => any) | undefined;
|
|
254
|
+
}>, {
|
|
255
|
+
cls: import('vue').ComputedRef<(string | {
|
|
256
|
+
[x: string]: boolean;
|
|
257
|
+
})[]>;
|
|
258
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
259
|
+
handleSubmit: (e: Event) => void;
|
|
260
|
+
innerValidate: (callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
261
|
+
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>;
|
|
262
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
263
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
264
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
265
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
266
|
+
}, {}, {}, {
|
|
267
|
+
validate(callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
268
|
+
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>>;
|
|
269
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
270
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
271
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
272
|
+
scrollToField(field: string): void;
|
|
273
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
274
|
+
submit: (data: {
|
|
275
|
+
values: Record<string, any>;
|
|
276
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
277
|
+
}, ev: Event) => true;
|
|
278
|
+
submitSuccess: (values: Record<string, any>, ev: Event) => true;
|
|
279
|
+
submitFailed: (data: {
|
|
280
|
+
values: Record<string, any>;
|
|
281
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
282
|
+
}, ev: Event) => true;
|
|
283
|
+
}, import('vue').PublicProps, {
|
|
284
|
+
disabled: boolean;
|
|
285
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
286
|
+
labelColProps: Record<string, any>;
|
|
287
|
+
wrapperColProps: Record<string, any>;
|
|
288
|
+
labelAlign: "left" | "right";
|
|
289
|
+
autoLabelWidth: boolean;
|
|
290
|
+
scrollToFirstError: boolean;
|
|
291
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
292
|
+
P: {};
|
|
293
|
+
B: {};
|
|
294
|
+
D: {};
|
|
295
|
+
C: {};
|
|
296
|
+
M: {};
|
|
297
|
+
Defaults: {};
|
|
298
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
299
|
+
model: {
|
|
300
|
+
type: ObjectConstructor;
|
|
301
|
+
required: true;
|
|
302
|
+
};
|
|
303
|
+
layout: {
|
|
304
|
+
type: import('vue').PropType<"horizontal" | "vertical" | "inline">;
|
|
305
|
+
default: string;
|
|
306
|
+
};
|
|
307
|
+
size: {
|
|
308
|
+
type: import('vue').PropType<"mini" | "small" | "medium" | "large">;
|
|
309
|
+
};
|
|
310
|
+
labelColProps: {
|
|
311
|
+
type: ObjectConstructor;
|
|
312
|
+
default: () => {
|
|
313
|
+
span: number;
|
|
314
|
+
offset: number;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
wrapperColProps: {
|
|
318
|
+
type: ObjectConstructor;
|
|
319
|
+
default: () => {
|
|
320
|
+
span: number;
|
|
321
|
+
offset: number;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
labelColStyle: ObjectConstructor;
|
|
325
|
+
wrapperColStyle: ObjectConstructor;
|
|
326
|
+
labelAlign: {
|
|
327
|
+
type: import('vue').PropType<"left" | "right">;
|
|
328
|
+
default: string;
|
|
329
|
+
};
|
|
330
|
+
disabled: {
|
|
331
|
+
type: BooleanConstructor;
|
|
332
|
+
default: undefined;
|
|
333
|
+
};
|
|
334
|
+
rules: {
|
|
335
|
+
type: import('vue').PropType<Record<string, import('@arco-design/web-vue').FieldRule<any> | import('@arco-design/web-vue').FieldRule<any>[]>>;
|
|
336
|
+
};
|
|
337
|
+
autoLabelWidth: {
|
|
338
|
+
type: BooleanConstructor;
|
|
339
|
+
default: boolean;
|
|
340
|
+
};
|
|
341
|
+
id: {
|
|
342
|
+
type: StringConstructor;
|
|
343
|
+
};
|
|
344
|
+
scrollToFirstError: {
|
|
345
|
+
type: BooleanConstructor;
|
|
346
|
+
default: boolean;
|
|
347
|
+
};
|
|
348
|
+
}>> & Readonly<{
|
|
349
|
+
onSubmit?: ((data: {
|
|
350
|
+
values: Record<string, any>;
|
|
351
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError> | undefined;
|
|
352
|
+
}, ev: Event) => any) | undefined;
|
|
353
|
+
onSubmitSuccess?: ((values: Record<string, any>, ev: Event) => any) | undefined;
|
|
354
|
+
onSubmitFailed?: ((data: {
|
|
355
|
+
values: Record<string, any>;
|
|
356
|
+
errors: Record<string, import('@arco-design/web-vue').ValidatedError>;
|
|
357
|
+
}, ev: Event) => any) | undefined;
|
|
358
|
+
}>, {
|
|
359
|
+
cls: import('vue').ComputedRef<(string | {
|
|
360
|
+
[x: string]: boolean;
|
|
361
|
+
})[]>;
|
|
362
|
+
formRef: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
363
|
+
handleSubmit: (e: Event) => void;
|
|
364
|
+
innerValidate: (callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined) => Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
365
|
+
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>;
|
|
366
|
+
innerResetFields: (field?: string | string[] | undefined) => void;
|
|
367
|
+
innerClearValidate: (field?: string | string[] | undefined) => void;
|
|
368
|
+
innerSetFields: (data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>) => void;
|
|
369
|
+
innerScrollToField: (field: string, options?: import('../../node_modules/scroll-into-view-if-needed').Options<any> | undefined) => void;
|
|
370
|
+
}, {}, {}, {
|
|
371
|
+
validate(callback?: ((errors: undefined | Record<string, import('@arco-design/web-vue').ValidatedError>) => void) | undefined): Promise<undefined | Record<string, import('@arco-design/web-vue').ValidatedError>>;
|
|
372
|
+
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>>;
|
|
373
|
+
resetFields(field?: string | string[] | undefined): void;
|
|
374
|
+
clearValidate(field?: string | string[] | undefined): void;
|
|
375
|
+
setFields(data: Record<string, import('@arco-design/web-vue/es/form/interface').FieldData>): void;
|
|
376
|
+
scrollToField(field: string): void;
|
|
377
|
+
}, {
|
|
378
|
+
disabled: boolean;
|
|
379
|
+
layout: "horizontal" | "vertical" | "inline";
|
|
380
|
+
labelColProps: Record<string, any>;
|
|
381
|
+
wrapperColProps: Record<string, any>;
|
|
382
|
+
labelAlign: "left" | "right";
|
|
383
|
+
autoLabelWidth: boolean;
|
|
384
|
+
scrollToFirstError: boolean;
|
|
385
|
+
}> | undefined>;
|
|
386
|
+
resetTime: () => void;
|
|
387
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
388
|
+
submit: (value: ResetPasswordFormField) => any;
|
|
389
|
+
"send-sms-code": () => any;
|
|
390
|
+
}, string, import('vue').PublicProps, Readonly<IFindPasswordReset> & Readonly<{
|
|
391
|
+
onSubmit?: ((value: ResetPasswordFormField) => any) | undefined;
|
|
392
|
+
"onSend-sms-code"?: (() => any) | undefined;
|
|
393
|
+
}>, {
|
|
394
|
+
inputProps: import('..').IInputProps;
|
|
395
|
+
formItemProps: Partial<import('@arco-design/web-vue').FormItemInstance>;
|
|
396
|
+
countdown: number;
|
|
397
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
398
|
+
formRef: unknown;
|
|
399
|
+
}, any>;
|
|
400
|
+
export default _default;
|