vg-print 1.0.333 → 1.0.335
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/README.md +31 -12
- package/dist/style.css +1 -1
- package/dist/vg-print.es.js +6 -6
- package/dist/vg-print.umd.js +3 -3
- package/package.json +1 -1
package/dist/vg-print.es.js
CHANGED
|
@@ -65650,7 +65650,7 @@ ${i18n$1.__("转大小写")}
|
|
|
65650
65650
|
}
|
|
65651
65651
|
};
|
|
65652
65652
|
})();
|
|
65653
|
-
const version = "1.0.
|
|
65653
|
+
const version = "1.0.335";
|
|
65654
65654
|
let autoConnect$1 = function(Ie) {
|
|
65655
65655
|
console.log("autoConnect"), window.autoConnect = !0, window.hiwebSocket && window.hiwebSocket.hasIo() && window.hiwebSocket.start(Ie);
|
|
65656
65656
|
}, disAutoConnect$1 = function() {
|
|
@@ -65751,9 +65751,7 @@ hiprint$1.register = async function(Ie = {}) {
|
|
|
65751
65751
|
};
|
|
65752
65752
|
window.hiprint = hiprint$1;
|
|
65753
65753
|
function createTemplate(Ie, Ae = {}) {
|
|
65754
|
-
hiprint$1.init({ providers: [new defaultElementTypeProvider()] });
|
|
65755
|
-
const je = hiprint$1._authKey ? void 0 : { content: "vg-print", timestamp: !0 }, Be = { ...Ae };
|
|
65756
|
-
return Be.watermarkOptions || (Be.watermarkOptions = je), new hiprint$1.PrintTemplate({ template: Ie, ...Be });
|
|
65754
|
+
return hiprint$1.init({ providers: [new defaultElementTypeProvider()] }), new hiprint$1.PrintTemplate({ template: Ie, ...Ae });
|
|
65757
65755
|
}
|
|
65758
65756
|
function getHtml(Ie, Ae) {
|
|
65759
65757
|
const Be = (Ie && typeof Ie.getHtml == "function" ? Ie : createTemplate(Ie)).getHtml(Ae);
|
|
@@ -87226,7 +87224,9 @@ const _sfc_main = {
|
|
|
87226
87224
|
}
|
|
87227
87225
|
},
|
|
87228
87226
|
init() {
|
|
87229
|
-
hiprint.
|
|
87227
|
+
hiprint.register({
|
|
87228
|
+
authKey: "eyJrIjoiZ21jNTc2MDMzNyJ9"
|
|
87229
|
+
}), hiprint.init({
|
|
87230
87230
|
lang: this.lang || "cn",
|
|
87231
87231
|
providers: [provider]
|
|
87232
87232
|
}), $(".hiprintEpContainer").empty(), hiprint.PrintElementTypeManager.build(".hiprintEpContainer", "taskProviderModule"), $("#hiprint-printTemplate").empty(), this.template = hiprintTemplate = new hiprint.PrintTemplate({
|
|
@@ -88267,7 +88267,7 @@ function _sfc_render(Ie, Ae, je, Be, Ee, Se) {
|
|
|
88267
88267
|
}, null, 8, ["template", "onApply"])
|
|
88268
88268
|
], 64);
|
|
88269
88269
|
}
|
|
88270
|
-
const FullDesigner = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
88270
|
+
const FullDesigner = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2244caa8"]]), index = {
|
|
88271
88271
|
install(Ie) {
|
|
88272
88272
|
Ie.component("FullDesigner", FullDesigner);
|
|
88273
88273
|
try {
|