@authing/react-ui-components 3.0.1-beta.4 → 3.0.1-rc.3
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/.eslintignore +6 -0
- package/.eslintrc.js +7 -0
- package/.prettierrc +5 -0
- package/.vscode/settings.json +31 -0
- package/LICENSE +21 -0
- package/config/antdReplacer.js +51 -0
- package/config/env.js +106 -0
- package/config/getHttpsConfig.js +66 -0
- package/config/jest/cssTransform.js +14 -0
- package/config/jest/fileTransform.js +40 -0
- package/config/modules.js +134 -0
- package/config/paths.js +71 -0
- package/config/pnpTs.js +35 -0
- package/config/webpack.config.js +857 -0
- package/config/webpackDevServer.config.js +130 -0
- package/lib/index.d.ts +1241 -8
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +2 -0
- package/{dist → lib}/index.min.js.LICENSE.txt +0 -34
- package/package.json +86 -72
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +3 -0
- package/scripts/build.js +212 -0
- package/scripts/lib.js +200 -0
- package/scripts/start.js +166 -0
- package/scripts/test.js +53 -0
- package/src/common/AuthingDropdown/index.tsx +52 -0
- package/{es/AuthingDropdown/style/index.less → src/common/AuthingDropdown/style.less} +0 -0
- package/src/common/AuthingTabs/index.tsx +98 -0
- package/{es/AuthingTabs/style/index.less → src/common/AuthingTabs/style.less} +2 -2
- package/src/common/CopyAbleText/index.tsx +54 -0
- package/{es/CopyAbleText/style/index.less → src/common/CopyAbleText/style.less} +0 -0
- package/src/common/VerifyCodeInput/index.tsx +76 -0
- package/{es/VerifyCodeInput/style/index.less → src/common/VerifyCodeInput/style.less} +0 -0
- package/src/components/AuthingGuard/AppMFALayout/index.tsx +74 -0
- package/{es/AuthingGuard/style/appMFALayout.less → src/components/AuthingGuard/AppMFALayout/style.less} +0 -0
- package/src/components/AuthingGuard/CompleteUserInfoLayout/index.tsx +29 -0
- package/{es/AuthingGuard/style/completeUserInfoLayout.less → src/components/AuthingGuard/CompleteUserInfoLayout/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/ADLoginForm/index.tsx +117 -0
- package/src/components/AuthingGuard/Forms/Agreements/index.tsx +81 -0
- package/{es/AuthingGuard/style/formAgreements.less → src/components/AuthingGuard/Forms/Agreements/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/CompleteUserInfoForm/index.tsx +139 -0
- package/src/components/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm.tsx +86 -0
- package/src/components/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.tsx +116 -0
- package/src/components/AuthingGuard/Forms/EmailMfaVerifyForm/index.tsx +40 -0
- package/{es/AuthingGuard/style/emailMfaVerifyForm.css → src/components/AuthingGuard/Forms/EmailMfaVerifyForm/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/EmailRegisterForm/index.tsx +181 -0
- package/{es/AuthingGuard/style/emailMfaVerifyForm.less → src/components/AuthingGuard/Forms/EmailRegisterForm/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/LdapLoginForm/index.tsx +161 -0
- package/{es/AuthingGuard/style/mfaResetCodeForm.css → src/components/AuthingGuard/Forms/LdapLoginForm/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/LoginFormFooter/index.tsx +76 -0
- package/{es/AuthingGuard/style/loginFormFooter.less → src/components/AuthingGuard/Forms/LoginFormFooter/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/MfaResetCodeForm/Step1.tsx +86 -0
- package/src/components/AuthingGuard/Forms/MfaResetCodeForm/Step2.tsx +53 -0
- package/src/components/AuthingGuard/Forms/MfaResetCodeForm/index.tsx +65 -0
- package/src/components/AuthingGuard/Forms/MfaResetCodeForm/style.less +20 -0
- package/src/components/AuthingGuard/Forms/MfaVerifyForm/index.tsx +105 -0
- package/{es/AuthingGuard/style/mfaVerifyForm.less → src/components/AuthingGuard/Forms/MfaVerifyForm/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/PasswordLoginForm/index.tsx +261 -0
- package/src/components/AuthingGuard/Forms/PhoneCodeLoginForm/index.tsx +133 -0
- package/src/components/AuthingGuard/Forms/PhoneRegisterForm/index.tsx +202 -0
- package/src/components/AuthingGuard/Forms/QrCodeLoginForm/index.tsx +61 -0
- package/{es/AuthingGuard/style/qrCodeLoginForm.less → src/components/AuthingGuard/Forms/QrCodeLoginForm/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/RegisterFormFooter/index.tsx +56 -0
- package/{es/AuthingGuard/style/mfaResetCodeForm.less → src/components/AuthingGuard/Forms/RegisterFormFooter/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/ResetPwdForm/Footer.tsx +21 -0
- package/src/components/AuthingGuard/Forms/ResetPwdForm/Step1.tsx +86 -0
- package/src/components/AuthingGuard/Forms/ResetPwdForm/Step2.tsx +127 -0
- package/src/components/AuthingGuard/Forms/ResetPwdForm/Step3.tsx +141 -0
- package/src/components/AuthingGuard/Forms/ResetPwdForm/Step4.tsx +51 -0
- package/src/components/AuthingGuard/Forms/ResetPwdForm/index.tsx +96 -0
- package/{es/AuthingGuard/style/formResetPwdForm.less → src/components/AuthingGuard/Forms/ResetPwdForm/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn.tsx +88 -0
- package/src/components/AuthingGuard/Forms/SendPhoneCode/index.tsx +50 -0
- package/{es/AuthingGuard/style/sendPhoneCode.less → src/components/AuthingGuard/Forms/SendPhoneCode/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm.tsx +86 -0
- package/src/components/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.tsx +113 -0
- package/src/components/AuthingGuard/Forms/SmsMfaVerifyForm/index.tsx +40 -0
- package/{es/AuthingGuard/style/smsMfaVerifyForm.less → src/components/AuthingGuard/Forms/SmsMfaVerifyForm/style.less} +0 -0
- package/src/components/AuthingGuard/Forms/SocialAndIdpLogin/index.tsx +325 -0
- package/src/components/AuthingGuard/Forms/SocialAndIdpLogin/style.less +75 -0
- package/src/components/AuthingGuard/Forms/UploadImage/index.tsx +70 -0
- package/src/components/AuthingGuard/Forms/index.ts +13 -0
- package/src/components/AuthingGuard/GuardLayout/index.tsx +488 -0
- package/{es/AuthingGuard/style/guardLayout.less → src/components/AuthingGuard/GuardLayout/style.less} +0 -0
- package/src/components/AuthingGuard/Header/index.tsx +28 -0
- package/{es/AuthingGuard/style/header.less → src/components/AuthingGuard/Header/style.less} +0 -0
- package/src/components/AuthingGuard/IconFont/iconfont.js +74 -0
- package/src/components/AuthingGuard/IconFont/index.tsx +19 -0
- package/{es/AuthingGuard/style/iconFont.less → src/components/AuthingGuard/IconFont/style.less} +0 -0
- package/src/components/AuthingGuard/IconFont/svg.js +2 -0
- package/src/components/AuthingGuard/LoginLayout/index.tsx +205 -0
- package/{es/AuthingGuard/style/socialAndIdpLogin.css → src/components/AuthingGuard/LoginLayout/style.less} +0 -0
- package/src/components/AuthingGuard/MfaLayout/Steps.ts +4 -0
- package/src/components/AuthingGuard/MfaLayout/index.tsx +49 -0
- package/{es/AuthingGuard/style/mfaLayout.less → src/components/AuthingGuard/MfaLayout/style.less} +0 -0
- package/src/components/AuthingGuard/RegisterLayout/index.tsx +89 -0
- package/{es/AuthingGuard/style/socialAndIdpLogin.less → src/components/AuthingGuard/RegisterLayout/style.less} +0 -0
- package/src/components/AuthingGuard/ResetPwdLayout/index.tsx +20 -0
- package/src/components/AuthingGuard/ToggleLang/index.tsx +51 -0
- package/src/components/AuthingGuard/api/appConfig.ts +154 -0
- package/src/components/AuthingGuard/api/http.ts +88 -0
- package/src/components/AuthingGuard/api/index.ts +3 -0
- package/src/components/AuthingGuard/api/sso.ts +29 -0
- package/src/components/AuthingGuard/api/userPoolConfig.ts +112 -0
- package/src/components/AuthingGuard/constants.ts +107 -0
- package/src/components/AuthingGuard/hooks/index.tsx +70 -0
- package/src/components/AuthingGuard/hooks/useScreenSize.tsx +68 -0
- package/src/components/AuthingGuard/index.tsx +134 -0
- package/{es/_utils → src/components/AuthingGuard}/locales/en/common.json +30 -84
- package/src/components/AuthingGuard/locales/en/index.ts +6 -0
- package/{lib/_utils → src/components/AuthingGuard}/locales/en/login.json +19 -28
- package/{es/_utils → src/components/AuthingGuard}/locales/en/map.json +0 -0
- package/{es/_utils → src/components/AuthingGuard}/locales/en/user.json +2 -6
- package/src/components/AuthingGuard/locales/index.ts +45 -0
- package/{es/_utils → src/components/AuthingGuard}/locales/zh/common.json +34 -88
- package/src/components/AuthingGuard/locales/zh/index.ts +6 -0
- package/{lib/_utils → src/components/AuthingGuard}/locales/zh/login.json +13 -22
- package/{es/_utils → src/components/AuthingGuard}/locales/zh/map.json +0 -0
- package/{lib/_utils → src/components/AuthingGuard}/locales/zh/user.json +8 -12
- package/{lib/AuthingGuard/style/index.less → src/components/AuthingGuard/style.less} +2 -4
- package/src/components/AuthingGuard/types/Forms.ts +95 -0
- package/src/components/AuthingGuard/types/GuardConfig.ts +424 -0
- package/src/components/AuthingGuard/types/GuardState.ts +7 -0
- package/src/components/AuthingGuard/types/Locales.ts +12 -0
- package/src/components/AuthingGuard/types/index.ts +4 -0
- package/src/components/index.ts +7 -0
- package/src/context/base.tsx +28 -0
- package/src/context/global/context.tsx +39 -0
- package/src/context/global/reducer.tsx +56 -0
- package/src/index.tsx +142 -0
- package/src/logo.svg +7 -0
- package/src/react-app-env.d.ts +71 -0
- package/src/reportWebVitals.ts +15 -0
- package/src/setupTests.ts +5 -0
- package/src/utils/clipboard.ts +27 -0
- package/src/utils/index.ts +180 -0
- package/src/utils/popupCenter.ts +48 -0
- package/tsconfig.json +24 -0
- package/dist/index.min.css +0 -2
- package/dist/index.min.js +0 -2
- package/es/AuthingDropdown/index.d.ts +0 -12
- package/es/AuthingDropdown/index.js +0 -46
- package/es/AuthingDropdown/style/css.js +0 -1
- package/es/AuthingDropdown/style/index.css +0 -1
- package/es/AuthingDropdown/style/index.d.ts +0 -1
- package/es/AuthingDropdown/style/index.js +0 -1
- package/es/AuthingGuard/AppMFALayout/index.d.ts +0 -4
- package/es/AuthingGuard/AppMFALayout/index.js +0 -75
- package/es/AuthingGuard/CompleteUserInfoLayout/index.d.ts +0 -2
- package/es/AuthingGuard/CompleteUserInfoLayout/index.js +0 -19
- package/es/AuthingGuard/Forms/ADLoginForm/index.d.ts +0 -4
- package/es/AuthingGuard/Forms/ADLoginForm/index.js +0 -187
- package/es/AuthingGuard/Forms/Agreements/index.d.ts +0 -10
- package/es/AuthingGuard/Forms/Agreements/index.js +0 -91
- package/es/AuthingGuard/Forms/CompleteUserInfoForm/index.d.ts +0 -3
- package/es/AuthingGuard/Forms/CompleteUserInfoForm/index.js +0 -237
- package/es/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm.d.ts +0 -3
- package/es/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm.js +0 -123
- package/es/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.d.ts +0 -3
- package/es/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.js +0 -184
- package/es/AuthingGuard/Forms/EmailMfaVerifyForm/index.d.ts +0 -3
- package/es/AuthingGuard/Forms/EmailMfaVerifyForm/index.js +0 -36
- package/es/AuthingGuard/Forms/EmailRegisterForm/index.d.ts +0 -4
- package/es/AuthingGuard/Forms/EmailRegisterForm/index.js +0 -244
- package/es/AuthingGuard/Forms/LdapLoginForm/index.d.ts +0 -4
- package/es/AuthingGuard/Forms/LdapLoginForm/index.js +0 -242
- package/es/AuthingGuard/Forms/LoginFormFooter/index.d.ts +0 -7
- package/es/AuthingGuard/Forms/LoginFormFooter/index.js +0 -53
- package/es/AuthingGuard/Forms/MfaResetCodeForm/Step1.d.ts +0 -10
- package/es/AuthingGuard/Forms/MfaResetCodeForm/Step1.js +0 -112
- package/es/AuthingGuard/Forms/MfaResetCodeForm/Step2.d.ts +0 -6
- package/es/AuthingGuard/Forms/MfaResetCodeForm/Step2.js +0 -44
- package/es/AuthingGuard/Forms/MfaResetCodeForm/index.d.ts +0 -3
- package/es/AuthingGuard/Forms/MfaResetCodeForm/index.js +0 -58
- package/es/AuthingGuard/Forms/MfaVerifyForm/index.d.ts +0 -3
- package/es/AuthingGuard/Forms/MfaVerifyForm/index.js +0 -137
- package/es/AuthingGuard/Forms/PasswordLoginForm/index.d.ts +0 -4
- package/es/AuthingGuard/Forms/PasswordLoginForm/index.js +0 -359
- package/es/AuthingGuard/Forms/PhoneCodeLoginForm/index.d.ts +0 -4
- package/es/AuthingGuard/Forms/PhoneCodeLoginForm/index.js +0 -203
- package/es/AuthingGuard/Forms/PhoneRegisterForm/index.d.ts +0 -4
- package/es/AuthingGuard/Forms/PhoneRegisterForm/index.js +0 -271
- package/es/AuthingGuard/Forms/QrCodeLoginForm/index.d.ts +0 -3
- package/es/AuthingGuard/Forms/QrCodeLoginForm/index.js +0 -68
- package/es/AuthingGuard/Forms/RegisterFormFooter/index.d.ts +0 -5
- package/es/AuthingGuard/Forms/RegisterFormFooter/index.js +0 -38
- package/es/AuthingGuard/Forms/ResetPwdForm/Footer.d.ts +0 -2
- package/es/AuthingGuard/Forms/ResetPwdForm/Footer.js +0 -22
- package/es/AuthingGuard/Forms/ResetPwdForm/Step1.d.ts +0 -3
- package/es/AuthingGuard/Forms/ResetPwdForm/Step1.js +0 -132
- package/es/AuthingGuard/Forms/ResetPwdForm/Step2.d.ts +0 -3
- package/es/AuthingGuard/Forms/ResetPwdForm/Step2.js +0 -198
- package/es/AuthingGuard/Forms/ResetPwdForm/Step3.d.ts +0 -3
- package/es/AuthingGuard/Forms/ResetPwdForm/Step3.js +0 -235
- package/es/AuthingGuard/Forms/ResetPwdForm/Step4.d.ts +0 -2
- package/es/AuthingGuard/Forms/ResetPwdForm/Step4.js +0 -56
- package/es/AuthingGuard/Forms/ResetPwdForm/index.d.ts +0 -3
- package/es/AuthingGuard/Forms/ResetPwdForm/index.js +0 -122
- package/es/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn.d.ts +0 -6
- package/es/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn.js +0 -130
- package/es/AuthingGuard/Forms/SendPhoneCode/index.d.ts +0 -8
- package/es/AuthingGuard/Forms/SendPhoneCode/index.js +0 -69
- package/es/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm.d.ts +0 -3
- package/es/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm.js +0 -125
- package/es/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.d.ts +0 -3
- package/es/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.js +0 -183
- package/es/AuthingGuard/Forms/SmsMfaVerifyForm/index.d.ts +0 -3
- package/es/AuthingGuard/Forms/SmsMfaVerifyForm/index.js +0 -36
- package/es/AuthingGuard/Forms/SocialAndIdpLogin/index.d.ts +0 -3
- package/es/AuthingGuard/Forms/SocialAndIdpLogin/index.js +0 -378
- package/es/AuthingGuard/Forms/UploadImage/index.d.ts +0 -5
- package/es/AuthingGuard/Forms/UploadImage/index.js +0 -77
- package/es/AuthingGuard/Forms/index.d.ts +0 -13
- package/es/AuthingGuard/Forms/index.js +0 -13
- package/es/AuthingGuard/GuardLayout/index.d.ts +0 -10
- package/es/AuthingGuard/GuardLayout/index.js +0 -405
- package/es/AuthingGuard/Header/index.d.ts +0 -4
- package/es/AuthingGuard/Header/index.js +0 -25
- package/es/AuthingGuard/IconFont/iconfont.d.ts +0 -1
- package/es/AuthingGuard/IconFont/iconfont.js +0 -66
- package/es/AuthingGuard/IconFont/index.d.ts +0 -7
- package/es/AuthingGuard/IconFont/index.js +0 -28
- package/es/AuthingGuard/IconFont/svg.d.ts +0 -1
- package/es/AuthingGuard/IconFont/svg.js +0 -1
- package/es/AuthingGuard/LoginLayout/index.d.ts +0 -2
- package/es/AuthingGuard/LoginLayout/index.js +0 -211
- package/es/AuthingGuard/MfaLayout/Steps.d.ts +0 -4
- package/es/AuthingGuard/MfaLayout/Steps.js +0 -6
- package/es/AuthingGuard/MfaLayout/index.d.ts +0 -4
- package/es/AuthingGuard/MfaLayout/index.js +0 -55
- package/es/AuthingGuard/RegisterLayout/index.d.ts +0 -2
- package/es/AuthingGuard/RegisterLayout/index.js +0 -103
- package/es/AuthingGuard/ResetPwdLayout/index.d.ts +0 -2
- package/es/AuthingGuard/ResetPwdLayout/index.js +0 -26
- package/es/AuthingGuard/ToggleLang/index.d.ts +0 -2
- package/es/AuthingGuard/ToggleLang/index.js +0 -53
- package/es/AuthingGuard/api/appConfig.d.ts +0 -116
- package/es/AuthingGuard/api/appConfig.js +0 -20
- package/es/AuthingGuard/api/index.d.ts +0 -3
- package/es/AuthingGuard/api/index.js +0 -3
- package/es/AuthingGuard/api/sso.d.ts +0 -19
- package/es/AuthingGuard/api/sso.js +0 -6
- package/es/AuthingGuard/api/userPoolConfig.d.ts +0 -81
- package/es/AuthingGuard/api/userPoolConfig.js +0 -9
- package/es/AuthingGuard/constants.d.ts +0 -32
- package/es/AuthingGuard/constants.js +0 -70
- package/es/AuthingGuard/hooks/index.d.ts +0 -20
- package/es/AuthingGuard/hooks/index.js +0 -52
- package/es/AuthingGuard/hooks/useScreenSize.d.ts +0 -10
- package/es/AuthingGuard/hooks/useScreenSize.js +0 -74
- package/es/AuthingGuard/index.d.ts +0 -12
- package/es/AuthingGuard/index.js +0 -135
- package/es/AuthingGuard/style/appMFALayout.css +0 -1
- package/es/AuthingGuard/style/completeUserInfoLayout.css +0 -1
- package/es/AuthingGuard/style/css.js +0 -17
- package/es/AuthingGuard/style/formAgreements.css +0 -1
- package/es/AuthingGuard/style/formResetPwdForm.css +0 -1
- package/es/AuthingGuard/style/guardLayout.css +0 -1
- package/es/AuthingGuard/style/header.css +0 -1
- package/es/AuthingGuard/style/iconFont.css +0 -1
- package/es/AuthingGuard/style/index.css +0 -1
- package/es/AuthingGuard/style/index.d.ts +0 -17
- package/es/AuthingGuard/style/index.js +0 -17
- package/es/AuthingGuard/style/index.less +0 -106
- package/es/AuthingGuard/style/loginFormFooter.css +0 -1
- package/es/AuthingGuard/style/mfaLayout.css +0 -1
- package/es/AuthingGuard/style/mfaVerifyForm.css +0 -1
- package/es/AuthingGuard/style/qrCodeLoginForm.css +0 -1
- package/es/AuthingGuard/style/sendPhoneCode.css +0 -1
- package/es/AuthingGuard/style/smsMfaVerifyForm.css +0 -1
- package/es/AuthingGuard/types/Forms.d.ts +0 -79
- package/es/AuthingGuard/types/Forms.js +0 -1
- package/es/AuthingGuard/types/GuardConfig.d.ts +0 -241
- package/es/AuthingGuard/types/GuardConfig.js +0 -179
- package/es/AuthingGuard/types/GuardState.d.ts +0 -6
- package/es/AuthingGuard/types/GuardState.js +0 -1
- package/es/AuthingGuard/types/Locales.d.ts +0 -5
- package/es/AuthingGuard/types/Locales.js +0 -7
- package/es/AuthingGuard/types/index.d.ts +0 -4
- package/es/AuthingGuard/types/index.js +0 -4
- package/es/AuthingTabs/index.d.ts +0 -12
- package/es/AuthingTabs/index.js +0 -81
- package/es/AuthingTabs/style/css.js +0 -1
- package/es/AuthingTabs/style/index.css +0 -1
- package/es/AuthingTabs/style/index.d.ts +0 -1
- package/es/AuthingTabs/style/index.js +0 -1
- package/es/BindTotp/core/bindSuccess.d.ts +0 -6
- package/es/BindTotp/core/bindSuccess.js +0 -111
- package/es/BindTotp/core/securityCode.d.ts +0 -8
- package/es/BindTotp/core/securityCode.js +0 -139
- package/es/BindTotp/index.d.ts +0 -3
- package/es/BindTotp/index.js +0 -169
- package/es/BindTotp/interface.d.ts +0 -19
- package/es/BindTotp/interface.js +0 -21
- package/es/BindTotp/style/css.js +0 -1
- package/es/BindTotp/style/index.css +0 -1
- package/es/BindTotp/style/index.d.ts +0 -1
- package/es/BindTotp/style/index.js +0 -1
- package/es/BindTotp/style/index.less +0 -57
- package/es/ChangeLanguage/index.d.ts +0 -2
- package/es/ChangeLanguage/index.js +0 -44
- package/es/ChangePassword/core/firstLoginReset.d.ts +0 -8
- package/es/ChangePassword/core/firstLoginReset.js +0 -140
- package/es/ChangePassword/core/rotateReset.d.ts +0 -8
- package/es/ChangePassword/core/rotateReset.js +0 -159
- package/es/ChangePassword/index.d.ts +0 -2
- package/es/ChangePassword/index.js +0 -78
- package/es/CompleteInfo/core/completeInfo.d.ts +0 -16
- package/es/CompleteInfo/core/completeInfo.js +0 -582
- package/es/CompleteInfo/index.d.ts +0 -3
- package/es/CompleteInfo/index.js +0 -52
- package/es/CompleteInfo/interface.d.ts +0 -32
- package/es/CompleteInfo/interface.js +0 -21
- package/es/CompleteInfo/style/css.js +0 -1
- package/es/CompleteInfo/style/index.css +0 -1
- package/es/CompleteInfo/style/index.d.ts +0 -1
- package/es/CompleteInfo/style/index.js +0 -1
- package/es/CompleteInfo/style/index.less +0 -7
- package/es/CompleteInfo/utils.d.ts +0 -3
- package/es/CompleteInfo/utils.js +0 -42
- package/es/CopyAbleText/index.d.ts +0 -4
- package/es/CopyAbleText/index.js +0 -51
- package/es/CopyAbleText/style/css.js +0 -1
- package/es/CopyAbleText/style/index.css +0 -1
- package/es/CopyAbleText/style/index.d.ts +0 -1
- package/es/CopyAbleText/style/index.js +0 -1
- package/es/DownloadAuthenticator/index.d.ts +0 -3
- package/es/DownloadAuthenticator/index.js +0 -92
- package/es/DownloadAuthenticator/interface.d.ts +0 -12
- package/es/DownloadAuthenticator/interface.js +0 -21
- package/es/DownloadAuthenticator/style/css.js +0 -1
- package/es/DownloadAuthenticator/style/index.css +0 -1
- package/es/DownloadAuthenticator/style/index.d.ts +0 -1
- package/es/DownloadAuthenticator/style/index.js +0 -1
- package/es/DownloadAuthenticator/style/index.less +0 -58
- package/es/Error/ErrorSVG.d.ts +0 -2
- package/es/Error/ErrorSVG.js +0 -9
- package/es/Error/index.d.ts +0 -3
- package/es/Error/index.js +0 -19
- package/es/Error/interface.d.ts +0 -8
- package/es/Error/interface.js +0 -1
- package/es/Error/style/css.js +0 -1
- package/es/Error/style/index.css +0 -1
- package/es/Error/style/index.d.ts +0 -1
- package/es/Error/style/index.js +0 -1
- package/es/Error/style/index.less +0 -12
- package/es/ForgetPassword/core/resetPassword.d.ts +0 -9
- package/es/ForgetPassword/core/resetPassword.js +0 -224
- package/es/ForgetPassword/index.d.ts +0 -3
- package/es/ForgetPassword/index.js +0 -107
- package/es/ForgetPassword/interface.d.ts +0 -18
- package/es/ForgetPassword/interface.js +0 -1
- package/es/Guard/Guard.d.ts +0 -10
- package/es/Guard/Guard.js +0 -349
- package/es/Guard/authClient.d.ts +0 -5
- package/es/Guard/authClient.js +0 -38
- package/es/Guard/config.d.ts +0 -8
- package/es/Guard/config.js +0 -24
- package/es/Guard/event.d.ts +0 -8
- package/es/Guard/event.js +0 -74
- package/es/Guard/index.d.ts +0 -4
- package/es/Guard/index.js +0 -4
- package/es/Guard/module.d.ts +0 -20
- package/es/Guard/module.js +0 -16
- package/es/Guard/sso.d.ts +0 -19
- package/es/Guard/sso.js +0 -32
- package/es/Guard/stateMachine.d.ts +0 -36
- package/es/Guard/stateMachine.js +0 -158
- package/es/Guard/style/css.js +0 -19
- package/es/Guard/style/index.css +0 -1
- package/es/Guard/style/index.d.ts +0 -19
- package/es/Guard/style/index.js +0 -19
- package/es/Guard/style/index.less +0 -615
- package/es/IconFont/iconfont.d.ts +0 -1
- package/es/IconFont/iconfont.js +0 -66
- package/es/IconFont/index.d.ts +0 -7
- package/es/IconFont/index.js +0 -28
- package/es/IconFont/style/css.js +0 -1
- package/es/IconFont/style/index.css +0 -1
- package/es/IconFont/style/index.d.ts +0 -1
- package/es/IconFont/style/index.js +0 -1
- package/es/IconFont/style/index.less +0 -6
- package/es/IconFont/svg.d.ts +0 -1
- package/es/IconFont/svg.js +0 -1
- package/es/ImagePro/index.d.ts +0 -13
- package/es/ImagePro/index.js +0 -65
- package/es/ImagePro/style/css.js +0 -1
- package/es/ImagePro/style/index.css +0 -1
- package/es/ImagePro/style/index.d.ts +0 -1
- package/es/ImagePro/style/index.js +0 -1
- package/es/ImagePro/style/index.less +0 -40
- package/es/InputNumber/index.d.ts +0 -5
- package/es/InputNumber/index.js +0 -37
- package/es/InputPassword/index.d.ts +0 -4
- package/es/InputPassword/index.js +0 -24
- package/es/Login/codemap.d.ts +0 -2
- package/es/Login/codemap.js +0 -46
- package/es/Login/core/withAD.d.ts +0 -6
- package/es/Login/core/withAD.js +0 -6
- package/es/Login/core/withAppQrcode.d.ts +0 -8
- package/es/Login/core/withAppQrcode.js +0 -65
- package/es/Login/core/withLDAP.d.ts +0 -10
- package/es/Login/core/withLDAP.js +0 -210
- package/es/Login/core/withPassword/FormItemAccount.d.ts +0 -7
- package/es/Login/core/withPassword/FormItemAccount.js +0 -34
- package/es/Login/core/withPassword/GraphicVerifyCode.d.ts +0 -7
- package/es/Login/core/withPassword/GraphicVerifyCode.js +0 -29
- package/es/Login/core/withPassword/InputAccount.d.ts +0 -7
- package/es/Login/core/withPassword/InputAccount.js +0 -56
- package/es/Login/core/withPassword/index.d.ts +0 -12
- package/es/Login/core/withPassword/index.js +0 -221
- package/es/Login/core/withPhonecode.d.ts +0 -2
- package/es/Login/core/withPhonecode.js +0 -164
- package/es/Login/core/withWechatMiniQrcode.d.ts +0 -8
- package/es/Login/core/withWechatMiniQrcode.js +0 -76
- package/es/Login/core/withWechatmpQrcode.d.ts +0 -8
- package/es/Login/core/withWechatmpQrcode.js +0 -66
- package/es/Login/index.d.ts +0 -3
- package/es/Login/index.js +0 -434
- package/es/Login/interface.d.ts +0 -31
- package/es/Login/interface.js +0 -30
- package/es/Login/socialLogin/index.d.ts +0 -8
- package/es/Login/socialLogin/index.js +0 -450
- package/es/Login/style/css.js +0 -2
- package/es/Login/style/index.css +0 -1
- package/es/Login/style/index.d.ts +0 -2
- package/es/Login/style/index.js +0 -2
- package/es/Login/style/index.less +0 -99
- package/es/Login/style/socialLogin.css +0 -1
- package/es/Login/style/socialLogin.less +0 -77
- package/es/MFA/VerifyCodeInput/VerifyCodeFormItem.d.ts +0 -7
- package/es/MFA/VerifyCodeInput/VerifyCodeFormItem.js +0 -37
- package/es/MFA/VerifyCodeInput/index.d.ts +0 -13
- package/es/MFA/VerifyCodeInput/index.js +0 -175
- package/es/MFA/codemap.d.ts +0 -2
- package/es/MFA/codemap.js +0 -26
- package/es/MFA/core/email.d.ts +0 -23
- package/es/MFA/core/email.js +0 -302
- package/es/MFA/core/face.d.ts +0 -2
- package/es/MFA/core/face.js +0 -358
- package/es/MFA/core/face_deps.d.ts +0 -12
- package/es/MFA/core/face_deps.js +0 -39
- package/es/MFA/core/sms.d.ts +0 -22
- package/es/MFA/core/sms.js +0 -296
- package/es/MFA/core/totp.d.ts +0 -19
- package/es/MFA/core/totp.js +0 -146
- package/es/MFA/index.d.ts +0 -3
- package/es/MFA/index.js +0 -170
- package/es/MFA/interface.d.ts +0 -38
- package/es/MFA/interface.js +0 -29
- package/es/MFA/mfaMethods/index.d.ts +0 -8
- package/es/MFA/mfaMethods/index.js +0 -80
- package/es/MFA/style/css.js +0 -3
- package/es/MFA/style/index.css +0 -1
- package/es/MFA/style/index.d.ts +0 -3
- package/es/MFA/style/index.js +0 -3
- package/es/MFA/style/index.less +0 -101
- package/es/MFA/style/mfaMethods.css +0 -1
- package/es/MFA/style/mfaMethods.less +0 -42
- package/es/MFA/style/verifyCodeInput.css +0 -1
- package/es/MFA/style/verifyCodeInput.less +0 -38
- package/es/NeedHelpView/core/describeQuestions.d.ts +0 -8
- package/es/NeedHelpView/core/describeQuestions.js +0 -299
- package/es/NeedHelpView/index.d.ts +0 -2
- package/es/NeedHelpView/index.js +0 -48
- package/es/RecoveryCode/core/useCode.d.ts +0 -5
- package/es/RecoveryCode/core/useCode.js +0 -93
- package/es/RecoveryCode/index.d.ts +0 -3
- package/es/RecoveryCode/index.js +0 -28
- package/es/RecoveryCode/interface.d.ts +0 -19
- package/es/RecoveryCode/interface.js +0 -21
- package/es/RecoveryCode/style/css.js +0 -1
- package/es/RecoveryCode/style/index.css +0 -1
- package/es/RecoveryCode/style/index.d.ts +0 -1
- package/es/RecoveryCode/style/index.js +0 -1
- package/es/RecoveryCode/style/index.less +0 -13
- package/es/Register/codemap.d.ts +0 -2
- package/es/Register/codemap.js +0 -10
- package/es/Register/components/Agreements/index.d.ts +0 -10
- package/es/Register/components/Agreements/index.js +0 -91
- package/es/Register/core/WithEmail.d.ts +0 -9
- package/es/Register/core/WithEmail.js +0 -262
- package/es/Register/core/WithPhone.d.ts +0 -8
- package/es/Register/core/WithPhone.js +0 -208
- package/es/Register/index.d.ts +0 -3
- package/es/Register/index.js +0 -171
- package/es/Register/interface.d.ts +0 -25
- package/es/Register/interface.js +0 -28
- package/es/Register/style/css.js +0 -1
- package/es/Register/style/index.css +0 -1
- package/es/Register/style/index.d.ts +0 -1
- package/es/Register/style/index.js +0 -1
- package/es/Register/style/index.less +0 -44
- package/es/SendCode/SendCodeBtn.d.ts +0 -9
- package/es/SendCode/SendCodeBtn.js +0 -138
- package/es/SendCode/index.d.ts +0 -11
- package/es/SendCode/index.js +0 -208
- package/es/SendCode/style/css.js +0 -1
- package/es/SendCode/style/index.css +0 -1
- package/es/SendCode/style/index.d.ts +0 -1
- package/es/SendCode/style/index.js +0 -1
- package/es/SendCode/style/index.less +0 -31
- package/es/ShieldSpin/LoadingSVG.d.ts +0 -2
- package/es/ShieldSpin/LoadingSVG.js +0 -9
- package/es/ShieldSpin/index.d.ts +0 -7
- package/es/ShieldSpin/index.js +0 -18
- package/es/SubmitButton/index.d.ts +0 -8
- package/es/SubmitButton/index.js +0 -58
- package/es/SubmitSuccess/index.d.ts +0 -3
- package/es/SubmitSuccess/index.js +0 -74
- package/es/SubmitSuccess/interface.d.ts +0 -13
- package/es/SubmitSuccess/interface.js +0 -1
- package/es/Type/index.d.ts +0 -35
- package/es/Type/index.js +0 -14
- package/es/ValidatorRules/PasswordFormItem.d.ts +0 -3
- package/es/ValidatorRules/PasswordFormItem.js +0 -24
- package/es/ValidatorRules/ValidatorFormItem.d.ts +0 -5
- package/es/ValidatorRules/ValidatorFormItem.js +0 -239
- package/es/ValidatorRules/index.d.ts +0 -27
- package/es/ValidatorRules/index.js +0 -9
- package/es/VerifyCodeInput/index.d.ts +0 -9
- package/es/VerifyCodeInput/index.js +0 -89
- package/es/VerifyCodeInput/style/css.js +0 -1
- package/es/VerifyCodeInput/style/index.css +0 -1
- package/es/VerifyCodeInput/style/index.d.ts +0 -1
- package/es/VerifyCodeInput/style/index.js +0 -1
- package/es/_utils/GuardErrorCode.d.ts +0 -9
- package/es/_utils/GuardErrorCode.js +0 -11
- package/es/_utils/clipboard.d.ts +0 -1
- package/es/_utils/clipboard.js +0 -35
- package/es/_utils/config.d.ts +0 -7
- package/es/_utils/config.js +0 -145
- package/es/_utils/context.d.ts +0 -8
- package/es/_utils/context.js +0 -14
- package/es/_utils/errorFace.d.ts +0 -12
- package/es/_utils/errorFace.js +0 -32
- package/es/_utils/guradHttp.d.ts +0 -21
- package/es/_utils/guradHttp.js +0 -178
- package/es/_utils/hooks/index.d.ts +0 -4
- package/es/_utils/hooks/index.js +0 -60
- package/es/_utils/http.d.ts +0 -23
- package/es/_utils/http.js +0 -189
- package/es/_utils/index.d.ts +0 -60
- package/es/_utils/index.js +0 -452
- package/es/_utils/locales/en/index.d.ts +0 -5
- package/es/_utils/locales/en/index.js +0 -5
- package/es/_utils/locales/en/login.json +0 -103
- package/es/_utils/locales/index.d.ts +0 -5
- package/es/_utils/locales/index.js +0 -47
- package/es/_utils/locales/zh/index.d.ts +0 -5
- package/es/_utils/locales/zh/index.js +0 -5
- package/es/_utils/locales/zh/login.json +0 -103
- package/es/_utils/locales/zh/user.json +0 -85
- package/es/_utils/popupCenter.d.ts +0 -9
- package/es/_utils/popupCenter.js +0 -28
- package/es/context/base.d.ts +0 -12
- package/es/context/base.js +0 -15
- package/es/context/global/context.d.ts +0 -10
- package/es/context/global/context.js +0 -47
- package/es/context/global/reducer.d.ts +0 -29
- package/es/context/global/reducer.js +0 -32
- package/es/context/module/context.d.ts +0 -11
- package/es/context/module/context.js +0 -21
- package/es/index.d.ts +0 -8
- package/es/index.js +0 -8
- package/es/version/index.d.ts +0 -2
- package/es/version/index.js +0 -2
- package/es/version/version.d.ts +0 -2
- package/es/version/version.js +0 -1
- package/lib/AuthingDropdown/index.d.ts +0 -12
- package/lib/AuthingDropdown/index.js +0 -61
- package/lib/AuthingDropdown/style/css.js +0 -3
- package/lib/AuthingDropdown/style/index.css +0 -1
- package/lib/AuthingDropdown/style/index.d.ts +0 -1
- package/lib/AuthingDropdown/style/index.js +0 -3
- package/lib/AuthingDropdown/style/index.less +0 -43
- package/lib/AuthingGuard/AppMFALayout/index.d.ts +0 -4
- package/lib/AuthingGuard/AppMFALayout/index.js +0 -89
- package/lib/AuthingGuard/CompleteUserInfoLayout/index.d.ts +0 -2
- package/lib/AuthingGuard/CompleteUserInfoLayout/index.js +0 -34
- package/lib/AuthingGuard/Forms/ADLoginForm/index.d.ts +0 -4
- package/lib/AuthingGuard/Forms/ADLoginForm/index.js +0 -203
- package/lib/AuthingGuard/Forms/Agreements/index.d.ts +0 -10
- package/lib/AuthingGuard/Forms/Agreements/index.js +0 -90
- package/lib/AuthingGuard/Forms/CompleteUserInfoForm/index.d.ts +0 -3
- package/lib/AuthingGuard/Forms/CompleteUserInfoForm/index.js +0 -237
- package/lib/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm.d.ts +0 -3
- package/lib/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm.js +0 -137
- package/lib/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.d.ts +0 -3
- package/lib/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.js +0 -199
- package/lib/AuthingGuard/Forms/EmailMfaVerifyForm/index.d.ts +0 -3
- package/lib/AuthingGuard/Forms/EmailMfaVerifyForm/index.js +0 -54
- package/lib/AuthingGuard/Forms/EmailRegisterForm/index.d.ts +0 -4
- package/lib/AuthingGuard/Forms/EmailRegisterForm/index.js +0 -258
- package/lib/AuthingGuard/Forms/LdapLoginForm/index.d.ts +0 -4
- package/lib/AuthingGuard/Forms/LdapLoginForm/index.js +0 -255
- package/lib/AuthingGuard/Forms/LoginFormFooter/index.d.ts +0 -7
- package/lib/AuthingGuard/Forms/LoginFormFooter/index.js +0 -66
- package/lib/AuthingGuard/Forms/MfaResetCodeForm/Step1.d.ts +0 -10
- package/lib/AuthingGuard/Forms/MfaResetCodeForm/Step1.js +0 -129
- package/lib/AuthingGuard/Forms/MfaResetCodeForm/Step2.d.ts +0 -6
- package/lib/AuthingGuard/Forms/MfaResetCodeForm/Step2.js +0 -53
- package/lib/AuthingGuard/Forms/MfaResetCodeForm/index.d.ts +0 -3
- package/lib/AuthingGuard/Forms/MfaResetCodeForm/index.js +0 -77
- package/lib/AuthingGuard/Forms/MfaVerifyForm/index.d.ts +0 -3
- package/lib/AuthingGuard/Forms/MfaVerifyForm/index.js +0 -151
- package/lib/AuthingGuard/Forms/PasswordLoginForm/index.d.ts +0 -4
- package/lib/AuthingGuard/Forms/PasswordLoginForm/index.js +0 -368
- package/lib/AuthingGuard/Forms/PhoneCodeLoginForm/index.d.ts +0 -4
- package/lib/AuthingGuard/Forms/PhoneCodeLoginForm/index.js +0 -217
- package/lib/AuthingGuard/Forms/PhoneRegisterForm/index.d.ts +0 -4
- package/lib/AuthingGuard/Forms/PhoneRegisterForm/index.js +0 -286
- package/lib/AuthingGuard/Forms/QrCodeLoginForm/index.d.ts +0 -3
- package/lib/AuthingGuard/Forms/QrCodeLoginForm/index.js +0 -76
- package/lib/AuthingGuard/Forms/RegisterFormFooter/index.d.ts +0 -5
- package/lib/AuthingGuard/Forms/RegisterFormFooter/index.js +0 -53
- package/lib/AuthingGuard/Forms/ResetPwdForm/Footer.d.ts +0 -2
- package/lib/AuthingGuard/Forms/ResetPwdForm/Footer.js +0 -37
- package/lib/AuthingGuard/Forms/ResetPwdForm/Step1.d.ts +0 -3
- package/lib/AuthingGuard/Forms/ResetPwdForm/Step1.js +0 -147
- package/lib/AuthingGuard/Forms/ResetPwdForm/Step2.d.ts +0 -3
- package/lib/AuthingGuard/Forms/ResetPwdForm/Step2.js +0 -213
- package/lib/AuthingGuard/Forms/ResetPwdForm/Step3.d.ts +0 -3
- package/lib/AuthingGuard/Forms/ResetPwdForm/Step3.js +0 -248
- package/lib/AuthingGuard/Forms/ResetPwdForm/Step4.d.ts +0 -2
- package/lib/AuthingGuard/Forms/ResetPwdForm/Step4.js +0 -74
- package/lib/AuthingGuard/Forms/ResetPwdForm/index.d.ts +0 -3
- package/lib/AuthingGuard/Forms/ResetPwdForm/index.js +0 -146
- package/lib/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn.d.ts +0 -6
- package/lib/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn.js +0 -148
- package/lib/AuthingGuard/Forms/SendPhoneCode/index.d.ts +0 -8
- package/lib/AuthingGuard/Forms/SendPhoneCode/index.js +0 -87
- package/lib/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm.d.ts +0 -3
- package/lib/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm.js +0 -139
- package/lib/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.d.ts +0 -3
- package/lib/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.js +0 -197
- package/lib/AuthingGuard/Forms/SmsMfaVerifyForm/index.d.ts +0 -3
- package/lib/AuthingGuard/Forms/SmsMfaVerifyForm/index.js +0 -54
- package/lib/AuthingGuard/Forms/SocialAndIdpLogin/index.d.ts +0 -3
- package/lib/AuthingGuard/Forms/SocialAndIdpLogin/index.js +0 -387
- package/lib/AuthingGuard/Forms/UploadImage/index.d.ts +0 -5
- package/lib/AuthingGuard/Forms/UploadImage/index.js +0 -92
- package/lib/AuthingGuard/Forms/index.d.ts +0 -13
- package/lib/AuthingGuard/Forms/index.js +0 -174
- package/lib/AuthingGuard/GuardLayout/index.d.ts +0 -10
- package/lib/AuthingGuard/GuardLayout/index.js +0 -424
- package/lib/AuthingGuard/Header/index.d.ts +0 -4
- package/lib/AuthingGuard/Header/index.js +0 -38
- package/lib/AuthingGuard/IconFont/iconfont.d.ts +0 -1
- package/lib/AuthingGuard/IconFont/iconfont.js +0 -63
- package/lib/AuthingGuard/IconFont/index.d.ts +0 -7
- package/lib/AuthingGuard/IconFont/index.js +0 -34
- package/lib/AuthingGuard/IconFont/svg.d.ts +0 -1
- package/lib/AuthingGuard/IconFont/svg.js +0 -8
- package/lib/AuthingGuard/LoginLayout/index.d.ts +0 -2
- package/lib/AuthingGuard/LoginLayout/index.js +0 -210
- package/lib/AuthingGuard/MfaLayout/Steps.d.ts +0 -4
- package/lib/AuthingGuard/MfaLayout/Steps.js +0 -13
- package/lib/AuthingGuard/MfaLayout/index.d.ts +0 -4
- package/lib/AuthingGuard/MfaLayout/index.js +0 -76
- package/lib/AuthingGuard/RegisterLayout/index.d.ts +0 -2
- package/lib/AuthingGuard/RegisterLayout/index.js +0 -109
- package/lib/AuthingGuard/ResetPwdLayout/index.d.ts +0 -2
- package/lib/AuthingGuard/ResetPwdLayout/index.js +0 -40
- package/lib/AuthingGuard/ToggleLang/index.d.ts +0 -2
- package/lib/AuthingGuard/ToggleLang/index.js +0 -64
- package/lib/AuthingGuard/api/appConfig.d.ts +0 -116
- package/lib/AuthingGuard/api/appConfig.js +0 -38
- package/lib/AuthingGuard/api/index.d.ts +0 -3
- package/lib/AuthingGuard/api/index.js +0 -44
- package/lib/AuthingGuard/api/sso.d.ts +0 -19
- package/lib/AuthingGuard/api/sso.js +0 -16
- package/lib/AuthingGuard/api/userPoolConfig.d.ts +0 -81
- package/lib/AuthingGuard/api/userPoolConfig.js +0 -16
- package/lib/AuthingGuard/constants.d.ts +0 -32
- package/lib/AuthingGuard/constants.js +0 -96
- package/lib/AuthingGuard/hooks/index.d.ts +0 -20
- package/lib/AuthingGuard/hooks/index.js +0 -66
- package/lib/AuthingGuard/hooks/useScreenSize.d.ts +0 -10
- package/lib/AuthingGuard/hooks/useScreenSize.js +0 -89
- package/lib/AuthingGuard/index.d.ts +0 -12
- package/lib/AuthingGuard/index.js +0 -140
- package/lib/AuthingGuard/style/appMFALayout.css +0 -1
- package/lib/AuthingGuard/style/appMFALayout.less +0 -12
- package/lib/AuthingGuard/style/completeUserInfoLayout.css +0 -1
- package/lib/AuthingGuard/style/completeUserInfoLayout.less +0 -8
- package/lib/AuthingGuard/style/css.js +0 -35
- package/lib/AuthingGuard/style/emailMfaVerifyForm.css +0 -0
- package/lib/AuthingGuard/style/emailMfaVerifyForm.less +0 -0
- package/lib/AuthingGuard/style/formAgreements.css +0 -1
- package/lib/AuthingGuard/style/formAgreements.less +0 -44
- package/lib/AuthingGuard/style/formResetPwdForm.css +0 -1
- package/lib/AuthingGuard/style/formResetPwdForm.less +0 -3
- package/lib/AuthingGuard/style/guardLayout.css +0 -1
- package/lib/AuthingGuard/style/guardLayout.less +0 -111
- package/lib/AuthingGuard/style/header.css +0 -1
- package/lib/AuthingGuard/style/header.less +0 -64
- package/lib/AuthingGuard/style/iconFont.css +0 -1
- package/lib/AuthingGuard/style/iconFont.less +0 -6
- package/lib/AuthingGuard/style/index.css +0 -1
- package/lib/AuthingGuard/style/index.d.ts +0 -17
- package/lib/AuthingGuard/style/index.js +0 -35
- package/lib/AuthingGuard/style/loginFormFooter.css +0 -1
- package/lib/AuthingGuard/style/loginFormFooter.less +0 -6
- package/lib/AuthingGuard/style/mfaLayout.css +0 -1
- package/lib/AuthingGuard/style/mfaLayout.less +0 -3
- package/lib/AuthingGuard/style/mfaResetCodeForm.css +0 -0
- package/lib/AuthingGuard/style/mfaResetCodeForm.less +0 -0
- package/lib/AuthingGuard/style/mfaVerifyForm.css +0 -1
- package/lib/AuthingGuard/style/mfaVerifyForm.less +0 -12
- package/lib/AuthingGuard/style/qrCodeLoginForm.css +0 -1
- package/lib/AuthingGuard/style/qrCodeLoginForm.less +0 -14
- package/lib/AuthingGuard/style/sendPhoneCode.css +0 -1
- package/lib/AuthingGuard/style/sendPhoneCode.less +0 -26
- package/lib/AuthingGuard/style/smsMfaVerifyForm.css +0 -1
- package/lib/AuthingGuard/style/smsMfaVerifyForm.less +0 -3
- package/lib/AuthingGuard/style/socialAndIdpLogin.css +0 -0
- package/lib/AuthingGuard/style/socialAndIdpLogin.less +0 -0
- package/lib/AuthingGuard/types/Forms.d.ts +0 -79
- package/lib/AuthingGuard/types/Forms.js +0 -5
- package/lib/AuthingGuard/types/GuardConfig.d.ts +0 -241
- package/lib/AuthingGuard/types/GuardConfig.js +0 -194
- package/lib/AuthingGuard/types/GuardState.d.ts +0 -6
- package/lib/AuthingGuard/types/GuardState.js +0 -3
- package/lib/AuthingGuard/types/Locales.d.ts +0 -5
- package/lib/AuthingGuard/types/Locales.js +0 -14
- package/lib/AuthingGuard/types/index.d.ts +0 -4
- package/lib/AuthingGuard/types/index.js +0 -57
- package/lib/AuthingTabs/index.d.ts +0 -12
- package/lib/AuthingTabs/index.js +0 -92
- package/lib/AuthingTabs/style/css.js +0 -3
- package/lib/AuthingTabs/style/index.css +0 -1
- package/lib/AuthingTabs/style/index.d.ts +0 -1
- package/lib/AuthingTabs/style/index.js +0 -3
- package/lib/AuthingTabs/style/index.less +0 -135
- package/lib/BindTotp/core/bindSuccess.d.ts +0 -6
- package/lib/BindTotp/core/bindSuccess.js +0 -126
- package/lib/BindTotp/core/securityCode.d.ts +0 -8
- package/lib/BindTotp/core/securityCode.js +0 -162
- package/lib/BindTotp/index.d.ts +0 -3
- package/lib/BindTotp/index.js +0 -197
- package/lib/BindTotp/interface.d.ts +0 -19
- package/lib/BindTotp/interface.js +0 -24
- package/lib/BindTotp/style/css.js +0 -3
- package/lib/BindTotp/style/index.css +0 -1
- package/lib/BindTotp/style/index.d.ts +0 -1
- package/lib/BindTotp/style/index.js +0 -3
- package/lib/BindTotp/style/index.less +0 -57
- package/lib/ChangeLanguage/index.d.ts +0 -2
- package/lib/ChangeLanguage/index.js +0 -59
- package/lib/ChangePassword/core/firstLoginReset.d.ts +0 -8
- package/lib/ChangePassword/core/firstLoginReset.js +0 -160
- package/lib/ChangePassword/core/rotateReset.d.ts +0 -8
- package/lib/ChangePassword/core/rotateReset.js +0 -181
- package/lib/ChangePassword/index.d.ts +0 -2
- package/lib/ChangePassword/index.js +0 -91
- package/lib/CompleteInfo/core/completeInfo.d.ts +0 -16
- package/lib/CompleteInfo/core/completeInfo.js +0 -574
- package/lib/CompleteInfo/index.d.ts +0 -3
- package/lib/CompleteInfo/index.js +0 -68
- package/lib/CompleteInfo/interface.d.ts +0 -32
- package/lib/CompleteInfo/interface.js +0 -24
- package/lib/CompleteInfo/style/css.js +0 -3
- package/lib/CompleteInfo/style/index.css +0 -1
- package/lib/CompleteInfo/style/index.d.ts +0 -1
- package/lib/CompleteInfo/style/index.js +0 -3
- package/lib/CompleteInfo/style/index.less +0 -7
- package/lib/CompleteInfo/utils.d.ts +0 -3
- package/lib/CompleteInfo/utils.js +0 -51
- package/lib/CopyAbleText/index.d.ts +0 -4
- package/lib/CopyAbleText/index.js +0 -68
- package/lib/CopyAbleText/style/css.js +0 -3
- package/lib/CopyAbleText/style/index.css +0 -1
- package/lib/CopyAbleText/style/index.d.ts +0 -1
- package/lib/CopyAbleText/style/index.js +0 -3
- package/lib/CopyAbleText/style/index.less +0 -13
- package/lib/DownloadAuthenticator/index.d.ts +0 -3
- package/lib/DownloadAuthenticator/index.js +0 -106
- package/lib/DownloadAuthenticator/interface.d.ts +0 -12
- package/lib/DownloadAuthenticator/interface.js +0 -24
- package/lib/DownloadAuthenticator/style/css.js +0 -3
- package/lib/DownloadAuthenticator/style/index.css +0 -1
- package/lib/DownloadAuthenticator/style/index.d.ts +0 -1
- package/lib/DownloadAuthenticator/style/index.js +0 -3
- package/lib/DownloadAuthenticator/style/index.less +0 -58
- package/lib/Error/ErrorSVG.d.ts +0 -2
- package/lib/Error/ErrorSVG.js +0 -21
- package/lib/Error/index.d.ts +0 -3
- package/lib/Error/index.js +0 -32
- package/lib/Error/interface.d.ts +0 -8
- package/lib/Error/interface.js +0 -5
- package/lib/Error/style/css.js +0 -3
- package/lib/Error/style/index.css +0 -1
- package/lib/Error/style/index.d.ts +0 -1
- package/lib/Error/style/index.js +0 -3
- package/lib/Error/style/index.less +0 -12
- package/lib/ForgetPassword/core/resetPassword.d.ts +0 -9
- package/lib/ForgetPassword/core/resetPassword.js +0 -246
- package/lib/ForgetPassword/index.d.ts +0 -3
- package/lib/ForgetPassword/index.js +0 -117
- package/lib/ForgetPassword/interface.d.ts +0 -18
- package/lib/ForgetPassword/interface.js +0 -5
- package/lib/Guard/Guard.d.ts +0 -10
- package/lib/Guard/Guard.js +0 -381
- package/lib/Guard/authClient.d.ts +0 -5
- package/lib/Guard/authClient.js +0 -58
- package/lib/Guard/config.d.ts +0 -8
- package/lib/Guard/config.js +0 -30
- package/lib/Guard/event.d.ts +0 -8
- package/lib/Guard/event.js +0 -71
- package/lib/Guard/index.d.ts +0 -4
- package/lib/Guard/index.js +0 -57
- package/lib/Guard/module.d.ts +0 -20
- package/lib/Guard/module.js +0 -23
- package/lib/Guard/sso.d.ts +0 -19
- package/lib/Guard/sso.js +0 -46
- package/lib/Guard/stateMachine.d.ts +0 -36
- package/lib/Guard/stateMachine.js +0 -155
- package/lib/Guard/style/css.js +0 -39
- package/lib/Guard/style/index.css +0 -1
- package/lib/Guard/style/index.d.ts +0 -19
- package/lib/Guard/style/index.js +0 -39
- package/lib/Guard/style/index.less +0 -615
- package/lib/IconFont/iconfont.d.ts +0 -1
- package/lib/IconFont/iconfont.js +0 -63
- package/lib/IconFont/index.d.ts +0 -7
- package/lib/IconFont/index.js +0 -34
- package/lib/IconFont/style/css.js +0 -3
- package/lib/IconFont/style/index.css +0 -1
- package/lib/IconFont/style/index.d.ts +0 -1
- package/lib/IconFont/style/index.js +0 -3
- package/lib/IconFont/style/index.less +0 -6
- package/lib/IconFont/svg.d.ts +0 -1
- package/lib/IconFont/svg.js +0 -8
- package/lib/ImagePro/index.d.ts +0 -13
- package/lib/ImagePro/index.js +0 -76
- package/lib/ImagePro/style/css.js +0 -3
- package/lib/ImagePro/style/index.css +0 -1
- package/lib/ImagePro/style/index.d.ts +0 -1
- package/lib/ImagePro/style/index.js +0 -3
- package/lib/ImagePro/style/index.less +0 -40
- package/lib/InputNumber/index.d.ts +0 -5
- package/lib/InputNumber/index.js +0 -56
- package/lib/InputPassword/index.d.ts +0 -4
- package/lib/InputPassword/index.js +0 -38
- package/lib/Login/codemap.d.ts +0 -2
- package/lib/Login/codemap.js +0 -58
- package/lib/Login/core/withAD.d.ts +0 -6
- package/lib/Login/core/withAD.js +0 -18
- package/lib/Login/core/withAppQrcode.d.ts +0 -8
- package/lib/Login/core/withAppQrcode.js +0 -74
- package/lib/Login/core/withLDAP.d.ts +0 -10
- package/lib/Login/core/withLDAP.js +0 -227
- package/lib/Login/core/withPassword/FormItemAccount.d.ts +0 -7
- package/lib/Login/core/withPassword/FormItemAccount.js +0 -55
- package/lib/Login/core/withPassword/GraphicVerifyCode.d.ts +0 -7
- package/lib/Login/core/withPassword/GraphicVerifyCode.js +0 -46
- package/lib/Login/core/withPassword/InputAccount.d.ts +0 -7
- package/lib/Login/core/withPassword/InputAccount.js +0 -72
- package/lib/Login/core/withPassword/index.d.ts +0 -12
- package/lib/Login/core/withPassword/index.js +0 -243
- package/lib/Login/core/withPhonecode.d.ts +0 -2
- package/lib/Login/core/withPhonecode.js +0 -189
- package/lib/Login/core/withWechatMiniQrcode.d.ts +0 -8
- package/lib/Login/core/withWechatMiniQrcode.js +0 -85
- package/lib/Login/core/withWechatmpQrcode.d.ts +0 -8
- package/lib/Login/core/withWechatmpQrcode.js +0 -75
- package/lib/Login/index.d.ts +0 -3
- package/lib/Login/index.js +0 -451
- package/lib/Login/interface.d.ts +0 -31
- package/lib/Login/interface.js +0 -34
- package/lib/Login/socialLogin/index.d.ts +0 -8
- package/lib/Login/socialLogin/index.js +0 -462
- package/lib/Login/style/css.js +0 -5
- package/lib/Login/style/index.css +0 -1
- package/lib/Login/style/index.d.ts +0 -2
- package/lib/Login/style/index.js +0 -5
- package/lib/Login/style/index.less +0 -99
- package/lib/Login/style/socialLogin.css +0 -1
- package/lib/Login/style/socialLogin.less +0 -77
- package/lib/MFA/VerifyCodeInput/VerifyCodeFormItem.d.ts +0 -7
- package/lib/MFA/VerifyCodeInput/VerifyCodeFormItem.js +0 -53
- package/lib/MFA/VerifyCodeInput/index.d.ts +0 -13
- package/lib/MFA/VerifyCodeInput/index.js +0 -181
- package/lib/MFA/codemap.d.ts +0 -2
- package/lib/MFA/codemap.js +0 -35
- package/lib/MFA/core/email.d.ts +0 -23
- package/lib/MFA/core/email.js +0 -328
- package/lib/MFA/core/face.d.ts +0 -2
- package/lib/MFA/core/face.js +0 -380
- package/lib/MFA/core/face_deps.d.ts +0 -12
- package/lib/MFA/core/face_deps.js +0 -55
- package/lib/MFA/core/sms.d.ts +0 -22
- package/lib/MFA/core/sms.js +0 -324
- package/lib/MFA/core/totp.d.ts +0 -19
- package/lib/MFA/core/totp.js +0 -177
- package/lib/MFA/index.d.ts +0 -3
- package/lib/MFA/index.js +0 -196
- package/lib/MFA/interface.d.ts +0 -38
- package/lib/MFA/interface.js +0 -33
- package/lib/MFA/mfaMethods/index.d.ts +0 -8
- package/lib/MFA/mfaMethods/index.js +0 -95
- package/lib/MFA/style/css.js +0 -7
- package/lib/MFA/style/index.css +0 -1
- package/lib/MFA/style/index.d.ts +0 -3
- package/lib/MFA/style/index.js +0 -7
- package/lib/MFA/style/index.less +0 -101
- package/lib/MFA/style/mfaMethods.css +0 -1
- package/lib/MFA/style/mfaMethods.less +0 -42
- package/lib/MFA/style/verifyCodeInput.css +0 -1
- package/lib/MFA/style/verifyCodeInput.less +0 -38
- package/lib/NeedHelpView/core/describeQuestions.d.ts +0 -8
- package/lib/NeedHelpView/core/describeQuestions.js +0 -307
- package/lib/NeedHelpView/index.d.ts +0 -2
- package/lib/NeedHelpView/index.js +0 -64
- package/lib/RecoveryCode/core/useCode.d.ts +0 -5
- package/lib/RecoveryCode/core/useCode.js +0 -112
- package/lib/RecoveryCode/index.d.ts +0 -3
- package/lib/RecoveryCode/index.js +0 -43
- package/lib/RecoveryCode/interface.d.ts +0 -19
- package/lib/RecoveryCode/interface.js +0 -24
- package/lib/RecoveryCode/style/css.js +0 -3
- package/lib/RecoveryCode/style/index.css +0 -1
- package/lib/RecoveryCode/style/index.d.ts +0 -1
- package/lib/RecoveryCode/style/index.js +0 -3
- package/lib/RecoveryCode/style/index.less +0 -13
- package/lib/Register/codemap.d.ts +0 -2
- package/lib/Register/codemap.js +0 -21
- package/lib/Register/components/Agreements/index.d.ts +0 -10
- package/lib/Register/components/Agreements/index.js +0 -90
- package/lib/Register/core/WithEmail.d.ts +0 -9
- package/lib/Register/core/WithEmail.js +0 -284
- package/lib/Register/core/WithPhone.d.ts +0 -8
- package/lib/Register/core/WithPhone.js +0 -231
- package/lib/Register/index.d.ts +0 -3
- package/lib/Register/index.js +0 -186
- package/lib/Register/interface.d.ts +0 -25
- package/lib/Register/interface.js +0 -31
- package/lib/Register/style/css.js +0 -3
- package/lib/Register/style/index.css +0 -1
- package/lib/Register/style/index.d.ts +0 -1
- package/lib/Register/style/index.js +0 -3
- package/lib/Register/style/index.less +0 -44
- package/lib/SendCode/SendCodeBtn.d.ts +0 -9
- package/lib/SendCode/SendCodeBtn.js +0 -157
- package/lib/SendCode/index.d.ts +0 -11
- package/lib/SendCode/index.js +0 -227
- package/lib/SendCode/style/css.js +0 -3
- package/lib/SendCode/style/index.css +0 -1
- package/lib/SendCode/style/index.d.ts +0 -1
- package/lib/SendCode/style/index.js +0 -3
- package/lib/SendCode/style/index.less +0 -31
- package/lib/ShieldSpin/LoadingSVG.d.ts +0 -2
- package/lib/ShieldSpin/LoadingSVG.js +0 -21
- package/lib/ShieldSpin/index.d.ts +0 -7
- package/lib/ShieldSpin/index.js +0 -34
- package/lib/SubmitButton/index.d.ts +0 -8
- package/lib/SubmitButton/index.js +0 -68
- package/lib/SubmitSuccess/index.d.ts +0 -3
- package/lib/SubmitSuccess/index.js +0 -92
- package/lib/SubmitSuccess/interface.d.ts +0 -13
- package/lib/SubmitSuccess/interface.js +0 -5
- package/lib/Type/index.d.ts +0 -35
- package/lib/Type/index.js +0 -25
- package/lib/ValidatorRules/PasswordFormItem.d.ts +0 -3
- package/lib/ValidatorRules/PasswordFormItem.js +0 -38
- package/lib/ValidatorRules/ValidatorFormItem.d.ts +0 -5
- package/lib/ValidatorRules/ValidatorFormItem.js +0 -262
- package/lib/ValidatorRules/index.d.ts +0 -27
- package/lib/ValidatorRules/index.js +0 -22
- package/lib/VerifyCodeInput/index.d.ts +0 -9
- package/lib/VerifyCodeInput/index.js +0 -92
- package/lib/VerifyCodeInput/style/css.js +0 -3
- package/lib/VerifyCodeInput/style/index.css +0 -1
- package/lib/VerifyCodeInput/style/index.d.ts +0 -1
- package/lib/VerifyCodeInput/style/index.js +0 -3
- package/lib/VerifyCodeInput/style/index.less +0 -24
- package/lib/_utils/GuardErrorCode.d.ts +0 -9
- package/lib/_utils/GuardErrorCode.js +0 -18
- package/lib/_utils/clipboard.d.ts +0 -1
- package/lib/_utils/clipboard.js +0 -45
- package/lib/_utils/config.d.ts +0 -7
- package/lib/_utils/config.js +0 -152
- package/lib/_utils/context.d.ts +0 -8
- package/lib/_utils/context.js +0 -31
- package/lib/_utils/errorFace.d.ts +0 -12
- package/lib/_utils/errorFace.js +0 -40
- package/lib/_utils/guradHttp.d.ts +0 -21
- package/lib/_utils/guradHttp.js +0 -190
- package/lib/_utils/hooks/index.d.ts +0 -4
- package/lib/_utils/hooks/index.js +0 -76
- package/lib/_utils/http.d.ts +0 -23
- package/lib/_utils/http.js +0 -188
- package/lib/_utils/index.d.ts +0 -60
- package/lib/_utils/index.js +0 -547
- package/lib/_utils/locales/en/common.json +0 -239
- package/lib/_utils/locales/en/index.d.ts +0 -5
- package/lib/_utils/locales/en/index.js +0 -39
- package/lib/_utils/locales/en/map.json +0 -4
- package/lib/_utils/locales/en/user.json +0 -85
- package/lib/_utils/locales/index.d.ts +0 -5
- package/lib/_utils/locales/index.js +0 -72
- package/lib/_utils/locales/zh/common.json +0 -239
- package/lib/_utils/locales/zh/index.d.ts +0 -5
- package/lib/_utils/locales/zh/index.js +0 -39
- package/lib/_utils/locales/zh/map.json +0 -4
- package/lib/_utils/popupCenter.d.ts +0 -9
- package/lib/_utils/popupCenter.js +0 -33
- package/lib/context/base.d.ts +0 -12
- package/lib/context/base.js +0 -26
- package/lib/context/global/context.d.ts +0 -10
- package/lib/context/global/context.js +0 -63
- package/lib/context/global/reducer.d.ts +0 -29
- package/lib/context/global/reducer.js +0 -36
- package/lib/context/module/context.d.ts +0 -11
- package/lib/context/module/context.js +0 -37
- package/lib/index.css +0 -2358
- package/lib/index.js +0 -96
- package/lib/version/index.d.ts +0 -2
- package/lib/version/index.js +0 -13
- package/lib/version/version.d.ts +0 -2
- package/lib/version/version.js +0 -8
package/es/CompleteInfo/index.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useTranslation } from 'react-i18next';
|
|
3
|
-
import { ImagePro } from '../ImagePro';
|
|
4
|
-
import { GuardModuleType } from '../Guard/module';
|
|
5
|
-
import { CompleteInfo } from './core/completeInfo';
|
|
6
|
-
export var GuardCompleteInfoView = function GuardCompleteInfoView(_ref) {
|
|
7
|
-
var _config$__publicConfi, _config$__publicConfi2;
|
|
8
|
-
|
|
9
|
-
var config = _ref.config,
|
|
10
|
-
_onRegisterInfoCompleted = _ref.onRegisterInfoCompleted,
|
|
11
|
-
onRegisterInfoCompletedError = _ref.onRegisterInfoCompletedError,
|
|
12
|
-
__changeModule = _ref.__changeModule,
|
|
13
|
-
initData = _ref.initData,
|
|
14
|
-
onLogin = _ref.onLogin;
|
|
15
|
-
|
|
16
|
-
var _useTranslation = useTranslation(),
|
|
17
|
-
t = _useTranslation.t;
|
|
18
|
-
|
|
19
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
className: "g2-view-container"
|
|
21
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
22
|
-
className: "g2-view-header"
|
|
23
|
-
}, /*#__PURE__*/React.createElement(ImagePro, {
|
|
24
|
-
src: config === null || config === void 0 ? void 0 : config.logo,
|
|
25
|
-
size: 48,
|
|
26
|
-
borderRadius: 4,
|
|
27
|
-
alt: "",
|
|
28
|
-
className: "icon"
|
|
29
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
30
|
-
className: "title"
|
|
31
|
-
}, t('common.perfectUserInfo')), /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
className: "title-explain"
|
|
33
|
-
}, t('common.welcomeDoc', {
|
|
34
|
-
name: config.title
|
|
35
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
36
|
-
className: "g2-view-tabs g2-completeInfo-content"
|
|
37
|
-
}, /*#__PURE__*/React.createElement(CompleteInfo, {
|
|
38
|
-
extendsFields: config === null || config === void 0 ? void 0 : (_config$__publicConfi = config.__publicConfig__) === null || _config$__publicConfi === void 0 ? void 0 : _config$__publicConfi.extendsFields,
|
|
39
|
-
verifyCodeLength: config === null || config === void 0 ? void 0 : (_config$__publicConfi2 = config.__publicConfig__) === null || _config$__publicConfi2 === void 0 ? void 0 : _config$__publicConfi2.verifyCodeLength,
|
|
40
|
-
user: initData === null || initData === void 0 ? void 0 : initData.user,
|
|
41
|
-
onRegisterInfoCompleted: function onRegisterInfoCompleted(user, udfs, authClient) {
|
|
42
|
-
_onRegisterInfoCompleted === null || _onRegisterInfoCompleted === void 0 ? void 0 : _onRegisterInfoCompleted(user, udfs, authClient);
|
|
43
|
-
|
|
44
|
-
if (initData.context === 'register') {
|
|
45
|
-
__changeModule === null || __changeModule === void 0 ? void 0 : __changeModule(GuardModuleType.LOGIN, {});
|
|
46
|
-
} else {
|
|
47
|
-
onLogin(user);
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
onRegisterInfoCompletedError: onRegisterInfoCompletedError
|
|
51
|
-
})));
|
|
52
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
|
|
2
|
-
import { IG2Config, IG2Events, IG2FCProps } from '../Type';
|
|
3
|
-
export interface CompleteInfoConfig extends IG2Config {
|
|
4
|
-
}
|
|
5
|
-
export declare const getDefaultCompleteInfoConfig: () => CompleteInfoConfig;
|
|
6
|
-
export interface CompleteInfoEvents extends IG2Events {
|
|
7
|
-
onRegisterInfoCompleted?: (user: User, udfs: {
|
|
8
|
-
definition: any;
|
|
9
|
-
value: any;
|
|
10
|
-
}[], authClient: AuthenticationClient) => void;
|
|
11
|
-
onRegisterInfoCompletedError?: (error: CommonMessage, udfs: {
|
|
12
|
-
definition: any;
|
|
13
|
-
value: any;
|
|
14
|
-
}[], authClient: AuthenticationClient) => void;
|
|
15
|
-
}
|
|
16
|
-
export interface GuardCompleteInfoProps extends IG2FCProps, CompleteInfoEvents {
|
|
17
|
-
config: Partial<CompleteInfoConfig>;
|
|
18
|
-
}
|
|
19
|
-
export interface GuardCompleteInfoViewProps extends GuardCompleteInfoProps {
|
|
20
|
-
config: CompleteInfoConfig;
|
|
21
|
-
initData: any;
|
|
22
|
-
onLogin?: any;
|
|
23
|
-
}
|
|
24
|
-
export declare type ExtendsFieldType = 'user' | 'internal';
|
|
25
|
-
export interface ExtendsField {
|
|
26
|
-
type: ExtendsFieldType;
|
|
27
|
-
name: string;
|
|
28
|
-
label: string;
|
|
29
|
-
inputType: string;
|
|
30
|
-
required: boolean;
|
|
31
|
-
validateRules: any[];
|
|
32
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
2
|
-
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
3
|
-
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
4
|
-
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
|
5
|
-
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
|
6
|
-
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
|
7
|
-
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
|
8
|
-
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
|
9
|
-
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
|
-
|
|
11
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); if (enumerableOnly) symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12
|
-
|
|
13
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { var _context; _forEachInstanceProperty(_context = ownKeys(Object(source), true)).call(_context, function (key) { _defineProperty(target, key, source[key]); }); } else if (_Object$getOwnPropertyDescriptors) { _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)); } else { var _context2; _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14
|
-
|
|
15
|
-
import { getDefaultG2Config } from '../Type';
|
|
16
|
-
|
|
17
|
-
var defaultConfig = _objectSpread({}, getDefaultG2Config());
|
|
18
|
-
|
|
19
|
-
export var getDefaultCompleteInfoConfig = function getDefaultCompleteInfoConfig() {
|
|
20
|
-
return _objectSpread(_objectSpread({}, getDefaultG2Config()), defaultConfig);
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.g2-completeInfo-content{margin-bottom:44px}.g2-completeInfo-submit{margin-top:30px!important}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
package/es/CompleteInfo/utils.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export var completeFieldsFilter = function completeFieldsFilter(user, field) {
|
|
2
|
-
console.log('补全筛选', user, field);
|
|
3
|
-
|
|
4
|
-
if (!user) {
|
|
5
|
-
return true;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
var name = field.name;
|
|
9
|
-
|
|
10
|
-
if (name === 'email' && user !== null && user !== void 0 && user.email) {
|
|
11
|
-
return false;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
if (name === 'phone' && user !== null && user !== void 0 && user.phone) {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
if (name === 'username') {
|
|
19
|
-
if (user[name] === user['phone'] || user[name] === user['email']) {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
} // gender 默认是 U
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
if (name === 'gender' && user[name] === 'U') {
|
|
26
|
-
return true;
|
|
27
|
-
} // 如果基础字段里面已经有了,不再要求补全
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (user[name] !== undefined && user[name] !== null) {
|
|
31
|
-
return false;
|
|
32
|
-
} // 如果扩展信息又了,不再要求补全
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var customData = user.customData;
|
|
36
|
-
|
|
37
|
-
if (customData && customData[name] !== undefined && customData[name] !== null) {
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
return true;
|
|
42
|
-
};
|
package/es/CopyAbleText/index.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
|
2
|
-
import _setTimeout from "@babel/runtime-corejs3/core-js-stable/set-timeout";
|
|
3
|
-
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
4
|
-
import { CopyOutlined, CheckOutlined } from '@ant-design/icons';
|
|
5
|
-
import { copyToClipboard, getClassnames } from '../_utils';
|
|
6
|
-
import { useTranslation } from 'react-i18next';
|
|
7
|
-
export var CopyAbleText = function CopyAbleText(_ref) {
|
|
8
|
-
var children = _ref.children,
|
|
9
|
-
className = _ref.className;
|
|
10
|
-
|
|
11
|
-
var _useTranslation = useTranslation(),
|
|
12
|
-
t = _useTranslation.t;
|
|
13
|
-
|
|
14
|
-
var divRef = useRef(null);
|
|
15
|
-
|
|
16
|
-
var _useState = useState(false),
|
|
17
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
18
|
-
copied = _useState2[0],
|
|
19
|
-
setCopied = _useState2[1];
|
|
20
|
-
|
|
21
|
-
var timer = useRef(-1);
|
|
22
|
-
var startTimer = useCallback(function () {
|
|
23
|
-
setCopied(true);
|
|
24
|
-
clearTimeout(timer.current);
|
|
25
|
-
timer.current = _setTimeout(function () {
|
|
26
|
-
return setCopied(false);
|
|
27
|
-
}, 3000);
|
|
28
|
-
}, [timer]);
|
|
29
|
-
useEffect(function () {
|
|
30
|
-
return function () {
|
|
31
|
-
return clearTimeout(timer.current);
|
|
32
|
-
};
|
|
33
|
-
}, []);
|
|
34
|
-
|
|
35
|
-
var handleCopy = function handleCopy() {
|
|
36
|
-
copyToClipboard(divRef.current.innerText);
|
|
37
|
-
startTimer();
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
41
|
-
className: getClassnames(['authing-copy-text', className]),
|
|
42
|
-
ref: divRef
|
|
43
|
-
}, children, copied ? /*#__PURE__*/React.createElement(CheckOutlined, {
|
|
44
|
-
className: "authing-data-tips authing-data-tips__top authing-guard-pointer authing-copy-text-icon authing-copy-text-icon__success",
|
|
45
|
-
"data-tips": t('common.copied')
|
|
46
|
-
}) : /*#__PURE__*/React.createElement(CopyOutlined, {
|
|
47
|
-
className: "authing-data-tips authing-data-tips__top authing-guard-pointer authing-copy-text-icon",
|
|
48
|
-
"data-tips": t('common.copy'),
|
|
49
|
-
onClick: handleCopy
|
|
50
|
-
}));
|
|
51
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.authing-copy-text{display:flex;align-items:center}.authing-copy-text-icon{margin-left:4px;color:#396aff}.authing-copy-text-icon__success{color:#b7eb8f}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import "antd/lib/tabs/style";
|
|
2
|
-
import _Tabs from "antd/lib/tabs";
|
|
3
|
-
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
4
|
-
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
|
|
5
|
-
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
6
|
-
import React, { useMemo } from 'react';
|
|
7
|
-
import { useTranslation } from 'react-i18next';
|
|
8
|
-
import { ImagePro } from '../ImagePro';
|
|
9
|
-
import { IconFont } from '../IconFont';
|
|
10
|
-
var DownloadType;
|
|
11
|
-
|
|
12
|
-
(function (DownloadType) {
|
|
13
|
-
DownloadType["IOS"] = "ios";
|
|
14
|
-
DownloadType["Android"] = "Android";
|
|
15
|
-
})(DownloadType || (DownloadType = {}));
|
|
16
|
-
|
|
17
|
-
export var GuardDownloadATView = function GuardDownloadATView(_ref) {
|
|
18
|
-
var _config$__publicConfi;
|
|
19
|
-
|
|
20
|
-
var config = _ref.config;
|
|
21
|
-
|
|
22
|
-
var _useTranslation = useTranslation(),
|
|
23
|
-
t = _useTranslation.t;
|
|
24
|
-
|
|
25
|
-
var cdnBase = (_config$__publicConfi = config.__publicConfig__) === null || _config$__publicConfi === void 0 ? void 0 : _config$__publicConfi.cdnBase;
|
|
26
|
-
var downloadConfig = useMemo(function () {
|
|
27
|
-
var _ref2;
|
|
28
|
-
|
|
29
|
-
return _ref2 = {}, _defineProperty(_ref2, DownloadType.IOS, {
|
|
30
|
-
title: t('common.downloadTotpAppIOS'),
|
|
31
|
-
google: "".concat(cdnBase, "/GoogleAuthenticator-Apple.png"),
|
|
32
|
-
microsoft: "".concat(cdnBase, "/MicrosoftAuthenticator-Apple.png")
|
|
33
|
-
}), _defineProperty(_ref2, DownloadType.Android, {
|
|
34
|
-
title: t('common.downloadTotpAppAndroid'),
|
|
35
|
-
google: "".concat(cdnBase, "/GoogleAuthenticator-Authing.png"),
|
|
36
|
-
microsoft: "".concat(cdnBase, "/MicrosoftAuthenticator-Baidu.png")
|
|
37
|
-
}), _ref2;
|
|
38
|
-
}, [cdnBase, t]);
|
|
39
|
-
var renderTab = useMemo(function () {
|
|
40
|
-
var _context;
|
|
41
|
-
|
|
42
|
-
return _mapInstanceProperty(_context = _Object$keys(downloadConfig)).call(_context, function (value, index) {
|
|
43
|
-
return /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
44
|
-
tab: downloadConfig[value].title,
|
|
45
|
-
key: index,
|
|
46
|
-
className: "g2-mfa-download-at-tab"
|
|
47
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
48
|
-
className: "g2-mfa-totp-download-subtitle"
|
|
49
|
-
}, t('common.downloadTotpAppDocs')), /*#__PURE__*/React.createElement("div", {
|
|
50
|
-
className: "g2-mfa-totp-download-qrcode"
|
|
51
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
52
|
-
className: "g2-mfa-totp-download-qrcode-item"
|
|
53
|
-
}, /*#__PURE__*/React.createElement(ImagePro, {
|
|
54
|
-
width: 120,
|
|
55
|
-
height: 120,
|
|
56
|
-
className: "g2-mfa-totp-download-image",
|
|
57
|
-
src: downloadConfig[value].google,
|
|
58
|
-
alt: "Google Authenticator"
|
|
59
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
60
|
-
className: "g2-mfa-totp-download-qrcode-text"
|
|
61
|
-
}, "Google Authenticator")), /*#__PURE__*/React.createElement("div", {
|
|
62
|
-
className: "g2-mfa-totp-download-qrcode-item"
|
|
63
|
-
}, /*#__PURE__*/React.createElement(ImagePro, {
|
|
64
|
-
width: 120,
|
|
65
|
-
height: 120,
|
|
66
|
-
className: "g2-mfa-totp-download-image",
|
|
67
|
-
src: downloadConfig[value].microsoft,
|
|
68
|
-
alt: "Microsoft Authenticator"
|
|
69
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
70
|
-
className: "g2-mfa-totp-download-qrcode-text"
|
|
71
|
-
}, "Microsoft Authenticator"))));
|
|
72
|
-
});
|
|
73
|
-
}, [downloadConfig, t]);
|
|
74
|
-
|
|
75
|
-
var onBack = function onBack() {
|
|
76
|
-
return window.history.back();
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
80
|
-
className: "g2-view-container"
|
|
81
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
82
|
-
className: "g2-view-back"
|
|
83
|
-
}, /*#__PURE__*/React.createElement("span", {
|
|
84
|
-
onClick: onBack
|
|
85
|
-
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
86
|
-
type: "authing-back"
|
|
87
|
-
}), /*#__PURE__*/React.createElement("span", null, t('common.backToMFA')))), /*#__PURE__*/React.createElement("div", {
|
|
88
|
-
className: "g2-view-tabs g2-mfa-totp-download-tabs"
|
|
89
|
-
}, /*#__PURE__*/React.createElement(_Tabs, {
|
|
90
|
-
defaultActiveKey: DownloadType.IOS
|
|
91
|
-
}, renderTab)));
|
|
92
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IG2Config, IG2Events, IG2FCProps } from '../Type';
|
|
2
|
-
export interface DownloadATConfig extends IG2Config {
|
|
3
|
-
}
|
|
4
|
-
export declare const getDefaultDownloadAuthenticatorConfig: () => DownloadATConfig;
|
|
5
|
-
export interface DownloadATEvents extends IG2Events {
|
|
6
|
-
}
|
|
7
|
-
export interface GuardDownloadATProps extends IG2FCProps, DownloadATEvents {
|
|
8
|
-
config: Partial<DownloadATConfig>;
|
|
9
|
-
}
|
|
10
|
-
export interface GuardDownloadATViewProps extends GuardDownloadATProps {
|
|
11
|
-
config: DownloadATConfig;
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
2
|
-
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
3
|
-
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
4
|
-
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
|
5
|
-
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
|
6
|
-
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
|
7
|
-
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
|
8
|
-
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
|
9
|
-
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
|
-
|
|
11
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); if (enumerableOnly) symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
12
|
-
|
|
13
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { var _context; _forEachInstanceProperty(_context = ownKeys(Object(source), true)).call(_context, function (key) { _defineProperty(target, key, source[key]); }); } else if (_Object$getOwnPropertyDescriptors) { _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)); } else { var _context2; _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14
|
-
|
|
15
|
-
import { getDefaultG2Config } from '../Type';
|
|
16
|
-
|
|
17
|
-
var defaultConfig = _objectSpread({}, getDefaultG2Config());
|
|
18
|
-
|
|
19
|
-
export var getDefaultDownloadAuthenticatorConfig = function getDefaultDownloadAuthenticatorConfig() {
|
|
20
|
-
return _objectSpread(_objectSpread({}, getDefaultG2Config()), defaultConfig);
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.g2-view-container-totp-dl{width:900px;padding:0}.g2-mfa-totp-title{width:100%;height:54px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#293350;border-bottom:1px solid #eaebee;margin-bottom:54px}.g2-mfa-totp-download-tabs{margin-top:30px}.g2-mfa-totp-download-tabs .authing-ant-tabs-tab-active .authing-ant-tabs-tab-btn{font-weight:unset!important}.g2-mfa-download-at-tab{display:flex;flex-direction:column;align-items:center;margin-top:15px}.g2-mfa-download-at-tab .g2-mfa-totp-download-subtitle{color:#545968}.g2-mfa-download-at-tab .g2-mfa-totp-download-qrcode-item{display:flex;flex-direction:column;align-items:center;margin-top:35px}.g2-mfa-download-at-tab .g2-mfa-totp-download-qrcode-item .g2-mfa-totp-download-image{width:130px;height:130px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 30px rgba(84,89,104,.15);border-radius:4px}.g2-mfa-download-at-tab .g2-mfa-totp-download-qrcode-item .g2-mfa-totp-download-qrcode-text{margin-top:8px;color:#545968}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
.g2-view-container-totp-dl {
|
|
2
|
-
width: 900px;
|
|
3
|
-
padding: 0;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.g2-mfa-totp-title {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 54px;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
font-size: 16px;
|
|
13
|
-
color: #293350;
|
|
14
|
-
border-bottom: 1px solid #eaebee;
|
|
15
|
-
margin-bottom: 54px;
|
|
16
|
-
}
|
|
17
|
-
.g2-mfa-totp-download-tabs {
|
|
18
|
-
margin-top: 30px;
|
|
19
|
-
.authing-ant-tabs-tab-active {
|
|
20
|
-
.authing-ant-tabs-tab-btn {
|
|
21
|
-
font-weight: unset !important;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.g2-mfa-download-at-tab {
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
align-items: center;
|
|
30
|
-
margin-top: 15px;
|
|
31
|
-
|
|
32
|
-
.g2-mfa-totp-download-subtitle {
|
|
33
|
-
color: #545968;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.g2-mfa-totp-download-qrcode-item {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
align-items: center;
|
|
40
|
-
|
|
41
|
-
margin-top: 35px;
|
|
42
|
-
|
|
43
|
-
.g2-mfa-totp-download-image {
|
|
44
|
-
width: 130px;
|
|
45
|
-
height: 130px;
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
box-shadow: 0px 0px 30px rgba(84, 89, 104, 0.15);
|
|
50
|
-
border-radius: 4px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.g2-mfa-totp-download-qrcode-text {
|
|
54
|
-
margin-top: 8px;
|
|
55
|
-
color: #545968;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
package/es/Error/ErrorSVG.d.ts
DELETED
package/es/Error/ErrorSVG.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export var ErrorSVG = function ErrorSVG() {
|
|
3
|
-
var svg = "<svg t=\"1640331051299\" class=\"icon\" viewBox=\"0 0 1544 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"3426\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"301.5625\" height=\"200\"><defs><style type=\"text/css\"></style></defs><path d=\"M942.30126 120.481223h280.176653l-6.448906 31.256959c-3.669671 17.76957-19.315689 30.517628-37.460322 30.517628H929.551852c-14.190292 0-25.693091-11.502798-25.69309-25.693091 0-1.744443 0.178087-3.484838 0.530213-5.194203 3.711494-17.984084 19.549091-30.887294 37.912285-30.887293z\" fill=\"#3954FF\" p-id=\"3427\"></path><path d=\"M1190.590904 141.870545a1.319462 1.319462 0 0 1 0.153802 2.629481l-0.153802 0.008095h-40.741439a1.319462 1.319462 0 0 1-0.153802-2.628132l0.153802-0.009444h40.741439zM1190.590904 156.743505a1.319462 1.319462 0 0 1 0.153802 2.628131l-0.153802 0.009444h-85.171436a1.319462 1.319462 0 0 1-0.153803-2.629481l0.153803-0.008094h85.171436zM1184.187868 990.855589v2.549881l-1169.70751 1.048285a1.274941 1.274941 0 0 1-0.149755-2.541787l0.148406-0.008094 1169.708859-1.048285z m252.778245-0.226656a1.274941 1.274941 0 0 1 0.151104 2.541786l-0.148405 0.008095-169.13404 0.151104v-2.549881l169.131341-0.151104zM1541.713623 990.628933a1.274941 1.274941 0 0 1 0.148406 2.541786l-0.148406 0.008095h-58.980511a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h58.980511zM1469.719273 990.628933a1.274941 1.274941 0 0 1 0.148406 2.541786l-0.148406 0.008095H1451.257592a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h18.461681zM434.654946 968.612258a1.274941 1.274941 0 0 1 1.048285 1.331605l-0.017539 0.148406-3.370161 18.824601a1.274941 1.274941 0 0 1-2.526946-0.300859l0.017539-0.148406 3.368811-18.824601a1.274941 1.274941 0 0 1 1.331605-1.048285l0.148406 0.017539z m586.822155 10.763468a1.274941 1.274941 0 1 1 1.315415 2.184263 58.481328 58.481328 0 0 1-18.123046 7.143716 1.274941 1.274941 0 1 1-0.526166-2.494567 55.931447 55.931447 0 0 0 17.333797-6.833412z m23.546604-28.252416a1.274941 1.274941 0 1 1 2.387984 0.898529 58.444901 58.444901 0 0 1-9.812321 16.833265 1.274941 1.274941 0 0 1-1.958957-1.632464 55.89502 55.89502 0 0 0 9.383294-16.09933z m-605.109797-19.130857a1.274941 1.274941 0 0 1 2.528295 0.302208l-0.017539 0.148406-3.370161 18.824601a1.274941 1.274941 0 0 1-2.526946-0.302208l0.017539-0.148406 3.368812-18.824601z m8.218983-38.679947a1.274941 1.274941 0 0 1 1.048284 1.331605l-0.017539 0.148405-3.37016 18.824601a1.274941 1.274941 0 0 1-2.528295-0.300859l0.018888-0.148406 3.368811-18.8246a1.274941 1.274941 0 0 1 1.331605-1.048285l0.148406 0.017539z m5.258961-36.619805a1.274941 1.274941 0 0 1 2.528296 0.302208l-0.018888 0.148406-3.368812 18.824601a1.274941 1.274941 0 0 1-2.528295-0.302208l0.018888-0.148406 3.368811-18.824601z m8.218983-38.679947a1.274941 1.274941 0 0 1 1.048285 1.331604l-0.018888 0.148406-3.368812 18.824601a1.274941 1.274941 0 0 1-2.528295-0.300859l0.017539-0.148406 3.370161-18.824601a1.274941 1.274941 0 0 1 1.331605-1.048284l0.148405 0.017539z m5.258962-36.619805a1.274941 1.274941 0 0 1 2.526946 0.302208l-0.017539 0.148406-3.368811 18.823251a1.274941 1.274941 0 0 1-2.528296-0.300859l0.017539-0.148406 3.370161-18.8246z m8.218983-38.679948a1.274941 1.274941 0 0 1 1.046935 1.331605l-0.017538 0.148406-3.368812 18.824601a1.274941 1.274941 0 0 1-2.528295-0.300859l0.017539-0.148406 3.37016-18.824601a1.274941 1.274941 0 0 1 1.331605-1.048285l0.148406 0.017539z m5.258962-36.619805a1.274941 1.274941 0 0 1 2.526946 0.302208l-0.017539 0.148406-3.368812 18.823252a1.274941 1.274941 0 0 1-2.528295-0.300859l0.017539-0.148406 3.370161-18.824601z m614.754825-17.719652a1.274941 1.274941 0 0 1 2.525596 0.322445l-0.018888 0.148406-1.233117 8.040896a1.274941 1.274941 0 0 1-2.525597-0.322445l0.018888-0.148406 1.233118-8.040896z m-606.537192-20.960295a1.274941 1.274941 0 0 1 1.048285 1.331605l-0.017539 0.148406-3.368811 18.8246a1.274941 1.274941 0 0 1-2.528296-0.300859l0.017539-0.148405 3.370161-18.824601a1.274941 1.274941 0 0 1 1.331605-1.048285l0.148406 0.017539z m613.577023-16.634941a1.274941 1.274941 0 0 1 2.526946 0.322446l-0.020237 0.148405-3.519916 18.796269a1.274941 1.274941 0 0 1-2.525597-0.321096l0.020237-0.148406 3.519916-18.796269z m-608.316712-19.984864a1.274941 1.274941 0 0 1 2.526946 0.302208l-0.017538 0.148406-3.368812 18.823252a1.274941 1.274941 0 0 1-2.528295-0.300859l0.017539-0.148406 3.37016-18.824601zM1109.182229 613.185771a1.274941 1.274941 0 0 1 2.525597 0.321096l-0.018888 0.148406-3.521265 18.797618a1.274941 1.274941 0 0 1-2.524247-0.322446l0.018888-0.148405 3.521264-18.796269z m-607.140258-21.070925a1.274941 1.274941 0 0 1 1.048285 1.331605l-0.017539 0.148405-3.368812 18.824601a1.274941 1.274941 0 0 1-2.528295-0.300859l0.017539-0.148406 3.370161-18.8246a1.274941 1.274941 0 0 1 1.331604-1.048285l0.148406 0.017539z m614.181439-16.524311a1.274941 1.274941 0 0 1 2.525597 0.322445l-0.020238 0.148406-3.519915 18.796269a1.274941 1.274941 0 0 1-2.525597-0.321096l0.020237-0.148406 3.519916-18.797618z m-608.922477-20.095494a1.274941 1.274941 0 0 1 2.528295 0.302208l-0.017539 0.148406-3.370161 18.823251a1.274941 1.274941 0 0 1-2.526946-0.300859l0.017539-0.148405 3.368812-18.824601z m615.962308-17.498393a1.274941 1.274941 0 0 1 2.525597 0.321096l-0.018888 0.148406-3.521265 18.797618a1.274941 1.274941 0 0 1-2.524248-0.322445l0.018888-0.148406 3.521265-18.796269z m-607.743325-21.181554a1.274941 1.274941 0 0 1 1.048284 1.331604l-0.017539 0.148406-3.37016 18.824601a1.274941 1.274941 0 0 1-2.526946-0.300859l0.017539-0.148406 3.368811-18.824601a1.274941 1.274941 0 0 1 1.332954-1.048284l0.148406 0.017539z m614.784506-16.413682a1.274941 1.274941 0 0 1 2.525596 0.322446l-0.018888 0.148406-3.521264 18.796268a1.274941 1.274941 0 0 1-2.524248-0.321096l0.018888-0.148406 3.519916-18.797618zM520.780227 480.193939a1.274941 1.274941 0 0 1 2.528295 0.302209l-0.017539 0.148405-3.370161 18.823252a1.274941 1.274941 0 0 1-2.526946-0.300859l0.017539-0.148406 3.368812-18.824601z m616.565375-17.387762a1.274941 1.274941 0 0 1 2.525597 0.321096l-0.018888 0.148406-3.521265 18.796268a1.274941 1.274941 0 0 1-2.524248-0.321096l0.018888-0.148406 3.521265-18.796268z m-608.346393-21.292185a1.274941 1.274941 0 0 1 1.048285 1.331605l-0.017539 0.148406-3.370161 18.8246a1.274941 1.274941 0 0 1-2.526946-0.300859l0.017539-0.148405 3.368812-18.824601a1.274941 1.274941 0 0 1 1.331605-1.048285l0.148405 0.017539z m616.155236-20.404448a1.274941 1.274941 0 0 1 2.525597 0.322445l-0.018888 0.147057-2.954624 15.782282a1.274941 1.274941 0 0 1-2.526946-0.321096l0.018888-0.148406 2.955973-15.782282zM534.258171 404.894187a1.274941 1.274941 0 0 1 2.528295 0.302208l-0.017538 0.148406-3.370161 18.823252a1.274941 1.274941 0 0 1-2.526946-0.300859l0.017539-0.148406 3.368811-18.824601z m617.937455-21.37853a1.274941 1.274941 0 0 1 2.524248 0.321097l-0.018888 0.148405-3.519916 18.796269a1.274941 1.274941 0 0 1-2.525597-0.321096l0.018888-0.148406 3.521265-18.796269z m-609.718472-17.301417a1.274941 1.274941 0 0 1 1.048285 1.331605l-0.017539 0.148405-3.370161 18.824601a1.274941 1.274941 0 0 1-2.528295-0.300859l0.018888-0.148406 3.368812-18.8246a1.274941 1.274941 0 0 1 1.331604-1.048285l0.148406 0.017539z m619.296042-33.841919a1.274941 1.274941 0 0 1 2.525597 0.321097l-0.018888 0.148405-3.521265 18.796269a1.274941 1.274941 0 0 1-2.524247-0.321096l0.018888-0.148406 3.519915-18.796269zM547.736116 329.594435a1.274941 1.274941 0 0 1 2.528295 0.302208l-0.018888 0.148406-3.368812 18.823251a1.274941 1.274941 0 0 1-2.528295-0.300859l0.018888-0.148405L547.736116 329.595784z m621.078261-34.817349a1.274941 1.274941 0 0 1 2.524248 0.321096l-0.018889 0.148406-3.521264 18.797618a1.274941 1.274941 0 0 1-2.522899-0.322446l0.017539-0.148406 3.521265-18.796268z m-612.859278-3.862599a1.274941 1.274941 0 0 1 1.048284 1.331605l-0.018888 0.148406-3.368811 18.824601a1.274941 1.274941 0 0 1-2.528295-0.302208l0.018888-0.148406 3.368811-18.823252a1.274941 1.274941 0 0 1 1.331605-1.048284l0.148406 0.017538z m619.899109-33.732637a1.274941 1.274941 0 0 1 2.525597 0.322445l-0.018888 0.148406-3.521265 18.796269a1.274941 1.274941 0 0 1-2.524248-0.321096l0.018888-0.148406 3.519916-18.797618z m-610.31884-2.103315a1.274941 1.274941 0 0 1 2.208548 1.27629 71.117407 71.117407 0 0 0-7.170699 17.366176 1.274941 1.274941 0 1 1-2.463536-0.654334 73.667289 73.667289 0 0 1 7.425687-17.988132z m27.286429-27.1758a1.274941 1.274941 0 1 1 1.268195 2.212596 71.642224 71.642224 0 0 0-14.932321 11.402961 1.274941 1.274941 0 1 1-1.799758-1.805154 74.192105 74.192105 0 0 1 15.463884-11.810403z m590.072243-8.314772a1.274941 1.274941 0 0 1 2.525596 0.321096l-0.018888 0.148406-3.521264 18.797618a1.274941 1.274941 0 0 1-2.522899-0.322445l0.017539-0.148406 3.521265-18.796269z m-552.838578-1.459773a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444h-0.48839a71.39668 71.39668 0 0 0-18.166218 2.340764 1.274941 1.274941 0 1 1-0.647589-2.466234 73.899341 73.899341 0 0 1 17.614419-2.414967l1.200738-0.009444h0.485691z m38.248222 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H649.178224a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.124111z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H687.426445a1.274941 1.274941 0 0 1-0.148405-2.541786l0.148405-0.008095h19.124111z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H725.674667a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.12411z m38.248222 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H763.922888a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.124111z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H802.171109a1.274941 1.274941 0 0 1-0.148405-2.541786l0.148405-0.008095h19.124111z m38.248222 0a1.274941 1.274941 0 0 1 0.148405 2.540437l-0.148405 0.009444H840.419331a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.12411z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H878.667552a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.124111z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H916.915773a1.274941 1.274941 0 0 1-0.148405-2.541786l0.148405-0.008095h19.124111z m38.248222 0a1.274941 1.274941 0 0 1 0.148405 2.540437l-0.148405 0.009444H955.163995a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.12411z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H993.412216a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.124111z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H1031.660437a1.274941 1.274941 0 0 1-0.148405-2.541786l0.148405-0.008095h19.124111z m38.248222 0a1.274941 1.274941 0 0 1 0.148405 2.540437l-0.148405 0.009444H1069.908659a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.12411z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H1108.15688a1.274941 1.274941 0 0 1-0.148406-2.541786l0.148406-0.008095h19.124111z m38.248221 0a1.274941 1.274941 0 0 1 0.148406 2.540437l-0.148406 0.009444H1146.405101a1.274941 1.274941 0 0 1-0.148405-2.541786l0.148405-0.008095h19.124111zM555.295368 625.518292a1.046935 1.046935 0 0 0-0.14166 2.084427l0.14166 0.009444H1061.206682a1.046935 1.046935 0 0 0 0.141661-2.083077l-0.141661-0.010794H555.295368zM548.920664 667.282382a1.046935 1.046935 0 0 0-0.14166 2.083078l0.14166 0.009444h505.911315a1.046935 1.046935 0 0 0 0.14166-2.083078l-0.14166-0.009444H548.920664zM561.670071 583.755552a1.046935 1.046935 0 0 0-0.14166 2.083078l0.14166 0.009444h507.774482a1.046935 1.046935 0 0 0 0.14166-2.083078l-0.14166-0.009444H561.670071zM568.044775 541.991462a1.046935 1.046935 0 0 0-0.14166 2.083078l0.14166 0.009444h333.759241a1.046935 1.046935 0 0 0 0.14166-2.083078l-0.14166-0.009444H568.044775z\" fill=\"#000000\" p-id=\"3428\"></path><path d=\"M689.559441 398.456074m-76.496442 0a76.496443 76.496443 0 1 0 152.992885 0 76.496443 76.496443 0 1 0-152.992885 0Z\" fill=\"#FFDE86\" opacity=\".974\" p-id=\"3429\"></path><path d=\"M675.535094 309.210224c42.248432 0 76.496443 34.248011 76.496442 76.496443 0 42.247083-34.248011 76.496443-76.496442 76.496442-42.247083 0-76.496443-34.24936-76.496443-76.496442 0-42.248432 34.24936-76.496443 76.496443-76.496443z m0 2.549881c-40.838577 0-73.946561 33.106635-73.946562 73.946562 0 40.838577 33.107984 73.946561 73.946562 73.946561 40.838577 0 73.946561-33.107984 73.946561-73.946561 0-40.839926-33.107984-73.946561-73.946561-73.946562z\" fill=\"#000000\" p-id=\"3430\"></path><path d=\"M888.586456 783.563721a172.099457 172.099457 0 0 0-4.373924 34.816c-1.722856 75.326735 45.220596 140.453945 112.090899 165.299773l2.908753 5.856632H465.567874c-92.848063 0-168.118134-75.268722-168.118135-168.118134 0-12.741312 1.447631-25.440801 4.31726-37.854271z\" fill=\"#3954FF\" p-id=\"3431\"></path><path d=\"M202.511852 0h184.166198c11.969602 0 21.673992 9.70439 21.673992 21.673992v230.078904c0 11.970951-9.70439 21.673992-21.673992 21.673992H202.511852c-11.969602 0-21.673992-9.703041-21.673992-21.673992V21.673992C180.83786 9.70439 190.54225 0 202.511852 0z\" fill=\"#F3F3F3\" p-id=\"3432\"></path><path d=\"M259.908469 193.042213l68.151989-90.561264L398.246957 193.042213z\" fill=\"#D8D8D8\" p-id=\"3433\"></path><path d=\"M191.054925 180.706993L259.204216 90.145729l70.186498 90.561264z\" fill=\"#D8D8D8\" p-id=\"3434\"></path><path d=\"M250.136622 63.764574m-13.386203 0a13.386203 13.386203 0 1 0 26.772406 0 13.386203 13.386203 0 1 0-26.772406 0Z\" fill=\"#D8D8D8\" p-id=\"3435\"></path><path d=\"M1185.738034 907.852227l62.010688 82.289665c6.799684 9.023072 4.997228 21.848032-4.025845 28.647715-9.023072 6.799684-21.848032 4.995879-28.647715-4.025844l-62.354719-82.749723a88.533502 88.533502 0 0 0 2.039905-0.891784l62.047114 82.336885c6.077892 8.06653 17.544264 9.677407 25.610794 3.599515 8.067879-6.079241 9.678756-17.545613 3.599515-25.612142l-61.73951-81.933492c0.493787-0.546403 0.980827-1.100901 1.459773-1.662145z\" fill=\"#000000\" p-id=\"3436\"></path><path d=\"M1099.206661 696.754424c23.632949 0 46.29991 6.583821 65.921855 18.820554a1.274941 1.274941 0 0 1-1.349143 2.164026c-19.2199-11.985792-41.418709-18.433349-64.572712-18.433349-67.492258 0-122.205428 54.71317-122.205428 122.205428 0 67.492258 54.71317 122.205428 122.205428 122.205428 67.492258 0 122.205428-54.71317 122.205429-122.205428 0-19.889075-4.754382-39.090087-13.735632-56.344285a1.274941 1.274941 0 0 1 2.261165-1.177802c9.170129 17.615768 14.024348 37.221523 14.024348 57.522087 0 68.900764-55.854545 124.75531-124.75531 124.75531s-124.75531-55.854545-124.755309-124.75531 55.854545-124.75531 124.755309-124.75531z m78.978867 28.179563a125.43258 125.43258 0 0 1 25.210098 27.932669 1.274941 1.274941 0 0 1-2.128949 1.404459 122.882698 122.882698 0 0 0-24.696074-27.36468 1.274941 1.274941 0 1 1 1.614925-1.972448zM317.310482 319.825286a76.071462 76.071462 0 0 0-4.105444 9.157987l-2.390682-0.886388a78.621344 78.621344 0 0 1 4.243056-9.465591l2.25307 1.193992z m-6.952137 18.769286a75.968928 75.968928 0 0 0-1.542071 9.906761l-2.540437-0.225307c0.307605-3.453808 0.837818-6.869839 1.594687-10.24l2.487821 0.558546z m-1.794361 19.980817c0.12547 3.321592 0.453312 6.660722 0.97678 10.0039l-2.518851 0.395299c-0.539657-3.440316-0.876943-6.880632-1.005112-10.30341l2.548532-0.095789z m3.085492 19.852648a99.02849 99.02849 0 0 0 3.131362 9.569476l-2.379889 0.914719a101.577022 101.577022 0 0 1-3.21366-9.817718l2.462187-0.666477z m7.19903 18.798967a109.021597 109.021597 0 0 0 4.916279 8.80586l-2.166724 1.345096a111.571478 111.571478 0 0 1-5.032306-9.012279l2.282751-1.138677z m10.60292 17.097697a106.316564 106.316564 0 0 0 6.444859 7.744084l-1.879357 1.724206a108.866445 108.866445 0 0 1-6.600011-7.931616l2.034509-1.536674z m13.65738 14.854071a85.554593 85.554593 0 0 0 7.885745 6.226298l-1.457075 2.092522a88.101776 88.101776 0 0 1-8.121845-6.41248l1.693175-1.907689z m16.520264 11.381376c3.128664 1.560959 6.233043 2.776538 9.272664 3.625148l-0.685365 2.455442c-3.200169-0.893133-6.457001-2.166725-9.725976-3.797839l1.138677-2.282751z m19.039114 5.07143c3.40254 0.020237 6.622946-0.512675 9.615347-1.605481l0.874245 2.39473c-3.283816 1.200738-6.80508 1.783568-10.504432 1.760633l0.01484-2.549882z m17.953054-6.462397c2.745507-2.154582 5.036353-4.516933 6.873887-7.051974l2.06419 1.497549c-1.977845 2.727968-4.434635 5.26166-7.364975 7.559252l-1.573102-2.004827z m11.211384-15.791726c0.933607-3.170487 1.268195-6.442161 1.024-9.685502l2.541786-0.192928a29.555689 29.555689 0 0 1-1.119789 10.598872l-2.447346-0.720442z m-1.430092-19.120064c-1.40176-3.034224-3.331036-5.73386-5.642119-7.905981l1.747141-1.85912c2.551231 2.398777 4.672084 5.368242 6.210108 8.693881l-2.313781 1.07122z m-13.824675-12.708933a17.908532 17.908532 0 0 0-9.441307-0.202371l-0.607115-2.478377a20.458414 20.458414 0 0 1 10.771563 0.2361l-0.723141 2.444648z m-18.202646 4.189091c-1.655399 1.278988-3.27707 2.80487-4.856917 4.578994a46.013892 46.013892 0 0 0-2.003478 2.414967l-2.01562-1.562308c0.679968-0.876943 1.384221-1.726904 2.114108-2.547184 1.682382-1.89015 3.420079-3.525312 5.203647-4.902787l1.55826 2.018318z m-12.126102 15.451742a55.285207 55.285207 0 0 0-3.575231 9.305044l-2.452743-0.698857a57.835088 57.835088 0 0 1 3.741175-9.73542l2.286799 1.129233z m-5.496411 19.122762a63.367926 63.367926 0 0 0-0.306256 9.995805l-2.547183 0.121423c-0.167294-3.507773-0.058013-6.985866 0.319747-10.39785l2.533692 0.280622z m0.930909 19.947088c0.652986 3.237945 1.546119 6.461049 2.683446 9.650424l-2.401475 0.855357a72.353223 72.353223 0 0 1-2.780585-10.00255l2.499963-0.503231z m6.655325 18.780079a79.208221 79.208221 0 0 0 5.169918 8.60214l-2.097918 1.447631a81.756754 81.756754 0 0 1-5.337212-8.877365l2.265212-1.172406z m11.386772 16.55804a94.889318 94.889318 0 0 0 7.045228 7.190935l-1.726904 1.878008a97.43785 97.43785 0 0 1-7.231409-7.385212l1.914434-1.683731z m14.837882 13.684363a118.046018 118.046018 0 0 0 8.306677 5.731162l-1.358588 2.15863a120.5959 120.5959 0 0 1-8.486113-5.855283l1.538024-2.034509z m17.104442 10.802593c2.918198 1.538024 5.952422 3.007241 9.104021 4.403605l-1.033444 2.33132a151.232253 151.232253 0 0 1-9.259172-4.479157l1.188595-2.255768z m18.473824 8.214936c3.100332 1.154867 6.295104 2.244975 9.587014 3.270324l-0.759568 2.435204a188.785665 188.785665 0 0 1-9.717881-3.316195l0.890435-2.389333z m19.325133 6.042814c3.210962 0.831072 6.502872 1.605481 9.874382 2.320527l-0.530213 2.494566a232.76235 232.76235 0 0 1-9.983663-2.34751l0.639494-2.468932zM653.058361 15.299289c16.807631 0 30.432632 13.625001 30.432632 30.431283 0 16.807631-13.62635 30.432632-30.432632 30.432632-16.806282 0-30.431283-13.62635-30.431283-30.432632 0-16.806282 13.625001-30.431283 30.431283-30.431283z m0 2.180216c-15.602846 0-28.251067 12.648221-28.251067 28.251067 0 15.602846 12.648221 28.251067 28.251067 28.251067 15.602846 0 28.251067-12.648221 28.251067-28.251067 0-15.602846-12.648221-28.251067-28.251067-28.251067z\" fill=\"#000000\" p-id=\"3437\"></path><path d=\"M665.049549 49.000896m-30.431283 0a30.431283 30.431283 0 1 0 60.862567 0 30.431283 30.431283 0 1 0-60.862567 0Z\" fill=\"#FFDF8A\" p-id=\"3438\"></path><path d=\"M1301.309723 703.152063c16.807631 0 30.432632 13.625001 30.432633 30.432633 0 16.806282-13.62635 30.431283-30.432633 30.431283-16.806282 0-30.431283-13.625001-30.431283-30.431283 0-16.807631 13.625001-30.432632 30.431283-30.432633z m0 2.180216c-15.602846 0-28.251067 12.648221-28.251067 28.251068 0 15.604195 12.648221 28.251067 28.251067 28.251067 15.602846 0 28.251067-12.646872 28.251068-28.251067 0-15.602846-12.648221-28.251067-28.251068-28.251068z\" fill=\"#000000\" p-id=\"3439\"></path><path d=\"M1313.300912 736.853671m-30.431284 0a30.431283 30.431283 0 1 0 60.862567 0 30.431283 30.431283 0 1 0-60.862567 0Z\" fill=\"#35BCBA\" p-id=\"3440\"></path><path d=\"M562.772321 92.099289a1.274941 1.274941 0 0 1 1.430093 0.907973l0.032379 0.145708 11.953413 73.582292a1.274941 1.274941 0 0 1-2.483774 0.555847l-0.032379-0.145707-11.953413-73.582293a1.274941 1.274941 0 0 1 1.052332-1.46382zM545.642245 196.438008a1.274941 1.274941 0 0 0-0.948448-1.533976l-82.718693-19.485682a1.274941 1.274941 0 1 0-0.585528 2.482425l82.720042 19.485681a1.274941 1.274941 0 0 0 1.532627-0.948448zM502.162045 116.454029l0.113328 0.113328 47.338751 52.841908a1.274941 1.274941 0 0 1-1.784917 1.814598l-0.114677-0.113328-47.338751-52.841908a1.274941 1.274941 0 0 1 1.648653-1.917133l0.136264 0.102535z m-12.019521-13.414535l0.114678 0.111979 5.443794 6.077892a1.274941 1.274941 0 0 1-1.784917 1.814598l-0.113328-0.113328-5.445144-6.077892a1.274941 1.274941 0 0 1 1.648654-1.915784l0.136263 0.102535z m-18.69913-20.87395l0.113328 0.113328 11.8158 13.189228a1.274941 1.274941 0 0 1-1.784917 1.813249l-0.114677-0.111979-11.814451-13.189228a1.274941 1.274941 0 0 1 1.648653-1.917133l0.134915 0.102535z\" fill=\"#000000\" p-id=\"3441\"></path></svg>";
|
|
4
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
5
|
-
dangerouslySetInnerHTML: {
|
|
6
|
-
__html: svg
|
|
7
|
-
}
|
|
8
|
-
});
|
|
9
|
-
};
|
package/es/Error/index.d.ts
DELETED
package/es/Error/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { i18n } from '../_utils/locales';
|
|
4
|
-
import { ErrorSVG } from './ErrorSVG';
|
|
5
|
-
export var GuardErrorView = function GuardErrorView(props) {
|
|
6
|
-
var _props$initData, _context, _props$initData2;
|
|
7
|
-
|
|
8
|
-
var messages = props !== null && props !== void 0 && (_props$initData = props.initData) !== null && _props$initData !== void 0 && _props$initData.messages ? _concatInstanceProperty(_context = "".concat(i18n.t('user.error'), "\uFF1A")).call(_context, props === null || props === void 0 ? void 0 : (_props$initData2 = props.initData) === null || _props$initData2 === void 0 ? void 0 : _props$initData2.messages, " ") : "".concat(i18n.t('user.contactAdministrator'));
|
|
9
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
10
|
-
className: "g2-view-container"
|
|
11
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
12
|
-
className: "g2-error-content"
|
|
13
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
style: {
|
|
15
|
-
display: 'flex',
|
|
16
|
-
justifyContent: 'center'
|
|
17
|
-
}
|
|
18
|
-
}, /*#__PURE__*/React.createElement(ErrorSVG, null)), /*#__PURE__*/React.createElement("span", null, messages)));
|
|
19
|
-
};
|
package/es/Error/interface.d.ts
DELETED
package/es/Error/interface.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/es/Error/style/css.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
package/es/Error/style/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.g2-error-content{display:flex;flex-direction:column;align-items:center;margin:auto 0}.g2-error-content span{margin-top:33px;color:#545968;font-size:14px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
package/es/Error/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface ResetPasswordProps {
|
|
3
|
-
onReset: any;
|
|
4
|
-
publicConfig: any;
|
|
5
|
-
onSend: (type: 'email' | 'phone') => void;
|
|
6
|
-
onSendError: (type: 'email' | 'phone', error: any) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const ResetPassword: (props: ResetPasswordProps) => JSX.Element;
|
|
9
|
-
export {};
|