@authing/react-ui-components 3.0.0-rc.10 → 3.0.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +1318 -5
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/lib/index.min.js.LICENSE.txt +2 -0
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -404,6 +404,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
404
404
|
title: string;
|
|
405
405
|
required: boolean;
|
|
406
406
|
lang: Lang;
|
|
407
|
+
availableAt?: number;
|
|
407
408
|
}
|
|
408
409
|
export type PasswordLoginMethods = 'username-password' | 'email-password' | 'phone-password';
|
|
409
410
|
export type ComplateFiledsPlace = 'register' | 'login';
|
|
@@ -472,6 +473,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
472
473
|
customPasswordStrength: any;
|
|
473
474
|
passwordStrength: PasswordStrength;
|
|
474
475
|
verifyCodeLength: number;
|
|
476
|
+
websocket: string;
|
|
475
477
|
}
|
|
476
478
|
export const fetchAppConfig: (appId: string) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<ApplicationConfig>>;
|
|
477
479
|
|
|
@@ -607,6 +609,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/constants'
|
|
|
607
609
|
phone: string;
|
|
608
610
|
};
|
|
609
611
|
export const HIDE_SOCIALS: string[];
|
|
612
|
+
export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
|
|
610
613
|
export enum ApplicationMfaType {
|
|
611
614
|
SMS = "SMS",
|
|
612
615
|
EMAIL = "EMAIL"
|
|
@@ -1282,6 +1285,11 @@ declare module '@authing/react-ui-components/components/Guard/Guard' {
|
|
|
1282
1285
|
import { IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1283
1286
|
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1284
1287
|
import './styles.less';
|
|
1288
|
+
import 'moment/locale/zh-cn';
|
|
1289
|
+
export enum LangMAP {
|
|
1290
|
+
zhCn = "zh-CN",
|
|
1291
|
+
enUs = "en-US"
|
|
1292
|
+
}
|
|
1285
1293
|
export interface GuardProps extends GuardEvents, IG2FCProps {
|
|
1286
1294
|
tenantId?: string;
|
|
1287
1295
|
config?: Partial<GuardLocalConfig>;
|
|
@@ -1469,8 +1477,13 @@ declare module '@authing/react-ui-components/components/Login/codemap' {
|
|
|
1469
1477
|
}
|
|
1470
1478
|
declare module '@authing/react-ui-components/components/Login/core/withAD' {
|
|
1471
1479
|
/// <reference types="react" />
|
|
1480
|
+
import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1472
1481
|
interface LoginWithADProps {
|
|
1482
|
+
publicKey: string;
|
|
1483
|
+
autoRegister?: boolean;
|
|
1473
1484
|
onLogin: any;
|
|
1485
|
+
onBeforeLogin: any;
|
|
1486
|
+
agreements: Agreement[];
|
|
1474
1487
|
}
|
|
1475
1488
|
export const LoginWithAD: (props: LoginWithADProps) => JSX.Element;
|
|
1476
1489
|
export {};
|
|
@@ -1489,12 +1502,14 @@ declare module '@authing/react-ui-components/components/Login/core/withAppQrcode
|
|
|
1489
1502
|
}
|
|
1490
1503
|
declare module '@authing/react-ui-components/components/Login/core/withLDAP' {
|
|
1491
1504
|
/// <reference types="react" />
|
|
1505
|
+
import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1492
1506
|
interface LoginWithLDAPProps {
|
|
1493
1507
|
publicKey: string;
|
|
1494
1508
|
autoRegister?: boolean;
|
|
1495
1509
|
host?: string;
|
|
1496
1510
|
onLogin: any;
|
|
1497
1511
|
onBeforeLogin: any;
|
|
1512
|
+
agreements: Agreement[];
|
|
1498
1513
|
}
|
|
1499
1514
|
export const LoginWithLDAP: (props: LoginWithLDAPProps) => JSX.Element;
|
|
1500
1515
|
export {};
|
|
@@ -1532,7 +1547,8 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
|
|
|
1532
1547
|
}
|
|
1533
1548
|
declare module '@authing/react-ui-components/components/Login/core/withPassword/index' {
|
|
1534
1549
|
/// <reference types="react" />
|
|
1535
|
-
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1550
|
+
import { Agreement, PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1551
|
+
import { LoginMethods } from '@authing/react-ui-components/components/index';
|
|
1536
1552
|
interface LoginWithPasswordProps {
|
|
1537
1553
|
publicKey: string;
|
|
1538
1554
|
autoRegister?: boolean;
|
|
@@ -1540,6 +1556,8 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
|
|
|
1540
1556
|
onLogin: any;
|
|
1541
1557
|
onBeforeLogin: any;
|
|
1542
1558
|
passwordLoginMethods: PasswordLoginMethods[];
|
|
1559
|
+
agreements: Agreement[];
|
|
1560
|
+
loginWay?: LoginMethods;
|
|
1543
1561
|
}
|
|
1544
1562
|
export const LoginWithPassword: (props: LoginWithPasswordProps) => JSX.Element;
|
|
1545
1563
|
export {};
|
|
@@ -1583,7 +1601,7 @@ declare module '@authing/react-ui-components/components/Login/interface' {
|
|
|
1583
1601
|
import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
|
|
1584
1602
|
import { SocialConnectionProvider } from 'authing-js-sdk';
|
|
1585
1603
|
import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
|
|
1586
|
-
import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1604
|
+
import { Agreement, PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1587
1605
|
import { PasswordLoginParams, LDAPLoginParams, ADLoginParams, PhoneCodeLoginParams, AuthenticationClient, LoginMethods, User } from '@authing/react-ui-components/components/index';
|
|
1588
1606
|
export interface LoginConfig extends IG2Config {
|
|
1589
1607
|
autoRegister: boolean;
|
|
@@ -1597,6 +1615,8 @@ declare module '@authing/react-ui-components/components/Login/interface' {
|
|
|
1597
1615
|
enterpriseConnections?: string[];
|
|
1598
1616
|
qrCodeScanOptions?: Parameters<QrCodeAuthenticationClient['startScanning']>[1];
|
|
1599
1617
|
publicKey?: string;
|
|
1618
|
+
agreementEnabled?: boolean;
|
|
1619
|
+
agreements?: Agreement[];
|
|
1600
1620
|
}
|
|
1601
1621
|
export interface LoginEvents extends IG2Events {
|
|
1602
1622
|
onLogin?: (user: User, authClient: AuthenticationClient) => void;
|
|
@@ -1762,6 +1782,7 @@ declare module '@authing/react-ui-components/components/MFA/interface' {
|
|
|
1762
1782
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1763
1783
|
import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
|
|
1764
1784
|
export interface MFAConfig extends IG2Config {
|
|
1785
|
+
autoRegister: boolean;
|
|
1765
1786
|
}
|
|
1766
1787
|
export const getDefaultMFAConfig: () => MFAConfig;
|
|
1767
1788
|
export interface MFAEvents extends IG2Events {
|
|
@@ -1996,6 +2017,7 @@ declare module '@authing/react-ui-components/components/SubmitSuccess/index' {
|
|
|
1996
2017
|
|
|
1997
2018
|
}
|
|
1998
2019
|
declare module '@authing/react-ui-components/components/SubmitSuccess/interface' {
|
|
2020
|
+
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
|
|
1999
2021
|
import { IG2Config, IG2Events, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
|
|
2000
2022
|
export interface SubmitSuccessEvents extends IG2Events {
|
|
2001
2023
|
}
|
|
@@ -2004,6 +2026,9 @@ declare module '@authing/react-ui-components/components/SubmitSuccess/interface'
|
|
|
2004
2026
|
export interface SubmitSuccessInitData {
|
|
2005
2027
|
title?: string;
|
|
2006
2028
|
message?: string;
|
|
2029
|
+
text?: string;
|
|
2030
|
+
countDesc?: string;
|
|
2031
|
+
changeModule?: GuardModuleType;
|
|
2007
2032
|
}
|
|
2008
2033
|
export interface GuardSubmitSuccessViewProps extends IG2FCViewProps, SubmitSuccessEvents {
|
|
2009
2034
|
config: SubmitSuccessConfig;
|
|
@@ -2114,7 +2139,9 @@ declare module '@authing/react-ui-components/components/_utils/GuardErrorCode' {
|
|
|
2114
2139
|
USER_EXISTENCE = 2026,
|
|
2115
2140
|
LOGIN_INVALID = 2021,
|
|
2116
2141
|
PASSWORD_ERROR = 2333,
|
|
2117
|
-
USER_NOT_EXIST = 2004
|
|
2142
|
+
USER_NOT_EXIST = 2004,
|
|
2143
|
+
MULTIPLE_ERROR_LOCK = 2057,
|
|
2144
|
+
ACCOUNT_LOCK = 2005
|
|
2118
2145
|
}
|
|
2119
2146
|
|
|
2120
2147
|
}
|
|
@@ -2272,7 +2299,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
2272
2299
|
export const getSymbolTypeLength: (pwd: string) => number;
|
|
2273
2300
|
export const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any) => Rule[];
|
|
2274
2301
|
export const sleep: (delay: number) => Promise<unknown>;
|
|
2275
|
-
export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined) => boolean;
|
|
2302
|
+
export const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean | undefined) => boolean;
|
|
2276
2303
|
export const tabSort: (defaultValue: RegisterMethods, tabList: RegisterMethods[]) => RegisterMethods[];
|
|
2277
2304
|
export const mailDesensitization: (mail: string) => string;
|
|
2278
2305
|
export const phoneDesensitization: (phone: string) => string;
|
|
@@ -2405,7 +2432,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
2405
2432
|
|
|
2406
2433
|
}
|
|
2407
2434
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
2408
|
-
const _default: "3.0.0-rc.
|
|
2435
|
+
const _default: "3.0.0-rc.14";
|
|
2409
2436
|
export default _default;
|
|
2410
2437
|
|
|
2411
2438
|
}
|
|
@@ -2772,6 +2799,1292 @@ declare module '@authing/react-ui-components/config/webpackDevServer.config' {
|
|
|
2772
2799
|
};
|
|
2773
2800
|
export = _exports;
|
|
2774
2801
|
|
|
2802
|
+
}
|
|
2803
|
+
declare module '@authing/react-ui-components/es/AuthingDropdown/index' {
|
|
2804
|
+
export function AuthingDropdown(_ref: any): React.DetailedReactHTMLElement<{
|
|
2805
|
+
className: string;
|
|
2806
|
+
onMouseEnter: () => any;
|
|
2807
|
+
onMouseLeave: () => any;
|
|
2808
|
+
}, HTMLElement>;
|
|
2809
|
+
import React from "react";
|
|
2810
|
+
|
|
2811
|
+
}
|
|
2812
|
+
declare module '@authing/react-ui-components/es/AuthingDropdown/style/css' {
|
|
2813
|
+
export {};
|
|
2814
|
+
|
|
2815
|
+
}
|
|
2816
|
+
declare module '@authing/react-ui-components/es/AuthingDropdown/style/index' {
|
|
2817
|
+
export {};
|
|
2818
|
+
|
|
2819
|
+
}
|
|
2820
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/AppMFALayout/index' {
|
|
2821
|
+
export function AppMfaLayout(): React.DetailedReactHTMLElement<{
|
|
2822
|
+
className: string;
|
|
2823
|
+
}, HTMLElement>;
|
|
2824
|
+
import React from "react";
|
|
2825
|
+
|
|
2826
|
+
}
|
|
2827
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/CompleteUserInfoLayout/index' {
|
|
2828
|
+
export function CompleteUserInfoLayout(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
2829
|
+
import React from "react";
|
|
2830
|
+
|
|
2831
|
+
}
|
|
2832
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ADLoginForm/index' {
|
|
2833
|
+
export var ADLoginForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2834
|
+
import React from "react";
|
|
2835
|
+
|
|
2836
|
+
}
|
|
2837
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/Agreements/index' {
|
|
2838
|
+
export function Agreements(_ref: any): React.DetailedReactHTMLElement<{
|
|
2839
|
+
className: string;
|
|
2840
|
+
}, HTMLElement>;
|
|
2841
|
+
import React from "react";
|
|
2842
|
+
|
|
2843
|
+
}
|
|
2844
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/CompleteUserInfoForm/index' {
|
|
2845
|
+
export function CompleteUserInfoForm(_ref: any): React.CElement<import("antd/lib/spin").SpinProps, _Spin>;
|
|
2846
|
+
import _Spin from "antd/lib/spin";
|
|
2847
|
+
import React from "react";
|
|
2848
|
+
|
|
2849
|
+
}
|
|
2850
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm' {
|
|
2851
|
+
export function CheckEmailForm(_ref: any): React.FunctionComponentElement<{}>;
|
|
2852
|
+
import React from "react";
|
|
2853
|
+
|
|
2854
|
+
}
|
|
2855
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm' {
|
|
2856
|
+
export function VerifyCodeForm(_ref: any): React.FunctionComponentElement<{}>;
|
|
2857
|
+
import React from "react";
|
|
2858
|
+
|
|
2859
|
+
}
|
|
2860
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/EmailMfaVerifyForm/index' {
|
|
2861
|
+
export function EmailMfaVerifyForm(_ref: any): React.FunctionComponentElement<{}>;
|
|
2862
|
+
import React from "react";
|
|
2863
|
+
|
|
2864
|
+
}
|
|
2865
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/EmailRegisterForm/index' {
|
|
2866
|
+
export var EmailRegisterForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2867
|
+
import React from "react";
|
|
2868
|
+
|
|
2869
|
+
}
|
|
2870
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/LdapLoginForm/index' {
|
|
2871
|
+
export var LdapLoginForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2872
|
+
import React from "react";
|
|
2873
|
+
|
|
2874
|
+
}
|
|
2875
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/LoginFormFooter/index' {
|
|
2876
|
+
export function LoginFormFooter(_ref: any): React.FunctionComponentElement<{}>;
|
|
2877
|
+
import React from "react";
|
|
2878
|
+
|
|
2879
|
+
}
|
|
2880
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/MfaResetCodeForm/Step1' {
|
|
2881
|
+
export function MfaResetStep1(_ref: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
|
|
2882
|
+
ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
|
|
2883
|
+
}>;
|
|
2884
|
+
import React from "react";
|
|
2885
|
+
|
|
2886
|
+
}
|
|
2887
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/MfaResetCodeForm/Step2' {
|
|
2888
|
+
export function MfaResetStep2(_ref: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
|
|
2889
|
+
ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
|
|
2890
|
+
}>;
|
|
2891
|
+
import React from "react";
|
|
2892
|
+
|
|
2893
|
+
}
|
|
2894
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/MfaResetCodeForm/index' {
|
|
2895
|
+
export function MfaResetCodeForm(_ref: any): React.FunctionComponentElement<{}>;
|
|
2896
|
+
import React from "react";
|
|
2897
|
+
|
|
2898
|
+
}
|
|
2899
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/MfaVerifyForm/index' {
|
|
2900
|
+
export function MFAVerifyForm(_ref: any): React.FunctionComponentElement<{}>;
|
|
2901
|
+
import React from "react";
|
|
2902
|
+
|
|
2903
|
+
}
|
|
2904
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/PasswordLoginForm/index' {
|
|
2905
|
+
export var PasswordLoginForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2906
|
+
import React from "react";
|
|
2907
|
+
|
|
2908
|
+
}
|
|
2909
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/PhoneCodeLoginForm/index' {
|
|
2910
|
+
export var PhoneCodeLoginForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2911
|
+
import React from "react";
|
|
2912
|
+
|
|
2913
|
+
}
|
|
2914
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/PhoneRegisterForm/index' {
|
|
2915
|
+
export var PhoneRegisterForm: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
2916
|
+
import React from "react";
|
|
2917
|
+
|
|
2918
|
+
}
|
|
2919
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/QrCodeLoginForm/index' {
|
|
2920
|
+
export function QrCodeLoginForm(_ref: any): React.DetailedReactHTMLElement<{
|
|
2921
|
+
className: string;
|
|
2922
|
+
}, HTMLElement>;
|
|
2923
|
+
import React from "react";
|
|
2924
|
+
|
|
2925
|
+
}
|
|
2926
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/RegisterFormFooter/index' {
|
|
2927
|
+
export function RegisterFormFooter(_ref: any): React.FunctionComponentElement<{}>;
|
|
2928
|
+
import React from "react";
|
|
2929
|
+
|
|
2930
|
+
}
|
|
2931
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Footer' {
|
|
2932
|
+
export function ResetPwdFormFooter(): React.FunctionComponentElement<Partial<{
|
|
2933
|
+
href: string;
|
|
2934
|
+
target?: string | undefined;
|
|
2935
|
+
onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
2936
|
+
} & 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"> & {
|
|
2937
|
+
htmlType?: "button" | "submit" | "reset" | undefined;
|
|
2938
|
+
onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
2939
|
+
} & 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>>;
|
|
2940
|
+
import React from "react";
|
|
2941
|
+
|
|
2942
|
+
}
|
|
2943
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Step1' {
|
|
2944
|
+
export function ResetPasswordStep1(_ref: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
|
|
2945
|
+
ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
|
|
2946
|
+
}>;
|
|
2947
|
+
import React from "react";
|
|
2948
|
+
|
|
2949
|
+
}
|
|
2950
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Step2' {
|
|
2951
|
+
export function ResetPasswordStep2(_ref: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
|
|
2952
|
+
ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
|
|
2953
|
+
}>;
|
|
2954
|
+
import React from "react";
|
|
2955
|
+
|
|
2956
|
+
}
|
|
2957
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Step3' {
|
|
2958
|
+
export function ResetPasswordStep3(_ref: any): React.FunctionComponentElement<{}>;
|
|
2959
|
+
import React from "react";
|
|
2960
|
+
|
|
2961
|
+
}
|
|
2962
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/Step4' {
|
|
2963
|
+
export function ResetPasswordStep4(): React.DetailedReactHTMLElement<{
|
|
2964
|
+
style: {
|
|
2965
|
+
textAlign: "center";
|
|
2966
|
+
};
|
|
2967
|
+
}, HTMLElement>;
|
|
2968
|
+
import React from "react";
|
|
2969
|
+
|
|
2970
|
+
}
|
|
2971
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/index' {
|
|
2972
|
+
export function ResetPasswordForm(_ref: any): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
2973
|
+
import React from "react";
|
|
2974
|
+
|
|
2975
|
+
}
|
|
2976
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn' {
|
|
2977
|
+
export function SendCodeBtn(_ref: any): React.ReactElement<{
|
|
2978
|
+
type: string;
|
|
2979
|
+
className: string;
|
|
2980
|
+
disabled: any;
|
|
2981
|
+
onClick: (_x: any, ...args: any[]) => any;
|
|
2982
|
+
ref: any;
|
|
2983
|
+
}, 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>)>;
|
|
2984
|
+
import React from "react";
|
|
2985
|
+
|
|
2986
|
+
}
|
|
2987
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SendPhoneCode/index' {
|
|
2988
|
+
export function SendPhoneCode(_ref: any): React.FunctionComponentElement<import("@authing/react-ui-components/es/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn").SendCodeProps>;
|
|
2989
|
+
import React from "react";
|
|
2990
|
+
|
|
2991
|
+
}
|
|
2992
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm' {
|
|
2993
|
+
export function CheckPhoneForm(_ref: any): React.FunctionComponentElement<{}>;
|
|
2994
|
+
import React from "react";
|
|
2995
|
+
|
|
2996
|
+
}
|
|
2997
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm' {
|
|
2998
|
+
export function VerifyCodeForm(_ref: any): React.FunctionComponentElement<{}>;
|
|
2999
|
+
import React from "react";
|
|
3000
|
+
|
|
3001
|
+
}
|
|
3002
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SmsMfaVerifyForm/index' {
|
|
3003
|
+
export function SmsMfaVerifyForm(_ref: any): React.FunctionComponentElement<{}>;
|
|
3004
|
+
import React from "react";
|
|
3005
|
+
|
|
3006
|
+
}
|
|
3007
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/SocialAndIdpLogin/index' {
|
|
3008
|
+
export function SocialAndIdpLogin(_ref: any): React.FunctionComponentElement<{}>;
|
|
3009
|
+
import React from "react";
|
|
3010
|
+
|
|
3011
|
+
}
|
|
3012
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/UploadImage/index' {
|
|
3013
|
+
export function UploadImage(_ref: any): React.FunctionComponentElement<import("antd/lib/upload").UploadProps<any> & {
|
|
3014
|
+
children?: React.ReactNode;
|
|
3015
|
+
} & React.RefAttributes<any>>;
|
|
3016
|
+
import React from "react";
|
|
3017
|
+
|
|
3018
|
+
}
|
|
3019
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Forms/index' {
|
|
3020
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/ADLoginForm/index";
|
|
3021
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/ResetPwdForm/index";
|
|
3022
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/MfaVerifyForm/index";
|
|
3023
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/LdapLoginForm/index";
|
|
3024
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/QrCodeLoginForm/index";
|
|
3025
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/MfaResetCodeForm/index";
|
|
3026
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/EmailRegisterForm/index";
|
|
3027
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/PhoneRegisterForm/index";
|
|
3028
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/PasswordLoginForm/index";
|
|
3029
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/SocialAndIdpLogin/index";
|
|
3030
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/PhoneCodeLoginForm/index";
|
|
3031
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/SmsMfaVerifyForm/index";
|
|
3032
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/Forms/EmailMfaVerifyForm/index";
|
|
3033
|
+
|
|
3034
|
+
}
|
|
3035
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/GuardLayout/index' {
|
|
3036
|
+
export function GuardLayout(_ref4: any): React.DOMElement<{
|
|
3037
|
+
id: any;
|
|
3038
|
+
style: any;
|
|
3039
|
+
className: string;
|
|
3040
|
+
onTransitionEnd: () => void;
|
|
3041
|
+
}, Element>;
|
|
3042
|
+
import React from "react";
|
|
3043
|
+
|
|
3044
|
+
}
|
|
3045
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/Header/index' {
|
|
3046
|
+
export function GuardHeader(props: any): React.DetailedReactHTMLElement<{
|
|
3047
|
+
className: string;
|
|
3048
|
+
}, HTMLElement>;
|
|
3049
|
+
import React from "react";
|
|
3050
|
+
|
|
3051
|
+
}
|
|
3052
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/IconFont/iconfont' {
|
|
3053
|
+
export {};
|
|
3054
|
+
|
|
3055
|
+
}
|
|
3056
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/IconFont/index' {
|
|
3057
|
+
export function IconFont(_ref: any): React.ReactSVGElement;
|
|
3058
|
+
import React from "react";
|
|
3059
|
+
|
|
3060
|
+
}
|
|
3061
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/IconFont/svg' {
|
|
3062
|
+
export var svgStr: string;
|
|
3063
|
+
|
|
3064
|
+
}
|
|
3065
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/LoginLayout/index' {
|
|
3066
|
+
export function LoginLayout(): React.FunctionComponentElement<{}>;
|
|
3067
|
+
import React from "react";
|
|
3068
|
+
|
|
3069
|
+
}
|
|
3070
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/MfaLayout/Steps' {
|
|
3071
|
+
export var Steps: any;
|
|
3072
|
+
|
|
3073
|
+
}
|
|
3074
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/MfaLayout/index' {
|
|
3075
|
+
export function MfaLayout(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
3076
|
+
import React from "react";
|
|
3077
|
+
|
|
3078
|
+
}
|
|
3079
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/RegisterLayout/index' {
|
|
3080
|
+
export function RegisterLayout(): React.FunctionComponentElement<import("@authing/react-ui-components/es/AuthingTabs/index").AuthingTabsProps>;
|
|
3081
|
+
import React from "react";
|
|
3082
|
+
|
|
3083
|
+
}
|
|
3084
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/ResetPwdLayout/index' {
|
|
3085
|
+
export function ResetPwdLayout(): React.FunctionComponentElement<import("@authing/react-ui-components/components/index").ResetPasswordFormProps>;
|
|
3086
|
+
import React from "react";
|
|
3087
|
+
|
|
3088
|
+
}
|
|
3089
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/ToggleLang/index' {
|
|
3090
|
+
export function ToggleLang(): React.FunctionComponentElement<import("antd/lib/dropdown").DropDownProps>;
|
|
3091
|
+
import React from "react";
|
|
3092
|
+
|
|
3093
|
+
}
|
|
3094
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/api/appConfig' {
|
|
3095
|
+
export var ApplicationMfaType: any;
|
|
3096
|
+
export function ApplicationMfaTypeLabel(): {};
|
|
3097
|
+
export function fetchAppConfig(appId: any): Promise<import("@authing/react-ui-components/es/_utils/http").AuthingResponse<any>>;
|
|
3098
|
+
|
|
3099
|
+
}
|
|
3100
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/api/index' {
|
|
3101
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/api/sso";
|
|
3102
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/api/appConfig";
|
|
3103
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/api/userPoolConfig";
|
|
3104
|
+
|
|
3105
|
+
}
|
|
3106
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/api/sso' {
|
|
3107
|
+
export function trackSession(): Promise<import("@authing/react-ui-components/es/_utils/http").AuthingResponse<any>>;
|
|
3108
|
+
|
|
3109
|
+
}
|
|
3110
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/api/userPoolConfig' {
|
|
3111
|
+
export var OIDCConnectionMode: any;
|
|
3112
|
+
|
|
3113
|
+
}
|
|
3114
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/constants' {
|
|
3115
|
+
export var OTP_MFA_CODE: number;
|
|
3116
|
+
export var APP_MFA_CODE: number;
|
|
3117
|
+
export var NEED_CAPTCHA: number;
|
|
3118
|
+
export function LOGIN_METHODS_MAP(): {};
|
|
3119
|
+
export function REGISTER_METHODS_MAP(): {};
|
|
3120
|
+
export var HIDE_SOCIALS: string[];
|
|
3121
|
+
export var ApplicationMfaType: any;
|
|
3122
|
+
export namespace defaultGuardConfig {
|
|
3123
|
+
const isSSO: boolean;
|
|
3124
|
+
const title: string;
|
|
3125
|
+
namespace text {
|
|
3126
|
+
const loginTabs: {};
|
|
3127
|
+
namespace loginBtn {
|
|
3128
|
+
const normal: string;
|
|
3129
|
+
const loading: string;
|
|
3130
|
+
}
|
|
3131
|
+
namespace registerBtn {
|
|
3132
|
+
const normal_1: string;
|
|
3133
|
+
export { normal_1 as normal };
|
|
3134
|
+
const loading_1: string;
|
|
3135
|
+
export { loading_1 as loading };
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
const escCloseable: boolean;
|
|
3139
|
+
const autoRegister: boolean;
|
|
3140
|
+
const clickCloseable: boolean;
|
|
3141
|
+
const mode: GuardMode;
|
|
3142
|
+
const disableRegister: boolean;
|
|
3143
|
+
const disableResetPwd: boolean;
|
|
3144
|
+
const defaultScenes: GuardScenes;
|
|
3145
|
+
const appHost: string;
|
|
3146
|
+
const defaultLoginMethod: LoginMethods;
|
|
3147
|
+
const defaultRegisterMethod: RegisterMethods;
|
|
3148
|
+
const loginMethods: LoginMethods[];
|
|
3149
|
+
const registerMethods: RegisterMethods[];
|
|
3150
|
+
const logo: string;
|
|
3151
|
+
const passwordLoginMethods: string[];
|
|
3152
|
+
}
|
|
3153
|
+
export namespace defaultLocalesConfig {
|
|
3154
|
+
const defaultLang: string;
|
|
3155
|
+
const isShowChange: boolean;
|
|
3156
|
+
}
|
|
3157
|
+
export var defaultHeaders: {
|
|
3158
|
+
'userpool-id': string;
|
|
3159
|
+
'app-id': string;
|
|
3160
|
+
'tenant-id': string;
|
|
3161
|
+
'request-from': string;
|
|
3162
|
+
'sdk-version': string;
|
|
3163
|
+
lang: string;
|
|
3164
|
+
};
|
|
3165
|
+
import { GuardMode } from "@authing/react-ui-components/components/AuthingGuard/types/GuardConfig";
|
|
3166
|
+
import { GuardScenes } from "@authing/react-ui-components/components/AuthingGuard/types/GuardConfig";
|
|
3167
|
+
import { LoginMethods } from "@authing/react-ui-components/components/AuthingGuard/types/GuardConfig";
|
|
3168
|
+
import { RegisterMethods } from "@authing/react-ui-components/components/AuthingGuard/types/GuardConfig";
|
|
3169
|
+
|
|
3170
|
+
}
|
|
3171
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/hooks/index' {
|
|
3172
|
+
export function initAuthClient(config: any): any;
|
|
3173
|
+
export function useAuthing(config: any): {
|
|
3174
|
+
authClient: any;
|
|
3175
|
+
};
|
|
3176
|
+
export function getAuthClient(config: any): any;
|
|
3177
|
+
|
|
3178
|
+
}
|
|
3179
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/hooks/useScreenSize' {
|
|
3180
|
+
export var ScreenSize: any;
|
|
3181
|
+
export var SCREEN_SIZE_RANG: {
|
|
3182
|
+
size: any;
|
|
3183
|
+
range: number[];
|
|
3184
|
+
}[];
|
|
3185
|
+
export function getScreenSize(): any;
|
|
3186
|
+
export function useScreenSize(): any[];
|
|
3187
|
+
|
|
3188
|
+
}
|
|
3189
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/index' {
|
|
3190
|
+
export function AuthingGuard(_ref: any): React.FunctionComponentElement<import("antd/lib/config-provider").ConfigProviderProps>;
|
|
3191
|
+
import React from "react";
|
|
3192
|
+
|
|
3193
|
+
}
|
|
3194
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/style/css' {
|
|
3195
|
+
export {};
|
|
3196
|
+
|
|
3197
|
+
}
|
|
3198
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/style/index' {
|
|
3199
|
+
export {};
|
|
3200
|
+
|
|
3201
|
+
}
|
|
3202
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/types/Forms' {
|
|
3203
|
+
export {};
|
|
3204
|
+
|
|
3205
|
+
}
|
|
3206
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/types/GuardConfig' {
|
|
3207
|
+
export var GuardMode: any;
|
|
3208
|
+
export var LoginMethods: any;
|
|
3209
|
+
export var RegisterMethods: any;
|
|
3210
|
+
export var GuardScenes: any;
|
|
3211
|
+
export var ResetPwdMethods: any;
|
|
3212
|
+
export var SocialConnections: any;
|
|
3213
|
+
export var Protocol: any;
|
|
3214
|
+
export namespace GuardEventsCamelToKebabMap {
|
|
3215
|
+
const onLoad: string;
|
|
3216
|
+
const onLoadError: string;
|
|
3217
|
+
const onLogin: string;
|
|
3218
|
+
const onBeforeLogin: string;
|
|
3219
|
+
const onLoginError: string;
|
|
3220
|
+
const onRegister: string;
|
|
3221
|
+
const onBeforeRegister: string;
|
|
3222
|
+
const onRegisterError: string;
|
|
3223
|
+
const onPwdEmailSend: string;
|
|
3224
|
+
const onPwdEmailSendError: string;
|
|
3225
|
+
const onPwdPhoneSend: string;
|
|
3226
|
+
const onPwdPhoneSendError: string;
|
|
3227
|
+
const onPwdReset: string;
|
|
3228
|
+
const onPwdResetError: string;
|
|
3229
|
+
const onClose: string;
|
|
3230
|
+
const onLoginTabChange: string;
|
|
3231
|
+
const onRegisterTabChange: string;
|
|
3232
|
+
const onRegisterInfoCompleted: string;
|
|
3233
|
+
const onRegisterInfoCompletedError: string;
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
}
|
|
3237
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/types/GuardState' {
|
|
3238
|
+
export {};
|
|
3239
|
+
|
|
3240
|
+
}
|
|
3241
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/types/Locales' {
|
|
3242
|
+
export var LANG_MAP: {
|
|
3243
|
+
label: string;
|
|
3244
|
+
value: string;
|
|
3245
|
+
}[];
|
|
3246
|
+
|
|
3247
|
+
}
|
|
3248
|
+
declare module '@authing/react-ui-components/es/AuthingGuard/types/index' {
|
|
3249
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/types/Forms";
|
|
3250
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/types/GuardState";
|
|
3251
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/types/GuardConfig";
|
|
3252
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/types/Locales";
|
|
3253
|
+
|
|
3254
|
+
}
|
|
3255
|
+
declare module '@authing/react-ui-components/es/AuthingTabs/index' {
|
|
3256
|
+
export function AuthingTabs(_ref: any): React.FunctionComponentElement<{}>;
|
|
3257
|
+
import React from "react";
|
|
3258
|
+
|
|
3259
|
+
}
|
|
3260
|
+
declare module '@authing/react-ui-components/es/AuthingTabs/style/css' {
|
|
3261
|
+
export {};
|
|
3262
|
+
|
|
3263
|
+
}
|
|
3264
|
+
declare module '@authing/react-ui-components/es/AuthingTabs/style/index' {
|
|
3265
|
+
export {};
|
|
3266
|
+
|
|
3267
|
+
}
|
|
3268
|
+
declare module '@authing/react-ui-components/es/BindTotp/core/bindSuccess' {
|
|
3269
|
+
export function BindSuccess(_ref: any): React.FunctionComponentElement<{}>;
|
|
3270
|
+
import React from "react";
|
|
3271
|
+
|
|
3272
|
+
}
|
|
3273
|
+
declare module '@authing/react-ui-components/es/BindTotp/core/securityCode' {
|
|
3274
|
+
export function SecurityCode(_ref: any): React.FunctionComponentElement<{}>;
|
|
3275
|
+
import React from "react";
|
|
3276
|
+
|
|
3277
|
+
}
|
|
3278
|
+
declare module '@authing/react-ui-components/es/BindTotp/index' {
|
|
3279
|
+
export function GuardBindTotpView(_ref: any): React.FunctionComponentElement<{}>;
|
|
3280
|
+
import React from "react";
|
|
3281
|
+
|
|
3282
|
+
}
|
|
3283
|
+
declare module '@authing/react-ui-components/es/BindTotp/interface' {
|
|
3284
|
+
export function getDefaultMFAConfig(): any;
|
|
3285
|
+
|
|
3286
|
+
}
|
|
3287
|
+
declare module '@authing/react-ui-components/es/BindTotp/style/css' {
|
|
3288
|
+
export {};
|
|
3289
|
+
|
|
3290
|
+
}
|
|
3291
|
+
declare module '@authing/react-ui-components/es/BindTotp/style/index' {
|
|
3292
|
+
export {};
|
|
3293
|
+
|
|
3294
|
+
}
|
|
3295
|
+
declare module '@authing/react-ui-components/es/ChangeLanguage/index' {
|
|
3296
|
+
export function ChangeLanguage(props: any): React.FunctionComponentElement<{}> | React.DetailedReactHTMLElement<{
|
|
3297
|
+
className: string;
|
|
3298
|
+
}, HTMLElement>;
|
|
3299
|
+
import React from "react";
|
|
3300
|
+
|
|
3301
|
+
}
|
|
3302
|
+
declare module '@authing/react-ui-components/es/ChangePassword/core/firstLoginReset' {
|
|
3303
|
+
export function FirstLoginReset(props: any): React.DetailedReactHTMLElement<{
|
|
3304
|
+
className: string;
|
|
3305
|
+
}, HTMLElement>;
|
|
3306
|
+
import React from "react";
|
|
3307
|
+
|
|
3308
|
+
}
|
|
3309
|
+
declare module '@authing/react-ui-components/es/ChangePassword/core/rotateReset' {
|
|
3310
|
+
export function RotateReset(props: any): React.DetailedReactHTMLElement<{
|
|
3311
|
+
className: string;
|
|
3312
|
+
}, HTMLElement>;
|
|
3313
|
+
import React from "react";
|
|
3314
|
+
|
|
3315
|
+
}
|
|
3316
|
+
declare module '@authing/react-ui-components/es/ChangePassword/index' {
|
|
3317
|
+
export function GuardChangePassword(props: any): React.DetailedReactHTMLElement<{
|
|
3318
|
+
className: string;
|
|
3319
|
+
}, HTMLElement>;
|
|
3320
|
+
import React from "react";
|
|
3321
|
+
|
|
3322
|
+
}
|
|
3323
|
+
declare module '@authing/react-ui-components/es/CompleteInfo/core/completeInfo' {
|
|
3324
|
+
export function CompleteInfo(props: any): React.FunctionComponentElement<import("antd/lib/form").FormProps<unknown> & {
|
|
3325
|
+
ref?: ((instance: import("antd/lib/form").FormInstance<unknown> | null) => void) | React.RefObject<import("antd/lib/form").FormInstance<unknown>> | null | undefined;
|
|
3326
|
+
}>;
|
|
3327
|
+
import React from "react";
|
|
3328
|
+
|
|
3329
|
+
}
|
|
3330
|
+
declare module '@authing/react-ui-components/es/CompleteInfo/index' {
|
|
3331
|
+
export function GuardCompleteInfoView(_ref: any): React.DetailedReactHTMLElement<{
|
|
3332
|
+
className: string;
|
|
3333
|
+
}, HTMLElement>;
|
|
3334
|
+
import React from "react";
|
|
3335
|
+
|
|
3336
|
+
}
|
|
3337
|
+
declare module '@authing/react-ui-components/es/CompleteInfo/interface' {
|
|
3338
|
+
export function getDefaultCompleteInfoConfig(): any;
|
|
3339
|
+
|
|
3340
|
+
}
|
|
3341
|
+
declare module '@authing/react-ui-components/es/CompleteInfo/style/css' {
|
|
3342
|
+
export {};
|
|
3343
|
+
|
|
3344
|
+
}
|
|
3345
|
+
declare module '@authing/react-ui-components/es/CompleteInfo/style/index' {
|
|
3346
|
+
export {};
|
|
3347
|
+
|
|
3348
|
+
}
|
|
3349
|
+
declare module '@authing/react-ui-components/es/CompleteInfo/utils' {
|
|
3350
|
+
export function completeFieldsFilter(user: any, field: any): boolean;
|
|
3351
|
+
|
|
3352
|
+
}
|
|
3353
|
+
declare module '@authing/react-ui-components/es/CopyAbleText/index' {
|
|
3354
|
+
export function CopyAbleText(_ref: any): React.DetailedReactHTMLElement<{
|
|
3355
|
+
className: string;
|
|
3356
|
+
ref: React.MutableRefObject<null>;
|
|
3357
|
+
}, HTMLElement>;
|
|
3358
|
+
import React from "react";
|
|
3359
|
+
|
|
3360
|
+
}
|
|
3361
|
+
declare module '@authing/react-ui-components/es/CopyAbleText/style/css' {
|
|
3362
|
+
export {};
|
|
3363
|
+
|
|
3364
|
+
}
|
|
3365
|
+
declare module '@authing/react-ui-components/es/CopyAbleText/style/index' {
|
|
3366
|
+
export {};
|
|
3367
|
+
|
|
3368
|
+
}
|
|
3369
|
+
declare module '@authing/react-ui-components/es/DownloadAuthenticator/index' {
|
|
3370
|
+
export function GuardDownloadATView(_ref: any): React.DetailedReactHTMLElement<{
|
|
3371
|
+
className: string;
|
|
3372
|
+
}, HTMLElement>;
|
|
3373
|
+
import React from "react";
|
|
3374
|
+
|
|
3375
|
+
}
|
|
3376
|
+
declare module '@authing/react-ui-components/es/DownloadAuthenticator/interface' {
|
|
3377
|
+
export function getDefaultDownloadAuthenticatorConfig(): any;
|
|
3378
|
+
|
|
3379
|
+
}
|
|
3380
|
+
declare module '@authing/react-ui-components/es/DownloadAuthenticator/style/css' {
|
|
3381
|
+
export {};
|
|
3382
|
+
|
|
3383
|
+
}
|
|
3384
|
+
declare module '@authing/react-ui-components/es/DownloadAuthenticator/style/index' {
|
|
3385
|
+
export {};
|
|
3386
|
+
|
|
3387
|
+
}
|
|
3388
|
+
declare module '@authing/react-ui-components/es/Error/index' {
|
|
3389
|
+
export function GuardErrorView(props: any): React.DetailedReactHTMLElement<{
|
|
3390
|
+
className: string;
|
|
3391
|
+
}, HTMLElement>;
|
|
3392
|
+
import React from "react";
|
|
3393
|
+
|
|
3394
|
+
}
|
|
3395
|
+
declare module '@authing/react-ui-components/es/Error/interface' {
|
|
3396
|
+
export {};
|
|
3397
|
+
|
|
3398
|
+
}
|
|
3399
|
+
declare module '@authing/react-ui-components/es/Error/style/css' {
|
|
3400
|
+
export {};
|
|
3401
|
+
|
|
3402
|
+
}
|
|
3403
|
+
declare module '@authing/react-ui-components/es/Error/style/index' {
|
|
3404
|
+
export {};
|
|
3405
|
+
|
|
3406
|
+
}
|
|
3407
|
+
declare module '@authing/react-ui-components/es/ForgetPassword/core/resetPassword' {
|
|
3408
|
+
export function ResetPassword(props: any): React.DetailedReactHTMLElement<{
|
|
3409
|
+
className: string;
|
|
3410
|
+
}, HTMLElement>;
|
|
3411
|
+
import React from "react";
|
|
3412
|
+
|
|
3413
|
+
}
|
|
3414
|
+
declare module '@authing/react-ui-components/es/ForgetPassword/index' {
|
|
3415
|
+
export function GuardForgetPassword(props: any): React.DetailedReactHTMLElement<{
|
|
3416
|
+
className: string;
|
|
3417
|
+
}, HTMLElement>;
|
|
3418
|
+
import React from "react";
|
|
3419
|
+
|
|
3420
|
+
}
|
|
3421
|
+
declare module '@authing/react-ui-components/es/ForgetPassword/interface' {
|
|
3422
|
+
export {};
|
|
3423
|
+
|
|
3424
|
+
}
|
|
3425
|
+
declare module '@authing/react-ui-components/es/Guard/Guard' {
|
|
3426
|
+
export function Guard(props: any): React.FunctionComponentElement<import("antd/lib/config-provider").ConfigProviderProps>;
|
|
3427
|
+
import React from "react";
|
|
3428
|
+
|
|
3429
|
+
}
|
|
3430
|
+
declare module '@authing/react-ui-components/es/Guard/authClient' {
|
|
3431
|
+
export function initGuardAuthClient(config: any, appId: any, tenantId: any): any;
|
|
3432
|
+
export function getGuardAuthClient(): any;
|
|
3433
|
+
export function useGuardAuthClient(): any;
|
|
3434
|
+
|
|
3435
|
+
}
|
|
3436
|
+
declare module '@authing/react-ui-components/es/Guard/config' {
|
|
3437
|
+
export function getDefaultGuardLocalConfig(): any;
|
|
3438
|
+
|
|
3439
|
+
}
|
|
3440
|
+
declare module '@authing/react-ui-components/es/Guard/event' {
|
|
3441
|
+
export function guardEventsFilter(props: any): any;
|
|
3442
|
+
export function guardEventsHijacking(events: any): any;
|
|
3443
|
+
|
|
3444
|
+
}
|
|
3445
|
+
declare module '@authing/react-ui-components/es/Guard/index' {
|
|
3446
|
+
export * from "@authing/react-ui-components/es/Guard/Guard";
|
|
3447
|
+
export * from "@authing/react-ui-components/es/Guard/module";
|
|
3448
|
+
export * from "@authing/react-ui-components/es/Guard/event";
|
|
3449
|
+
export * from "@authing/react-ui-components/es/Guard/config";
|
|
3450
|
+
|
|
3451
|
+
}
|
|
3452
|
+
declare module '@authing/react-ui-components/es/Guard/module' {
|
|
3453
|
+
export var GuardModuleType: any;
|
|
3454
|
+
|
|
3455
|
+
}
|
|
3456
|
+
declare module '@authing/react-ui-components/es/Guard/sso' {
|
|
3457
|
+
export function trackSession(...args: any[]): any;
|
|
3458
|
+
|
|
3459
|
+
}
|
|
3460
|
+
declare module '@authing/react-ui-components/es/Guard/stateMachine' {
|
|
3461
|
+
export var ActionType: any;
|
|
3462
|
+
export var GuardStateMachine: any;
|
|
3463
|
+
export function useHistoryHijack(back: any): ((...args: any[]) => void)[];
|
|
3464
|
+
export function initGuardStateMachine(changeMouleEvent: any, initData: any): any;
|
|
3465
|
+
export function getGuardStateMachine(): any;
|
|
3466
|
+
export function useGuardStateMachine(): any;
|
|
3467
|
+
|
|
3468
|
+
}
|
|
3469
|
+
declare module '@authing/react-ui-components/es/Guard/style/css' {
|
|
3470
|
+
export {};
|
|
3471
|
+
|
|
3472
|
+
}
|
|
3473
|
+
declare module '@authing/react-ui-components/es/Guard/style/index' {
|
|
3474
|
+
export {};
|
|
3475
|
+
|
|
3476
|
+
}
|
|
3477
|
+
declare module '@authing/react-ui-components/es/IconFont/iconfont' {
|
|
3478
|
+
export {};
|
|
3479
|
+
|
|
3480
|
+
}
|
|
3481
|
+
declare module '@authing/react-ui-components/es/IconFont/index' {
|
|
3482
|
+
export function IconFont(_ref: any): React.ReactSVGElement;
|
|
3483
|
+
import React from "react";
|
|
3484
|
+
|
|
3485
|
+
}
|
|
3486
|
+
declare module '@authing/react-ui-components/es/IconFont/style/css' {
|
|
3487
|
+
export {};
|
|
3488
|
+
|
|
3489
|
+
}
|
|
3490
|
+
declare module '@authing/react-ui-components/es/IconFont/style/index' {
|
|
3491
|
+
export {};
|
|
3492
|
+
|
|
3493
|
+
}
|
|
3494
|
+
declare module '@authing/react-ui-components/es/IconFont/svg' {
|
|
3495
|
+
export var svgStr: string;
|
|
3496
|
+
|
|
3497
|
+
}
|
|
3498
|
+
declare module '@authing/react-ui-components/es/ImagePro/index' {
|
|
3499
|
+
export function ImagePro(props: any): React.DetailedReactHTMLElement<{
|
|
3500
|
+
style: {
|
|
3501
|
+
width: number;
|
|
3502
|
+
height: number;
|
|
3503
|
+
};
|
|
3504
|
+
className: string;
|
|
3505
|
+
}, HTMLElement>;
|
|
3506
|
+
import React from "react";
|
|
3507
|
+
|
|
3508
|
+
}
|
|
3509
|
+
declare module '@authing/react-ui-components/es/ImagePro/style/css' {
|
|
3510
|
+
export {};
|
|
3511
|
+
|
|
3512
|
+
}
|
|
3513
|
+
declare module '@authing/react-ui-components/es/ImagePro/style/index' {
|
|
3514
|
+
export {};
|
|
3515
|
+
|
|
3516
|
+
}
|
|
3517
|
+
declare module '@authing/react-ui-components/es/InputNumber/index' {
|
|
3518
|
+
export var InputNumber: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3519
|
+
import React from "react";
|
|
3520
|
+
|
|
3521
|
+
}
|
|
3522
|
+
declare module '@authing/react-ui-components/es/InputPassword/index' {
|
|
3523
|
+
export var InputPassword: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3524
|
+
import React from "react";
|
|
3525
|
+
|
|
3526
|
+
}
|
|
3527
|
+
declare module '@authing/react-ui-components/es/Login/codemap' {
|
|
3528
|
+
export var codeMap: {};
|
|
3529
|
+
|
|
3530
|
+
}
|
|
3531
|
+
declare module '@authing/react-ui-components/es/Login/core/withAD' {
|
|
3532
|
+
export function LoginWithAD(props: any): React.DetailedReactHTMLElement<{
|
|
3533
|
+
className: string;
|
|
3534
|
+
}, HTMLElement>;
|
|
3535
|
+
import React from "react";
|
|
3536
|
+
|
|
3537
|
+
}
|
|
3538
|
+
declare module '@authing/react-ui-components/es/Login/core/withAppQrcode' {
|
|
3539
|
+
export function LoginWithAppQrcode(props: any): React.DetailedReactHTMLElement<{
|
|
3540
|
+
className: string;
|
|
3541
|
+
}, HTMLElement>;
|
|
3542
|
+
import React from "react";
|
|
3543
|
+
|
|
3544
|
+
}
|
|
3545
|
+
declare module '@authing/react-ui-components/es/Login/core/withLDAP' {
|
|
3546
|
+
export function LoginWithLDAP(props: any): React.DetailedReactHTMLElement<{
|
|
3547
|
+
className: string;
|
|
3548
|
+
}, HTMLElement>;
|
|
3549
|
+
import React from "react";
|
|
3550
|
+
|
|
3551
|
+
}
|
|
3552
|
+
declare module '@authing/react-ui-components/es/Login/core/withPassword/FormItemAccount' {
|
|
3553
|
+
export function FormItemAccount(props: any): React.FunctionComponentElement<{}>;
|
|
3554
|
+
import React from "react";
|
|
3555
|
+
|
|
3556
|
+
}
|
|
3557
|
+
declare module '@authing/react-ui-components/es/Login/core/withPassword/GraphicVerifyCode' {
|
|
3558
|
+
export function GraphicVerifyCode(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/withPassword/InputAccount' {
|
|
3565
|
+
export function InputAccount(props: any): React.FunctionComponentElement<{}>;
|
|
3566
|
+
import React from "react";
|
|
3567
|
+
|
|
3568
|
+
}
|
|
3569
|
+
declare module '@authing/react-ui-components/es/Login/core/withPassword/index' {
|
|
3570
|
+
export function LoginWithPassword(props: any): React.DetailedReactHTMLElement<{
|
|
3571
|
+
className: string;
|
|
3572
|
+
}, HTMLElement>;
|
|
3573
|
+
import React from "react";
|
|
3574
|
+
|
|
3575
|
+
}
|
|
3576
|
+
declare module '@authing/react-ui-components/es/Login/core/withPhonecode' {
|
|
3577
|
+
export function LoginWithPhoneCode(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/withWechatMiniQrcode' {
|
|
3584
|
+
export function LoginWithWechatMiniQrcode(props: any): React.DetailedReactHTMLElement<{
|
|
3585
|
+
className: string;
|
|
3586
|
+
}, HTMLElement>;
|
|
3587
|
+
import React from "react";
|
|
3588
|
+
|
|
3589
|
+
}
|
|
3590
|
+
declare module '@authing/react-ui-components/es/Login/core/withWechatmpQrcode' {
|
|
3591
|
+
export function LoginWithWechatmpQrcode(props: any): React.DetailedReactHTMLElement<{
|
|
3592
|
+
className: string;
|
|
3593
|
+
}, HTMLElement>;
|
|
3594
|
+
import React from "react";
|
|
3595
|
+
|
|
3596
|
+
}
|
|
3597
|
+
declare module '@authing/react-ui-components/es/Login/index' {
|
|
3598
|
+
export function GuardLoginView(props: any): React.DetailedReactHTMLElement<{
|
|
3599
|
+
className: string;
|
|
3600
|
+
}, HTMLElement>;
|
|
3601
|
+
import React from "react";
|
|
3602
|
+
|
|
3603
|
+
}
|
|
3604
|
+
declare module '@authing/react-ui-components/es/Login/interface' {
|
|
3605
|
+
export function getDefaultLoginConfig(): any;
|
|
3606
|
+
|
|
3607
|
+
}
|
|
3608
|
+
declare module '@authing/react-ui-components/es/Login/socialLogin/index' {
|
|
3609
|
+
export function SocialLogin(_ref: any): React.FunctionComponentElement<{}>;
|
|
3610
|
+
import React from "react";
|
|
3611
|
+
|
|
3612
|
+
}
|
|
3613
|
+
declare module '@authing/react-ui-components/es/Login/style/css' {
|
|
3614
|
+
export {};
|
|
3615
|
+
|
|
3616
|
+
}
|
|
3617
|
+
declare module '@authing/react-ui-components/es/Login/style/index' {
|
|
3618
|
+
export {};
|
|
3619
|
+
|
|
3620
|
+
}
|
|
3621
|
+
declare module '@authing/react-ui-components/es/MFA/VerifyCodeInput/VerifyCodeFormItem' {
|
|
3622
|
+
export function VerifyCodeFormItem(props: any): React.FunctionComponentElement<import("antd/lib/form").FormItemProps<unknown>>;
|
|
3623
|
+
import React from "react";
|
|
3624
|
+
|
|
3625
|
+
}
|
|
3626
|
+
declare module '@authing/react-ui-components/es/MFA/VerifyCodeInput/index' {
|
|
3627
|
+
export function VerifyCodeInput(_ref: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
3628
|
+
import React from "react";
|
|
3629
|
+
|
|
3630
|
+
}
|
|
3631
|
+
declare module '@authing/react-ui-components/es/MFA/codemap' {
|
|
3632
|
+
export var codeMap: {
|
|
3633
|
+
2021: {
|
|
3634
|
+
action: string;
|
|
3635
|
+
module: GuardModuleType;
|
|
3636
|
+
};
|
|
3637
|
+
1700: {
|
|
3638
|
+
action: string;
|
|
3639
|
+
message: string;
|
|
3640
|
+
};
|
|
3641
|
+
1701: {
|
|
3642
|
+
action: string;
|
|
3643
|
+
message: string;
|
|
3644
|
+
};
|
|
3645
|
+
1702: {
|
|
3646
|
+
action: string;
|
|
3647
|
+
message: string;
|
|
3648
|
+
};
|
|
3649
|
+
500: {
|
|
3650
|
+
action: string;
|
|
3651
|
+
};
|
|
3652
|
+
6001: {
|
|
3653
|
+
action: string;
|
|
3654
|
+
};
|
|
3655
|
+
};
|
|
3656
|
+
import { GuardModuleType } from "@authing/react-ui-components/es/Guard/module";
|
|
3657
|
+
|
|
3658
|
+
}
|
|
3659
|
+
declare module '@authing/react-ui-components/es/MFA/core/email' {
|
|
3660
|
+
export function BindMFAEmail(_ref: any): React.FunctionComponentElement<{}>;
|
|
3661
|
+
export function VerifyMFAEmail(_ref4: any): React.FunctionComponentElement<{}>;
|
|
3662
|
+
export function MFAEmail(_ref7: any): React.FunctionComponentElement<{}>;
|
|
3663
|
+
import React from "react";
|
|
3664
|
+
|
|
3665
|
+
}
|
|
3666
|
+
declare module '@authing/react-ui-components/es/MFA/core/face' {
|
|
3667
|
+
export function MFAFace(props: any): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
3668
|
+
import React from "react";
|
|
3669
|
+
|
|
3670
|
+
}
|
|
3671
|
+
declare module '@authing/react-ui-components/es/MFA/core/face_deps' {
|
|
3672
|
+
export function getFaceDetectorOptions(): TinyFaceDetectorOptions;
|
|
3673
|
+
export function getCurrentFaceDetectionNet(): import("face-api.js").TinyFaceDetector;
|
|
3674
|
+
export function isFaceDetectionModelLoaded(): boolean;
|
|
3675
|
+
export function dataURItoBlob(base64Data: any): Blob;
|
|
3676
|
+
export namespace devicesConstraints {
|
|
3677
|
+
namespace video {
|
|
3678
|
+
const width: number;
|
|
3679
|
+
const height: number;
|
|
3680
|
+
}
|
|
3681
|
+
}
|
|
3682
|
+
export var FACE_SCORE: number;
|
|
3683
|
+
import { TinyFaceDetectorOptions } from "face-api.js/build/commonjs/tinyFaceDetector/TinyFaceDetectorOptions";
|
|
3684
|
+
|
|
3685
|
+
}
|
|
3686
|
+
declare module '@authing/react-ui-components/es/MFA/core/sms' {
|
|
3687
|
+
export function BindMFASms(_ref: any): React.FunctionComponentElement<{}>;
|
|
3688
|
+
export function VerifyMFASms(_ref4: any): React.FunctionComponentElement<{}>;
|
|
3689
|
+
export function MFASms(_ref7: any): React.FunctionComponentElement<{}>;
|
|
3690
|
+
import React from "react";
|
|
3691
|
+
|
|
3692
|
+
}
|
|
3693
|
+
declare module '@authing/react-ui-components/es/MFA/core/totp' {
|
|
3694
|
+
export function BindMFATotp(_ref: any): React.FunctionComponentElement<{}>;
|
|
3695
|
+
export function VerifyMFATotp(_ref2: any): React.FunctionComponentElement<{}>;
|
|
3696
|
+
export function MFATotp(_ref4: any): React.FunctionComponentElement<{}>;
|
|
3697
|
+
import React from "react";
|
|
3698
|
+
|
|
3699
|
+
}
|
|
3700
|
+
declare module '@authing/react-ui-components/es/MFA/index' {
|
|
3701
|
+
export function GuardMFAView(_ref5: any): React.DetailedReactHTMLElement<{
|
|
3702
|
+
className: string;
|
|
3703
|
+
}, HTMLElement>;
|
|
3704
|
+
import React from "react";
|
|
3705
|
+
|
|
3706
|
+
}
|
|
3707
|
+
declare module '@authing/react-ui-components/es/MFA/interface' {
|
|
3708
|
+
export function getDefaultMFAConfig(): any;
|
|
3709
|
+
export var MFAType: any;
|
|
3710
|
+
|
|
3711
|
+
}
|
|
3712
|
+
declare module '@authing/react-ui-components/es/MFA/mfaMethods/index' {
|
|
3713
|
+
export function MFAMethods(_ref: any): React.FunctionComponentElement<{}>;
|
|
3714
|
+
import React from "react";
|
|
3715
|
+
|
|
3716
|
+
}
|
|
3717
|
+
declare module '@authing/react-ui-components/es/MFA/style/css' {
|
|
3718
|
+
export {};
|
|
3719
|
+
|
|
3720
|
+
}
|
|
3721
|
+
declare module '@authing/react-ui-components/es/MFA/style/index' {
|
|
3722
|
+
export {};
|
|
3723
|
+
|
|
3724
|
+
}
|
|
3725
|
+
declare module '@authing/react-ui-components/es/NeedHelpView/core/describeQuestions' {
|
|
3726
|
+
export function DescribeQuestions(props: any): React.DetailedReactHTMLElement<{
|
|
3727
|
+
className: string;
|
|
3728
|
+
}, HTMLElement>;
|
|
3729
|
+
import React from "react";
|
|
3730
|
+
|
|
3731
|
+
}
|
|
3732
|
+
declare module '@authing/react-ui-components/es/NeedHelpView/index' {
|
|
3733
|
+
export function GuardNeedHelpView(props: any): React.DetailedReactHTMLElement<{
|
|
3734
|
+
className: string;
|
|
3735
|
+
}, HTMLElement>;
|
|
3736
|
+
import React from "react";
|
|
3737
|
+
|
|
3738
|
+
}
|
|
3739
|
+
declare module '@authing/react-ui-components/es/RecoveryCode/core/useCode' {
|
|
3740
|
+
export function UseCode(_ref: any): React.FunctionComponentElement<{}>;
|
|
3741
|
+
import React from "react";
|
|
3742
|
+
|
|
3743
|
+
}
|
|
3744
|
+
declare module '@authing/react-ui-components/es/RecoveryCode/index' {
|
|
3745
|
+
export function GuardRecoveryCodeView(_ref: any): React.DetailedReactHTMLElement<{
|
|
3746
|
+
className: string;
|
|
3747
|
+
}, HTMLElement>;
|
|
3748
|
+
import React from "react";
|
|
3749
|
+
|
|
3750
|
+
}
|
|
3751
|
+
declare module '@authing/react-ui-components/es/RecoveryCode/interface' {
|
|
3752
|
+
export function getDefaultRecoveryCodeConfig(): any;
|
|
3753
|
+
|
|
3754
|
+
}
|
|
3755
|
+
declare module '@authing/react-ui-components/es/RecoveryCode/style/css' {
|
|
3756
|
+
export {};
|
|
3757
|
+
|
|
3758
|
+
}
|
|
3759
|
+
declare module '@authing/react-ui-components/es/RecoveryCode/style/index' {
|
|
3760
|
+
export {};
|
|
3761
|
+
|
|
3762
|
+
}
|
|
3763
|
+
declare module '@authing/react-ui-components/es/Register/codemap' {
|
|
3764
|
+
export var codeMap: {};
|
|
3765
|
+
|
|
3766
|
+
}
|
|
3767
|
+
declare module '@authing/react-ui-components/es/Register/components/Agreements/index' {
|
|
3768
|
+
export function Agreements(_ref: any): React.DetailedReactHTMLElement<{
|
|
3769
|
+
className: string;
|
|
3770
|
+
}, HTMLElement>;
|
|
3771
|
+
import React from "react";
|
|
3772
|
+
|
|
3773
|
+
}
|
|
3774
|
+
declare module '@authing/react-ui-components/es/Register/core/WithEmail' {
|
|
3775
|
+
export function RegisterWithEmail(_ref: any): React.DetailedReactHTMLElement<{
|
|
3776
|
+
className: string;
|
|
3777
|
+
}, HTMLElement>;
|
|
3778
|
+
import React from "react";
|
|
3779
|
+
|
|
3780
|
+
}
|
|
3781
|
+
declare module '@authing/react-ui-components/es/Register/core/WithPhone' {
|
|
3782
|
+
export function RegisterWithPhone(_ref: any): React.DetailedReactHTMLElement<{
|
|
3783
|
+
className: string;
|
|
3784
|
+
}, HTMLElement>;
|
|
3785
|
+
import React from "react";
|
|
3786
|
+
|
|
3787
|
+
}
|
|
3788
|
+
declare module '@authing/react-ui-components/es/Register/index' {
|
|
3789
|
+
export function GuardRegisterView(_ref: any): React.DetailedReactHTMLElement<{
|
|
3790
|
+
className: string;
|
|
3791
|
+
}, HTMLElement>;
|
|
3792
|
+
import React from "react";
|
|
3793
|
+
|
|
3794
|
+
}
|
|
3795
|
+
declare module '@authing/react-ui-components/es/Register/interface' {
|
|
3796
|
+
export function getDefaultRegisterConfig(): any;
|
|
3797
|
+
|
|
3798
|
+
}
|
|
3799
|
+
declare module '@authing/react-ui-components/es/Register/style/css' {
|
|
3800
|
+
export {};
|
|
3801
|
+
|
|
3802
|
+
}
|
|
3803
|
+
declare module '@authing/react-ui-components/es/Register/style/index' {
|
|
3804
|
+
export {};
|
|
3805
|
+
|
|
3806
|
+
}
|
|
3807
|
+
declare module '@authing/react-ui-components/es/SendCode/SendCodeBtn' {
|
|
3808
|
+
export function SendCodeBtn(props: any): React.FunctionComponentElement<Partial<{
|
|
3809
|
+
href: string;
|
|
3810
|
+
target?: string | undefined;
|
|
3811
|
+
onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
3812
|
+
} & 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"> & {
|
|
3813
|
+
htmlType?: "button" | "submit" | "reset" | undefined;
|
|
3814
|
+
onClick?: ((event: React.MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
|
|
3815
|
+
} & 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>>;
|
|
3816
|
+
import React from "react";
|
|
3817
|
+
|
|
3818
|
+
}
|
|
3819
|
+
declare module '@authing/react-ui-components/es/SendCode/index' {
|
|
3820
|
+
export function SendCode(_ref: any): React.FunctionComponentElement<{}>;
|
|
3821
|
+
import React from "react";
|
|
3822
|
+
|
|
3823
|
+
}
|
|
3824
|
+
declare module '@authing/react-ui-components/es/SendCode/style/css' {
|
|
3825
|
+
export {};
|
|
3826
|
+
|
|
3827
|
+
}
|
|
3828
|
+
declare module '@authing/react-ui-components/es/SendCode/style/index' {
|
|
3829
|
+
export {};
|
|
3830
|
+
|
|
3831
|
+
}
|
|
3832
|
+
declare module '@authing/react-ui-components/es/ShieldSpin/index' {
|
|
3833
|
+
export function ShieldSpin(props: any): React.DetailedReactHTMLElement<{
|
|
3834
|
+
style: {
|
|
3835
|
+
width: any;
|
|
3836
|
+
height: any;
|
|
3837
|
+
};
|
|
3838
|
+
}, HTMLElement>;
|
|
3839
|
+
export function Spin(): React.DetailedReactHTMLElement<{
|
|
3840
|
+
className: string;
|
|
3841
|
+
}, HTMLElement>;
|
|
3842
|
+
import React from "react";
|
|
3843
|
+
|
|
3844
|
+
}
|
|
3845
|
+
declare module '@authing/react-ui-components/es/SubmitButton/index' {
|
|
3846
|
+
var _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
|
|
3847
|
+
export default _default;
|
|
3848
|
+
import React from "react";
|
|
3849
|
+
|
|
3850
|
+
}
|
|
3851
|
+
declare module '@authing/react-ui-components/es/SubmitSuccess/index' {
|
|
3852
|
+
export function GuardSubmitSuccessView(props: any): React.DetailedReactHTMLElement<{
|
|
3853
|
+
className: string;
|
|
3854
|
+
}, HTMLElement>;
|
|
3855
|
+
import React from "react";
|
|
3856
|
+
|
|
3857
|
+
}
|
|
3858
|
+
declare module '@authing/react-ui-components/es/SubmitSuccess/interface' {
|
|
3859
|
+
export {};
|
|
3860
|
+
|
|
3861
|
+
}
|
|
3862
|
+
declare module '@authing/react-ui-components/es/Type/index' {
|
|
3863
|
+
export function getDefaultG2Config(): {
|
|
3864
|
+
lang: string;
|
|
3865
|
+
langRange: string[];
|
|
3866
|
+
title: string;
|
|
3867
|
+
escCloseable: boolean;
|
|
3868
|
+
clickCloseable: boolean;
|
|
3869
|
+
mode: GuardMode;
|
|
3870
|
+
host: string;
|
|
3871
|
+
logo: string;
|
|
3872
|
+
};
|
|
3873
|
+
import { GuardMode } from "@authing/react-ui-components/es/AuthingGuard/types/GuardConfig";
|
|
3874
|
+
|
|
3875
|
+
}
|
|
3876
|
+
declare module '@authing/react-ui-components/es/ValidatorRules/PasswordFormItem' {
|
|
3877
|
+
export function PasswordFormItem(props: any): React.FunctionComponentElement<import("antd/lib/form").FormItemProps<unknown>>;
|
|
3878
|
+
import React from "react";
|
|
3879
|
+
|
|
3880
|
+
}
|
|
3881
|
+
declare module '@authing/react-ui-components/es/ValidatorRules/ValidatorFormItem' {
|
|
3882
|
+
export var EmailFormItem: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3883
|
+
export var PhoneFormItem: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3884
|
+
export var UserNameFormItem: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3885
|
+
import React from "react";
|
|
3886
|
+
|
|
3887
|
+
}
|
|
3888
|
+
declare module '@authing/react-ui-components/es/ValidatorRules/index' {
|
|
3889
|
+
export default CustomFormItem;
|
|
3890
|
+
var CustomFormItem: typeof FormItem;
|
|
3891
|
+
import FormItem from "antd/lib/form/FormItem";
|
|
3892
|
+
|
|
3893
|
+
}
|
|
3894
|
+
declare module '@authing/react-ui-components/es/VerifyCodeInput/index' {
|
|
3895
|
+
export function VerifyCodeInput(_ref: any): React.DetailedReactHTMLElement<{
|
|
3896
|
+
className: string;
|
|
3897
|
+
}, HTMLElement>;
|
|
3898
|
+
import React from "react";
|
|
3899
|
+
|
|
3900
|
+
}
|
|
3901
|
+
declare module '@authing/react-ui-components/es/VerifyCodeInput/style/css' {
|
|
3902
|
+
export {};
|
|
3903
|
+
|
|
3904
|
+
}
|
|
3905
|
+
declare module '@authing/react-ui-components/es/VerifyCodeInput/style/index' {
|
|
3906
|
+
export {};
|
|
3907
|
+
|
|
3908
|
+
}
|
|
3909
|
+
declare module '@authing/react-ui-components/es/_utils/GuardErrorCode' {
|
|
3910
|
+
export var ErrorCode: any;
|
|
3911
|
+
|
|
3912
|
+
}
|
|
3913
|
+
declare module '@authing/react-ui-components/es/_utils/clipboard' {
|
|
3914
|
+
export function copyToClipboard(str: any): void;
|
|
3915
|
+
|
|
3916
|
+
}
|
|
3917
|
+
declare module '@authing/react-ui-components/es/_utils/config' {
|
|
3918
|
+
export function initConfig(_x: any, _x2: any, _x3: any, ...args: any[]): any;
|
|
3919
|
+
|
|
3920
|
+
}
|
|
3921
|
+
declare module '@authing/react-ui-components/es/_utils/context' {
|
|
3922
|
+
export function createGuardContext(): {
|
|
3923
|
+
Context: React.Context<undefined>;
|
|
3924
|
+
Provider: React.Provider<undefined>;
|
|
3925
|
+
Consumer: React.Consumer<undefined>;
|
|
3926
|
+
};
|
|
3927
|
+
export function usePublicConfig(): undefined;
|
|
3928
|
+
import React from "react";
|
|
3929
|
+
|
|
3930
|
+
}
|
|
3931
|
+
declare module '@authing/react-ui-components/es/_utils/errorFace' {
|
|
3932
|
+
export function faceErrorMessage(error: any): string;
|
|
3933
|
+
|
|
3934
|
+
}
|
|
3935
|
+
declare module '@authing/react-ui-components/es/_utils/guradHttp' {
|
|
3936
|
+
export function GuardHttp(baseUrl: any): void;
|
|
3937
|
+
export function initGuardHttp(baseUrl: any): any;
|
|
3938
|
+
export function getGuardHttp(): any;
|
|
3939
|
+
export function useGuardHttp(): any;
|
|
3940
|
+
|
|
3941
|
+
}
|
|
3942
|
+
declare module '@authing/react-ui-components/es/_utils/hooks/index' {
|
|
3943
|
+
export function useChangeModule(): (nextModuleType: any, nextData: any) => void;
|
|
3944
|
+
export function useAppId(appId: any): string;
|
|
3945
|
+
export function useDebounce(fn: any, delay: any): (...args: any[]) => void;
|
|
3946
|
+
|
|
3947
|
+
}
|
|
3948
|
+
declare module '@authing/react-ui-components/es/_utils/http' {
|
|
3949
|
+
export function requestClient(...args: any[]): any;
|
|
3950
|
+
export namespace requestClient {
|
|
3951
|
+
export function get(_x: any, ...args: any[]): any;
|
|
3952
|
+
export function post(_x2: any, _x3: any, _x4: any, ...args: any[]): any;
|
|
3953
|
+
export function postForm(_x5: any, _x6: any, _x7: any, ...args: any[]): any;
|
|
3954
|
+
export const baseUrl: string;
|
|
3955
|
+
export function setBaseUrl(base: any): void;
|
|
3956
|
+
export { DEFAULT_LANG_HEADER as langHeader };
|
|
3957
|
+
export { DEFAULT_TENANT_HEADER as tenantHeader };
|
|
3958
|
+
export const tenantId: string;
|
|
3959
|
+
export function setLangHeader(key: any): void;
|
|
3960
|
+
export function setTenantHeader(key: any): void;
|
|
3961
|
+
export function setTenantId(tenantId: any): void;
|
|
3962
|
+
}
|
|
3963
|
+
var DEFAULT_LANG_HEADER: string;
|
|
3964
|
+
var DEFAULT_TENANT_HEADER: string;
|
|
3965
|
+
export {};
|
|
3966
|
+
|
|
3967
|
+
}
|
|
3968
|
+
declare module '@authing/react-ui-components/es/_utils/index' {
|
|
3969
|
+
export function getDeviceName(): string | null;
|
|
3970
|
+
/**
|
|
3971
|
+
* https://www.itranslater.com/qa/details/2115518846294557696
|
|
3972
|
+
* Simple object check.
|
|
3973
|
+
* @param item
|
|
3974
|
+
* @returns {boolean}
|
|
3975
|
+
*/
|
|
3976
|
+
export function isObject(item: any): boolean;
|
|
3977
|
+
/**
|
|
3978
|
+
* https://www.itranslater.com/qa/details/2115518846294557696
|
|
3979
|
+
* Deep merge two objects.
|
|
3980
|
+
* @param target
|
|
3981
|
+
* @param ...sources
|
|
3982
|
+
*/
|
|
3983
|
+
export function deepMerge(target: any, ...args: any[]): any;
|
|
3984
|
+
export * from "@authing/react-ui-components/es/_utils/popupCenter";
|
|
3985
|
+
export * from "@authing/react-ui-components/es/_utils/clipboard";
|
|
3986
|
+
export namespace VALIDATE_PATTERN {
|
|
3987
|
+
const email: RegExp;
|
|
3988
|
+
const phone: RegExp;
|
|
3989
|
+
const ip: RegExp;
|
|
3990
|
+
const host: RegExp;
|
|
3991
|
+
const username: RegExp;
|
|
3992
|
+
}
|
|
3993
|
+
export function validate(type: any, val: any): any;
|
|
3994
|
+
export function getRequiredRules(msg: any): {
|
|
3995
|
+
required: boolean;
|
|
3996
|
+
message: any;
|
|
3997
|
+
}[];
|
|
3998
|
+
export function fieldRequiredRule(_fieldRequiredRule: any): {
|
|
3999
|
+
required: boolean;
|
|
4000
|
+
validateTrigger: string[];
|
|
4001
|
+
message: string;
|
|
4002
|
+
whitespace: boolean;
|
|
4003
|
+
}[];
|
|
4004
|
+
export function insertStyles(styles: any, recordKey: any): void;
|
|
4005
|
+
export function removeStyles(recordKey: any): void;
|
|
4006
|
+
export function useTitle(title: any, prefix: any): void;
|
|
4007
|
+
export function getClassnames(classnames: any): any;
|
|
4008
|
+
export function getUserRegisterParams(): any;
|
|
4009
|
+
export function isWechatBrowser(): boolean;
|
|
4010
|
+
export function assembledAppHost(identifier: any, host: any): any;
|
|
4011
|
+
export var PasswordStrength: any;
|
|
4012
|
+
export var PASSWORD_STRENGTH_TEXT_MAP: {};
|
|
4013
|
+
export function getSymbolTypeLength(pwd: any): any;
|
|
4014
|
+
export function getPasswordValidate(...args: any[]): any;
|
|
4015
|
+
export function sleep(delay: any): any;
|
|
4016
|
+
export function shoudGoToComplete(user: any, contextType: any, config: any): boolean;
|
|
4017
|
+
export function tabSort(defaultValue: any, tabList: any): any;
|
|
4018
|
+
export function mailDesensitization(mail: any): string;
|
|
4019
|
+
export function phoneDesensitization(phone: any): any;
|
|
4020
|
+
|
|
4021
|
+
}
|
|
4022
|
+
declare module '@authing/react-ui-components/es/_utils/locales/en/index' {
|
|
4023
|
+
export { common, login, user, map };
|
|
4024
|
+
|
|
4025
|
+
}
|
|
4026
|
+
declare module '@authing/react-ui-components/es/_utils/locales/index' {
|
|
4027
|
+
export function changeLang(lang: any): void;
|
|
4028
|
+
import i18n from "i18next";
|
|
4029
|
+
export function initI18n(...args: any[]): void;
|
|
4030
|
+
export { i18n };
|
|
4031
|
+
|
|
4032
|
+
}
|
|
4033
|
+
declare module '@authing/react-ui-components/es/_utils/locales/zh/index' {
|
|
4034
|
+
export { common, login, user, map };
|
|
4035
|
+
|
|
4036
|
+
}
|
|
4037
|
+
declare module '@authing/react-ui-components/es/_utils/popupCenter' {
|
|
4038
|
+
export function popupCenter(url: any, ...args: any[]): void;
|
|
4039
|
+
|
|
4040
|
+
}
|
|
4041
|
+
declare module '@authing/react-ui-components/es/context/base' {
|
|
4042
|
+
export function createBaseContext(): (React.Context<undefined> | (() => any))[];
|
|
4043
|
+
import React from "react";
|
|
4044
|
+
|
|
4045
|
+
}
|
|
4046
|
+
declare module '@authing/react-ui-components/es/context/global/context' {
|
|
4047
|
+
export function useGuardContext(): any;
|
|
4048
|
+
export function GuardContext(_ref: any): React.FunctionComponentElement<{
|
|
4049
|
+
value: {
|
|
4050
|
+
state: any;
|
|
4051
|
+
dispatch: any;
|
|
4052
|
+
getValue: (key: any) => any;
|
|
4053
|
+
setValue: (key: any, value: any) => void;
|
|
4054
|
+
};
|
|
4055
|
+
}>;
|
|
4056
|
+
import React from "react";
|
|
4057
|
+
|
|
4058
|
+
}
|
|
4059
|
+
declare module '@authing/react-ui-components/es/context/global/reducer' {
|
|
4060
|
+
export function reducer(state: any, _ref: any): any;
|
|
4061
|
+
|
|
4062
|
+
}
|
|
4063
|
+
declare module '@authing/react-ui-components/es/context/module/context' {
|
|
4064
|
+
export function useModule(): any;
|
|
4065
|
+
export function ModuleContext(_ref: any): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
4066
|
+
import React from "react";
|
|
4067
|
+
|
|
4068
|
+
}
|
|
4069
|
+
declare module '@authing/react-ui-components/es/index' {
|
|
4070
|
+
export * from "@authing/react-ui-components/es/_utils/config";
|
|
4071
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/types/index";
|
|
4072
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/hooks/index";
|
|
4073
|
+
export * from "@authing/react-ui-components/es/AuthingGuard/index";
|
|
4074
|
+
export * from "@authing/react-ui-components/es/Guard/index";
|
|
4075
|
+
export * from "@authing/react-ui-components/es/Type/index";
|
|
4076
|
+
export * from "@authing/react-ui-components/es/version/index";
|
|
4077
|
+
|
|
4078
|
+
}
|
|
4079
|
+
declare module '@authing/react-ui-components/es/version/index' {
|
|
4080
|
+
export default version;
|
|
4081
|
+
import version from "@authing/react-ui-components/es/version/version";
|
|
4082
|
+
|
|
4083
|
+
}
|
|
4084
|
+
declare module '@authing/react-ui-components/es/version/version' {
|
|
4085
|
+
var _default: "3.0.0-rc.10";
|
|
4086
|
+
export default _default;
|
|
4087
|
+
|
|
2775
4088
|
}
|
|
2776
4089
|
declare module '@authing/react-ui-components/examples' {
|
|
2777
4090
|
export {};
|