hoeditor-web 3.3.4 → 3.3.5-beta.0
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-BFSa6MR8.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -15080,7 +15080,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15080
15080
|
const f = () => {
|
|
15081
15081
|
const p = d.naturalWidth !== 0 ? d.naturalWidth : d.width, m = d.naturalHeight !== 0 ? d.naturalHeight : d.height;
|
|
15082
15082
|
let g = n.signHeight / m < 0.4 ? 0.4 : n.signHeight / m > 0.7 ? 1 : n.signHeight / m;
|
|
15083
|
-
if (o.fingerPosition == FingerPosition.center && n.signHeight / m < 0.2 && (g = n.signHeight * 1.5 / m), n.patientSignHeight != 0 && (g = n.patientSignHeight / m), this.
|
|
15083
|
+
if (o.fingerPosition == FingerPosition.center && n.signHeight / m < 0.2 && (g = n.signHeight * 1.5 / m), n.patientSignHeight != 0 && (g = n.patientSignHeight / m), this._dWidth = p * g, o.fingerPrintSrc !== "")
|
|
15084
15084
|
this._imageManager.addImageQueue(this, () => new Promise((y) => {
|
|
15085
15085
|
const w = new Image();
|
|
15086
15086
|
let v;
|
|
@@ -15210,7 +15210,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15210
15210
|
}
|
|
15211
15211
|
}
|
|
15212
15212
|
}
|
|
15213
|
-
const version = "3.3.
|
|
15213
|
+
const version = "3.3.5-beta.0";
|
|
15214
15214
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15215
15215
|
class SignNode extends BaseNode {
|
|
15216
15216
|
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) {
|
|
@@ -65135,7 +65135,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65135
65135
|
(function(a) {
|
|
65136
65136
|
function t() {
|
|
65137
65137
|
return function() {
|
|
65138
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65138
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DNV87B__.mjs");
|
|
65139
65139
|
}().catch(function(r) {
|
|
65140
65140
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65141
65141
|
}).then(function(r) {
|
|
@@ -82935,6 +82935,16 @@ const HoPrint = __component__$z.exports, _sfc_main$y = {
|
|
|
82935
82935
|
"⑧",
|
|
82936
82936
|
"⑨",
|
|
82937
82937
|
"⑩",
|
|
82938
|
+
"⑪",
|
|
82939
|
+
"⑫",
|
|
82940
|
+
"⑬",
|
|
82941
|
+
"⑭",
|
|
82942
|
+
"⑮",
|
|
82943
|
+
"⑯",
|
|
82944
|
+
"⑰",
|
|
82945
|
+
"⑱",
|
|
82946
|
+
"⑲",
|
|
82947
|
+
"⑳",
|
|
82938
82948
|
"㈠",
|
|
82939
82949
|
"㈡",
|
|
82940
82950
|
"㈢",
|