sigo-package 1.2.31 → 1.2.32

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/dist/index.d.mts CHANGED
@@ -327,7 +327,7 @@ declare function buildDataMaterialsRule(Materiales: Map<string, IMOAndMaterialsR
327
327
  stock: "Personal" | "Almacen";
328
328
  ID: number;
329
329
  lote: string;
330
- id: number;
330
+ id: string;
331
331
  text: string;
332
332
  }[];
333
333
 
package/dist/index.d.ts CHANGED
@@ -327,7 +327,7 @@ declare function buildDataMaterialsRule(Materiales: Map<string, IMOAndMaterialsR
327
327
  stock: "Personal" | "Almacen";
328
328
  ID: number;
329
329
  lote: string;
330
- id: number;
330
+ id: string;
331
331
  text: string;
332
332
  }[];
333
333
 
package/dist/index.js CHANGED
@@ -5985,7 +5985,7 @@ function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen,
5985
5985
  });
5986
5986
  });
5987
5987
  return dataMaterialsRule.map((e) => ({
5988
- id: e.ID,
5988
+ id: e.key,
5989
5989
  text: `${e.item.Codigo} - ${e.item.Nombre} ${e.lote ? `(Lote: ${e.lote})` : ""}`.trim(),
5990
5990
  ...e
5991
5991
  }));
package/dist/index.mjs CHANGED
@@ -5858,7 +5858,7 @@ function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen,
5858
5858
  });
5859
5859
  });
5860
5860
  return dataMaterialsRule.map((e) => ({
5861
- id: e.ID,
5861
+ id: e.key,
5862
5862
  text: `${e.item.Codigo} - ${e.item.Nombre} ${e.lote ? `(Lote: ${e.lote})` : ""}`.trim(),
5863
5863
  ...e
5864
5864
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-package",
3
- "version": "1.2.31",
3
+ "version": "1.2.32",
4
4
  "description": "Funciones compartidas sigo",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",