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