@authing/react-ui-components 3.1.22-rc.9 → 3.1.23-hep.1

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
@@ -1,3 +1,53 @@
1
+ declare module '@authing/react-ui-components/components/AccountMerge/UserRadio' {
2
+ import React from 'react';
3
+ import { UserRadioItemProps, UserRadioProps } from '@authing/react-ui-components/components/AccountMerge/interface';
4
+ import './styles.less';
5
+ export const UserRadioItem: React.FC<UserRadioItemProps>;
6
+ export const UserRadio: React.FC<UserRadioProps>;
7
+
8
+ }
9
+ declare module '@authing/react-ui-components/components/AccountMerge/index' {
10
+ import React from 'react';
11
+ import './styles.less';
12
+ export const GuardAccountMergeView: React.FC;
13
+
14
+ }
15
+ declare module '@authing/react-ui-components/components/AccountMerge/interface' {
16
+ export interface BriefUserInfo {
17
+ displayName: string;
18
+ avatar: string;
19
+ phone: string;
20
+ email: string;
21
+ username: string;
22
+ name: string;
23
+ }
24
+ export interface GuardAccountMergeInitData {
25
+ currentUserInfo: BriefUserInfo;
26
+ existingUserInfo: BriefUserInfo;
27
+ mergeToken?: string;
28
+ }
29
+ export interface UserRadioProps {
30
+ currentUserInfo: BriefUserInfo;
31
+ existingUserInfo: BriefUserInfo;
32
+ onChange?: (value: any) => void;
33
+ value?: any;
34
+ }
35
+ export interface UserRadioItemProps extends BriefUserInfo {
36
+ value: boolean;
37
+ selected: boolean;
38
+ onClick: (value: boolean) => void;
39
+ }
40
+ export enum AuthFlowAction {
41
+ MERGE = "confirm-account-merge"
42
+ }
43
+
44
+ }
45
+ declare module '@authing/react-ui-components/components/AccountMerge/utils' {
46
+ import { User } from 'authing-js-sdk';
47
+ export const getDisplayName: (user: User) => string;
48
+ export const getDisplayNameByEmail: (displayName: string) => string;
49
+
50
+ }
1
51
  declare module '@authing/react-ui-components/components/AuthClientProvider/AuthClientProvider' {
2
52
  import React from 'react';
3
53
  import { AuthClientContextProps } from '@authing/react-ui-components/components/AuthClientProvider/context';
@@ -378,9 +428,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/
378
428
 
379
429
  }
380
430
  declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
381
- import { Lang, LoginMethods, Protocol, RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
431
+ import { Lang, LoginMethods, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
382
432
  import { IAzureAdConnectionConfig, ICasConnectionConfig, IOAuthConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
383
433
  import { PasswordStrength } from '@authing/react-ui-components/components/_utils/index';
434
+ import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
384
435
  export enum ApplicationMfaType {
385
436
  SMS = "SMS",
386
437
  EMAIL = "EMAIL"
@@ -465,8 +516,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
465
516
  [x: string]: string;
466
517
  };
467
518
  registerTypeConfig: {
468
- emailRegisterType?: RegisterMethods[];
469
- phoneRegisterType?: RegisterMethods[];
519
+ emailRegisterType?: NewRegisterMethods[];
520
+ phoneRegisterType?: NewRegisterMethods[];
470
521
  };
471
522
  };
472
523
  qrcodeTabsSettings: QrcodeTabsSettings;
@@ -519,6 +570,9 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
519
570
  verifyCodeLength: number;
520
571
  websocket: string;
521
572
  welcomeMessage: any;
573
+ userPortal?: {
574
+ mergeAccount?: boolean;
575
+ };
522
576
  skipComplateFileds: boolean;
523
577
  }
524
578
  export const fetchAppConfig: (appId: string) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<ApplicationConfig>>;
@@ -637,7 +691,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoo
637
691
 
638
692
  }
639
693
  declare module '@authing/react-ui-components/components/AuthingGuard/constants' {
640
- import { UserConfig, LoginMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
694
+ import { UserConfig, LoginMethods, RegisterMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
641
695
  export const OTP_MFA_CODE = 1635;
642
696
  export const APP_MFA_CODE = 1636;
643
697
  export const NEED_CAPTCHA = 2000;
@@ -650,7 +704,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/constants'
650
704
  ad: string;
651
705
  "wechatmp-qrcode": string;
652
706
  };
653
- export const REGISTER_METHODS_MAP: any;
707
+ export const REGISTER_METHODS_MAP: () => {
708
+ email: string;
709
+ phone: string;
710
+ };
654
711
  export const HIDE_SOCIALS: string[];
655
712
  export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
656
713
  export enum ApplicationMfaType {
@@ -824,8 +881,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
824
881
  }
825
882
  export enum RegisterMethods {
826
883
  Email = "email",
827
- Phone = "phone",
828
- EmailCode = "emailCode"
884
+ Phone = "phone"
829
885
  }
830
886
  export enum GuardScenes {
831
887
  Login = "login",
@@ -1248,6 +1304,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/index' {
1248
1304
  }>;
1249
1305
  export const GuardLoginCompleteInfoView: React.FC;
1250
1306
  export const GuardRegisterCompleteInfoView: React.FC;
1307
+ export const GuardAccountMergeCompleteInfoView: React.FC;
1251
1308
 
1252
1309
  }
1253
1310
  declare module '@authing/react-ui-components/components/CompleteInfo/interface' {
@@ -1260,19 +1317,21 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1260
1317
  onRegisterInfoCompleted?: (user: User, udfs: {
1261
1318
  definition: any;
1262
1319
  value: any;
1263
- }[], authClient: AuthenticationClient) => void;
1320
+ }[], authClient: AuthenticationClient, opts?: {
1321
+ phone?: string;
1322
+ canMergeUser?: boolean;
1323
+ }) => void;
1264
1324
  onRegisterInfoCompletedError?: (error: CommonMessage, udfs: {
1265
1325
  definition: any;
1266
1326
  value: any;
1267
1327
  }[], authClient: AuthenticationClient) => void;
1328
+ onAccountMergeCompleteInfo?: (user: User) => void;
1268
1329
  }
1269
1330
  export interface GuardCompleteInfoProps extends IG2FCProps, CompleteInfoEvents {
1270
1331
  config: Partial<CompleteInfoConfig>;
1271
1332
  }
1272
1333
  export interface GuardCompleteInfoViewProps extends GuardCompleteInfoProps {
1273
1334
  config: CompleteInfoConfig;
1274
- initData: any;
1275
- onLogin?: any;
1276
1335
  }
1277
1336
  export type ExtendsFieldType = 'user' | 'internal';
1278
1337
  export interface ExtendsField {
@@ -1305,6 +1364,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1305
1364
  name: string;
1306
1365
  required: boolean;
1307
1366
  validateRules: CompleteInfoRule[];
1367
+ checkUnique?: boolean;
1308
1368
  options?: CompleteInfoSelectOption[];
1309
1369
  }
1310
1370
  export enum CompleteInfoBaseControls {
@@ -1332,8 +1392,6 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1332
1392
  export interface RegisterCompleteInfoInitData {
1333
1393
  content: any;
1334
1394
  businessRequestName: 'registerByEmail' | 'registerByPhoneCode' | 'registerByEmailCode';
1335
- onRegisterFailed: Function;
1336
- onRegisterSuccess: Function;
1337
1395
  }
1338
1396
  export interface RegisterCompletePasswordInitData extends RegisterCompleteInfoInitData {
1339
1397
  isChangeComplete: boolean;
@@ -1403,10 +1461,7 @@ declare module '@authing/react-ui-components/components/DownloadAuthenticator/in
1403
1461
  declare module '@authing/react-ui-components/components/Error/index' {
1404
1462
  import React from 'react';
1405
1463
  import './styles.less';
1406
- export interface ErrorProps {
1407
- error?: Error;
1408
- }
1409
- export const GuardErrorView: React.FC<ErrorProps>;
1464
+ export const GuardErrorView: React.FC;
1410
1465
 
1411
1466
  }
1412
1467
  declare module '@authing/react-ui-components/components/Error/interface' {
@@ -1500,7 +1555,6 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
1500
1555
  private changeModuleEvent;
1501
1556
  private stateMachineLog;
1502
1557
  constructor(changeModuleEvent: ChangeModuleEvent, initData: ModuleState);
1503
- uninstallPopstate: () => void;
1504
1558
  globalWindow: () => Window | undefined;
1505
1559
  next: (nextModule: GuardModuleType, initData: any) => void;
1506
1560
  back: (initData?: any) => void;
@@ -1508,9 +1562,8 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
1508
1562
  historyPush: (data: ModuleState, actionType?: ActionType) => void;
1509
1563
  historyBack: (data: ModuleState) => void;
1510
1564
  setConfig: (config: GuardLocalConfig) => void;
1511
- isUseHistoryHijack: () => boolean;
1512
- onPopstate: () => void;
1513
1565
  }
1566
+ export const useHistoryHijack: (back?: (() => void) | undefined) => ((state?: any) => void)[];
1514
1567
  export const initGuardStateMachine: (changeMouleEvent: ChangeModuleEvent, initData: ModuleState) => GuardStateMachine;
1515
1568
  export const getGuardStateMachine: () => GuardStateMachine;
1516
1569
  export const useGuardStateMachine: () => GuardStateMachine;
@@ -1692,10 +1745,12 @@ declare module '@authing/react-ui-components/components/Guard/module' {
1692
1745
  LOGIN_COMPLETE_INFO = "loginCompleteInfo",
1693
1746
  REGISTER_PASSWORD = "registerPassword",
1694
1747
  REGISTER_COMPLETE_INFO = "registerCompleteInfo",
1748
+ CUSTOM_COMPLETE_INFO = "customCompleteInfo",
1695
1749
  RECOVERY_CODE = "recoveryCode",
1696
1750
  SUBMIT_SUCCESS = "submitSuccess",
1697
1751
  IDENTITY_BINDING_ASK = "identityBindingAsk",
1698
1752
  IDENTITY_BINDING = "identityBinding",
1753
+ ACCOUNT_MERGE = "accountMerge",
1699
1754
  SELF_UNLOCK = "selfUnlock"
1700
1755
  }
1701
1756
  export interface GuardModuleAction {
@@ -1727,19 +1782,6 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
1727
1782
  }
1728
1783
  export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<SessionData>>;
1729
1784
 
1730
- }
1731
- declare module '@authing/react-ui-components/components/GuardButton/GuardButton' {
1732
- import React from 'react';
1733
- import { ButtonProps } from 'antd/lib/button';
1734
- import './styles.less';
1735
- export interface GuardButtonProps extends ButtonProps {
1736
- }
1737
- export const GuardButton: React.FC<GuardButtonProps>;
1738
-
1739
- }
1740
- declare module '@authing/react-ui-components/components/GuardButton/index' {
1741
- export * from '@authing/react-ui-components/components/GuardButton/GuardButton';
1742
-
1743
1785
  }
1744
1786
  declare module '@authing/react-ui-components/components/IconFont/iconfont' {
1745
1787
  export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
@@ -1998,7 +2040,6 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
1998
2040
  agreements: Agreement[];
1999
2041
  loginWay?: LoginMethods;
2000
2042
  submitButText?: string;
2001
- saveIdentify?: (type: LoginMethods, identity: string) => void;
2002
2043
  }
2003
2044
  export const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
2004
2045
  export {};
@@ -2010,9 +2051,8 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
2010
2051
  import { VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2011
2052
  export interface FormItemIdentifyProps extends FormItemProps {
2012
2053
  checkRepeat?: boolean;
2013
- checkExist?: boolean;
2014
2054
  methods: VerifyLoginMethods[];
2015
- currentMethod: 'phone-code' | 'email-code';
2055
+ currentMethod?: 'phone-code' | 'email-code';
2016
2056
  areaCode?: string;
2017
2057
  }
2018
2058
  export const FormItemIdentify: React.FC<FormItemIdentifyProps>;
@@ -2117,11 +2157,6 @@ declare module '@authing/react-ui-components/components/Login/interface' {
2117
2157
  export interface GuardLoginViewProps extends GuardLoginProps, IG2FCViewProps {
2118
2158
  config: LoginConfig;
2119
2159
  }
2120
- export interface GuardLoginInitData {
2121
- specifyDefaultLoginMethod?: LoginMethods;
2122
- _firstItemInitialValue?: string;
2123
- _lockMethod?: string;
2124
- }
2125
2160
  export const getDefaultLoginConfig: () => LoginConfig;
2126
2161
 
2127
2162
  }
@@ -2381,6 +2416,7 @@ declare module '@authing/react-ui-components/components/MFA/interface' {
2381
2416
  nickme?: string;
2382
2417
  username?: string;
2383
2418
  current?: MFAType;
2419
+ thirdPartyOrigin?: boolean;
2384
2420
  }
2385
2421
  export interface GuardMFAProps extends IG2FCProps, MFAEvents {
2386
2422
  config: Partial<MFAConfig>;
@@ -2482,21 +2518,6 @@ declare module '@authing/react-ui-components/components/Register/components/Agre
2482
2518
  }
2483
2519
  export const Agreements: FC<AgreementsProps>;
2484
2520
 
2485
- }
2486
- declare module '@authing/react-ui-components/components/Register/core/WithCode' {
2487
- import React from 'react';
2488
- import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2489
- export interface RegisterWithCodeProps {
2490
- onRegisterSuccess: Function;
2491
- onRegisterFailed: Function;
2492
- onBeforeRegister?: Function;
2493
- agreements: Agreement[];
2494
- publicConfig?: ApplicationConfig;
2495
- registeContext?: any;
2496
- methods: any[];
2497
- }
2498
- export const RegisterWithCode: React.FC<RegisterWithCodeProps>;
2499
-
2500
2521
  }
2501
2522
  declare module '@authing/react-ui-components/components/Register/core/WithEmail' {
2502
2523
  import React from 'react';
@@ -2545,13 +2566,13 @@ declare module '@authing/react-ui-components/components/Register/index' {
2545
2566
 
2546
2567
  }
2547
2568
  declare module '@authing/react-ui-components/components/Register/interface' {
2548
- import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
2549
- import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams, RegisterMethods } from '@authing/react-ui-components/components/index';
2569
+ import { IG2FCProps, IG2Config, IG2Events, NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
2570
+ import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
2550
2571
  import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2551
2572
  export interface RegisterConfig extends IG2Config {
2552
2573
  disableRegister?: boolean;
2553
- registerMethods?: RegisterMethods[];
2554
- defaultRegisterMethod?: RegisterMethods;
2574
+ registerMethods?: NewRegisterMethods[];
2575
+ defaultRegisterMethod?: NewRegisterMethods;
2555
2576
  publicKey?: string;
2556
2577
  agreementEnabled?: boolean;
2557
2578
  agreements?: Agreement[];
@@ -2561,7 +2582,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
2561
2582
  onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
2562
2583
  onRegister?: (user: User, authClient: AuthenticationClient) => void;
2563
2584
  onRegisterError?: (error: any) => void;
2564
- onRegisterTabChange?: (activeTab: RegisterMethods) => void;
2585
+ onRegisterTabChange?: (activeTab: NewRegisterMethods) => void;
2565
2586
  }
2566
2587
  export interface GuardRegisterProps extends IG2FCProps, RegisterEvents {
2567
2588
  config?: Partial<RegisterConfig>;
@@ -2577,14 +2598,12 @@ declare module '@authing/react-ui-components/components/Register/utils' {
2577
2598
 
2578
2599
  }
2579
2600
  declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
2580
- import React from 'react';
2601
+ /// <reference types="react" />
2581
2602
  export enum InputMethodMap {
2582
2603
  email = "email-code",
2583
2604
  phone = "phone-code"
2584
2605
  }
2585
- export const SelfUnlock: ({ identifyRef, }: {
2586
- identifyRef?: React.MutableRefObject<string> | undefined;
2587
- }) => JSX.Element;
2606
+ export const SelfUnlock: () => JSX.Element;
2588
2607
 
2589
2608
  }
2590
2609
  declare module '@authing/react-ui-components/components/SelfUnlock/index' {
@@ -2693,8 +2712,7 @@ declare module '@authing/react-ui-components/components/SingleComponent/index' {
2693
2712
  }
2694
2713
  declare module '@authing/react-ui-components/components/SubmitButton/index' {
2695
2714
  import React from 'react';
2696
- import { ButtonProps } from 'antd/lib/button';
2697
- interface SubmitButtonProps extends ButtonProps {
2715
+ interface SubmitButtonProps {
2698
2716
  text?: string;
2699
2717
  className?: string;
2700
2718
  onClick?: any;
@@ -2794,6 +2812,11 @@ declare module '@authing/react-ui-components/components/Type/index' {
2794
2812
  showChangeLanguage: boolean;
2795
2813
  };
2796
2814
  }
2815
+ export enum NewRegisterMethods {
2816
+ Email = "email",
2817
+ Phone = "phone",
2818
+ EmailCode = "emailCode"
2819
+ }
2797
2820
  export enum EmailScene {
2798
2821
  WELCOME_EMAIL = "WELCOME_EMAIL",
2799
2822
  FIRST_CREATED_USER = "FIRST_CREATED_USER",
@@ -2835,11 +2858,12 @@ declare module '@authing/react-ui-components/components/ValidatorRules/index' {
2835
2858
  export interface ValidatorFormItemProps extends FormItemProps {
2836
2859
  form?: FormInstance;
2837
2860
  checkRepeat?: boolean;
2838
- checkExist?: boolean;
2839
2861
  areaCode?: string;
2840
2862
  isCheckI18nSms?: boolean;
2841
2863
  }
2842
2864
  export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
2865
+ form?: FormInstance;
2866
+ checkRepeat?: boolean;
2843
2867
  method: 'email' | 'phone' | 'username';
2844
2868
  }
2845
2869
  export interface PasswordFormItemProps extends FormItemProps {
@@ -2905,8 +2929,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2905
2929
  import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2906
2930
  import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
2907
2931
  import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
2932
+ import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
2908
2933
  import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
2909
- import { RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
2910
2934
  export const getPublicConfig: (appId: string) => ApplicationConfig;
2911
2935
  export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
2912
2936
  export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
@@ -2920,8 +2944,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2920
2944
  openEventsMapping?: boolean | undefined;
2921
2945
  _qrCodeScanOptions?: Record<import("@authing/react-ui-components/components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
2922
2946
  disableRegister?: boolean | undefined;
2923
- registerMethods?: RegisterMethods[] | undefined;
2924
- defaultRegisterMethod?: RegisterMethods | undefined;
2947
+ registerMethods?: NewRegisterMethods[] | undefined;
2948
+ defaultRegisterMethod?: NewRegisterMethods | undefined;
2925
2949
  publicKey?: string | undefined;
2926
2950
  agreementEnabled?: boolean | undefined;
2927
2951
  agreements?: import("@authing/react-ui-components/components/AuthingGuard/api/index").Agreement[] | undefined;
@@ -2931,7 +2955,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2931
2955
  lang: string;
2932
2956
  langRange: string[];
2933
2957
  isHost?: boolean | undefined;
2934
- mode: import("@authing/react-ui-components/components/AuthingGuard/types/index").GuardMode;
2958
+ mode: import("@authing/react-ui-components/components/index").GuardMode;
2935
2959
  clickCloseable: boolean;
2936
2960
  escCloseable: boolean;
2937
2961
  userpool?: string | undefined;
@@ -2942,8 +2966,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2942
2966
  __unAuthFlow__?: boolean | undefined;
2943
2967
  autoRegister?: boolean | undefined;
2944
2968
  disableResetPwd?: boolean | undefined;
2945
- defaultLoginMethod?: import("@authing/react-ui-components/components/AuthingGuard/types/index").LoginMethods | undefined;
2946
- loginMethods?: import("@authing/react-ui-components/components/AuthingGuard/types/index").LoginMethods[] | undefined;
2969
+ defaultLoginMethod?: import("@authing/react-ui-components/components/index").LoginMethods | undefined;
2970
+ loginMethods?: import("@authing/react-ui-components/components/index").LoginMethods[] | undefined;
2947
2971
  passwordLoginMethods?: import("@authing/react-ui-components/components/AuthingGuard/api/index").PasswordLoginMethods[] | undefined;
2948
2972
  socialConnections?: import("authing-js-sdk").SocialConnectionProvider[] | undefined;
2949
2973
  socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
@@ -3032,14 +3056,6 @@ declare module '@authing/react-ui-components/components/_utils/context' {
3032
3056
  }>;
3033
3057
  Consumer: React.Consumer<IGuardContext>;
3034
3058
  };
3035
- export interface IGuardContextProvider {
3036
- spin: boolean;
3037
- spinChange: (spin: boolean) => void;
3038
- }
3039
- export const useGuardButtonContext: () => {
3040
- GuardButtonProvider: React.FC<{}>;
3041
- };
3042
- export const useGuardButtonState: () => IGuardContextProvider;
3043
3059
  export const useGuardPublicConfig: () => ApplicationConfig;
3044
3060
  export const useGuardHttpClient: () => GuardHttp;
3045
3061
  export const useGuardDefaultMergedConfig: () => GuardLocalConfig;
@@ -3089,8 +3105,7 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
3089
3105
  }
3090
3106
  declare module '@authing/react-ui-components/components/_utils/facePlugin/index' {
3091
3107
  import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
3092
- export const getFacePlugin: () => FacePlugin | undefined;
3093
- export const useFacePlugin: () => FacePlugin | undefined;
3108
+ export const getFacePlugin: () => FacePlugin;
3094
3109
  export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
3095
3110
 
3096
3111
  }
@@ -3228,7 +3243,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3228
3243
  import { User } from 'authing-js-sdk';
3229
3244
  import { ApplicationConfig, ComplateFiledsPlace } from '@authing/react-ui-components/components/AuthingGuard/api/index';
3230
3245
  import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
3231
- import { LoginMethods, RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
3246
+ import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
3232
3247
  export * from '@authing/react-ui-components/components/_utils/popupCenter';
3233
3248
  export * from '@authing/react-ui-components/components/_utils/clipboard';
3234
3249
  export const VALIDATE_PATTERN: {
@@ -3297,20 +3312,12 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3297
3312
  export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string | undefined) => Rule[];
3298
3313
  export const sleep: (delay: number) => Promise<unknown>;
3299
3314
  export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean | undefined) => boolean;
3300
- export const tabSort: (defaultValue: any, tabList: RegisterMethods[]) => RegisterMethods[];
3315
+ export const tabSort: (defaultValue: NewRegisterMethods, tabList: NewRegisterMethods[]) => NewRegisterMethods[];
3301
3316
  export const mailDesensitization: (mail: string) => string;
3302
3317
  export const phoneDesensitization: (phone: string) => string;
3303
3318
  export const getHundreds: (num: number) => number;
3304
3319
  export const GuardPropsFilter: (pre: GuardProps, current: GuardProps) => boolean;
3305
3320
  export const getDocumentNode: (node: Node & ParentNode) => Document;
3306
- export const getLoginTypePipe: (publicConfig: ApplicationConfig, registerMethod: RegisterMethods) => {
3307
- specifyDefaultLoginMethod: LoginMethods;
3308
- lockMethod: string;
3309
- } | {
3310
- specifyDefaultLoginMethod: LoginMethods;
3311
- lockMethod?: undefined;
3312
- } | undefined;
3313
- export const getPasswordIdentify: (identity: string) => string;
3314
3321
 
3315
3322
  }
3316
3323
  declare module '@authing/react-ui-components/components/_utils/initAppId' {
@@ -3408,7 +3415,8 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
3408
3415
  UNLOCK = 1643,
3409
3416
  FLOW_END = 1600,
3410
3417
  FIRST_LOGIN_PASSWORD = 1639,
3411
- FORCED_PASSWORD_RESET = 2058
3418
+ FORCED_PASSWORD_RESET = 2058,
3419
+ ACCOUNT_MERGE = 10000
3412
3420
  }
3413
3421
  export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
3414
3422
 
@@ -3494,6 +3502,7 @@ declare module '@authing/react-ui-components/components/index' {
3494
3502
  export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
3495
3503
  export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
3496
3504
  export * from '@authing/react-ui-components/components/AuthingGuard/index';
3505
+ export * from '@authing/react-ui-components/components/SingleComponent/index';
3497
3506
  export * from '@authing/react-ui-components/components/Guard/index';
3498
3507
  export * from '@authing/react-ui-components/components/Type/index';
3499
3508
  export * from '@authing/react-ui-components/components/version/index';
@@ -3505,7 +3514,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3505
3514
 
3506
3515
  }
3507
3516
  declare module '@authing/react-ui-components/components/version/version' {
3508
- const _default: "3.1.22-rc.9";
3517
+ const _default: "3.1.23-hep.1";
3509
3518
  export default _default;
3510
3519
 
3511
3520
  }