@authing/react-ui-components 3.1.19-rc.1 → 3.1.19-rc.10

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 CHANGED
@@ -1169,13 +1169,23 @@ declare module '@authing/react-ui-components/components/ChangeLanguage/index' {
1169
1169
  declare module '@authing/react-ui-components/components/ChangePassword/businessRequest' {
1170
1170
  export enum ChangePasswordBusinessAction {
1171
1171
  ResetPassword = "reset-password-first-time",
1172
- FirstLoginReset = "reset-password-forced"
1172
+ FirstLoginReset = "reset-password-forced",
1173
+ ResetPasswordStrengthDetection = "reset-password-strength-detection"
1173
1174
  }
1174
1175
  export const authFlow: (action: ChangePasswordBusinessAction, content: {
1175
1176
  password: string;
1176
1177
  oldPassword?: string;
1177
1178
  }) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1178
1179
 
1180
+ }
1181
+ declare module '@authing/react-ui-components/components/ChangePassword/core/PasswordNotSafeReset' {
1182
+ import React from 'react';
1183
+ interface PasswordNotSafeResetProps {
1184
+ onReset: any;
1185
+ }
1186
+ export const PasswordNotSafeReset: React.FC<PasswordNotSafeResetProps>;
1187
+ export {};
1188
+
1179
1189
  }
1180
1190
  declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
1181
1191
  import React from 'react';
@@ -1208,6 +1218,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
1208
1218
  explain: string;
1209
1219
  }>;
1210
1220
  export const GuardFirstLoginPasswordResetView: React.FC;
1221
+ export const GuardPasswordNotSafeResetView: React.FC;
1211
1222
  export const GuardForcedPasswordResetView: React.FC;
1212
1223
  export const GuardNoticePasswordResetView: React.FC;
1213
1224
  export const GuardRegisterCompletePasswordView: React.FC;
@@ -1404,7 +1415,10 @@ declare module '@authing/react-ui-components/components/DownloadAuthenticator/in
1404
1415
  declare module '@authing/react-ui-components/components/Error/index' {
1405
1416
  import React from 'react';
1406
1417
  import './styles.less';
1407
- export const GuardErrorView: React.FC;
1418
+ export interface ErrorProps {
1419
+ error?: Error;
1420
+ }
1421
+ export const GuardErrorView: React.FC<ErrorProps>;
1408
1422
 
1409
1423
  }
1410
1424
  declare module '@authing/react-ui-components/components/Error/interface' {
@@ -1682,6 +1696,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
1682
1696
  FORCED_PASSWORD_RESET = "forcedPasswordReset",
1683
1697
  NOTICE_PASSWORD_RESET = "noticePasswordReset",
1684
1698
  FIRST_LOGIN_PASSWORD = "firstLoginPassword",
1699
+ UNSAFE_PASSWORD_RESET = "unsafePasswordReset",
1685
1700
  DOWNLOAD_AT = "downloadAT",
1686
1701
  BIND_TOTP = "bindTotp",
1687
1702
  ANY_QUESTIONS = "anyQuestions",
@@ -3355,10 +3370,20 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
3355
3370
  UNLOCK = 1643,
3356
3371
  FLOW_END = 1600,
3357
3372
  FIRST_LOGIN_PASSWORD = 1639,
3358
- FORCED_PASSWORD_RESET = 2058
3373
+ FORCED_PASSWORD_RESET = 2058,
3374
+ UNSAFE_PASSWORD_TIP = 2061,
3375
+ UNSAFE_PASSWORD_RESET = 2071
3359
3376
  }
3360
3377
  export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
3361
3378
 
3379
+ }
3380
+ declare module '@authing/react-ui-components/components/_utils/useErrorText' {
3381
+ import React from 'react';
3382
+ export const usePasswordErrorText: () => {
3383
+ setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
3384
+ getPassWordUnsafeText: () => JSX.Element;
3385
+ };
3386
+
3362
3387
  }
3363
3388
  declare module '@authing/react-ui-components/components/context/base' {
3364
3389
  import React from 'react';
@@ -3452,7 +3477,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3452
3477
 
3453
3478
  }
3454
3479
  declare module '@authing/react-ui-components/components/version/version' {
3455
- const _default: "3.1.19-rc.1";
3480
+ const _default: "3.1.19-rc.10";
3456
3481
  export default _default;
3457
3482
 
3458
3483
  }