hoeditor-web 3.3.1 → 3.3.2-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-Cvc9ioWs.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.
|
|
15243
|
+
const version = "3.3.2-beta.0";
|
|
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) {
|
|
@@ -27566,7 +27566,7 @@ class Print {
|
|
|
27566
27566
|
static openDataUriInWindow(t, r, o, n, s, l) {
|
|
27567
27567
|
var d, u;
|
|
27568
27568
|
if (window.emrPrintHandler) {
|
|
27569
|
-
window.emrPrintHandler(t.output("bloburl"));
|
|
27569
|
+
window.emrPrintHandler({ code: 200, data: t.output("bloburl") });
|
|
27570
27570
|
return;
|
|
27571
27571
|
}
|
|
27572
27572
|
if (navigator && navigator.userAgent.toLowerCase().indexOf("electron") !== -1) {
|
|
@@ -27733,8 +27733,9 @@ class Print {
|
|
|
27733
27733
|
}
|
|
27734
27734
|
if (u.printStatus.printRange !== 1 && u.printStatus.recordLastPosByPageIndex(w), u.printStatus.DrawPrintRange().PrintOver(), l || u.startPageNum !== 0 && l !== void 0) {
|
|
27735
27735
|
const G = u.printStatus.printRecord.last();
|
|
27736
|
-
if (G && u.startPageNum == G[0] && l === G[1]) {
|
|
27737
|
-
|
|
27736
|
+
if (G && u.startPageNum == G[0] && (l === G[1] || l && G[1] && l > G[1])) {
|
|
27737
|
+
const J = /* @__PURE__ */ i18nHelper("04-001-009-EMR.3.3.483", null, "无新增内容无法续打,如果要打印最后一份病历,请打开打印记录,删除最近一次打印记录");
|
|
27738
|
+
message.info(J), window.emrPrintHandler && window.emrPrintHandler({ code: 500, msg: J }), s && s("printend");
|
|
27738
27739
|
return;
|
|
27739
27740
|
}
|
|
27740
27741
|
}
|
|
@@ -65149,7 +65150,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65149
65150
|
(function(a) {
|
|
65150
65151
|
function t() {
|
|
65151
65152
|
return function() {
|
|
65152
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65153
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CRYhWMZo.mjs");
|
|
65153
65154
|
}().catch(function(r) {
|
|
65154
65155
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65155
65156
|
}).then(function(r) {
|