@authing/react18-ui-components 4.3.15 → 4.4.0-alpha.0

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 (209) hide show
  1. package/dist/esm/guard.min.css +2 -0
  2. package/dist/esm/guard.min.js +2 -0
  3. package/dist/esm/guard.min.js.LICENSE.txt +190 -0
  4. package/dist/typings/index.d.ts +2 -0
  5. package/package.json +14 -233
  6. package/README.md +0 -33
  7. package/lib/index.min.css +0 -2
  8. package/lib/index.min.js +0 -2
  9. package/lib/index.min.js.LICENSE.txt +0 -195
  10. package/lib/static/media/loading.3cf0104f.svg +0 -32
  11. package/types/AppOtpVerify/DownloadVerifier.d.ts +0 -1
  12. package/types/AppOtpVerify/LoginApp.d.ts +0 -1
  13. package/types/AppOtpVerify/ScanQrcode.d.ts +0 -2
  14. package/types/AppOtpVerify/Steps.d.ts +0 -11
  15. package/types/AppOtpVerify/index.d.ts +0 -2
  16. package/types/AuthClientProvider/AuthClientProvider.d.ts +0 -6
  17. package/types/AuthClientProvider/context.d.ts +0 -6
  18. package/types/AuthClientProvider/index.d.ts +0 -1
  19. package/types/Back/index.d.ts +0 -12
  20. package/types/BindTotp/businessRequest.d.ts +0 -5
  21. package/types/BindTotp/core/bindSuccess.d.ts +0 -6
  22. package/types/BindTotp/core/securityCode.d.ts +0 -8
  23. package/types/BindTotp/index.d.ts +0 -3
  24. package/types/BindTotp/interface.d.ts +0 -20
  25. package/types/ChangeLanguage/index.d.ts +0 -9
  26. package/types/ChangePassword/businessRequest.d.ts +0 -9
  27. package/types/ChangePassword/core/PasswordNotSafeReset.d.ts +0 -6
  28. package/types/ChangePassword/core/completePassword.d.ts +0 -2
  29. package/types/ChangePassword/core/firstLoginReset.d.ts +0 -6
  30. package/types/ChangePassword/core/rotateReset.d.ts +0 -6
  31. package/types/ChangePassword/index.d.ts +0 -11
  32. package/types/CompleteInfo/businessRequest.d.ts +0 -9
  33. package/types/CompleteInfo/core/completeInfo.d.ts +0 -11
  34. package/types/CompleteInfo/index.d.ts +0 -11
  35. package/types/CompleteInfo/interface.d.ts +0 -100
  36. package/types/CompleteInfo/utils.d.ts +0 -18
  37. package/types/CopyAbleText/index.d.ts +0 -5
  38. package/types/DownloadAuthenticator/index.d.ts +0 -3
  39. package/types/DownloadAuthenticator/interface.d.ts +0 -12
  40. package/types/Error/index.d.ts +0 -6
  41. package/types/Error/interface.d.ts +0 -8
  42. package/types/ForgetPassword/InputPassword/index.d.ts +0 -3
  43. package/types/ForgetPassword/core/inputIdentify.d.ts +0 -7
  44. package/types/ForgetPassword/core/resetPassword.d.ts +0 -15
  45. package/types/ForgetPassword/index.d.ts +0 -2
  46. package/types/ForgetPassword/interface.d.ts +0 -19
  47. package/types/Guard/Guard.d.ts +0 -10
  48. package/types/Guard/GuardModule/stateMachine.d.ts +0 -38
  49. package/types/Guard/authClient.d.ts +0 -14
  50. package/types/Guard/config.d.ts +0 -17
  51. package/types/Guard/core/hooks/useAgreements.d.ts +0 -14
  52. package/types/Guard/core/hooks/useGuardView.d.ts +0 -7
  53. package/types/Guard/core/hooks/useMultipleAccounts.d.ts +0 -322
  54. package/types/Guard/core/index.d.ts +0 -7
  55. package/types/Guard/core/renderContext.d.ts +0 -8
  56. package/types/Guard/core/renderModule.d.ts +0 -11
  57. package/types/Guard/core/useAppendConfig.d.ts +0 -4
  58. package/types/Guard/core/usePlugin.d.ts +0 -3
  59. package/types/Guard/event.d.ts +0 -69
  60. package/types/Guard/index.d.ts +0 -4
  61. package/types/Guard/module.d.ts +0 -34
  62. package/types/Guard/sso.d.ts +0 -19
  63. package/types/GuardButton/GuardButton.d.ts +0 -6
  64. package/types/GuardButton/index.d.ts +0 -1
  65. package/types/GuardFace/index.d.ts +0 -16
  66. package/types/GuardSelect/index.d.ts +0 -29
  67. package/types/IconFont/iconfont.d.ts +0 -1
  68. package/types/IconFont/index.d.ts +0 -8
  69. package/types/IconFont/useGuardIconfont.d.ts +0 -1
  70. package/types/IdentityBinding/IdentityBinding.d.ts +0 -5
  71. package/types/IdentityBinding/businessRequest.d.ts +0 -36
  72. package/types/IdentityBinding/index.d.ts +0 -2
  73. package/types/IdentityBinding/interface.d.ts +0 -27
  74. package/types/IdentityBindingAsk/IdentityBindingAsk.d.ts +0 -3
  75. package/types/IdentityBindingAsk/index.d.ts +0 -2
  76. package/types/IdentityBindingAsk/interface.d.ts +0 -21
  77. package/types/ImagePro/index.d.ts +0 -15
  78. package/types/InputNumber/index.d.ts +0 -5
  79. package/types/InputPassword/index.d.ts +0 -1
  80. package/types/LazyloadImage/index.d.ts +0 -12
  81. package/types/Login/codemap.d.ts +0 -2
  82. package/types/Login/core/withAD.d.ts +0 -20
  83. package/types/Login/core/withAppQrcode.d.ts +0 -8
  84. package/types/Login/core/withAuthingOtpPush/BeforeLogin.d.ts +0 -17
  85. package/types/Login/core/withAuthingOtpPush/HowBindClient.d.ts +0 -1
  86. package/types/Login/core/withAuthingOtpPush/HowGetAppLoginUrl.d.ts +0 -1
  87. package/types/Login/core/withAuthingOtpPush/HowUsePushLogin.d.ts +0 -1
  88. package/types/Login/core/withAuthingOtpPush/PendingLogin.d.ts +0 -6
  89. package/types/Login/core/withAuthingOtpPush/PushLoginGuideModal.d.ts +0 -2
  90. package/types/Login/core/withAuthingOtpPush/PushLoginGuideSelector.d.ts +0 -8
  91. package/types/Login/core/withAuthingOtpPush/index.d.ts +0 -2
  92. package/types/Login/core/withAuthingOtpPush/types.d.ts +0 -28
  93. package/types/Login/core/withLDAP.d.ts +0 -21
  94. package/types/Login/core/withPassword/FormItemAccount.d.ts +0 -6
  95. package/types/Login/core/withPassword/GraphicVerifyCode.d.ts +0 -7
  96. package/types/Login/core/withPassword/InputAccount.d.ts +0 -7
  97. package/types/Login/core/withPassword/index.d.ts +0 -27
  98. package/types/Login/core/withVerifyCode/FormItemIdentify.d.ts +0 -11
  99. package/types/Login/core/withVerifyCode/InputInternationPhone.d.ts +0 -7
  100. package/types/Login/core/withVerifyCode/VirtualDropdown.d.ts +0 -12
  101. package/types/Login/core/withVerifyCode/index.d.ts +0 -3
  102. package/types/Login/core/withVerifyCode/inputIdentify.d.ts +0 -7
  103. package/types/Login/core/withWechatMiniQrcode.d.ts +0 -10
  104. package/types/Login/core/withWechatmpQrcode.d.ts +0 -13
  105. package/types/Login/hooks/useLoginMultiple.d.ts +0 -64
  106. package/types/Login/hooks/useOtpPushLogin.d.ts +0 -10
  107. package/types/Login/index.d.ts +0 -5
  108. package/types/Login/interface.d.ts +0 -41
  109. package/types/Login/multipleAccounts/index.d.ts +0 -22
  110. package/types/Login/multipleAccounts/panel.d.ts +0 -46
  111. package/types/Login/resetAccountName/businessRequest.d.ts +0 -6
  112. package/types/Login/resetAccountName/index.d.ts +0 -3
  113. package/types/Login/socialLogin/IdpButton/index.d.ts +0 -1
  114. package/types/Login/socialLogin/index.d.ts +0 -18
  115. package/types/Login/socialLogin/postMessage.d.ts +0 -7
  116. package/types/MFA/VerifyCodeInput/VerifyCodeFormItem.d.ts +0 -8
  117. package/types/MFA/VerifyCodeInput/index.d.ts +0 -14
  118. package/types/MFA/businessRequest.d.ts +0 -46
  119. package/types/MFA/codemap.d.ts +0 -2
  120. package/types/MFA/core/email.d.ts +0 -23
  121. package/types/MFA/core/face.d.ts +0 -1
  122. package/types/MFA/core/face_deps.d.ts +0 -11
  123. package/types/MFA/core/sms.d.ts +0 -28
  124. package/types/MFA/core/totp.d.ts +0 -20
  125. package/types/MFA/index.d.ts +0 -9
  126. package/types/MFA/interface.d.ts +0 -43
  127. package/types/MFA/mfaMethods/index.d.ts +0 -8
  128. package/types/NeedHelpView/core/describeQuestions.d.ts +0 -7
  129. package/types/NeedHelpView/index.d.ts +0 -1
  130. package/types/NewSubmitSuccess/index.d.ts +0 -2
  131. package/types/NewSubmitSuccess/interface.d.ts +0 -19
  132. package/types/Qrcode/UiQrCode.d.ts +0 -51
  133. package/types/Qrcode/WorkQrCode.d.ts +0 -41
  134. package/types/Qrcode/hooks/useImage.d.ts +0 -4
  135. package/types/Qrcode/hooks/usePostQrCode.d.ts +0 -72
  136. package/types/Qrcode/hooks/usePreQrCode.d.ts +0 -31
  137. package/types/Qrcode/hooks/useStatus.d.ts +0 -8
  138. package/types/Qrcode/index.d.ts +0 -7
  139. package/types/RecoveryCode/businessRequest.d.ts +0 -5
  140. package/types/RecoveryCode/core/saveCode.d.ts +0 -5
  141. package/types/RecoveryCode/core/useCode.d.ts +0 -7
  142. package/types/RecoveryCode/index.d.ts +0 -5
  143. package/types/RecoveryCode/interface.d.ts +0 -8
  144. package/types/Register/codemap.d.ts +0 -2
  145. package/types/Register/components/Agreements/index.d.ts +0 -11
  146. package/types/Register/core/WithCode.d.ts +0 -17
  147. package/types/Register/core/WithEmail.d.ts +0 -13
  148. package/types/Register/core/WithEmailCode.d.ts +0 -11
  149. package/types/Register/core/WithPhone.d.ts +0 -10
  150. package/types/Register/index.d.ts +0 -2
  151. package/types/Register/interface.d.ts +0 -25
  152. package/types/Register/utils.d.ts +0 -1
  153. package/types/SelectAccount/index.d.ts +0 -2
  154. package/types/SelfUnlock/core/selfUnlock.d.ts +0 -8
  155. package/types/SelfUnlock/index.d.ts +0 -2
  156. package/types/SelfUnlock/interface.d.ts +0 -15
  157. package/types/SendCode/SendCodeBtn.d.ts +0 -10
  158. package/types/SendCode/SendCodeByEmail.d.ts +0 -13
  159. package/types/SendCode/SendCodeByPhone.d.ts +0 -15
  160. package/types/SendCode/index.d.ts +0 -9
  161. package/types/ShieldSpin/index.d.ts +0 -6
  162. package/types/SingleComponent/SingleComponent.d.ts +0 -2
  163. package/types/SingleComponent/index.d.ts +0 -3
  164. package/types/SubmitButton/index.d.ts +0 -10
  165. package/types/SubmitSuccess/index.d.ts +0 -2
  166. package/types/SubmitSuccess/interface.d.ts +0 -17
  167. package/types/TenantPortalSelect/index.d.ts +0 -2
  168. package/types/TenantPortalSelect/interface.d.ts +0 -33
  169. package/types/Type/application.d.ts +0 -336
  170. package/types/Type/index.d.ts +0 -86
  171. package/types/UploadImage/index.d.ts +0 -5
  172. package/types/ValidatorRules/PasswordFormItem.d.ts +0 -6
  173. package/types/ValidatorRules/ValidatorFormItem.d.ts +0 -8
  174. package/types/ValidatorRules/index.d.ts +0 -32
  175. package/types/ValidatorRules/useCheckRepeat.d.ts +0 -1
  176. package/types/VerifyCodeInput/index.d.ts +0 -10
  177. package/types/_utils/GuardErrorCode.d.ts +0 -11
  178. package/types/_utils/appendConfig.d.ts +0 -4
  179. package/types/_utils/clipboard.d.ts +0 -1
  180. package/types/_utils/config/index.d.ts +0 -110
  181. package/types/_utils/context.d.ts +0 -159
  182. package/types/_utils/corsVerification.d.ts +0 -1
  183. package/types/_utils/countryList.d.ts +0 -7
  184. package/types/_utils/errorFace.d.ts +0 -12
  185. package/types/_utils/facePlugin/index.d.ts +0 -4
  186. package/types/_utils/facePlugin/interface.d.ts +0 -5
  187. package/types/_utils/flowHandleStorage.d.ts +0 -4
  188. package/types/_utils/getCaptchaUrl.d.ts +0 -1
  189. package/types/_utils/guardDocument.d.ts +0 -3
  190. package/types/_utils/guardHttp.d.ts +0 -27
  191. package/types/_utils/hooks/index.d.ts +0 -43
  192. package/types/_utils/http.d.ts +0 -33
  193. package/types/_utils/index.d.ts +0 -98
  194. package/types/_utils/initAppId.d.ts +0 -7
  195. package/types/_utils/locales/en-us/index.d.ts +0 -4
  196. package/types/_utils/locales/index.d.ts +0 -8
  197. package/types/_utils/locales/ja-jp/index.d.ts +0 -4
  198. package/types/_utils/locales/zh-cn/index.d.ts +0 -4
  199. package/types/_utils/locales/zh-tw/index.d.ts +0 -4
  200. package/types/_utils/logger/index.d.ts +0 -15
  201. package/types/_utils/logger/interface.d.ts +0 -5
  202. package/types/_utils/popupCenter.d.ts +0 -9
  203. package/types/_utils/responseManagement/index.d.ts +0 -3
  204. package/types/_utils/responseManagement/interface.d.ts +0 -25
  205. package/types/_utils/tenant.d.ts +0 -19
  206. package/types/_utils/useErrorText.d.ts +0 -5
  207. package/types/index.d.ts +0 -7
  208. package/types/version/index.d.ts +0 -2
  209. package/types/version/version.d.ts +0 -2
@@ -1,5 +0,0 @@
1
- export declare enum LoggerType {
2
- INFO = "INFO",
3
- WARN = "WARN",
4
- ERROR = "ERROR"
5
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * 在屏幕中心弹出新窗口加载 url
3
- * @param url
4
- * @param param1
5
- */
6
- export declare const popupCenter: (url: string, { w, h }?: {
7
- w: number;
8
- h: number;
9
- }) => void;
@@ -1,3 +0,0 @@
1
- import { AuthingGuardResponse, AuthingResponse } from '../http';
2
- import { CodeAction } from './interface';
3
- export declare const errorCodeInterceptor: (res: AuthingResponse<any>, callBack: (code: CodeAction, res: AuthingResponse) => AuthingGuardResponse) => AuthingResponse<any>;
@@ -1,25 +0,0 @@
1
- import { GuardModuleType } from '../../Guard';
2
- export declare enum CodeAction {
3
- CHANGE_MODULE = "changeModule",
4
- RENDER_MESSAGE = "renderMessage",
5
- FLOW_END = "flowEnd"
6
- }
7
- export declare enum ApiCode {
8
- IDENTITY_BINDING_ASK = 1641,
9
- IDENTITY_BINDING = 1640,
10
- IDENTITY_BINDING_NO_ASK = 1666,
11
- APP_MFA = 1636,
12
- MFA = 1635,
13
- ABORT_FLOW = 1699,
14
- COMPLETE_INFO = 1642,
15
- UNLOCK = 1643,
16
- FLOW_END = 1600,
17
- FIRST_LOGIN_PASSWORD = 1639,
18
- FORCED_PASSWORD_RESET = 2058,
19
- UNSAFE_PASSWORD_TIP = 2061,
20
- UNSAFE_PASSWORD_RESET = 2071,
21
- FLOW_SELECT_ACCOUNT = 2921,
22
- TENANT_PORTAL = 1644,
23
- RESET_ACCOUNT_NAME = 1108
24
- }
25
- export declare const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
@@ -1,19 +0,0 @@
1
- import { ApplicationConfig } from '../Type';
2
- /** **当前租户应用** 下的租户信息获取和操作处理,将租户相关的处理收拢 */
3
- export declare class MultipleTenant {
4
- private $config;
5
- private $tenantId;
6
- constructor(tenantId: string, config: ApplicationConfig);
7
- /** 获取租户ID */
8
- getCurrentTenantId: () => string | null;
9
- /** 获取租户详情 */
10
- getCurrentTenantInfo: () => Record<string, any> | undefined;
11
- /**是否为【租户控制台】 */
12
- isTenantConsole: () => boolean | undefined;
13
- /** 是否为租户【单点登录】 */
14
- isTenantSSO: () => boolean | "" | null;
15
- /** 是否为租户【单点登录面板】 */
16
- isTenantSSOLaunchPad: () => boolean | "" | null;
17
- }
18
- /** 初始化多租户实例 */
19
- export declare const useMultipleTenant: (tenantId: string, publicConfig: ApplicationConfig) => MultipleTenant | undefined;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export declare const usePasswordErrorText: () => {
3
- setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
4
- getPassWordUnsafeText: () => JSX.Element;
5
- };
package/types/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export * from './_utils/config';
2
- export * from './_utils/responseManagement/interface';
3
- export * from './AuthClientProvider';
4
- export * from './Guard';
5
- export * from './Type';
6
- export * from './version';
7
- export * from './Guard/core/hooks/useGuardView';
@@ -1,2 +0,0 @@
1
- import version from './version';
2
- export default version;
@@ -1,2 +0,0 @@
1
- declare const _default: "4.3.15";
2
- export default _default;