@authing/react-ui-components 3.0.30-rc.2 → 3.0.31-rc.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/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.30-rc.2";
2761
+ const _default: "3.0.31-rc.0";
2752
2762
  export default _default;
2753
2763
 
2754
2764
  }
@@ -3121,7 +3131,8 @@ declare module '@authing/react-ui-components/examples' {
3121
3131
 
3122
3132
  }
3123
3133
  declare module '@authing/react-ui-components/index' {
3124
- export {};
3134
+ const _exports: typeof import("@authing/react-ui-components/components/index");
3135
+ export = _exports;
3125
3136
 
3126
3137
  }
3127
3138
  declare module '@authing/react-ui-components/reportWebVitals' {