@authing/react-ui-components 3.1.19-rc.1 → 3.1.19-rc.11
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 -5
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +2 -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' {
|
|
@@ -1498,6 +1501,7 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
|
|
|
1498
1501
|
private changeModuleEvent;
|
|
1499
1502
|
private stateMachineLog;
|
|
1500
1503
|
constructor(changeModuleEvent: ChangeModuleEvent, initData: ModuleState);
|
|
1504
|
+
uninstallPopstate: () => void;
|
|
1501
1505
|
globalWindow: () => Window | undefined;
|
|
1502
1506
|
next: (nextModule: GuardModuleType, initData: any) => void;
|
|
1503
1507
|
back: (initData?: any) => void;
|
|
@@ -1505,8 +1509,9 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
|
|
|
1505
1509
|
historyPush: (data: ModuleState, actionType?: ActionType) => void;
|
|
1506
1510
|
historyBack: (data: ModuleState) => void;
|
|
1507
1511
|
setConfig: (config: GuardLocalConfig) => void;
|
|
1512
|
+
isUseHistoryHijack: () => boolean;
|
|
1513
|
+
onPopstate: () => void;
|
|
1508
1514
|
}
|
|
1509
|
-
export const useHistoryHijack: (back?: (() => void) | undefined) => ((state?: any) => void)[];
|
|
1510
1515
|
export const initGuardStateMachine: (changeMouleEvent: ChangeModuleEvent, initData: ModuleState) => GuardStateMachine;
|
|
1511
1516
|
export const getGuardStateMachine: () => GuardStateMachine;
|
|
1512
1517
|
export const useGuardStateMachine: () => GuardStateMachine;
|
|
@@ -1723,6 +1728,19 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
|
|
|
1723
1728
|
}
|
|
1724
1729
|
export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<SessionData>>;
|
|
1725
1730
|
|
|
1731
|
+
}
|
|
1732
|
+
declare module '@authing/react-ui-components/components/GuardButton/GuardButton' {
|
|
1733
|
+
import React from 'react';
|
|
1734
|
+
import { ButtonProps } from 'antd/lib/button';
|
|
1735
|
+
import './styles.less';
|
|
1736
|
+
export interface GuardButtonProps extends ButtonProps {
|
|
1737
|
+
}
|
|
1738
|
+
export const GuardButton: React.FC<GuardButtonProps>;
|
|
1739
|
+
|
|
1740
|
+
}
|
|
1741
|
+
declare module '@authing/react-ui-components/components/GuardButton/index' {
|
|
1742
|
+
export * from '@authing/react-ui-components/components/GuardButton/GuardButton';
|
|
1743
|
+
|
|
1726
1744
|
}
|
|
1727
1745
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
1728
1746
|
export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
|
|
@@ -2652,7 +2670,8 @@ declare module '@authing/react-ui-components/components/SingleComponent/index' {
|
|
|
2652
2670
|
}
|
|
2653
2671
|
declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
2654
2672
|
import React from 'react';
|
|
2655
|
-
|
|
2673
|
+
import { ButtonProps } from 'antd/lib/button';
|
|
2674
|
+
interface SubmitButtonProps extends ButtonProps {
|
|
2656
2675
|
text?: string;
|
|
2657
2676
|
className?: string;
|
|
2658
2677
|
onClick?: any;
|
|
@@ -2996,6 +3015,14 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
2996
3015
|
}>;
|
|
2997
3016
|
Consumer: React.Consumer<IGuardContext>;
|
|
2998
3017
|
};
|
|
3018
|
+
export interface IGuardContextProvider {
|
|
3019
|
+
spin: boolean;
|
|
3020
|
+
spinChange: (spin: boolean) => void;
|
|
3021
|
+
}
|
|
3022
|
+
export const useGuardButtonContext: () => {
|
|
3023
|
+
GuardButtonProvider: React.FC<{}>;
|
|
3024
|
+
};
|
|
3025
|
+
export const useGuardButtonState: () => IGuardContextProvider;
|
|
2999
3026
|
export const useGuardPublicConfig: () => ApplicationConfig;
|
|
3000
3027
|
export const useGuardHttpClient: () => GuardHttp;
|
|
3001
3028
|
export const useGuardDefaultMergedConfig: () => GuardLocalConfig;
|
|
@@ -3045,7 +3072,8 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
|
|
|
3045
3072
|
}
|
|
3046
3073
|
declare module '@authing/react-ui-components/components/_utils/facePlugin/index' {
|
|
3047
3074
|
import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
|
|
3048
|
-
export const getFacePlugin: () => FacePlugin;
|
|
3075
|
+
export const getFacePlugin: () => FacePlugin | undefined;
|
|
3076
|
+
export const useFacePlugin: () => FacePlugin | undefined;
|
|
3049
3077
|
export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
|
|
3050
3078
|
|
|
3051
3079
|
}
|
|
@@ -3452,7 +3480,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3452
3480
|
|
|
3453
3481
|
}
|
|
3454
3482
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3455
|
-
const _default: "3.1.19-rc.
|
|
3483
|
+
const _default: "3.1.19-rc.11";
|
|
3456
3484
|
export default _default;
|
|
3457
3485
|
|
|
3458
3486
|
}
|