hoeditor-web 3.0.85 → 3.0.86

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.
@@ -47167,13 +47167,13 @@ var PageProperty = /*#__PURE__*/function () {
47167
47167
  /*
47168
47168
  * @Author: your name
47169
47169
  * @Date: 2020-12-24 16:01:16
47170
- * @LastEditTime: 2023-07-13 10:31:51
47170
+ * @LastEditTime: 2023-07-14 10:34:05
47171
47171
  * @LastEditors: liyanan 2441631434@qq.com
47172
47172
  * @Description: In User Settings Edit
47173
47173
  * @FilePath: \hoeditor-web\src\editor\dom\TableProperty.ts
47174
47174
  */
47175
47175
  var TableProperty = /*#__PURE__*/function () {
47176
- //编号
47176
+ //private _id!: string; //编号
47177
47177
  //自定义属性
47178
47178
  //用户可调整行高
47179
47179
  //用户可调整行宽
@@ -47190,7 +47190,6 @@ var TableProperty = /*#__PURE__*/function () {
47190
47190
  //是否启用表单弹框编辑
47191
47191
  function TableProperty(objectValues) {
47192
47192
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, TableProperty);
47193
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_id", void 0);
47194
47193
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_customProperties", []);
47195
47194
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_canAdjustRowHeight", false);
47196
47195
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_canAdjustRowWidth", false);
@@ -47224,15 +47223,13 @@ var TableProperty = /*#__PURE__*/function () {
47224
47223
  assignvalue(this, valuesObj);
47225
47224
  }
47226
47225
  }
47226
+ // get id(): string {
47227
+ // return this._id;
47228
+ // }
47229
+ // set id(value: string) {
47230
+ // this._id = value;
47231
+ // }
47227
47232
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(TableProperty, [{
47228
- key: "id",
47229
- get: function get() {
47230
- return this._id;
47231
- },
47232
- set: function set(value) {
47233
- this._id = value;
47234
- }
47235
- }, {
47236
47233
  key: "customProperties",
47237
47234
  get: function get() {
47238
47235
  return this._customProperties;
@@ -47926,9 +47923,9 @@ var DiagonalType;
47926
47923
  DiagonalType[DiagonalType["Right"] = 2] = "Right";
47927
47924
  })(DiagonalType || (DiagonalType = {}));
47928
47925
  var CellProperty = /*#__PURE__*/function () {
47929
- //编号
47926
+ //private _id!: string;//编号
47930
47927
  //private _lightCellBorders = false;//突出显示单元格边框
47931
- //标题
47928
+ //private _title = "";//标题
47932
47929
  //自定义属性
47933
47930
  //private _dataSource!: DataSource;//数据源
47934
47931
  //垂直对齐方式
@@ -47947,8 +47944,6 @@ var CellProperty = /*#__PURE__*/function () {
47947
47944
  function CellProperty(objectValues //, table: TableNode
47948
47945
  ) {
47949
47946
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, CellProperty);
47950
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_id", void 0);
47951
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_title", "");
47952
47947
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_customProperties", []);
47953
47948
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_align", VAlign.vatop);
47954
47949
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z)(this, "_cellInnerMargin", [0, 0, 0.1, 0.1]);
@@ -48004,29 +47999,25 @@ var CellProperty = /*#__PURE__*/function () {
48004
47999
  }
48005
48000
  }
48006
48001
  }
48002
+ // get id(): string {
48003
+ // return this._id;
48004
+ // }
48005
+ // set id(value: string) {
48006
+ // this._id = value;
48007
+ // }
48008
+ // get lightCellBorders(): boolean {
48009
+ // return this._lightCellBorders;
48010
+ // }
48011
+ // set lightCellBorders(value: boolean) {
48012
+ // this._lightCellBorders = value;
48013
+ // }
48014
+ // get title(): string {
48015
+ // return this._title;
48016
+ // }
48017
+ // set title(value: string) {
48018
+ // this._title = value;
48019
+ // }
48007
48020
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)(CellProperty, [{
48008
- key: "id",
48009
- get: function get() {
48010
- return this._id;
48011
- },
48012
- set: function set(value) {
48013
- this._id = value;
48014
- }
48015
- // get lightCellBorders(): boolean {
48016
- // return this._lightCellBorders;
48017
- // }
48018
- // set lightCellBorders(value: boolean) {
48019
- // this._lightCellBorders = value;
48020
- // }
48021
- }, {
48022
- key: "title",
48023
- get: function get() {
48024
- return this._title;
48025
- },
48026
- set: function set(value) {
48027
- this._title = value;
48028
- }
48029
- }, {
48030
48021
  key: "customProperties",
48031
48022
  get: function get() {
48032
48023
  return this._customProperties;
@@ -48198,7 +48189,7 @@ var CellProperty = /*#__PURE__*/function () {
48198
48189
  /*
48199
48190
  * @Author: your name
48200
48191
  * @Date: 2021-01-20 10:18:55
48201
- * @LastEditTime: 2023-05-23 11:29:52
48192
+ * @LastEditTime: 2023-07-18 16:01:49
48202
48193
  * @LastEditors: liyanan 2441631434@qq.com
48203
48194
  * @Description: In User Settings Edit
48204
48195
  * @FilePath: \hoeditor-web\src\editor\dom\domNode\Comment.ts
@@ -48213,6 +48204,7 @@ var Comment = /*#__PURE__*/function () {
48213
48204
 
48214
48205
  // 自定义属性 处理插入批注时带上的评分内容和插入批注后下级医生是否确认处理批注内容
48215
48206
 
48207
+ //是否已处理(标记)
48216
48208
  function Comment(hoEditorFactoryID, id, text, endNode, source) {
48217
48209
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, Comment);
48218
48210
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_id", '');
@@ -48225,6 +48217,7 @@ var Comment = /*#__PURE__*/function () {
48225
48217
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_hoEditorFactoryID", void 0);
48226
48218
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_customProperty", void 0);
48227
48219
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_permissionLevel", void 0);
48220
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(this, "_isProcessed", false);
48228
48221
  this._hoEditorFactoryID = hoEditorFactoryID;
48229
48222
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_5__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
48230
48223
  this._id = id;
@@ -48262,6 +48255,16 @@ var Comment = /*#__PURE__*/function () {
48262
48255
  this._customProperty = value;
48263
48256
  }
48264
48257
  }
48258
+ }, {
48259
+ key: "isProcessed",
48260
+ get: function get() {
48261
+ return this._isProcessed;
48262
+ },
48263
+ set: function set(value) {
48264
+ if (this._isProcessed !== value) {
48265
+ this._isProcessed = value;
48266
+ }
48267
+ }
48265
48268
  }, {
48266
48269
  key: "text",
48267
48270
  get: function get() {
@@ -51943,7 +51946,7 @@ var CellNode = /*#__PURE__*/function (_RectNode) {
51943
51946
  customProperty: Array(this.cellProperty.customProperties)
51944
51947
  };
51945
51948
  var cellProperty = {
51946
- title: this.cellProperty.title,
51949
+ //title: this.cellProperty.title,
51947
51950
  align: Number(this.cellProperty.align || 0),
51948
51951
  obliqueSplitLine: Number(this.cellProperty.obliqueSplitLine || 0),
51949
51952
  //ObliqueSplitLine[Number(this.cellProperty.obliqueSplitLine || 0)],
@@ -64031,7 +64034,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
64031
64034
  });
64032
64035
  }
64033
64036
  var defaultCellProp = {
64034
- title: "",
64037
+ //title: "",
64035
64038
  align: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .VAlign.vatop */ .TR.vatop,
64036
64039
  obliqueSplitLine: _TableProperty__WEBPACK_IMPORTED_MODULE_30__/* .ObliqueSplitLine.None */ .lH.None,
64037
64040
  printGridLines: true,
@@ -65240,7 +65243,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
65240
65243
  /*
65241
65244
  * @Author: your name
65242
65245
  * @Date: 2020-11-03 15:17:54
65243
- * @LastEditTime: 2023-07-14 09:49:07
65246
+ * @LastEditTime: 2023-07-14 16:52:06
65244
65247
  * @LastEditors: liyanan 2441631434@qq.com
65245
65248
  * @Description: In User Settings Edit
65246
65249
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -66499,9 +66502,10 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
66499
66502
  hoEditorFactory.docController.deleteRange(aRange, true, 'update');
66500
66503
  }
66501
66504
  if (!(text === '')) {
66502
- _context2.next = 22;
66505
+ _context2.next = 23;
66503
66506
  break;
66504
66507
  }
66508
+ this._childNodes.splice(1, this._childNodes.length - 2);
66505
66509
  markNode = new _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j(this._hoEditorFactoryID, this.rootNodes, this, _BaseNode__WEBPACK_IMPORTED_MODULE_42__/* .NodeType.ntText */ .Jq.ntText, this.labelText, hoEditorFactory.docTree.curStyleIndex, _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent);
66506
66510
  hoEditorFactory.undoService.begin();
66507
66511
  hoEditorFactory.undoService.add(new _editor_undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_35__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, markNode));
@@ -66513,11 +66517,11 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
66513
66517
  this._canModifyContent = oldValue;
66514
66518
  this.update(0);
66515
66519
  return _context2.abrupt("return");
66516
- case 22:
66520
+ case 23:
66517
66521
  hoEditorFactory.docController.insertPlainTextAfterPath(startPath, text, oldValue);
66518
66522
  //this._canModifyContent = await oldValue;
66519
66523
  //this.update(0);
66520
- case 23:
66524
+ case 24:
66521
66525
  case "end":
66522
66526
  return _context2.stop();
66523
66527
  }
@@ -67304,7 +67308,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
67304
67308
  if (!(eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) || eChildNode instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && eChildNode.MarkNodeType !== _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtEnd */ .q.mtEnd) {
67305
67309
  throw new Error('经检测,病历元素“' + temp.name + '”的模板格式有问题,无法正常加载,请联系工程师进行处理。');
67306
67310
  }
67307
- if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j) {
67311
+ if (temp.childNodes.length > 3 && temp.childNodes[1] instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNode */ .j && temp.childNodes[1].MarkNodeType == _MarkNode__WEBPACK_IMPORTED_MODULE_47__/* .MarkNodeType.mtContent */ .q.mtContent) {
67308
67312
  temp.childNodes.splice(1, 1);
67309
67313
  }
67310
67314
  //}
@@ -77485,10 +77489,10 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
77485
77489
  _this._dText = new createjs.Text(node.isTransToText ? "" : _this._text, textStyle.getStyleKey(), textStyle.color);
77486
77490
  if (controlStyle === "CheckBox") {
77487
77491
  _this._dBox = new createjs.Shape();
77488
- _this._dBox.graphics.clear().beginStroke("#000").drawRect(0, -_this.dHeight + 2, _this.dHeight - 2, _this.dHeight - 2);
77492
+ _this._dBox.graphics.clear().beginStroke("#000").drawRect(0, -_this.dHeight + 2, _this.dHeight - 2, _this.dHeight - 2).endStroke();
77489
77493
  } else {
77490
77494
  _this._dBox = new createjs.Shape();
77491
- _this._dBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke("#000").drawCircle((height - 2) / 2, -height / 2 + 2, (height - 2) / 2);
77495
+ _this._dBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke("#000").drawCircle((height - 2) / 2, -height / 2 + 2, (height - 2) / 2).endStroke();
77492
77496
  }
77493
77497
  var textWidth = _this._dText.getMeasuredWidth();
77494
77498
  var boxwidth = height;
@@ -77504,7 +77508,7 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
77504
77508
  underLineLen = _this._dAppendText.getMeasuredWidth();
77505
77509
  }
77506
77510
  _this._dUnderLine = new createjs.Shape();
77507
- _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - blockWidth, 1).lineTo(_this.dWidth - blockWidth + underLineLen, 1);
77511
+ _this._dUnderLine.graphics.beginStroke(textStyle.color).moveTo(_this.dWidth - blockWidth, 1).lineTo(_this.dWidth - blockWidth + underLineLen, 1).endStroke();
77508
77512
  _this.dWidth = _this.dWidth - blockWidth + underLineLen;
77509
77513
  }
77510
77514
  _this.dHeight = height;
@@ -77589,41 +77593,41 @@ var DrawRadioAndCheckBoxPrint = /*#__PURE__*/function (_DrawCombineNode) {
77589
77593
  if (this.controlStyle === "CheckBox") {
77590
77594
  //复选框
77591
77595
  if (this.isSelected) {
77592
- drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2);
77596
+ drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2).endStroke();
77593
77597
  this.addChild(drawBox);
77594
77598
  var line1 = new createjs.Shape();
77595
77599
  var line2 = new createjs.Shape();
77596
77600
  if (this.boxAlign) {
77597
- line1.graphics.beginStroke(this._textStyle.color).moveTo(3, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1, -2);
77601
+ line1.graphics.beginStroke(this._textStyle.color).moveTo(3, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1, -2).endStroke();
77598
77602
  this.addChild(line1);
77599
- line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1, -2).lineTo(this.dHeight - 3, -this.dHeight + 4);
77603
+ line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1, -2).lineTo(this.dHeight - 3, -this.dHeight + 4).endStroke();
77600
77604
  this.addChild(line2);
77601
77605
  } else {
77602
77606
  var textWidth = this._dText.getMeasuredWidth();
77603
- line1.graphics.beginStroke(this._textStyle.color).moveTo(3 + textWidth, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1 + textWidth, -2);
77607
+ line1.graphics.beginStroke(this._textStyle.color).moveTo(3 + textWidth, -this.dHeight / 2 + 2).lineTo(this.dHeight / 2 - 1 + textWidth, -2).endStroke();
77604
77608
  this.addChild(line1);
77605
- line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1 + textWidth, -2).lineTo(this.dHeight - 3 + textWidth, -this.dHeight + 4);
77609
+ line2.graphics.beginStroke(this._textStyle.color).moveTo(this.dHeight / 2 - 1 + textWidth, -2).lineTo(this.dHeight - 3 + textWidth, -this.dHeight + 4).endStroke();
77606
77610
  this.addChild(line2);
77607
77611
  }
77608
77612
  } else {
77609
- drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2);
77613
+ drawBox.graphics.clear().beginStroke(this._textStyle.color).drawRect(0, -this.dHeight + 2, this.dHeight - 2, this.dHeight - 2).endStroke();
77610
77614
  this.addChild(drawBox);
77611
77615
  }
77612
77616
  } else {
77613
77617
  //单选框
77614
77618
  if (this.isSelected) {
77615
- drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2);
77619
+ drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2).endStroke();
77616
77620
  this.addChild(drawBox);
77617
77621
  var dot = new createjs.Shape();
77618
77622
  if (this.boxAlign) {
77619
- dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + 1, -this.dHeight / 2 + 2, 1);
77623
+ dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + 1, -this.dHeight / 2 + 2, 1).endStroke();
77620
77624
  this.addChild(dot);
77621
77625
  } else {
77622
- dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + this._dText.getMeasuredWidth(), -this.dHeight / 2 + 2, 1);
77626
+ dot.graphics.clear().beginStroke(this._textStyle.color).beginFill(this._textStyle.color).drawCircle((this.dHeight - 2) / 2 + this._dText.getMeasuredWidth(), -this.dHeight / 2 + 2, 1).endStroke();
77623
77627
  this.addChild(dot);
77624
77628
  }
77625
77629
  } else {
77626
- drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2);
77630
+ drawBox.graphics.clear().setStrokeStyle(1, 'round', 'round').beginStroke(this._textStyle.color).drawCircle((this.dHeight - 2) / 2, -this.dHeight / 2 + 2, (this.dHeight - 2) / 2).endStroke();
77627
77631
  this.addChild(drawBox);
77628
77632
  }
77629
77633
  }
@@ -80431,6 +80435,9 @@ var DrawTextNode = /*#__PURE__*/function (_DrawCombineNode) {
80431
80435
  var createHistory = hoEditorFactory.docTree.userHistories[createID];
80432
80436
  var deleteHistory = hoEditorFactory.docTree.userHistories[deleteID];
80433
80437
  var comLevel = comment ? comment.permissionLevel : -1;
80438
+ if (comment && comment.isProcessed) {
80439
+ comLevel = -1;
80440
+ }
80434
80441
  var createLevel = createHistory ? createHistory.permissionLevel : -1;
80435
80442
  var deleteLevel = deleteHistory ? deleteHistory.permissionLevel : -1;
80436
80443
  var ilevel = Math.max(comLevel, createLevel, deleteLevel);
@@ -235848,8 +235855,8 @@ var es_string_match = __webpack_require__(4723);
235848
235855
  var es_number_constructor = __webpack_require__(9653);
235849
235856
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
235850
235857
  var es_json_stringify = __webpack_require__(38862);
235851
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=91a4fbf4&
235852
- var HoDocvue_type_template_id_91a4fbf4_render = function render() {
235858
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=197ca538&
235859
+ var HoDocvue_type_template_id_197ca538_render = function render() {
235853
235860
  var _vm = this,
235854
235861
  _c = _vm._self._c;
235855
235862
  return _c('div', {
@@ -235997,7 +236004,7 @@ var HoDocvue_type_template_id_91a4fbf4_render = function render() {
235997
236004
  }
235998
236005
  }, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
235999
236006
  };
236000
- var HoDocvue_type_template_id_91a4fbf4_staticRenderFns = [];
236007
+ var HoDocvue_type_template_id_197ca538_staticRenderFns = [];
236001
236008
 
236002
236009
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
236003
236010
  var es_array_filter = __webpack_require__(57327);
@@ -238956,7 +238963,7 @@ var ParagraphNode = __webpack_require__(67945);
238956
238963
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
238957
238964
  var MarkNode = __webpack_require__(57727);
238958
238965
  ;// CONCATENATED MODULE: ./src/components/version.ts
238959
- /* harmony default export */ var version = ('3.0.85');
238966
+ /* harmony default export */ var version = ('3.0.86');
238960
238967
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
238961
238968
  var PoperTipText = __webpack_require__(36081);
238962
238969
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -239484,6 +239491,16 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
239484
239491
  this.hoEditorProvider.setUpdateNodeValue(this.getCurrentSelectNode());
239485
239492
  return;
239486
239493
  }
239494
+ var text = node.text.replace(/ /g, '');
239495
+ if (text != node.parentNode.name && text !== '') {
239496
+ var _node$parentNode$down, _node$parentNode$down2;
239497
+ var list = (_node$parentNode$down = node.parentNode.downListProperty) !== null && _node$parentNode$down !== void 0 && _node$parentNode$down.listItems ? JSON.parse((_node$parentNode$down2 = node.parentNode.downListProperty) === null || _node$parentNode$down2 === void 0 ? void 0 : _node$parentNode$down2.listItems) : [];
239498
+ if (list.filter(function (v) {
239499
+ return v.text.split('<元素>')[0].includes(text);
239500
+ }).length === 0) {
239501
+ return;
239502
+ }
239503
+ }
239487
239504
  var _callback = function _callback(list) {
239488
239505
  _this5.computedPoperPosition(node, pageIndex);
239489
239506
  if (Array.isArray(list) && list.length > 0) {
@@ -239691,10 +239708,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
239691
239708
  });
239692
239709
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
239693
239710
  /* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
239694
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=91a4fbf4&prod&lang=scss&
239711
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=197ca538&prod&lang=scss&
239695
239712
  // extracted by mini-css-extract-plugin
239696
239713
 
239697
- ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=91a4fbf4&prod&lang=scss&
239714
+ ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=197ca538&prod&lang=scss&
239698
239715
 
239699
239716
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue
239700
239717
 
@@ -239707,8 +239724,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
239707
239724
 
239708
239725
  var HoDoc_component = (0,componentNormalizer/* default */.Z)(
239709
239726
  components_HoDocvue_type_script_lang_js_,
239710
- HoDocvue_type_template_id_91a4fbf4_render,
239711
- HoDocvue_type_template_id_91a4fbf4_staticRenderFns,
239727
+ HoDocvue_type_template_id_197ca538_render,
239728
+ HoDocvue_type_template_id_197ca538_staticRenderFns,
239712
239729
  false,
239713
239730
  null,
239714
239731
  null,
@@ -244166,6 +244183,11 @@ var StructureConvert = /*#__PURE__*/function () {
244166
244183
  v.backColor = defaultTextStyle.combineStyle.backColor;
244167
244184
  }
244168
244185
  }
244186
+ if (v && typeof v.color === 'string') {
244187
+ if (v.color.replace(/^\s+|\s+$/g, '') === '') {
244188
+ v.color = defaultTextStyle.combineStyle.color;
244189
+ }
244190
+ }
244169
244191
  });
244170
244192
  }
244171
244193
  if (fontStyles) {
@@ -246524,6 +246546,7 @@ var hoCreateHistory = {
246524
246546
 
246525
246547
 
246526
246548
 
246549
+
246527
246550
 
246528
246551
 
246529
246552
  var VueController = /*#__PURE__*/function () {
@@ -253057,7 +253080,7 @@ var VueController = /*#__PURE__*/function () {
253057
253080
  });
253058
253081
  }
253059
253082
  var defaultCellProp = {
253060
- title: '',
253083
+ //title: '',
253061
253084
  align: TableProperty/* VAlign.vatop */.TR.vatop,
253062
253085
  obliqueSplitLine: 0,
253063
253086
  printGridLines: true,
@@ -253174,7 +253197,7 @@ var VueController = /*#__PURE__*/function () {
253174
253197
  customProperty: Array(node.cellProperty.customProperties)
253175
253198
  };
253176
253199
  var cellProperty = {
253177
- title: node.cellProperty.title,
253200
+ //title: node.cellProperty.title,
253178
253201
  align: Number(node.cellProperty.align || 0),
253179
253202
  obliqueSplitLine: Number(node.cellProperty.obliqueSplitLine || 0),
253180
253203
  printGridLines: node.cellProperty.printGridLines,
@@ -253912,6 +253935,63 @@ var VueController = /*#__PURE__*/function () {
253912
253935
  }
253913
253936
  }
253914
253937
  }
253938
+ /**
253939
+ * 回填表格数据
253940
+ * @param index 第几个表格
253941
+ * @param data 回填的数据
253942
+ */
253943
+ }, {
253944
+ key: "backFillTableData",
253945
+ value: function backFillTableData(index, data) {
253946
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
253947
+ var table = null;
253948
+ var i = 0;
253949
+ for (var k = 0; k < hoEditorFactory.docTree.mainNodes.length; k++) {
253950
+ var node = hoEditorFactory.docTree.mainNodes[k];
253951
+ if (node instanceof TableNode/* TableNode */.Fh) {
253952
+ i++;
253953
+ if (i === index) {
253954
+ table = node;
253955
+ break;
253956
+ }
253957
+ }
253958
+ }
253959
+ if (table) {
253960
+ var rowCellNum = table.rows[0].length;
253961
+ if (table.childNodes.length - rowCellNum < data.length) {
253962
+ var needCellNum = data.length - (table.childNodes.length - rowCellNum);
253963
+ var needRows = Number((needCellNum / rowCellNum).toFixed());
253964
+ var remainder = needCellNum % rowCellNum;
253965
+ if (remainder > 0) {
253966
+ needRows++;
253967
+ }
253968
+ table.insertRows(table.rowCount, needRows, table.rowCount - 1);
253969
+ }
253970
+ for (var m = 0; m < data.length; m++) {
253971
+ var cell = table.childNodes[m + rowCellNum];
253972
+ if (cell) {
253973
+ var text = data[m] || ' ';
253974
+ cell.childNodes.splice(1, cell.childNodes.length);
253975
+ var textNode = new TextNode/* TextNode */.R(this._hoEditorFactoryID, table.rootNodes, cell, BaseNode/* NodeType.ntText */.Jq.ntText, text, cell.childNodes[0].styleIndex);
253976
+ cell.drawCell.needUpdate = true;
253977
+ cell.childNodes.push(textNode);
253978
+ }
253979
+ }
253980
+ table.update();
253981
+ }
253982
+ }
253983
+ }, {
253984
+ key: "clearCommentTextBackColor",
253985
+ value: function clearCommentTextBackColor(ids) {
253986
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
253987
+ for (var i = 0; i < ids.length; i++) {
253988
+ var id = ids[i];
253989
+ var comment = hoEditorFactory.drawTree.commentsMap.get(id);
253990
+ if (comment) {
253991
+ comment.isProcessed = true;
253992
+ }
253993
+ }
253994
+ }
253915
253995
  }]);
253916
253996
  return VueController;
253917
253997
  }();