hoeditor-web 3.2.92 → 3.2.93

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-HM4pCI29.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-CZYAbTdK.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.92";
15169
+ const version = "3.2.93";
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) {
@@ -48471,9 +48471,10 @@ class VueController {
48471
48471
  let s = 0;
48472
48472
  t === 4 ? (s = 80, n.isHideComments = !1, n.commentParams.review = !0, n.commentParams.hideComment = !1) : (n.isHideComments = !0, n.commentParams.review = !1, n.commentParams.hideComment = !0, hoCreateComment.close()), s !== n.pageProperty.commentWidthMm && n.vueController.setPageProperty(JSON.stringify({ commentWidthMm: s }));
48473
48473
  const l = n.structureConvert._superiorSign;
48474
- l.length > 0 && l[0].imgSrc != "" && (t === 1 || t === 4 ? this.hiddenMask(!1) : this.hiddenMask(!0)), o && n.drawTree.rebuildAllDrawLine(!0);
48475
- const c = n.docTree.curDomRange.normalize();
48476
- this.bindTableLineDrag(c.startPath);
48474
+ if (l.length > 0 && l[0].imgSrc != "" && (t === 1 || t === 4 ? this.hiddenMask(!1) : this.hiddenMask(!0)), o && n.drawTree.rebuildAllDrawLine(!0), n.docTree.curDomRange.startPath && n.docTree.curDomRange.endPath) {
48475
+ const c = n.docTree.curDomRange.normalize();
48476
+ this.bindTableLineDrag(c.startPath);
48477
+ }
48477
48478
  }
48478
48479
  async hiddenMask(t) {
48479
48480
  const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
@@ -64911,7 +64912,7 @@ WebPDecoder.prototype.getData = function() {
64911
64912
  (function(a) {
64912
64913
  function t() {
64913
64914
  return function() {
64914
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-Bwb6bolR.mjs");
64915
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-vOi8W-KI.mjs");
64915
64916
  }().catch(function(r) {
64916
64917
  return Promise.reject(new Error("Could not load canvg: " + r));
64917
64918
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-HM4pCI29.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-CZYAbTdK.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.92",
3
+ "version": "3.2.93",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",