@authing/react-ui-components 3.0.19-rc.1 → 3.0.19-rc.2

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
@@ -1675,10 +1675,10 @@ declare module '@authing/react-ui-components/components/Login/core/withPassword/
1675
1675
  declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/FormItemIdentify' {
1676
1676
  import { FormItemProps } from 'antd/lib/form';
1677
1677
  import React from 'react';
1678
- import { InputMethod } from '@authing/react-ui-components/components/Login/core/withVerifyCode/index';
1678
+ import { VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1679
1679
  export interface FormItemIdentifyProps extends FormItemProps {
1680
1680
  checkRepeat?: boolean;
1681
- methods: InputMethod;
1681
+ methods: VerifyLoginMethods[];
1682
1682
  currentMethod?: 'phone-code' | 'email-code';
1683
1683
  areaCode?: string;
1684
1684
  }
@@ -1688,9 +1688,7 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
1688
1688
  declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/InputInternationPhone' {
1689
1689
  import { InputProps } from 'antd/lib/input';
1690
1690
  import React from 'react';
1691
- import { VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
1692
1691
  export interface InputInternationPhoneProps extends InputProps {
1693
- methods: VerifyLoginMethods[];
1694
1692
  areaCode: string;
1695
1693
  onAreaCodeChange: (areaCode: string) => void;
1696
1694
  }
@@ -1711,11 +1709,6 @@ declare module '@authing/react-ui-components/components/Login/core/withVerifyCod
1711
1709
  declare module '@authing/react-ui-components/components/Login/core/withVerifyCode/index' {
1712
1710
  /// <reference types="react" />
1713
1711
  import './styles.less';
1714
- export const LanguageMap: any;
1715
- export enum InputMethod {
1716
- EmailCode = "email-code",
1717
- PhoneCode = "phone-code"
1718
- }
1719
1712
  export const LoginWithVerifyCode: (props: any) => JSX.Element;
1720
1713
 
1721
1714
  }
@@ -2103,12 +2096,13 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
2103
2096
  }
2104
2097
  declare module '@authing/react-ui-components/components/Register/core/WithPhone' {
2105
2098
  import React from 'react';
2106
- import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2099
+ import { Agreement, ApplicationConfig, VerifyLoginMethods } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2107
2100
  export interface RegisterWithPhoneProps {
2108
2101
  onRegister: Function;
2109
2102
  agreements: Agreement[];
2110
2103
  publicConfig?: ApplicationConfig;
2111
2104
  registeContext?: any;
2105
+ verifyLoginMethods: VerifyLoginMethods[];
2112
2106
  }
2113
2107
  export const RegisterWithPhone: React.FC<RegisterWithPhoneProps>;
2114
2108
 
@@ -2183,7 +2177,7 @@ declare module '@authing/react-ui-components/components/SendCode/SendCodeByPhone
2183
2177
  import './style.less';
2184
2178
  import { InputProps } from 'antd/lib/input';
2185
2179
  export interface SendCodeByPhoneProps extends InputProps {
2186
- data: string;
2180
+ data?: string;
2187
2181
  form?: any;
2188
2182
  onSendCodeBefore?: any;
2189
2183
  fieldName?: string;
@@ -2303,6 +2297,11 @@ declare module '@authing/react-ui-components/components/Type/index' {
2303
2297
  __changeModule?: (moduleName: GuardModuleType, initData?: any) => void;
2304
2298
  }
2305
2299
  export const getDefaultG2Config: () => IG2Config;
2300
+ export const LanguageMap: any;
2301
+ export enum InputMethod {
2302
+ EmailCode = "email-code",
2303
+ PhoneCode = "phone-code"
2304
+ }
2306
2305
 
2307
2306
  }
2308
2307
  declare module '@authing/react-ui-components/components/ValidatorRules/PasswordFormItem' {
@@ -2734,7 +2733,7 @@ declare module '@authing/react-ui-components/components/version/index' {
2734
2733
 
2735
2734
  }
2736
2735
  declare module '@authing/react-ui-components/components/version/version' {
2737
- const _default: "3.0.19-rc.1";
2736
+ const _default: "3.0.19-rc.2";
2738
2737
  export default _default;
2739
2738
 
2740
2739
  }