@authing/react-ui-components 3.0.2-beta.1 → 3.0.2-beta.14

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 (263) hide show
  1. package/lib/index.d.ts +555 -46
  2. package/lib/index.min.css +2 -2
  3. package/lib/index.min.js +1 -1
  4. package/lib/index.min.js.LICENSE.txt +2 -0
  5. package/package.json +30 -10
  6. package/.eslintignore +0 -6
  7. package/.eslintrc.js +0 -7
  8. package/.prettierrc +0 -5
  9. package/.vscode/settings.json +0 -31
  10. package/build/asset-manifest.json +0 -26
  11. package/build/favicon.ico +0 -0
  12. package/build/index.html +0 -1
  13. package/build/logo192.png +0 -0
  14. package/build/logo512.png +0 -0
  15. package/build/manifest.json +0 -25
  16. package/build/robots.txt +0 -3
  17. package/build/static/css/2.9512539b.chunk.css +0 -3
  18. package/build/static/css/2.9512539b.chunk.css.map +0 -1
  19. package/build/static/css/main.0ff9e24a.chunk.css +0 -2
  20. package/build/static/css/main.0ff9e24a.chunk.css.map +0 -1
  21. package/build/static/js/2.1105ecfb.chunk.js +0 -3
  22. package/build/static/js/2.1105ecfb.chunk.js.LICENSE.txt +0 -102
  23. package/build/static/js/2.1105ecfb.chunk.js.map +0 -1
  24. package/build/static/js/3.fd17f196.chunk.js +0 -2
  25. package/build/static/js/3.fd17f196.chunk.js.map +0 -1
  26. package/build/static/js/main.a47645ff.chunk.js +0 -2
  27. package/build/static/js/main.a47645ff.chunk.js.map +0 -1
  28. package/build/static/js/runtime-main.ef138021.js +0 -2
  29. package/build/static/js/runtime-main.ef138021.js.map +0 -1
  30. package/build/static/media/loading.4a67a5f3.svg +0 -29
  31. package/components/AuthingDropdown/index.tsx +0 -52
  32. package/components/AuthingDropdown/style.less +0 -43
  33. package/components/AuthingGuard/AppMFALayout/index.tsx +0 -74
  34. package/components/AuthingGuard/AppMFALayout/style.less +0 -12
  35. package/components/AuthingGuard/CompleteUserInfoLayout/index.tsx +0 -29
  36. package/components/AuthingGuard/CompleteUserInfoLayout/style.less +0 -8
  37. package/components/AuthingGuard/Forms/ADLoginForm/index.tsx +0 -117
  38. package/components/AuthingGuard/Forms/Agreements/index.tsx +0 -81
  39. package/components/AuthingGuard/Forms/Agreements/style.less +0 -44
  40. package/components/AuthingGuard/Forms/CompleteUserInfoForm/index.tsx +0 -139
  41. package/components/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm.tsx +0 -84
  42. package/components/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.tsx +0 -116
  43. package/components/AuthingGuard/Forms/EmailMfaVerifyForm/index.tsx +0 -40
  44. package/components/AuthingGuard/Forms/EmailMfaVerifyForm/style.less +0 -0
  45. package/components/AuthingGuard/Forms/EmailRegisterForm/index.tsx +0 -181
  46. package/components/AuthingGuard/Forms/EmailRegisterForm/style.less +0 -0
  47. package/components/AuthingGuard/Forms/LdapLoginForm/index.tsx +0 -166
  48. package/components/AuthingGuard/Forms/LdapLoginForm/style.less +0 -0
  49. package/components/AuthingGuard/Forms/LoginFormFooter/index.tsx +0 -76
  50. package/components/AuthingGuard/Forms/LoginFormFooter/style.less +0 -6
  51. package/components/AuthingGuard/Forms/MfaResetCodeForm/Step1.tsx +0 -86
  52. package/components/AuthingGuard/Forms/MfaResetCodeForm/Step2.tsx +0 -53
  53. package/components/AuthingGuard/Forms/MfaResetCodeForm/index.tsx +0 -65
  54. package/components/AuthingGuard/Forms/MfaResetCodeForm/style.less +0 -20
  55. package/components/AuthingGuard/Forms/MfaVerifyForm/index.tsx +0 -105
  56. package/components/AuthingGuard/Forms/MfaVerifyForm/style.less +0 -12
  57. package/components/AuthingGuard/Forms/PasswordLoginForm/index.tsx +0 -261
  58. package/components/AuthingGuard/Forms/PhoneCodeLoginForm/index.tsx +0 -133
  59. package/components/AuthingGuard/Forms/PhoneRegisterForm/index.tsx +0 -202
  60. package/components/AuthingGuard/Forms/QrCodeLoginForm/index.tsx +0 -59
  61. package/components/AuthingGuard/Forms/QrCodeLoginForm/style.less +0 -14
  62. package/components/AuthingGuard/Forms/RegisterFormFooter/index.tsx +0 -56
  63. package/components/AuthingGuard/Forms/RegisterFormFooter/style.less +0 -0
  64. package/components/AuthingGuard/Forms/ResetPwdForm/Footer.tsx +0 -21
  65. package/components/AuthingGuard/Forms/ResetPwdForm/Step1.tsx +0 -86
  66. package/components/AuthingGuard/Forms/ResetPwdForm/Step2.tsx +0 -127
  67. package/components/AuthingGuard/Forms/ResetPwdForm/Step3.tsx +0 -141
  68. package/components/AuthingGuard/Forms/ResetPwdForm/Step4.tsx +0 -51
  69. package/components/AuthingGuard/Forms/ResetPwdForm/index.tsx +0 -96
  70. package/components/AuthingGuard/Forms/ResetPwdForm/style.less +0 -3
  71. package/components/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn.tsx +0 -88
  72. package/components/AuthingGuard/Forms/SendPhoneCode/index.tsx +0 -50
  73. package/components/AuthingGuard/Forms/SendPhoneCode/style.less +0 -26
  74. package/components/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm.tsx +0 -86
  75. package/components/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.tsx +0 -113
  76. package/components/AuthingGuard/Forms/SmsMfaVerifyForm/index.tsx +0 -40
  77. package/components/AuthingGuard/Forms/SmsMfaVerifyForm/style.less +0 -3
  78. package/components/AuthingGuard/Forms/SocialAndIdpLogin/index.tsx +0 -325
  79. package/components/AuthingGuard/Forms/SocialAndIdpLogin/style.less +0 -75
  80. package/components/AuthingGuard/Forms/UploadImage/index.tsx +0 -70
  81. package/components/AuthingGuard/Forms/index.ts +0 -13
  82. package/components/AuthingGuard/GuardLayout/index.tsx +0 -474
  83. package/components/AuthingGuard/GuardLayout/style.less +0 -111
  84. package/components/AuthingGuard/Header/index.tsx +0 -25
  85. package/components/AuthingGuard/Header/style.less +0 -52
  86. package/components/AuthingGuard/IconFont/iconfont.js +0 -74
  87. package/components/AuthingGuard/IconFont/index.tsx +0 -19
  88. package/components/AuthingGuard/IconFont/style.less +0 -6
  89. package/components/AuthingGuard/IconFont/svg.js +0 -2
  90. package/components/AuthingGuard/LoginLayout/index.tsx +0 -161
  91. package/components/AuthingGuard/LoginLayout/style.less +0 -0
  92. package/components/AuthingGuard/MfaLayout/Steps.ts +0 -4
  93. package/components/AuthingGuard/MfaLayout/index.tsx +0 -49
  94. package/components/AuthingGuard/MfaLayout/style.less +0 -3
  95. package/components/AuthingGuard/RegisterLayout/index.tsx +0 -89
  96. package/components/AuthingGuard/RegisterLayout/style.less +0 -0
  97. package/components/AuthingGuard/ResetPwdLayout/index.tsx +0 -20
  98. package/components/AuthingGuard/ToggleLang/index.tsx +0 -51
  99. package/components/AuthingGuard/api/appConfig.ts +0 -146
  100. package/components/AuthingGuard/api/index.ts +0 -3
  101. package/components/AuthingGuard/api/sso.ts +0 -29
  102. package/components/AuthingGuard/api/userPoolConfig.ts +0 -111
  103. package/components/AuthingGuard/constants.ts +0 -107
  104. package/components/AuthingGuard/hooks/index.tsx +0 -70
  105. package/components/AuthingGuard/hooks/useScreenSize.tsx +0 -68
  106. package/components/AuthingGuard/index.tsx +0 -126
  107. package/components/AuthingGuard/style.less +0 -103
  108. package/components/AuthingGuard/types/Forms.ts +0 -94
  109. package/components/AuthingGuard/types/GuardConfig.ts +0 -420
  110. package/components/AuthingGuard/types/GuardState.ts +0 -7
  111. package/components/AuthingGuard/types/Locales.ts +0 -12
  112. package/components/AuthingGuard/types/index.ts +0 -4
  113. package/components/AuthingTabs/index.tsx +0 -98
  114. package/components/AuthingTabs/style.less +0 -135
  115. package/components/BindTotp/core/bindSuccess.tsx +0 -73
  116. package/components/BindTotp/core/securityCode.tsx +0 -108
  117. package/components/BindTotp/index.tsx +0 -134
  118. package/components/BindTotp/interface.ts +0 -30
  119. package/components/BindTotp/styles.less +0 -57
  120. package/components/ChangeLanguage/index.tsx +0 -35
  121. package/components/ChangePassword/core/firstLoginReset.tsx +0 -104
  122. package/components/ChangePassword/core/rotateReset.tsx +0 -114
  123. package/components/ChangePassword/index.tsx +0 -59
  124. package/components/CompleteInfo/core/completeInfo.tsx +0 -155
  125. package/components/CompleteInfo/index.tsx +0 -45
  126. package/components/CompleteInfo/interface.ts +0 -40
  127. package/components/CompleteInfo/styles.less +0 -7
  128. package/components/CopyAbleText/index.tsx +0 -54
  129. package/components/CopyAbleText/style.less +0 -13
  130. package/components/DownloadAuthenticator/index.tsx +0 -97
  131. package/components/DownloadAuthenticator/interface.ts +0 -22
  132. package/components/DownloadAuthenticator/styles.less +0 -52
  133. package/components/Error/index.tsx +0 -21
  134. package/components/Error/interface.ts +0 -9
  135. package/components/Error/styles.less +0 -12
  136. package/components/ForgetPassword/core/resetPassword.tsx +0 -162
  137. package/components/ForgetPassword/index.tsx +0 -78
  138. package/components/ForgetPassword/interface.ts +0 -32
  139. package/components/Guard/Guard.tsx +0 -255
  140. package/components/Guard/authClient.ts +0 -46
  141. package/components/Guard/config.ts +0 -19
  142. package/components/Guard/event.ts +0 -52
  143. package/components/Guard/index.tsx +0 -4
  144. package/components/Guard/module.ts +0 -20
  145. package/components/Guard/stateMachine.ts +0 -133
  146. package/components/Guard/styles.less +0 -461
  147. package/components/IconFont/iconfont.js +0 -74
  148. package/components/IconFont/index.tsx +0 -16
  149. package/components/IconFont/style.less +0 -6
  150. package/components/IconFont/svg.js +0 -2
  151. package/components/ImagePro/index.tsx +0 -53
  152. package/components/ImagePro/styles.less +0 -40
  153. package/components/InputNumber/index.tsx +0 -33
  154. package/components/Login/codemap.ts +0 -47
  155. package/components/Login/core/withAD.tsx +0 -9
  156. package/components/Login/core/withAppQrcode.tsx +0 -49
  157. package/components/Login/core/withLDAP.tsx +0 -146
  158. package/components/Login/core/withPassword/FormItemAccount.tsx +0 -42
  159. package/components/Login/core/withPassword/GraphicVerifyCode.tsx +0 -31
  160. package/components/Login/core/withPassword/InputAccount.tsx +0 -64
  161. package/components/Login/core/withPassword/index.tsx +0 -173
  162. package/components/Login/core/withPhonecode.tsx +0 -122
  163. package/components/Login/core/withWechatMiniQrcode.tsx +0 -60
  164. package/components/Login/core/withWechatmpQrcode.tsx +0 -53
  165. package/components/Login/index.tsx +0 -373
  166. package/components/Login/props.ts +0 -74
  167. package/components/Login/socialLogin/index.tsx +0 -407
  168. package/components/Login/socialLogin/style.less +0 -69
  169. package/components/Login/styles.less +0 -53
  170. package/components/MFA/VerifyCodeInput/VerifyCodeFormItem.tsx +0 -41
  171. package/components/MFA/VerifyCodeInput/index.tsx +0 -145
  172. package/components/MFA/VerifyCodeInput/style.less +0 -35
  173. package/components/MFA/codemap.ts +0 -24
  174. package/components/MFA/core/email.tsx +0 -203
  175. package/components/MFA/core/face.tsx +0 -297
  176. package/components/MFA/core/face_deps.tsx +0 -37
  177. package/components/MFA/core/sms.tsx +0 -204
  178. package/components/MFA/core/totp.tsx +0 -122
  179. package/components/MFA/index.tsx +0 -143
  180. package/components/MFA/mfaMethods/index.tsx +0 -88
  181. package/components/MFA/mfaMethods/style.less +0 -39
  182. package/components/MFA/props.ts +0 -51
  183. package/components/MFA/styles.less +0 -100
  184. package/components/NeedHelpView/core/describeQuestions.tsx +0 -245
  185. package/components/NeedHelpView/index.tsx +0 -47
  186. package/components/RecoveryCode/core/useCode.tsx +0 -71
  187. package/components/RecoveryCode/index.tsx +0 -27
  188. package/components/RecoveryCode/interface.ts +0 -31
  189. package/components/RecoveryCode/style.less +0 -13
  190. package/components/Register/codemap.ts +0 -12
  191. package/components/Register/components/Agreements/index.tsx +0 -81
  192. package/components/Register/components/Agreements/style.less +0 -44
  193. package/components/Register/core/WithEmail.tsx +0 -239
  194. package/components/Register/core/WithPhone.tsx +0 -184
  195. package/components/Register/index.tsx +0 -138
  196. package/components/Register/props.ts +0 -50
  197. package/components/SendCode/SendCodeBtn.tsx +0 -96
  198. package/components/SendCode/index.tsx +0 -94
  199. package/components/SendCode/style.less +0 -31
  200. package/components/ShieldSpin/index.tsx +0 -27
  201. package/components/ShieldSpin/loading.svg +0 -29
  202. package/components/SubmitButton/index.tsx +0 -50
  203. package/components/SubmitSuccess/index.tsx +0 -66
  204. package/components/SubmitSuccess/interface.ts +0 -17
  205. package/components/Type/index.ts +0 -52
  206. package/components/ValidatorRules/EmailFormItem.tsx +0 -95
  207. package/components/ValidatorRules/PhoneFormItem.tsx +0 -100
  208. package/components/ValidatorRules/index.ts +0 -14
  209. package/components/VerifyCodeInput/index.tsx +0 -76
  210. package/components/VerifyCodeInput/style.less +0 -24
  211. package/components/_utils/GuardErrorCode.ts +0 -9
  212. package/components/_utils/clipboard.ts +0 -27
  213. package/components/_utils/config.ts +0 -118
  214. package/components/_utils/guradHttp.ts +0 -97
  215. package/components/_utils/hooks/index.ts +0 -64
  216. package/components/_utils/http.ts +0 -85
  217. package/components/_utils/index.ts +0 -322
  218. package/components/_utils/locales/en/common.json +0 -227
  219. package/components/_utils/locales/en/index.ts +0 -6
  220. package/components/_utils/locales/en/login.json +0 -96
  221. package/components/_utils/locales/en/map.json +0 -4
  222. package/components/_utils/locales/en/user.json +0 -82
  223. package/components/_utils/locales/index.ts +0 -45
  224. package/components/_utils/locales/zh/common.json +0 -227
  225. package/components/_utils/locales/zh/index.ts +0 -6
  226. package/components/_utils/locales/zh/login.json +0 -96
  227. package/components/_utils/locales/zh/map.json +0 -4
  228. package/components/_utils/locales/zh/user.json +0 -82
  229. package/components/_utils/popupCenter.ts +0 -48
  230. package/components/assets/images/error.png +0 -0
  231. package/components/context/base.tsx +0 -28
  232. package/components/context/global/context.tsx +0 -39
  233. package/components/context/global/reducer.tsx +0 -56
  234. package/components/context/module/context.tsx +0 -23
  235. package/components/index.ts +0 -12
  236. package/config/antdReplacer.js +0 -51
  237. package/config/env.js +0 -104
  238. package/config/getHttpsConfig.js +0 -66
  239. package/config/jest/cssTransform.js +0 -14
  240. package/config/jest/fileTransform.js +0 -40
  241. package/config/modules.js +0 -134
  242. package/config/paths.js +0 -71
  243. package/config/pnpTs.js +0 -35
  244. package/config/webpack.config.js +0 -835
  245. package/config/webpackDevServer.config.js +0 -130
  246. package/examples.tsx +0 -82
  247. package/index.js +0 -1
  248. package/logo.svg +0 -7
  249. package/public/favicon.ico +0 -0
  250. package/public/index.html +0 -43
  251. package/public/logo192.png +0 -0
  252. package/public/logo512.png +0 -0
  253. package/public/manifest.json +0 -25
  254. package/public/robots.txt +0 -3
  255. package/react-app-env.d.ts +0 -71
  256. package/reportWebVitals.ts +0 -15
  257. package/scripts/build.js +0 -208
  258. package/scripts/lib.js +0 -200
  259. package/scripts/publish.js +0 -57
  260. package/scripts/start.js +0 -162
  261. package/scripts/test.js +0 -49
  262. package/setupTests.ts +0 -5
  263. package/tsconfig.json +0 -30
package/lib/index.d.ts CHANGED
@@ -358,7 +358,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/
358
358
 
359
359
  }
360
360
  declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
361
- import { Lang, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
361
+ import { Lang, LoginMethods, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
362
362
  import { IAzureAdConnectionConfig, ICasConnectionConfig, IOAuthConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
363
363
  import { PasswordStrength } from '@authing/react-ui-components/components/_utils/index';
364
364
  export enum ApplicationMfaType {
@@ -366,6 +366,11 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
366
366
  EMAIL = "EMAIL"
367
367
  }
368
368
  export const ApplicationMfaTypeLabel: () => Record<ApplicationMfaType, string>;
369
+ export type QrcodeTabsSettings = Record<LoginMethods, Array<{
370
+ id: string;
371
+ title: string;
372
+ isDefault?: boolean;
373
+ }>>;
369
374
  export interface OidcClientMetadata {
370
375
  grant_types: string[];
371
376
  client_id: string;
@@ -378,6 +383,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
378
383
  name: string;
379
384
  label: string;
380
385
  inputType: string;
386
+ required: boolean;
387
+ validateRules: any[];
381
388
  }
382
389
  export interface UserExtendsField {
383
390
  type: 'user';
@@ -385,6 +392,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
385
392
  name: string;
386
393
  label: string;
387
394
  inputType: string;
395
+ required: boolean;
396
+ validateRules: any[];
388
397
  }
389
398
  export type ExtendsField = InternalExtendsField | UserExtendsField;
390
399
  export interface ApplicationPasswordTabConfig {
@@ -397,6 +406,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
397
406
  lang: Lang;
398
407
  }
399
408
  export type PasswordLoginMethods = 'username-password' | 'email-password' | 'phone-password';
409
+ export type ComplateFiledsPlace = 'register' | 'login';
400
410
  export interface ApplicationConfig {
401
411
  id: string;
402
412
  cdnBase: string;
@@ -406,6 +416,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
406
416
  css: string;
407
417
  name: string;
408
418
  logo: string;
419
+ description?: string;
409
420
  redirectUris: string[];
410
421
  registerDisabled: boolean;
411
422
  registerTabs: {
@@ -415,14 +426,17 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
415
426
  [x: string]: string;
416
427
  };
417
428
  };
429
+ qrcodeTabsSettings: QrcodeTabsSettings;
418
430
  loginTabs: {
419
431
  list: string[];
420
432
  default: string;
433
+ defaultV2?: string;
421
434
  title: {
422
435
  [x: string]: string;
423
436
  };
424
437
  };
425
438
  socialConnections: SocialConnectionItem[];
439
+ complateFiledsPlace: ComplateFiledsPlace[];
426
440
  extendsFieldsEnabled: boolean;
427
441
  extendsFields: ExtendsField[];
428
442
  identifier: string;
@@ -546,8 +560,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoo
546
560
  export interface SocialConnectionItem {
547
561
  name: string;
548
562
  name_en: string;
563
+ displayName: string;
549
564
  logo: string;
550
565
  description: string;
566
+ identifier: string;
551
567
  provider: SocialConnectionProvider;
552
568
  authorizationUrl: string;
553
569
  tooltip: Record<Lang, string>;
@@ -649,6 +665,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/index' {
649
665
  import './style.less';
650
666
  interface AuthingGuardProps extends GuardEventsHandler {
651
667
  appId: string;
668
+ tenantId?: string;
652
669
  config?: UserConfig;
653
670
  visible?: boolean;
654
671
  className?: string;
@@ -683,6 +700,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms
683
700
  }
684
701
  export interface QrLoginFormProps extends BaseFormProps {
685
702
  type: LoginMethods.AppQr | LoginMethods.WxMinQr | LoginMethods.WechatMpQrcode;
703
+ idpId?: string;
686
704
  }
687
705
  export interface EmailRegisterFormProps extends BaseFormProps {
688
706
  onValidateFail?: (error: any) => void;
@@ -742,7 +760,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms
742
760
  declare module '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig' {
743
761
  import { AuthenticationClient, AuthenticationClientOptions, CommonMessage, SocialConnectionProvider, User } from 'authing-js-sdk';
744
762
  import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
745
- import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
763
+ import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement, QrcodeTabsSettings } from '@authing/react-ui-components/components/AuthingGuard/api/index';
746
764
  import { Lang } from '@authing/react-ui-components/components/AuthingGuard/types/Locales';
747
765
  export type { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
748
766
  export enum GuardMode {
@@ -916,6 +934,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
916
934
  export interface UserConfig {
917
935
  logo?: string;
918
936
  title?: string;
937
+ description?: string;
919
938
  zIndex?: number;
920
939
  isSSO?: boolean;
921
940
  mode?: GuardMode;
@@ -972,6 +991,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
972
991
  publicKey: ApplicationConfig['publicKey'];
973
992
  agreementEnabled: boolean;
974
993
  agreements: Agreement[];
994
+ loginMethodTitleMapping: Record<string, string>;
995
+ qrcodeTabsSettings: QrcodeTabsSettings;
975
996
  }
976
997
  export interface LocalesConfig {
977
998
  defaultLang?: Lang;
@@ -1050,7 +1071,7 @@ declare module '@authing/react-ui-components/components/BindTotp/index' {
1050
1071
  declare module '@authing/react-ui-components/components/BindTotp/interface' {
1051
1072
  import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1052
1073
  import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1053
- import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/props';
1074
+ import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/interface';
1054
1075
  export interface BindTotpConfig extends IG2Config {
1055
1076
  }
1056
1077
  export const getDefaultMFAConfig: () => BindTotpConfig;
@@ -1105,11 +1126,18 @@ declare module '@authing/react-ui-components/components/CompleteInfo/core/comple
1105
1126
  import React from 'react';
1106
1127
  import { ExtendsField } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1107
1128
  import { GuardCompleteInfoViewProps } from '@authing/react-ui-components/components/CompleteInfo/interface';
1129
+ import { User } from 'authing-js-sdk';
1108
1130
  export interface CompleteInfoProps {
1131
+ user: User;
1132
+ verifyCodeLength: number | undefined;
1109
1133
  extendsFields: ExtendsField[];
1110
1134
  onRegisterInfoCompleted?: GuardCompleteInfoViewProps['onRegisterInfoCompleted'];
1111
1135
  onRegisterInfoCompletedError?: GuardCompleteInfoViewProps['onRegisterInfoCompletedError'];
1112
1136
  }
1137
+ export interface FieldMetadata {
1138
+ key: string;
1139
+ options: any;
1140
+ }
1113
1141
  export const CompleteInfo: React.FC<CompleteInfoProps>;
1114
1142
 
1115
1143
  }
@@ -1125,7 +1153,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1125
1153
  import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1126
1154
  export interface CompleteInfoConfig extends IG2Config {
1127
1155
  }
1128
- export const getDefaultLoginConfig: () => CompleteInfoConfig;
1156
+ export const getDefaultCompleteInfoConfig: () => CompleteInfoConfig;
1129
1157
  export interface CompleteInfoEvents extends IG2Events {
1130
1158
  onRegisterInfoCompleted?: (user: User, udfs: {
1131
1159
  definition: any;
@@ -1141,8 +1169,25 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1141
1169
  }
1142
1170
  export interface GuardCompleteInfoViewProps extends GuardCompleteInfoProps {
1143
1171
  config: CompleteInfoConfig;
1172
+ initData: any;
1173
+ onLogin?: any;
1174
+ }
1175
+ export type ExtendsFieldType = 'user' | 'internal';
1176
+ export interface ExtendsField {
1177
+ type: ExtendsFieldType;
1178
+ name: string;
1179
+ label: string;
1180
+ inputType: string;
1181
+ required: boolean;
1182
+ validateRules: any[];
1144
1183
  }
1145
1184
 
1185
+ }
1186
+ declare module '@authing/react-ui-components/components/CompleteInfo/utils' {
1187
+ import { User } from 'authing-js-sdk';
1188
+ import { ExtendsField } from '@authing/react-ui-components/components/CompleteInfo/interface';
1189
+ export const completeFieldsFilter: (user: User, field: ExtendsField) => boolean;
1190
+
1146
1191
  }
1147
1192
  declare module '@authing/react-ui-components/components/CopyAbleText/index' {
1148
1193
  import React, { FC } from 'react';
@@ -1254,8 +1299,8 @@ declare module '@authing/react-ui-components/components/Guard/authClient' {
1254
1299
 
1255
1300
  }
1256
1301
  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';
1302
+ import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
1303
+ import { RegisterConfig } from '@authing/react-ui-components/components/Register/interface';
1259
1304
  export interface GuardComponentConifg extends Partial<GuardLocalConfig> {
1260
1305
  }
1261
1306
  export interface GuardLocalConfig extends RegisterConfig, LoginConfig {
@@ -1266,8 +1311,8 @@ declare module '@authing/react-ui-components/components/Guard/config' {
1266
1311
  declare module '@authing/react-ui-components/components/Guard/event' {
1267
1312
  import { CompleteInfoEvents } from '@authing/react-ui-components/components/CompleteInfo/interface';
1268
1313
  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';
1314
+ import { LoginEvents } from '@authing/react-ui-components/components/Login/interface';
1315
+ import { RegisterEvents } from '@authing/react-ui-components/components/Register/interface';
1271
1316
  export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents {
1272
1317
  }
1273
1318
  export const guardEventsFilter: (props: any) => GuardEvents;
@@ -1338,6 +1383,9 @@ declare module '@authing/react-ui-components/components/Guard/stateMachine' {
1338
1383
  setConfig: (config: GuardLocalConfig) => void;
1339
1384
  }
1340
1385
  export const useHistoryHijack: (back?: (() => void) | undefined) => ((state?: any) => void)[];
1386
+ export const initGuardStateMachine: (changeMouleEvent: ChangeModuleEvent, initData: ModuleState) => GuardStateMachine;
1387
+ export const getGuardStateMachine: () => GuardStateMachine;
1388
+ export const useGuardStateMachine: () => GuardStateMachine;
1341
1389
 
1342
1390
  }
1343
1391
  declare module '@authing/react-ui-components/components/IconFont/iconfont' {
@@ -1496,12 +1544,12 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatmpQ
1496
1544
  }
1497
1545
  declare module '@authing/react-ui-components/components/Login/index' {
1498
1546
  /// <reference types="react" />
1499
- import { GuardLoginViewProps } from '@authing/react-ui-components/components/Login/props';
1547
+ import { GuardLoginViewProps } from '@authing/react-ui-components/components/Login/interface';
1500
1548
  import './styles.less';
1501
1549
  export const GuardLoginView: (props: GuardLoginViewProps) => JSX.Element;
1502
1550
 
1503
1551
  }
1504
- declare module '@authing/react-ui-components/components/Login/props' {
1552
+ declare module '@authing/react-ui-components/components/Login/interface' {
1505
1553
  import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
1506
1554
  import { SocialConnectionProvider } from 'authing-js-sdk';
1507
1555
  import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
@@ -1537,7 +1585,7 @@ declare module '@authing/react-ui-components/components/Login/props' {
1537
1585
  }
1538
1586
  declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
1539
1587
  import React from 'react';
1540
- import { LoginConfig } from '@authing/react-ui-components/components/Login/props';
1588
+ import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
1541
1589
  import './style.less';
1542
1590
  export interface SocialLoginProps {
1543
1591
  appId: string;
@@ -1580,7 +1628,7 @@ declare module '@authing/react-ui-components/components/MFA/codemap' {
1580
1628
  }
1581
1629
  declare module '@authing/react-ui-components/components/MFA/core/email' {
1582
1630
  import React from 'react';
1583
- import { MFAConfig } from '@authing/react-ui-components/components/MFA/props';
1631
+ import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1584
1632
  interface BindMFAEmailProps {
1585
1633
  mfaToken: string;
1586
1634
  onBind: (email: string) => void;
@@ -1626,7 +1674,7 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
1626
1674
  }
1627
1675
  declare module '@authing/react-ui-components/components/MFA/core/sms' {
1628
1676
  import React from 'react';
1629
- import { MFAConfig } from '@authing/react-ui-components/components/MFA/props';
1677
+ import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1630
1678
  export interface BindMFASmsProps {
1631
1679
  mfaToken: string;
1632
1680
  onBind: (phone: string) => void;
@@ -1651,7 +1699,7 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
1651
1699
  }
1652
1700
  declare module '@authing/react-ui-components/components/MFA/core/totp' {
1653
1701
  import React from 'react';
1654
- import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/props';
1702
+ import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1655
1703
  export interface BindMFATotpProps {
1656
1704
  initData: GuardMFAInitData;
1657
1705
  changeModule: any;
@@ -1673,24 +1721,12 @@ declare module '@authing/react-ui-components/components/MFA/core/totp' {
1673
1721
  }
1674
1722
  declare module '@authing/react-ui-components/components/MFA/index' {
1675
1723
  import React from 'react';
1676
- import { GuardMFAViewProps } from '@authing/react-ui-components/components/MFA/props';
1724
+ import { GuardMFAViewProps } from '@authing/react-ui-components/components/MFA/interface';
1677
1725
  import './styles.less';
1678
1726
  export const GuardMFAView: React.FC<GuardMFAViewProps>;
1679
1727
 
1680
1728
  }
1681
- declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
1682
- import React from 'react';
1683
- import { GuardMFAInitData, MFAType } from '@authing/react-ui-components/components/MFA/props';
1684
- import './style.less';
1685
- export interface MFAMethodsProps {
1686
- applicationMfa: GuardMFAInitData['applicationMfa'];
1687
- method: MFAType;
1688
- onChangeMethod: (type: MFAType) => void;
1689
- }
1690
- export const MFAMethods: React.FC<MFAMethodsProps>;
1691
-
1692
- }
1693
- declare module '@authing/react-ui-components/components/MFA/props' {
1729
+ declare module '@authing/react-ui-components/components/MFA/interface' {
1694
1730
  import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1695
1731
  import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1696
1732
  export interface MFAConfig extends IG2Config {
@@ -1730,6 +1766,18 @@ declare module '@authing/react-ui-components/components/MFA/props' {
1730
1766
  initData: GuardMFAInitData;
1731
1767
  }
1732
1768
 
1769
+ }
1770
+ declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
1771
+ import React from 'react';
1772
+ import { GuardMFAInitData, MFAType } from '@authing/react-ui-components/components/MFA/interface';
1773
+ import './style.less';
1774
+ export interface MFAMethodsProps {
1775
+ applicationMfa: GuardMFAInitData['applicationMfa'];
1776
+ method: MFAType;
1777
+ onChangeMethod: (type: MFAType) => void;
1778
+ }
1779
+ export const MFAMethods: React.FC<MFAMethodsProps>;
1780
+
1733
1781
  }
1734
1782
  declare module '@authing/react-ui-components/components/NeedHelpView/core/describeQuestions' {
1735
1783
  /// <reference types="react" />
@@ -1828,11 +1876,11 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
1828
1876
  }
1829
1877
  declare module '@authing/react-ui-components/components/Register/index' {
1830
1878
  import React from 'react';
1831
- import { GuardRegisterViewProps } from '@authing/react-ui-components/components/Register/props';
1879
+ import { GuardRegisterViewProps } from '@authing/react-ui-components/components/Register/interface';
1832
1880
  export const GuardRegisterView: React.FC<GuardRegisterViewProps>;
1833
1881
 
1834
1882
  }
1835
- declare module '@authing/react-ui-components/components/Register/props' {
1883
+ declare module '@authing/react-ui-components/components/Register/interface' {
1836
1884
  import { RegisterMethods } from 'authing-js-sdk';
1837
1885
  import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
1838
1886
  import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams } from '@authing/react-ui-components/components/index';
@@ -1880,6 +1928,7 @@ declare module '@authing/react-ui-components/components/SendCode/index' {
1880
1928
  data: string;
1881
1929
  form?: any;
1882
1930
  onSendCodeBefore?: any;
1931
+ fieldName?: string;
1883
1932
  }
1884
1933
  export const SendCode: FC<SendPhoneCodeProps>;
1885
1934
 
@@ -1965,30 +2014,48 @@ declare module '@authing/react-ui-components/components/Type/index' {
1965
2014
  export const getDefaultG2Config: () => IG2Config;
1966
2015
 
1967
2016
  }
1968
- declare module '@authing/react-ui-components/components/ValidatorRules/EmailFormItem' {
2017
+ declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
1969
2018
  import React from 'react';
1970
- import { ICheckProps, ValidatorFormItemProps } from '@authing/react-ui-components/components/ValidatorRules/index';
1971
- export const EmailFormItem: React.ForwardRefExoticComponent<ValidatorFormItemProps & React.RefAttributes<ICheckProps>>;
2019
+ import { PasswordFormItemProps } from '@authing/react-ui-components/components/ValidatorRules/index';
2020
+ export const PasswordFormItem: React.FC<PasswordFormItemProps>;
1972
2021
 
1973
2022
  }
1974
- declare module '@authing/react-ui-components/components/ValidatorRules/PhoneFormItem' {
2023
+ declare module '@authing/react-ui-components/components/ValidatorRules/ValidatorFormItem' {
1975
2024
  import React from 'react';
1976
2025
  import { ICheckProps, ValidatorFormItemProps } from '@authing/react-ui-components/components/ValidatorRules/index';
2026
+ export const EmailFormItem: React.ForwardRefExoticComponent<ValidatorFormItemProps & React.RefAttributes<ICheckProps>>;
1977
2027
  export const PhoneFormItem: React.ForwardRefExoticComponent<ValidatorFormItemProps & React.RefAttributes<ICheckProps>>;
2028
+ export const UserNameFormItem: React.ForwardRefExoticComponent<ValidatorFormItemProps & React.RefAttributes<ICheckProps>>;
1978
2029
 
1979
2030
  }
1980
2031
  declare module '@authing/react-ui-components/components/ValidatorRules/index' {
1981
2032
  import { FormInstance, FormItemProps } from 'antd/lib/form';
2033
+ import FormItem from 'antd/lib/form/FormItem';
2034
+ import { PasswordFormItem } from '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem';
2035
+ import { EmailFormItem, PhoneFormItem, UserNameFormItem } from '@authing/react-ui-components/components/ValidatorRules/ValidatorFormItem';
1982
2036
  export interface ValidatorFormItemProps extends FormItemProps {
1983
- userPoolId?: string;
1984
2037
  form?: FormInstance;
1985
2038
  checkRepeat?: boolean;
1986
2039
  }
2040
+ export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
2041
+ form?: FormInstance;
2042
+ checkRepeat?: boolean;
2043
+ method: 'email' | 'phone' | 'username';
2044
+ }
2045
+ export interface PasswordFormItemProps extends FormItemProps {
2046
+ }
1987
2047
  export interface ICheckProps {
1988
- check: () => void;
2048
+ check: (values: any) => void;
2049
+ }
2050
+ type InternalFormItemType = typeof FormItem;
2051
+ interface FormItemInterface extends InternalFormItemType {
2052
+ Password: typeof PasswordFormItem;
2053
+ Email: typeof EmailFormItem;
2054
+ Phone: typeof PhoneFormItem;
2055
+ UserName: typeof UserNameFormItem;
1989
2056
  }
1990
- export { EmailFormItem } from '@authing/react-ui-components/components/ValidatorRules/EmailFormItem';
1991
- export { PhoneFormItem } from '@authing/react-ui-components/components/ValidatorRules/PhoneFormItem';
2057
+ const CustomFormItem: FormItemInterface;
2058
+ export default CustomFormItem;
1992
2059
 
1993
2060
  }
1994
2061
  declare module '@authing/react-ui-components/components/VerifyCodeInput/index' {
@@ -2029,6 +2096,17 @@ declare module '@authing/react-ui-components/components/_utils/config' {
2029
2096
  publicConfig: ApplicationConfig;
2030
2097
  }>;
2031
2098
 
2099
+ }
2100
+ declare module '@authing/react-ui-components/components/_utils/context' {
2101
+ import React from 'react';
2102
+ import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2103
+ export const createGuardContext: () => {
2104
+ Context: React.Context<ApplicationConfig | undefined>;
2105
+ Provider: React.Provider<ApplicationConfig | undefined>;
2106
+ Consumer: React.Consumer<ApplicationConfig | undefined>;
2107
+ };
2108
+ export const usePublicConfig: () => ApplicationConfig | undefined;
2109
+
2032
2110
  }
2033
2111
  declare module '@authing/react-ui-components/components/_utils/guradHttp' {
2034
2112
  export class GuardHttp {
@@ -2039,6 +2117,7 @@ declare module '@authing/react-ui-components/components/_utils/guradHttp' {
2039
2117
  setUserpoolId(userpoolId: string): void;
2040
2118
  setAppId(appId: string): void;
2041
2119
  setTenantId(tenantId: string): void;
2120
+ setBaseUrl(baseUrl: string): void;
2042
2121
  getHeaders: () => Record<string, string>;
2043
2122
  get: <T>(path: string, query?: Record<string, any>, config?: RequestInit | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<T>>;
2044
2123
  post: <T>(path: string, data: any, config?: {
@@ -2057,7 +2136,7 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
2057
2136
  import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
2058
2137
  export const useChangeModule: () => (nextModuleType: GuardModuleType, nextData?: any) => void;
2059
2138
  export const useAppId: (appId?: string | undefined) => string;
2060
- export const useDebounce: (fn: any, delay: number) => (...args: any[]) => Promise<void>;
2139
+ export const useDebounce: (fn: any, delay: number) => (...args: any[]) => void;
2061
2140
 
2062
2141
  }
2063
2142
  declare module '@authing/react-ui-components/components/_utils/http' {
@@ -2073,7 +2152,11 @@ declare module '@authing/react-ui-components/components/_utils/http' {
2073
2152
  baseUrl: string;
2074
2153
  setBaseUrl(base: string): void;
2075
2154
  langHeader: string;
2155
+ tenantHeader: string;
2156
+ tenantId: string;
2076
2157
  setLangHeader(key: string | undefined): void;
2158
+ setTenantHeader(key: string | undefined): void;
2159
+ setTenantId(tenantId: string): void;
2077
2160
  };
2078
2161
  export interface AuthingResponse<T = any> {
2079
2162
  code: number;
@@ -2085,6 +2168,8 @@ declare module '@authing/react-ui-components/components/_utils/http' {
2085
2168
  declare module '@authing/react-ui-components/components/_utils/index' {
2086
2169
  import { Rule } from 'antd/lib/form';
2087
2170
  import qs from 'qs';
2171
+ import { User } from 'authing-js-sdk';
2172
+ import { ApplicationConfig, ComplateFiledsPlace } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2088
2173
  export * from '@authing/react-ui-components/components/_utils/popupCenter';
2089
2174
  export * from '@authing/react-ui-components/components/_utils/clipboard';
2090
2175
  export const VALIDATE_PATTERN: {
@@ -2092,6 +2177,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
2092
2177
  readonly phone: RegExp;
2093
2178
  readonly ip: RegExp;
2094
2179
  readonly host: RegExp;
2180
+ readonly username: RegExp;
2095
2181
  };
2096
2182
  export const validate: (type: keyof typeof VALIDATE_PATTERN, val: string) => boolean;
2097
2183
  export const getRequiredRules: (msg: string) => Rule[];
@@ -2136,6 +2222,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
2136
2222
  export const getSymbolTypeLength: (pwd: string) => number;
2137
2223
  export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any) => Rule[];
2138
2224
  export const sleep: (delay: number) => Promise<unknown>;
2225
+ export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined) => boolean;
2139
2226
 
2140
2227
  }
2141
2228
  declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
@@ -2249,17 +2336,397 @@ declare module '@authing/react-ui-components/components/context/module/context'
2249
2336
 
2250
2337
  }
2251
2338
  declare module '@authing/react-ui-components/components/index' {
2339
+ export * from '@authing/react-ui-components/components/_utils/config';
2340
+ export type { AuthenticationClientOptions } from 'authing-js-sdk';
2252
2341
  export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
2253
2342
  export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
2254
- export type { AuthenticationClientOptions } from 'authing-js-sdk';
2343
+ export * from '@authing/react-ui-components/components/AuthingGuard/index';
2255
2344
  export * from '@authing/react-ui-components/components/Guard/index';
2256
2345
  export * from '@authing/react-ui-components/components/Type/index';
2257
- export * from '@authing/react-ui-components/components/BindTotp/interface';
2258
- export * from '@authing/react-ui-components/components/CompleteInfo/interface';
2259
- export * from '@authing/react-ui-components/components/DownloadAuthenticator/interface';
2260
- export * from '@authing/react-ui-components/components/Error/interface';
2261
- export * from '@authing/react-ui-components/components/ForgetPassword/interface';
2262
- export * from '@authing/react-ui-components/components/_utils/config';
2346
+ export * from '@authing/react-ui-components/components/version/index';
2347
+
2348
+ }
2349
+ declare module '@authing/react-ui-components/components/version/index' {
2350
+ import version from '@authing/react-ui-components/components/version/version';
2351
+ export default version;
2352
+
2353
+ }
2354
+ declare module '@authing/react-ui-components/components/version/version' {
2355
+ const _default: "3.0.2-beta.14";
2356
+ export default _default;
2357
+
2358
+ }
2359
+ declare module '@authing/react-ui-components/config/antdReplacer' {
2360
+ export function antdScopeReplacerFn(node: any): void;
2361
+
2362
+ }
2363
+ declare module '@authing/react-ui-components/config/env' {
2364
+ export = getClientEnvironment;
2365
+ function getClientEnvironment(publicUrl: any): {
2366
+ raw: {
2367
+ NODE_ENV: "development" | "production" | "test";
2368
+ PUBLIC_URL: any;
2369
+ WDS_SOCKET_HOST: string | undefined;
2370
+ WDS_SOCKET_PATH: string | undefined;
2371
+ WDS_SOCKET_PORT: string | undefined;
2372
+ FAST_REFRESH: boolean;
2373
+ };
2374
+ stringified: {
2375
+ 'process.env': {};
2376
+ };
2377
+ };
2378
+
2379
+ }
2380
+ declare module '@authing/react-ui-components/config/getHttpsConfig' {
2381
+ export = getHttpsConfig;
2382
+ function getHttpsConfig(): boolean | {
2383
+ cert: Buffer;
2384
+ key: Buffer;
2385
+ };
2386
+
2387
+ }
2388
+ declare module '@authing/react-ui-components/config/jest/cssTransform' {
2389
+ export function process(): string;
2390
+ export function process(): string;
2391
+ export function getCacheKey(): string;
2392
+ export function getCacheKey(): string;
2393
+
2394
+ }
2395
+ declare module '@authing/react-ui-components/config/jest/fileTransform' {
2396
+ export function process(src: any, filename: any): string;
2397
+ export function process(src: any, filename: any): string;
2398
+
2399
+ }
2400
+ declare module '@authing/react-ui-components/config/modules' {
2401
+ export const additionalModulePaths: string[] | "" | null;
2402
+ export const hasTsConfig: boolean;
2403
+ export const webpackAliases: {
2404
+ src?: undefined;
2405
+ } | {
2406
+ src: string;
2407
+ } | undefined;
2408
+ export const jestAliases: {
2409
+ '^src/(.*)$'?: undefined;
2410
+ } | {
2411
+ '^src/(.*)$': string;
2412
+ } | undefined;
2413
+
2414
+ }
2415
+ declare module '@authing/react-ui-components/config/paths' {
2416
+ export const publicUrlOrPath: any;
2417
+ export const moduleFileExtensions: string[];
2418
+ export const dotenv: string;
2419
+ export const appPath: string;
2420
+ export const appBuild: string;
2421
+ export const appPublic: string;
2422
+ export const appHtml: string;
2423
+ export const appIndexJs: any;
2424
+ export const appPackageJson: string;
2425
+ export const appSrc: string;
2426
+ export const appTsConfig: string;
2427
+ export const appJsConfig: string;
2428
+ export const yarnLockFile: string;
2429
+ export const testsSetup: any;
2430
+ export const proxySetup: string;
2431
+ export const appNodeModules: string;
2432
+ export const swSrc: any;
2433
+ export const componentsIndexJs: string;
2434
+ export const libBuild: string;
2435
+
2436
+ }
2437
+ declare module '@authing/react-ui-components/config/pnpTs' {
2438
+ export function resolveModuleName(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
2439
+ export function resolveTypeReferenceDirective(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
2440
+
2441
+ }
2442
+ declare module '@authing/react-ui-components/config/webpack.config' {
2443
+ function _exports(webpackEnv: any): {
2444
+ mode: string | false;
2445
+ bail: boolean;
2446
+ devtool: string | boolean;
2447
+ externals: string[] | undefined;
2448
+ entry: any;
2449
+ output: {
2450
+ library: string | undefined;
2451
+ libraryTarget: string | undefined;
2452
+ path: string | undefined;
2453
+ pathinfo: boolean;
2454
+ filename: (chunkData: any) => false | "index.min.js" | "static/js/[name].[contenthash:8].js" | "static/js/bundle.js";
2455
+ futureEmitAssets: boolean;
2456
+ chunkFilename: string | false | undefined;
2457
+ publicPath: any;
2458
+ devtoolModuleFilenameTemplate: false | ((info: any) => string) | undefined;
2459
+ jsonpFunction: string | undefined;
2460
+ globalObject: string;
2461
+ };
2462
+ optimization: {
2463
+ minimize: boolean;
2464
+ minimizer: any[];
2465
+ splitChunks: {
2466
+ cacheGroups: {
2467
+ default: boolean;
2468
+ };
2469
+ chunks?: undefined;
2470
+ name?: undefined;
2471
+ } | {
2472
+ chunks: string;
2473
+ name: boolean;
2474
+ cacheGroups?: undefined;
2475
+ };
2476
+ runtimeChunk: false | {
2477
+ name: (entrypoint: any) => string;
2478
+ };
2479
+ };
2480
+ resolve: {
2481
+ modules: string[];
2482
+ extensions: string[];
2483
+ alias: {
2484
+ src?: undefined;
2485
+ 'react-dom$'?: string;
2486
+ 'scheduler/tracing'?: string;
2487
+ 'react-native': string;
2488
+ } | {
2489
+ src: string;
2490
+ 'react-dom$'?: string;
2491
+ 'scheduler/tracing'?: string;
2492
+ 'react-native': string;
2493
+ };
2494
+ plugins: any[];
2495
+ };
2496
+ resolveLoader: {
2497
+ plugins: any[];
2498
+ };
2499
+ module: {
2500
+ strictExportPresence: boolean;
2501
+ rules: ({
2502
+ parser: {
2503
+ requireEnsure: boolean;
2504
+ };
2505
+ oneOf?: undefined;
2506
+ } | {
2507
+ oneOf: ({
2508
+ test: RegExp[];
2509
+ loader: string;
2510
+ options: {
2511
+ limit: number;
2512
+ mimetype: string;
2513
+ name: string;
2514
+ customize?: undefined;
2515
+ plugins?: undefined;
2516
+ cacheDirectory?: undefined;
2517
+ cacheCompression?: undefined;
2518
+ compact?: undefined;
2519
+ babelrc?: undefined;
2520
+ configFile?: undefined;
2521
+ presets?: undefined;
2522
+ sourceMaps?: undefined;
2523
+ inputSourceMap?: undefined;
2524
+ };
2525
+ include?: undefined;
2526
+ exclude?: undefined;
2527
+ use?: undefined;
2528
+ sideEffects?: undefined;
2529
+ } | {
2530
+ test: RegExp[];
2531
+ loader: string;
2532
+ options: {
2533
+ limit: number;
2534
+ name: string;
2535
+ mimetype?: undefined;
2536
+ customize?: undefined;
2537
+ plugins?: undefined;
2538
+ cacheDirectory?: undefined;
2539
+ cacheCompression?: undefined;
2540
+ compact?: undefined;
2541
+ babelrc?: undefined;
2542
+ configFile?: undefined;
2543
+ presets?: undefined;
2544
+ sourceMaps?: undefined;
2545
+ inputSourceMap?: undefined;
2546
+ };
2547
+ include?: undefined;
2548
+ exclude?: undefined;
2549
+ use?: undefined;
2550
+ sideEffects?: undefined;
2551
+ } | {
2552
+ test: RegExp;
2553
+ include: string;
2554
+ loader: string;
2555
+ options: {
2556
+ customize: string;
2557
+ plugins: (string | false | (string | {
2558
+ loaderMap: {
2559
+ svg: {
2560
+ ReactComponent: string;
2561
+ };
2562
+ };
2563
+ })[] | (string | {
2564
+ libraryName: string;
2565
+ style: boolean;
2566
+ })[])[];
2567
+ cacheDirectory: boolean;
2568
+ cacheCompression: boolean;
2569
+ compact: boolean;
2570
+ limit?: undefined;
2571
+ mimetype?: undefined;
2572
+ name?: undefined;
2573
+ babelrc?: undefined;
2574
+ configFile?: undefined;
2575
+ presets?: undefined;
2576
+ sourceMaps?: undefined;
2577
+ inputSourceMap?: undefined;
2578
+ };
2579
+ exclude?: undefined;
2580
+ use?: undefined;
2581
+ sideEffects?: undefined;
2582
+ } | {
2583
+ test: RegExp;
2584
+ exclude: RegExp;
2585
+ loader: string;
2586
+ options: {
2587
+ babelrc: boolean;
2588
+ configFile: boolean;
2589
+ compact: boolean;
2590
+ presets: (string | {
2591
+ helpers: boolean;
2592
+ })[][];
2593
+ cacheDirectory: boolean;
2594
+ cacheCompression: boolean;
2595
+ sourceMaps: boolean;
2596
+ inputSourceMap: boolean;
2597
+ limit?: undefined;
2598
+ mimetype?: undefined;
2599
+ name?: undefined;
2600
+ customize?: undefined;
2601
+ plugins?: undefined;
2602
+ };
2603
+ include?: undefined;
2604
+ use?: undefined;
2605
+ sideEffects?: undefined;
2606
+ } | {
2607
+ test: RegExp;
2608
+ exclude: RegExp;
2609
+ use: (string | false | {
2610
+ loader: any;
2611
+ options: {
2612
+ publicPath: string;
2613
+ } | {
2614
+ publicPath?: undefined;
2615
+ };
2616
+ } | {
2617
+ loader: string;
2618
+ options: any;
2619
+ })[];
2620
+ sideEffects: boolean;
2621
+ loader?: undefined;
2622
+ options?: undefined;
2623
+ include?: undefined;
2624
+ } | {
2625
+ test: RegExp;
2626
+ use: (string | false | {
2627
+ loader: any;
2628
+ options: {
2629
+ publicPath: string;
2630
+ } | {
2631
+ publicPath?: undefined;
2632
+ };
2633
+ } | {
2634
+ loader: string;
2635
+ options: any;
2636
+ })[];
2637
+ loader?: undefined;
2638
+ options?: undefined;
2639
+ include?: undefined;
2640
+ exclude?: undefined;
2641
+ sideEffects?: undefined;
2642
+ } | {
2643
+ loader: string;
2644
+ exclude: RegExp[];
2645
+ options: {
2646
+ name: string;
2647
+ limit?: undefined;
2648
+ mimetype?: undefined;
2649
+ customize?: undefined;
2650
+ plugins?: undefined;
2651
+ cacheDirectory?: undefined;
2652
+ cacheCompression?: undefined;
2653
+ compact?: undefined;
2654
+ babelrc?: undefined;
2655
+ configFile?: undefined;
2656
+ presets?: undefined;
2657
+ sourceMaps?: undefined;
2658
+ inputSourceMap?: undefined;
2659
+ };
2660
+ test?: undefined;
2661
+ include?: undefined;
2662
+ use?: undefined;
2663
+ sideEffects?: undefined;
2664
+ })[];
2665
+ parser?: undefined;
2666
+ })[];
2667
+ };
2668
+ plugins: any[];
2669
+ node: {
2670
+ module: string;
2671
+ dgram: string;
2672
+ dns: string;
2673
+ fs: string;
2674
+ http2: string;
2675
+ net: string;
2676
+ tls: string;
2677
+ child_process: string;
2678
+ crypto: string;
2679
+ Buffer: boolean;
2680
+ };
2681
+ performance: boolean;
2682
+ };
2683
+ export = _exports;
2684
+
2685
+ }
2686
+ declare module '@authing/react-ui-components/config/webpackDevServer.config' {
2687
+ function _exports(proxy: any, allowedHost: any): {
2688
+ disableHostCheck: boolean;
2689
+ compress: boolean;
2690
+ clientLogLevel: string;
2691
+ contentBase: string;
2692
+ contentBasePublicPath: any;
2693
+ watchContentBase: boolean;
2694
+ hot: boolean;
2695
+ transportMode: string;
2696
+ injectClient: boolean;
2697
+ sockHost: string | undefined;
2698
+ sockPath: string | undefined;
2699
+ sockPort: string | undefined;
2700
+ publicPath: any;
2701
+ quiet: boolean;
2702
+ watchOptions: {
2703
+ ignored: any;
2704
+ };
2705
+ https: boolean | {
2706
+ cert: Buffer;
2707
+ key: Buffer;
2708
+ };
2709
+ host: string;
2710
+ overlay: boolean;
2711
+ historyApiFallback: {
2712
+ disableDotRule: boolean;
2713
+ index: any;
2714
+ };
2715
+ public: any;
2716
+ proxy: any;
2717
+ before(app: any, server: any): void;
2718
+ after(app: any): void;
2719
+ };
2720
+ export = _exports;
2721
+
2722
+ }
2723
+ declare module '@authing/react-ui-components/examples' {
2724
+ export {};
2725
+
2726
+ }
2727
+ declare module '@authing/react-ui-components/index' {
2728
+ const _exports: typeof import("@authing/react-ui-components/components/index");
2729
+ export = _exports;
2263
2730
 
2264
2731
  }
2265
2732
  declare module '@authing/react-ui-components/reportWebVitals' {
@@ -2267,10 +2734,52 @@ declare module '@authing/react-ui-components/reportWebVitals' {
2267
2734
  const reportWebVitals: (onPerfEntry?: ReportHandler | undefined) => void;
2268
2735
  export default reportWebVitals;
2269
2736
 
2737
+ }
2738
+ declare module '@authing/react-ui-components/scripts/build' {
2739
+ export {};
2740
+
2741
+ }
2742
+ declare module '@authing/react-ui-components/scripts/generate-version' {
2743
+ export {};
2744
+
2745
+ }
2746
+ declare module '@authing/react-ui-components/scripts/lib' {
2747
+ export {};
2748
+
2749
+ }
2750
+ declare module '@authing/react-ui-components/scripts/pre-publish' {
2751
+ export {};
2752
+
2753
+ }
2754
+ declare module '@authing/react-ui-components/scripts/publish' {
2755
+ export {};
2756
+
2757
+ }
2758
+ declare module '@authing/react-ui-components/scripts/start' {
2759
+ export {};
2760
+
2761
+ }
2762
+ declare module '@authing/react-ui-components/scripts/tag' {
2763
+ export {};
2764
+
2765
+ }
2766
+ declare module '@authing/react-ui-components/scripts/test' {
2767
+ export {};
2768
+
2769
+ }
2770
+ declare module '@authing/react-ui-components/scripts/utils/is-guard-publish' {
2771
+ function _exports(): any;
2772
+ export = _exports;
2773
+
2270
2774
  }
2271
2775
  declare module '@authing/react-ui-components/setupTests' {
2272
2776
  import '@testing-library/jest-dom';
2273
2777
 
2778
+ }
2779
+ declare module '@authing/react-ui-components/vite.config' {
2780
+ const _default: import("vite").UserConfigExport;
2781
+ export default _default;
2782
+
2274
2783
  }
2275
2784
  declare module '@authing/react-ui-components' {
2276
2785
  import main = require('@authing/react-ui-components/components/index');