@authing/react-ui-components 3.1.4-rc.11 → 3.1.4-rc.12
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 +10 -19
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1400,16 +1400,16 @@ declare module '@authing/react-ui-components/components/ForgetPassword/interface
|
|
|
1400
1400
|
|
|
1401
1401
|
}
|
|
1402
1402
|
declare module '@authing/react-ui-components/components/Guard/Guard' {
|
|
1403
|
+
/// <reference types="react" />
|
|
1403
1404
|
import { GuardEvents } from '@authing/react-ui-components/components/Guard/event';
|
|
1404
1405
|
import { GuardAppendConfig, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1405
1406
|
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1406
1407
|
import 'moment/locale/zh-cn';
|
|
1407
|
-
import React from 'react';
|
|
1408
1408
|
export interface GuardProps extends GuardEvents, IG2FCProps {
|
|
1409
1409
|
config?: Partial<GuardLocalConfig>;
|
|
1410
1410
|
appendConfig?: GuardAppendConfig;
|
|
1411
1411
|
}
|
|
1412
|
-
export const Guard:
|
|
1412
|
+
export const Guard: import("react").MemoExoticComponent<(props: GuardProps) => JSX.Element>;
|
|
1413
1413
|
|
|
1414
1414
|
}
|
|
1415
1415
|
declare module '@authing/react-ui-components/components/Guard/GuardModule/stateMachine' {
|
|
@@ -1484,11 +1484,7 @@ declare module '@authing/react-ui-components/components/Guard/core/index' {
|
|
|
1484
1484
|
/// <reference types="react" />
|
|
1485
1485
|
import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
|
|
1486
1486
|
import { ModuleState } from '@authing/react-ui-components/components/Guard/GuardModule/stateMachine';
|
|
1487
|
-
export
|
|
1488
|
-
guardProps: GuardProps;
|
|
1489
|
-
initState: ModuleState;
|
|
1490
|
-
}
|
|
1491
|
-
export const GuardCore: (props: GuardCoreProps) => JSX.Element;
|
|
1487
|
+
export const useRenderGuardCore: (props: GuardProps, initState: ModuleState) => JSX.Element;
|
|
1492
1488
|
|
|
1493
1489
|
}
|
|
1494
1490
|
declare module '@authing/react-ui-components/components/Guard/core/renderContext' {
|
|
@@ -1517,8 +1513,8 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
|
|
|
1517
1513
|
}
|
|
1518
1514
|
declare module '@authing/react-ui-components/components/Guard/core/useAppendConfig' {
|
|
1519
1515
|
import { GuardProps } from '@authing/react-ui-components/components/index';
|
|
1520
|
-
export const getGuardWindow: () =>
|
|
1521
|
-
export const useGuardWindow: () =>
|
|
1516
|
+
export const getGuardWindow: () => Window | undefined;
|
|
1517
|
+
export const useGuardWindow: () => Window | undefined;
|
|
1522
1518
|
export const useInitGuardAppendConfig: (guardProps: GuardProps, setForceUpdate: any) => void;
|
|
1523
1519
|
|
|
1524
1520
|
}
|
|
@@ -1600,7 +1596,7 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
|
|
|
1600
1596
|
|
|
1601
1597
|
}
|
|
1602
1598
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
1603
|
-
export
|
|
1599
|
+
export function init(guardWindow: any, svgString: any): void;
|
|
1604
1600
|
|
|
1605
1601
|
}
|
|
1606
1602
|
declare module '@authing/react-ui-components/components/IconFont/index' {
|
|
@@ -1615,7 +1611,8 @@ declare module '@authing/react-ui-components/components/IconFont/index' {
|
|
|
1615
1611
|
|
|
1616
1612
|
}
|
|
1617
1613
|
declare module '@authing/react-ui-components/components/IconFont/useGuardIconfont' {
|
|
1618
|
-
|
|
1614
|
+
import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1615
|
+
export const useGuardIconfont: (publicConfig?: ApplicationConfig | undefined) => true | undefined;
|
|
1619
1616
|
|
|
1620
1617
|
}
|
|
1621
1618
|
declare module '@authing/react-ui-components/components/IdentityBinding/IdentityBinding' {
|
|
@@ -2526,6 +2523,7 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2526
2523
|
facePlugin?: FacePlugin;
|
|
2527
2524
|
}
|
|
2528
2525
|
export interface GuardAppendConfig {
|
|
2526
|
+
window?: Window;
|
|
2529
2527
|
internalRequest?: boolean;
|
|
2530
2528
|
singleComponent?: boolean;
|
|
2531
2529
|
unAuthFlow?: boolean;
|
|
@@ -2848,12 +2846,6 @@ declare module '@authing/react-ui-components/components/_utils/facePlugin/interf
|
|
|
2848
2846
|
nets: any;
|
|
2849
2847
|
}
|
|
2850
2848
|
|
|
2851
|
-
}
|
|
2852
|
-
declare module '@authing/react-ui-components/components/_utils/guardDocument' {
|
|
2853
|
-
export const getGuardDocument: () => Document;
|
|
2854
|
-
export const useAppendConfig: () => Document;
|
|
2855
|
-
export const initGuardDocument: (document: Document) => void;
|
|
2856
|
-
|
|
2857
2849
|
}
|
|
2858
2850
|
declare module '@authing/react-ui-components/components/_utils/guardHttp' {
|
|
2859
2851
|
import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
|
|
@@ -3033,7 +3025,6 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3033
3025
|
export const phoneDesensitization: (phone: string) => string;
|
|
3034
3026
|
export const getHundreds: (num: number) => number;
|
|
3035
3027
|
export const GuardPropsFilter: (pre: GuardProps, current: GuardProps) => boolean;
|
|
3036
|
-
export const getDocumentNode: (node: Node & ParentNode) => Document;
|
|
3037
3028
|
|
|
3038
3029
|
}
|
|
3039
3030
|
declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
|
|
@@ -3217,7 +3208,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3217
3208
|
|
|
3218
3209
|
}
|
|
3219
3210
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3220
|
-
const _default: "3.1.4-rc.
|
|
3211
|
+
const _default: "3.1.4-rc.12";
|
|
3221
3212
|
export default _default;
|
|
3222
3213
|
|
|
3223
3214
|
}
|