@authing/react-ui-components 3.0.0-rc.35 → 3.0.0-rc.39
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 +35 -5
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1311,6 +1311,7 @@ declare module '@authing/react-ui-components/components/Guard/authClient' {
|
|
|
1311
1311
|
|
|
1312
1312
|
}
|
|
1313
1313
|
declare module '@authing/react-ui-components/components/Guard/config' {
|
|
1314
|
+
import { ReactNode } from 'react';
|
|
1314
1315
|
import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
|
|
1315
1316
|
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
1316
1317
|
import { RegisterConfig } from '@authing/react-ui-components/components/Register/interface';
|
|
@@ -1320,6 +1321,8 @@ declare module '@authing/react-ui-components/components/Guard/config' {
|
|
|
1320
1321
|
isSSO?: boolean;
|
|
1321
1322
|
defaultScenes?: GuardModuleType;
|
|
1322
1323
|
defaultInitData?: any;
|
|
1324
|
+
showLoading?: boolean;
|
|
1325
|
+
loadingComponent?: ReactNode;
|
|
1323
1326
|
}
|
|
1324
1327
|
export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
|
|
1325
1328
|
|
|
@@ -2003,19 +2006,46 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
|
2003
2006
|
export const SendCodeBtn: FC<SendCodeProps>;
|
|
2004
2007
|
|
|
2005
2008
|
}
|
|
2006
|
-
declare module '@authing/react-ui-components/components/SendCode/
|
|
2009
|
+
declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
|
|
2010
|
+
import { FC } from 'react';
|
|
2011
|
+
import { EmailScene } from 'authing-js-sdk';
|
|
2012
|
+
import './style.less';
|
|
2013
|
+
import { InputProps } from 'antd/lib/input';
|
|
2014
|
+
export interface SendCodeByEmailProps extends InputProps {
|
|
2015
|
+
data: string;
|
|
2016
|
+
form?: any;
|
|
2017
|
+
onSendCodeBefore?: any;
|
|
2018
|
+
fieldName?: string;
|
|
2019
|
+
autoSubmit?: boolean;
|
|
2020
|
+
scene: EmailScene;
|
|
2021
|
+
}
|
|
2022
|
+
export const SendCodeByEmail: FC<SendCodeByEmailProps>;
|
|
2023
|
+
|
|
2024
|
+
}
|
|
2025
|
+
declare module '@authing/react-ui-components/components/SendCode/SendCodeByPhone' {
|
|
2007
2026
|
import { FC } from 'react';
|
|
2008
2027
|
import { SceneType } from 'authing-js-sdk';
|
|
2009
2028
|
import './style.less';
|
|
2010
2029
|
import { InputProps } from 'antd/lib/input';
|
|
2011
|
-
export interface
|
|
2012
|
-
method: 'phone' | 'email';
|
|
2030
|
+
export interface SendCodeByPhoneProps extends InputProps {
|
|
2013
2031
|
data: string;
|
|
2014
2032
|
form?: any;
|
|
2015
2033
|
onSendCodeBefore?: any;
|
|
2016
2034
|
fieldName?: string;
|
|
2017
2035
|
autoSubmit?: boolean;
|
|
2018
|
-
scene
|
|
2036
|
+
scene: SceneType;
|
|
2037
|
+
}
|
|
2038
|
+
export const SendCodeByPhone: FC<SendCodeByPhoneProps>;
|
|
2039
|
+
|
|
2040
|
+
}
|
|
2041
|
+
declare module '@authing/react-ui-components/components/SendCode/index' {
|
|
2042
|
+
import { FC } from 'react';
|
|
2043
|
+
import './style.less';
|
|
2044
|
+
import { InputProps } from 'antd/lib/input';
|
|
2045
|
+
export interface SendPhoneCodeProps extends InputProps {
|
|
2046
|
+
form?: any;
|
|
2047
|
+
beforeSend?: any;
|
|
2048
|
+
autoSubmit?: boolean;
|
|
2019
2049
|
}
|
|
2020
2050
|
export const SendCode: FC<SendPhoneCodeProps>;
|
|
2021
2051
|
|
|
@@ -2482,7 +2512,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
2482
2512
|
|
|
2483
2513
|
}
|
|
2484
2514
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
2485
|
-
const _default: "3.0.0-rc.
|
|
2515
|
+
const _default: "3.0.0-rc.39";
|
|
2486
2516
|
export default _default;
|
|
2487
2517
|
|
|
2488
2518
|
}
|