@authing/react-ui-components 3.1.15 → 3.1.16-rc.2

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,6 +381,7 @@ 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';
384
385
  export enum ApplicationMfaType {
385
386
  SMS = "SMS",
386
387
  EMAIL = "EMAIL"
@@ -445,6 +446,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
445
446
  defaultISOType: string;
446
447
  };
447
448
  css: string;
449
+ customLoading?: string;
448
450
  name: string;
449
451
  logo: string;
450
452
  description?: string;
@@ -457,6 +459,17 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
457
459
  [x: string]: string;
458
460
  };
459
461
  };
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
+ };
460
473
  qrcodeTabsSettings: QrcodeTabsSettings;
461
474
  loginTabs: {
462
475
  list: string[];
@@ -1163,6 +1176,11 @@ declare module '@authing/react-ui-components/components/ChangePassword/businessR
1163
1176
  oldPassword?: string;
1164
1177
  }) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1165
1178
 
1179
+ }
1180
+ declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
1181
+ import React from 'react';
1182
+ export const CompletePassword: React.FC;
1183
+
1166
1184
  }
1167
1185
  declare module '@authing/react-ui-components/components/ChangePassword/core/firstLoginReset' {
1168
1186
  import React from 'react';
@@ -1190,17 +1208,19 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
1190
1208
  }>;
1191
1209
  export const GuardFirstLoginPasswordResetView: React.FC;
1192
1210
  export const GuardForcedPasswordResetView: React.FC;
1211
+ export const GuardRegisterCompletePasswordView: React.FC;
1193
1212
 
1194
1213
  }
1195
1214
  declare module '@authing/react-ui-components/components/CompleteInfo/businessRequest' {
1196
- import { CompleteInfoRequest } from '@authing/react-ui-components/components/CompleteInfo/interface';
1215
+ import { User } from 'authing-js-sdk';
1216
+ import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/components/CompleteInfo/interface';
1197
1217
  export enum CompleteInfoAuthFlowAction {
1198
1218
  Complete = "complete-completion",
1199
1219
  Skip = "skip-completion"
1200
1220
  }
1201
1221
  export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
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>;
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>;
1204
1224
 
1205
1225
  }
1206
1226
  declare module '@authing/react-ui-components/components/CompleteInfo/core/completeInfo' {
@@ -1312,7 +1332,10 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1312
1332
  }
1313
1333
  export interface RegisterCompleteInfoInitData {
1314
1334
  content: any;
1315
- businessRequestName: 'registerByEmail' | 'registerByPhoneCode';
1335
+ businessRequestName: 'registerByEmail' | 'registerByPhoneCode' | 'registerByEmailCode';
1336
+ }
1337
+ export interface RegisterCompletePasswordInitData extends RegisterCompleteInfoInitData {
1338
+ isChangeComplete: boolean;
1316
1339
  }
1317
1340
  export interface CompleteInfoRequest {
1318
1341
  fieldValues: {
@@ -1323,7 +1346,8 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1323
1346
  }
1324
1347
  export enum OmitCompleteInfo {
1325
1348
  'registerByEmail' = "email",
1326
- 'registerByPhoneCode' = "phone"
1349
+ 'registerByPhoneCode' = "phone",
1350
+ 'registerByEmailCode' = "email"
1327
1351
  }
1328
1352
 
1329
1353
  }
@@ -1489,21 +1513,19 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
1489
1513
  declare module '@authing/react-ui-components/components/Guard/authClient' {
1490
1514
  import { AuthenticationClient } from 'authing-js-sdk';
1491
1515
  import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
1492
- let authClient: AuthenticationClient;
1493
1516
  export const initGuardAuthClient: (config: GuardLocalConfig, appId: string, tenantId?: string | undefined) => AuthenticationClient;
1494
1517
  export const useInitGuardAuthClient: (props: {
1495
1518
  config?: GuardLocalConfig | undefined;
1496
- appId?: string | undefined;
1497
- authClient?: AuthenticationClient | undefined;
1519
+ appId: string;
1498
1520
  setError?: any;
1499
1521
  tenantId?: string | undefined;
1500
1522
  }) => AuthenticationClient | undefined;
1501
1523
  export const getGuardAuthClient: () => AuthenticationClient;
1502
1524
  export const useGuardAuthClient: () => AuthenticationClient;
1503
- export {};
1504
1525
 
1505
1526
  }
1506
1527
  declare module '@authing/react-ui-components/components/Guard/config' {
1528
+ import { AuthenticationClient } from 'authing-js-sdk';
1507
1529
  import { ReactNode } from 'react';
1508
1530
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
1509
1531
  import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
@@ -1529,6 +1551,7 @@ declare module '@authing/react-ui-components/components/Guard/config' {
1529
1551
  */
1530
1552
  openEventsMapping?: boolean;
1531
1553
  _qrCodeScanOptions?: Record<QrCodeScanType, QrCodeScanOptions>;
1554
+ authClient?: AuthenticationClient;
1532
1555
  }
1533
1556
  export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
1534
1557
 
@@ -1551,6 +1574,7 @@ declare module '@authing/react-ui-components/components/Guard/core/renderContext
1551
1574
  export const RenderContext: React.FC<{
1552
1575
  guardProps: GuardProps;
1553
1576
  initState: ModuleState;
1577
+ forceUpdate: number;
1554
1578
  }>;
1555
1579
 
1556
1580
  }
@@ -1568,10 +1592,10 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
1568
1592
 
1569
1593
  }
1570
1594
  declare module '@authing/react-ui-components/components/Guard/core/useAppendConfig' {
1571
- import { GuardAppendConfig } from '@authing/react-ui-components/components/index';
1595
+ import { GuardProps } from '@authing/react-ui-components/components/index';
1572
1596
  export const getGuardWindow: () => (Window & typeof globalThis) | undefined;
1573
1597
  export const useGuardWindow: () => (Window & typeof globalThis) | undefined;
1574
- export const useInitGuardAppendConfig: (appId?: string | undefined, appendConfig?: GuardAppendConfig | undefined) => void;
1598
+ export const useInitGuardAppendConfig: (guardProps: GuardProps, setForceUpdate: any) => void;
1575
1599
 
1576
1600
  }
1577
1601
  declare module '@authing/react-ui-components/components/Guard/core/usePlugin' {
@@ -1593,50 +1617,6 @@ declare module '@authing/react-ui-components/components/Guard/event' {
1593
1617
  }
1594
1618
  export const guardEventsFilter: (props: any, openEventsMapping?: boolean | undefined) => GuardEvents;
1595
1619
  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
- }
1640
1620
 
1641
1621
  }
1642
1622
  declare module '@authing/react-ui-components/components/Guard/index' {
@@ -1659,6 +1639,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
1659
1639
  BIND_TOTP = "bindTotp",
1660
1640
  ANY_QUESTIONS = "anyQuestions",
1661
1641
  LOGIN_COMPLETE_INFO = "loginCompleteInfo",
1642
+ REGISTER_PASSWORD = "registerPassword",
1662
1643
  REGISTER_COMPLETE_INFO = "registerCompleteInfo",
1663
1644
  RECOVERY_CODE = "recoveryCode",
1664
1645
  SUBMIT_SUCCESS = "submitSuccess",
@@ -2436,6 +2417,21 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
2436
2417
  }
2437
2418
  export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
2438
2419
 
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
+
2439
2435
  }
2440
2436
  declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
2441
2437
  import React from 'react';
@@ -2446,6 +2442,7 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
2446
2442
  agreements: Agreement[];
2447
2443
  publicConfig?: ApplicationConfig;
2448
2444
  registeContext?: any;
2445
+ needPassword?: boolean;
2449
2446
  }
2450
2447
  export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
2451
2448
 
@@ -2456,14 +2453,13 @@ declare module '@authing/react-ui-components/components/Register/index' {
2456
2453
 
2457
2454
  }
2458
2455
  declare module '@authing/react-ui-components/components/Register/interface' {
2459
- import { RegisterMethods } from 'authing-js-sdk';
2460
- import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
2456
+ import { IG2FCProps, IG2Config, IG2Events, NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
2461
2457
  import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
2462
2458
  import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2463
2459
  export interface RegisterConfig extends IG2Config {
2464
2460
  disableRegister?: boolean;
2465
- registerMethods?: RegisterMethods[];
2466
- defaultRegisterMethod?: RegisterMethods;
2461
+ registerMethods?: NewRegisterMethods[];
2462
+ defaultRegisterMethod?: NewRegisterMethods;
2467
2463
  publicKey?: string;
2468
2464
  agreementEnabled?: boolean;
2469
2465
  agreements?: Agreement[];
@@ -2473,7 +2469,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
2473
2469
  onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
2474
2470
  onRegister?: (user: User, authClient: AuthenticationClient) => void;
2475
2471
  onRegisterError?: (error: any) => void;
2476
- onRegisterTabChange?: (activeTab: RegisterMethods) => void;
2472
+ onRegisterTabChange?: (activeTab: NewRegisterMethods) => void;
2477
2473
  }
2478
2474
  export interface GuardRegisterProps extends IG2FCProps, RegisterEvents {
2479
2475
  config?: Partial<RegisterConfig>;
@@ -2503,11 +2499,11 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
2503
2499
  }
2504
2500
  declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
2505
2501
  import { FC } from 'react';
2506
- import { EmailScene } from 'authing-js-sdk';
2507
2502
  import './style.less';
2508
2503
  import { InputProps } from 'antd/lib/input';
2504
+ import { EmailScene } from '@authing/react-ui-components/components/Type/index';
2509
2505
  export interface SendCodeByEmailProps extends InputProps {
2510
- data: string;
2506
+ data?: string;
2511
2507
  form?: any;
2512
2508
  onSendCodeBefore?: any;
2513
2509
  fieldName?: string;
@@ -2575,6 +2571,7 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
2575
2571
  text?: string;
2576
2572
  className?: string;
2577
2573
  onClick?: any;
2574
+ disabled?: boolean;
2578
2575
  }
2579
2576
  const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
2580
2577
  export default _default;
@@ -2613,14 +2610,13 @@ declare module '@authing/react-ui-components/components/Type/index' {
2613
2610
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
2614
2611
  import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
2615
2612
  export interface IG2FCProps extends IG2Events {
2616
- appId?: string;
2613
+ appId: string;
2617
2614
  tenantId?: string;
2618
2615
  config?: Partial<IG2Config>;
2619
2616
  visible?: boolean;
2620
2617
  initData?: any;
2621
2618
  appendConfig?: GuardAppendConfig;
2622
2619
  facePlugin?: FacePlugin;
2623
- authClient?: AuthenticationClient;
2624
2620
  }
2625
2621
  export interface GuardAppendConfig {
2626
2622
  internalRequest?: boolean;
@@ -2670,6 +2666,24 @@ declare module '@authing/react-ui-components/components/Type/index' {
2670
2666
  showChangeLanguage: boolean;
2671
2667
  };
2672
2668
  }
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
+ }
2673
2687
 
2674
2688
  }
2675
2689
  declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
@@ -2698,6 +2712,7 @@ declare module '@authing/react-ui-components/components/ValidatorRules/index' {
2698
2712
  form?: FormInstance;
2699
2713
  checkRepeat?: boolean;
2700
2714
  areaCode?: string;
2715
+ isCheckI18nSms?: boolean;
2701
2716
  }
2702
2717
  export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
2703
2718
  form?: FormInstance;
@@ -2764,15 +2779,15 @@ declare module '@authing/react-ui-components/components/_utils/clipboard' {
2764
2779
  }
2765
2780
  declare module '@authing/react-ui-components/components/_utils/config/index' {
2766
2781
  /// <reference types="react" />
2767
- import { RegisterMethods } from 'authing-js-sdk';
2768
2782
  import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2769
2783
  import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
2770
2784
  import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
2785
+ import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
2771
2786
  import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
2772
2787
  export const getPublicConfig: (appId: string) => ApplicationConfig;
2773
2788
  export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
2774
2789
  export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
2775
- export const useMergePublicConfig: (appId?: string | undefined, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, setError?: any) => {
2790
+ export const useMergePublicConfig: (appId: string, forceUpdate: number, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, serError?: any) => {
2776
2791
  host: string;
2777
2792
  isSSO?: boolean | undefined;
2778
2793
  defaultScenes?: import("@authing/react-ui-components/components/index").GuardModuleType | undefined;
@@ -2781,9 +2796,10 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2781
2796
  loadingComponent?: import("react").ReactNode;
2782
2797
  openEventsMapping?: boolean | undefined;
2783
2798
  _qrCodeScanOptions?: Record<import("@authing/react-ui-components/components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
2799
+ authClient?: import("authing-js-sdk").AuthenticationClient | undefined;
2784
2800
  disableRegister?: boolean | undefined;
2785
- registerMethods?: RegisterMethods[] | undefined;
2786
- defaultRegisterMethod?: RegisterMethods | undefined;
2801
+ registerMethods?: NewRegisterMethods[] | undefined;
2802
+ defaultRegisterMethod?: NewRegisterMethods | undefined;
2787
2803
  publicKey?: string | undefined;
2788
2804
  agreementEnabled?: boolean | undefined;
2789
2805
  agreements?: import("@authing/react-ui-components/components/AuthingGuard/api/index").Agreement[] | undefined;
@@ -2811,7 +2827,6 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2811
2827
  socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
2812
2828
  enterpriseConnections?: string[] | undefined;
2813
2829
  qrCodeScanOptions?: {
2814
- currentDocument?: Document | undefined;
2815
2830
  extIdpConnId?: string | undefined;
2816
2831
  autoExchangeUserInfo?: boolean | undefined;
2817
2832
  size?: {
@@ -2858,7 +2873,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2858
2873
  export const getPageConfig: (appId: string) => GuardPageConfig;
2859
2874
  export const setPageConfig: (appId: string, config: GuardPageConfig) => GuardPageConfig;
2860
2875
  export const requestGuardPageConfig: (appId: string, httpClient: GuardHttp) => Promise<GuardPageConfig>;
2861
- export const useGuardPageConfig: (appId?: string | undefined, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
2876
+ export const useGuardPageConfig: (appId: string, forceUpdate: number, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
2862
2877
 
2863
2878
  }
2864
2879
  declare module '@authing/react-ui-components/components/_utils/context' {
@@ -3069,9 +3084,10 @@ declare module '@authing/react-ui-components/components/_utils/http' {
3069
3084
  declare module '@authing/react-ui-components/components/_utils/index' {
3070
3085
  import { Rule } from 'antd/lib/form';
3071
3086
  import qs from 'qs';
3072
- import { RegisterMethods, User } from 'authing-js-sdk';
3087
+ import { User } from 'authing-js-sdk';
3073
3088
  import { ApplicationConfig, ComplateFiledsPlace } from '@authing/react-ui-components/components/AuthingGuard/api/index';
3074
3089
  import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
3090
+ import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
3075
3091
  export * from '@authing/react-ui-components/components/_utils/popupCenter';
3076
3092
  export * from '@authing/react-ui-components/components/_utils/clipboard';
3077
3093
  export const VALIDATE_PATTERN: {
@@ -3114,6 +3130,8 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3114
3130
  export const isXiaomiBrowser: () => boolean | null;
3115
3131
  export const isDingtalkBrowser: () => boolean | null;
3116
3132
  export const isQQBrowser: () => boolean | null;
3133
+ export const isQQBuiltInBrowser: () => boolean | null;
3134
+ export const isWeWorkBuiltInBrowser: () => boolean | null;
3117
3135
  export const isSpecialBrowser: () => boolean | null;
3118
3136
  export const assembledAppHost: (identifier: string, host: string) => string;
3119
3137
  export const assembledRequestHost: (requestHostname: string, configHost: string) => string;
@@ -3132,23 +3150,13 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3132
3150
  export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string | undefined) => Rule[];
3133
3151
  export const sleep: (delay: number) => Promise<unknown>;
3134
3152
  export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean | undefined) => boolean;
3135
- export const tabSort: (defaultValue: RegisterMethods, tabList: RegisterMethods[]) => RegisterMethods[];
3153
+ export const tabSort: (defaultValue: NewRegisterMethods, tabList: NewRegisterMethods[]) => NewRegisterMethods[];
3136
3154
  export const mailDesensitization: (mail: string) => string;
3137
3155
  export const phoneDesensitization: (phone: string) => string;
3138
3156
  export const getHundreds: (num: number) => number;
3139
3157
  export const GuardPropsFilter: (pre: GuardProps, current: GuardProps) => boolean;
3140
3158
  export const getDocumentNode: (node: Node & ParentNode) => Document;
3141
3159
 
3142
- }
3143
- declare module '@authing/react-ui-components/components/_utils/initAppId' {
3144
- import { AuthenticationClient } from 'authing-js-sdk';
3145
- export interface UseInitAppidProps {
3146
- propsAppid?: string;
3147
- propsAuthClient?: AuthenticationClient;
3148
- setError?: any;
3149
- }
3150
- export const useInitAppId: (propsAppid?: string | undefined, propsAuthClient?: AuthenticationClient | undefined, setError?: any) => string | undefined;
3151
-
3152
3160
  }
3153
3161
  declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
3154
3162
  import common from '@authing/react-ui-components/components/_utils/locales/en/common/index';
@@ -3331,7 +3339,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3331
3339
 
3332
3340
  }
3333
3341
  declare module '@authing/react-ui-components/components/version/version' {
3334
- const _default: "3.1.15";
3342
+ const _default: "3.1.16-rc.2";
3335
3343
  export default _default;
3336
3344
 
3337
3345
  }