@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.
Files changed (86) hide show
  1. package/dist/guard.min.css +2 -2
  2. package/dist/guard.min.js +2560 -3732
  3. package/dist/typings/shim-antd4/index.d.ts +5 -3
  4. package/dist/typings/src/BindTotp/core/bindSuccess.d.ts +0 -3
  5. package/dist/typings/src/BindTotp/core/securityCode.d.ts +0 -1
  6. package/dist/typings/src/BindTotp/index.d.ts +0 -1
  7. package/dist/typings/src/ChangeLanguage/index.d.ts +0 -1
  8. package/dist/typings/src/ChangePassword/core/PasswordNotSafeReset.d.ts +0 -2
  9. package/dist/typings/src/ChangePassword/core/completePassword.d.ts +0 -1
  10. package/dist/typings/src/ChangePassword/core/firstLoginReset.d.ts +0 -2
  11. package/dist/typings/src/ChangePassword/core/rotateReset.d.ts +0 -2
  12. package/dist/typings/src/ChangePassword/index.d.ts +0 -1
  13. package/dist/typings/src/CompleteInfo/core/completeInfo.d.ts +0 -5
  14. package/dist/typings/src/DownloadAuthenticator/index.d.ts +0 -1
  15. package/dist/typings/src/ForgetPassword/InputPassword/index.d.ts +0 -1
  16. package/dist/typings/src/ForgetPassword/core/inputIdentify.d.ts +0 -1
  17. package/dist/typings/src/ForgetPassword/core/resetPassword.d.ts +0 -2
  18. package/dist/typings/src/ForgetPassword/index.d.ts +0 -2
  19. package/dist/typings/src/Guard/Guard.d.ts +0 -1
  20. package/dist/typings/src/Guard/core/renderModule.d.ts +2 -4
  21. package/dist/typings/src/Guard/event.d.ts +0 -1
  22. package/dist/typings/src/GuardButton/GuardButton.d.ts +0 -1
  23. package/dist/typings/src/GuardFace/index.d.ts +0 -2
  24. package/dist/typings/src/GuardSelect/index.d.ts +0 -2
  25. package/dist/typings/src/IdentityBinding/IdentityBinding.d.ts +0 -1
  26. package/dist/typings/src/InputNumber/index.d.ts +0 -1
  27. package/dist/typings/src/InputPassword/index.d.ts +0 -1
  28. package/dist/typings/src/Login/core/withAD.d.ts +0 -3
  29. package/dist/typings/src/Login/core/withAppQrcode.d.ts +0 -1
  30. package/dist/typings/src/Login/core/withAuthingOtpPush/BeforeLogin.d.ts +0 -3
  31. package/dist/typings/src/Login/core/withAuthingOtpPush/HowBindClient.d.ts +0 -1
  32. package/dist/typings/src/Login/core/withAuthingOtpPush/HowGetAppLoginUrl.d.ts +0 -1
  33. package/dist/typings/src/Login/core/withAuthingOtpPush/HowUsePushLogin.d.ts +0 -1
  34. package/dist/typings/src/Login/core/withAuthingOtpPush/PendingLogin.d.ts +0 -2
  35. package/dist/typings/src/Login/core/withAuthingOtpPush/PushLoginGuideModal.d.ts +0 -1
  36. package/dist/typings/src/Login/core/withAuthingOtpPush/PushLoginGuideSelector.d.ts +0 -1
  37. package/dist/typings/src/Login/core/withAuthingOtpPush/index.d.ts +0 -1
  38. package/dist/typings/src/Login/core/withLDAP.d.ts +0 -3
  39. package/dist/typings/src/Login/core/withPassword/FormItemAccount.d.ts +0 -1
  40. package/dist/typings/src/Login/core/withPassword/GraphicVerifyCode.d.ts +0 -1
  41. package/dist/typings/src/Login/core/withPassword/InputAccount.d.ts +0 -1
  42. package/dist/typings/src/Login/core/withPassword/index.d.ts +0 -1
  43. package/dist/typings/src/Login/core/withVerifyCode/FormItemIdentify.d.ts +0 -1
  44. package/dist/typings/src/Login/core/withVerifyCode/InputInternationPhone.d.ts +0 -1
  45. package/dist/typings/src/Login/core/withVerifyCode/VirtualDropdown.d.ts +0 -2
  46. package/dist/typings/src/Login/core/withVerifyCode/index.d.ts +0 -1
  47. package/dist/typings/src/Login/core/withVerifyCode/inputIdentify.d.ts +0 -1
  48. package/dist/typings/src/Login/core/withWechatMiniQrcode.d.ts +0 -1
  49. package/dist/typings/src/Login/core/withWechatmpQrcode.d.ts +0 -1
  50. package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +1 -1
  51. package/dist/typings/src/Login/index.d.ts +0 -5
  52. package/dist/typings/src/Login/multipleAccounts/panel.d.ts +0 -1
  53. package/dist/typings/src/Login/resetAccountName/index.d.ts +0 -3
  54. package/dist/typings/src/Login/socialLogin/IdpButton/index.d.ts +0 -2
  55. package/dist/typings/src/Login/socialLogin/index.d.ts +0 -3
  56. package/dist/typings/src/MFA/VerifyCodeInput/VerifyCodeFormItem.d.ts +0 -1
  57. package/dist/typings/src/MFA/VerifyCodeInput/index.d.ts +0 -2
  58. package/dist/typings/src/MFA/core/email.d.ts +0 -3
  59. package/dist/typings/src/MFA/core/face.d.ts +0 -1
  60. package/dist/typings/src/MFA/core/sms.d.ts +0 -2
  61. package/dist/typings/src/MFA/core/totp.d.ts +0 -1
  62. package/dist/typings/src/MFA/index.d.ts +0 -1
  63. package/dist/typings/src/NeedHelpView/core/describeQuestions.d.ts +0 -7
  64. package/dist/typings/src/RecoveryCode/core/saveCode.d.ts +0 -3
  65. package/dist/typings/src/RecoveryCode/core/useCode.d.ts +0 -2
  66. package/dist/typings/src/Register/components/Agreements/index.d.ts +0 -2
  67. package/dist/typings/src/Register/core/WithCode.d.ts +0 -2
  68. package/dist/typings/src/Register/core/WithEmail.d.ts +0 -3
  69. package/dist/typings/src/Register/core/WithEmailCode.d.ts +0 -3
  70. package/dist/typings/src/Register/core/WithPhone.d.ts +0 -1
  71. package/dist/typings/src/Register/index.d.ts +0 -1
  72. package/dist/typings/src/SelectAccount2Login/index.d.ts +0 -1
  73. package/dist/typings/src/SelfUnlock/core/selfUnlock.d.ts +0 -1
  74. package/dist/typings/src/SendCode/SendCodeBtn.d.ts +0 -1
  75. package/dist/typings/src/SendCode/SendCodeByEmail.d.ts +0 -1
  76. package/dist/typings/src/SendCode/SendCodeByPhone.d.ts +0 -1
  77. package/dist/typings/src/SendCode/index.d.ts +0 -1
  78. package/dist/typings/src/UploadImage/index.d.ts +0 -3
  79. package/dist/typings/src/ValidatorRules/PasswordFormItem.d.ts +0 -1
  80. package/dist/typings/src/ValidatorRules/ValidatorFormItem.d.ts +0 -1
  81. package/dist/typings/src/ValidatorRules/index.d.ts +0 -1
  82. package/dist/typings/src/VerifyCodeInput/index.d.ts +0 -2
  83. package/dist/typings/src/_utils/config/index.d.ts +1 -1
  84. package/dist/typings/src/_utils/index.d.ts +0 -1
  85. package/dist/typings/src/_utils/responseManagement/index.d.ts +0 -1
  86. 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/es/locale-provider").Locale;
5
- enUS: import("antd/es/locale-provider").Locale;
6
- jaJP: import("antd/es/locale-provider").Locale;
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,6 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
- import '@antd-es-style/checkbox/style/index.less';
3
- import '@antd-es-style/typography/style/index.less';
4
1
  import { React } from 'shim-react';
5
2
  export interface BindSuccessProps {
6
3
  onBind: any;
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  export interface SecurityCodeProps {
4
3
  mfaToken: string;
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardBindTotpView: React.FC;
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/dropdown/style/index.less';
2
1
  import { Lang } from '../Type';
3
2
  import './style.less';
4
3
  export declare const LngTextMapping: Record<Lang, {
@@ -1,6 +1,4 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/form/style/index.less';
3
- import '@antd-es-style/message/style/index.less';
4
2
  interface PasswordNotSafeResetProps {
5
3
  onReset: any;
6
4
  }
@@ -1,3 +1,2 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/form/style/index.less';
3
2
  export declare const CompletePassword: React.FC;
@@ -1,6 +1,4 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/form/style/index.less';
3
- import '@antd-es-style/message/style/index.less';
4
2
  interface FirstLoginResetProps {
5
3
  onReset: any;
6
4
  }
@@ -1,5 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
- import '@antd-es-style/message/style/index.less';
3
1
  interface RotateResetProps {
4
2
  onReset: any;
5
3
  onFinishCallBack?: any;
@@ -1,5 +1,4 @@
1
1
  import { React, ReactNode } from 'shim-react';
2
- import '@antd-es-style/message/style/index.less';
3
2
  export declare const GuardChangePassword: React.FC<{
4
3
  title: string;
5
4
  explain: string;
@@ -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
- import '@antd-es-style/tabs/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardDownloadATView: React.FC;
@@ -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,5 +1,4 @@
1
1
  import { InputProps } from 'shim-antd';
2
- import '@antd-es-style/input/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  import { VerifyLoginMethods } from '../../Type/application';
5
4
  export interface InputIdentifyProps extends InputProps {
@@ -1,6 +1,4 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/message/style/index.less';
3
- import '@antd-es-style/form/style/index.less';
4
2
  export declare enum InputMethodMap {
5
3
  email = "email-code",
6
4
  phone = "phone-code"
@@ -1,4 +1,2 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/form/style/index.less';
3
- import '@antd-es-style/message/style/index.less';
4
2
  export declare const GuardForgetPassword: React.FC;
@@ -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,4 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
1
  import { GuardModuleType } from './module';
3
2
  import { CompleteInfoEvents } from '../CompleteInfo/interface';
4
3
  import { ForgetPasswordEvents } from '../ForgetPassword/interface';
@@ -1,5 +1,4 @@
1
1
  import { ButtonProps } from 'shim-antd';
2
- import '@antd-es-style/button/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  import './styles.less';
5
4
  export interface GuardButtonProps extends ButtonProps {
@@ -1,5 +1,3 @@
1
- import '@antd-es-style/avatar/style/index.less';
2
- import '@antd-es-style/tag/style/index.less';
3
1
  import { AvatarProps } from 'shim-antd/lib/avatar';
4
2
  import { TagProps } from 'shim-antd/lib/tag';
5
3
  import { React } from 'shim-react';
@@ -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,4 +1,3 @@
1
- import '@antd-es-style/tabs/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import './styles.less';
4
3
  export declare const GuardIdentityBindingView: React.FC<{
@@ -1,5 +1,4 @@
1
1
  import { InputProps } from 'shim-antd';
2
- import '@antd-es-style/input/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  export interface InputNumberProps extends InputProps {
5
4
  }
@@ -1,2 +1 @@
1
- import '@antd-es-style/input/style/index.less';
2
1
  export declare const InputPassword: (props: any) => JSX.Element;
@@ -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,4 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
1
  import { StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
3
2
  interface LoginWithAppQrcodeProps {
4
3
  onLoginSuccess: any;
@@ -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,2 +1 @@
1
- import '@antd-es-style/spin/style/index.less';
2
1
  export declare function HowBindClient(): JSX.Element;
@@ -1,2 +1 @@
1
- import '@antd-es-style/spin/style/index.less';
2
1
  export declare function HowGetAppLoginUrl(): JSX.Element;
@@ -1,2 +1 @@
1
- import '@antd-es-style/spin/style/index.less';
2
1
  export declare function HowUsePushLogin(): JSX.Element;
@@ -1,5 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
- import '@antd-es-style/button/style/index.less';
3
1
  import './styles.less';
4
2
  interface PendingLoginProps {
5
3
  onCancelLogin: () => void;
@@ -1,3 +1,2 @@
1
- import '@antd-es-style/drawer/style/index.less';
2
1
  import { PushLoginGudeModalProps } from './types';
3
2
  export declare function PushLoginGudeModal(props: PushLoginGudeModalProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/select/style/index.less';
2
1
  import { SelectorOptions, Selector } from './types';
3
2
  interface PushLoginGuideSelectorProps {
4
3
  defaultValue: Selector;
@@ -1,3 +1,2 @@
1
1
  import { LoginWithAuthingOtpPushProps } from './types';
2
- import '@antd-es-style/message/style/index.less';
3
2
  export declare function LoginWithAuthingOtpPush(props: LoginWithAuthingOtpPushProps): JSX.Element;
@@ -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,5 +1,4 @@
1
1
  import { FormItemProps } from 'shim-antd';
2
- import '@antd-es-style/form/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  export interface FormItemAccountProps extends FormItemProps {
5
4
  validPasswordLoginMethods: string[];
@@ -1,5 +1,4 @@
1
1
  import { InputProps } from 'shim-antd';
2
- import '@antd-es-style/input/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  export interface GraphicVerifyCodeProps extends InputProps {
5
4
  verifyCodeUrl: string;
@@ -1,6 +1,5 @@
1
1
  import { React } from 'shim-react';
2
2
  import { InputProps } from 'shim-antd';
3
- import '@antd-es-style/input/style/index.less';
4
3
  export interface InputAccountProps extends InputProps {
5
4
  passwordLoginMethods: string[];
6
5
  placeholder: string;
@@ -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';
@@ -1,5 +1,4 @@
1
1
  import { FormItemProps } from 'shim-antd/lib/form';
2
- import '@antd-es-style/form/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  import { VerifyLoginMethods } from '../../../Type/application';
5
4
  export interface FormItemIdentifyProps extends FormItemProps {
@@ -1,5 +1,4 @@
1
1
  import { InputProps } from 'shim-antd';
2
- import '@antd-es-style/input/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  export interface InputInternationPhoneProps extends InputProps {
5
4
  areaCode: string;
@@ -1,6 +1,4 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/select/style/index.less';
3
- import '@antd-es-style/tooltip/style/index.less';
4
2
  import './styles.less';
5
3
  export interface VirtualDropdownProps {
6
4
  /**
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
1
  import './styles.less';
3
2
  export declare enum SpecifyCodeMethods {
4
3
  Phone = "phone",
@@ -1,5 +1,4 @@
1
1
  import { InputProps } from 'shim-antd';
2
- import '@antd-es-style/input/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  import { VerifyLoginMethods } from '../../../Type/application';
5
4
  export interface InputIdentifyProps extends InputProps {
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
1
  import { StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
3
2
  interface LoginWithWechatMiniQrcodeProps {
4
3
  onLoginSuccess: any;
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
1
  import { StoreInstance } from '../../Guard/core/hooks/useMultipleAccounts';
3
2
  interface LoginWithWechatmpQrcodeProps {
4
3
  onLoginSuccess: any;
@@ -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: "multiple" | "login") => void) | undefined;
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,4 +1,3 @@
1
- import '@antd-es-style/popover/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  interface SelectPanelProps {
@@ -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 { React } from 'shim-react';
5
2
  import './style.less';
6
3
  export declare const ResetAccountName: React.FC;
@@ -1,3 +1 @@
1
- import '@antd-es-style/message/style/index.less';
2
- import '@antd-es-style/avatar/style/index.less';
3
1
  export declare const IdpButton: (props: any) => JSX.Element | null;
@@ -1,6 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
- import '@antd-es-style/space/style/index.less';
3
- import '@antd-es-style/tooltip/style/index.less';
4
1
  import { React } from 'shim-react';
5
2
  import './style.less';
6
3
  import { GuardLocalConfig } from '../../Guard';
@@ -1,5 +1,4 @@
1
1
  import { FormItemProps } from 'shim-antd';
2
- import '@antd-es-style/form/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  import './style.less';
5
4
  export interface VerifyCodeFormItemProps extends FormItemProps {
@@ -1,5 +1,3 @@
1
- import '@antd-es-style/divider/style/index.less';
2
- import '@antd-es-style/input/style/index.less';
3
1
  import { React } from 'shim-react';
4
2
  import './style.less';
5
3
  interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -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 { React } from 'shim-react';
5
2
  import { MFAConfig } from '../interface';
6
3
  interface BindMFAEmailProps {
@@ -1,2 +1 @@
1
- import '@antd-es-style/message/style/index.less';
2
1
  export declare const MFAFace: (props: any) => JSX.Element;
@@ -1,5 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
- import '@antd-es-style/message/style/index.less';
3
1
  import { React } from 'shim-react';
4
2
  import { GuardMFAInitData, MFAConfig } from '../interface';
5
3
  export interface BindMFASmsProps {
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import { GuardMFAInitData, MFAConfig } from '../interface';
4
3
  export interface BindMFATotpProps {
@@ -1,4 +1,3 @@
1
1
  import { React } from 'shim-react';
2
2
  import './styles.less';
3
- import '@antd-es-style/message/style/index.less';
4
3
  export declare const GuardMFAView: React.FC;
@@ -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/checkbox/style/index.less';
3
- import '@antd-es-style/typography/style/index.less';
4
1
  import { React } from 'shim-react';
5
2
  export declare const SaveCode: React.FC<{
6
3
  secret: string;
@@ -1,5 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
- import '@antd-es-style/input/style/index.less';
3
1
  import { React } from 'shim-react';
4
2
  import { User } from 'authing-js-sdk';
5
3
  export interface UseCodeProps {
@@ -1,6 +1,4 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/space/style/index.less';
3
- import '@antd-es-style/checkbox/style/index.less';
4
2
  import './style.less';
5
3
  import { Agreement } from '../../../Type/application';
6
4
  export interface AgreementsProps {
@@ -1,5 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
- import '@antd-es-style/message/style/index.less';
3
1
  import { React } from 'shim-react';
4
2
  import { Agreement, ApplicationConfig } from '../../Type/application';
5
3
  export interface RegisterWithCodeProps {
@@ -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,4 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import { Agreement, ApplicationConfig } from '../../Type/application';
4
3
  export interface RegisterWithPhoneProps {
@@ -1,3 +1,2 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/tabs/style/index.less';
3
2
  export declare const GuardRegisterView: React.FC;
@@ -1,3 +1,2 @@
1
- import '@antd-es-style/space/style/index.less';
2
1
  import './style.less';
3
2
  export declare const GuardSelectAccount2LoginView: () => JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { React } from 'shim-react';
2
- import '@antd-es-style/form/style/index.less';
3
2
  export declare enum InputMethodMap {
4
3
  email = "email-code",
5
4
  phone = "phone-code"
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/button/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  import { ButtonProps } from 'shim-antd';
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  import { InputProps } from 'shim-antd';
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import { SceneType } from 'authing-js-sdk';
4
3
  import './style.less';
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/grid/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import './style.less';
4
3
  import { InputProps } from 'shim-antd';
@@ -1,6 +1,3 @@
1
- import '@antd-es-style/message/style/index.less';
2
- import '@antd-es-style/spin/style/index.less';
3
- import '@antd-es-style/upload/style/index.less';
4
1
  import { React } from 'shim-react';
5
2
  export declare const UploadImage: React.FC<{
6
3
  value?: string;
@@ -1,5 +1,4 @@
1
1
  import { FormItemProps } from 'shim-antd';
2
- import '@antd-es-style/form/style/index.less';
3
2
  import { React } from 'shim-react';
4
3
  export interface PasswordFormItemProps extends FormItemProps {
5
4
  }
@@ -1,4 +1,3 @@
1
- import '@antd-es-style/form/style/index.less';
2
1
  import { React } from 'shim-react';
3
2
  import { ValidatorFormItemProps } from '.';
4
3
  export declare const EmailFormItem: React.FC<ValidatorFormItemProps>;
@@ -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';
@@ -1,5 +1,3 @@
1
- import '@antd-es-style/divider/style.index.less';
2
- import '@antd-es-style/input/style/index.less';
3
1
  import { React } from 'shim-react';
4
2
  import './style.less';
5
3
  interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -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" | "icon" | "default" | undefined;
56
+ socialConnectionsBtnShape?: "button" | "default" | "icon" | undefined;
57
57
  enterpriseConnections?: string[] | undefined;
58
58
  qrCodeScanOptions?: {
59
59
  extIdpConnId?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  import { Rule } from 'shim-antd/lib/form';
2
- import '@antd-es-style/message/style/index.less';
3
2
  import qs from 'qs';
4
3
  import { User } from 'authing-js-sdk';
5
4
  import { GuardProps } from '../Guard';