hoeditor-web 3.2.56 → 3.2.58

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-DGOnUyea.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-D1X25Ldv.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -12877,7 +12877,7 @@ class ParagraphNode extends BaseNode {
12877
12877
  }
12878
12878
  editModeAndSoftDelete() {
12879
12879
  const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
12880
- let o = r.docTree.styles[this._styleIndex];
12880
+ let o = r.docTree.styles[this._styleIndex] || r.docTree.styles[0];
12881
12881
  const n = !(o.deleterIndex === void 0 || o.deleterIndex === -1), s = r.drawTree.paintStatus === PaintState.psReview || r.drawTree.paintStatus === PaintState.psTrace;
12882
12882
  return n && !s && r.isHideComments;
12883
12883
  }
@@ -14940,7 +14940,7 @@ class DrawSignNode extends DrawCombineNode {
14940
14940
  }
14941
14941
  }
14942
14942
  }
14943
- const version = "3.2.56";
14943
+ const version = "3.2.58";
14944
14944
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
14945
14945
  class SignNode extends BaseNode {
14946
14946
  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) {
@@ -23991,7 +23991,8 @@ class TextInputFieldNode extends BaseCombineNode {
23991
23991
  n,
23992
23992
  f,
23993
23993
  NodeType$1.ntText,
23994
- f.labelText,
23994
+ // temp.labelText
23995
+ "",
23995
23996
  //hoEditorFactory.docTree.curStyleIndex,
23996
23997
  p.styleIndex,
23997
23998
  MarkNodeType.mtContent
@@ -29384,7 +29385,7 @@ class TextNode extends BaseNode {
29384
29385
  }
29385
29386
  editModeAndSoftDelete() {
29386
29387
  const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
29387
- let o = r.docTree.styles[this._styleIndex];
29388
+ let o = r.docTree.styles[this._styleIndex] || r.docTree.styles[0];
29388
29389
  const n = !(o.deleterIndex === void 0 || o.deleterIndex === -1), s = r.drawTree.paintStatus === PaintState.psReview || r.drawTree.paintStatus === PaintState.psTrace;
29389
29390
  return n && !s && r.isHideComments;
29390
29391
  }
@@ -64428,7 +64429,7 @@ WebPDecoder.prototype.getData = function() {
64428
64429
  (function(a) {
64429
64430
  function t() {
64430
64431
  return function() {
64431
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DZN1RLQO.mjs");
64432
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CTtbVO0f.mjs");
64432
64433
  }().catch(function(r) {
64433
64434
  return Promise.reject(new Error("Could not load canvg: " + r));
64434
64435
  }).then(function(r) {
@@ -83368,7 +83369,24 @@ const HoDocs = __component__$s.exports, _sfc_main$r = defineComponent({
83368
83369
  // "family": "黑体, SimHei, Heiti SC, sans-serif"
83369
83370
  // },
83370
83371
  ],
83371
- fontSize: fontSizes,
83372
+ fontSize: [
83373
+ { name: i18nHelper("04-001-009-EMR.3.3.520", null, "初号"), value: 42, px: 56 },
83374
+ { name: i18nHelper("04-001-009-EMR.3.3.521", null, "小初"), value: 36, px: 48 },
83375
+ { name: i18nHelper("04-001-009-EMR.3.3.535", null, "一号"), value: 26, px: 35 },
83376
+ { name: i18nHelper("04-001-009-EMR.3.3.536", null, "小一"), value: 24, px: 32 },
83377
+ { name: i18nHelper("04-001-009-EMR.3.3.537", null, "二号"), value: 22, px: 29 },
83378
+ { name: i18nHelper("04-001-009-EMR.3.3.538", null, "小二"), value: 18, px: 24 },
83379
+ { name: i18nHelper("04-001-009-EMR.3.3.539", null, "三号"), value: 16, px: 22 },
83380
+ { name: i18nHelper("04-001-009-EMR.3.3.540", null, "小三"), value: 15, px: 21 },
83381
+ { name: i18nHelper("04-001-009-EMR.3.3.541", null, "四号"), value: 14, px: 19 },
83382
+ { name: i18nHelper("04-001-009-EMR.3.3.567", null, "小四"), value: 12, px: 16 },
83383
+ { name: i18nHelper("04-001-009-EMR.3.3.542", null, "五号"), value: 10.5, px: 14 },
83384
+ { name: i18nHelper("04-001-009-EMR.3.3.543", null, "小五"), value: 9, px: 12 },
83385
+ { name: i18nHelper("04-001-009-EMR.3.3.544", null, "六号"), value: 7.5, px: 10 },
83386
+ { name: i18nHelper("04-001-009-EMR.3.3.545", null, "小六"), value: 6.5, px: 8 },
83387
+ { name: i18nHelper("04-001-009-EMR.3.3.546", null, "七号"), value: 5.5, px: 7 },
83388
+ { name: i18nHelper("04-001-009-EMR.3.3.547", null, "八号"), value: 5, px: 6 }
83389
+ ],
83372
83390
  isSuperScript: !1,
83373
83391
  isSubScript: !1,
83374
83392
  font: { ch: i18nHelper("04-001-009-EMR.3.3.548", null, "宋体"), en: "SimSun" },
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-DGOnUyea.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-D1X25Ldv.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.2.56",
3
+ "version": "3.2.58",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",