@authing/react-ui-components 3.0.19-rc.5 → 3.0.19-rc.6
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 +14 -3
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1256,6 +1256,10 @@ declare module '@authing/react-ui-components/components/Error/interface' {
|
|
|
1256
1256
|
}
|
|
1257
1257
|
declare module '@authing/react-ui-components/components/ForgetPassword/core/resetPassword' {
|
|
1258
1258
|
/// <reference types="react" />
|
|
1259
|
+
export enum InputMethodMap {
|
|
1260
|
+
email = "email-code",
|
|
1261
|
+
phone = "phone-code"
|
|
1262
|
+
}
|
|
1259
1263
|
interface ResetPasswordProps {
|
|
1260
1264
|
onReset: any;
|
|
1261
1265
|
publicConfig: any;
|
|
@@ -2487,8 +2491,15 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
2487
2491
|
MountShaking: () => void;
|
|
2488
2492
|
UnMountShaking: () => void;
|
|
2489
2493
|
};
|
|
2490
|
-
export const
|
|
2491
|
-
|
|
2494
|
+
export const defaultAreaCode: any;
|
|
2495
|
+
/**
|
|
2496
|
+
* 解析手机号
|
|
2497
|
+
* @param fieldValue 字段值
|
|
2498
|
+
* @param areaCode 区号
|
|
2499
|
+
* @returns
|
|
2500
|
+
*/
|
|
2501
|
+
export const parsePhone: (fieldValue: string, areaCode?: string) => {
|
|
2502
|
+
countryCode: string;
|
|
2492
2503
|
phoneNumber: string;
|
|
2493
2504
|
};
|
|
2494
2505
|
|
|
@@ -2733,7 +2744,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
2733
2744
|
|
|
2734
2745
|
}
|
|
2735
2746
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
2736
|
-
const _default: "3.0.19-rc.
|
|
2747
|
+
const _default: "3.0.19-rc.6";
|
|
2737
2748
|
export default _default;
|
|
2738
2749
|
|
|
2739
2750
|
}
|