hoeditor-web 3.2.43 → 3.2.44

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-1lpyQ5mz.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-C5Q_rShP.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -14904,7 +14904,7 @@ class DrawSignNode extends DrawCombineNode {
14904
14904
  }
14905
14905
  }
14906
14906
  }
14907
- const version = "3.2.43";
14907
+ const version = "3.2.44";
14908
14908
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
14909
14909
  class SignNode extends BaseNode {
14910
14910
  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) {
@@ -23014,9 +23014,7 @@ const appendPrevTextResult = (a, t, r) => {
23014
23014
  }, o = !1;
23015
23015
  }
23016
23016
  return r;
23017
- }, removeEmptyValues = (a) => typeof a != "object" || a === null ? a : Array.isArray(a) ? a.filter((r) => !isEmptyValue(r)).map((r) => removeEmptyValues(r)) : Object.fromEntries(
23018
- Object.entries(a).filter(([r, o]) => r === "tetx" || !isEmptyValue(o)).map(([r, o]) => [r, removeEmptyValues(o)])
23019
- ), isEmptyValue = (a) => a === "" || a === !1 || a === null || a === void 0;
23017
+ };
23020
23018
  var ReadOnlyStatus = /* @__PURE__ */ ((a) => (a[a.true = 0] = "true", a[a.false = 1] = "false", a[a.InheritParentElement = 2] = "InheritParentElement", a))(ReadOnlyStatus || {}), InputFieldType = /* @__PURE__ */ ((a) => (a[a.text = 0] = "text", a[a.dropDownList = 1] = "dropDownList", a))(InputFieldType || {});
23021
23019
  class DownListProperty {
23022
23020
  //列表项目
@@ -45197,7 +45195,7 @@ class StructureConvert {
45197
45195
  for (let g = 0; g < f.length; g++) {
45198
45196
  const y = f[g];
45199
45197
  let w;
45200
- p === "json" && (y instanceof TableNode || y instanceof TextInputFieldNode) ? w = this.delStyle(y.node2Json(void 0, void 0, "json")) : p === "json" ? w = this.delStyle(y.node2Json()) : (y instanceof TableNode || y instanceof TextInputFieldNode ? (w = y.node2Json(void 0, void 0, void 0, n), w = d(t, w, y instanceof TableNode ? "TableNode" : "TextInputFieldNode")) : y instanceof SignNode ? (n ? y.isTemplate && (w = y.node2Json(void 0, void 0, void 0, n)) : w = y.node2Json(), w = d(t, w, "SignNode")) : y instanceof DateTimeNode && n || y instanceof QrcodeNode && n ? w = y.node2Json(void 0, void 0, void 0, n) : y instanceof DateTimeNode ? w = d(t, y.node2Json(), "DateTimeNode") : w = y.node2Json(), w = removeEmptyValues(w)), p === "xml" ? o += l.js2xml(w) : m.push(w);
45198
+ p === "json" && (y instanceof TableNode || y instanceof TextInputFieldNode) ? w = this.delStyle(y.node2Json(void 0, void 0, "json")) : p === "json" ? w = this.delStyle(y.node2Json()) : y instanceof TableNode || y instanceof TextInputFieldNode ? (w = y.node2Json(void 0, void 0, void 0, n), w = d(t, w, y instanceof TableNode ? "TableNode" : "TextInputFieldNode")) : y instanceof SignNode ? (n ? y.isTemplate && (w = y.node2Json(void 0, void 0, void 0, n)) : w = y.node2Json(), w = d(t, w, "SignNode")) : y instanceof DateTimeNode && n || y instanceof QrcodeNode && n ? w = y.node2Json(void 0, void 0, void 0, n) : y instanceof DateTimeNode ? w = d(t, y.node2Json(), "DateTimeNode") : w = y.node2Json(), p === "xml" ? o += l.js2xml(w) : m.push(w);
45201
45199
  }
45202
45200
  if (r === "json")
45203
45201
  return m;
@@ -64330,7 +64328,7 @@ WebPDecoder.prototype.getData = function() {
64330
64328
  (function(a) {
64331
64329
  function t() {
64332
64330
  return function() {
64333
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-B0TiKs-r.mjs");
64331
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-BG95wBgt.mjs");
64334
64332
  }().catch(function(r) {
64335
64333
  return Promise.reject(new Error("Could not load canvg: " + r));
64336
64334
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Ma, _ as qa, g as Zu } from "./index-1lpyQ5mz.mjs";
1
+ import { c as Ma, _ as qa, g as Zu } from "./index-C5Q_rShP.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.43",
3
+ "version": "3.2.44",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",