hoeditor-web 3.3.3-beta.17 → 3.3.3-beta.18

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-BY_nkxbf.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-CPX-XsP5.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -4590,9 +4590,13 @@ class Caret {
4590
4590
  * @param y y坐标
4591
4591
  */
4592
4592
  moveTo(t, r, o) {
4593
- this.div_cursor.className = "", this.x = r * DrawConfig.instance().scaleXY, this.y = o * DrawConfig.instance().scaleXY, this._aiInfo && (this._aiInfo.x = r * DrawConfig.instance().scaleXY, this._aiInfo.y = o * DrawConfig.instance().scaleXY, this._aiInfo.pageIndex = t, this._aiInfo.height = this._height), this.div_cursor.style.left = r * DrawConfig.instance().scaleXY + "px", this.div_cursor.style.top = o * DrawConfig.instance().scaleXY + "px", this.div_cursor.style.opacity = "1", setTimeout(() => {
4594
- this.updateCaret(), this.setPage(t);
4595
- }, 300);
4593
+ this.div_cursor.className = "", this.x = r * DrawConfig.instance().scaleXY, this.y = o * DrawConfig.instance().scaleXY, this._aiInfo && (this._aiInfo.x = r * DrawConfig.instance().scaleXY, this._aiInfo.y = o * DrawConfig.instance().scaleXY, this._aiInfo.pageIndex = t, this._aiInfo.height = this._height), this.div_cursor.style.left = r * DrawConfig.instance().scaleXY + "px", this.div_cursor.style.top = o * DrawConfig.instance().scaleXY + "px", this.div_cursor.style.opacity = "1";
4594
+ try {
4595
+ setTimeout(() => {
4596
+ this.updateCaret(), this.setPage(t);
4597
+ }, 300);
4598
+ } catch {
4599
+ }
4596
4600
  }
4597
4601
  }
4598
4602
  var OperType = /* @__PURE__ */ ((a) => (a[a.keyBoardInput = 0] = "keyBoardInput", a[a.keyBoardDelete = 1] = "keyBoardDelete", a[a.fontFormat = 2] = "fontFormat", a[a.fontSize = 3] = "fontSize", a[a.fontSizeEnlarge = 4] = "fontSizeEnlarge", a[a.fontSizeDecrease = 5] = "fontSizeDecrease", a[a.fontSuperScript = 6] = "fontSuperScript", a[a.fontSubScript = 7] = "fontSubScript", a[a.fontBold = 8] = "fontBold", a[a.fontItalic = 9] = "fontItalic", a[a.fontUnderline = 10] = "fontUnderline", a[a.fontStrikeout = 11] = "fontStrikeout", a[a.fontColor = 12] = "fontColor", a[a.fontBackColor = 13] = "fontBackColor", a[a.alignedLeft = 14] = "alignedLeft", a[a.alignedCenter = 15] = "alignedCenter", a[a.alignedRight = 16] = "alignedRight", a[a.alignedBothEnds = 17] = "alignedBothEnds", a[a.addIndent = 18] = "addIndent", a[a.decreaseIndent = 19] = "decreaseIndent", a[a.setLineHeight = 20] = "setLineHeight", a[a.insertTable = 21] = "insertTable", a[a.insertRowAbove = 22] = "insertRowAbove", a[a.insertRowBelow = 23] = "insertRowBelow", a[a.insertColLeft = 24] = "insertColLeft", a[a.insertColRight = 25] = "insertColRight", a[a.tableDeleteRows = 26] = "tableDeleteRows", a[a.tableDeleteCols = 27] = "tableDeleteCols", a[a.tableMergerCells = 28] = "tableMergerCells", a[a.tableUnMergerCells = 29] = "tableUnMergerCells", a[a.insertMedicalExpression = 30] = "insertMedicalExpression", a[a.updateMedicalExpression = 31] = "updateMedicalExpression", a[a.insertTextInputField = 32] = "insertTextInputField", a[a.updateTextInputField = 33] = "updateTextInputField", a[a.insertImage = 34] = "insertImage", a[a.insertBarcode = 35] = "insertBarcode", a[a.updateBarcode = 36] = "updateBarcode", a[a.insertQrcode = 37] = "insertQrcode", a[a.updateQrcode = 38] = "updateQrcode", a[a.insertRadioAndCheckBox = 39] = "insertRadioAndCheckBox", a[a.updateRadioAndCheckBox = 40] = "updateRadioAndCheckBox", a[a.insertDateTime = 41] = "insertDateTime", a[a.updateDateTime = 42] = "updateDateTime", a[a.insertDownList = 43] = "insertDownList", a[a.updateDownList = 44] = "updateDownList", a[a.insertSpecialChars = 45] = "insertSpecialChars", a[a.insertPageNum = 46] = "insertPageNum", a[a.insertSeparateChar = 47] = "insertSeparateChar", a[a.newFile = 48] = "newFile", a[a.openLocalFiles = 49] = "openLocalFiles", a[a.saveAsFile = 50] = "saveAsFile", a[a.openXml = 51] = "openXml", a[a.insertComment = 52] = "insertComment", a[a.deleteComment = 53] = "deleteComment", a[a.editComment = 54] = "editComment", a[a.clearTraces = 55] = "clearTraces", a[a.insertTableFormula = 56] = "insertTableFormula", a[a.insertSign = 57] = "insertSign", a[a.insertGestation = 58] = "insertGestation", a[a.insertRareChar = 59] = "insertRareChar", a[a.insertJumpButton = 60] = "insertJumpButton", a[a.insertPopQScore = 61] = "insertPopQScore", a[a.updatePopQScore = 62] = "updatePopQScore", a[a.insertSlider = 63] = "insertSlider", a[a.insertFigure = 64] = "insertFigure", a[a.updateFigure = 65] = "updateFigure", a[a.addFirstIndent = 66] = "addFirstIndent", a[a.decreaseFirstIndent = 67] = "decreaseFirstIndent", a))(OperType || {});
@@ -15194,7 +15198,7 @@ class DrawSignNode extends DrawCombineNode {
15194
15198
  }
15195
15199
  }
15196
15200
  }
15197
- const version = "3.3.3-beta.17";
15201
+ const version = "3.3.3-beta.18";
15198
15202
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
15199
15203
  class SignNode extends BaseNode {
15200
15204
  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) {
@@ -65158,7 +65162,7 @@ WebPDecoder.prototype.getData = function() {
65158
65162
  (function(a) {
65159
65163
  function t() {
65160
65164
  return function() {
65161
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CerdVBMW.mjs");
65165
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-BPswcJjD.mjs");
65162
65166
  }().catch(function(r) {
65163
65167
  return Promise.reject(new Error("Could not load canvg: " + r));
65164
65168
  }).then(function(r) {
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-BY_nkxbf.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-CPX-XsP5.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.3-beta.17",
3
+ "version": "3.3.3-beta.18",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",