@authing/react-ui-components 4.0.4-alpha.3 → 4.0.4-alpha.4

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.0.4-alpha.3",
3
+ "version": "4.0.4-alpha.4",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -23,6 +23,10 @@ export interface BackFillMultipleState extends Omit<User, 'id' | 'name' | 'nickn
23
23
  * 回填的账号名称 邮箱/用户名/手机
24
24
  */
25
25
  account: string;
26
+ /**
27
+ * 具体登录方式 way 是tabs页控制 originWay 具体方式
28
+ */
29
+ originWay?: string;
26
30
  }
27
31
  /**
28
32
  * Store instance
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FormInstance } from 'antd/lib/form';
3
+ import { InputMethod } from 'components/Type';
3
4
  import { BackFillMultipleState, LoginWay } from '../../Guard/core/hooks/useMultipleAccounts';
4
5
  /**
5
6
  * 多账号登录下 账户 & 登录方式自动回填
@@ -14,6 +15,7 @@ declare function useLoginMultipleBackFill(options: {
14
15
  isOnlyInternationSms?: boolean;
15
16
  setAreaCode?: React.Dispatch<React.SetStateAction<string>>;
16
17
  cancelBackfill?: boolean;
18
+ setCurrentMethod?: React.Dispatch<React.SetStateAction<InputMethod>>;
17
19
  }): void;
18
20
  /**
19
21
  * 多账号统一状态管理
@@ -1,2 +1,2 @@
1
- declare const _default: "4.0.4-alpha.3";
1
+ declare const _default: "4.0.4-alpha.4";
2
2
  export default _default;