general-library-union 2.7.3 → 2.7.5

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": "general-library-union",
3
- "version": "2.7.3",
3
+ "version": "2.7.5",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "^18.0.4",
package/public-api.d.ts CHANGED
@@ -157,3 +157,5 @@ export * from './src/app/webcommon/pipes/reporte-fuente.pipe';
157
157
  export * from './src/app/webcommon/pages/fuente-reporte/fuente-reporte.component';
158
158
  export * from './src/app/webcommon/popups/popup-sentencia/popup-sentencia.component';
159
159
  export * from './src/app/webcommon/pages/cargue-plantilla/cargue-plantilla-general/cargue-plantilla-general.component';
160
+ export * from './src/app/core/servicios/spinner-service';
161
+ export * from './src/app/core/servicios/interceptores/loading-interceptor';
@@ -3,7 +3,7 @@ export declare class DataExporter {
3
3
  constructor();
4
4
  exportPdf(lista: any[], exportColumns: any[], nombreArchivo: string): void;
5
5
  exportExcel(lista: any[], nombreArchivo: string): Promise<void>;
6
- exportExcelColumnas(lista: any[], nombreArchivo: string, columnas: string[]): Promise<void>;
6
+ exportExcelColumnas(lista: any[], nombreArchivo: string, columnas: string[], nombreHoja?: string): Promise<void>;
7
7
  saveAsExcelFile(buffer: any, fileName: string): void;
8
8
  exportCSV(lista: any[], columnas: string[], nombreArchivo: string): void;
9
9
  convertirAFormatoCSV(data: any[], columns: string[]): string;
@@ -0,0 +1,11 @@
1
+ import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { SpinnerService } from '../spinner-service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class LoadingInterceptor implements HttpInterceptor {
6
+ private spinnerService;
7
+ constructor(spinnerService: SpinnerService);
8
+ intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingInterceptor, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadingInterceptor>;
11
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SpinnerService {
3
+ private spinnerSubject;
4
+ spinner$: import("rxjs").Observable<boolean>;
5
+ show(): void;
6
+ hide(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<SpinnerService>;
9
+ }
@@ -871,10 +871,6 @@ body {
871
871
  padding: 5px;
872
872
  }
873
873
 
874
- // .p-toast.p-toast-top-right, .p-toast.p-toast-top-left, .p-toast.p-toast-top-center {
875
- // z-index: 1105 !important;
876
- // }
877
-
878
874
  .my-toast.toast-text-small .p-toast-detail {
879
875
  font-size: 0.7rem !important;
880
876
  line-height: 18px !important;