hoeditor-web 3.1.65 → 3.1.66
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.umd.js +13 -6
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -44952,7 +44952,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
44952
44952
|
sPath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
44953
44953
|
}
|
|
44954
44954
|
}
|
|
44955
|
-
var newSignNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__/* .SignNode */ .N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__/* .NodeType */ .Jq.ntSign, 2, type, name, node.signType, node.signFormat, signor, signTime, node.signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, false, node.styleIndex, node.connectMode, type == 1 && node.signType == 1 ? true : node.isFront, node.allowEditSignTime, fingerPrintSrc, fingerPosition, node.attribute, node.connectChar, otherProperties ? otherProperties : node.otherProperties);
|
|
44955
|
+
var newSignNode = new _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__/* .SignNode */ .N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_26__/* .NodeType */ .Jq.ntSign, 2, type, name, node.signType, node.signFormat, signor, signTime, node.signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, false, node.styleIndex, node.connectMode, type == 1 && node.signType == 1 ? true : node.isFront, node.allowEditSignTime, fingerPrintSrc, fingerPosition, node.attribute, node.connectChar, otherProperties ? otherProperties : node.otherProperties, '', node.associatedElement);
|
|
44956
44956
|
//插入该表达式节点
|
|
44957
44957
|
hoEditorFactory.undoService.begin();
|
|
44958
44958
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_27__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, sPath, newSignNode));
|
|
@@ -72314,6 +72314,8 @@ var PagePaintPosition = /*#__PURE__*/function () {
|
|
|
72314
72314
|
/* harmony import */ var _dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5010);
|
|
72315
72315
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(74089);
|
|
72316
72316
|
/* harmony import */ var _dom_treeNode_TextNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(27198);
|
|
72317
|
+
/* harmony import */ var _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(51760);
|
|
72318
|
+
|
|
72317
72319
|
|
|
72318
72320
|
|
|
72319
72321
|
|
|
@@ -72395,6 +72397,10 @@ var SelectRange = /*#__PURE__*/function () {
|
|
|
72395
72397
|
if (index === aline.paragraphNode.drawlines.length - 1) {
|
|
72396
72398
|
var paraNode = null;
|
|
72397
72399
|
paraNode = hoEditorFactory.docTree.getSameRectNextParanode(aline.paragraphNode);
|
|
72400
|
+
//处理隐藏段落导致绘制异常
|
|
72401
|
+
while (hoEditorFactory.drawTree.paintStatus != _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState */ .Dh.psDesign && paraNode && paraNode.customProperty.hidden == "true") {
|
|
72402
|
+
paraNode = hoEditorFactory.docTree.getSameRectNextParanode(paraNode);
|
|
72403
|
+
}
|
|
72398
72404
|
if (paraNode) {
|
|
72399
72405
|
aline = paraNode.drawlines[0];
|
|
72400
72406
|
} else {
|
|
@@ -88463,10 +88469,11 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
88463
88469
|
}, {
|
|
88464
88470
|
key: "getParagraphStartTop",
|
|
88465
88471
|
value: function getParagraphStartTop(paraNode) {
|
|
88466
|
-
var
|
|
88472
|
+
var hoeditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
88473
|
+
var prevPara = hoeditorFactory.docTree.getSameRectPrevParanode(paraNode);
|
|
88467
88474
|
var dTop = 0;
|
|
88468
88475
|
// const pNode = paraNode.parentNode;
|
|
88469
|
-
if (!prevPara || prevPara.customProperty && prevPara.customProperty.hidden == "true") {
|
|
88476
|
+
if (!prevPara || hoeditorFactory.drawTree.paintStatus != PaintState.psDesign && prevPara.customProperty && prevPara.customProperty.hidden == "true") {
|
|
88470
88477
|
// if (pNode) {
|
|
88471
88478
|
// if (
|
|
88472
88479
|
// pNode instanceof CellNode &&
|
|
@@ -90755,7 +90762,7 @@ var NodeDeleteUndoUnit = /*#__PURE__*/function (_UndoInfo) {
|
|
|
90755
90762
|
break;
|
|
90756
90763
|
}
|
|
90757
90764
|
prePara = hoeditorFactory.docTree.getNodeParaNode(prevSibNode);
|
|
90758
|
-
if (!(prePara.customProperty && prePara.customProperty.hidden == "true")) {
|
|
90765
|
+
if (!(hoeditorFactory.drawTree.paintStatus != _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_20__/* .PaintState */ .Dh.psDesign && prePara.customProperty && prePara.customProperty.hidden == "true")) {
|
|
90759
90766
|
_context2.next = 30;
|
|
90760
90767
|
break;
|
|
90761
90768
|
}
|
|
@@ -219862,7 +219869,7 @@ var TextNode = __webpack_require__(27198);
|
|
|
219862
219869
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
219863
219870
|
var ParagraphNode = __webpack_require__(67945);
|
|
219864
219871
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
219865
|
-
/* harmony default export */ var version = ('3.1.
|
|
219872
|
+
/* harmony default export */ var version = ('3.1.66');
|
|
219866
219873
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
219867
219874
|
var PoperTipText = __webpack_require__(50987);
|
|
219868
219875
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -231404,7 +231411,7 @@ var VueController = /*#__PURE__*/function () {
|
|
|
231404
231411
|
//const nextNode = node.nextLeaf();
|
|
231405
231412
|
//if ((node.imgSrc !== '' || node.fingerPrintSrc !== '') && node.isTemplate && !(preNode instanceof SignNode) && !(nextNode instanceof SignNode)) {
|
|
231406
231413
|
if ((node.imgSrc !== '' || node.fingerPrintSrc !== '') && node.isTemplate) {
|
|
231407
|
-
var signNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode/* NodeType */.Jq.ntSign, 0, 0, node.name === '' ? '签名' : node.name, node.signType, node.signFormat, '', '', node.signTimeFormat, '', 0, 0, {}, true, node.styleIndex, node.connectMode, node.isFront, node.allowEditSignTime, '', undefined, node.attribute, node.connectChar, node.otherProperties);
|
|
231414
|
+
var signNode = new SignNode/* SignNode */.N(this._hoEditorFactoryID, node.rootNodes, node.parentNode, BaseNode/* NodeType */.Jq.ntSign, 0, 0, node.name === '' ? '签名' : node.name, node.signType, node.signFormat, '', '', node.signTimeFormat, '', 0, 0, {}, true, node.styleIndex, node.connectMode, node.isFront, node.allowEditSignTime, '', undefined, node.attribute, node.connectChar, node.otherProperties, '', node.associatedElement);
|
|
231408
231415
|
hoEditorFactory.undoService.begin();
|
|
231409
231416
|
hoEditorFactory.undoService.add(new NodeDeleteUndoUnit/* NodeDeleteUndoUnit */.w(this._hoEditorFactoryID, node, ePath));
|
|
231410
231417
|
hoEditorFactory.undoService.add(new NodeInsertUndoUnit/* NodeInsertUndoUnit */.R(this._hoEditorFactoryID, sPath, signNode));
|