hoeditor-web 3.2.42 → 3.2.43

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-UViDQi3j.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-1lpyQ5mz.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -10045,7 +10045,7 @@ class RadioAndCheckBoxNode extends ControlNode {
10045
10045
  }
10046
10046
  r.isAllowDelete = r.isAllowDelete ? r.isAllowDelete : !1, r.isSelected = r.isSelected ? r.isSelected.text != null ? r.isSelected.text : r.isSelected : !1, r.boxAlign = r.boxAlign === void 0 ? !0 : r.boxAlign, r.isEditText = r.isEditText ? r.isEditText : !1, r.isTransToText = r.isTransToText ? r.isTransToText : !1, r.groupHasOptions = r.groupHasOptions ? r.groupHasOptions : !1, r.numericValue = r.numericValue === void 0 ? "0" : Number(r.numericValue);
10047
10047
  const l = Number(r.styleIndex);
10048
- return r.type = parseInt(ControlType[r.type]), r.readType = r.readType ? Number(r.readType) : -1, r.isMutualExclusion = r.isMutualExclusion ? r.isMutualExclusion : !1, new RadioAndCheckBoxNode(
10048
+ return r.type = parseInt(ControlType[r.type]), r.readType = r.readType ? Number(r.readType) : -1, r.isMutualExclusion = r.isMutualExclusion ? r.isMutualExclusion : !1, r.text = r.text || "", new RadioAndCheckBoxNode(
10049
10049
  t,
10050
10050
  o,
10051
10051
  n || null,
@@ -14904,7 +14904,7 @@ class DrawSignNode extends DrawCombineNode {
14904
14904
  }
14905
14905
  }
14906
14906
  }
14907
- const version = "3.2.42";
14907
+ const version = "3.2.43";
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) {
@@ -28745,7 +28745,7 @@ class DrawTree {
28745
28745
  const o = this.getDNodeByPath(t);
28746
28746
  if (o instanceof DrawCombineNode)
28747
28747
  r = o.node.getNodePath();
28748
- else if (o.parent instanceof DrawCombineNode) {
28748
+ else if ((o == null ? void 0 : o.parent) instanceof DrawCombineNode) {
28749
28749
  r = o.parent.node.getNodePath();
28750
28750
  const n = o.parent.node.drawNodes.indexOf(o);
28751
28751
  n >= 0 && n < o.parent.node.drawNodes.length && (r += "/" + n);
@@ -64330,7 +64330,7 @@ WebPDecoder.prototype.getData = function() {
64330
64330
  (function(a) {
64331
64331
  function t() {
64332
64332
  return function() {
64333
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CB1adP1a.mjs");
64333
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-B0TiKs-r.mjs");
64334
64334
  }().catch(function(r) {
64335
64335
  return Promise.reject(new Error("Could not load canvg: " + r));
64336
64336
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Ma, _ as qa, g as Zu } from "./index-UViDQi3j.mjs";
1
+ import { c as Ma, _ as qa, g as Zu } from "./index-1lpyQ5mz.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.42",
3
+ "version": "3.2.43",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",