@authing/guard-shim-react18 4.5.1-alpha.6 → 4.5.1-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/guard.min.css +2 -2
- package/dist/guard.min.js +2560 -3732
- package/dist/typings/shim-antd4/index.d.ts +5 -3
- package/dist/typings/src/BindTotp/core/bindSuccess.d.ts +0 -3
- package/dist/typings/src/BindTotp/core/securityCode.d.ts +0 -1
- package/dist/typings/src/BindTotp/index.d.ts +0 -1
- package/dist/typings/src/ChangeLanguage/index.d.ts +0 -1
- package/dist/typings/src/ChangePassword/core/PasswordNotSafeReset.d.ts +0 -2
- package/dist/typings/src/ChangePassword/core/completePassword.d.ts +0 -1
- package/dist/typings/src/ChangePassword/core/firstLoginReset.d.ts +0 -2
- package/dist/typings/src/ChangePassword/core/rotateReset.d.ts +0 -2
- package/dist/typings/src/ChangePassword/index.d.ts +0 -1
- package/dist/typings/src/CompleteInfo/core/completeInfo.d.ts +0 -5
- package/dist/typings/src/DownloadAuthenticator/index.d.ts +0 -1
- package/dist/typings/src/ForgetPassword/InputPassword/index.d.ts +0 -1
- package/dist/typings/src/ForgetPassword/core/inputIdentify.d.ts +0 -1
- package/dist/typings/src/ForgetPassword/core/resetPassword.d.ts +0 -2
- package/dist/typings/src/ForgetPassword/index.d.ts +0 -2
- package/dist/typings/src/Guard/Guard.d.ts +0 -1
- package/dist/typings/src/Guard/core/renderModule.d.ts +2 -4
- package/dist/typings/src/Guard/event.d.ts +0 -1
- package/dist/typings/src/GuardButton/GuardButton.d.ts +0 -1
- package/dist/typings/src/GuardFace/index.d.ts +0 -2
- package/dist/typings/src/GuardSelect/index.d.ts +0 -2
- package/dist/typings/src/IdentityBinding/IdentityBinding.d.ts +0 -1
- package/dist/typings/src/InputNumber/index.d.ts +0 -1
- package/dist/typings/src/InputPassword/index.d.ts +0 -1
- package/dist/typings/src/Login/core/withAD.d.ts +0 -3
- package/dist/typings/src/Login/core/withAppQrcode.d.ts +0 -1
- package/dist/typings/src/Login/core/withAuthingOtpPush/BeforeLogin.d.ts +0 -3
- package/dist/typings/src/Login/core/withAuthingOtpPush/HowBindClient.d.ts +0 -1
- package/dist/typings/src/Login/core/withAuthingOtpPush/HowGetAppLoginUrl.d.ts +0 -1
- package/dist/typings/src/Login/core/withAuthingOtpPush/HowUsePushLogin.d.ts +0 -1
- package/dist/typings/src/Login/core/withAuthingOtpPush/PendingLogin.d.ts +0 -2
- package/dist/typings/src/Login/core/withAuthingOtpPush/PushLoginGuideModal.d.ts +0 -1
- package/dist/typings/src/Login/core/withAuthingOtpPush/PushLoginGuideSelector.d.ts +0 -1
- package/dist/typings/src/Login/core/withAuthingOtpPush/index.d.ts +0 -1
- package/dist/typings/src/Login/core/withLDAP.d.ts +0 -3
- package/dist/typings/src/Login/core/withPassword/FormItemAccount.d.ts +0 -1
- package/dist/typings/src/Login/core/withPassword/GraphicVerifyCode.d.ts +0 -1
- package/dist/typings/src/Login/core/withPassword/InputAccount.d.ts +0 -1
- package/dist/typings/src/Login/core/withPassword/index.d.ts +0 -1
- package/dist/typings/src/Login/core/withVerifyCode/FormItemIdentify.d.ts +0 -1
- package/dist/typings/src/Login/core/withVerifyCode/InputInternationPhone.d.ts +0 -1
- package/dist/typings/src/Login/core/withVerifyCode/VirtualDropdown.d.ts +0 -2
- package/dist/typings/src/Login/core/withVerifyCode/index.d.ts +0 -1
- package/dist/typings/src/Login/core/withVerifyCode/inputIdentify.d.ts +0 -1
- package/dist/typings/src/Login/core/withWechatMiniQrcode.d.ts +0 -1
- package/dist/typings/src/Login/core/withWechatmpQrcode.d.ts +0 -1
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +1 -1
- package/dist/typings/src/Login/index.d.ts +0 -5
- package/dist/typings/src/Login/multipleAccounts/panel.d.ts +0 -1
- package/dist/typings/src/Login/resetAccountName/index.d.ts +0 -3
- package/dist/typings/src/Login/socialLogin/IdpButton/index.d.ts +0 -2
- package/dist/typings/src/Login/socialLogin/index.d.ts +0 -3
- package/dist/typings/src/MFA/VerifyCodeInput/VerifyCodeFormItem.d.ts +0 -1
- package/dist/typings/src/MFA/VerifyCodeInput/index.d.ts +0 -2
- package/dist/typings/src/MFA/core/email.d.ts +0 -3
- package/dist/typings/src/MFA/core/face.d.ts +0 -1
- package/dist/typings/src/MFA/core/sms.d.ts +0 -2
- package/dist/typings/src/MFA/core/totp.d.ts +0 -1
- package/dist/typings/src/MFA/index.d.ts +0 -1
- package/dist/typings/src/NeedHelpView/core/describeQuestions.d.ts +0 -7
- package/dist/typings/src/RecoveryCode/core/saveCode.d.ts +0 -3
- package/dist/typings/src/RecoveryCode/core/useCode.d.ts +0 -2
- package/dist/typings/src/Register/components/Agreements/index.d.ts +0 -2
- package/dist/typings/src/Register/core/WithCode.d.ts +0 -2
- package/dist/typings/src/Register/core/WithEmail.d.ts +0 -3
- package/dist/typings/src/Register/core/WithEmailCode.d.ts +0 -3
- package/dist/typings/src/Register/core/WithPhone.d.ts +0 -1
- package/dist/typings/src/Register/index.d.ts +0 -1
- package/dist/typings/src/SelectAccount2Login/index.d.ts +0 -1
- package/dist/typings/src/SelfUnlock/core/selfUnlock.d.ts +0 -1
- package/dist/typings/src/SendCode/SendCodeBtn.d.ts +0 -1
- package/dist/typings/src/SendCode/SendCodeByEmail.d.ts +0 -1
- package/dist/typings/src/SendCode/SendCodeByPhone.d.ts +0 -1
- package/dist/typings/src/SendCode/index.d.ts +0 -1
- package/dist/typings/src/UploadImage/index.d.ts +0 -3
- package/dist/typings/src/ValidatorRules/PasswordFormItem.d.ts +0 -1
- package/dist/typings/src/ValidatorRules/ValidatorFormItem.d.ts +0 -1
- package/dist/typings/src/ValidatorRules/index.d.ts +0 -1
- package/dist/typings/src/VerifyCodeInput/index.d.ts +0 -2
- package/dist/typings/src/_utils/config/index.d.ts +1 -1
- package/dist/typings/src/_utils/index.d.ts +0 -1
- package/dist/typings/src/_utils/responseManagement/index.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import './index.less';
|
|
1
2
|
export * from 'antd';
|
|
2
3
|
export * from '@ant-design/icons';
|
|
3
4
|
export declare const antdLocales: {
|
|
4
|
-
zhCN: import("antd/
|
|
5
|
-
enUS: import("antd/
|
|
6
|
-
jaJP: import("antd/
|
|
5
|
+
zhCN: import("antd/lib/locale-provider").Locale;
|
|
6
|
+
enUS: import("antd/lib/locale-provider").Locale;
|
|
7
|
+
jaJP: import("antd/lib/locale-provider").Locale;
|
|
8
|
+
zhTW: import("antd/lib/locale-provider").Locale;
|
|
7
9
|
};
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { React } from 'shim-react';
|
|
2
|
-
import '@antd-es-style/form/style/index.less';
|
|
3
|
-
import '@antd-es-style/input/style/index.less';
|
|
4
|
-
import '@antd-es-style/select/style/index.less';
|
|
5
|
-
import '@antd-es-style/date-picker/style/index.less';
|
|
6
|
-
import '@antd-es-style/message/style/index.less';
|
|
7
2
|
import { CompleteInfoMetaData, CompleteInfoRequest } from '../interface';
|
|
8
3
|
export interface CompleteInfoProps {
|
|
9
4
|
metaData: CompleteInfoMetaData[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { React } from 'shim-react';
|
|
2
|
-
import '@antd-es-style/input/style/index.less';
|
|
3
2
|
import { PasswordProps, InputProps } from 'shim-antd/lib/input';
|
|
4
3
|
export declare const InputPasswordForget: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<React.RefObject<InputProps>>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GuardEvents } from './event';
|
|
2
2
|
import { GuardAppendConfig, IG2FCProps } from '../Type';
|
|
3
3
|
import { GuardLocalConfig } from './config';
|
|
4
|
-
import 'moment/locale/zh-cn';
|
|
5
4
|
export interface GuardProps extends GuardEvents, IG2FCProps {
|
|
6
5
|
config?: Partial<GuardLocalConfig>;
|
|
7
6
|
appendConfig?: GuardAppendConfig;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import '@antd-es-style/message/style/index.less';
|
|
2
|
-
import '@antd-es-style/modal/style/index.less';
|
|
3
|
-
import '@antd-es-style/config-provider/style/index.less';
|
|
4
1
|
import { React } from 'shim-react';
|
|
5
2
|
import { GuardProps } from '../Guard';
|
|
6
3
|
import '../styles.less';
|
|
7
4
|
export declare enum LangMAP {
|
|
8
5
|
zhCn = "zh-CN",
|
|
9
6
|
enUs = "en-US",
|
|
10
|
-
jaJp = "ja-JP"
|
|
7
|
+
jaJp = "ja-JP",
|
|
8
|
+
zhTw = "zh-TW"
|
|
11
9
|
}
|
|
12
10
|
export declare const RenderModule: React.FC<{
|
|
13
11
|
guardProps: GuardProps;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import './styles.less';
|
|
2
|
-
import '@antd-es-style/list/style/index.less';
|
|
3
|
-
import '@antd-es-style/avatar/style/index.less';
|
|
4
2
|
import { AvatarProps } from 'shim-antd/lib/avatar';
|
|
5
3
|
import { ListItemProps, ListProps } from 'shim-antd/lib/list';
|
|
6
4
|
import { React, CSSProperties } from 'shim-react';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import '@antd-es-style/message/style/index.less';
|
|
2
|
-
import '@antd-es-style/form/style/index.less';
|
|
3
|
-
import '@antd-es-style/input/style/index.less';
|
|
4
1
|
import { BackFillMultipleState, StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
|
|
5
2
|
import { Agreement } from '../../Type/application';
|
|
6
3
|
interface LoginWithADProps {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { React } from 'shim-react';
|
|
2
|
-
import '@antd-es-style/input/style/index.less';
|
|
3
|
-
import '@antd-es-style/message/style/index.less';
|
|
4
|
-
import '@antd-es-style/form/style/index.less';
|
|
5
2
|
import { OnPushSuccessProps, OnLoginProps } from './types';
|
|
6
3
|
import { AuthingGuardResponse } from '../../../_utils/http';
|
|
7
4
|
import { Agreement } from '../../../Type';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import '@antd-es-style/message/style/index.less';
|
|
2
|
-
import '@antd-es-style/input/style/index.less';
|
|
3
|
-
import '@antd-es-style/form/style/index.less';
|
|
4
1
|
import { Agreement } from '../../Type/application';
|
|
5
2
|
import { BackFillMultipleState, StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
|
|
6
3
|
interface LoginWithLDAPProps {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import '@antd-es-style/form/style/index.less';
|
|
2
1
|
import { AuthingResponse } from '../../../_utils/http';
|
|
3
2
|
import { Agreement, LoginMethods } from '../../../Type/application';
|
|
4
3
|
import { BackFillMultipleState, StoreInstance } from '../../../Guard/core/hooks/useMultipleAccounts';
|
|
@@ -58,7 +58,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
58
58
|
getOriginAccount: () => string;
|
|
59
59
|
getOriginWay: () => string;
|
|
60
60
|
} | undefined;
|
|
61
|
-
referMultipleState: ((type: "
|
|
61
|
+
referMultipleState: ((type: "login" | "multiple") => void) | undefined;
|
|
62
62
|
backfillData: BackFillMultipleState | undefined;
|
|
63
63
|
defaultQrWay: string | undefined;
|
|
64
64
|
};
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import { React } from 'shim-react';
|
|
2
|
-
import '@antd-es-style/message/style/index.less';
|
|
3
|
-
import '@antd-es-style/popover/style/index.less';
|
|
4
|
-
import '@antd-es-style/tabs/style/index.less';
|
|
5
|
-
import '@antd-es-style/tag/style/index.less';
|
|
6
|
-
import '@antd-es-style/tooltip/style/index.less';
|
|
7
2
|
import './styles.less';
|
|
8
3
|
export declare const GuardLoginView: React.FC<{
|
|
9
4
|
isResetPage?: boolean;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import '@antd-es-style/form/style/index.less';
|
|
2
|
-
import '@antd-es-style/input/style/index.less';
|
|
3
|
-
import '@antd-es-style/message/style/index.less';
|
|
4
|
-
import '@antd-es-style/modal/style/index.less';
|
|
5
|
-
import '@antd-es-style/progress/style/index.less';
|
|
6
|
-
import '@antd-es-style/select/style/index.less';
|
|
7
|
-
import '@antd-es-style/upload/style/index.less';
|
|
8
1
|
interface describeQuestionsProps {
|
|
9
2
|
appId: string;
|
|
10
3
|
host: string;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import '@antd-es-style/form/style/index.less';
|
|
2
|
-
import '@antd-es-style/input/style/index.less';
|
|
3
|
-
import '@antd-es-style/message/style/index.less';
|
|
4
1
|
import { React } from 'shim-react';
|
|
5
2
|
import { Agreement, ApplicationConfig } from '../../Type/application';
|
|
6
3
|
export interface RegisterWithEmailProps {
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import '@antd-es-style/form/style/index.less';
|
|
2
|
-
import '@antd-es-style/input/style/index.less';
|
|
3
|
-
import '@antd-es-style/message/style/index.less';
|
|
4
1
|
import { React } from 'shim-react';
|
|
5
2
|
import { Agreement, ApplicationConfig } from '../../Type/application';
|
|
6
3
|
export interface RegisterWithEmailCodeProps {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FormInstance } from 'shim-antd/lib/form';
|
|
2
2
|
import { Form, FormItemProps } from 'shim-antd';
|
|
3
|
-
import '@antd-es-style/form/style/index.less';
|
|
4
3
|
import { PasswordFormItem } from './PasswordFormItem';
|
|
5
4
|
import { EmailFormItem, PhoneFormItem, UserNameFormItem, CustomNameFormItem } from './ValidatorFormItem';
|
|
6
5
|
export * from './PasswordFormItem';
|
|
@@ -53,7 +53,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
53
53
|
loginMethods?: LoginMethods[] | undefined;
|
|
54
54
|
passwordLoginMethods?: string[] | undefined;
|
|
55
55
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
56
|
-
socialConnectionsBtnShape?: "button" | "
|
|
56
|
+
socialConnectionsBtnShape?: "button" | "default" | "icon" | undefined;
|
|
57
57
|
enterpriseConnections?: string[] | undefined;
|
|
58
58
|
qrCodeScanOptions?: {
|
|
59
59
|
extIdpConnId?: string | undefined;
|