@jiaozhiye/qm-design-react 1.7.10 → 1.7.12

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.
@@ -4,6 +4,7 @@ import type { ComponentSize, Nullable } from '../../_utils/types';
4
4
  import type { DrawerProps } from '../../antd';
5
5
  type EventType = React.MouseEvent<HTMLElement>;
6
6
  type IProps = Omit<DrawerProps, 'size'> & {
7
+ visible?: boolean;
7
8
  size?: ComponentSize;
8
9
  loading?: boolean;
9
10
  showFullScreen?: boolean;
@@ -2,7 +2,7 @@ import dayjs, { Dayjs } from 'dayjs';
2
2
  import type { IDict } from '../../_utils/types';
3
3
  import type { IFormItem, IFetchFnMaker, IRecord } from './types';
4
4
  export declare const getDate: (dateString: string | undefined, format: string) => dayjs.Dayjs | null;
5
- export declare const formatDate: (date: Dayjs | null, format: string) => string;
5
+ export declare const formatDate: (date: Dayjs | null | undefined, format: string) => string;
6
6
  export declare const padDate: (input: string, options?: Record<'hour' | 'minute' | 'second', string>) => string;
7
7
  export declare const isEmptyValue: (value: unknown) => boolean;
8
8
  export declare const getSplitValue: (data: IRecord | null, path: string) => any;