hoeditor-web 3.1.141 → 3.1.142

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.
@@ -82565,6 +82565,9 @@ var DrawStyleText = /*#__PURE__*/function () {
82565
82565
  tmp = this._dText.clone();
82566
82566
  tmp.font = this.getStyle(this._nstyle);
82567
82567
  rect = tmp.getBounds(); //实际大小
82568
+ // console.log(this._dText.getBounds());
82569
+ // console.log(this._wspace)
82570
+ // console.log(rect);
82568
82571
  this._container.setBounds(0, 0, this._dText.getBounds() ? this._dText.getBounds().width : 0 + this._wspace, rect ? rect.height : 0);
82569
82572
  switch (this._nstyle.script) {
82570
82573
  case _editor_dom_domNode_TextStyle__WEBPACK_IMPORTED_MODULE_7__/* .StyleScriptType */ .n$.sstsub:
@@ -210299,7 +210302,7 @@ var TextNode = __webpack_require__(27198);
210299
210302
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
210300
210303
  var ParagraphNode = __webpack_require__(67945);
210301
210304
  ;// CONCATENATED MODULE: ./src/components/version.ts
210302
- /* harmony default export */ var version = ('3.1.141');
210305
+ /* harmony default export */ var version = ('3.1.142');
210303
210306
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
210304
210307
  var PoperTipText = __webpack_require__(84531);
210305
210308
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -224116,10 +224119,10 @@ var VueController = /*#__PURE__*/function () {
224116
224119
  var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
224117
224120
  var node = curDomRange.npEnd.node;
224118
224121
  var caret = hoEditorFactory.drawTree.caret;
224119
- var x = caret.stageX;
224120
- var y = hoEditorFactory.pageProperty.heightPixes - caret.stageY;
224122
+ var x = caret.X;
224123
+ var y = hoEditorFactory.pageProperty.heightPixes - caret.Y;
224121
224124
  if (type == 'top') {
224122
- y = caret.stageY;
224125
+ y = caret.Y;
224123
224126
  }
224124
224127
  var result = {
224125
224128
  page: caret.pageIndex + 1,
@@ -238697,7 +238700,7 @@ var PrintController = /*#__PURE__*/function () {
238697
238700
  while (1) switch (_context12.prev = _context12.next) {
238698
238701
  case 0:
238699
238702
  xmlIndex++;
238700
- currentName = xmlList[xmlIndex - 1] ? xmlList[xmlIndex - 1][5] : '';
238703
+ currentName = xmlList[xmlIndex] ? xmlList[xmlIndex][5] : '';
238701
238704
  if (xmlIndex <= xmlList.length - 1) {
238702
238705
  if (xmlList[xmlIndex][2]) {
238703
238706
  // 循环到病程记录时