@jiaozhiye/qm-design-react 1.7.7 → 1.7.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.
@@ -138,6 +138,7 @@ export type IFormItem = {
138
138
  maxDateTime?: string;
139
139
  disableds?: [boolean, boolean];
140
140
  shortCuts?: boolean;
141
+ format?: string;
141
142
  timeType?: ITimeType;
142
143
  hourStep?: number;
143
144
  minuteStep?: number;
@@ -3,6 +3,7 @@ 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
5
  export declare const formatDate: (date: Dayjs | null, format: string) => string;
6
+ export declare const padDate: (input: string, options?: Record<'hour' | 'minute' | 'second', string>) => string;
6
7
  export declare const isEmptyValue: (value: unknown) => boolean;
7
8
  export declare const getSplitValue: (data: IRecord | null, path: string) => any;
8
9
  export declare const setEchoRecord: (row: IRecord, alias: any, echoAlias: any) => void;