@authing/react-ui-components 4.0.5 → 4.0.6-ynby.0
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/dist/asset-manifest.json +26 -0
- package/dist/index.html +1 -0
- package/dist/static/css/2.2cdfb9d1.chunk.css +3 -0
- package/dist/static/css/2.2cdfb9d1.chunk.css.map +1 -0
- package/dist/static/css/main.f438f284.chunk.css +2 -0
- package/dist/static/css/main.f438f284.chunk.css.map +1 -0
- package/dist/static/js/2.9a1287ca.chunk.js +3 -0
- package/dist/static/js/2.9a1287ca.chunk.js.LICENSE.txt +112 -0
- package/dist/static/js/2.9a1287ca.chunk.js.map +1 -0
- package/dist/static/js/3.d3328d89.chunk.js +2 -0
- package/dist/static/js/3.d3328d89.chunk.js.map +1 -0
- package/dist/static/js/main.5735e6f1.chunk.js +2 -0
- package/dist/static/js/main.5735e6f1.chunk.js.map +1 -0
- package/dist/static/js/runtime-main.e75981a3.js +2 -0
- package/dist/static/js/runtime-main.e75981a3.js.map +1 -0
- package/dist/static/media/loading.3cf0104f.svg +32 -0
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
- package/types/Guard/core/renderModule.d.ts +2 -1
- package/types/Login/core/withLandrayQrcode.d.ts +11 -0
- package/types/Qrcode/WorkQrCode.d.ts +1 -1
- package/types/Type/application.d.ts +2 -1
- package/types/Type/index.d.ts +1 -1
- package/types/_utils/config/index.d.ts +3 -3
- package/types/_utils/locales/ja-jp/index.d.ts +4 -0
- package/types/_utils/types.d.ts +13 -0
- package/types/version/version.d.ts +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
|
|
3
|
+
interface LoginWithLandrayQrcodeProps {
|
|
4
|
+
onLoginSuccess: any;
|
|
5
|
+
canLoop: boolean;
|
|
6
|
+
qrCodeScanOptions: any;
|
|
7
|
+
id: string;
|
|
8
|
+
multipleInstance?: StoreInstance;
|
|
9
|
+
}
|
|
10
|
+
export declare const LoginWithLandrayQrcode: (props: LoginWithLandrayQrcodeProps) => JSX.Element | null;
|
|
11
|
+
export {};
|
|
@@ -7,7 +7,8 @@ export declare enum LoginMethods {
|
|
|
7
7
|
PhoneCode = "phone-code",
|
|
8
8
|
WxMinQr = "wechat-miniprogram-qrcode",
|
|
9
9
|
AD = "ad",
|
|
10
|
-
WechatMpQrcode = "wechatmp-qrcode"
|
|
10
|
+
WechatMpQrcode = "wechatmp-qrcode",
|
|
11
|
+
Landray = "landray"
|
|
11
12
|
}
|
|
12
13
|
export declare enum OIDCConnectionMode {
|
|
13
14
|
FRONT_CHANNEL = "FRONT_CHANNEL",
|
package/types/Type/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { FacePlugin } from '../_utils/facePlugin/interface';
|
|
|
4
4
|
import { ApplicationConfig } from './application';
|
|
5
5
|
export * from './application';
|
|
6
6
|
export type { CommonMessage, User };
|
|
7
|
-
export declare type Lang = 'zh-CN' | 'en-US' | 'zh-TW';
|
|
7
|
+
export declare type Lang = 'zh-CN' | 'en-US' | 'zh-TW' | 'ja-JP';
|
|
8
8
|
export declare enum GuardMode {
|
|
9
9
|
Modal = "modal",
|
|
10
10
|
Normal = "normal"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { GuardComponentConfig, GuardLocalConfig } from '../../Guard/config';
|
|
3
3
|
import { GuardHttp } from '../guardHttp';
|
|
4
4
|
import { GuardPageConfig } from '../../Type';
|
|
5
|
-
import { ApplicationConfig, RegisterMethods } from '../../Type/application';
|
|
5
|
+
import { ApplicationConfig, LoginMethods, RegisterMethods } from '../../Type/application';
|
|
6
6
|
export declare const getPublicConfig: (appId: string) => ApplicationConfig;
|
|
7
7
|
export declare const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
|
|
8
8
|
export declare const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
|
|
@@ -38,8 +38,8 @@ export declare const useMergePublicConfig: (forceUpdate: number, appId?: string
|
|
|
38
38
|
__unAuthFlow__?: boolean | undefined;
|
|
39
39
|
autoRegister?: boolean | undefined;
|
|
40
40
|
disableResetPwd?: boolean | undefined;
|
|
41
|
-
defaultLoginMethod?:
|
|
42
|
-
loginMethods?:
|
|
41
|
+
defaultLoginMethod?: LoginMethods | undefined;
|
|
42
|
+
loginMethods?: LoginMethods[] | undefined;
|
|
43
43
|
passwordLoginMethods?: import("../../Type").PasswordLoginMethods[] | undefined;
|
|
44
44
|
socialConnections?: import("authing-js-sdk").SocialConnectionProvider[] | undefined;
|
|
45
45
|
socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum SceneType {
|
|
2
|
+
SCENE_TYPE_LOGIN = "CHANNEL_LOGIN",
|
|
3
|
+
SCENE_TYPE_REGISTER = "CHANNEL_REGISTER",
|
|
4
|
+
SCENE_TYPE_RESET = "CHANNEL_RESET_PASSWORD",
|
|
5
|
+
SCENE_TYPE_BIND = "CHANNEL_BIND_PHONE",
|
|
6
|
+
SCENE_TYPE_UNBIND = "CHANNEL_UNBIND_PHONE",
|
|
7
|
+
SCENE_TYPE_MFA_BIND = "CHANNEL_BIND_MFA",
|
|
8
|
+
SCENE_TYPE_MFA_VERIFY = "CHANNEL_VERIFY_MFA",
|
|
9
|
+
SCENE_TYPE_MFA_UNBIND = "CHANNEL_UNBIND_MFA",
|
|
10
|
+
SCENE_TYPE_COMPLETE_PHONE = "CHANNEL_COMPLETE_PHONE",
|
|
11
|
+
CHANNEL_IDENTITY_VERIFICATION = "CHANNEL_IDENTITY_VERIFICATION",
|
|
12
|
+
CHANNEL_DELETE_ACCOUNT = "CHANNEL_DELETE_ACCOUNT"
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.0.
|
|
1
|
+
declare const _default: "4.0.6-ynby.0";
|
|
2
2
|
export default _default;
|