@authing/react-ui-components 3.1.19-rc.3 → 3.1.19-rc.6

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
@@ -1208,6 +1208,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
1208
1208
  explain: string;
1209
1209
  }>;
1210
1210
  export const GuardFirstLoginPasswordResetView: React.FC;
1211
+ export const GuardPasswordNotSafeResetView: React.FC;
1211
1212
  export const GuardForcedPasswordResetView: React.FC;
1212
1213
  export const GuardNoticePasswordResetView: React.FC;
1213
1214
  export const GuardRegisterCompletePasswordView: React.FC;
@@ -1685,6 +1686,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
1685
1686
  FORCED_PASSWORD_RESET = "forcedPasswordReset",
1686
1687
  NOTICE_PASSWORD_RESET = "noticePasswordReset",
1687
1688
  FIRST_LOGIN_PASSWORD = "firstLoginPassword",
1689
+ UNSAFE_PASSWORD_RESET = "unsafePasswordReset",
1688
1690
  DOWNLOAD_AT = "downloadAT",
1689
1691
  BIND_TOTP = "bindTotp",
1690
1692
  ANY_QUESTIONS = "anyQuestions",
@@ -1726,19 +1728,6 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
1726
1728
  }
1727
1729
  export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<SessionData>>;
1728
1730
 
1729
- }
1730
- declare module '@authing/react-ui-components/components/GuardButton/GuardButton' {
1731
- import React from 'react';
1732
- import { ButtonProps } from 'antd/lib/button';
1733
- import './styles.less';
1734
- export interface GuardButtonProps extends ButtonProps {
1735
- }
1736
- export const GuardButton: React.FC<GuardButtonProps>;
1737
-
1738
- }
1739
- declare module '@authing/react-ui-components/components/GuardButton/index' {
1740
- export * from '@authing/react-ui-components/components/GuardButton/GuardButton';
1741
-
1742
1731
  }
1743
1732
  declare module '@authing/react-ui-components/components/IconFont/iconfont' {
1744
1733
  export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
@@ -2668,8 +2657,7 @@ declare module '@authing/react-ui-components/components/SingleComponent/index' {
2668
2657
  }
2669
2658
  declare module '@authing/react-ui-components/components/SubmitButton/index' {
2670
2659
  import React from 'react';
2671
- import { ButtonProps } from 'antd/lib/button';
2672
- interface SubmitButtonProps extends ButtonProps {
2660
+ interface SubmitButtonProps {
2673
2661
  text?: string;
2674
2662
  className?: string;
2675
2663
  onClick?: any;
@@ -3013,14 +3001,6 @@ declare module '@authing/react-ui-components/components/_utils/context' {
3013
3001
  }>;
3014
3002
  Consumer: React.Consumer<IGuardContext>;
3015
3003
  };
3016
- export interface IGuardContextProvider {
3017
- spin: boolean;
3018
- spinChange: (spin: boolean) => void;
3019
- }
3020
- export const useGuardButtonContext: () => {
3021
- GuardButtonProvider: React.FC<{}>;
3022
- };
3023
- export const useGuardButtonState: () => IGuardContextProvider;
3024
3004
  export const useGuardPublicConfig: () => ApplicationConfig;
3025
3005
  export const useGuardHttpClient: () => GuardHttp;
3026
3006
  export const useGuardDefaultMergedConfig: () => GuardLocalConfig;
@@ -3070,8 +3050,7 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
3070
3050
  }
3071
3051
  declare module '@authing/react-ui-components/components/_utils/facePlugin/index' {
3072
3052
  import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
3073
- export const getFacePlugin: () => FacePlugin | undefined;
3074
- export const useFacePlugin: () => FacePlugin | undefined;
3053
+ export const getFacePlugin: () => FacePlugin;
3075
3054
  export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
3076
3055
 
3077
3056
  }
@@ -3381,10 +3360,20 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
3381
3360
  UNLOCK = 1643,
3382
3361
  FLOW_END = 1600,
3383
3362
  FIRST_LOGIN_PASSWORD = 1639,
3384
- FORCED_PASSWORD_RESET = 2058
3363
+ FORCED_PASSWORD_RESET = 2058,
3364
+ UNSAFE_PASSWORD_TIP = 2061,
3365
+ UNSAFE_PASSWORD_RESET = 2071
3385
3366
  }
3386
3367
  export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
3387
3368
 
3369
+ }
3370
+ declare module '@authing/react-ui-components/components/_utils/useErrorText' {
3371
+ import React from 'react';
3372
+ export const usePasswordErrorText: () => {
3373
+ setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
3374
+ getPassWordUnsafeText: () => JSX.Element;
3375
+ };
3376
+
3388
3377
  }
3389
3378
  declare module '@authing/react-ui-components/components/context/base' {
3390
3379
  import React from 'react';
@@ -3478,7 +3467,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3478
3467
 
3479
3468
  }
3480
3469
  declare module '@authing/react-ui-components/components/version/version' {
3481
- const _default: "3.1.19-rc.3";
3470
+ const _default: "3.1.19-rc.6";
3482
3471
  export default _default;
3483
3472
 
3484
3473
  }