hoeditor-web 1.0.2 → 2.0.1

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.
@@ -24632,10 +24632,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
24632
24632
  if (type === "html") {
24633
24633
  svgBox = document.createElement("div");
24634
24634
  svgBox.className = "ho-print-svg-box";
24635
- } //NOTE: format属性如果使用Array时,orientation需要手工设置下
24636
- // 如果foramt使用的string时,orientation根据实际情况来设置
24637
- // const PDF = new JsPDF('p', "mm", "a4");
24638
-
24635
+ }
24639
24636
 
24640
24637
  last = -1;
24641
24638
  _iterator = Object(createForOfIteratorHelper["a" /* default */])(hoEditorFactory.printStatus.printProcess());
@@ -24667,8 +24664,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
24667
24664
 
24668
24665
  case 16:
24669
24666
  last = index;
24670
- cpage = hoEditorFactory.drawTree.drawPages[index]; // console.log(cpage.drawMainDoc.topDline);
24671
- // console.log(cpage.drawMainDoc.bottomDline)
24667
+ cpage = hoEditorFactory.drawTree.drawPages[index];
24672
24668
 
24673
24669
  if (!(index === hoEditorFactory.drawTree.drawPages.length - 1 && cpage.drawMainDoc.children.length === 2 && cpage.drawMainDoc.children[1] && cpage.drawMainDoc.children[1].drawItems.length === 0)) {
24674
24670
  _context2.next = 20;
@@ -24678,10 +24674,6 @@ var PrintStatus_Print = /*#__PURE__*/function () {
24678
24674
  return _context2.abrupt("break", 44);
24679
24675
 
24680
24676
  case 20:
24681
- // if(index == hoEditorFactory.drawTree.drawPages.length && cpage.drawMainDoc.topDline === cpage.drawMainDoc.bottomDline && cpage.drawMainDoc.topDline instanceof DrawLine && cpage.drawMainDoc.topDline.drawItems.length === 0) {
24682
- // console.log("11111111ssssssssss")
24683
- // return;
24684
- // }
24685
24677
  if (cpage.drawDomLevel && !cpage.drawDomLevel.stage) {
24686
24678
  cpage.drawDomLevel.bindStage();
24687
24679
  cpage.needUpdateStage = true;
@@ -25084,7 +25076,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
25084
25076
  }, {
25085
25077
  key: "printAllXml",
25086
25078
  value: function () {
25087
- var _printAllXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(hoEditorFactoryID, reslove, PDF) {
25079
+ var _printAllXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(hoEditorFactoryID, reslove, PDF, status) {
25088
25080
  var hoEditorFactory, orientation, svgBox, last, _iterator3, _step3, _cpage$drawDomLevel4, _cpage$drawDomLevel4$, _cpage$drawDomLevel5, index, cpage, ctx, svgData;
25089
25081
 
25090
25082
  return regeneratorRuntime.wrap(function _callee4$(_context5) {
@@ -25199,7 +25191,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
25199
25191
  }, _callee4, null, [[9, 35, 38, 41]]);
25200
25192
  }));
25201
25193
 
25202
- function printAllXml(_x11, _x12, _x13) {
25194
+ function printAllXml(_x11, _x12, _x13, _x14) {
25203
25195
  return _printAllXml.apply(this, arguments);
25204
25196
  }
25205
25197
 
@@ -25319,7 +25311,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
25319
25311
  }, _callee5, null, [[9, 34, 37, 40]]);
25320
25312
  }));
25321
25313
 
25322
- function printToHtml(_x14, _x15, _x16) {
25314
+ function printToHtml(_x15, _x16, _x17) {
25323
25315
  return _printToHtml.apply(this, arguments);
25324
25316
  }
25325
25317
 
@@ -48313,6 +48305,17 @@ if (!_vue2.default.prototype.$isServer) {
48313
48305
 
48314
48306
  exports.default = PopupManager;
48315
48307
 
48308
+ /***/ }),
48309
+
48310
+ /***/ "4b36":
48311
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
48312
+
48313
+ "use strict";
48314
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_858143be_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9373");
48315
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_858143be_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_858143be_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
48316
+ /* unused harmony reexport * */
48317
+
48318
+
48316
48319
  /***/ }),
48317
48320
 
48318
48321
  /***/ "4b89":
@@ -66796,10 +66799,10 @@ var generateGetBoundingClientRect = function generateGetBoundingClientRect(poper
66796
66799
  var y = selectCanvasSize.top + poperPos.y;
66797
66800
  return function () {
66798
66801
  return {
66799
- width: 0,
66800
- height: 0,
66801
- top: y,
66802
- right: x + poperPos.width,
66802
+ width: poperPos.width,
66803
+ height: poperPos.height,
66804
+ top: y - poperPos.height,
66805
+ right: x,
66803
66806
  bottom: y + poperPos.height,
66804
66807
  left: x
66805
66808
  };
@@ -66869,11 +66872,11 @@ var createRightMenu = function createRightMenu(clientX, clientY, rightMenuModal)
66869
66872
  getBoundingClientRect: generateGetBoundingClientRect(clientX, clientY)
66870
66873
  };
66871
66874
  Object(_popperjs_core__WEBPACK_IMPORTED_MODULE_9__[/* createPopper */ "a"])(virtualElement, rightMenuModal, {
66872
- placement: 'bottom-start',
66875
+ placement: 'top-start',
66873
66876
  modifiers: [{
66874
66877
  name: 'flip',
66875
66878
  options: {
66876
- fallbackPlacements: ['top-start', "top", 'left', "right"],
66879
+ fallbackPlacements: ['top-start', "top", 'right', "left"],
66877
66880
  padding: 10
66878
66881
  }
66879
66882
  }]
@@ -96459,7 +96462,7 @@ var PageProperty = /*#__PURE__*/function () {
96459
96462
  this._widthMm = value;
96460
96463
  this._widthPixes = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(this._widthMm + this._commentWidthMm, true);
96461
96464
  var width = this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY % 2 >= 1 ? this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY + 1 : this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
96462
- this._canvasParams.width = this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
96465
+ this._canvasParams.width = width * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
96463
96466
  }
96464
96467
  }
96465
96468
  }, {
@@ -98771,6 +98774,13 @@ var UndoInfo = function UndoInfo(path, node) {
98771
98774
 
98772
98775
  /***/ }),
98773
98776
 
98777
+ /***/ "9373":
98778
+ /***/ (function(module, exports, __webpack_require__) {
98779
+
98780
+ // extracted by mini-css-extract-plugin
98781
+
98782
+ /***/ }),
98783
+
98774
98784
  /***/ "93cb":
98775
98785
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
98776
98786
 
@@ -153262,17 +153272,6 @@ progress.install = function (Vue) {
153262
153272
 
153263
153273
  /******/ });
153264
153274
 
153265
- /***/ }),
153266
-
153267
- /***/ "c337":
153268
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
153269
-
153270
- "use strict";
153271
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_5ff7a058_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c820");
153272
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_5ff7a058_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_5ff7a058_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
153273
- /* unused harmony reexport * */
153274
-
153275
-
153276
153275
  /***/ }),
153277
153276
 
153278
153277
  /***/ "c416":
@@ -154187,13 +154186,6 @@ var Paragraph = /*#__PURE__*/function () {
154187
154186
 
154188
154187
  /***/ }),
154189
154188
 
154190
- /***/ "c820":
154191
- /***/ (function(module, exports, __webpack_require__) {
154192
-
154193
- // extracted by mini-css-extract-plugin
154194
-
154195
- /***/ }),
154196
-
154197
154189
  /***/ "c8ba":
154198
154190
  /***/ (function(module, exports) {
154199
154191
 
@@ -181188,12 +181180,12 @@ function isPromise(obj) {
181188
181180
  return obj instanceof Promise || (obj && typeof obj.then === 'function');
181189
181181
  }
181190
181182
 
181191
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=db861dc8&
181192
- var HoDocvue_type_template_id_db861dc8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount - 1 && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount + 1)?_c('HoPage',{directives:[{name:"show",rawName:"v-show",value:(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount),expression:"pgIndex - 1 >= currentPageIndex * paginationCount && pgIndex - 1 < (currentPageIndex + 1) * paginationCount"}],key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)}):_vm._e()]})],2):_vm._e(),(_vm.currentPageList > 1)?_c('ul',{staticClass:"draw-pagination"},_vm._l((_vm.currentPageList),function(i){return _c('li',{key:i,class:_vm.currentPageIndex === i - 1 ? 'current-pagination' : '',on:{"click":function($event){return _vm.setCurrentPagination(i - 1)}}},[_vm._v(_vm._s(i))])}),0):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return _vm.isCreateRightMenuModal = false; }),expression:"() => isCreateRightMenuModal = false"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v("编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
181193
- var HoDocvue_type_template_id_db861dc8_staticRenderFns = []
181183
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=098ad338&
181184
+ var HoDocvue_type_template_id_098ad338_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount - 1 && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount + 1)?_c('HoPage',{directives:[{name:"show",rawName:"v-show",value:(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount),expression:"pgIndex - 1 >= currentPageIndex * paginationCount && pgIndex - 1 < (currentPageIndex + 1) * paginationCount"}],key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)}):_vm._e()]})],2):_vm._e(),(_vm.currentPageList > 1)?_c('ul',{staticClass:"draw-pagination"},_vm._l((_vm.currentPageList),function(i){return _c('li',{key:i,class:_vm.currentPageIndex === i - 1 ? 'current-pagination' : '',on:{"click":function($event){return _vm.setCurrentPagination(i - 1)}}},[_vm._v(_vm._s(i))])}),0):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return _vm.isCreateRightMenuModal = false; }),expression:"() => isCreateRightMenuModal = false"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? '显示' : '隐藏')+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v("编辑器内核版本:   "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
181185
+ var HoDocvue_type_template_id_098ad338_staticRenderFns = []
181194
181186
 
181195
181187
 
181196
- // CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=db861dc8&
181188
+ // CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=098ad338&
181197
181189
 
181198
181190
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
181199
181191
  var toConsumableArray = __webpack_require__("2909");
@@ -183079,14 +183071,14 @@ var HoToPage_component = normalizeComponent(
183079
183071
  // CONCATENATED MODULE: ./src/components/backToPage/index.ts
183080
183072
 
183081
183073
  /* harmony default export */ var backToPage = (HoToPage);
183082
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=5ff7a058&scoped=true&
183083
- var PoperSelectvue_type_template_id_5ff7a058_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
183074
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=858143be&scoped=true&
183075
+ var PoperSelectvue_type_template_id_858143be_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
183084
183076
  var item = ref.item;
183085
183077
  return [_c('el-checkbox',{key:item.id,attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]}}],null,false,641533331)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id,attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id,attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id,staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
183086
- var PoperSelectvue_type_template_id_5ff7a058_scoped_true_staticRenderFns = []
183078
+ var PoperSelectvue_type_template_id_858143be_scoped_true_staticRenderFns = []
183087
183079
 
183088
183080
 
183089
- // CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=5ff7a058&scoped=true&
183081
+ // CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=858143be&scoped=true&
183090
183082
 
183091
183083
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
183092
183084
  var es_object_assign = __webpack_require__("cca6");
@@ -183771,6 +183763,8 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183771
183763
  }, {
183772
183764
  key: "mounted",
183773
183765
  value: function mounted() {
183766
+ var _this3 = this;
183767
+
183774
183768
  var virtualElement = {
183775
183769
  getBoundingClientRect: Object(util["g" /* generateGetBoundingClientRect */])(this.poperPos)
183776
183770
  };
@@ -183779,11 +183773,14 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183779
183773
  modifiers: [{
183780
183774
  name: "flip",
183781
183775
  options: {
183782
- fallbackPlacements: ["top-start", "top", "left", "right"],
183776
+ fallbackPlacements: ["bottom-start", "top-start", "right-start", "left-start"],
183783
183777
  padding: 10
183784
183778
  }
183785
183779
  }]
183786
183780
  });
183781
+ setTimeout(function () {
183782
+ _this3.poppernIstance && _this3.poppernIstance.update();
183783
+ }, 0);
183787
183784
  }
183788
183785
  }, {
183789
183786
  key: "arrowKeysController",
@@ -183855,7 +183852,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183855
183852
  }, {
183856
183853
  key: "currentDateTime",
183857
183854
  value: function currentDateTime() {
183858
- var _this3 = this;
183855
+ var _this4 = this;
183859
183856
 
183860
183857
  var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
183861
183858
  var node = this.getCurrentPoperNode();
@@ -183872,7 +183869,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183872
183869
  };
183873
183870
  hoEditorFactory.vueController.updateDateTime(JSON.stringify(params));
183874
183871
  this.$nextTick(function () {
183875
- return _this3.handleClose();
183872
+ return _this4.handleClose();
183876
183873
  });
183877
183874
  }
183878
183875
  }, {
@@ -183963,13 +183960,13 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183963
183960
  }, {
183964
183961
  key: "mutexSelectItemsChange",
183965
183962
  value: function mutexSelectItemsChange(value) {
183966
- var _this4 = this;
183963
+ var _this5 = this;
183967
183964
 
183968
183965
  if (value.length > 0) {
183969
183966
  this.poperSelectList.forEach(function (v) {
183970
183967
  if (value.includes(v.id)) {
183971
183968
  v.default = true;
183972
- _this4.mutexType = String(v.type);
183969
+ _this5.mutexType = String(v.type);
183973
183970
  } else {
183974
183971
  v.default = false;
183975
183972
  }
@@ -183978,7 +183975,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183978
183975
  } else if (value.length === 0) {
183979
183976
  this.poperSelectList.forEach(function (v) {
183980
183977
  v.default = false;
183981
- _this4.mutexType = "";
183978
+ _this5.mutexType = "";
183982
183979
  });
183983
183980
  this.currentList = Object(toConsumableArray["a" /* default */])(this.poperSelectList);
183984
183981
  }
@@ -183990,7 +183987,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183990
183987
  }, {
183991
183988
  key: "selectItemsChange",
183992
183989
  value: function selectItemsChange(value) {
183993
- var _this5 = this;
183990
+ var _this6 = this;
183994
183991
 
183995
183992
  if (!this.isAllowMultiSelect) {
183996
183993
  var item = {};
@@ -184012,14 +184009,14 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184012
184009
  if (value.includes(v.id)) {
184013
184010
  v.default = true;
184014
184011
 
184015
- if (_this5.isCanSearch && _this5.selectedList.filter(function (m) {
184012
+ if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
184016
184013
  return m.id == v.id;
184017
184014
  }).length == 0) {
184018
- _this5.selectedList.push(v);
184015
+ _this6.selectedList.push(v);
184019
184016
  }
184020
184017
  } else {
184021
184018
  v.default = false;
184022
- if (_this5.isCanSearch) _this5.selectedList = _this5.selectedList.filter(function (m) {
184019
+ if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
184023
184020
  return m.id != v.id;
184024
184021
  });
184025
184022
  }
@@ -184031,7 +184028,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184031
184028
  }, {
184032
184029
  key: "selectItems",
184033
184030
  value: function selectItems(item, index) {
184034
- var _this6 = this;
184031
+ var _this7 = this;
184035
184032
 
184036
184033
  if (!this.isAllowMultiSelect) {
184037
184034
  this.poperSelectList.forEach(function (v) {
@@ -184048,13 +184045,13 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184048
184045
  }
184049
184046
 
184050
184047
  if (v.default) {
184051
- if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
184048
+ if (_this7.isCanSearch && _this7.selectedList.filter(function (m) {
184052
184049
  return m.id == v.id;
184053
184050
  }).length == 0) {
184054
- _this6.selectedList.push(v);
184051
+ _this7.selectedList.push(v);
184055
184052
  }
184056
184053
  } else {
184057
- if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
184054
+ if (_this7.isCanSearch) _this7.selectedList = _this7.selectedList.filter(function (m) {
184058
184055
  return m.id != v.id;
184059
184056
  });
184060
184057
  }
@@ -184086,7 +184083,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184086
184083
  }, {
184087
184084
  key: "sureSelect",
184088
184085
  value: function sureSelect() {
184089
- var _this7 = this;
184086
+ var _this8 = this;
184090
184087
 
184091
184088
  var text = "";
184092
184089
  var keyValue = "";
@@ -184150,7 +184147,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184150
184147
  currentPoperNode.text = text;
184151
184148
  currentPoperNode.keyValue = keyValue;
184152
184149
  Object.keys(this.textParam).map(function (v) {
184153
- _this7.textParam[v] = currentPoperNode[v];
184150
+ _this8.textParam[v] = currentPoperNode[v];
184154
184151
  });
184155
184152
 
184156
184153
  if (this.textParam.downListProperty.allowMultiSelected) {
@@ -184163,7 +184160,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184163
184160
 
184164
184161
  if (selected.length === 1 && selected[0].text.indexOf("<元素>") !== -1) {
184165
184162
  setTimeout(function () {
184166
- _this7.handleClose();
184163
+ _this8.handleClose();
184167
184164
  }, 200);
184168
184165
  } else {
184169
184166
  this.handleClose();
@@ -184199,10 +184196,10 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184199
184196
  }, {
184200
184197
  key: "handleClose",
184201
184198
  value: function handleClose() {
184202
- var _this8 = this;
184199
+ var _this9 = this;
184203
184200
 
184204
184201
  this.$nextTick(function () {
184205
- return _this8.$emit("poperClose");
184202
+ return _this9.$emit("poperClose");
184206
184203
  });
184207
184204
  }
184208
184205
  }, {
@@ -184244,8 +184241,8 @@ PoperSelectvue_type_script_lang_ts_PoperSelectModal = __decorate([vue_class_comp
184244
184241
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_PoperSelectModal);
184245
184242
  // CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
184246
184243
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
184247
- // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5ff7a058&lang=scss&scoped=true&
184248
- var PoperSelectvue_type_style_index_0_id_5ff7a058_lang_scss_scoped_true_ = __webpack_require__("c337");
184244
+ // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=858143be&lang=scss&scoped=true&
184245
+ var PoperSelectvue_type_style_index_0_id_858143be_lang_scss_scoped_true_ = __webpack_require__("4b36");
184249
184246
 
184250
184247
  // CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
184251
184248
 
@@ -184258,11 +184255,11 @@ var PoperSelectvue_type_style_index_0_id_5ff7a058_lang_scss_scoped_true_ = __web
184258
184255
 
184259
184256
  var PoperSelect_component = normalizeComponent(
184260
184257
  poperSelect_PoperSelectvue_type_script_lang_ts_,
184261
- PoperSelectvue_type_template_id_5ff7a058_scoped_true_render,
184262
- PoperSelectvue_type_template_id_5ff7a058_scoped_true_staticRenderFns,
184258
+ PoperSelectvue_type_template_id_858143be_scoped_true_render,
184259
+ PoperSelectvue_type_template_id_858143be_scoped_true_staticRenderFns,
184263
184260
  false,
184264
184261
  null,
184265
- "5ff7a058",
184262
+ "858143be",
184266
184263
  null
184267
184264
 
184268
184265
  )
@@ -186558,9 +186555,8 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
186558
186555
 
186559
186556
  if (parentNode.readOnlyStatus === 0 && parentNode.text.replace(/\s*/g, "") !== "") {
186560
186557
  return false;
186561
- }
186558
+ } // this.computedPoperPosition(node, pageIndex);
186562
186559
 
186563
- this.computedPoperPosition(node, pageIndex);
186564
186560
 
186565
186561
  if (Number(parentNode.inputFieldType) === 2) {
186566
186562
  this.poperType = "datePoper";
@@ -186646,7 +186642,6 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
186646
186642
  var nodePos = node.drawNodes[0];
186647
186643
  var drawLine = hoEditorFactory.drawTree.getDrawLineByDNode(nodePos);
186648
186644
  var docPos = drawLine.localToGlobal(nodePos.x, nodePos.y === 0 ? drawLine.dHeight : nodePos.y); // console.log(node)
186649
- // console.log(nodePos)
186650
186645
 
186651
186646
  this.poperPos = {
186652
186647
  x: docPos.x / DrawConfig["a" /* DrawConfig */].instance().scaleXY,
@@ -186790,8 +186785,8 @@ var HoDocvue_type_style_index_0_lang_scss_ = __webpack_require__("560f");
186790
186785
 
186791
186786
  var HoDoc_component = normalizeComponent(
186792
186787
  components_HoDocvue_type_script_lang_ts_,
186793
- HoDocvue_type_template_id_db861dc8_render,
186794
- HoDocvue_type_template_id_db861dc8_staticRenderFns,
186788
+ HoDocvue_type_template_id_098ad338_render,
186789
+ HoDocvue_type_template_id_098ad338_staticRenderFns,
186795
186790
  false,
186796
186791
  null,
186797
186792
  null,
@@ -193243,7 +193238,6 @@ var MedicalExpressionNode = __webpack_require__("b790");
193243
193238
 
193244
193239
 
193245
193240
 
193246
-
193247
193241
 
193248
193242
 
193249
193243
  var VueController_VueController = /*#__PURE__*/function () {
@@ -195328,7 +195322,7 @@ var VueController_VueController = /*#__PURE__*/function () {
195328
195322
  hoEditorFactory.drawTree.paintStatus = status;
195329
195323
 
195330
195324
  if (status === 2) {
195331
- hoEditorFactory.printStatus.printRange = printStatus;
195325
+ if (printStatus) hoEditorFactory.printStatus.printRange = printStatus;
195332
195326
  } else {
195333
195327
  hoEditorFactory.printStatus.printRange = 2;
195334
195328
  hoEditorFactory.printStatus.drawPrintRecord.clear();
@@ -199631,8 +199625,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199631
199625
  setStatus.then(function (res) {
199632
199626
  if (res) {
199633
199627
  return new Promise(function (reslove, reject) {
199634
- var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p"; // const PDF = new JsPDF(orientation, "px", [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes]);
199635
-
199628
+ var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199636
199629
  var options = {
199637
199630
  orientation: orientation,
199638
199631
  unit: 'px',
@@ -199839,6 +199832,69 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199839
199832
 
199840
199833
  return mergeXmlToPrintPDF;
199841
199834
  }()
199835
+ }, {
199836
+ key: "pintAllToPDFNew",
199837
+ value: function pintAllToPDFNew(xmlList) {
199838
+ var _this4 = this;
199839
+
199840
+ var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 保存打印前文档状态 和 内容
199841
+
199842
+ var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
199843
+ var xml = hoEditorFactory.vueController.getDocXml(); // 提前设置打印预览状态 合并后减少一次重绘时间
199844
+
199845
+ if (!hoEditorFactory.isHideComments) {
199846
+ hoEditorFactory.vueController.hideComments(true);
199847
+ }
199848
+
199849
+ hoEditorFactory.printStatus.printMode = 0;
199850
+ hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
199851
+ var hPromise = Promise.resolve();
199852
+ xmlList.forEach(function (file, fileIndex) {
199853
+ hPromise = hPromise.then(function (res) {
199854
+ return new Promise(function (resolve) {
199855
+ if (fileIndex === 0) {
199856
+ Promise.all([hoEditorFactory.vueController.openXml(file, undefined, true)]).then(function () {
199857
+ if (hoEditorFactory.loadImageCount === 0) {
199858
+ resolve();
199859
+ hoEditorFactory.loadImageCallback = null;
199860
+ } else {
199861
+ hoEditorFactory.loadImageCallback = resolve;
199862
+ }
199863
+ });
199864
+ } else {
199865
+ Promise.all([hoEditorFactory.vueController.mergeDocs(file, true, undefined, true)]).then(function () {
199866
+ if (hoEditorFactory.loadImageCount === 0) {
199867
+ resolve();
199868
+ hoEditorFactory.loadImageCallback = null;
199869
+ } else {
199870
+ hoEditorFactory.loadImageCallback = resolve;
199871
+ }
199872
+ });
199873
+ }
199874
+ });
199875
+ });
199876
+ });
199877
+ hPromise = hPromise.then(function () {
199878
+ return new Promise(function (resolve) {
199879
+ var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199880
+ var options = {
199881
+ orientation: orientation,
199882
+ unit: 'px',
199883
+ format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
199884
+ hotfixes: ["px_scaling"]
199885
+ };
199886
+ var PDF = new jspdf_es_min["d" /* default */](options);
199887
+ PDF.setFont("SimSun");
199888
+ PrintStatus["a" /* Print */].printToPDF(_this4._hoEditorFactoryID, PDF, undefined, undefined, resolve, undefined);
199889
+ setTimeout(function () {
199890
+ // 恢复文档状态
199891
+ hoEditorFactory.drawTree.paintStatus = beforePrintStatus; // 恢复文档内容
199892
+
199893
+ hoEditorFactory.vueController.openXml(xml);
199894
+ }, 0);
199895
+ });
199896
+ });
199897
+ }
199842
199898
  /**
199843
199899
  * 批量打印病历 当前
199844
199900
  * @param xmlList ['xml内容', 'xml内容']
@@ -199848,9 +199904,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199848
199904
  key: "pintAllToPDF",
199849
199905
  value: function () {
199850
199906
  var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(xmlList) {
199851
- var _this4 = this;
199907
+ var _this5 = this;
199852
199908
 
199853
- var hoEditorFactory, beforePrintStatus, xml, orientation, xmlIndex, options, PDF, loadingInstance, callback, toPrint, createSvg;
199909
+ var hoEditorFactory, beforePrintStatus, xml, xmlIndex, PDF, loadingInstance, callback, toPrint, createSvg;
199854
199910
  return regeneratorRuntime.wrap(function _callee2$(_context2) {
199855
199911
  while (1) {
199856
199912
  switch (_context2.prev = _context2.next) {
@@ -199865,16 +199921,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199865
199921
 
199866
199922
  hoEditorFactory.printStatus.printMode = 0;
199867
199923
  hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
199868
- orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199869
- xmlIndex = -1;
199870
- options = {
199871
- orientation: orientation,
199872
- unit: 'px',
199873
- format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
199874
- hotfixes: ["px_scaling"]
199875
- };
199876
- PDF = new jspdf_es_min["d" /* default */](options);
199877
- PDF.setFont("SimSun");
199924
+ xmlIndex = -1; // const orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199925
+ // const options: jsPDFOptions = {
199926
+ // orientation: orientation,
199927
+ // unit: 'px',
199928
+ // format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
199929
+ // hotfixes: ["px_scaling"]
199930
+ // }
199931
+ // console.log(options)
199932
+
199933
+ // PDF.setFont("SimSun");
199878
199934
  loadingInstance = lib_loading_default.a.service({
199879
199935
  target: "ho-docs",
199880
199936
  spinner: "el-icon-loading",
@@ -199887,8 +199943,8 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199887
199943
  loadingInstance.text = "正在加载病历文件:" + params.text;
199888
199944
  };
199889
199945
 
199890
- toPrint = function toPrint() {
199891
- PrintStatus["a" /* Print */].printAllXml(_this4._hoEditorFactoryID, createSvg, PDF);
199946
+ toPrint = function toPrint(status) {
199947
+ PrintStatus["a" /* Print */].printAllXml(_this5._hoEditorFactoryID, createSvg, PDF);
199892
199948
  };
199893
199949
 
199894
199950
  createSvg = function createSvg() {
@@ -199896,6 +199952,18 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199896
199952
 
199897
199953
  if (xmlIndex <= xmlList.length - 1) {
199898
199954
  Promise.all([hoEditorFactory.vueController.openXml(xmlList[xmlIndex], callback)]).then(function () {
199955
+ if (xmlIndex === 0) {
199956
+ var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199957
+ var options = {
199958
+ orientation: orientation,
199959
+ unit: 'px',
199960
+ format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
199961
+ hotfixes: ["px_scaling"]
199962
+ };
199963
+ PDF = new jspdf_es_min["d" /* default */](options);
199964
+ PDF.setFont("SimSun");
199965
+ }
199966
+
199899
199967
  if (hoEditorFactory.loadImageCount === 0) {
199900
199968
  toPrint();
199901
199969
  hoEditorFactory.loadImageCallback = null;
@@ -199914,7 +199982,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199914
199982
 
199915
199983
  createSvg();
199916
199984
 
199917
- case 16:
199985
+ case 12:
199918
199986
  case "end":
199919
199987
  return _context2.stop();
199920
199988
  }
@@ -199936,7 +200004,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199936
200004
  }, {
199937
200005
  key: "viewAll",
199938
200006
  value: function viewAll(xmlList) {
199939
- var _this5 = this;
200007
+ var _this6 = this;
199940
200008
 
199941
200009
  // 初始化文档状态 --- 打印预览
199942
200010
  var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
@@ -199956,16 +200024,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199956
200024
 
199957
200025
  var toPrint = function toPrint() {
199958
200026
  viewElementContent = document.createElement("div");
199959
- PrintStatus["a" /* Print */].printToHtml(_this5._hoEditorFactoryID, createSvg, viewElementContent);
200027
+ PrintStatus["a" /* Print */].printToHtml(_this6._hoEditorFactoryID, createSvg, viewElementContent);
199960
200028
  };
199961
200029
 
199962
200030
  var createSvg = function createSvg() {
199963
- if (_this5._xmlIndex > 0 && viewElementContent) {
200031
+ if (_this6._xmlIndex > 0 && viewElementContent) {
199964
200032
  var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199965
200033
  viewElementContent.dataset.size = hoEditorFactory.pageProperty.pageSize;
199966
200034
  viewElementContent.dataset.orientation = orientation;
199967
200035
 
199968
- if (_this5._xmlIndex < 3) {
200036
+ if (_this6._xmlIndex < 3) {
199969
200037
  hoEditorFactory.continuousView.currentList.push(viewElementContent);
199970
200038
  hoEditorFactory.continuousView.allList.push(viewElementContent);
199971
200039
  } else {
@@ -199973,9 +200041,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199973
200041
  }
199974
200042
  }
199975
200043
 
199976
- if (_this5._xmlIndex <= _this5._viewXmlList.length - 1) {
199977
- if (_this5._viewXmlList[_this5._xmlIndex]) {
199978
- Promise.all([hoEditorFactory.vueController.openXml(_this5._viewXmlList[_this5._xmlIndex])]).then(function () {
200044
+ if (_this6._xmlIndex <= _this6._viewXmlList.length - 1) {
200045
+ if (_this6._viewXmlList[_this6._xmlIndex]) {
200046
+ Promise.all([hoEditorFactory.vueController.openXml(_this6._viewXmlList[_this6._xmlIndex])]).then(function () {
199979
200047
  if (hoEditorFactory.loadImageCount === 0) {
199980
200048
  toPrint();
199981
200049
  hoEditorFactory.loadImageCallback = null;
@@ -199983,7 +200051,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199983
200051
  hoEditorFactory.loadImageCallback = toPrint;
199984
200052
  }
199985
200053
  });
199986
- _this5._xmlIndex++;
200054
+ _this6._xmlIndex++;
199987
200055
  }
199988
200056
  }
199989
200057
  };
@@ -199999,7 +200067,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199999
200067
  }, {
200000
200068
  key: "mergeViewAll",
200001
200069
  value: function mergeViewAll(xmlList, mergeEnd) {
200002
- var _this6 = this;
200070
+ var _this7 = this;
200003
200071
 
200004
200072
  var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 提前设置打印预览状态 合并后减少一次重绘时间
200005
200073
 
@@ -200019,16 +200087,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
200019
200087
  }
200020
200088
 
200021
200089
  var createSvg = function createSvg() {
200022
- _this6._xmlIndex++;
200090
+ _this7._xmlIndex++;
200023
200091
 
200024
- if (_this6._xmlIndex <= _this6._viewXmlList.length - 1) {
200025
- var current = typeof _this6._viewXmlList[_this6._xmlIndex] != "string";
200092
+ if (_this7._xmlIndex <= _this7._viewXmlList.length - 1) {
200093
+ var current = typeof _this7._viewXmlList[_this7._xmlIndex] != "string";
200026
200094
 
200027
- var _xml = current ? _this6._viewXmlList[_this6._xmlIndex].xml : _this6._viewXmlList[_this6._xmlIndex];
200095
+ var _xml = current ? _this7._viewXmlList[_this7._xmlIndex].xml : _this7._viewXmlList[_this7._xmlIndex];
200028
200096
 
200029
- var isMerge = current ? _this6._viewXmlList[_this6._xmlIndex].isMerge : false;
200097
+ var isMerge = current ? _this7._viewXmlList[_this7._xmlIndex].isMerge : false;
200030
200098
 
200031
- if (_this6._xmlIndex === 0) {
200099
+ if (_this7._xmlIndex === 0) {
200032
200100
  Promise.all([hoEditorFactory.vueController.openXml(_xml, undefined, true)]).then(function () {
200033
200101
  if (hoEditorFactory.loadImageCount == 0) {
200034
200102
  hoEditorFactory.loadImageCallback = null;
@@ -200048,11 +200116,11 @@ var PrintController_PrintController = /*#__PURE__*/function () {
200048
200116
  });
200049
200117
  }
200050
200118
 
200051
- if (_this6._xmlIndex === _this6._viewXmlList.length - 1) {}
200119
+ if (_this7._xmlIndex === _this7._viewXmlList.length - 1) {}
200052
200120
 
200053
200121
  if (mergeEnd) {
200054
- _this6._xmlIndex = 0;
200055
- _this6._viewXmlList = [];
200122
+ _this7._xmlIndex = 0;
200123
+ _this7._viewXmlList = [];
200056
200124
  }
200057
200125
  }
200058
200126
  };
@@ -202211,12 +202279,12 @@ var DateDialogvue_type_template_id_03f03576_staticRenderFns = []
202211
202279
 
202212
202280
  // CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=03f03576&
202213
202281
 
202214
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/Tab.vue?vue&type=template&id=5ccacc33&
202215
- var Tabvue_type_template_id_5ccacc33_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ho-toolbar"},[_c('ul',{staticClass:"main-bar"},[_vm._l((_vm.navList),function(item){return _c('li',{key:item.name,class:{ selected: item.name === _vm.currentValue },on:{"click":function($event){return _vm.handleChange(_vm.currentValue, item.name)}}},[_vm._v(" "+_vm._s(item.label)+" ")])}),_c('li',{staticClass:"tabs-active-bar",style:(_vm.activeBarStyle)})],2),_c('div',{staticClass:"sub-bar-box"},[_vm._t("default")],2)])}
202216
- var Tabvue_type_template_id_5ccacc33_staticRenderFns = []
202282
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/Tab.vue?vue&type=template&id=7c6c4d81&
202283
+ var Tabvue_type_template_id_7c6c4d81_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ho-toolbar"},[_c('ul',{staticClass:"main-bar"},[_vm._l((_vm.navList),function(item){return _c('li',{key:item.name,class:{ selected: item.name === _vm.currentValue },on:{"click":function($event){return _vm.handleChange(_vm.currentValue, item.name)}}},[_vm._v(" "+_vm._s(item.label)+" ")])}),_c('li',{staticClass:"tabs-active-bar",style:(_vm.activeBarStyle)})],2),_c('div',{staticClass:"sub-bar-box"},[_vm._t("default")],2)])}
202284
+ var Tabvue_type_template_id_7c6c4d81_staticRenderFns = []
202217
202285
 
202218
202286
 
202219
- // CONCATENATED MODULE: ./src/components/toolbar/tab/Tab.vue?vue&type=template&id=5ccacc33&
202287
+ // CONCATENATED MODULE: ./src/components/toolbar/tab/Tab.vue?vue&type=template&id=7c6c4d81&
202220
202288
 
202221
202289
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
202222
202290
  var es_array_from = __webpack_require__("a630");
@@ -202246,7 +202314,7 @@ var es_array_from = __webpack_require__("a630");
202246
202314
  props: ["tabKey"],
202247
202315
  data: function data() {
202248
202316
  return {
202249
- currentValue: this.tabKey,
202317
+ currentValue: this.tabKey ? this.tabKey : 'ho-edit',
202250
202318
  navList: [],
202251
202319
  activeBarStyle: {
202252
202320
  left: "0px",
@@ -202272,16 +202340,14 @@ var es_array_from = __webpack_require__("a630");
202272
202340
  });
202273
202341
 
202274
202342
  if (!pane.name) pane.name = index;
202343
+ }
202344
+ }); // setTimeout(() => {
202345
+
202346
+ if (!this.currentValue) {
202347
+ this.currentValue = this.navList[0].name;
202348
+ } // }, 0);
202275
202349
 
202276
- if (index === 0) {
202277
- if (!_this.currentValue) {
202278
- _this.currentValue = pane.name || index;
202279
202350
 
202280
- _this.$emit("updateTabKey", _this.currentValue);
202281
- }
202282
- }
202283
- }
202284
- });
202285
202351
  this.updateStatus();
202286
202352
  },
202287
202353
  updateStatus: function updateStatus() {
@@ -202333,7 +202399,12 @@ var es_array_from = __webpack_require__("a630");
202333
202399
  this.currentValue = val;
202334
202400
  },
202335
202401
  currentValue: function currentValue(oldName, newName) {
202402
+ var _this4 = this;
202403
+
202336
202404
  this.updateStatus();
202405
+ setTimeout(function () {
202406
+ _this4.$emit("updateTabKey", _this4.currentValue);
202407
+ }, 0);
202337
202408
  }
202338
202409
  }
202339
202410
  });
@@ -202353,8 +202424,8 @@ var Tabvue_type_style_index_0_lang_css_ = __webpack_require__("7b87");
202353
202424
 
202354
202425
  var Tab_component = normalizeComponent(
202355
202426
  tab_Tabvue_type_script_lang_js_,
202356
- Tabvue_type_template_id_5ccacc33_render,
202357
- Tabvue_type_template_id_5ccacc33_staticRenderFns,
202427
+ Tabvue_type_template_id_7c6c4d81_render,
202428
+ Tabvue_type_template_id_7c6c4d81_staticRenderFns,
202358
202429
  false,
202359
202430
  null,
202360
202431
  null,
@@ -208505,12 +208576,12 @@ var HoDocs_component = normalizeComponent(
208505
208576
  )
208506
208577
 
208507
208578
  /* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
208508
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=b74fa70c&
208509
- var ToolBarvue_type_template_id_b74fa70c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tabs',{attrs:{"tabKey":_vm.tabKey},on:{"tabClick":_vm.mainBarClick,"updateTabKey":_vm.updateTabKey}},[_vm._t("beforeBrowse"),_c('tab-pane',{attrs:{"isShow":_vm.defaultBrowseJson.isBrowse,"label":"浏览模式","notHover":true,"name":"ho-browse"}},[(_vm.defaultBrowseJson.saveAsFile)?_c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{attrs:{"trigger":"click"}},[_c('span',{staticClass:"el-dropdown-link"},[_vm._v("另存为")]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('xml')}}},[_vm._v("XML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('html')}}},[_vm._v("HTML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('plain')}}},[_vm._v("TXT")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('json')}}},[_vm._v("JSON")])],1)],1)],1):_vm._e(),(_vm.isPrinted)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{class:_vm.isPrintClass,on:{"click":_vm.outPrinted}},[_vm._v("退出打印预览状态")])]):_vm._e(),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printed)?_c('span',{class:_vm.printedClass,on:{"click":_vm.printed}},[_vm._v("打印")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printSelected)?_c('span',{class:_vm.printSelectedClass,on:{"click":_vm.printSelected}},[_vm._v("打印拖动鼠标选中区域")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border-right":"1px solid #e6e6e6"}},[(_vm.defaultBrowseJson.printCaret)?_c('span',{class:_vm.printCaretClass,on:{"click":_vm.printCaret}},[_vm._v("打印鼠标点击位置")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border":"0"}},[(_vm.defaultBrowseJson.printContinue)?_c('span',{class:_vm.printContinueClass,on:{"click":_vm.printContinue}},[_vm._v("续打")]):_vm._e()]),_c('HoPrintDialog',{attrs:{"vueController":_vm.vueController,"printBeforeStatus":5,"printModal":_vm.printModal},on:{"closed":_vm.closedHoPrintModal}})],1),_vm._t("beforeEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isEdit,"label":"编辑模式","notHover":true,"name":"ho-edit"}},[_c('ToolBarChild',{attrs:{"editJson":_vm.defaultEditJson,"vueController":_vm.vueController,"tabStatus":_vm.tabStatus,"textStyle":_vm.textStyle,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus}})],1),_vm._t("afterEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertElement,"label":"插入","name":"ho-insert"}},[_c('tool-control',{attrs:{"insert":_vm.defaultEditJson,"vueController":_vm.vueController,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus},scopedSlots:_vm._u([{key:"hoInsertItem",fn:function(){return [_vm._t("insideInsert")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertTable,"label":"表格","name":"ho-table"}},[_c('tool-table',{attrs:{"table":_vm.defaultEditJson,"vueController":_vm.vueController},scopedSlots:_vm._u([{key:"hoTableItem",fn:function(){return [_vm._t("insideTable")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultReviewJson.isReview,"label":"审阅模式","name":"ho-review"}},[_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.insertComment)?_c('span',{staticClass:"review",on:{"click":function($event){$event.stopPropagation();return _vm.createControlComment.apply(null, arguments)}}},[_vm._v("插入批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.editComment)?_c('span',{staticClass:"review",on:{"click":_vm.editComment}},[_vm._v("编辑批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteComment}},[_vm._v("删除批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteAllComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteAllComment}},[_vm._v("删除全部批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.cancelDelete)?_c('span',{staticClass:"review",on:{"click":_vm.cancelDelete}},[_vm._v("取消删除文本")]):_vm._e()]),(_vm.userInfoes && _vm.userInfoes.permissionLevel)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{style:({ color: _vm.reviewLevel.color[_vm.userInfoes.permissionLevel - 1] })},[_vm._v(_vm._s(_vm.reviewLevel.text[_vm.userInfoes.permissionLevel - 1]))])]):_vm._e(),_vm._t("insertReview"),(_vm.defaultReviewJson.printStatus)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{on:{"click":_vm.reviewPrintStatus}},[_vm._v(_vm._s(_vm.isPrinted ? "返回审阅模式" : "浏览模式"))])]):_vm._e()],2),_vm._t("afterReview")],2)}
208510
- var ToolBarvue_type_template_id_b74fa70c_staticRenderFns = []
208579
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=0cf834c1&
208580
+ var ToolBarvue_type_template_id_0cf834c1_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tabs',{attrs:{"tabKey":_vm.tabKey},on:{"tabClick":_vm.mainBarClick,"updateTabKey":_vm.updateTabKey}},[_vm._t("beforeBrowse"),_c('tab-pane',{attrs:{"isShow":_vm.defaultBrowseJson.isBrowse,"label":"浏览模式","notHover":true,"name":"ho-browse"}},[(_vm.defaultBrowseJson.saveAsFile)?_c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{attrs:{"trigger":"click"}},[_c('span',{staticClass:"el-dropdown-link"},[_vm._v("另存为")]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('xml')}}},[_vm._v("XML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('html')}}},[_vm._v("HTML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('plain')}}},[_vm._v("TXT")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('json')}}},[_vm._v("JSON")])],1)],1)],1):_vm._e(),(_vm.isPrinted)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{class:_vm.isPrintClass,on:{"click":_vm.outPrinted}},[_vm._v("退出打印预览状态")])]):_vm._e(),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printed)?_c('span',{class:_vm.printedClass,on:{"click":_vm.printed}},[_vm._v("打印")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printSelected)?_c('span',{class:_vm.printSelectedClass,on:{"click":_vm.printSelected}},[_vm._v("打印拖动鼠标选中区域")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border-right":"1px solid #e6e6e6"}},[(_vm.defaultBrowseJson.printCaret)?_c('span',{class:_vm.printCaretClass,on:{"click":_vm.printCaret}},[_vm._v("打印鼠标点击位置")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border":"0"}},[(_vm.defaultBrowseJson.printContinue)?_c('span',{class:_vm.printContinueClass,on:{"click":_vm.printContinue}},[_vm._v("续打")]):_vm._e()]),_c('HoPrintDialog',{attrs:{"vueController":_vm.vueController,"printBeforeStatus":5,"printModal":_vm.printModal},on:{"closed":_vm.closedHoPrintModal}})],1),_vm._t("beforeEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isEdit,"label":"编辑模式","notHover":true,"name":"ho-edit"}},[_c('ToolBarChild',{attrs:{"editJson":_vm.defaultEditJson,"vueController":_vm.vueController,"tabStatus":_vm.tabStatus,"textStyle":_vm.textStyle,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus}})],1),_vm._t("afterEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertElement,"label":"插入","name":"ho-insert"}},[_c('tool-control',{attrs:{"insert":_vm.defaultEditJson,"vueController":_vm.vueController,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus},scopedSlots:_vm._u([{key:"hoInsertItem",fn:function(){return [_vm._t("insideInsert")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertTable,"label":"表格","name":"ho-table"}},[_c('tool-table',{attrs:{"table":_vm.defaultEditJson,"vueController":_vm.vueController},scopedSlots:_vm._u([{key:"hoTableItem",fn:function(){return [_vm._t("insideTable")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultReviewJson.isReview,"label":"审阅模式","name":"ho-review"}},[_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.insertComment)?_c('span',{staticClass:"review",on:{"click":function($event){$event.stopPropagation();return _vm.createControlComment.apply(null, arguments)}}},[_vm._v("插入批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.editComment)?_c('span',{staticClass:"review",on:{"click":_vm.editComment}},[_vm._v("编辑批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteComment}},[_vm._v("删除批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteAllComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteAllComment}},[_vm._v("删除全部批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.cancelDelete)?_c('span',{staticClass:"review",on:{"click":_vm.cancelDelete}},[_vm._v("取消删除文本")]):_vm._e()]),(_vm.userInfoes && _vm.userInfoes.permissionLevel)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{style:({ color: _vm.reviewLevel.color[_vm.userInfoes.permissionLevel - 1] })},[_vm._v(_vm._s(_vm.reviewLevel.text[_vm.userInfoes.permissionLevel - 1]))])]):_vm._e(),_vm._t("insertReview"),(_vm.defaultReviewJson.printStatus)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{on:{"click":_vm.reviewPrintStatus}},[_vm._v(_vm._s(_vm.isPrinted ? "返回审阅模式" : "浏览模式"))])]):_vm._e()],2),_vm._t("afterReview")],2)}
208581
+ var ToolBarvue_type_template_id_0cf834c1_staticRenderFns = []
208511
208582
 
208512
208583
 
208513
- // CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=b74fa70c&
208584
+ // CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=0cf834c1&
208514
208585
 
208515
208586
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4557f4ee-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=71faca1e&scoped=true&
208516
208587
  var HoMedicalExpressionvue_type_template_id_71faca1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName + ' ho-medical-expression-list',attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange,"command":_vm.selectedSure}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M921.6 448.884364h89.6c6.376727 0 12.8-6.376727 12.8-12.753455V333.870545a13.777455 13.777455 0 0 0-12.8-12.8h-102.4c-6.423273 0-19.176727 6.423273-19.176727 12.8l-108.823273 115.060364c-6.376727 6.330182-12.8 6.330182-12.8 0l-57.576727-115.060364c-6.423273-6.376727-12.8-12.8-19.223273-12.8h-166.4a13.777455 13.777455 0 0 0-12.8 12.8V436.130909c0 6.376727 6.423273 12.753455 12.8 12.753455h102.4c6.423273 0 12.8 6.376727 19.176727 12.8l38.4 83.083636v19.130182l-115.2 134.190545c-6.376727 0-12.753455 6.423273-19.176727 6.423273H460.8c-6.376727 0-12.8 6.376727-12.8 12.753455v102.260363c0 6.376727 6.423273 12.8 12.8 12.8h102.4c6.376727 0 19.176727-6.423273 19.176727-12.8l147.223273-166.167273c6.423273-6.376727 12.8-6.376727 12.8 0l83.176727 166.167273c0 6.376727 12.8 12.8 19.223273 12.8h102.4a13.777455 13.777455 0 0 0 12.8-12.8V717.265455a13.777455 13.777455 0 0 0-12.8-12.753455h-38.4c-6.423273 0-12.8-6.423273-19.176727-12.8l-64.046546-127.813818v-19.130182l76.8-83.083636c6.423273-6.423273 12.846545-12.8 19.223273-12.8zM377.623273 65.489455c-32.023273 25.6-64.046545 63.906909-83.223273 127.813818l-31.976727 127.767272H76.8a13.777455 13.777455 0 0 0-12.8 12.8V436.130909c0 6.376727 6.376727 12.753455 12.8 12.753455h153.6l-96.023273 383.441454c-19.176727 76.660364-70.376727 63.860364-70.376727 63.860364H0V1024h64c51.2 0 102.4-6.376727 128-38.353455 32.023273-31.930182 51.2-89.460364 64-153.320727l96.023273-383.441454h147.176727c6.376727 0 12.8-6.376727 12.8-12.753455V333.870545a13.777455 13.777455 0 0 0-12.8-12.8H384l32.023273-121.390545c6.376727-19.130182 38.4-51.106909 57.576727-63.906909 70.376727-51.106909 166.4-19.176727 230.4-6.376727V20.759273c-64-12.753455-204.8-57.483636-326.376727 44.683636v0.046546z"}})]),_c('span',[_vm._v("医学表达式")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{attrs:{"command":"style1"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 130 60"}},[_c('g',{staticClass:"text",attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"48","y":"13"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"48","y":"55"}},[_vm._v("周期")]),_c('text',{attrs:{"x":"75","y":"33"}},[_vm._v("末次月经")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 52 30 L 70 30"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style2"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"5","y":"20"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"5","y":"50"}},[_vm._v("末次月经")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 5 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style3"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"50","y":"13"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"40","y":"55"}},[_vm._v("末次月经")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 15 5 L 110 55"}}),_c('path',{attrs:{"d":"M 15 55 L 110 5"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style4"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 62 30 L 110 30"}}),_c('path',{attrs:{"d":"M 45 45 L 55 15"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style5"}},[_c('p',[_vm._v("瞳孔图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"10","y":"25"}},[_vm._v("1")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("2")]),_c('text',{attrs:{"x":"10","y":"40"}},[_vm._v("3")]),_c('text',{attrs:{"x":"45","y":"40"}},[_vm._v("4")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("5")]),_c('text',{attrs:{"x":"10","y":"55"}},[_vm._v("6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("7")])])])]),_c('el-dropdown-item',{attrs:{"command":"style6"}},[_c('p',[_vm._v("光定位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"10","y":"25"}},[_vm._v("1")]),_c('text',{attrs:{"x":"10","y":"40"}},[_vm._v("4")]),_c('text',{attrs:{"x":"10","y":"55"}},[_vm._v("7")]),_c('text',{attrs:{"x":"45","y":"25"}},[_vm._v("2")]),_c('text',{attrs:{"x":"45","y":"40"}},[_vm._v("5")]),_c('text',{attrs:{"x":"45","y":"55"}},[_vm._v("8")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("3")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("9")])])])]),_c('el-dropdown-item',{attrs:{"command":"style7"}},[_c('p',[_vm._v("胎心图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"26","y":"15"}},[_vm._v("1")]),_c('text',{attrs:{"x":"26","y":"35"}},[_vm._v("4")]),_c('text',{attrs:{"x":"26","y":"55"}},[_vm._v("7")]),_c('text',{attrs:{"x":"84","y":"15"}},[_vm._v("2")]),_c('text',{attrs:{"x":"84","y":"35"}},[_vm._v("5")]),_c('text',{attrs:{"x":"84","y":"55"}},[_vm._v("8")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 0 30 L 10 30"}}),_c('path',{attrs:{"d":"M 52 30 L 67 30"}}),_c('path',{attrs:{"d":"M 110 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style8"}},[_c('p',[_vm._v("恒牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("12345678")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("12345678")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style9"}},[_c('p',[_vm._v("乳牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("I II III IV V")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("I II III IV V")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])])],1)],1)],1)}
@@ -213185,7 +213256,10 @@ var ToolBarvue_type_script_lang_ts_ToolBar = /*#__PURE__*/function (_Vue) {
213185
213256
  }, {
213186
213257
  key: "toolbarParamsChange",
213187
213258
  value: function toolbarParamsChange(toolbarParams) {
213188
- if (this.toolbarParams) this.defaultToolBarParams = _objectSpread2(_objectSpread2({}, this.defaultToolBarParams), this.toolbarParams);
213259
+ if (this.toolbarParams) {
213260
+ this.defaultToolBarParams = _objectSpread2(_objectSpread2({}, this.defaultToolBarParams), this.toolbarParams);
213261
+ }
213262
+
213189
213263
  if (this.tabKey) this.vueController.setEditorStatus(this.defaultToolBarParams[this.tabKey]);
213190
213264
  this.emitToolBarStatus();
213191
213265
  }
@@ -213193,7 +213267,10 @@ var ToolBarvue_type_script_lang_ts_ToolBar = /*#__PURE__*/function (_Vue) {
213193
213267
  key: "vueControllerChange",
213194
213268
  value: function vueControllerChange() {
213195
213269
  if (Object.prototype.toString.call(this.vueController.setEditorStatus) === "[object Function]") {
213196
- if (this.toolbarParams) this.defaultToolBarParams = _objectSpread2(_objectSpread2({}, this.defaultToolBarParams), this.toolbarParams);
213270
+ if (this.toolbarParams) {
213271
+ this.defaultToolBarParams = _objectSpread2(_objectSpread2({}, this.defaultToolBarParams), this.toolbarParams);
213272
+ }
213273
+
213197
213274
  if (this.tabKey) this.vueController.setEditorStatus(this.defaultToolBarParams[this.tabKey]);
213198
213275
  this.userInfoes = this.vueController.getUserInfoes();
213199
213276
  this.emitToolBarStatus();
@@ -213204,7 +213281,7 @@ var ToolBarvue_type_script_lang_ts_ToolBar = /*#__PURE__*/function (_Vue) {
213204
213281
  value: function mounted() {
213205
213282
  var _this2 = this;
213206
213283
 
213207
- this.tabKey = this.tabStatus;
213284
+ if (this.tabStatus) this.tabKey = this.tabStatus;
213208
213285
 
213209
213286
  if (Object.prototype.toString.call(this.vueController.setEditorStatus) === "[object Function]") {
213210
213287
  if (this.tabKey) this.$nextTick(function () {
@@ -213599,8 +213676,8 @@ var ToolBarvue_type_style_index_0_lang_scss_ = __webpack_require__("e530");
213599
213676
 
213600
213677
  var ToolBar_component = normalizeComponent(
213601
213678
  toolbar_ToolBarvue_type_script_lang_ts_,
213602
- ToolBarvue_type_template_id_b74fa70c_render,
213603
- ToolBarvue_type_template_id_b74fa70c_staticRenderFns,
213679
+ ToolBarvue_type_template_id_0cf834c1_render,
213680
+ ToolBarvue_type_template_id_0cf834c1_staticRenderFns,
213604
213681
  false,
213605
213682
  null,
213606
213683
  null,