hoeditor-web 3.2.56 → 3.2.57
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-
|
|
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-D8NI9X6p.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.
|
|
14943
|
+
const version = "3.2.57";
|
|
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) {
|
|
@@ -29384,7 +29384,7 @@ class TextNode extends BaseNode {
|
|
|
29384
29384
|
}
|
|
29385
29385
|
editModeAndSoftDelete() {
|
|
29386
29386
|
const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
29387
|
-
let o = r.docTree.styles[this._styleIndex];
|
|
29387
|
+
let o = r.docTree.styles[this._styleIndex] || r.docTree.styles[0];
|
|
29388
29388
|
const n = !(o.deleterIndex === void 0 || o.deleterIndex === -1), s = r.drawTree.paintStatus === PaintState.psReview || r.drawTree.paintStatus === PaintState.psTrace;
|
|
29389
29389
|
return n && !s && r.isHideComments;
|
|
29390
29390
|
}
|
|
@@ -64428,7 +64428,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
64428
64428
|
(function(a) {
|
|
64429
64429
|
function t() {
|
|
64430
64430
|
return function() {
|
|
64431
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
64431
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-D7fNx-s1.mjs");
|
|
64432
64432
|
}().catch(function(r) {
|
|
64433
64433
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
64434
64434
|
}).then(function(r) {
|
|
@@ -83368,7 +83368,24 @@ const HoDocs = __component__$s.exports, _sfc_main$r = defineComponent({
|
|
|
83368
83368
|
// "family": "黑体, SimHei, Heiti SC, sans-serif"
|
|
83369
83369
|
// },
|
|
83370
83370
|
],
|
|
83371
|
-
fontSize:
|
|
83371
|
+
fontSize: [
|
|
83372
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.520", null, "初号"), value: 42, px: 56 },
|
|
83373
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.521", null, "小初"), value: 36, px: 48 },
|
|
83374
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.535", null, "一号"), value: 26, px: 35 },
|
|
83375
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.536", null, "小一"), value: 24, px: 32 },
|
|
83376
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.537", null, "二号"), value: 22, px: 29 },
|
|
83377
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.538", null, "小二"), value: 18, px: 24 },
|
|
83378
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.539", null, "三号"), value: 16, px: 22 },
|
|
83379
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.540", null, "小三"), value: 15, px: 21 },
|
|
83380
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.541", null, "四号"), value: 14, px: 19 },
|
|
83381
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.567", null, "小四"), value: 12, px: 16 },
|
|
83382
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.542", null, "五号"), value: 10.5, px: 14 },
|
|
83383
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.543", null, "小五"), value: 9, px: 12 },
|
|
83384
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.544", null, "六号"), value: 7.5, px: 10 },
|
|
83385
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.545", null, "小六"), value: 6.5, px: 8 },
|
|
83386
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.546", null, "七号"), value: 5.5, px: 7 },
|
|
83387
|
+
{ name: i18nHelper("04-001-009-EMR.3.3.547", null, "八号"), value: 5, px: 6 }
|
|
83388
|
+
],
|
|
83372
83389
|
isSuperScript: !1,
|
|
83373
83390
|
isSubScript: !1,
|
|
83374
83391
|
font: { ch: i18nHelper("04-001-009-EMR.3.3.548", null, "宋体"), en: "SimSun" },
|