@authing/react-ui-components 3.0.19-rc.1 → 3.0.19-rc.4
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 +20 -15
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1675,10 +1675,10 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
|
|
|
1675
1675
|
declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/FormItemIdentify' {
|
|
1676
1676
|
import { FormItemProps } from 'antd/lib/form';
|
|
1677
1677
|
import React from 'react';
|
|
1678
|
-
import {
|
|
1678
|
+
import { VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1679
1679
|
export interface FormItemIdentifyProps extends FormItemProps {
|
|
1680
1680
|
checkRepeat?: boolean;
|
|
1681
|
-
methods:
|
|
1681
|
+
methods: VerifyLoginMethods[];
|
|
1682
1682
|
currentMethod?: 'phone-code' | 'email-code';
|
|
1683
1683
|
areaCode?: string;
|
|
1684
1684
|
}
|
|
@@ -1688,9 +1688,7 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
|
|
|
1688
1688
|
declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/InputInternationPhone' {
|
|
1689
1689
|
import { InputProps } from 'antd/lib/input';
|
|
1690
1690
|
import React from 'react';
|
|
1691
|
-
import { VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1692
1691
|
export interface InputInternationPhoneProps extends InputProps {
|
|
1693
|
-
methods: VerifyLoginMethods[];
|
|
1694
1692
|
areaCode: string;
|
|
1695
1693
|
onAreaCodeChange: (areaCode: string) => void;
|
|
1696
1694
|
}
|
|
@@ -1711,11 +1709,6 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
|
|
|
1711
1709
|
declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/index' {
|
|
1712
1710
|
/// <reference types="react" />
|
|
1713
1711
|
import './styles.less';
|
|
1714
|
-
export const LanguageMap: any;
|
|
1715
|
-
export enum InputMethod {
|
|
1716
|
-
EmailCode = "email-code",
|
|
1717
|
-
PhoneCode = "phone-code"
|
|
1718
|
-
}
|
|
1719
1712
|
export const LoginWithVerifyCode: (props: any) => JSX.Element;
|
|
1720
1713
|
|
|
1721
1714
|
}
|
|
@@ -1893,11 +1886,14 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
|
|
|
1893
1886
|
}
|
|
1894
1887
|
declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
1895
1888
|
import React from 'react';
|
|
1896
|
-
import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
|
|
1889
|
+
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
|
|
1897
1890
|
export interface BindMFASmsProps {
|
|
1898
1891
|
mfaToken: string;
|
|
1899
1892
|
onBind: (phone: string) => void;
|
|
1900
1893
|
config: any;
|
|
1894
|
+
areaCode: string;
|
|
1895
|
+
setAreaCode: (areaCode: string) => void;
|
|
1896
|
+
isInternationPhone: boolean;
|
|
1901
1897
|
}
|
|
1902
1898
|
export const BindMFASms: React.FC<BindMFASmsProps>;
|
|
1903
1899
|
export interface VerifyMFASmsProps {
|
|
@@ -1906,13 +1902,15 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
|
1906
1902
|
onVerify: (code: number, data: any) => void;
|
|
1907
1903
|
sendCodeRef: React.RefObject<HTMLButtonElement>;
|
|
1908
1904
|
codeLength: number;
|
|
1905
|
+
areaCode: string;
|
|
1906
|
+
phoneCountryCode?: string;
|
|
1907
|
+
isInternationPhone: boolean;
|
|
1909
1908
|
}
|
|
1910
1909
|
export const VerifyMFASms: React.FC<VerifyMFASmsProps>;
|
|
1911
1910
|
export const MFASms: React.FC<{
|
|
1912
|
-
mfaToken: string;
|
|
1913
|
-
phone?: string;
|
|
1914
1911
|
mfaLogin: any;
|
|
1915
1912
|
config: MFAConfig;
|
|
1913
|
+
initData: GuardMFAInitData;
|
|
1916
1914
|
}>;
|
|
1917
1915
|
|
|
1918
1916
|
}
|
|
@@ -1975,6 +1973,7 @@ declare module '@authing/react-ui-components/components/MFA/interface' {
|
|
|
1975
1973
|
sort: number;
|
|
1976
1974
|
status: 0 | 1;
|
|
1977
1975
|
}[];
|
|
1976
|
+
phoneCountryCode?: string;
|
|
1978
1977
|
faceMfaEnabled: boolean;
|
|
1979
1978
|
totpMfaEnabled: boolean;
|
|
1980
1979
|
email?: string;
|
|
@@ -2103,12 +2102,13 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
|
|
|
2103
2102
|
}
|
|
2104
2103
|
declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
|
|
2105
2104
|
import React from 'react';
|
|
2106
|
-
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2105
|
+
import { Agreement, ApplicationConfig, VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2107
2106
|
export interface RegisterWithPhoneProps {
|
|
2108
2107
|
onRegister: Function;
|
|
2109
2108
|
agreements: Agreement[];
|
|
2110
2109
|
publicConfig?: ApplicationConfig;
|
|
2111
2110
|
registeContext?: any;
|
|
2111
|
+
verifyLoginMethods: VerifyLoginMethods[];
|
|
2112
2112
|
}
|
|
2113
2113
|
export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
|
|
2114
2114
|
|
|
@@ -2183,7 +2183,7 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeByPhone
|
|
|
2183
2183
|
import './style.less';
|
|
2184
2184
|
import { InputProps } from 'antd/lib/input';
|
|
2185
2185
|
export interface SendCodeByPhoneProps extends InputProps {
|
|
2186
|
-
data
|
|
2186
|
+
data?: string;
|
|
2187
2187
|
form?: any;
|
|
2188
2188
|
onSendCodeBefore?: any;
|
|
2189
2189
|
fieldName?: string;
|
|
@@ -2303,6 +2303,11 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2303
2303
|
__changeModule?: (moduleName: GuardModuleType, initData?: any) => void;
|
|
2304
2304
|
}
|
|
2305
2305
|
export const getDefaultG2Config: () => IG2Config;
|
|
2306
|
+
export const LanguageMap: any;
|
|
2307
|
+
export enum InputMethod {
|
|
2308
|
+
EmailCode = "email-code",
|
|
2309
|
+
PhoneCode = "phone-code"
|
|
2310
|
+
}
|
|
2306
2311
|
|
|
2307
2312
|
}
|
|
2308
2313
|
declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
|
|
@@ -2734,7 +2739,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
2734
2739
|
|
|
2735
2740
|
}
|
|
2736
2741
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
2737
|
-
const _default: "3.0.19-rc.
|
|
2742
|
+
const _default: "3.0.19-rc.4";
|
|
2738
2743
|
export default _default;
|
|
2739
2744
|
|
|
2740
2745
|
}
|