@authing/react-ui-components 3.1.10-rc.2 → 3.1.10-rc.3
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 +25 -21
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1173,14 +1173,15 @@ 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 {
|
|
1176
|
+
import { User } from 'authing-js-sdk';
|
|
1177
|
+
import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/components/CompleteInfo/interface';
|
|
1177
1178
|
export enum CompleteInfoAuthFlowAction {
|
|
1178
1179
|
Complete = "complete-completion",
|
|
1179
1180
|
Skip = "skip-completion"
|
|
1180
1181
|
}
|
|
1181
1182
|
export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
|
|
1182
|
-
export const registerSkipMethod: (fnName: '
|
|
1183
|
-
export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: '
|
|
1183
|
+
export const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>> | Promise<User> | undefined;
|
|
1184
|
+
export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<User | import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> | undefined>;
|
|
1184
1185
|
|
|
1185
1186
|
}
|
|
1186
1187
|
declare module '@authing/react-ui-components/components/CompleteInfo/core/completeInfo' {
|
|
@@ -1292,7 +1293,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1292
1293
|
}
|
|
1293
1294
|
export interface RegisterCompleteInfoInitData {
|
|
1294
1295
|
content: any;
|
|
1295
|
-
businessRequestName: 'registerByEmail' | 'registerByPhoneCode';
|
|
1296
|
+
businessRequestName: 'registerByEmail' | 'registerByPhoneCode' | 'registerByEmailCode';
|
|
1296
1297
|
}
|
|
1297
1298
|
export interface CompleteInfoRequest {
|
|
1298
1299
|
fieldValues: {
|
|
@@ -1303,7 +1304,8 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1303
1304
|
}
|
|
1304
1305
|
export enum OmitCompleteInfo {
|
|
1305
1306
|
'registerByEmail' = "email",
|
|
1306
|
-
'registerByPhoneCode' = "phone"
|
|
1307
|
+
'registerByPhoneCode' = "phone",
|
|
1308
|
+
'registerByEmailCode' = "email"
|
|
1307
1309
|
}
|
|
1308
1310
|
|
|
1309
1311
|
}
|
|
@@ -2337,6 +2339,20 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
|
|
|
2337
2339
|
}
|
|
2338
2340
|
export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
|
|
2339
2341
|
|
|
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
|
+
|
|
2340
2356
|
}
|
|
2341
2357
|
declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
|
|
2342
2358
|
import React from 'react';
|
|
@@ -2404,11 +2420,11 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
|
2404
2420
|
}
|
|
2405
2421
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
|
|
2406
2422
|
import { FC } from 'react';
|
|
2423
|
+
import { EmailScene } from 'authing-js-sdk';
|
|
2407
2424
|
import './style.less';
|
|
2408
2425
|
import { InputProps } from 'antd/lib/input';
|
|
2409
|
-
import { EmailScene } from '@authing/react-ui-components/components/Type/index';
|
|
2410
2426
|
export interface SendCodeByEmailProps extends InputProps {
|
|
2411
|
-
data
|
|
2427
|
+
data?: string;
|
|
2412
2428
|
form?: any;
|
|
2413
2429
|
onSendCodeBefore?: any;
|
|
2414
2430
|
fieldName?: string;
|
|
@@ -2476,6 +2492,7 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
|
2476
2492
|
text?: string;
|
|
2477
2493
|
className?: string;
|
|
2478
2494
|
onClick?: any;
|
|
2495
|
+
disabled?: boolean;
|
|
2479
2496
|
}
|
|
2480
2497
|
const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
|
|
2481
2498
|
export default _default;
|
|
@@ -2559,19 +2576,6 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2559
2576
|
showChangeLanguage: boolean;
|
|
2560
2577
|
};
|
|
2561
2578
|
}
|
|
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
|
-
}
|
|
2575
2579
|
|
|
2576
2580
|
}
|
|
2577
2581
|
declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
|
|
@@ -3201,7 +3205,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3201
3205
|
|
|
3202
3206
|
}
|
|
3203
3207
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3204
|
-
const _default: "3.1.10-rc.
|
|
3208
|
+
const _default: "3.1.10-rc.3";
|
|
3205
3209
|
export default _default;
|
|
3206
3210
|
|
|
3207
3211
|
}
|