@authing/react-ui-components 3.0.30 → 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 +15 -5
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/package.json +9 -4
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.0";
|
|
2752
2762
|
export default _default;
|
|
2753
2763
|
|
|
2754
2764
|
}
|
|
@@ -2908,13 +2918,13 @@ declare module '@authing/react-ui-components/config/webpack.config' {
|
|
|
2908
2918
|
mimetype: string;
|
|
2909
2919
|
name: string;
|
|
2910
2920
|
customize?: undefined;
|
|
2921
|
+
presets?: undefined;
|
|
2911
2922
|
plugins?: undefined;
|
|
2912
2923
|
cacheDirectory?: undefined;
|
|
2913
2924
|
cacheCompression?: undefined;
|
|
2914
2925
|
compact?: undefined;
|
|
2915
2926
|
babelrc?: undefined;
|
|
2916
2927
|
configFile?: undefined;
|
|
2917
|
-
presets?: undefined;
|
|
2918
2928
|
sourceMaps?: undefined;
|
|
2919
2929
|
inputSourceMap?: undefined;
|
|
2920
2930
|
};
|
|
@@ -2930,13 +2940,13 @@ declare module '@authing/react-ui-components/config/webpack.config' {
|
|
|
2930
2940
|
name: string;
|
|
2931
2941
|
mimetype?: undefined;
|
|
2932
2942
|
customize?: undefined;
|
|
2943
|
+
presets?: undefined;
|
|
2933
2944
|
plugins?: undefined;
|
|
2934
2945
|
cacheDirectory?: undefined;
|
|
2935
2946
|
cacheCompression?: undefined;
|
|
2936
2947
|
compact?: undefined;
|
|
2937
2948
|
babelrc?: undefined;
|
|
2938
2949
|
configFile?: undefined;
|
|
2939
|
-
presets?: undefined;
|
|
2940
2950
|
sourceMaps?: undefined;
|
|
2941
2951
|
inputSourceMap?: undefined;
|
|
2942
2952
|
};
|
|
@@ -2950,6 +2960,7 @@ declare module '@authing/react-ui-components/config/webpack.config' {
|
|
|
2950
2960
|
loader: string;
|
|
2951
2961
|
options: {
|
|
2952
2962
|
customize: string;
|
|
2963
|
+
presets: string[];
|
|
2953
2964
|
plugins: (string | false | (string | {
|
|
2954
2965
|
loaderMap: {
|
|
2955
2966
|
svg: {
|
|
@@ -2968,7 +2979,6 @@ declare module '@authing/react-ui-components/config/webpack.config' {
|
|
|
2968
2979
|
name?: undefined;
|
|
2969
2980
|
babelrc?: undefined;
|
|
2970
2981
|
configFile?: undefined;
|
|
2971
|
-
presets?: undefined;
|
|
2972
2982
|
sourceMaps?: undefined;
|
|
2973
2983
|
inputSourceMap?: undefined;
|
|
2974
2984
|
};
|
|
@@ -3043,13 +3053,13 @@ declare module '@authing/react-ui-components/config/webpack.config' {
|
|
|
3043
3053
|
limit?: undefined;
|
|
3044
3054
|
mimetype?: undefined;
|
|
3045
3055
|
customize?: undefined;
|
|
3056
|
+
presets?: undefined;
|
|
3046
3057
|
plugins?: undefined;
|
|
3047
3058
|
cacheDirectory?: undefined;
|
|
3048
3059
|
cacheCompression?: undefined;
|
|
3049
3060
|
compact?: undefined;
|
|
3050
3061
|
babelrc?: undefined;
|
|
3051
3062
|
configFile?: undefined;
|
|
3052
|
-
presets?: undefined;
|
|
3053
3063
|
sourceMaps?: undefined;
|
|
3054
3064
|
inputSourceMap?: undefined;
|
|
3055
3065
|
};
|