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

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Authing
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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"
@@ -458,17 +457,6 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
458
457
  [x: string]: string;
459
458
  };
460
459
  };
461
- registerTabsConfig: {
462
- list: string[];
463
- default: string;
464
- title: {
465
- [x: string]: string;
466
- };
467
- registerTypeConfig: {
468
- emailRegisterType?: NewRegisterMethods[];
469
- phoneRegisterType?: NewRegisterMethods[];
470
- };
471
- };
472
460
  qrcodeTabsSettings: QrcodeTabsSettings;
473
461
  loginTabs: {
474
462
  list: string[];
@@ -1205,15 +1193,14 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
1205
1193
 
1206
1194
  }
1207
1195
  declare module '@authing/react-ui-components/components/CompleteInfo/businessRequest' {
1208
- import { User } from 'authing-js-sdk';
1209
- import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/components/CompleteInfo/interface';
1196
+ import { CompleteInfoRequest } from '@authing/react-ui-components/components/CompleteInfo/interface';
1210
1197
  export enum CompleteInfoAuthFlowAction {
1211
1198
  Complete = "complete-completion",
1212
1199
  Skip = "skip-completion"
1213
1200
  }
1214
1201
  export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1215
- export const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>> | Promise<User> | undefined;
1216
- 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>;
1217
1204
 
1218
1205
  }
1219
1206
  declare module '@authing/react-ui-components/components/CompleteInfo/core/completeInfo' {
@@ -1325,7 +1312,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1325
1312
  }
1326
1313
  export interface RegisterCompleteInfoInitData {
1327
1314
  content: any;
1328
- businessRequestName: 'registerByEmail' | 'registerByPhoneCode' | 'registerByEmailCode';
1315
+ businessRequestName: 'registerByEmail' | 'registerByPhoneCode';
1329
1316
  }
1330
1317
  export interface CompleteInfoRequest {
1331
1318
  fieldValues: {
@@ -1336,8 +1323,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1336
1323
  }
1337
1324
  export enum OmitCompleteInfo {
1338
1325
  'registerByEmail' = "email",
1339
- 'registerByPhoneCode' = "phone",
1340
- 'registerByEmailCode' = "email"
1326
+ 'registerByPhoneCode' = "phone"
1341
1327
  }
1342
1328
 
1343
1329
  }
@@ -1503,19 +1489,21 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
1503
1489
  declare module '@authing/react-ui-components/components/Guard/authClient' {
1504
1490
  import { AuthenticationClient } from 'authing-js-sdk';
1505
1491
  import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
1492
+ let authClient: AuthenticationClient;
1506
1493
  export const initGuardAuthClient: (config: GuardLocalConfig, appId: string, tenantId?: string | undefined) => AuthenticationClient;
1507
1494
  export const useInitGuardAuthClient: (props: {
1508
1495
  config?: GuardLocalConfig | undefined;
1509
- appId: string;
1496
+ appId?: string | undefined;
1497
+ authClient?: AuthenticationClient | undefined;
1510
1498
  setError?: any;
1511
1499
  tenantId?: string | undefined;
1512
1500
  }) => AuthenticationClient | undefined;
1513
1501
  export const getGuardAuthClient: () => AuthenticationClient;
1514
1502
  export const useGuardAuthClient: () => AuthenticationClient;
1503
+ export {};
1515
1504
 
1516
1505
  }
1517
1506
  declare module '@authing/react-ui-components/components/Guard/config' {
1518
- import { AuthenticationClient } from 'authing-js-sdk';
1519
1507
  import { ReactNode } from 'react';
1520
1508
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
1521
1509
  import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
@@ -1541,7 +1529,6 @@ declare module '@authing/react-ui-components/components/Guard/config' {
1541
1529
  */
1542
1530
  openEventsMapping?: boolean;
1543
1531
  _qrCodeScanOptions?: Record<QrCodeScanType, QrCodeScanOptions>;
1544
- authClient?: AuthenticationClient;
1545
1532
  }
1546
1533
  export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
1547
1534
 
@@ -1564,7 +1551,6 @@ declare module '@authing/react-ui-components/components/Guard/core/renderContext
1564
1551
  export const RenderContext: React.FC<{
1565
1552
  guardProps: GuardProps;
1566
1553
  initState: ModuleState;
1567
- forceUpdate: number;
1568
1554
  }>;
1569
1555
 
1570
1556
  }
@@ -1582,10 +1568,10 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
1582
1568
 
1583
1569
  }
1584
1570
  declare module '@authing/react-ui-components/components/Guard/core/useAppendConfig' {
1585
- import { GuardProps } from '@authing/react-ui-components/components/index';
1571
+ import { GuardAppendConfig } from '@authing/react-ui-components/components/index';
1586
1572
  export const getGuardWindow: () => (Window & typeof globalThis) | undefined;
1587
1573
  export const useGuardWindow: () => (Window & typeof globalThis) | undefined;
1588
- export const useInitGuardAppendConfig: (guardProps: GuardProps, setForceUpdate: any) => void;
1574
+ export const useInitGuardAppendConfig: (appId?: string | undefined, appendConfig?: GuardAppendConfig | undefined) => void;
1589
1575
 
1590
1576
  }
1591
1577
  declare module '@authing/react-ui-components/components/Guard/core/usePlugin' {
@@ -1607,6 +1593,50 @@ declare module '@authing/react-ui-components/components/Guard/event' {
1607
1593
  }
1608
1594
  export const guardEventsFilter: (props: any, openEventsMapping?: boolean | undefined) => GuardEvents;
1609
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
+ }
1610
1640
 
1611
1641
  }
1612
1642
  declare module '@authing/react-ui-components/components/Guard/index' {
@@ -2406,20 +2436,6 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
2406
2436
  }
2407
2437
  export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
2408
2438
 
2409
- }
2410
- declare module '@authing/react-ui-components/components/Register/core/WithEmailCode' {
2411
- import React from 'react';
2412
- import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2413
- export interface RegisterWithEmailCodeProps {
2414
- onRegisterSuccess: Function;
2415
- onRegisterFailed: Function;
2416
- onBeforeRegister?: Function;
2417
- agreements: Agreement[];
2418
- publicConfig?: ApplicationConfig;
2419
- registeContext?: any;
2420
- }
2421
- export const RegisterWithEmailCode: React.FC<RegisterWithEmailCodeProps>;
2422
-
2423
2439
  }
2424
2440
  declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
2425
2441
  import React from 'react';
@@ -2440,13 +2456,14 @@ declare module '@authing/react-ui-components/components/Register/index' {
2440
2456
 
2441
2457
  }
2442
2458
  declare module '@authing/react-ui-components/components/Register/interface' {
2443
- import { IG2FCProps, IG2Config, IG2Events, NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
2459
+ import { RegisterMethods } from 'authing-js-sdk';
2460
+ import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
2444
2461
  import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
2445
2462
  import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2446
2463
  export interface RegisterConfig extends IG2Config {
2447
2464
  disableRegister?: boolean;
2448
- registerMethods?: NewRegisterMethods[];
2449
- defaultRegisterMethod?: NewRegisterMethods;
2465
+ registerMethods?: RegisterMethods[];
2466
+ defaultRegisterMethod?: RegisterMethods;
2450
2467
  publicKey?: string;
2451
2468
  agreementEnabled?: boolean;
2452
2469
  agreements?: Agreement[];
@@ -2456,7 +2473,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
2456
2473
  onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
2457
2474
  onRegister?: (user: User, authClient: AuthenticationClient) => void;
2458
2475
  onRegisterError?: (error: any) => void;
2459
- onRegisterTabChange?: (activeTab: NewRegisterMethods) => void;
2476
+ onRegisterTabChange?: (activeTab: RegisterMethods) => void;
2460
2477
  }
2461
2478
  export interface GuardRegisterProps extends IG2FCProps, RegisterEvents {
2462
2479
  config?: Partial<RegisterConfig>;
@@ -2486,11 +2503,11 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
2486
2503
  }
2487
2504
  declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
2488
2505
  import { FC } from 'react';
2506
+ import { EmailScene } from 'authing-js-sdk';
2489
2507
  import './style.less';
2490
2508
  import { InputProps } from 'antd/lib/input';
2491
- import { EmailScene } from '@authing/react-ui-components/components/Type/index';
2492
2509
  export interface SendCodeByEmailProps extends InputProps {
2493
- data?: string;
2510
+ data: string;
2494
2511
  form?: any;
2495
2512
  onSendCodeBefore?: any;
2496
2513
  fieldName?: string;
@@ -2558,7 +2575,6 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
2558
2575
  text?: string;
2559
2576
  className?: string;
2560
2577
  onClick?: any;
2561
- disabled?: boolean;
2562
2578
  }
2563
2579
  const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
2564
2580
  export default _default;
@@ -2597,13 +2613,14 @@ declare module '@authing/react-ui-components/components/Type/index' {
2597
2613
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
2598
2614
  import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
2599
2615
  export interface IG2FCProps extends IG2Events {
2600
- appId: string;
2616
+ appId?: string;
2601
2617
  tenantId?: string;
2602
2618
  config?: Partial<IG2Config>;
2603
2619
  visible?: boolean;
2604
2620
  initData?: any;
2605
2621
  appendConfig?: GuardAppendConfig;
2606
2622
  facePlugin?: FacePlugin;
2623
+ authClient?: AuthenticationClient;
2607
2624
  }
2608
2625
  export interface GuardAppendConfig {
2609
2626
  internalRequest?: boolean;
@@ -2653,24 +2670,6 @@ declare module '@authing/react-ui-components/components/Type/index' {
2653
2670
  showChangeLanguage: boolean;
2654
2671
  };
2655
2672
  }
2656
- export enum NewRegisterMethods {
2657
- Email = "email",
2658
- Phone = "phone",
2659
- EmailCode = "emailCode"
2660
- }
2661
- export enum EmailScene {
2662
- WELCOME_EMAIL = "WELCOME_EMAIL",
2663
- FIRST_CREATED_USER = "FIRST_CREATED_USER",
2664
- REGISTER_VERIFY_CODE = "REGISTER_VERIFY_CODE",
2665
- LOGIN_VERIFY_CODE = "LOGIN_VERIFY_CODE",
2666
- MFA_VERIFY_CODE = "MFA_VERIFY_CODE",
2667
- INFORMATION_COMPLETION_VERIFY_CODE = "INFORMATION_COMPLETION_VERIFY_CODE",
2668
- FIRST_EMAIL_LOGIN_VERIFY = "FIRST_EMAIL_LOGIN_VERIFY",
2669
- CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
2670
- RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
2671
- EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
2672
- EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
2673
- }
2674
2673
 
2675
2674
  }
2676
2675
  declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
@@ -2765,15 +2764,15 @@ declare module '@authing/react-ui-components/components/_utils/clipboard' {
2765
2764
  }
2766
2765
  declare module '@authing/react-ui-components/components/_utils/config/index' {
2767
2766
  /// <reference types="react" />
2767
+ import { RegisterMethods } from 'authing-js-sdk';
2768
2768
  import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2769
2769
  import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
2770
2770
  import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
2771
- import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
2772
2771
  import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
2773
2772
  export const getPublicConfig: (appId: string) => ApplicationConfig;
2774
2773
  export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
2775
2774
  export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
2776
- export const useMergePublicConfig: (appId: string, forceUpdate: number, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, serError?: any) => {
2775
+ export const useMergePublicConfig: (appId?: string | undefined, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, setError?: any) => {
2777
2776
  host: string;
2778
2777
  isSSO?: boolean | undefined;
2779
2778
  defaultScenes?: import("@authing/react-ui-components/components/index").GuardModuleType | undefined;
@@ -2782,10 +2781,9 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2782
2781
  loadingComponent?: import("react").ReactNode;
2783
2782
  openEventsMapping?: boolean | undefined;
2784
2783
  _qrCodeScanOptions?: Record<import("@authing/react-ui-components/components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
2785
- authClient?: import("authing-js-sdk").AuthenticationClient | undefined;
2786
2784
  disableRegister?: boolean | undefined;
2787
- registerMethods?: NewRegisterMethods[] | undefined;
2788
- defaultRegisterMethod?: NewRegisterMethods | undefined;
2785
+ registerMethods?: RegisterMethods[] | undefined;
2786
+ defaultRegisterMethod?: RegisterMethods | undefined;
2789
2787
  publicKey?: string | undefined;
2790
2788
  agreementEnabled?: boolean | undefined;
2791
2789
  agreements?: import("@authing/react-ui-components/components/AuthingGuard/api/index").Agreement[] | undefined;
@@ -2813,6 +2811,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2813
2811
  socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
2814
2812
  enterpriseConnections?: string[] | undefined;
2815
2813
  qrCodeScanOptions?: {
2814
+ currentDocument?: Document | undefined;
2816
2815
  extIdpConnId?: string | undefined;
2817
2816
  autoExchangeUserInfo?: boolean | undefined;
2818
2817
  size?: {
@@ -2859,7 +2858,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2859
2858
  export const getPageConfig: (appId: string) => GuardPageConfig;
2860
2859
  export const setPageConfig: (appId: string, config: GuardPageConfig) => GuardPageConfig;
2861
2860
  export const requestGuardPageConfig: (appId: string, httpClient: GuardHttp) => Promise<GuardPageConfig>;
2862
- export const useGuardPageConfig: (appId: string, forceUpdate: number, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
2861
+ export const useGuardPageConfig: (appId?: string | undefined, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
2863
2862
 
2864
2863
  }
2865
2864
  declare module '@authing/react-ui-components/components/_utils/context' {
@@ -3070,10 +3069,9 @@ declare module '@authing/react-ui-components/components/_utils/http' {
3070
3069
  declare module '@authing/react-ui-components/components/_utils/index' {
3071
3070
  import { Rule } from 'antd/lib/form';
3072
3071
  import qs from 'qs';
3073
- import { User } from 'authing-js-sdk';
3072
+ import { RegisterMethods, User } from 'authing-js-sdk';
3074
3073
  import { ApplicationConfig, ComplateFiledsPlace } from '@authing/react-ui-components/components/AuthingGuard/api/index';
3075
3074
  import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
3076
- import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
3077
3075
  export * from '@authing/react-ui-components/components/_utils/popupCenter';
3078
3076
  export * from '@authing/react-ui-components/components/_utils/clipboard';
3079
3077
  export const VALIDATE_PATTERN: {
@@ -3134,13 +3132,23 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3134
3132
  export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string | undefined) => Rule[];
3135
3133
  export const sleep: (delay: number) => Promise<unknown>;
3136
3134
  export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean | undefined) => boolean;
3137
- export const tabSort: (defaultValue: NewRegisterMethods, tabList: NewRegisterMethods[]) => NewRegisterMethods[];
3135
+ export const tabSort: (defaultValue: RegisterMethods, tabList: RegisterMethods[]) => RegisterMethods[];
3138
3136
  export const mailDesensitization: (mail: string) => string;
3139
3137
  export const phoneDesensitization: (phone: string) => string;
3140
3138
  export const getHundreds: (num: number) => number;
3141
3139
  export const GuardPropsFilter: (pre: GuardProps, current: GuardProps) => boolean;
3142
3140
  export const getDocumentNode: (node: Node & ParentNode) => Document;
3143
3141
 
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
+
3144
3152
  }
3145
3153
  declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
3146
3154
  import common from '@authing/react-ui-components/components/_utils/locales/en/common/index';
@@ -3323,7 +3331,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3323
3331
 
3324
3332
  }
3325
3333
  declare module '@authing/react-ui-components/components/version/version' {
3326
- const _default: "3.1.15-rc.2";
3334
+ const _default: "3.1.15";
3327
3335
  export default _default;
3328
3336
 
3329
3337
  }