utn-cli 2.0.63 → 2.0.64

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.
@@ -245,8 +245,8 @@ function personalizarModalFrontend(contenido, tableInfo, fileName) {
245
245
  return ` ${col.name}: controles.${col.name}Control.value`;
246
246
  }).join(',\n');
247
247
 
248
- contenido = contenido.replace(/let incapacidad = this\.grupoFormulario\.controls;[\s\S]*?this\.dialogRef\.close\(\{[\s\S]*?\}\);/,
249
- `let controles = this.grupoFormulario.controls;\n this.dialogRef.close({\n${objetoRetorno},\n ${primaryKey}: this.data.Registro?.${primaryKey}\n });`);
248
+ contenido = contenido.replace(/let \w+ = this\.grupoFormulario\.controls;[\s\S]*?this\.dialogRef\.close\(\{[\s\S]*?\}\);/,
249
+ `let controles = this.grupoFormulario.controls;\n /*\n this.dialogRef.close({\n${objetoRetorno},\n ${primaryKey}: this.data.Registro?.${primaryKey}\n });\n */`);
250
250
 
251
251
  // Quitar TiposDeLicencias si existe
252
252
  contenido = contenido.replace(/TiposDeLicencias = this\.data\.TiposDeLicencias;/g, '');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utn-cli",
3
- "version": "2.0.63",
3
+ "version": "2.0.64",
4
4
  "description": "Herramienta CLI unificada para la gestión de plantillas en SIGU.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -58,7 +58,7 @@ export class GestionTablaXYZComponent {
58
58
  // https://fonts.google.com/icons
59
59
  public acciones = [
60
60
  { icono: 'edit', color: 'azul', textoAyuda: 'Editar', ejecutar: (fila: any) => this.AbrirModal(fila), },
61
- { icono: 'draw', color: 'marino', textoAyuda: 'Firmar', ejecutar: (fila: any) => this.confirmacionFirmaDelUsuario(fila), },
61
+ // { icono: 'draw', color: 'marino', textoAyuda: 'Firmar', ejecutar: (fila: any) => this.confirmacionFirmaDelUsuario(fila), },
62
62
  { icono: 'delete', color: 'rojo', textoAyuda: 'Eliminar', ejecutar: (fila: any) => this.confirmacionEliminar(fila), },
63
63
  ];
64
64
  public accionesDinamicas = [];