hoeditor-web 3.3.7-beta.0 → 3.3.7-beta.1

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-BMBgyj0h.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-CIhVB8qQ.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -23031,7 +23031,7 @@ WebPDecoder.prototype.getData = function() {
23031
23031
  (function(a) {
23032
23032
  function t() {
23033
23033
  return function() {
23034
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-BcdwwgwB.mjs");
23034
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-B46IkhKu.mjs");
23035
23035
  }().catch(function(r) {
23036
23036
  return Promise.reject(new Error("Could not load canvg: " + r));
23037
23037
  }).then(function(r) {
@@ -24626,7 +24626,7 @@ class DrawSignNode extends DrawCombineNode {
24626
24626
  }
24627
24627
  }
24628
24628
  }
24629
- const version = "3.3.7-beta.0";
24629
+ const version = "3.3.7-beta.1";
24630
24630
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
24631
24631
  class SignNode extends BaseNode {
24632
24632
  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, associatedPatientElement, isTemp, innerIdentifier) {
@@ -63784,7 +63784,7 @@ class VueController {
63784
63784
  const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
63785
63785
  let n = o.docTree.getNodeLastPath(t.previousLeaf());
63786
63786
  const s = t.getNodePath(), l = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daModifyStyle, n, s);
63787
- l.oldEndPath = s, l.afterChangePath = s, l.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(n, s, !0, !0), t.imageDataBase64String = r, t.isBackFilled = !0, t.node2DrawNode(), o.docTree.change(l);
63787
+ l.oldEndPath = s, l.afterChangePath = s, l.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(n, s, !0, !0), t.imageDataBase64String = r, t.isBackFilled = !0, t.node2DrawNode(), o.docTree.change(l), this.changeIsModify(!0);
63788
63788
  }
63789
63789
  /**
63790
63790
  * 恢复回填占位:删除已回填的真实图片,还原为空占位图
@@ -63795,7 +63795,7 @@ class VueController {
63795
63795
  const r = createBackFillPlaceholder(getBackFillText(t.backFillType), Number(t.width), Number(t.height)), o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
63796
63796
  let n = o.docTree.getNodeLastPath(t.previousLeaf());
63797
63797
  const s = t.getNodePath(), l = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daModifyStyle, n, s);
63798
- l.oldEndPath = s, l.afterChangePath = s, l.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(n, s, !0, !0), t.imageDataBase64String = r, t.isBackFilled = !1, t.node2DrawNode(), o.docTree.change(l);
63798
+ l.oldEndPath = s, l.afterChangePath = s, l.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(n, s, !0, !0), t.imageDataBase64String = r, t.isBackFilled = !1, t.node2DrawNode(), o.docTree.change(l), this.changeIsModify(!0);
63799
63799
  }
63800
63800
  updateFigure(t, r, o, n, s, l = !1) {
63801
63801
  const c = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-BMBgyj0h.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-CIhVB8qQ.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.7-beta.0",
3
+ "version": "3.3.7-beta.1",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",