@authing/react-ui-components 3.1.17-rc.9 → 3.1.18-rc.11
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 +3 -58
- package/lib/index.min.css +2 -2
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -445,7 +445,6 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
445
445
|
defaultISOType: string;
|
|
446
446
|
};
|
|
447
447
|
css: string;
|
|
448
|
-
customLoading?: string;
|
|
449
448
|
name: string;
|
|
450
449
|
logo: string;
|
|
451
450
|
description?: string;
|
|
@@ -1178,7 +1177,6 @@ declare module '@authing/react-ui-components/components/ChangePassword/core/rota
|
|
|
1178
1177
|
/// <reference types="react" />
|
|
1179
1178
|
interface RotateResetProps {
|
|
1180
1179
|
onReset: any;
|
|
1181
|
-
onFinishCallBack?: any;
|
|
1182
1180
|
}
|
|
1183
1181
|
export const RotateReset: (props: RotateResetProps) => JSX.Element;
|
|
1184
1182
|
export {};
|
|
@@ -1192,7 +1190,6 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1192
1190
|
}>;
|
|
1193
1191
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1194
1192
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1195
|
-
export const GuardNoticePasswordResetView: React.FC;
|
|
1196
1193
|
|
|
1197
1194
|
}
|
|
1198
1195
|
declare module '@authing/react-ui-components/components/CompleteInfo/businessRequest' {
|
|
@@ -1657,7 +1654,6 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1657
1654
|
MFA = "mfa",
|
|
1658
1655
|
FORGET_PWD = "forgetPassword",
|
|
1659
1656
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1660
|
-
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1661
1657
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1662
1658
|
DOWNLOAD_AT = "downloadAT",
|
|
1663
1659
|
BIND_TOTP = "bindTotp",
|
|
@@ -1667,8 +1663,7 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1667
1663
|
RECOVERY_CODE = "recoveryCode",
|
|
1668
1664
|
SUBMIT_SUCCESS = "submitSuccess",
|
|
1669
1665
|
IDENTITY_BINDING_ASK = "identityBindingAsk",
|
|
1670
|
-
IDENTITY_BINDING = "identityBinding"
|
|
1671
|
-
SELF_UNLOCK = "selfUnlock"
|
|
1666
|
+
IDENTITY_BINDING = "identityBinding"
|
|
1672
1667
|
}
|
|
1673
1668
|
export interface GuardModuleAction {
|
|
1674
1669
|
action: string;
|
|
@@ -2498,38 +2493,6 @@ declare module '@authing/react-ui-components/components/Register/interface' {
|
|
|
2498
2493
|
declare module '@authing/react-ui-components/components/Register/utils' {
|
|
2499
2494
|
export const useIsChangeComplete: (currentMode: 'phone' | 'email') => boolean;
|
|
2500
2495
|
|
|
2501
|
-
}
|
|
2502
|
-
declare module '@authing/react-ui-components/components/SelfUnlock/core/selfUnlock' {
|
|
2503
|
-
/// <reference types="react" />
|
|
2504
|
-
export enum InputMethodMap {
|
|
2505
|
-
email = "email-code",
|
|
2506
|
-
phone = "phone-code"
|
|
2507
|
-
}
|
|
2508
|
-
export const SelfUnlock: () => JSX.Element;
|
|
2509
|
-
|
|
2510
|
-
}
|
|
2511
|
-
declare module '@authing/react-ui-components/components/SelfUnlock/index' {
|
|
2512
|
-
import React from 'react';
|
|
2513
|
-
export const GuardUnlockView: React.FC;
|
|
2514
|
-
|
|
2515
|
-
}
|
|
2516
|
-
declare module '@authing/react-ui-components/components/SelfUnlock/interface' {
|
|
2517
|
-
import { AuthenticationClient, CommonMessage } from '@authing/react-ui-components/components/index';
|
|
2518
|
-
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
2519
|
-
export interface ForgetPasswordEvents extends IG2Events {
|
|
2520
|
-
onPwdEmailSend?: (authClient: AuthenticationClient) => void;
|
|
2521
|
-
onPwdEmailSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2522
|
-
onPwdPhoneSend?: (authClient: AuthenticationClient) => void;
|
|
2523
|
-
onPwdPhoneSendError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2524
|
-
onPwdReset?: (authClient: AuthenticationClient) => void;
|
|
2525
|
-
onPwdResetError?: (error: CommonMessage, authClient: AuthenticationClient) => void;
|
|
2526
|
-
}
|
|
2527
|
-
export interface ForgetPasswordConfig extends IG2Config {
|
|
2528
|
-
}
|
|
2529
|
-
export interface ForgetPasswordProps extends IG2FCProps, ForgetPasswordEvents {
|
|
2530
|
-
config: Partial<IG2Config>;
|
|
2531
|
-
}
|
|
2532
|
-
|
|
2533
2496
|
}
|
|
2534
2497
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
2535
2498
|
import React, { FC } from 'react';
|
|
@@ -2546,9 +2509,9 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeBtn' {
|
|
|
2546
2509
|
}
|
|
2547
2510
|
declare module '@authing/react-ui-components/components/SendCode/SendCodeByEmail' {
|
|
2548
2511
|
import { FC } from 'react';
|
|
2512
|
+
import { EmailScene } from 'authing-js-sdk';
|
|
2549
2513
|
import './style.less';
|
|
2550
2514
|
import { InputProps } from 'antd/lib/input';
|
|
2551
|
-
import { EmailScene } from '@authing/react-ui-components/components/Type/index';
|
|
2552
2515
|
export interface SendCodeByEmailProps extends InputProps {
|
|
2553
2516
|
data: string;
|
|
2554
2517
|
form?: any;
|
|
@@ -2618,7 +2581,6 @@ declare module '@authing/react-ui-components/components/SubmitButton/index' {
|
|
|
2618
2581
|
text?: string;
|
|
2619
2582
|
className?: string;
|
|
2620
2583
|
onClick?: any;
|
|
2621
|
-
disabled?: boolean;
|
|
2622
2584
|
}
|
|
2623
2585
|
const _default: React.ForwardRefExoticComponent<SubmitButtonProps & React.RefAttributes<unknown>>;
|
|
2624
2586
|
export default _default;
|
|
@@ -2714,19 +2676,6 @@ declare module '@authing/react-ui-components/components/Type/index' {
|
|
|
2714
2676
|
showChangeLanguage: boolean;
|
|
2715
2677
|
};
|
|
2716
2678
|
}
|
|
2717
|
-
export enum EmailScene {
|
|
2718
|
-
WELCOME_EMAIL = "WELCOME_EMAIL",
|
|
2719
|
-
FIRST_CREATED_USER = "FIRST_CREATED_USER",
|
|
2720
|
-
REGISTER_VERIFY_CODE = "REGISTER_VERIFY_CODE",
|
|
2721
|
-
LOGIN_VERIFY_CODE = "LOGIN_VERIFY_CODE",
|
|
2722
|
-
MFA_VERIFY_CODE = "MFA_VERIFY_CODE",
|
|
2723
|
-
INFORMATION_COMPLETION_VERIFY_CODE = "INFORMATION_COMPLETION_VERIFY_CODE",
|
|
2724
|
-
FIRST_EMAIL_LOGIN_VERIFY = "FIRST_EMAIL_LOGIN_VERIFY",
|
|
2725
|
-
CONSOLE_CONDUCTED_VERIFY = "CONSOLE_CONDUCTED_VERIFY",
|
|
2726
|
-
RESET_PASSWORD_VERIFY_CODE = "RESET_PASSWORD_VERIFY_CODE",
|
|
2727
|
-
EMAIL_BIND_VERIFY_CODE = "EMAIL_BIND_VERIFY_CODE",
|
|
2728
|
-
EMAIL_UNBIND_VERIFY_CODE = "EMAIL_UNBIND_VERIFY_CODE"
|
|
2729
|
-
}
|
|
2730
2679
|
|
|
2731
2680
|
}
|
|
2732
2681
|
declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
|
|
@@ -2755,7 +2704,6 @@ declare module '@authing/react-ui-components/components/ValidatorRules/index' {
|
|
|
2755
2704
|
form?: FormInstance;
|
|
2756
2705
|
checkRepeat?: boolean;
|
|
2757
2706
|
areaCode?: string;
|
|
2758
|
-
isCheckI18nSms?: boolean;
|
|
2759
2707
|
}
|
|
2760
2708
|
export interface ValidatorFormItemMetaProps extends ValidatorFormItemProps {
|
|
2761
2709
|
form?: FormInstance;
|
|
@@ -3180,14 +3128,12 @@ declare module '@authing/react-ui-components/components/_utils/index' {
|
|
|
3180
3128
|
export const isXiaomiBrowser: () => boolean | null;
|
|
3181
3129
|
export const isDingtalkBrowser: () => boolean | null;
|
|
3182
3130
|
export const isQQBrowser: () => boolean | null;
|
|
3183
|
-
export const isQQBuiltInBrowser: () => boolean | null;
|
|
3184
3131
|
export const isEdgeBrowser: () => boolean;
|
|
3185
3132
|
export const isWeiboBrowser: () => boolean | null;
|
|
3186
3133
|
export const isAlipayBrowser: () => boolean | null;
|
|
3187
3134
|
export const isBaiduBrowser: () => boolean | null;
|
|
3188
3135
|
export const isWeComeBrowser: () => boolean;
|
|
3189
3136
|
export const isMobile: () => RegExpMatchArray | null;
|
|
3190
|
-
export const isWeWorkBuiltInBrowser: () => boolean | null;
|
|
3191
3137
|
export const isSpecialBrowser: () => boolean;
|
|
3192
3138
|
export const assembledAppHost: (identifier: string, host: string) => string;
|
|
3193
3139
|
export const assembledRequestHost: (requestHostname: string, configHost: string) => string;
|
|
@@ -3306,7 +3252,6 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3306
3252
|
MFA = 1635,
|
|
3307
3253
|
ABORT_FLOW = 1699,
|
|
3308
3254
|
COMPLETE_INFO = 1642,
|
|
3309
|
-
UNLOCK = 1643,
|
|
3310
3255
|
FLOW_END = 1600,
|
|
3311
3256
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3312
3257
|
FORCED_PASSWORD_RESET = 2058
|
|
@@ -3406,7 +3351,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3406
3351
|
|
|
3407
3352
|
}
|
|
3408
3353
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3409
|
-
const _default: "3.1.
|
|
3354
|
+
const _default: "3.1.16-beta.0";
|
|
3410
3355
|
export default _default;
|
|
3411
3356
|
|
|
3412
3357
|
}
|