@authing/react-ui-components 3.1.4-rc.12 → 3.1.4-rc.15
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 +19 -10
- package/lib/index.min.js +1 -1
- package/package.json +3 -3
- package/dist/asset-manifest.json +0 -26
- package/dist/index.html +0 -1
- package/dist/static/css/2.ceafef95.chunk.css +0 -3
- package/dist/static/css/2.ceafef95.chunk.css.map +0 -1
- package/dist/static/css/main.65519aa1.chunk.css +0 -2
- package/dist/static/css/main.65519aa1.chunk.css.map +0 -1
- package/dist/static/js/2.b3b7db59.chunk.js +0 -3
- package/dist/static/js/2.b3b7db59.chunk.js.LICENSE.txt +0 -71
- package/dist/static/js/2.b3b7db59.chunk.js.map +0 -1
- package/dist/static/js/3.da2138c6.chunk.js +0 -2
- package/dist/static/js/3.da2138c6.chunk.js.map +0 -1
- package/dist/static/js/main.d421c226.chunk.js +0 -2
- package/dist/static/js/main.d421c226.chunk.js.map +0 -1
- package/dist/static/js/runtime-main.04bc677a.js +0 -2
- package/dist/static/js/runtime-main.04bc677a.js.map +0 -1
- package/dist/static/media/loading.4a67a5f3.svg +0 -29
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" />
|
|
1404
1403
|
import { GuardEvents } from '@authing/react-ui-components/components/Guard/event';
|
|
1405
1404
|
import { GuardAppendConfig, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1406
1405
|
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
|
|
1407
1406
|
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: React.MemoExoticComponent<(props: GuardProps) => JSX.Element>;
|
|
1413
1413
|
|
|
1414
1414
|
}
|
|
1415
1415
|
declare module '@authing/react-ui-components/components/Guard/GuardModule/stateMachine' {
|
|
@@ -1484,7 +1484,11 @@ 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
|
|
1487
|
+
export interface GuardCoreProps {
|
|
1488
|
+
guardProps: GuardProps;
|
|
1489
|
+
initState: ModuleState;
|
|
1490
|
+
}
|
|
1491
|
+
export const GuardCore: (props: GuardCoreProps) => JSX.Element;
|
|
1488
1492
|
|
|
1489
1493
|
}
|
|
1490
1494
|
declare module '@authing/react-ui-components/components/Guard/core/renderContext' {
|
|
@@ -1513,8 +1517,8 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
|
|
|
1513
1517
|
}
|
|
1514
1518
|
declare module '@authing/react-ui-components/components/Guard/core/useAppendConfig' {
|
|
1515
1519
|
import { GuardProps } from '@authing/react-ui-components/components/index';
|
|
1516
|
-
export const getGuardWindow: () => Window | undefined;
|
|
1517
|
-
export const useGuardWindow: () => Window | undefined;
|
|
1520
|
+
export const getGuardWindow: () => (Window & typeof globalThis) | undefined;
|
|
1521
|
+
export const useGuardWindow: () => (Window & typeof globalThis) | undefined;
|
|
1518
1522
|
export const useInitGuardAppendConfig: (guardProps: GuardProps, setForceUpdate: any) => void;
|
|
1519
1523
|
|
|
1520
1524
|
}
|
|
@@ -1596,7 +1600,7 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
|
|
|
1596
1600
|
|
|
1597
1601
|
}
|
|
1598
1602
|
declare module '@authing/react-ui-components/components/IconFont/iconfont' {
|
|
1599
|
-
export
|
|
1603
|
+
export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
|
|
1600
1604
|
|
|
1601
1605
|
}
|
|
1602
1606
|
declare module '@authing/react-ui-components/components/IconFont/index' {
|
|
@@ -1611,8 +1615,7 @@ declare module '@authing/react-ui-components/components/IconFont/index' {
|
|
|
1611
1615
|
|
|
1612
1616
|
}
|
|
1613
1617
|
declare module '@authing/react-ui-components/components/IconFont/useGuardIconfont' {
|
|
1614
|
-
|
|
1615
|
-
export const useGuardIconfont: (publicConfig?: ApplicationConfig | undefined) => true | undefined;
|
|
1618
|
+
export const useGuardIconfont: (cdnBase?: string | undefined, setError?: any) => boolean;
|
|
1616
1619
|
|
|
1617
1620
|
}
|
|
1618
1621
|
declare module '@authing/react-ui-components/components/IdentityBinding/IdentityBinding' {
|
|
@@ -2523,7 +2526,6 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2523
2526
|
facePlugin?: FacePlugin;
|
|
2524
2527
|
}
|
|
2525
2528
|
export interface GuardAppendConfig {
|
|
2526
|
-
window?: Window;
|
|
2527
2529
|
internalRequest?: boolean;
|
|
2528
2530
|
singleComponent?: boolean;
|
|
2529
2531
|
unAuthFlow?: boolean;
|
|
@@ -2846,6 +2848,12 @@ declare module '@authing/react-ui-components/components/_utils/facePlugin/interf
|
|
|
2846
2848
|
nets: any;
|
|
2847
2849
|
}
|
|
2848
2850
|
|
|
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
|
+
|
|
2849
2857
|
}
|
|
2850
2858
|
declare module '@authing/react-ui-components/components/_utils/guardHttp' {
|
|
2851
2859
|
import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
|
|
@@ -3025,6 +3033,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3025
3033
|
export const phoneDesensitization: (phone: string) => string;
|
|
3026
3034
|
export const getHundreds: (num: number) => number;
|
|
3027
3035
|
export const GuardPropsFilter: (pre: GuardProps, current: GuardProps) => boolean;
|
|
3036
|
+
export const getDocumentNode: (node: Node & ParentNode) => Document;
|
|
3028
3037
|
|
|
3029
3038
|
}
|
|
3030
3039
|
declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
|
|
@@ -3208,7 +3217,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3208
3217
|
|
|
3209
3218
|
}
|
|
3210
3219
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3211
|
-
const _default: "3.1.4-rc.
|
|
3220
|
+
const _default: "3.1.4-rc.15";
|
|
3212
3221
|
export default _default;
|
|
3213
3222
|
|
|
3214
3223
|
}
|