hoeditor-web 2.0.75 → 2.0.78
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 +268 -157
- package/lib/hoeditor.css +2 -855
- package/lib/hoeditor.umd.js +268 -157
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -14775,8 +14775,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14775
14775
|
if (node.text !== "") {
|
|
14776
14776
|
node.childNodes.splice(1, node.childNodes.length - 2);
|
|
14777
14777
|
var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_27__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntText */ .Jq.ntText, values["text"], hoEditorFactory.docTree.curStyleIndex);
|
|
14778
|
-
node.childNodes.splice(1, 0, textNode);
|
|
14779
|
-
|
|
14778
|
+
node.childNodes.splice(1, 0, textNode); //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
|
|
14779
|
+
|
|
14780
|
+
changeEvent.afterChangePath = ePath;
|
|
14780
14781
|
}
|
|
14781
14782
|
} else {
|
|
14782
14783
|
//changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
@@ -14787,6 +14788,10 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14787
14788
|
node.update();
|
|
14788
14789
|
var pnode = node.parentNode;
|
|
14789
14790
|
|
|
14791
|
+
if (pnode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_46__/* .TextInputFieldNode */ .re) {
|
|
14792
|
+
pnode.update();
|
|
14793
|
+
}
|
|
14794
|
+
|
|
14790
14795
|
do {
|
|
14791
14796
|
var _pnode;
|
|
14792
14797
|
|
|
@@ -14800,9 +14805,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
14800
14805
|
} while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
|
|
14801
14806
|
|
|
14802
14807
|
if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
|
|
14803
|
-
|
|
14804
|
-
|
|
14808
|
+
//增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
|
|
14805
14809
|
if (pnode.drawCell.drawPageCells.length > 1) {
|
|
14810
|
+
pnode.drawCell.needUpdate = true;
|
|
14806
14811
|
pnode.table.update();
|
|
14807
14812
|
}
|
|
14808
14813
|
}
|
|
@@ -15584,6 +15589,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
15584
15589
|
value: function setCellProperty(objectValues, cellNode) {
|
|
15585
15590
|
var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_58__/* .CellProperty */ .$W(objectValues);
|
|
15586
15591
|
cellNode.cellProperty = cellProperty;
|
|
15592
|
+
cellNode.drawCell.drawPageCells.forEach(function (pcell) {
|
|
15593
|
+
pcell.valignTop = pcell.calcValignTop();
|
|
15594
|
+
});
|
|
15587
15595
|
}
|
|
15588
15596
|
/**
|
|
15589
15597
|
* 在当前页面添加页眉
|
|
@@ -25993,9 +26001,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
|
|
|
25993
26001
|
key: "range",
|
|
25994
26002
|
value: function range() {
|
|
25995
26003
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
26004
|
+
var spath = hoEditorFactory.docTree.getNodeFirstPath(this);
|
|
26005
|
+
var epath = hoEditorFactory.docTree.getNodeLastPath(this);
|
|
25996
26006
|
return {
|
|
25997
|
-
from:
|
|
25998
|
-
to:
|
|
26007
|
+
from: spath,
|
|
26008
|
+
to: epath
|
|
25999
26009
|
};
|
|
26000
26010
|
}
|
|
26001
26011
|
}, {
|
|
@@ -38841,7 +38851,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
|
|
|
38841
38851
|
/*
|
|
38842
38852
|
* @Author: your name
|
|
38843
38853
|
* @Date: 2020-11-03 15:17:54
|
|
38844
|
-
* @LastEditTime: 2022-07-
|
|
38854
|
+
* @LastEditTime: 2022-07-28 09:25:18
|
|
38845
38855
|
* @LastEditors: liyanan 2441631434@qq.com
|
|
38846
38856
|
* @Description: In User Settings Edit
|
|
38847
38857
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -40190,6 +40200,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40190
40200
|
|
|
40191
40201
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
40192
40202
|
var endnode = hoEditorFactory.docTree.findNodePositionByPath(endPath).node;
|
|
40203
|
+
var isEnd = false;
|
|
40193
40204
|
|
|
40194
40205
|
for (var index = 0; index < this.childNodes.length; index++) {
|
|
40195
40206
|
var value = this.childNodes[index];
|
|
@@ -40215,11 +40226,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40215
40226
|
value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
|
|
40216
40227
|
aline = value.drawTable;
|
|
40217
40228
|
} else {
|
|
40218
|
-
if (value == this.EndMarkNode)
|
|
40229
|
+
if (value == this.EndMarkNode) {
|
|
40230
|
+
isEnd = true;
|
|
40231
|
+
break;
|
|
40232
|
+
}
|
|
40233
|
+
|
|
40219
40234
|
aline = value.placeDNode2DrawLine(droots, paraNode, aline, start, start + value.getLength() - 1, endPath);
|
|
40220
40235
|
}
|
|
40221
40236
|
|
|
40222
|
-
|
|
40237
|
+
var nodePath = hoEditorFactory.docTree.getNodeLastPath(value);
|
|
40238
|
+
var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_35__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, nodePath);
|
|
40239
|
+
|
|
40240
|
+
if (cresult <= 0) {
|
|
40241
|
+
break;
|
|
40242
|
+
}
|
|
40223
40243
|
}
|
|
40224
40244
|
|
|
40225
40245
|
aline.fitLines();
|
|
@@ -40250,8 +40270,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
40250
40270
|
}
|
|
40251
40271
|
}
|
|
40252
40272
|
|
|
40253
|
-
|
|
40254
|
-
|
|
40273
|
+
if (isEnd) {
|
|
40274
|
+
this.EndMarkNode.node2DrawNode();
|
|
40275
|
+
aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
|
|
40276
|
+
}
|
|
40277
|
+
|
|
40255
40278
|
return aline.paragraphNode.getLastDrawline();
|
|
40256
40279
|
}
|
|
40257
40280
|
}, {
|
|
@@ -48347,13 +48370,19 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48347
48370
|
_this._leftBorder = new createjs.Rectangle(dLeft, dTop, 2, dHeight);
|
|
48348
48371
|
_this._rightBorder = new createjs.Rectangle(dLeft + dWidth - 2, dTop, 2, dHeight);
|
|
48349
48372
|
_this._bottomBorder = new createjs.Rectangle(dLeft, dTop + dHeight - 2, dWidth, 2);
|
|
48350
|
-
|
|
48373
|
+
var innerTop = 0;
|
|
48374
|
+
|
|
48375
|
+
if (_this._cell.drawCell.drawPageCells.length == 0) {
|
|
48376
|
+
innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(_this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(_this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
48377
|
+
}
|
|
48378
|
+
|
|
48379
|
+
if (paintImidiate === undefined || paintImidiate) _this.paintArea(_this._cell.drawCell.drawLines, startLine, innerTop);
|
|
48351
48380
|
|
|
48352
48381
|
var rowIndex = _this._cell.table.rows.indexOf(_this._cell.row);
|
|
48353
48382
|
|
|
48354
48383
|
var colIndex = _this._cell.row.indexOf(_this._cell);
|
|
48355
48384
|
|
|
48356
|
-
_this._valignTop =
|
|
48385
|
+
_this._valignTop = innerTop; // let maxWidth = 0;
|
|
48357
48386
|
// let maxHeight = 0;
|
|
48358
48387
|
// if (colIndex + this._cell.colSpan - 1 === this._cell.table.colCount - 1) {
|
|
48359
48388
|
// maxWidth = -1;
|
|
@@ -48459,8 +48488,23 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48459
48488
|
}, {
|
|
48460
48489
|
key: "updateDHeight",
|
|
48461
48490
|
value: function updateDHeight() {
|
|
48462
|
-
|
|
48463
|
-
|
|
48491
|
+
var innerBottom = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
48492
|
+
var innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
48493
|
+
var index = this.cell.drawCell.drawPageCells.indexOf(this);
|
|
48494
|
+
var docHeight = 0;
|
|
48495
|
+
|
|
48496
|
+
if (index == 0 || index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48497
|
+
if (index == 0 && index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48498
|
+
docHeight = innerTop + this.docHeight + innerBottom;
|
|
48499
|
+
} else if (index == 0) {
|
|
48500
|
+
docHeight = innerTop + this.docHeight;
|
|
48501
|
+
} else if (index == this.cell.drawCell.drawPageCells.length - 1) {
|
|
48502
|
+
docHeight = innerBottom + this.docHeight;
|
|
48503
|
+
}
|
|
48504
|
+
}
|
|
48505
|
+
|
|
48506
|
+
if (docHeight > this._dHeight) {
|
|
48507
|
+
this._dHeight = docHeight;
|
|
48464
48508
|
}
|
|
48465
48509
|
|
|
48466
48510
|
if (this._dHeight > this._maxHeight) {
|
|
@@ -48962,17 +49006,25 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
48962
49006
|
}, {
|
|
48963
49007
|
key: "calcValignTop",
|
|
48964
49008
|
value: function calcValignTop() {
|
|
48965
|
-
var
|
|
49009
|
+
var index = this.cell.drawCell.drawPageCells.indexOf(this);
|
|
49010
|
+
var innerTop = 0;
|
|
49011
|
+
|
|
49012
|
+
if (index == 0) {
|
|
49013
|
+
innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
49014
|
+
}
|
|
49015
|
+
|
|
49016
|
+
var valignTop = innerTop;
|
|
48966
49017
|
|
|
48967
49018
|
if (this._cell.cellProperty.align === TableProperty/* VAlign.vatop */.TR.vatop) {
|
|
48968
|
-
valignTop =
|
|
49019
|
+
valignTop = innerTop;
|
|
48969
49020
|
} else if (this._cell.cellProperty.align === TableProperty/* VAlign.vacenter */.TR.vacenter) {
|
|
48970
49021
|
var aHeight = this.calcCellHeight();
|
|
48971
49022
|
if (aHeight > this._cell.drawCell.docHeight) valignTop = (aHeight - this._cell.drawCell.docHeight) / 2;
|
|
48972
49023
|
} else if (this._cell.cellProperty.align === TableProperty/* VAlign.vabottom */.TR.vabottom) {
|
|
48973
49024
|
var _aHeight = this.calcCellHeight();
|
|
48974
49025
|
|
|
48975
|
-
|
|
49026
|
+
var innerBottom = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
49027
|
+
if (_aHeight > this._cell.drawCell.docHeight) valignTop = _aHeight - this._cell.drawCell.docHeight - innerBottom;
|
|
48976
49028
|
}
|
|
48977
49029
|
|
|
48978
49030
|
return valignTop;
|
|
@@ -49942,12 +49994,27 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
49942
49994
|
|
|
49943
49995
|
if (cell.rowSpan + r - 1 === row) {
|
|
49944
49996
|
var partCell = cell.drawCell.getDrawPageCell(this);
|
|
49997
|
+
var hoeditorfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._table.hoEditorFactoryID);
|
|
49945
49998
|
|
|
49946
49999
|
if (partCell) {
|
|
49947
50000
|
// const dobj = partCell.lastDrawLine;
|
|
49948
|
-
var
|
|
50001
|
+
var innerTop = hoeditorfactory.unitConvert.mmConversionPx(partCell.cell.cellProperty.cellInnerMargin[0] * 10, true);
|
|
50002
|
+
var innerBottom = hoeditorfactory.unitConvert.mmConversionPx(partCell.cell.cellProperty.cellInnerMargin[1] * 10, true);
|
|
50003
|
+
var dHeight = 0;
|
|
49949
50004
|
var index = partCell.cell.drawCell.drawPageCells.indexOf(partCell);
|
|
49950
50005
|
|
|
50006
|
+
if (index == 0 || index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50007
|
+
if (index == 0 && index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50008
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerTop + partCell.docHeight + innerBottom);
|
|
50009
|
+
} else if (index == 0) {
|
|
50010
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerTop + partCell.docHeight);
|
|
50011
|
+
} else if (index == partCell.cell.drawCell.drawPageCells.length - 1) {
|
|
50012
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerBottom + partCell.docHeight);
|
|
50013
|
+
}
|
|
50014
|
+
} else {
|
|
50015
|
+
dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, partCell.docHeight);
|
|
50016
|
+
}
|
|
50017
|
+
|
|
49951
50018
|
if (index === partCell.cell.drawCell.drawPageCells.length - 1 || this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
|
|
49952
50019
|
if (cell.table.rowInfos[row].rowProperty.isSpecifyHeight) {
|
|
49953
50020
|
var aHeight = cell.table.rowInfos[row].rowHeight;
|
|
@@ -51797,7 +51864,12 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
51797
51864
|
_fingerImage.onload = function () {
|
|
51798
51865
|
var fingerWidth = 256;
|
|
51799
51866
|
var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
|
|
51800
|
-
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
|
|
51867
|
+
var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15; // 已经缩放过的指纹图片 不需要再次缩放
|
|
51868
|
+
|
|
51869
|
+
if (fingerWidth !== _fingerImage.naturalWidth) {
|
|
51870
|
+
fingerscale = 1;
|
|
51871
|
+
}
|
|
51872
|
+
|
|
51801
51873
|
_fingerBitmap.scaleX = fingerscale;
|
|
51802
51874
|
_fingerBitmap.scaleY = fingerscale;
|
|
51803
51875
|
_fingerBitmap.y = -fingerHeight * fingerscale;
|
|
@@ -200605,15 +200677,15 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200605
200677
|
// });
|
|
200606
200678
|
|
|
200607
200679
|
/* case PaintState.psPreview: {
|
|
200608
|
-
|
|
200609
|
-
|
|
200610
|
-
|
|
200611
|
-
|
|
200612
|
-
|
|
200613
|
-
|
|
200614
|
-
|
|
200615
|
-
|
|
200616
|
-
|
|
200680
|
+
break;
|
|
200681
|
+
}
|
|
200682
|
+
case PaintState.psPrint: {
|
|
200683
|
+
break;
|
|
200684
|
+
} default: {
|
|
200685
|
+
//this.mouseClick(aevent);
|
|
200686
|
+
break;
|
|
200687
|
+
}
|
|
200688
|
+
}
|
|
200617
200689
|
});*/
|
|
200618
200690
|
// this.mainBackGround.addEventListener("click", (aevent: any) => {
|
|
200619
200691
|
// this.mouseClick(aevent);
|
|
@@ -200669,7 +200741,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200669
200741
|
} // }
|
|
200670
200742
|
|
|
200671
200743
|
|
|
200672
|
-
this._selectStage.addEventListener(
|
|
200744
|
+
this._selectStage.addEventListener('stagemousedown', function (aevent) {
|
|
200673
200745
|
// this.mouseDown(aevent)
|
|
200674
200746
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200675
200747
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
@@ -200693,7 +200765,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200693
200765
|
}
|
|
200694
200766
|
});
|
|
200695
200767
|
|
|
200696
|
-
this._selectStage.addEventListener(
|
|
200768
|
+
this._selectStage.addEventListener('stagemouseup', function (aevent) {
|
|
200697
200769
|
// this.mouseup(aevent);
|
|
200698
200770
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200699
200771
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
@@ -200717,7 +200789,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200717
200789
|
}
|
|
200718
200790
|
});
|
|
200719
200791
|
|
|
200720
|
-
this._selectStage.addEventListener(
|
|
200792
|
+
this._selectStage.addEventListener('stagemousemove', function (aevent) {
|
|
200721
200793
|
switch (hoEditorFactory.drawTree.paintStatus) {
|
|
200722
200794
|
case DrawTree/* PaintState.psPreview */.Dh.psPreview:
|
|
200723
200795
|
{
|
|
@@ -200832,7 +200904,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200832
200904
|
key: "mouseDblClick",
|
|
200833
200905
|
value: function () {
|
|
200834
200906
|
var _mouseDblClick = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(aevent) {
|
|
200835
|
-
var hoEditorFactory, dPage, oldDPage, oldPageIndex, oldArea, targetArea, isSameArea, cgEvent, startPos, np, _np$node$parentNode, prevNode, oldRange, startPath, endPath, newRange, selectChangeEvent, nodeNeedModifyEvent, cellNode, colInfos, rowInfos, colProperty, _nodeNeedModifyEvent, _nodeNeedModifyEvent2;
|
|
200907
|
+
var hoEditorFactory, dPage, oldDPage, oldPageIndex, oldArea, targetArea, isSameArea, cgEvent, startPos, np, _np$node$parentNode, prevNode, oldRange, startPath, endPath, newRange, selectChangeEvent, nodeNeedModifyEvent, cellNode, colInfos, rowInfos, colProperty, _nodeNeedModifyEvent, _nodeNeedModifyEvent2, dPageTable, dPageCell, pos, docHeight, dHeight, index, i, dLastObj, distance, aHeight, count, str, j, _oldRange, _endPath, _newRange;
|
|
200836
200908
|
|
|
200837
200909
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
|
|
200838
200910
|
while (1) {
|
|
@@ -200952,7 +201024,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200952
201024
|
}
|
|
200953
201025
|
|
|
200954
201026
|
if (np.node.nodeType === BaseNode/* NodeType.ntMedicalExpression */.Jq.ntMedicalExpression || np.node.nodeType === BaseNode/* NodeType.ntControl */.Jq.ntControl && !(np.node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh) || ((_np$node$parentNode = np.node.parentNode) === null || _np$node$parentNode === void 0 ? void 0 : _np$node$parentNode.nodeType) === BaseNode/* NodeType.ntField */.Jq.ntField || np.node.nodeType === BaseNode/* NodeType.ntSign */.Jq.ntSign || np.node.nodeType === BaseNode/* NodeType.ntGestation */.Jq.ntGestation || np.node.nodeType === BaseNode/* NodeType.ntImage */.Jq.ntImage) {
|
|
200955
|
-
nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201027
|
+
nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
200956
201028
|
hoEditorFactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
|
|
200957
201029
|
}
|
|
200958
201030
|
|
|
@@ -200985,47 +201057,53 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
200985
201057
|
colProperty = colInfos.colProperty;
|
|
200986
201058
|
|
|
200987
201059
|
if (colProperty.editorProperty === TableProperty/* EditorProperty.DateTime */.YS.DateTime || colProperty.editorProperty === TableProperty/* EditorProperty.DownList */.YS.DownList) {
|
|
200988
|
-
_nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201060
|
+
_nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
200989
201061
|
hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent);
|
|
200990
201062
|
} else if (cellNode.cellProperty.editorProperty === TableProperty/* EditorProperty.DateTime */.YS.DateTime || cellNode.cellProperty.editorProperty === TableProperty/* EditorProperty.DownList */.YS.DownList) {
|
|
200991
|
-
_nodeNeedModifyEvent2 = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node,
|
|
201063
|
+
_nodeNeedModifyEvent2 = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
|
|
200992
201064
|
hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent2);
|
|
200993
|
-
}
|
|
200994
|
-
|
|
200995
|
-
|
|
200996
|
-
|
|
200997
|
-
|
|
200998
|
-
|
|
200999
|
-
|
|
201000
|
-
|
|
201001
|
-
|
|
201002
|
-
|
|
201003
|
-
|
|
201004
|
-
|
|
201005
|
-
|
|
201006
|
-
|
|
201007
|
-
|
|
201008
|
-
|
|
201009
|
-
|
|
201010
|
-
|
|
201011
|
-
|
|
201012
|
-
|
|
201013
|
-
|
|
201014
|
-
|
|
201015
|
-
|
|
201016
|
-
|
|
201017
|
-
|
|
201018
|
-
// const endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
|
|
201019
|
-
// const newRange = new DomRange(hoEditorFactory.hoEditorFactoryId, endPath, endPath);
|
|
201020
|
-
// hoEditorFactory.drawTree.moveCaretToPath(endPath);
|
|
201021
|
-
// hoEditorFactory.docTree.curDomRange = newRange;
|
|
201022
|
-
// hoEditorFactory.docController.insertPlainTextAfterPath(endPath, str);
|
|
201023
|
-
// }
|
|
201024
|
-
// }
|
|
201025
|
-
// }
|
|
201026
|
-
// }
|
|
201027
|
-
// }
|
|
201065
|
+
} else if (cellNode.table.tableProperty.isAutoChangeLine) {
|
|
201066
|
+
//处理自动换行表格,双击时光标跳到指定双击位置
|
|
201067
|
+
dPageTable = cellNode.table.drawTable.getDrawTableByPageIndex(dPage.pageIndex);
|
|
201068
|
+
|
|
201069
|
+
if (dPageTable) {
|
|
201070
|
+
dPageCell = cellNode.drawCell.getDrawPageCell(dPageTable);
|
|
201071
|
+
|
|
201072
|
+
if (dPageCell) {
|
|
201073
|
+
pos = dPageCell.globalToLocal(aevent.stageX, aevent.stageY);
|
|
201074
|
+
docHeight = 0;
|
|
201075
|
+
dHeight = 0;
|
|
201076
|
+
index = cellNode.drawCell.drawPageCells.indexOf(dPageCell);
|
|
201077
|
+
|
|
201078
|
+
for (i = 0; i < index; i++) {
|
|
201079
|
+
docHeight += cellNode.drawCell.drawPageCells[i].docHeight;
|
|
201080
|
+
dHeight += cellNode.drawCell.drawPageCells[i].dHeight;
|
|
201081
|
+
}
|
|
201082
|
+
|
|
201083
|
+
dLastObj = cellNode.drawCell.drawLines[cellNode.drawCell.drawLines.length - 1];
|
|
201084
|
+
|
|
201085
|
+
if (dLastObj.dTop + dLastObj.docHeight < dHeight + pos.y) {
|
|
201086
|
+
distance = pos.y + dHeight - (dLastObj.dTop + dLastObj.dHeight);
|
|
201087
|
+
aHeight = cellNode.table.tableProperty.autoLineHeightPx;
|
|
201088
|
+
count = Math.floor(distance / aHeight);
|
|
201089
|
+
str = '';
|
|
201028
201090
|
|
|
201091
|
+
for (j = 0; j < count; j++) {
|
|
201092
|
+
str += '\n';
|
|
201093
|
+
}
|
|
201094
|
+
|
|
201095
|
+
if (str != '') {
|
|
201096
|
+
_oldRange = hoEditorFactory.docTree.curDomRange.clone();
|
|
201097
|
+
_endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
|
|
201098
|
+
_newRange = new DomRange/* DomRange */.a(hoEditorFactory.hoEditorFactoryId, _endPath, _endPath);
|
|
201099
|
+
hoEditorFactory.drawTree.moveCaretToPath(_endPath);
|
|
201100
|
+
hoEditorFactory.docTree.curDomRange = _newRange;
|
|
201101
|
+
hoEditorFactory.docController.insertPlainTextAfterPath(_endPath, str);
|
|
201102
|
+
}
|
|
201103
|
+
}
|
|
201104
|
+
}
|
|
201105
|
+
}
|
|
201106
|
+
}
|
|
201029
201107
|
|
|
201030
201108
|
case 45:
|
|
201031
201109
|
return _context.abrupt("return", true);
|
|
@@ -201166,7 +201244,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201166
201244
|
|
|
201167
201245
|
if (child instanceof createjs.Container && curComment.id === child.name) {
|
|
201168
201246
|
child.children.forEach(function (value) {
|
|
201169
|
-
if (value.name ===
|
|
201247
|
+
if (value.name === 'back') {
|
|
201170
201248
|
value.alpha = 0.5;
|
|
201171
201249
|
}
|
|
201172
201250
|
});
|
|
@@ -201243,21 +201321,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201243
201321
|
|
|
201244
201322
|
if (!dPage.drawDomLevel) {
|
|
201245
201323
|
return false;
|
|
201246
|
-
}
|
|
201247
|
-
// const newEvent = new createjs.MouseEvent(
|
|
201248
|
-
// oldEvent.type,
|
|
201249
|
-
// oldEvent.bubbles,
|
|
201250
|
-
// oldEvent.cancelable,
|
|
201251
|
-
// oldEvent.stageX,
|
|
201252
|
-
// oldEvent.stageY,
|
|
201253
|
-
// oldEvent.nativeEvent,
|
|
201254
|
-
// oldEvent.pointerID,
|
|
201255
|
-
// oldEvent.primary,
|
|
201256
|
-
// oldEvent.rawX,
|
|
201257
|
-
// oldEvent.rawY
|
|
201258
|
-
// );
|
|
201259
|
-
// this._drawPage.drawDomLevel.stage.dispatchEvent(newEvent);
|
|
201260
|
-
|
|
201324
|
+
}
|
|
201261
201325
|
|
|
201262
201326
|
if (hoeditorfactory.drawTree.activePage !== dPage) {
|
|
201263
201327
|
hoeditorfactory.drawTree.activePage = dPage;
|
|
@@ -201278,6 +201342,16 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201278
201342
|
var endPos = hoeditorfactory.drawTree.getStagePosition(dPage, dPage.activeDrawRect, aevent.stageX, aevent.stageY);
|
|
201279
201343
|
|
|
201280
201344
|
if (endPos) {
|
|
201345
|
+
// const startLine = Number(hoeditorfactory.docTree.curDomRange.startPath.split('/')[1]);
|
|
201346
|
+
// const endLine = Number(endPos.path.split('/')[1]);
|
|
201347
|
+
// const listNode = document.querySelector('.ho-editor-list') as HTMLDivElement;
|
|
201348
|
+
// if (listNode) {
|
|
201349
|
+
// if (startLine - endLine > 8) {
|
|
201350
|
+
// listNode.scrollTo(0, listNode.scrollTop - 10);
|
|
201351
|
+
// } else if(startLine - endLine < -8) {
|
|
201352
|
+
// listNode.scrollTo(0, listNode.scrollTop + 10);
|
|
201353
|
+
// }
|
|
201354
|
+
// }
|
|
201281
201355
|
hoeditorfactory.docTree.curDomRange.endPath = endPos.path;
|
|
201282
201356
|
hoeditorfactory.drawTree.selectRange.spEnd = endPos;
|
|
201283
201357
|
hoeditorfactory.drawTree.drawSelectRange();
|
|
@@ -201356,7 +201430,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
201356
201430
|
|
|
201357
201431
|
if (np && np.node) {
|
|
201358
201432
|
var buttonCount = parseInt(aevent.nativeEvent.button);
|
|
201359
|
-
var clickType = buttonCount === 0 ?
|
|
201433
|
+
var clickType = buttonCount === 0 ? 'leftclick' : buttonCount === 2 ? 'rightclick' : 'centerclick';
|
|
201360
201434
|
var nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, clickType, startPos.page ? startPos.page.pageIndex : this._pageIndex);
|
|
201361
201435
|
hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
|
|
201362
201436
|
}
|
|
@@ -202322,11 +202396,11 @@ var HoToPage_component = normalizeComponent(
|
|
|
202322
202396
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
202323
202397
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
202324
202398
|
var util = __webpack_require__(33913);
|
|
202325
|
-
;// 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=
|
|
202326
|
-
var
|
|
202399
|
+
;// 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&
|
|
202400
|
+
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){
|
|
202327
202401
|
var item = ref.item;
|
|
202328
|
-
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()])}
|
|
202329
|
-
var
|
|
202402
|
+
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()])}
|
|
202403
|
+
var PoperSelectvue_type_template_id_f3c168f0_scoped_true_staticRenderFns = []
|
|
202330
202404
|
|
|
202331
202405
|
|
|
202332
202406
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
@@ -205564,10 +205638,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
|
|
|
205564
205638
|
/* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
|
|
205565
205639
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
|
|
205566
205640
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
|
|
205567
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
205641
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=f3c168f0&lang=scss&scoped=true&
|
|
205568
205642
|
// extracted by mini-css-extract-plugin
|
|
205569
205643
|
|
|
205570
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
205644
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=f3c168f0&lang=scss&scoped=true&
|
|
205571
205645
|
|
|
205572
205646
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
|
|
205573
205647
|
|
|
@@ -205580,11 +205654,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
|
|
|
205580
205654
|
|
|
205581
205655
|
var PoperSelect_component = normalizeComponent(
|
|
205582
205656
|
poperSelect_PoperSelectvue_type_script_lang_ts_,
|
|
205583
|
-
|
|
205584
|
-
|
|
205657
|
+
PoperSelectvue_type_template_id_f3c168f0_scoped_true_render,
|
|
205658
|
+
PoperSelectvue_type_template_id_f3c168f0_scoped_true_staticRenderFns,
|
|
205585
205659
|
false,
|
|
205586
205660
|
null,
|
|
205587
|
-
"
|
|
205661
|
+
"f3c168f0",
|
|
205588
205662
|
null
|
|
205589
205663
|
|
|
205590
205664
|
)
|
|
@@ -207537,7 +207611,7 @@ var SignNode = __webpack_require__(34450);
|
|
|
207537
207611
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
207538
207612
|
var ParagraphNode = __webpack_require__(14208);
|
|
207539
207613
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
207540
|
-
/* harmony default export */ var version = ('2.0.
|
|
207614
|
+
/* harmony default export */ var version = ('2.0.78');
|
|
207541
207615
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
|
|
207542
207616
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
|
|
207543
207617
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
@@ -226316,9 +226390,9 @@ var ControlModalvue_type_template_id_1b898d58_render = function () {var _vm=this
|
|
|
226316
226390
|
var ControlModalvue_type_template_id_1b898d58_staticRenderFns = []
|
|
226317
226391
|
|
|
226318
226392
|
|
|
226319
|
-
;// 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=
|
|
226320
|
-
var
|
|
226321
|
-
var
|
|
226393
|
+
;// 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&
|
|
226394
|
+
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)])}
|
|
226395
|
+
var SelectDialogvue_type_template_id_00c42d15_scoped_true_staticRenderFns = []
|
|
226322
226396
|
|
|
226323
226397
|
|
|
226324
226398
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
|
|
@@ -226375,6 +226449,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226375
226449
|
_this.errorArr = [];
|
|
226376
226450
|
_this.errorIndex = [];
|
|
226377
226451
|
_this.animationClassNames = "control-modal-contents select-modal animation-in";
|
|
226452
|
+
_this.tableInfo = null;
|
|
226378
226453
|
return _this;
|
|
226379
226454
|
}
|
|
226380
226455
|
|
|
@@ -226429,6 +226504,11 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226429
226504
|
this.downListContent = [].concat(list);
|
|
226430
226505
|
}
|
|
226431
226506
|
}
|
|
226507
|
+
}, {
|
|
226508
|
+
key: "mounted",
|
|
226509
|
+
value: function mounted() {
|
|
226510
|
+
this.tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
226511
|
+
}
|
|
226432
226512
|
}, {
|
|
226433
226513
|
key: "getSelectNode",
|
|
226434
226514
|
value: function getSelectNode() {
|
|
@@ -226519,6 +226599,8 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226519
226599
|
}, {
|
|
226520
226600
|
key: "addCustoms",
|
|
226521
226601
|
value: function addCustoms() {
|
|
226602
|
+
var _this4 = this;
|
|
226603
|
+
|
|
226522
226604
|
this.downListContent.push({
|
|
226523
226605
|
text: "",
|
|
226524
226606
|
value: "",
|
|
@@ -226526,17 +226608,22 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226526
226608
|
id: this.getKeyId(),
|
|
226527
226609
|
default: false
|
|
226528
226610
|
});
|
|
226611
|
+
setTimeout(function () {
|
|
226612
|
+
if (_this4.tableInfo) {
|
|
226613
|
+
_this4.tableInfo.scrollTo(0, 10000);
|
|
226614
|
+
}
|
|
226615
|
+
}, 0);
|
|
226529
226616
|
}
|
|
226530
226617
|
}, {
|
|
226531
226618
|
key: "setDefault",
|
|
226532
226619
|
value: function setDefault(id) {
|
|
226533
|
-
var
|
|
226620
|
+
var _this5 = this;
|
|
226534
226621
|
|
|
226535
226622
|
this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v) {
|
|
226536
226623
|
if (v.id === id) {
|
|
226537
226624
|
if (v.text.replace(/\s*/g, "") !== "") v.default = true;
|
|
226538
226625
|
} else {
|
|
226539
|
-
if (!
|
|
226626
|
+
if (!_this5.allowMultiSelect) v.default = false;
|
|
226540
226627
|
}
|
|
226541
226628
|
|
|
226542
226629
|
return v;
|
|
@@ -226572,7 +226659,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226572
226659
|
}, {
|
|
226573
226660
|
key: "sure",
|
|
226574
226661
|
value: function sure() {
|
|
226575
|
-
var
|
|
226662
|
+
var _this6 = this;
|
|
226576
226663
|
|
|
226577
226664
|
if (this.errorArr.length !== 0) {
|
|
226578
226665
|
return false;
|
|
@@ -226627,7 +226714,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
|
|
|
226627
226714
|
}
|
|
226628
226715
|
|
|
226629
226716
|
this.$nextTick(function () {
|
|
226630
|
-
return
|
|
226717
|
+
return _this6.handleClose();
|
|
226631
226718
|
});
|
|
226632
226719
|
}
|
|
226633
226720
|
}, {
|
|
@@ -226658,10 +226745,10 @@ SelectDialog = __decorate([vue_class_component_esm({
|
|
|
226658
226745
|
/* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
|
|
226659
226746
|
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
|
|
226660
226747
|
/* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
|
|
226661
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=
|
|
226748
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=00c42d15&lang=scss&scoped=true&
|
|
226662
226749
|
// extracted by mini-css-extract-plugin
|
|
226663
226750
|
|
|
226664
|
-
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=
|
|
226751
|
+
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=00c42d15&lang=scss&scoped=true&
|
|
226665
226752
|
|
|
226666
226753
|
;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
|
|
226667
226754
|
|
|
@@ -226674,11 +226761,11 @@ SelectDialog = __decorate([vue_class_component_esm({
|
|
|
226674
226761
|
|
|
226675
226762
|
var SelectDialog_component = normalizeComponent(
|
|
226676
226763
|
selectDialog_SelectDialogvue_type_script_lang_ts_,
|
|
226677
|
-
|
|
226678
|
-
|
|
226764
|
+
SelectDialogvue_type_template_id_00c42d15_scoped_true_render,
|
|
226765
|
+
SelectDialogvue_type_template_id_00c42d15_scoped_true_staticRenderFns,
|
|
226679
226766
|
false,
|
|
226680
226767
|
null,
|
|
226681
|
-
"
|
|
226768
|
+
"00c42d15",
|
|
226682
226769
|
null
|
|
226683
226770
|
|
|
226684
226771
|
)
|
|
@@ -228549,9 +228636,9 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
228549
228636
|
;// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
228550
228637
|
|
|
228551
228638
|
/* harmony default export */ var expressionForm = (ExpressionForm);
|
|
228552
|
-
;// 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=
|
|
228553
|
-
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)])}
|
|
228554
|
-
var
|
|
228639
|
+
;// 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&
|
|
228640
|
+
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)])}
|
|
228641
|
+
var RadioCheckboxvue_type_template_id_5f22349b_scoped_true_staticRenderFns = []
|
|
228555
228642
|
|
|
228556
228643
|
|
|
228557
228644
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
|
|
@@ -228673,6 +228760,22 @@ var RadioCheckbox = /*#__PURE__*/function (_Vue) {
|
|
|
228673
228760
|
|
|
228674
228761
|
return value;
|
|
228675
228762
|
}
|
|
228763
|
+
}, {
|
|
228764
|
+
key: "addNewItem",
|
|
228765
|
+
value: function addNewItem() {
|
|
228766
|
+
if (this.radioCheckBoxGroup.filter(function (v) {
|
|
228767
|
+
return v.text === '';
|
|
228768
|
+
}).length === 0) {
|
|
228769
|
+
this.addBox();
|
|
228770
|
+
setTimeout(function () {
|
|
228771
|
+
var tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
228772
|
+
|
|
228773
|
+
if (tableInfo) {
|
|
228774
|
+
tableInfo.scrollTo(0, 10000);
|
|
228775
|
+
}
|
|
228776
|
+
}, 0);
|
|
228777
|
+
}
|
|
228778
|
+
}
|
|
228676
228779
|
}, {
|
|
228677
228780
|
key: "addBox",
|
|
228678
228781
|
value: function addBox() {
|
|
@@ -228710,6 +228813,7 @@ var RadioCheckbox = /*#__PURE__*/function (_Vue) {
|
|
|
228710
228813
|
v.groupName = _this3.groupName;
|
|
228711
228814
|
v.controlStyle = _this3.controlType;
|
|
228712
228815
|
if (v.id === _this3.tableRadio) v.isSelected = true;
|
|
228816
|
+
if (v.text == '') return; // 处理单复选文本值为空的情况
|
|
228713
228817
|
|
|
228714
228818
|
_this3.vueController.insertRadioAndCheckBox('add', JSON.stringify(v));
|
|
228715
228819
|
});
|
|
@@ -228753,10 +228857,10 @@ RadioCheckbox = __decorate([vue_class_component_esm({
|
|
|
228753
228857
|
/* harmony default export */ var RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckbox);
|
|
228754
228858
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
|
|
228755
228859
|
/* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckboxvue_type_script_lang_ts_);
|
|
228756
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
228860
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5f22349b&lang=scss&scoped=true&
|
|
228757
228861
|
// extracted by mini-css-extract-plugin
|
|
228758
228862
|
|
|
228759
|
-
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=
|
|
228863
|
+
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5f22349b&lang=scss&scoped=true&
|
|
228760
228864
|
|
|
228761
228865
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue
|
|
228762
228866
|
|
|
@@ -228769,11 +228873,11 @@ RadioCheckbox = __decorate([vue_class_component_esm({
|
|
|
228769
228873
|
|
|
228770
228874
|
var RadioCheckbox_component = normalizeComponent(
|
|
228771
228875
|
radioCheckBox_RadioCheckboxvue_type_script_lang_ts_,
|
|
228772
|
-
|
|
228773
|
-
|
|
228876
|
+
RadioCheckboxvue_type_template_id_5f22349b_scoped_true_render,
|
|
228877
|
+
RadioCheckboxvue_type_template_id_5f22349b_scoped_true_staticRenderFns,
|
|
228774
228878
|
false,
|
|
228775
228879
|
null,
|
|
228776
|
-
"
|
|
228880
|
+
"5f22349b",
|
|
228777
228881
|
null
|
|
228778
228882
|
|
|
228779
228883
|
)
|
|
@@ -229235,9 +229339,9 @@ var DataSource_component = normalizeComponent(
|
|
|
229235
229339
|
;// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
229236
229340
|
|
|
229237
229341
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
229238
|
-
;// 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=
|
|
229239
|
-
var
|
|
229240
|
-
var
|
|
229342
|
+
;// 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&
|
|
229343
|
+
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)])}
|
|
229344
|
+
var ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns = []
|
|
229241
229345
|
|
|
229242
229346
|
|
|
229243
229347
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
|
|
@@ -229273,7 +229377,8 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229273
229377
|
|
|
229274
229378
|
_this = _super.apply(this, arguments);
|
|
229275
229379
|
_this.focusIndexs = -1;
|
|
229276
|
-
_this.source =
|
|
229380
|
+
_this.source = '';
|
|
229381
|
+
_this.tableInfo = null;
|
|
229277
229382
|
_this.errorArr = [];
|
|
229278
229383
|
_this.errorIndex = [];
|
|
229279
229384
|
_this.listValue = [];
|
|
@@ -229290,8 +229395,8 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229290
229395
|
key: "init",
|
|
229291
229396
|
value: function init() {
|
|
229292
229397
|
var list = [{
|
|
229293
|
-
text:
|
|
229294
|
-
value:
|
|
229398
|
+
text: '',
|
|
229399
|
+
value: '',
|
|
229295
229400
|
type: 0,
|
|
229296
229401
|
id: this.getKeyId()
|
|
229297
229402
|
}];
|
|
@@ -229305,6 +229410,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229305
229410
|
this.listValue = [].concat((0,toConsumableArray/* default */.Z)(arr), list);
|
|
229306
229411
|
this.source = this.getListArrSource();
|
|
229307
229412
|
this.isAllowMultiSelected = this.getListAllowMultiSelected();
|
|
229413
|
+
this.tableInfo = document.querySelector('.el-table__body-wrapper');
|
|
229308
229414
|
}
|
|
229309
229415
|
}, {
|
|
229310
229416
|
key: "focusIndex",
|
|
@@ -229316,7 +229422,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229316
229422
|
value: function blurIndex(index) {
|
|
229317
229423
|
var item = this.listValue[index];
|
|
229318
229424
|
|
|
229319
|
-
if ((item === null || item === void 0 ? void 0 : item.value.replace(/\s*/g,
|
|
229425
|
+
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) {
|
|
229320
229426
|
this.deleteCurrentRow(item.id);
|
|
229321
229427
|
}
|
|
229322
229428
|
|
|
@@ -229331,7 +229437,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229331
229437
|
} else {
|
|
229332
229438
|
this.errorIndex = [];
|
|
229333
229439
|
var emptyItem = this.listValue.filter(function (v) {
|
|
229334
|
-
if ((v === null || v === void 0 ? void 0 : v.value.replace(/\s*/g,
|
|
229440
|
+
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, '')) === '') {
|
|
229335
229441
|
return v;
|
|
229336
229442
|
}
|
|
229337
229443
|
});
|
|
@@ -229375,24 +229481,31 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229375
229481
|
}, {
|
|
229376
229482
|
key: "addCustoms",
|
|
229377
229483
|
value: function addCustoms() {
|
|
229484
|
+
var _this3 = this;
|
|
229485
|
+
|
|
229378
229486
|
this.listValue.push({
|
|
229379
|
-
text:
|
|
229380
|
-
value:
|
|
229487
|
+
text: '',
|
|
229488
|
+
value: '',
|
|
229381
229489
|
type: 0,
|
|
229382
229490
|
id: this.getKeyId(),
|
|
229383
229491
|
default: false
|
|
229384
229492
|
});
|
|
229493
|
+
setTimeout(function () {
|
|
229494
|
+
if (_this3.tableInfo) {
|
|
229495
|
+
_this3.tableInfo.scrollTo(0, 10000);
|
|
229496
|
+
}
|
|
229497
|
+
}, 0);
|
|
229385
229498
|
}
|
|
229386
229499
|
}, {
|
|
229387
229500
|
key: "setDefault",
|
|
229388
229501
|
value: function setDefault(id) {
|
|
229389
|
-
var
|
|
229502
|
+
var _this4 = this;
|
|
229390
229503
|
|
|
229391
229504
|
this.listValue = (0,toConsumableArray/* default */.Z)(this.listValue.map(function (v) {
|
|
229392
229505
|
if (v.id === id) {
|
|
229393
|
-
if (v.text.replace(/\s*/g,
|
|
229506
|
+
if (v.text.replace(/\s*/g, '') !== '') v.default = true;
|
|
229394
229507
|
} else {
|
|
229395
|
-
if (!
|
|
229508
|
+
if (!_this4.isAllowMultiSelected) v.default = false;
|
|
229396
229509
|
}
|
|
229397
229510
|
|
|
229398
229511
|
return v;
|
|
@@ -229443,7 +229556,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229443
229556
|
}, {
|
|
229444
229557
|
key: "getKeyId",
|
|
229445
229558
|
value: function getKeyId(index) {
|
|
229446
|
-
return index ?
|
|
229559
|
+
return index ? 'DL' + new Date().getTime() + index : 'DL' + new Date().getTime();
|
|
229447
229560
|
}
|
|
229448
229561
|
}, {
|
|
229449
229562
|
key: "handleClose",
|
|
@@ -229453,18 +229566,18 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229453
229566
|
}, {
|
|
229454
229567
|
key: "closeTimeout",
|
|
229455
229568
|
value: function closeTimeout() {
|
|
229456
|
-
var
|
|
229569
|
+
var _this5 = this;
|
|
229457
229570
|
|
|
229458
229571
|
setTimeout(function () {
|
|
229459
|
-
|
|
229572
|
+
_this5.setIsListStyle(false);
|
|
229460
229573
|
|
|
229461
|
-
|
|
229574
|
+
_this5.listValue = [];
|
|
229462
229575
|
}, 0);
|
|
229463
229576
|
}
|
|
229464
229577
|
}, {
|
|
229465
229578
|
key: "toolModalDown",
|
|
229466
229579
|
value: function toolModalDown(e) {
|
|
229467
|
-
(0,util/* toolModalMove */.tC)(e, this.listSourceModal,
|
|
229580
|
+
(0,util/* toolModalMove */.tC)(e, this.listSourceModal, 'modal-title');
|
|
229468
229581
|
}
|
|
229469
229582
|
}]);
|
|
229470
229583
|
|
|
@@ -229473,26 +229586,26 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
|
|
|
229473
229586
|
|
|
229474
229587
|
__decorate([Ref()], ListSource.prototype, "listSourceModal", void 0);
|
|
229475
229588
|
|
|
229476
|
-
__decorate([Inject(
|
|
229589
|
+
__decorate([Inject('setIsListStyle')], ListSource.prototype, "setIsListStyle", void 0);
|
|
229477
229590
|
|
|
229478
|
-
__decorate([Inject(
|
|
229591
|
+
__decorate([Inject('setListStyle')], ListSource.prototype, "setListStyle", void 0);
|
|
229479
229592
|
|
|
229480
|
-
__decorate([Inject(
|
|
229593
|
+
__decorate([Inject('getListAllowMultiSelected')], ListSource.prototype, "getListAllowMultiSelected", void 0);
|
|
229481
229594
|
|
|
229482
|
-
__decorate([Inject(
|
|
229595
|
+
__decorate([Inject('getListStyle')], ListSource.prototype, "getListStyle", void 0);
|
|
229483
229596
|
|
|
229484
|
-
__decorate([Inject(
|
|
229597
|
+
__decorate([Inject('getListArrSource')], ListSource.prototype, "getListArrSource", void 0);
|
|
229485
229598
|
|
|
229486
229599
|
ListSource = __decorate([vue_class_component_esm({
|
|
229487
|
-
name:
|
|
229600
|
+
name: 'ListSource'
|
|
229488
229601
|
})], ListSource);
|
|
229489
229602
|
/* harmony default export */ var ListSourcevue_type_script_lang_ts_ = (ListSource);
|
|
229490
229603
|
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
|
|
229491
229604
|
/* harmony default export */ var listsource_ListSourcevue_type_script_lang_ts_ = (ListSourcevue_type_script_lang_ts_);
|
|
229492
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=
|
|
229605
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
|
|
229493
229606
|
// extracted by mini-css-extract-plugin
|
|
229494
229607
|
|
|
229495
|
-
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=
|
|
229608
|
+
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
|
|
229496
229609
|
|
|
229497
229610
|
;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue
|
|
229498
229611
|
|
|
@@ -229505,11 +229618,11 @@ ListSource = __decorate([vue_class_component_esm({
|
|
|
229505
229618
|
|
|
229506
229619
|
var ListSource_component = normalizeComponent(
|
|
229507
229620
|
listsource_ListSourcevue_type_script_lang_ts_,
|
|
229508
|
-
|
|
229509
|
-
|
|
229621
|
+
ListSourcevue_type_template_id_08d9ce14_scoped_true_render,
|
|
229622
|
+
ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns,
|
|
229510
229623
|
false,
|
|
229511
229624
|
null,
|
|
229512
|
-
"
|
|
229625
|
+
"08d9ce14",
|
|
229513
229626
|
null
|
|
229514
229627
|
|
|
229515
229628
|
)
|
|
@@ -233846,9 +233959,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233846
233959
|
if (nodes.parentNode instanceof CellNode/* CellNode */.D) {
|
|
233847
233960
|
info = {
|
|
233848
233961
|
cellNode: nodes.parentNode,
|
|
233849
|
-
tableNode: nodes.parentNode.parentNode
|
|
233850
|
-
colInfo: nodes.parentNode.table.colInfos[nodes.parentNode.row.indexOf(nodes.parentNode)],
|
|
233851
|
-
rowInfo: nodes.parentNode.table.rowInfos[nodes.parentNode.table.rows.indexOf(nodes.parentNode.row)]
|
|
233962
|
+
tableNode: nodes.parentNode.parentNode
|
|
233852
233963
|
};
|
|
233853
233964
|
} else {
|
|
233854
233965
|
isFn(nodes.parentNode);
|
|
@@ -233861,9 +233972,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233861
233972
|
if (nodes instanceof CellNode/* CellNode */.D) {
|
|
233862
233973
|
info = {
|
|
233863
233974
|
cellNode: nodes,
|
|
233864
|
-
tableNode: nodes.parentNode
|
|
233865
|
-
colInfo: nodes.table.colInfos[nodes.row.indexOf(nodes)],
|
|
233866
|
-
rowInfo: nodes.table.rowInfos[nodes.table.rows.indexOf(nodes.row)]
|
|
233975
|
+
tableNode: nodes.parentNode
|
|
233867
233976
|
};
|
|
233868
233977
|
} else {
|
|
233869
233978
|
isFn(nodes);
|
|
@@ -233901,7 +234010,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233901
234010
|
drawPageTables.forEach(function (v, key) {
|
|
233902
234011
|
if (v.parent.pageIndex === dPage.drawMainDoc.pageIndex) {
|
|
233903
234012
|
tableBounds.height = v.dHeight;
|
|
233904
|
-
tableBounds.y = dPage.drawMainDoc.y + v.
|
|
234013
|
+
tableBounds.y = dPage.drawMainDoc.y + v.y;
|
|
233905
234014
|
|
|
233906
234015
|
if (drawPageCells.length === drawPageTables.length) {
|
|
233907
234016
|
tableBounds.cellHeight = drawPageCells[key].dHeight;
|
|
@@ -233967,10 +234076,12 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
233967
234076
|
canAddRow: tableNode.tableProperty.canAddRow,
|
|
233968
234077
|
canDeleteRow: tableNode.tableProperty.canDeleteRow
|
|
233969
234078
|
};
|
|
233970
|
-
}
|
|
233971
234079
|
|
|
233972
|
-
|
|
233973
|
-
|
|
234080
|
+
if (tableNode.tableProperty.isAutoChangeLine && nodes) {
|
|
234081
|
+
this.createTable(hoEditorFactory, nodes);
|
|
234082
|
+
} else if (hoEditorFactory.isCanUseTableProperty && nodes) {
|
|
234083
|
+
this.createTable(hoEditorFactory, nodes);
|
|
234084
|
+
}
|
|
233974
234085
|
}
|
|
233975
234086
|
|
|
233976
234087
|
vueControllers.getCurTextStyle();
|