@hailin-zheng/editor-core 2.1.4 → 2.1.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.
@@ -256,6 +256,7 @@ export declare class DataEleDateProps extends DataEleBaseTextProps {
256
256
  minValue?: Date;
257
257
  maxValue?: Date;
258
258
  format?: string;
259
+ value: string;
259
260
  clone(dest: DataEleDateProps | null): DataEleDateProps;
260
261
  getSerializeProps(options: ViewOptions): any;
261
262
  updateProps(props: DataEleDateProps): void;
@@ -8,7 +8,7 @@ export declare class DataElementDate extends DataElementInlineGroup<DataEleDateP
8
8
  serialize(viewOptions: ViewOptions): SerializeProps & any;
9
9
  clone(data: boolean): DataElementDate;
10
10
  setValue(val: Date | string | null): void;
11
- isValid(val: any): boolean;
11
+ isValid(val: any, format?: string): boolean;
12
12
  getValue(): string;
13
13
  validate(): string;
14
14
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.1.4",
7
+ "version": "2.1.6",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "moment": "^2.29.3",