@authing/react-ui-components 3.0.0-rc.18 → 3.0.0-rc.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.
package/lib/index.d.ts CHANGED
@@ -410,6 +410,8 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
410
410
  export type ComplateFiledsPlace = 'register' | 'login';
411
411
  export interface ApplicationConfig {
412
412
  id: string;
413
+ allowedOrigins: string[];
414
+ corsWhitelist: string[];
413
415
  cdnBase: string;
414
416
  userPoolId: string;
415
417
  rootUserPoolId: string;
@@ -1308,22 +1310,27 @@ declare module '@authing/react-ui-components/components/Guard/authClient' {
1308
1310
 
1309
1311
  }
1310
1312
  declare module '@authing/react-ui-components/components/Guard/config' {
1313
+ import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
1311
1314
  import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
1312
1315
  import { RegisterConfig } from '@authing/react-ui-components/components/Register/interface';
1313
1316
  export interface GuardComponentConifg extends Partial<GuardLocalConfig> {
1314
1317
  }
1315
1318
  export interface GuardLocalConfig extends RegisterConfig, LoginConfig {
1316
1319
  isSSO?: boolean;
1320
+ defaultScenes?: GuardModuleType;
1321
+ defaultInitData?: any;
1317
1322
  }
1318
1323
  export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
1319
1324
 
1320
1325
  }
1321
1326
  declare module '@authing/react-ui-components/components/Guard/event' {
1327
+ import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
1322
1328
  import { CompleteInfoEvents } from '@authing/react-ui-components/components/CompleteInfo/interface';
1323
1329
  import { ForgetPasswordEvents } from '@authing/react-ui-components/components/ForgetPassword/interface';
1324
1330
  import { LoginEvents } from '@authing/react-ui-components/components/Login/interface';
1325
1331
  import { RegisterEvents } from '@authing/react-ui-components/components/Register/interface';
1326
1332
  export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents {
1333
+ onBeforeChangeModule?: (key: GuardModuleType, initData?: any) => boolean | Promise<boolean>;
1327
1334
  }
1328
1335
  export const guardEventsFilter: (props: any) => GuardEvents;
1329
1336
  export const guardEventsHijacking: (events: GuardEvents) => GuardEvents;
@@ -1919,6 +1926,7 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
1919
1926
  onBeforeRegister?: Function;
1920
1927
  publicConfig?: ApplicationConfig;
1921
1928
  agreements: Agreement[];
1929
+ registeContext?: any;
1922
1930
  }
1923
1931
  export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
1924
1932
 
@@ -1930,6 +1938,7 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
1930
1938
  onRegister: Function;
1931
1939
  agreements: Agreement[];
1932
1940
  publicConfig?: ApplicationConfig;
1941
+ registeContext?: any;
1933
1942
  }
1934
1943
  export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
1935
1944
 
@@ -1952,6 +1961,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
1952
1961
  publicKey?: string;
1953
1962
  agreementEnabled?: boolean;
1954
1963
  agreements?: Agreement[];
1964
+ registeContext?: any;
1955
1965
  }
1956
1966
  export interface RegisterEvents extends IG2Events {
1957
1967
  onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
@@ -1983,6 +1993,7 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
1983
1993
  }
1984
1994
  declare module '@authing/react-ui-components/components/SendCode/index' {
1985
1995
  import { FC } from 'react';
1996
+ import { SceneType } from 'authing-js-sdk';
1986
1997
  import './style.less';
1987
1998
  import { InputProps } from 'antd/lib/input';
1988
1999
  export interface SendPhoneCodeProps extends InputProps {
@@ -1992,6 +2003,7 @@ declare module '@authing/react-ui-components/components/SendCode/index' {
1992
2003
  onSendCodeBefore?: any;
1993
2004
  fieldName?: string;
1994
2005
  autoSubmit?: boolean;
2006
+ scene?: SceneType;
1995
2007
  }
1996
2008
  export const SendCode: FC<SendPhoneCodeProps>;
1997
2009
 
@@ -2188,6 +2200,10 @@ declare module '@authing/react-ui-components/components/_utils/context' {
2188
2200
  };
2189
2201
  export const usePublicConfig: () => ApplicationConfig | undefined;
2190
2202
 
2203
+ }
2204
+ declare module '@authing/react-ui-components/components/_utils/corsVerification' {
2205
+ export const corsVerification: (allowedOrigins?: string[], corsWhitelist?: string[]) => void;
2206
+
2191
2207
  }
2192
2208
  declare module '@authing/react-ui-components/components/_utils/errorFace' {
2193
2209
  enum FaceErrorName {
@@ -2451,7 +2467,7 @@ declare module '@authing/react-ui-components/components/version/index' {
2451
2467
 
2452
2468
  }
2453
2469
  declare module '@authing/react-ui-components/components/version/version' {
2454
- const _default: "3.0.0-rc.18";
2470
+ const _default: "3.0.0-rc.21";
2455
2471
  export default _default;
2456
2472
 
2457
2473
  }
@@ -2818,1292 +2834,6 @@ declare module '@authing/react-ui-components/config/webpackDevServer.config' {
2818
2834
  };
2819
2835
  export = _exports;
2820
2836
 
2821
- }
2822
- declare module '@authing/react-ui-components/es/AuthingDropdown/index' {
2823
- export function AuthingDropdown(_ref: any): React.DetailedReactHTMLElement<{
2824
- className: string;
2825
- onMouseEnter: () => any;
2826
- onMouseLeave: () => any;
2827
- }, HTMLElement>;
2828
- import React from "react";
2829
-
2830
- }
2831
- declare module '@authing/react-ui-components/es/AuthingDropdown/style/css' {
2832
- export {};
2833
-
2834
- }
2835
- declare module '@authing/react-ui-components/es/AuthingDropdown/style/index' {
2836
- export {};
2837
-
2838
- }
2839
- declare module '@authing/react-ui-components/es/AuthingGuard/AppMFALayout/index' {
2840
- export function AppMfaLayout(): React.DetailedReactHTMLElement<{
2841
- className: string;
2842
- }, HTMLElement>;
2843
- import React from "react";
2844
-
2845
- }
2846
- declare module '@authing/react-ui-components/es/AuthingGuard/CompleteUserInfoLayout/index' {
2847
- export function CompleteUserInfoLayout(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2848
- import React from "react";
2849
-
2850
- }
2851
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ADLoginForm/index' {
2852
- export var ADLoginForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2853
- import React from "react";
2854
-
2855
- }
2856
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/Agreements/index' {
2857
- export function Agreements(_ref: any): React.DetailedReactHTMLElement<{
2858
- className: string;
2859
- }, HTMLElement>;
2860
- import React from "react";
2861
-
2862
- }
2863
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/CompleteUserInfoForm/index' {
2864
- export function CompleteUserInfoForm(_ref: any): React.CElement<import("antd/lib/spin").SpinProps, _Spin>;
2865
- import _Spin from "antd/lib/spin";
2866
- import React from "react";
2867
-
2868
- }
2869
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm' {
2870
- export function CheckEmailForm(_ref: any): React.FunctionComponentElement<{}>;
2871
- import React from "react";
2872
-
2873
- }
2874
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm' {
2875
- export function VerifyCodeForm(_ref: any): React.FunctionComponentElement<{}>;
2876
- import React from "react";
2877
-
2878
- }
2879
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/EmailMfaVerifyForm/index' {
2880
- export function EmailMfaVerifyForm(_ref: any): React.FunctionComponentElement<{}>;
2881
- import React from "react";
2882
-
2883
- }
2884
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/EmailRegisterForm/index' {
2885
- export var EmailRegisterForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2886
- import React from "react";
2887
-
2888
- }
2889
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/LdapLoginForm/index' {
2890
- export var LdapLoginForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2891
- import React from "react";
2892
-
2893
- }
2894
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/LoginFormFooter/index' {
2895
- export function LoginFormFooter(_ref: any): React.FunctionComponentElement<{}>;
2896
- import React from "react";
2897
-
2898
- }
2899
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/MfaResetCodeForm/Step1' {
2900
- export function MfaResetStep1(_ref: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
2901
- ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
2902
- }>;
2903
- import React from "react";
2904
-
2905
- }
2906
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/MfaResetCodeForm/Step2' {
2907
- export function MfaResetStep2(_ref: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
2908
- ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
2909
- }>;
2910
- import React from "react";
2911
-
2912
- }
2913
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/MfaResetCodeForm/index' {
2914
- export function MfaResetCodeForm(_ref: any): React.FunctionComponentElement<{}>;
2915
- import React from "react";
2916
-
2917
- }
2918
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/MfaVerifyForm/index' {
2919
- export function MFAVerifyForm(_ref: any): React.FunctionComponentElement<{}>;
2920
- import React from "react";
2921
-
2922
- }
2923
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/PasswordLoginForm/index' {
2924
- export var PasswordLoginForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2925
- import React from "react";
2926
-
2927
- }
2928
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/PhoneCodeLoginForm/index' {
2929
- export var PhoneCodeLoginForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2930
- import React from "react";
2931
-
2932
- }
2933
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/PhoneRegisterForm/index' {
2934
- export var PhoneRegisterForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2935
- import React from "react";
2936
-
2937
- }
2938
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/QrCodeLoginForm/index' {
2939
- export function QrCodeLoginForm(_ref: any): React.DetailedReactHTMLElement<{
2940
- className: string;
2941
- }, HTMLElement>;
2942
- import React from "react";
2943
-
2944
- }
2945
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/RegisterFormFooter/index' {
2946
- export function RegisterFormFooter(_ref: any): React.FunctionComponentElement<{}>;
2947
- import React from "react";
2948
-
2949
- }
2950
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Footer' {
2951
- export function ResetPwdFormFooter(): React.FunctionComponentElement<Partial<{
2952
- href: string;
2953
- target?: string | undefined;
2954
- onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
2955
- } & import("antd/lib/button/button").BaseButtonProps & Pick<React.AnchorHTMLAttributes<any>, "onLoad" | "children" | "lang" | "slot" | "style" | "title" | "dir" | "onChange" | "onBlur" | "id" | "target" | "download" | "href" | "hrefLang" | "media" | "ping" | "rel" | "referrerPolicy" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
2956
- htmlType?: "button" | "submit" | "reset" | undefined;
2957
- onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
2958
- } & Pick<React.ButtonHTMLAttributes<any>, "onLoad" | "value" | "children" | "lang" | "form" | "slot" | "style" | "title" | "dir" | "onChange" | "onBlur" | "id" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget">> & React.RefAttributes<HTMLElement>>;
2959
- import React from "react";
2960
-
2961
- }
2962
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Step1' {
2963
- export function ResetPasswordStep1(_ref: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
2964
- ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
2965
- }>;
2966
- import React from "react";
2967
-
2968
- }
2969
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Step2' {
2970
- export function ResetPasswordStep2(_ref: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
2971
- ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
2972
- }>;
2973
- import React from "react";
2974
-
2975
- }
2976
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Step3' {
2977
- export function ResetPasswordStep3(_ref: any): React.FunctionComponentElement<{}>;
2978
- import React from "react";
2979
-
2980
- }
2981
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Step4' {
2982
- export function ResetPasswordStep4(): React.DetailedReactHTMLElement<{
2983
- style: {
2984
- textAlign: "center";
2985
- };
2986
- }, HTMLElement>;
2987
- import React from "react";
2988
-
2989
- }
2990
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/index' {
2991
- export function ResetPasswordForm(_ref: any): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2992
- import React from "react";
2993
-
2994
- }
2995
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn' {
2996
- export function SendCodeBtn(_ref: any): React.ReactElement<{
2997
- type: string;
2998
- className: string;
2999
- disabled: any;
3000
- onClick: (_x: any, ...args: any[]) => any;
3001
- ref: any;
3002
- }, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;
3003
- import React from "react";
3004
-
3005
- }
3006
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SendPhoneCode/index' {
3007
- export function SendPhoneCode(_ref: any): React.FunctionComponentElement<import("@authing/react-ui-components/es/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn").SendCodeProps>;
3008
- import React from "react";
3009
-
3010
- }
3011
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm' {
3012
- export function CheckPhoneForm(_ref: any): React.FunctionComponentElement<{}>;
3013
- import React from "react";
3014
-
3015
- }
3016
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm' {
3017
- export function VerifyCodeForm(_ref: any): React.FunctionComponentElement<{}>;
3018
- import React from "react";
3019
-
3020
- }
3021
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SmsMfaVerifyForm/index' {
3022
- export function SmsMfaVerifyForm(_ref: any): React.FunctionComponentElement<{}>;
3023
- import React from "react";
3024
-
3025
- }
3026
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SocialAndIdpLogin/index' {
3027
- export function SocialAndIdpLogin(_ref: any): React.FunctionComponentElement<{}>;
3028
- import React from "react";
3029
-
3030
- }
3031
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/UploadImage/index' {
3032
- export function UploadImage(_ref: any): React.FunctionComponentElement<import("antd/lib/upload").UploadProps<any> & {
3033
- children?: React.ReactNode;
3034
- } & React.RefAttributes<any>>;
3035
- import React from "react";
3036
-
3037
- }
3038
- declare module '@authing/react-ui-components/es/AuthingGuard/Forms/index' {
3039
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/ADLoginForm/index";
3040
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/index";
3041
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/MfaVerifyForm/index";
3042
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/LdapLoginForm/index";
3043
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/QrCodeLoginForm/index";
3044
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/MfaResetCodeForm/index";
3045
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/EmailRegisterForm/index";
3046
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/PhoneRegisterForm/index";
3047
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/PasswordLoginForm/index";
3048
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/SocialAndIdpLogin/index";
3049
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/PhoneCodeLoginForm/index";
3050
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/SmsMfaVerifyForm/index";
3051
- export * from "@authing/react-ui-components/es/AuthingGuard/Forms/EmailMfaVerifyForm/index";
3052
-
3053
- }
3054
- declare module '@authing/react-ui-components/es/AuthingGuard/GuardLayout/index' {
3055
- export function GuardLayout(_ref4: any): React.DOMElement<{
3056
- id: any;
3057
- style: any;
3058
- className: string;
3059
- onTransitionEnd: () => void;
3060
- }, Element>;
3061
- import React from "react";
3062
-
3063
- }
3064
- declare module '@authing/react-ui-components/es/AuthingGuard/Header/index' {
3065
- export function GuardHeader(props: any): React.DetailedReactHTMLElement<{
3066
- className: string;
3067
- }, HTMLElement>;
3068
- import React from "react";
3069
-
3070
- }
3071
- declare module '@authing/react-ui-components/es/AuthingGuard/IconFont/iconfont' {
3072
- export {};
3073
-
3074
- }
3075
- declare module '@authing/react-ui-components/es/AuthingGuard/IconFont/index' {
3076
- export function IconFont(_ref: any): React.ReactSVGElement;
3077
- import React from "react";
3078
-
3079
- }
3080
- declare module '@authing/react-ui-components/es/AuthingGuard/IconFont/svg' {
3081
- export var svgStr: string;
3082
-
3083
- }
3084
- declare module '@authing/react-ui-components/es/AuthingGuard/LoginLayout/index' {
3085
- export function LoginLayout(): React.FunctionComponentElement<{}>;
3086
- import React from "react";
3087
-
3088
- }
3089
- declare module '@authing/react-ui-components/es/AuthingGuard/MfaLayout/Steps' {
3090
- export var Steps: any;
3091
-
3092
- }
3093
- declare module '@authing/react-ui-components/es/AuthingGuard/MfaLayout/index' {
3094
- export function MfaLayout(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3095
- import React from "react";
3096
-
3097
- }
3098
- declare module '@authing/react-ui-components/es/AuthingGuard/RegisterLayout/index' {
3099
- export function RegisterLayout(): React.FunctionComponentElement<import("@authing/react-ui-components/es/AuthingTabs/index").AuthingTabsProps>;
3100
- import React from "react";
3101
-
3102
- }
3103
- declare module '@authing/react-ui-components/es/AuthingGuard/ResetPwdLayout/index' {
3104
- export function ResetPwdLayout(): React.FunctionComponentElement<import("@authing/react-ui-components/components/index").ResetPasswordFormProps>;
3105
- import React from "react";
3106
-
3107
- }
3108
- declare module '@authing/react-ui-components/es/AuthingGuard/ToggleLang/index' {
3109
- export function ToggleLang(): React.FunctionComponentElement<import("antd/lib/dropdown").DropDownProps>;
3110
- import React from "react";
3111
-
3112
- }
3113
- declare module '@authing/react-ui-components/es/AuthingGuard/api/appConfig' {
3114
- export var ApplicationMfaType: any;
3115
- export function ApplicationMfaTypeLabel(): {};
3116
- export function fetchAppConfig(appId: any): Promise<import("@authing/react-ui-components/es/_utils/http").AuthingResponse<any>>;
3117
-
3118
- }
3119
- declare module '@authing/react-ui-components/es/AuthingGuard/api/index' {
3120
- export * from "@authing/react-ui-components/es/AuthingGuard/api/sso";
3121
- export * from "@authing/react-ui-components/es/AuthingGuard/api/appConfig";
3122
- export * from "@authing/react-ui-components/es/AuthingGuard/api/userPoolConfig";
3123
-
3124
- }
3125
- declare module '@authing/react-ui-components/es/AuthingGuard/api/sso' {
3126
- export function trackSession(): Promise<import("@authing/react-ui-components/es/_utils/http").AuthingResponse<any>>;
3127
-
3128
- }
3129
- declare module '@authing/react-ui-components/es/AuthingGuard/api/userPoolConfig' {
3130
- export var OIDCConnectionMode: any;
3131
-
3132
- }
3133
- declare module '@authing/react-ui-components/es/AuthingGuard/constants' {
3134
- export var OTP_MFA_CODE: number;
3135
- export var APP_MFA_CODE: number;
3136
- export var NEED_CAPTCHA: number;
3137
- export function LOGIN_METHODS_MAP(): {};
3138
- export function REGISTER_METHODS_MAP(): {};
3139
- export var HIDE_SOCIALS: string[];
3140
- export var ApplicationMfaType: any;
3141
- export namespace defaultGuardConfig {
3142
- const isSSO: boolean;
3143
- const title: string;
3144
- namespace text {
3145
- const loginTabs: {};
3146
- namespace loginBtn {
3147
- const normal: string;
3148
- const loading: string;
3149
- }
3150
- namespace registerBtn {
3151
- const normal_1: string;
3152
- export { normal_1 as normal };
3153
- const loading_1: string;
3154
- export { loading_1 as loading };
3155
- }
3156
- }
3157
- const escCloseable: boolean;
3158
- const autoRegister: boolean;
3159
- const clickCloseable: boolean;
3160
- const mode: GuardMode;
3161
- const disableRegister: boolean;
3162
- const disableResetPwd: boolean;
3163
- const defaultScenes: GuardScenes;
3164
- const appHost: string;
3165
- const defaultLoginMethod: LoginMethods;
3166
- const defaultRegisterMethod: RegisterMethods;
3167
- const loginMethods: LoginMethods[];
3168
- const registerMethods: RegisterMethods[];
3169
- const logo: string;
3170
- const passwordLoginMethods: string[];
3171
- }
3172
- export namespace defaultLocalesConfig {
3173
- const defaultLang: string;
3174
- const isShowChange: boolean;
3175
- }
3176
- export var defaultHeaders: {
3177
- 'userpool-id': string;
3178
- 'app-id': string;
3179
- 'tenant-id': string;
3180
- 'request-from': string;
3181
- 'sdk-version': string;
3182
- lang: string;
3183
- };
3184
- import { GuardMode } from "@authing/react-ui-components/components/AuthingGuard/types/GuardConfig";
3185
- import { GuardScenes } from "@authing/react-ui-components/components/AuthingGuard/types/GuardConfig";
3186
- import { LoginMethods } from "@authing/react-ui-components/components/AuthingGuard/types/GuardConfig";
3187
- import { RegisterMethods } from "@authing/react-ui-components/components/AuthingGuard/types/GuardConfig";
3188
-
3189
- }
3190
- declare module '@authing/react-ui-components/es/AuthingGuard/hooks/index' {
3191
- export function initAuthClient(config: any): any;
3192
- export function useAuthing(config: any): {
3193
- authClient: any;
3194
- };
3195
- export function getAuthClient(config: any): any;
3196
-
3197
- }
3198
- declare module '@authing/react-ui-components/es/AuthingGuard/hooks/useScreenSize' {
3199
- export var ScreenSize: any;
3200
- export var SCREEN_SIZE_RANG: {
3201
- size: any;
3202
- range: number[];
3203
- }[];
3204
- export function getScreenSize(): any;
3205
- export function useScreenSize(): any[];
3206
-
3207
- }
3208
- declare module '@authing/react-ui-components/es/AuthingGuard/index' {
3209
- export function AuthingGuard(_ref: any): React.FunctionComponentElement<import("antd/lib/config-provider").ConfigProviderProps>;
3210
- import React from "react";
3211
-
3212
- }
3213
- declare module '@authing/react-ui-components/es/AuthingGuard/style/css' {
3214
- export {};
3215
-
3216
- }
3217
- declare module '@authing/react-ui-components/es/AuthingGuard/style/index' {
3218
- export {};
3219
-
3220
- }
3221
- declare module '@authing/react-ui-components/es/AuthingGuard/types/Forms' {
3222
- export {};
3223
-
3224
- }
3225
- declare module '@authing/react-ui-components/es/AuthingGuard/types/GuardConfig' {
3226
- export var GuardMode: any;
3227
- export var LoginMethods: any;
3228
- export var RegisterMethods: any;
3229
- export var GuardScenes: any;
3230
- export var ResetPwdMethods: any;
3231
- export var SocialConnections: any;
3232
- export var Protocol: any;
3233
- export namespace GuardEventsCamelToKebabMap {
3234
- const onLoad: string;
3235
- const onLoadError: string;
3236
- const onLogin: string;
3237
- const onBeforeLogin: string;
3238
- const onLoginError: string;
3239
- const onRegister: string;
3240
- const onBeforeRegister: string;
3241
- const onRegisterError: string;
3242
- const onPwdEmailSend: string;
3243
- const onPwdEmailSendError: string;
3244
- const onPwdPhoneSend: string;
3245
- const onPwdPhoneSendError: string;
3246
- const onPwdReset: string;
3247
- const onPwdResetError: string;
3248
- const onClose: string;
3249
- const onLoginTabChange: string;
3250
- const onRegisterTabChange: string;
3251
- const onRegisterInfoCompleted: string;
3252
- const onRegisterInfoCompletedError: string;
3253
- }
3254
-
3255
- }
3256
- declare module '@authing/react-ui-components/es/AuthingGuard/types/GuardState' {
3257
- export {};
3258
-
3259
- }
3260
- declare module '@authing/react-ui-components/es/AuthingGuard/types/Locales' {
3261
- export var LANG_MAP: {
3262
- label: string;
3263
- value: string;
3264
- }[];
3265
-
3266
- }
3267
- declare module '@authing/react-ui-components/es/AuthingGuard/types/index' {
3268
- export * from "@authing/react-ui-components/es/AuthingGuard/types/Forms";
3269
- export * from "@authing/react-ui-components/es/AuthingGuard/types/GuardState";
3270
- export * from "@authing/react-ui-components/es/AuthingGuard/types/GuardConfig";
3271
- export * from "@authing/react-ui-components/es/AuthingGuard/types/Locales";
3272
-
3273
- }
3274
- declare module '@authing/react-ui-components/es/AuthingTabs/index' {
3275
- export function AuthingTabs(_ref: any): React.FunctionComponentElement<{}>;
3276
- import React from "react";
3277
-
3278
- }
3279
- declare module '@authing/react-ui-components/es/AuthingTabs/style/css' {
3280
- export {};
3281
-
3282
- }
3283
- declare module '@authing/react-ui-components/es/AuthingTabs/style/index' {
3284
- export {};
3285
-
3286
- }
3287
- declare module '@authing/react-ui-components/es/BindTotp/core/bindSuccess' {
3288
- export function BindSuccess(_ref: any): React.FunctionComponentElement<{}>;
3289
- import React from "react";
3290
-
3291
- }
3292
- declare module '@authing/react-ui-components/es/BindTotp/core/securityCode' {
3293
- export function SecurityCode(_ref: any): React.FunctionComponentElement<{}>;
3294
- import React from "react";
3295
-
3296
- }
3297
- declare module '@authing/react-ui-components/es/BindTotp/index' {
3298
- export function GuardBindTotpView(_ref: any): React.FunctionComponentElement<{}>;
3299
- import React from "react";
3300
-
3301
- }
3302
- declare module '@authing/react-ui-components/es/BindTotp/interface' {
3303
- export function getDefaultMFAConfig(): any;
3304
-
3305
- }
3306
- declare module '@authing/react-ui-components/es/BindTotp/style/css' {
3307
- export {};
3308
-
3309
- }
3310
- declare module '@authing/react-ui-components/es/BindTotp/style/index' {
3311
- export {};
3312
-
3313
- }
3314
- declare module '@authing/react-ui-components/es/ChangeLanguage/index' {
3315
- export function ChangeLanguage(props: any): React.FunctionComponentElement<{}> | React.DetailedReactHTMLElement<{
3316
- className: string;
3317
- }, HTMLElement>;
3318
- import React from "react";
3319
-
3320
- }
3321
- declare module '@authing/react-ui-components/es/ChangePassword/core/firstLoginReset' {
3322
- export function FirstLoginReset(props: any): React.DetailedReactHTMLElement<{
3323
- className: string;
3324
- }, HTMLElement>;
3325
- import React from "react";
3326
-
3327
- }
3328
- declare module '@authing/react-ui-components/es/ChangePassword/core/rotateReset' {
3329
- export function RotateReset(props: any): React.DetailedReactHTMLElement<{
3330
- className: string;
3331
- }, HTMLElement>;
3332
- import React from "react";
3333
-
3334
- }
3335
- declare module '@authing/react-ui-components/es/ChangePassword/index' {
3336
- export function GuardChangePassword(props: any): React.DetailedReactHTMLElement<{
3337
- className: string;
3338
- }, HTMLElement>;
3339
- import React from "react";
3340
-
3341
- }
3342
- declare module '@authing/react-ui-components/es/CompleteInfo/core/completeInfo' {
3343
- export function CompleteInfo(props: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
3344
- ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
3345
- }>;
3346
- import React from "react";
3347
-
3348
- }
3349
- declare module '@authing/react-ui-components/es/CompleteInfo/index' {
3350
- export function GuardCompleteInfoView(_ref: any): React.DetailedReactHTMLElement<{
3351
- className: string;
3352
- }, HTMLElement>;
3353
- import React from "react";
3354
-
3355
- }
3356
- declare module '@authing/react-ui-components/es/CompleteInfo/interface' {
3357
- export function getDefaultCompleteInfoConfig(): any;
3358
-
3359
- }
3360
- declare module '@authing/react-ui-components/es/CompleteInfo/style/css' {
3361
- export {};
3362
-
3363
- }
3364
- declare module '@authing/react-ui-components/es/CompleteInfo/style/index' {
3365
- export {};
3366
-
3367
- }
3368
- declare module '@authing/react-ui-components/es/CompleteInfo/utils' {
3369
- export function completeFieldsFilter(user: any, field: any): boolean;
3370
-
3371
- }
3372
- declare module '@authing/react-ui-components/es/CopyAbleText/index' {
3373
- export function CopyAbleText(_ref: any): React.DetailedReactHTMLElement<{
3374
- className: string;
3375
- ref: React.MutableRefObject<null>;
3376
- }, HTMLElement>;
3377
- import React from "react";
3378
-
3379
- }
3380
- declare module '@authing/react-ui-components/es/CopyAbleText/style/css' {
3381
- export {};
3382
-
3383
- }
3384
- declare module '@authing/react-ui-components/es/CopyAbleText/style/index' {
3385
- export {};
3386
-
3387
- }
3388
- declare module '@authing/react-ui-components/es/DownloadAuthenticator/index' {
3389
- export function GuardDownloadATView(_ref: any): React.DetailedReactHTMLElement<{
3390
- className: string;
3391
- }, HTMLElement>;
3392
- import React from "react";
3393
-
3394
- }
3395
- declare module '@authing/react-ui-components/es/DownloadAuthenticator/interface' {
3396
- export function getDefaultDownloadAuthenticatorConfig(): any;
3397
-
3398
- }
3399
- declare module '@authing/react-ui-components/es/DownloadAuthenticator/style/css' {
3400
- export {};
3401
-
3402
- }
3403
- declare module '@authing/react-ui-components/es/DownloadAuthenticator/style/index' {
3404
- export {};
3405
-
3406
- }
3407
- declare module '@authing/react-ui-components/es/Error/index' {
3408
- export function GuardErrorView(props: any): React.DetailedReactHTMLElement<{
3409
- className: string;
3410
- }, HTMLElement>;
3411
- import React from "react";
3412
-
3413
- }
3414
- declare module '@authing/react-ui-components/es/Error/interface' {
3415
- export {};
3416
-
3417
- }
3418
- declare module '@authing/react-ui-components/es/Error/style/css' {
3419
- export {};
3420
-
3421
- }
3422
- declare module '@authing/react-ui-components/es/Error/style/index' {
3423
- export {};
3424
-
3425
- }
3426
- declare module '@authing/react-ui-components/es/ForgetPassword/core/resetPassword' {
3427
- export function ResetPassword(props: any): React.DetailedReactHTMLElement<{
3428
- className: string;
3429
- }, HTMLElement>;
3430
- import React from "react";
3431
-
3432
- }
3433
- declare module '@authing/react-ui-components/es/ForgetPassword/index' {
3434
- export function GuardForgetPassword(props: any): React.DetailedReactHTMLElement<{
3435
- className: string;
3436
- }, HTMLElement>;
3437
- import React from "react";
3438
-
3439
- }
3440
- declare module '@authing/react-ui-components/es/ForgetPassword/interface' {
3441
- export {};
3442
-
3443
- }
3444
- declare module '@authing/react-ui-components/es/Guard/Guard' {
3445
- export function Guard(props: any): React.FunctionComponentElement<import("antd/lib/config-provider").ConfigProviderProps>;
3446
- import React from "react";
3447
-
3448
- }
3449
- declare module '@authing/react-ui-components/es/Guard/authClient' {
3450
- export function initGuardAuthClient(config: any, appId: any, tenantId: any): any;
3451
- export function getGuardAuthClient(): any;
3452
- export function useGuardAuthClient(): any;
3453
-
3454
- }
3455
- declare module '@authing/react-ui-components/es/Guard/config' {
3456
- export function getDefaultGuardLocalConfig(): any;
3457
-
3458
- }
3459
- declare module '@authing/react-ui-components/es/Guard/event' {
3460
- export function guardEventsFilter(props: any): any;
3461
- export function guardEventsHijacking(events: any): any;
3462
-
3463
- }
3464
- declare module '@authing/react-ui-components/es/Guard/index' {
3465
- export * from "@authing/react-ui-components/es/Guard/Guard";
3466
- export * from "@authing/react-ui-components/es/Guard/module";
3467
- export * from "@authing/react-ui-components/es/Guard/event";
3468
- export * from "@authing/react-ui-components/es/Guard/config";
3469
-
3470
- }
3471
- declare module '@authing/react-ui-components/es/Guard/module' {
3472
- export var GuardModuleType: any;
3473
-
3474
- }
3475
- declare module '@authing/react-ui-components/es/Guard/sso' {
3476
- export function trackSession(...args: any[]): any;
3477
-
3478
- }
3479
- declare module '@authing/react-ui-components/es/Guard/stateMachine' {
3480
- export var ActionType: any;
3481
- export var GuardStateMachine: any;
3482
- export function useHistoryHijack(back: any): ((...args: any[]) => void)[];
3483
- export function initGuardStateMachine(changeMouleEvent: any, initData: any): any;
3484
- export function getGuardStateMachine(): any;
3485
- export function useGuardStateMachine(): any;
3486
-
3487
- }
3488
- declare module '@authing/react-ui-components/es/Guard/style/css' {
3489
- export {};
3490
-
3491
- }
3492
- declare module '@authing/react-ui-components/es/Guard/style/index' {
3493
- export {};
3494
-
3495
- }
3496
- declare module '@authing/react-ui-components/es/IconFont/iconfont' {
3497
- export {};
3498
-
3499
- }
3500
- declare module '@authing/react-ui-components/es/IconFont/index' {
3501
- export function IconFont(_ref: any): React.ReactSVGElement;
3502
- import React from "react";
3503
-
3504
- }
3505
- declare module '@authing/react-ui-components/es/IconFont/style/css' {
3506
- export {};
3507
-
3508
- }
3509
- declare module '@authing/react-ui-components/es/IconFont/style/index' {
3510
- export {};
3511
-
3512
- }
3513
- declare module '@authing/react-ui-components/es/IconFont/svg' {
3514
- export var svgStr: string;
3515
-
3516
- }
3517
- declare module '@authing/react-ui-components/es/ImagePro/index' {
3518
- export function ImagePro(props: any): React.DetailedReactHTMLElement<{
3519
- style: {
3520
- width: number;
3521
- height: number;
3522
- };
3523
- className: string;
3524
- }, HTMLElement>;
3525
- import React from "react";
3526
-
3527
- }
3528
- declare module '@authing/react-ui-components/es/ImagePro/style/css' {
3529
- export {};
3530
-
3531
- }
3532
- declare module '@authing/react-ui-components/es/ImagePro/style/index' {
3533
- export {};
3534
-
3535
- }
3536
- declare module '@authing/react-ui-components/es/InputNumber/index' {
3537
- export var InputNumber: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3538
- import React from "react";
3539
-
3540
- }
3541
- declare module '@authing/react-ui-components/es/InputPassword/index' {
3542
- export var InputPassword: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3543
- import React from "react";
3544
-
3545
- }
3546
- declare module '@authing/react-ui-components/es/Login/codemap' {
3547
- export var codeMap: {};
3548
-
3549
- }
3550
- declare module '@authing/react-ui-components/es/Login/core/withAD' {
3551
- export function LoginWithAD(props: any): React.DetailedReactHTMLElement<{
3552
- className: string;
3553
- }, HTMLElement>;
3554
- import React from "react";
3555
-
3556
- }
3557
- declare module '@authing/react-ui-components/es/Login/core/withAppQrcode' {
3558
- export function LoginWithAppQrcode(props: any): React.DetailedReactHTMLElement<{
3559
- className: string;
3560
- }, HTMLElement>;
3561
- import React from "react";
3562
-
3563
- }
3564
- declare module '@authing/react-ui-components/es/Login/core/withLDAP' {
3565
- export function LoginWithLDAP(props: any): React.DetailedReactHTMLElement<{
3566
- className: string;
3567
- }, HTMLElement>;
3568
- import React from "react";
3569
-
3570
- }
3571
- declare module '@authing/react-ui-components/es/Login/core/withPassword/FormItemAccount' {
3572
- export function FormItemAccount(props: any): React.FunctionComponentElement<{}>;
3573
- import React from "react";
3574
-
3575
- }
3576
- declare module '@authing/react-ui-components/es/Login/core/withPassword/GraphicVerifyCode' {
3577
- export function GraphicVerifyCode(props: any): React.DetailedReactHTMLElement<{
3578
- className: string;
3579
- }, HTMLElement>;
3580
- import React from "react";
3581
-
3582
- }
3583
- declare module '@authing/react-ui-components/es/Login/core/withPassword/InputAccount' {
3584
- export function InputAccount(props: any): React.FunctionComponentElement<{}>;
3585
- import React from "react";
3586
-
3587
- }
3588
- declare module '@authing/react-ui-components/es/Login/core/withPassword/index' {
3589
- export function LoginWithPassword(props: any): React.DetailedReactHTMLElement<{
3590
- className: string;
3591
- }, HTMLElement>;
3592
- import React from "react";
3593
-
3594
- }
3595
- declare module '@authing/react-ui-components/es/Login/core/withPhonecode' {
3596
- export function LoginWithPhoneCode(props: any): React.DetailedReactHTMLElement<{
3597
- className: string;
3598
- }, HTMLElement>;
3599
- import React from "react";
3600
-
3601
- }
3602
- declare module '@authing/react-ui-components/es/Login/core/withWechatMiniQrcode' {
3603
- export function LoginWithWechatMiniQrcode(props: any): React.DetailedReactHTMLElement<{
3604
- className: string;
3605
- }, HTMLElement>;
3606
- import React from "react";
3607
-
3608
- }
3609
- declare module '@authing/react-ui-components/es/Login/core/withWechatmpQrcode' {
3610
- export function LoginWithWechatmpQrcode(props: any): React.DetailedReactHTMLElement<{
3611
- className: string;
3612
- }, HTMLElement>;
3613
- import React from "react";
3614
-
3615
- }
3616
- declare module '@authing/react-ui-components/es/Login/index' {
3617
- export function GuardLoginView(props: any): React.DetailedReactHTMLElement<{
3618
- className: string;
3619
- }, HTMLElement>;
3620
- import React from "react";
3621
-
3622
- }
3623
- declare module '@authing/react-ui-components/es/Login/interface' {
3624
- export function getDefaultLoginConfig(): any;
3625
-
3626
- }
3627
- declare module '@authing/react-ui-components/es/Login/socialLogin/index' {
3628
- export function SocialLogin(_ref: any): React.FunctionComponentElement<{}>;
3629
- import React from "react";
3630
-
3631
- }
3632
- declare module '@authing/react-ui-components/es/Login/style/css' {
3633
- export {};
3634
-
3635
- }
3636
- declare module '@authing/react-ui-components/es/Login/style/index' {
3637
- export {};
3638
-
3639
- }
3640
- declare module '@authing/react-ui-components/es/MFA/VerifyCodeInput/VerifyCodeFormItem' {
3641
- export function VerifyCodeFormItem(props: any): React.FunctionComponentElement<import("antd/lib/form").FormItemProps<unknown>>;
3642
- import React from "react";
3643
-
3644
- }
3645
- declare module '@authing/react-ui-components/es/MFA/VerifyCodeInput/index' {
3646
- export function VerifyCodeInput(_ref: any): React.DetailedReactHTMLElement<any, HTMLElement>;
3647
- import React from "react";
3648
-
3649
- }
3650
- declare module '@authing/react-ui-components/es/MFA/codemap' {
3651
- export var codeMap: {
3652
- 2021: {
3653
- action: string;
3654
- module: GuardModuleType;
3655
- };
3656
- 1700: {
3657
- action: string;
3658
- message: string;
3659
- };
3660
- 1701: {
3661
- action: string;
3662
- message: string;
3663
- };
3664
- 1702: {
3665
- action: string;
3666
- message: string;
3667
- };
3668
- 500: {
3669
- action: string;
3670
- };
3671
- 6001: {
3672
- action: string;
3673
- };
3674
- };
3675
- import { GuardModuleType } from "@authing/react-ui-components/es/Guard/module";
3676
-
3677
- }
3678
- declare module '@authing/react-ui-components/es/MFA/core/email' {
3679
- export function BindMFAEmail(_ref: any): React.FunctionComponentElement<{}>;
3680
- export function VerifyMFAEmail(_ref4: any): React.FunctionComponentElement<{}>;
3681
- export function MFAEmail(_ref7: any): React.FunctionComponentElement<{}>;
3682
- import React from "react";
3683
-
3684
- }
3685
- declare module '@authing/react-ui-components/es/MFA/core/face' {
3686
- export function MFAFace(props: any): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3687
- import React from "react";
3688
-
3689
- }
3690
- declare module '@authing/react-ui-components/es/MFA/core/face_deps' {
3691
- export function getFaceDetectorOptions(): TinyFaceDetectorOptions;
3692
- export function getCurrentFaceDetectionNet(): import("face-api.js").TinyFaceDetector;
3693
- export function isFaceDetectionModelLoaded(): boolean;
3694
- export function dataURItoBlob(base64Data: any): Blob;
3695
- export namespace devicesConstraints {
3696
- namespace video {
3697
- const width: number;
3698
- const height: number;
3699
- }
3700
- }
3701
- export var FACE_SCORE: number;
3702
- import { TinyFaceDetectorOptions } from "face-api.js/build/commonjs/tinyFaceDetector/TinyFaceDetectorOptions";
3703
-
3704
- }
3705
- declare module '@authing/react-ui-components/es/MFA/core/sms' {
3706
- export function BindMFASms(_ref: any): React.FunctionComponentElement<{}>;
3707
- export function VerifyMFASms(_ref4: any): React.FunctionComponentElement<{}>;
3708
- export function MFASms(_ref7: any): React.FunctionComponentElement<{}>;
3709
- import React from "react";
3710
-
3711
- }
3712
- declare module '@authing/react-ui-components/es/MFA/core/totp' {
3713
- export function BindMFATotp(_ref: any): React.FunctionComponentElement<{}>;
3714
- export function VerifyMFATotp(_ref2: any): React.FunctionComponentElement<{}>;
3715
- export function MFATotp(_ref4: any): React.FunctionComponentElement<{}>;
3716
- import React from "react";
3717
-
3718
- }
3719
- declare module '@authing/react-ui-components/es/MFA/index' {
3720
- export function GuardMFAView(_ref5: any): React.DetailedReactHTMLElement<{
3721
- className: string;
3722
- }, HTMLElement>;
3723
- import React from "react";
3724
-
3725
- }
3726
- declare module '@authing/react-ui-components/es/MFA/interface' {
3727
- export function getDefaultMFAConfig(): any;
3728
- export var MFAType: any;
3729
-
3730
- }
3731
- declare module '@authing/react-ui-components/es/MFA/mfaMethods/index' {
3732
- export function MFAMethods(_ref: any): React.FunctionComponentElement<{}>;
3733
- import React from "react";
3734
-
3735
- }
3736
- declare module '@authing/react-ui-components/es/MFA/style/css' {
3737
- export {};
3738
-
3739
- }
3740
- declare module '@authing/react-ui-components/es/MFA/style/index' {
3741
- export {};
3742
-
3743
- }
3744
- declare module '@authing/react-ui-components/es/NeedHelpView/core/describeQuestions' {
3745
- export function DescribeQuestions(props: any): React.DetailedReactHTMLElement<{
3746
- className: string;
3747
- }, HTMLElement>;
3748
- import React from "react";
3749
-
3750
- }
3751
- declare module '@authing/react-ui-components/es/NeedHelpView/index' {
3752
- export function GuardNeedHelpView(props: any): React.DetailedReactHTMLElement<{
3753
- className: string;
3754
- }, HTMLElement>;
3755
- import React from "react";
3756
-
3757
- }
3758
- declare module '@authing/react-ui-components/es/RecoveryCode/core/useCode' {
3759
- export function UseCode(_ref: any): React.FunctionComponentElement<{}>;
3760
- import React from "react";
3761
-
3762
- }
3763
- declare module '@authing/react-ui-components/es/RecoveryCode/index' {
3764
- export function GuardRecoveryCodeView(_ref: any): React.DetailedReactHTMLElement<{
3765
- className: string;
3766
- }, HTMLElement>;
3767
- import React from "react";
3768
-
3769
- }
3770
- declare module '@authing/react-ui-components/es/RecoveryCode/interface' {
3771
- export function getDefaultRecoveryCodeConfig(): any;
3772
-
3773
- }
3774
- declare module '@authing/react-ui-components/es/RecoveryCode/style/css' {
3775
- export {};
3776
-
3777
- }
3778
- declare module '@authing/react-ui-components/es/RecoveryCode/style/index' {
3779
- export {};
3780
-
3781
- }
3782
- declare module '@authing/react-ui-components/es/Register/codemap' {
3783
- export var codeMap: {};
3784
-
3785
- }
3786
- declare module '@authing/react-ui-components/es/Register/components/Agreements/index' {
3787
- export function Agreements(_ref: any): React.DetailedReactHTMLElement<{
3788
- className: string;
3789
- }, HTMLElement>;
3790
- import React from "react";
3791
-
3792
- }
3793
- declare module '@authing/react-ui-components/es/Register/core/WithEmail' {
3794
- export function RegisterWithEmail(_ref: any): React.DetailedReactHTMLElement<{
3795
- className: string;
3796
- }, HTMLElement>;
3797
- import React from "react";
3798
-
3799
- }
3800
- declare module '@authing/react-ui-components/es/Register/core/WithPhone' {
3801
- export function RegisterWithPhone(_ref: any): React.DetailedReactHTMLElement<{
3802
- className: string;
3803
- }, HTMLElement>;
3804
- import React from "react";
3805
-
3806
- }
3807
- declare module '@authing/react-ui-components/es/Register/index' {
3808
- export function GuardRegisterView(_ref: any): React.DetailedReactHTMLElement<{
3809
- className: string;
3810
- }, HTMLElement>;
3811
- import React from "react";
3812
-
3813
- }
3814
- declare module '@authing/react-ui-components/es/Register/interface' {
3815
- export function getDefaultRegisterConfig(): any;
3816
-
3817
- }
3818
- declare module '@authing/react-ui-components/es/Register/style/css' {
3819
- export {};
3820
-
3821
- }
3822
- declare module '@authing/react-ui-components/es/Register/style/index' {
3823
- export {};
3824
-
3825
- }
3826
- declare module '@authing/react-ui-components/es/SendCode/SendCodeBtn' {
3827
- export function SendCodeBtn(props: any): React.FunctionComponentElement<Partial<{
3828
- href: string;
3829
- target?: string | undefined;
3830
- onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
3831
- } & import("antd/lib/button/button").BaseButtonProps & Pick<React.AnchorHTMLAttributes<any>, "onLoad" | "children" | "lang" | "slot" | "style" | "title" | "dir" | "onChange" | "onBlur" | "id" | "target" | "download" | "href" | "hrefLang" | "media" | "ping" | "rel" | "referrerPolicy" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
3832
- htmlType?: "button" | "submit" | "reset" | undefined;
3833
- onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
3834
- } & Pick<React.ButtonHTMLAttributes<any>, "onLoad" | "value" | "children" | "lang" | "form" | "slot" | "style" | "title" | "dir" | "onChange" | "onBlur" | "id" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget">> & React.RefAttributes<HTMLElement>>;
3835
- import React from "react";
3836
-
3837
- }
3838
- declare module '@authing/react-ui-components/es/SendCode/index' {
3839
- export function SendCode(_ref: any): React.FunctionComponentElement<{}>;
3840
- import React from "react";
3841
-
3842
- }
3843
- declare module '@authing/react-ui-components/es/SendCode/style/css' {
3844
- export {};
3845
-
3846
- }
3847
- declare module '@authing/react-ui-components/es/SendCode/style/index' {
3848
- export {};
3849
-
3850
- }
3851
- declare module '@authing/react-ui-components/es/ShieldSpin/index' {
3852
- export function ShieldSpin(props: any): React.DetailedReactHTMLElement<{
3853
- style: {
3854
- width: any;
3855
- height: any;
3856
- };
3857
- }, HTMLElement>;
3858
- export function Spin(): React.DetailedReactHTMLElement<{
3859
- className: string;
3860
- }, HTMLElement>;
3861
- import React from "react";
3862
-
3863
- }
3864
- declare module '@authing/react-ui-components/es/SubmitButton/index' {
3865
- var _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
3866
- export default _default;
3867
- import React from "react";
3868
-
3869
- }
3870
- declare module '@authing/react-ui-components/es/SubmitSuccess/index' {
3871
- export function GuardSubmitSuccessView(props: any): React.DetailedReactHTMLElement<{
3872
- className: string;
3873
- }, HTMLElement>;
3874
- import React from "react";
3875
-
3876
- }
3877
- declare module '@authing/react-ui-components/es/SubmitSuccess/interface' {
3878
- export {};
3879
-
3880
- }
3881
- declare module '@authing/react-ui-components/es/Type/index' {
3882
- export function getDefaultG2Config(): {
3883
- lang: string;
3884
- langRange: string[];
3885
- title: string;
3886
- escCloseable: boolean;
3887
- clickCloseable: boolean;
3888
- mode: GuardMode;
3889
- host: string;
3890
- logo: string;
3891
- };
3892
- import { GuardMode } from "@authing/react-ui-components/es/AuthingGuard/types/GuardConfig";
3893
-
3894
- }
3895
- declare module '@authing/react-ui-components/es/ValidatorRules/PasswordFormItem' {
3896
- export function PasswordFormItem(props: any): React.FunctionComponentElement<import("antd/lib/form").FormItemProps<unknown>>;
3897
- import React from "react";
3898
-
3899
- }
3900
- declare module '@authing/react-ui-components/es/ValidatorRules/ValidatorFormItem' {
3901
- export var EmailFormItem: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3902
- export var PhoneFormItem: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3903
- export var UserNameFormItem: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3904
- import React from "react";
3905
-
3906
- }
3907
- declare module '@authing/react-ui-components/es/ValidatorRules/index' {
3908
- export default CustomFormItem;
3909
- var CustomFormItem: typeof FormItem;
3910
- import FormItem from "antd/lib/form/FormItem";
3911
-
3912
- }
3913
- declare module '@authing/react-ui-components/es/VerifyCodeInput/index' {
3914
- export function VerifyCodeInput(_ref: any): React.DetailedReactHTMLElement<{
3915
- className: string;
3916
- }, HTMLElement>;
3917
- import React from "react";
3918
-
3919
- }
3920
- declare module '@authing/react-ui-components/es/VerifyCodeInput/style/css' {
3921
- export {};
3922
-
3923
- }
3924
- declare module '@authing/react-ui-components/es/VerifyCodeInput/style/index' {
3925
- export {};
3926
-
3927
- }
3928
- declare module '@authing/react-ui-components/es/_utils/GuardErrorCode' {
3929
- export var ErrorCode: any;
3930
-
3931
- }
3932
- declare module '@authing/react-ui-components/es/_utils/clipboard' {
3933
- export function copyToClipboard(str: any): void;
3934
-
3935
- }
3936
- declare module '@authing/react-ui-components/es/_utils/config' {
3937
- export function initConfig(_x: any, _x2: any, _x3: any, ...args: any[]): any;
3938
-
3939
- }
3940
- declare module '@authing/react-ui-components/es/_utils/context' {
3941
- export function createGuardContext(): {
3942
- Context: React.Context<undefined>;
3943
- Provider: React.Provider<undefined>;
3944
- Consumer: React.Consumer<undefined>;
3945
- };
3946
- export function usePublicConfig(): undefined;
3947
- import React from "react";
3948
-
3949
- }
3950
- declare module '@authing/react-ui-components/es/_utils/errorFace' {
3951
- export function faceErrorMessage(error: any): string;
3952
-
3953
- }
3954
- declare module '@authing/react-ui-components/es/_utils/guradHttp' {
3955
- export function GuardHttp(baseUrl: any): void;
3956
- export function initGuardHttp(baseUrl: any): any;
3957
- export function getGuardHttp(): any;
3958
- export function useGuardHttp(): any;
3959
-
3960
- }
3961
- declare module '@authing/react-ui-components/es/_utils/hooks/index' {
3962
- export function useChangeModule(): (nextModuleType: any, nextData: any) => void;
3963
- export function useAppId(appId: any): string;
3964
- export function useDebounce(fn: any, delay: any): (...args: any[]) => void;
3965
-
3966
- }
3967
- declare module '@authing/react-ui-components/es/_utils/http' {
3968
- export function requestClient(...args: any[]): any;
3969
- export namespace requestClient {
3970
- export function get(_x: any, ...args: any[]): any;
3971
- export function post(_x2: any, _x3: any, _x4: any, ...args: any[]): any;
3972
- export function postForm(_x5: any, _x6: any, _x7: any, ...args: any[]): any;
3973
- export const baseUrl: string;
3974
- export function setBaseUrl(base: any): void;
3975
- export { DEFAULT_LANG_HEADER as langHeader };
3976
- export { DEFAULT_TENANT_HEADER as tenantHeader };
3977
- export const tenantId: string;
3978
- export function setLangHeader(key: any): void;
3979
- export function setTenantHeader(key: any): void;
3980
- export function setTenantId(tenantId: any): void;
3981
- }
3982
- var DEFAULT_LANG_HEADER: string;
3983
- var DEFAULT_TENANT_HEADER: string;
3984
- export {};
3985
-
3986
- }
3987
- declare module '@authing/react-ui-components/es/_utils/index' {
3988
- export function getDeviceName(): string | null;
3989
- /**
3990
- * https://www.itranslater.com/qa/details/2115518846294557696
3991
- * Simple object check.
3992
- * @param item
3993
- * @returns {boolean}
3994
- */
3995
- export function isObject(item: any): boolean;
3996
- /**
3997
- * https://www.itranslater.com/qa/details/2115518846294557696
3998
- * Deep merge two objects.
3999
- * @param target
4000
- * @param ...sources
4001
- */
4002
- export function deepMerge(target: any, ...args: any[]): any;
4003
- export * from "@authing/react-ui-components/es/_utils/popupCenter";
4004
- export * from "@authing/react-ui-components/es/_utils/clipboard";
4005
- export namespace VALIDATE_PATTERN {
4006
- const email: RegExp;
4007
- const phone: RegExp;
4008
- const ip: RegExp;
4009
- const host: RegExp;
4010
- const username: RegExp;
4011
- }
4012
- export function validate(type: any, val: any): any;
4013
- export function getRequiredRules(msg: any): {
4014
- required: boolean;
4015
- message: any;
4016
- }[];
4017
- export function fieldRequiredRule(_fieldRequiredRule: any): {
4018
- required: boolean;
4019
- validateTrigger: string[];
4020
- message: string;
4021
- whitespace: boolean;
4022
- }[];
4023
- export function insertStyles(styles: any, recordKey: any): void;
4024
- export function removeStyles(recordKey: any): void;
4025
- export function useTitle(title: any, prefix: any): void;
4026
- export function getClassnames(classnames: any): any;
4027
- export function getUserRegisterParams(): any;
4028
- export function isWechatBrowser(): boolean;
4029
- export function assembledAppHost(identifier: any, host: any): any;
4030
- export var PasswordStrength: any;
4031
- export var PASSWORD_STRENGTH_TEXT_MAP: {};
4032
- export function getSymbolTypeLength(pwd: any): any;
4033
- export function getPasswordValidate(...args: any[]): any;
4034
- export function sleep(delay: any): any;
4035
- export function shoudGoToComplete(user: any, contextType: any, config: any): boolean;
4036
- export function tabSort(defaultValue: any, tabList: any): any;
4037
- export function mailDesensitization(mail: any): string;
4038
- export function phoneDesensitization(phone: any): any;
4039
-
4040
- }
4041
- declare module '@authing/react-ui-components/es/_utils/locales/en/index' {
4042
- export { common, login, user, map };
4043
-
4044
- }
4045
- declare module '@authing/react-ui-components/es/_utils/locales/index' {
4046
- export function changeLang(lang: any): void;
4047
- import i18n from "i18next";
4048
- export function initI18n(...args: any[]): void;
4049
- export { i18n };
4050
-
4051
- }
4052
- declare module '@authing/react-ui-components/es/_utils/locales/zh/index' {
4053
- export { common, login, user, map };
4054
-
4055
- }
4056
- declare module '@authing/react-ui-components/es/_utils/popupCenter' {
4057
- export function popupCenter(url: any, ...args: any[]): void;
4058
-
4059
- }
4060
- declare module '@authing/react-ui-components/es/context/base' {
4061
- export function createBaseContext(): (React.Context<undefined> | (() => any))[];
4062
- import React from "react";
4063
-
4064
- }
4065
- declare module '@authing/react-ui-components/es/context/global/context' {
4066
- export function useGuardContext(): any;
4067
- export function GuardContext(_ref: any): React.FunctionComponentElement<{
4068
- value: {
4069
- state: any;
4070
- dispatch: any;
4071
- getValue: (key: any) => any;
4072
- setValue: (key: any, value: any) => void;
4073
- };
4074
- }>;
4075
- import React from "react";
4076
-
4077
- }
4078
- declare module '@authing/react-ui-components/es/context/global/reducer' {
4079
- export function reducer(state: any, _ref: any): any;
4080
-
4081
- }
4082
- declare module '@authing/react-ui-components/es/context/module/context' {
4083
- export function useModule(): any;
4084
- export function ModuleContext(_ref: any): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
4085
- import React from "react";
4086
-
4087
- }
4088
- declare module '@authing/react-ui-components/es/index' {
4089
- export * from "@authing/react-ui-components/es/_utils/config";
4090
- export * from "@authing/react-ui-components/es/AuthingGuard/types/index";
4091
- export * from "@authing/react-ui-components/es/AuthingGuard/hooks/index";
4092
- export * from "@authing/react-ui-components/es/AuthingGuard/index";
4093
- export * from "@authing/react-ui-components/es/Guard/index";
4094
- export * from "@authing/react-ui-components/es/Type/index";
4095
- export * from "@authing/react-ui-components/es/version/index";
4096
-
4097
- }
4098
- declare module '@authing/react-ui-components/es/version/index' {
4099
- export default version;
4100
- import version from "@authing/react-ui-components/es/version/version";
4101
-
4102
- }
4103
- declare module '@authing/react-ui-components/es/version/version' {
4104
- var _default: "3.0.0-rc.10";
4105
- export default _default;
4106
-
4107
2837
  }
4108
2838
  declare module '@authing/react-ui-components/examples' {
4109
2839
  export {};