@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.
package/index.js CHANGED
@@ -804,28 +804,21 @@ function getDocCtx(ele) {
804
804
  if (!doc) {
805
805
  return null;
806
806
  }
807
- const options = doc['viewOptions'];
808
- if (!options || !options.enableTrackHistory) {
809
- return null;
810
- }
811
- return {
812
- doc,
813
- options: doc['viewOptions']
814
- };
807
+ return doc;
815
808
  }
816
809
  function insertEle(ele) {
817
810
  if (ele.type === 'psym') {
818
811
  return;
819
812
  }
820
- const options = getDocCtx(ele);
821
- if (!options) {
813
+ const docCtx = getDocCtx(ele);
814
+ if (!docCtx) {
822
815
  return;
823
816
  }
824
817
  // const serializeObj = getEleSerializeFunc(ele, options);
825
818
  // if (!serializeObj) {
826
819
  // return;
827
820
  // }
828
- appendToOps(options.doc, ele, {
821
+ appendToOps(docCtx, ele, {
829
822
  //如果当前插入的为单元格,由于新插入的单元格,内部的内容没有补足,导致后续计算索引会出现问题
830
823
  //之前为ele.clone(true);
831
824
  insert: ele
@@ -835,11 +828,11 @@ function removeEle(ele) {
835
828
  if (ele.type === 'psym') {
836
829
  return;
837
830
  }
838
- const options = getDocCtx(ele);
839
- if (!options) {
831
+ const docCtx = getDocCtx(ele);
832
+ if (!docCtx) {
840
833
  return;
841
834
  }
842
- appendToOps(options.doc, ele, {
835
+ appendToOps(docCtx, ele, {
843
836
  delete: ele.clone(true),
844
837
  });
845
838
  }
@@ -862,15 +855,15 @@ function getOpsLog(ele, ops) {
862
855
  };
863
856
  }
864
857
  function inputText(ele, startIndex, input) {
865
- const options = getDocCtx(ele);
866
- if (!options) {
858
+ const docCtx = getDocCtx(ele);
859
+ if (!docCtx) {
867
860
  return;
868
861
  }
869
862
  if (!input) {
870
863
  return;
871
864
  }
872
865
  //处理修复:如果当前的文字刚插入,这时候输入的文字内容已经被序列化到操作日志中了,就不需要生成操作日志
873
- let array = docOpsMap.get(options.doc);
866
+ let array = docOpsMap.get(docCtx);
874
867
  if (array) {
875
868
  const lastLog = array[array.length - 1];
876
869
  if (lastLog && 'insert' in lastLog.ops) {
@@ -879,7 +872,7 @@ function inputText(ele, startIndex, input) {
879
872
  }
880
873
  }
881
874
  }
882
- appendToOps(options.doc, ele, {
875
+ appendToOps(docCtx, ele, {
883
876
  insText: {
884
877
  index: startIndex,
885
878
  length: input.length
@@ -888,14 +881,14 @@ function inputText(ele, startIndex, input) {
888
881
  });
889
882
  }
890
883
  function removeText(ele, index, length, content) {
891
- const options = getDocCtx(ele);
892
- if (!options) {
884
+ const docCtx = getDocCtx(ele);
885
+ if (!docCtx) {
893
886
  return;
894
887
  }
895
888
  if (!length) {
896
889
  return;
897
890
  }
898
- appendToOps(options.doc, ele, {
891
+ appendToOps(docCtx, ele, {
899
892
  delText: {
900
893
  index,
901
894
  length
@@ -910,15 +903,15 @@ function removeText(ele, index, length, content) {
910
903
  * @returns
911
904
  */
912
905
  function formatEle(ele, props) {
913
- const options = getDocCtx(ele);
914
- if (!options) {
906
+ const docCtx = getDocCtx(ele);
907
+ if (!docCtx) {
915
908
  return;
916
909
  }
917
910
  const updateKeys = Object.keys(props);
918
911
  if (!updateKeys.length) {
919
912
  return;
920
913
  }
921
- appendToOps(options.doc, ele, {
914
+ appendToOps(docCtx, ele, {
922
915
  format: getExactDiffProps(ele.props, props)
923
916
  });
924
917
  }
@@ -930,11 +923,11 @@ function formatEle(ele, props) {
930
923
  * @param newValue
931
924
  */
932
925
  function logUpdateEleProps(ele, p, oldValue, newValue) {
933
- const options = getDocCtx(ele);
934
- if (!options) {
926
+ const docCtx = getDocCtx(ele);
927
+ if (!docCtx) {
935
928
  return;
936
929
  }
937
- appendToOps(options.doc, ele, {
930
+ appendToOps(docCtx, ele, {
938
931
  format: {
939
932
  [p]: {
940
933
  oldValue,
@@ -2380,7 +2373,6 @@ class DataEleBaseProps extends INotifyPropertyChanged {
2380
2373
  printable;
2381
2374
  secretBrowse;
2382
2375
  editable = true;
2383
- deleteable;
2384
2376
  minLength;
2385
2377
  underline;
2386
2378
  expression;
@@ -2396,7 +2388,6 @@ class DataEleBaseProps extends INotifyPropertyChanged {
2396
2388
  target.fieldName = source.fieldName;
2397
2389
  target.required = source.required;
2398
2390
  target.editable = source.editable;
2399
- target.deleteable = source.deleteable;
2400
2391
  target.secretBrowse = source.secretBrowse;
2401
2392
  target.printable = source.printable;
2402
2393
  target.minLength = source.minLength;
@@ -2426,9 +2417,6 @@ class DataEleBaseProps extends INotifyPropertyChanged {
2426
2417
  if (!this.editable) {
2427
2418
  props['editable'] = this.editable;
2428
2419
  }
2429
- if (this.deleteable) {
2430
- props["deleteable"] = this.deleteable;
2431
- }
2432
2420
  if (this.minLength) {
2433
2421
  props["minLength"] = this.minLength;
2434
2422
  }
@@ -3652,7 +3640,8 @@ class DocumentRenderObject extends BlockContainerRenderObject {
3652
3640
  width: this.rect.width,
3653
3641
  height: this.rect.height - 1,
3654
3642
  viewBox: `0 0 ${this.rect.width} ${this.rect.height - 1}`,
3655
- overflow: "hidden"
3643
+ overflow: "hidden",
3644
+ "shape-rendering": "optimizeSpeed"
3656
3645
  },
3657
3646
  },
3658
3647
  children: [
@@ -3944,6 +3933,7 @@ class DataElementRenderObject extends InlineGroupRenderObject {
3944
3933
  }
3945
3934
  });
3946
3935
  }
3936
+ renderErrorTip(event, this);
3947
3937
  return node;
3948
3938
  }
3949
3939
  }
@@ -3999,6 +3989,11 @@ class DataElementBaseFactory extends ElementFactory {
3999
3989
  }
4000
3990
  }
4001
3991
  }
3992
+ /**
3993
+ * 渲染数据元背景修饰
3994
+ * @param event
3995
+ * @param r
3996
+ */
4002
3997
  function exportDecoratorHTML(event, r) {
4003
3998
  const canPaint = r.element.isMouseenter || r.element.isFocused;
4004
3999
  if (!canPaint) {
@@ -4043,10 +4038,12 @@ function exportDecoratorHTML(event, r) {
4043
4038
  const sharpPoints1 = CommonUtil.resharpPoints(rightPoints);
4044
4039
  const sharpPoints = CommonUtil.resharpPoints([...leftPoints.reverse()]);
4045
4040
  const path = [...sharpPoints, ...sharpPoints1, sharpPoints[0]].map((item, index) => ((index === 0) ? 'M' : "L") + item.x + " " + item.y).join(" ");
4046
- event.highlights.push(ElementUtil.createSvgPath({ d: path,
4041
+ event.highlights.push(ElementUtil.createSvgPath({
4042
+ d: path,
4047
4043
  stroke: color,
4048
4044
  fill: 'none',
4049
- 'stroke-width': 1 }));
4045
+ 'stroke-width': 1
4046
+ }));
4050
4047
  return;
4051
4048
  }
4052
4049
  }
@@ -4061,6 +4058,110 @@ function exportDecoratorHTML(event, r) {
4061
4058
  }
4062
4059
  }
4063
4060
  }
4061
+ /**
4062
+ * 渲染数据源验证错误提示框
4063
+ */
4064
+ function renderErrorTip(event, r) {
4065
+ if (!event.options.enableDataEleInputValidate || event.mode === 'print') {
4066
+ return;
4067
+ }
4068
+ const ele = r.element;
4069
+ //元素调用内部验证
4070
+ ele.onChangedValidate();
4071
+ if (!ele.errorTip) {
4072
+ return;
4073
+ }
4074
+ //渲染底部波浪线
4075
+ renderUnderWavyLine(event, r, 'red');
4076
+ if (ele.paintRenders.indexOf(r) !== 0) {
4077
+ return;
4078
+ }
4079
+ const { x, y } = event.globalPos;
4080
+ const docRender = ElementUtil.getParentRender(r, DocumentRenderObject);
4081
+ const content = ele.errorTip;
4082
+ let left = ele.isFocused ? -10 : 5;
4083
+ //显示在文档的右测
4084
+ left += docRender.rect.x + docRender.rect.width + 20;
4085
+ let sel = 'div.tg-container';
4086
+ if (ele.isFocused) {
4087
+ sel += '.tg-container--selected';
4088
+ }
4089
+ const node = {
4090
+ sel,
4091
+ key: ele.props.id,
4092
+ data: {
4093
+ style: {
4094
+ left: `${left}px`,
4095
+ top: `${y}px`
4096
+ },
4097
+ dataset: {
4098
+ key: ele.key
4099
+ }
4100
+ },
4101
+ children: [{
4102
+ sel: 'div.header',
4103
+ data: {},
4104
+ children: [{
4105
+ sel: 'span.header-user',
4106
+ data: {},
4107
+ text: ele.props.caption,
4108
+ }]
4109
+ }, {
4110
+ sel: 'div.content',
4111
+ data: {},
4112
+ text: content
4113
+ }]
4114
+ };
4115
+ event.addChangeTips(node);
4116
+ const triangleTipX = x + r.rect.width / 2;
4117
+ const tipLineAWidth = docRender.rect.x + docRender.rect.width - triangleTipX;
4118
+ const tipLineA = {
4119
+ sel: 'div.doc-triangle-line',
4120
+ data: {
4121
+ style: {
4122
+ left: `${triangleTipX}px`,
4123
+ top: `${y + r.rect.height}px`,
4124
+ width: tipLineAWidth + 'px'
4125
+ }
4126
+ }
4127
+ };
4128
+ const tipLineB = {
4129
+ sel: 'div.doc-triangle-line',
4130
+ data: {
4131
+ style: {
4132
+ left: `${triangleTipX + tipLineAWidth}px`,
4133
+ top: `${y + r.rect.height}px`,
4134
+ width: 20 + 'px'
4135
+ },
4136
+ dataset: {
4137
+ key: ele.key
4138
+ }
4139
+ }
4140
+ };
4141
+ const triangleTip = {
4142
+ sel: `div.doc-triangle`,
4143
+ data: {
4144
+ style: {
4145
+ left: `${triangleTipX}px`,
4146
+ top: `${y + r.rect.height * 2 / 3}px`
4147
+ }
4148
+ }
4149
+ };
4150
+ event.addChangeTips(triangleTip);
4151
+ event.addChangeTips(tipLineA);
4152
+ event.addChangeTips(tipLineB);
4153
+ }
4154
+ /**
4155
+ * 渲染底部波浪线
4156
+ */
4157
+ function renderUnderWavyLine(event, r, color) {
4158
+ const { x, y } = event.relativePagePos;
4159
+ let d = `M ${x} ${y + r.rect.height - 2} q 1.5,2, `;
4160
+ const width = r.rect.width;
4161
+ d += Array(Math.ceil(width / 3)).fill("3,0").join(' t ');
4162
+ const path = ElementUtil.createSvgPath({ d, fill: 'none', stroke: color });
4163
+ event.highlights.push(path);
4164
+ }
4064
4165
  /**
4065
4166
  * 获取渲染元素相对稳当的位置
4066
4167
  * @param render
@@ -6831,6 +6932,9 @@ class CommentElement extends LeafElement {
6831
6932
  }
6832
6933
  class CommentRenderObject extends LeafRenderObject {
6833
6934
  exportSVG(event) {
6935
+ if (event.mode === 'print') {
6936
+ return;
6937
+ }
6834
6938
  const renderPos = { ...event.relativePagePos };
6835
6939
  const paraLinePos = ElementUtil.getParaLinePos(this, { x: renderPos.x, y: renderPos.y });
6836
6940
  const color = '#ff4d4f';
@@ -8337,9 +8441,6 @@ class DataElementDate extends DataElementInlineGroup {
8337
8441
  this.onChangedValidate();
8338
8442
  }
8339
8443
  isValid(val, format) {
8340
- if (!format) {
8341
- format = this.props.format ?? 'YYYY-MM-DD';
8342
- }
8343
8444
  const date = moment(val, format);
8344
8445
  return date.isValid();
8345
8446
  }
@@ -8354,8 +8455,7 @@ class DataElementDate extends DataElementInlineGroup {
8354
8455
  if (res) {
8355
8456
  return res;
8356
8457
  }
8357
- const format = this.props.format ?? 'YYYY-MM-DD';
8358
- const date = moment(this.getValue(), format, true);
8458
+ const date = moment(this.getValue(), true);
8359
8459
  if (!date.isValid()) {
8360
8460
  return '日期格式不正确';
8361
8461
  }
@@ -10725,7 +10825,6 @@ class ElementUtil {
10725
10825
  dest.printable = props.printable ?? true;
10726
10826
  dest.required = props.required;
10727
10827
  dest.secretBrowse = props.secretBrowse;
10728
- dest.deleteable = props.deleteable;
10729
10828
  dest.underline = props.underline;
10730
10829
  dest.expression = props.expression;
10731
10830
  dest.hidden = props.hidden;
@@ -12873,7 +12972,8 @@ class EditorContext {
12873
12972
  docChange;
12874
12973
  clearPrevDocCb;
12875
12974
  //绘制结束之后回调函数
12876
- nextViewFn;
12975
+ //nextViewFn!: (() => void) | null;
12976
+ nextViewFns = [];
12877
12977
  constructor(selectionState, viewOptions) {
12878
12978
  this.selectionState = selectionState;
12879
12979
  this.viewOptions = viewOptions;
@@ -12884,7 +12984,12 @@ class EditorContext {
12884
12984
  });
12885
12985
  }
12886
12986
  onNextView(cb) {
12887
- this.nextViewFn = cb;
12987
+ if (!cb) {
12988
+ this.nextViewFns.length = 0;
12989
+ return;
12990
+ }
12991
+ //this.nextViewFn = cb;
12992
+ this.nextViewFns.push(cb);
12888
12993
  }
12889
12994
  get document() {
12890
12995
  return this._document;
@@ -18449,6 +18554,7 @@ class ElementTrackManage {
18449
18554
  */
18450
18555
  generateTrack() {
18451
18556
  if (!this.docCtx.viewOptions.enableTrackHistory) {
18557
+ clearTraces(this.docCtx.document);
18452
18558
  return;
18453
18559
  }
18454
18560
  const ops = generatePatch(this.docCtx.document);
@@ -20238,10 +20344,11 @@ class DocEditor {
20238
20344
  this.readDocChangeLog();
20239
20345
  this.refreshDocument();
20240
20346
  this.flushTask = null;
20241
- let cb = this.docCtx.nextViewFn;
20242
- if (cb) {
20347
+ //回调
20348
+ let cbs = [...this.docCtx.nextViewFns];
20349
+ if (cbs.length) {
20243
20350
  this.docCtx.onNextView(null);
20244
- cb();
20351
+ cbs.forEach(cb => cb());
20245
20352
  return;
20246
20353
  }
20247
20354
  this.historyMange.generateTrack();
@@ -20402,7 +20509,7 @@ class DocEditor {
20402
20509
  this.editInput.style.left = position.x + 'px';
20403
20510
  this.editInput.style.top = position.y + 'px';
20404
20511
  this.editInput.style.height = position.height + 'px';
20405
- this.editInput.style.width = "2px";
20512
+ this.editInput.style.width = "1.6px";
20406
20513
  this.editInput.readOnly = false;
20407
20514
  this.setCursorVisibility(true);
20408
20515
  //判断光标位置是否被可见,如果不可见,需要将其设置到可见区域
@@ -21223,14 +21330,14 @@ class DocEditor {
21223
21330
  if (this.viewOptions.reviewWindowWidth > 0) {
21224
21331
  this.viewOptions.reviewWindowWidth = 0;
21225
21332
  //刷新页面
21226
- this.adjustPageLayout();
21333
+ this.docCtx.onNextView(() => { this.adjustPageLayout(); });
21227
21334
  }
21228
21335
  }
21229
21336
  else {
21230
21337
  if (this.viewOptions.reviewWindowWidth === 0) {
21231
21338
  this.viewOptions.reviewWindowWidth = 250;
21232
21339
  //刷新页面
21233
- this.adjustPageLayout();
21340
+ this.docCtx.onNextView(() => { this.adjustPageLayout(); });
21234
21341
  }
21235
21342
  }
21236
21343
  }
@@ -21505,7 +21612,7 @@ class DocEditor {
21505
21612
  rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
21506
21613
  }
21507
21614
  version() {
21508
- return "2.2.0";
21615
+ return "2.2.1";
21509
21616
  }
21510
21617
  switchPageHeaderEditor() {
21511
21618
  this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
@@ -27001,5 +27108,5 @@ function removeDuplicatesEvent(events) {
27001
27108
  return arr;
27002
27109
  }
27003
27110
 
27004
- export { BlockContainerElement, BlockContainerRenderObject, BlockContentElement, BlockContentRenderObject, BlockLineRectRenderObject, BodyPartProps, BooleanEnum, BorderProps, BranchElement, BranchRenderObject, BreakElement, BreakFactory, BreakRenderObject, CheckBoxElement, CheckBoxFactory, CheckBoxProps, CheckBoxRenderObject, ColumnPatchUtil, CommContentBaseElement, CommContentBaseRenderObject, CommContentElement, CommContentProps, CommContentRenderObject, CommProps, CommentContentFactory, CommentElement, CommentFactory, CommentRenderObject, CommentsFactory, CommonUtil, CommsContainerElement, CommsContainerRenderObject, ContentMenuItem, ContextMenuElementEvent, CopyElementEvent, DOMEventSource, DOMSubscription, DataDecorateElement, DataDecorateProps, DataDecorateRenderObject, DataEleBaseProps, DataEleBaseTextProps, DataEleCheckProps, DataEleDateProps, DataEleImageProps, DataEleListProps, DataEleMHProps, DataElementBarcode, DataElementBarcodeFactory, DataElementBarcodeProps, DataElementBarcodeRenderObject, DataElementBaseFactory, DataElementCheck, DataElementCheckFactory, DataElementCheckRenderObject, DataElementDate, DataElementDateFactory, DataElementDateRenderObject, DataElementGroupElement, DataElementGroupFactory, DataElementGroupProps, DataElementGroupRenderObject, DataElementImage, DataElementImgFactory, DataElementInlineGroup, DataElementLeaf, DataElementList, DataElementListFactory, DataElementListRenderObject, DataElementMH, DataElementMHFactory, DataElementRenderObject, DataElementText, DataElementTextFactory, DataElementTextRenderObject, DataImageRenderObject, DataRenderMH, DocEditor, DocMode, DocumentBodyElement, DocumentBodyFactory, DocumentBodyPartElement, DocumentBodyPartFactory, DocumentBodyPartRenderObject, DocumentBodyRenderObject, DocumentChange, DocumentCombine, DocumentComment, DocumentContainerRender, DocumentContext, DocumentCursor, DocumentElement, DocumentEvalFunc, DocumentEvent, DocumentFactory, DocumentFooterElement, DocumentFooterFactory, DocumentFooterRenderObject, DocumentHeaderElement, DocumentHeaderFactory, DocumentHeaderRenderObject, DocumentInput, DocumentPaginator, DocumentPrintOffscreen, DocumentPrintOffscreenBase, DocumentProps, DocumentRenderObject, DocumentSelection, DocumentTemplate, DropElementEvent, EditMode, EditorContext, Element, ElementEvent, ElementFactory, ElementReader, ElementSerialize, ElementUtil, EventBus, EventMap, EventSourceCore, FillNullSpaceElement, FillNullSpaceRenderObject, GetTrackTipsEvent, GotCursorEvent, IDispose, INotifyPropertyChanged, InlineBlockContainer, InlineGroupElement, InlineGroupInputElement, InlineGroupRenderObject, InlineMuiltBlockLineRenderObject, InputElementEvent, IsInSideDataElement, IsInSideInlineGroupInputElement, KeyboradElementEvent, LeafElement, LeafRenderObject, LostCursorEvent, MarginProps, ModifyFlag, MouseElementEvent, MousedownElementEvent, MuiltBlockLineRenderObject, OnceSubject, PSymbolElement, PSymbolRenderObject, PaddingProps, PageBreakElement, PageBreakFactory, PageBreakRenderObject, PageOptions, PaintContent, ParagraphElement, ParagraphFactory, ParagraphLineRectRenderObject, ParagraphNumberType, ParagraphProps, ParagraphRenderObject, PasteElementEvent, PermanentTeethElement, PermanentTeethFactory, PermanentTeethProps, PermanentTeethRenderObject, PictureElement, PictureFactory, PictureProps, PictureRenderObject, RadioBoxElement, RadioBoxFactory, RadioBoxProps, RadioBoxRenderObject, RangeUtil, Rect, RenderContext, RenderObject, RenderObjectType, ResizeLeafRenderObject, RowMinHeight, RunElementFactory, SVGElement, SVGFactory, SVGProps, SVGRenderObject, SelectionOverlays, SelectionRange, SelectionState, Subject, SubjectSubscription, Subscription, TabElement, TabFactory, TabRenderObject, TableCellElement, TableCellFactory, TableCellProps, TableCellRenderObject, TableElement, TableFactory, TableProps, TableRenderObject, TableRowElement, TableRowFactory, TableRowProps, TableRowRenderObject, TableSplitCell, TableUtil, TextGroupElement, TextGroupFactory, TextGroupRenderObject, TextProps, TextUnitsHolder, TrackRunElement, TrackRunProps, TrackRunRenderObject, TrackRunTypeEnum, ValidateCondition, ValidateElement, ValidateProps, ValidateRenderObject, ViewOptions, addReturn, clearChildrenRenderCache, clearTraces, cloneChildren, cloneElementBase, defaultParaHanging, deleteCurrentParagraph, docOpsMap, elementTypeEventHandler, exportDecoratorHTML, falseChar, fontMapFunc, formatEle, fromEvent, generatePatch, getCalleeName, getFocusTextSegment, inputText, insertEle, invokeTypeHandler, isDate, logUpdateEleProps, objectToString$4 as objectToString, onTableContextmenu, onceTask, parser, reactiveMap, removeEle, removeText, runTextLineRender, setChildrenModifyFlag, setDataElementProps, setNotifyChangedCallback, setTraceTrackingFlag, suppressTracking, targetMaps, textLineRenderMode, toRawType, toTypeString, trueChar, validateDataEle, validateDataEleRenderObj, validateInlineInputRenderObj, watchChanged };
27111
+ export { BlockContainerElement, BlockContainerRenderObject, BlockContentElement, BlockContentRenderObject, BlockLineRectRenderObject, BodyPartProps, BooleanEnum, BorderProps, BranchElement, BranchRenderObject, BreakElement, BreakFactory, BreakRenderObject, CheckBoxElement, CheckBoxFactory, CheckBoxProps, CheckBoxRenderObject, ColumnPatchUtil, CommContentBaseElement, CommContentBaseRenderObject, CommContentElement, CommContentProps, CommContentRenderObject, CommProps, CommentContentFactory, CommentElement, CommentFactory, CommentRenderObject, CommentsFactory, CommonUtil, CommsContainerElement, CommsContainerRenderObject, ContentMenuItem, ContextMenuElementEvent, CopyElementEvent, DOMEventSource, DOMSubscription, DataDecorateElement, DataDecorateProps, DataDecorateRenderObject, DataEleBaseProps, DataEleBaseTextProps, DataEleCheckProps, DataEleDateProps, DataEleImageProps, DataEleListProps, DataEleMHProps, DataElementBarcode, DataElementBarcodeFactory, DataElementBarcodeProps, DataElementBarcodeRenderObject, DataElementBaseFactory, DataElementCheck, DataElementCheckFactory, DataElementCheckRenderObject, DataElementDate, DataElementDateFactory, DataElementDateRenderObject, DataElementGroupElement, DataElementGroupFactory, DataElementGroupProps, DataElementGroupRenderObject, DataElementImage, DataElementImgFactory, DataElementInlineGroup, DataElementLeaf, DataElementList, DataElementListFactory, DataElementListRenderObject, DataElementMH, DataElementMHFactory, DataElementRenderObject, DataElementText, DataElementTextFactory, DataElementTextRenderObject, DataImageRenderObject, DataRenderMH, DocEditor, DocMode, DocumentBodyElement, DocumentBodyFactory, DocumentBodyPartElement, DocumentBodyPartFactory, DocumentBodyPartRenderObject, DocumentBodyRenderObject, DocumentChange, DocumentCombine, DocumentComment, DocumentContainerRender, DocumentContext, DocumentCursor, DocumentElement, DocumentEvalFunc, DocumentEvent, DocumentFactory, DocumentFooterElement, DocumentFooterFactory, DocumentFooterRenderObject, DocumentHeaderElement, DocumentHeaderFactory, DocumentHeaderRenderObject, DocumentInput, DocumentPaginator, DocumentPrintOffscreen, DocumentPrintOffscreenBase, DocumentProps, DocumentRenderObject, DocumentSelection, DocumentTemplate, DropElementEvent, EditMode, EditorContext, Element, ElementEvent, ElementFactory, ElementReader, ElementSerialize, ElementUtil, EventBus, EventMap, EventSourceCore, FillNullSpaceElement, FillNullSpaceRenderObject, GetTrackTipsEvent, GotCursorEvent, IDispose, INotifyPropertyChanged, InlineBlockContainer, InlineGroupElement, InlineGroupInputElement, InlineGroupRenderObject, InlineMuiltBlockLineRenderObject, InputElementEvent, IsInSideDataElement, IsInSideInlineGroupInputElement, KeyboradElementEvent, LeafElement, LeafRenderObject, LostCursorEvent, MarginProps, ModifyFlag, MouseElementEvent, MousedownElementEvent, MuiltBlockLineRenderObject, OnceSubject, PSymbolElement, PSymbolRenderObject, PaddingProps, PageBreakElement, PageBreakFactory, PageBreakRenderObject, PageOptions, PaintContent, ParagraphElement, ParagraphFactory, ParagraphLineRectRenderObject, ParagraphNumberType, ParagraphProps, ParagraphRenderObject, PasteElementEvent, PermanentTeethElement, PermanentTeethFactory, PermanentTeethProps, PermanentTeethRenderObject, PictureElement, PictureFactory, PictureProps, PictureRenderObject, RadioBoxElement, RadioBoxFactory, RadioBoxProps, RadioBoxRenderObject, RangeUtil, Rect, RenderContext, RenderObject, RenderObjectType, ResizeLeafRenderObject, RowMinHeight, RunElementFactory, SVGElement, SVGFactory, SVGProps, SVGRenderObject, SelectionOverlays, SelectionRange, SelectionState, Subject, SubjectSubscription, Subscription, TabElement, TabFactory, TabRenderObject, TableCellElement, TableCellFactory, TableCellProps, TableCellRenderObject, TableElement, TableFactory, TableProps, TableRenderObject, TableRowElement, TableRowFactory, TableRowProps, TableRowRenderObject, TableSplitCell, TableUtil, TextGroupElement, TextGroupFactory, TextGroupRenderObject, TextProps, TextUnitsHolder, TrackRunElement, TrackRunProps, TrackRunRenderObject, TrackRunTypeEnum, ValidateCondition, ValidateElement, ValidateProps, ValidateRenderObject, ViewOptions, addReturn, clearChildrenRenderCache, clearTraces, cloneChildren, cloneElementBase, defaultParaHanging, deleteCurrentParagraph, docOpsMap, elementTypeEventHandler, exportDecoratorHTML, falseChar, fontMapFunc, formatEle, fromEvent, generatePatch, getCalleeName, getFocusTextSegment, inputText, insertEle, invokeTypeHandler, isDate, logUpdateEleProps, objectToString$4 as objectToString, onTableContextmenu, onceTask, parser, reactiveMap, removeEle, removeText, renderErrorTip, renderUnderWavyLine, runTextLineRender, setChildrenModifyFlag, setDataElementProps, setNotifyChangedCallback, setTraceTrackingFlag, suppressTracking, targetMaps, textLineRenderMode, toRawType, toTypeString, trueChar, validateDataEle, validateDataEleRenderObj, validateInlineInputRenderObj, watchChanged };
27005
27112
  //# sourceMappingURL=index.js.map