hoeditor-web 3.2.97 → 3.3.0

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-BZwniuO8.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-CmLds2BN.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -15183,7 +15183,7 @@ class DrawSignNode extends DrawCombineNode {
15183
15183
  }
15184
15184
  }
15185
15185
  }
15186
- const version = "3.2.97";
15186
+ const version = "3.3.0";
15187
15187
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
15188
15188
  class SignNode extends BaseNode {
15189
15189
  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) {
@@ -65044,7 +65044,7 @@ WebPDecoder.prototype.getData = function() {
65044
65044
  (function(a) {
65045
65045
  function t() {
65046
65046
  return function() {
65047
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-B7LY8iQB.mjs");
65047
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CPapQC96.mjs");
65048
65048
  }().catch(function(r) {
65049
65049
  return Promise.reject(new Error("Could not load canvg: " + r));
65050
65050
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-BZwniuO8.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-CmLds2BN.mjs";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "hoeditor-web",
3
- "version": "3.2.97",
3
+ "version": "3.3.0",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",
7
7
  "scripts": {
8
8
  "dev": "vite --force --host --port 8079",
9
9
  "test": "node_modules/mocha/bin/mocha --reporter spec --require ts-node/register tests/unit/*.test.ts",
10
- "major": "npm version major && npm run createVersion && npm run lib && npm publish . && cnpm sync hoeditor-web",
11
- "minor": "npm version minor && npm run createVersion && npm run lib && npm publish . && cnpm sync hoeditor-web",
12
- "patch": "npm version patch && npm run createVersion && npm run lib && npm publish . && cnpm sync hoeditor-web",
10
+ "major": "npm run setconfig && npm version major && npm run createVersion && npm run lib && npm publish . && cnpm sync hoeditor-web",
11
+ "minor": "npm run setconfig && npm version minor && npm run createVersion && npm run lib && npm publish . && cnpm sync hoeditor-web",
12
+ "patch": "npm run setconfig && npm version patch && npm run createVersion && npm run lib && npm publish . && cnpm sync hoeditor-web",
13
13
  "lib:publish": "npm run setconfig && npm version patch && npm run createVersion && npm run lib && npm publish . && cnpm sync hoeditor-web",
14
14
  "setconfig": "npm config set registry https://registry.npmjs.org",
15
15
  "setcnconfig": "npm config set registry https://registry.npmmirror.com",