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