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.umd.js
CHANGED
|
@@ -28000,7 +28000,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
28000
28000
|
identifierFormat: this.identifierFormat,
|
|
28001
28001
|
isSynchro: this.isSynchro,
|
|
28002
28002
|
name: this.name,
|
|
28003
|
-
text: this.text,
|
|
28003
|
+
text: this.keyValue == "" ? "" : this.text,
|
|
28004
28004
|
keyValue: this.keyValue,
|
|
28005
28005
|
title: this.title,
|
|
28006
28006
|
styleIndex: this.styleIndex,
|
|
@@ -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 ===
|
|
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 =
|
|
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
|
-
|
|
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) {
|
|
@@ -46079,6 +46087,7 @@ var DrawCell = /*#__PURE__*/function (_DrawRect) {
|
|
|
46079
46087
|
dParent.addChild(dPartCell);
|
|
46080
46088
|
this.drawPageCells.push(dPartCell);
|
|
46081
46089
|
dPartCell.paintArea(this._drawLines, startDline, valignTop);
|
|
46090
|
+
dPartCell.valignTop = valignTop;
|
|
46082
46091
|
ret = this._drawLines[this._drawLines.length - 1].dHeight + this._drawLines[this._drawLines.length - 1].dTop;
|
|
46083
46092
|
}
|
|
46084
46093
|
}, {
|
|
@@ -48271,7 +48280,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48271
48280
|
|
|
48272
48281
|
|
|
48273
48282
|
return _this;
|
|
48274
|
-
} // public
|
|
48283
|
+
} // public ge t pageIndex(): number {
|
|
48275
48284
|
// return this._pageIndex;
|
|
48276
48285
|
// }
|
|
48277
48286
|
// public set pageIndex(value: number) {
|
|
@@ -48322,6 +48331,9 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48322
48331
|
key: "valignTop",
|
|
48323
48332
|
get: function get() {
|
|
48324
48333
|
return this._valignTop;
|
|
48334
|
+
},
|
|
48335
|
+
set: function set(val) {
|
|
48336
|
+
this._valignTop = val;
|
|
48325
48337
|
} // public get dPage(): DrawPage {
|
|
48326
48338
|
// return this._dPage;
|
|
48327
48339
|
// }
|
|
@@ -48791,7 +48803,7 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48791
48803
|
var adjustValignTop = newValignTop - this._valignTop;
|
|
48792
48804
|
this._valignTop = newValignTop;
|
|
48793
48805
|
|
|
48794
|
-
for (var i = 0; i < this.numChildren
|
|
48806
|
+
for (var i = 0; i < this.numChildren; i++) {
|
|
48795
48807
|
if (this.children[i] instanceof DrawLine/* DrawLine */.a || this.children[i] instanceof DrawPageTable/* DrawPageTable */.ox) {
|
|
48796
48808
|
this.children[i].y += adjustValignTop;
|
|
48797
48809
|
}
|
|
@@ -48834,12 +48846,10 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48834
48846
|
}, {
|
|
48835
48847
|
key: "update",
|
|
48836
48848
|
value: function update(prevDrawArea, dlines, startIndex, dTop, restHeight) {
|
|
48837
|
-
var valignTop = dTop;
|
|
48838
|
-
|
|
48839
|
-
|
|
48840
|
-
|
|
48841
|
-
this._valignTop = valignTop;
|
|
48842
|
-
}
|
|
48849
|
+
var valignTop = dTop; // if (startIndex === 0) {
|
|
48850
|
+
// valignTop=this.calcValignTop();
|
|
48851
|
+
// this._valignTop=valignTop;
|
|
48852
|
+
// }
|
|
48843
48853
|
|
|
48844
48854
|
this._startDline = startIndex;
|
|
48845
48855
|
|
|
@@ -49435,7 +49445,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49435
49445
|
|
|
49436
49446
|
partCell.dHeight = newHeight;
|
|
49437
49447
|
partCell.maxHeight = newHeight;
|
|
49438
|
-
partCell.update(dPrevPartCell, partCell.cell.drawCell.drawLines, startChildIndex,
|
|
49448
|
+
partCell.update(dPrevPartCell, partCell.cell.drawCell.drawLines, startChildIndex, partCell.valignTop, newHeight);
|
|
49439
49449
|
dPageTable.paintCellBorder(partCell, r, c, newHeight);
|
|
49440
49450
|
}
|
|
49441
49451
|
}, {
|
|
@@ -49926,7 +49936,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49926
49936
|
dPartCell.x = aleft; //this.drawItems.push(dPartCell);
|
|
49927
49937
|
|
|
49928
49938
|
this.addChild(dPartCell);
|
|
49929
|
-
var ret = dPartCell.update(dPrevPartCell, cell.drawCell.drawLines, startChildIndex,
|
|
49939
|
+
var ret = dPartCell.update(dPrevPartCell, cell.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
|
|
49930
49940
|
dPartCell.y = cellRowTop;
|
|
49931
49941
|
} else {
|
|
49932
49942
|
dPartCell = cell.drawCell.drawPageCells[partCellindex + 1];
|
|
@@ -49950,7 +49960,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49950
49960
|
dPartCell.maxHeight = tableRestHeight - cellRowTop;
|
|
49951
49961
|
}
|
|
49952
49962
|
|
|
49953
|
-
var _ret = dPartCell.update(dPrevPartCell, cell.drawCell.drawLines, startChildIndex,
|
|
49963
|
+
var _ret = dPartCell.update(dPrevPartCell, cell.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
|
|
49954
49964
|
}
|
|
49955
49965
|
|
|
49956
49966
|
dPartCell.y = cellRowTop;
|
|
@@ -50156,7 +50166,13 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
50156
50166
|
var partCell = mainCell.drawCell.getDrawPageCell(this);
|
|
50157
50167
|
|
|
50158
50168
|
if (partCell && aHeight) {
|
|
50159
|
-
|
|
50169
|
+
var cellHeight = aHeight;
|
|
50170
|
+
|
|
50171
|
+
if (mainCell.rowSpan > 1) {
|
|
50172
|
+
cellHeight = partCell.dHeight;
|
|
50173
|
+
}
|
|
50174
|
+
|
|
50175
|
+
rowHeight = Math.max(cellHeight, partCell.docHeight);
|
|
50160
50176
|
rowSpan = mainCell.rowSpan;
|
|
50161
50177
|
}
|
|
50162
50178
|
}
|
|
@@ -50479,7 +50495,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
50479
50495
|
dPartCell.x = aleft; //this.drawItems.push(dPartCell);
|
|
50480
50496
|
|
|
50481
50497
|
this.addChild(dPartCell);
|
|
50482
|
-
var ret = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex,
|
|
50498
|
+
var ret = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
|
|
50483
50499
|
dPartCell.y = cellRowTop;
|
|
50484
50500
|
rowFinished = rowFinished && ret;
|
|
50485
50501
|
} else {
|
|
@@ -50509,7 +50525,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
50509
50525
|
|
|
50510
50526
|
bRowHeightChanged = true;
|
|
50511
50527
|
|
|
50512
|
-
var _ret2 = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex,
|
|
50528
|
+
var _ret2 = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex, dPartCell.valignTop, cellMaxHeight);
|
|
50513
50529
|
|
|
50514
50530
|
rowFinished = rowFinished && _ret2;
|
|
50515
50531
|
} else if (_cell2.drawCell.drawPageCells.length > 1 && partCellindex + 1 < _cell2.drawCell.drawPageCells.length - 1 && !this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
|
|
@@ -53020,6 +53036,8 @@ var createSuper = __webpack_require__(46455);
|
|
|
53020
53036
|
var es_regexp_exec = __webpack_require__(74916);
|
|
53021
53037
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
53022
53038
|
var es_string_split = __webpack_require__(23123);
|
|
53039
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
53040
|
+
var es_string_ends_with = __webpack_require__(27852);
|
|
53023
53041
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.italics.js
|
|
53024
53042
|
var es_string_italics = __webpack_require__(58734);
|
|
53025
53043
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.bold.js
|
|
@@ -53469,6 +53487,7 @@ var GestationNode = __webpack_require__(55817);
|
|
|
53469
53487
|
|
|
53470
53488
|
|
|
53471
53489
|
|
|
53490
|
+
|
|
53472
53491
|
// import {DrawNode} from "./DrawSimpleNode"
|
|
53473
53492
|
|
|
53474
53493
|
|
|
@@ -53690,17 +53709,68 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
53690
53709
|
|
|
53691
53710
|
if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
|
|
53692
53711
|
if (this.node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
53693
|
-
|
|
53712
|
+
var parentNode = this.node.parentNode;
|
|
53713
|
+
|
|
53714
|
+
if (parentNode.inputFieldType === 0) {
|
|
53694
53715
|
if (backColor === hoEditorFactory.pageProperty.backColor) {
|
|
53695
53716
|
backColor = hoEditorFactory.option.getColorByLevel(10);
|
|
53696
53717
|
}
|
|
53697
53718
|
} else {
|
|
53698
|
-
if (
|
|
53719
|
+
if (parentNode.keyValue == "") {
|
|
53699
53720
|
backColor = hoEditorFactory.option.getColorByLevel(120);
|
|
53700
53721
|
} else {
|
|
53701
|
-
|
|
53722
|
+
var downListProperty = parentNode.downListProperty;
|
|
53723
|
+
|
|
53724
|
+
if (hoEditorFactory.isSameColorWithEmptyVlaue && downListProperty.listItems) {
|
|
53725
|
+
var isDefault = false;
|
|
53726
|
+
var listItems = JSON.parse(downListProperty.listItems);
|
|
53727
|
+
|
|
53728
|
+
if (downListProperty.allowMultiSelected) {
|
|
53729
|
+
var defaultValues = "";
|
|
53730
|
+
|
|
53731
|
+
for (var i = 0; i < listItems.length; i++) {
|
|
53732
|
+
var item1 = listItems[i];
|
|
53733
|
+
|
|
53734
|
+
if (item1.default) {
|
|
53735
|
+
defaultValues += item1.id + ",";
|
|
53736
|
+
}
|
|
53737
|
+
}
|
|
53738
|
+
|
|
53739
|
+
if (defaultValues.endsWith(',')) {
|
|
53740
|
+
defaultValues = defaultValues.substring(0, defaultValues.length - 1);
|
|
53741
|
+
}
|
|
53742
|
+
|
|
53743
|
+
var keyValue = parentNode.keyValue;
|
|
53744
|
+
|
|
53745
|
+
if (keyValue.endsWith(',')) {
|
|
53746
|
+
keyValue = keyValue.substring(0, keyValue.length - 1);
|
|
53747
|
+
}
|
|
53748
|
+
|
|
53749
|
+
if (defaultValues === keyValue) {
|
|
53750
|
+
isDefault = true;
|
|
53751
|
+
}
|
|
53752
|
+
} else {
|
|
53753
|
+
for (var j = 0; j < listItems.length; j++) {
|
|
53754
|
+
var item2 = listItems[j];
|
|
53755
|
+
|
|
53756
|
+
if (item2.id === parentNode.keyValue.split(',')[0] && item2.default) {
|
|
53757
|
+
isDefault = true;
|
|
53758
|
+
break;
|
|
53759
|
+
}
|
|
53760
|
+
}
|
|
53761
|
+
}
|
|
53762
|
+
|
|
53763
|
+
if (isDefault) {
|
|
53764
|
+
backColor = hoEditorFactory.option.getColorByLevel(120);
|
|
53765
|
+
} else {
|
|
53766
|
+
backColor = hoEditorFactory.option.getColorByLevel(12);
|
|
53767
|
+
}
|
|
53768
|
+
} else {
|
|
53769
|
+
backColor = hoEditorFactory.option.getColorByLevel(12);
|
|
53770
|
+
}
|
|
53702
53771
|
}
|
|
53703
|
-
}
|
|
53772
|
+
} //hoEditorFactory.isEnabledGlobalColor = true;
|
|
53773
|
+
|
|
53704
53774
|
|
|
53705
53775
|
if (hoEditorFactory.isEnabledGlobalColor) {
|
|
53706
53776
|
if (!(this.node instanceof MarkNode/* MarkNode */.j) && this.node.parentNode.inputFieldType === 0) {
|
|
@@ -53714,7 +53784,7 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
53714
53784
|
}
|
|
53715
53785
|
}
|
|
53716
53786
|
|
|
53717
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview) {
|
|
53787
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview || hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReadOnly */.Dh.psReadOnly && !hoEditorFactory.isHideComments) {
|
|
53718
53788
|
var commentID = this._textNode.dCombineStyle.commentID;
|
|
53719
53789
|
var createID = this._textNode.dCombineStyle.creatorIndex;
|
|
53720
53790
|
var deleteID = this._textNode.dCombineStyle.deleterIndex;
|
|
@@ -207225,7 +207295,7 @@ var SignNode = __webpack_require__(78975);
|
|
|
207225
207295
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207226
207296
|
var ParagraphNode = __webpack_require__(13880);
|
|
207227
207297
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207228
|
-
/* harmony default export */ var version = ('2.0.
|
|
207298
|
+
/* harmony default export */ var version = ('2.0.67');
|
|
207229
207299
|
;// 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&
|
|
207230
207300
|
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)}
|
|
207231
207301
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
@@ -209736,8 +209806,8 @@ var UserInfo = __webpack_require__(82084);
|
|
|
209736
209806
|
/*
|
|
209737
209807
|
* @Author: your name
|
|
209738
209808
|
* @Date: 2021-06-21 17:47:51
|
|
209739
|
-
* @LastEditTime: 2022-
|
|
209740
|
-
* @LastEditors:
|
|
209809
|
+
* @LastEditTime: 2022-07-08 23:50:19
|
|
209810
|
+
* @LastEditors: liyanan 2441631434@qq.com
|
|
209741
209811
|
* @Description: In User Settings Edit
|
|
209742
209812
|
* @FilePath: \hoeditor-web\src\editor\runTimeInfo\Option.ts
|
|
209743
209813
|
*/
|
|
@@ -209757,7 +209827,7 @@ var Option = /*#__PURE__*/function () {
|
|
|
209757
209827
|
|
|
209758
209828
|
this._downListColor = "#D2ECB1"; //下拉列表元素颜色//#D2ECB1
|
|
209759
209829
|
|
|
209760
|
-
this._downListColor2 = "#
|
|
209830
|
+
this._downListColor2 = "#D2ACB1"; //下拉列表默认元素颜色
|
|
209761
209831
|
|
|
209762
209832
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
209763
209833
|
}
|
|
@@ -220992,6 +221062,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
220992
221062
|
value: function showElementsEditRecord(objects) {
|
|
220993
221063
|
var comments = [];
|
|
220994
221064
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221065
|
+
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
221066
|
+
commentWidthMm: 50
|
|
221067
|
+
}));
|
|
220995
221068
|
|
|
220996
221069
|
for (var i = 0; i < objects.length; i++) {
|
|
220997
221070
|
var object = objects[i];
|
|
@@ -221050,6 +221123,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
221050
221123
|
key: "clearEditRecords",
|
|
221051
221124
|
value: function clearEditRecords() {
|
|
221052
221125
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
221126
|
+
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
221127
|
+
commentWidthMm: 0
|
|
221128
|
+
}));
|
|
221053
221129
|
var drawMainDocs = hoEditorFactory.drawPageTree.drawMainDocs;
|
|
221054
221130
|
|
|
221055
221131
|
for (var j = drawMainDocs.length - 1; j >= 0; j--) {
|
|
@@ -223499,8 +223575,16 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223499
223575
|
hoEditorFactory.vueController.openXml(xml);
|
|
223500
223576
|
} else {
|
|
223501
223577
|
hoEditorFactory.drawTree.paintStatus = beforeStatus;
|
|
223502
|
-
hoEditorFactory.
|
|
223503
|
-
|
|
223578
|
+
hoEditorFactory.drawTree.drawPages.forEach(function (dPage) {
|
|
223579
|
+
var _dPage$selectContaine;
|
|
223580
|
+
|
|
223581
|
+
if (dPage.drawSelectLevel && !dPage.drawSelectLevel.stage) {
|
|
223582
|
+
dPage.drawSelectLevel.bindStage();
|
|
223583
|
+
}
|
|
223584
|
+
|
|
223585
|
+
dPage.selectContainer.children = [];
|
|
223586
|
+
(_dPage$selectContaine = dPage.selectContainer.stage) === null || _dPage$selectContaine === void 0 ? void 0 : _dPage$selectContaine.update();
|
|
223587
|
+
});
|
|
223504
223588
|
hoEditorFactory.vueController.rebuildAll(true);
|
|
223505
223589
|
}
|
|
223506
223590
|
}
|
|
@@ -223761,6 +223845,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223761
223845
|
hoEditorFactory.drawTree.paintStatus = DrawTree/* PaintState.psPreview */.Dh.psPreview;
|
|
223762
223846
|
xmlIndex = -1;
|
|
223763
223847
|
mergeList = [];
|
|
223848
|
+
continuousid = '';
|
|
223764
223849
|
options = {
|
|
223765
223850
|
unit: 'px',
|
|
223766
223851
|
hotfixes: ['px_scaling'],
|
|
@@ -223812,6 +223897,10 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223812
223897
|
position = {};
|
|
223813
223898
|
}
|
|
223814
223899
|
|
|
223900
|
+
if (continuousid && xmlList[xmlIndex][2] !== continuousid) {
|
|
223901
|
+
mergeList = [];
|
|
223902
|
+
}
|
|
223903
|
+
|
|
223815
223904
|
continuousid = xmlList[xmlIndex][2];
|
|
223816
223905
|
mergeList.push([xmlList[xmlIndex][1], xmlList[xmlIndex][0]]);
|
|
223817
223906
|
|
|
@@ -223823,14 +223912,13 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223823
223912
|
} else {
|
|
223824
223913
|
hoEditorFactory.loadImageCallback = toPrint;
|
|
223825
223914
|
}
|
|
223826
|
-
|
|
223827
|
-
mergeList = [];
|
|
223828
223915
|
});
|
|
223829
223916
|
} else {
|
|
223830
223917
|
createSvg();
|
|
223831
223918
|
}
|
|
223832
223919
|
} else {
|
|
223833
223920
|
mergeList = [];
|
|
223921
|
+
continuousid = '';
|
|
223834
223922
|
Promise.all([hoEditorFactory.vueController.openXml(xmlList[xmlIndex][0])]).then(function () {
|
|
223835
223923
|
if (hoEditorFactory.loadImageCount === 0) {
|
|
223836
223924
|
toPrint();
|
|
@@ -223866,7 +223954,7 @@ var PrintController = /*#__PURE__*/function () {
|
|
|
223866
223954
|
|
|
223867
223955
|
createSvg();
|
|
223868
223956
|
|
|
223869
|
-
case
|
|
223957
|
+
case 14:
|
|
223870
223958
|
case "end":
|
|
223871
223959
|
return _context8.stop();
|
|
223872
223960
|
}
|