hoeditor-web 2.0.65 → 2.0.68
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 +120 -32
- package/lib/hoeditor.css +855 -2
- package/lib/hoeditor.umd.js +120 -32
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -27990,7 +27990,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
27990
27990
|
identifierFormat: this.identifierFormat,
|
|
27991
27991
|
isSynchro: this.isSynchro,
|
|
27992
27992
|
name: this.name,
|
|
27993
|
-
text: this.text,
|
|
27993
|
+
text: this.keyValue == "" ? "" : this.text,
|
|
27994
27994
|
keyValue: this.keyValue,
|
|
27995
27995
|
title: this.title,
|
|
27996
27996
|
styleIndex: this.styleIndex,
|
|
@@ -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) {
|
|
@@ -46069,6 +46077,7 @@ var DrawCell = /*#__PURE__*/function (_DrawRect) {
|
|
|
46069
46077
|
dParent.addChild(dPartCell);
|
|
46070
46078
|
this.drawPageCells.push(dPartCell);
|
|
46071
46079
|
dPartCell.paintArea(this._drawLines, startDline, valignTop);
|
|
46080
|
+
dPartCell.valignTop = valignTop;
|
|
46072
46081
|
ret = this._drawLines[this._drawLines.length - 1].dHeight + this._drawLines[this._drawLines.length - 1].dTop;
|
|
46073
46082
|
}
|
|
46074
46083
|
}, {
|
|
@@ -48261,7 +48270,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48261
48270
|
|
|
48262
48271
|
|
|
48263
48272
|
return _this;
|
|
48264
|
-
} // public
|
|
48273
|
+
} // public ge t pageIndex(): number {
|
|
48265
48274
|
// return this._pageIndex;
|
|
48266
48275
|
// }
|
|
48267
48276
|
// public set pageIndex(value: number) {
|
|
@@ -48312,6 +48321,9 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48312
48321
|
key: "valignTop",
|
|
48313
48322
|
get: function get() {
|
|
48314
48323
|
return this._valignTop;
|
|
48324
|
+
},
|
|
48325
|
+
set: function set(val) {
|
|
48326
|
+
this._valignTop = val;
|
|
48315
48327
|
} // public get dPage(): DrawPage {
|
|
48316
48328
|
// return this._dPage;
|
|
48317
48329
|
// }
|
|
@@ -48781,7 +48793,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48781
48793
|
var adjustValignTop = newValignTop - this._valignTop;
|
|
48782
48794
|
this._valignTop = newValignTop;
|
|
48783
48795
|
|
|
48784
|
-
for (var i = 0; i < this.numChildren
|
|
48796
|
+
for (var i = 0; i < this.numChildren; i++) {
|
|
48785
48797
|
if (this.children[i] instanceof DrawLine/* DrawLine */.a || this.children[i] instanceof DrawPageTable/* DrawPageTable */.ox) {
|
|
48786
48798
|
this.children[i].y += adjustValignTop;
|
|
48787
48799
|
}
|
|
@@ -48824,12 +48836,10 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48824
48836
|
}, {
|
|
48825
48837
|
key: "update",
|
|
48826
48838
|
value: function update(prevDrawArea, dlines, startIndex, dTop, restHeight) {
|
|
48827
|
-
var valignTop = dTop;
|
|
48828
|
-
|
|
48829
|
-
|
|
48830
|
-
|
|
48831
|
-
this._valignTop = valignTop;
|
|
48832
|
-
}
|
|
48839
|
+
var valignTop = dTop; // if (startIndex === 0) {
|
|
48840
|
+
// valignTop=this.calcValignTop();
|
|
48841
|
+
// this._valignTop=valignTop;
|
|
48842
|
+
// }
|
|
48833
48843
|
|
|
48834
48844
|
this._startDline = startIndex;
|
|
48835
48845
|
|
|
@@ -49425,7 +49435,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49425
49435
|
|
|
49426
49436
|
partCell.dHeight = newHeight;
|
|
49427
49437
|
partCell.maxHeight = newHeight;
|
|
49428
|
-
partCell.update(dPrevPartCell, partCell.cell.drawCell.drawLines, startChildIndex,
|
|
49438
|
+
partCell.update(dPrevPartCell, partCell.cell.drawCell.drawLines, startChildIndex, partCell.valignTop, newHeight);
|
|
49429
49439
|
dPageTable.paintCellBorder(partCell, r, c, newHeight);
|
|
49430
49440
|
}
|
|
49431
49441
|
}, {
|
|
@@ -49916,7 +49926,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49916
49926
|
dPartCell.x = aleft; //this.drawItems.push(dPartCell);
|
|
49917
49927
|
|
|
49918
49928
|
this.addChild(dPartCell);
|
|
49919
|
-
var ret = dPartCell.update(dPrevPartCell, cell.drawCell.drawLines, startChildIndex,
|
|
49929
|
+
var ret = dPartCell.update(dPrevPartCell, cell.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
|
|
49920
49930
|
dPartCell.y = cellRowTop;
|
|
49921
49931
|
} else {
|
|
49922
49932
|
dPartCell = cell.drawCell.drawPageCells[partCellindex + 1];
|
|
@@ -49940,7 +49950,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49940
49950
|
dPartCell.maxHeight = tableRestHeight - cellRowTop;
|
|
49941
49951
|
}
|
|
49942
49952
|
|
|
49943
|
-
var _ret = dPartCell.update(dPrevPartCell, cell.drawCell.drawLines, startChildIndex,
|
|
49953
|
+
var _ret = dPartCell.update(dPrevPartCell, cell.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
|
|
49944
49954
|
}
|
|
49945
49955
|
|
|
49946
49956
|
dPartCell.y = cellRowTop;
|
|
@@ -50146,7 +50156,13 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
50146
50156
|
var partCell = mainCell.drawCell.getDrawPageCell(this);
|
|
50147
50157
|
|
|
50148
50158
|
if (partCell && aHeight) {
|
|
50149
|
-
|
|
50159
|
+
var cellHeight = aHeight;
|
|
50160
|
+
|
|
50161
|
+
if (mainCell.rowSpan > 1) {
|
|
50162
|
+
cellHeight = partCell.dHeight;
|
|
50163
|
+
}
|
|
50164
|
+
|
|
50165
|
+
rowHeight = Math.max(cellHeight, partCell.docHeight);
|
|
50150
50166
|
rowSpan = mainCell.rowSpan;
|
|
50151
50167
|
}
|
|
50152
50168
|
}
|
|
@@ -50469,7 +50485,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
50469
50485
|
dPartCell.x = aleft; //this.drawItems.push(dPartCell);
|
|
50470
50486
|
|
|
50471
50487
|
this.addChild(dPartCell);
|
|
50472
|
-
var ret = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex,
|
|
50488
|
+
var ret = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
|
|
50473
50489
|
dPartCell.y = cellRowTop;
|
|
50474
50490
|
rowFinished = rowFinished && ret;
|
|
50475
50491
|
} else {
|
|
@@ -50499,7 +50515,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
50499
50515
|
|
|
50500
50516
|
bRowHeightChanged = true;
|
|
50501
50517
|
|
|
50502
|
-
var _ret2 = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex,
|
|
50518
|
+
var _ret2 = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
|
|
50503
50519
|
|
|
50504
50520
|
rowFinished = rowFinished && _ret2;
|
|
50505
50521
|
} else if (_cell2.drawCell.drawPageCells.length > 1 && partCellindex + 1 < _cell2.drawCell.drawPageCells.length - 1 && !this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
|
|
@@ -53010,6 +53026,8 @@ var createSuper = __webpack_require__(28214);
|
|
|
53010
53026
|
var es_regexp_exec = __webpack_require__(74916);
|
|
53011
53027
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
53012
53028
|
var es_string_split = __webpack_require__(23123);
|
|
53029
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
53030
|
+
var es_string_ends_with = __webpack_require__(27852);
|
|
53013
53031
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.italics.js
|
|
53014
53032
|
var es_string_italics = __webpack_require__(58734);
|
|
53015
53033
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.bold.js
|
|
@@ -53459,6 +53477,7 @@ var GestationNode = __webpack_require__(74873);
|
|
|
53459
53477
|
|
|
53460
53478
|
|
|
53461
53479
|
|
|
53480
|
+
|
|
53462
53481
|
// import {DrawNode} from "./DrawSimpleNode"
|
|
53463
53482
|
|
|
53464
53483
|
|
|
@@ -53680,17 +53699,68 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
53680
53699
|
|
|
53681
53700
|
if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
|
|
53682
53701
|
if (this.node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
53683
|
-
|
|
53702
|
+
var parentNode = this.node.parentNode;
|
|
53703
|
+
|
|
53704
|
+
if (parentNode.inputFieldType === 0) {
|
|
53684
53705
|
if (backColor === hoEditorFactory.pageProperty.backColor) {
|
|
53685
53706
|
backColor = hoEditorFactory.option.getColorByLevel(10);
|
|
53686
53707
|
}
|
|
53687
53708
|
} else {
|
|
53688
|
-
if (
|
|
53709
|
+
if (parentNode.keyValue == "") {
|
|
53689
53710
|
backColor = hoEditorFactory.option.getColorByLevel(120);
|
|
53690
53711
|
} else {
|
|
53691
|
-
|
|
53712
|
+
var downListProperty = parentNode.downListProperty;
|
|
53713
|
+
|
|
53714
|
+
if (hoEditorFactory.isSameColorWithEmptyVlaue && downListProperty.listItems) {
|
|
53715
|
+
var isDefault = false;
|
|
53716
|
+
var listItems = JSON.parse(downListProperty.listItems);
|
|
53717
|
+
|
|
53718
|
+
if (downListProperty.allowMultiSelected) {
|
|
53719
|
+
var defaultValues = "";
|
|
53720
|
+
|
|
53721
|
+
for (var i = 0; i < listItems.length; i++) {
|
|
53722
|
+
var item1 = listItems[i];
|
|
53723
|
+
|
|
53724
|
+
if (item1.default) {
|
|
53725
|
+
defaultValues += item1.id + ",";
|
|
53726
|
+
}
|
|
53727
|
+
}
|
|
53728
|
+
|
|
53729
|
+
if (defaultValues.endsWith(',')) {
|
|
53730
|
+
defaultValues = defaultValues.substring(0, defaultValues.length - 1);
|
|
53731
|
+
}
|
|
53732
|
+
|
|
53733
|
+
var keyValue = parentNode.keyValue;
|
|
53734
|
+
|
|
53735
|
+
if (keyValue.endsWith(',')) {
|
|
53736
|
+
keyValue = keyValue.substring(0, keyValue.length - 1);
|
|
53737
|
+
}
|
|
53738
|
+
|
|
53739
|
+
if (defaultValues === keyValue) {
|
|
53740
|
+
isDefault = true;
|
|
53741
|
+
}
|
|
53742
|
+
} else {
|
|
53743
|
+
for (var j = 0; j < listItems.length; j++) {
|
|
53744
|
+
var item2 = listItems[j];
|
|
53745
|
+
|
|
53746
|
+
if (item2.id === parentNode.keyValue.split(',')[0] && item2.default) {
|
|
53747
|
+
isDefault = true;
|
|
53748
|
+
break;
|
|
53749
|
+
}
|
|
53750
|
+
}
|
|
53751
|
+
}
|
|
53752
|
+
|
|
53753
|
+
if (isDefault) {
|
|
53754
|
+
backColor = hoEditorFactory.option.getColorByLevel(120);
|
|
53755
|
+
} else {
|
|
53756
|
+
backColor = hoEditorFactory.option.getColorByLevel(12);
|
|
53757
|
+
}
|
|
53758
|
+
} else {
|
|
53759
|
+
backColor = hoEditorFactory.option.getColorByLevel(12);
|
|
53760
|
+
}
|
|
53692
53761
|
}
|
|
53693
|
-
}
|
|
53762
|
+
} //hoEditorFactory.isEnabledGlobalColor = true;
|
|
53763
|
+
|
|
53694
53764
|
|
|
53695
53765
|
if (hoEditorFactory.isEnabledGlobalColor) {
|
|
53696
53766
|
if (!(this.node instanceof MarkNode/* MarkNode */.j) && this.node.parentNode.inputFieldType === 0) {
|
|
@@ -53704,7 +53774,7 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
53704
53774
|
}
|
|
53705
53775
|
}
|
|
53706
53776
|
|
|
53707
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview) {
|
|
53777
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview || hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReadOnly */.Dh.psReadOnly && !hoEditorFactory.isHideComments) {
|
|
53708
53778
|
var commentID = this._textNode.dCombineStyle.commentID;
|
|
53709
53779
|
var createID = this._textNode.dCombineStyle.creatorIndex;
|
|
53710
53780
|
var deleteID = this._textNode.dCombineStyle.deleterIndex;
|
|
@@ -207215,7 +207285,7 @@ var SignNode = __webpack_require__(34450);
|
|
|
207215
207285
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207216
207286
|
var ParagraphNode = __webpack_require__(14208);
|
|
207217
207287
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207218
|
-
/* harmony default export */ var version = ('2.0.
|
|
207288
|
+
/* harmony default export */ var version = ('2.0.67');
|
|
207219
207289
|
;// 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&
|
|
207220
207290
|
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)}
|
|
207221
207291
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
@@ -209726,8 +209796,8 @@ var UserInfo = __webpack_require__(75013);
|
|
|
209726
209796
|
/*
|
|
209727
209797
|
* @Author: your name
|
|
209728
209798
|
* @Date: 2021-06-21 17:47:51
|
|
209729
|
-
* @LastEditTime: 2022-
|
|
209730
|
-
* @LastEditors:
|
|
209799
|
+
* @LastEditTime: 2022-07-08 23:50:19
|
|
209800
|
+
* @LastEditors: liyanan 2441631434@qq.com
|
|
209731
209801
|
* @Description: In User Settings Edit
|
|
209732
209802
|
* @FilePath: \hoeditor-web\src\editor\runTimeInfo\Option.ts
|
|
209733
209803
|
*/
|
|
@@ -209747,7 +209817,7 @@ var Option = /*#__PURE__*/function () {
|
|
|
209747
209817
|
|
|
209748
209818
|
this._downListColor = "#D2ECB1"; //下拉列表元素颜色//#D2ECB1
|
|
209749
209819
|
|
|
209750
|
-
this._downListColor2 = "#
|
|
209820
|
+
this._downListColor2 = "#D2ACB1"; //下拉列表默认元素颜色
|
|
209751
209821
|
|
|
209752
209822
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
209753
209823
|
}
|
|
@@ -220982,6 +221052,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
220982
221052
|
value: function showElementsEditRecord(objects) {
|
|
220983
221053
|
var comments = [];
|
|
220984
221054
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221055
|
+
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
221056
|
+
commentWidthMm: 50
|
|
221057
|
+
}));
|
|
220985
221058
|
|
|
220986
221059
|
for (var i = 0; i < objects.length; i++) {
|
|
220987
221060
|
var object = objects[i];
|
|
@@ -221040,6 +221113,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221040
221113
|
key: "clearEditRecords",
|
|
221041
221114
|
value: function clearEditRecords() {
|
|
221042
221115
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221116
|
+
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
221117
|
+
commentWidthMm: 0
|
|
221118
|
+
}));
|
|
221043
221119
|
var drawMainDocs = hoEditorFactory.drawPageTree.drawMainDocs;
|
|
221044
221120
|
|
|
221045
221121
|
for (var j = drawMainDocs.length - 1; j >= 0; j--) {
|
|
@@ -223489,8 +223565,16 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223489
223565
|
hoEditorFactory.vueController.openXml(xml);
|
|
223490
223566
|
} else {
|
|
223491
223567
|
hoEditorFactory.drawTree.paintStatus = beforeStatus;
|
|
223492
|
-
hoEditorFactory.
|
|
223493
|
-
|
|
223568
|
+
hoEditorFactory.drawTree.drawPages.forEach(function (dPage) {
|
|
223569
|
+
var _dPage$selectContaine;
|
|
223570
|
+
|
|
223571
|
+
if (dPage.drawSelectLevel && !dPage.drawSelectLevel.stage) {
|
|
223572
|
+
dPage.drawSelectLevel.bindStage();
|
|
223573
|
+
}
|
|
223574
|
+
|
|
223575
|
+
dPage.selectContainer.children = [];
|
|
223576
|
+
(_dPage$selectContaine = dPage.selectContainer.stage) === null || _dPage$selectContaine === void 0 ? void 0 : _dPage$selectContaine.update();
|
|
223577
|
+
});
|
|
223494
223578
|
hoEditorFactory.vueController.rebuildAll(true);
|
|
223495
223579
|
}
|
|
223496
223580
|
}
|
|
@@ -223751,6 +223835,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223751
223835
|
hoEditorFactory.drawTree.paintStatus = DrawTree/* PaintState.psPreview */.Dh.psPreview;
|
|
223752
223836
|
xmlIndex = -1;
|
|
223753
223837
|
mergeList = [];
|
|
223838
|
+
continuousid = '';
|
|
223754
223839
|
options = {
|
|
223755
223840
|
unit: 'px',
|
|
223756
223841
|
hotfixes: ['px_scaling'],
|
|
@@ -223802,6 +223887,10 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223802
223887
|
position = {};
|
|
223803
223888
|
}
|
|
223804
223889
|
|
|
223890
|
+
if (continuousid && xmlList[xmlIndex][2] !== continuousid) {
|
|
223891
|
+
mergeList = [];
|
|
223892
|
+
}
|
|
223893
|
+
|
|
223805
223894
|
continuousid = xmlList[xmlIndex][2];
|
|
223806
223895
|
mergeList.push([xmlList[xmlIndex][1], xmlList[xmlIndex][0]]);
|
|
223807
223896
|
|
|
@@ -223813,14 +223902,13 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223813
223902
|
} else {
|
|
223814
223903
|
hoEditorFactory.loadImageCallback = toPrint;
|
|
223815
223904
|
}
|
|
223816
|
-
|
|
223817
|
-
mergeList = [];
|
|
223818
223905
|
});
|
|
223819
223906
|
} else {
|
|
223820
223907
|
createSvg();
|
|
223821
223908
|
}
|
|
223822
223909
|
} else {
|
|
223823
223910
|
mergeList = [];
|
|
223911
|
+
continuousid = '';
|
|
223824
223912
|
Promise.all([hoEditorFactory.vueController.openXml(xmlList[xmlIndex][0])]).then(function () {
|
|
223825
223913
|
if (hoEditorFactory.loadImageCount === 0) {
|
|
223826
223914
|
toPrint();
|
|
@@ -223856,7 +223944,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223856
223944
|
|
|
223857
223945
|
createSvg();
|
|
223858
223946
|
|
|
223859
|
-
case
|
|
223947
|
+
case 14:
|
|
223860
223948
|
case "end":
|
|
223861
223949
|
return _context8.stop();
|
|
223862
223950
|
}
|