hoeditor-web 3.2.1 → 3.2.2
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-xSnltmCJ.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ls = Object.defineProperty;
|
|
2
2
|
var Ms = (l, r, o) => r in l ? Ls(l, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[r] = o;
|
|
3
3
|
var _ = (l, r, o) => Ms(l, typeof r != "symbol" ? r + "" : r, o);
|
|
4
|
-
import Vue$1, { defineComponent, computed, h, ref, reactive, inject, onMounted, watch, toRefs, provide } from "vue";
|
|
4
|
+
import Vue$1, { defineComponent, computed, h, ref, reactive, inject, onMounted, watch, toRefs, provide, onBeforeMount } from "vue";
|
|
5
5
|
import { message, Modal } from "ant-design-vue";
|
|
6
6
|
import moment$2 from "moment";
|
|
7
7
|
import { fabric } from "fabric";
|
|
@@ -16128,7 +16128,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
16128
16128
|
}
|
|
16129
16129
|
}
|
|
16130
16130
|
}
|
|
16131
|
-
const version$1 = "3.2.
|
|
16131
|
+
const version$1 = "3.2.2";
|
|
16132
16132
|
var FingerPosition = /* @__PURE__ */ ((l) => (l[l.left = 0] = "left", l[l.center = 1] = "center", l[l.right = 2] = "right", l))(FingerPosition || {});
|
|
16133
16133
|
class SignNode extends BaseNode {
|
|
16134
16134
|
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) {
|
|
@@ -65900,7 +65900,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65900
65900
|
(function(l) {
|
|
65901
65901
|
function r() {
|
|
65902
65902
|
return function() {
|
|
65903
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65903
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-BUIYlZyt.mjs");
|
|
65904
65904
|
}().catch(function(o) {
|
|
65905
65905
|
return Promise.reject(new Error("Could not load canvg: " + o));
|
|
65906
65906
|
}).then(function(o) {
|
|
@@ -87269,8 +87269,10 @@ const _sfc_main$3 = defineComponent({
|
|
|
87269
87269
|
const L = window.URL.createObjectURL(new Blob([F], { type: `text/${A}` })), H = document.createElement("a");
|
|
87270
87270
|
H.style.display = "none", H.href = L, H.setAttribute("download", R), H.click(), setTimeout(() => H.remove(), 0);
|
|
87271
87271
|
};
|
|
87272
|
-
return watch([l.reviewJson, l.browseJson, l.editJson], () => {
|
|
87272
|
+
return watch([() => l.reviewJson, () => l.browseJson, () => l.editJson], () => {
|
|
87273
87273
|
u.value = { ...u.value, ...l.reviewJson }, f.value = { ...f.value, ...l.browseJson }, p.value = { ...p.value, ...l.editJson }, v();
|
|
87274
|
+
}, { deep: !0 }), onBeforeMount(() => {
|
|
87275
|
+
u.value = { ...u.value, ...l.reviewJson }, f.value = { ...f.value, ...l.browseJson }, p.value = { ...p.value, ...l.editJson };
|
|
87274
87276
|
}), onMounted(() => {
|
|
87275
87277
|
v(), c.value && new ResizeObserver((D) => {
|
|
87276
87278
|
v();
|