hoeditor-web 3.2.86 → 3.2.87

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.
package/lib/hoeditor.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { H as i, d as r, b as e, a as l, e as t, T as H, f as d, i as f } from "./index-DB2K_FHC.mjs";
2
+ import { H as i, d as r, b as e, a as l, e as t, T as H, f as d, i as f } from "./index-CM-4yved.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -15166,7 +15166,7 @@ class DrawSignNode extends DrawCombineNode {
15166
15166
  }
15167
15167
  }
15168
15168
  }
15169
- const version = "3.2.86";
15169
+ const version = "3.2.87";
15170
15170
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
15171
15171
  class SignNode extends BaseNode {
15172
15172
  constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId, associatedElement, isTemp, innerIdentifier) {
@@ -24488,8 +24488,11 @@ class TextInputFieldNode extends BaseCombineNode {
24488
24488
  getLeftWidth() {
24489
24489
  const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
24490
24490
  if (this.alignWithBlocked && this.StartMarkNode && this.StartMarkNode.drawNodes.length > 0) {
24491
- const o = this.StartMarkNode.drawNodes[0], n = r.drawTree.getDrawLineByDNode(o), s = Math.floor(o.x) + r.docTree.combineParagraph.leftMarginPixes + 1, l = n.dWidth - s;
24492
- return [s, l, !0];
24491
+ const o = this.StartMarkNode.drawNodes[0], n = r.drawTree.getDrawLineByDNode(o);
24492
+ if (n) {
24493
+ const s = Math.floor(o.x) + r.docTree.combineParagraph.leftMarginPixes + 1, l = n.dWidth - s;
24494
+ return [s, l, !0];
24495
+ }
24493
24496
  }
24494
24497
  return r.docTree.getNodeParaNode(this).getParagraphLeftWidth();
24495
24498
  }
@@ -64904,7 +64907,7 @@ WebPDecoder.prototype.getData = function() {
64904
64907
  (function(a) {
64905
64908
  function t() {
64906
64909
  return function() {
64907
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DCqgClbh.mjs");
64910
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-BDUx85p2.mjs");
64908
64911
  }().catch(function(r) {
64909
64912
  return Promise.reject(new Error("Could not load canvg: " + r));
64910
64913
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-DB2K_FHC.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-CM-4yved.mjs";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hoeditor-web",
3
- "version": "3.2.86",
3
+ "version": "3.2.87",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",