@authing/react-ui-components 3.1.23-hep.0 → 3.1.23-hep.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +38 -95
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/package.json +1 -2
package/lib/index.d.ts
CHANGED
|
@@ -428,9 +428,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/
|
|
|
428
428
|
|
|
429
429
|
}
|
|
430
430
|
declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
|
|
431
|
-
import { Lang, LoginMethods, Protocol
|
|
431
|
+
import { Lang, LoginMethods, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
432
432
|
import { IAzureAdConnectionConfig, ICasConnectionConfig, IOAuthConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
|
|
433
433
|
import { PasswordStrength } from '@authing/react-ui-components/components/_utils/index';
|
|
434
|
+
import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
|
|
434
435
|
export enum ApplicationMfaType {
|
|
435
436
|
SMS = "SMS",
|
|
436
437
|
EMAIL = "EMAIL"
|
|
@@ -515,8 +516,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
515
516
|
[x: string]: string;
|
|
516
517
|
};
|
|
517
518
|
registerTypeConfig: {
|
|
518
|
-
emailRegisterType?:
|
|
519
|
-
phoneRegisterType?:
|
|
519
|
+
emailRegisterType?: NewRegisterMethods[];
|
|
520
|
+
phoneRegisterType?: NewRegisterMethods[];
|
|
520
521
|
};
|
|
521
522
|
};
|
|
522
523
|
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
@@ -690,7 +691,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoo
|
|
|
690
691
|
|
|
691
692
|
}
|
|
692
693
|
declare module '@authing/react-ui-components/components/AuthingGuard/constants' {
|
|
693
|
-
import { UserConfig, LoginMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
694
|
+
import { UserConfig, LoginMethods, RegisterMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
694
695
|
export const OTP_MFA_CODE = 1635;
|
|
695
696
|
export const APP_MFA_CODE = 1636;
|
|
696
697
|
export const NEED_CAPTCHA = 2000;
|
|
@@ -703,7 +704,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/constants'
|
|
|
703
704
|
ad: string;
|
|
704
705
|
"wechatmp-qrcode": string;
|
|
705
706
|
};
|
|
706
|
-
export const REGISTER_METHODS_MAP:
|
|
707
|
+
export const REGISTER_METHODS_MAP: () => {
|
|
708
|
+
email: string;
|
|
709
|
+
phone: string;
|
|
710
|
+
};
|
|
707
711
|
export const HIDE_SOCIALS: string[];
|
|
708
712
|
export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
|
|
709
713
|
export enum ApplicationMfaType {
|
|
@@ -877,8 +881,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
|
|
|
877
881
|
}
|
|
878
882
|
export enum RegisterMethods {
|
|
879
883
|
Email = "email",
|
|
880
|
-
Phone = "phone"
|
|
881
|
-
EmailCode = "emailCode"
|
|
884
|
+
Phone = "phone"
|
|
882
885
|
}
|
|
883
886
|
export enum GuardScenes {
|
|
884
887
|
Login = "login",
|
|
@@ -1389,8 +1392,6 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1389
1392
|
export interface RegisterCompleteInfoInitData {
|
|
1390
1393
|
content: any;
|
|
1391
1394
|
businessRequestName: 'registerByEmail' | 'registerByPhoneCode' | 'registerByEmailCode';
|
|
1392
|
-
onRegisterFailed: Function;
|
|
1393
|
-
onRegisterSuccess: Function;
|
|
1394
1395
|
}
|
|
1395
1396
|
export interface RegisterCompletePasswordInitData extends RegisterCompleteInfoInitData {
|
|
1396
1397
|
isChangeComplete: boolean;
|
|
@@ -1460,10 +1461,7 @@ declare module '@authing/react-ui-components/components/DownloadAuthenticator/in
|
|
|
1460
1461
|
declare module '@authing/react-ui-components/components/Error/index' {
|
|
1461
1462
|
import React from 'react';
|
|
1462
1463
|
import './styles.less';
|
|
1463
|
-
export
|
|
1464
|
-
error?: Error;
|
|
1465
|
-
}
|
|
1466
|
-
export const GuardErrorView: React.FC<ErrorProps>;
|
|
1464
|
+
export const GuardErrorView: React.FC;
|
|
1467
1465
|
|
|
1468
1466
|
}
|
|
1469
1467
|
declare module '@authing/react-ui-components/components/Error/interface' {
|
|
@@ -1557,7 +1555,6 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
|
|
|
1557
1555
|
private changeModuleEvent;
|
|
1558
1556
|
private stateMachineLog;
|
|
1559
1557
|
constructor(changeModuleEvent: ChangeModuleEvent, initData: ModuleState);
|
|
1560
|
-
uninstallPopstate: () => void;
|
|
1561
1558
|
globalWindow: () => Window | undefined;
|
|
1562
1559
|
next: (nextModule: GuardModuleType, initData: any) => void;
|
|
1563
1560
|
back: (initData?: any) => void;
|
|
@@ -1565,9 +1562,8 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
|
|
|
1565
1562
|
historyPush: (data: ModuleState, actionType?: ActionType) => void;
|
|
1566
1563
|
historyBack: (data: ModuleState) => void;
|
|
1567
1564
|
setConfig: (config: GuardLocalConfig) => void;
|
|
1568
|
-
isUseHistoryHijack: () => boolean;
|
|
1569
|
-
onPopstate: () => void;
|
|
1570
1565
|
}
|
|
1566
|
+
export const useHistoryHijack: (back?: (() => void) | undefined) => ((state?: any) => void)[];
|
|
1571
1567
|
export const initGuardStateMachine: (changeMouleEvent: ChangeModuleEvent, initData: ModuleState) => GuardStateMachine;
|
|
1572
1568
|
export const getGuardStateMachine: () => GuardStateMachine;
|
|
1573
1569
|
export const useGuardStateMachine: () => GuardStateMachine;
|
|
@@ -1786,19 +1782,6 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
|
|
|
1786
1782
|
}
|
|
1787
1783
|
export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<SessionData>>;
|
|
1788
1784
|
|
|
1789
|
-
}
|
|
1790
|
-
declare module '@authing/react-ui-components/components/GuardButton/GuardButton' {
|
|
1791
|
-
import React from 'react';
|
|
1792
|
-
import { ButtonProps } from 'antd/lib/button';
|
|
1793
|
-
import './styles.less';
|
|
1794
|
-
export interface GuardButtonProps extends ButtonProps {
|
|
1795
|
-
}
|
|
1796
|
-
export const GuardButton: React.FC<GuardButtonProps>;
|
|
1797
|
-
|
|
1798
|
-
}
|
|
1799
|
-
declare module '@authing/react-ui-components/components/GuardButton/index' {
|
|
1800
|
-
export * from '@authing/react-ui-components/components/GuardButton/GuardButton';
|
|
1801
|
-
|
|
1802
1785
|
}
|
|
1803
1786
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
1804
1787
|
export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
|
|
@@ -2057,7 +2040,6 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
|
|
|
2057
2040
|
agreements: Agreement[];
|
|
2058
2041
|
loginWay?: LoginMethods;
|
|
2059
2042
|
submitButText?: string;
|
|
2060
|
-
saveIdentify?: (type: LoginMethods, identity: string) => void;
|
|
2061
2043
|
}
|
|
2062
2044
|
export const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
|
|
2063
2045
|
export {};
|
|
@@ -2069,9 +2051,8 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
|
|
|
2069
2051
|
import { VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2070
2052
|
export interface FormItemIdentifyProps extends FormItemProps {
|
|
2071
2053
|
checkRepeat?: boolean;
|
|
2072
|
-
checkExist?: boolean;
|
|
2073
2054
|
methods: VerifyLoginMethods[];
|
|
2074
|
-
currentMethod
|
|
2055
|
+
currentMethod?: 'phone-code' | 'email-code';
|
|
2075
2056
|
areaCode?: string;
|
|
2076
2057
|
}
|
|
2077
2058
|
export const FormItemIdentify: React.FC<FormItemIdentifyProps>;
|
|
@@ -2176,11 +2157,6 @@ declare module '@authing/react-ui-components/components/Login/interface' {
|
|
|
2176
2157
|
export interface GuardLoginViewProps extends GuardLoginProps, IG2FCViewProps {
|
|
2177
2158
|
config: LoginConfig;
|
|
2178
2159
|
}
|
|
2179
|
-
export interface GuardLoginInitData {
|
|
2180
|
-
specifyDefaultLoginMethod?: LoginMethods;
|
|
2181
|
-
_firstItemInitialValue?: string;
|
|
2182
|
-
_lockMethod?: string;
|
|
2183
|
-
}
|
|
2184
2160
|
export const getDefaultLoginConfig: () => LoginConfig;
|
|
2185
2161
|
|
|
2186
2162
|
}
|
|
@@ -2542,21 +2518,6 @@ declare module '@authing/react-ui-components/components/Register/components/Agre
|
|
|
2542
2518
|
}
|
|
2543
2519
|
export const Agreements: FC<AgreementsProps>;
|
|
2544
2520
|
|
|
2545
|
-
}
|
|
2546
|
-
declare module '@authing/react-ui-components/components/Register/core/WithCode' {
|
|
2547
|
-
import React from 'react';
|
|
2548
|
-
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2549
|
-
export interface RegisterWithCodeProps {
|
|
2550
|
-
onRegisterSuccess: Function;
|
|
2551
|
-
onRegisterFailed: Function;
|
|
2552
|
-
onBeforeRegister?: Function;
|
|
2553
|
-
agreements: Agreement[];
|
|
2554
|
-
publicConfig?: ApplicationConfig;
|
|
2555
|
-
registeContext?: any;
|
|
2556
|
-
methods: any[];
|
|
2557
|
-
}
|
|
2558
|
-
export const RegisterWithCode: React.FC<RegisterWithCodeProps>;
|
|
2559
|
-
|
|
2560
2521
|
}
|
|
2561
2522
|
declare module '@authing/react-ui-components/components/Register/core/WithEmail' {
|
|
2562
2523
|
import React from 'react';
|
|
@@ -2605,13 +2566,13 @@ declare module '@authing/react-ui-components/components/Register/index' {
|
|
|
2605
2566
|
|
|
2606
2567
|
}
|
|
2607
2568
|
declare module '@authing/react-ui-components/components/Register/interface' {
|
|
2608
|
-
import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
|
|
2609
|
-
import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams
|
|
2569
|
+
import { IG2FCProps, IG2Config, IG2Events, NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
|
|
2570
|
+
import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
|
|
2610
2571
|
import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2611
2572
|
export interface RegisterConfig extends IG2Config {
|
|
2612
2573
|
disableRegister?: boolean;
|
|
2613
|
-
registerMethods?:
|
|
2614
|
-
defaultRegisterMethod?:
|
|
2574
|
+
registerMethods?: NewRegisterMethods[];
|
|
2575
|
+
defaultRegisterMethod?: NewRegisterMethods;
|
|
2615
2576
|
publicKey?: string;
|
|
2616
2577
|
agreementEnabled?: boolean;
|
|
2617
2578
|
agreements?: Agreement[];
|
|
@@ -2621,7 +2582,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2621
2582
|
onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
|
|
2622
2583
|
onRegister?: (user: User, authClient: AuthenticationClient) => void;
|
|
2623
2584
|
onRegisterError?: (error: any) => void;
|
|
2624
|
-
onRegisterTabChange?: (activeTab:
|
|
2585
|
+
onRegisterTabChange?: (activeTab: NewRegisterMethods) => void;
|
|
2625
2586
|
}
|
|
2626
2587
|
export interface GuardRegisterProps extends IG2FCProps, RegisterEvents {
|
|
2627
2588
|
config?: Partial<RegisterConfig>;
|
|
@@ -2637,14 +2598,12 @@ declare module '@authing/react-ui-components/components/Register/utils' {
|
|
|
2637
2598
|
|
|
2638
2599
|
}
|
|
2639
2600
|
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2640
|
-
|
|
2601
|
+
/// <reference types="react" />
|
|
2641
2602
|
export enum InputMethodMap {
|
|
2642
2603
|
email = "email-code",
|
|
2643
2604
|
phone = "phone-code"
|
|
2644
2605
|
}
|
|
2645
|
-
export const SelfUnlock: (
|
|
2646
|
-
identifyRef?: React.MutableRefObject<string> | undefined;
|
|
2647
|
-
}) => JSX.Element;
|
|
2606
|
+
export const SelfUnlock: () => JSX.Element;
|
|
2648
2607
|
|
|
2649
2608
|
}
|
|
2650
2609
|
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
@@ -2753,8 +2712,7 @@ declare module '@authing/react-ui-components/components/SingleComponent/index' {
|
|
|
2753
2712
|
}
|
|
2754
2713
|
declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
2755
2714
|
import React from 'react';
|
|
2756
|
-
|
|
2757
|
-
interface SubmitButtonProps extends ButtonProps {
|
|
2715
|
+
interface SubmitButtonProps {
|
|
2758
2716
|
text?: string;
|
|
2759
2717
|
className?: string;
|
|
2760
2718
|
onClick?: any;
|
|
@@ -2854,6 +2812,11 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2854
2812
|
showChangeLanguage: boolean;
|
|
2855
2813
|
};
|
|
2856
2814
|
}
|
|
2815
|
+
export enum NewRegisterMethods {
|
|
2816
|
+
Email = "email",
|
|
2817
|
+
Phone = "phone",
|
|
2818
|
+
EmailCode = "emailCode"
|
|
2819
|
+
}
|
|
2857
2820
|
export enum EmailScene {
|
|
2858
2821
|
WELCOME_EMAIL = "WELCOME_EMAIL",
|
|
2859
2822
|
FIRST_CREATED_USER = "FIRST_CREATED_USER",
|
|
@@ -2895,11 +2858,12 @@ declare module '@authing/react-ui-components/components/ValidatorRules/index' {
|
|
|
2895
2858
|
export interface ValidatorFormItemProps extends FormItemProps {
|
|
2896
2859
|
form?: FormInstance;
|
|
2897
2860
|
checkRepeat?: boolean;
|
|
2898
|
-
checkExist?: boolean;
|
|
2899
2861
|
areaCode?: string;
|
|
2900
2862
|
isCheckI18nSms?: boolean;
|
|
2901
2863
|
}
|
|
2902
2864
|
export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
|
|
2865
|
+
form?: FormInstance;
|
|
2866
|
+
checkRepeat?: boolean;
|
|
2903
2867
|
method: 'email' | 'phone' | 'username';
|
|
2904
2868
|
}
|
|
2905
2869
|
export interface PasswordFormItemProps extends FormItemProps {
|
|
@@ -2965,8 +2929,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2965
2929
|
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2966
2930
|
import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
2967
2931
|
import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
|
|
2932
|
+
import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
|
|
2968
2933
|
import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
|
|
2969
|
-
import { RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
2970
2934
|
export const getPublicConfig: (appId: string) => ApplicationConfig;
|
|
2971
2935
|
export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
|
|
2972
2936
|
export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
|
|
@@ -2980,8 +2944,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2980
2944
|
openEventsMapping?: boolean | undefined;
|
|
2981
2945
|
_qrCodeScanOptions?: Record<import("@authing/react-ui-components/components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
|
|
2982
2946
|
disableRegister?: boolean | undefined;
|
|
2983
|
-
registerMethods?:
|
|
2984
|
-
defaultRegisterMethod?:
|
|
2947
|
+
registerMethods?: NewRegisterMethods[] | undefined;
|
|
2948
|
+
defaultRegisterMethod?: NewRegisterMethods | undefined;
|
|
2985
2949
|
publicKey?: string | undefined;
|
|
2986
2950
|
agreementEnabled?: boolean | undefined;
|
|
2987
2951
|
agreements?: import("@authing/react-ui-components/components/AuthingGuard/api/index").Agreement[] | undefined;
|
|
@@ -2991,7 +2955,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2991
2955
|
lang: string;
|
|
2992
2956
|
langRange: string[];
|
|
2993
2957
|
isHost?: boolean | undefined;
|
|
2994
|
-
mode: import("@authing/react-ui-components/components/
|
|
2958
|
+
mode: import("@authing/react-ui-components/components/index").GuardMode;
|
|
2995
2959
|
clickCloseable: boolean;
|
|
2996
2960
|
escCloseable: boolean;
|
|
2997
2961
|
userpool?: string | undefined;
|
|
@@ -3002,8 +2966,8 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
3002
2966
|
__unAuthFlow__?: boolean | undefined;
|
|
3003
2967
|
autoRegister?: boolean | undefined;
|
|
3004
2968
|
disableResetPwd?: boolean | undefined;
|
|
3005
|
-
defaultLoginMethod?: import("@authing/react-ui-components/components/
|
|
3006
|
-
loginMethods?: import("@authing/react-ui-components/components/
|
|
2969
|
+
defaultLoginMethod?: import("@authing/react-ui-components/components/index").LoginMethods | undefined;
|
|
2970
|
+
loginMethods?: import("@authing/react-ui-components/components/index").LoginMethods[] | undefined;
|
|
3007
2971
|
passwordLoginMethods?: import("@authing/react-ui-components/components/AuthingGuard/api/index").PasswordLoginMethods[] | undefined;
|
|
3008
2972
|
socialConnections?: import("authing-js-sdk").SocialConnectionProvider[] | undefined;
|
|
3009
2973
|
socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
|
|
@@ -3092,14 +3056,6 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
3092
3056
|
}>;
|
|
3093
3057
|
Consumer: React.Consumer<IGuardContext>;
|
|
3094
3058
|
};
|
|
3095
|
-
export interface IGuardContextProvider {
|
|
3096
|
-
spin: boolean;
|
|
3097
|
-
spinChange: (spin: boolean) => void;
|
|
3098
|
-
}
|
|
3099
|
-
export const useGuardButtonContext: () => {
|
|
3100
|
-
GuardButtonProvider: React.FC<{}>;
|
|
3101
|
-
};
|
|
3102
|
-
export const useGuardButtonState: () => IGuardContextProvider;
|
|
3103
3059
|
export const useGuardPublicConfig: () => ApplicationConfig;
|
|
3104
3060
|
export const useGuardHttpClient: () => GuardHttp;
|
|
3105
3061
|
export const useGuardDefaultMergedConfig: () => GuardLocalConfig;
|
|
@@ -3149,8 +3105,7 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
|
|
|
3149
3105
|
}
|
|
3150
3106
|
declare module '@authing/react-ui-components/components/_utils/facePlugin/index' {
|
|
3151
3107
|
import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
|
|
3152
|
-
export const getFacePlugin: () => FacePlugin
|
|
3153
|
-
export const useFacePlugin: () => FacePlugin | undefined;
|
|
3108
|
+
export const getFacePlugin: () => FacePlugin;
|
|
3154
3109
|
export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
|
|
3155
3110
|
|
|
3156
3111
|
}
|
|
@@ -3236,10 +3191,6 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
3236
3191
|
countryCode: string | undefined;
|
|
3237
3192
|
phoneNumber: string;
|
|
3238
3193
|
};
|
|
3239
|
-
export enum SocialConnectionEvent {
|
|
3240
|
-
Message = "message",
|
|
3241
|
-
Auth = "auth"
|
|
3242
|
-
}
|
|
3243
3194
|
/**
|
|
3244
3195
|
*
|
|
3245
3196
|
* @param config
|
|
@@ -3292,7 +3243,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3292
3243
|
import { User } from 'authing-js-sdk';
|
|
3293
3244
|
import { ApplicationConfig, ComplateFiledsPlace } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
3294
3245
|
import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
|
|
3295
|
-
import {
|
|
3246
|
+
import { NewRegisterMethods } from '@authing/react-ui-components/components/Type/index';
|
|
3296
3247
|
export * from '@authing/react-ui-components/components/_utils/popupCenter';
|
|
3297
3248
|
export * from '@authing/react-ui-components/components/_utils/clipboard';
|
|
3298
3249
|
export const VALIDATE_PATTERN: {
|
|
@@ -3361,20 +3312,12 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3361
3312
|
export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string | undefined) => Rule[];
|
|
3362
3313
|
export const sleep: (delay: number) => Promise<unknown>;
|
|
3363
3314
|
export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean | undefined) => boolean;
|
|
3364
|
-
export const tabSort: (defaultValue:
|
|
3315
|
+
export const tabSort: (defaultValue: NewRegisterMethods, tabList: NewRegisterMethods[]) => NewRegisterMethods[];
|
|
3365
3316
|
export const mailDesensitization: (mail: string) => string;
|
|
3366
3317
|
export const phoneDesensitization: (phone: string) => string;
|
|
3367
3318
|
export const getHundreds: (num: number) => number;
|
|
3368
3319
|
export const GuardPropsFilter: (pre: GuardProps, current: GuardProps) => boolean;
|
|
3369
3320
|
export const getDocumentNode: (node: Node & ParentNode) => Document;
|
|
3370
|
-
export const getLoginTypePipe: (publicConfig: ApplicationConfig, registerMethod: RegisterMethods) => {
|
|
3371
|
-
specifyDefaultLoginMethod: LoginMethods;
|
|
3372
|
-
lockMethod: string;
|
|
3373
|
-
} | {
|
|
3374
|
-
specifyDefaultLoginMethod: LoginMethods;
|
|
3375
|
-
lockMethod?: undefined;
|
|
3376
|
-
} | undefined;
|
|
3377
|
-
export const getPasswordIdentify: (identity: string) => string;
|
|
3378
3321
|
|
|
3379
3322
|
}
|
|
3380
3323
|
declare module '@authing/react-ui-components/components/_utils/initAppId' {
|
|
@@ -3571,7 +3514,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3571
3514
|
|
|
3572
3515
|
}
|
|
3573
3516
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3574
|
-
const _default: "3.1.23-hep.
|
|
3517
|
+
const _default: "3.1.23-hep.1";
|
|
3575
3518
|
export default _default;
|
|
3576
3519
|
|
|
3577
3520
|
}
|