hoeditor-web 3.2.89 → 3.2.90

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-BbijMYXs.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-BECRqOGH.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.89";
15169
+ const version = "3.2.90";
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) {
@@ -38071,7 +38071,7 @@ class DrawImageNode extends DrawCombineNode {
38071
38071
  b(this, "_imageManager");
38072
38072
  const f = HOEditorFactorys.instance().getFactory(r);
38073
38073
  this._imageManager = ImageManager.getInstance(r);
38074
- const p = f.vueController.getMainBounds(c, d, this.node.parentNode);
38074
+ const p = f.vueController.getMainBounds(c, d, 1, this.node.parentNode);
38075
38075
  this.dWidth = Number(p.imageWidth), this.dHeight = Number(p.imageHeight), this._imagePath = l, this._markImagePath = u, this._imageY = -this.dHeight, this.insertImage(), this._drawResize = new DrawResize(r, this.node, this, this._imageY);
38076
38076
  }
38077
38077
  get markImagePath() {
@@ -38106,12 +38106,13 @@ class DrawImageNode extends DrawCombineNode {
38106
38106
  };
38107
38107
  s.drawTree.paintStatus === PaintState$1.psPreview && s.isFixPrint ? setTimeout(() => c(), this._imageManager.THROTTLE_DELAY) : c();
38108
38108
  }, this.markImagePath != "" && this.insertMarkImage(), n.onerror = () => {
38109
- if (this._imageManager.onErrorCallBack(this), o(r), !r.node.isBackFill) {
38109
+ if (this._imageManager.onErrorCallBack(this), !r.node.isBackFill) {
38110
38110
  const c = this.node.previousLeaf().getNodePath();
38111
38111
  s.docTree.deleteNode(this.node);
38112
38112
  const d = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daModifyStyle, c, c);
38113
38113
  d.oldEndPath = c, d.afterChangePath = c, d.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(c, c, !0, !0), s.docTree.change(d);
38114
38114
  }
38115
+ o(r);
38115
38116
  };
38116
38117
  }));
38117
38118
  }
@@ -64910,7 +64911,7 @@ WebPDecoder.prototype.getData = function() {
64910
64911
  (function(a) {
64911
64912
  function t() {
64912
64913
  return function() {
64913
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DOcYMDCU.mjs");
64914
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-XMZrqZyO.mjs");
64914
64915
  }().catch(function(r) {
64915
64916
  return Promise.reject(new Error("Could not load canvg: " + r));
64916
64917
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-BbijMYXs.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-BECRqOGH.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.89",
3
+ "version": "3.2.90",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",