@authing/react-ui-components 3.1.4-rc.17 → 3.1.4-rc.18
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 +11 -2
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1466,6 +1466,14 @@ declare module '@authing/react-ui-components/components/Guard/config' {
|
|
|
1466
1466
|
import { RegisterConfig } from '@authing/react-ui-components/components/Register/interface';
|
|
1467
1467
|
export interface GuardComponentConfig extends Partial<GuardLocalConfig> {
|
|
1468
1468
|
}
|
|
1469
|
+
export enum QrCodeScanType {
|
|
1470
|
+
appQrcode = "appQrcode",
|
|
1471
|
+
wechatMiniQrcode = "wechatMiniQrcode",
|
|
1472
|
+
wechatmpQrcode = "wechatmpQrcode"
|
|
1473
|
+
}
|
|
1474
|
+
export interface QrCodeScanOptions {
|
|
1475
|
+
qrcode: string;
|
|
1476
|
+
}
|
|
1469
1477
|
export interface GuardLocalConfig extends RegisterConfig, LoginConfig {
|
|
1470
1478
|
isSSO?: boolean;
|
|
1471
1479
|
defaultScenes?: GuardModuleType;
|
|
@@ -1476,6 +1484,7 @@ declare module '@authing/react-ui-components/components/Guard/config' {
|
|
|
1476
1484
|
* @description 是否调用 eventsMapping 中的事件
|
|
1477
1485
|
*/
|
|
1478
1486
|
openEventsMapping?: boolean;
|
|
1487
|
+
_qrCodeScanOptions?: Record<QrCodeScanType, QrCodeScanOptions>;
|
|
1479
1488
|
}
|
|
1480
1489
|
export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
|
|
1481
1490
|
|
|
@@ -2683,6 +2692,7 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2683
2692
|
showLoading?: boolean | undefined;
|
|
2684
2693
|
loadingComponent?: import("react").ReactNode;
|
|
2685
2694
|
openEventsMapping?: boolean | undefined;
|
|
2695
|
+
_qrCodeScanOptions?: Record<import("@authing/react-ui-components/components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
|
|
2686
2696
|
disableRegister?: boolean | undefined;
|
|
2687
2697
|
registerMethods?: RegisterMethods[] | undefined;
|
|
2688
2698
|
defaultRegisterMethod?: RegisterMethods | undefined;
|
|
@@ -2713,7 +2723,6 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
|
|
|
2713
2723
|
socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
|
|
2714
2724
|
enterpriseConnections?: string[] | undefined;
|
|
2715
2725
|
qrCodeScanOptions?: {
|
|
2716
|
-
currentDocument?: Document | undefined;
|
|
2717
2726
|
extIdpConnId?: string | undefined;
|
|
2718
2727
|
autoExchangeUserInfo?: boolean | undefined;
|
|
2719
2728
|
size?: {
|
|
@@ -3218,7 +3227,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3218
3227
|
|
|
3219
3228
|
}
|
|
3220
3229
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3221
|
-
const _default: "3.1.4-rc.
|
|
3230
|
+
const _default: "3.1.4-rc.18";
|
|
3222
3231
|
export default _default;
|
|
3223
3232
|
|
|
3224
3233
|
}
|