hoeditor-web 3.1.117 → 3.1.118

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.
@@ -37150,7 +37150,7 @@ var SubDocManger = /*#__PURE__*/function () {
37150
37150
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(80543);
37151
37151
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81448);
37152
37152
  /* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94310);
37153
- /* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(40735);
37153
+ /* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(40735);
37154
37154
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(70280);
37155
37155
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(66298);
37156
37156
  /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(78255);
@@ -37267,6 +37267,8 @@ var SubDocManger = /*#__PURE__*/function () {
37267
37267
  /* harmony import */ var _utils_StructureNode__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(63602);
37268
37268
  /* harmony import */ var _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(51760);
37269
37269
  /* harmony import */ var _plugins_util__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(62783);
37270
+ /* harmony import */ var _treeNode_PopQScoreNode__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(12790);
37271
+
37270
37272
 
37271
37273
 
37272
37274
 
@@ -37513,7 +37515,7 @@ var DocController = /*#__PURE__*/function () {
37513
37515
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
37514
37516
  var domRange = hoEditorFactory.docTree.curDomRange;
37515
37517
  if (hoEditorFactory.notAllowEditInReview && hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psReview) {
37516
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('质控医生站的病历只可进行批注不可编辑修改');
37518
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('质控医生站的病历只可进行批注不可编辑修改');
37517
37519
  return;
37518
37520
  }
37519
37521
  // alert(text);
@@ -37550,7 +37552,7 @@ var DocController = /*#__PURE__*/function () {
37550
37552
  var isAllowEdit = colProperty.downListProperty.canModifyContent;
37551
37553
  //const cellText = cellNode.getCellText();
37552
37554
  if (!isAllowEdit) {
37553
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不允许用户直接编辑,请双击单元格进行选择.');
37555
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不允许用户直接编辑,请双击单元格进行选择.');
37554
37556
  return;
37555
37557
  }
37556
37558
  }
@@ -37558,7 +37560,7 @@ var DocController = /*#__PURE__*/function () {
37558
37560
  var _isAllowEdit = cellProperty.downListProperty.canModifyContent;
37559
37561
  //const cellText = cellNode.getCellText();
37560
37562
  if (!_isAllowEdit) {
37561
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不允许用户直接编辑,请双击单元格进行选择.');
37563
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不允许用户直接编辑,请双击单元格进行选择.');
37562
37564
  return;
37563
37565
  }
37564
37566
  }
@@ -37980,7 +37982,7 @@ var DocController = /*#__PURE__*/function () {
37980
37982
  domRange = domRange.normalize();
37981
37983
  } else if ((hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psReview || hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psTrace) && !(domRange.npStart.node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_91__/* .SignNode */ .N)) {
37982
37984
  if (domRange.npStart.node instanceof _treeNode_TextNode__WEBPACK_IMPORTED_MODULE_35__/* .TextNode */ .R && hoEditorFactory.docTree.styles[domRange.npStart.node.styleIndex].creatorIndex !== undefined && hoEditorFactory.docTree.styles[domRange.npStart.node.styleIndex].creatorIndex !== -1) {} else {
37983
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('审阅模式下,只能选中文档内容进行删除');
37985
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('审阅模式下,只能选中文档内容进行删除');
37984
37986
  return;
37985
37987
  }
37986
37988
  }
@@ -38205,7 +38207,7 @@ var DocController = /*#__PURE__*/function () {
38205
38207
  _context.next = 86;
38206
38208
  break;
38207
38209
  }
38208
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('审阅模式下,只能对文本内容进行删除');
38210
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('审阅模式下,只能对文本内容进行删除');
38209
38211
  return _context.abrupt("return");
38210
38212
  case 86:
38211
38213
  if (!((hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psReview || hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psTrace) && node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_91__/* .SignNode */ .N)) {
@@ -38217,21 +38219,21 @@ var DocController = /*#__PURE__*/function () {
38217
38219
  _context.next = 91;
38218
38220
  break;
38219
38221
  }
38220
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不是本人签名,不允许删除!');
38222
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不是本人签名,不允许删除!');
38221
38223
  return _context.abrupt("return");
38222
38224
  case 91:
38223
38225
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psDesign && node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_91__/* .SignNode */ .N)) {
38224
38226
  _context.next = 94;
38225
38227
  break;
38226
38228
  }
38227
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不允许使用删除键删除签名,请右键删除元素');
38229
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不允许使用删除键删除签名,请右键删除元素');
38228
38230
  return _context.abrupt("return");
38229
38231
  case 94:
38230
38232
  if (!(hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psDesign && node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_91__/* .SignNode */ .N && node.isTemplate && node.number === 0)) {
38231
38233
  _context.next = 97;
38232
38234
  break;
38233
38235
  }
38234
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('该签名元素不允许删除!');
38236
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('该签名元素不允许删除!');
38235
38237
  return _context.abrupt("return");
38236
38238
  case 97:
38237
38239
  if (!(node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_91__/* .SignNode */ .N)) {
@@ -38666,6 +38668,44 @@ var DocController = /*#__PURE__*/function () {
38666
38668
  _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_33__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, menstrualHistoryNode));
38667
38669
  _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.commit();
38668
38670
  }
38671
+ /**
38672
+ * 插入 Pop-Q评分
38673
+ * @param operType
38674
+ * @param curDomRange
38675
+ * @param expressionStyle
38676
+ * @param menseDays
38677
+ * @param cycleDays
38678
+ * @param menarcheAge
38679
+ * @param menoPauseAge
38680
+ */
38681
+ }, {
38682
+ key: "insertPopQScore",
38683
+ value: function insertPopQScore(operType, curDomRange, popQScoreRequest) {
38684
+ var domRange = curDomRange.normalize();
38685
+ var startPath = domRange.endPath;
38686
+ if (operType === 'update') {
38687
+ var np = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.findNodePositionByPath(startPath);
38688
+ if (np) {
38689
+ var node = np.node;
38690
+ if (node instanceof _treeNode_MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_52__/* .MedicalExpressionNode */ .H) {
38691
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.begin();
38692
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_44__/* .NodeDeleteUndoUnit */ .w(this._hoEditorFactoryID, node, startPath));
38693
+ //HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).undoService.commit();
38694
+ //startPath = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.startPath;
38695
+ startPath = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getNodeLastPath(node.previousLeaf());
38696
+ }
38697
+ }
38698
+ }
38699
+ var parentNode = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).docTree.getParentNode(startPath);
38700
+ var popQScoreNode = new _treeNode_PopQScoreNode__WEBPACK_IMPORTED_MODULE_100__/* .PopQScoreNode */ .B(this._hoEditorFactoryID, domRange.npStart.roots, parentNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_32__/* .NodeType */ .Jq.nPopQScore, popQScoreRequest.Aa, popQScoreRequest.Ba, popQScoreRequest.C, popQScoreRequest.gh, popQScoreRequest.pb, popQScoreRequest.TVL, popQScoreRequest.Ap, popQScoreRequest.Bp, popQScoreRequest.D);
38701
+ debugger;
38702
+ //插入该表达式节点
38703
+ if (operType === 'add') {
38704
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.begin();
38705
+ }
38706
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_33__/* .NodeInsertUndoUnit */ .R(this._hoEditorFactoryID, startPath, popQScoreNode));
38707
+ _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID).undoService.commit();
38708
+ }
38669
38709
  /**
38670
38710
  * 瞳孔图
38671
38711
  * @param 参数1
@@ -39118,11 +39158,11 @@ var DocController = /*#__PURE__*/function () {
39118
39158
  var np = hoEditorFactory.docTree.findNodePositionByPath(arange.startPath);
39119
39159
  var parentNode = hoEditorFactory.docTree.getParentNode(arange.startPath);
39120
39160
  if (parentNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_53__/* .TextInputFieldNode */ .re) {
39121
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不允许在文本域内插入表格');
39161
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不允许在文本域内插入表格');
39122
39162
  return;
39123
39163
  }
39124
39164
  if (parentNode instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_64__/* .CellNode */ .D) {
39125
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不允许在表格内再插入表格');
39165
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不允许在表格内再插入表格');
39126
39166
  return;
39127
39167
  }
39128
39168
  // const nextParaNode = new ParagraphNode(
@@ -39186,7 +39226,7 @@ var DocController = /*#__PURE__*/function () {
39186
39226
  c = _cell$table$getCellIn2[1];
39187
39227
  if (hoEditorFactory.drawTree.paintStatus == _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psEdit && r > 0) {
39188
39228
  if (cell.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && cell.table.rowInfos[r - 1].rowProperty.repeatAsTitleAtPageTop) {
39189
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不允许在表头行中间插入行');
39229
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不允许在表头行中间插入行');
39190
39230
  return;
39191
39231
  }
39192
39232
  }
@@ -39328,7 +39368,7 @@ var DocController = /*#__PURE__*/function () {
39328
39368
  // );
39329
39369
  // }
39330
39370
  } else {
39331
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('表格已设置不允许新增行');
39371
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('表格已设置不允许新增行');
39332
39372
  return;
39333
39373
  }
39334
39374
  }
@@ -39349,7 +39389,7 @@ var DocController = /*#__PURE__*/function () {
39349
39389
  c = _cell$table$getCellIn4[1];
39350
39390
  if (hoEditorFactory.drawTree.paintStatus == _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_98__/* .PaintState */ .Dh.psEdit) {
39351
39391
  if (cell.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && cell.table.rowInfos[r + 1].rowProperty.repeatAsTitleAtPageTop) {
39352
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不允许在表头行中间插入行');
39392
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不允许在表头行中间插入行');
39353
39393
  return;
39354
39394
  }
39355
39395
  }
@@ -39450,7 +39490,7 @@ var DocController = /*#__PURE__*/function () {
39450
39490
  // );
39451
39491
  // }
39452
39492
  } else {
39453
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('表格已设置不允许新增行');
39493
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('表格已设置不允许新增行');
39454
39494
  return;
39455
39495
  }
39456
39496
  }
@@ -39511,7 +39551,7 @@ var DocController = /*#__PURE__*/function () {
39511
39551
  // );
39512
39552
  // }
39513
39553
  } else {
39514
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('表格已设置不允许新增列');
39554
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('表格已设置不允许新增列');
39515
39555
  return;
39516
39556
  }
39517
39557
  }
@@ -39569,7 +39609,7 @@ var DocController = /*#__PURE__*/function () {
39569
39609
  // );
39570
39610
  // }
39571
39611
  } else {
39572
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('表格已设置不允许新增列');
39612
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('表格已设置不允许新增列');
39573
39613
  return;
39574
39614
  }
39575
39615
  }
@@ -39586,7 +39626,7 @@ var DocController = /*#__PURE__*/function () {
39586
39626
  r2 = _TableNode$getSelectT2[3],
39587
39627
  c2 = _TableNode$getSelectT2[4];
39588
39628
  if (!table) {
39589
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('选中区域在表格内,且为同一个表格才能删除');
39629
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('选中区域在表格内,且为同一个表格才能删除');
39590
39630
  return;
39591
39631
  }
39592
39632
  // const eParentNode = (aRange.npEnd.node as BaseNode).parentNode;
@@ -39598,7 +39638,7 @@ var DocController = /*#__PURE__*/function () {
39598
39638
  for (var i = r1; i <= r2; i++) {
39599
39639
  var rowInfo = table.rowInfos[i];
39600
39640
  if (rowInfo.rowProperty.repeatAsTitleAtPageTop) {
39601
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('表头行不允许删除');
39641
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('表头行不允许删除');
39602
39642
  return;
39603
39643
  }
39604
39644
  }
@@ -39657,7 +39697,7 @@ var DocController = /*#__PURE__*/function () {
39657
39697
  r2 = _TableNode$getSelectT4[3],
39658
39698
  c2 = _TableNode$getSelectT4[4];
39659
39699
  if (!table) {
39660
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('选中区域在表格内,且为同一个表格才能删除');
39700
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('选中区域在表格内,且为同一个表格才能删除');
39661
39701
  return;
39662
39702
  }
39663
39703
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_84__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
@@ -39710,7 +39750,7 @@ var DocController = /*#__PURE__*/function () {
39710
39750
  var cell1 = hoEditorFactory.docTree.getParentRectNode(np1.node);
39711
39751
  var cell2 = hoEditorFactory.docTree.getParentRectNode(np2.node);
39712
39752
  if (!(cell1 instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_64__/* .CellNode */ .D) || !(cell2 instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_64__/* .CellNode */ .D) || cell1.table !== cell2.table || cell1 === cell2) {
39713
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('选中区域在表格内,且为同一个表格的不同单元格才能合并');
39753
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('选中区域在表格内,且为同一个表格的不同单元格才能合并');
39714
39754
  return;
39715
39755
  }
39716
39756
  var _cell1$table$getCellI = cell1.table.getCellInfos(cell1),
@@ -39762,7 +39802,7 @@ var DocController = /*#__PURE__*/function () {
39762
39802
  var cell1 = hoEditorFactory.docTree.getParentRectNode(np1.node);
39763
39803
  var cell2 = hoEditorFactory.docTree.getParentRectNode(np2.node);
39764
39804
  if (!(cell1 instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_64__/* .CellNode */ .D) || !(cell2 instanceof _treeNode_CellNode__WEBPACK_IMPORTED_MODULE_64__/* .CellNode */ .D) || cell1.table !== cell2.table) {
39765
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('选中区域在表格内,且为同一个表格的单元格才能取消合并');
39805
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('选中区域在表格内,且为同一个表格的单元格才能取消合并');
39766
39806
  return;
39767
39807
  }
39768
39808
  var endPath = cell1.table.getNodePath();
@@ -40070,7 +40110,7 @@ var DocController = /*#__PURE__*/function () {
40070
40110
  }
40071
40111
  var object = hoEditorFactory.docTree.findNodes(sNode, findContent, direction, matchCase);
40072
40112
  if (object.obj2.size === 0) {
40073
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('未能找到指定内容。');
40113
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('未能找到指定内容。');
40074
40114
  } else {
40075
40115
  var nodesMap = object.obj1;
40076
40116
  var indexsMap = object.obj2;
@@ -40131,7 +40171,7 @@ var DocController = /*#__PURE__*/function () {
40131
40171
  sNode = startNode.rootNodes[0];
40132
40172
  var object = hoEditorFactory.docTree.findNodes(sNode, findContent, direction, matchCase);
40133
40173
  if (object.obj2.size === 0) {
40134
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('未能找到指定内容。');
40174
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('未能找到指定内容。');
40135
40175
  } else {
40136
40176
  var nodesMap = object.obj1;
40137
40177
  var indexsMap = object.obj2;
@@ -40183,7 +40223,7 @@ var DocController = /*#__PURE__*/function () {
40183
40223
  } finally {
40184
40224
  _iterator.f();
40185
40225
  }
40186
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.info('成功替换了' + indexsMap.size.toString() + '处文档内容。');
40226
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.info('成功替换了' + indexsMap.size.toString() + '处文档内容。');
40187
40227
  var toPath = hoEditorFactory.docTree.curDomRange.endPath;
40188
40228
  hoEditorFactory.drawTree.moveCaretToPath(toPath);
40189
40229
  }
@@ -40565,7 +40605,7 @@ var DocController = /*#__PURE__*/function () {
40565
40605
  } else {
40566
40606
  var _comment = hoEditorFactory.drawTree.curOnSelectedComment;
40567
40607
  if (_comment.userID != hoEditorFactory.userInfo.id) {
40568
- ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_100__/* ["default"] */ .Z.warn('不允许删除其他用户创建的批注!');
40608
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_101__/* ["default"] */ .Z.warn('不允许删除其他用户创建的批注!');
40569
40609
  return;
40570
40610
  }
40571
40611
  del(_comment);
@@ -49152,6 +49192,7 @@ var NodeType;
49152
49192
  NodeType[NodeType["ntGestation"] = 16] = "ntGestation";
49153
49193
  NodeType[NodeType["ntRareChar"] = 17] = "ntRareChar";
49154
49194
  NodeType[NodeType["ntJumpButton"] = 18] = "ntJumpButton";
49195
+ NodeType[NodeType["nPopQScore"] = 19] = "nPopQScore";
49155
49196
  })(NodeType || (NodeType = {}));
49156
49197
  var ChildIndexRange = /*#__PURE__*/function () {
49157
49198
  function ChildIndexRange(start, end) {
@@ -56623,6 +56664,299 @@ var PermanentTeethMapNode = /*#__PURE__*/function (_MedicalExpressionNod) {
56623
56664
 
56624
56665
  /***/ }),
56625
56666
 
56667
+ /***/ 12790:
56668
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
56669
+
56670
+ "use strict";
56671
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
56672
+ /* harmony export */ B: function() { return /* binding */ PopQScoreNode; }
56673
+ /* harmony export */ });
56674
+ /* unused harmony export PopQScoreRequest */
56675
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70280);
56676
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66298);
56677
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75808);
56678
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11651);
56679
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19593);
56680
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78255);
56681
+ /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(40561);
56682
+ /* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6__);
56683
+ /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(57658);
56684
+ /* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_7__);
56685
+ /* harmony import */ var _MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(80177);
56686
+ /* harmony import */ var _BaseNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62358);
56687
+ /* harmony import */ var _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(82260);
56688
+ /* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74089);
56689
+
56690
+
56691
+
56692
+
56693
+
56694
+
56695
+
56696
+
56697
+ /*
56698
+ * @Author: zfq
56699
+ * @Description: Pop-Q评分
56700
+ * @FilePath: \hoeditor-web\src\editor\dom\treeNode\PopQScoreNode.ts
56701
+ */
56702
+
56703
+
56704
+
56705
+
56706
+ var PopQScoreNode = /*#__PURE__*/function (_MedicalExpressionNod) {
56707
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(PopQScoreNode, _MedicalExpressionNod);
56708
+ var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(PopQScoreNode);
56709
+ function PopQScoreNode(hoEditorFactoryID, rootNodes, pNode, nodeType, aa, ba, c, gh, pb, tvl, ap, bp, d) {
56710
+ var _this;
56711
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, PopQScoreNode);
56712
+ _this = _super.call(this, hoEditorFactoryID, rootNodes, pNode, nodeType);
56713
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_Aa", void 0);
56714
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_Ba", void 0);
56715
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_C", void 0);
56716
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_gh", void 0);
56717
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_pb", void 0);
56718
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_TVL", void 0);
56719
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_Ap", void 0);
56720
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_Bp", void 0);
56721
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_D", void 0);
56722
+ _this._Aa = aa;
56723
+ _this._Ba = ba;
56724
+ _this._C = c;
56725
+ _this._gh = gh;
56726
+ _this._pb = pb;
56727
+ _this._TVL = tvl;
56728
+ _this._Ap = ap;
56729
+ _this._Bp = bp;
56730
+ _this._D = d;
56731
+ _this.node2DrawNodeRange(0, 0);
56732
+ return _this;
56733
+ }
56734
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(PopQScoreNode, [{
56735
+ key: "aa",
56736
+ get: function get() {
56737
+ return this._Aa;
56738
+ },
56739
+ set: function set(val) {
56740
+ if (val !== this._Aa) {
56741
+ this._Aa = val;
56742
+ }
56743
+ }
56744
+ }, {
56745
+ key: "ba",
56746
+ get: function get() {
56747
+ return this._Ba;
56748
+ },
56749
+ set: function set(val) {
56750
+ if (val !== this._Ba) {
56751
+ this._Ba = val;
56752
+ }
56753
+ }
56754
+ }, {
56755
+ key: "c",
56756
+ get: function get() {
56757
+ return this._C;
56758
+ },
56759
+ set: function set(val) {
56760
+ if (val !== this._Aa) {
56761
+ this._C = val;
56762
+ }
56763
+ }
56764
+ }, {
56765
+ key: "gh",
56766
+ get: function get() {
56767
+ return this._gh;
56768
+ },
56769
+ set: function set(val) {
56770
+ if (val !== this._gh) {
56771
+ this._gh = val;
56772
+ }
56773
+ }
56774
+ }, {
56775
+ key: "pb",
56776
+ get: function get() {
56777
+ return this._pb;
56778
+ },
56779
+ set: function set(val) {
56780
+ if (val !== this._pb) {
56781
+ this._pb = val;
56782
+ }
56783
+ }
56784
+ }, {
56785
+ key: "tVL",
56786
+ get: function get() {
56787
+ return this._TVL;
56788
+ },
56789
+ set: function set(val) {
56790
+ if (val !== this._TVL) {
56791
+ this._TVL = val;
56792
+ }
56793
+ }
56794
+ }, {
56795
+ key: "ap",
56796
+ get: function get() {
56797
+ return this._Ap;
56798
+ },
56799
+ set: function set(val) {
56800
+ if (val !== this._pb) {
56801
+ this._Ap = val;
56802
+ }
56803
+ }
56804
+ }, {
56805
+ key: "bp",
56806
+ get: function get() {
56807
+ return this._Bp;
56808
+ },
56809
+ set: function set(val) {
56810
+ if (val !== this._Bp) {
56811
+ this._Bp = val;
56812
+ }
56813
+ }
56814
+ }, {
56815
+ key: "d",
56816
+ get: function get() {
56817
+ return this._D;
56818
+ },
56819
+ set: function set(val) {
56820
+ if (val !== this._D) {
56821
+ this._D = val;
56822
+ }
56823
+ }
56824
+ }, {
56825
+ key: "node2Json",
56826
+ value: function node2Json(range, isCopy) {
56827
+ debugger;
56828
+ var retObj = {
56829
+ nodeType: _BaseNode__WEBPACK_IMPORTED_MODULE_9__/* .NodeType */ .Jq[this.nodeType],
56830
+ expressType: "PopQScoreNode",
56831
+ Aa: this.aa,
56832
+ Ba: this.ba,
56833
+ C: this.c,
56834
+ gh: this.gh,
56835
+ pb: this.pb,
56836
+ TVL: this.tVL,
56837
+ Ap: this.ap,
56838
+ Bp: this.bp,
56839
+ D: this.d
56840
+ };
56841
+ if (this.remark !== "") {
56842
+ retObj.remark = this.remark;
56843
+ }
56844
+ if (isCopy) {
56845
+ return retObj;
56846
+ }
56847
+ return {
56848
+ "PopQScoreNode": retObj
56849
+ };
56850
+ }
56851
+ }, {
56852
+ key: "getTagNameCn",
56853
+ value: function getTagNameCn() {
56854
+ return "Pop-Q评分";
56855
+ }
56856
+ /**
56857
+ *
56858
+ * @param drawTree 绘制树
56859
+ * @param dline 绘制行
56860
+ */
56861
+ //根据可放置的宽度,将普通组件转换成绘制组件
56862
+ }, {
56863
+ key: "node2DrawNodeRange",
56864
+ value: function node2DrawNodeRange(startIndex, endIndex) {
56865
+ debugger;
56866
+ var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_11__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
56867
+ var curStyleIndex = hoEditorFactory.docTree.curStyleIndex;
56868
+ var cbStyle;
56869
+ var textStyle = hoEditorFactory.docTree.styles[curStyleIndex];
56870
+ var newStyle;
56871
+ if (textStyle) {
56872
+ newStyle = textStyle.clone();
56873
+ newStyle.size = 10.5;
56874
+ } else {
56875
+ newStyle = hoEditorFactory.docTree.styles[0].clone();
56876
+ newStyle.size = 10.5;
56877
+ }
56878
+ cbStyle = newStyle.combineStyle;
56879
+ // if (textStyle) {
56880
+ // textStyle.size = 10.5;
56881
+ // cbStyle = textStyle.combineStyle;
56882
+ // } else {
56883
+ // cbStyle = hoEditorFactory.docTree.styles[0].combineStyle;
56884
+ // }
56885
+ var dHeight = hoEditorFactory.getFontHeightByFontSize(cbStyle.size);
56886
+ var lineHight = dHeight * 3;
56887
+ /* 注意绘制顺序 */
56888
+ var arrValues = ['Ap=' + this.ap, 'Bp=' + this.bp, 'D=' + this.d, 'gh=' + this.gh, 'pb=' + this.pb, 'TVL=' + this.tVL, 'Aa=' + this.aa, 'Ba=' + this.ba, 'C=' + this.c];
56889
+ var bIsInsert = startIndex < 0;
56890
+ var width = 240;
56891
+ debugger;
56892
+ var dNode = new _editor_draw_drawNode_DrawMedicalExpression__WEBPACK_IMPORTED_MODULE_10__/* .DrawMedicalExpression */ .T(this._hoEditorFactoryID, this._rootPath, this, 0, "pop-QScore", arrValues, cbStyle, lineHight, width);
56893
+ if (bIsInsert) {
56894
+ this._drawNodes.splice(0, 0, dNode);
56895
+ } else {
56896
+ this._drawNodes.push(dNode);
56897
+ }
56898
+ }
56899
+ }, {
56900
+ key: "node2DrawNode",
56901
+ value: function node2DrawNode() {
56902
+ this.clearDrawNodes(0, 0);
56903
+ this.node2DrawNodeRange(0, 0);
56904
+ }
56905
+ /**
56906
+ * @author xyl
56907
+ * @param dRoots 绘制根数组
56908
+ * @param paragraphNode 对应的段落
56909
+ * @param start 当前起始位置,绘制时不应含入
56910
+ * @param endIndex 结束位置 ,包含入
56911
+ */
56912
+ //根据可放置的宽度,将普通组件转换成绘制组件
56913
+ }, {
56914
+ key: "placeDNode2DrawLine",
56915
+ value: function placeDNode2DrawLine(droots, paragraphNode, dline, start, endIndex) {
56916
+ debugger;
56917
+ var startIndex = start;
56918
+ if (startIndex >= 1) {
56919
+ return dline;
56920
+ }
56921
+ dline.addChild(this._drawNodes[0]);
56922
+ dline.drawItems.push(this._drawNodes[0]);
56923
+ dline.fitLines();
56924
+ return dline.paragraphNode.getLastDrawline();
56925
+ }
56926
+ }], [{
56927
+ key: "json2Node",
56928
+ value: function json2Node(hoEditorFactoryID, json, rootNodes, pNode) {
56929
+ debugger;
56930
+ var rtn = new PopQScoreNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_9__/* .NodeType */ .Jq.nPopQScore, json.Aa, json.Ba, json.C, json.gh, json.pb, json.TVL, json.Ap, json.Bp, json.D);
56931
+ return rtn;
56932
+ }
56933
+ }]);
56934
+ return PopQScoreNode;
56935
+ }(_MedicalExpressionNode__WEBPACK_IMPORTED_MODULE_8__/* .MedicalExpressionNode */ .H);
56936
+ var PopQScoreRequest = /*#__PURE__*/(/* unused pure expression or super */ null && (_createClass(function PopQScoreRequest(aa, ba, c, gh, pb, tvl, ap, bp, d) {
56937
+ _classCallCheck(this, PopQScoreRequest);
56938
+ _defineProperty(this, "Aa", void 0);
56939
+ _defineProperty(this, "Ba", void 0);
56940
+ _defineProperty(this, "C", void 0);
56941
+ _defineProperty(this, "gh", void 0);
56942
+ _defineProperty(this, "pb", void 0);
56943
+ _defineProperty(this, "TVL", void 0);
56944
+ _defineProperty(this, "Ap", void 0);
56945
+ _defineProperty(this, "Bp", void 0);
56946
+ _defineProperty(this, "D", void 0);
56947
+ this.Aa = aa || '0';
56948
+ this.Ba = ba || '0';
56949
+ this.C = c || '0';
56950
+ this.gh = gh || '0';
56951
+ this.pb = pb || '0';
56952
+ this.TVL = tvl || '0';
56953
+ this.Ap = ap || '0';
56954
+ this.Bp = bp || '0';
56955
+ this.D = d || '0';
56956
+ })));
56957
+
56958
+ /***/ }),
56959
+
56626
56960
  /***/ 11429:
56627
56961
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
56628
56962
 
@@ -60469,13 +60803,16 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
60469
60803
  var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_33__/* .HOEditorFactorys */ .b.instance().getFactory(this._hoEditorFactoryID);
60470
60804
  var strValue = hoEditorFactory.unitConvert.replaceAll(cell.getCellText(), '\n', '');
60471
60805
  //如果单元格存在下拉项,取值为下拉项的value,而非节点的text
60472
- if (strValue && cell.cellProperty.downListProperty) {
60806
+ if (cell.cellProperty.downListProperty) {
60473
60807
  var listItems = JSON.parse(cell.cellProperty.downListProperty.listItems);
60474
60808
  var itemObject = listItems.find(function (item) {
60475
60809
  return item.text === strValue;
60476
60810
  });
60477
60811
  if (itemObject) {
60478
60812
  strValue = itemObject.value;
60813
+ if (strValue === '') {
60814
+ strValue = itemObject.text;
60815
+ }
60479
60816
  }
60480
60817
  }
60481
60818
  strValue = hoEditorFactory.unitConvert.replaceAll(strValue, ' ', '');
@@ -74652,17 +74989,22 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
74652
74989
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
74653
74990
  /* harmony export */ T: function() { return /* binding */ DrawMedicalExpression; }
74654
74991
  /* harmony export */ });
74655
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70280);
74656
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66298);
74657
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75808);
74658
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(11651);
74659
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19593);
74660
- /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(78255);
74661
- /* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(69600);
74662
- /* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_6__);
74663
- /* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38205);
74664
- /* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_yuki_createjs__WEBPACK_IMPORTED_MODULE_7__);
74665
- /* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(66114);
74992
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27222);
74993
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(70280);
74994
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(66298);
74995
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(75808);
74996
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11651);
74997
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(19593);
74998
+ /* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(78255);
74999
+ /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(92222);
75000
+ /* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7__);
75001
+ /* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(69600);
75002
+ /* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_8__);
75003
+ /* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(38205);
75004
+ /* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_yuki_createjs__WEBPACK_IMPORTED_MODULE_9__);
75005
+ /* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(66114);
75006
+
75007
+
74666
75008
 
74667
75009
 
74668
75010
 
@@ -74681,18 +75023,18 @@ var DrawMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
74681
75023
 
74682
75024
 
74683
75025
  var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74684
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(DrawMedicalExpression, _DrawCombineNode);
74685
- var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(DrawMedicalExpression);
75026
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(DrawMedicalExpression, _DrawCombineNode);
75027
+ var _super = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createSuper_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(DrawMedicalExpression);
74686
75028
  function DrawMedicalExpression(hoeditfactoryID, rootPath, node, index, expressionStyle, arrValues, textStyle, dHeight, dWidth, line) {
74687
75029
  var _this;
74688
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, DrawMedicalExpression);
75030
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(this, DrawMedicalExpression);
74689
75031
  _this = _super.call(this, hoeditfactoryID, rootPath, node, index);
74690
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_expressionStyle", void 0);
74691
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_arrValues", void 0);
74692
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_textStyle", void 0);
74693
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_w", 0);
74694
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_h", 0);
74695
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(_this), "_line", void 0);
75032
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_expressionStyle", void 0);
75033
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_arrValues", void 0);
75034
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_textStyle", void 0);
75035
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_w", 0);
75036
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_h", 0);
75037
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_this), "_line", void 0);
74696
75038
  _this._expressionStyle = expressionStyle;
74697
75039
  _this._arrValues = arrValues;
74698
75040
  _this.dWidth = dWidth;
@@ -74720,7 +75062,7 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74720
75062
  _this.drawMedicalExpression(expressionStyle);
74721
75063
  return _this;
74722
75064
  }
74723
- (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(DrawMedicalExpression, [{
75065
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(DrawMedicalExpression, [{
74724
75066
  key: "expressionStyle",
74725
75067
  get: function get() {
74726
75068
  return this._expressionStyle;
@@ -74774,10 +75116,49 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
74774
75116
  //乳牙牙位图
74775
75117
  this.drawPrimaryTeeth();
74776
75118
  }
75119
+ if (style === "pop-QScore") {
75120
+ //pop-Q 评分
75121
+ this.drawPopQScore();
75122
+ }
74777
75123
  if (style === "5") {
74778
75124
  this.drawSeparateChar();
74779
75125
  }
74780
75126
  }
75127
+ }, {
75128
+ key: "drawPopQScore",
75129
+ value: function drawPopQScore() {
75130
+ var cellWidth = this.dWidth / 3;
75131
+ var cellHeight = this.dHeight / 3;
75132
+ // 绘制9宫图文本
75133
+ for (var i = 0; i < 9; i++) {
75134
+ var scoreObj = this._arrValues[i];
75135
+ var _scoreObj$split = scoreObj.split('='),
75136
+ _scoreObj$split2 = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(_scoreObj$split, 2),
75137
+ name = _scoreObj$split2[0],
75138
+ scoreStr = _scoreObj$split2[1];
75139
+ var text = new createjs.Text("".concat(name, ": ").concat(scoreStr), this._textStyle.getStyleKey(), this._textStyle.color);
75140
+ text.textAlign = "center";
75141
+ text.textBaseline = "middle";
75142
+ var row = Math.floor(i / 3);
75143
+ var col = i % 3;
75144
+ text.x = col * cellWidth + cellWidth / 2; // 居中于格子
75145
+ text.y = -(row * cellHeight + cellHeight / 2); // 居中于格子
75146
+ this.addChild(text);
75147
+ }
75148
+ // 添加格子线
75149
+ for (var _i = 0; _i <= 3; _i++) {
75150
+ // 绘制水平线
75151
+ var hLine = new createjs.Shape();
75152
+ hLine.graphics.beginStroke(this._textStyle.color).moveTo(0, -_i * cellHeight).lineTo(this.dWidth, -_i * cellHeight);
75153
+ hLine.graphics.endStroke(); // 结束线条绘制
75154
+ this.addChild(hLine);
75155
+ // 绘制垂直线
75156
+ var vLine = new createjs.Shape();
75157
+ vLine.graphics.beginStroke(this._textStyle.color).moveTo(_i * cellWidth, 0).lineTo(_i * cellWidth, -this.dHeight);
75158
+ vLine.graphics.endStroke(); // 结束线条绘制
75159
+ this.addChild(vLine);
75160
+ }
75161
+ }
74781
75162
  }, {
74782
75163
  key: "drawMenstrualHistoryStyle1",
74783
75164
  value: function drawMenstrualHistoryStyle1() {
@@ -75168,22 +75549,22 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
75168
75549
  }
75169
75550
  var len2 = this._arrValues[1].split(',').length;
75170
75551
  if (len2 > 0) {
75171
- for (var _i = 0; _i < 5; _i++) {
75172
- var topRight = new createjs.Text(this._arrValues[1].split(',')[_i], this._textStyle.getStyleKey(), this._textStyle.color);
75552
+ for (var _i2 = 0; _i2 < 5; _i2++) {
75553
+ var topRight = new createjs.Text(this._arrValues[1].split(',')[_i2], this._textStyle.getStyleKey(), this._textStyle.color);
75173
75554
  topRight.y = -this.dHeight / 2 - topRight.getMeasuredHeight() / 2;
75174
- if (_i === 4) {
75555
+ if (_i2 === 4) {
75175
75556
  topRight.x = this.dWidth - topRight.getMeasuredWidth();
75176
75557
  }
75177
- if (_i === 3) {
75558
+ if (_i2 === 3) {
75178
75559
  topRight.x = this.dWidth - 12 - this.dWidth / 10;
75179
75560
  }
75180
- if (_i === 2) {
75561
+ if (_i2 === 2) {
75181
75562
  topRight.x = this.dWidth - 22 - this.dWidth / 10 * 2;
75182
75563
  }
75183
- if (_i === 1) {
75564
+ if (_i2 === 1) {
75184
75565
  topRight.x = this.dWidth - 24 - this.dWidth / 10 * 3;
75185
75566
  }
75186
- if (_i === 0) {
75567
+ if (_i2 === 0) {
75187
75568
  topRight.x = this.dWidth - 16 - this.dWidth / 10 * 4;
75188
75569
  }
75189
75570
  topRight.textAlign = "left";
@@ -75193,23 +75574,23 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
75193
75574
  }
75194
75575
  var len3 = this._arrValues[2].split(',').length;
75195
75576
  if (len3 > 0) {
75196
- for (var _i2 = 0; _i2 < 5; _i2++) {
75197
- var bottomLeft = new createjs.Text(this._arrValues[2].split(',')[_i2], this._textStyle.getStyleKey(), this._textStyle.color);
75577
+ for (var _i3 = 0; _i3 < 5; _i3++) {
75578
+ var bottomLeft = new createjs.Text(this._arrValues[2].split(',')[_i3], this._textStyle.getStyleKey(), this._textStyle.color);
75198
75579
  bottomLeft.y = 0;
75199
- if (_i2 === 0) {
75580
+ if (_i3 === 0) {
75200
75581
  bottomLeft.x = 0;
75201
75582
  }
75202
- if (_i2 === 1) {
75203
- bottomLeft.x = this.dWidth / 10 * _i2 * 0.7;
75583
+ if (_i3 === 1) {
75584
+ bottomLeft.x = this.dWidth / 10 * _i3 * 0.7;
75204
75585
  }
75205
- if (_i2 === 2) {
75206
- bottomLeft.x = this.dWidth / 10 * _i2 - 2;
75586
+ if (_i3 === 2) {
75587
+ bottomLeft.x = this.dWidth / 10 * _i3 - 2;
75207
75588
  }
75208
- if (_i2 === 3) {
75209
- bottomLeft.x = this.dWidth / 10 * _i2 + 8;
75589
+ if (_i3 === 3) {
75590
+ bottomLeft.x = this.dWidth / 10 * _i3 + 8;
75210
75591
  }
75211
- if (_i2 === 4) {
75212
- bottomLeft.x = this.dWidth / 10 * _i2 + 8;
75592
+ if (_i3 === 4) {
75593
+ bottomLeft.x = this.dWidth / 10 * _i3 + 8;
75213
75594
  }
75214
75595
  bottomLeft.textAlign = "left";
75215
75596
  bottomLeft.textBaseline = "alphabetic";
@@ -75218,22 +75599,22 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
75218
75599
  }
75219
75600
  var len4 = this._arrValues[3].split(',').length;
75220
75601
  if (len4 > 0) {
75221
- for (var _i3 = 0; _i3 < 5; _i3++) {
75222
- var bottomRight = new createjs.Text(this._arrValues[3].split(',')[_i3], this._textStyle.getStyleKey(), this._textStyle.color);
75602
+ for (var _i4 = 0; _i4 < 5; _i4++) {
75603
+ var bottomRight = new createjs.Text(this._arrValues[3].split(',')[_i4], this._textStyle.getStyleKey(), this._textStyle.color);
75223
75604
  bottomRight.y = 0;
75224
- if (_i3 === 4) {
75605
+ if (_i4 === 4) {
75225
75606
  bottomRight.x = this.dWidth - bottomRight.getMeasuredWidth();
75226
75607
  }
75227
- if (_i3 === 3) {
75608
+ if (_i4 === 3) {
75228
75609
  bottomRight.x = this.dWidth - 12 - this.dWidth / 10;
75229
75610
  }
75230
- if (_i3 === 2) {
75611
+ if (_i4 === 2) {
75231
75612
  bottomRight.x = this.dWidth - 22 - this.dWidth / 10 * 2;
75232
75613
  }
75233
- if (_i3 === 1) {
75614
+ if (_i4 === 1) {
75234
75615
  bottomRight.x = this.dWidth - 24 - this.dWidth / 10 * 3;
75235
75616
  }
75236
- if (_i3 === 0) {
75617
+ if (_i4 === 0) {
75237
75618
  bottomRight.x = this.dWidth - 16 - this.dWidth / 10 * 4;
75238
75619
  }
75239
75620
  bottomRight.textAlign = "left";
@@ -75262,7 +75643,7 @@ var DrawMedicalExpression = /*#__PURE__*/function (_DrawCombineNode) {
75262
75643
  }
75263
75644
  }]);
75264
75645
  return DrawMedicalExpression;
75265
- }(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_8__/* .DrawCombineNode */ .o);
75646
+ }(_DrawCombineNode__WEBPACK_IMPORTED_MODULE_10__/* .DrawCombineNode */ .o);
75266
75647
 
75267
75648
  /***/ }),
75268
75649
 
@@ -82832,6 +83213,9 @@ var EditorController = /*#__PURE__*/function () {
82832
83213
  hoeditorfactory.undoService.begin();
82833
83214
  hoeditorfactory.undoService.add(new NodesDeleteUndoUnit/* NodesDeleteUndoUnit */.F(_this2._hoEditorFactoryID, curRange.startPath, curRange.endPath));
82834
83215
  hoeditorfactory.undoService.commit();
83216
+ } else if (hoeditorfactory.docTree.curDomRange.isEmpty) {
83217
+ message/* default */.Z.destroy();
83218
+ message/* default */.Z.warn('请选中剪切的内容');
82835
83219
  }
82836
83220
  e.preventDefault();
82837
83221
  });
@@ -84742,9 +85126,11 @@ var DrawTree = /*#__PURE__*/function () {
84742
85126
  if (dline instanceof DrawTable/* DrawTable */.t) {
84743
85127
  throw new Error("错误的文档结构,表格后面需要放置一个段落节点");
84744
85128
  } else {
84745
- dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, startChildIndex, node.getLength() - 1, aEndPath);
84746
- if (dline.paragraphNode !== paraNode) {
84747
- paraNode = dline.paragraphNode;
85129
+ if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
85130
+ dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, startChildIndex, node.getLength() - 1, aEndPath);
85131
+ if (dline.paragraphNode !== paraNode) {
85132
+ paraNode = dline.paragraphNode;
85133
+ }
84748
85134
  }
84749
85135
  }
84750
85136
  if (NodePosition/* NodePosition */.F.treePathCompare(aEndPath, hoeditorFactory.docTree.getNodeLastPath(node)) <= 0) break;
@@ -84904,16 +85290,18 @@ var DrawTree = /*#__PURE__*/function () {
84904
85290
  if (dline instanceof DrawTable/* DrawTable */.t) {
84905
85291
  throw new Error("错误的文档结构,表格前面需要放置一个段落节点");
84906
85292
  } else {
84907
- dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, 0, node.getLength() - 1, aEndPath);
84908
- if (dline.paragraphNode !== paraNode) {
84909
- paraNode = dline.paragraphNode;
84910
- }
84911
- if (dline.paragraphNode.parentNode instanceof CellNode/* CellNode */.D) {
84912
- var _aCell = dline.paragraphNode.parentNode;
84913
- if (_aCell) {
84914
- _aCell.drawCell.needUpdate = true;
84915
- if (tables.indexOf(_aCell.table) < 0) {
84916
- tables.push(_aCell.table);
85293
+ if (!(node instanceof TextInputFieldNode/* TextInputFieldNode */.re && node.customProperty.hidden == true)) {
85294
+ dline = node.placeDNode2DrawLine(paraNode.drootNodes, paraNode, dline, 0, node.getLength() - 1, aEndPath);
85295
+ if (dline.paragraphNode !== paraNode) {
85296
+ paraNode = dline.paragraphNode;
85297
+ }
85298
+ if (dline.paragraphNode.parentNode instanceof CellNode/* CellNode */.D) {
85299
+ var _aCell = dline.paragraphNode.parentNode;
85300
+ if (_aCell) {
85301
+ _aCell.drawCell.needUpdate = true;
85302
+ if (tables.indexOf(_aCell.table) < 0) {
85303
+ tables.push(_aCell.table);
85304
+ }
84917
85305
  }
84918
85306
  }
84919
85307
  }
@@ -88530,6 +88918,8 @@ var OperType;
88530
88918
  OperType[OperType["insertGestation"] = 58] = "insertGestation";
88531
88919
  OperType[OperType["insertRareChar"] = 59] = "insertRareChar";
88532
88920
  OperType[OperType["insertJumpButton"] = 60] = "insertJumpButton";
88921
+ OperType[OperType["insertPopQScore"] = 61] = "insertPopQScore";
88922
+ OperType[OperType["updatePopQScore"] = 62] = "updatePopQScore";
88533
88923
  })(OperType || (OperType = {}));
88534
88924
  var NodeChangingEvent = /*#__PURE__*/function () {
88535
88925
  function NodeChangingEvent(action, startPath, endPath, operType) {
@@ -94915,6 +95305,8 @@ var StructureNode = /*#__PURE__*/function () {
94915
95305
  hoEditorFactory.drawTree.selectRange.clearAllSelectShape();
94916
95306
  hoEditorFactory.docTree.curDomRange.setSamePath(hoEditorFactory.drawTree.selectRange.spStart.path);
94917
95307
  }
95308
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z.destroy();
95309
+ ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z.success("".concat(type == 'cut' ? "剪切" : "复制", "\u6210\u529F"));
94918
95310
  } else {
94919
95311
  return this._json;
94920
95312
  }
@@ -206583,8 +206975,8 @@ var es_string_match = __webpack_require__(4723);
206583
206975
  var es_number_constructor = __webpack_require__(9653);
206584
206976
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
206585
206977
  var es_json_stringify = __webpack_require__(38862);
206586
- ;// 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=51f49778&
206587
- var HoDocvue_type_template_id_51f49778_render = function render() {
206978
+ ;// 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=d9aef342&
206979
+ var HoDocvue_type_template_id_d9aef342_render = function render() {
206588
206980
  var _vm = this,
206589
206981
  _c = _vm._self._c;
206590
206982
  return _c('div', {
@@ -206785,7 +207177,7 @@ var HoDocvue_type_template_id_51f49778_render = function render() {
206785
207177
  }
206786
207178
  }, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
206787
207179
  };
206788
- var HoDocvue_type_template_id_51f49778_staticRenderFns = [];
207180
+ var HoDocvue_type_template_id_d9aef342_staticRenderFns = [];
206789
207181
 
206790
207182
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
206791
207183
  var es_array_filter = __webpack_require__(57327);
@@ -209776,7 +210168,7 @@ var TextNode = __webpack_require__(27198);
209776
210168
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
209777
210169
  var ParagraphNode = __webpack_require__(67945);
209778
210170
  ;// CONCATENATED MODULE: ./src/components/version.ts
209779
- /* harmony default export */ var version = ('3.1.117');
210171
+ /* harmony default export */ var version = ('3.1.118');
209780
210172
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
209781
210173
  var PoperTipText = __webpack_require__(50987);
209782
210174
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -210242,27 +210634,35 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
210242
210634
  paintStatus: paintStatus
210243
210635
  });
210244
210636
  this.poperType = '';
210245
- } else if ((node instanceof TextNode/* TextNode */.R || node instanceof MarkNode/* MarkNode */.j) && node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
210637
+ } else if ((node instanceof TextNode/* TextNode */.R || node instanceof MarkNode/* MarkNode */.j || node instanceof DateTimeNode/* DateTimeNode */.Z) && node.parentNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
210246
210638
  // 文本域
210247
210639
  var parentNode = node.parentNode;
210248
210640
  var customProperty = (parentNode === null || parentNode === void 0 ? void 0 : parentNode.customProperty) || {};
210249
210641
  if (Number(parentNode.inputFieldType) === 0 && (customProperty.additionsEditor == 'true' || customProperty.additionsEditor == true)) {
210250
- if (parentNode.canModifyContent) {
210251
- this.$emit('dblNodeClick', {
210252
- setActiveDoc: this.setActiveDocIndex,
210253
- node: this.getCurrentSelectNode,
210254
- type: 'text',
210255
- paintStatus: paintStatus
210256
- });
210642
+ if (node instanceof DateTimeNode/* DateTimeNode */.Z) {
210643
+ if (node.isReadOnly && node.text.replace(/\s*/g, '') !== '') {
210644
+ return false;
210645
+ }
210646
+ this.computedPoperPosition(node, pageIndex);
210647
+ this.poperType = 'datePoper';
210257
210648
  } else {
210258
- this.$emit('dblNodeClick', {
210259
- setActiveDoc: this.setActiveDocIndex,
210260
- node: this.getCurrentSelectNode,
210261
- type: 'modify_node',
210262
- paintStatus: paintStatus
210263
- });
210649
+ if (parentNode.canModifyContent) {
210650
+ this.$emit('dblNodeClick', {
210651
+ setActiveDoc: this.setActiveDocIndex,
210652
+ node: this.getCurrentSelectNode,
210653
+ type: 'text',
210654
+ paintStatus: paintStatus
210655
+ });
210656
+ } else {
210657
+ this.$emit('dblNodeClick', {
210658
+ setActiveDoc: this.setActiveDocIndex,
210659
+ node: this.getCurrentSelectNode,
210660
+ type: 'modify_node',
210661
+ paintStatus: paintStatus
210662
+ });
210663
+ }
210664
+ this.hoEditorProvider.setUpdateNodeValue(this.getCurrentSelectNode());
210264
210665
  }
210265
- this.hoEditorProvider.setUpdateNodeValue(this.getCurrentSelectNode());
210266
210666
  }
210267
210667
  }
210268
210668
  return false;
@@ -210792,10 +211192,10 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
210792
211192
  });
210793
211193
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
210794
211194
  /* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
210795
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=51f49778&prod&lang=less&
211195
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=d9aef342&prod&lang=less&
210796
211196
  // extracted by mini-css-extract-plugin
210797
211197
 
210798
- ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=51f49778&prod&lang=less&
211198
+ ;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=d9aef342&prod&lang=less&
210799
211199
 
210800
211200
  ;// CONCATENATED MODULE: ./src/components/HoDoc.vue
210801
211201
 
@@ -210808,8 +211208,8 @@ var defaultHeight = Math.floor(1122 * scaleXY) % 2 === 1 ? Math.floor(1122 * sca
210808
211208
 
210809
211209
  var HoDoc_component = (0,componentNormalizer/* default */.Z)(
210810
211210
  components_HoDocvue_type_script_lang_js_,
210811
- HoDocvue_type_template_id_51f49778_render,
210812
- HoDocvue_type_template_id_51f49778_staticRenderFns,
211211
+ HoDocvue_type_template_id_d9aef342_render,
211212
+ HoDocvue_type_template_id_d9aef342_staticRenderFns,
210813
211213
  false,
210814
211214
  null,
210815
211215
  null,
@@ -213824,6 +214224,8 @@ var GestationNode = __webpack_require__(73632);
213824
214224
  var RareCharNode = __webpack_require__(34910);
213825
214225
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/JumpButtonNode.ts + 1 modules
213826
214226
  var JumpButtonNode = __webpack_require__(330);
214227
+ // EXTERNAL MODULE: ./src/editor/dom/treeNode/PopQScoreNode.ts
214228
+ var PopQScoreNode = __webpack_require__(12790);
213827
214229
  ;// CONCATENATED MODULE: ./src/editor/utils/StructureConvert.ts
213828
214230
 
213829
214231
 
@@ -213907,6 +214309,7 @@ var JumpButtonNode = __webpack_require__(330);
213907
214309
 
213908
214310
 
213909
214311
 
214312
+
213910
214313
 
213911
214314
 
213912
214315
  var StructureConvert = /*#__PURE__*/function () {
@@ -214789,7 +215192,7 @@ var StructureConvert = /*#__PURE__*/function () {
214789
215192
  key: "replaceNodesName",
214790
215193
  value: function replaceNodesName(xml) {
214791
215194
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
214792
- var reg = new RegExp(/\<\*([A-z]*)\>\/|TextNode|ParagraphNode|TableNode|ImageNode|BarcodeNode|QrcodeNode|DateTimeNode|DownListNode|RadioAndCheckBoxNode|TextInputFieldNode|SpecialCharsNode|MarkNode|PageCountNode|PageNumNode|CellNode|SeparateCharNode|LabelNode|SignNode|GestationNode|RareCharNode|JumpButtonNode/g);
215195
+ var reg = new RegExp(/\<\*([A-z]*)\>\/|TextNode|ParagraphNode|TableNode|ImageNode|BarcodeNode|QrcodeNode|DateTimeNode|DownListNode|RadioAndCheckBoxNode|TextInputFieldNode|SpecialCharsNode|MarkNode|PageCountNode|PageNumNode|CellNode|SeparateCharNode|LabelNode|SignNode|GestationNode|RareCharNode|JumpButtonNode|PopQScoreNode/g);
214793
215196
  xml = xml.replace(reg, "node");
214794
215197
  xml = hoEditorFactory.unitConvert.replaceAll(xml, '<TableFormula>', "<node>");
214795
215198
  xml = hoEditorFactory.unitConvert.replaceAll(xml, '</TableFormula>', "</node>");
@@ -215726,6 +216129,8 @@ var StructureConvert = /*#__PURE__*/function () {
215726
216129
  return RareCharNode/* RareCharNode */.Q.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode);
215727
216130
  } else if (temp.nodeType == BaseNode/* NodeType */.Jq.ntJumpButton) {
215728
216131
  return JumpButtonNode/* JumpButtonNode */.a.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode);
216132
+ } else if (temp.nodeType == BaseNode/* NodeType */.Jq.nPopQScore) {
216133
+ return PopQScoreNode/* PopQScoreNode */.B.json2Node(this._hoEditorFactoryID, temp, rootNodes, parentNode);
215729
216134
  }
215730
216135
  return undefined;
215731
216136
  }
@@ -218514,6 +218919,40 @@ var VueController = /*#__PURE__*/function () {
218514
218919
  hoEditorFactory.docController.setCellProperty(objectValues, cellNode);
218515
218920
  }
218516
218921
  //------------------------------医学表达式----------------------------------
218922
+ /**
218923
+ * 插入Pop-Q评分
218924
+ * @param popQScoreRequest
218925
+ */
218926
+ }, {
218927
+ key: "insertPopQScore",
218928
+ value: function insertPopQScore(popQScoreRequest) {
218929
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
218930
+ if (hoEditorFactory.editController.canIsEdit(hoEditorFactory)) {
218931
+ var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
218932
+ var startPath = _curDomRange.normalize().startPath;
218933
+ var endPath = _curDomRange.normalize().endPath;
218934
+ var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType */.y.insertPopQScore);
218935
+ if (hoEditorFactory.docTree.changing(changingEvent)) {
218936
+ hoEditorFactory.docController.insertPopQScore('add', _curDomRange, popQScoreRequest);
218937
+ }
218938
+ }
218939
+ }
218940
+ /**
218941
+ * 更新 Pop-Q评分
218942
+ * @param popQScoreRequest
218943
+ */
218944
+ }, {
218945
+ key: "updatePopQScore",
218946
+ value: function updatePopQScore(popQScoreRequest) {
218947
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
218948
+ var _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
218949
+ var startPath = _curDomRange.normalize().startPath;
218950
+ var endPath = _curDomRange.normalize().endPath;
218951
+ var changingEvent = new NodeChangingEvent/* NodeChangingEvent */.Q(DocTree/* DocAction */.gk.daInsert, startPath, endPath, NodeChangingEvent/* OperType */.y.updatePopQScore);
218952
+ if (hoEditorFactory.docTree.changing(changingEvent)) {
218953
+ HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID).docController.insertPopQScore('update', _curDomRange, popQScoreRequest);
218954
+ }
218955
+ }
218517
218956
  /**
218518
218957
  * 插入经期史
218519
218958
  * @param operType 操作类型 "add"新增