@authing/react-ui-components 3.0.2-alpha.2 → 3.0.2-beta.12
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 +620 -52
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/package.json +29 -8
- package/.eslintignore +0 -6
- package/.eslintrc.js +0 -7
- package/.prettierrc +0 -5
- package/.vscode/settings.json +0 -31
- package/build/asset-manifest.json +0 -26
- package/build/favicon.ico +0 -0
- package/build/index.html +0 -1
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +0 -25
- package/build/robots.txt +0 -3
- package/build/static/css/2.9512539b.chunk.css +0 -3
- package/build/static/css/2.9512539b.chunk.css.map +0 -1
- package/build/static/css/main.0ff9e24a.chunk.css +0 -2
- package/build/static/css/main.0ff9e24a.chunk.css.map +0 -1
- package/build/static/js/2.1105ecfb.chunk.js +0 -3
- package/build/static/js/2.1105ecfb.chunk.js.LICENSE.txt +0 -102
- package/build/static/js/2.1105ecfb.chunk.js.map +0 -1
- package/build/static/js/3.fd17f196.chunk.js +0 -2
- package/build/static/js/3.fd17f196.chunk.js.map +0 -1
- package/build/static/js/main.a47645ff.chunk.js +0 -2
- package/build/static/js/main.a47645ff.chunk.js.map +0 -1
- package/build/static/js/runtime-main.ef138021.js +0 -2
- package/build/static/js/runtime-main.ef138021.js.map +0 -1
- package/build/static/media/loading.4a67a5f3.svg +0 -29
- package/components/AuthingDropdown/index.tsx +0 -52
- package/components/AuthingDropdown/style.less +0 -43
- package/components/AuthingGuard/AppMFALayout/index.tsx +0 -74
- package/components/AuthingGuard/AppMFALayout/style.less +0 -12
- package/components/AuthingGuard/CompleteUserInfoLayout/index.tsx +0 -29
- package/components/AuthingGuard/CompleteUserInfoLayout/style.less +0 -8
- package/components/AuthingGuard/Forms/ADLoginForm/index.tsx +0 -117
- package/components/AuthingGuard/Forms/Agreements/index.tsx +0 -81
- package/components/AuthingGuard/Forms/Agreements/style.less +0 -44
- package/components/AuthingGuard/Forms/CompleteUserInfoForm/index.tsx +0 -139
- package/components/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm.tsx +0 -84
- package/components/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.tsx +0 -116
- package/components/AuthingGuard/Forms/EmailMfaVerifyForm/index.tsx +0 -40
- package/components/AuthingGuard/Forms/EmailMfaVerifyForm/style.less +0 -0
- package/components/AuthingGuard/Forms/EmailRegisterForm/index.tsx +0 -181
- package/components/AuthingGuard/Forms/EmailRegisterForm/style.less +0 -0
- package/components/AuthingGuard/Forms/LdapLoginForm/index.tsx +0 -166
- package/components/AuthingGuard/Forms/LdapLoginForm/style.less +0 -0
- package/components/AuthingGuard/Forms/LoginFormFooter/index.tsx +0 -76
- package/components/AuthingGuard/Forms/LoginFormFooter/style.less +0 -6
- package/components/AuthingGuard/Forms/MfaResetCodeForm/Step1.tsx +0 -86
- package/components/AuthingGuard/Forms/MfaResetCodeForm/Step2.tsx +0 -53
- package/components/AuthingGuard/Forms/MfaResetCodeForm/index.tsx +0 -65
- package/components/AuthingGuard/Forms/MfaResetCodeForm/style.less +0 -20
- package/components/AuthingGuard/Forms/MfaVerifyForm/index.tsx +0 -105
- package/components/AuthingGuard/Forms/MfaVerifyForm/style.less +0 -12
- package/components/AuthingGuard/Forms/PasswordLoginForm/index.tsx +0 -261
- package/components/AuthingGuard/Forms/PhoneCodeLoginForm/index.tsx +0 -133
- package/components/AuthingGuard/Forms/PhoneRegisterForm/index.tsx +0 -202
- package/components/AuthingGuard/Forms/QrCodeLoginForm/index.tsx +0 -59
- package/components/AuthingGuard/Forms/QrCodeLoginForm/style.less +0 -14
- package/components/AuthingGuard/Forms/RegisterFormFooter/index.tsx +0 -56
- package/components/AuthingGuard/Forms/RegisterFormFooter/style.less +0 -0
- package/components/AuthingGuard/Forms/ResetPwdForm/Footer.tsx +0 -21
- package/components/AuthingGuard/Forms/ResetPwdForm/Step1.tsx +0 -86
- package/components/AuthingGuard/Forms/ResetPwdForm/Step2.tsx +0 -127
- package/components/AuthingGuard/Forms/ResetPwdForm/Step3.tsx +0 -141
- package/components/AuthingGuard/Forms/ResetPwdForm/Step4.tsx +0 -51
- package/components/AuthingGuard/Forms/ResetPwdForm/index.tsx +0 -96
- package/components/AuthingGuard/Forms/ResetPwdForm/style.less +0 -3
- package/components/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn.tsx +0 -88
- package/components/AuthingGuard/Forms/SendPhoneCode/index.tsx +0 -50
- package/components/AuthingGuard/Forms/SendPhoneCode/style.less +0 -26
- package/components/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm.tsx +0 -86
- package/components/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.tsx +0 -113
- package/components/AuthingGuard/Forms/SmsMfaVerifyForm/index.tsx +0 -40
- package/components/AuthingGuard/Forms/SmsMfaVerifyForm/style.less +0 -3
- package/components/AuthingGuard/Forms/SocialAndIdpLogin/index.tsx +0 -325
- package/components/AuthingGuard/Forms/SocialAndIdpLogin/style.less +0 -75
- package/components/AuthingGuard/Forms/UploadImage/index.tsx +0 -70
- package/components/AuthingGuard/Forms/index.ts +0 -13
- package/components/AuthingGuard/GuardLayout/index.tsx +0 -474
- package/components/AuthingGuard/GuardLayout/style.less +0 -111
- package/components/AuthingGuard/Header/index.tsx +0 -25
- package/components/AuthingGuard/Header/style.less +0 -52
- package/components/AuthingGuard/IconFont/iconfont.js +0 -74
- package/components/AuthingGuard/IconFont/index.tsx +0 -19
- package/components/AuthingGuard/IconFont/style.less +0 -6
- package/components/AuthingGuard/IconFont/svg.js +0 -2
- package/components/AuthingGuard/LoginLayout/index.tsx +0 -161
- package/components/AuthingGuard/LoginLayout/style.less +0 -0
- package/components/AuthingGuard/MfaLayout/Steps.ts +0 -4
- package/components/AuthingGuard/MfaLayout/index.tsx +0 -49
- package/components/AuthingGuard/MfaLayout/style.less +0 -3
- package/components/AuthingGuard/RegisterLayout/index.tsx +0 -89
- package/components/AuthingGuard/RegisterLayout/style.less +0 -0
- package/components/AuthingGuard/ResetPwdLayout/index.tsx +0 -20
- package/components/AuthingGuard/ToggleLang/index.tsx +0 -51
- package/components/AuthingGuard/api/appConfig.ts +0 -146
- package/components/AuthingGuard/api/index.ts +0 -3
- package/components/AuthingGuard/api/sso.ts +0 -29
- package/components/AuthingGuard/api/userPoolConfig.ts +0 -111
- package/components/AuthingGuard/constants.ts +0 -105
- package/components/AuthingGuard/hooks/index.tsx +0 -70
- package/components/AuthingGuard/hooks/useScreenSize.tsx +0 -68
- package/components/AuthingGuard/index.tsx +0 -126
- package/components/AuthingGuard/style.less +0 -103
- package/components/AuthingGuard/types/Forms.ts +0 -94
- package/components/AuthingGuard/types/GuardConfig.ts +0 -420
- package/components/AuthingGuard/types/GuardState.ts +0 -7
- package/components/AuthingGuard/types/Locales.ts +0 -12
- package/components/AuthingGuard/types/index.ts +0 -4
- package/components/AuthingTabs/index.tsx +0 -98
- package/components/AuthingTabs/style.less +0 -135
- package/components/BindTotp/core/bindSuccess.tsx +0 -61
- package/components/BindTotp/core/securityCode.tsx +0 -119
- package/components/BindTotp/index.tsx +0 -134
- package/components/BindTotp/interface.ts +0 -30
- package/components/BindTotp/styles.less +0 -57
- package/components/ChangeLanguage/index.tsx +0 -35
- package/components/ChangePassword/core/firstLoginReset.tsx +0 -104
- package/components/ChangePassword/core/rotateReset.tsx +0 -114
- package/components/ChangePassword/index.tsx +0 -59
- package/components/CompleteInfo/core/completeInfo.tsx +0 -155
- package/components/CompleteInfo/index.tsx +0 -45
- package/components/CompleteInfo/interface.ts +0 -40
- package/components/CompleteInfo/styles.less +0 -7
- package/components/CopyAbleText/index.tsx +0 -54
- package/components/CopyAbleText/style.less +0 -13
- package/components/DownloadAuthenticator/index.tsx +0 -97
- package/components/DownloadAuthenticator/interface.ts +0 -22
- package/components/DownloadAuthenticator/styles.less +0 -52
- package/components/Error/index.tsx +0 -21
- package/components/Error/interface.ts +0 -9
- package/components/Error/styles.less +0 -12
- package/components/ForgetPassword/core/resetPassword.tsx +0 -162
- package/components/ForgetPassword/index.tsx +0 -75
- package/components/ForgetPassword/interface.ts +0 -32
- package/components/Guard/Guard.tsx +0 -242
- package/components/Guard/authClient.ts +0 -55
- package/components/Guard/config.ts +0 -19
- package/components/Guard/event.ts +0 -52
- package/components/Guard/index.tsx +0 -4
- package/components/Guard/module.ts +0 -19
- package/components/Guard/stateMachine.ts +0 -133
- package/components/Guard/styles.less +0 -444
- package/components/IconFont/iconfont.js +0 -74
- package/components/IconFont/index.tsx +0 -16
- package/components/IconFont/style.less +0 -6
- package/components/IconFont/svg.js +0 -2
- package/components/ImagePro/index.tsx +0 -52
- package/components/ImagePro/styles.less +0 -40
- package/components/InputNumber/index.tsx +0 -33
- package/components/Login/codemap.ts +0 -39
- package/components/Login/core/withAD.tsx +0 -9
- package/components/Login/core/withAppQrcode.tsx +0 -49
- package/components/Login/core/withLDAP.tsx +0 -146
- package/components/Login/core/withPassword.tsx +0 -176
- package/components/Login/core/withPhonecode.tsx +0 -121
- package/components/Login/core/withWechatMiniQrcode.tsx +0 -60
- package/components/Login/core/withWechatmpQrcode.tsx +0 -53
- package/components/Login/index.tsx +0 -368
- package/components/Login/props.ts +0 -74
- package/components/Login/socialLogin/index.tsx +0 -413
- package/components/Login/socialLogin/style.less +0 -61
- package/components/Login/styles.less +0 -53
- package/components/MFA/codemap.ts +0 -21
- package/components/MFA/core/email.tsx +0 -225
- package/components/MFA/core/face.tsx +0 -297
- package/components/MFA/core/face_deps.tsx +0 -37
- package/components/MFA/core/sms.tsx +0 -229
- package/components/MFA/core/totp.tsx +0 -137
- package/components/MFA/index.tsx +0 -137
- package/components/MFA/mfaMethods/index.tsx +0 -81
- package/components/MFA/mfaMethods/style.less +0 -39
- package/components/MFA/props.ts +0 -51
- package/components/MFA/styles.less +0 -93
- package/components/NeedHelpView/core/describeQuestions.tsx +0 -223
- package/components/NeedHelpView/index.tsx +0 -99
- package/components/RecoveryCode/core/useCode.tsx +0 -71
- package/components/RecoveryCode/index.tsx +0 -27
- package/components/RecoveryCode/interface.ts +0 -31
- package/components/RecoveryCode/style.less +0 -13
- package/components/Register/codemap.ts +0 -16
- package/components/Register/components/Agreements/index.tsx +0 -81
- package/components/Register/components/Agreements/style.less +0 -44
- package/components/Register/core/WithEmail.tsx +0 -236
- package/components/Register/core/WithPhone.tsx +0 -184
- package/components/Register/index.tsx +0 -123
- package/components/Register/props.ts +0 -50
- package/components/SendCode/SendCodeBtn.tsx +0 -96
- package/components/SendCode/index.tsx +0 -94
- package/components/SendCode/style.less +0 -31
- package/components/ShieldSpin/index.tsx +0 -27
- package/components/ShieldSpin/loading.svg +0 -29
- package/components/SubmitButton/index.tsx +0 -50
- package/components/Type/index.ts +0 -52
- package/components/ValidatorRules/EmailFormItem.tsx +0 -81
- package/components/ValidatorRules/PhoneFormItem.tsx +0 -90
- package/components/ValidatorRules/index.ts +0 -14
- package/components/VerifyCodeInput/index.tsx +0 -76
- package/components/VerifyCodeInput/style.less +0 -24
- package/components/_utils/GuardErrorCode.ts +0 -8
- package/components/_utils/clipboard.ts +0 -27
- package/components/_utils/config.ts +0 -121
- package/components/_utils/guradHttp.ts +0 -93
- package/components/_utils/hooks/index.ts +0 -64
- package/components/_utils/http.ts +0 -85
- package/components/_utils/index.ts +0 -319
- package/components/_utils/locales/en/common.json +0 -223
- package/components/_utils/locales/en/index.ts +0 -6
- package/components/_utils/locales/en/login.json +0 -96
- package/components/_utils/locales/en/map.json +0 -4
- package/components/_utils/locales/en/user.json +0 -82
- package/components/_utils/locales/index.ts +0 -45
- package/components/_utils/locales/zh/common.json +0 -223
- package/components/_utils/locales/zh/index.ts +0 -6
- package/components/_utils/locales/zh/login.json +0 -96
- package/components/_utils/locales/zh/map.json +0 -4
- package/components/_utils/locales/zh/user.json +0 -82
- package/components/_utils/popupCenter.ts +0 -48
- package/components/assets/images/error.png +0 -0
- package/components/context/base.tsx +0 -28
- package/components/context/global/context.tsx +0 -39
- package/components/context/global/reducer.tsx +0 -56
- package/components/context/module/context.tsx +0 -23
- package/components/index.ts +0 -12
- package/config/antdReplacer.js +0 -51
- package/config/env.js +0 -104
- package/config/getHttpsConfig.js +0 -66
- package/config/jest/cssTransform.js +0 -14
- package/config/jest/fileTransform.js +0 -40
- package/config/modules.js +0 -134
- package/config/paths.js +0 -71
- package/config/pnpTs.js +0 -35
- package/config/webpack.config.js +0 -835
- package/config/webpackDevServer.config.js +0 -130
- package/examples.tsx +0 -107
- package/index.js +0 -1
- package/lib/static/media/loading.4a67a5f3.svg +0 -29
- package/logo.svg +0 -7
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -43
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/react-app-env.d.ts +0 -71
- package/reportWebVitals.ts +0 -15
- package/scripts/build.js +0 -208
- package/scripts/lib.js +0 -200
- package/scripts/start.js +0 -162
- package/scripts/test.js +0 -49
- package/setupTests.ts +0 -5
- package/tsconfig.json +0 -30
package/lib/index.d.ts
CHANGED
|
@@ -358,7 +358,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/
|
|
|
358
358
|
|
|
359
359
|
}
|
|
360
360
|
declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
|
|
361
|
-
import { Lang, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
361
|
+
import { Lang, LoginMethods, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
362
362
|
import { IAzureAdConnectionConfig, ICasConnectionConfig, IOAuthConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
|
|
363
363
|
import { PasswordStrength } from '@authing/react-ui-components/components/_utils/index';
|
|
364
364
|
export enum ApplicationMfaType {
|
|
@@ -366,6 +366,11 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
366
366
|
EMAIL = "EMAIL"
|
|
367
367
|
}
|
|
368
368
|
export const ApplicationMfaTypeLabel: () => Record<ApplicationMfaType, string>;
|
|
369
|
+
export type QrcodeTabsSettings = Record<LoginMethods, Array<{
|
|
370
|
+
id: string;
|
|
371
|
+
title: string;
|
|
372
|
+
isDefault?: boolean;
|
|
373
|
+
}>>;
|
|
369
374
|
export interface OidcClientMetadata {
|
|
370
375
|
grant_types: string[];
|
|
371
376
|
client_id: string;
|
|
@@ -406,6 +411,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
406
411
|
css: string;
|
|
407
412
|
name: string;
|
|
408
413
|
logo: string;
|
|
414
|
+
description?: string;
|
|
409
415
|
redirectUris: string[];
|
|
410
416
|
registerDisabled: boolean;
|
|
411
417
|
registerTabs: {
|
|
@@ -415,9 +421,11 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
415
421
|
[x: string]: string;
|
|
416
422
|
};
|
|
417
423
|
};
|
|
424
|
+
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
418
425
|
loginTabs: {
|
|
419
426
|
list: string[];
|
|
420
427
|
default: string;
|
|
428
|
+
defaultV2?: string;
|
|
421
429
|
title: {
|
|
422
430
|
[x: string]: string;
|
|
423
431
|
};
|
|
@@ -546,8 +554,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoo
|
|
|
546
554
|
export interface SocialConnectionItem {
|
|
547
555
|
name: string;
|
|
548
556
|
name_en: string;
|
|
557
|
+
displayName: string;
|
|
549
558
|
logo: string;
|
|
550
559
|
description: string;
|
|
560
|
+
identifier: string;
|
|
551
561
|
provider: SocialConnectionProvider;
|
|
552
562
|
authorizationUrl: string;
|
|
553
563
|
tooltip: Record<Lang, string>;
|
|
@@ -600,6 +610,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/constants'
|
|
|
600
610
|
export const defaultHeaders: {
|
|
601
611
|
'userpool-id': string;
|
|
602
612
|
'app-id': string;
|
|
613
|
+
'tenant-id': string;
|
|
603
614
|
'sdk-version': string;
|
|
604
615
|
'request-from': string;
|
|
605
616
|
lang: string;
|
|
@@ -648,6 +659,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/index' {
|
|
|
648
659
|
import './style.less';
|
|
649
660
|
interface AuthingGuardProps extends GuardEventsHandler {
|
|
650
661
|
appId: string;
|
|
662
|
+
tenantId?: string;
|
|
651
663
|
config?: UserConfig;
|
|
652
664
|
visible?: boolean;
|
|
653
665
|
className?: string;
|
|
@@ -682,6 +694,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms
|
|
|
682
694
|
}
|
|
683
695
|
export interface QrLoginFormProps extends BaseFormProps {
|
|
684
696
|
type: LoginMethods.AppQr | LoginMethods.WxMinQr | LoginMethods.WechatMpQrcode;
|
|
697
|
+
idpId?: string;
|
|
685
698
|
}
|
|
686
699
|
export interface EmailRegisterFormProps extends BaseFormProps {
|
|
687
700
|
onValidateFail?: (error: any) => void;
|
|
@@ -741,7 +754,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms
|
|
|
741
754
|
declare module '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig' {
|
|
742
755
|
import { AuthenticationClient, AuthenticationClientOptions, CommonMessage, SocialConnectionProvider, User } from 'authing-js-sdk';
|
|
743
756
|
import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
|
|
744
|
-
import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
757
|
+
import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement, QrcodeTabsSettings } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
745
758
|
import { Lang } from '@authing/react-ui-components/components/AuthingGuard/types/Locales';
|
|
746
759
|
export type { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
|
|
747
760
|
export enum GuardMode {
|
|
@@ -915,6 +928,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
|
|
|
915
928
|
export interface UserConfig {
|
|
916
929
|
logo?: string;
|
|
917
930
|
title?: string;
|
|
931
|
+
description?: string;
|
|
918
932
|
zIndex?: number;
|
|
919
933
|
isSSO?: boolean;
|
|
920
934
|
mode?: GuardMode;
|
|
@@ -971,6 +985,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
|
|
|
971
985
|
publicKey: ApplicationConfig['publicKey'];
|
|
972
986
|
agreementEnabled: boolean;
|
|
973
987
|
agreements: Agreement[];
|
|
988
|
+
loginMethodTitleMapping: Record<string, string>;
|
|
989
|
+
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
974
990
|
}
|
|
975
991
|
export interface LocalesConfig {
|
|
976
992
|
defaultLang?: Lang;
|
|
@@ -1049,7 +1065,7 @@ declare module '@authing/react-ui-components/components/BindTotp/index' {
|
|
|
1049
1065
|
declare module '@authing/react-ui-components/components/BindTotp/interface' {
|
|
1050
1066
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1051
1067
|
import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
|
|
1052
|
-
import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/
|
|
1068
|
+
import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/interface';
|
|
1053
1069
|
export interface BindTotpConfig extends IG2Config {
|
|
1054
1070
|
}
|
|
1055
1071
|
export const getDefaultMFAConfig: () => BindTotpConfig;
|
|
@@ -1124,7 +1140,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1124
1140
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1125
1141
|
export interface CompleteInfoConfig extends IG2Config {
|
|
1126
1142
|
}
|
|
1127
|
-
export const
|
|
1143
|
+
export const getDefaultCompleteInfoConfig: () => CompleteInfoConfig;
|
|
1128
1144
|
export interface CompleteInfoEvents extends IG2Events {
|
|
1129
1145
|
onRegisterInfoCompleted?: (user: User, udfs: {
|
|
1130
1146
|
definition: any;
|
|
@@ -1237,6 +1253,7 @@ declare module '@authing/react-ui-components/components/Guard/Guard' {
|
|
|
1237
1253
|
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1238
1254
|
import './styles.less';
|
|
1239
1255
|
export interface GuardProps extends GuardEvents, IG2FCProps {
|
|
1256
|
+
tenantId?: string;
|
|
1240
1257
|
config?: Partial<GuardLocalConfig>;
|
|
1241
1258
|
visible?: boolean;
|
|
1242
1259
|
}
|
|
@@ -1246,14 +1263,14 @@ declare module '@authing/react-ui-components/components/Guard/Guard' {
|
|
|
1246
1263
|
declare module '@authing/react-ui-components/components/Guard/authClient' {
|
|
1247
1264
|
import { AuthenticationClient } from 'authing-js-sdk';
|
|
1248
1265
|
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1249
|
-
export const initAuthClient: (config: GuardLocalConfig, appId: string) => AuthenticationClient;
|
|
1266
|
+
export const initAuthClient: (config: GuardLocalConfig, appId: string, tenantId?: string | undefined) => AuthenticationClient;
|
|
1250
1267
|
export const getAuthClient: () => AuthenticationClient;
|
|
1251
1268
|
export const useAuthClient: () => AuthenticationClient;
|
|
1252
1269
|
|
|
1253
1270
|
}
|
|
1254
1271
|
declare module '@authing/react-ui-components/components/Guard/config' {
|
|
1255
|
-
import { LoginConfig } from '@authing/react-ui-components/components/Login/
|
|
1256
|
-
import { RegisterConfig } from '@authing/react-ui-components/components/Register/
|
|
1272
|
+
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
1273
|
+
import { RegisterConfig } from '@authing/react-ui-components/components/Register/interface';
|
|
1257
1274
|
export interface GuardComponentConifg extends Partial<GuardLocalConfig> {
|
|
1258
1275
|
}
|
|
1259
1276
|
export interface GuardLocalConfig extends RegisterConfig, LoginConfig {
|
|
@@ -1264,8 +1281,8 @@ declare module '@authing/react-ui-components/components/Guard/config' {
|
|
|
1264
1281
|
declare module '@authing/react-ui-components/components/Guard/event' {
|
|
1265
1282
|
import { CompleteInfoEvents } from '@authing/react-ui-components/components/CompleteInfo/interface';
|
|
1266
1283
|
import { ForgetPasswordEvents } from '@authing/react-ui-components/components/ForgetPassword/interface';
|
|
1267
|
-
import { LoginEvents } from '@authing/react-ui-components/components/Login/
|
|
1268
|
-
import { RegisterEvents } from '@authing/react-ui-components/components/Register/
|
|
1284
|
+
import { LoginEvents } from '@authing/react-ui-components/components/Login/interface';
|
|
1285
|
+
import { RegisterEvents } from '@authing/react-ui-components/components/Register/interface';
|
|
1269
1286
|
export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents {
|
|
1270
1287
|
}
|
|
1271
1288
|
export const guardEventsFilter: (props: any) => GuardEvents;
|
|
@@ -1291,7 +1308,8 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1291
1308
|
BIND_TOTP = "bindTotp",
|
|
1292
1309
|
ANY_QUESTIONS = "anyQuestions",
|
|
1293
1310
|
COMPLETE_INFO = "completeInfo",
|
|
1294
|
-
RECOVERY_CODE = "recoveryCode"
|
|
1311
|
+
RECOVERY_CODE = "recoveryCode",
|
|
1312
|
+
SUBMIT_SUCCESS = "submitSuccess"
|
|
1295
1313
|
}
|
|
1296
1314
|
export interface GuardModuleAction {
|
|
1297
1315
|
action: string;
|
|
@@ -1335,6 +1353,9 @@ declare module '@authing/react-ui-components/components/Guard/stateMachine' {
|
|
|
1335
1353
|
setConfig: (config: GuardLocalConfig) => void;
|
|
1336
1354
|
}
|
|
1337
1355
|
export const useHistoryHijack: (back?: (() => void) | undefined) => ((state?: any) => void)[];
|
|
1356
|
+
export const initGuardStateMachine: (changeMouleEvent: ChangeModuleEvent, initData: ModuleState) => GuardStateMachine;
|
|
1357
|
+
export const getGuardStateMachine: () => GuardStateMachine;
|
|
1358
|
+
export const useGuardStateMachine: () => GuardStateMachine;
|
|
1338
1359
|
|
|
1339
1360
|
}
|
|
1340
1361
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
@@ -1357,9 +1378,9 @@ declare module '@authing/react-ui-components/components/IconFont/svg' {
|
|
|
1357
1378
|
|
|
1358
1379
|
}
|
|
1359
1380
|
declare module '@authing/react-ui-components/components/ImagePro/index' {
|
|
1360
|
-
|
|
1381
|
+
import React from 'react';
|
|
1361
1382
|
import './styles.less';
|
|
1362
|
-
export interface ImageProProps {
|
|
1383
|
+
export interface ImageProProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
1363
1384
|
src: string;
|
|
1364
1385
|
className?: string;
|
|
1365
1386
|
alt?: string;
|
|
@@ -1419,14 +1440,46 @@ declare module '@authing/react-ui-components/components/Login/core/withLDAP' {
|
|
|
1419
1440
|
export {};
|
|
1420
1441
|
|
|
1421
1442
|
}
|
|
1422
|
-
declare module '@authing/react-ui-components/components/Login/core/withPassword' {
|
|
1443
|
+
declare module '@authing/react-ui-components/components/Login/core/withPassword/FormItemAccount' {
|
|
1444
|
+
import { FormItemProps } from 'antd/lib/form';
|
|
1445
|
+
import React from 'react';
|
|
1446
|
+
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1447
|
+
export interface FormItemAccountProps extends FormItemProps {
|
|
1448
|
+
passwordLoginMethods: PasswordLoginMethods[];
|
|
1449
|
+
}
|
|
1450
|
+
export const FormItemAccount: React.FC<FormItemAccountProps>;
|
|
1451
|
+
|
|
1452
|
+
}
|
|
1453
|
+
declare module '@authing/react-ui-components/components/Login/core/withPassword/GraphicVerifyCode' {
|
|
1454
|
+
import { InputProps } from 'antd/lib/input';
|
|
1455
|
+
import React from 'react';
|
|
1456
|
+
export interface GraphicVerifyCodeProps extends InputProps {
|
|
1457
|
+
verifyCodeUrl: string;
|
|
1458
|
+
changeCode: () => void;
|
|
1459
|
+
}
|
|
1460
|
+
export const GraphicVerifyCode: React.FC<GraphicVerifyCodeProps>;
|
|
1461
|
+
|
|
1462
|
+
}
|
|
1463
|
+
declare module '@authing/react-ui-components/components/Login/core/withPassword/InputAccount' {
|
|
1464
|
+
import { InputProps } from 'antd/lib/input';
|
|
1465
|
+
import React from 'react';
|
|
1466
|
+
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1467
|
+
export interface InputAccountProps extends InputProps {
|
|
1468
|
+
passwordLoginMethods: PasswordLoginMethods[];
|
|
1469
|
+
}
|
|
1470
|
+
export const InputAccount: React.FC<InputAccountProps>;
|
|
1471
|
+
|
|
1472
|
+
}
|
|
1473
|
+
declare module '@authing/react-ui-components/components/Login/core/withPassword/index' {
|
|
1423
1474
|
/// <reference types="react" />
|
|
1475
|
+
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1424
1476
|
interface LoginWithPasswordProps {
|
|
1425
1477
|
publicKey: string;
|
|
1426
1478
|
autoRegister?: boolean;
|
|
1427
1479
|
host?: string;
|
|
1428
1480
|
onLogin: any;
|
|
1429
1481
|
onBeforeLogin: any;
|
|
1482
|
+
passwordLoginMethods: PasswordLoginMethods[];
|
|
1430
1483
|
}
|
|
1431
1484
|
export const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
|
|
1432
1485
|
export {};
|
|
@@ -1461,12 +1514,12 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatmpQ
|
|
|
1461
1514
|
}
|
|
1462
1515
|
declare module '@authing/react-ui-components/components/Login/index' {
|
|
1463
1516
|
/// <reference types="react" />
|
|
1464
|
-
import { GuardLoginViewProps } from '@authing/react-ui-components/components/Login/
|
|
1517
|
+
import { GuardLoginViewProps } from '@authing/react-ui-components/components/Login/interface';
|
|
1465
1518
|
import './styles.less';
|
|
1466
1519
|
export const GuardLoginView: (props: GuardLoginViewProps) => JSX.Element;
|
|
1467
1520
|
|
|
1468
1521
|
}
|
|
1469
|
-
declare module '@authing/react-ui-components/components/Login/
|
|
1522
|
+
declare module '@authing/react-ui-components/components/Login/interface' {
|
|
1470
1523
|
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
|
|
1471
1524
|
import { SocialConnectionProvider } from 'authing-js-sdk';
|
|
1472
1525
|
import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
|
|
@@ -1502,7 +1555,7 @@ declare module '@authing/react-ui-components/components/Login/props' {
|
|
|
1502
1555
|
}
|
|
1503
1556
|
declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
|
|
1504
1557
|
import React from 'react';
|
|
1505
|
-
import { LoginConfig } from '@authing/react-ui-components/components/Login/
|
|
1558
|
+
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
1506
1559
|
import './style.less';
|
|
1507
1560
|
export interface SocialLoginProps {
|
|
1508
1561
|
appId: string;
|
|
@@ -1511,6 +1564,32 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/index'
|
|
|
1511
1564
|
}
|
|
1512
1565
|
export const SocialLogin: React.FC<SocialLoginProps>;
|
|
1513
1566
|
|
|
1567
|
+
}
|
|
1568
|
+
declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/VerifyCodeFormItem' {
|
|
1569
|
+
import { FormItemProps } from 'antd/lib/form';
|
|
1570
|
+
import React from 'react';
|
|
1571
|
+
export interface VerifyCodeFormItemProps extends FormItemProps {
|
|
1572
|
+
codeLength: number;
|
|
1573
|
+
ruleKeyword?: string;
|
|
1574
|
+
}
|
|
1575
|
+
export const VerifyCodeFormItem: React.FC<VerifyCodeFormItemProps>;
|
|
1576
|
+
|
|
1577
|
+
}
|
|
1578
|
+
declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/index' {
|
|
1579
|
+
import React, { FC } from 'react';
|
|
1580
|
+
import './style.less';
|
|
1581
|
+
interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1582
|
+
length?: number;
|
|
1583
|
+
size?: string;
|
|
1584
|
+
gutter?: string;
|
|
1585
|
+
onEenter?: Function;
|
|
1586
|
+
showDivider?: boolean;
|
|
1587
|
+
onChange?: any;
|
|
1588
|
+
value?: Array<number | string>;
|
|
1589
|
+
}
|
|
1590
|
+
export const VerifyCodeInput: FC<VerifyCodeInputProps>;
|
|
1591
|
+
export {};
|
|
1592
|
+
|
|
1514
1593
|
}
|
|
1515
1594
|
declare module '@authing/react-ui-components/components/MFA/codemap' {
|
|
1516
1595
|
import { GuardModuleAction } from '@authing/react-ui-components/components/Guard/module';
|
|
@@ -1519,6 +1598,7 @@ declare module '@authing/react-ui-components/components/MFA/codemap' {
|
|
|
1519
1598
|
}
|
|
1520
1599
|
declare module '@authing/react-ui-components/components/MFA/core/email' {
|
|
1521
1600
|
import React from 'react';
|
|
1601
|
+
import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
|
|
1522
1602
|
interface BindMFAEmailProps {
|
|
1523
1603
|
mfaToken: string;
|
|
1524
1604
|
onBind: (email: string) => void;
|
|
@@ -1530,13 +1610,14 @@ declare module '@authing/react-ui-components/components/MFA/core/email' {
|
|
|
1530
1610
|
mfaToken: string;
|
|
1531
1611
|
onVerify: (code: number, data: any) => void;
|
|
1532
1612
|
sendCodeRef: React.RefObject<HTMLButtonElement>;
|
|
1613
|
+
codeLength: number;
|
|
1533
1614
|
}
|
|
1534
1615
|
export const VerifyMFAEmail: React.FC<VerifyMFAEmailProps>;
|
|
1535
1616
|
export const MFAEmail: React.FC<{
|
|
1536
1617
|
mfaToken: string;
|
|
1537
1618
|
email?: string;
|
|
1538
1619
|
mfaLogin: any;
|
|
1539
|
-
config:
|
|
1620
|
+
config: MFAConfig;
|
|
1540
1621
|
}>;
|
|
1541
1622
|
export {};
|
|
1542
1623
|
|
|
@@ -1563,6 +1644,7 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
|
|
|
1563
1644
|
}
|
|
1564
1645
|
declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
1565
1646
|
import React from 'react';
|
|
1647
|
+
import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
|
|
1566
1648
|
export interface BindMFASmsProps {
|
|
1567
1649
|
mfaToken: string;
|
|
1568
1650
|
onBind: (phone: string) => void;
|
|
@@ -1574,19 +1656,20 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
|
1574
1656
|
phone: string;
|
|
1575
1657
|
onVerify: (code: number, data: any) => void;
|
|
1576
1658
|
sendCodeRef: React.RefObject<HTMLButtonElement>;
|
|
1659
|
+
codeLength: number;
|
|
1577
1660
|
}
|
|
1578
1661
|
export const VerifyMFASms: React.FC<VerifyMFASmsProps>;
|
|
1579
1662
|
export const MFASms: React.FC<{
|
|
1580
1663
|
mfaToken: string;
|
|
1581
1664
|
phone?: string;
|
|
1582
1665
|
mfaLogin: any;
|
|
1583
|
-
config:
|
|
1666
|
+
config: MFAConfig;
|
|
1584
1667
|
}>;
|
|
1585
1668
|
|
|
1586
1669
|
}
|
|
1587
1670
|
declare module '@authing/react-ui-components/components/MFA/core/totp' {
|
|
1588
1671
|
import React from 'react';
|
|
1589
|
-
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/
|
|
1672
|
+
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
|
|
1590
1673
|
export interface BindMFATotpProps {
|
|
1591
1674
|
initData: GuardMFAInitData;
|
|
1592
1675
|
changeModule: any;
|
|
@@ -1608,24 +1691,12 @@ declare module '@authing/react-ui-components/components/MFA/core/totp' {
|
|
|
1608
1691
|
}
|
|
1609
1692
|
declare module '@authing/react-ui-components/components/MFA/index' {
|
|
1610
1693
|
import React from 'react';
|
|
1611
|
-
import { GuardMFAViewProps } from '@authing/react-ui-components/components/MFA/
|
|
1694
|
+
import { GuardMFAViewProps } from '@authing/react-ui-components/components/MFA/interface';
|
|
1612
1695
|
import './styles.less';
|
|
1613
1696
|
export const GuardMFAView: React.FC<GuardMFAViewProps>;
|
|
1614
1697
|
|
|
1615
1698
|
}
|
|
1616
|
-
declare module '@authing/react-ui-components/components/MFA/
|
|
1617
|
-
import React from 'react';
|
|
1618
|
-
import { GuardMFAInitData, MFAType } from '@authing/react-ui-components/components/MFA/props';
|
|
1619
|
-
import './style.less';
|
|
1620
|
-
export interface MFAMethodsProps {
|
|
1621
|
-
applicationMfa: GuardMFAInitData['applicationMfa'];
|
|
1622
|
-
method: MFAType;
|
|
1623
|
-
onChangeMethod: (type: MFAType) => void;
|
|
1624
|
-
}
|
|
1625
|
-
export const MFAMethods: React.FC<MFAMethodsProps>;
|
|
1626
|
-
|
|
1627
|
-
}
|
|
1628
|
-
declare module '@authing/react-ui-components/components/MFA/props' {
|
|
1699
|
+
declare module '@authing/react-ui-components/components/MFA/interface' {
|
|
1629
1700
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1630
1701
|
import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
|
|
1631
1702
|
export interface MFAConfig extends IG2Config {
|
|
@@ -1665,6 +1736,18 @@ declare module '@authing/react-ui-components/components/MFA/props' {
|
|
|
1665
1736
|
initData: GuardMFAInitData;
|
|
1666
1737
|
}
|
|
1667
1738
|
|
|
1739
|
+
}
|
|
1740
|
+
declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
|
|
1741
|
+
import React from 'react';
|
|
1742
|
+
import { GuardMFAInitData, MFAType } from '@authing/react-ui-components/components/MFA/interface';
|
|
1743
|
+
import './style.less';
|
|
1744
|
+
export interface MFAMethodsProps {
|
|
1745
|
+
applicationMfa: GuardMFAInitData['applicationMfa'];
|
|
1746
|
+
method: MFAType;
|
|
1747
|
+
onChangeMethod: (type: MFAType) => void;
|
|
1748
|
+
}
|
|
1749
|
+
export const MFAMethods: React.FC<MFAMethodsProps>;
|
|
1750
|
+
|
|
1668
1751
|
}
|
|
1669
1752
|
declare module '@authing/react-ui-components/components/NeedHelpView/core/describeQuestions' {
|
|
1670
1753
|
/// <reference types="react" />
|
|
@@ -1763,11 +1846,11 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
|
|
|
1763
1846
|
}
|
|
1764
1847
|
declare module '@authing/react-ui-components/components/Register/index' {
|
|
1765
1848
|
import React from 'react';
|
|
1766
|
-
import { GuardRegisterViewProps } from '@authing/react-ui-components/components/Register/
|
|
1849
|
+
import { GuardRegisterViewProps } from '@authing/react-ui-components/components/Register/interface';
|
|
1767
1850
|
export const GuardRegisterView: React.FC<GuardRegisterViewProps>;
|
|
1768
1851
|
|
|
1769
1852
|
}
|
|
1770
|
-
declare module '@authing/react-ui-components/components/Register/
|
|
1853
|
+
declare module '@authing/react-ui-components/components/Register/interface' {
|
|
1771
1854
|
import { RegisterMethods } from 'authing-js-sdk';
|
|
1772
1855
|
import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
|
|
1773
1856
|
import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
|
|
@@ -1828,6 +1911,12 @@ declare module '@authing/react-ui-components/components/ShieldSpin/index' {
|
|
|
1828
1911
|
export const Spin: () => JSX.Element;
|
|
1829
1912
|
export {};
|
|
1830
1913
|
|
|
1914
|
+
}
|
|
1915
|
+
declare module '@authing/react-ui-components/components/ShieldSpin/loading' {
|
|
1916
|
+
/// <reference types="react" />
|
|
1917
|
+
import './style.less';
|
|
1918
|
+
export const ShieldSpinLoading: () => JSX.Element;
|
|
1919
|
+
|
|
1831
1920
|
}
|
|
1832
1921
|
declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
1833
1922
|
import React from 'react';
|
|
@@ -1839,6 +1928,28 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
|
1839
1928
|
const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
|
|
1840
1929
|
export default _default;
|
|
1841
1930
|
|
|
1931
|
+
}
|
|
1932
|
+
declare module '@authing/react-ui-components/components/SubmitSuccess/index' {
|
|
1933
|
+
import React from 'react';
|
|
1934
|
+
import { GuardSubmitSuccessViewProps } from '@authing/react-ui-components/components/SubmitSuccess/interface';
|
|
1935
|
+
export const GuardSubmitSuccessView: React.FC<GuardSubmitSuccessViewProps>;
|
|
1936
|
+
|
|
1937
|
+
}
|
|
1938
|
+
declare module '@authing/react-ui-components/components/SubmitSuccess/interface' {
|
|
1939
|
+
import { IG2Config, IG2Events, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
|
|
1940
|
+
export interface SubmitSuccessEvents extends IG2Events {
|
|
1941
|
+
}
|
|
1942
|
+
export interface SubmitSuccessConfig extends IG2Config {
|
|
1943
|
+
}
|
|
1944
|
+
export interface SubmitSuccessInitData {
|
|
1945
|
+
title?: string;
|
|
1946
|
+
message?: string;
|
|
1947
|
+
}
|
|
1948
|
+
export interface GuardSubmitSuccessViewProps extends IG2FCViewProps, SubmitSuccessEvents {
|
|
1949
|
+
config: SubmitSuccessConfig;
|
|
1950
|
+
initData?: SubmitSuccessInitData;
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1842
1953
|
}
|
|
1843
1954
|
declare module '@authing/react-ui-components/components/Type/index' {
|
|
1844
1955
|
import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
|
|
@@ -1878,30 +1989,46 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
1878
1989
|
export const getDefaultG2Config: () => IG2Config;
|
|
1879
1990
|
|
|
1880
1991
|
}
|
|
1881
|
-
declare module '@authing/react-ui-components/components/ValidatorRules/
|
|
1992
|
+
declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
|
|
1882
1993
|
import React from 'react';
|
|
1883
|
-
import {
|
|
1884
|
-
export const
|
|
1994
|
+
import { PasswordFormItemProps } from '@authing/react-ui-components/components/ValidatorRules/index';
|
|
1995
|
+
export const PasswordFormItem: React.FC<PasswordFormItemProps>;
|
|
1885
1996
|
|
|
1886
1997
|
}
|
|
1887
|
-
declare module '@authing/react-ui-components/components/ValidatorRules/
|
|
1998
|
+
declare module '@authing/react-ui-components/components/ValidatorRules/ValidatorFormItem' {
|
|
1888
1999
|
import React from 'react';
|
|
1889
2000
|
import { ICheckProps, ValidatorFormItemProps } from '@authing/react-ui-components/components/ValidatorRules/index';
|
|
2001
|
+
export const EmailFormItem: React.ForwardRefExoticComponent<ValidatorFormItemProps & React.RefAttributes<ICheckProps>>;
|
|
1890
2002
|
export const PhoneFormItem: React.ForwardRefExoticComponent<ValidatorFormItemProps & React.RefAttributes<ICheckProps>>;
|
|
1891
2003
|
|
|
1892
2004
|
}
|
|
1893
2005
|
declare module '@authing/react-ui-components/components/ValidatorRules/index' {
|
|
1894
2006
|
import { FormInstance, FormItemProps } from 'antd/lib/form';
|
|
2007
|
+
import FormItem from 'antd/lib/form/FormItem';
|
|
2008
|
+
import { PasswordFormItem } from '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem';
|
|
2009
|
+
import { EmailFormItem, PhoneFormItem } from '@authing/react-ui-components/components/ValidatorRules/ValidatorFormItem';
|
|
1895
2010
|
export interface ValidatorFormItemProps extends FormItemProps {
|
|
1896
|
-
userPoolId?: string;
|
|
1897
2011
|
form?: FormInstance;
|
|
1898
2012
|
checkRepeat?: boolean;
|
|
1899
2013
|
}
|
|
2014
|
+
export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
|
|
2015
|
+
form?: FormInstance;
|
|
2016
|
+
checkRepeat?: boolean;
|
|
2017
|
+
method: 'email' | 'phone';
|
|
2018
|
+
}
|
|
2019
|
+
export interface PasswordFormItemProps extends FormItemProps {
|
|
2020
|
+
}
|
|
1900
2021
|
export interface ICheckProps {
|
|
1901
|
-
check: () => void;
|
|
2022
|
+
check: (values: any) => void;
|
|
1902
2023
|
}
|
|
1903
|
-
|
|
1904
|
-
|
|
2024
|
+
type InternalFormItemType = typeof FormItem;
|
|
2025
|
+
interface FormItemInterface extends InternalFormItemType {
|
|
2026
|
+
Password: typeof PasswordFormItem;
|
|
2027
|
+
Email: typeof EmailFormItem;
|
|
2028
|
+
Phone: typeof PhoneFormItem;
|
|
2029
|
+
}
|
|
2030
|
+
const CustomFormItem: FormItemInterface;
|
|
2031
|
+
export default CustomFormItem;
|
|
1905
2032
|
|
|
1906
2033
|
}
|
|
1907
2034
|
declare module '@authing/react-ui-components/components/VerifyCodeInput/index' {
|
|
@@ -1924,7 +2051,8 @@ declare module '@authing/react-ui-components/components/_utils/GuardErrorCode' {
|
|
|
1924
2051
|
INPUT_CAPTCHACODE = 2000,
|
|
1925
2052
|
USER_EXISTENCE = 2026,
|
|
1926
2053
|
LOGIN_INVALID = 2021,
|
|
1927
|
-
PASSWORD_ERROR = 2333
|
|
2054
|
+
PASSWORD_ERROR = 2333,
|
|
2055
|
+
USER_NOT_EXIST = 2004
|
|
1928
2056
|
}
|
|
1929
2057
|
|
|
1930
2058
|
}
|
|
@@ -1941,6 +2069,17 @@ declare module '@authing/react-ui-components/components/_utils/config' {
|
|
|
1941
2069
|
publicConfig: ApplicationConfig;
|
|
1942
2070
|
}>;
|
|
1943
2071
|
|
|
2072
|
+
}
|
|
2073
|
+
declare module '@authing/react-ui-components/components/_utils/context' {
|
|
2074
|
+
import React from 'react';
|
|
2075
|
+
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2076
|
+
export const createGuardContext: () => {
|
|
2077
|
+
Context: React.Context<ApplicationConfig | undefined>;
|
|
2078
|
+
Provider: React.Provider<ApplicationConfig | undefined>;
|
|
2079
|
+
Consumer: React.Consumer<ApplicationConfig | undefined>;
|
|
2080
|
+
};
|
|
2081
|
+
export const usePublicConfig: () => ApplicationConfig | undefined;
|
|
2082
|
+
|
|
1944
2083
|
}
|
|
1945
2084
|
declare module '@authing/react-ui-components/components/_utils/guradHttp' {
|
|
1946
2085
|
export class GuardHttp {
|
|
@@ -1950,6 +2089,8 @@ declare module '@authing/react-ui-components/components/_utils/guradHttp' {
|
|
|
1950
2089
|
private getRequestClient;
|
|
1951
2090
|
setUserpoolId(userpoolId: string): void;
|
|
1952
2091
|
setAppId(appId: string): void;
|
|
2092
|
+
setTenantId(tenantId: string): void;
|
|
2093
|
+
setBaseUrl(baseUrl: string): void;
|
|
1953
2094
|
getHeaders: () => Record<string, string>;
|
|
1954
2095
|
get: <T>(path: string, query?: Record<string, any>, config?: RequestInit | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<T>>;
|
|
1955
2096
|
post: <T>(path: string, data: any, config?: {
|
|
@@ -1968,7 +2109,7 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
1968
2109
|
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
|
|
1969
2110
|
export const useChangeModule: () => (nextModuleType: GuardModuleType, nextData?: any) => void;
|
|
1970
2111
|
export const useAppId: (appId?: string | undefined) => string;
|
|
1971
|
-
export const useDebounce: (fn: any, delay: number) => (...args: any[]) =>
|
|
2112
|
+
export const useDebounce: (fn: any, delay: number) => (...args: any[]) => void;
|
|
1972
2113
|
|
|
1973
2114
|
}
|
|
1974
2115
|
declare module '@authing/react-ui-components/components/_utils/http' {
|
|
@@ -1984,7 +2125,11 @@ declare module '@authing/react-ui-components/components/_utils/http' {
|
|
|
1984
2125
|
baseUrl: string;
|
|
1985
2126
|
setBaseUrl(base: string): void;
|
|
1986
2127
|
langHeader: string;
|
|
2128
|
+
tenantHeader: string;
|
|
2129
|
+
tenantId: string;
|
|
1987
2130
|
setLangHeader(key: string | undefined): void;
|
|
2131
|
+
setTenantHeader(key: string | undefined): void;
|
|
2132
|
+
setTenantId(tenantId: string): void;
|
|
1988
2133
|
};
|
|
1989
2134
|
export interface AuthingResponse<T = any> {
|
|
1990
2135
|
code: number;
|
|
@@ -2046,6 +2191,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
2046
2191
|
}>;
|
|
2047
2192
|
export const getSymbolTypeLength: (pwd: string) => number;
|
|
2048
2193
|
export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any) => Rule[];
|
|
2194
|
+
export const sleep: (delay: number) => Promise<unknown>;
|
|
2049
2195
|
|
|
2050
2196
|
}
|
|
2051
2197
|
declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
|
|
@@ -2159,17 +2305,397 @@ declare module '@authing/react-ui-components/components/context/module/context'
|
|
|
2159
2305
|
|
|
2160
2306
|
}
|
|
2161
2307
|
declare module '@authing/react-ui-components/components/index' {
|
|
2308
|
+
export * from '@authing/react-ui-components/components/_utils/config';
|
|
2309
|
+
export type { AuthenticationClientOptions } from 'authing-js-sdk';
|
|
2162
2310
|
export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
2163
2311
|
export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
|
|
2164
|
-
export
|
|
2312
|
+
export * from '@authing/react-ui-components/components/AuthingGuard/index';
|
|
2165
2313
|
export * from '@authing/react-ui-components/components/Guard/index';
|
|
2166
2314
|
export * from '@authing/react-ui-components/components/Type/index';
|
|
2167
|
-
export * from '@authing/react-ui-components/components/
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
export
|
|
2315
|
+
export * from '@authing/react-ui-components/components/version/index';
|
|
2316
|
+
|
|
2317
|
+
}
|
|
2318
|
+
declare module '@authing/react-ui-components/components/version/index' {
|
|
2319
|
+
import version from '@authing/react-ui-components/components/version/version';
|
|
2320
|
+
export default version;
|
|
2321
|
+
|
|
2322
|
+
}
|
|
2323
|
+
declare module '@authing/react-ui-components/components/version/version' {
|
|
2324
|
+
const _default: "3.0.2-beta.12";
|
|
2325
|
+
export default _default;
|
|
2326
|
+
|
|
2327
|
+
}
|
|
2328
|
+
declare module '@authing/react-ui-components/config/antdReplacer' {
|
|
2329
|
+
export function antdScopeReplacerFn(node: any): void;
|
|
2330
|
+
|
|
2331
|
+
}
|
|
2332
|
+
declare module '@authing/react-ui-components/config/env' {
|
|
2333
|
+
export = getClientEnvironment;
|
|
2334
|
+
function getClientEnvironment(publicUrl: any): {
|
|
2335
|
+
raw: {
|
|
2336
|
+
NODE_ENV: "development" | "production" | "test";
|
|
2337
|
+
PUBLIC_URL: any;
|
|
2338
|
+
WDS_SOCKET_HOST: string | undefined;
|
|
2339
|
+
WDS_SOCKET_PATH: string | undefined;
|
|
2340
|
+
WDS_SOCKET_PORT: string | undefined;
|
|
2341
|
+
FAST_REFRESH: boolean;
|
|
2342
|
+
};
|
|
2343
|
+
stringified: {
|
|
2344
|
+
'process.env': {};
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2347
|
+
|
|
2348
|
+
}
|
|
2349
|
+
declare module '@authing/react-ui-components/config/getHttpsConfig' {
|
|
2350
|
+
export = getHttpsConfig;
|
|
2351
|
+
function getHttpsConfig(): boolean | {
|
|
2352
|
+
cert: Buffer;
|
|
2353
|
+
key: Buffer;
|
|
2354
|
+
};
|
|
2355
|
+
|
|
2356
|
+
}
|
|
2357
|
+
declare module '@authing/react-ui-components/config/jest/cssTransform' {
|
|
2358
|
+
export function process(): string;
|
|
2359
|
+
export function process(): string;
|
|
2360
|
+
export function getCacheKey(): string;
|
|
2361
|
+
export function getCacheKey(): string;
|
|
2362
|
+
|
|
2363
|
+
}
|
|
2364
|
+
declare module '@authing/react-ui-components/config/jest/fileTransform' {
|
|
2365
|
+
export function process(src: any, filename: any): string;
|
|
2366
|
+
export function process(src: any, filename: any): string;
|
|
2367
|
+
|
|
2368
|
+
}
|
|
2369
|
+
declare module '@authing/react-ui-components/config/modules' {
|
|
2370
|
+
export const additionalModulePaths: string[] | "" | null;
|
|
2371
|
+
export const hasTsConfig: boolean;
|
|
2372
|
+
export const webpackAliases: {
|
|
2373
|
+
src?: undefined;
|
|
2374
|
+
} | {
|
|
2375
|
+
src: string;
|
|
2376
|
+
} | undefined;
|
|
2377
|
+
export const jestAliases: {
|
|
2378
|
+
'^src/(.*)$'?: undefined;
|
|
2379
|
+
} | {
|
|
2380
|
+
'^src/(.*)$': string;
|
|
2381
|
+
} | undefined;
|
|
2382
|
+
|
|
2383
|
+
}
|
|
2384
|
+
declare module '@authing/react-ui-components/config/paths' {
|
|
2385
|
+
export const publicUrlOrPath: any;
|
|
2386
|
+
export const moduleFileExtensions: string[];
|
|
2387
|
+
export const dotenv: string;
|
|
2388
|
+
export const appPath: string;
|
|
2389
|
+
export const appBuild: string;
|
|
2390
|
+
export const appPublic: string;
|
|
2391
|
+
export const appHtml: string;
|
|
2392
|
+
export const appIndexJs: any;
|
|
2393
|
+
export const appPackageJson: string;
|
|
2394
|
+
export const appSrc: string;
|
|
2395
|
+
export const appTsConfig: string;
|
|
2396
|
+
export const appJsConfig: string;
|
|
2397
|
+
export const yarnLockFile: string;
|
|
2398
|
+
export const testsSetup: any;
|
|
2399
|
+
export const proxySetup: string;
|
|
2400
|
+
export const appNodeModules: string;
|
|
2401
|
+
export const swSrc: any;
|
|
2402
|
+
export const componentsIndexJs: string;
|
|
2403
|
+
export const libBuild: string;
|
|
2404
|
+
|
|
2405
|
+
}
|
|
2406
|
+
declare module '@authing/react-ui-components/config/pnpTs' {
|
|
2407
|
+
export function resolveModuleName(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
|
|
2408
|
+
export function resolveTypeReferenceDirective(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
|
|
2409
|
+
|
|
2410
|
+
}
|
|
2411
|
+
declare module '@authing/react-ui-components/config/webpack.config' {
|
|
2412
|
+
function _exports(webpackEnv: any): {
|
|
2413
|
+
mode: string | false;
|
|
2414
|
+
bail: boolean;
|
|
2415
|
+
devtool: string | boolean;
|
|
2416
|
+
externals: string[] | undefined;
|
|
2417
|
+
entry: any;
|
|
2418
|
+
output: {
|
|
2419
|
+
library: string | undefined;
|
|
2420
|
+
libraryTarget: string | undefined;
|
|
2421
|
+
path: string | undefined;
|
|
2422
|
+
pathinfo: boolean;
|
|
2423
|
+
filename: (chunkData: any) => false | "index.min.js" | "static/js/[name].[contenthash:8].js" | "static/js/bundle.js";
|
|
2424
|
+
futureEmitAssets: boolean;
|
|
2425
|
+
chunkFilename: string | false | undefined;
|
|
2426
|
+
publicPath: any;
|
|
2427
|
+
devtoolModuleFilenameTemplate: false | ((info: any) => string) | undefined;
|
|
2428
|
+
jsonpFunction: string | undefined;
|
|
2429
|
+
globalObject: string;
|
|
2430
|
+
};
|
|
2431
|
+
optimization: {
|
|
2432
|
+
minimize: boolean;
|
|
2433
|
+
minimizer: any[];
|
|
2434
|
+
splitChunks: {
|
|
2435
|
+
cacheGroups: {
|
|
2436
|
+
default: boolean;
|
|
2437
|
+
};
|
|
2438
|
+
chunks?: undefined;
|
|
2439
|
+
name?: undefined;
|
|
2440
|
+
} | {
|
|
2441
|
+
chunks: string;
|
|
2442
|
+
name: boolean;
|
|
2443
|
+
cacheGroups?: undefined;
|
|
2444
|
+
};
|
|
2445
|
+
runtimeChunk: false | {
|
|
2446
|
+
name: (entrypoint: any) => string;
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
resolve: {
|
|
2450
|
+
modules: string[];
|
|
2451
|
+
extensions: string[];
|
|
2452
|
+
alias: {
|
|
2453
|
+
src?: undefined;
|
|
2454
|
+
'react-dom$'?: string;
|
|
2455
|
+
'scheduler/tracing'?: string;
|
|
2456
|
+
'react-native': string;
|
|
2457
|
+
} | {
|
|
2458
|
+
src: string;
|
|
2459
|
+
'react-dom$'?: string;
|
|
2460
|
+
'scheduler/tracing'?: string;
|
|
2461
|
+
'react-native': string;
|
|
2462
|
+
};
|
|
2463
|
+
plugins: any[];
|
|
2464
|
+
};
|
|
2465
|
+
resolveLoader: {
|
|
2466
|
+
plugins: any[];
|
|
2467
|
+
};
|
|
2468
|
+
module: {
|
|
2469
|
+
strictExportPresence: boolean;
|
|
2470
|
+
rules: ({
|
|
2471
|
+
parser: {
|
|
2472
|
+
requireEnsure: boolean;
|
|
2473
|
+
};
|
|
2474
|
+
oneOf?: undefined;
|
|
2475
|
+
} | {
|
|
2476
|
+
oneOf: ({
|
|
2477
|
+
test: RegExp[];
|
|
2478
|
+
loader: string;
|
|
2479
|
+
options: {
|
|
2480
|
+
limit: number;
|
|
2481
|
+
mimetype: string;
|
|
2482
|
+
name: string;
|
|
2483
|
+
customize?: undefined;
|
|
2484
|
+
plugins?: undefined;
|
|
2485
|
+
cacheDirectory?: undefined;
|
|
2486
|
+
cacheCompression?: undefined;
|
|
2487
|
+
compact?: undefined;
|
|
2488
|
+
babelrc?: undefined;
|
|
2489
|
+
configFile?: undefined;
|
|
2490
|
+
presets?: undefined;
|
|
2491
|
+
sourceMaps?: undefined;
|
|
2492
|
+
inputSourceMap?: undefined;
|
|
2493
|
+
};
|
|
2494
|
+
include?: undefined;
|
|
2495
|
+
exclude?: undefined;
|
|
2496
|
+
use?: undefined;
|
|
2497
|
+
sideEffects?: undefined;
|
|
2498
|
+
} | {
|
|
2499
|
+
test: RegExp[];
|
|
2500
|
+
loader: string;
|
|
2501
|
+
options: {
|
|
2502
|
+
limit: number;
|
|
2503
|
+
name: string;
|
|
2504
|
+
mimetype?: undefined;
|
|
2505
|
+
customize?: undefined;
|
|
2506
|
+
plugins?: undefined;
|
|
2507
|
+
cacheDirectory?: undefined;
|
|
2508
|
+
cacheCompression?: undefined;
|
|
2509
|
+
compact?: undefined;
|
|
2510
|
+
babelrc?: undefined;
|
|
2511
|
+
configFile?: undefined;
|
|
2512
|
+
presets?: undefined;
|
|
2513
|
+
sourceMaps?: undefined;
|
|
2514
|
+
inputSourceMap?: undefined;
|
|
2515
|
+
};
|
|
2516
|
+
include?: undefined;
|
|
2517
|
+
exclude?: undefined;
|
|
2518
|
+
use?: undefined;
|
|
2519
|
+
sideEffects?: undefined;
|
|
2520
|
+
} | {
|
|
2521
|
+
test: RegExp;
|
|
2522
|
+
include: string;
|
|
2523
|
+
loader: string;
|
|
2524
|
+
options: {
|
|
2525
|
+
customize: string;
|
|
2526
|
+
plugins: (string | false | (string | {
|
|
2527
|
+
loaderMap: {
|
|
2528
|
+
svg: {
|
|
2529
|
+
ReactComponent: string;
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
2532
|
+
})[] | (string | {
|
|
2533
|
+
libraryName: string;
|
|
2534
|
+
style: boolean;
|
|
2535
|
+
})[])[];
|
|
2536
|
+
cacheDirectory: boolean;
|
|
2537
|
+
cacheCompression: boolean;
|
|
2538
|
+
compact: boolean;
|
|
2539
|
+
limit?: undefined;
|
|
2540
|
+
mimetype?: undefined;
|
|
2541
|
+
name?: undefined;
|
|
2542
|
+
babelrc?: undefined;
|
|
2543
|
+
configFile?: undefined;
|
|
2544
|
+
presets?: undefined;
|
|
2545
|
+
sourceMaps?: undefined;
|
|
2546
|
+
inputSourceMap?: undefined;
|
|
2547
|
+
};
|
|
2548
|
+
exclude?: undefined;
|
|
2549
|
+
use?: undefined;
|
|
2550
|
+
sideEffects?: undefined;
|
|
2551
|
+
} | {
|
|
2552
|
+
test: RegExp;
|
|
2553
|
+
exclude: RegExp;
|
|
2554
|
+
loader: string;
|
|
2555
|
+
options: {
|
|
2556
|
+
babelrc: boolean;
|
|
2557
|
+
configFile: boolean;
|
|
2558
|
+
compact: boolean;
|
|
2559
|
+
presets: (string | {
|
|
2560
|
+
helpers: boolean;
|
|
2561
|
+
})[][];
|
|
2562
|
+
cacheDirectory: boolean;
|
|
2563
|
+
cacheCompression: boolean;
|
|
2564
|
+
sourceMaps: boolean;
|
|
2565
|
+
inputSourceMap: boolean;
|
|
2566
|
+
limit?: undefined;
|
|
2567
|
+
mimetype?: undefined;
|
|
2568
|
+
name?: undefined;
|
|
2569
|
+
customize?: undefined;
|
|
2570
|
+
plugins?: undefined;
|
|
2571
|
+
};
|
|
2572
|
+
include?: undefined;
|
|
2573
|
+
use?: undefined;
|
|
2574
|
+
sideEffects?: undefined;
|
|
2575
|
+
} | {
|
|
2576
|
+
test: RegExp;
|
|
2577
|
+
exclude: RegExp;
|
|
2578
|
+
use: (string | false | {
|
|
2579
|
+
loader: any;
|
|
2580
|
+
options: {
|
|
2581
|
+
publicPath: string;
|
|
2582
|
+
} | {
|
|
2583
|
+
publicPath?: undefined;
|
|
2584
|
+
};
|
|
2585
|
+
} | {
|
|
2586
|
+
loader: string;
|
|
2587
|
+
options: any;
|
|
2588
|
+
})[];
|
|
2589
|
+
sideEffects: boolean;
|
|
2590
|
+
loader?: undefined;
|
|
2591
|
+
options?: undefined;
|
|
2592
|
+
include?: undefined;
|
|
2593
|
+
} | {
|
|
2594
|
+
test: RegExp;
|
|
2595
|
+
use: (string | false | {
|
|
2596
|
+
loader: any;
|
|
2597
|
+
options: {
|
|
2598
|
+
publicPath: string;
|
|
2599
|
+
} | {
|
|
2600
|
+
publicPath?: undefined;
|
|
2601
|
+
};
|
|
2602
|
+
} | {
|
|
2603
|
+
loader: string;
|
|
2604
|
+
options: any;
|
|
2605
|
+
})[];
|
|
2606
|
+
loader?: undefined;
|
|
2607
|
+
options?: undefined;
|
|
2608
|
+
include?: undefined;
|
|
2609
|
+
exclude?: undefined;
|
|
2610
|
+
sideEffects?: undefined;
|
|
2611
|
+
} | {
|
|
2612
|
+
loader: string;
|
|
2613
|
+
exclude: RegExp[];
|
|
2614
|
+
options: {
|
|
2615
|
+
name: string;
|
|
2616
|
+
limit?: undefined;
|
|
2617
|
+
mimetype?: undefined;
|
|
2618
|
+
customize?: undefined;
|
|
2619
|
+
plugins?: undefined;
|
|
2620
|
+
cacheDirectory?: undefined;
|
|
2621
|
+
cacheCompression?: undefined;
|
|
2622
|
+
compact?: undefined;
|
|
2623
|
+
babelrc?: undefined;
|
|
2624
|
+
configFile?: undefined;
|
|
2625
|
+
presets?: undefined;
|
|
2626
|
+
sourceMaps?: undefined;
|
|
2627
|
+
inputSourceMap?: undefined;
|
|
2628
|
+
};
|
|
2629
|
+
test?: undefined;
|
|
2630
|
+
include?: undefined;
|
|
2631
|
+
use?: undefined;
|
|
2632
|
+
sideEffects?: undefined;
|
|
2633
|
+
})[];
|
|
2634
|
+
parser?: undefined;
|
|
2635
|
+
})[];
|
|
2636
|
+
};
|
|
2637
|
+
plugins: any[];
|
|
2638
|
+
node: {
|
|
2639
|
+
module: string;
|
|
2640
|
+
dgram: string;
|
|
2641
|
+
dns: string;
|
|
2642
|
+
fs: string;
|
|
2643
|
+
http2: string;
|
|
2644
|
+
net: string;
|
|
2645
|
+
tls: string;
|
|
2646
|
+
child_process: string;
|
|
2647
|
+
crypto: string;
|
|
2648
|
+
Buffer: boolean;
|
|
2649
|
+
};
|
|
2650
|
+
performance: boolean;
|
|
2651
|
+
};
|
|
2652
|
+
export = _exports;
|
|
2653
|
+
|
|
2654
|
+
}
|
|
2655
|
+
declare module '@authing/react-ui-components/config/webpackDevServer.config' {
|
|
2656
|
+
function _exports(proxy: any, allowedHost: any): {
|
|
2657
|
+
disableHostCheck: boolean;
|
|
2658
|
+
compress: boolean;
|
|
2659
|
+
clientLogLevel: string;
|
|
2660
|
+
contentBase: string;
|
|
2661
|
+
contentBasePublicPath: any;
|
|
2662
|
+
watchContentBase: boolean;
|
|
2663
|
+
hot: boolean;
|
|
2664
|
+
transportMode: string;
|
|
2665
|
+
injectClient: boolean;
|
|
2666
|
+
sockHost: string | undefined;
|
|
2667
|
+
sockPath: string | undefined;
|
|
2668
|
+
sockPort: string | undefined;
|
|
2669
|
+
publicPath: any;
|
|
2670
|
+
quiet: boolean;
|
|
2671
|
+
watchOptions: {
|
|
2672
|
+
ignored: any;
|
|
2673
|
+
};
|
|
2674
|
+
https: boolean | {
|
|
2675
|
+
cert: Buffer;
|
|
2676
|
+
key: Buffer;
|
|
2677
|
+
};
|
|
2678
|
+
host: string;
|
|
2679
|
+
overlay: boolean;
|
|
2680
|
+
historyApiFallback: {
|
|
2681
|
+
disableDotRule: boolean;
|
|
2682
|
+
index: any;
|
|
2683
|
+
};
|
|
2684
|
+
public: any;
|
|
2685
|
+
proxy: any;
|
|
2686
|
+
before(app: any, server: any): void;
|
|
2687
|
+
after(app: any): void;
|
|
2688
|
+
};
|
|
2689
|
+
export = _exports;
|
|
2690
|
+
|
|
2691
|
+
}
|
|
2692
|
+
declare module '@authing/react-ui-components/examples' {
|
|
2693
|
+
export {};
|
|
2694
|
+
|
|
2695
|
+
}
|
|
2696
|
+
declare module '@authing/react-ui-components/index' {
|
|
2697
|
+
const _exports: typeof import("@authing/react-ui-components/components/index");
|
|
2698
|
+
export = _exports;
|
|
2173
2699
|
|
|
2174
2700
|
}
|
|
2175
2701
|
declare module '@authing/react-ui-components/reportWebVitals' {
|
|
@@ -2177,10 +2703,52 @@ declare module '@authing/react-ui-components/reportWebVitals' {
|
|
|
2177
2703
|
const reportWebVitals: (onPerfEntry?: ReportHandler | undefined) => void;
|
|
2178
2704
|
export default reportWebVitals;
|
|
2179
2705
|
|
|
2706
|
+
}
|
|
2707
|
+
declare module '@authing/react-ui-components/scripts/build' {
|
|
2708
|
+
export {};
|
|
2709
|
+
|
|
2710
|
+
}
|
|
2711
|
+
declare module '@authing/react-ui-components/scripts/generate-version' {
|
|
2712
|
+
export {};
|
|
2713
|
+
|
|
2714
|
+
}
|
|
2715
|
+
declare module '@authing/react-ui-components/scripts/lib' {
|
|
2716
|
+
export {};
|
|
2717
|
+
|
|
2718
|
+
}
|
|
2719
|
+
declare module '@authing/react-ui-components/scripts/pre-publish' {
|
|
2720
|
+
export {};
|
|
2721
|
+
|
|
2722
|
+
}
|
|
2723
|
+
declare module '@authing/react-ui-components/scripts/publish' {
|
|
2724
|
+
export {};
|
|
2725
|
+
|
|
2726
|
+
}
|
|
2727
|
+
declare module '@authing/react-ui-components/scripts/start' {
|
|
2728
|
+
export {};
|
|
2729
|
+
|
|
2730
|
+
}
|
|
2731
|
+
declare module '@authing/react-ui-components/scripts/tag' {
|
|
2732
|
+
export {};
|
|
2733
|
+
|
|
2734
|
+
}
|
|
2735
|
+
declare module '@authing/react-ui-components/scripts/test' {
|
|
2736
|
+
export {};
|
|
2737
|
+
|
|
2738
|
+
}
|
|
2739
|
+
declare module '@authing/react-ui-components/scripts/utils/is-guard-publish' {
|
|
2740
|
+
function _exports(): any;
|
|
2741
|
+
export = _exports;
|
|
2742
|
+
|
|
2180
2743
|
}
|
|
2181
2744
|
declare module '@authing/react-ui-components/setupTests' {
|
|
2182
2745
|
import '@testing-library/jest-dom';
|
|
2183
2746
|
|
|
2747
|
+
}
|
|
2748
|
+
declare module '@authing/react-ui-components/vite.config' {
|
|
2749
|
+
const _default: import("vite").UserConfigExport;
|
|
2750
|
+
export default _default;
|
|
2751
|
+
|
|
2184
2752
|
}
|
|
2185
2753
|
declare module '@authing/react-ui-components' {
|
|
2186
2754
|
import main = require('@authing/react-ui-components/components/index');
|