geneeantd 1.0.39 → 1.0.41

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.
@@ -1,10 +1,12 @@
1
1
  import { ImgCropProps } from 'antd-img-crop';
2
+ type ImgCropPropsWithoutChildren = Omit<ImgCropProps, 'children'>;
2
3
  export interface AvatarUploadProps {
3
4
  avatarImg?: string;
4
5
  uploadTip?: string;
5
6
  avatarTypes?: string[];
6
7
  avatarMaxSize?: number;
7
8
  showCrop?: boolean;
8
- imgCropProps?: ImgCropProps;
9
+ imgCropProps?: ImgCropPropsWithoutChildren;
9
10
  onFileChange?: (base64Url: string, file: File) => void;
10
11
  }
12
+ export {};
@@ -28,7 +28,7 @@ export interface DoubleColLayoutProps {
28
28
  /**
29
29
  * 左侧侧边栏内容
30
30
  */
31
- leftMenu: menuItem[];
31
+ leftMenu?: menuItem[];
32
32
  /**
33
33
  * 左侧侧边的激活模式
34
34
  */
@@ -39,6 +39,6 @@ export interface FormConfig {
39
39
  submitText?: string;
40
40
  resetText?: string;
41
41
  };
42
- onValuesChange?: (values: Record<string, unknown>) => void;
42
+ onValuesChange?: (changedValues: Record<string, unknown>, allValues: Record<string, unknown>) => void;
43
43
  initialValues?: Record<string, unknown>;
44
44
  }