utn-cli 2.0.66 → 2.0.68

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.66",
3
+ "version": "2.0.68",
4
4
  "description": "Herramienta CLI unificada para la gestión de plantillas en SIGU.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  "express": "^4.22.1",
24
24
  "helmet": "^7.2.0",
25
25
  "jsonwebtoken": "^9.0.3",
26
- "mysql2": "^3.18.2",
27
- "nodemailer": "^8.0.1",
26
+ "mysql2": "^3.20.0",
27
+ "nodemailer": "^8.0.5",
28
28
  "pdf-lib": "^1.17.1",
29
29
  "pdfkit": "^0.15.2"
30
30
  }
@@ -11,33 +11,36 @@
11
11
  "private": true,
12
12
  "packageManager": "npm@10.8.2",
13
13
  "dependencies": {
14
- "@angular/animations": "^19.2.0",
15
- "@angular/cdk": "^19.2.0",
16
- "@angular/common": "^19.2.0",
17
- "@angular/compiler": "^19.2.0",
18
- "@angular/core": "^19.2.0",
19
- "@angular/forms": "^19.2.19",
20
- "@angular/material": "^19.2.19",
21
- "@angular/platform-browser": "^19.2.0",
22
- "@angular/platform-browser-dynamic": "^19.2.19",
23
- "@angular/router": "^19.2.19",
14
+ "@angular/animations": "^21.0.4",
15
+ "@angular/cdk": "^21.0.3",
16
+ "@angular/common": "^21.0.0",
17
+ "@angular/compiler": "^21.0.0",
18
+ "@angular/core": "^21.0.0",
19
+ "@angular/forms": "^21.2.8",
20
+ "@angular/material": "^21.2.5",
21
+ "@angular/platform-browser": "^21.0.0",
22
+ "@angular/platform-browser-dynamic": "^21.2.8",
23
+ "@angular/router": "^21.2.8",
24
24
  "chart.js": "^4.5.1",
25
25
  "ng2-charts": "^8.0.0",
26
26
  "rxjs": "~7.8.0",
27
27
  "tslib": "^2.3.0",
28
- "zone.js": "^0.15.1"
28
+ "zone.js": "^0.16.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@angular-devkit/build-angular": "^19.2.22",
32
- "@angular/cli": "^19.2.22",
33
- "@angular/compiler-cli": "^19.2.19",
34
- "@types/jasmine": "~5.1.0",
35
- "jasmine-core": "~5.6.0",
36
- "karma": "~6.4.0",
37
- "karma-chrome-launcher": "~3.2.0",
38
- "karma-coverage": "~2.2.0",
39
- "karma-jasmine": "~5.1.0",
40
- "karma-jasmine-html-reporter": "~2.1.0",
41
- "typescript": "~5.7.2"
31
+ "@angular-devkit/build-angular": "^21.2.7",
32
+ "@angular/build": "^21.0.3",
33
+ "@angular/cli": "^21.2.7",
34
+ "@angular/compiler-cli": "^21.2.8",
35
+ "@types/jasmine": "^5.1.15",
36
+ "jasmine-core": "^5.13.0",
37
+ "jsdom": "^27.4.0",
38
+ "karma": "^6.4.4",
39
+ "karma-chrome-launcher": "^3.2.0",
40
+ "karma-coverage": "^2.2.1",
41
+ "karma-jasmine": "^5.1.0",
42
+ "karma-jasmine-html-reporter": "^2.2.0",
43
+ "typescript": "~5.9.2",
44
+ "vitest": "^4.1.3"
42
45
  }
43
46
  }
@@ -27,6 +27,7 @@ export class SubirArchivoComponent implements OnInit {
27
27
  EsEditable = this.data.EsEditable;
28
28
  FormatosPermitidos: string[] = [];
29
29
  Token: any;
30
+ MetaDatosDelArchivoCargado: any;
30
31
  public RutaParaListar: string = 'misc/listarArchivos/';
31
32
  public RutaParaDescargar: string = 'misc/descargarArchivo/';
32
33
  public RutaParaCargar: string = 'misc/cargarArchivo/';
@@ -187,6 +188,7 @@ export class SubirArchivoComponent implements OnInit {
187
188
  .subscribe({
188
189
  next: (data: any) => {
189
190
  this.Archivo = undefined;
191
+ this.MetaDatosDelArchivoCargado = data.body;
190
192
  this.ListarArchivos(Etiqueta)
191
193
  },
192
194
  error: (error) => {
@@ -227,6 +229,7 @@ export class SubirArchivoComponent implements OnInit {
227
229
  this.http.delete(this.datosGlobalesService.ObtenerURL() + 'misc/borrarArchivo/' + ArchivoId)
228
230
  .subscribe({
229
231
  next: (data: any) => {
232
+ this.MetaDatosDelArchivoCargado = null;
230
233
  this.ListarArchivos(this.Etiqueta);
231
234
  },
232
235
  error: (error) => {
@@ -236,6 +239,6 @@ export class SubirArchivoComponent implements OnInit {
236
239
  }
237
240
 
238
241
  Cancelar() {
239
- this.dialogRef.close();
242
+ this.dialogRef.close(this.MetaDatosDelArchivoCargado);
240
243
  }
241
244
  }
@@ -37,7 +37,7 @@
37
37
  background-color: #0069B4 !important;
38
38
  }
39
39
 
40
- .Activa, .Activo, .Finalizado, .Aprobada, .Aprobado, .Ejecutando, .Autorizado, .Aperturado, .Ejecutada, .Confirmada {
40
+ .Activa, .Activo, .Finalizado, .Aprobada, .Aprobado, .Ejecutando, .Autorizado, .Aperturado, .Ejecutada, .Confirmada, .Enviado {
41
41
  background-color: #518a5f;
42
42
  color: white;
43
43
  padding: 8px 16px;
@@ -127,7 +127,7 @@
127
127
  cursor: pointer;
128
128
  }
129
129
 
130
- .Rechazado, .Rechazada, .Excedido, .Cancelada, .Cancelado, .Fallida {
130
+ .Rechazado, .Rechazada, .Excedido, .Cancelada, .Cancelado, .Fallida, .Incompleto, .Incompleta {
131
131
  background-color: #F82617;
132
132
  color: white;
133
133
  padding: 8px 16px;
@@ -29,7 +29,7 @@
29
29
  <p>{{ (cantidadAMostrar !== 0 ? cantidadAMostrar : '') }}</p>
30
30
  </div>
31
31
  <hr [id]="'porcentaje'+titulo" class="linea" [matTooltip]="'Cantidad: ' + cantidad" matTooltipPosition="above"/>
32
- <div class="pie">
32
+ <!-- <div class="pie">
33
33
  <p>CONTINUAR</p>
34
- </div>
34
+ </div> -->
35
35
  </div>