@hailin-zheng/editor-core 2.2.12 → 2.2.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -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",