hoeditor-web 2.0.77 → 2.0.80

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.
@@ -13490,8 +13490,10 @@ var DocController = /*#__PURE__*/function () {
13490
13490
  hoEditorFactory.undoService.commit();
13491
13491
  } else {
13492
13492
  hoEditorFactory.undoService.begin();
13493
- hoEditorFactory.undoService.add(new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodesDeleteUndoUnit */ .F(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, oper === "update" ? true : false));
13493
+ var nodesDeleteUndoUnit = new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodesDeleteUndoUnit */ .F(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, oper === "update" ? true : false);
13494
+ hoEditorFactory.undoService.add(nodesDeleteUndoUnit);
13494
13495
  hoEditorFactory.undoService.commit();
13496
+ return nodesDeleteUndoUnit.isError;
13495
13497
  }
13496
13498
  } //插入节点到指定位置
13497
13499
 
@@ -13511,18 +13513,23 @@ var DocController = /*#__PURE__*/function () {
13511
13513
  }
13512
13514
  }
13513
13515
 
13516
+ var isError;
13517
+
13514
13518
  if (!curRange.isEmpty) {
13515
- this.deleteRange(curRange, true, "update"); //删除选中节点
13519
+ isError = this.deleteRange(curRange, true, isResetFieldText ? "update" : undefined); //删除选中节点
13516
13520
  }
13517
13521
 
13518
- if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
13519
- path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
13520
- }
13522
+ if (!isError) {
13523
+ if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
13524
+ path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
13525
+ }
13521
13526
 
13522
- hoEditorFactory.undoService.begin(); // this.insertNodeByPath(textNode,this._curNodePosition.path);
13527
+ hoEditorFactory.undoService.begin(); // this.insertNodeByPath(textNode,this._curNodePosition.path);
13528
+
13529
+ hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_25__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, path, node));
13530
+ hoEditorFactory.undoService.commit();
13531
+ }
13523
13532
 
13524
- hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_25__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, path, node));
13525
- hoEditorFactory.undoService.commit();
13526
13533
  return hoEditorFactory.docTree.curDomRange.startPath;
13527
13534
  }
13528
13535
  /**
@@ -14772,13 +14779,16 @@ var DocController = /*#__PURE__*/function () {
14772
14779
  var values = valuesObject;
14773
14780
 
14774
14781
  if (Number(values["inputFieldType"]) === 1) {
14775
- if (node.text !== "") {
14782
+ if (node.keyValue !== "") {
14776
14783
  node.childNodes.splice(1, node.childNodes.length - 2);
14777
14784
  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);
14778
14785
  node.childNodes.splice(1, 0, textNode); //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
14779
-
14780
- changeEvent.afterChangePath = ePath;
14786
+ } else {
14787
+ node.childNodes.splice(1, node.childNodes.length - 2);
14788
+ node.childNodes.splice(1, 0, node.childNodes2[1]);
14781
14789
  }
14790
+
14791
+ changeEvent.afterChangePath = ePath;
14782
14792
  } else {
14783
14793
  //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
14784
14794
  changeEvent.afterChangePath = ePath;
@@ -14786,11 +14796,9 @@ var DocController = /*#__PURE__*/function () {
14786
14796
 
14787
14797
  hoEditorFactory.docTree.change(changeEvent);
14788
14798
  node.update();
14789
- var pnode = node.parentNode;
14790
-
14791
- if (pnode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_46__/* .TextInputFieldNode */ .re) {
14792
- pnode.update();
14793
- }
14799
+ var pnode = node.parentNode; // if (pnode instanceof TextInputFieldNode) {
14800
+ // pnode.update();
14801
+ // }
14794
14802
 
14795
14803
  do {
14796
14804
  var _pnode;
@@ -14805,10 +14813,15 @@ var DocController = /*#__PURE__*/function () {
14805
14813
  } while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
14806
14814
 
14807
14815
  if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14808
- //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14809
- if (pnode.drawCell.drawPageCells.length > 1) {
14816
+ if (Number(values["inputFieldType"]) === 1) {
14810
14817
  pnode.drawCell.needUpdate = true;
14811
14818
  pnode.table.update();
14819
+ } else {
14820
+ //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14821
+ if (pnode.drawCell.drawPageCells.length > 1) {
14822
+ pnode.drawCell.needUpdate = true;
14823
+ pnode.table.update();
14824
+ }
14812
14825
  }
14813
14826
  }
14814
14827
 
@@ -25558,7 +25571,7 @@ var BaseNode = /*#__PURE__*/function () {
25558
25571
  /* harmony import */ var element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1__);
25559
25572
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(37174);
25560
25573
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35671);
25561
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(22342);
25574
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(22342);
25562
25575
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(99640);
25563
25576
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28214);
25564
25577
  /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38862);
@@ -25579,32 +25592,37 @@ var BaseNode = /*#__PURE__*/function () {
25579
25592
  /* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_13__);
25580
25593
  /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(54747);
25581
25594
  /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__);
25582
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(74916);
25583
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__);
25584
- /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(23123);
25585
- /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16__);
25586
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26699);
25587
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_17__);
25588
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(32023);
25589
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__);
25590
- /* harmony import */ var _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(10863);
25591
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(34534);
25592
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(41005);
25593
- /* harmony import */ var _plugins_type__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(28349);
25594
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(23375);
25595
- /* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(66828);
25596
- /* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(2242);
25597
- /* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(68183);
25598
- /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(8);
25599
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(50369);
25600
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(8395);
25601
- /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(15868);
25602
- /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(14208);
25603
- /* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(27807);
25604
- /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(34450);
25605
- /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(95883);
25606
- /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(34565);
25607
- /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(91538);
25595
+ /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(68309);
25596
+ /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_15__);
25597
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(74916);
25598
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__);
25599
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(23123);
25600
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17__);
25601
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26699);
25602
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18__);
25603
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(32023);
25604
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__);
25605
+ /* harmony import */ var _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(10863);
25606
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(34534);
25607
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(41005);
25608
+ /* harmony import */ var _plugins_type__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(28349);
25609
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(23375);
25610
+ /* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(66828);
25611
+ /* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(2242);
25612
+ /* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(68183);
25613
+ /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(8);
25614
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(50369);
25615
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(8395);
25616
+ /* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(36395);
25617
+ /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(15868);
25618
+ /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(14208);
25619
+ /* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(27807);
25620
+ /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(34450);
25621
+ /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(95883);
25622
+ /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(34565);
25623
+ /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(91538);
25624
+
25625
+
25608
25626
 
25609
25627
 
25610
25628
 
@@ -25681,7 +25699,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25681
25699
 
25682
25700
  (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(this, CellNode);
25683
25701
 
25684
- _this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType.ntCell */ .Jq.ntCell);
25702
+ _this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType.ntCell */ .Jq.ntCell);
25685
25703
  _this._hoEditorFactoryID = hoEditorFactoryID;
25686
25704
  _this._borderVisible = [true, true, true, true];
25687
25705
  _this._crossLineType = CrossLineType.ctNone;
@@ -25697,7 +25715,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25697
25715
  return _this;
25698
25716
  }
25699
25717
 
25700
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_37__/* ["default"] */ .Z)(CellNode, [{
25718
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .Z)(CellNode, [{
25701
25719
  key: "drawCell",
25702
25720
  get: function get() {
25703
25721
  return this._drawCell;
@@ -25840,7 +25858,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25840
25858
  }, {
25841
25859
  key: "initBlankDoc",
25842
25860
  value: function initBlankDoc() {
25843
- var aparagraph = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C(this._hoEditorFactoryID, this.rootNodes, this, 0);
25861
+ var aparagraph = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C(this._hoEditorFactoryID, this.rootNodes, this, 0);
25844
25862
  aparagraph.node2DrawNode();
25845
25863
 
25846
25864
  this._childNodes.push(aparagraph);
@@ -25860,7 +25878,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25860
25878
  key: "placeDNodeAfterDTop",
25861
25879
  value: function placeDNodeAfterDTop(droots, dTop) {
25862
25880
  var paragraphNode = this.childNodes[0];
25863
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25881
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25864
25882
  var aline = paragraphNode.drawlines[0];
25865
25883
  hoEditorFactory.drawTree.drawDocInsert(paragraphNode, 0, paragraphNode, -1, hoEditorFactory.docTree.getNodeLastPath(this));
25866
25884
 
@@ -25900,7 +25918,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25900
25918
  value: function updateWidth(awidth) {
25901
25919
  this.drawCell.dWidth = awidth; // (this.childNodes[0] as ParagraphNode).drawlines[0].dWidth = awidth;
25902
25920
 
25903
- _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.clearDrawContainer(this.drawCell.drawLines);
25921
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.clearDrawContainer(this.drawCell.drawLines);
25904
25922
  this._drawCell.drawLines.length = 0;
25905
25923
  this.childNodes[0].node2DrawNode();
25906
25924
  this.drawCell.drawLines.push(this.childNodes[0].drawlines[0]);
@@ -25918,15 +25936,15 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25918
25936
  }, {
25919
25937
  key: "redrawCell",
25920
25938
  value: function redrawCell(repaintInmediate, action) {
25921
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25939
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25922
25940
 
25923
25941
  if (repaintInmediate) {
25924
- var dcChangeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, action, hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]), hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]));
25942
+ var dcChangeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_21__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, action, hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]), hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]));
25925
25943
 
25926
- if (action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daDelete */ .gk.daDelete || action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daModifyStyle */ .gk.daModifyStyle) {
25944
+ if (action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daDelete */ .gk.daDelete || action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daModifyStyle */ .gk.daModifyStyle) {
25927
25945
  dcChangeEvent.oldEndPath = hoEditorFactory.docTree.getNodeLastPath(this);
25928
25946
 
25929
- if (action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daDelete */ .gk.daDelete) {
25947
+ if (action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daDelete */ .gk.daDelete) {
25930
25948
  dcChangeEvent.oldDrawTreeLines = this._table.drawTable.getCellsDrawTreeLines([this]);
25931
25949
  } else {
25932
25950
  dcChangeEvent.oldDrawLines = this._table.drawTable.getCellsDrawLines([this]);
@@ -25980,7 +25998,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25980
25998
  }
25981
25999
 
25982
26000
  aHeight += this._rowSpan;
25983
- this._drawCell = new _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_19__/* .DrawCell */ .y(this._hoEditorFactoryID, this, 0, aWidth, aHeight);
26001
+ this._drawCell = new _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_20__/* .DrawCell */ .y(this._hoEditorFactoryID, this, 0, aWidth, aHeight);
25984
26002
 
25985
26003
  this._drawNodes.push(this._drawCell); // this._drawCell.drawLines.push(
25986
26004
  // (this._childNodes[0] as ParagraphNode).drawlines[0]
@@ -26000,7 +26018,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26000
26018
  }, {
26001
26019
  key: "range",
26002
26020
  value: function range() {
26003
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26021
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26004
26022
  var spath = hoEditorFactory.docTree.getNodeFirstPath(this);
26005
26023
  var epath = hoEditorFactory.docTree.getNodeLastPath(this);
26006
26024
  return {
@@ -26020,9 +26038,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26020
26038
  var node = this.childNodes[i];
26021
26039
  var nodeJson = void 0;
26022
26040
 
26023
- if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh || node instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__/* .TextInputFieldNode */ .re) {
26041
+ if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh || node instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__/* .TextInputFieldNode */ .re) {
26024
26042
  nodeJson = node.node2Json(undefined, isCopy, type, clearSign);
26025
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N) {
26043
+ } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N) {
26026
26044
  if (clearSign) {
26027
26045
  if (node.isTemplate) {
26028
26046
  nodeJson = node.node2Json(undefined, isCopy, undefined, clearSign);
@@ -26031,10 +26049,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26031
26049
  nodeJson = node.node2Json(undefined, isCopy);
26032
26050
  }
26033
26051
  } else {
26034
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26052
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26035
26053
  if (node.text !== "") {
26036
26054
  nodeJson = node.node2Json(undefined, isCopy);
26037
26055
  }
26056
+ } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__/* .DateTimeNode */ .Z) {
26057
+ nodeJson = node.node2Json(undefined, isCopy, undefined, clearSign);
26038
26058
  } else {
26039
26059
  nodeJson = node.node2Json(undefined, isCopy);
26040
26060
  }
@@ -26131,9 +26151,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26131
26151
  }
26132
26152
  }
26133
26153
 
26134
- var cellText = this.getCellText();
26154
+ var cellText = this.getCellText(clearSign);
26135
26155
  return {
26136
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType */ .Jq[this.nodeType],
26156
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType */ .Jq[this.nodeType],
26137
26157
  borderVisible: this.borderVisible.toString(),
26138
26158
  crossLineType: CrossLineType[this.crossLineType],
26139
26159
  rowSpan: this.rowSpan,
@@ -26183,12 +26203,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26183
26203
  newRange = arange.normalize();
26184
26204
  }
26185
26205
 
26186
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26206
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26187
26207
  var startPath = hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]);
26188
26208
  var lastPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]);
26189
26209
 
26190
- if (_NodePosition__WEBPACK_IMPORTED_MODULE_25__/* .NodePosition.pathCanCompare */ .F.pathCanCompare(newRange.startPath, startPath)) {
26191
- ret = _NodePosition__WEBPACK_IMPORTED_MODULE_25__/* .NodePosition.treePathCompare */ .F.treePathCompare(startPath, newRange.startPath) >= 0 && _NodePosition__WEBPACK_IMPORTED_MODULE_25__/* .NodePosition.treePathCompare */ .F.treePathCompare(lastPath, arange.endPath) <= 0;
26210
+ if (_NodePosition__WEBPACK_IMPORTED_MODULE_26__/* .NodePosition.pathCanCompare */ .F.pathCanCompare(newRange.startPath, startPath)) {
26211
+ ret = _NodePosition__WEBPACK_IMPORTED_MODULE_26__/* .NodePosition.treePathCompare */ .F.treePathCompare(startPath, newRange.startPath) >= 0 && _NodePosition__WEBPACK_IMPORTED_MODULE_26__/* .NodePosition.treePathCompare */ .F.treePathCompare(lastPath, arange.endPath) <= 0;
26192
26212
  }
26193
26213
 
26194
26214
  return ret;
@@ -26196,12 +26216,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26196
26216
  }, {
26197
26217
  key: "getNodesForUpdate",
26198
26218
  value: function getNodesForUpdate() {
26199
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26219
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26200
26220
  var ret = new Array();
26201
26221
 
26202
26222
  for (var i = 0; i < this._childNodes.length; i++) {
26203
- if (this._childNodes[i] instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh) {
26204
- var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(this._childNodes[i]), hoEditorFactory.docTree.getNodeLastPath(this._childNodes[i]));
26223
+ if (this._childNodes[i] instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh) {
26224
+ var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(this._childNodes[i]), hoEditorFactory.docTree.getNodeLastPath(this._childNodes[i]));
26205
26225
  ret = ret.concat(this._childNodes[i].getSelectNodesForUpdate(domRange, true));
26206
26226
  } else ret.push(this._childNodes[i]);
26207
26227
  }
@@ -26211,16 +26231,16 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26211
26231
  }, {
26212
26232
  key: "getSelectNodes",
26213
26233
  value: function getSelectNodes(bSplitTextInputNode) {
26214
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26234
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26215
26235
  var ret = new Array();
26216
26236
 
26217
26237
  for (var i = 0; i < this._childNodes.length; i++) {
26218
26238
  var aNode = this._childNodes[i];
26219
26239
 
26220
- if (aNode instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh) {
26221
- var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(aNode), hoEditorFactory.docTree.getNodeLastPath(aNode));
26240
+ if (aNode instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh) {
26241
+ var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(aNode), hoEditorFactory.docTree.getNodeLastPath(aNode));
26222
26242
  ret = ret.concat(aNode.getSelectNodes(domRange, true, bSplitTextInputNode));
26223
- } else if (bSplitTextInputNode && aNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__/* .TextInputFieldNode */ .re) {
26243
+ } else if (bSplitTextInputNode && aNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__/* .TextInputFieldNode */ .re) {
26224
26244
  ret = ret.concat(aNode.getAllChildNodes());
26225
26245
  } else ret.push(this._childNodes[i]);
26226
26246
  }
@@ -26241,19 +26261,23 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26241
26261
 
26242
26262
  }, {
26243
26263
  key: "getCellText",
26244
- value: function getCellText() {
26264
+ value: function getCellText(isClearValue) {
26245
26265
  var cellText = "";
26246
26266
 
26247
26267
  var loopChildNodes = function loopChildNodes(node) {
26248
26268
  var nodes = node.childNodes.slice(1);
26249
26269
  nodes.forEach(function (childNode) {
26250
- if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26251
- cellText += childNode.text;
26252
- } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_29__/* .ControlNode */ .w) {
26270
+ if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26253
26271
  cellText += childNode.text;
26254
- } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_27__/* .BaseCombineNode */ .V) {
26272
+ } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w) {
26273
+ if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
26274
+ cellText += "";
26275
+ } else {
26276
+ cellText += childNode.text;
26277
+ }
26278
+ } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_28__/* .BaseCombineNode */ .V) {
26255
26279
  loopChildNodes(childNode);
26256
- } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C) {
26280
+ } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C) {
26257
26281
  cellText += '\n';
26258
26282
  }
26259
26283
  });
@@ -26264,13 +26288,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26264
26288
  }
26265
26289
  }, {
26266
26290
  key: "setCellText",
26267
- value: function setCellText(value) {
26291
+ value: function setCellText(value, isPaste) {
26268
26292
  var colIndex = this.row.indexOf(this);
26269
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26293
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26270
26294
  var colProperty = this.table.colInfos[colIndex].colProperty;
26271
26295
 
26272
- if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .EditorProperty.Number */ .YS.Number) {
26273
- if (!(0,_plugins_type__WEBPACK_IMPORTED_MODULE_22__/* .isNumber */ .hj)(value)) {
26296
+ if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .EditorProperty.Number */ .YS.Number) {
26297
+ if (!(0,_plugins_type__WEBPACK_IMPORTED_MODULE_23__/* .isNumber */ .hj)(value)) {
26274
26298
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("输入值非数值类型,请重输!", "提示");
26275
26299
 
26276
26300
  return;
@@ -26304,22 +26328,27 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26304
26328
  var endPath = "";
26305
26329
  var startPath = "";
26306
26330
 
26307
- if (this.table.tableProperty.isAutoChangeLine) {
26308
- var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
26331
+ if (isPaste) {
26332
+ startPath = "".concat(this.getNodePath(), "/0");
26333
+ endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26334
+ } else {
26335
+ if (this.table.tableProperty.isAutoChangeLine) {
26336
+ var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
26309
26337
 
26310
- if (curDomRange.npEnd.node instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C) {
26311
- startPath = curDomRange.startPath;
26312
- endPath = startPath;
26338
+ if (curDomRange.npEnd.node instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C) {
26339
+ startPath = curDomRange.startPath;
26340
+ endPath = startPath;
26341
+ } else {
26342
+ startPath = curDomRange.npEnd.node.prevSibling().getNodePath();
26343
+ endPath = hoEditorFactory.docTree.getNodeLastPath(curDomRange.npEnd.node);
26344
+ }
26313
26345
  } else {
26314
- startPath = curDomRange.npEnd.node.prevSibling().getNodePath();
26315
- endPath = hoEditorFactory.docTree.getNodeLastPath(curDomRange.npEnd.node);
26346
+ startPath = "".concat(this.getNodePath(), "/0");
26347
+ endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26316
26348
  }
26317
- } else {
26318
- startPath = "".concat(this.getNodePath(), "/0");
26319
- endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26320
26349
  }
26321
26350
 
26322
- var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
26351
+ var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
26323
26352
  hoEditorFactory.docController.deleteRange(aRange, true);
26324
26353
  hoEditorFactory.docController.insertPlainTextAfterPath(startPath, value);
26325
26354
  }
@@ -26365,23 +26394,23 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26365
26394
  }, {
26366
26395
  key: "needPaintLineGrid",
26367
26396
  value: function needPaintLineGrid() {
26368
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26397
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26369
26398
 
26370
26399
  var _this$table$getCellIn = this.table.getCellInfos(this),
26371
26400
  _this$table$getCellIn2 = (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this$table$getCellIn, 2),
26372
26401
  r = _this$table$getCellIn2[0],
26373
26402
  c = _this$table$getCellIn2[1];
26374
26403
 
26375
- return (hoEditorFactory.docTree.docProperty.type === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .EmrType.etForm */ .Fr.etForm || this.table.tableProperty.isAutoChangeLine) && !this.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && this.cellProperty.align !== _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .VAlign.vacenter */ .TR.vacenter;
26404
+ return (hoEditorFactory.docTree.docProperty.type === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .EmrType.etForm */ .Fr.etForm || this.table.tableProperty.isAutoChangeLine) && !this.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && this.cellProperty.align !== _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .VAlign.vacenter */ .TR.vacenter;
26376
26405
  }
26377
26406
  }], [{
26378
26407
  key: "json2Node",
26379
26408
  value: function json2Node(hoEditorFactoryID, json, rootNodes, tableNode, aRow, rowsMap, rows, defaultCellProperty, isPaste, isClearSign) {
26380
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
26409
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
26381
26410
  var rowNo = parseInt(json.rowNo);
26382
26411
  var colNo = parseInt(json.colNo);
26383
26412
  aRow = rowsMap.get(rowNo);
26384
- var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .CellProperty */ .$W(""));
26413
+ var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .CellProperty */ .$W(""));
26385
26414
  var cellProperty = json.cellProperty;
26386
26415
 
26387
26416
  if (cellProperty === "") {
@@ -26409,9 +26438,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26409
26438
  target[value] = Number(source[value]);
26410
26439
  } else {
26411
26440
  if (value === "dateTimeProperty") {
26412
- cellNode.cellProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .DateTimeProperty */ .Ks(source[value]);
26441
+ cellNode.cellProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .DateTimeProperty */ .Ks(source[value]);
26413
26442
  } else if (value === "downListProperty") {
26414
- cellNode.cellProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .ColDownListProperty */ .cW(source[value]);
26443
+ cellNode.cellProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .ColDownListProperty */ .cW(source[value]);
26415
26444
  } else {
26416
26445
  target[value] = source[value];
26417
26446
  }
@@ -26450,13 +26479,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26450
26479
  var convertNode = hoEditorFactory.structureConvert.convertNode(item[j], rootNodes, cellNode, undefined, isPaste, isClearSign);
26451
26480
 
26452
26481
  if (convertNode) {
26453
- if (convertNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26482
+ if (convertNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26454
26483
  if (convertNode.text !== "") {
26455
26484
  cellNode.addChild(convertNode);
26456
26485
  }
26457
26486
  } else {
26458
26487
  if (isClearSign) {
26459
- if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N) {
26488
+ if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N) {
26460
26489
  if (convertNode.isTemplate) {
26461
26490
  cellNode.addChild(convertNode);
26462
26491
  }
@@ -26469,11 +26498,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26469
26498
  }
26470
26499
  }
26471
26500
 
26472
- if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_30__/* .MarkNode */ .j) {
26501
+ if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_32__/* .MarkNode */ .j) {
26473
26502
  hoEditorFactory.structureConvert._markNodes.push(convertNode);
26474
26503
  }
26475
26504
 
26476
- if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(convertNode.customProperty.bce01)) {
26505
+ if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(convertNode.customProperty.bce01)) {
26477
26506
  hoEditorFactory.structureConvert._superiorSign[0] = convertNode;
26478
26507
  }
26479
26508
  }
@@ -26519,16 +26548,16 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26519
26548
 
26520
26549
  if (text !== "") {
26521
26550
  var textArr = text.split("\n");
26522
- var firstTextNode = new _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, cellNode, _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType.ntText */ .Jq.ntText, textArr[0], Number(paraNode.textStyleNo ? paraNode.textStyleNo : 0));
26551
+ var firstTextNode = new _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, cellNode, _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType.ntText */ .Jq.ntText, textArr[0], Number(paraNode.textStyleNo ? paraNode.textStyleNo : 0));
26523
26552
  cellNode.addChild(firstTextNode);
26524
26553
 
26525
26554
  if (textArr.length > 1) {
26526
26555
  for (var i = 1; i < textArr.length; i++) {
26527
- var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, cellNode, Number(paraNode.styleIndex));
26556
+ var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, cellNode, Number(paraNode.styleIndex));
26528
26557
  cellNode.addChild(paragraNode);
26529
26558
 
26530
26559
  if (textArr[i] !== "") {
26531
- var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, cellNode, _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType.ntText */ .Jq.ntText, textArr[i], Number(paraNode.textStyleNo ? paraNode.textStyleNo : 0));
26560
+ var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, cellNode, _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType.ntText */ .Jq.ntText, textArr[i], Number(paraNode.textStyleNo ? paraNode.textStyleNo : 0));
26532
26561
  cellNode.addChild(textNode);
26533
26562
  }
26534
26563
  }
@@ -26546,7 +26575,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26546
26575
  }]);
26547
26576
 
26548
26577
  return CellNode;
26549
- }(_RectNode__WEBPACK_IMPORTED_MODULE_32__/* .RectNode */ .z);
26578
+ }(_RectNode__WEBPACK_IMPORTED_MODULE_34__/* .RectNode */ .z);
26550
26579
 
26551
26580
  /***/ }),
26552
26581
 
@@ -27235,7 +27264,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27235
27264
  }
27236
27265
  }, {
27237
27266
  key: "node2Json",
27238
- value: function node2Json(range, isCopy, type) {
27267
+ value: function node2Json(range, isCopy, type, isClearValue) {
27239
27268
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27240
27269
  var retObj = {
27241
27270
  nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
@@ -27250,7 +27279,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27250
27279
  isSynchro: this.isSynchro,
27251
27280
  controlStyle: this.controlStyle.replace("hh", "HH"),
27252
27281
  name: this.name,
27253
- text: this.text === this.name ? "" : this.text,
27282
+ text: isClearValue || this.text === this.name ? "" : this.text,
27254
27283
  labelText: this.labelText,
27255
27284
  title: this.title,
27256
27285
  styleIndex: this.styleIndex,
@@ -37422,6 +37451,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
37422
37451
 
37423
37452
  if (isCopy) {
37424
37453
  rows = pto.row;
37454
+ cols = pto.col;
37425
37455
 
37426
37456
  if (to.colSpan > 1) {
37427
37457
  cols = pto.col + to.colSpan - 1;
@@ -38761,7 +38791,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38761
38791
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(99640);
38762
38792
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28214);
38763
38793
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(35671);
38764
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(22342);
38794
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(22342);
38765
38795
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(68309);
38766
38796
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__);
38767
38797
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(41539);
@@ -38806,19 +38836,20 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38806
38836
  /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(8);
38807
38837
  /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(50369);
38808
38838
  /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(8395);
38809
- /* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(50161);
38810
- /* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(84844);
38811
- /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(15868);
38812
- /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(8623);
38813
- /* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(97724);
38814
- /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(14208);
38815
- /* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(85028);
38816
- /* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(91715);
38817
- /* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(43010);
38818
- /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(34450);
38819
- /* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(39869);
38820
- /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(95883);
38821
- /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(91538);
38839
+ /* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(36395);
38840
+ /* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(50161);
38841
+ /* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(84844);
38842
+ /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(15868);
38843
+ /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(8623);
38844
+ /* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(97724);
38845
+ /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(14208);
38846
+ /* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(85028);
38847
+ /* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(91715);
38848
+ /* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(43010);
38849
+ /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(34450);
38850
+ /* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(39869);
38851
+ /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(95883);
38852
+ /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(91538);
38822
38853
 
38823
38854
 
38824
38855
 
@@ -38851,7 +38882,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38851
38882
  /*
38852
38883
  * @Author: your name
38853
38884
  * @Date: 2020-11-03 15:17:54
38854
- * @LastEditTime: 2022-07-28 09:25:18
38885
+ * @LastEditTime: 2022-07-29 14:35:30
38855
38886
  * @LastEditors: liyanan 2441631434@qq.com
38856
38887
  * @Description: In User Settings Edit
38857
38888
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -38881,6 +38912,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38881
38912
 
38882
38913
 
38883
38914
 
38915
+
38884
38916
 
38885
38917
 
38886
38918
  var ReadOnlyStatus;
@@ -38939,7 +38971,7 @@ var DownListProperty = /*#__PURE__*/function () {
38939
38971
  DownListProperty.setDefaultImportStyle(this);
38940
38972
  }
38941
38973
 
38942
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(DownListProperty, [{
38974
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(DownListProperty, [{
38943
38975
  key: "allowMultiSelected",
38944
38976
  get: function get() {
38945
38977
  return this._allowMultiSelected;
@@ -39034,7 +39066,7 @@ var DataVerifyFormat = /*#__PURE__*/function () {
39034
39066
  DataVerifyFormat.setDefaultDataVerifyFormat(this);
39035
39067
  }
39036
39068
 
39037
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(DataVerifyFormat, [{
39069
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(DataVerifyFormat, [{
39038
39070
  key: "mustInputValue",
39039
39071
  get: function get() {
39040
39072
  return this._mustInputValue;
@@ -39142,7 +39174,7 @@ var BandDataSource = /*#__PURE__*/function () {
39142
39174
  BandDataSource.setDefaultBandDataSource(this);
39143
39175
  }
39144
39176
 
39145
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(BandDataSource, [{
39177
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(BandDataSource, [{
39146
39178
  key: "dataSourceEnabled",
39147
39179
  get: function get() {
39148
39180
  return this._dataSourceEnabled;
@@ -39416,7 +39448,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39416
39448
  */
39417
39449
 
39418
39450
 
39419
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(TextInputFieldNode, [{
39451
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(TextInputFieldNode, [{
39420
39452
  key: "alignWithBlocked",
39421
39453
  get: function get() {
39422
39454
  return this._alignWithBlocked;
@@ -39900,7 +39932,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39900
39932
 
39901
39933
  }, {
39902
39934
  key: "getFieldText",
39903
- value: function getFieldText() {
39935
+ value: function getFieldText(isClearValue) {
39904
39936
  var _this3 = this;
39905
39937
 
39906
39938
  var text = "";
@@ -39908,7 +39940,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39908
39940
  var loopChildNodes = function loopChildNodes(node) {
39909
39941
  var nodes = node.childNodes.slice(1);
39910
39942
  nodes.forEach(function (childNode) {
39911
- if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
39943
+ if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
39912
39944
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3.hoEditorFactoryID);
39913
39945
  var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
39914
39946
 
@@ -39921,22 +39953,26 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39921
39953
  text += childNode.text;
39922
39954
  }
39923
39955
  } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_38__/* .ControlNode */ .w) {
39924
- text += childNode.text;
39956
+ if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
39957
+ text += "";
39958
+ } else {
39959
+ text += childNode.text;
39960
+ }
39925
39961
  } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_36__/* .BaseCombineNode */ .V) {
39926
39962
  loopChildNodes(childNode);
39927
- } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C) {
39963
+ } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C) {
39928
39964
  text += '\n';
39929
- } else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_42__/* .MedicalExpressionNode */ .H) {
39965
+ } else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_43__/* .MedicalExpressionNode */ .H) {
39930
39966
  var expressJson = JSON.parse("{}");
39931
39967
  text += "<MedicalExpress>";
39932
39968
 
39933
- if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__/* .MenstrualHistoryNode */ .n) {
39969
+ if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__/* .MenstrualHistoryNode */ .n) {
39934
39970
  expressJson.expressStyle = childNode.expressStyle;
39935
39971
  expressJson.menseDays = childNode.menseDays;
39936
39972
  expressJson.cycleDays = childNode.cycleDays;
39937
39973
  expressJson.menarcheAge = childNode.menarcheAge;
39938
39974
  expressJson.menoPauseAge = childNode.menoPauseAge;
39939
- } else if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PupilMapNode */ .v || childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__/* .LightLocationMapNode */ .D || childNode instanceof _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_39__/* .FetalHeartMapNode */ .t) {
39975
+ } else if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PupilMapNode */ .v || childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__/* .LightLocationMapNode */ .D || childNode instanceof _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_40__/* .FetalHeartMapNode */ .t) {
39940
39976
  expressJson.value1 = childNode.value1;
39941
39977
  expressJson.value2 = childNode.value2;
39942
39978
  expressJson.value3 = childNode.value3;
@@ -39944,10 +39980,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39944
39980
  expressJson.value5 = childNode.value5;
39945
39981
  expressJson.value6 = childNode.value6;
39946
39982
 
39947
- if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PupilMapNode */ .v) {
39983
+ if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PupilMapNode */ .v) {
39948
39984
  expressJson.expressStyle = "PupilMapNode";
39949
39985
  expressJson.value7 = childNode.value7;
39950
- } else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__/* .LightLocationMapNode */ .D) {
39986
+ } else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__/* .LightLocationMapNode */ .D) {
39951
39987
  expressJson.expressStyle = "LightLocationMapNode";
39952
39988
  expressJson.value7 = childNode.value7;
39953
39989
  expressJson.value8 = childNode.value8;
@@ -39955,12 +39991,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39955
39991
  } else {
39956
39992
  expressJson.expressStyle = "FetalHeartMapNode";
39957
39993
  }
39958
- } else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PrimaryTeethMapNode */ .x) {
39959
- if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__/* .PermanentTeethMapNode */ .f) {
39994
+ } else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PrimaryTeethMapNode */ .x) {
39995
+ if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PermanentTeethMapNode */ .f) {
39960
39996
  expressJson.expressStyle = "PermanentTeethMapNode";
39961
39997
  }
39962
39998
 
39963
- if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PrimaryTeethMapNode */ .x) {
39999
+ if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PrimaryTeethMapNode */ .x) {
39964
40000
  expressJson.expressStyle = "PrimaryTeethMapNode";
39965
40001
  }
39966
40002
 
@@ -40023,7 +40059,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40023
40059
  this.keyValue = keyValue;
40024
40060
  }
40025
40061
 
40026
- if (!(value === "" && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j)) {
40062
+ if (!(value === "" && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j)) {
40027
40063
  _context2.next = 4;
40028
40064
  break;
40029
40065
  }
@@ -40038,7 +40074,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40038
40074
  endPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]);
40039
40075
  aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_34__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
40040
40076
 
40041
- if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) && this.inputFieldType === 0) {
40077
+ if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) && this.inputFieldType === 0) {
40042
40078
  anodes = _DomRange__WEBPACK_IMPORTED_MODULE_34__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this.hoEditorFactoryID, startPath, endPath);
40043
40079
 
40044
40080
  for (i = 0; i < anodes.length; i++) {
@@ -40057,7 +40093,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40057
40093
  break;
40058
40094
  }
40059
40095
 
40060
- markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent);
40096
+ markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent);
40061
40097
  hoEditorFactory.undoService.begin();
40062
40098
  hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_31__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
40063
40099
  hoEditorFactory.undoService.commit();
@@ -40136,19 +40172,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40136
40172
  // index = astyle.changeStyleString("fontBackColor", "transparent");
40137
40173
  // }
40138
40174
 
40139
- this.StartMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMark */ .Jq.ntMark, "|", index, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtStart */ .q.mtStart);
40175
+ this.StartMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMark */ .Jq.ntMark, "|", index, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtStart */ .q.mtStart);
40140
40176
  this.StartMarkNode.isReadOnly = true;
40141
- this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtStart */ .q.mtStart;
40142
- this.EndMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMark */ .Jq.ntMark, "]", index, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd);
40177
+ this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtStart */ .q.mtStart;
40178
+ this.EndMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMark */ .Jq.ntMark, "]", index, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd);
40143
40179
  this.EndMarkNode.isReadOnly = true;
40144
- this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd;
40180
+ this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd;
40145
40181
  this.StartMarkNode.pair = this.EndMarkNode;
40146
40182
  this.EndMarkNode.pair = this.StartMarkNode;
40147
40183
 
40148
40184
  this._childNodes2.push(this.StartMarkNode);
40149
40185
 
40150
40186
  if (this.labelText.length != 0) {
40151
- this._childNodes2.push(new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.labelText, index, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent)); // this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
40187
+ this._childNodes2.push(new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.labelText, index, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent)); // this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
40152
40188
  // this._childNodes2.push(this._labelNode);
40153
40189
 
40154
40190
  }
@@ -40162,7 +40198,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40162
40198
  this.childNodes.splice(1, 1);
40163
40199
  }
40164
40200
 
40165
- this._childNodes.splice(1, 0, new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.text, index));
40201
+ this._childNodes.splice(1, 0, new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.text, index));
40166
40202
  }
40167
40203
  }
40168
40204
  }, {
@@ -40205,7 +40241,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40205
40241
  for (var index = 0; index < this.childNodes.length; index++) {
40206
40242
  var value = this.childNodes[index];
40207
40243
 
40208
- if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C) {
40244
+ if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C) {
40209
40245
  if (aline.paragraphNode !== value) {
40210
40246
  if (aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_25__/* .DrawLine */ .a) {
40211
40247
  aline.fitLines();
@@ -40222,7 +40258,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40222
40258
 
40223
40259
  paraNode = value;
40224
40260
  aline = paraNode.drawlines[0];
40225
- } else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_50__/* .TableNode */ .Fh) {
40261
+ } else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_51__/* .TableNode */ .Fh) {
40226
40262
  value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
40227
40263
  aline = value.drawTable;
40228
40264
  } else {
@@ -40332,7 +40368,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40332
40368
  value: function getActualWidth() {
40333
40369
  var w = 0;
40334
40370
  this.childNodes.forEach(function (value) {
40335
- if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C)) w += value.getActualWidth();
40371
+ if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C)) w += value.getActualWidth();
40336
40372
  });
40337
40373
  return w;
40338
40374
  }
@@ -40395,10 +40431,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40395
40431
  return true;
40396
40432
  }
40397
40433
 
40398
- if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40434
+ if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40399
40435
  var markNode = this.childNodes[1];
40400
40436
 
40401
- if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent) {
40437
+ if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent) {
40402
40438
  return true;
40403
40439
  } else return false;
40404
40440
  }
@@ -40455,10 +40491,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40455
40491
  for (var i = 0; i < this.childNodes.length; i++) {
40456
40492
  var node = this.childNodes[i];
40457
40493
 
40458
- if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && node.text.substr(0, 1) !== "C")) {
40459
- if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_50__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
40494
+ if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && node.text.substr(0, 1) !== "C")) {
40495
+ if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_51__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
40460
40496
  childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
40461
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40497
+ } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40462
40498
  if (clearSign) {
40463
40499
  if (node.isTemplate) {
40464
40500
  childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
@@ -40467,10 +40503,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40467
40503
  childArray.push(node.node2Json(undefined, isCopy));
40468
40504
  }
40469
40505
  } else {
40470
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40506
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40471
40507
  if (node.text !== "") {
40472
40508
  childArray.push(node.node2Json(undefined, isCopy));
40473
40509
  }
40510
+ } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__/* .DateTimeNode */ .Z) {
40511
+ childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
40474
40512
  } else {
40475
40513
  childArray.push(node.node2Json(undefined, isCopy));
40476
40514
  }
@@ -40526,7 +40564,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40526
40564
  }
40527
40565
 
40528
40566
  if (canCopy) {
40529
- if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && _node.text.substr(0, 1) === "C")) {
40567
+ if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && _node.text.substr(0, 1) === "C")) {
40530
40568
  childArray.push(_node.node2Json(rec, isCopy));
40531
40569
  }
40532
40570
  }
@@ -40579,7 +40617,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40579
40617
  //const customPropertyObj =
40580
40618
 
40581
40619
 
40582
- this.text = this.getFieldText();
40620
+ this.text = this.getFieldText(clearSign);
40583
40621
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40584
40622
  var retObj = {
40585
40623
  nodeType: "ntField",
@@ -40724,13 +40762,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40724
40762
  var node = hoEditorFactory.structureConvert.convertNode(item[i], rootNodes, temp, undefined, undefined, isClearSign);
40725
40763
 
40726
40764
  if (node) {
40727
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40765
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40728
40766
  if (node.text !== "") {
40729
40767
  nodes.push(node);
40730
40768
  }
40731
40769
  } else {
40732
40770
  if (isClearSign) {
40733
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40771
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40734
40772
  if (node.isTemplate) {
40735
40773
  nodes.push(node);
40736
40774
  }
@@ -40743,11 +40781,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40743
40781
  }
40744
40782
  }
40745
40783
 
40746
- if (node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && node.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd && node.text.substring(0, 1) === "C") {
40784
+ if (node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && node.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd && node.text.substring(0, 1) === "C") {
40747
40785
  hoEditorFactory.structureConvert._markNodes.push(node);
40748
40786
  }
40749
40787
 
40750
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
40788
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
40751
40789
  hoEditorFactory.structureConvert._superiorSign[0] = node;
40752
40790
  }
40753
40791
  }
@@ -40756,14 +40794,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40756
40794
  var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
40757
40795
 
40758
40796
  if (_node2) {
40759
- if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40797
+ if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40760
40798
  if (_node2.text !== "") {
40761
40799
  nodes.push(_node2);
40762
40800
  }
40763
40801
  } else {
40764
40802
  //nodes.push(node);
40765
40803
  if (isClearSign) {
40766
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40804
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40767
40805
  if (_node2.isTemplate) {
40768
40806
  nodes.push(_node2);
40769
40807
  }
@@ -40776,11 +40814,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40776
40814
  }
40777
40815
  }
40778
40816
 
40779
- if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd && _node2.text.substring(0, 1) === "C") {
40817
+ if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd && _node2.text.substring(0, 1) === "C") {
40780
40818
  hoEditorFactory.structureConvert._markNodes.push(_node2);
40781
40819
  }
40782
40820
 
40783
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
40821
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
40784
40822
  hoEditorFactory.structureConvert._superiorSign[0] = _node2;
40785
40823
  }
40786
40824
  }
@@ -40801,14 +40839,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40801
40839
  }
40802
40840
 
40803
40841
  if (nodes.length > 0) {
40804
- if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40842
+ if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40805
40843
  var _temp$childNodes;
40806
40844
 
40807
40845
  temp.childNodes.length = 0;
40808
40846
 
40809
40847
  (_temp$childNodes = temp.childNodes).splice.apply(_temp$childNodes, [0, 0].concat(nodes));
40810
40848
 
40811
- if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40849
+ if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40812
40850
  temp._childNodes2.splice(1, 1);
40813
40851
 
40814
40852
  temp._childNodes2.splice(1, 0, temp.childNodes[1]);
@@ -40828,16 +40866,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40828
40866
  var sChildNode = temp.childNodes[0];
40829
40867
  var eChildNode = temp.childNodes[temp.childNodes.length - 1];
40830
40868
 
40831
- if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtStart */ .q.mtStart) {
40869
+ if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtStart */ .q.mtStart) {
40832
40870
  throw new Error("经检测,病历元素“" + temp.name + "”的模板格式有问题,无法正常加载,请联系工程师进行处理。");
40833
40871
  }
40834
40872
 
40835
- if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
40873
+ if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
40836
40874
  throw new Error("经检测,病历元素“" + temp.name + "”的模板格式有问题,无法正常加载,请联系工程师进行处理。");
40837
40875
  }
40838
40876
  }
40839
40877
 
40840
- if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_49__/* .TableFormula */ .N) {
40878
+ if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_50__/* .TableFormula */ .N) {
40841
40879
  return temp;
40842
40880
  }
40843
40881
 
@@ -40872,11 +40910,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40872
40910
 
40873
40911
  for (var i = 0; i < lineArr.length; i++) {
40874
40912
  var lineText = lineArr[i];
40875
- var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
40913
+ var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
40876
40914
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
40877
40915
 
40878
40916
  if (i < lineArr.length - 1) {
40879
- var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40917
+ var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40880
40918
  paraNode.styleIndex = styleIndex;
40881
40919
  temp.childNodes.splice(temp.childNodes.length - 1, 0, paraNode);
40882
40920
  }
@@ -40928,17 +40966,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40928
40966
  textArr = textStr.split("\n");
40929
40967
  }
40930
40968
 
40931
- var textNode1 = new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, textArr[0], styleIndex);
40969
+ var textNode1 = new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, textArr[0], styleIndex);
40932
40970
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
40933
40971
 
40934
40972
  if (textArr.length > 1) {
40935
40973
  for (var _i2 = 1; _i2 < textArr.length; _i2++) {
40936
- var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40974
+ var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40937
40975
  paragraNode.styleIndex = styleIndex;
40938
40976
  temp.childNodes.splice(temp.childNodes.length - 1, 0, paragraNode);
40939
40977
 
40940
40978
  if (textArr[_i2] !== "") {
40941
- var _textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, textArr[_i2], styleIndex);
40979
+ var _textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, textArr[_i2], styleIndex);
40942
40980
 
40943
40981
  temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode);
40944
40982
  }
@@ -40957,7 +40995,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40957
40995
  var eIndex = expressArr[_i3].eIndex;
40958
40996
  var expressJson = temp.text.substring(sIndex + 16, eIndex);
40959
40997
  var expressObj = JSON.parse(expressJson);
40960
- var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__/* .ExpressStyle */ .e[expressObj.expressStyle];
40998
+ var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__/* .ExpressStyle */ .e[expressObj.expressStyle];
40961
40999
 
40962
41000
  if (!expressStyle) {
40963
41001
  expressStyle = expressObj.expressStyle;
@@ -40967,18 +41005,18 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40967
41005
 
40968
41006
  if (expressStyle.includes("style")) {
40969
41007
  //经期史
40970
- medicalExpressNode = new _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__/* .MenstrualHistoryNode */ .n(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressStyle, expressObj.menseDays, expressObj.cycleDays, expressObj.menarcheAge, expressObj.menoPauseAge);
41008
+ medicalExpressNode = new _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__/* .MenstrualHistoryNode */ .n(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressStyle, expressObj.menseDays, expressObj.cycleDays, expressObj.menarcheAge, expressObj.menoPauseAge);
40971
41009
  } else {
40972
41010
  if (expressStyle === "PupilMapNode") {
40973
- medicalExpressNode = new _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PupilMapNode */ .v(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7);
41011
+ medicalExpressNode = new _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PupilMapNode */ .v(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7);
40974
41012
  } else if (expressStyle === "LightLocationMapNode") {
40975
- medicalExpressNode = new _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__/* .LightLocationMapNode */ .D(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7, expressObj.value8, expressObj.value9);
41013
+ medicalExpressNode = new _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__/* .LightLocationMapNode */ .D(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7, expressObj.value8, expressObj.value9);
40976
41014
  } else if (expressStyle === "FetalHeartMapNode") {
40977
- medicalExpressNode = new _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_39__/* .FetalHeartMapNode */ .t(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6);
41015
+ medicalExpressNode = new _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_40__/* .FetalHeartMapNode */ .t(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6);
40978
41016
  } else if (expressStyle === "PermanentTeethMapNode") {
40979
- medicalExpressNode = new _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__/* .PermanentTeethMapNode */ .f(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
41017
+ medicalExpressNode = new _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PermanentTeethMapNode */ .f(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
40980
41018
  } else {
40981
- medicalExpressNode = new _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PrimaryTeethMapNode */ .x(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
41019
+ medicalExpressNode = new _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PrimaryTeethMapNode */ .x(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
40982
41020
  }
40983
41021
  }
40984
41022
 
@@ -41006,8 +41044,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
41006
41044
  } else {
41007
41045
  temp._childNodes2.splice(1, temp._childNodes2.length - 2);
41008
41046
 
41009
- var markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, temp.labelText, //hoEditorFactory.docTree.curStyleIndex,
41010
- styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent);
41047
+ var markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, temp.labelText, //hoEditorFactory.docTree.curStyleIndex,
41048
+ styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent);
41011
41049
 
41012
41050
  temp._childNodes.splice(1, 0, markNode);
41013
41051
 
@@ -50011,6 +50049,8 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
50011
50049
  } else if (index == partCell.cell.drawCell.drawPageCells.length - 1) {
50012
50050
  dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerBottom + partCell.docHeight);
50013
50051
  }
50052
+ } else {
50053
+ dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, partCell.docHeight);
50014
50054
  }
50015
50055
 
50016
50056
  if (index === partCell.cell.drawCell.drawPageCells.length - 1 || this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
@@ -63053,6 +63093,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63053
63093
  end: ""
63054
63094
  };
63055
63095
  this._pnode = null;
63096
+ this._isError = false;
63056
63097
  this._hoEditorFactoryID = hoEditorFactoryID;
63057
63098
  this._startPath = startPath;
63058
63099
  this._endPath = endPath;
@@ -63533,27 +63574,28 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63533
63574
  hoEditorFactory.docTree.curDomRange = currRange;
63534
63575
 
63535
63576
  if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psReview */ .Dh.psReview)) {
63536
- _context.next = 10;
63577
+ _context.next = 11;
63537
63578
  break;
63538
63579
  }
63539
63580
 
63540
63581
  if (!(currRange.npEnd.node && currRange.npEnd.node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R)) {
63541
- _context.next = 10;
63582
+ _context.next = 11;
63542
63583
  break;
63543
63584
  }
63544
63585
 
63545
63586
  textStyle = hoEditorFactory.docTree.styles[currRange.npEnd.node.styleIndex];
63546
63587
 
63547
63588
  if (!(textStyle.strikeout && currRange.npEnd.node.text.length > 0)) {
63548
- _context.next = 10;
63589
+ _context.next = 11;
63549
63590
  break;
63550
63591
  }
63551
63592
 
63552
63593
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("该内容当前已处于删除状态!");
63553
63594
 
63595
+ this._isError = true;
63554
63596
  return _context.abrupt("return");
63555
63597
 
63556
- case 10:
63598
+ case 11:
63557
63599
  nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._startPath, this._endPath); // const npFirst = hoEditorFactory.docTree.findNodePositionByPath(this._startPath);
63558
63600
  // if (npFirst && npFirst.node) {
63559
63601
  // //const parentNode = hoEditorFactory.docTree.getParentNode(this._startPath);
@@ -63566,41 +63608,42 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63566
63608
  //if(nodes.length == 0) return;
63567
63609
 
63568
63610
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63569
- _context.next = 34;
63611
+ _context.next = 38;
63570
63612
  break;
63571
63613
  }
63572
63614
 
63573
63615
  n = 0;
63574
63616
 
63575
- case 13:
63617
+ case 14:
63576
63618
  if (!(n < nodes.length)) {
63577
- _context.next = 34;
63619
+ _context.next = 38;
63578
63620
  break;
63579
63621
  }
63580
63622
 
63581
63623
  node = nodes[n];
63582
63624
 
63583
63625
  if (!(node instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j && node.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && node.MarkNodeType === 1 && !node.parentNode.isAllowDelete)) {
63584
- _context.next = 18;
63626
+ _context.next = 20;
63585
63627
  break;
63586
63628
  }
63587
63629
 
63588
63630
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。", "系统提示");
63589
63631
 
63590
- return _context.abrupt("return", 0);
63632
+ this._isError = true;
63633
+ return _context.abrupt("return");
63591
63634
 
63592
- case 18:
63635
+ case 20:
63593
63636
  if (nodes.length === 1 && nodes[0] instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && nodes[0].childNodes[1] instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j) {
63594
63637
  hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
63595
63638
  }
63596
63639
 
63597
63640
  if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
63598
- _context.next = 28;
63641
+ _context.next = 31;
63599
63642
  break;
63600
63643
  }
63601
63644
 
63602
63645
  if (node.isAllowDelete) {
63603
- _context.next = 28;
63646
+ _context.next = 31;
63604
63647
  break;
63605
63648
  }
63606
63649
 
@@ -63624,28 +63667,30 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63624
63667
 
63625
63668
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert(tip + "元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。", "系统提示");
63626
63669
 
63627
- return _context.abrupt("return", 0);
63670
+ this._isError = true;
63671
+ return _context.abrupt("return");
63628
63672
 
63629
- case 28:
63673
+ case 31:
63630
63674
  if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63631
- _context.next = 31;
63675
+ _context.next = 35;
63632
63676
  break;
63633
63677
  }
63634
63678
 
63635
63679
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("该签名元素不允许删除!", "系统提示");
63636
63680
 
63637
- return _context.abrupt("return", 0);
63681
+ this._isError = true;
63682
+ return _context.abrupt("return");
63638
63683
 
63639
- case 31:
63684
+ case 35:
63640
63685
  n++;
63641
- _context.next = 13;
63686
+ _context.next = 14;
63642
63687
  break;
63643
63688
 
63644
- case 34:
63689
+ case 38:
63645
63690
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
63646
63691
 
63647
63692
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63648
- _context.next = 40;
63693
+ _context.next = 44;
63649
63694
  break;
63650
63695
  }
63651
63696
 
@@ -63658,24 +63703,24 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63658
63703
  });
63659
63704
 
63660
63705
  if (_res[0]) {
63661
- _context.next = 40;
63706
+ _context.next = 44;
63662
63707
  break;
63663
63708
  }
63664
63709
 
63665
63710
  return _context.abrupt("return");
63666
63711
 
63667
- case 40:
63712
+ case 44:
63668
63713
  changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_16__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_14__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, currRange.startPath, ""); //FIXME:deleteRange函数完成后调用这个
63669
63714
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
63670
63715
 
63671
63716
  if (currRange.npStart.node && currRange.npEnd.node) {
63672
- _context.next = 43;
63717
+ _context.next = 47;
63673
63718
  break;
63674
63719
  }
63675
63720
 
63676
63721
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63677
63722
 
63678
- case 43:
63723
+ case 47:
63679
63724
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
63680
63725
  // this._hoEditorFactory,
63681
63726
  // currRange.startPath,
@@ -63688,33 +63733,33 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63688
63733
  res = this.deleteRange(currRange.endPath, currRange.startPath);
63689
63734
 
63690
63735
  if (!(res == 1)) {
63691
- _context.next = 55;
63736
+ _context.next = 59;
63692
63737
  break;
63693
63738
  }
63694
63739
 
63695
63740
  changeEvent.beforeChangePath = startPath;
63696
63741
  changeEvent.afterChangePath = this._tmp.start;
63697
- _context.next = 53;
63742
+ _context.next = 57;
63698
63743
  return hoEditorFactory.docTree.change(changeEvent);
63699
63744
 
63700
- case 53:
63745
+ case 57:
63701
63746
  cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.start));
63702
63747
  hoEditorFactory.docTree.selectChange(cgEvent);
63703
63748
 
63704
- case 55:
63749
+ case 59:
63705
63750
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
63706
63751
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
63707
63752
  aNode = currRange.npStart.node;
63708
63753
 
63709
63754
  if (!(aNode && pnode)) {
63710
- _context.next = 61;
63755
+ _context.next = 65;
63711
63756
  break;
63712
63757
  }
63713
63758
 
63714
- _context.next = 61;
63759
+ _context.next = 65;
63715
63760
  return this.ParentRepaint(pnode);
63716
63761
 
63717
- case 61:
63762
+ case 65:
63718
63763
  case "end":
63719
63764
  return _context.stop();
63720
63765
  }
@@ -63759,6 +63804,11 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63759
63804
  get: function get() {
63760
63805
  return this._affectText;
63761
63806
  }
63807
+ }, {
63808
+ key: "isError",
63809
+ get: function get() {
63810
+ return this._isError;
63811
+ }
63762
63812
  }]);
63763
63813
 
63764
63814
  return NodesDeleteUndoUnit;
@@ -200634,61 +200684,14 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200634
200684
  function DrawSelectLevel(hoEditorFactoryID, pageIndex, selectCanvas, docIndex, drawPageIndex) {
200635
200685
  (0,classCallCheck/* default */.Z)(this, DrawSelectLevel);
200636
200686
 
200687
+ this._scrollYList = [];
200637
200688
  this._hoEditorFactoryID = hoEditorFactoryID;
200638
- this._selectCanvas = selectCanvas; // this._drawPage = drawPage;
200639
-
200689
+ this._selectCanvas = selectCanvas;
200640
200690
  this._pageIndex = pageIndex;
200641
200691
  this._docIndex = docIndex;
200642
200692
  this._drawPageIndex = drawPageIndex;
200643
- this._selectStage = null; // this._selectCanvas = selectCanvas;
200644
- // if (hoeditorfactory.drawTree.paintStatus !== PaintState.psPreview) {
200645
- // this._selectStage = new createjs.StageGL(selectCanvas, {
200646
- // transparent: true,
200647
- // });
200648
- // } else {
200649
- // this._selectStage = new createjs.Stage(selectCanvas);
200650
- // }
200651
- // (this._domStage as any).setClearColor("#ffffff");
200652
- // this._selectStage.enableMouseOver(1);
200653
- // this._mainContainer = new createjs.Container();
200654
-
200655
- this._mouseDownCount = 0; // this.mainBackGround = new createjs.Shape();
200656
- // this.mainBackGround.x = 0;
200657
- // this.mainBackGround.y = 0;
200658
- // this.mainBackGround.alpha = 0.01;
200659
- // this.mainBackGround.setBounds(
200660
- // 0,
200661
- // 0,
200662
- // hoeditorfactory.pageProperty.widthPixes,
200663
- // hoeditorfactory.pageProperty.heightPixes
200664
- // );
200665
- // const rect = this.mainBackGround.getBounds();
200666
- // this.mainBackGround.graphics
200667
- // .beginFill("blue")
200668
- // .rect(rect.x, rect.y, rect.width, rect.height);
200669
- // this._selectStage.addChild(this.mainBackGround);
200670
- // this.mainBackGround.addEventListener("mousedown", (aevent: any) => {
200671
- // this.mouseDown(aevent)
200672
- // );
200673
- // this.mainBackGround.addEventListener("dblclick", (aevent: any) => {
200674
- // this.mouseDblClick(aevent);
200675
- // });
200676
-
200677
- /* case PaintState.psPreview: {
200678
- break;
200679
- }
200680
- case PaintState.psPrint: {
200681
- break;
200682
- } default: {
200683
- //this.mouseClick(aevent);
200684
- break;
200685
- }
200686
- }
200687
- });*/
200688
- // this.mainBackGround.addEventListener("click", (aevent: any) => {
200689
- // this.mouseClick(aevent);
200690
- // });
200691
-
200693
+ this._selectStage = null;
200694
+ this._mouseDownCount = 0;
200692
200695
  this._oldRange = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange;
200693
200696
  this._shapesColor = new Map();
200694
200697
  }
@@ -200712,21 +200715,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200712
200715
  if ((_dPage$drawDomLevel = dPage.drawDomLevel) !== null && _dPage$drawDomLevel !== void 0 && _dPage$drawDomLevel.stage) this._selectStage.nextStage = (_dPage$drawDomLevel2 = dPage.drawDomLevel) === null || _dPage$drawDomLevel2 === void 0 ? void 0 : _dPage$drawDomLevel2.stage;
200713
200716
  dPage.setEnableMouseOver(5);
200714
200717
 
200715
- this._selectStage.addChild(dPage.selectContainer); // const len = [...HOEditorFactorys.instance().hoEditorFactoryMap].length;
200716
- // if (len > 1) {
200717
- // if (this._docIndex === 0) {
200718
- // if (this._drawPageIndex === 0) {
200719
- // this._selectStage.addChild(dPage.headerLeftTag);
200720
- // this._selectStage.addChild(dPage.headerRightTag);
200721
- // }
200722
- // } else if (this._docIndex === len - 1) {
200723
- // if (this._drawPageIndex === hoEditorFactory.drawTree.drawPages.length - 1) {
200724
- // this._selectStage.addChild(dPage.footerLeftTag);
200725
- // this._selectStage.addChild(dPage.footerRightTag);
200726
- // }
200727
- // }
200728
- // } else {
200729
-
200718
+ this._selectStage.addChild(dPage.selectContainer);
200730
200719
 
200731
200720
  if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview) {
200732
200721
  this._selectStage.addChild(dPage.headerLeftTag);
@@ -200736,11 +200725,9 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200736
200725
  this._selectStage.addChild(dPage.footerLeftTag);
200737
200726
 
200738
200727
  this._selectStage.addChild(dPage.footerRightTag);
200739
- } // }
200740
-
200728
+ }
200741
200729
 
200742
200730
  this._selectStage.addEventListener('stagemousedown', function (aevent) {
200743
- // this.mouseDown(aevent)
200744
200731
  switch (hoEditorFactory.drawTree.paintStatus) {
200745
200732
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
200746
200733
  {
@@ -200764,7 +200751,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200764
200751
  });
200765
200752
 
200766
200753
  this._selectStage.addEventListener('stagemouseup', function (aevent) {
200767
- // this.mouseup(aevent);
200768
200754
  switch (hoEditorFactory.drawTree.paintStatus) {
200769
200755
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
200770
200756
  {
@@ -200810,10 +200796,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200810
200796
  }
200811
200797
  });
200812
200798
 
200813
- this._selectStage.update(); // const context = this._selectCanvas.getContext("2d");
200814
- // context?.clearRect(0, 0, this._selectCanvas.width, this._selectCanvas.height);
200815
- // this._selectCanvas.width = 0.01 + this._selectCanvas.width;
200816
-
200799
+ this._selectStage.update();
200817
200800
  }
200818
200801
  }
200819
200802
  }, {
@@ -200828,13 +200811,10 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200828
200811
 
200829
200812
  this._selectStage.removeAllChildren();
200830
200813
 
200831
- this._selectStage.canvas = null; // this._selectStage.update();
200832
-
200814
+ this._selectStage.canvas = null;
200833
200815
  this._selectStage = null;
200834
200816
  this._selectCanvas.width = 0;
200835
- this._selectCanvas.height = 0; // const ctx = this._selectCanvas.getContext("2d");
200836
- // ctx?.clearRect(0, 0, this._selectCanvas.width, this._selectCanvas.height);
200837
- // ctx?.restore();
200817
+ this._selectCanvas.height = 0;
200838
200818
  }
200839
200819
  }
200840
200820
  }, {
@@ -200987,15 +200967,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200987
200967
  return _context.abrupt("return", true);
200988
200968
 
200989
200969
  case 28:
200990
- // let dline = targetArea.topDline;
200991
- // if (dline instanceof DrawPageTable) {
200992
- // dline = (dline as DrawPageTable).table.drawTable.getFirstDrawLine();
200993
- // }
200994
- // hoeditorfactory.drawTree.moveCaretToDitem(
200995
- // startPos.page,
200996
- // dline as DrawLine,
200997
- // targetArea.drawItems.length - 1
200998
- // ); // startPos.path);
200999
200970
  hoEditorFactory.drawTree.moveCaretToPath(startPos.path);
201000
200971
  return _context.abrupt("return", true);
201001
200972
 
@@ -201119,58 +201090,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201119
201090
  }
201120
201091
 
201121
201092
  return mouseDblClick;
201122
- }() // public mouseClick(aevent: any): boolean {
201123
- // if (aevent.currentTarget === this.stage) {
201124
- // hoeditorfactory.drawTree.selectRange.clearAllSelectShape();
201125
- // hoeditorfactory.drawTree.selectRange.beginRangeSelect = false;
201126
- // if (
201127
- // hoeditorfactory.drawTree.activePage?.drawDomLevel?.activeDrawRect.rootPath.startsWith(
201128
- // gMainPath
201129
- // )
201130
- // ) {
201131
- // hoeditorfactory.drawTree.activePage = this._drawPage;
201132
- // }
201133
- // this._oldRange = hoeditorfactory.docTree.curDomRange.clone();
201134
- // if (!this._drawPage.drawDomLevel) {
201135
- // return false;
201136
- // }
201137
- // const startPos = hoeditorfactory.drawTree.getStagePosition(
201138
- // this._drawPage,
201139
- // this._drawPage.drawDomLevel.activeDrawRect,
201140
- // aevent.stageX,
201141
- // aevent.stageY
201142
- // );
201143
- // if (startPos) {
201144
- // const np = hoeditorfactory.docTree.findNodePositionByPath(startPos.path);
201145
- // if (np && np.node) {
201146
- // //鼠标左键单击
201147
- // if (
201148
- // np.node instanceof ImageNode &&
201149
- // aevent.nativeEvent.button === 0
201150
- // ) {
201151
- // const bclickItem = hoeditorfactory.drawTree.getChildByPos(
201152
- // this._drawPage,
201153
- // this._drawPage.drawDomLevel.activeDrawRect,
201154
- // aevent.stageX,
201155
- // aevent.stageY
201156
- // )[1];
201157
- // if (bclickItem) {
201158
- // const nodeClickEvent = new NodeClickEvent(np.node, "click");
201159
- // hoeditorfactory.docTree.nodeClick(nodeClickEvent);
201160
- // }
201161
- // }
201162
- // return true;
201163
- // }
201164
- // const selchange = new SelectionChangeEvent(
201165
- // this._oldRange,
201166
- // hoeditorfactory.docTree.curDomRange
201167
- // );
201168
- // hoeditorfactory.docTree.selectChange(selchange);
201169
- // }
201170
- // }
201171
- // return true;
201172
- // }
201173
-
201093
+ }()
201174
201094
  }, {
201175
201095
  key: "mouseDownHandle",
201176
201096
  value: function mouseDownHandle(aevent) {
@@ -201327,7 +201247,8 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201327
201247
 
201328
201248
  if (hoeditorfactory.drawTree.inViewPages.indexOf(this._pageIndex) < 0) {
201329
201249
  hoeditorfactory.drawTree.inViewPages.push(this._pageIndex);
201330
- }
201250
+ } // this._scrollYList.push(aevent.stageY);
201251
+
201331
201252
 
201332
201253
  if (hoeditorfactory.drawTree.selectRange.beginRangeSelect && (parseInt(aevent.nativeEvent.buttons) && 1) === 1) {
201333
201254
  var _hoeditorfactory$draw2;
@@ -201354,36 +201275,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201354
201275
  hoeditorfactory.drawTree.selectRange.spEnd = endPos;
201355
201276
  hoeditorfactory.drawTree.drawSelectRange();
201356
201277
  }
201357
- } // else {
201358
- // hoeditorfactory.drawTree.selectRange.beginRangeSelect = false;
201359
- // const np = hoeditorfactory.docTree.findNodePositionByPath(endPos.path);
201360
- // if (np && np.node) {
201361
- // const bclickItem = hoeditorfactory.drawTree.getChildByPos(
201362
- // this._drawPage,
201363
- // this._drawPage.drawDomLevel.activeDrawRect,
201364
- // aevent.stageX,
201365
- // aevent.stageY
201366
- // )[1];
201367
- // if (bclickItem) {
201368
- // const nodeNeedModifyEvent = new NodeNeedModifyEvent(
201369
- // np.node as BaseNode,
201370
- // "move",
201371
- // this._drawPage.pageIndex,
201372
- // true
201373
- // );
201374
- // hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
201375
- // } else {
201376
- // const nodeNeedModifyEvent = new NodeNeedModifyEvent(
201377
- // np.node,
201378
- // "",
201379
- // this._drawPage.pageIndex,
201380
- // false
201381
- // );
201382
- // hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
201383
- // }
201384
- // }
201385
- // }
201386
-
201278
+ }
201387
201279
  } //return true;
201388
201280
 
201389
201281
  }, {
@@ -201392,6 +201284,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201392
201284
  var hoeditorfactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
201393
201285
 
201394
201286
  if (hoeditorfactory.drawTree.selectRange) {
201287
+ this._scrollYList = [];
201395
201288
  var startPos = hoeditorfactory.drawTree.selectRange.spStart;
201396
201289
  var endPos = hoeditorfactory.drawTree.selectRange.spEnd;
201397
201290
 
@@ -201401,12 +201294,9 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201401
201294
 
201402
201295
  if (endPos.index === -1) {
201403
201296
  hoeditorfactory.drawTree.moveCaretToDitem(startPos.page, startPos.dline, startPos.index);
201404
- } else hoeditorfactory.drawTree.moveCaretToPath(startPos.path); // hoeditorfactory.drawTree.moveCaretToDitem(
201405
- // startPos.page,
201406
- // startPos.dline,
201407
- // startPos.index
201408
- // );
201409
-
201297
+ } else {
201298
+ hoeditorfactory.drawTree.moveCaretToPath(startPos.path);
201299
+ }
201410
201300
  } else {
201411
201301
  if (hoeditorfactory.drawTree.activePage) hoeditorfactory.drawTree.moveEditTo(hoeditorfactory.drawTree.activePage.pageIndex, 0, 0);
201412
201302
 
@@ -207609,7 +207499,7 @@ var SignNode = __webpack_require__(34450);
207609
207499
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207610
207500
  var ParagraphNode = __webpack_require__(14208);
207611
207501
  ;// CONCATENATED MODULE: ./src/components/version.ts
207612
- /* harmony default export */ var version = ('2.0.77');
207502
+ /* harmony default export */ var version = ('2.0.80');
207613
207503
  ;// 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&
207614
207504
  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)}
207615
207505
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -211437,7 +211327,6 @@ var GestationNode = __webpack_require__(74873);
211437
211327
 
211438
211328
 
211439
211329
 
211440
-
211441
211330
 
211442
211331
 
211443
211332
  var StructureConvert = /*#__PURE__*/function () {
@@ -212838,7 +212727,11 @@ var StructureConvert = /*#__PURE__*/function () {
212838
212727
  nodeJson = _this.delStyle(node.node2Json());
212839
212728
  }
212840
212729
  } else {
212841
- nodeJson = _this.delStyle(node.node2Json());
212730
+ if (node instanceof DateTimeNode/* DateTimeNode */.Z && clearSign) {
212731
+ nodeJson = _this.delStyle(node.node2Json(undefined, undefined, undefined, clearSign));
212732
+ } else {
212733
+ nodeJson = _this.delStyle(node.node2Json());
212734
+ }
212842
212735
  }
212843
212736
  }
212844
212737
  }
@@ -213490,13 +213383,11 @@ var StructureConvert = /*#__PURE__*/function () {
213490
213383
  message_box_default().alert("不允许将表格粘贴到文本域");
213491
213384
 
213492
213385
  return undefined;
213493
- }
213494
-
213495
- if (isPaste && parentNode instanceof CellNode/* CellNode */.D) {
213496
- message_box_default().alert("不允许将表格粘贴到表格");
213386
+ } // if (isPaste && parentNode instanceof CellNode) {
213387
+ // MessageBox.alert("不允许将表格粘贴到表格");
213388
+ // return undefined;
213389
+ // }
213497
213390
 
213498
- return undefined;
213499
- }
213500
213391
 
213501
213392
  var node = TableNode/* TableNode.json2Node */.Fh.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode, isPaste, isClearSign);
213502
213393
  return node;
@@ -222269,6 +222160,8 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message);
222269
222160
 
222270
222161
 
222271
222162
 
222163
+
222164
+
222272
222165
  var EditController = /*#__PURE__*/function () {
222273
222166
  function EditController(hoEditorFactoryID) {
222274
222167
  (0,classCallCheck/* default */.Z)(this, EditController);
@@ -222593,19 +222486,77 @@ var EditController = /*#__PURE__*/function () {
222593
222486
  // });
222594
222487
  // }
222595
222488
  // const rtfData = clipboardData.getData("text/rtf");
222489
+ // console.log("json:", jsonData);
222490
+ // console.log("html:", htmlData);
222491
+ // console.log("text:", textData);
222596
222492
 
222597
222493
 
222598
222494
  var nodes;
222599
222495
 
222600
- if (jsonData && hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
222601
- nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222496
+ if (jsonData) {
222497
+ if (hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
222498
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222499
+ } else {
222500
+ var jsonObject = JSON.parse(jsonData);
222501
+
222502
+ if (jsonObject.length == 1 && jsonObject[0].nodeType === "ntTable" && parentNode instanceof CellNode/* CellNode */.D) {
222503
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222504
+ } else {
222505
+ if (htmlData) {
222506
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctHTML, htmlData);
222507
+ } else {
222508
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctText, textData);
222509
+ }
222510
+ }
222511
+ }
222602
222512
  } else if (htmlData) {
222603
- //console.log(htmlData);
222604
222513
  nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctHTML, htmlData);
222605
222514
  } else {
222606
222515
  nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctText, textData);
222607
222516
  }
222608
222517
 
222518
+ if (nodes.length === 1 && nodes[0] instanceof TableNode/* TableNode */.Fh && parentNode instanceof CellNode/* CellNode */.D) {
222519
+ var tableNode = nodes[0];
222520
+
222521
+ var _parentNode$table$get = parentNode.table.getCellInfos(parentNode),
222522
+ _parentNode$table$get2 = (0,slicedToArray/* default */.Z)(_parentNode$table$get, 2),
222523
+ rs = _parentNode$table$get2[0],
222524
+ cs = _parentNode$table$get2[1];
222525
+
222526
+ var endRow = 0;
222527
+ var endCol = 0;
222528
+
222529
+ if (hoeditorfactory.docTree.curDomRange.isEmpty) {
222530
+ var re = parentNode.table.rowCount - 1;
222531
+ var ce = parentNode.table.colCount - 1;
222532
+ endRow = re - rs + 1 >= tableNode.rowCount ? tableNode.rowCount : re - rs + 1;
222533
+ endCol = ce - cs + 1 >= tableNode.colCount ? tableNode.colCount : ce - cs + 1;
222534
+ } else {
222535
+ var curDomRange = hoeditorfactory.docTree.curDomRange.normalize();
222536
+ var rowscols = TableNode/* TableNode.getSelectTableRowColInfos */.Fh.getSelectTableRowColInfos(this._hoEditorFactoryID, curDomRange);
222537
+ endRow = rowscols[3] - rowscols[1] + 1 >= tableNode.rowCount ? tableNode.rowCount : rowscols[3] - rowscols[1] + 1;
222538
+ endCol = rowscols[4] - rowscols[2] + 1 >= tableNode.colCount ? tableNode.colCount : rowscols[4] - rowscols[2] + 1;
222539
+ }
222540
+
222541
+ for (var i = 0; i < endRow; i++) {
222542
+ for (var j = 0; j < endCol; j++) {
222543
+ var fromCell = tableNode.rows[i][j];
222544
+ var toCell = parentNode.table.rows[rs + i][cs + j];
222545
+
222546
+ if (fromCell && toCell) {
222547
+ // const [fr, fc] = fromCell.table.getCellInfos(fromCell);
222548
+ // const [tr, tc] = toCell.table.getCellInfos(toCell);
222549
+ // console.log("fr,fc:", fr, fc);
222550
+ // console.log("tr,tc:", tr, tc);
222551
+ var sCellText = fromCell.getCellText();
222552
+ toCell.setCellText(sCellText, true);
222553
+ }
222554
+ }
222555
+ }
222556
+
222557
+ return;
222558
+ }
222559
+
222609
222560
  if (!hoeditorfactory.pasteBase) {
222610
222561
  for (var n = 0; n < nodes.length; n++) {
222611
222562
  var node = nodes[n];
@@ -227608,9 +227559,9 @@ var QrCode_component = normalizeComponent(
227608
227559
  ;// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
227609
227560
 
227610
227561
  /* harmony default export */ var qrCode = (QrCode);
227611
- ;// 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/textDialog/TextDialog.vue?vue&type=template&id=52be23a2&
227612
- var TextDialogvue_type_template_id_52be23a2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_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('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("直接输入文本数据")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("下拉列表方式")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.textParam.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.textParam.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "innerIdentifier", $$v)},expression:"textParam.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.textParam.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "dataMetaIdentifier", $$v)},expression:"textParam.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.textParam.identifierFormat),callback:function ($$v) {_vm.$set(_vm.textParam, "identifierFormat", $$v)},expression:"textParam.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.textParam.name),callback:function ($$v) {_vm.$set(_vm.textParam, "name", $$v)},expression:"textParam.name"}})],1),_c('li',{staticClass:"line"}),(_vm.textParam.inputFieldType === 0)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"mini","placeholder":"文本内容"},model:{value:(_vm.textParam.text),callback:function ($$v) {_vm.$set(_vm.textParam, "text", $$v)},expression:"textParam.text"}})],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("下拉列表")]),_c('el-input',{attrs:{"size":"mini","disabled":true,"placeholder":"下拉列表项"},model:{value:(_vm.textParam.downListProperty.source),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "source", $$v)},expression:"textParam.downListProperty.source"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.openListArrModel.apply(null, arguments)}}},[_vm._v("浏览")])],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否多选")]),_c('div',{staticStyle:{"width":"40%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")]),_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.mutexSelect),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "mutexSelect", $$v)},expression:"textParam.downListProperty.mutexSelect"}},[_vm._v("选项互斥")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"60px"}},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.textParam.downListProperty.splitCharacter),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "splitCharacter", $$v)},expression:"textParam.downListProperty.splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}}),_c('el-option',{attrs:{"label":"\\","value":"\\"}})],1)],1)]):_vm._e(),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","placeholder":"提示文本"},model:{value:(_vm.textParam.tipText),callback:function ($$v) {_vm.$set(_vm.textParam, "tipText", $$v)},expression:"textParam.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容只读状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"placeholder":"请选择","size":"mini"},model:{value:(_vm.textParam.readOnlyStatus),callback:function ($$v) {_vm.$set(_vm.textParam, "readOnlyStatus", $$v)},expression:"textParam.readOnlyStatus"}},[_c('el-option',{attrs:{"label":"继承父元素","value":2}}),_c('el-option',{attrs:{"label":"是","value":0}}),_c('el-option',{attrs:{"label":"否","value":1}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("固定宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.textParam.fixedWidth),callback:function ($$v) {_vm.$set(_vm.textParam, "fixedWidth", $$v)},expression:"textParam.fixedWidth"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("厘米")])],1),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.canModifyContent),callback:function ($$v) {_vm.$set(_vm.textParam, "canModifyContent", $$v)},expression:"textParam.canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.textParam, "isAllowDelete", $$v)},expression:"textParam.isAllowDelete"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.enableGlobalColor),callback:function ($$v) {_vm.$set(_vm.textParam, "enableGlobalColor", $$v)},expression:"textParam.enableGlobalColor"}},[_vm._v("启用全局文本颜色")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.alignWithBlocked),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlocked", $$v)},expression:"textParam.alignWithBlocked"}},[_vm._v("文本域中的段落使用块对齐(诊断专用)")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"38px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动回填")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_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.openDataSourceModal}},[_vm._v("设置数据源")])],1)])]),_vm._t("hoTextFieldModal")],2)],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)])}
227613
- var TextDialogvue_type_template_id_52be23a2_staticRenderFns = []
227562
+ ;// 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/textDialog/TextDialog.vue?vue&type=template&id=016d4c86&
227563
+ var TextDialogvue_type_template_id_016d4c86_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_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('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("直接输入文本数据")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("下拉列表方式")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.textParam.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.textParam.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "innerIdentifier", $$v)},expression:"textParam.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.textParam.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "dataMetaIdentifier", $$v)},expression:"textParam.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.textParam.identifierFormat),callback:function ($$v) {_vm.$set(_vm.textParam, "identifierFormat", $$v)},expression:"textParam.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.textParam.name),callback:function ($$v) {_vm.$set(_vm.textParam, "name", $$v)},expression:"textParam.name"}})],1),_c('li',{staticClass:"line"}),(_vm.textParam.inputFieldType === 0)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"mini","placeholder":"文本内容"},model:{value:(_vm.textParam.text),callback:function ($$v) {_vm.$set(_vm.textParam, "text", $$v)},expression:"textParam.text"}})],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("下拉列表")]),_c('el-input',{attrs:{"size":"mini","disabled":true,"placeholder":"下拉列表项"},model:{value:(_vm.textParam.downListProperty.source),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "source", $$v)},expression:"textParam.downListProperty.source"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.openListArrModel.apply(null, arguments)}}},[_vm._v("浏览")])],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否多选")]),_c('div',{staticStyle:{"width":"40%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")]),_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.mutexSelect),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "mutexSelect", $$v)},expression:"textParam.downListProperty.mutexSelect"}},[_vm._v("选项互斥")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"60px"}},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.textParam.downListProperty.splitCharacter),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "splitCharacter", $$v)},expression:"textParam.downListProperty.splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":";","value":";"}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}}),_c('el-option',{attrs:{"label":"\\","value":"\\"}})],1)],1)]):_vm._e(),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","placeholder":"提示文本"},model:{value:(_vm.textParam.tipText),callback:function ($$v) {_vm.$set(_vm.textParam, "tipText", $$v)},expression:"textParam.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容只读状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"placeholder":"请选择","size":"mini"},model:{value:(_vm.textParam.readOnlyStatus),callback:function ($$v) {_vm.$set(_vm.textParam, "readOnlyStatus", $$v)},expression:"textParam.readOnlyStatus"}},[_c('el-option',{attrs:{"label":"继承父元素","value":2}}),_c('el-option',{attrs:{"label":"是","value":0}}),_c('el-option',{attrs:{"label":"否","value":1}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("固定宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.textParam.fixedWidth),callback:function ($$v) {_vm.$set(_vm.textParam, "fixedWidth", $$v)},expression:"textParam.fixedWidth"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("厘米")])],1),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.canModifyContent),callback:function ($$v) {_vm.$set(_vm.textParam, "canModifyContent", $$v)},expression:"textParam.canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.textParam, "isAllowDelete", $$v)},expression:"textParam.isAllowDelete"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.enableGlobalColor),callback:function ($$v) {_vm.$set(_vm.textParam, "enableGlobalColor", $$v)},expression:"textParam.enableGlobalColor"}},[_vm._v("启用全局文本颜色")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.alignWithBlocked),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlocked", $$v)},expression:"textParam.alignWithBlocked"}},[_vm._v("文本域中的段落使用块对齐(诊断专用)")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"38px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动回填")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_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.openDataSourceModal}},[_vm._v("设置数据源")])],1)])]),_vm._t("hoTextFieldModal")],2)],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)])}
227564
+ var TextDialogvue_type_template_id_016d4c86_staticRenderFns = []
227614
227565
 
227615
227566
 
227616
227567
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
@@ -227901,8 +227852,8 @@ TextDialog = __decorate([vue_class_component_esm({
227901
227852
 
227902
227853
  var TextDialog_component = normalizeComponent(
227903
227854
  textDialog_TextDialogvue_type_script_lang_ts_,
227904
- TextDialogvue_type_template_id_52be23a2_render,
227905
- TextDialogvue_type_template_id_52be23a2_staticRenderFns,
227855
+ TextDialogvue_type_template_id_016d4c86_render,
227856
+ TextDialogvue_type_template_id_016d4c86_staticRenderFns,
227906
227857
  false,
227907
227858
  null,
227908
227859
  null,
@@ -229337,9 +229288,9 @@ var DataSource_component = normalizeComponent(
229337
229288
  ;// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
229338
229289
 
229339
229290
  /* harmony default export */ var controls_dataSource = (DataSource);
229340
- ;// 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/listsource/ListSource.vue?vue&type=template&id=08d9ce14&scoped=true&
229341
- var ListSourcevue_type_template_id_08d9ce14_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"listSourceModal",staticClass:"control-modal-contents list-source-modal",on:{"mousedown":_vm.toolModalDown}},[_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",staticStyle:{"width":"100%"}},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini","placeholder":"来源"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("列表")]),_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listValue,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.listValue.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],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)])}
229342
- var ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns = []
229291
+ ;// 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/listsource/ListSource.vue?vue&type=template&id=21da5e25&scoped=true&
229292
+ var ListSourcevue_type_template_id_21da5e25_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"listSourceModal",staticClass:"control-modal-contents list-source-modal",on:{"mousedown":_vm.toolModalDown}},[_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",staticStyle:{"width":"100%"}},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini","placeholder":"来源"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("列表")]),_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listValue,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.listValue.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],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)])}
229293
+ var ListSourcevue_type_template_id_21da5e25_scoped_true_staticRenderFns = []
229343
229294
 
229344
229295
 
229345
229296
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
@@ -229600,10 +229551,10 @@ ListSource = __decorate([vue_class_component_esm({
229600
229551
  /* harmony default export */ var ListSourcevue_type_script_lang_ts_ = (ListSource);
229601
229552
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
229602
229553
  /* harmony default export */ var listsource_ListSourcevue_type_script_lang_ts_ = (ListSourcevue_type_script_lang_ts_);
229603
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
229554
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=21da5e25&lang=scss&scoped=true&
229604
229555
  // extracted by mini-css-extract-plugin
229605
229556
 
229606
- ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
229557
+ ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=21da5e25&lang=scss&scoped=true&
229607
229558
 
229608
229559
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue
229609
229560
 
@@ -229616,11 +229567,11 @@ ListSource = __decorate([vue_class_component_esm({
229616
229567
 
229617
229568
  var ListSource_component = normalizeComponent(
229618
229569
  listsource_ListSourcevue_type_script_lang_ts_,
229619
- ListSourcevue_type_template_id_08d9ce14_scoped_true_render,
229620
- ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns,
229570
+ ListSourcevue_type_template_id_21da5e25_scoped_true_render,
229571
+ ListSourcevue_type_template_id_21da5e25_scoped_true_staticRenderFns,
229621
229572
  false,
229622
229573
  null,
229623
- "08d9ce14",
229574
+ "21da5e25",
229624
229575
  null
229625
229576
 
229626
229577
  )