hoeditor-web 3.2.39 → 3.2.40
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-DWjyZZ0B.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -14904,7 +14904,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14904
14904
|
}
|
|
14905
14905
|
}
|
|
14906
14906
|
}
|
|
14907
|
-
const version = "3.2.
|
|
14907
|
+
const version = "3.2.40";
|
|
14908
14908
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
14909
14909
|
class SignNode extends BaseNode {
|
|
14910
14910
|
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) {
|
|
@@ -39756,7 +39756,7 @@ class HTMLconverter2 {
|
|
|
39756
39756
|
} else if (n == "sub") {
|
|
39757
39757
|
const s = o.vertical_align || "";
|
|
39758
39758
|
s.indexOf("sub") == -1 && (o.vertical_align = (s == "" || s == null ? "" : s + " ") + "sub");
|
|
39759
|
-
} else if (n == "u") {
|
|
39759
|
+
} else if (n == "u" || n == "#text") {
|
|
39760
39760
|
const s = o.text_decoration || "";
|
|
39761
39761
|
s.indexOf("underline") == -1 && (o.text_decoration = (s == "" ? "" : s + " ") + "underline");
|
|
39762
39762
|
} else if (n == "s") {
|
|
@@ -52389,6 +52389,13 @@ class VueController {
|
|
|
52389
52389
|
}
|
|
52390
52390
|
});
|
|
52391
52391
|
}
|
|
52392
|
+
testFlow() {
|
|
52393
|
+
const t = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), r = this.getAllElementNodes()[13], o = `1、活化部分凝血活酶时间测定(APTT)(GCP),
|
|
52394
|
+
2、普通门诊诊查费33,`;
|
|
52395
|
+
t.elementController.updateTextInputFieldValue(r, ""), setTimeout(() => {
|
|
52396
|
+
t.elementController.updateTextInputFieldValue(r, o);
|
|
52397
|
+
}, 1e3);
|
|
52398
|
+
}
|
|
52392
52399
|
}
|
|
52393
52400
|
class BaseController {
|
|
52394
52401
|
constructor(t) {
|
|
@@ -64323,7 +64330,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
64323
64330
|
(function(a) {
|
|
64324
64331
|
function t() {
|
|
64325
64332
|
return function() {
|
|
64326
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
64333
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-Bfk--3Bj.mjs");
|
|
64327
64334
|
}().catch(function(r) {
|
|
64328
64335
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
64329
64336
|
}).then(function(r) {
|
|
@@ -65630,7 +65637,7 @@ class PrintController {
|
|
|
65630
65637
|
});
|
|
65631
65638
|
})));
|
|
65632
65639
|
return p ? (setTimeout(() => {
|
|
65633
|
-
o.vueController.moveCaretToPath(n), this.clearJsPDF();
|
|
65640
|
+
(o.drawTree.drawPages || []).length && o.vueController.moveCaretToPath(n), this.clearJsPDF();
|
|
65634
65641
|
}, 0), r == "url" ? p : p.replace(/^data:application\/pdf;filename=generated.pdf;base64,/, "")) : null;
|
|
65635
65642
|
}
|
|
65636
65643
|
/**
|