utn-cli 2.0.30 → 2.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utn-cli",
3
- "version": "2.0.30",
3
+ "version": "2.0.32",
4
4
  "description": "Herramienta CLI unificada para la gestión de plantillas en SIGU.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -24,7 +24,7 @@
24
24
  "helmet": "^7.2.0",
25
25
  "jsonwebtoken": "^9.0.3",
26
26
  "mysql2": "^3.18.2",
27
- "nodemailer": "^6.10.1",
27
+ "nodemailer": "^8.0.1",
28
28
  "pdf-lib": "^1.17.1",
29
29
  "pdfkit": "^0.15.2"
30
30
  }
@@ -317,7 +317,7 @@ Router.get('/obtenerPersonasFuncionarias', async (solicitud, respuesta, next) =>
317
317
  try {
318
318
  return respuesta.json({ body: await Miscelaneo.obtenerPersonasFuncionarias(), error: undefined });
319
319
  } catch (error) {
320
- const MensajeDeError = 'No fue posible obtener los datos de las personas estudiantes';
320
+ const MensajeDeError = 'No fue posible obtener los datos de las personas funcionarias';
321
321
  console.error(new ManejadorDeErrores(MensajeDeError, ManejadorDeErrores.obtenerNumeroDeLinea(), true, `Dirección IP: ${solicitud.ip}`));
322
322
  return respuesta.status(500).json({ body: undefined, error: MensajeDeError });
323
323
  }
@@ -356,7 +356,7 @@ class Miscelaneo {
356
356
  "<p>Estimada persona usuaria,<br /><br />"
357
357
  + "Se ha realizado una solicitud de cambio de clave para su cuenta de acceso a SIGU.</p>"
358
358
  + "<p>Para continuar con el cambio por favor presione "
359
- + "<a href='" + this.EnlaceDeAcceso + "/?Identificacion=" + Solicitud.body.Identificacion + "&Clave=" + Clave + "'>aquí</a>"
359
+ + "<a href='" + this.EnlaceDeAcceso + "/?Identificacion=" + Solicitud.body.Identificacion + "'>aquí</a>"
360
360
  + " de lo contrario omita este mensaje.</p>"
361
361
  + "<p>Su nueva clave es: " + Clave + " y se le invita a cambiarla lo antes posible haciendo uso del sistema.</p>"
362
362
  + "<p>La vigencia de la clave generada es de 10 minutos, luego de eso se eliminará la solicitud.</p>"
@@ -678,8 +678,8 @@ class Miscelaneo {
678
678
  async obtenerPersonasFuncionarias() {
679
679
  return await ejecutarConsultaSIGU("SELECT `Identificador`, `Identificacion`, `Nombre`, `PrimerApellido`,\
680
680
  `SegundoApellido` FROM `SIGU`.`SIGU_Personas` WHERE `Identificador` IN\
681
- (SELECT `Identificador` FROM `SIGU`.`SIGU_RolesPersonas` WHERE `PerfilGeneralId` = ?) ORDER BY `Nombre`, `PrimerApellido`,\
682
- `SegundoApellido`", [await this.perfilGeneralId()]);
681
+ (SELECT `Identificador` FROM `SIGU`.`EstructuraOrganizacional_Instancias`) ORDER BY `Nombre`, `PrimerApellido`,\
682
+ `SegundoApellido`");
683
683
  }
684
684
 
685
685
  // async rolPermisoIdDelMenuPadre() {
@@ -1851,7 +1851,7 @@ class Miscelaneo {
1851
1851
  return {
1852
1852
  "Modulo": this.NombreCanonicoDelModulo,
1853
1853
  "Titulo": this.NombreDelModulo,
1854
- "Version": this.Version,
1854
+ "Version": this.Version + "$$" + this.versionDelNucleo().split(' ')[0],
1855
1855
  "Descripcion": this.DescripcionDelModulo,
1856
1856
  "Detalle": this.DetalleDelModulo
1857
1857
  };
@@ -40,4 +40,4 @@
40
40
  "karma-jasmine-html-reporter": "~2.1.0",
41
41
  "typescript": "~5.7.2"
42
42
  }
43
- }
43
+ }
@@ -166,11 +166,11 @@
166
166
  <tr mat-header-row *matHeaderRowDef="llavesColumnas"></tr>
167
167
  <tr mat-row *matRowDef="let row; columns: llavesColumnas;" class="example-element-row"
168
168
  [class.example-expanded-row]="elementoExpandible === row"
169
- [style.background-color]="row.ColorDeFondo ? row.Color : null">
169
+ [style.background-color]="row.ColorDeFondo ? row.ColorDeFondo : null">
170
170
  </tr>
171
171
  @if(desplegable){
172
172
  <tr mat-row *matRowDef="let row; columns: ['expandedDetail']" class="example-detail-row"
173
- [class.detalle-oculto]="row !== elementoExpandible" [style.background-color]="row.ColorDeFondo ? row.Color : null">
173
+ [class.detalle-oculto]="row !== elementoExpandible" [style.background-color]="row.ColorDeFondo ? row.ColorDeFondo : null">
174
174
  </tr>
175
175
  }
176
176
  </table>
@@ -58,7 +58,7 @@
58
58
 
59
59
  <div class="pie">
60
60
  <div class="pie-col izquierda">
61
- Módulo: {{ Modulo }}. Versión {{ Version }}.
61
+ Módulo: {{ Modulo }}. Versión: {{ Version }}.
62
62
  </div>
63
63
  <div class="pie-col centro">
64
64
  </div>