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.
@@ -11668,6 +11668,8 @@ var Print = /*#__PURE__*/function () {
11668
11668
 
11669
11669
  PDF === null || PDF === void 0 ? void 0 : PDF.addPage();
11670
11670
  ctx = PDF === null || PDF === void 0 ? void 0 : PDF.context2d;
11671
+ ctx.posX = svg2pdfOptions.x;
11672
+ ctx.posY = svg2pdfOptions.y;
11671
11673
  window.printBlack = hoEditorFactory.printBlack;
11672
11674
 
11673
11675
  if (hoEditorFactory.isFixedPrintToA4 == '2' && format) {
@@ -11676,11 +11678,11 @@ var Print = /*#__PURE__*/function () {
11676
11678
  ctx.translate(0, 1122 / 2); // 由于旋转是默认以左上角为中心 所以需要先移动位置 改变起始点
11677
11679
 
11678
11680
  ctx.rotate(270 * Math.PI / 180); // 旋转 context2d
11681
+ // ctx.posX = 0;
11682
+ // ctx.posY = 1122 / 2;
11679
11683
  }
11680
11684
  }
11681
11685
 
11682
- ctx.posX = svg2pdfOptions.x;
11683
- ctx.posY = svg2pdfOptions.y;
11684
11686
  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));
11685
11687
  ctx = null;
11686
11688
  _context3.next = 57;
@@ -11812,7 +11814,7 @@ var Print = /*#__PURE__*/function () {
11812
11814
  return link.remove();
11813
11815
  }, 100);
11814
11816
  } else {
11815
- if (height <= 560 && hoEditorFactory.isFixedPrintToA4 !== '2') {
11817
+ if (height <= 560 && hoEditorFactory.isFixedPrintToA4 === '') {
11816
11818
  PDF === null || PDF === void 0 ? void 0 : PDF.deletePage(1);
11817
11819
  }
11818
11820
 
@@ -22241,7 +22243,7 @@ var CellProperty = /*#__PURE__*/function () {
22241
22243
  /*
22242
22244
  * @Author: your name
22243
22245
  * @Date: 2021-01-20 10:18:55
22244
- * @LastEditTime: 2022-05-20 18:56:55
22246
+ * @LastEditTime: 2022-07-08 13:55:38
22245
22247
  * @LastEditors: liyanan 2441631434@qq.com
22246
22248
  * @Description: In User Settings Edit
22247
22249
  * @FilePath: \hoeditor-web\src\editor\dom\domNode\Comment.ts
@@ -27271,7 +27273,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27271
27273
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99640);
27272
27274
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28214);
27273
27275
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35671);
27274
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(22342);
27276
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(22342);
27275
27277
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
27276
27278
  /* 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__);
27277
27279
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41539);
@@ -27284,16 +27286,25 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27284
27286
  /* 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__);
27285
27287
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40561);
27286
27288
  /* 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__);
27287
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(38862);
27288
- /* 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__);
27289
- /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(63756);
27290
- /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98199);
27291
- /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(1470);
27292
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34534);
27293
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(41005);
27294
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(23375);
27295
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(50369);
27296
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(8395);
27289
+ /* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27852);
27290
+ /* 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__);
27291
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74916);
27292
+ /* 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__);
27293
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23123);
27294
+ /* 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__);
27295
+ /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38862);
27296
+ /* 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__);
27297
+ /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(63756);
27298
+ /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(98199);
27299
+ /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(1470);
27300
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(34534);
27301
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(41005);
27302
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(23375);
27303
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(50369);
27304
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(8395);
27305
+
27306
+
27307
+
27297
27308
 
27298
27309
 
27299
27310
 
@@ -27342,7 +27353,7 @@ var BandDataSource = /*#__PURE__*/function () {
27342
27353
  this.execState = ""; //执行状态
27343
27354
  }
27344
27355
 
27345
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(BandDataSource, [{
27356
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(BandDataSource, [{
27346
27357
  key: "DataSourceEnabled",
27347
27358
  get: function get() {
27348
27359
  return this.dataSourceEnabled;
@@ -27431,7 +27442,7 @@ var DownListNodeInstance = /*#__PURE__*/function () {
27431
27442
  this.allowMultiSelect = false;
27432
27443
  }
27433
27444
 
27434
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNodeInstance, [{
27445
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNodeInstance, [{
27435
27446
  key: "Id",
27436
27447
  get: function get() {
27437
27448
  return this.id;
@@ -27567,7 +27578,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27567
27578
  // this._id = valuesObj["id"];
27568
27579
  // }
27569
27580
 
27570
- _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27581
+ _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27571
27582
  // this._name = valuesObj["name"];
27572
27583
  // }
27573
27584
  // if (valuesObj["title"] !== undefined) {
@@ -27640,7 +27651,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27640
27651
  _this.setValuesObject(valuesObject);
27641
27652
 
27642
27653
  if (!_this.dataId) {
27643
- _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27654
+ _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27644
27655
  }
27645
27656
 
27646
27657
  if (_this._text === "") {
@@ -27661,7 +27672,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27661
27672
  return _this;
27662
27673
  }
27663
27674
 
27664
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNode, [{
27675
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNode, [{
27665
27676
  key: "setValuesObject",
27666
27677
  value: function setValuesObject(valuesObject) {
27667
27678
  var valuesObj = eval("(" + valuesObject + ")");
@@ -27798,12 +27809,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27798
27809
  }, {
27799
27810
  key: "setDownListText",
27800
27811
  value: function setDownListText(text) {
27801
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27812
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27802
27813
  var sPath = hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf());
27803
27814
  var ePath = hoEditorFactory.docTree.getNodeLastPath(this);
27804
- 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);
27815
+ 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);
27805
27816
  changeEvent.oldEndPath = ePath;
27806
- changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27817
+ changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27807
27818
  this._text = text;
27808
27819
 
27809
27820
  if (this._text === "") {
@@ -27825,7 +27836,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27825
27836
  value: function node2DrawNodeRange(startIndex, endIndex) {
27826
27837
  // const cbStyle = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.styles[this._styleIndex === -1 ? 0 : this._styleIndex]
27827
27838
  // .combineStyle;
27828
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27839
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27829
27840
  var textStyle = hoEditorFactory.docTree.styles[this._styleIndex];
27830
27841
  var cbStyle;
27831
27842
 
@@ -27842,7 +27853,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27842
27853
  }
27843
27854
 
27844
27855
  var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
27845
- var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27856
+ var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27846
27857
 
27847
27858
  this._drawNodes.push(dNode);
27848
27859
  }
@@ -27870,10 +27881,10 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27870
27881
  return dline;
27871
27882
  }
27872
27883
 
27873
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27884
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27874
27885
  var isDisPlay = true;
27875
27886
 
27876
- 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) {
27887
+ 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) {
27877
27888
  isDisPlay = false;
27878
27889
  }
27879
27890
 
@@ -27891,7 +27902,50 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27891
27902
  var color = hoEditorFactory.option.getColorByLevel(120);
27892
27903
 
27893
27904
  if (this.keyValue !== "") {
27894
- color = hoEditorFactory.option.getColorByLevel(12);
27905
+ if (hoEditorFactory.isSameColorWithEmptyVlaue) {
27906
+ var isDefault = false;
27907
+
27908
+ if (this._allowMultiSelect) {
27909
+ var defaultValues = "";
27910
+
27911
+ for (var _i = 0; _i < this.downListContent.length; _i++) {
27912
+ var item1 = this.downListContent[_i];
27913
+
27914
+ if (item1.default) {
27915
+ defaultValues += item1.id + ",";
27916
+ }
27917
+ }
27918
+
27919
+ if (defaultValues.endsWith(',')) {
27920
+ defaultValues = defaultValues.substring(0, defaultValues.length - 1);
27921
+ }
27922
+
27923
+ var keyValue = this.keyValue;
27924
+
27925
+ if (keyValue.endsWith(',')) {
27926
+ keyValue = keyValue.substring(0, keyValue.length - 1);
27927
+ }
27928
+
27929
+ if (defaultValues === keyValue) {
27930
+ isDefault = true;
27931
+ }
27932
+ } else {
27933
+ for (var j = 0; j < this.downListContent.length; j++) {
27934
+ var item2 = this.downListContent[j];
27935
+
27936
+ if (item2.id === this.keyValue.split(',')[0] && item2.default) {
27937
+ isDefault = true;
27938
+ break;
27939
+ }
27940
+ }
27941
+ }
27942
+
27943
+ if (!isDefault) {
27944
+ color = hoEditorFactory.option.getColorByLevel(12);
27945
+ }
27946
+ } else {
27947
+ color = hoEditorFactory.option.getColorByLevel(12);
27948
+ }
27895
27949
  }
27896
27950
 
27897
27951
  var backColor = new createjs.Shape();
@@ -27903,9 +27957,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27903
27957
  if (this.keyValue === "") {
27904
27958
  drawNode.alpha = 0;
27905
27959
  } else {
27906
- for (var _i = drawNode.children.length - 1; _i >= 0; _i--) {
27907
- if (drawNode.children[_i].name === "backColor") {
27908
- drawNode.children.splice(_i, 1);
27960
+ for (var _i2 = drawNode.children.length - 1; _i2 >= 0; _i2--) {
27961
+ if (drawNode.children[_i2].name === "backColor") {
27962
+ drawNode.children.splice(_i2, 1);
27909
27963
  }
27910
27964
  }
27911
27965
  }
@@ -27923,9 +27977,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27923
27977
  var downLists = {
27924
27978
  item: this.downListContent
27925
27979
  };
27926
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27980
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27927
27981
  var retObj = {
27928
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl],
27982
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
27929
27983
  type: "ctDownList",
27930
27984
  //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DL") : this.id,
27931
27985
  id: this.id,
@@ -27973,7 +28027,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27973
28027
  this.transType(json);
27974
28028
 
27975
28029
  if (isPaste) {
27976
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
28030
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
27977
28031
 
27978
28032
  if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
27979
28033
  //json.id = hoEditorFactory.gernerateCode.generateID("DL");
@@ -27985,7 +28039,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27985
28039
  json.isReadOnly = !json.isReadOnly ? false : json.isReadOnly;
27986
28040
  json.mutexSelect = !json.mutexSelect ? false : json.mutexSelect;
27987
28041
  json.allowMultiSelect = !json.allowMultiSelect ? false : json.allowMultiSelect;
27988
- json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType */ .C[json.type]);
28042
+ json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType */ .C[json.type]);
27989
28043
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
27990
28044
  json.readType = json.readType ? Number(json.readType) : -1;
27991
28045
  var downListContent = [];
@@ -27994,12 +28048,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27994
28048
  downListContent.push(json.downLists.item[i]);
27995
28049
  }
27996
28050
 
27997
- return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28051
+ return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
27998
28052
  }
27999
28053
  }]);
28000
28054
 
28001
28055
  return DownListNode;
28002
- }(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlNode */ .w);
28056
+ }(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlNode */ .w);
28003
28057
 
28004
28058
  /***/ }),
28005
28059
 
@@ -44495,15 +44549,24 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44495
44549
  }
44496
44550
  }, {
44497
44551
  key: "removeComment",
44498
- value: function removeComment(comment) {
44499
- for (var i = this.children.length - 1; i >= 0; i--) {
44500
- var child = this.children[i];
44552
+ value: function removeComment(comment, isRecord) {
44553
+ if (isRecord) {
44554
+ for (var i = this.children.length - 1; i >= 0; i--) {
44555
+ var child = this.children[i];
44501
44556
 
44502
- if (child.name === comment.id) {
44503
- this.children.splice(i, 1);
44557
+ if (child.name && child.name === "record" + comment.id) {
44558
+ this.children.splice(i, 1);
44559
+ }
44504
44560
  }
44505
- } //this.stage.update();
44561
+ } else {
44562
+ for (var _i = this.children.length - 1; _i >= 0; _i--) {
44563
+ var _child = this.children[_i];
44506
44564
 
44565
+ if (_child.name && _child.name === comment.id) {
44566
+ this.children.splice(_i, 1);
44567
+ }
44568
+ }
44569
+ }
44507
44570
 
44508
44571
  _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawPageTree.updateDrawPage(this.index);
44509
44572
  }
@@ -44615,12 +44678,12 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44615
44678
  var minValue = getStagePos(bottomComments[0])[1];
44616
44679
  var _tempComment = bottomComments[0];
44617
44680
 
44618
- for (var _i = 1; _i < bottomComments.length; _i++) {
44619
- var _stageY2 = getStagePos(bottomComments[_i])[1];
44681
+ for (var _i2 = 1; _i2 < bottomComments.length; _i2++) {
44682
+ var _stageY2 = getStagePos(bottomComments[_i2])[1];
44620
44683
 
44621
44684
  if (_stageY2 < minValue) {
44622
44685
  minValue = _stageY2;
44623
- _tempComment = bottomComments[_i];
44686
+ _tempComment = bottomComments[_i2];
44624
44687
  }
44625
44688
  }
44626
44689
 
@@ -44721,12 +44784,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44721
44784
  var container = new createjs.Container();
44722
44785
  container.x = docWidth + 15;
44723
44786
  container.y = commentY - comment.lineHeight / 2;
44724
- container.name = comment.id;
44787
+ container.name = "record" + comment.id;
44725
44788
  var commentTextShape = null; // 批注内容
44726
44789
 
44727
44790
  var commentArr = comment.commentTextWarp(commentWidth, comment.text);
44728
- var text = commentArr[0];
44729
- var textLen = commentArr[1] > 1 ? commentArr[1] - 1 : commentArr[1];
44791
+ var text = commentArr[0]; //const textLen = (commentArr[1] as number) > 1 ? (commentArr[1] as number) - 1 : (commentArr[1] as number);
44792
+
44793
+ var textLen = commentArr[1];
44730
44794
  comment.lineHeight = 20 * textLen + 10;
44731
44795
  commentTextShape = new createjs.Text(text, "12px 微软雅黑", "#666");
44732
44796
  commentTextShape.lineWidth = commentWidth - 25;
@@ -44745,12 +44809,12 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44745
44809
 
44746
44810
  var horizontalLine = new createjs.Shape();
44747
44811
  horizontalLine.graphics.setStrokeDash([4, 1], 0).setStrokeStyle(1).beginStroke("rgba(255, 0, 0, 1)").moveTo(nodeX, nodeY).lineTo(docWidth, nodeY);
44748
- horizontalLine.name = comment.id;
44812
+ horizontalLine.name = "record" + comment.id;
44749
44813
  horizontalLine.alpha = 1; //指向线
44750
44814
 
44751
44815
  var guideLine = new createjs.Shape();
44752
44816
  guideLine.graphics.setStrokeDash([4, 1], 0).setStrokeStyle(1).beginStroke("rgba(255, 0, 0, 1)").moveTo(docWidth, nodeY).lineTo(docWidth + 15, commentY - comment.lineHeight / 4);
44753
- guideLine.name = comment.id;
44817
+ guideLine.name = "record" + comment.id;
44754
44818
  guideLine.alpha = 1;
44755
44819
  container.addChild(backShape);
44756
44820
  container.addChild(commentTextShape);
@@ -44764,13 +44828,14 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44764
44828
  value: function repaintRecored(comments, comment, nPath, spX, spY) {
44765
44829
  var _this5 = this;
44766
44830
 
44831
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
44767
44832
  var topComments = new Array();
44768
44833
  var bottomComments = new Array();
44769
44834
  var tempArr = new Array();
44770
44835
 
44771
44836
  var getStagePos = function getStagePos(comment) {
44772
44837
  var endDrawNode = comment.eNode.drawNodes[0];
44773
- var dline = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this5._hoEditorFactoryID).drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
44838
+ var dline = hoEditorFactory.drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
44774
44839
 
44775
44840
  var stagePos = dline.localToGlobal(endDrawNode.x, endDrawNode.y); // 末尾标记节点的stage坐标
44776
44841
 
@@ -44783,7 +44848,11 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44783
44848
  var commentY = spY;
44784
44849
  comments.forEach(function (value) {
44785
44850
  if (value.id !== comment.id) {
44786
- tempArr.push(value);
44851
+ var area = hoEditorFactory.drawPageTree.getMainRootArea(value.eNode.drawNodes[0]);
44852
+
44853
+ if (area && area.index == _this5.index) {
44854
+ tempArr.push(value);
44855
+ }
44787
44856
  }
44788
44857
  });
44789
44858
  tempArr.forEach(function (value) {
@@ -44842,7 +44911,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44842
44911
  commentY = nodeY;
44843
44912
  }
44844
44913
 
44845
- _this5.removeComment(commentObj);
44914
+ _this5.removeComment(commentObj, true);
44846
44915
 
44847
44916
  _this5.drawEditRecords(commentObj, nodeX, nodeY, commentY);
44848
44917
 
@@ -44866,12 +44935,12 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44866
44935
  var minValue = getStagePos(bottomComments[0])[1];
44867
44936
  var _tempComment3 = bottomComments[0];
44868
44937
 
44869
- for (var _i2 = 1; _i2 < bottomComments.length; _i2++) {
44870
- var _stageY4 = getStagePos(bottomComments[_i2])[1];
44938
+ for (var _i3 = 1; _i3 < bottomComments.length; _i3++) {
44939
+ var _stageY4 = getStagePos(bottomComments[_i3])[1];
44871
44940
 
44872
44941
  if (_stageY4 < minValue) {
44873
44942
  minValue = _stageY4;
44874
- _tempComment3 = bottomComments[_i2];
44943
+ _tempComment3 = bottomComments[_i3];
44875
44944
  }
44876
44945
  }
44877
44946
 
@@ -46220,7 +46289,14 @@ var DrawCombineNode = /*#__PURE__*/function (_DrawContainer) {
46220
46289
  _this2.on('mouseout', function (e) {
46221
46290
  hoEditorFactory.nodeMouseMove.setNode(_this2.node, _editor_events_DmouseEvent__WEBPACK_IMPORTED_MODULE_6__/* .DmouseEventType.detOut */ .p.detOut);
46222
46291
  });
46223
- }
46292
+ } // if(this.node && this.node.drawNodes && this.node.drawNodes[0]) {
46293
+ // const paragraphNode = hoEditorFactory.drawTree.getDrawLineByDNode(this._node.drawNodes[0])?.paragraphNode;
46294
+ // const customProperty = paragraphNode && paragraphNode.customProperty;
46295
+ // if(['男', '女'].includes(customProperty.sex) || (customProperty.age && customProperty.age.select == '隐藏')) {
46296
+ // console.log({...paragraphNode.customProperty})
46297
+ // }
46298
+ // }
46299
+
46224
46300
 
46225
46301
  _this2.on('click', function (e) {
46226
46302
  if (e.nativeEvent.button === 0) {
@@ -51274,9 +51350,9 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51274
51350
  _this = _super.call(this, hoeditfactoryID, rootPath, node, 0);
51275
51351
  _this._number = 0;
51276
51352
  _this._type = 0;
51277
- _this._signName = "";
51278
- _this._imgSrc = "";
51279
- _this._fingerPrintSrc = "";
51353
+ _this._signName = '';
51354
+ _this._imgSrc = '';
51355
+ _this._fingerPrintSrc = '';
51280
51356
  _this._fingerPosition = 0;
51281
51357
  _this._number = number;
51282
51358
  _this._imgSrc = imgSrc;
@@ -51290,7 +51366,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51290
51366
  _this._textStyle = cbStyle.getStyleKey();
51291
51367
 
51292
51368
  if (_this.number > 0 && type === 2) {
51293
- var signArr = imgSrc.split("\n");
51369
+ var signArr = imgSrc.split('\n');
51294
51370
 
51295
51371
  if (signArr.length > 1) {
51296
51372
  _this.dHeight = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoeditfactoryID).signHeight * signArr.length; // const textStyle = new TextStyle(hoeditfactoryID);
@@ -51309,10 +51385,10 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51309
51385
  } //this._drawText = new DrawSimpleText('/', cbStyle.getStyleKey(), "#000000");
51310
51386
 
51311
51387
 
51312
- _this._drawText = new createjs.Text(node.connectMode, _this._textStyle, "#000000");
51388
+ _this._drawText = new createjs.Text(node.connectMode, _this._textStyle, '#000000');
51313
51389
 
51314
51390
  if (_this.number === 0) {
51315
- var dText = new createjs.Text(_this.signName, _this._textStyle, "#000000");
51391
+ var dText = new createjs.Text(_this.signName, _this._textStyle, '#000000');
51316
51392
  _this.dWidth = dText.getMeasuredWidth();
51317
51393
  } else {
51318
51394
  if (type === 1) {
@@ -51326,14 +51402,14 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51326
51402
  }
51327
51403
 
51328
51404
  if (type === 2) {
51329
- var _signArr = imgSrc.split("\n");
51405
+ var _signArr = imgSrc.split('\n');
51330
51406
 
51331
- var aText = new createjs.Text(_signArr[0], _this._textStyle, "#000000");
51407
+ var aText = new createjs.Text(_signArr[0], _this._textStyle, '#000000');
51332
51408
  var maxWidth = aText.getMeasuredWidth();
51333
51409
 
51334
51410
  if (_signArr.length > 1) {
51335
51411
  for (var i = 1; i < _signArr.length; i++) {
51336
- aText = new createjs.Text(_signArr[i], _this._textStyle, "#000000");
51412
+ aText = new createjs.Text(_signArr[i], _this._textStyle, '#000000');
51337
51413
  var aWidth = aText.getMeasuredWidth();
51338
51414
 
51339
51415
  if (aWidth > maxWidth) {
@@ -51348,7 +51424,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51348
51424
  _this.dWidth = maxWidth;
51349
51425
  } else {
51350
51426
  //this.dWidth = dText.getMeasuredWidth() + this._drawText.getMeasuredWidth();
51351
- if (node.connectMode === "换行") {
51427
+ if (node.connectMode === '换行') {
51352
51428
  _this.dWidth = maxWidth;
51353
51429
  } else {
51354
51430
  _this.dWidth = maxWidth + _this._drawText.getMeasuredWidth();
@@ -51357,7 +51433,7 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51357
51433
  }
51358
51434
  }
51359
51435
 
51360
- if (imgWidth == 0 && imgHeight == 0 && imgSrc && type == 1 || type == 3) {
51436
+ if (imgWidth == 0 && imgHeight == 0 && (imgSrc || fingerPrintSrc) && type == 1 || type == 3) {
51361
51437
  _this.drawWriteSignNode(node);
51362
51438
  } else {
51363
51439
  _this.drawSignNode();
@@ -51443,108 +51519,139 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51443
51519
 
51444
51520
  this.clear();
51445
51521
  var drawNode = this;
51446
- var isFront = node.isFront;
51447
51522
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_7__/* .HOEditorFactorys.instance */ .b.instance().getFactory(drawNode.node.hoEditorFactoryID);
51448
51523
 
51449
51524
  var drawSign = function drawSign() {
51450
51525
  if (_this2.type === 1 || _this2.type === 3) {
51451
- var image = new Image();
51452
- image.src = _this2.imgSrc;
51453
51526
  var currentLineHeight = hoEditorFactory.drawTree.caret.height;
51454
- var bitmap = new createjs.Bitmap(image);
51455
- bitmap.y = 0;
51456
- bitmap.x = 0;
51457
-
51458
- if (node.imgWidth) {
51459
- _this2._dWidth = node.imgWidth;
51460
- }
51461
-
51462
- drawNode.addChildAt(bitmap, 0);
51463
- var fingerImage = new Image();
51464
- var fingerBitmap;
51465
-
51466
- if (drawNode.fingerPrintSrc !== "") {
51527
+ node.type = 3;
51528
+
51529
+ if (_this2.imgSrc == '' && _this2.fingerPrintSrc) {
51530
+ var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51531
+ var fingerWidth = 256;
51532
+ _this2._dWidth = fingerWidth * fingerscale;
51533
+ node.imgWidth = _this2._dWidth;
51534
+ var fingerImage = new Image();
51535
+ var fingerBitmap;
51467
51536
  fingerImage.src = _this2.fingerPrintSrc;
51468
51537
  fingerBitmap = new createjs.Bitmap(fingerImage);
51469
- drawNode.addChildAt(fingerBitmap, 1);
51538
+ drawNode.addChildAt(fingerBitmap, 0);
51470
51539
  hoEditorFactory.loadImageCount++;
51471
51540
 
51472
51541
  fingerImage.onerror = function () {
51473
51542
  return hoEditorFactory.loadImageCount--;
51474
51543
  };
51475
- }
51476
51544
 
51477
- hoEditorFactory.loadImageCount++;
51545
+ fingerImage.onload = function () {
51546
+ var fingerHeight = fingerImage.naturalHeight !== 0 ? fingerImage.naturalHeight : fingerImage.height;
51547
+ fingerBitmap.y = -fingerHeight * fingerscale;
51548
+ fingerBitmap.x = 0;
51549
+ node.imgHeight = fingerHeight * fingerscale;
51550
+ _this2._dHeight = node.imgHeight;
51551
+ node.type = 3;
51552
+ fingerBitmap.setTransform(fingerBitmap.x, fingerBitmap.y, fingerscale, fingerscale);
51553
+ updateSign();
51554
+ };
51555
+ } else {
51556
+ var image = new Image();
51557
+ image.src = _this2.imgSrc;
51558
+ var bitmap = new createjs.Bitmap(image);
51559
+ bitmap.y = 0;
51560
+ bitmap.x = 0;
51478
51561
 
51479
- image.onerror = function () {
51480
- return hoEditorFactory.loadImageCount--;
51481
- };
51562
+ if (node.imgWidth) {
51563
+ _this2._dWidth = node.imgWidth;
51564
+ }
51482
51565
 
51483
- image.onload = function () {
51484
- var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
51485
- var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
51486
- var scale = hoEditorFactory.signHeight / hitHeight < 0.4 ? 0.4 : hoEditorFactory.signHeight / hitHeight > 0.7 ? 1 : hoEditorFactory.signHeight / hitHeight;
51487
-
51488
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center && hoEditorFactory.signHeight / hitHeight < 0.2) {
51489
- scale = hoEditorFactory.signHeight * 1.5 / hitHeight;
51490
- }
51491
-
51492
- _this2._dWidth = hitWidth * scale;
51493
-
51494
- if (drawNode.fingerPrintSrc !== "") {
51495
- fingerImage.onload = function () {
51496
- var fingerWidth = 256;
51497
- var fingerHeight = fingerImage.naturalHeight !== 0 ? fingerImage.naturalHeight : fingerImage.height;
51498
- var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51499
- fingerBitmap.scaleX = fingerscale;
51500
- fingerBitmap.scaleY = fingerscale;
51501
- fingerBitmap.y = -fingerHeight * fingerscale;
51502
- bitmap.y = -hitHeight * scale;
51503
-
51504
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.left */ .d.left) {
51505
- bitmap.x = fingerWidth * fingerscale + 5;
51506
- fingerBitmap.x = 0;
51507
- _this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
51508
- node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
51509
- _this2._dHeight = node.imgHeight;
51510
- } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51511
- fingerBitmap.x = (hitWidth * scale - fingerWidth * fingerscale) / 2;
51512
- fingerBitmap.y = -(fingerHeight * fingerscale + currentLineHeight) / 2;
51513
- bitmap.y = -(hitHeight * scale + currentLineHeight) / 2;
51514
- node.imgHeight = hoEditorFactory.signHeight;
51515
- } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.right */ .d.right) {
51516
- fingerBitmap.x = hitWidth * scale + 5;
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
- }
51566
+ drawNode.addChildAt(bitmap, 0);
51521
51567
 
51522
- node.imgWidth = _this2._dWidth;
51523
- node.type = 3;
51568
+ var _fingerImage = new Image();
51524
51569
 
51525
- if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51526
- _this2._dWidth = 0;
51527
- _this2._dHeight = 0;
51528
- }
51570
+ var _fingerBitmap;
51529
51571
 
51530
- bitmap.setTransform(bitmap.x, bitmap.y, scale, scale);
51531
- fingerBitmap.setTransform(fingerBitmap.x, fingerBitmap.y, fingerscale, fingerscale);
51532
- var hitArea = new createjs.Shape();
51533
- hitArea.graphics.beginFill("#000").drawRect(fingerBitmap.x, 0, fingerWidth * fingerscale, fingerHeight * fingerscale); //这里是图片大小
51572
+ if (drawNode.fingerPrintSrc !== '') {
51573
+ _fingerImage.src = _this2.fingerPrintSrc;
51574
+ _fingerBitmap = new createjs.Bitmap(_fingerImage);
51575
+ drawNode.addChildAt(_fingerBitmap, 1);
51576
+ hoEditorFactory.loadImageCount++;
51534
51577
 
51535
- bitmap.hitArea = hitArea;
51536
- fingerBitmap.hitArea = hitArea;
51537
- updateSign();
51578
+ _fingerImage.onerror = function () {
51579
+ return hoEditorFactory.loadImageCount--;
51538
51580
  };
51539
- } else {
51540
- _this2._dWidth = hitWidth * scale;
51541
- node.imgWidth = _this2._dWidth;
51542
- node.imgHeight = hoEditorFactory.signHeight;
51543
- node.type = 3;
51544
- bitmap.setTransform(0, -(hitHeight * scale + currentLineHeight) / 2, scale, scale);
51545
- updateSign();
51546
51581
  }
51547
- };
51582
+
51583
+ hoEditorFactory.loadImageCount++;
51584
+
51585
+ image.onerror = function () {
51586
+ return hoEditorFactory.loadImageCount--;
51587
+ };
51588
+
51589
+ image.onload = function () {
51590
+ var hitWidth = image.naturalWidth !== 0 ? image.naturalWidth : image.width;
51591
+ var hitHeight = image.naturalHeight !== 0 ? image.naturalHeight : image.height;
51592
+ var scale = hoEditorFactory.signHeight / hitHeight < 0.4 ? 0.4 : hoEditorFactory.signHeight / hitHeight > 0.7 ? 1 : hoEditorFactory.signHeight / hitHeight;
51593
+
51594
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center && hoEditorFactory.signHeight / hitHeight < 0.2) {
51595
+ scale = hoEditorFactory.signHeight * 1.5 / hitHeight;
51596
+ }
51597
+
51598
+ _this2._dWidth = hitWidth * scale;
51599
+
51600
+ if (drawNode.fingerPrintSrc !== '') {
51601
+ _fingerImage.onload = function () {
51602
+ var fingerWidth = 256;
51603
+ var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
51604
+ var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51605
+ _fingerBitmap.scaleX = fingerscale;
51606
+ _fingerBitmap.scaleY = fingerscale;
51607
+ _fingerBitmap.y = -fingerHeight * fingerscale;
51608
+ bitmap.y = -hitHeight * scale;
51609
+
51610
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.left */ .d.left) {
51611
+ bitmap.x = fingerWidth * fingerscale + 5;
51612
+ _fingerBitmap.x = 0;
51613
+ _this2._dWidth = hitWidth * scale + 5 + fingerWidth * fingerscale;
51614
+ node.imgHeight = Math.floor(Math.max(fingerHeight * fingerscale, hitHeight * scale));
51615
+ _this2._dHeight = node.imgHeight;
51616
+ } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51617
+ _fingerBitmap.x = (hitWidth * scale - fingerWidth * fingerscale) / 2;
51618
+ _fingerBitmap.y = -(fingerHeight * fingerscale + currentLineHeight) / 2;
51619
+ bitmap.y = -(hitHeight * scale + currentLineHeight) / 2;
51620
+ node.imgHeight = hoEditorFactory.signHeight;
51621
+ } else if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.right */ .d.right) {
51622
+ _fingerBitmap.x = hitWidth * scale + 5;
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
+ }
51627
+
51628
+ node.imgWidth = _this2._dWidth;
51629
+
51630
+ if (drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_5__/* .FingerPosition.center */ .d.center) {
51631
+ _this2._dWidth = 0;
51632
+ _this2._dHeight = 0;
51633
+ }
51634
+
51635
+ bitmap.setTransform(bitmap.x, bitmap.y, scale, scale);
51636
+
51637
+ _fingerBitmap.setTransform(_fingerBitmap.x, _fingerBitmap.y, fingerscale, fingerscale);
51638
+
51639
+ var hitArea = new createjs.Shape();
51640
+ hitArea.graphics.beginFill('#000000').drawRect(_fingerBitmap.x, 0, fingerWidth * fingerscale, fingerHeight * fingerscale); //这里是图片大小
51641
+
51642
+ bitmap.hitArea = hitArea;
51643
+ _fingerBitmap.hitArea = hitArea;
51644
+ updateSign();
51645
+ };
51646
+ } else {
51647
+ _this2._dWidth = hitWidth * scale;
51648
+ node.imgWidth = _this2._dWidth;
51649
+ node.imgHeight = hoEditorFactory.signHeight;
51650
+ bitmap.setTransform(0, -(hitHeight * scale + currentLineHeight) / 2, scale, scale);
51651
+ updateSign();
51652
+ }
51653
+ };
51654
+ }
51548
51655
  }
51549
51656
  };
51550
51657
 
@@ -51563,12 +51670,14 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51563
51670
  } // hoEditorFactory.drawTree.updateDrawTreeFirstLine();
51564
51671
 
51565
51672
 
51566
- hoEditorFactory.drawTree.rebuildArea("main", false);
51673
+ hoEditorFactory.drawTree.rebuildArea('main', false);
51567
51674
  }
51568
51675
 
51569
- hoEditorFactory.loadImageCount--;
51676
+ if (drawNode.imgSrc) {
51677
+ hoEditorFactory.loadImageCount--;
51678
+ }
51570
51679
 
51571
- if (drawNode.fingerPrintSrc !== "") {
51680
+ if (drawNode.fingerPrintSrc) {
51572
51681
  hoEditorFactory.loadImageCount--;
51573
51682
  }
51574
51683
  };
@@ -51617,19 +51726,19 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51617
51726
 
51618
51727
  bitmap.setTransform(0, -hoEditorFactory.signHeight, width / hitWidth, drawNode.dHeight / hitHeight);
51619
51728
  var hitArea = new createjs.Shape();
51620
- hitArea.graphics.beginFill("#000").drawRect(0, 0, drawNode.dWidth, drawNode.dHeight); //这里是图片大小
51729
+ hitArea.graphics.beginFill('#000').drawRect(0, 0, drawNode.dWidth, drawNode.dHeight); //这里是图片大小
51621
51730
 
51622
51731
  bitmap.hitArea = hitArea;
51623
51732
 
51624
- if (_this3.imgSrc.indexOf("data:image/") != -1 && _this3.imgSrc.indexOf("data:image/png") == -1) {
51625
- var canvas = document.createElement("canvas");
51733
+ if (_this3.imgSrc.indexOf('data:image/') != -1 && _this3.imgSrc.indexOf('data:image/png') == -1) {
51734
+ var canvas = document.createElement('canvas');
51626
51735
  canvas.width = image.naturalWidth;
51627
51736
  canvas.height = image.naturalHeight;
51628
- var ctx = canvas.getContext("2d");
51629
- ctx.fillStyle = "#FFFFFF";
51737
+ var ctx = canvas.getContext('2d');
51738
+ ctx.fillStyle = '#FFFFFF';
51630
51739
  ctx.fillRect(0, 0, image.naturalWidth, image.naturalHeight);
51631
51740
  ctx.drawImage(image, 0, 0, image.naturalWidth, image.naturalHeight);
51632
- _this3.node.imgSrc = canvas.toDataURL("image/png");
51741
+ _this3.node.imgSrc = canvas.toDataURL('image/png');
51633
51742
  _this3.node.PNGToJPG = 1;
51634
51743
  }
51635
51744
 
@@ -51656,18 +51765,18 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51656
51765
  return hoEditorFactory.loadImageCount--;
51657
51766
  };
51658
51767
  } else {
51659
- var signArr = _this3.imgSrc.split("\n");
51768
+ var signArr = _this3.imgSrc.split('\n');
51660
51769
 
51661
51770
  if (signArr.length === 1) {
51662
- var drawText2 = new createjs.Text(_this3.imgSrc, _this3.textStyle, "#000000");
51663
- drawText2.textBaseline = "alphabetic";
51664
- drawText2.textAlign = "left";
51771
+ var drawText2 = new createjs.Text(_this3.imgSrc, _this3.textStyle, '#000000');
51772
+ drawText2.textBaseline = 'alphabetic';
51773
+ drawText2.textAlign = 'left';
51665
51774
  var rect = drawText2.getBounds();
51666
51775
 
51667
51776
  if (rect) {
51668
51777
  drawText2.y = _this3.y;
51669
51778
 
51670
- if (_this3.number === 1 || isFront && _this3.number > 1 || _this3.node.connectMode === "换行") {
51779
+ if (_this3.number === 1 || isFront && _this3.number > 1 || _this3.node.connectMode === '换行') {
51671
51780
  drawText2.x = 0;
51672
51781
  } else {
51673
51782
  drawText2.x = _this3._drawText.getMeasuredWidth();
@@ -51677,16 +51786,16 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51677
51786
  _this3.addChild(drawText2);
51678
51787
  } else {
51679
51788
  for (var i = 0; i < signArr.length; i++) {
51680
- var aText = new createjs.Text(signArr[i], _this3.textStyle, "#000000");
51681
- aText.textBaseline = "alphabetic";
51682
- aText.textAlign = "left";
51789
+ var aText = new createjs.Text(signArr[i], _this3.textStyle, '#000000');
51790
+ aText.textBaseline = 'alphabetic';
51791
+ aText.textAlign = 'left';
51683
51792
 
51684
51793
  var _rect = aText.getBounds();
51685
51794
 
51686
51795
  if (_rect) {
51687
51796
  aText.y = _this3.dHeight / signArr.length * (i + 1) - _this3.dHeight; //aText.y = -this.dHeight / (i + 1);
51688
51797
 
51689
- if (_this3.number === 1 || isFront && _this3.number > 1 || _this3.node.connectMode === "换行") {
51798
+ if (_this3.number === 1 || isFront && _this3.number > 1 || _this3.node.connectMode === '换行') {
51690
51799
  aText.x = 0;
51691
51800
  } else {
51692
51801
  aText.x = _this3._drawText.getMeasuredWidth();
@@ -51700,9 +51809,9 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51700
51809
  };
51701
51810
 
51702
51811
  if (this.number === 0) {
51703
- var drawText1 = new createjs.Text(this.signName, this.textStyle, "#838586");
51704
- drawText1.textBaseline = "alphabetic";
51705
- drawText1.textAlign = "left";
51812
+ var drawText1 = new createjs.Text(this.signName, this.textStyle, '#838586');
51813
+ drawText1.textBaseline = 'alphabetic';
51814
+ drawText1.textAlign = 'left';
51706
51815
  var rect = drawText1.getBounds();
51707
51816
 
51708
51817
  if (rect) {
@@ -51730,37 +51839,37 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51730
51839
  var connectMode = this.node.connectMode;
51731
51840
  var line = new createjs.Shape();
51732
51841
 
51733
- if (connectMode === "/") {
51842
+ if (connectMode === '/') {
51734
51843
  if (this.type === 1) {
51735
51844
  if (isFront) {
51736
- line.graphics.beginStroke("#000000").moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 0).lineTo(this.dWidth, -this.dHeight);
51845
+ line.graphics.beginStroke('#000000').moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 0).lineTo(this.dWidth, -this.dHeight);
51737
51846
  } else {
51738
- line.graphics.beginStroke("#000000").moveTo(0, 0).lineTo(this._drawText.getMeasuredWidth(), -this.dHeight);
51847
+ line.graphics.beginStroke('#000000').moveTo(0, 0).lineTo(this._drawText.getMeasuredWidth(), -this.dHeight);
51739
51848
  }
51740
51849
  } else {
51741
- var signArr = this.imgSrc.split("\n");
51742
- var theHeight = new createjs.Text(this.imgSrc, this.textStyle, "#000000").getMeasuredHeight();
51850
+ var signArr = this.imgSrc.split('\n');
51851
+ var theHeight = new createjs.Text(this.imgSrc, this.textStyle, '#000000').getMeasuredHeight();
51743
51852
 
51744
51853
  if (signArr.length > 1) {
51745
51854
  for (var i = 1; i < signArr.length; i++) {
51746
- var aText = new createjs.Text(signArr[i], this.textStyle, "#000000");
51855
+ var aText = new createjs.Text(signArr[i], this.textStyle, '#000000');
51747
51856
  theHeight = theHeight + aText.getMeasuredHeight();
51748
51857
  }
51749
51858
  }
51750
51859
 
51751
51860
  if (isFront) {
51752
- line.graphics.beginStroke("#000000").moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 2).lineTo(this.dWidth, -theHeight - 2);
51861
+ line.graphics.beginStroke('#000000').moveTo(this.dWidth - this._drawText.getMeasuredWidth(), 2).lineTo(this.dWidth, -theHeight - 2);
51753
51862
  } else {
51754
- line.graphics.beginStroke("#000000").moveTo(0, 2).lineTo(this._drawText.getMeasuredWidth(), -theHeight - 2);
51863
+ line.graphics.beginStroke('#000000').moveTo(0, 2).lineTo(this._drawText.getMeasuredWidth(), -theHeight - 2);
51755
51864
  }
51756
51865
  }
51757
51866
 
51758
51867
  this.addChildAt(line);
51759
- } else if (connectMode === "换行") {
51868
+ } else if (connectMode === '换行') {
51760
51869
  return;
51761
51870
  } else {
51762
- this._drawText.textBaseline = "alphabetic";
51763
- this._drawText.textAlign = "left";
51871
+ this._drawText.textBaseline = 'alphabetic';
51872
+ this._drawText.textAlign = 'left';
51764
51873
 
51765
51874
  var rect = this._drawText.getBounds();
51766
51875
 
@@ -54776,6 +54885,11 @@ var Caret = /*#__PURE__*/function () {
54776
54885
  this.div_cursor.style.height = Math.max(val, 12) * DrawConfig/* DrawConfig.instance */.f.instance().scaleXY + "px"; // this.updateCaret();
54777
54886
  }
54778
54887
  }
54888
+ }, {
54889
+ key: "X",
54890
+ get: function get() {
54891
+ return this.x;
54892
+ }
54779
54893
  }, {
54780
54894
  key: "Y",
54781
54895
  get: function get() {
@@ -62479,7 +62593,7 @@ var NodeStyleUndoUnit = /*#__PURE__*/function () {
62479
62593
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39873);
62480
62594
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37174);
62481
62595
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35671);
62482
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(22342);
62596
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(22342);
62483
62597
  /* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66992);
62484
62598
  /* 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__);
62485
62599
  /* harmony import */ var core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(51532);
@@ -62494,28 +62608,34 @@ var NodeStyleUndoUnit = /*#__PURE__*/function () {
62494
62608
  /* 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__);
62495
62609
  /* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(21703);
62496
62610
  /* 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__);
62497
- /* harmony import */ var _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23375);
62498
- /* harmony import */ var _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(91538);
62499
- /* harmony import */ var _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34534);
62500
- /* harmony import */ var _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(98199);
62501
- /* harmony import */ var _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(66828);
62502
- /* harmony import */ var _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(58416);
62503
- /* harmony import */ var _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(13113);
62504
- /* harmony import */ var _UndoService__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(48508);
62505
- /* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(34565);
62506
- /* harmony import */ var _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(15868);
62507
- /* harmony import */ var _events_Exception__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(88702);
62508
- /* harmony import */ var _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(14208);
62509
- /* harmony import */ var _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(15798);
62510
- /* harmony import */ var _draw_SelectRange__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(1470);
62511
- /* harmony import */ var _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(95883);
62512
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(41005);
62513
- /* harmony import */ var _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(8395);
62514
- /* harmony import */ var _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(89050);
62515
- /* harmony import */ var _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(36395);
62516
- /* harmony import */ var _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(98390);
62517
- /* harmony import */ var _NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(12019);
62518
- /* harmony import */ var _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(34450);
62611
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(26699);
62612
+ /* 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__);
62613
+ /* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(32023);
62614
+ /* 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__);
62615
+ /* harmony import */ var _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(23375);
62616
+ /* harmony import */ var _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(91538);
62617
+ /* harmony import */ var _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(34534);
62618
+ /* harmony import */ var _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(98199);
62619
+ /* harmony import */ var _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(66828);
62620
+ /* harmony import */ var _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(58416);
62621
+ /* harmony import */ var _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(13113);
62622
+ /* harmony import */ var _UndoService__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(48508);
62623
+ /* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(34565);
62624
+ /* harmony import */ var _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(15868);
62625
+ /* harmony import */ var _events_Exception__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(88702);
62626
+ /* harmony import */ var _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(14208);
62627
+ /* harmony import */ var _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(15798);
62628
+ /* harmony import */ var _draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(1470);
62629
+ /* harmony import */ var _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(95883);
62630
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(41005);
62631
+ /* harmony import */ var _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(8395);
62632
+ /* harmony import */ var _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(89050);
62633
+ /* harmony import */ var _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(36395);
62634
+ /* harmony import */ var _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(98390);
62635
+ /* harmony import */ var _NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(12019);
62636
+ /* harmony import */ var _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(34450);
62637
+
62638
+
62519
62639
 
62520
62640
 
62521
62641
 
@@ -62574,10 +62694,10 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62574
62694
  this._startPath = startPath;
62575
62695
  this._endPath = endPath;
62576
62696
  this._isForceDelete = isForceDelete;
62577
- this._undo = new _UndoService__WEBPACK_IMPORTED_MODULE_19__/* .UndoService */ .O(this._hoEditorFactoryID); //hoEditorFactory.undoService;
62697
+ this._undo = new _UndoService__WEBPACK_IMPORTED_MODULE_21__/* .UndoService */ .O(this._hoEditorFactoryID); //hoEditorFactory.undoService;
62578
62698
 
62579
62699
  this._undoNodes = new Map();
62580
- var aDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(hoEditorFactoryID, startPath, endPath).normalize();
62700
+ var aDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(hoEditorFactoryID, startPath, endPath).normalize();
62581
62701
 
62582
62702
  var _aDomRange$inSameTabl = aDomRange.inSameTable(),
62583
62703
  _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),
@@ -62586,10 +62706,10 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62586
62706
 
62587
62707
  this._bSameTable = bSametable;
62588
62708
  this._opTime = new Date();
62589
- this._affectText = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).vueController.getRangeText(aDomRange);
62709
+ this._affectText = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).vueController.getRangeText(aDomRange);
62590
62710
  }
62591
62711
 
62592
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .Z)(NodesDeleteUndoUnit, [{
62712
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_36__/* ["default"] */ .Z)(NodesDeleteUndoUnit, [{
62593
62713
  key: "undo",
62594
62714
  value: function undo() {
62595
62715
  //2.插入删除的节点
@@ -62601,12 +62721,12 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62601
62721
  var arr = Array.from(this._undoNodes).reverse();
62602
62722
  var i = 0;
62603
62723
  var prevIsTable = false;
62604
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62724
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62605
62725
 
62606
62726
  while (i < arr.length) {
62607
62727
  var value = arr[i];
62608
62728
 
62609
- if (value[1] instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_24__/* .CellNode */ .D) {// (value[1] as CellNode).redrawCell(true, DocAction.daInsert);
62729
+ if (value[1] instanceof _dom_treeNode_CellNode__WEBPACK_IMPORTED_MODULE_26__/* .CellNode */ .D) {// (value[1] as CellNode).redrawCell(true, DocAction.daInsert);
62610
62730
  } else {
62611
62731
  if (prevIsTable) {
62612
62732
  hoEditorFactory.docTree.insertNodeAfterNode(arr[i - 1][1], arr[i][1]);
@@ -62614,12 +62734,12 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62614
62734
  hoEditorFactory.docTree.insertNodeAfterPath(value[0], value[1]);
62615
62735
  }
62616
62736
 
62617
- if (value[1] instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_26__/* .TableNode */ .Fh) {
62737
+ if (value[1] instanceof _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_28__/* .TableNode */ .Fh) {
62618
62738
  prevIsTable = true; // value[1].clearDrawNodes();
62619
62739
  // value[1].drawTable.drawPageTables.length = 0;
62620
62740
 
62621
62741
  var np = hoEditorFactory.docTree.findNodePositionByPath(value[0]);
62622
- if (np && np.node && np.node instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_23__/* .ParagraphNode */ .C) value[1].drawTable.paragraphNode = np.node;
62742
+ if (np && np.node && np.node instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_25__/* .ParagraphNode */ .C) value[1].drawTable.paragraphNode = np.node;
62623
62743
  } else {
62624
62744
  prevIsTable = false;
62625
62745
  }
@@ -62629,7 +62749,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62629
62749
  }
62630
62750
 
62631
62751
  var aendPaht = hoEditorFactory.docTree.getNodeLastPath(arr[arr.length - 1][1]);
62632
- 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);
62752
+ 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);
62633
62753
  hoEditorFactory.docTree.change(changeEvent); //3.合并拆分节点
62634
62754
 
62635
62755
  while (!this._undo.atBottom()) {
@@ -62657,9 +62777,9 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62657
62777
  //选中范围变化事件
62658
62778
 
62659
62779
 
62660
- var newRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._startPath, this._endPath).normalize();
62780
+ var newRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._startPath, this._endPath).normalize();
62661
62781
  hoEditorFactory.docTree.curDomRange = newRange;
62662
- var cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_18__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, newRange);
62782
+ var cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, newRange);
62663
62783
  hoEditorFactory.docTree.selectChange(cgEvent); //光标定位
62664
62784
 
62665
62785
  hoEditorFactory.drawTree.moveCaretToPath(newRange.endPath);
@@ -62678,7 +62798,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62678
62798
  }, {
62679
62799
  key: "MoveCaret",
62680
62800
  value: function MoveCaret(path) {
62681
- _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.moveCaretToPath(path);
62801
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID).drawTree.moveCaretToPath(path);
62682
62802
  }
62683
62803
  /**
62684
62804
  * @description 返回前面一个node的开始结束选中范围 文本节点时候返回文本中单个文字的选中范围
@@ -62689,30 +62809,30 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62689
62809
  key: "getPrevNodeDomRange",
62690
62810
  value: function getPrevNodeDomRange(Anode) {
62691
62811
  var spath;
62692
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62812
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62693
62813
  var prev = Anode.prevSibling();
62694
62814
 
62695
62815
  if (!prev) {
62696
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62816
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62697
62817
  }
62698
62818
 
62699
62819
  var epath = hoEditorFactory.docTree.getNodeLastPath(prev);
62700
62820
 
62701
- if (prev instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R) {
62821
+ if (prev instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R) {
62702
62822
  spath = prev.prevPath(epath);
62703
- } else if (prev instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_23__/* .ParagraphNode */ .C) {
62823
+ } else if (prev instanceof _dom_treeNode_ParagraphNode__WEBPACK_IMPORTED_MODULE_25__/* .ParagraphNode */ .C) {
62704
62824
  spath = epath;
62705
62825
  } else {
62706
62826
  var prev1 = prev.previousLeaf();
62707
62827
 
62708
62828
  if (!prev1) {
62709
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62829
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62710
62830
  }
62711
62831
 
62712
62832
  spath = hoEditorFactory.docTree.getNodeLastPath(prev1);
62713
62833
  }
62714
62834
 
62715
- return new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, spath, epath);
62835
+ return new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, spath, epath);
62716
62836
  }
62717
62837
  /**
62718
62838
  *
@@ -62726,23 +62846,23 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62726
62846
  }, {
62727
62847
  key: "deleteRange",
62728
62848
  value: function deleteRange(endpath, startpath) {
62729
- var currRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, startpath, endpath).normalize(); //拆分更新节点,更新删除范围 this._tmp
62849
+ var currRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, startpath, endpath).normalize(); //拆分更新节点,更新删除范围 this._tmp
62730
62850
 
62731
62851
  if (!this.spliteNode(currRange)) {
62732
62852
  return 0;
62733
62853
  }
62734
62854
 
62735
- var newDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.end);
62736
- if (!newDomRange.npStart.node) throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62737
- if (!newDomRange.npEnd.node) throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62855
+ var newDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.end);
62856
+ if (!newDomRange.npStart.node) throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62857
+ if (!newDomRange.npEnd.node) throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62738
62858
  var aStart = newDomRange.npStart.node;
62739
62859
 
62740
62860
  if (currRange.startMainNode) {
62741
62861
  aStart = currRange.startMainNode;
62742
62862
  }
62743
62863
 
62744
- var nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._tmp.start, this._tmp.end);
62745
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID); // this.DeleteBaseCombineNodeContent(
62864
+ var nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._tmp.start, this._tmp.end);
62865
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID); // this.DeleteBaseCombineNodeContent(
62746
62866
  // newDomRange,
62747
62867
  // newDomRange.npEnd.node,
62748
62868
  // aStart,
@@ -62867,7 +62987,8 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62867
62987
  }, {
62868
62988
  key: "spliteNode",
62869
62989
  value: function spliteNode(Arange) {
62870
- var _this = this;
62990
+ var _this = this,
62991
+ _s$parentNode$downLis;
62871
62992
 
62872
62993
  var s = Arange.npStart.node;
62873
62994
  var e = Arange.npEnd.node;
@@ -62877,10 +62998,10 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62877
62998
  * @param Anode
62878
62999
  */
62879
63000
 
62880
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63001
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
62881
63002
 
62882
63003
  var forMarkNode = function forMarkNode(Anode) {
62883
- if (Anode.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re) {
63004
+ if (Anode.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re) {
62884
63005
  var pTINode = Anode.parentNode;
62885
63006
 
62886
63007
  if (pTINode.isEmpty() || !pTINode.canModifyContent) {
@@ -62888,11 +63009,11 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62888
63009
  var tmp = pTINode.previousLeaf();
62889
63010
 
62890
63011
  if (!tmp) {
62891
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63012
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62892
63013
  }
62893
63014
 
62894
63015
  info[0] = 0;
62895
- info[1] = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(_this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeLastPath(tmp), hoEditorFactory.docTree.getNodeLastPath(pTINode));
63016
+ info[1] = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(_this._hoEditorFactoryID, hoEditorFactory.docTree.getNodeLastPath(tmp), hoEditorFactory.docTree.getNodeLastPath(pTINode));
62896
63017
  } else {
62897
63018
  if (Anode == pTINode.last()) {
62898
63019
  //递归调用删除
@@ -62918,18 +63039,20 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62918
63039
  };
62919
63040
 
62920
63041
  if (!(s && e)) {
62921
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63042
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
62922
63043
  }
62923
63044
 
62924
63045
  this._tmp.start = Arange.startPath;
62925
- 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)) {
62926
- // return true;
62927
- // }
63046
+ this._tmp.end = Arange.endPath;
63047
+
63048
+ 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("<元素>")) {
63049
+ return true;
63050
+ }
62928
63051
 
62929
63052
  if (s === e) {
62930
- if (s instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R) {
63053
+ if (s instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R) {
62931
63054
  // HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange = Arange;
62932
- var tmp = new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_17__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.startPath, s, Arange);
63055
+ var tmp = new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_19__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.startPath, s, Arange);
62933
63056
 
62934
63057
  this._undo.begin();
62935
63058
 
@@ -62938,7 +63061,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62938
63061
  this._undo.commit();
62939
63062
 
62940
63063
  this._tmp.end = hoEditorFactory.docTree.getNodeLastPath(tmp.theNode);
62941
- } else if (s instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_21__/* .MarkNode */ .j) {
63064
+ } else if (s instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j) {
62942
63065
  forMarkNode(s);
62943
63066
 
62944
63067
  if (info[0] == 0 && info[1]) {
@@ -62955,8 +63078,8 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62955
63078
  } else {
62956
63079
  var _tmp3 = null;
62957
63080
 
62958
- if (e instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R && Arange.npEnd.childIndex >= 0 && Arange.npEnd.childIndex < e.getLength() - 1) {
62959
- _tmp3 = new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_17__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.endPath, e, Arange);
63081
+ if (e instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R && Arange.npEnd.childIndex >= 0 && Arange.npEnd.childIndex < e.getLength() - 1) {
63082
+ _tmp3 = new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_19__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.endPath, e, Arange);
62960
63083
 
62961
63084
  this._undo.begin();
62962
63085
 
@@ -62965,22 +63088,22 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62965
63088
  this._undo.commit();
62966
63089
  }
62967
63090
 
62968
- if (s instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R && Arange.npStart.childIndex >= 0 && Arange.npStart.childIndex < s.getLength() - 1) {
63091
+ if (s instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R && Arange.npStart.childIndex >= 0 && Arange.npStart.childIndex < s.getLength() - 1) {
62969
63092
  this._undo.begin();
62970
63093
 
62971
- this._undo.add(new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_17__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.startPath, s, Arange));
63094
+ this._undo.add(new _TextNodeSplitUndoUnit__WEBPACK_IMPORTED_MODULE_19__/* .TextNodeSplitUndoUnit */ .W(this._hoEditorFactoryID, Arange.startPath, s, Arange));
62972
63095
 
62973
63096
  this._undo.commit();
62974
63097
  }
62975
63098
 
62976
- if (e instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_21__/* .MarkNode */ .j) {
63099
+ if (e instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j) {
62977
63100
  forMarkNode(e);
62978
63101
 
62979
63102
  if (info[0] == 0 && info[1]) {
62980
63103
  this._tmp.end = info[1].endPath; // return this.spliteNode(new DomRange(this._tmp.start, this._tmp.end));
62981
63104
  } else if ((info[0] == 1 || info[0] == 2) && info[1]) {
62982
63105
  this._tmp.end = info[1].endPath;
62983
- return this.spliteNode(new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.end));
63106
+ return this.spliteNode(new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.end));
62984
63107
  }
62985
63108
  }
62986
63109
 
@@ -62996,15 +63119,15 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
62996
63119
  }, {
62997
63120
  key: "ParentRepaint",
62998
63121
  value: function ParentRepaint(Anode) {
62999
- if (Anode && Anode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re) {
63000
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63122
+ if (Anode && Anode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re) {
63123
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63001
63124
 
63002
63125
  if (Anode.childNodes.length === 2) {
63003
63126
  var contentMarkNode = Anode.childNodes2[1];
63004
63127
  contentMarkNode.styleIndex = Anode.childNodes[0].styleIndex;
63005
63128
  var insertPath = hoEditorFactory.docTree.getNodeLastPath(Anode.childNodes[0]);
63006
63129
  hoEditorFactory.undoService.begin();
63007
- hoEditorFactory.undoService.add(new _NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_32__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, insertPath, contentMarkNode));
63130
+ hoEditorFactory.undoService.add(new _NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, insertPath, contentMarkNode));
63008
63131
  hoEditorFactory.undoService.commit();
63009
63132
  }
63010
63133
 
@@ -63029,16 +63152,16 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63029
63152
  switch (_context.prev = _context.next) {
63030
63153
  case 0:
63031
63154
  this.initParam();
63032
- currRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange */ .a(this._hoEditorFactoryID, this._startPath, this._endPath).normalize();
63033
- hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_27__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63155
+ currRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._startPath, this._endPath).normalize();
63156
+ hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_29__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
63034
63157
  hoEditorFactory.docTree.curDomRange = currRange;
63035
63158
 
63036
- if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psReview */ .Dh.psReview)) {
63159
+ if (!(hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psReview */ .Dh.psReview)) {
63037
63160
  _context.next = 10;
63038
63161
  break;
63039
63162
  }
63040
63163
 
63041
- if (!(currRange.npEnd.node && currRange.npEnd.node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_13__/* .TextNode */ .R)) {
63164
+ if (!(currRange.npEnd.node && currRange.npEnd.node instanceof _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_15__/* .TextNode */ .R)) {
63042
63165
  _context.next = 10;
63043
63166
  break;
63044
63167
  }
@@ -63055,7 +63178,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63055
63178
  return _context.abrupt("return");
63056
63179
 
63057
63180
  case 10:
63058
- nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_16__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._startPath, this._endPath); // const npFirst = hoEditorFactory.docTree.findNodePositionByPath(this._startPath);
63181
+ nodes = _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange.getSelectDomNodesForDelete */ .a.getSelectDomNodesForDelete(this._hoEditorFactoryID, this._startPath, this._endPath); // const npFirst = hoEditorFactory.docTree.findNodePositionByPath(this._startPath);
63059
63182
  // if (npFirst && npFirst.node) {
63060
63183
  // //const parentNode = hoEditorFactory.docTree.getParentNode(this._startPath);
63061
63184
  // //if (parentNode) {
@@ -63066,8 +63189,8 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63066
63189
  // }
63067
63190
  //if(nodes.length == 0) return;
63068
63191
 
63069
- if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63070
- _context.next = 33;
63192
+ if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63193
+ _context.next = 34;
63071
63194
  break;
63072
63195
  }
63073
63196
 
@@ -63075,13 +63198,13 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63075
63198
 
63076
63199
  case 13:
63077
63200
  if (!(n < nodes.length)) {
63078
- _context.next = 33;
63201
+ _context.next = 34;
63079
63202
  break;
63080
63203
  }
63081
63204
 
63082
63205
  node = nodes[n];
63083
63206
 
63084
- 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)) {
63207
+ 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)) {
63085
63208
  _context.next = 18;
63086
63209
  break;
63087
63210
  }
@@ -63091,31 +63214,35 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63091
63214
  return _context.abrupt("return", 0);
63092
63215
 
63093
63216
  case 18:
63094
- if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_28__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re)) {
63095
- _context.next = 27;
63217
+ 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) {
63218
+ hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
63219
+ }
63220
+
63221
+ if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
63222
+ _context.next = 28;
63096
63223
  break;
63097
63224
  }
63098
63225
 
63099
63226
  if (node.isAllowDelete) {
63100
- _context.next = 27;
63227
+ _context.next = 28;
63101
63228
  break;
63102
63229
  }
63103
63230
 
63104
63231
  tip = "";
63105
63232
 
63106
- if (node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_29__/* .RadioAndCheckBoxNode */ .Yh && node.controlStyle === "RadioBox") {
63233
+ if (node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_31__/* .RadioAndCheckBoxNode */ .Yh && node.controlStyle === "RadioBox") {
63107
63234
  tip = "单选框";
63108
63235
  }
63109
63236
 
63110
- if (node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_29__/* .RadioAndCheckBoxNode */ .Yh && node.controlStyle === "CheckBox") {
63237
+ if (node instanceof _dom_treeNode_RadioAndCheckBoxNode__WEBPACK_IMPORTED_MODULE_31__/* .RadioAndCheckBoxNode */ .Yh && node.controlStyle === "CheckBox") {
63111
63238
  tip = "复选框";
63112
63239
  }
63113
63240
 
63114
- if (node instanceof _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_30__/* .DateTimeNode */ .Z) {
63241
+ if (node instanceof _dom_treeNode_DateTimeNode__WEBPACK_IMPORTED_MODULE_32__/* .DateTimeNode */ .Z) {
63115
63242
  tip = "日期时间";
63116
63243
  }
63117
63244
 
63118
- if (node instanceof _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_31__/* .DownListNode */ .yF) {
63245
+ if (node instanceof _dom_treeNode_DownListNode__WEBPACK_IMPORTED_MODULE_33__/* .DownListNode */ .yF) {
63119
63246
  tip = "下拉列表";
63120
63247
  }
63121
63248
 
@@ -63123,9 +63250,9 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63123
63250
 
63124
63251
  return _context.abrupt("return", 0);
63125
63252
 
63126
- case 27:
63127
- if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_33__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63128
- _context.next = 30;
63253
+ case 28:
63254
+ if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63255
+ _context.next = 31;
63129
63256
  break;
63130
63257
  }
63131
63258
 
@@ -63133,16 +63260,16 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63133
63260
 
63134
63261
  return _context.abrupt("return", 0);
63135
63262
 
63136
- case 30:
63263
+ case 31:
63137
63264
  n++;
63138
63265
  _context.next = 13;
63139
63266
  break;
63140
63267
 
63141
- case 33:
63268
+ case 34:
63142
63269
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
63143
63270
 
63144
- if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_20__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63145
- _context.next = 39;
63271
+ if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63272
+ _context.next = 40;
63146
63273
  break;
63147
63274
  }
63148
63275
 
@@ -63155,24 +63282,24 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63155
63282
  });
63156
63283
 
63157
63284
  if (_res[0]) {
63158
- _context.next = 39;
63285
+ _context.next = 40;
63159
63286
  break;
63160
63287
  }
63161
63288
 
63162
63289
  return _context.abrupt("return");
63163
63290
 
63164
- case 39:
63165
- 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函数完成后调用这个
63291
+ case 40:
63292
+ 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函数完成后调用这个
63166
63293
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
63167
63294
 
63168
63295
  if (currRange.npStart.node && currRange.npEnd.node) {
63169
- _context.next = 42;
63296
+ _context.next = 43;
63170
63297
  break;
63171
63298
  }
63172
63299
 
63173
- throw _events_Exception__WEBPACK_IMPORTED_MODULE_22__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63300
+ throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63174
63301
 
63175
- case 42:
63302
+ case 43:
63176
63303
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
63177
63304
  // this._hoEditorFactory,
63178
63305
  // currRange.startPath,
@@ -63181,37 +63308,37 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63181
63308
  startPath = currRange.startPath;
63182
63309
  endPath = currRange.endPath;
63183
63310
  changeEvent.oldEndPath = endPath;
63184
- changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_25__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, endPath);
63311
+ changeEvent.oldDrawTreeLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_27__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawTreeLines(startPath, endPath);
63185
63312
  res = this.deleteRange(currRange.endPath, currRange.startPath);
63186
63313
 
63187
63314
  if (!(res == 1)) {
63188
- _context.next = 54;
63315
+ _context.next = 55;
63189
63316
  break;
63190
63317
  }
63191
63318
 
63192
63319
  changeEvent.beforeChangePath = startPath;
63193
63320
  changeEvent.afterChangePath = this._tmp.start;
63194
- _context.next = 52;
63321
+ _context.next = 53;
63195
63322
  return hoEditorFactory.docTree.change(changeEvent);
63196
63323
 
63197
- case 52:
63198
- 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));
63324
+ case 53:
63325
+ 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));
63199
63326
  hoEditorFactory.docTree.selectChange(cgEvent);
63200
63327
 
63201
- case 54:
63328
+ case 55:
63202
63329
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
63203
63330
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
63204
63331
  aNode = currRange.npStart.node;
63205
63332
 
63206
63333
  if (!(aNode && pnode)) {
63207
- _context.next = 60;
63334
+ _context.next = 61;
63208
63335
  break;
63209
63336
  }
63210
63337
 
63211
- _context.next = 60;
63338
+ _context.next = 61;
63212
63339
  return this.ParentRepaint(pnode);
63213
63340
 
63214
- case 60:
63341
+ case 61:
63215
63342
  case "end":
63216
63343
  return _context.stop();
63217
63344
  }
@@ -99492,7 +99619,8 @@ if(element.nodeName==="IMG"&&element.hasAttribute("src")){var src=""+element.get
99492
99619
  if(src.indexOf("data:image/")===0){return atob(unescape(src).split("base64,").pop());}//it is probably an url, try to load it
99493
99620
  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
99494
99621
  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
99495
- if(rotation){this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99622
+ if(rotation){// 自定义修改 修复图片旋转后位置错误问题 水平方向增加自身宽度 减去的 18px 来源未知 垂直方向减去自身高度
99623
+ 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
99496
99624
  this.internal.write(rotationTransformationMatrix.join(" "));//Rotate
99497
99625
  this.internal.write([coord(width),"0","0",coord(height),"0","0","cm"].join(" "));//Scale
99498
99626
  }else{this.internal.write([coord(width),"0","0",coord(height),coord(x),vcoord(y+height),"cm"].join(" "));//Translate and Scale
@@ -99602,7 +99730,7 @@ out+=String.fromCharCode.apply(null,buf.subarray(i,i+ARRAY_APPLY_BATCH));}return
99602
99730
  *
99603
99731
  * @returns jsPDF
99604
99732
  */jsPDFAPI.addImage=function(){// 自定义修改 处理签名图片打印
99605
- 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
99733
+ 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
99606
99734
  var filter=this.internal.getFilters();if(compression===undefined&&filter.indexOf("FlateEncode")!==-1){compression="SLOW";}// 自定义修改 调整 addImage 方法的 compression值压缩图片
99607
99735
  compression='SLOW';if(isNaN(x)||isNaN(y)){throw new Error("Invalid coordinates passed to jsPDF.addImage");}// if(posX) x += posX;
99608
99736
  // if(posY) y += posY;
@@ -100403,7 +100531,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
100403
100531
  * @param height {Number} Optional. The height of the image to use (stretch or reduce the image)
100404
100532
  */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
100405
100533
  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);
100406
- 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;// 自定义修改 处理签名图片打印和普通图片打印
100534
+ // 自定义修改 修复图片旋转角度错误问题
100535
+ 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;// 自定义修改 处理签名图片打印和普通图片打印
100407
100536
  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"){// 自定义修改
100408
100537
  this.pdf.addImage(img.toDataURL("image/png"),'',xRect.x,xRect.y,xRect.w,xRect.h);}else{// 自定义修改
100409
100538
  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;};/**
@@ -199103,8 +199232,8 @@ var es_function_name = __webpack_require__(68309);
199103
199232
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
199104
199233
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(13797);
199105
199234
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
199106
- ;// 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&
199107
- 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()}
199235
+ ;// 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&
199236
+ 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()}
199108
199237
  var staticRenderFns = []
199109
199238
 
199110
199239
 
@@ -200029,9 +200158,9 @@ function isPromise(obj) {
200029
200158
  return obj instanceof Promise || (obj && typeof obj.then === 'function');
200030
200159
  }
200031
200160
 
200032
- ;// 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&
200033
- 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)}
200034
- var HoDocvue_type_template_id_4a474bf6_staticRenderFns = []
200161
+ ;// 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&
200162
+ 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)}
200163
+ var HoDocvue_type_template_id_4a9748a4_staticRenderFns = []
200035
200164
 
200036
200165
 
200037
200166
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
@@ -201887,11 +202016,11 @@ var HoToPage_component = normalizeComponent(
201887
202016
  /* harmony default export */ var backToPage = (HoToPage);
201888
202017
  // EXTERNAL MODULE: ./src/plugins/util.ts
201889
202018
  var util = __webpack_require__(33913);
201890
- ;// 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&
201891
- 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){
202019
+ ;// 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&
202020
+ 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){
201892
202021
  var item = ref.item;
201893
202022
  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()])}
201894
- var PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns = []
202023
+ var PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns = []
201895
202024
 
201896
202025
 
201897
202026
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
@@ -204593,12 +204722,12 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204593
204722
  // } else {
204594
204723
  v.id = String(v.id); // }
204595
204724
 
204596
- v.default = false;
204725
+ v.selected = false;
204597
204726
 
204598
204727
  if (selectedString.length > 0 && selectedString.filter(function (m) {
204599
204728
  return v.id == m;
204600
204729
  }).length === 1) {
204601
- v.default = true;
204730
+ v.selected = true;
204602
204731
 
204603
204732
  if (_this2.isAllowMultiSelect && _this2.poperSelectList.length >= 20) {
204604
204733
  _this2.selectedList[selectedString.indexOf(v.id)] = v;
@@ -204805,7 +204934,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204805
204934
  selectItemIndex = index;
204806
204935
  }
204807
204936
  });
204808
- item.default = false;
204937
+ item.selected = false;
204809
204938
  this.poperSelectList.splice(selectItemIndex, 1, item); // this.selectedList.splice(key, 1, item);
204810
204939
 
204811
204940
  this.currentList = this.currentList.filter(function (m) {
@@ -204831,16 +204960,16 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204831
204960
  if (value.length > 0) {
204832
204961
  this.poperSelectList.forEach(function (v) {
204833
204962
  if (value.includes(v.id)) {
204834
- v.default = true;
204963
+ v.selected = true;
204835
204964
  _this5.mutexType = String(v.type);
204836
204965
  } else {
204837
- v.default = false;
204966
+ v.selected = false;
204838
204967
  }
204839
204968
  });
204840
204969
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204841
204970
  } else if (value.length === 0) {
204842
204971
  this.poperSelectList.forEach(function (v) {
204843
- v.default = false;
204972
+ v.selected = false;
204844
204973
  _this5.mutexType = "";
204845
204974
  });
204846
204975
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
@@ -204859,21 +204988,21 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204859
204988
  var item = {};
204860
204989
  var selectItemIndex = 0;
204861
204990
  this.poperSelectList.forEach(function (v, index) {
204862
- v.default = false;
204991
+ v.selected = false;
204863
204992
 
204864
204993
  if (v.id == value) {
204865
204994
  item = v;
204866
204995
  selectItemIndex = index;
204867
204996
  }
204868
204997
  });
204869
- item.default = !item.default;
204998
+ item.selected = !item.selected;
204870
204999
  this.poperSelectList.splice(selectItemIndex, 1, item);
204871
205000
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204872
205001
  this.sureSelect();
204873
205002
  } else {
204874
205003
  this.poperSelectList.forEach(function (v) {
204875
205004
  if (value.includes(v.id)) {
204876
- v.default = true;
205005
+ v.selected = true;
204877
205006
 
204878
205007
  if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
204879
205008
  return m.id == v.id;
@@ -204881,7 +205010,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204881
205010
  _this6.selectedList.push(v);
204882
205011
  }
204883
205012
  } else {
204884
- v.default = false;
205013
+ v.selected = false;
204885
205014
  if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
204886
205015
  return m.id != v.id;
204887
205016
  });
@@ -204898,19 +205027,19 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204898
205027
 
204899
205028
  if (!this.isAllowMultiSelect) {
204900
205029
  this.poperSelectList.forEach(function (v) {
204901
- v.default = false;
205030
+ v.selected = false;
204902
205031
  });
204903
- item.default = !item.default;
205032
+ item.selected = !item.selected;
204904
205033
  this.poperSelectList.splice(index, 1, item);
204905
205034
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204906
205035
  this.sureSelect();
204907
205036
  } else {
204908
205037
  this.poperSelectList.forEach(function (v) {
204909
205038
  if (v.id == item.id) {
204910
- v.default = !v.default;
205039
+ v.selected = !v.selected;
204911
205040
  }
204912
205041
 
204913
- if (v.default) {
205042
+ if (v.selected) {
204914
205043
  if (_this7.isCanSearch && _this7.selectedList.filter(function (m) {
204915
205044
  return m.id == v.id;
204916
205045
  }).length == 0) {
@@ -204931,7 +205060,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204931
205060
  key: "cancelSelect",
204932
205061
  value: function cancelSelect() {
204933
205062
  this.poperSelectList.forEach(function (v) {
204934
- v.default = false;
205063
+ v.selected = false;
204935
205064
  });
204936
205065
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204937
205066
  this.selectedList = [];
@@ -204955,7 +205084,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204955
205084
  var keyValue = "";
204956
205085
  var currentPoperNode = this.getCurrentPoperNode();
204957
205086
  var selected = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter(function (v) {
204958
- return v.default;
205087
+ return v.selected;
204959
205088
  });
204960
205089
  var len = selected.length;
204961
205090
 
@@ -205113,10 +205242,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205113
205242
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
205114
205243
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
205115
205244
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
205116
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205245
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205117
205246
  // extracted by mini-css-extract-plugin
205118
205247
 
205119
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205248
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205120
205249
 
205121
205250
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
205122
205251
 
@@ -205129,11 +205258,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205129
205258
 
205130
205259
  var PoperSelect_component = normalizeComponent(
205131
205260
  poperSelect_PoperSelectvue_type_script_lang_ts_,
205132
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_render,
205133
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns,
205261
+ PoperSelectvue_type_template_id_0c390485_scoped_true_render,
205262
+ PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns,
205134
205263
  false,
205135
205264
  null,
205136
- "aa143c0a",
205265
+ "0c390485",
205137
205266
  null
205138
205267
 
205139
205268
  )
@@ -207086,7 +207215,7 @@ var SignNode = __webpack_require__(34450);
207086
207215
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207087
207216
  var ParagraphNode = __webpack_require__(14208);
207088
207217
  ;// CONCATENATED MODULE: ./src/components/version.ts
207089
- /* harmony default export */ var version = ('2.0.62');
207218
+ /* harmony default export */ var version = ('2.0.65');
207090
207219
  ;// 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&
207091
207220
  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)}
207092
207221
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -207627,6 +207756,14 @@ var HoDoc = /*#__PURE__*/function (_Vue) {
207627
207756
 
207628
207757
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorId);
207629
207758
  if (!e.clickType || e.clickType === 'move') return false;
207759
+ var hoParagrapghTipElementNode = document.querySelector('#ho_paragrapgh_tip');
207760
+
207761
+ if (hoParagrapghTipElementNode) {
207762
+ var _hoParagrapghTipEleme;
207763
+
207764
+ (_hoParagrapghTipEleme = hoParagrapghTipElementNode.parentNode) === null || _hoParagrapghTipEleme === void 0 ? void 0 : _hoParagrapghTipEleme.removeChild(hoParagrapghTipElementNode);
207765
+ }
207766
+
207630
207767
  var node = e.node;
207631
207768
  this.poperClose();
207632
207769
 
@@ -208018,8 +208155,8 @@ HoDoc = __decorate([vue_class_component_esm({
208018
208155
 
208019
208156
  var HoDoc_component = normalizeComponent(
208020
208157
  components_HoDocvue_type_script_lang_ts_,
208021
- HoDocvue_type_template_id_4a474bf6_render,
208022
- HoDocvue_type_template_id_4a474bf6_staticRenderFns,
208158
+ HoDocvue_type_template_id_4a9748a4_render,
208159
+ HoDocvue_type_template_id_4a9748a4_staticRenderFns,
208023
208160
  false,
208024
208161
  null,
208025
208162
  null,
@@ -209312,6 +209449,8 @@ var NodeClickEvent = __webpack_require__(25445);
209312
209449
 
209313
209450
 
209314
209451
 
209452
+
209453
+
209315
209454
  var DmouseEventType;
209316
209455
 
209317
209456
  (function (DmouseEventType) {
@@ -209499,6 +209638,8 @@ var NodeMouseMoveEvent = /*#__PURE__*/function () {
209499
209638
  }, {
209500
209639
  key: "NodeClick",
209501
209640
  value: function NodeClick(node, moveType) {
209641
+ var _this = this;
209642
+
209502
209643
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
209503
209644
 
209504
209645
  if (node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh && moveType === DmouseEventType.detClick) {
@@ -209507,6 +209648,44 @@ var NodeMouseMoveEvent = /*#__PURE__*/function () {
209507
209648
  hoEditorFactory.docTree.nodeClick(nodeClickEvent);
209508
209649
  node.drawNodes[0].parent = drawLine;
209509
209650
  }
209651
+
209652
+ if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psDesign */.Dh.psDesign) {
209653
+ var paragraphNode = hoEditorFactory.drawTree.getDrawLineByDNode(node.drawNodes[0]).paragraphNode;
209654
+
209655
+ if (paragraphNode && paragraphNode.customProperty) {
209656
+ var customProperty = paragraphNode.customProperty;
209657
+ var paragraphTip = ['男', '女'].includes(customProperty.sex) || customProperty.age && customProperty.age.select == '隐藏';
209658
+ var arr = [];
209659
+
209660
+ if (paragraphTip) {
209661
+ if (['男', '女'].includes(customProperty.sex)) {
209662
+ arr.push("\u60A3\u8005\u4E3A<span style=\"color:#f00\"> ".concat(customProperty.sex, " </span>\u6027\u65F6\uFF0C\u9690\u85CF\u5F53\u524D\u6BB5\u843D"));
209663
+ }
209664
+
209665
+ if (customProperty.age && customProperty.age.select == '隐藏') {
209666
+ 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"));
209667
+ }
209668
+
209669
+ if (arr.length > 0) {
209670
+ setTimeout(function () {
209671
+ _this.createParagraphTipHTML(hoEditorFactory.drawTree.caret, arr);
209672
+ }, 0);
209673
+ }
209674
+ }
209675
+ }
209676
+ }
209677
+ }
209678
+ }, {
209679
+ key: "createParagraphTipHTML",
209680
+ value: function createParagraphTipHTML(caret, text) {
209681
+ var _caret$cursor$parentN;
209682
+
209683
+ var tipdiv = document.createElement('div');
209684
+ tipdiv.id = "ho_paragrapgh_tip";
209685
+ tipdiv.style.left = caret.X + "px";
209686
+ tipdiv.style.top = caret.Y + caret.height + "px";
209687
+ tipdiv.innerHTML = text.join("<br />");
209688
+ (_caret$cursor$parentN = caret.cursor.parentNode) === null || _caret$cursor$parentN === void 0 ? void 0 : _caret$cursor$parentN.appendChild(tipdiv);
209510
209689
  }
209511
209690
  /**
209512
209691
  * @param node moveNode
@@ -213062,8 +213241,14 @@ var StructureConvert = /*#__PURE__*/function () {
213062
213241
  var insertNode = function insertNode(array, prevNode) {
213063
213242
  var firstNode = array[0];
213064
213243
 
213065
- if (firstNode instanceof ParagraphNode/* ParagraphNode */.C && firstNode.paraNo !== 0 && prevNode instanceof ParagraphNode/* ParagraphNode */.C) {
213066
- prevNode.paraNo = firstNode.paraNo;
213244
+ if (firstNode instanceof ParagraphNode/* ParagraphNode */.C && prevNode instanceof ParagraphNode/* ParagraphNode */.C) {
213245
+ if (firstNode.paraNo !== 0) {
213246
+ prevNode.paraNo = firstNode.paraNo;
213247
+ }
213248
+
213249
+ if (firstNode.customProperty) {
213250
+ prevNode.customProperty = firstNode.customProperty;
213251
+ }
213067
213252
  }
213068
213253
 
213069
213254
  for (var j = 1; j < array.length; j++) {
@@ -220112,7 +220297,7 @@ var VueController = /*#__PURE__*/function () {
220112
220297
 
220113
220298
  if (node instanceof SignNode/* SignNode */.N) {
220114
220299
  if (node.isTemplate) {
220115
- if (node.imgSrc) {
220300
+ if (node.imgSrc || node.fingerPrintSrc) {
220116
220301
  this.deleteNode(node);
220117
220302
  setTimeout(function () {
220118
220303
  var newcurDomRange = hoEditorFactory.docTree.curDomRange.normalize();
@@ -220146,7 +220331,7 @@ var VueController = /*#__PURE__*/function () {
220146
220331
  var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction.daInsert */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType.insertSign */.y.insertSign);
220147
220332
 
220148
220333
  if (hoEditorFactory.docTree.changing(changingEvent)) {
220149
- Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 1, "患者签名", "", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220334
+ Promise.all([hoEditorFactory.docController.insertSignNode(curDomRange, 3, "患者签名", "", "", "", imgSrc, 0, 0, {}, fingerPrintSrc, fingerPosition)]).then(function () {
220150
220335
  setTimeout(function () {
220151
220336
  callback && callback();
220152
220337
  }, 0);
@@ -220806,10 +220991,17 @@ var VueController = /*#__PURE__*/function () {
220806
220991
 
220807
220992
  for (var j = 0; j < elements.length; j++) {
220808
220993
  var element = elements[j];
220994
+ var commentID = hoEditorFactory.gernerateCode.generateID("C");
220995
+ var comment = void 0;
220809
220996
 
220810
220997
  if (element instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
220811
- var commentID = hoEditorFactory.gernerateCode.generateID("C");
220812
- var comment = new Comment/* Comment */.s(this._hoEditorFactoryID, commentID, oldValue, element.EndMarkNode);
220998
+ comment = new Comment/* Comment */.s(this._hoEditorFactoryID, commentID, oldValue, element.EndMarkNode);
220999
+ comment.lineHeight = comment.lineHeight - 20;
221000
+ comments.push(comment);
221001
+ }
221002
+
221003
+ if (element instanceof DateTimeNode/* DateTimeNode */.Z || element instanceof DownListNode/* DownListNode */.yF) {
221004
+ comment = new Comment/* Comment */.s(this._hoEditorFactoryID, commentID, oldValue, element);
220813
221005
  comment.lineHeight = comment.lineHeight - 20;
220814
221006
  comments.push(comment);
220815
221007
  }
@@ -220828,9 +221020,13 @@ var VueController = /*#__PURE__*/function () {
220828
221020
 
220829
221021
  var spX = dline.parent instanceof DrawPageCell/* DrawPageCell */.k ? localPos.x : endDrawNode.x;
220830
221022
  var spY = localPos.y;
220831
- drawArea.removeComment(comment);
221023
+ drawArea.removeComment(comment, true);
220832
221024
  var path = comment.eNode.getNodePath();
220833
221025
 
221026
+ if (comment.eNode instanceof DateTimeNode/* DateTimeNode */.Z || comment.eNode instanceof DownListNode/* DownListNode */.yF) {
221027
+ spX = spX + comment.eNode.drawNodes[0].dWidth;
221028
+ }
221029
+
220834
221030
  if (index === 1) {
220835
221031
  drawArea.drawEditRecords(comment, spX, spY, spY);
220836
221032
  }
@@ -220840,6 +221036,26 @@ var VueController = /*#__PURE__*/function () {
220840
221036
  }
220841
221037
  });
220842
221038
  }
221039
+ }, {
221040
+ key: "clearEditRecords",
221041
+ value: function clearEditRecords() {
221042
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221043
+ var drawMainDocs = hoEditorFactory.drawPageTree.drawMainDocs;
221044
+
221045
+ for (var j = drawMainDocs.length - 1; j >= 0; j--) {
221046
+ var children = drawMainDocs[j].children;
221047
+
221048
+ for (var i = children.length - 1; i >= 0; i--) {
221049
+ var child = children[i];
221050
+
221051
+ if (child.name && child.name.indexOf("recordC") >= 0) {
221052
+ children.splice(i, 1);
221053
+ }
221054
+ }
221055
+
221056
+ hoEditorFactory.drawPageTree.updateDrawPage(j);
221057
+ }
221058
+ }
220843
221059
  }, {
220844
221060
  key: "updateImageSrc",
220845
221061
  value: function updateImageSrc(node, src) {
@@ -224532,7 +224748,10 @@ var HOEditorFactory = /*#__PURE__*/function () {
224532
224748
  this._lastSaveTime = new Date(Date.now());
224533
224749
  this._superiorSigns = []; //上级医生签名
224534
224750
 
224535
- this._isEnabledGlobalColor = false;
224751
+ this._isEnabledGlobalColor = false; //是否启用全局颜色
224752
+
224753
+ this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
224754
+
224536
224755
  this._hoEditorFactoryId = id;
224537
224756
  }
224538
224757
  /**
@@ -225240,6 +225459,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
225240
225459
  this._isEnabledGlobalColor = value;
225241
225460
  }
225242
225461
  }
225462
+ }, {
225463
+ key: "isSameColorWithEmptyVlaue",
225464
+ get: function get() {
225465
+ return this._isSameColorWithEmptyVlaue;
225466
+ },
225467
+ set: function set(value) {
225468
+ if (this._isSameColorWithEmptyVlaue !== value) {
225469
+ this._isSameColorWithEmptyVlaue = value;
225470
+ }
225471
+ }
225243
225472
  }, {
225244
225473
  key: "clear",
225245
225474
  value: function clear() {
@@ -225601,9 +225830,9 @@ var ControlModalvue_type_template_id_36fbe7eb_render = function () {var _vm=this
225601
225830
  var ControlModalvue_type_template_id_36fbe7eb_staticRenderFns = []
225602
225831
 
225603
225832
 
225604
- ;// 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&
225605
- 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)])}
225606
- var SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns = []
225833
+ ;// 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&
225834
+ 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)])}
225835
+ var SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns = []
225607
225836
 
225608
225837
 
225609
225838
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
@@ -225695,13 +225924,12 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
225695
225924
  this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v, index) {
225696
225925
  if (v.id === undefined) {
225697
225926
  v.id = _this2.getKeyId(index);
225698
- }
225927
+ } // if(updateNode.keyValue.includes(v.id)) {
225928
+ // v.default = true;
225929
+ // } else {
225930
+ // v.default = false;
225931
+ // }
225699
225932
 
225700
- if (updateNode.keyValue.includes(v.id)) {
225701
- v.default = true;
225702
- } else {
225703
- v.default = false;
225704
- }
225705
225933
 
225706
225934
  return v;
225707
225935
  }));
@@ -225944,10 +226172,10 @@ SelectDialog = __decorate([vue_class_component_esm({
225944
226172
  /* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
225945
226173
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
225946
226174
  /* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
225947
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226175
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
225948
226176
  // extracted by mini-css-extract-plugin
225949
226177
 
225950
- ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226178
+ ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
225951
226179
 
225952
226180
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
225953
226181
 
@@ -225960,11 +226188,11 @@ SelectDialog = __decorate([vue_class_component_esm({
225960
226188
 
225961
226189
  var SelectDialog_component = normalizeComponent(
225962
226190
  selectDialog_SelectDialogvue_type_script_lang_ts_,
225963
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_render,
225964
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns,
226191
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_render,
226192
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns,
225965
226193
  false,
225966
226194
  null,
225967
- "3b6d4c1e",
226195
+ "62e16cb5",
225968
226196
  null
225969
226197
 
225970
226198
  )
@@ -226757,9 +226985,9 @@ var QrCode_component = normalizeComponent(
226757
226985
  ;// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
226758
226986
 
226759
226987
  /* harmony default export */ var qrCode = (QrCode);
226760
- ;// 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&
226761
- 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)])}
226762
- var TextDialogvue_type_template_id_75c07514_staticRenderFns = []
226988
+ ;// 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&
226989
+ 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)])}
226990
+ var TextDialogvue_type_template_id_52be23a2_staticRenderFns = []
226763
226991
 
226764
226992
 
226765
226993
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
@@ -226801,12 +227029,12 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226801
227029
 
226802
227030
  _this = _super.apply(this, arguments);
226803
227031
  _this.textParam = Object.assign({}, textParams);
226804
- _this.textActiveName = "first";
227032
+ _this.textActiveName = 'first';
226805
227033
  _this.isMinLenth = false;
226806
227034
  _this.isMaxLenth = false;
226807
227035
  _this.isMin = false;
226808
227036
  _this.isMax = false;
226809
- _this.animationClassNames = "control-modal-contents text-modal animation-in";
227037
+ _this.animationClassNames = 'control-modal-contents text-modal animation-in';
226810
227038
  _this.customPropertyValue = new Object();
226811
227039
  _this.endPath = '';
226812
227040
  return _this;
@@ -226842,15 +227070,15 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226842
227070
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
226843
227071
  this.endPath = hoEditorFactory.docTree.curDomRange.normalize().endPath;
226844
227072
 
226845
- if (this.controlStatus === "update") {
227073
+ if (this.controlStatus === 'update') {
226846
227074
  var updateNode = this.getTextNode();
226847
227075
  Object.keys(this.textParam).forEach(function (v) {
226848
- var key = v.replace(/_/g, "");
227076
+ var key = v.replace(/_/g, '');
226849
227077
 
226850
227078
  if (Object.prototype.hasOwnProperty.call(_this2.textParam, key)) {
226851
- if (key === "readOnlyStatus") {
227079
+ if (key === 'readOnlyStatus') {
226852
227080
  _this2.textParam.readOnlyStatus = Number(updateNode.readOnlyStatus);
226853
- } else if (key === "customProperty") {
227081
+ } else if (key === 'customProperty') {
226854
227082
  if ((0,type/* isObject */.Kn)(updateNode[key])) {
226855
227083
  _this2.textParam.customProperty = updateNode.customProperty;
226856
227084
  } else {
@@ -226862,7 +227090,7 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226862
227090
  property[key] = _this2.textParam.customProperty[key];
226863
227091
  });
226864
227092
  _this2.customPropertyValue = _objectSpread2({}, property);
226865
- } else if (key === "readType") {
227093
+ } else if (key === 'readType') {
226866
227094
  _this2.textParam.readType = updateNode.readType == 1 ? true : false;
226867
227095
  } else {
226868
227096
  _this2.textParam[key] = updateNode[key];
@@ -226878,8 +227106,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226878
227106
  this.textParam.inputFieldType = 0;
226879
227107
  }
226880
227108
  } else {
226881
- this.textParam.id = this.vueController.generateID("TF");
226882
- this.textParam.downListProperty.splitCharacter = ",";
227109
+ this.textParam.id = this.vueController.generateID('TF');
227110
+ this.textParam.downListProperty.splitCharacter = ',';
226883
227111
  }
226884
227112
  }
226885
227113
  }, {
@@ -226954,6 +227182,13 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226954
227182
  if (v.default) textArr.push(v.text);
226955
227183
  });
226956
227184
  this.textParam.text = textArr.join(',');
227185
+ var value = '';
227186
+ this.getListStyle().forEach(function (v, index) {
227187
+ if (v.default) {
227188
+ value += v.id + ',';
227189
+ }
227190
+ });
227191
+ this.textParam.keyValue = value;
226957
227192
  } else {
226958
227193
  this.textParam.downListProperty = new TextInputFieldNode/* DownListProperty */.OL();
226959
227194
  }
@@ -226961,18 +227196,18 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226961
227196
  this.textParam.bandDataSource = this.dataSource;
226962
227197
 
226963
227198
  if (this.textParam.inputFieldType === 0) {
226964
- this.textParam.name = this.textParam.name ? this.textParam.name : "请输入";
227199
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请输入';
226965
227200
  } else if (this.textParam.inputFieldType === 1) {
226966
- this.textParam.name = this.textParam.name ? this.textParam.name : "请选择";
227201
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请选择';
226967
227202
  }
226968
227203
 
226969
227204
  this.textParam.labelText = this.textParam.name;
226970
227205
  this.textParam.customProperty = _objectSpread2({}, this.customProperty);
226971
227206
  this.textParam.readType ? this.textParam.readType = 1 : this.textParam.readType = 0;
226972
227207
 
226973
- if (this.controlStatus === "add") {
227208
+ if (this.controlStatus === 'add') {
226974
227209
  this.vueController.insertTextInputField(this.controlStatus, this.textParam);
226975
- } else if (this.controlStatus === "update") {
227210
+ } else if (this.controlStatus === 'update') {
226976
227211
  this.vueController.updateTextInputField(this.textParam);
226977
227212
  }
226978
227213
 
@@ -226981,8 +227216,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226981
227216
  }, {
226982
227217
  key: "handleClose",
226983
227218
  value: function handleClose() {
226984
- this.animationClassNames = "control-modal-contents text-modal animation-out";
226985
- this.$emit("closed");
227219
+ this.animationClassNames = 'control-modal-contents text-modal animation-out';
227220
+ this.$emit('closed');
226986
227221
  this.endPath = '';
226987
227222
  }
226988
227223
  }]);
@@ -226998,28 +227233,28 @@ __decorate([Prop()], TextDialog.prototype, "controlStatus", void 0);
226998
227233
 
226999
227234
  __decorate([Prop()], TextDialog.prototype, "vueController", void 0);
227000
227235
 
227001
- __decorate([Inject("setIsDataSource")], TextDialog.prototype, "setIsDataSource", void 0);
227236
+ __decorate([Inject('setIsDataSource')], TextDialog.prototype, "setIsDataSource", void 0);
227002
227237
 
227003
- __decorate([Inject("getDataSource")], TextDialog.prototype, "getDataSource", void 0);
227238
+ __decorate([Inject('getDataSource')], TextDialog.prototype, "getDataSource", void 0);
227004
227239
 
227005
- __decorate([Inject("setIsCustoms")], TextDialog.prototype, "setIsCustoms", void 0);
227240
+ __decorate([Inject('setIsCustoms')], TextDialog.prototype, "setIsCustoms", void 0);
227006
227241
 
227007
- __decorate([Inject("getCustomsValue")], TextDialog.prototype, "getCustomsValue", void 0);
227242
+ __decorate([Inject('getCustomsValue')], TextDialog.prototype, "getCustomsValue", void 0);
227008
227243
 
227009
- __decorate([Inject("setListAllowMultiSelected")], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227244
+ __decorate([Inject('setListAllowMultiSelected')], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227010
227245
 
227011
- __decorate([Inject("setIsListStyle")], TextDialog.prototype, "setIsListStyle", void 0);
227246
+ __decorate([Inject('setIsListStyle')], TextDialog.prototype, "setIsListStyle", void 0);
227012
227247
 
227013
- __decorate([Inject("getListStyle")], TextDialog.prototype, "getListStyle", void 0);
227248
+ __decorate([Inject('getListStyle')], TextDialog.prototype, "getListStyle", void 0);
227014
227249
 
227015
- __decorate([Inject("getListArrSource")], TextDialog.prototype, "getListArrSource", void 0);
227250
+ __decorate([Inject('getListArrSource')], TextDialog.prototype, "getListArrSource", void 0);
227016
227251
 
227017
- __decorate([Inject("setListStyle")], TextDialog.prototype, "setListStyle", void 0);
227252
+ __decorate([Inject('setListStyle')], TextDialog.prototype, "setListStyle", void 0);
227018
227253
 
227019
- __decorate([Inject("getCustomProperty")], TextDialog.prototype, "getCustomProperty", void 0);
227254
+ __decorate([Inject('getCustomProperty')], TextDialog.prototype, "getCustomProperty", void 0);
227020
227255
 
227021
227256
  TextDialog = __decorate([vue_class_component_esm({
227022
- name: "TextDialog",
227257
+ name: 'TextDialog',
227023
227258
  components: {
227024
227259
  Tabs: Tab
227025
227260
  }
@@ -227043,8 +227278,8 @@ TextDialog = __decorate([vue_class_component_esm({
227043
227278
 
227044
227279
  var TextDialog_component = normalizeComponent(
227045
227280
  textDialog_TextDialogvue_type_script_lang_ts_,
227046
- TextDialogvue_type_template_id_75c07514_render,
227047
- TextDialogvue_type_template_id_75c07514_staticRenderFns,
227281
+ TextDialogvue_type_template_id_52be23a2_render,
227282
+ TextDialogvue_type_template_id_52be23a2_staticRenderFns,
227048
227283
  false,
227049
227284
  null,
227050
227285
  null,
@@ -229742,9 +229977,9 @@ var CanvasImageDialog_component = normalizeComponent(
229742
229977
 
229743
229978
 
229744
229979
 
229745
- ;// 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&
229746
- 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)])}
229747
- var ParagraphDialogvue_type_template_id_2a071484_staticRenderFns = []
229980
+ ;// 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&
229981
+ 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)])}
229982
+ var ParagraphDialogvue_type_template_id_461dae42_staticRenderFns = []
229748
229983
 
229749
229984
 
229750
229985
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/paragraph/ParagraphDialog.vue?vue&type=script&lang=js&
@@ -229767,7 +230002,7 @@ var ParagraphDialogvue_type_template_id_2a071484_staticRenderFns = []
229767
230002
  //
229768
230003
  //
229769
230004
  //
229770
- //
230005
+
229771
230006
  /* harmony default export */ var ParagraphDialogvue_type_script_lang_js_ = ({
229772
230007
  name: 'ParagraphDialog',
229773
230008
  props: {
@@ -229784,16 +230019,26 @@ var ParagraphDialogvue_type_template_id_2a071484_staticRenderFns = []
229784
230019
  required: true
229785
230020
  }
229786
230021
  },
230022
+ inject: ['getParagraphCustomProperty'],
229787
230023
  data: function data() {
229788
230024
  return {
229789
230025
  textActiveName: 'first',
229790
230026
  animationClassNames: 'control-modal-contents paragraph-modal animation-in'
229791
230027
  };
229792
230028
  },
229793
- created: function created() {},
229794
- mounted: function mounted() {},
230029
+ computed: {
230030
+ domRange: function domRange() {
230031
+ return this.controlProperty.domRange;
230032
+ }
230033
+ },
229795
230034
  methods: {
229796
230035
  sure: function sure() {
230036
+ var _hoEditorFactory$vueC;
230037
+
230038
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
230039
+ var node = (_hoEditorFactory$vueC = hoEditorFactory.vueController.findNodebyPath(this.domRange.endPath)) === null || _hoEditorFactory$vueC === void 0 ? void 0 : _hoEditorFactory$vueC.node;
230040
+ var paragraphNode = hoEditorFactory.drawTree.getDrawLineByDNode(node.drawNodes[0]).paragraphNode;
230041
+ paragraphNode.setCustomProperty(this.getParagraphCustomProperty());
229797
230042
  this.handleClose();
229798
230043
  },
229799
230044
  handleClose: function handleClose() {
@@ -229820,8 +230065,8 @@ var ParagraphDialogvue_type_template_id_2a071484_staticRenderFns = []
229820
230065
 
229821
230066
  var ParagraphDialog_component = normalizeComponent(
229822
230067
  paragraph_ParagraphDialogvue_type_script_lang_js_,
229823
- ParagraphDialogvue_type_template_id_2a071484_render,
229824
- ParagraphDialogvue_type_template_id_2a071484_staticRenderFns,
230068
+ ParagraphDialogvue_type_template_id_461dae42_render,
230069
+ ParagraphDialogvue_type_template_id_461dae42_staticRenderFns,
229825
230070
  false,
229826
230071
  null,
229827
230072
  null,
@@ -232884,6 +233129,11 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
232884
233129
  value: function getCustomProperty() {
232885
233130
  return this.customProperty;
232886
233131
  }
233132
+ }, {
233133
+ key: "getParagraphCustomProperty",
233134
+ value: function getParagraphCustomProperty() {
233135
+ return this.paragraphCustomProperty;
233136
+ }
232887
233137
  }, {
232888
233138
  key: "textStyleChange",
232889
233139
  value: function textStyleChange(val) {
@@ -232901,7 +233151,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
232901
233151
  }, {
232902
233152
  key: "controlTypeChange",
232903
233153
  value: function controlTypeChange(newValue, oldValue) {
232904
- if (newValue === '' && ['text', 'date', 'comment'].includes(oldValue)) {
233154
+ if (newValue === '' && ['text', 'date', 'comment', 'paragraph'].includes(oldValue)) {
232905
233155
  this.$emit('closeTextModal');
232906
233156
  this.customPropertyValue = {};
232907
233157
  }
@@ -233005,6 +233255,13 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233005
233255
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233006
233256
  hoEditorFactory && (hoEditorFactory.isEnabledGlobalColor = this.isEnabledGlobalColor);
233007
233257
  }
233258
+ }, {
233259
+ key: "isSameColorWithEmptyVlaueChange",
233260
+ value: function isSameColorWithEmptyVlaueChange() {
233261
+ var activeDocId = this.activeDocId ? this.activeDocId : this.hoEditorFactoryIdList[0];
233262
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233263
+ hoEditorFactory && (hoEditorFactory.isSameColorWithEmptyVlaue = this.isSameColorWithEmptyVlaue);
233264
+ }
233008
233265
  }, {
233009
233266
  key: "created",
233010
233267
  value: function created() {
@@ -233056,6 +233313,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233056
233313
  hoEditor.isUseForm = _this3.isUseForm;
233057
233314
  hoEditor.printBlack = _this3.printBlack;
233058
233315
  hoEditor.isEnabledGlobalColor = _this3.isEnabledGlobalColor;
233316
+ hoEditor.isSameColorWithEmptyVlaue = _this3.isSameColorWithEmptyVlaue;
233059
233317
  hoEditor.contentIsModify = _this3.contentIsModify;
233060
233318
  hoEditor.isCanEditHeadFoot = _this3.isCanEditHeadFoot;
233061
233319
  hoEditor.docTree.docProperty = _this3.defaultDocProperty;
@@ -233395,6 +233653,8 @@ __decorate([Prop()], HoDocs.prototype, "uploadImageParams", void 0);
233395
233653
 
233396
233654
  __decorate([Prop()], HoDocs.prototype, "customProperty", void 0);
233397
233655
 
233656
+ __decorate([Prop()], HoDocs.prototype, "paragraphCustomProperty", void 0);
233657
+
233398
233658
  __decorate([Prop()], HoDocs.prototype, "deleteImageNodeList", void 0);
233399
233659
 
233400
233660
  __decorate([Prop()], HoDocs.prototype, "pageProperty", void 0);
@@ -233433,6 +233693,10 @@ __decorate([Prop({
233433
233693
  default: false
233434
233694
  })], HoDocs.prototype, "isEnabledGlobalColor", void 0);
233435
233695
 
233696
+ __decorate([Prop({
233697
+ default: false
233698
+ })], HoDocs.prototype, "isSameColorWithEmptyVlaue", void 0);
233699
+
233436
233700
  __decorate([Watch('contentIsModify', {
233437
233701
  deep: true
233438
233702
  })], HoDocs.prototype, "contentIsModifyChange", null);
@@ -233441,6 +233705,8 @@ __decorate([Watch('editJson')], HoDocs.prototype, "editJsonChange", null);
233441
233705
 
233442
233706
  __decorate([Provide()], HoDocs.prototype, "getCustomProperty", null);
233443
233707
 
233708
+ __decorate([Provide()], HoDocs.prototype, "getParagraphCustomProperty", null);
233709
+
233444
233710
  __decorate([Watch('textStyle', {
233445
233711
  deep: true
233446
233712
  })], HoDocs.prototype, "textStyleChange", null);
@@ -233481,6 +233747,8 @@ __decorate([Watch('printBlack')], HoDocs.prototype, "printBlackChange", null);
233481
233747
 
233482
233748
  __decorate([Watch('isEnabledGlobalColor')], HoDocs.prototype, "isEnabledGlobalColorChange", null);
233483
233749
 
233750
+ __decorate([Watch('isSameColorWithEmptyVlaue')], HoDocs.prototype, "isSameColorWithEmptyVlaueChange", null);
233751
+
233484
233752
  HoDocs = __decorate([vue_class_component_esm({
233485
233753
  name: 'HoDocs',
233486
233754
  components: {