@huyooo/ui 0.5.60 → 0.6.0

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.
@@ -8,7 +8,7 @@ import { S as ze } from "./PaySubscriptions-Vj0KnZGv.js";
8
8
  import { R as Ne } from "./ReferrerReferees-D8hYkkAy.js";
9
9
  import { a as N, u as Le } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
10
10
  import { u as je, g as oe } from "./auth-bwwc2iT8.js";
11
- import { c as He, A as Fe } from "./AuthkitAuthModal-DOJxOU01.js";
11
+ import { c as He, A as Fe } from "./AuthkitAuthModal-BfwODnpI.js";
12
12
  import { d as qe } from "./FeedbackModal-DWJmFtvY.js";
13
13
  import { M as Ee } from "./MessageHandle-BlsLRmdj.js";
14
14
  /* empty css */
@@ -10,7 +10,7 @@ import "./useUploadCos-_xwV40NS.js";
10
10
  import { useRouter as j, useRoute as J } from "vue-router";
11
11
  /* empty css */
12
12
  /* empty css */
13
- import { d as re, c as Q } from "./UserAccountMenu-DgvdmbWH.js";
13
+ import { d as re, c as Q } from "./UserAccountMenu-DqwouFOD.js";
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  /* empty css */
@@ -5,3 +5,46 @@ export declare function authResetPassword(data: ResetPasswordParams): Promise<im
5
5
  export declare function authSignUp(data: SignUpParams): Promise<import('axios').AxiosResponse<any, any>>;
6
6
  export declare function oauth2Authorize(data: OAuth2AuthorizeParams): Promise<import('axios').AxiosResponse<any, any>>;
7
7
  export declare function refreshToken(refreshToken: string): Promise<import('axios').AxiosResponse<any, any>>;
8
+ /** 绑定邮箱参数 */
9
+ interface BindEmailParams {
10
+ email: string;
11
+ userToken: string;
12
+ emailVerifyId: string;
13
+ }
14
+ /**
15
+ * 绑定邮箱(OAuth 用户用)
16
+ * 用于 pending 状态的用户绑定邮箱,完成后状态变为 active
17
+ */
18
+ export declare function authBindEmail(data: BindEmailParams): Promise<import('axios').AxiosResponse<any, any>>;
19
+ /** 绑定手机号参数 */
20
+ interface BindPhoneParams {
21
+ phone: string;
22
+ code: string;
23
+ }
24
+ /**
25
+ * 绑定手机号
26
+ */
27
+ export declare function authBindPhone(data: BindPhoneParams): Promise<import('axios').AxiosResponse<any, any>>;
28
+ /** 手机号注册参数 */
29
+ interface SignUpPhoneParams {
30
+ phone: string;
31
+ code: string;
32
+ password?: string;
33
+ referrerId?: string;
34
+ }
35
+ /**
36
+ * 手机号注册
37
+ */
38
+ export declare function authSignUpPhone(data: SignUpPhoneParams): Promise<import('axios').AxiosResponse<any, any>>;
39
+ /** 统一登录参数 */
40
+ interface SignInUnifiedParams {
41
+ identifier: string;
42
+ password?: string;
43
+ code?: string;
44
+ method: 'password' | 'code';
45
+ }
46
+ /**
47
+ * 统一登录(支持邮箱/手机号 + 密码/验证码)
48
+ */
49
+ export declare function authSignInUnified(data: SignInUnifiedParams): Promise<import('axios').AxiosResponse<any, any>>;
50
+ export {};
@@ -1,3 +1,12 @@
1
1
  export declare function verifyEmail(data: any): Promise<import('axios').AxiosResponse<any, any>>;
2
2
  export declare function verifyEmailRetry(data: any): Promise<import('axios').AxiosResponse<any, any>>;
3
3
  export declare function verifyPassword(data: any): Promise<import('axios').AxiosResponse<any, any>>;
4
+ /** 发送短信验证码 */
5
+ export declare function verifySmsRetry(data: {
6
+ phone: string;
7
+ }): Promise<import('axios').AxiosResponse<any, any>>;
8
+ /** 验证短信验证码 */
9
+ export declare function verifySms(data: {
10
+ phone: string;
11
+ code: string;
12
+ }): Promise<import('axios').AxiosResponse<any, any>>;
package/dist/authkit.d.ts CHANGED
@@ -16,6 +16,10 @@ export { default as AuthkitPasswordAuth } from './components/Authkit/Auth/Authki
16
16
  export { default as AuthkitSwitchSignIn } from './components/Authkit/Auth/AuthkitSwitchSignIn.vue';
17
17
  export { default as AuthkitSwitchSignUpOrResetPassword } from './components/Authkit/Auth/AuthkitSwitchSignUpOrResetPassword.vue';
18
18
  export { default as AuthkitEmailUpdate } from './components/Authkit/Auth/AuthkitEmailUpdate.vue';
19
+ export { default as AuthkitBindEmail } from './components/Authkit/Auth/AuthkitBindEmail.vue';
20
+ export { default as AuthkitBindPhone } from './components/Authkit/Auth/AuthkitBindPhone.vue';
21
+ export { default as AuthkitSignUpPhone } from './components/Authkit/Auth/AuthkitSignUpPhone.vue';
22
+ export { default as AuthkitSignInPhone } from './components/Authkit/Auth/AuthkitSignInPhone.vue';
19
23
  export { default as AuthkitServiceAgreementAndPrivacyProtection } from './components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue';
20
24
  export { default as AuthkitOAuthItem } from './components/Authkit/Auth/AuthkitOauthItem.vue';
21
25
  export { default as AuthkitOAuthList } from './components/Authkit/Auth/AuthkitOauthList.vue';
package/dist/authkit.js CHANGED
@@ -1,43 +1,47 @@
1
- import { A as u, a as i, c as s, b as h, n as A, E as e, k, l as r, _ as o, O as n, _ as d, O as p, f as m, o as f, P as l, j as P, R as O, S, i as g, m as c, d as w, e as U, g as b, h as x, p as I, u as C } from "./AuthkitAuthModal-DOJxOU01.js";
2
- import { A as E, a as R, b as V, b as v } from "./AuthkitOauthCallback-BnHgrReE.js";
3
- import { u as L } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
4
- import { u as _, a as j } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
5
- import { u as G } from "./auth-bwwc2iT8.js";
6
- import { u as q } from "./useAuthkitCreateAndUpdate-Co5wMbv7.js";
1
+ import { A as i, a as u, c as s, b as h, n as A, E as e, k, l as o, _ as r, O as n, _ as d, O as p, f as m, o as P, P as f, j as l, R as S, S as g, i as O, m as c, d as w, e as U, g as I, h as b, p as x, u as C } from "./AuthkitAuthModal-BfwODnpI.js";
2
+ import { A as y, a as B, c as R, d as V, b as v, b as L, f as M, e as _ } from "./AuthkitSignInPhone-CvP7rT3r.js";
3
+ import { u as z } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
4
+ import { u as T, a as q } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
5
+ import { u as F } from "./auth-bwwc2iT8.js";
6
+ import { u as J } from "./useAuthkitCreateAndUpdate-Co5wMbv7.js";
7
7
  export {
8
- u as AuthkitAppSetting,
9
- i as AuthkitAuth,
10
- E as AuthkitAuthContainer,
8
+ i as AuthkitAppSetting,
9
+ u as AuthkitAuth,
10
+ y as AuthkitAuthContainer,
11
11
  s as AuthkitAuthModal,
12
12
  h as AuthkitAuthTitle,
13
- R as AuthkitAuthorize,
13
+ B as AuthkitAuthorize,
14
+ R as AuthkitBindEmail,
15
+ V as AuthkitBindPhone,
14
16
  A as AuthkitEmailBinding,
15
17
  e as AuthkitEmailUpdate,
16
18
  k as AuthkitEmailVerify,
17
- r as AuthkitGithubBinding,
18
- V as AuthkitOAuthCallback,
19
- o as AuthkitOAuthItem,
19
+ o as AuthkitGithubBinding,
20
+ v as AuthkitOAuthCallback,
21
+ r as AuthkitOAuthItem,
20
22
  n as AuthkitOAuthList,
21
- v as AuthkitOauthCallback,
23
+ L as AuthkitOauthCallback,
22
24
  d as AuthkitOauthItem,
23
25
  p as AuthkitOauthList,
24
26
  m as AuthkitPasswordAuth,
25
- f as AuthkitPasswordUpdate,
26
- l as AuthkitPasswordUpdateAndVerify,
27
- P as AuthkitPersonalInformation,
28
- O as AuthkitResetPassword,
29
- S as AuthkitSendVerifyCode,
30
- g as AuthkitServiceAgreementAndPrivacyProtection,
27
+ P as AuthkitPasswordUpdate,
28
+ f as AuthkitPasswordUpdateAndVerify,
29
+ l as AuthkitPersonalInformation,
30
+ S as AuthkitResetPassword,
31
+ g as AuthkitSendVerifyCode,
32
+ O as AuthkitServiceAgreementAndPrivacyProtection,
31
33
  c as AuthkitSetPassword,
32
34
  w as AuthkitSignIn,
35
+ M as AuthkitSignInPhone,
33
36
  U as AuthkitSignUp,
34
- b as AuthkitSwitchSignIn,
35
- x as AuthkitSwitchSignUpOrResetPassword,
36
- L as useAuthkitAppsAuthPageInfo,
37
- _ as useAuthkitAuth,
38
- G as useAuthkitAuthModal,
39
- q as useAuthkitCreateAndUpdate,
40
- I as useAuthkitOAuth,
41
- j as useAuthkitUsersProfile,
37
+ _ as AuthkitSignUpPhone,
38
+ I as AuthkitSwitchSignIn,
39
+ b as AuthkitSwitchSignUpOrResetPassword,
40
+ z as useAuthkitAppsAuthPageInfo,
41
+ T as useAuthkitAuth,
42
+ F as useAuthkitAuthModal,
43
+ J as useAuthkitCreateAndUpdate,
44
+ x as useAuthkitOAuth,
45
+ q as useAuthkitUsersProfile,
42
46
  C as useOauth
43
47
  };
package/dist/common.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-BoQWHreP.js";
1
+ import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-CD44QZfP.js";
2
2
  import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
3
3
  import { C as x, E as H } from "./CustomTable-B8i1SbFB.js";
4
4
  import { M, a as g } from "./Menu-BjWB9hre.js";
@@ -0,0 +1,82 @@
1
+ import { PropType } from 'vue';
2
+ import { FormSizeType } from '../../../types/auth';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ size: {
5
+ type: PropType<FormSizeType>;
6
+ required: true;
7
+ };
8
+ loading: {
9
+ type: BooleanConstructor;
10
+ required: true;
11
+ default: () => boolean;
12
+ };
13
+ /** 是否显示跳过按钮 */
14
+ showSkip: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ submit: (...args: any[]) => void;
20
+ skip: (...args: any[]) => void;
21
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
22
+ size: {
23
+ type: PropType<FormSizeType>;
24
+ required: true;
25
+ };
26
+ loading: {
27
+ type: BooleanConstructor;
28
+ required: true;
29
+ default: () => boolean;
30
+ };
31
+ /** 是否显示跳过按钮 */
32
+ showSkip: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ }>> & Readonly<{
37
+ onSubmit?: ((...args: any[]) => any) | undefined;
38
+ onSkip?: ((...args: any[]) => any) | undefined;
39
+ }>, {
40
+ showSkip: boolean;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
42
+ formRef: any;
43
+ SendVerifyCodeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
44
+ size: {
45
+ type: PropType<FormSizeType>;
46
+ required: true;
47
+ };
48
+ loading: {
49
+ type: BooleanConstructor;
50
+ required: true;
51
+ default: () => boolean;
52
+ };
53
+ }>> & Readonly<{
54
+ onSend?: ((...args: any[]) => any) | undefined;
55
+ }>, {
56
+ startCountFn: () => void;
57
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
+ send: (...args: any[]) => void;
59
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
60
+ P: {};
61
+ B: {};
62
+ D: {};
63
+ C: {};
64
+ M: {};
65
+ Defaults: {};
66
+ }, Readonly<import('vue').ExtractPropTypes<{
67
+ size: {
68
+ type: PropType<FormSizeType>;
69
+ required: true;
70
+ };
71
+ loading: {
72
+ type: BooleanConstructor;
73
+ required: true;
74
+ default: () => boolean;
75
+ };
76
+ }>> & Readonly<{
77
+ onSend?: ((...args: any[]) => any) | undefined;
78
+ }>, {
79
+ startCountFn: () => void;
80
+ }, {}, {}, {}, {}> | null;
81
+ }, HTMLDivElement>;
82
+ export default _default;
@@ -0,0 +1,80 @@
1
+ import { PropType } from 'vue';
2
+ import { FormSizeType } from '../../../types/auth';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ size: {
5
+ type: PropType<FormSizeType>;
6
+ required: true;
7
+ };
8
+ loading: {
9
+ type: BooleanConstructor;
10
+ required: true;
11
+ default: () => boolean;
12
+ };
13
+ showSkip: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ submit: (...args: any[]) => void;
19
+ skip: (...args: any[]) => void;
20
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ size: {
22
+ type: PropType<FormSizeType>;
23
+ required: true;
24
+ };
25
+ loading: {
26
+ type: BooleanConstructor;
27
+ required: true;
28
+ default: () => boolean;
29
+ };
30
+ showSkip: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ }>> & Readonly<{
35
+ onSubmit?: ((...args: any[]) => any) | undefined;
36
+ onSkip?: ((...args: any[]) => any) | undefined;
37
+ }>, {
38
+ showSkip: boolean;
39
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
40
+ formRef: any;
41
+ SendVerifyCodeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
42
+ size: {
43
+ type: PropType<FormSizeType>;
44
+ required: true;
45
+ };
46
+ loading: {
47
+ type: BooleanConstructor;
48
+ required: true;
49
+ default: () => boolean;
50
+ };
51
+ }>> & Readonly<{
52
+ onSend?: ((...args: any[]) => any) | undefined;
53
+ }>, {
54
+ startCountFn: () => void;
55
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
+ send: (...args: any[]) => void;
57
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
58
+ P: {};
59
+ B: {};
60
+ D: {};
61
+ C: {};
62
+ M: {};
63
+ Defaults: {};
64
+ }, Readonly<import('vue').ExtractPropTypes<{
65
+ size: {
66
+ type: PropType<FormSizeType>;
67
+ required: true;
68
+ };
69
+ loading: {
70
+ type: BooleanConstructor;
71
+ required: true;
72
+ default: () => boolean;
73
+ };
74
+ }>> & Readonly<{
75
+ onSend?: ((...args: any[]) => any) | undefined;
76
+ }>, {
77
+ startCountFn: () => void;
78
+ }, {}, {}, {}, {}> | null;
79
+ }, HTMLDivElement>;
80
+ export default _default;
@@ -3,20 +3,34 @@ type __VLS_Props = {
3
3
  defaultRedirect?: string;
4
4
  /** 加载时显示的文本 */
5
5
  loadingText?: string;
6
+ /** 需要绑定身份时的跳转路径(OAuth 新用户无邮箱时) */
7
+ bindIdentityRedirect?: string;
6
8
  };
7
9
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
8
10
  success: (data: {
9
11
  token: string;
10
12
  userId: string;
11
13
  appId: string;
14
+ needBindIdentity?: boolean;
12
15
  }) => any;
13
16
  error: (message: string) => any;
17
+ needBindIdentity: (data: {
18
+ token: string;
19
+ userId: string;
20
+ appId: string;
21
+ }) => any;
14
22
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
23
  onSuccess?: ((data: {
16
24
  token: string;
17
25
  userId: string;
18
26
  appId: string;
27
+ needBindIdentity?: boolean;
19
28
  }) => any) | undefined;
20
29
  onError?: ((message: string) => any) | undefined;
30
+ onNeedBindIdentity?: ((data: {
31
+ token: string;
32
+ userId: string;
33
+ appId: string;
34
+ }) => any) | undefined;
21
35
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
22
36
  export default _default;
@@ -0,0 +1,127 @@
1
+ import { PropType } from 'vue';
2
+ import { FormSizeType } from '../../../types/auth';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ OAuth?(_: {}): any;
7
+ };
8
+ refs: {
9
+ formRef: any;
10
+ SendVerifyCodeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
11
+ size: {
12
+ type: PropType<FormSizeType>;
13
+ required: true;
14
+ };
15
+ loading: {
16
+ type: BooleanConstructor;
17
+ required: true;
18
+ default: () => boolean;
19
+ };
20
+ }>> & Readonly<{
21
+ onSend?: ((...args: any[]) => any) | undefined;
22
+ }>, {
23
+ startCountFn: () => void;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ send: (...args: any[]) => void;
26
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
27
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ Defaults: {};
33
+ }, Readonly<import('vue').ExtractPropTypes<{
34
+ size: {
35
+ type: PropType<FormSizeType>;
36
+ required: true;
37
+ };
38
+ loading: {
39
+ type: BooleanConstructor;
40
+ required: true;
41
+ default: () => boolean;
42
+ };
43
+ }>> & Readonly<{
44
+ onSend?: ((...args: any[]) => any) | undefined;
45
+ }>, {
46
+ startCountFn: () => void;
47
+ }, {}, {}, {}, {}> | null;
48
+ };
49
+ rootEl: HTMLDivElement;
50
+ };
51
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
52
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
53
+ size: {
54
+ type: PropType<FormSizeType>;
55
+ required: true;
56
+ };
57
+ loading: {
58
+ type: BooleanConstructor;
59
+ required: true;
60
+ default: () => boolean;
61
+ };
62
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
63
+ submit: (...args: any[]) => void;
64
+ switchSignUp: (...args: any[]) => void;
65
+ switchResetPassword: (...args: any[]) => void;
66
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
67
+ size: {
68
+ type: PropType<FormSizeType>;
69
+ required: true;
70
+ };
71
+ loading: {
72
+ type: BooleanConstructor;
73
+ required: true;
74
+ default: () => boolean;
75
+ };
76
+ }>> & Readonly<{
77
+ onSubmit?: ((...args: any[]) => any) | undefined;
78
+ onSwitchSignUp?: ((...args: any[]) => any) | undefined;
79
+ onSwitchResetPassword?: ((...args: any[]) => any) | undefined;
80
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
81
+ formRef: any;
82
+ SendVerifyCodeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
83
+ size: {
84
+ type: PropType<FormSizeType>;
85
+ required: true;
86
+ };
87
+ loading: {
88
+ type: BooleanConstructor;
89
+ required: true;
90
+ default: () => boolean;
91
+ };
92
+ }>> & Readonly<{
93
+ onSend?: ((...args: any[]) => any) | undefined;
94
+ }>, {
95
+ startCountFn: () => void;
96
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
97
+ send: (...args: any[]) => void;
98
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
99
+ P: {};
100
+ B: {};
101
+ D: {};
102
+ C: {};
103
+ M: {};
104
+ Defaults: {};
105
+ }, Readonly<import('vue').ExtractPropTypes<{
106
+ size: {
107
+ type: PropType<FormSizeType>;
108
+ required: true;
109
+ };
110
+ loading: {
111
+ type: BooleanConstructor;
112
+ required: true;
113
+ default: () => boolean;
114
+ };
115
+ }>> & Readonly<{
116
+ onSend?: ((...args: any[]) => any) | undefined;
117
+ }>, {
118
+ startCountFn: () => void;
119
+ }, {}, {}, {}, {}> | null;
120
+ }, HTMLDivElement>;
121
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
122
+ export default _default;
123
+ type __VLS_WithTemplateSlots<T, S> = T & {
124
+ new (): {
125
+ $slots: S;
126
+ };
127
+ };
@@ -0,0 +1,82 @@
1
+ import { PropType } from 'vue';
2
+ import { FormSizeType } from '../../../types/auth';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ size: {
5
+ type: PropType<FormSizeType>;
6
+ required: true;
7
+ };
8
+ loading: {
9
+ type: BooleanConstructor;
10
+ required: true;
11
+ default: () => boolean;
12
+ };
13
+ /** 是否要求设置密码 */
14
+ requirePassword: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ submit: (...args: any[]) => void;
20
+ switchSignIn: (...args: any[]) => void;
21
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
22
+ size: {
23
+ type: PropType<FormSizeType>;
24
+ required: true;
25
+ };
26
+ loading: {
27
+ type: BooleanConstructor;
28
+ required: true;
29
+ default: () => boolean;
30
+ };
31
+ /** 是否要求设置密码 */
32
+ requirePassword: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ }>> & Readonly<{
37
+ onSubmit?: ((...args: any[]) => any) | undefined;
38
+ onSwitchSignIn?: ((...args: any[]) => any) | undefined;
39
+ }>, {
40
+ requirePassword: boolean;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
42
+ formRef: any;
43
+ SendVerifyCodeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
44
+ size: {
45
+ type: PropType<FormSizeType>;
46
+ required: true;
47
+ };
48
+ loading: {
49
+ type: BooleanConstructor;
50
+ required: true;
51
+ default: () => boolean;
52
+ };
53
+ }>> & Readonly<{
54
+ onSend?: ((...args: any[]) => any) | undefined;
55
+ }>, {
56
+ startCountFn: () => void;
57
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
58
+ send: (...args: any[]) => void;
59
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
60
+ P: {};
61
+ B: {};
62
+ D: {};
63
+ C: {};
64
+ M: {};
65
+ Defaults: {};
66
+ }, Readonly<import('vue').ExtractPropTypes<{
67
+ size: {
68
+ type: PropType<FormSizeType>;
69
+ required: true;
70
+ };
71
+ loading: {
72
+ type: BooleanConstructor;
73
+ required: true;
74
+ default: () => boolean;
75
+ };
76
+ }>> & Readonly<{
77
+ onSend?: ((...args: any[]) => any) | undefined;
78
+ }>, {
79
+ startCountFn: () => void;
80
+ }, {}, {}, {}, {}> | null;
81
+ }, HTMLDivElement>;
82
+ export default _default;