@authing/react-ui-components 4.4.3-ey.54 → 4.4.3-ey.56
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 +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
- package/types/_utils/context.d.ts +87 -1
- package/types/_utils/index.d.ts +1 -1
- package/types/version/version.d.ts +1 -1
package/package.json
CHANGED
|
@@ -87,7 +87,93 @@ export declare const useGuardModule: () => {
|
|
|
87
87
|
backModule: (() => void) | undefined;
|
|
88
88
|
currentModule: ModuleState;
|
|
89
89
|
};
|
|
90
|
-
export declare const useGuardFinallyConfig: () =>
|
|
90
|
+
export declare const useGuardFinallyConfig: () => {
|
|
91
|
+
title: string;
|
|
92
|
+
isInvited?: boolean | undefined;
|
|
93
|
+
isSSO?: boolean | undefined;
|
|
94
|
+
defaultScenes?: GuardModuleType | undefined;
|
|
95
|
+
defaultInitData?: any;
|
|
96
|
+
showLoading?: boolean | undefined;
|
|
97
|
+
loadingComponent?: React.ReactNode;
|
|
98
|
+
openEventsMapping?: boolean | undefined;
|
|
99
|
+
disableRegister?: boolean | undefined;
|
|
100
|
+
registerMethods?: string[] | undefined;
|
|
101
|
+
defaultRegisterMethod?: string | undefined;
|
|
102
|
+
publicKey?: string | undefined;
|
|
103
|
+
agreementEnabled?: boolean | undefined;
|
|
104
|
+
agreements?: import("..").Agreement[] | undefined;
|
|
105
|
+
registerContext?: any;
|
|
106
|
+
logo?: string | undefined;
|
|
107
|
+
lang?: string | undefined;
|
|
108
|
+
langRange?: Lang[] | undefined;
|
|
109
|
+
host: string;
|
|
110
|
+
isHost?: boolean | undefined;
|
|
111
|
+
mode: import("..").GuardMode;
|
|
112
|
+
clickCloseable: boolean;
|
|
113
|
+
escCloseable: boolean;
|
|
114
|
+
userpool?: string | undefined;
|
|
115
|
+
contentCss?: string | undefined;
|
|
116
|
+
target?: string | HTMLElement | undefined;
|
|
117
|
+
style?: React.CSSProperties | undefined;
|
|
118
|
+
__internalRequest__?: boolean | undefined;
|
|
119
|
+
__singleComponent__?: boolean | undefined;
|
|
120
|
+
__unAuthFlow__?: boolean | undefined;
|
|
121
|
+
autoRegister?: boolean | undefined;
|
|
122
|
+
disableResetPwd?: boolean | undefined;
|
|
123
|
+
defaultLoginMethod?: import("..").LoginMethods | undefined;
|
|
124
|
+
loginMethods?: import("..").LoginMethods[] | undefined;
|
|
125
|
+
passwordLoginMethods?: string[] | undefined;
|
|
126
|
+
socialConnections?: import("..").SocialConnectionProvider[] | undefined;
|
|
127
|
+
socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
|
|
128
|
+
enterpriseConnections?: string[] | undefined;
|
|
129
|
+
qrCodeScanOptions?: {
|
|
130
|
+
extIdpConnId?: string | undefined;
|
|
131
|
+
autoExchangeUserInfo?: boolean | undefined;
|
|
132
|
+
size?: {
|
|
133
|
+
height: number;
|
|
134
|
+
width: number;
|
|
135
|
+
} | undefined;
|
|
136
|
+
containerSize?: {
|
|
137
|
+
height: number;
|
|
138
|
+
width: number;
|
|
139
|
+
} | undefined;
|
|
140
|
+
interval?: number | undefined;
|
|
141
|
+
onStart?: ((timer: any) => any) | undefined;
|
|
142
|
+
onResult?: ((data: import("authing-js-sdk/build/main/lib/authentication/types").QRCodeStatus) => any) | undefined;
|
|
143
|
+
onScanned?: ((userInfo: import("authing-js-sdk/build/main/lib/authentication/types").QRCodeUserInfo) => any) | undefined;
|
|
144
|
+
onSuccess?: ((userInfo: import("authing-js-sdk/build/main/lib/authentication/types").QRCodeUserInfo, ticket: string) => any) | undefined;
|
|
145
|
+
onCancel?: (() => any) | undefined;
|
|
146
|
+
onError?: ((message: string) => any) | undefined;
|
|
147
|
+
onExpired?: (() => any) | undefined;
|
|
148
|
+
onCodeShow?: ((random: string, url: string) => any) | undefined;
|
|
149
|
+
onCodeLoaded?: ((random: string, url: string) => any) | undefined;
|
|
150
|
+
onCodeLoadFailed?: ((message: string) => any) | undefined;
|
|
151
|
+
onCodeDestroyed?: ((random: string) => any) | undefined;
|
|
152
|
+
onRetry?: (() => any) | undefined;
|
|
153
|
+
onMfa?: ((code: number, message: string, data: Record<string, any>) => {}) | undefined;
|
|
154
|
+
tips?: {
|
|
155
|
+
title?: string | undefined;
|
|
156
|
+
scanned?: string | undefined;
|
|
157
|
+
succeed?: string | undefined;
|
|
158
|
+
canceled?: string | undefined;
|
|
159
|
+
expired?: string | undefined;
|
|
160
|
+
retry?: string | undefined;
|
|
161
|
+
failed?: string | undefined;
|
|
162
|
+
middleTitle?: string | undefined;
|
|
163
|
+
referText?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
onAuthFlow?: ((flow: Record<string, any>) => {}) | undefined;
|
|
166
|
+
customData?: {
|
|
167
|
+
[x: string]: any;
|
|
168
|
+
} | undefined;
|
|
169
|
+
context?: {
|
|
170
|
+
[x: string]: any;
|
|
171
|
+
} | undefined;
|
|
172
|
+
withCustomData?: boolean | undefined;
|
|
173
|
+
} | undefined;
|
|
174
|
+
_closeLoopCheckQrcode?: boolean | undefined;
|
|
175
|
+
goBack?: (() => void) | null | undefined;
|
|
176
|
+
};
|
|
91
177
|
export declare const useGuardContextLoaded: () => boolean;
|
|
92
178
|
export declare const useGuardIsAuthFlow: () => boolean;
|
|
93
179
|
export declare const useGuardPageConfig: () => Partial<GuardPageConfig>;
|
package/types/_utils/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const getClassnames: (classnames: (string | boolean | undefined)[
|
|
|
27
27
|
* @param item
|
|
28
28
|
* @returns {boolean}
|
|
29
29
|
*/
|
|
30
|
-
export declare function isObject(item: any):
|
|
30
|
+
export declare function isObject(item: any): boolean;
|
|
31
31
|
/**
|
|
32
32
|
* https://www.itranslater.com/qa/details/2115518846294557696
|
|
33
33
|
* Deep merge two objects.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.4.3-ey.
|
|
1
|
+
declare const _default: "4.4.3-ey.56";
|
|
2
2
|
export default _default;
|