@authing/react-ui-components 3.1.19-rc.1 → 3.1.19-rc.2s
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 +33 -7
- 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
|
@@ -1404,7 +1404,10 @@ declare module '@authing/react-ui-components/components/DownloadAuthenticator/in
|
|
|
1404
1404
|
declare module '@authing/react-ui-components/components/Error/index' {
|
|
1405
1405
|
import React from 'react';
|
|
1406
1406
|
import './styles.less';
|
|
1407
|
-
export
|
|
1407
|
+
export interface ErrorProps {
|
|
1408
|
+
error?: Error;
|
|
1409
|
+
}
|
|
1410
|
+
export const GuardErrorView: React.FC<ErrorProps>;
|
|
1408
1411
|
|
|
1409
1412
|
}
|
|
1410
1413
|
declare module '@authing/react-ui-components/components/Error/interface' {
|
|
@@ -1723,6 +1726,19 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
|
|
|
1723
1726
|
}
|
|
1724
1727
|
export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<SessionData>>;
|
|
1725
1728
|
|
|
1729
|
+
}
|
|
1730
|
+
declare module '@authing/react-ui-components/components/GuardButton/GuardButton' {
|
|
1731
|
+
import React from 'react';
|
|
1732
|
+
import { ButtonProps } from 'antd/lib/button';
|
|
1733
|
+
import './styles.less';
|
|
1734
|
+
export interface GuardButtonProps extends ButtonProps {
|
|
1735
|
+
}
|
|
1736
|
+
export const GuardButton: React.FC<GuardButtonProps>;
|
|
1737
|
+
|
|
1738
|
+
}
|
|
1739
|
+
declare module '@authing/react-ui-components/components/GuardButton/index' {
|
|
1740
|
+
export * from '@authing/react-ui-components/components/GuardButton/GuardButton';
|
|
1741
|
+
|
|
1726
1742
|
}
|
|
1727
1743
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
1728
1744
|
export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
|
|
@@ -2253,9 +2269,9 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
|
|
|
2253
2269
|
};
|
|
2254
2270
|
};
|
|
2255
2271
|
export const FACE_SCORE = 0.65;
|
|
2256
|
-
export
|
|
2257
|
-
export
|
|
2258
|
-
export
|
|
2272
|
+
export const useFaceDetectorOptions: () => any;
|
|
2273
|
+
export const useCurrentFaceDetectionNet: () => any;
|
|
2274
|
+
export const useIsFaceDetectionModelLoaded: () => any;
|
|
2259
2275
|
export function dataURItoBlob(base64Data: any): Blob;
|
|
2260
2276
|
|
|
2261
2277
|
}
|
|
@@ -2652,7 +2668,8 @@ declare module '@authing/react-ui-components/components/SingleComponent/index' {
|
|
|
2652
2668
|
}
|
|
2653
2669
|
declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
2654
2670
|
import React from 'react';
|
|
2655
|
-
|
|
2671
|
+
import { ButtonProps } from 'antd/lib/button';
|
|
2672
|
+
interface SubmitButtonProps extends ButtonProps {
|
|
2656
2673
|
text?: string;
|
|
2657
2674
|
className?: string;
|
|
2658
2675
|
onClick?: any;
|
|
@@ -2996,6 +3013,14 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
2996
3013
|
}>;
|
|
2997
3014
|
Consumer: React.Consumer<IGuardContext>;
|
|
2998
3015
|
};
|
|
3016
|
+
export interface IGuardContextProvider {
|
|
3017
|
+
spin: boolean;
|
|
3018
|
+
spinChange: (spin: boolean) => void;
|
|
3019
|
+
}
|
|
3020
|
+
export const useGuardButtonContext: () => {
|
|
3021
|
+
GuardButtonProvider: React.FC<{}>;
|
|
3022
|
+
};
|
|
3023
|
+
export const useGuardButtonState: () => IGuardContextProvider;
|
|
2999
3024
|
export const useGuardPublicConfig: () => ApplicationConfig;
|
|
3000
3025
|
export const useGuardHttpClient: () => GuardHttp;
|
|
3001
3026
|
export const useGuardDefaultMergedConfig: () => GuardLocalConfig;
|
|
@@ -3045,7 +3070,8 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
|
|
|
3045
3070
|
}
|
|
3046
3071
|
declare module '@authing/react-ui-components/components/_utils/facePlugin/index' {
|
|
3047
3072
|
import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
|
|
3048
|
-
export const getFacePlugin: () => FacePlugin;
|
|
3073
|
+
export const getFacePlugin: () => FacePlugin | undefined;
|
|
3074
|
+
export const useFacePlugin: () => FacePlugin | undefined;
|
|
3049
3075
|
export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
|
|
3050
3076
|
|
|
3051
3077
|
}
|
|
@@ -3452,7 +3478,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3452
3478
|
|
|
3453
3479
|
}
|
|
3454
3480
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3455
|
-
const _default: "3.1.19-rc.
|
|
3481
|
+
const _default: "3.1.19-rc.2s";
|
|
3456
3482
|
export default _default;
|
|
3457
3483
|
|
|
3458
3484
|
}
|