hoeditor-web 3.2.18 → 3.2.19

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-3_H2gPvf.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-BmjJWQRB.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -14897,7 +14897,7 @@ class DrawSignNode extends DrawCombineNode {
14897
14897
  }
14898
14898
  }
14899
14899
  }
14900
- const version = "3.2.18";
14900
+ const version = "3.2.19";
14901
14901
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
14902
14902
  class SignNode extends BaseNode {
14903
14903
  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) {
@@ -59963,7 +59963,7 @@ function parseFontFamily(a) {
59963
59963
  else {
59964
59964
  Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Te = this.lineWidth, this.lineWidth = Te * Q.scale);
59965
59965
  let xr = Q.maxWidth - xe.w, Rt = 0;
59966
- xr > 2 && Q.bold && (Rt = xr / Q.text.length);
59966
+ xr > 2 && Q.bold && Q.maxWidth != 65535 && (Rt = xr / Q.text.length);
59967
59967
  var Ct = Q.charSpace ? parseFloat(Q.charSpace) : 0;
59968
59968
  this.pdf.text(Q.text, ge.x + this.posX, ge.y + this.posY, {
59969
59969
  angle: Q.angle,
@@ -64099,7 +64099,7 @@ WebPDecoder.prototype.getData = function() {
64099
64099
  (function(a) {
64100
64100
  function t() {
64101
64101
  return function() {
64102
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-X8NlZ8Dy.mjs");
64102
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CTftLXxB.mjs");
64103
64103
  }().catch(function(r) {
64104
64104
  return Promise.reject(new Error("Could not load canvg: " + r));
64105
64105
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Ma, _ as qa, g as Zu } from "./index-3_H2gPvf.mjs";
1
+ import { c as Ma, _ as qa, g as Zu } from "./index-BmjJWQRB.mjs";
2
2
  var un = {}, ln = {}, lr, hn;
3
3
  function Z() {
4
4
  if (hn) return lr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hoeditor-web",
3
- "version": "3.2.18",
3
+ "version": "3.2.19",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",