hoeditor-web 3.3.6-beta.13 → 3.3.6-beta.14
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-DHVj3J_3.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-
|
|
23034
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DcOBD7YA.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.6-beta.
|
|
24629
|
+
const version = "3.3.6-beta.14";
|
|
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) {
|
|
@@ -61841,7 +61841,8 @@ class VueController {
|
|
|
61841
61841
|
const E = JSON.stringify(_), D = JSON.parse(E);
|
|
61842
61842
|
return C && (typeof C.size < "u" && C.size !== _.size.toString() && (D.size = C.size), typeof C.creatorIndex < "u" && C.creatorIndex !== _.creatorIndex.toString() && (D.creatorIndex = C.creatorIndex), typeof C.deleterIndex < "u" && C.deleterIndex !== _.deleterIndex.toString() && (D.deleterIndex = C.deleterIndex), typeof C.bold < "u" && C.bold !== _.bold.toString() && (D.bold = C.bold), typeof C.italic < "u" && C.italic !== _.italic.toString() && (D.italic = C.italic), typeof C.script < "u" && C.script !== _.script.toString() && (D.script = C.script), typeof C.strikeout < "u" && C.strikeout !== _.strikeout.toString() && (D.strikeout = C.strikeout), typeof C.underline < "u" && C.underline !== _.underline.toString() && (D.underline = C.underline), typeof C.color < "u" && C.color !== _.color && (D.color = C.color), typeof C.font < "u" && C.font !== _.font && (D.font = C.font), typeof C.backColor < "u" && C.backColor !== _.backColor && (D.backColor = C.backColor), typeof C.commentID < "u" && C.commentID !== _.commentID && (D.commentID = C.commentID)), D;
|
|
61843
61843
|
}, p = o.structureConvert.xml2Object(t[0][1]);
|
|
61844
|
-
p.styles.paraStyle && Array.isArray(p.styles.paraStyle) &&
|
|
61844
|
+
p.styles.paraStyle && Array.isArray(p.styles.paraStyle) && p.styles.paraStyle.forEach((C) => {
|
|
61845
|
+
}), d.push(JSON.stringify(p.styles.defaultFont || deepCloneWithWhiteList(o.docTree.styles[0].combineStyle, CombineStyle.whiteList()))), u.push(JSON.stringify(p.styles.defaultPara || deepCloneWithWhiteList(o.docTree.paragraphs[0].combineStyle, CombineParagraph.whiteList())));
|
|
61845
61846
|
const m = JSON.parse(d[0]);
|
|
61846
61847
|
m.size = m.size.toString(), m.creatorIndex = m.creatorIndex.toString(), m.deleterIndex = m.deleterIndex.toString(), m.bold = m.bold.toString(), m.italic = m.italic.toString(), m.script = m.script.toString(), m.strikeout = m.strikeout.toString(), m.underline = m.underline.toString(), d[0] = JSON.stringify(m);
|
|
61847
61848
|
const g = JSON.parse(u[0]);
|