@authing/react-ui-components 3.1.4-rc.15 → 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 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;
@@ -3217,7 +3227,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3217
3227
 
3218
3228
  }
3219
3229
  declare module '@authing/react-ui-components/components/version/version' {
3220
- const _default: "3.1.4-rc.15";
3230
+ const _default: "3.1.4-rc.18";
3221
3231
  export default _default;
3222
3232
 
3223
3233
  }