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
|
@@ -1,47 +1,84 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, EventEmitter, Component, Input, Output, ViewChild, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
4
|
+
import { HttpHeaders, HTTP_INTERCEPTORS, HttpClient } from '@angular/common/http';
|
|
5
|
+
import * as i5 from '@angular/forms';
|
|
6
|
+
import { FormsModule } from '@angular/forms';
|
|
7
|
+
import * as i6 from 'primeng/inputtext';
|
|
8
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
9
|
+
import * as i4 from 'primeng/treetable';
|
|
10
|
+
import { TreeTableModule } from 'primeng/treetable';
|
|
11
|
+
import * as i4$1 from 'primeng/api';
|
|
12
|
+
import { ConfirmationService } from 'primeng/api';
|
|
13
|
+
import * as i8 from '@angular/common';
|
|
14
|
+
import { CommonModule } from '@angular/common';
|
|
15
|
+
import * as i7 from 'primeng/button';
|
|
16
|
+
import { ButtonModule } from 'primeng/button';
|
|
17
|
+
import * as i4$2 from 'primeng/dialog';
|
|
18
|
+
import { DialogModule } from 'primeng/dialog';
|
|
10
19
|
import { Subject, throwError, of } from 'rxjs';
|
|
11
20
|
import { catchError, tap } from 'rxjs/internal/operators';
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
21
|
+
import * as i1$1 from 'ngx-toastr';
|
|
22
|
+
import { ToastrModule } from 'ngx-toastr';
|
|
23
|
+
import * as i3 from '@ngx-translate/core';
|
|
24
|
+
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
14
25
|
import { debounceTime } from 'rxjs/operators';
|
|
15
|
-
import
|
|
26
|
+
import * as i3$1 from '@angular/platform-browser';
|
|
16
27
|
import { __awaiter } from 'tslib';
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
28
|
+
import * as i8$1 from 'primeng/table';
|
|
29
|
+
import { TableModule } from 'primeng/table';
|
|
30
|
+
import * as i10 from 'primeng/paginator';
|
|
31
|
+
import { PaginatorModule } from 'primeng/paginator';
|
|
32
|
+
import * as i23 from 'primeng/dropdown';
|
|
19
33
|
import { DropdownModule } from 'primeng/dropdown';
|
|
34
|
+
import * as i24 from 'primeng/inputmask';
|
|
20
35
|
import { InputMaskModule } from 'primeng/inputmask';
|
|
36
|
+
import * as i25 from 'primeng/messages';
|
|
21
37
|
import { MessagesModule } from 'primeng/messages';
|
|
38
|
+
import * as i26 from 'primeng/message';
|
|
22
39
|
import { MessageModule } from 'primeng/message';
|
|
40
|
+
import * as i28 from 'primeng/confirmdialog';
|
|
23
41
|
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
42
|
+
import * as i29 from 'primeng/progressbar';
|
|
24
43
|
import { ProgressBarModule } from 'primeng/progressbar';
|
|
44
|
+
import * as i30 from 'primeng/tristatecheckbox';
|
|
25
45
|
import { TriStateCheckboxModule } from 'primeng/tristatecheckbox';
|
|
46
|
+
import * as i31 from 'primeng/keyfilter';
|
|
26
47
|
import { KeyFilterModule } from 'primeng/keyfilter';
|
|
48
|
+
import * as i32 from 'primeng/inputswitch';
|
|
27
49
|
import { InputSwitchModule } from 'primeng/inputswitch';
|
|
50
|
+
import * as i34 from 'primeng/tabview';
|
|
28
51
|
import { TabViewModule } from 'primeng/tabview';
|
|
52
|
+
import * as i20 from 'primeng/calendar';
|
|
29
53
|
import { CalendarModule } from 'primeng/calendar';
|
|
54
|
+
import * as i35 from 'primeng/panel';
|
|
30
55
|
import { PanelModule } from 'primeng/panel';
|
|
56
|
+
import * as i17 from 'primeng/autocomplete';
|
|
31
57
|
import { AutoCompleteModule } from 'primeng/autocomplete';
|
|
58
|
+
import * as i38 from 'primeng/fieldset';
|
|
32
59
|
import { FieldsetModule } from 'primeng/fieldset';
|
|
60
|
+
import * as i16 from 'primeng/checkbox';
|
|
33
61
|
import { CheckboxModule } from 'primeng/checkbox';
|
|
62
|
+
import * as i39 from 'primeng/tree';
|
|
34
63
|
import { TreeModule } from 'primeng/tree';
|
|
64
|
+
import * as i15 from 'primeng/radiobutton';
|
|
35
65
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
66
|
+
import * as i40 from 'primeng/tabmenu';
|
|
36
67
|
import { TabMenuModule } from 'primeng/tabmenu';
|
|
68
|
+
import * as i14 from 'primeng/overlaypanel';
|
|
37
69
|
import { OverlayPanelModule } from 'primeng/overlaypanel';
|
|
70
|
+
import * as i13 from 'primeng/tooltip';
|
|
38
71
|
import { TooltipModule } from 'primeng/tooltip';
|
|
72
|
+
import * as i12 from 'primeng/card';
|
|
39
73
|
import { CardModule } from 'primeng/card';
|
|
74
|
+
import * as i41 from 'primeng/menubar';
|
|
40
75
|
import { MenubarModule } from 'primeng/menubar';
|
|
76
|
+
import * as i37 from 'primeng/splitbutton';
|
|
41
77
|
import { SplitButtonModule } from 'primeng/splitbutton';
|
|
78
|
+
import * as i36 from 'primeng/toolbar';
|
|
42
79
|
import { ToolbarModule } from 'primeng/toolbar';
|
|
43
80
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
44
|
-
import
|
|
81
|
+
import * as i3$2 from '@angular/router';
|
|
45
82
|
|
|
46
83
|
class GlobalService {
|
|
47
84
|
constructor(http) {
|
|
@@ -95,195 +132,143 @@ class GlobalService {
|
|
|
95
132
|
return this.http.post(this.getUrl() + '/usuario/setModulo', modulo, this.buildAuth());
|
|
96
133
|
}
|
|
97
134
|
}
|
|
98
|
-
/** @nocollapse */ GlobalService.ɵfac = function GlobalService_Factory(t) { return new (t || GlobalService)(ɵɵinject(HttpClient)); };
|
|
99
|
-
/** @nocollapse */ GlobalService.ɵprov = ɵɵdefineInjectable({ token: GlobalService, factory: GlobalService.ɵfac, providedIn: 'root' });
|
|
100
|
-
/*@__PURE__*/ (function () { ɵsetClassMetadata(GlobalService, [{
|
|
101
|
-
type: Injectable,
|
|
102
|
-
args: [{
|
|
103
|
-
providedIn: 'root'
|
|
104
|
-
}]
|
|
105
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
106
135
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
this.
|
|
113
|
-
this.global = global;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Realiza una petición GET genérica y autenticada usando HttpParams.
|
|
117
|
-
* @param endpoint El endpoint del API (ej. '/FormaDePago')
|
|
118
|
-
* @param queryParams Un objeto clave-valor para los parámetros de la URL.
|
|
119
|
-
*/
|
|
120
|
-
get(endpoint, queryParams) {
|
|
121
|
-
// 1. Construye HttpParams de forma segura. Se encarga del URL encoding.
|
|
122
|
-
const params = new HttpParams({ fromObject: queryParams });
|
|
123
|
-
// 2. Combina las opciones: cabeceras de GlobalService y los nuevos params.
|
|
124
|
-
const options = Object.assign(Object.assign({}, this.global.buildAuth()), { params: params // Añade los HttpParams
|
|
125
|
-
});
|
|
126
|
-
const url = this.global.getUrl(endpoint);
|
|
127
|
-
return this.http.get(url, options);
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Realiza una petición POST genérica y autenticada.
|
|
131
|
-
* @param endpoint El endpoint del API
|
|
132
|
-
* @param body El cuerpo de la petición
|
|
133
|
-
*/
|
|
134
|
-
post(endpoint, body) {
|
|
135
|
-
const url = this.global.getUrl(endpoint);
|
|
136
|
-
const options = this.global.buildAuth();
|
|
137
|
-
return this.http.post(url, body, options);
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Realiza una petición PUT genérica y autenticada.
|
|
141
|
-
* @param endpoint El endpoint del API
|
|
142
|
-
* @param id El ID del recurso a actualizar
|
|
143
|
-
* @param body El cuerpo de la petición
|
|
144
|
-
*/
|
|
145
|
-
put(endpoint, id, body) {
|
|
146
|
-
const url = `<span class="math-inline">\{this\.global\.getUrl\(endpoint\)\}/</span>{id}`;
|
|
147
|
-
const options = this.global.buildAuth();
|
|
148
|
-
return this.http.put(url, body, options);
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Realiza una petición DELETE genérica y autenticada.
|
|
152
|
-
* @param endpoint El endpoint del API
|
|
153
|
-
* @param id El ID del recurso a eliminar
|
|
154
|
-
*/
|
|
155
|
-
delete(endpoint, id) {
|
|
156
|
-
const url = `<span class="math-inline">\{this\.global\.getUrl\(endpoint\)\}/</span>{id}`;
|
|
157
|
-
const options = this.global.buildAuth();
|
|
158
|
-
return this.http.delete(url, options);
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Realiza una petición PATCH genérica y autenticada.
|
|
162
|
-
* @param endpoint El endpoint del API
|
|
163
|
-
* @param id El ID del recurso a actualizar parcialmente
|
|
164
|
-
* @param body El cuerpo con los campos a actualizar
|
|
165
|
-
*/
|
|
166
|
-
patch(endpoint, id, body) {
|
|
167
|
-
const url = `<span class="math-inline">\{this\.global\.getUrl\(endpoint\)\}/</span>{id}`;
|
|
168
|
-
const options = this.global.buildAuth();
|
|
169
|
-
return this.http.patch(url, body, options);
|
|
136
|
+
class CrudService extends GlobalService {
|
|
137
|
+
constructor(httpCliente, url) {
|
|
138
|
+
super(httpCliente);
|
|
139
|
+
this.httpCliente = httpCliente;
|
|
140
|
+
this.url = url;
|
|
141
|
+
this.urlComponente = this.url;
|
|
170
142
|
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}], function () { return [{ type: HttpClient }, { type: GlobalService }]; }, null); })();
|
|
180
|
-
|
|
181
|
-
class CuentaContableService {
|
|
182
|
-
constructor(api) {
|
|
183
|
-
this.api = api;
|
|
184
|
-
this.endpoint = 'cuentaContable';
|
|
143
|
+
//Functions for ResourcesCrud [{ param: "max", value: 10}]
|
|
144
|
+
serializeParams(params) {
|
|
145
|
+
let serializeString = '';
|
|
146
|
+
params.map((e, index) => {
|
|
147
|
+
if (e.value !== undefined)
|
|
148
|
+
serializeString += ((index == 0) ? '?' : '&') + e.param + '=' + e.value;
|
|
149
|
+
});
|
|
150
|
+
return serializeString;
|
|
185
151
|
}
|
|
186
|
-
|
|
187
|
-
return this.
|
|
152
|
+
getHttp() {
|
|
153
|
+
return this.httpCliente;
|
|
188
154
|
}
|
|
189
|
-
|
|
190
|
-
return this.
|
|
155
|
+
geturl() {
|
|
156
|
+
return this.getUrl(this.urlComponente);
|
|
157
|
+
}
|
|
158
|
+
getBaseUrl() {
|
|
159
|
+
return this.getUrl('');
|
|
160
|
+
}
|
|
161
|
+
getByUrl(url, params) {
|
|
162
|
+
return this.httpCliente.get(this.getUrl(url) + this.serializeParams(params), this.buildAuth());
|
|
163
|
+
}
|
|
164
|
+
getAll(params) {
|
|
165
|
+
return this.httpCliente.get(this.getUrl(this.urlComponente) + (params ? (this.serializeParams(params)) : ('')), this.buildAuth());
|
|
191
166
|
}
|
|
192
167
|
get(id) {
|
|
193
|
-
return this.
|
|
168
|
+
return this.httpCliente.get(this.getUrl(this.urlComponente) + '/' + id, this.buildAuth());
|
|
194
169
|
}
|
|
195
170
|
save(obj) {
|
|
196
|
-
return this.
|
|
171
|
+
return this.httpCliente.post(this.getUrl(this.urlComponente), obj, this.buildAuth());
|
|
197
172
|
}
|
|
198
173
|
update(obj) {
|
|
199
|
-
return this.
|
|
174
|
+
return this.httpCliente.put(this.getUrl(this.urlComponente) + '/' + obj.id, obj, this.buildAuth());
|
|
200
175
|
}
|
|
201
176
|
delete(id) {
|
|
202
|
-
return this.
|
|
177
|
+
return this.httpCliente.delete(this.getUrl(this.urlComponente) + '/' + id, this.buildAuth());
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
class CuentaContableService extends CrudService {
|
|
182
|
+
constructor(httpClient) {
|
|
183
|
+
super(httpClient, 'cuentaContable');
|
|
184
|
+
this.httpClient = httpClient;
|
|
185
|
+
}
|
|
186
|
+
obtieneCuentasContablesRecursivo() {
|
|
187
|
+
return this.httpClient.get(this.getUrl('cuentaContable') + '/obtieneCuentasContablesRecursivo', this.buildAuth());
|
|
203
188
|
}
|
|
204
189
|
}
|
|
205
|
-
/** @nocollapse */ CuentaContableService.ɵfac = function CuentaContableService_Factory(t) { return new (t || CuentaContableService)(
|
|
206
|
-
/** @nocollapse */ CuentaContableService.ɵprov =
|
|
207
|
-
|
|
190
|
+
/** @nocollapse */ CuentaContableService.ɵfac = function CuentaContableService_Factory(t) { return new (t || CuentaContableService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
191
|
+
/** @nocollapse */ CuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CuentaContableService, factory: CuentaContableService.ɵfac, providedIn: 'root' });
|
|
192
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CuentaContableService, [{
|
|
208
193
|
type: Injectable,
|
|
209
194
|
args: [{
|
|
210
195
|
providedIn: 'root'
|
|
211
196
|
}]
|
|
212
|
-
}], function () { return [{ type:
|
|
197
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
213
198
|
|
|
214
199
|
function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
200
|
+
i0.ɵɵelementStart(0, "tr");
|
|
201
|
+
i0.ɵɵelementStart(1, "th", 5);
|
|
202
|
+
i0.ɵɵtext(2, "Cuenta contable");
|
|
203
|
+
i0.ɵɵelementEnd();
|
|
204
|
+
i0.ɵɵelementStart(3, "th", 5);
|
|
205
|
+
i0.ɵɵtext(4, "Descripci\u00F3n");
|
|
206
|
+
i0.ɵɵelementEnd();
|
|
207
|
+
i0.ɵɵelementStart(5, "th", 6);
|
|
208
|
+
i0.ɵɵtext(6, "Naturaleza");
|
|
209
|
+
i0.ɵɵelementEnd();
|
|
210
|
+
i0.ɵɵelementStart(7, "th", 7);
|
|
211
|
+
i0.ɵɵtext(8, "Tipo");
|
|
212
|
+
i0.ɵɵelementEnd();
|
|
213
|
+
i0.ɵɵelementStart(9, "th", 8);
|
|
214
|
+
i0.ɵɵtext(10, "Acciones");
|
|
215
|
+
i0.ɵɵelementEnd();
|
|
216
|
+
i0.ɵɵelementEnd();
|
|
232
217
|
} }
|
|
233
218
|
function CclistaComponent_ng_template_4_button_12_Template(rf, ctx) { if (rf & 1) {
|
|
234
|
-
const _r8 =
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
219
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
220
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
221
|
+
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const rowData_r3 = i0.ɵɵnextContext().rowData; const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.selectCuentaContable(rowData_r3); });
|
|
222
|
+
i0.ɵɵelementEnd();
|
|
238
223
|
} }
|
|
239
224
|
function CclistaComponent_ng_template_4_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
240
|
-
const _r11 =
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
225
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
226
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
227
|
+
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const rowData_r3 = i0.ɵɵnextContext().rowData; const ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.selectCuentaContable(rowData_r3); });
|
|
228
|
+
i0.ɵɵelementEnd();
|
|
244
229
|
} }
|
|
245
230
|
function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
231
|
+
i0.ɵɵelementStart(0, "tr");
|
|
232
|
+
i0.ɵɵelementStart(1, "td", 9);
|
|
233
|
+
i0.ɵɵelement(2, "p-treeTableToggler", 10);
|
|
234
|
+
i0.ɵɵtext(3);
|
|
235
|
+
i0.ɵɵelementEnd();
|
|
236
|
+
i0.ɵɵelementStart(4, "td", 9);
|
|
237
|
+
i0.ɵɵtext(5);
|
|
238
|
+
i0.ɵɵelementEnd();
|
|
239
|
+
i0.ɵɵelementStart(6, "td", 11);
|
|
240
|
+
i0.ɵɵtext(7);
|
|
241
|
+
i0.ɵɵelementEnd();
|
|
242
|
+
i0.ɵɵelementStart(8, "td", 12);
|
|
243
|
+
i0.ɵɵtext(9);
|
|
244
|
+
i0.ɵɵelementEnd();
|
|
245
|
+
i0.ɵɵelementStart(10, "td", 13);
|
|
246
|
+
i0.ɵɵelementStart(11, "div", 14);
|
|
247
|
+
i0.ɵɵtemplate(12, CclistaComponent_ng_template_4_button_12_Template, 1, 0, "button", 15);
|
|
248
|
+
i0.ɵɵtemplate(13, CclistaComponent_ng_template_4_button_13_Template, 1, 0, "button", 15);
|
|
249
|
+
i0.ɵɵelementEnd();
|
|
250
|
+
i0.ɵɵelementEnd();
|
|
251
|
+
i0.ɵɵelementEnd();
|
|
267
252
|
} if (rf & 2) {
|
|
268
253
|
const rowNode_r2 = ctx.$implicit;
|
|
269
254
|
const rowData_r3 = ctx.rowData;
|
|
270
|
-
const ctx_r1 =
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
255
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
256
|
+
i0.ɵɵadvance(2);
|
|
257
|
+
i0.ɵɵproperty("rowNode", rowNode_r2);
|
|
258
|
+
i0.ɵɵadvance(1);
|
|
259
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r3.cuentaContable, " ");
|
|
260
|
+
i0.ɵɵadvance(2);
|
|
261
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r3.descripcion, " ");
|
|
262
|
+
i0.ɵɵadvance(2);
|
|
263
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r3.naturaleza, " ");
|
|
264
|
+
i0.ɵɵadvance(2);
|
|
265
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r3.tipo, " ");
|
|
266
|
+
i0.ɵɵadvance(3);
|
|
267
|
+
i0.ɵɵproperty("ngIf", ctx_r1.typeAccount == 1 && rowData_r3.cuentaRegistro);
|
|
268
|
+
i0.ɵɵadvance(1);
|
|
269
|
+
i0.ɵɵproperty("ngIf", ctx_r1.typeAccount == 2 && !rowData_r3.cuentaRegistro);
|
|
285
270
|
} }
|
|
286
|
-
const _c0 = function () { return { width: "100%" }; };
|
|
271
|
+
const _c0$7 = function () { return { width: "100%" }; };
|
|
287
272
|
class CclistaComponent {
|
|
288
273
|
constructor(_cuentaContableService) {
|
|
289
274
|
this._cuentaContableService = _cuentaContableService;
|
|
@@ -443,24 +428,24 @@ class CclistaComponent {
|
|
|
443
428
|
}
|
|
444
429
|
}
|
|
445
430
|
}
|
|
446
|
-
/** @nocollapse */ CclistaComponent.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(
|
|
447
|
-
/** @nocollapse */ CclistaComponent.ɵcmp =
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
431
|
+
/** @nocollapse */ CclistaComponent.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(i0.ɵɵdirectiveInject(CuentaContableService)); };
|
|
432
|
+
/** @nocollapse */ CclistaComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CclistaComponent, selectors: [["lib-cclista"]], inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 5, vars: 8, consts: [["type", "text", "pInputText", "", "placeholder", "Cuenta o descripci\u00F3n", 2, "width", "100%", 3, "ngModel", "ngModelChange", "keyup"], [2, "padding", "10px"], [3, "value", "scrollable", "scrollHeight", "resizableColumns"], ["pTemplate", "header"], ["pTemplate", "body", "style", "width: 100%;"], [2, "width", "150px"], [2, "width", "90px"], [2, "width", "60px"], [2, "width", "200px"], [1, "ui-resizable-column", 2, "width", "150px"], [3, "rowNode"], [1, "ui-resizable-column", 2, "width", "90px"], [1, "ui-resizable-column", 2, "width", "60px"], [1, "ui-resizable-column", 2, "width", "200px"], [1, "button-row"], ["pButton", "", "type", "button", "icon", "pi pi-check", "class", "ui-button-raised ui-button-success", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "icon", "pi pi-check", 1, "ui-button-raised", "ui-button-success", 3, "click"]], template: function CclistaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
433
|
+
i0.ɵɵelementStart(0, "input", 0);
|
|
434
|
+
i0.ɵɵlistener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_0_listener($event) { return ctx.query = $event; })("keyup", function CclistaComponent_Template_input_keyup_0_listener($event) { return ctx.filterAccounts($event); });
|
|
435
|
+
i0.ɵɵelementEnd();
|
|
436
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
437
|
+
i0.ɵɵelementStart(2, "p-treeTable", 2);
|
|
438
|
+
i0.ɵɵtemplate(3, CclistaComponent_ng_template_3_Template, 11, 0, "ng-template", 3);
|
|
439
|
+
i0.ɵɵtemplate(4, CclistaComponent_ng_template_4_Template, 14, 7, "ng-template", 4);
|
|
440
|
+
i0.ɵɵelementEnd();
|
|
441
|
+
i0.ɵɵelementEnd();
|
|
457
442
|
} if (rf & 2) {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
} }, directives: [DefaultValueAccessor, InputText, NgControlStatus, NgModel, TreeTable, PrimeTemplate, TreeTableToggler, NgIf, ButtonDirective], styles: [""] });
|
|
463
|
-
|
|
443
|
+
i0.ɵɵproperty("ngModel", ctx.query);
|
|
444
|
+
i0.ɵɵadvance(2);
|
|
445
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0$7));
|
|
446
|
+
i0.ɵɵproperty("value", ctx.cuentasContables ? ctx.cuentasContables : ctx.tempAccounts)("scrollable", true)("scrollHeight", ctx.maxH + "px")("resizableColumns", true);
|
|
447
|
+
} }, directives: [i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i4.TreeTable, i4$1.PrimeTemplate, i4.TreeTableToggler, i8.NgIf, i7.ButtonDirective], styles: [""] });
|
|
448
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CclistaComponent, [{
|
|
464
449
|
type: Component,
|
|
465
450
|
args: [{
|
|
466
451
|
selector: 'lib-cclista',
|
|
@@ -475,8 +460,8 @@ class CclistaComponent {
|
|
|
475
460
|
type: Output
|
|
476
461
|
}] }); })();
|
|
477
462
|
|
|
478
|
-
const _c0$
|
|
479
|
-
const _c1 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
463
|
+
const _c0$6 = ["dialog"];
|
|
464
|
+
const _c1$3 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
480
465
|
const _c2 = function (a0) { return { "height": a0 }; };
|
|
481
466
|
class CcseleccionDialogComponent {
|
|
482
467
|
constructor() {
|
|
@@ -500,29 +485,29 @@ class CcseleccionDialogComponent {
|
|
|
500
485
|
}
|
|
501
486
|
}
|
|
502
487
|
/** @nocollapse */ CcseleccionDialogComponent.ɵfac = function CcseleccionDialogComponent_Factory(t) { return new (t || CcseleccionDialogComponent)(); };
|
|
503
|
-
/** @nocollapse */ CcseleccionDialogComponent.ɵcmp =
|
|
504
|
-
|
|
488
|
+
/** @nocollapse */ CcseleccionDialogComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CcseleccionDialogComponent, selectors: [["lib-ccseleccion-dialog"]], viewQuery: function CcseleccionDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
489
|
+
i0.ɵɵviewQuery(_c0$6, 7);
|
|
505
490
|
} if (rf & 2) {
|
|
506
|
-
|
|
507
|
-
|
|
491
|
+
let _t;
|
|
492
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialog = _t.first);
|
|
508
493
|
} }, inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 3, vars: 17, consts: [["header", "Selecciona cuenta contable", 3, "visible", "modal", "minY", "baseZIndex", "blockScroll", "draggable", "maximizable", "visibleChange", "onHide"], [1, "padding10", 3, "ngStyle"], [3, "isShared", "typeAccount", "evSelectedAccount"]], template: function CcseleccionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
494
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
495
|
+
i0.ɵɵlistener("visibleChange", function CcseleccionDialogComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.displayShowCuentas = $event; })("onHide", function CcseleccionDialogComponent_Template_p_dialog_onHide_0_listener($event) { return ctx.hiddenDialog($event); });
|
|
496
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
497
|
+
i0.ɵɵelementStart(2, "lib-cclista", 2);
|
|
498
|
+
i0.ɵɵlistener("evSelectedAccount", function CcseleccionDialogComponent_Template_lib_cclista_evSelectedAccount_2_listener($event) { return ctx.getAccount($event); });
|
|
499
|
+
i0.ɵɵelementEnd();
|
|
500
|
+
i0.ɵɵelementEnd();
|
|
501
|
+
i0.ɵɵelementEnd();
|
|
517
502
|
} if (rf & 2) {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
} }, directives: [Dialog, NgStyle, CclistaComponent], styles: [""] });
|
|
525
|
-
|
|
503
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(13, _c1$3, ctx.size + "px"));
|
|
504
|
+
i0.ɵɵproperty("visible", ctx.displayShowCuentas)("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
505
|
+
i0.ɵɵadvance(1);
|
|
506
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
|
|
507
|
+
i0.ɵɵadvance(1);
|
|
508
|
+
i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
|
|
509
|
+
} }, directives: [i4$2.Dialog, i8.NgStyle, CclistaComponent], styles: [""] });
|
|
510
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcseleccionDialogComponent, [{
|
|
526
511
|
type: Component,
|
|
527
512
|
args: [{
|
|
528
513
|
selector: 'lib-ccseleccion-dialog',
|
|
@@ -554,8 +539,8 @@ class LoginModalService {
|
|
|
554
539
|
}
|
|
555
540
|
}
|
|
556
541
|
/** @nocollapse */ LoginModalService.ɵfac = function LoginModalService_Factory(t) { return new (t || LoginModalService)(); };
|
|
557
|
-
/** @nocollapse */ LoginModalService.ɵprov =
|
|
558
|
-
|
|
542
|
+
/** @nocollapse */ LoginModalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoginModalService, factory: LoginModalService.ɵfac, providedIn: 'root' });
|
|
543
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalService, [{
|
|
559
544
|
type: Injectable,
|
|
560
545
|
args: [{
|
|
561
546
|
providedIn: 'root'
|
|
@@ -584,8 +569,8 @@ class LoadingScreenService {
|
|
|
584
569
|
}
|
|
585
570
|
}
|
|
586
571
|
/** @nocollapse */ LoadingScreenService.ɵfac = function LoadingScreenService_Factory(t) { return new (t || LoadingScreenService)(); };
|
|
587
|
-
/** @nocollapse */ LoadingScreenService.ɵprov =
|
|
588
|
-
|
|
572
|
+
/** @nocollapse */ LoadingScreenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingScreenService, factory: LoadingScreenService.ɵfac, providedIn: 'root' });
|
|
573
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenService, [{
|
|
589
574
|
type: Injectable,
|
|
590
575
|
args: [{
|
|
591
576
|
providedIn: 'root'
|
|
@@ -666,11 +651,11 @@ class httpInterceptor {
|
|
|
666
651
|
}
|
|
667
652
|
}
|
|
668
653
|
}
|
|
669
|
-
/** @nocollapse */ httpInterceptor.ɵfac = function httpInterceptor_Factory(t) { return new (t || httpInterceptor)(
|
|
670
|
-
/** @nocollapse */ httpInterceptor.ɵprov =
|
|
671
|
-
|
|
654
|
+
/** @nocollapse */ httpInterceptor.ɵfac = function httpInterceptor_Factory(t) { return new (t || httpInterceptor)(i0.ɵɵinject(LoginModalService), i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(LoadingScreenService)); };
|
|
655
|
+
/** @nocollapse */ httpInterceptor.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: httpInterceptor, factory: httpInterceptor.ɵfac });
|
|
656
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(httpInterceptor, [{
|
|
672
657
|
type: Injectable
|
|
673
|
-
}], function () { return [{ type: LoginModalService }, { type: ToastrService }, { type: LoadingScreenService }]; }, null); })();
|
|
658
|
+
}], function () { return [{ type: LoginModalService }, { type: i1$1.ToastrService }, { type: LoadingScreenService }]; }, null); })();
|
|
674
659
|
|
|
675
660
|
class Error404Component {
|
|
676
661
|
constructor() { }
|
|
@@ -678,25 +663,25 @@ class Error404Component {
|
|
|
678
663
|
}
|
|
679
664
|
}
|
|
680
665
|
/** @nocollapse */ Error404Component.ɵfac = function Error404Component_Factory(t) { return new (t || Error404Component)(); };
|
|
681
|
-
/** @nocollapse */ Error404Component.ɵcmp =
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
666
|
+
/** @nocollapse */ Error404Component.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: Error404Component, selectors: [["app-error404"]], decls: 9, vars: 0, consts: [[1, "col-md-12", "sec_sof"], [1, "row"], [1, "col", "col-center"], [1, "center"], [1, "error"], [1, "col-12"]], template: function Error404Component_Template(rf, ctx) { if (rf & 1) {
|
|
667
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
668
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
669
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
670
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
671
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
672
|
+
i0.ɵɵtext(5, " Error 404 ");
|
|
673
|
+
i0.ɵɵelementEnd();
|
|
674
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
675
|
+
i0.ɵɵelementStart(7, "p");
|
|
676
|
+
i0.ɵɵtext(8, "La pagina solicitada no fue encontrada");
|
|
677
|
+
i0.ɵɵelementEnd();
|
|
678
|
+
i0.ɵɵelementEnd();
|
|
679
|
+
i0.ɵɵelementEnd();
|
|
680
|
+
i0.ɵɵelementEnd();
|
|
681
|
+
i0.ɵɵelementEnd();
|
|
682
|
+
i0.ɵɵelementEnd();
|
|
698
683
|
} }, styles: [".error[_ngcontent-%COMP%]{font-size:70px}"] });
|
|
699
|
-
|
|
684
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Error404Component, [{
|
|
700
685
|
type: Component,
|
|
701
686
|
args: [{
|
|
702
687
|
selector: 'app-error404',
|
|
@@ -723,8 +708,8 @@ class LoadingService {
|
|
|
723
708
|
}
|
|
724
709
|
}
|
|
725
710
|
/** @nocollapse */ LoadingService.ɵfac = function LoadingService_Factory(t) { return new (t || LoadingService)(); };
|
|
726
|
-
/** @nocollapse */ LoadingService.ɵprov =
|
|
727
|
-
|
|
711
|
+
/** @nocollapse */ LoadingService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: 'root' });
|
|
712
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
728
713
|
type: Injectable,
|
|
729
714
|
args: [{
|
|
730
715
|
providedIn: 'root'
|
|
@@ -752,38 +737,38 @@ class LoadingComponent {
|
|
|
752
737
|
});
|
|
753
738
|
}
|
|
754
739
|
}
|
|
755
|
-
/** @nocollapse */ LoadingComponent.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(
|
|
756
|
-
/** @nocollapse */ LoadingComponent.ɵcmp =
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
740
|
+
/** @nocollapse */ LoadingComponent.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); };
|
|
741
|
+
/** @nocollapse */ LoadingComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["loading"]], inputs: { logo_loading: "logo_loading" }, decls: 14, vars: 4, consts: [["id", "modal_loading", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalScrollableTitle", "data-backdrop", "static", "data-keyboard", "false", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-scrollable"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], [1, "col-lg-4", "col-md-4", "col-sm-10"], [1, "loader"], [1, "box"], [1, "code"], ["width", "200px", 3, "src"], [1, "txt"]], template: function LoadingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
742
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
743
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
744
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
745
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
746
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
747
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
748
|
+
i0.ɵɵelementStart(6, "div", 6);
|
|
749
|
+
i0.ɵɵelement(7, "span", 7);
|
|
750
|
+
i0.ɵɵelement(8, "span", 7);
|
|
751
|
+
i0.ɵɵelementStart(9, "div", 8);
|
|
752
|
+
i0.ɵɵelement(10, "img", 9);
|
|
753
|
+
i0.ɵɵelementEnd();
|
|
754
|
+
i0.ɵɵelementStart(11, "span", 10);
|
|
755
|
+
i0.ɵɵtext(12);
|
|
756
|
+
i0.ɵɵpipe(13, "translate");
|
|
757
|
+
i0.ɵɵelementEnd();
|
|
758
|
+
i0.ɵɵelementEnd();
|
|
759
|
+
i0.ɵɵelementEnd();
|
|
760
|
+
i0.ɵɵelementEnd();
|
|
761
|
+
i0.ɵɵelementEnd();
|
|
762
|
+
i0.ɵɵelementEnd();
|
|
763
|
+
i0.ɵɵelementEnd();
|
|
764
|
+
i0.ɵɵelementEnd();
|
|
780
765
|
} if (rf & 2) {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
} }, pipes: [TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{height:170px;position:relative
|
|
786
|
-
|
|
766
|
+
i0.ɵɵadvance(10);
|
|
767
|
+
i0.ɵɵpropertyInterpolate("src", ctx.logo_loading, i0.ɵɵsanitizeUrl);
|
|
768
|
+
i0.ɵɵadvance(2);
|
|
769
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 2, "cargando"), "...");
|
|
770
|
+
} }, pipes: [i3.TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:\"Abel\",sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:after{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}.modal[_ngcontent-%COMP%]{z-index:2050!important}.modal-content[_ngcontent-%COMP%]{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body[_ngcontent-%COMP%]{margin-left:-7%!important}"] });
|
|
771
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
787
772
|
type: Component,
|
|
788
773
|
args: [{
|
|
789
774
|
selector: 'loading',
|
|
@@ -818,30 +803,30 @@ class LoadingScreenComponent {
|
|
|
818
803
|
this.loadingSubscription.unsubscribe();
|
|
819
804
|
}
|
|
820
805
|
}
|
|
821
|
-
/** @nocollapse */ LoadingScreenComponent.ɵfac = function LoadingScreenComponent_Factory(t) { return new (t || LoadingScreenComponent)(
|
|
822
|
-
/** @nocollapse */ LoadingScreenComponent.ɵcmp =
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
} }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{
|
|
837
|
-
|
|
806
|
+
/** @nocollapse */ LoadingScreenComponent.ɵfac = function LoadingScreenComponent_Factory(t) { return new (t || LoadingScreenComponent)(i0.ɵɵdirectiveInject(LoadingScreenService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
807
|
+
/** @nocollapse */ LoadingScreenComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingScreenComponent, selectors: [["app-loading-screen"]], inputs: { logo_loading: "logo_loading" }, decls: 10, vars: 0, consts: [[1, "loading-screen-wrapper"], [1, "loading-screen-icon"], [1, "blobs"], [1, "blob-center"], [1, "blob"]], template: function LoadingScreenComponent_Template(rf, ctx) { if (rf & 1) {
|
|
808
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
809
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
810
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
811
|
+
i0.ɵɵelement(3, "div", 3);
|
|
812
|
+
i0.ɵɵelement(4, "div", 4);
|
|
813
|
+
i0.ɵɵelement(5, "div", 4);
|
|
814
|
+
i0.ɵɵelement(6, "div", 4);
|
|
815
|
+
i0.ɵɵelement(7, "div", 4);
|
|
816
|
+
i0.ɵɵelement(8, "div", 4);
|
|
817
|
+
i0.ɵɵelement(9, "div", 4);
|
|
818
|
+
i0.ɵɵelementEnd();
|
|
819
|
+
i0.ɵɵelementEnd();
|
|
820
|
+
i0.ɵɵelementEnd();
|
|
821
|
+
} }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg[_ngcontent-%COMP%]{display:none}.blobs[_ngcontent-%COMP%]{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs[_ngcontent-%COMP%] .blob-center[_ngcontent-%COMP%]{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob[_ngcontent-%COMP%]{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob[_ngcontent-%COMP%]:nth-child(1){animation-delay:.2s}.blob[_ngcontent-%COMP%]:nth-child(2){animation-delay:.4s}.blob[_ngcontent-%COMP%]:nth-child(3){animation-delay:.6s}.blob[_ngcontent-%COMP%]:nth-child(4){animation-delay:.8s}.blob[_ngcontent-%COMP%]:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}"] });
|
|
822
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenComponent, [{
|
|
838
823
|
type: Component,
|
|
839
824
|
args: [{
|
|
840
825
|
selector: 'app-loading-screen',
|
|
841
826
|
templateUrl: './loading-screen.component.html',
|
|
842
827
|
styleUrls: ['./loading-screen.component.scss']
|
|
843
828
|
}]
|
|
844
|
-
}], function () { return [{ type: LoadingScreenService }, { type: ElementRef }, { type: ChangeDetectorRef }, { type: LoadingService }]; }, { logo_loading: [{
|
|
829
|
+
}], function () { return [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }]; }, { logo_loading: [{
|
|
845
830
|
type: Input
|
|
846
831
|
}] }); })();
|
|
847
832
|
|
|
@@ -860,8 +845,8 @@ class PdfModalService {
|
|
|
860
845
|
}
|
|
861
846
|
}
|
|
862
847
|
/** @nocollapse */ PdfModalService.ɵfac = function PdfModalService_Factory(t) { return new (t || PdfModalService)(); };
|
|
863
|
-
/** @nocollapse */ PdfModalService.ɵprov =
|
|
864
|
-
|
|
848
|
+
/** @nocollapse */ PdfModalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PdfModalService, factory: PdfModalService.ɵfac, providedIn: 'root' });
|
|
849
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalService, [{
|
|
865
850
|
type: Injectable,
|
|
866
851
|
args: [{
|
|
867
852
|
providedIn: 'root'
|
|
@@ -925,26 +910,26 @@ class FileService {
|
|
|
925
910
|
this.blobToDowload(this.base64ToBlob(base64, type), type, name);
|
|
926
911
|
}
|
|
927
912
|
}
|
|
928
|
-
/** @nocollapse */ FileService.ɵfac = function FileService_Factory(t) { return new (t || FileService)(
|
|
929
|
-
/** @nocollapse */ FileService.ɵprov =
|
|
930
|
-
|
|
913
|
+
/** @nocollapse */ FileService.ɵfac = function FileService_Factory(t) { return new (t || FileService)(i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(i3.TranslateService)); };
|
|
914
|
+
/** @nocollapse */ FileService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileService, factory: FileService.ɵfac, providedIn: 'root' });
|
|
915
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileService, [{
|
|
931
916
|
type: Injectable,
|
|
932
917
|
args: [{
|
|
933
918
|
providedIn: 'root'
|
|
934
919
|
}]
|
|
935
|
-
}], function () { return [{ type: ToastrService }, { type: TranslateService }]; }, null); })();
|
|
920
|
+
}], function () { return [{ type: i1$1.ToastrService }, { type: i3.TranslateService }]; }, null); })();
|
|
936
921
|
|
|
937
922
|
function PdfModalComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
923
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
924
|
+
i0.ɵɵelement(1, "iframe", 3);
|
|
925
|
+
i0.ɵɵelementEnd();
|
|
941
926
|
} if (rf & 2) {
|
|
942
|
-
const ctx_r0 =
|
|
943
|
-
|
|
944
|
-
|
|
927
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
928
|
+
i0.ɵɵadvance(1);
|
|
929
|
+
i0.ɵɵproperty("src", ctx_r0.domSanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64," + ctx_r0.pdfBase64), i0.ɵɵsanitizeResourceUrl);
|
|
945
930
|
} }
|
|
946
|
-
const _c0$
|
|
947
|
-
const _c1$
|
|
931
|
+
const _c0$5 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
932
|
+
const _c1$2 = function () { return { "overflow": "visible" }; };
|
|
948
933
|
class PdfModalComponent {
|
|
949
934
|
constructor(_pdfModalService, fileService, domSanitizer) {
|
|
950
935
|
this._pdfModalService = _pdfModalService;
|
|
@@ -1009,26 +994,26 @@ class PdfModalComponent {
|
|
|
1009
994
|
// iframe.contentWindow.print();
|
|
1010
995
|
}
|
|
1011
996
|
}
|
|
1012
|
-
/** @nocollapse */ PdfModalComponent.ɵfac = function PdfModalComponent_Factory(t) { return new (t || PdfModalComponent)(
|
|
1013
|
-
/** @nocollapse */ PdfModalComponent.ɵcmp =
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
997
|
+
/** @nocollapse */ PdfModalComponent.ɵfac = function PdfModalComponent_Factory(t) { return new (t || PdfModalComponent)(i0.ɵɵdirectiveInject(PdfModalService), i0.ɵɵdirectiveInject(FileService), i0.ɵɵdirectiveInject(i3$1.DomSanitizer)); };
|
|
998
|
+
/** @nocollapse */ PdfModalComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: PdfModalComponent, selectors: [["pdf-modal"]], decls: 2, vars: 15, consts: [[3, "visible", "modal", "minY", "baseZIndex", "blockScroll", "maximizable", "breakpoint", "contentStyle", "visibleChange"], ["style", "min-height: 90vh;", 4, "ngIf"], [2, "min-height", "90vh"], [2, "width", "100%", "height", "90vh", 3, "src"]], template: function PdfModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
999
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1000
|
+
i0.ɵɵlistener("visibleChange", function PdfModalComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.display = $event; });
|
|
1001
|
+
i0.ɵɵtemplate(1, PdfModalComponent_div_1_Template, 2, 1, "div", 1);
|
|
1002
|
+
i0.ɵɵelementEnd();
|
|
1018
1003
|
} if (rf & 2) {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
} }, directives: [Dialog, NgIf], styles: [".down[_ngcontent-%COMP%]{display:block}"] });
|
|
1024
|
-
|
|
1004
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(12, _c0$5, ctx.size + "px"));
|
|
1005
|
+
i0.ɵɵproperty("visible", ctx.display)("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("breakpoint", 840)("contentStyle", i0.ɵɵpureFunction0(14, _c1$2));
|
|
1006
|
+
i0.ɵɵadvance(1);
|
|
1007
|
+
i0.ɵɵproperty("ngIf", ctx.pdfBase64);
|
|
1008
|
+
} }, directives: [i4$2.Dialog, i8.NgIf], styles: [".down[_ngcontent-%COMP%]{display:block}"] });
|
|
1009
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalComponent, [{
|
|
1025
1010
|
type: Component,
|
|
1026
1011
|
args: [{
|
|
1027
1012
|
selector: 'pdf-modal',
|
|
1028
1013
|
templateUrl: './pdf-modal.component.html',
|
|
1029
1014
|
styleUrls: ['./pdf-modal.component.css']
|
|
1030
1015
|
}]
|
|
1031
|
-
}], function () { return [{ type: PdfModalService }, { type: FileService }, { type: DomSanitizer }]; }, null); })();
|
|
1016
|
+
}], function () { return [{ type: PdfModalService }, { type: FileService }, { type: i3$1.DomSanitizer }]; }, null); })();
|
|
1032
1017
|
|
|
1033
1018
|
class Usuario {
|
|
1034
1019
|
}
|
|
@@ -1220,105 +1205,105 @@ class AuthService {
|
|
|
1220
1205
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioActual', httpOptions);
|
|
1221
1206
|
}
|
|
1222
1207
|
}
|
|
1223
|
-
/** @nocollapse */ AuthService.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(
|
|
1224
|
-
/** @nocollapse */ AuthService.ɵprov =
|
|
1225
|
-
|
|
1208
|
+
/** @nocollapse */ AuthService.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1209
|
+
/** @nocollapse */ AuthService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' });
|
|
1210
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1226
1211
|
type: Injectable,
|
|
1227
1212
|
args: [{
|
|
1228
1213
|
providedIn: 'root'
|
|
1229
1214
|
}]
|
|
1230
|
-
}], function () { return [{ type: HttpClient }]; }, { login: [{
|
|
1215
|
+
}], function () { return [{ type: i1.HttpClient }]; }, { login: [{
|
|
1231
1216
|
type: Output
|
|
1232
1217
|
}], seleccionEmpresa: [{
|
|
1233
1218
|
type: Output
|
|
1234
1219
|
}] }); })();
|
|
1235
1220
|
|
|
1236
1221
|
function LoginModalComponent_div_6_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1222
|
+
i0.ɵɵelementStart(0, "label", 19);
|
|
1223
|
+
i0.ɵɵtext(1);
|
|
1224
|
+
i0.ɵɵpipe(2, "translate");
|
|
1225
|
+
i0.ɵɵelementEnd();
|
|
1241
1226
|
} if (rf & 2) {
|
|
1242
|
-
|
|
1243
|
-
|
|
1227
|
+
i0.ɵɵadvance(1);
|
|
1228
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Usuario.errorLogin"));
|
|
1244
1229
|
} }
|
|
1245
1230
|
function LoginModalComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
1246
|
-
const _r6 =
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1231
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
1232
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
1233
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
1234
|
+
i0.ɵɵelementStart(2, "form", 9, 10);
|
|
1235
|
+
i0.ɵɵlistener("ngSubmit", function LoginModalComponent_div_6_Template_form_ngSubmit_2_listener() { i0.ɵɵrestoreView(_r6); const _r2 = i0.ɵɵreference(3); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.entrar(_r2); });
|
|
1236
|
+
i0.ɵɵtemplate(4, LoginModalComponent_div_6_label_4_Template, 3, 3, "label", 11);
|
|
1237
|
+
i0.ɵɵelementStart(5, "div", 12);
|
|
1238
|
+
i0.ɵɵelementStart(6, "label", 13);
|
|
1239
|
+
i0.ɵɵtext(7);
|
|
1240
|
+
i0.ɵɵpipe(8, "translate");
|
|
1241
|
+
i0.ɵɵelementEnd();
|
|
1242
|
+
i0.ɵɵelementStart(9, "input", 14, 15);
|
|
1243
|
+
i0.ɵɵlistener("ngModelChange", function LoginModalComponent_div_6_Template_input_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.user.username = $event; });
|
|
1244
|
+
i0.ɵɵpipe(11, "translate");
|
|
1245
|
+
i0.ɵɵelementEnd();
|
|
1246
|
+
i0.ɵɵelementEnd();
|
|
1247
|
+
i0.ɵɵelementStart(12, "div", 12);
|
|
1248
|
+
i0.ɵɵelementStart(13, "label", 16);
|
|
1249
|
+
i0.ɵɵtext(14);
|
|
1250
|
+
i0.ɵɵpipe(15, "translate");
|
|
1251
|
+
i0.ɵɵelementEnd();
|
|
1252
|
+
i0.ɵɵelementStart(16, "input", 17);
|
|
1253
|
+
i0.ɵɵlistener("ngModelChange", function LoginModalComponent_div_6_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.user.password = $event; });
|
|
1254
|
+
i0.ɵɵpipe(17, "translate");
|
|
1255
|
+
i0.ɵɵelementEnd();
|
|
1256
|
+
i0.ɵɵelementEnd();
|
|
1257
|
+
i0.ɵɵelementStart(18, "button", 18);
|
|
1258
|
+
i0.ɵɵtext(19, "entrar");
|
|
1259
|
+
i0.ɵɵelementEnd();
|
|
1260
|
+
i0.ɵɵelementEnd();
|
|
1261
|
+
i0.ɵɵelementEnd();
|
|
1262
|
+
i0.ɵɵelementEnd();
|
|
1278
1263
|
} if (rf & 2) {
|
|
1279
|
-
const ctx_r0 =
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1264
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1265
|
+
i0.ɵɵadvance(4);
|
|
1266
|
+
i0.ɵɵproperty("ngIf", ctx_r0.error);
|
|
1267
|
+
i0.ɵɵadvance(3);
|
|
1268
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, "Usuario.username"));
|
|
1269
|
+
i0.ɵɵadvance(2);
|
|
1270
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(11, 9, "Usuario.username"));
|
|
1271
|
+
i0.ɵɵproperty("ngModel", ctx_r0.user.username);
|
|
1272
|
+
i0.ɵɵadvance(5);
|
|
1273
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 11, "Usuario.password"));
|
|
1274
|
+
i0.ɵɵadvance(2);
|
|
1275
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(17, 13, "Usuario.password"));
|
|
1276
|
+
i0.ɵɵproperty("ngModel", ctx_r0.user.password);
|
|
1292
1277
|
} }
|
|
1293
1278
|
function LoginModalComponent_div_7_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1279
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
1280
|
+
i0.ɵɵelementStart(1, "div", 23);
|
|
1281
|
+
i0.ɵɵelementStart(2, "div", 24);
|
|
1282
|
+
i0.ɵɵelementStart(3, "h5");
|
|
1283
|
+
i0.ɵɵtext(4);
|
|
1284
|
+
i0.ɵɵelementEnd();
|
|
1285
|
+
i0.ɵɵelementEnd();
|
|
1286
|
+
i0.ɵɵelementEnd();
|
|
1287
|
+
i0.ɵɵelementEnd();
|
|
1303
1288
|
} if (rf & 2) {
|
|
1304
1289
|
const empresa_r10 = ctx.$implicit;
|
|
1305
|
-
|
|
1306
|
-
|
|
1290
|
+
i0.ɵɵadvance(4);
|
|
1291
|
+
i0.ɵɵtextInterpolate1(" ", empresa_r10.nombre, " ");
|
|
1307
1292
|
} }
|
|
1308
1293
|
function LoginModalComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1294
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
1295
|
+
i0.ɵɵelementStart(1, "div", 20);
|
|
1296
|
+
i0.ɵɵelementStart(2, "h4");
|
|
1297
|
+
i0.ɵɵtext(3, "Selecciona la empresa");
|
|
1298
|
+
i0.ɵɵelementEnd();
|
|
1299
|
+
i0.ɵɵelement(4, "hr");
|
|
1300
|
+
i0.ɵɵelementEnd();
|
|
1301
|
+
i0.ɵɵtemplate(5, LoginModalComponent_div_7_div_5_Template, 5, 1, "div", 21);
|
|
1302
|
+
i0.ɵɵelementEnd();
|
|
1318
1303
|
} if (rf & 2) {
|
|
1319
|
-
const ctx_r1 =
|
|
1320
|
-
|
|
1321
|
-
|
|
1304
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1305
|
+
i0.ɵɵadvance(5);
|
|
1306
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.empresas);
|
|
1322
1307
|
} }
|
|
1323
1308
|
class LoginModalComponent {
|
|
1324
1309
|
constructor(loginModalService, authService) {
|
|
@@ -1374,28 +1359,28 @@ class LoginModalComponent {
|
|
|
1374
1359
|
});
|
|
1375
1360
|
}
|
|
1376
1361
|
}
|
|
1377
|
-
/** @nocollapse */ LoginModalComponent.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(
|
|
1378
|
-
/** @nocollapse */ LoginModalComponent.ɵcmp =
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1362
|
+
/** @nocollapse */ LoginModalComponent.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); };
|
|
1363
|
+
/** @nocollapse */ LoginModalComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoginModalComponent, selectors: [["app-login-modal"]], decls: 8, vars: 2, consts: [["id", "modalLogin", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalCenterTitle", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], ["src", "assets/img/logo_visorus_loading.png", "alt", ""], ["class", "row", 4, "ngIf"], [1, "row"], [1, "col-lg-12", "col-md-12", "col-sm-12"], [3, "ngSubmit"], ["datoForm", "ngForm"], ["class", "error", 4, "ngIf"], [1, "form-group", "mb-3"], ["for", "exampleInputEmail1"], ["type", "text", "id", "exampleInputEmail1", "aria-describedby", "emailHelp", "name", "username", "required", "", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["username", "ngModel"], ["for", "exampleInputPassword1"], ["type", "password", "id", "exampleInputPassword1", "name", "password", "required", "", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["type", "submit", "translate", "", 1, "btn", "btn-primary_low", "btn-lg", "btn-block", "my-5", "text-light"], [1, "error"], [1, "col-xl-12", "col-lg-12", "col-sm-12"], ["class", "col-xl-6 col-lg-6 col-sm-12 mb-2", "style", "cursor: pointer", 4, "ngFor", "ngForOf"], [1, "col-xl-6", "col-lg-6", "col-sm-12", "mb-2", 2, "cursor", "pointer"], [1, "card"], [1, "card-body"]], template: function LoginModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1364
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
1365
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
1366
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
1367
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
1368
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
1369
|
+
i0.ɵɵelement(5, "img", 5);
|
|
1370
|
+
i0.ɵɵelementEnd();
|
|
1371
|
+
i0.ɵɵtemplate(6, LoginModalComponent_div_6_Template, 20, 15, "div", 6);
|
|
1372
|
+
i0.ɵɵtemplate(7, LoginModalComponent_div_7_Template, 6, 1, "div", 6);
|
|
1373
|
+
i0.ɵɵelementEnd();
|
|
1374
|
+
i0.ɵɵelementEnd();
|
|
1375
|
+
i0.ɵɵelementEnd();
|
|
1376
|
+
i0.ɵɵelementEnd();
|
|
1392
1377
|
} if (rf & 2) {
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
} }, directives: [NgIf,
|
|
1398
|
-
|
|
1378
|
+
i0.ɵɵadvance(6);
|
|
1379
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1380
|
+
i0.ɵɵadvance(1);
|
|
1381
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1382
|
+
} }, directives: [i8.NgIf, i5.ɵNgNoValidate, i5.NgControlStatusGroup, i5.NgForm, i5.DefaultValueAccessor, i5.RequiredValidator, i5.NgControlStatus, i5.NgModel, i3.TranslateDirective, i8.NgForOf], pipes: [i3.TranslatePipe], styles: [".modal[_ngcontent-%COMP%]{z-index:2050!important}.btn-primary_low[_ngcontent-%COMP%]{background:#133659!important}.ng-valid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.ng-invalid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.card[_ngcontent-%COMP%]{background:#26baed;color:#fff}.card-body[_ngcontent-%COMP%]{padding:10px}"] });
|
|
1383
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1399
1384
|
type: Component,
|
|
1400
1385
|
args: [{
|
|
1401
1386
|
selector: 'app-login-modal',
|
|
@@ -1404,108 +1389,93 @@ class LoginModalComponent {
|
|
|
1404
1389
|
}]
|
|
1405
1390
|
}], function () { return [{ type: LoginModalService }, { type: AuthService }]; }, null); })();
|
|
1406
1391
|
|
|
1407
|
-
class SessionCajaService {
|
|
1408
|
-
constructor(
|
|
1409
|
-
|
|
1410
|
-
this.
|
|
1411
|
-
}
|
|
1412
|
-
getAll(params) {
|
|
1413
|
-
return this.api.get(this.endpoint, params);
|
|
1414
|
-
}
|
|
1415
|
-
get(id) {
|
|
1416
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
1417
|
-
}
|
|
1418
|
-
save(obj) {
|
|
1419
|
-
return this.api.post(this.endpoint, obj);
|
|
1420
|
-
}
|
|
1421
|
-
update(obj) {
|
|
1422
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
1423
|
-
}
|
|
1424
|
-
delete(id) {
|
|
1425
|
-
return this.api.delete(this.endpoint, id);
|
|
1392
|
+
class SessionCajaService extends CrudService {
|
|
1393
|
+
constructor(httpClient) {
|
|
1394
|
+
super(httpClient, 'sessionCaja');
|
|
1395
|
+
this.httpClient = httpClient;
|
|
1426
1396
|
}
|
|
1427
1397
|
}
|
|
1428
|
-
/** @nocollapse */ SessionCajaService.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(
|
|
1429
|
-
/** @nocollapse */ SessionCajaService.ɵprov =
|
|
1430
|
-
|
|
1398
|
+
/** @nocollapse */ SessionCajaService.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1399
|
+
/** @nocollapse */ SessionCajaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' });
|
|
1400
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
|
|
1431
1401
|
type: Injectable,
|
|
1432
1402
|
args: [{
|
|
1433
1403
|
providedIn: 'root'
|
|
1434
1404
|
}]
|
|
1435
|
-
}], function () { return [{ type:
|
|
1405
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
1436
1406
|
|
|
1437
1407
|
function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1408
|
+
i0.ɵɵelementStart(0, "a", 4);
|
|
1409
|
+
i0.ɵɵtext(1);
|
|
1410
|
+
i0.ɵɵelementEnd();
|
|
1441
1411
|
} if (rf & 2) {
|
|
1442
|
-
const ctx_r0 =
|
|
1443
|
-
|
|
1444
|
-
|
|
1412
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1413
|
+
i0.ɵɵadvance(1);
|
|
1414
|
+
i0.ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
|
|
1445
1415
|
} }
|
|
1446
1416
|
function SessionCreateComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1447
|
-
const _r4 =
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1417
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
1418
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
1419
|
+
i0.ɵɵelementStart(1, "div", 6);
|
|
1420
|
+
i0.ɵɵelementStart(2, "label", 7);
|
|
1421
|
+
i0.ɵɵtext(3, "Nombre de caja: ");
|
|
1422
|
+
i0.ɵɵelementEnd();
|
|
1423
|
+
i0.ɵɵelementStart(4, "input", 8);
|
|
1424
|
+
i0.ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.caja.nombre = $event; });
|
|
1425
|
+
i0.ɵɵelementEnd();
|
|
1426
|
+
i0.ɵɵelementEnd();
|
|
1427
|
+
i0.ɵɵelementStart(5, "div", 9);
|
|
1428
|
+
i0.ɵɵelementStart(6, "label", 10);
|
|
1429
|
+
i0.ɵɵtext(7, "Saldo: ");
|
|
1430
|
+
i0.ɵɵelementEnd();
|
|
1431
|
+
i0.ɵɵelementStart(8, "input", 11);
|
|
1432
|
+
i0.ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.session.monto = $event; });
|
|
1433
|
+
i0.ɵɵelementEnd();
|
|
1434
|
+
i0.ɵɵelementEnd();
|
|
1435
|
+
i0.ɵɵelementStart(9, "div", 9);
|
|
1436
|
+
i0.ɵɵelementStart(10, "label", 12);
|
|
1437
|
+
i0.ɵɵtext(11, "Numero Z:");
|
|
1438
|
+
i0.ɵɵelementEnd();
|
|
1439
|
+
i0.ɵɵelementStart(12, "input", 13);
|
|
1440
|
+
i0.ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.session.z = $event; });
|
|
1441
|
+
i0.ɵɵelementEnd();
|
|
1442
|
+
i0.ɵɵelementEnd();
|
|
1443
|
+
i0.ɵɵelementEnd();
|
|
1474
1444
|
} if (rf & 2) {
|
|
1475
|
-
const ctx_r1 =
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1445
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1446
|
+
i0.ɵɵadvance(4);
|
|
1447
|
+
i0.ɵɵproperty("ngModel", ctx_r1.caja.nombre)("disabled", true);
|
|
1448
|
+
i0.ɵɵadvance(4);
|
|
1449
|
+
i0.ɵɵproperty("ngModel", ctx_r1.session.monto)("disabled", ctx_r1.editMode);
|
|
1450
|
+
i0.ɵɵadvance(4);
|
|
1451
|
+
i0.ɵɵproperty("ngModel", ctx_r1.session.z)("disabled", true);
|
|
1482
1452
|
} }
|
|
1483
1453
|
function SessionCreateComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
1484
|
-
const _r10 =
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1454
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
1455
|
+
i0.ɵɵelementStart(0, "button", 17);
|
|
1456
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(2); return ctx_r9.save(); });
|
|
1457
|
+
i0.ɵɵelementEnd();
|
|
1488
1458
|
} }
|
|
1489
1459
|
function SessionCreateComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
1490
|
-
const _r12 =
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1460
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
1461
|
+
i0.ɵɵelementStart(0, "button", 18);
|
|
1462
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(2); return ctx_r11.edit(); });
|
|
1463
|
+
i0.ɵɵelementEnd();
|
|
1494
1464
|
} }
|
|
1495
1465
|
function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1496
|
-
const _r14 =
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1466
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
1467
|
+
i0.ɵɵtemplate(0, SessionCreateComponent_ng_template_5_button_0_Template, 1, 0, "button", 14);
|
|
1468
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_5_button_1_Template, 1, 0, "button", 15);
|
|
1469
|
+
i0.ɵɵelementStart(2, "button", 16);
|
|
1470
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.closeModal(); });
|
|
1471
|
+
i0.ɵɵelementEnd();
|
|
1502
1472
|
} if (rf & 2) {
|
|
1503
|
-
const ctx_r2 =
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1473
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1474
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.editMode && ctx_r2.caja);
|
|
1475
|
+
i0.ɵɵadvance(1);
|
|
1476
|
+
i0.ɵɵproperty("ngIf", ctx_r2.editMode && ctx_r2.caja);
|
|
1507
1477
|
} }
|
|
1508
|
-
const _c0$
|
|
1478
|
+
const _c0$4 = function () { return { width: "750px" }; };
|
|
1509
1479
|
class SessionCreateComponent {
|
|
1510
1480
|
constructor(sessionCajaService) {
|
|
1511
1481
|
this.sessionCajaService = sessionCajaService;
|
|
@@ -1579,24 +1549,24 @@ class SessionCreateComponent {
|
|
|
1579
1549
|
});
|
|
1580
1550
|
}
|
|
1581
1551
|
}
|
|
1582
|
-
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(
|
|
1583
|
-
/** @nocollapse */ SessionCreateComponent.ɵcmp =
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1552
|
+
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); };
|
|
1553
|
+
/** @nocollapse */ SessionCreateComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SessionCreateComponent, selectors: [["session-create"]], inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, decls: 6, vars: 9, consts: [[3, "visible", "modal", "closeOnEscape", "closable", "blockScroll", "visibleChange", "onHide", "onShow"], ["pTemplate", "header"], ["class", "grid grid-fluid", 4, "ngIf"], ["pTemplate", "footer"], [1, "text-primary"], [1, "grid", "grid-fluid"], [1, "p-field", "col-12"], ["for", "nombreCaja"], ["pInputText", "", "type", "text", "id", "nombreCaja", 3, "ngModel", "disabled", "ngModelChange"], [1, "p-field", "col-12", "md:col-6"], ["for", "saldoCaja"], ["pInputText", "", "type", "number", "id", "saldoCaja", 3, "ngModel", "disabled", "ngModelChange"], ["for", "numeroZ"], ["pInputText", "", "type", "number", "id", "numeroZ", 3, "ngModel", "disabled", "ngModelChange"], ["pButton", "", "type", "button", "label", "Guardar", "class", "p-button-sm", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "label", "Cerrar session", "class", "p-button-sm p-button-success", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "label", "Cancelar", 1, "p-button-sm", "p-button-danger", 3, "click"], ["pButton", "", "type", "button", "label", "Guardar", 1, "p-button-sm", 3, "click"], ["pButton", "", "type", "button", "label", "Cerrar session", 1, "p-button-sm", "p-button-success", 3, "click"]], template: function SessionCreateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1554
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1555
|
+
i0.ɵɵlistener("visibleChange", function SessionCreateComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showCreateSession = $event; })("onHide", function SessionCreateComponent_Template_p_dialog_onHide_0_listener() { return ctx.closeModal(); })("onShow", function SessionCreateComponent_Template_p_dialog_onShow_0_listener() { return ctx.setSession(); });
|
|
1556
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1557
|
+
i0.ɵɵtemplate(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1558
|
+
i0.ɵɵelementStart(3, "div");
|
|
1559
|
+
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1560
|
+
i0.ɵɵelementEnd();
|
|
1561
|
+
i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1562
|
+
i0.ɵɵelementEnd();
|
|
1593
1563
|
} if (rf & 2) {
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
} }, directives: [Dialog, PrimeTemplate, NgIf, DefaultValueAccessor, InputText, NgControlStatus, NgModel, NumberValueAccessor, ButtonDirective], styles: [""] });
|
|
1599
|
-
|
|
1564
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$4));
|
|
1565
|
+
i0.ɵɵproperty("visible", ctx.showCreateSession)("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1566
|
+
i0.ɵɵadvance(2);
|
|
1567
|
+
i0.ɵɵproperty("ngIf", ctx.caja);
|
|
1568
|
+
} }, directives: [i4$2.Dialog, i4$1.PrimeTemplate, i8.NgIf, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i5.NumberValueAccessor, i7.ButtonDirective], styles: [""] });
|
|
1569
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1600
1570
|
type: Component,
|
|
1601
1571
|
args: [{
|
|
1602
1572
|
selector: 'session-create',
|
|
@@ -1656,38 +1626,22 @@ class Cliente {
|
|
|
1656
1626
|
}
|
|
1657
1627
|
}
|
|
1658
1628
|
|
|
1659
|
-
class ClienteService {
|
|
1660
|
-
constructor(
|
|
1661
|
-
|
|
1662
|
-
this.endpoint = 'cliente';
|
|
1663
|
-
}
|
|
1664
|
-
getAll(params) {
|
|
1665
|
-
return this.api.get(this.endpoint, params);
|
|
1666
|
-
}
|
|
1667
|
-
get(id) {
|
|
1668
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
1669
|
-
}
|
|
1670
|
-
save(obj) {
|
|
1671
|
-
return this.api.post(this.endpoint, obj);
|
|
1672
|
-
}
|
|
1673
|
-
update(obj) {
|
|
1674
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
1675
|
-
}
|
|
1676
|
-
delete(id) {
|
|
1677
|
-
return this.api.delete(this.endpoint, id);
|
|
1629
|
+
class ClienteService extends CrudService {
|
|
1630
|
+
constructor(httpCliente) {
|
|
1631
|
+
super(httpCliente, '/cliente');
|
|
1678
1632
|
}
|
|
1679
1633
|
validar_archivos_bss(id) {
|
|
1680
|
-
return this.
|
|
1634
|
+
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
1681
1635
|
}
|
|
1682
1636
|
}
|
|
1683
|
-
/** @nocollapse */ ClienteService.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(
|
|
1684
|
-
/** @nocollapse */ ClienteService.ɵprov =
|
|
1685
|
-
|
|
1637
|
+
/** @nocollapse */ ClienteService.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1638
|
+
/** @nocollapse */ ClienteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' });
|
|
1639
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
|
|
1686
1640
|
type: Injectable,
|
|
1687
1641
|
args: [{
|
|
1688
1642
|
providedIn: 'root'
|
|
1689
1643
|
}]
|
|
1690
|
-
}], function () { return [{ type:
|
|
1644
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
1691
1645
|
|
|
1692
1646
|
class PaginateService {
|
|
1693
1647
|
constructor(translate) {
|
|
@@ -1734,124 +1688,124 @@ class PaginateService {
|
|
|
1734
1688
|
return ordenar;
|
|
1735
1689
|
}
|
|
1736
1690
|
}
|
|
1737
|
-
/** @nocollapse */ PaginateService.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(
|
|
1738
|
-
/** @nocollapse */ PaginateService.ɵprov =
|
|
1739
|
-
|
|
1691
|
+
/** @nocollapse */ PaginateService.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i3.TranslateService)); };
|
|
1692
|
+
/** @nocollapse */ PaginateService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" });
|
|
1693
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
|
|
1740
1694
|
type: Injectable,
|
|
1741
1695
|
args: [{
|
|
1742
1696
|
providedIn: "root"
|
|
1743
1697
|
}]
|
|
1744
|
-
}], function () { return [{ type: TranslateService }]; }, null); })();
|
|
1698
|
+
}], function () { return [{ type: i3.TranslateService }]; }, null); })();
|
|
1745
1699
|
|
|
1746
1700
|
function SelectClienteComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1701
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1702
|
+
i0.ɵɵelementStart(1, "th");
|
|
1703
|
+
i0.ɵɵtext(2);
|
|
1704
|
+
i0.ɵɵpipe(3, "translate");
|
|
1705
|
+
i0.ɵɵelementEnd();
|
|
1706
|
+
i0.ɵɵelementStart(4, "th");
|
|
1707
|
+
i0.ɵɵtext(5);
|
|
1708
|
+
i0.ɵɵpipe(6, "translate");
|
|
1709
|
+
i0.ɵɵelementEnd();
|
|
1710
|
+
i0.ɵɵelementStart(7, "th");
|
|
1711
|
+
i0.ɵɵtext(8);
|
|
1712
|
+
i0.ɵɵpipe(9, "translate");
|
|
1713
|
+
i0.ɵɵelementEnd();
|
|
1714
|
+
i0.ɵɵelementStart(10, "th");
|
|
1715
|
+
i0.ɵɵtext(11);
|
|
1716
|
+
i0.ɵɵpipe(12, "translate");
|
|
1717
|
+
i0.ɵɵelementEnd();
|
|
1718
|
+
i0.ɵɵelementStart(13, "th");
|
|
1719
|
+
i0.ɵɵtext(14);
|
|
1720
|
+
i0.ɵɵpipe(15, "translate");
|
|
1721
|
+
i0.ɵɵelementEnd();
|
|
1722
|
+
i0.ɵɵelementStart(16, "th");
|
|
1723
|
+
i0.ɵɵtext(17);
|
|
1724
|
+
i0.ɵɵpipe(18, "translate");
|
|
1725
|
+
i0.ɵɵelementEnd();
|
|
1726
|
+
i0.ɵɵelementEnd();
|
|
1773
1727
|
} if (rf & 2) {
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1728
|
+
i0.ɵɵadvance(2);
|
|
1729
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "clave"));
|
|
1730
|
+
i0.ɵɵadvance(3);
|
|
1731
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "razonSocial"));
|
|
1732
|
+
i0.ɵɵadvance(3);
|
|
1733
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
1734
|
+
i0.ɵɵadvance(3);
|
|
1735
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "Cliente.limiteCredito"));
|
|
1736
|
+
i0.ɵɵadvance(3);
|
|
1737
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "Cliente.plazoCredito"));
|
|
1738
|
+
i0.ɵɵadvance(3);
|
|
1739
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "Cliente.diasPago"));
|
|
1786
1740
|
} }
|
|
1787
1741
|
function SelectClienteComponent_ng_template_8_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1742
|
+
i0.ɵɵelementStart(0, "span");
|
|
1743
|
+
i0.ɵɵtext(1);
|
|
1744
|
+
i0.ɵɵpipe(2, "translate");
|
|
1745
|
+
i0.ɵɵelementEnd();
|
|
1792
1746
|
} if (rf & 2) {
|
|
1793
|
-
|
|
1794
|
-
|
|
1747
|
+
i0.ɵɵadvance(1);
|
|
1748
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
1795
1749
|
} }
|
|
1796
1750
|
function SelectClienteComponent_ng_template_8_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1751
|
+
i0.ɵɵelementStart(0, "span");
|
|
1752
|
+
i0.ɵɵtext(1);
|
|
1753
|
+
i0.ɵɵpipe(2, "translate");
|
|
1754
|
+
i0.ɵɵelementEnd();
|
|
1801
1755
|
} if (rf & 2) {
|
|
1802
|
-
|
|
1803
|
-
|
|
1756
|
+
i0.ɵɵadvance(1);
|
|
1757
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
1804
1758
|
} }
|
|
1805
1759
|
function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1760
|
+
i0.ɵɵelementStart(0, "tr", 8);
|
|
1761
|
+
i0.ɵɵelementStart(1, "td");
|
|
1762
|
+
i0.ɵɵtext(2);
|
|
1763
|
+
i0.ɵɵelementEnd();
|
|
1764
|
+
i0.ɵɵelementStart(3, "td");
|
|
1765
|
+
i0.ɵɵtext(4);
|
|
1766
|
+
i0.ɵɵelementEnd();
|
|
1767
|
+
i0.ɵɵelementStart(5, "td");
|
|
1768
|
+
i0.ɵɵtemplate(6, SelectClienteComponent_ng_template_8_span_6_Template, 3, 3, "span", 9);
|
|
1769
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_8_span_7_Template, 3, 3, "span", 9);
|
|
1770
|
+
i0.ɵɵelementEnd();
|
|
1771
|
+
i0.ɵɵelementStart(8, "td");
|
|
1772
|
+
i0.ɵɵtext(9);
|
|
1773
|
+
i0.ɵɵelementEnd();
|
|
1774
|
+
i0.ɵɵelementStart(10, "td");
|
|
1775
|
+
i0.ɵɵtext(11);
|
|
1776
|
+
i0.ɵɵelementEnd();
|
|
1777
|
+
i0.ɵɵelementStart(12, "td");
|
|
1778
|
+
i0.ɵɵtext(13);
|
|
1779
|
+
i0.ɵɵelementEnd();
|
|
1780
|
+
i0.ɵɵelementEnd();
|
|
1827
1781
|
} if (rf & 2) {
|
|
1828
1782
|
const cliente_r3 = ctx.$implicit;
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1783
|
+
i0.ɵɵproperty("pSelectableRow", cliente_r3);
|
|
1784
|
+
i0.ɵɵadvance(2);
|
|
1785
|
+
i0.ɵɵtextInterpolate(cliente_r3.codigo);
|
|
1786
|
+
i0.ɵɵadvance(2);
|
|
1787
|
+
i0.ɵɵtextInterpolate(cliente_r3.descripcionRazonSocial);
|
|
1788
|
+
i0.ɵɵadvance(2);
|
|
1789
|
+
i0.ɵɵproperty("ngIf", cliente_r3.personaFisica);
|
|
1790
|
+
i0.ɵɵadvance(1);
|
|
1791
|
+
i0.ɵɵproperty("ngIf", cliente_r3.personaMoral);
|
|
1792
|
+
i0.ɵɵadvance(2);
|
|
1793
|
+
i0.ɵɵtextInterpolate(cliente_r3.limiteCredito);
|
|
1794
|
+
i0.ɵɵadvance(2);
|
|
1795
|
+
i0.ɵɵtextInterpolate(cliente_r3.plazoCredito);
|
|
1796
|
+
i0.ɵɵadvance(2);
|
|
1797
|
+
i0.ɵɵtextInterpolate(cliente_r3.diasPago);
|
|
1844
1798
|
} }
|
|
1845
1799
|
function SelectClienteComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1800
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1801
|
+
i0.ɵɵelementStart(1, "td", 10);
|
|
1802
|
+
i0.ɵɵtext(2);
|
|
1803
|
+
i0.ɵɵpipe(3, "translate");
|
|
1804
|
+
i0.ɵɵelementEnd();
|
|
1805
|
+
i0.ɵɵelementEnd();
|
|
1852
1806
|
} if (rf & 2) {
|
|
1853
|
-
|
|
1854
|
-
|
|
1807
|
+
i0.ɵɵadvance(2);
|
|
1808
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "general.noRegistros"));
|
|
1855
1809
|
} }
|
|
1856
1810
|
class SelectClienteComponent {
|
|
1857
1811
|
constructor(clienteService, paginate) {
|
|
@@ -1908,38 +1862,38 @@ class SelectClienteComponent {
|
|
|
1908
1862
|
this.visible = false;
|
|
1909
1863
|
}
|
|
1910
1864
|
}
|
|
1911
|
-
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(
|
|
1912
|
-
/** @nocollapse */ SelectClienteComponent.ɵcmp =
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1865
|
+
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); };
|
|
1866
|
+
/** @nocollapse */ SelectClienteComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, decls: 10, vars: 17, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "scrollHeight", "350px", 3, "value", "lazy", "paginator", "rows", "totalRecords", "selection", "selectionMode", "scrollable", "loading", "onLazyLoad", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "pSelectableRow"], [4, "ngIf"], ["colspan", "6"]], template: function SelectClienteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1867
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1868
|
+
i0.ɵɵlistener("visibleChange", function SelectClienteComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectClienteComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrar(); })("onShow", function SelectClienteComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosClientes(); });
|
|
1869
|
+
i0.ɵɵpipe(1, "translate");
|
|
1870
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
1871
|
+
i0.ɵɵelementStart(3, "input", 2);
|
|
1872
|
+
i0.ɵɵlistener("ngModelChange", function SelectClienteComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectClienteComponent_Template_input_keyup_3_listener() { return ctx.aplicarFiltro(); });
|
|
1873
|
+
i0.ɵɵpipe(4, "translate");
|
|
1874
|
+
i0.ɵɵelementEnd();
|
|
1875
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1876
|
+
i0.ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1877
|
+
i0.ɵɵelementEnd();
|
|
1878
|
+
i0.ɵɵelementEnd();
|
|
1879
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1880
|
+
i0.ɵɵlistener("onLazyLoad", function SelectClienteComponent_Template_p_table_onLazyLoad_6_listener($event) { return ctx.cargarDatosClientes($event); })("selectionChange", function SelectClienteComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.clienteSeleccionado = $event; })("onRowSelect", function SelectClienteComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionaCliente($event); });
|
|
1881
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5);
|
|
1882
|
+
i0.ɵɵtemplate(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6);
|
|
1883
|
+
i0.ɵɵtemplate(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1884
|
+
i0.ɵɵelementEnd();
|
|
1885
|
+
i0.ɵɵelementEnd();
|
|
1932
1886
|
} if (rf & 2) {
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, SelectableRow, NgIf], pipes: [TranslatePipe], encapsulation: 2 });
|
|
1942
|
-
|
|
1887
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 13, "Seleccionar cliente "));
|
|
1888
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
1889
|
+
i0.ɵɵadvance(3);
|
|
1890
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 15, "buscar"), "...");
|
|
1891
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1892
|
+
i0.ɵɵadvance(3);
|
|
1893
|
+
i0.ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1894
|
+
i0.ɵɵproperty("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total)("selection", ctx.clienteSeleccionado)("scrollable", true)("loading", ctx.loading);
|
|
1895
|
+
} }, directives: [i4$2.Dialog, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i7.ButtonDirective, i8$1.Table, i4$1.PrimeTemplate, i8$1.SelectableRow, i8.NgIf], pipes: [i3.TranslatePipe], encapsulation: 2 });
|
|
1896
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1943
1897
|
type: Component,
|
|
1944
1898
|
args: [{
|
|
1945
1899
|
selector: 'select-cliente',
|
|
@@ -1968,81 +1922,66 @@ class Proveedor {
|
|
|
1968
1922
|
}
|
|
1969
1923
|
}
|
|
1970
1924
|
|
|
1971
|
-
class ProveedorService {
|
|
1972
|
-
constructor(
|
|
1973
|
-
|
|
1974
|
-
this.
|
|
1975
|
-
}
|
|
1976
|
-
getAll(params) {
|
|
1977
|
-
return this.api.get(this.endpoint, params);
|
|
1978
|
-
}
|
|
1979
|
-
get(id) {
|
|
1980
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
1981
|
-
}
|
|
1982
|
-
save(obj) {
|
|
1983
|
-
return this.api.post(this.endpoint, obj);
|
|
1984
|
-
}
|
|
1985
|
-
update(obj) {
|
|
1986
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
1987
|
-
}
|
|
1988
|
-
delete(id) {
|
|
1989
|
-
return this.api.delete(this.endpoint, id);
|
|
1925
|
+
class ProveedorService extends CrudService {
|
|
1926
|
+
constructor(httpClient) {
|
|
1927
|
+
super(httpClient, '/proveedor');
|
|
1928
|
+
this.httpClient = httpClient;
|
|
1990
1929
|
}
|
|
1991
1930
|
}
|
|
1992
|
-
/** @nocollapse */ ProveedorService.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(
|
|
1993
|
-
/** @nocollapse */ ProveedorService.ɵprov =
|
|
1994
|
-
|
|
1931
|
+
/** @nocollapse */ ProveedorService.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1932
|
+
/** @nocollapse */ ProveedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' });
|
|
1933
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
|
|
1995
1934
|
type: Injectable,
|
|
1996
1935
|
args: [{
|
|
1997
1936
|
providedIn: 'root'
|
|
1998
1937
|
}]
|
|
1999
|
-
}], function () { return [{ type:
|
|
1938
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2000
1939
|
|
|
2001
1940
|
function SelectProveedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
1941
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1942
|
+
i0.ɵɵelementStart(1, "th");
|
|
1943
|
+
i0.ɵɵtext(2);
|
|
1944
|
+
i0.ɵɵpipe(3, "translate");
|
|
1945
|
+
i0.ɵɵelementEnd();
|
|
1946
|
+
i0.ɵɵelementStart(4, "th");
|
|
1947
|
+
i0.ɵɵtext(5);
|
|
1948
|
+
i0.ɵɵpipe(6, "translate");
|
|
1949
|
+
i0.ɵɵelementEnd();
|
|
1950
|
+
i0.ɵɵelementStart(7, "th");
|
|
1951
|
+
i0.ɵɵtext(8);
|
|
1952
|
+
i0.ɵɵpipe(9, "translate");
|
|
1953
|
+
i0.ɵɵelementEnd();
|
|
1954
|
+
i0.ɵɵelementEnd();
|
|
2016
1955
|
} if (rf & 2) {
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
1956
|
+
i0.ɵɵadvance(2);
|
|
1957
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 3, "clave"));
|
|
1958
|
+
i0.ɵɵadvance(3);
|
|
1959
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 5, "razonSocial"));
|
|
1960
|
+
i0.ɵɵadvance(3);
|
|
1961
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 7, "rfc"));
|
|
2023
1962
|
} }
|
|
2024
1963
|
function SelectProveedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
1964
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1965
|
+
i0.ɵɵelementStart(1, "td");
|
|
1966
|
+
i0.ɵɵtext(2);
|
|
1967
|
+
i0.ɵɵelementEnd();
|
|
1968
|
+
i0.ɵɵelementStart(3, "td");
|
|
1969
|
+
i0.ɵɵtext(4);
|
|
1970
|
+
i0.ɵɵelementEnd();
|
|
1971
|
+
i0.ɵɵelementStart(5, "td");
|
|
1972
|
+
i0.ɵɵtext(6);
|
|
1973
|
+
i0.ɵɵelementEnd();
|
|
1974
|
+
i0.ɵɵelementEnd();
|
|
2036
1975
|
} if (rf & 2) {
|
|
2037
1976
|
const proveedor_r2 = ctx.rowData;
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
1977
|
+
i0.ɵɵadvance(2);
|
|
1978
|
+
i0.ɵɵtextInterpolate(proveedor_r2.codigo);
|
|
1979
|
+
i0.ɵɵadvance(2);
|
|
1980
|
+
i0.ɵɵtextInterpolate(proveedor_r2.descripcionRazonSocial);
|
|
1981
|
+
i0.ɵɵadvance(2);
|
|
1982
|
+
i0.ɵɵtextInterpolate(proveedor_r2.descripcionRfc);
|
|
2044
1983
|
} }
|
|
2045
|
-
const _c0$
|
|
1984
|
+
const _c0$3 = function () { return [10, 25, 50, 100, 500]; };
|
|
2046
1985
|
class SelectProveedorComponent {
|
|
2047
1986
|
constructor(proveedorService, paginanateService, translate) {
|
|
2048
1987
|
this.proveedorService = proveedorService;
|
|
@@ -2082,47 +2021,47 @@ class SelectProveedorComponent {
|
|
|
2082
2021
|
this.visible = false;
|
|
2083
2022
|
}
|
|
2084
2023
|
}
|
|
2085
|
-
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(
|
|
2086
|
-
/** @nocollapse */ SelectProveedorComponent.ɵcmp =
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2024
|
+
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); };
|
|
2025
|
+
/** @nocollapse */ SelectProveedorComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 16, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "change"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "valueChange", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"]], template: function SelectProveedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2026
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2027
|
+
i0.ɵɵlistener("visibleChange", function SelectProveedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectProveedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectProveedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosProveedores(); });
|
|
2028
|
+
i0.ɵɵpipe(1, "translate");
|
|
2029
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
2030
|
+
i0.ɵɵelementStart(3, "input", 2);
|
|
2031
|
+
i0.ɵɵlistener("ngModelChange", function SelectProveedorComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("change", function SelectProveedorComponent_Template_input_change_3_listener() { return ctx.cargarDatosProveedores(); });
|
|
2032
|
+
i0.ɵɵpipe(4, "translate");
|
|
2033
|
+
i0.ɵɵelementEnd();
|
|
2034
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
2035
|
+
i0.ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
2036
|
+
i0.ɵɵelementEnd();
|
|
2037
|
+
i0.ɵɵelementEnd();
|
|
2038
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
2039
|
+
i0.ɵɵlistener("valueChange", function SelectProveedorComponent_Template_p_table_valueChange_6_listener($event) { return ctx.proveedores = $event; })("selectionChange", function SelectProveedorComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.proveedorSeleccionado = $event; })("onRowSelect", function SelectProveedorComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionarProveedor($event); });
|
|
2040
|
+
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5);
|
|
2041
|
+
i0.ɵɵtemplate(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
2042
|
+
i0.ɵɵelementEnd();
|
|
2043
|
+
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
2044
|
+
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2045
|
+
i0.ɵɵelementEnd();
|
|
2046
|
+
i0.ɵɵelementEnd();
|
|
2108
2047
|
} if (rf & 2) {
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, Paginator], pipes: [TranslatePipe], encapsulation: 2 });
|
|
2119
|
-
|
|
2048
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 11, "ArticuloProveedor.proveedores"));
|
|
2049
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
2050
|
+
i0.ɵɵadvance(3);
|
|
2051
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 13, "buscar"), "...");
|
|
2052
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2053
|
+
i0.ɵɵadvance(3);
|
|
2054
|
+
i0.ɵɵproperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado)("scrollable", true);
|
|
2055
|
+
i0.ɵɵadvance(3);
|
|
2056
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(15, _c0$3));
|
|
2057
|
+
} }, directives: [i4$2.Dialog, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i7.ButtonDirective, i8$1.Table, i4$1.PrimeTemplate, i10.Paginator], pipes: [i3.TranslatePipe], encapsulation: 2 });
|
|
2058
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
2120
2059
|
type: Component,
|
|
2121
2060
|
args: [{
|
|
2122
2061
|
templateUrl: 'select-proveedor.component.html',
|
|
2123
2062
|
selector: 'select-proveedor'
|
|
2124
2063
|
}]
|
|
2125
|
-
}], function () { return [{ type: ProveedorService }, { type: PaginateService }, { type: TranslateService }]; }, { visible: [{
|
|
2064
|
+
}], function () { return [{ type: ProveedorService }, { type: PaginateService }, { type: i3.TranslateService }]; }, { visible: [{
|
|
2126
2065
|
type: Input
|
|
2127
2066
|
}], proveedorSeleccionado: [{
|
|
2128
2067
|
type: Input
|
|
@@ -2130,51 +2069,34 @@ class SelectProveedorComponent {
|
|
|
2130
2069
|
type: Output
|
|
2131
2070
|
}] }); })();
|
|
2132
2071
|
|
|
2133
|
-
class AlmacenService {
|
|
2134
|
-
constructor(
|
|
2135
|
-
|
|
2136
|
-
this.
|
|
2137
|
-
}
|
|
2138
|
-
getAll(params) {
|
|
2139
|
-
return this.api.get(this.endpoint, params);
|
|
2072
|
+
class AlmacenService extends CrudService {
|
|
2073
|
+
constructor(httpClient) {
|
|
2074
|
+
super(httpClient, '/almacen');
|
|
2075
|
+
this.httpClient = httpClient;
|
|
2140
2076
|
}
|
|
2141
2077
|
obtenerAlmacenEmpresa() {
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
get(id) {
|
|
2145
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
2146
|
-
}
|
|
2147
|
-
save(obj) {
|
|
2148
|
-
return this.api.post(this.endpoint, obj);
|
|
2149
|
-
}
|
|
2150
|
-
update(obj) {
|
|
2151
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
2152
|
-
}
|
|
2153
|
-
delete(id) {
|
|
2154
|
-
return this.api.delete(this.endpoint, id);
|
|
2078
|
+
let url = this.geturl() + '/obtenerAlmacenEmpresa';
|
|
2079
|
+
return this.getHttp().get(url, this.buildAuth());
|
|
2155
2080
|
}
|
|
2156
2081
|
}
|
|
2157
|
-
/** @nocollapse */ AlmacenService.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(
|
|
2158
|
-
/** @nocollapse */ AlmacenService.ɵprov =
|
|
2159
|
-
|
|
2082
|
+
/** @nocollapse */ AlmacenService.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2083
|
+
/** @nocollapse */ AlmacenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' });
|
|
2084
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
|
|
2160
2085
|
type: Injectable,
|
|
2161
2086
|
args: [{
|
|
2162
2087
|
providedIn: 'root'
|
|
2163
2088
|
}]
|
|
2164
|
-
}], function () { return [{ type:
|
|
2089
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2165
2090
|
|
|
2166
|
-
class StockService {
|
|
2167
|
-
constructor(
|
|
2168
|
-
|
|
2169
|
-
this.
|
|
2170
|
-
}
|
|
2171
|
-
getAll(params) {
|
|
2172
|
-
return this.api.get(this.endpoint, params);
|
|
2091
|
+
class StockService extends CrudService {
|
|
2092
|
+
constructor(httpClient) {
|
|
2093
|
+
super(httpClient, 'stock');
|
|
2094
|
+
this.httpClient = httpClient;
|
|
2173
2095
|
}
|
|
2174
2096
|
obtenerExistenciasArticulosDescripcion(parametros, params) {
|
|
2175
|
-
const url =
|
|
2097
|
+
const url = this.getBaseUrl() + '/stock/obtenerExistenciasArticulos';
|
|
2176
2098
|
let promesa = new Promise((resolve, reject) => {
|
|
2177
|
-
this.
|
|
2099
|
+
this.httpClient.post(url + this.serializeParams(params), parametros, this.buildAuth()).subscribe((data) => {
|
|
2178
2100
|
resolve(data);
|
|
2179
2101
|
}, (err) => {
|
|
2180
2102
|
reject(err);
|
|
@@ -2183,115 +2105,100 @@ class StockService {
|
|
|
2183
2105
|
return promesa;
|
|
2184
2106
|
}
|
|
2185
2107
|
}
|
|
2186
|
-
/** @nocollapse */ StockService.ɵfac = function StockService_Factory(t) { return new (t || StockService)(
|
|
2187
|
-
/** @nocollapse */ StockService.ɵprov =
|
|
2188
|
-
|
|
2108
|
+
/** @nocollapse */ StockService.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2109
|
+
/** @nocollapse */ StockService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' });
|
|
2110
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
|
|
2189
2111
|
type: Injectable,
|
|
2190
2112
|
args: [{
|
|
2191
2113
|
providedIn: 'root'
|
|
2192
2114
|
}]
|
|
2193
|
-
}], function () { return [{ type:
|
|
2115
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2194
2116
|
|
|
2195
|
-
class ArticuloInformacionService {
|
|
2196
|
-
constructor(
|
|
2197
|
-
|
|
2198
|
-
this.
|
|
2199
|
-
}
|
|
2200
|
-
getAll(params) {
|
|
2201
|
-
return this.api.get(this.endpoint, params);
|
|
2117
|
+
class ArticuloInformacionService extends CrudService {
|
|
2118
|
+
constructor(httpClient) {
|
|
2119
|
+
super(httpClient, 'articulo');
|
|
2120
|
+
this.httpClient = httpClient;
|
|
2202
2121
|
}
|
|
2203
2122
|
obtenerExistencias(articulo) {
|
|
2204
2123
|
let uRL = "/existenciasArticulo/" + articulo;
|
|
2205
|
-
return this.
|
|
2206
|
-
}
|
|
2207
|
-
get(id) {
|
|
2208
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
2209
|
-
}
|
|
2210
|
-
save(obj) {
|
|
2211
|
-
return this.api.post(this.endpoint, obj);
|
|
2212
|
-
}
|
|
2213
|
-
update(obj) {
|
|
2214
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
2215
|
-
}
|
|
2216
|
-
delete(id) {
|
|
2217
|
-
return this.api.delete(this.endpoint, id);
|
|
2124
|
+
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
2218
2125
|
}
|
|
2219
2126
|
}
|
|
2220
|
-
/** @nocollapse */ ArticuloInformacionService.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(
|
|
2221
|
-
/** @nocollapse */ ArticuloInformacionService.ɵprov =
|
|
2222
|
-
|
|
2127
|
+
/** @nocollapse */ ArticuloInformacionService.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2128
|
+
/** @nocollapse */ ArticuloInformacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' });
|
|
2129
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
|
|
2223
2130
|
type: Injectable,
|
|
2224
2131
|
args: [{
|
|
2225
2132
|
providedIn: 'root'
|
|
2226
2133
|
}]
|
|
2227
|
-
}], function () { return [{ type:
|
|
2134
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2228
2135
|
|
|
2229
2136
|
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
2230
|
-
|
|
2137
|
+
i0.ɵɵelement(0, "col");
|
|
2231
2138
|
} if (rf & 2) {
|
|
2232
2139
|
const col_r5 = ctx.$implicit;
|
|
2233
|
-
|
|
2140
|
+
i0.ɵɵstyleProp("width", col_r5.width);
|
|
2234
2141
|
} }
|
|
2235
2142
|
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2143
|
+
i0.ɵɵelementStart(0, "colgroup");
|
|
2144
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 7);
|
|
2145
|
+
i0.ɵɵelementEnd();
|
|
2239
2146
|
} if (rf & 2) {
|
|
2240
2147
|
const columns_r3 = ctx.$implicit;
|
|
2241
|
-
|
|
2242
|
-
|
|
2148
|
+
i0.ɵɵadvance(1);
|
|
2149
|
+
i0.ɵɵproperty("ngForOf", columns_r3);
|
|
2243
2150
|
} }
|
|
2244
2151
|
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2152
|
+
i0.ɵɵelementStart(0, "th", 9);
|
|
2153
|
+
i0.ɵɵtext(1);
|
|
2154
|
+
i0.ɵɵelementEnd();
|
|
2248
2155
|
} if (rf & 2) {
|
|
2249
2156
|
const col_r8 = ctx.$implicit;
|
|
2250
|
-
|
|
2251
|
-
|
|
2157
|
+
i0.ɵɵadvance(1);
|
|
2158
|
+
i0.ɵɵtextInterpolate1(" ", col_r8.header, " ");
|
|
2252
2159
|
} }
|
|
2253
2160
|
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2161
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2162
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 8);
|
|
2163
|
+
i0.ɵɵelementEnd();
|
|
2257
2164
|
} if (rf & 2) {
|
|
2258
2165
|
const columns_r6 = ctx.$implicit;
|
|
2259
|
-
|
|
2260
|
-
|
|
2166
|
+
i0.ɵɵadvance(1);
|
|
2167
|
+
i0.ɵɵproperty("ngForOf", columns_r6);
|
|
2261
2168
|
} }
|
|
2262
2169
|
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2170
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2171
|
+
i0.ɵɵelementStart(1, "td");
|
|
2172
|
+
i0.ɵɵtext(2);
|
|
2173
|
+
i0.ɵɵelementEnd();
|
|
2174
|
+
i0.ɵɵelementStart(3, "td");
|
|
2175
|
+
i0.ɵɵtext(4);
|
|
2176
|
+
i0.ɵɵelementEnd();
|
|
2177
|
+
i0.ɵɵelementStart(5, "td");
|
|
2178
|
+
i0.ɵɵtext(6);
|
|
2179
|
+
i0.ɵɵelementEnd();
|
|
2180
|
+
i0.ɵɵelementStart(7, "td");
|
|
2181
|
+
i0.ɵɵtext(8);
|
|
2182
|
+
i0.ɵɵelementEnd();
|
|
2183
|
+
i0.ɵɵelementStart(9, "td");
|
|
2184
|
+
i0.ɵɵtext(10);
|
|
2185
|
+
i0.ɵɵelementEnd();
|
|
2186
|
+
i0.ɵɵelementEnd();
|
|
2280
2187
|
} if (rf & 2) {
|
|
2281
2188
|
const rowData_r9 = ctx.$implicit;
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2189
|
+
i0.ɵɵadvance(2);
|
|
2190
|
+
i0.ɵɵtextInterpolate(rowData_r9.almacenCodigo);
|
|
2191
|
+
i0.ɵɵadvance(2);
|
|
2192
|
+
i0.ɵɵtextInterpolate(rowData_r9.almacenDescripcion);
|
|
2193
|
+
i0.ɵɵadvance(2);
|
|
2194
|
+
i0.ɵɵtextInterpolate(rowData_r9.ubicacionCodigo);
|
|
2195
|
+
i0.ɵɵadvance(2);
|
|
2196
|
+
i0.ɵɵtextInterpolate(rowData_r9.ubicacionDescripcion);
|
|
2197
|
+
i0.ɵɵadvance(2);
|
|
2198
|
+
i0.ɵɵtextInterpolate(rowData_r9.existencia);
|
|
2292
2199
|
} }
|
|
2293
|
-
const _c0$
|
|
2294
|
-
const _c1$
|
|
2200
|
+
const _c0$2 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2201
|
+
const _c1$1 = function () { return { width: "600px" }; };
|
|
2295
2202
|
class SeleccionArticuloInformacionComponent {
|
|
2296
2203
|
constructor(articuloInformacionService) {
|
|
2297
2204
|
this.articuloInformacionService = articuloInformacionService;
|
|
@@ -2332,31 +2239,31 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2332
2239
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
2333
2240
|
}
|
|
2334
2241
|
}
|
|
2335
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(
|
|
2336
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp =
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2242
|
+
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); };
|
|
2243
|
+
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls: 8, vars: 20, consts: [[3, "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable", "breakpoint", "onShow", "visibleChange", "onHide", "resize"], ["scrollHeight", "350px", 3, "columns", "value", "scrollable", "responsive"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], [1, "container-end"], ["pButton", "", "type", "button", "icon", "pi pi-replay", "label", "Cerrar", 1, "ui-button-raised", "ui-button-secondary", 3, "click"], [3, "width", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 4, "ngFor", "ngForOf"], ["pResizableColumn", ""]], template: function SeleccionArticuloInformacionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2244
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2245
|
+
i0.ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); })("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showModal = $event; })("onHide", function SeleccionArticuloInformacionComponent_Template_p_dialog_onHide_0_listener() { return ctx.hiddenDialog(); })("resize", function SeleccionArticuloInformacionComponent_Template_p_dialog_resize_0_listener($event) { return ctx.OnResize($event); }, false, i0.ɵɵresolveWindow);
|
|
2246
|
+
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2247
|
+
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
2248
|
+
i0.ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
2249
|
+
i0.ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2250
|
+
i0.ɵɵelementEnd();
|
|
2251
|
+
i0.ɵɵelementStart(5, "p-footer");
|
|
2252
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
2253
|
+
i0.ɵɵelementStart(7, "button", 6);
|
|
2254
|
+
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_Template_button_click_7_listener() { return ctx.hiddenDialog(); });
|
|
2255
|
+
i0.ɵɵelementEnd();
|
|
2256
|
+
i0.ɵɵelementEnd();
|
|
2257
|
+
i0.ɵɵelementEnd();
|
|
2258
|
+
i0.ɵɵelementEnd();
|
|
2352
2259
|
} if (rf & 2) {
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
} }, directives: [Dialog, Table, PrimeTemplate, Footer, ButtonDirective, NgForOf, ResizableColumn], styles: [""] });
|
|
2359
|
-
|
|
2260
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(17, _c0$2, ctx.size + "px"));
|
|
2261
|
+
i0.ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2262
|
+
i0.ɵɵadvance(1);
|
|
2263
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(19, _c1$1));
|
|
2264
|
+
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true)("responsive", true);
|
|
2265
|
+
} }, directives: [i4$2.Dialog, i8$1.Table, i4$1.PrimeTemplate, i4$1.Footer, i7.ButtonDirective, i8.NgForOf, i8$1.ResizableColumn], styles: [""] });
|
|
2266
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
2360
2267
|
type: Component,
|
|
2361
2268
|
args: [{
|
|
2362
2269
|
selector: 'lib-seleccion-articulo-informacion',
|
|
@@ -2372,321 +2279,321 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2372
2279
|
}] }); })();
|
|
2373
2280
|
|
|
2374
2281
|
function SeleccionaArticuloComponent_option_23_Template(rf, ctx) { if (rf & 1) {
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2282
|
+
i0.ɵɵelementStart(0, "option", 22);
|
|
2283
|
+
i0.ɵɵtext(1);
|
|
2284
|
+
i0.ɵɵelementEnd();
|
|
2378
2285
|
} if (rf & 2) {
|
|
2379
2286
|
const almacen_r5 = ctx.$implicit;
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2287
|
+
i0.ɵɵpropertyInterpolate("value", almacen_r5.id);
|
|
2288
|
+
i0.ɵɵadvance(1);
|
|
2289
|
+
i0.ɵɵtextInterpolate(almacen_r5.descripcion);
|
|
2383
2290
|
} }
|
|
2384
2291
|
function SeleccionaArticuloComponent_ng_template_26_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2292
|
+
i0.ɵɵelementStart(0, "th", 31);
|
|
2293
|
+
i0.ɵɵtext(1, "existenciaSecundaria");
|
|
2294
|
+
i0.ɵɵelementEnd();
|
|
2388
2295
|
} }
|
|
2389
2296
|
function SeleccionaArticuloComponent_ng_template_26_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2297
|
+
i0.ɵɵelementStart(0, "th", 25);
|
|
2298
|
+
i0.ɵɵtext(1, "Unidad");
|
|
2299
|
+
i0.ɵɵelementEnd();
|
|
2393
2300
|
} }
|
|
2394
2301
|
function SeleccionaArticuloComponent_ng_template_26_th_14_Template(rf, ctx) { if (rf & 1) {
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2302
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2303
|
+
i0.ɵɵtext(1, "Precio");
|
|
2304
|
+
i0.ɵɵelementEnd();
|
|
2398
2305
|
} }
|
|
2399
2306
|
function SeleccionaArticuloComponent_ng_template_26_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2307
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2308
|
+
i0.ɵɵtext(1, "Precio 2");
|
|
2309
|
+
i0.ɵɵelementEnd();
|
|
2403
2310
|
} }
|
|
2404
2311
|
function SeleccionaArticuloComponent_ng_template_26_th_16_Template(rf, ctx) { if (rf & 1) {
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2312
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2313
|
+
i0.ɵɵtext(1, "Precio 3");
|
|
2314
|
+
i0.ɵɵelementEnd();
|
|
2408
2315
|
} }
|
|
2409
2316
|
function SeleccionaArticuloComponent_ng_template_26_th_17_Template(rf, ctx) { if (rf & 1) {
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2317
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2318
|
+
i0.ɵɵtext(1, "Precio 4");
|
|
2319
|
+
i0.ɵɵelementEnd();
|
|
2413
2320
|
} }
|
|
2414
2321
|
function SeleccionaArticuloComponent_ng_template_26_th_18_Template(rf, ctx) { if (rf & 1) {
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2322
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2323
|
+
i0.ɵɵtext(1, "Precio 5");
|
|
2324
|
+
i0.ɵɵelementEnd();
|
|
2418
2325
|
} }
|
|
2419
2326
|
function SeleccionaArticuloComponent_ng_template_26_th_19_Template(rf, ctx) { if (rf & 1) {
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2327
|
+
i0.ɵɵelementStart(0, "th", 25);
|
|
2328
|
+
i0.ɵɵtext(1, "Movimiento.costo");
|
|
2329
|
+
i0.ɵɵelementEnd();
|
|
2423
2330
|
} }
|
|
2424
2331
|
function SeleccionaArticuloComponent_ng_template_26_th_22_Template(rf, ctx) { if (rf & 1) {
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2332
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2333
|
+
i0.ɵɵtext(1);
|
|
2334
|
+
i0.ɵɵelementEnd();
|
|
2428
2335
|
} if (rf & 2) {
|
|
2429
2336
|
const item_r15 = ctx.$implicit;
|
|
2430
|
-
|
|
2431
|
-
|
|
2337
|
+
i0.ɵɵadvance(1);
|
|
2338
|
+
i0.ɵɵtextInterpolate(item_r15.descripcion);
|
|
2432
2339
|
} }
|
|
2433
2340
|
function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2341
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2342
|
+
i0.ɵɵelementStart(1, "th", 23);
|
|
2343
|
+
i0.ɵɵtext(2, "C\u00F3digo Ubicacion");
|
|
2344
|
+
i0.ɵɵelementEnd();
|
|
2345
|
+
i0.ɵɵelementStart(3, "th", 24);
|
|
2346
|
+
i0.ɵɵtext(4, "Existencia");
|
|
2347
|
+
i0.ɵɵelementEnd();
|
|
2348
|
+
i0.ɵɵelementStart(5, "th", 25);
|
|
2349
|
+
i0.ɵɵtext(6, "Unidad");
|
|
2350
|
+
i0.ɵɵelementEnd();
|
|
2351
|
+
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_26_th_7_Template, 2, 0, "th", 26);
|
|
2352
|
+
i0.ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_26_th_8_Template, 2, 0, "th", 27);
|
|
2353
|
+
i0.ɵɵelementStart(9, "th", 23);
|
|
2354
|
+
i0.ɵɵtext(10, "C\u00F3digo");
|
|
2355
|
+
i0.ɵɵelementEnd();
|
|
2356
|
+
i0.ɵɵelementStart(11, "th", 28);
|
|
2357
|
+
i0.ɵɵtext(12, "Descripcion");
|
|
2358
|
+
i0.ɵɵelementEnd();
|
|
2359
|
+
i0.ɵɵelement(13, "th", 25);
|
|
2360
|
+
i0.ɵɵtemplate(14, SeleccionaArticuloComponent_ng_template_26_th_14_Template, 2, 0, "th", 29);
|
|
2361
|
+
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_26_th_15_Template, 2, 0, "th", 29);
|
|
2362
|
+
i0.ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_26_th_16_Template, 2, 0, "th", 29);
|
|
2363
|
+
i0.ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_26_th_17_Template, 2, 0, "th", 29);
|
|
2364
|
+
i0.ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_26_th_18_Template, 2, 0, "th", 29);
|
|
2365
|
+
i0.ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_26_th_19_Template, 2, 0, "th", 27);
|
|
2366
|
+
i0.ɵɵelementStart(20, "th", 25);
|
|
2367
|
+
i0.ɵɵtext(21, "Existencia por Unidad");
|
|
2368
|
+
i0.ɵɵelementEnd();
|
|
2369
|
+
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_26_th_22_Template, 2, 1, "th", 30);
|
|
2370
|
+
i0.ɵɵelementEnd();
|
|
2464
2371
|
} if (rf & 2) {
|
|
2465
|
-
const ctx_r2 =
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2372
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2373
|
+
i0.ɵɵadvance(7);
|
|
2374
|
+
i0.ɵɵproperty("ngIf", ctx_r2.manejaUnidadSecundaria);
|
|
2375
|
+
i0.ɵɵadvance(1);
|
|
2376
|
+
i0.ɵɵproperty("ngIf", ctx_r2.manejaUnidadSecundaria);
|
|
2377
|
+
i0.ɵɵadvance(6);
|
|
2378
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2379
|
+
i0.ɵɵadvance(1);
|
|
2380
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2381
|
+
i0.ɵɵadvance(1);
|
|
2382
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2383
|
+
i0.ɵɵadvance(1);
|
|
2384
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2385
|
+
i0.ɵɵadvance(1);
|
|
2386
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2387
|
+
i0.ɵɵadvance(1);
|
|
2388
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio === "costo");
|
|
2389
|
+
i0.ɵɵadvance(3);
|
|
2390
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.clasificadorList);
|
|
2484
2391
|
} }
|
|
2485
2392
|
function SeleccionaArticuloComponent_ng_template_27_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2393
|
+
i0.ɵɵelementStart(0, "td", 23);
|
|
2394
|
+
i0.ɵɵtext(1, "Movimiento.NoAsignado");
|
|
2395
|
+
i0.ɵɵelementEnd();
|
|
2489
2396
|
} }
|
|
2490
2397
|
function SeleccionaArticuloComponent_ng_template_27_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2398
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2399
|
+
i0.ɵɵtext(1);
|
|
2400
|
+
i0.ɵɵelementEnd();
|
|
2494
2401
|
} if (rf & 2) {
|
|
2495
|
-
const rowData_r16 =
|
|
2496
|
-
|
|
2497
|
-
|
|
2402
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2403
|
+
i0.ɵɵadvance(1);
|
|
2404
|
+
i0.ɵɵtextInterpolate(rowData_r16.ubicacionCodigo);
|
|
2498
2405
|
} }
|
|
2499
2406
|
function SeleccionaArticuloComponent_ng_template_27_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2407
|
+
i0.ɵɵelementStart(0, "td", 44);
|
|
2408
|
+
i0.ɵɵtext(1);
|
|
2409
|
+
i0.ɵɵelementEnd();
|
|
2503
2410
|
} if (rf & 2) {
|
|
2504
|
-
const rowData_r16 =
|
|
2505
|
-
|
|
2506
|
-
|
|
2411
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2412
|
+
i0.ɵɵadvance(1);
|
|
2413
|
+
i0.ɵɵtextInterpolate(rowData_r16.existenciaSecundaria);
|
|
2507
2414
|
} }
|
|
2508
2415
|
function SeleccionaArticuloComponent_ng_template_27_td_8_Template(rf, ctx) { if (rf & 1) {
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2416
|
+
i0.ɵɵelementStart(0, "td", 36);
|
|
2417
|
+
i0.ɵɵtext(1);
|
|
2418
|
+
i0.ɵɵelementEnd();
|
|
2512
2419
|
} if (rf & 2) {
|
|
2513
|
-
const rowData_r16 =
|
|
2514
|
-
|
|
2515
|
-
|
|
2420
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2421
|
+
i0.ɵɵadvance(1);
|
|
2422
|
+
i0.ɵɵtextInterpolate(rowData_r16.unidadSecundariaCodigo);
|
|
2516
2423
|
} }
|
|
2517
2424
|
function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if (rf & 1) {
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2425
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2426
|
+
i0.ɵɵtext(1);
|
|
2427
|
+
i0.ɵɵpipe(2, "currency");
|
|
2428
|
+
i0.ɵɵelementEnd();
|
|
2522
2429
|
} if (rf & 2) {
|
|
2523
|
-
const rowData_r16 =
|
|
2524
|
-
|
|
2525
|
-
|
|
2430
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2431
|
+
i0.ɵɵadvance(1);
|
|
2432
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, rowData_r16.precioConImpuestos), " ");
|
|
2526
2433
|
} }
|
|
2527
2434
|
function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if (rf & 1) {
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2435
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2436
|
+
i0.ɵɵtext(1);
|
|
2437
|
+
i0.ɵɵpipe(2, "currency");
|
|
2438
|
+
i0.ɵɵelementEnd();
|
|
2532
2439
|
} if (rf & 2) {
|
|
2533
|
-
const rowData_r16 =
|
|
2534
|
-
|
|
2535
|
-
|
|
2440
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2441
|
+
i0.ɵɵadvance(1);
|
|
2442
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio2ConImpuestos));
|
|
2536
2443
|
} }
|
|
2537
2444
|
function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if (rf & 1) {
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2445
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2446
|
+
i0.ɵɵtext(1);
|
|
2447
|
+
i0.ɵɵpipe(2, "currency");
|
|
2448
|
+
i0.ɵɵelementEnd();
|
|
2542
2449
|
} if (rf & 2) {
|
|
2543
|
-
const rowData_r16 =
|
|
2544
|
-
|
|
2545
|
-
|
|
2450
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2451
|
+
i0.ɵɵadvance(1);
|
|
2452
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio3ConImpuestos));
|
|
2546
2453
|
} }
|
|
2547
2454
|
function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if (rf & 1) {
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2455
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2456
|
+
i0.ɵɵtext(1);
|
|
2457
|
+
i0.ɵɵpipe(2, "currency");
|
|
2458
|
+
i0.ɵɵelementEnd();
|
|
2552
2459
|
} if (rf & 2) {
|
|
2553
|
-
const rowData_r16 =
|
|
2554
|
-
|
|
2555
|
-
|
|
2460
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2461
|
+
i0.ɵɵadvance(1);
|
|
2462
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio4ConImpuestos));
|
|
2556
2463
|
} }
|
|
2557
2464
|
function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if (rf & 1) {
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2465
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2466
|
+
i0.ɵɵtext(1);
|
|
2467
|
+
i0.ɵɵpipe(2, "currency");
|
|
2468
|
+
i0.ɵɵelementEnd();
|
|
2562
2469
|
} if (rf & 2) {
|
|
2563
|
-
const rowData_r16 =
|
|
2564
|
-
|
|
2565
|
-
|
|
2470
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2471
|
+
i0.ɵɵadvance(1);
|
|
2472
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio5ConImpuestos));
|
|
2566
2473
|
} }
|
|
2567
2474
|
function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if (rf & 1) {
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2475
|
+
i0.ɵɵelementStart(0, "td", 36);
|
|
2476
|
+
i0.ɵɵtext(1);
|
|
2477
|
+
i0.ɵɵpipe(2, "currency");
|
|
2478
|
+
i0.ɵɵelementEnd();
|
|
2572
2479
|
} if (rf & 2) {
|
|
2573
|
-
const rowData_r16 =
|
|
2574
|
-
|
|
2575
|
-
|
|
2480
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2481
|
+
i0.ɵɵadvance(1);
|
|
2482
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio));
|
|
2576
2483
|
} }
|
|
2577
2484
|
function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2485
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
2486
|
+
i0.ɵɵelementStart(1, "div", 46);
|
|
2487
|
+
i0.ɵɵelementStart(2, "label", 47);
|
|
2488
|
+
i0.ɵɵtext(3);
|
|
2489
|
+
i0.ɵɵelementEnd();
|
|
2490
|
+
i0.ɵɵelementEnd();
|
|
2491
|
+
i0.ɵɵelementStart(4, "div", 46);
|
|
2492
|
+
i0.ɵɵelementStart(5, "label", 47);
|
|
2493
|
+
i0.ɵɵtext(6);
|
|
2494
|
+
i0.ɵɵpipe(7, "number");
|
|
2495
|
+
i0.ɵɵelementEnd();
|
|
2496
|
+
i0.ɵɵelementEnd();
|
|
2497
|
+
i0.ɵɵelementEnd();
|
|
2591
2498
|
} if (rf & 2) {
|
|
2592
2499
|
const item_r39 = ctx.$implicit;
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2500
|
+
i0.ɵɵadvance(3);
|
|
2501
|
+
i0.ɵɵtextInterpolate(item_r39.unidad_codigo);
|
|
2502
|
+
i0.ɵɵadvance(3);
|
|
2503
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, item_r39.unidad_existencia, "1.2-2"));
|
|
2597
2504
|
} }
|
|
2598
2505
|
function SeleccionaArticuloComponent_ng_template_27_td_23_Template(rf, ctx) { if (rf & 1) {
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2506
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2507
|
+
i0.ɵɵtext(1);
|
|
2508
|
+
i0.ɵɵelementEnd();
|
|
2602
2509
|
} if (rf & 2) {
|
|
2603
2510
|
const itemData_r40 = ctx.$implicit;
|
|
2604
|
-
|
|
2605
|
-
|
|
2511
|
+
i0.ɵɵadvance(1);
|
|
2512
|
+
i0.ɵɵtextInterpolate(itemData_r40.valor);
|
|
2606
2513
|
} }
|
|
2607
2514
|
function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
2608
|
-
const _r42 =
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2515
|
+
const _r42 = i0.ɵɵgetCurrentView();
|
|
2516
|
+
i0.ɵɵelementStart(0, "tr", 32);
|
|
2517
|
+
i0.ɵɵtemplate(1, SeleccionaArticuloComponent_ng_template_27_td_1_Template, 2, 0, "td", 33);
|
|
2518
|
+
i0.ɵɵtemplate(2, SeleccionaArticuloComponent_ng_template_27_td_2_Template, 2, 1, "td", 34);
|
|
2519
|
+
i0.ɵɵelementStart(3, "td", 35);
|
|
2520
|
+
i0.ɵɵtext(4);
|
|
2521
|
+
i0.ɵɵelementEnd();
|
|
2522
|
+
i0.ɵɵelementStart(5, "td", 36);
|
|
2523
|
+
i0.ɵɵtext(6);
|
|
2524
|
+
i0.ɵɵelementEnd();
|
|
2525
|
+
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_27_td_7_Template, 2, 1, "td", 37);
|
|
2526
|
+
i0.ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_27_td_8_Template, 2, 1, "td", 38);
|
|
2527
|
+
i0.ɵɵelementStart(9, "td", 39);
|
|
2528
|
+
i0.ɵɵtext(10);
|
|
2529
|
+
i0.ɵɵelementEnd();
|
|
2530
|
+
i0.ɵɵelementStart(11, "td", 40);
|
|
2531
|
+
i0.ɵɵtext(12);
|
|
2532
|
+
i0.ɵɵelementEnd();
|
|
2533
|
+
i0.ɵɵelementStart(13, "td", 36);
|
|
2534
|
+
i0.ɵɵelementStart(14, "button", 41);
|
|
2535
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_27_Template_button_click_14_listener() { const restoredCtx = i0.ɵɵrestoreView(_r42); const rowData_r16 = restoredCtx.$implicit; const ctx_r41 = i0.ɵɵnextContext(); return ctx_r41.onShowInformacion(rowData_r16); });
|
|
2536
|
+
i0.ɵɵelementEnd();
|
|
2537
|
+
i0.ɵɵelementEnd();
|
|
2538
|
+
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_27_td_15_Template, 3, 3, "td", 34);
|
|
2539
|
+
i0.ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_27_td_16_Template, 3, 3, "td", 34);
|
|
2540
|
+
i0.ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_27_td_17_Template, 3, 3, "td", 34);
|
|
2541
|
+
i0.ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_27_td_18_Template, 3, 3, "td", 34);
|
|
2542
|
+
i0.ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_27_td_19_Template, 3, 3, "td", 34);
|
|
2543
|
+
i0.ɵɵtemplate(20, SeleccionaArticuloComponent_ng_template_27_td_20_Template, 3, 3, "td", 38);
|
|
2544
|
+
i0.ɵɵelementStart(21, "td", 36);
|
|
2545
|
+
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_27_div_22_Template, 8, 5, "div", 42);
|
|
2546
|
+
i0.ɵɵelementEnd();
|
|
2547
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_ng_template_27_td_23_Template, 2, 1, "td", 43);
|
|
2548
|
+
i0.ɵɵelementEnd();
|
|
2642
2549
|
} if (rf & 2) {
|
|
2643
2550
|
const rowData_r16 = ctx.$implicit;
|
|
2644
|
-
const ctx_r3 =
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2551
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
2552
|
+
i0.ɵɵproperty("pSelectableRow", rowData_r16);
|
|
2553
|
+
i0.ɵɵadvance(1);
|
|
2554
|
+
i0.ɵɵproperty("ngIf", !rowData_r16.ubicacionCodigo);
|
|
2555
|
+
i0.ɵɵadvance(1);
|
|
2556
|
+
i0.ɵɵproperty("ngIf", rowData_r16.ubicacionCodigo);
|
|
2557
|
+
i0.ɵɵadvance(2);
|
|
2558
|
+
i0.ɵɵtextInterpolate(rowData_r16.existencia);
|
|
2559
|
+
i0.ɵɵadvance(2);
|
|
2560
|
+
i0.ɵɵtextInterpolate(rowData_r16.unidadCodigo);
|
|
2561
|
+
i0.ɵɵadvance(1);
|
|
2562
|
+
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2563
|
+
i0.ɵɵadvance(1);
|
|
2564
|
+
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2565
|
+
i0.ɵɵadvance(2);
|
|
2566
|
+
i0.ɵɵtextInterpolate(rowData_r16.articulo.codigo);
|
|
2567
|
+
i0.ɵɵadvance(2);
|
|
2568
|
+
i0.ɵɵtextInterpolate(rowData_r16.articulo.descripcion);
|
|
2569
|
+
i0.ɵɵadvance(3);
|
|
2570
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2571
|
+
i0.ɵɵadvance(1);
|
|
2572
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2573
|
+
i0.ɵɵadvance(1);
|
|
2574
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2575
|
+
i0.ɵɵadvance(1);
|
|
2576
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2577
|
+
i0.ɵɵadvance(1);
|
|
2578
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2579
|
+
i0.ɵɵadvance(1);
|
|
2580
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
|
|
2581
|
+
i0.ɵɵadvance(2);
|
|
2582
|
+
i0.ɵɵproperty("ngForOf", rowData_r16.existenciaUnidades);
|
|
2583
|
+
i0.ɵɵadvance(1);
|
|
2584
|
+
i0.ɵɵproperty("ngForOf", rowData_r16.articuloClasificadorList);
|
|
2678
2585
|
} }
|
|
2679
2586
|
function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template(rf, ctx) { if (rf & 1) {
|
|
2680
|
-
const _r44 =
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2587
|
+
const _r44 = i0.ɵɵgetCurrentView();
|
|
2588
|
+
i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 48);
|
|
2589
|
+
i0.ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { i0.ɵɵrestoreView(_r44); const ctx_r43 = i0.ɵɵnextContext(); return ctx_r43.onEventInformacion($event); });
|
|
2590
|
+
i0.ɵɵelementEnd();
|
|
2684
2591
|
} if (rf & 2) {
|
|
2685
|
-
const ctx_r4 =
|
|
2686
|
-
|
|
2592
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
2593
|
+
i0.ɵɵproperty("showModal", ctx_r4.showModalInformacion)("articulo", ctx_r4.articuloSelected);
|
|
2687
2594
|
} }
|
|
2688
|
-
const _c0$
|
|
2689
|
-
const _c1
|
|
2595
|
+
const _c0$1 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2596
|
+
const _c1 = function () { return [10, 25, 50, 100, 500]; };
|
|
2690
2597
|
class SeleccionaArticuloComponent {
|
|
2691
2598
|
constructor(_stockService, _paginateService, _almacenService) {
|
|
2692
2599
|
this._stockService = _stockService;
|
|
@@ -2778,83 +2685,83 @@ class SeleccionaArticuloComponent {
|
|
|
2778
2685
|
this.showModalInformacion = event.status;
|
|
2779
2686
|
}
|
|
2780
2687
|
}
|
|
2781
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(
|
|
2782
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵcmp =
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2688
|
+
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); };
|
|
2689
|
+
/** @nocollapse */ SeleccionaArticuloComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, decls: 30, vars: 25, consts: [[3, "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY", "visibleChange", "onShow", "onHide"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModel", "ngModelChange", "change"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModel", "ngModelChange", "keypress"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], [2, "width", "100px"], ["for", "almacen"], ["pInputText", "", "disabled", "", "id", "almacen", 2, "width", "200px", 3, "ngModel", "ngModelChange", "change"], [3, "value", 4, "ngFor", "ngForOf"], ["scrollHeight", "400px", "selectionMode", "single", 3, "value", "scrollable", "responsive", "onRowSelect"], ["dt", ""], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "showModal", "articulo", "eventSelection", 4, "ngIf"], [3, "value"], ["translate", "", 2, "width", "80px"], ["translate", "", 2, "width", "70px"], ["translate", "", 2, "width", "40px"], ["style", "width: 50px", "translate", "", 4, "ngIf"], ["style", "width: 40px", "translate", "", 4, "ngIf"], ["translate", "", 2, "width", "120px"], ["style", "width: 80px", "translate", "", 4, "ngIf"], ["style", "width: 80px", "translate", "", 4, "ngFor", "ngForOf"], ["translate", "", 2, "width", "50px"], [3, "pSelectableRow"], ["style", "width: 80px;", "translate", "", 4, "ngIf"], ["style", "width: 80px;", 4, "ngIf"], [2, "width", "70px"], [2, "width", "40px"], ["style", "width: 50px;", 4, "ngIf"], ["style", "width: 40px;", 4, "ngIf"], [2, "width", "80px"], [2, "width", "120px"], ["pButton", "", "type", "button", "icon", "pi pi-eye", 1, "ui-button-raised", "ui-button-primary", 3, "click"], ["class", "row justify-content-between", 4, "ngFor", "ngForOf"], ["style", "width: 80px;", 4, "ngFor", "ngForOf"], [2, "width", "50px"], [1, "row", "justify-content-between"], [1, "col-lg-4"], ["for", ""], [3, "showModal", "articulo", "eventSelection"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2690
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2691
|
+
i0.ɵɵlistener("visibleChange", function SeleccionaArticuloComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showArticulos = $event; })("onShow", function SeleccionaArticuloComponent_Template_p_dialog_onShow_0_listener() { return ctx.obtenerExistenciaArticulosShow(); })("onHide", function SeleccionaArticuloComponent_Template_p_dialog_onHide_0_listener() { ctx.busquedaArticulos = { tipoBusqueda: "" }; return ctx.emitirShowArticulos(); });
|
|
2692
|
+
i0.ɵɵpipe(1, "translate");
|
|
2693
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
2694
|
+
i0.ɵɵelementStart(3, "div", 2);
|
|
2695
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
2696
|
+
i0.ɵɵelementStart(5, "div", 4);
|
|
2697
|
+
i0.ɵɵelementStart(6, "select", 5);
|
|
2698
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_6_listener($event) { return ctx.busquedaArticulos.tipoBusqueda = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_6_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2699
|
+
i0.ɵɵelementStart(7, "option", 6);
|
|
2700
|
+
i0.ɵɵtext(8, "Codigo");
|
|
2701
|
+
i0.ɵɵelementEnd();
|
|
2702
|
+
i0.ɵɵelementStart(9, "option", 7);
|
|
2703
|
+
i0.ɵɵtext(10, "Descripcion");
|
|
2704
|
+
i0.ɵɵelementEnd();
|
|
2705
|
+
i0.ɵɵelementStart(11, "option", 8);
|
|
2706
|
+
i0.ɵɵtext(12, "Coincidencia");
|
|
2707
|
+
i0.ɵɵelementEnd();
|
|
2708
|
+
i0.ɵɵelementStart(13, "option", 9);
|
|
2709
|
+
i0.ɵɵtext(14, "Igual a");
|
|
2710
|
+
i0.ɵɵelementEnd();
|
|
2711
|
+
i0.ɵɵelementEnd();
|
|
2712
|
+
i0.ɵɵelementEnd();
|
|
2713
|
+
i0.ɵɵelementStart(15, "input", 10);
|
|
2714
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_15_listener($event) { return ctx.busquedaArticulos.key = $event; })("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { return ctx.obtenerExistenciaArticulosKey($event); });
|
|
2715
|
+
i0.ɵɵelementEnd();
|
|
2716
|
+
i0.ɵɵelementStart(16, "button", 11);
|
|
2717
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { return ctx.obtenerExistenciaArticulos(); });
|
|
2718
|
+
i0.ɵɵelementEnd();
|
|
2719
|
+
i0.ɵɵelementEnd();
|
|
2720
|
+
i0.ɵɵelementEnd();
|
|
2721
|
+
i0.ɵɵelementStart(17, "div", 2);
|
|
2722
|
+
i0.ɵɵelementStart(18, "div", 3);
|
|
2723
|
+
i0.ɵɵelementStart(19, "div", 12);
|
|
2724
|
+
i0.ɵɵelementStart(20, "label", 13);
|
|
2725
|
+
i0.ɵɵtext(21, "Almacen:");
|
|
2726
|
+
i0.ɵɵelementEnd();
|
|
2727
|
+
i0.ɵɵelementEnd();
|
|
2728
|
+
i0.ɵɵelementStart(22, "select", 14);
|
|
2729
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { return ctx.movimiento.almacen = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2730
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 15);
|
|
2731
|
+
i0.ɵɵelementEnd();
|
|
2732
|
+
i0.ɵɵelementEnd();
|
|
2733
|
+
i0.ɵɵelementEnd();
|
|
2734
|
+
i0.ɵɵelementEnd();
|
|
2735
|
+
i0.ɵɵelementStart(24, "p-table", 16, 17);
|
|
2736
|
+
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2737
|
+
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18);
|
|
2738
|
+
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2739
|
+
i0.ɵɵelementEnd();
|
|
2740
|
+
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2741
|
+
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { return ctx.pagina($event); });
|
|
2742
|
+
i0.ɵɵelementEnd();
|
|
2743
|
+
i0.ɵɵelementEnd();
|
|
2744
|
+
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2838
2745
|
} if (rf & 2) {
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
} }, directives: [Dialog, SelectControlValueAccessor, InputText, NgControlStatus, NgModel, NgSelectOption,
|
|
2857
|
-
|
|
2746
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(22, _c0$1, ctx.size + "px"));
|
|
2747
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 20, "Articulos"));
|
|
2748
|
+
i0.ɵɵproperty("visible", ctx.showArticulos)("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2749
|
+
i0.ɵɵadvance(6);
|
|
2750
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2751
|
+
i0.ɵɵadvance(9);
|
|
2752
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.key);
|
|
2753
|
+
i0.ɵɵadvance(7);
|
|
2754
|
+
i0.ɵɵproperty("ngModel", ctx.movimiento.almacen);
|
|
2755
|
+
i0.ɵɵadvance(1);
|
|
2756
|
+
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2757
|
+
i0.ɵɵadvance(1);
|
|
2758
|
+
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true)("responsive", true);
|
|
2759
|
+
i0.ɵɵadvance(4);
|
|
2760
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(24, _c1));
|
|
2761
|
+
i0.ɵɵadvance(1);
|
|
2762
|
+
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2763
|
+
} }, directives: [i4$2.Dialog, i5.SelectControlValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i5.NgSelectOption, i5.ɵNgSelectMultipleOption, i5.DefaultValueAccessor, i7.ButtonDirective, i8.NgForOf, i8$1.Table, i4$1.PrimeTemplate, i10.Paginator, i8.NgIf, i3.TranslateDirective, i8$1.SelectableRow, SeleccionArticuloInformacionComponent], pipes: [i3.TranslatePipe, i8.CurrencyPipe, i8.DecimalPipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] });
|
|
2764
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2858
2765
|
type: Component,
|
|
2859
2766
|
args: [{
|
|
2860
2767
|
selector: 'app-selecciona-articulo',
|
|
@@ -2875,150 +2782,135 @@ class SeleccionaArticuloComponent {
|
|
|
2875
2782
|
type: Output
|
|
2876
2783
|
}] }); })();
|
|
2877
2784
|
|
|
2878
|
-
class AcreedorService {
|
|
2879
|
-
constructor(
|
|
2880
|
-
|
|
2881
|
-
this.
|
|
2882
|
-
}
|
|
2883
|
-
getAll(params) {
|
|
2884
|
-
return this.api.get(this.endpoint, params);
|
|
2885
|
-
}
|
|
2886
|
-
get(id) {
|
|
2887
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
2888
|
-
}
|
|
2889
|
-
save(obj) {
|
|
2890
|
-
return this.api.post(this.endpoint, obj);
|
|
2891
|
-
}
|
|
2892
|
-
update(obj) {
|
|
2893
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
2894
|
-
}
|
|
2895
|
-
delete(id) {
|
|
2896
|
-
return this.api.delete(this.endpoint, id);
|
|
2785
|
+
class AcreedorService extends CrudService {
|
|
2786
|
+
constructor(httpClient) {
|
|
2787
|
+
super(httpClient, 'acreedor');
|
|
2788
|
+
this.httpClient = httpClient;
|
|
2897
2789
|
}
|
|
2898
2790
|
}
|
|
2899
|
-
/** @nocollapse */ AcreedorService.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(
|
|
2900
|
-
/** @nocollapse */ AcreedorService.ɵprov =
|
|
2901
|
-
|
|
2791
|
+
/** @nocollapse */ AcreedorService.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2792
|
+
/** @nocollapse */ AcreedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' });
|
|
2793
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorService, [{
|
|
2902
2794
|
type: Injectable,
|
|
2903
2795
|
args: [{
|
|
2904
2796
|
providedIn: 'root'
|
|
2905
2797
|
}]
|
|
2906
|
-
}], function () { return [{ type:
|
|
2798
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2907
2799
|
|
|
2908
2800
|
function SelectAcreedorComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2801
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2802
|
+
i0.ɵɵelementStart(1, "th");
|
|
2803
|
+
i0.ɵɵtext(2);
|
|
2804
|
+
i0.ɵɵpipe(3, "translate");
|
|
2805
|
+
i0.ɵɵelementEnd();
|
|
2806
|
+
i0.ɵɵelementStart(4, "th");
|
|
2807
|
+
i0.ɵɵtext(5);
|
|
2808
|
+
i0.ɵɵpipe(6, "translate");
|
|
2809
|
+
i0.ɵɵelementEnd();
|
|
2810
|
+
i0.ɵɵelementStart(7, "th");
|
|
2811
|
+
i0.ɵɵtext(8);
|
|
2812
|
+
i0.ɵɵpipe(9, "translate");
|
|
2813
|
+
i0.ɵɵelementEnd();
|
|
2814
|
+
i0.ɵɵelementStart(10, "th");
|
|
2815
|
+
i0.ɵɵtext(11);
|
|
2816
|
+
i0.ɵɵpipe(12, "translate");
|
|
2817
|
+
i0.ɵɵelementEnd();
|
|
2818
|
+
i0.ɵɵelementStart(13, "th");
|
|
2819
|
+
i0.ɵɵtext(14);
|
|
2820
|
+
i0.ɵɵpipe(15, "translate");
|
|
2821
|
+
i0.ɵɵelementEnd();
|
|
2822
|
+
i0.ɵɵelementStart(16, "th");
|
|
2823
|
+
i0.ɵɵtext(17);
|
|
2824
|
+
i0.ɵɵpipe(18, "translate");
|
|
2825
|
+
i0.ɵɵelementEnd();
|
|
2826
|
+
i0.ɵɵelementEnd();
|
|
2935
2827
|
} if (rf & 2) {
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2828
|
+
i0.ɵɵadvance(2);
|
|
2829
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "razonSocial"));
|
|
2830
|
+
i0.ɵɵadvance(3);
|
|
2831
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "rfc"));
|
|
2832
|
+
i0.ɵɵadvance(3);
|
|
2833
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
2834
|
+
i0.ɵɵadvance(3);
|
|
2835
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "atrasoDiasEntrega"));
|
|
2836
|
+
i0.ɵɵadvance(3);
|
|
2837
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "limiteCredito"));
|
|
2838
|
+
i0.ɵɵadvance(3);
|
|
2839
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "fechaUltimaCompra"));
|
|
2948
2840
|
} }
|
|
2949
2841
|
function SelectAcreedorComponent_ng_template_7_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2842
|
+
i0.ɵɵelementStart(0, "span");
|
|
2843
|
+
i0.ɵɵtext(1);
|
|
2844
|
+
i0.ɵɵpipe(2, "translate");
|
|
2845
|
+
i0.ɵɵelementEnd();
|
|
2954
2846
|
} if (rf & 2) {
|
|
2955
|
-
|
|
2956
|
-
|
|
2847
|
+
i0.ɵɵadvance(1);
|
|
2848
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
2957
2849
|
} }
|
|
2958
2850
|
function SelectAcreedorComponent_ng_template_7_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2851
|
+
i0.ɵɵelementStart(0, "span");
|
|
2852
|
+
i0.ɵɵtext(1);
|
|
2853
|
+
i0.ɵɵpipe(2, "translate");
|
|
2854
|
+
i0.ɵɵelementEnd();
|
|
2963
2855
|
} if (rf & 2) {
|
|
2964
|
-
|
|
2965
|
-
|
|
2856
|
+
i0.ɵɵadvance(1);
|
|
2857
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
2966
2858
|
} }
|
|
2967
2859
|
function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2860
|
+
i0.ɵɵelementStart(0, "tr", 9);
|
|
2861
|
+
i0.ɵɵelementStart(1, "td");
|
|
2862
|
+
i0.ɵɵtext(2);
|
|
2863
|
+
i0.ɵɵelementEnd();
|
|
2864
|
+
i0.ɵɵelementStart(3, "td");
|
|
2865
|
+
i0.ɵɵtext(4);
|
|
2866
|
+
i0.ɵɵelementEnd();
|
|
2867
|
+
i0.ɵɵelementStart(5, "td");
|
|
2868
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_7_span_6_Template, 3, 3, "span", 10);
|
|
2869
|
+
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_span_7_Template, 3, 3, "span", 10);
|
|
2870
|
+
i0.ɵɵelementEnd();
|
|
2871
|
+
i0.ɵɵelementStart(8, "td");
|
|
2872
|
+
i0.ɵɵtext(9);
|
|
2873
|
+
i0.ɵɵelementEnd();
|
|
2874
|
+
i0.ɵɵelementStart(10, "td");
|
|
2875
|
+
i0.ɵɵtext(11);
|
|
2876
|
+
i0.ɵɵelementEnd();
|
|
2877
|
+
i0.ɵɵelementStart(12, "td");
|
|
2878
|
+
i0.ɵɵtext(13);
|
|
2879
|
+
i0.ɵɵpipe(14, "date");
|
|
2880
|
+
i0.ɵɵelementEnd();
|
|
2881
|
+
i0.ɵɵelementEnd();
|
|
2990
2882
|
} if (rf & 2) {
|
|
2991
2883
|
const acreedor_r3 = ctx.$implicit;
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
2884
|
+
i0.ɵɵproperty("pSelectableRow", acreedor_r3);
|
|
2885
|
+
i0.ɵɵadvance(2);
|
|
2886
|
+
i0.ɵɵtextInterpolate(acreedor_r3.descripcionRazonSocial);
|
|
2887
|
+
i0.ɵɵadvance(2);
|
|
2888
|
+
i0.ɵɵtextInterpolate(acreedor_r3.descripcionRfc);
|
|
2889
|
+
i0.ɵɵadvance(2);
|
|
2890
|
+
i0.ɵɵproperty("ngIf", acreedor_r3.personaMoral);
|
|
2891
|
+
i0.ɵɵadvance(1);
|
|
2892
|
+
i0.ɵɵproperty("ngIf", acreedor_r3.personaFisica);
|
|
2893
|
+
i0.ɵɵadvance(2);
|
|
2894
|
+
i0.ɵɵtextInterpolate(acreedor_r3.atrasoDiasEntrega);
|
|
2895
|
+
i0.ɵɵadvance(2);
|
|
2896
|
+
i0.ɵɵtextInterpolate(acreedor_r3.limiteCredito);
|
|
2897
|
+
i0.ɵɵadvance(2);
|
|
2898
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 8, acreedor_r3.fechaUltimaCompra, "dd/MM/yyyy"));
|
|
3007
2899
|
} }
|
|
3008
2900
|
function SelectAcreedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
2901
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2902
|
+
i0.ɵɵelementStart(1, "td");
|
|
2903
|
+
i0.ɵɵtext(2);
|
|
2904
|
+
i0.ɵɵpipe(3, "translate");
|
|
2905
|
+
i0.ɵɵelementEnd();
|
|
2906
|
+
i0.ɵɵelementEnd();
|
|
3015
2907
|
} if (rf & 2) {
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
2908
|
+
i0.ɵɵadvance(1);
|
|
2909
|
+
i0.ɵɵattribute("colspan", 6);
|
|
2910
|
+
i0.ɵɵadvance(1);
|
|
2911
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "general.noRegistros"));
|
|
3020
2912
|
} }
|
|
3021
|
-
const _c0
|
|
2913
|
+
const _c0 = function () { return [10, 25, 50, 100, 500]; };
|
|
3022
2914
|
class SelectAcreedorComponent {
|
|
3023
2915
|
constructor(acreedorService, paginanateService, translate) {
|
|
3024
2916
|
this.acreedorService = acreedorService;
|
|
@@ -3058,46 +2950,46 @@ class SelectAcreedorComponent {
|
|
|
3058
2950
|
this.visible = false;
|
|
3059
2951
|
}
|
|
3060
2952
|
}
|
|
3061
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(
|
|
3062
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵcmp =
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
2953
|
+
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); };
|
|
2954
|
+
/** @nocollapse */ SelectAcreedorComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 14, consts: [["header", "Selecciona el acreedor", 3, "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "responsive", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "pSelectableRow"], [4, "ngIf"]], template: function SelectAcreedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2955
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2956
|
+
i0.ɵɵlistener("visibleChange", function SelectAcreedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectAcreedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectAcreedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2957
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
2958
|
+
i0.ɵɵelementStart(2, "input", 2);
|
|
2959
|
+
i0.ɵɵlistener("ngModelChange", function SelectAcreedorComponent_Template_input_ngModelChange_2_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectAcreedorComponent_Template_input_keyup_2_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2960
|
+
i0.ɵɵpipe(3, "translate");
|
|
2961
|
+
i0.ɵɵelementEnd();
|
|
2962
|
+
i0.ɵɵelementStart(4, "button", 3);
|
|
2963
|
+
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2964
|
+
i0.ɵɵelementEnd();
|
|
2965
|
+
i0.ɵɵelementEnd();
|
|
2966
|
+
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2967
|
+
i0.ɵɵlistener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_5_listener($event) { return ctx.acreedorSeleccionado = $event; })("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_5_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
2968
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
2969
|
+
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
2970
|
+
i0.ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2971
|
+
i0.ɵɵelementEnd();
|
|
2972
|
+
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2973
|
+
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2974
|
+
i0.ɵɵelementEnd();
|
|
2975
|
+
i0.ɵɵelementEnd();
|
|
3084
2976
|
} if (rf & 2) {
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, Paginator, SelectableRow, NgIf], pipes: [TranslatePipe, DatePipe], encapsulation: 2 });
|
|
3094
|
-
|
|
2977
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
2978
|
+
i0.ɵɵadvance(2);
|
|
2979
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 11, "buscar"), "...");
|
|
2980
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2981
|
+
i0.ɵɵadvance(3);
|
|
2982
|
+
i0.ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true)("responsive", true);
|
|
2983
|
+
i0.ɵɵadvance(4);
|
|
2984
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
2985
|
+
} }, directives: [i4$2.Dialog, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i7.ButtonDirective, i8$1.Table, i4$1.PrimeTemplate, i10.Paginator, i8$1.SelectableRow, i8.NgIf], pipes: [i3.TranslatePipe, i8.DatePipe], encapsulation: 2 });
|
|
2986
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
3095
2987
|
type: Component,
|
|
3096
2988
|
args: [{
|
|
3097
2989
|
templateUrl: 'select-acreedor.component.html',
|
|
3098
2990
|
selector: 'select-acreedor'
|
|
3099
2991
|
}]
|
|
3100
|
-
}], function () { return [{ type: AcreedorService }, { type: PaginateService }, { type: TranslateService }]; }, { visible: [{
|
|
2992
|
+
}], function () { return [{ type: AcreedorService }, { type: PaginateService }, { type: i3.TranslateService }]; }, { visible: [{
|
|
3101
2993
|
type: Input
|
|
3102
2994
|
}], acreedorSeleccionado: [{
|
|
3103
2995
|
type: Input
|
|
@@ -3160,8 +3052,9 @@ function HttpLoaderFactory(http) {
|
|
|
3160
3052
|
}
|
|
3161
3053
|
class CoreLibModule {
|
|
3162
3054
|
}
|
|
3163
|
-
/** @nocollapse */ CoreLibModule.ɵ
|
|
3164
|
-
/** @nocollapse */ CoreLibModule.ɵ
|
|
3055
|
+
/** @nocollapse */ CoreLibModule.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); };
|
|
3056
|
+
/** @nocollapse */ CoreLibModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule });
|
|
3057
|
+
/** @nocollapse */ CoreLibModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
3165
3058
|
primeNgServices,
|
|
3166
3059
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
3167
3060
|
], imports: [[
|
|
@@ -3177,8 +3070,7 @@ class CoreLibModule {
|
|
|
3177
3070
|
}
|
|
3178
3071
|
})
|
|
3179
3072
|
]] });
|
|
3180
|
-
(function () { (typeof
|
|
3181
|
-
/*@__PURE__*/ (function () { ɵsetClassMetadata(CoreLibModule, [{
|
|
3073
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
|
|
3182
3074
|
type: NgModule,
|
|
3183
3075
|
args: [{
|
|
3184
3076
|
declarations: [
|
|
@@ -3207,6 +3099,7 @@ class CoreLibModule {
|
|
|
3207
3099
|
exports: [components, contaComponents]
|
|
3208
3100
|
}]
|
|
3209
3101
|
}], null, null); })();
|
|
3102
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CoreLibModule, { declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i8$1.TableModule, i4.TreeTableModule, i20.CalendarModule, i8$1.TableModule, i7.ButtonModule, i6.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i10.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i4$2.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, FormsModule, i1$1.ToastrModule, i3.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent] }); })();
|
|
3210
3103
|
|
|
3211
3104
|
class ControlAccesoService {
|
|
3212
3105
|
constructor(authService) {
|
|
@@ -3234,9 +3127,9 @@ class ControlAccesoService {
|
|
|
3234
3127
|
return permiso;
|
|
3235
3128
|
}
|
|
3236
3129
|
}
|
|
3237
|
-
/** @nocollapse */ ControlAccesoService.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(
|
|
3238
|
-
/** @nocollapse */ ControlAccesoService.ɵprov =
|
|
3239
|
-
|
|
3130
|
+
/** @nocollapse */ ControlAccesoService.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); };
|
|
3131
|
+
/** @nocollapse */ ControlAccesoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' });
|
|
3132
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
|
|
3240
3133
|
type: Injectable,
|
|
3241
3134
|
args: [{
|
|
3242
3135
|
providedIn: 'root'
|
|
@@ -3283,14 +3176,14 @@ class InitService {
|
|
|
3283
3176
|
});
|
|
3284
3177
|
}
|
|
3285
3178
|
}
|
|
3286
|
-
/** @nocollapse */ InitService.ɵfac = function InitService_Factory(t) { return new (t || InitService)(
|
|
3287
|
-
/** @nocollapse */ InitService.ɵprov =
|
|
3288
|
-
|
|
3179
|
+
/** @nocollapse */ InitService.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); };
|
|
3180
|
+
/** @nocollapse */ InitService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' });
|
|
3181
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
|
|
3289
3182
|
type: Injectable,
|
|
3290
3183
|
args: [{
|
|
3291
3184
|
providedIn: 'root'
|
|
3292
3185
|
}]
|
|
3293
|
-
}], function () { return [{ type: HttpClient }, { type: AuthService }]; }, null); })();
|
|
3186
|
+
}], function () { return [{ type: i1.HttpClient }, { type: AuthService }]; }, null); })();
|
|
3294
3187
|
|
|
3295
3188
|
class MessageService {
|
|
3296
3189
|
constructor(toastr) {
|
|
@@ -3358,44 +3251,28 @@ class MessageService {
|
|
|
3358
3251
|
return msgs;
|
|
3359
3252
|
}
|
|
3360
3253
|
}
|
|
3361
|
-
/** @nocollapse */ MessageService.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(
|
|
3362
|
-
/** @nocollapse */ MessageService.ɵprov =
|
|
3363
|
-
|
|
3254
|
+
/** @nocollapse */ MessageService.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); };
|
|
3255
|
+
/** @nocollapse */ MessageService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' });
|
|
3256
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
|
|
3364
3257
|
type: Injectable,
|
|
3365
3258
|
args: [{
|
|
3366
3259
|
providedIn: 'root'
|
|
3367
3260
|
}]
|
|
3368
|
-
}], function () { return [{ type: ToastrService }]; }, null); })();
|
|
3261
|
+
}], function () { return [{ type: i1$1.ToastrService }]; }, null); })();
|
|
3369
3262
|
|
|
3370
|
-
class PersonaMoralService {
|
|
3371
|
-
constructor(
|
|
3372
|
-
|
|
3373
|
-
this.endpoint = 'personaMoral';
|
|
3374
|
-
}
|
|
3375
|
-
getAll(params) {
|
|
3376
|
-
return this.api.get(this.endpoint, params);
|
|
3377
|
-
}
|
|
3378
|
-
get(id) {
|
|
3379
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3380
|
-
}
|
|
3381
|
-
save(obj) {
|
|
3382
|
-
return this.api.post(this.endpoint, obj);
|
|
3383
|
-
}
|
|
3384
|
-
update(obj) {
|
|
3385
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3386
|
-
}
|
|
3387
|
-
delete(id) {
|
|
3388
|
-
return this.api.delete(this.endpoint, id);
|
|
3263
|
+
class PersonaMoralService extends CrudService {
|
|
3264
|
+
constructor(http) {
|
|
3265
|
+
super(http, '/personaMoral');
|
|
3389
3266
|
}
|
|
3390
3267
|
}
|
|
3391
|
-
/** @nocollapse */ PersonaMoralService.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(
|
|
3392
|
-
/** @nocollapse */ PersonaMoralService.ɵprov =
|
|
3393
|
-
|
|
3268
|
+
/** @nocollapse */ PersonaMoralService.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3269
|
+
/** @nocollapse */ PersonaMoralService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' });
|
|
3270
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
|
|
3394
3271
|
type: Injectable,
|
|
3395
3272
|
args: [{
|
|
3396
3273
|
providedIn: 'root'
|
|
3397
3274
|
}]
|
|
3398
|
-
}], function () { return [{ type:
|
|
3275
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3399
3276
|
|
|
3400
3277
|
class CanActivateGuard {
|
|
3401
3278
|
constructor(controlAccesoService) {
|
|
@@ -3410,44 +3287,29 @@ class CanActivateGuard {
|
|
|
3410
3287
|
this.rol = rol;
|
|
3411
3288
|
}
|
|
3412
3289
|
}
|
|
3413
|
-
/** @nocollapse */ CanActivateGuard.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(
|
|
3414
|
-
/** @nocollapse */ CanActivateGuard.ɵprov =
|
|
3415
|
-
|
|
3290
|
+
/** @nocollapse */ CanActivateGuard.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); };
|
|
3291
|
+
/** @nocollapse */ CanActivateGuard.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' });
|
|
3292
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
|
|
3416
3293
|
type: Injectable,
|
|
3417
3294
|
args: [{
|
|
3418
3295
|
providedIn: 'root'
|
|
3419
3296
|
}]
|
|
3420
3297
|
}], function () { return [{ type: ControlAccesoService }]; }, null); })();
|
|
3421
3298
|
|
|
3422
|
-
class CatalogoAdicionalService {
|
|
3423
|
-
constructor(
|
|
3424
|
-
|
|
3425
|
-
this.
|
|
3426
|
-
}
|
|
3427
|
-
getAll(params) {
|
|
3428
|
-
return this.api.get(this.endpoint, params);
|
|
3429
|
-
}
|
|
3430
|
-
get(id) {
|
|
3431
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3432
|
-
}
|
|
3433
|
-
save(obj) {
|
|
3434
|
-
return this.api.post(this.endpoint, obj);
|
|
3435
|
-
}
|
|
3436
|
-
update(obj) {
|
|
3437
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3438
|
-
}
|
|
3439
|
-
delete(id) {
|
|
3440
|
-
return this.api.delete(this.endpoint, id);
|
|
3299
|
+
class CatalogoAdicionalService extends CrudService {
|
|
3300
|
+
constructor(httpClient) {
|
|
3301
|
+
super(httpClient, 'catalogoAdicional');
|
|
3302
|
+
this.httpClient = httpClient;
|
|
3441
3303
|
}
|
|
3442
3304
|
}
|
|
3443
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(
|
|
3444
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵprov =
|
|
3445
|
-
|
|
3305
|
+
/** @nocollapse */ CatalogoAdicionalService.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3306
|
+
/** @nocollapse */ CatalogoAdicionalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' });
|
|
3307
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
|
|
3446
3308
|
type: Injectable,
|
|
3447
3309
|
args: [{
|
|
3448
3310
|
providedIn: 'root'
|
|
3449
3311
|
}]
|
|
3450
|
-
}], function () { return [{ type:
|
|
3312
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3451
3313
|
|
|
3452
3314
|
class Authenticated {
|
|
3453
3315
|
constructor(authService, controlAccesoService, router) {
|
|
@@ -3509,14 +3371,14 @@ class Authenticated {
|
|
|
3509
3371
|
window.location.href = host;
|
|
3510
3372
|
}
|
|
3511
3373
|
}
|
|
3512
|
-
/** @nocollapse */ Authenticated.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(
|
|
3513
|
-
/** @nocollapse */ Authenticated.ɵprov =
|
|
3514
|
-
|
|
3374
|
+
/** @nocollapse */ Authenticated.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$2.Router)); };
|
|
3375
|
+
/** @nocollapse */ Authenticated.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' });
|
|
3376
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
|
|
3515
3377
|
type: Injectable,
|
|
3516
3378
|
args: [{
|
|
3517
3379
|
providedIn: 'root'
|
|
3518
3380
|
}]
|
|
3519
|
-
}], function () { return [{ type: AuthService }, { type: ControlAccesoService }, { type: Router }]; }, null); })();
|
|
3381
|
+
}], function () { return [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$2.Router }]; }, null); })();
|
|
3520
3382
|
|
|
3521
3383
|
class VersionCheckService {
|
|
3522
3384
|
constructor(http) {
|
|
@@ -3557,50 +3419,41 @@ class VersionCheckService {
|
|
|
3557
3419
|
return currentHash === newHash;
|
|
3558
3420
|
}
|
|
3559
3421
|
}
|
|
3560
|
-
/** @nocollapse */ VersionCheckService.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(
|
|
3561
|
-
/** @nocollapse */ VersionCheckService.ɵprov =
|
|
3562
|
-
|
|
3422
|
+
/** @nocollapse */ VersionCheckService.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3423
|
+
/** @nocollapse */ VersionCheckService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' });
|
|
3424
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
|
|
3563
3425
|
type: Injectable,
|
|
3564
3426
|
args: [{
|
|
3565
3427
|
providedIn: 'root'
|
|
3566
3428
|
}]
|
|
3567
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3429
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3568
3430
|
|
|
3569
|
-
class AgenteService {
|
|
3570
|
-
constructor(
|
|
3571
|
-
|
|
3572
|
-
this.
|
|
3431
|
+
class AgenteService extends CrudService {
|
|
3432
|
+
constructor(httpClient) {
|
|
3433
|
+
super(httpClient, 'agente');
|
|
3434
|
+
this.httpClient = httpClient;
|
|
3573
3435
|
}
|
|
3574
3436
|
saveUsuarioAgente(usuario) {
|
|
3575
|
-
|
|
3437
|
+
let url = this.getUrl('agente') + '/usuario';
|
|
3438
|
+
return this.getHttp().post(url, usuario, this.buildAuth());
|
|
3576
3439
|
}
|
|
3577
3440
|
getUsuarioAgente(id) {
|
|
3578
|
-
|
|
3441
|
+
let url = this.getUrl('agente') + '/usuario/' + id;
|
|
3442
|
+
return this.getHttp().get(url, this.buildAuth());
|
|
3579
3443
|
}
|
|
3580
3444
|
obtenerAgenteEmpresa() {
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
get(id) {
|
|
3584
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3585
|
-
}
|
|
3586
|
-
save(obj) {
|
|
3587
|
-
return this.api.post(this.endpoint, obj);
|
|
3588
|
-
}
|
|
3589
|
-
update(obj) {
|
|
3590
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3591
|
-
}
|
|
3592
|
-
delete(id) {
|
|
3593
|
-
return this.api.delete(this.endpoint, id);
|
|
3445
|
+
let url = this.geturl() + '/obtenerAgenteEmpresa';
|
|
3446
|
+
return this.getHttp().get(url, this.buildAuth());
|
|
3594
3447
|
}
|
|
3595
3448
|
}
|
|
3596
|
-
/** @nocollapse */ AgenteService.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(
|
|
3597
|
-
/** @nocollapse */ AgenteService.ɵprov =
|
|
3598
|
-
|
|
3449
|
+
/** @nocollapse */ AgenteService.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3450
|
+
/** @nocollapse */ AgenteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' });
|
|
3451
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
|
|
3599
3452
|
type: Injectable,
|
|
3600
3453
|
args: [{
|
|
3601
3454
|
providedIn: 'root'
|
|
3602
3455
|
}]
|
|
3603
|
-
}], function () { return [{ type:
|
|
3456
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3604
3457
|
|
|
3605
3458
|
class Almacen {
|
|
3606
3459
|
constructor() { }
|
|
@@ -3617,133 +3470,69 @@ class Banco {
|
|
|
3617
3470
|
}
|
|
3618
3471
|
}
|
|
3619
3472
|
|
|
3620
|
-
class BancoService {
|
|
3621
|
-
constructor(
|
|
3622
|
-
|
|
3623
|
-
this.endpoint = 'banco';
|
|
3624
|
-
}
|
|
3625
|
-
getAll(params) {
|
|
3626
|
-
return this.api.get(this.endpoint, params);
|
|
3627
|
-
}
|
|
3628
|
-
get(id) {
|
|
3629
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3630
|
-
}
|
|
3631
|
-
save(obj) {
|
|
3632
|
-
return this.api.post(this.endpoint, obj);
|
|
3633
|
-
}
|
|
3634
|
-
update(obj) {
|
|
3635
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3636
|
-
}
|
|
3637
|
-
delete(id) {
|
|
3638
|
-
return this.api.delete(this.endpoint, id);
|
|
3473
|
+
class BancoService extends CrudService {
|
|
3474
|
+
constructor(http) {
|
|
3475
|
+
super(http, '/banco');
|
|
3639
3476
|
}
|
|
3640
3477
|
}
|
|
3641
|
-
/** @nocollapse */ BancoService.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(
|
|
3642
|
-
/** @nocollapse */ BancoService.ɵprov =
|
|
3643
|
-
|
|
3478
|
+
/** @nocollapse */ BancoService.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3479
|
+
/** @nocollapse */ BancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' });
|
|
3480
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
|
|
3644
3481
|
type: Injectable,
|
|
3645
3482
|
args: [{
|
|
3646
3483
|
providedIn: 'root'
|
|
3647
3484
|
}]
|
|
3648
|
-
}], function () { return [{ type:
|
|
3485
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3649
3486
|
|
|
3650
3487
|
class CatalogoTipo {
|
|
3651
3488
|
constructor() { }
|
|
3652
3489
|
}
|
|
3653
3490
|
|
|
3654
|
-
class CatalogoTipoService {
|
|
3655
|
-
constructor(
|
|
3656
|
-
|
|
3657
|
-
this.endpoint = 'catalogoTipo';
|
|
3658
|
-
}
|
|
3659
|
-
getAll(params) {
|
|
3660
|
-
return this.api.get(this.endpoint, params);
|
|
3661
|
-
}
|
|
3662
|
-
get(id) {
|
|
3663
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3664
|
-
}
|
|
3665
|
-
save(obj) {
|
|
3666
|
-
return this.api.post(this.endpoint, obj);
|
|
3667
|
-
}
|
|
3668
|
-
update(obj) {
|
|
3669
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3670
|
-
}
|
|
3671
|
-
delete(id) {
|
|
3672
|
-
return this.api.delete(this.endpoint, id);
|
|
3491
|
+
class CatalogoTipoService extends CrudService {
|
|
3492
|
+
constructor(htt) {
|
|
3493
|
+
super(htt, '/catalogoTipo');
|
|
3673
3494
|
}
|
|
3674
3495
|
}
|
|
3675
|
-
/** @nocollapse */ CatalogoTipoService.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(
|
|
3676
|
-
/** @nocollapse */ CatalogoTipoService.ɵprov =
|
|
3677
|
-
|
|
3496
|
+
/** @nocollapse */ CatalogoTipoService.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3497
|
+
/** @nocollapse */ CatalogoTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' });
|
|
3498
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
|
|
3678
3499
|
type: Injectable,
|
|
3679
3500
|
args: [{
|
|
3680
3501
|
providedIn: 'root'
|
|
3681
3502
|
}]
|
|
3682
|
-
}], function () { return [{ type:
|
|
3503
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3683
3504
|
|
|
3684
|
-
class ClasificadorTipoService {
|
|
3685
|
-
constructor(
|
|
3686
|
-
|
|
3687
|
-
this.endpoint = 'clasificadorTipo';
|
|
3688
|
-
}
|
|
3689
|
-
getAll(params) {
|
|
3690
|
-
return this.api.get(this.endpoint, params);
|
|
3691
|
-
}
|
|
3692
|
-
get(id) {
|
|
3693
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3694
|
-
}
|
|
3695
|
-
save(obj) {
|
|
3696
|
-
return this.api.post(this.endpoint, obj);
|
|
3697
|
-
}
|
|
3698
|
-
update(obj) {
|
|
3699
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3700
|
-
}
|
|
3701
|
-
delete(id) {
|
|
3702
|
-
return this.api.delete(this.endpoint, id);
|
|
3505
|
+
class ClasificadorTipoService extends CrudService {
|
|
3506
|
+
constructor(http) {
|
|
3507
|
+
super(http, '/clasificadorTipo');
|
|
3703
3508
|
}
|
|
3704
3509
|
}
|
|
3705
|
-
/** @nocollapse */ ClasificadorTipoService.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(
|
|
3706
|
-
/** @nocollapse */ ClasificadorTipoService.ɵprov =
|
|
3707
|
-
|
|
3510
|
+
/** @nocollapse */ ClasificadorTipoService.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3511
|
+
/** @nocollapse */ ClasificadorTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' });
|
|
3512
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
|
|
3708
3513
|
type: Injectable,
|
|
3709
3514
|
args: [{
|
|
3710
3515
|
providedIn: 'root'
|
|
3711
3516
|
}]
|
|
3712
|
-
}], function () { return [{ type:
|
|
3517
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3713
3518
|
|
|
3714
3519
|
class ClaveMovimiento {
|
|
3715
3520
|
constructor() { }
|
|
3716
3521
|
}
|
|
3717
3522
|
|
|
3718
|
-
class ClaveMovimientoService {
|
|
3719
|
-
constructor(
|
|
3720
|
-
|
|
3721
|
-
this.endpoint = 'claveMovimiento';
|
|
3722
|
-
}
|
|
3723
|
-
getAll(params) {
|
|
3724
|
-
return this.api.get(this.endpoint, params);
|
|
3725
|
-
}
|
|
3726
|
-
get(id) {
|
|
3727
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3728
|
-
}
|
|
3729
|
-
save(obj) {
|
|
3730
|
-
return this.api.post(this.endpoint, obj);
|
|
3731
|
-
}
|
|
3732
|
-
update(obj) {
|
|
3733
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3734
|
-
}
|
|
3735
|
-
delete(id) {
|
|
3736
|
-
return this.api.delete(this.endpoint, id);
|
|
3523
|
+
class ClaveMovimientoService extends CrudService {
|
|
3524
|
+
constructor(http) {
|
|
3525
|
+
super(http, 'claveMovimiento');
|
|
3737
3526
|
}
|
|
3738
3527
|
}
|
|
3739
|
-
/** @nocollapse */ ClaveMovimientoService.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(
|
|
3740
|
-
/** @nocollapse */ ClaveMovimientoService.ɵprov =
|
|
3741
|
-
|
|
3528
|
+
/** @nocollapse */ ClaveMovimientoService.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3529
|
+
/** @nocollapse */ ClaveMovimientoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' });
|
|
3530
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
|
|
3742
3531
|
type: Injectable,
|
|
3743
3532
|
args: [{
|
|
3744
3533
|
providedIn: 'root'
|
|
3745
3534
|
}]
|
|
3746
|
-
}], function () { return [{ type:
|
|
3535
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3747
3536
|
|
|
3748
3537
|
class ClienteCuentaBanco {
|
|
3749
3538
|
constructor() {
|
|
@@ -3764,73 +3553,43 @@ class ClienteFlete {
|
|
|
3764
3553
|
}
|
|
3765
3554
|
}
|
|
3766
3555
|
|
|
3767
|
-
class ClienteCuentaBancoService {
|
|
3768
|
-
constructor(
|
|
3769
|
-
|
|
3770
|
-
this.
|
|
3556
|
+
class ClienteCuentaBancoService extends CrudService {
|
|
3557
|
+
constructor(httpClient) {
|
|
3558
|
+
super(httpClient, '/clienteCuentaBanco');
|
|
3559
|
+
this.httpClient = httpClient;
|
|
3771
3560
|
}
|
|
3772
3561
|
saveAll(params) {
|
|
3773
3562
|
let p = { 'cuentas': params };
|
|
3774
|
-
return this.
|
|
3775
|
-
}
|
|
3776
|
-
get(id) {
|
|
3777
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3778
|
-
}
|
|
3779
|
-
delete(id) {
|
|
3780
|
-
return this.api.delete(this.endpoint, id);
|
|
3781
|
-
}
|
|
3782
|
-
getAll(params) {
|
|
3783
|
-
return this.api.get(this.endpoint, params);
|
|
3784
|
-
}
|
|
3785
|
-
save(obj) {
|
|
3786
|
-
return this.api.post(this.endpoint, obj);
|
|
3787
|
-
}
|
|
3788
|
-
update(obj) {
|
|
3789
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3563
|
+
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3790
3564
|
}
|
|
3791
3565
|
}
|
|
3792
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(
|
|
3793
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵprov =
|
|
3794
|
-
|
|
3566
|
+
/** @nocollapse */ ClienteCuentaBancoService.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3567
|
+
/** @nocollapse */ ClienteCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3568
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
|
|
3795
3569
|
type: Injectable,
|
|
3796
3570
|
args: [{
|
|
3797
3571
|
providedIn: 'root'
|
|
3798
3572
|
}]
|
|
3799
|
-
}], function () { return [{ type:
|
|
3573
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3800
3574
|
|
|
3801
|
-
class ClienteFleteService {
|
|
3802
|
-
constructor(
|
|
3803
|
-
|
|
3804
|
-
this.
|
|
3575
|
+
class ClienteFleteService extends CrudService {
|
|
3576
|
+
constructor(httpClient) {
|
|
3577
|
+
super(httpClient, '/clienteFlete');
|
|
3578
|
+
this.httpClient = httpClient;
|
|
3805
3579
|
}
|
|
3806
3580
|
saveAll(p) {
|
|
3807
3581
|
let params = { fletes: p };
|
|
3808
|
-
return this.
|
|
3809
|
-
}
|
|
3810
|
-
get(id) {
|
|
3811
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3812
|
-
}
|
|
3813
|
-
delete(id) {
|
|
3814
|
-
return this.api.delete(this.endpoint, id);
|
|
3815
|
-
}
|
|
3816
|
-
getAll(params) {
|
|
3817
|
-
return this.api.get(this.endpoint, params);
|
|
3818
|
-
}
|
|
3819
|
-
save(obj) {
|
|
3820
|
-
return this.api.post(this.endpoint, obj);
|
|
3821
|
-
}
|
|
3822
|
-
update(obj) {
|
|
3823
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3582
|
+
return this.save(params);
|
|
3824
3583
|
}
|
|
3825
3584
|
}
|
|
3826
|
-
/** @nocollapse */ ClienteFleteService.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(
|
|
3827
|
-
/** @nocollapse */ ClienteFleteService.ɵprov =
|
|
3828
|
-
|
|
3585
|
+
/** @nocollapse */ ClienteFleteService.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3586
|
+
/** @nocollapse */ ClienteFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' });
|
|
3587
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
|
|
3829
3588
|
type: Injectable,
|
|
3830
3589
|
args: [{
|
|
3831
3590
|
providedIn: 'root'
|
|
3832
3591
|
}]
|
|
3833
|
-
}], function () { return [{ type:
|
|
3592
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3834
3593
|
|
|
3835
3594
|
class TipoContacto {
|
|
3836
3595
|
constructor() {
|
|
@@ -3844,100 +3603,52 @@ class DatoContacto {
|
|
|
3844
3603
|
}
|
|
3845
3604
|
}
|
|
3846
3605
|
|
|
3847
|
-
class DatoContactoService {
|
|
3848
|
-
constructor(
|
|
3849
|
-
|
|
3850
|
-
this.endpoint = 'contacto';
|
|
3851
|
-
}
|
|
3852
|
-
getAll(params) {
|
|
3853
|
-
return this.api.get(this.endpoint, params);
|
|
3854
|
-
}
|
|
3855
|
-
get(id) {
|
|
3856
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3857
|
-
}
|
|
3858
|
-
save(obj) {
|
|
3859
|
-
return this.api.post(this.endpoint, obj);
|
|
3860
|
-
}
|
|
3861
|
-
update(obj) {
|
|
3862
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3863
|
-
}
|
|
3864
|
-
delete(id) {
|
|
3865
|
-
return this.api.delete(this.endpoint, id);
|
|
3606
|
+
class DatoContactoService extends CrudService {
|
|
3607
|
+
constructor(http) {
|
|
3608
|
+
super(http, '/contacto');
|
|
3866
3609
|
}
|
|
3867
3610
|
}
|
|
3868
|
-
/** @nocollapse */ DatoContactoService.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(
|
|
3869
|
-
/** @nocollapse */ DatoContactoService.ɵprov =
|
|
3870
|
-
|
|
3611
|
+
/** @nocollapse */ DatoContactoService.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3612
|
+
/** @nocollapse */ DatoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' });
|
|
3613
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
|
|
3871
3614
|
type: Injectable,
|
|
3872
3615
|
args: [{
|
|
3873
3616
|
providedIn: 'root'
|
|
3874
3617
|
}]
|
|
3875
|
-
}], function () { return [{ type:
|
|
3618
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3876
3619
|
|
|
3877
|
-
class DatoDireccionService {
|
|
3878
|
-
constructor(
|
|
3879
|
-
|
|
3880
|
-
this.endpoint = 'datoDireccion';
|
|
3881
|
-
}
|
|
3882
|
-
getAll(params) {
|
|
3883
|
-
return this.api.get(this.endpoint, params);
|
|
3884
|
-
}
|
|
3885
|
-
get(id) {
|
|
3886
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3887
|
-
}
|
|
3888
|
-
save(obj) {
|
|
3889
|
-
return this.api.post(this.endpoint, obj);
|
|
3890
|
-
}
|
|
3891
|
-
update(obj) {
|
|
3892
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3893
|
-
}
|
|
3894
|
-
delete(id) {
|
|
3895
|
-
return this.api.delete(this.endpoint, id);
|
|
3620
|
+
class DatoDireccionService extends CrudService {
|
|
3621
|
+
constructor(http) {
|
|
3622
|
+
super(http, '/datoDireccion');
|
|
3896
3623
|
}
|
|
3897
3624
|
}
|
|
3898
|
-
/** @nocollapse */ DatoDireccionService.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(
|
|
3899
|
-
/** @nocollapse */ DatoDireccionService.ɵprov =
|
|
3900
|
-
|
|
3625
|
+
/** @nocollapse */ DatoDireccionService.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3626
|
+
/** @nocollapse */ DatoDireccionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' });
|
|
3627
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
|
|
3901
3628
|
type: Injectable,
|
|
3902
3629
|
args: [{
|
|
3903
3630
|
providedIn: 'root'
|
|
3904
3631
|
}]
|
|
3905
|
-
}], function () { return [{ type:
|
|
3632
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3906
3633
|
|
|
3907
3634
|
class Departamento {
|
|
3908
3635
|
constructor() {
|
|
3909
3636
|
}
|
|
3910
3637
|
}
|
|
3911
3638
|
|
|
3912
|
-
class DepartamentoService {
|
|
3913
|
-
constructor(
|
|
3914
|
-
|
|
3915
|
-
this.endpoint = 'departamento';
|
|
3916
|
-
}
|
|
3917
|
-
getAll(params) {
|
|
3918
|
-
return this.api.get(this.endpoint, params);
|
|
3919
|
-
}
|
|
3920
|
-
get(id) {
|
|
3921
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
3922
|
-
}
|
|
3923
|
-
save(obj) {
|
|
3924
|
-
return this.api.post(this.endpoint, obj);
|
|
3925
|
-
}
|
|
3926
|
-
update(obj) {
|
|
3927
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3928
|
-
}
|
|
3929
|
-
delete(id) {
|
|
3930
|
-
return this.api.delete(this.endpoint, id);
|
|
3639
|
+
class DepartamentoService extends CrudService {
|
|
3640
|
+
constructor(http) {
|
|
3641
|
+
super(http, '/departamento');
|
|
3931
3642
|
}
|
|
3932
3643
|
}
|
|
3933
|
-
/** @nocollapse */ DepartamentoService.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(
|
|
3934
|
-
/** @nocollapse */ DepartamentoService.ɵprov =
|
|
3935
|
-
|
|
3644
|
+
/** @nocollapse */ DepartamentoService.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3645
|
+
/** @nocollapse */ DepartamentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' });
|
|
3646
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
|
|
3936
3647
|
type: Injectable,
|
|
3937
3648
|
args: [{
|
|
3938
3649
|
providedIn: 'root'
|
|
3939
3650
|
}]
|
|
3940
|
-
}], function () { return [{ type:
|
|
3651
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3941
3652
|
|
|
3942
3653
|
class FormaPago {
|
|
3943
3654
|
constructor() { }
|
|
@@ -3957,132 +3668,72 @@ class ConfiguracionEmpresaAdministrativa {
|
|
|
3957
3668
|
}
|
|
3958
3669
|
}
|
|
3959
3670
|
|
|
3960
|
-
class EmpresaService {
|
|
3961
|
-
constructor(
|
|
3962
|
-
|
|
3963
|
-
this.
|
|
3964
|
-
}
|
|
3965
|
-
getAll(params) {
|
|
3966
|
-
return this.api.get(this.endpoint, params);
|
|
3671
|
+
class EmpresaService extends CrudService {
|
|
3672
|
+
constructor(httpClient) {
|
|
3673
|
+
super(httpClient, '/empresa');
|
|
3674
|
+
this.httpClient = httpClient;
|
|
3967
3675
|
}
|
|
3968
3676
|
get() {
|
|
3969
|
-
return
|
|
3970
|
-
|
|
3971
|
-
getByEmpresa(id) {
|
|
3972
|
-
return this.api.get(`${this.endpoint}/configuracionEmpresaAdministrativo/configuracionUsuario/${id}`);
|
|
3973
|
-
}
|
|
3974
|
-
save(obj) {
|
|
3975
|
-
return this.api.post(this.endpoint, obj);
|
|
3976
|
-
}
|
|
3977
|
-
update(obj) {
|
|
3978
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
3979
|
-
}
|
|
3980
|
-
delete(id) {
|
|
3981
|
-
return this.api.delete(this.endpoint, id);
|
|
3677
|
+
// return super.get(1);
|
|
3678
|
+
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
3982
3679
|
}
|
|
3983
3680
|
}
|
|
3984
|
-
/** @nocollapse */ EmpresaService.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(
|
|
3985
|
-
/** @nocollapse */ EmpresaService.ɵprov =
|
|
3986
|
-
|
|
3681
|
+
/** @nocollapse */ EmpresaService.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3682
|
+
/** @nocollapse */ EmpresaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' });
|
|
3683
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
|
|
3987
3684
|
type: Injectable,
|
|
3988
3685
|
args: [{
|
|
3989
3686
|
providedIn: 'root'
|
|
3990
3687
|
}]
|
|
3991
|
-
}], function () { return [{ type:
|
|
3688
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3992
3689
|
|
|
3993
|
-
class FleteService {
|
|
3994
|
-
constructor(
|
|
3995
|
-
|
|
3996
|
-
this.
|
|
3997
|
-
}
|
|
3998
|
-
getAll(params) {
|
|
3999
|
-
return this.api.get(this.endpoint, params);
|
|
4000
|
-
}
|
|
4001
|
-
get(id) {
|
|
4002
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
4003
|
-
}
|
|
4004
|
-
save(obj) {
|
|
4005
|
-
return this.api.post(this.endpoint, obj);
|
|
4006
|
-
}
|
|
4007
|
-
update(obj) {
|
|
4008
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4009
|
-
}
|
|
4010
|
-
delete(id) {
|
|
4011
|
-
return this.api.delete(this.endpoint, id);
|
|
3690
|
+
class FleteService extends CrudService {
|
|
3691
|
+
constructor(httpClient) {
|
|
3692
|
+
super(httpClient, '/flete');
|
|
3693
|
+
this.httpClient = httpClient;
|
|
4012
3694
|
}
|
|
4013
3695
|
}
|
|
4014
|
-
/** @nocollapse */ FleteService.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(
|
|
4015
|
-
/** @nocollapse */ FleteService.ɵprov =
|
|
4016
|
-
|
|
3696
|
+
/** @nocollapse */ FleteService.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3697
|
+
/** @nocollapse */ FleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' });
|
|
3698
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
|
|
4017
3699
|
type: Injectable,
|
|
4018
3700
|
args: [{
|
|
4019
3701
|
providedIn: 'root'
|
|
4020
3702
|
}]
|
|
4021
|
-
}], function () { return [{ type:
|
|
3703
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4022
3704
|
|
|
4023
|
-
class FormaPagoService {
|
|
4024
|
-
constructor(
|
|
4025
|
-
|
|
4026
|
-
this.endpoint = 'FormaDePago';
|
|
4027
|
-
}
|
|
4028
|
-
getAll(params) {
|
|
4029
|
-
return this.api.get(this.endpoint, params);
|
|
4030
|
-
}
|
|
4031
|
-
get(id) {
|
|
4032
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
4033
|
-
}
|
|
4034
|
-
save(obj) {
|
|
4035
|
-
return this.api.post(this.endpoint, obj);
|
|
4036
|
-
}
|
|
4037
|
-
update(obj) {
|
|
4038
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4039
|
-
}
|
|
4040
|
-
delete(id) {
|
|
4041
|
-
return this.api.delete(this.endpoint, id);
|
|
3705
|
+
class FormaPagoService extends CrudService {
|
|
3706
|
+
constructor(http) {
|
|
3707
|
+
super(http, '/FormaDePago');
|
|
4042
3708
|
}
|
|
4043
3709
|
}
|
|
4044
|
-
/** @nocollapse */ FormaPagoService.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(
|
|
4045
|
-
/** @nocollapse */ FormaPagoService.ɵprov =
|
|
4046
|
-
|
|
3710
|
+
/** @nocollapse */ FormaPagoService.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3711
|
+
/** @nocollapse */ FormaPagoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" });
|
|
3712
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
|
|
4047
3713
|
type: Injectable,
|
|
4048
3714
|
args: [{
|
|
4049
3715
|
providedIn: "root"
|
|
4050
3716
|
}]
|
|
4051
|
-
}], function () { return [{ type:
|
|
3717
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4052
3718
|
|
|
4053
3719
|
class Moneda {
|
|
4054
3720
|
constructor() { }
|
|
4055
3721
|
}
|
|
4056
3722
|
|
|
4057
|
-
class MonedaService {
|
|
4058
|
-
constructor(
|
|
4059
|
-
|
|
4060
|
-
this.
|
|
4061
|
-
}
|
|
4062
|
-
getAll(params) {
|
|
4063
|
-
return this.api.get(this.endpoint, params);
|
|
4064
|
-
}
|
|
4065
|
-
get(id) {
|
|
4066
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
4067
|
-
}
|
|
4068
|
-
save(obj) {
|
|
4069
|
-
return this.api.post(this.endpoint, obj);
|
|
4070
|
-
}
|
|
4071
|
-
update(obj) {
|
|
4072
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4073
|
-
}
|
|
4074
|
-
delete(id) {
|
|
4075
|
-
return this.api.delete(this.endpoint, id);
|
|
3723
|
+
class MonedaService extends CrudService {
|
|
3724
|
+
constructor(httpClient) {
|
|
3725
|
+
super(httpClient, '/moneda');
|
|
3726
|
+
this.httpClient = httpClient;
|
|
4076
3727
|
}
|
|
4077
3728
|
}
|
|
4078
|
-
/** @nocollapse */ MonedaService.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(
|
|
4079
|
-
/** @nocollapse */ MonedaService.ɵprov =
|
|
4080
|
-
|
|
3729
|
+
/** @nocollapse */ MonedaService.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3730
|
+
/** @nocollapse */ MonedaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' });
|
|
3731
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
|
|
4081
3732
|
type: Injectable,
|
|
4082
3733
|
args: [{
|
|
4083
3734
|
providedIn: 'root'
|
|
4084
3735
|
}]
|
|
4085
|
-
}], function () { return [{ type:
|
|
3736
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4086
3737
|
|
|
4087
3738
|
class EstadoCivil {
|
|
4088
3739
|
constructor() { }
|
|
@@ -4092,26 +3743,26 @@ class Genero {
|
|
|
4092
3743
|
constructor() { }
|
|
4093
3744
|
}
|
|
4094
3745
|
|
|
4095
|
-
class PersonaFisicaService {
|
|
4096
|
-
constructor(
|
|
4097
|
-
|
|
4098
|
-
this.
|
|
3746
|
+
class PersonaFisicaService extends CrudService {
|
|
3747
|
+
constructor(httpClient) {
|
|
3748
|
+
super(httpClient, '/PersonaFisica');
|
|
3749
|
+
this.httpClient = httpClient;
|
|
4099
3750
|
}
|
|
4100
3751
|
getGeneros() {
|
|
4101
|
-
return this.
|
|
3752
|
+
return this.httpClient.get(this.getBaseUrl() + '/genero', this.buildAuth());
|
|
4102
3753
|
}
|
|
4103
3754
|
getEstadoCivil() {
|
|
4104
|
-
return this.
|
|
3755
|
+
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
4105
3756
|
}
|
|
4106
3757
|
}
|
|
4107
|
-
/** @nocollapse */ PersonaFisicaService.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(
|
|
4108
|
-
/** @nocollapse */ PersonaFisicaService.ɵprov =
|
|
4109
|
-
|
|
3758
|
+
/** @nocollapse */ PersonaFisicaService.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3759
|
+
/** @nocollapse */ PersonaFisicaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" });
|
|
3760
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
|
|
4110
3761
|
type: Injectable,
|
|
4111
3762
|
args: [{
|
|
4112
3763
|
providedIn: "root"
|
|
4113
3764
|
}]
|
|
4114
|
-
}], function () { return [{ type:
|
|
3765
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4115
3766
|
|
|
4116
3767
|
class ProveedorCuentaBanco {
|
|
4117
3768
|
constructor() {
|
|
@@ -4128,224 +3779,138 @@ class ProveedorFlete {
|
|
|
4128
3779
|
}
|
|
4129
3780
|
}
|
|
4130
3781
|
|
|
4131
|
-
class ProveedorCuentaBancoService {
|
|
4132
|
-
constructor(
|
|
4133
|
-
|
|
4134
|
-
this.
|
|
4135
|
-
}
|
|
4136
|
-
getAll(params) {
|
|
4137
|
-
return this.api.get(this.endpoint, params);
|
|
3782
|
+
class ProveedorCuentaBancoService extends CrudService {
|
|
3783
|
+
constructor(httpClient) {
|
|
3784
|
+
super(httpClient, '/proveedorCuentaBanco');
|
|
3785
|
+
this.httpClient = httpClient;
|
|
4138
3786
|
}
|
|
4139
3787
|
saveAll(params) {
|
|
4140
3788
|
let p = { 'cuentas': params };
|
|
4141
|
-
return this.
|
|
4142
|
-
}
|
|
4143
|
-
get(id) {
|
|
4144
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
4145
|
-
}
|
|
4146
|
-
delete(id) {
|
|
4147
|
-
return this.api.delete(this.endpoint, id);
|
|
4148
|
-
}
|
|
4149
|
-
update(obj) {
|
|
4150
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4151
|
-
}
|
|
4152
|
-
save(obj) {
|
|
4153
|
-
return this.api.post(this.endpoint, obj);
|
|
3789
|
+
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
4154
3790
|
}
|
|
4155
3791
|
}
|
|
4156
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(
|
|
4157
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov =
|
|
4158
|
-
|
|
3792
|
+
/** @nocollapse */ ProveedorCuentaBancoService.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3793
|
+
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3794
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
|
|
4159
3795
|
type: Injectable,
|
|
4160
3796
|
args: [{
|
|
4161
3797
|
providedIn: 'root'
|
|
4162
3798
|
}]
|
|
4163
|
-
}], function () { return [{ type:
|
|
3799
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4164
3800
|
|
|
4165
|
-
class ProveedorFleteService {
|
|
4166
|
-
constructor(
|
|
4167
|
-
|
|
4168
|
-
this.
|
|
4169
|
-
}
|
|
4170
|
-
getAll(params) {
|
|
4171
|
-
return this.api.get(this.endpoint, params);
|
|
3801
|
+
class ProveedorFleteService extends CrudService {
|
|
3802
|
+
constructor(httpClient) {
|
|
3803
|
+
super(httpClient, '/proveedorFlete');
|
|
3804
|
+
this.httpClient = httpClient;
|
|
4172
3805
|
}
|
|
4173
3806
|
saveAll(p) {
|
|
4174
3807
|
let params = { fletes: p };
|
|
4175
3808
|
return this.save(params);
|
|
4176
3809
|
}
|
|
4177
|
-
save(obj) {
|
|
4178
|
-
return this.api.post(this.endpoint, obj);
|
|
4179
|
-
}
|
|
4180
|
-
update(obj) {
|
|
4181
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4182
|
-
}
|
|
4183
|
-
delete(id) {
|
|
4184
|
-
return this.api.delete(this.endpoint, id);
|
|
4185
|
-
}
|
|
4186
3810
|
}
|
|
4187
|
-
/** @nocollapse */ ProveedorFleteService.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(
|
|
4188
|
-
/** @nocollapse */ ProveedorFleteService.ɵprov =
|
|
4189
|
-
|
|
3811
|
+
/** @nocollapse */ ProveedorFleteService.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3812
|
+
/** @nocollapse */ ProveedorFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' });
|
|
3813
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
|
|
4190
3814
|
type: Injectable,
|
|
4191
3815
|
args: [{
|
|
4192
3816
|
providedIn: 'root'
|
|
4193
3817
|
}]
|
|
4194
|
-
}], function () { return [{ type:
|
|
3818
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4195
3819
|
|
|
4196
|
-
class ClaveAumentoDisminucionService {
|
|
4197
|
-
constructor(
|
|
4198
|
-
|
|
4199
|
-
this.endpoint = 'claveAumentoDisminucion';
|
|
4200
|
-
}
|
|
4201
|
-
getAll(params) {
|
|
4202
|
-
return this.api.get(this.endpoint, params);
|
|
4203
|
-
}
|
|
4204
|
-
get(id) {
|
|
4205
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
4206
|
-
}
|
|
4207
|
-
save(obj) {
|
|
4208
|
-
return this.api.post(this.endpoint, obj);
|
|
4209
|
-
}
|
|
4210
|
-
update(obj) {
|
|
4211
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4212
|
-
}
|
|
4213
|
-
delete(id) {
|
|
4214
|
-
return this.api.delete(this.endpoint, id);
|
|
3820
|
+
class ClaveAumentoDisminucionService extends CrudService {
|
|
3821
|
+
constructor(http) {
|
|
3822
|
+
super(http, 'claveAumentoDisminucion');
|
|
4215
3823
|
}
|
|
4216
3824
|
}
|
|
4217
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(
|
|
4218
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov =
|
|
4219
|
-
|
|
3825
|
+
/** @nocollapse */ ClaveAumentoDisminucionService.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3826
|
+
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' });
|
|
3827
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
|
|
4220
3828
|
type: Injectable,
|
|
4221
3829
|
args: [{
|
|
4222
3830
|
providedIn: 'root'
|
|
4223
3831
|
}]
|
|
4224
|
-
}], function () { return [{ type:
|
|
3832
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4225
3833
|
|
|
4226
|
-
class SerieDocumentoService {
|
|
4227
|
-
constructor(
|
|
4228
|
-
|
|
4229
|
-
this.
|
|
3834
|
+
class SerieDocumentoService extends CrudService {
|
|
3835
|
+
constructor(httpClient) {
|
|
3836
|
+
super(httpClient, 'serieDocumento');
|
|
3837
|
+
this.httpClient = httpClient;
|
|
4230
3838
|
}
|
|
4231
3839
|
getTipos() {
|
|
4232
|
-
return this.
|
|
3840
|
+
return this.httpClient.get(this.getUrl('serieDocumento') + '/tipoSerie', this.buildAuth());
|
|
4233
3841
|
}
|
|
4234
3842
|
getReporte(params) {
|
|
4235
|
-
return this.
|
|
4236
|
-
}
|
|
4237
|
-
get(id) {
|
|
4238
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
4239
|
-
}
|
|
4240
|
-
save(obj) {
|
|
4241
|
-
return this.api.post(this.endpoint, obj);
|
|
4242
|
-
}
|
|
4243
|
-
update(obj) {
|
|
4244
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4245
|
-
}
|
|
4246
|
-
delete(id) {
|
|
4247
|
-
return this.api.delete(this.endpoint, id);
|
|
3843
|
+
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
4248
3844
|
}
|
|
4249
3845
|
}
|
|
4250
|
-
/** @nocollapse */ SerieDocumentoService.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(
|
|
4251
|
-
/** @nocollapse */ SerieDocumentoService.ɵprov =
|
|
4252
|
-
|
|
3846
|
+
/** @nocollapse */ SerieDocumentoService.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3847
|
+
/** @nocollapse */ SerieDocumentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' });
|
|
3848
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
|
|
4253
3849
|
type: Injectable,
|
|
4254
3850
|
args: [{
|
|
4255
3851
|
providedIn: 'root'
|
|
4256
3852
|
}]
|
|
4257
|
-
}], function () { return [{ type:
|
|
3853
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4258
3854
|
|
|
4259
3855
|
class SerieDocumento {
|
|
4260
3856
|
constructor() { }
|
|
4261
3857
|
}
|
|
4262
3858
|
|
|
4263
|
-
class TipoContactoService {
|
|
4264
|
-
constructor(
|
|
4265
|
-
|
|
4266
|
-
this.endpoint = 'tipoContacto';
|
|
4267
|
-
}
|
|
4268
|
-
getAll(params) {
|
|
4269
|
-
return this.api.get(this.endpoint, params);
|
|
4270
|
-
}
|
|
4271
|
-
get(id) {
|
|
4272
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
4273
|
-
}
|
|
4274
|
-
save(obj) {
|
|
4275
|
-
return this.api.post(this.endpoint, obj);
|
|
4276
|
-
}
|
|
4277
|
-
update(obj) {
|
|
4278
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4279
|
-
}
|
|
4280
|
-
delete(id) {
|
|
4281
|
-
return this.api.delete(this.endpoint, id);
|
|
3859
|
+
class TipoContactoService extends CrudService {
|
|
3860
|
+
constructor(http) {
|
|
3861
|
+
super(http, '/tipoContacto');
|
|
4282
3862
|
}
|
|
4283
3863
|
}
|
|
4284
|
-
/** @nocollapse */ TipoContactoService.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(
|
|
4285
|
-
/** @nocollapse */ TipoContactoService.ɵprov =
|
|
4286
|
-
|
|
3864
|
+
/** @nocollapse */ TipoContactoService.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3865
|
+
/** @nocollapse */ TipoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' });
|
|
3866
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
|
|
4287
3867
|
type: Injectable,
|
|
4288
3868
|
args: [{
|
|
4289
3869
|
providedIn: 'root'
|
|
4290
3870
|
}]
|
|
4291
|
-
}], function () { return [{ type:
|
|
3871
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4292
3872
|
|
|
4293
3873
|
class Ubicacion {
|
|
4294
3874
|
constructor() { }
|
|
4295
3875
|
}
|
|
4296
3876
|
|
|
4297
|
-
class UbicacionService {
|
|
4298
|
-
constructor(
|
|
4299
|
-
|
|
4300
|
-
this.endpoint = 'ubicacion';
|
|
4301
|
-
}
|
|
4302
|
-
getAll(params) {
|
|
4303
|
-
return this.api.get(this.endpoint, params);
|
|
4304
|
-
}
|
|
4305
|
-
get(id) {
|
|
4306
|
-
return this.api.get(`${this.endpoint}/${id}`);
|
|
4307
|
-
}
|
|
4308
|
-
save(obj) {
|
|
4309
|
-
return this.api.post(this.endpoint, obj);
|
|
4310
|
-
}
|
|
4311
|
-
update(obj) {
|
|
4312
|
-
return this.api.put(this.endpoint, obj.id, obj);
|
|
4313
|
-
}
|
|
4314
|
-
delete(id) {
|
|
4315
|
-
return this.api.delete(this.endpoint, id);
|
|
3877
|
+
class UbicacionService extends CrudService {
|
|
3878
|
+
constructor(http) {
|
|
3879
|
+
super(http, 'ubicacion');
|
|
4316
3880
|
}
|
|
4317
3881
|
}
|
|
4318
|
-
/** @nocollapse */ UbicacionService.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(
|
|
4319
|
-
/** @nocollapse */ UbicacionService.ɵprov =
|
|
4320
|
-
|
|
3882
|
+
/** @nocollapse */ UbicacionService.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3883
|
+
/** @nocollapse */ UbicacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' });
|
|
3884
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
|
|
4321
3885
|
type: Injectable,
|
|
4322
3886
|
args: [{
|
|
4323
3887
|
providedIn: 'root'
|
|
4324
3888
|
}]
|
|
4325
|
-
}], function () { return [{ type:
|
|
3889
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4326
3890
|
|
|
4327
3891
|
class TipoCatalogo {
|
|
4328
3892
|
}
|
|
4329
3893
|
TipoCatalogo.ARTICULO = 2;
|
|
4330
3894
|
TipoCatalogo.USO_CFDI = 11;
|
|
4331
3895
|
|
|
4332
|
-
class AcreedorCuentaContableService {
|
|
4333
|
-
constructor(
|
|
4334
|
-
|
|
4335
|
-
this.
|
|
3896
|
+
class AcreedorCuentaContableService extends CrudService {
|
|
3897
|
+
constructor(httpClient) {
|
|
3898
|
+
super(httpClient, 'acreedorCuentaContable');
|
|
3899
|
+
this.httpClient = httpClient;
|
|
4336
3900
|
}
|
|
4337
3901
|
cuentasContables() {
|
|
4338
|
-
|
|
3902
|
+
let uRL = "/cuentaContable/obtieneCuentasContablesRecursivo/";
|
|
3903
|
+
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
4339
3904
|
}
|
|
4340
3905
|
}
|
|
4341
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(
|
|
4342
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵprov =
|
|
4343
|
-
|
|
3906
|
+
/** @nocollapse */ AcreedorCuentaContableService.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3907
|
+
/** @nocollapse */ AcreedorCuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' });
|
|
3908
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorCuentaContableService, [{
|
|
4344
3909
|
type: Injectable,
|
|
4345
3910
|
args: [{
|
|
4346
3911
|
providedIn: 'root'
|
|
4347
3912
|
}]
|
|
4348
|
-
}], function () { return [{ type:
|
|
3913
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
4349
3914
|
|
|
4350
3915
|
class CuentaContableModel {
|
|
4351
3916
|
constructor() {
|
|
@@ -4366,5 +3931,5 @@ class NormaInformacionFinancieraModel {
|
|
|
4366
3931
|
* Generated bundle index. Do not edit.
|
|
4367
3932
|
*/
|
|
4368
3933
|
|
|
4369
|
-
export { AcreedorCuentaContableService, AcreedorService, Agente, AgenteService, Almacen, AlmacenService,
|
|
3934
|
+
export { AcreedorCuentaContableService, AcreedorService, Agente, AgenteService, Almacen, AlmacenService, Auth, AuthService, Authenticated, Banco, BancoService, CanActivateGuard, CatalogoAdicionalService, CatalogoTipo, CatalogoTipoService, CclistaComponent, CcseleccionDialogComponent, ClasificadorTipo, ClasificadorTipoService, ClaveAumentoDisminucionService, ClaveMovimiento, ClaveMovimientoService, Cliente, ClienteCuentaBanco, ClienteCuentaBancoService, ClienteFlete, ClienteFleteService, ClienteService, ConfiguracionEmpresaAdministrativa, ControlAccesoService, CoreLibModule, CrudService, CuentaContableModel, DatoContacto, DatoContactoService, DatoDireccion, DatoDireccionService, Departamento, DepartamentoService, Empresa, EmpresaService, Error404Component, EstadoCivil, FileService, Flete, FleteService, FormaPago, FormaPagoService, Genero, GlobalService, HttpLoaderFactory, InitService, LoadingComponent, LoadingScreenComponent, LoadingScreenService, LoadingService, LoginModalComponent, LoginModalService, MessageService, Moneda, MonedaService, NormaInformacionFinancieraModel, PaginateService, PdfModalComponent, PdfModalService, Persona, PersonaFisica, PersonaFisicaService, PersonaMoral, PersonaMoralService, Proveedor, ProveedorCuentaBanco, ProveedorCuentaBancoService, ProveedorFlete, ProveedorFleteService, ProveedorService, SeleccionaArticuloComponent, SelectAcreedorComponent, SelectClienteComponent, SelectProveedorComponent, SerieDocumento, SerieDocumentoService, SessionCajaService, SessionCreateComponent, StockService, TipoCatalogo, TipoContacto, TipoContactoService, Ubicacion, UbicacionService, Usuario, VersionCheckService, httpInterceptor };
|
|
4370
3935
|
//# sourceMappingURL=visorus-erp-core.js.map
|