hoeditor-web 2.0.64 → 2.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27283,7 +27283,7 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27283
27283
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(83964);
27284
27284
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46455);
27285
27285
  /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(42015);
27286
- /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(16296);
27286
+ /* harmony import */ var D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(16296);
27287
27287
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68309);
27288
27288
  /* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__);
27289
27289
  /* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(41539);
@@ -27296,16 +27296,25 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
27296
27296
  /* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__);
27297
27297
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(40561);
27298
27298
  /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_9__);
27299
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(38862);
27300
- /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_10__);
27301
- /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(19459);
27302
- /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27356);
27303
- /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(62938);
27304
- /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(35657);
27305
- /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(28831);
27306
- /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(71080);
27307
- /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(92178);
27308
- /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(99964);
27299
+ /* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27852);
27300
+ /* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_10__);
27301
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74916);
27302
+ /* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_11__);
27303
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23123);
27304
+ /* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_12__);
27305
+ /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(38862);
27306
+ /* harmony import */ var core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_13__);
27307
+ /* harmony import */ var _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(19459);
27308
+ /* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(27356);
27309
+ /* harmony import */ var _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(62938);
27310
+ /* harmony import */ var _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(35657);
27311
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(28831);
27312
+ /* harmony import */ var _DocTree__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(71080);
27313
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(92178);
27314
+ /* harmony import */ var _ControlNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(99964);
27315
+
27316
+
27317
+
27309
27318
 
27310
27319
 
27311
27320
 
@@ -27354,7 +27363,7 @@ var BandDataSource = /*#__PURE__*/function () {
27354
27363
  this.execState = ""; //执行状态
27355
27364
  }
27356
27365
 
27357
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(BandDataSource, [{
27366
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(BandDataSource, [{
27358
27367
  key: "DataSourceEnabled",
27359
27368
  get: function get() {
27360
27369
  return this.dataSourceEnabled;
@@ -27443,7 +27452,7 @@ var DownListNodeInstance = /*#__PURE__*/function () {
27443
27452
  this.allowMultiSelect = false;
27444
27453
  }
27445
27454
 
27446
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNodeInstance, [{
27455
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNodeInstance, [{
27447
27456
  key: "Id",
27448
27457
  get: function get() {
27449
27458
  return this.id;
@@ -27579,7 +27588,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27579
27588
  // this._id = valuesObj["id"];
27580
27589
  // }
27581
27590
 
27582
- _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27591
+ _this._type = _ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType.ctDownList */ .C.ctDownList; // if (valuesObj["name"] !== undefined) {
27583
27592
  // this._name = valuesObj["name"];
27584
27593
  // }
27585
27594
  // if (valuesObj["title"] !== undefined) {
@@ -27652,7 +27661,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27652
27661
  _this.setValuesObject(valuesObject);
27653
27662
 
27654
27663
  if (!_this.dataId) {
27655
- _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27664
+ _this.dataId = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("DownList");
27656
27665
  }
27657
27666
 
27658
27667
  if (_this._text === "") {
@@ -27673,7 +27682,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27673
27682
  return _this;
27674
27683
  }
27675
27684
 
27676
- (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z)(DownListNode, [{
27685
+ (0,D_project_go_emr_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Z)(DownListNode, [{
27677
27686
  key: "setValuesObject",
27678
27687
  value: function setValuesObject(valuesObject) {
27679
27688
  var valuesObj = eval("(" + valuesObject + ")");
@@ -27810,12 +27819,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27810
27819
  }, {
27811
27820
  key: "setDownListText",
27812
27821
  value: function setDownListText(text) {
27813
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27822
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27814
27823
  var sPath = hoEditorFactory.docTree.getNodeLastPath(this.previousLeaf());
27815
27824
  var ePath = hoEditorFactory.docTree.getNodeLastPath(this);
27816
- var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_14__/* .NodeChangeEvent */ .G(this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_16__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, sPath, ePath);
27825
+ var changeEvent = new _editor_events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_17__/* .NodeChangeEvent */ .G(this.hoEditorFactoryID, _DocTree__WEBPACK_IMPORTED_MODULE_19__/* .DocAction.daModifyStyle */ .gk.daModifyStyle, sPath, ePath);
27817
27826
  changeEvent.oldEndPath = ePath;
27818
- changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_13__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27827
+ changeEvent.oldDrawLines = new _editor_draw_SelectRange__WEBPACK_IMPORTED_MODULE_16__/* .SelectRange */ .E(this.hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
27819
27828
  this._text = text;
27820
27829
 
27821
27830
  if (this._text === "") {
@@ -27837,7 +27846,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27837
27846
  value: function node2DrawNodeRange(startIndex, endIndex) {
27838
27847
  // const cbStyle = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.styles[this._styleIndex === -1 ? 0 : this._styleIndex]
27839
27848
  // .combineStyle;
27840
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27849
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27841
27850
  var textStyle = hoEditorFactory.docTree.styles[this._styleIndex];
27842
27851
  var cbStyle;
27843
27852
 
@@ -27854,7 +27863,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27854
27863
  }
27855
27864
 
27856
27865
  var dHeight = cbStyle.getFontHeightByFontSize(cbStyle.size);
27857
- var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_11__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27866
+ var dNode = new _editor_draw_drawNode_DrawDownListNode__WEBPACK_IMPORTED_MODULE_14__/* .DrawDownListNode */ .I(this._hoEditorFactoryID, this._rootPath, this, dHeight, cbStyle);
27858
27867
 
27859
27868
  this._drawNodes.push(dNode);
27860
27869
  }
@@ -27882,10 +27891,10 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27882
27891
  return dline;
27883
27892
  }
27884
27893
 
27885
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27894
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27886
27895
  var isDisPlay = true;
27887
27896
 
27888
- if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_12__/* .PaintState.psPrint */ .Dh.psPrint) {
27897
+ if (hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus === _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_15__/* .PaintState.psPrint */ .Dh.psPrint) {
27889
27898
  isDisPlay = false;
27890
27899
  }
27891
27900
 
@@ -27903,7 +27912,50 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27903
27912
  var color = hoEditorFactory.option.getColorByLevel(120);
27904
27913
 
27905
27914
  if (this.keyValue !== "") {
27906
- color = hoEditorFactory.option.getColorByLevel(12);
27915
+ if (hoEditorFactory.isSameColorWithEmptyVlaue) {
27916
+ var isDefault = false;
27917
+
27918
+ if (this._allowMultiSelect) {
27919
+ var defaultValues = "";
27920
+
27921
+ for (var _i = 0; _i < this.downListContent.length; _i++) {
27922
+ var item1 = this.downListContent[_i];
27923
+
27924
+ if (item1.default) {
27925
+ defaultValues += item1.id + ",";
27926
+ }
27927
+ }
27928
+
27929
+ if (defaultValues.endsWith(',')) {
27930
+ defaultValues = defaultValues.substring(0, defaultValues.length - 1);
27931
+ }
27932
+
27933
+ var keyValue = this.keyValue;
27934
+
27935
+ if (keyValue.endsWith(',')) {
27936
+ keyValue = keyValue.substring(0, keyValue.length - 1);
27937
+ }
27938
+
27939
+ if (defaultValues === keyValue) {
27940
+ isDefault = true;
27941
+ }
27942
+ } else {
27943
+ for (var j = 0; j < this.downListContent.length; j++) {
27944
+ var item2 = this.downListContent[j];
27945
+
27946
+ if (item2.id === this.keyValue.split(',')[0] && item2.default) {
27947
+ isDefault = true;
27948
+ break;
27949
+ }
27950
+ }
27951
+ }
27952
+
27953
+ if (!isDefault) {
27954
+ color = hoEditorFactory.option.getColorByLevel(12);
27955
+ }
27956
+ } else {
27957
+ color = hoEditorFactory.option.getColorByLevel(12);
27958
+ }
27907
27959
  }
27908
27960
 
27909
27961
  var backColor = new createjs.Shape();
@@ -27915,9 +27967,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27915
27967
  if (this.keyValue === "") {
27916
27968
  drawNode.alpha = 0;
27917
27969
  } else {
27918
- for (var _i = drawNode.children.length - 1; _i >= 0; _i--) {
27919
- if (drawNode.children[_i].name === "backColor") {
27920
- drawNode.children.splice(_i, 1);
27970
+ for (var _i2 = drawNode.children.length - 1; _i2 >= 0; _i2--) {
27971
+ if (drawNode.children[_i2].name === "backColor") {
27972
+ drawNode.children.splice(_i2, 1);
27921
27973
  }
27922
27974
  }
27923
27975
  }
@@ -27935,9 +27987,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27935
27987
  var downLists = {
27936
27988
  item: this.downListContent
27937
27989
  };
27938
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27990
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
27939
27991
  var retObj = {
27940
- nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl],
27992
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq[_BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl],
27941
27993
  type: "ctDownList",
27942
27994
  //id: type === "copy" ? hoEditorFactory.gernerateCode.generateID("DL") : this.id,
27943
27995
  id: this.id,
@@ -27948,7 +28000,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27948
28000
  identifierFormat: this.identifierFormat,
27949
28001
  isSynchro: this.isSynchro,
27950
28002
  name: this.name,
27951
- text: this.text,
28003
+ text: this.keyValue == "" ? "" : this.text,
27952
28004
  keyValue: this.keyValue,
27953
28005
  title: this.title,
27954
28006
  styleIndex: this.styleIndex,
@@ -27985,7 +28037,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27985
28037
  this.transType(json);
27986
28038
 
27987
28039
  if (isPaste) {
27988
- var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
28040
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__/* .HOEditorFactorys.instance */ .b.instance().getFactory(hoEditorFactoryID);
27989
28041
 
27990
28042
  if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
27991
28043
  //json.id = hoEditorFactory.gernerateCode.generateID("DL");
@@ -27997,7 +28049,7 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
27997
28049
  json.isReadOnly = !json.isReadOnly ? false : json.isReadOnly;
27998
28050
  json.mutexSelect = !json.mutexSelect ? false : json.mutexSelect;
27999
28051
  json.allowMultiSelect = !json.allowMultiSelect ? false : json.allowMultiSelect;
28000
- json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlType */ .C[json.type]);
28052
+ json.type = parseInt(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlType */ .C[json.type]);
28001
28053
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
28002
28054
  json.readType = json.readType ? Number(json.readType) : -1;
28003
28055
  var downListContent = [];
@@ -28006,12 +28058,12 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
28006
28058
  downListContent.push(json.downLists.item[i]);
28007
28059
  }
28008
28060
 
28009
- return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_17__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28061
+ return new DownListNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType.ntControl */ .Jq.ntControl, JSON.stringify(json), downListContent, Number(json.styleIndex));
28010
28062
  }
28011
28063
  }]);
28012
28064
 
28013
28065
  return DownListNode;
28014
- }(_ControlNode__WEBPACK_IMPORTED_MODULE_18__/* .ControlNode */ .w);
28066
+ }(_ControlNode__WEBPACK_IMPORTED_MODULE_21__/* .ControlNode */ .w);
28015
28067
 
28016
28068
  /***/ }),
28017
28069
 
@@ -44455,7 +44507,10 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44455
44507
  var curArea = hoEditorFactory.drawPageTree.getMainRootArea(markDrawNode);
44456
44508
 
44457
44509
  if (curArea) {
44458
- if (curArea.topDline === _this2.topDline) {
44510
+ // if (curArea.topDline === this.topDline) {
44511
+ // comments.set(value.id, value);
44512
+ // }
44513
+ if (curArea.index === _this2.index) {
44459
44514
  comments.set(value.id, value);
44460
44515
  }
44461
44516
  }
@@ -44533,6 +44588,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44533
44588
  value: function repaint(comment, nPath, spX, spY) {
44534
44589
  var _this3 = this;
44535
44590
 
44591
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
44536
44592
  var comments = this.areaComments;
44537
44593
  var topComments = new Array();
44538
44594
  var bottomComments = new Array();
@@ -44540,7 +44596,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44540
44596
 
44541
44597
  var getStagePos = function getStagePos(comment) {
44542
44598
  var endDrawNode = comment.eNode.drawNodes[0];
44543
- var dline = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__/* .HOEditorFactorys.instance */ .b.instance().getFactory(_this3._hoEditorFactoryID).drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
44599
+ var dline = hoEditorFactory.drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
44544
44600
 
44545
44601
  var stagePos = dline.localToGlobal(endDrawNode.x, endDrawNode.y); // 末尾标记节点的stage坐标
44546
44602
 
@@ -44553,7 +44609,11 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
44553
44609
  var commentY = spY;
44554
44610
  comments.forEach(function (value) {
44555
44611
  if (value.id !== comment.id) {
44556
- tempArr.push(value);
44612
+ var area = hoEditorFactory.drawPageTree.getMainRootArea(value.eNode.drawNodes[0]);
44613
+
44614
+ if (area && area.index == _this3.index) {
44615
+ tempArr.push(value);
44616
+ }
44557
44617
  }
44558
44618
  });
44559
44619
  tempArr.forEach(function (value) {
@@ -52968,6 +53028,8 @@ var createSuper = __webpack_require__(46455);
52968
53028
  var es_regexp_exec = __webpack_require__(74916);
52969
53029
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
52970
53030
  var es_string_split = __webpack_require__(23123);
53031
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
53032
+ var es_string_ends_with = __webpack_require__(27852);
52971
53033
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.italics.js
52972
53034
  var es_string_italics = __webpack_require__(58734);
52973
53035
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.bold.js
@@ -53417,6 +53479,7 @@ var GestationNode = __webpack_require__(55817);
53417
53479
 
53418
53480
 
53419
53481
 
53482
+
53420
53483
  // import {DrawNode} from "./DrawSimpleNode"
53421
53484
 
53422
53485
 
@@ -53638,17 +53701,68 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
53638
53701
 
53639
53702
  if (hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPreview */.Dh.psPreview && hoEditorFactory.drawTree.paintStatus !== DrawTree/* PaintState.psPrint */.Dh.psPrint) {
53640
53703
  if (this.node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
53641
- if (this.node.parentNode.inputFieldType === 0) {
53704
+ var parentNode = this.node.parentNode;
53705
+
53706
+ if (parentNode.inputFieldType === 0) {
53642
53707
  if (backColor === hoEditorFactory.pageProperty.backColor) {
53643
53708
  backColor = hoEditorFactory.option.getColorByLevel(10);
53644
53709
  }
53645
53710
  } else {
53646
- if (this.node.parentNode.keyValue == "") {
53711
+ if (parentNode.keyValue == "") {
53647
53712
  backColor = hoEditorFactory.option.getColorByLevel(120);
53648
53713
  } else {
53649
- backColor = hoEditorFactory.option.getColorByLevel(12);
53714
+ var downListProperty = parentNode.downListProperty;
53715
+
53716
+ if (hoEditorFactory.isSameColorWithEmptyVlaue && downListProperty.listItems) {
53717
+ var isDefault = false;
53718
+ var listItems = JSON.parse(downListProperty.listItems);
53719
+
53720
+ if (downListProperty.allowMultiSelected) {
53721
+ var defaultValues = "";
53722
+
53723
+ for (var i = 0; i < listItems.length; i++) {
53724
+ var item1 = listItems[i];
53725
+
53726
+ if (item1.default) {
53727
+ defaultValues += item1.id + ",";
53728
+ }
53729
+ }
53730
+
53731
+ if (defaultValues.endsWith(',')) {
53732
+ defaultValues = defaultValues.substring(0, defaultValues.length - 1);
53733
+ }
53734
+
53735
+ var keyValue = parentNode.keyValue;
53736
+
53737
+ if (keyValue.endsWith(',')) {
53738
+ keyValue = keyValue.substring(0, keyValue.length - 1);
53739
+ }
53740
+
53741
+ if (defaultValues === keyValue) {
53742
+ isDefault = true;
53743
+ }
53744
+ } else {
53745
+ for (var j = 0; j < listItems.length; j++) {
53746
+ var item2 = listItems[j];
53747
+
53748
+ if (item2.id === parentNode.keyValue.split(',')[0] && item2.default) {
53749
+ isDefault = true;
53750
+ break;
53751
+ }
53752
+ }
53753
+ }
53754
+
53755
+ if (isDefault) {
53756
+ backColor = hoEditorFactory.option.getColorByLevel(120);
53757
+ } else {
53758
+ backColor = hoEditorFactory.option.getColorByLevel(12);
53759
+ }
53760
+ } else {
53761
+ backColor = hoEditorFactory.option.getColorByLevel(12);
53762
+ }
53650
53763
  }
53651
- }
53764
+ } //hoEditorFactory.isEnabledGlobalColor = true;
53765
+
53652
53766
 
53653
53767
  if (hoEditorFactory.isEnabledGlobalColor) {
53654
53768
  if (!(this.node instanceof MarkNode/* MarkNode */.j) && this.node.parentNode.inputFieldType === 0) {
@@ -53662,7 +53776,7 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
53662
53776
  }
53663
53777
  }
53664
53778
 
53665
- if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview) {
53779
+ if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReview */.Dh.psReview || hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psReadOnly */.Dh.psReadOnly && !hoEditorFactory.isHideComments) {
53666
53780
  var commentID = this._textNode.dCombineStyle.commentID;
53667
53781
  var createID = this._textNode.dCombineStyle.creatorIndex;
53668
53782
  var deleteID = this._textNode.dCombineStyle.deleterIndex;
@@ -63148,7 +63262,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63148
63262
  //if(nodes.length == 0) return;
63149
63263
 
63150
63264
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_17__/* .PaintState.psDesign */ .Dh.psDesign && !this._isForceDelete)) {
63151
- _context.next = 33;
63265
+ _context.next = 34;
63152
63266
  break;
63153
63267
  }
63154
63268
 
@@ -63156,7 +63270,7 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63156
63270
 
63157
63271
  case 13:
63158
63272
  if (!(n < nodes.length)) {
63159
- _context.next = 33;
63273
+ _context.next = 34;
63160
63274
  break;
63161
63275
  }
63162
63276
 
@@ -63172,13 +63286,17 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63172
63286
  return _context.abrupt("return", 0);
63173
63287
 
63174
63288
  case 18:
63289
+ 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) {
63290
+ hoEditorFactory.docTree.curDomRange.setSamePath(this._endPath);
63291
+ }
63292
+
63175
63293
  if (!(node instanceof _dom_treeNode_ControlNode__WEBPACK_IMPORTED_MODULE_30__/* .ControlNode */ .w || node instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re)) {
63176
- _context.next = 27;
63294
+ _context.next = 28;
63177
63295
  break;
63178
63296
  }
63179
63297
 
63180
63298
  if (node.isAllowDelete) {
63181
- _context.next = 27;
63299
+ _context.next = 28;
63182
63300
  break;
63183
63301
  }
63184
63302
 
@@ -63204,9 +63322,9 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63204
63322
 
63205
63323
  return _context.abrupt("return", 0);
63206
63324
 
63207
- case 27:
63325
+ case 28:
63208
63326
  if (!(node instanceof _dom_treeNode_SignNode__WEBPACK_IMPORTED_MODULE_35__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
63209
- _context.next = 30;
63327
+ _context.next = 31;
63210
63328
  break;
63211
63329
  }
63212
63330
 
@@ -63214,16 +63332,16 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63214
63332
 
63215
63333
  return _context.abrupt("return", 0);
63216
63334
 
63217
- case 30:
63335
+ case 31:
63218
63336
  n++;
63219
63337
  _context.next = 13;
63220
63338
  break;
63221
63339
 
63222
- case 33:
63340
+ case 34:
63223
63341
  pnode = (_currRange$npEnd$node = currRange.npEnd.node) === null || _currRange$npEnd$node === void 0 ? void 0 : _currRange$npEnd$node.parentNode;
63224
63342
 
63225
63343
  if (!(pnode && pnode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_22__/* .TextInputFieldNode */ .re && currRange.npEnd.path != hoEditorFactory.docTree.getNodeLastPath(pnode))) {
63226
- _context.next = 39;
63344
+ _context.next = 40;
63227
63345
  break;
63228
63346
  }
63229
63347
 
@@ -63236,24 +63354,24 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63236
63354
  });
63237
63355
 
63238
63356
  if (_res[0]) {
63239
- _context.next = 39;
63357
+ _context.next = 40;
63240
63358
  break;
63241
63359
  }
63242
63360
 
63243
63361
  return _context.abrupt("return");
63244
63362
 
63245
- case 39:
63363
+ case 40:
63246
63364
  changeEvent = new _events_NodeChangeEvent__WEBPACK_IMPORTED_MODULE_16__/* .NodeChangeEvent */ .G(this._hoEditorFactoryID, _editor_dom_DocTree__WEBPACK_IMPORTED_MODULE_14__/* .DocAction.daUndoInsert */ .gk.daUndoInsert, currRange.startPath, ""); //FIXME:deleteRange函数完成后调用这个
63247
63365
  // hoEditorFactory.docTree.deleteRange(arange.startPath, arange.endPath);
63248
63366
 
63249
63367
  if (currRange.npStart.node && currRange.npEnd.node) {
63250
- _context.next = 42;
63368
+ _context.next = 43;
63251
63369
  break;
63252
63370
  }
63253
63371
 
63254
63372
  throw _events_Exception__WEBPACK_IMPORTED_MODULE_24__/* .Exception.NodeNotFound */ .P.NodeNotFound();
63255
63373
 
63256
- case 42:
63374
+ case 43:
63257
63375
  // const [startPath, endPath] = DomRange.skipStartEndTablePath(
63258
63376
  // this._hoEditorFactory,
63259
63377
  // currRange.startPath,
@@ -63266,33 +63384,33 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
63266
63384
  res = this.deleteRange(currRange.endPath, currRange.startPath);
63267
63385
 
63268
63386
  if (!(res == 1)) {
63269
- _context.next = 54;
63387
+ _context.next = 55;
63270
63388
  break;
63271
63389
  }
63272
63390
 
63273
63391
  changeEvent.beforeChangePath = startPath;
63274
63392
  changeEvent.afterChangePath = this._tmp.start;
63275
- _context.next = 52;
63393
+ _context.next = 53;
63276
63394
  return hoEditorFactory.docTree.change(changeEvent);
63277
63395
 
63278
- case 52:
63396
+ case 53:
63279
63397
  cgEvent = new _events_SelectionChangeEvent__WEBPACK_IMPORTED_MODULE_20__/* .SelectionChangeEvent */ .r(hoEditorFactory.docTree.curDomRange, new _dom_DomRange__WEBPACK_IMPORTED_MODULE_18__/* .DomRange */ .a(this._hoEditorFactoryID, this._tmp.start, this._tmp.start));
63280
63398
  hoEditorFactory.docTree.selectChange(cgEvent);
63281
63399
 
63282
- case 54:
63400
+ case 55:
63283
63401
  hoEditorFactory.docTree.curDomRange.setSamePath(this._tmp.start);
63284
63402
  hoEditorFactory.drawTree.moveCaretToPath(this._tmp.start);
63285
63403
  aNode = currRange.npStart.node;
63286
63404
 
63287
63405
  if (!(aNode && pnode)) {
63288
- _context.next = 60;
63406
+ _context.next = 61;
63289
63407
  break;
63290
63408
  }
63291
63409
 
63292
- _context.next = 60;
63410
+ _context.next = 61;
63293
63411
  return this.ParentRepaint(pnode);
63294
63412
 
63295
- case 60:
63413
+ case 61:
63296
63414
  case "end":
63297
63415
  return _context.stop();
63298
63416
  }
@@ -99574,7 +99692,7 @@ if(src.indexOf("data:image/")===0){return atob(unescape(src).split("base64,").po
99574
99692
  var tmpImageData=jsPDFAPI.loadFile(src,true);if(tmpImageData!==undefined){return tmpImageData;}}if(element.nodeName==="CANVAS"){if(element.width===0||element.height===0){throw new Error("Given canvas must have data. Canvas width: "+element.width+", height: "+element.height);}var mimeType;switch(format){case"PNG":mimeType="image/png";break;case"WEBP":mimeType="image/webp";break;case"JPEG":case"JPG":default:mimeType="image/jpeg";break;}return atob(element.toDataURL(mimeType,1.0).split("base64,").pop());}};var checkImagesForAlias=function checkImagesForAlias(alias){var images=this.internal.collections[namespace+"images"];if(images){for(var e in images){if(alias===images[e].alias){return images[e];}}}};var determineWidthAndHeight=function determineWidthAndHeight(width,height,image){if(!width&&!height){width=-96;height=-96;}if(width<0){width=-1*image.width*72/width/this.internal.scaleFactor;}if(height<0){height=-1*image.height*72/height/this.internal.scaleFactor;}if(width===0){width=height*image.width/image.height;}if(height===0){height=width*image.height/image.width;}return[width,height];};var writeImageToPDF=function writeImageToPDF(x,y,width,height,image,rotation){var dims=determineWidthAndHeight.call(this,width,height,image),coord=this.internal.getCoordinateString,vcoord=this.internal.getVerticalCoordinateString;var images=getImages.call(this);width=dims[0];height=dims[1];images[image.index]=image;if(rotation){rotation*=Math.PI/180;var c=Math.cos(rotation);var s=Math.sin(rotation);//like in pdf Reference do it 4 digits instead of 2
99575
99693
  var f4=function f4(number){return number.toFixed(4);};var rotationTransformationMatrix=[f4(c),f4(s),f4(s*-1),f4(c),0,0,"cm"];}this.internal.write("q");//Save graphics state
99576
99694
  if(rotation){// 自定义修改 修复图片旋转后位置错误问题 水平方向增加自身宽度 减去的 18px 来源未知 垂直方向减去自身高度
99577
- x+=width-18;y-=height;this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99695
+ x+=Number(coord(width));y-=height;console.log(width,height,coord(width),coord(height));this.internal.write([1,"0","0",1,coord(x),vcoord(y+height),"cm"].join(" "));//Translate
99578
99696
  this.internal.write(rotationTransformationMatrix.join(" "));//Rotate
99579
99697
  this.internal.write([coord(width),"0","0",coord(height),"0","0","cm"].join(" "));//Scale
99580
99698
  }else{this.internal.write([coord(width),"0","0",coord(height),coord(x),vcoord(y+height),"cm"].join(" "));//Translate and Scale
@@ -199186,7 +199304,7 @@ var es_function_name = __webpack_require__(68309);
199186
199304
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
199187
199305
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(77203);
199188
199306
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
199189
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=83a638fc&
199307
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=77aa5c8d&
199190
199308
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson,"isUseTipText":_vm.isUseTipText,"textStyle":_vm.textStyle},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(_vm.notUseModal)?_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isTableProperty":_vm.isTableProperty,"isListStyle":_vm.isListStyle,"uploadImageParams":_vm.uploadImageParams},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true},{key:"hoParagraphModal",fn:function(){return [_vm._t("hoParagraphField")]},proxy:true},{key:"hoComment",fn:function(){return [_vm._t("hoTextComment")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e()],1):_vm._e()}
199191
199309
  var staticRenderFns = []
199192
199310
 
@@ -201970,11 +202088,11 @@ var HoToPage_component = normalizeComponent(
201970
202088
  /* harmony default export */ var backToPage = (HoToPage);
201971
202089
  // EXTERNAL MODULE: ./src/plugins/util.ts
201972
202090
  var util = __webpack_require__(17987);
201973
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=aa143c0a&scoped=true&
201974
- var PoperSelectvue_type_template_id_aa143c0a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
202091
+ ;// 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&
202092
+ var PoperSelectvue_type_template_id_0c390485_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
201975
202093
  var item = ref.item;
201976
202094
  return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,4143456003)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id + Math.random(),attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id + Math.random(),attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id + Math.random(),staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
201977
- var PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns = []
202095
+ var PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns = []
201978
202096
 
201979
202097
 
201980
202098
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
@@ -204676,12 +204794,12 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204676
204794
  // } else {
204677
204795
  v.id = String(v.id); // }
204678
204796
 
204679
- v.default = false;
204797
+ v.selected = false;
204680
204798
 
204681
204799
  if (selectedString.length > 0 && selectedString.filter(function (m) {
204682
204800
  return v.id == m;
204683
204801
  }).length === 1) {
204684
- v.default = true;
204802
+ v.selected = true;
204685
204803
 
204686
204804
  if (_this2.isAllowMultiSelect && _this2.poperSelectList.length >= 20) {
204687
204805
  _this2.selectedList[selectedString.indexOf(v.id)] = v;
@@ -204888,7 +205006,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204888
205006
  selectItemIndex = index;
204889
205007
  }
204890
205008
  });
204891
- item.default = false;
205009
+ item.selected = false;
204892
205010
  this.poperSelectList.splice(selectItemIndex, 1, item); // this.selectedList.splice(key, 1, item);
204893
205011
 
204894
205012
  this.currentList = this.currentList.filter(function (m) {
@@ -204914,16 +205032,16 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204914
205032
  if (value.length > 0) {
204915
205033
  this.poperSelectList.forEach(function (v) {
204916
205034
  if (value.includes(v.id)) {
204917
- v.default = true;
205035
+ v.selected = true;
204918
205036
  _this5.mutexType = String(v.type);
204919
205037
  } else {
204920
- v.default = false;
205038
+ v.selected = false;
204921
205039
  }
204922
205040
  });
204923
205041
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204924
205042
  } else if (value.length === 0) {
204925
205043
  this.poperSelectList.forEach(function (v) {
204926
- v.default = false;
205044
+ v.selected = false;
204927
205045
  _this5.mutexType = "";
204928
205046
  });
204929
205047
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
@@ -204942,21 +205060,21 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204942
205060
  var item = {};
204943
205061
  var selectItemIndex = 0;
204944
205062
  this.poperSelectList.forEach(function (v, index) {
204945
- v.default = false;
205063
+ v.selected = false;
204946
205064
 
204947
205065
  if (v.id == value) {
204948
205066
  item = v;
204949
205067
  selectItemIndex = index;
204950
205068
  }
204951
205069
  });
204952
- item.default = !item.default;
205070
+ item.selected = !item.selected;
204953
205071
  this.poperSelectList.splice(selectItemIndex, 1, item);
204954
205072
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204955
205073
  this.sureSelect();
204956
205074
  } else {
204957
205075
  this.poperSelectList.forEach(function (v) {
204958
205076
  if (value.includes(v.id)) {
204959
- v.default = true;
205077
+ v.selected = true;
204960
205078
 
204961
205079
  if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
204962
205080
  return m.id == v.id;
@@ -204964,7 +205082,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204964
205082
  _this6.selectedList.push(v);
204965
205083
  }
204966
205084
  } else {
204967
- v.default = false;
205085
+ v.selected = false;
204968
205086
  if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
204969
205087
  return m.id != v.id;
204970
205088
  });
@@ -204981,19 +205099,19 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
204981
205099
 
204982
205100
  if (!this.isAllowMultiSelect) {
204983
205101
  this.poperSelectList.forEach(function (v) {
204984
- v.default = false;
205102
+ v.selected = false;
204985
205103
  });
204986
- item.default = !item.default;
205104
+ item.selected = !item.selected;
204987
205105
  this.poperSelectList.splice(index, 1, item);
204988
205106
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
204989
205107
  this.sureSelect();
204990
205108
  } else {
204991
205109
  this.poperSelectList.forEach(function (v) {
204992
205110
  if (v.id == item.id) {
204993
- v.default = !v.default;
205111
+ v.selected = !v.selected;
204994
205112
  }
204995
205113
 
204996
- if (v.default) {
205114
+ if (v.selected) {
204997
205115
  if (_this7.isCanSearch && _this7.selectedList.filter(function (m) {
204998
205116
  return m.id == v.id;
204999
205117
  }).length == 0) {
@@ -205014,7 +205132,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205014
205132
  key: "cancelSelect",
205015
205133
  value: function cancelSelect() {
205016
205134
  this.poperSelectList.forEach(function (v) {
205017
- v.default = false;
205135
+ v.selected = false;
205018
205136
  });
205019
205137
  this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
205020
205138
  this.selectedList = [];
@@ -205038,7 +205156,7 @@ var PoperSelectModal = /*#__PURE__*/function (_Mixins) {
205038
205156
  var keyValue = "";
205039
205157
  var currentPoperNode = this.getCurrentPoperNode();
205040
205158
  var selected = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter(function (v) {
205041
- return v.default;
205159
+ return v.selected;
205042
205160
  });
205043
205161
  var len = selected.length;
205044
205162
 
@@ -205196,10 +205314,10 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205196
205314
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectModal);
205197
205315
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
205198
205316
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
205199
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205317
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205200
205318
  // extracted by mini-css-extract-plugin
205201
205319
 
205202
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=aa143c0a&lang=scss&scoped=true&
205320
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0c390485&lang=scss&scoped=true&
205203
205321
 
205204
205322
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
205205
205323
 
@@ -205212,11 +205330,11 @@ PoperSelectModal = __decorate([vue_class_component_esm({
205212
205330
 
205213
205331
  var PoperSelect_component = normalizeComponent(
205214
205332
  poperSelect_PoperSelectvue_type_script_lang_ts_,
205215
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_render,
205216
- PoperSelectvue_type_template_id_aa143c0a_scoped_true_staticRenderFns,
205333
+ PoperSelectvue_type_template_id_0c390485_scoped_true_render,
205334
+ PoperSelectvue_type_template_id_0c390485_scoped_true_staticRenderFns,
205217
205335
  false,
205218
205336
  null,
205219
- "aa143c0a",
205337
+ "0c390485",
205220
205338
  null
205221
205339
 
205222
205340
  )
@@ -207169,7 +207287,7 @@ var SignNode = __webpack_require__(78975);
207169
207287
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
207170
207288
  var ParagraphNode = __webpack_require__(13880);
207171
207289
  ;// CONCATENATED MODULE: ./src/components/version.ts
207172
- /* harmony default export */ var version = ('2.0.64');
207290
+ /* harmony default export */ var version = ('2.0.67');
207173
207291
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
207174
207292
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
207175
207293
  var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
@@ -209680,8 +209798,8 @@ var UserInfo = __webpack_require__(82084);
209680
209798
  /*
209681
209799
  * @Author: your name
209682
209800
  * @Date: 2021-06-21 17:47:51
209683
- * @LastEditTime: 2022-04-22 14:24:28
209684
- * @LastEditors: Please set LastEditors
209801
+ * @LastEditTime: 2022-07-08 23:50:19
209802
+ * @LastEditors: liyanan 2441631434@qq.com
209685
209803
  * @Description: In User Settings Edit
209686
209804
  * @FilePath: \hoeditor-web\src\editor\runTimeInfo\Option.ts
209687
209805
  */
@@ -209701,7 +209819,7 @@ var Option = /*#__PURE__*/function () {
209701
209819
 
209702
209820
  this._downListColor = "#D2ECB1"; //下拉列表元素颜色//#D2ECB1
209703
209821
 
209704
- this._downListColor2 = "#D2ECB1"; //下拉列表默认元素颜色
209822
+ this._downListColor2 = "#D2ACB1"; //下拉列表默认元素颜色
209705
209823
 
209706
209824
  this._hoEditorFactoryID = hoEditorFactoryID;
209707
209825
  }
@@ -220936,6 +221054,9 @@ var VueController = /*#__PURE__*/function () {
220936
221054
  value: function showElementsEditRecord(objects) {
220937
221055
  var comments = [];
220938
221056
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221057
+ hoEditorFactory.vueController.setPageProperty(JSON.stringify({
221058
+ commentWidthMm: 50
221059
+ }));
220939
221060
 
220940
221061
  for (var i = 0; i < objects.length; i++) {
220941
221062
  var object = objects[i];
@@ -220994,6 +221115,9 @@ var VueController = /*#__PURE__*/function () {
220994
221115
  key: "clearEditRecords",
220995
221116
  value: function clearEditRecords() {
220996
221117
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
221118
+ hoEditorFactory.vueController.setPageProperty(JSON.stringify({
221119
+ commentWidthMm: 0
221120
+ }));
220997
221121
  var drawMainDocs = hoEditorFactory.drawPageTree.drawMainDocs;
220998
221122
 
220999
221123
  for (var j = drawMainDocs.length - 1; j >= 0; j--) {
@@ -223443,8 +223567,16 @@ var PrintController = /*#__PURE__*/function () {
223443
223567
  hoEditorFactory.vueController.openXml(xml);
223444
223568
  } else {
223445
223569
  hoEditorFactory.drawTree.paintStatus = beforeStatus;
223446
- hoEditorFactory.printStatus.clearArea();
223447
- hoEditorFactory.printStatus.drawPrintRecord.clear();
223570
+ hoEditorFactory.drawTree.drawPages.forEach(function (dPage) {
223571
+ var _dPage$selectContaine;
223572
+
223573
+ if (dPage.drawSelectLevel && !dPage.drawSelectLevel.stage) {
223574
+ dPage.drawSelectLevel.bindStage();
223575
+ }
223576
+
223577
+ dPage.selectContainer.children = [];
223578
+ (_dPage$selectContaine = dPage.selectContainer.stage) === null || _dPage$selectContaine === void 0 ? void 0 : _dPage$selectContaine.update();
223579
+ });
223448
223580
  hoEditorFactory.vueController.rebuildAll(true);
223449
223581
  }
223450
223582
  }
@@ -224704,6 +224836,8 @@ var HOEditorFactory = /*#__PURE__*/function () {
224704
224836
 
224705
224837
  this._isEnabledGlobalColor = false; //是否启用全局颜色
224706
224838
 
224839
+ this._isSameColorWithEmptyVlaue = false; //下拉列表元素的默认项颜色是否和空元素的颜色保持一致
224840
+
224707
224841
  this._hoEditorFactoryId = id;
224708
224842
  }
224709
224843
  /**
@@ -225411,6 +225545,16 @@ var HOEditorFactory = /*#__PURE__*/function () {
225411
225545
  this._isEnabledGlobalColor = value;
225412
225546
  }
225413
225547
  }
225548
+ }, {
225549
+ key: "isSameColorWithEmptyVlaue",
225550
+ get: function get() {
225551
+ return this._isSameColorWithEmptyVlaue;
225552
+ },
225553
+ set: function set(value) {
225554
+ if (this._isSameColorWithEmptyVlaue !== value) {
225555
+ this._isSameColorWithEmptyVlaue = value;
225556
+ }
225557
+ }
225414
225558
  }, {
225415
225559
  key: "clear",
225416
225560
  value: function clear() {
@@ -225772,9 +225916,9 @@ var ControlModalvue_type_template_id_36fbe7eb_render = function () {var _vm=this
225772
225916
  var ControlModalvue_type_template_id_36fbe7eb_staticRenderFns = []
225773
225917
 
225774
225918
 
225775
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=3b6d4c1e&scoped=true&
225776
- var SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉框")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.allowMultiSelect},model:{value:(_vm.mutexSelect),callback:function ($$v) {_vm.mutexSelect=$$v},expression:"mutexSelect"}},[_vm._v("选项互斥")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.downListContent.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
225777
- var SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns = []
225919
+ ;// 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&
225920
+ 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)])}
225921
+ var SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns = []
225778
225922
 
225779
225923
 
225780
225924
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
@@ -225866,13 +226010,12 @@ var SelectDialog = /*#__PURE__*/function (_Vue) {
225866
226010
  this.downListContent = (0,toConsumableArray/* default */.Z)(this.downListContent.map(function (v, index) {
225867
226011
  if (v.id === undefined) {
225868
226012
  v.id = _this2.getKeyId(index);
225869
- }
226013
+ } // if(updateNode.keyValue.includes(v.id)) {
226014
+ // v.default = true;
226015
+ // } else {
226016
+ // v.default = false;
226017
+ // }
225870
226018
 
225871
- if (updateNode.keyValue.includes(v.id)) {
225872
- v.default = true;
225873
- } else {
225874
- v.default = false;
225875
- }
225876
226019
 
225877
226020
  return v;
225878
226021
  }));
@@ -226115,10 +226258,10 @@ SelectDialog = __decorate([vue_class_component_esm({
226115
226258
  /* harmony default export */ var SelectDialogvue_type_script_lang_ts_ = (SelectDialog);
226116
226259
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=script&lang=ts&
226117
226260
  /* harmony default export */ var selectDialog_SelectDialogvue_type_script_lang_ts_ = (SelectDialogvue_type_script_lang_ts_);
226118
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226261
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
226119
226262
  // extracted by mini-css-extract-plugin
226120
226263
 
226121
- ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=3b6d4c1e&lang=scss&scoped=true&
226264
+ ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue?vue&type=style&index=0&id=62e16cb5&lang=scss&scoped=true&
226122
226265
 
226123
226266
  ;// CONCATENATED MODULE: ./src/components/controls/selectDialog/SelectDialog.vue
226124
226267
 
@@ -226131,11 +226274,11 @@ SelectDialog = __decorate([vue_class_component_esm({
226131
226274
 
226132
226275
  var SelectDialog_component = normalizeComponent(
226133
226276
  selectDialog_SelectDialogvue_type_script_lang_ts_,
226134
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_render,
226135
- SelectDialogvue_type_template_id_3b6d4c1e_scoped_true_staticRenderFns,
226277
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_render,
226278
+ SelectDialogvue_type_template_id_62e16cb5_scoped_true_staticRenderFns,
226136
226279
  false,
226137
226280
  null,
226138
- "3b6d4c1e",
226281
+ "62e16cb5",
226139
226282
  null
226140
226283
 
226141
226284
  )
@@ -226928,9 +227071,9 @@ var QrCode_component = normalizeComponent(
226928
227071
  ;// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
226929
227072
 
226930
227073
  /* harmony default export */ var qrCode = (QrCode);
226931
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=75c07514&
226932
- var TextDialogvue_type_template_id_75c07514_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("文本域")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("直接输入文本数据")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("下拉列表方式")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.textParam.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.textParam.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "innerIdentifier", $$v)},expression:"textParam.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.textParam.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "dataMetaIdentifier", $$v)},expression:"textParam.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.textParam.identifierFormat),callback:function ($$v) {_vm.$set(_vm.textParam, "identifierFormat", $$v)},expression:"textParam.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.textParam.name),callback:function ($$v) {_vm.$set(_vm.textParam, "name", $$v)},expression:"textParam.name"}})],1),_c('li',{staticClass:"line"}),(_vm.textParam.inputFieldType === 0)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"mini","placeholder":"文本内容"},model:{value:(_vm.textParam.text),callback:function ($$v) {_vm.$set(_vm.textParam, "text", $$v)},expression:"textParam.text"}})],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("下拉列表")]),_c('el-input',{attrs:{"size":"mini","disabled":true,"placeholder":"下拉列表项"},model:{value:(_vm.textParam.downListProperty.source),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "source", $$v)},expression:"textParam.downListProperty.source"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.openListArrModel.apply(null, arguments)}}},[_vm._v("浏览")])],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否多选")]),_c('div',{staticStyle:{"width":"40%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")]),_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.mutexSelect),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "mutexSelect", $$v)},expression:"textParam.downListProperty.mutexSelect"}},[_vm._v("选项互斥")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"60px"}},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.textParam.downListProperty.splitCharacter),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "splitCharacter", $$v)},expression:"textParam.downListProperty.splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}}),_c('el-option',{attrs:{"label":"\\","value":"\\"}})],1)],1)]):_vm._e(),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","placeholder":"提示文本"},model:{value:(_vm.textParam.tipText),callback:function ($$v) {_vm.$set(_vm.textParam, "tipText", $$v)},expression:"textParam.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容只读状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"placeholder":"请选择","size":"mini"},model:{value:(_vm.textParam.readOnlyStatus),callback:function ($$v) {_vm.$set(_vm.textParam, "readOnlyStatus", $$v)},expression:"textParam.readOnlyStatus"}},[_c('el-option',{attrs:{"label":"继承父元素","value":2}}),_c('el-option',{attrs:{"label":"是","value":0}}),_c('el-option',{attrs:{"label":"否","value":1}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("固定宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.textParam.fixedWidth),callback:function ($$v) {_vm.$set(_vm.textParam, "fixedWidth", $$v)},expression:"textParam.fixedWidth"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("厘米")])],1),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.canModifyContent),callback:function ($$v) {_vm.$set(_vm.textParam, "canModifyContent", $$v)},expression:"textParam.canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.textParam, "isAllowDelete", $$v)},expression:"textParam.isAllowDelete"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.enableGlobalColor),callback:function ($$v) {_vm.$set(_vm.textParam, "enableGlobalColor", $$v)},expression:"textParam.enableGlobalColor"}},[_vm._v("启用全局文本颜色")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.alignWithBlocked),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlocked", $$v)},expression:"textParam.alignWithBlocked"}},[_vm._v("文本域中的段落使用块对齐(诊断专用)")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"38px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动回填")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)])]),_vm._t("hoTextFieldModal")],2)],1),_c('footer',{staticClass:"ho-modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
226933
- var TextDialogvue_type_template_id_75c07514_staticRenderFns = []
227074
+ ;// 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&
227075
+ 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)])}
227076
+ var TextDialogvue_type_template_id_52be23a2_staticRenderFns = []
226934
227077
 
226935
227078
 
226936
227079
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-84[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=ts&
@@ -226972,12 +227115,12 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
226972
227115
 
226973
227116
  _this = _super.apply(this, arguments);
226974
227117
  _this.textParam = Object.assign({}, textParams);
226975
- _this.textActiveName = "first";
227118
+ _this.textActiveName = 'first';
226976
227119
  _this.isMinLenth = false;
226977
227120
  _this.isMaxLenth = false;
226978
227121
  _this.isMin = false;
226979
227122
  _this.isMax = false;
226980
- _this.animationClassNames = "control-modal-contents text-modal animation-in";
227123
+ _this.animationClassNames = 'control-modal-contents text-modal animation-in';
226981
227124
  _this.customPropertyValue = new Object();
226982
227125
  _this.endPath = '';
226983
227126
  return _this;
@@ -227013,15 +227156,15 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227013
227156
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorFactoryId);
227014
227157
  this.endPath = hoEditorFactory.docTree.curDomRange.normalize().endPath;
227015
227158
 
227016
- if (this.controlStatus === "update") {
227159
+ if (this.controlStatus === 'update') {
227017
227160
  var updateNode = this.getTextNode();
227018
227161
  Object.keys(this.textParam).forEach(function (v) {
227019
- var key = v.replace(/_/g, "");
227162
+ var key = v.replace(/_/g, '');
227020
227163
 
227021
227164
  if (Object.prototype.hasOwnProperty.call(_this2.textParam, key)) {
227022
- if (key === "readOnlyStatus") {
227165
+ if (key === 'readOnlyStatus') {
227023
227166
  _this2.textParam.readOnlyStatus = Number(updateNode.readOnlyStatus);
227024
- } else if (key === "customProperty") {
227167
+ } else if (key === 'customProperty') {
227025
227168
  if ((0,type/* isObject */.Kn)(updateNode[key])) {
227026
227169
  _this2.textParam.customProperty = updateNode.customProperty;
227027
227170
  } else {
@@ -227033,7 +227176,7 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227033
227176
  property[key] = _this2.textParam.customProperty[key];
227034
227177
  });
227035
227178
  _this2.customPropertyValue = _objectSpread2({}, property);
227036
- } else if (key === "readType") {
227179
+ } else if (key === 'readType') {
227037
227180
  _this2.textParam.readType = updateNode.readType == 1 ? true : false;
227038
227181
  } else {
227039
227182
  _this2.textParam[key] = updateNode[key];
@@ -227049,8 +227192,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227049
227192
  this.textParam.inputFieldType = 0;
227050
227193
  }
227051
227194
  } else {
227052
- this.textParam.id = this.vueController.generateID("TF");
227053
- this.textParam.downListProperty.splitCharacter = ",";
227195
+ this.textParam.id = this.vueController.generateID('TF');
227196
+ this.textParam.downListProperty.splitCharacter = ',';
227054
227197
  }
227055
227198
  }
227056
227199
  }, {
@@ -227125,6 +227268,13 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227125
227268
  if (v.default) textArr.push(v.text);
227126
227269
  });
227127
227270
  this.textParam.text = textArr.join(',');
227271
+ var value = '';
227272
+ this.getListStyle().forEach(function (v, index) {
227273
+ if (v.default) {
227274
+ value += v.id + ',';
227275
+ }
227276
+ });
227277
+ this.textParam.keyValue = value;
227128
227278
  } else {
227129
227279
  this.textParam.downListProperty = new TextInputFieldNode/* DownListProperty */.OL();
227130
227280
  }
@@ -227132,18 +227282,18 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227132
227282
  this.textParam.bandDataSource = this.dataSource;
227133
227283
 
227134
227284
  if (this.textParam.inputFieldType === 0) {
227135
- this.textParam.name = this.textParam.name ? this.textParam.name : "请输入";
227285
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请输入';
227136
227286
  } else if (this.textParam.inputFieldType === 1) {
227137
- this.textParam.name = this.textParam.name ? this.textParam.name : "请选择";
227287
+ this.textParam.name = this.textParam.name ? this.textParam.name : '请选择';
227138
227288
  }
227139
227289
 
227140
227290
  this.textParam.labelText = this.textParam.name;
227141
227291
  this.textParam.customProperty = _objectSpread2({}, this.customProperty);
227142
227292
  this.textParam.readType ? this.textParam.readType = 1 : this.textParam.readType = 0;
227143
227293
 
227144
- if (this.controlStatus === "add") {
227294
+ if (this.controlStatus === 'add') {
227145
227295
  this.vueController.insertTextInputField(this.controlStatus, this.textParam);
227146
- } else if (this.controlStatus === "update") {
227296
+ } else if (this.controlStatus === 'update') {
227147
227297
  this.vueController.updateTextInputField(this.textParam);
227148
227298
  }
227149
227299
 
@@ -227152,8 +227302,8 @@ var TextDialog = /*#__PURE__*/function (_Vue) {
227152
227302
  }, {
227153
227303
  key: "handleClose",
227154
227304
  value: function handleClose() {
227155
- this.animationClassNames = "control-modal-contents text-modal animation-out";
227156
- this.$emit("closed");
227305
+ this.animationClassNames = 'control-modal-contents text-modal animation-out';
227306
+ this.$emit('closed');
227157
227307
  this.endPath = '';
227158
227308
  }
227159
227309
  }]);
@@ -227169,28 +227319,28 @@ __decorate([Prop()], TextDialog.prototype, "controlStatus", void 0);
227169
227319
 
227170
227320
  __decorate([Prop()], TextDialog.prototype, "vueController", void 0);
227171
227321
 
227172
- __decorate([Inject("setIsDataSource")], TextDialog.prototype, "setIsDataSource", void 0);
227322
+ __decorate([Inject('setIsDataSource')], TextDialog.prototype, "setIsDataSource", void 0);
227173
227323
 
227174
- __decorate([Inject("getDataSource")], TextDialog.prototype, "getDataSource", void 0);
227324
+ __decorate([Inject('getDataSource')], TextDialog.prototype, "getDataSource", void 0);
227175
227325
 
227176
- __decorate([Inject("setIsCustoms")], TextDialog.prototype, "setIsCustoms", void 0);
227326
+ __decorate([Inject('setIsCustoms')], TextDialog.prototype, "setIsCustoms", void 0);
227177
227327
 
227178
- __decorate([Inject("getCustomsValue")], TextDialog.prototype, "getCustomsValue", void 0);
227328
+ __decorate([Inject('getCustomsValue')], TextDialog.prototype, "getCustomsValue", void 0);
227179
227329
 
227180
- __decorate([Inject("setListAllowMultiSelected")], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227330
+ __decorate([Inject('setListAllowMultiSelected')], TextDialog.prototype, "setListAllowMultiSelected", void 0);
227181
227331
 
227182
- __decorate([Inject("setIsListStyle")], TextDialog.prototype, "setIsListStyle", void 0);
227332
+ __decorate([Inject('setIsListStyle')], TextDialog.prototype, "setIsListStyle", void 0);
227183
227333
 
227184
- __decorate([Inject("getListStyle")], TextDialog.prototype, "getListStyle", void 0);
227334
+ __decorate([Inject('getListStyle')], TextDialog.prototype, "getListStyle", void 0);
227185
227335
 
227186
- __decorate([Inject("getListArrSource")], TextDialog.prototype, "getListArrSource", void 0);
227336
+ __decorate([Inject('getListArrSource')], TextDialog.prototype, "getListArrSource", void 0);
227187
227337
 
227188
- __decorate([Inject("setListStyle")], TextDialog.prototype, "setListStyle", void 0);
227338
+ __decorate([Inject('setListStyle')], TextDialog.prototype, "setListStyle", void 0);
227189
227339
 
227190
- __decorate([Inject("getCustomProperty")], TextDialog.prototype, "getCustomProperty", void 0);
227340
+ __decorate([Inject('getCustomProperty')], TextDialog.prototype, "getCustomProperty", void 0);
227191
227341
 
227192
227342
  TextDialog = __decorate([vue_class_component_esm({
227193
- name: "TextDialog",
227343
+ name: 'TextDialog',
227194
227344
  components: {
227195
227345
  Tabs: Tab
227196
227346
  }
@@ -227214,8 +227364,8 @@ TextDialog = __decorate([vue_class_component_esm({
227214
227364
 
227215
227365
  var TextDialog_component = normalizeComponent(
227216
227366
  textDialog_TextDialogvue_type_script_lang_ts_,
227217
- TextDialogvue_type_template_id_75c07514_render,
227218
- TextDialogvue_type_template_id_75c07514_staticRenderFns,
227367
+ TextDialogvue_type_template_id_52be23a2_render,
227368
+ TextDialogvue_type_template_id_52be23a2_staticRenderFns,
227219
227369
  false,
227220
227370
  null,
227221
227371
  null,
@@ -233191,6 +233341,13 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233191
233341
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233192
233342
  hoEditorFactory && (hoEditorFactory.isEnabledGlobalColor = this.isEnabledGlobalColor);
233193
233343
  }
233344
+ }, {
233345
+ key: "isSameColorWithEmptyVlaueChange",
233346
+ value: function isSameColorWithEmptyVlaueChange() {
233347
+ var activeDocId = this.activeDocId ? this.activeDocId : this.hoEditorFactoryIdList[0];
233348
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().hoEditorFactoryMap.get(activeDocId);
233349
+ hoEditorFactory && (hoEditorFactory.isSameColorWithEmptyVlaue = this.isSameColorWithEmptyVlaue);
233350
+ }
233194
233351
  }, {
233195
233352
  key: "created",
233196
233353
  value: function created() {
@@ -233242,6 +233399,7 @@ var HoDocs = /*#__PURE__*/function (_Mixins) {
233242
233399
  hoEditor.isUseForm = _this3.isUseForm;
233243
233400
  hoEditor.printBlack = _this3.printBlack;
233244
233401
  hoEditor.isEnabledGlobalColor = _this3.isEnabledGlobalColor;
233402
+ hoEditor.isSameColorWithEmptyVlaue = _this3.isSameColorWithEmptyVlaue;
233245
233403
  hoEditor.contentIsModify = _this3.contentIsModify;
233246
233404
  hoEditor.isCanEditHeadFoot = _this3.isCanEditHeadFoot;
233247
233405
  hoEditor.docTree.docProperty = _this3.defaultDocProperty;
@@ -233621,6 +233779,10 @@ __decorate([Prop({
233621
233779
  default: false
233622
233780
  })], HoDocs.prototype, "isEnabledGlobalColor", void 0);
233623
233781
 
233782
+ __decorate([Prop({
233783
+ default: false
233784
+ })], HoDocs.prototype, "isSameColorWithEmptyVlaue", void 0);
233785
+
233624
233786
  __decorate([Watch('contentIsModify', {
233625
233787
  deep: true
233626
233788
  })], HoDocs.prototype, "contentIsModifyChange", null);
@@ -233671,6 +233833,8 @@ __decorate([Watch('printBlack')], HoDocs.prototype, "printBlackChange", null);
233671
233833
 
233672
233834
  __decorate([Watch('isEnabledGlobalColor')], HoDocs.prototype, "isEnabledGlobalColorChange", null);
233673
233835
 
233836
+ __decorate([Watch('isSameColorWithEmptyVlaue')], HoDocs.prototype, "isSameColorWithEmptyVlaueChange", null);
233837
+
233674
233838
  HoDocs = __decorate([vue_class_component_esm({
233675
233839
  name: 'HoDocs',
233676
233840
  components: {