@authing/react-ui-components 3.1.18-rc.1 → 3.1.18-rc.13
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 +39 -2
- 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;
|
|
@@ -2531,6 +2535,38 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2531
2535
|
declare module '@authing/react-ui-components/components/Register/utils' {
|
|
2532
2536
|
export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
|
|
2533
2537
|
|
|
2538
|
+
}
|
|
2539
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2540
|
+
/// <reference types="react" />
|
|
2541
|
+
export enum InputMethodMap {
|
|
2542
|
+
email = "email-code",
|
|
2543
|
+
phone = "phone-code"
|
|
2544
|
+
}
|
|
2545
|
+
export const SelfUnlock: () => JSX.Element;
|
|
2546
|
+
|
|
2547
|
+
}
|
|
2548
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
2549
|
+
import React from 'react';
|
|
2550
|
+
export const GuardUnlockView: React.FC;
|
|
2551
|
+
|
|
2552
|
+
}
|
|
2553
|
+
declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
|
|
2554
|
+
import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
|
|
2555
|
+
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
2556
|
+
export interface ForgetPasswordEvents extends IG2Events {
|
|
2557
|
+
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
2558
|
+
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2559
|
+
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
2560
|
+
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2561
|
+
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
2562
|
+
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2563
|
+
}
|
|
2564
|
+
export interface ForgetPasswordConfig extends IG2Config {
|
|
2565
|
+
}
|
|
2566
|
+
export interface ForgetPasswordProps extends IG2FCProps, ForgetPasswordEvents {
|
|
2567
|
+
config: Partial<IG2Config>;
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2534
2570
|
}
|
|
2535
2571
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
2536
2572
|
import React, { FC } from 'react';
|
|
@@ -3312,6 +3348,7 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3312
3348
|
MFA = 1635,
|
|
3313
3349
|
ABORT_FLOW = 1699,
|
|
3314
3350
|
COMPLETE_INFO = 1642,
|
|
3351
|
+
UNLOCK = 1643,
|
|
3315
3352
|
FLOW_END = 1600,
|
|
3316
3353
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3317
3354
|
FORCED_PASSWORD_RESET = 2058
|
|
@@ -3411,7 +3448,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3411
3448
|
|
|
3412
3449
|
}
|
|
3413
3450
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3414
|
-
const _default: "3.1.18-rc.
|
|
3451
|
+
const _default: "3.1.18-rc.13";
|
|
3415
3452
|
export default _default;
|
|
3416
3453
|
|
|
3417
3454
|
}
|