etiquetas.js 1.0.0-alpha.11 → 1.0.0-alpha.12

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.
@@ -11530,7 +11530,7 @@ function(t2) {
11530
11530
  */
11531
11531
  function(t2) {
11532
11532
  function e2() {
11533
- return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-eEPQXFRd.js")).catch(function(t3) {
11533
+ return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-D9tZR_eO.js")).catch(function(t3) {
11534
11534
  return Promise.reject(new Error("Could not load canvg: " + t3));
11535
11535
  }).then(function(t3) {
11536
11536
  return t3.default ? t3.default : t3;
@@ -28862,19 +28862,11 @@ function insertFiguresToPdf(_e) {
28862
28862
  tableWidth: vWidth,
28863
28863
  rowPageBreak: "avoid",
28864
28864
  pageBreak: "auto",
28865
- showHead: "firstPage"
28866
- /* didDrawPage: function(data) {
28867
- // Quando nova página for criada, redefine Y mas mantém a mesma margem esquerda
28868
- data.settings.margin.top = 0.5;
28869
- data.cursor.y = 0.5;
28870
- },
28871
- columnStyles: {
28872
- // Definição de larguras específicas para colunas
28873
- 0: { cellWidth: vWidth * 0.15 }, // ID - 15%
28874
- 1: { cellWidth: vWidth * 0.4 }, // Nome - 40%
28875
- 2: { cellWidth: vWidth * 0.1 }, // Qtd - 10%
28876
- 3: { cellWidth: vWidth * 0.35 } // Dimensões - 35%
28877
- }*/
28865
+ showHead: "firstPage",
28866
+ didDrawPage: function(data) {
28867
+ data.settings.margin.top = 0;
28868
+ data.cursor.y = 0;
28869
+ }
28878
28870
  });
28879
28871
  } catch (tableError) {
28880
28872
  console.error("Erro ao criar tabela automatizada:", tableError);
@@ -59979,4 +59971,4 @@ export {
59979
59971
  sendToPrinter as y,
59980
59972
  validateLabelData as z
59981
59973
  };
59982
- //# sourceMappingURL=index-Bl0CvwuC.js.map
59974
+ //# sourceMappingURL=index-ByX7GCn9.js.map