@authing/guard-shim-react18 4.5.44-rc.1 → 4.5.44-rc.2
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/guard.min.css +1 -1
- package/dist/guard.min.js +1328 -1344
- package/dist/typings/src/Guard/module.d.ts +1 -2
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +2 -2
- package/dist/typings/src/SendCode/SendCodeBtn.d.ts +0 -1
- package/dist/typings/src/ShieldSpin/index.d.ts +2 -0
- package/dist/typings/src/_utils/config/index.d.ts +1 -1
- package/dist/typings/src/_utils/context.d.ts +1 -1
- package/dist/typings/src/_utils/responseManagement/interface.d.ts +1 -2
- package/package.json +1 -1
- package/dist/typings/src/ValidityVerify/index.d.ts +0 -2
- package/dist/typings/src/ValidityVerify/interface.d.ts +0 -9
|
@@ -33,8 +33,7 @@ export declare enum GuardModuleType {
|
|
|
33
33
|
INVITE_EXPIRE = "inviteExpire",// 邀请链接过期
|
|
34
34
|
INVITE_PAGE_EXPIRE = "invitePageExpire",// 页面过期
|
|
35
35
|
INVITE_SUCCESS = "inviteSuccess",// 邀请成功
|
|
36
|
-
RESET_PASSWORD = "resetPassword"
|
|
37
|
-
VALIDITYVERIFY = "validityVerify"
|
|
36
|
+
RESET_PASSWORD = "resetPassword"
|
|
38
37
|
}
|
|
39
38
|
export interface GuardModuleAction {
|
|
40
39
|
action: string;
|
|
@@ -39,7 +39,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
|
|
|
39
39
|
id: string;
|
|
40
40
|
loginAccount?: string | undefined;
|
|
41
41
|
usertype?: string | undefined;
|
|
42
|
-
}, "
|
|
42
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
43
43
|
setLoginWayByHttpData: (account: string, data: {
|
|
44
44
|
username?: string | undefined;
|
|
45
45
|
phone?: string | undefined;
|
|
@@ -61,7 +61,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
|
|
|
61
61
|
getOriginAccount: () => string;
|
|
62
62
|
getOriginWay: () => string;
|
|
63
63
|
} | undefined;
|
|
64
|
-
referMultipleState: ((type: "
|
|
64
|
+
referMultipleState: ((type: "multiple" | "login") => void) | undefined;
|
|
65
65
|
backfillData: BackFillMultipleState | undefined;
|
|
66
66
|
defaultQrWay: string | undefined;
|
|
67
67
|
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { React } from 'shim-react';
|
|
2
|
+
export declare const ShieldSpinLoading: (props: JSX.IntrinsicAttributes & React.ClassAttributes<HTMLEmbedElement> & React.EmbedHTMLAttributes<HTMLEmbedElement>) => JSX.Element;
|
|
1
3
|
interface IG2SpinProps {
|
|
2
4
|
size?: number;
|
|
3
5
|
className?: string;
|
|
@@ -53,7 +53,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
53
53
|
loginMethods?: LoginMethods[] | undefined;
|
|
54
54
|
passwordLoginMethods?: string[] | undefined;
|
|
55
55
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
56
|
-
socialConnectionsBtnShape?: "button" | "
|
|
56
|
+
socialConnectionsBtnShape?: "button" | "icon" | "default" | undefined;
|
|
57
57
|
enterpriseConnections?: string[] | undefined;
|
|
58
58
|
qrCodeScanOptions?: {
|
|
59
59
|
extIdpConnId?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const useGuardAccountSelectInstance: () => {
|
|
|
123
123
|
id: string;
|
|
124
124
|
loginAccount?: string | undefined;
|
|
125
125
|
usertype?: string | undefined;
|
|
126
|
-
}, "
|
|
126
|
+
}, "tab" | "way" | "phoneCountryCode">) => void;
|
|
127
127
|
setLoginWayByHttpData: (account: string, data: {
|
|
128
128
|
username?: string | undefined;
|
|
129
129
|
phone?: string | undefined;
|
|
@@ -24,7 +24,6 @@ export declare enum ApiCode {
|
|
|
24
24
|
SELECT_ACCOUNT_2_LOGIN = 2930,
|
|
25
25
|
RESET_ACCOUNT_NAME = 1108,// 用户名重复
|
|
26
26
|
INVITE_EXPIRE = 4032,// 链接过期
|
|
27
|
-
INVITE_PAGE_EXPIRE = 4033
|
|
28
|
-
EMAIL_NOT_VERIFIED = 2042
|
|
27
|
+
INVITE_PAGE_EXPIRE = 4033
|
|
29
28
|
}
|
|
30
29
|
export declare const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
package/package.json
CHANGED