etiquetas.js 1.0.0-alpha.2 → 1.0.0-alpha.3
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 +11 -7
- package/dist/etiquetas.es.js +1 -1
- package/dist/etiquetas.umd.js +1 -1
- package/dist/etiquetas.umd.js.map +1 -1
- package/dist/{index-BmMBOPX1.js → index-BkmabrFq.js} +3 -3
- package/dist/{index-BmMBOPX1.js.map → index-BkmabrFq.js.map} +1 -1
- package/dist/{index.es-DzWoeylQ.js → index.es-B4lKWyrH.js} +2 -2
- package/dist/{index.es-DzWoeylQ.js.map → index.es-B4lKWyrH.js.map} +1 -1
- package/package.json +1 -1
|
@@ -11303,7 +11303,7 @@ function(t2) {
|
|
|
11303
11303
|
*/
|
|
11304
11304
|
function(t2) {
|
|
11305
11305
|
function e2() {
|
|
11306
|
-
return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-
|
|
11306
|
+
return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-B4lKWyrH.js")).catch(function(t3) {
|
|
11307
11307
|
return Promise.reject(new Error("Could not load canvg: " + t3));
|
|
11308
11308
|
}).then(function(t3) {
|
|
11309
11309
|
return t3.default ? t3.default : t3;
|
|
@@ -58577,7 +58577,7 @@ const sendLabel = (_0, _1, ..._2) => __async(void 0, [_0, _1, ..._2], function*
|
|
|
58577
58577
|
}
|
|
58578
58578
|
}
|
|
58579
58579
|
const pdf = yield makeLabel(labelData, labelId, options);
|
|
58580
|
-
const filename = options.
|
|
58580
|
+
const filename = options.fileName || `label-${Date.now()}.pdf`;
|
|
58581
58581
|
console.log("📄 PDF gerado:", pdf);
|
|
58582
58582
|
const result = yield sendToPrinter(pdf, __spreadValues({
|
|
58583
58583
|
filename,
|
|
@@ -59119,4 +59119,4 @@ export {
|
|
|
59119
59119
|
downloadPDF as y,
|
|
59120
59120
|
sendToPrinter as z
|
|
59121
59121
|
};
|
|
59122
|
-
//# sourceMappingURL=index-
|
|
59122
|
+
//# sourceMappingURL=index-BkmabrFq.js.map
|