general-library-union 2.4.76 → 2.4.78

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.
Files changed (26) hide show
  1. package/esm2022/public-api.mjs +3 -1
  2. package/esm2022/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.mjs +138 -18
  3. package/esm2022/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.mjs +12 -4
  4. package/esm2022/src/app/webcommon/pipes/dashboard.pipe.mjs +86 -0
  5. package/esm2022/src/app/webcommon/pipes/reporte-fuente.pipe.mjs +6 -1
  6. package/esm2022/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.mjs +71 -19
  7. package/esm2022/src/app/webcommon/services/dashboard.service.mjs +253 -0
  8. package/esm2022/src/app/webcommon/services/ejecucionreporte.service.mjs +27 -27
  9. package/esm2022/src/app/webcommon/services/fechaUtils.service.mjs +18 -18
  10. package/fesm2022/general-library-union.mjs +595 -91
  11. package/fesm2022/general-library-union.mjs.map +1 -1
  12. package/package.json +1 -1
  13. package/public-api.d.ts +2 -0
  14. package/src/app/webcommon/pages/ejecucion-reporte/detalle-tipo-reporte/detalle-tipo-reporte.component.d.ts +25 -1
  15. package/src/app/webcommon/pages/fuente/importar-fuente-con/importar-fuente-con.component.d.ts +1 -1
  16. package/src/app/webcommon/pages/fuente-reporte/fuente-reporte.component.d.ts +2 -1
  17. package/src/app/webcommon/pipes/dashboard.pipe.d.ts +48 -0
  18. package/src/app/webcommon/pipes/reporte-fuente.pipe.d.ts +4 -0
  19. package/src/app/webcommon/popups/popup-tablas-fuente/popup-tablas-fuente.component.d.ts +12 -2
  20. package/src/app/webcommon/services/dashboard.service.d.ts +27 -0
  21. package/src/app/webcommon/services/ejecucionreporte.service.d.ts +4 -4
  22. package/src/app/webcommon/services/fechaUtils.service.d.ts +3 -2
  23. package/src/assets/layout/styles/theme/designer/components/menu/_steps.scss +3 -3
  24. package/src/assets/layout/styles/theme/extensions/_steps.scss +2 -2
  25. package/src/styles/primeng/sass/theme/extensions/_steps.scss +4 -2
  26. package/src/assets/images/image (4).png +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "general-library-union",
3
- "version": "2.4.76",
3
+ "version": "2.4.78",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "^18.0.4",
package/public-api.d.ts CHANGED
@@ -141,6 +141,8 @@ export * from './src/app/webcommon/pages/ejecucion-reporte/listado-ejecucion-rep
141
141
  export * from './src/app/webcommon/pages/ejecucion-reporte-externo/listado-ejecucion-reporte-externo/listado-ejecucion-reporte-externo.component';
142
142
  export * from './src/app/webcommon/popups/popup-reporte/popup-reporte.component';
143
143
  export * from './src/app/webcommon/popups/popup-sentencia/popup-sentencia.component';
144
+ export * from './src/app/webcommon/services/dashboard.service';
145
+ export * from './src/app/webcommon/pipes/dashboard.pipe';
144
146
  export * from './src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormulario';
145
147
  export * from './src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioCons';
146
148
  export * from './src/app/core/componentes/formulariodinamico/objetosformulario/CampoFormularioNuevo';
@@ -22,6 +22,8 @@ import { ReporteSoporteModel } from '../../../../seguridad/modelos/ReporteSoport
22
22
  import { ToastService } from '../../../../core/servicios/toast.service';
23
23
  import { UtilsService } from '../../../../core/servicios/utils.service';
24
24
  import { AuthService } from '../../../../core/servicios/auth.service';
25
+ import { DashboardService } from '../../../services/dashboard.service';
26
+ import { DashboardPipe } from '../../../pipes/dashboard.pipe';
25
27
  import * as i0 from "@angular/core";
26
28
  export declare class DetalleTipoReporteComponent implements OnInit, OnDestroy {
27
29
  private formBuilder;
@@ -38,6 +40,8 @@ export declare class DetalleTipoReporteComponent implements OnInit, OnDestroy {
38
40
  private fuentePipe;
39
41
  private reporteColumnarioPipe;
40
42
  private reporteService;
43
+ private dashboardService;
44
+ private dashboardPipe;
41
45
  listaTipoCifrado: any[];
42
46
  listaExcel: ReporteColumnaModel[];
43
47
  listaNoExcel: ReporteColumnaModel[];
@@ -52,6 +56,7 @@ export declare class DetalleTipoReporteComponent implements OnInit, OnDestroy {
52
56
  listaTipoMarcador: any;
53
57
  listaTipoGrafico_JFC: any;
54
58
  listaGrafico: any;
59
+ listaGraficoSencillo: any;
55
60
  listaAlineacion: any;
56
61
  listaOperaciones: any;
57
62
  reporteMarcador: ReporteMarcadorModel;
@@ -127,6 +132,14 @@ export declare class DetalleTipoReporteComponent implements OnInit, OnDestroy {
127
132
  clickGuardarMarcadorColumnario: boolean;
128
133
  marcadoresColumnario: ReporteColumnarioMarcadorModel[];
129
134
  marcadorColumnario: ReporteColumnarioMarcadorModel;
135
+ listaTipoGrafico: any;
136
+ paginadorColumnas: ReporteColumnaModel[];
137
+ paginadorColoresGrafica: ReporteBandaModel[];
138
+ colorCategoria: ReporteBandaModel;
139
+ verColorCategoriaDetalle: boolean;
140
+ clickGuardarColorCategoria: boolean;
141
+ grafica: any;
142
+ tipoGrafica: "bar" | "line" | "scatter" | "bubble" | "pie" | "doughnut" | "polarArea" | "radar";
130
143
  reporteFuente: ReporteFuenteModel;
131
144
  llaveEmpresa: string;
132
145
  listaSiNo: any;
@@ -134,7 +147,7 @@ export declare class DetalleTipoReporteComponent implements OnInit, OnDestroy {
134
147
  aplicacion: string;
135
148
  listaFuentes: any[];
136
149
  _subsciprtions: Subscription[];
137
- constructor(formBuilder: FormBuilder, notificacionesBusService: ToastService, generalService: GeneralService, generalPipe: GeneralPipe, authService: AuthService, reporteFuentePipe: ReporteFuentePipe, confirmationService: ConfirmationService, cargarArchivo: CargarArchivosService, encriptadorArchivo: EncriptadoBasicoService, utilsService: UtilsService, translateService: TranslateService, fuentePipe: FuentePipe, reporteColumnarioPipe: ReporteColumnarioPipe, reporteService: EjecucionReporteService);
150
+ constructor(formBuilder: FormBuilder, notificacionesBusService: ToastService, generalService: GeneralService, generalPipe: GeneralPipe, authService: AuthService, reporteFuentePipe: ReporteFuentePipe, confirmationService: ConfirmationService, cargarArchivo: CargarArchivosService, encriptadorArchivo: EncriptadoBasicoService, utilsService: UtilsService, translateService: TranslateService, fuentePipe: FuentePipe, reporteColumnarioPipe: ReporteColumnarioPipe, reporteService: EjecucionReporteService, dashboardService: DashboardService, dashboardPipe: DashboardPipe);
138
151
  ngOnInit(): void;
139
152
  ngOnDestroy(): void;
140
153
  agregarSubscripciones(): void;
@@ -217,6 +230,7 @@ export declare class DetalleTipoReporteComponent implements OnInit, OnDestroy {
217
230
  cargarMarcadoresColumnario(): void;
218
231
  cargarDatosAdicionales(): void;
219
232
  cargarReporteColumnario(): void;
233
+ cargarGraficasColumnas(): void;
220
234
  validarExisteJasper(): void;
221
235
  verReporteColumnario(event: any): void;
222
236
  nuevoColumnaBasica(): void;
@@ -234,6 +248,16 @@ export declare class DetalleTipoReporteComponent implements OnInit, OnDestroy {
234
248
  validarMarcadorColumnario(): boolean;
235
249
  guardarMarcadorColumnario(): Promise<void>;
236
250
  eliminarMarcadorColumnario(event: any): void;
251
+ guardarGrafico(): void;
252
+ verGrafico(): void;
253
+ nuevoColorCategoria(): void;
254
+ cancelarColorCategoria(): void;
255
+ validarColorCategoria(color: any): boolean;
256
+ agregarColorCategoria(color: any): void;
257
+ eliminarColorCategoria(event: any, color: any): void;
258
+ cancelarEdicionColor(): Promise<void>;
259
+ isFijo(): boolean;
260
+ isSql(): boolean;
237
261
  /**
238
262
  * Permite conocer si se debe presentar en la interfaz los campos referentes a orden consulta
239
263
  * @return Si se debe mostrar se retornara true, de lo contrario false
@@ -114,7 +114,7 @@ export declare class ImportarFuenteConComponent implements OnInit {
114
114
  cargarFormularioCamposEntrada(): Promise<void>;
115
115
  camposEntrada(fuente: FuenteGeneralModel, parametrosPunto: FuenteCampoAtributoModel[]): Promise<CampoFormularioModel[]>;
116
116
  obtenerValorMarcador(valorEntrada: string): string;
117
- determinarLongitud(tipoDato: string): 0 | 5 | 20 | 100;
117
+ determinarLongitud(tipoDato: string): 0 | 100 | 5 | 20;
118
118
  cargarParametrosPuntoProceso(): Promise<void>;
119
119
  cargarArchivo(data: FileSelectEvent, fubauto: any): void;
120
120
  private readFile;
@@ -63,6 +63,7 @@ export declare class FuenteReporteComponent implements OnInit {
63
63
  verNuevoJoin: boolean;
64
64
  activeIndex: number;
65
65
  cargarPaso: boolean;
66
+ loadingGenerar: boolean;
66
67
  constructor(menuService: MenuService, notificationBusService: ToastService, reportesSvc: ReportesService, generalSvc: GeneralService, utilsService: UtilsService, confirmationService: ConfirmationService, translateService: TranslateService, messageService: MessageService, generalPipe: GeneralPipe);
67
68
  ngOnInit(): void;
68
69
  load(event: any): Promise<void>;
@@ -82,7 +83,7 @@ export declare class FuenteReporteComponent implements OnInit {
82
83
  eliminarJoin(ae: any): void;
83
84
  eliminarTabla(ae: any): void;
84
85
  buscarTabla(): void;
85
- setTablaSeleccionada(tablaSeleccionada: string): void;
86
+ setTablaSeleccionada(tablaSeleccionada: any[]): void;
86
87
  private cargarTablaEnLista;
87
88
  cambioJoin(ce: any): void;
88
89
  editarCampo(evento: any): void;
@@ -0,0 +1,48 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DashboardPipe implements PipeTransform {
4
+ GRAFICO: string;
5
+ COMPONENTE: string;
6
+ TABLA: string;
7
+ IFRAME: string;
8
+ DESCGRAFICO: string;
9
+ DESCCOMPONENTE: string;
10
+ DESCTABLA: string;
11
+ DESCIFRAME: string;
12
+ MAPATIPO: {
13
+ nombre: string;
14
+ codigo: string;
15
+ }[];
16
+ DIAGRAMA_BARRAS: string;
17
+ DIAGRAMA_BARRAS_HOR: string;
18
+ DIAGRAMA_TORTA: string;
19
+ DIAGRAMA_AREA: string;
20
+ DIAGRAMA_RADAR: string;
21
+ DIAGRAMA_POLAR: string;
22
+ DIAGRAMA_DONA: string;
23
+ DIAGRAMA_BARRAS_STRING: string;
24
+ DIAGRAMA_BARRAS_HOR_STRING: string;
25
+ DIAGRAMA_TORTA_STRING: string;
26
+ DIAGRAMA_AREA_STRING: string;
27
+ DIAGRAMA_RADAR_STRING: string;
28
+ DIAGRAMA_POLAR_STRING: string;
29
+ DIAGRAMA_DONA_STRING: string;
30
+ TIPO_GRAFICO: {
31
+ codigo: string;
32
+ nombre: string;
33
+ }[];
34
+ BAR: string;
35
+ PIE: string;
36
+ LINE: string;
37
+ POLARAREA: string;
38
+ DOUGHNUT: string;
39
+ RADAR: string;
40
+ TIPO_GRAFICO_CHART: {
41
+ codigo: string;
42
+ codigoChart: string;
43
+ }[];
44
+ transform(value: any, ...args: any): any;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardPipe, never>;
46
+ static ɵpipe: i0.ɵɵPipeDeclaration<DashboardPipe, "dashboardPipe", true>;
47
+ static ɵprov: i0.ɵɵInjectableDeclaration<DashboardPipe>;
48
+ }
@@ -113,6 +113,10 @@ export declare class ReporteFuentePipe implements PipeTransform {
113
113
  codigo: string;
114
114
  nombre: string;
115
115
  }[];
116
+ RECURSO_GRAFICA: {
117
+ codigo: string;
118
+ nombre: string;
119
+ }[];
116
120
  GENERACION_JASPERDINAMICO: string;
117
121
  DESC_GENERACION_JASPERDINAMICO: string;
118
122
  GENERACION_JASPERFIJO: string;
@@ -3,11 +3,16 @@ import { ObjetoReporteModel } from '../../../seguridad/modelos/ObjetoReporteMode
3
3
  import { ReportesService } from '../../services/reportes.service';
4
4
  import { UtilsService } from '../../../core/servicios/utils.service';
5
5
  import { TranslateService } from '@ngx-translate/core';
6
+ import { ConfirmationService } from 'primeng/api';
7
+ import { Table } from 'primeng/table';
8
+ import { ToastService } from './../../../core/servicios/toast.service';
6
9
  import * as i0 from "@angular/core";
7
10
  export declare class PopupTablasFuenteComponent {
11
+ private confirmationService;
8
12
  private reportesSvc;
9
13
  private utilsService;
10
14
  private translateService;
15
+ private notificationBusService;
11
16
  paginadorTablas: ObjetoReporteModel[];
12
17
  filtroTabla: string;
13
18
  visible: boolean;
@@ -17,16 +22,21 @@ export declare class PopupTablasFuenteComponent {
17
22
  rows: number;
18
23
  totalRecords: number;
19
24
  };
25
+ seleccionGeneral: boolean;
20
26
  loading: boolean;
21
27
  columns: any[];
28
+ tablaGeneral: Table;
22
29
  aplicarDestinoOcultar: EventEmitter<any>;
23
- constructor(reportesSvc: ReportesService, utilsService: UtilsService, translateService: TranslateService);
30
+ constructor(confirmationService: ConfirmationService, reportesSvc: ReportesService, utilsService: UtilsService, translateService: TranslateService, notificationBusService: ToastService);
31
+ cargaLazy(event: any): void;
24
32
  load(event: any): Promise<void>;
25
33
  colocarFiltro(): void;
26
34
  buscarTabla(destino: string): void;
27
- seleccionarTabla(evento: any): void;
35
+ seleccionarTabla(): void;
28
36
  mostrarPopup(): void;
29
37
  ocultarPopup(): void;
38
+ todosSeleccionados(): boolean;
39
+ actualizarSeleccion(booleanogeneral: boolean): void;
30
40
  static ɵfac: i0.ɵɵFactoryDeclaration<PopupTablasFuenteComponent, never>;
31
41
  static ɵcmp: i0.ɵɵComponentDeclaration<PopupTablasFuenteComponent, "app-popup-tablas-fuente", never, {}, { "aplicarDestinoOcultar": "aplicarDestinoOcultar"; }, never, never, true, never>;
32
42
  }
@@ -0,0 +1,27 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
4
+ import { UtilsService } from '../../core/servicios/utils.service';
5
+ import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
6
+ import { DashboardPipe } from '../pipes/dashboard.pipe';
7
+ import * as i0 from "@angular/core";
8
+ export declare class DashboardService {
9
+ private httpClient;
10
+ private errorInterceptor;
11
+ private utilsService;
12
+ private dashboardPipe;
13
+ listProcedure(objetoFiltro: GeneralModel): void;
14
+ constructor(httpClient: HttpClient, errorInterceptor: ErrorIntecertorService, utilsService: UtilsService, dashboardPipe: DashboardPipe);
15
+ private handleError;
16
+ consultarDashboard(): Observable<any>;
17
+ cargarGrafica(columna: any): any;
18
+ cargarDiagramaBarras(columna: any): any;
19
+ cargarDiagramaBarrasHorizontal(columna: any): any;
20
+ cargarDiagramaBarrasTorta(columna: any): any;
21
+ cargarDiagramaArea(columna: any): any;
22
+ cargarDiagramaPolar(columna: any): any;
23
+ cargarDiagramaDona(columna: any): any;
24
+ cargarDiagramaRadar(columna: any): any;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardService, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<DashboardService>;
27
+ }
@@ -2,16 +2,15 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
4
4
  import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
5
- import { CookieService } from 'ngx-cookie-service';
5
+ import { UtilsService } from '../../core/servicios/utils.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class EjecucionReporteService {
8
8
  private httpClient;
9
9
  private errorInterceptor;
10
- private cookieService;
10
+ private utilsService;
11
11
  listProcedure(objetoFiltro: GeneralModel): void;
12
- constructor(httpClient: HttpClient, errorInterceptor: ErrorIntecertorService, cookieService: CookieService);
12
+ constructor(httpClient: HttpClient, errorInterceptor: ErrorIntecertorService, utilsService: UtilsService);
13
13
  private handleError;
14
- getUrl(): string | null;
15
14
  getDatosEjecucionReporte(reporte: any): Observable<any>;
16
15
  guardarReporte(reporte: any): Observable<any>;
17
16
  eliminarReporte(reporte: any): Observable<any>;
@@ -29,6 +28,7 @@ export declare class EjecucionReporteService {
29
28
  actualizarReporteColumnaOrden(reporte: any): Observable<any>;
30
29
  descargarArchivo(parametroGeneral: any): Observable<any>;
31
30
  descargarArchivoMasivo(parametroGeneral: any): Observable<Blob>;
31
+ verGrafico(reporte: any): Observable<any>;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<EjecucionReporteService, never>;
33
33
  static ɵprov: i0.ɵɵInjectableDeclaration<EjecucionReporteService>;
34
34
  }
@@ -3,14 +3,15 @@ import { Observable } from 'rxjs';
3
3
  import { GeneralModel } from '../../seguridad/modelos/GeneralModel';
4
4
  import { ErrorIntecertorService } from '../../core/servicios/error-interceptor.service';
5
5
  import { CookieService } from 'ngx-cookie-service';
6
+ import { UtilsService } from '../../core/servicios/utils.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class FechaUtilsService {
8
9
  private httpClient;
9
10
  private errorInterceptor;
10
11
  private cookieService;
12
+ private utilService;
11
13
  listProcedure(objetoFiltro: GeneralModel): void;
12
- constructor(httpClient: HttpClient, errorInterceptor: ErrorIntecertorService, cookieService: CookieService);
13
- getUrl(): string | null;
14
+ constructor(httpClient: HttpClient, errorInterceptor: ErrorIntecertorService, cookieService: CookieService, utilService: UtilsService);
14
15
  private handleError;
15
16
  horaMinuto(general: any): Observable<any>;
16
17
  horaminutoFecha(general: any): Observable<any>;
@@ -9,9 +9,9 @@
9
9
  background: $stepsItemBg;
10
10
 
11
11
  .p-steps-number {
12
- color: $stepsItemNumberColor;
12
+ background-color: var(--color-100);
13
+ color: var(--color-300);
13
14
  border: $stepsItemBorder;
14
- background: $stepsItemBg;
15
15
  min-width: $stepsItemNumberWidth;
16
16
  height: $stepsItemNumberHeight;
17
17
  line-height: $stepsItemNumberHeight;
@@ -19,7 +19,7 @@
19
19
  z-index: 1;
20
20
  border-radius: $stepsItemNumberBorderRadius;
21
21
  }
22
-
22
+
23
23
  .p-steps-title {
24
24
  margin-top: $inlineSpacing;
25
25
  color: $stepsItemTextColor;
@@ -28,8 +28,8 @@
28
28
  padding: 1rem $inlineSpacing;
29
29
 
30
30
  .p-steps-number {
31
- background-color: #9e9d9e;
32
- color: #ffffff;
31
+ background-color: var(--color-100);
32
+ color: var(--color-300);
33
33
  font-size: 0.857rem;
34
34
  min-width: 1.714rem;
35
35
  height: 1.714rem;
@@ -28,8 +28,8 @@
28
28
  padding: 1rem $inlineSpacing;
29
29
 
30
30
  .p-steps-number {
31
- background-color: #9e9d9e;
32
- color: #ffffff;
31
+ background-color: var(--color-100);
32
+ color: var(--color-400);
33
33
  font-size: 0.857rem;
34
34
  min-width: 1.714rem;
35
35
  height: 1.714rem;
@@ -39,6 +39,8 @@
39
39
  .p-steps-title {
40
40
  margin: 0;
41
41
  padding-left: $inlineSpacing;
42
+ color: #858585;
43
+
42
44
  }
43
45
 
44
46
  &:not(.p-disabled):focus {
Binary file