visorus-erp-core 17.4.0 → 17.6.0

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.
@@ -1,32 +1,39 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { Almacen } from '../almacen/models/Almacen';
3
- import { PaginateService } from '../../services/paginate.service';
4
- import { AlmacenService } from '../almacen/services/almacen.service';
5
- import { StockService } from './stock.service';
6
3
  import * as i0 from "@angular/core";
7
4
  export declare class SeleccionaArticuloComponent implements OnInit {
8
- private _stockService;
9
- private _paginateService;
10
- private _almacenService;
11
5
  configuracion: any;
12
6
  showArticulos: boolean;
13
7
  movimiento: any;
14
8
  manejaUnidadSecundaria: boolean;
15
9
  emitFilaSeleccionada: EventEmitter<any>;
16
10
  emitShowArticulos: EventEmitter<any>;
11
+ campoBusqueda: ElementRef<HTMLInputElement>;
12
+ private _stockService;
13
+ private _paginateService;
14
+ private _almacenService;
17
15
  almacenList: Almacen[];
18
16
  articulosList: any;
19
17
  page: any;
20
18
  ordenar: any[];
21
19
  busquedaArticulos: any;
20
+ almacenSeleccionado: any;
21
+ cargando: boolean;
22
22
  showModal: boolean;
23
23
  articuloSelected: any;
24
24
  showModalInformacion: boolean;
25
25
  showFirstTime: boolean;
26
26
  clasificadorList: any;
27
- size: number;
28
- constructor(_stockService: StockService, _paginateService: PaginateService, _almacenService: AlmacenService);
27
+ maximizado: boolean;
29
28
  ngOnInit(): void;
29
+ /** Id del almacén del movimiento; acepta tanto id numérico como objeto Almacen. */
30
+ get almacenId(): any;
31
+ /** Número de columnas visibles de la tabla, para el colspan del estado vacío. */
32
+ get totalColumnas(): number;
33
+ /** La columna "Existencia por Unidad" solo se muestra si algún artículo trae datos. */
34
+ get mostrarExistenciaPorUnidad(): boolean;
35
+ /** Altura del cuerpo del diálogo: ocupa el viewport y crece al maximizar. */
36
+ get estiloContenido(): any;
30
37
  pagina(e: any): void;
31
38
  obtenerExistenciaArticulosShow(): void;
32
39
  obtenerExistenciaArticulos(): void;
@@ -34,7 +41,6 @@ export declare class SeleccionaArticuloComponent implements OnInit {
34
41
  obtenerExistenciaArticulosKey($event: any): void;
35
42
  filaSeleccionada($event: any): void;
36
43
  emitirShowArticulos(): void;
37
- seriesArticulo(series: any): void;
38
44
  onShowInformacion(eventArticulo: any): void;
39
45
  onEventInformacion(event: any): void;
40
46
  static ɵfac: i0.ɵɵFactoryDeclaration<SeleccionaArticuloComponent, never>;
@@ -1,4 +1,4 @@
1
- import { InputTextModule } from 'primeng/inputtext';
1
+ import { CardModule } from 'primeng/card';
2
2
  import { ConfirmationService } from 'primeng/api';
3
- export declare const primeNg: (typeof InputTextModule)[];
3
+ export declare const primeNg: (typeof CardModule)[];
4
4
  export declare const primeNgServices: (typeof ConfirmationService)[];
@@ -3,12 +3,14 @@ import { Observable } from 'rxjs';
3
3
  import { ToastrService } from 'ngx-toastr';
4
4
  import { LoginModalService } from '../components/login-modal/login-modal.service';
5
5
  import { LoadingScreenService } from '../components/loading-screen/loading-screen.service';
6
+ import { AuthService } from '../../public_api';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class httpInterceptor implements HttpInterceptor {
8
9
  private loginModalService;
10
+ private authService;
9
11
  private toastrService;
10
12
  private loadingScreenService;
11
- constructor(loginModalService: LoginModalService, toastrService: ToastrService, loadingScreenService: LoadingScreenService);
13
+ constructor(loginModalService: LoginModalService, authService: AuthService, toastrService: ToastrService, loadingScreenService: LoadingScreenService);
12
14
  intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
13
15
  private handleError;
14
16
  readError(respuesta: any): void;
@@ -4,7 +4,7 @@ import { PdfModalComponent } from './components/pdfModal/pdf-modal.component';
4
4
  import { LoginModalComponent } from './components/login-modal/login-modal.component';
5
5
  import { SessionCreateComponent } from './components/caja/session-create/session-create.component';
6
6
  import { SeleccionaArticuloComponent } from './components/selecciona-articulo/selecciona-articulo.component';
7
- export declare const components: (typeof LoadingComponent | typeof LoadingScreenComponent | typeof PdfModalComponent | typeof LoginModalComponent | typeof SessionCreateComponent | typeof SeleccionaArticuloComponent)[];
8
- export declare const exportComponents: (typeof LoadingComponent | typeof LoadingScreenComponent | typeof PdfModalComponent | typeof LoginModalComponent | typeof SessionCreateComponent | typeof SeleccionaArticuloComponent)[];
7
+ export declare const components: (typeof LoadingComponent | typeof LoadingScreenComponent | typeof LoginModalComponent | typeof PdfModalComponent | typeof SessionCreateComponent | typeof SeleccionaArticuloComponent)[];
8
+ export declare const exportComponents: (typeof LoadingComponent | typeof LoadingScreenComponent | typeof LoginModalComponent | typeof PdfModalComponent | typeof SessionCreateComponent | typeof SeleccionaArticuloComponent)[];
9
9
  export declare const exportServices: any[];
10
10
  export declare const exportModels: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visorus-erp-core",
3
- "version": "17.4.0",
3
+ "version": "17.6.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0",