@authing/guard-shim-react 4.4.0-alpha.20 → 4.4.0-alpha.21

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 (95) hide show
  1. package/dist/typings/shim-react18/index.d.ts +8 -0
  2. package/dist/typings/src/AuthClientProvider/AuthClientProvider.d.ts +0 -1
  3. package/dist/typings/src/AuthClientProvider/context.d.ts +0 -1
  4. package/dist/typings/src/Back/index.d.ts +0 -1
  5. package/dist/typings/src/BindTotp/core/bindSuccess.d.ts +0 -1
  6. package/dist/typings/src/BindTotp/core/securityCode.d.ts +0 -1
  7. package/dist/typings/src/BindTotp/index.d.ts +0 -1
  8. package/dist/typings/src/ChangePassword/core/PasswordNotSafeReset.d.ts +0 -1
  9. package/dist/typings/src/ChangePassword/core/completePassword.d.ts +0 -1
  10. package/dist/typings/src/ChangePassword/core/firstLoginReset.d.ts +0 -1
  11. package/dist/typings/src/ChangePassword/index.d.ts +0 -1
  12. package/dist/typings/src/CompleteInfo/core/completeInfo.d.ts +0 -1
  13. package/dist/typings/src/CompleteInfo/index.d.ts +0 -1
  14. package/dist/typings/src/CopyAbleText/index.d.ts +0 -1
  15. package/dist/typings/src/DownloadAuthenticator/index.d.ts +0 -1
  16. package/dist/typings/src/Error/index.d.ts +0 -1
  17. package/dist/typings/src/ForgetPassword/InputPassword/index.d.ts +0 -1
  18. package/dist/typings/src/ForgetPassword/core/inputIdentify.d.ts +0 -1
  19. package/dist/typings/src/ForgetPassword/core/resetPassword.d.ts +0 -1
  20. package/dist/typings/src/ForgetPassword/index.d.ts +0 -1
  21. package/dist/typings/src/Guard/Guard.d.ts +0 -1
  22. package/dist/typings/src/Guard/config.d.ts +0 -1
  23. package/dist/typings/src/Guard/core/hooks/useGuardView.d.ts +0 -1
  24. package/dist/typings/src/Guard/core/index.d.ts +0 -1
  25. package/dist/typings/src/Guard/core/renderContext.d.ts +0 -1
  26. package/dist/typings/src/Guard/core/renderModule.d.ts +0 -1
  27. package/dist/typings/src/GuardButton/GuardButton.d.ts +0 -1
  28. package/dist/typings/src/GuardFace/index.d.ts +0 -1
  29. package/dist/typings/src/GuardSelect/index.d.ts +0 -1
  30. package/dist/typings/src/IconFont/index.d.ts +0 -1
  31. package/dist/typings/src/IdentityBinding/IdentityBinding.d.ts +0 -1
  32. package/dist/typings/src/IdentityBindingAsk/IdentityBindingAsk.d.ts +0 -1
  33. package/dist/typings/src/ImagePro/index.d.ts +0 -1
  34. package/dist/typings/src/InputNumber/index.d.ts +0 -1
  35. package/dist/typings/src/LazyloadImage/index.d.ts +0 -1
  36. package/dist/typings/src/Login/core/withAuthingOtpPush/BeforeLogin.d.ts +0 -1
  37. package/dist/typings/src/Login/core/withAuthingOtpPush/HowBindClient.d.ts +0 -1
  38. package/dist/typings/src/Login/core/withAuthingOtpPush/HowGetAppLoginUrl.d.ts +0 -1
  39. package/dist/typings/src/Login/core/withAuthingOtpPush/HowUsePushLogin.d.ts +0 -1
  40. package/dist/typings/src/Login/core/withAuthingOtpPush/PendingLogin.d.ts +0 -1
  41. package/dist/typings/src/Login/core/withAuthingOtpPush/PushLoginGuideModal.d.ts +0 -1
  42. package/dist/typings/src/Login/core/withAuthingOtpPush/PushLoginGuideSelector.d.ts +0 -1
  43. package/dist/typings/src/Login/core/withAuthingOtpPush/index.d.ts +0 -1
  44. package/dist/typings/src/Login/core/withPassword/FormItemAccount.d.ts +0 -1
  45. package/dist/typings/src/Login/core/withPassword/GraphicVerifyCode.d.ts +0 -1
  46. package/dist/typings/src/Login/core/withPassword/InputAccount.d.ts +0 -1
  47. package/dist/typings/src/Login/core/withVerifyCode/FormItemIdentify.d.ts +0 -1
  48. package/dist/typings/src/Login/core/withVerifyCode/InputInternationPhone.d.ts +0 -1
  49. package/dist/typings/src/Login/core/withVerifyCode/VirtualDropdown.d.ts +0 -1
  50. package/dist/typings/src/Login/core/withVerifyCode/inputIdentify.d.ts +0 -1
  51. package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +0 -1
  52. package/dist/typings/src/Login/index.d.ts +0 -1
  53. package/dist/typings/src/Login/multipleAccounts/index.d.ts +0 -1
  54. package/dist/typings/src/Login/multipleAccounts/panel.d.ts +0 -1
  55. package/dist/typings/src/Login/resetAccountName/index.d.ts +0 -1
  56. package/dist/typings/src/Login/socialLogin/index.d.ts +0 -1
  57. package/dist/typings/src/MFA/VerifyCodeInput/VerifyCodeFormItem.d.ts +0 -1
  58. package/dist/typings/src/MFA/VerifyCodeInput/index.d.ts +0 -1
  59. package/dist/typings/src/MFA/context.d.ts +0 -1
  60. package/dist/typings/src/MFA/core/email.d.ts +0 -1
  61. package/dist/typings/src/MFA/core/sms.d.ts +0 -1
  62. package/dist/typings/src/MFA/core/totp.d.ts +0 -1
  63. package/dist/typings/src/MFA/index.d.ts +0 -1
  64. package/dist/typings/src/MFA/mfaMethods/index.d.ts +0 -1
  65. package/dist/typings/src/NewSubmitSuccess/index.d.ts +0 -1
  66. package/dist/typings/src/Qrcode/UiQrCode.d.ts +0 -1
  67. package/dist/typings/src/Qrcode/WorkQrCode.d.ts +0 -1
  68. package/dist/typings/src/Qrcode/hooks/usePostQrCode.d.ts +0 -1
  69. package/dist/typings/src/RecoveryCode/core/saveCode.d.ts +0 -1
  70. package/dist/typings/src/RecoveryCode/core/useCode.d.ts +0 -1
  71. package/dist/typings/src/RecoveryCode/index.d.ts +0 -1
  72. package/dist/typings/src/Register/components/Agreements/index.d.ts +0 -1
  73. package/dist/typings/src/Register/core/WithCode.d.ts +0 -1
  74. package/dist/typings/src/Register/core/WithEmail.d.ts +0 -1
  75. package/dist/typings/src/Register/core/WithEmailCode.d.ts +0 -1
  76. package/dist/typings/src/Register/core/WithPhone.d.ts +0 -1
  77. package/dist/typings/src/Register/index.d.ts +0 -1
  78. package/dist/typings/src/SelfUnlock/index.d.ts +0 -1
  79. package/dist/typings/src/SendCode/SendCodeBtn.d.ts +0 -1
  80. package/dist/typings/src/SendCode/SendCodeByEmail.d.ts +0 -1
  81. package/dist/typings/src/SendCode/SendCodeByPhone.d.ts +0 -1
  82. package/dist/typings/src/SendCode/index.d.ts +0 -1
  83. package/dist/typings/src/SingleComponent/SingleComponent.d.ts +0 -1
  84. package/dist/typings/src/SingleComponent/index.d.ts +0 -1
  85. package/dist/typings/src/SubmitButton/index.d.ts +0 -1
  86. package/dist/typings/src/SubmitSuccess/index.d.ts +0 -1
  87. package/dist/typings/src/TenantPortalSelect/interface.d.ts +0 -1
  88. package/dist/typings/src/Type/index.d.ts +0 -1
  89. package/dist/typings/src/UploadImage/index.d.ts +0 -1
  90. package/dist/typings/src/ValidatorRules/PasswordFormItem.d.ts +0 -1
  91. package/dist/typings/src/ValidatorRules/ValidatorFormItem.d.ts +0 -1
  92. package/dist/typings/src/VerifyCodeInput/index.d.ts +0 -1
  93. package/dist/typings/src/_utils/config/index.d.ts +0 -1
  94. package/dist/typings/src/_utils/context.d.ts +0 -1
  95. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ import React, { ReactNode, CSSProperties, ReactElement, ForwardRefRenderFunction } from 'react';
2
+ export interface IRenderer {
3
+ container: Element;
4
+ element: ReactNode;
5
+ }
6
+ declare function render(renderer: IRenderer): void;
7
+ declare function unmount(container: Element): void;
8
+ export { React, ReactNode, CSSProperties, render, unmount, ReactElement, ForwardRefRenderFunction };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React, ReactNode } from 'shim-react';
3
2
  import { AuthClientContextProps } from './context';
4
3
  export declare const AuthClientProvider: React.FC<AuthClientContextProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AuthenticationClient } from 'authing-js-sdk';
3
2
  import { React } from 'shim-react';
4
3
  export interface AuthClientContextProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export interface BackProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export interface BindSuccessProps {
4
3
  onBind: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export interface SecurityCodeProps {
4
3
  mfaToken: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardBindTotpView: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  interface PasswordNotSafeResetProps {
4
3
  onReset: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare const CompletePassword: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  interface FirstLoginResetProps {
4
3
  onReset: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React, ReactNode } from 'shim-react';
3
2
  export declare const GuardChangePassword: React.FC<{
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { CompleteInfoMetaData, CompleteInfoRequest } from '../interface';
4
3
  export interface CompleteInfoProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { CompleteInfoMetaData, CompleteInfoRequest } from './interface';
4
3
  import './styles.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  export interface CopyTextProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardDownloadATView: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export interface ErrorProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { PasswordProps, InputProps } from 'shim-antd/lib/input';
4
3
  export declare const InputPasswordForget: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<React.RefObject<InputProps>>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  import { VerifyLoginMethods } from '../../Type/application';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare enum InputMethodMap {
4
3
  email = "email-code",
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare const GuardForgetPassword: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GuardEvents } from './event';
3
2
  import { GuardAppendConfig, IG2FCProps } from '../Type';
4
3
  import { GuardLocalConfig } from './config';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ReactNode } from 'shim-react';
3
2
  import { GuardModuleType } from './module';
4
3
  import { ForgetPasswordConfig } from '../ForgetPassword/interface';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  interface Options {
4
3
  changeTab?: React.Dispatch<any>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GuardProps } from '../Guard';
3
2
  import { ModuleState } from '../GuardModule/stateMachine';
4
3
  export interface GuardCoreProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GuardProps } from '../Guard';
3
2
  import { React, ReactNode } from 'shim-react';
4
3
  import { ModuleState } from '../GuardModule/stateMachine';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { GuardProps } from '../Guard';
4
3
  import '../styles.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  import './styles.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AvatarProps } from 'shim-antd/lib/avatar';
3
2
  import { TagProps } from 'shim-antd/lib/tag';
4
3
  import { React } from 'shim-react';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './styles.less';
3
2
  import { AvatarProps } from 'shim-antd/lib/avatar';
4
3
  import { ListItemProps, ListProps } from 'shim-antd/lib/list';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './iconfont';
4
3
  import './style.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardIdentityBindingView: React.FC<{
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardIdentityBindingAskView: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export interface ImageProProps extends React.ImgHTMLAttributes<HTMLImageElement> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  export interface InputNumberProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CSSProperties, ReactNode } from 'shim-react';
3
2
  interface LazyloadImageProps {
4
3
  src: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { OnPushSuccessProps, OnLoginProps } from './types';
4
3
  import { AuthingGuardResponse } from '../../../_utils/http';
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function HowBindClient(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function HowGetAppLoginUrl(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function HowUsePushLogin(): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './styles.less';
3
2
  interface PendingLoginProps {
4
3
  onCancelLogin: () => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { PushLoginGudeModalProps } from './types';
3
2
  export declare function PushLoginGudeModal(props: PushLoginGudeModalProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectorOptions, Selector } from './types';
3
2
  interface PushLoginGuideSelectorProps {
4
3
  defaultValue: Selector;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { LoginWithAuthingOtpPushProps } from './types';
3
2
  export declare function LoginWithAuthingOtpPush(props: LoginWithAuthingOtpPushProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormItemProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  export interface FormItemAccountProps extends FormItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  export interface GraphicVerifyCodeProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { InputProps } from 'shim-antd';
4
3
  export interface InputAccountProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormItemProps } from 'shim-antd/lib/form';
3
2
  import { React } from 'shim-react';
4
3
  import { VerifyLoginMethods } from '../../../Type/application';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  export interface InputInternationPhoneProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export interface VirtualDropdownProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  import { VerifyLoginMethods } from '../../../Type/application';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'shim-antd/lib/form';
3
2
  import { React } from 'shim-react';
4
3
  import { BackFillMultipleState, LoginWay } from '../../Guard/core/hooks/useMultipleAccounts';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardLoginView: React.FC<{
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { LoginWay, StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
4
3
  import { GuardModuleType } from '../../Guard';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  interface SelectPanelProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  export declare const ResetAccountName: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  import { GuardLocalConfig } from '../../Guard';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormItemProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  import './style.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  interface MFABackStateContextType {
4
3
  setMfaBackState: React.Dispatch<React.SetStateAction<string>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { MFAConfig } from '../interface';
4
3
  interface BindMFAEmailProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { GuardMFAInitData, MFAConfig } from '../interface';
4
3
  export interface BindMFASmsProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { GuardMFAInitData, MFAConfig } from '../interface';
4
3
  export interface BindMFATotpProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardMFAView: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { MFAType } from '../interface';
4
3
  import './style.less';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare const GuardNewSubmitSuccessView: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './index.less';
4
3
  import { CodeStatusDescriptions } from './WorkQrCode';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { QrCodeResponse } from './hooks/usePostQrCode';
4
3
  import { CodeStatus, UiQrProps } from './UiQrCode';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { AuthingGuardResponse, AuthingResponse } from '../../_utils/http';
4
3
  import { CodeStatus } from '../UiQrCode';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare const SaveCode: React.FC<{
4
3
  secret: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { User } from 'authing-js-sdk';
4
3
  export interface UseCodeProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  export declare const RecoveryCode: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  import { Agreement } from '../../../Type/application';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { Agreement, ApplicationConfig } from '../../Type/application';
4
3
  export interface RegisterWithCodeProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { Agreement, ApplicationConfig } from '../../Type/application';
4
3
  export interface RegisterWithEmailProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { Agreement, ApplicationConfig } from '../../Type/application';
4
3
  export interface RegisterWithEmailCodeProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { Agreement, ApplicationConfig } from '../../Type/application';
4
3
  export interface RegisterWithPhoneProps {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare const GuardRegisterView: React.FC;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare const GuardUnlockView: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  import { ButtonProps } from 'shim-antd';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  import { InputProps } from 'shim-antd';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { SceneType } from 'authing-js-sdk';
4
3
  import './style.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  import { InputProps } from 'shim-antd';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { GuardModuleType, IG2FCProps } from '..';
3
2
  export declare function SingleComponent<T extends IG2FCProps>(props: T, guardModuleType: GuardModuleType, initData?: any): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { GuardRegisterProps } from '../Register/interface';
4
3
  export declare const Register: React.FC<GuardRegisterProps>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { ButtonProps } from 'shim-antd';
4
3
  interface SubmitButtonProps extends ButtonProps {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare const GuardSubmitSuccessView: React.FC;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AvatarProps } from 'shim-antd';
3
2
  import { AuthenticationClient, IG2Events, User } from '../Type';
4
3
  export interface TenantPortalListType {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
4
3
  import { GuardModuleType } from '../Guard/module';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  export declare const UploadImage: React.FC<{
4
3
  value?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormItemProps } from 'shim-antd';
3
2
  import { React } from 'shim-react';
4
3
  export interface PasswordFormItemProps extends FormItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { ValidatorFormItemProps } from '.';
4
3
  export declare const EmailFormItem: React.FC<ValidatorFormItemProps>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React } from 'shim-react';
3
2
  import { GuardLocalConfig } from '../../Guard/config';
4
3
  import { GuardHttp } from '../guardHttp';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { React, ReactNode } from 'shim-react';
3
2
  import { GuardPageConfig, Lang } from '../Type';
4
3
  import { GuardModuleType } from '../Guard/module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react",
3
- "version": "4.4.0-alpha.20",
3
+ "version": "4.4.0-alpha.21",
4
4
  "description": "Guard shim for react 16 / 17, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",