@authing/react-ui-components 3.1.7-rc.1 → 3.1.10-rc.1
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 +21 -24
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1173,15 +1173,14 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1173
1173
|
|
|
1174
1174
|
}
|
|
1175
1175
|
declare module '@authing/react-ui-components/components/CompleteInfo/businessRequest' {
|
|
1176
|
-
import {
|
|
1177
|
-
import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/components/CompleteInfo/interface';
|
|
1176
|
+
import { CompleteInfoRequest } from '@authing/react-ui-components/components/CompleteInfo/interface';
|
|
1178
1177
|
export enum CompleteInfoAuthFlowAction {
|
|
1179
1178
|
Complete = "complete-completion",
|
|
1180
1179
|
Skip = "skip-completion"
|
|
1181
1180
|
}
|
|
1182
1181
|
export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
|
|
1183
|
-
export const registerSkipMethod: (fnName:
|
|
1184
|
-
export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName:
|
|
1182
|
+
export const registerSkipMethod: (fnName: 'registerByEmail' | 'registerByPhoneCode', content: any) => Promise<import("authing-js-sdk").User> | undefined;
|
|
1183
|
+
export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: 'registerByEmail' | 'registerByPhoneCode', registerContent: any, registerProfile?: any) => Promise<import("authing-js-sdk").User | undefined>;
|
|
1185
1184
|
|
|
1186
1185
|
}
|
|
1187
1186
|
declare module '@authing/react-ui-components/components/CompleteInfo/core/completeInfo' {
|
|
@@ -1293,7 +1292,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1293
1292
|
}
|
|
1294
1293
|
export interface RegisterCompleteInfoInitData {
|
|
1295
1294
|
content: any;
|
|
1296
|
-
businessRequestName: 'registerByEmail' | 'registerByPhoneCode'
|
|
1295
|
+
businessRequestName: 'registerByEmail' | 'registerByPhoneCode';
|
|
1297
1296
|
}
|
|
1298
1297
|
export interface CompleteInfoRequest {
|
|
1299
1298
|
fieldValues: {
|
|
@@ -1304,8 +1303,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1304
1303
|
}
|
|
1305
1304
|
export enum OmitCompleteInfo {
|
|
1306
1305
|
'registerByEmail' = "email",
|
|
1307
|
-
'registerByPhoneCode' = "phone"
|
|
1308
|
-
'registerByEmailCode' = "email"
|
|
1306
|
+
'registerByPhoneCode' = "phone"
|
|
1309
1307
|
}
|
|
1310
1308
|
|
|
1311
1309
|
}
|
|
@@ -2339,20 +2337,6 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
|
|
|
2339
2337
|
}
|
|
2340
2338
|
export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
|
|
2341
2339
|
|
|
2342
|
-
}
|
|
2343
|
-
declare module '@authing/react-ui-components/components/Register/core/WithEmailCode' {
|
|
2344
|
-
import React from 'react';
|
|
2345
|
-
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2346
|
-
export interface RegisterWithEmailCodeProps {
|
|
2347
|
-
onRegisterSuccess: Function;
|
|
2348
|
-
onRegisterFailed: Function;
|
|
2349
|
-
onBeforeRegister?: Function;
|
|
2350
|
-
agreements: Agreement[];
|
|
2351
|
-
publicConfig?: ApplicationConfig;
|
|
2352
|
-
registeContext?: any;
|
|
2353
|
-
}
|
|
2354
|
-
export const RegisterWithEmailCode: React.FC<RegisterWithEmailCodeProps>;
|
|
2355
|
-
|
|
2356
2340
|
}
|
|
2357
2341
|
declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
|
|
2358
2342
|
import React from 'react';
|
|
@@ -2420,11 +2404,11 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
|
2420
2404
|
}
|
|
2421
2405
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
|
|
2422
2406
|
import { FC } from 'react';
|
|
2423
|
-
import { EmailScene } from 'authing-js-sdk';
|
|
2424
2407
|
import './style.less';
|
|
2425
2408
|
import { InputProps } from 'antd/lib/input';
|
|
2409
|
+
import { EmailScene } from '@authing/react-ui-components/components/Type/index';
|
|
2426
2410
|
export interface SendCodeByEmailProps extends InputProps {
|
|
2427
|
-
data
|
|
2411
|
+
data: string;
|
|
2428
2412
|
form?: any;
|
|
2429
2413
|
onSendCodeBefore?: any;
|
|
2430
2414
|
fieldName?: string;
|
|
@@ -2575,6 +2559,19 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2575
2559
|
showChangeLanguage: boolean;
|
|
2576
2560
|
};
|
|
2577
2561
|
}
|
|
2562
|
+
export enum EmailScene {
|
|
2563
|
+
WELCOME_EMAIL = "WELCOME_EMAIL",
|
|
2564
|
+
FIRST_CREATED_USER = "FIRST_CREATED_USER",
|
|
2565
|
+
REGISTER_VERIFY_CODE = "REGISTER_VERIFY_CODE",
|
|
2566
|
+
LOGIN_VERIFY_CODE = "LOGIN_VERIFY_CODE",
|
|
2567
|
+
MFA_VERIFY_CODE = "MFA_VERIFY_CODE",
|
|
2568
|
+
INFORMATION_COMPLETION_VERIFY_CODE = "INFORMATION_COMPLETION_VERIFY_CODE",
|
|
2569
|
+
FIRST_EMAIL_LOGIN_VERIFY = "FIRST_EMAIL_LOGIN_VERIFY",
|
|
2570
|
+
CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
|
|
2571
|
+
RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
|
|
2572
|
+
EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
|
|
2573
|
+
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
|
|
2574
|
+
}
|
|
2578
2575
|
|
|
2579
2576
|
}
|
|
2580
2577
|
declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
|
|
@@ -3204,7 +3201,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3204
3201
|
|
|
3205
3202
|
}
|
|
3206
3203
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3207
|
-
const _default: "3.1.
|
|
3204
|
+
const _default: "3.1.10-rc.1";
|
|
3208
3205
|
export default _default;
|
|
3209
3206
|
|
|
3210
3207
|
}
|