hoeditor-web 3.0.93 → 3.0.94

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.
@@ -52383,7 +52383,14 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
52383
52383
  if (Object.prototype.toString.call(source[value]) === "[object Object]") {
52384
52384
  assignvalue(target[value], source[value]);
52385
52385
  } else if (Object.prototype.toString.call(source[value]) === "[object String]") {
52386
- target[value] = source[value].split(',');
52386
+ var array = source[value].split(',');
52387
+ if (value === "gridLineDisplay") {
52388
+ for (var i = 0; i < array.length; i++) {
52389
+ target[value][i] = array[i] === true || array[i] === "true" ? true : false;
52390
+ }
52391
+ } else {
52392
+ target[value] = array;
52393
+ }
52387
52394
  } else {
52388
52395
  if (source[value] !== "" && source[value] !== null) {
52389
52396
  assignvalue(target[value], eval("(" + source[value] + ")"));
@@ -56846,10 +56853,6 @@ var PageCountNode = /*#__PURE__*/function (_ControlNode) {
56846
56853
  set: function set(val) {
56847
56854
  if (this._styleIndex !== Number(val)) {
56848
56855
  this._styleIndex = Number(val);
56849
- // const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
56850
- // if (!hoEditorFactory.docTree.isSaveValid) {
56851
- // this.node2DrawNode();
56852
- // }
56853
56856
  }
56854
56857
  }
56855
56858
  }, {
@@ -57021,10 +57024,6 @@ var PageNumNode = /*#__PURE__*/function (_ControlNode) {
57021
57024
  set: function set(val) {
57022
57025
  if (this._styleIndex !== Number(val)) {
57023
57026
  this._styleIndex = Number(val);
57024
- // const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
57025
- // if (!hoEditorFactory.docTree.isSaveValid) {
57026
- // this.node2DrawNode();
57027
- // }
57028
57027
  }
57029
57028
  }
57030
57029
  }, {
@@ -61918,7 +61917,7 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
61918
61917
  }, {
61919
61918
  key: "clacLaborProcess",
61920
61919
  value: function clacLaborProcess() {
61921
- var strRet = "0";
61920
+ var strRet = " ";
61922
61921
  var table = this.getParentCell().table;
61923
61922
  var arrStr = this.formulaStr.split(",");
61924
61923
  if (arrStr.length < 2) {
@@ -61949,6 +61948,18 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
61949
61948
  var sDateStr = sCell.getCellText();
61950
61949
  var eDateStr = eCell.getCellText();
61951
61950
  if (arrStr.length === 2) {
61951
+ if (sDateStr.indexOf("年") >= 0 && sDateStr.indexOf("时") >= 0) {
61952
+ sDateStr = (0,_plugins_util__WEBPACK_IMPORTED_MODULE_30__/* .dateFormat */ .vc)(sDateStr, "yyyy-MM-dd HH:mm:ss");
61953
+ }
61954
+ if (eDateStr.indexOf("年") >= 0 && eDateStr.indexOf("时") >= 0) {
61955
+ eDateStr = (0,_plugins_util__WEBPACK_IMPORTED_MODULE_30__/* .dateFormat */ .vc)(eDateStr, "yyyy-MM-dd HH:mm:ss");
61956
+ }
61957
+ if (sDateStr.indexOf("年") >= 0 && sDateStr.indexOf("时") == -1) {
61958
+ sDateStr = (0,_plugins_util__WEBPACK_IMPORTED_MODULE_30__/* .dateFormat */ .vc)(sDateStr, "yyyy/MM/dd");
61959
+ }
61960
+ if (eDateStr.indexOf("年") >= 0 && eDateStr.indexOf("时") == -1) {
61961
+ eDateStr = (0,_plugins_util__WEBPACK_IMPORTED_MODULE_30__/* .dateFormat */ .vc)(eDateStr, "yyyy/MM/dd");
61962
+ }
61952
61963
  if ((0,_plugins_util__WEBPACK_IMPORTED_MODULE_30__/* .isDate */ .J_)(sDateStr) && (0,_plugins_util__WEBPACK_IMPORTED_MODULE_30__/* .isDate */ .J_)(eDateStr)) {
61953
61964
  var sDate = new Date(sDateStr);
61954
61965
  var eDate = new Date(eDateStr);
@@ -61961,13 +61972,13 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
61961
61972
  var minute = 0;
61962
61973
  var second = 0;
61963
61974
  if (dayData.length > 1) {
61964
- var hourData = (Number("0." + dayData[1]) * 24).toString().split('.');
61975
+ var hourData = (Number("0." + dayData[1]) * 24).toFixed(10).toString().split('.');
61965
61976
  hour = Number(hourData[0]);
61966
61977
  if (hourData.length > 1) {
61967
- var minuteData = (Number("0." + hourData[1]) * 60).toString().split('.');
61978
+ var minuteData = (Number("0." + hourData[1]) * 60).toFixed(10).toString().split('.');
61968
61979
  minute = Number(minuteData[0]);
61969
61980
  if (minuteData.length > 1) {
61970
- second = parseInt((Number("0." + minuteData[1]) * 60).toFixed(2).toString());
61981
+ second = parseInt((Number("0." + minuteData[1]) * 60).toFixed(10).toString());
61971
61982
  }
61972
61983
  }
61973
61984
  }
@@ -68201,10 +68212,6 @@ var TextNode = /*#__PURE__*/function (_BaseNode) {
68201
68212
  set: function set(val) {
68202
68213
  if (this._styleIndex !== Number(val)) {
68203
68214
  this._styleIndex = Number(val);
68204
- // const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
68205
- // if (!hoEditorFactory.docTree.isSaveValid) {
68206
- // this.node2DrawNode();
68207
- // }
68208
68215
  }
68209
68216
  }
68210
68217
  }, {
@@ -75593,7 +75600,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
75593
75600
  drawTreeHeight = _this$calcCellHeight2[0];
75594
75601
  pageHeight = _this$calcCellHeight2[1];
75595
75602
  toparr = _this$calcCellHeight2[2];
75596
- if (pageHeight > this._cell.drawCell.docHeight) {
75603
+ if (pageHeight > this._cell.drawCell.docHeight && this.dHeight - this._cell.drawCell.docHeight > hoeditorFactory.defaultLineHeight) {
75597
75604
  valignTop = (pageHeight - this._cell.drawCell.docHeight) / 2;
75598
75605
  }
75599
75606
  } else if (this._cell.cellProperty.align === TableProperty/* VAlign.vabottom */.TR.vabottom) {
@@ -77566,7 +77573,7 @@ var DrawRadioAndCheckBox = /*#__PURE__*/function (_DrawCombineNode) {
77566
77573
  if (rect) {
77567
77574
  drawBox.y = this.y;
77568
77575
  }
77569
- drawBox.setBounds(0, 0, drawBox.getMeasuredWidth(), this._dText.getMeasuredHeight());
77576
+ drawBox.setBounds(0, 0, drawBox.getMeasuredWidth(), drawBox.getMeasuredHeight() - 10);
77570
77577
  this.addChild(drawBox);
77571
77578
  }
77572
77579
  }, {
@@ -81989,8 +81996,9 @@ var EditorController = /*#__PURE__*/function () {
81989
81996
  }, {
81990
81997
  key: "editBlur",
81991
81998
  value: function editBlur(e) {
81992
- var hoeditorfactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
81993
- hoeditorfactory.drawTree.setCaretVisible(false);
81999
+ // const hoeditorfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
82000
+ this.editor.input.focus();
82001
+ // hoeditorfactory.drawTree.setCaretVisible(false);
81994
82002
  }
81995
82003
  }, {
81996
82004
  key: "editFocus",
@@ -89705,7 +89713,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89705
89713
  // }
89706
89714
  //if(nodes.length == 0) return;
89707
89715
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_18__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
89708
- _context2.next = 51;
89716
+ _context2.next = 56;
89709
89717
  break;
89710
89718
  }
89711
89719
  lastNode = nodes[nodes.length - 1];
@@ -89731,7 +89739,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89731
89739
  n = 0;
89732
89740
  case 24:
89733
89741
  if (!(n < nodes.length)) {
89734
- _context2.next = 50;
89742
+ _context2.next = 55;
89735
89743
  break;
89736
89744
  }
89737
89745
  node = nodes[n]; // if (node instanceof MarkNode && node.parentNode instanceof TextInputFieldNode && node.MarkNodeType === 1 && !node.parentNode.isAllowDelete) {
@@ -89765,35 +89773,44 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89765
89773
  this._isError = true;
89766
89774
  return _context2.abrupt("return");
89767
89775
  case 37:
89768
- if (!(node instanceof _dom_treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_38__/* .TableFormula */ .N)) {
89776
+ if (!(node instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_24__/* .MarkNode */ .j && node.MarkNodeType === 0)) {
89769
89777
  _context2.next = 42;
89770
89778
  break;
89771
89779
  }
89772
89780
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_41__/* ["default"].destroy */ .Z.destroy();
89773
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_41__/* ["default"].warn */ .Z.warn("不允许删除表格计算公式");
89781
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_41__/* ["default"].warn */ .Z.warn("元素已设置为不允许删除,请正确操作。");
89774
89782
  this._isError = true;
89775
89783
  return _context2.abrupt("return");
89776
89784
  case 42:
89777
- if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_36__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
89785
+ if (!(node instanceof _dom_treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_38__/* .TableFormula */ .N)) {
89778
89786
  _context2.next = 47;
89779
89787
  break;
89780
89788
  }
89781
89789
  ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_41__/* ["default"].destroy */ .Z.destroy();
89782
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_41__/* ["default"].warn */ .Z.warn("该签名元素不允许删除!");
89790
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_41__/* ["default"].warn */ .Z.warn("不允许删除表格计算公式");
89783
89791
  this._isError = true;
89784
89792
  return _context2.abrupt("return");
89785
89793
  case 47:
89794
+ if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_36__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
89795
+ _context2.next = 52;
89796
+ break;
89797
+ }
89798
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_41__/* ["default"].destroy */ .Z.destroy();
89799
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_41__/* ["default"].warn */ .Z.warn("该签名元素不允许删除!");
89800
+ this._isError = true;
89801
+ return _context2.abrupt("return");
89802
+ case 52:
89786
89803
  n++;
89787
89804
  _context2.next = 24;
89788
89805
  break;
89789
- case 50:
89806
+ case 55:
89790
89807
  if (nodes.length === 1 && nodes[0] instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_23__/* .TextInputFieldNode */ .re && !nodes[0].isAllowDelete && nodes[0].childNodes[1] instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_24__/* .MarkNode */ .j) {
89791
89808
  hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
89792
89809
  }
89793
- case 51:
89810
+ case 56:
89794
89811
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
89795
89812
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_23__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
89796
- _context2.next = 57;
89813
+ _context2.next = 62;
89797
89814
  break;
89798
89815
  }
89799
89816
  //判断当前TextInputField是否可编辑
@@ -89805,19 +89822,19 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89805
89822
  // this._undo.commit();
89806
89823
  });
89807
89824
  if (_res[0]) {
89808
- _context2.next = 57;
89825
+ _context2.next = 62;
89809
89826
  break;
89810
89827
  }
89811
89828
  return _context2.abrupt("return");
89812
- case 57:
89829
+ case 62:
89813
89830
  changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_15__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, currRange.startPath, ""); //FIXME:deleteRange函数完成后调用这个
89814
89831
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
89815
89832
  if (currRange.npStart.node && currRange.npEnd.node) {
89816
- _context2.next = 60;
89833
+ _context2.next = 65;
89817
89834
  break;
89818
89835
  }
89819
89836
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_25__/* .Exception.NodeNotFound */ .P.NodeNotFound();
89820
- case 60:
89837
+ case 65:
89821
89838
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
89822
89839
  // this._hoEditorFactory,
89823
89840
  // currRange.startPath,
@@ -89829,17 +89846,17 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89829
89846
  changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_28__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, endPath);
89830
89847
  res = this.deleteRange(currRange.endPath, currRange.startPath);
89831
89848
  if (!(res == 1)) {
89832
- _context2.next = 72;
89849
+ _context2.next = 77;
89833
89850
  break;
89834
89851
  }
89835
89852
  changeEvent.beforeChangePath = startPath;
89836
89853
  changeEvent.afterChangePath = this._tmp.start;
89837
- _context2.next = 70;
89854
+ _context2.next = 75;
89838
89855
  return hoEditorFactory.docTree.change(changeEvent);
89839
- case 70:
89856
+ case 75:
89840
89857
  cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_21__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, new _dom_DomRange__WEBPACK_IMPORTED_MODULE_19__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.start));
89841
89858
  hoEditorFactory.docTree.selectChange(cgEvent);
89842
- case 72:
89859
+ case 77:
89843
89860
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
89844
89861
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
89845
89862
  aNode = currRange.npStart.node;
@@ -89847,12 +89864,12 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
89847
89864
  pnode = aNode.parentNode;
89848
89865
  }
89849
89866
  if (!(aNode && pnode)) {
89850
- _context2.next = 79;
89867
+ _context2.next = 84;
89851
89868
  break;
89852
89869
  }
89853
- _context2.next = 79;
89870
+ _context2.next = 84;
89854
89871
  return this.ParentRepaint(pnode);
89855
- case 79:
89872
+ case 84:
89856
89873
  case "end":
89857
89874
  return _context2.stop();
89858
89875
  }
@@ -92568,7 +92585,7 @@ var DrawSimpleText = /*#__PURE__*/function (_createjs$Text) {
92568
92585
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this), "_docWidth", void 0);
92569
92586
  var lineUsedWidth = 0;
92570
92587
  _this.letterSpacing = spacing ? spacing : 0;
92571
- _this._chinesWordWidth = _this._getMeasuredWidth("");
92588
+ _this._chinesWordWidth = _this._getMeasuredWidth('');
92572
92589
  _this._docWidth = 0;
92573
92590
  var isFullLine = false;
92574
92591
  var lastTextWidth = 0;
@@ -92605,12 +92622,12 @@ var DrawSimpleText = /*#__PURE__*/function (_createjs$Text) {
92605
92622
  // if(ctx instanceof CanvasRenderingContext2D) {
92606
92623
  // ctx.font = strLowFont.replace("bold", "") || "12pt 宋体";
92607
92624
  // } else {
92608
- ctx.font = this.font || "12pt SimSun";
92625
+ ctx.font = this.font || '12pt SimSun';
92609
92626
  ctx.letterSpacing = this._letterSpacing;
92610
92627
  // }
92611
- ctx.textAlign = this.textAlign || "left";
92612
- ctx.textBaseline = this.textBaseline || "top";
92613
- ctx.lineJoin = "miter";
92628
+ ctx.textAlign = this.textAlign || 'left';
92629
+ ctx.textBaseline = this.textBaseline || 'top';
92630
+ ctx.lineJoin = 'miter';
92614
92631
  ctx.miterLimit = 10;
92615
92632
  return ctx;
92616
92633
  }
@@ -92625,7 +92642,7 @@ var DrawSimpleText = /*#__PURE__*/function (_createjs$Text) {
92625
92642
  }
92626
92643
  // const lineHeight = this.lineHeight || this.getMeasuredLineHeight();
92627
92644
  ctx.imageSmoothingEnabled = true;
92628
- var col = this.color || "#000";
92645
+ var col = this.color || '#000';
92629
92646
  // if(commonParamList.get('viewBlack')) { // 预览时设置全部
92630
92647
  // col = "#000";
92631
92648
  // }
@@ -92663,41 +92680,19 @@ var DrawSimpleText = /*#__PURE__*/function (_createjs$Text) {
92663
92680
  ctx.strokeText(str[j], left, 0, this.maxWidth || 0xffff);
92664
92681
  } else {
92665
92682
  ctx.fillText(str[j], left, 0, this.maxWidth || 0xffff);
92666
- // if (isbold) {
92667
- // ctx.fillText(str[j], left - 1, 0, this.maxWidth || 0xffff);
92668
- // }
92669
92683
  }
92670
92684
  }
92671
-
92672
92685
  left += wordW + this._letterSpacing;
92673
- // if (brecordSpace) {
92674
- // spaceCharAfter = left;
92675
- // }
92676
92686
  docWidth += wordW;
92677
92687
  }
92678
92688
  if (!(ctx instanceof CanvasRenderingContext2D)) {
92679
- // if ((ctx as any).name !=undefined &&(ctx as any).name=='canvas2svg') {
92680
- // let strText = str;
92681
- // let strSpace = "";
92682
- // if (charStart > 0) {
92683
- // strSpace = str.substring(0, charStart);
92684
- // strText = str.substring(charStart, str.length);
92685
- // }
92686
- // if (this.outline) {
92687
- // if (charStart > 0) {
92688
- // (ctx as any).strokeText(strSpace, 0, 0, this.maxWidth || 0xffff);
92689
- // }
92690
- // (ctx as any).strokeText(strText, spaceCharAfter, 0, this.maxWidth || 0xffff);
92691
- // } else {
92692
- // if (charStart > 0) {
92693
- // (ctx as any).strokeText(strSpace, 0, 0, this.maxWidth || 0xffff);
92694
- // }
92695
- // (ctx as any).fillText(strText, spaceCharAfter, 0, this.maxWidth || 0xffff);
92696
- // }
92697
- // }
92698
92689
  if (this.outline) {
92699
92690
  ctx.strokeText(str, 0, 0, this.maxWidth || 0xffff);
92700
92691
  } else {
92692
+ if (this.font.indexOf("bold") != -1) {
92693
+ ctx.strokeStyle = ctx.fillStyle;
92694
+ ctx.strokeText(str, 0, 0, this.maxWidth || 0xffff);
92695
+ }
92701
92696
  ctx.fillText(str, 0, 0, this.maxWidth || 0xffff);
92702
92697
  }
92703
92698
  }
@@ -92833,13 +92828,13 @@ var DrawSimpleText = /*#__PURE__*/function (_createjs$Text) {
92833
92828
  key: "getWorkingContext",
92834
92829
  value: function getWorkingContext() {
92835
92830
  if (!DrawSimpleText._workingContext) {
92836
- var canvas = document.createElement("canvas");
92831
+ var canvas = document.createElement('canvas');
92837
92832
  canvas.width = canvas.height = 1;
92838
- var context = canvas.getContext("2d");
92833
+ var context = canvas.getContext('2d');
92839
92834
  if (context) {
92840
92835
  DrawSimpleText._workingContext = context;
92841
92836
  } else {
92842
- throw new Error("创建canvas失败");
92837
+ throw new Error('创建canvas失败');
92843
92838
  }
92844
92839
  }
92845
92840
  return DrawSimpleText._workingContext;
@@ -100915,7 +100910,9 @@ if(frame.interlaced===true){scanstride+=width*4*7;// Pass 1.
100915
100910
  for(var i=0,il=index_stream.length;i<il;++i){var index=index_stream[i];if(xleft===0){// Beginning of new scan line
100916
100911
  op+=scanstride;xleft=framewidth;if(op>=opend){// Catch the wrap to switch passes when interlacing.
100917
100912
  scanstride=framestride*4+width*4*(interlaceskip-1);// interlaceskip / 2 * 4 is interlaceskip << 1.
100918
- op=opbeg+(framewidth+framestride)*(interlaceskip<<1);interlaceskip>>=1;}}if(index===trans){op+=4;}else{var r=buf[palette_offset+index*3];var g=buf[palette_offset+index*3+1];var b=buf[palette_offset+index*3+2];pixels[op++]=r;pixels[op++]=g;pixels[op++]=b;pixels[op++]=255;}--xleft;}};}function GifReaderLZWOutputIndexStream(code_stream,p,output,output_length){var min_code_size=code_stream[p++];var clear_code=1<<min_code_size;var eoi_code=clear_code+1;var next_code=eoi_code+1;var cur_code_size=min_code_size+1;// Number of bits per code.
100913
+ op=opbeg+(framewidth+framestride)*(interlaceskip<<1);interlaceskip>>=1;}}if(index===trans){// 透明背景强制转换为白色 可能影响签字和指纹重合的患者签名 -- 成都银海待测试
100914
+ // op += 4;
100915
+ pixels[op++]=255;pixels[op++]=255;pixels[op++]=255;pixels[op++]=255;}else{var r=buf[palette_offset+index*3];var g=buf[palette_offset+index*3+1];var b=buf[palette_offset+index*3+2];pixels[op++]=r;pixels[op++]=g;pixels[op++]=b;pixels[op++]=255;}--xleft;}};}function GifReaderLZWOutputIndexStream(code_stream,p,output,output_length){var min_code_size=code_stream[p++];var clear_code=1<<min_code_size;var eoi_code=clear_code+1;var next_code=eoi_code+1;var cur_code_size=min_code_size+1;// Number of bits per code.
100919
100916
  // NOTE: This shares the same name as the encoder, but has a different
100920
100917
  // meaning here. Here this masks each code coming from the code stream.
100921
100918
  var code_mask=(1<<cur_code_size)-1;var cur_shift=0;var cur=0;var op=0;// Output pointer.
@@ -239248,7 +239245,7 @@ var TextNode = __webpack_require__(27198);
239248
239245
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
239249
239246
  var ParagraphNode = __webpack_require__(67945);
239250
239247
  ;// CONCATENATED MODULE: ./src/components/version.ts
239251
- /* harmony default export */ var version = ('3.0.93');
239248
+ /* harmony default export */ var version = ('3.0.94');
239252
239249
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
239253
239250
  var PoperTipText = __webpack_require__(36081);
239254
239251
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -243761,9 +243758,9 @@ var StructureConvert = /*#__PURE__*/function () {
243761
243758
  xmlRoot = hoEditorFactory.unitConvert.replaceAll(xmlRoot, "</TempNode>", "");
243762
243759
  hoEditorFactory.isThrowError = true;
243763
243760
  if (beauty) {
243764
- return xmlRoot;
243761
+ return XmlBeauty_xmlBeauty(xmlRoot);
243765
243762
  }
243766
- return XmlBeauty_xmlBeauty(xmlRoot);
243763
+ return xmlRoot;
243767
243764
  }
243768
243765
  }
243769
243766
  }, {
@@ -248522,7 +248519,7 @@ var VueController = /*#__PURE__*/function () {
248522
248519
  if (hoEditorFactory.docTree.changing(changingEvent)) {
248523
248520
  var ret = '';
248524
248521
  if (type === 'xml') {
248525
- ret = hoEditorFactory.structureConvert.doc2Xml('xml', undefined, true);
248522
+ ret = hoEditorFactory.structureConvert.doc2Xml('xml', true, true);
248526
248523
  }
248527
248524
  if (type === 'plain') {
248528
248525
  ret = hoEditorFactory.structureConvert.doc2Text();
@@ -248533,7 +248530,7 @@ var VueController = /*#__PURE__*/function () {
248533
248530
  }
248534
248531
 
248535
248532
  if (type === 'json') {
248536
- ret = hoEditorFactory.structureConvert.doc2Xml('json', undefined, true);
248533
+ ret = hoEditorFactory.structureConvert.doc2Xml('json', true, true);
248537
248534
  ret = pretty_data.pd.json(ret);
248538
248535
  }
248539
248536
  return ret;
@@ -249200,7 +249197,7 @@ var VueController = /*#__PURE__*/function () {
249200
249197
  if (lines[i] != '') {
249201
249198
  var textNode = new TextNode/* TextNode */.R(this._hoEditorFactoryID, npStart.roots, npStart.node.parentNode, BaseNode/* NodeType.ntText */.Jq.ntText, lines[i], hoEditorFactory.docTree.curStyleIndex);
249202
249199
  nodes.push(textNode);
249203
- if (i < lines.length - 1) {
249200
+ if (i < lines.length - 2 || i == lines.length - 2 && lines[lines.length - 1] != "") {
249204
249201
  var paragraphNode = new ParagraphNode/* ParagraphNode */.C(this._hoEditorFactoryID, npStart.roots, npStart.node.parentNode, hoEditorFactory.docTree.curParaNo);
249205
249202
  nodes.push(paragraphNode);
249206
249203
  }
@@ -252668,7 +252665,7 @@ var VueController = /*#__PURE__*/function () {
252668
252665
  }, {
252669
252666
  key: "clearSignNodes",
252670
252667
  value: function clearSignNodes() {
252671
- var xml = this.getDocXml(true, true, true);
252668
+ var xml = this.getDocXml(false, true, true);
252672
252669
  return xml;
252673
252670
  }
252674
252671
  /**
@@ -257933,7 +257930,7 @@ var jspdf = __webpack_require__(77937);
257933
257930
  /*
257934
257931
  * @Author: your name
257935
257932
  * @Date: 2021-07-31 09:25:57
257936
- * @LastEditTime: 2022-08-26 13:53:54
257933
+ * @LastEditTime: 2023-07-25 17:06:48
257937
257934
  * @LastEditors: liyanan 2441631434@qq.com
257938
257935
  * @Description: In User Settings Edit
257939
257936
  * @FilePath: \hoeditor-web\src\editor\externalCall\PrintController.ts
@@ -257983,7 +257980,7 @@ var PrintController = /*#__PURE__*/function () {
257983
257980
  hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID); // 保存打印前文档状态 和 内容
257984
257981
  path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
257985
257982
  beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
257986
- xml = hoEditorFactory.vueController.getDocXml(true);
257983
+ xml = hoEditorFactory.vueController.getDocXml(false);
257987
257984
  htmlText = {
257988
257985
  text: ''
257989
257986
  };
@@ -258046,7 +258043,7 @@ var PrintController = /*#__PURE__*/function () {
258046
258043
  hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID); // 保存打印前文档状态 和 内容
258047
258044
  path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
258048
258045
  beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
258049
- xml = hoEditorFactory.vueController.getDocXml(true);
258046
+ xml = hoEditorFactory.vueController.getDocXml(false);
258050
258047
  orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? 'l' : 'p';
258051
258048
  format = [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes];
258052
258049
  options = {
@@ -258168,7 +258165,7 @@ var PrintController = /*#__PURE__*/function () {
258168
258165
  var fileName = pdfName ? pdfName : hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : '电子病历文档';
258169
258166
  // 保存打印前文档状态 和 内容
258170
258167
  var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
258171
- var xml = hoEditorFactory.vueController.getDocXml(true);
258168
+ var xml = hoEditorFactory.vueController.getDocXml(false);
258172
258169
  var hPromise = Promise.resolve();
258173
258170
  hPromise = hPromise.then(function () {
258174
258171
  return new Promise(function (resolve) {
@@ -258236,7 +258233,7 @@ var PrintController = /*#__PURE__*/function () {
258236
258233
  var beforeStatus = hoEditorFactory.drawTree.paintStatus;
258237
258234
  var xml = '';
258238
258235
  if (hoEditorFactory.printStatus.printRange !== 2) {
258239
- xml = hoEditorFactory.vueController.getDocXml(true, true);
258236
+ xml = hoEditorFactory.vueController.getDocXml(false, true);
258240
258237
  }
258241
258238
  hoEditorFactory.startPageNum = 0;
258242
258239
  hoEditorFactory.firstPageStartTop = 0;
@@ -258432,7 +258429,7 @@ var PrintController = /*#__PURE__*/function () {
258432
258429
  if (xmlInfoes.pageNum !== undefined) hoEditorFactory.startPageNum = xmlInfoes.pageNum;
258433
258430
  // 保存打印前文档状态 和 内容
258434
258431
  beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
258435
- xml = hoEditorFactory.vueController.getDocXml(true); // 提前设置打印预览状态 合并后减少一次重绘时间
258432
+ xml = hoEditorFactory.vueController.getDocXml(false); // 提前设置打印预览状态 合并后减少一次重绘时间
258436
258433
  if (!hoEditorFactory.isHideComments) {
258437
258434
  hoEditorFactory.vueController.hideComments(true);
258438
258435
  }
@@ -259649,7 +259646,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
259649
259646
  content: {
259650
259647
  PatientID: hoEditfactory.docTree.docProperty.patientID,
259651
259648
  EMRName: hoEditfactory.docTree.docProperty.title,
259652
- EMR: hoEditfactory.structureConvert.doc2Xml('xml', true)
259649
+ EMR: hoEditfactory.structureConvert.doc2Xml('xml')
259653
259650
  }
259654
259651
  }
259655
259652
  };
@@ -259674,7 +259671,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
259674
259671
  if (historyLogs) {
259675
259672
  if (Array.isArray(historyLogs)) {
259676
259673
  historyLogs.unshift({
259677
- xml: hoEditfactory.structureConvert.doc2Xml('xml', true, false),
259674
+ xml: hoEditfactory.structureConvert.doc2Xml('xml', false, false),
259678
259675
  saveTime: saveTime,
259679
259676
  logs: logs
259680
259677
  });
@@ -259683,7 +259680,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
259683
259680
  } else {
259684
259681
  var arr = [];
259685
259682
  arr.push({
259686
- xml: hoEditfactory.structureConvert.doc2Xml('xml', true, false),
259683
+ xml: hoEditfactory.structureConvert.doc2Xml('xml', false, false),
259687
259684
  saveTime: saveTime,
259688
259685
  logs: logs
259689
259686
  });
@@ -259693,7 +259690,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
259693
259690
  } else {
259694
259691
  var _arr = [];
259695
259692
  _arr.push({
259696
- xml: hoEditfactory.structureConvert.doc2Xml('xml', true, false),
259693
+ xml: hoEditfactory.structureConvert.doc2Xml('xml', false, false),
259697
259694
  saveTime: saveTime,
259698
259695
  logs: logs
259699
259696
  });
@@ -259751,7 +259748,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
259751
259748
  _this5._offline_cache_list.getItem(key).then(function (cacheLogs) {
259752
259749
  var arr = [];
259753
259750
  arr.push({
259754
- xml: hoEditfactory.structureConvert.doc2Xml('xml', true, false),
259751
+ xml: hoEditfactory.structureConvert.doc2Xml('xml', false, false),
259755
259752
  saveTime: (0,plugins_util/* dateFormat */.vc)(date),
259756
259753
  title: hoEditfactory.docTree.docProperty.title
259757
259754
  });
@@ -268151,8 +268148,8 @@ var popper = __webpack_require__(95551);
268151
268148
  },
268152
268149
  poppernIstance: null,
268153
268150
  isIncludes: '',
268154
- emrDebug: false,
268155
- // 获取全局变量 emrDebug0331
268151
+ showTableOnRightMenu: false,
268152
+ // 获取全局变量 showTableOnRightMenu
268156
268153
  formularType: {
268157
268154
  sum: '表格行列求和公式',
268158
268155
  formula: '四则运算公式',
@@ -268194,7 +268191,7 @@ var popper = __webpack_require__(95551);
268194
268191
  });
268195
268192
  },
268196
268193
  mounted: function mounted() {
268197
- var _this$hoEditorProvide, _this$hoEditorProvide2, _this$hoEditorProvide3, _this$hoEditorProvide4;
268194
+ var _this$hoEditorProvide, _this$hoEditorProvide2, _this$hoEditorProvide3, _this$hoEditorProvide4, _this$hoEditorProvide6;
268198
268195
  this.isIncludes = (_this$hoEditorProvide = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide === void 0 ? void 0 : _this$hoEditorProvide.labelNode().isIncludes;
268199
268196
  // this.patientID = this.vueController?.getDocProperty().patientID;
268200
268197
  this.isDeisgn = this.hoEditorProvider.rightNode.paintStatus;
@@ -268224,7 +268221,10 @@ var popper = __webpack_require__(95551);
268224
268221
  var _this$hoEditorProvide5;
268225
268222
  this.radioBoxSelected = (_this$hoEditorProvide5 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide5 === void 0 ? void 0 : _this$hoEditorProvide5.node().isSelected;
268226
268223
  }
268227
- this.emrDebug = window && window.emrDebug0331 ? true : false;
268224
+ this.showTableOnRightMenu = (_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.isCanUseTableProperty;
268225
+ if (window && window.showTableOnRightMenu) {
268226
+ this.showTableOnRightMenu = window && window.showTableOnRightMenu ? true : false;
268227
+ }
268228
268228
  },
268229
268229
  methods: {
268230
268230
  postMessage: function postMessage() {
@@ -268472,15 +268472,14 @@ var popper = __webpack_require__(95551);
268472
268472
  }
268473
268473
  },
268474
268474
  render: function render() {
268475
- var _this$hoEditorProvide6,
268475
+ var _this$hoEditorProvide7,
268476
268476
  _this$$slots$hoRightS,
268477
- _this$hoEditorProvide7,
268478
268477
  _this$hoEditorProvide8,
268479
268478
  _this$hoEditorProvide9,
268480
268479
  _this$hoEditorProvide10,
268481
268480
  _this$hoEditorProvide11,
268482
- _this5 = this,
268483
268481
  _this$hoEditorProvide12,
268482
+ _this5 = this,
268484
268483
  _this$hoEditorProvide13,
268485
268484
  _this$hoEditorProvide14,
268486
268485
  _this$hoEditorProvide15,
@@ -268511,7 +268510,7 @@ var popper = __webpack_require__(95551);
268511
268510
  }],
268512
268511
  "ref": "mouseRightMenuPopup",
268513
268512
  "class": "mouse-right-menu-popup animation-in"
268514
- }, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.paintStatus) !== 4 && !this.forbidPaste && h("ul", {
268513
+ }, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.paintStatus) !== 4 && !this.forbidPaste && h("ul", {
268515
268514
  "class": "mouse-right-menu"
268516
268515
  }, [h("li", {
268517
268516
  "class": "mouse-menu-item",
@@ -268535,7 +268534,7 @@ var popper = __webpack_require__(95551);
268535
268534
  "class": "mouse-menu-item mouse-right-menu-line"
268536
268535
  })]), (_this$$slots$hoRightS = this.$slots.hoRightSlot) === null || _this$$slots$hoRightS === void 0 ? void 0 : _this$$slots$hoRightS.map(function (v) {
268537
268536
  return v;
268538
- }), ((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
268537
+ }), ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
268539
268538
  "class": "mouse-right-menu"
268540
268539
  }, [h("li", {
268541
268540
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268553,12 +268552,12 @@ var popper = __webpack_require__(95551);
268553
268552
  "on": {
268554
268553
  "click": this.labelToText.bind(this)
268555
268554
  }
268556
- }, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.paintStatus) == 0 && h("li", {
268555
+ }, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.paintStatus) == 0 && h("li", {
268557
268556
  "class": "mouse-menu-item",
268558
268557
  "on": {
268559
268558
  "click": this.editLabel.bind(this)
268560
268559
  }
268561
- }, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.type) === 'express' && ((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.paintStatus) === 0 && ((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.paintStatus) === 0 && h("ul", {
268560
+ }, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.type) === 'express' && ((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.paintStatus) === 0 && ((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.paintStatus) === 0 && h("ul", {
268562
268561
  "class": "mouse-right-menu"
268563
268562
  }, [h("li", {
268564
268563
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268569,7 +268568,7 @@ var popper = __webpack_require__(95551);
268569
268568
  return _this5.toUpdateNodes('express', event);
268570
268569
  }
268571
268570
  }
268572
- }, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.type) === 'RadioBox' || ((_this$hoEditorProvide13 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide13 === void 0 ? void 0 : _this$hoEditorProvide13.type) === 'CheckBox') && ((_this$hoEditorProvide14 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide14 === void 0 ? void 0 : _this$hoEditorProvide14.paintStatus) === 0 && h("ul", {
268571
+ }, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide13 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide13 === void 0 ? void 0 : _this$hoEditorProvide13.type) === 'RadioBox' || ((_this$hoEditorProvide14 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide14 === void 0 ? void 0 : _this$hoEditorProvide14.type) === 'CheckBox') && ((_this$hoEditorProvide15 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide15 === void 0 ? void 0 : _this$hoEditorProvide15.paintStatus) === 0 && h("ul", {
268573
268572
  "class": "mouse-right-menu"
268574
268573
  }, [h("li", {
268575
268574
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268581,7 +268580,7 @@ var popper = __webpack_require__(95551);
268581
268580
  return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
268582
268581
  }
268583
268582
  }
268584
- }, [((_this$hoEditorProvide15 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide15 === void 0 ? void 0 : _this$hoEditorProvide15.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), this.radioBoxSelected && h("ul", {
268583
+ }, [((_this$hoEditorProvide16 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide16 === void 0 ? void 0 : _this$hoEditorProvide16.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), this.radioBoxSelected && h("ul", {
268585
268584
  "class": "mouse-right-menu"
268586
268585
  }, [h("li", {
268587
268586
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268592,7 +268591,7 @@ var popper = __webpack_require__(95551);
268592
268591
  return _this5.cancelRadioSelect();
268593
268592
  }
268594
268593
  }
268595
- }, ["\u53D6\u6D88\u9009\u4E2D"])]), ((_this$hoEditorProvide16 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide16 === void 0 ? void 0 : _this$hoEditorProvide16.type) === 'date' && ((_this$hoEditorProvide17 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide17 === void 0 ? void 0 : _this$hoEditorProvide17.paintStatus) === 0 && h("ul", {
268594
+ }, ["\u53D6\u6D88\u9009\u4E2D"])]), ((_this$hoEditorProvide17 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide17 === void 0 ? void 0 : _this$hoEditorProvide17.type) === 'date' && ((_this$hoEditorProvide18 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide18 === void 0 ? void 0 : _this$hoEditorProvide18.paintStatus) === 0 && h("ul", {
268596
268595
  "class": "mouse-right-menu"
268597
268596
  }, [h("li", {
268598
268597
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268603,7 +268602,7 @@ var popper = __webpack_require__(95551);
268603
268602
  return _this5.toUpdateNodes('date', event);
268604
268603
  }
268605
268604
  }
268606
- }, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$hoEditorProvide18 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide18 === void 0 ? void 0 : _this$hoEditorProvide18.type) === 'select' && ((_this$hoEditorProvide19 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide19 === void 0 ? void 0 : _this$hoEditorProvide19.paintStatus) === 0 && h("ul", {
268605
+ }, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$hoEditorProvide19 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide19 === void 0 ? void 0 : _this$hoEditorProvide19.type) === 'select' && ((_this$hoEditorProvide20 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide20 === void 0 ? void 0 : _this$hoEditorProvide20.paintStatus) === 0 && h("ul", {
268607
268606
  "class": "mouse-right-menu"
268608
268607
  }, [h("li", {
268609
268608
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268614,7 +268613,7 @@ var popper = __webpack_require__(95551);
268614
268613
  return _this5.toUpdateNodes('select', event);
268615
268614
  }
268616
268615
  }
268617
- }, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$hoEditorProvide20 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide20 === void 0 ? void 0 : _this$hoEditorProvide20.type) === 'barcode' && ((_this$hoEditorProvide21 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide21 === void 0 ? void 0 : _this$hoEditorProvide21.paintStatus) === 0 && h("ul", {
268616
+ }, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$hoEditorProvide21 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide21 === void 0 ? void 0 : _this$hoEditorProvide21.type) === 'barcode' && ((_this$hoEditorProvide22 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide22 === void 0 ? void 0 : _this$hoEditorProvide22.paintStatus) === 0 && h("ul", {
268618
268617
  "class": "mouse-right-menu"
268619
268618
  }, [h("li", {
268620
268619
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268625,7 +268624,7 @@ var popper = __webpack_require__(95551);
268625
268624
  return _this5.toUpdateNodes('barcode', event);
268626
268625
  }
268627
268626
  }
268628
- }, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide22 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide22 === void 0 ? void 0 : _this$hoEditorProvide22.type) === 'qrcode' && ((_this$hoEditorProvide23 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide23 === void 0 ? void 0 : _this$hoEditorProvide23.paintStatus) === 0 && h("ul", {
268627
+ }, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide23 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide23 === void 0 ? void 0 : _this$hoEditorProvide23.type) === 'qrcode' && ((_this$hoEditorProvide24 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide24 === void 0 ? void 0 : _this$hoEditorProvide24.paintStatus) === 0 && h("ul", {
268629
268628
  "class": "mouse-right-menu"
268630
268629
  }, [h("li", {
268631
268630
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268636,7 +268635,7 @@ var popper = __webpack_require__(95551);
268636
268635
  return _this5.toUpdateNodes('qrcode', event);
268637
268636
  }
268638
268637
  }
268639
- }, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide24 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide24 === void 0 ? void 0 : _this$hoEditorProvide24.type) === 'edit-image' && ((_this$hoEditorProvide25 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide25 === void 0 ? void 0 : _this$hoEditorProvide25.paintStatus) === 0 && h("ul", {
268638
+ }, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide25 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide25 === void 0 ? void 0 : _this$hoEditorProvide25.type) === 'edit-image' && ((_this$hoEditorProvide26 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide26 === void 0 ? void 0 : _this$hoEditorProvide26.paintStatus) === 0 && h("ul", {
268640
268639
  "class": "mouse-right-menu"
268641
268640
  }, [h("li", {
268642
268641
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268647,7 +268646,7 @@ var popper = __webpack_require__(95551);
268647
268646
  return _this5.toUpdateNodes('edit-image', event);
268648
268647
  }
268649
268648
  }
268650
- }, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$hoEditorProvide26 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide26 === void 0 ? void 0 : _this$hoEditorProvide26.type) === 'text' && ((_this$hoEditorProvide27 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide27 === void 0 ? void 0 : _this$hoEditorProvide27.paintStatus) === 0 && h("ul", {
268649
+ }, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$hoEditorProvide27 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide27 === void 0 ? void 0 : _this$hoEditorProvide27.type) === 'text' && ((_this$hoEditorProvide28 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide28 === void 0 ? void 0 : _this$hoEditorProvide28.paintStatus) === 0 && h("ul", {
268651
268650
  "class": "mouse-right-menu"
268652
268651
  }, [h("li", {
268653
268652
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -268658,7 +268657,7 @@ var popper = __webpack_require__(95551);
268658
268657
  return _this5.toUpdateNodes('text', event);
268659
268658
  }
268660
268659
  }
268661
- }, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$hoEditorProvide28 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide28 === void 0 ? void 0 : _this$hoEditorProvide28.rightTypeIsTable) && this.defaultTable && (((_this$hoEditorProvide29 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide29 === void 0 ? void 0 : _this$hoEditorProvide29.paintStatus) === 0 || ((_this$hoEditorProvide30 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide30 === void 0 ? void 0 : _this$hoEditorProvide30.isCanUseTableProperty)) || this.emrDebug) && h("ul", {
268660
+ }, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), ((_this$hoEditorProvide29 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide29 === void 0 ? void 0 : _this$hoEditorProvide29.rightTypeIsTable) && this.defaultTable && (((_this$hoEditorProvide30 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide30 === void 0 ? void 0 : _this$hoEditorProvide30.paintStatus) === 0 || this.showTableOnRightMenu) && h("ul", {
268662
268661
  "class": "mouse-right-menu"
268663
268662
  }, [h("li", {
268664
268663
  "class": "mouse-menu-item mouse-right-menu-line"