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.
@@ -13500,8 +13500,10 @@ var DocController = /*#__PURE__*/function () {
13500
13500
  hoEditorFactory.undoService.commit();
13501
13501
  } else {
13502
13502
  hoEditorFactory.undoService.begin();
13503
- hoEditorFactory.undoService.add(new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodesDeleteUndoUnit */ .F(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, oper === "update" ? true : false));
13503
+ var nodesDeleteUndoUnit = new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodesDeleteUndoUnit */ .F(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, oper === "update" ? true : false);
13504
+ hoEditorFactory.undoService.add(nodesDeleteUndoUnit);
13504
13505
  hoEditorFactory.undoService.commit();
13506
+ return nodesDeleteUndoUnit.isError;
13505
13507
  }
13506
13508
  } //插入节点到指定位置
13507
13509
 
@@ -13521,18 +13523,23 @@ var DocController = /*#__PURE__*/function () {
13521
13523
  }
13522
13524
  }
13523
13525
 
13526
+ var isError;
13527
+
13524
13528
  if (!curRange.isEmpty) {
13525
- this.deleteRange(curRange, true, "update"); //删除选中节点
13529
+ isError = this.deleteRange(curRange, true, isResetFieldText ? "update" : undefined); //删除选中节点
13526
13530
  }
13527
13531
 
13528
- if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
13529
- path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
13530
- }
13532
+ if (!isError) {
13533
+ if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
13534
+ path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
13535
+ }
13531
13536
 
13532
- hoEditorFactory.undoService.begin(); // this.insertNodeByPath(textNode,this._curNodePosition.path);
13537
+ hoEditorFactory.undoService.begin(); // this.insertNodeByPath(textNode,this._curNodePosition.path);
13538
+
13539
+ hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_25__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, path, node));
13540
+ hoEditorFactory.undoService.commit();
13541
+ }
13533
13542
 
13534
- hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_25__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, path, node));
13535
- hoEditorFactory.undoService.commit();
13536
13543
  return hoEditorFactory.docTree.curDomRange.startPath;
13537
13544
  }
13538
13545
  /**
@@ -14782,13 +14789,16 @@ var DocController = /*#__PURE__*/function () {
14782
14789
  var values = valuesObject;
14783
14790
 
14784
14791
  if (Number(values["inputFieldType"]) === 1) {
14785
- if (node.text !== "") {
14792
+ if (node.keyValue !== "") {
14786
14793
  node.childNodes.splice(1, node.childNodes.length - 2);
14787
14794
  var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_27__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntText */ .Jq.ntText, values["text"], hoEditorFactory.docTree.curStyleIndex);
14788
14795
  node.childNodes.splice(1, 0, textNode); //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
14789
-
14790
- changeEvent.afterChangePath = ePath;
14796
+ } else {
14797
+ node.childNodes.splice(1, node.childNodes.length - 2);
14798
+ node.childNodes.splice(1, 0, node.childNodes2[1]);
14791
14799
  }
14800
+
14801
+ changeEvent.afterChangePath = ePath;
14792
14802
  } else {
14793
14803
  //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
14794
14804
  changeEvent.afterChangePath = ePath;
@@ -14796,11 +14806,9 @@ var DocController = /*#__PURE__*/function () {
14796
14806
 
14797
14807
  hoEditorFactory.docTree.change(changeEvent);
14798
14808
  node.update();
14799
- var pnode = node.parentNode;
14800
-
14801
- if (pnode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_46__/* .TextInputFieldNode */ .re) {
14802
- pnode.update();
14803
- }
14809
+ var pnode = node.parentNode; // if (pnode instanceof TextInputFieldNode) {
14810
+ // pnode.update();
14811
+ // }
14804
14812
 
14805
14813
  do {
14806
14814
  var _pnode;
@@ -14815,10 +14823,15 @@ var DocController = /*#__PURE__*/function () {
14815
14823
  } while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
14816
14824
 
14817
14825
  if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14818
- //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14819
- if (pnode.drawCell.drawPageCells.length > 1) {
14826
+ if (Number(values["inputFieldType"]) === 1) {
14820
14827
  pnode.drawCell.needUpdate = true;
14821
14828
  pnode.table.update();
14829
+ } else {
14830
+ //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14831
+ if (pnode.drawCell.drawPageCells.length > 1) {
14832
+ pnode.drawCell.needUpdate = true;
14833
+ pnode.table.update();
14834
+ }
14822
14835
  }
14823
14836
  }
14824
14837
 
@@ -25568,7 +25581,7 @@ var BaseNode = /*#__PURE__*/function () {
25568
25581
  /* 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__);
25569
25582
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91347);
25570
25583
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(42015);
25571
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(16296);
25584
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(16296);
25572
25585
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83964);
25573
25586
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(46455);
25574
25587
  /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38862);
@@ -25589,32 +25602,37 @@ var BaseNode = /*#__PURE__*/function () {
25589
25602
  /* 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__);
25590
25603
  /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(54747);
25591
25604
  /* 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__);
25592
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(74916);
25593
- /* 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__);
25594
- /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(23123);
25595
- /* 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__);
25596
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26699);
25597
- /* 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__);
25598
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(32023);
25599
- /* 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__);
25600
- /* harmony import */ var _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(17297);
25601
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(35657);
25602
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(28831);
25603
- /* harmony import */ var _plugins_type__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(96229);
25604
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(71080);
25605
- /* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(75438);
25606
- /* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(14245);
25607
- /* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(74004);
25608
- /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(3267);
25609
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(92178);
25610
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(99964);
25611
- /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(92730);
25612
- /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(13880);
25613
- /* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(4428);
25614
- /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(78975);
25615
- /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(59530);
25616
- /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(69802);
25617
- /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(27564);
25605
+ /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(68309);
25606
+ /* 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__);
25607
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(74916);
25608
+ /* 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__);
25609
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(23123);
25610
+ /* 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__);
25611
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26699);
25612
+ /* 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__);
25613
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(32023);
25614
+ /* 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__);
25615
+ /* harmony import */ var _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(17297);
25616
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(35657);
25617
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(28831);
25618
+ /* harmony import */ var _plugins_type__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(96229);
25619
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(71080);
25620
+ /* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(75438);
25621
+ /* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(14245);
25622
+ /* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(74004);
25623
+ /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(3267);
25624
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(92178);
25625
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(99964);
25626
+ /* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(40253);
25627
+ /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(92730);
25628
+ /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(13880);
25629
+ /* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(4428);
25630
+ /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(78975);
25631
+ /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(59530);
25632
+ /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(69802);
25633
+ /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(27564);
25634
+
25635
+
25618
25636
 
25619
25637
 
25620
25638
 
@@ -25691,7 +25709,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25691
25709
 
25692
25710
  (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(this, CellNode);
25693
25711
 
25694
- _this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType.ntCell */ .Jq.ntCell);
25712
+ _this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType.ntCell */ .Jq.ntCell);
25695
25713
  _this._hoEditorFactoryID = hoEditorFactoryID;
25696
25714
  _this._borderVisible = [true, true, true, true];
25697
25715
  _this._crossLineType = CrossLineType.ctNone;
@@ -25707,7 +25725,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25707
25725
  return _this;
25708
25726
  }
25709
25727
 
25710
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_37__/* ["default"] */ .Z)(CellNode, [{
25728
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .Z)(CellNode, [{
25711
25729
  key: "drawCell",
25712
25730
  get: function get() {
25713
25731
  return this._drawCell;
@@ -25850,7 +25868,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25850
25868
  }, {
25851
25869
  key: "initBlankDoc",
25852
25870
  value: function initBlankDoc() {
25853
- var aparagraph = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C(this._hoEditorFactoryID, this.rootNodes, this, 0);
25871
+ var aparagraph = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C(this._hoEditorFactoryID, this.rootNodes, this, 0);
25854
25872
  aparagraph.node2DrawNode();
25855
25873
 
25856
25874
  this._childNodes.push(aparagraph);
@@ -25870,7 +25888,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25870
25888
  key: "placeDNodeAfterDTop",
25871
25889
  value: function placeDNodeAfterDTop(droots, dTop) {
25872
25890
  var paragraphNode = this.childNodes[0];
25873
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25891
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25874
25892
  var aline = paragraphNode.drawlines[0];
25875
25893
  hoEditorFactory.drawTree.drawDocInsert(paragraphNode, 0, paragraphNode, -1, hoEditorFactory.docTree.getNodeLastPath(this));
25876
25894
 
@@ -25910,7 +25928,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25910
25928
  value: function updateWidth(awidth) {
25911
25929
  this.drawCell.dWidth = awidth; // (this.childNodes[0] as ParagraphNode).drawlines[0].dWidth = awidth;
25912
25930
 
25913
- _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.clearDrawContainer(this.drawCell.drawLines);
25931
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.clearDrawContainer(this.drawCell.drawLines);
25914
25932
  this._drawCell.drawLines.length = 0;
25915
25933
  this.childNodes[0].node2DrawNode();
25916
25934
  this.drawCell.drawLines.push(this.childNodes[0].drawlines[0]);
@@ -25928,15 +25946,15 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25928
25946
  }, {
25929
25947
  key: "redrawCell",
25930
25948
  value: function redrawCell(repaintInmediate, action) {
25931
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25949
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25932
25950
 
25933
25951
  if (repaintInmediate) {
25934
- 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]));
25952
+ 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]));
25935
25953
 
25936
- if (action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daDelete */ .gk.daDelete || action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daModifyStyle */ .gk.daModifyStyle) {
25954
+ if (action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daDelete */ .gk.daDelete || action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daModifyStyle */ .gk.daModifyStyle) {
25937
25955
  dcChangeEvent.oldEndPath = hoEditorFactory.docTree.getNodeLastPath(this);
25938
25956
 
25939
- if (action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daDelete */ .gk.daDelete) {
25957
+ if (action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daDelete */ .gk.daDelete) {
25940
25958
  dcChangeEvent.oldDrawTreeLines = this._table.drawTable.getCellsDrawTreeLines([this]);
25941
25959
  } else {
25942
25960
  dcChangeEvent.oldDrawLines = this._table.drawTable.getCellsDrawLines([this]);
@@ -25990,7 +26008,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25990
26008
  }
25991
26009
 
25992
26010
  aHeight += this._rowSpan;
25993
- this._drawCell = new _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_19__/* .DrawCell */ .y(this._hoEditorFactoryID, this, 0, aWidth, aHeight);
26011
+ this._drawCell = new _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_20__/* .DrawCell */ .y(this._hoEditorFactoryID, this, 0, aWidth, aHeight);
25994
26012
 
25995
26013
  this._drawNodes.push(this._drawCell); // this._drawCell.drawLines.push(
25996
26014
  // (this._childNodes[0] as ParagraphNode).drawlines[0]
@@ -26010,7 +26028,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26010
26028
  }, {
26011
26029
  key: "range",
26012
26030
  value: function range() {
26013
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26031
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26014
26032
  var spath = hoEditorFactory.docTree.getNodeFirstPath(this);
26015
26033
  var epath = hoEditorFactory.docTree.getNodeLastPath(this);
26016
26034
  return {
@@ -26030,9 +26048,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26030
26048
  var node = this.childNodes[i];
26031
26049
  var nodeJson = void 0;
26032
26050
 
26033
- if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh || node instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__/* .TextInputFieldNode */ .re) {
26051
+ if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh || node instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__/* .TextInputFieldNode */ .re) {
26034
26052
  nodeJson = node.node2Json(undefined, isCopy, type, clearSign);
26035
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N) {
26053
+ } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N) {
26036
26054
  if (clearSign) {
26037
26055
  if (node.isTemplate) {
26038
26056
  nodeJson = node.node2Json(undefined, isCopy, undefined, clearSign);
@@ -26041,10 +26059,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26041
26059
  nodeJson = node.node2Json(undefined, isCopy);
26042
26060
  }
26043
26061
  } else {
26044
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26062
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26045
26063
  if (node.text !== "") {
26046
26064
  nodeJson = node.node2Json(undefined, isCopy);
26047
26065
  }
26066
+ } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__/* .DateTimeNode */ .Z) {
26067
+ nodeJson = node.node2Json(undefined, isCopy, undefined, clearSign);
26048
26068
  } else {
26049
26069
  nodeJson = node.node2Json(undefined, isCopy);
26050
26070
  }
@@ -26141,9 +26161,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26141
26161
  }
26142
26162
  }
26143
26163
 
26144
- var cellText = this.getCellText();
26164
+ var cellText = this.getCellText(clearSign);
26145
26165
  return {
26146
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType */ .Jq[this.nodeType],
26166
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType */ .Jq[this.nodeType],
26147
26167
  borderVisible: this.borderVisible.toString(),
26148
26168
  crossLineType: CrossLineType[this.crossLineType],
26149
26169
  rowSpan: this.rowSpan,
@@ -26193,12 +26213,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26193
26213
  newRange = arange.normalize();
26194
26214
  }
26195
26215
 
26196
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26216
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26197
26217
  var startPath = hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]);
26198
26218
  var lastPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]);
26199
26219
 
26200
- if (_NodePosition__WEBPACK_IMPORTED_MODULE_25__/* .NodePosition.pathCanCompare */ .F.pathCanCompare(newRange.startPath, startPath)) {
26201
- 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;
26220
+ if (_NodePosition__WEBPACK_IMPORTED_MODULE_26__/* .NodePosition.pathCanCompare */ .F.pathCanCompare(newRange.startPath, startPath)) {
26221
+ 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;
26202
26222
  }
26203
26223
 
26204
26224
  return ret;
@@ -26206,12 +26226,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26206
26226
  }, {
26207
26227
  key: "getNodesForUpdate",
26208
26228
  value: function getNodesForUpdate() {
26209
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26229
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26210
26230
  var ret = new Array();
26211
26231
 
26212
26232
  for (var i = 0; i < this._childNodes.length; i++) {
26213
- if (this._childNodes[i] instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh) {
26214
- var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(this._childNodes[i]), hoEditorFactory.docTree.getNodeLastPath(this._childNodes[i]));
26233
+ if (this._childNodes[i] instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh) {
26234
+ var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(this._childNodes[i]), hoEditorFactory.docTree.getNodeLastPath(this._childNodes[i]));
26215
26235
  ret = ret.concat(this._childNodes[i].getSelectNodesForUpdate(domRange, true));
26216
26236
  } else ret.push(this._childNodes[i]);
26217
26237
  }
@@ -26221,16 +26241,16 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26221
26241
  }, {
26222
26242
  key: "getSelectNodes",
26223
26243
  value: function getSelectNodes(bSplitTextInputNode) {
26224
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26244
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26225
26245
  var ret = new Array();
26226
26246
 
26227
26247
  for (var i = 0; i < this._childNodes.length; i++) {
26228
26248
  var aNode = this._childNodes[i];
26229
26249
 
26230
- if (aNode instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh) {
26231
- var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(aNode), hoEditorFactory.docTree.getNodeLastPath(aNode));
26250
+ if (aNode instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh) {
26251
+ var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(aNode), hoEditorFactory.docTree.getNodeLastPath(aNode));
26232
26252
  ret = ret.concat(aNode.getSelectNodes(domRange, true, bSplitTextInputNode));
26233
- } else if (bSplitTextInputNode && aNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__/* .TextInputFieldNode */ .re) {
26253
+ } else if (bSplitTextInputNode && aNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__/* .TextInputFieldNode */ .re) {
26234
26254
  ret = ret.concat(aNode.getAllChildNodes());
26235
26255
  } else ret.push(this._childNodes[i]);
26236
26256
  }
@@ -26251,19 +26271,23 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26251
26271
 
26252
26272
  }, {
26253
26273
  key: "getCellText",
26254
- value: function getCellText() {
26274
+ value: function getCellText(isClearValue) {
26255
26275
  var cellText = "";
26256
26276
 
26257
26277
  var loopChildNodes = function loopChildNodes(node) {
26258
26278
  var nodes = node.childNodes.slice(1);
26259
26279
  nodes.forEach(function (childNode) {
26260
- if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26261
- cellText += childNode.text;
26262
- } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_29__/* .ControlNode */ .w) {
26280
+ if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26263
26281
  cellText += childNode.text;
26264
- } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_27__/* .BaseCombineNode */ .V) {
26282
+ } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w) {
26283
+ if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
26284
+ cellText += "";
26285
+ } else {
26286
+ cellText += childNode.text;
26287
+ }
26288
+ } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_28__/* .BaseCombineNode */ .V) {
26265
26289
  loopChildNodes(childNode);
26266
- } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C) {
26290
+ } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C) {
26267
26291
  cellText += '\n';
26268
26292
  }
26269
26293
  });
@@ -26274,13 +26298,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26274
26298
  }
26275
26299
  }, {
26276
26300
  key: "setCellText",
26277
- value: function setCellText(value) {
26301
+ value: function setCellText(value, isPaste) {
26278
26302
  var colIndex = this.row.indexOf(this);
26279
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26303
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26280
26304
  var colProperty = this.table.colInfos[colIndex].colProperty;
26281
26305
 
26282
- if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .EditorProperty.Number */ .YS.Number) {
26283
- if (!(0,_plugins_type__WEBPACK_IMPORTED_MODULE_22__/* .isNumber */ .hj)(value)) {
26306
+ if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .EditorProperty.Number */ .YS.Number) {
26307
+ if (!(0,_plugins_type__WEBPACK_IMPORTED_MODULE_23__/* .isNumber */ .hj)(value)) {
26284
26308
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("输入值非数值类型,请重输!", "提示");
26285
26309
 
26286
26310
  return;
@@ -26314,22 +26338,27 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26314
26338
  var endPath = "";
26315
26339
  var startPath = "";
26316
26340
 
26317
- if (this.table.tableProperty.isAutoChangeLine) {
26318
- var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
26341
+ if (isPaste) {
26342
+ startPath = "".concat(this.getNodePath(), "/0");
26343
+ endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26344
+ } else {
26345
+ if (this.table.tableProperty.isAutoChangeLine) {
26346
+ var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
26319
26347
 
26320
- if (curDomRange.npEnd.node instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C) {
26321
- startPath = curDomRange.startPath;
26322
- endPath = startPath;
26348
+ if (curDomRange.npEnd.node instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C) {
26349
+ startPath = curDomRange.startPath;
26350
+ endPath = startPath;
26351
+ } else {
26352
+ startPath = curDomRange.npEnd.node.prevSibling().getNodePath();
26353
+ endPath = hoEditorFactory.docTree.getNodeLastPath(curDomRange.npEnd.node);
26354
+ }
26323
26355
  } else {
26324
- startPath = curDomRange.npEnd.node.prevSibling().getNodePath();
26325
- endPath = hoEditorFactory.docTree.getNodeLastPath(curDomRange.npEnd.node);
26356
+ startPath = "".concat(this.getNodePath(), "/0");
26357
+ endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26326
26358
  }
26327
- } else {
26328
- startPath = "".concat(this.getNodePath(), "/0");
26329
- endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26330
26359
  }
26331
26360
 
26332
- var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
26361
+ var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
26333
26362
  hoEditorFactory.docController.deleteRange(aRange, true);
26334
26363
  hoEditorFactory.docController.insertPlainTextAfterPath(startPath, value);
26335
26364
  }
@@ -26375,23 +26404,23 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26375
26404
  }, {
26376
26405
  key: "needPaintLineGrid",
26377
26406
  value: function needPaintLineGrid() {
26378
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26407
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26379
26408
 
26380
26409
  var _this$table$getCellIn = this.table.getCellInfos(this),
26381
26410
  _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),
26382
26411
  r = _this$table$getCellIn2[0],
26383
26412
  c = _this$table$getCellIn2[1];
26384
26413
 
26385
- 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;
26414
+ 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;
26386
26415
  }
26387
26416
  }], [{
26388
26417
  key: "json2Node",
26389
26418
  value: function json2Node(hoEditorFactoryID, json, rootNodes, tableNode, aRow, rowsMap, rows, defaultCellProperty, isPaste, isClearSign) {
26390
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
26419
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
26391
26420
  var rowNo = parseInt(json.rowNo);
26392
26421
  var colNo = parseInt(json.colNo);
26393
26422
  aRow = rowsMap.get(rowNo);
26394
- var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .CellProperty */ .$W(""));
26423
+ var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .CellProperty */ .$W(""));
26395
26424
  var cellProperty = json.cellProperty;
26396
26425
 
26397
26426
  if (cellProperty === "") {
@@ -26419,9 +26448,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26419
26448
  target[value] = Number(source[value]);
26420
26449
  } else {
26421
26450
  if (value === "dateTimeProperty") {
26422
- cellNode.cellProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .DateTimeProperty */ .Ks(source[value]);
26451
+ cellNode.cellProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .DateTimeProperty */ .Ks(source[value]);
26423
26452
  } else if (value === "downListProperty") {
26424
- cellNode.cellProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .ColDownListProperty */ .cW(source[value]);
26453
+ cellNode.cellProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .ColDownListProperty */ .cW(source[value]);
26425
26454
  } else {
26426
26455
  target[value] = source[value];
26427
26456
  }
@@ -26460,13 +26489,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26460
26489
  var convertNode = hoEditorFactory.structureConvert.convertNode(item[j], rootNodes, cellNode, undefined, isPaste, isClearSign);
26461
26490
 
26462
26491
  if (convertNode) {
26463
- if (convertNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26492
+ if (convertNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26464
26493
  if (convertNode.text !== "") {
26465
26494
  cellNode.addChild(convertNode);
26466
26495
  }
26467
26496
  } else {
26468
26497
  if (isClearSign) {
26469
- if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N) {
26498
+ if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N) {
26470
26499
  if (convertNode.isTemplate) {
26471
26500
  cellNode.addChild(convertNode);
26472
26501
  }
@@ -26479,11 +26508,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26479
26508
  }
26480
26509
  }
26481
26510
 
26482
- if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_30__/* .MarkNode */ .j) {
26511
+ if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_32__/* .MarkNode */ .j) {
26483
26512
  hoEditorFactory.structureConvert._markNodes.push(convertNode);
26484
26513
  }
26485
26514
 
26486
- if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(convertNode.customProperty.bce01)) {
26515
+ if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(convertNode.customProperty.bce01)) {
26487
26516
  hoEditorFactory.structureConvert._superiorSign[0] = convertNode;
26488
26517
  }
26489
26518
  }
@@ -26529,16 +26558,16 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26529
26558
 
26530
26559
  if (text !== "") {
26531
26560
  var textArr = text.split("\n");
26532
- 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));
26561
+ 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));
26533
26562
  cellNode.addChild(firstTextNode);
26534
26563
 
26535
26564
  if (textArr.length > 1) {
26536
26565
  for (var i = 1; i < textArr.length; i++) {
26537
- var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, cellNode, Number(paraNode.styleIndex));
26566
+ var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, cellNode, Number(paraNode.styleIndex));
26538
26567
  cellNode.addChild(paragraNode);
26539
26568
 
26540
26569
  if (textArr[i] !== "") {
26541
- 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));
26570
+ 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));
26542
26571
  cellNode.addChild(textNode);
26543
26572
  }
26544
26573
  }
@@ -26556,7 +26585,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26556
26585
  }]);
26557
26586
 
26558
26587
  return CellNode;
26559
- }(_RectNode__WEBPACK_IMPORTED_MODULE_32__/* .RectNode */ .z);
26588
+ }(_RectNode__WEBPACK_IMPORTED_MODULE_34__/* .RectNode */ .z);
26560
26589
 
26561
26590
  /***/ }),
26562
26591
 
@@ -27245,7 +27274,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27245
27274
  }
27246
27275
  }, {
27247
27276
  key: "node2Json",
27248
- value: function node2Json(range, isCopy, type) {
27277
+ value: function node2Json(range, isCopy, type, isClearValue) {
27249
27278
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27250
27279
  var retObj = {
27251
27280
  nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
@@ -27260,7 +27289,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27260
27289
  isSynchro: this.isSynchro,
27261
27290
  controlStyle: this.controlStyle.replace("hh", "HH"),
27262
27291
  name: this.name,
27263
- text: this.text === this.name ? "" : this.text,
27292
+ text: isClearValue || this.text === this.name ? "" : this.text,
27264
27293
  labelText: this.labelText,
27265
27294
  title: this.title,
27266
27295
  styleIndex: this.styleIndex,
@@ -37432,6 +37461,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
37432
37461
 
37433
37462
  if (isCopy) {
37434
37463
  rows = pto.row;
37464
+ cols = pto.col;
37435
37465
 
37436
37466
  if (to.colSpan > 1) {
37437
37467
  cols = pto.col + to.colSpan - 1;
@@ -38771,7 +38801,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38771
38801
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(83964);
38772
38802
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46455);
38773
38803
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(42015);
38774
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(16296);
38804
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(16296);
38775
38805
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(68309);
38776
38806
  /* 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__);
38777
38807
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(41539);
@@ -38816,19 +38846,20 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38816
38846
  /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(3267);
38817
38847
  /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(92178);
38818
38848
  /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(99964);
38819
- /* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(71916);
38820
- /* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(61400);
38821
- /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(92730);
38822
- /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(43977);
38823
- /* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(59419);
38824
- /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(13880);
38825
- /* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(36330);
38826
- /* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(16890);
38827
- /* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(77876);
38828
- /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(78975);
38829
- /* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(72330);
38830
- /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(59530);
38831
- /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(27564);
38849
+ /* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(40253);
38850
+ /* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(71916);
38851
+ /* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(61400);
38852
+ /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(92730);
38853
+ /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(43977);
38854
+ /* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(59419);
38855
+ /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(13880);
38856
+ /* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(36330);
38857
+ /* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(16890);
38858
+ /* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(77876);
38859
+ /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(78975);
38860
+ /* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(72330);
38861
+ /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(59530);
38862
+ /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(27564);
38832
38863
 
38833
38864
 
38834
38865
 
@@ -38861,7 +38892,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38861
38892
  /*
38862
38893
  * @Author: your name
38863
38894
  * @Date: 2020-11-03 15:17:54
38864
- * @LastEditTime: 2022-07-28 09:25:18
38895
+ * @LastEditTime: 2022-07-29 14:35:30
38865
38896
  * @LastEditors: liyanan 2441631434@qq.com
38866
38897
  * @Description: In User Settings Edit
38867
38898
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -38891,6 +38922,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38891
38922
 
38892
38923
 
38893
38924
 
38925
+
38894
38926
 
38895
38927
 
38896
38928
  var ReadOnlyStatus;
@@ -38949,7 +38981,7 @@ var DownListProperty = /*#__PURE__*/function () {
38949
38981
  DownListProperty.setDefaultImportStyle(this);
38950
38982
  }
38951
38983
 
38952
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(DownListProperty, [{
38984
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(DownListProperty, [{
38953
38985
  key: "allowMultiSelected",
38954
38986
  get: function get() {
38955
38987
  return this._allowMultiSelected;
@@ -39044,7 +39076,7 @@ var DataVerifyFormat = /*#__PURE__*/function () {
39044
39076
  DataVerifyFormat.setDefaultDataVerifyFormat(this);
39045
39077
  }
39046
39078
 
39047
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(DataVerifyFormat, [{
39079
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(DataVerifyFormat, [{
39048
39080
  key: "mustInputValue",
39049
39081
  get: function get() {
39050
39082
  return this._mustInputValue;
@@ -39152,7 +39184,7 @@ var BandDataSource = /*#__PURE__*/function () {
39152
39184
  BandDataSource.setDefaultBandDataSource(this);
39153
39185
  }
39154
39186
 
39155
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(BandDataSource, [{
39187
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(BandDataSource, [{
39156
39188
  key: "dataSourceEnabled",
39157
39189
  get: function get() {
39158
39190
  return this._dataSourceEnabled;
@@ -39426,7 +39458,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39426
39458
  */
39427
39459
 
39428
39460
 
39429
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(TextInputFieldNode, [{
39461
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(TextInputFieldNode, [{
39430
39462
  key: "alignWithBlocked",
39431
39463
  get: function get() {
39432
39464
  return this._alignWithBlocked;
@@ -39910,7 +39942,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39910
39942
 
39911
39943
  }, {
39912
39944
  key: "getFieldText",
39913
- value: function getFieldText() {
39945
+ value: function getFieldText(isClearValue) {
39914
39946
  var _this3 = this;
39915
39947
 
39916
39948
  var text = "";
@@ -39918,7 +39950,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39918
39950
  var loopChildNodes = function loopChildNodes(node) {
39919
39951
  var nodes = node.childNodes.slice(1);
39920
39952
  nodes.forEach(function (childNode) {
39921
- if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
39953
+ if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
39922
39954
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3.hoEditorFactoryID);
39923
39955
  var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
39924
39956
 
@@ -39931,22 +39963,26 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39931
39963
  text += childNode.text;
39932
39964
  }
39933
39965
  } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_38__/* .ControlNode */ .w) {
39934
- text += childNode.text;
39966
+ if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
39967
+ text += "";
39968
+ } else {
39969
+ text += childNode.text;
39970
+ }
39935
39971
  } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_36__/* .BaseCombineNode */ .V) {
39936
39972
  loopChildNodes(childNode);
39937
- } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C) {
39973
+ } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C) {
39938
39974
  text += '\n';
39939
- } else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_42__/* .MedicalExpressionNode */ .H) {
39975
+ } else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_43__/* .MedicalExpressionNode */ .H) {
39940
39976
  var expressJson = JSON.parse("{}");
39941
39977
  text += "<MedicalExpress>";
39942
39978
 
39943
- if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__/* .MenstrualHistoryNode */ .n) {
39979
+ if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__/* .MenstrualHistoryNode */ .n) {
39944
39980
  expressJson.expressStyle = childNode.expressStyle;
39945
39981
  expressJson.menseDays = childNode.menseDays;
39946
39982
  expressJson.cycleDays = childNode.cycleDays;
39947
39983
  expressJson.menarcheAge = childNode.menarcheAge;
39948
39984
  expressJson.menoPauseAge = childNode.menoPauseAge;
39949
- } 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) {
39985
+ } 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) {
39950
39986
  expressJson.value1 = childNode.value1;
39951
39987
  expressJson.value2 = childNode.value2;
39952
39988
  expressJson.value3 = childNode.value3;
@@ -39954,10 +39990,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39954
39990
  expressJson.value5 = childNode.value5;
39955
39991
  expressJson.value6 = childNode.value6;
39956
39992
 
39957
- if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PupilMapNode */ .v) {
39993
+ if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PupilMapNode */ .v) {
39958
39994
  expressJson.expressStyle = "PupilMapNode";
39959
39995
  expressJson.value7 = childNode.value7;
39960
- } else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__/* .LightLocationMapNode */ .D) {
39996
+ } else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__/* .LightLocationMapNode */ .D) {
39961
39997
  expressJson.expressStyle = "LightLocationMapNode";
39962
39998
  expressJson.value7 = childNode.value7;
39963
39999
  expressJson.value8 = childNode.value8;
@@ -39965,12 +40001,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39965
40001
  } else {
39966
40002
  expressJson.expressStyle = "FetalHeartMapNode";
39967
40003
  }
39968
- } else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PrimaryTeethMapNode */ .x) {
39969
- if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__/* .PermanentTeethMapNode */ .f) {
40004
+ } else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PrimaryTeethMapNode */ .x) {
40005
+ if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PermanentTeethMapNode */ .f) {
39970
40006
  expressJson.expressStyle = "PermanentTeethMapNode";
39971
40007
  }
39972
40008
 
39973
- if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PrimaryTeethMapNode */ .x) {
40009
+ if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PrimaryTeethMapNode */ .x) {
39974
40010
  expressJson.expressStyle = "PrimaryTeethMapNode";
39975
40011
  }
39976
40012
 
@@ -40033,7 +40069,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40033
40069
  this.keyValue = keyValue;
40034
40070
  }
40035
40071
 
40036
- if (!(value === "" && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j)) {
40072
+ if (!(value === "" && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j)) {
40037
40073
  _context2.next = 4;
40038
40074
  break;
40039
40075
  }
@@ -40048,7 +40084,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40048
40084
  endPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]);
40049
40085
  aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_34__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
40050
40086
 
40051
- if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) && this.inputFieldType === 0) {
40087
+ if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) && this.inputFieldType === 0) {
40052
40088
  anodes = _DomRange__WEBPACK_IMPORTED_MODULE_34__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this.hoEditorFactoryID, startPath, endPath);
40053
40089
 
40054
40090
  for (i = 0; i < anodes.length; i++) {
@@ -40067,7 +40103,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40067
40103
  break;
40068
40104
  }
40069
40105
 
40070
- 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);
40106
+ 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);
40071
40107
  hoEditorFactory.undoService.begin();
40072
40108
  hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_31__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
40073
40109
  hoEditorFactory.undoService.commit();
@@ -40146,19 +40182,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40146
40182
  // index = astyle.changeStyleString("fontBackColor", "transparent");
40147
40183
  // }
40148
40184
 
40149
- 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);
40185
+ 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);
40150
40186
  this.StartMarkNode.isReadOnly = true;
40151
- this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtStart */ .q.mtStart;
40152
- 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);
40187
+ this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtStart */ .q.mtStart;
40188
+ 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);
40153
40189
  this.EndMarkNode.isReadOnly = true;
40154
- this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd;
40190
+ this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd;
40155
40191
  this.StartMarkNode.pair = this.EndMarkNode;
40156
40192
  this.EndMarkNode.pair = this.StartMarkNode;
40157
40193
 
40158
40194
  this._childNodes2.push(this.StartMarkNode);
40159
40195
 
40160
40196
  if (this.labelText.length != 0) {
40161
- 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);
40197
+ 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);
40162
40198
  // this._childNodes2.push(this._labelNode);
40163
40199
 
40164
40200
  }
@@ -40172,7 +40208,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40172
40208
  this.childNodes.splice(1, 1);
40173
40209
  }
40174
40210
 
40175
- 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));
40211
+ 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));
40176
40212
  }
40177
40213
  }
40178
40214
  }, {
@@ -40215,7 +40251,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40215
40251
  for (var index = 0; index < this.childNodes.length; index++) {
40216
40252
  var value = this.childNodes[index];
40217
40253
 
40218
- if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C) {
40254
+ if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C) {
40219
40255
  if (aline.paragraphNode !== value) {
40220
40256
  if (aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_25__/* .DrawLine */ .a) {
40221
40257
  aline.fitLines();
@@ -40232,7 +40268,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40232
40268
 
40233
40269
  paraNode = value;
40234
40270
  aline = paraNode.drawlines[0];
40235
- } else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_50__/* .TableNode */ .Fh) {
40271
+ } else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_51__/* .TableNode */ .Fh) {
40236
40272
  value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
40237
40273
  aline = value.drawTable;
40238
40274
  } else {
@@ -40342,7 +40378,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40342
40378
  value: function getActualWidth() {
40343
40379
  var w = 0;
40344
40380
  this.childNodes.forEach(function (value) {
40345
- if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C)) w += value.getActualWidth();
40381
+ if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C)) w += value.getActualWidth();
40346
40382
  });
40347
40383
  return w;
40348
40384
  }
@@ -40405,10 +40441,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40405
40441
  return true;
40406
40442
  }
40407
40443
 
40408
- if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40444
+ if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40409
40445
  var markNode = this.childNodes[1];
40410
40446
 
40411
- if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent) {
40447
+ if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent) {
40412
40448
  return true;
40413
40449
  } else return false;
40414
40450
  }
@@ -40465,10 +40501,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40465
40501
  for (var i = 0; i < this.childNodes.length; i++) {
40466
40502
  var node = this.childNodes[i];
40467
40503
 
40468
- if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && node.text.substr(0, 1) !== "C")) {
40469
- if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_50__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
40504
+ if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && node.text.substr(0, 1) !== "C")) {
40505
+ if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_51__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
40470
40506
  childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
40471
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40507
+ } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40472
40508
  if (clearSign) {
40473
40509
  if (node.isTemplate) {
40474
40510
  childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
@@ -40477,10 +40513,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40477
40513
  childArray.push(node.node2Json(undefined, isCopy));
40478
40514
  }
40479
40515
  } else {
40480
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40516
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40481
40517
  if (node.text !== "") {
40482
40518
  childArray.push(node.node2Json(undefined, isCopy));
40483
40519
  }
40520
+ } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__/* .DateTimeNode */ .Z) {
40521
+ childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
40484
40522
  } else {
40485
40523
  childArray.push(node.node2Json(undefined, isCopy));
40486
40524
  }
@@ -40536,7 +40574,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40536
40574
  }
40537
40575
 
40538
40576
  if (canCopy) {
40539
- if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && _node.text.substr(0, 1) === "C")) {
40577
+ if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && _node.text.substr(0, 1) === "C")) {
40540
40578
  childArray.push(_node.node2Json(rec, isCopy));
40541
40579
  }
40542
40580
  }
@@ -40589,7 +40627,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40589
40627
  //const customPropertyObj =
40590
40628
 
40591
40629
 
40592
- this.text = this.getFieldText();
40630
+ this.text = this.getFieldText(clearSign);
40593
40631
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40594
40632
  var retObj = {
40595
40633
  nodeType: "ntField",
@@ -40734,13 +40772,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40734
40772
  var node = hoEditorFactory.structureConvert.convertNode(item[i], rootNodes, temp, undefined, undefined, isClearSign);
40735
40773
 
40736
40774
  if (node) {
40737
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40775
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40738
40776
  if (node.text !== "") {
40739
40777
  nodes.push(node);
40740
40778
  }
40741
40779
  } else {
40742
40780
  if (isClearSign) {
40743
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40781
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40744
40782
  if (node.isTemplate) {
40745
40783
  nodes.push(node);
40746
40784
  }
@@ -40753,11 +40791,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40753
40791
  }
40754
40792
  }
40755
40793
 
40756
- 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") {
40794
+ 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") {
40757
40795
  hoEditorFactory.structureConvert._markNodes.push(node);
40758
40796
  }
40759
40797
 
40760
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
40798
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
40761
40799
  hoEditorFactory.structureConvert._superiorSign[0] = node;
40762
40800
  }
40763
40801
  }
@@ -40766,14 +40804,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40766
40804
  var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
40767
40805
 
40768
40806
  if (_node2) {
40769
- if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40807
+ if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40770
40808
  if (_node2.text !== "") {
40771
40809
  nodes.push(_node2);
40772
40810
  }
40773
40811
  } else {
40774
40812
  //nodes.push(node);
40775
40813
  if (isClearSign) {
40776
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40814
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40777
40815
  if (_node2.isTemplate) {
40778
40816
  nodes.push(_node2);
40779
40817
  }
@@ -40786,11 +40824,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40786
40824
  }
40787
40825
  }
40788
40826
 
40789
- 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") {
40827
+ 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") {
40790
40828
  hoEditorFactory.structureConvert._markNodes.push(_node2);
40791
40829
  }
40792
40830
 
40793
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
40831
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
40794
40832
  hoEditorFactory.structureConvert._superiorSign[0] = _node2;
40795
40833
  }
40796
40834
  }
@@ -40811,14 +40849,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40811
40849
  }
40812
40850
 
40813
40851
  if (nodes.length > 0) {
40814
- if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40852
+ if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40815
40853
  var _temp$childNodes;
40816
40854
 
40817
40855
  temp.childNodes.length = 0;
40818
40856
 
40819
40857
  (_temp$childNodes = temp.childNodes).splice.apply(_temp$childNodes, [0, 0].concat(nodes));
40820
40858
 
40821
- if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40859
+ if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40822
40860
  temp._childNodes2.splice(1, 1);
40823
40861
 
40824
40862
  temp._childNodes2.splice(1, 0, temp.childNodes[1]);
@@ -40838,16 +40876,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40838
40876
  var sChildNode = temp.childNodes[0];
40839
40877
  var eChildNode = temp.childNodes[temp.childNodes.length - 1];
40840
40878
 
40841
- 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) {
40879
+ 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) {
40842
40880
  throw new Error("经检测,病历元素“" + temp.name + "”的模板格式有问题,无法正常加载,请联系工程师进行处理。");
40843
40881
  }
40844
40882
 
40845
- 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) {
40883
+ 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) {
40846
40884
  throw new Error("经检测,病历元素“" + temp.name + "”的模板格式有问题,无法正常加载,请联系工程师进行处理。");
40847
40885
  }
40848
40886
  }
40849
40887
 
40850
- if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_49__/* .TableFormula */ .N) {
40888
+ if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_50__/* .TableFormula */ .N) {
40851
40889
  return temp;
40852
40890
  }
40853
40891
 
@@ -40882,11 +40920,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40882
40920
 
40883
40921
  for (var i = 0; i < lineArr.length; i++) {
40884
40922
  var lineText = lineArr[i];
40885
- var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
40923
+ var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
40886
40924
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
40887
40925
 
40888
40926
  if (i < lineArr.length - 1) {
40889
- var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40927
+ var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40890
40928
  paraNode.styleIndex = styleIndex;
40891
40929
  temp.childNodes.splice(temp.childNodes.length - 1, 0, paraNode);
40892
40930
  }
@@ -40938,17 +40976,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40938
40976
  textArr = textStr.split("\n");
40939
40977
  }
40940
40978
 
40941
- 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);
40979
+ 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);
40942
40980
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
40943
40981
 
40944
40982
  if (textArr.length > 1) {
40945
40983
  for (var _i2 = 1; _i2 < textArr.length; _i2++) {
40946
- var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40984
+ var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40947
40985
  paragraNode.styleIndex = styleIndex;
40948
40986
  temp.childNodes.splice(temp.childNodes.length - 1, 0, paragraNode);
40949
40987
 
40950
40988
  if (textArr[_i2] !== "") {
40951
- 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);
40989
+ 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);
40952
40990
 
40953
40991
  temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode);
40954
40992
  }
@@ -40967,7 +41005,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40967
41005
  var eIndex = expressArr[_i3].eIndex;
40968
41006
  var expressJson = temp.text.substring(sIndex + 16, eIndex);
40969
41007
  var expressObj = JSON.parse(expressJson);
40970
- var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__/* .ExpressStyle */ .e[expressObj.expressStyle];
41008
+ var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__/* .ExpressStyle */ .e[expressObj.expressStyle];
40971
41009
 
40972
41010
  if (!expressStyle) {
40973
41011
  expressStyle = expressObj.expressStyle;
@@ -40977,18 +41015,18 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40977
41015
 
40978
41016
  if (expressStyle.includes("style")) {
40979
41017
  //经期史
40980
- 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);
41018
+ 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);
40981
41019
  } else {
40982
41020
  if (expressStyle === "PupilMapNode") {
40983
- 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);
41021
+ 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);
40984
41022
  } else if (expressStyle === "LightLocationMapNode") {
40985
- 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);
41023
+ 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);
40986
41024
  } else if (expressStyle === "FetalHeartMapNode") {
40987
- 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);
41025
+ 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);
40988
41026
  } else if (expressStyle === "PermanentTeethMapNode") {
40989
- 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);
41027
+ 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);
40990
41028
  } else {
40991
- 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);
41029
+ 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);
40992
41030
  }
40993
41031
  }
40994
41032
 
@@ -41016,8 +41054,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
41016
41054
  } else {
41017
41055
  temp._childNodes2.splice(1, temp._childNodes2.length - 2);
41018
41056
 
41019
- 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,
41020
- styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent);
41057
+ 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,
41058
+ styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent);
41021
41059
 
41022
41060
  temp._childNodes.splice(1, 0, markNode);
41023
41061
 
@@ -50021,6 +50059,8 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
50021
50059
  } else if (index == partCell.cell.drawCell.drawPageCells.length - 1) {
50022
50060
  dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerBottom + partCell.docHeight);
50023
50061
  }
50062
+ } else {
50063
+ dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, partCell.docHeight);
50024
50064
  }
50025
50065
 
50026
50066
  if (index === partCell.cell.drawCell.drawPageCells.length - 1 || this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
@@ -63063,6 +63103,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63063
63103
  end: ""
63064
63104
  };
63065
63105
  this._pnode = null;
63106
+ this._isError = false;
63066
63107
  this._hoEditorFactoryID = hoEditorFactoryID;
63067
63108
  this._startPath = startPath;
63068
63109
  this._endPath = endPath;
@@ -63543,27 +63584,28 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63543
63584
  hoEditorFactory.docTree.curDomRange = currRange;
63544
63585
 
63545
63586
  if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psReview */ .Dh.psReview)) {
63546
- _context.next = 10;
63587
+ _context.next = 11;
63547
63588
  break;
63548
63589
  }
63549
63590
 
63550
63591
  if (!(currRange.npEnd.node && currRange.npEnd.node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R)) {
63551
- _context.next = 10;
63592
+ _context.next = 11;
63552
63593
  break;
63553
63594
  }
63554
63595
 
63555
63596
  textStyle = hoEditorFactory.docTree.styles[currRange.npEnd.node.styleIndex];
63556
63597
 
63557
63598
  if (!(textStyle.strikeout && currRange.npEnd.node.text.length > 0)) {
63558
- _context.next = 10;
63599
+ _context.next = 11;
63559
63600
  break;
63560
63601
  }
63561
63602
 
63562
63603
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("该内容当前已处于删除状态!");
63563
63604
 
63605
+ this._isError = true;
63564
63606
  return _context.abrupt("return");
63565
63607
 
63566
- case 10:
63608
+ case 11:
63567
63609
  nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._startPath, this._endPath); // const npFirst = hoEditorFactory.docTree.findNodePositionByPath(this._startPath);
63568
63610
  // if (npFirst && npFirst.node) {
63569
63611
  // //const parentNode = hoEditorFactory.docTree.getParentNode(this._startPath);
@@ -63576,41 +63618,42 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63576
63618
  //if(nodes.length == 0) return;
63577
63619
 
63578
63620
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63579
- _context.next = 34;
63621
+ _context.next = 38;
63580
63622
  break;
63581
63623
  }
63582
63624
 
63583
63625
  n = 0;
63584
63626
 
63585
- case 13:
63627
+ case 14:
63586
63628
  if (!(n < nodes.length)) {
63587
- _context.next = 34;
63629
+ _context.next = 38;
63588
63630
  break;
63589
63631
  }
63590
63632
 
63591
63633
  node = nodes[n];
63592
63634
 
63593
63635
  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)) {
63594
- _context.next = 18;
63636
+ _context.next = 20;
63595
63637
  break;
63596
63638
  }
63597
63639
 
63598
63640
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。", "系统提示");
63599
63641
 
63600
- return _context.abrupt("return", 0);
63642
+ this._isError = true;
63643
+ return _context.abrupt("return");
63601
63644
 
63602
- case 18:
63645
+ case 20:
63603
63646
  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) {
63604
63647
  hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
63605
63648
  }
63606
63649
 
63607
63650
  if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
63608
- _context.next = 28;
63651
+ _context.next = 31;
63609
63652
  break;
63610
63653
  }
63611
63654
 
63612
63655
  if (node.isAllowDelete) {
63613
- _context.next = 28;
63656
+ _context.next = 31;
63614
63657
  break;
63615
63658
  }
63616
63659
 
@@ -63634,28 +63677,30 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63634
63677
 
63635
63678
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert(tip + "元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。", "系统提示");
63636
63679
 
63637
- return _context.abrupt("return", 0);
63680
+ this._isError = true;
63681
+ return _context.abrupt("return");
63638
63682
 
63639
- case 28:
63683
+ case 31:
63640
63684
  if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63641
- _context.next = 31;
63685
+ _context.next = 35;
63642
63686
  break;
63643
63687
  }
63644
63688
 
63645
63689
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("该签名元素不允许删除!", "系统提示");
63646
63690
 
63647
- return _context.abrupt("return", 0);
63691
+ this._isError = true;
63692
+ return _context.abrupt("return");
63648
63693
 
63649
- case 31:
63694
+ case 35:
63650
63695
  n++;
63651
- _context.next = 13;
63696
+ _context.next = 14;
63652
63697
  break;
63653
63698
 
63654
- case 34:
63699
+ case 38:
63655
63700
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
63656
63701
 
63657
63702
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63658
- _context.next = 40;
63703
+ _context.next = 44;
63659
63704
  break;
63660
63705
  }
63661
63706
 
@@ -63668,24 +63713,24 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63668
63713
  });
63669
63714
 
63670
63715
  if (_res[0]) {
63671
- _context.next = 40;
63716
+ _context.next = 44;
63672
63717
  break;
63673
63718
  }
63674
63719
 
63675
63720
  return _context.abrupt("return");
63676
63721
 
63677
- case 40:
63722
+ case 44:
63678
63723
  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函数完成后调用这个
63679
63724
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
63680
63725
 
63681
63726
  if (currRange.npStart.node && currRange.npEnd.node) {
63682
- _context.next = 43;
63727
+ _context.next = 47;
63683
63728
  break;
63684
63729
  }
63685
63730
 
63686
63731
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63687
63732
 
63688
- case 43:
63733
+ case 47:
63689
63734
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
63690
63735
  // this._hoEditorFactory,
63691
63736
  // currRange.startPath,
@@ -63698,33 +63743,33 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63698
63743
  res = this.deleteRange(currRange.endPath, currRange.startPath);
63699
63744
 
63700
63745
  if (!(res == 1)) {
63701
- _context.next = 55;
63746
+ _context.next = 59;
63702
63747
  break;
63703
63748
  }
63704
63749
 
63705
63750
  changeEvent.beforeChangePath = startPath;
63706
63751
  changeEvent.afterChangePath = this._tmp.start;
63707
- _context.next = 53;
63752
+ _context.next = 57;
63708
63753
  return hoEditorFactory.docTree.change(changeEvent);
63709
63754
 
63710
- case 53:
63755
+ case 57:
63711
63756
  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));
63712
63757
  hoEditorFactory.docTree.selectChange(cgEvent);
63713
63758
 
63714
- case 55:
63759
+ case 59:
63715
63760
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
63716
63761
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
63717
63762
  aNode = currRange.npStart.node;
63718
63763
 
63719
63764
  if (!(aNode && pnode)) {
63720
- _context.next = 61;
63765
+ _context.next = 65;
63721
63766
  break;
63722
63767
  }
63723
63768
 
63724
- _context.next = 61;
63769
+ _context.next = 65;
63725
63770
  return this.ParentRepaint(pnode);
63726
63771
 
63727
- case 61:
63772
+ case 65:
63728
63773
  case "end":
63729
63774
  return _context.stop();
63730
63775
  }
@@ -63769,6 +63814,11 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63769
63814
  get: function get() {
63770
63815
  return this._affectText;
63771
63816
  }
63817
+ }, {
63818
+ key: "isError",
63819
+ get: function get() {
63820
+ return this._isError;
63821
+ }
63772
63822
  }]);
63773
63823
 
63774
63824
  return NodesDeleteUndoUnit;
@@ -200644,61 +200694,14 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200644
200694
  function DrawSelectLevel(hoEditorFactoryID, pageIndex, selectCanvas, docIndex, drawPageIndex) {
200645
200695
  (0,classCallCheck/* default */.Z)(this, DrawSelectLevel);
200646
200696
 
200697
+ this._scrollYList = [];
200647
200698
  this._hoEditorFactoryID = hoEditorFactoryID;
200648
- this._selectCanvas = selectCanvas; // this._drawPage = drawPage;
200649
-
200699
+ this._selectCanvas = selectCanvas;
200650
200700
  this._pageIndex = pageIndex;
200651
200701
  this._docIndex = docIndex;
200652
200702
  this._drawPageIndex = drawPageIndex;
200653
- this._selectStage = null; // this._selectCanvas = selectCanvas;
200654
- // if (hoeditorfactory.drawTree.paintStatus !== PaintState.psPreview) {
200655
- // this._selectStage = new createjs.StageGL(selectCanvas, {
200656
- // transparent: true,
200657
- // });
200658
- // } else {
200659
- // this._selectStage = new createjs.Stage(selectCanvas);
200660
- // }
200661
- // (this._domStage as any).setClearColor("#ffffff");
200662
- // this._selectStage.enableMouseOver(1);
200663
- // this._mainContainer = new createjs.Container();
200664
-
200665
- this._mouseDownCount = 0; // this.mainBackGround = new createjs.Shape();
200666
- // this.mainBackGround.x = 0;
200667
- // this.mainBackGround.y = 0;
200668
- // this.mainBackGround.alpha = 0.01;
200669
- // this.mainBackGround.setBounds(
200670
- // 0,
200671
- // 0,
200672
- // hoeditorfactory.pageProperty.widthPixes,
200673
- // hoeditorfactory.pageProperty.heightPixes
200674
- // );
200675
- // const rect = this.mainBackGround.getBounds();
200676
- // this.mainBackGround.graphics
200677
- // .beginFill("blue")
200678
- // .rect(rect.x, rect.y, rect.width, rect.height);
200679
- // this._selectStage.addChild(this.mainBackGround);
200680
- // this.mainBackGround.addEventListener("mousedown", (aevent: any) => {
200681
- // this.mouseDown(aevent)
200682
- // );
200683
- // this.mainBackGround.addEventListener("dblclick", (aevent: any) => {
200684
- // this.mouseDblClick(aevent);
200685
- // });
200686
-
200687
- /* case PaintState.psPreview: {
200688
- break;
200689
- }
200690
- case PaintState.psPrint: {
200691
- break;
200692
- } default: {
200693
- //this.mouseClick(aevent);
200694
- break;
200695
- }
200696
- }
200697
- });*/
200698
- // this.mainBackGround.addEventListener("click", (aevent: any) => {
200699
- // this.mouseClick(aevent);
200700
- // });
200701
-
200703
+ this._selectStage = null;
200704
+ this._mouseDownCount = 0;
200702
200705
  this._oldRange = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange;
200703
200706
  this._shapesColor = new Map();
200704
200707
  }
@@ -200722,21 +200725,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200722
200725
  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;
200723
200726
  dPage.setEnableMouseOver(5);
200724
200727
 
200725
- this._selectStage.addChild(dPage.selectContainer); // const len = [...HOEditorFactorys.instance().hoEditorFactoryMap].length;
200726
- // if (len > 1) {
200727
- // if (this._docIndex === 0) {
200728
- // if (this._drawPageIndex === 0) {
200729
- // this._selectStage.addChild(dPage.headerLeftTag);
200730
- // this._selectStage.addChild(dPage.headerRightTag);
200731
- // }
200732
- // } else if (this._docIndex === len - 1) {
200733
- // if (this._drawPageIndex === hoEditorFactory.drawTree.drawPages.length - 1) {
200734
- // this._selectStage.addChild(dPage.footerLeftTag);
200735
- // this._selectStage.addChild(dPage.footerRightTag);
200736
- // }
200737
- // }
200738
- // } else {
200739
-
200728
+ this._selectStage.addChild(dPage.selectContainer);
200740
200729
 
200741
200730
  if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview) {
200742
200731
  this._selectStage.addChild(dPage.headerLeftTag);
@@ -200746,11 +200735,9 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200746
200735
  this._selectStage.addChild(dPage.footerLeftTag);
200747
200736
 
200748
200737
  this._selectStage.addChild(dPage.footerRightTag);
200749
- } // }
200750
-
200738
+ }
200751
200739
 
200752
200740
  this._selectStage.addEventListener('stagemousedown', function (aevent) {
200753
- // this.mouseDown(aevent)
200754
200741
  switch (hoEditorFactory.drawTree.paintStatus) {
200755
200742
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
200756
200743
  {
@@ -200774,7 +200761,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200774
200761
  });
200775
200762
 
200776
200763
  this._selectStage.addEventListener('stagemouseup', function (aevent) {
200777
- // this.mouseup(aevent);
200778
200764
  switch (hoEditorFactory.drawTree.paintStatus) {
200779
200765
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
200780
200766
  {
@@ -200820,10 +200806,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200820
200806
  }
200821
200807
  });
200822
200808
 
200823
- this._selectStage.update(); // const context = this._selectCanvas.getContext("2d");
200824
- // context?.clearRect(0, 0, this._selectCanvas.width, this._selectCanvas.height);
200825
- // this._selectCanvas.width = 0.01 + this._selectCanvas.width;
200826
-
200809
+ this._selectStage.update();
200827
200810
  }
200828
200811
  }
200829
200812
  }, {
@@ -200838,13 +200821,10 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200838
200821
 
200839
200822
  this._selectStage.removeAllChildren();
200840
200823
 
200841
- this._selectStage.canvas = null; // this._selectStage.update();
200842
-
200824
+ this._selectStage.canvas = null;
200843
200825
  this._selectStage = null;
200844
200826
  this._selectCanvas.width = 0;
200845
- this._selectCanvas.height = 0; // const ctx = this._selectCanvas.getContext("2d");
200846
- // ctx?.clearRect(0, 0, this._selectCanvas.width, this._selectCanvas.height);
200847
- // ctx?.restore();
200827
+ this._selectCanvas.height = 0;
200848
200828
  }
200849
200829
  }
200850
200830
  }, {
@@ -200997,15 +200977,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200997
200977
  return _context.abrupt("return", true);
200998
200978
 
200999
200979
  case 28:
201000
- // let dline = targetArea.topDline;
201001
- // if (dline instanceof DrawPageTable) {
201002
- // dline = (dline as DrawPageTable).table.drawTable.getFirstDrawLine();
201003
- // }
201004
- // hoeditorfactory.drawTree.moveCaretToDitem(
201005
- // startPos.page,
201006
- // dline as DrawLine,
201007
- // targetArea.drawItems.length - 1
201008
- // ); // startPos.path);
201009
200980
  hoEditorFactory.drawTree.moveCaretToPath(startPos.path);
201010
200981
  return _context.abrupt("return", true);
201011
200982
 
@@ -201129,58 +201100,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201129
201100
  }
201130
201101
 
201131
201102
  return mouseDblClick;
201132
- }() // public mouseClick(aevent: any): boolean {
201133
- // if (aevent.currentTarget === this.stage) {
201134
- // hoeditorfactory.drawTree.selectRange.clearAllSelectShape();
201135
- // hoeditorfactory.drawTree.selectRange.beginRangeSelect = false;
201136
- // if (
201137
- // hoeditorfactory.drawTree.activePage?.drawDomLevel?.activeDrawRect.rootPath.startsWith(
201138
- // gMainPath
201139
- // )
201140
- // ) {
201141
- // hoeditorfactory.drawTree.activePage = this._drawPage;
201142
- // }
201143
- // this._oldRange = hoeditorfactory.docTree.curDomRange.clone();
201144
- // if (!this._drawPage.drawDomLevel) {
201145
- // return false;
201146
- // }
201147
- // const startPos = hoeditorfactory.drawTree.getStagePosition(
201148
- // this._drawPage,
201149
- // this._drawPage.drawDomLevel.activeDrawRect,
201150
- // aevent.stageX,
201151
- // aevent.stageY
201152
- // );
201153
- // if (startPos) {
201154
- // const np = hoeditorfactory.docTree.findNodePositionByPath(startPos.path);
201155
- // if (np && np.node) {
201156
- // //鼠标左键单击
201157
- // if (
201158
- // np.node instanceof ImageNode &&
201159
- // aevent.nativeEvent.button === 0
201160
- // ) {
201161
- // const bclickItem = hoeditorfactory.drawTree.getChildByPos(
201162
- // this._drawPage,
201163
- // this._drawPage.drawDomLevel.activeDrawRect,
201164
- // aevent.stageX,
201165
- // aevent.stageY
201166
- // )[1];
201167
- // if (bclickItem) {
201168
- // const nodeClickEvent = new NodeClickEvent(np.node, "click");
201169
- // hoeditorfactory.docTree.nodeClick(nodeClickEvent);
201170
- // }
201171
- // }
201172
- // return true;
201173
- // }
201174
- // const selchange = new SelectionChangeEvent(
201175
- // this._oldRange,
201176
- // hoeditorfactory.docTree.curDomRange
201177
- // );
201178
- // hoeditorfactory.docTree.selectChange(selchange);
201179
- // }
201180
- // }
201181
- // return true;
201182
- // }
201183
-
201103
+ }()
201184
201104
  }, {
201185
201105
  key: "mouseDownHandle",
201186
201106
  value: function mouseDownHandle(aevent) {
@@ -201337,7 +201257,8 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201337
201257
 
201338
201258
  if (hoeditorfactory.drawTree.inViewPages.indexOf(this._pageIndex) < 0) {
201339
201259
  hoeditorfactory.drawTree.inViewPages.push(this._pageIndex);
201340
- }
201260
+ } // this._scrollYList.push(aevent.stageY);
201261
+
201341
201262
 
201342
201263
  if (hoeditorfactory.drawTree.selectRange.beginRangeSelect && (parseInt(aevent.nativeEvent.buttons) && 1) === 1) {
201343
201264
  var _hoeditorfactory$draw2;
@@ -201364,36 +201285,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201364
201285
  hoeditorfactory.drawTree.selectRange.spEnd = endPos;
201365
201286
  hoeditorfactory.drawTree.drawSelectRange();
201366
201287
  }
201367
- } // else {
201368
- // hoeditorfactory.drawTree.selectRange.beginRangeSelect = false;
201369
- // const np = hoeditorfactory.docTree.findNodePositionByPath(endPos.path);
201370
- // if (np && np.node) {
201371
- // const bclickItem = hoeditorfactory.drawTree.getChildByPos(
201372
- // this._drawPage,
201373
- // this._drawPage.drawDomLevel.activeDrawRect,
201374
- // aevent.stageX,
201375
- // aevent.stageY
201376
- // )[1];
201377
- // if (bclickItem) {
201378
- // const nodeNeedModifyEvent = new NodeNeedModifyEvent(
201379
- // np.node as BaseNode,
201380
- // "move",
201381
- // this._drawPage.pageIndex,
201382
- // true
201383
- // );
201384
- // hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
201385
- // } else {
201386
- // const nodeNeedModifyEvent = new NodeNeedModifyEvent(
201387
- // np.node,
201388
- // "",
201389
- // this._drawPage.pageIndex,
201390
- // false
201391
- // );
201392
- // hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
201393
- // }
201394
- // }
201395
- // }
201396
-
201288
+ }
201397
201289
  } //return true;
201398
201290
 
201399
201291
  }, {
@@ -201402,6 +201294,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201402
201294
  var hoeditorfactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
201403
201295
 
201404
201296
  if (hoeditorfactory.drawTree.selectRange) {
201297
+ this._scrollYList = [];
201405
201298
  var startPos = hoeditorfactory.drawTree.selectRange.spStart;
201406
201299
  var endPos = hoeditorfactory.drawTree.selectRange.spEnd;
201407
201300
 
@@ -201411,12 +201304,9 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201411
201304
 
201412
201305
  if (endPos.index === -1) {
201413
201306
  hoeditorfactory.drawTree.moveCaretToDitem(startPos.page, startPos.dline, startPos.index);
201414
- } else hoeditorfactory.drawTree.moveCaretToPath(startPos.path); // hoeditorfactory.drawTree.moveCaretToDitem(
201415
- // startPos.page,
201416
- // startPos.dline,
201417
- // startPos.index
201418
- // );
201419
-
201307
+ } else {
201308
+ hoeditorfactory.drawTree.moveCaretToPath(startPos.path);
201309
+ }
201420
201310
  } else {
201421
201311
  if (hoeditorfactory.drawTree.activePage) hoeditorfactory.drawTree.moveEditTo(hoeditorfactory.drawTree.activePage.pageIndex, 0, 0);
201422
201312
 
@@ -207619,7 +207509,7 @@ var SignNode = __webpack_require__(78975);
207619
207509
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207620
207510
  var ParagraphNode = __webpack_require__(13880);
207621
207511
  ;// CONCATENATED MODULE: ./src/components/version.ts
207622
- /* harmony default export */ var version = ('2.0.77');
207512
+ /* harmony default export */ var version = ('2.0.80');
207623
207513
  ;// 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&
207624
207514
  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)}
207625
207515
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -211447,7 +211337,6 @@ var GestationNode = __webpack_require__(55817);
211447
211337
 
211448
211338
 
211449
211339
 
211450
-
211451
211340
 
211452
211341
 
211453
211342
  var StructureConvert = /*#__PURE__*/function () {
@@ -212848,7 +212737,11 @@ var StructureConvert = /*#__PURE__*/function () {
212848
212737
  nodeJson = _this.delStyle(node.node2Json());
212849
212738
  }
212850
212739
  } else {
212851
- nodeJson = _this.delStyle(node.node2Json());
212740
+ if (node instanceof DateTimeNode/* DateTimeNode */.Z && clearSign) {
212741
+ nodeJson = _this.delStyle(node.node2Json(undefined, undefined, undefined, clearSign));
212742
+ } else {
212743
+ nodeJson = _this.delStyle(node.node2Json());
212744
+ }
212852
212745
  }
212853
212746
  }
212854
212747
  }
@@ -213500,13 +213393,11 @@ var StructureConvert = /*#__PURE__*/function () {
213500
213393
  message_box_default().alert("不允许将表格粘贴到文本域");
213501
213394
 
213502
213395
  return undefined;
213503
- }
213504
-
213505
- if (isPaste && parentNode instanceof CellNode/* CellNode */.D) {
213506
- message_box_default().alert("不允许将表格粘贴到表格");
213396
+ } // if (isPaste && parentNode instanceof CellNode) {
213397
+ // MessageBox.alert("不允许将表格粘贴到表格");
213398
+ // return undefined;
213399
+ // }
213507
213400
 
213508
- return undefined;
213509
- }
213510
213401
 
213511
213402
  var node = TableNode/* TableNode.json2Node */.Fh.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode, isPaste, isClearSign);
213512
213403
  return node;
@@ -222279,6 +222170,8 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message);
222279
222170
 
222280
222171
 
222281
222172
 
222173
+
222174
+
222282
222175
  var EditController = /*#__PURE__*/function () {
222283
222176
  function EditController(hoEditorFactoryID) {
222284
222177
  (0,classCallCheck/* default */.Z)(this, EditController);
@@ -222603,19 +222496,77 @@ var EditController = /*#__PURE__*/function () {
222603
222496
  // });
222604
222497
  // }
222605
222498
  // const rtfData = clipboardData.getData("text/rtf");
222499
+ // console.log("json:", jsonData);
222500
+ // console.log("html:", htmlData);
222501
+ // console.log("text:", textData);
222606
222502
 
222607
222503
 
222608
222504
  var nodes;
222609
222505
 
222610
- if (jsonData && hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
222611
- nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222506
+ if (jsonData) {
222507
+ if (hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
222508
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222509
+ } else {
222510
+ var jsonObject = JSON.parse(jsonData);
222511
+
222512
+ if (jsonObject.length == 1 && jsonObject[0].nodeType === "ntTable" && parentNode instanceof CellNode/* CellNode */.D) {
222513
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222514
+ } else {
222515
+ if (htmlData) {
222516
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctHTML, htmlData);
222517
+ } else {
222518
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctText, textData);
222519
+ }
222520
+ }
222521
+ }
222612
222522
  } else if (htmlData) {
222613
- //console.log(htmlData);
222614
222523
  nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctHTML, htmlData);
222615
222524
  } else {
222616
222525
  nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctText, textData);
222617
222526
  }
222618
222527
 
222528
+ if (nodes.length === 1 && nodes[0] instanceof TableNode/* TableNode */.Fh && parentNode instanceof CellNode/* CellNode */.D) {
222529
+ var tableNode = nodes[0];
222530
+
222531
+ var _parentNode$table$get = parentNode.table.getCellInfos(parentNode),
222532
+ _parentNode$table$get2 = (0,slicedToArray/* default */.Z)(_parentNode$table$get, 2),
222533
+ rs = _parentNode$table$get2[0],
222534
+ cs = _parentNode$table$get2[1];
222535
+
222536
+ var endRow = 0;
222537
+ var endCol = 0;
222538
+
222539
+ if (hoeditorfactory.docTree.curDomRange.isEmpty) {
222540
+ var re = parentNode.table.rowCount - 1;
222541
+ var ce = parentNode.table.colCount - 1;
222542
+ endRow = re - rs + 1 >= tableNode.rowCount ? tableNode.rowCount : re - rs + 1;
222543
+ endCol = ce - cs + 1 >= tableNode.colCount ? tableNode.colCount : ce - cs + 1;
222544
+ } else {
222545
+ var curDomRange = hoeditorfactory.docTree.curDomRange.normalize();
222546
+ var rowscols = TableNode/* TableNode.getSelectTableRowColInfos */.Fh.getSelectTableRowColInfos(this._hoEditorFactoryID, curDomRange);
222547
+ endRow = rowscols[3] - rowscols[1] + 1 >= tableNode.rowCount ? tableNode.rowCount : rowscols[3] - rowscols[1] + 1;
222548
+ endCol = rowscols[4] - rowscols[2] + 1 >= tableNode.colCount ? tableNode.colCount : rowscols[4] - rowscols[2] + 1;
222549
+ }
222550
+
222551
+ for (var i = 0; i < endRow; i++) {
222552
+ for (var j = 0; j < endCol; j++) {
222553
+ var fromCell = tableNode.rows[i][j];
222554
+ var toCell = parentNode.table.rows[rs + i][cs + j];
222555
+
222556
+ if (fromCell && toCell) {
222557
+ // const [fr, fc] = fromCell.table.getCellInfos(fromCell);
222558
+ // const [tr, tc] = toCell.table.getCellInfos(toCell);
222559
+ // console.log("fr,fc:", fr, fc);
222560
+ // console.log("tr,tc:", tr, tc);
222561
+ var sCellText = fromCell.getCellText();
222562
+ toCell.setCellText(sCellText, true);
222563
+ }
222564
+ }
222565
+ }
222566
+
222567
+ return;
222568
+ }
222569
+
222619
222570
  if (!hoeditorfactory.pasteBase) {
222620
222571
  for (var n = 0; n < nodes.length; n++) {
222621
222572
  var node = nodes[n];
@@ -227618,9 +227569,9 @@ var QrCode_component = normalizeComponent(
227618
227569
  ;// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
227619
227570
 
227620
227571
  /* harmony default export */ var qrCode = (QrCode);
227621
- ;// 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&
227622
- 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)])}
227623
- var TextDialogvue_type_template_id_52be23a2_staticRenderFns = []
227572
+ ;// 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&
227573
+ 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)])}
227574
+ var TextDialogvue_type_template_id_016d4c86_staticRenderFns = []
227624
227575
 
227625
227576
 
227626
227577
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
@@ -227911,8 +227862,8 @@ TextDialog = __decorate([vue_class_component_esm({
227911
227862
 
227912
227863
  var TextDialog_component = normalizeComponent(
227913
227864
  textDialog_TextDialogvue_type_script_lang_ts_,
227914
- TextDialogvue_type_template_id_52be23a2_render,
227915
- TextDialogvue_type_template_id_52be23a2_staticRenderFns,
227865
+ TextDialogvue_type_template_id_016d4c86_render,
227866
+ TextDialogvue_type_template_id_016d4c86_staticRenderFns,
227916
227867
  false,
227917
227868
  null,
227918
227869
  null,
@@ -229347,9 +229298,9 @@ var DataSource_component = normalizeComponent(
229347
229298
  ;// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
229348
229299
 
229349
229300
  /* harmony default export */ var controls_dataSource = (DataSource);
229350
- ;// 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&
229351
- 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)])}
229352
- var ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns = []
229301
+ ;// 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&
229302
+ 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)])}
229303
+ var ListSourcevue_type_template_id_21da5e25_scoped_true_staticRenderFns = []
229353
229304
 
229354
229305
 
229355
229306
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
@@ -229610,10 +229561,10 @@ ListSource = __decorate([vue_class_component_esm({
229610
229561
  /* harmony default export */ var ListSourcevue_type_script_lang_ts_ = (ListSource);
229611
229562
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
229612
229563
  /* harmony default export */ var listsource_ListSourcevue_type_script_lang_ts_ = (ListSourcevue_type_script_lang_ts_);
229613
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
229564
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=21da5e25&lang=scss&scoped=true&
229614
229565
  // extracted by mini-css-extract-plugin
229615
229566
 
229616
- ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
229567
+ ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=21da5e25&lang=scss&scoped=true&
229617
229568
 
229618
229569
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue
229619
229570
 
@@ -229626,11 +229577,11 @@ ListSource = __decorate([vue_class_component_esm({
229626
229577
 
229627
229578
  var ListSource_component = normalizeComponent(
229628
229579
  listsource_ListSourcevue_type_script_lang_ts_,
229629
- ListSourcevue_type_template_id_08d9ce14_scoped_true_render,
229630
- ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns,
229580
+ ListSourcevue_type_template_id_21da5e25_scoped_true_render,
229581
+ ListSourcevue_type_template_id_21da5e25_scoped_true_staticRenderFns,
229631
229582
  false,
229632
229583
  null,
229633
- "08d9ce14",
229584
+ "21da5e25",
229634
229585
  null
229635
229586
 
229636
229587
  )