hoeditor-web 2.0.72 → 2.0.75

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.
@@ -13494,7 +13494,7 @@ var DocController = /*#__PURE__*/function () {
13494
13494
 
13495
13495
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_77__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
13496
13496
 
13497
- if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
13497
+ if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview && oper !== "update") {
13498
13498
  hoEditorFactory.undoService.begin();
13499
13499
  hoEditorFactory.undoService.add(new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .NodeStyleUndoUnit */ .o(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .Operate */ .p("reviewDelete", "string")));
13500
13500
  hoEditorFactory.undoService.commit();
@@ -14786,7 +14786,7 @@ var DocController = /*#__PURE__*/function () {
14786
14786
  node.childNodes.splice(1, node.childNodes.length - 2);
14787
14787
  var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_27__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntText */ .Jq.ntText, values["text"], hoEditorFactory.docTree.curStyleIndex);
14788
14788
  node.childNodes.splice(1, 0, textNode);
14789
- changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
14789
+ changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode); //changeEvent.afterChangePath = ePath;
14790
14790
  }
14791
14791
  } else {
14792
14792
  //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
@@ -14795,12 +14795,25 @@ var DocController = /*#__PURE__*/function () {
14795
14795
 
14796
14796
  hoEditorFactory.docTree.change(changeEvent);
14797
14797
  node.update();
14798
+ var pnode = node.parentNode;
14799
+
14800
+ do {
14801
+ var _pnode;
14798
14802
 
14799
- if (node.parentNode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14800
- node.parentNode.drawCell.needUpdate = true; //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14803
+ if (pnode && pnode.parentNode) {
14804
+ pnode = pnode.parentNode;
14805
+ }
14801
14806
 
14802
- if (node.parentNode.drawCell.drawPageCells.length > 1) {
14803
- node.parentNode.table.update();
14807
+ if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14808
+ break;
14809
+ }
14810
+ } while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
14811
+
14812
+ if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14813
+ pnode.drawCell.needUpdate = true; //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14814
+
14815
+ if (pnode.drawCell.drawPageCells.length > 1) {
14816
+ pnode.table.update();
14804
14817
  }
14805
14818
  }
14806
14819
 
@@ -16811,10 +16824,10 @@ var DocController = /*#__PURE__*/function () {
16811
16824
  var startPath = domRange.startPath;
16812
16825
  var parentNode = hoEditorFactory.docTree.getParentNode(startPath); // if (type == 1 && imgSrc != "" && imgWidth > 0 && parentNode instanceof CellNode) {
16813
16826
  // const cellWidth = parentNode.drawCell.dWidth;
16814
- // const cellHeight = parentNode.getCellHeight();
16827
+ // //const cellHeight = parentNode.drawCell.dHeight;
16815
16828
  // if (cellWidth < imgWidth) {
16816
- // imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
16817
- // imgWidth = (cellWidth - 10);
16829
+ // //imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
16830
+ // imgWidth = cellWidth;
16818
16831
  // }
16819
16832
  // }
16820
16833
 
@@ -28611,8 +28624,8 @@ var SubDocManger = __webpack_require__(93777);
28611
28624
  /*
28612
28625
  * @Author: your name
28613
28626
  * @Date: 2020-11-11 11:04:19
28614
- * @LastEditTime: 2021-09-28 14:07:58
28615
- * @LastEditors: Please set LastEditors
28627
+ * @LastEditTime: 2022-07-26 10:41:01
28628
+ * @LastEditors: liyanan 2441631434@qq.com
28616
28629
  * @Description: In User Settings Edit
28617
28630
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawImageNode.ts
28618
28631
  */
@@ -28669,6 +28682,9 @@ var DrawImageNode = /*#__PURE__*/function (_DrawCombineNode) {
28669
28682
  this._bitMap.y = this._imageY;
28670
28683
  this._bitMap.x = 0;
28671
28684
  this._bitMap.name = this.node.id;
28685
+
28686
+ this._bitMap.setBounds(0, 0, drawNode.dWidth, drawNode.dHeight);
28687
+
28672
28688
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(drawNode.node.hoEditorFactoryID);
28673
28689
  hoEditorFactory.loadImageCount++;
28674
28690
 
@@ -50856,7 +50872,7 @@ var DrawRadioAndCheckBox = /*#__PURE__*/function (_DrawCombineNode) {
50856
50872
 
50857
50873
  var boxwidth = _this._dBox.getMeasuredWidth();
50858
50874
 
50859
- _this.dWidth = textWidth + boxwidth;
50875
+ _this.dWidth = textWidth + boxwidth + 6;
50860
50876
 
50861
50877
  if (node.isEditText) {
50862
50878
  var underLineLen = 40;
@@ -50868,9 +50884,9 @@ var DrawRadioAndCheckBox = /*#__PURE__*/function (_DrawCombineNode) {
50868
50884
 
50869
50885
  _this._dUnderLine = new createjs.Shape();
50870
50886
 
50871
- _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth, 1).lineTo(_this.dWidth + underLineLen, 1);
50887
+ _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - 6, 1).lineTo(_this.dWidth - 6 + underLineLen, 1);
50872
50888
 
50873
- _this.dWidth = _this.dWidth + underLineLen;
50889
+ _this.dWidth = _this.dWidth - 6 + underLineLen;
50874
50890
  }
50875
50891
 
50876
50892
  _this.dHeight = height;
@@ -51120,7 +51136,7 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
51120
51136
  var textWidth = _this._dText.getMeasuredWidth();
51121
51137
 
51122
51138
  var boxwidth = height;
51123
- _this.dWidth = textWidth + boxwidth;
51139
+ _this.dWidth = textWidth + boxwidth + 6;
51124
51140
 
51125
51141
  if (node.isEditText) {
51126
51142
  var underLineLen = 40;
@@ -51132,9 +51148,9 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
51132
51148
 
51133
51149
  _this._dUnderLine = new createjs.Shape();
51134
51150
 
51135
- _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth, 1).lineTo(_this.dWidth + underLineLen, 1);
51151
+ _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - 6, 1).lineTo(_this.dWidth - 6 + underLineLen, 1);
51136
51152
 
51137
- _this.dWidth = _this.dWidth + underLineLen;
51153
+ _this.dWidth = _this.dWidth - 6 + underLineLen;
51138
51154
  }
51139
51155
 
51140
51156
  _this.dHeight = height;
@@ -51465,17 +51481,19 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
51465
51481
  /* harmony export */ "V": function() { return /* binding */ DrawSignNode; }
51466
51482
  /* harmony export */ });
51467
51483
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42015);
51468
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(16296);
51484
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(16296);
51469
51485
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(83964);
51470
51486
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46455);
51471
51487
  /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74916);
51472
51488
  /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__);
51473
51489
  /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23123);
51474
51490
  /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_4__);
51475
- /* harmony import */ var _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78975);
51476
- /* harmony import */ var _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93777);
51477
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(28831);
51478
- /* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46139);
51491
+ /* harmony import */ var _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(69088);
51492
+ /* harmony import */ var _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(78975);
51493
+ /* harmony import */ var _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(93777);
51494
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28831);
51495
+ /* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(46139);
51496
+
51479
51497
 
51480
51498
 
51481
51499
 
@@ -51489,7 +51507,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
51489
51507
  /*
51490
51508
  * @Author: your name
51491
51509
  * @Date: 2021-09-01 16:51:49
51492
- * @LastEditTime: 2022-07-19 09:47:55
51510
+ * @LastEditTime: 2022-07-26 12:00:22
51493
51511
  * @LastEditors: liyanan 2441631434@qq.com
51494
51512
  * @Description: In User Settings Edit
51495
51513
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
@@ -51524,7 +51542,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51524
51542
  _this._attribute = attribute;
51525
51543
  _this._abi02 = customProperty && customProperty.abi02 ? customProperty.abi02 : ""; //this._textStyle = cbStyle.;
51526
51544
 
51527
- _this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight; //this.dHeight = 40;
51545
+ _this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight; //this.dHeight = 40;
51528
51546
 
51529
51547
  _this._textStyle = cbStyle.getStyleKey();
51530
51548
 
@@ -51532,7 +51550,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51532
51550
  var signArr = imgSrc.split('\n');
51533
51551
 
51534
51552
  if (signArr.length > 1) {
51535
- _this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight * signArr.length; // const textStyle = new TextStyle(hoeditfactoryID);
51553
+ _this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight * signArr.length; // const textStyle = new TextStyle(hoeditfactoryID);
51536
51554
  // let curHeight = cbStyle.getFontHeightByFontSize(cbStyle.size) * signArr.length;
51537
51555
  // if (curHeight > this.dHeight) {
51538
51556
  // let fontSize = cbStyle.size;
@@ -51610,7 +51628,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51610
51628
  return _this;
51611
51629
  }
51612
51630
 
51613
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(DrawSignNode, [{
51631
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(DrawSignNode, [{
51614
51632
  key: "type",
51615
51633
  get: function get() {
51616
51634
  return this._type;
@@ -51707,7 +51725,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51707
51725
 
51708
51726
  this.clear();
51709
51727
  var drawNode = this;
51710
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
51728
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
51711
51729
 
51712
51730
  var drawSign = function drawSign() {
51713
51731
  if (_this2.type === 1 || _this2.type === 3) {
@@ -51715,7 +51733,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51715
51733
  node.type = 3;
51716
51734
 
51717
51735
  if (_this2.imgSrc == '' && _this2.fingerPrintSrc) {
51718
- var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51736
+ var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51719
51737
  var fingerWidth = 256;
51720
51738
  _this2._dWidth = fingerWidth * fingerscale;
51721
51739
  node.imgWidth = _this2._dWidth;
@@ -51779,7 +51797,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51779
51797
  var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
51780
51798
  var scale = hoEditorFactory.signHeight / hitHeight < 0.4 ? 0.4 : hoEditorFactory.signHeight / hitHeight > 0.7 ? 1 : hoEditorFactory.signHeight / hitHeight;
51781
51799
 
51782
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center && hoEditorFactory.signHeight / hitHeight < 0.2) {
51800
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center && hoEditorFactory.signHeight / hitHeight < 0.2) {
51783
51801
  scale = hoEditorFactory.signHeight * 1.5 / hitHeight;
51784
51802
  }
51785
51803
 
@@ -51789,24 +51807,24 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51789
51807
  _fingerImage.onload = function () {
51790
51808
  var fingerWidth = 256;
51791
51809
  var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
51792
- var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51810
+ var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51793
51811
  _fingerBitmap.scaleX = fingerscale;
51794
51812
  _fingerBitmap.scaleY = fingerscale;
51795
51813
  _fingerBitmap.y = -fingerHeight * fingerscale;
51796
51814
  bitmap.y = -hitHeight * scale;
51797
51815
 
51798
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.left */ .d.left) {
51816
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.left */ .d.left) {
51799
51817
  bitmap.x = fingerWidth * fingerscale + 5;
51800
51818
  _fingerBitmap.x = 0;
51801
51819
  _this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
51802
51820
  node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
51803
51821
  _this2._dHeight = node.imgHeight;
51804
- } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51822
+ } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center) {
51805
51823
  _fingerBitmap.x = (hitWidth * scale - fingerWidth * fingerscale) / 2;
51806
51824
  _fingerBitmap.y = -(fingerHeight * fingerscale + currentLineHeight) / 2;
51807
51825
  bitmap.y = -(hitHeight * scale + currentLineHeight) / 2;
51808
51826
  node.imgHeight = hoEditorFactory.signHeight;
51809
- } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.right */ .d.right) {
51827
+ } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.right */ .d.right) {
51810
51828
  _fingerBitmap.x = hitWidth * scale + 5;
51811
51829
  _this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
51812
51830
  node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
@@ -51815,7 +51833,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51815
51833
 
51816
51834
  node.imgWidth = _this2._dWidth;
51817
51835
 
51818
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51836
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center) {
51819
51837
  _this2._dWidth = 0;
51820
51838
  _this2._dHeight = 0;
51821
51839
  }
@@ -51849,10 +51867,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51849
51867
  if (dArea) {
51850
51868
  var atype = hoEditorFactory.subDocManger.getHeaderFooterType(drawNode.node.getNodePath());
51851
51869
 
51852
- if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_6__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
51870
+ if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
51853
51871
  hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
51854
51872
  } else {
51855
- if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_6__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
51873
+ if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
51856
51874
  hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
51857
51875
  }
51858
51876
  } // hoEditorFactory.drawTree.updateDrawTreeFirstLine();
@@ -51911,7 +51929,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51911
51929
  _this3.addChildAt(bitmap, 0);
51912
51930
  }
51913
51931
 
51914
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
51932
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
51915
51933
  hoEditorFactory.loadImageCount++;
51916
51934
 
51917
51935
  image.onload = function () {
@@ -51929,6 +51947,15 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51929
51947
 
51930
51948
  var width = hitWidth * hoEditorFactory.signHeight / image.naturalHeight; //+ this._drawText.getMeasuredWidth();
51931
51949
 
51950
+ if (node.parentNode instanceof _editor_dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_5__/* .CellNode */ .D) {
51951
+ var cellWidth = node.parentNode.drawCell.dWidth;
51952
+
51953
+ if (width > cellWidth - 5) {
51954
+ drawNode.dHeight = (cellWidth - 5) * hoEditorFactory.signHeight / width;
51955
+ width = cellWidth - 5;
51956
+ }
51957
+ }
51958
+
51932
51959
  drawNode.dWidth = width;
51933
51960
 
51934
51961
  if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
@@ -51940,9 +51967,9 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51940
51967
  }
51941
51968
 
51942
51969
  if (drawNode.attribute === 2 && drawNode.abi02 !== "") {
51943
- bitmap.setTransform(drawNode._drawAbi02.getMeasuredWidth(), -hoEditorFactory.signHeight + 2, width / hitWidth, drawNode.dHeight / hitHeight);
51970
+ bitmap.setTransform(drawNode._drawAbi02.getMeasuredWidth(), -drawNode.dHeight + 2, width / hitWidth, drawNode.dHeight / hitHeight);
51944
51971
  } else {
51945
- bitmap.setTransform(0, -hoEditorFactory.signHeight, width / hitWidth, drawNode.dHeight / hitHeight);
51972
+ bitmap.setTransform(0, -drawNode.dHeight, width / hitWidth, drawNode.dHeight / hitHeight);
51946
51973
  }
51947
51974
 
51948
51975
  var hitArea = new createjs.Shape();
@@ -51967,10 +51994,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51967
51994
  if (dArea) {
51968
51995
  var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this3.node.getNodePath());
51969
51996
 
51970
- if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_6__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
51997
+ if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__/* .HeaderFooterType.hftHead */ .pi.hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
51971
51998
  hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
51972
51999
  } else {
51973
- if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_6__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
52000
+ if (atype === _editor_SubDocManger__WEBPACK_IMPORTED_MODULE_7__/* .HeaderFooterType.hftFoot */ .pi.hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
51974
52001
  hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype);
51975
52002
  }
51976
52003
  }
@@ -52109,7 +52136,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
52109
52136
  }]);
52110
52137
 
52111
52138
  return DrawSignNode;
52112
- }(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_8__/* .DrawCombineNode */ .o);
52139
+ }(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_9__/* .DrawCombineNode */ .o);
52113
52140
 
52114
52141
  /***/ }),
52115
52142
 
@@ -199521,7 +199548,7 @@ var es_function_name = __webpack_require__(68309);
199521
199548
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
199522
199549
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(77203);
199523
199550
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
199524
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=4dbdae0e&
199551
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=120a3c14&
199525
199552
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson,"isUseTipText":_vm.isUseTipText,"textStyle":_vm.textStyle},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(_vm.notUseModal)?_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isTableProperty":_vm.isTableProperty,"isListStyle":_vm.isListStyle,"uploadImageParams":_vm.uploadImageParams},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true},{key:"hoParagraphModal",fn:function(){return [_vm._t("hoParagraphField")]},proxy:true},{key:"hoComment",fn:function(){return [_vm._t("hoTextComment")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e()],1):_vm._e()}
199526
199553
  var staticRenderFns = []
199527
199554
 
@@ -200447,9 +200474,9 @@ function isPromise(obj) {
200447
200474
  return obj instanceof Promise || (obj && typeof obj.then === 'function');
200448
200475
  }
200449
200476
 
200450
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=658730be&
200451
- var HoDocvue_type_template_id_658730be_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos,"textStyle":_vm.textStyle,"aiInfo":_vm.aiInfo},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
200452
- var HoDocvue_type_template_id_658730be_staticRenderFns = []
200477
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=0d9b6522&
200478
+ var HoDocvue_type_template_id_0d9b6522_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos,"textStyle":_vm.textStyle,"aiInfo":_vm.aiInfo},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
200479
+ var HoDocvue_type_template_id_0d9b6522_staticRenderFns = []
200453
200480
 
200454
200481
 
200455
200482
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
@@ -202305,11 +202332,11 @@ var HoToPage_component = normalizeComponent(
202305
202332
  /* harmony default export */ var backToPage = (HoToPage);
202306
202333
  // EXTERNAL MODULE: ./src/plugins/util.ts
202307
202334
  var util = __webpack_require__(17987);
202308
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=0c390485&scoped=true&
202309
- var PoperSelectvue_type_template_id_0c390485_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
202335
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=5dfdd78c&scoped=true&
202336
+ var PoperSelectvue_type_template_id_5dfdd78c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
202310
202337
  var item = ref.item;
202311
- return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
202312
- var PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns = []
202338
+ return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id},nativeOn:{"click":function($event){return _vm.selectItemsChange(item)}}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[(!_vm.mutexSelect)?_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.allSelect}},[_vm._v("全选")]):_vm._e(),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
202339
+ var PoperSelectvue_type_template_id_5dfdd78c_scoped_true_staticRenderFns = []
202313
202340
 
202314
202341
 
202315
202342
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
@@ -205279,7 +205306,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205279
205306
  this.poperSelectList.forEach(function (v, index) {
205280
205307
  v.selected = false;
205281
205308
 
205282
- if (v.id == value) {
205309
+ if (v.id == value.id) {
205283
205310
  item = v;
205284
205311
  selectItemIndex = index;
205285
205312
  }
@@ -205343,6 +205370,22 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205343
205370
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
205344
205371
  if (this.isCanSearch) this.searchList(this.input);
205345
205372
  }
205373
+ } // 全选
205374
+
205375
+ }, {
205376
+ key: "allSelect",
205377
+ value: function allSelect() {
205378
+ var _this8 = this;
205379
+
205380
+ this.selectedList = [];
205381
+ this.poperSelectList.forEach(function (v) {
205382
+ v.selected = true;
205383
+
205384
+ _this8.selectedList.push(v);
205385
+
205386
+ _this8.selectedIds.push(v.id);
205387
+ });
205388
+ this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
205346
205389
  } // 取消选中
205347
205390
 
205348
205391
  }, {
@@ -205367,7 +205410,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205367
205410
  }, {
205368
205411
  key: "sureSelect",
205369
205412
  value: function sureSelect() {
205370
- var _this8 = this;
205413
+ var _this9 = this;
205371
205414
 
205372
205415
  var text = "";
205373
205416
  var keyValue = "";
@@ -205431,7 +205474,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205431
205474
  currentPoperNode.text = text;
205432
205475
  currentPoperNode.keyValue = keyValue;
205433
205476
  Object.keys(this.textParam).map(function (v) {
205434
- _this8.textParam[v] = currentPoperNode[v];
205477
+ _this9.textParam[v] = currentPoperNode[v];
205435
205478
  });
205436
205479
 
205437
205480
  if (this.textParam.downListProperty.allowMultiSelected) {
@@ -205444,7 +205487,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205444
205487
 
205445
205488
  if (selected.length === 1 && selected[0].text.indexOf("<元素>") !== -1) {
205446
205489
  setTimeout(function () {
205447
- _this8.handleClose();
205490
+ _this9.handleClose();
205448
205491
  }, 200);
205449
205492
  } else {
205450
205493
  this.handleClose();
@@ -205486,10 +205529,10 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205486
205529
  }, {
205487
205530
  key: "handleClose",
205488
205531
  value: function handleClose() {
205489
- var _this9 = this;
205532
+ var _this10 = this;
205490
205533
 
205491
205534
  this.$nextTick(function () {
205492
- return _this9.$emit("poperClose");
205535
+ return _this10.$emit("poperClose");
205493
205536
  });
205494
205537
  }
205495
205538
  }, {
@@ -205531,10 +205574,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205531
205574
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
205532
205575
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
205533
205576
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
205534
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205577
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5dfdd78c&lang=scss&scoped=true&
205535
205578
  // extracted by mini-css-extract-plugin
205536
205579
 
205537
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205580
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5dfdd78c&lang=scss&scoped=true&
205538
205581
 
205539
205582
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
205540
205583
 
@@ -205547,11 +205590,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205547
205590
 
205548
205591
  var PoperSelect_component = normalizeComponent(
205549
205592
  poperSelect_PoperSelectvue_type_script_lang_ts_,
205550
- PoperSelectvue_type_template_id_0c390485_scoped_true_render,
205551
- PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns,
205593
+ PoperSelectvue_type_template_id_5dfdd78c_scoped_true_render,
205594
+ PoperSelectvue_type_template_id_5dfdd78c_scoped_true_staticRenderFns,
205552
205595
  false,
205553
205596
  null,
205554
- "0c390485",
205597
+ "5dfdd78c",
205555
205598
  null
205556
205599
 
205557
205600
  )
@@ -207504,7 +207547,7 @@ var SignNode = __webpack_require__(78975);
207504
207547
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207505
207548
  var ParagraphNode = __webpack_require__(13880);
207506
207549
  ;// CONCATENATED MODULE: ./src/components/version.ts
207507
- /* harmony default export */ var version = ('2.0.72');
207550
+ /* harmony default export */ var version = ('2.0.75');
207508
207551
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
207509
207552
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
207510
207553
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -208220,10 +208263,11 @@ var HoDoc = /*#__PURE__*/function (_Vue) {
208220
208263
  _callback(undefined);
208221
208264
  }
208222
208265
  }
208223
- } else if (node.parentNode instanceof CellNode/* CellNode */.D && node.nodeType !== BaseNode/* NodeType.ntMedicalExpression */.Jq.ntMedicalExpression) {
208266
+ } else if (node.parentNode instanceof CellNode/* CellNode */.D && node.nodeType !== BaseNode/* NodeType.ntMedicalExpression */.Jq.ntMedicalExpression && node.nodeType !== BaseNode/* NodeType.ntImage */.Jq.ntImage) {
208224
208267
  this.handleCellNode(node, node.parentNode, pageIndex); // } else if (node instanceof GestationNode) {
208225
208268
  // this.setDblclickNodeValue(node, 'dblclick');
208226
208269
  } else if (node instanceof ImageNode/* ImageNode */.H) {
208270
+ this.poperType = '';
208227
208271
  this.$emit('dblNodeClick', {
208228
208272
  node: this.getCurrentSelectNode,
208229
208273
  type: 'edit-image'
@@ -208453,8 +208497,8 @@ HoDoc = __decorate([vue_class_component_esm({
208453
208497
 
208454
208498
  var HoDoc_component = normalizeComponent(
208455
208499
  components_HoDocvue_type_script_lang_ts_,
208456
- HoDocvue_type_template_id_658730be_render,
208457
- HoDocvue_type_template_id_658730be_staticRenderFns,
208500
+ HoDocvue_type_template_id_0d9b6522_render,
208501
+ HoDocvue_type_template_id_0d9b6522_staticRenderFns,
208458
208502
  false,
208459
208503
  null,
208460
208504
  null,
@@ -210852,6 +210896,20 @@ var HTMLconverter2 = /*#__PURE__*/function () {
210852
210896
  }, {
210853
210897
  key: "TransHTMLTABLE",
210854
210898
  value: function TransHTMLTABLE(jnode, style) {
210899
+ var pnode = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.getParentNode(HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize().startPath);
210900
+
210901
+ if (pnode instanceof TableNode/* TableNode */.Fh || pnode instanceof CellNode/* CellNode */.D) {
210902
+ message_box_default().alert("不能在表格中插入表格");
210903
+
210904
+ return [];
210905
+ }
210906
+
210907
+ if (pnode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
210908
+ message_box_default().alert("不能在文本域中插入表格");
210909
+
210910
+ return [];
210911
+ }
210912
+
210855
210913
  var styleobj = this.mergestyle(jquery_default()(jnode).attr("style") || "", style); //1.取出表格信息
210856
210914
 
210857
210915
  var tconstents = jquery_default()(jnode).children();
@@ -210873,7 +210931,6 @@ var HTMLconverter2 = /*#__PURE__*/function () {
210873
210931
  } //2.创建表格节点
210874
210932
 
210875
210933
 
210876
- var pnode = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.getParentNode(HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize().startPath);
210877
210934
  var lntable = new TableNode/* TableNode */.Fh(this._hoEditorFactoryID, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.activeNodes, pnode, irow, icol, this.generateTableProperty(jnode)); //3.设置表格属性
210878
210935
 
210879
210936
  this.SetTableProperty(jnode, lntable); //4:生成表格内容
@@ -215251,6 +215308,7 @@ var StagePosition = __webpack_require__(80691);
215251
215308
 
215252
215309
 
215253
215310
 
215311
+
215254
215312
 
215255
215313
 
215256
215314
  var VueController = /*#__PURE__*/function () {
@@ -215355,8 +215413,8 @@ var VueController = /*#__PURE__*/function () {
215355
215413
  aCombineStyle = arrStyles[0].combineStyle;
215356
215414
  }
215357
215415
 
215358
- if (aCombineStyle.font !== firstCombineStyle.font && curTextStyle.font !== "") {
215359
- curTextStyle.font = "";
215416
+ if (aCombineStyle.font !== firstCombineStyle.font && curTextStyle.font !== '') {
215417
+ curTextStyle.font = '';
215360
215418
  }
215361
215419
 
215362
215420
  if (aCombineStyle.size !== firstCombineStyle.size && curTextStyle.size !== 0) {
@@ -215383,12 +215441,12 @@ var VueController = /*#__PURE__*/function () {
215383
215441
  curTextStyle.strikeout = false;
215384
215442
  }
215385
215443
 
215386
- if (aCombineStyle.color !== firstCombineStyle.color && curTextStyle.color !== "") {
215387
- curTextStyle.color = "";
215444
+ if (aCombineStyle.color !== firstCombineStyle.color && curTextStyle.color !== '') {
215445
+ curTextStyle.color = '';
215388
215446
  }
215389
215447
 
215390
- if (aCombineStyle.backColor !== firstCombineStyle.backColor && curTextStyle.backColor !== "") {
215391
- curTextStyle.backColor = "";
215448
+ if (aCombineStyle.backColor !== firstCombineStyle.backColor && curTextStyle.backColor !== '') {
215449
+ curTextStyle.backColor = '';
215392
215450
  }
215393
215451
 
215394
215452
  if (aCombineStyle.creatorIndex !== firstCombineStyle.creatorIndex && curTextStyle.creatorIndex !== -1) {
@@ -215399,8 +215457,8 @@ var VueController = /*#__PURE__*/function () {
215399
215457
  curTextStyle.deleterIndex = -1;
215400
215458
  }
215401
215459
 
215402
- if (aCombineStyle.commentID !== firstCombineStyle.commentID && curTextStyle.commentID !== "0") {
215403
- curTextStyle.commentID = "0";
215460
+ if (aCombineStyle.commentID !== firstCombineStyle.commentID && curTextStyle.commentID !== '0') {
215461
+ curTextStyle.commentID = '0';
215404
215462
  }
215405
215463
  }
215406
215464
  }
@@ -215490,7 +215548,7 @@ var VueController = /*#__PURE__*/function () {
215490
215548
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontFormat */.y.fontFormat);
215491
215549
 
215492
215550
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215493
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr("fontFormat", _curDomRange, fontName);
215551
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr('fontFormat', _curDomRange, fontName);
215494
215552
  }
215495
215553
  }
215496
215554
  /**
@@ -215532,7 +215590,7 @@ var VueController = /*#__PURE__*/function () {
215532
215590
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSize */.y.fontSize);
215533
215591
 
215534
215592
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215535
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr("fontSize", _curDomRange, size.toString());
215593
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr('fontSize', _curDomRange, size.toString());
215536
215594
  }
215537
215595
  }
215538
215596
  /**
@@ -215551,7 +215609,7 @@ var VueController = /*#__PURE__*/function () {
215551
215609
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSizeEnlarge */.y.fontSizeEnlarge);
215552
215610
 
215553
215611
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215554
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChange("fontSizeEnlarge", _curDomRange);
215612
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChange('fontSizeEnlarge', _curDomRange);
215555
215613
  }
215556
215614
  }
215557
215615
  /**
@@ -215570,7 +215628,7 @@ var VueController = /*#__PURE__*/function () {
215570
215628
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSizeDecrease */.y.fontSizeDecrease);
215571
215629
 
215572
215630
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215573
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChange("fontSizeDecrease", _curDomRange);
215631
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChange('fontSizeDecrease', _curDomRange);
215574
215632
  }
215575
215633
  }
215576
215634
  /**
@@ -215590,7 +215648,7 @@ var VueController = /*#__PURE__*/function () {
215590
215648
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSuperScript */.y.fontSuperScript);
215591
215649
 
215592
215650
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215593
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontSuperScript", _curDomRange, isHaveScript);
215651
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontSuperScript', _curDomRange, isHaveScript);
215594
215652
  }
215595
215653
  }
215596
215654
  /**
@@ -215610,7 +215668,7 @@ var VueController = /*#__PURE__*/function () {
215610
215668
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontSubScript */.y.fontSubScript);
215611
215669
 
215612
215670
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215613
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontSubScript", _curDomRange, isHaveScript);
215671
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontSubScript', _curDomRange, isHaveScript);
215614
215672
  }
215615
215673
  }
215616
215674
  /**
@@ -215630,7 +215688,7 @@ var VueController = /*#__PURE__*/function () {
215630
215688
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontBold */.y.fontBold);
215631
215689
 
215632
215690
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215633
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontBold", _curDomRange, isHaveBold);
215691
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontBold', _curDomRange, isHaveBold);
215634
215692
  }
215635
215693
  }
215636
215694
  /**
@@ -215650,7 +215708,7 @@ var VueController = /*#__PURE__*/function () {
215650
215708
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontItalic */.y.fontItalic);
215651
215709
 
215652
215710
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215653
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontItalic", _curDomRange, isHaveItalic);
215711
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontItalic', _curDomRange, isHaveItalic);
215654
215712
  }
215655
215713
  }
215656
215714
  /**
@@ -215670,7 +215728,7 @@ var VueController = /*#__PURE__*/function () {
215670
215728
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontUnderline */.y.fontUnderline);
215671
215729
 
215672
215730
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215673
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontUnderline", _curDomRange, isHaveUnderline);
215731
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontUnderline', _curDomRange, isHaveUnderline);
215674
215732
  }
215675
215733
  }
215676
215734
  /**
@@ -215690,7 +215748,7 @@ var VueController = /*#__PURE__*/function () {
215690
215748
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontStrikeout */.y.fontStrikeout);
215691
215749
 
215692
215750
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215693
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool("fontStrikeout", _curDomRange, isHaveStrikeout);
215751
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeBool('fontStrikeout', _curDomRange, isHaveStrikeout);
215694
215752
  }
215695
215753
  }
215696
215754
  /**
@@ -215710,7 +215768,7 @@ var VueController = /*#__PURE__*/function () {
215710
215768
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontColor */.y.fontColor);
215711
215769
 
215712
215770
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215713
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr("fontColor", _curDomRange, fontcolor);
215771
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr('fontColor', _curDomRange, fontcolor);
215714
215772
  }
215715
215773
  }
215716
215774
  /**
@@ -215730,7 +215788,7 @@ var VueController = /*#__PURE__*/function () {
215730
215788
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daModifyStyle */.gk.daModifyStyle, startPath, endPath, NodeChangingEvent/* OperType.fontBackColor */.y.fontBackColor);
215731
215789
 
215732
215790
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215733
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr("fontBackColor", _curDomRange, backColor);
215791
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.fontStyleChangeStr('fontBackColor', _curDomRange, backColor);
215734
215792
  }
215735
215793
  } //----------------------------段落---------------------------------
215736
215794
 
@@ -215750,7 +215808,7 @@ var VueController = /*#__PURE__*/function () {
215750
215808
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.alignedLeft */.y.alignedLeft);
215751
215809
 
215752
215810
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215753
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("alignedLeft", _curDomRange);
215811
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('alignedLeft', _curDomRange);
215754
215812
  }
215755
215813
  }
215756
215814
  /**
@@ -215769,7 +215827,7 @@ var VueController = /*#__PURE__*/function () {
215769
215827
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.alignedCenter */.y.alignedCenter);
215770
215828
 
215771
215829
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215772
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("alignedCenter", _curDomRange);
215830
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('alignedCenter', _curDomRange);
215773
215831
  }
215774
215832
  }
215775
215833
  /**
@@ -215788,7 +215846,7 @@ var VueController = /*#__PURE__*/function () {
215788
215846
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.alignedRight */.y.alignedRight);
215789
215847
 
215790
215848
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215791
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("alignedRight", _curDomRange);
215849
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('alignedRight', _curDomRange);
215792
215850
  }
215793
215851
  }
215794
215852
  /**
@@ -215807,7 +215865,7 @@ var VueController = /*#__PURE__*/function () {
215807
215865
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.alignedBothEnds */.y.alignedBothEnds);
215808
215866
 
215809
215867
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215810
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("alignedBothEnds", _curDomRange);
215868
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('alignedBothEnds', _curDomRange);
215811
215869
  }
215812
215870
  }
215813
215871
  /**
@@ -215826,7 +215884,7 @@ var VueController = /*#__PURE__*/function () {
215826
215884
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.addIndent */.y.addIndent);
215827
215885
 
215828
215886
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215829
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("addIndent", _curDomRange);
215887
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('addIndent', _curDomRange);
215830
215888
  }
215831
215889
  }
215832
215890
  /**
@@ -215845,7 +215903,7 @@ var VueController = /*#__PURE__*/function () {
215845
215903
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.decreaseIndent */.y.decreaseIndent);
215846
215904
 
215847
215905
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215848
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("decreaseIndent", _curDomRange);
215906
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('decreaseIndent', _curDomRange);
215849
215907
  }
215850
215908
  }
215851
215909
  /**
@@ -215865,7 +215923,7 @@ var VueController = /*#__PURE__*/function () {
215865
215923
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daParaStyleChange */.gk.daParaStyleChange, startPath, endPath, NodeChangingEvent/* OperType.setLineHeight */.y.setLineHeight);
215866
215924
 
215867
215925
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
215868
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange("lineHeight", _curDomRange, lineHeight);
215926
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.paraStyleChange('lineHeight', _curDomRange, lineHeight);
215869
215927
  }
215870
215928
  } //----------------------------表格---------------------------------
215871
215929
 
@@ -216164,7 +216222,7 @@ var VueController = /*#__PURE__*/function () {
216164
216222
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216165
216223
 
216166
216224
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216167
- hoEditorFactory.docController.insertMenstrualHistory("add", _curDomRange, expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
216225
+ hoEditorFactory.docController.insertMenstrualHistory('add', _curDomRange, expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
216168
216226
  }
216169
216227
  }
216170
216228
  }
@@ -216189,7 +216247,7 @@ var VueController = /*#__PURE__*/function () {
216189
216247
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216190
216248
 
216191
216249
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216192
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertMenstrualHistory("update", _curDomRange, expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
216250
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertMenstrualHistory('update', _curDomRange, expressionStyle, menseDays, cycleDays, menarcheAge, menoPauseAge);
216193
216251
  }
216194
216252
  }
216195
216253
  /**
@@ -216219,7 +216277,7 @@ var VueController = /*#__PURE__*/function () {
216219
216277
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216220
216278
 
216221
216279
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216222
- hoEditorFactory.docController.insertPupilMap("add", _curDomRange, value1, value2, value3, value4, value5, value6, value7);
216280
+ hoEditorFactory.docController.insertPupilMap('add', _curDomRange, value1, value2, value3, value4, value5, value6, value7);
216223
216281
  }
216224
216282
  }
216225
216283
  }
@@ -216246,7 +216304,7 @@ var VueController = /*#__PURE__*/function () {
216246
216304
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216247
216305
 
216248
216306
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216249
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertPupilMap("update", _curDomRange, value1, value2, value3, value4, value5, value6, value7);
216307
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertPupilMap('update', _curDomRange, value1, value2, value3, value4, value5, value6, value7);
216250
216308
  }
216251
216309
  }
216252
216310
  /**
@@ -216278,7 +216336,7 @@ var VueController = /*#__PURE__*/function () {
216278
216336
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216279
216337
 
216280
216338
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216281
- hoEditorFactory.docController.insertLightLocation("add", _curDomRange, value1, value2, value3, value4, value5, value6, value7, value8, value9);
216339
+ hoEditorFactory.docController.insertLightLocation('add', _curDomRange, value1, value2, value3, value4, value5, value6, value7, value8, value9);
216282
216340
  }
216283
216341
  }
216284
216342
  }
@@ -216307,7 +216365,7 @@ var VueController = /*#__PURE__*/function () {
216307
216365
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216308
216366
 
216309
216367
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216310
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertLightLocation("update", _curDomRange, value1, value2, value3, value4, value5, value6, value7, value8, value9);
216368
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertLightLocation('update', _curDomRange, value1, value2, value3, value4, value5, value6, value7, value8, value9);
216311
216369
  }
216312
216370
  }
216313
216371
  /**
@@ -216336,7 +216394,7 @@ var VueController = /*#__PURE__*/function () {
216336
216394
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216337
216395
 
216338
216396
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216339
- hoEditorFactory.docController.insertFetalHeartMap("add", _curDomRange, value1, value2, value3, value4, value5, value6);
216397
+ hoEditorFactory.docController.insertFetalHeartMap('add', _curDomRange, value1, value2, value3, value4, value5, value6);
216340
216398
  }
216341
216399
  }
216342
216400
  }
@@ -216362,7 +216420,7 @@ var VueController = /*#__PURE__*/function () {
216362
216420
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216363
216421
 
216364
216422
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216365
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertFetalHeartMap("update", _curDomRange, value1, value2, value3, value4, value5, value6);
216423
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertFetalHeartMap('update', _curDomRange, value1, value2, value3, value4, value5, value6);
216366
216424
  }
216367
216425
  }
216368
216426
  /**
@@ -216389,7 +216447,7 @@ var VueController = /*#__PURE__*/function () {
216389
216447
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216390
216448
 
216391
216449
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216392
- hoEditorFactory.docController.insertPermanentTeethMap("add", _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216450
+ hoEditorFactory.docController.insertPermanentTeethMap('add', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216393
216451
  }
216394
216452
  }
216395
216453
  }
@@ -216414,7 +216472,7 @@ var VueController = /*#__PURE__*/function () {
216414
216472
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216415
216473
 
216416
216474
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216417
- hoEditorFactory.docController.insertPermanentTeethMap("update", _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216475
+ hoEditorFactory.docController.insertPermanentTeethMap('update', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216418
216476
  }
216419
216477
  }
216420
216478
  /**
@@ -216441,7 +216499,7 @@ var VueController = /*#__PURE__*/function () {
216441
216499
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertMedicalExpression */.y.insertMedicalExpression);
216442
216500
 
216443
216501
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216444
- hoEditorFactory.docController.insertPrimaryTeethMap("add", _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216502
+ hoEditorFactory.docController.insertPrimaryTeethMap('add', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216445
216503
  }
216446
216504
  }
216447
216505
  }
@@ -216466,7 +216524,7 @@ var VueController = /*#__PURE__*/function () {
216466
216524
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateMedicalExpression */.y.updateMedicalExpression);
216467
216525
 
216468
216526
  if (hoEditorFactory.docTree.changing(changingEvent)) {
216469
- hoEditorFactory.docController.insertPrimaryTeethMap("update", _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216527
+ hoEditorFactory.docController.insertPrimaryTeethMap('update', _curDomRange, topLeftSelected, topRightSelected, bottomLeftSelected, bottomRightSelected);
216470
216528
  }
216471
216529
  }
216472
216530
  /**
@@ -216525,7 +216583,7 @@ var VueController = /*#__PURE__*/function () {
216525
216583
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertTextInputField */.y.insertTextInputField);
216526
216584
 
216527
216585
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216528
- var path = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertTextInputField("add", _curDomRange, valuesObject);
216586
+ var path = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertTextInputField('add', _curDomRange, valuesObject);
216529
216587
  return path;
216530
216588
  }
216531
216589
 
@@ -216585,7 +216643,7 @@ var VueController = /*#__PURE__*/function () {
216585
216643
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateTextInputField */.y.updateTextInputField);
216586
216644
 
216587
216645
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216588
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertTextInputField("update", _curDomRange, valuesObject);
216646
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertTextInputField('update', _curDomRange, valuesObject);
216589
216647
  }
216590
216648
  }
216591
216649
  /**
@@ -216637,7 +216695,7 @@ var VueController = /*#__PURE__*/function () {
216637
216695
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertBarcode */.y.insertBarcode);
216638
216696
 
216639
216697
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216640
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode("add", _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource);
216698
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode('add', _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource);
216641
216699
  }
216642
216700
  }
216643
216701
  /**
@@ -216662,7 +216720,7 @@ var VueController = /*#__PURE__*/function () {
216662
216720
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateBarcode */.y.updateBarcode);
216663
216721
 
216664
216722
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216665
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode("update", _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource);
216723
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertBarcode('update', _curDomRange, id, textContent, isDisplayText, imagePath, width, height, bandDataSource);
216666
216724
  }
216667
216725
  }
216668
216726
  /**
@@ -216695,7 +216753,7 @@ var VueController = /*#__PURE__*/function () {
216695
216753
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertQrcode */.y.insertQrcode);
216696
216754
 
216697
216755
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216698
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode("add", _curDomRange, id, textContent, type, correctLevel, dataSourceEnabled, dataSource, format, visitPath, isReadOnly, autoUpdate, execState, width, height);
216756
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('add', _curDomRange, id, textContent, type, correctLevel, dataSourceEnabled, dataSource, format, visitPath, isReadOnly, autoUpdate, execState, width, height);
216699
216757
  }
216700
216758
  }
216701
216759
  /**
@@ -216727,7 +216785,7 @@ var VueController = /*#__PURE__*/function () {
216727
216785
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateQrcode */.y.updateQrcode);
216728
216786
 
216729
216787
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216730
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode("update", _curDomRange, id, textContent, type, correctLevel, dataSourceEnabled, dataSource, format, visitPath, isReadOnly, autoUpdate, execState, width, height);
216788
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertQrcode('update', _curDomRange, id, textContent, type, correctLevel, dataSourceEnabled, dataSource, format, visitPath, isReadOnly, autoUpdate, execState, width, height);
216731
216789
  }
216732
216790
  }
216733
216791
  /**
@@ -216762,7 +216820,7 @@ var VueController = /*#__PURE__*/function () {
216762
216820
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertRadioAndCheckBox */.y.insertRadioAndCheckBox);
216763
216821
 
216764
216822
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216765
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertRadioAndCheckBox("add", _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216823
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertRadioAndCheckBox('add', _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216766
216824
  }
216767
216825
  }
216768
216826
  /**
@@ -216796,7 +216854,7 @@ var VueController = /*#__PURE__*/function () {
216796
216854
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateRadioAndCheckBox */.y.updateRadioAndCheckBox);
216797
216855
 
216798
216856
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216799
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertRadioAndCheckBox("update", _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216857
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertRadioAndCheckBox('update', _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216800
216858
  }
216801
216859
  }
216802
216860
  /**
@@ -216860,7 +216918,7 @@ var VueController = /*#__PURE__*/function () {
216860
216918
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertDateTime */.y.insertDateTime);
216861
216919
 
216862
216920
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216863
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDateTime("add", _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216921
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDateTime('add', _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216864
216922
  }
216865
216923
  }
216866
216924
  /**
@@ -216891,7 +216949,7 @@ var VueController = /*#__PURE__*/function () {
216891
216949
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateDateTime */.y.updateDateTime);
216892
216950
 
216893
216951
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216894
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDateTime("update", _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216952
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDateTime('update', _curDomRange, valuesObject, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216895
216953
  }
216896
216954
  }
216897
216955
  /**
@@ -216925,7 +216983,7 @@ var VueController = /*#__PURE__*/function () {
216925
216983
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertDownList */.y.insertDownList);
216926
216984
 
216927
216985
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216928
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDownList("add", _curDomRange, valuesObject, downListContent, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216986
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDownList('add', _curDomRange, valuesObject, downListContent, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216929
216987
  }
216930
216988
  }
216931
216989
  /**
@@ -216958,7 +217016,7 @@ var VueController = /*#__PURE__*/function () {
216958
217016
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.updateDownList */.y.updateDownList);
216959
217017
 
216960
217018
  if (HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
216961
- HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDownList("update", _curDomRange, valuesObject, downListContent, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
217019
+ HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertDownList('update', _curDomRange, valuesObject, downListContent, HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
216962
217020
  }
216963
217021
  }
216964
217022
  /**
@@ -217020,7 +217078,7 @@ var VueController = /*#__PURE__*/function () {
217020
217078
  value: function openLocalFilesTest(file, callback) {
217021
217079
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
217022
217080
  hoEditorFactory.docController.initBlankDoc();
217023
- hoEditorFactory.structureConvert.openFile(file, callback, "test");
217081
+ hoEditorFactory.structureConvert.openFile(file, callback, 'test');
217024
217082
  }
217025
217083
  }, {
217026
217084
  key: "uploadDataSet",
@@ -217065,29 +217123,29 @@ var VueController = /*#__PURE__*/function () {
217065
217123
  this.setDocCommentIsHandle();
217066
217124
 
217067
217125
  if (hoEditorFactory.docTree.changing(changingEvent)) {
217068
- var ret = "";
217126
+ var ret = '';
217069
217127
 
217070
- if (type === "xml") {
217071
- ret = hoEditorFactory.structureConvert.doc2Xml("xml", undefined, true);
217128
+ if (type === 'xml') {
217129
+ ret = hoEditorFactory.structureConvert.doc2Xml('xml', undefined, true);
217072
217130
  }
217073
217131
 
217074
- if (type === "plain") {
217132
+ if (type === 'plain') {
217075
217133
  ret = hoEditorFactory.structureConvert.doc2Text();
217076
217134
  }
217077
217135
 
217078
- if (type === "html") {
217079
- this.saveAsPDF("", "html"); // ret = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Html();
217136
+ if (type === 'html') {
217137
+ this.saveAsPDF('', 'html'); // ret = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Html();
217080
217138
  }
217081
217139
 
217082
- if (type === "json") {
217083
- ret = hoEditorFactory.structureConvert.doc2Xml("json", undefined, true);
217140
+ if (type === 'json') {
217141
+ ret = hoEditorFactory.structureConvert.doc2Xml('json', undefined, true);
217084
217142
  ret = pretty_data.pd.json(ret);
217085
217143
  }
217086
217144
 
217087
217145
  return ret;
217088
217146
  }
217089
217147
 
217090
- return "";
217148
+ return '';
217091
217149
  }
217092
217150
  /**
217093
217151
  * 文档标题
@@ -217133,7 +217191,7 @@ var VueController = /*#__PURE__*/function () {
217133
217191
  }, {
217134
217192
  key: "getDocXml",
217135
217193
  value: function getDocXml(beauty, isValidStyle, clearSign) {
217136
- var ret = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Xml("xml", beauty, isValidStyle, clearSign);
217194
+ var ret = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Xml('xml', beauty, isValidStyle, clearSign);
217137
217195
  return ret;
217138
217196
  }
217139
217197
  /**
@@ -217292,11 +217350,11 @@ var VueController = /*#__PURE__*/function () {
217292
217350
  value: function newFile(type) {
217293
217351
  var hoeditfactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
217294
217352
 
217295
- if (type === "caseHistory") {
217353
+ if (type === 'caseHistory') {
217296
217354
  hoeditfactory.docTree.docProperty.type = DocTree/* EmrType.etCaseHistory */.Fr.etCaseHistory;
217297
217355
  }
217298
217356
 
217299
- if (type === "form") {
217357
+ if (type === 'form') {
217300
217358
  hoeditfactory.docTree.docProperty.type = DocTree/* EmrType.etForm */.Fr.etForm;
217301
217359
  }
217302
217360
 
@@ -217449,7 +217507,7 @@ var VueController = /*#__PURE__*/function () {
217449
217507
  var drawPage = hoEditorFactory.drawTree.drawPages[i];
217450
217508
 
217451
217509
  for (var j = 0; j < drawPage.selectContainer.children.length; j++) {
217452
- if (drawPage.selectContainer.children[j].name && drawPage.selectContainer.children[j].name.indexOf("mask") >= 0) {
217510
+ if (drawPage.selectContainer.children[j].name && drawPage.selectContainer.children[j].name.indexOf('mask') >= 0) {
217453
217511
  drawPage.selectContainer.children.splice(j, 1);
217454
217512
  }
217455
217513
  }
@@ -217471,22 +217529,22 @@ var VueController = /*#__PURE__*/function () {
217471
217529
  var selectContainer = drawPage.selectContainer;
217472
217530
 
217473
217531
  for (var k = 0; k < selectContainer.children.length; k++) {
217474
- if (selectContainer.children[k].name && selectContainer.children[k].name.indexOf("mask") >= 0) {
217532
+ if (selectContainer.children[k].name && selectContainer.children[k].name.indexOf('mask') >= 0) {
217475
217533
  selectContainer.children.splice(k, 1);
217476
217534
  }
217477
217535
  }
217478
217536
 
217479
217537
  var mask = new createjs.Shape();
217480
217538
  mask.graphics.clear();
217481
- mask.graphics.beginFill("#000000").drawRect(0, 0, pageWidth, height).closePath();
217539
+ mask.graphics.beginFill('#000000').drawRect(0, 0, pageWidth, height).closePath();
217482
217540
  mask.x = 0;
217483
217541
  mask.y = 0;
217484
217542
  mask.alpha = 0.1;
217485
217543
 
217486
217544
  if (height < pageHeight) {
217487
- mask.name = "mask0";
217545
+ mask.name = 'mask0';
217488
217546
  } else {
217489
- mask.name = "mask" + (index + 1).toString();
217547
+ mask.name = 'mask' + (index + 1).toString();
217490
217548
  }
217491
217549
 
217492
217550
  selectContainer.addChild(mask); //selectContainer.stage.update();
@@ -217606,7 +217664,7 @@ var VueController = /*#__PURE__*/function () {
217606
217664
  if (np) {
217607
217665
  return np;
217608
217666
  } else {
217609
- message_box_default().alert("根据路径" + path + "未找到文档节点");
217667
+ message_box_default().alert('根据路径' + path + '未找到文档节点');
217610
217668
  }
217611
217669
  }
217612
217670
  /**
@@ -217671,7 +217729,7 @@ var VueController = /*#__PURE__*/function () {
217671
217729
  key: "deleteText",
217672
217730
  value: function deleteText() {
217673
217731
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
217674
- hoEditorFactory.docController.keyBoardDelete("Backspace");
217732
+ hoEditorFactory.docController.keyBoardDelete('Backspace');
217675
217733
  }
217676
217734
  /**
217677
217735
  * 获取文本样式表
@@ -217833,7 +217891,7 @@ var VueController = /*#__PURE__*/function () {
217833
217891
  }
217834
217892
  };
217835
217893
 
217836
- if (scope === "header") {
217894
+ if (scope === 'header') {
217837
217895
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
217838
217896
 
217839
217897
  for (var h = 0; h < headerDocTree.length; h++) {
@@ -217843,12 +217901,12 @@ var VueController = /*#__PURE__*/function () {
217843
217901
  }
217844
217902
  }
217845
217903
 
217846
- if (scope === "main") {
217904
+ if (scope === 'main') {
217847
217905
  var mainNodes = hoEditorFactory.docTree.mainNodes;
217848
217906
  iteratesNodes(mainNodes);
217849
217907
  }
217850
217908
 
217851
- if (scope === "footer") {
217909
+ if (scope === 'footer') {
217852
217910
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
217853
217911
 
217854
217912
  for (var f = 0; f < footerDocTree.length; f++) {
@@ -217858,7 +217916,7 @@ var VueController = /*#__PURE__*/function () {
217858
217916
  }
217859
217917
  }
217860
217918
 
217861
- if (scope === "all") {
217919
+ if (scope === 'all') {
217862
217920
  var _headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
217863
217921
 
217864
217922
  for (var _h = 0; _h < _headerDocTree.length; _h++) {
@@ -217914,7 +217972,7 @@ var VueController = /*#__PURE__*/function () {
217914
217972
  }
217915
217973
  };
217916
217974
 
217917
- if (scope === "header") {
217975
+ if (scope === 'header') {
217918
217976
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
217919
217977
 
217920
217978
  for (var h = 0; h < headerDocTree.length; h++) {
@@ -217924,12 +217982,12 @@ var VueController = /*#__PURE__*/function () {
217924
217982
  }
217925
217983
  }
217926
217984
 
217927
- if (scope === "main") {
217985
+ if (scope === 'main') {
217928
217986
  var mainNodes = hoEditorFactory.docTree.mainNodes;
217929
217987
  iteratesNodes(mainNodes);
217930
217988
  }
217931
217989
 
217932
- if (scope === "footer") {
217990
+ if (scope === 'footer') {
217933
217991
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
217934
217992
 
217935
217993
  for (var f = 0; f < footerDocTree.length; f++) {
@@ -217939,7 +217997,7 @@ var VueController = /*#__PURE__*/function () {
217939
217997
  }
217940
217998
  }
217941
217999
 
217942
- if (scope === "all") {
218000
+ if (scope === 'all') {
217943
218001
  var _headerDocTree2 = hoEditorFactory.subDocManger.headerDocTree;
217944
218002
 
217945
218003
  for (var _h2 = 0; _h2 < _headerDocTree2.length; _h2++) {
@@ -217999,7 +218057,7 @@ var VueController = /*#__PURE__*/function () {
217999
218057
  }
218000
218058
  };
218001
218059
 
218002
- if (scope === "header") {
218060
+ if (scope === 'header') {
218003
218061
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
218004
218062
 
218005
218063
  for (var h = 0; h < headerDocTree.length; h++) {
@@ -218011,12 +218069,12 @@ var VueController = /*#__PURE__*/function () {
218011
218069
  }
218012
218070
  }
218013
218071
 
218014
- if (scope === "main") {
218072
+ if (scope === 'main') {
218015
218073
  var mainNodes = hoEditorFactory.docTree.mainNodes;
218016
218074
  iteratesNodes(mainNodes);
218017
218075
  }
218018
218076
 
218019
- if (scope === "footer") {
218077
+ if (scope === 'footer') {
218020
218078
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
218021
218079
 
218022
218080
  for (var f = 0; f < footerDocTree.length; f++) {
@@ -218028,7 +218086,7 @@ var VueController = /*#__PURE__*/function () {
218028
218086
  }
218029
218087
  }
218030
218088
 
218031
- if (scope === "all") {
218089
+ if (scope === 'all') {
218032
218090
  var _headerDocTree3 = hoEditorFactory.subDocManger.headerDocTree;
218033
218091
 
218034
218092
  for (var _h3 = 0; _h3 < _headerDocTree3.length; _h3++) {
@@ -218092,7 +218150,7 @@ var VueController = /*#__PURE__*/function () {
218092
218150
  }
218093
218151
  };
218094
218152
 
218095
- if (scope === "header") {
218153
+ if (scope === 'header') {
218096
218154
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
218097
218155
 
218098
218156
  for (var h = 0; h < headerDocTree.length; h++) {
@@ -218104,12 +218162,12 @@ var VueController = /*#__PURE__*/function () {
218104
218162
  }
218105
218163
  }
218106
218164
 
218107
- if (scope === "main") {
218165
+ if (scope === 'main') {
218108
218166
  var mainNodes = hoEditorFactory.docTree.mainNodes;
218109
218167
  iteratesNodes(mainNodes);
218110
218168
  }
218111
218169
 
218112
- if (scope === "footer") {
218170
+ if (scope === 'footer') {
218113
218171
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
218114
218172
 
218115
218173
  for (var f = 0; f < footerDocTree.length; f++) {
@@ -218121,7 +218179,7 @@ var VueController = /*#__PURE__*/function () {
218121
218179
  }
218122
218180
  }
218123
218181
 
218124
- if (scope === "all") {
218182
+ if (scope === 'all') {
218125
218183
  var _headerDocTree4 = hoEditorFactory.subDocManger.headerDocTree;
218126
218184
 
218127
218185
  for (var _h4 = 0; _h4 < _headerDocTree4.length; _h4++) {
@@ -218270,7 +218328,7 @@ var VueController = /*#__PURE__*/function () {
218270
218328
  var styles = json.root.styles; //获取xml的所有文本样式
218271
218329
 
218272
218330
  var defaultFontStyles = Array(styles.defaultFont);
218273
- var textStyles = hoEditorFactory.structureConvert.getDocStyles("font", defaultFontStyles);
218331
+ var textStyles = hoEditorFactory.structureConvert.getDocStyles('font', defaultFontStyles);
218274
218332
  var fontStyles = styles.font ? styles.font : styles.fontStyle;
218275
218333
 
218276
218334
  if (fontStyles) {
@@ -218286,13 +218344,13 @@ var VueController = /*#__PURE__*/function () {
218286
218344
  }
218287
218345
  }
218288
218346
 
218289
- var fontStylesArr = hoEditorFactory.structureConvert.getDocStyles("font", fontStyles);
218347
+ var fontStylesArr = hoEditorFactory.structureConvert.getDocStyles('font', fontStyles);
218290
218348
  textStyles = textStyles.concat(fontStylesArr);
218291
218349
  } //获取xml的所有段落样式
218292
218350
 
218293
218351
 
218294
218352
  var defaultParaStyles = Array(styles.defaultPara);
218295
- var parasStyles = hoEditorFactory.structureConvert.getDocStyles("para", defaultParaStyles);
218353
+ var parasStyles = hoEditorFactory.structureConvert.getDocStyles('para', defaultParaStyles);
218296
218354
  var paraStyles = styles.para ? styles.para : styles.paraStyle;
218297
218355
 
218298
218356
  if (paraStyles) {
@@ -218300,7 +218358,7 @@ var VueController = /*#__PURE__*/function () {
218300
218358
  paraStyles = Array(paraStyles);
218301
218359
  }
218302
218360
 
218303
- var paraStylesArr = hoEditorFactory.structureConvert.getDocStyles("para", paraStyles);
218361
+ var paraStylesArr = hoEditorFactory.structureConvert.getDocStyles('para', paraStyles);
218304
218362
  parasStyles = parasStyles.concat(paraStylesArr);
218305
218363
  } //更新xml各节点在当前文档的样式索引
218306
218364
 
@@ -218309,13 +218367,13 @@ var VueController = /*#__PURE__*/function () {
218309
218367
  for (var _i2 = 0; _i2 < nodes.length; _i2++) {
218310
218368
  var node = nodes[_i2];
218311
218369
 
218312
- if (node.nodeType === "ntField" || node.nodeType === "ntCell") {
218370
+ if (node.nodeType === 'ntField' || node.nodeType === 'ntCell') {
218313
218371
  if (node.childNodes && node.childNodes.node && node.childNodes.node.length > 0) {
218314
218372
  iteratesNode(node.childNodes.node);
218315
218373
  }
218316
218374
  }
218317
218375
 
218318
- if (node.nodeType === "ntTable") {
218376
+ if (node.nodeType === 'ntTable') {
218319
218377
  if (node.childNodes && node.childNodes.item) {
218320
218378
  var items = node.childNodes.item;
218321
218379
 
@@ -218342,7 +218400,7 @@ var VueController = /*#__PURE__*/function () {
218342
218400
  if (node.styleIndex) {
218343
218401
  var styleIndex = Number(node.styleIndex);
218344
218402
 
218345
- if (node.nodeType === "ntParagraph") {
218403
+ if (node.nodeType === 'ntParagraph') {
218346
218404
  //段落样式
218347
218405
  var paragraph = parasStyles[styleIndex];
218348
218406
  node.styleIndex = hoEditorFactory.docTree.styleCompare(paragraph);
@@ -218360,7 +218418,7 @@ var VueController = /*#__PURE__*/function () {
218360
218418
  return nodes;
218361
218419
  };
218362
218420
 
218363
- if (area === "header") {
218421
+ if (area === 'header') {
218364
218422
  var headersArray = json.root.headers.header;
218365
218423
 
218366
218424
  if (headersArray.length === undefined) {
@@ -218376,7 +218434,7 @@ var VueController = /*#__PURE__*/function () {
218376
218434
 
218377
218435
  iteratesNode(headerNodes);
218378
218436
  return [headerNodes, docId];
218379
- } else if (area === "footer") {
218437
+ } else if (area === 'footer') {
218380
218438
  var footersArray = json.root.footers.footer;
218381
218439
 
218382
218440
  if (footersArray.length === undefined) {
@@ -218446,29 +218504,29 @@ var VueController = /*#__PURE__*/function () {
218446
218504
  var jsonData = JSON.stringify(areaNodes[0]);
218447
218505
  var docId = areaNodes[1];
218448
218506
  var pageCount = hoEditorFactory.drawTree.drawPages.length;
218449
- var rootPath = "main";
218507
+ var rootPath = 'main';
218450
218508
 
218451
- if (area === "header") {
218452
- rootPath = "header/" + hoEditorFactory.subDocManger.headerDocTree.length.toString();
218509
+ if (area === 'header') {
218510
+ rootPath = 'header/' + hoEditorFactory.subDocManger.headerDocTree.length.toString();
218453
218511
  }
218454
218512
 
218455
- if (area === "footer") {
218456
- rootPath = "footer/" + hoEditorFactory.subDocManger.footerDocTree.length.toString();
218513
+ if (area === 'footer') {
218514
+ rootPath = 'footer/' + hoEditorFactory.subDocManger.footerDocTree.length.toString();
218457
218515
  }
218458
218516
 
218459
218517
  var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData, rootPath, isNewPage);
218460
218518
 
218461
- if (isDelBlockLine && area === "main" && nodes.length > 1 && nodes[nodes.length - 1] instanceof ParagraphNode/* ParagraphNode */.C && !(nodes[nodes.length - 2] instanceof TableNode/* TableNode */.Fh)) {
218519
+ if (isDelBlockLine && area === 'main' && nodes.length > 1 && nodes[nodes.length - 1] instanceof ParagraphNode/* ParagraphNode */.C && !(nodes[nodes.length - 2] instanceof TableNode/* TableNode */.Fh)) {
218462
218520
  nodes.splice(nodes.length - 1, 1);
218463
218521
  } //console.log(nodes);
218464
218522
 
218465
218523
 
218466
- if (area !== "main") {
218524
+ if (area !== 'main') {
218467
218525
  var arrNodes = new Array();
218468
218526
 
218469
- if (area === "header") {
218527
+ if (area === 'header') {
218470
218528
  var headerIndex = hoEditorFactory.subDocManger.headerDocTree.length;
218471
- var arootPath = "header/" + headerIndex.toString();
218529
+ var arootPath = 'header/' + headerIndex.toString();
218472
218530
  var dHeader = new DrawHeader/* DrawHeader */.g(this._hoEditorFactoryID, arootPath, pageCount);
218473
218531
  hoEditorFactory.drawPageTree.drawHeaders.push(dHeader);
218474
218532
  hoEditorFactory.drawTree.headerDNodes.push(new Array());
@@ -218476,11 +218534,11 @@ var VueController = /*#__PURE__*/function () {
218476
218534
  arrNodes.push(paragraphNode);
218477
218535
  paragraphNode.rootPath = arootPath; //paragraphNode.rootNodes = arrNodes;
218478
218536
 
218479
- var newHeader = new SubDocManger/* SubDocTree */.UJ(pageCount, "");
218537
+ var newHeader = new SubDocManger/* SubDocTree */.UJ(pageCount, '');
218480
218538
  newHeader.subDocNodes = arrNodes;
218481
218539
  hoEditorFactory.subDocManger.headerDocTree.push(newHeader);
218482
218540
  hoEditorFactory.drawTree.initAreaFirstNode(arrNodes, hoEditorFactory.drawTree.headerDNodes[headerIndex]);
218483
- hoEditorFactory.docTree.curDomRange.setSamePath(arootPath + "/0");
218541
+ hoEditorFactory.docTree.curDomRange.setSamePath(arootPath + '/0');
218484
218542
 
218485
218543
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
218486
218544
  newHeader.subDocNodes[0].paraNo = nodes[0].paraNo;
@@ -218489,11 +218547,11 @@ var VueController = /*#__PURE__*/function () {
218489
218547
  }
218490
218548
 
218491
218549
  hoEditorFactory.docController.parseNodeData(nodes);
218492
- } else if (area === "footer") {
218550
+ } else if (area === 'footer') {
218493
218551
  //hoEditorFactory.docTree.footerNodes[pageCount] = nodes;
218494
218552
  var footerIndex = hoEditorFactory.subDocManger.footerDocTree.length;
218495
218553
 
218496
- var _arootPath = "footer/" + footerIndex.toString();
218554
+ var _arootPath = 'footer/' + footerIndex.toString();
218497
218555
 
218498
218556
  var dFooter = new DrawFooter/* DrawFooter */.d(this._hoEditorFactoryID, _arootPath, pageCount);
218499
218557
  hoEditorFactory.drawPageTree.drawFooters.push(dFooter);
@@ -218504,11 +218562,11 @@ var VueController = /*#__PURE__*/function () {
218504
218562
  arrNodes.push(_paragraphNode);
218505
218563
  _paragraphNode.rootPath = _arootPath; //paragraphNode.rootNodes = arrNodes;
218506
218564
 
218507
- var newFooter = new SubDocManger/* SubDocTree */.UJ(pageCount, "");
218565
+ var newFooter = new SubDocManger/* SubDocTree */.UJ(pageCount, '');
218508
218566
  newFooter.subDocNodes = arrNodes;
218509
218567
  hoEditorFactory.subDocManger.footerDocTree.push(newFooter);
218510
218568
  hoEditorFactory.drawTree.initAreaFirstNode(arrNodes, hoEditorFactory.drawTree.footerDNodes[footerIndex]);
218511
- hoEditorFactory.docTree.curDomRange.setSamePath(rootPath + "/0");
218569
+ hoEditorFactory.docTree.curDomRange.setSamePath(rootPath + '/0');
218512
218570
 
218513
218571
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
218514
218572
  newFooter.subDocNodes[0].paraNo = nodes[0].paraNo;
@@ -218541,7 +218599,7 @@ var VueController = /*#__PURE__*/function () {
218541
218599
  var nodePath = hoEditorFactory.docTree.getNodeLastPath(mainNodes[mainNodes.length - 1]);
218542
218600
 
218543
218601
  if (!printAsSinglePage && hoEditorFactory.docTree.mainNodes.length === 1) {
218544
- hoEditorFactory.docTree.mainNodes[0].docId = docId && docId !== "" ? docId : hoEditorFactory.gernerateCode.generateID("DocId");
218602
+ hoEditorFactory.docTree.mainNodes[0].docId = docId && docId !== '' ? docId : hoEditorFactory.gernerateCode.generateID('DocId');
218545
218603
 
218546
218604
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
218547
218605
  hoEditorFactory.docTree.mainNodes[0].paraNo = nodes[0].paraNo;
@@ -218552,7 +218610,7 @@ var VueController = /*#__PURE__*/function () {
218552
218610
 
218553
218611
  if (printAsSinglePage) {
218554
218612
  nodes[0].printAsSinglePage = printAsSinglePage;
218555
- nodes[0].docId = docId && docId !== "" ? docId : hoEditorFactory.gernerateCode.generateID("DocId");
218613
+ nodes[0].docId = docId && docId !== '' ? docId : hoEditorFactory.gernerateCode.generateID('DocId');
218556
218614
  }
218557
218615
 
218558
218616
  hoEditorFactory.docTree.curDomRange.setSamePath(nodePath);
@@ -218574,11 +218632,11 @@ var VueController = /*#__PURE__*/function () {
218574
218632
  switch (_context.prev = _context.next) {
218575
218633
  case 0:
218576
218634
  if (!printAsSinglePage) {
218577
- this.insertXml(xml, "main", undefined, isDelBlockLine);
218635
+ this.insertXml(xml, 'main', undefined, isDelBlockLine);
218578
218636
  } else {
218579
- this.insertXml(xml, "header");
218580
- this.insertXml(xml, "footer");
218581
- this.insertXml(xml, "main", printAsSinglePage, isDelBlockLine);
218637
+ this.insertXml(xml, 'header');
218638
+ this.insertXml(xml, 'footer');
218639
+ this.insertXml(xml, 'main', printAsSinglePage, isDelBlockLine);
218582
218640
  }
218583
218641
 
218584
218642
  resolve && resolve();
@@ -218643,52 +218701,52 @@ var VueController = /*#__PURE__*/function () {
218643
218701
  var textStyleStr = JSON.stringify(defaultFontStyle);
218644
218702
  var textStyle = JSON.parse(textStyleStr);
218645
218703
 
218646
- if (typeof style["size"] !== "undefined" && style["size"] !== defaultFontStyle.size.toString()) {
218647
- textStyle["size"] = style["size"];
218704
+ if (typeof style['size'] !== 'undefined' && style['size'] !== defaultFontStyle.size.toString()) {
218705
+ textStyle['size'] = style['size'];
218648
218706
  }
218649
218707
 
218650
- if (typeof style["creatorIndex"] !== "undefined" && style["creatorIndex"] !== defaultFontStyle.creatorIndex.toString()) {
218651
- textStyle["creatorIndex"] = style["creatorIndex"];
218708
+ if (typeof style['creatorIndex'] !== 'undefined' && style['creatorIndex'] !== defaultFontStyle.creatorIndex.toString()) {
218709
+ textStyle['creatorIndex'] = style['creatorIndex'];
218652
218710
  }
218653
218711
 
218654
- if (typeof style["deleterIndex"] !== "undefined" && style["deleterIndex"] !== defaultFontStyle.deleterIndex.toString()) {
218655
- textStyle["deleterIndex"] = style["deleterIndex"];
218712
+ if (typeof style['deleterIndex'] !== 'undefined' && style['deleterIndex'] !== defaultFontStyle.deleterIndex.toString()) {
218713
+ textStyle['deleterIndex'] = style['deleterIndex'];
218656
218714
  }
218657
218715
 
218658
- if (typeof style["bold"] !== "undefined" && style["bold"] !== defaultFontStyle.bold.toString()) {
218659
- textStyle["bold"] = style["bold"];
218716
+ if (typeof style['bold'] !== 'undefined' && style['bold'] !== defaultFontStyle.bold.toString()) {
218717
+ textStyle['bold'] = style['bold'];
218660
218718
  }
218661
218719
 
218662
- if (typeof style["italic"] !== "undefined" && style["italic"] !== defaultFontStyle.italic.toString()) {
218663
- textStyle["italic"] = style["italic"];
218720
+ if (typeof style['italic'] !== 'undefined' && style['italic'] !== defaultFontStyle.italic.toString()) {
218721
+ textStyle['italic'] = style['italic'];
218664
218722
  }
218665
218723
 
218666
- if (typeof style["script"] !== "undefined" && style["script"] !== defaultFontStyle.script.toString()) {
218667
- textStyle["script"] = style["script"];
218724
+ if (typeof style['script'] !== 'undefined' && style['script'] !== defaultFontStyle.script.toString()) {
218725
+ textStyle['script'] = style['script'];
218668
218726
  }
218669
218727
 
218670
- if (typeof style["strikeout"] !== "undefined" && style["strikeout"] !== defaultFontStyle.strikeout.toString()) {
218671
- textStyle["strikeout"] = style["strikeout"];
218728
+ if (typeof style['strikeout'] !== 'undefined' && style['strikeout'] !== defaultFontStyle.strikeout.toString()) {
218729
+ textStyle['strikeout'] = style['strikeout'];
218672
218730
  }
218673
218731
 
218674
- if (typeof style["underline"] !== "undefined" && style["underline"] !== defaultFontStyle.underline.toString()) {
218675
- textStyle["underline"] = style["underline"];
218732
+ if (typeof style['underline'] !== 'undefined' && style['underline'] !== defaultFontStyle.underline.toString()) {
218733
+ textStyle['underline'] = style['underline'];
218676
218734
  }
218677
218735
 
218678
- if (typeof style["color"] !== "undefined" && style["color"] !== defaultFontStyle.color) {
218679
- textStyle["color"] = style["color"];
218736
+ if (typeof style['color'] !== 'undefined' && style['color'] !== defaultFontStyle.color) {
218737
+ textStyle['color'] = style['color'];
218680
218738
  }
218681
218739
 
218682
- if (typeof style["font"] !== "undefined" && style["font"] !== defaultFontStyle.font) {
218683
- textStyle["font"] = style["font"];
218740
+ if (typeof style['font'] !== 'undefined' && style['font'] !== defaultFontStyle.font) {
218741
+ textStyle['font'] = style['font'];
218684
218742
  }
218685
218743
 
218686
- if (typeof style["backColor"] !== "undefined" && style["backColor"] !== defaultFontStyle.backColor) {
218687
- textStyle["backColor"] = style["backColor"];
218744
+ if (typeof style['backColor'] !== 'undefined' && style['backColor'] !== defaultFontStyle.backColor) {
218745
+ textStyle['backColor'] = style['backColor'];
218688
218746
  }
218689
218747
 
218690
- if (typeof style["commentID"] !== "undefined" && style["commentID"] !== defaultFontStyle.commentID) {
218691
- textStyle["commentID"] = style["commentID"];
218748
+ if (typeof style['commentID'] !== 'undefined' && style['commentID'] !== defaultFontStyle.commentID) {
218749
+ textStyle['commentID'] = style['commentID'];
218692
218750
  }
218693
218751
 
218694
218752
  return textStyle;
@@ -218701,32 +218759,32 @@ var VueController = /*#__PURE__*/function () {
218701
218759
  arrFontString.push(JSON.stringify(mergeObject.styles.defaultFont));
218702
218760
  arrParaString.push(JSON.stringify(mergeObject.styles.defaultPara));
218703
218761
  tdefault = JSON.parse(arrFontString[0]);
218704
- tdefault["size"] = tdefault["size"].toString();
218705
- tdefault["creatorIndex"] = tdefault["creatorIndex"].toString();
218706
- tdefault["deleterIndex"] = tdefault["deleterIndex"].toString();
218707
- tdefault["bold"] = tdefault["bold"].toString();
218708
- tdefault["italic"] = tdefault["italic"].toString();
218709
- tdefault["script"] = tdefault["script"].toString();
218710
- tdefault["strikeout"] = tdefault["strikeout"].toString();
218711
- tdefault["underline"] = tdefault["underline"].toString();
218762
+ tdefault['size'] = tdefault['size'].toString();
218763
+ tdefault['creatorIndex'] = tdefault['creatorIndex'].toString();
218764
+ tdefault['deleterIndex'] = tdefault['deleterIndex'].toString();
218765
+ tdefault['bold'] = tdefault['bold'].toString();
218766
+ tdefault['italic'] = tdefault['italic'].toString();
218767
+ tdefault['script'] = tdefault['script'].toString();
218768
+ tdefault['strikeout'] = tdefault['strikeout'].toString();
218769
+ tdefault['underline'] = tdefault['underline'].toString();
218712
218770
  arrFontString[0] = JSON.stringify(tdefault);
218713
218771
  pdefault = JSON.parse(arrParaString[0]);
218714
- pdefault["charSpace"] = pdefault["charSpace"].toString();
218715
- pdefault["lineSpace"] = pdefault["lineSpace"].toString();
218716
- pdefault["leftMarginMm"] = pdefault["leftMarginMm"].toString();
218717
- pdefault["topMarginMm"] = pdefault["topMarginMm"].toString();
218718
- pdefault["bottomMarginMm"] = pdefault["bottomMarginMm"].toString();
218719
- pdefault["rightMarginMm"] = pdefault["rightMarginMm"].toString();
218720
- pdefault["align"] = pdefault["align"].toString();
218772
+ pdefault['charSpace'] = pdefault['charSpace'].toString();
218773
+ pdefault['lineSpace'] = pdefault['lineSpace'].toString();
218774
+ pdefault['leftMarginMm'] = pdefault['leftMarginMm'].toString();
218775
+ pdefault['topMarginMm'] = pdefault['topMarginMm'].toString();
218776
+ pdefault['bottomMarginMm'] = pdefault['bottomMarginMm'].toString();
218777
+ pdefault['rightMarginMm'] = pdefault['rightMarginMm'].toString();
218778
+ pdefault['align'] = pdefault['align'].toString();
218721
218779
  arrParaString[0] = JSON.stringify(pdefault);
218722
218780
 
218723
- if (mergeObject.styles.fontStyle == "") {
218781
+ if (mergeObject.styles.fontStyle == '') {
218724
218782
  mergeObject.styles.fontStyle = [];
218725
218783
  } else if (!Array.isArray(mergeObject.styles.fontStyle)) {
218726
218784
  mergeObject.styles.fontStyle = [mergeObject.styles.fontStyle];
218727
218785
  }
218728
218786
 
218729
- if (mergeObject.styles.paraStyle == "") {
218787
+ if (mergeObject.styles.paraStyle == '') {
218730
218788
  mergeObject.styles.paraStyle = [];
218731
218789
  } else if (!Array.isArray(mergeObject.styles.paraStyle)) {
218732
218790
  mergeObject.styles.paraStyle = [mergeObject.styles.paraStyle];
@@ -218774,7 +218832,7 @@ var VueController = /*#__PURE__*/function () {
218774
218832
  var node = nodes[s];
218775
218833
 
218776
218834
  if (node.styleIndex) {
218777
- if (node.nodeType == "ntParagraph") {
218835
+ if (node.nodeType == 'ntParagraph') {
218778
218836
  var paraIndex = parseInt(node.styleIndex);
218779
218837
  var newpIndex = paraStyleMap.get(paraIndex);
218780
218838
 
@@ -218819,13 +218877,13 @@ var VueController = /*#__PURE__*/function () {
218819
218877
  }
218820
218878
  }
218821
218879
 
218822
- if (node.nodeType === "ntField" || node.nodeType === "ntCell") {
218880
+ if (node.nodeType === 'ntField' || node.nodeType === 'ntCell') {
218823
218881
  if (node.childNodes && node.childNodes.node && node.childNodes.node.length > 0) {
218824
218882
  updateNodesStyle(node.childNodes.node, fontStyleMap, paraStyleMap);
218825
218883
  }
218826
218884
  }
218827
218885
 
218828
- if (node.nodeType === "ntTable") {
218886
+ if (node.nodeType === 'ntTable') {
218829
218887
  if (node.childNodes && node.childNodes.item) {
218830
218888
  var items = node.childNodes.item;
218831
218889
 
@@ -218870,7 +218928,7 @@ var VueController = /*#__PURE__*/function () {
218870
218928
 
218871
218929
  var jobjFontStyle = [];
218872
218930
 
218873
- if (fontStyle != "") {
218931
+ if (fontStyle != '') {
218874
218932
  if (!Array.isArray(fontStyle)) {
218875
218933
  jobjFontStyle = [fontStyle];
218876
218934
  } else {
@@ -218914,16 +218972,16 @@ var VueController = /*#__PURE__*/function () {
218914
218972
  var paraStyleStr = JSON.stringify(defaultParaStyle);
218915
218973
  var paraStyle = JSON.parse(paraStyleStr);
218916
218974
 
218917
- if (typeof style["charSpace"] !== "undefined" && style["charSpace"] !== defaultParaStyle.charSpace.toString()) {
218918
- paraStyle["charSpace"] = style["charSpace"];
218975
+ if (typeof style['charSpace'] !== 'undefined' && style['charSpace'] !== defaultParaStyle.charSpace.toString()) {
218976
+ paraStyle['charSpace'] = style['charSpace'];
218919
218977
  }
218920
218978
 
218921
- if (typeof style["lineSpace"] !== "undefined" && style["lineSpace"] !== defaultParaStyle.lineSpace.toString()) {
218922
- paraStyle["lineSpace"] = style["lineSpace"];
218979
+ if (typeof style['lineSpace'] !== 'undefined' && style['lineSpace'] !== defaultParaStyle.lineSpace.toString()) {
218980
+ paraStyle['lineSpace'] = style['lineSpace'];
218923
218981
  }
218924
218982
 
218925
- if (typeof style["align"] !== "undefined" && style["align"] !== defaultParaStyle.align.toString()) {
218926
- paraStyle["align"] = style["align"];
218983
+ if (typeof style['align'] !== 'undefined' && style['align'] !== defaultParaStyle.align.toString()) {
218984
+ paraStyle['align'] = style['align'];
218927
218985
  }
218928
218986
 
218929
218987
  return paraStyle;
@@ -218931,7 +218989,7 @@ var VueController = /*#__PURE__*/function () {
218931
218989
 
218932
218990
  var jobjParaStyle = [];
218933
218991
 
218934
- if (paraStyle != "") {
218992
+ if (paraStyle != '') {
218935
218993
  if (paraStyle && !Array.isArray(paraStyle)) {
218936
218994
  jobjParaStyle = [paraStyle];
218937
218995
  } else {
@@ -218965,7 +219023,7 @@ var VueController = /*#__PURE__*/function () {
218965
219023
  if (list[i][0]) {
218966
219024
  updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap); //生成随机数ID用于合并病历新起一页时,找到对应的页眉页脚
218967
219025
 
218968
- var strID = hoEditorFactory.gernerateCode.generateID("cb");
219026
+ var strID = hoEditorFactory.gernerateCode.generateID('cb');
218969
219027
  xmlobj.header[0].beginPath = strID;
218970
219028
  xmlobj.header[0].pageIndex = -1;
218971
219029
  mergeObject.header.push(xmlobj.header[0]);
@@ -218973,7 +219031,7 @@ var VueController = /*#__PURE__*/function () {
218973
219031
  xmlobj.footer[0].beginPath = strID;
218974
219032
  xmlobj.footer[0].pageIndex = -1;
218975
219033
  mergeObject.footer.push(xmlobj.footer[0]);
218976
- xmlobj.main[0].printAsSinglePage = "true";
219034
+ xmlobj.main[0].printAsSinglePage = 'true';
218977
219035
  xmlobj.main[0].docId = strID;
218978
219036
  mergeObject.pageSettingsTree.push(xmlobj.pageSettings);
218979
219037
  hoEditorFactory.printStatus.pageSettingMap.set(strID, {
@@ -219036,7 +219094,7 @@ var VueController = /*#__PURE__*/function () {
219036
219094
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219037
219095
  var firstHead = hoEditorFactory.subDocManger.getHeaderPageNodes()[0];
219038
219096
  var endPath = hoEditorFactory.docTree.getNodeLastPath(firstHead[firstHead.length - 1]);
219039
- var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, "header/0/0", endPath);
219097
+ var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, 'header/0/0', endPath);
219040
219098
  var json = hoEditorFactory.structureNode.Copy(domRange, null);
219041
219099
  var image = this.getSubDocImg(hoEditorFactory.drawTree.activePageIndex.index, SubDocManger/* HeaderFooterType.hftHead */.pi.hftHead);
219042
219100
  return [json, image];
@@ -219061,7 +219119,7 @@ var VueController = /*#__PURE__*/function () {
219061
219119
  index = 0;
219062
219120
  headerNode = hoEditorFactory.subDocManger.headerDocTree[index].subDocNodes;
219063
219121
  epath = hoEditorFactory.docTree.getNodeLastPath(headerNode[headerNode.length - 1]);
219064
- sPath = "header/" + index.toString() + "/0";
219122
+ sPath = 'header/' + index.toString() + '/0';
219065
219123
  range = new DomRange/* DomRange */.a(this._hoEditorFactoryID, sPath, epath);
219066
219124
  _context3.next = 8;
219067
219125
  return hoEditorFactory.docController.deleteRange(range, true);
@@ -219123,7 +219181,7 @@ var VueController = /*#__PURE__*/function () {
219123
219181
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219124
219182
  var firstFoot = hoEditorFactory.subDocManger.getFooterPageNodes()[0];
219125
219183
  var endPath = hoEditorFactory.docTree.getNodeLastPath(firstFoot[firstFoot.length - 1]);
219126
- var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, "footer/0/0", endPath);
219184
+ var domRange = new DomRange/* DomRange */.a(this._hoEditorFactoryID, 'footer/0/0', endPath);
219127
219185
  var json = hoEditorFactory.structureNode.Copy(domRange, null);
219128
219186
  var image = this.getSubDocImg(hoEditorFactory.drawTree.activePageIndex.index, SubDocManger/* HeaderFooterType.hftFoot */.pi.hftFoot);
219129
219187
  return [json, image];
@@ -219147,12 +219205,12 @@ var VueController = /*#__PURE__*/function () {
219147
219205
  footerNodes = hoEditorFactory.subDocManger.getFooterPageNodes();
219148
219206
  footerNode = footerNodes[0];
219149
219207
  epath = hoEditorFactory.docTree.getNodeLastPath(footerNode[footerNode.length - 1]);
219150
- range = new DomRange/* DomRange */.a(this._hoEditorFactoryID, "footer/0/0", epath);
219208
+ range = new DomRange/* DomRange */.a(this._hoEditorFactoryID, 'footer/0/0', epath);
219151
219209
  _context4.next = 7;
219152
219210
  return hoEditorFactory.docController.deleteRange(range, true);
219153
219211
 
219154
219212
  case 7:
219155
- hoEditorFactory.docTree.curDomRange.setSamePath("footer/0/0");
219213
+ hoEditorFactory.docTree.curDomRange.setSamePath('footer/0/0');
219156
219214
  nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
219157
219215
 
219158
219216
  if (nodes[0] instanceof ParagraphNode/* ParagraphNode */.C) {
@@ -219204,7 +219262,7 @@ var VueController = /*#__PURE__*/function () {
219204
219262
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219205
219263
 
219206
219264
  if (hoEditorFactory.docTree.curDomRange.isEmpty) {
219207
- return "";
219265
+ return '';
219208
219266
  }
219209
219267
 
219210
219268
  var json = hoEditorFactory.structureNode.Copy(hoEditorFactory.docTree.curDomRange, null, isClearValue);
@@ -219221,7 +219279,7 @@ var VueController = /*#__PURE__*/function () {
219221
219279
  var result = hoEditorFactory.editController.canIsEdit(hoEditorFactory);
219222
219280
 
219223
219281
  if (result) {
219224
- if ((0,esm_typeof/* default */.Z)(JSON.parse(jsonData)) === "object") {
219282
+ if ((0,esm_typeof/* default */.Z)(JSON.parse(jsonData)) === 'object') {
219225
219283
  var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
219226
219284
  hoEditorFactory.docController.parseNodeData(nodes);
219227
219285
  } else {
@@ -219280,7 +219338,7 @@ var VueController = /*#__PURE__*/function () {
219280
219338
  case 11:
219281
219339
  hoEditorFactory.drawTree.inViewPages = [0];
219282
219340
 
219283
- if (!(xml > "")) {
219341
+ if (!(xml > '')) {
219284
219342
  _context5.next = 15;
219285
219343
  break;
219286
219344
  }
@@ -219314,14 +219372,14 @@ var VueController = /*#__PURE__*/function () {
219314
219372
 
219315
219373
  if (area && area.stage && area.stage.canvas) {
219316
219374
  var dHeight = Math.max(Math.min(area.docHeight, area.maxHeight), area.dHeight) * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY;
219317
- var ctx = area.stage.canvas.getContext("2d");
219375
+ var ctx = area.stage.canvas.getContext('2d');
219318
219376
 
219319
219377
  if (ctx) {
219320
219378
  var oImgData = ctx.getImageData(0, area.y * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY, hoeditfactory.pageProperty.widthPixes * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY, dHeight);
219321
- var oCanvas = document.createElement("canvas");
219379
+ var oCanvas = document.createElement('canvas');
219322
219380
  oCanvas.width = hoeditfactory.pageProperty.widthPixes * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY;
219323
219381
  oCanvas.height = dHeight;
219324
- var oCtx = oCanvas.getContext("2d");
219382
+ var oCtx = oCanvas.getContext('2d');
219325
219383
 
219326
219384
  if (oCtx) {
219327
219385
  oCtx.putImageData(oImgData, 0, 0);
@@ -219330,7 +219388,7 @@ var VueController = /*#__PURE__*/function () {
219330
219388
  }
219331
219389
  }
219332
219390
 
219333
- return "";
219391
+ return '';
219334
219392
  }
219335
219393
  /**
219336
219394
  * 获取选区内文本
@@ -219341,13 +219399,13 @@ var VueController = /*#__PURE__*/function () {
219341
219399
  key: "getRangeText",
219342
219400
  value: function getRangeText(range) {
219343
219401
  range = range.normalize();
219344
- var text = "";
219402
+ var text = '';
219345
219403
  var nodes = [];
219346
219404
  var sNodeChildIndex = range.npStart.childIndex;
219347
219405
  var eNodeChildIndex = range.npEnd.childIndex;
219348
219406
 
219349
219407
  var getNodeText = function getNodeText(node) {
219350
- var nodeText = "";
219408
+ var nodeText = '';
219351
219409
 
219352
219410
  if (node instanceof ControlNode/* ControlNode */.w) {
219353
219411
  nodeText = node.text;
@@ -219358,7 +219416,7 @@ var VueController = /*#__PURE__*/function () {
219358
219416
  } else if (node instanceof CellNode/* CellNode */.D) {
219359
219417
  nodeText = node.getCellText();
219360
219418
  } else if (node instanceof ParagraphNode/* ParagraphNode */.C) {
219361
- nodeText = "\n";
219419
+ nodeText = '\n';
219362
219420
  }
219363
219421
 
219364
219422
  return nodeText;
@@ -219426,14 +219484,14 @@ var VueController = /*#__PURE__*/function () {
219426
219484
  var signUserId = node.customProperty.bce01;
219427
219485
 
219428
219486
  if (hoEditorFactory.userInfo.id != signUserId) {
219429
- message_box_default().alert("不是本人签名,不允许删除!");
219487
+ message_box_default().alert('不是本人签名,不允许删除!');
219430
219488
 
219431
219489
  return;
219432
219490
  }
219433
219491
  }
219434
219492
 
219435
219493
  if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psDesign */.Dh.psDesign && node instanceof SignNode/* SignNode */.N && node.isTemplate && node.number === 0) {
219436
- message_box_default().alert("该签名元素不允许删除!", "系统提示");
219494
+ message_box_default().alert('该签名元素不允许删除!', '系统提示');
219437
219495
 
219438
219496
  return;
219439
219497
  }
@@ -219441,8 +219499,8 @@ var VueController = /*#__PURE__*/function () {
219441
219499
  if (node instanceof SignNode/* SignNode */.N) {
219442
219500
  var nextNode = node.nextLeaf();
219443
219501
 
219444
- if ((node.imgSrc !== "" || node.fingerPrintSrc !== "") && node.isTemplate && !(preNode instanceof SignNode/* SignNode */.N) && !(nextNode instanceof SignNode/* SignNode */.N)) {
219445
- var signNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 0, 0, node.name === "" ? "签名" : node.name, node.signType, node.signFormat, "", "", node.signTimeFormat, "", 0, 0, {}, true, node.styleIndex, node.connectMode, node.isFront, node.allowEditSignTime, '', undefined, node.attribute);
219502
+ if ((node.imgSrc !== '' || node.fingerPrintSrc !== '') && node.isTemplate && !(preNode instanceof SignNode/* SignNode */.N) && !(nextNode instanceof SignNode/* SignNode */.N)) {
219503
+ var signNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 0, 0, node.name === '' ? '签名' : node.name, node.signType, node.signFormat, '', '', node.signTimeFormat, '', 0, 0, {}, true, node.styleIndex, node.connectMode, node.isFront, node.allowEditSignTime, '', undefined, node.attribute);
219446
219504
  hoEditorFactory.undoService.begin();
219447
219505
  hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, ePath));
219448
219506
  hoEditorFactory.undoService.add(new NodeInsertUndoUnit/* NodeInsertUndoUnit */.R(this._hoEditorFactoryID, sPath, signNode));
@@ -219453,13 +219511,13 @@ var VueController = /*#__PURE__*/function () {
219453
219511
  if (preNode instanceof SignNode/* SignNode */.N) {
219454
219512
  if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psDesign */.Dh.psDesign) {
219455
219513
  if (node.isTemplate && node.number === 0) {
219456
- message_box_default().alert("该签名元素不允许删除!", "系统提示");
219514
+ message_box_default().alert('该签名元素不允许删除!', '系统提示');
219457
219515
 
219458
219516
  return;
219459
219517
  }
219460
219518
  }
219461
219519
 
219462
- var spath = "";
219520
+ var spath = '';
219463
219521
 
219464
219522
  if (node.number === 2 || node.number === 1 && node.isTemplate) {
219465
219523
  spath = hoEditorFactory.docTree.getNodeLastPath(preNode.previousLeaf());
@@ -219469,7 +219527,7 @@ var VueController = /*#__PURE__*/function () {
219469
219527
 
219470
219528
 
219471
219529
  var epath = hoEditorFactory.docTree.getNodeLastPath(node);
219472
- var newSignNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 1, preNode.type, preNode.name === "" ? "签名" : preNode.name, preNode.signType, preNode.signFormat, preNode.signor, preNode.signTime, preNode.signTimeFormat, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, preNode.isTemplate ? preNode.isTemplate : node.isTemplate, //node.isTemplate,
219530
+ var newSignNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, preNode.rootNodes, preNode.parentNode, BaseNode/* NodeType.ntSign */.Jq.ntSign, 1, preNode.type, preNode.name === '' ? '签名' : preNode.name, preNode.signType, preNode.signFormat, preNode.signor, preNode.signTime, preNode.signTimeFormat, preNode.imgSrc, preNode.imgWidth, preNode.imgHeight, preNode.customProperty, preNode.isTemplate ? preNode.isTemplate : node.isTemplate, //node.isTemplate,
219473
219531
  node.styleIndex, preNode.connectMode, preNode.isFront, preNode.allowEditSignTime);
219474
219532
  hoEditorFactory.undoService.begin();
219475
219533
  hoEditorFactory.undoService.add(new NodesDeleteUndoUnit/* NodesDeleteUndoUnit */.F(this._hoEditorFactoryID, spath, ePath));
@@ -219519,10 +219577,10 @@ var VueController = /*#__PURE__*/function () {
219519
219577
  }
219520
219578
  }
219521
219579
  /**
219522
- * 插入孕周
219523
- * @param lastMenstruationDate 末次月经日期
219524
- * @param usedDate 用来计算的日期
219525
- */
219580
+ * 插入孕周
219581
+ * @param lastMenstruationDate 末次月经日期
219582
+ * @param usedDate 用来计算的日期
219583
+ */
219526
219584
 
219527
219585
  }, {
219528
219586
  key: "insertGestation",
@@ -219577,7 +219635,7 @@ var VueController = /*#__PURE__*/function () {
219577
219635
  value: function verifyTextFieldsDataFormat() {
219578
219636
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219579
219637
  var errorArray = [];
219580
- var errorInfo = "";
219638
+ var errorInfo = '';
219581
219639
  var headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
219582
219640
  var footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
219583
219641
  var mainNodes = hoEditorFactory.docTree.mainNodes;
@@ -219587,51 +219645,51 @@ var VueController = /*#__PURE__*/function () {
219587
219645
  var node = filedNodes[h];
219588
219646
  var dataVerifyFormat = node.dataVerifyFormat;
219589
219647
 
219590
- if (dataVerifyFormat.mustInputValue && node.text === "") {
219591
- errorInfo = "必须输入,不能为空";
219648
+ if (dataVerifyFormat.mustInputValue && node.text === '') {
219649
+ errorInfo = '必须输入,不能为空';
219592
219650
  errorArray.push([node, errorInfo]);
219593
219651
  } else {
219594
219652
  if (dataVerifyFormat.dataFormat === TextInputFieldNode/* DataFormat.text */.ZX.text) {
219595
219653
  //文本格式
219596
219654
  if (dataVerifyFormat.minLength > 0) {
219597
219655
  if (node.text.length < dataVerifyFormat.minLength) {
219598
- errorInfo = "内容不能少于" + dataVerifyFormat.minLength.toString() + "个字符";
219656
+ errorInfo = '内容不能少于' + dataVerifyFormat.minLength.toString() + '个字符';
219599
219657
  errorArray.push([node, errorInfo]);
219600
219658
  }
219601
219659
  }
219602
219660
 
219603
219661
  if (dataVerifyFormat.maxLength > 0) {
219604
219662
  if (node.text.length > dataVerifyFormat.maxLength) {
219605
- errorInfo = "内容不能多于" + dataVerifyFormat.maxLength.toString() + "个字符";
219663
+ errorInfo = '内容不能多于' + dataVerifyFormat.maxLength.toString() + '个字符';
219606
219664
  errorArray.push([node, errorInfo]);
219607
219665
  }
219608
219666
  }
219609
219667
  } else {
219610
219668
  //数值格式
219611
219669
  if (!(0,type/* isNumber */.hj)(node.text)) {
219612
- errorInfo = "内容必须为数值";
219670
+ errorInfo = '内容必须为数值';
219613
219671
  errorArray.push([node, errorInfo]);
219614
219672
  } else {
219615
219673
  if (dataVerifyFormat.onlyInputInt) {
219616
219674
  //必须是整数
219617
219675
  if (Number(node.text) % 1 !== 0) {
219618
- errorInfo = "数值必须为整数";
219676
+ errorInfo = '数值必须为整数';
219619
219677
  errorArray.push([node, errorInfo]);
219620
219678
  } else {
219621
219679
  if (dataVerifyFormat.maxValue !== 0 && Number(node.text) > dataVerifyFormat.maxValue) {
219622
- errorInfo = "数值不能大于" + dataVerifyFormat.maxValue.toString();
219680
+ errorInfo = '数值不能大于' + dataVerifyFormat.maxValue.toString();
219623
219681
  errorArray.push([node, errorInfo]);
219624
219682
  }
219625
219683
 
219626
219684
  if (dataVerifyFormat.minValue !== 0 && Number(node.text) < dataVerifyFormat.minValue) {
219627
- errorInfo = "数值不能小于" + dataVerifyFormat.minValue.toString();
219685
+ errorInfo = '数值不能小于' + dataVerifyFormat.minValue.toString();
219628
219686
  errorArray.push([node, errorInfo]);
219629
219687
  }
219630
219688
  }
219631
219689
  } else {
219632
219690
  //非必须是整数
219633
- if (dataVerifyFormat.maxSmallBits !== 0 && node.text.split(".")[1].length > dataVerifyFormat.maxSmallBits) {
219634
- errorInfo = "小数位数不能多于" + dataVerifyFormat.maxSmallBits.toString() + "";
219691
+ if (dataVerifyFormat.maxSmallBits !== 0 && node.text.split('.')[1].length > dataVerifyFormat.maxSmallBits) {
219692
+ errorInfo = '小数位数不能多于' + dataVerifyFormat.maxSmallBits.toString() + '';
219635
219693
  errorArray.push([node, errorInfo]);
219636
219694
  }
219637
219695
  }
@@ -219772,7 +219830,7 @@ var VueController = /*#__PURE__*/function () {
219772
219830
  var endPath = curDomRange.endPath;
219773
219831
 
219774
219832
  if (startPath == endPath) {
219775
- message_box_default().alert("请选中需要删除的内容进行删除");
219833
+ message_box_default().alert('请选中需要删除的内容进行删除');
219776
219834
 
219777
219835
  return;
219778
219836
  }
@@ -219815,11 +219873,11 @@ var VueController = /*#__PURE__*/function () {
219815
219873
  var curMainDocArea = hoEditorFactory.drawPageTree.drawMainDocs[pageIndex];
219816
219874
 
219817
219875
  if (!darwPage || !curMainDocArea) {
219818
- message_box_default().alert("删除页的索引传入有误:" + pageIndex.toString());
219876
+ message_box_default().alert('删除页的索引传入有误:' + pageIndex.toString());
219819
219877
  }
219820
219878
 
219821
- var sPath = "";
219822
- var ePath = "";
219879
+ var sPath = '';
219880
+ var ePath = '';
219823
219881
  var startPosition;
219824
219882
 
219825
219883
  if (pageIndex !== 0) {
@@ -219869,7 +219927,7 @@ var VueController = /*#__PURE__*/function () {
219869
219927
  var headerNodes = hoEditorFactory.subDocManger.headerDocTree[0].subDocNodes;
219870
219928
  var mainNodes = hoEditorFactory.docTree.mainNodes;
219871
219929
  var fooerNodes = hoEditorFactory.subDocManger.footerDocTree[0].subDocNodes;
219872
- var docText = "";
219930
+ var docText = '';
219873
219931
 
219874
219932
  var loopChildNodes = function loopChildNodes(nodes) {
219875
219933
  nodes.forEach(function (node) {
@@ -219880,7 +219938,7 @@ var VueController = /*#__PURE__*/function () {
219880
219938
  } else if (node instanceof BaseCombineNode/* BaseCombineNode */.V) {
219881
219939
  loopChildNodes(node.childNodes);
219882
219940
  } else if (node instanceof ParagraphNode/* ParagraphNode */.C) {
219883
- docText += "\n";
219941
+ docText += '\n';
219884
219942
  }
219885
219943
  });
219886
219944
  };
@@ -219888,11 +219946,11 @@ var VueController = /*#__PURE__*/function () {
219888
219946
  loopChildNodes(headerNodes);
219889
219947
  loopChildNodes(mainNodes);
219890
219948
  loopChildNodes(fooerNodes);
219891
- docText = docText.replace(/&/g, "&amp;");
219892
- docText = docText.replace(/</g, "&lt;");
219893
- docText = docText.replace(/>/g, "&gt;");
219894
- docText = docText.replace(/\'/g, "&#39;");
219895
- docText = docText.replace(/\"/g, "&quot;");
219949
+ docText = docText.replace(/&/g, '&amp;');
219950
+ docText = docText.replace(/</g, '&lt;');
219951
+ docText = docText.replace(/>/g, '&gt;');
219952
+ docText = docText.replace(/\'/g, '&#39;');
219953
+ docText = docText.replace(/\"/g, '&quot;');
219896
219954
  return docText;
219897
219955
  }
219898
219956
  /**
@@ -220057,12 +220115,12 @@ var VueController = /*#__PURE__*/function () {
220057
220115
  return v.name == node.name;
220058
220116
  }).length == 0) {
220059
220117
  var elementObj = {
220060
- id: "",
220061
- name: "",
220062
- text: "",
220063
- json: "",
220064
- innerIdentifier: "",
220065
- controlStyle: "",
220118
+ id: '',
220119
+ name: '',
220120
+ text: '',
220121
+ json: '',
220122
+ innerIdentifier: '',
220123
+ controlStyle: '',
220066
220124
  customProperty: {}
220067
220125
  };
220068
220126
  elementObj.id = node.id; //elementObj.dataid = node.dataId;
@@ -220123,7 +220181,7 @@ var VueController = /*#__PURE__*/function () {
220123
220181
  for (var i = 0; i < nodes.length; i++) {
220124
220182
  var node = nodes[i];
220125
220183
 
220126
- if (node instanceof SignNode/* SignNode */.N && node.customProperty && node.customProperty.isCaSign == "2") {
220184
+ if (node instanceof SignNode/* SignNode */.N && node.customProperty && node.customProperty.isCaSign == '2') {
220127
220185
  ret = true;
220128
220186
  }
220129
220187
  }
@@ -220141,7 +220199,7 @@ var VueController = /*#__PURE__*/function () {
220141
220199
  key: "updateElementById",
220142
220200
  value: function updateElementById(id, eleJson) {
220143
220201
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
220144
- var node = this.getNodeByID("all", id);
220202
+ var node = this.getNodeByID('all', id);
220145
220203
 
220146
220204
  if (node) {
220147
220205
  //eleJson = JSON.parse(eleJson);
@@ -220164,7 +220222,7 @@ var VueController = /*#__PURE__*/function () {
220164
220222
 
220165
220223
  node.isAllowDelete = true;
220166
220224
  hoEditorFactory.undoService.begin();
220167
- hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, sPath, "update")); //hoEditorFactory.undoService.commit();
220225
+ hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, sPath, 'update')); //hoEditorFactory.undoService.commit();
220168
220226
  //hoEditorFactory.undoService.begin();
220169
220227
 
220170
220228
  hoEditorFactory.undoService.add(new NodeInsertUndoUnit/* NodeInsertUndoUnit */.R(this._hoEditorFactoryID, sPath, newNode));
@@ -220172,10 +220230,10 @@ var VueController = /*#__PURE__*/function () {
220172
220230
  var toPath = hoEditorFactory.docTree.getNodeLastPath(newNode);
220173
220231
  hoEditorFactory.drawTree.moveCaretToPath(toPath);
220174
220232
  } else {
220175
- throw new Error("根据元素id:" + id + "定位到的元素非可回填元素");
220233
+ throw new Error('根据元素id:' + id + '定位到的元素非可回填元素');
220176
220234
  }
220177
220235
  } else {
220178
- throw new Error("根据元素id:" + id + "未找到对应的元素");
220236
+ throw new Error('根据元素id:' + id + '未找到对应的元素');
220179
220237
  }
220180
220238
  } //更新回填元素的文本内容
220181
220239
 
@@ -220188,7 +220246,7 @@ var VueController = /*#__PURE__*/function () {
220188
220246
  while (1) {
220189
220247
  switch (_context6.prev = _context6.next) {
220190
220248
  case 0:
220191
- if (!(name === "" || name === "请输入" || name === "请选择")) {
220249
+ if (!(name === '' || name === '请输入' || name === '请选择')) {
220192
220250
  _context6.next = 2;
220193
220251
  break;
220194
220252
  }
@@ -220254,14 +220312,14 @@ var VueController = /*#__PURE__*/function () {
220254
220312
  break;
220255
220313
 
220256
220314
  case 20:
220257
- throw new Error("根据元素name:" + name + "定位到的元素非可回填元素");
220315
+ throw new Error('根据元素name:' + name + '定位到的元素非可回填元素');
220258
220316
 
220259
220317
  case 21:
220260
220318
  _context6.next = 24;
220261
220319
  break;
220262
220320
 
220263
220321
  case 23:
220264
- throw new Error("根据元素name:" + name + "未找到对应的元素");
220322
+ throw new Error('根据元素name:' + name + '未找到对应的元素');
220265
220323
 
220266
220324
  case 24:
220267
220325
  i--;
@@ -220273,7 +220331,7 @@ var VueController = /*#__PURE__*/function () {
220273
220331
  break;
220274
220332
 
220275
220333
  case 29:
220276
- throw new Error("根据元素name:" + name + "未找到对应的元素");
220334
+ throw new Error('根据元素name:' + name + '未找到对应的元素');
220277
220335
 
220278
220336
  case 30:
220279
220337
  case "end":
@@ -220334,10 +220392,10 @@ var VueController = /*#__PURE__*/function () {
220334
220392
 
220335
220393
  var createElementNodes = function createElementNodes() {
220336
220394
  var drawpages = hoEditorFactory.drawTree.drawPages;
220337
- var pngBox = document.createElement("div");
220338
- pngBox.id = "hoImageFileBox";
220395
+ var pngBox = document.createElement('div');
220396
+ pngBox.id = 'hoImageFileBox';
220339
220397
  var imgQuality = quality ? quality : 0.8;
220340
- var imgType = type ? type : "image/jpeg";
220398
+ var imgType = type ? type : 'image/jpeg';
220341
220399
  drawpages.forEach(function (drawpage, index) {
220342
220400
  var _drawpage$drawDomLeve;
220343
220401
 
@@ -220356,25 +220414,25 @@ var VueController = /*#__PURE__*/function () {
220356
220414
  drawpage.needUpdateStage = false;
220357
220415
  }
220358
220416
 
220359
- var png = document.createElement("img");
220417
+ var png = document.createElement('img');
220360
220418
  var canvas = (_drawpage$drawDomLeve = drawpage.drawDomLevel) === null || _drawpage$drawDomLeve === void 0 ? void 0 : _drawpage$drawDomLeve.domCanvas;
220361
220419
  png.src = canvas.toDataURL(imgType, imgQuality);
220362
220420
  pngBox.appendChild(png);
220363
220421
  });
220364
- pngBox.id = "hoImageFileBox";
220365
- var btn = document.createElement("button");
220366
- btn.id = "hoDownLoadImageBtn";
220367
- btn.style.position = "fixed";
220368
- btn.style.left = "20px";
220369
- btn.style.top = "200px";
220370
- btn.style.padding = "10px 20px";
220371
- btn.style.background = "#f2f4f7";
220372
- btn.style.border = "none";
220373
- btn.style.outline = "none";
220422
+ pngBox.id = 'hoImageFileBox';
220423
+ var btn = document.createElement('button');
220424
+ btn.id = 'hoDownLoadImageBtn';
220425
+ btn.style.position = 'fixed';
220426
+ btn.style.left = '20px';
220427
+ btn.style.top = '200px';
220428
+ btn.style.padding = '10px 20px';
220429
+ btn.style.background = '#f2f4f7';
220430
+ btn.style.border = 'none';
220431
+ btn.style.outline = 'none';
220374
220432
  document.body.appendChild(btn);
220375
220433
  document.body.appendChild(pngBox);
220376
220434
 
220377
- document.querySelector("#hoDownLoadImageBtn").onclick = function () {
220435
+ document.querySelector('#hoDownLoadImageBtn').onclick = function () {
220378
220436
  _this2.downLoadPNGHTML();
220379
220437
  };
220380
220438
  };
@@ -220410,7 +220468,7 @@ var VueController = /*#__PURE__*/function () {
220410
220468
 
220411
220469
  var canvas = (_drawpage$drawDomLeve2 = drawpage.drawDomLevel) === null || _drawpage$drawDomLeve2 === void 0 ? void 0 : _drawpage$drawDomLeve2.domCanvas;
220412
220470
  var imgQuality = quality ? quality : 0.8;
220413
- imageList.push(canvas.toDataURL("image/jpeg", imgQuality));
220471
+ imageList.push(canvas.toDataURL('image/jpeg', imgQuality));
220414
220472
  });
220415
220473
  return imageList;
220416
220474
  }
@@ -220423,18 +220481,18 @@ var VueController = /*#__PURE__*/function () {
220423
220481
  value: function createPDF() {
220424
220482
  var _this3 = this;
220425
220483
 
220426
- var btn = document.createElement("button");
220427
- btn.id = "hoDownLoadPDFBtn";
220428
- btn.style.position = "fixed";
220429
- btn.style.left = "20px";
220430
- btn.style.top = "300px";
220431
- btn.style.padding = "10px 20px";
220432
- btn.style.background = "transparent";
220433
- btn.style.border = "none";
220434
- btn.style.outline = "none";
220484
+ var btn = document.createElement('button');
220485
+ btn.id = 'hoDownLoadPDFBtn';
220486
+ btn.style.position = 'fixed';
220487
+ btn.style.left = '20px';
220488
+ btn.style.top = '300px';
220489
+ btn.style.padding = '10px 20px';
220490
+ btn.style.background = 'transparent';
220491
+ btn.style.border = 'none';
220492
+ btn.style.outline = 'none';
220435
220493
  document.body.appendChild(btn);
220436
220494
 
220437
- document.querySelector("#hoDownLoadPDFBtn").onclick = function () {
220495
+ document.querySelector('#hoDownLoadPDFBtn').onclick = function () {
220438
220496
  _this3.saveAsPDF();
220439
220497
  };
220440
220498
  }
@@ -220445,22 +220503,22 @@ var VueController = /*#__PURE__*/function () {
220445
220503
  }, {
220446
220504
  key: "downLoadPNGHTML",
220447
220505
  value: function downLoadPNGHTML() {
220448
- var pngBox = document.querySelector("#hoImageFileBox");
220449
- var fileName = this.getDocTitle() ? this.getDocTitle() : "电子病历文档";
220506
+ var pngBox = document.querySelector('#hoImageFileBox');
220507
+ var fileName = this.getDocTitle() ? this.getDocTitle() : '电子病历文档';
220450
220508
  var exportHtml = "\n <!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <style>\n body, html {\n margin: 0;\n background: #f2f4f7;\n text-align: center;\n }\n img {\n margin: 10px auto;\n display: block;\n border: 0;\n box-shadow: rgb(158 161 165 / 40%) 0px 2px 12px 0px;\n }\n </style>\n </head>\n <body>".concat(pngBox === null || pngBox === void 0 ? void 0 : pngBox.innerHTML, "</body>\n </html>\n ");
220451
220509
  var url = window.URL.createObjectURL(new Blob([exportHtml], {
220452
220510
  type: "text/html"
220453
220511
  }));
220454
- var link = document.createElement("a");
220455
- link.style.display = "none";
220512
+ var link = document.createElement('a');
220513
+ link.style.display = 'none';
220456
220514
  link.href = url;
220457
- link.setAttribute("download", fileName + ".html");
220515
+ link.setAttribute('download', fileName + '.html');
220458
220516
  document.body.appendChild(link);
220459
220517
  link.click();
220460
220518
  setTimeout(function () {
220461
220519
  link.remove();
220462
220520
  document.body.removeChild(pngBox);
220463
- document.body.removeChild(document.querySelector("#hoDownLoadImageBtn"));
220521
+ document.body.removeChild(document.querySelector('#hoDownLoadImageBtn'));
220464
220522
  }, 300);
220465
220523
  }
220466
220524
  }, {
@@ -220537,7 +220595,7 @@ var VueController = /*#__PURE__*/function () {
220537
220595
  while (1) {
220538
220596
  switch (_context7.prev = _context7.next) {
220539
220597
  case 0:
220540
- if (!(type === "html")) {
220598
+ if (!(type === 'html')) {
220541
220599
  _context7.next = 14;
220542
220600
  break;
220543
220601
  }
@@ -220621,7 +220679,7 @@ var VueController = /*#__PURE__*/function () {
220621
220679
  var newNode = newcurDomRange.npEnd.node;
220622
220680
 
220623
220681
  if (newNode instanceof SignNode/* SignNode */.N) {
220624
- Promise.all([hoEditorFactory.docController.updateSignNode(newNode, 3, "患者签名", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220682
+ Promise.all([hoEditorFactory.docController.updateSignNode(newNode, 3, '患者签名', '', '', imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220625
220683
  setTimeout(function () {
220626
220684
  callback && callback();
220627
220685
  }, 0);
@@ -220629,7 +220687,7 @@ var VueController = /*#__PURE__*/function () {
220629
220687
  }
220630
220688
  }, 0);
220631
220689
  } else {
220632
- Promise.all([hoEditorFactory.docController.updateSignNode(node, 3, "患者签名", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220690
+ Promise.all([hoEditorFactory.docController.updateSignNode(node, 3, '患者签名', '', '', imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220633
220691
  setTimeout(function () {
220634
220692
  callback && callback();
220635
220693
  }, 0);
@@ -220644,7 +220702,7 @@ var VueController = /*#__PURE__*/function () {
220644
220702
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertSign */.y.insertSign);
220645
220703
 
220646
220704
  if (hoEditorFactory.docTree.changing(changingEvent)) {
220647
- Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 1, "患者签名", node.signor, node.signTime, node.signTimeFormat, imgSrc, node.imgWidth, node.imgHeight, node.customProperty, fingerPrintSrc, fingerPosition)]).then(function () {
220705
+ Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 1, '患者签名', node.signor, node.signTime, node.signTimeFormat, imgSrc, node.imgWidth, node.imgHeight, node.customProperty, fingerPrintSrc, fingerPosition)]).then(function () {
220648
220706
  setTimeout(function () {
220649
220707
  callback && callback();
220650
220708
  }, 0);
@@ -220656,7 +220714,7 @@ var VueController = /*#__PURE__*/function () {
220656
220714
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertSign */.y.insertSign);
220657
220715
 
220658
220716
  if (hoEditorFactory.docTree.changing(changingEvent)) {
220659
- Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 3, "患者签名", "", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220717
+ Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 3, '患者签名', '', '', '', imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220660
220718
  setTimeout(function () {
220661
220719
  callback && callback();
220662
220720
  }, 0);
@@ -220695,13 +220753,13 @@ var VueController = /*#__PURE__*/function () {
220695
220753
  for (var m = 0, len = items.length - 1; m <= len; m++) {
220696
220754
  var item = items[m];
220697
220755
 
220698
- if (item.text !== "" && item.name === anode.name && anode.text.indexOf(item.text) !== -1) {
220756
+ if (item.text !== '' && item.name === anode.name && anode.text.indexOf(item.text) !== -1) {
220699
220757
  var range = _this4.search(anode, item.text);
220700
220758
 
220701
220759
  if (range.length > 0) {
220702
220760
  selectRangeArr = selectRangeArr.concat(range);
220703
220761
  }
220704
- } else if (item.text === "" && item.name === anode.name) {
220762
+ } else if (item.text === '' && item.name === anode.name) {
220705
220763
  var _range = _this4.search(anode, anode.text);
220706
220764
 
220707
220765
  if (_range.length > 0) {
@@ -220730,7 +220788,7 @@ var VueController = /*#__PURE__*/function () {
220730
220788
  if (selectRangeArr.length > 0) {
220731
220789
  hoEditorFactory.drawTree.drawMultiCustomRange(selectRangeArr, true, true);
220732
220790
  } else {
220733
- console.warn("未搜索到符合条件的元素");
220791
+ console.warn('未搜索到符合条件的元素');
220734
220792
  }
220735
220793
  }
220736
220794
  }, {
@@ -220762,7 +220820,7 @@ var VueController = /*#__PURE__*/function () {
220762
220820
  loopChildNodes(node.childNodes);
220763
220821
  parasArray.forEach(function (value, index) {
220764
220822
  var aNode = value.nextLeaf();
220765
- var content = "";
220823
+ var content = '';
220766
220824
  var mark = 0; //用来区分段落中的节点是否是文本节点 0是 -1不是
220767
220825
 
220768
220826
  var textCount = 1; //该段的第几个文本串(其它节点隔开的)
@@ -220772,31 +220830,31 @@ var VueController = /*#__PURE__*/function () {
220772
220830
  if (aNode instanceof TextNode/* TextNode */.R) {
220773
220831
  if (mark === -1) {
220774
220832
  if (content.length > 0) {
220775
- paraTextStrArr.push((index + 1).toString() + "|" + textCount.toString() + "|" + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
220833
+ paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
220776
220834
 
220777
220835
  textCount++;
220778
- content = "";
220836
+ content = '';
220779
220837
  mark = 0;
220780
220838
  }
220781
220839
  }
220782
220840
 
220783
220841
  var nodePath = hoEditorFactory.docTree.getNodeFirstPath(aNode);
220784
- nodesMap.set((index + 1).toString() + "|" + textCount.toString() + "|" + content.length, nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
220842
+ nodesMap.set((index + 1).toString() + '|' + textCount.toString() + '|' + content.length, nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
220785
220843
 
220786
220844
  content = content + aNode.text;
220787
220845
  } else if (aNode instanceof ControlNode/* ControlNode */.w) {
220788
220846
  if (content.length > 0) {
220789
- paraTextStrArr.push((index + 1).toString() + "|" + textCount.toString() + "|" + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
220847
+ paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + content); //['第几段|该段的第几个文本串|文本串内容'] (一段里面可能有很多个文本串,一段里面会有除文本节点之外的其它节点)
220790
220848
 
220791
220849
  textCount++;
220792
- content = "";
220850
+ content = '';
220793
220851
  }
220794
220852
 
220795
- paraTextStrArr.push((index + 1).toString() + "|" + textCount.toString() + "|" + aNode.text);
220853
+ paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + aNode.text);
220796
220854
 
220797
220855
  var _nodePath = aNode.getNodePath();
220798
220856
 
220799
- nodesMap.set((index + 1).toString() + "|" + textCount.toString() + "|" + 0, _nodePath);
220857
+ nodesMap.set((index + 1).toString() + '|' + textCount.toString() + '|' + 0, _nodePath);
220800
220858
  textCount++;
220801
220859
  } else {
220802
220860
  if (!(aNode instanceof ParagraphNode/* ParagraphNode */.C)) {
@@ -220811,14 +220869,14 @@ var VueController = /*#__PURE__*/function () {
220811
220869
  } while (aNode !== node.EndMarkNode);
220812
220870
 
220813
220871
  if (content.length > 0) {
220814
- paraTextStrArr.push((index + 1).toString() + "|" + textCount.toString() + "|" + content);
220872
+ paraTextStrArr.push((index + 1).toString() + '|' + textCount.toString() + '|' + content);
220815
220873
  }
220816
220874
  });
220817
220875
  } else {
220818
220876
  var nodePath = node.getNodePath();
220819
- nodesMap.set("1|1|0", nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
220877
+ nodesMap.set('1|1|0', nodePath); //nodesMap<第几段|该段的第几个文本串|节点文本在该文本串的位置,'节点路径'>
220820
220878
 
220821
- paraTextStrArr.push("1|1|" + node.text);
220879
+ paraTextStrArr.push('1|1|' + node.text);
220822
220880
  }
220823
220881
 
220824
220882
  selectRangeArr = this.getSelectRanges(paraTextStrArr, text, nodesMap);
@@ -220833,18 +220891,18 @@ var VueController = /*#__PURE__*/function () {
220833
220891
  var i = 0;
220834
220892
  paraTextStrArr.forEach(function (value, index) {
220835
220893
  //遍历每个段落的文本串 获取所有符合的段落和位置索引
220836
- var paraIndex = value.split("|")[0]; //第几段
220894
+ var paraIndex = value.split('|')[0]; //第几段
220837
220895
 
220838
- var textCount = value.split("|")[1]; //第几串
220896
+ var textCount = value.split('|')[1]; //第几串
220839
220897
 
220840
- value = value.split("|")[2]; //从上往下
220898
+ value = value.split('|')[2]; //从上往下
220841
220899
 
220842
220900
  var indexValue = value.indexOf(text);
220843
220901
 
220844
220902
  if (indexValue !== -1) {
220845
220903
  do {
220846
220904
  i++;
220847
- indexsMap.set(i, paraIndex + "|" + textCount + "|" + indexValue.toString()); //indexsMap<第几个符合查找条件的,第几段|该段的第几个文本串|查找的字符串在该文本串的位置>
220905
+ indexsMap.set(i, paraIndex + '|' + textCount + '|' + indexValue.toString()); //indexsMap<第几个符合查找条件的,第几段|该段的第几个文本串|查找的字符串在该文本串的位置>
220848
220906
 
220849
220907
  indexValue = value.indexOf(text, indexValue + 1);
220850
220908
  } while (indexValue !== -1);
@@ -220853,10 +220911,10 @@ var VueController = /*#__PURE__*/function () {
220853
220911
  var textNodesPaths = [];
220854
220912
  var controlNodesPaths = [];
220855
220913
  indexsMap.forEach(function (valueStr, index) {
220856
- var returnPath = "";
220857
- var paraIndex = valueStr.split("|")[0];
220858
- var textCount = valueStr.split("|")[1];
220859
- var strIndex = parseInt(valueStr.split("|")[2]);
220914
+ var returnPath = '';
220915
+ var paraIndex = valueStr.split('|')[0];
220916
+ var textCount = valueStr.split('|')[1];
220917
+ var strIndex = parseInt(valueStr.split('|')[2]);
220860
220918
 
220861
220919
  var _iterator = (0,createForOfIteratorHelper/* default */.Z)(nodesMap),
220862
220920
  _step;
@@ -220867,9 +220925,9 @@ var VueController = /*#__PURE__*/function () {
220867
220925
  key = _step$value[0],
220868
220926
  value = _step$value[1];
220869
220927
 
220870
- var startIndex = parseInt(key.split("|")[2]);
220928
+ var startIndex = parseInt(key.split('|')[2]);
220871
220929
 
220872
- if (key.split("|")[0] === paraIndex && key.split("|")[1] === textCount && strIndex >= startIndex) {
220930
+ if (key.split('|')[0] === paraIndex && key.split('|')[1] === textCount && strIndex >= startIndex) {
220873
220931
  var np = hoEditorFactory.docTree.findNodePositionByPath(value);
220874
220932
 
220875
220933
  if (np && np.node) {
@@ -220878,9 +220936,9 @@ var VueController = /*#__PURE__*/function () {
220878
220936
  var lastPath = strIndex - startIndex - 1;
220879
220937
 
220880
220938
  if (lastPath >= 0) {
220881
- var pathArr = value.split("/");
220939
+ var pathArr = value.split('/');
220882
220940
  pathArr[pathArr.length - 1] = lastPath.toString();
220883
- returnPath = pathArr.join("/");
220941
+ returnPath = pathArr.join('/');
220884
220942
  } else {
220885
220943
  //搜索文本在节点的开始位置 需要返回上一个节点的结束位置路径
220886
220944
  var preNode = np.node.previousLeaf();
@@ -220926,10 +220984,10 @@ var VueController = /*#__PURE__*/function () {
220926
220984
  path = hoEditorFactory.docTree.getNodeFirstPath((_np$node = np.node) === null || _np$node === void 0 ? void 0 : _np$node.nextLeaf());
220927
220985
  nodeLastPath = hoEditorFactory.docTree.getNodeLastPath((_np$node2 = np.node) === null || _np$node2 === void 0 ? void 0 : _np$node2.nextLeaf());
220928
220986
  } else {
220929
- var pathArr = path.split("/");
220987
+ var pathArr = path.split('/');
220930
220988
  var value = parseInt(pathArr[pathArr.length - 1]);
220931
220989
  pathArr[pathArr.length - 1] = (value + 1).toString();
220932
- path = pathArr.join("/");
220990
+ path = pathArr.join('/');
220933
220991
  }
220934
220992
  }
220935
220993
 
@@ -220969,8 +221027,8 @@ var VueController = /*#__PURE__*/function () {
220969
221027
  var selectRangeArr = [];
220970
221028
 
220971
221029
  for (var i = 0; i < names.length; i++) {
220972
- if (names[i] !== "") {
220973
- var nodes = this.getNodesByName("all", true, names[i]);
221030
+ if (names[i] !== '') {
221031
+ var nodes = this.getNodesByName('all', true, names[i]);
220974
221032
  elements = elements.concat(nodes);
220975
221033
  }
220976
221034
  }
@@ -221013,7 +221071,7 @@ var VueController = /*#__PURE__*/function () {
221013
221071
  if (hoEditorFactory.aiTextFunc) {
221014
221072
  var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
221015
221073
  var node = curDomRange.npEnd.node;
221016
- var text = "";
221074
+ var text = '';
221017
221075
 
221018
221076
  if (node instanceof TextNode/* TextNode */.R) {
221019
221077
  text += node.text;
@@ -221067,7 +221125,7 @@ var VueController = /*#__PURE__*/function () {
221067
221125
  }
221068
221126
 
221069
221127
  if (!isHaveParaNodes) {
221070
- message_box_default().alert("选区内没有换行符,无需清除.");
221128
+ message_box_default().alert('选区内没有换行符,无需清除.');
221071
221129
 
221072
221130
  return;
221073
221131
  }
@@ -221086,9 +221144,9 @@ var VueController = /*#__PURE__*/function () {
221086
221144
  var endPath = hoEditorFactory.docTree.getNodeLastPath(nodes[nodes.length - 1]);
221087
221145
 
221088
221146
  if (result[2] > 0) {
221089
- var arr = endPath.split("/");
221147
+ var arr = endPath.split('/');
221090
221148
  arr[arr.length - 1] = result[2].toString();
221091
- endPath = arr.join("/");
221149
+ endPath = arr.join('/');
221092
221150
  }
221093
221151
 
221094
221152
  var oldRange = curDomRange;
@@ -221109,7 +221167,7 @@ var VueController = /*#__PURE__*/function () {
221109
221167
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221110
221168
  var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
221111
221169
  var node = curDomRange.npEnd.node;
221112
- var text = "";
221170
+ var text = '';
221113
221171
 
221114
221172
  var getText = function getText(previousNode) {
221115
221173
  if (previousNode instanceof TextNode/* TextNode */.R || previousNode instanceof LabelNode/* LabelNode */.P || previousNode instanceof DownListNode/* DownListNode */.yF) {
@@ -221208,6 +221266,7 @@ var VueController = /*#__PURE__*/function () {
221208
221266
  }, {
221209
221267
  key: "setDocCommentIsHandle",
221210
221268
  value: function setDocCommentIsHandle(status) {
221269
+ // 批量修改当前病历中批注处理状态
221211
221270
  var drawTree = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).drawTree;
221212
221271
  var commentsMap = drawTree.commentsMap;
221213
221272
  commentsMap.forEach(function (value, key) {
@@ -221237,7 +221296,7 @@ var VueController = /*#__PURE__*/function () {
221237
221296
  if (node instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
221238
221297
  if (fieldNames.indexOf(node.name) === -1) {
221239
221298
  fieldNames.push(node.name);
221240
- var sameNameEles = this.getNodesByName("all", true, node.name);
221299
+ var sameNameEles = this.getNodesByName('all', true, node.name);
221241
221300
 
221242
221301
  for (var j = 0; j < sameNameEles.length; j++) {
221243
221302
  var ele = sameNameEles[j];
@@ -221254,7 +221313,7 @@ var VueController = /*#__PURE__*/function () {
221254
221313
  if (dateNames.indexOf(node.name) === -1) {
221255
221314
  dateNames.push(node.name);
221256
221315
 
221257
- var _sameNameEles = this.getNodesByName("all", true, node.name);
221316
+ var _sameNameEles = this.getNodesByName('all', true, node.name);
221258
221317
 
221259
221318
  for (var _j = 0; _j < _sameNameEles.length; _j++) {
221260
221319
  var _ele = _sameNameEles[_j];
@@ -221271,7 +221330,7 @@ var VueController = /*#__PURE__*/function () {
221271
221330
  if (downNames.indexOf(node.name) === -1) {
221272
221331
  downNames.push(node.name);
221273
221332
 
221274
- var _sameNameEles2 = this.getNodesByName("all", true, node.name);
221333
+ var _sameNameEles2 = this.getNodesByName('all', true, node.name);
221275
221334
 
221276
221335
  for (var _j2 = 0; _j2 < _sameNameEles2.length; _j2++) {
221277
221336
  var _ele2 = _sameNameEles2[_j2];
@@ -221298,11 +221357,11 @@ var VueController = /*#__PURE__*/function () {
221298
221357
  var object = objects[i];
221299
221358
  var name = object.name;
221300
221359
  var oldValue = object.oldValue;
221301
- var elements = this.getNodesByName("main", true, name);
221360
+ var elements = this.getNodesByName('main', true, name);
221302
221361
 
221303
221362
  for (var j = 0; j < elements.length; j++) {
221304
221363
  var element = elements[j];
221305
- var commentID = hoEditorFactory.gernerateCode.generateID("C");
221364
+ var commentID = hoEditorFactory.gernerateCode.generateID('C');
221306
221365
  var comment = void 0;
221307
221366
 
221308
221367
  if (element instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
@@ -221362,7 +221421,7 @@ var VueController = /*#__PURE__*/function () {
221362
221421
  for (var i = children.length - 1; i >= 0; i--) {
221363
221422
  var child = children[i];
221364
221423
 
221365
- if (child.name && child.name.indexOf("recordC") >= 0) {
221424
+ if (child.name && child.name.indexOf('recordC') >= 0) {
221366
221425
  children.splice(i, 1);
221367
221426
  }
221368
221427
  }
@@ -221417,7 +221476,7 @@ var VueController = /*#__PURE__*/function () {
221417
221476
  } // 空的医生签名
221418
221477
 
221419
221478
 
221420
- if (attribute == 0 && node.attribute === 0 && node.imgSrc === '') {
221479
+ if (attribute != 1 && node.attribute != 1 && node.imgSrc === '') {
221421
221480
  hasEmptyDoctorSign = true;
221422
221481
  break;
221423
221482
  }
@@ -221428,7 +221487,7 @@ var VueController = /*#__PURE__*/function () {
221428
221487
  getAllNodes(node.childNodes);
221429
221488
  }
221430
221489
 
221431
- if (node instanceof BaseCombineNode/* BaseCombineNode */.V && attribute === 0 && !hasEmptyDoctorSign) {
221490
+ if (node instanceof BaseCombineNode/* BaseCombineNode */.V && attribute != 1 && !hasEmptyDoctorSign) {
221432
221491
  // 医生签名不存在的情况不在深层调用深层遍历
221433
221492
  getAllNodes(node.childNodes);
221434
221493
  }
@@ -221479,6 +221538,14 @@ var VueController = /*#__PURE__*/function () {
221479
221538
  getAllNodes(mainNodes);
221480
221539
  return isHasDoctorSign;
221481
221540
  }
221541
+ }, {
221542
+ key: "setHoEditorFactoryParams",
221543
+ value: function setHoEditorFactoryParams(params) {
221544
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221545
+ Object.keys(params).forEach(function (key) {
221546
+ hoEditorFactory[key] = params[key];
221547
+ });
221548
+ }
221482
221549
  }]);
221483
221550
 
221484
221551
  return VueController;
@@ -225148,6 +225215,12 @@ var HOEditorFactory = /*#__PURE__*/function () {
225148
225215
  function HOEditorFactory(id) {
225149
225216
  (0,classCallCheck/* default */.Z)(this, HOEditorFactory);
225150
225217
 
225218
+ this._isEnabledGlobalColor = false; //是否启用全局颜色
225219
+
225220
+ this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
225221
+
225222
+ this._isCanUseTableProperty = false; //非设计模式下是否可以使用表格、单元格、行、列属性设置
225223
+
225151
225224
  this._loadImageCount = 0; // 待加载的图片数量
225152
225225
 
225153
225226
  this._loadImageCallback = null; // 图片加载完成回调
@@ -225165,10 +225238,6 @@ var HOEditorFactory = /*#__PURE__*/function () {
225165
225238
  this._lastSaveTime = new Date(Date.now());
225166
225239
  this._superiorSigns = []; //上级医生签名
225167
225240
 
225168
- this._isEnabledGlobalColor = false; //是否启用全局颜色
225169
-
225170
- this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
225171
-
225172
225241
  this._hoEditorFactoryId = id;
225173
225242
  }
225174
225243
  /**
@@ -225886,6 +225955,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
225886
225955
  this._isSameColorWithEmptyVlaue = value;
225887
225956
  }
225888
225957
  }
225958
+ }, {
225959
+ key: "isCanUseTableProperty",
225960
+ get: function get() {
225961
+ return this._isCanUseTableProperty;
225962
+ },
225963
+ set: function set(value) {
225964
+ if (this._isCanUseTableProperty !== value) {
225965
+ this._isCanUseTableProperty = value;
225966
+ }
225967
+ }
225889
225968
  }, {
225890
225969
  key: "clear",
225891
225970
  value: function clear() {
@@ -230332,15 +230411,16 @@ var UploadImageDialog_component = normalizeComponent(
230332
230411
  )
230333
230412
 
230334
230413
  /* harmony default export */ var upload_UploadImageDialog = (UploadImageDialog_component.exports);
230335
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=template&id=4c7ad5a1&scoped=true&
230336
- var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"canvas-image",class:_vm.animationClassNames,style:({ width: _vm.canvasWidth + 250 + 'px', height: _vm.canvasHeight + 150 + 'px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("编辑图片")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",attrs:{"id":"loon_canvas_editor"}},[_c('div',{style:({ width: _vm.canvasWidth + 'px', height: _vm.canvasHeight + 'px' }),attrs:{"id":"loon_canvas_editor_box"}},[_c('canvas',{style:({ width: _vm.canvasWidth + 'px', height: _vm.canvasHeight + 'px' }),attrs:{"id":"image_canvas","width":_vm.canvasWidth,"height":_vm.canvasHeight}}),(_vm.tool === 0 && _vm.textAreaStyle.width)?_c('textarea',{ref:"textCanvas",style:(_vm.textAreaStyle),attrs:{"id":"text_canvas"},on:{"blur":function($event){return _vm.drawText()}}}):_vm._e()])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"type":_vm.tool === 0 ? 'primary' : '',"size":"small"},on:{"click":function($event){_vm.tool = 0}}},[_vm._v("文字")]),_c('el-button',{attrs:{"type":_vm.tool === 1 ? 'primary' : '',"size":"small"},on:{"click":function($event){_vm.tool = 1}}},[_vm._v("画笔")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){return _vm.canvasUndo()}}},[_vm._v("撤销")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){return _vm.canvasRedo()}}},[_vm._v("恢复")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small","loading":_vm.uploadLoading,"type":"primary"},on:{"click":_vm.sure}},[_vm._v("保存")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
230337
- var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns = []
230414
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=template&id=1e0a2026&scoped=true&
230415
+ var CanvasImageDialogvue_type_template_id_1e0a2026_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"canvas-image",class:_vm.animationClassNames,style:({ width: _vm.canvasWidth + 250 + 'px', height: _vm.canvasHeight + 150 + 'px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("编辑图片")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",attrs:{"id":"loon_canvas_editor"}},[_c('div',{style:({ width: _vm.canvasWidth + 'px', height: _vm.canvasHeight + 'px' }),attrs:{"id":"loon_canvas_editor_box"}},[_c('canvas',{style:({ width: _vm.canvasWidth + 'px', height: _vm.canvasHeight + 'px' }),attrs:{"id":"image_canvas","width":_vm.canvasWidth,"height":_vm.canvasHeight}}),(_vm.tool === 0 && _vm.textAreaStyle.width)?_c('textarea',{ref:"textCanvas",style:(_vm.textAreaStyle),attrs:{"id":"text_canvas"},on:{"blur":function($event){return _vm.drawText()}}}):_vm._e()])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"type":_vm.tool === 0 ? 'primary' : '',"size":"small"},on:{"click":function($event){_vm.tool = 0}}},[_vm._v("文字")]),_c('el-button',{attrs:{"type":_vm.tool === 1 ? 'primary' : '',"size":"small"},on:{"click":function($event){_vm.tool = 1}}},[_vm._v("画笔")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){return _vm.canvasUndo()}}},[_vm._v("撤销")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){return _vm.canvasRedo()}}},[_vm._v("恢复")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small","loading":_vm.uploadLoading,"type":"primary"},on:{"click":_vm.sure}},[_vm._v("保存")]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
230416
+ var CanvasImageDialogvue_type_template_id_1e0a2026_scoped_true_staticRenderFns = []
230338
230417
 
230339
230418
 
230340
230419
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83[0].rules[0].use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=script&lang=js&
230341
230420
 
230342
230421
 
230343
230422
 
230423
+
230344
230424
  //
230345
230425
  //
230346
230426
  //
@@ -230385,19 +230465,14 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230385
230465
  canvasHeight: 400,
230386
230466
  animationClassNames: 'control-modal-contents image-modal animation-in',
230387
230467
  uploadLoading: false,
230388
- eraserEnabled: false,
230389
- activeBgColor: '#fff',
230390
- ifPop: false,
230391
230468
  lWidth: 2,
230392
- opacity: 1,
230393
230469
  strokeColor: '#FF0000',
230394
- radius: 5,
230395
230470
  canvasHistory: [],
230396
230471
  step: -1,
230397
230472
  canvas: null,
230398
- textarea: null,
230399
- canvasArea: null,
230400
230473
  context: null,
230474
+ canvasArea: null,
230475
+ textarea: null,
230401
230476
  painting: false,
230402
230477
  // 定义一个变量初始化画笔状态
230403
230478
  startPoint: {
@@ -230406,7 +230481,10 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230406
230481
  },
230407
230482
  // 记录画笔最后一次的位置
230408
230483
  tool: 1,
230409
- textAreaStyle: {}
230484
+ textAreaStyle: {},
230485
+ moveDrawCount: 0,
230486
+ quadraticCurvePoints: [] // 平滑曲线数组
230487
+
230410
230488
  };
230411
230489
  },
230412
230490
  watch: {
@@ -230487,6 +230565,7 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230487
230565
  x: e.offsetX,
230488
230566
  y: e.offsetY
230489
230567
  };
230568
+ this.quadraticCurvePoints.push(this.startPoint);
230490
230569
 
230491
230570
  if (this.tool === 0) {
230492
230571
  this.textAreaStyle = {
@@ -230515,16 +230594,50 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230515
230594
 
230516
230595
  case 1:
230517
230596
  {
230518
- this.drawLine(e);
230597
+ this.quadraticCurvePoints.push({
230598
+ x: e.offsetX,
230599
+ y: e.offsetY
230600
+ });
230601
+
230602
+ if (this.quadraticCurvePoints.length > 3) {
230603
+ var lastTwoPoints = this.quadraticCurvePoints.slice(-2);
230604
+ var controlPoint = lastTwoPoints[0];
230605
+ var endPoint = {
230606
+ x: (lastTwoPoints[0].x + lastTwoPoints[1].x) / 2,
230607
+ y: (lastTwoPoints[0].y + lastTwoPoints[1].y) / 2
230608
+ };
230609
+ this.drawLine(this.startPoint, controlPoint, endPoint);
230610
+ this.startPoint = endPoint;
230611
+ }
230612
+
230519
230613
  break;
230520
230614
  }
230521
230615
  }
230616
+
230617
+ e.stopPropagation();
230618
+ e.preventDefault();
230522
230619
  },
230523
230620
  up: function up(e) {
230524
230621
  if (this.tool === 0) {
230525
230622
  this.canvas.removeEventListener('mousemove', this.move);
230526
230623
  }
230527
230624
 
230625
+ this.quadraticCurvePoints.push({
230626
+ x: e.offsetX,
230627
+ y: e.offsetY
230628
+ });
230629
+
230630
+ if (this.quadraticCurvePoints.length > 3) {
230631
+ var lastTwoPoints = this.quadraticCurvePoints.slice(-2);
230632
+ var controlPoint = lastTwoPoints[0];
230633
+ var endPoint = {
230634
+ x: (lastTwoPoints[0].x + lastTwoPoints[1].x) / 2,
230635
+ y: (lastTwoPoints[0].y + lastTwoPoints[1].y) / 2
230636
+ };
230637
+ this.drawLine(this.startPoint, controlPoint, endPoint);
230638
+ }
230639
+
230640
+ this.quadraticCurvePoints = [];
230528
230641
  this.painting = false;
230529
230642
 
230530
230643
  if (this.tool === 1) {
@@ -230559,25 +230672,30 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230559
230672
  this.textAreaStyle = {};
230560
230673
  }
230561
230674
  },
230562
- drawLine: function drawLine(e) {
230563
- if (!this.painting) return;
230675
+ drawLine: function drawLine(startPoint, controlPoint, endPoint) {
230676
+ if (!this.painting) {
230677
+ this.moveDrawCount = 0;
230678
+ return;
230679
+ } // if (this.moveDrawCount === 0) {
230680
+
230681
+
230564
230682
  this.context.beginPath();
230565
230683
  this.context.lineWidth = this.lWidth;
230566
- this.context.strokeStyle = this.strokeColor; // 设置线条末端样式。
230684
+ this.context.strokeStyle = this.strokeColor; // this.context.setLineDash([10]);
230685
+ // 设置线条末端样式。
230567
230686
 
230568
230687
  this.context.lineCap = 'round'; // 设定线条与线条间接合处的样式
230569
230688
 
230570
230689
  this.context.lineJoin = 'round';
230571
- this.context.moveTo(this.startPoint.x, this.startPoint.y);
230572
- this.context.lineTo(e.offsetX, e.offsetY);
230690
+ this.context.moveTo(startPoint.x, startPoint.y); // this.context.lineTo(e.offsetX, e.offsetY);
230691
+
230692
+ this.context.quadraticCurveTo(controlPoint.x, controlPoint.y, endPoint.x, endPoint.y);
230573
230693
  this.context.stroke();
230574
- this.context.closePath();
230575
- this.startPoint = {
230576
- x: e.offsetX,
230577
- y: e.offsetY
230578
- };
230579
- e.stopPropagation();
230580
- e.preventDefault();
230694
+ this.context.closePath(); // }
230695
+ // this.moveDrawCount++;
230696
+ // if (this.moveDrawCount >= 3) {
230697
+ // this.moveDrawCount = 0;
230698
+ // }
230581
230699
  },
230582
230700
  // 绘制方法
230583
230701
  canvasDraw: function canvasDraw() {
@@ -230646,10 +230764,10 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230646
230764
  });
230647
230765
  ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=script&lang=js&
230648
230766
  /* harmony default export */ var upload_CanvasImageDialogvue_type_script_lang_js_ = (CanvasImageDialogvue_type_script_lang_js_);
230649
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=4c7ad5a1&lang=scss&scoped=true&
230767
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=1e0a2026&lang=scss&scoped=true&
230650
230768
  // extracted by mini-css-extract-plugin
230651
230769
 
230652
- ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=4c7ad5a1&lang=scss&scoped=true&
230770
+ ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue?vue&type=style&index=0&id=1e0a2026&lang=scss&scoped=true&
230653
230771
 
230654
230772
  ;// CONCATENATED MODULE: ./src/components/controls/upload/CanvasImageDialog.vue
230655
230773
 
@@ -230662,11 +230780,11 @@ var CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns =
230662
230780
 
230663
230781
  var CanvasImageDialog_component = normalizeComponent(
230664
230782
  upload_CanvasImageDialogvue_type_script_lang_js_,
230665
- CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_render,
230666
- CanvasImageDialogvue_type_template_id_4c7ad5a1_scoped_true_staticRenderFns,
230783
+ CanvasImageDialogvue_type_template_id_1e0a2026_scoped_true_render,
230784
+ CanvasImageDialogvue_type_template_id_1e0a2026_scoped_true_staticRenderFns,
230667
230785
  false,
230668
230786
  null,
230669
- "4c7ad5a1",
230787
+ "1e0a2026",
230670
230788
  null
230671
230789
 
230672
230790
  )
@@ -231251,9 +231369,9 @@ var TableProperty_component = normalizeComponent(
231251
231369
  )
231252
231370
 
231253
231371
  /* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
231254
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=316f7a71&scoped=true&
231255
- var TableRowPropertyvue_type_template_id_316f7a71_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格行属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyHeight),callback:function ($$v) {_vm.isSpecifyHeight=$$v},expression:"isSpecifyHeight"}},[_vm._v("指定高度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyHeight,"precision":2,"step":1,"min":0,"controls":false,"controls-position":"right"},model:{value:(_vm.rowHeight),callback:function ($$v) {_vm.rowHeight=$$v},expression:"rowHeight"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示高度 "+_vm._s(_vm.rowHeightMm)+" 厘米")])],1),_c('li',{staticClass:"control-item",staticStyle:{"padding":"0 0 0 10px"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.isSpecifyHeight},model:{value:(_vm.isLockRowHeight),callback:function ($$v) {_vm.isLockRowHeight=$$v},expression:"isLockRowHeight"}},[_vm._v("锁定行高")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.repeatAsTitleAtPageTop),callback:function ($$v) {_vm.repeatAsTitleAtPageTop=$$v},expression:"repeatAsTitleAtPageTop"}},[_vm._v("在隔页顶端以标题行形式重复出现")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.sameLineCanAcrossPages),callback:function ($$v) {_vm.sameLineCanAcrossPages=$$v},expression:"sameLineCanAcrossPages"}},[_vm._v("同行内容能跨页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.forcedPageBreak),callback:function ($$v) {_vm.forcedPageBreak=$$v},expression:"forcedPageBreak"}},[_vm._v("强制分页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBorders),callback:function ($$v) {_vm.printCellBorders=$$v},expression:"printCellBorders"}},[_vm._v("打印单元格边框线")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBg),callback:function ($$v) {_vm.printCellBg=$$v},expression:"printCellBg"}},[_vm._v("打印单元格背景")])],1)])])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
231256
- var TableRowPropertyvue_type_template_id_316f7a71_scoped_true_staticRenderFns = []
231372
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=c8198e42&scoped=true&
231373
+ var TableRowPropertyvue_type_template_id_c8198e42_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格行属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyHeight),callback:function ($$v) {_vm.isSpecifyHeight=$$v},expression:"isSpecifyHeight"}},[_vm._v("指定高度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyHeight,"precision":2,"step":1,"min":0,"controls":false,"controls-position":"right"},model:{value:(_vm.rowHeight),callback:function ($$v) {_vm.rowHeight=$$v},expression:"rowHeight"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示高度 "+_vm._s(_vm.rowHeightMm)+" 厘米")])],1),_c('li',{staticClass:"control-item",staticStyle:{"padding":"0 0 0 10px"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.isSpecifyHeight},model:{value:(_vm.isLockRowHeight),callback:function ($$v) {_vm.isLockRowHeight=$$v},expression:"isLockRowHeight"}},[_vm._v("锁定行高")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.repeatAsTitleAtPageTop),callback:function ($$v) {_vm.repeatAsTitleAtPageTop=$$v},expression:"repeatAsTitleAtPageTop"}},[_vm._v("在隔页顶端以标题行形式重复出现")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.sameLineCanAcrossPages),callback:function ($$v) {_vm.sameLineCanAcrossPages=$$v},expression:"sameLineCanAcrossPages"}},[_vm._v("同行内容能跨页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.forcedPageBreak),callback:function ($$v) {_vm.forcedPageBreak=$$v},expression:"forcedPageBreak"}},[_vm._v("强制分页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBorders),callback:function ($$v) {_vm.printCellBorders=$$v},expression:"printCellBorders"}},[_vm._v("打印单元格边框线")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBg),callback:function ($$v) {_vm.printCellBg=$$v},expression:"printCellBg"}},[_vm._v("打印单元格背景")])],1)])])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
231374
+ var TableRowPropertyvue_type_template_id_c8198e42_scoped_true_staticRenderFns = []
231257
231375
 
231258
231376
 
231259
231377
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=script&lang=ts&
@@ -231504,10 +231622,10 @@ TableRowPoperty = __decorate([vue_class_component_esm({
231504
231622
  /* harmony default export */ var TableRowPropertyvue_type_script_lang_ts_ = (TableRowPoperty);
231505
231623
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=script&lang=ts&
231506
231624
  /* harmony default export */ var table_TableRowPropertyvue_type_script_lang_ts_ = (TableRowPropertyvue_type_script_lang_ts_);
231507
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=316f7a71&lang=scss&scoped=true&
231625
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=c8198e42&lang=scss&scoped=true&
231508
231626
  // extracted by mini-css-extract-plugin
231509
231627
 
231510
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=316f7a71&lang=scss&scoped=true&
231628
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue?vue&type=style&index=0&id=c8198e42&lang=scss&scoped=true&
231511
231629
 
231512
231630
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableRowProperty.vue
231513
231631
 
@@ -231520,11 +231638,11 @@ TableRowPoperty = __decorate([vue_class_component_esm({
231520
231638
 
231521
231639
  var TableRowProperty_component = normalizeComponent(
231522
231640
  table_TableRowPropertyvue_type_script_lang_ts_,
231523
- TableRowPropertyvue_type_template_id_316f7a71_scoped_true_render,
231524
- TableRowPropertyvue_type_template_id_316f7a71_scoped_true_staticRenderFns,
231641
+ TableRowPropertyvue_type_template_id_c8198e42_scoped_true_render,
231642
+ TableRowPropertyvue_type_template_id_c8198e42_scoped_true_staticRenderFns,
231525
231643
  false,
231526
231644
  null,
231527
- "316f7a71",
231645
+ "c8198e42",
231528
231646
  null
231529
231647
 
231530
231648
  )
@@ -233694,6 +233812,10 @@ BackgroundMixins = __decorate([vue_class_component_esm], BackgroundMixins);
233694
233812
 
233695
233813
 
233696
233814
 
233815
+
233816
+
233817
+
233818
+
233697
233819
  var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233698
233820
  (0,inherits/* default */.Z)(FontStyleMixin, _Vue);
233699
233821
 
@@ -233706,29 +233828,127 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233706
233828
 
233707
233829
  _this = _super.apply(this, arguments);
233708
233830
  _this.textStyle = {
233709
- font: "宋体",
233831
+ font: '宋体',
233710
233832
  size: 14,
233711
233833
  bold: false,
233712
233834
  italic: false,
233713
233835
  script: 0,
233714
233836
  underline: false,
233715
233837
  strikeout: false,
233716
- backColor: "transparent",
233717
- color: "#000000",
233838
+ backColor: 'transparent',
233839
+ color: '#000000',
233718
233840
  aligned: 'both',
233719
233841
  lineSpace: 1.25,
233720
233842
  canAddRow: false,
233721
233843
  canDeleteRow: false
233722
233844
  };
233723
- _this.aligned = ["left", "right", "center", "both"];
233845
+ _this.aligned = ['left', 'right', 'center', 'both'];
233724
233846
  return _this;
233725
233847
  }
233726
233848
 
233727
233849
  (0,createClass/* default */.Z)(FontStyleMixin, [{
233850
+ key: "getTableNodeInfo",
233851
+ value: function getTableNodeInfo(nodes) {
233852
+ var info = null;
233853
+
233854
+ var isFn = function isFn(nodes) {
233855
+ if ((nodes === null || nodes === void 0 ? void 0 : nodes.parentNode) !== null && nodes !== null && nodes !== void 0 && nodes.parentNode) {
233856
+ if (nodes.parentNode instanceof CellNode/* CellNode */.D) {
233857
+ info = {
233858
+ cellNode: nodes.parentNode,
233859
+ tableNode: nodes.parentNode.parentNode,
233860
+ colInfo: nodes.parentNode.table.colInfos[nodes.parentNode.row.indexOf(nodes.parentNode)],
233861
+ rowInfo: nodes.parentNode.table.rowInfos[nodes.parentNode.table.rows.indexOf(nodes.parentNode.row)]
233862
+ };
233863
+ } else {
233864
+ isFn(nodes.parentNode);
233865
+ }
233866
+ }
233867
+
233868
+ return;
233869
+ };
233870
+
233871
+ if (nodes instanceof CellNode/* CellNode */.D) {
233872
+ info = {
233873
+ cellNode: nodes,
233874
+ tableNode: nodes.parentNode,
233875
+ colInfo: nodes.table.colInfos[nodes.row.indexOf(nodes)],
233876
+ rowInfo: nodes.table.rowInfos[nodes.table.rows.indexOf(nodes.row)]
233877
+ };
233878
+ } else {
233879
+ isFn(nodes);
233880
+ }
233881
+
233882
+ return info;
233883
+ }
233884
+ }, {
233885
+ key: "createTable",
233886
+ value: function createTable(hoEditorFactory, nodes) {
233887
+ var tableNodeInfo = this.getTableNodeInfo(nodes === null || nodes === void 0 ? void 0 : nodes.node);
233888
+
233889
+ if (tableNodeInfo) {
233890
+ var _dPage$drawDomLevel;
233891
+
233892
+ var dPage = hoEditorFactory.drawTree.drawPages[hoEditorFactory.drawTree.caret.pageIndex];
233893
+ var dPageElementNode = (_dPage$drawDomLevel = dPage.drawDomLevel) === null || _dPage$drawDomLevel === void 0 ? void 0 : _dPage$drawDomLevel.domCanvas.parentElement;
233894
+ var tableBounds = {
233895
+ x: hoEditorFactory.pageProperty.leftMarginPixes + tableNodeInfo.tableNode.drawTable.x,
233896
+ y: 0,
233897
+ width: tableNodeInfo.tableNode.drawTable.dWidth,
233898
+ height: 0,
233899
+ cellWidth: tableNodeInfo === null || tableNodeInfo === void 0 ? void 0 : tableNodeInfo.cellNode.drawCell.dWidth,
233900
+ cellHeight: tableNodeInfo === null || tableNodeInfo === void 0 ? void 0 : tableNodeInfo.cellNode.drawCell.dHeight,
233901
+ cellY: 20,
233902
+ cellX: 0
233903
+ }; // 取当前页的表格 处理跨页情况
233904
+
233905
+ var drawPageTables = tableNodeInfo.tableNode.drawTable.drawPageTables;
233906
+ var drawPageCells = tableNodeInfo.cellNode.drawCell.drawPageCells;
233907
+ tableBounds.cellX = drawPageCells[0].x + 20;
233908
+ tableBounds.cellY = drawPageCells[0].y + 20;
233909
+ tableBounds.cellWidth = drawPageCells[0].dWidth;
233910
+ tableBounds.cellHeight = drawPageCells[0].dHeight;
233911
+ drawPageTables.forEach(function (v, key) {
233912
+ if (v.parent.pageIndex === dPage.drawMainDoc.pageIndex) {
233913
+ tableBounds.height = v.dHeight;
233914
+ tableBounds.y = dPage.drawMainDoc.y + v.dTop;
233915
+
233916
+ if (drawPageCells.length === drawPageTables.length) {
233917
+ tableBounds.cellHeight = drawPageCells[key].dHeight;
233918
+ }
233919
+ }
233920
+ });
233921
+ var aDiv = document.createElement('div');
233922
+ aDiv.id = 'ho_table_auxiliary';
233923
+ aDiv.style.position = 'absolute';
233924
+ aDiv.style.left = hoEditorFactory.pageProperty.leftMarginPixes - 20 + 'px';
233925
+ aDiv.style.top = tableBounds.y - 20 + 'px';
233926
+ aDiv.style.height = hoEditorFactory.pageProperty.heightPixes - tableBounds.y - hoEditorFactory.pageProperty.footerYPixes + 'px';
233927
+ aDiv.innerHTML = "\n <div id=\"ho_table_auxiliary_left\" style=\"height: ".concat(tableBounds.height, "px\"></div>\n <div id=\"ho_table_auxiliary_left_active\" style=\"height: ").concat(tableBounds.cellHeight, "px; top: ").concat(tableBounds.cellY, "px;\"></div>\n ");
233928
+ /**
233929
+ * 上方隐藏 只处理左侧提示
233930
+ `
233931
+ <div id="ho_table_auxiliary_top" style="width: ${tableBounds.width}px"></div>
233932
+ <div id="ho_table_auxiliary_top_active" style="width: ${tableBounds.cellWidth}px;left: ${tableBounds.cellX}px;"></div>
233933
+ `
233934
+ */
233935
+
233936
+ dPageElementNode === null || dPageElementNode === void 0 ? void 0 : dPageElementNode.appendChild(aDiv);
233937
+ }
233938
+ }
233939
+ }, {
233728
233940
  key: "setFontStyle",
233729
233941
  value: function setFontStyle(hoEditorFactory) {
233730
233942
  var _nodes$node;
233731
233943
 
233944
+ var elementNode = document.querySelector('#ho_table_auxiliary');
233945
+
233946
+ if (elementNode) {
233947
+ var _elementNode$parentEl;
233948
+
233949
+ (_elementNode$parentEl = elementNode.parentElement) === null || _elementNode$parentEl === void 0 ? void 0 : _elementNode$parentEl.removeChild(elementNode);
233950
+ }
233951
+
233732
233952
  var vueControllers = hoEditorFactory.vueController;
233733
233953
  var path = vueControllers.getCaretPosition();
233734
233954
  var nodes = vueControllers.findNodebyPath(path);
@@ -233759,6 +233979,10 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233759
233979
  };
233760
233980
  }
233761
233981
 
233982
+ if (hoEditorFactory.isCanUseTableProperty && nodes) {
233983
+ this.createTable(hoEditorFactory, nodes);
233984
+ }
233985
+
233762
233986
  vueControllers.getCurTextStyle();
233763
233987
  this.textStyle = _objectSpread2({
233764
233988
  font: vueControllers.combineStyle.font !== undefined ? vueControllers.combineStyle.font : this.textStyle.font,
@@ -234233,6 +234457,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
234233
234457
  return null;
234234
234458
  };
234235
234459
 
234460
+ nodeInfoes.isCanUseTableProperty = hoEditorFactory.isCanUseTableProperty;
234236
234461
  this.$emit('rightClickEvent', nodeInfoes);
234237
234462
  }
234238
234463
  /**
@@ -240188,7 +240413,8 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240188
240413
  _this$rightNode14,
240189
240414
  _this$rightNode15,
240190
240415
  _this$rightNode16,
240191
- _this$rightNode17;
240416
+ _this$rightNode17,
240417
+ _this$rightNode18;
240192
240418
 
240193
240419
  var h = arguments[0];
240194
240420
  return h("div", {
@@ -240308,7 +240534,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240308
240534
  return _this4.toUpdateNodes("text", event);
240309
240535
  }
240310
240536
  }
240311
- }, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$rightNode13 = this.rightNode) === null || _this$rightNode13 === void 0 ? void 0 : _this$rightNode13.rightTypeIsTable) && this.defaultTable && ((_this$rightNode14 = this.rightNode) === null || _this$rightNode14 === void 0 ? void 0 : _this$rightNode14.paintStatus) === 0 || this.emrDebug) && h("ul", {
240537
+ }, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$rightNode13 = this.rightNode) === null || _this$rightNode13 === void 0 ? void 0 : _this$rightNode13.rightTypeIsTable) && this.defaultTable && (((_this$rightNode14 = this.rightNode) === null || _this$rightNode14 === void 0 ? void 0 : _this$rightNode14.paintStatus) === 0 || ((_this$rightNode15 = this.rightNode) === null || _this$rightNode15 === void 0 ? void 0 : _this$rightNode15.isCanUseTableProperty)) || this.emrDebug) && h("ul", {
240312
240538
  "class": "mouse-right-menu"
240313
240539
  }, [h("li", {
240314
240540
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -240340,7 +240566,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240340
240566
  return _this4.toUpdateNodes("table-cell", event);
240341
240567
  }
240342
240568
  }
240343
- }, ["\u5355\u5143\u683C\u5C5E\u6027"])]), ((_this$rightNode15 = this.rightNode) === null || _this$rightNode15 === void 0 ? void 0 : _this$rightNode15.rightTypeIsTable) && this.defaultTable && h("ul", {
240569
+ }, ["\u5355\u5143\u683C\u5C5E\u6027"])]), ((_this$rightNode16 = this.rightNode) === null || _this$rightNode16 === void 0 ? void 0 : _this$rightNode16.rightTypeIsTable) && this.defaultTable && h("ul", {
240344
240570
  "class": "mouse-right-menu"
240345
240571
  }, [h("li", {
240346
240572
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -240354,7 +240580,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240354
240580
  table: this.defaultTable,
240355
240581
  tableProperty: this.rightNode.tableProperty
240356
240582
  })
240357
- })]), ((_this$rightNode16 = this.rightNode) === null || _this$rightNode16 === void 0 ? void 0 : _this$rightNode16.canShowComment) && h("ul", {
240583
+ })]), ((_this$rightNode17 = this.rightNode) === null || _this$rightNode17 === void 0 ? void 0 : _this$rightNode17.canShowComment) && h("ul", {
240358
240584
  "class": "mouse-right-menu"
240359
240585
  }, [h("li", {
240360
240586
  "class": "mouse-menu-item",
@@ -240363,7 +240589,7 @@ var HoRightMenu = /*#__PURE__*/function (_Mixins) {
240363
240589
  return _this4.hideComments();
240364
240590
  }
240365
240591
  }
240366
- }, [(_this$rightNode17 = this.rightNode) !== null && _this$rightNode17 !== void 0 && _this$rightNode17.isHideComments ? "显示" : "隐藏", "\u6279\u6CE8"])]), h("ul", {
240592
+ }, [(_this$rightNode18 = this.rightNode) !== null && _this$rightNode18 !== void 0 && _this$rightNode18.isHideComments ? "显示" : "隐藏", "\u6279\u6CE8"])]), h("ul", {
240367
240593
  "class": "mouse-right-menu"
240368
240594
  }, [h("li", {
240369
240595
  "class": "mouse-menu-item"