hoeditor-web 2.0.62 → 2.0.65

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.
@@ -11678,6 +11678,8 @@ var Print = /*#__PURE__*/function () {
11678
11678
 
11679
11679
  PDF === null || PDF === void 0 ? void 0 : PDF.addPage();
11680
11680
  ctx = PDF === null || PDF === void 0 ? void 0 : PDF.context2d;
11681
+ ctx.posX = svg2pdfOptions.x;
11682
+ ctx.posY = svg2pdfOptions.y;
11681
11683
  window.printBlack = hoEditorFactory.printBlack;
11682
11684
 
11683
11685
  if (hoEditorFactory.isFixedPrintToA4 == '2' && format) {
@@ -11686,11 +11688,11 @@ var Print = /*#__PURE__*/function () {
11686
11688
  ctx.translate(0, 1122 / 2); // 由于旋转是默认以左上角为中心 所以需要先移动位置 改变起始点
11687
11689
 
11688
11690
  ctx.rotate(270 * Math.PI / 180); // 旋转 context2d
11691
+ // ctx.posX = 0;
11692
+ // ctx.posY = 1122 / 2;
11689
11693
  }
11690
11694
  }
11691
11695
 
11692
- ctx.posX = svg2pdfOptions.x;
11693
- ctx.posY = svg2pdfOptions.y;
11694
11696
  ctx && ((_cpage$drawDomLevel = cpage.drawDomLevel) === null || _cpage$drawDomLevel === void 0 ? void 0 : (_cpage$drawDomLevel$s = _cpage$drawDomLevel.stage) === null || _cpage$drawDomLevel$s === void 0 ? void 0 : _cpage$drawDomLevel$s.draw(ctx));
11695
11697
  ctx = null;
11696
11698
  _context3.next = 57;
@@ -11822,7 +11824,7 @@ var Print = /*#__PURE__*/function () {
11822
11824
  return link.remove();
11823
11825
  }, 100);
11824
11826
  } else {
11825
- if (height <= 560 && hoEditorFactory.isFixedPrintToA4 !== '2') {
11827
+ if (height <= 560 && hoEditorFactory.isFixedPrintToA4 === '') {
11826
11828
  PDF === null || PDF === void 0 ? void 0 : PDF.deletePage(1);
11827
11829
  }
11828
11830
 
@@ -22251,7 +22253,7 @@ var CellProperty = /*#__PURE__*/function () {
22251
22253
  /*
22252
22254
  * @Author: your name
22253
22255
  * @Date: 2021-01-20 10:18:55
22254
- * @LastEditTime: 2022-05-20 18:56:55
22256
+ * @LastEditTime: 2022-07-08 13:55:38
22255
22257
  * @LastEditors: liyanan 2441631434@qq.com
22256
22258
  * @Description: In User Settings Edit
22257
22259
  * @FilePath: \hoeditor-web\src\editor\dom\domNode\Comment.ts
@@ -27281,7 +27283,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27281
27283
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(83964);
27282
27284
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46455);
27283
27285
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(42015);
27284
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(16296);
27286
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(16296);
27285
27287
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
27286
27288
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
27287
27289
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41539);
@@ -27294,16 +27296,25 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27294
27296
  /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__);
27295
27297
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40561);
27296
27298
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__);
27297
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(38862);
27298
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10__);
27299
- /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(19459);
27300
- /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27356);
27301
- /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(62938);
27302
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(35657);
27303
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(28831);
27304
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(71080);
27305
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(92178);
27306
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(99964);
27299
+ /* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27852);
27300
+ /* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10__);
27301
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74916);
27302
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__);
27303
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23123);
27304
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__);
27305
+ /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38862);
27306
+ /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__);
27307
+ /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(19459);
27308
+ /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(27356);
27309
+ /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(62938);
27310
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(35657);
27311
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(28831);
27312
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(71080);
27313
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(92178);
27314
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(99964);
27315
+
27316
+
27317
+
27307
27318
 
27308
27319
 
27309
27320
 
@@ -27352,7 +27363,7 @@ var BandDataSource = /*#__PURE__*/function () {
27352
27363
  this.execState = ""; //执行状态
27353
27364
  }
27354
27365
 
27355
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(BandDataSource, [{
27366
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(BandDataSource, [{
27356
27367
  key: "DataSourceEnabled",
27357
27368
  get: function get() {
27358
27369
  return this.dataSourceEnabled;
@@ -27441,7 +27452,7 @@ var DownListNodeInstance = /*#__PURE__*/function () {
27441
27452
  this.allowMultiSelect = false;
27442
27453
  }
27443
27454
 
27444
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNodeInstance, [{
27455
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNodeInstance, [{
27445
27456
  key: "Id",
27446
27457
  get: function get() {
27447
27458
  return this.id;
@@ -27577,7 +27588,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27577
27588
  // this._id = valuesObj["id"];
27578
27589
  // }
27579
27590
 
27580
- _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27591
+ _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27581
27592
  // this._name = valuesObj["name"];
27582
27593
  // }
27583
27594
  // if (valuesObj["title"] !== undefined) {
@@ -27650,7 +27661,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27650
27661
  _this.setValuesObject(valuesObject);
27651
27662
 
27652
27663
  if (!_this.dataId) {
27653
- _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27664
+ _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27654
27665
  }
27655
27666
 
27656
27667
  if (_this._text === "") {
@@ -27671,7 +27682,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27671
27682
  return _this;
27672
27683
  }
27673
27684
 
27674
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNode, [{
27685
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNode, [{
27675
27686
  key: "setValuesObject",
27676
27687
  value: function setValuesObject(valuesObject) {
27677
27688
  var valuesObj = eval("(" + valuesObject + ")");
@@ -27808,12 +27819,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27808
27819
  }, {
27809
27820
  key: "setDownListText",
27810
27821
  value: function setDownListText(text) {
27811
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27822
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27812
27823
  var sPath = hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf());
27813
27824
  var ePath = hoEditorFactory.docTree.getNodeLastPath(this);
27814
- var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__/* .NodeChangeEvent */ .G(this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_16__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, sPath, ePath);
27825
+ var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__/* .NodeChangeEvent */ .G(this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_19__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, sPath, ePath);
27815
27826
  changeEvent.oldEndPath = ePath;
27816
- changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27827
+ changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27817
27828
  this._text = text;
27818
27829
 
27819
27830
  if (this._text === "") {
@@ -27835,7 +27846,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27835
27846
  value: function node2DrawNodeRange(startIndex, endIndex) {
27836
27847
  // const cbStyle = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.styles[this._styleIndex === -1 ? 0 : this._styleIndex]
27837
27848
  // .combineStyle;
27838
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27849
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27839
27850
  var textStyle = hoEditorFactory.docTree.styles[this._styleIndex];
27840
27851
  var cbStyle;
27841
27852
 
@@ -27852,7 +27863,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27852
27863
  }
27853
27864
 
27854
27865
  var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
27855
- var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27866
+ var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27856
27867
 
27857
27868
  this._drawNodes.push(dNode);
27858
27869
  }
@@ -27880,10 +27891,10 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27880
27891
  return dline;
27881
27892
  }
27882
27893
 
27883
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27894
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27884
27895
  var isDisPlay = true;
27885
27896
 
27886
- if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__/* .PaintState.psPrint */ .Dh.psPrint) {
27897
+ if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psPrint */ .Dh.psPrint) {
27887
27898
  isDisPlay = false;
27888
27899
  }
27889
27900
 
@@ -27901,7 +27912,50 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27901
27912
  var color = hoEditorFactory.option.getColorByLevel(120);
27902
27913
 
27903
27914
  if (this.keyValue !== "") {
27904
- color = hoEditorFactory.option.getColorByLevel(12);
27915
+ if (hoEditorFactory.isSameColorWithEmptyVlaue) {
27916
+ var isDefault = false;
27917
+
27918
+ if (this._allowMultiSelect) {
27919
+ var defaultValues = "";
27920
+
27921
+ for (var _i = 0; _i < this.downListContent.length; _i++) {
27922
+ var item1 = this.downListContent[_i];
27923
+
27924
+ if (item1.default) {
27925
+ defaultValues += item1.id + ",";
27926
+ }
27927
+ }
27928
+
27929
+ if (defaultValues.endsWith(',')) {
27930
+ defaultValues = defaultValues.substring(0, defaultValues.length - 1);
27931
+ }
27932
+
27933
+ var keyValue = this.keyValue;
27934
+
27935
+ if (keyValue.endsWith(',')) {
27936
+ keyValue = keyValue.substring(0, keyValue.length - 1);
27937
+ }
27938
+
27939
+ if (defaultValues === keyValue) {
27940
+ isDefault = true;
27941
+ }
27942
+ } else {
27943
+ for (var j = 0; j < this.downListContent.length; j++) {
27944
+ var item2 = this.downListContent[j];
27945
+
27946
+ if (item2.id === this.keyValue.split(',')[0] && item2.default) {
27947
+ isDefault = true;
27948
+ break;
27949
+ }
27950
+ }
27951
+ }
27952
+
27953
+ if (!isDefault) {
27954
+ color = hoEditorFactory.option.getColorByLevel(12);
27955
+ }
27956
+ } else {
27957
+ color = hoEditorFactory.option.getColorByLevel(12);
27958
+ }
27905
27959
  }
27906
27960
 
27907
27961
  var backColor = new createjs.Shape();
@@ -27913,9 +27967,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27913
27967
  if (this.keyValue === "") {
27914
27968
  drawNode.alpha = 0;
27915
27969
  } else {
27916
- for (var _i = drawNode.children.length - 1; _i >= 0; _i--) {
27917
- if (drawNode.children[_i].name === "backColor") {
27918
- drawNode.children.splice(_i, 1);
27970
+ for (var _i2 = drawNode.children.length - 1; _i2 >= 0; _i2--) {
27971
+ if (drawNode.children[_i2].name === "backColor") {
27972
+ drawNode.children.splice(_i2, 1);
27919
27973
  }
27920
27974
  }
27921
27975
  }
@@ -27933,9 +27987,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27933
27987
  var downLists = {
27934
27988
  item: this.downListContent
27935
27989
  };
27936
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27990
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27937
27991
  var retObj = {
27938
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl],
27992
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
27939
27993
  type: "ctDownList",
27940
27994
  //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DL") : this.id,
27941
27995
  id: this.id,
@@ -27983,7 +28037,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27983
28037
  this.transType(json);
27984
28038
 
27985
28039
  if (isPaste) {
27986
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
28040
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
27987
28041
 
27988
28042
  if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
27989
28043
  //json.id = hoEditorFactory.gernerateCode.generateID("DL");
@@ -27995,7 +28049,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27995
28049
  json.isReadOnly = !json.isReadOnly ? false : json.isReadOnly;
27996
28050
  json.mutexSelect = !json.mutexSelect ? false : json.mutexSelect;
27997
28051
  json.allowMultiSelect = !json.allowMultiSelect ? false : json.allowMultiSelect;
27998
- json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType */ .C[json.type]);
28052
+ json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType */ .C[json.type]);
27999
28053
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
28000
28054
  json.readType = json.readType ? Number(json.readType) : -1;
28001
28055
  var downListContent = [];
@@ -28004,12 +28058,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
28004
28058
  downListContent.push(json.downLists.item[i]);
28005
28059
  }
28006
28060
 
28007
- return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28061
+ return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28008
28062
  }
28009
28063
  }]);
28010
28064
 
28011
28065
  return DownListNode;
28012
- }(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlNode */ .w);
28066
+ }(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlNode */ .w);
28013
28067
 
28014
28068
  /***/ }),
28015
28069
 
@@ -44505,15 +44559,24 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44505
44559
  }
44506
44560
  }, {
44507
44561
  key: "removeComment",
44508
- value: function removeComment(comment) {
44509
- for (var i = this.children.length - 1; i >= 0; i--) {
44510
- var child = this.children[i];
44562
+ value: function removeComment(comment, isRecord) {
44563
+ if (isRecord) {
44564
+ for (var i = this.children.length - 1; i >= 0; i--) {
44565
+ var child = this.children[i];
44511
44566
 
44512
- if (child.name === comment.id) {
44513
- this.children.splice(i, 1);
44567
+ if (child.name && child.name === "record" + comment.id) {
44568
+ this.children.splice(i, 1);
44569
+ }
44514
44570
  }
44515
- } //this.stage.update();
44571
+ } else {
44572
+ for (var _i = this.children.length - 1; _i >= 0; _i--) {
44573
+ var _child = this.children[_i];
44516
44574
 
44575
+ if (_child.name && _child.name === comment.id) {
44576
+ this.children.splice(_i, 1);
44577
+ }
44578
+ }
44579
+ }
44517
44580
 
44518
44581
  _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawPageTree.updateDrawPage(this.index);
44519
44582
  }
@@ -44625,12 +44688,12 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44625
44688
  var minValue = getStagePos(bottomComments[0])[1];
44626
44689
  var _tempComment = bottomComments[0];
44627
44690
 
44628
- for (var _i = 1; _i < bottomComments.length; _i++) {
44629
- var _stageY2 = getStagePos(bottomComments[_i])[1];
44691
+ for (var _i2 = 1; _i2 < bottomComments.length; _i2++) {
44692
+ var _stageY2 = getStagePos(bottomComments[_i2])[1];
44630
44693
 
44631
44694
  if (_stageY2 < minValue) {
44632
44695
  minValue = _stageY2;
44633
- _tempComment = bottomComments[_i];
44696
+ _tempComment = bottomComments[_i2];
44634
44697
  }
44635
44698
  }
44636
44699
 
@@ -44731,12 +44794,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44731
44794
  var container = new createjs.Container();
44732
44795
  container.x = docWidth + 15;
44733
44796
  container.y = commentY - comment.lineHeight / 2;
44734
- container.name = comment.id;
44797
+ container.name = "record" + comment.id;
44735
44798
  var commentTextShape = null; // 批注内容
44736
44799
 
44737
44800
  var commentArr = comment.commentTextWarp(commentWidth, comment.text);
44738
- var text = commentArr[0];
44739
- var textLen = commentArr[1] > 1 ? commentArr[1] - 1 : commentArr[1];
44801
+ var text = commentArr[0]; //const textLen = (commentArr[1] as number) > 1 ? (commentArr[1] as number) - 1 : (commentArr[1] as number);
44802
+
44803
+ var textLen = commentArr[1];
44740
44804
  comment.lineHeight = 20 * textLen + 10;
44741
44805
  commentTextShape = new createjs.Text(text, "12px 微软雅黑", "#666");
44742
44806
  commentTextShape.lineWidth = commentWidth - 25;
@@ -44755,12 +44819,12 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44755
44819
 
44756
44820
  var horizontalLine = new createjs.Shape();
44757
44821
  horizontalLine.graphics.setStrokeDash([4, 1], 0).setStrokeStyle(1).beginStroke("rgba(255, 0, 0, 1)").moveTo(nodeX, nodeY).lineTo(docWidth, nodeY);
44758
- horizontalLine.name = comment.id;
44822
+ horizontalLine.name = "record" + comment.id;
44759
44823
  horizontalLine.alpha = 1; //指向线
44760
44824
 
44761
44825
  var guideLine = new createjs.Shape();
44762
44826
  guideLine.graphics.setStrokeDash([4, 1], 0).setStrokeStyle(1).beginStroke("rgba(255, 0, 0, 1)").moveTo(docWidth, nodeY).lineTo(docWidth + 15, commentY - comment.lineHeight / 4);
44763
- guideLine.name = comment.id;
44827
+ guideLine.name = "record" + comment.id;
44764
44828
  guideLine.alpha = 1;
44765
44829
  container.addChild(backShape);
44766
44830
  container.addChild(commentTextShape);
@@ -44774,13 +44838,14 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44774
44838
  value: function repaintRecored(comments, comment, nPath, spX, spY) {
44775
44839
  var _this5 = this;
44776
44840
 
44841
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
44777
44842
  var topComments = new Array();
44778
44843
  var bottomComments = new Array();
44779
44844
  var tempArr = new Array();
44780
44845
 
44781
44846
  var getStagePos = function getStagePos(comment) {
44782
44847
  var endDrawNode = comment.eNode.drawNodes[0];
44783
- var dline = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this5._hoEditorFactoryID).drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
44848
+ var dline = hoEditorFactory.drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
44784
44849
 
44785
44850
  var stagePos = dline.localToGlobal(endDrawNode.x, endDrawNode.y); // 末尾标记节点的stage坐标
44786
44851
 
@@ -44793,7 +44858,11 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44793
44858
  var commentY = spY;
44794
44859
  comments.forEach(function (value) {
44795
44860
  if (value.id !== comment.id) {
44796
- tempArr.push(value);
44861
+ var area = hoEditorFactory.drawPageTree.getMainRootArea(value.eNode.drawNodes[0]);
44862
+
44863
+ if (area && area.index == _this5.index) {
44864
+ tempArr.push(value);
44865
+ }
44797
44866
  }
44798
44867
  });
44799
44868
  tempArr.forEach(function (value) {
@@ -44852,7 +44921,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44852
44921
  commentY = nodeY;
44853
44922
  }
44854
44923
 
44855
- _this5.removeComment(commentObj);
44924
+ _this5.removeComment(commentObj, true);
44856
44925
 
44857
44926
  _this5.drawEditRecords(commentObj, nodeX, nodeY, commentY);
44858
44927
 
@@ -44876,12 +44945,12 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44876
44945
  var minValue = getStagePos(bottomComments[0])[1];
44877
44946
  var _tempComment3 = bottomComments[0];
44878
44947
 
44879
- for (var _i2 = 1; _i2 < bottomComments.length; _i2++) {
44880
- var _stageY4 = getStagePos(bottomComments[_i2])[1];
44948
+ for (var _i3 = 1; _i3 < bottomComments.length; _i3++) {
44949
+ var _stageY4 = getStagePos(bottomComments[_i3])[1];
44881
44950
 
44882
44951
  if (_stageY4 < minValue) {
44883
44952
  minValue = _stageY4;
44884
- _tempComment3 = bottomComments[_i2];
44953
+ _tempComment3 = bottomComments[_i3];
44885
44954
  }
44886
44955
  }
44887
44956
 
@@ -46230,7 +46299,14 @@ var DrawCombineNode = /*#__PURE__*/function (_DrawContainer) {
46230
46299
  _this2.on('mouseout', function (e) {
46231
46300
  hoEditorFactory.nodeMouseMove.setNode(_this2.node, _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_6__/* .DmouseEventType.detOut */ .p.detOut);
46232
46301
  });
46233
- }
46302
+ } // if(this.node && this.node.drawNodes && this.node.drawNodes[0]) {
46303
+ // const paragraphNode = hoEditorFactory.drawTree.getDrawLineByDNode(this._node.drawNodes[0])?.paragraphNode;
46304
+ // const customProperty = paragraphNode && paragraphNode.customProperty;
46305
+ // if(['男', '女'].includes(customProperty.sex) || (customProperty.age && customProperty.age.select == '隐藏')) {
46306
+ // console.log({...paragraphNode.customProperty})
46307
+ // }
46308
+ // }
46309
+
46234
46310
 
46235
46311
  _this2.on('click', function (e) {
46236
46312
  if (e.nativeEvent.button === 0) {
@@ -51284,9 +51360,9 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51284
51360
  _this = _super.call(this, hoeditfactoryID, rootPath, node, 0);
51285
51361
  _this._number = 0;
51286
51362
  _this._type = 0;
51287
- _this._signName = "";
51288
- _this._imgSrc = "";
51289
- _this._fingerPrintSrc = "";
51363
+ _this._signName = '';
51364
+ _this._imgSrc = '';
51365
+ _this._fingerPrintSrc = '';
51290
51366
  _this._fingerPosition = 0;
51291
51367
  _this._number = number;
51292
51368
  _this._imgSrc = imgSrc;
@@ -51300,7 +51376,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51300
51376
  _this._textStyle = cbStyle.getStyleKey();
51301
51377
 
51302
51378
  if (_this.number > 0 && type === 2) {
51303
- var signArr = imgSrc.split("\n");
51379
+ var signArr = imgSrc.split('\n');
51304
51380
 
51305
51381
  if (signArr.length > 1) {
51306
51382
  _this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight * signArr.length; // const textStyle = new TextStyle(hoeditfactoryID);
@@ -51319,10 +51395,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51319
51395
  } //this._drawText = new DrawSimpleText('/', cbStyle.getStyleKey(), "#000000");
51320
51396
 
51321
51397
 
51322
- _this._drawText = new createjs.Text(node.connectMode, _this._textStyle, "#000000");
51398
+ _this._drawText = new createjs.Text(node.connectMode, _this._textStyle, '#000000');
51323
51399
 
51324
51400
  if (_this.number === 0) {
51325
- var dText = new createjs.Text(_this.signName, _this._textStyle, "#000000");
51401
+ var dText = new createjs.Text(_this.signName, _this._textStyle, '#000000');
51326
51402
  _this.dWidth = dText.getMeasuredWidth();
51327
51403
  } else {
51328
51404
  if (type === 1) {
@@ -51336,14 +51412,14 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51336
51412
  }
51337
51413
 
51338
51414
  if (type === 2) {
51339
- var _signArr = imgSrc.split("\n");
51415
+ var _signArr = imgSrc.split('\n');
51340
51416
 
51341
- var aText = new createjs.Text(_signArr[0], _this._textStyle, "#000000");
51417
+ var aText = new createjs.Text(_signArr[0], _this._textStyle, '#000000');
51342
51418
  var maxWidth = aText.getMeasuredWidth();
51343
51419
 
51344
51420
  if (_signArr.length > 1) {
51345
51421
  for (var i = 1; i < _signArr.length; i++) {
51346
- aText = new createjs.Text(_signArr[i], _this._textStyle, "#000000");
51422
+ aText = new createjs.Text(_signArr[i], _this._textStyle, '#000000');
51347
51423
  var aWidth = aText.getMeasuredWidth();
51348
51424
 
51349
51425
  if (aWidth > maxWidth) {
@@ -51358,7 +51434,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51358
51434
  _this.dWidth = maxWidth;
51359
51435
  } else {
51360
51436
  //this.dWidth = dText.getMeasuredWidth() + this._drawText.getMeasuredWidth();
51361
- if (node.connectMode === "换行") {
51437
+ if (node.connectMode === '换行') {
51362
51438
  _this.dWidth = maxWidth;
51363
51439
  } else {
51364
51440
  _this.dWidth = maxWidth + _this._drawText.getMeasuredWidth();
@@ -51367,7 +51443,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51367
51443
  }
51368
51444
  }
51369
51445
 
51370
- if (imgWidth == 0 && imgHeight == 0 && imgSrc && type == 1 || type == 3) {
51446
+ if (imgWidth == 0 && imgHeight == 0 && (imgSrc || fingerPrintSrc) && type == 1 || type == 3) {
51371
51447
  _this.drawWriteSignNode(node);
51372
51448
  } else {
51373
51449
  _this.drawSignNode();
@@ -51453,108 +51529,139 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51453
51529
 
51454
51530
  this.clear();
51455
51531
  var drawNode = this;
51456
- var isFront = node.isFront;
51457
51532
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
51458
51533
 
51459
51534
  var drawSign = function drawSign() {
51460
51535
  if (_this2.type === 1 || _this2.type === 3) {
51461
- var image = new Image();
51462
- image.src = _this2.imgSrc;
51463
51536
  var currentLineHeight = hoEditorFactory.drawTree.caret.height;
51464
- var bitmap = new createjs.Bitmap(image);
51465
- bitmap.y = 0;
51466
- bitmap.x = 0;
51467
-
51468
- if (node.imgWidth) {
51469
- _this2._dWidth = node.imgWidth;
51470
- }
51471
-
51472
- drawNode.addChildAt(bitmap, 0);
51473
- var fingerImage = new Image();
51474
- var fingerBitmap;
51475
-
51476
- if (drawNode.fingerPrintSrc !== "") {
51537
+ node.type = 3;
51538
+
51539
+ if (_this2.imgSrc == '' && _this2.fingerPrintSrc) {
51540
+ var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51541
+ var fingerWidth = 256;
51542
+ _this2._dWidth = fingerWidth * fingerscale;
51543
+ node.imgWidth = _this2._dWidth;
51544
+ var fingerImage = new Image();
51545
+ var fingerBitmap;
51477
51546
  fingerImage.src = _this2.fingerPrintSrc;
51478
51547
  fingerBitmap = new createjs.Bitmap(fingerImage);
51479
- drawNode.addChildAt(fingerBitmap, 1);
51548
+ drawNode.addChildAt(fingerBitmap, 0);
51480
51549
  hoEditorFactory.loadImageCount++;
51481
51550
 
51482
51551
  fingerImage.onerror = function () {
51483
51552
  return hoEditorFactory.loadImageCount--;
51484
51553
  };
51485
- }
51486
51554
 
51487
- hoEditorFactory.loadImageCount++;
51555
+ fingerImage.onload = function () {
51556
+ var fingerHeight = fingerImage.naturalHeight !== 0 ? fingerImage.naturalHeight : fingerImage.height;
51557
+ fingerBitmap.y = -fingerHeight * fingerscale;
51558
+ fingerBitmap.x = 0;
51559
+ node.imgHeight = fingerHeight * fingerscale;
51560
+ _this2._dHeight = node.imgHeight;
51561
+ node.type = 3;
51562
+ fingerBitmap.setTransform(fingerBitmap.x, fingerBitmap.y, fingerscale, fingerscale);
51563
+ updateSign();
51564
+ };
51565
+ } else {
51566
+ var image = new Image();
51567
+ image.src = _this2.imgSrc;
51568
+ var bitmap = new createjs.Bitmap(image);
51569
+ bitmap.y = 0;
51570
+ bitmap.x = 0;
51488
51571
 
51489
- image.onerror = function () {
51490
- return hoEditorFactory.loadImageCount--;
51491
- };
51572
+ if (node.imgWidth) {
51573
+ _this2._dWidth = node.imgWidth;
51574
+ }
51492
51575
 
51493
- image.onload = function () {
51494
- var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
51495
- var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
51496
- var scale = hoEditorFactory.signHeight / hitHeight < 0.4 ? 0.4 : hoEditorFactory.signHeight / hitHeight > 0.7 ? 1 : hoEditorFactory.signHeight / hitHeight;
51497
-
51498
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center && hoEditorFactory.signHeight / hitHeight < 0.2) {
51499
- scale = hoEditorFactory.signHeight * 1.5 / hitHeight;
51500
- }
51501
-
51502
- _this2._dWidth = hitWidth * scale;
51503
-
51504
- if (drawNode.fingerPrintSrc !== "") {
51505
- fingerImage.onload = function () {
51506
- var fingerWidth = 256;
51507
- var fingerHeight = fingerImage.naturalHeight !== 0 ? fingerImage.naturalHeight : fingerImage.height;
51508
- var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51509
- fingerBitmap.scaleX = fingerscale;
51510
- fingerBitmap.scaleY = fingerscale;
51511
- fingerBitmap.y = -fingerHeight * fingerscale;
51512
- bitmap.y = -hitHeight * scale;
51513
-
51514
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.left */ .d.left) {
51515
- bitmap.x = fingerWidth * fingerscale + 5;
51516
- fingerBitmap.x = 0;
51517
- _this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
51518
- node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
51519
- _this2._dHeight = node.imgHeight;
51520
- } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51521
- fingerBitmap.x = (hitWidth * scale - fingerWidth * fingerscale) / 2;
51522
- fingerBitmap.y = -(fingerHeight * fingerscale + currentLineHeight) / 2;
51523
- bitmap.y = -(hitHeight * scale + currentLineHeight) / 2;
51524
- node.imgHeight = hoEditorFactory.signHeight;
51525
- } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.right */ .d.right) {
51526
- fingerBitmap.x = hitWidth * scale + 5;
51527
- _this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
51528
- node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
51529
- _this2._dHeight = node.imgHeight;
51530
- }
51576
+ drawNode.addChildAt(bitmap, 0);
51531
51577
 
51532
- node.imgWidth = _this2._dWidth;
51533
- node.type = 3;
51578
+ var _fingerImage = new Image();
51534
51579
 
51535
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51536
- _this2._dWidth = 0;
51537
- _this2._dHeight = 0;
51538
- }
51580
+ var _fingerBitmap;
51539
51581
 
51540
- bitmap.setTransform(bitmap.x, bitmap.y, scale, scale);
51541
- fingerBitmap.setTransform(fingerBitmap.x, fingerBitmap.y, fingerscale, fingerscale);
51542
- var hitArea = new createjs.Shape();
51543
- hitArea.graphics.beginFill("#000").drawRect(fingerBitmap.x, 0, fingerWidth * fingerscale, fingerHeight * fingerscale); //这里是图片大小
51582
+ if (drawNode.fingerPrintSrc !== '') {
51583
+ _fingerImage.src = _this2.fingerPrintSrc;
51584
+ _fingerBitmap = new createjs.Bitmap(_fingerImage);
51585
+ drawNode.addChildAt(_fingerBitmap, 1);
51586
+ hoEditorFactory.loadImageCount++;
51544
51587
 
51545
- bitmap.hitArea = hitArea;
51546
- fingerBitmap.hitArea = hitArea;
51547
- updateSign();
51588
+ _fingerImage.onerror = function () {
51589
+ return hoEditorFactory.loadImageCount--;
51548
51590
  };
51549
- } else {
51550
- _this2._dWidth = hitWidth * scale;
51551
- node.imgWidth = _this2._dWidth;
51552
- node.imgHeight = hoEditorFactory.signHeight;
51553
- node.type = 3;
51554
- bitmap.setTransform(0, -(hitHeight * scale + currentLineHeight) / 2, scale, scale);
51555
- updateSign();
51556
51591
  }
51557
- };
51592
+
51593
+ hoEditorFactory.loadImageCount++;
51594
+
51595
+ image.onerror = function () {
51596
+ return hoEditorFactory.loadImageCount--;
51597
+ };
51598
+
51599
+ image.onload = function () {
51600
+ var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
51601
+ var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
51602
+ var scale = hoEditorFactory.signHeight / hitHeight < 0.4 ? 0.4 : hoEditorFactory.signHeight / hitHeight > 0.7 ? 1 : hoEditorFactory.signHeight / hitHeight;
51603
+
51604
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center && hoEditorFactory.signHeight / hitHeight < 0.2) {
51605
+ scale = hoEditorFactory.signHeight * 1.5 / hitHeight;
51606
+ }
51607
+
51608
+ _this2._dWidth = hitWidth * scale;
51609
+
51610
+ if (drawNode.fingerPrintSrc !== '') {
51611
+ _fingerImage.onload = function () {
51612
+ var fingerWidth = 256;
51613
+ var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
51614
+ var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51615
+ _fingerBitmap.scaleX = fingerscale;
51616
+ _fingerBitmap.scaleY = fingerscale;
51617
+ _fingerBitmap.y = -fingerHeight * fingerscale;
51618
+ bitmap.y = -hitHeight * scale;
51619
+
51620
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.left */ .d.left) {
51621
+ bitmap.x = fingerWidth * fingerscale + 5;
51622
+ _fingerBitmap.x = 0;
51623
+ _this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
51624
+ node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
51625
+ _this2._dHeight = node.imgHeight;
51626
+ } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51627
+ _fingerBitmap.x = (hitWidth * scale - fingerWidth * fingerscale) / 2;
51628
+ _fingerBitmap.y = -(fingerHeight * fingerscale + currentLineHeight) / 2;
51629
+ bitmap.y = -(hitHeight * scale + currentLineHeight) / 2;
51630
+ node.imgHeight = hoEditorFactory.signHeight;
51631
+ } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.right */ .d.right) {
51632
+ _fingerBitmap.x = hitWidth * scale + 5;
51633
+ _this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
51634
+ node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
51635
+ _this2._dHeight = node.imgHeight;
51636
+ }
51637
+
51638
+ node.imgWidth = _this2._dWidth;
51639
+
51640
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51641
+ _this2._dWidth = 0;
51642
+ _this2._dHeight = 0;
51643
+ }
51644
+
51645
+ bitmap.setTransform(bitmap.x, bitmap.y, scale, scale);
51646
+
51647
+ _fingerBitmap.setTransform(_fingerBitmap.x, _fingerBitmap.y, fingerscale, fingerscale);
51648
+
51649
+ var hitArea = new createjs.Shape();
51650
+ hitArea.graphics.beginFill('#000000').drawRect(_fingerBitmap.x, 0, fingerWidth * fingerscale, fingerHeight * fingerscale); //这里是图片大小
51651
+
51652
+ bitmap.hitArea = hitArea;
51653
+ _fingerBitmap.hitArea = hitArea;
51654
+ updateSign();
51655
+ };
51656
+ } else {
51657
+ _this2._dWidth = hitWidth * scale;
51658
+ node.imgWidth = _this2._dWidth;
51659
+ node.imgHeight = hoEditorFactory.signHeight;
51660
+ bitmap.setTransform(0, -(hitHeight * scale + currentLineHeight) / 2, scale, scale);
51661
+ updateSign();
51662
+ }
51663
+ };
51664
+ }
51558
51665
  }
51559
51666
  };
51560
51667
 
@@ -51573,12 +51680,14 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51573
51680
  } // hoEditorFactory.drawTree.updateDrawTreeFirstLine();
51574
51681
 
51575
51682
 
51576
- hoEditorFactory.drawTree.rebuildArea("main", false);
51683
+ hoEditorFactory.drawTree.rebuildArea('main', false);
51577
51684
  }
51578
51685
 
51579
- hoEditorFactory.loadImageCount--;
51686
+ if (drawNode.imgSrc) {
51687
+ hoEditorFactory.loadImageCount--;
51688
+ }
51580
51689
 
51581
- if (drawNode.fingerPrintSrc !== "") {
51690
+ if (drawNode.fingerPrintSrc) {
51582
51691
  hoEditorFactory.loadImageCount--;
51583
51692
  }
51584
51693
  };
@@ -51627,19 +51736,19 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51627
51736
 
51628
51737
  bitmap.setTransform(0, -hoEditorFactory.signHeight, width / hitWidth, drawNode.dHeight / hitHeight);
51629
51738
  var hitArea = new createjs.Shape();
51630
- hitArea.graphics.beginFill("#000").drawRect(0, 0, drawNode.dWidth, drawNode.dHeight); //这里是图片大小
51739
+ hitArea.graphics.beginFill('#000').drawRect(0, 0, drawNode.dWidth, drawNode.dHeight); //这里是图片大小
51631
51740
 
51632
51741
  bitmap.hitArea = hitArea;
51633
51742
 
51634
- if (_this3.imgSrc.indexOf("data:image/") != -1 && _this3.imgSrc.indexOf("data:image/png") == -1) {
51635
- var canvas = document.createElement("canvas");
51743
+ if (_this3.imgSrc.indexOf('data:image/') != -1 && _this3.imgSrc.indexOf('data:image/png') == -1) {
51744
+ var canvas = document.createElement('canvas');
51636
51745
  canvas.width = image.naturalWidth;
51637
51746
  canvas.height = image.naturalHeight;
51638
- var ctx = canvas.getContext("2d");
51639
- ctx.fillStyle = "#FFFFFF";
51747
+ var ctx = canvas.getContext('2d');
51748
+ ctx.fillStyle = '#FFFFFF';
51640
51749
  ctx.fillRect(0, 0, image.naturalWidth, image.naturalHeight);
51641
51750
  ctx.drawImage(image, 0, 0, image.naturalWidth, image.naturalHeight);
51642
- _this3.node.imgSrc = canvas.toDataURL("image/png");
51751
+ _this3.node.imgSrc = canvas.toDataURL('image/png');
51643
51752
  _this3.node.PNGToJPG = 1;
51644
51753
  }
51645
51754
 
@@ -51666,18 +51775,18 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51666
51775
  return hoEditorFactory.loadImageCount--;
51667
51776
  };
51668
51777
  } else {
51669
- var signArr = _this3.imgSrc.split("\n");
51778
+ var signArr = _this3.imgSrc.split('\n');
51670
51779
 
51671
51780
  if (signArr.length === 1) {
51672
- var drawText2 = new createjs.Text(_this3.imgSrc, _this3.textStyle, "#000000");
51673
- drawText2.textBaseline = "alphabetic";
51674
- drawText2.textAlign = "left";
51781
+ var drawText2 = new createjs.Text(_this3.imgSrc, _this3.textStyle, '#000000');
51782
+ drawText2.textBaseline = 'alphabetic';
51783
+ drawText2.textAlign = 'left';
51675
51784
  var rect = drawText2.getBounds();
51676
51785
 
51677
51786
  if (rect) {
51678
51787
  drawText2.y = _this3.y;
51679
51788
 
51680
- if (_this3.number === 1 || isFront && _this3.number > 1 || _this3.node.connectMode === "换行") {
51789
+ if (_this3.number === 1 || isFront && _this3.number > 1 || _this3.node.connectMode === '换行') {
51681
51790
  drawText2.x = 0;
51682
51791
  } else {
51683
51792
  drawText2.x = _this3._drawText.getMeasuredWidth();
@@ -51687,16 +51796,16 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51687
51796
  _this3.addChild(drawText2);
51688
51797
  } else {
51689
51798
  for (var i = 0; i < signArr.length; i++) {
51690
- var aText = new createjs.Text(signArr[i], _this3.textStyle, "#000000");
51691
- aText.textBaseline = "alphabetic";
51692
- aText.textAlign = "left";
51799
+ var aText = new createjs.Text(signArr[i], _this3.textStyle, '#000000');
51800
+ aText.textBaseline = 'alphabetic';
51801
+ aText.textAlign = 'left';
51693
51802
 
51694
51803
  var _rect = aText.getBounds();
51695
51804
 
51696
51805
  if (_rect) {
51697
51806
  aText.y = _this3.dHeight / signArr.length * (i + 1) - _this3.dHeight; //aText.y = -this.dHeight / (i + 1);
51698
51807
 
51699
- if (_this3.number === 1 || isFront && _this3.number > 1 || _this3.node.connectMode === "换行") {
51808
+ if (_this3.number === 1 || isFront && _this3.number > 1 || _this3.node.connectMode === '换行') {
51700
51809
  aText.x = 0;
51701
51810
  } else {
51702
51811
  aText.x = _this3._drawText.getMeasuredWidth();
@@ -51710,9 +51819,9 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51710
51819
  };
51711
51820
 
51712
51821
  if (this.number === 0) {
51713
- var drawText1 = new createjs.Text(this.signName, this.textStyle, "#838586");
51714
- drawText1.textBaseline = "alphabetic";
51715
- drawText1.textAlign = "left";
51822
+ var drawText1 = new createjs.Text(this.signName, this.textStyle, '#838586');
51823
+ drawText1.textBaseline = 'alphabetic';
51824
+ drawText1.textAlign = 'left';
51716
51825
  var rect = drawText1.getBounds();
51717
51826
 
51718
51827
  if (rect) {
@@ -51740,37 +51849,37 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51740
51849
  var connectMode = this.node.connectMode;
51741
51850
  var line = new createjs.Shape();
51742
51851
 
51743
- if (connectMode === "/") {
51852
+ if (connectMode === '/') {
51744
51853
  if (this.type === 1) {
51745
51854
  if (isFront) {
51746
- line.graphics.beginStroke("#000000").moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 0).lineTo(this.dWidth, -this.dHeight);
51855
+ line.graphics.beginStroke('#000000').moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 0).lineTo(this.dWidth, -this.dHeight);
51747
51856
  } else {
51748
- line.graphics.beginStroke("#000000").moveTo(0, 0).lineTo(this._drawText.getMeasuredWidth(), -this.dHeight);
51857
+ line.graphics.beginStroke('#000000').moveTo(0, 0).lineTo(this._drawText.getMeasuredWidth(), -this.dHeight);
51749
51858
  }
51750
51859
  } else {
51751
- var signArr = this.imgSrc.split("\n");
51752
- var theHeight = new createjs.Text(this.imgSrc, this.textStyle, "#000000").getMeasuredHeight();
51860
+ var signArr = this.imgSrc.split('\n');
51861
+ var theHeight = new createjs.Text(this.imgSrc, this.textStyle, '#000000').getMeasuredHeight();
51753
51862
 
51754
51863
  if (signArr.length > 1) {
51755
51864
  for (var i = 1; i < signArr.length; i++) {
51756
- var aText = new createjs.Text(signArr[i], this.textStyle, "#000000");
51865
+ var aText = new createjs.Text(signArr[i], this.textStyle, '#000000');
51757
51866
  theHeight = theHeight + aText.getMeasuredHeight();
51758
51867
  }
51759
51868
  }
51760
51869
 
51761
51870
  if (isFront) {
51762
- line.graphics.beginStroke("#000000").moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 2).lineTo(this.dWidth, -theHeight - 2);
51871
+ line.graphics.beginStroke('#000000').moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 2).lineTo(this.dWidth, -theHeight - 2);
51763
51872
  } else {
51764
- line.graphics.beginStroke("#000000").moveTo(0, 2).lineTo(this._drawText.getMeasuredWidth(), -theHeight - 2);
51873
+ line.graphics.beginStroke('#000000').moveTo(0, 2).lineTo(this._drawText.getMeasuredWidth(), -theHeight - 2);
51765
51874
  }
51766
51875
  }
51767
51876
 
51768
51877
  this.addChildAt(line);
51769
- } else if (connectMode === "换行") {
51878
+ } else if (connectMode === '换行') {
51770
51879
  return;
51771
51880
  } else {
51772
- this._drawText.textBaseline = "alphabetic";
51773
- this._drawText.textAlign = "left";
51881
+ this._drawText.textBaseline = 'alphabetic';
51882
+ this._drawText.textAlign = 'left';
51774
51883
 
51775
51884
  var rect = this._drawText.getBounds();
51776
51885
 
@@ -54786,6 +54895,11 @@ var Caret = /*#__PURE__*/function () {
54786
54895
  this.div_cursor.style.height = Math.max(val, 12) * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY + "px"; // this.updateCaret();
54787
54896
  }
54788
54897
  }
54898
+ }, {
54899
+ key: "X",
54900
+ get: function get() {
54901
+ return this.x;
54902
+ }
54789
54903
  }, {
54790
54904
  key: "Y",
54791
54905
  get: function get() {
@@ -62489,7 +62603,7 @@ var NodeStyleUndoUnit = /*#__PURE__*/function () {
62489
62603
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(60199);
62490
62604
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91347);
62491
62605
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(42015);
62492
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(16296);
62606
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(16296);
62493
62607
  /* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66992);
62494
62608
  /* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
62495
62609
  /* harmony import */ var core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(51532);
@@ -62504,28 +62618,34 @@ var NodeStyleUndoUnit = /*#__PURE__*/function () {
62504
62618
  /* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_10__);
62505
62619
  /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(21703);
62506
62620
  /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_11__);
62507
- /* harmony import */ var _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(71080);
62508
- /* harmony import */ var _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(27564);
62509
- /* harmony import */ var _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(35657);
62510
- /* harmony import */ var _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(27356);
62511
- /* harmony import */ var _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(75438);
62512
- /* harmony import */ var _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26608);
62513
- /* harmony import */ var _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(40713);
62514
- /* harmony import */ var _UndoService__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(19633);
62515
- /* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(69802);
62516
- /* harmony import */ var _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(92730);
62517
- /* harmony import */ var _events_Exception__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(8696);
62518
- /* harmony import */ var _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(13880);
62519
- /* harmony import */ var _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(69088);
62520
- /* harmony import */ var _draw_SelectRange__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(62938);
62521
- /* harmony import */ var _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(59530);
62522
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(28831);
62523
- /* harmony import */ var _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(99964);
62524
- /* harmony import */ var _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(89104);
62525
- /* harmony import */ var _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(40253);
62526
- /* harmony import */ var _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(76771);
62527
- /* harmony import */ var _NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(11438);
62528
- /* harmony import */ var _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(78975);
62621
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(26699);
62622
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_12__);
62623
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(32023);
62624
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_13__);
62625
+ /* harmony import */ var _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(71080);
62626
+ /* harmony import */ var _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(27564);
62627
+ /* harmony import */ var _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(35657);
62628
+ /* harmony import */ var _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(27356);
62629
+ /* harmony import */ var _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(75438);
62630
+ /* harmony import */ var _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(26608);
62631
+ /* harmony import */ var _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(40713);
62632
+ /* harmony import */ var _UndoService__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(19633);
62633
+ /* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(69802);
62634
+ /* harmony import */ var _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(92730);
62635
+ /* harmony import */ var _events_Exception__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(8696);
62636
+ /* harmony import */ var _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(13880);
62637
+ /* harmony import */ var _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(69088);
62638
+ /* harmony import */ var _draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(62938);
62639
+ /* harmony import */ var _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(59530);
62640
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(28831);
62641
+ /* harmony import */ var _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(99964);
62642
+ /* harmony import */ var _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(89104);
62643
+ /* harmony import */ var _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(40253);
62644
+ /* harmony import */ var _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(76771);
62645
+ /* harmony import */ var _NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(11438);
62646
+ /* harmony import */ var _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(78975);
62647
+
62648
+
62529
62649
 
62530
62650
 
62531
62651
 
@@ -62584,10 +62704,10 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62584
62704
  this._startPath = startPath;
62585
62705
  this._endPath = endPath;
62586
62706
  this._isForceDelete = isForceDelete;
62587
- this._undo = new _UndoService__WEBPACK_IMPORTED_MODULE_19__/* .UndoService */ .O(this._hoEditorFactoryID); //hoEditorFactory.undoService;
62707
+ this._undo = new _UndoService__WEBPACK_IMPORTED_MODULE_21__/* .UndoService */ .O(this._hoEditorFactoryID); //hoEditorFactory.undoService;
62588
62708
 
62589
62709
  this._undoNodes = new Map();
62590
- var aDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(hoEditorFactoryID, startPath, endPath).normalize();
62710
+ var aDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(hoEditorFactoryID, startPath, endPath).normalize();
62591
62711
 
62592
62712
  var _aDomRange$inSameTabl = aDomRange.inSameTable(),
62593
62713
  _aDomRange$inSameTabl2 = (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_aDomRange$inSameTabl, 2),
@@ -62596,10 +62716,10 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62596
62716
 
62597
62717
  this._bSameTable = bSametable;
62598
62718
  this._opTime = new Date();
62599
- this._affectText = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).vueController.getRangeText(aDomRange);
62719
+ this._affectText = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).vueController.getRangeText(aDomRange);
62600
62720
  }
62601
62721
 
62602
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .Z)(NodesDeleteUndoUnit, [{
62722
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_36__/* ["default"] */ .Z)(NodesDeleteUndoUnit, [{
62603
62723
  key: "undo",
62604
62724
  value: function undo() {
62605
62725
  //2.插入删除的节点
@@ -62611,12 +62731,12 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62611
62731
  var arr = Array.from(this._undoNodes).reverse();
62612
62732
  var i = 0;
62613
62733
  var prevIsTable = false;
62614
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62734
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62615
62735
 
62616
62736
  while (i < arr.length) {
62617
62737
  var value = arr[i];
62618
62738
 
62619
- if (value[1] instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_24__/* .CellNode */ .D) {// (value[1] as CellNode).redrawCell(true, DocAction.daInsert);
62739
+ if (value[1] instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_26__/* .CellNode */ .D) {// (value[1] as CellNode).redrawCell(true, DocAction.daInsert);
62620
62740
  } else {
62621
62741
  if (prevIsTable) {
62622
62742
  hoEditorFactory.docTree.insertNodeAfterNode(arr[i - 1][1], arr[i][1]);
@@ -62624,12 +62744,12 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62624
62744
  hoEditorFactory.docTree.insertNodeAfterPath(value[0], value[1]);
62625
62745
  }
62626
62746
 
62627
- if (value[1] instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_26__/* .TableNode */ .Fh) {
62747
+ if (value[1] instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_28__/* .TableNode */ .Fh) {
62628
62748
  prevIsTable = true; // value[1].clearDrawNodes();
62629
62749
  // value[1].drawTable.drawPageTables.length = 0;
62630
62750
 
62631
62751
  var np = hoEditorFactory.docTree.findNodePositionByPath(value[0]);
62632
- if (np && np.node && np.node instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_23__/* .ParagraphNode */ .C) value[1].drawTable.paragraphNode = np.node;
62752
+ if (np && np.node && np.node instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_25__/* .ParagraphNode */ .C) value[1].drawTable.paragraphNode = np.node;
62633
62753
  } else {
62634
62754
  prevIsTable = false;
62635
62755
  }
@@ -62639,7 +62759,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62639
62759
  }
62640
62760
 
62641
62761
  var aendPaht = hoEditorFactory.docTree.getNodeLastPath(arr[arr.length - 1][1]);
62642
- var changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_12__/* .DocAction.daInsert */ .gk.daInsert, arr[0][0], aendPaht);
62762
+ var changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_16__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_14__/* .DocAction.daInsert */ .gk.daInsert, arr[0][0], aendPaht);
62643
62763
  hoEditorFactory.docTree.change(changeEvent); //3.合并拆分节点
62644
62764
 
62645
62765
  while (!this._undo.atBottom()) {
@@ -62667,9 +62787,9 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62667
62787
  //选中范围变化事件
62668
62788
 
62669
62789
 
62670
- var newRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._startPath, this._endPath).normalize();
62790
+ var newRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._startPath, this._endPath).normalize();
62671
62791
  hoEditorFactory.docTree.curDomRange = newRange;
62672
- var cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_18__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, newRange);
62792
+ var cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, newRange);
62673
62793
  hoEditorFactory.docTree.selectChange(cgEvent); //光标定位
62674
62794
 
62675
62795
  hoEditorFactory.drawTree.moveCaretToPath(newRange.endPath);
@@ -62688,7 +62808,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62688
62808
  }, {
62689
62809
  key: "MoveCaret",
62690
62810
  value: function MoveCaret(path) {
62691
- _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.moveCaretToPath(path);
62811
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.moveCaretToPath(path);
62692
62812
  }
62693
62813
  /**
62694
62814
  * @description 返回前面一个node的开始结束选中范围 文本节点时候返回文本中单个文字的选中范围
@@ -62699,30 +62819,30 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62699
62819
  key: "getPrevNodeDomRange",
62700
62820
  value: function getPrevNodeDomRange(Anode) {
62701
62821
  var spath;
62702
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62822
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62703
62823
  var prev = Anode.prevSibling();
62704
62824
 
62705
62825
  if (!prev) {
62706
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62826
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62707
62827
  }
62708
62828
 
62709
62829
  var epath = hoEditorFactory.docTree.getNodeLastPath(prev);
62710
62830
 
62711
- if (prev instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R) {
62831
+ if (prev instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R) {
62712
62832
  spath = prev.prevPath(epath);
62713
- } else if (prev instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_23__/* .ParagraphNode */ .C) {
62833
+ } else if (prev instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_25__/* .ParagraphNode */ .C) {
62714
62834
  spath = epath;
62715
62835
  } else {
62716
62836
  var prev1 = prev.previousLeaf();
62717
62837
 
62718
62838
  if (!prev1) {
62719
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62839
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62720
62840
  }
62721
62841
 
62722
62842
  spath = hoEditorFactory.docTree.getNodeLastPath(prev1);
62723
62843
  }
62724
62844
 
62725
- return new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, spath, epath);
62845
+ return new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, spath, epath);
62726
62846
  }
62727
62847
  /**
62728
62848
  *
@@ -62736,23 +62856,23 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62736
62856
  }, {
62737
62857
  key: "deleteRange",
62738
62858
  value: function deleteRange(endpath, startpath) {
62739
- var currRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, startpath, endpath).normalize(); //拆分更新节点,更新删除范围 this._tmp
62859
+ var currRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, startpath, endpath).normalize(); //拆分更新节点,更新删除范围 this._tmp
62740
62860
 
62741
62861
  if (!this.spliteNode(currRange)) {
62742
62862
  return 0;
62743
62863
  }
62744
62864
 
62745
- var newDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.end);
62746
- if (!newDomRange.npStart.node) throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62747
- if (!newDomRange.npEnd.node) throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62865
+ var newDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.end);
62866
+ if (!newDomRange.npStart.node) throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62867
+ if (!newDomRange.npEnd.node) throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62748
62868
  var aStart = newDomRange.npStart.node;
62749
62869
 
62750
62870
  if (currRange.startMainNode) {
62751
62871
  aStart = currRange.startMainNode;
62752
62872
  }
62753
62873
 
62754
- var nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._tmp.start, this._tmp.end);
62755
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID); // this.DeleteBaseCombineNodeContent(
62874
+ var nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._tmp.start, this._tmp.end);
62875
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID); // this.DeleteBaseCombineNodeContent(
62756
62876
  // newDomRange,
62757
62877
  // newDomRange.npEnd.node,
62758
62878
  // aStart,
@@ -62877,7 +62997,8 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62877
62997
  }, {
62878
62998
  key: "spliteNode",
62879
62999
  value: function spliteNode(Arange) {
62880
- var _this = this;
63000
+ var _this = this,
63001
+ _s$parentNode$downLis;
62881
63002
 
62882
63003
  var s = Arange.npStart.node;
62883
63004
  var e = Arange.npEnd.node;
@@ -62887,10 +63008,10 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62887
63008
  * @param Anode
62888
63009
  */
62889
63010
 
62890
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63011
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62891
63012
 
62892
63013
  var forMarkNode = function forMarkNode(Anode) {
62893
- if (Anode.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re) {
63014
+ if (Anode.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re) {
62894
63015
  var pTINode = Anode.parentNode;
62895
63016
 
62896
63017
  if (pTINode.isEmpty() || !pTINode.canModifyContent) {
@@ -62898,11 +63019,11 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62898
63019
  var tmp = pTINode.previousLeaf();
62899
63020
 
62900
63021
  if (!tmp) {
62901
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63022
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62902
63023
  }
62903
63024
 
62904
63025
  info[0] = 0;
62905
- info[1] = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(_this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeLastPath(tmp), hoEditorFactory.docTree.getNodeLastPath(pTINode));
63026
+ info[1] = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(_this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeLastPath(tmp), hoEditorFactory.docTree.getNodeLastPath(pTINode));
62906
63027
  } else {
62907
63028
  if (Anode == pTINode.last()) {
62908
63029
  //递归调用删除
@@ -62928,18 +63049,20 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62928
63049
  };
62929
63050
 
62930
63051
  if (!(s && e)) {
62931
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63052
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62932
63053
  }
62933
63054
 
62934
63055
  this._tmp.start = Arange.startPath;
62935
- this._tmp.end = Arange.endPath; // if (s instanceof MarkNode && s.parentNode == hoEditorFactory.docTree.getParentNode(Arange.endPath) && Arange.endPath != hoEditorFactory.docTree.getNodeFirstPath(s.nextLeaf() as BaseNode)) {
62936
- // return true;
62937
- // }
63056
+ this._tmp.end = Arange.endPath;
63057
+
63058
+ if (s instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j && s.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && s.parentNode.inputFieldType === 1 && (_s$parentNode$downLis = s.parentNode.downListProperty.listItems) !== null && _s$parentNode$downLis !== void 0 && _s$parentNode$downLis.includes("<元素>")) {
63059
+ return true;
63060
+ }
62938
63061
 
62939
63062
  if (s === e) {
62940
- if (s instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R) {
63063
+ if (s instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R) {
62941
63064
  // HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange = Arange;
62942
- var tmp = new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_17__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.startPath, s, Arange);
63065
+ var tmp = new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_19__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.startPath, s, Arange);
62943
63066
 
62944
63067
  this._undo.begin();
62945
63068
 
@@ -62948,7 +63071,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62948
63071
  this._undo.commit();
62949
63072
 
62950
63073
  this._tmp.end = hoEditorFactory.docTree.getNodeLastPath(tmp.theNode);
62951
- } else if (s instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_21__/* .MarkNode */ .j) {
63074
+ } else if (s instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j) {
62952
63075
  forMarkNode(s);
62953
63076
 
62954
63077
  if (info[0] == 0 && info[1]) {
@@ -62965,8 +63088,8 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62965
63088
  } else {
62966
63089
  var _tmp3 = null;
62967
63090
 
62968
- if (e instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R && Arange.npEnd.childIndex >= 0 && Arange.npEnd.childIndex < e.getLength() - 1) {
62969
- _tmp3 = new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_17__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.endPath, e, Arange);
63091
+ if (e instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R && Arange.npEnd.childIndex >= 0 && Arange.npEnd.childIndex < e.getLength() - 1) {
63092
+ _tmp3 = new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_19__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.endPath, e, Arange);
62970
63093
 
62971
63094
  this._undo.begin();
62972
63095
 
@@ -62975,22 +63098,22 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62975
63098
  this._undo.commit();
62976
63099
  }
62977
63100
 
62978
- if (s instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R && Arange.npStart.childIndex >= 0 && Arange.npStart.childIndex < s.getLength() - 1) {
63101
+ if (s instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R && Arange.npStart.childIndex >= 0 && Arange.npStart.childIndex < s.getLength() - 1) {
62979
63102
  this._undo.begin();
62980
63103
 
62981
- this._undo.add(new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_17__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.startPath, s, Arange));
63104
+ this._undo.add(new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_19__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.startPath, s, Arange));
62982
63105
 
62983
63106
  this._undo.commit();
62984
63107
  }
62985
63108
 
62986
- if (e instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_21__/* .MarkNode */ .j) {
63109
+ if (e instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j) {
62987
63110
  forMarkNode(e);
62988
63111
 
62989
63112
  if (info[0] == 0 && info[1]) {
62990
63113
  this._tmp.end = info[1].endPath; // return this.spliteNode(new DomRange(this._tmp.start, this._tmp.end));
62991
63114
  } else if ((info[0] == 1 || info[0] == 2) && info[1]) {
62992
63115
  this._tmp.end = info[1].endPath;
62993
- return this.spliteNode(new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.end));
63116
+ return this.spliteNode(new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.end));
62994
63117
  }
62995
63118
  }
62996
63119
 
@@ -63006,15 +63129,15 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63006
63129
  }, {
63007
63130
  key: "ParentRepaint",
63008
63131
  value: function ParentRepaint(Anode) {
63009
- if (Anode && Anode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re) {
63010
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63132
+ if (Anode && Anode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re) {
63133
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63011
63134
 
63012
63135
  if (Anode.childNodes.length === 2) {
63013
63136
  var contentMarkNode = Anode.childNodes2[1];
63014
63137
  contentMarkNode.styleIndex = Anode.childNodes[0].styleIndex;
63015
63138
  var insertPath = hoEditorFactory.docTree.getNodeLastPath(Anode.childNodes[0]);
63016
63139
  hoEditorFactory.undoService.begin();
63017
- hoEditorFactory.undoService.add(new _NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_32__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, insertPath, contentMarkNode));
63140
+ hoEditorFactory.undoService.add(new _NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, insertPath, contentMarkNode));
63018
63141
  hoEditorFactory.undoService.commit();
63019
63142
  }
63020
63143
 
@@ -63039,16 +63162,16 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63039
63162
  switch (_context.prev = _context.next) {
63040
63163
  case 0:
63041
63164
  this.initParam();
63042
- currRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._startPath, this._endPath).normalize();
63043
- hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63165
+ currRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._startPath, this._endPath).normalize();
63166
+ hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63044
63167
  hoEditorFactory.docTree.curDomRange = currRange;
63045
63168
 
63046
- if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psReview */ .Dh.psReview)) {
63169
+ if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psReview */ .Dh.psReview)) {
63047
63170
  _context.next = 10;
63048
63171
  break;
63049
63172
  }
63050
63173
 
63051
- if (!(currRange.npEnd.node && currRange.npEnd.node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R)) {
63174
+ if (!(currRange.npEnd.node && currRange.npEnd.node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R)) {
63052
63175
  _context.next = 10;
63053
63176
  break;
63054
63177
  }
@@ -63065,7 +63188,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63065
63188
  return _context.abrupt("return");
63066
63189
 
63067
63190
  case 10:
63068
- nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._startPath, this._endPath); // const npFirst = hoEditorFactory.docTree.findNodePositionByPath(this._startPath);
63191
+ nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._startPath, this._endPath); // const npFirst = hoEditorFactory.docTree.findNodePositionByPath(this._startPath);
63069
63192
  // if (npFirst && npFirst.node) {
63070
63193
  // //const parentNode = hoEditorFactory.docTree.getParentNode(this._startPath);
63071
63194
  // //if (parentNode) {
@@ -63076,8 +63199,8 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63076
63199
  // }
63077
63200
  //if(nodes.length == 0) return;
63078
63201
 
63079
- if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63080
- _context.next = 33;
63202
+ if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63203
+ _context.next = 34;
63081
63204
  break;
63082
63205
  }
63083
63206
 
@@ -63085,13 +63208,13 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63085
63208
 
63086
63209
  case 13:
63087
63210
  if (!(n < nodes.length)) {
63088
- _context.next = 33;
63211
+ _context.next = 34;
63089
63212
  break;
63090
63213
  }
63091
63214
 
63092
63215
  node = nodes[n];
63093
63216
 
63094
- if (!(node instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_21__/* .MarkNode */ .j && node.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re && node.MarkNodeType === 1 && !node.parentNode.isAllowDelete)) {
63217
+ 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)) {
63095
63218
  _context.next = 18;
63096
63219
  break;
63097
63220
  }
@@ -63101,31 +63224,35 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63101
63224
  return _context.abrupt("return", 0);
63102
63225
 
63103
63226
  case 18:
63104
- if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_28__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re)) {
63105
- _context.next = 27;
63227
+ 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) {
63228
+ hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
63229
+ }
63230
+
63231
+ if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
63232
+ _context.next = 28;
63106
63233
  break;
63107
63234
  }
63108
63235
 
63109
63236
  if (node.isAllowDelete) {
63110
- _context.next = 27;
63237
+ _context.next = 28;
63111
63238
  break;
63112
63239
  }
63113
63240
 
63114
63241
  tip = "";
63115
63242
 
63116
- if (node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_29__/* .RadioAndCheckBoxNode */ .Yh && node.controlStyle === "RadioBox") {
63243
+ if (node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_31__/* .RadioAndCheckBoxNode */ .Yh && node.controlStyle === "RadioBox") {
63117
63244
  tip = "单选框";
63118
63245
  }
63119
63246
 
63120
- if (node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_29__/* .RadioAndCheckBoxNode */ .Yh && node.controlStyle === "CheckBox") {
63247
+ if (node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_31__/* .RadioAndCheckBoxNode */ .Yh && node.controlStyle === "CheckBox") {
63121
63248
  tip = "复选框";
63122
63249
  }
63123
63250
 
63124
- if (node instanceof _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_30__/* .DateTimeNode */ .Z) {
63251
+ if (node instanceof _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_32__/* .DateTimeNode */ .Z) {
63125
63252
  tip = "日期时间";
63126
63253
  }
63127
63254
 
63128
- if (node instanceof _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_31__/* .DownListNode */ .yF) {
63255
+ if (node instanceof _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_33__/* .DownListNode */ .yF) {
63129
63256
  tip = "下拉列表";
63130
63257
  }
63131
63258
 
@@ -63133,9 +63260,9 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63133
63260
 
63134
63261
  return _context.abrupt("return", 0);
63135
63262
 
63136
- case 27:
63137
- if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63138
- _context.next = 30;
63263
+ case 28:
63264
+ if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63265
+ _context.next = 31;
63139
63266
  break;
63140
63267
  }
63141
63268
 
@@ -63143,16 +63270,16 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63143
63270
 
63144
63271
  return _context.abrupt("return", 0);
63145
63272
 
63146
- case 30:
63273
+ case 31:
63147
63274
  n++;
63148
63275
  _context.next = 13;
63149
63276
  break;
63150
63277
 
63151
- case 33:
63278
+ case 34:
63152
63279
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
63153
63280
 
63154
- if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63155
- _context.next = 39;
63281
+ if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63282
+ _context.next = 40;
63156
63283
  break;
63157
63284
  }
63158
63285
 
@@ -63165,24 +63292,24 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63165
63292
  });
63166
63293
 
63167
63294
  if (_res[0]) {
63168
- _context.next = 39;
63295
+ _context.next = 40;
63169
63296
  break;
63170
63297
  }
63171
63298
 
63172
63299
  return _context.abrupt("return");
63173
63300
 
63174
- case 39:
63175
- changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_12__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, currRange.startPath, ""); //FIXME:deleteRange函数完成后调用这个
63301
+ case 40:
63302
+ 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函数完成后调用这个
63176
63303
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
63177
63304
 
63178
63305
  if (currRange.npStart.node && currRange.npEnd.node) {
63179
- _context.next = 42;
63306
+ _context.next = 43;
63180
63307
  break;
63181
63308
  }
63182
63309
 
63183
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63310
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63184
63311
 
63185
- case 42:
63312
+ case 43:
63186
63313
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
63187
63314
  // this._hoEditorFactory,
63188
63315
  // currRange.startPath,
@@ -63191,37 +63318,37 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63191
63318
  startPath = currRange.startPath;
63192
63319
  endPath = currRange.endPath;
63193
63320
  changeEvent.oldEndPath = endPath;
63194
- changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_25__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, endPath);
63321
+ changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, endPath);
63195
63322
  res = this.deleteRange(currRange.endPath, currRange.startPath);
63196
63323
 
63197
63324
  if (!(res == 1)) {
63198
- _context.next = 54;
63325
+ _context.next = 55;
63199
63326
  break;
63200
63327
  }
63201
63328
 
63202
63329
  changeEvent.beforeChangePath = startPath;
63203
63330
  changeEvent.afterChangePath = this._tmp.start;
63204
- _context.next = 52;
63331
+ _context.next = 53;
63205
63332
  return hoEditorFactory.docTree.change(changeEvent);
63206
63333
 
63207
- case 52:
63208
- cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_18__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.start));
63334
+ case 53:
63335
+ 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));
63209
63336
  hoEditorFactory.docTree.selectChange(cgEvent);
63210
63337
 
63211
- case 54:
63338
+ case 55:
63212
63339
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
63213
63340
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
63214
63341
  aNode = currRange.npStart.node;
63215
63342
 
63216
63343
  if (!(aNode && pnode)) {
63217
- _context.next = 60;
63344
+ _context.next = 61;
63218
63345
  break;
63219
63346
  }
63220
63347
 
63221
- _context.next = 60;
63348
+ _context.next = 61;
63222
63349
  return this.ParentRepaint(pnode);
63223
63350
 
63224
- case 60:
63351
+ case 61:
63225
63352
  case "end":
63226
63353
  return _context.stop();
63227
63354
  }
@@ -99502,7 +99629,8 @@ if(element.nodeName==="IMG"&&element.hasAttribute("src")){var src=""+element.get
99502
99629
  if(src.indexOf("data:image/")===0){return atob(unescape(src).split("base64,").pop());}//it is probably an url, try to load it
99503
99630
  var tmpImageData=jsPDFAPI.loadFile(src,true);if(tmpImageData!==undefined){return tmpImageData;}}if(element.nodeName==="CANVAS"){if(element.width===0||element.height===0){throw new Error("Given canvas must have data. Canvas width: "+element.width+", height: "+element.height);}var mimeType;switch(format){case"PNG":mimeType="image/png";break;case"WEBP":mimeType="image/webp";break;case"JPEG":case"JPG":default:mimeType="image/jpeg";break;}return atob(element.toDataURL(mimeType,1.0).split("base64,").pop());}};var checkImagesForAlias=function checkImagesForAlias(alias){var images=this.internal.collections[namespace+"images"];if(images){for(var e in images){if(alias===images[e].alias){return images[e];}}}};var determineWidthAndHeight=function determineWidthAndHeight(width,height,image){if(!width&&!height){width=-96;height=-96;}if(width<0){width=-1*image.width*72/width/this.internal.scaleFactor;}if(height<0){height=-1*image.height*72/height/this.internal.scaleFactor;}if(width===0){width=height*image.width/image.height;}if(height===0){height=width*image.height/image.width;}return[width,height];};var writeImageToPDF=function writeImageToPDF(x,y,width,height,image,rotation){var dims=determineWidthAndHeight.call(this,width,height,image),coord=this.internal.getCoordinateString,vcoord=this.internal.getVerticalCoordinateString;var images=getImages.call(this);width=dims[0];height=dims[1];images[image.index]=image;if(rotation){rotation*=Math.PI/180;var c=Math.cos(rotation);var s=Math.sin(rotation);//like in pdf Reference do it 4 digits instead of 2
99504
99631
  var f4=function f4(number){return number.toFixed(4);};var rotationTransformationMatrix=[f4(c),f4(s),f4(s*-1),f4(c),0,0,"cm"];}this.internal.write("q");//Save graphics state
99505
- if(rotation){this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99632
+ if(rotation){// 自定义修改 修复图片旋转后位置错误问题 水平方向增加自身宽度 减去的 18px 来源未知 垂直方向减去自身高度
99633
+ x+=Number(coord(width));y-=height;console.log(width,height,coord(width),coord(height));this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99506
99634
  this.internal.write(rotationTransformationMatrix.join(" "));//Rotate
99507
99635
  this.internal.write([coord(width),"0","0",coord(height),"0","0","cm"].join(" "));//Scale
99508
99636
  }else{this.internal.write([coord(width),"0","0",coord(height),coord(x),vcoord(y+height),"cm"].join(" "));//Translate and Scale
@@ -99612,7 +99740,7 @@ out+=String.fromCharCode.apply(null,buf.subarray(i,i+ARRAY_APPLY_BATCH));}return
99612
99740
  *
99613
99741
  * @returns jsPDF
99614
99742
  */jsPDFAPI.addImage=function(){// 自定义修改 处理签名图片打印
99615
- var imageData,format,x,y,w,h,alias,compression,rotation,posX,posY;imageData=arguments[0];if(typeof arguments[1]==="number"){format=UNKNOWN;x=arguments[1];y=arguments[2];w=arguments[3];h=arguments[4];alias=arguments[5];compression=arguments[6];rotation=arguments[7];posX=arguments[8];posY=arguments[9];}else{format=arguments[1];x=arguments[2];y=arguments[3];w=arguments[4];h=arguments[5];alias=arguments[6];compression=arguments[7];rotation=arguments[8];posX=arguments[9];posY=arguments[10];}if((0,esm_typeof/* default */.Z)(imageData)==="object"&&!isDOMElement(imageData)&&"imageData"in imageData){var options=imageData;imageData=options.imageData;format=options.format||format||UNKNOWN;x=options.x||x||0;y=options.y||y||0;w=options.w||options.width||w;h=options.h||options.height||h;alias=options.alias||alias;compression=options.compression||compression;rotation=options.rotation||options.angle||rotation;}//If compression is not explicitly set, determine if we should use compression
99743
+ var imageData,format,x,y,w,h,alias,compression,rotation,posX,posY;imageData=arguments[0];if(typeof arguments[1]==="number"){format=UNKNOWN;x=arguments[1];y=arguments[2];w=arguments[3];h=arguments[4];alias=arguments[5];compression=arguments[6];rotation=arguments[7];posX=arguments[8];posY=arguments[9];}else{format=arguments[1];x=arguments[2];y=arguments[3];w=arguments[4];h=arguments[5];alias=arguments[6];compression=arguments[7];rotation=arguments[8];posX=arguments[9];posY=arguments[10];}console.log(rotation);if((0,esm_typeof/* default */.Z)(imageData)==="object"&&!isDOMElement(imageData)&&"imageData"in imageData){var options=imageData;imageData=options.imageData;format=options.format||format||UNKNOWN;x=options.x||x||0;y=options.y||y||0;w=options.w||options.width||w;h=options.h||options.height||h;alias=options.alias||alias;compression=options.compression||compression;rotation=options.rotation||options.angle||rotation;}//If compression is not explicitly set, determine if we should use compression
99616
99744
  var filter=this.internal.getFilters();if(compression===undefined&&filter.indexOf("FlateEncode")!==-1){compression="SLOW";}// 自定义修改 调整 addImage 方法的 compression值压缩图片
99617
99745
  compression='SLOW';if(isNaN(x)||isNaN(y)){throw new Error("Invalid coordinates passed to jsPDF.addImage");}// if(posX) x += posX;
99618
99746
  // if(posY) y += posY;
@@ -100413,7 +100541,8 @@ a=isNaN(a)?1:a;b=isNaN(b)?0:b;c=isNaN(c)?0:c;d=isNaN(d)?1:d;e=isNaN(e)?0:e;f=isN
100413
100541
  * @param height {Number} Optional. The height of the image to use (stretch or reduce the image)
100414
100542
  */Context2D.prototype.drawImage=function(img,sx,sy,swidth,sheight,x,y,width,height){var imageProperties=this.pdf.getImageProperties(img);var factorX=1;var factorY=1;var clipFactorX=1;var clipFactorY=1;if(typeof swidth!=="undefined"&&typeof width!=="undefined"){clipFactorX=width/swidth;clipFactorY=height/sheight;factorX=imageProperties.width/swidth*width/swidth;factorY=imageProperties.height/sheight*height/sheight;}//is sx and sy are set and x and y not, set x and y with values of sx and sy
100415
100543
  if(typeof x==="undefined"){x=sx;y=sy;sx=0;sy=0;}if(typeof swidth!=="undefined"&&typeof width==="undefined"){width=swidth;height=sheight;}if(typeof swidth==="undefined"&&typeof width==="undefined"){width=imageProperties.width;height=imageProperties.height;}var decomposedTransformationMatrix=this.ctx.transform.decompose();// console.log("transform.decompose",decomposedTransformationMatrix.scale);
100416
- var angle=rad2deg(decomposedTransformationMatrix.rotate.shx);var matrix=new Matrix();matrix=matrix.multiply(decomposedTransformationMatrix.translate);matrix=matrix.multiply(decomposedTransformationMatrix.skew);matrix=matrix.multiply(decomposedTransformationMatrix.scale);if(!swidth){swidth=width;}if(!sheight){sheight=height;}var xRect;// 自定义修改 处理签名图片打印和普通图片打印
100544
+ // 自定义修改 修复图片旋转角度错误问题
100545
+ var angle=rad2deg(decomposedTransformationMatrix.rotate.rotation);var matrix=new Matrix();matrix=matrix.multiply(decomposedTransformationMatrix.translate);matrix=matrix.multiply(decomposedTransformationMatrix.skew);matrix=matrix.multiply(decomposedTransformationMatrix.scale);if(!swidth){swidth=width;}if(!sheight){sheight=height;}var xRect;// 自定义修改 处理签名图片打印和普通图片打印
100417
100546
  if(img.nodeName&&img.nodeName=="CANVAS"){xRect=matrix.applyToRectangle(new Rectangle(x+this.posX-sx*clipFactorX,y+this.posY-sy*clipFactorY,swidth*factorX,sheight*factorY));}else{xRect=matrix.applyToRectangle(new Rectangle(x-sx*clipFactorX,y-sy*clipFactorY,swidth*factorX,sheight*factorY));}var pageArray=getPagesByPath.call(this,xRect);var pages=[];for(var ii=0;ii<pageArray.length;ii+=1){if(pages.indexOf(pageArray[ii])===-1){pages.push(pageArray[ii]);}}sortPages(pages);var clipPath;if(this.autoPaging){var min=pages[0];var max=pages[pages.length-1];for(var i=min;i<max+1;i++){this.pdf.setPage(i);var pageWidthMinusMargins=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1];var topMargin=i===1?this.posY+this.margin[0]:this.margin[0];var firstPageHeight=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2];var pageHeightMinusMargins=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var previousPageHeightSum=i===1?0:firstPageHeight+(i-2)*pageHeightMinusMargins;if(this.ctx.clip_path.length!==0){var tmpPaths=this.path;clipPath=JSON.parse(JSON.stringify(this.ctx.clip_path));this.path=pathPositionRedo(clipPath,this.posX+this.margin[3],-previousPageHeightSum+topMargin+this.ctx.prevPageLastElemOffset);drawPaths.call(this,"fill",true);this.path=tmpPaths;}var tmpRect=JSON.parse(JSON.stringify(xRect));tmpRect=pathPositionRedo([tmpRect],this.posX+this.margin[3],-previousPageHeightSum+topMargin+this.ctx.prevPageLastElemOffset)[0];var needsClipping=(i>min||i<max)&&hasMargins.call(this);if(needsClipping){this.pdf.saveGraphicsState();this.pdf.rect(this.margin[3],this.margin[0],pageWidthMinusMargins,pageHeightMinusMargins,null).clip().discardPath();}this.pdf.addImage(img,"JPEG",tmpRect.x,tmpRect.y,tmpRect.w,tmpRect.h,null,null,angle);if(needsClipping){this.pdf.restoreGraphicsState();}}}else{if(img.nodeName&&img.nodeName=="CANVAS"){// 自定义修改
100418
100547
  this.pdf.addImage(img.toDataURL("image/png"),'',xRect.x,xRect.y,xRect.w,xRect.h);}else{// 自定义修改
100419
100548
  this.pdf.addImage(img,"JPEG",xRect.x+this.posX,xRect.y+this.posY,xRect.w,xRect.h,null,null,angle,this.posX,this.posY);}}};var getPagesByPath=function getPagesByPath(path,pageWrapX,pageWrapY){var result=[];pageWrapX=pageWrapX||this.pdf.internal.pageSize.width;pageWrapY=pageWrapY||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var yOffset=this.posY+this.ctx.prevPageLastElemOffset;switch(path.type){default:case"mt":case"lt":result.push(Math.floor((path.y+yOffset)/pageWrapY)+1);break;case"arc":result.push(Math.floor((path.y+yOffset-path.radius)/pageWrapY)+1);result.push(Math.floor((path.y+yOffset+path.radius)/pageWrapY)+1);break;case"qct":var rectOfQuadraticCurve=getQuadraticCurveBoundary(this.ctx.lastPoint.x,this.ctx.lastPoint.y,path.x1,path.y1,path.x,path.y);result.push(Math.floor((rectOfQuadraticCurve.y+yOffset)/pageWrapY)+1);result.push(Math.floor((rectOfQuadraticCurve.y+rectOfQuadraticCurve.h+yOffset)/pageWrapY)+1);break;case"bct":var rectOfBezierCurve=getBezierCurveBoundary(this.ctx.lastPoint.x,this.ctx.lastPoint.y,path.x1,path.y1,path.x2,path.y2,path.x,path.y);result.push(Math.floor((rectOfBezierCurve.y+yOffset)/pageWrapY)+1);result.push(Math.floor((rectOfBezierCurve.y+rectOfBezierCurve.h+yOffset)/pageWrapY)+1);break;case"rect":result.push(Math.floor((path.y+yOffset)/pageWrapY)+1);result.push(Math.floor((path.y+path.h+yOffset)/pageWrapY)+1);}for(var i=0;i<result.length;i+=1){while(this.pdf.internal.getNumberOfPages()<result[i]){addPage.call(this);}}return result;};var addPage=function addPage(){var fillStyle=this.fillStyle;var strokeStyle=this.strokeStyle;var font=this.font;var lineCap=this.lineCap;var lineWidth=this.lineWidth;var lineJoin=this.lineJoin;this.pdf.addPage();this.fillStyle=fillStyle;this.strokeStyle=strokeStyle;this.font=font;this.lineCap=lineCap;this.lineWidth=lineWidth;this.lineJoin=lineJoin;};var pathPositionRedo=function pathPositionRedo(paths,x,y){for(var i=0;i<paths.length;i++){switch(paths[i].type){case"bct":paths[i].x2+=x;paths[i].y2+=y;case"qct":paths[i].x1+=x;paths[i].y1+=y;case"mt":case"lt":case"arc":default:paths[i].x+=x;paths[i].y+=y;}}return paths;};var sortPages=function sortPages(pages){return pages.sort(function(a,b){return a-b;});};var pathPreProcess=function pathPreProcess(rule,isClip){var fillStyle=this.fillStyle;var strokeStyle=this.strokeStyle;var lineCap=this.lineCap;var oldLineWidth=this.lineWidth;var lineWidth=Math.abs(oldLineWidth*this.ctx.transform.scaleX);var lineJoin=this.lineJoin;var origPath=JSON.parse(JSON.stringify(this.path));var xPath=JSON.parse(JSON.stringify(this.path));var clipPath;var tmpPath;var pages=[];for(var i=0;i<xPath.length;i++){if(typeof xPath[i].x!=="undefined"){var page=getPagesByPath.call(this,xPath[i]);for(var ii=0;ii<page.length;ii+=1){if(pages.indexOf(page[ii])===-1){pages.push(page[ii]);}}}}for(var j=0;j<pages.length;j++){while(this.pdf.internal.getNumberOfPages()<pages[j]){addPage.call(this);}}sortPages(pages);if(this.autoPaging){var min=pages[0];var max=pages[pages.length-1];for(var k=min;k<max+1;k++){this.pdf.setPage(k);this.fillStyle=fillStyle;this.strokeStyle=strokeStyle;this.lineCap=lineCap;this.lineWidth=lineWidth;this.lineJoin=lineJoin;var pageWidthMinusMargins=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1];var topMargin=k===1?this.posY+this.margin[0]:this.margin[0];var firstPageHeight=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2];var pageHeightMinusMargins=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var previousPageHeightSum=k===1?0:firstPageHeight+(k-2)*pageHeightMinusMargins;if(this.ctx.clip_path.length!==0){var tmpPaths=this.path;clipPath=JSON.parse(JSON.stringify(this.ctx.clip_path));this.path=pathPositionRedo(clipPath,this.posX+this.margin[3],-previousPageHeightSum+topMargin+this.ctx.prevPageLastElemOffset);drawPaths.call(this,rule,true);this.path=tmpPaths;}tmpPath=JSON.parse(JSON.stringify(origPath));this.path=pathPositionRedo(tmpPath,this.posX+this.margin[3],-previousPageHeightSum+topMargin+this.ctx.prevPageLastElemOffset);if(isClip===false||k===0){var needsClipping=(k>min||k<max)&&hasMargins.call(this);if(needsClipping){this.pdf.saveGraphicsState();this.pdf.rect(this.margin[3],this.margin[0],pageWidthMinusMargins,pageHeightMinusMargins,null).clip().discardPath();}drawPaths.call(this,rule,isClip);if(needsClipping){this.pdf.restoreGraphicsState();}}this.lineWidth=oldLineWidth;}}else{this.lineWidth=lineWidth;drawPaths.call(this,rule,isClip);this.lineWidth=oldLineWidth;}this.path=origPath;};/**
@@ -199113,8 +199242,8 @@ var es_function_name = __webpack_require__(68309);
199113
199242
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
199114
199243
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(77203);
199115
199244
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
199116
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=0aff533a&
199117
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson,"isUseTipText":_vm.isUseTipText,"textStyle":_vm.textStyle},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(_vm.notUseModal)?_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isTableProperty":_vm.isTableProperty,"isListStyle":_vm.isListStyle,"uploadImageParams":_vm.uploadImageParams},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true},{key:"hoParagraphModal",fn:function(){return [_vm._t("hoParagraphField")]},proxy:true},{key:"hoComment",fn:function(){return [_vm._t("hoTextComment")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e(),_c('ViewContinuousXml',{attrs:{"hoEditorFactoryId":_vm.activeDocId}})],1):_vm._e()}
199245
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=77aa5c8d&
199246
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson,"isUseTipText":_vm.isUseTipText,"textStyle":_vm.textStyle},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(_vm.notUseModal)?_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isTableProperty":_vm.isTableProperty,"isListStyle":_vm.isListStyle,"uploadImageParams":_vm.uploadImageParams},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true},{key:"hoParagraphModal",fn:function(){return [_vm._t("hoParagraphField")]},proxy:true},{key:"hoComment",fn:function(){return [_vm._t("hoTextComment")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e()],1):_vm._e()}
199118
199247
  var staticRenderFns = []
199119
199248
 
199120
199249
 
@@ -200039,9 +200168,9 @@ function isPromise(obj) {
200039
200168
  return obj instanceof Promise || (obj && typeof obj.then === 'function');
200040
200169
  }
200041
200170
 
200042
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=4a474bf6&
200043
- var HoDocvue_type_template_id_4a474bf6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos,"textStyle":_vm.textStyle,"aiInfo":_vm.aiInfo},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
200044
- var HoDocvue_type_template_id_4a474bf6_staticRenderFns = []
200171
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=4a9748a4&
200172
+ var HoDocvue_type_template_id_4a9748a4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos,"textStyle":_vm.textStyle,"aiInfo":_vm.aiInfo},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
200173
+ var HoDocvue_type_template_id_4a9748a4_staticRenderFns = []
200045
200174
 
200046
200175
 
200047
200176
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
@@ -201897,11 +202026,11 @@ var HoToPage_component = normalizeComponent(
201897
202026
  /* harmony default export */ var backToPage = (HoToPage);
201898
202027
  // EXTERNAL MODULE: ./src/plugins/util.ts
201899
202028
  var util = __webpack_require__(17987);
201900
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=aa143c0a&scoped=true&
201901
- var PoperSelectvue_type_template_id_aa143c0a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
202029
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=0c390485&scoped=true&
202030
+ var PoperSelectvue_type_template_id_0c390485_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
201902
202031
  var item = ref.item;
201903
202032
  return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
201904
- var PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns = []
202033
+ var PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns = []
201905
202034
 
201906
202035
 
201907
202036
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
@@ -204603,12 +204732,12 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204603
204732
  // } else {
204604
204733
  v.id = String(v.id); // }
204605
204734
 
204606
- v.default = false;
204735
+ v.selected = false;
204607
204736
 
204608
204737
  if (selectedString.length > 0 && selectedString.filter(function (m) {
204609
204738
  return v.id == m;
204610
204739
  }).length === 1) {
204611
- v.default = true;
204740
+ v.selected = true;
204612
204741
 
204613
204742
  if (_this2.isAllowMultiSelect && _this2.poperSelectList.length >= 20) {
204614
204743
  _this2.selectedList[selectedString.indexOf(v.id)] = v;
@@ -204815,7 +204944,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204815
204944
  selectItemIndex = index;
204816
204945
  }
204817
204946
  });
204818
- item.default = false;
204947
+ item.selected = false;
204819
204948
  this.poperSelectList.splice(selectItemIndex, 1, item); // this.selectedList.splice(key, 1, item);
204820
204949
 
204821
204950
  this.currentList = this.currentList.filter(function (m) {
@@ -204841,16 +204970,16 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204841
204970
  if (value.length > 0) {
204842
204971
  this.poperSelectList.forEach(function (v) {
204843
204972
  if (value.includes(v.id)) {
204844
- v.default = true;
204973
+ v.selected = true;
204845
204974
  _this5.mutexType = String(v.type);
204846
204975
  } else {
204847
- v.default = false;
204976
+ v.selected = false;
204848
204977
  }
204849
204978
  });
204850
204979
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204851
204980
  } else if (value.length === 0) {
204852
204981
  this.poperSelectList.forEach(function (v) {
204853
- v.default = false;
204982
+ v.selected = false;
204854
204983
  _this5.mutexType = "";
204855
204984
  });
204856
204985
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
@@ -204869,21 +204998,21 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204869
204998
  var item = {};
204870
204999
  var selectItemIndex = 0;
204871
205000
  this.poperSelectList.forEach(function (v, index) {
204872
- v.default = false;
205001
+ v.selected = false;
204873
205002
 
204874
205003
  if (v.id == value) {
204875
205004
  item = v;
204876
205005
  selectItemIndex = index;
204877
205006
  }
204878
205007
  });
204879
- item.default = !item.default;
205008
+ item.selected = !item.selected;
204880
205009
  this.poperSelectList.splice(selectItemIndex, 1, item);
204881
205010
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204882
205011
  this.sureSelect();
204883
205012
  } else {
204884
205013
  this.poperSelectList.forEach(function (v) {
204885
205014
  if (value.includes(v.id)) {
204886
- v.default = true;
205015
+ v.selected = true;
204887
205016
 
204888
205017
  if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
204889
205018
  return m.id == v.id;
@@ -204891,7 +205020,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204891
205020
  _this6.selectedList.push(v);
204892
205021
  }
204893
205022
  } else {
204894
- v.default = false;
205023
+ v.selected = false;
204895
205024
  if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
204896
205025
  return m.id != v.id;
204897
205026
  });
@@ -204908,19 +205037,19 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204908
205037
 
204909
205038
  if (!this.isAllowMultiSelect) {
204910
205039
  this.poperSelectList.forEach(function (v) {
204911
- v.default = false;
205040
+ v.selected = false;
204912
205041
  });
204913
- item.default = !item.default;
205042
+ item.selected = !item.selected;
204914
205043
  this.poperSelectList.splice(index, 1, item);
204915
205044
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204916
205045
  this.sureSelect();
204917
205046
  } else {
204918
205047
  this.poperSelectList.forEach(function (v) {
204919
205048
  if (v.id == item.id) {
204920
- v.default = !v.default;
205049
+ v.selected = !v.selected;
204921
205050
  }
204922
205051
 
204923
- if (v.default) {
205052
+ if (v.selected) {
204924
205053
  if (_this7.isCanSearch && _this7.selectedList.filter(function (m) {
204925
205054
  return m.id == v.id;
204926
205055
  }).length == 0) {
@@ -204941,7 +205070,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204941
205070
  key: "cancelSelect",
204942
205071
  value: function cancelSelect() {
204943
205072
  this.poperSelectList.forEach(function (v) {
204944
- v.default = false;
205073
+ v.selected = false;
204945
205074
  });
204946
205075
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204947
205076
  this.selectedList = [];
@@ -204965,7 +205094,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204965
205094
  var keyValue = "";
204966
205095
  var currentPoperNode = this.getCurrentPoperNode();
204967
205096
  var selected = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter(function (v) {
204968
- return v.default;
205097
+ return v.selected;
204969
205098
  });
204970
205099
  var len = selected.length;
204971
205100
 
@@ -205123,10 +205252,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205123
205252
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
205124
205253
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
205125
205254
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
205126
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205255
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205127
205256
  // extracted by mini-css-extract-plugin
205128
205257
 
205129
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205258
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205130
205259
 
205131
205260
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
205132
205261
 
@@ -205139,11 +205268,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205139
205268
 
205140
205269
  var PoperSelect_component = normalizeComponent(
205141
205270
  poperSelect_PoperSelectvue_type_script_lang_ts_,
205142
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_render,
205143
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns,
205271
+ PoperSelectvue_type_template_id_0c390485_scoped_true_render,
205272
+ PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns,
205144
205273
  false,
205145
205274
  null,
205146
- "aa143c0a",
205275
+ "0c390485",
205147
205276
  null
205148
205277
 
205149
205278
  )
@@ -207096,7 +207225,7 @@ var SignNode = __webpack_require__(78975);
207096
207225
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207097
207226
  var ParagraphNode = __webpack_require__(13880);
207098
207227
  ;// CONCATENATED MODULE: ./src/components/version.ts
207099
- /* harmony default export */ var version = ('2.0.62');
207228
+ /* harmony default export */ var version = ('2.0.65');
207100
207229
  ;// 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&
207101
207230
  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)}
207102
207231
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -207637,6 +207766,14 @@ var HoDoc = /*#__PURE__*/function (_Vue) {
207637
207766
 
207638
207767
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorId);
207639
207768
  if (!e.clickType || e.clickType === 'move') return false;
207769
+ var hoParagrapghTipElementNode = document.querySelector('#ho_paragrapgh_tip');
207770
+
207771
+ if (hoParagrapghTipElementNode) {
207772
+ var _hoParagrapghTipEleme;
207773
+
207774
+ (_hoParagrapghTipEleme = hoParagrapghTipElementNode.parentNode) === null || _hoParagrapghTipEleme === void 0 ? void 0 : _hoParagrapghTipEleme.removeChild(hoParagrapghTipElementNode);
207775
+ }
207776
+
207640
207777
  var node = e.node;
207641
207778
  this.poperClose();
207642
207779
 
@@ -208028,8 +208165,8 @@ HoDoc = __decorate([vue_class_component_esm({
208028
208165
 
208029
208166
  var HoDoc_component = normalizeComponent(
208030
208167
  components_HoDocvue_type_script_lang_ts_,
208031
- HoDocvue_type_template_id_4a474bf6_render,
208032
- HoDocvue_type_template_id_4a474bf6_staticRenderFns,
208168
+ HoDocvue_type_template_id_4a9748a4_render,
208169
+ HoDocvue_type_template_id_4a9748a4_staticRenderFns,
208033
208170
  false,
208034
208171
  null,
208035
208172
  null,
@@ -209322,6 +209459,8 @@ var NodeClickEvent = __webpack_require__(17750);
209322
209459
 
209323
209460
 
209324
209461
 
209462
+
209463
+
209325
209464
  var DmouseEventType;
209326
209465
 
209327
209466
  (function (DmouseEventType) {
@@ -209509,6 +209648,8 @@ var NodeMouseMoveEvent = /*#__PURE__*/function () {
209509
209648
  }, {
209510
209649
  key: "NodeClick",
209511
209650
  value: function NodeClick(node, moveType) {
209651
+ var _this = this;
209652
+
209512
209653
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
209513
209654
 
209514
209655
  if (node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh && moveType === DmouseEventType.detClick) {
@@ -209517,6 +209658,44 @@ var NodeMouseMoveEvent = /*#__PURE__*/function () {
209517
209658
  hoEditorFactory.docTree.nodeClick(nodeClickEvent);
209518
209659
  node.drawNodes[0].parent = drawLine;
209519
209660
  }
209661
+
209662
+ if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
209663
+ var paragraphNode = hoEditorFactory.drawTree.getDrawLineByDNode(node.drawNodes[0]).paragraphNode;
209664
+
209665
+ if (paragraphNode && paragraphNode.customProperty) {
209666
+ var customProperty = paragraphNode.customProperty;
209667
+ var paragraphTip = ['男', '女'].includes(customProperty.sex) || customProperty.age && customProperty.age.select == '隐藏';
209668
+ var arr = [];
209669
+
209670
+ if (paragraphTip) {
209671
+ if (['男', '女'].includes(customProperty.sex)) {
209672
+ arr.push("\u60A3\u8005\u4E3A<span style=\"color:#f00\"> ".concat(customProperty.sex, " </span>\u6027\u65F6\uFF0C\u9690\u85CF\u5F53\u524D\u6BB5\u843D"));
209673
+ }
209674
+
209675
+ if (customProperty.age && customProperty.age.select == '隐藏') {
209676
+ arr.push("\u60A3\u8005\u5E74\u9F84\u5728<span style=\"color:#f00\"> ".concat(customProperty.age.minAge, " </span>\u5C81\u5230<span style=\"color:#f00\"> ").concat(customProperty.age.maxAge, " </span>\u4E4B\u95F4\u65F6\uFF0C\u9690\u85CF\u5F53\u524D\u6BB5\u843D"));
209677
+ }
209678
+
209679
+ if (arr.length > 0) {
209680
+ setTimeout(function () {
209681
+ _this.createParagraphTipHTML(hoEditorFactory.drawTree.caret, arr);
209682
+ }, 0);
209683
+ }
209684
+ }
209685
+ }
209686
+ }
209687
+ }
209688
+ }, {
209689
+ key: "createParagraphTipHTML",
209690
+ value: function createParagraphTipHTML(caret, text) {
209691
+ var _caret$cursor$parentN;
209692
+
209693
+ var tipdiv = document.createElement('div');
209694
+ tipdiv.id = "ho_paragrapgh_tip";
209695
+ tipdiv.style.left = caret.X + "px";
209696
+ tipdiv.style.top = caret.Y + caret.height + "px";
209697
+ tipdiv.innerHTML = text.join("<br />");
209698
+ (_caret$cursor$parentN = caret.cursor.parentNode) === null || _caret$cursor$parentN === void 0 ? void 0 : _caret$cursor$parentN.appendChild(tipdiv);
209520
209699
  }
209521
209700
  /**
209522
209701
  * @param node moveNode
@@ -213072,8 +213251,14 @@ var StructureConvert = /*#__PURE__*/function () {
213072
213251
  var insertNode = function insertNode(array, prevNode) {
213073
213252
  var firstNode = array[0];
213074
213253
 
213075
- if (firstNode instanceof ParagraphNode/* ParagraphNode */.C && firstNode.paraNo !== 0 && prevNode instanceof ParagraphNode/* ParagraphNode */.C) {
213076
- prevNode.paraNo = firstNode.paraNo;
213254
+ if (firstNode instanceof ParagraphNode/* ParagraphNode */.C && prevNode instanceof ParagraphNode/* ParagraphNode */.C) {
213255
+ if (firstNode.paraNo !== 0) {
213256
+ prevNode.paraNo = firstNode.paraNo;
213257
+ }
213258
+
213259
+ if (firstNode.customProperty) {
213260
+ prevNode.customProperty = firstNode.customProperty;
213261
+ }
213077
213262
  }
213078
213263
 
213079
213264
  for (var j = 1; j < array.length; j++) {
@@ -220122,7 +220307,7 @@ var VueController = /*#__PURE__*/function () {
220122
220307
 
220123
220308
  if (node instanceof SignNode/* SignNode */.N) {
220124
220309
  if (node.isTemplate) {
220125
- if (node.imgSrc) {
220310
+ if (node.imgSrc || node.fingerPrintSrc) {
220126
220311
  this.deleteNode(node);
220127
220312
  setTimeout(function () {
220128
220313
  var newcurDomRange = hoEditorFactory.docTree.curDomRange.normalize();
@@ -220156,7 +220341,7 @@ var VueController = /*#__PURE__*/function () {
220156
220341
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertSign */.y.insertSign);
220157
220342
 
220158
220343
  if (hoEditorFactory.docTree.changing(changingEvent)) {
220159
- Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 1, "患者签名", "", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220344
+ Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 3, "患者签名", "", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220160
220345
  setTimeout(function () {
220161
220346
  callback && callback();
220162
220347
  }, 0);
@@ -220816,10 +221001,17 @@ var VueController = /*#__PURE__*/function () {
220816
221001
 
220817
221002
  for (var j = 0; j < elements.length; j++) {
220818
221003
  var element = elements[j];
221004
+ var commentID = hoEditorFactory.gernerateCode.generateID("C");
221005
+ var comment = void 0;
220819
221006
 
220820
221007
  if (element instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
220821
- var commentID = hoEditorFactory.gernerateCode.generateID("C");
220822
- var comment = new Comment/* Comment */.s(this._hoEditorFactoryID, commentID, oldValue, element.EndMarkNode);
221008
+ comment = new Comment/* Comment */.s(this._hoEditorFactoryID, commentID, oldValue, element.EndMarkNode);
221009
+ comment.lineHeight = comment.lineHeight - 20;
221010
+ comments.push(comment);
221011
+ }
221012
+
221013
+ if (element instanceof DateTimeNode/* DateTimeNode */.Z || element instanceof DownListNode/* DownListNode */.yF) {
221014
+ comment = new Comment/* Comment */.s(this._hoEditorFactoryID, commentID, oldValue, element);
220823
221015
  comment.lineHeight = comment.lineHeight - 20;
220824
221016
  comments.push(comment);
220825
221017
  }
@@ -220838,9 +221030,13 @@ var VueController = /*#__PURE__*/function () {
220838
221030
 
220839
221031
  var spX = dline.parent instanceof DrawPageCell/* DrawPageCell */.k ? localPos.x : endDrawNode.x;
220840
221032
  var spY = localPos.y;
220841
- drawArea.removeComment(comment);
221033
+ drawArea.removeComment(comment, true);
220842
221034
  var path = comment.eNode.getNodePath();
220843
221035
 
221036
+ if (comment.eNode instanceof DateTimeNode/* DateTimeNode */.Z || comment.eNode instanceof DownListNode/* DownListNode */.yF) {
221037
+ spX = spX + comment.eNode.drawNodes[0].dWidth;
221038
+ }
221039
+
220844
221040
  if (index === 1) {
220845
221041
  drawArea.drawEditRecords(comment, spX, spY, spY);
220846
221042
  }
@@ -220850,6 +221046,26 @@ var VueController = /*#__PURE__*/function () {
220850
221046
  }
220851
221047
  });
220852
221048
  }
221049
+ }, {
221050
+ key: "clearEditRecords",
221051
+ value: function clearEditRecords() {
221052
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221053
+ var drawMainDocs = hoEditorFactory.drawPageTree.drawMainDocs;
221054
+
221055
+ for (var j = drawMainDocs.length - 1; j >= 0; j--) {
221056
+ var children = drawMainDocs[j].children;
221057
+
221058
+ for (var i = children.length - 1; i >= 0; i--) {
221059
+ var child = children[i];
221060
+
221061
+ if (child.name && child.name.indexOf("recordC") >= 0) {
221062
+ children.splice(i, 1);
221063
+ }
221064
+ }
221065
+
221066
+ hoEditorFactory.drawPageTree.updateDrawPage(j);
221067
+ }
221068
+ }
220853
221069
  }, {
220854
221070
  key: "updateImageSrc",
220855
221071
  value: function updateImageSrc(node, src) {
@@ -224542,7 +224758,10 @@ var HOEditorFactory = /*#__PURE__*/function () {
224542
224758
  this._lastSaveTime = new Date(Date.now());
224543
224759
  this._superiorSigns = []; //上级医生签名
224544
224760
 
224545
- this._isEnabledGlobalColor = false;
224761
+ this._isEnabledGlobalColor = false; //是否启用全局颜色
224762
+
224763
+ this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
224764
+
224546
224765
  this._hoEditorFactoryId = id;
224547
224766
  }
224548
224767
  /**
@@ -225250,6 +225469,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
225250
225469
  this._isEnabledGlobalColor = value;
225251
225470
  }
225252
225471
  }
225472
+ }, {
225473
+ key: "isSameColorWithEmptyVlaue",
225474
+ get: function get() {
225475
+ return this._isSameColorWithEmptyVlaue;
225476
+ },
225477
+ set: function set(value) {
225478
+ if (this._isSameColorWithEmptyVlaue !== value) {
225479
+ this._isSameColorWithEmptyVlaue = value;
225480
+ }
225481
+ }
225253
225482
  }, {
225254
225483
  key: "clear",
225255
225484
  value: function clear() {
@@ -225611,9 +225840,9 @@ var ControlModalvue_type_template_id_36fbe7eb_render = function () {var _vm=this
225611
225840
  var ControlModalvue_type_template_id_36fbe7eb_staticRenderFns = []
225612
225841
 
225613
225842
 
225614
- ;// 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/selectDialog/SelectDialog.vue?vue&type=template&id=3b6d4c1e&scoped=true&
225615
- var SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_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('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.allowMultiSelect},model:{value:(_vm.mutexSelect),callback:function ($$v) {_vm.mutexSelect=$$v},expression:"mutexSelect"}},[_vm._v("选项互斥")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"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":"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.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":"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.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.downListContent.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)])}
225616
- var SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns = []
225843
+ ;// 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/selectDialog/SelectDialog.vue?vue&type=template&id=62e16cb5&scoped=true&
225844
+ var SelectDialogvue_type_template_id_62e16cb5_scoped_true_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('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.allowMultiSelect},model:{value:(_vm.mutexSelect),callback:function ($$v) {_vm.mutexSelect=$$v},expression:"mutexSelect"}},[_vm._v("选项互斥")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"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":"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.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":"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.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.downListContent.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)])}
225845
+ var SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns = []
225617
225846
 
225618
225847
 
225619
225848
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
@@ -225705,13 +225934,12 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
225705
225934
  this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v, index) {
225706
225935
  if (v.id === undefined) {
225707
225936
  v.id = _this2.getKeyId(index);
225708
- }
225937
+ } // if(updateNode.keyValue.includes(v.id)) {
225938
+ // v.default = true;
225939
+ // } else {
225940
+ // v.default = false;
225941
+ // }
225709
225942
 
225710
- if (updateNode.keyValue.includes(v.id)) {
225711
- v.default = true;
225712
- } else {
225713
- v.default = false;
225714
- }
225715
225943
 
225716
225944
  return v;
225717
225945
  }));
@@ -225954,10 +226182,10 @@ SelectDialog = __decorate([vue_class_component_esm({
225954
226182
  /* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
225955
226183
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
225956
226184
  /* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
225957
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226185
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
225958
226186
  // extracted by mini-css-extract-plugin
225959
226187
 
225960
- ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226188
+ ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
225961
226189
 
225962
226190
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
225963
226191
 
@@ -225970,11 +226198,11 @@ SelectDialog = __decorate([vue_class_component_esm({
225970
226198
 
225971
226199
  var SelectDialog_component = normalizeComponent(
225972
226200
  selectDialog_SelectDialogvue_type_script_lang_ts_,
225973
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_render,
225974
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns,
226201
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_render,
226202
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns,
225975
226203
  false,
225976
226204
  null,
225977
- "3b6d4c1e",
226205
+ "62e16cb5",
225978
226206
  null
225979
226207
 
225980
226208
  )
@@ -226767,9 +226995,9 @@ var QrCode_component = normalizeComponent(
226767
226995
  ;// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
226768
226996
 
226769
226997
  /* harmony default export */ var qrCode = (QrCode);
226770
- ;// 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=75c07514&
226771
- var TextDialogvue_type_template_id_75c07514_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)])}
226772
- var TextDialogvue_type_template_id_75c07514_staticRenderFns = []
226998
+ ;// 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&
226999
+ 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)])}
227000
+ var TextDialogvue_type_template_id_52be23a2_staticRenderFns = []
226773
227001
 
226774
227002
 
226775
227003
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
@@ -226811,12 +227039,12 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226811
227039
 
226812
227040
  _this = _super.apply(this, arguments);
226813
227041
  _this.textParam = Object.assign({}, textParams);
226814
- _this.textActiveName = "first";
227042
+ _this.textActiveName = 'first';
226815
227043
  _this.isMinLenth = false;
226816
227044
  _this.isMaxLenth = false;
226817
227045
  _this.isMin = false;
226818
227046
  _this.isMax = false;
226819
- _this.animationClassNames = "control-modal-contents text-modal animation-in";
227047
+ _this.animationClassNames = 'control-modal-contents text-modal animation-in';
226820
227048
  _this.customPropertyValue = new Object();
226821
227049
  _this.endPath = '';
226822
227050
  return _this;
@@ -226852,15 +227080,15 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226852
227080
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
226853
227081
  this.endPath = hoEditorFactory.docTree.curDomRange.normalize().endPath;
226854
227082
 
226855
- if (this.controlStatus === "update") {
227083
+ if (this.controlStatus === 'update') {
226856
227084
  var updateNode = this.getTextNode();
226857
227085
  Object.keys(this.textParam).forEach(function (v) {
226858
- var key = v.replace(/_/g, "");
227086
+ var key = v.replace(/_/g, '');
226859
227087
 
226860
227088
  if (Object.prototype.hasOwnProperty.call(_this2.textParam, key)) {
226861
- if (key === "readOnlyStatus") {
227089
+ if (key === 'readOnlyStatus') {
226862
227090
  _this2.textParam.readOnlyStatus = Number(updateNode.readOnlyStatus);
226863
- } else if (key === "customProperty") {
227091
+ } else if (key === 'customProperty') {
226864
227092
  if ((0,type/* isObject */.Kn)(updateNode[key])) {
226865
227093
  _this2.textParam.customProperty = updateNode.customProperty;
226866
227094
  } else {
@@ -226872,7 +227100,7 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226872
227100
  property[key] = _this2.textParam.customProperty[key];
226873
227101
  });
226874
227102
  _this2.customPropertyValue = _objectSpread2({}, property);
226875
- } else if (key === "readType") {
227103
+ } else if (key === 'readType') {
226876
227104
  _this2.textParam.readType = updateNode.readType == 1 ? true : false;
226877
227105
  } else {
226878
227106
  _this2.textParam[key] = updateNode[key];
@@ -226888,8 +227116,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226888
227116
  this.textParam.inputFieldType = 0;
226889
227117
  }
226890
227118
  } else {
226891
- this.textParam.id = this.vueController.generateID("TF");
226892
- this.textParam.downListProperty.splitCharacter = ",";
227119
+ this.textParam.id = this.vueController.generateID('TF');
227120
+ this.textParam.downListProperty.splitCharacter = ',';
226893
227121
  }
226894
227122
  }
226895
227123
  }, {
@@ -226964,6 +227192,13 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226964
227192
  if (v.default) textArr.push(v.text);
226965
227193
  });
226966
227194
  this.textParam.text = textArr.join(',');
227195
+ var value = '';
227196
+ this.getListStyle().forEach(function (v, index) {
227197
+ if (v.default) {
227198
+ value += v.id + ',';
227199
+ }
227200
+ });
227201
+ this.textParam.keyValue = value;
226967
227202
  } else {
226968
227203
  this.textParam.downListProperty = new TextInputFieldNode/* DownListProperty */.OL();
226969
227204
  }
@@ -226971,18 +227206,18 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226971
227206
  this.textParam.bandDataSource = this.dataSource;
226972
227207
 
226973
227208
  if (this.textParam.inputFieldType === 0) {
226974
- this.textParam.name = this.textParam.name ? this.textParam.name : "请输入";
227209
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请输入';
226975
227210
  } else if (this.textParam.inputFieldType === 1) {
226976
- this.textParam.name = this.textParam.name ? this.textParam.name : "请选择";
227211
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请选择';
226977
227212
  }
226978
227213
 
226979
227214
  this.textParam.labelText = this.textParam.name;
226980
227215
  this.textParam.customProperty = _objectSpread2({}, this.customProperty);
226981
227216
  this.textParam.readType ? this.textParam.readType = 1 : this.textParam.readType = 0;
226982
227217
 
226983
- if (this.controlStatus === "add") {
227218
+ if (this.controlStatus === 'add') {
226984
227219
  this.vueController.insertTextInputField(this.controlStatus, this.textParam);
226985
- } else if (this.controlStatus === "update") {
227220
+ } else if (this.controlStatus === 'update') {
226986
227221
  this.vueController.updateTextInputField(this.textParam);
226987
227222
  }
226988
227223
 
@@ -226991,8 +227226,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226991
227226
  }, {
226992
227227
  key: "handleClose",
226993
227228
  value: function handleClose() {
226994
- this.animationClassNames = "control-modal-contents text-modal animation-out";
226995
- this.$emit("closed");
227229
+ this.animationClassNames = 'control-modal-contents text-modal animation-out';
227230
+ this.$emit('closed');
226996
227231
  this.endPath = '';
226997
227232
  }
226998
227233
  }]);
@@ -227008,28 +227243,28 @@ __decorate([Prop()], TextDialog.prototype, "controlStatus", void 0);
227008
227243
 
227009
227244
  __decorate([Prop()], TextDialog.prototype, "vueController", void 0);
227010
227245
 
227011
- __decorate([Inject("setIsDataSource")], TextDialog.prototype, "setIsDataSource", void 0);
227246
+ __decorate([Inject('setIsDataSource')], TextDialog.prototype, "setIsDataSource", void 0);
227012
227247
 
227013
- __decorate([Inject("getDataSource")], TextDialog.prototype, "getDataSource", void 0);
227248
+ __decorate([Inject('getDataSource')], TextDialog.prototype, "getDataSource", void 0);
227014
227249
 
227015
- __decorate([Inject("setIsCustoms")], TextDialog.prototype, "setIsCustoms", void 0);
227250
+ __decorate([Inject('setIsCustoms')], TextDialog.prototype, "setIsCustoms", void 0);
227016
227251
 
227017
- __decorate([Inject("getCustomsValue")], TextDialog.prototype, "getCustomsValue", void 0);
227252
+ __decorate([Inject('getCustomsValue')], TextDialog.prototype, "getCustomsValue", void 0);
227018
227253
 
227019
- __decorate([Inject("setListAllowMultiSelected")], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227254
+ __decorate([Inject('setListAllowMultiSelected')], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227020
227255
 
227021
- __decorate([Inject("setIsListStyle")], TextDialog.prototype, "setIsListStyle", void 0);
227256
+ __decorate([Inject('setIsListStyle')], TextDialog.prototype, "setIsListStyle", void 0);
227022
227257
 
227023
- __decorate([Inject("getListStyle")], TextDialog.prototype, "getListStyle", void 0);
227258
+ __decorate([Inject('getListStyle')], TextDialog.prototype, "getListStyle", void 0);
227024
227259
 
227025
- __decorate([Inject("getListArrSource")], TextDialog.prototype, "getListArrSource", void 0);
227260
+ __decorate([Inject('getListArrSource')], TextDialog.prototype, "getListArrSource", void 0);
227026
227261
 
227027
- __decorate([Inject("setListStyle")], TextDialog.prototype, "setListStyle", void 0);
227262
+ __decorate([Inject('setListStyle')], TextDialog.prototype, "setListStyle", void 0);
227028
227263
 
227029
- __decorate([Inject("getCustomProperty")], TextDialog.prototype, "getCustomProperty", void 0);
227264
+ __decorate([Inject('getCustomProperty')], TextDialog.prototype, "getCustomProperty", void 0);
227030
227265
 
227031
227266
  TextDialog = __decorate([vue_class_component_esm({
227032
- name: "TextDialog",
227267
+ name: 'TextDialog',
227033
227268
  components: {
227034
227269
  Tabs: Tab
227035
227270
  }
@@ -227053,8 +227288,8 @@ TextDialog = __decorate([vue_class_component_esm({
227053
227288
 
227054
227289
  var TextDialog_component = normalizeComponent(
227055
227290
  textDialog_TextDialogvue_type_script_lang_ts_,
227056
- TextDialogvue_type_template_id_75c07514_render,
227057
- TextDialogvue_type_template_id_75c07514_staticRenderFns,
227291
+ TextDialogvue_type_template_id_52be23a2_render,
227292
+ TextDialogvue_type_template_id_52be23a2_staticRenderFns,
227058
227293
  false,
227059
227294
  null,
227060
227295
  null,
@@ -229752,9 +229987,9 @@ var CanvasImageDialog_component = normalizeComponent(
229752
229987
 
229753
229988
 
229754
229989
 
229755
- ;// 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/paragraph/ParagraphDialog.vue?vue&type=template&id=2a071484&
229756
- var ParagraphDialogvue_type_template_id_2a071484_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"},[_vm._t("hoParagraph")],2),_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)])}
229757
- var ParagraphDialogvue_type_template_id_2a071484_staticRenderFns = []
229990
+ ;// 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/paragraph/ParagraphDialog.vue?vue&type=template&id=461dae42&
229991
+ var ParagraphDialogvue_type_template_id_461dae42_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('ul',{staticClass:"control-list"},[_vm._t("hoParagraph")],2)]),_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)])}
229992
+ var ParagraphDialogvue_type_template_id_461dae42_staticRenderFns = []
229758
229993
 
229759
229994
 
229760
229995
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83[0].rules[0].use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/paragraph/ParagraphDialog.vue?vue&type=script&lang=js&
@@ -229777,7 +230012,7 @@ var ParagraphDialogvue_type_template_id_2a071484_staticRenderFns = []
229777
230012
  //
229778
230013
  //
229779
230014
  //
229780
- //
230015
+
229781
230016
  /* harmony default export */ var ParagraphDialogvue_type_script_lang_js_ = ({
229782
230017
  name: 'ParagraphDialog',
229783
230018
  props: {
@@ -229794,16 +230029,26 @@ var ParagraphDialogvue_type_template_id_2a071484_staticRenderFns = []
229794
230029
  required: true
229795
230030
  }
229796
230031
  },
230032
+ inject: ['getParagraphCustomProperty'],
229797
230033
  data: function data() {
229798
230034
  return {
229799
230035
  textActiveName: 'first',
229800
230036
  animationClassNames: 'control-modal-contents paragraph-modal animation-in'
229801
230037
  };
229802
230038
  },
229803
- created: function created() {},
229804
- mounted: function mounted() {},
230039
+ computed: {
230040
+ domRange: function domRange() {
230041
+ return this.controlProperty.domRange;
230042
+ }
230043
+ },
229805
230044
  methods: {
229806
230045
  sure: function sure() {
230046
+ var _hoEditorFactory$vueC;
230047
+
230048
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
230049
+ var node = (_hoEditorFactory$vueC = hoEditorFactory.vueController.findNodebyPath(this.domRange.endPath)) === null || _hoEditorFactory$vueC === void 0 ? void 0 : _hoEditorFactory$vueC.node;
230050
+ var paragraphNode = hoEditorFactory.drawTree.getDrawLineByDNode(node.drawNodes[0]).paragraphNode;
230051
+ paragraphNode.setCustomProperty(this.getParagraphCustomProperty());
229807
230052
  this.handleClose();
229808
230053
  },
229809
230054
  handleClose: function handleClose() {
@@ -229830,8 +230075,8 @@ var ParagraphDialogvue_type_template_id_2a071484_staticRenderFns = []
229830
230075
 
229831
230076
  var ParagraphDialog_component = normalizeComponent(
229832
230077
  paragraph_ParagraphDialogvue_type_script_lang_js_,
229833
- ParagraphDialogvue_type_template_id_2a071484_render,
229834
- ParagraphDialogvue_type_template_id_2a071484_staticRenderFns,
230078
+ ParagraphDialogvue_type_template_id_461dae42_render,
230079
+ ParagraphDialogvue_type_template_id_461dae42_staticRenderFns,
229835
230080
  false,
229836
230081
  null,
229837
230082
  null,
@@ -232894,6 +233139,11 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
232894
233139
  value: function getCustomProperty() {
232895
233140
  return this.customProperty;
232896
233141
  }
233142
+ }, {
233143
+ key: "getParagraphCustomProperty",
233144
+ value: function getParagraphCustomProperty() {
233145
+ return this.paragraphCustomProperty;
233146
+ }
232897
233147
  }, {
232898
233148
  key: "textStyleChange",
232899
233149
  value: function textStyleChange(val) {
@@ -232911,7 +233161,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
232911
233161
  }, {
232912
233162
  key: "controlTypeChange",
232913
233163
  value: function controlTypeChange(newValue, oldValue) {
232914
- if (newValue === '' && ['text', 'date', 'comment'].includes(oldValue)) {
233164
+ if (newValue === '' && ['text', 'date', 'comment', 'paragraph'].includes(oldValue)) {
232915
233165
  this.$emit('closeTextModal');
232916
233166
  this.customPropertyValue = {};
232917
233167
  }
@@ -233015,6 +233265,13 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233015
233265
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233016
233266
  hoEditorFactory && (hoEditorFactory.isEnabledGlobalColor = this.isEnabledGlobalColor);
233017
233267
  }
233268
+ }, {
233269
+ key: "isSameColorWithEmptyVlaueChange",
233270
+ value: function isSameColorWithEmptyVlaueChange() {
233271
+ var activeDocId = this.activeDocId ? this.activeDocId : this.hoEditorFactoryIdList[0];
233272
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233273
+ hoEditorFactory && (hoEditorFactory.isSameColorWithEmptyVlaue = this.isSameColorWithEmptyVlaue);
233274
+ }
233018
233275
  }, {
233019
233276
  key: "created",
233020
233277
  value: function created() {
@@ -233066,6 +233323,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233066
233323
  hoEditor.isUseForm = _this3.isUseForm;
233067
233324
  hoEditor.printBlack = _this3.printBlack;
233068
233325
  hoEditor.isEnabledGlobalColor = _this3.isEnabledGlobalColor;
233326
+ hoEditor.isSameColorWithEmptyVlaue = _this3.isSameColorWithEmptyVlaue;
233069
233327
  hoEditor.contentIsModify = _this3.contentIsModify;
233070
233328
  hoEditor.isCanEditHeadFoot = _this3.isCanEditHeadFoot;
233071
233329
  hoEditor.docTree.docProperty = _this3.defaultDocProperty;
@@ -233405,6 +233663,8 @@ __decorate([Prop()], HoDocs.prototype, "uploadImageParams", void 0);
233405
233663
 
233406
233664
  __decorate([Prop()], HoDocs.prototype, "customProperty", void 0);
233407
233665
 
233666
+ __decorate([Prop()], HoDocs.prototype, "paragraphCustomProperty", void 0);
233667
+
233408
233668
  __decorate([Prop()], HoDocs.prototype, "deleteImageNodeList", void 0);
233409
233669
 
233410
233670
  __decorate([Prop()], HoDocs.prototype, "pageProperty", void 0);
@@ -233443,6 +233703,10 @@ __decorate([Prop({
233443
233703
  default: false
233444
233704
  })], HoDocs.prototype, "isEnabledGlobalColor", void 0);
233445
233705
 
233706
+ __decorate([Prop({
233707
+ default: false
233708
+ })], HoDocs.prototype, "isSameColorWithEmptyVlaue", void 0);
233709
+
233446
233710
  __decorate([Watch('contentIsModify', {
233447
233711
  deep: true
233448
233712
  })], HoDocs.prototype, "contentIsModifyChange", null);
@@ -233451,6 +233715,8 @@ __decorate([Watch('editJson')], HoDocs.prototype, "editJsonChange", null);
233451
233715
 
233452
233716
  __decorate([Provide()], HoDocs.prototype, "getCustomProperty", null);
233453
233717
 
233718
+ __decorate([Provide()], HoDocs.prototype, "getParagraphCustomProperty", null);
233719
+
233454
233720
  __decorate([Watch('textStyle', {
233455
233721
  deep: true
233456
233722
  })], HoDocs.prototype, "textStyleChange", null);
@@ -233491,6 +233757,8 @@ __decorate([Watch('printBlack')], HoDocs.prototype, "printBlackChange", null);
233491
233757
 
233492
233758
  __decorate([Watch('isEnabledGlobalColor')], HoDocs.prototype, "isEnabledGlobalColorChange", null);
233493
233759
 
233760
+ __decorate([Watch('isSameColorWithEmptyVlaue')], HoDocs.prototype, "isSameColorWithEmptyVlaueChange", null);
233761
+
233494
233762
  HoDocs = __decorate([vue_class_component_esm({
233495
233763
  name: 'HoDocs',
233496
233764
  components: {