@authing/react-ui-components 4.4.3-ey.4 → 4.4.3-ey.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/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/lib/static/media/EYInterstate-Regular.54dfade4.ttf +0 -0
- package/lib/static/media/ey_loading.24d3e4d0.gif +0 -0
- package/package.json +2 -2
- package/types/CompleteInfo/index.d.ts +2 -2
- package/types/EY/CheckCaptcha/index.d.ts +2 -0
- package/types/EY/Error/index.d.ts +2 -0
- package/types/EY/IdentityBind/component/WeComQrcode.d.ts +2 -0
- package/types/EY/IdentityBind/index.d.ts +2 -0
- package/types/EY/InviteLogin/index.d.ts +2 -0
- package/types/EY/Login/core/EmailPassword.d.ts +8 -0
- package/types/EY/Login/core/ScanCode.d.ts +8 -0
- package/types/EY/Login/index.d.ts +5 -0
- package/types/EY/PreCheckEmail/index.d.ts +2 -0
- package/types/EY/Protocol/index.d.ts +2 -0
- package/types/EY/components/EmailFormItem.d.ts +2 -0
- package/types/EY/components/GoBack.d.ts +2 -0
- package/types/ForgetPassword/index.d.ts +1 -1
- package/types/Guard/core/renderModule.d.ts +2 -0
- package/types/Guard/module.d.ts +25 -1
- package/types/Login/index.d.ts +4 -0
- package/types/_utils/http.d.ts +1 -1
- package/types/version/version.d.ts +1 -1
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authing/react-ui-components",
|
|
3
|
-
"version": "4.4.3-ey.
|
|
3
|
+
"version": "4.4.3-ey.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "lib/index.min.js",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"prebuild:lib": "yarn log-tag && yarn generate-version && yarn generate-examples",
|
|
43
43
|
"prepare": "cd ../.. && husky install packages/react-components/.husky",
|
|
44
44
|
"pub": "yarn build:lib && node ./scripts/publish.js",
|
|
45
|
-
"start": "cross-env PORT=
|
|
45
|
+
"start": "cross-env PORT=1024 node ./scripts/start.js",
|
|
46
46
|
"vite": "vite",
|
|
47
47
|
"generate-version": "node ./scripts/generate-version",
|
|
48
48
|
"generate-examples": "node ./scripts/generate-examples.js",
|
|
@@ -7,5 +7,5 @@ export declare const GuardCompleteInfo: React.FC<{
|
|
|
7
7
|
skipComplateFileds: boolean;
|
|
8
8
|
businessRequest: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest) => Promise<void>;
|
|
9
9
|
}>;
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
10
|
+
export declare const EyGuardLoginCompleteInfoView: React.FC;
|
|
11
|
+
export declare const EyGuardRegisterCompleteInfoView: React.FC;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface EmailPasswordProps {
|
|
3
|
+
onBeforeLogin?: (loginInfo: any) => void;
|
|
4
|
+
onLoginSuccess?: (data: any, message?: string) => void;
|
|
5
|
+
onLoginFailed?: (code: number, data: any, message?: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const EmailPasswordScene: React.FC<EmailPasswordProps>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ScanCodeSceneProps {
|
|
3
|
+
onBeforeLogin?: (loginInfo: any) => void;
|
|
4
|
+
onLoginSuccess?: (data: any, message?: string) => void;
|
|
5
|
+
onLoginFailed?: (code: number, data: any, message?: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const ScanCodeScene: React.FC<ScanCodeSceneProps>;
|
|
8
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const EyGuardForgetPassword: React.FC;
|
package/types/Guard/module.d.ts
CHANGED
|
@@ -25,7 +25,31 @@ export declare enum GuardModuleType {
|
|
|
25
25
|
/** 多租户门户选择页 */
|
|
26
26
|
TENANT_PORTAL = "tenant-portal",
|
|
27
27
|
New_SUBMIT_SUCCESS = "newSubmitSuccess",
|
|
28
|
-
RESET_ACCOUNT_NAME = "resetAccountName"
|
|
28
|
+
RESET_ACCOUNT_NAME = "resetAccountName",
|
|
29
|
+
/**
|
|
30
|
+
* pre check email
|
|
31
|
+
*/
|
|
32
|
+
EY_PRE_CHECK_EMAIL = "ey_pre_check_email",
|
|
33
|
+
/**
|
|
34
|
+
* protocols
|
|
35
|
+
*/
|
|
36
|
+
EY_PROTOCOLS = "ey_protocols",
|
|
37
|
+
/**
|
|
38
|
+
* check captcha
|
|
39
|
+
*/
|
|
40
|
+
EY_CHECK_CAPTCHA = "ey_check_captcha",
|
|
41
|
+
/**
|
|
42
|
+
* error
|
|
43
|
+
*/
|
|
44
|
+
EY_ERROR = "ey_error",
|
|
45
|
+
/**
|
|
46
|
+
* invite login
|
|
47
|
+
*/
|
|
48
|
+
EY_INVITE_LOGIN = "ey_invite_login",
|
|
49
|
+
/**
|
|
50
|
+
* identity bind
|
|
51
|
+
*/
|
|
52
|
+
EY_IDENTITY_BIND = "ey_identity_bind"
|
|
29
53
|
}
|
|
30
54
|
export interface GuardModuleAction {
|
|
31
55
|
action: string;
|
package/types/Login/index.d.ts
CHANGED
package/types/_utils/http.d.ts
CHANGED
|
@@ -28,6 +28,6 @@ export interface AuthingResponse<T = any> {
|
|
|
28
28
|
flowHandle?: string;
|
|
29
29
|
}
|
|
30
30
|
export interface AuthingGuardResponse<T = any> extends AuthingResponse<T> {
|
|
31
|
-
onGuardHandling?: () => CodeAction;
|
|
31
|
+
onGuardHandling?: (initData?: any) => CodeAction;
|
|
32
32
|
isFlowEnd?: boolean;
|
|
33
33
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.4.3-ey.
|
|
1
|
+
declare const _default: "4.4.3-ey.6";
|
|
2
2
|
export default _default;
|