@authing/react-ui-components 3.1.20-rc.1 → 3.1.20-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 +45 -4
- 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
|
@@ -1192,6 +1192,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/rota
|
|
|
1192
1192
|
/// <reference types="react" />
|
|
1193
1193
|
interface RotateResetProps {
|
|
1194
1194
|
onReset: any;
|
|
1195
|
+
onFinishCallBack?: any;
|
|
1195
1196
|
}
|
|
1196
1197
|
export const RotateReset: (props: RotateResetProps) => JSX.Element;
|
|
1197
1198
|
export {};
|
|
@@ -1205,6 +1206,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1205
1206
|
}>;
|
|
1206
1207
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1207
1208
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1209
|
+
export const GuardNoticePasswordResetView: React.FC;
|
|
1208
1210
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
1209
1211
|
|
|
1210
1212
|
}
|
|
@@ -1401,7 +1403,10 @@ declare module '@authing/react-ui-components/components/DownloadAuthenticator/in
|
|
|
1401
1403
|
declare module '@authing/react-ui-components/components/Error/index' {
|
|
1402
1404
|
import React from 'react';
|
|
1403
1405
|
import './styles.less';
|
|
1404
|
-
export
|
|
1406
|
+
export interface ErrorProps {
|
|
1407
|
+
error?: Error;
|
|
1408
|
+
}
|
|
1409
|
+
export const GuardErrorView: React.FC<ErrorProps>;
|
|
1405
1410
|
|
|
1406
1411
|
}
|
|
1407
1412
|
declare module '@authing/react-ui-components/components/Error/interface' {
|
|
@@ -1677,6 +1682,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1677
1682
|
MFA = "mfa",
|
|
1678
1683
|
FORGET_PWD = "forgetPassword",
|
|
1679
1684
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1685
|
+
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1680
1686
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1681
1687
|
DOWNLOAD_AT = "downloadAT",
|
|
1682
1688
|
BIND_TOTP = "bindTotp",
|
|
@@ -1687,7 +1693,8 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1687
1693
|
RECOVERY_CODE = "recoveryCode",
|
|
1688
1694
|
SUBMIT_SUCCESS = "submitSuccess",
|
|
1689
1695
|
IDENTITY_BINDING_ASK = "identityBindingAsk",
|
|
1690
|
-
IDENTITY_BINDING = "identityBinding"
|
|
1696
|
+
IDENTITY_BINDING = "identityBinding",
|
|
1697
|
+
SELF_UNLOCK = "selfUnlock"
|
|
1691
1698
|
}
|
|
1692
1699
|
export interface GuardModuleAction {
|
|
1693
1700
|
action: string;
|
|
@@ -2538,6 +2545,38 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2538
2545
|
declare module '@authing/react-ui-components/components/Register/utils' {
|
|
2539
2546
|
export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
|
|
2540
2547
|
|
|
2548
|
+
}
|
|
2549
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2550
|
+
/// <reference types="react" />
|
|
2551
|
+
export enum InputMethodMap {
|
|
2552
|
+
email = "email-code",
|
|
2553
|
+
phone = "phone-code"
|
|
2554
|
+
}
|
|
2555
|
+
export const SelfUnlock: () => JSX.Element;
|
|
2556
|
+
|
|
2557
|
+
}
|
|
2558
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
2559
|
+
import React from 'react';
|
|
2560
|
+
export const GuardUnlockView: React.FC;
|
|
2561
|
+
|
|
2562
|
+
}
|
|
2563
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
|
|
2564
|
+
import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
|
|
2565
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
2566
|
+
export interface ForgetPasswordEvents extends IG2Events {
|
|
2567
|
+
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
2568
|
+
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2569
|
+
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
2570
|
+
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2571
|
+
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
2572
|
+
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2573
|
+
}
|
|
2574
|
+
export interface ForgetPasswordConfig extends IG2Config {
|
|
2575
|
+
}
|
|
2576
|
+
export interface ForgetPasswordProps extends IG2FCProps, ForgetPasswordEvents {
|
|
2577
|
+
config: Partial<IG2Config>;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2541
2580
|
}
|
|
2542
2581
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
2543
2582
|
import React, { FC } from 'react';
|
|
@@ -2733,7 +2772,8 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2733
2772
|
CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
|
|
2734
2773
|
RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
|
|
2735
2774
|
EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
|
|
2736
|
-
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
|
|
2775
|
+
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE",
|
|
2776
|
+
SELF_UNLOCKING_VERIFY_CODE = "SELF_UNLOCKING_VERIFY_CODE"
|
|
2737
2777
|
}
|
|
2738
2778
|
|
|
2739
2779
|
}
|
|
@@ -3323,6 +3363,7 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3323
3363
|
MFA = 1635,
|
|
3324
3364
|
ABORT_FLOW = 1699,
|
|
3325
3365
|
COMPLETE_INFO = 1642,
|
|
3366
|
+
UNLOCK = 1643,
|
|
3326
3367
|
FLOW_END = 1600,
|
|
3327
3368
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3328
3369
|
FORCED_PASSWORD_RESET = 2058
|
|
@@ -3422,7 +3463,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3422
3463
|
|
|
3423
3464
|
}
|
|
3424
3465
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3425
|
-
const _default: "3.1.20-rc.
|
|
3466
|
+
const _default: "3.1.20-rc.4";
|
|
3426
3467
|
export default _default;
|
|
3427
3468
|
|
|
3428
3469
|
}
|