hoeditor-web 2.0.76 → 2.0.77
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 +178 -107
- package/lib/hoeditor.css +1 -1
- package/lib/hoeditor.umd.js +178 -107
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -14775,8 +14775,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14775
14775
|
if (node.text !== "") {
|
|
14776
14776
|
node.childNodes.splice(1, node.childNodes.length - 2);
|
|
14777
14777
|
var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_27__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntText */ .Jq.ntText, values["text"], hoEditorFactory.docTree.curStyleIndex);
|
|
14778
|
-
node.childNodes.splice(1, 0, textNode);
|
|
14779
|
-
|
|
14778
|
+
node.childNodes.splice(1, 0, textNode); //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
|
|
14779
|
+
|
|
14780
|
+
changeEvent.afterChangePath = ePath;
|
|
14780
14781
|
}
|
|
14781
14782
|
} else {
|
|
14782
14783
|
//changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
@@ -14787,6 +14788,10 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14787
14788
|
node.update();
|
|
14788
14789
|
var pnode = node.parentNode;
|
|
14789
14790
|
|
|
14791
|
+
if (pnode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_46__/* .TextInputFieldNode */ .re) {
|
|
14792
|
+
pnode.update();
|
|
14793
|
+
}
|
|
14794
|
+
|
|
14790
14795
|
do {
|
|
14791
14796
|
var _pnode;
|
|
14792
14797
|
|
|
@@ -14800,9 +14805,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14800
14805
|
} while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
|
|
14801
14806
|
|
|
14802
14807
|
if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
|
|
14803
|
-
|
|
14804
|
-
|
|
14808
|
+
//增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
|
|
14805
14809
|
if (pnode.drawCell.drawPageCells.length > 1) {
|
|
14810
|
+
pnode.drawCell.needUpdate = true;
|
|
14806
14811
|
pnode.table.update();
|
|
14807
14812
|
}
|
|
14808
14813
|
}
|
|
@@ -15584,6 +15589,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
15584
15589
|
value: function setCellProperty(objectValues, cellNode) {
|
|
15585
15590
|
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_58__/* .CellProperty */ .$W(objectValues);
|
|
15586
15591
|
cellNode.cellProperty = cellProperty;
|
|
15592
|
+
cellNode.drawCell.drawPageCells.forEach(function (pcell) {
|
|
15593
|
+
pcell.valignTop = pcell.calcValignTop();
|
|
15594
|
+
});
|
|
15587
15595
|
}
|
|
15588
15596
|
/**
|
|
15589
15597
|
* 在当前页面添加页眉
|
|
@@ -25993,9 +26001,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
25993
26001
|
key: "range",
|
|
25994
26002
|
value: function range() {
|
|
25995
26003
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
26004
|
+
var spath = hoEditorFactory.docTree.getNodeFirstPath(this);
|
|
26005
|
+
var epath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
25996
26006
|
return {
|
|
25997
|
-
from:
|
|
25998
|
-
to:
|
|
26007
|
+
from: spath,
|
|
26008
|
+
to: epath
|
|
25999
26009
|
};
|
|
26000
26010
|
}
|
|
26001
26011
|
}, {
|
|
@@ -38841,7 +38851,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
38841
38851
|
/*
|
|
38842
38852
|
* @Author: your name
|
|
38843
38853
|
* @Date: 2020-11-03 15:17:54
|
|
38844
|
-
* @LastEditTime: 2022-07-
|
|
38854
|
+
* @LastEditTime: 2022-07-28 09:25:18
|
|
38845
38855
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
38846
38856
|
* @Description: In User Settings Edit
|
|
38847
38857
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -40190,6 +40200,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40190
40200
|
|
|
40191
40201
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
40192
40202
|
var endnode = hoEditorFactory.docTree.findNodePositionByPath(endPath).node;
|
|
40203
|
+
var isEnd = false;
|
|
40193
40204
|
|
|
40194
40205
|
for (var index = 0; index < this.childNodes.length; index++) {
|
|
40195
40206
|
var value = this.childNodes[index];
|
|
@@ -40215,11 +40226,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40215
40226
|
value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
|
|
40216
40227
|
aline = value.drawTable;
|
|
40217
40228
|
} else {
|
|
40218
|
-
if (value == this.EndMarkNode)
|
|
40229
|
+
if (value == this.EndMarkNode) {
|
|
40230
|
+
isEnd = true;
|
|
40231
|
+
break;
|
|
40232
|
+
}
|
|
40233
|
+
|
|
40219
40234
|
aline = value.placeDNode2DrawLine(droots, paraNode, aline, start, start + value.getLength() - 1, endPath);
|
|
40220
40235
|
}
|
|
40221
40236
|
|
|
40222
|
-
|
|
40237
|
+
var nodePath = hoEditorFactory.docTree.getNodeLastPath(value);
|
|
40238
|
+
var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_35__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, nodePath);
|
|
40239
|
+
|
|
40240
|
+
if (cresult <= 0) {
|
|
40241
|
+
break;
|
|
40242
|
+
}
|
|
40223
40243
|
}
|
|
40224
40244
|
|
|
40225
40245
|
aline.fitLines();
|
|
@@ -40250,8 +40270,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40250
40270
|
}
|
|
40251
40271
|
}
|
|
40252
40272
|
|
|
40253
|
-
|
|
40254
|
-
|
|
40273
|
+
if (isEnd) {
|
|
40274
|
+
this.EndMarkNode.node2DrawNode();
|
|
40275
|
+
aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
|
|
40276
|
+
}
|
|
40277
|
+
|
|
40255
40278
|
return aline.paragraphNode.getLastDrawline();
|
|
40256
40279
|
}
|
|
40257
40280
|
}, {
|
|
@@ -48347,13 +48370,19 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48347
48370
|
_this._leftBorder = new createjs.Rectangle(dLeft, dTop, 2, dHeight);
|
|
48348
48371
|
_this._rightBorder = new createjs.Rectangle(dLeft + dWidth - 2, dTop, 2, dHeight);
|
|
48349
48372
|
_this._bottomBorder = new createjs.Rectangle(dLeft, dTop + dHeight - 2, dWidth, 2);
|
|
48350
|
-
|
|
48373
|
+
var innerTop = 0;
|
|
48374
|
+
|
|
48375
|
+
if (_this._cell.drawCell.drawPageCells.length == 0) {
|
|
48376
|
+
innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(_this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(_this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
48377
|
+
}
|
|
48378
|
+
|
|
48379
|
+
if (paintImidiate === undefined || paintImidiate) _this.paintArea(_this._cell.drawCell.drawLines, startLine, innerTop);
|
|
48351
48380
|
|
|
48352
48381
|
var rowIndex = _this._cell.table.rows.indexOf(_this._cell.row);
|
|
48353
48382
|
|
|
48354
48383
|
var colIndex = _this._cell.row.indexOf(_this._cell);
|
|
48355
48384
|
|
|
48356
|
-
_this._valignTop =
|
|
48385
|
+
_this._valignTop = innerTop; // let maxWidth = 0;
|
|
48357
48386
|
// let maxHeight = 0;
|
|
48358
48387
|
// if (colIndex + this._cell.colSpan - 1 === this._cell.table.colCount - 1) {
|
|
48359
48388
|
// maxWidth = -1;
|
|
@@ -48459,8 +48488,23 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48459
48488
|
}, {
|
|
48460
48489
|
key: "updateDHeight",
|
|
48461
48490
|
value: function updateDHeight() {
|
|
48462
|
-
|
|
48463
|
-
|
|
48491
|
+
var innerBottom = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
48492
|
+
var innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
48493
|
+
var index = this.cell.drawCell.drawPageCells.indexOf(this);
|
|
48494
|
+
var docHeight = 0;
|
|
48495
|
+
|
|
48496
|
+
if (index == 0 || index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48497
|
+
if (index == 0 && index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48498
|
+
docHeight = innerTop + this.docHeight + innerBottom;
|
|
48499
|
+
} else if (index == 0) {
|
|
48500
|
+
docHeight = innerTop + this.docHeight;
|
|
48501
|
+
} else if (index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48502
|
+
docHeight = innerBottom + this.docHeight;
|
|
48503
|
+
}
|
|
48504
|
+
}
|
|
48505
|
+
|
|
48506
|
+
if (docHeight > this._dHeight) {
|
|
48507
|
+
this._dHeight = docHeight;
|
|
48464
48508
|
}
|
|
48465
48509
|
|
|
48466
48510
|
if (this._dHeight > this._maxHeight) {
|
|
@@ -48962,17 +49006,25 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48962
49006
|
}, {
|
|
48963
49007
|
key: "calcValignTop",
|
|
48964
49008
|
value: function calcValignTop() {
|
|
48965
|
-
var
|
|
49009
|
+
var index = this.cell.drawCell.drawPageCells.indexOf(this);
|
|
49010
|
+
var innerTop = 0;
|
|
49011
|
+
|
|
49012
|
+
if (index == 0) {
|
|
49013
|
+
innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
49014
|
+
}
|
|
49015
|
+
|
|
49016
|
+
var valignTop = innerTop;
|
|
48966
49017
|
|
|
48967
49018
|
if (this._cell.cellProperty.align === TableProperty/* VAlign.vatop */.TR.vatop) {
|
|
48968
|
-
valignTop =
|
|
49019
|
+
valignTop = innerTop;
|
|
48969
49020
|
} else if (this._cell.cellProperty.align === TableProperty/* VAlign.vacenter */.TR.vacenter) {
|
|
48970
49021
|
var aHeight = this.calcCellHeight();
|
|
48971
49022
|
if (aHeight > this._cell.drawCell.docHeight) valignTop = (aHeight - this._cell.drawCell.docHeight) / 2;
|
|
48972
49023
|
} else if (this._cell.cellProperty.align === TableProperty/* VAlign.vabottom */.TR.vabottom) {
|
|
48973
49024
|
var _aHeight = this.calcCellHeight();
|
|
48974
49025
|
|
|
48975
|
-
|
|
49026
|
+
var innerBottom = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
49027
|
+
if (_aHeight > this._cell.drawCell.docHeight) valignTop = _aHeight - this._cell.drawCell.docHeight - innerBottom;
|
|
48976
49028
|
}
|
|
48977
49029
|
|
|
48978
49030
|
return valignTop;
|
|
@@ -49942,12 +49994,25 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49942
49994
|
|
|
49943
49995
|
if (cell.rowSpan + r - 1 === row) {
|
|
49944
49996
|
var partCell = cell.drawCell.getDrawPageCell(this);
|
|
49997
|
+
var hoeditorfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._table.hoEditorFactoryID);
|
|
49945
49998
|
|
|
49946
49999
|
if (partCell) {
|
|
49947
50000
|
// const dobj = partCell.lastDrawLine;
|
|
49948
|
-
var
|
|
50001
|
+
var innerTop = hoeditorfactory.unitConvert.mmConversionPx(partCell.cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
50002
|
+
var innerBottom = hoeditorfactory.unitConvert.mmConversionPx(partCell.cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
50003
|
+
var dHeight = 0;
|
|
49949
50004
|
var index = partCell.cell.drawCell.drawPageCells.indexOf(partCell);
|
|
49950
50005
|
|
|
50006
|
+
if (index == 0 || index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50007
|
+
if (index == 0 && index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50008
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerTop + partCell.docHeight + innerBottom);
|
|
50009
|
+
} else if (index == 0) {
|
|
50010
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerTop + partCell.docHeight);
|
|
50011
|
+
} else if (index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50012
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerBottom + partCell.docHeight);
|
|
50013
|
+
}
|
|
50014
|
+
}
|
|
50015
|
+
|
|
49951
50016
|
if (index === partCell.cell.drawCell.drawPageCells.length - 1 || this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
|
|
49952
50017
|
if (cell.table.rowInfos[row].rowProperty.isSpecifyHeight) {
|
|
49953
50018
|
var aHeight = cell.table.rowInfos[row].rowHeight;
|
|
@@ -51797,7 +51862,12 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51797
51862
|
_fingerImage.onload = function () {
|
|
51798
51863
|
var fingerWidth = 256;
|
|
51799
51864
|
var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
|
|
51800
|
-
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
|
|
51865
|
+
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15; // 已经缩放过的指纹图片 不需要再次缩放
|
|
51866
|
+
|
|
51867
|
+
if (fingerWidth !== _fingerImage.naturalWidth) {
|
|
51868
|
+
fingerscale = 1;
|
|
51869
|
+
}
|
|
51870
|
+
|
|
51801
51871
|
_fingerBitmap.scaleX = fingerscale;
|
|
51802
51872
|
_fingerBitmap.scaleY = fingerscale;
|
|
51803
51873
|
_fingerBitmap.y = -fingerHeight * fingerscale;
|
|
@@ -200605,15 +200675,15 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200605
200675
|
// });
|
|
200606
200676
|
|
|
200607
200677
|
/* case PaintState.psPreview: {
|
|
200608
|
-
|
|
200609
|
-
|
|
200610
|
-
|
|
200611
|
-
|
|
200612
|
-
|
|
200613
|
-
|
|
200614
|
-
|
|
200615
|
-
|
|
200616
|
-
|
|
200678
|
+
break;
|
|
200679
|
+
}
|
|
200680
|
+
case PaintState.psPrint: {
|
|
200681
|
+
break;
|
|
200682
|
+
} default: {
|
|
200683
|
+
//this.mouseClick(aevent);
|
|
200684
|
+
break;
|
|
200685
|
+
}
|
|
200686
|
+
}
|
|
200617
200687
|
});*/
|
|
200618
200688
|
// this.mainBackGround.addEventListener("click", (aevent: any) => {
|
|
200619
200689
|
// this.mouseClick(aevent);
|
|
@@ -200669,7 +200739,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200669
200739
|
} // }
|
|
200670
200740
|
|
|
200671
200741
|
|
|
200672
|
-
this._selectStage.addEventListener(
|
|
200742
|
+
this._selectStage.addEventListener('stagemousedown', function (aevent) {
|
|
200673
200743
|
// this.mouseDown(aevent)
|
|
200674
200744
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200675
200745
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
@@ -200693,7 +200763,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200693
200763
|
}
|
|
200694
200764
|
});
|
|
200695
200765
|
|
|
200696
|
-
this._selectStage.addEventListener(
|
|
200766
|
+
this._selectStage.addEventListener('stagemouseup', function (aevent) {
|
|
200697
200767
|
// this.mouseup(aevent);
|
|
200698
200768
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200699
200769
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
@@ -200717,7 +200787,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200717
200787
|
}
|
|
200718
200788
|
});
|
|
200719
200789
|
|
|
200720
|
-
this._selectStage.addEventListener(
|
|
200790
|
+
this._selectStage.addEventListener('stagemousemove', function (aevent) {
|
|
200721
200791
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200722
200792
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
200723
200793
|
{
|
|
@@ -200832,7 +200902,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200832
200902
|
key: "mouseDblClick",
|
|
200833
200903
|
value: function () {
|
|
200834
200904
|
var _mouseDblClick = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(aevent) {
|
|
200835
|
-
var hoEditorFactory, dPage, oldDPage, oldPageIndex, oldArea, targetArea, isSameArea, cgEvent, startPos, np, _np$node$parentNode, prevNode, oldRange, startPath, endPath, newRange, selectChangeEvent, nodeNeedModifyEvent, cellNode, colInfos, rowInfos, colProperty, _nodeNeedModifyEvent, _nodeNeedModifyEvent2;
|
|
200905
|
+
var hoEditorFactory, dPage, oldDPage, oldPageIndex, oldArea, targetArea, isSameArea, cgEvent, startPos, np, _np$node$parentNode, prevNode, oldRange, startPath, endPath, newRange, selectChangeEvent, nodeNeedModifyEvent, cellNode, colInfos, rowInfos, colProperty, _nodeNeedModifyEvent, _nodeNeedModifyEvent2, dPageTable, dPageCell, pos, docHeight, dHeight, index, i, dLastObj, distance, aHeight, count, str, j, _oldRange, _endPath, _newRange;
|
|
200836
200906
|
|
|
200837
200907
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
|
|
200838
200908
|
while (1) {
|
|
@@ -200952,7 +201022,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200952
201022
|
}
|
|
200953
201023
|
|
|
200954
201024
|
if (np.node.nodeType === BaseNode/* NodeType.ntMedicalExpression */.Jq.ntMedicalExpression || np.node.nodeType === BaseNode/* NodeType.ntControl */.Jq.ntControl && !(np.node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh) || ((_np$node$parentNode = np.node.parentNode) === null || _np$node$parentNode === void 0 ? void 0 : _np$node$parentNode.nodeType) === BaseNode/* NodeType.ntField */.Jq.ntField || np.node.nodeType === BaseNode/* NodeType.ntSign */.Jq.ntSign || np.node.nodeType === BaseNode/* NodeType.ntGestation */.Jq.ntGestation || np.node.nodeType === BaseNode/* NodeType.ntImage */.Jq.ntImage) {
|
|
200955
|
-
nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201025
|
+
nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
200956
201026
|
hoEditorFactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
|
|
200957
201027
|
}
|
|
200958
201028
|
|
|
@@ -200985,47 +201055,53 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200985
201055
|
colProperty = colInfos.colProperty;
|
|
200986
201056
|
|
|
200987
201057
|
if (colProperty.editorProperty === TableProperty/* EditorProperty.DateTime */.YS.DateTime || colProperty.editorProperty === TableProperty/* EditorProperty.DownList */.YS.DownList) {
|
|
200988
|
-
_nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201058
|
+
_nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
200989
201059
|
hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent);
|
|
200990
201060
|
} else if (cellNode.cellProperty.editorProperty === TableProperty/* EditorProperty.DateTime */.YS.DateTime || cellNode.cellProperty.editorProperty === TableProperty/* EditorProperty.DownList */.YS.DownList) {
|
|
200991
|
-
_nodeNeedModifyEvent2 = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201061
|
+
_nodeNeedModifyEvent2 = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
200992
201062
|
hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent2);
|
|
200993
|
-
}
|
|
200994
|
-
|
|
200995
|
-
|
|
200996
|
-
|
|
200997
|
-
|
|
200998
|
-
|
|
200999
|
-
|
|
201000
|
-
|
|
201001
|
-
|
|
201002
|
-
|
|
201003
|
-
|
|
201004
|
-
|
|
201005
|
-
|
|
201006
|
-
|
|
201007
|
-
|
|
201008
|
-
|
|
201009
|
-
|
|
201010
|
-
|
|
201011
|
-
|
|
201012
|
-
// let str = "";
|
|
201013
|
-
// for (let j = 0; j < count; j++) {
|
|
201014
|
-
// str += "\n"
|
|
201015
|
-
// }
|
|
201016
|
-
// if (str != "") {
|
|
201017
|
-
// const oldRange = hoEditorFactory.docTree.curDomRange.clone();
|
|
201018
|
-
// const endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
|
|
201019
|
-
// const newRange = new DomRange(hoEditorFactory.hoEditorFactoryId, endPath, endPath);
|
|
201020
|
-
// hoEditorFactory.drawTree.moveCaretToPath(endPath);
|
|
201021
|
-
// hoEditorFactory.docTree.curDomRange = newRange;
|
|
201022
|
-
// hoEditorFactory.docController.insertPlainTextAfterPath(endPath, str);
|
|
201023
|
-
// }
|
|
201024
|
-
// }
|
|
201025
|
-
// }
|
|
201026
|
-
// }
|
|
201027
|
-
// }
|
|
201063
|
+
} else if (cellNode.table.tableProperty.isAutoChangeLine) {
|
|
201064
|
+
//处理自动换行表格,双击时光标跳到指定双击位置
|
|
201065
|
+
dPageTable = cellNode.table.drawTable.getDrawTableByPageIndex(dPage.pageIndex);
|
|
201066
|
+
|
|
201067
|
+
if (dPageTable) {
|
|
201068
|
+
dPageCell = cellNode.drawCell.getDrawPageCell(dPageTable);
|
|
201069
|
+
|
|
201070
|
+
if (dPageCell) {
|
|
201071
|
+
pos = dPageCell.globalToLocal(aevent.stageX, aevent.stageY);
|
|
201072
|
+
docHeight = 0;
|
|
201073
|
+
dHeight = 0;
|
|
201074
|
+
index = cellNode.drawCell.drawPageCells.indexOf(dPageCell);
|
|
201075
|
+
|
|
201076
|
+
for (i = 0; i < index; i++) {
|
|
201077
|
+
docHeight += cellNode.drawCell.drawPageCells[i].docHeight;
|
|
201078
|
+
dHeight += cellNode.drawCell.drawPageCells[i].dHeight;
|
|
201079
|
+
}
|
|
201080
|
+
|
|
201081
|
+
dLastObj = cellNode.drawCell.drawLines[cellNode.drawCell.drawLines.length - 1];
|
|
201028
201082
|
|
|
201083
|
+
if (dLastObj.dTop + dLastObj.docHeight < dHeight + pos.y) {
|
|
201084
|
+
distance = pos.y + dHeight - (dLastObj.dTop + dLastObj.dHeight);
|
|
201085
|
+
aHeight = cellNode.table.tableProperty.autoLineHeightPx;
|
|
201086
|
+
count = Math.floor(distance / aHeight);
|
|
201087
|
+
str = '';
|
|
201088
|
+
|
|
201089
|
+
for (j = 0; j < count; j++) {
|
|
201090
|
+
str += '\n';
|
|
201091
|
+
}
|
|
201092
|
+
|
|
201093
|
+
if (str != '') {
|
|
201094
|
+
_oldRange = hoEditorFactory.docTree.curDomRange.clone();
|
|
201095
|
+
_endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
|
|
201096
|
+
_newRange = new DomRange/* DomRange */.a(hoEditorFactory.hoEditorFactoryId, _endPath, _endPath);
|
|
201097
|
+
hoEditorFactory.drawTree.moveCaretToPath(_endPath);
|
|
201098
|
+
hoEditorFactory.docTree.curDomRange = _newRange;
|
|
201099
|
+
hoEditorFactory.docController.insertPlainTextAfterPath(_endPath, str);
|
|
201100
|
+
}
|
|
201101
|
+
}
|
|
201102
|
+
}
|
|
201103
|
+
}
|
|
201104
|
+
}
|
|
201029
201105
|
|
|
201030
201106
|
case 45:
|
|
201031
201107
|
return _context.abrupt("return", true);
|
|
@@ -201166,7 +201242,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201166
201242
|
|
|
201167
201243
|
if (child instanceof createjs.Container && curComment.id === child.name) {
|
|
201168
201244
|
child.children.forEach(function (value) {
|
|
201169
|
-
if (value.name ===
|
|
201245
|
+
if (value.name === 'back') {
|
|
201170
201246
|
value.alpha = 0.5;
|
|
201171
201247
|
}
|
|
201172
201248
|
});
|
|
@@ -201243,21 +201319,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201243
201319
|
|
|
201244
201320
|
if (!dPage.drawDomLevel) {
|
|
201245
201321
|
return false;
|
|
201246
|
-
}
|
|
201247
|
-
// const newEvent = new createjs.MouseEvent(
|
|
201248
|
-
// oldEvent.type,
|
|
201249
|
-
// oldEvent.bubbles,
|
|
201250
|
-
// oldEvent.cancelable,
|
|
201251
|
-
// oldEvent.stageX,
|
|
201252
|
-
// oldEvent.stageY,
|
|
201253
|
-
// oldEvent.nativeEvent,
|
|
201254
|
-
// oldEvent.pointerID,
|
|
201255
|
-
// oldEvent.primary,
|
|
201256
|
-
// oldEvent.rawX,
|
|
201257
|
-
// oldEvent.rawY
|
|
201258
|
-
// );
|
|
201259
|
-
// this._drawPage.drawDomLevel.stage.dispatchEvent(newEvent);
|
|
201260
|
-
|
|
201322
|
+
}
|
|
201261
201323
|
|
|
201262
201324
|
if (hoeditorfactory.drawTree.activePage !== dPage) {
|
|
201263
201325
|
hoeditorfactory.drawTree.activePage = dPage;
|
|
@@ -201278,6 +201340,16 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201278
201340
|
var endPos = hoeditorfactory.drawTree.getStagePosition(dPage, dPage.activeDrawRect, aevent.stageX, aevent.stageY);
|
|
201279
201341
|
|
|
201280
201342
|
if (endPos) {
|
|
201343
|
+
// const startLine = Number(hoeditorfactory.docTree.curDomRange.startPath.split('/')[1]);
|
|
201344
|
+
// const endLine = Number(endPos.path.split('/')[1]);
|
|
201345
|
+
// const listNode = document.querySelector('.ho-editor-list') as HTMLDivElement;
|
|
201346
|
+
// if (listNode) {
|
|
201347
|
+
// if (startLine - endLine > 8) {
|
|
201348
|
+
// listNode.scrollTo(0, listNode.scrollTop - 10);
|
|
201349
|
+
// } else if(startLine - endLine < -8) {
|
|
201350
|
+
// listNode.scrollTo(0, listNode.scrollTop + 10);
|
|
201351
|
+
// }
|
|
201352
|
+
// }
|
|
201281
201353
|
hoeditorfactory.docTree.curDomRange.endPath = endPos.path;
|
|
201282
201354
|
hoeditorfactory.drawTree.selectRange.spEnd = endPos;
|
|
201283
201355
|
hoeditorfactory.drawTree.drawSelectRange();
|
|
@@ -201356,7 +201428,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201356
201428
|
|
|
201357
201429
|
if (np && np.node) {
|
|
201358
201430
|
var buttonCount = parseInt(aevent.nativeEvent.button);
|
|
201359
|
-
var clickType = buttonCount === 0 ?
|
|
201431
|
+
var clickType = buttonCount === 0 ? 'leftclick' : buttonCount === 2 ? 'rightclick' : 'centerclick';
|
|
201360
201432
|
var nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, clickType, startPos.page ? startPos.page.pageIndex : this._pageIndex);
|
|
201361
201433
|
hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
|
|
201362
201434
|
}
|
|
@@ -207537,7 +207609,7 @@ var SignNode = __webpack_require__(34450);
|
|
|
207537
207609
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207538
207610
|
var ParagraphNode = __webpack_require__(14208);
|
|
207539
207611
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207540
|
-
/* harmony default export */ var version = ('2.0.
|
|
207612
|
+
/* harmony default export */ var version = ('2.0.77');
|
|
207541
207613
|
;// 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&
|
|
207542
207614
|
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)}
|
|
207543
207615
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
@@ -228562,9 +228634,9 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
228562
228634
|
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
228563
228635
|
|
|
228564
228636
|
/* harmony default export */ var expressionForm = (ExpressionForm);
|
|
228565
|
-
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=
|
|
228566
|
-
var RadioCheckboxvue_type_template_id_6f230d8e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === 'RadioBox' ? '单选框' : '复选框')+_vm._s(_vm.boxGroup === 1 ? '组' : ''))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},on:{"input":_vm.addNewItem},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,3552177280)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToText),callback:function ($$v) {_vm.$set(scope.row, "isTransToText", $$v)},expression:"scope.row.isTransToText"}})]}}],null,false,1354544746)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动回填","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动回填")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToText", $$v)},expression:"radioCheckbox.isTransToText"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"ho-modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === 'RadioBox' ? '单选项' : '复选项'))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
228567
|
-
var
|
|
228637
|
+
;// 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/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=5f22349b&scoped=true&
|
|
228638
|
+
var RadioCheckboxvue_type_template_id_5f22349b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === 'RadioBox' ? '单选框' : '复选框')+_vm._s(_vm.boxGroup === 1 ? '组' : ''))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},on:{"input":_vm.addNewItem},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,3552177280)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToText),callback:function ($$v) {_vm.$set(scope.row, "isTransToText", $$v)},expression:"scope.row.isTransToText"}})]}}],null,false,1354544746)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动回填","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动回填")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToText", $$v)},expression:"radioCheckbox.isTransToText"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"ho-modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === 'RadioBox' ? '单选项' : '复选项'))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
228639
|
+
var RadioCheckboxvue_type_template_id_5f22349b_scoped_true_staticRenderFns = []
|
|
228568
228640
|
|
|
228569
228641
|
|
|
228570
228642
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
|
|
@@ -228739,6 +228811,7 @@ var RadioCheckbox = /*#__PURE__*/function (_Vue) {
|
|
|
228739
228811
|
v.groupName = _this3.groupName;
|
|
228740
228812
|
v.controlStyle = _this3.controlType;
|
|
228741
228813
|
if (v.id === _this3.tableRadio) v.isSelected = true;
|
|
228814
|
+
if (v.text == '') return; // 处理单复选文本值为空的情况
|
|
228742
228815
|
|
|
228743
228816
|
_this3.vueController.insertRadioAndCheckBox('add', JSON.stringify(v));
|
|
228744
228817
|
});
|
|
@@ -228782,10 +228855,10 @@ RadioCheckbox = __decorate([vue_class_component_esm({
|
|
|
228782
228855
|
/* harmony default export */ var RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckbox);
|
|
228783
228856
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
|
|
228784
228857
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckboxvue_type_script_lang_ts_);
|
|
228785
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
228858
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5f22349b&lang=scss&scoped=true&
|
|
228786
228859
|
// extracted by mini-css-extract-plugin
|
|
228787
228860
|
|
|
228788
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
228861
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5f22349b&lang=scss&scoped=true&
|
|
228789
228862
|
|
|
228790
228863
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue
|
|
228791
228864
|
|
|
@@ -228798,11 +228871,11 @@ RadioCheckbox = __decorate([vue_class_component_esm({
|
|
|
228798
228871
|
|
|
228799
228872
|
var RadioCheckbox_component = normalizeComponent(
|
|
228800
228873
|
radioCheckBox_RadioCheckboxvue_type_script_lang_ts_,
|
|
228801
|
-
|
|
228802
|
-
|
|
228874
|
+
RadioCheckboxvue_type_template_id_5f22349b_scoped_true_render,
|
|
228875
|
+
RadioCheckboxvue_type_template_id_5f22349b_scoped_true_staticRenderFns,
|
|
228803
228876
|
false,
|
|
228804
228877
|
null,
|
|
228805
|
-
"
|
|
228878
|
+
"5f22349b",
|
|
228806
228879
|
null
|
|
228807
228880
|
|
|
228808
228881
|
)
|
|
@@ -233884,9 +233957,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233884
233957
|
if (nodes.parentNode instanceof CellNode/* CellNode */.D) {
|
|
233885
233958
|
info = {
|
|
233886
233959
|
cellNode: nodes.parentNode,
|
|
233887
|
-
tableNode: nodes.parentNode.parentNode
|
|
233888
|
-
colInfo: nodes.parentNode.table.colInfos[nodes.parentNode.row.indexOf(nodes.parentNode)],
|
|
233889
|
-
rowInfo: nodes.parentNode.table.rowInfos[nodes.parentNode.table.rows.indexOf(nodes.parentNode.row)]
|
|
233960
|
+
tableNode: nodes.parentNode.parentNode
|
|
233890
233961
|
};
|
|
233891
233962
|
} else {
|
|
233892
233963
|
isFn(nodes.parentNode);
|
|
@@ -233899,9 +233970,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233899
233970
|
if (nodes instanceof CellNode/* CellNode */.D) {
|
|
233900
233971
|
info = {
|
|
233901
233972
|
cellNode: nodes,
|
|
233902
|
-
tableNode: nodes.parentNode
|
|
233903
|
-
colInfo: nodes.table.colInfos[nodes.row.indexOf(nodes)],
|
|
233904
|
-
rowInfo: nodes.table.rowInfos[nodes.table.rows.indexOf(nodes.row)]
|
|
233973
|
+
tableNode: nodes.parentNode
|
|
233905
233974
|
};
|
|
233906
233975
|
} else {
|
|
233907
233976
|
isFn(nodes);
|
|
@@ -233939,7 +234008,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233939
234008
|
drawPageTables.forEach(function (v, key) {
|
|
233940
234009
|
if (v.parent.pageIndex === dPage.drawMainDoc.pageIndex) {
|
|
233941
234010
|
tableBounds.height = v.dHeight;
|
|
233942
|
-
tableBounds.y = dPage.drawMainDoc.y + v.
|
|
234011
|
+
tableBounds.y = dPage.drawMainDoc.y + v.y;
|
|
233943
234012
|
|
|
233944
234013
|
if (drawPageCells.length === drawPageTables.length) {
|
|
233945
234014
|
tableBounds.cellHeight = drawPageCells[key].dHeight;
|
|
@@ -234005,10 +234074,12 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
234005
234074
|
canAddRow: tableNode.tableProperty.canAddRow,
|
|
234006
234075
|
canDeleteRow: tableNode.tableProperty.canDeleteRow
|
|
234007
234076
|
};
|
|
234008
|
-
}
|
|
234009
234077
|
|
|
234010
|
-
|
|
234011
|
-
|
|
234078
|
+
if (tableNode.tableProperty.isAutoChangeLine && nodes) {
|
|
234079
|
+
this.createTable(hoEditorFactory, nodes);
|
|
234080
|
+
} else if (hoEditorFactory.isCanUseTableProperty && nodes) {
|
|
234081
|
+
this.createTable(hoEditorFactory, nodes);
|
|
234082
|
+
}
|
|
234012
234083
|
}
|
|
234013
234084
|
|
|
234014
234085
|
vueControllers.getCurTextStyle();
|