@authing/react-ui-components 3.1.19-rc.3 → 3.1.19-rc.4
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 +13 -27
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +1 -2
package/lib/index.d.ts
CHANGED
|
@@ -1726,19 +1726,6 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<SessionData>>;
|
|
1728
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
|
-
|
|
1742
1729
|
}
|
|
1743
1730
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
1744
1731
|
export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
|
|
@@ -2668,8 +2655,7 @@ declare module '@authing/react-ui-components/components/SingleComponent/index' {
|
|
|
2668
2655
|
}
|
|
2669
2656
|
declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
2670
2657
|
import React from 'react';
|
|
2671
|
-
|
|
2672
|
-
interface SubmitButtonProps extends ButtonProps {
|
|
2658
|
+
interface SubmitButtonProps {
|
|
2673
2659
|
text?: string;
|
|
2674
2660
|
className?: string;
|
|
2675
2661
|
onClick?: any;
|
|
@@ -3013,14 +2999,6 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
3013
2999
|
}>;
|
|
3014
3000
|
Consumer: React.Consumer<IGuardContext>;
|
|
3015
3001
|
};
|
|
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;
|
|
3024
3002
|
export const useGuardPublicConfig: () => ApplicationConfig;
|
|
3025
3003
|
export const useGuardHttpClient: () => GuardHttp;
|
|
3026
3004
|
export const useGuardDefaultMergedConfig: () => GuardLocalConfig;
|
|
@@ -3070,8 +3048,7 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
|
|
|
3070
3048
|
}
|
|
3071
3049
|
declare module '@authing/react-ui-components/components/_utils/facePlugin/index' {
|
|
3072
3050
|
import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
|
|
3073
|
-
export const getFacePlugin: () => FacePlugin
|
|
3074
|
-
export const useFacePlugin: () => FacePlugin | undefined;
|
|
3051
|
+
export const getFacePlugin: () => FacePlugin;
|
|
3075
3052
|
export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
|
|
3076
3053
|
|
|
3077
3054
|
}
|
|
@@ -3381,10 +3358,19 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3381
3358
|
UNLOCK = 1643,
|
|
3382
3359
|
FLOW_END = 1600,
|
|
3383
3360
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3384
|
-
FORCED_PASSWORD_RESET = 2058
|
|
3361
|
+
FORCED_PASSWORD_RESET = 2058,
|
|
3362
|
+
UNSAFE_PASSWORD_TIP = 2061
|
|
3385
3363
|
}
|
|
3386
3364
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3387
3365
|
|
|
3366
|
+
}
|
|
3367
|
+
declare module '@authing/react-ui-components/components/_utils/useErrorText' {
|
|
3368
|
+
import React from 'react';
|
|
3369
|
+
export const usePasswordErrorText: () => {
|
|
3370
|
+
setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
3371
|
+
getPassWordUnsafeText: () => JSX.Element;
|
|
3372
|
+
};
|
|
3373
|
+
|
|
3388
3374
|
}
|
|
3389
3375
|
declare module '@authing/react-ui-components/components/context/base' {
|
|
3390
3376
|
import React from 'react';
|
|
@@ -3478,7 +3464,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3478
3464
|
|
|
3479
3465
|
}
|
|
3480
3466
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3481
|
-
const _default: "3.1.19-rc.
|
|
3467
|
+
const _default: "3.1.19-rc.4";
|
|
3482
3468
|
export default _default;
|
|
3483
3469
|
|
|
3484
3470
|
}
|