hoeditor-web 3.0.52 → 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
 
@@ -35276,6 +35290,8 @@ var DrawPageTable = __webpack_require__(15694);
35276
35290
  var ParagraphNode = __webpack_require__(67945);
35277
35291
  // EXTERNAL MODULE: ./src/editor/draw/drawArea/DrawPageMainDoc.ts
35278
35292
  var DrawPageMainDoc = __webpack_require__(77441);
35293
+ // EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTable.ts
35294
+ var DrawTable = __webpack_require__(74298);
35279
35295
  ;// CONCATENATED MODULE: ./src/editor/PrintStatus.ts
35280
35296
 
35281
35297
 
@@ -35317,6 +35333,7 @@ var DrawPageMainDoc = __webpack_require__(77441);
35317
35333
 
35318
35334
 
35319
35335
 
35336
+
35320
35337
 
35321
35338
 
35322
35339
  /**
@@ -36438,10 +36455,14 @@ var Print = /*#__PURE__*/function () {
36438
36455
  }
36439
36456
  }
36440
36457
  firstPageIndex = -1; // 用来处理 批量打印----首次病程单独打印----未选择首次病程----只选择病程记录----合并时带上首次病程确保页数准确----打印时丢掉首次病程确保不重复打印首次病程
36441
- if (isPrintFirstDoc) {
36458
+ if (isPrintFirstDoc && firstPageIndex == -1) {
36442
36459
  hoEditorFactory.docTree.mainNodes.forEach(function (node) {
36443
- if (node instanceof ParagraphNode/* ParagraphNode */.C && node.printAsSinglePage && node.drawlines[0].parent instanceof DrawPageMainDoc/* DrawPageMainDoc */.$ && firstPageIndex == -1) {
36444
- firstPageIndex = node.drawlines[0].parent.pageIndex;
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
+ }
36445
36466
  }
36446
36467
  });
36447
36468
  }
@@ -47156,7 +47177,7 @@ var CombineStyle = /*#__PURE__*/function () {
47156
47177
  //小五
47157
47178
  fontHeight = hoeditfactory.unitConvert.mmConversionPx(3.18, false);
47158
47179
  }
47159
- if (fontSize === 10.5 || fontSize === 10) {
47180
+ if (fontSize === 10.5) {
47160
47181
  //五号
47161
47182
  fontHeight = hoeditfactory.unitConvert.mmConversionPx(3.70, false);
47162
47183
  }
@@ -52962,7 +52983,7 @@ var NodeNeedModifyEvent = __webpack_require__(76830);
52962
52983
  * @Author: liyanan 2441631434@qq.com
52963
52984
  * @Date: 2023-03-17 14:19:29
52964
52985
  * @LastEditors: liyanan 2441631434@qq.com
52965
- * @LastEditTime: 2023-03-30 09:44:07
52986
+ * @LastEditTime: 2023-04-19 15:29:42
52966
52987
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawJumpButton.ts
52967
52988
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
52968
52989
  */
@@ -53025,22 +53046,6 @@ var DrawJumpButton = /*#__PURE__*/function (_DrawCombineNode) {
53025
53046
  hoEditorFactory.docTree.nodeNeedModify(nodeNeedModifyEvent);
53026
53047
  }
53027
53048
  });
53028
- // button.addEventListener("mouseover", function () {
53029
- // const hoEditorFactory = HOEditorFactorys.instance().getFactory(drawNode._hoEditorFactoryID);
53030
- // const dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
53031
- // if (dArea) {
53032
- // (button.children[1] as createjs.Text).font = "bold " + font;
53033
- // hoEditorFactory.drawPageTree.updateDrawPage(dArea.index);
53034
- // }
53035
- // });
53036
- // button.addEventListener("mouseout", function () {
53037
- // const hoEditorFactory = HOEditorFactorys.instance().getFactory(drawNode._hoEditorFactoryID);
53038
- // const dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
53039
- // if (dArea) {
53040
- // (button.children[1] as createjs.Text).font = font;
53041
- // hoEditorFactory.drawPageTree.updateDrawPage(dArea.index);
53042
- // }
53043
- // });
53044
53049
  button.addEventListener("pressup", function () {
53045
53050
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(drawNode._hoEditorFactoryID);
53046
53051
  var dArea = hoEditorFactory.drawPageTree.getMainRootArea(drawNode);
@@ -63094,7 +63099,7 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
63094
63099
  /*
63095
63100
  * @Author: your name
63096
63101
  * @Date: 2020-11-03 15:17:54
63097
- * @LastEditTime: 2023-04-18 14:15:13
63102
+ * @LastEditTime: 2023-04-23 10:48:49
63098
63103
  * @LastEditors: liyanan 2441631434@qq.com
63099
63104
  * @Description: In User Settings Edit
63100
63105
  * @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
@@ -63544,6 +63549,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
63544
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", '');
63545
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", '');
63546
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);
63547
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);
63548
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);
63549
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);
@@ -63718,6 +63724,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
63718
63724
  //选中项的key值
63719
63725
  //选中项的value值
63720
63726
  //插入检查检验同步更新列表项
63727
+ //打印时是否隐藏
63721
63728
  /**
63722
63729
  * Getter alignWithBlocked
63723
63730
  * @return {boolean}
@@ -64065,6 +64072,16 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
64065
64072
  this._insCheckSyncUpdateList = val;
64066
64073
  }
64067
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
+ }
64068
64085
  }, {
64069
64086
  key: "generateInnerCode",
64070
64087
  value: function generateInnerCode() {
@@ -64614,6 +64631,20 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
64614
64631
  //this.EndMarkNode.node2DrawNode();
64615
64632
  aline = this.EndMarkNode.placeDNode2DrawLine(droots, paraNode, aline, start, start + this.EndMarkNode.getLength() - 1, endPath);
64616
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
+ }
64617
64648
  return aline.paragraphNode.getLastDrawline();
64618
64649
  }
64619
64650
  }, {
@@ -64949,6 +64980,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
64949
64980
  alignWithBlocked: this.alignWithBlocked,
64950
64981
  readType: this.readType,
64951
64982
  insCheckSyncUpdateList: this.insCheckSyncUpdateList,
64983
+ hideDuringPrint: this.hideDuringPrint,
64952
64984
  childNodes: childNodes
64953
64985
  };
64954
64986
  return {
@@ -65038,6 +65070,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
65038
65070
  json.isSynchro = !json.isSynchro ? false : json.isSynchro;
65039
65071
  json.readType = json.readType ? Number(json.readType) : -1;
65040
65072
  json.insCheckSyncUpdateList = !json.insCheckSyncUpdateList ? false : json.insCheckSyncUpdateList;
65073
+ json.hideDuringPrint = !json.hideDuringPrint ? false : json.hideDuringPrint;
65041
65074
  var temp = new TextInputFieldNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_40__/* .NodeType.ntField */ .Jq.ntField, json);
65042
65075
  // this.insertChild
65043
65076
  if (json.childNodes) {
@@ -71531,7 +71564,7 @@ var DrawDateTime = /*#__PURE__*/function (_DrawCombineNode) {
71531
71564
  /*
71532
71565
  * @Author: your name
71533
71566
  * @Date: 2020-11-30 10:59:00
71534
- * @LastEditTime: 2022-07-19 16:10:16
71567
+ * @LastEditTime: 2023-04-20 16:59:41
71535
71568
  * @LastEditors: liyanan 2441631434@qq.com
71536
71569
  * @Description: In User Settings Edit
71537
71570
  * @FilePath: \hoeditor-web\src\editor\draw\drawNode\DrawDownListNode.ts
@@ -71604,6 +71637,14 @@ var DrawDownListNode = /*#__PURE__*/function (_DrawCombineNode) {
71604
71637
  if (child.name !== "backColor" && child.name !== "event") {
71605
71638
  this.children.splice(j, 1);
71606
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
+ }
71607
71648
  }
71608
71649
  var leftWidth = 0;
71609
71650
  for (var i = 0; i < this._text.length; i++) {
@@ -90378,8 +90419,8 @@ function expressionCalculator(expr) {
90378
90419
  /*
90379
90420
  * @Author: your name
90380
90421
  * @Date: 2020-11-30 08:42:46
90381
- * @LastEditTime: 2021-09-28 10:21:05
90382
- * @LastEditors: Please set LastEditors
90422
+ * @LastEditTime: 2023-04-19 11:36:26
90423
+ * @LastEditors: liyanan 2441631434@qq.com
90383
90424
  * @Description: In User Settings Edit
90384
90425
  * @FilePath: \hoeditor-web\src\editor\utils\UnitConvert.ts
90385
90426
  */
@@ -90496,6 +90537,47 @@ var UnitConvert = /*#__PURE__*/function () {
90496
90537
  str = str.replace(new RegExp(s1, 'gm'), s2);
90497
90538
  return str;
90498
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
+ }
90499
90581
  }], [{
90500
90582
  key: "instance",
90501
90583
  get:
@@ -195892,7 +195974,7 @@ var map = {
195892
195974
  "./table/TableFormula.vue": 79032,
195893
195975
  "./table/TableProperty.vue": 47130,
195894
195976
  "./table/TableRowProperty.vue": 5218,
195895
- "./textDialog/TextDialog.vue": 94535,
195977
+ "./textDialog/TextDialog.vue": 74353,
195896
195978
  "./textDialog/TextToLabelDialog.vue": 35791,
195897
195979
  "./upload/CanvasImageDialog.vue": 94116,
195898
195980
  "./upload/HoFabric.vue": 43008,
@@ -235494,7 +235576,7 @@ var ParagraphNode = __webpack_require__(67945);
235494
235576
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
235495
235577
  var MarkNode = __webpack_require__(57727);
235496
235578
  ;// CONCATENATED MODULE: ./src/components/version.ts
235497
- /* harmony default export */ var version = ('3.0.52');
235579
+ /* harmony default export */ var version = ('3.0.53');
235498
235580
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
235499
235581
  var PoperTipText = __webpack_require__(15845);
235500
235582
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -236581,7 +236663,15 @@ var DrawPageTree = /*#__PURE__*/function () {
236581
236663
  this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
236582
236664
  this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
236583
236665
  if (dline.paragraphNode.docId != '') {
236584
- 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
+ }
236585
236675
  }
236586
236676
  if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
236587
236677
  }
@@ -238344,9 +238434,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
238344
238434
  //size = Math.round(hoeditorfactory.unitConvert.pxConversionMm(size, true) );
238345
238435
  size = size / 96 * 72;
238346
238436
  }
238347
- if (size == 11 || size == 11.5) {
238348
- size = 12;
238349
- }
238437
+ size = hoeditorfactory.unitConvert.getCorrectFontSize(size);
238350
238438
  tmp.size = size;
238351
238439
  }
238352
238440
  }
@@ -240782,7 +240870,8 @@ var StructureConvert = /*#__PURE__*/function () {
240782
240870
  var fontStyle = styles[i];
240783
240871
  var textStyle = new TextStyle/* TextStyle */.pn(this._hoEditorFactoryID);
240784
240872
  if (typeof fontStyle["size"] !== "undefined" && fontStyle["size"] !== defaultFont.size.toString()) {
240785
- textStyle.size = Number(fontStyle["size"]);
240873
+ //textStyle.size = Number(fontStyle["size"]);
240874
+ textStyle.size = hoEditorFactory.unitConvert.getCorrectFontSize(Number(fontStyle["size"]));
240786
240875
  }
240787
240876
  if (typeof fontStyle["font"] !== "undefined" && fontStyle["font"] !== defaultFont.font) {
240788
240877
  textStyle.font = fontStyle["font"];
@@ -244684,6 +244773,7 @@ var VueController = /*#__PURE__*/function () {
244684
244773
  if (hoEditorFactory.docTree.changing(changingEvent)) {
244685
244774
  hoEditorFactory.docController.deleteComment(type);
244686
244775
  }
244776
+ comment/* $Comment.close */.D.close();
244687
244777
  }
244688
244778
  // /**
244689
244779
  // * 设置当前用户
@@ -246293,7 +246383,7 @@ var VueController = /*#__PURE__*/function () {
246293
246383
  if (list[i][0]) {
246294
246384
  updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap);
246295
246385
  //生成随机数ID用于合并病历新起一页时,找到对应的页眉页脚
246296
- var strID = hoEditorFactory.gernerateCode.generateID('cb');
246386
+ var strID = hoEditorFactory.gernerateCode.generateID('DocId');
246297
246387
  xmlobj.header[0].beginPath = strID;
246298
246388
  xmlobj.header[0].pageIndex = -1;
246299
246389
  mergeObject.header.push(xmlobj.header[0]);
@@ -246319,7 +246409,7 @@ var VueController = /*#__PURE__*/function () {
246319
246409
  if (list[i][2]) {
246320
246410
  updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap);
246321
246411
  //生成随机数ID用于合并病历新起一页时,找到对应的页眉页脚
246322
- var _strID = hoEditorFactory.gernerateCode.generateID('cb');
246412
+ var _strID = hoEditorFactory.gernerateCode.generateID('DocId');
246323
246413
  xmlobj.header[0].beginPath = _strID;
246324
246414
  xmlobj.header[0].pageIndex = -1;
246325
246415
  mergeObject.header.push(xmlobj.header[0]);
@@ -248129,9 +248219,9 @@ var VueController = /*#__PURE__*/function () {
248129
248219
  key: "initAiFunc",
248130
248220
  value: function initAiFunc(getAiText) {
248131
248221
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
248132
- if (hoEditorFactory.drawTree.paintStatus === DrawTree/* PaintState.psEdit */.Dh.psEdit) {
248133
- hoEditorFactory.aiTextFunc = getAiText;
248134
- }
248222
+ // if (hoEditorFactory.drawTree.paintStatus === PaintState.psEdit) {
248223
+ hoEditorFactory.aiTextFunc = getAiText;
248224
+ // }
248135
248225
  }
248136
248226
  /**
248137
248227
  * 查询光标所在位置之前的文本内容
@@ -253073,6 +253163,7 @@ var PrintController = /*#__PURE__*/function () {
253073
253163
  }
253074
253164
  setTimeout(function () {
253075
253165
  hoEditorFactory.vueController.moveCaretToPath(path);
253166
+ _this2.clearJsPDF();
253076
253167
  }, 0);
253077
253168
  return _context2.abrupt("return", base64.replace(/^data:application\/pdf;filename=generated.pdf;base64,/, ''));
253078
253169
  case 21:
@@ -253109,6 +253200,16 @@ var PrintController = /*#__PURE__*/function () {
253109
253200
  this.saveAsPDF();
253110
253201
  }
253111
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
+ }
253112
253213
  /**
253113
253214
  * 保存pdf
253114
253215
  * @param pdfName 可以自定义的pdf名称
@@ -253164,6 +253265,7 @@ var PrintController = /*#__PURE__*/function () {
253164
253265
  // 恢复文档状态 和 内容;
253165
253266
  hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
253166
253267
  hoEditorFactory.vueController.openXml(xml);
253268
+ _this3.clearJsPDF();
253167
253269
  });
253168
253270
  }
253169
253271
  /**
@@ -253300,6 +253402,7 @@ var PrintController = /*#__PURE__*/function () {
253300
253402
  });
253301
253403
  hoEditorFactory.vueController.rebuildAll(true);
253302
253404
  }
253405
+ _this4.clearJsPDF();
253303
253406
  }
253304
253407
  });
253305
253408
  }
@@ -253469,6 +253572,7 @@ var PrintController = /*#__PURE__*/function () {
253469
253572
  // hoEditorFactory.drawTree.rebuildAllDrawLine(false);
253470
253573
  // }, 0);
253471
253574
  console.timeEnd('连续打印总用时');
253575
+ _this5.clearJsPDF();
253472
253576
  resolves(pos);
253473
253577
  });
253474
253578
  } else {
@@ -253481,10 +253585,8 @@ var PrintController = /*#__PURE__*/function () {
253481
253585
  // hoEditorFactory.vueController.newFile("caseHistory");
253482
253586
  // 恢复文档内容
253483
253587
  hoEditorFactory.vueController.openXml(xml);
253484
- // setTimeout(() => {
253485
- // hoEditorFactory.drawTree.rebuildAllDrawLine(false);
253486
- // }, 0);
253487
253588
  console.timeEnd('连续打印总用时');
253589
+ _this5.clearJsPDF();
253488
253590
  return null;
253489
253591
  }
253490
253592
  });
@@ -253624,6 +253726,7 @@ var PrintController = /*#__PURE__*/function () {
253624
253726
  (_this6$PDF = _this6.PDF) === null || _this6$PDF === void 0 ? void 0 : _this6$PDF.deletePage(1);
253625
253727
  name = hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : '电子病历文档';
253626
253728
  PrintStatus/* Print.openDataUriInWindow */.Kh.openDataUriInWindow(_this6.PDF, name, hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.printSilently);
253729
+ _this6.clearJsPDF();
253627
253730
  }
253628
253731
  case 2:
253629
253732
  case "end":
@@ -253664,54 +253767,6 @@ var PrintController = /*#__PURE__*/function () {
253664
253767
  list.push([false, v]);
253665
253768
  });
253666
253769
  hoEditorFactory.vueController.openDocsForPrint(list);
253667
- // if (!hoEditorFactory.isHideComments) {
253668
- // hoEditorFactory.vueController.hideComments(true);
253669
- // }
253670
- // hoEditorFactory.printStatus.printMode = 0;
253671
- // hoEditorFactory.drawTree.paintStatus = PaintState.psReadOnly;
253672
- // console.time("连续查看病历合并总用时");
253673
- // if (!hoEditorFactory.continuousView.status) {
253674
- // hoEditorFactory.continuousView.status = true;
253675
- // this._viewXmlList = [...xmlList];
253676
- // this._xmlIndex = -1;
253677
- // } else {
253678
- // this._viewXmlList = [...this._viewXmlList, ...xmlList];
253679
- // }
253680
- // const createSvg = () => {
253681
- // this._xmlIndex++;
253682
- // if (this._xmlIndex <= this._viewXmlList.length - 1) {
253683
- // const current = typeof this._viewXmlList[this._xmlIndex] != "string";
253684
- // const xml = current ? this._viewXmlList[this._xmlIndex].xml : this._viewXmlList[this._xmlIndex];
253685
- // const isMerge = current ? this._viewXmlList[this._xmlIndex].isMerge : false;
253686
- // if (this._xmlIndex === 0) {
253687
- // Promise.all([hoEditorFactory.vueController.openXml(xml, undefined, true)]).then(() => {
253688
- // if (hoEditorFactory.loadImageCount == 0) {
253689
- // hoEditorFactory.loadImageCallback = null;
253690
- // createSvg();
253691
- // } else {
253692
- // hoEditorFactory.loadImageCallback = createSvg;
253693
- // }
253694
- // });
253695
- // } else {
253696
- // Promise.all([hoEditorFactory.vueController.mergeDocs(xml, isMerge, undefined, true)]).then(() => {
253697
- // if (hoEditorFactory.loadImageCount == 0) {
253698
- // hoEditorFactory.loadImageCallback = null;
253699
- // createSvg();
253700
- // } else {
253701
- // hoEditorFactory.loadImageCallback = createSvg;
253702
- // }
253703
- // });
253704
- // }
253705
- // if (this._xmlIndex === this._viewXmlList.length - 1) {
253706
- // console.timeEnd("连续查看病历合并总用时");
253707
- // }
253708
- // if (mergeEnd) {
253709
- // this._xmlIndex = 0;
253710
- // this._viewXmlList = [];
253711
- // }
253712
- // }
253713
- // };
253714
- // createSvg();
253715
253770
  }
253716
253771
  }]);
253717
253772
  return PrintController;
@@ -254286,6 +254341,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
254286
254341
  // 网络中断后缓存文件
254287
254342
  // 网络连接状态
254288
254343
  // 网络连接中断后定时30s缓存一次
254344
+ // 增加页面刷新时缓存未保存的病历数据
254289
254345
  function HoLocalStorage(hoEditorFactoryID) {
254290
254346
  var _window, _window$chrome, _window$chrome$webvie;
254291
254347
  (0,esm_classCallCheck/* default */.Z)(this, HoLocalStorage);
@@ -254307,6 +254363,7 @@ var HoLocalStorage = /*#__PURE__*/function () {
254307
254363
  (0,esm_defineProperty/* default */.Z)(this, "_offline_cache_list", void 0);
254308
254364
  (0,esm_defineProperty/* default */.Z)(this, "_networkConnectionStatus", true);
254309
254365
  (0,esm_defineProperty/* default */.Z)(this, "_offLineIntervalCacheTimer", void 0);
254366
+ (0,esm_defineProperty/* default */.Z)(this, "pageLoadCacheList", void 0);
254310
254367
  var _this = this;
254311
254368
  this._hoEditorFactoryID = hoEditorFactoryID;
254312
254369
  // 设置今天的 storeName
@@ -254364,7 +254421,11 @@ var HoLocalStorage = /*#__PURE__*/function () {
254364
254421
  name: '_ho_web',
254365
254422
  storeName: '_offline_cache_list'
254366
254423
  });
254367
- this.networkEventListener();
254424
+ this.pageLoadCacheList = localforage_default().createInstance({
254425
+ name: '_ho_web',
254426
+ storeName: 'PageLoadCacheList'
254427
+ });
254428
+ // this.networkEventListener();
254368
254429
  }
254369
254430
  //获取localXmlList
254370
254431
  }, {
@@ -262871,7 +262932,8 @@ var popper = __webpack_require__(95551);
262871
262932
  isPasted: false,
262872
262933
  isWebview: false,
262873
262934
  htmlText: '',
262874
- txtText: ''
262935
+ txtText: '',
262936
+ radioBoxSelected: false
262875
262937
  };
262876
262938
  },
262877
262939
  created: function created() {
@@ -262895,7 +262957,7 @@ var popper = __webpack_require__(95551);
262895
262957
  });
262896
262958
  },
262897
262959
  mounted: function mounted() {
262898
- var _this$hoEditorProvide, _this$hoEditorProvide2;
262960
+ var _this$hoEditorProvide, _this$hoEditorProvide2, _this$hoEditorProvide3;
262899
262961
  this.isIncludes = (_this$hoEditorProvide = this.hoEditorProvider.rightNode) === null || _this$hoEditorProvide === void 0 ? void 0 : _this$hoEditorProvide.labelNode().isIncludes;
262900
262962
  // this.patientID = this.vueController?.getDocProperty().patientID;
262901
262963
  this.isDeisgn = this.hoEditorProvider.rightNode.paintStatus;
@@ -262915,6 +262977,10 @@ var popper = __webpack_require__(95551);
262915
262977
  }]
262916
262978
  });
262917
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
+ }
262918
262984
  this.emrDebug = window && window.emrDebug0331 ? true : false;
262919
262985
  },
262920
262986
  methods: {
@@ -262985,6 +263051,12 @@ var popper = __webpack_require__(95551);
262985
263051
 
262986
263052
  this.handleClose();
262987
263053
  },
263054
+ cancelRadioSelect: function cancelRadioSelect() {
263055
+ this.handleClose();
263056
+ if (this.hoEditorProvider.rightNode) {
263057
+ this.vueController.cancelSelect(this.hoEditorProvider.rightNode.node());
263058
+ }
263059
+ },
262988
263060
  addDiagonal: function addDiagonal(type) {
262989
263061
  var node = this.hoEditorProvider.rightNode.node();
262990
263062
  if (node instanceof CellNode/* CellNode */.D) {
@@ -263157,16 +263229,14 @@ var popper = __webpack_require__(95551);
263157
263229
  }
263158
263230
  },
263159
263231
  render: function render() {
263160
- var _this$hoEditorProvide3,
263232
+ var _this$hoEditorProvide5,
263161
263233
  _this$$slots$hoRightS,
263162
- _this$hoEditorProvide4,
263163
- _this$hoEditorProvide5,
263164
263234
  _this$hoEditorProvide6,
263165
263235
  _this$hoEditorProvide7,
263166
263236
  _this$hoEditorProvide8,
263167
- _this5 = this,
263168
263237
  _this$hoEditorProvide9,
263169
263238
  _this$hoEditorProvide10,
263239
+ _this5 = this,
263170
263240
  _this$hoEditorProvide11,
263171
263241
  _this$hoEditorProvide12,
263172
263242
  _this$hoEditorProvide13,
@@ -263187,7 +263257,9 @@ var popper = __webpack_require__(95551);
263187
263257
  _this$hoEditorProvide28,
263188
263258
  _this$hoEditorProvide29,
263189
263259
  _this$hoEditorProvide30,
263190
- _this$hoEditorProvide31;
263260
+ _this$hoEditorProvide31,
263261
+ _this$hoEditorProvide32,
263262
+ _this$hoEditorProvide33;
263191
263263
  var h = arguments[0];
263192
263264
  return h("div", {
263193
263265
  "directives": [{
@@ -263196,7 +263268,7 @@ var popper = __webpack_require__(95551);
263196
263268
  }],
263197
263269
  "ref": "mouseRightMenuPopup",
263198
263270
  "class": "mouse-right-menu-popup animation-in"
263199
- }, [(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", {
263200
263272
  "class": "mouse-right-menu"
263201
263273
  }, [h("li", {
263202
263274
  "class": "mouse-menu-item",
@@ -263220,7 +263292,7 @@ var popper = __webpack_require__(95551);
263220
263292
  "class": "mouse-menu-item mouse-right-menu-line"
263221
263293
  })]), (_this$$slots$hoRightS = this.$slots.hoRightSlot) === null || _this$$slots$hoRightS === void 0 ? void 0 : _this$$slots$hoRightS.map(function (v) {
263222
263294
  return v;
263223
- }), ((_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", {
263224
263296
  "class": "mouse-right-menu"
263225
263297
  }, [h("li", {
263226
263298
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263238,12 +263310,12 @@ var popper = __webpack_require__(95551);
263238
263310
  "on": {
263239
263311
  "click": this.labelToText.bind(this)
263240
263312
  }
263241
- }, ["\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", {
263242
263314
  "class": "mouse-menu-item",
263243
263315
  "on": {
263244
263316
  "click": this.editLabel.bind(this)
263245
263317
  }
263246
- }, ["\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", {
263247
263319
  "class": "mouse-right-menu"
263248
263320
  }, [h("li", {
263249
263321
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263254,7 +263326,7 @@ var popper = __webpack_require__(95551);
263254
263326
  return _this5.toUpdateNodes('express', event);
263255
263327
  }
263256
263328
  }
263257
- }, ["\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", {
263258
263330
  "class": "mouse-right-menu"
263259
263331
  }, [h("li", {
263260
263332
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263266,7 +263338,18 @@ var popper = __webpack_require__(95551);
263266
263338
  return _this5.toUpdateNodes((_this5$hoEditorProvid = _this5.hoEditorProvider.rightNode) === null || _this5$hoEditorProvid === void 0 ? void 0 : _this5$hoEditorProvid.type, event);
263267
263339
  }
263268
263340
  }
263269
- }, [((_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", {
263270
263353
  "class": "mouse-right-menu"
263271
263354
  }, [h("li", {
263272
263355
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263277,7 +263360,7 @@ var popper = __webpack_require__(95551);
263277
263360
  return _this5.toUpdateNodes('date', event);
263278
263361
  }
263279
263362
  }
263280
- }, ["\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", {
263281
263364
  "class": "mouse-right-menu"
263282
263365
  }, [h("li", {
263283
263366
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263288,7 +263371,7 @@ var popper = __webpack_require__(95551);
263288
263371
  return _this5.toUpdateNodes('select', event);
263289
263372
  }
263290
263373
  }
263291
- }, ["\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", {
263292
263375
  "class": "mouse-right-menu"
263293
263376
  }, [h("li", {
263294
263377
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263299,7 +263382,7 @@ var popper = __webpack_require__(95551);
263299
263382
  return _this5.toUpdateNodes('barcode', event);
263300
263383
  }
263301
263384
  }
263302
- }, ["\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", {
263303
263386
  "class": "mouse-right-menu"
263304
263387
  }, [h("li", {
263305
263388
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263310,7 +263393,7 @@ var popper = __webpack_require__(95551);
263310
263393
  return _this5.toUpdateNodes('qrcode', event);
263311
263394
  }
263312
263395
  }
263313
- }, ["\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", {
263314
263397
  "class": "mouse-right-menu"
263315
263398
  }, [h("li", {
263316
263399
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263321,7 +263404,7 @@ var popper = __webpack_require__(95551);
263321
263404
  return _this5.toUpdateNodes('edit-image', event);
263322
263405
  }
263323
263406
  }
263324
- }, ["\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", {
263325
263408
  "class": "mouse-right-menu"
263326
263409
  }, [h("li", {
263327
263410
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263332,7 +263415,7 @@ var popper = __webpack_require__(95551);
263332
263415
  return _this5.toUpdateNodes('text', event);
263333
263416
  }
263334
263417
  }
263335
- }, ["\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", {
263336
263419
  "class": "mouse-right-menu"
263337
263420
  }, [h("li", {
263338
263421
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263371,7 +263454,7 @@ var popper = __webpack_require__(95551);
263371
263454
  return _this5.toUpdateNodes('table-formula', event);
263372
263455
  }
263373
263456
  }
263374
- }, [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", {
263375
263458
  "class": "mouse-right-menu"
263376
263459
  }, [h("li", {
263377
263460
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263427,7 +263510,7 @@ var popper = __webpack_require__(95551);
263427
263510
  "type": "delete"
263428
263511
  },
263429
263512
  "style": "font-size: 20px;"
263430
- }), 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", {
263431
263514
  "class": "mouse-right-menu"
263432
263515
  }, [h("li", {
263433
263516
  "class": "mouse-menu-item mouse-right-menu-line"
@@ -263441,7 +263524,7 @@ var popper = __webpack_require__(95551);
263441
263524
  table: this.defaultTable,
263442
263525
  tableProperty: this.hoEditorProvider.rightNode.tableProperty
263443
263526
  })
263444
- })]), ((_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", {
263445
263528
  "class": "mouse-right-menu"
263446
263529
  }, [h("li", {
263447
263530
  "class": "mouse-menu-item",
@@ -263450,7 +263533,7 @@ var popper = __webpack_require__(95551);
263450
263533
  return _this5.hideComments();
263451
263534
  }
263452
263535
  }
263453
- }, [(_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", {
263454
263537
  "class": "mouse-right-menu"
263455
263538
  }, [h("li", {
263456
263539
  "class": "mouse-menu-item"