hoeditor-web 2.0.64 → 2.0.65

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.
@@ -27283,7 +27283,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27283
27283
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(83964);
27284
27284
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46455);
27285
27285
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(42015);
27286
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(16296);
27286
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(16296);
27287
27287
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
27288
27288
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
27289
27289
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41539);
@@ -27296,16 +27296,25 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27296
27296
  /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__);
27297
27297
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40561);
27298
27298
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__);
27299
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(38862);
27300
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10__);
27301
- /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(19459);
27302
- /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27356);
27303
- /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(62938);
27304
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(35657);
27305
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(28831);
27306
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(71080);
27307
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(92178);
27308
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(99964);
27299
+ /* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27852);
27300
+ /* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10__);
27301
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74916);
27302
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__);
27303
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23123);
27304
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__);
27305
+ /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38862);
27306
+ /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__);
27307
+ /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(19459);
27308
+ /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(27356);
27309
+ /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(62938);
27310
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(35657);
27311
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(28831);
27312
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(71080);
27313
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(92178);
27314
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(99964);
27315
+
27316
+
27317
+
27309
27318
 
27310
27319
 
27311
27320
 
@@ -27354,7 +27363,7 @@ var BandDataSource = /*#__PURE__*/function () {
27354
27363
  this.execState = ""; //执行状态
27355
27364
  }
27356
27365
 
27357
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(BandDataSource, [{
27366
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(BandDataSource, [{
27358
27367
  key: "DataSourceEnabled",
27359
27368
  get: function get() {
27360
27369
  return this.dataSourceEnabled;
@@ -27443,7 +27452,7 @@ var DownListNodeInstance = /*#__PURE__*/function () {
27443
27452
  this.allowMultiSelect = false;
27444
27453
  }
27445
27454
 
27446
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNodeInstance, [{
27455
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNodeInstance, [{
27447
27456
  key: "Id",
27448
27457
  get: function get() {
27449
27458
  return this.id;
@@ -27579,7 +27588,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27579
27588
  // this._id = valuesObj["id"];
27580
27589
  // }
27581
27590
 
27582
- _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27591
+ _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27583
27592
  // this._name = valuesObj["name"];
27584
27593
  // }
27585
27594
  // if (valuesObj["title"] !== undefined) {
@@ -27652,7 +27661,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27652
27661
  _this.setValuesObject(valuesObject);
27653
27662
 
27654
27663
  if (!_this.dataId) {
27655
- _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27664
+ _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27656
27665
  }
27657
27666
 
27658
27667
  if (_this._text === "") {
@@ -27673,7 +27682,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27673
27682
  return _this;
27674
27683
  }
27675
27684
 
27676
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNode, [{
27685
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNode, [{
27677
27686
  key: "setValuesObject",
27678
27687
  value: function setValuesObject(valuesObject) {
27679
27688
  var valuesObj = eval("(" + valuesObject + ")");
@@ -27810,12 +27819,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27810
27819
  }, {
27811
27820
  key: "setDownListText",
27812
27821
  value: function setDownListText(text) {
27813
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27822
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27814
27823
  var sPath = hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf());
27815
27824
  var ePath = hoEditorFactory.docTree.getNodeLastPath(this);
27816
- var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__/* .NodeChangeEvent */ .G(this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_16__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, sPath, ePath);
27825
+ var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__/* .NodeChangeEvent */ .G(this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_19__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, sPath, ePath);
27817
27826
  changeEvent.oldEndPath = ePath;
27818
- changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27827
+ changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27819
27828
  this._text = text;
27820
27829
 
27821
27830
  if (this._text === "") {
@@ -27837,7 +27846,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27837
27846
  value: function node2DrawNodeRange(startIndex, endIndex) {
27838
27847
  // const cbStyle = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.styles[this._styleIndex === -1 ? 0 : this._styleIndex]
27839
27848
  // .combineStyle;
27840
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27849
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27841
27850
  var textStyle = hoEditorFactory.docTree.styles[this._styleIndex];
27842
27851
  var cbStyle;
27843
27852
 
@@ -27854,7 +27863,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27854
27863
  }
27855
27864
 
27856
27865
  var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
27857
- var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27866
+ var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27858
27867
 
27859
27868
  this._drawNodes.push(dNode);
27860
27869
  }
@@ -27882,10 +27891,10 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27882
27891
  return dline;
27883
27892
  }
27884
27893
 
27885
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27894
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27886
27895
  var isDisPlay = true;
27887
27896
 
27888
- if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__/* .PaintState.psPrint */ .Dh.psPrint) {
27897
+ if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psPrint */ .Dh.psPrint) {
27889
27898
  isDisPlay = false;
27890
27899
  }
27891
27900
 
@@ -27903,7 +27912,50 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27903
27912
  var color = hoEditorFactory.option.getColorByLevel(120);
27904
27913
 
27905
27914
  if (this.keyValue !== "") {
27906
- color = hoEditorFactory.option.getColorByLevel(12);
27915
+ if (hoEditorFactory.isSameColorWithEmptyVlaue) {
27916
+ var isDefault = false;
27917
+
27918
+ if (this._allowMultiSelect) {
27919
+ var defaultValues = "";
27920
+
27921
+ for (var _i = 0; _i < this.downListContent.length; _i++) {
27922
+ var item1 = this.downListContent[_i];
27923
+
27924
+ if (item1.default) {
27925
+ defaultValues += item1.id + ",";
27926
+ }
27927
+ }
27928
+
27929
+ if (defaultValues.endsWith(',')) {
27930
+ defaultValues = defaultValues.substring(0, defaultValues.length - 1);
27931
+ }
27932
+
27933
+ var keyValue = this.keyValue;
27934
+
27935
+ if (keyValue.endsWith(',')) {
27936
+ keyValue = keyValue.substring(0, keyValue.length - 1);
27937
+ }
27938
+
27939
+ if (defaultValues === keyValue) {
27940
+ isDefault = true;
27941
+ }
27942
+ } else {
27943
+ for (var j = 0; j < this.downListContent.length; j++) {
27944
+ var item2 = this.downListContent[j];
27945
+
27946
+ if (item2.id === this.keyValue.split(',')[0] && item2.default) {
27947
+ isDefault = true;
27948
+ break;
27949
+ }
27950
+ }
27951
+ }
27952
+
27953
+ if (!isDefault) {
27954
+ color = hoEditorFactory.option.getColorByLevel(12);
27955
+ }
27956
+ } else {
27957
+ color = hoEditorFactory.option.getColorByLevel(12);
27958
+ }
27907
27959
  }
27908
27960
 
27909
27961
  var backColor = new createjs.Shape();
@@ -27915,9 +27967,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27915
27967
  if (this.keyValue === "") {
27916
27968
  drawNode.alpha = 0;
27917
27969
  } else {
27918
- for (var _i = drawNode.children.length - 1; _i >= 0; _i--) {
27919
- if (drawNode.children[_i].name === "backColor") {
27920
- drawNode.children.splice(_i, 1);
27970
+ for (var _i2 = drawNode.children.length - 1; _i2 >= 0; _i2--) {
27971
+ if (drawNode.children[_i2].name === "backColor") {
27972
+ drawNode.children.splice(_i2, 1);
27921
27973
  }
27922
27974
  }
27923
27975
  }
@@ -27935,9 +27987,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27935
27987
  var downLists = {
27936
27988
  item: this.downListContent
27937
27989
  };
27938
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27990
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27939
27991
  var retObj = {
27940
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl],
27992
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
27941
27993
  type: "ctDownList",
27942
27994
  //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DL") : this.id,
27943
27995
  id: this.id,
@@ -27985,7 +28037,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27985
28037
  this.transType(json);
27986
28038
 
27987
28039
  if (isPaste) {
27988
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
28040
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
27989
28041
 
27990
28042
  if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
27991
28043
  //json.id = hoEditorFactory.gernerateCode.generateID("DL");
@@ -27997,7 +28049,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27997
28049
  json.isReadOnly = !json.isReadOnly ? false : json.isReadOnly;
27998
28050
  json.mutexSelect = !json.mutexSelect ? false : json.mutexSelect;
27999
28051
  json.allowMultiSelect = !json.allowMultiSelect ? false : json.allowMultiSelect;
28000
- json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType */ .C[json.type]);
28052
+ json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType */ .C[json.type]);
28001
28053
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
28002
28054
  json.readType = json.readType ? Number(json.readType) : -1;
28003
28055
  var downListContent = [];
@@ -28006,12 +28058,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
28006
28058
  downListContent.push(json.downLists.item[i]);
28007
28059
  }
28008
28060
 
28009
- return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28061
+ return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28010
28062
  }
28011
28063
  }]);
28012
28064
 
28013
28065
  return DownListNode;
28014
- }(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlNode */ .w);
28066
+ }(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlNode */ .w);
28015
28067
 
28016
28068
  /***/ }),
28017
28069
 
@@ -63148,7 +63200,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63148
63200
  //if(nodes.length == 0) return;
63149
63201
 
63150
63202
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63151
- _context.next = 33;
63203
+ _context.next = 34;
63152
63204
  break;
63153
63205
  }
63154
63206
 
@@ -63156,7 +63208,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63156
63208
 
63157
63209
  case 13:
63158
63210
  if (!(n < nodes.length)) {
63159
- _context.next = 33;
63211
+ _context.next = 34;
63160
63212
  break;
63161
63213
  }
63162
63214
 
@@ -63172,13 +63224,17 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63172
63224
  return _context.abrupt("return", 0);
63173
63225
 
63174
63226
  case 18:
63227
+ if (nodes.length === 1 && nodes[0] instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && nodes[0].childNodes[1] instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_23__/* .MarkNode */ .j) {
63228
+ hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
63229
+ }
63230
+
63175
63231
  if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
63176
- _context.next = 27;
63232
+ _context.next = 28;
63177
63233
  break;
63178
63234
  }
63179
63235
 
63180
63236
  if (node.isAllowDelete) {
63181
- _context.next = 27;
63237
+ _context.next = 28;
63182
63238
  break;
63183
63239
  }
63184
63240
 
@@ -63204,9 +63260,9 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63204
63260
 
63205
63261
  return _context.abrupt("return", 0);
63206
63262
 
63207
- case 27:
63263
+ case 28:
63208
63264
  if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63209
- _context.next = 30;
63265
+ _context.next = 31;
63210
63266
  break;
63211
63267
  }
63212
63268
 
@@ -63214,16 +63270,16 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63214
63270
 
63215
63271
  return _context.abrupt("return", 0);
63216
63272
 
63217
- case 30:
63273
+ case 31:
63218
63274
  n++;
63219
63275
  _context.next = 13;
63220
63276
  break;
63221
63277
 
63222
- case 33:
63278
+ case 34:
63223
63279
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
63224
63280
 
63225
63281
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63226
- _context.next = 39;
63282
+ _context.next = 40;
63227
63283
  break;
63228
63284
  }
63229
63285
 
@@ -63236,24 +63292,24 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63236
63292
  });
63237
63293
 
63238
63294
  if (_res[0]) {
63239
- _context.next = 39;
63295
+ _context.next = 40;
63240
63296
  break;
63241
63297
  }
63242
63298
 
63243
63299
  return _context.abrupt("return");
63244
63300
 
63245
- case 39:
63301
+ case 40:
63246
63302
  changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_16__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_14__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, currRange.startPath, ""); //FIXME:deleteRange函数完成后调用这个
63247
63303
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
63248
63304
 
63249
63305
  if (currRange.npStart.node && currRange.npEnd.node) {
63250
- _context.next = 42;
63306
+ _context.next = 43;
63251
63307
  break;
63252
63308
  }
63253
63309
 
63254
63310
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63255
63311
 
63256
- case 42:
63312
+ case 43:
63257
63313
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
63258
63314
  // this._hoEditorFactory,
63259
63315
  // currRange.startPath,
@@ -63266,33 +63322,33 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63266
63322
  res = this.deleteRange(currRange.endPath, currRange.startPath);
63267
63323
 
63268
63324
  if (!(res == 1)) {
63269
- _context.next = 54;
63325
+ _context.next = 55;
63270
63326
  break;
63271
63327
  }
63272
63328
 
63273
63329
  changeEvent.beforeChangePath = startPath;
63274
63330
  changeEvent.afterChangePath = this._tmp.start;
63275
- _context.next = 52;
63331
+ _context.next = 53;
63276
63332
  return hoEditorFactory.docTree.change(changeEvent);
63277
63333
 
63278
- case 52:
63334
+ case 53:
63279
63335
  cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.start));
63280
63336
  hoEditorFactory.docTree.selectChange(cgEvent);
63281
63337
 
63282
- case 54:
63338
+ case 55:
63283
63339
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
63284
63340
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
63285
63341
  aNode = currRange.npStart.node;
63286
63342
 
63287
63343
  if (!(aNode && pnode)) {
63288
- _context.next = 60;
63344
+ _context.next = 61;
63289
63345
  break;
63290
63346
  }
63291
63347
 
63292
- _context.next = 60;
63348
+ _context.next = 61;
63293
63349
  return this.ParentRepaint(pnode);
63294
63350
 
63295
- case 60:
63351
+ case 61:
63296
63352
  case "end":
63297
63353
  return _context.stop();
63298
63354
  }
@@ -99574,7 +99630,7 @@ if(src.indexOf("data:image/")===0){return atob(unescape(src).split("base64,").po
99574
99630
  var tmpImageData=jsPDFAPI.loadFile(src,true);if(tmpImageData!==undefined){return tmpImageData;}}if(element.nodeName==="CANVAS"){if(element.width===0||element.height===0){throw new Error("Given canvas must have data. Canvas width: "+element.width+", height: "+element.height);}var mimeType;switch(format){case"PNG":mimeType="image/png";break;case"WEBP":mimeType="image/webp";break;case"JPEG":case"JPG":default:mimeType="image/jpeg";break;}return atob(element.toDataURL(mimeType,1.0).split("base64,").pop());}};var checkImagesForAlias=function checkImagesForAlias(alias){var images=this.internal.collections[namespace+"images"];if(images){for(var e in images){if(alias===images[e].alias){return images[e];}}}};var determineWidthAndHeight=function determineWidthAndHeight(width,height,image){if(!width&&!height){width=-96;height=-96;}if(width<0){width=-1*image.width*72/width/this.internal.scaleFactor;}if(height<0){height=-1*image.height*72/height/this.internal.scaleFactor;}if(width===0){width=height*image.width/image.height;}if(height===0){height=width*image.height/image.width;}return[width,height];};var writeImageToPDF=function writeImageToPDF(x,y,width,height,image,rotation){var dims=determineWidthAndHeight.call(this,width,height,image),coord=this.internal.getCoordinateString,vcoord=this.internal.getVerticalCoordinateString;var images=getImages.call(this);width=dims[0];height=dims[1];images[image.index]=image;if(rotation){rotation*=Math.PI/180;var c=Math.cos(rotation);var s=Math.sin(rotation);//like in pdf Reference do it 4 digits instead of 2
99575
99631
  var f4=function f4(number){return number.toFixed(4);};var rotationTransformationMatrix=[f4(c),f4(s),f4(s*-1),f4(c),0,0,"cm"];}this.internal.write("q");//Save graphics state
99576
99632
  if(rotation){// 自定义修改 修复图片旋转后位置错误问题 水平方向增加自身宽度 减去的 18px 来源未知 垂直方向减去自身高度
99577
- x+=width-18;y-=height;this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99633
+ x+=Number(coord(width));y-=height;console.log(width,height,coord(width),coord(height));this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99578
99634
  this.internal.write(rotationTransformationMatrix.join(" "));//Rotate
99579
99635
  this.internal.write([coord(width),"0","0",coord(height),"0","0","cm"].join(" "));//Scale
99580
99636
  }else{this.internal.write([coord(width),"0","0",coord(height),coord(x),vcoord(y+height),"cm"].join(" "));//Translate and Scale
@@ -199186,7 +199242,7 @@ var es_function_name = __webpack_require__(68309);
199186
199242
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
199187
199243
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(77203);
199188
199244
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
199189
- ;// 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/HoDocs.vue?vue&type=template&id=83a638fc&
199245
+ ;// 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/HoDocs.vue?vue&type=template&id=77aa5c8d&
199190
199246
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson,"isUseTipText":_vm.isUseTipText,"textStyle":_vm.textStyle},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(_vm.notUseModal)?_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isTableProperty":_vm.isTableProperty,"isListStyle":_vm.isListStyle,"uploadImageParams":_vm.uploadImageParams},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true},{key:"hoParagraphModal",fn:function(){return [_vm._t("hoParagraphField")]},proxy:true},{key:"hoComment",fn:function(){return [_vm._t("hoTextComment")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e()],1):_vm._e()}
199191
199247
  var staticRenderFns = []
199192
199248
 
@@ -201970,11 +202026,11 @@ var HoToPage_component = normalizeComponent(
201970
202026
  /* harmony default export */ var backToPage = (HoToPage);
201971
202027
  // EXTERNAL MODULE: ./src/plugins/util.ts
201972
202028
  var util = __webpack_require__(17987);
201973
- ;// 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=aa143c0a&scoped=true&
201974
- var PoperSelectvue_type_template_id_aa143c0a_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){
202029
+ ;// 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=0c390485&scoped=true&
202030
+ var PoperSelectvue_type_template_id_0c390485_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){
201975
202031
  var item = ref.item;
201976
202032
  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',{on:{"change":_vm.selectItemsChange},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}},[_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',[_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()])}
201977
- var PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns = []
202033
+ var PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns = []
201978
202034
 
201979
202035
 
201980
202036
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
@@ -204676,12 +204732,12 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204676
204732
  // } else {
204677
204733
  v.id = String(v.id); // }
204678
204734
 
204679
- v.default = false;
204735
+ v.selected = false;
204680
204736
 
204681
204737
  if (selectedString.length > 0 && selectedString.filter(function (m) {
204682
204738
  return v.id == m;
204683
204739
  }).length === 1) {
204684
- v.default = true;
204740
+ v.selected = true;
204685
204741
 
204686
204742
  if (_this2.isAllowMultiSelect && _this2.poperSelectList.length >= 20) {
204687
204743
  _this2.selectedList[selectedString.indexOf(v.id)] = v;
@@ -204888,7 +204944,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204888
204944
  selectItemIndex = index;
204889
204945
  }
204890
204946
  });
204891
- item.default = false;
204947
+ item.selected = false;
204892
204948
  this.poperSelectList.splice(selectItemIndex, 1, item); // this.selectedList.splice(key, 1, item);
204893
204949
 
204894
204950
  this.currentList = this.currentList.filter(function (m) {
@@ -204914,16 +204970,16 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204914
204970
  if (value.length > 0) {
204915
204971
  this.poperSelectList.forEach(function (v) {
204916
204972
  if (value.includes(v.id)) {
204917
- v.default = true;
204973
+ v.selected = true;
204918
204974
  _this5.mutexType = String(v.type);
204919
204975
  } else {
204920
- v.default = false;
204976
+ v.selected = false;
204921
204977
  }
204922
204978
  });
204923
204979
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204924
204980
  } else if (value.length === 0) {
204925
204981
  this.poperSelectList.forEach(function (v) {
204926
- v.default = false;
204982
+ v.selected = false;
204927
204983
  _this5.mutexType = "";
204928
204984
  });
204929
204985
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
@@ -204942,21 +204998,21 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204942
204998
  var item = {};
204943
204999
  var selectItemIndex = 0;
204944
205000
  this.poperSelectList.forEach(function (v, index) {
204945
- v.default = false;
205001
+ v.selected = false;
204946
205002
 
204947
205003
  if (v.id == value) {
204948
205004
  item = v;
204949
205005
  selectItemIndex = index;
204950
205006
  }
204951
205007
  });
204952
- item.default = !item.default;
205008
+ item.selected = !item.selected;
204953
205009
  this.poperSelectList.splice(selectItemIndex, 1, item);
204954
205010
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204955
205011
  this.sureSelect();
204956
205012
  } else {
204957
205013
  this.poperSelectList.forEach(function (v) {
204958
205014
  if (value.includes(v.id)) {
204959
- v.default = true;
205015
+ v.selected = true;
204960
205016
 
204961
205017
  if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
204962
205018
  return m.id == v.id;
@@ -204964,7 +205020,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204964
205020
  _this6.selectedList.push(v);
204965
205021
  }
204966
205022
  } else {
204967
- v.default = false;
205023
+ v.selected = false;
204968
205024
  if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
204969
205025
  return m.id != v.id;
204970
205026
  });
@@ -204981,19 +205037,19 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204981
205037
 
204982
205038
  if (!this.isAllowMultiSelect) {
204983
205039
  this.poperSelectList.forEach(function (v) {
204984
- v.default = false;
205040
+ v.selected = false;
204985
205041
  });
204986
- item.default = !item.default;
205042
+ item.selected = !item.selected;
204987
205043
  this.poperSelectList.splice(index, 1, item);
204988
205044
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204989
205045
  this.sureSelect();
204990
205046
  } else {
204991
205047
  this.poperSelectList.forEach(function (v) {
204992
205048
  if (v.id == item.id) {
204993
- v.default = !v.default;
205049
+ v.selected = !v.selected;
204994
205050
  }
204995
205051
 
204996
- if (v.default) {
205052
+ if (v.selected) {
204997
205053
  if (_this7.isCanSearch && _this7.selectedList.filter(function (m) {
204998
205054
  return m.id == v.id;
204999
205055
  }).length == 0) {
@@ -205014,7 +205070,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205014
205070
  key: "cancelSelect",
205015
205071
  value: function cancelSelect() {
205016
205072
  this.poperSelectList.forEach(function (v) {
205017
- v.default = false;
205073
+ v.selected = false;
205018
205074
  });
205019
205075
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
205020
205076
  this.selectedList = [];
@@ -205038,7 +205094,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205038
205094
  var keyValue = "";
205039
205095
  var currentPoperNode = this.getCurrentPoperNode();
205040
205096
  var selected = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter(function (v) {
205041
- return v.default;
205097
+ return v.selected;
205042
205098
  });
205043
205099
  var len = selected.length;
205044
205100
 
@@ -205196,10 +205252,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205196
205252
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
205197
205253
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
205198
205254
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
205199
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205255
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205200
205256
  // extracted by mini-css-extract-plugin
205201
205257
 
205202
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205258
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205203
205259
 
205204
205260
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
205205
205261
 
@@ -205212,11 +205268,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205212
205268
 
205213
205269
  var PoperSelect_component = normalizeComponent(
205214
205270
  poperSelect_PoperSelectvue_type_script_lang_ts_,
205215
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_render,
205216
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns,
205271
+ PoperSelectvue_type_template_id_0c390485_scoped_true_render,
205272
+ PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns,
205217
205273
  false,
205218
205274
  null,
205219
- "aa143c0a",
205275
+ "0c390485",
205220
205276
  null
205221
205277
 
205222
205278
  )
@@ -207169,7 +207225,7 @@ var SignNode = __webpack_require__(78975);
207169
207225
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207170
207226
  var ParagraphNode = __webpack_require__(13880);
207171
207227
  ;// CONCATENATED MODULE: ./src/components/version.ts
207172
- /* harmony default export */ var version = ('2.0.64');
207228
+ /* harmony default export */ var version = ('2.0.65');
207173
207229
  ;// 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&
207174
207230
  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)}
207175
207231
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -224704,6 +224760,8 @@ var HOEditorFactory = /*#__PURE__*/function () {
224704
224760
 
224705
224761
  this._isEnabledGlobalColor = false; //是否启用全局颜色
224706
224762
 
224763
+ this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
224764
+
224707
224765
  this._hoEditorFactoryId = id;
224708
224766
  }
224709
224767
  /**
@@ -225411,6 +225469,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
225411
225469
  this._isEnabledGlobalColor = value;
225412
225470
  }
225413
225471
  }
225472
+ }, {
225473
+ key: "isSameColorWithEmptyVlaue",
225474
+ get: function get() {
225475
+ return this._isSameColorWithEmptyVlaue;
225476
+ },
225477
+ set: function set(value) {
225478
+ if (this._isSameColorWithEmptyVlaue !== value) {
225479
+ this._isSameColorWithEmptyVlaue = value;
225480
+ }
225481
+ }
225414
225482
  }, {
225415
225483
  key: "clear",
225416
225484
  value: function clear() {
@@ -225772,9 +225840,9 @@ var ControlModalvue_type_template_id_36fbe7eb_render = function () {var _vm=this
225772
225840
  var ControlModalvue_type_template_id_36fbe7eb_staticRenderFns = []
225773
225841
 
225774
225842
 
225775
- ;// 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=3b6d4c1e&scoped=true&
225776
- var SelectDialogvue_type_template_id_3b6d4c1e_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)])}
225777
- var SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns = []
225843
+ ;// 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&
225844
+ 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)])}
225845
+ var SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns = []
225778
225846
 
225779
225847
 
225780
225848
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
@@ -225866,13 +225934,12 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
225866
225934
  this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v, index) {
225867
225935
  if (v.id === undefined) {
225868
225936
  v.id = _this2.getKeyId(index);
225869
- }
225937
+ } // if(updateNode.keyValue.includes(v.id)) {
225938
+ // v.default = true;
225939
+ // } else {
225940
+ // v.default = false;
225941
+ // }
225870
225942
 
225871
- if (updateNode.keyValue.includes(v.id)) {
225872
- v.default = true;
225873
- } else {
225874
- v.default = false;
225875
- }
225876
225943
 
225877
225944
  return v;
225878
225945
  }));
@@ -226115,10 +226182,10 @@ SelectDialog = __decorate([vue_class_component_esm({
226115
226182
  /* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
226116
226183
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
226117
226184
  /* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
226118
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226185
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
226119
226186
  // extracted by mini-css-extract-plugin
226120
226187
 
226121
- ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226188
+ ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
226122
226189
 
226123
226190
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
226124
226191
 
@@ -226131,11 +226198,11 @@ SelectDialog = __decorate([vue_class_component_esm({
226131
226198
 
226132
226199
  var SelectDialog_component = normalizeComponent(
226133
226200
  selectDialog_SelectDialogvue_type_script_lang_ts_,
226134
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_render,
226135
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns,
226201
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_render,
226202
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns,
226136
226203
  false,
226137
226204
  null,
226138
- "3b6d4c1e",
226205
+ "62e16cb5",
226139
226206
  null
226140
226207
 
226141
226208
  )
@@ -226928,9 +226995,9 @@ var QrCode_component = normalizeComponent(
226928
226995
  ;// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
226929
226996
 
226930
226997
  /* harmony default export */ var qrCode = (QrCode);
226931
- ;// 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/textDialog/TextDialog.vue?vue&type=template&id=75c07514&
226932
- var TextDialogvue_type_template_id_75c07514_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('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_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":0},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("直接输入文本数据")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("下拉列表方式")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.textParam.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.textParam.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "innerIdentifier", $$v)},expression:"textParam.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.textParam.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "dataMetaIdentifier", $$v)},expression:"textParam.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.textParam.identifierFormat),callback:function ($$v) {_vm.$set(_vm.textParam, "identifierFormat", $$v)},expression:"textParam.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.textParam.name),callback:function ($$v) {_vm.$set(_vm.textParam, "name", $$v)},expression:"textParam.name"}})],1),_c('li',{staticClass:"line"}),(_vm.textParam.inputFieldType === 0)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"mini","placeholder":"文本内容"},model:{value:(_vm.textParam.text),callback:function ($$v) {_vm.$set(_vm.textParam, "text", $$v)},expression:"textParam.text"}})],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("下拉列表")]),_c('el-input',{attrs:{"size":"mini","disabled":true,"placeholder":"下拉列表项"},model:{value:(_vm.textParam.downListProperty.source),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "source", $$v)},expression:"textParam.downListProperty.source"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.openListArrModel.apply(null, arguments)}}},[_vm._v("浏览")])],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否多选")]),_c('div',{staticStyle:{"width":"40%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")]),_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.mutexSelect),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "mutexSelect", $$v)},expression:"textParam.downListProperty.mutexSelect"}},[_vm._v("选项互斥")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"60px"}},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.textParam.downListProperty.splitCharacter),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "splitCharacter", $$v)},expression:"textParam.downListProperty.splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}}),_c('el-option',{attrs:{"label":"\\","value":"\\"}})],1)],1)]):_vm._e(),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","placeholder":"提示文本"},model:{value:(_vm.textParam.tipText),callback:function ($$v) {_vm.$set(_vm.textParam, "tipText", $$v)},expression:"textParam.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容只读状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"placeholder":"请选择","size":"mini"},model:{value:(_vm.textParam.readOnlyStatus),callback:function ($$v) {_vm.$set(_vm.textParam, "readOnlyStatus", $$v)},expression:"textParam.readOnlyStatus"}},[_c('el-option',{attrs:{"label":"继承父元素","value":2}}),_c('el-option',{attrs:{"label":"是","value":0}}),_c('el-option',{attrs:{"label":"否","value":1}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("固定宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.textParam.fixedWidth),callback:function ($$v) {_vm.$set(_vm.textParam, "fixedWidth", $$v)},expression:"textParam.fixedWidth"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("厘米")])],1),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.canModifyContent),callback:function ($$v) {_vm.$set(_vm.textParam, "canModifyContent", $$v)},expression:"textParam.canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.textParam, "isAllowDelete", $$v)},expression:"textParam.isAllowDelete"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.enableGlobalColor),callback:function ($$v) {_vm.$set(_vm.textParam, "enableGlobalColor", $$v)},expression:"textParam.enableGlobalColor"}},[_vm._v("启用全局文本颜色")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.alignWithBlocked),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlocked", $$v)},expression:"textParam.alignWithBlocked"}},[_vm._v("文本域中的段落使用块对齐(诊断专用)")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"38px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动回填")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_c('ul',{staticClass:"control-list"},[_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._t("hoTextFieldModal")],2)],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)])}
226933
- var TextDialogvue_type_template_id_75c07514_staticRenderFns = []
226998
+ ;// 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/textDialog/TextDialog.vue?vue&type=template&id=52be23a2&
226999
+ var TextDialogvue_type_template_id_52be23a2_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('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_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":0},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("直接输入文本数据")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("下拉列表方式")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.textParam.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.textParam.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "innerIdentifier", $$v)},expression:"textParam.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.textParam.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "dataMetaIdentifier", $$v)},expression:"textParam.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.textParam.identifierFormat),callback:function ($$v) {_vm.$set(_vm.textParam, "identifierFormat", $$v)},expression:"textParam.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.textParam.name),callback:function ($$v) {_vm.$set(_vm.textParam, "name", $$v)},expression:"textParam.name"}})],1),_c('li',{staticClass:"line"}),(_vm.textParam.inputFieldType === 0)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"mini","placeholder":"文本内容"},model:{value:(_vm.textParam.text),callback:function ($$v) {_vm.$set(_vm.textParam, "text", $$v)},expression:"textParam.text"}})],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("下拉列表")]),_c('el-input',{attrs:{"size":"mini","disabled":true,"placeholder":"下拉列表项"},model:{value:(_vm.textParam.downListProperty.source),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "source", $$v)},expression:"textParam.downListProperty.source"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.openListArrModel.apply(null, arguments)}}},[_vm._v("浏览")])],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否多选")]),_c('div',{staticStyle:{"width":"40%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")]),_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.mutexSelect),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "mutexSelect", $$v)},expression:"textParam.downListProperty.mutexSelect"}},[_vm._v("选项互斥")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"60px"}},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.textParam.downListProperty.splitCharacter),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "splitCharacter", $$v)},expression:"textParam.downListProperty.splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}}),_c('el-option',{attrs:{"label":"\\","value":"\\"}})],1)],1)]):_vm._e(),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","placeholder":"提示文本"},model:{value:(_vm.textParam.tipText),callback:function ($$v) {_vm.$set(_vm.textParam, "tipText", $$v)},expression:"textParam.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容只读状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"placeholder":"请选择","size":"mini"},model:{value:(_vm.textParam.readOnlyStatus),callback:function ($$v) {_vm.$set(_vm.textParam, "readOnlyStatus", $$v)},expression:"textParam.readOnlyStatus"}},[_c('el-option',{attrs:{"label":"继承父元素","value":2}}),_c('el-option',{attrs:{"label":"是","value":0}}),_c('el-option',{attrs:{"label":"否","value":1}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("固定宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.textParam.fixedWidth),callback:function ($$v) {_vm.$set(_vm.textParam, "fixedWidth", $$v)},expression:"textParam.fixedWidth"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("厘米")])],1),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.canModifyContent),callback:function ($$v) {_vm.$set(_vm.textParam, "canModifyContent", $$v)},expression:"textParam.canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.textParam, "isAllowDelete", $$v)},expression:"textParam.isAllowDelete"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.enableGlobalColor),callback:function ($$v) {_vm.$set(_vm.textParam, "enableGlobalColor", $$v)},expression:"textParam.enableGlobalColor"}},[_vm._v("启用全局文本颜色")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.alignWithBlocked),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlocked", $$v)},expression:"textParam.alignWithBlocked"}},[_vm._v("文本域中的段落使用块对齐(诊断专用)")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"38px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动回填")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_c('ul',{staticClass:"control-list"},[_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._t("hoTextFieldModal")],2)],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)])}
227000
+ var TextDialogvue_type_template_id_52be23a2_staticRenderFns = []
226934
227001
 
226935
227002
 
226936
227003
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
@@ -226972,12 +227039,12 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226972
227039
 
226973
227040
  _this = _super.apply(this, arguments);
226974
227041
  _this.textParam = Object.assign({}, textParams);
226975
- _this.textActiveName = "first";
227042
+ _this.textActiveName = 'first';
226976
227043
  _this.isMinLenth = false;
226977
227044
  _this.isMaxLenth = false;
226978
227045
  _this.isMin = false;
226979
227046
  _this.isMax = false;
226980
- _this.animationClassNames = "control-modal-contents text-modal animation-in";
227047
+ _this.animationClassNames = 'control-modal-contents text-modal animation-in';
226981
227048
  _this.customPropertyValue = new Object();
226982
227049
  _this.endPath = '';
226983
227050
  return _this;
@@ -227013,15 +227080,15 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227013
227080
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
227014
227081
  this.endPath = hoEditorFactory.docTree.curDomRange.normalize().endPath;
227015
227082
 
227016
- if (this.controlStatus === "update") {
227083
+ if (this.controlStatus === 'update') {
227017
227084
  var updateNode = this.getTextNode();
227018
227085
  Object.keys(this.textParam).forEach(function (v) {
227019
- var key = v.replace(/_/g, "");
227086
+ var key = v.replace(/_/g, '');
227020
227087
 
227021
227088
  if (Object.prototype.hasOwnProperty.call(_this2.textParam, key)) {
227022
- if (key === "readOnlyStatus") {
227089
+ if (key === 'readOnlyStatus') {
227023
227090
  _this2.textParam.readOnlyStatus = Number(updateNode.readOnlyStatus);
227024
- } else if (key === "customProperty") {
227091
+ } else if (key === 'customProperty') {
227025
227092
  if ((0,type/* isObject */.Kn)(updateNode[key])) {
227026
227093
  _this2.textParam.customProperty = updateNode.customProperty;
227027
227094
  } else {
@@ -227033,7 +227100,7 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227033
227100
  property[key] = _this2.textParam.customProperty[key];
227034
227101
  });
227035
227102
  _this2.customPropertyValue = _objectSpread2({}, property);
227036
- } else if (key === "readType") {
227103
+ } else if (key === 'readType') {
227037
227104
  _this2.textParam.readType = updateNode.readType == 1 ? true : false;
227038
227105
  } else {
227039
227106
  _this2.textParam[key] = updateNode[key];
@@ -227049,8 +227116,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227049
227116
  this.textParam.inputFieldType = 0;
227050
227117
  }
227051
227118
  } else {
227052
- this.textParam.id = this.vueController.generateID("TF");
227053
- this.textParam.downListProperty.splitCharacter = ",";
227119
+ this.textParam.id = this.vueController.generateID('TF');
227120
+ this.textParam.downListProperty.splitCharacter = ',';
227054
227121
  }
227055
227122
  }
227056
227123
  }, {
@@ -227125,6 +227192,13 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227125
227192
  if (v.default) textArr.push(v.text);
227126
227193
  });
227127
227194
  this.textParam.text = textArr.join(',');
227195
+ var value = '';
227196
+ this.getListStyle().forEach(function (v, index) {
227197
+ if (v.default) {
227198
+ value += v.id + ',';
227199
+ }
227200
+ });
227201
+ this.textParam.keyValue = value;
227128
227202
  } else {
227129
227203
  this.textParam.downListProperty = new TextInputFieldNode/* DownListProperty */.OL();
227130
227204
  }
@@ -227132,18 +227206,18 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227132
227206
  this.textParam.bandDataSource = this.dataSource;
227133
227207
 
227134
227208
  if (this.textParam.inputFieldType === 0) {
227135
- this.textParam.name = this.textParam.name ? this.textParam.name : "请输入";
227209
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请输入';
227136
227210
  } else if (this.textParam.inputFieldType === 1) {
227137
- this.textParam.name = this.textParam.name ? this.textParam.name : "请选择";
227211
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请选择';
227138
227212
  }
227139
227213
 
227140
227214
  this.textParam.labelText = this.textParam.name;
227141
227215
  this.textParam.customProperty = _objectSpread2({}, this.customProperty);
227142
227216
  this.textParam.readType ? this.textParam.readType = 1 : this.textParam.readType = 0;
227143
227217
 
227144
- if (this.controlStatus === "add") {
227218
+ if (this.controlStatus === 'add') {
227145
227219
  this.vueController.insertTextInputField(this.controlStatus, this.textParam);
227146
- } else if (this.controlStatus === "update") {
227220
+ } else if (this.controlStatus === 'update') {
227147
227221
  this.vueController.updateTextInputField(this.textParam);
227148
227222
  }
227149
227223
 
@@ -227152,8 +227226,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227152
227226
  }, {
227153
227227
  key: "handleClose",
227154
227228
  value: function handleClose() {
227155
- this.animationClassNames = "control-modal-contents text-modal animation-out";
227156
- this.$emit("closed");
227229
+ this.animationClassNames = 'control-modal-contents text-modal animation-out';
227230
+ this.$emit('closed');
227157
227231
  this.endPath = '';
227158
227232
  }
227159
227233
  }]);
@@ -227169,28 +227243,28 @@ __decorate([Prop()], TextDialog.prototype, "controlStatus", void 0);
227169
227243
 
227170
227244
  __decorate([Prop()], TextDialog.prototype, "vueController", void 0);
227171
227245
 
227172
- __decorate([Inject("setIsDataSource")], TextDialog.prototype, "setIsDataSource", void 0);
227246
+ __decorate([Inject('setIsDataSource')], TextDialog.prototype, "setIsDataSource", void 0);
227173
227247
 
227174
- __decorate([Inject("getDataSource")], TextDialog.prototype, "getDataSource", void 0);
227248
+ __decorate([Inject('getDataSource')], TextDialog.prototype, "getDataSource", void 0);
227175
227249
 
227176
- __decorate([Inject("setIsCustoms")], TextDialog.prototype, "setIsCustoms", void 0);
227250
+ __decorate([Inject('setIsCustoms')], TextDialog.prototype, "setIsCustoms", void 0);
227177
227251
 
227178
- __decorate([Inject("getCustomsValue")], TextDialog.prototype, "getCustomsValue", void 0);
227252
+ __decorate([Inject('getCustomsValue')], TextDialog.prototype, "getCustomsValue", void 0);
227179
227253
 
227180
- __decorate([Inject("setListAllowMultiSelected")], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227254
+ __decorate([Inject('setListAllowMultiSelected')], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227181
227255
 
227182
- __decorate([Inject("setIsListStyle")], TextDialog.prototype, "setIsListStyle", void 0);
227256
+ __decorate([Inject('setIsListStyle')], TextDialog.prototype, "setIsListStyle", void 0);
227183
227257
 
227184
- __decorate([Inject("getListStyle")], TextDialog.prototype, "getListStyle", void 0);
227258
+ __decorate([Inject('getListStyle')], TextDialog.prototype, "getListStyle", void 0);
227185
227259
 
227186
- __decorate([Inject("getListArrSource")], TextDialog.prototype, "getListArrSource", void 0);
227260
+ __decorate([Inject('getListArrSource')], TextDialog.prototype, "getListArrSource", void 0);
227187
227261
 
227188
- __decorate([Inject("setListStyle")], TextDialog.prototype, "setListStyle", void 0);
227262
+ __decorate([Inject('setListStyle')], TextDialog.prototype, "setListStyle", void 0);
227189
227263
 
227190
- __decorate([Inject("getCustomProperty")], TextDialog.prototype, "getCustomProperty", void 0);
227264
+ __decorate([Inject('getCustomProperty')], TextDialog.prototype, "getCustomProperty", void 0);
227191
227265
 
227192
227266
  TextDialog = __decorate([vue_class_component_esm({
227193
- name: "TextDialog",
227267
+ name: 'TextDialog',
227194
227268
  components: {
227195
227269
  Tabs: Tab
227196
227270
  }
@@ -227214,8 +227288,8 @@ TextDialog = __decorate([vue_class_component_esm({
227214
227288
 
227215
227289
  var TextDialog_component = normalizeComponent(
227216
227290
  textDialog_TextDialogvue_type_script_lang_ts_,
227217
- TextDialogvue_type_template_id_75c07514_render,
227218
- TextDialogvue_type_template_id_75c07514_staticRenderFns,
227291
+ TextDialogvue_type_template_id_52be23a2_render,
227292
+ TextDialogvue_type_template_id_52be23a2_staticRenderFns,
227219
227293
  false,
227220
227294
  null,
227221
227295
  null,
@@ -233191,6 +233265,13 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233191
233265
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233192
233266
  hoEditorFactory && (hoEditorFactory.isEnabledGlobalColor = this.isEnabledGlobalColor);
233193
233267
  }
233268
+ }, {
233269
+ key: "isSameColorWithEmptyVlaueChange",
233270
+ value: function isSameColorWithEmptyVlaueChange() {
233271
+ var activeDocId = this.activeDocId ? this.activeDocId : this.hoEditorFactoryIdList[0];
233272
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233273
+ hoEditorFactory && (hoEditorFactory.isSameColorWithEmptyVlaue = this.isSameColorWithEmptyVlaue);
233274
+ }
233194
233275
  }, {
233195
233276
  key: "created",
233196
233277
  value: function created() {
@@ -233242,6 +233323,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233242
233323
  hoEditor.isUseForm = _this3.isUseForm;
233243
233324
  hoEditor.printBlack = _this3.printBlack;
233244
233325
  hoEditor.isEnabledGlobalColor = _this3.isEnabledGlobalColor;
233326
+ hoEditor.isSameColorWithEmptyVlaue = _this3.isSameColorWithEmptyVlaue;
233245
233327
  hoEditor.contentIsModify = _this3.contentIsModify;
233246
233328
  hoEditor.isCanEditHeadFoot = _this3.isCanEditHeadFoot;
233247
233329
  hoEditor.docTree.docProperty = _this3.defaultDocProperty;
@@ -233621,6 +233703,10 @@ __decorate([Prop({
233621
233703
  default: false
233622
233704
  })], HoDocs.prototype, "isEnabledGlobalColor", void 0);
233623
233705
 
233706
+ __decorate([Prop({
233707
+ default: false
233708
+ })], HoDocs.prototype, "isSameColorWithEmptyVlaue", void 0);
233709
+
233624
233710
  __decorate([Watch('contentIsModify', {
233625
233711
  deep: true
233626
233712
  })], HoDocs.prototype, "contentIsModifyChange", null);
@@ -233671,6 +233757,8 @@ __decorate([Watch('printBlack')], HoDocs.prototype, "printBlackChange", null);
233671
233757
 
233672
233758
  __decorate([Watch('isEnabledGlobalColor')], HoDocs.prototype, "isEnabledGlobalColorChange", null);
233673
233759
 
233760
+ __decorate([Watch('isSameColorWithEmptyVlaue')], HoDocs.prototype, "isSameColorWithEmptyVlaueChange", null);
233761
+
233674
233762
  HoDocs = __decorate([vue_class_component_esm({
233675
233763
  name: 'HoDocs',
233676
233764
  components: {