@authing/react-ui-components 3.0.30-rc.3 → 3.0.31-rc.1
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/lib/index.d.ts +11 -1
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1799,12 +1799,15 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/IdpBut
|
|
|
1799
1799
|
}
|
|
1800
1800
|
declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
|
|
1801
1801
|
import React from 'react';
|
|
1802
|
+
import { ApplicationConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1802
1803
|
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
1803
1804
|
import './style.less';
|
|
1804
1805
|
export interface SocialLoginProps {
|
|
1805
1806
|
appId: string;
|
|
1806
1807
|
config: LoginConfig;
|
|
1807
1808
|
onLogin: any;
|
|
1809
|
+
enterpriseConnectionObjs: ApplicationConfig['identityProviders'];
|
|
1810
|
+
socialConnectionObjs: SocialConnectionItem[];
|
|
1808
1811
|
}
|
|
1809
1812
|
export const SocialLogin: React.FC<SocialLoginProps>;
|
|
1810
1813
|
|
|
@@ -2474,6 +2477,7 @@ declare module '@authing/react-ui-components/components/_utils/guradHttp' {
|
|
|
2474
2477
|
}
|
|
2475
2478
|
declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
2476
2479
|
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
|
|
2480
|
+
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
2477
2481
|
export interface PhoneValidResult {
|
|
2478
2482
|
isValid: boolean;
|
|
2479
2483
|
phoneNumber: string;
|
|
@@ -2505,6 +2509,12 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
2505
2509
|
countryCode: string;
|
|
2506
2510
|
phoneNumber: string;
|
|
2507
2511
|
};
|
|
2512
|
+
/**
|
|
2513
|
+
*
|
|
2514
|
+
* @param config
|
|
2515
|
+
* @returns[socialConnectionObjs 社交身份源连接对象 enterpriseConnectionObjs 企业身份源连接对象 isNoMethod 是否没有身份源 ]
|
|
2516
|
+
*/
|
|
2517
|
+
export const useMethod: (config: LoginConfig) => any;
|
|
2508
2518
|
|
|
2509
2519
|
}
|
|
2510
2520
|
declare module '@authing/react-ui-components/components/_utils/http' {
|
|
@@ -2748,7 +2758,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
2748
2758
|
|
|
2749
2759
|
}
|
|
2750
2760
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
2751
|
-
const _default: "3.0.
|
|
2761
|
+
const _default: "3.0.31-rc.1";
|
|
2752
2762
|
export default _default;
|
|
2753
2763
|
|
|
2754
2764
|
}
|