hoeditor-web 3.3.2-beta.6 → 3.3.2-beta.7

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-CM0yyu1P.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-CXc9w2_0.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -15244,7 +15244,7 @@ class DrawSignNode extends DrawCombineNode {
15244
15244
  }
15245
15245
  }
15246
15246
  }
15247
- const version = "3.3.2-beta.6";
15247
+ const version = "3.3.2-beta.7";
15248
15248
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
15249
15249
  class SignNode extends BaseNode {
15250
15250
  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) {
@@ -38842,7 +38842,25 @@ const scaleXY = DrawConfig.instance().scale, defaultWidth = Math.floor(793 * sca
38842
38842
  }
38843
38843
  this.poperType = "datePoper";
38844
38844
  } else Number(c.inputFieldType) === 1 && this.createInputProper(a, c, n, r);
38845
- } else a.nodeType == NodeType.ntFigure ? (this.poperType = "", this.$emit("dblNodeClick", { setActiveDoc: this.setActiveDocIndex, node: this.getCurrentSelectNode, type: "edit-ho-figure", paintStatus: n })) : a.parentNode instanceof CellNode && a.nodeType !== NodeType.ntMedicalExpression && a.nodeType !== NodeType.ntImage ? this.handleCellNode(a, a.parentNode, r, n) : a instanceof CellNode ? this.handleForm("update") : a instanceof ImageNode ? (this.poperType = "", a.isBackFill || this.$emit("dblNodeClick", { setActiveDoc: this.setActiveDocIndex, node: this.getCurrentSelectNode, type: "edit-image", paintStatus: n, bizCode: a.bizCode || "" })) : this.hoEditorProvider.setDblclickNodeValue(a, "dblclick");
38845
+ } else if (a.nodeType == NodeType.ntFigure)
38846
+ this.poperType = "", this.$emit("dblNodeClick", { setActiveDoc: this.setActiveDocIndex, node: this.getCurrentSelectNode, type: "edit-ho-figure", paintStatus: n });
38847
+ else if (a.parentNode instanceof CellNode && a.nodeType !== NodeType.ntMedicalExpression && a.nodeType !== NodeType.ntImage)
38848
+ this.handleCellNode(a, a.parentNode, r, n);
38849
+ else if (a instanceof CellNode)
38850
+ this.handleForm("update");
38851
+ else if (a instanceof ImageNode) {
38852
+ if (this.poperType = "", !a.isBackFill) {
38853
+ const c = {
38854
+ setActiveDoc: this.setActiveDocIndex,
38855
+ node: this.getCurrentSelectNode,
38856
+ type: "edit-image",
38857
+ paintStatus: n,
38858
+ bizCode: a.bizCode || ""
38859
+ };
38860
+ a.bizCode && (c.bizCode = a.bizCode, c.imageNode = a), this.$emit("dblNodeClick", c);
38861
+ }
38862
+ } else
38863
+ this.hoEditorProvider.setDblclickNodeValue(a, "dblclick");
38846
38864
  }
38847
38865
  },
38848
38866
  updateSelectMark() {
@@ -65204,7 +65222,7 @@ WebPDecoder.prototype.getData = function() {
65204
65222
  (function(a) {
65205
65223
  function t() {
65206
65224
  return function() {
65207
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-BcVns6Fn.mjs");
65225
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DF40VFA_.mjs");
65208
65226
  }().catch(function(r) {
65209
65227
  return Promise.reject(new Error("Could not load canvg: " + r));
65210
65228
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-CM0yyu1P.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-CXc9w2_0.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.3.2-beta.6",
3
+ "version": "3.3.2-beta.7",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",