@hailin-zheng/editor-core 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ export declare class EditorContext {
18
18
  dynamicFunc: DocumentEvalFunc;
19
19
  docChange: DocumentChange;
20
20
  clearPrevDocCb: (() => void) | null;
21
- nextViewFn: (() => void) | null;
21
+ nextViewFns: Array<() => void>;
22
22
  constructor(selectionState: SelectionState, viewOptions: ViewOptions);
23
23
  onNextView(cb: (() => void) | null): void;
24
24
  get document(): DocumentElement;
@@ -169,7 +169,6 @@ export declare class DataEleBaseProps extends INotifyPropertyChanged {
169
169
  printable: boolean;
170
170
  secretBrowse: boolean;
171
171
  editable: boolean;
172
- deleteable: boolean;
173
172
  minLength: number;
174
173
  underline: boolean;
175
174
  expression: string;
@@ -80,4 +80,17 @@ export declare function IsInSideInlineGroupInputElement(control: LeafElement, of
80
80
  export declare abstract class DataElementBaseFactory<T = null> extends ElementFactory<T> {
81
81
  readCompleted(ele: Element, children: Array<Element>): void;
82
82
  }
83
+ /**
84
+ * 渲染数据元背景修饰
85
+ * @param event
86
+ * @param r
87
+ */
83
88
  export declare function exportDecoratorHTML(event: IEditorVNodeOptions, r: InlineGroupRenderObject): any;
89
+ /**
90
+ * 渲染数据源验证错误提示框
91
+ */
92
+ export declare function renderErrorTip(event: IEditorVNodeOptions, r: InlineGroupRenderObject): void;
93
+ /**
94
+ * 渲染底部波浪线
95
+ */
96
+ export declare function renderUnderWavyLine(event: IEditorVNodeOptions, r: InlineGroupRenderObject, color: string): void;
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.0",
7
+ "version": "2.2.1",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "moment": "^2.29.3",