hoeditor-web 2.0.66 → 2.0.67

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.
@@ -44507,7 +44507,10 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44507
44507
  var curArea = hoEditorFactory.drawPageTree.getMainRootArea(markDrawNode);
44508
44508
 
44509
44509
  if (curArea) {
44510
- if (curArea.topDline === _this2.topDline) {
44510
+ // if (curArea.topDline === this.topDline) {
44511
+ // comments.set(value.id, value);
44512
+ // }
44513
+ if (curArea.index === _this2.index) {
44511
44514
  comments.set(value.id, value);
44512
44515
  }
44513
44516
  }
@@ -44585,6 +44588,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44585
44588
  value: function repaint(comment, nPath, spX, spY) {
44586
44589
  var _this3 = this;
44587
44590
 
44591
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
44588
44592
  var comments = this.areaComments;
44589
44593
  var topComments = new Array();
44590
44594
  var bottomComments = new Array();
@@ -44592,7 +44596,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44592
44596
 
44593
44597
  var getStagePos = function getStagePos(comment) {
44594
44598
  var endDrawNode = comment.eNode.drawNodes[0];
44595
- var dline = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3._hoEditorFactoryID).drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
44599
+ var dline = hoEditorFactory.drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
44596
44600
 
44597
44601
  var stagePos = dline.localToGlobal(endDrawNode.x, endDrawNode.y); // 末尾标记节点的stage坐标
44598
44602
 
@@ -44605,7 +44609,11 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44605
44609
  var commentY = spY;
44606
44610
  comments.forEach(function (value) {
44607
44611
  if (value.id !== comment.id) {
44608
- tempArr.push(value);
44612
+ var area = hoEditorFactory.drawPageTree.getMainRootArea(value.eNode.drawNodes[0]);
44613
+
44614
+ if (area && area.index == _this3.index) {
44615
+ tempArr.push(value);
44616
+ }
44609
44617
  }
44610
44618
  });
44611
44619
  tempArr.forEach(function (value) {
@@ -53768,7 +53776,7 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
53768
53776
  }
53769
53777
  }
53770
53778
 
53771
- if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview) {
53779
+ if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview || hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReadOnly */.Dh.psReadOnly && !hoEditorFactory.isHideComments) {
53772
53780
  var commentID = this._textNode.dCombineStyle.commentID;
53773
53781
  var createID = this._textNode.dCombineStyle.creatorIndex;
53774
53782
  var deleteID = this._textNode.dCombineStyle.deleterIndex;
@@ -207279,7 +207287,7 @@ var SignNode = __webpack_require__(78975);
207279
207287
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207280
207288
  var ParagraphNode = __webpack_require__(13880);
207281
207289
  ;// CONCATENATED MODULE: ./src/components/version.ts
207282
- /* harmony default export */ var version = ('2.0.66');
207290
+ /* harmony default export */ var version = ('2.0.67');
207283
207291
  ;// 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&
207284
207292
  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)}
207285
207293
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -221046,6 +221054,9 @@ var VueController = /*#__PURE__*/function () {
221046
221054
  value: function showElementsEditRecord(objects) {
221047
221055
  var comments = [];
221048
221056
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221057
+ hoEditorFactory.vueController.setPageProperty(JSON.stringify({
221058
+ commentWidthMm: 50
221059
+ }));
221049
221060
 
221050
221061
  for (var i = 0; i < objects.length; i++) {
221051
221062
  var object = objects[i];
@@ -221104,6 +221115,9 @@ var VueController = /*#__PURE__*/function () {
221104
221115
  key: "clearEditRecords",
221105
221116
  value: function clearEditRecords() {
221106
221117
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221118
+ hoEditorFactory.vueController.setPageProperty(JSON.stringify({
221119
+ commentWidthMm: 0
221120
+ }));
221107
221121
  var drawMainDocs = hoEditorFactory.drawPageTree.drawMainDocs;
221108
221122
 
221109
221123
  for (var j = drawMainDocs.length - 1; j >= 0; j--) {
@@ -223553,8 +223567,16 @@ var PrintController = /*#__PURE__*/function () {
223553
223567
  hoEditorFactory.vueController.openXml(xml);
223554
223568
  } else {
223555
223569
  hoEditorFactory.drawTree.paintStatus = beforeStatus;
223556
- hoEditorFactory.printStatus.clearArea();
223557
- hoEditorFactory.printStatus.drawPrintRecord.clear();
223570
+ hoEditorFactory.drawTree.drawPages.forEach(function (dPage) {
223571
+ var _dPage$selectContaine;
223572
+
223573
+ if (dPage.drawSelectLevel && !dPage.drawSelectLevel.stage) {
223574
+ dPage.drawSelectLevel.bindStage();
223575
+ }
223576
+
223577
+ dPage.selectContainer.children = [];
223578
+ (_dPage$selectContaine = dPage.selectContainer.stage) === null || _dPage$selectContaine === void 0 ? void 0 : _dPage$selectContaine.update();
223579
+ });
223558
223580
  hoEditorFactory.vueController.rebuildAll(true);
223559
223581
  }
223560
223582
  }