hoeditor-web 3.1.157 → 3.1.159

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.
@@ -9653,7 +9653,7 @@ var component = (0,componentNormalizer/* default */.Z)(
9653
9653
 
9654
9654
  /***/ }),
9655
9655
 
9656
- /***/ 40769:
9656
+ /***/ 10812:
9657
9657
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9658
9658
 
9659
9659
  "use strict";
@@ -9673,7 +9673,7 @@ var es_string_includes = __webpack_require__(32023);
9673
9673
  var es_regexp_exec = __webpack_require__(74916);
9674
9674
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
9675
9675
  var es_string_replace = __webpack_require__(15306);
9676
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=2229ef1c&
9676
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=039de5ee&
9677
9677
 
9678
9678
 
9679
9679
 
@@ -10139,7 +10139,7 @@ var render = function render() {
10139
10139
  };
10140
10140
  var staticRenderFns = [];
10141
10141
 
10142
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=2229ef1c&
10142
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=039de5ee&
10143
10143
 
10144
10144
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
10145
10145
  var toConsumableArray = __webpack_require__(61748);
@@ -13040,10 +13040,10 @@ var columns = [{
13040
13040
  });
13041
13041
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
13042
13042
  /* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
13043
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=2229ef1c&prod&lang=less&
13043
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=039de5ee&prod&lang=less&
13044
13044
  // extracted by mini-css-extract-plugin
13045
13045
 
13046
- ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=2229ef1c&prod&lang=less&
13046
+ ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=039de5ee&prod&lang=less&
13047
13047
 
13048
13048
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
13049
13049
  var componentNormalizer = __webpack_require__(70713);
@@ -17134,7 +17134,7 @@ var component = (0,componentNormalizer/* default */.Z)(
17134
17134
 
17135
17135
  /***/ }),
17136
17136
 
17137
- /***/ 97628:
17137
+ /***/ 19363:
17138
17138
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17139
17139
 
17140
17140
  "use strict";
@@ -17154,7 +17154,7 @@ var es_string_includes = __webpack_require__(32023);
17154
17154
  var es_regexp_exec = __webpack_require__(74916);
17155
17155
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
17156
17156
  var es_string_replace = __webpack_require__(15306);
17157
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=bcd755a2&
17157
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=7a33549e&
17158
17158
 
17159
17159
 
17160
17160
 
@@ -17420,7 +17420,7 @@ var render = function render() {
17420
17420
  };
17421
17421
  var staticRenderFns = [];
17422
17422
 
17423
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=bcd755a2&
17423
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=7a33549e&
17424
17424
 
17425
17425
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
17426
17426
  var toConsumableArray = __webpack_require__(61748);
@@ -17804,21 +17804,10 @@ var popper = __webpack_require__(95551);
17804
17804
  this.isCanSearch = true;
17805
17805
  }
17806
17806
  var _height = this.poperList.length * 36 + 72;
17807
- // if (this.isAllowMultiSelect) height += 36;
17808
17807
  if (this.isCanSearch) _height += 28;
17809
- // if (height < 360) {
17810
- // let posStyle = this.computedPoperPosition(height, this.poperPos);
17811
- // delete posStyle['height'];
17812
- // this.posStyle = posStyle;
17813
- // } else {
17814
- // let posStyle = this.computedPoperPosition(360, this.poperPos);
17815
- // delete posStyle['height'];
17816
- // this.posStyle = posStyle;
17817
- // }
17818
17808
  }
17819
17809
  },
17820
17810
  getTime: function getTime(val) {
17821
- this.date = val.value;
17822
17811
  if (val.type == 'dblclick') {
17823
17812
  this.sureDate();
17824
17813
  }
@@ -17930,10 +17919,10 @@ var popper = __webpack_require__(95551);
17930
17919
  });
17931
17920
  ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=script&lang=js&
17932
17921
  /* harmony default export */ var table_TableCellPopervue_type_script_lang_js_ = (TableCellPopervue_type_script_lang_js_);
17933
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=bcd755a2&prod&lang=less&
17922
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=7a33549e&prod&lang=less&
17934
17923
  // extracted by mini-css-extract-plugin
17935
17924
 
17936
- ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=bcd755a2&prod&lang=less&
17925
+ ;// CONCATENATED MODULE: ./src/components/controls/table/TableCellPoper.vue?vue&type=style&index=0&id=7a33549e&prod&lang=less&
17937
17926
 
17938
17927
  // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
17939
17928
  var componentNormalizer = __webpack_require__(70713);
@@ -64232,19 +64221,12 @@ var TableNode = /*#__PURE__*/function (_RectNode) {
64232
64221
  var mainArea = hoEditorFactory.drawPageTree.getMainRootArea(this.drawTable.drawPageTables[0]);
64233
64222
  if (mainArea) {
64234
64223
  var drawTop = this.drawTable.drawPageTables[0].y;
64235
- if (mainArea.contains(this.drawTable.drawPageTables[0]) && this.drawTable.drawPageTables[0] instanceof _editor_draw_drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_43__/* .DrawPageTable */ .ox && this.drawTable.drawPageTables[0].table.drawTable.drawPageTables.indexOf(this.drawTable.drawPageTables[0]) > 0) {
64224
+ var drawPageTable = this.drawTable.drawPageTables[0];
64225
+ if (mainArea.contains(drawPageTable) && drawPageTable instanceof _editor_draw_drawNode_DrawPageTable__WEBPACK_IMPORTED_MODULE_43__/* .DrawPageTable */ .ox && drawPageTable.table.drawTable.drawPageTables.indexOf(drawPageTable) > 0) {
64236
64226
  drawTop = 0;
64237
64227
  }
64238
64228
  hoEditorFactory.drawPageTree.update(mainArea, dpos[0].drawRoots, drawTop, dpos[0].index, dpos[0].index);
64239
64229
  }
64240
- // HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).redrawManger.addRedrawRange(
64241
- // dcell,
64242
- // pageIndex,
64243
- // droots,
64244
- // index,
64245
- // droots.length - 1,
64246
- // this.getNodePath()
64247
- // );
64248
64230
  }
64249
64231
  // public getSelectMaxR(r: number): number {
64250
64232
  // let maxR = r;
@@ -68137,7 +68119,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
68137
68119
  /**
68138
68120
  * 内容为空,显示一个点位符
68139
68121
  */
68140
- var ph = 0;
68141
68122
  var startPath = '';
68142
68123
  var endPath = '';
68143
68124
  var first = this.StartMarkNode;
@@ -68212,18 +68193,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
68212
68193
  pNode = pNode.parentNode;
68213
68194
  } while (pNode);
68214
68195
  }
68215
- // if (this.isEmpty()) {
68216
- // //空时候,占位
68217
- // if (this.childNodes.length == 3) {
68218
- // lastWidth -= (this.childNodes[1] as MarkNode).width;
68219
- // lastWidth = lastWidth > 0 ? lastWidth : 0;
68220
- // }
68221
- // last.width = lastWidth > 0 ? lastWidth : ph;
68222
- // startPath = hoEditorFactory.docTree.getNodeLastPath(first);
68223
- // endPath = hoEditorFactory.docTree.getNodeLastPath(last);
68224
- // needPaint = true;
68225
- // this.text = "";
68226
- // } else
68227
68196
  if (this.StartMarkNode.drawNodes.length > 0 && this.EndMarkNode.drawNodes.length > 0) {
68228
68197
  //不空,还原
68229
68198
  var bInSameLine = DrawLine/* DrawLine */.a.inSameLine(this.StartMarkNode.drawNodes[0], this.EndMarkNode.drawNodes[0]);
@@ -68271,8 +68240,6 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
68271
68240
  lastWidth -= this.childNodes[1].width;
68272
68241
  lastWidth = lastWidth > 0 ? lastWidth : 0;
68273
68242
  }
68274
- // this.StartMarkNode.paintMark(true)
68275
- // this.EndMarkNode.paintMark(true)
68276
68243
  }
68277
68244
  //获取域内文本串
68278
68245
  }, {
@@ -68418,9 +68385,7 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
68418
68385
  this.customProperty = customProperty;
68419
68386
  }
68420
68387
  this.keyValue = keyValue || '';
68421
- if (value) {
68422
- this.value = value;
68423
- }
68388
+ this.value = value || '';
68424
68389
  hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
68425
68390
  startPath = this.StartMarkNode.getNodePath();
68426
68391
  if (!(text === '' && this.childNodes[1] instanceof MarkNode/* MarkNode */.j)) {
@@ -69610,13 +69575,13 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
69610
69575
  }, {
69611
69576
  key: "textInpubNodeRedraw",
69612
69577
  value: function textInpubNodeRedraw(hoEditorFactoryID, node) {
69613
- var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(hoEditorFactoryID);
69578
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(node._hoEditorFactoryID);
69614
69579
  var startPath = node.StartMarkNode.getNodePath();
69615
69580
  var paragraphNode = hoEditorFactory.docTree.getNodeParaNode(node.EndMarkNode);
69616
69581
  var endPath = hoEditorFactory.docTree.getNodeLastPath(paragraphNode);
69617
- var changeEvent = new NodeChangeEvent/* NodeChangeEvent */.G(hoEditorFactoryID, DocTree/* DocAction */.gk.daModifyStyle, startPath, endPath);
69582
+ var changeEvent = new NodeChangeEvent/* NodeChangeEvent */.G(node._hoEditorFactoryID, DocTree/* DocAction */.gk.daModifyStyle, startPath, endPath);
69618
69583
  changeEvent.oldEndPath = endPath;
69619
- changeEvent.oldDrawLines = new SelectRange/* SelectRange */.E(hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true, true);
69584
+ changeEvent.oldDrawLines = new SelectRange/* SelectRange */.E(node._hoEditorFactoryID).getRangeDrawLines(startPath, endPath, true, true);
69620
69585
  hoEditorFactory.docTree.change(changeEvent);
69621
69586
  }
69622
69587
  }]);
@@ -70665,33 +70630,8 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
70665
70630
  _this._dBaseY = 0;
70666
70631
  _this._docHeight = hoEditorFactory.defaultLineHeight;
70667
70632
  _this._dHeight = _this._docHeight;
70668
- // const shape = new createjs.Shape();
70669
- // shape.x = 0;
70670
- // shape.y = 0;
70671
- // shape.graphics
70672
- // .clear()
70673
- // .beginFill("#FFEE90")
70674
- // .drawRect(
70675
- // 0,
70676
- // 0,
70677
- // this._dWidth,
70678
- // this._dHeight + this.paragraphNode.combineParagraph.lineSpace
70679
- // );
70680
- // shape.alpha = 0.5;
70681
- // // const y = this._dTop;
70682
- // // this.removeAllChildren();
70683
- // this.addChildAt(shape, 0);
70684
- // this.setBounds(x,y,width,gLineHeight);
70685
70633
  return _this;
70686
70634
  }
70687
- // public appendItem(ditem: DrawLineNode){
70688
- // this.addChild(ditem);
70689
- // const rect= ditem.getBounds();
70690
- // this._actualWidth=this._actualWidth+rect.width+g_CharSpace;
70691
- // if (this._height<rect.height) {x
70692
- // this._height=rect.height;
70693
- // }
70694
- // }
70695
70635
  (0,createClass/* default */.Z)(DrawLine, [{
70696
70636
  key: "dWidth",
70697
70637
  get: function get() {
@@ -70935,17 +70875,11 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
70935
70875
  var iCount = 0; //文本节点数量
70936
70876
  //FIXME:去掉左边距后真实的宽度,后续还要去掉margin的的left right
70937
70877
  var lwidth = this._dWidth;
70938
- // this.paragraphNode.getParagraphLeftWidth()[1] - this.paragraphNode.combineParagraph.leftMarginPixes
70939
- // - this.paragraphNode.combineParagraph.rightMarginPixes;
70940
- // if (this.paragraphNode.parentNode instanceof TextInputFieldNode)
70941
- //this.x = this.paragraphNode.getParagraphLeftWidth()[0] + this.paragraphNode.combineParagraph.leftMarginPixes;
70942
- //else this.x = this.paragraphNode.combineParagraph.leftMarginPixes
70943
70878
  //文字摆放开始位置
70944
70879
  //this.paragraphNode.combineParagraph.leftMarginPixes;
70945
70880
  //字间距,分散对齐:计算宽度时候使用默认字间距
70946
70881
  var charspace = this._paragraphNode.combineParagraph.charSpace;
70947
70882
  var spacing = 0;
70948
- var imageHeight = 0;
70949
70883
  var maxFontHeight = 0;
70950
70884
  //1.返回dWidth并计算actualWidth(实际需要占用的宽度),dHeight
70951
70885
  for (var i = 0; i < this.drawItems.length; i++) {
@@ -70971,21 +70905,14 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
70971
70905
  dWidth = this.drawItems[i].dWidth;
70972
70906
  iCount += 1;
70973
70907
  spacing = charspace;
70974
- // if (dItem instanceof DrawImageNode || dItem instanceof DrawBarcodeNode || dItem instanceof DrawQrcodeNode) {
70975
- // imageHeight = Math.max(imageHeight, dItem.dHeight);
70976
- // }
70977
70908
  }
70978
-
70979
70909
  dHeight = Math.max(this.drawItems[i].dHeight, dHeight);
70980
70910
  if (this._drawItems[0] instanceof DrawCombineNode/* DrawCombineNode */.o && this._drawItems[0].node instanceof SeparateCharNode/* SeparateCharNode */.O) {
70981
- //dHeight = 2;
70982
70911
  dHeight = this._drawItems[0].node.width;
70983
70912
  }
70984
70913
  if (!(this.drawItems[i] instanceof DrawMarkNode/* DrawMarkNode */.I) && !(this._drawItems[i] instanceof DrawTextNode/* DrawTextNode */.v)) {
70985
70914
  iCount++;
70986
70915
  }
70987
- // if (((this.drawItems[i] as unknown) as DrawInfos).dHeight > dHeight)
70988
- // dHeight = ((this.drawItems[i] as unknown) as DrawInfos).dHeight;
70989
70916
  if (actualWidth + dWidth > lwidth && actualWidth > 0) {
70990
70917
  if (this.drawItems[i] instanceof DrawTextNode/* DrawTextNode */.v && UnitConvert/* UnitConvert */.P.isPuctuation(this._drawItems[i].text)) {} else {
70991
70918
  var nextLine = this._paragraphNode.getNextDline(this);
@@ -70994,7 +70921,6 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
70994
70921
  for (var n = i; n < this.drawItems.length; n++) {
70995
70922
  var ditem = this.drawItems[n];
70996
70923
  if (ditem) {
70997
- // this._islastline = false;
70998
70924
  this.removeChild(ditem);
70999
70925
  nextLine.addChild(ditem);
71000
70926
  }
@@ -71006,10 +70932,6 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
71006
70932
  }
71007
70933
  this._charCount = iCount;
71008
70934
  actualWidth += dWidth + spacing; //charspace;
71009
- // if (imageHeight === dHeight) {
71010
- // this._isImgHeightForMax = true;
71011
- // }
71012
- // this._actualWidth+=this.children[i]
71013
70935
  }
71014
70936
 
71015
70937
  this._maxFontHeight = maxFontHeight;
@@ -71022,111 +70944,6 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
71022
70944
  this._charSpace = this._paragraphNode.combineParagraph.charSpace;
71023
70945
  this.dWidth = this._dWidth;
71024
70946
  this.dHeight = this._dHeight;
71025
- // if (restWidth > 0&& this.drawItems.length>1) {
71026
- // this._charSpace = restWidth / this.drawItems.length - 1;
71027
- // }
71028
- // this.setBounds(this._dLeft, this._dTop, this._dWidth, this._dHeight);
71029
- // const shape = new createjs.Shape();
71030
- // shape.x = 0;
71031
- // shape.y = 0;
71032
- // shape.graphics
71033
- // .clear()
71034
- // .beginFill("#FFEE90")
71035
- // .drawRect(
71036
- // 0,
71037
- // 0,
71038
- // this._dWidth,
71039
- // this._dHeight + this.paragraphNode.combineParagraph.lineSpace
71040
- // );
71041
- // shape.alpha = 0.5;
71042
- // const y = this._dTop;
71043
- // this.removeAllChildren();
71044
- // this.uncache();
71045
- // // this.addChildAt(shape, 0);
71046
- // //2.计算起始位置
71047
- // switch (this._paragraphNode.combineParagraph.align) {
71048
- // case Align.alleft: {
71049
- // break;
71050
- // }
71051
- // case Align.alright: {
71052
- // usedWidth += lwidth - this.actualWidth;
71053
- // break;
71054
- // }
71055
- // case Align.alcenter: {
71056
- // usedWidth += (lwidth - this.actualWidth) / 2;
71057
- // break;
71058
- // }
71059
- // case Align.alSpaceEqually: {
71060
- // //更新字间距,目标是让字的宽度相同
71061
- // if (iCount > 1) {
71062
- // spacing = (lwidth - this.actualWidth) / (iCount - 1);
71063
- // }
71064
- // // if (this.drawItems.length > 1) {
71065
- // // spacing = (lwidth - this.actualWidth) / (this.drawItems.length - 1);
71066
- // // }
71067
- // this.charSpace += spacing;
71068
- // usedWidth += 0;
71069
- // break;
71070
- // }
71071
- // }
71072
- // /**
71073
- // * 返回字间距
71074
- // * @param index 字序号
71075
- // */
71076
- // const spaceEqu = (dline: DrawLine, index: number): number => {
71077
- // if (dline.drawItems[index] instanceof DrawMarkNode) {
71078
- // return 0;
71079
- // }
71080
- // if (dline._paragraphNode.combineParagraph.align != Align.alSpaceEqually)
71081
- // return dline.charSpace;
71082
- // if (isLastLine) return gCharSpace;
71083
- // //oldcharspace;
71084
- // else return dline.charSpace;
71085
- // };
71086
- // //3.放置
71087
- // //DONE:行高
71088
- // this._dHeight = this.paragraphNode.combineParagraph.lineSpace * dHeight;
71089
- // ((this as unknown) as DrawInfos).dHeight = this._dHeight;
71090
- // const bottompos = dHeight + (this._dHeight - dHeight) / 2;
71091
- // for (let j = 0; j < this.drawItems.length; j++) {
71092
- // if (this.drawItems[j] instanceof DrawContainer) {
71093
- // //更新绘制实例
71094
- // const charSpace = spaceEqu(this, j);
71095
- // const tmp = new DrawChangeEvent(charSpace, dHeight, dBaseY);
71096
- // // tmp.space = spaceEqu(j);
71097
- // // tmp.height = dHeight;
71098
- // // tmp.baseY = dBaseY;
71099
- // (this.drawItems[j] as DrawContainer).refresh(tmp);
71100
- // const dwidth = ((this.drawItems[j] as unknown) as DrawInfos).dWidth;
71101
- // //((this.drawItems[j] as unknown) as DrawInfos).dHeight = this._dHeight;
71102
- // this.drawItems[j].x = usedWidth; // + 1;
71103
- // this.drawItems[j].y = bottompos;
71104
- // usedWidth +=
71105
- // ((this.drawItems[j] as unknown) as DrawInfos).dWidth + charSpace;
71106
- // // this._charSpace;
71107
- // }
71108
- // }
71109
- // //4.前一个字符需要在下一个字符的上层,处理斜体被遮盖的问题
71110
- // let level = 0;
71111
- // for (let j = this.drawItems.length - 1; j > -1; j--) {
71112
- // this.addChildAt(this.drawItems[j], level);
71113
- // if (this.drawItems[j] instanceof DrawMarkNode) {
71114
- // this.addChildAt(this.drawItems[j], this.numChildren);
71115
- // }
71116
- // level++;
71117
- // }
71118
- // if (
71119
- // this._paragraphNode.hoEditorFactory.drawTree.paintStatus !==
71120
- // PaintState.psPreview &&
71121
- // this._paragraphNode.hoEditorFactory.drawTree.paintStatus !==
71122
- // PaintState.psPrint
71123
- // )
71124
- // this.cache(
71125
- // 0,
71126
- // 0,
71127
- // this._dWidth,
71128
- // this._dHeight //+ lineSpace * 2 + 1
71129
- // );
71130
70947
  }
71131
70948
  }, {
71132
70949
  key: "updateLineStyle",
@@ -71247,14 +71064,6 @@ var DrawLine = /*#__PURE__*/function (_DrawContainer) {
71247
71064
  //更新绘制实例
71248
71065
  var charSpace = spaceEqu(this, j);
71249
71066
  var tmp = new DrawChangeEvent(charSpace, dHeight, this._dBaseY);
71250
- // tmp.space = spaceEqu(j);
71251
- // tmp.height = dHeight;
71252
- // tmp.baseY = dBaseY;
71253
- // if (this.drawItems[j] instanceof DrawDownListNode) {
71254
- // const drawItem = this.drawItems[j] as DrawDownListNode;
71255
- // const dText = new DrawSimpleText(drawItem.text, drawItem.textStyle.getStyleKey(), drawItem.textStyle.color);
71256
- // (this.drawItems[j] as DrawDownListNode).dWidth = dText.getMeasuredWidth() + (dText.text.length - 1) * charSpace;
71257
- // }
71258
71067
  this.drawItems[j].refresh(tmp);
71259
71068
  var dwidth = this.drawItems[j].dWidth;
71260
71069
  //((this.drawItems[j] as unknown) as DrawInfos).dHeight = this._dHeight;
@@ -73951,6 +73760,7 @@ var DrawPageMainDoc = /*#__PURE__*/function (_DrawArea) {
73951
73760
  this._dWidth = this._maxWidth;
73952
73761
  this._dHeight = this._maxHeight;
73953
73762
  this._docHeight = 0;
73763
+
73954
73764
  //检测边框变化情况,如有变化则重绘
73955
73765
  }
73956
73766
  }]);
@@ -89243,44 +89053,18 @@ var DrawTree = /*#__PURE__*/function () {
89243
89053
  }, {
89244
89054
  key: "updateDrawFormular",
89245
89055
  value: function updateDrawFormular(cell) {
89246
- // const hoeditfactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
89247
- // const [r, c] = cell.table.getCellInfos(cell);
89248
89056
  var isNeedUpdate = false;
89249
89057
  this.formularNodes.forEach(function (value, key) {
89250
89058
  var pnode = value.getParentCell();
89251
89059
  if (cell.table == pnode.table) {
89252
- // if (value.parentNode && value.parentNode instanceof TextInputFieldNode) {
89253
- // if (value.parentNode.childNodes.length === 0) {
89254
- // value.parentNode.node2DrawNode();
89255
- // }
89256
- // value.parentNode.update();
89257
- // }
89258
- //const isCellInFormula = value.isCellInFormula(cell, r, c);
89259
89060
  if (value.formularType === TableFormula/* FormularType */.a.ftSum || value.formularType === TableFormula/* FormularType */.a.ftFormular || value.formularType === TableFormula/* FormularType */.a.ftBMI || value.formularType === TableFormula/* FormularType */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType */.a.ftBodySurfaceArea || value.formularType === TableFormula/* FormularType */.a.ftCalcDays || value.formularType === TableFormula/* FormularType */.a.ftCalcTime || value.formularType === TableFormula/* FormularType */.a.ftIdealWeight || value.formularType === TableFormula/* FormularType */.a.ftISS) {
89260
89061
  //const str = value.formulaStr;
89261
89062
  value.updateResult();
89262
89063
  value.getParentCell().drawCell.needUpdate = true;
89263
89064
  isNeedUpdate = true;
89264
- // if (isCellInFormula) {
89265
- // this.updateDrawFormular(value.getParentCell());
89266
- // }
89267
- // const prevNode = value.previousLeaf();
89268
- // if (!prevNode) {
89269
- // throw new Error('错误的绘制位置');
89270
- // }
89271
- // const startPath = hoeditfactory.docTree.getNodeLastPath(prevNode);
89272
- // const changeEvent = new NodeChangeEvent(this._hoEditorFactoryID,
89273
- // DocAction.daModifyStyle, startPath, startPath)
89274
- // changeEvent.oldEndPath = startPath;
89275
- // changeEvent.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(startPath, startPath, false)
89276
- // hoeditfactory.docTree.change(changeEvent);
89277
- // if (value.parentNode && value.parentNode instanceof TextInputFieldNode) {
89278
- // value.parentNode.update();
89279
- // }
89280
89065
  }
89281
89066
  }
89282
89067
  });
89283
-
89284
89068
  if (isNeedUpdate) {
89285
89069
  cell.table.update();
89286
89070
  }
@@ -170243,7 +170027,7 @@ var map = {
170243
170027
  "./pageInfoes/PageInfoes.vue": 99749,
170244
170028
  "./paragraph/ParagraphDialog.vue": 58874,
170245
170029
  "./poperSelect/PoperMark.vue": 20734,
170246
- "./poperSelect/PoperSelect.vue": 40769,
170030
+ "./poperSelect/PoperSelect.vue": 10812,
170247
170031
  "./poperTipText/PoperTipText.vue": 84531,
170248
170032
  "./popers/Poper.vue": 57937,
170249
170033
  "./popers/Title.vue": 31276,
@@ -170253,7 +170037,7 @@ var map = {
170253
170037
  "./selectDialog/SelectDialog.vue": 73791,
170254
170038
  "./sign/Sign.vue": 67218,
170255
170039
  "./specialChars/HoSpecialChars.vue": 75058,
170256
- "./table/TableCellPoper.vue": 97628,
170040
+ "./table/TableCellPoper.vue": 19363,
170257
170041
  "./table/TableCellPoper1.vue": 44645,
170258
170042
  "./table/TableCellProperty.vue": 90546,
170259
170043
  "./table/TableColProperty.vue": 16154,
@@ -209489,7 +209273,7 @@ var HoToPage_component = (0,componentNormalizer/* default */.Z)(
209489
209273
  // EXTERNAL MODULE: ./src/plugins/util.ts
209490
209274
  var plugins_util = __webpack_require__(62783);
209491
209275
  // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
209492
- var PoperSelect = __webpack_require__(40769);
209276
+ var PoperSelect = __webpack_require__(10812);
209493
209277
  // EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
209494
209278
  var PoperMark = __webpack_require__(20734);
209495
209279
  ;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
@@ -209497,7 +209281,7 @@ var PoperMark = __webpack_require__(20734);
209497
209281
 
209498
209282
 
209499
209283
  // EXTERNAL MODULE: ./src/components/controls/table/TableCellPoper.vue + 6 modules
209500
- var TableCellPoper = __webpack_require__(97628);
209284
+ var TableCellPoper = __webpack_require__(19363);
209501
209285
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/DateTimeNode.ts
209502
209286
  var DateTimeNode = __webpack_require__(92501);
209503
209287
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/DownListNode.ts
@@ -210894,7 +210678,7 @@ var TextNode = __webpack_require__(27198);
210894
210678
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
210895
210679
  var ParagraphNode = __webpack_require__(67945);
210896
210680
  ;// CONCATENATED MODULE: ./src/components/version.ts
210897
- /* harmony default export */ var version = ('3.1.157');
210681
+ /* harmony default export */ var version = ('3.1.159');
210898
210682
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
210899
210683
  var PoperTipText = __webpack_require__(84531);
210900
210684
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -212818,27 +212602,11 @@ var DrawPageTree = /*#__PURE__*/function () {
212818
212602
  nextDlineTop = dobj.y;
212819
212603
  }
212820
212604
  }
212821
- //}
212822
- /*绘制优化
212823
- if (hoEditorFactory.isUseDrawingOptimization
212824
- && !callFromPaint
212825
- && drawArea instanceof DrawPageMainDoc
212826
- && dRoots.length > 1) {
212827
- startLine = this.calcStartLine(drawArea);
212828
- startIndex = startLine;
212829
- nextDlineTop = 0;
212830
- dTop = 0;
212831
- drawArea.removeAllChildren();
212832
- }
212833
- */
212834
- //----------
212835
212605
  var aEndLine = dRoots.length - 1;
212836
212606
  var restHeight = Infinity;
212837
- if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
212838
- // -
212839
- // startDline.dHeight -
212840
- // startDline.paragraphNode.combineParagraph.lineSpace;
212841
- // +
212607
+ if (drawArea.allowAcrossPage) {
212608
+ restHeight = drawArea.maxHeight - dTop;
212609
+ }
212842
212610
  var prevArea = null;
212843
212611
  if (drawArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$) {
212844
212612
  var areaIndex = this._drawMainDocs.indexOf(drawArea);
@@ -212850,28 +212618,6 @@ var DrawPageTree = /*#__PURE__*/function () {
212850
212618
  if (!drawArea) {
212851
212619
  return;
212852
212620
  }
212853
- // if (aline instanceof DrawTable) {
212854
- // dLine = aline.drawPageTables[aline.drawPageTables.length - 1];
212855
- // } else {
212856
- // dLine = aline;
212857
- // }
212858
- // let dTop =
212859
- // dLine.y +
212860
- // dLine.dHeight +
212861
- // dLine.paragraphNode.combineParagraph.lineSpace;
212862
- // startDline.dHeight +
212863
- // startDline.paragraphNode.combineParagraph.lineSpace;
212864
- //启用绘制优化,如果当前页不可见,则缓存绘制调用,当页可见时再调用
212865
- /*绘制优化
212866
- if (hoEditorFactory.isUseDrawingOptimization) { // 启用绘制优化 默认开启
212867
- if (drawArea instanceof DrawPageMainDoc && !(hoEditorFactory.drawTree.paintStatus === PaintState.psPreview || hoEditorFactory.drawTree.paintStatus === PaintState.psPrint)) {
212868
- if (drawArea.pageIndex > imaxViewPage) {
212869
- this.addNeedUpdateArea(drawArea.pageIndex, drawArea, dRoots, dTop, startIndex, dRoots.length - 1);
212870
- return;
212871
- }
212872
- }
212873
- }
212874
- */
212875
212621
  //按区域调整区域内的所有坐标
212876
212622
  drawArea.update(prevArea, dRoots, startIndex, dTop, restHeight);
212877
212623
  this.afterAreaFinishPaint(drawArea);
@@ -212909,9 +212655,6 @@ var DrawPageTree = /*#__PURE__*/function () {
212909
212655
  }
212910
212656
  }
212911
212657
  } while (startIndex <= aEndLine);
212912
- // if (hoEditorFactory.drawTree.paintStatus === PaintState.psReview) {
212913
- // drawArea.drawComments();
212914
- // }
212915
212658
  if (drawArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$ && aEndLine === dRoots.length - 1) {
212916
212659
  var _areaIndex2 = this._drawMainDocs.indexOf(drawArea);
212917
212660
  hoEditorFactory.drawTree.drawPages.splice(_areaIndex2 + 1, this._drawMainDocs.length);
@@ -214191,8 +213934,8 @@ var HTMLconverter2 = /*#__PURE__*/function () {
214191
213934
  key: "HTMLStyleToCombineStyle",
214192
213935
  value: function HTMLStyleToCombineStyle(jsondata) {
214193
213936
  //NOTE:DomElement中的style中的样式后面的部分
214194
- var hoeditorfactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
214195
- var tmp = hoeditorfactory.docTree.styles[0].clone(); // new TextStyle();
213937
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
213938
+ var tmp = hoEditorFactory.docTree.styles[0].clone(); // new TextStyle();
214196
213939
  if (jsondata['font_size']) {
214197
213940
  tmp.size = Number(jsondata['font_size']) || tmp.combineStyle.size;
214198
213941
  var str = jsondata['font_size'];
@@ -214203,7 +213946,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
214203
213946
  //size = Math.round(hoeditorfactory.unitConvert.pxConversionMm(size, true) );
214204
213947
  size = size / 96 * 72;
214205
213948
  }
214206
- size = hoeditorfactory.unitConvert.getCorrectFontSize(size);
213949
+ size = hoEditorFactory.unitConvert.getCorrectFontSize(size);
214207
213950
  tmp.size = size;
214208
213951
  }
214209
213952
  }
@@ -214380,7 +214123,8 @@ var HTMLconverter2 = /*#__PURE__*/function () {
214380
214123
  }
214381
214124
  if (!width) width = '20';
214382
214125
  if (!height) height = '20';
214383
- var node = new ImageNode/* ImageNode */.H(this._hoEditorFactoryID, HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID).docTree.activeNodes, null, BaseNode/* NodeType */.Jq.ntImage, HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID).gernerateCode.generateID('IMG'), src,
214126
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
214127
+ var node = new ImageNode/* ImageNode */.H(this._hoEditorFactoryID, hoEditorFactory.docTree.activeNodes, null, BaseNode/* NodeType */.Jq.ntImage, hoEditorFactory.gernerateCode.generateID('IMG'), src,
214384
214128
  //$(jnode).attr('src') || '',
214385
214129
  Number(width), Number(height));
214386
214130
  return [node];
@@ -214569,7 +214313,8 @@ var HTMLconverter2 = /*#__PURE__*/function () {
214569
214313
  }, {
214570
214314
  key: "TransHTMLTABLE",
214571
214315
  value: function TransHTMLTABLE(jnode, style) {
214572
- var pnode = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID).docTree.getParentNode(HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize().startPath);
214316
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
214317
+ var pnode = hoEditorFactory.docTree.getParentNode(hoEditorFactory.docTree.curDomRange.normalize().startPath);
214573
214318
  if (pnode instanceof TableNode/* TableNode */.Fh || pnode instanceof CellNode/* CellNode */.D) {
214574
214319
  message/* default */.Z.warn('不能在表格中插入表格');
214575
214320
  return [];
@@ -214602,7 +214347,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
214602
214347
  }
214603
214348
  }
214604
214349
  //2.创建表格节点
214605
- var lntable = new TableNode/* TableNode */.Fh(this._hoEditorFactoryID, HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID).docTree.activeNodes, pnode, irow, icol, this.generateTableProperty(jnode));
214350
+ var lntable = new TableNode/* TableNode */.Fh(this._hoEditorFactoryID, hoEditorFactory.docTree.activeNodes, pnode, irow, icol, this.generateTableProperty(jnode));
214606
214351
  //3.设置表格属性
214607
214352
  //this.SetTableProperty(jnode, lntable)
214608
214353
  //4:生成表格内容
@@ -214686,7 +214431,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
214686
214431
  var textstyle = this.HTMLStyleToParsStyle(styleobj);
214687
214432
  if (textstyle.lineSpace === 0) textstyle.lineSpace = undefined;
214688
214433
  var index = hoEditorFactory.docTree.styleCompare(textstyle);
214689
- var node = new ParagraphNode/* ParagraphNode */.C(this._hoEditorFactoryID, hoEditorFactory.docTree.activeNodes, hoEditorFactory.docTree.getParentNode(HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize().startPath), index
214434
+ var node = new ParagraphNode/* ParagraphNode */.C(this._hoEditorFactoryID, hoEditorFactory.docTree.activeNodes, hoEditorFactory.docTree.getParentNode(hoEditorFactory.docTree.curDomRange.normalize().startPath), index
214690
214435
  //hoEditorFactory.docTree.curParaNo
214691
214436
  );
214692
214437
 
@@ -214814,7 +214559,7 @@ var HTMLconverter2 = /*#__PURE__*/function () {
214814
214559
  }
214815
214560
  var textstyle = this.HTMLStyleToCombineStyle(style);
214816
214561
  var styleindex = hoEditorFactory.docTree.styleCompare(textstyle);
214817
- var node = new TextNode/* TextNode */.R(this._hoEditorFactoryID, hoEditorFactory.docTree.activeNodes, hoEditorFactory.docTree.getParentNode(HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.normalize().startPath), BaseNode/* NodeType */.Jq.ntText, text, styleindex);
214562
+ var node = new TextNode/* TextNode */.R(this._hoEditorFactoryID, hoEditorFactory.docTree.activeNodes, hoEditorFactory.docTree.getParentNode(hoEditorFactory.docTree.curDomRange.normalize().startPath), BaseNode/* NodeType */.Jq.ntText, text, styleindex);
214818
214563
  return node;
214819
214564
  }
214820
214565
  /**
@@ -227237,6 +226982,28 @@ var VueController = /*#__PURE__*/function () {
227237
226982
  hoEditorFactory.drawTree.drawMultiCustomRange(selectRangeArr, true, true);
227238
226983
  }
227239
226984
  }
226985
+ }, {
226986
+ key: "findText",
226987
+ value: function findText(findTextArr) {
226988
+ var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this._hoEditorFactoryID);
226989
+ var filterFunc = function filterFunc(node) {
226990
+ var _nodeTypeO;
226991
+ var nodeTypeO = (_nodeTypeO = {}, (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntText, 1), (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntTextBorder, 1), (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntSeparateChar, 1), (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntLabel, 1), (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntGestation, 1), (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntRareChar, 1), (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntJumpButton, 1), (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntControl, 2), (0,esm_defineProperty/* default */.Z)(_nodeTypeO, BaseNode/* NodeType */.Jq.ntField, 3), _nodeTypeO);
226992
+ if (nodeTypeO[node.nodeType] == 1) {
226993
+ return true;
226994
+ } else if (nodeTypeO[node.nodeType] == 2 && node instanceof ControlNode/* ControlNode */.w) {
226995
+ if (node.type == ControlNode/* ControlType */.C.ctDateTime || node.type == ControlNode/* ControlType */.C.ctDownList) {
226996
+ return true;
226997
+ }
226998
+ } else if (nodeTypeO[node.nodeType] == 3) {
226999
+ return true;
227000
+ }
227001
+ return false;
227002
+ };
227003
+ var nodeList = hoEditorFactory.docTree.mainNodes.filter(function (v) {
227004
+ return filterFunc(v);
227005
+ });
227006
+ }
227240
227007
  }, {
227241
227008
  key: "getAllFindPath",
227242
227009
  value: function getAllFindPath(nodesMap, indexsMap) {
@@ -238518,8 +238285,8 @@ var PrintController = /*#__PURE__*/function () {
238518
238285
  });
238519
238286
  _context3.next = 20;
238520
238287
  return hPromise.then(function (pageNumber) {
238521
- // hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
238522
- // hoEditorFactory.vueController.openXml(xml);
238288
+ hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
238289
+ hoEditorFactory.vueController.openXml(xml);
238523
238290
  // this.PDF.deletePage(1);
238524
238291
  var otherPageNumber = _this2.PDF.internal.getNumberOfPages() - pageNumber;
238525
238292
  if (otherPageNumber >= 2) {
@@ -238557,9 +238324,9 @@ var PrintController = /*#__PURE__*/function () {
238557
238324
  break;
238558
238325
  }
238559
238326
  setTimeout(function () {
238560
- console.time('restore_time');
238561
- hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
238562
- hoEditorFactory.vueController.openXml(xml);
238327
+ // console.time('restore_time');
238328
+ // hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
238329
+ // hoEditorFactory.vueController.openXml(xml);
238563
238330
  hoEditorFactory.vueController.moveCaretToPath(path);
238564
238331
  console.timeEnd('restore_time');
238565
238332
  _this2.clearJsPDF();
@@ -244147,8 +243914,8 @@ var UpdateDocument_component = (0,componentNormalizer/* default */.Z)(
244147
243914
  )
244148
243915
 
244149
243916
  /* harmony default export */ var UpdateDocument = (UpdateDocument_component.exports);
244150
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=template&id=73d1e29e&
244151
- var PageSettingvue_type_template_id_73d1e29e_render = function render() {
243917
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=template&id=4294664e&
243918
+ var PageSettingvue_type_template_id_4294664e_render = function render() {
244152
243919
  var _vm = this,
244153
243920
  _c = _vm._self._c;
244154
243921
  return _c('div', {
@@ -244624,7 +244391,7 @@ var PageSettingvue_type_template_id_73d1e29e_render = function render() {
244624
244391
  }
244625
244392
  }, [_vm._v("取消")])], 1)])]);
244626
244393
  };
244627
- var PageSettingvue_type_template_id_73d1e29e_staticRenderFns = [];
244394
+ var PageSettingvue_type_template_id_4294664e_staticRenderFns = [];
244628
244395
 
244629
244396
  // EXTERNAL MODULE: ./src/components/mixins/appendToBody.ts
244630
244397
  var appendToBody = __webpack_require__(95677);
@@ -244665,7 +244432,7 @@ var HoColorPicker = __webpack_require__(10306);
244665
244432
  alignList: ['left', 'both', 'right', 'both'],
244666
244433
  lineHeightList: [1.25, 1.5, 2, 2.5, 3],
244667
244434
  fontSpacingList: [0, 1, 2, 3],
244668
- paperStyle: [['自定义', [210, 297]], ['A3', [297, 420]], ['A4', [210, 297]], ['A5', [148, 210]], ['A6', [105, 148]], ['B4', [250, 353]], ['B5', [176, 250]], ['B6', [125, 176]], ['16K', [195, 270]]],
244435
+ paperStyle: [['自定义', [210, 297]], ['A3', [297, 420]], ['A4', [210, 297]], ['A5', [148, 210]], ['A6', [105, 148]], ['B4', [250, 353]], ['B5', [176, 250]], ['B6', [125, 176]], ['16K', [195, 270]], ['16K', [185, 265]]],
244669
244436
  property: {
244670
244437
  pageSize: 'A4',
244671
244438
  source: '0',
@@ -244772,10 +244539,10 @@ var HoColorPicker = __webpack_require__(10306);
244772
244539
  });
244773
244540
  ;// CONCATENATED MODULE: ./src/components/toolbar/PageSetting.vue?vue&type=script&lang=js&
244774
244541
  /* harmony default export */ var toolbar_PageSettingvue_type_script_lang_js_ = (PageSettingvue_type_script_lang_js_);
244775
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=style&index=0&id=73d1e29e&prod&lang=less&
244542
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=style&index=0&id=4294664e&prod&lang=less&
244776
244543
  // extracted by mini-css-extract-plugin
244777
244544
 
244778
- ;// CONCATENATED MODULE: ./src/components/toolbar/PageSetting.vue?vue&type=style&index=0&id=73d1e29e&prod&lang=less&
244545
+ ;// CONCATENATED MODULE: ./src/components/toolbar/PageSetting.vue?vue&type=style&index=0&id=4294664e&prod&lang=less&
244779
244546
 
244780
244547
  ;// CONCATENATED MODULE: ./src/components/toolbar/PageSetting.vue
244781
244548
 
@@ -244788,8 +244555,8 @@ var HoColorPicker = __webpack_require__(10306);
244788
244555
 
244789
244556
  var PageSetting_component = (0,componentNormalizer/* default */.Z)(
244790
244557
  toolbar_PageSettingvue_type_script_lang_js_,
244791
- PageSettingvue_type_template_id_73d1e29e_render,
244792
- PageSettingvue_type_template_id_73d1e29e_staticRenderFns,
244558
+ PageSettingvue_type_template_id_4294664e_render,
244559
+ PageSettingvue_type_template_id_4294664e_staticRenderFns,
244793
244560
  false,
244794
244561
  null,
244795
244562
  null,