visorus-erp-core 10.1.2 → 12.0.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.
- package/bundles/visorus-erp-core.umd.js +4966 -5331
- package/bundles/visorus-erp-core.umd.js.map +1 -1
- package/esm2015/lib/app.module.js +6 -5
- package/esm2015/lib/components/acreedor/select/select-acreedor.component.js +3 -3
- package/esm2015/lib/components/acreedor/services/acreedor.service.js +12 -26
- package/esm2015/lib/components/acreedor/services/acreedorCuentaContable.js +14 -12
- package/esm2015/lib/components/agente/models/Agente.js +1 -1
- package/esm2015/lib/components/agente/services/agente.service.js +18 -26
- package/esm2015/lib/components/almacen/models/Almacen.js +1 -1
- package/esm2015/lib/components/almacen/services/almacen.service.js +14 -27
- package/esm2015/lib/components/banco/models/Banco.js +1 -1
- package/esm2015/lib/components/banco/services/banco.service.js +11 -26
- package/esm2015/lib/components/caja/session-create/session-create.component.js +3 -3
- package/esm2015/lib/components/caja/sessionCaja.service.js +12 -26
- package/esm2015/lib/components/catalogoTipo/models/CatalogoTipo.js +1 -1
- package/esm2015/lib/components/catalogoTipo/services/catalogoTipo.service.js +11 -26
- package/esm2015/lib/components/clasificadorTipo/models/ClasificadorTipo.js +1 -1
- package/esm2015/lib/components/clasificadorTipo/services/clasificadorTipo.service.js +11 -26
- package/esm2015/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.js +11 -26
- package/esm2015/lib/components/claveMovimiento/models/ClaveMovimiento.js +1 -1
- package/esm2015/lib/components/claveMovimiento/services/claveMovimiento.service.js +11 -26
- package/esm2015/lib/components/cliente/models/Cliente.js +1 -1
- package/esm2015/lib/components/cliente/models/ClienteCuentaBanco.js +1 -1
- package/esm2015/lib/components/cliente/models/ClienteFlete.js +1 -1
- package/esm2015/lib/components/cliente/select/select-cliente.component.js +3 -3
- package/esm2015/lib/components/cliente/services/cliente.service.js +12 -27
- package/esm2015/lib/components/cliente/services/clienteCuentaBanco.service.js +13 -27
- package/esm2015/lib/components/cliente/services/clienteFlete.service.js +13 -27
- package/esm2015/lib/components/contacto/models/DatoContacto.js +1 -1
- package/esm2015/lib/components/contacto/services/datoContacto.service.js +11 -26
- package/esm2015/lib/components/dato-direccion/models/DatoDireccion.js +1 -1
- package/esm2015/lib/components/dato-direccion/services/datoDireccion.service.js +11 -26
- package/esm2015/lib/components/departamento/models/Departamento.js +1 -1
- package/esm2015/lib/components/departamento/services/departamento.service.js +11 -26
- package/esm2015/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.js +1 -1
- package/esm2015/lib/components/empresa/models/Empresa.js +1 -1
- package/esm2015/lib/components/empresa/services/empresa.service.js +14 -27
- package/esm2015/lib/components/error404/error404.component.js +3 -3
- package/esm2015/lib/components/flete/models/Flete.js +1 -1
- package/esm2015/lib/components/flete/services/flete.service.js +12 -26
- package/esm2015/lib/components/formaPago/models/FormaPago.js +1 -1
- package/esm2015/lib/components/formaPago/services/FormaPago.service.js +11 -26
- package/esm2015/lib/components/loading/loading.component.js +4 -4
- package/esm2015/lib/components/loading/loading.service.js +3 -3
- package/esm2015/lib/components/loading-screen/loading-screen.component.js +4 -4
- package/esm2015/lib/components/loading-screen/loading-screen.service.js +3 -3
- package/esm2015/lib/components/login-modal/login-modal.component.js +4 -4
- package/esm2015/lib/components/login-modal/login-modal.service.js +3 -3
- package/esm2015/lib/components/moneda/models/Moneda.js +1 -1
- package/esm2015/lib/components/moneda/services/moneda.service.js +12 -26
- package/esm2015/lib/components/pdfModal/pdf-modal.component.js +3 -3
- package/esm2015/lib/components/pdfModal/pdf-modal.service.js +3 -3
- package/esm2015/lib/components/persona-fisica/models/EstadoCivil.js +1 -1
- package/esm2015/lib/components/persona-fisica/models/Genero.js +1 -1
- package/esm2015/lib/components/persona-fisica/models/Persona.js +1 -1
- package/esm2015/lib/components/persona-fisica/models/PersonaFisica.js +1 -1
- package/esm2015/lib/components/persona-fisica/services/personaFisica.service.js +14 -13
- package/esm2015/lib/components/proveedor/models/Proveedor.js +1 -1
- package/esm2015/lib/components/proveedor/models/ProveedorCuentaBanco.js +1 -1
- package/esm2015/lib/components/proveedor/models/ProveedorFlete.js +1 -1
- package/esm2015/lib/components/proveedor/select/select-proveedor.component.js +3 -3
- package/esm2015/lib/components/proveedor/services/proveedor.service.js +12 -26
- package/esm2015/lib/components/proveedor/services/proveedorCuentaBanco.service.js +13 -27
- package/esm2015/lib/components/proveedor/services/proveedorFlete.service.js +12 -23
- package/esm2015/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.js +3 -3
- package/esm2015/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.js +13 -27
- package/esm2015/lib/components/selecciona-articulo/selecciona-articulo.component.js +5 -5
- package/esm2015/lib/components/selecciona-articulo/stock.service.js +14 -16
- package/esm2015/lib/components/serieDocumento/models/SerieDocumento.js +1 -1
- package/esm2015/lib/components/serieDocumento/services/serieDocumento.service.js +14 -25
- package/esm2015/lib/components/tipo-contacto/models/TipoContacto.js +1 -1
- package/esm2015/lib/components/tipo-contacto/services/tipoContacto.service.js +11 -26
- package/esm2015/lib/components/ubicacion/models/Ubicacion.js +1 -1
- package/esm2015/lib/components/ubicacion/services/ubicacion.service.js +11 -26
- package/esm2015/lib/contabilidad/componentes/cclista/cclista.component.js +3 -3
- package/esm2015/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.js +5 -5
- package/esm2015/lib/contabilidad/modelos/cuentaContable.model.js +1 -1
- package/esm2015/lib/contabilidad/modelos/normaInfoFinanciera.model.js +1 -1
- package/esm2015/lib/contabilidad/servicios/cuentacontable.service.js +13 -27
- package/esm2015/lib/globalPrimeNg.js +1 -1
- package/esm2015/lib/httpInterceptor/httpInterceptor.js +3 -3
- package/esm2015/lib/importComponents.js +1 -1
- package/esm2015/lib/importComponetsConta.js +1 -1
- package/esm2015/lib/models/PersonaMoral.js +1 -1
- package/esm2015/lib/models/Usuario.js +1 -1
- package/esm2015/lib/models/auth.js +1 -1
- package/esm2015/lib/services/auth.service.js +3 -3
- package/esm2015/lib/services/authenticated.service.js +3 -3
- package/esm2015/lib/services/canActivateGuard.service.ts.js +3 -3
- package/esm2015/lib/services/catalogo-adicional.service.js +12 -26
- package/esm2015/lib/services/controlAcceso.service.js +3 -3
- package/esm2015/lib/services/crud.service.js +46 -0
- package/esm2015/lib/services/file.service.js +3 -3
- package/esm2015/lib/services/global.service.js +2 -13
- package/esm2015/lib/services/init.service.js +3 -3
- package/esm2015/lib/services/message.service.js +3 -3
- package/esm2015/lib/services/paginate.service.js +3 -3
- package/esm2015/lib/services/personaMoral.service.js +11 -26
- package/esm2015/lib/services/versionCheck.service.js +3 -3
- package/esm2015/lib/utils/tipo_catalogo.ts.js +1 -1
- package/esm2015/public_api.js +3 -3
- package/esm2015/visorus-erp-core.js +1 -1
- package/fesm2015/visorus-erp-core.js +1488 -1923
- package/fesm2015/visorus-erp-core.js.map +1 -1
- package/lib/app.module.d.ts +3 -2
- package/lib/components/acreedor/select/select-acreedor.component.d.ts +2 -2
- package/lib/components/acreedor/services/acreedor.service.d.ts +7 -14
- package/lib/components/acreedor/services/acreedorCuentaContable.d.ts +8 -8
- package/lib/components/agente/services/agente.service.d.ts +10 -16
- package/lib/components/almacen/services/almacen.service.d.ts +8 -15
- package/lib/components/banco/services/banco.service.d.ts +6 -14
- package/lib/components/caja/session-create/session-create.component.d.ts +2 -2
- package/lib/components/caja/sessionCaja.service.d.ts +7 -13
- package/lib/components/catalogoTipo/services/catalogoTipo.service.d.ts +6 -14
- package/lib/components/clasificadorTipo/services/clasificadorTipo.service.d.ts +6 -14
- package/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.d.ts +6 -13
- package/lib/components/claveMovimiento/services/claveMovimiento.service.d.ts +6 -14
- package/lib/components/cliente/select/select-cliente.component.d.ts +2 -2
- package/lib/components/cliente/services/cliente.service.d.ts +7 -15
- package/lib/components/cliente/services/clienteCuentaBanco.service.d.ts +8 -15
- package/lib/components/cliente/services/clienteFlete.service.d.ts +8 -14
- package/lib/components/contacto/services/datoContacto.service.d.ts +6 -13
- package/lib/components/dato-direccion/services/datoDireccion.service.d.ts +6 -13
- package/lib/components/departamento/services/departamento.service.d.ts +6 -13
- package/lib/components/empresa/services/empresa.service.d.ts +8 -14
- package/lib/components/error404/error404.component.d.ts +2 -2
- package/lib/components/flete/services/flete.service.d.ts +7 -13
- package/lib/components/formaPago/services/FormaPago.service.d.ts +6 -14
- package/lib/components/loading/loading.component.d.ts +2 -2
- package/lib/components/loading/loading.service.d.ts +2 -2
- package/lib/components/loading-screen/loading-screen.component.d.ts +2 -2
- package/lib/components/loading-screen/loading-screen.service.d.ts +2 -2
- package/lib/components/login-modal/login-modal.component.d.ts +2 -2
- package/lib/components/login-modal/login-modal.service.d.ts +2 -2
- package/lib/components/moneda/services/moneda.service.d.ts +7 -13
- package/lib/components/pdfModal/pdf-modal.component.d.ts +2 -2
- package/lib/components/pdfModal/pdf-modal.service.d.ts +2 -2
- package/lib/components/persona-fisica/services/personaFisica.service.d.ts +9 -10
- package/lib/components/proveedor/select/select-proveedor.component.d.ts +2 -2
- package/lib/components/proveedor/services/proveedor.service.d.ts +7 -13
- package/lib/components/proveedor/services/proveedorCuentaBanco.service.d.ts +8 -14
- package/lib/components/proveedor/services/proveedorFlete.service.d.ts +8 -13
- package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts +2 -2
- package/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.d.ts +8 -14
- package/lib/components/selecciona-articulo/selecciona-articulo.component.d.ts +2 -2
- package/lib/components/selecciona-articulo/stock.service.d.ts +7 -9
- package/lib/components/serieDocumento/services/serieDocumento.service.d.ts +9 -14
- package/lib/components/tipo-contacto/services/tipoContacto.service.d.ts +6 -13
- package/lib/components/ubicacion/services/ubicacion.service.d.ts +6 -13
- package/lib/contabilidad/componentes/cclista/cclista.component.d.ts +2 -2
- package/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.d.ts +2 -2
- package/lib/contabilidad/servicios/cuentacontable.service.d.ts +8 -14
- package/lib/httpInterceptor/httpInterceptor.d.ts +2 -2
- package/lib/services/auth.service.d.ts +2 -2
- package/lib/services/authenticated.service.d.ts +2 -2
- package/lib/services/canActivateGuard.service.ts.d.ts +2 -2
- package/lib/services/catalogo-adicional.service.d.ts +7 -13
- package/lib/services/controlAcceso.service.d.ts +2 -2
- package/lib/services/crud.service.d.ts +20 -0
- package/lib/services/file.service.d.ts +2 -2
- package/lib/services/global.service.d.ts +2 -4
- package/lib/services/init.service.d.ts +2 -2
- package/lib/services/message.service.d.ts +2 -2
- package/lib/services/paginate.service.d.ts +2 -2
- package/lib/services/personaMoral.service.d.ts +6 -13
- package/lib/services/versionCheck.service.d.ts +2 -2
- package/package.json +9 -9
- package/public_api.d.ts +2 -2
- package/bundles/visorus-erp-core.umd.min.js +0 -2
- package/bundles/visorus-erp-core.umd.min.js.map +0 -1
- package/esm2015/lib/services/api.service.js +0 -80
- package/lib/services/api.service.d.ts +0 -45
|
@@ -11,6 +11,6 @@ export declare class PdfModalComponent {
|
|
|
11
11
|
size: number;
|
|
12
12
|
constructor(_pdfModalService: PdfModalService, fileService: FileService, domSanitizer: DomSanitizer);
|
|
13
13
|
imprimir(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵ
|
|
15
|
-
static ɵcmp: i0.ɵɵ
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PdfModalComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PdfModalComponent, "pdf-modal", never, {}, {}, never, never>;
|
|
16
16
|
}
|
|
@@ -7,6 +7,6 @@ export declare class PdfModalService {
|
|
|
7
7
|
html: any;
|
|
8
8
|
pdf_generate(base_64: any): void;
|
|
9
9
|
generate_print(html: any): void;
|
|
10
|
-
static ɵfac: i0.ɵɵ
|
|
11
|
-
static ɵprov: i0.ɵɵ
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PdfModalService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PdfModalService>;
|
|
12
12
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CrudService } from "../../../services/crud.service";
|
|
2
|
+
import { HttpClient } from "@angular/common/http";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PersonaFisicaService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
static
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDef<PersonaFisicaService>;
|
|
4
|
+
export declare class PersonaFisicaService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
7
|
+
getGeneros(): import("rxjs").Observable<Object>;
|
|
8
|
+
getEstadoCivil(): import("rxjs").Observable<Object>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersonaFisicaService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PersonaFisicaService>;
|
|
12
11
|
}
|
|
@@ -21,6 +21,6 @@ export declare class SelectProveedorComponent implements OnInit {
|
|
|
21
21
|
pagina(e: any): void;
|
|
22
22
|
cerrarModal(): void;
|
|
23
23
|
seleccionarProveedor(e: any): void;
|
|
24
|
-
static ɵfac: i0.ɵɵ
|
|
25
|
-
static ɵcmp: i0.ɵɵ
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectProveedorComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectProveedorComponent, "select-proveedor", never, { "visible": "visible"; "proveedorSeleccionado": "proveedorSeleccionado"; }, { "select": "select"; }, never, never>;
|
|
26
26
|
}
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CrudService } from "../../../services/crud.service";
|
|
2
|
+
import { HttpClient } from "@angular/common/http";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProveedorService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
get(id: number): Observable<any>;
|
|
10
|
-
save(obj: any): Observable<any>;
|
|
11
|
-
update(obj: any): Observable<any>;
|
|
12
|
-
delete(id: number): Observable<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDef<ProveedorService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDef<ProveedorService>;
|
|
4
|
+
export declare class ProveedorService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProveedorService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProveedorService>;
|
|
15
9
|
}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CrudService } from "../../../services/crud.service";
|
|
2
|
+
import { HttpClient } from "@angular/common/http";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProveedorCuentaBancoService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
get(id: number): Observable<any>;
|
|
11
|
-
delete(id: number): Observable<any>;
|
|
12
|
-
update(obj: any): Observable<any>;
|
|
13
|
-
save(obj: any): Observable<any>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDef<ProveedorCuentaBancoService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDef<ProveedorCuentaBancoService>;
|
|
4
|
+
export declare class ProveedorCuentaBancoService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
7
|
+
saveAll(params: any): import("rxjs").Observable<Object>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProveedorCuentaBancoService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProveedorCuentaBancoService>;
|
|
16
10
|
}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CrudService } from "../../../services/crud.service";
|
|
2
|
+
import { HttpClient } from "@angular/common/http";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProveedorFleteService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
save(obj: any): Observable<any>;
|
|
11
|
-
update(obj: any): Observable<any>;
|
|
12
|
-
delete(id: number): Observable<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDef<ProveedorFleteService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDef<ProveedorFleteService>;
|
|
4
|
+
export declare class ProveedorFleteService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
7
|
+
saveAll(p: any): import("rxjs").Observable<Object>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProveedorFleteService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProveedorFleteService>;
|
|
15
10
|
}
|
package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export declare class SeleccionArticuloInformacionComponent implements OnInit {
|
|
|
24
24
|
OnLoad(): void;
|
|
25
25
|
OnShow(): void;
|
|
26
26
|
onSelectedUbicacion(ubicacionRow: any): void;
|
|
27
|
-
static ɵfac: i0.ɵɵ
|
|
28
|
-
static ɵcmp: i0.ɵɵ
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeleccionArticuloInformacionComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeleccionArticuloInformacionComponent, "lib-seleccion-articulo-informacion", never, { "showModal": "showModal"; "articulo": "articulo"; }, { "eventSelection": "eventSelection"; }, never, never>;
|
|
29
29
|
}
|
package/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.d.ts
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { CrudService } from '../../../services/crud.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ArticuloInformacionService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
get(id: number): Observable<any>;
|
|
11
|
-
save(obj: any): Observable<any>;
|
|
12
|
-
update(obj: any): Observable<any>;
|
|
13
|
-
delete(id: number): Observable<any>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDef<ArticuloInformacionService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDef<ArticuloInformacionService>;
|
|
4
|
+
export declare class ArticuloInformacionService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
7
|
+
obtenerExistencias(articulo: number): import("rxjs").Observable<Object>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArticuloInformacionService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ArticuloInformacionService>;
|
|
16
10
|
}
|
|
@@ -37,6 +37,6 @@ export declare class SeleccionaArticuloComponent implements OnInit {
|
|
|
37
37
|
seriesArticulo(series: any): void;
|
|
38
38
|
onShowInformacion(eventArticulo: any): void;
|
|
39
39
|
onEventInformacion(event: any): void;
|
|
40
|
-
static ɵfac: i0.ɵɵ
|
|
41
|
-
static ɵcmp: i0.ɵɵ
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeleccionaArticuloComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeleccionaArticuloComponent, "app-selecciona-articulo", never, { "configuracion": "configuracion"; "showArticulos": "showArticulos"; "movimiento": "movimiento"; "manejaUnidadSecundaria": "manejaUnidadSecundaria"; }, { "emitFilaSeleccionada": "emitFilaSeleccionada"; "emitShowArticulos": "emitShowArticulos"; }, never, never>;
|
|
42
42
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { CrudService } from '../../services/crud.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class StockService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
constructor(api: ApiService);
|
|
8
|
-
getAll(params?: any): Observable<any>;
|
|
4
|
+
export declare class StockService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
9
7
|
obtenerExistenciasArticulosDescripcion(parametros: any, params: any): Promise<unknown>;
|
|
10
|
-
static ɵfac: i0.ɵɵ
|
|
11
|
-
static ɵprov: i0.ɵɵ
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StockService>;
|
|
12
10
|
}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { CrudService } from "../../../services/crud.service";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SerieDocumentoService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
save(obj: any): Observable<any>;
|
|
12
|
-
update(obj: any): Observable<any>;
|
|
13
|
-
delete(id: number): Observable<any>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDef<SerieDocumentoService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDef<SerieDocumentoService>;
|
|
4
|
+
export declare class SerieDocumentoService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
7
|
+
getTipos(): import("rxjs").Observable<Object>;
|
|
8
|
+
getReporte(params: any): import("rxjs").Observable<Object>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SerieDocumentoService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SerieDocumentoService>;
|
|
16
11
|
}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CrudService } from "../../../services/crud.service";
|
|
2
|
+
import { HttpClient } from "@angular/common/http";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TipoContactoService {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
getAll(params?: any): Observable<any>;
|
|
9
|
-
get(id: number): Observable<any>;
|
|
10
|
-
save(obj: any): Observable<any>;
|
|
11
|
-
update(obj: any): Observable<any>;
|
|
12
|
-
delete(id: number): Observable<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDef<TipoContactoService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDef<TipoContactoService>;
|
|
4
|
+
export declare class TipoContactoService extends CrudService {
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TipoContactoService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TipoContactoService>;
|
|
15
8
|
}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { CrudService } from "../../../services/crud.service";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UbicacionService {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
getAll(params?: any): Observable<any>;
|
|
9
|
-
get(id: number): Observable<any>;
|
|
10
|
-
save(obj: any): Observable<any>;
|
|
11
|
-
update(obj: any): Observable<any>;
|
|
12
|
-
delete(id: number): Observable<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDef<UbicacionService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDef<UbicacionService>;
|
|
4
|
+
export declare class UbicacionService extends CrudService {
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UbicacionService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UbicacionService>;
|
|
15
8
|
}
|
|
@@ -21,6 +21,6 @@ export declare class CclistaComponent implements OnInit {
|
|
|
21
21
|
filterAccounts(evt: any): void;
|
|
22
22
|
resetAccount(): any[];
|
|
23
23
|
browseAccount(accounts: any): any[];
|
|
24
|
-
static ɵfac: i0.ɵɵ
|
|
25
|
-
static ɵcmp: i0.ɵɵ
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CclistaComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CclistaComponent, "lib-cclista", never, { "isShared": "isShared"; "typeAccount": "typeAccount"; }, { "evSelectedAccount": "evSelectedAccount"; }, never, never>;
|
|
26
26
|
}
|
|
@@ -19,6 +19,6 @@ export declare class CcseleccionDialogComponent implements OnInit {
|
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
getAccount(account: any): void;
|
|
21
21
|
hiddenDialog(evt: any): void;
|
|
22
|
-
static ɵfac: i0.ɵɵ
|
|
23
|
-
static ɵcmp: i0.ɵɵ
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CcseleccionDialogComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CcseleccionDialogComponent, "lib-ccseleccion-dialog", never, { "tipoCuenta": "tipoCuenta"; "displayShowCuentas": "displayShowCuentas"; }, { "evSelectedAccount": "evSelectedAccount"; }, never, never>;
|
|
24
24
|
}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { CrudService } from "../../services/crud.service";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuentaContableService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
get(id: number): Observable<any>;
|
|
11
|
-
save(obj: any): Observable<any>;
|
|
12
|
-
update(obj: any): Observable<any>;
|
|
13
|
-
delete(id: number): Observable<any>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDef<CuentaContableService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDef<CuentaContableService>;
|
|
4
|
+
export declare class CuentaContableService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
7
|
+
obtieneCuentasContablesRecursivo(): import("rxjs").Observable<Object>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuentaContableService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CuentaContableService>;
|
|
16
10
|
}
|
|
@@ -12,6 +12,6 @@ export declare class httpInterceptor implements HttpInterceptor {
|
|
|
12
12
|
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
13
13
|
private handleError;
|
|
14
14
|
readError(respuesta: any): void;
|
|
15
|
-
static ɵfac: i0.ɵɵ
|
|
16
|
-
static ɵprov: i0.ɵɵ
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<httpInterceptor, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<httpInterceptor>;
|
|
17
17
|
}
|
|
@@ -25,6 +25,6 @@ export declare class AuthService {
|
|
|
25
25
|
setModulo(modulo: any): import("rxjs").Observable<Object>;
|
|
26
26
|
quitarModulo(): import("rxjs").Observable<Object>;
|
|
27
27
|
getDetalsUser(): import("rxjs").Observable<Object>;
|
|
28
|
-
static ɵfac: i0.ɵɵ
|
|
29
|
-
static ɵprov: i0.ɵɵ
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
30
30
|
}
|
|
@@ -9,6 +9,6 @@ export declare class Authenticated {
|
|
|
9
9
|
constructor(authService: AuthService, controlAccesoService: ControlAccesoService, router: Router);
|
|
10
10
|
load(modulo?: any): boolean;
|
|
11
11
|
regresaAlprincipal(url: any): void;
|
|
12
|
-
static ɵfac: i0.ɵɵ
|
|
13
|
-
static ɵprov: i0.ɵɵ
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Authenticated, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Authenticated>;
|
|
14
14
|
}
|
|
@@ -8,6 +8,6 @@ export declare class CanActivateGuard implements CanActivate {
|
|
|
8
8
|
constructor(controlAccesoService: ControlAccesoService);
|
|
9
9
|
canActivate(): boolean;
|
|
10
10
|
permisos(rol: any): void;
|
|
11
|
-
static ɵfac: i0.ɵɵ
|
|
12
|
-
static ɵprov: i0.ɵɵ
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CanActivateGuard, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CanActivateGuard>;
|
|
13
13
|
}
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CrudService } from './crud.service';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CatalogoAdicionalService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
get(id: number): Observable<any>;
|
|
10
|
-
save(obj: any): Observable<any>;
|
|
11
|
-
update(obj: any): Observable<any>;
|
|
12
|
-
delete(id: number): Observable<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDef<CatalogoAdicionalService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDef<CatalogoAdicionalService>;
|
|
4
|
+
export declare class CatalogoAdicionalService extends CrudService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
constructor(httpClient: HttpClient);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CatalogoAdicionalService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CatalogoAdicionalService>;
|
|
15
9
|
}
|
|
@@ -9,6 +9,6 @@ export declare class ControlAccesoService {
|
|
|
9
9
|
changeDetalleUsuario: EventEmitter<any>;
|
|
10
10
|
set(detallesUsuarios: any): void;
|
|
11
11
|
canActivete(rols: String[]): boolean;
|
|
12
|
-
static ɵfac: i0.ɵɵ
|
|
13
|
-
static ɵprov: i0.ɵɵ
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ControlAccesoService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ControlAccesoService>;
|
|
14
14
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Usuario } from '../models/Usuario';
|
|
3
|
+
import { GlobalService } from './global.service';
|
|
4
|
+
export declare class CrudService extends GlobalService {
|
|
5
|
+
private httpCliente;
|
|
6
|
+
private url;
|
|
7
|
+
urlComponente: string;
|
|
8
|
+
usuarioInstance: Usuario;
|
|
9
|
+
constructor(httpCliente: HttpClient, url: string);
|
|
10
|
+
serializeParams(params: any): string;
|
|
11
|
+
getHttp(): HttpClient;
|
|
12
|
+
geturl(): string;
|
|
13
|
+
getBaseUrl(): string;
|
|
14
|
+
getByUrl(url: any, params?: any): import("rxjs").Observable<Object>;
|
|
15
|
+
getAll(params?: any): import("rxjs").Observable<Object>;
|
|
16
|
+
get(id: any): import("rxjs").Observable<Object>;
|
|
17
|
+
save(obj: any): import("rxjs").Observable<Object>;
|
|
18
|
+
update(obj: any): import("rxjs").Observable<Object>;
|
|
19
|
+
delete(id: any): import("rxjs").Observable<Object>;
|
|
20
|
+
}
|
|
@@ -9,6 +9,6 @@ export declare class FileService {
|
|
|
9
9
|
base64ToBlob(base64: any, type: any): Blob;
|
|
10
10
|
blobToDowload(blob: any, type: any, name: any): void;
|
|
11
11
|
base64ToFileDowload(base64: any, type: any, name: any): void;
|
|
12
|
-
static ɵfac: i0.ɵɵ
|
|
13
|
-
static ɵprov: i0.ɵɵ
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HttpClient
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
2
3
|
import { Usuario } from '../models/Usuario';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GlobalService {
|
|
5
5
|
private http;
|
|
6
6
|
usuarioInstance: Usuario;
|
|
@@ -19,6 +19,4 @@ export declare class GlobalService {
|
|
|
19
19
|
setUsuarioInstance(usuarioInstance: any): void;
|
|
20
20
|
getLang(): string;
|
|
21
21
|
setModulo(modulo: any): import("rxjs").Observable<Object>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDef<GlobalService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDef<GlobalService>;
|
|
24
22
|
}
|
|
@@ -7,6 +7,6 @@ export declare class InitService {
|
|
|
7
7
|
constructor(http: HttpClient, authService: AuthService);
|
|
8
8
|
initConfig(): void;
|
|
9
9
|
cargaConfig(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵ
|
|
11
|
-
static ɵprov: i0.ɵɵ
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InitService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InitService>;
|
|
12
12
|
}
|
|
@@ -6,6 +6,6 @@ export declare class MessageService {
|
|
|
6
6
|
deployMessage(tipo: string, titulo: string, msg: string): void;
|
|
7
7
|
success(msg: string): any[];
|
|
8
8
|
error(error: any): any[];
|
|
9
|
-
static ɵfac: i0.ɵɵ
|
|
10
|
-
static ɵprov: i0.ɵɵ
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
11
11
|
}
|
|
@@ -15,6 +15,6 @@ export declare class PaginateService {
|
|
|
15
15
|
value: any;
|
|
16
16
|
}[];
|
|
17
17
|
getOrden(arg: any, lang?: string): any[];
|
|
18
|
-
static ɵfac: i0.ɵɵ
|
|
19
|
-
static ɵprov: i0.ɵɵ
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginateService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaginateService>;
|
|
20
20
|
}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CrudService } from "./crud.service";
|
|
2
|
+
import { HttpClient } from "@angular/common/http";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PersonaMoralService {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
getAll(params?: any): Observable<any>;
|
|
9
|
-
get(id: number): Observable<any>;
|
|
10
|
-
save(obj: any): Observable<any>;
|
|
11
|
-
update(obj: any): Observable<any>;
|
|
12
|
-
delete(id: number): Observable<any>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDef<PersonaMoralService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDef<PersonaMoralService>;
|
|
4
|
+
export declare class PersonaMoralService extends CrudService {
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PersonaMoralService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PersonaMoralService>;
|
|
15
8
|
}
|
|
@@ -9,6 +9,6 @@ export declare class VersionCheckService {
|
|
|
9
9
|
initVersionCheck(): void;
|
|
10
10
|
private checkVersion;
|
|
11
11
|
private hasHashChanged;
|
|
12
|
-
static ɵfac: i0.ɵɵ
|
|
13
|
-
static ɵprov: i0.ɵɵ
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VersionCheckService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VersionCheckService>;
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "visorus-erp-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "~
|
|
6
|
-
"@angular/core": "~
|
|
7
|
-
"@angular/forms": "~
|
|
8
|
-
"@angular/cdk": "~
|
|
9
|
-
"primeng": "~
|
|
5
|
+
"@angular/common": "~12.2.17",
|
|
6
|
+
"@angular/core": "~12.2.17",
|
|
7
|
+
"@angular/forms": "~12.2.17",
|
|
8
|
+
"@angular/cdk": "~12.2.13",
|
|
9
|
+
"primeng": "~12.2.2",
|
|
10
10
|
"primeflex": "^4.0.0",
|
|
11
|
-
"primeicons": "^
|
|
11
|
+
"primeicons": "^5.0.0",
|
|
12
12
|
"rxjs": "~6.6.7"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"typings": "visorus-erp-core.d.ts",
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"scripts": {
|
|
25
|
-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy. This is not allowed.\\nPlease delete and rebuild the package
|
|
25
|
+
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
26
26
|
}
|
|
27
|
-
}
|
|
27
|
+
}
|
package/public_api.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export * from './lib/services/global.service';
|
|
2
|
-
export * from './lib/services/api.service';
|
|
3
1
|
export * from './lib/app.module';
|
|
4
2
|
export * from './lib/httpInterceptor/httpInterceptor';
|
|
5
3
|
export * from './lib/models/PersonaMoral';
|
|
@@ -7,6 +5,8 @@ export * from './lib/models/Usuario';
|
|
|
7
5
|
export * from './lib/services/controlAcceso.service';
|
|
8
6
|
export * from './lib/services/auth.service';
|
|
9
7
|
export * from './lib/models/auth';
|
|
8
|
+
export * from './lib/services/crud.service';
|
|
9
|
+
export * from './lib/services/global.service';
|
|
10
10
|
export * from './lib/services/init.service';
|
|
11
11
|
export * from './lib/services/message.service';
|
|
12
12
|
export * from './lib/services/paginate.service';
|