@authing/react-ui-components 3.1.19-hep.0 → 3.1.19-hep.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 +41 -3
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1244,6 +1244,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/rota
|
|
|
1244
1244
|
/// <reference types="react" />
|
|
1245
1245
|
interface RotateResetProps {
|
|
1246
1246
|
onReset: any;
|
|
1247
|
+
onFinishCallBack?: any;
|
|
1247
1248
|
}
|
|
1248
1249
|
export const RotateReset: (props: RotateResetProps) => JSX.Element;
|
|
1249
1250
|
export {};
|
|
@@ -1257,6 +1258,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1257
1258
|
}>;
|
|
1258
1259
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1259
1260
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1261
|
+
export const GuardNoticePasswordResetView: React.FC;
|
|
1260
1262
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
1261
1263
|
|
|
1262
1264
|
}
|
|
@@ -1731,6 +1733,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1731
1733
|
MFA = "mfa",
|
|
1732
1734
|
FORGET_PWD = "forgetPassword",
|
|
1733
1735
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1736
|
+
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1734
1737
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1735
1738
|
DOWNLOAD_AT = "downloadAT",
|
|
1736
1739
|
BIND_TOTP = "bindTotp",
|
|
@@ -1743,7 +1746,8 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1743
1746
|
SUBMIT_SUCCESS = "submitSuccess",
|
|
1744
1747
|
IDENTITY_BINDING_ASK = "identityBindingAsk",
|
|
1745
1748
|
IDENTITY_BINDING = "identityBinding",
|
|
1746
|
-
ACCOUNT_MERGE = "accountMerge"
|
|
1749
|
+
ACCOUNT_MERGE = "accountMerge",
|
|
1750
|
+
SELF_UNLOCK = "selfUnlock"
|
|
1747
1751
|
}
|
|
1748
1752
|
export interface GuardModuleAction {
|
|
1749
1753
|
action: string;
|
|
@@ -2588,6 +2592,38 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2588
2592
|
declare module '@authing/react-ui-components/components/Register/utils' {
|
|
2589
2593
|
export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
|
|
2590
2594
|
|
|
2595
|
+
}
|
|
2596
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2597
|
+
/// <reference types="react" />
|
|
2598
|
+
export enum InputMethodMap {
|
|
2599
|
+
email = "email-code",
|
|
2600
|
+
phone = "phone-code"
|
|
2601
|
+
}
|
|
2602
|
+
export const SelfUnlock: () => JSX.Element;
|
|
2603
|
+
|
|
2604
|
+
}
|
|
2605
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
2606
|
+
import React from 'react';
|
|
2607
|
+
export const GuardUnlockView: React.FC;
|
|
2608
|
+
|
|
2609
|
+
}
|
|
2610
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
|
|
2611
|
+
import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
|
|
2612
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
2613
|
+
export interface ForgetPasswordEvents extends IG2Events {
|
|
2614
|
+
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
2615
|
+
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2616
|
+
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
2617
|
+
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2618
|
+
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
2619
|
+
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2620
|
+
}
|
|
2621
|
+
export interface ForgetPasswordConfig extends IG2Config {
|
|
2622
|
+
}
|
|
2623
|
+
export interface ForgetPasswordProps extends IG2FCProps, ForgetPasswordEvents {
|
|
2624
|
+
config: Partial<IG2Config>;
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2591
2627
|
}
|
|
2592
2628
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
2593
2629
|
import React, { FC } from 'react';
|
|
@@ -2788,7 +2824,8 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2788
2824
|
CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
|
|
2789
2825
|
RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
|
|
2790
2826
|
EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
|
|
2791
|
-
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
|
|
2827
|
+
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE",
|
|
2828
|
+
SELF_UNLOCKING_VERIFY_CODE = "SELF_UNLOCKING_VERIFY_CODE"
|
|
2792
2829
|
}
|
|
2793
2830
|
|
|
2794
2831
|
}
|
|
@@ -3371,6 +3408,7 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3371
3408
|
MFA = 1635,
|
|
3372
3409
|
ABORT_FLOW = 1699,
|
|
3373
3410
|
COMPLETE_INFO = 1642,
|
|
3411
|
+
UNLOCK = 1643,
|
|
3374
3412
|
FLOW_END = 1600,
|
|
3375
3413
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3376
3414
|
FORCED_PASSWORD_RESET = 2058,
|
|
@@ -3472,7 +3510,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3472
3510
|
|
|
3473
3511
|
}
|
|
3474
3512
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3475
|
-
const _default: "3.1.19-hep.
|
|
3513
|
+
const _default: "3.1.19-hep.1";
|
|
3476
3514
|
export default _default;
|
|
3477
3515
|
|
|
3478
3516
|
}
|