utn-cli 2.0.66 → 2.0.67
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 +1 -1
- package/templates/backend/package.json +2 -2
- package/templates/frontend/package.json +25 -22
- package/templates/frontend/src/app/Componentes/Nucleo/subir-archivo/subir-archivo.component.ts +4 -1
- package/templates/frontend/src/app/Componentes/Nucleo/tabla/tabla.component.css +2 -2
package/package.json
CHANGED
|
@@ -11,33 +11,36 @@
|
|
|
11
11
|
"private": true,
|
|
12
12
|
"packageManager": "npm@10.8.2",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@angular/animations": "^
|
|
15
|
-
"@angular/cdk": "^
|
|
16
|
-
"@angular/common": "^
|
|
17
|
-
"@angular/compiler": "^
|
|
18
|
-
"@angular/core": "^
|
|
19
|
-
"@angular/forms": "^
|
|
20
|
-
"@angular/material": "^
|
|
21
|
-
"@angular/platform-browser": "^
|
|
22
|
-
"@angular/platform-browser-dynamic": "^
|
|
23
|
-
"@angular/router": "^
|
|
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.
|
|
28
|
+
"zone.js": "^0.16.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@angular-devkit/build-angular": "^
|
|
32
|
-
"@angular/
|
|
33
|
-
"@angular/
|
|
34
|
-
"@
|
|
35
|
-
"jasmine
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"karma
|
|
39
|
-
"karma-
|
|
40
|
-
"karma-
|
|
41
|
-
"
|
|
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
|
}
|
package/templates/frontend/src/app/Componentes/Nucleo/subir-archivo/subir-archivo.component.ts
CHANGED
|
@@ -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;
|