@authing/react-ui-components 3.0.2-alpha → 3.0.2-beta.11
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 +658 -108
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/package.json +27 -9
- 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.31ae8f4c.chunk.css +0 -3
- package/build/static/css/2.31ae8f4c.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.ef2f91aa.chunk.js +0 -2
- package/build/static/js/main.ef2f91aa.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/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
|
@@ -600,6 +600,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/constants'
|
|
|
600
600
|
export const defaultHeaders: {
|
|
601
601
|
'userpool-id': string;
|
|
602
602
|
'app-id': string;
|
|
603
|
+
'tenant-id': string;
|
|
603
604
|
'sdk-version': string;
|
|
604
605
|
'request-from': string;
|
|
605
606
|
lang: string;
|
|
@@ -1041,15 +1042,15 @@ declare module '@authing/react-ui-components/components/BindTotp/core/securityCo
|
|
|
1041
1042
|
}
|
|
1042
1043
|
declare module '@authing/react-ui-components/components/BindTotp/index' {
|
|
1043
1044
|
import React from 'react';
|
|
1044
|
-
import { GuardBindTotpViewProps } from '@authing/react-ui-components/components/BindTotp/
|
|
1045
|
+
import { GuardBindTotpViewProps } from '@authing/react-ui-components/components/BindTotp/interface';
|
|
1045
1046
|
import './styles.less';
|
|
1046
1047
|
export const GuardBindTotpView: React.FC<GuardBindTotpViewProps>;
|
|
1047
1048
|
|
|
1048
1049
|
}
|
|
1049
|
-
declare module '@authing/react-ui-components/components/BindTotp/
|
|
1050
|
+
declare module '@authing/react-ui-components/components/BindTotp/interface' {
|
|
1050
1051
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1051
1052
|
import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
|
|
1052
|
-
import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/
|
|
1053
|
+
import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/interface';
|
|
1053
1054
|
export interface BindTotpConfig extends IG2Config {
|
|
1054
1055
|
}
|
|
1055
1056
|
export const getDefaultMFAConfig: () => BindTotpConfig;
|
|
@@ -1103,7 +1104,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1103
1104
|
declare module '@authing/react-ui-components/components/CompleteInfo/core/completeInfo' {
|
|
1104
1105
|
import React from 'react';
|
|
1105
1106
|
import { ExtendsField } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1106
|
-
import { GuardCompleteInfoViewProps } from '@authing/react-ui-components/components/CompleteInfo/
|
|
1107
|
+
import { GuardCompleteInfoViewProps } from '@authing/react-ui-components/components/CompleteInfo/interface';
|
|
1107
1108
|
export interface CompleteInfoProps {
|
|
1108
1109
|
extendsFields: ExtendsField[];
|
|
1109
1110
|
onRegisterInfoCompleted?: GuardCompleteInfoViewProps['onRegisterInfoCompleted'];
|
|
@@ -1114,17 +1115,17 @@ declare module '@authing/react-ui-components/components/CompleteInfo/core/comple
|
|
|
1114
1115
|
}
|
|
1115
1116
|
declare module '@authing/react-ui-components/components/CompleteInfo/index' {
|
|
1116
1117
|
import React from 'react';
|
|
1117
|
-
import { GuardCompleteInfoViewProps } from '@authing/react-ui-components/components/CompleteInfo/
|
|
1118
|
+
import { GuardCompleteInfoViewProps } from '@authing/react-ui-components/components/CompleteInfo/interface';
|
|
1118
1119
|
import './styles.less';
|
|
1119
1120
|
export const GuardCompleteInfoView: React.FC<GuardCompleteInfoViewProps>;
|
|
1120
1121
|
|
|
1121
1122
|
}
|
|
1122
|
-
declare module '@authing/react-ui-components/components/CompleteInfo/
|
|
1123
|
+
declare module '@authing/react-ui-components/components/CompleteInfo/interface' {
|
|
1123
1124
|
import { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
|
|
1124
1125
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1125
1126
|
export interface CompleteInfoConfig extends IG2Config {
|
|
1126
1127
|
}
|
|
1127
|
-
export const
|
|
1128
|
+
export const getDefaultCompleteInfoConfig: () => CompleteInfoConfig;
|
|
1128
1129
|
export interface CompleteInfoEvents extends IG2Events {
|
|
1129
1130
|
onRegisterInfoCompleted?: (user: User, udfs: {
|
|
1130
1131
|
definition: any;
|
|
@@ -1142,26 +1143,6 @@ declare module '@authing/react-ui-components/components/CompleteInfo/props' {
|
|
|
1142
1143
|
config: CompleteInfoConfig;
|
|
1143
1144
|
}
|
|
1144
1145
|
|
|
1145
|
-
}
|
|
1146
|
-
declare module '@authing/react-ui-components/components/CompleteUserInfo/index' {
|
|
1147
|
-
import React from 'react';
|
|
1148
|
-
import { CompleteUserInfoProps } from '@authing/react-ui-components/components/CompleteUserInfo/props';
|
|
1149
|
-
export const GuardCompleteUserInfo: React.FC<CompleteUserInfoProps>;
|
|
1150
|
-
|
|
1151
|
-
}
|
|
1152
|
-
declare module '@authing/react-ui-components/components/CompleteUserInfo/props' {
|
|
1153
|
-
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1154
|
-
import { ExtendsField } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1155
|
-
export interface CompleteUserInfoConfig extends IG2Config {
|
|
1156
|
-
extendsFields?: ExtendsField[];
|
|
1157
|
-
}
|
|
1158
|
-
export const getDefaultCompleteUserInfoConfig: () => CompleteUserInfoConfig;
|
|
1159
|
-
export interface CompleteUserInfoEvents extends IG2Events {
|
|
1160
|
-
}
|
|
1161
|
-
export interface CompleteUserInfoProps extends IG2FCProps, CompleteUserInfoEvents {
|
|
1162
|
-
config?: CompleteUserInfoConfig;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
1146
|
}
|
|
1166
1147
|
declare module '@authing/react-ui-components/components/CopyAbleText/index' {
|
|
1167
1148
|
import React, { FC } from 'react';
|
|
@@ -1173,16 +1154,16 @@ declare module '@authing/react-ui-components/components/CopyAbleText/index' {
|
|
|
1173
1154
|
}
|
|
1174
1155
|
declare module '@authing/react-ui-components/components/DownloadAuthenticator/index' {
|
|
1175
1156
|
import React from 'react';
|
|
1176
|
-
import { GuardDownloadATViewProps } from '@authing/react-ui-components/components/DownloadAuthenticator/
|
|
1157
|
+
import { GuardDownloadATViewProps } from '@authing/react-ui-components/components/DownloadAuthenticator/interface';
|
|
1177
1158
|
import './styles.less';
|
|
1178
1159
|
export const GuardDownloadATView: React.FC<GuardDownloadATViewProps>;
|
|
1179
1160
|
|
|
1180
1161
|
}
|
|
1181
|
-
declare module '@authing/react-ui-components/components/DownloadAuthenticator/
|
|
1162
|
+
declare module '@authing/react-ui-components/components/DownloadAuthenticator/interface' {
|
|
1182
1163
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1183
1164
|
export interface DownloadATConfig extends IG2Config {
|
|
1184
1165
|
}
|
|
1185
|
-
export const
|
|
1166
|
+
export const getDefaultDownloadAuthenticatorConfig: () => DownloadATConfig;
|
|
1186
1167
|
export interface DownloadATEvents extends IG2Events {
|
|
1187
1168
|
}
|
|
1188
1169
|
export interface GuardDownloadATProps extends IG2FCProps, DownloadATEvents {
|
|
@@ -1192,30 +1173,73 @@ declare module '@authing/react-ui-components/components/DownloadAuthenticator/pr
|
|
|
1192
1173
|
config: DownloadATConfig;
|
|
1193
1174
|
}
|
|
1194
1175
|
|
|
1176
|
+
}
|
|
1177
|
+
declare module '@authing/react-ui-components/components/Error/index' {
|
|
1178
|
+
import React from 'react';
|
|
1179
|
+
import { GuardErrorViewProps } from '@authing/react-ui-components/components/Error/interface';
|
|
1180
|
+
import './styles.less';
|
|
1181
|
+
export const GuardErrorView: React.FC<GuardErrorViewProps>;
|
|
1182
|
+
|
|
1183
|
+
}
|
|
1184
|
+
declare module '@authing/react-ui-components/components/Error/interface' {
|
|
1185
|
+
export interface ErrorInitData {
|
|
1186
|
+
messages?: string;
|
|
1187
|
+
}
|
|
1188
|
+
export interface GuardErrorProps {
|
|
1189
|
+
initData?: ErrorInitData;
|
|
1190
|
+
}
|
|
1191
|
+
export interface GuardErrorViewProps extends GuardErrorProps {
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1195
1194
|
}
|
|
1196
1195
|
declare module '@authing/react-ui-components/components/ForgetPassword/core/resetPassword' {
|
|
1197
1196
|
/// <reference types="react" />
|
|
1198
1197
|
interface ResetPasswordProps {
|
|
1199
1198
|
onReset: any;
|
|
1200
1199
|
publicConfig: any;
|
|
1200
|
+
onSend: (type: 'email' | 'phone') => void;
|
|
1201
|
+
onSendError: (type: 'email' | 'phone', error: any) => void;
|
|
1201
1202
|
}
|
|
1202
1203
|
export const ResetPassword: (props: ResetPasswordProps) => JSX.Element;
|
|
1203
1204
|
export {};
|
|
1204
1205
|
|
|
1205
1206
|
}
|
|
1206
1207
|
declare module '@authing/react-ui-components/components/ForgetPassword/index' {
|
|
1207
|
-
|
|
1208
|
-
|
|
1208
|
+
import React from 'react';
|
|
1209
|
+
import { ForgetPasswordViewProps } from '@authing/react-ui-components/components/ForgetPassword/interface';
|
|
1210
|
+
export const GuardForgetPassword: React.FC<ForgetPasswordViewProps>;
|
|
1211
|
+
|
|
1212
|
+
}
|
|
1213
|
+
declare module '@authing/react-ui-components/components/ForgetPassword/interface' {
|
|
1214
|
+
import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
|
|
1215
|
+
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
|
|
1216
|
+
export interface ForgetPasswordEvents extends IG2Events {
|
|
1217
|
+
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
1218
|
+
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
1219
|
+
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
1220
|
+
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
1221
|
+
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
1222
|
+
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
1223
|
+
}
|
|
1224
|
+
export interface ForgetPasswordConfig extends IG2Config {
|
|
1225
|
+
}
|
|
1226
|
+
export interface ForgetPasswordProps extends IG2FCProps, ForgetPasswordEvents {
|
|
1227
|
+
config: Partial<IG2Config>;
|
|
1228
|
+
}
|
|
1229
|
+
export interface ForgetPasswordViewProps extends ForgetPasswordProps, IG2FCViewProps {
|
|
1230
|
+
config: IG2Config;
|
|
1231
|
+
}
|
|
1209
1232
|
|
|
1210
1233
|
}
|
|
1211
1234
|
declare module '@authing/react-ui-components/components/Guard/Guard' {
|
|
1212
1235
|
/// <reference types="react" />
|
|
1213
1236
|
import { GuardEvents } from '@authing/react-ui-components/components/Guard/event';
|
|
1214
|
-
import { GuardConfig } from '@authing/react-ui-components/components/_utils/config';
|
|
1215
1237
|
import { IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1238
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1216
1239
|
import './styles.less';
|
|
1217
1240
|
export interface GuardProps extends GuardEvents, IG2FCProps {
|
|
1218
|
-
|
|
1241
|
+
tenantId?: string;
|
|
1242
|
+
config?: Partial<GuardLocalConfig>;
|
|
1219
1243
|
visible?: boolean;
|
|
1220
1244
|
}
|
|
1221
1245
|
export const Guard: (props: GuardProps) => JSX.Element;
|
|
@@ -1223,39 +1247,38 @@ declare module '@authing/react-ui-components/components/Guard/Guard' {
|
|
|
1223
1247
|
}
|
|
1224
1248
|
declare module '@authing/react-ui-components/components/Guard/authClient' {
|
|
1225
1249
|
import { AuthenticationClient } from 'authing-js-sdk';
|
|
1226
|
-
import {
|
|
1227
|
-
export const initAuthClient: (config:
|
|
1250
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1251
|
+
export const initAuthClient: (config: GuardLocalConfig, appId: string, tenantId?: string | undefined) => AuthenticationClient;
|
|
1228
1252
|
export const getAuthClient: () => AuthenticationClient;
|
|
1229
1253
|
export const useAuthClient: () => AuthenticationClient;
|
|
1230
1254
|
|
|
1231
1255
|
}
|
|
1232
1256
|
declare module '@authing/react-ui-components/components/Guard/config' {
|
|
1233
|
-
import { LoginConfig } from '@authing/react-ui-components/components/Login/
|
|
1234
|
-
import { RegisterConfig } from '@authing/react-ui-components/components/Register/
|
|
1235
|
-
export interface GuardComponentConifg extends Partial<
|
|
1257
|
+
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
1258
|
+
import { RegisterConfig } from '@authing/react-ui-components/components/Register/interface';
|
|
1259
|
+
export interface GuardComponentConifg extends Partial<GuardLocalConfig> {
|
|
1236
1260
|
}
|
|
1237
|
-
export interface
|
|
1261
|
+
export interface GuardLocalConfig extends RegisterConfig, LoginConfig {
|
|
1238
1262
|
}
|
|
1239
|
-
export const
|
|
1263
|
+
export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
|
|
1240
1264
|
|
|
1241
1265
|
}
|
|
1242
1266
|
declare module '@authing/react-ui-components/components/Guard/event' {
|
|
1243
|
-
import { CompleteInfoEvents } from '@authing/react-ui-components/components/CompleteInfo/
|
|
1244
|
-
import {
|
|
1245
|
-
import {
|
|
1246
|
-
|
|
1267
|
+
import { CompleteInfoEvents } from '@authing/react-ui-components/components/CompleteInfo/interface';
|
|
1268
|
+
import { ForgetPasswordEvents } from '@authing/react-ui-components/components/ForgetPassword/interface';
|
|
1269
|
+
import { LoginEvents } from '@authing/react-ui-components/components/Login/interface';
|
|
1270
|
+
import { RegisterEvents } from '@authing/react-ui-components/components/Register/interface';
|
|
1271
|
+
export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents {
|
|
1247
1272
|
}
|
|
1248
1273
|
export const guardEventsFilter: (props: any) => GuardEvents;
|
|
1274
|
+
export const guardEventsHijacking: (events: GuardEvents) => GuardEvents;
|
|
1249
1275
|
|
|
1250
1276
|
}
|
|
1251
1277
|
declare module '@authing/react-ui-components/components/Guard/index' {
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
export type { GuardProps, GuardModuleType, GuardComponentConifg, GuardEvents };
|
|
1257
|
-
export { Guard };
|
|
1258
|
-
export default Guard;
|
|
1278
|
+
export * from '@authing/react-ui-components/components/Guard/Guard';
|
|
1279
|
+
export * from '@authing/react-ui-components/components/Guard/module';
|
|
1280
|
+
export * from '@authing/react-ui-components/components/Guard/event';
|
|
1281
|
+
export * from '@authing/react-ui-components/components/Guard/config';
|
|
1259
1282
|
|
|
1260
1283
|
}
|
|
1261
1284
|
declare module '@authing/react-ui-components/components/Guard/module' {
|
|
@@ -1270,7 +1293,8 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1270
1293
|
BIND_TOTP = "bindTotp",
|
|
1271
1294
|
ANY_QUESTIONS = "anyQuestions",
|
|
1272
1295
|
COMPLETE_INFO = "completeInfo",
|
|
1273
|
-
RECOVERY_CODE = "recoveryCode"
|
|
1296
|
+
RECOVERY_CODE = "recoveryCode",
|
|
1297
|
+
SUBMIT_SUCCESS = "submitSuccess"
|
|
1274
1298
|
}
|
|
1275
1299
|
export interface GuardModuleAction {
|
|
1276
1300
|
action: string;
|
|
@@ -1281,7 +1305,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1281
1305
|
|
|
1282
1306
|
}
|
|
1283
1307
|
declare module '@authing/react-ui-components/components/Guard/stateMachine' {
|
|
1284
|
-
import {
|
|
1308
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1285
1309
|
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
|
|
1286
1310
|
export interface ModuleState {
|
|
1287
1311
|
moduleName: GuardModuleType;
|
|
@@ -1311,9 +1335,12 @@ declare module '@authing/react-ui-components/components/Guard/stateMachine' {
|
|
|
1311
1335
|
end: () => void;
|
|
1312
1336
|
historyPush: (data: ModuleState, actionType?: ActionType) => void;
|
|
1313
1337
|
historyBack: (data: ModuleState) => void;
|
|
1314
|
-
setConfig: (config:
|
|
1338
|
+
setConfig: (config: GuardLocalConfig) => void;
|
|
1315
1339
|
}
|
|
1316
1340
|
export const useHistoryHijack: (back?: (() => void) | undefined) => ((state?: any) => void)[];
|
|
1341
|
+
export const initGuardStateMachine: (changeMouleEvent: ChangeModuleEvent, initData: ModuleState) => GuardStateMachine;
|
|
1342
|
+
export const getGuardStateMachine: () => GuardStateMachine;
|
|
1343
|
+
export const useGuardStateMachine: () => GuardStateMachine;
|
|
1317
1344
|
|
|
1318
1345
|
}
|
|
1319
1346
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
@@ -1336,9 +1363,9 @@ declare module '@authing/react-ui-components/components/IconFont/svg' {
|
|
|
1336
1363
|
|
|
1337
1364
|
}
|
|
1338
1365
|
declare module '@authing/react-ui-components/components/ImagePro/index' {
|
|
1339
|
-
|
|
1366
|
+
import React from 'react';
|
|
1340
1367
|
import './styles.less';
|
|
1341
|
-
export interface ImageProProps {
|
|
1368
|
+
export interface ImageProProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
1342
1369
|
src: string;
|
|
1343
1370
|
className?: string;
|
|
1344
1371
|
alt?: string;
|
|
@@ -1398,14 +1425,46 @@ declare module '@authing/react-ui-components/components/Login/core/withLDAP' {
|
|
|
1398
1425
|
export {};
|
|
1399
1426
|
|
|
1400
1427
|
}
|
|
1401
|
-
declare module '@authing/react-ui-components/components/Login/core/withPassword' {
|
|
1428
|
+
declare module '@authing/react-ui-components/components/Login/core/withPassword/FormItemAccount' {
|
|
1429
|
+
import { FormItemProps } from 'antd/lib/form';
|
|
1430
|
+
import React from 'react';
|
|
1431
|
+
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1432
|
+
export interface FormItemAccountProps extends FormItemProps {
|
|
1433
|
+
passwordLoginMethods: PasswordLoginMethods[];
|
|
1434
|
+
}
|
|
1435
|
+
export const FormItemAccount: React.FC<FormItemAccountProps>;
|
|
1436
|
+
|
|
1437
|
+
}
|
|
1438
|
+
declare module '@authing/react-ui-components/components/Login/core/withPassword/GraphicVerifyCode' {
|
|
1439
|
+
import { InputProps } from 'antd/lib/input';
|
|
1440
|
+
import React from 'react';
|
|
1441
|
+
export interface GraphicVerifyCodeProps extends InputProps {
|
|
1442
|
+
verifyCodeUrl: string;
|
|
1443
|
+
changeCode: () => void;
|
|
1444
|
+
}
|
|
1445
|
+
export const GraphicVerifyCode: React.FC<GraphicVerifyCodeProps>;
|
|
1446
|
+
|
|
1447
|
+
}
|
|
1448
|
+
declare module '@authing/react-ui-components/components/Login/core/withPassword/InputAccount' {
|
|
1449
|
+
import { InputProps } from 'antd/lib/input';
|
|
1450
|
+
import React from 'react';
|
|
1451
|
+
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1452
|
+
export interface InputAccountProps extends InputProps {
|
|
1453
|
+
passwordLoginMethods: PasswordLoginMethods[];
|
|
1454
|
+
}
|
|
1455
|
+
export const InputAccount: React.FC<InputAccountProps>;
|
|
1456
|
+
|
|
1457
|
+
}
|
|
1458
|
+
declare module '@authing/react-ui-components/components/Login/core/withPassword/index' {
|
|
1402
1459
|
/// <reference types="react" />
|
|
1460
|
+
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1403
1461
|
interface LoginWithPasswordProps {
|
|
1404
1462
|
publicKey: string;
|
|
1405
1463
|
autoRegister?: boolean;
|
|
1406
1464
|
host?: string;
|
|
1407
1465
|
onLogin: any;
|
|
1408
1466
|
onBeforeLogin: any;
|
|
1467
|
+
passwordLoginMethods: PasswordLoginMethods[];
|
|
1409
1468
|
}
|
|
1410
1469
|
export const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
|
|
1411
1470
|
export {};
|
|
@@ -1440,14 +1499,14 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatmpQ
|
|
|
1440
1499
|
}
|
|
1441
1500
|
declare module '@authing/react-ui-components/components/Login/index' {
|
|
1442
1501
|
/// <reference types="react" />
|
|
1443
|
-
import { GuardLoginViewProps } from '@authing/react-ui-components/components/Login/
|
|
1502
|
+
import { GuardLoginViewProps } from '@authing/react-ui-components/components/Login/interface';
|
|
1444
1503
|
import './styles.less';
|
|
1445
1504
|
export const GuardLoginView: (props: GuardLoginViewProps) => JSX.Element;
|
|
1446
1505
|
|
|
1447
1506
|
}
|
|
1448
|
-
declare module '@authing/react-ui-components/components/Login/
|
|
1507
|
+
declare module '@authing/react-ui-components/components/Login/interface' {
|
|
1449
1508
|
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
|
|
1450
|
-
import {
|
|
1509
|
+
import { SocialConnectionProvider } from 'authing-js-sdk';
|
|
1451
1510
|
import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
|
|
1452
1511
|
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1453
1512
|
import { PasswordLoginParams, LDAPLoginParams, ADLoginParams, PhoneCodeLoginParams, AuthenticationClient, LoginMethods, User } from '@authing/react-ui-components/components/index';
|
|
@@ -1466,15 +1525,9 @@ declare module '@authing/react-ui-components/components/Login/props' {
|
|
|
1466
1525
|
}
|
|
1467
1526
|
export interface LoginEvents extends IG2Events {
|
|
1468
1527
|
onLogin?: (user: User, authClient: AuthenticationClient) => void;
|
|
1469
|
-
onLoginError?: (
|
|
1528
|
+
onLoginError?: (errorMessages: any) => void;
|
|
1470
1529
|
onLoginTabChange?: (activeTab: LoginMethods) => void;
|
|
1471
1530
|
onBeforeLogin?: (loginInfo: PasswordLoginParams | LDAPLoginParams | ADLoginParams | PhoneCodeLoginParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
|
|
1472
|
-
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
1473
|
-
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
1474
|
-
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
1475
|
-
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
1476
|
-
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
1477
|
-
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
1478
1531
|
}
|
|
1479
1532
|
export interface GuardLoginProps extends IG2FCProps, LoginEvents {
|
|
1480
1533
|
config?: Partial<LoginConfig>;
|
|
@@ -1487,7 +1540,7 @@ declare module '@authing/react-ui-components/components/Login/props' {
|
|
|
1487
1540
|
}
|
|
1488
1541
|
declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
|
|
1489
1542
|
import React from 'react';
|
|
1490
|
-
import { LoginConfig } from '@authing/react-ui-components/components/Login/
|
|
1543
|
+
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
1491
1544
|
import './style.less';
|
|
1492
1545
|
export interface SocialLoginProps {
|
|
1493
1546
|
appId: string;
|
|
@@ -1496,6 +1549,32 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/index'
|
|
|
1496
1549
|
}
|
|
1497
1550
|
export const SocialLogin: React.FC<SocialLoginProps>;
|
|
1498
1551
|
|
|
1552
|
+
}
|
|
1553
|
+
declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/VerifyCodeFormItem' {
|
|
1554
|
+
import { FormItemProps } from 'antd/lib/form';
|
|
1555
|
+
import React from 'react';
|
|
1556
|
+
export interface VerifyCodeFormItemProps extends FormItemProps {
|
|
1557
|
+
codeLength: number;
|
|
1558
|
+
ruleKeyword?: string;
|
|
1559
|
+
}
|
|
1560
|
+
export const VerifyCodeFormItem: React.FC<VerifyCodeFormItemProps>;
|
|
1561
|
+
|
|
1562
|
+
}
|
|
1563
|
+
declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/index' {
|
|
1564
|
+
import React, { FC } from 'react';
|
|
1565
|
+
import './style.less';
|
|
1566
|
+
interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1567
|
+
length?: number;
|
|
1568
|
+
size?: string;
|
|
1569
|
+
gutter?: string;
|
|
1570
|
+
onEenter?: Function;
|
|
1571
|
+
showDivider?: boolean;
|
|
1572
|
+
onChange?: any;
|
|
1573
|
+
value?: Array<number | string>;
|
|
1574
|
+
}
|
|
1575
|
+
export const VerifyCodeInput: FC<VerifyCodeInputProps>;
|
|
1576
|
+
export {};
|
|
1577
|
+
|
|
1499
1578
|
}
|
|
1500
1579
|
declare module '@authing/react-ui-components/components/MFA/codemap' {
|
|
1501
1580
|
import { GuardModuleAction } from '@authing/react-ui-components/components/Guard/module';
|
|
@@ -1504,9 +1583,11 @@ declare module '@authing/react-ui-components/components/MFA/codemap' {
|
|
|
1504
1583
|
}
|
|
1505
1584
|
declare module '@authing/react-ui-components/components/MFA/core/email' {
|
|
1506
1585
|
import React from 'react';
|
|
1586
|
+
import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
|
|
1507
1587
|
interface BindMFAEmailProps {
|
|
1508
1588
|
mfaToken: string;
|
|
1509
1589
|
onBind: (email: string) => void;
|
|
1590
|
+
config: any;
|
|
1510
1591
|
}
|
|
1511
1592
|
export const BindMFAEmail: React.FC<BindMFAEmailProps>;
|
|
1512
1593
|
interface VerifyMFAEmailProps {
|
|
@@ -1514,12 +1595,14 @@ declare module '@authing/react-ui-components/components/MFA/core/email' {
|
|
|
1514
1595
|
mfaToken: string;
|
|
1515
1596
|
onVerify: (code: number, data: any) => void;
|
|
1516
1597
|
sendCodeRef: React.RefObject<HTMLButtonElement>;
|
|
1598
|
+
codeLength: number;
|
|
1517
1599
|
}
|
|
1518
1600
|
export const VerifyMFAEmail: React.FC<VerifyMFAEmailProps>;
|
|
1519
1601
|
export const MFAEmail: React.FC<{
|
|
1520
1602
|
mfaToken: string;
|
|
1521
1603
|
email?: string;
|
|
1522
1604
|
mfaLogin: any;
|
|
1605
|
+
config: MFAConfig;
|
|
1523
1606
|
}>;
|
|
1524
1607
|
export {};
|
|
1525
1608
|
|
|
@@ -1546,9 +1629,11 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
|
|
|
1546
1629
|
}
|
|
1547
1630
|
declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
1548
1631
|
import React from 'react';
|
|
1632
|
+
import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
|
|
1549
1633
|
export interface BindMFASmsProps {
|
|
1550
1634
|
mfaToken: string;
|
|
1551
1635
|
onBind: (phone: string) => void;
|
|
1636
|
+
config: any;
|
|
1552
1637
|
}
|
|
1553
1638
|
export const BindMFASms: React.FC<BindMFASmsProps>;
|
|
1554
1639
|
export interface VerifyMFASmsProps {
|
|
@@ -1556,18 +1641,20 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
|
|
|
1556
1641
|
phone: string;
|
|
1557
1642
|
onVerify: (code: number, data: any) => void;
|
|
1558
1643
|
sendCodeRef: React.RefObject<HTMLButtonElement>;
|
|
1644
|
+
codeLength: number;
|
|
1559
1645
|
}
|
|
1560
1646
|
export const VerifyMFASms: React.FC<VerifyMFASmsProps>;
|
|
1561
1647
|
export const MFASms: React.FC<{
|
|
1562
1648
|
mfaToken: string;
|
|
1563
1649
|
phone?: string;
|
|
1564
1650
|
mfaLogin: any;
|
|
1651
|
+
config: MFAConfig;
|
|
1565
1652
|
}>;
|
|
1566
1653
|
|
|
1567
1654
|
}
|
|
1568
1655
|
declare module '@authing/react-ui-components/components/MFA/core/totp' {
|
|
1569
1656
|
import React from 'react';
|
|
1570
|
-
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/
|
|
1657
|
+
import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
|
|
1571
1658
|
export interface BindMFATotpProps {
|
|
1572
1659
|
initData: GuardMFAInitData;
|
|
1573
1660
|
changeModule: any;
|
|
@@ -1589,24 +1676,12 @@ declare module '@authing/react-ui-components/components/MFA/core/totp' {
|
|
|
1589
1676
|
}
|
|
1590
1677
|
declare module '@authing/react-ui-components/components/MFA/index' {
|
|
1591
1678
|
import React from 'react';
|
|
1592
|
-
import { GuardMFAViewProps } from '@authing/react-ui-components/components/MFA/
|
|
1679
|
+
import { GuardMFAViewProps } from '@authing/react-ui-components/components/MFA/interface';
|
|
1593
1680
|
import './styles.less';
|
|
1594
1681
|
export const GuardMFAView: React.FC<GuardMFAViewProps>;
|
|
1595
1682
|
|
|
1596
1683
|
}
|
|
1597
|
-
declare module '@authing/react-ui-components/components/MFA/
|
|
1598
|
-
import React from 'react';
|
|
1599
|
-
import { GuardMFAInitData, MFAType } from '@authing/react-ui-components/components/MFA/props';
|
|
1600
|
-
import './style.less';
|
|
1601
|
-
export interface MFAMethodsProps {
|
|
1602
|
-
applicationMfa: GuardMFAInitData['applicationMfa'];
|
|
1603
|
-
method: MFAType;
|
|
1604
|
-
onChangeMethod: (type: MFAType) => void;
|
|
1605
|
-
}
|
|
1606
|
-
export const MFAMethods: React.FC<MFAMethodsProps>;
|
|
1607
|
-
|
|
1608
|
-
}
|
|
1609
|
-
declare module '@authing/react-ui-components/components/MFA/props' {
|
|
1684
|
+
declare module '@authing/react-ui-components/components/MFA/interface' {
|
|
1610
1685
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1611
1686
|
import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
|
|
1612
1687
|
export interface MFAConfig extends IG2Config {
|
|
@@ -1646,6 +1721,18 @@ declare module '@authing/react-ui-components/components/MFA/props' {
|
|
|
1646
1721
|
initData: GuardMFAInitData;
|
|
1647
1722
|
}
|
|
1648
1723
|
|
|
1724
|
+
}
|
|
1725
|
+
declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
|
|
1726
|
+
import React from 'react';
|
|
1727
|
+
import { GuardMFAInitData, MFAType } from '@authing/react-ui-components/components/MFA/interface';
|
|
1728
|
+
import './style.less';
|
|
1729
|
+
export interface MFAMethodsProps {
|
|
1730
|
+
applicationMfa: GuardMFAInitData['applicationMfa'];
|
|
1731
|
+
method: MFAType;
|
|
1732
|
+
onChangeMethod: (type: MFAType) => void;
|
|
1733
|
+
}
|
|
1734
|
+
export const MFAMethods: React.FC<MFAMethodsProps>;
|
|
1735
|
+
|
|
1649
1736
|
}
|
|
1650
1737
|
declare module '@authing/react-ui-components/components/NeedHelpView/core/describeQuestions' {
|
|
1651
1738
|
/// <reference types="react" />
|
|
@@ -1744,11 +1831,11 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
|
|
|
1744
1831
|
}
|
|
1745
1832
|
declare module '@authing/react-ui-components/components/Register/index' {
|
|
1746
1833
|
import React from 'react';
|
|
1747
|
-
import { GuardRegisterViewProps } from '@authing/react-ui-components/components/Register/
|
|
1834
|
+
import { GuardRegisterViewProps } from '@authing/react-ui-components/components/Register/interface';
|
|
1748
1835
|
export const GuardRegisterView: React.FC<GuardRegisterViewProps>;
|
|
1749
1836
|
|
|
1750
1837
|
}
|
|
1751
|
-
declare module '@authing/react-ui-components/components/Register/
|
|
1838
|
+
declare module '@authing/react-ui-components/components/Register/interface' {
|
|
1752
1839
|
import { RegisterMethods } from 'authing-js-sdk';
|
|
1753
1840
|
import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
|
|
1754
1841
|
import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
|
|
@@ -1820,20 +1907,35 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
|
1820
1907
|
const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
|
|
1821
1908
|
export default _default;
|
|
1822
1909
|
|
|
1910
|
+
}
|
|
1911
|
+
declare module '@authing/react-ui-components/components/SubmitSuccess/index' {
|
|
1912
|
+
import React from 'react';
|
|
1913
|
+
import { GuardSubmitSuccessViewProps } from '@authing/react-ui-components/components/SubmitSuccess/interface';
|
|
1914
|
+
export const GuardSubmitSuccessView: React.FC<GuardSubmitSuccessViewProps>;
|
|
1915
|
+
|
|
1916
|
+
}
|
|
1917
|
+
declare module '@authing/react-ui-components/components/SubmitSuccess/interface' {
|
|
1918
|
+
import { IG2Config, IG2Events, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
|
|
1919
|
+
export interface SubmitSuccessEvents extends IG2Events {
|
|
1920
|
+
}
|
|
1921
|
+
export interface SubmitSuccessConfig extends IG2Config {
|
|
1922
|
+
}
|
|
1923
|
+
export interface SubmitSuccessInitData {
|
|
1924
|
+
title?: string;
|
|
1925
|
+
message?: string;
|
|
1926
|
+
}
|
|
1927
|
+
export interface GuardSubmitSuccessViewProps extends IG2FCViewProps, SubmitSuccessEvents {
|
|
1928
|
+
config: SubmitSuccessConfig;
|
|
1929
|
+
initData?: SubmitSuccessInitData;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1823
1932
|
}
|
|
1824
1933
|
declare module '@authing/react-ui-components/components/Type/index' {
|
|
1825
1934
|
import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
|
|
1826
1935
|
import { Lang } from 'authing-js-sdk/build/main/types';
|
|
1936
|
+
import { GuardMode } from '@authing/react-ui-components/components/index';
|
|
1827
1937
|
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1828
1938
|
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
|
|
1829
|
-
export enum GuardMode {
|
|
1830
|
-
Modal = "modal",
|
|
1831
|
-
Normal = "normal"
|
|
1832
|
-
}
|
|
1833
|
-
export enum GuardScenes {
|
|
1834
|
-
Login = "login",
|
|
1835
|
-
Register = "register"
|
|
1836
|
-
}
|
|
1837
1939
|
export interface IG2FCProps extends IG2Events {
|
|
1838
1940
|
appId: string;
|
|
1839
1941
|
config?: Partial<IG2Config>;
|
|
@@ -1861,10 +1963,36 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
1861
1963
|
onLoadError?: (error: CommonMessage) => void;
|
|
1862
1964
|
onClose?: () => void;
|
|
1863
1965
|
onLangChange?: (lang: Lang) => void;
|
|
1864
|
-
__changeModule?: (moduleName: GuardModuleType, initData
|
|
1966
|
+
__changeModule?: (moduleName: GuardModuleType, initData?: any) => void;
|
|
1865
1967
|
}
|
|
1866
1968
|
export const getDefaultG2Config: () => IG2Config;
|
|
1867
1969
|
|
|
1970
|
+
}
|
|
1971
|
+
declare module '@authing/react-ui-components/components/ValidatorRules/ValidatorFormItem' {
|
|
1972
|
+
import React from 'react';
|
|
1973
|
+
import { ICheckProps, ValidatorFormItemProps } from '@authing/react-ui-components/components/ValidatorRules/index';
|
|
1974
|
+
export const EmailFormItem: React.ForwardRefExoticComponent<ValidatorFormItemProps & React.RefAttributes<ICheckProps>>;
|
|
1975
|
+
export const PhoneFormItem: React.ForwardRefExoticComponent<ValidatorFormItemProps & React.RefAttributes<ICheckProps>>;
|
|
1976
|
+
|
|
1977
|
+
}
|
|
1978
|
+
declare module '@authing/react-ui-components/components/ValidatorRules/index' {
|
|
1979
|
+
import { FormInstance, FormItemProps } from 'antd/lib/form';
|
|
1980
|
+
export interface ValidatorFormItemProps extends FormItemProps {
|
|
1981
|
+
userPoolId?: string;
|
|
1982
|
+
form?: FormInstance;
|
|
1983
|
+
checkRepeat?: boolean;
|
|
1984
|
+
}
|
|
1985
|
+
export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
|
|
1986
|
+
userPoolId?: string;
|
|
1987
|
+
form?: FormInstance;
|
|
1988
|
+
checkRepeat?: boolean;
|
|
1989
|
+
method: 'email' | 'phone';
|
|
1990
|
+
}
|
|
1991
|
+
export interface ICheckProps {
|
|
1992
|
+
check: (values: any) => void;
|
|
1993
|
+
}
|
|
1994
|
+
export { EmailFormItem, PhoneFormItem } from '@authing/react-ui-components/components/ValidatorRules/ValidatorFormItem';
|
|
1995
|
+
|
|
1868
1996
|
}
|
|
1869
1997
|
declare module '@authing/react-ui-components/components/VerifyCodeInput/index' {
|
|
1870
1998
|
import React, { FC } from 'react';
|
|
@@ -1886,7 +2014,8 @@ declare module '@authing/react-ui-components/components/_utils/GuardErrorCode' {
|
|
|
1886
2014
|
INPUT_CAPTCHACODE = 2000,
|
|
1887
2015
|
USER_EXISTENCE = 2026,
|
|
1888
2016
|
LOGIN_INVALID = 2021,
|
|
1889
|
-
PASSWORD_ERROR = 2333
|
|
2017
|
+
PASSWORD_ERROR = 2333,
|
|
2018
|
+
USER_NOT_EXIST = 2004
|
|
1890
2019
|
}
|
|
1891
2020
|
|
|
1892
2021
|
}
|
|
@@ -1897,12 +2026,9 @@ declare module '@authing/react-ui-components/components/_utils/clipboard' {
|
|
|
1897
2026
|
declare module '@authing/react-ui-components/components/_utils/config' {
|
|
1898
2027
|
import { IG2Config } from '@authing/react-ui-components/components/Type/index';
|
|
1899
2028
|
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1900
|
-
import {
|
|
1901
|
-
import { RegisterConfig } from '@authing/react-ui-components/components/Register/props';
|
|
1902
|
-
export interface GuardConfig extends RegisterConfig, LoginConfig {
|
|
1903
|
-
}
|
|
2029
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1904
2030
|
export const initConfig: (appId: string, config: Partial<IG2Config>, defaultConfig: IG2Config) => Promise<{
|
|
1905
|
-
config:
|
|
2031
|
+
config: GuardLocalConfig;
|
|
1906
2032
|
publicConfig: ApplicationConfig;
|
|
1907
2033
|
}>;
|
|
1908
2034
|
|
|
@@ -1915,6 +2041,8 @@ declare module '@authing/react-ui-components/components/_utils/guradHttp' {
|
|
|
1915
2041
|
private getRequestClient;
|
|
1916
2042
|
setUserpoolId(userpoolId: string): void;
|
|
1917
2043
|
setAppId(appId: string): void;
|
|
2044
|
+
setTenantId(tenantId: string): void;
|
|
2045
|
+
setBaseUrl(baseUrl: string): void;
|
|
1918
2046
|
getHeaders: () => Record<string, string>;
|
|
1919
2047
|
get: <T>(path: string, query?: Record<string, any>, config?: RequestInit | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<T>>;
|
|
1920
2048
|
post: <T>(path: string, data: any, config?: {
|
|
@@ -1933,7 +2061,7 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
1933
2061
|
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
|
|
1934
2062
|
export const useChangeModule: () => (nextModuleType: GuardModuleType, nextData?: any) => void;
|
|
1935
2063
|
export const useAppId: (appId?: string | undefined) => string;
|
|
1936
|
-
export const useDebounce: (fn: any, delay: number) => (...args: any[]) =>
|
|
2064
|
+
export const useDebounce: (fn: any, delay: number) => (...args: any[]) => void;
|
|
1937
2065
|
|
|
1938
2066
|
}
|
|
1939
2067
|
declare module '@authing/react-ui-components/components/_utils/http' {
|
|
@@ -1974,7 +2102,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
1974
2102
|
export const fieldRequiredRule: (fieldRequiredRule: string) => Rule[];
|
|
1975
2103
|
export function getDeviceName(): string | null;
|
|
1976
2104
|
export type STYLE_RECORD_KEY = 'appConfig' | 'userConfig';
|
|
1977
|
-
export const insertStyles: (styles: string | any, recordKey?: "
|
|
2105
|
+
export const insertStyles: (styles: string | any, recordKey?: "userConfig" | "appConfig" | undefined) => void;
|
|
1978
2106
|
export const removeStyles: (recordKey: STYLE_RECORD_KEY) => void;
|
|
1979
2107
|
export const useTitle: (title: string, prefix?: string | undefined) => void;
|
|
1980
2108
|
export const getClassnames: (classnames: (string | boolean | undefined)[]) => string;
|
|
@@ -2011,6 +2139,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
2011
2139
|
}>;
|
|
2012
2140
|
export const getSymbolTypeLength: (pwd: string) => number;
|
|
2013
2141
|
export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any) => Rule[];
|
|
2142
|
+
export const sleep: (delay: number) => Promise<unknown>;
|
|
2014
2143
|
|
|
2015
2144
|
}
|
|
2016
2145
|
declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
|
|
@@ -2124,13 +2253,397 @@ declare module '@authing/react-ui-components/components/context/module/context'
|
|
|
2124
2253
|
|
|
2125
2254
|
}
|
|
2126
2255
|
declare module '@authing/react-ui-components/components/index' {
|
|
2127
|
-
|
|
2256
|
+
export * from '@authing/react-ui-components/components/_utils/config';
|
|
2257
|
+
export type { AuthenticationClientOptions } from 'authing-js-sdk';
|
|
2128
2258
|
export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
|
|
2129
2259
|
export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
|
|
2130
|
-
export
|
|
2131
|
-
export
|
|
2132
|
-
export
|
|
2133
|
-
export
|
|
2260
|
+
export * from '@authing/react-ui-components/components/AuthingGuard/index';
|
|
2261
|
+
export * from '@authing/react-ui-components/components/Guard/index';
|
|
2262
|
+
export * from '@authing/react-ui-components/components/Type/index';
|
|
2263
|
+
export * from '@authing/react-ui-components/components/version/index';
|
|
2264
|
+
|
|
2265
|
+
}
|
|
2266
|
+
declare module '@authing/react-ui-components/components/version/index' {
|
|
2267
|
+
import version from '@authing/react-ui-components/components/version/version';
|
|
2268
|
+
export default version;
|
|
2269
|
+
|
|
2270
|
+
}
|
|
2271
|
+
declare module '@authing/react-ui-components/components/version/version' {
|
|
2272
|
+
const _default: "3.0.2-beta.11";
|
|
2273
|
+
export default _default;
|
|
2274
|
+
|
|
2275
|
+
}
|
|
2276
|
+
declare module '@authing/react-ui-components/config/antdReplacer' {
|
|
2277
|
+
export function antdScopeReplacerFn(node: any): void;
|
|
2278
|
+
|
|
2279
|
+
}
|
|
2280
|
+
declare module '@authing/react-ui-components/config/env' {
|
|
2281
|
+
export = getClientEnvironment;
|
|
2282
|
+
function getClientEnvironment(publicUrl: any): {
|
|
2283
|
+
raw: {
|
|
2284
|
+
NODE_ENV: "development" | "production" | "test";
|
|
2285
|
+
PUBLIC_URL: any;
|
|
2286
|
+
WDS_SOCKET_HOST: string | undefined;
|
|
2287
|
+
WDS_SOCKET_PATH: string | undefined;
|
|
2288
|
+
WDS_SOCKET_PORT: string | undefined;
|
|
2289
|
+
FAST_REFRESH: boolean;
|
|
2290
|
+
};
|
|
2291
|
+
stringified: {
|
|
2292
|
+
'process.env': {};
|
|
2293
|
+
};
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
}
|
|
2297
|
+
declare module '@authing/react-ui-components/config/getHttpsConfig' {
|
|
2298
|
+
export = getHttpsConfig;
|
|
2299
|
+
function getHttpsConfig(): boolean | {
|
|
2300
|
+
cert: Buffer;
|
|
2301
|
+
key: Buffer;
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2304
|
+
}
|
|
2305
|
+
declare module '@authing/react-ui-components/config/jest/cssTransform' {
|
|
2306
|
+
export function process(): string;
|
|
2307
|
+
export function process(): string;
|
|
2308
|
+
export function getCacheKey(): string;
|
|
2309
|
+
export function getCacheKey(): string;
|
|
2310
|
+
|
|
2311
|
+
}
|
|
2312
|
+
declare module '@authing/react-ui-components/config/jest/fileTransform' {
|
|
2313
|
+
export function process(src: any, filename: any): string;
|
|
2314
|
+
export function process(src: any, filename: any): string;
|
|
2315
|
+
|
|
2316
|
+
}
|
|
2317
|
+
declare module '@authing/react-ui-components/config/modules' {
|
|
2318
|
+
export const additionalModulePaths: string[] | "" | null;
|
|
2319
|
+
export const hasTsConfig: boolean;
|
|
2320
|
+
export const webpackAliases: {
|
|
2321
|
+
src?: undefined;
|
|
2322
|
+
} | {
|
|
2323
|
+
src: string;
|
|
2324
|
+
} | undefined;
|
|
2325
|
+
export const jestAliases: {
|
|
2326
|
+
'^src/(.*)$'?: undefined;
|
|
2327
|
+
} | {
|
|
2328
|
+
'^src/(.*)$': string;
|
|
2329
|
+
} | undefined;
|
|
2330
|
+
|
|
2331
|
+
}
|
|
2332
|
+
declare module '@authing/react-ui-components/config/paths' {
|
|
2333
|
+
export const publicUrlOrPath: any;
|
|
2334
|
+
export const moduleFileExtensions: string[];
|
|
2335
|
+
export const dotenv: string;
|
|
2336
|
+
export const appPath: string;
|
|
2337
|
+
export const appBuild: string;
|
|
2338
|
+
export const appPublic: string;
|
|
2339
|
+
export const appHtml: string;
|
|
2340
|
+
export const appIndexJs: any;
|
|
2341
|
+
export const appPackageJson: string;
|
|
2342
|
+
export const appSrc: string;
|
|
2343
|
+
export const appTsConfig: string;
|
|
2344
|
+
export const appJsConfig: string;
|
|
2345
|
+
export const yarnLockFile: string;
|
|
2346
|
+
export const testsSetup: any;
|
|
2347
|
+
export const proxySetup: string;
|
|
2348
|
+
export const appNodeModules: string;
|
|
2349
|
+
export const swSrc: any;
|
|
2350
|
+
export const componentsIndexJs: string;
|
|
2351
|
+
export const libBuild: string;
|
|
2352
|
+
|
|
2353
|
+
}
|
|
2354
|
+
declare module '@authing/react-ui-components/config/pnpTs' {
|
|
2355
|
+
export function resolveModuleName(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
|
|
2356
|
+
export function resolveTypeReferenceDirective(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
|
|
2357
|
+
|
|
2358
|
+
}
|
|
2359
|
+
declare module '@authing/react-ui-components/config/webpack.config' {
|
|
2360
|
+
function _exports(webpackEnv: any): {
|
|
2361
|
+
mode: string | false;
|
|
2362
|
+
bail: boolean;
|
|
2363
|
+
devtool: string | boolean;
|
|
2364
|
+
externals: string[] | undefined;
|
|
2365
|
+
entry: any;
|
|
2366
|
+
output: {
|
|
2367
|
+
library: string | undefined;
|
|
2368
|
+
libraryTarget: string | undefined;
|
|
2369
|
+
path: string | undefined;
|
|
2370
|
+
pathinfo: boolean;
|
|
2371
|
+
filename: (chunkData: any) => false | "index.min.js" | "static/js/[name].[contenthash:8].js" | "static/js/bundle.js";
|
|
2372
|
+
futureEmitAssets: boolean;
|
|
2373
|
+
chunkFilename: string | false | undefined;
|
|
2374
|
+
publicPath: any;
|
|
2375
|
+
devtoolModuleFilenameTemplate: false | ((info: any) => string) | undefined;
|
|
2376
|
+
jsonpFunction: string | undefined;
|
|
2377
|
+
globalObject: string;
|
|
2378
|
+
};
|
|
2379
|
+
optimization: {
|
|
2380
|
+
minimize: boolean;
|
|
2381
|
+
minimizer: any[];
|
|
2382
|
+
splitChunks: {
|
|
2383
|
+
cacheGroups: {
|
|
2384
|
+
default: boolean;
|
|
2385
|
+
};
|
|
2386
|
+
chunks?: undefined;
|
|
2387
|
+
name?: undefined;
|
|
2388
|
+
} | {
|
|
2389
|
+
chunks: string;
|
|
2390
|
+
name: boolean;
|
|
2391
|
+
cacheGroups?: undefined;
|
|
2392
|
+
};
|
|
2393
|
+
runtimeChunk: false | {
|
|
2394
|
+
name: (entrypoint: any) => string;
|
|
2395
|
+
};
|
|
2396
|
+
};
|
|
2397
|
+
resolve: {
|
|
2398
|
+
modules: string[];
|
|
2399
|
+
extensions: string[];
|
|
2400
|
+
alias: {
|
|
2401
|
+
src?: undefined;
|
|
2402
|
+
'react-dom$'?: string;
|
|
2403
|
+
'scheduler/tracing'?: string;
|
|
2404
|
+
'react-native': string;
|
|
2405
|
+
} | {
|
|
2406
|
+
src: string;
|
|
2407
|
+
'react-dom$'?: string;
|
|
2408
|
+
'scheduler/tracing'?: string;
|
|
2409
|
+
'react-native': string;
|
|
2410
|
+
};
|
|
2411
|
+
plugins: any[];
|
|
2412
|
+
};
|
|
2413
|
+
resolveLoader: {
|
|
2414
|
+
plugins: any[];
|
|
2415
|
+
};
|
|
2416
|
+
module: {
|
|
2417
|
+
strictExportPresence: boolean;
|
|
2418
|
+
rules: ({
|
|
2419
|
+
parser: {
|
|
2420
|
+
requireEnsure: boolean;
|
|
2421
|
+
};
|
|
2422
|
+
oneOf?: undefined;
|
|
2423
|
+
} | {
|
|
2424
|
+
oneOf: ({
|
|
2425
|
+
test: RegExp[];
|
|
2426
|
+
loader: string;
|
|
2427
|
+
options: {
|
|
2428
|
+
limit: number;
|
|
2429
|
+
mimetype: string;
|
|
2430
|
+
name: string;
|
|
2431
|
+
customize?: undefined;
|
|
2432
|
+
plugins?: undefined;
|
|
2433
|
+
cacheDirectory?: undefined;
|
|
2434
|
+
cacheCompression?: undefined;
|
|
2435
|
+
compact?: undefined;
|
|
2436
|
+
babelrc?: undefined;
|
|
2437
|
+
configFile?: undefined;
|
|
2438
|
+
presets?: undefined;
|
|
2439
|
+
sourceMaps?: undefined;
|
|
2440
|
+
inputSourceMap?: undefined;
|
|
2441
|
+
};
|
|
2442
|
+
include?: undefined;
|
|
2443
|
+
exclude?: undefined;
|
|
2444
|
+
use?: undefined;
|
|
2445
|
+
sideEffects?: undefined;
|
|
2446
|
+
} | {
|
|
2447
|
+
test: RegExp[];
|
|
2448
|
+
loader: string;
|
|
2449
|
+
options: {
|
|
2450
|
+
limit: number;
|
|
2451
|
+
name: string;
|
|
2452
|
+
mimetype?: undefined;
|
|
2453
|
+
customize?: undefined;
|
|
2454
|
+
plugins?: undefined;
|
|
2455
|
+
cacheDirectory?: undefined;
|
|
2456
|
+
cacheCompression?: undefined;
|
|
2457
|
+
compact?: undefined;
|
|
2458
|
+
babelrc?: undefined;
|
|
2459
|
+
configFile?: undefined;
|
|
2460
|
+
presets?: undefined;
|
|
2461
|
+
sourceMaps?: undefined;
|
|
2462
|
+
inputSourceMap?: undefined;
|
|
2463
|
+
};
|
|
2464
|
+
include?: undefined;
|
|
2465
|
+
exclude?: undefined;
|
|
2466
|
+
use?: undefined;
|
|
2467
|
+
sideEffects?: undefined;
|
|
2468
|
+
} | {
|
|
2469
|
+
test: RegExp;
|
|
2470
|
+
include: string;
|
|
2471
|
+
loader: string;
|
|
2472
|
+
options: {
|
|
2473
|
+
customize: string;
|
|
2474
|
+
plugins: (string | false | (string | {
|
|
2475
|
+
loaderMap: {
|
|
2476
|
+
svg: {
|
|
2477
|
+
ReactComponent: string;
|
|
2478
|
+
};
|
|
2479
|
+
};
|
|
2480
|
+
})[] | (string | {
|
|
2481
|
+
libraryName: string;
|
|
2482
|
+
style: boolean;
|
|
2483
|
+
})[])[];
|
|
2484
|
+
cacheDirectory: boolean;
|
|
2485
|
+
cacheCompression: boolean;
|
|
2486
|
+
compact: boolean;
|
|
2487
|
+
limit?: undefined;
|
|
2488
|
+
mimetype?: undefined;
|
|
2489
|
+
name?: undefined;
|
|
2490
|
+
babelrc?: undefined;
|
|
2491
|
+
configFile?: undefined;
|
|
2492
|
+
presets?: undefined;
|
|
2493
|
+
sourceMaps?: undefined;
|
|
2494
|
+
inputSourceMap?: undefined;
|
|
2495
|
+
};
|
|
2496
|
+
exclude?: undefined;
|
|
2497
|
+
use?: undefined;
|
|
2498
|
+
sideEffects?: undefined;
|
|
2499
|
+
} | {
|
|
2500
|
+
test: RegExp;
|
|
2501
|
+
exclude: RegExp;
|
|
2502
|
+
loader: string;
|
|
2503
|
+
options: {
|
|
2504
|
+
babelrc: boolean;
|
|
2505
|
+
configFile: boolean;
|
|
2506
|
+
compact: boolean;
|
|
2507
|
+
presets: (string | {
|
|
2508
|
+
helpers: boolean;
|
|
2509
|
+
})[][];
|
|
2510
|
+
cacheDirectory: boolean;
|
|
2511
|
+
cacheCompression: boolean;
|
|
2512
|
+
sourceMaps: boolean;
|
|
2513
|
+
inputSourceMap: boolean;
|
|
2514
|
+
limit?: undefined;
|
|
2515
|
+
mimetype?: undefined;
|
|
2516
|
+
name?: undefined;
|
|
2517
|
+
customize?: undefined;
|
|
2518
|
+
plugins?: undefined;
|
|
2519
|
+
};
|
|
2520
|
+
include?: undefined;
|
|
2521
|
+
use?: undefined;
|
|
2522
|
+
sideEffects?: undefined;
|
|
2523
|
+
} | {
|
|
2524
|
+
test: RegExp;
|
|
2525
|
+
exclude: RegExp;
|
|
2526
|
+
use: (string | false | {
|
|
2527
|
+
loader: any;
|
|
2528
|
+
options: {
|
|
2529
|
+
publicPath: string;
|
|
2530
|
+
} | {
|
|
2531
|
+
publicPath?: undefined;
|
|
2532
|
+
};
|
|
2533
|
+
} | {
|
|
2534
|
+
loader: string;
|
|
2535
|
+
options: any;
|
|
2536
|
+
})[];
|
|
2537
|
+
sideEffects: boolean;
|
|
2538
|
+
loader?: undefined;
|
|
2539
|
+
options?: undefined;
|
|
2540
|
+
include?: undefined;
|
|
2541
|
+
} | {
|
|
2542
|
+
test: RegExp;
|
|
2543
|
+
use: (string | false | {
|
|
2544
|
+
loader: any;
|
|
2545
|
+
options: {
|
|
2546
|
+
publicPath: string;
|
|
2547
|
+
} | {
|
|
2548
|
+
publicPath?: undefined;
|
|
2549
|
+
};
|
|
2550
|
+
} | {
|
|
2551
|
+
loader: string;
|
|
2552
|
+
options: any;
|
|
2553
|
+
})[];
|
|
2554
|
+
loader?: undefined;
|
|
2555
|
+
options?: undefined;
|
|
2556
|
+
include?: undefined;
|
|
2557
|
+
exclude?: undefined;
|
|
2558
|
+
sideEffects?: undefined;
|
|
2559
|
+
} | {
|
|
2560
|
+
loader: string;
|
|
2561
|
+
exclude: RegExp[];
|
|
2562
|
+
options: {
|
|
2563
|
+
name: string;
|
|
2564
|
+
limit?: undefined;
|
|
2565
|
+
mimetype?: undefined;
|
|
2566
|
+
customize?: undefined;
|
|
2567
|
+
plugins?: undefined;
|
|
2568
|
+
cacheDirectory?: undefined;
|
|
2569
|
+
cacheCompression?: undefined;
|
|
2570
|
+
compact?: undefined;
|
|
2571
|
+
babelrc?: undefined;
|
|
2572
|
+
configFile?: undefined;
|
|
2573
|
+
presets?: undefined;
|
|
2574
|
+
sourceMaps?: undefined;
|
|
2575
|
+
inputSourceMap?: undefined;
|
|
2576
|
+
};
|
|
2577
|
+
test?: undefined;
|
|
2578
|
+
include?: undefined;
|
|
2579
|
+
use?: undefined;
|
|
2580
|
+
sideEffects?: undefined;
|
|
2581
|
+
})[];
|
|
2582
|
+
parser?: undefined;
|
|
2583
|
+
})[];
|
|
2584
|
+
};
|
|
2585
|
+
plugins: any[];
|
|
2586
|
+
node: {
|
|
2587
|
+
module: string;
|
|
2588
|
+
dgram: string;
|
|
2589
|
+
dns: string;
|
|
2590
|
+
fs: string;
|
|
2591
|
+
http2: string;
|
|
2592
|
+
net: string;
|
|
2593
|
+
tls: string;
|
|
2594
|
+
child_process: string;
|
|
2595
|
+
crypto: string;
|
|
2596
|
+
Buffer: boolean;
|
|
2597
|
+
};
|
|
2598
|
+
performance: boolean;
|
|
2599
|
+
};
|
|
2600
|
+
export = _exports;
|
|
2601
|
+
|
|
2602
|
+
}
|
|
2603
|
+
declare module '@authing/react-ui-components/config/webpackDevServer.config' {
|
|
2604
|
+
function _exports(proxy: any, allowedHost: any): {
|
|
2605
|
+
disableHostCheck: boolean;
|
|
2606
|
+
compress: boolean;
|
|
2607
|
+
clientLogLevel: string;
|
|
2608
|
+
contentBase: string;
|
|
2609
|
+
contentBasePublicPath: any;
|
|
2610
|
+
watchContentBase: boolean;
|
|
2611
|
+
hot: boolean;
|
|
2612
|
+
transportMode: string;
|
|
2613
|
+
injectClient: boolean;
|
|
2614
|
+
sockHost: string | undefined;
|
|
2615
|
+
sockPath: string | undefined;
|
|
2616
|
+
sockPort: string | undefined;
|
|
2617
|
+
publicPath: any;
|
|
2618
|
+
quiet: boolean;
|
|
2619
|
+
watchOptions: {
|
|
2620
|
+
ignored: any;
|
|
2621
|
+
};
|
|
2622
|
+
https: boolean | {
|
|
2623
|
+
cert: Buffer;
|
|
2624
|
+
key: Buffer;
|
|
2625
|
+
};
|
|
2626
|
+
host: string;
|
|
2627
|
+
overlay: boolean;
|
|
2628
|
+
historyApiFallback: {
|
|
2629
|
+
disableDotRule: boolean;
|
|
2630
|
+
index: any;
|
|
2631
|
+
};
|
|
2632
|
+
public: any;
|
|
2633
|
+
proxy: any;
|
|
2634
|
+
before(app: any, server: any): void;
|
|
2635
|
+
after(app: any): void;
|
|
2636
|
+
};
|
|
2637
|
+
export = _exports;
|
|
2638
|
+
|
|
2639
|
+
}
|
|
2640
|
+
declare module '@authing/react-ui-components/examples' {
|
|
2641
|
+
export {};
|
|
2642
|
+
|
|
2643
|
+
}
|
|
2644
|
+
declare module '@authing/react-ui-components/index' {
|
|
2645
|
+
const _exports: typeof import("@authing/react-ui-components/components/index");
|
|
2646
|
+
export = _exports;
|
|
2134
2647
|
|
|
2135
2648
|
}
|
|
2136
2649
|
declare module '@authing/react-ui-components/reportWebVitals' {
|
|
@@ -2138,6 +2651,43 @@ declare module '@authing/react-ui-components/reportWebVitals' {
|
|
|
2138
2651
|
const reportWebVitals: (onPerfEntry?: ReportHandler | undefined) => void;
|
|
2139
2652
|
export default reportWebVitals;
|
|
2140
2653
|
|
|
2654
|
+
}
|
|
2655
|
+
declare module '@authing/react-ui-components/scripts/build' {
|
|
2656
|
+
export {};
|
|
2657
|
+
|
|
2658
|
+
}
|
|
2659
|
+
declare module '@authing/react-ui-components/scripts/generate-version' {
|
|
2660
|
+
export {};
|
|
2661
|
+
|
|
2662
|
+
}
|
|
2663
|
+
declare module '@authing/react-ui-components/scripts/lib' {
|
|
2664
|
+
export {};
|
|
2665
|
+
|
|
2666
|
+
}
|
|
2667
|
+
declare module '@authing/react-ui-components/scripts/pre-publish' {
|
|
2668
|
+
export {};
|
|
2669
|
+
|
|
2670
|
+
}
|
|
2671
|
+
declare module '@authing/react-ui-components/scripts/publish' {
|
|
2672
|
+
export {};
|
|
2673
|
+
|
|
2674
|
+
}
|
|
2675
|
+
declare module '@authing/react-ui-components/scripts/start' {
|
|
2676
|
+
export {};
|
|
2677
|
+
|
|
2678
|
+
}
|
|
2679
|
+
declare module '@authing/react-ui-components/scripts/tag' {
|
|
2680
|
+
function feLog(): void;
|
|
2681
|
+
|
|
2682
|
+
}
|
|
2683
|
+
declare module '@authing/react-ui-components/scripts/test' {
|
|
2684
|
+
export {};
|
|
2685
|
+
|
|
2686
|
+
}
|
|
2687
|
+
declare module '@authing/react-ui-components/scripts/utils/is-guard-publish' {
|
|
2688
|
+
function _exports(): boolean;
|
|
2689
|
+
export = _exports;
|
|
2690
|
+
|
|
2141
2691
|
}
|
|
2142
2692
|
declare module '@authing/react-ui-components/setupTests' {
|
|
2143
2693
|
import '@testing-library/jest-dom';
|