@hailin-zheng/editor-core 1.1.3 → 1.1.5
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.
- package/index-cjs.d.ts +1 -0
- package/index-cjs.js +264 -1060
- package/index-cjs.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +260 -1061
- package/index.js.map +1 -1
- package/med_editor/framework/document-arrange.d.ts +1 -0
- package/med_editor/framework/element-define.d.ts +1 -0
- package/med_editor/framework/impl/data-element/data-element-base-impl.d.ts +1 -0
- package/med_editor/framework/impl/data-element/data-element-group-impl.d.ts +1 -5
- package/med_editor/framework/impl/table/table-impl.d.ts +1 -1
- package/package.json +1 -1
- package/timeline/timezone.d.ts +2 -0
@@ -134,6 +134,7 @@ export declare abstract class BranchElement<P extends object = any> extends Elem
|
|
134
134
|
treeFind(predicate: (item: Element, index: number) => boolean): Element | null;
|
135
135
|
pubOnChange(selfChange: pubChangeType): void;
|
136
136
|
}
|
137
|
+
export declare function clearChildrenRenderCache(ele: BranchElement): void;
|
137
138
|
export declare type pubChangeType = 'self' | 'tracker' | 'to-child';
|
138
139
|
/**
|
139
140
|
* 行内编组元素
|
@@ -86,3 +86,4 @@ export declare function IsInSideInlineGroupInputElement(control: LeafElement, of
|
|
86
86
|
export declare abstract class DataElementBaseFactory<T = null> extends ElementFactory<T> {
|
87
87
|
readCompleted(ele: Element, children: Array<Element>): void;
|
88
88
|
}
|
89
|
+
export declare function drawDecorator(e: IRenderData, r: InlineGroupRenderObject): void;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { DataElementBaseFactory, InlineGroupInputElement } from "./data-element-base-impl";
|
2
2
|
import { InlineGroupRenderObject, IRenderData, RenderObject } from "../../render-define";
|
3
|
-
import {
|
4
|
-
import { SerializeProps, ViewOptions, Element, Position } from "../../element-define";
|
3
|
+
import { SerializeProps, ViewOptions, Element } from "../../element-define";
|
5
4
|
import { DataElementGroupProps } from "../../element-props";
|
6
5
|
export declare class DataElementGroupElement extends InlineGroupInputElement<DataElementGroupProps> {
|
7
6
|
constructor();
|
@@ -11,9 +10,6 @@ export declare class DataElementGroupElement extends InlineGroupInputElement<Dat
|
|
11
10
|
}
|
12
11
|
export declare class DataElementGroupRenderObject extends InlineGroupRenderObject<DataElementGroupElement> {
|
13
12
|
render(e: IRenderData): void;
|
14
|
-
private getCurrentParaGroupRenders;
|
15
|
-
paintDecorate(e: IRenderData): void;
|
16
|
-
endRender(ctx: RenderContextType, position: Position): void;
|
17
13
|
clone(): RenderObject;
|
18
14
|
}
|
19
15
|
export declare class DataElementGroupFactory extends DataElementBaseFactory<DataElementGroupProps> {
|
@@ -40,7 +40,7 @@ export declare class TableFactory extends ElementFactory<TableProps> {
|
|
40
40
|
/**
|
41
41
|
* 行-表格渲染模式
|
42
42
|
*/
|
43
|
-
export declare function textLineRenderMode(
|
43
|
+
export declare function textLineRenderMode(tbRender: TableRenderObject, data: ICreateRenderData): boolean;
|
44
44
|
interface IColsData {
|
45
45
|
width: number;
|
46
46
|
offset: number;
|
package/package.json
CHANGED