@authing/react-ui-components 3.1.37 → 4.0.0-rc.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/lib/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- declare module '@authing/react-ui-components/components/AuthClientProvider/AuthClientProvider' {
1
+ declare module '@authing/react-ui-components/AuthClientProvider/AuthClientProvider' {
2
2
  import React from 'react';
3
- import { AuthClientContextProps } from '@authing/react-ui-components/components/AuthClientProvider/context';
3
+ import { AuthClientContextProps } from '@authing/react-ui-components/AuthClientProvider/context';
4
4
  export const AuthClientProvider: React.FC<AuthClientContextProps>;
5
5
  export const useGlobalAuthClient: () => import("authing-js-sdk").AuthenticationClient | undefined;
6
6
 
7
7
  }
8
- declare module '@authing/react-ui-components/components/AuthClientProvider/context' {
8
+ declare module '@authing/react-ui-components/AuthClientProvider/context' {
9
9
  import { AuthenticationClient } from 'authing-js-sdk';
10
10
  import React from 'react';
11
11
  export interface AuthClientContextProps {
@@ -14,1083 +14,11 @@ declare module '@authing/react-ui-components/components/AuthClientProvider/conte
14
14
  export const AuthClientContext: React.Context<AuthClientContextProps | undefined>;
15
15
 
16
16
  }
17
- declare module '@authing/react-ui-components/components/AuthClientProvider/index' {
18
- export { AuthClientProvider, useGlobalAuthClient } from '@authing/react-ui-components/components/AuthClientProvider/AuthClientProvider';
17
+ declare module '@authing/react-ui-components/AuthClientProvider/index' {
18
+ export { AuthClientProvider, useGlobalAuthClient } from '@authing/react-ui-components/AuthClientProvider/AuthClientProvider';
19
19
 
20
20
  }
21
- declare module '@authing/react-ui-components/components/AuthingDropdown/index' {
22
- import React, { FC } from 'react';
23
- import './style.less';
24
- /**
25
- * 不使用 antd 的 dropdown,因为里面会用 tooltip,体积过大
26
- */
27
- export const AuthingDropdown: FC<{
28
- className?: string;
29
- menus: {
30
- label: React.ReactNode;
31
- key: string | number;
32
- onClick?: (key: string | number, evt: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
33
- }[];
34
- }>;
35
-
36
- }
37
- declare module '@authing/react-ui-components/components/AuthingGuard/AppMFALayout/index' {
38
- import { FC } from 'react';
39
- import './style.less';
40
- export interface MfaLayoutProps {
41
- }
42
- export const AppMfaLayout: FC<MfaLayoutProps>;
43
-
44
- }
45
- declare module '@authing/react-ui-components/components/AuthingGuard/CompleteUserInfoLayout/index' {
46
- import { FC } from 'react';
47
- import './style.less';
48
- export const CompleteUserInfoLayout: FC;
49
-
50
- }
51
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ADLoginForm/index' {
52
- import { FormInstance } from 'antd/lib/form';
53
- import React from 'react';
54
- import { ADLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
55
- export const ADLoginForm: React.ForwardRefExoticComponent<ADLoginFormProps & React.RefAttributes<FormInstance<any>>>;
56
-
57
- }
58
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/Agreements/index' {
59
- import React, { FC } from 'react';
60
- import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
61
- import './style.less';
62
- export interface AgreementsProps {
63
- value?: boolean;
64
- onChange?: (value: boolean) => void;
65
- style?: React.CSSProperties;
66
- agreements: Agreement[];
67
- showError?: boolean;
68
- }
69
- export const Agreements: FC<AgreementsProps>;
70
-
71
- }
72
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/CompleteUserInfoForm/index' {
73
- import { FC } from 'react';
74
- import { CompleteUserInfoFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
75
- export const CompleteUserInfoForm: FC<CompleteUserInfoFormProps>;
76
-
77
- }
78
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/EmailMfaVerifyForm/CheckEmailForm' {
79
- import { FC } from 'react';
80
- import { MFACheckEmailFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
81
- import './style.less';
82
- export const CheckEmailForm: FC<MFACheckEmailFormProps>;
83
-
84
- }
85
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm' {
86
- import { FC } from 'react';
87
- import { EmailMFAVerifyFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
88
- import './style.less';
89
- export const VerifyCodeForm: FC<EmailMFAVerifyFormProps>;
90
-
91
- }
92
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/EmailMfaVerifyForm/index' {
93
- import { FC } from 'react';
94
- import { SmsMFAFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
95
- export const EmailMfaVerifyForm: FC<SmsMFAFormProps>;
96
-
97
- }
98
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/EmailRegisterForm/index' {
99
- import React from 'react';
100
- import { FormInstance } from 'antd/lib/form';
101
- import { EmailRegisterFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
102
- export const EmailRegisterForm: React.ForwardRefExoticComponent<EmailRegisterFormProps & React.RefAttributes<FormInstance<any>>>;
103
-
104
- }
105
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/LdapLoginForm/index' {
106
- import { FormInstance } from 'antd/lib/form';
107
- import React from 'react';
108
- import { PasswordLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
109
- export const LdapLoginForm: React.ForwardRefExoticComponent<PasswordLoginFormProps & React.RefAttributes<FormInstance<any>>>;
110
-
111
- }
112
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/LoginFormFooter/index' {
113
- import { FC } from 'react';
114
- import './style.less';
115
- export interface LoginFormFooterProps {
116
- loading: boolean;
117
- needRestPwd?: boolean;
118
- needRegister?: boolean;
119
- }
120
- export const LoginFormFooter: FC<LoginFormFooterProps>;
121
-
122
- }
123
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/MfaResetCodeForm/Step1' {
124
- import { FC } from 'react';
125
- import { User } from 'authing-js-sdk';
126
- export const MfaResetStep1: FC<{
127
- mfaToken: string;
128
- onSuccess: (user: User & {
129
- recoveryCode: string;
130
- }) => void;
131
- goVerify: () => void;
132
- onFail?: (error: any) => void;
133
- }>;
134
-
135
- }
136
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/MfaResetCodeForm/Step2' {
137
- import { FC } from 'react';
138
- export interface MfaResetStep2Props {
139
- recoverCode: string;
140
- onFinish: () => void;
141
- }
142
- export const MfaResetStep2: FC<MfaResetStep2Props>;
143
-
144
- }
145
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/MfaResetCodeForm/index' {
146
- import { FC } from 'react';
147
- import { MfaResetForm } from '@authing/react-ui-components/components/AuthingGuard/types/index';
148
- import './style.less';
149
- export const MfaResetCodeForm: FC<MfaResetForm>;
150
-
151
- }
152
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/MfaVerifyForm/index' {
153
- import { FC } from 'react';
154
- import { MfaVerifyForm } from '@authing/react-ui-components/components/AuthingGuard/types/index';
155
- import './style.less';
156
- export const MFAVerifyForm: FC<MfaVerifyForm>;
157
-
158
- }
159
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/PasswordLoginForm/index' {
160
- import { FormInstance } from 'antd/lib/form';
161
- import React from 'react';
162
- import { PasswordLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
163
- export const PasswordLoginForm: React.ForwardRefExoticComponent<PasswordLoginFormProps & React.RefAttributes<FormInstance<any>>>;
164
-
165
- }
166
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/PhoneCodeLoginForm/index' {
167
- import React from 'react';
168
- import { FormInstance } from 'antd/lib/form';
169
- import { PhoneCodeLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
170
- export const PhoneCodeLoginForm: React.ForwardRefExoticComponent<PhoneCodeLoginFormProps & React.RefAttributes<FormInstance<any>>>;
171
-
172
- }
173
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/PhoneRegisterForm/index' {
174
- import { FormInstance } from 'antd/lib/form';
175
- import React from 'react';
176
- import { PhoneRegisterFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
177
- export const PhoneRegisterForm: React.ForwardRefExoticComponent<PhoneRegisterFormProps & React.RefAttributes<FormInstance<any>>>;
178
-
179
- }
180
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/QrCodeLoginForm/index' {
181
- import { FC } from 'react';
182
- import { QrLoginFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
183
- import './style.less';
184
- export const QrCodeLoginForm: FC<QrLoginFormProps>;
185
-
186
- }
187
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/RegisterFormFooter/index' {
188
- import { FC } from 'react';
189
- import './style.less';
190
- export interface RegisterFormFooterProps {
191
- loading: boolean;
192
- }
193
- export const RegisterFormFooter: FC<RegisterFormFooterProps>;
194
-
195
- }
196
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Footer' {
197
- /// <reference types="react" />
198
- export const ResetPwdFormFooter: () => JSX.Element;
199
-
200
- }
201
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Step1' {
202
- import { FC } from 'react';
203
- import { ResetPasswordStep1Props } from '@authing/react-ui-components/components/AuthingGuard/types/index';
204
- export const ResetPasswordStep1: FC<ResetPasswordStep1Props>;
205
-
206
- }
207
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Step2' {
208
- import { FC } from 'react';
209
- import { ResetPasswordStep2Props } from '@authing/react-ui-components/components/AuthingGuard/types/index';
210
- export const ResetPasswordStep2: FC<ResetPasswordStep2Props>;
211
-
212
- }
213
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Step3' {
214
- import { FC } from 'react';
215
- import { ResetPasswordStep3Props } from '@authing/react-ui-components/components/AuthingGuard/types/index';
216
- export const ResetPasswordStep3: FC<ResetPasswordStep3Props>;
217
-
218
- }
219
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/Step4' {
220
- import { FC } from 'react';
221
- export const ResetPasswordStep4: FC;
222
-
223
- }
224
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/index' {
225
- import { FC } from 'react';
226
- import { ResetPasswordFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
227
- import './style.less';
228
- export const ResetPasswordForm: FC<ResetPasswordFormProps>;
229
-
230
- }
231
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SendPhoneCode/SendCodeBtn' {
232
- import React, { FC } from 'react';
233
- export interface SendCodeProps {
234
- beforeSend: () => Promise<boolean>;
235
- btnRef?: React.RefObject<HTMLButtonElement>;
236
- }
237
- export const SendCodeBtn: FC<SendCodeProps>;
238
-
239
- }
240
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SendPhoneCode/index' {
241
- import { FC } from 'react';
242
- import { CommonMessage } from 'authing-js-sdk';
243
- import './style.less';
244
- export interface SendPhoneCodeProps {
245
- phone: string;
246
- onSend?: () => void;
247
- onError?: (error: CommonMessage) => void;
248
- }
249
- export const SendPhoneCode: FC<SendPhoneCodeProps>;
250
-
251
- }
252
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SmsMfaVerifyForm/CheckPhoneForm' {
253
- import { FC } from 'react';
254
- import { MFACheckPhoneFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
255
- import './style.less';
256
- export const CheckPhoneForm: FC<MFACheckPhoneFormProps>;
257
-
258
- }
259
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm' {
260
- import { FC } from 'react';
261
- import { SmsMFAVerifyFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
262
- import './style.less';
263
- export const VerifyCodeForm: FC<SmsMFAVerifyFormProps>;
264
-
265
- }
266
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SmsMfaVerifyForm/index' {
267
- import { FC } from 'react';
268
- import { SmsMFAFormProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
269
- export const SmsMfaVerifyForm: FC<SmsMFAFormProps>;
270
-
271
- }
272
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/SocialAndIdpLogin/index' {
273
- import { FC } from 'react';
274
- import { SocialAndIdpLoginProps } from '@authing/react-ui-components/components/AuthingGuard/types/index';
275
- import './style.less';
276
- export const SocialAndIdpLogin: FC<SocialAndIdpLoginProps>;
277
-
278
- }
279
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/UploadImage/index' {
280
- import { FC } from 'react';
281
- export const UploadImage: FC<{
282
- value?: string;
283
- onChange?: (value: string) => void;
284
- }>;
285
-
286
- }
287
- declare module '@authing/react-ui-components/components/AuthingGuard/Forms/index' {
288
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/ADLoginForm/index';
289
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/ResetPwdForm/index';
290
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/MfaVerifyForm/index';
291
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/LdapLoginForm/index';
292
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/QrCodeLoginForm/index';
293
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/MfaResetCodeForm/index';
294
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/EmailRegisterForm/index';
295
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/PhoneRegisterForm/index';
296
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/PasswordLoginForm/index';
297
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/SocialAndIdpLogin/index';
298
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/PhoneCodeLoginForm/index';
299
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/SmsMfaVerifyForm/index';
300
- export * from '@authing/react-ui-components/components/AuthingGuard/Forms/EmailMfaVerifyForm/index';
301
-
302
- }
303
- declare module '@authing/react-ui-components/components/AuthingGuard/GuardLayout/index' {
304
- import React, { FC } from 'react';
305
- import { UserConfig, Lang } from '@authing/react-ui-components/components/AuthingGuard/types/index';
306
- import './style.less';
307
- export const GuardLayout: FC<{
308
- visible?: boolean;
309
- className?: string;
310
- id?: string;
311
- style?: React.CSSProperties;
312
- lang?: Lang;
313
- userConfig: UserConfig;
314
- }>;
315
-
316
- }
317
- declare module '@authing/react-ui-components/components/AuthingGuard/Header/index' {
318
- import React, { FC } from 'react';
319
- import './style.less';
320
- export interface HeaderProps extends React.HTMLAttributes<HTMLDivElement> {
321
- }
322
- export const GuardHeader: FC<HeaderProps>;
323
-
324
- }
325
- declare module '@authing/react-ui-components/components/AuthingGuard/IconFont/iconfont' {
326
- export {};
327
-
328
- }
329
- declare module '@authing/react-ui-components/components/AuthingGuard/IconFont/index' {
330
- import React, { FC } from 'react';
331
- import './iconfont';
332
- import './style.less';
333
- export const IconFont: FC<{
334
- type: string;
335
- style?: React.CSSProperties;
336
- className?: string;
337
- }>;
338
-
339
- }
340
- declare module '@authing/react-ui-components/components/AuthingGuard/IconFont/svg' {
341
- export const svgStr: "<svg><symbol id=\"authing-gitlab\" viewBox=\"0 0 1024 1024\"><path d=\"M958.326 570.912l-50.136-154.3L808.827 110.8c-5.111-15.733-27.372-15.733-32.485 0l-99.365 305.812H347.024L247.656 110.8c-5.11-15.733-27.37-15.733-32.484 0l-99.363 305.812-50.134 154.3c-4.575 14.073 0.437 29.49 12.407 38.19L512 924.358 945.92 609.1a34.16 34.16 0 0 0 12.407-38.19\" ></path></symbol><symbol id=\"authing-yuyan\" viewBox=\"0 0 1024 1024\"><path d=\"M960 511.616A447.808 447.808 0 0 0 512 64C264.576 64 64 264.384 64 511.616a447.808 447.808 0 0 0 392.32 444.16 224.384 224.384 0 0 0 60.352 3.456A447.744 447.744 0 0 0 960 511.616z m-64 6.4a437.952 437.952 0 0 0-8.768-65.472c0.384-7.616 0.512-14.784 0.256-21.504 5.696 26.496 8.512 53.504 8.512 80.64v6.272z m-768-6.4c0-26.56 2.752-53.12 8.192-79.104 16.576 17.728 55.68 17.28 65.216-9.216 17.024 10.176 39.936 12.032 39.936 32.32 0 67.072 2.432 138.944 63.36 140.032 1.664 0 33.92 12.224 49.28 52.096 5.312 13.76 26.304 0 49.344 0 11.52 0 0 19.328 0 61.184 0 41.92 89.92 105.984 89.92 105.984-0.384 27.584 0.768 49.92 3.008 67.712a150.912 150.912 0 0 0-50.816 6.848A383.68 383.68 0 0 1 128 511.616z m478.592 371.968c-2.048-9.728-10.752-15.04-26.624-10.88 12.672-54.016 18.816-84.288 45.312-107.2 38.272-33.216 4.48-70.144-24.576-65.792-23.04 3.456-8.448-28.416-29.056-30.208-20.544-1.728-47.232-42.432-76.736-56.512-15.616-7.424-30.976-27.328-55.104-28.16-21.376-0.832-52.672 18.048-52.672 3.456 0-46.912-4.8-80.448-5.76-93.76-0.768-10.752-7.04-3.648 21.888-2.944 15.744 0.384 8.064-31.616 23.616-32.832 15.296-1.28 51.712 14.272 60.992 8.128 8.64-5.76 63.36 143.744 63.36 24.704 0-14.08-7.296-38.72 0-52.096 28.992-52.864 56.064-95.936 53.632-102.208-1.344-3.584-29.568-6.464-52.16 1.088-7.68 2.56 2.432 14.464-8.512 17.024-41.024 9.472-77.248-11.072-64.64-30.336 13.056-19.84 60.16-8.64 64.256-48.256 2.368-22.72 4.352-49.088 5.632-68.608 55.232 8.64 49.152-71.616-32.896-80.192a384.128 384.128 0 0 1 358.272 257.92 15.552 15.552 0 0 0-9.152-4.16c-24.832-62.016-84.992-17.152-64.64 37.504-109.44 84.16-81.408 142.784-45.44 176.384 18.944 17.728 36.992 44.288 48.704 63.36-12.8 37.248 47.104 22.336 76.672-40.96a384.576 384.576 0 0 1-274.432 265.6z\" ></path></symbol><symbol id=\"authing-anzhuo\" viewBox=\"0 0 1024 1024\"><path d=\"M141.1 331.2c-35 0-63.3 28.3-63.3 63.2v264.7c0 34.9 28.4 63.2 63.3 63.2 35 0 63.3-28.3 63.3-63.2V394.4c0-34.9-28.3-63.2-63.3-63.2zM228.9 753.3c0 37.3 30.3 67.5 67.6 67.5h46.1v140c0 34.9 28.4 63.2 63.3 63.2 35 0 63.3-28.3 63.3-63.2v-140h85.5v140c0 34.9 28.4 63.2 63.3 63.2 35 0 63.3-28.3 63.3-63.2v-140h46.1c37.3 0 67.6-30.2 67.6-67.5V343.1H228.9v410.2zM651.8 93.4L696 13c2.4-4.2 0.8-9.6-3.5-11.9-4.2-2.3-9.6-0.8-11.9 3.5l-44.7 81.2C598.4 69.2 556.4 59.9 512 59.9c-44.4 0-86.4 9.3-123.9 25.8L343.4 4.6c-2.3-4.3-7.7-5.8-11.9-3.5-4.3 2.3-5.9 7.7-3.5 11.9l44.2 80.4c-86.8 44.8-145.5 130-145.5 227.7h570.5c0.1-97.8-58.6-182.9-145.4-227.7zM382.2 218c-13.2 0-23.9-10.7-23.9-23.9s10.7-23.9 23.9-23.9 23.9 10.7 23.9 23.9c-0.1 13.2-10.8 23.9-23.9 23.9z m259.7 0c-13.2 0-23.9-10.7-23.9-23.9s10.7-23.9 23.9-23.9 23.9 10.7 23.9 23.9c-0.1 13.2-10.8 23.9-23.9 23.9zM882.9 331.2c-35 0-63.3 28.3-63.3 63.2v264.7c0 34.9 28.4 63.2 63.3 63.2 35 0 63.3-28.3 63.3-63.2V394.4c0-34.9-28.3-63.2-63.3-63.2z\" ></path></symbol><symbol id=\"authing-lark-public\" viewBox=\"0 0 1024 1024\"><path d=\"M933.875 98.5625L726.53414917 322.64486695a6.61651612 6.61651612 0 0 0-1.64300537 5.81726073 40.54449463 40.54449463 0 0 1-68.92053223 36.37023927L490.72827148 530.02856445l16.29821778 218.30960083L692.5625 933.875z m0 0\" ></path><path d=\"M931.6098938 104.2026062l-205.12023926 221.68377685a6.61651612 6.61651612 0 0 0-1.64300537 5.86175538 39.96688843 39.96688843 0 0 1-68.21026612 35.92611694L494.23675537 530.07388305a3.28601074 3.28601074 0 0 0-0.93273925 2.53125l16.03125 214.40148927 413.61547851-623.97537232 8.88162232-18.74047852z m0 0\" ></path><path d=\"M925.48199463 90.16949463L701.39880372 297.46502685a6.61651612 6.61651612 0 0 1-5.86175538 1.68832398 40.54449463 40.54449463 0 0 0-36.32574462 68.92053222L493.97143555 533.31622315l-218.22143555-16.43005372L90.125 331.43667602z m0 0\" ></path><path d=\"M919.8427124 92.65625l-221.77359008 205.12023926a6.61651612 6.61651612 0 0 1-5.77276612 1.64300537 39.96688843 39.96688843 0 0 0-35.92611695 68.21026612L493.92611695 530.02938843a3.28601074 3.28601074 0 0 1-2.57574463 0.93273925l-214.40148927-16.03125L900.96875 101.31539917l18.74047852-8.88079834z m0 0\" ></path></symbol><symbol id=\"authing-lark-internal\" viewBox=\"0 0 1024 1024\"><path d=\"M933.875 98.5625L726.53414917 322.64486695a6.61651612 6.61651612 0 0 0-1.64300537 5.81726073 40.54449463 40.54449463 0 0 1-68.92053223 36.37023927L490.72827148 530.02856445l16.29821778 218.30960083L692.5625 933.875z m0 0\" ></path><path d=\"M931.6098938 104.2026062l-205.12023926 221.68377685a6.61651612 6.61651612 0 0 0-1.64300537 5.86175538 39.96688843 39.96688843 0 0 1-68.21026612 35.92611694L494.23675537 530.07388305a3.28601074 3.28601074 0 0 0-0.93273925 2.53125l16.03125 214.40148927 413.61547851-623.97537232 8.88162232-18.74047852z m0 0\" ></path><path d=\"M925.48199463 90.16949463L701.39880372 297.46502685a6.61651612 6.61651612 0 0 1-5.86175538 1.68832398 40.54449463 40.54449463 0 0 0-36.32574462 68.92053222L493.97143555 533.31622315l-218.22143555-16.43005372L90.125 331.43667602z m0 0\" ></path><path d=\"M919.8427124 92.65625l-221.77359008 205.12023926a6.61651612 6.61651612 0 0 1-5.77276612 1.64300537 39.96688843 39.96688843 0 0 0-35.92611695 68.21026612L493.92611695 530.02938843a3.28601074 3.28601074 0 0 1-2.57574463 0.93273925l-214.40148927-16.03125L900.96875 101.31539917l18.74047852-8.88079834z m0 0\" ></path></symbol><symbol id=\"authing-guanbi7-01copy_1\" viewBox=\"0 0 1024 1024\"><path d=\"M0.00007 512.306485a511.999485 511.999485 0 0 1 1023.99797-0.512v0.512a510.974486 510.974486 0 0 1-511.999485 511.691485C228.86384 1023.99797 0.00007 794.725201 0.00007 512.306485z m546.200451 0l178.89282-178.78982a23.244977 23.244977 0 0 0 0-33.075967l-1.126999-1.023999a23.244977 23.244977 0 0 0-33.176967 0L511.999555 478.514519l-178.78982-179.19982a23.244977 23.244977 0 0 0-33.177967 0l-1.023999 1.023999a23.244977 23.244977 0 0 0 0 33.074967l178.78982 179.199819-178.89282 178.789821a23.244977 23.244977 0 0 0 0 33.177966l1.126999 1.023999a23.244977 23.244977 0 0 0 33.176967 0L511.999555 547.12245 690.789375 725.80927a23.244977 23.244977 0 0 0 33.177967 0l1.023999-1.023999a23.244977 23.244977 0 0 0 0-33.176967l-178.78982-179.199819z\" ></path></symbol><symbol id=\"authing-guanbi\" viewBox=\"0 0 1024 1024\"><path d=\"M583.168 523.776L958.464 148.48c18.944-18.944 18.944-50.176 0-69.12l-2.048-2.048c-18.944-18.944-50.176-18.944-69.12 0L512 453.12 136.704 77.312c-18.944-18.944-50.176-18.944-69.12 0l-2.048 2.048c-19.456 18.944-19.456 50.176 0 69.12l375.296 375.296L65.536 899.072c-18.944 18.944-18.944 50.176 0 69.12l2.048 2.048c18.944 18.944 50.176 18.944 69.12 0L512 594.944 887.296 970.24c18.944 18.944 50.176 18.944 69.12 0l2.048-2.048c18.944-18.944 18.944-50.176 0-69.12L583.168 523.776z\" ></path></symbol><symbol id=\"authing-apple-web\" viewBox=\"0 0 1024 1024\"><path d=\"M797.3 656c24.6 34.8 52.8 57.3 84.6 67.5-13.8 42.6-35.7 87-65.7 133.2-46.2 69.6-91.8 104.4-136.8 104.4-16.8 0-41.7-5.7-74.7-17.1-30.6-11.4-57.3-17.1-80.1-17.1-22.8 0-48 6-75.6 18-28.8 11.4-52.5 17.1-71.1 17.1-54 0-107.1-45.9-159.3-137.7-52.2-90.6-78.3-179.7-78.3-267.3 0-81 19.8-147.3 59.4-198.9 40.8-51.6 91.2-77.4 151.2-77.4 13.2 0 27.9 1.65 44.1 4.95 16.2 3.3 33 9.45 50.4 18.45 18.6 10.2 33.9 17.25 45.9 21.15 12 3.9 21.3 5.85 27.9 5.85 7.8 0 19.8-1.8 36-5.4a166.088 166.088 0 0 0 48.6-19.8 366.113 366.113 0 0 1 45-21.6c12.6-4.8 25.5-7.2 38.7-7.2 42 0 79.8 11.4 113.4 34.2 18 12 36.3 29.7 54.9 53.1-27.6 24-47.7 45-60.3 63-23.4 33.6-35.1 70.2-35.1 109.8 0 43.8 12.3 83.4 36.9 118.8zM616.4 235.7c-21 19.8-40.2 32.7-57.6 38.7-6 1.8-13.65 3.45-22.95 4.95-9.3 1.5-19.95 2.85-31.95 4.05 0.6-52.8 14.4-98.4 41.4-136.8 27-38.4 71.4-64.8 133.2-79.2 1.2 6 2.1 10.2 2.7 12.6v9.9c0 21.6-5.1 45.9-15.3 72.9a221.625 221.625 0 0 1-49.5 72.9z\" ></path></symbol><symbol id=\"authing-google\" viewBox=\"0 0 1024 1024\"><path d=\"M1000 523.6c0 283-193.8 484.4-480 484.4-274.4 0-496-221.6-496-496S245.6 16 520 16c133.6 0 246 49 332.6 129.8l-135 129.8c-176.6-170.4-505-42.4-505 236.4 0 173 138.2 313.2 307.4 313.2 196.4 0 270-140.8 281.6-213.8H520V440.8h472.2c4.6 25.4 7.8 49.8 7.8 82.8z\" ></path></symbol><symbol id=\"authing-dingtalk\" viewBox=\"0 0 1024 1024\"><path d=\"M905.857912 382.800144a192.415957 192.415957 0 0 1-12.101998 31.649993h0.186l-0.744 1.257c-35.140992 76.657983-126.881972 226.998949-126.881971 226.998949s-0.093-0.373-0.466-0.93l-26.856994 47.567989h129.301971L621.375975 1024l56.039988-227.649949H575.715986l35.326992-150.525966a1436.834677 1436.834677 0 0 0-102.397977 29.789993s-54.130988 32.393993-155.923965-62.137986c0 0-68.699985-61.672986-28.857994-77.079982 16.941996-6.560999 82.197982-14.892997 133.53597-21.967996 69.444984-9.494998 112.172975-14.614997 112.172975-14.614996s-214.106952 3.257999-264.83994-4.886999c-50.732989-8.099998-115.104974-94.484979-128.834972-170.353962 0 0-21.223995-41.702991 45.65999-21.968995 66.838985 19.734996 343.499923 76.799983 343.499923 76.799983S205.267069 266.95017 181.250074 239.487176c-23.922995-27.459994-70.374984-149.732966-64.324985-224.901949 0 0 2.606999-18.757996 21.457995-13.729997 0 0 266.00294 123.946972 447.852899 191.762957 181.896959 67.815985 340.009924 102.398977 319.622929 190.181957z\" ></path></symbol><symbol id=\"authing-apple\" viewBox=\"0 0 1024 1024\"><path d=\"M797.3 656c24.6 34.8 52.8 57.3 84.6 67.5-13.8 42.6-35.7 87-65.7 133.2-46.2 69.6-91.8 104.4-136.8 104.4-16.8 0-41.7-5.7-74.7-17.1-30.6-11.4-57.3-17.1-80.1-17.1-22.8 0-48 6-75.6 18-28.8 11.4-52.5 17.1-71.1 17.1-54 0-107.1-45.9-159.3-137.7-52.2-90.6-78.3-179.7-78.3-267.3 0-81 19.8-147.3 59.4-198.9 40.8-51.6 91.2-77.4 151.2-77.4 13.2 0 27.9 1.65 44.1 4.95 16.2 3.3 33 9.45 50.4 18.45 18.6 10.2 33.9 17.25 45.9 21.15 12 3.9 21.3 5.85 27.9 5.85 7.8 0 19.8-1.8 36-5.4a166.088 166.088 0 0 0 48.6-19.8 366.113 366.113 0 0 1 45-21.6c12.6-4.8 25.5-7.2 38.7-7.2 42 0 79.8 11.4 113.4 34.2 18 12 36.3 29.7 54.9 53.1-27.6 24-47.7 45-60.3 63-23.4 33.6-35.1 70.2-35.1 109.8 0 43.8 12.3 83.4 36.9 118.8zM616.4 235.7c-21 19.8-40.2 32.7-57.6 38.7-6 1.8-13.65 3.45-22.95 4.95-9.3 1.5-19.95 2.85-31.95 4.05 0.6-52.8 14.4-98.4 41.4-136.8 27-38.4 71.4-64.8 133.2-79.2 1.2 6 2.1 10.2 2.7 12.6v9.9c0 21.6-5.1 45.9-15.3 72.9a221.625 221.625 0 0 1-49.5 72.9z\" ></path></symbol><symbol id=\"authing-alipay-web\" viewBox=\"0 0 1024 1024\"><path d=\"M427.154 210.262l-1.819 59.431H185.792v45.481h242.573v78.84H228.24v43.057l203.153-1.823 203.76-1.818-3.641 14.553c-9.094 35.177-47.907 129.173-55.183 132.196-4.244 1.216-33.961-5.458-67.316-15.16-101.276-30.924-151.61-40.023-220.136-40.023-69.74 0.603-115.217 13.342-158.886 44.27-84.897 60.647-91.57 179.506-12.735 245.602 83.687 70.348 220.739 77.017 345.06 16.375 44.267-21.225 123.71-78.84 150.39-108.553l10.922-12.736 34.57 16.98c34.568 17.586 248.03 116.437 284.413 131.598l19.403 8.49V711.17l-52.762-13.95c-47.907-12.74-170.406-50.94-209.826-66.105l-15.16-6.066 20.012-41.238c21.231-42.444 63.68-162.522 63.68-180.108 0-8.491-12.128-9.702-106.128-9.702H555.71v-78.827h254.704v-40.022c0-1.817-57.614-3.032-127.353-2.425l-127.347 0.602V151.437H428.967l-1.813 58.825z m-23.657 395.392c31.535 10.922 73.382 27.896 92.786 38.206l35.167 18.805-19.404 24.255c-10.913 13.342-35.775 36.387-56.399 51.548-69.133 51.542-133.41 71.553-215.887 66.703-86.112-4.852-132.201-40.023-137.66-105.517-3.64-40.63 5.459-63.675 33.359-84.901 35.172-26.685 63.67-32.742 141.296-30.924 59.431 1.814 78.232 5.449 126.742 21.825z\" ></path></symbol><symbol id=\"authing-wechat-miniprogram-app-launch\" viewBox=\"0 0 1126 1024\"><path d=\"M961.876 262.606C900.851 134.702 747.238 80.676 619.77 141.425c-69.45 33.34-113.232 90.332-130.04 168.839-15.583 71.308-6.328 150.685 2.926 211.869 12.22 78.071 12.656 135.459 1.7 176.393-9.69 36.306-29.464 59.957-61.46 75.54a135.814 135.814 0 0 1-104.372 5.102 137.634 137.634 0 0 1-77.835-69.647 136.764 136.764 0 0 1 64.388-181.93c14.317-7.12 25.668-19.38 30.73-34.607 5.023-15.187 4.628-31.244-2.136-45.996a60.511 60.511 0 0 0-34.487-30.81 61.54 61.54 0 0 0-45.878 2.136 256.284 256.284 0 0 0-131.86 145.98 257.233 257.233 0 0 0 10.284 196.72 256.403 256.403 0 0 0 231.802 146.494 263.007 263.007 0 0 0 110.265-24.916c69.41-33.341 113.192-89.462 130.04-167.97 15.149-70.913 6.328-150.29-2.966-210.603-12.22-78.942-12.656-136.764-1.701-177.698 9.69-36.307 29.465-60.354 62.292-75.54a136.962 136.962 0 0 1 182.205 64.585 136.764 136.764 0 0 1-64.387 181.93 60.511 60.511 0 0 0-28.16 80.167c6.724 14.753 19.34 25.708 34.053 30.81 15.148 5.063 31.166 4.628 45.877-2.135 127.51-62.45 181.378-216.101 120.786-343.531z\" ></path></symbol><symbol id=\"authing-qq\" viewBox=\"0 0 1024 1024\"><path d=\"M821.295 699.385a275.463 275.463 0 0 1-57.3 90.76c54.54 16.634 41.202 45.496 41.202 45.496 24.223 13.299 22.69 99.729-111.381 98.195-89.38-0.996-127.248-26.062-142.695-42.735-11.498 1.15-23.035 1.802-34.61 1.84-14.296 0-28.286-1.073-42.084-2.645-14.91 16.634-52.586 42.544-143.308 43.54-133.879 1.534-135.412-84.895-111.15-98.195 0 0-14.642-31.046 47.142-47.335a272.511 272.511 0 0 1-58.794-98.311c-56.035 99.537-83.057 33.575-79.033-42.66 3.604-67.687 63.241-144.61 78.726-163.43a60.98 60.98 0 0 1-4.6-22.804c0-16.482 6.593-31.506 17.363-42.775a44.844 44.844 0 0 1 20.045-46.223c-0.076-2.414-0.306-4.753-0.306-7.206 0-151.394 123.569-274.235 275.96-274.235 152.469 0 275.961 122.802 275.961 274.235 0 4.6-0.268 9.122-0.498 13.645 10.425 10.617 14.947 25.68 11.998 40.283 10.616 11.192 17.36 25.871 17.36 42.276 0 8.125-1.723 15.829-4.598 22.997 15.56 19.163 74.816 96.01 78.38 163.698 3.91 74.164-21.31 138.67-73.78 51.589z\" ></path></symbol><symbol id=\"authing-wechat-mobile\" viewBox=\"0 0 1239 1024\"><path d=\"M745.256 511.245c-21.665 0-43.385 20.373-43.385 45.595 0 20.373 21.72 40.96 43.385 40.96 32.553 0 55.835-20.587 55.835-40.96 0-25.222-23.282-45.595-55.835-45.595M602.705 298.9c34.115 0 55.78-22.097 55.78-55.08 0-34.655-21.665-55.027-55.78-55.027-32.499 0-63.488 20.372-63.488 54.973 0 33.091 30.99 55.08 63.488 55.08M440.05 756.574c-57.344 0-99.167-9.431-153.439-25.169l-156.456 80.196 44.948-135.222C65.051 597.747 0 498.58 0 377.479 0 163.57 198.333 0 440.05 0c213.8 0 404.427 128.97 441.56 311.458a211.106 211.106 0 0 0-41.822-4.743c-210.729 0-373.383 160.498-373.383 353.927 0 33.037 4.635 62.895 12.396 94.37-12.396 1.616-26.409 1.616-38.804 1.616m646.198 154.14L1117.13 1024l-117.76-67.638c-44.894 9.378-88.28 23.606-133.228 23.606-207.656 0-371.873-144.761-371.873-324.07 0-179.253 164.217-323.96 371.873-323.96 196.77 0 373.437 144.707 373.437 323.907 0 100.783-66.614 190.356-153.384 254.922M295.882 188.793c-32.498 0-66.614 20.372-66.614 54.973 0 33.091 34.116 55.08 66.614 55.08 30.99 0 55.781-21.989 55.781-55.026 0-34.655-24.791-55.027-55.78-55.027m692.6 322.452c-23.228 0-43.385 20.373-43.385 45.595 0 20.373 20.157 40.96 43.385 40.96 30.99 0 54.272-20.587 54.272-40.96 0-25.222-23.282-45.595-54.272-45.595\" ></path></symbol><symbol id=\"authing-baidu\" viewBox=\"0 0 1024 1024\"><path d=\"M204.8 537.876c104.422-22.429 90.196-147.185 86.967-174.501-5.149-42.066-54.545-115.55-121.658-109.746-84.48 7.593-96.873 129.6-96.873 129.6C61.891 439.695 100.64 560.262 204.8 537.876zM315.636 754.75c-3.141 8.858-9.861 31.244-4.058 50.75 11.607 43.766 49.658 45.774 49.658 45.774h54.677V717.658H357.44c-26.27 7.855-39.01 28.407-41.847 37.091z m82.779-426.022c57.774 0 104.29-66.37 104.29-148.407C502.705 98.327 456.19 32 398.415 32c-57.47 0-104.16 66.37-104.16 148.32 0 82.036 46.69 148.364 104.29 148.364z m248.334 9.731c77.062 10.037 126.676-72.262 136.407-134.618 10.037-62.138-39.665-134.53-94.21-146.924-54.633-12.523-122.88 75.055-129.077 132.131-7.418 69.818 9.95 139.462 86.88 149.411zM835.564 704.83s-119.259-92.247-188.815-191.913c-94.254-147.01-228.349-87.185-273.164-12.48-44.64 74.75-114.196 122.095-124.014 134.531-10.036 12.393-144 84.655-114.327 216.742 29.76 132 134.269 129.6 134.269 129.6s76.974 7.55 166.342-12.393c89.323-19.898 166.21 4.975 166.21 4.975s208.67 69.818 265.746-64.713C924.8 774.56 835.564 704.83 835.564 704.83zM478.487 905.076H342.865c-58.56-11.738-81.905-51.665-84.916-58.472-2.924-6.982-19.505-39.142-10.69-93.819 25.308-81.905 97.483-87.796 97.483-87.796h72.218v-88.844l61.484 0.96 0.087 327.928z m252.742-0.96H575.011c-60.524-15.534-63.316-58.56-63.316-58.56V672.844l63.36-1.004v155.127c3.84 16.495 24.436 19.637 24.436 19.637h64.32v-173.76h67.418v231.272z m220.975-461.018c0-29.847-24.742-119.65-116.64-119.65-92.073 0-104.335 84.741-104.335 144.654 0 57.163 4.887 137.062 119.127 134.443 114.415-2.443 101.848-129.469 101.848-159.447z\" ></path></symbol><symbol id=\"authing-wechat-pc\" viewBox=\"0 0 1239 1024\"><path d=\"M727.677 511.336c-19.042 0-38.132 17.906-38.132 40.074 0 17.906 19.09 36 38.132 36 28.61 0 49.074-18.094 49.074-36 0-22.168-20.463-40.074-49.074-40.074m-125.29-186.63c29.985 0 49.026-19.422 49.026-48.411 0-30.459-19.041-48.364-49.025-48.364-28.564 0-55.8 17.905-55.8 48.316 0 29.084 27.237 48.41 55.8 48.41m-142.959 402.3c-50.4 0-87.158-8.288-134.858-22.12L187.06 775.32l39.505-118.847c-96.726-69.11-153.9-156.269-153.9-262.705C72.667 205.763 246.984 62 459.43 62c187.91 0 355.454 113.353 388.09 273.742a185.542 185.542 0 0 0-36.757-4.168c-185.211 0-328.17 141.062-328.17 311.068 0 29.037 4.075 55.28 10.896 82.943-10.895 1.42-23.211 1.42-34.105 1.42M1027.33 862.48l27.19 99.52-103.5-59.447c-39.458 8.242-77.59 20.747-117.096 20.747-182.51 0-326.841-127.231-326.841-284.827 0-157.547 144.331-284.73 326.841-284.73 172.943 0 328.216 127.183 328.216 284.683 0 88.58-58.547 167.305-134.81 224.053M332.72 227.93c-28.563 0-58.548 17.905-58.548 48.316 0 29.084 29.985 48.41 58.547 48.41 27.238 0 49.026-19.326 49.026-48.362 0-30.459-21.788-48.364-49.025-48.364m608.73 283.405c-20.415 0-38.13 17.906-38.13 40.074 0 17.906 17.715 36 38.13 36 27.238 0 47.7-18.094 47.7-36 0-22.168-20.462-40.074-47.7-40.074\" ></path></symbol><symbol id=\"authing-wechat-miniprogram-qrconnec\" viewBox=\"0 0 1126 1024\"><path d=\"M961.876 262.606C900.851 134.702 747.238 80.676 619.77 141.425c-69.45 33.34-113.232 90.332-130.04 168.839-15.583 71.308-6.328 150.685 2.926 211.869 12.22 78.071 12.656 135.459 1.7 176.393-9.69 36.306-29.464 59.957-61.46 75.54a135.814 135.814 0 0 1-104.372 5.102 137.634 137.634 0 0 1-77.835-69.647 136.764 136.764 0 0 1 64.388-181.93c14.317-7.12 25.668-19.38 30.73-34.607 5.023-15.187 4.628-31.244-2.136-45.996a60.511 60.511 0 0 0-34.487-30.81 61.54 61.54 0 0 0-45.878 2.136 256.284 256.284 0 0 0-131.86 145.98 257.233 257.233 0 0 0 10.284 196.72 256.403 256.403 0 0 0 231.802 146.494 263.007 263.007 0 0 0 110.265-24.916c69.41-33.341 113.192-89.462 130.04-167.97 15.149-70.913 6.328-150.29-2.966-210.603-12.22-78.942-12.656-136.764-1.701-177.698 9.69-36.307 29.465-60.354 62.292-75.54a136.962 136.962 0 0 1 182.205 64.585 136.764 136.764 0 0 1-64.387 181.93 60.511 60.511 0 0 0-28.16 80.167c6.724 14.753 19.34 25.708 34.053 30.81 15.148 5.063 31.166 4.628 45.877-2.135 127.51-62.45 181.378-216.101 120.786-343.531z\" ></path></symbol><symbol id=\"authing-wechat-webpage-authorization\" viewBox=\"0 0 1188 1024\"><path d=\"M512 1.896C229.452 1.896 0 229.452 0 512s229.452 510.104 512 510.104S1022.104 794.548 1022.104 512 794.548 1.896 512 1.896z m-91.022 629.57c-26.548 0-49.304-5.688-75.852-11.377l-75.852 37.926 22.756-66.37c-54.993-37.926-87.23-87.23-87.23-147.912 0-104.296 98.607-185.837 218.074-185.837 108.089 0 201.007 64.474 219.97 153.6-7.585 0-13.274-1.896-20.859-1.896-104.296 0-185.837 77.748-185.837 172.563 0 15.17 1.896 30.34 7.585 45.511-7.585 3.793-15.17 3.793-22.755 3.793z m322.37 77.749l17.067 54.992-58.785-34.133c-22.756 5.689-43.615 11.378-66.37 11.378-104.297 0-185.838-70.163-185.838-157.393S530.963 424.77 635.26 424.77c98.608 0 185.837 70.163 185.837 159.29 0 47.407-32.237 91.021-77.748 125.155z\" fill=\"#46BB36\" ></path><path d=\"M318.578 379.26c0 17.066 13.274 30.34 30.34 30.34s30.341-13.274 30.341-30.34-13.274-30.341-30.34-30.341-30.341 13.274-30.341 30.34z m235.14 159.288c0 13.274 11.378 24.652 24.652 24.652 13.274 0 24.652-11.378 24.652-24.652 0-13.274-11.378-24.652-24.652-24.652-13.274-1.896-24.651 9.482-24.651 24.652z m-81.54-159.289c0 17.067 13.274 30.341 30.34 30.341 17.067 0 30.341-13.274 30.341-30.34 0-17.067-13.274-30.341-30.34-30.341-17.067 0-30.341 13.274-30.341 30.34zM675.08 538.55c0 13.273 11.378 24.651 24.652 24.651 13.274 0 24.652-11.378 24.652-24.652 0-13.274-11.378-24.652-24.652-24.652-13.274-1.896-24.652 9.482-24.652 24.652z\" fill=\"#46BB36\" ></path></symbol><symbol id=\"authing-wechat-miniprogram-default\" viewBox=\"0 0 1126 1024\"><path d=\"M961.876 262.606C900.851 134.702 747.238 80.676 619.77 141.425c-69.45 33.34-113.232 90.332-130.04 168.839-15.583 71.308-6.328 150.685 2.926 211.869 12.22 78.071 12.656 135.459 1.7 176.393-9.69 36.306-29.464 59.957-61.46 75.54a135.814 135.814 0 0 1-104.372 5.102 137.634 137.634 0 0 1-77.835-69.647 136.764 136.764 0 0 1 64.388-181.93c14.317-7.12 25.668-19.38 30.73-34.607 5.023-15.187 4.628-31.244-2.136-45.996a60.511 60.511 0 0 0-34.487-30.81 61.54 61.54 0 0 0-45.878 2.136 256.284 256.284 0 0 0-131.86 145.98 257.233 257.233 0 0 0 10.284 196.72 256.403 256.403 0 0 0 231.802 146.494 263.007 263.007 0 0 0 110.265-24.916c69.41-33.341 113.192-89.462 130.04-167.97 15.149-70.913 6.328-150.29-2.966-210.603-12.22-78.942-12.656-136.764-1.701-177.698 9.69-36.307 29.465-60.354 62.292-75.54a136.962 136.962 0 0 1 182.205 64.585 136.764 136.764 0 0 1-64.387 181.93 60.511 60.511 0 0 0-28.16 80.167c6.724 14.753 19.34 25.708 34.053 30.81 15.148 5.063 31.166 4.628 45.877-2.135 127.51-62.45 181.378-216.101 120.786-343.531z\" ></path></symbol><symbol id=\"authing-wechatwork-service-provider-authorization\" viewBox=\"0 0 1182 1024\"><path d=\"M993.598 913.02a7.062 7.062 0 0 1 4.908 2.224c15.678 17.761 37.252 31.073 59.816 35.505 15.713 3.354 26.482 18.873 26.482 36.634 0 19.968-14.706 36.617-32.362 36.617-16.666 0-30.402-14.424-32.361-32.185-4.909-25.53-15.714-47.722-30.42-65.466-0.971-1.112-1.942-3.337-2.931-5.561 0-4.432 2.93-7.768 6.868-7.768zM1024 0a105.931 105.931 0 0 1 105.931 105.949v453.42h-70.62V247.172H70.46v670.88h452.026v70.638H32.84C15.572 988.69 0.829 975.448 0 958.27v-857.9C2.79 44.19 49.346 0.053 105.843 0zM812.138 512c136.651 0 247.172 97.774 247.172 219.224h-60.804c0-101.888-85.663-162.286-182.22-163.045-117.565-0.918-189.686 76.182-193.553 157.184-2.471 51.412 16.42 92.495 61.617 127.47 5.032 4.131 4.184 17.479 3.178 23.658l-2.684 37.34s1.006 0 2.013-1.023l49.982-25.141a16.455 16.455 0 0 1 12.058-1.042c22.104 6.18 37.676 5.509 60.787 5.509 24.117 0 46.857-2.066 64.23-8.087l15.589 55.085a288.662 288.662 0 0 1-78.371 11.317c-25.124 0-49.24-3.09-72.334-9.27l-53.265 26.766c-5.014 2.065-12.059 3.09-18.08 3.09-6.037 0-12.058-2.066-17.09-5.138-10.045-7.221-15.06-19.562-14.053-34.993v-1.041l5.014-42.196c-49.222-40.148-76.358-97.775-76.358-157.484C564.966 609.792 675.486 512 812.138 512z m338.397 330.399c17.655 0 32.362 16.649 32.362 36.634 0 18.856-12.747 34.393-28.443 36.617-22.563 5.544-42.178 17.761-57.874 34.41a21.186 21.186 0 0 1-4.908 3.32c-3.92 0-6.868-3.32-6.868-7.769 0-2.225 0.99-4.431 1.978-5.544 15.678-17.76 27.454-42.178 31.373-67.707 2.948-17.744 16.684-29.961 32.38-29.961z m-141.242-30.261c3.92 0 6.868 3.337 6.868 7.768a9.075 9.075 0 0 1-1.977 5.544c-15.678 17.761-27.454 42.178-31.374 67.708-2.948 17.743-16.684 29.96-32.38 29.96-17.654 0-32.361-16.648-32.361-36.634 0-18.856 12.747-34.392 28.442-36.617 22.564-5.544 42.179-17.743 57.874-34.392 0.971-1.113 2.93-2.225 4.908-3.337z m39.23-70.62c16.667 0 30.402 14.424 32.362 32.185 4.908 25.511 15.713 47.722 30.42 65.465 1.942 1.112 1.942 3.337 2.93 5.561 0 4.432-2.93 7.769-6.867 7.769a7.062 7.062 0 0 1-4.908-2.225c-15.696-17.761-37.253-31.073-59.816-35.504-15.713-3.355-26.483-18.874-26.483-36.635 0-19.968 14.707-36.617 32.362-36.617zM511.912 70.584a53.177 53.177 0 0 0-37.5 15.537 53 53 0 0 0 17.426 86.422 53.407 53.407 0 0 0 58.05-11.582 52.824 52.824 0 0 0 11.388-57.838 53.23 53.23 0 0 0-49.364-32.539z m-176.605 0a53.177 53.177 0 0 0-37.5 15.537 53 53 0 0 0 17.426 86.422 53.407 53.407 0 0 0 58.05-11.582 52.824 52.824 0 0 0 11.388-57.838 53.23 53.23 0 0 0-49.364-32.539z m-176.499 0a53.177 53.177 0 0 0-37.5 15.537 53 53 0 0 0 17.426 86.422 53.407 53.407 0 0 0 58.05-11.582 52.824 52.824 0 0 0 11.388-57.838 53.23 53.23 0 0 0-49.364-32.539z\" ></path></symbol><symbol id=\"authing-wechatwork-corp-qrconnect\" viewBox=\"0 0 1220 1024\"><path d=\"M1077.17 663.237c-29.54-34.659-51.2-77.982-61.047-127.803-3.938-34.659-31.508-62.819-64.985-62.819-35.446 0-64.984 32.493-64.984 71.483 0 34.659 21.661 64.985 53.17 71.484 45.291 8.664 88.614 34.658 120.122 69.316 1.97 2.167 5.908 4.333 9.846 4.333 7.877 0 13.785-6.499 13.785-15.163-1.97-4.333-1.97-8.665-5.908-10.831z m-194.955-26.782c1.97-2.166 3.939-6.498 3.939-10.83 0-8.665-5.908-15.163-13.785-15.163-3.938 2.166-7.877 4.332-9.846 6.498-31.508 32.492-70.892 56.32-116.185 67.15-31.507 4.333-57.107 34.66-57.107 71.484 0 38.99 29.538 71.483 64.984 71.483 31.508 0 59.077-23.828 64.985-58.486 7.877-49.822 31.508-97.477 63.015-132.136z m165.416 243.2c31.507-32.492 70.892-56.32 116.184-67.15 31.508-4.333 57.108-34.659 57.108-71.483 0-38.991-29.538-71.484-64.985-71.484-31.507 0-59.076 23.828-64.984 58.487-7.877 49.821-31.508 97.477-63.016 132.135-1.969 2.166-3.938 6.498-3.938 10.83 0 8.665 5.908 15.164 13.785 15.164 3.938-2.166 7.877-4.332 9.846-6.499z m-76.8 1.379c-45.293-8.665-88.616-34.659-120.123-69.317a14.375 14.375 0 0 0-9.846-4.332c-7.877 0-13.785 6.498-13.785 15.163 1.97 4.332 3.938 8.664 5.908 10.83 29.538 34.659 51.2 77.982 61.046 127.804 3.938 34.658 31.507 62.818 64.984 62.818 35.447 0 64.985-32.492 64.985-71.483 0-34.659-21.662-64.985-53.17-71.483z\" ></path><path d=\"M243.554 810.2s2.048 0 4.096-2.067l101.534-50.708c8.172-4.135 16.345-4.135 24.497-2.067 44.899 12.445 76.544 11.106 123.49 11.106 48.995 0 95.174-4.155 130.502-16.325l31.665 111.065c-51.043 14.533-106.142 22.843-159.232 22.843a571.077 571.077 0 0 1-146.964-18.688l-108.19 53.957c-10.2 4.135-24.497 6.222-36.745 6.222-12.249 0-24.497-4.135-34.698-10.377-20.421-14.514-30.622-39.424-28.574-70.558v-2.068l10.201-85.07C55.099 676.51 0 560.285 0 439.926 0 197.12 224.551 0 502.154 0c277.622 0 502.154 197.14 502.154 442.014h-123.55c0-205.43-174.001-327.208-370.196-328.744-238.808-1.85-385.378 153.6-393.216 316.948-4.982 103.62 33.36 186.466 125.224 257.024 10.2 8.31 8.468 35.19 6.44 47.655\" ></path></symbol><symbol id=\"authing-wechatwork-service-provider-qrconnect\" viewBox=\"0 0 1220 1024\"><path d=\"M1077.17 663.237c-29.54-34.659-51.2-77.982-61.047-127.803-3.938-34.659-31.508-62.819-64.985-62.819-35.446 0-64.984 32.493-64.984 71.483 0 34.659 21.661 64.985 53.17 71.484 45.291 8.664 88.614 34.658 120.122 69.316 1.97 2.167 5.908 4.333 9.846 4.333 7.877 0 13.785-6.499 13.785-15.163-1.97-4.333-1.97-8.665-5.908-10.831z m-194.955-26.782c1.97-2.166 3.939-6.498 3.939-10.83 0-8.665-5.908-15.163-13.785-15.163-3.938 2.166-7.877 4.332-9.846 6.498-31.508 32.492-70.892 56.32-116.185 67.15-31.507 4.333-57.107 34.66-57.107 71.484 0 38.99 29.538 71.483 64.984 71.483 31.508 0 59.077-23.828 64.985-58.486 7.877-49.822 31.508-97.477 63.015-132.136z m165.416 243.2c31.507-32.492 70.892-56.32 116.184-67.15 31.508-4.333 57.108-34.659 57.108-71.483 0-38.991-29.538-71.484-64.985-71.484-31.507 0-59.076 23.828-64.984 58.487-7.877 49.821-31.508 97.477-63.016 132.135-1.969 2.166-3.938 6.498-3.938 10.83 0 8.665 5.908 15.164 13.785 15.164 3.938-2.166 7.877-4.332 9.846-6.499z m-76.8 1.379c-45.293-8.665-88.616-34.659-120.123-69.317a14.375 14.375 0 0 0-9.846-4.332c-7.877 0-13.785 6.498-13.785 15.163 1.97 4.332 3.938 8.664 5.908 10.83 29.538 34.659 51.2 77.982 61.046 127.804 3.938 34.658 31.507 62.818 64.984 62.818 35.447 0 64.985-32.492 64.985-71.483 0-34.659-21.662-64.985-53.17-71.483z\" ></path><path d=\"M243.554 810.2s2.048 0 4.096-2.067l101.534-50.708c8.172-4.135 16.345-4.135 24.497-2.067 44.899 12.445 76.544 11.106 123.49 11.106 48.995 0 95.174-4.155 130.502-16.325l31.665 111.065c-51.043 14.533-106.142 22.843-159.232 22.843a571.077 571.077 0 0 1-146.964-18.688l-108.19 53.957c-10.2 4.135-24.497 6.222-36.745 6.222-12.249 0-24.497-4.135-34.698-10.377-20.421-14.514-30.622-39.424-28.574-70.558v-2.068l10.201-85.07C55.099 676.51 0 560.285 0 439.926 0 197.12 224.551 0 502.154 0c277.622 0 502.154 197.14 502.154 442.014h-123.55c0-205.43-174.001-327.208-370.196-328.744-238.808-1.85-385.378 153.6-393.216 316.948-4.982 103.62 33.36 186.466 125.224 257.024 10.2 8.31 8.468 35.19 6.44 47.655\" ></path></symbol><symbol id=\"authing-weibo\" viewBox=\"0 0 1185 1024\"><path d=\"M891.75 466.973c-17.137-5.012-29.37-7.545-19.616-30.019 19.616-47.477 19.616-90 0-120.017-39.18-57.503-144.538-54.97-264.61-2.48 0 0-39.125 17.517-29.37-12.502 19.615-59.982 17.19-109.992-12.234-140.01-66.127-67.473-240.089 2.532-389.532 154.992C63.7 431.942 0 551.96 0 656.996c0 199.94 252.322 322.49 497.314 322.49 323.354 0 536.55-192.503 538.975-347.496 0-92.533-75.934-142.545-144.539-165.017zM499.794 907C303.79 926.941 134.73 836.94 122.497 704.474c-14.714-129.987 134.73-252.484 330.735-272.532 196.005-19.939 365.01 70.06 377.243 202.527 14.712 129.987-134.73 252.484-330.68 272.532z m19.563-375.034c-93.072-25.005-198.43 22.527-240.088 107.515-41.605 87.52 0 182.478 93.125 212.496 97.975 32.497 213.142-17.515 252.322-109.995 39.179-92.53-9.81-185.01-105.359-210.016z m-70.976 219.987c-19.616 30.018-61.22 45-90.645 30.018-29.372-14.982-39.18-50.012-19.617-82.455 19.616-30.07 58.796-42.574 88.22-30.07 29.372 15.034 39.18 50.01 22.042 82.507z m63.7-82.455c-7.329 12.45-22.095 17.461-34.275 12.45-12.287-4.958-17.192-17.462-9.809-29.964 4.85-12.503 19.564-17.515 31.797-12.503 12.288 5.011 17.191 17.515 12.288 29.964z m431.137-327.555a83.964 83.964 0 0 0-14.66-74.963c-19.616-19.994-46.562-30.019-71.029-22.527-22.096 5.012-41.658-9.97-46.563-30.018a40.258 40.258 0 0 1 29.426-47.479c51.412-10.023 107.783 5.012 144.537 47.479a157.904 157.904 0 0 1 31.797 152.514c-7.33 19.994-29.372 32.497-48.988 25.006-19.563-5.012-31.796-27.485-24.466-50.012z m227.908 75.018a44.838 44.838 0 0 1-56.37 30.019c-24.521-7.546-36.755-35.032-29.426-57.504a226.13 226.13 0 0 0-46.508-222.52c-56.372-62.515-137.21-87.52-213.144-70.006a45.108 45.108 0 0 1-53.892-35.029c-4.904-24.952 9.754-49.958 34.276-54.97a312.789 312.789 0 0 1 298.884 97.544c78.413 87.467 98.03 207.485 66.18 312.466z\" ></path></symbol><symbol id=\"authing-github\" viewBox=\"0 0 1024 1024\"><path d=\"M51.57 672.155c3.72-6.605 52.236-29.956 126.057 57.307 0.186 0 0.465 0.14 0.79 0.419 5.21 4.326 29.538 39.26 43.307 51.865 58.935 53.307 147.083 12.001 157.13 6.047 4.652-38.282 19.025-68.378 43.027-90.52a290.072 290.072 0 0 1-64.052-10.047 203.832 203.832 0 0 1-61.029-18.048 168.852 168.852 0 0 1-58.052-29.165c-17.35-9.35-33.677-23.444-49.027-42.237a205.367 205.367 0 0 1-40.004-58.284c-10.698-20.095-19.071-45.911-25.072-77.356-6-28.84-8.977-62.005-8.977-99.543 0-68.983 22.979-129.64 69.076-181.924-2.745-5.395-33.026-77.17 7.907-179.969 55.447-1.954 115.173 23.49 185.226 68.332A925.198 925.198 0 0 1 547.008 46.89c56.936 1.907 113.592 9.303 169.132 22.142C739.49 54.984 821.637-1.3 900.249 2.747c37.678 89.45 11.024 170.154 6.977 178.9 46.05 46.236 69.076 104.846 69.076 175.875v6.047c0.326 5.024 0.512 10.094 0.512 15.118 0 27.77-3.163 55.958-9.536 84.473a349.24 349.24 0 0 1-25.025 77.402 282.816 282.816 0 0 1-39.027 57.26 367.242 367.242 0 0 1-49.028 41.26c-18.42 10.56-37.445 20.002-57.074 28.142a1890.865 1890.865 0 0 1-61.076 18.048 1650.986 1650.986 0 0 0-64.052 10.048c30.05 25.49 45.4 66.982 46.05 124.662a3242.148 3242.148 0 0 0-0.464 55.54c0 19.583 0.186 40.282 0.465 62.052-0.651 21.444-0.93 37.724-0.93 48.795 0 11.07 0.279 16.931 0.93 17.536a677.27 677.27 0 0 1-159.084 20.048h-14.978c-54.424 0-107.452-6.651-159.177-20.14-0.698-0.652-0.977-39.214-0.977-115.546-20.7 4.652-157.037 31.538-217.508-69.913-19.304-30.05-35.351-103.405-100.753-136.152-6.93 18.048-28.84 2.652-14-10.047z\" ></path></symbol></svg>";
342
-
343
- }
344
- declare module '@authing/react-ui-components/components/AuthingGuard/LoginLayout/index' {
345
- /// <reference types="react" />
346
- import './style.less';
347
- export const LoginLayout: () => JSX.Element;
348
-
349
- }
350
- declare module '@authing/react-ui-components/components/AuthingGuard/MfaLayout/Steps' {
351
- export enum Steps {
352
- Verify = 0,
353
- Reset = 1
354
- }
355
-
356
- }
357
- declare module '@authing/react-ui-components/components/AuthingGuard/MfaLayout/index' {
358
- import { FC } from 'react';
359
- import './style.less';
360
- export interface MfaLayoutProps {
361
- }
362
- export const MfaLayout: FC<MfaLayoutProps>;
363
-
364
- }
365
- declare module '@authing/react-ui-components/components/AuthingGuard/RegisterLayout/index' {
366
- import { FC } from 'react';
367
- export const RegisterLayout: FC;
368
-
369
- }
370
- declare module '@authing/react-ui-components/components/AuthingGuard/ResetPwdLayout/index' {
371
- /// <reference types="react" />
372
- export const ResetPwdLayout: () => JSX.Element;
373
-
374
- }
375
- declare module '@authing/react-ui-components/components/AuthingGuard/ToggleLang/index' {
376
- import { FC } from 'react';
377
- export const ToggleLang: FC;
378
-
379
- }
380
- declare module '@authing/react-ui-components/components/AuthingGuard/api/appConfig' {
381
- import { Lang, LoginMethods, Protocol, RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
382
- import { IAzureAdConnectionConfig, ICasConnectionConfig, IOAuthConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
383
- import { PasswordStrength } from '@authing/react-ui-components/components/_utils/index';
384
- export enum ApplicationMfaType {
385
- SMS = "SMS",
386
- EMAIL = "EMAIL"
387
- }
388
- export const ApplicationMfaTypeLabel: () => Record<ApplicationMfaType, string>;
389
- export type QrcodeTabsSettings = Record<LoginMethods, Array<{
390
- id: string;
391
- title: string;
392
- isDefault?: boolean;
393
- }>>;
394
- export interface OidcClientMetadata {
395
- grant_types: string[];
396
- client_id: string;
397
- redirect_uris: string[];
398
- scope: string;
399
- response_types: ResponseType[];
400
- }
401
- export interface InternalExtendsField {
402
- type: 'internal';
403
- name: string;
404
- label: string;
405
- inputType: string;
406
- required: boolean;
407
- validateRules: any[];
408
- }
409
- export interface UserExtendsField {
410
- type: 'user';
411
- id: string;
412
- name: string;
413
- label: string;
414
- inputType: string;
415
- required: boolean;
416
- validateRules: any[];
417
- }
418
- export type ExtendsField = InternalExtendsField | UserExtendsField;
419
- export interface ApplicationPasswordTabConfig {
420
- enabledLoginMethods?: PasswordLoginMethods[];
421
- }
422
- export interface ApplicationVerifyCodeTabConfig {
423
- enabledLoginMethods: VerifyLoginMethods[];
424
- }
425
- export interface Agreement {
426
- id: number;
427
- title: string;
428
- required: boolean;
429
- lang: Lang;
430
- availableAt?: number;
431
- }
432
- export type PasswordLoginMethods = 'username-password' | 'email-password' | 'phone-password';
433
- export type VerifyLoginMethods = 'email-code' | 'phone-code';
434
- export type ComplateFiledsPlace = 'register' | 'login';
435
- export interface ApplicationConfig {
436
- id: string;
437
- allowedOrigins: string[];
438
- corsWhitelist: string[];
439
- cdnBase: string;
440
- userPoolId: string;
441
- rootUserPoolId: string;
442
- publicKey: string;
443
- internationalSmsConfig?: {
444
- enabled: boolean;
445
- defaultISOType: string;
446
- };
447
- css: string;
448
- customLoading?: string;
449
- name: string;
450
- logo: string;
451
- description?: string;
452
- redirectUris: string[];
453
- registerDisabled: boolean;
454
- mergeAdAndAccountPasswordLogin: boolean;
455
- registerTabs: {
456
- list: string[];
457
- default: string;
458
- title: {
459
- [x: string]: string;
460
- };
461
- };
462
- registerTabsConfig: {
463
- list: string[];
464
- default: string;
465
- title: {
466
- [x: string]: string;
467
- };
468
- registerTypeConfig: {
469
- emailRegisterType?: RegisterMethods[];
470
- phoneRegisterType?: RegisterMethods[];
471
- };
472
- };
473
- qrcodeTabsSettings: QrcodeTabsSettings;
474
- loginTabs: {
475
- list: string[];
476
- default: string;
477
- defaultV2?: string;
478
- title: {
479
- [x: string]: string;
480
- };
481
- };
482
- socialConnections: SocialConnectionItem[];
483
- complateFiledsPlace: ComplateFiledsPlace[];
484
- extendsFieldsEnabled: boolean;
485
- extendsFields: ExtendsField[];
486
- identifier: string;
487
- requestHostname: string;
488
- identityProviders: {
489
- identifier: string;
490
- protocol: Protocol;
491
- displayName: string;
492
- logo: string;
493
- config: ISamlConnectionConfig | OIDCConnectionConfig | ICasConnectionConfig | IAzureAdConnectionConfig | IOAuthConnectionConfig;
494
- }[];
495
- ssoPageComponentDisplay: {
496
- autoRegisterThenLoginHintInfo: boolean;
497
- forgetPasswordBtn: boolean;
498
- idpBtns: boolean;
499
- loginBtn: boolean;
500
- loginByPhoneCodeTab: boolean;
501
- loginByUserPasswordTab: boolean;
502
- loginMethodNav: boolean;
503
- phoneCodeInput: boolean;
504
- registerBtn: boolean;
505
- registerByEmailTab: boolean;
506
- registerByPhoneTab: boolean;
507
- registerMethodNav: boolean;
508
- socialLoginBtns: boolean;
509
- userPasswordInput: boolean;
510
- wxMpScanTab: boolean;
511
- };
512
- protocol: Protocol;
513
- oidcConfig: OidcClientMetadata;
514
- passwordTabConfig: ApplicationPasswordTabConfig;
515
- verifyCodeTabConfig?: ApplicationVerifyCodeTabConfig;
516
- agreementEnabled: boolean;
517
- agreements: Agreement[];
518
- customPasswordStrength: any;
519
- passwordStrength: PasswordStrength;
520
- verifyCodeLength: number;
521
- websocket: string;
522
- welcomeMessage: any;
523
- skipComplateFileds: boolean;
524
- selfUnlockStrategy: 'captcha' | 'password-captcha';
525
- }
526
- export const fetchAppConfig: (appId: string) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<ApplicationConfig>>;
527
-
528
- }
529
- declare module '@authing/react-ui-components/components/AuthingGuard/api/index' {
530
- export * from '@authing/react-ui-components/components/AuthingGuard/api/sso';
531
- export * from '@authing/react-ui-components/components/AuthingGuard/api/appConfig';
532
- export * from '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig';
533
-
534
- }
535
- declare module '@authing/react-ui-components/components/AuthingGuard/api/sso' {
536
- import { User } from '@authing/react-ui-components/components/AuthingGuard/types/index';
537
- export interface SessionData {
538
- session: null | {
539
- _id: string;
540
- cookie: {
541
- originalMaxAge: number;
542
- expires: Date;
543
- secure: boolean;
544
- httpOnly: boolean;
545
- path: string;
546
- sameSite: string;
547
- };
548
- appId?: string;
549
- type: string;
550
- userId: string;
551
- };
552
- userInfo?: User;
553
- }
554
- export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingResponse<SessionData>>;
555
-
556
- }
557
- declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoolConfig' {
558
- import { Lang, Protocol } from '@authing/react-ui-components/components/AuthingGuard/types/index';
559
- import { SocialConnectionProvider } from 'authing-js-sdk';
560
- export interface OIDCConnectionConfig {
561
- issuerUrl: string;
562
- authorizationEdpoint: string;
563
- responseType: string;
564
- mode: OIDCConnectionMode;
565
- clientId: string;
566
- clientSecret: string;
567
- scopes: string;
568
- redirectUri: string;
569
- }
570
- export interface IOAuthConnectionConfig {
571
- authEndPoint: string;
572
- tokenEndPoint: string;
573
- scope: string;
574
- clientId: string;
575
- clientSecret: string;
576
- authUrlTemplate: string;
577
- codeToTokenScript: string;
578
- tokenToUserInfoScript: string;
579
- tokenToUserInfoScriptFuncId: string;
580
- codeToTokenScriptFuncId: string;
581
- authUrl?: string;
582
- }
583
- export interface IAzureAdConnectionConfig {
584
- microsoftAzureAdDomain: string;
585
- clientId: string;
586
- syncUserProfileOnLogin: string;
587
- emailVerifiedDefault: boolean;
588
- authorizationUrl: string;
589
- callbackUrl: string;
590
- }
591
- export enum OIDCConnectionMode {
592
- FRONT_CHANNEL = "FRONT_CHANNEL",
593
- BACK_CHANNEL = "BACK_CHANNEL"
594
- }
595
- export interface ISamlConnectionConfig {
596
- signInEndPoint: string;
597
- samlRequest?: string;
598
- samlIdpCert: string;
599
- samlSpCert: string;
600
- samlSpKey: string;
601
- signOutEndPoint: string;
602
- signSamlRequest: boolean;
603
- signatureAlgorithm: string;
604
- digestAlgorithm: string;
605
- protocolBinding: string;
606
- }
607
- export interface ICasConnectionConfig {
608
- casConnectionLoginUrl: string;
609
- }
610
- export interface SocialConnectionItem {
611
- name: string;
612
- name_en: string;
613
- displayName: string;
614
- logo: string;
615
- description: string;
616
- identifier: string;
617
- provider: SocialConnectionProvider;
618
- authorizationUrl: string;
619
- tooltip: Record<Lang, string>;
620
- }
621
- export interface EnterpriseConnectionItem {
622
- id: string;
623
- createdAt: Date;
624
- updatedAt: Date;
625
- userPoolId: string;
626
- protocol: Protocol;
627
- identifier: string;
628
- displayName: string;
629
- logo: string;
630
- enabled: boolean;
631
- config: OIDCConnectionConfig | ISamlConnectionConfig | ICasConnectionConfig | IAzureAdConnectionConfig | IOAuthConnectionConfig;
632
- }
633
- export interface UserPoolConfig {
634
- name: string;
635
- logo: string;
636
- socialConnections: SocialConnectionItem[];
637
- enterpriseConnections: EnterpriseConnectionItem[];
638
- }
639
-
640
- }
641
- declare module '@authing/react-ui-components/components/AuthingGuard/constants' {
642
- import { UserConfig, LoginMethods, LocalesConfig } from '@authing/react-ui-components/components/AuthingGuard/types/index';
643
- export const OTP_MFA_CODE = 1635;
644
- export const APP_MFA_CODE = 1636;
645
- export const NEED_CAPTCHA = 2000;
646
- export const LOGIN_METHODS_MAP: () => {
647
- password: string;
648
- "phone-code": string;
649
- "app-qrcode": string;
650
- "wechat-miniprogram-qrcode": string;
651
- ldap: string;
652
- ad: string;
653
- "wechatmp-qrcode": string;
654
- };
655
- export const REGISTER_METHODS_MAP: any;
656
- export const HIDE_SOCIALS: string[];
657
- export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
658
- export enum ApplicationMfaType {
659
- SMS = "SMS",
660
- EMAIL = "EMAIL"
661
- }
662
- export const defaultGuardConfig: Partial<UserConfig>;
663
- export const defaultLocalesConfig: LocalesConfig;
664
- export const defaultHeaders: {
665
- 'userpool-id': string;
666
- 'app-id': string;
667
- 'tenant-id': string;
668
- 'sdk-version': string;
669
- 'request-from': string;
670
- lang: string;
671
- };
672
-
673
- }
674
- declare module '@authing/react-ui-components/components/AuthingGuard/hooks/index' {
675
- import { AuthenticationClient, AuthenticationClientOptions } from 'authing-js-sdk';
676
- export interface AuthClientConfig extends AuthenticationClientOptions {
677
- /**
678
- * @deprecated 使用 appHost
679
- */
680
- appDomain?: string;
681
- /**
682
- * @deprecated 无需传入
683
- */
684
- isSSO?: boolean;
685
- /**
686
- * @deprecated 使用 appHost
687
- */
688
- host?: string;
689
- }
690
- export const initAuthClient: (config: AuthClientConfig) => AuthenticationClient;
691
- export const useAuthing: (config?: AuthClientConfig | undefined) => {
692
- authClient: AuthenticationClient | null;
693
- };
694
- export const getAuthClient: (config?: AuthClientConfig | undefined) => AuthenticationClient | null;
695
-
696
- }
697
- declare module '@authing/react-ui-components/components/AuthingGuard/hooks/useScreenSize' {
698
- export enum ScreenSize {
699
- Mobile = "mobile",
700
- Desktop = "desktop"
701
- }
702
- export const SCREEN_SIZE_RANG: {
703
- size: ScreenSize;
704
- range: [number, number];
705
- }[];
706
- export const getScreenSize: () => ScreenSize | ScreenSize.Desktop;
707
- export const useScreenSize: () => ScreenSize[];
708
-
709
- }
710
- declare module '@authing/react-ui-components/components/AuthingGuard/index' {
711
- import { FC } from 'react';
712
- import { UserConfig, GuardEventsHandler } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
713
- import './style.less';
714
- interface AuthingGuardProps extends GuardEventsHandler {
715
- appId: string;
716
- tenantId?: string;
717
- config?: UserConfig;
718
- visible?: boolean;
719
- className?: string;
720
- id?: string;
721
- }
722
- export const AuthingGuard: FC<AuthingGuardProps>;
723
- export {};
724
-
725
- }
726
- declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms' {
727
- /// <reference types="react" />
728
- import { User } from 'authing-js-sdk';
729
- import { LoginMethods } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
730
- import { ResetPwdMethods } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
731
- export interface BaseFormProps extends React.HTMLAttributes<HTMLDivElement> {
732
- onSuccess?: (user: User) => void;
733
- onFail?: (error: any) => void;
734
- }
735
- export interface CompleteUserInfoFormProps extends BaseFormProps {
736
- }
737
- export interface PasswordLoginFormProps extends BaseFormProps {
738
- onValidateFail?: (error: any) => void;
739
- }
740
- export interface ADLoginFormProps extends BaseFormProps {
741
- onValidateFail?: (error: any) => void;
742
- }
743
- export interface PhoneCodeLoginFormProps extends BaseFormProps {
744
- onValidateFail?: (error: any) => void;
745
- }
746
- export interface LdapLoginFormProps extends BaseFormProps {
747
- onValidateFail?: (error: any) => void;
748
- }
749
- export interface QrLoginFormProps extends BaseFormProps {
750
- type: LoginMethods.AppQr | LoginMethods.WxMinQr | LoginMethods.WechatMpQrcode;
751
- idpId?: string;
752
- }
753
- export interface EmailRegisterFormProps extends BaseFormProps {
754
- onValidateFail?: (error: any) => void;
755
- }
756
- export interface PhoneRegisterFormProps extends BaseFormProps {
757
- onValidateFail?: (error: any) => void;
758
- }
759
- export interface ResetPasswordFormProps {
760
- onSuccess?: () => void;
761
- onFail?: (error: any) => void;
762
- }
763
- export interface ResetPasswordStep1Props {
764
- onSuccess: (resetMethod: ResetPwdMethods, val: string) => void;
765
- }
766
- export interface ResetPasswordStep2Props {
767
- phone: string;
768
- onSuccess: () => void;
769
- onFail?: (error: any) => void;
770
- }
771
- export interface ResetPasswordStep3Props {
772
- email: string;
773
- onSuccess: () => void;
774
- onFail?: (error: any) => void;
775
- }
776
- export interface SocialAndIdpLoginProps extends BaseFormProps {
777
- }
778
- export interface MfaVerifyForm extends BaseFormProps {
779
- goReset: () => void;
780
- }
781
- export interface SmsMFAVerifyFormProps extends BaseFormProps {
782
- phone?: string;
783
- mfaToken: string;
784
- sendCodeRef: React.RefObject<HTMLButtonElement>;
785
- }
786
- export interface SmsMFAFormProps extends BaseFormProps {
787
- }
788
- export interface MFACheckPhoneFormProps {
789
- mfaToken: string;
790
- onSuccess: (phone: string) => void;
791
- }
792
- export interface EmailMFAVerifyFormProps extends BaseFormProps {
793
- email?: string;
794
- mfaToken: string;
795
- sendCodeRef: React.RefObject<HTMLButtonElement>;
796
- }
797
- export interface EmailMFAFormProps extends BaseFormProps {
798
- }
799
- export interface MFACheckEmailFormProps {
800
- mfaToken: string;
801
- onSuccess: (email: string) => void;
802
- }
803
- export interface MfaResetForm extends BaseFormProps {
804
- goVerify: () => void;
805
- }
806
-
807
- }
808
- declare module '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig' {
809
- import { AuthenticationClient, AuthenticationClientOptions, CommonMessage, SocialConnectionProvider, User } from 'authing-js-sdk';
810
- import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
811
- import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement, QrcodeTabsSettings } from '@authing/react-ui-components/components/AuthingGuard/api/index';
812
- import { Lang } from '@authing/react-ui-components/components/AuthingGuard/types/Locales';
813
- export type { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
814
- export enum GuardMode {
815
- Modal = "modal",
816
- Normal = "normal"
817
- }
818
- export enum LoginMethods {
819
- LDAP = "ldap",
820
- AppQr = "app-qrcode",
821
- Password = "password",
822
- PhoneCode = "phone-code",
823
- WxMinQr = "wechat-miniprogram-qrcode",
824
- AD = "ad",
825
- WechatMpQrcode = "wechatmp-qrcode"
826
- }
827
- export enum RegisterMethods {
828
- Email = "email",
829
- Phone = "phone",
830
- EmailCode = "emailCode"
831
- }
832
- export enum GuardScenes {
833
- Login = "login",
834
- Register = "register",
835
- MfaVerify = "mfaVerify",
836
- AppMfaVerify = "appMfaVerify",
837
- RestPassword = "restPassword",
838
- CompleteUserInfo = "completeUserInfo"
839
- }
840
- export enum ResetPwdMethods {
841
- Email = "email",
842
- Phone = "phone"
843
- }
844
- export enum SocialConnections {
845
- Qq = "qq",
846
- Weibo = "weibo",
847
- Github = "github",
848
- Google = "google",
849
- WxPc = "wechat:pc",
850
- Dingtalk = "dingtalk",
851
- WxWCorpQr = "wechatwork:corp:qrconnect",
852
- WxWSPQr = "wechatwork:service-provider:qrconnect",
853
- WxWSPAuth = "wechatwork:service-provider:authorization",
854
- AlipayWeb = "alipay:web",
855
- AppleWeb = "apple:web",
856
- Baidu = "baidu",
857
- LarkInternalApp = "lark-internal",
858
- LarkMarketPlaceApp = "lark-public"
859
- }
860
- export enum Protocol {
861
- AD = "ad",
862
- CAS = "cas",
863
- LDAP = "ldap",
864
- OIDC = "oidc",
865
- SAML = "saml",
866
- OAUTH = "oauth",
867
- AZURE_AD = "azure-ad"
868
- }
869
- export const GuardEventsCamelToKebabMap: {
870
- readonly onLoad: "load";
871
- readonly onLoadError: "load-error";
872
- readonly onLogin: "login";
873
- readonly onBeforeLogin: "before-login";
874
- readonly onLoginError: "login-error";
875
- readonly onRegister: "register";
876
- readonly onBeforeRegister: "before-register";
877
- readonly onRegisterError: "register-error";
878
- readonly onPwdEmailSend: "pwd-email-send";
879
- readonly onPwdEmailSendError: "pwd-email-send-error";
880
- readonly onPwdPhoneSend: "pwd-phone-send";
881
- readonly onPwdPhoneSendError: "pwd-phone-send-error";
882
- readonly onPwdReset: "pwd-reset";
883
- readonly onPwdResetError: "pwd-reset-error";
884
- readonly onClose: "close";
885
- readonly onLoginTabChange: "login-tab-change";
886
- readonly onRegisterTabChange: "register-tab-change";
887
- readonly onRegisterInfoCompleted: "register-info-completed";
888
- readonly onRegisterInfoCompletedError: "register-info-completed-error";
889
- };
890
- export interface GuardEventsHandlerKebab {
891
- load: GuardEventsHandler['onLoad'];
892
- 'load-error': GuardEventsHandler['onLoadError'];
893
- 'before-login': GuardEventsHandler['onBeforeLogin'];
894
- login: GuardEventsHandler['onLogin'];
895
- 'login-error': GuardEventsHandler['onLoginError'];
896
- 'before-register': GuardEventsHandler['onBeforeRegister'];
897
- register: GuardEventsHandler['onRegister'];
898
- 'register-error': GuardEventsHandler['onRegisterError'];
899
- 'pwd-email-send': GuardEventsHandler['onPwdEmailSend'];
900
- 'pwd-email-send-error': GuardEventsHandler['onPwdEmailSendError'];
901
- 'pwd-phone-send': GuardEventsHandler['onPwdPhoneSend'];
902
- 'pwd-phone-send-error': GuardEventsHandler['onPwdPhoneSendError'];
903
- 'pwd-reset': GuardEventsHandler['onPwdReset'];
904
- 'pwd-reset-error': GuardEventsHandler['onPwdResetError'];
905
- close: GuardEventsHandler['onClose'];
906
- 'login-tab-change': GuardEventsHandler['onLoginTabChange'];
907
- 'register-tab-change': GuardEventsHandler['onRegisterTabChange'];
908
- 'register-info-completed': GuardEventsHandler['onRegisterInfoCompleted'];
909
- 'register-info-completed-error': GuardEventsHandler['onRegisterInfoCompletedError'];
910
- }
911
- export interface PasswordLoginParams {
912
- type: LoginMethods.Password;
913
- data: {
914
- identity: string;
915
- password: string;
916
- captchaCode?: string;
917
- };
918
- }
919
- export interface LDAPLoginParams {
920
- type: LoginMethods.LDAP;
921
- data: {
922
- identity: string;
923
- password: string;
924
- captchaCode?: string;
925
- };
926
- }
927
- export interface ADLoginParams {
928
- type: LoginMethods.AD;
929
- data: {
930
- identity: string;
931
- password: string;
932
- };
933
- }
934
- export interface PhoneCodeLoginParams {
935
- type: LoginMethods.PhoneCode;
936
- data: {
937
- phone: string;
938
- code: string;
939
- };
940
- }
941
- export interface EmailRegisterParams {
942
- type: RegisterMethods.Email;
943
- data: {
944
- email: string;
945
- password: string;
946
- };
947
- }
948
- export interface PhoneRegisterParams {
949
- type: RegisterMethods.Phone;
950
- data: {
951
- phone: string;
952
- password: string;
953
- code: string;
954
- };
955
- }
956
- export interface GuardEventsHandler {
957
- onLoad?: (authClient: AuthenticationClient) => void;
958
- onLoadError?: (error: CommonMessage) => void;
959
- onBeforeLogin?: (loginInfo: PasswordLoginParams | LDAPLoginParams | ADLoginParams | PhoneCodeLoginParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
960
- onLogin?: (user: User, authClient: AuthenticationClient) => void;
961
- onLoginError?: (user: User, authClient: AuthenticationClient) => void;
962
- onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
963
- onRegister?: (user: User, authClient: AuthenticationClient) => void;
964
- onRegisterError?: (user: User, authClient: AuthenticationClient) => void;
965
- onPwdEmailSend?: (authClient: AuthenticationClient) => void;
966
- onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
967
- onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
968
- onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
969
- onPwdReset?: (authClient: AuthenticationClient) => void;
970
- onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
971
- onClose?: () => void;
972
- onLoginTabChange?: (activeTab: LoginMethods) => void;
973
- onRegisterTabChange?: (activeTab: RegisterMethods) => void;
974
- onRegisterInfoCompleted?: (user: User, udfs: {
975
- definition: any;
976
- value: any;
977
- }[], authClient: AuthenticationClient) => void;
978
- onRegisterInfoCompletedError?: (error: CommonMessage, udfs: {
979
- definition: any;
980
- value: any;
981
- }[], authClient: AuthenticationClient) => void;
982
- }
983
- export interface UserConfig {
984
- logo?: string;
985
- title?: string;
986
- description?: string;
987
- zIndex?: number;
988
- isSSO?: boolean;
989
- mode?: GuardMode;
990
- /**
991
- * @deprecated 使用 appHost
992
- */
993
- apiHost?: string;
994
- /**
995
- * @deprecated 使用 appHost
996
- */
997
- appDomain?: string;
998
- appHost?: string;
999
- contentCss?: string;
1000
- text?: {
1001
- loginBtn?: {
1002
- normal?: string;
1003
- loading?: string;
1004
- };
1005
- registerBtn?: {
1006
- normal?: string;
1007
- loading?: string;
1008
- };
1009
- loginTabs?: Partial<Record<LoginMethods, string>>;
1010
- };
1011
- escCloseable?: boolean;
1012
- autoRegister?: boolean;
1013
- clickCloseable?: boolean;
1014
- disableResetPwd?: boolean;
1015
- disableRegister?: boolean;
1016
- defaultScenes?: GuardScenes;
1017
- loginMethods?: LoginMethods[];
1018
- target?: string | HTMLElement;
1019
- enterpriseConnections?: string[];
1020
- defaultLoginMethod?: LoginMethods;
1021
- registerMethods?: RegisterMethods[];
1022
- socialConnections?: (SocialConnections | SocialConnectionProvider)[];
1023
- defaultRegisterMethod?: RegisterMethods;
1024
- qrCodeScanOptions?: Parameters<QrCodeAuthenticationClient['startScanning']>[1];
1025
- /**
1026
- * 国际化处理
1027
- */
1028
- localesConfig?: LocalesConfig;
1029
- lang?: Lang;
1030
- /**
1031
- * 用于去品牌化
1032
- */
1033
- headers?: AuthenticationClientOptions['headers'];
1034
- passwordLoginMethods?: PasswordLoginMethods[];
1035
- }
1036
- export interface GuardConfig extends UserConfig {
1037
- socialConnectionObjs: SocialConnectionItem[];
1038
- enterpriseConnectionObjs: EnterpriseConnectionItem[];
1039
- extendsFields: ApplicationConfig['extendsFields'];
1040
- publicKey: ApplicationConfig['publicKey'];
1041
- agreementEnabled: boolean;
1042
- agreements: Agreement[];
1043
- loginMethodTitleMapping: Record<string, string>;
1044
- qrcodeTabsSettings: QrcodeTabsSettings;
1045
- }
1046
- export interface LocalesConfig {
1047
- defaultLang?: Lang;
1048
- isShowChange?: boolean;
1049
- onChange?: (lang: Lang) => void;
1050
- }
1051
-
1052
- }
1053
- declare module '@authing/react-ui-components/components/AuthingGuard/types/GuardState' {
1054
- import { LoginMethods, RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
1055
- import { GuardScenes } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
1056
- export interface ActiveTabs {
1057
- [GuardScenes.Login]: LoginMethods;
1058
- [GuardScenes.Register]: RegisterMethods;
1059
- }
1060
-
1061
- }
1062
- declare module '@authing/react-ui-components/components/AuthingGuard/types/Locales' {
1063
- export type Lang = 'zh-CN' | 'en-US';
1064
- export const LANG_MAP: {
1065
- label: string;
1066
- value: string;
1067
- }[];
1068
-
1069
- }
1070
- declare module '@authing/react-ui-components/components/AuthingGuard/types/index' {
1071
- export * from '@authing/react-ui-components/components/AuthingGuard/types/Forms';
1072
- export * from '@authing/react-ui-components/components/AuthingGuard/types/GuardState';
1073
- export * from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
1074
- export * from '@authing/react-ui-components/components/AuthingGuard/types/Locales';
1075
-
1076
- }
1077
- declare module '@authing/react-ui-components/components/AuthingTabs/index' {
1078
- import React, { FC } from 'react';
1079
- import './style.less';
1080
- export interface AuthingTabsProps extends React.HTMLAttributes<HTMLDivElement> {
1081
- activeKey?: string;
1082
- onTabClick: (key: string) => void;
1083
- showLen?: number;
1084
- tabs: {
1085
- key: string;
1086
- label: string;
1087
- component: JSX.Element;
1088
- }[];
1089
- }
1090
- export const AuthingTabs: FC<AuthingTabsProps>;
1091
-
1092
- }
1093
- declare module '@authing/react-ui-components/components/Back/index' {
21
+ declare module '@authing/react-ui-components/Back/index' {
1094
22
  import React from 'react';
1095
23
  import './styles.less';
1096
24
  export interface BackProps {
@@ -1103,15 +31,15 @@ declare module '@authing/react-ui-components/components/Back/index' {
1103
31
  export const BackCustom: React.FC<BackCustomProps>;
1104
32
 
1105
33
  }
1106
- declare module '@authing/react-ui-components/components/BindTotp/businessRequest' {
34
+ declare module '@authing/react-ui-components/BindTotp/businessRequest' {
1107
35
  export enum BindTotpBusinessAction {
1108
36
  VerifyTotpFirstTime = "verify-totp-first-time",
1109
37
  ConfirmTotpRecoveryCode = "confirm-totp-recovery-code"
1110
38
  }
1111
- export const authFlow: (action: BindTotpBusinessAction, content: any) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
39
+ export const authFlow: (action: BindTotpBusinessAction, content: any) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1112
40
 
1113
41
  }
1114
- declare module '@authing/react-ui-components/components/BindTotp/core/bindSuccess' {
42
+ declare module '@authing/react-ui-components/BindTotp/core/bindSuccess' {
1115
43
  import React from 'react';
1116
44
  export interface BindSuccessProps {
1117
45
  onBind: any;
@@ -1120,7 +48,7 @@ declare module '@authing/react-ui-components/components/BindTotp/core/bindSucces
1120
48
  export const BindSuccess: React.FC<BindSuccessProps>;
1121
49
 
1122
50
  }
1123
- declare module '@authing/react-ui-components/components/BindTotp/core/securityCode' {
51
+ declare module '@authing/react-ui-components/BindTotp/core/securityCode' {
1124
52
  import React from 'react';
1125
53
  export interface SecurityCodeProps {
1126
54
  mfaToken: string;
@@ -1131,16 +59,16 @@ declare module '@authing/react-ui-components/components/BindTotp/core/securityCo
1131
59
  export const SecurityCode: React.FC<SecurityCodeProps>;
1132
60
 
1133
61
  }
1134
- declare module '@authing/react-ui-components/components/BindTotp/index' {
62
+ declare module '@authing/react-ui-components/BindTotp/index' {
1135
63
  import React from 'react';
1136
64
  import './styles.less';
1137
65
  export const GuardBindTotpView: React.FC;
1138
66
 
1139
67
  }
1140
- declare module '@authing/react-ui-components/components/BindTotp/interface' {
1141
- import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1142
- import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1143
- import { GuardMFAInitData } from '@authing/react-ui-components/components/MFA/interface';
68
+ declare module '@authing/react-ui-components/BindTotp/interface' {
69
+ import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
70
+ import { GuardMFAInitData } from '@authing/react-ui-components/MFA/interface';
71
+ import { AuthenticationClient, User } from 'authing-js-sdk';
1144
72
  export interface BindTotpConfig extends IG2Config {
1145
73
  autoRegister: boolean;
1146
74
  }
@@ -1160,12 +88,12 @@ declare module '@authing/react-ui-components/components/BindTotp/interface' {
1160
88
  }
1161
89
 
1162
90
  }
1163
- declare module '@authing/react-ui-components/components/ChangeLanguage/index' {
91
+ declare module '@authing/react-ui-components/ChangeLanguage/index' {
1164
92
  /// <reference types="react" />
1165
93
  export const ChangeLanguage: (props: any) => JSX.Element | null;
1166
94
 
1167
95
  }
1168
- declare module '@authing/react-ui-components/components/ChangePassword/businessRequest' {
96
+ declare module '@authing/react-ui-components/ChangePassword/businessRequest' {
1169
97
  export enum ChangePasswordBusinessAction {
1170
98
  ResetPassword = "reset-password-first-time",
1171
99
  FirstLoginReset = "reset-password-forced",
@@ -1174,10 +102,10 @@ declare module '@authing/react-ui-components/components/ChangePassword/businessR
1174
102
  export const authFlow: (action: ChangePasswordBusinessAction, content: {
1175
103
  password: string;
1176
104
  oldPassword?: string;
1177
- }) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
105
+ }) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1178
106
 
1179
107
  }
1180
- declare module '@authing/react-ui-components/components/ChangePassword/core/PasswordNotSafeReset' {
108
+ declare module '@authing/react-ui-components/ChangePassword/core/PasswordNotSafeReset' {
1181
109
  import React from 'react';
1182
110
  interface PasswordNotSafeResetProps {
1183
111
  onReset: any;
@@ -1186,12 +114,12 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/Pass
1186
114
  export {};
1187
115
 
1188
116
  }
1189
- declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
117
+ declare module '@authing/react-ui-components/ChangePassword/core/completePassword' {
1190
118
  import React from 'react';
1191
119
  export const CompletePassword: React.FC;
1192
120
 
1193
121
  }
1194
- declare module '@authing/react-ui-components/components/ChangePassword/core/firstLoginReset' {
122
+ declare module '@authing/react-ui-components/ChangePassword/core/firstLoginReset' {
1195
123
  import React from 'react';
1196
124
  interface FirstLoginResetProps {
1197
125
  onReset: any;
@@ -1200,7 +128,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/firs
1200
128
  export {};
1201
129
 
1202
130
  }
1203
- declare module '@authing/react-ui-components/components/ChangePassword/core/rotateReset' {
131
+ declare module '@authing/react-ui-components/ChangePassword/core/rotateReset' {
1204
132
  /// <reference types="react" />
1205
133
  interface RotateResetProps {
1206
134
  onReset: any;
@@ -1210,7 +138,7 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/rota
1210
138
  export {};
1211
139
 
1212
140
  }
1213
- declare module '@authing/react-ui-components/components/ChangePassword/index' {
141
+ declare module '@authing/react-ui-components/ChangePassword/index' {
1214
142
  import React from 'react';
1215
143
  export const GuardChangePassword: React.FC<{
1216
144
  title: string;
@@ -1223,21 +151,21 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
1223
151
  export const GuardRegisterCompletePasswordView: React.FC;
1224
152
 
1225
153
  }
1226
- declare module '@authing/react-ui-components/components/CompleteInfo/businessRequest' {
154
+ declare module '@authing/react-ui-components/CompleteInfo/businessRequest' {
1227
155
  import { User } from 'authing-js-sdk';
1228
- import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/components/CompleteInfo/interface';
156
+ import { CompleteInfoRequest, RegisterCompleteInfoInitData } from '@authing/react-ui-components/CompleteInfo/interface';
1229
157
  export enum CompleteInfoAuthFlowAction {
1230
158
  Complete = "complete-completion",
1231
159
  Skip = "skip-completion"
1232
160
  }
1233
- export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1234
- export const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>> | Promise<User> | undefined;
1235
- export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<User | import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> | undefined>;
161
+ export const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
162
+ export const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>> | Promise<User> | undefined;
163
+ export const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<User | import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any> | undefined>;
1236
164
 
1237
165
  }
1238
- declare module '@authing/react-ui-components/components/CompleteInfo/core/completeInfo' {
166
+ declare module '@authing/react-ui-components/CompleteInfo/core/completeInfo' {
1239
167
  import React from 'react';
1240
- import { CompleteInfoMetaData, CompleteInfoRequest } from '@authing/react-ui-components/components/CompleteInfo/interface';
168
+ import { CompleteInfoMetaData, CompleteInfoRequest } from '@authing/react-ui-components/CompleteInfo/interface';
1241
169
  export interface CompleteInfoProps {
1242
170
  metaData: CompleteInfoMetaData[];
1243
171
  businessRequest: (data: CompleteInfoRequest) => Promise<void>;
@@ -1249,11 +177,11 @@ declare module '@authing/react-ui-components/components/CompleteInfo/core/comple
1249
177
  export const CompleteInfo: React.FC<CompleteInfoProps>;
1250
178
 
1251
179
  }
1252
- declare module '@authing/react-ui-components/components/CompleteInfo/index' {
180
+ declare module '@authing/react-ui-components/CompleteInfo/index' {
1253
181
  import React from 'react';
1254
- import { CompleteInfoMetaData, CompleteInfoRequest } from '@authing/react-ui-components/components/CompleteInfo/interface';
182
+ import { CompleteInfoMetaData, CompleteInfoRequest } from '@authing/react-ui-components/CompleteInfo/interface';
1255
183
  import './styles.less';
1256
- import { CompleteInfoAuthFlowAction } from '@authing/react-ui-components/components/CompleteInfo/businessRequest';
184
+ import { CompleteInfoAuthFlowAction } from '@authing/react-ui-components/CompleteInfo/businessRequest';
1257
185
  export const GuardCompleteInfo: React.FC<{
1258
186
  metaData: CompleteInfoMetaData[];
1259
187
  skipComplateFileds: boolean;
@@ -1263,9 +191,9 @@ declare module '@authing/react-ui-components/components/CompleteInfo/index' {
1263
191
  export const GuardRegisterCompleteInfoView: React.FC;
1264
192
 
1265
193
  }
1266
- declare module '@authing/react-ui-components/components/CompleteInfo/interface' {
194
+ declare module '@authing/react-ui-components/CompleteInfo/interface' {
1267
195
  import { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
1268
- import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
196
+ import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
1269
197
  export interface CompleteInfoConfig extends IG2Config {
1270
198
  }
1271
199
  export const getDefaultCompleteInfoConfig: () => CompleteInfoConfig;
@@ -1365,12 +293,12 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1365
293
  }
1366
294
 
1367
295
  }
1368
- declare module '@authing/react-ui-components/components/CompleteInfo/utils' {
296
+ declare module '@authing/react-ui-components/CompleteInfo/utils' {
1369
297
  import { User } from 'authing-js-sdk';
1370
- import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1371
- import { CompleteInfoMetaData, ExtendsField } from '@authing/react-ui-components/components/CompleteInfo/interface';
298
+ import { CompleteInfoMetaData, ExtendsField } from '@authing/react-ui-components/CompleteInfo/interface';
299
+ import { ApplicationConfig } from '@authing/react-ui-components/Type/application';
1372
300
  export const completeFieldsFilter: (user: User, field: ExtendsField) => boolean;
1373
- export const extendsFieldsToMetaData: (extendsFields: import("@authing/react-ui-components/components/AuthingGuard/api/index").ExtendsField[] | undefined, selectOptions: {
301
+ export const extendsFieldsToMetaData: (extendsFields: import("@authing/react-ui-components/Type/application").ExtendsField[] | undefined, selectOptions: {
1374
302
  key: string;
1375
303
  options: {
1376
304
  value: string;
@@ -1384,7 +312,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/utils' {
1384
312
  }[] | undefined) => Record<string, any>;
1385
313
 
1386
314
  }
1387
- declare module '@authing/react-ui-components/components/CopyAbleText/index' {
315
+ declare module '@authing/react-ui-components/CopyAbleText/index' {
1388
316
  import React, { FC } from 'react';
1389
317
  import './style.less';
1390
318
  export interface CopyTextProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1392,14 +320,14 @@ declare module '@authing/react-ui-components/components/CopyAbleText/index' {
1392
320
  export const CopyAbleText: FC<CopyTextProps>;
1393
321
 
1394
322
  }
1395
- declare module '@authing/react-ui-components/components/DownloadAuthenticator/index' {
323
+ declare module '@authing/react-ui-components/DownloadAuthenticator/index' {
1396
324
  import React from 'react';
1397
325
  import './styles.less';
1398
326
  export const GuardDownloadATView: React.FC;
1399
327
 
1400
328
  }
1401
- declare module '@authing/react-ui-components/components/DownloadAuthenticator/interface' {
1402
- import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
329
+ declare module '@authing/react-ui-components/DownloadAuthenticator/interface' {
330
+ import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
1403
331
  export interface DownloadATConfig extends IG2Config {
1404
332
  }
1405
333
  export const getDefaultDownloadAuthenticatorConfig: () => DownloadATConfig;
@@ -1413,7 +341,7 @@ declare module '@authing/react-ui-components/components/DownloadAuthenticator/in
1413
341
  }
1414
342
 
1415
343
  }
1416
- declare module '@authing/react-ui-components/components/Error/index' {
344
+ declare module '@authing/react-ui-components/Error/index' {
1417
345
  import React from 'react';
1418
346
  import './styles.less';
1419
347
  export interface ErrorProps {
@@ -1422,7 +350,7 @@ declare module '@authing/react-ui-components/components/Error/index' {
1422
350
  export const GuardErrorView: React.FC<ErrorProps>;
1423
351
 
1424
352
  }
1425
- declare module '@authing/react-ui-components/components/Error/interface' {
353
+ declare module '@authing/react-ui-components/Error/interface' {
1426
354
  export interface ErrorInitData {
1427
355
  error?: Error;
1428
356
  }
@@ -1433,7 +361,7 @@ declare module '@authing/react-ui-components/components/Error/interface' {
1433
361
  }
1434
362
 
1435
363
  }
1436
- declare module '@authing/react-ui-components/components/ForgetPassword/core/resetPassword' {
364
+ declare module '@authing/react-ui-components/ForgetPassword/core/resetPassword' {
1437
365
  /// <reference types="react" />
1438
366
  export enum InputMethodMap {
1439
367
  email = "email-code",
@@ -1449,14 +377,14 @@ declare module '@authing/react-ui-components/components/ForgetPassword/core/rese
1449
377
  export {};
1450
378
 
1451
379
  }
1452
- declare module '@authing/react-ui-components/components/ForgetPassword/index' {
380
+ declare module '@authing/react-ui-components/ForgetPassword/index' {
1453
381
  import React from 'react';
1454
382
  export const GuardForgetPassword: React.FC;
1455
383
 
1456
384
  }
1457
- declare module '@authing/react-ui-components/components/ForgetPassword/interface' {
1458
- import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
1459
- import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
385
+ declare module '@authing/react-ui-components/ForgetPassword/interface' {
386
+ import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
387
+ import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/Type/index';
1460
388
  export interface ForgetPasswordEvents extends IG2Events {
1461
389
  onPwdEmailSend?: (authClient: AuthenticationClient) => void;
1462
390
  onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
@@ -1475,10 +403,10 @@ declare module '@authing/react-ui-components/components/ForgetPassword/interface
1475
403
  }
1476
404
 
1477
405
  }
1478
- declare module '@authing/react-ui-components/components/Guard/Guard' {
1479
- import { GuardEvents } from '@authing/react-ui-components/components/Guard/event';
1480
- import { GuardAppendConfig, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1481
- import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
406
+ declare module '@authing/react-ui-components/Guard/Guard' {
407
+ import { GuardEvents } from '@authing/react-ui-components/Guard/event';
408
+ import { GuardAppendConfig, IG2FCProps } from '@authing/react-ui-components/Type/index';
409
+ import { GuardLocalConfig } from '@authing/react-ui-components/Guard/config';
1482
410
  import 'moment/locale/zh-cn';
1483
411
  import React from 'react';
1484
412
  export interface GuardProps extends GuardEvents, IG2FCProps {
@@ -1488,9 +416,9 @@ declare module '@authing/react-ui-components/components/Guard/Guard' {
1488
416
  export const Guard: React.MemoExoticComponent<(props: GuardProps) => JSX.Element>;
1489
417
 
1490
418
  }
1491
- declare module '@authing/react-ui-components/components/Guard/GuardModule/stateMachine' {
1492
- import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
1493
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
419
+ declare module '@authing/react-ui-components/Guard/GuardModule/stateMachine' {
420
+ import { GuardLocalConfig } from '@authing/react-ui-components/Guard/config';
421
+ import { GuardModuleType } from '@authing/react-ui-components/Guard/module';
1494
422
  export interface ModuleState {
1495
423
  moduleName: GuardModuleType;
1496
424
  initData?: any;
@@ -1529,9 +457,9 @@ declare module '@authing/react-ui-components/components/Guard/GuardModule/stateM
1529
457
  export const useGuardStateMachine: () => GuardStateMachine;
1530
458
 
1531
459
  }
1532
- declare module '@authing/react-ui-components/components/Guard/authClient' {
460
+ declare module '@authing/react-ui-components/Guard/authClient' {
1533
461
  import { AuthenticationClient } from 'authing-js-sdk';
1534
- import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
462
+ import { GuardLocalConfig } from '@authing/react-ui-components/Guard/config';
1535
463
  let authClient: AuthenticationClient;
1536
464
  export const initGuardAuthClient: (config: GuardLocalConfig, appId: string, tenantId?: string | undefined) => AuthenticationClient;
1537
465
  export const useInitGuardAuthClient: (props: {
@@ -1546,11 +474,11 @@ declare module '@authing/react-ui-components/components/Guard/authClient' {
1546
474
  export {};
1547
475
 
1548
476
  }
1549
- declare module '@authing/react-ui-components/components/Guard/config' {
477
+ declare module '@authing/react-ui-components/Guard/config' {
1550
478
  import { ReactNode } from 'react';
1551
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
1552
- import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
1553
- import { RegisterConfig } from '@authing/react-ui-components/components/Register/interface';
479
+ import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
480
+ import { LoginConfig } from '@authing/react-ui-components/Login/interface';
481
+ import { RegisterConfig } from '@authing/react-ui-components/Register/interface';
1554
482
  export interface GuardComponentConfig extends Partial<GuardLocalConfig> {
1555
483
  }
1556
484
  export enum QrCodeScanType {
@@ -1576,10 +504,10 @@ declare module '@authing/react-ui-components/components/Guard/config' {
1576
504
  export const getDefaultGuardLocalConfig: () => GuardLocalConfig;
1577
505
 
1578
506
  }
1579
- declare module '@authing/react-ui-components/components/Guard/core/index' {
507
+ declare module '@authing/react-ui-components/Guard/core/index' {
1580
508
  /// <reference types="react" />
1581
- import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
1582
- import { ModuleState } from '@authing/react-ui-components/components/Guard/GuardModule/stateMachine';
509
+ import { GuardProps } from '@authing/react-ui-components/Guard/index';
510
+ import { ModuleState } from '@authing/react-ui-components/Guard/GuardModule/stateMachine';
1583
511
  export interface GuardCoreProps {
1584
512
  guardProps: GuardProps;
1585
513
  initState: ModuleState;
@@ -1587,19 +515,19 @@ declare module '@authing/react-ui-components/components/Guard/core/index' {
1587
515
  export const GuardCore: (props: GuardCoreProps) => JSX.Element;
1588
516
 
1589
517
  }
1590
- declare module '@authing/react-ui-components/components/Guard/core/renderContext' {
1591
- import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
518
+ declare module '@authing/react-ui-components/Guard/core/renderContext' {
519
+ import { GuardProps } from '@authing/react-ui-components/Guard/index';
1592
520
  import React from 'react';
1593
- import { ModuleState } from '@authing/react-ui-components/components/Guard/GuardModule/stateMachine';
521
+ import { ModuleState } from '@authing/react-ui-components/Guard/GuardModule/stateMachine';
1594
522
  export const RenderContext: React.FC<{
1595
523
  guardProps: GuardProps;
1596
524
  initState: ModuleState;
1597
525
  }>;
1598
526
 
1599
527
  }
1600
- declare module '@authing/react-ui-components/components/Guard/core/renderModule' {
528
+ declare module '@authing/react-ui-components/Guard/core/renderModule' {
1601
529
  import React from 'react';
1602
- import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
530
+ import { GuardProps } from '@authing/react-ui-components/Guard/index';
1603
531
  import '../styles.less';
1604
532
  export enum LangMAP {
1605
533
  zhCn = "zh-CN",
@@ -1610,27 +538,27 @@ declare module '@authing/react-ui-components/components/Guard/core/renderModule'
1610
538
  }>;
1611
539
 
1612
540
  }
1613
- declare module '@authing/react-ui-components/components/Guard/core/useAppendConfig' {
1614
- import { GuardAppendConfig } from '@authing/react-ui-components/components/index';
541
+ declare module '@authing/react-ui-components/Guard/core/useAppendConfig' {
542
+ import { GuardAppendConfig } from '@authing/react-ui-components/index';
1615
543
  export const getGuardWindow: () => (Window & typeof globalThis) | undefined;
1616
544
  export const useGuardWindow: () => (Window & typeof globalThis) | undefined;
1617
- export const useInitGuardAppendConfig: (appId?: string | undefined, appendConfig?: GuardAppendConfig | undefined) => void;
545
+ export const useInitGuardAppendConfig: (setForceUpdate: any, appId?: string | undefined, appendConfig?: GuardAppendConfig | undefined) => void;
1618
546
 
1619
547
  }
1620
- declare module '@authing/react-ui-components/components/Guard/core/usePlugin' {
1621
- import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
548
+ declare module '@authing/react-ui-components/Guard/core/usePlugin' {
549
+ import { FacePlugin } from '@authing/react-ui-components/_utils/facePlugin/interface';
1622
550
  export const useGuardPlugin: any;
1623
551
  export const useGuardFacePlugin: (facePlugin?: FacePlugin | undefined) => boolean;
1624
552
 
1625
553
  }
1626
- declare module '@authing/react-ui-components/components/Guard/event' {
1627
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
1628
- import { CompleteInfoEvents } from '@authing/react-ui-components/components/CompleteInfo/interface';
1629
- import { ForgetPasswordEvents } from '@authing/react-ui-components/components/ForgetPassword/interface';
1630
- import { IdentityBindingEvents } from '@authing/react-ui-components/components/IdentityBinding/interface';
1631
- import { IdentityBindingAskEvents } from '@authing/react-ui-components/components/IdentityBindingAsk/index';
1632
- import { LoginEvents } from '@authing/react-ui-components/components/Login/interface';
1633
- import { RegisterEvents } from '@authing/react-ui-components/components/Register/interface';
554
+ declare module '@authing/react-ui-components/Guard/event' {
555
+ import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
556
+ import { CompleteInfoEvents } from '@authing/react-ui-components/CompleteInfo/interface';
557
+ import { ForgetPasswordEvents } from '@authing/react-ui-components/ForgetPassword/interface';
558
+ import { IdentityBindingEvents } from '@authing/react-ui-components/IdentityBinding/interface';
559
+ import { IdentityBindingAskEvents } from '@authing/react-ui-components/IdentityBindingAsk/index';
560
+ import { LoginEvents } from '@authing/react-ui-components/Login/interface';
561
+ import { RegisterEvents } from '@authing/react-ui-components/Register/interface';
1634
562
  export interface GuardEvents extends LoginEvents, RegisterEvents, CompleteInfoEvents, ForgetPasswordEvents, IdentityBindingEvents, IdentityBindingAskEvents {
1635
563
  onBeforeChangeModule?: (key: GuardModuleType, initData?: any) => boolean | Promise<boolean>;
1636
564
  }
@@ -1682,14 +610,14 @@ declare module '@authing/react-ui-components/components/Guard/event' {
1682
610
  }
1683
611
 
1684
612
  }
1685
- declare module '@authing/react-ui-components/components/Guard/index' {
1686
- export * from '@authing/react-ui-components/components/Guard/Guard';
1687
- export * from '@authing/react-ui-components/components/Guard/module';
1688
- export * from '@authing/react-ui-components/components/Guard/event';
1689
- export * from '@authing/react-ui-components/components/Guard/config';
613
+ declare module '@authing/react-ui-components/Guard/index' {
614
+ export * from '@authing/react-ui-components/Guard/Guard';
615
+ export * from '@authing/react-ui-components/Guard/module';
616
+ export * from '@authing/react-ui-components/Guard/event';
617
+ export * from '@authing/react-ui-components/Guard/config';
1690
618
 
1691
619
  }
1692
- declare module '@authing/react-ui-components/components/Guard/module' {
620
+ declare module '@authing/react-ui-components/Guard/module' {
1693
621
  export enum GuardModuleType {
1694
622
  ERROR = "error",
1695
623
  LOGIN = "login",
@@ -1720,8 +648,8 @@ declare module '@authing/react-ui-components/components/Guard/module' {
1720
648
  }
1721
649
 
1722
650
  }
1723
- declare module '@authing/react-ui-components/components/Guard/sso' {
1724
- import { User } from '@authing/react-ui-components/components/index';
651
+ declare module '@authing/react-ui-components/Guard/sso' {
652
+ import { User } from 'authing-js-sdk';
1725
653
  export interface SessionData {
1726
654
  session: null | {
1727
655
  _id: string;
@@ -1739,10 +667,10 @@ declare module '@authing/react-ui-components/components/Guard/sso' {
1739
667
  };
1740
668
  userInfo?: User;
1741
669
  }
1742
- export const trackSession: () => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<SessionData>>;
670
+ export const trackSession: () => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<SessionData>>;
1743
671
 
1744
672
  }
1745
- declare module '@authing/react-ui-components/components/GuardButton/GuardButton' {
673
+ declare module '@authing/react-ui-components/GuardButton/GuardButton' {
1746
674
  import React from 'react';
1747
675
  import { ButtonProps } from 'antd/lib/button';
1748
676
  import './styles.less';
@@ -1751,15 +679,15 @@ declare module '@authing/react-ui-components/components/GuardButton/GuardButton'
1751
679
  export const GuardButton: React.FC<GuardButtonProps>;
1752
680
 
1753
681
  }
1754
- declare module '@authing/react-ui-components/components/GuardButton/index' {
1755
- export * from '@authing/react-ui-components/components/GuardButton/GuardButton';
682
+ declare module '@authing/react-ui-components/GuardButton/index' {
683
+ export * from '@authing/react-ui-components/GuardButton/GuardButton';
1756
684
 
1757
685
  }
1758
- declare module '@authing/react-ui-components/components/IconFont/iconfont' {
686
+ declare module '@authing/react-ui-components/IconFont/iconfont' {
1759
687
  export const GenerateSvg: (guardDocument: Document, svgString: string) => void;
1760
688
 
1761
689
  }
1762
- declare module '@authing/react-ui-components/components/IconFont/index' {
690
+ declare module '@authing/react-ui-components/IconFont/index' {
1763
691
  import React, { FC } from 'react';
1764
692
  import './iconfont';
1765
693
  import './style.less';
@@ -1770,17 +698,17 @@ declare module '@authing/react-ui-components/components/IconFont/index' {
1770
698
  }>;
1771
699
 
1772
700
  }
1773
- declare module '@authing/react-ui-components/components/IconFont/useGuardIconfont' {
701
+ declare module '@authing/react-ui-components/IconFont/useGuardIconfont' {
1774
702
  export const useGuardIconfont: (cdnBase?: string | undefined, setError?: any) => boolean;
1775
703
 
1776
704
  }
1777
- declare module '@authing/react-ui-components/components/IdentityBinding/IdentityBinding' {
705
+ declare module '@authing/react-ui-components/IdentityBinding/IdentityBinding' {
1778
706
  import React from 'react';
1779
707
  import './styles.less';
1780
708
  export const GuardIdentityBindingView: React.FC;
1781
709
 
1782
710
  }
1783
- declare module '@authing/react-ui-components/components/IdentityBinding/businessRequest' {
711
+ declare module '@authing/react-ui-components/IdentityBinding/businessRequest' {
1784
712
  export enum IdentityBindingBusinessAction {
1785
713
  PhoneCode = "phone-code",
1786
714
  EmailCode = "emial-code",
@@ -1806,26 +734,26 @@ declare module '@authing/react-ui-components/components/IdentityBinding/business
1806
734
  BindByPhoneCode = "bind-identity-by-phone-code",
1807
735
  BindByEmailCode = "bind-identity-by-email-code"
1808
736
  }
1809
- export const PhoneCode: (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1810
- export const EmailCode: (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1811
- export const Password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
737
+ export const PhoneCode: (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
738
+ export const EmailCode: (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
739
+ export const Password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1812
740
  export const useIdentityBindingBusinessRequest: () => {
1813
- "phone-code": (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1814
- "emial-code": (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1815
- password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
741
+ "phone-code": (params: PhoneCodeParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
742
+ "emial-code": (params: EmailCodeParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
743
+ password: (params: PasswordParams) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1816
744
  };
1817
745
 
1818
746
  }
1819
- declare module '@authing/react-ui-components/components/IdentityBinding/index' {
1820
- export * from '@authing/react-ui-components/components/IdentityBinding/IdentityBinding';
1821
- export * from '@authing/react-ui-components/components/IdentityBinding/interface';
747
+ declare module '@authing/react-ui-components/IdentityBinding/index' {
748
+ export * from '@authing/react-ui-components/IdentityBinding/IdentityBinding';
749
+ export * from '@authing/react-ui-components/IdentityBinding/interface';
1822
750
 
1823
751
  }
1824
- declare module '@authing/react-ui-components/components/IdentityBinding/interface' {
1825
- import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/index';
1826
- import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1827
- import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1828
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
752
+ declare module '@authing/react-ui-components/IdentityBinding/interface' {
753
+ import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/index';
754
+ import { AuthenticationClient, User } from 'authing-js-sdk';
755
+ import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
756
+ import { Agreement } from '@authing/react-ui-components/Type/application';
1829
757
  export interface IdentityBindingConfig extends IG2Config {
1830
758
  autoRegister?: boolean;
1831
759
  publicKey?: string;
@@ -1851,20 +779,20 @@ declare module '@authing/react-ui-components/components/IdentityBinding/interfac
1851
779
  }
1852
780
 
1853
781
  }
1854
- declare module '@authing/react-ui-components/components/IdentityBindingAsk/IdentityBindingAsk' {
782
+ declare module '@authing/react-ui-components/IdentityBindingAsk/IdentityBindingAsk' {
1855
783
  import React from 'react';
1856
784
  import './styles.less';
1857
785
  export const GuardIdentityBindingAskView: React.FC;
1858
786
 
1859
787
  }
1860
- declare module '@authing/react-ui-components/components/IdentityBindingAsk/index' {
1861
- export * from '@authing/react-ui-components/components/IdentityBindingAsk/IdentityBindingAsk';
1862
- export * from '@authing/react-ui-components/components/IdentityBindingAsk/interface';
788
+ declare module '@authing/react-ui-components/IdentityBindingAsk/index' {
789
+ export * from '@authing/react-ui-components/IdentityBindingAsk/IdentityBindingAsk';
790
+ export * from '@authing/react-ui-components/IdentityBindingAsk/interface';
1863
791
 
1864
792
  }
1865
- declare module '@authing/react-ui-components/components/IdentityBindingAsk/interface' {
1866
- import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1867
- import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/index';
793
+ declare module '@authing/react-ui-components/IdentityBindingAsk/interface' {
794
+ import { AuthenticationClient, User } from 'authing-js-sdk';
795
+ import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/index';
1868
796
  export interface IdentityBindingAskConfig extends IG2Config {
1869
797
  }
1870
798
  export interface IdentityBindingAskEvents extends IG2Events {
@@ -1886,7 +814,7 @@ declare module '@authing/react-ui-components/components/IdentityBindingAsk/inter
1886
814
  }
1887
815
 
1888
816
  }
1889
- declare module '@authing/react-ui-components/components/ImagePro/index' {
817
+ declare module '@authing/react-ui-components/ImagePro/index' {
1890
818
  import React from 'react';
1891
819
  import './styles.less';
1892
820
  export interface ImageProProps extends React.ImgHTMLAttributes<HTMLImageElement> {
@@ -1903,7 +831,7 @@ declare module '@authing/react-ui-components/components/ImagePro/index' {
1903
831
  export const ImagePro: (props: ImageProProps) => JSX.Element;
1904
832
 
1905
833
  }
1906
- declare module '@authing/react-ui-components/components/InputNumber/index' {
834
+ declare module '@authing/react-ui-components/InputNumber/index' {
1907
835
  import { InputProps } from 'antd/lib/input';
1908
836
  import React from 'react';
1909
837
  export interface InputNumberProps extends InputProps {
@@ -1911,21 +839,21 @@ declare module '@authing/react-ui-components/components/InputNumber/index' {
1911
839
  export const InputNumber: React.ForwardRefExoticComponent<InputNumberProps & React.RefAttributes<any>>;
1912
840
 
1913
841
  }
1914
- declare module '@authing/react-ui-components/components/InputPassword/index' {
842
+ declare module '@authing/react-ui-components/InputPassword/index' {
1915
843
  import { Input } from 'antd';
1916
844
  import { PasswordProps } from 'antd/lib/input';
1917
845
  import React from 'react';
1918
846
  export const InputPassword: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<React.RefObject<Input>>>;
1919
847
 
1920
848
  }
1921
- declare module '@authing/react-ui-components/components/Login/codemap' {
1922
- import { GuardModuleAction } from '@authing/react-ui-components/components/Guard/module';
849
+ declare module '@authing/react-ui-components/Login/codemap' {
850
+ import { GuardModuleAction } from '@authing/react-ui-components/Guard/module';
1923
851
  export const codeMap: Record<number, GuardModuleAction>;
1924
852
 
1925
853
  }
1926
- declare module '@authing/react-ui-components/components/Login/core/withAD' {
854
+ declare module '@authing/react-ui-components/Login/core/withAD' {
1927
855
  /// <reference types="react" />
1928
- import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
856
+ import { Agreement } from '@authing/react-ui-components/Type/application';
1929
857
  interface LoginWithADProps {
1930
858
  publicKey: string;
1931
859
  autoRegister?: boolean;
@@ -1938,7 +866,7 @@ declare module '@authing/react-ui-components/components/Login/core/withAD' {
1938
866
  export {};
1939
867
 
1940
868
  }
1941
- declare module '@authing/react-ui-components/components/Login/core/withAppQrcode' {
869
+ declare module '@authing/react-ui-components/Login/core/withAppQrcode' {
1942
870
  /// <reference types="react" />
1943
871
  interface LoginWithAppQrcodeProps {
1944
872
  onLoginSuccess: any;
@@ -1949,9 +877,9 @@ declare module '@authing/react-ui-components/components/Login/core/withAppQrcode
1949
877
  export {};
1950
878
 
1951
879
  }
1952
- declare module '@authing/react-ui-components/components/Login/core/withLDAP' {
880
+ declare module '@authing/react-ui-components/Login/core/withLDAP' {
1953
881
  /// <reference types="react" />
1954
- import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
882
+ import { Agreement } from '@authing/react-ui-components/Type/application';
1955
883
  interface LoginWithLDAPProps {
1956
884
  publicKey: string;
1957
885
  autoRegister?: boolean;
@@ -1965,17 +893,17 @@ declare module '@authing/react-ui-components/components/Login/core/withLDAP' {
1965
893
  export {};
1966
894
 
1967
895
  }
1968
- declare module '@authing/react-ui-components/components/Login/core/withPassword/FormItemAccount' {
896
+ declare module '@authing/react-ui-components/Login/core/withPassword/FormItemAccount' {
1969
897
  import { FormItemProps } from 'antd/lib/form';
1970
898
  import React from 'react';
1971
- import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
899
+ import { PasswordLoginMethods } from '@authing/react-ui-components/Type/application';
1972
900
  export interface FormItemAccountProps extends FormItemProps {
1973
901
  passwordLoginMethods: PasswordLoginMethods[];
1974
902
  }
1975
903
  export const FormItemAccount: React.FC<FormItemAccountProps>;
1976
904
 
1977
905
  }
1978
- declare module '@authing/react-ui-components/components/Login/core/withPassword/GraphicVerifyCode' {
906
+ declare module '@authing/react-ui-components/Login/core/withPassword/GraphicVerifyCode' {
1979
907
  import { InputProps } from 'antd/lib/input';
1980
908
  import React from 'react';
1981
909
  export interface GraphicVerifyCodeProps extends InputProps {
@@ -1985,21 +913,20 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
1985
913
  export const GraphicVerifyCode: React.FC<GraphicVerifyCodeProps>;
1986
914
 
1987
915
  }
1988
- declare module '@authing/react-ui-components/components/Login/core/withPassword/InputAccount' {
916
+ declare module '@authing/react-ui-components/Login/core/withPassword/InputAccount' {
1989
917
  import { InputProps } from 'antd/lib/input';
1990
918
  import React from 'react';
1991
- import { PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
919
+ import { PasswordLoginMethods } from '@authing/react-ui-components/Type/application';
1992
920
  export interface InputAccountProps extends InputProps {
1993
921
  passwordLoginMethods: PasswordLoginMethods[];
1994
922
  }
1995
923
  export const InputAccount: React.FC<InputAccountProps>;
1996
924
 
1997
925
  }
1998
- declare module '@authing/react-ui-components/components/Login/core/withPassword/index' {
926
+ declare module '@authing/react-ui-components/Login/core/withPassword/index' {
1999
927
  /// <reference types="react" />
2000
- import { Agreement, PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2001
- import { LoginMethods } from '@authing/react-ui-components/components/index';
2002
- import { AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
928
+ import { AuthingResponse } from '@authing/react-ui-components/_utils/http';
929
+ import { Agreement, LoginMethods, PasswordLoginMethods } from '@authing/react-ui-components/Type/application';
2003
930
  interface LoginWithPasswordProps {
2004
931
  publicKey: string;
2005
932
  autoRegister?: boolean;
@@ -2018,10 +945,10 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
2018
945
  export {};
2019
946
 
2020
947
  }
2021
- declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/FormItemIdentify' {
948
+ declare module '@authing/react-ui-components/Login/core/withVerifyCode/FormItemIdentify' {
2022
949
  import { FormItemProps } from 'antd/lib/form';
2023
950
  import React from 'react';
2024
- import { VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
951
+ import { VerifyLoginMethods } from '@authing/react-ui-components/Type/application';
2025
952
  export interface FormItemIdentifyProps extends FormItemProps {
2026
953
  checkRepeat?: boolean;
2027
954
  checkExist?: boolean;
@@ -2032,7 +959,7 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
2032
959
  export const FormItemIdentify: React.FC<FormItemIdentifyProps>;
2033
960
 
2034
961
  }
2035
- declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/InputInternationPhone' {
962
+ declare module '@authing/react-ui-components/Login/core/withVerifyCode/InputInternationPhone' {
2036
963
  import { InputProps } from 'antd/lib/input';
2037
964
  import React from 'react';
2038
965
  export interface InputInternationPhoneProps extends InputProps {
@@ -2042,7 +969,7 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
2042
969
  export const InputInternationPhone: React.FC<InputInternationPhoneProps>;
2043
970
 
2044
971
  }
2045
- declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/VirtualDropdown' {
972
+ declare module '@authing/react-ui-components/Login/core/withVerifyCode/VirtualDropdown' {
2046
973
  import React, { FC } from 'react';
2047
974
  import './styles.less';
2048
975
  export interface VirtualDropdownProps {
@@ -2053,23 +980,23 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
2053
980
  export const VirtualDropdown: FC<VirtualDropdownProps>;
2054
981
 
2055
982
  }
2056
- declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/index' {
983
+ declare module '@authing/react-ui-components/Login/core/withVerifyCode/index' {
2057
984
  /// <reference types="react" />
2058
985
  import './styles.less';
2059
986
  export const LoginWithVerifyCode: (props: any) => JSX.Element;
2060
987
 
2061
988
  }
2062
- declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/inputIdentify' {
989
+ declare module '@authing/react-ui-components/Login/core/withVerifyCode/inputIdentify' {
2063
990
  import { InputProps } from 'antd/lib/input';
2064
991
  import React from 'react';
2065
- import { VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
992
+ import { VerifyLoginMethods } from '@authing/react-ui-components/Type/application';
2066
993
  export interface InputIdentifyProps extends InputProps {
2067
994
  methods: VerifyLoginMethods[];
2068
995
  }
2069
996
  export const InputIdentify: React.FC<InputIdentifyProps>;
2070
997
 
2071
998
  }
2072
- declare module '@authing/react-ui-components/components/Login/core/withWechatMiniQrcode' {
999
+ declare module '@authing/react-ui-components/Login/core/withWechatMiniQrcode' {
2073
1000
  /// <reference types="react" />
2074
1001
  interface LoginWithWechatMiniQrcodeProps {
2075
1002
  onLoginSuccess: any;
@@ -2080,7 +1007,7 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatMin
2080
1007
  export {};
2081
1008
 
2082
1009
  }
2083
- declare module '@authing/react-ui-components/components/Login/core/withWechatmpQrcode' {
1010
+ declare module '@authing/react-ui-components/Login/core/withWechatmpQrcode' {
2084
1011
  /// <reference types="react" />
2085
1012
  interface LoginWithWechatmpQrcodeProps {
2086
1013
  onLoginSuccess: any;
@@ -2091,19 +1018,17 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatmpQ
2091
1018
  export {};
2092
1019
 
2093
1020
  }
2094
- declare module '@authing/react-ui-components/components/Login/index' {
1021
+ declare module '@authing/react-ui-components/Login/index' {
2095
1022
  /// <reference types="react" />
2096
1023
  import './styles.less';
2097
1024
  export const GuardLoginView: () => JSX.Element;
2098
1025
 
2099
1026
  }
2100
- declare module '@authing/react-ui-components/components/Login/interface' {
2101
- import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
2102
- import { SocialConnectionProvider } from 'authing-js-sdk';
1027
+ declare module '@authing/react-ui-components/Login/interface' {
1028
+ import { IG2Config, IG2Events, IG2FCProps, IG2FCViewProps } from '@authing/react-ui-components/Type/index';
1029
+ import { AuthenticationClient, SocialConnectionProvider, User } from 'authing-js-sdk';
2103
1030
  import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
2104
- import { Agreement, PasswordLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2105
- import { PasswordLoginParams, LDAPLoginParams, ADLoginParams, PhoneCodeLoginParams, AuthenticationClient, User } from '@authing/react-ui-components/components/index';
2106
- import { LoginMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
1031
+ import { Agreement, LoginMethods, PasswordLoginMethods } from '@authing/react-ui-components/Type/application';
2107
1032
  export interface LoginConfig extends IG2Config {
2108
1033
  autoRegister?: boolean;
2109
1034
  disableResetPwd?: boolean;
@@ -2123,7 +1048,7 @@ declare module '@authing/react-ui-components/components/Login/interface' {
2123
1048
  onLogin?: (user: User, authClient: AuthenticationClient) => void;
2124
1049
  onLoginError?: (errorMessages: any) => void;
2125
1050
  onLoginTabChange?: (activeTab: LoginMethods) => void;
2126
- onBeforeLogin?: (loginInfo: PasswordLoginParams | LDAPLoginParams | ADLoginParams | PhoneCodeLoginParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
1051
+ onBeforeLogin?: (loginInfo: any, authClient: AuthenticationClient) => boolean | Promise<boolean>;
2127
1052
  }
2128
1053
  export interface GuardLoginProps extends IG2FCProps, LoginEvents {
2129
1054
  config?: Partial<LoginConfig>;
@@ -2139,16 +1064,16 @@ declare module '@authing/react-ui-components/components/Login/interface' {
2139
1064
  export const getDefaultLoginConfig: () => LoginConfig;
2140
1065
 
2141
1066
  }
2142
- declare module '@authing/react-ui-components/components/Login/socialLogin/IdpButton/index' {
1067
+ declare module '@authing/react-ui-components/Login/socialLogin/IdpButton/index' {
2143
1068
  /// <reference types="react" />
2144
1069
  export const IdpButton: (props: any) => JSX.Element | null;
2145
1070
 
2146
1071
  }
2147
- declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
1072
+ declare module '@authing/react-ui-components/Login/socialLogin/index' {
2148
1073
  import React from 'react';
2149
- import { ApplicationConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2150
1074
  import './style.less';
2151
- import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/index';
1075
+ import { GuardLocalConfig } from '@authing/react-ui-components/Guard/index';
1076
+ import { ApplicationConfig, SocialConnectionItem } from '@authing/react-ui-components/Type/application';
2152
1077
  export interface SocialLoginProps {
2153
1078
  appId: string;
2154
1079
  config: GuardLocalConfig;
@@ -2160,17 +1085,17 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/index'
2160
1085
  export const SocialLogin: React.FC<SocialLoginProps>;
2161
1086
 
2162
1087
  }
2163
- declare module '@authing/react-ui-components/components/Login/socialLogin/postMessage' {
2164
- import { AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
2165
- export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> | {
1088
+ declare module '@authing/react-ui-components/Login/socialLogin/postMessage' {
1089
+ import { AuthingResponse } from '@authing/react-ui-components/_utils/http';
1090
+ export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any> | {
2166
1091
  code: any;
2167
1092
  data: any;
2168
1093
  onGuardHandling: undefined;
2169
1094
  } | undefined;
2170
- export const useErrorHandling: () => (res: AuthingResponse) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>;
1095
+ export const useErrorHandling: () => (res: AuthingResponse) => import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>;
2171
1096
 
2172
1097
  }
2173
- declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/VerifyCodeFormItem' {
1098
+ declare module '@authing/react-ui-components/MFA/VerifyCodeInput/VerifyCodeFormItem' {
2174
1099
  import { FormItemProps } from 'antd/lib/form';
2175
1100
  import React from 'react';
2176
1101
  import './style.less';
@@ -2181,7 +1106,7 @@ declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/Veri
2181
1106
  export const VerifyCodeFormItem: React.FC<VerifyCodeFormItemProps>;
2182
1107
 
2183
1108
  }
2184
- declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/index' {
1109
+ declare module '@authing/react-ui-components/MFA/VerifyCodeInput/index' {
2185
1110
  import React, { FC } from 'react';
2186
1111
  import './style.less';
2187
1112
  interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -2198,7 +1123,7 @@ declare module '@authing/react-ui-components/components/MFA/VerifyCodeInput/inde
2198
1123
  export {};
2199
1124
 
2200
1125
  }
2201
- declare module '@authing/react-ui-components/components/MFA/businessRequest' {
1126
+ declare module '@authing/react-ui-components/MFA/businessRequest' {
2202
1127
  export enum MfaBusinessAction {
2203
1128
  VerifyEmail = "verify-email",
2204
1129
  VerifySms = "verify-sms",
@@ -2206,7 +1131,7 @@ declare module '@authing/react-ui-components/components/MFA/businessRequest' {
2206
1131
  VerifyFace = "verify-face",
2207
1132
  AssociateFace = "associate-face"
2208
1133
  }
2209
- export const authFlow: (action: MfaBusinessAction, content: any) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1134
+ export const authFlow: (action: MfaBusinessAction, content: any) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
2210
1135
  interface VerifySmsContent {
2211
1136
  phone: string;
2212
1137
  code: string;
@@ -2232,29 +1157,29 @@ declare module '@authing/react-ui-components/components/MFA/businessRequest' {
2232
1157
  isExternalPhoto?: boolean;
2233
1158
  mfaToken?: string;
2234
1159
  }
2235
- export const VerifyEmail: (content: VerifyEmailContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
2236
- export const VerifySms: (content: VerifySmsContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
2237
- export const VerifyTotp: (content: VerifyTotpContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
2238
- export const VerifyFace: (content: VerifyFaceContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
2239
- export const AssociateFace: (content: AssociateFaceContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1160
+ export const VerifyEmail: (content: VerifyEmailContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1161
+ export const VerifySms: (content: VerifySmsContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1162
+ export const VerifyTotp: (content: VerifyTotpContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1163
+ export const VerifyFace: (content: VerifyFaceContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1164
+ export const AssociateFace: (content: AssociateFaceContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
2240
1165
  export const useMfaBusinessRequest: () => {
2241
- "verify-email": (content: VerifyEmailContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
2242
- "verify-sms": (content: VerifySmsContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
2243
- "verify-totp": (content: VerifyTotpContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
2244
- "verify-face": (content: VerifyFaceContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
2245
- "associate-face": (content: AssociateFaceContent) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
1166
+ "verify-email": (content: VerifyEmailContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1167
+ "verify-sms": (content: VerifySmsContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1168
+ "verify-totp": (content: VerifyTotpContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1169
+ "verify-face": (content: VerifyFaceContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
1170
+ "associate-face": (content: AssociateFaceContent) => Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<any>>;
2246
1171
  };
2247
1172
  export {};
2248
1173
 
2249
1174
  }
2250
- declare module '@authing/react-ui-components/components/MFA/codemap' {
2251
- import { GuardModuleAction } from '@authing/react-ui-components/components/Guard/module';
1175
+ declare module '@authing/react-ui-components/MFA/codemap' {
1176
+ import { GuardModuleAction } from '@authing/react-ui-components/Guard/module';
2252
1177
  export const codeMap: Record<number, GuardModuleAction>;
2253
1178
 
2254
1179
  }
2255
- declare module '@authing/react-ui-components/components/MFA/core/email' {
1180
+ declare module '@authing/react-ui-components/MFA/core/email' {
2256
1181
  import React from 'react';
2257
- import { MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1182
+ import { MFAConfig } from '@authing/react-ui-components/MFA/interface';
2258
1183
  interface BindMFAEmailProps {
2259
1184
  mfaToken: string;
2260
1185
  onBind: (email: string) => void;
@@ -2278,12 +1203,12 @@ declare module '@authing/react-ui-components/components/MFA/core/email' {
2278
1203
  export {};
2279
1204
 
2280
1205
  }
2281
- declare module '@authing/react-ui-components/components/MFA/core/face' {
1206
+ declare module '@authing/react-ui-components/MFA/core/face' {
2282
1207
  /// <reference types="react" />
2283
1208
  export const MFAFace: (props: any) => JSX.Element;
2284
1209
 
2285
1210
  }
2286
- declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
1211
+ declare module '@authing/react-ui-components/MFA/core/face_deps' {
2287
1212
  export const devicesConstraints: {
2288
1213
  video: {
2289
1214
  width: number;
@@ -2297,9 +1222,9 @@ declare module '@authing/react-ui-components/components/MFA/core/face_deps' {
2297
1222
  export function dataURItoBlob(base64Data: any): Blob;
2298
1223
 
2299
1224
  }
2300
- declare module '@authing/react-ui-components/components/MFA/core/sms' {
1225
+ declare module '@authing/react-ui-components/MFA/core/sms' {
2301
1226
  import React from 'react';
2302
- import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1227
+ import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/MFA/interface';
2303
1228
  export interface BindMFASmsProps {
2304
1229
  mfaToken: string;
2305
1230
  onBind: (phone: string) => void;
@@ -2328,9 +1253,9 @@ declare module '@authing/react-ui-components/components/MFA/core/sms' {
2328
1253
  }>;
2329
1254
 
2330
1255
  }
2331
- declare module '@authing/react-ui-components/components/MFA/core/totp' {
1256
+ declare module '@authing/react-ui-components/MFA/core/totp' {
2332
1257
  import React from 'react';
2333
- import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/components/MFA/interface';
1258
+ import { GuardMFAInitData, MFAConfig } from '@authing/react-ui-components/MFA/interface';
2334
1259
  export interface BindMFATotpProps {
2335
1260
  initData: GuardMFAInitData;
2336
1261
  changeModule: any;
@@ -2351,7 +1276,7 @@ declare module '@authing/react-ui-components/components/MFA/core/totp' {
2351
1276
  export const MFATotp: React.FC<MFATotpProps>;
2352
1277
 
2353
1278
  }
2354
- declare module '@authing/react-ui-components/components/MFA/index' {
1279
+ declare module '@authing/react-ui-components/MFA/index' {
2355
1280
  import React from 'react';
2356
1281
  import './styles.less';
2357
1282
  interface MFABackStateContextType {
@@ -2363,9 +1288,9 @@ declare module '@authing/react-ui-components/components/MFA/index' {
2363
1288
  export {};
2364
1289
 
2365
1290
  }
2366
- declare module '@authing/react-ui-components/components/MFA/interface' {
2367
- import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
2368
- import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1291
+ declare module '@authing/react-ui-components/MFA/interface' {
1292
+ import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
1293
+ import { AuthenticationClient, User } from 'authing-js-sdk';
2369
1294
  export interface MFAConfig extends IG2Config {
2370
1295
  autoRegister: boolean;
2371
1296
  }
@@ -2406,9 +1331,9 @@ declare module '@authing/react-ui-components/components/MFA/interface' {
2406
1331
  }
2407
1332
 
2408
1333
  }
2409
- declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
1334
+ declare module '@authing/react-ui-components/MFA/mfaMethods/index' {
2410
1335
  import React from 'react';
2411
- import { MFAType } from '@authing/react-ui-components/components/MFA/interface';
1336
+ import { MFAType } from '@authing/react-ui-components/MFA/interface';
2412
1337
  import './style.less';
2413
1338
  export interface MFAMethodsProps {
2414
1339
  method: MFAType;
@@ -2417,7 +1342,7 @@ declare module '@authing/react-ui-components/components/MFA/mfaMethods/index' {
2417
1342
  export const MFAMethods: React.FC<MFAMethodsProps>;
2418
1343
 
2419
1344
  }
2420
- declare module '@authing/react-ui-components/components/NeedHelpView/core/describeQuestions' {
1345
+ declare module '@authing/react-ui-components/NeedHelpView/core/describeQuestions' {
2421
1346
  /// <reference types="react" />
2422
1347
  interface describeQuestionsProps {
2423
1348
  appId: string;
@@ -2428,20 +1353,20 @@ declare module '@authing/react-ui-components/components/NeedHelpView/core/descri
2428
1353
  export {};
2429
1354
 
2430
1355
  }
2431
- declare module '@authing/react-ui-components/components/NeedHelpView/index' {
1356
+ declare module '@authing/react-ui-components/NeedHelpView/index' {
2432
1357
  /// <reference types="react" />
2433
1358
  export const GuardNeedHelpView: (props: any) => JSX.Element;
2434
1359
 
2435
1360
  }
2436
- declare module '@authing/react-ui-components/components/RecoveryCode/businessRequest' {
1361
+ declare module '@authing/react-ui-components/RecoveryCode/businessRequest' {
2437
1362
  export enum TotpRecoveryCodeBusinessAction {
2438
1363
  RecoveryTotp = "recovery-totp",
2439
1364
  ConfirmTotpRecoveryCode = "confirm-totp-recovery-code"
2440
1365
  }
2441
- export function authFlow<T>(action: TotpRecoveryCodeBusinessAction, content: any): Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<T>>;
1366
+ export function authFlow<T>(action: TotpRecoveryCodeBusinessAction, content: any): Promise<import("@authing/react-ui-components/_utils/http").AuthingGuardResponse<T>>;
2442
1367
 
2443
1368
  }
2444
- declare module '@authing/react-ui-components/components/RecoveryCode/core/saveCode' {
1369
+ declare module '@authing/react-ui-components/RecoveryCode/core/saveCode' {
2445
1370
  import React from 'react';
2446
1371
  export const SaveCode: React.FC<{
2447
1372
  secret: string;
@@ -2449,9 +1374,9 @@ declare module '@authing/react-ui-components/components/RecoveryCode/core/saveCo
2449
1374
  }>;
2450
1375
 
2451
1376
  }
2452
- declare module '@authing/react-ui-components/components/RecoveryCode/core/useCode' {
1377
+ declare module '@authing/react-ui-components/RecoveryCode/core/useCode' {
2453
1378
  import React from 'react';
2454
- import { User } from '@authing/react-ui-components/components/index';
1379
+ import { User } from 'authing-js-sdk';
2455
1380
  export interface UseCodeProps {
2456
1381
  mfaToken: string;
2457
1382
  onSubmit: (recoveryCode: string, user?: User) => void;
@@ -2459,7 +1384,7 @@ declare module '@authing/react-ui-components/components/RecoveryCode/core/useCod
2459
1384
  export const UseCode: React.FC<UseCodeProps>;
2460
1385
 
2461
1386
  }
2462
- declare module '@authing/react-ui-components/components/RecoveryCode/index' {
1387
+ declare module '@authing/react-ui-components/RecoveryCode/index' {
2463
1388
  import React from 'react';
2464
1389
  import './style.less';
2465
1390
  export const RecoveryCode: React.FC;
@@ -2467,9 +1392,9 @@ declare module '@authing/react-ui-components/components/RecoveryCode/index' {
2467
1392
  export const GuardRecoveryCodeView: React.FC;
2468
1393
 
2469
1394
  }
2470
- declare module '@authing/react-ui-components/components/RecoveryCode/interface' {
2471
- import { IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
2472
- import { AuthenticationClient, User } from '@authing/react-ui-components/components/index';
1395
+ declare module '@authing/react-ui-components/RecoveryCode/interface' {
1396
+ import { IG2Config, IG2Events } from '@authing/react-ui-components/Type/index';
1397
+ import { AuthenticationClient, User } from 'authing-js-sdk';
2473
1398
  export interface RecoveryCodeConfig extends IG2Config {
2474
1399
  }
2475
1400
  export const getDefaultRecoveryCodeConfig: () => RecoveryCodeConfig;
@@ -2478,15 +1403,15 @@ declare module '@authing/react-ui-components/components/RecoveryCode/interface'
2478
1403
  }
2479
1404
 
2480
1405
  }
2481
- declare module '@authing/react-ui-components/components/Register/codemap' {
2482
- import { GuardModuleAction } from '@authing/react-ui-components/components/Guard/module';
1406
+ declare module '@authing/react-ui-components/Register/codemap' {
1407
+ import { GuardModuleAction } from '@authing/react-ui-components/Guard/module';
2483
1408
  export const codeMap: Record<number, GuardModuleAction>;
2484
1409
 
2485
1410
  }
2486
- declare module '@authing/react-ui-components/components/Register/components/Agreements/index' {
1411
+ declare module '@authing/react-ui-components/Register/components/Agreements/index' {
2487
1412
  import React, { FC } from 'react';
2488
1413
  import './style.less';
2489
- import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1414
+ import { Agreement } from '@authing/react-ui-components/Type/application';
2490
1415
  export interface AgreementsProps {
2491
1416
  value?: boolean;
2492
1417
  onChange?: (value: boolean) => void;
@@ -2497,9 +1422,9 @@ declare module '@authing/react-ui-components/components/Register/components/Agre
2497
1422
  export const Agreements: FC<AgreementsProps>;
2498
1423
 
2499
1424
  }
2500
- declare module '@authing/react-ui-components/components/Register/core/WithCode' {
1425
+ declare module '@authing/react-ui-components/Register/core/WithCode' {
2501
1426
  import React from 'react';
2502
- import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1427
+ import { Agreement, ApplicationConfig } from '@authing/react-ui-components/Type/application';
2503
1428
  export interface RegisterWithCodeProps {
2504
1429
  onRegisterSuccess: Function;
2505
1430
  onRegisterFailed: Function;
@@ -2512,9 +1437,9 @@ declare module '@authing/react-ui-components/components/Register/core/WithCode'
2512
1437
  export const RegisterWithCode: React.FC<RegisterWithCodeProps>;
2513
1438
 
2514
1439
  }
2515
- declare module '@authing/react-ui-components/components/Register/core/WithEmail' {
1440
+ declare module '@authing/react-ui-components/Register/core/WithEmail' {
2516
1441
  import React from 'react';
2517
- import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1442
+ import { Agreement, ApplicationConfig } from '@authing/react-ui-components/Type/application';
2518
1443
  export interface RegisterWithEmailProps {
2519
1444
  onRegisterSuccess: Function;
2520
1445
  onRegisterFailed: Function;
@@ -2526,9 +1451,9 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
2526
1451
  export const RegisterWithEmail: React.FC<RegisterWithEmailProps>;
2527
1452
 
2528
1453
  }
2529
- declare module '@authing/react-ui-components/components/Register/core/WithEmailCode' {
1454
+ declare module '@authing/react-ui-components/Register/core/WithEmailCode' {
2530
1455
  import React from 'react';
2531
- import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1456
+ import { Agreement, ApplicationConfig } from '@authing/react-ui-components/Type/application';
2532
1457
  export interface RegisterWithEmailCodeProps {
2533
1458
  onRegisterSuccess: Function;
2534
1459
  onRegisterFailed: Function;
@@ -2540,9 +1465,9 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmailC
2540
1465
  export const RegisterWithEmailCode: React.FC<RegisterWithEmailCodeProps>;
2541
1466
 
2542
1467
  }
2543
- declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
1468
+ declare module '@authing/react-ui-components/Register/core/WithPhone' {
2544
1469
  import React from 'react';
2545
- import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1470
+ import { Agreement, ApplicationConfig } from '@authing/react-ui-components/Type/application';
2546
1471
  export interface RegisterWithPhoneProps {
2547
1472
  onRegisterSuccess: Function;
2548
1473
  onRegisterFailed: Function;
@@ -2553,15 +1478,15 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
2553
1478
  export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
2554
1479
 
2555
1480
  }
2556
- declare module '@authing/react-ui-components/components/Register/index' {
1481
+ declare module '@authing/react-ui-components/Register/index' {
2557
1482
  import React from 'react';
2558
1483
  export const GuardRegisterView: React.FC;
2559
1484
 
2560
1485
  }
2561
- declare module '@authing/react-ui-components/components/Register/interface' {
2562
- import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/components/Type/index';
2563
- import { AuthenticationClient, User, EmailRegisterParams, PhoneRegisterParams, RegisterMethods } from '@authing/react-ui-components/components/index';
2564
- import { Agreement } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1486
+ declare module '@authing/react-ui-components/Register/interface' {
1487
+ import { AuthenticationClient, User } from 'authing-js-sdk';
1488
+ import { IG2FCProps, IG2Config, IG2Events } from '@authing/react-ui-components/Type/index';
1489
+ import { Agreement, RegisterMethods } from '@authing/react-ui-components/Type/application';
2565
1490
  export interface RegisterConfig extends IG2Config {
2566
1491
  disableRegister?: boolean;
2567
1492
  registerMethods?: RegisterMethods[];
@@ -2572,7 +1497,7 @@ declare module '@authing/react-ui-components/components/Register/interface' {
2572
1497
  registerContext?: any;
2573
1498
  }
2574
1499
  export interface RegisterEvents extends IG2Events {
2575
- onBeforeRegister?: (registerInfo: EmailRegisterParams | PhoneRegisterParams, authClient: AuthenticationClient) => boolean | Promise<boolean>;
1500
+ onBeforeRegister?: (registerInfo: any, authClient: AuthenticationClient) => boolean | Promise<boolean>;
2576
1501
  onRegister?: (user: User, authClient: AuthenticationClient) => void;
2577
1502
  onRegisterError?: (error: any) => void;
2578
1503
  onRegisterTabChange?: (activeTab: RegisterMethods) => void;
@@ -2586,11 +1511,11 @@ declare module '@authing/react-ui-components/components/Register/interface' {
2586
1511
  export const getDefaultRegisterConfig: () => RegisterConfig;
2587
1512
 
2588
1513
  }
2589
- declare module '@authing/react-ui-components/components/Register/utils' {
1514
+ declare module '@authing/react-ui-components/Register/utils' {
2590
1515
  export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
2591
1516
 
2592
1517
  }
2593
- declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
1518
+ declare module '@authing/react-ui-components/SelfUnlock/core/selfUnlock' {
2594
1519
  import React from 'react';
2595
1520
  export enum InputMethodMap {
2596
1521
  email = "email-code",
@@ -2601,14 +1526,14 @@ declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlo
2601
1526
  }) => JSX.Element;
2602
1527
 
2603
1528
  }
2604
- declare module '@authing/react-ui-components/components/SelfUnlock/index' {
1529
+ declare module '@authing/react-ui-components/SelfUnlock/index' {
2605
1530
  import React from 'react';
2606
1531
  export const GuardUnlockView: React.FC;
2607
1532
 
2608
1533
  }
2609
- declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
2610
- import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
2611
- import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
1534
+ declare module '@authing/react-ui-components/SelfUnlock/interface' {
1535
+ import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
1536
+ import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/Type/index';
2612
1537
  export interface ForgetPasswordEvents extends IG2Events {
2613
1538
  onPwdEmailSend?: (authClient: AuthenticationClient) => void;
2614
1539
  onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
@@ -2624,7 +1549,7 @@ declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
2624
1549
  }
2625
1550
 
2626
1551
  }
2627
- declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
1552
+ declare module '@authing/react-ui-components/SendCode/SendCodeBtn' {
2628
1553
  import React, { FC } from 'react';
2629
1554
  import './style.less';
2630
1555
  import { ButtonProps } from 'antd/lib/button';
@@ -2637,11 +1562,11 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
2637
1562
  export const SendCodeBtn: FC<SendCodeProps>;
2638
1563
 
2639
1564
  }
2640
- declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
1565
+ declare module '@authing/react-ui-components/SendCode/SendCodeByEmail' {
2641
1566
  import { FC } from 'react';
2642
1567
  import './style.less';
2643
1568
  import { InputProps } from 'antd/lib/input';
2644
- import { EmailScene } from '@authing/react-ui-components/components/Type/index';
1569
+ import { EmailScene } from '@authing/react-ui-components/Type/index';
2645
1570
  export interface SendCodeByEmailProps extends InputProps {
2646
1571
  data?: string;
2647
1572
  form?: any;
@@ -2653,7 +1578,7 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail
2653
1578
  export const SendCodeByEmail: FC<SendCodeByEmailProps>;
2654
1579
 
2655
1580
  }
2656
- declare module '@authing/react-ui-components/components/SendCode/SendCodeByPhone' {
1581
+ declare module '@authing/react-ui-components/SendCode/SendCodeByPhone' {
2657
1582
  import { FC } from 'react';
2658
1583
  import { SceneType } from 'authing-js-sdk';
2659
1584
  import './style.less';
@@ -2671,7 +1596,7 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeByPhone
2671
1596
  export const SendCodeByPhone: FC<SendCodeByPhoneProps>;
2672
1597
 
2673
1598
  }
2674
- declare module '@authing/react-ui-components/components/SendCode/index' {
1599
+ declare module '@authing/react-ui-components/SendCode/index' {
2675
1600
  import { FC } from 'react';
2676
1601
  import './style.less';
2677
1602
  import { InputProps } from 'antd/lib/input';
@@ -2683,7 +1608,7 @@ declare module '@authing/react-ui-components/components/SendCode/index' {
2683
1608
  export const SendCode: FC<SendPhoneCodeProps>;
2684
1609
 
2685
1610
  }
2686
- declare module '@authing/react-ui-components/components/ShieldSpin/index' {
1611
+ declare module '@authing/react-ui-components/ShieldSpin/index' {
2687
1612
  /// <reference types="react" />
2688
1613
  interface IG2SpinProps {
2689
1614
  size?: number;
@@ -2693,19 +1618,19 @@ declare module '@authing/react-ui-components/components/ShieldSpin/index' {
2693
1618
  export {};
2694
1619
 
2695
1620
  }
2696
- declare module '@authing/react-ui-components/components/SingleComponent/SingleComponent' {
1621
+ declare module '@authing/react-ui-components/SingleComponent/SingleComponent' {
2697
1622
  /// <reference types="react" />
2698
- import { GuardModuleType, IG2FCProps } from '@authing/react-ui-components/components/index';
1623
+ import { GuardModuleType, IG2FCProps } from '@authing/react-ui-components/index';
2699
1624
  export function SingleComponent<T extends IG2FCProps>(props: T, guardModuleType: GuardModuleType, initData?: any): JSX.Element;
2700
1625
 
2701
1626
  }
2702
- declare module '@authing/react-ui-components/components/SingleComponent/index' {
1627
+ declare module '@authing/react-ui-components/SingleComponent/index' {
2703
1628
  import React from 'react';
2704
- import { GuardRegisterProps } from '@authing/react-ui-components/components/Register/interface';
1629
+ import { GuardRegisterProps } from '@authing/react-ui-components/Register/interface';
2705
1630
  export const Register: React.FC<GuardRegisterProps>;
2706
1631
 
2707
1632
  }
2708
- declare module '@authing/react-ui-components/components/SubmitButton/index' {
1633
+ declare module '@authing/react-ui-components/SubmitButton/index' {
2709
1634
  import React from 'react';
2710
1635
  import { ButtonProps } from 'antd/lib/button';
2711
1636
  interface SubmitButtonProps extends ButtonProps {
@@ -2714,42 +1639,298 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
2714
1639
  onClick?: any;
2715
1640
  disabled?: boolean;
2716
1641
  }
2717
- const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
2718
- export default _default;
2719
-
2720
- }
2721
- declare module '@authing/react-ui-components/components/SubmitSuccess/index' {
2722
- import React from 'react';
2723
- export const GuardSubmitSuccessView: React.FC;
2724
-
2725
- }
2726
- declare module '@authing/react-ui-components/components/SubmitSuccess/interface' {
2727
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
2728
- import { IG2Config, IG2Events, IG2FCViewProps } from '@authing/react-ui-components/components/Type/index';
2729
- export interface SubmitSuccessEvents extends IG2Events {
1642
+ const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
1643
+ export default _default;
1644
+
1645
+ }
1646
+ declare module '@authing/react-ui-components/SubmitSuccess/index' {
1647
+ import React from 'react';
1648
+ export const GuardSubmitSuccessView: React.FC;
1649
+
1650
+ }
1651
+ declare module '@authing/react-ui-components/SubmitSuccess/interface' {
1652
+ import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
1653
+ import { IG2Config, IG2Events, IG2FCViewProps } from '@authing/react-ui-components/Type/index';
1654
+ export interface SubmitSuccessEvents extends IG2Events {
1655
+ }
1656
+ export interface SubmitSuccessConfig extends IG2Config {
1657
+ }
1658
+ export interface SubmitSuccessInitData {
1659
+ title?: string;
1660
+ message?: string;
1661
+ text?: string;
1662
+ countDesc?: string;
1663
+ changeModule?: GuardModuleType;
1664
+ }
1665
+ export interface GuardSubmitSuccessViewProps extends IG2FCViewProps, SubmitSuccessEvents {
1666
+ config: SubmitSuccessConfig;
1667
+ initData?: SubmitSuccessInitData;
1668
+ }
1669
+
1670
+ }
1671
+ declare module '@authing/react-ui-components/Type/application' {
1672
+ import { Lang } from '@authing/react-ui-components/index';
1673
+ import { PasswordStrength } from '@authing/react-ui-components/_utils/index';
1674
+ export enum LoginMethods {
1675
+ LDAP = "ldap",
1676
+ AppQr = "app-qrcode",
1677
+ Password = "password",
1678
+ PhoneCode = "phone-code",
1679
+ WxMinQr = "wechat-miniprogram-qrcode",
1680
+ AD = "ad",
1681
+ WechatMpQrcode = "wechatmp-qrcode"
1682
+ }
1683
+ export enum OIDCConnectionMode {
1684
+ FRONT_CHANNEL = "FRONT_CHANNEL",
1685
+ BACK_CHANNEL = "BACK_CHANNEL"
1686
+ }
1687
+ export enum SocialConnectionProvider {
1688
+ ALIPAY = "alipay",
1689
+ GOOGLE = "google",
1690
+ WECHATPC = "wechat:pc",
1691
+ WECHATMP = "wechat:webpage-authorization",
1692
+ WECHAT_MINIPROGRAM = "wechat:miniprogram:default",
1693
+ WECHAT_MINIPROGRAM_QRCODE = "wechat:miniprogram:qrconnect",
1694
+ WECHAT_MINIPROGRAM_APPLAUNCH = "wechat:miniprogram:app-launch",
1695
+ WECHATMOBILE = "wechat:mobile",
1696
+ GITHUB = "github",
1697
+ QQ = "qq",
1698
+ WECHATWORK_ADDRESS_BOOK = "wechatwork:addressbook",
1699
+ WECHATWORK_CORP_QRCONNECT = "wechatwork:corp:qrconnect",
1700
+ WECHATWORK_SERVICEPROVIDER_QRCONNECT = "wechatwork:service-provider:qrconnect",
1701
+ DINGTALK = "dingtalk",
1702
+ WEIBO = "weibo",
1703
+ APPLE = "apple",
1704
+ APPLE_WEB = "apple:web",
1705
+ LARK_PUBLIC = "lark-public",
1706
+ LARK_INTERNAL = "lark-internal",
1707
+ BAIDU = "baidu",
1708
+ LINKEDIN = "linkedin",
1709
+ SLACK = "slack",
1710
+ YIDUN = "yidun",
1711
+ QINGCLOUD = "qingcloud",
1712
+ FACEBOOK = "facebook"
1713
+ }
1714
+ export enum Protocol {
1715
+ AD = "ad",
1716
+ CAS = "cas",
1717
+ LDAP = "ldap",
1718
+ OIDC = "oidc",
1719
+ SAML = "saml",
1720
+ OAUTH = "oauth",
1721
+ AZURE_AD = "azure-ad"
1722
+ }
1723
+ export interface IOAuthConnectionConfig {
1724
+ authEndPoint: string;
1725
+ tokenEndPoint: string;
1726
+ scope: string;
1727
+ clientId: string;
1728
+ clientSecret: string;
1729
+ authUrlTemplate: string;
1730
+ codeToTokenScript: string;
1731
+ tokenToUserInfoScript: string;
1732
+ tokenToUserInfoScriptFuncId: string;
1733
+ codeToTokenScriptFuncId: string;
1734
+ authUrl?: string;
1735
+ }
1736
+ export interface IAzureAdConnectionConfig {
1737
+ microsoftAzureAdDomain: string;
1738
+ clientId: string;
1739
+ syncUserProfileOnLogin: string;
1740
+ emailVerifiedDefault: boolean;
1741
+ authorizationUrl: string;
1742
+ callbackUrl: string;
1743
+ }
1744
+ export interface ISamlConnectionConfig {
1745
+ signInEndPoint: string;
1746
+ samlRequest?: string;
1747
+ samlIdpCert: string;
1748
+ samlSpCert: string;
1749
+ samlSpKey: string;
1750
+ signOutEndPoint: string;
1751
+ signSamlRequest: boolean;
1752
+ signatureAlgorithm: string;
1753
+ digestAlgorithm: string;
1754
+ protocolBinding: string;
1755
+ }
1756
+ export interface ICasConnectionConfig {
1757
+ casConnectionLoginUrl: string;
1758
+ }
1759
+ export interface SocialConnectionItem {
1760
+ name: string;
1761
+ name_en: string;
1762
+ displayName: string;
1763
+ logo: string;
1764
+ description: string;
1765
+ identifier: string;
1766
+ provider: SocialConnectionProvider;
1767
+ authorizationUrl: string;
1768
+ tooltip: Record<Lang, string>;
1769
+ }
1770
+ export enum RegisterMethods {
1771
+ Email = "email",
1772
+ Phone = "phone",
1773
+ EmailCode = "emailCode"
1774
+ }
1775
+ export type QrcodeTabsSettings = Record<LoginMethods, Array<{
1776
+ id: string;
1777
+ title: string;
1778
+ isDefault?: boolean;
1779
+ }>>;
1780
+ export interface OidcClientMetadata {
1781
+ grant_types: string[];
1782
+ client_id: string;
1783
+ redirect_uris: string[];
1784
+ scope: string;
1785
+ response_types: ResponseType[];
1786
+ }
1787
+ export interface OIDCConnectionConfig {
1788
+ issuerUrl: string;
1789
+ authorizationEdpoint: string;
1790
+ responseType: string;
1791
+ mode: OIDCConnectionMode;
1792
+ clientId: string;
1793
+ clientSecret: string;
1794
+ scopes: string;
1795
+ redirectUri: string;
1796
+ }
1797
+ export interface InternalExtendsField {
1798
+ type: 'internal';
1799
+ name: string;
1800
+ label: string;
1801
+ inputType: string;
1802
+ required: boolean;
1803
+ validateRules: any[];
1804
+ }
1805
+ export interface UserExtendsField {
1806
+ type: 'user';
1807
+ id: string;
1808
+ name: string;
1809
+ label: string;
1810
+ inputType: string;
1811
+ required: boolean;
1812
+ validateRules: any[];
2730
1813
  }
2731
- export interface SubmitSuccessConfig extends IG2Config {
1814
+ export type ExtendsField = InternalExtendsField | UserExtendsField;
1815
+ export interface ApplicationPasswordTabConfig {
1816
+ enabledLoginMethods?: PasswordLoginMethods[];
2732
1817
  }
2733
- export interface SubmitSuccessInitData {
2734
- title?: string;
2735
- message?: string;
2736
- text?: string;
2737
- countDesc?: string;
2738
- changeModule?: GuardModuleType;
1818
+ export interface ApplicationVerifyCodeTabConfig {
1819
+ enabledLoginMethods: VerifyLoginMethods[];
2739
1820
  }
2740
- export interface GuardSubmitSuccessViewProps extends IG2FCViewProps, SubmitSuccessEvents {
2741
- config: SubmitSuccessConfig;
2742
- initData?: SubmitSuccessInitData;
1821
+ export interface Agreement {
1822
+ id: number;
1823
+ title: string;
1824
+ required: boolean;
1825
+ lang: Lang;
1826
+ availableAt?: number;
1827
+ }
1828
+ export type PasswordLoginMethods = 'username-password' | 'email-password' | 'phone-password';
1829
+ export type VerifyLoginMethods = 'email-code' | 'phone-code';
1830
+ export type ComplateFiledsPlace = 'register' | 'login';
1831
+ export interface ApplicationConfig {
1832
+ id: string;
1833
+ allowedOrigins: string[];
1834
+ corsWhitelist: string[];
1835
+ cdnBase: string;
1836
+ userPoolId: string;
1837
+ rootUserPoolId: string;
1838
+ publicKey: string;
1839
+ internationalSmsConfig?: {
1840
+ enabled: boolean;
1841
+ defaultISOType: string;
1842
+ };
1843
+ css: string;
1844
+ customLoading?: string;
1845
+ name: string;
1846
+ logo: string;
1847
+ description?: string;
1848
+ redirectUris: string[];
1849
+ registerDisabled: boolean;
1850
+ mergeAdAndAccountPasswordLogin: boolean;
1851
+ registerTabs: {
1852
+ list: string[];
1853
+ default: string;
1854
+ title: {
1855
+ [x: string]: string;
1856
+ };
1857
+ };
1858
+ registerTabsConfig: {
1859
+ list: string[];
1860
+ default: string;
1861
+ title: {
1862
+ [x: string]: string;
1863
+ };
1864
+ registerTypeConfig: {
1865
+ emailRegisterType?: RegisterMethods[];
1866
+ phoneRegisterType?: RegisterMethods[];
1867
+ };
1868
+ };
1869
+ qrcodeTabsSettings: QrcodeTabsSettings;
1870
+ loginTabs: {
1871
+ list: string[];
1872
+ default: string;
1873
+ defaultV2?: string;
1874
+ title: {
1875
+ [x: string]: string;
1876
+ };
1877
+ };
1878
+ socialConnections: SocialConnectionItem[];
1879
+ complateFiledsPlace: ComplateFiledsPlace[];
1880
+ extendsFieldsEnabled: boolean;
1881
+ extendsFields: ExtendsField[];
1882
+ identifier: string;
1883
+ requestHostname: string;
1884
+ identityProviders: {
1885
+ identifier: string;
1886
+ protocol: Protocol;
1887
+ displayName: string;
1888
+ logo: string;
1889
+ config: ISamlConnectionConfig | OIDCConnectionConfig | ICasConnectionConfig | IAzureAdConnectionConfig | IOAuthConnectionConfig;
1890
+ }[];
1891
+ ssoPageComponentDisplay: {
1892
+ autoRegisterThenLoginHintInfo: boolean;
1893
+ forgetPasswordBtn: boolean;
1894
+ idpBtns: boolean;
1895
+ loginBtn: boolean;
1896
+ loginByPhoneCodeTab: boolean;
1897
+ loginByUserPasswordTab: boolean;
1898
+ loginMethodNav: boolean;
1899
+ phoneCodeInput: boolean;
1900
+ registerBtn: boolean;
1901
+ registerByEmailTab: boolean;
1902
+ registerByPhoneTab: boolean;
1903
+ registerMethodNav: boolean;
1904
+ socialLoginBtns: boolean;
1905
+ userPasswordInput: boolean;
1906
+ wxMpScanTab: boolean;
1907
+ };
1908
+ protocol: Protocol;
1909
+ oidcConfig: OidcClientMetadata;
1910
+ passwordTabConfig: ApplicationPasswordTabConfig;
1911
+ verifyCodeTabConfig?: ApplicationVerifyCodeTabConfig;
1912
+ agreementEnabled: boolean;
1913
+ agreements: Agreement[];
1914
+ customPasswordStrength: any;
1915
+ passwordStrength: PasswordStrength;
1916
+ verifyCodeLength: number;
1917
+ websocket: string;
1918
+ welcomeMessage: any;
1919
+ skipComplateFileds: boolean;
1920
+ selfUnlockStrategy: 'captcha' | 'password-captcha';
2743
1921
  }
2744
1922
 
2745
1923
  }
2746
- declare module '@authing/react-ui-components/components/Type/index' {
1924
+ declare module '@authing/react-ui-components/Type/index' {
2747
1925
  import { AuthenticationClient, CommonMessage } from 'authing-js-sdk';
2748
- import { Lang } from 'authing-js-sdk/build/main/types';
2749
- import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2750
- import { GuardMode } from '@authing/react-ui-components/components/AuthingGuard/types/GuardConfig';
2751
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
2752
- import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
1926
+ import { GuardModuleType } from '@authing/react-ui-components/Guard/module';
1927
+ import { FacePlugin } from '@authing/react-ui-components/_utils/facePlugin/interface';
1928
+ import { ApplicationConfig } from '@authing/react-ui-components/Type/application';
1929
+ export type Lang = 'zh-CN' | 'en-US';
1930
+ export enum GuardMode {
1931
+ Modal = "modal",
1932
+ Normal = "normal"
1933
+ }
2753
1934
  export interface IG2FCProps extends IG2Events {
2754
1935
  appId?: string;
2755
1936
  tenantId?: string;
@@ -2824,28 +2005,36 @@ declare module '@authing/react-ui-components/components/Type/index' {
2824
2005
  }
2825
2006
 
2826
2007
  }
2827
- declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
2008
+ declare module '@authing/react-ui-components/UploadImage/index' {
2009
+ import { FC } from 'react';
2010
+ export const UploadImage: FC<{
2011
+ value?: string;
2012
+ onChange?: (value: string) => void;
2013
+ }>;
2014
+
2015
+ }
2016
+ declare module '@authing/react-ui-components/ValidatorRules/PasswordFormItem' {
2828
2017
  import React from 'react';
2829
- import { PasswordFormItemProps } from '@authing/react-ui-components/components/ValidatorRules/index';
2018
+ import { PasswordFormItemProps } from '@authing/react-ui-components/ValidatorRules/index';
2830
2019
  export interface ExPasswordFormItemProps extends PasswordFormItemProps {
2831
2020
  fieldRequiredRuleMessage?: string;
2832
2021
  }
2833
2022
  export const PasswordFormItem: React.FC<ExPasswordFormItemProps>;
2834
2023
 
2835
2024
  }
2836
- declare module '@authing/react-ui-components/components/ValidatorRules/ValidatorFormItem' {
2025
+ declare module '@authing/react-ui-components/ValidatorRules/ValidatorFormItem' {
2837
2026
  import React from 'react';
2838
- import { ValidatorFormItemProps } from '@authing/react-ui-components/components/ValidatorRules/index';
2027
+ import { ValidatorFormItemProps } from '@authing/react-ui-components/ValidatorRules/index';
2839
2028
  export const EmailFormItem: React.FC<ValidatorFormItemProps>;
2840
2029
  export const PhoneFormItem: React.FC<ValidatorFormItemProps>;
2841
2030
  export const UserNameFormItem: React.FC<ValidatorFormItemProps>;
2842
2031
 
2843
2032
  }
2844
- declare module '@authing/react-ui-components/components/ValidatorRules/index' {
2033
+ declare module '@authing/react-ui-components/ValidatorRules/index' {
2845
2034
  import { FormInstance, FormItemProps } from 'antd/lib/form';
2846
2035
  import FormItem from 'antd/lib/form/FormItem';
2847
- import { PasswordFormItem } from '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem';
2848
- import { EmailFormItem, PhoneFormItem, UserNameFormItem } from '@authing/react-ui-components/components/ValidatorRules/ValidatorFormItem';
2036
+ import { PasswordFormItem } from '@authing/react-ui-components/ValidatorRules/PasswordFormItem';
2037
+ import { EmailFormItem, PhoneFormItem, UserNameFormItem } from '@authing/react-ui-components/ValidatorRules/ValidatorFormItem';
2849
2038
  export interface ValidatorFormItemProps extends FormItemProps {
2850
2039
  form?: FormInstance;
2851
2040
  checkRepeat?: boolean;
@@ -2875,11 +2064,11 @@ declare module '@authing/react-ui-components/components/ValidatorRules/index' {
2875
2064
  export default CustomFormItem;
2876
2065
 
2877
2066
  }
2878
- declare module '@authing/react-ui-components/components/ValidatorRules/useCheckRepeat' {
2067
+ declare module '@authing/react-ui-components/ValidatorRules/useCheckRepeat' {
2879
2068
  export const useCheckRepeat: (checkFn: (value: any, resolve: (value: unknown) => void, reject: (reason?: any) => void) => void) => (_: any, value: any) => Promise<unknown>;
2880
2069
 
2881
2070
  }
2882
- declare module '@authing/react-ui-components/components/VerifyCodeInput/index' {
2071
+ declare module '@authing/react-ui-components/VerifyCodeInput/index' {
2883
2072
  import React, { FC } from 'react';
2884
2073
  import './style.less';
2885
2074
  interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -2892,7 +2081,7 @@ declare module '@authing/react-ui-components/components/VerifyCodeInput/index' {
2892
2081
  export {};
2893
2082
 
2894
2083
  }
2895
- declare module '@authing/react-ui-components/components/_utils/GuardErrorCode' {
2084
+ declare module '@authing/react-ui-components/_utils/GuardErrorCode' {
2896
2085
  export enum ErrorCode {
2897
2086
  OTP_MFA_CODE = 1635,
2898
2087
  APP_MFA_CODE = 1636,
@@ -2906,49 +2095,48 @@ declare module '@authing/react-ui-components/components/_utils/GuardErrorCode' {
2906
2095
  }
2907
2096
 
2908
2097
  }
2909
- declare module '@authing/react-ui-components/components/_utils/appendConfig' {
2910
- import { GuardAppendConfig } from '@authing/react-ui-components/components/index';
2098
+ declare module '@authing/react-ui-components/_utils/appendConfig' {
2099
+ import { GuardAppendConfig } from '@authing/react-ui-components/index';
2911
2100
  export const getAppendConfig: () => GuardAppendConfig;
2912
2101
  export const useAppendConfig: () => GuardAppendConfig;
2913
2102
  export const initAppendConfig: (appendConfig?: GuardAppendConfig) => void;
2914
2103
 
2915
2104
  }
2916
- declare module '@authing/react-ui-components/components/_utils/clipboard' {
2105
+ declare module '@authing/react-ui-components/_utils/clipboard' {
2917
2106
  export const copyToClipboard: (str: string) => void;
2918
2107
 
2919
2108
  }
2920
- declare module '@authing/react-ui-components/components/_utils/config/index' {
2109
+ declare module '@authing/react-ui-components/_utils/config/index' {
2921
2110
  /// <reference types="react" />
2922
- import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2923
- import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/components/Guard/config';
2924
- import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
2925
- import { GuardPageConfig } from '@authing/react-ui-components/components/Type/index';
2926
- import { RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
2111
+ import { GuardComponentConfig, GuardLocalConfig } from '@authing/react-ui-components/Guard/config';
2112
+ import { GuardHttp } from '@authing/react-ui-components/_utils/guardHttp';
2113
+ import { GuardPageConfig } from '@authing/react-ui-components/Type/index';
2114
+ import { ApplicationConfig, RegisterMethods } from '@authing/react-ui-components/Type/application';
2927
2115
  export const getPublicConfig: (appId: string) => ApplicationConfig;
2928
2116
  export const setPublicConfig: (appId: string, config: ApplicationConfig) => ApplicationConfig;
2929
2117
  export const useMergeDefaultConfig: (defaultConfig: GuardLocalConfig, config?: GuardComponentConfig | undefined) => GuardLocalConfig | undefined;
2930
- export const useMergePublicConfig: (appId?: string | undefined, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, setError?: any) => {
2118
+ export const useMergePublicConfig: (forceUpdate: number, appId?: string | undefined, config?: GuardLocalConfig | undefined, httpClient?: GuardHttp | undefined, setError?: any) => {
2931
2119
  host: string;
2932
2120
  isSSO?: boolean | undefined;
2933
- defaultScenes?: import("@authing/react-ui-components/components/index").GuardModuleType | undefined;
2121
+ defaultScenes?: import("@authing/react-ui-components/index").GuardModuleType | undefined;
2934
2122
  defaultInitData?: any;
2935
2123
  showLoading?: boolean | undefined;
2936
2124
  loadingComponent?: import("react").ReactNode;
2937
2125
  openEventsMapping?: boolean | undefined;
2938
- _qrCodeScanOptions?: Record<import("@authing/react-ui-components/components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
2126
+ _qrCodeScanOptions?: Record<import("@authing/react-ui-components/Guard/config").QrCodeScanType, import("../../Guard/config").QrCodeScanOptions> | undefined;
2939
2127
  disableRegister?: boolean | undefined;
2940
2128
  registerMethods?: RegisterMethods[] | undefined;
2941
2129
  defaultRegisterMethod?: RegisterMethods | undefined;
2942
2130
  publicKey?: string | undefined;
2943
2131
  agreementEnabled?: boolean | undefined;
2944
- agreements?: import("@authing/react-ui-components/components/AuthingGuard/api/index").Agreement[] | undefined;
2132
+ agreements?: import("@authing/react-ui-components/Type/application").Agreement[] | undefined;
2945
2133
  registerContext?: any;
2946
2134
  title?: string | undefined;
2947
2135
  logo?: string | undefined;
2948
2136
  lang: string;
2949
2137
  langRange: string[];
2950
2138
  isHost?: boolean | undefined;
2951
- mode: import("@authing/react-ui-components/components/AuthingGuard/types/index").GuardMode;
2139
+ mode: import("@authing/react-ui-components/Type/index").GuardMode;
2952
2140
  clickCloseable: boolean;
2953
2141
  escCloseable: boolean;
2954
2142
  userpool?: string | undefined;
@@ -2959,9 +2147,9 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
2959
2147
  __unAuthFlow__?: boolean | undefined;
2960
2148
  autoRegister?: boolean | undefined;
2961
2149
  disableResetPwd?: boolean | undefined;
2962
- defaultLoginMethod?: import("@authing/react-ui-components/components/AuthingGuard/types/index").LoginMethods | undefined;
2963
- loginMethods?: import("@authing/react-ui-components/components/AuthingGuard/types/index").LoginMethods[] | undefined;
2964
- passwordLoginMethods?: import("@authing/react-ui-components/components/AuthingGuard/api/index").PasswordLoginMethods[] | undefined;
2150
+ defaultLoginMethod?: import("@authing/react-ui-components/Type/application").LoginMethods | undefined;
2151
+ loginMethods?: import("@authing/react-ui-components/Type/application").LoginMethods[] | undefined;
2152
+ passwordLoginMethods?: import("@authing/react-ui-components/Type/application").PasswordLoginMethods[] | undefined;
2965
2153
  socialConnections?: import("authing-js-sdk").SocialConnectionProvider[] | undefined;
2966
2154
  socialConnectionsBtnShape?: "default" | "button" | "icon" | undefined;
2967
2155
  enterpriseConnections?: string[] | undefined;
@@ -3014,15 +2202,15 @@ declare module '@authing/react-ui-components/components/_utils/config/index' {
3014
2202
  export const getPageConfig: (appId: string) => GuardPageConfig;
3015
2203
  export const setPageConfig: (appId: string, config: GuardPageConfig) => GuardPageConfig;
3016
2204
  export const requestGuardPageConfig: (appId: string, httpClient: GuardHttp) => Promise<GuardPageConfig>;
3017
- export const useGuardPageConfig: (appId?: string | undefined, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
2205
+ export const useGuardPageConfig: (forceUpdate: number, appId?: string | undefined, httpClient?: GuardHttp | undefined, serError?: any) => GuardPageConfig | undefined;
3018
2206
 
3019
2207
  }
3020
- declare module '@authing/react-ui-components/components/_utils/context' {
2208
+ declare module '@authing/react-ui-components/_utils/context' {
3021
2209
  import React from 'react';
3022
- import { GuardEvents, GuardLocalConfig, GuardModuleType, GuardPageConfig } from '@authing/react-ui-components/components/index';
3023
- import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
3024
- import { ModuleState } from '@authing/react-ui-components/components/Guard/GuardModule/stateMachine';
3025
- import { GuardHttp } from '@authing/react-ui-components/components/_utils/guardHttp';
2210
+ import { GuardEvents, GuardLocalConfig, GuardModuleType, GuardPageConfig } from '@authing/react-ui-components/index';
2211
+ import { ModuleState } from '@authing/react-ui-components/Guard/GuardModule/stateMachine';
2212
+ import { ApplicationConfig } from '@authing/react-ui-components/Type/application';
2213
+ import { GuardHttp } from '@authing/react-ui-components/_utils/guardHttp';
3026
2214
  export interface IGuardContext {
3027
2215
  finallyConfig: GuardLocalConfig;
3028
2216
  defaultMergedConfig: GuardLocalConfig;
@@ -3077,11 +2265,11 @@ declare module '@authing/react-ui-components/components/_utils/context' {
3077
2265
  export const useGuardPageConfig: () => Partial<GuardPageConfig>;
3078
2266
 
3079
2267
  }
3080
- declare module '@authing/react-ui-components/components/_utils/corsVerification' {
2268
+ declare module '@authing/react-ui-components/_utils/corsVerification' {
3081
2269
  export const corsVerification: (allowedOrigins?: string[], corsWhitelist?: string[]) => void;
3082
2270
 
3083
2271
  }
3084
- declare module '@authing/react-ui-components/components/_utils/countryList' {
2272
+ declare module '@authing/react-ui-components/_utils/countryList' {
3085
2273
  export interface IsoType {
3086
2274
  iso: string;
3087
2275
  regions: string;
@@ -3091,7 +2279,7 @@ declare module '@authing/react-ui-components/components/_utils/countryList' {
3091
2279
  export const isoInfo: IsoType[];
3092
2280
 
3093
2281
  }
3094
- declare module '@authing/react-ui-components/components/_utils/errorFace' {
2282
+ declare module '@authing/react-ui-components/_utils/errorFace' {
3095
2283
  enum FaceErrorName {
3096
2284
  NotAllowedError = "NotAllowedError",
3097
2285
  AbortError = "AbortError",
@@ -3106,14 +2294,14 @@ declare module '@authing/react-ui-components/components/_utils/errorFace' {
3106
2294
  export {};
3107
2295
 
3108
2296
  }
3109
- declare module '@authing/react-ui-components/components/_utils/facePlugin/index' {
3110
- import { FacePlugin } from '@authing/react-ui-components/components/_utils/facePlugin/interface';
2297
+ declare module '@authing/react-ui-components/_utils/facePlugin/index' {
2298
+ import { FacePlugin } from '@authing/react-ui-components/_utils/facePlugin/interface';
3111
2299
  export const getFacePlugin: () => FacePlugin | undefined;
3112
2300
  export const useFacePlugin: () => FacePlugin | undefined;
3113
2301
  export const initFacePlugin: (facePlugin: FacePlugin) => FacePlugin;
3114
2302
 
3115
2303
  }
3116
- declare module '@authing/react-ui-components/components/_utils/facePlugin/interface' {
2304
+ declare module '@authing/react-ui-components/_utils/facePlugin/interface' {
3117
2305
  export interface FacePlugin {
3118
2306
  detectSingleFace: any;
3119
2307
  TinyFaceDetectorOptions: any;
@@ -3121,22 +2309,22 @@ declare module '@authing/react-ui-components/components/_utils/facePlugin/interf
3121
2309
  }
3122
2310
 
3123
2311
  }
3124
- declare module '@authing/react-ui-components/components/_utils/flowHandleStorage' {
2312
+ declare module '@authing/react-ui-components/_utils/flowHandleStorage' {
3125
2313
  export const getFlowHandle: () => string | undefined;
3126
2314
  export const useFlowHandle: () => string | undefined;
3127
2315
  export const updateFlowHandle: (flowHandle: string) => void;
3128
2316
  export const useUpdateFlowHandle: (flowHandle: string) => void;
3129
2317
 
3130
2318
  }
3131
- declare module '@authing/react-ui-components/components/_utils/guardDocument' {
2319
+ declare module '@authing/react-ui-components/_utils/guardDocument' {
3132
2320
  export const getGuardDocument: () => Document;
3133
2321
  export const useAppendConfig: () => Document;
3134
2322
  export const initGuardDocument: (document: Document) => void;
3135
2323
 
3136
2324
  }
3137
- declare module '@authing/react-ui-components/components/_utils/guardHttp' {
3138
- import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
3139
- import { CodeAction } from '@authing/react-ui-components/components/_utils/responseManagement/interface';
2325
+ declare module '@authing/react-ui-components/_utils/guardHttp' {
2326
+ import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/_utils/http';
2327
+ import { CodeAction } from '@authing/react-ui-components/_utils/responseManagement/interface';
3140
2328
  export class GuardHttp {
3141
2329
  private requestClient;
3142
2330
  private headers;
@@ -3164,10 +2352,9 @@ declare module '@authing/react-ui-components/components/_utils/guardHttp' {
3164
2352
  export const useGuardHttp: () => GuardHttp;
3165
2353
 
3166
2354
  }
3167
- declare module '@authing/react-ui-components/components/_utils/hooks/index' {
3168
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
3169
- import { ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
3170
- import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/index';
2355
+ declare module '@authing/react-ui-components/_utils/hooks/index' {
2356
+ import { GuardLocalConfig } from '@authing/react-ui-components/Guard/index';
2357
+ import { ApplicationConfig } from '@authing/react-ui-components/Type/application';
3171
2358
  export interface PhoneValidResult {
3172
2359
  isValid: boolean;
3173
2360
  phoneNumber: string;
@@ -3175,7 +2362,8 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
3175
2362
  countryIso3: string;
3176
2363
  countryCode: string;
3177
2364
  }
3178
- export const useChangeModule: () => (nextModuleType: GuardModuleType, nextData?: any) => void;
2365
+ export const HIDE_SOCIALS: string[];
2366
+ export const HIDE_SOCIALS_SHOWIN_ENTERPRISE: string[];
3179
2367
  export const useAppId: (appId?: string | undefined) => string;
3180
2368
  export const useDebounce: (fn: any, delay: number) => (...args: any[]) => void;
3181
2369
  export const useMediaSize: () => {
@@ -3210,8 +2398,8 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
3210
2398
  }) => any;
3211
2399
 
3212
2400
  }
3213
- declare module '@authing/react-ui-components/components/_utils/http' {
3214
- import { CodeAction } from '@authing/react-ui-components/components/_utils/responseManagement/interface';
2401
+ declare module '@authing/react-ui-components/_utils/http' {
2402
+ import { CodeAction } from '@authing/react-ui-components/_utils/responseManagement/interface';
3215
2403
  import { AxiosRequestConfig } from 'axios';
3216
2404
  export const requestClient: {
3217
2405
  (input: RequestInfo, init?: RequestInit | undefined): Promise<any>;
@@ -3246,15 +2434,14 @@ declare module '@authing/react-ui-components/components/_utils/http' {
3246
2434
  }
3247
2435
 
3248
2436
  }
3249
- declare module '@authing/react-ui-components/components/_utils/index' {
2437
+ declare module '@authing/react-ui-components/_utils/index' {
3250
2438
  import { Rule } from 'antd/lib/form';
3251
2439
  import qs from 'qs';
3252
2440
  import { User } from 'authing-js-sdk';
3253
- import { ApplicationConfig, ComplateFiledsPlace } from '@authing/react-ui-components/components/AuthingGuard/api/index';
3254
- import { GuardProps } from '@authing/react-ui-components/components/Guard/index';
3255
- import { LoginMethods, RegisterMethods } from '@authing/react-ui-components/components/AuthingGuard/types/index';
3256
- export * from '@authing/react-ui-components/components/_utils/popupCenter';
3257
- export * from '@authing/react-ui-components/components/_utils/clipboard';
2441
+ import { GuardProps } from '@authing/react-ui-components/Guard/index';
2442
+ import { ApplicationConfig, ComplateFiledsPlace, LoginMethods, RegisterMethods } from '@authing/react-ui-components/Type/application';
2443
+ export * from '@authing/react-ui-components/_utils/popupCenter';
2444
+ export * from '@authing/react-ui-components/_utils/clipboard';
3258
2445
  export const VALIDATE_PATTERN: {
3259
2446
  readonly email: RegExp;
3260
2447
  readonly phone: RegExp;
@@ -3267,9 +2454,8 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3267
2454
  export const fieldRequiredRule: (fieldRequiredRule: string, fieldRequiredRuleMessage?: string | undefined) => Rule[];
3268
2455
  export function getDeviceName(): string | null | undefined;
3269
2456
  export type STYLE_RECORD_KEY = 'appConfig' | 'userConfig';
3270
- export const insertStyles: (styles: string | any, recordKey?: "userConfig" | "appConfig" | undefined) => void;
2457
+ export const insertStyles: (styles: string | any, recordKey?: "appConfig" | "userConfig" | undefined) => void;
3271
2458
  export const removeStyles: (recordKey: STYLE_RECORD_KEY) => void;
3272
- export const useTitle: (title: string, prefix?: string | undefined) => void;
3273
2459
  export const getClassnames: (classnames: (string | boolean | undefined)[]) => string;
3274
2460
  /**
3275
2461
  * https://www.itranslater.com/qa/details/2115518846294557696
@@ -3341,7 +2527,7 @@ declare module '@authing/react-ui-components/components/_utils/index' {
3341
2527
  export const getPasswordIdentify: (identity: string) => string;
3342
2528
 
3343
2529
  }
3344
- declare module '@authing/react-ui-components/components/_utils/initAppId' {
2530
+ declare module '@authing/react-ui-components/_utils/initAppId' {
3345
2531
  import { AuthenticationClient } from 'authing-js-sdk';
3346
2532
  export interface UseInitAppidProps {
3347
2533
  propsAppid?: string;
@@ -3351,32 +2537,37 @@ declare module '@authing/react-ui-components/components/_utils/initAppId' {
3351
2537
  export const useInitAppId: (propsAppid?: string | undefined, propsAuthClient?: AuthenticationClient | undefined, setError?: any) => string | undefined;
3352
2538
 
3353
2539
  }
3354
- declare module '@authing/react-ui-components/components/_utils/locales/en/index' {
3355
- import common from '@authing/react-ui-components/components/_utils/locales/en/common/index';
3356
- import login from '@authing/react-ui-components/components/_utils/locales/en/login/index';
3357
- import user from '@authing/react-ui-components/components/_utils/locales/en/user/index';
3358
- import map from '@authing/react-ui-components/components/_utils/locales/en/map/index';
3359
- export { common, login, user, map };
2540
+ declare module '@authing/react-ui-components/_utils/locales/en-us/index' {
2541
+ import common from '@authing/react-ui-components/_utils/locales/en-us/common/index';
2542
+ import login from '@authing/react-ui-components/_utils/locales/en-us/login/index';
2543
+ import user from '@authing/react-ui-components/_utils/locales/en-us/user/index';
2544
+ export { common, login, user };
3360
2545
 
3361
2546
  }
3362
- declare module '@authing/react-ui-components/components/_utils/locales/index' {
2547
+ declare module '@authing/react-ui-components/_utils/locales/index' {
3363
2548
  import i18n from 'i18next';
3364
- import { LocalesConfig, Lang } from '@authing/react-ui-components/components/AuthingGuard/types/index';
2549
+ import { Lang } from '@authing/react-ui-components/Type/index';
3365
2550
  export const changeLang: (lang: Lang) => void;
3366
- const initI18n: (localesConfig?: LocalesConfig, lang?: string | undefined) => void;
2551
+ const initI18n: (localesConfig?: {}, lang?: string | undefined) => void;
3367
2552
  export { i18n, initI18n };
3368
2553
 
3369
2554
  }
3370
- declare module '@authing/react-ui-components/components/_utils/locales/zh/index' {
3371
- import common from '@authing/react-ui-components/components/_utils/locales/zh/common/index';
3372
- import login from '@authing/react-ui-components/components/_utils/locales/zh/login/index';
3373
- import user from '@authing/react-ui-components/components/_utils/locales/zh/user/index';
3374
- import map from '@authing/react-ui-components/components/_utils/locales/zh/map/index';
3375
- export { common, login, user, map };
2555
+ declare module '@authing/react-ui-components/_utils/locales/zh-cn/index' {
2556
+ import common from '@authing/react-ui-components/_utils/locales/zh-cn/common/index';
2557
+ import login from '@authing/react-ui-components/_utils/locales/zh-cn/login/index';
2558
+ import user from '@authing/react-ui-components/_utils/locales/zh-cn/user/index';
2559
+ export { common, login, user };
2560
+
2561
+ }
2562
+ declare module '@authing/react-ui-components/_utils/locales/zh-tw/index' {
2563
+ import common from '@authing/react-ui-components/_utils/locales/zh-tw/common/index';
2564
+ import login from '@authing/react-ui-components/_utils/locales/zh-tw/login/index';
2565
+ import user from '@authing/react-ui-components/_utils/locales/zh-tw/user/index';
2566
+ export { common, login, user };
3376
2567
 
3377
2568
  }
3378
- declare module '@authing/react-ui-components/components/_utils/logger/index' {
3379
- import { LoggerType } from '@authing/react-ui-components/components/_utils/logger/interface';
2569
+ declare module '@authing/react-ui-components/_utils/logger/index' {
2570
+ import { LoggerType } from '@authing/react-ui-components/_utils/logger/interface';
3380
2571
  export class Logger {
3381
2572
  static printType: LoggerType[];
3382
2573
  /**
@@ -3393,7 +2584,7 @@ declare module '@authing/react-ui-components/components/_utils/logger/index' {
3393
2584
  export const useLogger: () => Logger;
3394
2585
 
3395
2586
  }
3396
- declare module '@authing/react-ui-components/components/_utils/logger/interface' {
2587
+ declare module '@authing/react-ui-components/_utils/logger/interface' {
3397
2588
  export enum LoggerType {
3398
2589
  INFO = "INFO",
3399
2590
  WARN = "WARN",
@@ -3401,7 +2592,7 @@ declare module '@authing/react-ui-components/components/_utils/logger/interface'
3401
2592
  }
3402
2593
 
3403
2594
  }
3404
- declare module '@authing/react-ui-components/components/_utils/popupCenter' {
2595
+ declare module '@authing/react-ui-components/_utils/popupCenter' {
3405
2596
  /**
3406
2597
  * 在屏幕中心弹出新窗口加载 url
3407
2598
  * @param url
@@ -3413,14 +2604,14 @@ declare module '@authing/react-ui-components/components/_utils/popupCenter' {
3413
2604
  }) => void;
3414
2605
 
3415
2606
  }
3416
- declare module '@authing/react-ui-components/components/_utils/responseManagement/index' {
3417
- import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
3418
- import { CodeAction } from '@authing/react-ui-components/components/_utils/responseManagement/interface';
2607
+ declare module '@authing/react-ui-components/_utils/responseManagement/index' {
2608
+ import { AuthingGuardResponse, AuthingResponse } from '@authing/react-ui-components/_utils/http';
2609
+ import { CodeAction } from '@authing/react-ui-components/_utils/responseManagement/interface';
3419
2610
  export const errorCodeInterceptor: (res: AuthingResponse<any>, callBack: (code: CodeAction, res: AuthingResponse) => AuthingGuardResponse) => AuthingResponse<any>;
3420
2611
 
3421
2612
  }
3422
- declare module '@authing/react-ui-components/components/_utils/responseManagement/interface' {
3423
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/index';
2613
+ declare module '@authing/react-ui-components/_utils/responseManagement/interface' {
2614
+ import { GuardModuleType } from '@authing/react-ui-components/Guard/index';
3424
2615
  export enum CodeAction {
3425
2616
  CHANGE_MODULE = "changeModule",
3426
2617
  RENDER_MESSAGE = "renderMessage",
@@ -3443,544 +2634,30 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
3443
2634
  export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
3444
2635
 
3445
2636
  }
3446
- declare module '@authing/react-ui-components/components/_utils/useErrorText' {
2637
+ declare module '@authing/react-ui-components/_utils/useErrorText' {
3447
2638
  import React from 'react';
3448
2639
  export const usePasswordErrorText: () => {
3449
2640
  setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
3450
2641
  getPassWordUnsafeText: () => JSX.Element;
3451
2642
  };
3452
2643
 
3453
- }
3454
- declare module '@authing/react-ui-components/components/context/base' {
3455
- import React from 'react';
3456
- export function createBaseContext<C>(): readonly [React.Context<C | undefined>, () => C];
3457
- export interface IBaseAction<ActionType = string> {
3458
- type: ActionType & string;
3459
- payload?: any;
3460
- [key: string]: string;
3461
- }
3462
- export interface IBaseContext<S> {
3463
- state: S;
3464
- [k: string]: any;
3465
- }
3466
- export type BaseContextComponent<Props> = React.PropsWithChildren<Props>;
3467
-
3468
- }
3469
- declare module '@authing/react-ui-components/components/context/global/context' {
3470
- /// <reference types="react" />
3471
- import { IBaseContext, BaseContextComponent } from '@authing/react-ui-components/components/context/base';
3472
- import { IState } from '@authing/react-ui-components/components/context/global/reducer';
3473
- export interface IGuardContext extends IBaseContext<IState> {
3474
- dispatch: Function;
3475
- getValue: (key: keyof IState) => any;
3476
- setValue: (key: keyof IState, value: any) => void;
3477
- }
3478
- export function useGuardContext(): IGuardContext;
3479
- export function GuardContext({ children, value, }: BaseContextComponent<Record<string, any>>): JSX.Element;
3480
-
3481
- }
3482
- declare module '@authing/react-ui-components/components/context/global/reducer' {
3483
- import { GuardConfig, ActiveTabs, GuardScenes, UserConfig, GuardEventsHandler, LocalesConfig, Lang } from '@authing/react-ui-components/components/AuthingGuard/types/index';
3484
- import { AuthenticationClient } from 'authing-js-sdk';
3485
- import { IBaseAction } from '@authing/react-ui-components/components/context/base';
3486
- import { ApplicationMfaType } from '@authing/react-ui-components/components/AuthingGuard/api/appConfig';
3487
- export type IState = {
3488
- config: GuardConfig;
3489
- userConfig: UserConfig;
3490
- authClient: AuthenticationClient;
3491
- activeTabs: ActiveTabs;
3492
- guardScenes: GuardScenes;
3493
- guardTitle: string;
3494
- mfaData: {
3495
- mfaToken: string;
3496
- phone?: string;
3497
- email?: string;
3498
- applicationMfa?: {
3499
- status: 0 | 1;
3500
- mfaPolicy: ApplicationMfaType;
3501
- sort: number;
3502
- }[];
3503
- };
3504
- userPoolId: string;
3505
- appId: string;
3506
- guardEvents: GuardEventsHandler;
3507
- localesConfig: LocalesConfig;
3508
- lang?: Lang;
3509
- realHost: string;
3510
- };
3511
- export const reducer: (state: IState, { type, ...payloads }: IBaseAction) => any;
3512
-
3513
- }
3514
- declare module '@authing/react-ui-components/components/context/module/context' {
3515
- import React, { FC } from 'react';
3516
- import { GuardModuleType } from '@authing/react-ui-components/components/Guard/module';
3517
- export interface IModuleContext {
3518
- module: string;
3519
- changeModule: React.Dispatch<GuardModuleType>;
3520
- setInitData: React.Dispatch<any>;
3521
- }
3522
- export const useModule: () => IModuleContext;
3523
- export const ModuleContext: FC<{
3524
- value: IModuleContext;
3525
- }>;
3526
-
3527
- }
3528
- declare module '@authing/react-ui-components/components/index' {
3529
- export * from '@authing/react-ui-components/components/_utils/config/index';
3530
- export * from '@authing/react-ui-components/components/_utils/responseManagement/interface';
3531
- export * from '@authing/react-ui-components/components/AuthClientProvider/index';
3532
- export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
3533
- export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
3534
- export * from '@authing/react-ui-components/components/AuthingGuard/index';
3535
- export * from '@authing/react-ui-components/components/Guard/index';
3536
- export * from '@authing/react-ui-components/components/Type/index';
3537
- export * from '@authing/react-ui-components/components/version/index';
3538
-
3539
- }
3540
- declare module '@authing/react-ui-components/components/version/index' {
3541
- import version from '@authing/react-ui-components/components/version/version';
3542
- export default version;
3543
-
3544
- }
3545
- declare module '@authing/react-ui-components/components/version/version' {
3546
- const _default: "3.1.37";
3547
- export default _default;
3548
-
3549
- }
3550
- declare module '@authing/react-ui-components/config/antdReplacer' {
3551
- export function antdScopeReplacerFn(node: any): void;
3552
-
3553
- }
3554
- declare module '@authing/react-ui-components/config/env' {
3555
- export = getClientEnvironment;
3556
- function getClientEnvironment(publicUrl: any): {
3557
- raw: {
3558
- NODE_ENV: "development" | "production" | "test";
3559
- PUBLIC_URL: any;
3560
- WDS_SOCKET_HOST: string | undefined;
3561
- WDS_SOCKET_PATH: string | undefined;
3562
- WDS_SOCKET_PORT: string | undefined;
3563
- FAST_REFRESH: boolean;
3564
- };
3565
- stringified: {
3566
- 'process.env': {};
3567
- };
3568
- };
3569
-
3570
- }
3571
- declare module '@authing/react-ui-components/config/getHttpsConfig' {
3572
- export = getHttpsConfig;
3573
- function getHttpsConfig(): boolean | {
3574
- cert: Buffer;
3575
- key: Buffer;
3576
- };
3577
-
3578
- }
3579
- declare module '@authing/react-ui-components/config/jest/cssTransform' {
3580
- export function process(): string;
3581
- export function process(): string;
3582
- export function getCacheKey(): string;
3583
- export function getCacheKey(): string;
3584
-
3585
- }
3586
- declare module '@authing/react-ui-components/config/jest/fileTransform' {
3587
- export function process(src: any, filename: any): string;
3588
- export function process(src: any, filename: any): string;
3589
-
3590
- }
3591
- declare module '@authing/react-ui-components/config/modules' {
3592
- export const additionalModulePaths: string[] | "" | null;
3593
- export const hasTsConfig: boolean;
3594
- export const webpackAliases: {
3595
- src?: undefined;
3596
- } | {
3597
- src: string;
3598
- } | undefined;
3599
- export const jestAliases: {
3600
- '^src/(.*)$'?: undefined;
3601
- } | {
3602
- '^src/(.*)$': string;
3603
- } | undefined;
3604
-
3605
- }
3606
- declare module '@authing/react-ui-components/config/paths' {
3607
- export const publicUrlOrPath: any;
3608
- export const moduleFileExtensions: string[];
3609
- export const dotenv: string;
3610
- export const appPath: string;
3611
- export const appBuild: string;
3612
- export const appPublic: string;
3613
- export const appHtml: string;
3614
- export const appIndexJs: any;
3615
- export const appPackageJson: string;
3616
- export const appSrc: string;
3617
- export const appTsConfig: string;
3618
- export const appJsConfig: string;
3619
- export const yarnLockFile: string;
3620
- export const testsSetup: any;
3621
- export const proxySetup: string;
3622
- export const appNodeModules: string;
3623
- export const swSrc: any;
3624
- export const componentsIndexJs: string;
3625
- export const libBuild: string;
3626
-
3627
- }
3628
- declare module '@authing/react-ui-components/config/pnpTs' {
3629
- export function resolveModuleName(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
3630
- export function resolveTypeReferenceDirective(typescript: any, moduleName: any, containingFile: any, compilerOptions: any, resolutionHost: any): import("typescript").ResolvedModuleWithFailedLookupLocations;
3631
-
3632
- }
3633
- declare module '@authing/react-ui-components/config/webpack.config' {
3634
- function _exports(webpackEnv: any): {
3635
- mode: string | false;
3636
- bail: boolean;
3637
- devtool: string | boolean;
3638
- externals: string[] | undefined;
3639
- entry: any;
3640
- output: {
3641
- library: string | undefined;
3642
- libraryTarget: string | undefined;
3643
- path: string | undefined;
3644
- pathinfo: boolean;
3645
- filename: (chunkData: any) => false | "index.min.js" | "static/js/[name].[contenthash:8].js" | "static/js/bundle.js";
3646
- futureEmitAssets: boolean;
3647
- chunkFilename: string | false | undefined;
3648
- publicPath: any;
3649
- devtoolModuleFilenameTemplate: false | ((info: any) => string) | undefined;
3650
- jsonpFunction: string | undefined;
3651
- globalObject: string;
3652
- };
3653
- optimization: {
3654
- minimize: boolean;
3655
- minimizer: any[];
3656
- splitChunks: {
3657
- cacheGroups: {
3658
- default: boolean;
3659
- };
3660
- chunks?: undefined;
3661
- name?: undefined;
3662
- } | {
3663
- chunks: string;
3664
- name: boolean;
3665
- cacheGroups?: undefined;
3666
- };
3667
- runtimeChunk: false | {
3668
- name: (entrypoint: any) => string;
3669
- };
3670
- };
3671
- resolve: {
3672
- modules: string[];
3673
- extensions: string[];
3674
- alias: {
3675
- src?: undefined;
3676
- 'react-dom$'?: string;
3677
- 'scheduler/tracing'?: string;
3678
- 'react-native': string;
3679
- } | {
3680
- src: string;
3681
- 'react-dom$'?: string;
3682
- 'scheduler/tracing'?: string;
3683
- 'react-native': string;
3684
- };
3685
- plugins: any[];
3686
- };
3687
- resolveLoader: {
3688
- plugins: any[];
3689
- };
3690
- module: {
3691
- strictExportPresence: boolean;
3692
- rules: ({
3693
- parser: {
3694
- requireEnsure: boolean;
3695
- };
3696
- oneOf?: undefined;
3697
- } | {
3698
- oneOf: ({
3699
- test: RegExp;
3700
- loader: string;
3701
- options?: undefined;
3702
- include?: undefined;
3703
- exclude?: undefined;
3704
- use?: undefined;
3705
- sideEffects?: undefined;
3706
- } | {
3707
- test: RegExp[];
3708
- loader: string;
3709
- options: {
3710
- limit: number;
3711
- mimetype: string;
3712
- name: string;
3713
- customize?: undefined;
3714
- presets?: undefined;
3715
- plugins?: undefined;
3716
- cacheDirectory?: undefined;
3717
- cacheCompression?: undefined;
3718
- compact?: undefined;
3719
- babelrc?: undefined;
3720
- configFile?: undefined;
3721
- sourceMaps?: undefined;
3722
- inputSourceMap?: undefined;
3723
- };
3724
- include?: undefined;
3725
- exclude?: undefined;
3726
- use?: undefined;
3727
- sideEffects?: undefined;
3728
- } | {
3729
- test: RegExp[];
3730
- loader: string;
3731
- options: {
3732
- limit: number;
3733
- name: string;
3734
- mimetype?: undefined;
3735
- customize?: undefined;
3736
- presets?: undefined;
3737
- plugins?: undefined;
3738
- cacheDirectory?: undefined;
3739
- cacheCompression?: undefined;
3740
- compact?: undefined;
3741
- babelrc?: undefined;
3742
- configFile?: undefined;
3743
- sourceMaps?: undefined;
3744
- inputSourceMap?: undefined;
3745
- };
3746
- include?: undefined;
3747
- exclude?: undefined;
3748
- use?: undefined;
3749
- sideEffects?: undefined;
3750
- } | {
3751
- test: RegExp;
3752
- include: string;
3753
- loader: string;
3754
- options: {
3755
- customize: string;
3756
- presets: string[];
3757
- plugins: (string | false | (string | {
3758
- loaderMap: {
3759
- svg: {
3760
- ReactComponent: string;
3761
- };
3762
- };
3763
- })[] | (string | {
3764
- libraryName: string;
3765
- style: boolean;
3766
- })[])[];
3767
- cacheDirectory: boolean;
3768
- cacheCompression: boolean;
3769
- compact: boolean;
3770
- limit?: undefined;
3771
- mimetype?: undefined;
3772
- name?: undefined;
3773
- babelrc?: undefined;
3774
- configFile?: undefined;
3775
- sourceMaps?: undefined;
3776
- inputSourceMap?: undefined;
3777
- };
3778
- exclude?: undefined;
3779
- use?: undefined;
3780
- sideEffects?: undefined;
3781
- } | {
3782
- test: RegExp;
3783
- exclude: RegExp;
3784
- loader: string;
3785
- options: {
3786
- babelrc: boolean;
3787
- configFile: boolean;
3788
- compact: boolean;
3789
- presets: (string | {
3790
- helpers: boolean;
3791
- })[][];
3792
- cacheDirectory: boolean;
3793
- cacheCompression: boolean;
3794
- sourceMaps: boolean;
3795
- inputSourceMap: boolean;
3796
- limit?: undefined;
3797
- mimetype?: undefined;
3798
- name?: undefined;
3799
- customize?: undefined;
3800
- plugins?: undefined;
3801
- };
3802
- include?: undefined;
3803
- use?: undefined;
3804
- sideEffects?: undefined;
3805
- } | {
3806
- test: RegExp;
3807
- exclude: RegExp;
3808
- use: (string | false | {
3809
- loader: any;
3810
- options: {
3811
- publicPath: string;
3812
- } | {
3813
- publicPath?: undefined;
3814
- };
3815
- } | {
3816
- loader: string;
3817
- options: any;
3818
- })[];
3819
- sideEffects: boolean;
3820
- loader?: undefined;
3821
- options?: undefined;
3822
- include?: undefined;
3823
- } | {
3824
- test: RegExp;
3825
- use: (string | false | {
3826
- loader: any;
3827
- options: {
3828
- publicPath: string;
3829
- } | {
3830
- publicPath?: undefined;
3831
- };
3832
- } | {
3833
- loader: string;
3834
- options: any;
3835
- })[];
3836
- loader?: undefined;
3837
- options?: undefined;
3838
- include?: undefined;
3839
- exclude?: undefined;
3840
- sideEffects?: undefined;
3841
- } | {
3842
- loader: string;
3843
- exclude: RegExp[];
3844
- options: {
3845
- name: string;
3846
- limit?: undefined;
3847
- mimetype?: undefined;
3848
- customize?: undefined;
3849
- presets?: undefined;
3850
- plugins?: undefined;
3851
- cacheDirectory?: undefined;
3852
- cacheCompression?: undefined;
3853
- compact?: undefined;
3854
- babelrc?: undefined;
3855
- configFile?: undefined;
3856
- sourceMaps?: undefined;
3857
- inputSourceMap?: undefined;
3858
- };
3859
- test?: undefined;
3860
- include?: undefined;
3861
- use?: undefined;
3862
- sideEffects?: undefined;
3863
- })[];
3864
- parser?: undefined;
3865
- })[];
3866
- };
3867
- plugins: any[];
3868
- node: {
3869
- module: string;
3870
- dgram: string;
3871
- dns: string;
3872
- fs: string;
3873
- http2: string;
3874
- net: string;
3875
- tls: string;
3876
- child_process: string;
3877
- crypto: string;
3878
- Buffer: boolean;
3879
- };
3880
- performance: boolean;
3881
- };
3882
- export = _exports;
3883
-
3884
- }
3885
- declare module '@authing/react-ui-components/config/webpackDevServer.config' {
3886
- function _exports(proxy: any, allowedHost: any): {
3887
- disableHostCheck: boolean;
3888
- compress: boolean;
3889
- clientLogLevel: string;
3890
- contentBase: string;
3891
- contentBasePublicPath: any;
3892
- watchContentBase: boolean;
3893
- hot: boolean;
3894
- transportMode: string;
3895
- injectClient: boolean;
3896
- sockHost: string | undefined;
3897
- sockPath: string | undefined;
3898
- sockPort: string | undefined;
3899
- publicPath: any;
3900
- quiet: boolean;
3901
- watchOptions: {
3902
- ignored: any;
3903
- };
3904
- https: boolean | {
3905
- cert: Buffer;
3906
- key: Buffer;
3907
- };
3908
- host: string;
3909
- overlay: boolean;
3910
- historyApiFallback: {
3911
- disableDotRule: boolean;
3912
- index: any;
3913
- };
3914
- public: any;
3915
- proxy: any;
3916
- before(app: any, server: any): void;
3917
- after(app: any): void;
3918
- };
3919
- export = _exports;
3920
-
3921
- }
3922
- declare module '@authing/react-ui-components/examples' {
3923
- export {};
3924
-
3925
2644
  }
3926
2645
  declare module '@authing/react-ui-components/index' {
3927
- const _exports: typeof import("@authing/react-ui-components/components/index");
3928
- export = _exports;
2646
+ export * from '@authing/react-ui-components/_utils/config/index';
2647
+ export * from '@authing/react-ui-components/_utils/responseManagement/interface';
2648
+ export * from '@authing/react-ui-components/AuthClientProvider/index';
2649
+ export * from '@authing/react-ui-components/Guard/index';
2650
+ export * from '@authing/react-ui-components/Type/index';
2651
+ export * from '@authing/react-ui-components/version/index';
3929
2652
 
3930
2653
  }
3931
- declare module '@authing/react-ui-components/reportWebVitals' {
3932
- import { ReportHandler } from 'web-vitals';
3933
- const reportWebVitals: (onPerfEntry?: ReportHandler | undefined) => void;
3934
- export default reportWebVitals;
3935
-
3936
- }
3937
- declare module '@authing/react-ui-components/scripts/build' {
3938
- export {};
3939
-
3940
- }
3941
- declare module '@authing/react-ui-components/scripts/generate-examples' {
3942
- export {};
3943
-
3944
- }
3945
- declare module '@authing/react-ui-components/scripts/generate-version' {
3946
- export {};
3947
-
3948
- }
3949
- declare module '@authing/react-ui-components/scripts/lib' {
3950
- export {};
3951
-
3952
- }
3953
- declare module '@authing/react-ui-components/scripts/pre-publish' {
3954
- export {};
3955
-
3956
- }
3957
- declare module '@authing/react-ui-components/scripts/publish' {
3958
- export {};
3959
-
3960
- }
3961
- declare module '@authing/react-ui-components/scripts/start' {
3962
- export {};
3963
-
3964
- }
3965
- declare module '@authing/react-ui-components/scripts/tag' {
3966
- export {};
3967
-
3968
- }
3969
- declare module '@authing/react-ui-components/scripts/test' {
3970
- export {};
3971
-
3972
- }
3973
- declare module '@authing/react-ui-components/scripts/utils/is-guard-publish' {
3974
- function _exports(): any;
3975
- export = _exports;
3976
-
3977
- }
3978
- declare module '@authing/react-ui-components/setupTests' {
3979
- import '@testing-library/jest-dom';
2654
+ declare module '@authing/react-ui-components/version/index' {
2655
+ import version from '@authing/react-ui-components/version/version';
2656
+ export default version;
3980
2657
 
3981
2658
  }
3982
- declare module '@authing/react-ui-components/vite.config' {
3983
- const _default: import("vite").UserConfigExport;
2659
+ declare module '@authing/react-ui-components/version/version' {
2660
+ const _default: "4.0.0-rc.0";
3984
2661
  export default _default;
3985
2662
 
3986
2663
  }