@authing/react-ui-components 3.0.19-rc.11 → 3.0.19-rc.12
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 +9 -9
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1354,8 +1354,8 @@ declare module '@authing/react-ui-components/components/Guard/event' {
|
|
|
1354
1354
|
export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents {
|
|
1355
1355
|
onBeforeChangeModule?: (key: GuardModuleType, initData?: any) => boolean | Promise<boolean>;
|
|
1356
1356
|
}
|
|
1357
|
-
export const guardEventsFilter: (props: any) => GuardEvents;
|
|
1358
|
-
export const guardEventsHijacking: (events: GuardEvents, openEventsMapping
|
|
1357
|
+
export const guardEventsFilter: (props: any, openEventsMapping?: boolean | undefined) => GuardEvents;
|
|
1358
|
+
export const guardEventsHijacking: (events: GuardEvents, openEventsMapping?: boolean | undefined) => GuardEvents;
|
|
1359
1359
|
|
|
1360
1360
|
}
|
|
1361
1361
|
declare module '@authing/react-ui-components/components/Guard/index' {
|
|
@@ -1897,7 +1897,7 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
|
1897
1897
|
config: any;
|
|
1898
1898
|
areaCode: string;
|
|
1899
1899
|
setAreaCode: (areaCode: string) => void;
|
|
1900
|
-
|
|
1900
|
+
isInternationSms: boolean;
|
|
1901
1901
|
}
|
|
1902
1902
|
export const BindMFASms: React.FC<BindMFASmsProps>;
|
|
1903
1903
|
export interface VerifyMFASmsProps {
|
|
@@ -1908,7 +1908,7 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
|
1908
1908
|
codeLength: number;
|
|
1909
1909
|
areaCode: string;
|
|
1910
1910
|
phoneCountryCode?: string;
|
|
1911
|
-
|
|
1911
|
+
isInternationSms: boolean;
|
|
1912
1912
|
}
|
|
1913
1913
|
export const VerifyMFASms: React.FC<VerifyMFASmsProps>;
|
|
1914
1914
|
export const MFASms: React.FC<{
|
|
@@ -2106,13 +2106,12 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
|
|
|
2106
2106
|
}
|
|
2107
2107
|
declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
|
|
2108
2108
|
import React from 'react';
|
|
2109
|
-
import { Agreement, ApplicationConfig
|
|
2109
|
+
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2110
2110
|
export interface RegisterWithPhoneProps {
|
|
2111
2111
|
onRegister: Function;
|
|
2112
2112
|
agreements: Agreement[];
|
|
2113
2113
|
publicConfig?: ApplicationConfig;
|
|
2114
2114
|
registeContext?: any;
|
|
2115
|
-
verifyLoginMethods: VerifyLoginMethods[];
|
|
2116
2115
|
}
|
|
2117
2116
|
export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
|
|
2118
2117
|
|
|
@@ -2194,6 +2193,7 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeByPhone
|
|
|
2194
2193
|
autoSubmit?: boolean;
|
|
2195
2194
|
scene: SceneType;
|
|
2196
2195
|
areaCode?: string;
|
|
2196
|
+
isInternationSms?: boolean;
|
|
2197
2197
|
}
|
|
2198
2198
|
export const SendCodeByPhone: FC<SendCodeByPhoneProps>;
|
|
2199
2199
|
|
|
@@ -2498,9 +2498,9 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
2498
2498
|
* @param areaCode 区号
|
|
2499
2499
|
* @returns
|
|
2500
2500
|
*/
|
|
2501
|
-
export const parsePhone: (fieldValue: string, areaCode?: string) => {
|
|
2502
|
-
countryCode: string;
|
|
2501
|
+
export const parsePhone: (isInternationSms: boolean, fieldValue: string, areaCode?: string) => {
|
|
2503
2502
|
phoneNumber: string;
|
|
2503
|
+
countryCode: string;
|
|
2504
2504
|
};
|
|
2505
2505
|
|
|
2506
2506
|
}
|
|
@@ -2744,7 +2744,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
2744
2744
|
|
|
2745
2745
|
}
|
|
2746
2746
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
2747
|
-
const _default: "3.0.19-rc.
|
|
2747
|
+
const _default: "3.0.19-rc.12";
|
|
2748
2748
|
export default _default;
|
|
2749
2749
|
|
|
2750
2750
|
}
|