@authing/react-ui-components 3.0.2-beta.4 → 3.0.2-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/lib/index.d.ts +453 -35
  2. package/lib/index.min.css +2 -2
  3. package/lib/index.min.js +1 -1
  4. package/package.json +25 -7
  5. package/.eslintignore +0 -6
  6. package/.eslintrc.js +0 -7
  7. package/.prettierrc +0 -5
  8. package/.vscode/settings.json +0 -31
  9. package/build/asset-manifest.json +0 -26
  10. package/build/favicon.ico +0 -0
  11. package/build/index.html +0 -1
  12. package/build/logo192.png +0 -0
  13. package/build/logo512.png +0 -0
  14. package/build/manifest.json +0 -25
  15. package/build/robots.txt +0 -3
  16. package/build/static/css/2.51c07e65.chunk.css +0 -3
  17. package/build/static/css/2.51c07e65.chunk.css.map +0 -1
  18. package/build/static/css/main.779f221a.chunk.css +0 -2
  19. package/build/static/css/main.779f221a.chunk.css.map +0 -1
  20. package/build/static/js/2.bbae9fdb.chunk.js +0 -3
  21. package/build/static/js/2.bbae9fdb.chunk.js.LICENSE.txt +0 -102
  22. package/build/static/js/2.bbae9fdb.chunk.js.map +0 -1
  23. package/build/static/js/3.fd17f196.chunk.js +0 -2
  24. package/build/static/js/3.fd17f196.chunk.js.map +0 -1
  25. package/build/static/js/main.5f341531.chunk.js +0 -2
  26. package/build/static/js/main.5f341531.chunk.js.map +0 -1
  27. package/build/static/js/runtime-main.ef138021.js +0 -2
  28. package/build/static/js/runtime-main.ef138021.js.map +0 -1
  29. package/build/static/media/loading.4a67a5f3.svg +0 -29
  30. package/components/AuthingDropdown/index.tsx +0 -52
  31. package/components/AuthingDropdown/style.less +0 -43
  32. package/components/AuthingGuard/AppMFALayout/index.tsx +0 -74
  33. package/components/AuthingGuard/AppMFALayout/style.less +0 -12
  34. package/components/AuthingGuard/CompleteUserInfoLayout/index.tsx +0 -29
  35. package/components/AuthingGuard/CompleteUserInfoLayout/style.less +0 -8
  36. package/components/AuthingGuard/Forms/ADLoginForm/index.tsx +0 -117
  37. package/components/AuthingGuard/Forms/Agreements/index.tsx +0 -81
  38. package/components/AuthingGuard/Forms/Agreements/style.less +0 -44
  39. package/components/AuthingGuard/Forms/CompleteUserInfoForm/index.tsx +0 -139
  40. package/components/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm.tsx +0 -84
  41. package/components/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.tsx +0 -116
  42. package/components/AuthingGuard/Forms/EmailMfaVerifyForm/index.tsx +0 -40
  43. package/components/AuthingGuard/Forms/EmailMfaVerifyForm/style.less +0 -0
  44. package/components/AuthingGuard/Forms/EmailRegisterForm/index.tsx +0 -181
  45. package/components/AuthingGuard/Forms/EmailRegisterForm/style.less +0 -0
  46. package/components/AuthingGuard/Forms/LdapLoginForm/index.tsx +0 -166
  47. package/components/AuthingGuard/Forms/LdapLoginForm/style.less +0 -0
  48. package/components/AuthingGuard/Forms/LoginFormFooter/index.tsx +0 -76
  49. package/components/AuthingGuard/Forms/LoginFormFooter/style.less +0 -6
  50. package/components/AuthingGuard/Forms/MfaResetCodeForm/Step1.tsx +0 -86
  51. package/components/AuthingGuard/Forms/MfaResetCodeForm/Step2.tsx +0 -53
  52. package/components/AuthingGuard/Forms/MfaResetCodeForm/index.tsx +0 -65
  53. package/components/AuthingGuard/Forms/MfaResetCodeForm/style.less +0 -20
  54. package/components/AuthingGuard/Forms/MfaVerifyForm/index.tsx +0 -105
  55. package/components/AuthingGuard/Forms/MfaVerifyForm/style.less +0 -12
  56. package/components/AuthingGuard/Forms/PasswordLoginForm/index.tsx +0 -261
  57. package/components/AuthingGuard/Forms/PhoneCodeLoginForm/index.tsx +0 -133
  58. package/components/AuthingGuard/Forms/PhoneRegisterForm/index.tsx +0 -202
  59. package/components/AuthingGuard/Forms/QrCodeLoginForm/index.tsx +0 -59
  60. package/components/AuthingGuard/Forms/QrCodeLoginForm/style.less +0 -14
  61. package/components/AuthingGuard/Forms/RegisterFormFooter/index.tsx +0 -56
  62. package/components/AuthingGuard/Forms/RegisterFormFooter/style.less +0 -0
  63. package/components/AuthingGuard/Forms/ResetPwdForm/Footer.tsx +0 -21
  64. package/components/AuthingGuard/Forms/ResetPwdForm/Step1.tsx +0 -86
  65. package/components/AuthingGuard/Forms/ResetPwdForm/Step2.tsx +0 -127
  66. package/components/AuthingGuard/Forms/ResetPwdForm/Step3.tsx +0 -141
  67. package/components/AuthingGuard/Forms/ResetPwdForm/Step4.tsx +0 -51
  68. package/components/AuthingGuard/Forms/ResetPwdForm/index.tsx +0 -96
  69. package/components/AuthingGuard/Forms/ResetPwdForm/style.less +0 -3
  70. package/components/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn.tsx +0 -88
  71. package/components/AuthingGuard/Forms/SendPhoneCode/index.tsx +0 -50
  72. package/components/AuthingGuard/Forms/SendPhoneCode/style.less +0 -26
  73. package/components/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm.tsx +0 -86
  74. package/components/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.tsx +0 -113
  75. package/components/AuthingGuard/Forms/SmsMfaVerifyForm/index.tsx +0 -40
  76. package/components/AuthingGuard/Forms/SmsMfaVerifyForm/style.less +0 -3
  77. package/components/AuthingGuard/Forms/SocialAndIdpLogin/index.tsx +0 -325
  78. package/components/AuthingGuard/Forms/SocialAndIdpLogin/style.less +0 -75
  79. package/components/AuthingGuard/Forms/UploadImage/index.tsx +0 -70
  80. package/components/AuthingGuard/Forms/index.ts +0 -13
  81. package/components/AuthingGuard/GuardLayout/index.tsx +0 -474
  82. package/components/AuthingGuard/GuardLayout/style.less +0 -111
  83. package/components/AuthingGuard/Header/index.tsx +0 -25
  84. package/components/AuthingGuard/Header/style.less +0 -52
  85. package/components/AuthingGuard/IconFont/iconfont.js +0 -74
  86. package/components/AuthingGuard/IconFont/index.tsx +0 -19
  87. package/components/AuthingGuard/IconFont/style.less +0 -6
  88. package/components/AuthingGuard/IconFont/svg.js +0 -2
  89. package/components/AuthingGuard/LoginLayout/index.tsx +0 -161
  90. package/components/AuthingGuard/LoginLayout/style.less +0 -0
  91. package/components/AuthingGuard/MfaLayout/Steps.ts +0 -4
  92. package/components/AuthingGuard/MfaLayout/index.tsx +0 -49
  93. package/components/AuthingGuard/MfaLayout/style.less +0 -3
  94. package/components/AuthingGuard/RegisterLayout/index.tsx +0 -89
  95. package/components/AuthingGuard/RegisterLayout/style.less +0 -0
  96. package/components/AuthingGuard/ResetPwdLayout/index.tsx +0 -20
  97. package/components/AuthingGuard/ToggleLang/index.tsx +0 -51
  98. package/components/AuthingGuard/api/appConfig.ts +0 -146
  99. package/components/AuthingGuard/api/index.ts +0 -3
  100. package/components/AuthingGuard/api/sso.ts +0 -29
  101. package/components/AuthingGuard/api/userPoolConfig.ts +0 -111
  102. package/components/AuthingGuard/constants.ts +0 -107
  103. package/components/AuthingGuard/hooks/index.tsx +0 -70
  104. package/components/AuthingGuard/hooks/useScreenSize.tsx +0 -68
  105. package/components/AuthingGuard/index.tsx +0 -126
  106. package/components/AuthingGuard/style.less +0 -103
  107. package/components/AuthingGuard/types/Forms.ts +0 -94
  108. package/components/AuthingGuard/types/GuardConfig.ts +0 -420
  109. package/components/AuthingGuard/types/GuardState.ts +0 -7
  110. package/components/AuthingGuard/types/Locales.ts +0 -12
  111. package/components/AuthingGuard/types/index.ts +0 -4
  112. package/components/AuthingTabs/index.tsx +0 -98
  113. package/components/AuthingTabs/style.less +0 -135
  114. package/components/BindTotp/core/bindSuccess.tsx +0 -72
  115. package/components/BindTotp/core/securityCode.tsx +0 -108
  116. package/components/BindTotp/index.tsx +0 -134
  117. package/components/BindTotp/interface.ts +0 -30
  118. package/components/BindTotp/styles.less +0 -57
  119. package/components/ChangeLanguage/index.tsx +0 -35
  120. package/components/ChangePassword/core/firstLoginReset.tsx +0 -104
  121. package/components/ChangePassword/core/rotateReset.tsx +0 -114
  122. package/components/ChangePassword/index.tsx +0 -59
  123. package/components/CompleteInfo/core/completeInfo.tsx +0 -155
  124. package/components/CompleteInfo/index.tsx +0 -45
  125. package/components/CompleteInfo/interface.ts +0 -40
  126. package/components/CompleteInfo/styles.less +0 -7
  127. package/components/CopyAbleText/index.tsx +0 -54
  128. package/components/CopyAbleText/style.less +0 -13
  129. package/components/DownloadAuthenticator/index.tsx +0 -97
  130. package/components/DownloadAuthenticator/interface.ts +0 -22
  131. package/components/DownloadAuthenticator/styles.less +0 -52
  132. package/components/Error/index.tsx +0 -21
  133. package/components/Error/interface.ts +0 -9
  134. package/components/Error/styles.less +0 -12
  135. package/components/ForgetPassword/core/resetPassword.tsx +0 -162
  136. package/components/ForgetPassword/index.tsx +0 -78
  137. package/components/ForgetPassword/interface.ts +0 -32
  138. package/components/Guard/Guard.tsx +0 -287
  139. package/components/Guard/authClient.ts +0 -44
  140. package/components/Guard/config.ts +0 -19
  141. package/components/Guard/event.ts +0 -52
  142. package/components/Guard/index.tsx +0 -4
  143. package/components/Guard/module.ts +0 -20
  144. package/components/Guard/stateMachine.ts +0 -152
  145. package/components/Guard/styles.less +0 -461
  146. package/components/IconFont/iconfont.js +0 -74
  147. package/components/IconFont/index.tsx +0 -16
  148. package/components/IconFont/style.less +0 -6
  149. package/components/IconFont/svg.js +0 -2
  150. package/components/ImagePro/index.tsx +0 -53
  151. package/components/ImagePro/styles.less +0 -40
  152. package/components/InputNumber/index.tsx +0 -33
  153. package/components/Login/codemap.ts +0 -47
  154. package/components/Login/core/withAD.tsx +0 -9
  155. package/components/Login/core/withAppQrcode.tsx +0 -49
  156. package/components/Login/core/withLDAP.tsx +0 -146
  157. package/components/Login/core/withPassword/FormItemAccount.tsx +0 -42
  158. package/components/Login/core/withPassword/GraphicVerifyCode.tsx +0 -30
  159. package/components/Login/core/withPassword/InputAccount.tsx +0 -64
  160. package/components/Login/core/withPassword/index.tsx +0 -173
  161. package/components/Login/core/withPhonecode.tsx +0 -122
  162. package/components/Login/core/withWechatMiniQrcode.tsx +0 -60
  163. package/components/Login/core/withWechatmpQrcode.tsx +0 -53
  164. package/components/Login/index.tsx +0 -373
  165. package/components/Login/props.ts +0 -74
  166. package/components/Login/socialLogin/index.tsx +0 -407
  167. package/components/Login/socialLogin/style.less +0 -69
  168. package/components/Login/styles.less +0 -53
  169. package/components/MFA/VerifyCodeInput/VerifyCodeFormItem.tsx +0 -41
  170. package/components/MFA/VerifyCodeInput/index.tsx +0 -145
  171. package/components/MFA/VerifyCodeInput/style.less +0 -35
  172. package/components/MFA/codemap.ts +0 -24
  173. package/components/MFA/core/email.tsx +0 -203
  174. package/components/MFA/core/face.tsx +0 -297
  175. package/components/MFA/core/face_deps.tsx +0 -37
  176. package/components/MFA/core/sms.tsx +0 -203
  177. package/components/MFA/core/totp.tsx +0 -122
  178. package/components/MFA/index.tsx +0 -143
  179. package/components/MFA/mfaMethods/index.tsx +0 -88
  180. package/components/MFA/mfaMethods/style.less +0 -39
  181. package/components/MFA/props.ts +0 -51
  182. package/components/MFA/styles.less +0 -100
  183. package/components/NeedHelpView/core/describeQuestions.tsx +0 -245
  184. package/components/NeedHelpView/index.tsx +0 -47
  185. package/components/RecoveryCode/core/useCode.tsx +0 -71
  186. package/components/RecoveryCode/index.tsx +0 -27
  187. package/components/RecoveryCode/interface.ts +0 -31
  188. package/components/RecoveryCode/style.less +0 -13
  189. package/components/Register/codemap.ts +0 -12
  190. package/components/Register/components/Agreements/index.tsx +0 -81
  191. package/components/Register/components/Agreements/style.less +0 -44
  192. package/components/Register/core/WithEmail.tsx +0 -242
  193. package/components/Register/core/WithPhone.tsx +0 -184
  194. package/components/Register/index.tsx +0 -139
  195. package/components/Register/props.ts +0 -50
  196. package/components/SendCode/SendCodeBtn.tsx +0 -96
  197. package/components/SendCode/index.tsx +0 -94
  198. package/components/SendCode/style.less +0 -31
  199. package/components/ShieldSpin/index.tsx +0 -27
  200. package/components/ShieldSpin/loading.svg +0 -29
  201. package/components/SubmitButton/index.tsx +0 -50
  202. package/components/SubmitSuccess/index.tsx +0 -66
  203. package/components/SubmitSuccess/interface.ts +0 -17
  204. package/components/Type/index.ts +0 -52
  205. package/components/ValidatorRules/ValidatorFormItem.tsx +0 -139
  206. package/components/ValidatorRules/index.ts +0 -20
  207. package/components/VerifyCodeInput/index.tsx +0 -76
  208. package/components/VerifyCodeInput/style.less +0 -24
  209. package/components/_utils/GuardErrorCode.ts +0 -9
  210. package/components/_utils/clipboard.ts +0 -27
  211. package/components/_utils/config.ts +0 -116
  212. package/components/_utils/guradHttp.ts +0 -97
  213. package/components/_utils/hooks/index.ts +0 -64
  214. package/components/_utils/http.ts +0 -85
  215. package/components/_utils/index.ts +0 -322
  216. package/components/_utils/locales/en/common.json +0 -227
  217. package/components/_utils/locales/en/index.ts +0 -6
  218. package/components/_utils/locales/en/login.json +0 -96
  219. package/components/_utils/locales/en/map.json +0 -4
  220. package/components/_utils/locales/en/user.json +0 -82
  221. package/components/_utils/locales/index.ts +0 -45
  222. package/components/_utils/locales/zh/common.json +0 -227
  223. package/components/_utils/locales/zh/index.ts +0 -6
  224. package/components/_utils/locales/zh/login.json +0 -96
  225. package/components/_utils/locales/zh/map.json +0 -4
  226. package/components/_utils/locales/zh/user.json +0 -82
  227. package/components/_utils/popupCenter.ts +0 -48
  228. package/components/assets/images/error.png +0 -0
  229. package/components/context/base.tsx +0 -28
  230. package/components/context/global/context.tsx +0 -39
  231. package/components/context/global/reducer.tsx +0 -56
  232. package/components/context/module/context.tsx +0 -23
  233. package/components/index.ts +0 -12
  234. package/config/antdReplacer.js +0 -51
  235. package/config/env.js +0 -104
  236. package/config/getHttpsConfig.js +0 -66
  237. package/config/jest/cssTransform.js +0 -14
  238. package/config/jest/fileTransform.js +0 -40
  239. package/config/modules.js +0 -134
  240. package/config/paths.js +0 -71
  241. package/config/pnpTs.js +0 -35
  242. package/config/webpack.config.js +0 -835
  243. package/config/webpackDevServer.config.js +0 -130
  244. package/examples.tsx +0 -86
  245. package/index.js +0 -1
  246. package/logo.svg +0 -7
  247. package/public/favicon.ico +0 -0
  248. package/public/index.html +0 -43
  249. package/public/logo192.png +0 -0
  250. package/public/logo512.png +0 -0
  251. package/public/manifest.json +0 -25
  252. package/public/robots.txt +0 -3
  253. package/react-app-env.d.ts +0 -71
  254. package/reportWebVitals.ts +0 -15
  255. package/scripts/build.js +0 -208
  256. package/scripts/lib.js +0 -200
  257. package/scripts/publish.js +0 -57
  258. package/scripts/start.js +0 -162
  259. package/scripts/test.js +0 -49
  260. package/setupTests.ts +0 -5
  261. package/tsconfig.json +0 -30
package/lib/index.d.ts CHANGED
@@ -1050,7 +1050,7 @@ declare module '@authing/react-ui-components/components/BindTotp/index' {
1050
1050
  declare module '@authing/react-ui-components/components/BindTotp/interface' {
1051
1051
  import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1052
1052
  import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1053
- import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/props';
1053
+ import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/interface';
1054
1054
  export interface BindTotpConfig extends IG2Config {
1055
1055
  }
1056
1056
  export const getDefaultMFAConfig: () => BindTotpConfig;
@@ -1125,7 +1125,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1125
1125
  import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1126
1126
  export interface CompleteInfoConfig extends IG2Config {
1127
1127
  }
1128
- export const getDefaultLoginConfig: () => CompleteInfoConfig;
1128
+ export const getDefaultCompleteInfoConfig: () => CompleteInfoConfig;
1129
1129
  export interface CompleteInfoEvents extends IG2Events {
1130
1130
  onRegisterInfoCompleted?: (user: User, udfs: {
1131
1131
  definition: any;
@@ -1254,8 +1254,8 @@ declare module '@authing/react-ui-components/components/Guard/authClient' {
1254
1254
 
1255
1255
  }
1256
1256
  declare module '@authing/react-ui-components/components/Guard/config' {
1257
- import { LoginConfig } from '@authing/react-ui-components/components/Login/props';
1258
- import { RegisterConfig } from '@authing/react-ui-components/components/Register/props';
1257
+ import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
1258
+ import { RegisterConfig } from '@authing/react-ui-components/components/Register/interface';
1259
1259
  export interface GuardComponentConifg extends Partial<GuardLocalConfig> {
1260
1260
  }
1261
1261
  export interface GuardLocalConfig extends RegisterConfig, LoginConfig {
@@ -1266,8 +1266,8 @@ declare module '@authing/react-ui-components/components/Guard/config' {
1266
1266
  declare module '@authing/react-ui-components/components/Guard/event' {
1267
1267
  import { CompleteInfoEvents } from '@authing/react-ui-components/components/CompleteInfo/interface';
1268
1268
  import { ForgetPasswordEvents } from '@authing/react-ui-components/components/ForgetPassword/interface';
1269
- import { LoginEvents } from '@authing/react-ui-components/components/Login/props';
1270
- import { RegisterEvents } from '@authing/react-ui-components/components/Register/props';
1269
+ import { LoginEvents } from '@authing/react-ui-components/components/Login/interface';
1270
+ import { RegisterEvents } from '@authing/react-ui-components/components/Register/interface';
1271
1271
  export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents {
1272
1272
  }
1273
1273
  export const guardEventsFilter: (props: any) => GuardEvents;
@@ -1499,12 +1499,12 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatmpQ
1499
1499
  }
1500
1500
  declare module '@authing/react-ui-components/components/Login/index' {
1501
1501
  /// <reference types="react" />
1502
- import { GuardLoginViewProps } from '@authing/react-ui-components/components/Login/props';
1502
+ import { GuardLoginViewProps } from '@authing/react-ui-components/components/Login/interface';
1503
1503
  import './styles.less';
1504
1504
  export const GuardLoginView: (props: GuardLoginViewProps) => JSX.Element;
1505
1505
 
1506
1506
  }
1507
- declare module '@authing/react-ui-components/components/Login/props' {
1507
+ declare module '@authing/react-ui-components/components/Login/interface' {
1508
1508
  import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
1509
1509
  import { SocialConnectionProvider } from 'authing-js-sdk';
1510
1510
  import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
@@ -1540,7 +1540,7 @@ declare module '@authing/react-ui-components/components/Login/props' {
1540
1540
  }
1541
1541
  declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
1542
1542
  import React from 'react';
1543
- import { LoginConfig } from '@authing/react-ui-components/components/Login/props';
1543
+ import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
1544
1544
  import './style.less';
1545
1545
  export interface SocialLoginProps {
1546
1546
  appId: string;
@@ -1583,7 +1583,7 @@ declare module '@authing/react-ui-components/components/MFA/codemap' {
1583
1583
  }
1584
1584
  declare module '@authing/react-ui-components/components/MFA/core/email' {
1585
1585
  import React from 'react';
1586
- import { MFAConfig } from '@authing/react-ui-components/components/MFA/props';
1586
+ import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1587
1587
  interface BindMFAEmailProps {
1588
1588
  mfaToken: string;
1589
1589
  onBind: (email: string) => void;
@@ -1629,7 +1629,7 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
1629
1629
  }
1630
1630
  declare module '@authing/react-ui-components/components/MFA/core/sms' {
1631
1631
  import React from 'react';
1632
- import { MFAConfig } from '@authing/react-ui-components/components/MFA/props';
1632
+ import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1633
1633
  export interface BindMFASmsProps {
1634
1634
  mfaToken: string;
1635
1635
  onBind: (phone: string) => void;
@@ -1654,7 +1654,7 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
1654
1654
  }
1655
1655
  declare module '@authing/react-ui-components/components/MFA/core/totp' {
1656
1656
  import React from 'react';
1657
- import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/props';
1657
+ import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1658
1658
  export interface BindMFATotpProps {
1659
1659
  initData: GuardMFAInitData;
1660
1660
  changeModule: any;
@@ -1676,24 +1676,12 @@ declare module '@authing/react-ui-components/components/MFA/core/totp' {
1676
1676
  }
1677
1677
  declare module '@authing/react-ui-components/components/MFA/index' {
1678
1678
  import React from 'react';
1679
- import { GuardMFAViewProps } from '@authing/react-ui-components/components/MFA/props';
1679
+ import { GuardMFAViewProps } from '@authing/react-ui-components/components/MFA/interface';
1680
1680
  import './styles.less';
1681
1681
  export const GuardMFAView: React.FC<GuardMFAViewProps>;
1682
1682
 
1683
1683
  }
1684
- declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
1685
- import React from 'react';
1686
- import { GuardMFAInitData, MFAType } from '@authing/react-ui-components/components/MFA/props';
1687
- import './style.less';
1688
- export interface MFAMethodsProps {
1689
- applicationMfa: GuardMFAInitData['applicationMfa'];
1690
- method: MFAType;
1691
- onChangeMethod: (type: MFAType) => void;
1692
- }
1693
- export const MFAMethods: React.FC<MFAMethodsProps>;
1694
-
1695
- }
1696
- declare module '@authing/react-ui-components/components/MFA/props' {
1684
+ declare module '@authing/react-ui-components/components/MFA/interface' {
1697
1685
  import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1698
1686
  import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1699
1687
  export interface MFAConfig extends IG2Config {
@@ -1733,6 +1721,18 @@ declare module '@authing/react-ui-components/components/MFA/props' {
1733
1721
  initData: GuardMFAInitData;
1734
1722
  }
1735
1723
 
1724
+ }
1725
+ declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
1726
+ import React from 'react';
1727
+ import { GuardMFAInitData, MFAType } from '@authing/react-ui-components/components/MFA/interface';
1728
+ import './style.less';
1729
+ export interface MFAMethodsProps {
1730
+ applicationMfa: GuardMFAInitData['applicationMfa'];
1731
+ method: MFAType;
1732
+ onChangeMethod: (type: MFAType) => void;
1733
+ }
1734
+ export const MFAMethods: React.FC<MFAMethodsProps>;
1735
+
1736
1736
  }
1737
1737
  declare module '@authing/react-ui-components/components/NeedHelpView/core/describeQuestions' {
1738
1738
  /// <reference types="react" />
@@ -1831,11 +1831,11 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
1831
1831
  }
1832
1832
  declare module '@authing/react-ui-components/components/Register/index' {
1833
1833
  import React from 'react';
1834
- import { GuardRegisterViewProps } from '@authing/react-ui-components/components/Register/props';
1834
+ import { GuardRegisterViewProps } from '@authing/react-ui-components/components/Register/interface';
1835
1835
  export const GuardRegisterView: React.FC<GuardRegisterViewProps>;
1836
1836
 
1837
1837
  }
1838
- declare module '@authing/react-ui-components/components/Register/props' {
1838
+ declare module '@authing/react-ui-components/components/Register/interface' {
1839
1839
  import { RegisterMethods } from 'authing-js-sdk';
1840
1840
  import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
1841
1841
  import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
@@ -2042,6 +2042,7 @@ declare module '@authing/react-ui-components/components/_utils/guradHttp' {
2042
2042
  setUserpoolId(userpoolId: string): void;
2043
2043
  setAppId(appId: string): void;
2044
2044
  setTenantId(tenantId: string): void;
2045
+ setBaseUrl(baseUrl: string): void;
2045
2046
  getHeaders: () => Record<string, string>;
2046
2047
  get: <T>(path: string, query?: Record<string, any>, config?: RequestInit | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<T>>;
2047
2048
  post: <T>(path: string, data: any, config?: {
@@ -2252,17 +2253,397 @@ declare module '@authing/react-ui-components/components/context/module/context'
2252
2253
 
2253
2254
  }
2254
2255
  declare module '@authing/react-ui-components/components/index' {
2256
+ export * from '@authing/react-ui-components/components/_utils/config';
2257
+ export type { AuthenticationClientOptions } from 'authing-js-sdk';
2255
2258
  export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
2256
2259
  export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
2257
- export type { AuthenticationClientOptions } from 'authing-js-sdk';
2260
+ export * from '@authing/react-ui-components/components/AuthingGuard/index';
2258
2261
  export * from '@authing/react-ui-components/components/Guard/index';
2259
2262
  export * from '@authing/react-ui-components/components/Type/index';
2260
- export * from '@authing/react-ui-components/components/BindTotp/interface';
2261
- export * from '@authing/react-ui-components/components/CompleteInfo/interface';
2262
- export * from '@authing/react-ui-components/components/DownloadAuthenticator/interface';
2263
- export * from '@authing/react-ui-components/components/Error/interface';
2264
- export * from '@authing/react-ui-components/components/ForgetPassword/interface';
2265
- export * from '@authing/react-ui-components/components/_utils/config';
2263
+ export * from '@authing/react-ui-components/components/version/index';
2264
+
2265
+ }
2266
+ declare module '@authing/react-ui-components/components/version/index' {
2267
+ import version from '@authing/react-ui-components/components/version/version';
2268
+ export default version;
2269
+
2270
+ }
2271
+ declare module '@authing/react-ui-components/components/version/version' {
2272
+ const _default: "3.0.2-beta.9";
2273
+ export default _default;
2274
+
2275
+ }
2276
+ declare module '@authing/react-ui-components/config/antdReplacer' {
2277
+ export function antdScopeReplacerFn(node: any): void;
2278
+
2279
+ }
2280
+ declare module '@authing/react-ui-components/config/env' {
2281
+ export = getClientEnvironment;
2282
+ function getClientEnvironment(publicUrl: any): {
2283
+ raw: {
2284
+ NODE_ENV: "development" | "production" | "test";
2285
+ PUBLIC_URL: any;
2286
+ WDS_SOCKET_HOST: string | undefined;
2287
+ WDS_SOCKET_PATH: string | undefined;
2288
+ WDS_SOCKET_PORT: string | undefined;
2289
+ FAST_REFRESH: boolean;
2290
+ };
2291
+ stringified: {
2292
+ 'process.env': {};
2293
+ };
2294
+ };
2295
+
2296
+ }
2297
+ declare module '@authing/react-ui-components/config/getHttpsConfig' {
2298
+ export = getHttpsConfig;
2299
+ function getHttpsConfig(): boolean | {
2300
+ cert: Buffer;
2301
+ key: Buffer;
2302
+ };
2303
+
2304
+ }
2305
+ declare module '@authing/react-ui-components/config/jest/cssTransform' {
2306
+ export function process(): string;
2307
+ export function process(): string;
2308
+ export function getCacheKey(): string;
2309
+ export function getCacheKey(): string;
2310
+
2311
+ }
2312
+ declare module '@authing/react-ui-components/config/jest/fileTransform' {
2313
+ export function process(src: any, filename: any): string;
2314
+ export function process(src: any, filename: any): string;
2315
+
2316
+ }
2317
+ declare module '@authing/react-ui-components/config/modules' {
2318
+ export const additionalModulePaths: string[] | "" | null;
2319
+ export const hasTsConfig: boolean;
2320
+ export const webpackAliases: {
2321
+ src?: undefined;
2322
+ } | {
2323
+ src: string;
2324
+ } | undefined;
2325
+ export const jestAliases: {
2326
+ '^src/(.*)$'?: undefined;
2327
+ } | {
2328
+ '^src/(.*)$': string;
2329
+ } | undefined;
2330
+
2331
+ }
2332
+ declare module '@authing/react-ui-components/config/paths' {
2333
+ export const publicUrlOrPath: any;
2334
+ export const moduleFileExtensions: string[];
2335
+ export const dotenv: string;
2336
+ export const appPath: string;
2337
+ export const appBuild: string;
2338
+ export const appPublic: string;
2339
+ export const appHtml: string;
2340
+ export const appIndexJs: any;
2341
+ export const appPackageJson: string;
2342
+ export const appSrc: string;
2343
+ export const appTsConfig: string;
2344
+ export const appJsConfig: string;
2345
+ export const yarnLockFile: string;
2346
+ export const testsSetup: any;
2347
+ export const proxySetup: string;
2348
+ export const appNodeModules: string;
2349
+ export const swSrc: any;
2350
+ export const componentsIndexJs: string;
2351
+ export const libBuild: string;
2352
+
2353
+ }
2354
+ declare module '@authing/react-ui-components/config/pnpTs' {
2355
+ export function resolveModuleName(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
2356
+ export function resolveTypeReferenceDirective(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
2357
+
2358
+ }
2359
+ declare module '@authing/react-ui-components/config/webpack.config' {
2360
+ function _exports(webpackEnv: any): {
2361
+ mode: string | false;
2362
+ bail: boolean;
2363
+ devtool: string | boolean;
2364
+ externals: string[] | undefined;
2365
+ entry: any;
2366
+ output: {
2367
+ library: string | undefined;
2368
+ libraryTarget: string | undefined;
2369
+ path: string | undefined;
2370
+ pathinfo: boolean;
2371
+ filename: (chunkData: any) => false | "index.min.js" | "static/js/[name].[contenthash:8].js" | "static/js/bundle.js";
2372
+ futureEmitAssets: boolean;
2373
+ chunkFilename: string | false | undefined;
2374
+ publicPath: any;
2375
+ devtoolModuleFilenameTemplate: false | ((info: any) => string) | undefined;
2376
+ jsonpFunction: string | undefined;
2377
+ globalObject: string;
2378
+ };
2379
+ optimization: {
2380
+ minimize: boolean;
2381
+ minimizer: any[];
2382
+ splitChunks: {
2383
+ cacheGroups: {
2384
+ default: boolean;
2385
+ };
2386
+ chunks?: undefined;
2387
+ name?: undefined;
2388
+ } | {
2389
+ chunks: string;
2390
+ name: boolean;
2391
+ cacheGroups?: undefined;
2392
+ };
2393
+ runtimeChunk: false | {
2394
+ name: (entrypoint: any) => string;
2395
+ };
2396
+ };
2397
+ resolve: {
2398
+ modules: string[];
2399
+ extensions: string[];
2400
+ alias: {
2401
+ src?: undefined;
2402
+ 'react-dom$'?: string;
2403
+ 'scheduler/tracing'?: string;
2404
+ 'react-native': string;
2405
+ } | {
2406
+ src: string;
2407
+ 'react-dom$'?: string;
2408
+ 'scheduler/tracing'?: string;
2409
+ 'react-native': string;
2410
+ };
2411
+ plugins: any[];
2412
+ };
2413
+ resolveLoader: {
2414
+ plugins: any[];
2415
+ };
2416
+ module: {
2417
+ strictExportPresence: boolean;
2418
+ rules: ({
2419
+ parser: {
2420
+ requireEnsure: boolean;
2421
+ };
2422
+ oneOf?: undefined;
2423
+ } | {
2424
+ oneOf: ({
2425
+ test: RegExp[];
2426
+ loader: string;
2427
+ options: {
2428
+ limit: number;
2429
+ mimetype: string;
2430
+ name: string;
2431
+ customize?: undefined;
2432
+ plugins?: undefined;
2433
+ cacheDirectory?: undefined;
2434
+ cacheCompression?: undefined;
2435
+ compact?: undefined;
2436
+ babelrc?: undefined;
2437
+ configFile?: undefined;
2438
+ presets?: undefined;
2439
+ sourceMaps?: undefined;
2440
+ inputSourceMap?: undefined;
2441
+ };
2442
+ include?: undefined;
2443
+ exclude?: undefined;
2444
+ use?: undefined;
2445
+ sideEffects?: undefined;
2446
+ } | {
2447
+ test: RegExp[];
2448
+ loader: string;
2449
+ options: {
2450
+ limit: number;
2451
+ name: string;
2452
+ mimetype?: undefined;
2453
+ customize?: undefined;
2454
+ plugins?: undefined;
2455
+ cacheDirectory?: undefined;
2456
+ cacheCompression?: undefined;
2457
+ compact?: undefined;
2458
+ babelrc?: undefined;
2459
+ configFile?: undefined;
2460
+ presets?: undefined;
2461
+ sourceMaps?: undefined;
2462
+ inputSourceMap?: undefined;
2463
+ };
2464
+ include?: undefined;
2465
+ exclude?: undefined;
2466
+ use?: undefined;
2467
+ sideEffects?: undefined;
2468
+ } | {
2469
+ test: RegExp;
2470
+ include: string;
2471
+ loader: string;
2472
+ options: {
2473
+ customize: string;
2474
+ plugins: (string | false | (string | {
2475
+ loaderMap: {
2476
+ svg: {
2477
+ ReactComponent: string;
2478
+ };
2479
+ };
2480
+ })[] | (string | {
2481
+ libraryName: string;
2482
+ style: boolean;
2483
+ })[])[];
2484
+ cacheDirectory: boolean;
2485
+ cacheCompression: boolean;
2486
+ compact: boolean;
2487
+ limit?: undefined;
2488
+ mimetype?: undefined;
2489
+ name?: undefined;
2490
+ babelrc?: undefined;
2491
+ configFile?: undefined;
2492
+ presets?: undefined;
2493
+ sourceMaps?: undefined;
2494
+ inputSourceMap?: undefined;
2495
+ };
2496
+ exclude?: undefined;
2497
+ use?: undefined;
2498
+ sideEffects?: undefined;
2499
+ } | {
2500
+ test: RegExp;
2501
+ exclude: RegExp;
2502
+ loader: string;
2503
+ options: {
2504
+ babelrc: boolean;
2505
+ configFile: boolean;
2506
+ compact: boolean;
2507
+ presets: (string | {
2508
+ helpers: boolean;
2509
+ })[][];
2510
+ cacheDirectory: boolean;
2511
+ cacheCompression: boolean;
2512
+ sourceMaps: boolean;
2513
+ inputSourceMap: boolean;
2514
+ limit?: undefined;
2515
+ mimetype?: undefined;
2516
+ name?: undefined;
2517
+ customize?: undefined;
2518
+ plugins?: undefined;
2519
+ };
2520
+ include?: undefined;
2521
+ use?: undefined;
2522
+ sideEffects?: undefined;
2523
+ } | {
2524
+ test: RegExp;
2525
+ exclude: RegExp;
2526
+ use: (string | false | {
2527
+ loader: any;
2528
+ options: {
2529
+ publicPath: string;
2530
+ } | {
2531
+ publicPath?: undefined;
2532
+ };
2533
+ } | {
2534
+ loader: string;
2535
+ options: any;
2536
+ })[];
2537
+ sideEffects: boolean;
2538
+ loader?: undefined;
2539
+ options?: undefined;
2540
+ include?: undefined;
2541
+ } | {
2542
+ test: RegExp;
2543
+ use: (string | false | {
2544
+ loader: any;
2545
+ options: {
2546
+ publicPath: string;
2547
+ } | {
2548
+ publicPath?: undefined;
2549
+ };
2550
+ } | {
2551
+ loader: string;
2552
+ options: any;
2553
+ })[];
2554
+ loader?: undefined;
2555
+ options?: undefined;
2556
+ include?: undefined;
2557
+ exclude?: undefined;
2558
+ sideEffects?: undefined;
2559
+ } | {
2560
+ loader: string;
2561
+ exclude: RegExp[];
2562
+ options: {
2563
+ name: string;
2564
+ limit?: undefined;
2565
+ mimetype?: undefined;
2566
+ customize?: undefined;
2567
+ plugins?: undefined;
2568
+ cacheDirectory?: undefined;
2569
+ cacheCompression?: undefined;
2570
+ compact?: undefined;
2571
+ babelrc?: undefined;
2572
+ configFile?: undefined;
2573
+ presets?: undefined;
2574
+ sourceMaps?: undefined;
2575
+ inputSourceMap?: undefined;
2576
+ };
2577
+ test?: undefined;
2578
+ include?: undefined;
2579
+ use?: undefined;
2580
+ sideEffects?: undefined;
2581
+ })[];
2582
+ parser?: undefined;
2583
+ })[];
2584
+ };
2585
+ plugins: any[];
2586
+ node: {
2587
+ module: string;
2588
+ dgram: string;
2589
+ dns: string;
2590
+ fs: string;
2591
+ http2: string;
2592
+ net: string;
2593
+ tls: string;
2594
+ child_process: string;
2595
+ crypto: string;
2596
+ Buffer: boolean;
2597
+ };
2598
+ performance: boolean;
2599
+ };
2600
+ export = _exports;
2601
+
2602
+ }
2603
+ declare module '@authing/react-ui-components/config/webpackDevServer.config' {
2604
+ function _exports(proxy: any, allowedHost: any): {
2605
+ disableHostCheck: boolean;
2606
+ compress: boolean;
2607
+ clientLogLevel: string;
2608
+ contentBase: string;
2609
+ contentBasePublicPath: any;
2610
+ watchContentBase: boolean;
2611
+ hot: boolean;
2612
+ transportMode: string;
2613
+ injectClient: boolean;
2614
+ sockHost: string | undefined;
2615
+ sockPath: string | undefined;
2616
+ sockPort: string | undefined;
2617
+ publicPath: any;
2618
+ quiet: boolean;
2619
+ watchOptions: {
2620
+ ignored: any;
2621
+ };
2622
+ https: boolean | {
2623
+ cert: Buffer;
2624
+ key: Buffer;
2625
+ };
2626
+ host: string;
2627
+ overlay: boolean;
2628
+ historyApiFallback: {
2629
+ disableDotRule: boolean;
2630
+ index: any;
2631
+ };
2632
+ public: any;
2633
+ proxy: any;
2634
+ before(app: any, server: any): void;
2635
+ after(app: any): void;
2636
+ };
2637
+ export = _exports;
2638
+
2639
+ }
2640
+ declare module '@authing/react-ui-components/examples' {
2641
+ export {};
2642
+
2643
+ }
2644
+ declare module '@authing/react-ui-components/index' {
2645
+ const _exports: typeof import("@authing/react-ui-components/components/index");
2646
+ export = _exports;
2266
2647
 
2267
2648
  }
2268
2649
  declare module '@authing/react-ui-components/reportWebVitals' {
@@ -2270,6 +2651,43 @@ declare module '@authing/react-ui-components/reportWebVitals' {
2270
2651
  const reportWebVitals: (onPerfEntry?: ReportHandler | undefined) => void;
2271
2652
  export default reportWebVitals;
2272
2653
 
2654
+ }
2655
+ declare module '@authing/react-ui-components/scripts/build' {
2656
+ export {};
2657
+
2658
+ }
2659
+ declare module '@authing/react-ui-components/scripts/generate-version' {
2660
+ export {};
2661
+
2662
+ }
2663
+ declare module '@authing/react-ui-components/scripts/lib' {
2664
+ export {};
2665
+
2666
+ }
2667
+ declare module '@authing/react-ui-components/scripts/pre-publish' {
2668
+ export {};
2669
+
2670
+ }
2671
+ declare module '@authing/react-ui-components/scripts/publish' {
2672
+ export {};
2673
+
2674
+ }
2675
+ declare module '@authing/react-ui-components/scripts/start' {
2676
+ export {};
2677
+
2678
+ }
2679
+ declare module '@authing/react-ui-components/scripts/tag' {
2680
+ function feLog(): void;
2681
+
2682
+ }
2683
+ declare module '@authing/react-ui-components/scripts/test' {
2684
+ export {};
2685
+
2686
+ }
2687
+ declare module '@authing/react-ui-components/scripts/utils/is-guard-publish' {
2688
+ function _exports(): boolean;
2689
+ export = _exports;
2690
+
2273
2691
  }
2274
2692
  declare module '@authing/react-ui-components/setupTests' {
2275
2693
  import '@testing-library/jest-dom';