@authing/react-ui-components 3.1.28-rc.1 → 3.1.28-rc.2
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 -19
- package/lib/index.min.js +1 -1
- package/lib/index.min.js.LICENSE.txt +0 -9
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -638,11 +638,19 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoo
|
|
|
638
638
|
|
|
639
639
|
}
|
|
640
640
|
declare module '@authing/react-ui-components/components/AuthingGuard/constants' {
|
|
641
|
-
import { UserConfig, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
641
|
+
import { UserConfig, LoginMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
642
642
|
export const OTP_MFA_CODE = 1635;
|
|
643
643
|
export const APP_MFA_CODE = 1636;
|
|
644
644
|
export const NEED_CAPTCHA = 2000;
|
|
645
|
-
export const LOGIN_METHODS_MAP:
|
|
645
|
+
export const LOGIN_METHODS_MAP: () => {
|
|
646
|
+
password: string;
|
|
647
|
+
"phone-code": string;
|
|
648
|
+
"app-qrcode": string;
|
|
649
|
+
"wechat-miniprogram-qrcode": string;
|
|
650
|
+
ldap: string;
|
|
651
|
+
ad: string;
|
|
652
|
+
"wechatmp-qrcode": string;
|
|
653
|
+
};
|
|
646
654
|
export const REGISTER_METHODS_MAP: any;
|
|
647
655
|
export const HIDE_SOCIALS: string[];
|
|
648
656
|
export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
|
|
@@ -813,8 +821,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
|
|
|
813
821
|
PhoneCode = "phone-code",
|
|
814
822
|
WxMinQr = "wechat-miniprogram-qrcode",
|
|
815
823
|
AD = "ad",
|
|
816
|
-
WechatMpQrcode = "wechatmp-qrcode"
|
|
817
|
-
Landray = "landray"
|
|
824
|
+
WechatMpQrcode = "wechatmp-qrcode"
|
|
818
825
|
}
|
|
819
826
|
export enum RegisterMethods {
|
|
820
827
|
Email = "email",
|
|
@@ -1956,17 +1963,6 @@ declare module '@authing/react-ui-components/components/Login/core/withLDAP' {
|
|
|
1956
1963
|
export const LoginWithLDAP: (props: LoginWithLDAPProps) => JSX.Element;
|
|
1957
1964
|
export {};
|
|
1958
1965
|
|
|
1959
|
-
}
|
|
1960
|
-
declare module '@authing/react-ui-components/components/Login/core/withLandrayQrcode' {
|
|
1961
|
-
/// <reference types="react" />
|
|
1962
|
-
interface LoginWithLandrayQrcodeProps {
|
|
1963
|
-
onLoginSuccess: any;
|
|
1964
|
-
canLoop: boolean;
|
|
1965
|
-
qrCodeScanOptions: any;
|
|
1966
|
-
}
|
|
1967
|
-
export const LoginWithLandrayQrcode: (props: LoginWithLandrayQrcodeProps) => JSX.Element;
|
|
1968
|
-
export {};
|
|
1969
|
-
|
|
1970
1966
|
}
|
|
1971
1967
|
declare module '@authing/react-ui-components/components/Login/core/withPassword/FormItemAccount' {
|
|
1972
1968
|
import { FormItemProps } from 'antd/lib/form';
|
|
@@ -2923,7 +2919,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2923
2919
|
import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
2924
2920
|
import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
|
|
2925
2921
|
import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
|
|
2926
|
-
import {
|
|
2922
|
+
import { RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
2927
2923
|
export const getPublicConfig: (appId: string) => ApplicationConfig;
|
|
2928
2924
|
export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
|
|
2929
2925
|
export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
|
|
@@ -2959,8 +2955,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2959
2955
|
__unAuthFlow__?: boolean | undefined;
|
|
2960
2956
|
autoRegister?: boolean | undefined;
|
|
2961
2957
|
disableResetPwd?: boolean | undefined;
|
|
2962
|
-
defaultLoginMethod?: LoginMethods | undefined;
|
|
2963
|
-
loginMethods?: LoginMethods[] | undefined;
|
|
2958
|
+
defaultLoginMethod?: import("@authing/react-ui-components/components/AuthingGuard/types/index").LoginMethods | undefined;
|
|
2959
|
+
loginMethods?: import("@authing/react-ui-components/components/AuthingGuard/types/index").LoginMethods[] | undefined;
|
|
2964
2960
|
passwordLoginMethods?: import("@authing/react-ui-components/components/AuthingGuard/api/index").PasswordLoginMethods[] | undefined;
|
|
2965
2961
|
socialConnections?: import("authing-js-sdk").SocialConnectionProvider[] | undefined;
|
|
2966
2962
|
socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
|
|
@@ -3537,7 +3533,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3537
3533
|
|
|
3538
3534
|
}
|
|
3539
3535
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3540
|
-
const _default: "3.1.28-rc.
|
|
3536
|
+
const _default: "3.1.28-rc.2";
|
|
3541
3537
|
export default _default;
|
|
3542
3538
|
|
|
3543
3539
|
}
|