@hailin-zheng/editor-core 2.2.12 → 2.2.14

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.
@@ -258,6 +258,7 @@ export declare class ViewOptions {
258
258
  dataDecoratorNormalColor: string;
259
259
  dataDecoratorMouseEnterColor: string;
260
260
  dataDecoratorFocusedColor: string;
261
+ dataDecoratorWidth: number;
261
262
  showDataEleDecorator: boolean;
262
263
  dataEleEmptyBgColor: string;
263
264
  dataEleMouseEnterBgColor: string;
@@ -1,11 +1,11 @@
1
- import { LeafElement, SerializeProps } from "../../element-define";
1
+ import { ICreateRenderData, LeafElement, SerializeProps } from "../../element-define";
2
2
  import { IEditorVNodeOptions, LeafRenderObject, RenderObject } from "../../render-define";
3
3
  import { InlineGroupInputElement } from "./data-element-base-impl";
4
4
  export declare class DataDecorateElement extends LeafElement<any> {
5
5
  dataEle: InlineGroupInputElement;
6
6
  isPrefix: boolean;
7
7
  constructor(dataEle: InlineGroupInputElement, isPrefix: boolean);
8
- createRenderObject(): DataDecorateRenderObject;
8
+ createRenderObject(data: ICreateRenderData): DataDecorateRenderObject;
9
9
  serialize(): SerializeProps | null;
10
10
  clone(): DataDecorateElement;
11
11
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.2.12",
7
+ "version": "2.2.14",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "moment": "^2.29.3",