hoeditor-web 2.0.74 → 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 +270 -161
- package/lib/hoeditor.css +4 -4
- package/lib/hoeditor.umd.js +270 -161
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -13494,7 +13494,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
13494
13494
|
|
|
13495
13495
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_77__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
13496
13496
|
|
|
13497
|
-
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
|
|
13497
|
+
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview && oper !== "update") {
|
|
13498
13498
|
hoEditorFactory.undoService.begin();
|
|
13499
13499
|
hoEditorFactory.undoService.add(new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .NodeStyleUndoUnit */ .o(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .Operate */ .p("reviewDelete", "string")));
|
|
13500
13500
|
hoEditorFactory.undoService.commit();
|
|
@@ -14785,8 +14785,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14785
14785
|
if (node.text !== "") {
|
|
14786
14786
|
node.childNodes.splice(1, node.childNodes.length - 2);
|
|
14787
14787
|
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);
|
|
14788
|
-
node.childNodes.splice(1, 0, textNode);
|
|
14789
|
-
|
|
14788
|
+
node.childNodes.splice(1, 0, textNode); //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
|
|
14789
|
+
|
|
14790
|
+
changeEvent.afterChangePath = ePath;
|
|
14790
14791
|
}
|
|
14791
14792
|
} else {
|
|
14792
14793
|
//changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
@@ -14797,6 +14798,10 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14797
14798
|
node.update();
|
|
14798
14799
|
var pnode = node.parentNode;
|
|
14799
14800
|
|
|
14801
|
+
if (pnode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_46__/* .TextInputFieldNode */ .re) {
|
|
14802
|
+
pnode.update();
|
|
14803
|
+
}
|
|
14804
|
+
|
|
14800
14805
|
do {
|
|
14801
14806
|
var _pnode;
|
|
14802
14807
|
|
|
@@ -14810,9 +14815,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14810
14815
|
} while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
|
|
14811
14816
|
|
|
14812
14817
|
if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
|
|
14813
|
-
|
|
14814
|
-
|
|
14818
|
+
//增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
|
|
14815
14819
|
if (pnode.drawCell.drawPageCells.length > 1) {
|
|
14820
|
+
pnode.drawCell.needUpdate = true;
|
|
14816
14821
|
pnode.table.update();
|
|
14817
14822
|
}
|
|
14818
14823
|
}
|
|
@@ -15594,6 +15599,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
15594
15599
|
value: function setCellProperty(objectValues, cellNode) {
|
|
15595
15600
|
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_58__/* .CellProperty */ .$W(objectValues);
|
|
15596
15601
|
cellNode.cellProperty = cellProperty;
|
|
15602
|
+
cellNode.drawCell.drawPageCells.forEach(function (pcell) {
|
|
15603
|
+
pcell.valignTop = pcell.calcValignTop();
|
|
15604
|
+
});
|
|
15597
15605
|
}
|
|
15598
15606
|
/**
|
|
15599
15607
|
* 在当前页面添加页眉
|
|
@@ -16824,10 +16832,10 @@ var DocController = /*#__PURE__*/function () {
|
|
|
16824
16832
|
var startPath = domRange.startPath;
|
|
16825
16833
|
var parentNode = hoEditorFactory.docTree.getParentNode(startPath); // if (type == 1 && imgSrc != "" && imgWidth > 0 && parentNode instanceof CellNode) {
|
|
16826
16834
|
// const cellWidth = parentNode.drawCell.dWidth;
|
|
16827
|
-
// const cellHeight = parentNode.
|
|
16835
|
+
// //const cellHeight = parentNode.drawCell.dHeight;
|
|
16828
16836
|
// if (cellWidth < imgWidth) {
|
|
16829
|
-
// imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
|
|
16830
|
-
// imgWidth =
|
|
16837
|
+
// //imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
|
|
16838
|
+
// imgWidth = cellWidth;
|
|
16831
16839
|
// }
|
|
16832
16840
|
// }
|
|
16833
16841
|
|
|
@@ -26003,9 +26011,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
26003
26011
|
key: "range",
|
|
26004
26012
|
value: function range() {
|
|
26005
26013
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
26014
|
+
var spath = hoEditorFactory.docTree.getNodeFirstPath(this);
|
|
26015
|
+
var epath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
26006
26016
|
return {
|
|
26007
|
-
from:
|
|
26008
|
-
to:
|
|
26017
|
+
from: spath,
|
|
26018
|
+
to: epath
|
|
26009
26019
|
};
|
|
26010
26020
|
}
|
|
26011
26021
|
}, {
|
|
@@ -38851,7 +38861,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
38851
38861
|
/*
|
|
38852
38862
|
* @Author: your name
|
|
38853
38863
|
* @Date: 2020-11-03 15:17:54
|
|
38854
|
-
* @LastEditTime: 2022-07-
|
|
38864
|
+
* @LastEditTime: 2022-07-28 09:25:18
|
|
38855
38865
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
38856
38866
|
* @Description: In User Settings Edit
|
|
38857
38867
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -40200,6 +40210,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40200
40210
|
|
|
40201
40211
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
40202
40212
|
var endnode = hoEditorFactory.docTree.findNodePositionByPath(endPath).node;
|
|
40213
|
+
var isEnd = false;
|
|
40203
40214
|
|
|
40204
40215
|
for (var index = 0; index < this.childNodes.length; index++) {
|
|
40205
40216
|
var value = this.childNodes[index];
|
|
@@ -40225,11 +40236,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40225
40236
|
value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
|
|
40226
40237
|
aline = value.drawTable;
|
|
40227
40238
|
} else {
|
|
40228
|
-
if (value == this.EndMarkNode)
|
|
40239
|
+
if (value == this.EndMarkNode) {
|
|
40240
|
+
isEnd = true;
|
|
40241
|
+
break;
|
|
40242
|
+
}
|
|
40243
|
+
|
|
40229
40244
|
aline = value.placeDNode2DrawLine(droots, paraNode, aline, start, start + value.getLength() - 1, endPath);
|
|
40230
40245
|
}
|
|
40231
40246
|
|
|
40232
|
-
|
|
40247
|
+
var nodePath = hoEditorFactory.docTree.getNodeLastPath(value);
|
|
40248
|
+
var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_35__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, nodePath);
|
|
40249
|
+
|
|
40250
|
+
if (cresult <= 0) {
|
|
40251
|
+
break;
|
|
40252
|
+
}
|
|
40233
40253
|
}
|
|
40234
40254
|
|
|
40235
40255
|
aline.fitLines();
|
|
@@ -40260,8 +40280,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40260
40280
|
}
|
|
40261
40281
|
}
|
|
40262
40282
|
|
|
40263
|
-
|
|
40264
|
-
|
|
40283
|
+
if (isEnd) {
|
|
40284
|
+
this.EndMarkNode.node2DrawNode();
|
|
40285
|
+
aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
|
|
40286
|
+
}
|
|
40287
|
+
|
|
40265
40288
|
return aline.paragraphNode.getLastDrawline();
|
|
40266
40289
|
}
|
|
40267
40290
|
}, {
|
|
@@ -48357,13 +48380,19 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48357
48380
|
_this._leftBorder = new createjs.Rectangle(dLeft, dTop, 2, dHeight);
|
|
48358
48381
|
_this._rightBorder = new createjs.Rectangle(dLeft + dWidth - 2, dTop, 2, dHeight);
|
|
48359
48382
|
_this._bottomBorder = new createjs.Rectangle(dLeft, dTop + dHeight - 2, dWidth, 2);
|
|
48360
|
-
|
|
48383
|
+
var innerTop = 0;
|
|
48384
|
+
|
|
48385
|
+
if (_this._cell.drawCell.drawPageCells.length == 0) {
|
|
48386
|
+
innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(_this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(_this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
48387
|
+
}
|
|
48388
|
+
|
|
48389
|
+
if (paintImidiate === undefined || paintImidiate) _this.paintArea(_this._cell.drawCell.drawLines, startLine, innerTop);
|
|
48361
48390
|
|
|
48362
48391
|
var rowIndex = _this._cell.table.rows.indexOf(_this._cell.row);
|
|
48363
48392
|
|
|
48364
48393
|
var colIndex = _this._cell.row.indexOf(_this._cell);
|
|
48365
48394
|
|
|
48366
|
-
_this._valignTop =
|
|
48395
|
+
_this._valignTop = innerTop; // let maxWidth = 0;
|
|
48367
48396
|
// let maxHeight = 0;
|
|
48368
48397
|
// if (colIndex + this._cell.colSpan - 1 === this._cell.table.colCount - 1) {
|
|
48369
48398
|
// maxWidth = -1;
|
|
@@ -48469,8 +48498,23 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48469
48498
|
}, {
|
|
48470
48499
|
key: "updateDHeight",
|
|
48471
48500
|
value: function updateDHeight() {
|
|
48472
|
-
|
|
48473
|
-
|
|
48501
|
+
var innerBottom = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
48502
|
+
var innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
48503
|
+
var index = this.cell.drawCell.drawPageCells.indexOf(this);
|
|
48504
|
+
var docHeight = 0;
|
|
48505
|
+
|
|
48506
|
+
if (index == 0 || index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48507
|
+
if (index == 0 && index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48508
|
+
docHeight = innerTop + this.docHeight + innerBottom;
|
|
48509
|
+
} else if (index == 0) {
|
|
48510
|
+
docHeight = innerTop + this.docHeight;
|
|
48511
|
+
} else if (index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48512
|
+
docHeight = innerBottom + this.docHeight;
|
|
48513
|
+
}
|
|
48514
|
+
}
|
|
48515
|
+
|
|
48516
|
+
if (docHeight > this._dHeight) {
|
|
48517
|
+
this._dHeight = docHeight;
|
|
48474
48518
|
}
|
|
48475
48519
|
|
|
48476
48520
|
if (this._dHeight > this._maxHeight) {
|
|
@@ -48972,17 +49016,25 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48972
49016
|
}, {
|
|
48973
49017
|
key: "calcValignTop",
|
|
48974
49018
|
value: function calcValignTop() {
|
|
48975
|
-
var
|
|
49019
|
+
var index = this.cell.drawCell.drawPageCells.indexOf(this);
|
|
49020
|
+
var innerTop = 0;
|
|
49021
|
+
|
|
49022
|
+
if (index == 0) {
|
|
49023
|
+
innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
49024
|
+
}
|
|
49025
|
+
|
|
49026
|
+
var valignTop = innerTop;
|
|
48976
49027
|
|
|
48977
49028
|
if (this._cell.cellProperty.align === TableProperty/* VAlign.vatop */.TR.vatop) {
|
|
48978
|
-
valignTop =
|
|
49029
|
+
valignTop = innerTop;
|
|
48979
49030
|
} else if (this._cell.cellProperty.align === TableProperty/* VAlign.vacenter */.TR.vacenter) {
|
|
48980
49031
|
var aHeight = this.calcCellHeight();
|
|
48981
49032
|
if (aHeight > this._cell.drawCell.docHeight) valignTop = (aHeight - this._cell.drawCell.docHeight) / 2;
|
|
48982
49033
|
} else if (this._cell.cellProperty.align === TableProperty/* VAlign.vabottom */.TR.vabottom) {
|
|
48983
49034
|
var _aHeight = this.calcCellHeight();
|
|
48984
49035
|
|
|
48985
|
-
|
|
49036
|
+
var innerBottom = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
49037
|
+
if (_aHeight > this._cell.drawCell.docHeight) valignTop = _aHeight - this._cell.drawCell.docHeight - innerBottom;
|
|
48986
49038
|
}
|
|
48987
49039
|
|
|
48988
49040
|
return valignTop;
|
|
@@ -49952,12 +50004,25 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49952
50004
|
|
|
49953
50005
|
if (cell.rowSpan + r - 1 === row) {
|
|
49954
50006
|
var partCell = cell.drawCell.getDrawPageCell(this);
|
|
50007
|
+
var hoeditorfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._table.hoEditorFactoryID);
|
|
49955
50008
|
|
|
49956
50009
|
if (partCell) {
|
|
49957
50010
|
// const dobj = partCell.lastDrawLine;
|
|
49958
|
-
var
|
|
50011
|
+
var innerTop = hoeditorfactory.unitConvert.mmConversionPx(partCell.cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
50012
|
+
var innerBottom = hoeditorfactory.unitConvert.mmConversionPx(partCell.cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
50013
|
+
var dHeight = 0;
|
|
49959
50014
|
var index = partCell.cell.drawCell.drawPageCells.indexOf(partCell);
|
|
49960
50015
|
|
|
50016
|
+
if (index == 0 || index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50017
|
+
if (index == 0 && index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50018
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerTop + partCell.docHeight + innerBottom);
|
|
50019
|
+
} else if (index == 0) {
|
|
50020
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerTop + partCell.docHeight);
|
|
50021
|
+
} else if (index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50022
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerBottom + partCell.docHeight);
|
|
50023
|
+
}
|
|
50024
|
+
}
|
|
50025
|
+
|
|
49961
50026
|
if (index === partCell.cell.drawCell.drawPageCells.length - 1 || this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
|
|
49962
50027
|
if (cell.table.rowInfos[row].rowProperty.isSpecifyHeight) {
|
|
49963
50028
|
var aHeight = cell.table.rowInfos[row].rowHeight;
|
|
@@ -51807,7 +51872,12 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51807
51872
|
_fingerImage.onload = function () {
|
|
51808
51873
|
var fingerWidth = 256;
|
|
51809
51874
|
var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
|
|
51810
|
-
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
|
|
51875
|
+
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15; // 已经缩放过的指纹图片 不需要再次缩放
|
|
51876
|
+
|
|
51877
|
+
if (fingerWidth !== _fingerImage.naturalWidth) {
|
|
51878
|
+
fingerscale = 1;
|
|
51879
|
+
}
|
|
51880
|
+
|
|
51811
51881
|
_fingerBitmap.scaleX = fingerscale;
|
|
51812
51882
|
_fingerBitmap.scaleY = fingerscale;
|
|
51813
51883
|
_fingerBitmap.y = -fingerHeight * fingerscale;
|
|
@@ -200615,15 +200685,15 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200615
200685
|
// });
|
|
200616
200686
|
|
|
200617
200687
|
/* case PaintState.psPreview: {
|
|
200618
|
-
|
|
200619
|
-
|
|
200620
|
-
|
|
200621
|
-
|
|
200622
|
-
|
|
200623
|
-
|
|
200624
|
-
|
|
200625
|
-
|
|
200626
|
-
|
|
200688
|
+
break;
|
|
200689
|
+
}
|
|
200690
|
+
case PaintState.psPrint: {
|
|
200691
|
+
break;
|
|
200692
|
+
} default: {
|
|
200693
|
+
//this.mouseClick(aevent);
|
|
200694
|
+
break;
|
|
200695
|
+
}
|
|
200696
|
+
}
|
|
200627
200697
|
});*/
|
|
200628
200698
|
// this.mainBackGround.addEventListener("click", (aevent: any) => {
|
|
200629
200699
|
// this.mouseClick(aevent);
|
|
@@ -200679,7 +200749,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200679
200749
|
} // }
|
|
200680
200750
|
|
|
200681
200751
|
|
|
200682
|
-
this._selectStage.addEventListener(
|
|
200752
|
+
this._selectStage.addEventListener('stagemousedown', function (aevent) {
|
|
200683
200753
|
// this.mouseDown(aevent)
|
|
200684
200754
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200685
200755
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
@@ -200703,7 +200773,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200703
200773
|
}
|
|
200704
200774
|
});
|
|
200705
200775
|
|
|
200706
|
-
this._selectStage.addEventListener(
|
|
200776
|
+
this._selectStage.addEventListener('stagemouseup', function (aevent) {
|
|
200707
200777
|
// this.mouseup(aevent);
|
|
200708
200778
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200709
200779
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
@@ -200727,7 +200797,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200727
200797
|
}
|
|
200728
200798
|
});
|
|
200729
200799
|
|
|
200730
|
-
this._selectStage.addEventListener(
|
|
200800
|
+
this._selectStage.addEventListener('stagemousemove', function (aevent) {
|
|
200731
200801
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200732
200802
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
200733
200803
|
{
|
|
@@ -200842,7 +200912,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200842
200912
|
key: "mouseDblClick",
|
|
200843
200913
|
value: function () {
|
|
200844
200914
|
var _mouseDblClick = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(aevent) {
|
|
200845
|
-
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;
|
|
200915
|
+
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;
|
|
200846
200916
|
|
|
200847
200917
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
|
|
200848
200918
|
while (1) {
|
|
@@ -200962,7 +201032,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200962
201032
|
}
|
|
200963
201033
|
|
|
200964
201034
|
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) {
|
|
200965
|
-
nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201035
|
+
nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
200966
201036
|
hoEditorFactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
|
|
200967
201037
|
}
|
|
200968
201038
|
|
|
@@ -200995,47 +201065,53 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200995
201065
|
colProperty = colInfos.colProperty;
|
|
200996
201066
|
|
|
200997
201067
|
if (colProperty.editorProperty === TableProperty/* EditorProperty.DateTime */.YS.DateTime || colProperty.editorProperty === TableProperty/* EditorProperty.DownList */.YS.DownList) {
|
|
200998
|
-
_nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201068
|
+
_nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
200999
201069
|
hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent);
|
|
201000
201070
|
} else if (cellNode.cellProperty.editorProperty === TableProperty/* EditorProperty.DateTime */.YS.DateTime || cellNode.cellProperty.editorProperty === TableProperty/* EditorProperty.DownList */.YS.DownList) {
|
|
201001
|
-
_nodeNeedModifyEvent2 = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201071
|
+
_nodeNeedModifyEvent2 = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
201002
201072
|
hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent2);
|
|
201003
|
-
}
|
|
201004
|
-
|
|
201005
|
-
|
|
201006
|
-
|
|
201007
|
-
|
|
201008
|
-
|
|
201009
|
-
|
|
201010
|
-
|
|
201011
|
-
|
|
201012
|
-
|
|
201013
|
-
|
|
201014
|
-
|
|
201015
|
-
|
|
201016
|
-
|
|
201017
|
-
|
|
201018
|
-
|
|
201019
|
-
|
|
201020
|
-
|
|
201021
|
-
|
|
201022
|
-
|
|
201023
|
-
|
|
201024
|
-
|
|
201025
|
-
|
|
201026
|
-
|
|
201027
|
-
|
|
201028
|
-
// const endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
|
|
201029
|
-
// const newRange = new DomRange(hoEditorFactory.hoEditorFactoryId, endPath, endPath);
|
|
201030
|
-
// hoEditorFactory.drawTree.moveCaretToPath(endPath);
|
|
201031
|
-
// hoEditorFactory.docTree.curDomRange = newRange;
|
|
201032
|
-
// hoEditorFactory.docController.insertPlainTextAfterPath(endPath, str);
|
|
201033
|
-
// }
|
|
201034
|
-
// }
|
|
201035
|
-
// }
|
|
201036
|
-
// }
|
|
201037
|
-
// }
|
|
201073
|
+
} else if (cellNode.table.tableProperty.isAutoChangeLine) {
|
|
201074
|
+
//处理自动换行表格,双击时光标跳到指定双击位置
|
|
201075
|
+
dPageTable = cellNode.table.drawTable.getDrawTableByPageIndex(dPage.pageIndex);
|
|
201076
|
+
|
|
201077
|
+
if (dPageTable) {
|
|
201078
|
+
dPageCell = cellNode.drawCell.getDrawPageCell(dPageTable);
|
|
201079
|
+
|
|
201080
|
+
if (dPageCell) {
|
|
201081
|
+
pos = dPageCell.globalToLocal(aevent.stageX, aevent.stageY);
|
|
201082
|
+
docHeight = 0;
|
|
201083
|
+
dHeight = 0;
|
|
201084
|
+
index = cellNode.drawCell.drawPageCells.indexOf(dPageCell);
|
|
201085
|
+
|
|
201086
|
+
for (i = 0; i < index; i++) {
|
|
201087
|
+
docHeight += cellNode.drawCell.drawPageCells[i].docHeight;
|
|
201088
|
+
dHeight += cellNode.drawCell.drawPageCells[i].dHeight;
|
|
201089
|
+
}
|
|
201090
|
+
|
|
201091
|
+
dLastObj = cellNode.drawCell.drawLines[cellNode.drawCell.drawLines.length - 1];
|
|
201092
|
+
|
|
201093
|
+
if (dLastObj.dTop + dLastObj.docHeight < dHeight + pos.y) {
|
|
201094
|
+
distance = pos.y + dHeight - (dLastObj.dTop + dLastObj.dHeight);
|
|
201095
|
+
aHeight = cellNode.table.tableProperty.autoLineHeightPx;
|
|
201096
|
+
count = Math.floor(distance / aHeight);
|
|
201097
|
+
str = '';
|
|
201038
201098
|
|
|
201099
|
+
for (j = 0; j < count; j++) {
|
|
201100
|
+
str += '\n';
|
|
201101
|
+
}
|
|
201102
|
+
|
|
201103
|
+
if (str != '') {
|
|
201104
|
+
_oldRange = hoEditorFactory.docTree.curDomRange.clone();
|
|
201105
|
+
_endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
|
|
201106
|
+
_newRange = new DomRange/* DomRange */.a(hoEditorFactory.hoEditorFactoryId, _endPath, _endPath);
|
|
201107
|
+
hoEditorFactory.drawTree.moveCaretToPath(_endPath);
|
|
201108
|
+
hoEditorFactory.docTree.curDomRange = _newRange;
|
|
201109
|
+
hoEditorFactory.docController.insertPlainTextAfterPath(_endPath, str);
|
|
201110
|
+
}
|
|
201111
|
+
}
|
|
201112
|
+
}
|
|
201113
|
+
}
|
|
201114
|
+
}
|
|
201039
201115
|
|
|
201040
201116
|
case 45:
|
|
201041
201117
|
return _context.abrupt("return", true);
|
|
@@ -201176,7 +201252,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201176
201252
|
|
|
201177
201253
|
if (child instanceof createjs.Container && curComment.id === child.name) {
|
|
201178
201254
|
child.children.forEach(function (value) {
|
|
201179
|
-
if (value.name ===
|
|
201255
|
+
if (value.name === 'back') {
|
|
201180
201256
|
value.alpha = 0.5;
|
|
201181
201257
|
}
|
|
201182
201258
|
});
|
|
@@ -201253,21 +201329,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201253
201329
|
|
|
201254
201330
|
if (!dPage.drawDomLevel) {
|
|
201255
201331
|
return false;
|
|
201256
|
-
}
|
|
201257
|
-
// const newEvent = new createjs.MouseEvent(
|
|
201258
|
-
// oldEvent.type,
|
|
201259
|
-
// oldEvent.bubbles,
|
|
201260
|
-
// oldEvent.cancelable,
|
|
201261
|
-
// oldEvent.stageX,
|
|
201262
|
-
// oldEvent.stageY,
|
|
201263
|
-
// oldEvent.nativeEvent,
|
|
201264
|
-
// oldEvent.pointerID,
|
|
201265
|
-
// oldEvent.primary,
|
|
201266
|
-
// oldEvent.rawX,
|
|
201267
|
-
// oldEvent.rawY
|
|
201268
|
-
// );
|
|
201269
|
-
// this._drawPage.drawDomLevel.stage.dispatchEvent(newEvent);
|
|
201270
|
-
|
|
201332
|
+
}
|
|
201271
201333
|
|
|
201272
201334
|
if (hoeditorfactory.drawTree.activePage !== dPage) {
|
|
201273
201335
|
hoeditorfactory.drawTree.activePage = dPage;
|
|
@@ -201288,6 +201350,16 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201288
201350
|
var endPos = hoeditorfactory.drawTree.getStagePosition(dPage, dPage.activeDrawRect, aevent.stageX, aevent.stageY);
|
|
201289
201351
|
|
|
201290
201352
|
if (endPos) {
|
|
201353
|
+
// const startLine = Number(hoeditorfactory.docTree.curDomRange.startPath.split('/')[1]);
|
|
201354
|
+
// const endLine = Number(endPos.path.split('/')[1]);
|
|
201355
|
+
// const listNode = document.querySelector('.ho-editor-list') as HTMLDivElement;
|
|
201356
|
+
// if (listNode) {
|
|
201357
|
+
// if (startLine - endLine > 8) {
|
|
201358
|
+
// listNode.scrollTo(0, listNode.scrollTop - 10);
|
|
201359
|
+
// } else if(startLine - endLine < -8) {
|
|
201360
|
+
// listNode.scrollTo(0, listNode.scrollTop + 10);
|
|
201361
|
+
// }
|
|
201362
|
+
// }
|
|
201291
201363
|
hoeditorfactory.docTree.curDomRange.endPath = endPos.path;
|
|
201292
201364
|
hoeditorfactory.drawTree.selectRange.spEnd = endPos;
|
|
201293
201365
|
hoeditorfactory.drawTree.drawSelectRange();
|
|
@@ -201366,7 +201438,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201366
201438
|
|
|
201367
201439
|
if (np && np.node) {
|
|
201368
201440
|
var buttonCount = parseInt(aevent.nativeEvent.button);
|
|
201369
|
-
var clickType = buttonCount === 0 ?
|
|
201441
|
+
var clickType = buttonCount === 0 ? 'leftclick' : buttonCount === 2 ? 'rightclick' : 'centerclick';
|
|
201370
201442
|
var nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, clickType, startPos.page ? startPos.page.pageIndex : this._pageIndex);
|
|
201371
201443
|
hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
|
|
201372
201444
|
}
|
|
@@ -202332,11 +202404,11 @@ var HoToPage_component = normalizeComponent(
|
|
|
202332
202404
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
202333
202405
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
202334
202406
|
var util = __webpack_require__(17987);
|
|
202335
|
-
;// 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/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
202336
|
-
var
|
|
202407
|
+
;// 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/poperSelect/PoperSelect.vue?vue&type=template&id=f3c168f0&scoped=true&
|
|
202408
|
+
var PoperSelectvue_type_template_id_f3c168f0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
202337
202409
|
var item = ref.item;
|
|
202338
|
-
return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id},nativeOn:{"click":function($event){return _vm.selectItemsChange(item)}}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[(!_vm.mutexSelect)?_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.allSelect}},[_vm._v("全选")]):_vm._e(),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
|
|
202339
|
-
var
|
|
202410
|
+
return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id},nativeOn:{"~click":function($event){return _vm.selectItemsChange(item)}}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[(!_vm.mutexSelect)?_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.allSelect}},[_vm._v("全选")]):_vm._e(),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
|
|
202411
|
+
var PoperSelectvue_type_template_id_f3c168f0_scoped_true_staticRenderFns = []
|
|
202340
202412
|
|
|
202341
202413
|
|
|
202342
202414
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
@@ -205574,10 +205646,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
|
|
|
205574
205646
|
/* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
|
|
205575
205647
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
|
|
205576
205648
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
|
|
205577
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
205649
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=f3c168f0&lang=scss&scoped=true&
|
|
205578
205650
|
// extracted by mini-css-extract-plugin
|
|
205579
205651
|
|
|
205580
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
205652
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=f3c168f0&lang=scss&scoped=true&
|
|
205581
205653
|
|
|
205582
205654
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
|
|
205583
205655
|
|
|
@@ -205590,11 +205662,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
|
|
|
205590
205662
|
|
|
205591
205663
|
var PoperSelect_component = normalizeComponent(
|
|
205592
205664
|
poperSelect_PoperSelectvue_type_script_lang_ts_,
|
|
205593
|
-
|
|
205594
|
-
|
|
205665
|
+
PoperSelectvue_type_template_id_f3c168f0_scoped_true_render,
|
|
205666
|
+
PoperSelectvue_type_template_id_f3c168f0_scoped_true_staticRenderFns,
|
|
205595
205667
|
false,
|
|
205596
205668
|
null,
|
|
205597
|
-
"
|
|
205669
|
+
"f3c168f0",
|
|
205598
205670
|
null
|
|
205599
205671
|
|
|
205600
205672
|
)
|
|
@@ -207547,7 +207619,7 @@ var SignNode = __webpack_require__(78975);
|
|
|
207547
207619
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207548
207620
|
var ParagraphNode = __webpack_require__(13880);
|
|
207549
207621
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207550
|
-
/* harmony default export */ var version = ('2.0.
|
|
207622
|
+
/* harmony default export */ var version = ('2.0.77');
|
|
207551
207623
|
;// 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&
|
|
207552
207624
|
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)}
|
|
207553
207625
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
@@ -226326,9 +226398,9 @@ var ControlModalvue_type_template_id_1b898d58_render = function () {var _vm=this
|
|
|
226326
226398
|
var ControlModalvue_type_template_id_1b898d58_staticRenderFns = []
|
|
226327
226399
|
|
|
226328
226400
|
|
|
226329
|
-
;// 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/selectDialog/SelectDialog.vue?vue&type=template&id=
|
|
226330
|
-
var
|
|
226331
|
-
var
|
|
226401
|
+
;// 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/selectDialog/SelectDialog.vue?vue&type=template&id=00c42d15&scoped=true&
|
|
226402
|
+
var SelectDialogvue_type_template_id_00c42d15_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉框")]),_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('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.allowMultiSelect},model:{value:(_vm.mutexSelect),callback:function ($$v) {_vm.mutexSelect=$$v},expression:"mutexSelect"}},[_vm._v("选项互斥")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.downListContent.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"ho-modal-footer"},[_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)])}
|
|
226403
|
+
var SelectDialogvue_type_template_id_00c42d15_scoped_true_staticRenderFns = []
|
|
226332
226404
|
|
|
226333
226405
|
|
|
226334
226406
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
|
|
@@ -226385,6 +226457,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226385
226457
|
_this.errorArr = [];
|
|
226386
226458
|
_this.errorIndex = [];
|
|
226387
226459
|
_this.animationClassNames = "control-modal-contents select-modal animation-in";
|
|
226460
|
+
_this.tableInfo = null;
|
|
226388
226461
|
return _this;
|
|
226389
226462
|
}
|
|
226390
226463
|
|
|
@@ -226439,6 +226512,11 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226439
226512
|
this.downListContent = [].concat(list);
|
|
226440
226513
|
}
|
|
226441
226514
|
}
|
|
226515
|
+
}, {
|
|
226516
|
+
key: "mounted",
|
|
226517
|
+
value: function mounted() {
|
|
226518
|
+
this.tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
226519
|
+
}
|
|
226442
226520
|
}, {
|
|
226443
226521
|
key: "getSelectNode",
|
|
226444
226522
|
value: function getSelectNode() {
|
|
@@ -226529,6 +226607,8 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226529
226607
|
}, {
|
|
226530
226608
|
key: "addCustoms",
|
|
226531
226609
|
value: function addCustoms() {
|
|
226610
|
+
var _this4 = this;
|
|
226611
|
+
|
|
226532
226612
|
this.downListContent.push({
|
|
226533
226613
|
text: "",
|
|
226534
226614
|
value: "",
|
|
@@ -226536,17 +226616,22 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226536
226616
|
id: this.getKeyId(),
|
|
226537
226617
|
default: false
|
|
226538
226618
|
});
|
|
226619
|
+
setTimeout(function () {
|
|
226620
|
+
if (_this4.tableInfo) {
|
|
226621
|
+
_this4.tableInfo.scrollTo(0, 10000);
|
|
226622
|
+
}
|
|
226623
|
+
}, 0);
|
|
226539
226624
|
}
|
|
226540
226625
|
}, {
|
|
226541
226626
|
key: "setDefault",
|
|
226542
226627
|
value: function setDefault(id) {
|
|
226543
|
-
var
|
|
226628
|
+
var _this5 = this;
|
|
226544
226629
|
|
|
226545
226630
|
this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v) {
|
|
226546
226631
|
if (v.id === id) {
|
|
226547
226632
|
if (v.text.replace(/\s*/g, "") !== "") v.default = true;
|
|
226548
226633
|
} else {
|
|
226549
|
-
if (!
|
|
226634
|
+
if (!_this5.allowMultiSelect) v.default = false;
|
|
226550
226635
|
}
|
|
226551
226636
|
|
|
226552
226637
|
return v;
|
|
@@ -226582,7 +226667,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226582
226667
|
}, {
|
|
226583
226668
|
key: "sure",
|
|
226584
226669
|
value: function sure() {
|
|
226585
|
-
var
|
|
226670
|
+
var _this6 = this;
|
|
226586
226671
|
|
|
226587
226672
|
if (this.errorArr.length !== 0) {
|
|
226588
226673
|
return false;
|
|
@@ -226637,7 +226722,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226637
226722
|
}
|
|
226638
226723
|
|
|
226639
226724
|
this.$nextTick(function () {
|
|
226640
|
-
return
|
|
226725
|
+
return _this6.handleClose();
|
|
226641
226726
|
});
|
|
226642
226727
|
}
|
|
226643
226728
|
}, {
|
|
@@ -226668,10 +226753,10 @@ SelectDialog = __decorate([vue_class_component_esm({
|
|
|
226668
226753
|
/* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
|
|
226669
226754
|
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
|
|
226670
226755
|
/* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
|
|
226671
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=
|
|
226756
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=00c42d15&lang=scss&scoped=true&
|
|
226672
226757
|
// extracted by mini-css-extract-plugin
|
|
226673
226758
|
|
|
226674
|
-
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=
|
|
226759
|
+
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=00c42d15&lang=scss&scoped=true&
|
|
226675
226760
|
|
|
226676
226761
|
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
|
|
226677
226762
|
|
|
@@ -226684,11 +226769,11 @@ SelectDialog = __decorate([vue_class_component_esm({
|
|
|
226684
226769
|
|
|
226685
226770
|
var SelectDialog_component = normalizeComponent(
|
|
226686
226771
|
selectDialog_SelectDialogvue_type_script_lang_ts_,
|
|
226687
|
-
|
|
226688
|
-
|
|
226772
|
+
SelectDialogvue_type_template_id_00c42d15_scoped_true_render,
|
|
226773
|
+
SelectDialogvue_type_template_id_00c42d15_scoped_true_staticRenderFns,
|
|
226689
226774
|
false,
|
|
226690
226775
|
null,
|
|
226691
|
-
"
|
|
226776
|
+
"00c42d15",
|
|
226692
226777
|
null
|
|
226693
226778
|
|
|
226694
226779
|
)
|
|
@@ -228559,9 +228644,9 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
228559
228644
|
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
228560
228645
|
|
|
228561
228646
|
/* harmony default export */ var expressionForm = (ExpressionForm);
|
|
228562
|
-
;// 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=
|
|
228563
|
-
var RadioCheckboxvue_type_template_id_5067453f_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":"文本"},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,4204152597)}),_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)])}
|
|
228564
|
-
var
|
|
228647
|
+
;// 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&
|
|
228648
|
+
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)])}
|
|
228649
|
+
var RadioCheckboxvue_type_template_id_5f22349b_scoped_true_staticRenderFns = []
|
|
228565
228650
|
|
|
228566
228651
|
|
|
228567
228652
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[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&
|
|
@@ -228683,6 +228768,22 @@ var RadioCheckbox = /*#__PURE__*/function (_Vue) {
|
|
|
228683
228768
|
|
|
228684
228769
|
return value;
|
|
228685
228770
|
}
|
|
228771
|
+
}, {
|
|
228772
|
+
key: "addNewItem",
|
|
228773
|
+
value: function addNewItem() {
|
|
228774
|
+
if (this.radioCheckBoxGroup.filter(function (v) {
|
|
228775
|
+
return v.text === '';
|
|
228776
|
+
}).length === 0) {
|
|
228777
|
+
this.addBox();
|
|
228778
|
+
setTimeout(function () {
|
|
228779
|
+
var tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
228780
|
+
|
|
228781
|
+
if (tableInfo) {
|
|
228782
|
+
tableInfo.scrollTo(0, 10000);
|
|
228783
|
+
}
|
|
228784
|
+
}, 0);
|
|
228785
|
+
}
|
|
228786
|
+
}
|
|
228686
228787
|
}, {
|
|
228687
228788
|
key: "addBox",
|
|
228688
228789
|
value: function addBox() {
|
|
@@ -228720,6 +228821,7 @@ var RadioCheckbox = /*#__PURE__*/function (_Vue) {
|
|
|
228720
228821
|
v.groupName = _this3.groupName;
|
|
228721
228822
|
v.controlStyle = _this3.controlType;
|
|
228722
228823
|
if (v.id === _this3.tableRadio) v.isSelected = true;
|
|
228824
|
+
if (v.text == '') return; // 处理单复选文本值为空的情况
|
|
228723
228825
|
|
|
228724
228826
|
_this3.vueController.insertRadioAndCheckBox('add', JSON.stringify(v));
|
|
228725
228827
|
});
|
|
@@ -228763,10 +228865,10 @@ RadioCheckbox = __decorate([vue_class_component_esm({
|
|
|
228763
228865
|
/* harmony default export */ var RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckbox);
|
|
228764
228866
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
|
|
228765
228867
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckboxvue_type_script_lang_ts_);
|
|
228766
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[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=
|
|
228868
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[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&
|
|
228767
228869
|
// extracted by mini-css-extract-plugin
|
|
228768
228870
|
|
|
228769
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
228871
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5f22349b&lang=scss&scoped=true&
|
|
228770
228872
|
|
|
228771
228873
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue
|
|
228772
228874
|
|
|
@@ -228779,11 +228881,11 @@ RadioCheckbox = __decorate([vue_class_component_esm({
|
|
|
228779
228881
|
|
|
228780
228882
|
var RadioCheckbox_component = normalizeComponent(
|
|
228781
228883
|
radioCheckBox_RadioCheckboxvue_type_script_lang_ts_,
|
|
228782
|
-
|
|
228783
|
-
|
|
228884
|
+
RadioCheckboxvue_type_template_id_5f22349b_scoped_true_render,
|
|
228885
|
+
RadioCheckboxvue_type_template_id_5f22349b_scoped_true_staticRenderFns,
|
|
228784
228886
|
false,
|
|
228785
228887
|
null,
|
|
228786
|
-
"
|
|
228888
|
+
"5f22349b",
|
|
228787
228889
|
null
|
|
228788
228890
|
|
|
228789
228891
|
)
|
|
@@ -229245,9 +229347,9 @@ var DataSource_component = normalizeComponent(
|
|
|
229245
229347
|
;// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
229246
229348
|
|
|
229247
229349
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
229248
|
-
;// 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/listsource/ListSource.vue?vue&type=template&id=
|
|
229249
|
-
var
|
|
229250
|
-
var
|
|
229350
|
+
;// 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/listsource/ListSource.vue?vue&type=template&id=08d9ce14&scoped=true&
|
|
229351
|
+
var ListSourcevue_type_template_id_08d9ce14_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"listSourceModal",staticClass:"control-modal-contents list-source-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉列表")]),_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",staticStyle:{"width":"100%"}},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini","placeholder":"来源"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("列表")]),_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listValue,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.listValue.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"ho-modal-footer"},[_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)])}
|
|
229352
|
+
var ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns = []
|
|
229251
229353
|
|
|
229252
229354
|
|
|
229253
229355
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
|
|
@@ -229283,7 +229385,8 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229283
229385
|
|
|
229284
229386
|
_this = _super.apply(this, arguments);
|
|
229285
229387
|
_this.focusIndexs = -1;
|
|
229286
|
-
_this.source =
|
|
229388
|
+
_this.source = '';
|
|
229389
|
+
_this.tableInfo = null;
|
|
229287
229390
|
_this.errorArr = [];
|
|
229288
229391
|
_this.errorIndex = [];
|
|
229289
229392
|
_this.listValue = [];
|
|
@@ -229300,8 +229403,8 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229300
229403
|
key: "init",
|
|
229301
229404
|
value: function init() {
|
|
229302
229405
|
var list = [{
|
|
229303
|
-
text:
|
|
229304
|
-
value:
|
|
229406
|
+
text: '',
|
|
229407
|
+
value: '',
|
|
229305
229408
|
type: 0,
|
|
229306
229409
|
id: this.getKeyId()
|
|
229307
229410
|
}];
|
|
@@ -229315,6 +229418,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229315
229418
|
this.listValue = [].concat((0,toConsumableArray/* default */.Z)(arr), list);
|
|
229316
229419
|
this.source = this.getListArrSource();
|
|
229317
229420
|
this.isAllowMultiSelected = this.getListAllowMultiSelected();
|
|
229421
|
+
this.tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
229318
229422
|
}
|
|
229319
229423
|
}, {
|
|
229320
229424
|
key: "focusIndex",
|
|
@@ -229326,7 +229430,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229326
229430
|
value: function blurIndex(index) {
|
|
229327
229431
|
var item = this.listValue[index];
|
|
229328
229432
|
|
|
229329
|
-
if ((item === null || item === void 0 ? void 0 : item.value.replace(/\s*/g,
|
|
229433
|
+
if ((item === null || item === void 0 ? void 0 : item.value.replace(/\s*/g, '')) === '' && (item === null || item === void 0 ? void 0 : item.text.replace(/\s*/g, '')) === '' && index !== this.listValue.length - 1) {
|
|
229330
229434
|
this.deleteCurrentRow(item.id);
|
|
229331
229435
|
}
|
|
229332
229436
|
|
|
@@ -229341,7 +229445,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229341
229445
|
} else {
|
|
229342
229446
|
this.errorIndex = [];
|
|
229343
229447
|
var emptyItem = this.listValue.filter(function (v) {
|
|
229344
|
-
if ((v === null || v === void 0 ? void 0 : v.value.replace(/\s*/g,
|
|
229448
|
+
if ((v === null || v === void 0 ? void 0 : v.value.replace(/\s*/g, '')) === '' && (v === null || v === void 0 ? void 0 : v.text.replace(/\s*/g, '')) === '') {
|
|
229345
229449
|
return v;
|
|
229346
229450
|
}
|
|
229347
229451
|
});
|
|
@@ -229385,24 +229489,31 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229385
229489
|
}, {
|
|
229386
229490
|
key: "addCustoms",
|
|
229387
229491
|
value: function addCustoms() {
|
|
229492
|
+
var _this3 = this;
|
|
229493
|
+
|
|
229388
229494
|
this.listValue.push({
|
|
229389
|
-
text:
|
|
229390
|
-
value:
|
|
229495
|
+
text: '',
|
|
229496
|
+
value: '',
|
|
229391
229497
|
type: 0,
|
|
229392
229498
|
id: this.getKeyId(),
|
|
229393
229499
|
default: false
|
|
229394
229500
|
});
|
|
229501
|
+
setTimeout(function () {
|
|
229502
|
+
if (_this3.tableInfo) {
|
|
229503
|
+
_this3.tableInfo.scrollTo(0, 10000);
|
|
229504
|
+
}
|
|
229505
|
+
}, 0);
|
|
229395
229506
|
}
|
|
229396
229507
|
}, {
|
|
229397
229508
|
key: "setDefault",
|
|
229398
229509
|
value: function setDefault(id) {
|
|
229399
|
-
var
|
|
229510
|
+
var _this4 = this;
|
|
229400
229511
|
|
|
229401
229512
|
this.listValue = (0,toConsumableArray/* default */.Z)(this.listValue.map(function (v) {
|
|
229402
229513
|
if (v.id === id) {
|
|
229403
|
-
if (v.text.replace(/\s*/g,
|
|
229514
|
+
if (v.text.replace(/\s*/g, '') !== '') v.default = true;
|
|
229404
229515
|
} else {
|
|
229405
|
-
if (!
|
|
229516
|
+
if (!_this4.isAllowMultiSelected) v.default = false;
|
|
229406
229517
|
}
|
|
229407
229518
|
|
|
229408
229519
|
return v;
|
|
@@ -229453,7 +229564,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229453
229564
|
}, {
|
|
229454
229565
|
key: "getKeyId",
|
|
229455
229566
|
value: function getKeyId(index) {
|
|
229456
|
-
return index ?
|
|
229567
|
+
return index ? 'DL' + new Date().getTime() + index : 'DL' + new Date().getTime();
|
|
229457
229568
|
}
|
|
229458
229569
|
}, {
|
|
229459
229570
|
key: "handleClose",
|
|
@@ -229463,18 +229574,18 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229463
229574
|
}, {
|
|
229464
229575
|
key: "closeTimeout",
|
|
229465
229576
|
value: function closeTimeout() {
|
|
229466
|
-
var
|
|
229577
|
+
var _this5 = this;
|
|
229467
229578
|
|
|
229468
229579
|
setTimeout(function () {
|
|
229469
|
-
|
|
229580
|
+
_this5.setIsListStyle(false);
|
|
229470
229581
|
|
|
229471
|
-
|
|
229582
|
+
_this5.listValue = [];
|
|
229472
229583
|
}, 0);
|
|
229473
229584
|
}
|
|
229474
229585
|
}, {
|
|
229475
229586
|
key: "toolModalDown",
|
|
229476
229587
|
value: function toolModalDown(e) {
|
|
229477
|
-
(0,util/* toolModalMove */.tC)(e, this.listSourceModal,
|
|
229588
|
+
(0,util/* toolModalMove */.tC)(e, this.listSourceModal, 'modal-title');
|
|
229478
229589
|
}
|
|
229479
229590
|
}]);
|
|
229480
229591
|
|
|
@@ -229483,26 +229594,26 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229483
229594
|
|
|
229484
229595
|
__decorate([Ref()], ListSource.prototype, "listSourceModal", void 0);
|
|
229485
229596
|
|
|
229486
|
-
__decorate([Inject(
|
|
229597
|
+
__decorate([Inject('setIsListStyle')], ListSource.prototype, "setIsListStyle", void 0);
|
|
229487
229598
|
|
|
229488
|
-
__decorate([Inject(
|
|
229599
|
+
__decorate([Inject('setListStyle')], ListSource.prototype, "setListStyle", void 0);
|
|
229489
229600
|
|
|
229490
|
-
__decorate([Inject(
|
|
229601
|
+
__decorate([Inject('getListAllowMultiSelected')], ListSource.prototype, "getListAllowMultiSelected", void 0);
|
|
229491
229602
|
|
|
229492
|
-
__decorate([Inject(
|
|
229603
|
+
__decorate([Inject('getListStyle')], ListSource.prototype, "getListStyle", void 0);
|
|
229493
229604
|
|
|
229494
|
-
__decorate([Inject(
|
|
229605
|
+
__decorate([Inject('getListArrSource')], ListSource.prototype, "getListArrSource", void 0);
|
|
229495
229606
|
|
|
229496
229607
|
ListSource = __decorate([vue_class_component_esm({
|
|
229497
|
-
name:
|
|
229608
|
+
name: 'ListSource'
|
|
229498
229609
|
})], ListSource);
|
|
229499
229610
|
/* harmony default export */ var ListSourcevue_type_script_lang_ts_ = (ListSource);
|
|
229500
229611
|
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
|
|
229501
229612
|
/* harmony default export */ var listsource_ListSourcevue_type_script_lang_ts_ = (ListSourcevue_type_script_lang_ts_);
|
|
229502
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=
|
|
229613
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
|
|
229503
229614
|
// extracted by mini-css-extract-plugin
|
|
229504
229615
|
|
|
229505
|
-
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=
|
|
229616
|
+
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
|
|
229506
229617
|
|
|
229507
229618
|
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue
|
|
229508
229619
|
|
|
@@ -229515,11 +229626,11 @@ ListSource = __decorate([vue_class_component_esm({
|
|
|
229515
229626
|
|
|
229516
229627
|
var ListSource_component = normalizeComponent(
|
|
229517
229628
|
listsource_ListSourcevue_type_script_lang_ts_,
|
|
229518
|
-
|
|
229519
|
-
|
|
229629
|
+
ListSourcevue_type_template_id_08d9ce14_scoped_true_render,
|
|
229630
|
+
ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns,
|
|
229520
229631
|
false,
|
|
229521
229632
|
null,
|
|
229522
|
-
"
|
|
229633
|
+
"08d9ce14",
|
|
229523
229634
|
null
|
|
229524
229635
|
|
|
229525
229636
|
)
|
|
@@ -233856,9 +233967,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233856
233967
|
if (nodes.parentNode instanceof CellNode/* CellNode */.D) {
|
|
233857
233968
|
info = {
|
|
233858
233969
|
cellNode: nodes.parentNode,
|
|
233859
|
-
tableNode: nodes.parentNode.parentNode
|
|
233860
|
-
colInfo: nodes.parentNode.table.colInfos[nodes.parentNode.row.indexOf(nodes.parentNode)],
|
|
233861
|
-
rowInfo: nodes.parentNode.table.rowInfos[nodes.parentNode.table.rows.indexOf(nodes.parentNode.row)]
|
|
233970
|
+
tableNode: nodes.parentNode.parentNode
|
|
233862
233971
|
};
|
|
233863
233972
|
} else {
|
|
233864
233973
|
isFn(nodes.parentNode);
|
|
@@ -233871,9 +233980,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233871
233980
|
if (nodes instanceof CellNode/* CellNode */.D) {
|
|
233872
233981
|
info = {
|
|
233873
233982
|
cellNode: nodes,
|
|
233874
|
-
tableNode: nodes.parentNode
|
|
233875
|
-
colInfo: nodes.table.colInfos[nodes.row.indexOf(nodes)],
|
|
233876
|
-
rowInfo: nodes.table.rowInfos[nodes.table.rows.indexOf(nodes.row)]
|
|
233983
|
+
tableNode: nodes.parentNode
|
|
233877
233984
|
};
|
|
233878
233985
|
} else {
|
|
233879
233986
|
isFn(nodes);
|
|
@@ -233911,7 +234018,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233911
234018
|
drawPageTables.forEach(function (v, key) {
|
|
233912
234019
|
if (v.parent.pageIndex === dPage.drawMainDoc.pageIndex) {
|
|
233913
234020
|
tableBounds.height = v.dHeight;
|
|
233914
|
-
tableBounds.y = dPage.drawMainDoc.y + v.
|
|
234021
|
+
tableBounds.y = dPage.drawMainDoc.y + v.y;
|
|
233915
234022
|
|
|
233916
234023
|
if (drawPageCells.length === drawPageTables.length) {
|
|
233917
234024
|
tableBounds.cellHeight = drawPageCells[key].dHeight;
|
|
@@ -233977,10 +234084,12 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233977
234084
|
canAddRow: tableNode.tableProperty.canAddRow,
|
|
233978
234085
|
canDeleteRow: tableNode.tableProperty.canDeleteRow
|
|
233979
234086
|
};
|
|
233980
|
-
}
|
|
233981
234087
|
|
|
233982
|
-
|
|
233983
|
-
|
|
234088
|
+
if (tableNode.tableProperty.isAutoChangeLine && nodes) {
|
|
234089
|
+
this.createTable(hoEditorFactory, nodes);
|
|
234090
|
+
} else if (hoEditorFactory.isCanUseTableProperty && nodes) {
|
|
234091
|
+
this.createTable(hoEditorFactory, nodes);
|
|
234092
|
+
}
|
|
233984
234093
|
}
|
|
233985
234094
|
|
|
233986
234095
|
vueControllers.getCurTextStyle();
|