hoeditor-web 3.2.65 → 3.2.66

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-LcEBIT3M.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-D8hAgq0S.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -13011,9 +13011,7 @@ class ParagraphNode extends BaseNode {
13011
13011
  this._drawLines.length === 0 && (o = o + this.combineParagraph.topMarginPixes);
13012
13012
  const n = this.getParagraphLeftWidth(), s = n[0], l = n[1], c = this._drawLines.length, d = new DrawLine(this._rootPath, this, c, l);
13013
13013
  d.dTop = o, d.dLeft = s, d.x = this.combineParagraph.leftMarginPixes, d.x += s, d.dWidth = l - this.combineParagraph.leftMarginPixes - this.combineParagraph.rightMarginPixes, this._drawLines.push(d);
13014
- const u = this.drootNodes.indexOf(this._drawLines[0]) + this._drawLines.length - 1;
13015
- this.drootNodes.splice(u, 0, d);
13016
- const f = r !== void 0 && r > -1 ? r : u;
13014
+ const u = this.drootNodes.indexOf(this._drawLines[0]) + this._drawLines.length - 1, f = r !== void 0 && r > -1 ? r : u;
13017
13015
  return this.drootNodes.splice(f, 0, d), this._dHeight = this._dHeight + d.dHeight, d;
13018
13016
  }
13019
13017
  getNextDline(r) {
@@ -14968,7 +14966,7 @@ class DrawSignNode extends DrawCombineNode {
14968
14966
  }
14969
14967
  }
14970
14968
  }
14971
- const version = "3.2.65";
14969
+ const version = "3.2.66";
14972
14970
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
14973
14971
  class SignNode extends BaseNode {
14974
14972
  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) {
@@ -27626,7 +27624,7 @@ class Print {
27626
27624
  r.saveGraphicsState();
27627
27625
  const o = HOEditorFactorys.instance().getFactory(t);
27628
27626
  if (o.watermarkText) {
27629
- r.setFont("SimSun", "normal"), r.setFontSize(16), r.setTextColor(150, 150, 150), r.setGState(r.GState({ opacity: 0.4 }));
27627
+ r.setFont("SimSun", "normal"), r.setFontSize(16), r.setTextColor(200, 200, 200), r.setGState(r.GState({ opacity: 0.1 }));
27630
27628
  const n = r.internal.pageSize.getWidth(), s = r.internal.pageSize.getHeight(), l = 30, c = r.getTextWidth(o.watermarkText), d = l * Math.PI / 180, u = Math.sin(d), f = Math.cos(d), m = Math.abs(c * u) + Math.abs(r.getFontSize() * f), g = 160, y = r.internal.getNumberOfPages();
27631
27629
  for (let w = 1; w <= y; w++) {
27632
27630
  r.setPage(w);
@@ -64542,7 +64540,7 @@ WebPDecoder.prototype.getData = function() {
64542
64540
  (function(a) {
64543
64541
  function t() {
64544
64542
  return function() {
64545
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-L1FFSKht.mjs");
64543
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CyIXJ_Ob.mjs");
64546
64544
  }().catch(function(r) {
64547
64545
  return Promise.reject(new Error("Could not load canvg: " + r));
64548
64546
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-LcEBIT3M.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-D8hAgq0S.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.65",
3
+ "version": "3.2.66",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",