@authing/react-ui-components 4.3.3-alpha.0 → 4.3.3-fsl.0

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.
Files changed (62) hide show
  1. package/lib/index.min.css +1 -1
  2. package/lib/index.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/EY/CheckCaptcha/index.d.ts +2 -0
  5. package/types/EY/Error/index.d.ts +2 -0
  6. package/types/EY/ForgetPassword/index.d.ts +2 -0
  7. package/types/EY/InviteComplete/index.d.ts +2 -0
  8. package/types/EY/InviteIdentityBind/component/WeComQrcode.d.ts +2 -0
  9. package/types/EY/InviteIdentityBind/component/WeComQrcodeNew.d.ts +2 -0
  10. package/types/EY/InviteIdentityBind/index.d.ts +2 -0
  11. package/types/EY/InviteLoading/index.d.ts +2 -0
  12. package/types/EY/Login/components/EyLoginWithWeComQrcode.d.ts +2 -0
  13. package/types/EY/Login/components/EyLoginWithWeComQrcodeNew.d.ts +2 -0
  14. package/types/EY/Login/core/EmailVerify.d.ts +7 -0
  15. package/types/EY/Login/core/ScanCode.d.ts +7 -0
  16. package/types/EY/Login/index.d.ts +7 -0
  17. package/types/EY/PreCheckEmail/index.d.ts +2 -0
  18. package/types/EY/Protocol/index.d.ts +2 -0
  19. package/types/EY/components/EmailFormItem.d.ts +2 -0
  20. package/types/EY/components/GoBack.d.ts +2 -0
  21. package/types/EY/components/ResetPassword.d.ts +16 -0
  22. package/types/EY/interface.d.ts +75 -0
  23. package/types/ForgetPassword/core/resetPassword.d.ts +2 -2
  24. package/types/ForgetPassword/interface.d.ts +1 -0
  25. package/types/Guard/config.d.ts +2 -1
  26. package/types/Guard/core/hooks/useAgreements.d.ts +3 -4
  27. package/types/Guard/core/hooks/useMultipleAccounts.d.ts +3 -3
  28. package/types/Guard/event.d.ts +3 -12
  29. package/types/Guard/module.d.ts +3 -2
  30. package/types/IdentityBinding/IdentityBinding.d.ts +3 -1
  31. package/types/IdentityBinding/businessRequest.d.ts +5 -2
  32. package/types/Login/core/withAuthingOtpPush/HowBindClient.d.ts +2 -0
  33. package/types/Login/core/withAuthingOtpPush/HowGetAppLoginUrl.d.ts +2 -0
  34. package/types/Login/core/withAuthingOtpPush/HowUsePushLogin.d.ts +2 -0
  35. package/types/Login/core/withAuthingOtpPush/PushLoginGuideModal.d.ts +3 -0
  36. package/types/Login/core/withAuthingOtpPush/PushLoginGuideSelector.d.ts +9 -0
  37. package/types/Login/core/withAuthingOtpPush/types.d.ts +10 -0
  38. package/types/Login/core/withWeComQrcode.d.ts +2 -0
  39. package/types/Login/hooks/useLoginMultiple.d.ts +1 -1
  40. package/types/Login/index.d.ts +4 -2
  41. package/types/Login/multipleAccounts/panel.d.ts +0 -1
  42. package/types/Login/resetAccountName/businessRequest.d.ts +6 -0
  43. package/types/Login/resetAccountName/index.d.ts +3 -0
  44. package/types/MFA/VerifyCodeInput/ey.d.ts +15 -0
  45. package/types/NewSubmitSuccess/interface.d.ts +2 -0
  46. package/types/SelectAccount2Login/index.d.ts +3 -0
  47. package/types/TenantPortalSelect/index.d.ts +0 -13
  48. package/types/TenantPortalSelect/interface.d.ts +33 -0
  49. package/types/Type/application.d.ts +13 -6
  50. package/types/_utils/config/index.d.ts +1 -0
  51. package/types/_utils/context.d.ts +3 -2
  52. package/types/_utils/index.d.ts +2 -1
  53. package/types/_utils/responseManagement/interface.d.ts +3 -1
  54. package/types/_utils/signRequestParams.d.ts +8 -0
  55. package/types/index.d.ts +0 -1
  56. package/types/version/version.d.ts +1 -1
  57. package/types/AppOtpVerify/DownloadVerifier.d.ts +0 -2
  58. package/types/AppOtpVerify/LoginApp.d.ts +0 -2
  59. package/types/AppOtpVerify/ScanQrcode.d.ts +0 -2
  60. package/types/AppOtpVerify/Steps.d.ts +0 -11
  61. package/types/AppOtpVerify/index.d.ts +0 -3
  62. package/types/Login/hooks/useOtpPushLogin.d.ts +0 -10
@@ -7,6 +7,7 @@ export declare enum CodeAction {
7
7
  export declare enum ApiCode {
8
8
  IDENTITY_BINDING_ASK = 1641,
9
9
  IDENTITY_BINDING = 1640,
10
+ IDENTITY_BINDING_NO_ASK = 1666,
10
11
  APP_MFA = 1636,
11
12
  MFA = 1635,
12
13
  ABORT_FLOW = 1699,
@@ -18,6 +19,7 @@ export declare enum ApiCode {
18
19
  UNSAFE_PASSWORD_TIP = 2061,
19
20
  UNSAFE_PASSWORD_RESET = 2071,
20
21
  FLOW_SELECT_ACCOUNT = 2921,
21
- TENANT_PORTAL = 1644
22
+ TENANT_PORTAL = 1644,
23
+ RESET_ACCOUNT_NAME = 1108
22
24
  }
23
25
  export declare const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
@@ -0,0 +1,8 @@
1
+ export declare const generateRandomStr: (length?: number) => string;
2
+ export declare const md5: (text: string) => string;
3
+ export declare const signRequestParams: (params: Record<string, any>) => Record<string, any> & {
4
+ _random: string;
5
+ _timestamp: number;
6
+ } & {
7
+ _sign: string;
8
+ };
package/types/index.d.ts CHANGED
@@ -4,4 +4,3 @@ export * from './AuthClientProvider';
4
4
  export * from './Guard';
5
5
  export * from './Type';
6
6
  export * from './version';
7
- export * from './Guard/core/hooks/useGuardView';
@@ -1,2 +1,2 @@
1
- declare const _default: "4.2.3-alpha.14";
1
+ declare const _default: "4.3.3-fsl.0";
2
2
  export default _default;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function DownloadVerifier(): JSX.Element;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function LoginApp(): JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const ScanQrcode: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
@@ -1,11 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import './steps.styles.less';
3
- interface StepsProps {
4
- current: number;
5
- items: StepItem[];
6
- }
7
- interface StepItem {
8
- title: ReactNode;
9
- }
10
- export declare function Steps(props: StepsProps): JSX.Element;
11
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import './styles.less';
3
- export declare function AppOtpVerify(): JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function useOtpPushLoginWay(setLoginWay: React.Dispatch<any>): void;
3
- export declare function useOtpPushLoginCache(): {
4
- getCachedOtpLoginAccount: typeof getCachedOtpLoginAccount;
5
- cacheOtpLoginAccount: typeof cacheOtpLoginAccount;
6
- clearOtpLoginAccountCache: typeof clearOtpLoginAccountCache;
7
- };
8
- export declare function cacheOtpLoginAccount(account: string): void;
9
- export declare function getCachedOtpLoginAccount(): string;
10
- export declare function clearOtpLoginAccountCache(): void;