@authing/react-ui-components 3.1.18 → 3.1.19-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 +42 -3
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1195,6 +1195,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/rota
|
|
|
1195
1195
|
/// <reference types="react" />
|
|
1196
1196
|
interface RotateResetProps {
|
|
1197
1197
|
onReset: any;
|
|
1198
|
+
onFinishCallBack?: any;
|
|
1198
1199
|
}
|
|
1199
1200
|
export const RotateReset: (props: RotateResetProps) => JSX.Element;
|
|
1200
1201
|
export {};
|
|
@@ -1208,6 +1209,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1208
1209
|
}>;
|
|
1209
1210
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1210
1211
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1212
|
+
export const GuardNoticePasswordResetView: React.FC;
|
|
1211
1213
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
1212
1214
|
|
|
1213
1215
|
}
|
|
@@ -1678,6 +1680,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1678
1680
|
MFA = "mfa",
|
|
1679
1681
|
FORGET_PWD = "forgetPassword",
|
|
1680
1682
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1683
|
+
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1681
1684
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1682
1685
|
DOWNLOAD_AT = "downloadAT",
|
|
1683
1686
|
BIND_TOTP = "bindTotp",
|
|
@@ -1688,7 +1691,8 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1688
1691
|
RECOVERY_CODE = "recoveryCode",
|
|
1689
1692
|
SUBMIT_SUCCESS = "submitSuccess",
|
|
1690
1693
|
IDENTITY_BINDING_ASK = "identityBindingAsk",
|
|
1691
|
-
IDENTITY_BINDING = "identityBinding"
|
|
1694
|
+
IDENTITY_BINDING = "identityBinding",
|
|
1695
|
+
SELF_UNLOCK = "selfUnlock"
|
|
1692
1696
|
}
|
|
1693
1697
|
export interface GuardModuleAction {
|
|
1694
1698
|
action: string;
|
|
@@ -1763,6 +1767,7 @@ declare module '@authing/react-ui-components/components/IdentityBinding/business
|
|
|
1763
1767
|
export interface PasswordParams {
|
|
1764
1768
|
account: string;
|
|
1765
1769
|
password: string;
|
|
1770
|
+
captchaCode: string;
|
|
1766
1771
|
}
|
|
1767
1772
|
export enum IdentityBindingAction {
|
|
1768
1773
|
CreateUser = "create-federation-account",
|
|
@@ -2531,6 +2536,38 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2531
2536
|
declare module '@authing/react-ui-components/components/Register/utils' {
|
|
2532
2537
|
export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
|
|
2533
2538
|
|
|
2539
|
+
}
|
|
2540
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2541
|
+
/// <reference types="react" />
|
|
2542
|
+
export enum InputMethodMap {
|
|
2543
|
+
email = "email-code",
|
|
2544
|
+
phone = "phone-code"
|
|
2545
|
+
}
|
|
2546
|
+
export const SelfUnlock: () => JSX.Element;
|
|
2547
|
+
|
|
2548
|
+
}
|
|
2549
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
2550
|
+
import React from 'react';
|
|
2551
|
+
export const GuardUnlockView: React.FC;
|
|
2552
|
+
|
|
2553
|
+
}
|
|
2554
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
|
|
2555
|
+
import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
|
|
2556
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
2557
|
+
export interface ForgetPasswordEvents extends IG2Events {
|
|
2558
|
+
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
2559
|
+
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2560
|
+
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
2561
|
+
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2562
|
+
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
2563
|
+
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2564
|
+
}
|
|
2565
|
+
export interface ForgetPasswordConfig extends IG2Config {
|
|
2566
|
+
}
|
|
2567
|
+
export interface ForgetPasswordProps extends IG2FCProps, ForgetPasswordEvents {
|
|
2568
|
+
config: Partial<IG2Config>;
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2534
2571
|
}
|
|
2535
2572
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
2536
2573
|
import React, { FC } from 'react';
|
|
@@ -2731,7 +2768,8 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2731
2768
|
CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
|
|
2732
2769
|
RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
|
|
2733
2770
|
EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
|
|
2734
|
-
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
|
|
2771
|
+
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE",
|
|
2772
|
+
SELF_UNLOCKING_VERIFY_CODE = "SELF_UNLOCKING_VERIFY_CODE"
|
|
2735
2773
|
}
|
|
2736
2774
|
|
|
2737
2775
|
}
|
|
@@ -3314,6 +3352,7 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3314
3352
|
MFA = 1635,
|
|
3315
3353
|
ABORT_FLOW = 1699,
|
|
3316
3354
|
COMPLETE_INFO = 1642,
|
|
3355
|
+
UNLOCK = 1643,
|
|
3317
3356
|
FLOW_END = 1600,
|
|
3318
3357
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3319
3358
|
FORCED_PASSWORD_RESET = 2058
|
|
@@ -3413,7 +3452,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3413
3452
|
|
|
3414
3453
|
}
|
|
3415
3454
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3416
|
-
const _default: "3.1.
|
|
3455
|
+
const _default: "3.1.19-rc.1";
|
|
3417
3456
|
export default _default;
|
|
3418
3457
|
|
|
3419
3458
|
}
|