@authing/react-ui-components 4.4.1-alpha.4 → 4.4.1-alpha.6

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.4.1-alpha.4",
3
+ "version": "4.4.1-alpha.6",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "dependencies": {
13
13
  "antd": "^4.8.0",
14
- "authing-js-sdk": "4.23.36-alpha.1",
14
+ "authing-js-sdk": "4.23.40",
15
15
  "classnames": "^2.3.1",
16
16
  "fastclick": "^1.0.6",
17
17
  "global": "^4.4.0",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Agreement } from '../../../Type';
3
2
  interface Options {
4
3
  agreements: Agreement[];
@@ -8,7 +7,7 @@ interface Options {
8
7
  }
9
8
  export declare function useAgreements(options: Options): {
10
9
  agreements: Agreement[];
11
- checkedAgreements: import("react").ReactText[];
10
+ checkedAgreements: (string | number)[];
12
11
  checkAllAgreements: () => void;
13
12
  unCheckAllAgreements: () => void;
14
13
  };
@@ -11,5 +11,7 @@ export interface SendCodeByPhoneProps extends InputProps {
11
11
  scene: SceneType;
12
12
  areaCode?: string;
13
13
  isInternationSms?: boolean;
14
+ codeFieldName?: string;
15
+ captchaCode?: string;
14
16
  }
15
17
  export declare const SendCodeByPhone: FC<SendCodeByPhoneProps>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
2
3
  import { GuardModuleType } from '../Guard/module';
3
4
  import { FacePlugin } from '../_utils/facePlugin/interface';
@@ -42,6 +43,7 @@ export interface IG2Config {
42
43
  userpool?: string;
43
44
  contentCss?: string;
44
45
  target?: HTMLElement | string;
46
+ style?: React.CSSProperties;
45
47
  __internalRequest__?: boolean;
46
48
  __singleComponent__?: boolean;
47
49
  __unAuthFlow__?: boolean;
@@ -43,6 +43,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
43
43
  userpool?: string | undefined;
44
44
  contentCss?: string | undefined;
45
45
  target?: string | HTMLElement | undefined;
46
+ style?: import("react").CSSProperties | undefined;
46
47
  __internalRequest__?: boolean | undefined;
47
48
  __singleComponent__?: boolean | undefined;
48
49
  __unAuthFlow__?: boolean | undefined;
@@ -47,6 +47,8 @@ export interface IGuardContext {
47
47
  defaultLanguageConfig: Lang;
48
48
  /** 租户信息获取和操作处理相关 */
49
49
  tenantInstance?: MultipleTenant;
50
+ /** 判断是否是国外的用户池 */
51
+ isForeignUserpool: boolean;
50
52
  }
51
53
  export declare const createGuardXContext: () => {
52
54
  Provider: React.FC<{
@@ -157,3 +159,5 @@ export declare const useGuardDefaultLanguage: () => Lang;
157
159
  export declare const useGuardTenantProvider: () => MultipleTenant | undefined;
158
160
  /** 当前人机验证策略 */
159
161
  export declare const useRobotVerify: () => "always_enable" | "disable" | "condition_set";
162
+ /** 当前用户池是否是国外用户池 */
163
+ export declare const useIsForeignUserpool: () => boolean;
@@ -1,2 +1,2 @@
1
- declare const _default: "4.4.1-alpha.4";
1
+ declare const _default: "4.4.1-alpha.6";
2
2
  export default _default;