@authing/react-ui-components 3.1.22-rc.4 → 3.1.22-rc.7
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.css +1 -1
- 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",
|
|
@@ -3404,10 +3416,20 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3404
3416
|
UNLOCK = 1643,
|
|
3405
3417
|
FLOW_END = 1600,
|
|
3406
3418
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3407
|
-
FORCED_PASSWORD_RESET = 2058
|
|
3419
|
+
FORCED_PASSWORD_RESET = 2058,
|
|
3420
|
+
UNSAFE_PASSWORD_TIP = 2061,
|
|
3421
|
+
UNSAFE_PASSWORD_RESET = 2071
|
|
3408
3422
|
}
|
|
3409
3423
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3410
3424
|
|
|
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
|
+
|
|
3411
3433
|
}
|
|
3412
3434
|
declare module '@authing/react-ui-components/components/context/base' {
|
|
3413
3435
|
import React from 'react';
|
|
@@ -3501,7 +3523,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3501
3523
|
|
|
3502
3524
|
}
|
|
3503
3525
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3504
|
-
const _default: "3.1.22-rc.
|
|
3526
|
+
const _default: "3.1.22-rc.7";
|
|
3505
3527
|
export default _default;
|
|
3506
3528
|
|
|
3507
3529
|
}
|