hoeditor-web 2.0.74 → 2.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13484,7 +13484,7 @@ var DocController = /*#__PURE__*/function () {
13484
13484
 
13485
13485
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_77__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
13486
13486
 
13487
- if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview) {
13487
+ if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psReview */ .Dh.psReview && oper !== "update") {
13488
13488
  hoEditorFactory.undoService.begin();
13489
13489
  hoEditorFactory.undoService.add(new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .NodeStyleUndoUnit */ .o(this._hoEditorFactoryID, aRange.startPath, aRange.endPath, new _undoRedo_NodeStyleUndoUnit__WEBPACK_IMPORTED_MODULE_34__/* .Operate */ .p("reviewDelete", "string")));
13490
13490
  hoEditorFactory.undoService.commit();
@@ -14775,8 +14775,9 @@ var DocController = /*#__PURE__*/function () {
14775
14775
  if (node.text !== "") {
14776
14776
  node.childNodes.splice(1, node.childNodes.length - 2);
14777
14777
  var textNode = new _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_27__/* .TextNode */ .R(this._hoEditorFactoryID, node.rootNodes, node, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_24__/* .NodeType.ntText */ .Jq.ntText, values["text"], hoEditorFactory.docTree.curStyleIndex);
14778
- node.childNodes.splice(1, 0, textNode);
14779
- changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode); //changeEvent.afterChangePath = ePath;
14778
+ node.childNodes.splice(1, 0, textNode); //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(textNode);
14779
+
14780
+ changeEvent.afterChangePath = ePath;
14780
14781
  }
14781
14782
  } else {
14782
14783
  //changeEvent.afterChangePath = hoEditorFactory.docTree.getNodeLastPath(node);
@@ -14787,6 +14788,10 @@ var DocController = /*#__PURE__*/function () {
14787
14788
  node.update();
14788
14789
  var pnode = node.parentNode;
14789
14790
 
14791
+ if (pnode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_46__/* .TextInputFieldNode */ .re) {
14792
+ pnode.update();
14793
+ }
14794
+
14790
14795
  do {
14791
14796
  var _pnode;
14792
14797
 
@@ -14800,9 +14805,9 @@ var DocController = /*#__PURE__*/function () {
14800
14805
  } while ((_pnode = pnode) !== null && _pnode !== void 0 && _pnode.parentNode);
14801
14806
 
14802
14807
  if (pnode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_57__/* .CellNode */ .D) {
14803
- pnode.drawCell.needUpdate = true; //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14804
-
14808
+ //增加判断只有多页表格才更新table.update,以处理编辑元素 卡慢问题
14805
14809
  if (pnode.drawCell.drawPageCells.length > 1) {
14810
+ pnode.drawCell.needUpdate = true;
14806
14811
  pnode.table.update();
14807
14812
  }
14808
14813
  }
@@ -15584,6 +15589,9 @@ var DocController = /*#__PURE__*/function () {
15584
15589
  value: function setCellProperty(objectValues, cellNode) {
15585
15590
  var cellProperty = new _TableProperty__WEBPACK_IMPORTED_MODULE_58__/* .CellProperty */ .$W(objectValues);
15586
15591
  cellNode.cellProperty = cellProperty;
15592
+ cellNode.drawCell.drawPageCells.forEach(function (pcell) {
15593
+ pcell.valignTop = pcell.calcValignTop();
15594
+ });
15587
15595
  }
15588
15596
  /**
15589
15597
  * 在当前页面添加页眉
@@ -16814,10 +16822,10 @@ var DocController = /*#__PURE__*/function () {
16814
16822
  var startPath = domRange.startPath;
16815
16823
  var parentNode = hoEditorFactory.docTree.getParentNode(startPath); // if (type == 1 && imgSrc != "" && imgWidth > 0 && parentNode instanceof CellNode) {
16816
16824
  // const cellWidth = parentNode.drawCell.dWidth;
16817
- // const cellHeight = parentNode.getCellHeight();
16825
+ // //const cellHeight = parentNode.drawCell.dHeight;
16818
16826
  // if (cellWidth < imgWidth) {
16819
- // imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
16820
- // imgWidth = (cellWidth - 10);
16827
+ // //imgHeight = ((cellWidth - 10) / imgWidth) * cellHeight;
16828
+ // imgWidth = cellWidth;
16821
16829
  // }
16822
16830
  // }
16823
16831
 
@@ -25993,9 +26001,11 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
25993
26001
  key: "range",
25994
26002
  value: function range() {
25995
26003
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_21__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
26004
+ var spath = hoEditorFactory.docTree.getNodeFirstPath(this);
26005
+ var epath = hoEditorFactory.docTree.getNodeLastPath(this);
25996
26006
  return {
25997
- from: hoEditorFactory.docTree.getNodeFirstPath(this),
25998
- to: hoEditorFactory.docTree.getNodeLastPath(this)
26007
+ from: spath,
26008
+ to: epath
25999
26009
  };
26000
26010
  }
26001
26011
  }, {
@@ -38841,7 +38851,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
38841
38851
  /*
38842
38852
  * @Author: your name
38843
38853
  * @Date: 2020-11-03 15:17:54
38844
- * @LastEditTime: 2022-07-13 14:11:55
38854
+ * @LastEditTime: 2022-07-28 09:25:18
38845
38855
  * @LastEditors: liyanan 2441631434@qq.com
38846
38856
  * @Description: In User Settings Edit
38847
38857
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -40190,6 +40200,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40190
40200
 
40191
40201
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_32__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
40192
40202
  var endnode = hoEditorFactory.docTree.findNodePositionByPath(endPath).node;
40203
+ var isEnd = false;
40193
40204
 
40194
40205
  for (var index = 0; index < this.childNodes.length; index++) {
40195
40206
  var value = this.childNodes[index];
@@ -40215,11 +40226,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40215
40226
  value.placeDNodeAfterDrawLine(paraNode, aline, endPath);
40216
40227
  aline = value.drawTable;
40217
40228
  } else {
40218
- if (value == this.EndMarkNode) break;
40229
+ if (value == this.EndMarkNode) {
40230
+ isEnd = true;
40231
+ break;
40232
+ }
40233
+
40219
40234
  aline = value.placeDNode2DrawLine(droots, paraNode, aline, start, start + value.getLength() - 1, endPath);
40220
40235
  }
40221
40236
 
40222
- if (_NodePosition__WEBPACK_IMPORTED_MODULE_35__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, hoEditorFactory.docTree.getNodeLastPath(value)) <= 0) break;
40237
+ var nodePath = hoEditorFactory.docTree.getNodeLastPath(value);
40238
+ var cresult = _NodePosition__WEBPACK_IMPORTED_MODULE_35__/* .NodePosition.treePathCompare */ .F.treePathCompare(endPath, nodePath);
40239
+
40240
+ if (cresult <= 0) {
40241
+ break;
40242
+ }
40223
40243
  }
40224
40244
 
40225
40245
  aline.fitLines();
@@ -40250,8 +40270,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
40250
40270
  }
40251
40271
  }
40252
40272
 
40253
- this.EndMarkNode.node2DrawNode();
40254
- aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
40273
+ if (isEnd) {
40274
+ this.EndMarkNode.node2DrawNode();
40275
+ aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
40276
+ }
40277
+
40255
40278
  return aline.paragraphNode.getLastDrawline();
40256
40279
  }
40257
40280
  }, {
@@ -48347,13 +48370,19 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
48347
48370
  _this._leftBorder = new createjs.Rectangle(dLeft, dTop, 2, dHeight);
48348
48371
  _this._rightBorder = new createjs.Rectangle(dLeft + dWidth - 2, dTop, 2, dHeight);
48349
48372
  _this._bottomBorder = new createjs.Rectangle(dLeft, dTop + dHeight - 2, dWidth, 2);
48350
- if (paintImidiate === undefined || paintImidiate) _this.paintArea(_this._cell.drawCell.drawLines, startLine, 0);
48373
+ var innerTop = 0;
48374
+
48375
+ if (_this._cell.drawCell.drawPageCells.length == 0) {
48376
+ innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(_this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(_this._cell.cellProperty.cellInnerMargin[0] * 10, true);
48377
+ }
48378
+
48379
+ if (paintImidiate === undefined || paintImidiate) _this.paintArea(_this._cell.drawCell.drawLines, startLine, innerTop);
48351
48380
 
48352
48381
  var rowIndex = _this._cell.table.rows.indexOf(_this._cell.row);
48353
48382
 
48354
48383
  var colIndex = _this._cell.row.indexOf(_this._cell);
48355
48384
 
48356
- _this._valignTop = 0; // let maxWidth = 0;
48385
+ _this._valignTop = innerTop; // let maxWidth = 0;
48357
48386
  // let maxHeight = 0;
48358
48387
  // if (colIndex + this._cell.colSpan - 1 === this._cell.table.colCount - 1) {
48359
48388
  // maxWidth = -1;
@@ -48459,8 +48488,23 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
48459
48488
  }, {
48460
48489
  key: "updateDHeight",
48461
48490
  value: function updateDHeight() {
48462
- if (this._docHeight > this._dHeight) {
48463
- this._dHeight = this._docHeight;
48491
+ var innerBottom = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
48492
+ var innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[0] * 10, true);
48493
+ var index = this.cell.drawCell.drawPageCells.indexOf(this);
48494
+ var docHeight = 0;
48495
+
48496
+ if (index == 0 || index == this.cell.drawCell.drawPageCells.length - 1) {
48497
+ if (index == 0 && index == this.cell.drawCell.drawPageCells.length - 1) {
48498
+ docHeight = innerTop + this.docHeight + innerBottom;
48499
+ } else if (index == 0) {
48500
+ docHeight = innerTop + this.docHeight;
48501
+ } else if (index == this.cell.drawCell.drawPageCells.length - 1) {
48502
+ docHeight = innerBottom + this.docHeight;
48503
+ }
48504
+ }
48505
+
48506
+ if (docHeight > this._dHeight) {
48507
+ this._dHeight = docHeight;
48464
48508
  }
48465
48509
 
48466
48510
  if (this._dHeight > this._maxHeight) {
@@ -48962,17 +49006,25 @@ var DrawPageCell = /*#__PURE__*/function (_DrawArea) {
48962
49006
  }, {
48963
49007
  key: "calcValignTop",
48964
49008
  value: function calcValignTop() {
48965
- var valignTop = 0;
49009
+ var index = this.cell.drawCell.drawPageCells.indexOf(this);
49010
+ var innerTop = 0;
49011
+
49012
+ if (index == 0) {
49013
+ innerTop = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[0] * 10, true);
49014
+ }
49015
+
49016
+ var valignTop = innerTop;
48966
49017
 
48967
49018
  if (this._cell.cellProperty.align === TableProperty/* VAlign.vatop */.TR.vatop) {
48968
- valignTop = 0;
49019
+ valignTop = innerTop;
48969
49020
  } else if (this._cell.cellProperty.align === TableProperty/* VAlign.vacenter */.TR.vacenter) {
48970
49021
  var aHeight = this.calcCellHeight();
48971
49022
  if (aHeight > this._cell.drawCell.docHeight) valignTop = (aHeight - this._cell.drawCell.docHeight) / 2;
48972
49023
  } else if (this._cell.cellProperty.align === TableProperty/* VAlign.vabottom */.TR.vabottom) {
48973
49024
  var _aHeight = this.calcCellHeight();
48974
49025
 
48975
- if (_aHeight > this._cell.drawCell.docHeight) valignTop = _aHeight - this._cell.drawCell.docHeight;
49026
+ var innerBottom = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._cell.hoEditorFactoryID).unitConvert.mmConversionPx(this._cell.cellProperty.cellInnerMargin[1] * 10, true);
49027
+ if (_aHeight > this._cell.drawCell.docHeight) valignTop = _aHeight - this._cell.drawCell.docHeight - innerBottom;
48976
49028
  }
48977
49029
 
48978
49030
  return valignTop;
@@ -49942,12 +49994,25 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
49942
49994
 
49943
49995
  if (cell.rowSpan + r - 1 === row) {
49944
49996
  var partCell = cell.drawCell.getDrawPageCell(this);
49997
+ var hoeditorfactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_10__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._table.hoEditorFactoryID);
49945
49998
 
49946
49999
  if (partCell) {
49947
50000
  // const dobj = partCell.lastDrawLine;
49948
- var dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, partCell.docHeight);
50001
+ var innerTop = hoeditorfactory.unitConvert.mmConversionPx(partCell.cell.cellProperty.cellInnerMargin[0] * 10, true);
50002
+ var innerBottom = hoeditorfactory.unitConvert.mmConversionPx(partCell.cell.cellProperty.cellInnerMargin[1] * 10, true);
50003
+ var dHeight = 0;
49949
50004
  var index = partCell.cell.drawCell.drawPageCells.indexOf(partCell);
49950
50005
 
50006
+ if (index == 0 || index == partCell.cell.drawCell.drawPageCells.length - 1) {
50007
+ if (index == 0 && index == partCell.cell.drawCell.drawPageCells.length - 1) {
50008
+ dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerTop + partCell.docHeight + innerBottom);
50009
+ } else if (index == 0) {
50010
+ dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerTop + partCell.docHeight);
50011
+ } else if (index == partCell.cell.drawCell.drawPageCells.length - 1) {
50012
+ dHeight = Math.max(_editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_9__/* .gDefaultRowHeight */ .dT, innerBottom + partCell.docHeight);
50013
+ }
50014
+ }
50015
+
49951
50016
  if (index === partCell.cell.drawCell.drawPageCells.length - 1 || this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
49952
50017
  if (cell.table.rowInfos[row].rowProperty.isSpecifyHeight) {
49953
50018
  var aHeight = cell.table.rowInfos[row].rowHeight;
@@ -51797,7 +51862,12 @@ var DrawSignNode = /*#__PURE__*/function (_DrawCombineNode) {
51797
51862
  _fingerImage.onload = function () {
51798
51863
  var fingerWidth = 256;
51799
51864
  var fingerHeight = _fingerImage.naturalHeight !== 0 ? _fingerImage.naturalHeight : _fingerImage.height;
51800
- var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15;
51865
+ var fingerscale = drawNode.fingerPosition == _editor_dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_6__/* .FingerPosition.center */ .d.center ? 0.3 : 0.15; // 已经缩放过的指纹图片 不需要再次缩放
51866
+
51867
+ if (fingerWidth !== _fingerImage.naturalWidth) {
51868
+ fingerscale = 1;
51869
+ }
51870
+
51801
51871
  _fingerBitmap.scaleX = fingerscale;
51802
51872
  _fingerBitmap.scaleY = fingerscale;
51803
51873
  _fingerBitmap.y = -fingerHeight * fingerscale;
@@ -200605,15 +200675,15 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200605
200675
  // });
200606
200676
 
200607
200677
  /* case PaintState.psPreview: {
200608
- break;
200609
- }
200610
- case PaintState.psPrint: {
200611
- break;
200612
- } default: {
200613
- //this.mouseClick(aevent);
200614
- break;
200615
- }
200616
- }
200678
+ break;
200679
+ }
200680
+ case PaintState.psPrint: {
200681
+ break;
200682
+ } default: {
200683
+ //this.mouseClick(aevent);
200684
+ break;
200685
+ }
200686
+ }
200617
200687
  });*/
200618
200688
  // this.mainBackGround.addEventListener("click", (aevent: any) => {
200619
200689
  // this.mouseClick(aevent);
@@ -200669,7 +200739,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200669
200739
  } // }
200670
200740
 
200671
200741
 
200672
- this._selectStage.addEventListener("stagemousedown", function (aevent) {
200742
+ this._selectStage.addEventListener('stagemousedown', function (aevent) {
200673
200743
  // this.mouseDown(aevent)
200674
200744
  switch (hoEditorFactory.drawTree.paintStatus) {
200675
200745
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
@@ -200693,7 +200763,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200693
200763
  }
200694
200764
  });
200695
200765
 
200696
- this._selectStage.addEventListener("stagemouseup", function (aevent) {
200766
+ this._selectStage.addEventListener('stagemouseup', function (aevent) {
200697
200767
  // this.mouseup(aevent);
200698
200768
  switch (hoEditorFactory.drawTree.paintStatus) {
200699
200769
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
@@ -200717,7 +200787,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200717
200787
  }
200718
200788
  });
200719
200789
 
200720
- this._selectStage.addEventListener("stagemousemove", function (aevent) {
200790
+ this._selectStage.addEventListener('stagemousemove', function (aevent) {
200721
200791
  switch (hoEditorFactory.drawTree.paintStatus) {
200722
200792
  case DrawTree/* PaintState.psPreview */.Dh.psPreview:
200723
200793
  {
@@ -200832,7 +200902,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200832
200902
  key: "mouseDblClick",
200833
200903
  value: function () {
200834
200904
  var _mouseDblClick = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(aevent) {
200835
- var hoEditorFactory, dPage, oldDPage, oldPageIndex, oldArea, targetArea, isSameArea, cgEvent, startPos, np, _np$node$parentNode, prevNode, oldRange, startPath, endPath, newRange, selectChangeEvent, nodeNeedModifyEvent, cellNode, colInfos, rowInfos, colProperty, _nodeNeedModifyEvent, _nodeNeedModifyEvent2;
200905
+ var hoEditorFactory, dPage, oldDPage, oldPageIndex, oldArea, targetArea, isSameArea, cgEvent, startPos, np, _np$node$parentNode, prevNode, oldRange, startPath, endPath, newRange, selectChangeEvent, nodeNeedModifyEvent, cellNode, colInfos, rowInfos, colProperty, _nodeNeedModifyEvent, _nodeNeedModifyEvent2, dPageTable, dPageCell, pos, docHeight, dHeight, index, i, dLastObj, distance, aHeight, count, str, j, _oldRange, _endPath, _newRange;
200836
200906
 
200837
200907
  return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
200838
200908
  while (1) {
@@ -200952,7 +201022,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200952
201022
  }
200953
201023
 
200954
201024
  if (np.node.nodeType === BaseNode/* NodeType.ntMedicalExpression */.Jq.ntMedicalExpression || np.node.nodeType === BaseNode/* NodeType.ntControl */.Jq.ntControl && !(np.node instanceof RadioAndCheckBoxNode/* RadioAndCheckBoxNode */.Yh) || ((_np$node$parentNode = np.node.parentNode) === null || _np$node$parentNode === void 0 ? void 0 : _np$node$parentNode.nodeType) === BaseNode/* NodeType.ntField */.Jq.ntField || np.node.nodeType === BaseNode/* NodeType.ntSign */.Jq.ntSign || np.node.nodeType === BaseNode/* NodeType.ntGestation */.Jq.ntGestation || np.node.nodeType === BaseNode/* NodeType.ntImage */.Jq.ntImage) {
200955
- nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, "dblclick", this._pageIndex);
201025
+ nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
200956
201026
  hoEditorFactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
200957
201027
  }
200958
201028
 
@@ -200985,47 +201055,53 @@ var DrawSelectLevel = /*#__PURE__*/function () {
200985
201055
  colProperty = colInfos.colProperty;
200986
201056
 
200987
201057
  if (colProperty.editorProperty === TableProperty/* EditorProperty.DateTime */.YS.DateTime || colProperty.editorProperty === TableProperty/* EditorProperty.DownList */.YS.DownList) {
200988
- _nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, "dblclick", this._pageIndex);
201058
+ _nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
200989
201059
  hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent);
200990
201060
  } else if (cellNode.cellProperty.editorProperty === TableProperty/* EditorProperty.DateTime */.YS.DateTime || cellNode.cellProperty.editorProperty === TableProperty/* EditorProperty.DownList */.YS.DownList) {
200991
- _nodeNeedModifyEvent2 = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, "dblclick", this._pageIndex);
201061
+ _nodeNeedModifyEvent2 = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, 'dblclick', this._pageIndex);
200992
201062
  hoEditorFactory.docTree.nodeNeedModify(_nodeNeedModifyEvent2);
200993
- } // else if (cellNode.table.tableProperty.isAutoChangeLine) {
200994
- // //处理自动换行表格,双击时光标跳到指定双击位置
200995
- // const dPageTable = cellNode.table.drawTable.getDrawTableByPageIndex(dPage.pageIndex);
200996
- // if (dPageTable) {
200997
- // const dPageCell = cellNode.drawCell.getDrawPageCell(dPageTable);
200998
- // if (dPageCell) {
200999
- // const pos = dPageCell.globalToLocal(aevent.stageX, aevent.stageY);
201000
- // let docHeight = 0;
201001
- // let dHeight = 0;
201002
- // const index = cellNode.drawCell.drawPageCells.indexOf(dPageCell);
201003
- // for (let i = 0; i < index; i++) {
201004
- // docHeight += cellNode.drawCell.drawPageCells[i].docHeight;
201005
- // dHeight += cellNode.drawCell.drawPageCells[i].dHeight
201006
- // }
201007
- // const dLastObj = cellNode.drawCell.drawLines[cellNode.drawCell.drawLines.length - 1]
201008
- // if (dLastObj.dTop + dLastObj.docHeight < dHeight + pos.y) {
201009
- // const distance = pos.y + dHeight - (dLastObj.dTop + dLastObj.dHeight)
201010
- // const aHeight = cellNode.table.tableProperty.autoLineHeightPx;
201011
- // const count = Math.floor(distance / aHeight);
201012
- // let str = "";
201013
- // for (let j = 0; j < count; j++) {
201014
- // str += "\n"
201015
- // }
201016
- // if (str != "") {
201017
- // const oldRange = hoEditorFactory.docTree.curDomRange.clone();
201018
- // const endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
201019
- // const newRange = new DomRange(hoEditorFactory.hoEditorFactoryId, endPath, endPath);
201020
- // hoEditorFactory.drawTree.moveCaretToPath(endPath);
201021
- // hoEditorFactory.docTree.curDomRange = newRange;
201022
- // hoEditorFactory.docController.insertPlainTextAfterPath(endPath, str);
201023
- // }
201024
- // }
201025
- // }
201026
- // }
201027
- // }
201063
+ } else if (cellNode.table.tableProperty.isAutoChangeLine) {
201064
+ //处理自动换行表格,双击时光标跳到指定双击位置
201065
+ dPageTable = cellNode.table.drawTable.getDrawTableByPageIndex(dPage.pageIndex);
201066
+
201067
+ if (dPageTable) {
201068
+ dPageCell = cellNode.drawCell.getDrawPageCell(dPageTable);
201069
+
201070
+ if (dPageCell) {
201071
+ pos = dPageCell.globalToLocal(aevent.stageX, aevent.stageY);
201072
+ docHeight = 0;
201073
+ dHeight = 0;
201074
+ index = cellNode.drawCell.drawPageCells.indexOf(dPageCell);
201075
+
201076
+ for (i = 0; i < index; i++) {
201077
+ docHeight += cellNode.drawCell.drawPageCells[i].docHeight;
201078
+ dHeight += cellNode.drawCell.drawPageCells[i].dHeight;
201079
+ }
201080
+
201081
+ dLastObj = cellNode.drawCell.drawLines[cellNode.drawCell.drawLines.length - 1];
201082
+
201083
+ if (dLastObj.dTop + dLastObj.docHeight < dHeight + pos.y) {
201084
+ distance = pos.y + dHeight - (dLastObj.dTop + dLastObj.dHeight);
201085
+ aHeight = cellNode.table.tableProperty.autoLineHeightPx;
201086
+ count = Math.floor(distance / aHeight);
201087
+ str = '';
201028
201088
 
201089
+ for (j = 0; j < count; j++) {
201090
+ str += '\n';
201091
+ }
201092
+
201093
+ if (str != '') {
201094
+ _oldRange = hoEditorFactory.docTree.curDomRange.clone();
201095
+ _endPath = hoEditorFactory.docTree.getNodeLastPath(cellNode.childNodes[cellNode.childNodes.length - 1]);
201096
+ _newRange = new DomRange/* DomRange */.a(hoEditorFactory.hoEditorFactoryId, _endPath, _endPath);
201097
+ hoEditorFactory.drawTree.moveCaretToPath(_endPath);
201098
+ hoEditorFactory.docTree.curDomRange = _newRange;
201099
+ hoEditorFactory.docController.insertPlainTextAfterPath(_endPath, str);
201100
+ }
201101
+ }
201102
+ }
201103
+ }
201104
+ }
201029
201105
 
201030
201106
  case 45:
201031
201107
  return _context.abrupt("return", true);
@@ -201166,7 +201242,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201166
201242
 
201167
201243
  if (child instanceof createjs.Container && curComment.id === child.name) {
201168
201244
  child.children.forEach(function (value) {
201169
- if (value.name === "back") {
201245
+ if (value.name === 'back') {
201170
201246
  value.alpha = 0.5;
201171
201247
  }
201172
201248
  });
@@ -201243,21 +201319,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201243
201319
 
201244
201320
  if (!dPage.drawDomLevel) {
201245
201321
  return false;
201246
- } // const oldEvent = aevent as createjs.MouseEvent;
201247
- // const newEvent = new createjs.MouseEvent(
201248
- // oldEvent.type,
201249
- // oldEvent.bubbles,
201250
- // oldEvent.cancelable,
201251
- // oldEvent.stageX,
201252
- // oldEvent.stageY,
201253
- // oldEvent.nativeEvent,
201254
- // oldEvent.pointerID,
201255
- // oldEvent.primary,
201256
- // oldEvent.rawX,
201257
- // oldEvent.rawY
201258
- // );
201259
- // this._drawPage.drawDomLevel.stage.dispatchEvent(newEvent);
201260
-
201322
+ }
201261
201323
 
201262
201324
  if (hoeditorfactory.drawTree.activePage !== dPage) {
201263
201325
  hoeditorfactory.drawTree.activePage = dPage;
@@ -201278,6 +201340,16 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201278
201340
  var endPos = hoeditorfactory.drawTree.getStagePosition(dPage, dPage.activeDrawRect, aevent.stageX, aevent.stageY);
201279
201341
 
201280
201342
  if (endPos) {
201343
+ // const startLine = Number(hoeditorfactory.docTree.curDomRange.startPath.split('/')[1]);
201344
+ // const endLine = Number(endPos.path.split('/')[1]);
201345
+ // const listNode = document.querySelector('.ho-editor-list') as HTMLDivElement;
201346
+ // if (listNode) {
201347
+ // if (startLine - endLine > 8) {
201348
+ // listNode.scrollTo(0, listNode.scrollTop - 10);
201349
+ // } else if(startLine - endLine < -8) {
201350
+ // listNode.scrollTo(0, listNode.scrollTop + 10);
201351
+ // }
201352
+ // }
201281
201353
  hoeditorfactory.docTree.curDomRange.endPath = endPos.path;
201282
201354
  hoeditorfactory.drawTree.selectRange.spEnd = endPos;
201283
201355
  hoeditorfactory.drawTree.drawSelectRange();
@@ -201356,7 +201428,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
201356
201428
 
201357
201429
  if (np && np.node) {
201358
201430
  var buttonCount = parseInt(aevent.nativeEvent.button);
201359
- var clickType = buttonCount === 0 ? "leftclick" : buttonCount === 2 ? "rightclick" : "centerclick";
201431
+ var clickType = buttonCount === 0 ? 'leftclick' : buttonCount === 2 ? 'rightclick' : 'centerclick';
201360
201432
  var nodeNeedModifyEvent = new NodeNeedModifyEvent/* NodeNeedModifyEvent */.x(np.node, clickType, startPos.page ? startPos.page.pageIndex : this._pageIndex);
201361
201433
  hoeditorfactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
201362
201434
  }
@@ -202322,11 +202394,11 @@ var HoToPage_component = normalizeComponent(
202322
202394
  /* harmony default export */ var backToPage = (HoToPage);
202323
202395
  // EXTERNAL MODULE: ./src/plugins/util.ts
202324
202396
  var util = __webpack_require__(33913);
202325
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=5dfdd78c&scoped=true&
202326
- 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){
202397
+ ;// 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&
202398
+ var PoperSelectvue_type_template_id_f3c168f0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
202327
202399
  var item = ref.item;
202328
- return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id},nativeOn:{"click":function($event){return _vm.selectItemsChange(item)}}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[(!_vm.mutexSelect)?_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.allSelect}},[_vm._v("全选")]):_vm._e(),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
202329
- var PoperSelectvue_type_template_id_5dfdd78c_scoped_true_staticRenderFns = []
202400
+ 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()])}
202401
+ var PoperSelectvue_type_template_id_f3c168f0_scoped_true_staticRenderFns = []
202330
202402
 
202331
202403
 
202332
202404
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
@@ -205564,10 +205636,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205564
205636
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
205565
205637
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
205566
205638
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
205567
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5dfdd78c&lang=scss&scoped=true&
205639
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=f3c168f0&lang=scss&scoped=true&
205568
205640
  // extracted by mini-css-extract-plugin
205569
205641
 
205570
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5dfdd78c&lang=scss&scoped=true&
205642
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=f3c168f0&lang=scss&scoped=true&
205571
205643
 
205572
205644
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
205573
205645
 
@@ -205580,11 +205652,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205580
205652
 
205581
205653
  var PoperSelect_component = normalizeComponent(
205582
205654
  poperSelect_PoperSelectvue_type_script_lang_ts_,
205583
- PoperSelectvue_type_template_id_5dfdd78c_scoped_true_render,
205584
- PoperSelectvue_type_template_id_5dfdd78c_scoped_true_staticRenderFns,
205655
+ PoperSelectvue_type_template_id_f3c168f0_scoped_true_render,
205656
+ PoperSelectvue_type_template_id_f3c168f0_scoped_true_staticRenderFns,
205585
205657
  false,
205586
205658
  null,
205587
- "5dfdd78c",
205659
+ "f3c168f0",
205588
205660
  null
205589
205661
 
205590
205662
  )
@@ -207537,7 +207609,7 @@ var SignNode = __webpack_require__(34450);
207537
207609
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207538
207610
  var ParagraphNode = __webpack_require__(14208);
207539
207611
  ;// CONCATENATED MODULE: ./src/components/version.ts
207540
- /* harmony default export */ var version = ('2.0.74');
207612
+ /* harmony default export */ var version = ('2.0.77');
207541
207613
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
207542
207614
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
207543
207615
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -226316,9 +226388,9 @@ var ControlModalvue_type_template_id_1b898d58_render = function () {var _vm=this
226316
226388
  var ControlModalvue_type_template_id_1b898d58_staticRenderFns = []
226317
226389
 
226318
226390
 
226319
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=62e16cb5&scoped=true&
226320
- 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)])}
226321
- var SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns = []
226391
+ ;// 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&
226392
+ 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)])}
226393
+ var SelectDialogvue_type_template_id_00c42d15_scoped_true_staticRenderFns = []
226322
226394
 
226323
226395
 
226324
226396
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
@@ -226375,6 +226447,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
226375
226447
  _this.errorArr = [];
226376
226448
  _this.errorIndex = [];
226377
226449
  _this.animationClassNames = "control-modal-contents select-modal animation-in";
226450
+ _this.tableInfo = null;
226378
226451
  return _this;
226379
226452
  }
226380
226453
 
@@ -226429,6 +226502,11 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
226429
226502
  this.downListContent = [].concat(list);
226430
226503
  }
226431
226504
  }
226505
+ }, {
226506
+ key: "mounted",
226507
+ value: function mounted() {
226508
+ this.tableInfo = document.querySelector('.el-table__body-wrapper');
226509
+ }
226432
226510
  }, {
226433
226511
  key: "getSelectNode",
226434
226512
  value: function getSelectNode() {
@@ -226519,6 +226597,8 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
226519
226597
  }, {
226520
226598
  key: "addCustoms",
226521
226599
  value: function addCustoms() {
226600
+ var _this4 = this;
226601
+
226522
226602
  this.downListContent.push({
226523
226603
  text: "",
226524
226604
  value: "",
@@ -226526,17 +226606,22 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
226526
226606
  id: this.getKeyId(),
226527
226607
  default: false
226528
226608
  });
226609
+ setTimeout(function () {
226610
+ if (_this4.tableInfo) {
226611
+ _this4.tableInfo.scrollTo(0, 10000);
226612
+ }
226613
+ }, 0);
226529
226614
  }
226530
226615
  }, {
226531
226616
  key: "setDefault",
226532
226617
  value: function setDefault(id) {
226533
- var _this4 = this;
226618
+ var _this5 = this;
226534
226619
 
226535
226620
  this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v) {
226536
226621
  if (v.id === id) {
226537
226622
  if (v.text.replace(/\s*/g, "") !== "") v.default = true;
226538
226623
  } else {
226539
- if (!_this4.allowMultiSelect) v.default = false;
226624
+ if (!_this5.allowMultiSelect) v.default = false;
226540
226625
  }
226541
226626
 
226542
226627
  return v;
@@ -226572,7 +226657,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
226572
226657
  }, {
226573
226658
  key: "sure",
226574
226659
  value: function sure() {
226575
- var _this5 = this;
226660
+ var _this6 = this;
226576
226661
 
226577
226662
  if (this.errorArr.length !== 0) {
226578
226663
  return false;
@@ -226627,7 +226712,7 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
226627
226712
  }
226628
226713
 
226629
226714
  this.$nextTick(function () {
226630
- return _this5.handleClose();
226715
+ return _this6.handleClose();
226631
226716
  });
226632
226717
  }
226633
226718
  }, {
@@ -226658,10 +226743,10 @@ SelectDialog = __decorate([vue_class_component_esm({
226658
226743
  /* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
226659
226744
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
226660
226745
  /* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
226661
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
226746
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=00c42d15&lang=scss&scoped=true&
226662
226747
  // extracted by mini-css-extract-plugin
226663
226748
 
226664
- ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
226749
+ ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=00c42d15&lang=scss&scoped=true&
226665
226750
 
226666
226751
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
226667
226752
 
@@ -226674,11 +226759,11 @@ SelectDialog = __decorate([vue_class_component_esm({
226674
226759
 
226675
226760
  var SelectDialog_component = normalizeComponent(
226676
226761
  selectDialog_SelectDialogvue_type_script_lang_ts_,
226677
- SelectDialogvue_type_template_id_62e16cb5_scoped_true_render,
226678
- SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns,
226762
+ SelectDialogvue_type_template_id_00c42d15_scoped_true_render,
226763
+ SelectDialogvue_type_template_id_00c42d15_scoped_true_staticRenderFns,
226679
226764
  false,
226680
226765
  null,
226681
- "62e16cb5",
226766
+ "00c42d15",
226682
226767
  null
226683
226768
 
226684
226769
  )
@@ -228549,9 +228634,9 @@ var ExpressionForm_component = normalizeComponent(
228549
228634
  ;// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
228550
228635
 
228551
228636
  /* harmony default export */ var expressionForm = (ExpressionForm);
228552
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=5067453f&scoped=true&
228553
- var RadioCheckboxvue_type_template_id_5067453f_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === 'RadioBox' ? '单选框' : '复选框')+_vm._s(_vm.boxGroup === 1 ? '组' : ''))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,4204152597)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToText),callback:function ($$v) {_vm.$set(scope.row, "isTransToText", $$v)},expression:"scope.row.isTransToText"}})]}}],null,false,1354544746)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动回填","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动回填")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToText", $$v)},expression:"radioCheckbox.isTransToText"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"ho-modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === 'RadioBox' ? '单选项' : '复选项'))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
228554
- var RadioCheckboxvue_type_template_id_5067453f_scoped_true_staticRenderFns = []
228637
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=5f22349b&scoped=true&
228638
+ var RadioCheckboxvue_type_template_id_5f22349b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === 'RadioBox' ? '单选框' : '复选框')+_vm._s(_vm.boxGroup === 1 ? '组' : ''))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},on:{"input":_vm.addNewItem},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,3552177280)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"54"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToText),callback:function ($$v) {_vm.$set(scope.row, "isTransToText", $$v)},expression:"scope.row.isTransToText"}})]}}],null,false,1354544746)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动回填","width":"40"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动回填")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToText", $$v)},expression:"radioCheckbox.isTransToText"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"ho-modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === 'RadioBox' ? '单选项' : '复选项'))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
228639
+ var RadioCheckboxvue_type_template_id_5f22349b_scoped_true_staticRenderFns = []
228555
228640
 
228556
228641
 
228557
228642
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
@@ -228673,6 +228758,22 @@ var RadioCheckbox = /*#__PURE__*/function (_Vue) {
228673
228758
 
228674
228759
  return value;
228675
228760
  }
228761
+ }, {
228762
+ key: "addNewItem",
228763
+ value: function addNewItem() {
228764
+ if (this.radioCheckBoxGroup.filter(function (v) {
228765
+ return v.text === '';
228766
+ }).length === 0) {
228767
+ this.addBox();
228768
+ setTimeout(function () {
228769
+ var tableInfo = document.querySelector('.el-table__body-wrapper');
228770
+
228771
+ if (tableInfo) {
228772
+ tableInfo.scrollTo(0, 10000);
228773
+ }
228774
+ }, 0);
228775
+ }
228776
+ }
228676
228777
  }, {
228677
228778
  key: "addBox",
228678
228779
  value: function addBox() {
@@ -228710,6 +228811,7 @@ var RadioCheckbox = /*#__PURE__*/function (_Vue) {
228710
228811
  v.groupName = _this3.groupName;
228711
228812
  v.controlStyle = _this3.controlType;
228712
228813
  if (v.id === _this3.tableRadio) v.isSelected = true;
228814
+ if (v.text == '') return; // 处理单复选文本值为空的情况
228713
228815
 
228714
228816
  _this3.vueController.insertRadioAndCheckBox('add', JSON.stringify(v));
228715
228817
  });
@@ -228753,10 +228855,10 @@ RadioCheckbox = __decorate([vue_class_component_esm({
228753
228855
  /* harmony default export */ var RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckbox);
228754
228856
  ;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=script&lang=ts&
228755
228857
  /* harmony default export */ var radioCheckBox_RadioCheckboxvue_type_script_lang_ts_ = (RadioCheckboxvue_type_script_lang_ts_);
228756
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5067453f&lang=scss&scoped=true&
228858
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5f22349b&lang=scss&scoped=true&
228757
228859
  // extracted by mini-css-extract-plugin
228758
228860
 
228759
- ;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5067453f&lang=scss&scoped=true&
228861
+ ;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=style&index=0&id=5f22349b&lang=scss&scoped=true&
228760
228862
 
228761
228863
  ;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/RadioCheckbox.vue
228762
228864
 
@@ -228769,11 +228871,11 @@ RadioCheckbox = __decorate([vue_class_component_esm({
228769
228871
 
228770
228872
  var RadioCheckbox_component = normalizeComponent(
228771
228873
  radioCheckBox_RadioCheckboxvue_type_script_lang_ts_,
228772
- RadioCheckboxvue_type_template_id_5067453f_scoped_true_render,
228773
- RadioCheckboxvue_type_template_id_5067453f_scoped_true_staticRenderFns,
228874
+ RadioCheckboxvue_type_template_id_5f22349b_scoped_true_render,
228875
+ RadioCheckboxvue_type_template_id_5f22349b_scoped_true_staticRenderFns,
228774
228876
  false,
228775
228877
  null,
228776
- "5067453f",
228878
+ "5f22349b",
228777
228879
  null
228778
228880
 
228779
228881
  )
@@ -229235,9 +229337,9 @@ var DataSource_component = normalizeComponent(
229235
229337
  ;// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
229236
229338
 
229237
229339
  /* harmony default export */ var controls_dataSource = (DataSource);
229238
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=54417541&scoped=true&
229239
- 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)])}
229240
- var ListSourcevue_type_template_id_54417541_scoped_true_staticRenderFns = []
229340
+ ;// 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&
229341
+ 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)])}
229342
+ var ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns = []
229241
229343
 
229242
229344
 
229243
229345
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
@@ -229273,7 +229375,8 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229273
229375
 
229274
229376
  _this = _super.apply(this, arguments);
229275
229377
  _this.focusIndexs = -1;
229276
- _this.source = "";
229378
+ _this.source = '';
229379
+ _this.tableInfo = null;
229277
229380
  _this.errorArr = [];
229278
229381
  _this.errorIndex = [];
229279
229382
  _this.listValue = [];
@@ -229290,8 +229393,8 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229290
229393
  key: "init",
229291
229394
  value: function init() {
229292
229395
  var list = [{
229293
- text: "",
229294
- value: "",
229396
+ text: '',
229397
+ value: '',
229295
229398
  type: 0,
229296
229399
  id: this.getKeyId()
229297
229400
  }];
@@ -229305,6 +229408,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229305
229408
  this.listValue = [].concat((0,toConsumableArray/* default */.Z)(arr), list);
229306
229409
  this.source = this.getListArrSource();
229307
229410
  this.isAllowMultiSelected = this.getListAllowMultiSelected();
229411
+ this.tableInfo = document.querySelector('.el-table__body-wrapper');
229308
229412
  }
229309
229413
  }, {
229310
229414
  key: "focusIndex",
@@ -229316,7 +229420,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229316
229420
  value: function blurIndex(index) {
229317
229421
  var item = this.listValue[index];
229318
229422
 
229319
- 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) {
229423
+ if ((item === null || item === void 0 ? void 0 : item.value.replace(/\s*/g, '')) === '' && (item === null || item === void 0 ? void 0 : item.text.replace(/\s*/g, '')) === '' && index !== this.listValue.length - 1) {
229320
229424
  this.deleteCurrentRow(item.id);
229321
229425
  }
229322
229426
 
@@ -229331,7 +229435,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229331
229435
  } else {
229332
229436
  this.errorIndex = [];
229333
229437
  var emptyItem = this.listValue.filter(function (v) {
229334
- 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, "")) === "") {
229438
+ if ((v === null || v === void 0 ? void 0 : v.value.replace(/\s*/g, '')) === '' && (v === null || v === void 0 ? void 0 : v.text.replace(/\s*/g, '')) === '') {
229335
229439
  return v;
229336
229440
  }
229337
229441
  });
@@ -229375,24 +229479,31 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229375
229479
  }, {
229376
229480
  key: "addCustoms",
229377
229481
  value: function addCustoms() {
229482
+ var _this3 = this;
229483
+
229378
229484
  this.listValue.push({
229379
- text: "",
229380
- value: "",
229485
+ text: '',
229486
+ value: '',
229381
229487
  type: 0,
229382
229488
  id: this.getKeyId(),
229383
229489
  default: false
229384
229490
  });
229491
+ setTimeout(function () {
229492
+ if (_this3.tableInfo) {
229493
+ _this3.tableInfo.scrollTo(0, 10000);
229494
+ }
229495
+ }, 0);
229385
229496
  }
229386
229497
  }, {
229387
229498
  key: "setDefault",
229388
229499
  value: function setDefault(id) {
229389
- var _this3 = this;
229500
+ var _this4 = this;
229390
229501
 
229391
229502
  this.listValue = (0,toConsumableArray/* default */.Z)(this.listValue.map(function (v) {
229392
229503
  if (v.id === id) {
229393
- if (v.text.replace(/\s*/g, "") !== "") v.default = true;
229504
+ if (v.text.replace(/\s*/g, '') !== '') v.default = true;
229394
229505
  } else {
229395
- if (!_this3.isAllowMultiSelected) v.default = false;
229506
+ if (!_this4.isAllowMultiSelected) v.default = false;
229396
229507
  }
229397
229508
 
229398
229509
  return v;
@@ -229443,7 +229554,7 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229443
229554
  }, {
229444
229555
  key: "getKeyId",
229445
229556
  value: function getKeyId(index) {
229446
- return index ? "DL" + new Date().getTime() + index : "DL" + new Date().getTime();
229557
+ return index ? 'DL' + new Date().getTime() + index : 'DL' + new Date().getTime();
229447
229558
  }
229448
229559
  }, {
229449
229560
  key: "handleClose",
@@ -229453,18 +229564,18 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229453
229564
  }, {
229454
229565
  key: "closeTimeout",
229455
229566
  value: function closeTimeout() {
229456
- var _this4 = this;
229567
+ var _this5 = this;
229457
229568
 
229458
229569
  setTimeout(function () {
229459
- _this4.setIsListStyle(false);
229570
+ _this5.setIsListStyle(false);
229460
229571
 
229461
- _this4.listValue = [];
229572
+ _this5.listValue = [];
229462
229573
  }, 0);
229463
229574
  }
229464
229575
  }, {
229465
229576
  key: "toolModalDown",
229466
229577
  value: function toolModalDown(e) {
229467
- (0,util/* toolModalMove */.tC)(e, this.listSourceModal, "modal-title");
229578
+ (0,util/* toolModalMove */.tC)(e, this.listSourceModal, 'modal-title');
229468
229579
  }
229469
229580
  }]);
229470
229581
 
@@ -229473,26 +229584,26 @@ var ListSource = /*#__PURE__*/function (_Mixins) {
229473
229584
 
229474
229585
  __decorate([Ref()], ListSource.prototype, "listSourceModal", void 0);
229475
229586
 
229476
- __decorate([Inject("setIsListStyle")], ListSource.prototype, "setIsListStyle", void 0);
229587
+ __decorate([Inject('setIsListStyle')], ListSource.prototype, "setIsListStyle", void 0);
229477
229588
 
229478
- __decorate([Inject("setListStyle")], ListSource.prototype, "setListStyle", void 0);
229589
+ __decorate([Inject('setListStyle')], ListSource.prototype, "setListStyle", void 0);
229479
229590
 
229480
- __decorate([Inject("getListAllowMultiSelected")], ListSource.prototype, "getListAllowMultiSelected", void 0);
229591
+ __decorate([Inject('getListAllowMultiSelected')], ListSource.prototype, "getListAllowMultiSelected", void 0);
229481
229592
 
229482
- __decorate([Inject("getListStyle")], ListSource.prototype, "getListStyle", void 0);
229593
+ __decorate([Inject('getListStyle')], ListSource.prototype, "getListStyle", void 0);
229483
229594
 
229484
- __decorate([Inject("getListArrSource")], ListSource.prototype, "getListArrSource", void 0);
229595
+ __decorate([Inject('getListArrSource')], ListSource.prototype, "getListArrSource", void 0);
229485
229596
 
229486
229597
  ListSource = __decorate([vue_class_component_esm({
229487
- name: "ListSource"
229598
+ name: 'ListSource'
229488
229599
  })], ListSource);
229489
229600
  /* harmony default export */ var ListSourcevue_type_script_lang_ts_ = (ListSource);
229490
229601
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=script&lang=ts&
229491
229602
  /* harmony default export */ var listsource_ListSourcevue_type_script_lang_ts_ = (ListSourcevue_type_script_lang_ts_);
229492
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=54417541&lang=scss&scoped=true&
229603
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
229493
229604
  // extracted by mini-css-extract-plugin
229494
229605
 
229495
- ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=54417541&lang=scss&scoped=true&
229606
+ ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue?vue&type=style&index=0&id=08d9ce14&lang=scss&scoped=true&
229496
229607
 
229497
229608
  ;// CONCATENATED MODULE: ./src/components/controls/listsource/ListSource.vue
229498
229609
 
@@ -229505,11 +229616,11 @@ ListSource = __decorate([vue_class_component_esm({
229505
229616
 
229506
229617
  var ListSource_component = normalizeComponent(
229507
229618
  listsource_ListSourcevue_type_script_lang_ts_,
229508
- ListSourcevue_type_template_id_54417541_scoped_true_render,
229509
- ListSourcevue_type_template_id_54417541_scoped_true_staticRenderFns,
229619
+ ListSourcevue_type_template_id_08d9ce14_scoped_true_render,
229620
+ ListSourcevue_type_template_id_08d9ce14_scoped_true_staticRenderFns,
229510
229621
  false,
229511
229622
  null,
229512
- "54417541",
229623
+ "08d9ce14",
229513
229624
  null
229514
229625
 
229515
229626
  )
@@ -233846,9 +233957,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233846
233957
  if (nodes.parentNode instanceof CellNode/* CellNode */.D) {
233847
233958
  info = {
233848
233959
  cellNode: nodes.parentNode,
233849
- tableNode: nodes.parentNode.parentNode,
233850
- colInfo: nodes.parentNode.table.colInfos[nodes.parentNode.row.indexOf(nodes.parentNode)],
233851
- rowInfo: nodes.parentNode.table.rowInfos[nodes.parentNode.table.rows.indexOf(nodes.parentNode.row)]
233960
+ tableNode: nodes.parentNode.parentNode
233852
233961
  };
233853
233962
  } else {
233854
233963
  isFn(nodes.parentNode);
@@ -233861,9 +233970,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233861
233970
  if (nodes instanceof CellNode/* CellNode */.D) {
233862
233971
  info = {
233863
233972
  cellNode: nodes,
233864
- tableNode: nodes.parentNode,
233865
- colInfo: nodes.table.colInfos[nodes.row.indexOf(nodes)],
233866
- rowInfo: nodes.table.rowInfos[nodes.table.rows.indexOf(nodes.row)]
233973
+ tableNode: nodes.parentNode
233867
233974
  };
233868
233975
  } else {
233869
233976
  isFn(nodes);
@@ -233901,7 +234008,7 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233901
234008
  drawPageTables.forEach(function (v, key) {
233902
234009
  if (v.parent.pageIndex === dPage.drawMainDoc.pageIndex) {
233903
234010
  tableBounds.height = v.dHeight;
233904
- tableBounds.y = dPage.drawMainDoc.y + v.dTop;
234011
+ tableBounds.y = dPage.drawMainDoc.y + v.y;
233905
234012
 
233906
234013
  if (drawPageCells.length === drawPageTables.length) {
233907
234014
  tableBounds.cellHeight = drawPageCells[key].dHeight;
@@ -233967,10 +234074,12 @@ var FontStyleMixin = /*#__PURE__*/function (_Vue) {
233967
234074
  canAddRow: tableNode.tableProperty.canAddRow,
233968
234075
  canDeleteRow: tableNode.tableProperty.canDeleteRow
233969
234076
  };
233970
- }
233971
234077
 
233972
- if (hoEditorFactory.isCanUseTableProperty && nodes) {
233973
- this.createTable(hoEditorFactory, nodes);
234078
+ if (tableNode.tableProperty.isAutoChangeLine && nodes) {
234079
+ this.createTable(hoEditorFactory, nodes);
234080
+ } else if (hoEditorFactory.isCanUseTableProperty && nodes) {
234081
+ this.createTable(hoEditorFactory, nodes);
234082
+ }
233974
234083
  }
233975
234084
 
233976
234085
  vueControllers.getCurTextStyle();