hoeditor-web 3.0.51 → 3.0.53

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.
@@ -20216,7 +20216,7 @@ var component = (0,componentNormalizer/* default */.Z)(
20216
20216
 
20217
20217
  /***/ }),
20218
20218
 
20219
- /***/ 94535:
20219
+ /***/ 74353:
20220
20220
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
20221
20221
 
20222
20222
  "use strict";
@@ -20230,7 +20230,7 @@ __webpack_require__.d(__webpack_exports__, {
20230
20230
 
20231
20231
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
20232
20232
  var es_function_name = __webpack_require__(68309);
20233
- ;// 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/controls/textDialog/TextDialog.vue?vue&type=template&id=51bd6486&
20233
+ ;// 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/controls/textDialog/TextDialog.vue?vue&type=template&id=2e48f0d1&
20234
20234
 
20235
20235
  var render = function render() {
20236
20236
  var _vm = this,
@@ -20661,7 +20661,18 @@ var render = function render() {
20661
20661
  },
20662
20662
  expression: "textParam.insCheckSyncUpdateList"
20663
20663
  }
20664
- }, [_vm._v("插入检查检验同步更新列表项")])], 1)])]), _c('a-tab-pane', {
20664
+ }, [_vm._v("插入检查检验同步更新列表项")]), _c('a-checkbox', {
20665
+ attrs: {
20666
+ "size": "small"
20667
+ },
20668
+ model: {
20669
+ value: _vm.textParam.hideDuringPrint,
20670
+ callback: function callback($$v) {
20671
+ _vm.$set(_vm.textParam, "hideDuringPrint", $$v);
20672
+ },
20673
+ expression: "textParam.hideDuringPrint"
20674
+ }
20675
+ }, [_vm._v("打印时隐藏")])], 1)])]), _c('a-tab-pane', {
20665
20676
  key: "third",
20666
20677
  attrs: {
20667
20678
  "tab": "其他属性"
@@ -20696,7 +20707,7 @@ var render = function render() {
20696
20707
  };
20697
20708
  var staticRenderFns = [];
20698
20709
 
20699
- ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=51bd6486&
20710
+ ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=2e48f0d1&
20700
20711
 
20701
20712
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
20702
20713
  var objectSpread2 = __webpack_require__(63442);
@@ -20821,6 +20832,8 @@ var HOEditorFactorys = __webpack_require__(74089);
20821
20832
  _this.customPropertyValue = (0,objectSpread2/* default */.Z)({}, property);
20822
20833
  } else if (key === 'readType') {
20823
20834
  _this.textParam.readType = updateNode.readType == 1 ? true : false;
20835
+ } else if (key === 'hideDuringPrint') {
20836
+ _this.textParam.hideDuringPrint = updateNode.hideDuringPrint == 'undefined' || updateNode.hideDuringPrint == undefined ? false : updateNode.hideDuringPrint;
20824
20837
  } else {
20825
20838
  _this.textParam[key] = updateNode[key];
20826
20839
  }
@@ -20924,10 +20937,10 @@ var HOEditorFactorys = __webpack_require__(74089);
20924
20937
  });
20925
20938
  ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=script&lang=js&
20926
20939
  /* harmony default export */ var textDialog_TextDialogvue_type_script_lang_js_ = (TextDialogvue_type_script_lang_js_);
20927
- ;// 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/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=51bd6486&prod&lang=scss&
20940
+ ;// 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/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=2e48f0d1&prod&lang=scss&
20928
20941
  // extracted by mini-css-extract-plugin
20929
20942
 
20930
- ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=51bd6486&prod&lang=scss&
20943
+ ;// CONCATENATED MODULE: ./src/components/controls/textDialog/TextDialog.vue?vue&type=style&index=0&id=2e48f0d1&prod&lang=scss&
20931
20944
 
20932
20945
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
20933
20946
  var componentNormalizer = __webpack_require__(70713);
@@ -28962,7 +28975,8 @@ var textParams = {
28962
28975
  readType: false,
28963
28976
  keyValue: '',
28964
28977
  value: '',
28965
- insCheckSyncUpdateList: false
28978
+ insCheckSyncUpdateList: false,
28979
+ hideDuringPrint: false
28966
28980
  // isMultiLinesDisplay: false
28967
28981
  };
28968
28982
 
@@ -35272,6 +35286,12 @@ jspdf/* jsPDF.API.svg */.kH.API.svg = function (element, options) {
35272
35286
 
35273
35287
  // EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawPageTable.ts
35274
35288
  var DrawPageTable = __webpack_require__(15694);
35289
+ // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
35290
+ var ParagraphNode = __webpack_require__(67945);
35291
+ // EXTERNAL MODULE: ./src/editor/draw/drawArea/DrawPageMainDoc.ts
35292
+ var DrawPageMainDoc = __webpack_require__(77441);
35293
+ // EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTable.ts
35294
+ var DrawTable = __webpack_require__(74298);
35275
35295
  ;// CONCATENATED MODULE: ./src/editor/PrintStatus.ts
35276
35296
 
35277
35297
 
@@ -35309,6 +35329,9 @@ var DrawPageTable = __webpack_require__(15694);
35309
35329
 
35310
35330
 
35311
35331
 
35332
+
35333
+
35334
+
35312
35335
 
35313
35336
 
35314
35337
 
@@ -36398,8 +36421,8 @@ var Print = /*#__PURE__*/function () {
36398
36421
  }, {
36399
36422
  key: "printAllNew",
36400
36423
  value: function () {
36401
- var _printAllNew = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee5(hoEditorFactoryID, reslove, PDF, position) {
36402
- var hoEditorFactory, a4Size, svgBox, last, widthPixes, heightPixes, orientation, formats, format, svg2pdfOptions, _iterator4, _step4, _cpage$drawDomLevel10, index, cpage, _cpage$drawDomLevel8, _cpage$drawDomLevel8$, pageSize, ctx, _cpage$drawDomLevel9, _cpage$drawDomLevel9$, _ctx7, _ctx6, lastPos;
36424
+ var _printAllNew = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee5(hoEditorFactoryID, reslove, PDF, position, isPrintFirstDoc) {
36425
+ var hoEditorFactory, a4Size, svgBox, last, widthPixes, heightPixes, orientation, formats, format, svg2pdfOptions, firstPageIndex, _iterator4, _step4, _cpage$drawDomLevel10, index, cpage, _cpage$drawDomLevel8, _cpage$drawDomLevel8$, pageSize, ctx, _cpage$drawDomLevel9, _cpage$drawDomLevel9$, _ctx7, _ctx6, lastPos;
36403
36426
  return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee5$(_context6) {
36404
36427
  while (1) {
36405
36428
  switch (_context6.prev = _context6.next) {
@@ -36431,22 +36454,40 @@ var Print = /*#__PURE__*/function () {
36431
36454
  svg2pdfOptions.x = (format[0] - widthPixes) / 2;
36432
36455
  }
36433
36456
  }
36457
+ firstPageIndex = -1; // 用来处理 批量打印----首次病程单独打印----未选择首次病程----只选择病程记录----合并时带上首次病程确保页数准确----打印时丢掉首次病程确保不重复打印首次病程
36458
+ if (isPrintFirstDoc && firstPageIndex == -1) {
36459
+ hoEditorFactory.docTree.mainNodes.forEach(function (node) {
36460
+ if (node instanceof ParagraphNode/* ParagraphNode */.C && node.printAsSinglePage) {
36461
+ if (node.drawlines[0].parent instanceof DrawPageMainDoc/* DrawPageMainDoc */.$) {
36462
+ firstPageIndex = node.drawlines[0].parent.pageIndex;
36463
+ } else if (node.drawlines[0] instanceof DrawTable/* DrawTable */.t && node.drawlines[0].drawPageTables[0].parent instanceof DrawPageMainDoc/* DrawPageMainDoc */.$) {
36464
+ firstPageIndex = node.drawlines[0].drawPageTables[0].parent.pageIndex;
36465
+ }
36466
+ }
36467
+ });
36468
+ }
36434
36469
  _iterator4 = (0,createForOfIteratorHelper/* default */.Z)(hoEditorFactory.printStatus.printProcess());
36435
- _context6.prev = 15;
36470
+ _context6.prev = 17;
36436
36471
  _iterator4.s();
36437
- case 17:
36472
+ case 19:
36438
36473
  if ((_step4 = _iterator4.n()).done) {
36439
- _context6.next = 50;
36474
+ _context6.next = 54;
36440
36475
  break;
36441
36476
  }
36442
36477
  index = _step4.value;
36443
36478
  if (!(index == -1)) {
36444
- _context6.next = 22;
36479
+ _context6.next = 24;
36445
36480
  break;
36446
36481
  }
36447
36482
  message/* default.info */.Z.info('请进行翻页');
36448
- return _context6.abrupt("continue", 48);
36449
- case 22:
36483
+ return _context6.abrupt("continue", 52);
36484
+ case 24:
36485
+ if (!(index < firstPageIndex)) {
36486
+ _context6.next = 26;
36487
+ break;
36488
+ }
36489
+ return _context6.abrupt("continue", 52);
36490
+ case 26:
36450
36491
  last = index;
36451
36492
  cpage = hoEditorFactory.drawTree.drawPages[index];
36452
36493
  if (cpage.drawDomLevel && !cpage.drawDomLevel.stage) {
@@ -36458,13 +36499,13 @@ var Print = /*#__PURE__*/function () {
36458
36499
  cpage.needUpdateStage = false;
36459
36500
  }
36460
36501
  if (!(index === hoEditorFactory.drawTree.drawPages.length - 1 && cpage.drawMainDoc.children.length === 2 && !(cpage.drawMainDoc.children[0] instanceof DrawPageTable/* DrawPageTable */.ox) && cpage.drawMainDoc.children[1] && cpage.drawMainDoc.children[1].drawItems.length === 0)) {
36461
- _context6.next = 28;
36502
+ _context6.next = 32;
36462
36503
  break;
36463
36504
  }
36464
- return _context6.abrupt("break", 50);
36465
- case 28:
36505
+ return _context6.abrupt("break", 54);
36506
+ case 32:
36466
36507
  if (!hoEditorFactory.isUseImagePrint) {
36467
- _context6.next = 41;
36508
+ _context6.next = 45;
36468
36509
  break;
36469
36510
  }
36470
36511
  pageSize = JSON.stringify([hoEditorFactory.pageProperty.widthMm, hoEditorFactory.pageProperty.heightMm]);
@@ -36496,9 +36537,9 @@ var Print = /*#__PURE__*/function () {
36496
36537
  ctx.posY = svg2pdfOptions.y;
36497
36538
  ctx && ((_cpage$drawDomLevel8 = cpage.drawDomLevel) === null || _cpage$drawDomLevel8 === void 0 ? void 0 : (_cpage$drawDomLevel8$ = _cpage$drawDomLevel8.stage) === null || _cpage$drawDomLevel8$ === void 0 ? void 0 : _cpage$drawDomLevel8$.draw(ctx));
36498
36539
  ctx = null;
36499
- _context6.next = 47;
36540
+ _context6.next = 51;
36500
36541
  break;
36501
- case 41:
36542
+ case 45:
36502
36543
  _ctx6 = new canvas2svg({
36503
36544
  width: widthPixes,
36504
36545
  height: orientation === 'l' ? heightPixes - 1 : heightPixes,
@@ -36510,27 +36551,27 @@ var Print = /*#__PURE__*/function () {
36510
36551
  } else {
36511
36552
  PDF === null || PDF === void 0 ? void 0 : PDF.addPage(format, orientation);
36512
36553
  }
36513
- _context6.next = 46;
36554
+ _context6.next = 50;
36514
36555
  return svg2pdf((_ctx7 = _ctx6) === null || _ctx7 === void 0 ? void 0 : _ctx7.getSvg(), PDF, svg2pdfOptions);
36515
- case 46:
36556
+ case 50:
36516
36557
  _ctx6 = null;
36517
- case 47:
36558
+ case 51:
36518
36559
  index > 0 && ((_cpage$drawDomLevel10 = cpage.drawDomLevel) === null || _cpage$drawDomLevel10 === void 0 ? void 0 : _cpage$drawDomLevel10.clearStage());
36519
- case 48:
36520
- _context6.next = 17;
36560
+ case 52:
36561
+ _context6.next = 19;
36521
36562
  break;
36522
- case 50:
36523
- _context6.next = 55;
36563
+ case 54:
36564
+ _context6.next = 59;
36524
36565
  break;
36525
- case 52:
36526
- _context6.prev = 52;
36527
- _context6.t0 = _context6["catch"](15);
36566
+ case 56:
36567
+ _context6.prev = 56;
36568
+ _context6.t0 = _context6["catch"](17);
36528
36569
  _iterator4.e(_context6.t0);
36529
- case 55:
36530
- _context6.prev = 55;
36570
+ case 59:
36571
+ _context6.prev = 59;
36531
36572
  _iterator4.f();
36532
- return _context6.finish(55);
36533
- case 58:
36573
+ return _context6.finish(59);
36574
+ case 62:
36534
36575
  if (hoEditorFactory.printStatus.printRange !== PrintRange.prSelected) {
36535
36576
  hoEditorFactory.printStatus.recordLastPosByPageIndex(last);
36536
36577
  }
@@ -36544,14 +36585,14 @@ var Print = /*#__PURE__*/function () {
36544
36585
  }
36545
36586
  hoEditorFactory.printStatus.DrawPrintRange().PrintOver();
36546
36587
  reslove();
36547
- case 62:
36588
+ case 66:
36548
36589
  case "end":
36549
36590
  return _context6.stop();
36550
36591
  }
36551
36592
  }
36552
- }, _callee5, null, [[15, 52, 55, 58]]);
36593
+ }, _callee5, null, [[17, 56, 59, 62]]);
36553
36594
  }));
36554
- function printAllNew(_x15, _x16, _x17, _x18) {
36595
+ function printAllNew(_x15, _x16, _x17, _x18, _x19) {
36555
36596
  return _printAllNew.apply(this, arguments);
36556
36597
  }
36557
36598
  return printAllNew;
@@ -37936,7 +37977,7 @@ var DocController = /*#__PURE__*/function () {
37936
37977
  }
37937
37978
  } else {
37938
37979
  var styleIndex = hoEditorFactory.docTree.curStyleIndex;
37939
- if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && node === pNode.first()) {
37980
+ if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && node === pNode.first() && hoEditorFactory.drawTree.paintStatus != _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psReview */ .Dh.psReview) {
37940
37981
  styleIndex = node.styleIndex;
37941
37982
  }
37942
37983
  if (aTextArray[0] > 1) {
@@ -38019,7 +38060,7 @@ var DocController = /*#__PURE__*/function () {
38019
38060
  curStyleIndex = hoEditorFactory.docTree.styleCompare(nodeStyle);
38020
38061
  hoEditorFactory.docTree.curStyleIndex = curStyleIndex;
38021
38062
  var pNode = node.parentNode;
38022
- if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && pNode.childNodes.indexOf(node) === 0) {
38063
+ if (pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_45__/* .TextInputFieldNode */ .re && pNode.childNodes.indexOf(node) === 0 && hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_27__/* .PaintState.psReview */ .Dh.psReview) {
38023
38064
  //const aNode = pNode.childNodes[0];
38024
38065
  //if (aNode instanceof MarkNode) {
38025
38066
  //curStyleIndex = aNode.styleIndex;
@@ -38054,6 +38095,7 @@ var DocController = /*#__PURE__*/function () {
38054
38095
  _this2.insertNodeByPath(aPath, paragraphNode);
38055
38096
  return hoEditorFactory.docTree.curDomRange.startPath;
38056
38097
  };
38098
+ curTextStyle = hoEditorFactory.docTree.styles[curStyleIndex];
38057
38099
  var aPromise = new Promise(function (resolve, reject) {
38058
38100
  resolve(strPath);
38059
38101
  });
@@ -47135,7 +47177,7 @@ var CombineStyle = /*#__PURE__*/function () {
47135
47177
  //小五
47136
47178
  fontHeight = hoeditfactory.unitConvert.mmConversionPx(3.18, false);
47137
47179
  }
47138
- if (fontSize === 10.5 || fontSize === 10) {
47180
+ if (fontSize === 10.5) {
47139
47181
  //五号
47140
47182
  fontHeight = hoeditfactory.unitConvert.mmConversionPx(3.70, false);
47141
47183
  }
@@ -52941,7 +52983,7 @@ var NodeNeedModifyEvent = __webpack_require__(76830);
52941
52983
  * @Author: liyanan 2441631434@qq.com
52942
52984
  * @Date: 2023-03-17 14:19:29
52943
52985
  * @LastEditors: liyanan 2441631434@qq.com
52944
- * @LastEditTime: 2023-03-30 09:44:07
52986
+ * @LastEditTime: 2023-04-19 15:29:42
52945
52987
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawJumpButton.ts
52946
52988
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
52947
52989
  */
@@ -53004,22 +53046,6 @@ var DrawJumpButton = /*#__PURE__*/function (_DrawCombineNode) {
53004
53046
  hoEditorFactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
53005
53047
  }
53006
53048
  });
53007
- // button.addEventListener("mouseover", function () {
53008
- // const hoEditorFactory = HOEditorFactorys.instance().getFactory(drawNode._hoEditorFactoryID);
53009
- // const dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
53010
- // if (dArea) {
53011
- // (button.children[1] as createjs.Text).font = "bold " + font;
53012
- // hoEditorFactory.drawPageTree.updateDrawPage(dArea.index);
53013
- // }
53014
- // });
53015
- // button.addEventListener("mouseout", function () {
53016
- // const hoEditorFactory = HOEditorFactorys.instance().getFactory(drawNode._hoEditorFactoryID);
53017
- // const dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
53018
- // if (dArea) {
53019
- // (button.children[1] as createjs.Text).font = font;
53020
- // hoEditorFactory.drawPageTree.updateDrawPage(dArea.index);
53021
- // }
53022
- // });
53023
53049
  button.addEventListener("pressup", function () {
53024
53050
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(drawNode._hoEditorFactoryID);
53025
53051
  var dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
@@ -63073,7 +63099,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
63073
63099
  /*
63074
63100
  * @Author: your name
63075
63101
  * @Date: 2020-11-03 15:17:54
63076
- * @LastEditTime: 2023-04-17 14:18:00
63102
+ * @LastEditTime: 2023-04-23 10:48:49
63077
63103
  * @LastEditors: liyanan 2441631434@qq.com
63078
63104
  * @Description: In User Settings Edit
63079
63105
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -63523,6 +63549,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
63523
63549
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_keyValue", '');
63524
63550
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_value", '');
63525
63551
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_insCheckSyncUpdateList", false);
63552
+ (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_hideDuringPrint", false);
63526
63553
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "_childNodes2", void 0);
63527
63554
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "StartMarkNode", void 0);
63528
63555
  (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Z)((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(_this), "EndMarkNode", void 0);
@@ -63697,6 +63724,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
63697
63724
  //选中项的key值
63698
63725
  //选中项的value值
63699
63726
  //插入检查检验同步更新列表项
63727
+ //打印时是否隐藏
63700
63728
  /**
63701
63729
  * Getter alignWithBlocked
63702
63730
  * @return {boolean}
@@ -64044,6 +64072,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
64044
64072
  this._insCheckSyncUpdateList = val;
64045
64073
  }
64046
64074
  }
64075
+ }, {
64076
+ key: "hideDuringPrint",
64077
+ get: function get() {
64078
+ return this._hideDuringPrint;
64079
+ },
64080
+ set: function set(val) {
64081
+ if (this._hideDuringPrint !== val) {
64082
+ this._hideDuringPrint = val;
64083
+ }
64084
+ }
64047
64085
  }, {
64048
64086
  key: "generateInnerCode",
64049
64087
  value: function generateInnerCode() {
@@ -64056,11 +64094,22 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
64056
64094
  }, {
64057
64095
  key: "getLabel",
64058
64096
  value: function getLabel() {
64059
- if (this._childNodes2.length == 3) {
64060
- if (this.childNodes.indexOf(this._childNodes2[1]) != -1) return this._childNodes2[1];
64097
+ //if (this._childNodes2.length == 3) {
64098
+ // if (this.childNodes.indexOf(this._childNodes2[1]) != -1) {
64099
+ // return this._childNodes2[1];
64100
+ // }
64101
+ // return null;
64102
+ if (this.childNodes.indexOf(this._childNodes2[1]) != -1) {
64103
+ return this._childNodes2[1];
64104
+ } else {
64105
+ for (var i = 0; i < this.childNodes.length; i++) {
64106
+ var child = this.childNodes[i];
64107
+ if (child instanceof _MarkNode__WEBPACK_IMPORTED_MODULE_45__/* .MarkNode */ .j && child.MarkNodeType == 1) {
64108
+ return child;
64109
+ }
64110
+ }
64061
64111
  return null;
64062
64112
  }
64063
- return null;
64064
64113
  }
64065
64114
  /**
64066
64115
  * 文本域重绘
@@ -64582,6 +64631,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
64582
64631
  //this.EndMarkNode.node2DrawNode();
64583
64632
  aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
64584
64633
  }
64634
+ if (this.hideDuringPrint && !this.isEmpty() && (hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psPreview */ .Dh.psPreview || hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_28__/* .PaintState.psPrint */ .Dh.psPrint)) {
64635
+ var hidden = function hidden(childNodes) {
64636
+ for (var h = 1; h < childNodes.length - 1; h++) {
64637
+ var child = childNodes[h];
64638
+ if (child instanceof TextInputFieldNode) {
64639
+ hidden(child.childNodes);
64640
+ }
64641
+ for (var k = 0; k < child.drawNodes.length; k++) {
64642
+ child.drawNodes[k].alpha = 0;
64643
+ }
64644
+ }
64645
+ };
64646
+ hidden(this.childNodes);
64647
+ }
64585
64648
  return aline.paragraphNode.getLastDrawline();
64586
64649
  }
64587
64650
  }, {
@@ -64917,6 +64980,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
64917
64980
  alignWithBlocked: this.alignWithBlocked,
64918
64981
  readType: this.readType,
64919
64982
  insCheckSyncUpdateList: this.insCheckSyncUpdateList,
64983
+ hideDuringPrint: this.hideDuringPrint,
64920
64984
  childNodes: childNodes
64921
64985
  };
64922
64986
  return {
@@ -65006,6 +65070,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
65006
65070
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
65007
65071
  json.readType = json.readType ? Number(json.readType) : -1;
65008
65072
  json.insCheckSyncUpdateList = !json.insCheckSyncUpdateList ? false : json.insCheckSyncUpdateList;
65073
+ json.hideDuringPrint = !json.hideDuringPrint ? false : json.hideDuringPrint;
65009
65074
  var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_40__/* .NodeType.ntField */ .Jq.ntField, json);
65010
65075
  // this.insertChild
65011
65076
  if (json.childNodes) {
@@ -71499,7 +71564,7 @@ var DrawDateTime = /*#__PURE__*/function (_DrawCombineNode) {
71499
71564
  /*
71500
71565
  * @Author: your name
71501
71566
  * @Date: 2020-11-30 10:59:00
71502
- * @LastEditTime: 2022-07-19 16:10:16
71567
+ * @LastEditTime: 2023-04-20 16:59:41
71503
71568
  * @LastEditors: liyanan 2441631434@qq.com
71504
71569
  * @Description: In User Settings Edit
71505
71570
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawDownListNode.ts
@@ -71572,6 +71637,14 @@ var DrawDownListNode = /*#__PURE__*/function (_DrawCombineNode) {
71572
71637
  if (child.name !== "backColor" && child.name !== "event") {
71573
71638
  this.children.splice(j, 1);
71574
71639
  }
71640
+ if (child.name == "backColor" && child instanceof createjs.Shape) {
71641
+ var color = child.graphics.instructions[2].style;
71642
+ this.children.splice(j, 1);
71643
+ var backColor = new createjs.Shape();
71644
+ backColor.graphics.clear().beginFill(color).drawRect(0, -this.dHeight + 2, this.dWidth, this.dHeight);
71645
+ backColor.name = "backColor";
71646
+ this.addChildAt(backColor, 0);
71647
+ }
71575
71648
  }
71576
71649
  var leftWidth = 0;
71577
71650
  for (var i = 0; i < this._text.length; i++) {
@@ -90346,8 +90419,8 @@ function expressionCalculator(expr) {
90346
90419
  /*
90347
90420
  * @Author: your name
90348
90421
  * @Date: 2020-11-30 08:42:46
90349
- * @LastEditTime: 2021-09-28 10:21:05
90350
- * @LastEditors: Please set LastEditors
90422
+ * @LastEditTime: 2023-04-19 11:36:26
90423
+ * @LastEditors: liyanan 2441631434@qq.com
90351
90424
  * @Description: In User Settings Edit
90352
90425
  * @FilePath: \hoeditor-web\src\editor\utils\UnitConvert.ts
90353
90426
  */
@@ -90464,6 +90537,47 @@ var UnitConvert = /*#__PURE__*/function () {
90464
90537
  str = str.replace(new RegExp(s1, 'gm'), s2);
90465
90538
  return str;
90466
90539
  }
90540
+ }, {
90541
+ key: "getCorrectFontSize",
90542
+ value: function getCorrectFontSize(size) {
90543
+ var correctSize = 12;
90544
+ if (size < 6) {
90545
+ if (size == 5) {
90546
+ correctSize = 5;
90547
+ } else {
90548
+ correctSize = 5.5;
90549
+ }
90550
+ } else if (size >= 6 && size <= 7) {
90551
+ correctSize = 6.5;
90552
+ } else if (size > 7 && size <= 8) {
90553
+ correctSize = 7.5;
90554
+ } else if (size > 8 && size < 10) {
90555
+ correctSize = 9;
90556
+ } else if (size >= 10 && size <= 11) {
90557
+ correctSize = 10.5;
90558
+ } else if (size > 11 && size <= 13) {
90559
+ correctSize = 12;
90560
+ } else if (size > 13 && size <= 14.5) {
90561
+ correctSize = 14;
90562
+ } else if (size > 14.5 && size <= 15.5) {
90563
+ correctSize = 15;
90564
+ } else if (size > 15.5 && size <= 17) {
90565
+ correctSize = 16;
90566
+ } else if (size > 17 && size <= 20) {
90567
+ correctSize = 18;
90568
+ } else if (size > 20 && size <= 23) {
90569
+ correctSize = 22;
90570
+ } else if (size > 23 && size <= 25) {
90571
+ correctSize = 24;
90572
+ } else if (size > 25 && size <= 31) {
90573
+ correctSize = 26;
90574
+ } else if (size > 31 && size <= 39) {
90575
+ correctSize = 36;
90576
+ } else if (size > 39) {
90577
+ correctSize = 42;
90578
+ }
90579
+ return correctSize;
90580
+ }
90467
90581
  }], [{
90468
90582
  key: "instance",
90469
90583
  get:
@@ -195860,7 +195974,7 @@ var map = {
195860
195974
  "./table/TableFormula.vue": 79032,
195861
195975
  "./table/TableProperty.vue": 47130,
195862
195976
  "./table/TableRowProperty.vue": 5218,
195863
- "./textDialog/TextDialog.vue": 94535,
195977
+ "./textDialog/TextDialog.vue": 74353,
195864
195978
  "./textDialog/TextToLabelDialog.vue": 35791,
195865
195979
  "./upload/CanvasImageDialog.vue": 94116,
195866
195980
  "./upload/HoFabric.vue": 43008,
@@ -235462,7 +235576,7 @@ var ParagraphNode = __webpack_require__(67945);
235462
235576
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
235463
235577
  var MarkNode = __webpack_require__(57727);
235464
235578
  ;// CONCATENATED MODULE: ./src/components/version.ts
235465
- /* harmony default export */ var version = ('3.0.51');
235579
+ /* harmony default export */ var version = ('3.0.53');
235466
235580
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
235467
235581
  var PoperTipText = __webpack_require__(15845);
235468
235582
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -236549,7 +236663,15 @@ var DrawPageTree = /*#__PURE__*/function () {
236549
236663
  this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
236550
236664
  this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
236551
236665
  if (dline.paragraphNode.docId != '') {
236552
- hoEditorFactory.subDocManger.updateSubDocPageIndexByPath(drawArea.pageIndex, dline.paragraphNode.docId);
236666
+ if (drawArea.children.length > 0) {
236667
+ if (drawArea.children.length == 1 && drawArea.children[0] instanceof DrawLine/* DrawLine */.a && drawArea.children[0].drawItems.length == 0) {
236668
+ hoEditorFactory.subDocManger.updateSubDocPageIndexByPath(drawArea.pageIndex, dline.paragraphNode.docId);
236669
+ } else {
236670
+ hoEditorFactory.subDocManger.updateSubDocPageIndexByPath(drawArea.pageIndex + 1, dline.paragraphNode.docId);
236671
+ }
236672
+ } else {
236673
+ hoEditorFactory.subDocManger.updateSubDocPageIndexByPath(drawArea.pageIndex, dline.paragraphNode.docId);
236674
+ }
236553
236675
  }
236554
236676
  if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
236555
236677
  }
@@ -238312,9 +238434,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
238312
238434
  //size = Math.round(hoeditorfactory.unitConvert.pxConversionMm(size, true) );
238313
238435
  size = size / 96 * 72;
238314
238436
  }
238315
- if (size == 11 || size == 11.5) {
238316
- size = 12;
238317
- }
238437
+ size = hoeditorfactory.unitConvert.getCorrectFontSize(size);
238318
238438
  tmp.size = size;
238319
238439
  }
238320
238440
  }
@@ -240750,7 +240870,8 @@ var StructureConvert = /*#__PURE__*/function () {
240750
240870
  var fontStyle = styles[i];
240751
240871
  var textStyle = new TextStyle/* TextStyle */.pn(this._hoEditorFactoryID);
240752
240872
  if (typeof fontStyle["size"] !== "undefined" && fontStyle["size"] !== defaultFont.size.toString()) {
240753
- textStyle.size = Number(fontStyle["size"]);
240873
+ //textStyle.size = Number(fontStyle["size"]);
240874
+ textStyle.size = hoEditorFactory.unitConvert.getCorrectFontSize(Number(fontStyle["size"]));
240754
240875
  }
240755
240876
  if (typeof fontStyle["font"] !== "undefined" && fontStyle["font"] !== defaultFont.font) {
240756
240877
  textStyle.font = fontStyle["font"];
@@ -244652,6 +244773,7 @@ var VueController = /*#__PURE__*/function () {
244652
244773
  if (hoEditorFactory.docTree.changing(changingEvent)) {
244653
244774
  hoEditorFactory.docController.deleteComment(type);
244654
244775
  }
244776
+ comment/* $Comment.close */.D.close();
244655
244777
  }
244656
244778
  // /**
244657
244779
  // * 设置当前用户
@@ -246261,7 +246383,7 @@ var VueController = /*#__PURE__*/function () {
246261
246383
  if (list[i][0]) {
246262
246384
  updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap);
246263
246385
  //生成随机数ID用于合并病历新起一页时,找到对应的页眉页脚
246264
- var strID = hoEditorFactory.gernerateCode.generateID('cb');
246386
+ var strID = hoEditorFactory.gernerateCode.generateID('DocId');
246265
246387
  xmlobj.header[0].beginPath = strID;
246266
246388
  xmlobj.header[0].pageIndex = -1;
246267
246389
  mergeObject.header.push(xmlobj.header[0]);
@@ -246287,7 +246409,7 @@ var VueController = /*#__PURE__*/function () {
246287
246409
  if (list[i][2]) {
246288
246410
  updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap);
246289
246411
  //生成随机数ID用于合并病历新起一页时,找到对应的页眉页脚
246290
- var _strID = hoEditorFactory.gernerateCode.generateID('cb');
246412
+ var _strID = hoEditorFactory.gernerateCode.generateID('DocId');
246291
246413
  xmlobj.header[0].beginPath = _strID;
246292
246414
  xmlobj.header[0].pageIndex = -1;
246293
246415
  mergeObject.header.push(xmlobj.header[0]);
@@ -248097,9 +248219,9 @@ var VueController = /*#__PURE__*/function () {
248097
248219
  key: "initAiFunc",
248098
248220
  value: function initAiFunc(getAiText) {
248099
248221
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
248100
- if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psEdit */.Dh.psEdit) {
248101
- hoEditorFactory.aiTextFunc = getAiText;
248102
- }
248222
+ // if (hoEditorFactory.drawTree.paintStatus === PaintState.psEdit) {
248223
+ hoEditorFactory.aiTextFunc = getAiText;
248224
+ // }
248103
248225
  }
248104
248226
  /**
248105
248227
  * 查询光标所在位置之前的文本内容
@@ -252861,6 +252983,7 @@ var jspdf = __webpack_require__(77937);
252861
252983
 
252862
252984
 
252863
252985
 
252986
+
252864
252987
 
252865
252988
 
252866
252989
  /*
@@ -253040,6 +253163,7 @@ var PrintController = /*#__PURE__*/function () {
253040
253163
  }
253041
253164
  setTimeout(function () {
253042
253165
  hoEditorFactory.vueController.moveCaretToPath(path);
253166
+ _this2.clearJsPDF();
253043
253167
  }, 0);
253044
253168
  return _context2.abrupt("return", base64.replace(/^data:application\/pdf;filename=generated.pdf;base64,/, ''));
253045
253169
  case 21:
@@ -253076,6 +253200,16 @@ var PrintController = /*#__PURE__*/function () {
253076
253200
  this.saveAsPDF();
253077
253201
  }
253078
253202
  }
253203
+ }, {
253204
+ key: "clearJsPDF",
253205
+ value: function clearJsPDF() {
253206
+ if (this.PDF.internal.getFont("SimSun")) {
253207
+ delete this.PDF.internal.getFont("SimSun").metadata;
253208
+ delete this.PDF.internal.getFont("SimSun").data;
253209
+ delete this.PDF.internal.vFS["SimSun-normal.ttf"];
253210
+ this.PDF = null;
253211
+ }
253212
+ }
253079
253213
  /**
253080
253214
  * 保存pdf
253081
253215
  * @param pdfName 可以自定义的pdf名称
@@ -253131,6 +253265,7 @@ var PrintController = /*#__PURE__*/function () {
253131
253265
  // 恢复文档状态 和 内容;
253132
253266
  hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
253133
253267
  hoEditorFactory.vueController.openXml(xml);
253268
+ _this3.clearJsPDF();
253134
253269
  });
253135
253270
  }
253136
253271
  /**
@@ -253267,6 +253402,7 @@ var PrintController = /*#__PURE__*/function () {
253267
253402
  });
253268
253403
  hoEditorFactory.vueController.rebuildAll(true);
253269
253404
  }
253405
+ _this4.clearJsPDF();
253270
253406
  }
253271
253407
  });
253272
253408
  }
@@ -253436,6 +253572,7 @@ var PrintController = /*#__PURE__*/function () {
253436
253572
  // hoEditorFactory.drawTree.rebuildAllDrawLine(false);
253437
253573
  // }, 0);
253438
253574
  console.timeEnd('连续打印总用时');
253575
+ _this5.clearJsPDF();
253439
253576
  resolves(pos);
253440
253577
  });
253441
253578
  } else {
@@ -253448,10 +253585,8 @@ var PrintController = /*#__PURE__*/function () {
253448
253585
  // hoEditorFactory.vueController.newFile("caseHistory");
253449
253586
  // 恢复文档内容
253450
253587
  hoEditorFactory.vueController.openXml(xml);
253451
- // setTimeout(() => {
253452
- // hoEditorFactory.drawTree.rebuildAllDrawLine(false);
253453
- // }, 0);
253454
253588
  console.timeEnd('连续打印总用时');
253589
+ _this5.clearJsPDF();
253455
253590
  return null;
253456
253591
  }
253457
253592
  });
@@ -253488,7 +253623,7 @@ var PrintController = /*#__PURE__*/function () {
253488
253623
  }, {
253489
253624
  key: "pintAllToPDF",
253490
253625
  value: function () {
253491
- var _pintAllToPDF = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee8(xmlList, callback) {
253626
+ var _pintAllToPDF = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee8(xmlList, callback, params) {
253492
253627
  var _this6 = this;
253493
253628
  var hoEditorFactory, beforePrintStatus, xml, xmlIndex, mergeList, position, continuousid, options, toPrint, createSvg;
253494
253629
  return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee8$(_context8) {
@@ -253517,7 +253652,11 @@ var PrintController = /*#__PURE__*/function () {
253517
253652
  while (1) {
253518
253653
  switch (_context6.prev = _context6.next) {
253519
253654
  case 0:
253520
- PrintStatus/* Print.printAllNew */.Kh.printAllNew(_this6._hoEditorFactoryID, createSvg, _this6.PDF, position);
253655
+ if (params && continuousid && Array.isArray(params.notPrintDocId) && params.notPrintDocId.length > 0 && params.notPrintDocId.includes(continuousid)) {
253656
+ PrintStatus/* Print.printAllNew */.Kh.printAllNew(_this6._hoEditorFactoryID, createSvg, _this6.PDF, position, true);
253657
+ } else {
253658
+ PrintStatus/* Print.printAllNew */.Kh.printAllNew(_this6._hoEditorFactoryID, createSvg, _this6.PDF, position);
253659
+ }
253521
253660
  case 1:
253522
253661
  case "end":
253523
253662
  return _context6.stop();
@@ -253587,6 +253726,7 @@ var PrintController = /*#__PURE__*/function () {
253587
253726
  (_this6$PDF = _this6.PDF) === null || _this6$PDF === void 0 ? void 0 : _this6$PDF.deletePage(1);
253588
253727
  name = hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : '电子病历文档';
253589
253728
  PrintStatus/* Print.openDataUriInWindow */.Kh.openDataUriInWindow(_this6.PDF, name, hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.printSilently);
253729
+ _this6.clearJsPDF();
253590
253730
  }
253591
253731
  case 2:
253592
253732
  case "end":
@@ -253607,7 +253747,7 @@ var PrintController = /*#__PURE__*/function () {
253607
253747
  }
253608
253748
  }, _callee8, this);
253609
253749
  }));
253610
- function pintAllToPDF(_x7, _x8) {
253750
+ function pintAllToPDF(_x7, _x8, _x9) {
253611
253751
  return _pintAllToPDF.apply(this, arguments);
253612
253752
  }
253613
253753
  return pintAllToPDF;
@@ -253627,54 +253767,6 @@ var PrintController = /*#__PURE__*/function () {
253627
253767
  list.push([false, v]);
253628
253768
  });
253629
253769
  hoEditorFactory.vueController.openDocsForPrint(list);
253630
- // if (!hoEditorFactory.isHideComments) {
253631
- // hoEditorFactory.vueController.hideComments(true);
253632
- // }
253633
- // hoEditorFactory.printStatus.printMode = 0;
253634
- // hoEditorFactory.drawTree.paintStatus = PaintState.psReadOnly;
253635
- // console.time("连续查看病历合并总用时");
253636
- // if (!hoEditorFactory.continuousView.status) {
253637
- // hoEditorFactory.continuousView.status = true;
253638
- // this._viewXmlList = [...xmlList];
253639
- // this._xmlIndex = -1;
253640
- // } else {
253641
- // this._viewXmlList = [...this._viewXmlList, ...xmlList];
253642
- // }
253643
- // const createSvg = () => {
253644
- // this._xmlIndex++;
253645
- // if (this._xmlIndex <= this._viewXmlList.length - 1) {
253646
- // const current = typeof this._viewXmlList[this._xmlIndex] != "string";
253647
- // const xml = current ? this._viewXmlList[this._xmlIndex].xml : this._viewXmlList[this._xmlIndex];
253648
- // const isMerge = current ? this._viewXmlList[this._xmlIndex].isMerge : false;
253649
- // if (this._xmlIndex === 0) {
253650
- // Promise.all([hoEditorFactory.vueController.openXml(xml, undefined, true)]).then(() => {
253651
- // if (hoEditorFactory.loadImageCount == 0) {
253652
- // hoEditorFactory.loadImageCallback = null;
253653
- // createSvg();
253654
- // } else {
253655
- // hoEditorFactory.loadImageCallback = createSvg;
253656
- // }
253657
- // });
253658
- // } else {
253659
- // Promise.all([hoEditorFactory.vueController.mergeDocs(xml, isMerge, undefined, true)]).then(() => {
253660
- // if (hoEditorFactory.loadImageCount == 0) {
253661
- // hoEditorFactory.loadImageCallback = null;
253662
- // createSvg();
253663
- // } else {
253664
- // hoEditorFactory.loadImageCallback = createSvg;
253665
- // }
253666
- // });
253667
- // }
253668
- // if (this._xmlIndex === this._viewXmlList.length - 1) {
253669
- // console.timeEnd("连续查看病历合并总用时");
253670
- // }
253671
- // if (mergeEnd) {
253672
- // this._xmlIndex = 0;
253673
- // this._viewXmlList = [];
253674
- // }
253675
- // }
253676
- // };
253677
- // createSvg();
253678
253770
  }
253679
253771
  }]);
253680
253772
  return PrintController;
@@ -254249,6 +254341,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
254249
254341
  // 网络中断后缓存文件
254250
254342
  // 网络连接状态
254251
254343
  // 网络连接中断后定时30s缓存一次
254344
+ // 增加页面刷新时缓存未保存的病历数据
254252
254345
  function HoLocalStorage(hoEditorFactoryID) {
254253
254346
  var _window, _window$chrome, _window$chrome$webvie;
254254
254347
  (0,esm_classCallCheck/* default */.Z)(this, HoLocalStorage);
@@ -254270,6 +254363,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
254270
254363
  (0,esm_defineProperty/* default */.Z)(this, "_offline_cache_list", void 0);
254271
254364
  (0,esm_defineProperty/* default */.Z)(this, "_networkConnectionStatus", true);
254272
254365
  (0,esm_defineProperty/* default */.Z)(this, "_offLineIntervalCacheTimer", void 0);
254366
+ (0,esm_defineProperty/* default */.Z)(this, "pageLoadCacheList", void 0);
254273
254367
  var _this = this;
254274
254368
  this._hoEditorFactoryID = hoEditorFactoryID;
254275
254369
  // 设置今天的 storeName
@@ -254327,7 +254421,11 @@ var HoLocalStorage = /*#__PURE__*/function () {
254327
254421
  name: '_ho_web',
254328
254422
  storeName: '_offline_cache_list'
254329
254423
  });
254330
- this.networkEventListener();
254424
+ this.pageLoadCacheList = localforage_default().createInstance({
254425
+ name: '_ho_web',
254426
+ storeName: 'PageLoadCacheList'
254427
+ });
254428
+ // this.networkEventListener();
254331
254429
  }
254332
254430
  //获取localXmlList
254333
254431
  }, {
@@ -262834,7 +262932,8 @@ var popper = __webpack_require__(95551);
262834
262932
  isPasted: false,
262835
262933
  isWebview: false,
262836
262934
  htmlText: '',
262837
- txtText: ''
262935
+ txtText: '',
262936
+ radioBoxSelected: false
262838
262937
  };
262839
262938
  },
262840
262939
  created: function created() {
@@ -262858,7 +262957,7 @@ var popper = __webpack_require__(95551);
262858
262957
  });
262859
262958
  },
262860
262959
  mounted: function mounted() {
262861
- var _this$hoEditorProvide, _this$hoEditorProvide2;
262960
+ var _this$hoEditorProvide, _this$hoEditorProvide2, _this$hoEditorProvide3;
262862
262961
  this.isIncludes = (_this$hoEditorProvide = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide === void 0 ? void 0 : _this$hoEditorProvide.labelNode().isIncludes;
262863
262962
  // this.patientID = this.vueController?.getDocProperty().patientID;
262864
262963
  this.isDeisgn = this.hoEditorProvider.rightNode.paintStatus;
@@ -262878,6 +262977,10 @@ var popper = __webpack_require__(95551);
262878
262977
  }]
262879
262978
  });
262880
262979
  }
262980
+ if (((_this$hoEditorProvide3 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide3 === void 0 ? void 0 : _this$hoEditorProvide3.type) === 'RadioBox') {
262981
+ var _this$hoEditorProvide4;
262982
+ this.radioBoxSelected = (_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.node().isSelected;
262983
+ }
262881
262984
  this.emrDebug = window && window.emrDebug0331 ? true : false;
262882
262985
  },
262883
262986
  methods: {
@@ -262948,6 +263051,12 @@ var popper = __webpack_require__(95551);
262948
263051
 
262949
263052
  this.handleClose();
262950
263053
  },
263054
+ cancelRadioSelect: function cancelRadioSelect() {
263055
+ this.handleClose();
263056
+ if (this.hoEditorProvider.rightNode) {
263057
+ this.vueController.cancelSelect(this.hoEditorProvider.rightNode.node());
263058
+ }
263059
+ },
262951
263060
  addDiagonal: function addDiagonal(type) {
262952
263061
  var node = this.hoEditorProvider.rightNode.node();
262953
263062
  if (node instanceof CellNode/* CellNode */.D) {
@@ -263120,16 +263229,14 @@ var popper = __webpack_require__(95551);
263120
263229
  }
263121
263230
  },
263122
263231
  render: function render() {
263123
- var _this$hoEditorProvide3,
263232
+ var _this$hoEditorProvide5,
263124
263233
  _this$$slots$hoRightS,
263125
- _this$hoEditorProvide4,
263126
- _this$hoEditorProvide5,
263127
263234
  _this$hoEditorProvide6,
263128
263235
  _this$hoEditorProvide7,
263129
263236
  _this$hoEditorProvide8,
263130
- _this5 = this,
263131
263237
  _this$hoEditorProvide9,
263132
263238
  _this$hoEditorProvide10,
263239
+ _this5 = this,
263133
263240
  _this$hoEditorProvide11,
263134
263241
  _this$hoEditorProvide12,
263135
263242
  _this$hoEditorProvide13,
@@ -263150,7 +263257,9 @@ var popper = __webpack_require__(95551);
263150
263257
  _this$hoEditorProvide28,
263151
263258
  _this$hoEditorProvide29,
263152
263259
  _this$hoEditorProvide30,
263153
- _this$hoEditorProvide31;
263260
+ _this$hoEditorProvide31,
263261
+ _this$hoEditorProvide32,
263262
+ _this$hoEditorProvide33;
263154
263263
  var h = arguments[0];
263155
263264
  return h("div", {
263156
263265
  "directives": [{
@@ -263159,7 +263268,7 @@ var popper = __webpack_require__(95551);
263159
263268
  }],
263160
263269
  "ref": "mouseRightMenuPopup",
263161
263270
  "class": "mouse-right-menu-popup animation-in"
263162
- }, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$hoEditorProvide3 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide3 === void 0 ? void 0 : _this$hoEditorProvide3.paintStatus) !== 4 && h("ul", {
263271
+ }, [(this.isPasted || this.isWebview || this.htmlText || this.txtText) && ((_this$hoEditorProvide5 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide5 === void 0 ? void 0 : _this$hoEditorProvide5.paintStatus) !== 4 && h("ul", {
263163
263272
  "class": "mouse-right-menu"
263164
263273
  }, [h("li", {
263165
263274
  "class": "mouse-menu-item",
@@ -263183,7 +263292,7 @@ var popper = __webpack_require__(95551);
263183
263292
  "class": "mouse-menu-item mouse-right-menu-line"
263184
263293
  })]), (_this$$slots$hoRightS = this.$slots.hoRightSlot) === null || _this$$slots$hoRightS === void 0 ? void 0 : _this$$slots$hoRightS.map(function (v) {
263185
263294
  return v;
263186
- }), ((_this$hoEditorProvide4 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide4 === void 0 ? void 0 : _this$hoEditorProvide4.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
263295
+ }), ((_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.paintStatus) !== 4 && h("p", [this.isIncludes === 'toLabel' && h("ul", {
263187
263296
  "class": "mouse-right-menu"
263188
263297
  }, [h("li", {
263189
263298
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263201,12 +263310,12 @@ var popper = __webpack_require__(95551);
263201
263310
  "on": {
263202
263311
  "click": this.labelToText.bind(this)
263203
263312
  }
263204
- }, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$hoEditorProvide5 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide5 === void 0 ? void 0 : _this$hoEditorProvide5.paintStatus) == 0 && h("li", {
263313
+ }, ["\u6807\u7B7E\u8F6C\u6587\u672C"]), ((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.paintStatus) == 0 && h("li", {
263205
263314
  "class": "mouse-menu-item",
263206
263315
  "on": {
263207
263316
  "click": this.editLabel.bind(this)
263208
263317
  }
263209
- }, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide6 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide6 === void 0 ? void 0 : _this$hoEditorProvide6.type) === 'express' && ((_this$hoEditorProvide7 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide7 === void 0 ? void 0 : _this$hoEditorProvide7.paintStatus) === 0 && ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.paintStatus) === 0 && h("ul", {
263318
+ }, ["\u7F16\u8F91\u6807\u7B7E\u5173\u8054\u5143\u7D20"])]), ((_this$hoEditorProvide8 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide8 === void 0 ? void 0 : _this$hoEditorProvide8.type) === 'express' && ((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.paintStatus) === 0 && ((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.paintStatus) === 0 && h("ul", {
263210
263319
  "class": "mouse-right-menu"
263211
263320
  }, [h("li", {
263212
263321
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263217,7 +263326,7 @@ var popper = __webpack_require__(95551);
263217
263326
  return _this5.toUpdateNodes('express', event);
263218
263327
  }
263219
263328
  }
263220
- }, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide9 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide9 === void 0 ? void 0 : _this$hoEditorProvide9.type) === 'RadioBox' || ((_this$hoEditorProvide10 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide10 === void 0 ? void 0 : _this$hoEditorProvide10.type) === 'CheckBox') && ((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.paintStatus) === 0 && h("ul", {
263329
+ }, ["\u533B\u5B66\u8868\u8FBE\u5F0F\u5C5E\u6027"])]), (((_this$hoEditorProvide11 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide11 === void 0 ? void 0 : _this$hoEditorProvide11.type) === 'RadioBox' || ((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.type) === 'CheckBox') && ((_this$hoEditorProvide13 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide13 === void 0 ? void 0 : _this$hoEditorProvide13.paintStatus) === 0 && h("ul", {
263221
263330
  "class": "mouse-right-menu"
263222
263331
  }, [h("li", {
263223
263332
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263229,7 +263338,18 @@ var popper = __webpack_require__(95551);
263229
263338
  return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
263230
263339
  }
263231
263340
  }
263232
- }, [((_this$hoEditorProvide12 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide12 === void 0 ? void 0 : _this$hoEditorProvide12.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), ((_this$hoEditorProvide13 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide13 === void 0 ? void 0 : _this$hoEditorProvide13.type) === 'date' && ((_this$hoEditorProvide14 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide14 === void 0 ? void 0 : _this$hoEditorProvide14.paintStatus) === 0 && h("ul", {
263341
+ }, [((_this$hoEditorProvide14 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide14 === void 0 ? void 0 : _this$hoEditorProvide14.type) === 'RadioBox' ? '单选框属性' : '复选框属性'])]), this.radioBoxSelected && h("ul", {
263342
+ "class": "mouse-right-menu"
263343
+ }, [h("li", {
263344
+ "class": "mouse-menu-item mouse-right-menu-line"
263345
+ }), h("li", {
263346
+ "class": "mouse-menu-item",
263347
+ "on": {
263348
+ "click": function click() {
263349
+ return _this5.cancelRadioSelect();
263350
+ }
263351
+ }
263352
+ }, ["\u53D6\u6D88\u9009\u4E2D"])]), ((_this$hoEditorProvide15 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide15 === void 0 ? void 0 : _this$hoEditorProvide15.type) === 'date' && ((_this$hoEditorProvide16 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide16 === void 0 ? void 0 : _this$hoEditorProvide16.paintStatus) === 0 && h("ul", {
263233
263353
  "class": "mouse-right-menu"
263234
263354
  }, [h("li", {
263235
263355
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263240,7 +263360,7 @@ var popper = __webpack_require__(95551);
263240
263360
  return _this5.toUpdateNodes('date', event);
263241
263361
  }
263242
263362
  }
263243
- }, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$hoEditorProvide15 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide15 === void 0 ? void 0 : _this$hoEditorProvide15.type) === 'select' && ((_this$hoEditorProvide16 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide16 === void 0 ? void 0 : _this$hoEditorProvide16.paintStatus) === 0 && h("ul", {
263363
+ }, ["\u65E5\u671F\u5C5E\u6027"])]), ((_this$hoEditorProvide17 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide17 === void 0 ? void 0 : _this$hoEditorProvide17.type) === 'select' && ((_this$hoEditorProvide18 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide18 === void 0 ? void 0 : _this$hoEditorProvide18.paintStatus) === 0 && h("ul", {
263244
263364
  "class": "mouse-right-menu"
263245
263365
  }, [h("li", {
263246
263366
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263251,7 +263371,7 @@ var popper = __webpack_require__(95551);
263251
263371
  return _this5.toUpdateNodes('select', event);
263252
263372
  }
263253
263373
  }
263254
- }, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$hoEditorProvide17 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide17 === void 0 ? void 0 : _this$hoEditorProvide17.type) === 'barcode' && ((_this$hoEditorProvide18 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide18 === void 0 ? void 0 : _this$hoEditorProvide18.paintStatus) === 0 && h("ul", {
263374
+ }, ["\u4E0B\u62C9\u6846\u5C5E\u6027"])]), ((_this$hoEditorProvide19 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide19 === void 0 ? void 0 : _this$hoEditorProvide19.type) === 'barcode' && ((_this$hoEditorProvide20 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide20 === void 0 ? void 0 : _this$hoEditorProvide20.paintStatus) === 0 && h("ul", {
263255
263375
  "class": "mouse-right-menu"
263256
263376
  }, [h("li", {
263257
263377
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263262,7 +263382,7 @@ var popper = __webpack_require__(95551);
263262
263382
  return _this5.toUpdateNodes('barcode', event);
263263
263383
  }
263264
263384
  }
263265
- }, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide19 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide19 === void 0 ? void 0 : _this$hoEditorProvide19.type) === 'qrcode' && ((_this$hoEditorProvide20 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide20 === void 0 ? void 0 : _this$hoEditorProvide20.paintStatus) === 0 && h("ul", {
263385
+ }, ["\u6761\u5F62\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide21 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide21 === void 0 ? void 0 : _this$hoEditorProvide21.type) === 'qrcode' && ((_this$hoEditorProvide22 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide22 === void 0 ? void 0 : _this$hoEditorProvide22.paintStatus) === 0 && h("ul", {
263266
263386
  "class": "mouse-right-menu"
263267
263387
  }, [h("li", {
263268
263388
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263273,7 +263393,7 @@ var popper = __webpack_require__(95551);
263273
263393
  return _this5.toUpdateNodes('qrcode', event);
263274
263394
  }
263275
263395
  }
263276
- }, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide21 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide21 === void 0 ? void 0 : _this$hoEditorProvide21.type) === 'edit-image' && ((_this$hoEditorProvide22 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide22 === void 0 ? void 0 : _this$hoEditorProvide22.paintStatus) === 0 && h("ul", {
263396
+ }, ["\u4E8C\u7EF4\u7801\u5C5E\u6027"])]), ((_this$hoEditorProvide23 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide23 === void 0 ? void 0 : _this$hoEditorProvide23.type) === 'edit-image' && ((_this$hoEditorProvide24 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide24 === void 0 ? void 0 : _this$hoEditorProvide24.paintStatus) === 0 && h("ul", {
263277
263397
  "class": "mouse-right-menu"
263278
263398
  }, [h("li", {
263279
263399
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263284,7 +263404,7 @@ var popper = __webpack_require__(95551);
263284
263404
  return _this5.toUpdateNodes('edit-image', event);
263285
263405
  }
263286
263406
  }
263287
- }, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$hoEditorProvide23 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide23 === void 0 ? void 0 : _this$hoEditorProvide23.type) === 'text' && ((_this$hoEditorProvide24 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide24 === void 0 ? void 0 : _this$hoEditorProvide24.paintStatus) === 0 && h("ul", {
263407
+ }, ["\u7F16\u8F91\u56FE\u7247"])]), ((_this$hoEditorProvide25 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide25 === void 0 ? void 0 : _this$hoEditorProvide25.type) === 'text' && ((_this$hoEditorProvide26 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide26 === void 0 ? void 0 : _this$hoEditorProvide26.paintStatus) === 0 && h("ul", {
263288
263408
  "class": "mouse-right-menu"
263289
263409
  }, [h("li", {
263290
263410
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263295,7 +263415,7 @@ var popper = __webpack_require__(95551);
263295
263415
  return _this5.toUpdateNodes('text', event);
263296
263416
  }
263297
263417
  }
263298
- }, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$hoEditorProvide25 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide25 === void 0 ? void 0 : _this$hoEditorProvide25.rightTypeIsTable) && this.defaultTable && (((_this$hoEditorProvide26 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide26 === void 0 ? void 0 : _this$hoEditorProvide26.paintStatus) === 0 || ((_this$hoEditorProvide27 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide27 === void 0 ? void 0 : _this$hoEditorProvide27.isCanUseTableProperty)) || this.emrDebug) && h("ul", {
263418
+ }, ["\u6587\u672C\u57DF\u5C5E\u6027"])]), (((_this$hoEditorProvide27 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide27 === void 0 ? void 0 : _this$hoEditorProvide27.rightTypeIsTable) && this.defaultTable && (((_this$hoEditorProvide28 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide28 === void 0 ? void 0 : _this$hoEditorProvide28.paintStatus) === 0 || ((_this$hoEditorProvide29 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide29 === void 0 ? void 0 : _this$hoEditorProvide29.isCanUseTableProperty)) || this.emrDebug) && h("ul", {
263299
263419
  "class": "mouse-right-menu"
263300
263420
  }, [h("li", {
263301
263421
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263334,7 +263454,7 @@ var popper = __webpack_require__(95551);
263334
263454
  return _this5.toUpdateNodes('table-formula', event);
263335
263455
  }
263336
263456
  }
263337
- }, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$hoEditorProvide28 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide28 === void 0 ? void 0 : _this$hoEditorProvide28.rightTypeIsTable) && this.defaultTable && h("ul", {
263457
+ }, [this.formularType[this.hoEditorProvider.rightNode.tableFormulaType]])]), ((_this$hoEditorProvide30 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide30 === void 0 ? void 0 : _this$hoEditorProvide30.rightTypeIsTable) && this.defaultTable && h("ul", {
263338
263458
  "class": "mouse-right-menu"
263339
263459
  }, [h("li", {
263340
263460
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263390,7 +263510,7 @@ var popper = __webpack_require__(95551);
263390
263510
  "type": "delete"
263391
263511
  },
263392
263512
  "style": "font-size: 20px;"
263393
- }), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$hoEditorProvide29 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide29 === void 0 ? void 0 : _this$hoEditorProvide29.rightTypeIsTable) && this.defaultTable && h("ul", {
263513
+ }), h("span", ["\u5220\u9664\u5BF9\u89D2\u7EBF"])])]), ((_this$hoEditorProvide31 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide31 === void 0 ? void 0 : _this$hoEditorProvide31.rightTypeIsTable) && this.defaultTable && h("ul", {
263394
263514
  "class": "mouse-right-menu"
263395
263515
  }, [h("li", {
263396
263516
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263404,7 +263524,7 @@ var popper = __webpack_require__(95551);
263404
263524
  table: this.defaultTable,
263405
263525
  tableProperty: this.hoEditorProvider.rightNode.tableProperty
263406
263526
  })
263407
- })]), ((_this$hoEditorProvide30 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide30 === void 0 ? void 0 : _this$hoEditorProvide30.canShowComment) && h("ul", {
263527
+ })]), ((_this$hoEditorProvide32 = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide32 === void 0 ? void 0 : _this$hoEditorProvide32.canShowComment) && h("ul", {
263408
263528
  "class": "mouse-right-menu"
263409
263529
  }, [h("li", {
263410
263530
  "class": "mouse-menu-item",
@@ -263413,7 +263533,7 @@ var popper = __webpack_require__(95551);
263413
263533
  return _this5.hideComments();
263414
263534
  }
263415
263535
  }
263416
- }, [(_this$hoEditorProvide31 = this.hoEditorProvider.rightNode) !== null && _this$hoEditorProvide31 !== void 0 && _this$hoEditorProvide31.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])])]), h("ul", {
263536
+ }, [(_this$hoEditorProvide33 = this.hoEditorProvider.rightNode) !== null && _this$hoEditorProvide33 !== void 0 && _this$hoEditorProvide33.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])])]), h("ul", {
263417
263537
  "class": "mouse-right-menu"
263418
263538
  }, [h("li", {
263419
263539
  "class": "mouse-menu-item"