@authing/react-ui-components 3.1.23-rc.3 → 3.1.25-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 +25 -3
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1166,13 +1166,23 @@ 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"
|
|
1169
|
+
FirstLoginReset = "reset-password-forced",
|
|
1170
|
+
ResetPasswordStrengthDetection = "reset-password-strength-detection"
|
|
1170
1171
|
}
|
|
1171
1172
|
export const authFlow: (action: ChangePasswordBusinessAction, content: {
|
|
1172
1173
|
password: string;
|
|
1173
1174
|
oldPassword?: string;
|
|
1174
1175
|
}) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
|
|
1175
1176
|
|
|
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
|
+
|
|
1176
1186
|
}
|
|
1177
1187
|
declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
|
|
1178
1188
|
import React from 'react';
|
|
@@ -1205,6 +1215,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1205
1215
|
explain: string;
|
|
1206
1216
|
}>;
|
|
1207
1217
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1218
|
+
export const GuardPasswordNotSafeResetView: React.FC;
|
|
1208
1219
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1209
1220
|
export const GuardNoticePasswordResetView: React.FC;
|
|
1210
1221
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
@@ -1686,6 +1697,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1686
1697
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1687
1698
|
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1688
1699
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1700
|
+
UNSAFE_PASSWORD_RESET = "unsafePasswordReset",
|
|
1689
1701
|
DOWNLOAD_AT = "downloadAT",
|
|
1690
1702
|
BIND_TOTP = "bindTotp",
|
|
1691
1703
|
ANY_QUESTIONS = "anyQuestions",
|
|
@@ -3412,10 +3424,20 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3412
3424
|
UNLOCK = 1643,
|
|
3413
3425
|
FLOW_END = 1600,
|
|
3414
3426
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3415
|
-
FORCED_PASSWORD_RESET = 2058
|
|
3427
|
+
FORCED_PASSWORD_RESET = 2058,
|
|
3428
|
+
UNSAFE_PASSWORD_TIP = 2061,
|
|
3429
|
+
UNSAFE_PASSWORD_RESET = 2071
|
|
3416
3430
|
}
|
|
3417
3431
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3418
3432
|
|
|
3433
|
+
}
|
|
3434
|
+
declare module '@authing/react-ui-components/components/_utils/useErrorText' {
|
|
3435
|
+
import React from 'react';
|
|
3436
|
+
export const usePasswordErrorText: () => {
|
|
3437
|
+
setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
3438
|
+
getPassWordUnsafeText: () => JSX.Element;
|
|
3439
|
+
};
|
|
3440
|
+
|
|
3419
3441
|
}
|
|
3420
3442
|
declare module '@authing/react-ui-components/components/context/base' {
|
|
3421
3443
|
import React from 'react';
|
|
@@ -3509,7 +3531,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3509
3531
|
|
|
3510
3532
|
}
|
|
3511
3533
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3512
|
-
const _default: "3.1.
|
|
3534
|
+
const _default: "3.1.25-rc.1";
|
|
3513
3535
|
export default _default;
|
|
3514
3536
|
|
|
3515
3537
|
}
|