@authing/react-ui-components 4.2.3-alpha.3 → 4.2.3-alpha.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.2.3-alpha.3",
3
+ "version": "4.2.3-alpha.5",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -13,7 +13,7 @@ export declare const QR_CODE_WAY: LoginWay[];
13
13
  * 登录时所有支持的登录列表(前端定义列表)
14
14
  * 这里稍微有点乱 因为Login中的登录方式和这里的不匹配,暂时放在了一起
15
15
  */
16
- export declare type LoginWay = 'email' | 'phone' | 'password' | 'phone-code' | 'email-code' | 'social' | 'wechat-miniprogram-qrcode' | 'wechatmp-qrcode' | 'app-qrcode' | 'ad' | 'ldap' | 'ldap-password' | 'ldap-email' | 'ldap-phone';
16
+ export declare type LoginWay = 'email' | 'phone' | 'password' | 'phone-code' | 'email-code' | 'social' | 'wechat-miniprogram-qrcode' | 'wechatmp-qrcode' | 'app-qrcode' | 'ad' | 'ldap' | 'ldap-password' | 'ldap-email' | 'ldap-phone' | 'authing-otp-push';
17
17
  /**
18
18
  * when: 多账号页面跳转进入登录页面
19
19
  * 携带的回填数据信息
@@ -320,4 +320,3 @@ declare const useMultipleAccounts: ({ appId, finallyConfig, }: {
320
320
  clearBackFillData: () => void;
321
321
  };
322
322
  export default useMultipleAccounts;
323
- export declare function useMultipleAccountCache(): any;
@@ -0,0 +1,12 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ interface LazyloadImageProps {
3
+ src: string;
4
+ placeholder: ReactNode;
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ alt?: string;
8
+ width?: string;
9
+ height?: string;
10
+ }
11
+ export declare function LazyloadImage(props: LazyloadImageProps): JSX.Element;
12
+ export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { OnPushSuccessProps, OnLoginProps } from './types';
3
3
  import { AuthingGuardResponse } from '../../../_utils/http';
4
4
  interface BeforeLoginProps {
@@ -9,6 +9,7 @@ interface BeforeLoginProps {
9
9
  pushLoginStatus: boolean;
10
10
  onchangePushLoginStatus: () => void;
11
11
  defaultAccount: string;
12
+ setAccount: React.Dispatch<any>;
12
13
  }
13
14
  export declare function BeforeLogin(props: BeforeLoginProps): JSX.Element;
14
15
  export {};
@@ -1,3 +1,4 @@
1
+ import { BackFillMultipleState, StoreInstance } from '../../../Guard/core/hooks/useMultipleAccounts';
1
2
  export interface OnPushSuccessProps {
2
3
  pushCodeId: string;
3
4
  }
@@ -10,4 +11,6 @@ export interface OnLoginProps {
10
11
  export declare type LoginStatus = 'before' | 'pending';
11
12
  export interface LoginWithAuthingOtpPushProps {
12
13
  onLoginSuccess?: any;
14
+ multipleInstance?: StoreInstance;
15
+ initData?: BackFillMultipleState;
13
16
  }
@@ -40,6 +40,7 @@ export interface SelectOptions {
40
40
  * 替代图片元素
41
41
  */
42
42
  element?: React.ReactElement;
43
+ way: string;
43
44
  }
44
45
  declare const SelectPanel: React.FC<SelectPanelProps>;
45
46
  export { SelectPanel };
@@ -1,2 +1,2 @@
1
- declare const _default: "4.2.3-alpha.2";
1
+ declare const _default: "4.2.3-alpha.5";
2
2
  export default _default;