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.
- package/lib/hoeditor.common.js +29 -7
- package/lib/hoeditor.css +855 -2
- package/lib/hoeditor.umd.js +29 -7
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -44497,7 +44497,10 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
44497
44497
|
var curArea = hoEditorFactory.drawPageTree.getMainRootArea(markDrawNode);
|
|
44498
44498
|
|
|
44499
44499
|
if (curArea) {
|
|
44500
|
-
if (curArea.topDline ===
|
|
44500
|
+
// if (curArea.topDline === this.topDline) {
|
|
44501
|
+
// comments.set(value.id, value);
|
|
44502
|
+
// }
|
|
44503
|
+
if (curArea.index === _this2.index) {
|
|
44501
44504
|
comments.set(value.id, value);
|
|
44502
44505
|
}
|
|
44503
44506
|
}
|
|
@@ -44575,6 +44578,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
44575
44578
|
value: function repaint(comment, nPath, spX, spY) {
|
|
44576
44579
|
var _this3 = this;
|
|
44577
44580
|
|
|
44581
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
44578
44582
|
var comments = this.areaComments;
|
|
44579
44583
|
var topComments = new Array();
|
|
44580
44584
|
var bottomComments = new Array();
|
|
@@ -44582,7 +44586,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
44582
44586
|
|
|
44583
44587
|
var getStagePos = function getStagePos(comment) {
|
|
44584
44588
|
var endDrawNode = comment.eNode.drawNodes[0];
|
|
44585
|
-
var dline =
|
|
44589
|
+
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
|
|
44586
44590
|
|
|
44587
44591
|
var stagePos = dline.localToGlobal(endDrawNode.x, endDrawNode.y); // 末尾标记节点的stage坐标
|
|
44588
44592
|
|
|
@@ -44595,7 +44599,11 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
44595
44599
|
var commentY = spY;
|
|
44596
44600
|
comments.forEach(function (value) {
|
|
44597
44601
|
if (value.id !== comment.id) {
|
|
44598
|
-
|
|
44602
|
+
var area = hoEditorFactory.drawPageTree.getMainRootArea(value.eNode.drawNodes[0]);
|
|
44603
|
+
|
|
44604
|
+
if (area && area.index == _this3.index) {
|
|
44605
|
+
tempArr.push(value);
|
|
44606
|
+
}
|
|
44599
44607
|
}
|
|
44600
44608
|
});
|
|
44601
44609
|
tempArr.forEach(function (value) {
|
|
@@ -53758,7 +53766,7 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
53758
53766
|
}
|
|
53759
53767
|
}
|
|
53760
53768
|
|
|
53761
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview) {
|
|
53769
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview || hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReadOnly */.Dh.psReadOnly && !hoEditorFactory.isHideComments) {
|
|
53762
53770
|
var commentID = this._textNode.dCombineStyle.commentID;
|
|
53763
53771
|
var createID = this._textNode.dCombineStyle.creatorIndex;
|
|
53764
53772
|
var deleteID = this._textNode.dCombineStyle.deleterIndex;
|
|
@@ -207269,7 +207277,7 @@ var SignNode = __webpack_require__(34450);
|
|
|
207269
207277
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207270
207278
|
var ParagraphNode = __webpack_require__(14208);
|
|
207271
207279
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207272
|
-
/* harmony default export */ var version = ('2.0.
|
|
207280
|
+
/* harmony default export */ var version = ('2.0.67');
|
|
207273
207281
|
;// 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&
|
|
207274
207282
|
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)}
|
|
207275
207283
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
@@ -221036,6 +221044,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221036
221044
|
value: function showElementsEditRecord(objects) {
|
|
221037
221045
|
var comments = [];
|
|
221038
221046
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221047
|
+
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
221048
|
+
commentWidthMm: 50
|
|
221049
|
+
}));
|
|
221039
221050
|
|
|
221040
221051
|
for (var i = 0; i < objects.length; i++) {
|
|
221041
221052
|
var object = objects[i];
|
|
@@ -221094,6 +221105,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221094
221105
|
key: "clearEditRecords",
|
|
221095
221106
|
value: function clearEditRecords() {
|
|
221096
221107
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221108
|
+
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
221109
|
+
commentWidthMm: 0
|
|
221110
|
+
}));
|
|
221097
221111
|
var drawMainDocs = hoEditorFactory.drawPageTree.drawMainDocs;
|
|
221098
221112
|
|
|
221099
221113
|
for (var j = drawMainDocs.length - 1; j >= 0; j--) {
|
|
@@ -223543,8 +223557,16 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223543
223557
|
hoEditorFactory.vueController.openXml(xml);
|
|
223544
223558
|
} else {
|
|
223545
223559
|
hoEditorFactory.drawTree.paintStatus = beforeStatus;
|
|
223546
|
-
hoEditorFactory.
|
|
223547
|
-
|
|
223560
|
+
hoEditorFactory.drawTree.drawPages.forEach(function (dPage) {
|
|
223561
|
+
var _dPage$selectContaine;
|
|
223562
|
+
|
|
223563
|
+
if (dPage.drawSelectLevel && !dPage.drawSelectLevel.stage) {
|
|
223564
|
+
dPage.drawSelectLevel.bindStage();
|
|
223565
|
+
}
|
|
223566
|
+
|
|
223567
|
+
dPage.selectContainer.children = [];
|
|
223568
|
+
(_dPage$selectContaine = dPage.selectContainer.stage) === null || _dPage$selectContaine === void 0 ? void 0 : _dPage$selectContaine.update();
|
|
223569
|
+
});
|
|
223548
223570
|
hoEditorFactory.vueController.rebuildAll(true);
|
|
223549
223571
|
}
|
|
223550
223572
|
}
|