@authing/react-ui-components 3.0.10 → 3.0.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 +6 -2
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/package.json +5 -4
package/lib/index.d.ts
CHANGED
|
@@ -1330,6 +1330,10 @@ declare module '@authing/react-ui-components/components/Guard/config' {
|
|
|
1330
1330
|
defaultInitData?: any;
|
|
1331
1331
|
showLoading?: boolean;
|
|
1332
1332
|
loadingComponent?: ReactNode;
|
|
1333
|
+
/**
|
|
1334
|
+
* @description 是否调用 eventsMapping 中的事件
|
|
1335
|
+
*/
|
|
1336
|
+
openEventsMapping?: boolean;
|
|
1333
1337
|
}
|
|
1334
1338
|
export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
|
|
1335
1339
|
|
|
@@ -1344,7 +1348,7 @@ declare module '@authing/react-ui-components/components/Guard/event' {
|
|
|
1344
1348
|
onBeforeChangeModule?: (key: GuardModuleType, initData?: any) => boolean | Promise<boolean>;
|
|
1345
1349
|
}
|
|
1346
1350
|
export const guardEventsFilter: (props: any) => GuardEvents;
|
|
1347
|
-
export const guardEventsHijacking: (events: GuardEvents) => GuardEvents;
|
|
1351
|
+
export const guardEventsHijacking: (events: GuardEvents, openEventsMapping: boolean) => GuardEvents;
|
|
1348
1352
|
|
|
1349
1353
|
}
|
|
1350
1354
|
declare module '@authing/react-ui-components/components/Guard/index' {
|
|
@@ -2546,7 +2550,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
2546
2550
|
|
|
2547
2551
|
}
|
|
2548
2552
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
2549
|
-
const _default: "3.0.
|
|
2553
|
+
const _default: "3.0.12";
|
|
2550
2554
|
export default _default;
|
|
2551
2555
|
|
|
2552
2556
|
}
|