@authing/react-ui-components 4.3.4-alpha.4 → 4.3.4-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.
@@ -25,6 +25,12 @@
25
25
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
26
26
  */
27
27
 
28
+ /**
29
+ * @license qrcode.react
30
+ * Copyright (c) Paul O'Shannessy
31
+ * SPDX-License-Identifier: ISC
32
+ */
33
+
28
34
  /** @license React v16.13.1
29
35
  * react-is.production.min.js
30
36
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.3.4-alpha.4",
3
+ "version": "4.3.4-alpha.6",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -17,6 +17,7 @@
17
17
  "global": "^4.4.0",
18
18
  "phone": "^3.1.12",
19
19
  "prompt": "^1.3.0",
20
+ "qrcode.react": "^3.1.0",
20
21
  "qs": "^6.9.4",
21
22
  "react-responsive": "^9.0.0-beta.5",
22
23
  "react-use": "^17.3.1",
@@ -21,7 +21,6 @@ export declare enum GuardModuleType {
21
21
  IDENTITY_BINDING_NO_ASK = "identityBindingNoAsk",
22
22
  SELF_UNLOCK = "selfUnlock",
23
23
  FLOW_SELECT_ACCOUNT = "flowSelectAccount",
24
- APP_OTP_VERIFY = "appOtpVerify",
25
24
  /** 多租户门户选择页 */
26
25
  TENANT_PORTAL = "tenant-portal",
27
26
  New_SUBMIT_SUCCESS = "newSubmitSuccess",
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function HowBindClient(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function HowGetAppLoginUrl(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function HowUsePushLogin(): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { PushLoginGudeModalProps } from './types';
3
+ export declare function PushLoginGudeModal(props: PushLoginGudeModalProps): JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { SelectorOptions, Selector } from './types';
3
+ interface PushLoginGuideSelectorProps {
4
+ defaultValue: Selector;
5
+ onChange: (value: Selector) => void;
6
+ options: SelectorOptions;
7
+ }
8
+ export declare function PushLoginGuideSelector(props: PushLoginGuideSelectorProps): JSX.Element;
9
+ export {};
@@ -16,3 +16,13 @@ export interface LoginWithAuthingOtpPushProps {
16
16
  initData?: BackFillMultipleState;
17
17
  agreements: Agreement[];
18
18
  }
19
+ export interface PushLoginGudeModalProps {
20
+ visible: boolean;
21
+ onClose: () => void;
22
+ }
23
+ export declare type Selector = 'howUsePushLogin' | 'howBindClient' | 'howGetAppLoginUrl';
24
+ export interface SelectorOption {
25
+ value: Selector;
26
+ label: string;
27
+ }
28
+ export declare type SelectorOptions = SelectorOption[];
@@ -178,6 +178,14 @@ export interface TabFieldsI18nItem {
178
178
  [propName in Lang]?: string;
179
179
  };
180
180
  }
181
+ interface LoginTypeI18nProps {
182
+ tab: {
183
+ default: string;
184
+ i18n: {
185
+ [propName: string]: string;
186
+ };
187
+ };
188
+ }
181
189
  export interface ApplicationConfig {
182
190
  id: string;
183
191
  allowedOrigins: string[];
@@ -263,6 +271,12 @@ export interface ApplicationConfig {
263
271
  socialLoginBtns: boolean;
264
272
  userPasswordInput: boolean;
265
273
  wxMpScanTab: boolean;
274
+ loginMethodsI18nDisplaySettings: {
275
+ password?: LoginTypeI18nProps;
276
+ verifyCode?: LoginTypeI18nProps;
277
+ ad?: LoginTypeI18nProps;
278
+ ldap?: LoginTypeI18nProps;
279
+ };
266
280
  };
267
281
  protocol: Protocol;
268
282
  oidcConfig: OidcClientMetadata;
@@ -1,2 +1,2 @@
1
- declare const _default: "4.3.4-alpha.3";
1
+ declare const _default: "4.3.4-alpha.6";
2
2
  export default _default;