@authing/react-ui-components 3.1.16-rc.2 → 3.1.17-rc.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
@@ -381,7 +381,6 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
381
381
  import { Lang, LoginMethods, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
382
382
  import { IAzureAdConnectionConfig, ICasConnectionConfig, IOAuthConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
383
383
  import { PasswordStrength } from '@authing/react-ui-components/components/_utils/index';
384
- import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
385
384
  export enum ApplicationMfaType {
386
385
  SMS = "SMS",
387
386
  EMAIL = "EMAIL"
@@ -446,7 +445,6 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
446
445
  defaultISOType: string;
447
446
  };
448
447
  css: string;
449
- customLoading?: string;
450
448
  name: string;
451
449
  logo: string;
452
450
  description?: string;
@@ -459,17 +457,6 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
459
457
  [x: string]: string;
460
458
  };
461
459
  };
462
- registerTabsConfig: {
463
- list: string[];
464
- default: string;
465
- title: {
466
- [x: string]: string;
467
- };
468
- registerTypeConfig: {
469
- emailRegisterType?: NewRegisterMethods[];
470
- phoneRegisterType?: NewRegisterMethods[];
471
- };
472
- };
473
460
  qrcodeTabsSettings: QrcodeTabsSettings;
474
461
  loginTabs: {
475
462
  list: string[];
@@ -1176,11 +1163,6 @@ declare module '@authing/react-ui-components/components/ChangePassword/businessR
1176
1163
  oldPassword?: string;
1177
1164
  }) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1178
1165
 
1179
- }
1180
- declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
1181
- import React from 'react';
1182
- export const CompletePassword: React.FC;
1183
-
1184
1166
  }
1185
1167
  declare module '@authing/react-ui-components/components/ChangePassword/core/firstLoginReset' {
1186
1168
  import React from 'react';
@@ -1208,19 +1190,17 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
1208
1190
  }>;
1209
1191
  export const GuardFirstLoginPasswordResetView: React.FC;
1210
1192
  export const GuardForcedPasswordResetView: React.FC;
1211
- export const GuardRegisterCompletePasswordView: React.FC;
1212
1193
 
1213
1194
  }
1214
1195
  declare module '@authing/react-ui-components/components/CompleteInfo/businessRequest' {
1215
- import { User } from 'authing-js-sdk';
1216
- import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/components/CompleteInfo/interface';
1196
+ import { CompleteInfoRequest } from '@authing/react-ui-components/components/CompleteInfo/interface';
1217
1197
  export enum CompleteInfoAuthFlowAction {
1218
1198
  Complete = "complete-completion",
1219
1199
  Skip = "skip-completion"
1220
1200
  }
1221
1201
  export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1222
- export const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>> | Promise<User> | undefined;
1223
- export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<User | import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> | undefined>;
1202
+ export const registerSkipMethod: (fnName: 'registerByEmail' | 'registerByPhoneCode', content: any) => Promise<import("authing-js-sdk").User> | undefined;
1203
+ export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: 'registerByEmail' | 'registerByPhoneCode', registerContent: any, registerProfile?: any) => Promise<import("authing-js-sdk").User | undefined>;
1224
1204
 
1225
1205
  }
1226
1206
  declare module '@authing/react-ui-components/components/CompleteInfo/core/completeInfo' {
@@ -1332,10 +1312,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1332
1312
  }
1333
1313
  export interface RegisterCompleteInfoInitData {
1334
1314
  content: any;
1335
- businessRequestName: 'registerByEmail' | 'registerByPhoneCode' | 'registerByEmailCode';
1336
- }
1337
- export interface RegisterCompletePasswordInitData extends RegisterCompleteInfoInitData {
1338
- isChangeComplete: boolean;
1315
+ businessRequestName: 'registerByEmail' | 'registerByPhoneCode';
1339
1316
  }
1340
1317
  export interface CompleteInfoRequest {
1341
1318
  fieldValues: {
@@ -1346,8 +1323,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1346
1323
  }
1347
1324
  export enum OmitCompleteInfo {
1348
1325
  'registerByEmail' = "email",
1349
- 'registerByPhoneCode' = "phone",
1350
- 'registerByEmailCode' = "email"
1326
+ 'registerByPhoneCode' = "phone"
1351
1327
  }
1352
1328
 
1353
1329
  }
@@ -1513,19 +1489,21 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
1513
1489
  declare module '@authing/react-ui-components/components/Guard/authClient' {
1514
1490
  import { AuthenticationClient } from 'authing-js-sdk';
1515
1491
  import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
1492
+ let authClient: AuthenticationClient;
1516
1493
  export const initGuardAuthClient: (config: GuardLocalConfig, appId: string, tenantId?: string | undefined) => AuthenticationClient;
1517
1494
  export const useInitGuardAuthClient: (props: {
1518
1495
  config?: GuardLocalConfig | undefined;
1519
- appId: string;
1496
+ appId?: string | undefined;
1497
+ authClient?: AuthenticationClient | undefined;
1520
1498
  setError?: any;
1521
1499
  tenantId?: string | undefined;
1522
1500
  }) => AuthenticationClient | undefined;
1523
1501
  export const getGuardAuthClient: () => AuthenticationClient;
1524
1502
  export const useGuardAuthClient: () => AuthenticationClient;
1503
+ export {};
1525
1504
 
1526
1505
  }
1527
1506
  declare module '@authing/react-ui-components/components/Guard/config' {
1528
- import { AuthenticationClient } from 'authing-js-sdk';
1529
1507
  import { ReactNode } from 'react';
1530
1508
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
1531
1509
  import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
@@ -1551,7 +1529,6 @@ declare module '@authing/react-ui-components/components/Guard/config' {
1551
1529
  */
1552
1530
  openEventsMapping?: boolean;
1553
1531
  _qrCodeScanOptions?: Record<QrCodeScanType, QrCodeScanOptions>;
1554
- authClient?: AuthenticationClient;
1555
1532
  }
1556
1533
  export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
1557
1534
 
@@ -1574,7 +1551,6 @@ declare module '@authing/react-ui-components/components/Guard/core/renderContext
1574
1551
  export const RenderContext: React.FC<{
1575
1552
  guardProps: GuardProps;
1576
1553
  initState: ModuleState;
1577
- forceUpdate: number;
1578
1554
  }>;
1579
1555
 
1580
1556
  }
@@ -1592,10 +1568,10 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
1592
1568
 
1593
1569
  }
1594
1570
  declare module '@authing/react-ui-components/components/Guard/core/useAppendConfig' {
1595
- import { GuardProps } from '@authing/react-ui-components/components/index';
1571
+ import { GuardAppendConfig } from '@authing/react-ui-components/components/index';
1596
1572
  export const getGuardWindow: () => (Window & typeof globalThis) | undefined;
1597
1573
  export const useGuardWindow: () => (Window & typeof globalThis) | undefined;
1598
- export const useInitGuardAppendConfig: (guardProps: GuardProps, setForceUpdate: any) => void;
1574
+ export const useInitGuardAppendConfig: (appId?: string | undefined, appendConfig?: GuardAppendConfig | undefined) => void;
1599
1575
 
1600
1576
  }
1601
1577
  declare module '@authing/react-ui-components/components/Guard/core/usePlugin' {
@@ -1617,6 +1593,50 @@ declare module '@authing/react-ui-components/components/Guard/event' {
1617
1593
  }
1618
1594
  export const guardEventsFilter: (props: any, openEventsMapping?: boolean | undefined) => GuardEvents;
1619
1595
  export const guardEventsHijacking: (events: GuardEvents, openEventsMapping?: boolean | undefined) => GuardEvents;
1596
+ export const GuardEventsCamelToKebabMapping: {
1597
+ readonly onLoad: "load";
1598
+ readonly onLoadError: "load-error";
1599
+ readonly onLogin: "login";
1600
+ readonly onBeforeLogin: "before-login";
1601
+ readonly onLoginError: "login-error";
1602
+ readonly onRegister: "register";
1603
+ readonly onBeforeRegister: "before-register";
1604
+ readonly onRegisterError: "register-error";
1605
+ readonly onPwdEmailSend: "pwd-email-send";
1606
+ readonly onPwdEmailSendError: "pwd-email-send-error";
1607
+ readonly onPwdPhoneSend: "pwd-phone-send";
1608
+ readonly onPwdPhoneSendError: "pwd-phone-send-error";
1609
+ readonly onPwdReset: "pwd-reset";
1610
+ readonly onPwdResetError: "pwd-reset-error";
1611
+ readonly onClose: "close";
1612
+ readonly onLoginTabChange: "login-tab-change";
1613
+ readonly onRegisterTabChange: "register-tab-change";
1614
+ readonly onRegisterInfoCompleted: "register-info-completed";
1615
+ readonly onRegisterInfoCompletedError: "register-info-completed-error";
1616
+ readonly onLangChange: "lang-change";
1617
+ };
1618
+ export interface GuardEventsKebabToCamelType {
1619
+ load: GuardEvents['onLoad'];
1620
+ 'load-error': GuardEvents['onLoadError'];
1621
+ 'before-login': GuardEvents['onBeforeLogin'];
1622
+ login: GuardEvents['onLogin'];
1623
+ 'login-error': GuardEvents['onLoginError'];
1624
+ 'before-register': GuardEvents['onBeforeRegister'];
1625
+ register: GuardEvents['onRegister'];
1626
+ 'register-error': GuardEvents['onRegisterError'];
1627
+ 'pwd-email-send': GuardEvents['onPwdEmailSend'];
1628
+ 'pwd-email-send-error': GuardEvents['onPwdEmailSendError'];
1629
+ 'pwd-phone-send': GuardEvents['onPwdPhoneSend'];
1630
+ 'pwd-phone-send-error': GuardEvents['onPwdPhoneSendError'];
1631
+ 'pwd-reset': GuardEvents['onPwdReset'];
1632
+ 'pwd-reset-error': GuardEvents['onPwdResetError'];
1633
+ close: GuardEvents['onClose'];
1634
+ 'login-tab-change': GuardEvents['onLoginTabChange'];
1635
+ 'register-tab-change': GuardEvents['onRegisterTabChange'];
1636
+ 'register-info-completed': GuardEvents['onRegisterInfoCompleted'];
1637
+ 'register-info-completed-error': GuardEvents['onRegisterInfoCompletedError'];
1638
+ 'lang-change': GuardEvents['onLangChange'];
1639
+ }
1620
1640
 
1621
1641
  }
1622
1642
  declare module '@authing/react-ui-components/components/Guard/index' {
@@ -1639,7 +1659,6 @@ declare module '@authing/react-ui-components/components/Guard/module' {
1639
1659
  BIND_TOTP = "bindTotp",
1640
1660
  ANY_QUESTIONS = "anyQuestions",
1641
1661
  LOGIN_COMPLETE_INFO = "loginCompleteInfo",
1642
- REGISTER_PASSWORD = "registerPassword",
1643
1662
  REGISTER_COMPLETE_INFO = "registerCompleteInfo",
1644
1663
  RECOVERY_CODE = "recoveryCode",
1645
1664
  SUBMIT_SUCCESS = "submitSuccess",
@@ -1720,6 +1739,12 @@ declare module '@authing/react-ui-components/components/IdentityBinding/business
1720
1739
  account: string;
1721
1740
  password: string;
1722
1741
  }
1742
+ export enum IdentityBindingAction {
1743
+ CreateUser = "create-federation-account",
1744
+ BindByPassword = "bind-identity-by-password",
1745
+ BindByPhoneCode = "bind-identity-by-phone-code",
1746
+ BindByEmailCode = "bind-identity-by-email-code"
1747
+ }
1723
1748
  export const PhoneCode: (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1724
1749
  export const EmailCode: (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1725
1750
  export const Password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
@@ -2417,21 +2442,6 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
2417
2442
  }
2418
2443
  export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
2419
2444
 
2420
- }
2421
- declare module '@authing/react-ui-components/components/Register/core/WithEmailCode' {
2422
- import React from 'react';
2423
- import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2424
- export interface RegisterWithEmailCodeProps {
2425
- onRegisterSuccess: Function;
2426
- onRegisterFailed: Function;
2427
- onBeforeRegister?: Function;
2428
- agreements: Agreement[];
2429
- publicConfig?: ApplicationConfig;
2430
- registeContext?: any;
2431
- needPassword?: boolean;
2432
- }
2433
- export const RegisterWithEmailCode: React.FC<RegisterWithEmailCodeProps>;
2434
-
2435
2445
  }
2436
2446
  declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
2437
2447
  import React from 'react';
@@ -2442,7 +2452,6 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
2442
2452
  agreements: Agreement[];
2443
2453
  publicConfig?: ApplicationConfig;
2444
2454
  registeContext?: any;
2445
- needPassword?: boolean;
2446
2455
  }
2447
2456
  export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
2448
2457
 
@@ -2453,13 +2462,14 @@ declare module '@authing/react-ui-components/components/Register/index' {
2453
2462
 
2454
2463
  }
2455
2464
  declare module '@authing/react-ui-components/components/Register/interface' {
2456
- import { IG2FCProps, IG2Config, IG2Events, NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
2465
+ import { RegisterMethods } from 'authing-js-sdk';
2466
+ import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
2457
2467
  import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
2458
2468
  import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2459
2469
  export interface RegisterConfig extends IG2Config {
2460
2470
  disableRegister?: boolean;
2461
- registerMethods?: NewRegisterMethods[];
2462
- defaultRegisterMethod?: NewRegisterMethods;
2471
+ registerMethods?: RegisterMethods[];
2472
+ defaultRegisterMethod?: RegisterMethods;
2463
2473
  publicKey?: string;
2464
2474
  agreementEnabled?: boolean;
2465
2475
  agreements?: Agreement[];
@@ -2469,7 +2479,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
2469
2479
  onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
2470
2480
  onRegister?: (user: User, authClient: AuthenticationClient) => void;
2471
2481
  onRegisterError?: (error: any) => void;
2472
- onRegisterTabChange?: (activeTab: NewRegisterMethods) => void;
2482
+ onRegisterTabChange?: (activeTab: RegisterMethods) => void;
2473
2483
  }
2474
2484
  export interface GuardRegisterProps extends IG2FCProps, RegisterEvents {
2475
2485
  config?: Partial<RegisterConfig>;
@@ -2499,11 +2509,11 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
2499
2509
  }
2500
2510
  declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
2501
2511
  import { FC } from 'react';
2512
+ import { EmailScene } from 'authing-js-sdk';
2502
2513
  import './style.less';
2503
2514
  import { InputProps } from 'antd/lib/input';
2504
- import { EmailScene } from '@authing/react-ui-components/components/Type/index';
2505
2515
  export interface SendCodeByEmailProps extends InputProps {
2506
- data?: string;
2516
+ data: string;
2507
2517
  form?: any;
2508
2518
  onSendCodeBefore?: any;
2509
2519
  fieldName?: string;
@@ -2571,7 +2581,6 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
2571
2581
  text?: string;
2572
2582
  className?: string;
2573
2583
  onClick?: any;
2574
- disabled?: boolean;
2575
2584
  }
2576
2585
  const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
2577
2586
  export default _default;
@@ -2610,13 +2619,14 @@ declare module '@authing/react-ui-components/components/Type/index' {
2610
2619
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
2611
2620
  import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
2612
2621
  export interface IG2FCProps extends IG2Events {
2613
- appId: string;
2622
+ appId?: string;
2614
2623
  tenantId?: string;
2615
2624
  config?: Partial<IG2Config>;
2616
2625
  visible?: boolean;
2617
2626
  initData?: any;
2618
2627
  appendConfig?: GuardAppendConfig;
2619
2628
  facePlugin?: FacePlugin;
2629
+ authClient?: AuthenticationClient;
2620
2630
  }
2621
2631
  export interface GuardAppendConfig {
2622
2632
  internalRequest?: boolean;
@@ -2666,24 +2676,6 @@ declare module '@authing/react-ui-components/components/Type/index' {
2666
2676
  showChangeLanguage: boolean;
2667
2677
  };
2668
2678
  }
2669
- export enum NewRegisterMethods {
2670
- Email = "email",
2671
- Phone = "phone",
2672
- EmailCode = "emailCode"
2673
- }
2674
- export enum EmailScene {
2675
- WELCOME_EMAIL = "WELCOME_EMAIL",
2676
- FIRST_CREATED_USER = "FIRST_CREATED_USER",
2677
- REGISTER_VERIFY_CODE = "REGISTER_VERIFY_CODE",
2678
- LOGIN_VERIFY_CODE = "LOGIN_VERIFY_CODE",
2679
- MFA_VERIFY_CODE = "MFA_VERIFY_CODE",
2680
- INFORMATION_COMPLETION_VERIFY_CODE = "INFORMATION_COMPLETION_VERIFY_CODE",
2681
- FIRST_EMAIL_LOGIN_VERIFY = "FIRST_EMAIL_LOGIN_VERIFY",
2682
- CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
2683
- RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
2684
- EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
2685
- EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
2686
- }
2687
2679
 
2688
2680
  }
2689
2681
  declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
@@ -2712,7 +2704,6 @@ declare module '@authing/react-ui-components/components/ValidatorRules/index' {
2712
2704
  form?: FormInstance;
2713
2705
  checkRepeat?: boolean;
2714
2706
  areaCode?: string;
2715
- isCheckI18nSms?: boolean;
2716
2707
  }
2717
2708
  export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
2718
2709
  form?: FormInstance;
@@ -2779,15 +2770,15 @@ declare module '@authing/react-ui-components/components/_utils/clipboard' {
2779
2770
  }
2780
2771
  declare module '@authing/react-ui-components/components/_utils/config/index' {
2781
2772
  /// <reference types="react" />
2773
+ import { RegisterMethods } from 'authing-js-sdk';
2782
2774
  import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2783
2775
  import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
2784
2776
  import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
2785
- import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
2786
2777
  import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
2787
2778
  export const getPublicConfig: (appId: string) => ApplicationConfig;
2788
2779
  export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
2789
2780
  export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
2790
- export const useMergePublicConfig: (appId: string, forceUpdate: number, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, serError?: any) => {
2781
+ export const useMergePublicConfig: (appId?: string | undefined, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, setError?: any) => {
2791
2782
  host: string;
2792
2783
  isSSO?: boolean | undefined;
2793
2784
  defaultScenes?: import("@authing/react-ui-components/components/index").GuardModuleType | undefined;
@@ -2796,10 +2787,9 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2796
2787
  loadingComponent?: import("react").ReactNode;
2797
2788
  openEventsMapping?: boolean | undefined;
2798
2789
  _qrCodeScanOptions?: Record<import("@authing/react-ui-components/components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
2799
- authClient?: import("authing-js-sdk").AuthenticationClient | undefined;
2800
2790
  disableRegister?: boolean | undefined;
2801
- registerMethods?: NewRegisterMethods[] | undefined;
2802
- defaultRegisterMethod?: NewRegisterMethods | undefined;
2791
+ registerMethods?: RegisterMethods[] | undefined;
2792
+ defaultRegisterMethod?: RegisterMethods | undefined;
2803
2793
  publicKey?: string | undefined;
2804
2794
  agreementEnabled?: boolean | undefined;
2805
2795
  agreements?: import("@authing/react-ui-components/components/AuthingGuard/api/index").Agreement[] | undefined;
@@ -2827,6 +2817,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2827
2817
  socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
2828
2818
  enterpriseConnections?: string[] | undefined;
2829
2819
  qrCodeScanOptions?: {
2820
+ currentDocument?: Document | undefined;
2830
2821
  extIdpConnId?: string | undefined;
2831
2822
  autoExchangeUserInfo?: boolean | undefined;
2832
2823
  size?: {
@@ -2873,7 +2864,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2873
2864
  export const getPageConfig: (appId: string) => GuardPageConfig;
2874
2865
  export const setPageConfig: (appId: string, config: GuardPageConfig) => GuardPageConfig;
2875
2866
  export const requestGuardPageConfig: (appId: string, httpClient: GuardHttp) => Promise<GuardPageConfig>;
2876
- export const useGuardPageConfig: (appId: string, forceUpdate: number, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
2867
+ export const useGuardPageConfig: (appId?: string | undefined, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
2877
2868
 
2878
2869
  }
2879
2870
  declare module '@authing/react-ui-components/components/_utils/context' {
@@ -2968,6 +2959,13 @@ declare module '@authing/react-ui-components/components/_utils/facePlugin/interf
2968
2959
  nets: any;
2969
2960
  }
2970
2961
 
2962
+ }
2963
+ declare module '@authing/react-ui-components/components/_utils/flowHandleStorage' {
2964
+ export const getFlowHandle: () => string | undefined;
2965
+ export const useFlowHandle: () => string | undefined;
2966
+ export const updateFlowHandle: (flowHandle: string) => void;
2967
+ export const useUpdateFlowHandle: (flowHandle: string) => void;
2968
+
2971
2969
  }
2972
2970
  declare module '@authing/react-ui-components/components/_utils/guardDocument' {
2973
2971
  export const getGuardDocument: () => Document;
@@ -3074,6 +3072,7 @@ declare module '@authing/react-ui-components/components/_utils/http' {
3074
3072
  data?: T;
3075
3073
  messages?: string;
3076
3074
  message?: string;
3075
+ flowHandle?: string;
3077
3076
  }
3078
3077
  export interface AuthingGuardResponse<T = any> extends AuthingResponse<T> {
3079
3078
  onGuardHandling?: () => CodeAction;
@@ -3084,10 +3083,9 @@ declare module '@authing/react-ui-components/components/_utils/http' {
3084
3083
  declare module '@authing/react-ui-components/components/_utils/index' {
3085
3084
  import { Rule } from 'antd/lib/form';
3086
3085
  import qs from 'qs';
3087
- import { User } from 'authing-js-sdk';
3086
+ import { RegisterMethods, User } from 'authing-js-sdk';
3088
3087
  import { ApplicationConfig, ComplateFiledsPlace } from '@authing/react-ui-components/components/AuthingGuard/api/index';
3089
3088
  import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
3090
- import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
3091
3089
  export * from '@authing/react-ui-components/components/_utils/popupCenter';
3092
3090
  export * from '@authing/react-ui-components/components/_utils/clipboard';
3093
3091
  export const VALIDATE_PATTERN: {
@@ -3130,8 +3128,6 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3130
3128
  export const isXiaomiBrowser: () => boolean | null;
3131
3129
  export const isDingtalkBrowser: () => boolean | null;
3132
3130
  export const isQQBrowser: () => boolean | null;
3133
- export const isQQBuiltInBrowser: () => boolean | null;
3134
- export const isWeWorkBuiltInBrowser: () => boolean | null;
3135
3131
  export const isSpecialBrowser: () => boolean | null;
3136
3132
  export const assembledAppHost: (identifier: string, host: string) => string;
3137
3133
  export const assembledRequestHost: (requestHostname: string, configHost: string) => string;
@@ -3150,13 +3146,23 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3150
3146
  export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string | undefined) => Rule[];
3151
3147
  export const sleep: (delay: number) => Promise<unknown>;
3152
3148
  export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean | undefined) => boolean;
3153
- export const tabSort: (defaultValue: NewRegisterMethods, tabList: NewRegisterMethods[]) => NewRegisterMethods[];
3149
+ export const tabSort: (defaultValue: RegisterMethods, tabList: RegisterMethods[]) => RegisterMethods[];
3154
3150
  export const mailDesensitization: (mail: string) => string;
3155
3151
  export const phoneDesensitization: (phone: string) => string;
3156
3152
  export const getHundreds: (num: number) => number;
3157
3153
  export const GuardPropsFilter: (pre: GuardProps, current: GuardProps) => boolean;
3158
3154
  export const getDocumentNode: (node: Node & ParentNode) => Document;
3159
3155
 
3156
+ }
3157
+ declare module '@authing/react-ui-components/components/_utils/initAppId' {
3158
+ import { AuthenticationClient } from 'authing-js-sdk';
3159
+ export interface UseInitAppidProps {
3160
+ propsAppid?: string;
3161
+ propsAuthClient?: AuthenticationClient;
3162
+ setError?: any;
3163
+ }
3164
+ export const useInitAppId: (propsAppid?: string | undefined, propsAuthClient?: AuthenticationClient | undefined, setError?: any) => string | undefined;
3165
+
3160
3166
  }
3161
3167
  declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
3162
3168
  import common from '@authing/react-ui-components/components/_utils/locales/en/common/index';
@@ -3339,7 +3345,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3339
3345
 
3340
3346
  }
3341
3347
  declare module '@authing/react-ui-components/components/version/version' {
3342
- const _default: "3.1.16-rc.2";
3348
+ const _default: "3.1.17-rc.1";
3343
3349
  export default _default;
3344
3350
 
3345
3351
  }