@authing/react-ui-components 4.0.7-zhihu.0 → 4.0.7

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.7-zhihu.0",
3
+ "version": "4.0.7",
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.35",
14
+ "authing-js-sdk": "4.23.36-alpha.1",
15
15
  "classnames": "^2.3.1",
16
16
  "fastclick": "^1.0.6",
17
17
  "global": "^4.4.0",
@@ -6,5 +6,5 @@ export declare const LngTextMapping: Record<Lang, {
6
6
  }>;
7
7
  export declare const ChangeLanguage: (props: {
8
8
  onLangChange?: ((lang: Lang) => void) | undefined;
9
- langRange?: string[] | undefined;
9
+ langRange?: Lang[] | undefined;
10
10
  }) => JSX.Element | null;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import './style.less';
3
3
  import { GuardLocalConfig } from '../../Guard';
4
+ import { ApplicationConfig, SocialConnectionItem } from '../../Type/application';
4
5
  import { StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
5
- import { ApplicationConfig, SocialConnectionItem } from '../../Type';
6
6
  export interface SocialLoginProps {
7
7
  appId: string;
8
8
  config: GuardLocalConfig;
@@ -8,8 +8,7 @@ export declare const enum LoginMethods {
8
8
  PhoneCode = "phone-code",
9
9
  WxMinQr = "wechat-miniprogram-qrcode",
10
10
  AD = "ad",
11
- WechatMpQrcode = "wechatmp-qrcode",
12
- WechatworkCorpQrconnect = "wechatwork-corp-qrconnect"
11
+ WechatMpQrcode = "wechatmp-qrcode"
13
12
  }
14
13
  export declare const enum OIDCConnectionMode {
15
14
  FRONT_CHANNEL = "FRONT_CHANNEL",
@@ -108,12 +107,6 @@ export declare type QrcodeTabsSettings = Record<LoginMethods, Array<{
108
107
  id: string;
109
108
  title: string;
110
109
  isDefault?: boolean;
111
- QRConfig?: {
112
- corpId: string;
113
- agentId: string;
114
- redirectUrl: string;
115
- identifier: string;
116
- };
117
110
  }>>;
118
111
  export interface OidcClientMetadata {
119
112
  grant_types: string[];
@@ -33,7 +33,7 @@ export interface IG2Config {
33
33
  title?: string;
34
34
  logo?: string;
35
35
  lang?: string;
36
- langRange?: string[];
36
+ langRange?: Lang[];
37
37
  host: string;
38
38
  isHost?: boolean;
39
39
  mode: GuardMode;
@@ -35,7 +35,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
35
35
  title?: string | undefined;
36
36
  logo?: string | undefined;
37
37
  lang?: string | undefined;
38
- langRange?: string[] | undefined;
38
+ langRange?: import("../../Type").Lang[] | undefined;
39
39
  isHost?: boolean | undefined;
40
40
  mode: import("../../Type").GuardMode;
41
41
  clickCloseable: boolean;
@@ -90,5 +90,3 @@ export declare const getLoginTypePipe: (publicConfig: ApplicationConfig, registe
90
90
  } | undefined;
91
91
  export declare const getPasswordIdentify: (identity: string) => string;
92
92
  export declare const getCurrentLng: () => Lang;
93
- export declare const isDingTalkOrigin: (origin: string) => boolean;
94
- export declare const isWeComOrigin: (event: MessageEvent) => boolean;
@@ -1,2 +1,2 @@
1
- declare const _default: "4.0.7-zhihu.0";
1
+ declare const _default: "4.0.7";
2
2
  export default _default;