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.
@@ -24623,10 +24623,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
24623
24623
  if (type === "html") {
24624
24624
  svgBox = document.createElement("div");
24625
24625
  svgBox.className = "ho-print-svg-box";
24626
- } //NOTE: format属性如果使用Array时,orientation需要手工设置下
24627
- // 如果foramt使用的string时,orientation根据实际情况来设置
24628
- // const PDF = new JsPDF('p', "mm", "a4");
24629
-
24626
+ }
24630
24627
 
24631
24628
  last = -1;
24632
24629
  _iterator = Object(createForOfIteratorHelper["a" /* default */])(hoEditorFactory.printStatus.printProcess());
@@ -24658,8 +24655,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
24658
24655
 
24659
24656
  case 16:
24660
24657
  last = index;
24661
- cpage = hoEditorFactory.drawTree.drawPages[index]; // console.log(cpage.drawMainDoc.topDline);
24662
- // console.log(cpage.drawMainDoc.bottomDline)
24658
+ cpage = hoEditorFactory.drawTree.drawPages[index];
24663
24659
 
24664
24660
  if (!(index === hoEditorFactory.drawTree.drawPages.length - 1 && cpage.drawMainDoc.children.length === 2 && cpage.drawMainDoc.children[1] && cpage.drawMainDoc.children[1].drawItems.length === 0)) {
24665
24661
  _context2.next = 20;
@@ -24669,10 +24665,6 @@ var PrintStatus_Print = /*#__PURE__*/function () {
24669
24665
  return _context2.abrupt("break", 44);
24670
24666
 
24671
24667
  case 20:
24672
- // if(index == hoEditorFactory.drawTree.drawPages.length && cpage.drawMainDoc.topDline === cpage.drawMainDoc.bottomDline && cpage.drawMainDoc.topDline instanceof DrawLine && cpage.drawMainDoc.topDline.drawItems.length === 0) {
24673
- // console.log("11111111ssssssssss")
24674
- // return;
24675
- // }
24676
24668
  if (cpage.drawDomLevel && !cpage.drawDomLevel.stage) {
24677
24669
  cpage.drawDomLevel.bindStage();
24678
24670
  cpage.needUpdateStage = true;
@@ -25075,7 +25067,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
25075
25067
  }, {
25076
25068
  key: "printAllXml",
25077
25069
  value: function () {
25078
- var _printAllXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(hoEditorFactoryID, reslove, PDF) {
25070
+ var _printAllXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(hoEditorFactoryID, reslove, PDF, status) {
25079
25071
  var hoEditorFactory, orientation, svgBox, last, _iterator3, _step3, _cpage$drawDomLevel4, _cpage$drawDomLevel4$, _cpage$drawDomLevel5, index, cpage, ctx, svgData;
25080
25072
 
25081
25073
  return regeneratorRuntime.wrap(function _callee4$(_context5) {
@@ -25190,7 +25182,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
25190
25182
  }, _callee4, null, [[9, 35, 38, 41]]);
25191
25183
  }));
25192
25184
 
25193
- function printAllXml(_x11, _x12, _x13) {
25185
+ function printAllXml(_x11, _x12, _x13, _x14) {
25194
25186
  return _printAllXml.apply(this, arguments);
25195
25187
  }
25196
25188
 
@@ -25310,7 +25302,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
25310
25302
  }, _callee5, null, [[9, 34, 37, 40]]);
25311
25303
  }));
25312
25304
 
25313
- function printToHtml(_x14, _x15, _x16) {
25305
+ function printToHtml(_x15, _x16, _x17) {
25314
25306
  return _printToHtml.apply(this, arguments);
25315
25307
  }
25316
25308
 
@@ -48304,6 +48296,17 @@ if (!_vue2.default.prototype.$isServer) {
48304
48296
 
48305
48297
  exports.default = PopupManager;
48306
48298
 
48299
+ /***/ }),
48300
+
48301
+ /***/ "4b36":
48302
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
48303
+
48304
+ "use strict";
48305
+ /* 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");
48306
+ /* 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__);
48307
+ /* unused harmony reexport * */
48308
+
48309
+
48307
48310
  /***/ }),
48308
48311
 
48309
48312
  /***/ "4b89":
@@ -66787,10 +66790,10 @@ var generateGetBoundingClientRect = function generateGetBoundingClientRect(poper
66787
66790
  var y = selectCanvasSize.top + poperPos.y;
66788
66791
  return function () {
66789
66792
  return {
66790
- width: 0,
66791
- height: 0,
66792
- top: y,
66793
- right: x + poperPos.width,
66793
+ width: poperPos.width,
66794
+ height: poperPos.height,
66795
+ top: y - poperPos.height,
66796
+ right: x,
66794
66797
  bottom: y + poperPos.height,
66795
66798
  left: x
66796
66799
  };
@@ -66860,11 +66863,11 @@ var createRightMenu = function createRightMenu(clientX, clientY, rightMenuModal)
66860
66863
  getBoundingClientRect: generateGetBoundingClientRect(clientX, clientY)
66861
66864
  };
66862
66865
  Object(_popperjs_core__WEBPACK_IMPORTED_MODULE_9__[/* createPopper */ "a"])(virtualElement, rightMenuModal, {
66863
- placement: 'bottom-start',
66866
+ placement: 'top-start',
66864
66867
  modifiers: [{
66865
66868
  name: 'flip',
66866
66869
  options: {
66867
- fallbackPlacements: ['top-start', "top", 'left', "right"],
66870
+ fallbackPlacements: ['top-start', "top", 'right', "left"],
66868
66871
  padding: 10
66869
66872
  }
66870
66873
  }]
@@ -96450,7 +96453,7 @@ var PageProperty = /*#__PURE__*/function () {
96450
96453
  this._widthMm = value;
96451
96454
  this._widthPixes = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_9__[/* HOEditorFactorys */ "a"].instance().getFactory(this._hoEditorFactoryID).unitConvert.mmConversionPx(this._widthMm + this._commentWidthMm, true);
96452
96455
  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;
96453
- this._canvasParams.width = this._widthPixes * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
96456
+ this._canvasParams.width = width * _draw_DrawConfig__WEBPACK_IMPORTED_MODULE_10__[/* DrawConfig */ "a"].instance().scaleXY;
96454
96457
  }
96455
96458
  }
96456
96459
  }, {
@@ -98762,6 +98765,13 @@ var UndoInfo = function UndoInfo(path, node) {
98762
98765
 
98763
98766
  /***/ }),
98764
98767
 
98768
+ /***/ "9373":
98769
+ /***/ (function(module, exports, __webpack_require__) {
98770
+
98771
+ // extracted by mini-css-extract-plugin
98772
+
98773
+ /***/ }),
98774
+
98765
98775
  /***/ "93cb":
98766
98776
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
98767
98777
 
@@ -153253,17 +153263,6 @@ progress.install = function (Vue) {
153253
153263
 
153254
153264
  /******/ });
153255
153265
 
153256
- /***/ }),
153257
-
153258
- /***/ "c337":
153259
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
153260
-
153261
- "use strict";
153262
- /* 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");
153263
- /* 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__);
153264
- /* unused harmony reexport * */
153265
-
153266
-
153267
153266
  /***/ }),
153268
153267
 
153269
153268
  /***/ "c416":
@@ -154178,13 +154177,6 @@ var Paragraph = /*#__PURE__*/function () {
154178
154177
 
154179
154178
  /***/ }),
154180
154179
 
154181
- /***/ "c820":
154182
- /***/ (function(module, exports, __webpack_require__) {
154183
-
154184
- // extracted by mini-css-extract-plugin
154185
-
154186
- /***/ }),
154187
-
154188
154180
  /***/ "c8ba":
154189
154181
  /***/ (function(module, exports) {
154190
154182
 
@@ -181179,12 +181171,12 @@ function isPromise(obj) {
181179
181171
  return obj instanceof Promise || (obj && typeof obj.then === 'function');
181180
181172
  }
181181
181173
 
181182
- // 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&
181183
- 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)}
181184
- var HoDocvue_type_template_id_db861dc8_staticRenderFns = []
181174
+ // 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&
181175
+ 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)}
181176
+ var HoDocvue_type_template_id_098ad338_staticRenderFns = []
181185
181177
 
181186
181178
 
181187
- // CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=db861dc8&
181179
+ // CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=template&id=098ad338&
181188
181180
 
181189
181181
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
181190
181182
  var toConsumableArray = __webpack_require__("2909");
@@ -183070,14 +183062,14 @@ var HoToPage_component = normalizeComponent(
183070
183062
  // CONCATENATED MODULE: ./src/components/backToPage/index.ts
183071
183063
 
183072
183064
  /* harmony default export */ var backToPage = (HoToPage);
183073
- // 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&
183074
- 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){
183065
+ // 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&
183066
+ 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){
183075
183067
  var item = ref.item;
183076
183068
  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()])}
183077
- var PoperSelectvue_type_template_id_5ff7a058_scoped_true_staticRenderFns = []
183069
+ var PoperSelectvue_type_template_id_858143be_scoped_true_staticRenderFns = []
183078
183070
 
183079
183071
 
183080
- // CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=5ff7a058&scoped=true&
183072
+ // CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=858143be&scoped=true&
183081
183073
 
183082
183074
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
183083
183075
  var es_object_assign = __webpack_require__("cca6");
@@ -183762,6 +183754,8 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183762
183754
  }, {
183763
183755
  key: "mounted",
183764
183756
  value: function mounted() {
183757
+ var _this3 = this;
183758
+
183765
183759
  var virtualElement = {
183766
183760
  getBoundingClientRect: Object(util["g" /* generateGetBoundingClientRect */])(this.poperPos)
183767
183761
  };
@@ -183770,11 +183764,14 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183770
183764
  modifiers: [{
183771
183765
  name: "flip",
183772
183766
  options: {
183773
- fallbackPlacements: ["top-start", "top", "left", "right"],
183767
+ fallbackPlacements: ["bottom-start", "top-start", "right-start", "left-start"],
183774
183768
  padding: 10
183775
183769
  }
183776
183770
  }]
183777
183771
  });
183772
+ setTimeout(function () {
183773
+ _this3.poppernIstance && _this3.poppernIstance.update();
183774
+ }, 0);
183778
183775
  }
183779
183776
  }, {
183780
183777
  key: "arrowKeysController",
@@ -183846,7 +183843,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183846
183843
  }, {
183847
183844
  key: "currentDateTime",
183848
183845
  value: function currentDateTime() {
183849
- var _this3 = this;
183846
+ var _this4 = this;
183850
183847
 
183851
183848
  var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
183852
183849
  var node = this.getCurrentPoperNode();
@@ -183863,7 +183860,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183863
183860
  };
183864
183861
  hoEditorFactory.vueController.updateDateTime(JSON.stringify(params));
183865
183862
  this.$nextTick(function () {
183866
- return _this3.handleClose();
183863
+ return _this4.handleClose();
183867
183864
  });
183868
183865
  }
183869
183866
  }, {
@@ -183954,13 +183951,13 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183954
183951
  }, {
183955
183952
  key: "mutexSelectItemsChange",
183956
183953
  value: function mutexSelectItemsChange(value) {
183957
- var _this4 = this;
183954
+ var _this5 = this;
183958
183955
 
183959
183956
  if (value.length > 0) {
183960
183957
  this.poperSelectList.forEach(function (v) {
183961
183958
  if (value.includes(v.id)) {
183962
183959
  v.default = true;
183963
- _this4.mutexType = String(v.type);
183960
+ _this5.mutexType = String(v.type);
183964
183961
  } else {
183965
183962
  v.default = false;
183966
183963
  }
@@ -183969,7 +183966,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183969
183966
  } else if (value.length === 0) {
183970
183967
  this.poperSelectList.forEach(function (v) {
183971
183968
  v.default = false;
183972
- _this4.mutexType = "";
183969
+ _this5.mutexType = "";
183973
183970
  });
183974
183971
  this.currentList = Object(toConsumableArray["a" /* default */])(this.poperSelectList);
183975
183972
  }
@@ -183981,7 +183978,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
183981
183978
  }, {
183982
183979
  key: "selectItemsChange",
183983
183980
  value: function selectItemsChange(value) {
183984
- var _this5 = this;
183981
+ var _this6 = this;
183985
183982
 
183986
183983
  if (!this.isAllowMultiSelect) {
183987
183984
  var item = {};
@@ -184003,14 +184000,14 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184003
184000
  if (value.includes(v.id)) {
184004
184001
  v.default = true;
184005
184002
 
184006
- if (_this5.isCanSearch && _this5.selectedList.filter(function (m) {
184003
+ if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
184007
184004
  return m.id == v.id;
184008
184005
  }).length == 0) {
184009
- _this5.selectedList.push(v);
184006
+ _this6.selectedList.push(v);
184010
184007
  }
184011
184008
  } else {
184012
184009
  v.default = false;
184013
- if (_this5.isCanSearch) _this5.selectedList = _this5.selectedList.filter(function (m) {
184010
+ if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
184014
184011
  return m.id != v.id;
184015
184012
  });
184016
184013
  }
@@ -184022,7 +184019,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184022
184019
  }, {
184023
184020
  key: "selectItems",
184024
184021
  value: function selectItems(item, index) {
184025
- var _this6 = this;
184022
+ var _this7 = this;
184026
184023
 
184027
184024
  if (!this.isAllowMultiSelect) {
184028
184025
  this.poperSelectList.forEach(function (v) {
@@ -184039,13 +184036,13 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184039
184036
  }
184040
184037
 
184041
184038
  if (v.default) {
184042
- if (_this6.isCanSearch && _this6.selectedList.filter(function (m) {
184039
+ if (_this7.isCanSearch && _this7.selectedList.filter(function (m) {
184043
184040
  return m.id == v.id;
184044
184041
  }).length == 0) {
184045
- _this6.selectedList.push(v);
184042
+ _this7.selectedList.push(v);
184046
184043
  }
184047
184044
  } else {
184048
- if (_this6.isCanSearch) _this6.selectedList = _this6.selectedList.filter(function (m) {
184045
+ if (_this7.isCanSearch) _this7.selectedList = _this7.selectedList.filter(function (m) {
184049
184046
  return m.id != v.id;
184050
184047
  });
184051
184048
  }
@@ -184077,7 +184074,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184077
184074
  }, {
184078
184075
  key: "sureSelect",
184079
184076
  value: function sureSelect() {
184080
- var _this7 = this;
184077
+ var _this8 = this;
184081
184078
 
184082
184079
  var text = "";
184083
184080
  var keyValue = "";
@@ -184141,7 +184138,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184141
184138
  currentPoperNode.text = text;
184142
184139
  currentPoperNode.keyValue = keyValue;
184143
184140
  Object.keys(this.textParam).map(function (v) {
184144
- _this7.textParam[v] = currentPoperNode[v];
184141
+ _this8.textParam[v] = currentPoperNode[v];
184145
184142
  });
184146
184143
 
184147
184144
  if (this.textParam.downListProperty.allowMultiSelected) {
@@ -184154,7 +184151,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184154
184151
 
184155
184152
  if (selected.length === 1 && selected[0].text.indexOf("<元素>") !== -1) {
184156
184153
  setTimeout(function () {
184157
- _this7.handleClose();
184154
+ _this8.handleClose();
184158
184155
  }, 200);
184159
184156
  } else {
184160
184157
  this.handleClose();
@@ -184190,10 +184187,10 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
184190
184187
  }, {
184191
184188
  key: "handleClose",
184192
184189
  value: function handleClose() {
184193
- var _this8 = this;
184190
+ var _this9 = this;
184194
184191
 
184195
184192
  this.$nextTick(function () {
184196
- return _this8.$emit("poperClose");
184193
+ return _this9.$emit("poperClose");
184197
184194
  });
184198
184195
  }
184199
184196
  }, {
@@ -184235,8 +184232,8 @@ PoperSelectvue_type_script_lang_ts_PoperSelectModal = __decorate([vue_class_comp
184235
184232
  /* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_PoperSelectModal);
184236
184233
  // CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
184237
184234
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
184238
- // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=5ff7a058&lang=scss&scoped=true&
184239
- var PoperSelectvue_type_style_index_0_id_5ff7a058_lang_scss_scoped_true_ = __webpack_require__("c337");
184235
+ // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=858143be&lang=scss&scoped=true&
184236
+ var PoperSelectvue_type_style_index_0_id_858143be_lang_scss_scoped_true_ = __webpack_require__("4b36");
184240
184237
 
184241
184238
  // CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
184242
184239
 
@@ -184249,11 +184246,11 @@ var PoperSelectvue_type_style_index_0_id_5ff7a058_lang_scss_scoped_true_ = __web
184249
184246
 
184250
184247
  var PoperSelect_component = normalizeComponent(
184251
184248
  poperSelect_PoperSelectvue_type_script_lang_ts_,
184252
- PoperSelectvue_type_template_id_5ff7a058_scoped_true_render,
184253
- PoperSelectvue_type_template_id_5ff7a058_scoped_true_staticRenderFns,
184249
+ PoperSelectvue_type_template_id_858143be_scoped_true_render,
184250
+ PoperSelectvue_type_template_id_858143be_scoped_true_staticRenderFns,
184254
184251
  false,
184255
184252
  null,
184256
- "5ff7a058",
184253
+ "858143be",
184257
184254
  null
184258
184255
 
184259
184256
  )
@@ -186549,9 +186546,8 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
186549
186546
 
186550
186547
  if (parentNode.readOnlyStatus === 0 && parentNode.text.replace(/\s*/g, "") !== "") {
186551
186548
  return false;
186552
- }
186549
+ } // this.computedPoperPosition(node, pageIndex);
186553
186550
 
186554
- this.computedPoperPosition(node, pageIndex);
186555
186551
 
186556
186552
  if (Number(parentNode.inputFieldType) === 2) {
186557
186553
  this.poperType = "datePoper";
@@ -186637,7 +186633,6 @@ var HoDocvue_type_script_lang_ts_HoDoc = /*#__PURE__*/function (_Vue) {
186637
186633
  var nodePos = node.drawNodes[0];
186638
186634
  var drawLine = hoEditorFactory.drawTree.getDrawLineByDNode(nodePos);
186639
186635
  var docPos = drawLine.localToGlobal(nodePos.x, nodePos.y === 0 ? drawLine.dHeight : nodePos.y); // console.log(node)
186640
- // console.log(nodePos)
186641
186636
 
186642
186637
  this.poperPos = {
186643
186638
  x: docPos.x / DrawConfig["a" /* DrawConfig */].instance().scaleXY,
@@ -186781,8 +186776,8 @@ var HoDocvue_type_style_index_0_lang_scss_ = __webpack_require__("560f");
186781
186776
 
186782
186777
  var HoDoc_component = normalizeComponent(
186783
186778
  components_HoDocvue_type_script_lang_ts_,
186784
- HoDocvue_type_template_id_db861dc8_render,
186785
- HoDocvue_type_template_id_db861dc8_staticRenderFns,
186779
+ HoDocvue_type_template_id_098ad338_render,
186780
+ HoDocvue_type_template_id_098ad338_staticRenderFns,
186786
186781
  false,
186787
186782
  null,
186788
186783
  null,
@@ -193234,7 +193229,6 @@ var MedicalExpressionNode = __webpack_require__("b790");
193234
193229
 
193235
193230
 
193236
193231
 
193237
-
193238
193232
 
193239
193233
 
193240
193234
  var VueController_VueController = /*#__PURE__*/function () {
@@ -195319,7 +195313,7 @@ var VueController_VueController = /*#__PURE__*/function () {
195319
195313
  hoEditorFactory.drawTree.paintStatus = status;
195320
195314
 
195321
195315
  if (status === 2) {
195322
- hoEditorFactory.printStatus.printRange = printStatus;
195316
+ if (printStatus) hoEditorFactory.printStatus.printRange = printStatus;
195323
195317
  } else {
195324
195318
  hoEditorFactory.printStatus.printRange = 2;
195325
195319
  hoEditorFactory.printStatus.drawPrintRecord.clear();
@@ -199622,8 +199616,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199622
199616
  setStatus.then(function (res) {
199623
199617
  if (res) {
199624
199618
  return new Promise(function (reslove, reject) {
199625
- var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p"; // const PDF = new JsPDF(orientation, "px", [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes]);
199626
-
199619
+ var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199627
199620
  var options = {
199628
199621
  orientation: orientation,
199629
199622
  unit: 'px',
@@ -199830,6 +199823,69 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199830
199823
 
199831
199824
  return mergeXmlToPrintPDF;
199832
199825
  }()
199826
+ }, {
199827
+ key: "pintAllToPDFNew",
199828
+ value: function pintAllToPDFNew(xmlList) {
199829
+ var _this4 = this;
199830
+
199831
+ var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 保存打印前文档状态 和 内容
199832
+
199833
+ var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
199834
+ var xml = hoEditorFactory.vueController.getDocXml(); // 提前设置打印预览状态 合并后减少一次重绘时间
199835
+
199836
+ if (!hoEditorFactory.isHideComments) {
199837
+ hoEditorFactory.vueController.hideComments(true);
199838
+ }
199839
+
199840
+ hoEditorFactory.printStatus.printMode = 0;
199841
+ hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
199842
+ var hPromise = Promise.resolve();
199843
+ xmlList.forEach(function (file, fileIndex) {
199844
+ hPromise = hPromise.then(function (res) {
199845
+ return new Promise(function (resolve) {
199846
+ if (fileIndex === 0) {
199847
+ Promise.all([hoEditorFactory.vueController.openXml(file, undefined, true)]).then(function () {
199848
+ if (hoEditorFactory.loadImageCount === 0) {
199849
+ resolve();
199850
+ hoEditorFactory.loadImageCallback = null;
199851
+ } else {
199852
+ hoEditorFactory.loadImageCallback = resolve;
199853
+ }
199854
+ });
199855
+ } else {
199856
+ Promise.all([hoEditorFactory.vueController.mergeDocs(file, true, undefined, true)]).then(function () {
199857
+ if (hoEditorFactory.loadImageCount === 0) {
199858
+ resolve();
199859
+ hoEditorFactory.loadImageCallback = null;
199860
+ } else {
199861
+ hoEditorFactory.loadImageCallback = resolve;
199862
+ }
199863
+ });
199864
+ }
199865
+ });
199866
+ });
199867
+ });
199868
+ hPromise = hPromise.then(function () {
199869
+ return new Promise(function (resolve) {
199870
+ var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199871
+ var options = {
199872
+ orientation: orientation,
199873
+ unit: 'px',
199874
+ format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
199875
+ hotfixes: ["px_scaling"]
199876
+ };
199877
+ var PDF = new jspdf_es_min["d" /* default */](options);
199878
+ PDF.setFont("SimSun");
199879
+ PrintStatus["a" /* Print */].printToPDF(_this4._hoEditorFactoryID, PDF, undefined, undefined, resolve, undefined);
199880
+ setTimeout(function () {
199881
+ // 恢复文档状态
199882
+ hoEditorFactory.drawTree.paintStatus = beforePrintStatus; // 恢复文档内容
199883
+
199884
+ hoEditorFactory.vueController.openXml(xml);
199885
+ }, 0);
199886
+ });
199887
+ });
199888
+ }
199833
199889
  /**
199834
199890
  * 批量打印病历 当前
199835
199891
  * @param xmlList ['xml内容', 'xml内容']
@@ -199839,9 +199895,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199839
199895
  key: "pintAllToPDF",
199840
199896
  value: function () {
199841
199897
  var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(xmlList) {
199842
- var _this4 = this;
199898
+ var _this5 = this;
199843
199899
 
199844
- var hoEditorFactory, beforePrintStatus, xml, orientation, xmlIndex, options, PDF, loadingInstance, callback, toPrint, createSvg;
199900
+ var hoEditorFactory, beforePrintStatus, xml, xmlIndex, PDF, loadingInstance, callback, toPrint, createSvg;
199845
199901
  return regeneratorRuntime.wrap(function _callee2$(_context2) {
199846
199902
  while (1) {
199847
199903
  switch (_context2.prev = _context2.next) {
@@ -199856,16 +199912,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199856
199912
 
199857
199913
  hoEditorFactory.printStatus.printMode = 0;
199858
199914
  hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
199859
- orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199860
- xmlIndex = -1;
199861
- options = {
199862
- orientation: orientation,
199863
- unit: 'px',
199864
- format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
199865
- hotfixes: ["px_scaling"]
199866
- };
199867
- PDF = new jspdf_es_min["d" /* default */](options);
199868
- PDF.setFont("SimSun");
199915
+ xmlIndex = -1; // const orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199916
+ // const options: jsPDFOptions = {
199917
+ // orientation: orientation,
199918
+ // unit: 'px',
199919
+ // format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
199920
+ // hotfixes: ["px_scaling"]
199921
+ // }
199922
+ // console.log(options)
199923
+
199924
+ // PDF.setFont("SimSun");
199869
199925
  loadingInstance = lib_loading_default.a.service({
199870
199926
  target: "ho-docs",
199871
199927
  spinner: "el-icon-loading",
@@ -199878,8 +199934,8 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199878
199934
  loadingInstance.text = "正在加载病历文件:" + params.text;
199879
199935
  };
199880
199936
 
199881
- toPrint = function toPrint() {
199882
- PrintStatus["a" /* Print */].printAllXml(_this4._hoEditorFactoryID, createSvg, PDF);
199937
+ toPrint = function toPrint(status) {
199938
+ PrintStatus["a" /* Print */].printAllXml(_this5._hoEditorFactoryID, createSvg, PDF);
199883
199939
  };
199884
199940
 
199885
199941
  createSvg = function createSvg() {
@@ -199887,6 +199943,18 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199887
199943
 
199888
199944
  if (xmlIndex <= xmlList.length - 1) {
199889
199945
  Promise.all([hoEditorFactory.vueController.openXml(xmlList[xmlIndex], callback)]).then(function () {
199946
+ if (xmlIndex === 0) {
199947
+ var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199948
+ var options = {
199949
+ orientation: orientation,
199950
+ unit: 'px',
199951
+ format: [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes],
199952
+ hotfixes: ["px_scaling"]
199953
+ };
199954
+ PDF = new jspdf_es_min["d" /* default */](options);
199955
+ PDF.setFont("SimSun");
199956
+ }
199957
+
199890
199958
  if (hoEditorFactory.loadImageCount === 0) {
199891
199959
  toPrint();
199892
199960
  hoEditorFactory.loadImageCallback = null;
@@ -199905,7 +199973,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199905
199973
 
199906
199974
  createSvg();
199907
199975
 
199908
- case 16:
199976
+ case 12:
199909
199977
  case "end":
199910
199978
  return _context2.stop();
199911
199979
  }
@@ -199927,7 +199995,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199927
199995
  }, {
199928
199996
  key: "viewAll",
199929
199997
  value: function viewAll(xmlList) {
199930
- var _this5 = this;
199998
+ var _this6 = this;
199931
199999
 
199932
200000
  // 初始化文档状态 --- 打印预览
199933
200001
  var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
@@ -199947,16 +200015,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199947
200015
 
199948
200016
  var toPrint = function toPrint() {
199949
200017
  viewElementContent = document.createElement("div");
199950
- PrintStatus["a" /* Print */].printToHtml(_this5._hoEditorFactoryID, createSvg, viewElementContent);
200018
+ PrintStatus["a" /* Print */].printToHtml(_this6._hoEditorFactoryID, createSvg, viewElementContent);
199951
200019
  };
199952
200020
 
199953
200021
  var createSvg = function createSvg() {
199954
- if (_this5._xmlIndex > 0 && viewElementContent) {
200022
+ if (_this6._xmlIndex > 0 && viewElementContent) {
199955
200023
  var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
199956
200024
  viewElementContent.dataset.size = hoEditorFactory.pageProperty.pageSize;
199957
200025
  viewElementContent.dataset.orientation = orientation;
199958
200026
 
199959
- if (_this5._xmlIndex < 3) {
200027
+ if (_this6._xmlIndex < 3) {
199960
200028
  hoEditorFactory.continuousView.currentList.push(viewElementContent);
199961
200029
  hoEditorFactory.continuousView.allList.push(viewElementContent);
199962
200030
  } else {
@@ -199964,9 +200032,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199964
200032
  }
199965
200033
  }
199966
200034
 
199967
- if (_this5._xmlIndex <= _this5._viewXmlList.length - 1) {
199968
- if (_this5._viewXmlList[_this5._xmlIndex]) {
199969
- Promise.all([hoEditorFactory.vueController.openXml(_this5._viewXmlList[_this5._xmlIndex])]).then(function () {
200035
+ if (_this6._xmlIndex <= _this6._viewXmlList.length - 1) {
200036
+ if (_this6._viewXmlList[_this6._xmlIndex]) {
200037
+ Promise.all([hoEditorFactory.vueController.openXml(_this6._viewXmlList[_this6._xmlIndex])]).then(function () {
199970
200038
  if (hoEditorFactory.loadImageCount === 0) {
199971
200039
  toPrint();
199972
200040
  hoEditorFactory.loadImageCallback = null;
@@ -199974,7 +200042,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199974
200042
  hoEditorFactory.loadImageCallback = toPrint;
199975
200043
  }
199976
200044
  });
199977
- _this5._xmlIndex++;
200045
+ _this6._xmlIndex++;
199978
200046
  }
199979
200047
  }
199980
200048
  };
@@ -199990,7 +200058,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
199990
200058
  }, {
199991
200059
  key: "mergeViewAll",
199992
200060
  value: function mergeViewAll(xmlList, mergeEnd) {
199993
- var _this6 = this;
200061
+ var _this7 = this;
199994
200062
 
199995
200063
  var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 提前设置打印预览状态 合并后减少一次重绘时间
199996
200064
 
@@ -200010,16 +200078,16 @@ var PrintController_PrintController = /*#__PURE__*/function () {
200010
200078
  }
200011
200079
 
200012
200080
  var createSvg = function createSvg() {
200013
- _this6._xmlIndex++;
200081
+ _this7._xmlIndex++;
200014
200082
 
200015
- if (_this6._xmlIndex <= _this6._viewXmlList.length - 1) {
200016
- var current = typeof _this6._viewXmlList[_this6._xmlIndex] != "string";
200083
+ if (_this7._xmlIndex <= _this7._viewXmlList.length - 1) {
200084
+ var current = typeof _this7._viewXmlList[_this7._xmlIndex] != "string";
200017
200085
 
200018
- var _xml = current ? _this6._viewXmlList[_this6._xmlIndex].xml : _this6._viewXmlList[_this6._xmlIndex];
200086
+ var _xml = current ? _this7._viewXmlList[_this7._xmlIndex].xml : _this7._viewXmlList[_this7._xmlIndex];
200019
200087
 
200020
- var isMerge = current ? _this6._viewXmlList[_this6._xmlIndex].isMerge : false;
200088
+ var isMerge = current ? _this7._viewXmlList[_this7._xmlIndex].isMerge : false;
200021
200089
 
200022
- if (_this6._xmlIndex === 0) {
200090
+ if (_this7._xmlIndex === 0) {
200023
200091
  Promise.all([hoEditorFactory.vueController.openXml(_xml, undefined, true)]).then(function () {
200024
200092
  if (hoEditorFactory.loadImageCount == 0) {
200025
200093
  hoEditorFactory.loadImageCallback = null;
@@ -200039,11 +200107,11 @@ var PrintController_PrintController = /*#__PURE__*/function () {
200039
200107
  });
200040
200108
  }
200041
200109
 
200042
- if (_this6._xmlIndex === _this6._viewXmlList.length - 1) {}
200110
+ if (_this7._xmlIndex === _this7._viewXmlList.length - 1) {}
200043
200111
 
200044
200112
  if (mergeEnd) {
200045
- _this6._xmlIndex = 0;
200046
- _this6._viewXmlList = [];
200113
+ _this7._xmlIndex = 0;
200114
+ _this7._viewXmlList = [];
200047
200115
  }
200048
200116
  }
200049
200117
  };
@@ -202202,12 +202270,12 @@ var DateDialogvue_type_template_id_03f03576_staticRenderFns = []
202202
202270
 
202203
202271
  // CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=03f03576&
202204
202272
 
202205
- // 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&
202206
- 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)])}
202207
- var Tabvue_type_template_id_5ccacc33_staticRenderFns = []
202273
+ // 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&
202274
+ 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)])}
202275
+ var Tabvue_type_template_id_7c6c4d81_staticRenderFns = []
202208
202276
 
202209
202277
 
202210
- // CONCATENATED MODULE: ./src/components/toolbar/tab/Tab.vue?vue&type=template&id=5ccacc33&
202278
+ // CONCATENATED MODULE: ./src/components/toolbar/tab/Tab.vue?vue&type=template&id=7c6c4d81&
202211
202279
 
202212
202280
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
202213
202281
  var es_array_from = __webpack_require__("a630");
@@ -202237,7 +202305,7 @@ var es_array_from = __webpack_require__("a630");
202237
202305
  props: ["tabKey"],
202238
202306
  data: function data() {
202239
202307
  return {
202240
- currentValue: this.tabKey,
202308
+ currentValue: this.tabKey ? this.tabKey : 'ho-edit',
202241
202309
  navList: [],
202242
202310
  activeBarStyle: {
202243
202311
  left: "0px",
@@ -202263,16 +202331,14 @@ var es_array_from = __webpack_require__("a630");
202263
202331
  });
202264
202332
 
202265
202333
  if (!pane.name) pane.name = index;
202334
+ }
202335
+ }); // setTimeout(() => {
202336
+
202337
+ if (!this.currentValue) {
202338
+ this.currentValue = this.navList[0].name;
202339
+ } // }, 0);
202266
202340
 
202267
- if (index === 0) {
202268
- if (!_this.currentValue) {
202269
- _this.currentValue = pane.name || index;
202270
202341
 
202271
- _this.$emit("updateTabKey", _this.currentValue);
202272
- }
202273
- }
202274
- }
202275
- });
202276
202342
  this.updateStatus();
202277
202343
  },
202278
202344
  updateStatus: function updateStatus() {
@@ -202324,7 +202390,12 @@ var es_array_from = __webpack_require__("a630");
202324
202390
  this.currentValue = val;
202325
202391
  },
202326
202392
  currentValue: function currentValue(oldName, newName) {
202393
+ var _this4 = this;
202394
+
202327
202395
  this.updateStatus();
202396
+ setTimeout(function () {
202397
+ _this4.$emit("updateTabKey", _this4.currentValue);
202398
+ }, 0);
202328
202399
  }
202329
202400
  }
202330
202401
  });
@@ -202344,8 +202415,8 @@ var Tabvue_type_style_index_0_lang_css_ = __webpack_require__("7b87");
202344
202415
 
202345
202416
  var Tab_component = normalizeComponent(
202346
202417
  tab_Tabvue_type_script_lang_js_,
202347
- Tabvue_type_template_id_5ccacc33_render,
202348
- Tabvue_type_template_id_5ccacc33_staticRenderFns,
202418
+ Tabvue_type_template_id_7c6c4d81_render,
202419
+ Tabvue_type_template_id_7c6c4d81_staticRenderFns,
202349
202420
  false,
202350
202421
  null,
202351
202422
  null,
@@ -208496,12 +208567,12 @@ var HoDocs_component = normalizeComponent(
208496
208567
  )
208497
208568
 
208498
208569
  /* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
208499
- // 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&
208500
- 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)}
208501
- var ToolBarvue_type_template_id_b74fa70c_staticRenderFns = []
208570
+ // 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&
208571
+ 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)}
208572
+ var ToolBarvue_type_template_id_0cf834c1_staticRenderFns = []
208502
208573
 
208503
208574
 
208504
- // CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=b74fa70c&
208575
+ // CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=0cf834c1&
208505
208576
 
208506
208577
  // 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&
208507
208578
  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)}
@@ -213176,7 +213247,10 @@ var ToolBarvue_type_script_lang_ts_ToolBar = /*#__PURE__*/function (_Vue) {
213176
213247
  }, {
213177
213248
  key: "toolbarParamsChange",
213178
213249
  value: function toolbarParamsChange(toolbarParams) {
213179
- if (this.toolbarParams) this.defaultToolBarParams = _objectSpread2(_objectSpread2({}, this.defaultToolBarParams), this.toolbarParams);
213250
+ if (this.toolbarParams) {
213251
+ this.defaultToolBarParams = _objectSpread2(_objectSpread2({}, this.defaultToolBarParams), this.toolbarParams);
213252
+ }
213253
+
213180
213254
  if (this.tabKey) this.vueController.setEditorStatus(this.defaultToolBarParams[this.tabKey]);
213181
213255
  this.emitToolBarStatus();
213182
213256
  }
@@ -213184,7 +213258,10 @@ var ToolBarvue_type_script_lang_ts_ToolBar = /*#__PURE__*/function (_Vue) {
213184
213258
  key: "vueControllerChange",
213185
213259
  value: function vueControllerChange() {
213186
213260
  if (Object.prototype.toString.call(this.vueController.setEditorStatus) === "[object Function]") {
213187
- if (this.toolbarParams) this.defaultToolBarParams = _objectSpread2(_objectSpread2({}, this.defaultToolBarParams), this.toolbarParams);
213261
+ if (this.toolbarParams) {
213262
+ this.defaultToolBarParams = _objectSpread2(_objectSpread2({}, this.defaultToolBarParams), this.toolbarParams);
213263
+ }
213264
+
213188
213265
  if (this.tabKey) this.vueController.setEditorStatus(this.defaultToolBarParams[this.tabKey]);
213189
213266
  this.userInfoes = this.vueController.getUserInfoes();
213190
213267
  this.emitToolBarStatus();
@@ -213195,7 +213272,7 @@ var ToolBarvue_type_script_lang_ts_ToolBar = /*#__PURE__*/function (_Vue) {
213195
213272
  value: function mounted() {
213196
213273
  var _this2 = this;
213197
213274
 
213198
- this.tabKey = this.tabStatus;
213275
+ if (this.tabStatus) this.tabKey = this.tabStatus;
213199
213276
 
213200
213277
  if (Object.prototype.toString.call(this.vueController.setEditorStatus) === "[object Function]") {
213201
213278
  if (this.tabKey) this.$nextTick(function () {
@@ -213590,8 +213667,8 @@ var ToolBarvue_type_style_index_0_lang_scss_ = __webpack_require__("e530");
213590
213667
 
213591
213668
  var ToolBar_component = normalizeComponent(
213592
213669
  toolbar_ToolBarvue_type_script_lang_ts_,
213593
- ToolBarvue_type_template_id_b74fa70c_render,
213594
- ToolBarvue_type_template_id_b74fa70c_staticRenderFns,
213670
+ ToolBarvue_type_template_id_0cf834c1_render,
213671
+ ToolBarvue_type_template_id_0cf834c1_staticRenderFns,
213595
213672
  false,
213596
213673
  null,
213597
213674
  null,