@authing/react-ui-components 3.1.20-rc.9 → 3.1.22-rc-7
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 +74 -54
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +2 -1
package/lib/index.d.ts
CHANGED
|
@@ -378,9 +378,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/
|
|
|
378
378
|
|
|
379
379
|
}
|
|
380
380
|
declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
|
|
381
|
-
import { Lang, LoginMethods, Protocol
|
|
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"
|
|
@@ -465,8 +466,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
465
466
|
[x: string]: string;
|
|
466
467
|
};
|
|
467
468
|
registerTypeConfig: {
|
|
468
|
-
emailRegisterType?:
|
|
469
|
-
phoneRegisterType?:
|
|
469
|
+
emailRegisterType?: NewRegisterMethods[];
|
|
470
|
+
phoneRegisterType?: NewRegisterMethods[];
|
|
470
471
|
};
|
|
471
472
|
};
|
|
472
473
|
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
@@ -637,7 +638,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoo
|
|
|
637
638
|
|
|
638
639
|
}
|
|
639
640
|
declare module '@authing/react-ui-components/components/AuthingGuard/constants' {
|
|
640
|
-
import { UserConfig, LoginMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
641
|
+
import { UserConfig, LoginMethods, RegisterMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
641
642
|
export const OTP_MFA_CODE = 1635;
|
|
642
643
|
export const APP_MFA_CODE = 1636;
|
|
643
644
|
export const NEED_CAPTCHA = 2000;
|
|
@@ -650,7 +651,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/constants'
|
|
|
650
651
|
ad: string;
|
|
651
652
|
"wechatmp-qrcode": string;
|
|
652
653
|
};
|
|
653
|
-
export const REGISTER_METHODS_MAP:
|
|
654
|
+
export const REGISTER_METHODS_MAP: () => {
|
|
655
|
+
email: string;
|
|
656
|
+
phone: string;
|
|
657
|
+
};
|
|
654
658
|
export const HIDE_SOCIALS: string[];
|
|
655
659
|
export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
|
|
656
660
|
export enum ApplicationMfaType {
|
|
@@ -824,8 +828,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
|
|
|
824
828
|
}
|
|
825
829
|
export enum RegisterMethods {
|
|
826
830
|
Email = "email",
|
|
827
|
-
Phone = "phone"
|
|
828
|
-
EmailCode = "emailCode"
|
|
831
|
+
Phone = "phone"
|
|
829
832
|
}
|
|
830
833
|
export enum GuardScenes {
|
|
831
834
|
Login = "login",
|
|
@@ -1332,8 +1335,6 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1332
1335
|
export interface RegisterCompleteInfoInitData {
|
|
1333
1336
|
content: any;
|
|
1334
1337
|
businessRequestName: 'registerByEmail' | 'registerByPhoneCode' | 'registerByEmailCode';
|
|
1335
|
-
onRegisterFailed: Function;
|
|
1336
|
-
onRegisterSuccess: Function;
|
|
1337
1338
|
}
|
|
1338
1339
|
export interface RegisterCompletePasswordInitData extends RegisterCompleteInfoInitData {
|
|
1339
1340
|
isChangeComplete: boolean;
|
|
@@ -1500,6 +1501,7 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
|
|
|
1500
1501
|
private changeModuleEvent;
|
|
1501
1502
|
private stateMachineLog;
|
|
1502
1503
|
constructor(changeModuleEvent: ChangeModuleEvent, initData: ModuleState);
|
|
1504
|
+
uninstallPopstate: () => void;
|
|
1503
1505
|
globalWindow: () => Window | undefined;
|
|
1504
1506
|
next: (nextModule: GuardModuleType, initData: any) => void;
|
|
1505
1507
|
back: (initData?: any) => void;
|
|
@@ -1507,8 +1509,9 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
|
|
|
1507
1509
|
historyPush: (data: ModuleState, actionType?: ActionType) => void;
|
|
1508
1510
|
historyBack: (data: ModuleState) => void;
|
|
1509
1511
|
setConfig: (config: GuardLocalConfig) => void;
|
|
1512
|
+
isUseHistoryHijack: () => boolean;
|
|
1513
|
+
onPopstate: () => void;
|
|
1510
1514
|
}
|
|
1511
|
-
export const useHistoryHijack: (back?: (() => void) | undefined) => ((state?: any) => void)[];
|
|
1512
1515
|
export const initGuardStateMachine: (changeMouleEvent: ChangeModuleEvent, initData: ModuleState) => GuardStateMachine;
|
|
1513
1516
|
export const getGuardStateMachine: () => GuardStateMachine;
|
|
1514
1517
|
export const useGuardStateMachine: () => GuardStateMachine;
|
|
@@ -1725,6 +1728,19 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
|
|
|
1725
1728
|
}
|
|
1726
1729
|
export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<SessionData>>;
|
|
1727
1730
|
|
|
1731
|
+
}
|
|
1732
|
+
declare module '@authing/react-ui-components/components/GuardButton/GuardButton' {
|
|
1733
|
+
import React from 'react';
|
|
1734
|
+
import { ButtonProps } from 'antd/lib/button';
|
|
1735
|
+
import './styles.less';
|
|
1736
|
+
export interface GuardButtonProps extends ButtonProps {
|
|
1737
|
+
}
|
|
1738
|
+
export const GuardButton: React.FC<GuardButtonProps>;
|
|
1739
|
+
|
|
1740
|
+
}
|
|
1741
|
+
declare module '@authing/react-ui-components/components/GuardButton/index' {
|
|
1742
|
+
export * from '@authing/react-ui-components/components/GuardButton/GuardButton';
|
|
1743
|
+
|
|
1728
1744
|
}
|
|
1729
1745
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
1730
1746
|
export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
|
|
@@ -1983,6 +1999,7 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
|
|
|
1983
1999
|
agreements: Agreement[];
|
|
1984
2000
|
loginWay?: LoginMethods;
|
|
1985
2001
|
submitButText?: string;
|
|
2002
|
+
saveIdentify?: (type: LoginMethods, identity: string) => void;
|
|
1986
2003
|
}
|
|
1987
2004
|
export const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
|
|
1988
2005
|
export {};
|
|
@@ -1995,7 +2012,7 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
|
|
|
1995
2012
|
export interface FormItemIdentifyProps extends FormItemProps {
|
|
1996
2013
|
checkRepeat?: boolean;
|
|
1997
2014
|
methods: VerifyLoginMethods[];
|
|
1998
|
-
currentMethod
|
|
2015
|
+
currentMethod?: 'phone-code' | 'email-code';
|
|
1999
2016
|
areaCode?: string;
|
|
2000
2017
|
}
|
|
2001
2018
|
export const FormItemIdentify: React.FC<FormItemIdentifyProps>;
|
|
@@ -2100,11 +2117,6 @@ declare module '@authing/react-ui-components/components/Login/interface' {
|
|
|
2100
2117
|
export interface GuardLoginViewProps extends GuardLoginProps, IG2FCViewProps {
|
|
2101
2118
|
config: LoginConfig;
|
|
2102
2119
|
}
|
|
2103
|
-
export interface GuardLoginInitData {
|
|
2104
|
-
specifyDefaultLoginMethod?: LoginMethods;
|
|
2105
|
-
_firstItemInitialValue?: string;
|
|
2106
|
-
_lockMethod?: string;
|
|
2107
|
-
}
|
|
2108
2120
|
export const getDefaultLoginConfig: () => LoginConfig;
|
|
2109
2121
|
|
|
2110
2122
|
}
|
|
@@ -2466,47 +2478,45 @@ declare module '@authing/react-ui-components/components/Register/components/Agre
|
|
|
2466
2478
|
export const Agreements: FC<AgreementsProps>;
|
|
2467
2479
|
|
|
2468
2480
|
}
|
|
2469
|
-
declare module '@authing/react-ui-components/components/Register/core/
|
|
2481
|
+
declare module '@authing/react-ui-components/components/Register/core/WithEmail' {
|
|
2470
2482
|
import React from 'react';
|
|
2471
2483
|
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2472
|
-
export interface
|
|
2484
|
+
export interface RegisterWithEmailProps {
|
|
2473
2485
|
onRegisterSuccess: Function;
|
|
2474
2486
|
onRegisterFailed: Function;
|
|
2475
2487
|
onBeforeRegister?: Function;
|
|
2476
|
-
agreements: Agreement[];
|
|
2477
2488
|
publicConfig?: ApplicationConfig;
|
|
2489
|
+
agreements: Agreement[];
|
|
2478
2490
|
registeContext?: any;
|
|
2479
|
-
methods: any[];
|
|
2480
2491
|
}
|
|
2481
|
-
export const
|
|
2492
|
+
export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
|
|
2482
2493
|
|
|
2483
2494
|
}
|
|
2484
|
-
declare module '@authing/react-ui-components/components/Register/core/
|
|
2495
|
+
declare module '@authing/react-ui-components/components/Register/core/WithEmailCode' {
|
|
2485
2496
|
import React from 'react';
|
|
2486
2497
|
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2487
|
-
export interface
|
|
2498
|
+
export interface RegisterWithEmailCodeProps {
|
|
2488
2499
|
onRegisterSuccess: Function;
|
|
2489
2500
|
onRegisterFailed: Function;
|
|
2490
2501
|
onBeforeRegister?: Function;
|
|
2491
|
-
publicConfig?: ApplicationConfig;
|
|
2492
2502
|
agreements: Agreement[];
|
|
2503
|
+
publicConfig?: ApplicationConfig;
|
|
2493
2504
|
registeContext?: any;
|
|
2494
2505
|
}
|
|
2495
|
-
export const
|
|
2506
|
+
export const RegisterWithEmailCode: React.FC<RegisterWithEmailCodeProps>;
|
|
2496
2507
|
|
|
2497
2508
|
}
|
|
2498
|
-
declare module '@authing/react-ui-components/components/Register/core/
|
|
2509
|
+
declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
|
|
2499
2510
|
import React from 'react';
|
|
2500
2511
|
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2501
|
-
export interface
|
|
2512
|
+
export interface RegisterWithPhoneProps {
|
|
2502
2513
|
onRegisterSuccess: Function;
|
|
2503
2514
|
onRegisterFailed: Function;
|
|
2504
|
-
onBeforeRegister?: Function;
|
|
2505
2515
|
agreements: Agreement[];
|
|
2506
2516
|
publicConfig?: ApplicationConfig;
|
|
2507
2517
|
registeContext?: any;
|
|
2508
2518
|
}
|
|
2509
|
-
export const
|
|
2519
|
+
export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
|
|
2510
2520
|
|
|
2511
2521
|
}
|
|
2512
2522
|
declare module '@authing/react-ui-components/components/Register/index' {
|
|
@@ -2515,13 +2525,13 @@ declare module '@authing/react-ui-components/components/Register/index' {
|
|
|
2515
2525
|
|
|
2516
2526
|
}
|
|
2517
2527
|
declare module '@authing/react-ui-components/components/Register/interface' {
|
|
2518
|
-
import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
|
|
2519
|
-
import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams
|
|
2528
|
+
import { IG2FCProps, IG2Config, IG2Events, NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
|
|
2529
|
+
import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
|
|
2520
2530
|
import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2521
2531
|
export interface RegisterConfig extends IG2Config {
|
|
2522
2532
|
disableRegister?: boolean;
|
|
2523
|
-
registerMethods?:
|
|
2524
|
-
defaultRegisterMethod?:
|
|
2533
|
+
registerMethods?: NewRegisterMethods[];
|
|
2534
|
+
defaultRegisterMethod?: NewRegisterMethods;
|
|
2525
2535
|
publicKey?: string;
|
|
2526
2536
|
agreementEnabled?: boolean;
|
|
2527
2537
|
agreements?: Agreement[];
|
|
@@ -2531,7 +2541,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2531
2541
|
onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
|
|
2532
2542
|
onRegister?: (user: User, authClient: AuthenticationClient) => void;
|
|
2533
2543
|
onRegisterError?: (error: any) => void;
|
|
2534
|
-
onRegisterTabChange?: (activeTab:
|
|
2544
|
+
onRegisterTabChange?: (activeTab: NewRegisterMethods) => void;
|
|
2535
2545
|
}
|
|
2536
2546
|
export interface GuardRegisterProps extends IG2FCProps, RegisterEvents {
|
|
2537
2547
|
config?: Partial<RegisterConfig>;
|
|
@@ -2547,12 +2557,14 @@ declare module '@authing/react-ui-components/components/Register/utils' {
|
|
|
2547
2557
|
|
|
2548
2558
|
}
|
|
2549
2559
|
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2550
|
-
|
|
2560
|
+
import React from 'react';
|
|
2551
2561
|
export enum InputMethodMap {
|
|
2552
2562
|
email = "email-code",
|
|
2553
2563
|
phone = "phone-code"
|
|
2554
2564
|
}
|
|
2555
|
-
export const SelfUnlock: (
|
|
2565
|
+
export const SelfUnlock: ({ identifyRef, }: {
|
|
2566
|
+
identifyRef?: React.MutableRefObject<string> | undefined;
|
|
2567
|
+
}) => JSX.Element;
|
|
2556
2568
|
|
|
2557
2569
|
}
|
|
2558
2570
|
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
@@ -2661,7 +2673,8 @@ declare module '@authing/react-ui-components/components/SingleComponent/index' {
|
|
|
2661
2673
|
}
|
|
2662
2674
|
declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
2663
2675
|
import React from 'react';
|
|
2664
|
-
|
|
2676
|
+
import { ButtonProps } from 'antd/lib/button';
|
|
2677
|
+
interface SubmitButtonProps extends ButtonProps {
|
|
2665
2678
|
text?: string;
|
|
2666
2679
|
className?: string;
|
|
2667
2680
|
onClick?: any;
|
|
@@ -2761,6 +2774,11 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2761
2774
|
showChangeLanguage: boolean;
|
|
2762
2775
|
};
|
|
2763
2776
|
}
|
|
2777
|
+
export enum NewRegisterMethods {
|
|
2778
|
+
Email = "email",
|
|
2779
|
+
Phone = "phone",
|
|
2780
|
+
EmailCode = "emailCode"
|
|
2781
|
+
}
|
|
2764
2782
|
export enum EmailScene {
|
|
2765
2783
|
WELCOME_EMAIL = "WELCOME_EMAIL",
|
|
2766
2784
|
FIRST_CREATED_USER = "FIRST_CREATED_USER",
|
|
@@ -2873,8 +2891,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2873
2891
|
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2874
2892
|
import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
2875
2893
|
import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
|
|
2894
|
+
import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
|
|
2876
2895
|
import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
|
|
2877
|
-
import { RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
2878
2896
|
export const getPublicConfig: (appId: string) => ApplicationConfig;
|
|
2879
2897
|
export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
|
|
2880
2898
|
export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
|
|
@@ -2888,8 +2906,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2888
2906
|
openEventsMapping?: boolean | undefined;
|
|
2889
2907
|
_qrCodeScanOptions?: Record<import("@authing/react-ui-components/components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
|
|
2890
2908
|
disableRegister?: boolean | undefined;
|
|
2891
|
-
registerMethods?:
|
|
2892
|
-
defaultRegisterMethod?:
|
|
2909
|
+
registerMethods?: NewRegisterMethods[] | undefined;
|
|
2910
|
+
defaultRegisterMethod?: NewRegisterMethods | undefined;
|
|
2893
2911
|
publicKey?: string | undefined;
|
|
2894
2912
|
agreementEnabled?: boolean | undefined;
|
|
2895
2913
|
agreements?: import("@authing/react-ui-components/components/AuthingGuard/api/index").Agreement[] | undefined;
|
|
@@ -2899,7 +2917,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2899
2917
|
lang: string;
|
|
2900
2918
|
langRange: string[];
|
|
2901
2919
|
isHost?: boolean | undefined;
|
|
2902
|
-
mode: import("@authing/react-ui-components/components/
|
|
2920
|
+
mode: import("@authing/react-ui-components/components/index").GuardMode;
|
|
2903
2921
|
clickCloseable: boolean;
|
|
2904
2922
|
escCloseable: boolean;
|
|
2905
2923
|
userpool?: string | undefined;
|
|
@@ -2910,8 +2928,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2910
2928
|
__unAuthFlow__?: boolean | undefined;
|
|
2911
2929
|
autoRegister?: boolean | undefined;
|
|
2912
2930
|
disableResetPwd?: boolean | undefined;
|
|
2913
|
-
defaultLoginMethod?: import("@authing/react-ui-components/components/
|
|
2914
|
-
loginMethods?: import("@authing/react-ui-components/components/
|
|
2931
|
+
defaultLoginMethod?: import("@authing/react-ui-components/components/index").LoginMethods | undefined;
|
|
2932
|
+
loginMethods?: import("@authing/react-ui-components/components/index").LoginMethods[] | undefined;
|
|
2915
2933
|
passwordLoginMethods?: import("@authing/react-ui-components/components/AuthingGuard/api/index").PasswordLoginMethods[] | undefined;
|
|
2916
2934
|
socialConnections?: import("authing-js-sdk").SocialConnectionProvider[] | undefined;
|
|
2917
2935
|
socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
|
|
@@ -3000,6 +3018,14 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
3000
3018
|
}>;
|
|
3001
3019
|
Consumer: React.Consumer<IGuardContext>;
|
|
3002
3020
|
};
|
|
3021
|
+
export interface IGuardContextProvider {
|
|
3022
|
+
spin: boolean;
|
|
3023
|
+
spinChange: (spin: boolean) => void;
|
|
3024
|
+
}
|
|
3025
|
+
export const useGuardButtonContext: () => {
|
|
3026
|
+
GuardButtonProvider: React.FC<{}>;
|
|
3027
|
+
};
|
|
3028
|
+
export const useGuardButtonState: () => IGuardContextProvider;
|
|
3003
3029
|
export const useGuardPublicConfig: () => ApplicationConfig;
|
|
3004
3030
|
export const useGuardHttpClient: () => GuardHttp;
|
|
3005
3031
|
export const useGuardDefaultMergedConfig: () => GuardLocalConfig;
|
|
@@ -3049,7 +3075,8 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
|
|
|
3049
3075
|
}
|
|
3050
3076
|
declare module '@authing/react-ui-components/components/_utils/facePlugin/index' {
|
|
3051
3077
|
import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
|
|
3052
|
-
export const getFacePlugin: () => FacePlugin;
|
|
3078
|
+
export const getFacePlugin: () => FacePlugin | undefined;
|
|
3079
|
+
export const useFacePlugin: () => FacePlugin | undefined;
|
|
3053
3080
|
export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
|
|
3054
3081
|
|
|
3055
3082
|
}
|
|
@@ -3187,7 +3214,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3187
3214
|
import { User } from 'authing-js-sdk';
|
|
3188
3215
|
import { ApplicationConfig, ComplateFiledsPlace } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
3189
3216
|
import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
|
|
3190
|
-
import {
|
|
3217
|
+
import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
|
|
3191
3218
|
export * from '@authing/react-ui-components/components/_utils/popupCenter';
|
|
3192
3219
|
export * from '@authing/react-ui-components/components/_utils/clipboard';
|
|
3193
3220
|
export const VALIDATE_PATTERN: {
|
|
@@ -3256,19 +3283,12 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3256
3283
|
export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string | undefined) => Rule[];
|
|
3257
3284
|
export const sleep: (delay: number) => Promise<unknown>;
|
|
3258
3285
|
export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean | undefined) => boolean;
|
|
3259
|
-
export const tabSort: (defaultValue:
|
|
3286
|
+
export const tabSort: (defaultValue: NewRegisterMethods, tabList: NewRegisterMethods[]) => NewRegisterMethods[];
|
|
3260
3287
|
export const mailDesensitization: (mail: string) => string;
|
|
3261
3288
|
export const phoneDesensitization: (phone: string) => string;
|
|
3262
3289
|
export const getHundreds: (num: number) => number;
|
|
3263
3290
|
export const GuardPropsFilter: (pre: GuardProps, current: GuardProps) => boolean;
|
|
3264
3291
|
export const getDocumentNode: (node: Node & ParentNode) => Document;
|
|
3265
|
-
export const getLoginTypePipe: (publicConfig: ApplicationConfig, registerMethod: RegisterMethods) => {
|
|
3266
|
-
specifyDefaultLoginMethod: LoginMethods;
|
|
3267
|
-
lockMethod: string;
|
|
3268
|
-
} | {
|
|
3269
|
-
specifyDefaultLoginMethod: LoginMethods;
|
|
3270
|
-
lockMethod?: undefined;
|
|
3271
|
-
} | undefined;
|
|
3272
3292
|
|
|
3273
3293
|
}
|
|
3274
3294
|
declare module '@authing/react-ui-components/components/_utils/initAppId' {
|
|
@@ -3463,7 +3483,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3463
3483
|
|
|
3464
3484
|
}
|
|
3465
3485
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3466
|
-
const _default: "3.1.
|
|
3486
|
+
const _default: "3.1.22-rc-7";
|
|
3467
3487
|
export default _default;
|
|
3468
3488
|
|
|
3469
3489
|
}
|