@authing/react-ui-components 3.0.2-beta.4 → 3.0.2-beta.9
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 +453 -35
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/package.json +25 -7
- 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.51c07e65.chunk.css +0 -3
- package/build/static/css/2.51c07e65.chunk.css.map +0 -1
- package/build/static/css/main.779f221a.chunk.css +0 -2
- package/build/static/css/main.779f221a.chunk.css.map +0 -1
- package/build/static/js/2.bbae9fdb.chunk.js +0 -3
- package/build/static/js/2.bbae9fdb.chunk.js.LICENSE.txt +0 -102
- package/build/static/js/2.bbae9fdb.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.5f341531.chunk.js +0 -2
- package/build/static/js/main.5f341531.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 -107
- 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 -72
- package/components/BindTotp/core/securityCode.tsx +0 -108
- 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 -78
- package/components/ForgetPassword/interface.ts +0 -32
- package/components/Guard/Guard.tsx +0 -287
- package/components/Guard/authClient.ts +0 -44
- 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 -20
- package/components/Guard/stateMachine.ts +0 -152
- package/components/Guard/styles.less +0 -461
- 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 -53
- package/components/ImagePro/styles.less +0 -40
- package/components/InputNumber/index.tsx +0 -33
- package/components/Login/codemap.ts +0 -47
- 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/FormItemAccount.tsx +0 -42
- package/components/Login/core/withPassword/GraphicVerifyCode.tsx +0 -30
- package/components/Login/core/withPassword/InputAccount.tsx +0 -64
- package/components/Login/core/withPassword/index.tsx +0 -173
- package/components/Login/core/withPhonecode.tsx +0 -122
- package/components/Login/core/withWechatMiniQrcode.tsx +0 -60
- package/components/Login/core/withWechatmpQrcode.tsx +0 -53
- package/components/Login/index.tsx +0 -373
- package/components/Login/props.ts +0 -74
- package/components/Login/socialLogin/index.tsx +0 -407
- package/components/Login/socialLogin/style.less +0 -69
- package/components/Login/styles.less +0 -53
- package/components/MFA/VerifyCodeInput/VerifyCodeFormItem.tsx +0 -41
- package/components/MFA/VerifyCodeInput/index.tsx +0 -145
- package/components/MFA/VerifyCodeInput/style.less +0 -35
- package/components/MFA/codemap.ts +0 -24
- package/components/MFA/core/email.tsx +0 -203
- package/components/MFA/core/face.tsx +0 -297
- package/components/MFA/core/face_deps.tsx +0 -37
- package/components/MFA/core/sms.tsx +0 -203
- package/components/MFA/core/totp.tsx +0 -122
- package/components/MFA/index.tsx +0 -143
- package/components/MFA/mfaMethods/index.tsx +0 -88
- package/components/MFA/mfaMethods/style.less +0 -39
- package/components/MFA/props.ts +0 -51
- package/components/MFA/styles.less +0 -100
- package/components/NeedHelpView/core/describeQuestions.tsx +0 -245
- package/components/NeedHelpView/index.tsx +0 -47
- 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 -12
- 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 -242
- package/components/Register/core/WithPhone.tsx +0 -184
- package/components/Register/index.tsx +0 -139
- 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/SubmitSuccess/index.tsx +0 -66
- package/components/SubmitSuccess/interface.ts +0 -17
- package/components/Type/index.ts +0 -52
- package/components/ValidatorRules/ValidatorFormItem.tsx +0 -139
- package/components/ValidatorRules/index.ts +0 -20
- package/components/VerifyCodeInput/index.tsx +0 -76
- package/components/VerifyCodeInput/style.less +0 -24
- package/components/_utils/GuardErrorCode.ts +0 -9
- package/components/_utils/clipboard.ts +0 -27
- package/components/_utils/config.ts +0 -116
- package/components/_utils/guradHttp.ts +0 -97
- package/components/_utils/hooks/index.ts +0 -64
- package/components/_utils/http.ts +0 -85
- package/components/_utils/index.ts +0 -322
- package/components/_utils/locales/en/common.json +0 -227
- 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 -227
- 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 -86
- 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/publish.js +0 -57
- package/scripts/start.js +0 -162
- package/scripts/test.js +0 -49
- package/setupTests.ts +0 -5
- package/tsconfig.json +0 -30
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"addressLabel": "Location:",
|
|
3
|
-
"administrator": "Administrator",
|
|
4
|
-
"agreeAgreement": "I have read and accept ",
|
|
5
|
-
"alreadyHasAcc": "",
|
|
6
|
-
"appNotFound": "The application does not exist, please check if the application link is correct",
|
|
7
|
-
"appPanel": "Application panel",
|
|
8
|
-
"authApp": "Authorized application",
|
|
9
|
-
"authAppSomePermisson": "{{name}} apply to access your account information and authorize {{name}} the following permissions",
|
|
10
|
-
"authingBackendSystem": "Authing background management system",
|
|
11
|
-
"authoriztion": "Authorization",
|
|
12
|
-
"baseInfo": "Basic Information",
|
|
13
|
-
"bind": "Bind",
|
|
14
|
-
"quesitons": "Help",
|
|
15
|
-
"bindEmail": "Bind Email",
|
|
16
|
-
"bindPhone": "Bind your phone number",
|
|
17
|
-
"birthdayLabel": "Birthday:",
|
|
18
|
-
"blogLabel": "Blog:",
|
|
19
|
-
"cancel": "Cancel",
|
|
20
|
-
"chooseRole": "Choose role",
|
|
21
|
-
"companyLabel": "Company:",
|
|
22
|
-
"confirm": "Confirm",
|
|
23
|
-
"confirmLogout": "Are you sure to log out?",
|
|
24
|
-
"currentEmail": "Current Email",
|
|
25
|
-
"currentEmailVerifyCode": "Current Email Verification Code",
|
|
26
|
-
"currentPhoneNumber": "Current Phone Number",
|
|
27
|
-
"dashboard": "Console",
|
|
28
|
-
"editPic": "Edit picture",
|
|
29
|
-
"email": "Email",
|
|
30
|
-
"emailFormatError": "Enter a valid Email address ",
|
|
31
|
-
"emailLabel": "Email",
|
|
32
|
-
"enterprisePanel": "Enterprise Panel",
|
|
33
|
-
"enterprisePanelInfo": "Your enterprise applications and personally configured applications will be displayed here. Click the application icon to login.",
|
|
34
|
-
"female": "Female",
|
|
35
|
-
"genderLabel": "Gender:",
|
|
36
|
-
"guidance": {
|
|
37
|
-
"loginApp": "Sign in to the app",
|
|
38
|
-
"loginAppStep1": "Now to experience it.",
|
|
39
|
-
"registerAcc": "Register an account",
|
|
40
|
-
"registerAccStep1": "First of all, let's register a new account.",
|
|
41
|
-
"registerAccStep2": "We have filled in the information for you, click register!"
|
|
42
|
-
},
|
|
43
|
-
"hasForgotPwd": "Forgot password?",
|
|
44
|
-
"hasLooseSaftyCode": "Lost the security code?",
|
|
45
|
-
"image": "Image",
|
|
46
|
-
"inputFourVerifyCode": "{{length}}-digit code",
|
|
47
|
-
"inputNewPhone": "Enter a new phone number",
|
|
48
|
-
"jumpAfterCount": "{{number}}s automatically redirect to login",
|
|
49
|
-
"login": "Log In",
|
|
50
|
-
"loginImmediate": "Sign In Instead",
|
|
51
|
-
"loginSuccessWelcome": "Successful login, welcome: {{name}}",
|
|
52
|
-
"logout": "Logout",
|
|
53
|
-
"logoutSuccess": "Exit successfully",
|
|
54
|
-
"man": "Male",
|
|
55
|
-
"modify": "Modify",
|
|
56
|
-
"modifyEmail": "Modify Email",
|
|
57
|
-
"modifyPhoneNumber": "Modify Mobile Phone Number",
|
|
58
|
-
"nameLabel": "Name:",
|
|
59
|
-
"newMailbox": "New Email",
|
|
60
|
-
"newMailboxVerifyCode": "New Email Verification Code",
|
|
61
|
-
"newPhone": "New Phone Number",
|
|
62
|
-
"newPhoneVerify": "New Phone Verification Code",
|
|
63
|
-
"nicknameLabel": "Display Name:",
|
|
64
|
-
"noAccYet": "",
|
|
65
|
-
"noOpenedApp": "No Available App",
|
|
66
|
-
"oldPhoneVerfiyCode": "Old Phone Verification Code",
|
|
67
|
-
"operateSuccess": "Successful operation",
|
|
68
|
-
"perfectUserInfo": "Improve user information",
|
|
69
|
-
"personalCenter": "Authing Account",
|
|
70
|
-
"phoneFormateError": "Enter a valid phone number",
|
|
71
|
-
"phoneLabel": "Phone",
|
|
72
|
-
"phoneNumber": "Phone number",
|
|
73
|
-
"picExtError": "Picture format error",
|
|
74
|
-
"picSizeLimit": "The picture cannot be larger than 5 megabytes",
|
|
75
|
-
"pleaseInputCorrectMailbox": "Enter your vaild email",
|
|
76
|
-
"pwdModifySuccess": "Password reset complete",
|
|
77
|
-
"register": "Sign Up",
|
|
78
|
-
"registerDateLabel": "Registration date:",
|
|
79
|
-
"registerImmediate": "Sign Up",
|
|
80
|
-
"registerInfoFill": "Registration information completion",
|
|
81
|
-
"resetPwd": "Reset password",
|
|
82
|
-
"retryAfterTime": "{{time}} seconds",
|
|
83
|
-
"sendVerifyCode": "Get code",
|
|
84
|
-
"submit": "Submit",
|
|
85
|
-
"sure": "Confirm",
|
|
86
|
-
"unknown": "Unknown",
|
|
87
|
-
"updateSuccess": "Update Completed",
|
|
88
|
-
"uploadFail": "{{name}} failed to upload",
|
|
89
|
-
"useRecoverCode": "Use recovery code",
|
|
90
|
-
"username": "Username",
|
|
91
|
-
"usernameLabel": "Username:",
|
|
92
|
-
"verifyCode": "Verification Code",
|
|
93
|
-
"visitPersonalAccData": "Access your personal user data",
|
|
94
|
-
"welcomeJoin": "Join {{name}}",
|
|
95
|
-
"welcomeJoinAndPerfect": "Welcome to join {{name}}, in order to have a better experience, please improve your information first",
|
|
96
|
-
"start": "Start ",
|
|
97
|
-
"problem": {
|
|
98
|
-
"title": "How can we help you?",
|
|
99
|
-
"noProblem": "No more questions,",
|
|
100
|
-
"goLogin": " Log in",
|
|
101
|
-
"verifyTip": "Contact information is required!",
|
|
102
|
-
"noVerify": "Unable to receive the verification code",
|
|
103
|
-
"noLogin": "Unable to log in",
|
|
104
|
-
"noRegister": "Unable to register",
|
|
105
|
-
"noAccount": "Lost Account",
|
|
106
|
-
"noResetPass": "Unable to reset password",
|
|
107
|
-
"locked": "Account is locked",
|
|
108
|
-
"other": "Other",
|
|
109
|
-
"noVerifyTip": {
|
|
110
|
-
"tip": "If you don't receive the verification code, please do the following steps to solve this issue:",
|
|
111
|
-
"type1": "1. Check if your mobile phone is turned off or offline.",
|
|
112
|
-
"type2": "2. Check if your phone number has been entered correctly.",
|
|
113
|
-
"type3": "3. Check if your SMS with the verification code is blocked."
|
|
114
|
-
},
|
|
115
|
-
"noLoginTip": {
|
|
116
|
-
"tip": "If you don't receive the verification code, please do the following steps to solve this issue: ",
|
|
117
|
-
"type1": "1. Check if your username and password have been entered correctly.",
|
|
118
|
-
"type2": "2. Check if your mobile phone is turned off or offline."
|
|
119
|
-
},
|
|
120
|
-
"noRegisterTip": {
|
|
121
|
-
"tip": "If you cannot register, please do the following steps to solve this issue:",
|
|
122
|
-
"type1": "1. Check if your account has been registered.",
|
|
123
|
-
"type2": "2. Check if your phone number has been entered correctly.",
|
|
124
|
-
"type3": "3. Check if your SMS with the verification code is blocked."
|
|
125
|
-
},
|
|
126
|
-
"noAccountTip": {
|
|
127
|
-
"tip": "If your account is lost, please do the following steps to solve this issue:",
|
|
128
|
-
"type1": "1. Check if your username and password have been entered correctly.",
|
|
129
|
-
"type2": "2. Check if your mobile phone is turned off or offline."
|
|
130
|
-
},
|
|
131
|
-
"noResetPassTip": {
|
|
132
|
-
"tip": "If your password cannot be reset, please do the following steps to solve this issue:",
|
|
133
|
-
"type1": "1. Check if your mobile phone is turned off or offline.",
|
|
134
|
-
"type2": "2. Check if your password has been entered correctly."
|
|
135
|
-
},
|
|
136
|
-
"otherTip": {
|
|
137
|
-
"tip": "Other:",
|
|
138
|
-
"type1": "Please describe your problem in the following column."
|
|
139
|
-
},
|
|
140
|
-
"successTip": "Submitted successfully",
|
|
141
|
-
"successTipMsg": "Your information has been submitted to the application administrator. Your feedback will be processed as soon as possible. Please wait patiently.",
|
|
142
|
-
"form": {
|
|
143
|
-
"phone": "Contact",
|
|
144
|
-
"phonePlaceholder": "Ennter your email or phone number (required)",
|
|
145
|
-
"question": "Problem",
|
|
146
|
-
"questionDescript": "Problem description",
|
|
147
|
-
"questionClip": "Problem screenshot",
|
|
148
|
-
"upload": "Upload pictures",
|
|
149
|
-
"submit": "Submit",
|
|
150
|
-
"inputConcatWays": "Please enter contact information"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"high": "High",
|
|
154
|
-
"low": "Low",
|
|
155
|
-
"middle": "Middle",
|
|
156
|
-
"strong": "Strong",
|
|
157
|
-
"weak": "Weak",
|
|
158
|
-
"and": "and",
|
|
159
|
-
"pleaseCheckReaded": "Please check \"I have read\"",
|
|
160
|
-
"backLoginPage": "Back",
|
|
161
|
-
"LoginSuccess": "Login Success",
|
|
162
|
-
"unAppId": "Please pass in the App ID",
|
|
163
|
-
"welcomeDoc": "Welcome to join {{name}}, in order to have a better experience, please improve your information first",
|
|
164
|
-
"copied": "Copied",
|
|
165
|
-
"bindEmailDoc": "You have not bound the mailbox yet, please enter the mailbox to bind",
|
|
166
|
-
"copy": "Copy",
|
|
167
|
-
"emailNotNull": "Email is missing",
|
|
168
|
-
"setPassword": "Set password",
|
|
169
|
-
"passwordNotNull": "Enter your password",
|
|
170
|
-
"LDAPAccountNotNull": "LDAP account cannot be empty",
|
|
171
|
-
"captchaCodeNotNull": "Enter your code",
|
|
172
|
-
"recoverCodeNotNull": "Recovery code cannot be empty",
|
|
173
|
-
"accNotNull": "Enter your account",
|
|
174
|
-
"phoneOrEmailNotNull": "Mobile phone number or email cannot be empty",
|
|
175
|
-
"inputVerifyCode": "Enter your code",
|
|
176
|
-
"SMS": "SMS Verification",
|
|
177
|
-
"EmailVerification": "Email Verification",
|
|
178
|
-
"OTPVerification": "OTP Verification",
|
|
179
|
-
"faceVerification": "Face Verification",
|
|
180
|
-
"retrievePassword": "Retrieve password",
|
|
181
|
-
"registrationSuccess": "Registration Success",
|
|
182
|
-
"repeatPasswordDoc": "The passwords you entered do not match",
|
|
183
|
-
"saveSuccess": "Save successfully",
|
|
184
|
-
"copyFailed": "Copy Failed",
|
|
185
|
-
"repeatPassword": "Please repeat the password",
|
|
186
|
-
"phoneNotNull": "Enter your phone number",
|
|
187
|
-
"networkError": "Network error, please retry",
|
|
188
|
-
"downloadTotpAppAndroid": "Android download",
|
|
189
|
-
"downloadTotpAppDocs": "Please use your mobile phone to scan the code to download the verifier",
|
|
190
|
-
"downloadTotpAppIOS": "IOS download",
|
|
191
|
-
"unBindEmaileDoc": "{{email}} has been bound to another account",
|
|
192
|
-
"bindTotp": "Bind OTP",
|
|
193
|
-
"checkEmail": "This Email address is not available. Choose a different address",
|
|
194
|
-
"checkPhone": "This phone number cannot be used, please choose another phone number",
|
|
195
|
-
"loginFailCheck": "Reminder: Your password is wrong, you can try {{number}} times",
|
|
196
|
-
"otpText1": "To ensure access security, please go to the OTP binding page",
|
|
197
|
-
"faceText1": "Bind facial recognition",
|
|
198
|
-
"faceText2": "Hold your camera properly",
|
|
199
|
-
"faceText3": "Start",
|
|
200
|
-
"faceText4": "Try again",
|
|
201
|
-
"checkPasswordHasSpace": "No spaces",
|
|
202
|
-
"backToVerify": "Back",
|
|
203
|
-
"autoJumpToLogin": "Then it will automatically jump to the login page",
|
|
204
|
-
"backToMFA": "Return to MFA binding",
|
|
205
|
-
"bindSuccess": "Complete binding",
|
|
206
|
-
"clickTodownload": "click to download",
|
|
207
|
-
"goToLogin": "Back",
|
|
208
|
-
"mfaText1": "Scan the code to add MFA, check it on your mobile phone and enter the 6-digit security code.",
|
|
209
|
-
"noQuestions": "",
|
|
210
|
-
"noValidator": "No validator please",
|
|
211
|
-
"pleaseRecordKey": "Please record the key",
|
|
212
|
-
"timeoutLDAP": "Request timed out, LDAP configuration error",
|
|
213
|
-
"totpText1": "Please keep the recovery code properly",
|
|
214
|
-
"totpText2": "If your MFA is lost, you will need a recovery code",
|
|
215
|
-
"usePhoneOpen": "",
|
|
216
|
-
"useRecoveryCodetips": "After successful login, we will generate a new recovery code.",
|
|
217
|
-
"passwordAgain": "Confirm password",
|
|
218
|
-
"isMissing": "{{name}} is missing",
|
|
219
|
-
"password": "Password",
|
|
220
|
-
"captchaCode": "Digit code",
|
|
221
|
-
"account": "Account",
|
|
222
|
-
"phone": "Phone number",
|
|
223
|
-
"pToLogin": "seconds later back",
|
|
224
|
-
"resetSuccess": "Reset successfully",
|
|
225
|
-
"resetSuccessMessage": "The password is reset successfully, you can continue to log in with the new password",
|
|
226
|
-
"totpCode": "Security code"
|
|
227
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"inputAccount": "Enter {{text}}",
|
|
3
|
-
"inputAdUsername": "Enter AD username",
|
|
4
|
-
"accBind": "Account Binding",
|
|
5
|
-
"accPwdLoginVerify": "Account login verification",
|
|
6
|
-
"autoRegister": "Enter account and password to login. If you do not have an account, we will create it automatically.",
|
|
7
|
-
"captchaCode": "Captcha",
|
|
8
|
-
"confirmSavedCode": "Please make sure you have saved the key",
|
|
9
|
-
"confirmUnbinPhont": "Are you sure to unbind the mobile phone number?",
|
|
10
|
-
"confirmUnbindEmail": "Are you sure to unbind the mailbox?",
|
|
11
|
-
"emailSent": "Mail sent successfully",
|
|
12
|
-
"findedSafetyCode": "Find the security code and verify directly",
|
|
13
|
-
"fourVerifyCode": "{{length}}-digit verification code",
|
|
14
|
-
"getBackPwd": "Reset password",
|
|
15
|
-
"inputAdPwd": "Enter AD password",
|
|
16
|
-
"inputCaptchaCode": "Digit code",
|
|
17
|
-
"inputConfirmPwd": "Enter confirm password",
|
|
18
|
-
"inputCorrectPhone": "Enter correct phone number or email address",
|
|
19
|
-
"inputEmail": "Email",
|
|
20
|
-
"inputEmailUsernamePhone": "Enter email/username/phone number",
|
|
21
|
-
"inputFourMsgVerifyCode": "Enter {{length}} digit SMS verification code",
|
|
22
|
-
"inputFourVerifyCode": "Enter {{length}}-digit verification code",
|
|
23
|
-
"inputFullMfaCode": "Enter verification code",
|
|
24
|
-
"inputLdapPwd": "LDAP Password",
|
|
25
|
-
"inputLdapUsername": "LDAP Username",
|
|
26
|
-
"inputLoginPwd": "Password",
|
|
27
|
-
"inputPhone": "Phone number",
|
|
28
|
-
"inputPhoneOrEmail": "Enter Phone number or Email",
|
|
29
|
-
"inputPwdAgain": "Enter password again",
|
|
30
|
-
"inputPwdLimit": "Enter 6-20 digit password",
|
|
31
|
-
"inputRecoverCode": "Enter recovery code",
|
|
32
|
-
"inputSixCode": "Enter 6-digit security code",
|
|
33
|
-
"loginBy": "Sign in with {{name}}",
|
|
34
|
-
"mfaAfterReset": "After successful login, we will generate a new recovery code",
|
|
35
|
-
"mustEqualToPwd": "Must match the password",
|
|
36
|
-
"newGenered": "A new recovery code has been generated for you",
|
|
37
|
-
"newPwdLimit": "6-20 digits new password",
|
|
38
|
-
"noEmpty": "Can not be empty",
|
|
39
|
-
"otherAccLogin": "Switch Account",
|
|
40
|
-
"phoneAutoRegister": "Enter mobile phone number verification code to login. If you do not have an account, we will create it automatically.",
|
|
41
|
-
"pwdLimie": "Password length is 6-20 digits",
|
|
42
|
-
"releaseBind": "Unbind",
|
|
43
|
-
"rememberedSecret": "This key has been safely recorded",
|
|
44
|
-
"resetEmailSent": "The password reset email has been sent to the mailbox {{email}}",
|
|
45
|
-
"resetPwd": "Reset password",
|
|
46
|
-
"resetPwdEmail": "Resend password reset email",
|
|
47
|
-
"setPwdLimit": "Set 6-20 digit password",
|
|
48
|
-
"thridAccLogin": "Or sign in with",
|
|
49
|
-
"twoPwdNeedSame": "The two passwords must be the same",
|
|
50
|
-
"pwdLogin": "Password",
|
|
51
|
-
"verifyCodeLogin": "Phone",
|
|
52
|
-
"appScanLogin": "APP QR Code",
|
|
53
|
-
"scanLogin": "QR Code",
|
|
54
|
-
"ldapLogin": "LDAP",
|
|
55
|
-
"adLogin": "AD",
|
|
56
|
-
"emailRegister": "Email",
|
|
57
|
-
"phoneRegister": "Phone",
|
|
58
|
-
"fillPhoneEmail": "Please contact the administrator to complete the phone or email information",
|
|
59
|
-
"inputEmailCode": "Enter email verification code",
|
|
60
|
-
"inputSmsCode": "Please enter the SMS verification code",
|
|
61
|
-
"otherVerifyWay": "Other verification methods",
|
|
62
|
-
"sendingVerifyCode": "Verification code sending",
|
|
63
|
-
"verifyCodeSended": "Verification code has been sent to",
|
|
64
|
-
"clickSent": "Click send",
|
|
65
|
-
"bindEmailInfo": "You have not bound the mailbox, please enter the binding",
|
|
66
|
-
"bindPhoneInfo": "You have not yet bound your phone number, please enter it below",
|
|
67
|
-
"dontBindPhone": "You have not bound your phone number, please enter your phone number to bind",
|
|
68
|
-
"dontbindEmail": "You have not bound the mailbox, please enter the mailbox binding",
|
|
69
|
-
"emailError": "Email format error",
|
|
70
|
-
"inputPhoneCode": "Please enter the phone verification code",
|
|
71
|
-
"mailBinded": "The mailbox has been bound",
|
|
72
|
-
"phoneBinded": "The phone number has been bound",
|
|
73
|
-
"phoneError": "Malformed phone number",
|
|
74
|
-
"feedback": "Encounter problems",
|
|
75
|
-
"forgetPwd": "Forgot Password",
|
|
76
|
-
"inputContactWayCheap": "To facilitate the solution of your problems, please provide your contact information (required)",
|
|
77
|
-
"inputContactWayPlease": "Please fill in the contact information",
|
|
78
|
-
"problemDetail": "Please describe the specific problem you encountered and related pictures",
|
|
79
|
-
"selectYourProblem": "Please select the problem you encountered",
|
|
80
|
-
"subAccLogin": "Sub-account login",
|
|
81
|
-
"submitFailRetry": "Submission failed, please try again",
|
|
82
|
-
"inputPwd": "Password",
|
|
83
|
-
"login": {
|
|
84
|
-
"setPwdLimit2": "At least six digits, must contain two of English, numbers and symbols",
|
|
85
|
-
"setPwdLimit3": "At least six digits, including English, numbers and symbols"
|
|
86
|
-
},
|
|
87
|
-
"setPwdLimit1": "Set a password of at least 6 characters",
|
|
88
|
-
"setPwdLimitMsg1": "Passwords must be at least 6 characters long",
|
|
89
|
-
"setPwdLimitMsg2": "The password must be at least 6 characters long and must contain two of English, numbers and symbols",
|
|
90
|
-
"setPwdLimitMsg3": "The password must be at least 6 digits long and must contain English, numbers and symbols at the same time",
|
|
91
|
-
"wechatmpQrcode": "WechatMp QRcode\t",
|
|
92
|
-
"inputEmailUsername": "Please enter email or account",
|
|
93
|
-
"inputUsername": "Username",
|
|
94
|
-
"moreWays": "Scan",
|
|
95
|
-
"inputCorrectPhoneOrEmail": "Enter a valid Email or Phone number"
|
|
96
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"accPwd": "Account Password",
|
|
3
|
-
"addMfa": "Add MFA",
|
|
4
|
-
"bindFail": "Binding failed",
|
|
5
|
-
"bindFinish": "Binding completed",
|
|
6
|
-
"bindInfoFetchFail": "Binding information request failed",
|
|
7
|
-
"bindSuccess": "Bind successfully",
|
|
8
|
-
"bindedMfa": "You have successfully bound MFA",
|
|
9
|
-
"confirmModify": "Confirm",
|
|
10
|
-
"confirmUnbindMfa": "Are you sure to unbind MFA?",
|
|
11
|
-
"confrimPwd": "Confirm Password",
|
|
12
|
-
"currentPwd": "Current Password",
|
|
13
|
-
"inputCurrPwd": "Enter current password",
|
|
14
|
-
"inputNewPwd": "Enter a new Password",
|
|
15
|
-
"inputSafteyCode": "Enter Security Code",
|
|
16
|
-
"mfaBind": "MFA Binding",
|
|
17
|
-
"modifyPwd": "Change Password",
|
|
18
|
-
"needSameWithNewPwd": "Need to be consistent with the new password",
|
|
19
|
-
"newPwd": "New Password",
|
|
20
|
-
"nextStep": "Next",
|
|
21
|
-
"numberSafteyCode": "Digital Security Code",
|
|
22
|
-
"personalInfo": "Personal Information",
|
|
23
|
-
"prevStep": "Previous",
|
|
24
|
-
"resetCodeDoWhat": "When your MFA is lost, you need to reset the code to restore account access.",
|
|
25
|
-
"saveRecoverCode": "Save recovery code",
|
|
26
|
-
"saveSecret": "Please keep the key properly",
|
|
27
|
-
"scanQrcode": "Scan QR Code",
|
|
28
|
-
"unbindFail": "Unbinding failed",
|
|
29
|
-
"unbindMfa": "Unbind MFA",
|
|
30
|
-
"unbindSuccess": "Unbind successfully",
|
|
31
|
-
"viewInputSixCode": "Check and enter 6-digit security code on your mobile phone, and proceed to the next step after completion",
|
|
32
|
-
"authenticationInfo": "Authentication Info",
|
|
33
|
-
"choosePrincipalAuthenticationType": "Choose Principal Authentication Type",
|
|
34
|
-
"choosePrincipalAuthenticationDescription": "Real name authentication will affect the ownership of account, please carry out real name authentication according to the actual situation",
|
|
35
|
-
"personalAuthentication": "Personal Authentication",
|
|
36
|
-
"personalAuthenticationDescription": "Applicable to individual users",
|
|
37
|
-
"enterpriseAuthentication": "Enterprise Authentication",
|
|
38
|
-
"enterpriseAuthenticationDescription": "It is applicable to enterprises, governments, institutions, schools, organizations",
|
|
39
|
-
"principalAuthenticationType": "Authentication type",
|
|
40
|
-
"realName": "Real Name",
|
|
41
|
-
"enterpriseName": "Enterprise Name",
|
|
42
|
-
"idCard": "Identification Number ",
|
|
43
|
-
"authenticationTime": "Authentication time",
|
|
44
|
-
"alreadyCompletedPersonalAuthentication": "Congratulations! You have completed personal real name authentication",
|
|
45
|
-
"alreadyCompletedEnterpriseAuthentication": "Congratulations! You have completed the enterprise real name certification",
|
|
46
|
-
"personal": "Personal",
|
|
47
|
-
"enterprise": "Enterprise",
|
|
48
|
-
"changeToEnterpriseAuthentication": "Change to enterprise authentication",
|
|
49
|
-
"idNumberLabel": "ID Number:",
|
|
50
|
-
"bankCardLabel": "Bank Card:",
|
|
51
|
-
"inputName": "Please enter your name",
|
|
52
|
-
"inputIdNumber": "Please enter your ID card number",
|
|
53
|
-
"inputBankCard": "Please input bank card number",
|
|
54
|
-
"enterpriseCode": "Unified Social Credit Code / Registration Number / Organization Code",
|
|
55
|
-
"legalPersonName": "Name of Enterprise Legal Person",
|
|
56
|
-
"inputEnterpriseCode": "Please input unified social credit code / registration number / organization code",
|
|
57
|
-
"inputLegalPersonName": "Please enter the corporate name",
|
|
58
|
-
"inputEnterpriseName": "Please enter the name of the enterprise",
|
|
59
|
-
"authenticationSuccess": "Authentication success",
|
|
60
|
-
"bindEmailTips": "For your account security, please bind your email.",
|
|
61
|
-
"bindImmediate": "Bind Now",
|
|
62
|
-
"binded": "Bound",
|
|
63
|
-
"configImmediate": "Set up now",
|
|
64
|
-
"currSecurityLevel": "Your current account security level:",
|
|
65
|
-
"emailBind": "Email Binding",
|
|
66
|
-
"longTimeNoModifyPwd": "Your password has not been changed for a long time, there is a security risk, it is recommended that you change it immediately",
|
|
67
|
-
"modifyImmidate": "Edit Now",
|
|
68
|
-
"noPwdDanger": "There is a hidden danger in your account, please set a password immediately.",
|
|
69
|
-
"personalMfa": "Personal MFA",
|
|
70
|
-
"personalMfaTips": "After binding your personal MFA, a second verification is required when you log in to secure your account.",
|
|
71
|
-
"phoneBind": "Phone Binding",
|
|
72
|
-
"phoneBindTips": "Bind the mobile phone number, and enable real-time notification of account security issues",
|
|
73
|
-
"pwdSecurityInfo": "A high-security password can make the account more secure. \nIt is recommended that you change your password regularly.",
|
|
74
|
-
"pwdStrang": "Password Strength",
|
|
75
|
-
"securityLevel": "Security Level:",
|
|
76
|
-
"securityRank": "Security Level",
|
|
77
|
-
"setted": "Has been set",
|
|
78
|
-
"unBind": "Unbound",
|
|
79
|
-
"unSet": "Not set",
|
|
80
|
-
"resetpasswordText1": "Type in your phone number or email, and we will send a reset code to you.",
|
|
81
|
-
"pleaseDownloadAuthenticator": "Open Google Authenticator or Microsoft Authenticator on your phone and scan below QR code"
|
|
82
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import i18n from 'i18next'
|
|
2
|
-
import { initReactI18next } from 'react-i18next'
|
|
3
|
-
import LanguageDetector from 'i18next-browser-languagedetector'
|
|
4
|
-
|
|
5
|
-
import * as enUsTrans from './en'
|
|
6
|
-
import * as zhCnTrans from './zh'
|
|
7
|
-
import { LocalesConfig, Lang } from '../../AuthingGuard/types'
|
|
8
|
-
|
|
9
|
-
let langChangeFN: (lang: Lang) => void = () => {}
|
|
10
|
-
|
|
11
|
-
export const changeLang = (lang: Lang) => {
|
|
12
|
-
i18n.changeLanguage(lang)
|
|
13
|
-
langChangeFN && langChangeFN(lang)
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const initI18n = (localesConfig: LocalesConfig = {}, lang?: Lang) => {
|
|
17
|
-
if (!i18n.language) {
|
|
18
|
-
i18n
|
|
19
|
-
.use(LanguageDetector) // 监测当前浏览器语言
|
|
20
|
-
.use(initReactI18next) // 初始化 i18n
|
|
21
|
-
.init({
|
|
22
|
-
detection: {
|
|
23
|
-
order: [],
|
|
24
|
-
},
|
|
25
|
-
resources: {
|
|
26
|
-
'en-US': {
|
|
27
|
-
translation: enUsTrans,
|
|
28
|
-
},
|
|
29
|
-
'zh-CN': {
|
|
30
|
-
translation: zhCnTrans,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
fallbackLng: localesConfig.defaultLang || lang || 'zh-CN',
|
|
34
|
-
debug: false,
|
|
35
|
-
interpolation: {
|
|
36
|
-
escapeValue: false, // react already safes from xss
|
|
37
|
-
},
|
|
38
|
-
})
|
|
39
|
-
if (localesConfig.onChange) {
|
|
40
|
-
langChangeFN = localesConfig.onChange
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export { i18n, initI18n }
|