hoeditor-web 3.3.2-beta.0 → 3.3.2-beta.1
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-ChMSD6GV.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -15240,7 +15240,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15240
15240
|
}
|
|
15241
15241
|
}
|
|
15242
15242
|
}
|
|
15243
|
-
const version = "3.3.2-beta.
|
|
15243
|
+
const version = "3.3.2-beta.1";
|
|
15244
15244
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15245
15245
|
class SignNode extends BaseNode {
|
|
15246
15246
|
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) {
|
|
@@ -50503,19 +50503,32 @@ class VueController {
|
|
|
50503
50503
|
const t = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), r = t.subDocManger.headerDocTree[0].subDocNodes, o = t.docTree.mainNodes, n = t.subDocManger.footerDocTree[0].subDocNodes;
|
|
50504
50504
|
let s = "";
|
|
50505
50505
|
const l = (c) => {
|
|
50506
|
-
var d;
|
|
50507
|
-
for (let
|
|
50508
|
-
const
|
|
50509
|
-
if (!(
|
|
50510
|
-
if (
|
|
50511
|
-
|
|
50512
|
-
|
|
50513
|
-
p
|
|
50514
|
-
|
|
50515
|
-
|
|
50516
|
-
|
|
50517
|
-
|
|
50518
|
-
|
|
50506
|
+
var d, u;
|
|
50507
|
+
for (let f = 0; f < c.length; f++) {
|
|
50508
|
+
const p = c[f];
|
|
50509
|
+
if (!(p.hidden || (d = p == null ? void 0 : p.customProperty) != null && d.hidden)) {
|
|
50510
|
+
if (p instanceof TextNode)
|
|
50511
|
+
if (p.combination) {
|
|
50512
|
+
let m = p.text;
|
|
50513
|
+
p.combination.forEach((g) => {
|
|
50514
|
+
m = m + g;
|
|
50515
|
+
}), s += m;
|
|
50516
|
+
} else
|
|
50517
|
+
s += p.text;
|
|
50518
|
+
else if (p instanceof ControlNode && !(p instanceof PageNumNode) && !(p instanceof PageCountNode))
|
|
50519
|
+
p instanceof DateTimeNode && p.name == p.text || (s += p.text);
|
|
50520
|
+
else if (p instanceof BaseCombineNode)
|
|
50521
|
+
l(p.childNodes);
|
|
50522
|
+
else if (p instanceof ParagraphNode)
|
|
50523
|
+
s += `
|
|
50524
|
+
`;
|
|
50525
|
+
else if (p instanceof SignNode && p.customProperty && p.customProperty.bce03) {
|
|
50526
|
+
let m = [];
|
|
50527
|
+
p.customProperty.abi02 && m.push(p.customProperty.abi02), m.push(p.customProperty.bce03);
|
|
50528
|
+
const g = ((u = p.otherProperties) == null ? void 0 : u.time) || p.signTime;
|
|
50529
|
+
g && m.push(g), s += m.join("_");
|
|
50530
|
+
}
|
|
50531
|
+
}
|
|
50519
50532
|
}
|
|
50520
50533
|
};
|
|
50521
50534
|
return l(r), l(o), l(n), s = s.replace(/&/g, "&"), s = s.replace(/</g, "<"), s = s.replace(/>/g, ">"), s = s.replace(/\'/g, "'"), s = s.replace(/\"/g, """), s;
|
|
@@ -65150,7 +65163,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65150
65163
|
(function(a) {
|
|
65151
65164
|
function t() {
|
|
65152
65165
|
return function() {
|
|
65153
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65166
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-B3cYwQ4K.mjs");
|
|
65154
65167
|
}().catch(function(r) {
|
|
65155
65168
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65156
65169
|
}).then(function(r) {
|