hoeditor-web 2.0.78 → 2.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13490,8 +13490,10 @@ var DocController = /*#__PURE__*/function () {
13490
13490
  hoEditorFactory.undoService.commit();
13491
13491
  } else {
13492
13492
  hoEditorFactory.undoService.begin();
13493
- hoEditorFactory.undoService.add(new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodesDeleteUndoUnit */ .F(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, oper === "update" ? true : false));
13493
+ var nodesDeleteUndoUnit = new _undoRedo_NodesDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_36__/* .NodesDeleteUndoUnit */ .F(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, oper === "update" ? true : false);
13494
+ hoEditorFactory.undoService.add(nodesDeleteUndoUnit);
13494
13495
  hoEditorFactory.undoService.commit();
13496
+ return nodesDeleteUndoUnit.isError;
13495
13497
  }
13496
13498
  } //插入节点到指定位置
13497
13499
 
@@ -13511,18 +13513,23 @@ var DocController = /*#__PURE__*/function () {
13511
13513
  }
13512
13514
  }
13513
13515
 
13516
+ var isError;
13517
+
13514
13518
  if (!curRange.isEmpty) {
13515
- this.deleteRange(curRange, true, "update"); //删除选中节点
13519
+ isError = this.deleteRange(curRange, true, isResetFieldText ? "update" : undefined); //删除选中节点
13516
13520
  }
13517
13521
 
13518
- if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
13519
- path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
13520
- }
13522
+ if (!isError) {
13523
+ if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
13524
+ path = hoEditorFactory.docTree.curDomRange.normalize().endPath;
13525
+ }
13521
13526
 
13522
- hoEditorFactory.undoService.begin(); // this.insertNodeByPath(textNode,this._curNodePosition.path);
13527
+ hoEditorFactory.undoService.begin(); // this.insertNodeByPath(textNode,this._curNodePosition.path);
13528
+
13529
+ hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_25__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, path, node));
13530
+ hoEditorFactory.undoService.commit();
13531
+ }
13523
13532
 
13524
- hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_25__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, path, node));
13525
- hoEditorFactory.undoService.commit();
13526
13533
  return hoEditorFactory.docTree.curDomRange.startPath;
13527
13534
  }
13528
13535
  /**
@@ -14772,13 +14779,16 @@ var DocController = /*#__PURE__*/function () {
14772
14779
  var values = valuesObject;
14773
14780
 
14774
14781
  if (Number(values["inputFieldType"]) === 1) {
14775
- if (node.text !== "") {
14782
+ if (node.keyValue !== "") {
14776
14783
  node.childNodes.splice(1, node.childNodes.length - 2);
14777
14784
  var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_27__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntText */ .Jq.ntText, values["text"], hoEditorFactory.docTree.curStyleIndex);
14778
14785
  node.childNodes.splice(1, 0, textNode); //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
14779
-
14780
- changeEvent.afterChangePath = ePath;
14786
+ } else {
14787
+ node.childNodes.splice(1, node.childNodes.length - 2);
14788
+ node.childNodes.splice(1, 0, node.childNodes2[1]);
14781
14789
  }
14790
+
14791
+ changeEvent.afterChangePath = ePath;
14782
14792
  } else {
14783
14793
  //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
14784
14794
  changeEvent.afterChangePath = ePath;
@@ -14786,11 +14796,9 @@ var DocController = /*#__PURE__*/function () {
14786
14796
 
14787
14797
  hoEditorFactory.docTree.change(changeEvent);
14788
14798
  node.update();
14789
- var pnode = node.parentNode;
14790
-
14791
- if (pnode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_46__/* .TextInputFieldNode */ .re) {
14792
- pnode.update();
14793
- }
14799
+ var pnode = node.parentNode; // if (pnode instanceof TextInputFieldNode) {
14800
+ // pnode.update();
14801
+ // }
14794
14802
 
14795
14803
  do {
14796
14804
  var _pnode;
@@ -14805,10 +14813,15 @@ var DocController = /*#__PURE__*/function () {
14805
14813
  } while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
14806
14814
 
14807
14815
  if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14808
- //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14809
- if (pnode.drawCell.drawPageCells.length > 1) {
14816
+ if (Number(values["inputFieldType"]) === 1) {
14810
14817
  pnode.drawCell.needUpdate = true;
14811
14818
  pnode.table.update();
14819
+ } else {
14820
+ //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14821
+ if (pnode.drawCell.drawPageCells.length > 1) {
14822
+ pnode.drawCell.needUpdate = true;
14823
+ pnode.table.update();
14824
+ }
14812
14825
  }
14813
14826
  }
14814
14827
 
@@ -16795,11 +16808,11 @@ var DocController = /*#__PURE__*/function () {
16795
16808
 
16796
16809
  }, {
16797
16810
  key: "insertEmptySignNode",
16798
- value: function insertEmptySignNode(domRange, name, signType, signFormat, signTimeFormat, connectMode, isFront, allowEditSignTime, attribute) {
16811
+ value: function insertEmptySignNode(domRange, name, signType, signFormat, signTimeFormat, connectMode, isFront, allowEditSignTime, attribute, connectChar) {
16799
16812
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_77__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
16800
16813
  var startPath = domRange.startPath;
16801
16814
  var parentNode = hoEditorFactory.docTree.getParentNode(startPath);
16802
- var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntSign */ .Jq.ntSign, 0, 0, name, signType, signFormat, "", "", signTimeFormat, "", 0, 0, {}, true, hoEditorFactory.docTree.curStyleIndex, connectMode, isFront, allowEditSignTime, undefined, undefined, attribute); //插入该表达式节点
16815
+ var signNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_83__/* .SignNode */ .N(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntSign */ .Jq.ntSign, 0, 0, name, signType, signFormat, "", "", signTimeFormat, "", 0, 0, {}, true, hoEditorFactory.docTree.curStyleIndex, connectMode, isFront, allowEditSignTime, undefined, undefined, attribute, connectChar); //插入该表达式节点
16803
16816
 
16804
16817
  hoEditorFactory.undoService.begin();
16805
16818
  hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_25__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, signNode));
@@ -25558,7 +25571,7 @@ var BaseNode = /*#__PURE__*/function () {
25558
25571
  /* harmony import */ var element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1__);
25559
25572
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(37174);
25560
25573
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35671);
25561
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(22342);
25574
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(22342);
25562
25575
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(99640);
25563
25576
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(28214);
25564
25577
  /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38862);
@@ -25579,32 +25592,37 @@ var BaseNode = /*#__PURE__*/function () {
25579
25592
  /* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_13__);
25580
25593
  /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(54747);
25581
25594
  /* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__);
25582
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(74916);
25583
- /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__);
25584
- /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(23123);
25585
- /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_16__);
25586
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26699);
25587
- /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_17__);
25588
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(32023);
25589
- /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__);
25590
- /* harmony import */ var _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(10863);
25591
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(34534);
25592
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(41005);
25593
- /* harmony import */ var _plugins_type__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(28349);
25594
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(23375);
25595
- /* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(66828);
25596
- /* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(2242);
25597
- /* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(68183);
25598
- /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(8);
25599
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(50369);
25600
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(8395);
25601
- /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(15868);
25602
- /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(14208);
25603
- /* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(27807);
25604
- /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(34450);
25605
- /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(95883);
25606
- /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(34565);
25607
- /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(91538);
25595
+ /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(68309);
25596
+ /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_15__);
25597
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(74916);
25598
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__);
25599
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(23123);
25600
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_17__);
25601
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26699);
25602
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_18__);
25603
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(32023);
25604
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__);
25605
+ /* harmony import */ var _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(10863);
25606
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(34534);
25607
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(41005);
25608
+ /* harmony import */ var _plugins_type__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(28349);
25609
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(23375);
25610
+ /* harmony import */ var _DomRange__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(66828);
25611
+ /* harmony import */ var _NodePosition__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(2242);
25612
+ /* harmony import */ var _TableProperty__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(68183);
25613
+ /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(8);
25614
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(50369);
25615
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(8395);
25616
+ /* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(36395);
25617
+ /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(15868);
25618
+ /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(14208);
25619
+ /* harmony import */ var _RectNode__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(27807);
25620
+ /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(34450);
25621
+ /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(95883);
25622
+ /* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(34565);
25623
+ /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(91538);
25624
+
25625
+
25608
25626
 
25609
25627
 
25610
25628
 
@@ -25681,7 +25699,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25681
25699
 
25682
25700
  (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(this, CellNode);
25683
25701
 
25684
- _this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType.ntCell */ .Jq.ntCell);
25702
+ _this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType.ntCell */ .Jq.ntCell);
25685
25703
  _this._hoEditorFactoryID = hoEditorFactoryID;
25686
25704
  _this._borderVisible = [true, true, true, true];
25687
25705
  _this._crossLineType = CrossLineType.ctNone;
@@ -25697,7 +25715,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25697
25715
  return _this;
25698
25716
  }
25699
25717
 
25700
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_37__/* ["default"] */ .Z)(CellNode, [{
25718
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .Z)(CellNode, [{
25701
25719
  key: "drawCell",
25702
25720
  get: function get() {
25703
25721
  return this._drawCell;
@@ -25840,7 +25858,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25840
25858
  }, {
25841
25859
  key: "initBlankDoc",
25842
25860
  value: function initBlankDoc() {
25843
- var aparagraph = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C(this._hoEditorFactoryID, this.rootNodes, this, 0);
25861
+ var aparagraph = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C(this._hoEditorFactoryID, this.rootNodes, this, 0);
25844
25862
  aparagraph.node2DrawNode();
25845
25863
 
25846
25864
  this._childNodes.push(aparagraph);
@@ -25860,7 +25878,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25860
25878
  key: "placeDNodeAfterDTop",
25861
25879
  value: function placeDNodeAfterDTop(droots, dTop) {
25862
25880
  var paragraphNode = this.childNodes[0];
25863
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25881
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25864
25882
  var aline = paragraphNode.drawlines[0];
25865
25883
  hoEditorFactory.drawTree.drawDocInsert(paragraphNode, 0, paragraphNode, -1, hoEditorFactory.docTree.getNodeLastPath(this));
25866
25884
 
@@ -25900,7 +25918,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25900
25918
  value: function updateWidth(awidth) {
25901
25919
  this.drawCell.dWidth = awidth; // (this.childNodes[0] as ParagraphNode).drawlines[0].dWidth = awidth;
25902
25920
 
25903
- _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.clearDrawContainer(this.drawCell.drawLines);
25921
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.clearDrawContainer(this.drawCell.drawLines);
25904
25922
  this._drawCell.drawLines.length = 0;
25905
25923
  this.childNodes[0].node2DrawNode();
25906
25924
  this.drawCell.drawLines.push(this.childNodes[0].drawlines[0]);
@@ -25918,15 +25936,15 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25918
25936
  }, {
25919
25937
  key: "redrawCell",
25920
25938
  value: function redrawCell(repaintInmediate, action) {
25921
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25939
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
25922
25940
 
25923
25941
  if (repaintInmediate) {
25924
- var dcChangeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, action, hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]), hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]));
25942
+ var dcChangeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_21__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, action, hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]), hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]));
25925
25943
 
25926
- if (action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daDelete */ .gk.daDelete || action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daModifyStyle */ .gk.daModifyStyle) {
25944
+ if (action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daDelete */ .gk.daDelete || action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daModifyStyle */ .gk.daModifyStyle) {
25927
25945
  dcChangeEvent.oldEndPath = hoEditorFactory.docTree.getNodeLastPath(this);
25928
25946
 
25929
- if (action === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .DocAction.daDelete */ .gk.daDelete) {
25947
+ if (action === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .DocAction.daDelete */ .gk.daDelete) {
25930
25948
  dcChangeEvent.oldDrawTreeLines = this._table.drawTable.getCellsDrawTreeLines([this]);
25931
25949
  } else {
25932
25950
  dcChangeEvent.oldDrawLines = this._table.drawTable.getCellsDrawLines([this]);
@@ -25980,7 +25998,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25980
25998
  }
25981
25999
 
25982
26000
  aHeight += this._rowSpan;
25983
- this._drawCell = new _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_19__/* .DrawCell */ .y(this._hoEditorFactoryID, this, 0, aWidth, aHeight);
26001
+ this._drawCell = new _editor_draw_drawNode_DrawCell__WEBPACK_IMPORTED_MODULE_20__/* .DrawCell */ .y(this._hoEditorFactoryID, this, 0, aWidth, aHeight);
25984
26002
 
25985
26003
  this._drawNodes.push(this._drawCell); // this._drawCell.drawLines.push(
25986
26004
  // (this._childNodes[0] as ParagraphNode).drawlines[0]
@@ -26000,7 +26018,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26000
26018
  }, {
26001
26019
  key: "range",
26002
26020
  value: function range() {
26003
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26021
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26004
26022
  var spath = hoEditorFactory.docTree.getNodeFirstPath(this);
26005
26023
  var epath = hoEditorFactory.docTree.getNodeLastPath(this);
26006
26024
  return {
@@ -26020,9 +26038,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26020
26038
  var node = this.childNodes[i];
26021
26039
  var nodeJson = void 0;
26022
26040
 
26023
- if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh || node instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__/* .TextInputFieldNode */ .re) {
26041
+ if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh || node instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__/* .TextInputFieldNode */ .re) {
26024
26042
  nodeJson = node.node2Json(undefined, isCopy, type, clearSign);
26025
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N) {
26043
+ } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N) {
26026
26044
  if (clearSign) {
26027
26045
  if (node.isTemplate) {
26028
26046
  nodeJson = node.node2Json(undefined, isCopy, undefined, clearSign);
@@ -26031,10 +26049,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26031
26049
  nodeJson = node.node2Json(undefined, isCopy);
26032
26050
  }
26033
26051
  } else {
26034
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26052
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26035
26053
  if (node.text !== "") {
26036
26054
  nodeJson = node.node2Json(undefined, isCopy);
26037
26055
  }
26056
+ } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__/* .DateTimeNode */ .Z) {
26057
+ nodeJson = node.node2Json(undefined, isCopy, undefined, clearSign);
26038
26058
  } else {
26039
26059
  nodeJson = node.node2Json(undefined, isCopy);
26040
26060
  }
@@ -26131,9 +26151,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26131
26151
  }
26132
26152
  }
26133
26153
 
26134
- var cellText = this.getCellText();
26154
+ var cellText = this.getCellText(clearSign);
26135
26155
  return {
26136
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType */ .Jq[this.nodeType],
26156
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType */ .Jq[this.nodeType],
26137
26157
  borderVisible: this.borderVisible.toString(),
26138
26158
  crossLineType: CrossLineType[this.crossLineType],
26139
26159
  rowSpan: this.rowSpan,
@@ -26183,12 +26203,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26183
26203
  newRange = arange.normalize();
26184
26204
  }
26185
26205
 
26186
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26206
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26187
26207
  var startPath = hoEditorFactory.docTree.getNodeFirstPath(this.childNodes[0]);
26188
26208
  var lastPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 1]);
26189
26209
 
26190
- if (_NodePosition__WEBPACK_IMPORTED_MODULE_25__/* .NodePosition.pathCanCompare */ .F.pathCanCompare(newRange.startPath, startPath)) {
26191
- ret = _NodePosition__WEBPACK_IMPORTED_MODULE_25__/* .NodePosition.treePathCompare */ .F.treePathCompare(startPath, newRange.startPath) >= 0 && _NodePosition__WEBPACK_IMPORTED_MODULE_25__/* .NodePosition.treePathCompare */ .F.treePathCompare(lastPath, arange.endPath) <= 0;
26210
+ if (_NodePosition__WEBPACK_IMPORTED_MODULE_26__/* .NodePosition.pathCanCompare */ .F.pathCanCompare(newRange.startPath, startPath)) {
26211
+ ret = _NodePosition__WEBPACK_IMPORTED_MODULE_26__/* .NodePosition.treePathCompare */ .F.treePathCompare(startPath, newRange.startPath) >= 0 && _NodePosition__WEBPACK_IMPORTED_MODULE_26__/* .NodePosition.treePathCompare */ .F.treePathCompare(lastPath, arange.endPath) <= 0;
26192
26212
  }
26193
26213
 
26194
26214
  return ret;
@@ -26196,12 +26216,12 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26196
26216
  }, {
26197
26217
  key: "getNodesForUpdate",
26198
26218
  value: function getNodesForUpdate() {
26199
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26219
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26200
26220
  var ret = new Array();
26201
26221
 
26202
26222
  for (var i = 0; i < this._childNodes.length; i++) {
26203
- if (this._childNodes[i] instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh) {
26204
- var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(this._childNodes[i]), hoEditorFactory.docTree.getNodeLastPath(this._childNodes[i]));
26223
+ if (this._childNodes[i] instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh) {
26224
+ var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(this._childNodes[i]), hoEditorFactory.docTree.getNodeLastPath(this._childNodes[i]));
26205
26225
  ret = ret.concat(this._childNodes[i].getSelectNodesForUpdate(domRange, true));
26206
26226
  } else ret.push(this._childNodes[i]);
26207
26227
  }
@@ -26211,16 +26231,16 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26211
26231
  }, {
26212
26232
  key: "getSelectNodes",
26213
26233
  value: function getSelectNodes(bSplitTextInputNode) {
26214
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26234
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26215
26235
  var ret = new Array();
26216
26236
 
26217
26237
  for (var i = 0; i < this._childNodes.length; i++) {
26218
26238
  var aNode = this._childNodes[i];
26219
26239
 
26220
- if (aNode instanceof _TableNode__WEBPACK_IMPORTED_MODULE_34__/* .TableNode */ .Fh) {
26221
- var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(aNode), hoEditorFactory.docTree.getNodeLastPath(aNode));
26240
+ if (aNode instanceof _TableNode__WEBPACK_IMPORTED_MODULE_36__/* .TableNode */ .Fh) {
26241
+ var domRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeFirstPath(aNode), hoEditorFactory.docTree.getNodeLastPath(aNode));
26222
26242
  ret = ret.concat(aNode.getSelectNodes(domRange, true, bSplitTextInputNode));
26223
- } else if (bSplitTextInputNode && aNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_35__/* .TextInputFieldNode */ .re) {
26243
+ } else if (bSplitTextInputNode && aNode instanceof _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_37__/* .TextInputFieldNode */ .re) {
26224
26244
  ret = ret.concat(aNode.getAllChildNodes());
26225
26245
  } else ret.push(this._childNodes[i]);
26226
26246
  }
@@ -26241,19 +26261,23 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26241
26261
 
26242
26262
  }, {
26243
26263
  key: "getCellText",
26244
- value: function getCellText() {
26264
+ value: function getCellText(isClearValue) {
26245
26265
  var cellText = "";
26246
26266
 
26247
26267
  var loopChildNodes = function loopChildNodes(node) {
26248
26268
  var nodes = node.childNodes.slice(1);
26249
26269
  nodes.forEach(function (childNode) {
26250
- if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26251
- cellText += childNode.text;
26252
- } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_29__/* .ControlNode */ .w) {
26270
+ if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26253
26271
  cellText += childNode.text;
26254
- } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_27__/* .BaseCombineNode */ .V) {
26272
+ } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w) {
26273
+ if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_31__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
26274
+ cellText += "";
26275
+ } else {
26276
+ cellText += childNode.text;
26277
+ }
26278
+ } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_28__/* .BaseCombineNode */ .V) {
26255
26279
  loopChildNodes(childNode);
26256
- } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C) {
26280
+ } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C) {
26257
26281
  cellText += '\n';
26258
26282
  }
26259
26283
  });
@@ -26264,13 +26288,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26264
26288
  }
26265
26289
  }, {
26266
26290
  key: "setCellText",
26267
- value: function setCellText(value) {
26291
+ value: function setCellText(value, isPaste) {
26268
26292
  var colIndex = this.row.indexOf(this);
26269
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26293
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26270
26294
  var colProperty = this.table.colInfos[colIndex].colProperty;
26271
26295
 
26272
- if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .EditorProperty.Number */ .YS.Number) {
26273
- if (!(0,_plugins_type__WEBPACK_IMPORTED_MODULE_22__/* .isNumber */ .hj)(value)) {
26296
+ if (colProperty.editorProperty === _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .EditorProperty.Number */ .YS.Number) {
26297
+ if (!(0,_plugins_type__WEBPACK_IMPORTED_MODULE_23__/* .isNumber */ .hj)(value)) {
26274
26298
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("输入值非数值类型,请重输!", "提示");
26275
26299
 
26276
26300
  return;
@@ -26304,22 +26328,27 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26304
26328
  var endPath = "";
26305
26329
  var startPath = "";
26306
26330
 
26307
- if (this.table.tableProperty.isAutoChangeLine) {
26308
- var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
26331
+ if (isPaste) {
26332
+ startPath = "".concat(this.getNodePath(), "/0");
26333
+ endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26334
+ } else {
26335
+ if (this.table.tableProperty.isAutoChangeLine) {
26336
+ var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
26309
26337
 
26310
- if (curDomRange.npEnd.node instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C) {
26311
- startPath = curDomRange.startPath;
26312
- endPath = startPath;
26338
+ if (curDomRange.npEnd.node instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C) {
26339
+ startPath = curDomRange.startPath;
26340
+ endPath = startPath;
26341
+ } else {
26342
+ startPath = curDomRange.npEnd.node.prevSibling().getNodePath();
26343
+ endPath = hoEditorFactory.docTree.getNodeLastPath(curDomRange.npEnd.node);
26344
+ }
26313
26345
  } else {
26314
- startPath = curDomRange.npEnd.node.prevSibling().getNodePath();
26315
- endPath = hoEditorFactory.docTree.getNodeLastPath(curDomRange.npEnd.node);
26346
+ startPath = "".concat(this.getNodePath(), "/0");
26347
+ endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26316
26348
  }
26317
- } else {
26318
- startPath = "".concat(this.getNodePath(), "/0");
26319
- endPath = hoEditorFactory.docTree.getNodeLastPath(this);
26320
26349
  }
26321
26350
 
26322
- var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_24__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
26351
+ var aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_25__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
26323
26352
  hoEditorFactory.docController.deleteRange(aRange, true);
26324
26353
  hoEditorFactory.docController.insertPlainTextAfterPath(startPath, value);
26325
26354
  }
@@ -26365,23 +26394,23 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26365
26394
  }, {
26366
26395
  key: "needPaintLineGrid",
26367
26396
  value: function needPaintLineGrid() {
26368
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26397
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26369
26398
 
26370
26399
  var _this$table$getCellIn = this.table.getCellInfos(this),
26371
26400
  _this$table$getCellIn2 = (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this$table$getCellIn, 2),
26372
26401
  r = _this$table$getCellIn2[0],
26373
26402
  c = _this$table$getCellIn2[1];
26374
26403
 
26375
- return (hoEditorFactory.docTree.docProperty.type === _DocTree__WEBPACK_IMPORTED_MODULE_23__/* .EmrType.etForm */ .Fr.etForm || this.table.tableProperty.isAutoChangeLine) && !this.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && this.cellProperty.align !== _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .VAlign.vacenter */ .TR.vacenter;
26404
+ return (hoEditorFactory.docTree.docProperty.type === _DocTree__WEBPACK_IMPORTED_MODULE_24__/* .EmrType.etForm */ .Fr.etForm || this.table.tableProperty.isAutoChangeLine) && !this.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && this.cellProperty.align !== _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .VAlign.vacenter */ .TR.vacenter;
26376
26405
  }
26377
26406
  }], [{
26378
26407
  key: "json2Node",
26379
26408
  value: function json2Node(hoEditorFactoryID, json, rootNodes, tableNode, aRow, rowsMap, rows, defaultCellProperty, isPaste, isClearSign) {
26380
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
26409
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
26381
26410
  var rowNo = parseInt(json.rowNo);
26382
26411
  var colNo = parseInt(json.colNo);
26383
26412
  aRow = rowsMap.get(rowNo);
26384
- var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .CellProperty */ .$W(""));
26413
+ var cellNode = new CellNode(hoEditorFactoryID, rootNodes, tableNode, aRow, undefined, rowNo, colNo, 1, 1, new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .CellProperty */ .$W(""));
26385
26414
  var cellProperty = json.cellProperty;
26386
26415
 
26387
26416
  if (cellProperty === "") {
@@ -26409,9 +26438,9 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26409
26438
  target[value] = Number(source[value]);
26410
26439
  } else {
26411
26440
  if (value === "dateTimeProperty") {
26412
- cellNode.cellProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .DateTimeProperty */ .Ks(source[value]);
26441
+ cellNode.cellProperty.dateTimeProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .DateTimeProperty */ .Ks(source[value]);
26413
26442
  } else if (value === "downListProperty") {
26414
- cellNode.cellProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_26__/* .ColDownListProperty */ .cW(source[value]);
26443
+ cellNode.cellProperty.downListProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_27__/* .ColDownListProperty */ .cW(source[value]);
26415
26444
  } else {
26416
26445
  target[value] = source[value];
26417
26446
  }
@@ -26450,13 +26479,13 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26450
26479
  var convertNode = hoEditorFactory.structureConvert.convertNode(item[j], rootNodes, cellNode, undefined, isPaste, isClearSign);
26451
26480
 
26452
26481
  if (convertNode) {
26453
- if (convertNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R) {
26482
+ if (convertNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R) {
26454
26483
  if (convertNode.text !== "") {
26455
26484
  cellNode.addChild(convertNode);
26456
26485
  }
26457
26486
  } else {
26458
26487
  if (isClearSign) {
26459
- if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N) {
26488
+ if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N) {
26460
26489
  if (convertNode.isTemplate) {
26461
26490
  cellNode.addChild(convertNode);
26462
26491
  }
@@ -26469,11 +26498,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26469
26498
  }
26470
26499
  }
26471
26500
 
26472
- if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_30__/* .MarkNode */ .j) {
26501
+ if (convertNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_32__/* .MarkNode */ .j) {
26473
26502
  hoEditorFactory.structureConvert._markNodes.push(convertNode);
26474
26503
  }
26475
26504
 
26476
- if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(convertNode.customProperty.bce01)) {
26505
+ if (convertNode instanceof _SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(convertNode.customProperty.bce01)) {
26477
26506
  hoEditorFactory.structureConvert._superiorSign[0] = convertNode;
26478
26507
  }
26479
26508
  }
@@ -26519,16 +26548,16 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26519
26548
 
26520
26549
  if (text !== "") {
26521
26550
  var textArr = text.split("\n");
26522
- var firstTextNode = new _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, cellNode, _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType.ntText */ .Jq.ntText, textArr[0], Number(paraNode.textStyleNo ? paraNode.textStyleNo : 0));
26551
+ var firstTextNode = new _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, cellNode, _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType.ntText */ .Jq.ntText, textArr[0], Number(paraNode.textStyleNo ? paraNode.textStyleNo : 0));
26523
26552
  cellNode.addChild(firstTextNode);
26524
26553
 
26525
26554
  if (textArr.length > 1) {
26526
26555
  for (var i = 1; i < textArr.length; i++) {
26527
- var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_31__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, cellNode, Number(paraNode.styleIndex));
26556
+ var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_33__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, cellNode, Number(paraNode.styleIndex));
26528
26557
  cellNode.addChild(paragraNode);
26529
26558
 
26530
26559
  if (textArr[i] !== "") {
26531
- var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_36__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, cellNode, _BaseNode__WEBPACK_IMPORTED_MODULE_28__/* .NodeType.ntText */ .Jq.ntText, textArr[i], Number(paraNode.textStyleNo ? paraNode.textStyleNo : 0));
26560
+ var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_38__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, cellNode, _BaseNode__WEBPACK_IMPORTED_MODULE_29__/* .NodeType.ntText */ .Jq.ntText, textArr[i], Number(paraNode.textStyleNo ? paraNode.textStyleNo : 0));
26532
26561
  cellNode.addChild(textNode);
26533
26562
  }
26534
26563
  }
@@ -26546,7 +26575,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
26546
26575
  }]);
26547
26576
 
26548
26577
  return CellNode;
26549
- }(_RectNode__WEBPACK_IMPORTED_MODULE_32__/* .RectNode */ .z);
26578
+ }(_RectNode__WEBPACK_IMPORTED_MODULE_34__/* .RectNode */ .z);
26550
26579
 
26551
26580
  /***/ }),
26552
26581
 
@@ -27235,7 +27264,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27235
27264
  }
27236
27265
  }, {
27237
27266
  key: "node2Json",
27238
- value: function node2Json(range, isCopy, type) {
27267
+ value: function node2Json(range, isCopy, type, isClearValue) {
27239
27268
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27240
27269
  var retObj = {
27241
27270
  nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
@@ -27250,7 +27279,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27250
27279
  isSynchro: this.isSynchro,
27251
27280
  controlStyle: this.controlStyle.replace("hh", "HH"),
27252
27281
  name: this.name,
27253
- text: this.text === this.name ? "" : this.text,
27282
+ text: isClearValue || this.text === this.name ? "" : this.text,
27254
27283
  labelText: this.labelText,
27255
27284
  title: this.title,
27256
27285
  styleIndex: this.styleIndex,
@@ -33926,7 +33955,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
33926
33955
 
33927
33956
  var _super = (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(SignNode);
33928
33957
 
33929
- function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute) {
33958
+ function SignNode(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar) {
33930
33959
  var _this;
33931
33960
 
33932
33961
  (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, SignNode);
@@ -33972,12 +34001,15 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
33972
34001
 
33973
34002
  _this._attribute = 0; //签名属性 0:医生签名 1:患者签名 2:ca签名(职称+签名图片)
33974
34003
 
34004
+ _this._connectChar = ":"; //自定义CA签名连接符
34005
+
33975
34006
  _this.number = number;
33976
34007
  _this._type = type;
33977
34008
  _this._signor = signor;
33978
34009
  _this._signTime = signTime;
33979
34010
  _this._imgSrc = imgSrc;
33980
34011
  _this._attribute = attribute === undefined ? 0 : attribute;
34012
+ _this._connectChar = connectChar === undefined ? ":" : connectChar;
33981
34013
 
33982
34014
  if (type == 3) {
33983
34015
  // 兼容旧的患者签名
@@ -34253,6 +34285,16 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
34253
34285
  this._attribute = value;
34254
34286
  }
34255
34287
  }
34288
+ }, {
34289
+ key: "connectChar",
34290
+ get: function get() {
34291
+ return this._connectChar;
34292
+ },
34293
+ set: function set(value) {
34294
+ if (this._connectChar !== value) {
34295
+ this._connectChar = value;
34296
+ }
34297
+ }
34256
34298
  /**
34257
34299
  *
34258
34300
  * @param drawTree 绘制树
@@ -34274,7 +34316,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
34274
34316
  this.styleIndex = 0;
34275
34317
  }
34276
34318
 
34277
- var dNode = new _editor_draw_drawNode_DrawSignNode__WEBPACK_IMPORTED_MODULE_10__/* .DrawSignNode */ .V(this._hoEditorFactoryID, this._rootPath, this, this.number, this.type, this.name, this.imgSrc, this.imgWidth, this.imgHeight, cbStyle, this.fingerPrintSrc, this.fingerPosition, this.attribute, this.customProperty);
34319
+ var dNode = new _editor_draw_drawNode_DrawSignNode__WEBPACK_IMPORTED_MODULE_10__/* .DrawSignNode */ .V(this._hoEditorFactoryID, this._rootPath, this, this.number, this.type, this.name, this.imgSrc, this.imgWidth, this.imgHeight, cbStyle, this.fingerPrintSrc, this.fingerPosition, this.attribute, this.customProperty, this.connectChar);
34278
34320
 
34279
34321
  this._drawNodes.push(dNode);
34280
34322
  }
@@ -34358,7 +34400,8 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
34358
34400
  allowEditSignTime: this.allowEditSignTime,
34359
34401
  fingerPrintSrc: clearSign ? "" : this.fingerPrintSrc,
34360
34402
  fingerPosition: clearSign ? 0 : this.fingerPosition,
34361
- attribute: this.attribute
34403
+ attribute: this.attribute,
34404
+ connectChar: this.connectChar
34362
34405
  };
34363
34406
 
34364
34407
  if (isCopy) {
@@ -34387,7 +34430,7 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
34387
34430
  var imgHeight = isClearSign ? 0 : Number(json.imgHeight);
34388
34431
  var isTemplate = json.isTemplate === true || json.isTemplate === "true" ? true : false;
34389
34432
  var attribute = json.attribute ? Number(json.attribute) : 0;
34390
- var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_13__/* .NodeType.ntSign */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, json.isFront, json.allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute);
34433
+ var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_13__/* .NodeType.ntSign */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, json.isFront, json.allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar);
34391
34434
  signNode.PNGToJPG = json.PNGToJPG == 1 ? 1 : 0; //signNode.number = number;
34392
34435
  //signNode.width = width;
34393
34436
 
@@ -37422,6 +37465,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
37422
37465
 
37423
37466
  if (isCopy) {
37424
37467
  rows = pto.row;
37468
+ cols = pto.col;
37425
37469
 
37426
37470
  if (to.colSpan > 1) {
37427
37471
  cols = pto.col + to.colSpan - 1;
@@ -38761,7 +38805,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38761
38805
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(99640);
38762
38806
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(28214);
38763
38807
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(35671);
38764
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(22342);
38808
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(22342);
38765
38809
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(68309);
38766
38810
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__);
38767
38811
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(41539);
@@ -38806,19 +38850,20 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38806
38850
  /* harmony import */ var _BaseCombineNode__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(8);
38807
38851
  /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(50369);
38808
38852
  /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(8395);
38809
- /* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(50161);
38810
- /* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(84844);
38811
- /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(15868);
38812
- /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(8623);
38813
- /* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(97724);
38814
- /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(14208);
38815
- /* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(85028);
38816
- /* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(91715);
38817
- /* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(43010);
38818
- /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(34450);
38819
- /* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(39869);
38820
- /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(95883);
38821
- /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(91538);
38853
+ /* harmony import */ var _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(36395);
38854
+ /* harmony import */ var _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(50161);
38855
+ /* harmony import */ var _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(84844);
38856
+ /* harmony import */ var _MarkNode__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(15868);
38857
+ /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(8623);
38858
+ /* harmony import */ var _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(97724);
38859
+ /* harmony import */ var _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(14208);
38860
+ /* harmony import */ var _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(85028);
38861
+ /* harmony import */ var _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(91715);
38862
+ /* harmony import */ var _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(43010);
38863
+ /* harmony import */ var _SignNode__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(34450);
38864
+ /* harmony import */ var _TableFormula__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(39869);
38865
+ /* harmony import */ var _TableNode__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(95883);
38866
+ /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(91538);
38822
38867
 
38823
38868
 
38824
38869
 
@@ -38851,7 +38896,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38851
38896
  /*
38852
38897
  * @Author: your name
38853
38898
  * @Date: 2020-11-03 15:17:54
38854
- * @LastEditTime: 2022-07-28 09:25:18
38899
+ * @LastEditTime: 2022-07-29 14:35:30
38855
38900
  * @LastEditors: liyanan 2441631434@qq.com
38856
38901
  * @Description: In User Settings Edit
38857
38902
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -38881,6 +38926,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38881
38926
 
38882
38927
 
38883
38928
 
38929
+
38884
38930
 
38885
38931
 
38886
38932
  var ReadOnlyStatus;
@@ -38939,7 +38985,7 @@ var DownListProperty = /*#__PURE__*/function () {
38939
38985
  DownListProperty.setDefaultImportStyle(this);
38940
38986
  }
38941
38987
 
38942
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(DownListProperty, [{
38988
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(DownListProperty, [{
38943
38989
  key: "allowMultiSelected",
38944
38990
  get: function get() {
38945
38991
  return this._allowMultiSelected;
@@ -39034,7 +39080,7 @@ var DataVerifyFormat = /*#__PURE__*/function () {
39034
39080
  DataVerifyFormat.setDefaultDataVerifyFormat(this);
39035
39081
  }
39036
39082
 
39037
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(DataVerifyFormat, [{
39083
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(DataVerifyFormat, [{
39038
39084
  key: "mustInputValue",
39039
39085
  get: function get() {
39040
39086
  return this._mustInputValue;
@@ -39142,7 +39188,7 @@ var BandDataSource = /*#__PURE__*/function () {
39142
39188
  BandDataSource.setDefaultBandDataSource(this);
39143
39189
  }
39144
39190
 
39145
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(BandDataSource, [{
39191
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(BandDataSource, [{
39146
39192
  key: "dataSourceEnabled",
39147
39193
  get: function get() {
39148
39194
  return this._dataSourceEnabled;
@@ -39416,7 +39462,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39416
39462
  */
39417
39463
 
39418
39464
 
39419
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Z)(TextInputFieldNode, [{
39465
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Z)(TextInputFieldNode, [{
39420
39466
  key: "alignWithBlocked",
39421
39467
  get: function get() {
39422
39468
  return this._alignWithBlocked;
@@ -39900,7 +39946,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39900
39946
 
39901
39947
  }, {
39902
39948
  key: "getFieldText",
39903
- value: function getFieldText() {
39949
+ value: function getFieldText(isClearValue) {
39904
39950
  var _this3 = this;
39905
39951
 
39906
39952
  var text = "";
@@ -39908,7 +39954,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39908
39954
  var loopChildNodes = function loopChildNodes(node) {
39909
39955
  var nodes = node.childNodes.slice(1);
39910
39956
  nodes.forEach(function (childNode) {
39911
- if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
39957
+ if (childNode instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
39912
39958
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3.hoEditorFactoryID);
39913
39959
  var textStyle = hoEditorFactory.docTree.styles[childNode.styleIndex];
39914
39960
 
@@ -39921,22 +39967,26 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39921
39967
  text += childNode.text;
39922
39968
  }
39923
39969
  } else if (childNode instanceof _ControlNode__WEBPACK_IMPORTED_MODULE_38__/* .ControlNode */ .w) {
39924
- text += childNode.text;
39970
+ if (childNode instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__/* .DateTimeNode */ .Z && (isClearValue || childNode.text == childNode.name)) {
39971
+ text += "";
39972
+ } else {
39973
+ text += childNode.text;
39974
+ }
39925
39975
  } else if (childNode instanceof _BaseCombineNode__WEBPACK_IMPORTED_MODULE_36__/* .BaseCombineNode */ .V) {
39926
39976
  loopChildNodes(childNode);
39927
- } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C) {
39977
+ } else if (childNode instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C) {
39928
39978
  text += '\n';
39929
- } else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_42__/* .MedicalExpressionNode */ .H) {
39979
+ } else if (childNode instanceof _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_43__/* .MedicalExpressionNode */ .H) {
39930
39980
  var expressJson = JSON.parse("{}");
39931
39981
  text += "<MedicalExpress>";
39932
39982
 
39933
- if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__/* .MenstrualHistoryNode */ .n) {
39983
+ if (childNode instanceof _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__/* .MenstrualHistoryNode */ .n) {
39934
39984
  expressJson.expressStyle = childNode.expressStyle;
39935
39985
  expressJson.menseDays = childNode.menseDays;
39936
39986
  expressJson.cycleDays = childNode.cycleDays;
39937
39987
  expressJson.menarcheAge = childNode.menarcheAge;
39938
39988
  expressJson.menoPauseAge = childNode.menoPauseAge;
39939
- } else if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PupilMapNode */ .v || childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__/* .LightLocationMapNode */ .D || childNode instanceof _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_39__/* .FetalHeartMapNode */ .t) {
39989
+ } else if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PupilMapNode */ .v || childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__/* .LightLocationMapNode */ .D || childNode instanceof _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_40__/* .FetalHeartMapNode */ .t) {
39940
39990
  expressJson.value1 = childNode.value1;
39941
39991
  expressJson.value2 = childNode.value2;
39942
39992
  expressJson.value3 = childNode.value3;
@@ -39944,10 +39994,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39944
39994
  expressJson.value5 = childNode.value5;
39945
39995
  expressJson.value6 = childNode.value6;
39946
39996
 
39947
- if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PupilMapNode */ .v) {
39997
+ if (childNode instanceof _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PupilMapNode */ .v) {
39948
39998
  expressJson.expressStyle = "PupilMapNode";
39949
39999
  expressJson.value7 = childNode.value7;
39950
- } else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__/* .LightLocationMapNode */ .D) {
40000
+ } else if (childNode instanceof _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__/* .LightLocationMapNode */ .D) {
39951
40001
  expressJson.expressStyle = "LightLocationMapNode";
39952
40002
  expressJson.value7 = childNode.value7;
39953
40003
  expressJson.value8 = childNode.value8;
@@ -39955,12 +40005,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
39955
40005
  } else {
39956
40006
  expressJson.expressStyle = "FetalHeartMapNode";
39957
40007
  }
39958
- } else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PrimaryTeethMapNode */ .x) {
39959
- if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__/* .PermanentTeethMapNode */ .f) {
40008
+ } else if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PermanentTeethMapNode */ .f || childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PrimaryTeethMapNode */ .x) {
40009
+ if (childNode instanceof _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PermanentTeethMapNode */ .f) {
39960
40010
  expressJson.expressStyle = "PermanentTeethMapNode";
39961
40011
  }
39962
40012
 
39963
- if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PrimaryTeethMapNode */ .x) {
40013
+ if (childNode instanceof _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PrimaryTeethMapNode */ .x) {
39964
40014
  expressJson.expressStyle = "PrimaryTeethMapNode";
39965
40015
  }
39966
40016
 
@@ -40023,7 +40073,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40023
40073
  this.keyValue = keyValue;
40024
40074
  }
40025
40075
 
40026
- if (!(value === "" && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j)) {
40076
+ if (!(value === "" && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j)) {
40027
40077
  _context2.next = 4;
40028
40078
  break;
40029
40079
  }
@@ -40038,7 +40088,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40038
40088
  endPath = hoEditorFactory.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]);
40039
40089
  aRange = new _DomRange__WEBPACK_IMPORTED_MODULE_34__/* .DomRange */ .a(this._hoEditorFactoryID, startPath, endPath);
40040
40090
 
40041
- if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) && this.inputFieldType === 0) {
40091
+ if (!(this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) && this.inputFieldType === 0) {
40042
40092
  anodes = _DomRange__WEBPACK_IMPORTED_MODULE_34__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this.hoEditorFactoryID, startPath, endPath);
40043
40093
 
40044
40094
  for (i = 0; i < anodes.length; i++) {
@@ -40057,7 +40107,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40057
40107
  break;
40058
40108
  }
40059
40109
 
40060
- markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent);
40110
+ markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent);
40061
40111
  hoEditorFactory.undoService.begin();
40062
40112
  hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_31__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
40063
40113
  hoEditorFactory.undoService.commit();
@@ -40136,19 +40186,19 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40136
40186
  // index = astyle.changeStyleString("fontBackColor", "transparent");
40137
40187
  // }
40138
40188
 
40139
- this.StartMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMark */ .Jq.ntMark, "|", index, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtStart */ .q.mtStart);
40189
+ this.StartMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMark */ .Jq.ntMark, "|", index, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtStart */ .q.mtStart);
40140
40190
  this.StartMarkNode.isReadOnly = true;
40141
- this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtStart */ .q.mtStart;
40142
- this.EndMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMark */ .Jq.ntMark, "]", index, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd);
40191
+ this.StartMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtStart */ .q.mtStart;
40192
+ this.EndMarkNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMark */ .Jq.ntMark, "]", index, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd);
40143
40193
  this.EndMarkNode.isReadOnly = true;
40144
- this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd;
40194
+ this.EndMarkNode.MarkNodeType = _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd;
40145
40195
  this.StartMarkNode.pair = this.EndMarkNode;
40146
40196
  this.EndMarkNode.pair = this.StartMarkNode;
40147
40197
 
40148
40198
  this._childNodes2.push(this.StartMarkNode);
40149
40199
 
40150
40200
  if (this.labelText.length != 0) {
40151
- this._childNodes2.push(new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.labelText, index, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent)); // this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
40201
+ this._childNodes2.push(new _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.labelText, index, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent)); // this._labelNode = new MarkNode(this._rootNodes, this, NodeType.ntText, this.labelText, 0);
40152
40202
  // this._childNodes2.push(this._labelNode);
40153
40203
 
40154
40204
  }
@@ -40162,7 +40212,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40162
40212
  this.childNodes.splice(1, 1);
40163
40213
  }
40164
40214
 
40165
- this._childNodes.splice(1, 0, new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.text, index));
40215
+ this._childNodes.splice(1, 0, new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, this.text, index));
40166
40216
  }
40167
40217
  }
40168
40218
  }, {
@@ -40205,7 +40255,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40205
40255
  for (var index = 0; index < this.childNodes.length; index++) {
40206
40256
  var value = this.childNodes[index];
40207
40257
 
40208
- if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C) {
40258
+ if (value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C) {
40209
40259
  if (aline.paragraphNode !== value) {
40210
40260
  if (aline instanceof _editor_draw_DrawLine__WEBPACK_IMPORTED_MODULE_25__/* .DrawLine */ .a) {
40211
40261
  aline.fitLines();
@@ -40222,7 +40272,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40222
40272
 
40223
40273
  paraNode = value;
40224
40274
  aline = paraNode.drawlines[0];
40225
- } else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_50__/* .TableNode */ .Fh) {
40275
+ } else if (value instanceof _TableNode__WEBPACK_IMPORTED_MODULE_51__/* .TableNode */ .Fh) {
40226
40276
  value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
40227
40277
  aline = value.drawTable;
40228
40278
  } else {
@@ -40332,7 +40382,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40332
40382
  value: function getActualWidth() {
40333
40383
  var w = 0;
40334
40384
  this.childNodes.forEach(function (value) {
40335
- if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C)) w += value.getActualWidth();
40385
+ if (!(value instanceof _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C)) w += value.getActualWidth();
40336
40386
  });
40337
40387
  return w;
40338
40388
  }
@@ -40395,10 +40445,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40395
40445
  return true;
40396
40446
  }
40397
40447
 
40398
- if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40448
+ if (this.childNodes.length == 3 && this.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40399
40449
  var markNode = this.childNodes[1];
40400
40450
 
40401
- if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent) {
40451
+ if (markNode.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent) {
40402
40452
  return true;
40403
40453
  } else return false;
40404
40454
  }
@@ -40455,10 +40505,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40455
40505
  for (var i = 0; i < this.childNodes.length; i++) {
40456
40506
  var node = this.childNodes[i];
40457
40507
 
40458
- if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && node.text.substr(0, 1) !== "C")) {
40459
- if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_50__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
40508
+ if (!(node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && node.text.substr(0, 1) !== "C")) {
40509
+ if (node instanceof _TableNode__WEBPACK_IMPORTED_MODULE_51__/* .TableNode */ .Fh || node instanceof TextInputFieldNode) {
40460
40510
  childArray.push(node.node2Json(undefined, isCopy, type, clearSign));
40461
- } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40511
+ } else if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40462
40512
  if (clearSign) {
40463
40513
  if (node.isTemplate) {
40464
40514
  childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
@@ -40467,10 +40517,12 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40467
40517
  childArray.push(node.node2Json(undefined, isCopy));
40468
40518
  }
40469
40519
  } else {
40470
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40520
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40471
40521
  if (node.text !== "") {
40472
40522
  childArray.push(node.node2Json(undefined, isCopy));
40473
40523
  }
40524
+ } else if (node instanceof _DateTimeNode__WEBPACK_IMPORTED_MODULE_39__/* .DateTimeNode */ .Z) {
40525
+ childArray.push(node.node2Json(undefined, isCopy, undefined, clearSign));
40474
40526
  } else {
40475
40527
  childArray.push(node.node2Json(undefined, isCopy));
40476
40528
  }
@@ -40526,7 +40578,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40526
40578
  }
40527
40579
 
40528
40580
  if (canCopy) {
40529
- if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && _node.text.substr(0, 1) === "C")) {
40581
+ if (!(_node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && _node.text.substr(0, 1) === "C")) {
40530
40582
  childArray.push(_node.node2Json(rec, isCopy));
40531
40583
  }
40532
40584
  }
@@ -40579,7 +40631,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40579
40631
  //const customPropertyObj =
40580
40632
 
40581
40633
 
40582
- this.text = this.getFieldText();
40634
+ this.text = this.getFieldText(clearSign);
40583
40635
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40584
40636
  var retObj = {
40585
40637
  nodeType: "ntField",
@@ -40724,13 +40776,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40724
40776
  var node = hoEditorFactory.structureConvert.convertNode(item[i], rootNodes, temp, undefined, undefined, isClearSign);
40725
40777
 
40726
40778
  if (node) {
40727
- if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40779
+ if (node instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40728
40780
  if (node.text !== "") {
40729
40781
  nodes.push(node);
40730
40782
  }
40731
40783
  } else {
40732
40784
  if (isClearSign) {
40733
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40785
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40734
40786
  if (node.isTemplate) {
40735
40787
  nodes.push(node);
40736
40788
  }
@@ -40743,11 +40795,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40743
40795
  }
40744
40796
  }
40745
40797
 
40746
- if (node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && node.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd && node.text.substring(0, 1) === "C") {
40798
+ if (node instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && node.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd && node.text.substring(0, 1) === "C") {
40747
40799
  hoEditorFactory.structureConvert._markNodes.push(node);
40748
40800
  }
40749
40801
 
40750
- if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
40802
+ if (node instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(node.customProperty.bce01)) {
40751
40803
  hoEditorFactory.structureConvert._superiorSign[0] = node;
40752
40804
  }
40753
40805
  }
@@ -40756,14 +40808,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40756
40808
  var _node2 = hoEditorFactory.structureConvert.convertNode(item, rootNodes, temp, undefined, undefined, isClearSign);
40757
40809
 
40758
40810
  if (_node2) {
40759
- if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R) {
40811
+ if (_node2 instanceof _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R) {
40760
40812
  if (_node2.text !== "") {
40761
40813
  nodes.push(_node2);
40762
40814
  }
40763
40815
  } else {
40764
40816
  //nodes.push(node);
40765
40817
  if (isClearSign) {
40766
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N) {
40818
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N) {
40767
40819
  if (_node2.isTemplate) {
40768
40820
  nodes.push(_node2);
40769
40821
  }
@@ -40776,11 +40828,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40776
40828
  }
40777
40829
  }
40778
40830
 
40779
- if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd && _node2.text.substring(0, 1) === "C") {
40831
+ if (_node2 instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && _node2.MarkNodeType === _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd && _node2.text.substring(0, 1) === "C") {
40780
40832
  hoEditorFactory.structureConvert._markNodes.push(_node2);
40781
40833
  }
40782
40834
 
40783
- if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_48__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
40835
+ if (_node2 instanceof _SignNode__WEBPACK_IMPORTED_MODULE_49__/* .SignNode */ .N && hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(_node2.customProperty.bce01)) {
40784
40836
  hoEditorFactory.structureConvert._superiorSign[0] = _node2;
40785
40837
  }
40786
40838
  }
@@ -40801,14 +40853,14 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40801
40853
  }
40802
40854
 
40803
40855
  if (nodes.length > 0) {
40804
- if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40856
+ if (nodes[0] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40805
40857
  var _temp$childNodes;
40806
40858
 
40807
40859
  temp.childNodes.length = 0;
40808
40860
 
40809
40861
  (_temp$childNodes = temp.childNodes).splice.apply(_temp$childNodes, [0, 0].concat(nodes));
40810
40862
 
40811
- if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) {
40863
+ if (temp.childNodes.length === 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) {
40812
40864
  temp._childNodes2.splice(1, 1);
40813
40865
 
40814
40866
  temp._childNodes2.splice(1, 0, temp.childNodes[1]);
@@ -40828,16 +40880,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40828
40880
  var sChildNode = temp.childNodes[0];
40829
40881
  var eChildNode = temp.childNodes[temp.childNodes.length - 1];
40830
40882
 
40831
- if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtStart */ .q.mtStart) {
40883
+ if (!(sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) || sChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && sChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtStart */ .q.mtStart) {
40832
40884
  throw new Error("经检测,病历元素“" + temp.name + "”的模板格式有问题,无法正常加载,请联系工程师进行处理。");
40833
40885
  }
40834
40886
 
40835
- if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
40887
+ if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
40836
40888
  throw new Error("经检测,病历元素“" + temp.name + "”的模板格式有问题,无法正常加载,请联系工程师进行处理。");
40837
40889
  }
40838
40890
  }
40839
40891
 
40840
- if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_49__/* .TableFormula */ .N) {
40892
+ if (temp.childNodes[1] instanceof _TableFormula__WEBPACK_IMPORTED_MODULE_50__/* .TableFormula */ .N) {
40841
40893
  return temp;
40842
40894
  }
40843
40895
 
@@ -40872,11 +40924,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40872
40924
 
40873
40925
  for (var i = 0; i < lineArr.length; i++) {
40874
40926
  var lineText = lineArr[i];
40875
- var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
40927
+ var textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, lineText, styleIndex);
40876
40928
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode);
40877
40929
 
40878
40930
  if (i < lineArr.length - 1) {
40879
- var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40931
+ var paraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40880
40932
  paraNode.styleIndex = styleIndex;
40881
40933
  temp.childNodes.splice(temp.childNodes.length - 1, 0, paraNode);
40882
40934
  }
@@ -40928,17 +40980,17 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40928
40980
  textArr = textStr.split("\n");
40929
40981
  }
40930
40982
 
40931
- var textNode1 = new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, textArr[0], styleIndex);
40983
+ var textNode1 = new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, textArr[0], styleIndex);
40932
40984
  temp.childNodes.splice(temp.childNodes.length - 1, 0, textNode1);
40933
40985
 
40934
40986
  if (textArr.length > 1) {
40935
40987
  for (var _i2 = 1; _i2 < textArr.length; _i2++) {
40936
- var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_44__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40988
+ var paragraNode = new _ParagraphNode__WEBPACK_IMPORTED_MODULE_45__/* .ParagraphNode */ .C(hoEditorFactoryID, rootNodes, temp, 0);
40937
40989
  paragraNode.styleIndex = styleIndex;
40938
40990
  temp.childNodes.splice(temp.childNodes.length - 1, 0, paragraNode);
40939
40991
 
40940
40992
  if (textArr[_i2] !== "") {
40941
- var _textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_51__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, textArr[_i2], styleIndex);
40993
+ var _textNode = new _TextNode__WEBPACK_IMPORTED_MODULE_52__/* .TextNode */ .R(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, textArr[_i2], styleIndex);
40942
40994
 
40943
40995
  temp.childNodes.splice(temp.childNodes.length - 1, 0, _textNode);
40944
40996
  }
@@ -40957,7 +41009,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40957
41009
  var eIndex = expressArr[_i3].eIndex;
40958
41010
  var expressJson = temp.text.substring(sIndex + 16, eIndex);
40959
41011
  var expressObj = JSON.parse(expressJson);
40960
- var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__/* .ExpressStyle */ .e[expressObj.expressStyle];
41012
+ var expressStyle = _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__/* .ExpressStyle */ .e[expressObj.expressStyle];
40961
41013
 
40962
41014
  if (!expressStyle) {
40963
41015
  expressStyle = expressObj.expressStyle;
@@ -40967,18 +41019,18 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40967
41019
 
40968
41020
  if (expressStyle.includes("style")) {
40969
41021
  //经期史
40970
- medicalExpressNode = new _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_43__/* .MenstrualHistoryNode */ .n(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressStyle, expressObj.menseDays, expressObj.cycleDays, expressObj.menarcheAge, expressObj.menoPauseAge);
41022
+ medicalExpressNode = new _MenstrualHistoryNode__WEBPACK_IMPORTED_MODULE_44__/* .MenstrualHistoryNode */ .n(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressStyle, expressObj.menseDays, expressObj.cycleDays, expressObj.menarcheAge, expressObj.menoPauseAge);
40971
41023
  } else {
40972
41024
  if (expressStyle === "PupilMapNode") {
40973
- medicalExpressNode = new _PupilMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PupilMapNode */ .v(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7);
41025
+ medicalExpressNode = new _PupilMapNode__WEBPACK_IMPORTED_MODULE_48__/* .PupilMapNode */ .v(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7);
40974
41026
  } else if (expressStyle === "LightLocationMapNode") {
40975
- medicalExpressNode = new _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_40__/* .LightLocationMapNode */ .D(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7, expressObj.value8, expressObj.value9);
41027
+ medicalExpressNode = new _LightLocationMapNode__WEBPACK_IMPORTED_MODULE_41__/* .LightLocationMapNode */ .D(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6, expressObj.value7, expressObj.value8, expressObj.value9);
40976
41028
  } else if (expressStyle === "FetalHeartMapNode") {
40977
- medicalExpressNode = new _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_39__/* .FetalHeartMapNode */ .t(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6);
41029
+ medicalExpressNode = new _FetalHeartMapNode__WEBPACK_IMPORTED_MODULE_40__/* .FetalHeartMapNode */ .t(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.value1, expressObj.value2, expressObj.value3, expressObj.value4, expressObj.value5, expressObj.value6);
40978
41030
  } else if (expressStyle === "PermanentTeethMapNode") {
40979
- medicalExpressNode = new _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_45__/* .PermanentTeethMapNode */ .f(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
41031
+ medicalExpressNode = new _PermanentTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PermanentTeethMapNode */ .f(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
40980
41032
  } else {
40981
- medicalExpressNode = new _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_46__/* .PrimaryTeethMapNode */ .x(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
41033
+ medicalExpressNode = new _PrimaryTeethMapNode__WEBPACK_IMPORTED_MODULE_47__/* .PrimaryTeethMapNode */ .x(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntMedicalExpression */ .Jq.ntMedicalExpression, expressObj.topLeftSelected, expressObj.topRightSelected, expressObj.bottomLeftSelected, expressObj.bottomRightSelected);
40982
41034
  }
40983
41035
  }
40984
41036
 
@@ -41006,8 +41058,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
41006
41058
  } else {
41007
41059
  temp._childNodes2.splice(1, temp._childNodes2.length - 2);
41008
41060
 
41009
- var markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNode */ .j(hoEditorFactoryID, rootNodes, temp, _BaseNode__WEBPACK_IMPORTED_MODULE_37__/* .NodeType.ntText */ .Jq.ntText, temp.labelText, //hoEditorFactory.docTree.curStyleIndex,
41010
- styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_41__/* .MarkNodeType.mtContent */ .q.mtContent);
41061
+ 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,
41062
+ styleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_42__/* .MarkNodeType.mtContent */ .q.mtContent);
41011
41063
 
41012
41064
  temp._childNodes.splice(1, 0, markNode);
41013
41065
 
@@ -51564,7 +51616,7 @@ var DrawRect = /*#__PURE__*/function (_DrawContainer) {
51564
51616
  /*
51565
51617
  * @Author: your name
51566
51618
  * @Date: 2021-09-01 16:51:49
51567
- * @LastEditTime: 2022-07-26 12:00:22
51619
+ * @LastEditTime: 2022-08-01 10:19:27
51568
51620
  * @LastEditors: liyanan 2441631434@qq.com
51569
51621
  * @Description: In User Settings Edit
51570
51622
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawSignNode.ts
@@ -51575,7 +51627,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51575
51627
 
51576
51628
  var _super = (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(DrawSignNode);
51577
51629
 
51578
- function DrawSignNode(hoeditfactoryID, rootPath, node, number, type, name, imgSrc, imgWidth, imgHeight, cbStyle, fingerPrintSrc, fingerPosition, attribute, customProperty) {
51630
+ function DrawSignNode(hoeditfactoryID, rootPath, node, number, type, name, imgSrc, imgWidth, imgHeight, cbStyle, fingerPrintSrc, fingerPosition, attribute, customProperty, connectChar) {
51579
51631
  var _this;
51580
51632
 
51581
51633
  (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawSignNode);
@@ -51589,6 +51641,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51589
51641
  _this._fingerPosition = 0;
51590
51642
  _this._attribute = 0; //签名属性 0:医生签名 1:患者签名 2:ca签名(职称+签名图片)
51591
51643
 
51644
+ _this._connectChar = ":";
51592
51645
  _this._abi02 = "";
51593
51646
  _this._number = number;
51594
51647
  _this._imgSrc = imgSrc;
@@ -51597,6 +51650,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51597
51650
  _this._fingerPrintSrc = fingerPrintSrc;
51598
51651
  _this._fingerPosition = fingerPosition;
51599
51652
  _this._attribute = attribute;
51653
+ _this._connectChar = connectChar;
51600
51654
  _this._abi02 = customProperty && customProperty.abi02 ? customProperty.abi02 : ""; //this._textStyle = cbStyle.;
51601
51655
 
51602
51656
  _this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_8__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight; //this.dHeight = 40;
@@ -51639,7 +51693,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51639
51693
  }
51640
51694
 
51641
51695
  if (_this.attribute === 2 && _this._abi02 !== "") {
51642
- _this._drawAbi02 = new createjs.Text(_this._abi02 + ":", _this._textStyle, '#000000');
51696
+ _this._drawAbi02 = new createjs.Text(_this._abi02 + _this._connectChar, _this._textStyle, '#000000');
51643
51697
  _this.dWidth += _this._drawAbi02.getMeasuredWidth();
51644
51698
  }
51645
51699
  }
@@ -51978,7 +52032,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51978
52032
  }
51979
52033
 
51980
52034
  if (_this3.attribute === 2 && _this3.abi02 !== "") {
51981
- var abi02Text = new createjs.Text(_this3.abi02 + ":", _this3.textStyle, '#000000');
52035
+ var abi02Text = new createjs.Text(_this3.abi02 + _this3._connectChar, _this3.textStyle, '#000000');
51982
52036
  abi02Text.textBaseline = 'alphabetic';
51983
52037
  abi02Text.textAlign = 'left';
51984
52038
 
@@ -55371,6 +55425,7 @@ var Caret = /*#__PURE__*/function () {
55371
55425
  this.div_cursor.style.left = x + "px";
55372
55426
  this.div_cursor.style.top = y + "px";
55373
55427
  this.div_cursor.style.opacity = "1";
55428
+ this.div_cursor.style.width = "0.1px";
55374
55429
  this.updateCaret();
55375
55430
  this.setPage(pageIndex);
55376
55431
  }
@@ -63055,6 +63110,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63055
63110
  end: ""
63056
63111
  };
63057
63112
  this._pnode = null;
63113
+ this._isError = false;
63058
63114
  this._hoEditorFactoryID = hoEditorFactoryID;
63059
63115
  this._startPath = startPath;
63060
63116
  this._endPath = endPath;
@@ -63535,27 +63591,28 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63535
63591
  hoEditorFactory.docTree.curDomRange = currRange;
63536
63592
 
63537
63593
  if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psReview */ .Dh.psReview)) {
63538
- _context.next = 10;
63594
+ _context.next = 11;
63539
63595
  break;
63540
63596
  }
63541
63597
 
63542
63598
  if (!(currRange.npEnd.node && currRange.npEnd.node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R)) {
63543
- _context.next = 10;
63599
+ _context.next = 11;
63544
63600
  break;
63545
63601
  }
63546
63602
 
63547
63603
  textStyle = hoEditorFactory.docTree.styles[currRange.npEnd.node.styleIndex];
63548
63604
 
63549
63605
  if (!(textStyle.strikeout && currRange.npEnd.node.text.length > 0)) {
63550
- _context.next = 10;
63606
+ _context.next = 11;
63551
63607
  break;
63552
63608
  }
63553
63609
 
63554
63610
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("该内容当前已处于删除状态!");
63555
63611
 
63612
+ this._isError = true;
63556
63613
  return _context.abrupt("return");
63557
63614
 
63558
- case 10:
63615
+ case 11:
63559
63616
  nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._startPath, this._endPath); // const npFirst = hoEditorFactory.docTree.findNodePositionByPath(this._startPath);
63560
63617
  // if (npFirst && npFirst.node) {
63561
63618
  // //const parentNode = hoEditorFactory.docTree.getParentNode(this._startPath);
@@ -63568,41 +63625,42 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63568
63625
  //if(nodes.length == 0) return;
63569
63626
 
63570
63627
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63571
- _context.next = 34;
63628
+ _context.next = 38;
63572
63629
  break;
63573
63630
  }
63574
63631
 
63575
63632
  n = 0;
63576
63633
 
63577
- case 13:
63634
+ case 14:
63578
63635
  if (!(n < nodes.length)) {
63579
- _context.next = 34;
63636
+ _context.next = 38;
63580
63637
  break;
63581
63638
  }
63582
63639
 
63583
63640
  node = nodes[n];
63584
63641
 
63585
63642
  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)) {
63586
- _context.next = 18;
63643
+ _context.next = 20;
63587
63644
  break;
63588
63645
  }
63589
63646
 
63590
63647
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。", "系统提示");
63591
63648
 
63592
- return _context.abrupt("return", 0);
63649
+ this._isError = true;
63650
+ return _context.abrupt("return");
63593
63651
 
63594
- case 18:
63652
+ case 20:
63595
63653
  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) {
63596
63654
  hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
63597
63655
  }
63598
63656
 
63599
63657
  if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
63600
- _context.next = 28;
63658
+ _context.next = 31;
63601
63659
  break;
63602
63660
  }
63603
63661
 
63604
63662
  if (node.isAllowDelete) {
63605
- _context.next = 28;
63663
+ _context.next = 31;
63606
63664
  break;
63607
63665
  }
63608
63666
 
@@ -63626,28 +63684,30 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63626
63684
 
63627
63685
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert(tip + "元素已设置为不允许删除。请先右键元素属性设置成允许删除,再进行删除操作。", "系统提示");
63628
63686
 
63629
- return _context.abrupt("return", 0);
63687
+ this._isError = true;
63688
+ return _context.abrupt("return");
63630
63689
 
63631
- case 28:
63690
+ case 31:
63632
63691
  if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63633
- _context.next = 31;
63692
+ _context.next = 35;
63634
63693
  break;
63635
63694
  }
63636
63695
 
63637
63696
  element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_1___default().alert("该签名元素不允许删除!", "系统提示");
63638
63697
 
63639
- return _context.abrupt("return", 0);
63698
+ this._isError = true;
63699
+ return _context.abrupt("return");
63640
63700
 
63641
- case 31:
63701
+ case 35:
63642
63702
  n++;
63643
- _context.next = 13;
63703
+ _context.next = 14;
63644
63704
  break;
63645
63705
 
63646
- case 34:
63706
+ case 38:
63647
63707
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
63648
63708
 
63649
63709
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63650
- _context.next = 40;
63710
+ _context.next = 44;
63651
63711
  break;
63652
63712
  }
63653
63713
 
@@ -63660,24 +63720,24 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63660
63720
  });
63661
63721
 
63662
63722
  if (_res[0]) {
63663
- _context.next = 40;
63723
+ _context.next = 44;
63664
63724
  break;
63665
63725
  }
63666
63726
 
63667
63727
  return _context.abrupt("return");
63668
63728
 
63669
- case 40:
63729
+ case 44:
63670
63730
  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函数完成后调用这个
63671
63731
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
63672
63732
 
63673
63733
  if (currRange.npStart.node && currRange.npEnd.node) {
63674
- _context.next = 43;
63734
+ _context.next = 47;
63675
63735
  break;
63676
63736
  }
63677
63737
 
63678
63738
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63679
63739
 
63680
- case 43:
63740
+ case 47:
63681
63741
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
63682
63742
  // this._hoEditorFactory,
63683
63743
  // currRange.startPath,
@@ -63690,33 +63750,33 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63690
63750
  res = this.deleteRange(currRange.endPath, currRange.startPath);
63691
63751
 
63692
63752
  if (!(res == 1)) {
63693
- _context.next = 55;
63753
+ _context.next = 59;
63694
63754
  break;
63695
63755
  }
63696
63756
 
63697
63757
  changeEvent.beforeChangePath = startPath;
63698
63758
  changeEvent.afterChangePath = this._tmp.start;
63699
- _context.next = 53;
63759
+ _context.next = 57;
63700
63760
  return hoEditorFactory.docTree.change(changeEvent);
63701
63761
 
63702
- case 53:
63762
+ case 57:
63703
63763
  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));
63704
63764
  hoEditorFactory.docTree.selectChange(cgEvent);
63705
63765
 
63706
- case 55:
63766
+ case 59:
63707
63767
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
63708
63768
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
63709
63769
  aNode = currRange.npStart.node;
63710
63770
 
63711
63771
  if (!(aNode && pnode)) {
63712
- _context.next = 61;
63772
+ _context.next = 65;
63713
63773
  break;
63714
63774
  }
63715
63775
 
63716
- _context.next = 61;
63776
+ _context.next = 65;
63717
63777
  return this.ParentRepaint(pnode);
63718
63778
 
63719
- case 61:
63779
+ case 65:
63720
63780
  case "end":
63721
63781
  return _context.stop();
63722
63782
  }
@@ -63761,6 +63821,11 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63761
63821
  get: function get() {
63762
63822
  return this._affectText;
63763
63823
  }
63824
+ }, {
63825
+ key: "isError",
63826
+ get: function get() {
63827
+ return this._isError;
63828
+ }
63764
63829
  }]);
63765
63830
 
63766
63831
  return NodesDeleteUndoUnit;
@@ -200636,61 +200701,14 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200636
200701
  function DrawSelectLevel(hoEditorFactoryID, pageIndex, selectCanvas, docIndex, drawPageIndex) {
200637
200702
  (0,classCallCheck/* default */.Z)(this, DrawSelectLevel);
200638
200703
 
200704
+ this._scrollYList = [];
200639
200705
  this._hoEditorFactoryID = hoEditorFactoryID;
200640
- this._selectCanvas = selectCanvas; // this._drawPage = drawPage;
200641
-
200706
+ this._selectCanvas = selectCanvas;
200642
200707
  this._pageIndex = pageIndex;
200643
200708
  this._docIndex = docIndex;
200644
200709
  this._drawPageIndex = drawPageIndex;
200645
- this._selectStage = null; // this._selectCanvas = selectCanvas;
200646
- // if (hoeditorfactory.drawTree.paintStatus !== PaintState.psPreview) {
200647
- // this._selectStage = new createjs.StageGL(selectCanvas, {
200648
- // transparent: true,
200649
- // });
200650
- // } else {
200651
- // this._selectStage = new createjs.Stage(selectCanvas);
200652
- // }
200653
- // (this._domStage as any).setClearColor("#ffffff");
200654
- // this._selectStage.enableMouseOver(1);
200655
- // this._mainContainer = new createjs.Container();
200656
-
200657
- this._mouseDownCount = 0; // this.mainBackGround = new createjs.Shape();
200658
- // this.mainBackGround.x = 0;
200659
- // this.mainBackGround.y = 0;
200660
- // this.mainBackGround.alpha = 0.01;
200661
- // this.mainBackGround.setBounds(
200662
- // 0,
200663
- // 0,
200664
- // hoeditorfactory.pageProperty.widthPixes,
200665
- // hoeditorfactory.pageProperty.heightPixes
200666
- // );
200667
- // const rect = this.mainBackGround.getBounds();
200668
- // this.mainBackGround.graphics
200669
- // .beginFill("blue")
200670
- // .rect(rect.x, rect.y, rect.width, rect.height);
200671
- // this._selectStage.addChild(this.mainBackGround);
200672
- // this.mainBackGround.addEventListener("mousedown", (aevent: any) => {
200673
- // this.mouseDown(aevent)
200674
- // );
200675
- // this.mainBackGround.addEventListener("dblclick", (aevent: any) => {
200676
- // this.mouseDblClick(aevent);
200677
- // });
200678
-
200679
- /* case PaintState.psPreview: {
200680
- break;
200681
- }
200682
- case PaintState.psPrint: {
200683
- break;
200684
- } default: {
200685
- //this.mouseClick(aevent);
200686
- break;
200687
- }
200688
- }
200689
- });*/
200690
- // this.mainBackGround.addEventListener("click", (aevent: any) => {
200691
- // this.mouseClick(aevent);
200692
- // });
200693
-
200710
+ this._selectStage = null;
200711
+ this._mouseDownCount = 0;
200694
200712
  this._oldRange = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange;
200695
200713
  this._shapesColor = new Map();
200696
200714
  }
@@ -200714,21 +200732,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200714
200732
  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;
200715
200733
  dPage.setEnableMouseOver(5);
200716
200734
 
200717
- this._selectStage.addChild(dPage.selectContainer); // const len = [...HOEditorFactorys.instance().hoEditorFactoryMap].length;
200718
- // if (len > 1) {
200719
- // if (this._docIndex === 0) {
200720
- // if (this._drawPageIndex === 0) {
200721
- // this._selectStage.addChild(dPage.headerLeftTag);
200722
- // this._selectStage.addChild(dPage.headerRightTag);
200723
- // }
200724
- // } else if (this._docIndex === len - 1) {
200725
- // if (this._drawPageIndex === hoEditorFactory.drawTree.drawPages.length - 1) {
200726
- // this._selectStage.addChild(dPage.footerLeftTag);
200727
- // this._selectStage.addChild(dPage.footerRightTag);
200728
- // }
200729
- // }
200730
- // } else {
200731
-
200735
+ this._selectStage.addChild(dPage.selectContainer);
200732
200736
 
200733
200737
  if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview) {
200734
200738
  this._selectStage.addChild(dPage.headerLeftTag);
@@ -200738,11 +200742,9 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200738
200742
  this._selectStage.addChild(dPage.footerLeftTag);
200739
200743
 
200740
200744
  this._selectStage.addChild(dPage.footerRightTag);
200741
- } // }
200742
-
200745
+ }
200743
200746
 
200744
200747
  this._selectStage.addEventListener('stagemousedown', function (aevent) {
200745
- // this.mouseDown(aevent)
200746
200748
  switch (hoEditorFactory.drawTree.paintStatus) {
200747
200749
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
200748
200750
  {
@@ -200766,7 +200768,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200766
200768
  });
200767
200769
 
200768
200770
  this._selectStage.addEventListener('stagemouseup', function (aevent) {
200769
- // this.mouseup(aevent);
200770
200771
  switch (hoEditorFactory.drawTree.paintStatus) {
200771
200772
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
200772
200773
  {
@@ -200812,10 +200813,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200812
200813
  }
200813
200814
  });
200814
200815
 
200815
- this._selectStage.update(); // const context = this._selectCanvas.getContext("2d");
200816
- // context?.clearRect(0, 0, this._selectCanvas.width, this._selectCanvas.height);
200817
- // this._selectCanvas.width = 0.01 + this._selectCanvas.width;
200818
-
200816
+ this._selectStage.update();
200819
200817
  }
200820
200818
  }
200821
200819
  }, {
@@ -200830,13 +200828,10 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200830
200828
 
200831
200829
  this._selectStage.removeAllChildren();
200832
200830
 
200833
- this._selectStage.canvas = null; // this._selectStage.update();
200834
-
200831
+ this._selectStage.canvas = null;
200835
200832
  this._selectStage = null;
200836
200833
  this._selectCanvas.width = 0;
200837
- this._selectCanvas.height = 0; // const ctx = this._selectCanvas.getContext("2d");
200838
- // ctx?.clearRect(0, 0, this._selectCanvas.width, this._selectCanvas.height);
200839
- // ctx?.restore();
200834
+ this._selectCanvas.height = 0;
200840
200835
  }
200841
200836
  }
200842
200837
  }, {
@@ -200989,15 +200984,6 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200989
200984
  return _context.abrupt("return", true);
200990
200985
 
200991
200986
  case 28:
200992
- // let dline = targetArea.topDline;
200993
- // if (dline instanceof DrawPageTable) {
200994
- // dline = (dline as DrawPageTable).table.drawTable.getFirstDrawLine();
200995
- // }
200996
- // hoeditorfactory.drawTree.moveCaretToDitem(
200997
- // startPos.page,
200998
- // dline as DrawLine,
200999
- // targetArea.drawItems.length - 1
201000
- // ); // startPos.path);
201001
200987
  hoEditorFactory.drawTree.moveCaretToPath(startPos.path);
201002
200988
  return _context.abrupt("return", true);
201003
200989
 
@@ -201121,58 +201107,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201121
201107
  }
201122
201108
 
201123
201109
  return mouseDblClick;
201124
- }() // public mouseClick(aevent: any): boolean {
201125
- // if (aevent.currentTarget === this.stage) {
201126
- // hoeditorfactory.drawTree.selectRange.clearAllSelectShape();
201127
- // hoeditorfactory.drawTree.selectRange.beginRangeSelect = false;
201128
- // if (
201129
- // hoeditorfactory.drawTree.activePage?.drawDomLevel?.activeDrawRect.rootPath.startsWith(
201130
- // gMainPath
201131
- // )
201132
- // ) {
201133
- // hoeditorfactory.drawTree.activePage = this._drawPage;
201134
- // }
201135
- // this._oldRange = hoeditorfactory.docTree.curDomRange.clone();
201136
- // if (!this._drawPage.drawDomLevel) {
201137
- // return false;
201138
- // }
201139
- // const startPos = hoeditorfactory.drawTree.getStagePosition(
201140
- // this._drawPage,
201141
- // this._drawPage.drawDomLevel.activeDrawRect,
201142
- // aevent.stageX,
201143
- // aevent.stageY
201144
- // );
201145
- // if (startPos) {
201146
- // const np = hoeditorfactory.docTree.findNodePositionByPath(startPos.path);
201147
- // if (np && np.node) {
201148
- // //鼠标左键单击
201149
- // if (
201150
- // np.node instanceof ImageNode &&
201151
- // aevent.nativeEvent.button === 0
201152
- // ) {
201153
- // const bclickItem = hoeditorfactory.drawTree.getChildByPos(
201154
- // this._drawPage,
201155
- // this._drawPage.drawDomLevel.activeDrawRect,
201156
- // aevent.stageX,
201157
- // aevent.stageY
201158
- // )[1];
201159
- // if (bclickItem) {
201160
- // const nodeClickEvent = new NodeClickEvent(np.node, "click");
201161
- // hoeditorfactory.docTree.nodeClick(nodeClickEvent);
201162
- // }
201163
- // }
201164
- // return true;
201165
- // }
201166
- // const selchange = new SelectionChangeEvent(
201167
- // this._oldRange,
201168
- // hoeditorfactory.docTree.curDomRange
201169
- // );
201170
- // hoeditorfactory.docTree.selectChange(selchange);
201171
- // }
201172
- // }
201173
- // return true;
201174
- // }
201175
-
201110
+ }()
201176
201111
  }, {
201177
201112
  key: "mouseDownHandle",
201178
201113
  value: function mouseDownHandle(aevent) {
@@ -201329,7 +201264,8 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201329
201264
 
201330
201265
  if (hoeditorfactory.drawTree.inViewPages.indexOf(this._pageIndex) < 0) {
201331
201266
  hoeditorfactory.drawTree.inViewPages.push(this._pageIndex);
201332
- }
201267
+ } // this._scrollYList.push(aevent.stageY);
201268
+
201333
201269
 
201334
201270
  if (hoeditorfactory.drawTree.selectRange.beginRangeSelect && (parseInt(aevent.nativeEvent.buttons) && 1) === 1) {
201335
201271
  var _hoeditorfactory$draw2;
@@ -201356,36 +201292,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201356
201292
  hoeditorfactory.drawTree.selectRange.spEnd = endPos;
201357
201293
  hoeditorfactory.drawTree.drawSelectRange();
201358
201294
  }
201359
- } // else {
201360
- // hoeditorfactory.drawTree.selectRange.beginRangeSelect = false;
201361
- // const np = hoeditorfactory.docTree.findNodePositionByPath(endPos.path);
201362
- // if (np && np.node) {
201363
- // const bclickItem = hoeditorfactory.drawTree.getChildByPos(
201364
- // this._drawPage,
201365
- // this._drawPage.drawDomLevel.activeDrawRect,
201366
- // aevent.stageX,
201367
- // aevent.stageY
201368
- // )[1];
201369
- // if (bclickItem) {
201370
- // const nodeNeedModifyEvent = new NodeNeedModifyEvent(
201371
- // np.node as BaseNode,
201372
- // "move",
201373
- // this._drawPage.pageIndex,
201374
- // true
201375
- // );
201376
- // hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
201377
- // } else {
201378
- // const nodeNeedModifyEvent = new NodeNeedModifyEvent(
201379
- // np.node,
201380
- // "",
201381
- // this._drawPage.pageIndex,
201382
- // false
201383
- // );
201384
- // hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
201385
- // }
201386
- // }
201387
- // }
201388
-
201295
+ }
201389
201296
  } //return true;
201390
201297
 
201391
201298
  }, {
@@ -201394,6 +201301,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201394
201301
  var hoeditorfactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
201395
201302
 
201396
201303
  if (hoeditorfactory.drawTree.selectRange) {
201304
+ this._scrollYList = [];
201397
201305
  var startPos = hoeditorfactory.drawTree.selectRange.spStart;
201398
201306
  var endPos = hoeditorfactory.drawTree.selectRange.spEnd;
201399
201307
 
@@ -201403,12 +201311,9 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201403
201311
 
201404
201312
  if (endPos.index === -1) {
201405
201313
  hoeditorfactory.drawTree.moveCaretToDitem(startPos.page, startPos.dline, startPos.index);
201406
- } else hoeditorfactory.drawTree.moveCaretToPath(startPos.path); // hoeditorfactory.drawTree.moveCaretToDitem(
201407
- // startPos.page,
201408
- // startPos.dline,
201409
- // startPos.index
201410
- // );
201411
-
201314
+ } else {
201315
+ hoeditorfactory.drawTree.moveCaretToPath(startPos.path);
201316
+ }
201412
201317
  } else {
201413
201318
  if (hoeditorfactory.drawTree.activePage) hoeditorfactory.drawTree.moveEditTo(hoeditorfactory.drawTree.activePage.pageIndex, 0, 0);
201414
201319
 
@@ -207611,7 +207516,7 @@ var SignNode = __webpack_require__(34450);
207611
207516
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207612
207517
  var ParagraphNode = __webpack_require__(14208);
207613
207518
  ;// CONCATENATED MODULE: ./src/components/version.ts
207614
- /* harmony default export */ var version = ('2.0.78');
207519
+ /* harmony default export */ var version = ('2.0.81');
207615
207520
  ;// 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&
207616
207521
  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)}
207617
207522
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -211439,7 +211344,6 @@ var GestationNode = __webpack_require__(74873);
211439
211344
 
211440
211345
 
211441
211346
 
211442
-
211443
211347
 
211444
211348
 
211445
211349
  var StructureConvert = /*#__PURE__*/function () {
@@ -212267,13 +212171,13 @@ var StructureConvert = /*#__PURE__*/function () {
212267
212171
  xmlRoot += x2js.js2xml(_userHistories);
212268
212172
  xmlRoot += "</userHistories>";
212269
212173
  xmlRoot += "<headers>";
212270
- xmlRoot = this.doc2Json("header", "xml", xmlRoot);
212174
+ xmlRoot = this.doc2Json("header", "xml", xmlRoot, clearSign);
212271
212175
  xmlRoot += "</headers>";
212272
212176
  xmlRoot += "<main>";
212273
212177
  xmlRoot = this.doc2Json("main", "xml", xmlRoot, clearSign);
212274
212178
  xmlRoot += "</main>";
212275
212179
  xmlRoot += "<footers>";
212276
- xmlRoot = this.doc2Json("footer", "xml", xmlRoot);
212180
+ xmlRoot = this.doc2Json("footer", "xml", xmlRoot, clearSign);
212277
212181
  xmlRoot += "</footers>";
212278
212182
  xmlRoot += "<docText>";
212279
212183
  xmlRoot += hoEditorFactory.vueController.getMainDocText();
@@ -212840,7 +212744,11 @@ var StructureConvert = /*#__PURE__*/function () {
212840
212744
  nodeJson = _this.delStyle(node.node2Json());
212841
212745
  }
212842
212746
  } else {
212843
- nodeJson = _this.delStyle(node.node2Json());
212747
+ if (node instanceof DateTimeNode/* DateTimeNode */.Z && clearSign) {
212748
+ nodeJson = _this.delStyle(node.node2Json(undefined, undefined, undefined, clearSign));
212749
+ } else {
212750
+ nodeJson = _this.delStyle(node.node2Json());
212751
+ }
212844
212752
  }
212845
212753
  }
212846
212754
  }
@@ -213492,13 +213400,11 @@ var StructureConvert = /*#__PURE__*/function () {
213492
213400
  message_box_default().alert("不允许将表格粘贴到文本域");
213493
213401
 
213494
213402
  return undefined;
213495
- }
213403
+ } // if (isPaste && parentNode instanceof CellNode) {
213404
+ // MessageBox.alert("不允许将表格粘贴到表格");
213405
+ // return undefined;
213406
+ // }
213496
213407
 
213497
- if (isPaste && parentNode instanceof CellNode/* CellNode */.D) {
213498
- message_box_default().alert("不允许将表格粘贴到表格");
213499
-
213500
- return undefined;
213501
- }
213502
213408
 
213503
213409
  var node = TableNode/* TableNode.json2Node */.Fh.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode, isPaste, isClearSign);
213504
213410
  return node;
@@ -219799,7 +219705,7 @@ var VueController = /*#__PURE__*/function () {
219799
219705
 
219800
219706
  }, {
219801
219707
  key: "insertEmptySignNode",
219802
- value: function insertEmptySignNode(name, signType, signFormat, signTimeFormat, connectMode, isFront, allowEditSignTime, attribute) {
219708
+ value: function insertEmptySignNode(name, signType, signFormat, signTimeFormat, connectMode, isFront, allowEditSignTime, attribute, connectChar) {
219803
219709
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
219804
219710
  var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
219805
219711
  var startPath = curDomRange.normalize().startPath;
@@ -219807,7 +219713,7 @@ var VueController = /*#__PURE__*/function () {
219807
219713
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertSign */.y.insertSign);
219808
219714
 
219809
219715
  if (hoEditorFactory.docTree.changing(changingEvent)) {
219810
- hoEditorFactory.docController.insertEmptySignNode(curDomRange, name, signType, signFormat, signTimeFormat, connectMode, isFront, allowEditSignTime, attribute);
219716
+ hoEditorFactory.docController.insertEmptySignNode(curDomRange, name, signType, signFormat, signTimeFormat, connectMode, isFront, allowEditSignTime, attribute, connectChar);
219811
219717
  }
219812
219718
  }
219813
219719
  /**
@@ -222271,6 +222177,8 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message);
222271
222177
 
222272
222178
 
222273
222179
 
222180
+
222181
+
222274
222182
  var EditController = /*#__PURE__*/function () {
222275
222183
  function EditController(hoEditorFactoryID) {
222276
222184
  (0,classCallCheck/* default */.Z)(this, EditController);
@@ -222595,19 +222503,77 @@ var EditController = /*#__PURE__*/function () {
222595
222503
  // });
222596
222504
  // }
222597
222505
  // const rtfData = clipboardData.getData("text/rtf");
222506
+ // console.log("json:", jsonData);
222507
+ // console.log("html:", htmlData);
222508
+ // console.log("text:", textData);
222598
222509
 
222599
222510
 
222600
222511
  var nodes;
222601
222512
 
222602
- if (jsonData && hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
222603
- nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222513
+ if (jsonData) {
222514
+ if (hoeditorfactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
222515
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222516
+ } else {
222517
+ var jsonObject = JSON.parse(jsonData);
222518
+
222519
+ if (jsonObject.length == 1 && jsonObject[0].nodeType === "ntTable" && parentNode instanceof CellNode/* CellNode */.D) {
222520
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctJSON, jsonData);
222521
+ } else {
222522
+ if (htmlData) {
222523
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctHTML, htmlData);
222524
+ } else {
222525
+ nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctText, textData);
222526
+ }
222527
+ }
222528
+ }
222604
222529
  } else if (htmlData) {
222605
- //console.log(htmlData);
222606
222530
  nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctHTML, htmlData);
222607
222531
  } else {
222608
222532
  nodes = hoeditorfactory.structureNode.Parse(ClipboardType.ctText, textData);
222609
222533
  }
222610
222534
 
222535
+ if (nodes.length === 1 && nodes[0] instanceof TableNode/* TableNode */.Fh && parentNode instanceof CellNode/* CellNode */.D) {
222536
+ var tableNode = nodes[0];
222537
+
222538
+ var _parentNode$table$get = parentNode.table.getCellInfos(parentNode),
222539
+ _parentNode$table$get2 = (0,slicedToArray/* default */.Z)(_parentNode$table$get, 2),
222540
+ rs = _parentNode$table$get2[0],
222541
+ cs = _parentNode$table$get2[1];
222542
+
222543
+ var endRow = 0;
222544
+ var endCol = 0;
222545
+
222546
+ if (hoeditorfactory.docTree.curDomRange.isEmpty) {
222547
+ var re = parentNode.table.rowCount - 1;
222548
+ var ce = parentNode.table.colCount - 1;
222549
+ endRow = re - rs + 1 >= tableNode.rowCount ? tableNode.rowCount : re - rs + 1;
222550
+ endCol = ce - cs + 1 >= tableNode.colCount ? tableNode.colCount : ce - cs + 1;
222551
+ } else {
222552
+ var curDomRange = hoeditorfactory.docTree.curDomRange.normalize();
222553
+ var rowscols = TableNode/* TableNode.getSelectTableRowColInfos */.Fh.getSelectTableRowColInfos(this._hoEditorFactoryID, curDomRange);
222554
+ endRow = rowscols[3] - rowscols[1] + 1 >= tableNode.rowCount ? tableNode.rowCount : rowscols[3] - rowscols[1] + 1;
222555
+ endCol = rowscols[4] - rowscols[2] + 1 >= tableNode.colCount ? tableNode.colCount : rowscols[4] - rowscols[2] + 1;
222556
+ }
222557
+
222558
+ for (var i = 0; i < endRow; i++) {
222559
+ for (var j = 0; j < endCol; j++) {
222560
+ var fromCell = tableNode.rows[i][j];
222561
+ var toCell = parentNode.table.rows[rs + i][cs + j];
222562
+
222563
+ if (fromCell && toCell) {
222564
+ // const [fr, fc] = fromCell.table.getCellInfos(fromCell);
222565
+ // const [tr, tc] = toCell.table.getCellInfos(toCell);
222566
+ // console.log("fr,fc:", fr, fc);
222567
+ // console.log("tr,tc:", tr, tc);
222568
+ var sCellText = fromCell.getCellText();
222569
+ toCell.setCellText(sCellText, true);
222570
+ }
222571
+ }
222572
+ }
222573
+
222574
+ return;
222575
+ }
222576
+
222611
222577
  if (!hoeditorfactory.pasteBase) {
222612
222578
  for (var n = 0; n < nodes.length; n++) {
222613
222579
  var node = nodes[n];
@@ -227610,9 +227576,9 @@ var QrCode_component = normalizeComponent(
227610
227576
  ;// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
227611
227577
 
227612
227578
  /* harmony default export */ var qrCode = (QrCode);
227613
- ;// 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&
227614
- 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)])}
227615
- var TextDialogvue_type_template_id_52be23a2_staticRenderFns = []
227579
+ ;// 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&
227580
+ 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)])}
227581
+ var TextDialogvue_type_template_id_016d4c86_staticRenderFns = []
227616
227582
 
227617
227583
 
227618
227584
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
@@ -227903,8 +227869,8 @@ TextDialog = __decorate([vue_class_component_esm({
227903
227869
 
227904
227870
  var TextDialog_component = normalizeComponent(
227905
227871
  textDialog_TextDialogvue_type_script_lang_ts_,
227906
- TextDialogvue_type_template_id_52be23a2_render,
227907
- TextDialogvue_type_template_id_52be23a2_staticRenderFns,
227872
+ TextDialogvue_type_template_id_016d4c86_render,
227873
+ TextDialogvue_type_template_id_016d4c86_staticRenderFns,
227908
227874
  false,
227909
227875
  null,
227910
227876
  null,
@@ -229339,9 +229305,9 @@ var DataSource_component = normalizeComponent(
229339
229305
  ;// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
229340
229306
 
229341
229307
  /* harmony default export */ var controls_dataSource = (DataSource);
229342
- ;// 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&
229343
- 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)])}
229344
- var ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns = []
229308
+ ;// 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&
229309
+ 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)])}
229310
+ var ListSourcevue_type_template_id_21da5e25_scoped_true_staticRenderFns = []
229345
229311
 
229346
229312
 
229347
229313
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
@@ -229602,10 +229568,10 @@ ListSource = __decorate([vue_class_component_esm({
229602
229568
  /* harmony default export */ var ListSourcevue_type_script_lang_ts_ = (ListSource);
229603
229569
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
229604
229570
  /* harmony default export */ var listsource_ListSourcevue_type_script_lang_ts_ = (ListSourcevue_type_script_lang_ts_);
229605
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
229571
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=21da5e25&lang=scss&scoped=true&
229606
229572
  // extracted by mini-css-extract-plugin
229607
229573
 
229608
- ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
229574
+ ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=21da5e25&lang=scss&scoped=true&
229609
229575
 
229610
229576
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue
229611
229577
 
@@ -229618,11 +229584,11 @@ ListSource = __decorate([vue_class_component_esm({
229618
229584
 
229619
229585
  var ListSource_component = normalizeComponent(
229620
229586
  listsource_ListSourcevue_type_script_lang_ts_,
229621
- ListSourcevue_type_template_id_08d9ce14_scoped_true_render,
229622
- ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns,
229587
+ ListSourcevue_type_template_id_21da5e25_scoped_true_render,
229588
+ ListSourcevue_type_template_id_21da5e25_scoped_true_staticRenderFns,
229623
229589
  false,
229624
229590
  null,
229625
- "08d9ce14",
229591
+ "21da5e25",
229626
229592
  null
229627
229593
 
229628
229594
  )
@@ -232919,9 +232885,9 @@ var ControlModal_component = normalizeComponent(
232919
232885
  )
232920
232886
 
232921
232887
  /* harmony default export */ var ControlModal = (ControlModal_component.exports);
232922
- ;// 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/findReplace/FindReplace.vue?vue&type=template&id=15d96f32&
232923
- var FindReplacevue_type_template_id_15d96f32_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"findModal",class:_vm.animationClassNames,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"},[_c('span',{staticClass:"label"},[_vm._v("查找内容")]),_c('el-input',{attrs:{"type":"text","size":"mini"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.toFind.apply(null, arguments)}},model:{value:(_vm.findContent),callback:function ($$v) {_vm.findContent=$$v},expression:"findContent"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"label"},[_c('el-checkbox',{on:{"change":_vm.switchTypes},model:{value:(_vm.switchType),callback:function ($$v) {_vm.switchType=$$v},expression:"switchType"}},[_vm._v("替换内容")])],1),_c('el-input',{attrs:{"disabled":!_vm.switchType,"type":"text","size":"mini"},model:{value:(_vm.replaceCentent),callback:function ($$v) {_vm.replaceCentent=$$v},expression:"replaceCentent"}})],1),_c('li',{staticClass:"control-item"},[_c('el-radio',{attrs:{"label":0},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向下")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向上")]),_c('div',{staticStyle:{"margin-left":"30px"}},[_c('el-checkbox',{model:{value:(_vm.matchCase),callback:function ($$v) {_vm.matchCase=$$v},expression:"matchCase"}},[_vm._v("区分大小写")])],1)],1)])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"disabled":_vm.findContent === '',"size":"mini"},on:{"click":_vm.toFind}},[_vm._v("查找")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplace}},[_vm._v("替换")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplaceAll}},[_vm._v("全部替换")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1)])}
232924
- var FindReplacevue_type_template_id_15d96f32_staticRenderFns = []
232888
+ ;// 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/findReplace/FindReplace.vue?vue&type=template&id=7c30bf52&
232889
+ var FindReplacevue_type_template_id_7c30bf52_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"findModal",class:_vm.animationClassNames,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"},[_c('span',{staticClass:"label"},[_vm._v("查找内容")]),_c('el-input',{attrs:{"type":"text","size":"mini"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.toFind.apply(null, arguments)}},model:{value:(_vm.findContent),callback:function ($$v) {_vm.findContent=$$v},expression:"findContent"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"label"},[_c('el-checkbox',{on:{"change":_vm.switchTypes},model:{value:(_vm.switchType),callback:function ($$v) {_vm.switchType=$$v},expression:"switchType"}},[_vm._v("替换内容")])],1),_c('el-input',{attrs:{"disabled":!_vm.switchType,"type":"text","size":"mini"},model:{value:(_vm.replaceCentent),callback:function ($$v) {_vm.replaceCentent=$$v},expression:"replaceCentent"}})],1),_c('li',{staticClass:"control-item"},[_c('el-radio',{attrs:{"label":0},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向下")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向上")]),_c('div',{staticStyle:{"margin-left":"30px"}},[_c('el-checkbox',{model:{value:(_vm.matchCase),callback:function ($$v) {_vm.matchCase=$$v},expression:"matchCase"}},[_vm._v("区分大小写")])],1)],1)])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"disabled":_vm.findContent === '',"size":"mini"},on:{"click":_vm.toFind}},[_vm._v("查找")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplace}},[_vm._v("替换")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplaceAll}},[_vm._v("全部替换")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1)])}
232890
+ var FindReplacevue_type_template_id_7c30bf52_staticRenderFns = []
232925
232891
 
232926
232892
 
232927
232893
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/findReplace/FindReplace.vue?vue&type=script&lang=js&
@@ -232967,7 +232933,7 @@ var FindReplacevue_type_template_id_15d96f32_staticRenderFns = []
232967
232933
  /* harmony default export */ var FindReplacevue_type_script_lang_js_ = ({
232968
232934
  name: 'FindReplaceDialog',
232969
232935
  mixins: [AppendToBodyMixins],
232970
- Inject: ['setControlFindType'],
232936
+ inject: ['setControlFindType'],
232971
232937
  props: {
232972
232938
  hoEditorFactoryId: {
232973
232939
  type: String,
@@ -233062,8 +233028,8 @@ var FindReplacevue_type_template_id_15d96f32_staticRenderFns = []
233062
233028
 
233063
233029
  var FindReplace_component = normalizeComponent(
233064
233030
  findReplace_FindReplacevue_type_script_lang_js_,
233065
- FindReplacevue_type_template_id_15d96f32_render,
233066
- FindReplacevue_type_template_id_15d96f32_staticRenderFns,
233031
+ FindReplacevue_type_template_id_7c30bf52_render,
233032
+ FindReplacevue_type_template_id_7c30bf52_staticRenderFns,
233067
233033
  false,
233068
233034
  null,
233069
233035
  null,