@authing/react-ui-components 3.1.22-rc.7 → 3.1.22-rc.8
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 +8 -27
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1166,23 +1166,13 @@ declare module '@authing/react-ui-components/components/ChangeLanguage/index' {
|
|
|
1166
1166
|
declare module '@authing/react-ui-components/components/ChangePassword/businessRequest' {
|
|
1167
1167
|
export enum ChangePasswordBusinessAction {
|
|
1168
1168
|
ResetPassword = "reset-password-first-time",
|
|
1169
|
-
FirstLoginReset = "reset-password-forced"
|
|
1170
|
-
ResetPasswordStrengthDetection = "reset-password-strength-detection"
|
|
1169
|
+
FirstLoginReset = "reset-password-forced"
|
|
1171
1170
|
}
|
|
1172
1171
|
export const authFlow: (action: ChangePasswordBusinessAction, content: {
|
|
1173
1172
|
password: string;
|
|
1174
1173
|
oldPassword?: string;
|
|
1175
1174
|
}) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
|
|
1176
1175
|
|
|
1177
|
-
}
|
|
1178
|
-
declare module '@authing/react-ui-components/components/ChangePassword/core/PasswordNotSafeReset' {
|
|
1179
|
-
import React from 'react';
|
|
1180
|
-
interface PasswordNotSafeResetProps {
|
|
1181
|
-
onReset: any;
|
|
1182
|
-
}
|
|
1183
|
-
export const PasswordNotSafeReset: React.FC<PasswordNotSafeResetProps>;
|
|
1184
|
-
export {};
|
|
1185
|
-
|
|
1186
1176
|
}
|
|
1187
1177
|
declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
|
|
1188
1178
|
import React from 'react';
|
|
@@ -1215,7 +1205,6 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1215
1205
|
explain: string;
|
|
1216
1206
|
}>;
|
|
1217
1207
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1218
|
-
export const GuardPasswordNotSafeResetView: React.FC;
|
|
1219
1208
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1220
1209
|
export const GuardNoticePasswordResetView: React.FC;
|
|
1221
1210
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
@@ -1697,7 +1686,6 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1697
1686
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1698
1687
|
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1699
1688
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1700
|
-
UNSAFE_PASSWORD_RESET = "unsafePasswordReset",
|
|
1701
1689
|
DOWNLOAD_AT = "downloadAT",
|
|
1702
1690
|
BIND_TOTP = "bindTotp",
|
|
1703
1691
|
ANY_QUESTIONS = "anyQuestions",
|
|
@@ -2010,6 +1998,7 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
|
|
|
2010
1998
|
agreements: Agreement[];
|
|
2011
1999
|
loginWay?: LoginMethods;
|
|
2012
2000
|
submitButText?: string;
|
|
2001
|
+
saveIdentify?: (type: LoginMethods, identity: string) => void;
|
|
2013
2002
|
}
|
|
2014
2003
|
export const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
|
|
2015
2004
|
export {};
|
|
@@ -2588,12 +2577,14 @@ declare module '@authing/react-ui-components/components/Register/utils' {
|
|
|
2588
2577
|
|
|
2589
2578
|
}
|
|
2590
2579
|
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2591
|
-
|
|
2580
|
+
import React from 'react';
|
|
2592
2581
|
export enum InputMethodMap {
|
|
2593
2582
|
email = "email-code",
|
|
2594
2583
|
phone = "phone-code"
|
|
2595
2584
|
}
|
|
2596
|
-
export const SelfUnlock: (
|
|
2585
|
+
export const SelfUnlock: ({ identifyRef, }: {
|
|
2586
|
+
identifyRef?: React.MutableRefObject<string> | undefined;
|
|
2587
|
+
}) => JSX.Element;
|
|
2597
2588
|
|
|
2598
2589
|
}
|
|
2599
2590
|
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
@@ -3416,20 +3407,10 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3416
3407
|
UNLOCK = 1643,
|
|
3417
3408
|
FLOW_END = 1600,
|
|
3418
3409
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3419
|
-
FORCED_PASSWORD_RESET = 2058
|
|
3420
|
-
UNSAFE_PASSWORD_TIP = 2061,
|
|
3421
|
-
UNSAFE_PASSWORD_RESET = 2071
|
|
3410
|
+
FORCED_PASSWORD_RESET = 2058
|
|
3422
3411
|
}
|
|
3423
3412
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3424
3413
|
|
|
3425
|
-
}
|
|
3426
|
-
declare module '@authing/react-ui-components/components/_utils/useErrorText' {
|
|
3427
|
-
import React from 'react';
|
|
3428
|
-
export const usePasswordErrorText: () => {
|
|
3429
|
-
setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
3430
|
-
getPassWordUnsafeText: () => JSX.Element;
|
|
3431
|
-
};
|
|
3432
|
-
|
|
3433
3414
|
}
|
|
3434
3415
|
declare module '@authing/react-ui-components/components/context/base' {
|
|
3435
3416
|
import React from 'react';
|
|
@@ -3523,7 +3504,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3523
3504
|
|
|
3524
3505
|
}
|
|
3525
3506
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3526
|
-
const _default: "3.1.22-rc.
|
|
3507
|
+
const _default: "3.1.22-rc.8";
|
|
3527
3508
|
export default _default;
|
|
3528
3509
|
|
|
3529
3510
|
}
|