@jctrans-materials/comps-vue3 1.0.33-beta.9 → 1.0.34-beta.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.
- package/dist/components/JcLoginDialog/composables/useForgetPassword.d.ts +1 -0
- package/dist/components/JcLoginDialog/composables/useThirdPartyLogin.d.ts +6 -0
- package/dist/components/JcLoginDialog/constant.d.ts +4 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +2 -2
- package/dist/components/JcLoginDialog/cmps/ThirdLogin.d.ts +0 -30
|
@@ -14,6 +14,10 @@ export declare const getThirdPartySessions: () => {
|
|
|
14
14
|
thirdPartyUserName: string;
|
|
15
15
|
mobileEmailList: any;
|
|
16
16
|
};
|
|
17
|
+
export declare const setThirdPartyEmailVerifyList: (data: any[]) => void;
|
|
18
|
+
export declare const getThirdPartyEmailVerifyList: () => any;
|
|
19
|
+
export declare const setThirdPartyMobileVerifyList: (data: any[]) => void;
|
|
20
|
+
export declare const getThirdPartyMobileVerifyList: () => any;
|
|
17
21
|
/**
|
|
18
22
|
* 第三方 OAuth 登录组合式函数(Facebook、LinkedIn)
|
|
19
23
|
*
|
|
@@ -71,5 +75,7 @@ export declare function useThirdPartyLogin(config: ThirdPartyConfig): {
|
|
|
71
75
|
loginResult: import('vue').Ref<any, any>;
|
|
72
76
|
startLogin: (type: "FACEBOOK" | "LINKEDIN" | "TEST") => void;
|
|
73
77
|
resetState: () => void;
|
|
78
|
+
handleBindThirdParty: (list: any[]) => void;
|
|
79
|
+
resetBindRegisterState: () => void;
|
|
74
80
|
};
|
|
75
81
|
export {};
|
|
@@ -7,6 +7,10 @@ interface ValidationRule {
|
|
|
7
7
|
}
|
|
8
8
|
export declare function validateUserEmail(rule: ValidationRule, value: string | null | undefined, callback: (error?: Error) => void, isEn?: boolean, // 注入文案
|
|
9
9
|
checkExist?: boolean): Promise<void>;
|
|
10
|
+
export declare function validateThirdPartyEmail(rule: ValidationRule, value: string | null | undefined, callback: (error?: Error) => void, isEn?: boolean, // 注入文案
|
|
11
|
+
context?: any): Promise<void>;
|
|
12
|
+
export declare function validateThirdPartyMobile(rule: ValidationRule, value: string | null | undefined, callback: (error?: Error) => void, isEn?: boolean, // 注入文案
|
|
13
|
+
context?: any): void;
|
|
10
14
|
/**
|
|
11
15
|
* 整合后的用户姓名校验
|
|
12
16
|
* @param {Object} rule 校验规则
|