@authing/react-ui-components 3.1.17-rc.6 → 3.1.17-rc.9

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
@@ -445,6 +445,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
445
445
  defaultISOType: string;
446
446
  };
447
447
  css: string;
448
+ customLoading?: string;
448
449
  name: string;
449
450
  logo: string;
450
451
  description?: string;
@@ -1177,6 +1178,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/rota
1177
1178
  /// <reference types="react" />
1178
1179
  interface RotateResetProps {
1179
1180
  onReset: any;
1181
+ onFinishCallBack?: any;
1180
1182
  }
1181
1183
  export const RotateReset: (props: RotateResetProps) => JSX.Element;
1182
1184
  export {};
@@ -1190,6 +1192,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
1190
1192
  }>;
1191
1193
  export const GuardFirstLoginPasswordResetView: React.FC;
1192
1194
  export const GuardForcedPasswordResetView: React.FC;
1195
+ export const GuardNoticePasswordResetView: React.FC;
1193
1196
 
1194
1197
  }
1195
1198
  declare module '@authing/react-ui-components/components/CompleteInfo/businessRequest' {
@@ -1654,6 +1657,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
1654
1657
  MFA = "mfa",
1655
1658
  FORGET_PWD = "forgetPassword",
1656
1659
  FORCED_PASSWORD_RESET = "forcedPasswordReset",
1660
+ NOTICE_PASSWORD_RESET = "noticePasswordReset",
1657
1661
  FIRST_LOGIN_PASSWORD = "firstLoginPassword",
1658
1662
  DOWNLOAD_AT = "downloadAT",
1659
1663
  BIND_TOTP = "bindTotp",
@@ -1663,7 +1667,8 @@ declare module '@authing/react-ui-components/components/Guard/module' {
1663
1667
  RECOVERY_CODE = "recoveryCode",
1664
1668
  SUBMIT_SUCCESS = "submitSuccess",
1665
1669
  IDENTITY_BINDING_ASK = "identityBindingAsk",
1666
- IDENTITY_BINDING = "identityBinding"
1670
+ IDENTITY_BINDING = "identityBinding",
1671
+ SELF_UNLOCK = "selfUnlock"
1667
1672
  }
1668
1673
  export interface GuardModuleAction {
1669
1674
  action: string;
@@ -2493,6 +2498,38 @@ declare module '@authing/react-ui-components/components/Register/interface' {
2493
2498
  declare module '@authing/react-ui-components/components/Register/utils' {
2494
2499
  export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
2495
2500
 
2501
+ }
2502
+ declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
2503
+ /// <reference types="react" />
2504
+ export enum InputMethodMap {
2505
+ email = "email-code",
2506
+ phone = "phone-code"
2507
+ }
2508
+ export const SelfUnlock: () => JSX.Element;
2509
+
2510
+ }
2511
+ declare module '@authing/react-ui-components/components/SelfUnlock/index' {
2512
+ import React from 'react';
2513
+ export const GuardUnlockView: React.FC;
2514
+
2515
+ }
2516
+ declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
2517
+ import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
2518
+ import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
2519
+ export interface ForgetPasswordEvents extends IG2Events {
2520
+ onPwdEmailSend?: (authClient: AuthenticationClient) => void;
2521
+ onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
2522
+ onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
2523
+ onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
2524
+ onPwdReset?: (authClient: AuthenticationClient) => void;
2525
+ onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
2526
+ }
2527
+ export interface ForgetPasswordConfig extends IG2Config {
2528
+ }
2529
+ export interface ForgetPasswordProps extends IG2FCProps, ForgetPasswordEvents {
2530
+ config: Partial<IG2Config>;
2531
+ }
2532
+
2496
2533
  }
2497
2534
  declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
2498
2535
  import React, { FC } from 'react';
@@ -2509,9 +2546,9 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
2509
2546
  }
2510
2547
  declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
2511
2548
  import { FC } from 'react';
2512
- import { EmailScene } from 'authing-js-sdk';
2513
2549
  import './style.less';
2514
2550
  import { InputProps } from 'antd/lib/input';
2551
+ import { EmailScene } from '@authing/react-ui-components/components/Type/index';
2515
2552
  export interface SendCodeByEmailProps extends InputProps {
2516
2553
  data: string;
2517
2554
  form?: any;
@@ -2581,6 +2618,7 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
2581
2618
  text?: string;
2582
2619
  className?: string;
2583
2620
  onClick?: any;
2621
+ disabled?: boolean;
2584
2622
  }
2585
2623
  const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
2586
2624
  export default _default;
@@ -2676,6 +2714,19 @@ declare module '@authing/react-ui-components/components/Type/index' {
2676
2714
  showChangeLanguage: boolean;
2677
2715
  };
2678
2716
  }
2717
+ export enum EmailScene {
2718
+ WELCOME_EMAIL = "WELCOME_EMAIL",
2719
+ FIRST_CREATED_USER = "FIRST_CREATED_USER",
2720
+ REGISTER_VERIFY_CODE = "REGISTER_VERIFY_CODE",
2721
+ LOGIN_VERIFY_CODE = "LOGIN_VERIFY_CODE",
2722
+ MFA_VERIFY_CODE = "MFA_VERIFY_CODE",
2723
+ INFORMATION_COMPLETION_VERIFY_CODE = "INFORMATION_COMPLETION_VERIFY_CODE",
2724
+ FIRST_EMAIL_LOGIN_VERIFY = "FIRST_EMAIL_LOGIN_VERIFY",
2725
+ CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
2726
+ RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
2727
+ EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
2728
+ EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
2729
+ }
2679
2730
 
2680
2731
  }
2681
2732
  declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
@@ -2704,6 +2755,7 @@ declare module '@authing/react-ui-components/components/ValidatorRules/index' {
2704
2755
  form?: FormInstance;
2705
2756
  checkRepeat?: boolean;
2706
2757
  areaCode?: string;
2758
+ isCheckI18nSms?: boolean;
2707
2759
  }
2708
2760
  export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
2709
2761
  form?: FormInstance;
@@ -3128,12 +3180,14 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3128
3180
  export const isXiaomiBrowser: () => boolean | null;
3129
3181
  export const isDingtalkBrowser: () => boolean | null;
3130
3182
  export const isQQBrowser: () => boolean | null;
3183
+ export const isQQBuiltInBrowser: () => boolean | null;
3131
3184
  export const isEdgeBrowser: () => boolean;
3132
3185
  export const isWeiboBrowser: () => boolean | null;
3133
3186
  export const isAlipayBrowser: () => boolean | null;
3134
3187
  export const isBaiduBrowser: () => boolean | null;
3135
3188
  export const isWeComeBrowser: () => boolean;
3136
3189
  export const isMobile: () => RegExpMatchArray | null;
3190
+ export const isWeWorkBuiltInBrowser: () => boolean | null;
3137
3191
  export const isSpecialBrowser: () => boolean;
3138
3192
  export const assembledAppHost: (identifier: string, host: string) => string;
3139
3193
  export const assembledRequestHost: (requestHostname: string, configHost: string) => string;
@@ -3252,6 +3306,7 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
3252
3306
  MFA = 1635,
3253
3307
  ABORT_FLOW = 1699,
3254
3308
  COMPLETE_INFO = 1642,
3309
+ UNLOCK = 1643,
3255
3310
  FLOW_END = 1600,
3256
3311
  FIRST_LOGIN_PASSWORD = 1639,
3257
3312
  FORCED_PASSWORD_RESET = 2058
@@ -3351,7 +3406,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3351
3406
 
3352
3407
  }
3353
3408
  declare module '@authing/react-ui-components/components/version/version' {
3354
- const _default: "3.1.17-rc.6";
3409
+ const _default: "3.1.17-rc.9";
3355
3410
  export default _default;
3356
3411
 
3357
3412
  }