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.
@@ -27273,7 +27273,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27273
27273
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99640);
27274
27274
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28214);
27275
27275
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35671);
27276
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(22342);
27276
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(22342);
27277
27277
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
27278
27278
  /* 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__);
27279
27279
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41539);
@@ -27286,16 +27286,25 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27286
27286
  /* 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__);
27287
27287
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40561);
27288
27288
  /* 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__);
27289
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(38862);
27290
- /* 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__);
27291
- /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(63756);
27292
- /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98199);
27293
- /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(1470);
27294
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(34534);
27295
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(41005);
27296
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(23375);
27297
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(50369);
27298
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(8395);
27289
+ /* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27852);
27290
+ /* 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__);
27291
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74916);
27292
+ /* 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__);
27293
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23123);
27294
+ /* 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__);
27295
+ /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38862);
27296
+ /* 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__);
27297
+ /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(63756);
27298
+ /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(98199);
27299
+ /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(1470);
27300
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(34534);
27301
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(41005);
27302
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(23375);
27303
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(50369);
27304
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(8395);
27305
+
27306
+
27307
+
27299
27308
 
27300
27309
 
27301
27310
 
@@ -27344,7 +27353,7 @@ var BandDataSource = /*#__PURE__*/function () {
27344
27353
  this.execState = ""; //执行状态
27345
27354
  }
27346
27355
 
27347
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(BandDataSource, [{
27356
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(BandDataSource, [{
27348
27357
  key: "DataSourceEnabled",
27349
27358
  get: function get() {
27350
27359
  return this.dataSourceEnabled;
@@ -27433,7 +27442,7 @@ var DownListNodeInstance = /*#__PURE__*/function () {
27433
27442
  this.allowMultiSelect = false;
27434
27443
  }
27435
27444
 
27436
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNodeInstance, [{
27445
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNodeInstance, [{
27437
27446
  key: "Id",
27438
27447
  get: function get() {
27439
27448
  return this.id;
@@ -27569,7 +27578,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27569
27578
  // this._id = valuesObj["id"];
27570
27579
  // }
27571
27580
 
27572
- _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27581
+ _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27573
27582
  // this._name = valuesObj["name"];
27574
27583
  // }
27575
27584
  // if (valuesObj["title"] !== undefined) {
@@ -27642,7 +27651,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27642
27651
  _this.setValuesObject(valuesObject);
27643
27652
 
27644
27653
  if (!_this.dataId) {
27645
- _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27654
+ _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27646
27655
  }
27647
27656
 
27648
27657
  if (_this._text === "") {
@@ -27663,7 +27672,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27663
27672
  return _this;
27664
27673
  }
27665
27674
 
27666
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNode, [{
27675
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNode, [{
27667
27676
  key: "setValuesObject",
27668
27677
  value: function setValuesObject(valuesObject) {
27669
27678
  var valuesObj = eval("(" + valuesObject + ")");
@@ -27800,12 +27809,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27800
27809
  }, {
27801
27810
  key: "setDownListText",
27802
27811
  value: function setDownListText(text) {
27803
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27812
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27804
27813
  var sPath = hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf());
27805
27814
  var ePath = hoEditorFactory.docTree.getNodeLastPath(this);
27806
- 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);
27815
+ 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);
27807
27816
  changeEvent.oldEndPath = ePath;
27808
- changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27817
+ changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27809
27818
  this._text = text;
27810
27819
 
27811
27820
  if (this._text === "") {
@@ -27827,7 +27836,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27827
27836
  value: function node2DrawNodeRange(startIndex, endIndex) {
27828
27837
  // const cbStyle = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.styles[this._styleIndex === -1 ? 0 : this._styleIndex]
27829
27838
  // .combineStyle;
27830
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27839
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27831
27840
  var textStyle = hoEditorFactory.docTree.styles[this._styleIndex];
27832
27841
  var cbStyle;
27833
27842
 
@@ -27844,7 +27853,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27844
27853
  }
27845
27854
 
27846
27855
  var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
27847
- var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27856
+ var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27848
27857
 
27849
27858
  this._drawNodes.push(dNode);
27850
27859
  }
@@ -27872,10 +27881,10 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27872
27881
  return dline;
27873
27882
  }
27874
27883
 
27875
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27884
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27876
27885
  var isDisPlay = true;
27877
27886
 
27878
- 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) {
27887
+ 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) {
27879
27888
  isDisPlay = false;
27880
27889
  }
27881
27890
 
@@ -27893,7 +27902,50 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27893
27902
  var color = hoEditorFactory.option.getColorByLevel(120);
27894
27903
 
27895
27904
  if (this.keyValue !== "") {
27896
- color = hoEditorFactory.option.getColorByLevel(12);
27905
+ if (hoEditorFactory.isSameColorWithEmptyVlaue) {
27906
+ var isDefault = false;
27907
+
27908
+ if (this._allowMultiSelect) {
27909
+ var defaultValues = "";
27910
+
27911
+ for (var _i = 0; _i < this.downListContent.length; _i++) {
27912
+ var item1 = this.downListContent[_i];
27913
+
27914
+ if (item1.default) {
27915
+ defaultValues += item1.id + ",";
27916
+ }
27917
+ }
27918
+
27919
+ if (defaultValues.endsWith(',')) {
27920
+ defaultValues = defaultValues.substring(0, defaultValues.length - 1);
27921
+ }
27922
+
27923
+ var keyValue = this.keyValue;
27924
+
27925
+ if (keyValue.endsWith(',')) {
27926
+ keyValue = keyValue.substring(0, keyValue.length - 1);
27927
+ }
27928
+
27929
+ if (defaultValues === keyValue) {
27930
+ isDefault = true;
27931
+ }
27932
+ } else {
27933
+ for (var j = 0; j < this.downListContent.length; j++) {
27934
+ var item2 = this.downListContent[j];
27935
+
27936
+ if (item2.id === this.keyValue.split(',')[0] && item2.default) {
27937
+ isDefault = true;
27938
+ break;
27939
+ }
27940
+ }
27941
+ }
27942
+
27943
+ if (!isDefault) {
27944
+ color = hoEditorFactory.option.getColorByLevel(12);
27945
+ }
27946
+ } else {
27947
+ color = hoEditorFactory.option.getColorByLevel(12);
27948
+ }
27897
27949
  }
27898
27950
 
27899
27951
  var backColor = new createjs.Shape();
@@ -27905,9 +27957,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27905
27957
  if (this.keyValue === "") {
27906
27958
  drawNode.alpha = 0;
27907
27959
  } else {
27908
- for (var _i = drawNode.children.length - 1; _i >= 0; _i--) {
27909
- if (drawNode.children[_i].name === "backColor") {
27910
- drawNode.children.splice(_i, 1);
27960
+ for (var _i2 = drawNode.children.length - 1; _i2 >= 0; _i2--) {
27961
+ if (drawNode.children[_i2].name === "backColor") {
27962
+ drawNode.children.splice(_i2, 1);
27911
27963
  }
27912
27964
  }
27913
27965
  }
@@ -27925,9 +27977,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27925
27977
  var downLists = {
27926
27978
  item: this.downListContent
27927
27979
  };
27928
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27980
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27929
27981
  var retObj = {
27930
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl],
27982
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
27931
27983
  type: "ctDownList",
27932
27984
  //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DL") : this.id,
27933
27985
  id: this.id,
@@ -27975,7 +28027,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27975
28027
  this.transType(json);
27976
28028
 
27977
28029
  if (isPaste) {
27978
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
28030
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
27979
28031
 
27980
28032
  if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
27981
28033
  //json.id = hoEditorFactory.gernerateCode.generateID("DL");
@@ -27987,7 +28039,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27987
28039
  json.isReadOnly = !json.isReadOnly ? false : json.isReadOnly;
27988
28040
  json.mutexSelect = !json.mutexSelect ? false : json.mutexSelect;
27989
28041
  json.allowMultiSelect = !json.allowMultiSelect ? false : json.allowMultiSelect;
27990
- json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType */ .C[json.type]);
28042
+ json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType */ .C[json.type]);
27991
28043
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
27992
28044
  json.readType = json.readType ? Number(json.readType) : -1;
27993
28045
  var downListContent = [];
@@ -27996,12 +28048,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27996
28048
  downListContent.push(json.downLists.item[i]);
27997
28049
  }
27998
28050
 
27999
- return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28051
+ return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28000
28052
  }
28001
28053
  }]);
28002
28054
 
28003
28055
  return DownListNode;
28004
- }(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlNode */ .w);
28056
+ }(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlNode */ .w);
28005
28057
 
28006
28058
  /***/ }),
28007
28059
 
@@ -63138,7 +63190,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63138
63190
  //if(nodes.length == 0) return;
63139
63191
 
63140
63192
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63141
- _context.next = 33;
63193
+ _context.next = 34;
63142
63194
  break;
63143
63195
  }
63144
63196
 
@@ -63146,7 +63198,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63146
63198
 
63147
63199
  case 13:
63148
63200
  if (!(n < nodes.length)) {
63149
- _context.next = 33;
63201
+ _context.next = 34;
63150
63202
  break;
63151
63203
  }
63152
63204
 
@@ -63162,13 +63214,17 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63162
63214
  return _context.abrupt("return", 0);
63163
63215
 
63164
63216
  case 18:
63217
+ 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) {
63218
+ hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
63219
+ }
63220
+
63165
63221
  if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
63166
- _context.next = 27;
63222
+ _context.next = 28;
63167
63223
  break;
63168
63224
  }
63169
63225
 
63170
63226
  if (node.isAllowDelete) {
63171
- _context.next = 27;
63227
+ _context.next = 28;
63172
63228
  break;
63173
63229
  }
63174
63230
 
@@ -63194,9 +63250,9 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63194
63250
 
63195
63251
  return _context.abrupt("return", 0);
63196
63252
 
63197
- case 27:
63253
+ case 28:
63198
63254
  if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63199
- _context.next = 30;
63255
+ _context.next = 31;
63200
63256
  break;
63201
63257
  }
63202
63258
 
@@ -63204,16 +63260,16 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63204
63260
 
63205
63261
  return _context.abrupt("return", 0);
63206
63262
 
63207
- case 30:
63263
+ case 31:
63208
63264
  n++;
63209
63265
  _context.next = 13;
63210
63266
  break;
63211
63267
 
63212
- case 33:
63268
+ case 34:
63213
63269
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
63214
63270
 
63215
63271
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63216
- _context.next = 39;
63272
+ _context.next = 40;
63217
63273
  break;
63218
63274
  }
63219
63275
 
@@ -63226,24 +63282,24 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63226
63282
  });
63227
63283
 
63228
63284
  if (_res[0]) {
63229
- _context.next = 39;
63285
+ _context.next = 40;
63230
63286
  break;
63231
63287
  }
63232
63288
 
63233
63289
  return _context.abrupt("return");
63234
63290
 
63235
- case 39:
63291
+ case 40:
63236
63292
  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函数完成后调用这个
63237
63293
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
63238
63294
 
63239
63295
  if (currRange.npStart.node && currRange.npEnd.node) {
63240
- _context.next = 42;
63296
+ _context.next = 43;
63241
63297
  break;
63242
63298
  }
63243
63299
 
63244
63300
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63245
63301
 
63246
- case 42:
63302
+ case 43:
63247
63303
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
63248
63304
  // this._hoEditorFactory,
63249
63305
  // currRange.startPath,
@@ -63256,33 +63312,33 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63256
63312
  res = this.deleteRange(currRange.endPath, currRange.startPath);
63257
63313
 
63258
63314
  if (!(res == 1)) {
63259
- _context.next = 54;
63315
+ _context.next = 55;
63260
63316
  break;
63261
63317
  }
63262
63318
 
63263
63319
  changeEvent.beforeChangePath = startPath;
63264
63320
  changeEvent.afterChangePath = this._tmp.start;
63265
- _context.next = 52;
63321
+ _context.next = 53;
63266
63322
  return hoEditorFactory.docTree.change(changeEvent);
63267
63323
 
63268
- case 52:
63324
+ case 53:
63269
63325
  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));
63270
63326
  hoEditorFactory.docTree.selectChange(cgEvent);
63271
63327
 
63272
- case 54:
63328
+ case 55:
63273
63329
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
63274
63330
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
63275
63331
  aNode = currRange.npStart.node;
63276
63332
 
63277
63333
  if (!(aNode && pnode)) {
63278
- _context.next = 60;
63334
+ _context.next = 61;
63279
63335
  break;
63280
63336
  }
63281
63337
 
63282
- _context.next = 60;
63338
+ _context.next = 61;
63283
63339
  return this.ParentRepaint(pnode);
63284
63340
 
63285
- case 60:
63341
+ case 61:
63286
63342
  case "end":
63287
63343
  return _context.stop();
63288
63344
  }
@@ -99564,7 +99620,7 @@ if(src.indexOf("data:image/")===0){return atob(unescape(src).split("base64,").po
99564
99620
  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
99565
99621
  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
99566
99622
  if(rotation){// 自定义修改 修复图片旋转后位置错误问题 水平方向增加自身宽度 减去的 18px 来源未知 垂直方向减去自身高度
99567
- x+=width-18;y-=height;this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99623
+ 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
99568
99624
  this.internal.write(rotationTransformationMatrix.join(" "));//Rotate
99569
99625
  this.internal.write([coord(width),"0","0",coord(height),"0","0","cm"].join(" "));//Scale
99570
99626
  }else{this.internal.write([coord(width),"0","0",coord(height),coord(x),vcoord(y+height),"cm"].join(" "));//Translate and Scale
@@ -199176,7 +199232,7 @@ var es_function_name = __webpack_require__(68309);
199176
199232
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
199177
199233
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(13797);
199178
199234
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
199179
- ;// 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&
199235
+ ;// 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&
199180
199236
  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()}
199181
199237
  var staticRenderFns = []
199182
199238
 
@@ -201960,11 +202016,11 @@ var HoToPage_component = normalizeComponent(
201960
202016
  /* harmony default export */ var backToPage = (HoToPage);
201961
202017
  // EXTERNAL MODULE: ./src/plugins/util.ts
201962
202018
  var util = __webpack_require__(33913);
201963
- ;// 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&
201964
- 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){
202019
+ ;// 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&
202020
+ 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){
201965
202021
  var item = ref.item;
201966
202022
  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()])}
201967
- var PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns = []
202023
+ var PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns = []
201968
202024
 
201969
202025
 
201970
202026
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
@@ -204666,12 +204722,12 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204666
204722
  // } else {
204667
204723
  v.id = String(v.id); // }
204668
204724
 
204669
- v.default = false;
204725
+ v.selected = false;
204670
204726
 
204671
204727
  if (selectedString.length > 0 && selectedString.filter(function (m) {
204672
204728
  return v.id == m;
204673
204729
  }).length === 1) {
204674
- v.default = true;
204730
+ v.selected = true;
204675
204731
 
204676
204732
  if (_this2.isAllowMultiSelect && _this2.poperSelectList.length >= 20) {
204677
204733
  _this2.selectedList[selectedString.indexOf(v.id)] = v;
@@ -204878,7 +204934,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204878
204934
  selectItemIndex = index;
204879
204935
  }
204880
204936
  });
204881
- item.default = false;
204937
+ item.selected = false;
204882
204938
  this.poperSelectList.splice(selectItemIndex, 1, item); // this.selectedList.splice(key, 1, item);
204883
204939
 
204884
204940
  this.currentList = this.currentList.filter(function (m) {
@@ -204904,16 +204960,16 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204904
204960
  if (value.length > 0) {
204905
204961
  this.poperSelectList.forEach(function (v) {
204906
204962
  if (value.includes(v.id)) {
204907
- v.default = true;
204963
+ v.selected = true;
204908
204964
  _this5.mutexType = String(v.type);
204909
204965
  } else {
204910
- v.default = false;
204966
+ v.selected = false;
204911
204967
  }
204912
204968
  });
204913
204969
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204914
204970
  } else if (value.length === 0) {
204915
204971
  this.poperSelectList.forEach(function (v) {
204916
- v.default = false;
204972
+ v.selected = false;
204917
204973
  _this5.mutexType = "";
204918
204974
  });
204919
204975
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
@@ -204932,21 +204988,21 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204932
204988
  var item = {};
204933
204989
  var selectItemIndex = 0;
204934
204990
  this.poperSelectList.forEach(function (v, index) {
204935
- v.default = false;
204991
+ v.selected = false;
204936
204992
 
204937
204993
  if (v.id == value) {
204938
204994
  item = v;
204939
204995
  selectItemIndex = index;
204940
204996
  }
204941
204997
  });
204942
- item.default = !item.default;
204998
+ item.selected = !item.selected;
204943
204999
  this.poperSelectList.splice(selectItemIndex, 1, item);
204944
205000
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204945
205001
  this.sureSelect();
204946
205002
  } else {
204947
205003
  this.poperSelectList.forEach(function (v) {
204948
205004
  if (value.includes(v.id)) {
204949
- v.default = true;
205005
+ v.selected = true;
204950
205006
 
204951
205007
  if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
204952
205008
  return m.id == v.id;
@@ -204954,7 +205010,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204954
205010
  _this6.selectedList.push(v);
204955
205011
  }
204956
205012
  } else {
204957
- v.default = false;
205013
+ v.selected = false;
204958
205014
  if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
204959
205015
  return m.id != v.id;
204960
205016
  });
@@ -204971,19 +205027,19 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204971
205027
 
204972
205028
  if (!this.isAllowMultiSelect) {
204973
205029
  this.poperSelectList.forEach(function (v) {
204974
- v.default = false;
205030
+ v.selected = false;
204975
205031
  });
204976
- item.default = !item.default;
205032
+ item.selected = !item.selected;
204977
205033
  this.poperSelectList.splice(index, 1, item);
204978
205034
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204979
205035
  this.sureSelect();
204980
205036
  } else {
204981
205037
  this.poperSelectList.forEach(function (v) {
204982
205038
  if (v.id == item.id) {
204983
- v.default = !v.default;
205039
+ v.selected = !v.selected;
204984
205040
  }
204985
205041
 
204986
- if (v.default) {
205042
+ if (v.selected) {
204987
205043
  if (_this7.isCanSearch && _this7.selectedList.filter(function (m) {
204988
205044
  return m.id == v.id;
204989
205045
  }).length == 0) {
@@ -205004,7 +205060,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205004
205060
  key: "cancelSelect",
205005
205061
  value: function cancelSelect() {
205006
205062
  this.poperSelectList.forEach(function (v) {
205007
- v.default = false;
205063
+ v.selected = false;
205008
205064
  });
205009
205065
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
205010
205066
  this.selectedList = [];
@@ -205028,7 +205084,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205028
205084
  var keyValue = "";
205029
205085
  var currentPoperNode = this.getCurrentPoperNode();
205030
205086
  var selected = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter(function (v) {
205031
- return v.default;
205087
+ return v.selected;
205032
205088
  });
205033
205089
  var len = selected.length;
205034
205090
 
@@ -205186,10 +205242,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205186
205242
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
205187
205243
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
205188
205244
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
205189
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205245
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205190
205246
  // extracted by mini-css-extract-plugin
205191
205247
 
205192
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205248
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205193
205249
 
205194
205250
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
205195
205251
 
@@ -205202,11 +205258,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205202
205258
 
205203
205259
  var PoperSelect_component = normalizeComponent(
205204
205260
  poperSelect_PoperSelectvue_type_script_lang_ts_,
205205
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_render,
205206
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns,
205261
+ PoperSelectvue_type_template_id_0c390485_scoped_true_render,
205262
+ PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns,
205207
205263
  false,
205208
205264
  null,
205209
- "aa143c0a",
205265
+ "0c390485",
205210
205266
  null
205211
205267
 
205212
205268
  )
@@ -207159,7 +207215,7 @@ var SignNode = __webpack_require__(34450);
207159
207215
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207160
207216
  var ParagraphNode = __webpack_require__(14208);
207161
207217
  ;// CONCATENATED MODULE: ./src/components/version.ts
207162
- /* harmony default export */ var version = ('2.0.64');
207218
+ /* harmony default export */ var version = ('2.0.65');
207163
207219
  ;// 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&
207164
207220
  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)}
207165
207221
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -224694,6 +224750,8 @@ var HOEditorFactory = /*#__PURE__*/function () {
224694
224750
 
224695
224751
  this._isEnabledGlobalColor = false; //是否启用全局颜色
224696
224752
 
224753
+ this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
224754
+
224697
224755
  this._hoEditorFactoryId = id;
224698
224756
  }
224699
224757
  /**
@@ -225401,6 +225459,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
225401
225459
  this._isEnabledGlobalColor = value;
225402
225460
  }
225403
225461
  }
225462
+ }, {
225463
+ key: "isSameColorWithEmptyVlaue",
225464
+ get: function get() {
225465
+ return this._isSameColorWithEmptyVlaue;
225466
+ },
225467
+ set: function set(value) {
225468
+ if (this._isSameColorWithEmptyVlaue !== value) {
225469
+ this._isSameColorWithEmptyVlaue = value;
225470
+ }
225471
+ }
225404
225472
  }, {
225405
225473
  key: "clear",
225406
225474
  value: function clear() {
@@ -225762,9 +225830,9 @@ var ControlModalvue_type_template_id_36fbe7eb_render = function () {var _vm=this
225762
225830
  var ControlModalvue_type_template_id_36fbe7eb_staticRenderFns = []
225763
225831
 
225764
225832
 
225765
- ;// 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&
225766
- 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)])}
225767
- var SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns = []
225833
+ ;// 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&
225834
+ 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)])}
225835
+ var SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns = []
225768
225836
 
225769
225837
 
225770
225838
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
@@ -225856,13 +225924,12 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
225856
225924
  this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v, index) {
225857
225925
  if (v.id === undefined) {
225858
225926
  v.id = _this2.getKeyId(index);
225859
- }
225927
+ } // if(updateNode.keyValue.includes(v.id)) {
225928
+ // v.default = true;
225929
+ // } else {
225930
+ // v.default = false;
225931
+ // }
225860
225932
 
225861
- if (updateNode.keyValue.includes(v.id)) {
225862
- v.default = true;
225863
- } else {
225864
- v.default = false;
225865
- }
225866
225933
 
225867
225934
  return v;
225868
225935
  }));
@@ -226105,10 +226172,10 @@ SelectDialog = __decorate([vue_class_component_esm({
226105
226172
  /* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
226106
226173
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
226107
226174
  /* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
226108
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226175
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
226109
226176
  // extracted by mini-css-extract-plugin
226110
226177
 
226111
- ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226178
+ ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
226112
226179
 
226113
226180
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
226114
226181
 
@@ -226121,11 +226188,11 @@ SelectDialog = __decorate([vue_class_component_esm({
226121
226188
 
226122
226189
  var SelectDialog_component = normalizeComponent(
226123
226190
  selectDialog_SelectDialogvue_type_script_lang_ts_,
226124
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_render,
226125
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns,
226191
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_render,
226192
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns,
226126
226193
  false,
226127
226194
  null,
226128
- "3b6d4c1e",
226195
+ "62e16cb5",
226129
226196
  null
226130
226197
 
226131
226198
  )
@@ -226918,9 +226985,9 @@ var QrCode_component = normalizeComponent(
226918
226985
  ;// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
226919
226986
 
226920
226987
  /* harmony default export */ var qrCode = (QrCode);
226921
- ;// 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&
226922
- 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)])}
226923
- var TextDialogvue_type_template_id_75c07514_staticRenderFns = []
226988
+ ;// 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&
226989
+ 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)])}
226990
+ var TextDialogvue_type_template_id_52be23a2_staticRenderFns = []
226924
226991
 
226925
226992
 
226926
226993
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-41[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
@@ -226962,12 +227029,12 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226962
227029
 
226963
227030
  _this = _super.apply(this, arguments);
226964
227031
  _this.textParam = Object.assign({}, textParams);
226965
- _this.textActiveName = "first";
227032
+ _this.textActiveName = 'first';
226966
227033
  _this.isMinLenth = false;
226967
227034
  _this.isMaxLenth = false;
226968
227035
  _this.isMin = false;
226969
227036
  _this.isMax = false;
226970
- _this.animationClassNames = "control-modal-contents text-modal animation-in";
227037
+ _this.animationClassNames = 'control-modal-contents text-modal animation-in';
226971
227038
  _this.customPropertyValue = new Object();
226972
227039
  _this.endPath = '';
226973
227040
  return _this;
@@ -227003,15 +227070,15 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227003
227070
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
227004
227071
  this.endPath = hoEditorFactory.docTree.curDomRange.normalize().endPath;
227005
227072
 
227006
- if (this.controlStatus === "update") {
227073
+ if (this.controlStatus === 'update') {
227007
227074
  var updateNode = this.getTextNode();
227008
227075
  Object.keys(this.textParam).forEach(function (v) {
227009
- var key = v.replace(/_/g, "");
227076
+ var key = v.replace(/_/g, '');
227010
227077
 
227011
227078
  if (Object.prototype.hasOwnProperty.call(_this2.textParam, key)) {
227012
- if (key === "readOnlyStatus") {
227079
+ if (key === 'readOnlyStatus') {
227013
227080
  _this2.textParam.readOnlyStatus = Number(updateNode.readOnlyStatus);
227014
- } else if (key === "customProperty") {
227081
+ } else if (key === 'customProperty') {
227015
227082
  if ((0,type/* isObject */.Kn)(updateNode[key])) {
227016
227083
  _this2.textParam.customProperty = updateNode.customProperty;
227017
227084
  } else {
@@ -227023,7 +227090,7 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227023
227090
  property[key] = _this2.textParam.customProperty[key];
227024
227091
  });
227025
227092
  _this2.customPropertyValue = _objectSpread2({}, property);
227026
- } else if (key === "readType") {
227093
+ } else if (key === 'readType') {
227027
227094
  _this2.textParam.readType = updateNode.readType == 1 ? true : false;
227028
227095
  } else {
227029
227096
  _this2.textParam[key] = updateNode[key];
@@ -227039,8 +227106,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227039
227106
  this.textParam.inputFieldType = 0;
227040
227107
  }
227041
227108
  } else {
227042
- this.textParam.id = this.vueController.generateID("TF");
227043
- this.textParam.downListProperty.splitCharacter = ",";
227109
+ this.textParam.id = this.vueController.generateID('TF');
227110
+ this.textParam.downListProperty.splitCharacter = ',';
227044
227111
  }
227045
227112
  }
227046
227113
  }, {
@@ -227115,6 +227182,13 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227115
227182
  if (v.default) textArr.push(v.text);
227116
227183
  });
227117
227184
  this.textParam.text = textArr.join(',');
227185
+ var value = '';
227186
+ this.getListStyle().forEach(function (v, index) {
227187
+ if (v.default) {
227188
+ value += v.id + ',';
227189
+ }
227190
+ });
227191
+ this.textParam.keyValue = value;
227118
227192
  } else {
227119
227193
  this.textParam.downListProperty = new TextInputFieldNode/* DownListProperty */.OL();
227120
227194
  }
@@ -227122,18 +227196,18 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227122
227196
  this.textParam.bandDataSource = this.dataSource;
227123
227197
 
227124
227198
  if (this.textParam.inputFieldType === 0) {
227125
- this.textParam.name = this.textParam.name ? this.textParam.name : "请输入";
227199
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请输入';
227126
227200
  } else if (this.textParam.inputFieldType === 1) {
227127
- this.textParam.name = this.textParam.name ? this.textParam.name : "请选择";
227201
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请选择';
227128
227202
  }
227129
227203
 
227130
227204
  this.textParam.labelText = this.textParam.name;
227131
227205
  this.textParam.customProperty = _objectSpread2({}, this.customProperty);
227132
227206
  this.textParam.readType ? this.textParam.readType = 1 : this.textParam.readType = 0;
227133
227207
 
227134
- if (this.controlStatus === "add") {
227208
+ if (this.controlStatus === 'add') {
227135
227209
  this.vueController.insertTextInputField(this.controlStatus, this.textParam);
227136
- } else if (this.controlStatus === "update") {
227210
+ } else if (this.controlStatus === 'update') {
227137
227211
  this.vueController.updateTextInputField(this.textParam);
227138
227212
  }
227139
227213
 
@@ -227142,8 +227216,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227142
227216
  }, {
227143
227217
  key: "handleClose",
227144
227218
  value: function handleClose() {
227145
- this.animationClassNames = "control-modal-contents text-modal animation-out";
227146
- this.$emit("closed");
227219
+ this.animationClassNames = 'control-modal-contents text-modal animation-out';
227220
+ this.$emit('closed');
227147
227221
  this.endPath = '';
227148
227222
  }
227149
227223
  }]);
@@ -227159,28 +227233,28 @@ __decorate([Prop()], TextDialog.prototype, "controlStatus", void 0);
227159
227233
 
227160
227234
  __decorate([Prop()], TextDialog.prototype, "vueController", void 0);
227161
227235
 
227162
- __decorate([Inject("setIsDataSource")], TextDialog.prototype, "setIsDataSource", void 0);
227236
+ __decorate([Inject('setIsDataSource')], TextDialog.prototype, "setIsDataSource", void 0);
227163
227237
 
227164
- __decorate([Inject("getDataSource")], TextDialog.prototype, "getDataSource", void 0);
227238
+ __decorate([Inject('getDataSource')], TextDialog.prototype, "getDataSource", void 0);
227165
227239
 
227166
- __decorate([Inject("setIsCustoms")], TextDialog.prototype, "setIsCustoms", void 0);
227240
+ __decorate([Inject('setIsCustoms')], TextDialog.prototype, "setIsCustoms", void 0);
227167
227241
 
227168
- __decorate([Inject("getCustomsValue")], TextDialog.prototype, "getCustomsValue", void 0);
227242
+ __decorate([Inject('getCustomsValue')], TextDialog.prototype, "getCustomsValue", void 0);
227169
227243
 
227170
- __decorate([Inject("setListAllowMultiSelected")], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227244
+ __decorate([Inject('setListAllowMultiSelected')], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227171
227245
 
227172
- __decorate([Inject("setIsListStyle")], TextDialog.prototype, "setIsListStyle", void 0);
227246
+ __decorate([Inject('setIsListStyle')], TextDialog.prototype, "setIsListStyle", void 0);
227173
227247
 
227174
- __decorate([Inject("getListStyle")], TextDialog.prototype, "getListStyle", void 0);
227248
+ __decorate([Inject('getListStyle')], TextDialog.prototype, "getListStyle", void 0);
227175
227249
 
227176
- __decorate([Inject("getListArrSource")], TextDialog.prototype, "getListArrSource", void 0);
227250
+ __decorate([Inject('getListArrSource')], TextDialog.prototype, "getListArrSource", void 0);
227177
227251
 
227178
- __decorate([Inject("setListStyle")], TextDialog.prototype, "setListStyle", void 0);
227252
+ __decorate([Inject('setListStyle')], TextDialog.prototype, "setListStyle", void 0);
227179
227253
 
227180
- __decorate([Inject("getCustomProperty")], TextDialog.prototype, "getCustomProperty", void 0);
227254
+ __decorate([Inject('getCustomProperty')], TextDialog.prototype, "getCustomProperty", void 0);
227181
227255
 
227182
227256
  TextDialog = __decorate([vue_class_component_esm({
227183
- name: "TextDialog",
227257
+ name: 'TextDialog',
227184
227258
  components: {
227185
227259
  Tabs: Tab
227186
227260
  }
@@ -227204,8 +227278,8 @@ TextDialog = __decorate([vue_class_component_esm({
227204
227278
 
227205
227279
  var TextDialog_component = normalizeComponent(
227206
227280
  textDialog_TextDialogvue_type_script_lang_ts_,
227207
- TextDialogvue_type_template_id_75c07514_render,
227208
- TextDialogvue_type_template_id_75c07514_staticRenderFns,
227281
+ TextDialogvue_type_template_id_52be23a2_render,
227282
+ TextDialogvue_type_template_id_52be23a2_staticRenderFns,
227209
227283
  false,
227210
227284
  null,
227211
227285
  null,
@@ -233181,6 +233255,13 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233181
233255
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233182
233256
  hoEditorFactory && (hoEditorFactory.isEnabledGlobalColor = this.isEnabledGlobalColor);
233183
233257
  }
233258
+ }, {
233259
+ key: "isSameColorWithEmptyVlaueChange",
233260
+ value: function isSameColorWithEmptyVlaueChange() {
233261
+ var activeDocId = this.activeDocId ? this.activeDocId : this.hoEditorFactoryIdList[0];
233262
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233263
+ hoEditorFactory && (hoEditorFactory.isSameColorWithEmptyVlaue = this.isSameColorWithEmptyVlaue);
233264
+ }
233184
233265
  }, {
233185
233266
  key: "created",
233186
233267
  value: function created() {
@@ -233232,6 +233313,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233232
233313
  hoEditor.isUseForm = _this3.isUseForm;
233233
233314
  hoEditor.printBlack = _this3.printBlack;
233234
233315
  hoEditor.isEnabledGlobalColor = _this3.isEnabledGlobalColor;
233316
+ hoEditor.isSameColorWithEmptyVlaue = _this3.isSameColorWithEmptyVlaue;
233235
233317
  hoEditor.contentIsModify = _this3.contentIsModify;
233236
233318
  hoEditor.isCanEditHeadFoot = _this3.isCanEditHeadFoot;
233237
233319
  hoEditor.docTree.docProperty = _this3.defaultDocProperty;
@@ -233611,6 +233693,10 @@ __decorate([Prop({
233611
233693
  default: false
233612
233694
  })], HoDocs.prototype, "isEnabledGlobalColor", void 0);
233613
233695
 
233696
+ __decorate([Prop({
233697
+ default: false
233698
+ })], HoDocs.prototype, "isSameColorWithEmptyVlaue", void 0);
233699
+
233614
233700
  __decorate([Watch('contentIsModify', {
233615
233701
  deep: true
233616
233702
  })], HoDocs.prototype, "contentIsModifyChange", null);
@@ -233661,6 +233747,8 @@ __decorate([Watch('printBlack')], HoDocs.prototype, "printBlackChange", null);
233661
233747
 
233662
233748
  __decorate([Watch('isEnabledGlobalColor')], HoDocs.prototype, "isEnabledGlobalColorChange", null);
233663
233749
 
233750
+ __decorate([Watch('isSameColorWithEmptyVlaue')], HoDocs.prototype, "isSameColorWithEmptyVlaueChange", null);
233751
+
233664
233752
  HoDocs = __decorate([vue_class_component_esm({
233665
233753
  name: 'HoDocs',
233666
233754
  components: {