visorus-erp-core 15.0.0 → 17.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/{esm2020 → esm2022}/lib/app.module.mjs +20 -20
- package/esm2022/lib/components/acreedor/select/select-acreedor.component.mjs +208 -0
- package/{esm2020 → esm2022}/lib/components/acreedor/services/acreedor.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/acreedor/services/acreedorCuentaContable.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/agente/services/agente.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/almacen/services/almacen.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/banco/services/banco.service.mjs +5 -5
- package/esm2022/lib/components/caja/session-create/session-create.component.mjs +181 -0
- package/{esm2020 → esm2022}/lib/components/caja/sessionCaja.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/catalogoTipo/services/catalogoTipo.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/clasificadorTipo/services/clasificadorTipo.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/claveMovimiento/services/claveMovimiento.service.mjs +5 -5
- package/esm2022/lib/components/cliente/select/select-cliente.component.mjs +219 -0
- package/{esm2020 → esm2022}/lib/components/cliente/services/cliente.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/cliente/services/clienteCuentaBanco.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/cliente/services/clienteFlete.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/contacto/services/datoContacto.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/dato-direccion/services/datoDireccion.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/departamento/services/departamento.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/empresa/services/empresa.service.mjs +5 -5
- package/esm2022/lib/components/error404/error404.component.mjs +22 -0
- package/{esm2020 → esm2022}/lib/components/flete/services/flete.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/formaPago/services/FormaPago.service.mjs +5 -5
- package/esm2022/lib/components/loading/loading.component.mjs +49 -0
- package/{esm2020 → esm2022}/lib/components/loading/loading.service.mjs +4 -4
- package/esm2022/lib/components/loading-screen/loading-screen.component.mjs +45 -0
- package/{esm2020 → esm2022}/lib/components/loading-screen/loading-screen.service.mjs +4 -4
- package/esm2022/lib/components/login-modal/login-modal.component.mjs +152 -0
- package/{esm2020 → esm2022}/lib/components/login-modal/login-modal.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/moneda/services/moneda.service.mjs +5 -5
- package/esm2022/lib/components/pdfModal/pdf-modal.component.mjs +104 -0
- package/{esm2020 → esm2022}/lib/components/pdfModal/pdf-modal.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/persona-fisica/services/personaFisica.service.mjs +5 -5
- package/esm2022/lib/components/proveedor/select/select-proveedor.component.mjs +142 -0
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedor.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedorCuentaBanco.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedorFlete.service.mjs +5 -5
- package/esm2022/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +151 -0
- package/{esm2020 → esm2022}/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.mjs +5 -5
- package/esm2022/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +486 -0
- package/{esm2020 → esm2022}/lib/components/selecciona-articulo/stock.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/serieDocumento/services/serieDocumento.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/tipo-contacto/services/tipoContacto.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/ubicacion/services/ubicacion.service.mjs +5 -5
- package/esm2022/lib/contabilidad/componentes/cclista/cclista.component.mjs +262 -0
- package/esm2022/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.mjs +66 -0
- package/{esm2020 → esm2022}/lib/contabilidad/servicios/cuentacontable.service.mjs +5 -5
- package/esm2022/lib/httpInterceptor/httpInterceptor.mjs +90 -0
- package/esm2022/lib/services/auth.service.mjs +203 -0
- package/esm2022/lib/services/authenticated.service.mjs +77 -0
- package/{esm2020 → esm2022}/lib/services/canActivateGuard.service.ts.mjs +5 -5
- package/{esm2020 → esm2022}/lib/services/catalogo-adicional.service.mjs +5 -5
- package/esm2022/lib/services/controlAcceso.service.mjs +43 -0
- package/{esm2020 → esm2022}/lib/services/file.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/services/init.service.mjs +5 -5
- package/esm2022/lib/services/message.service.mjs +79 -0
- package/esm2022/lib/services/paginate.service.mjs +58 -0
- package/{esm2020 → esm2022}/lib/services/personaMoral.service.mjs +5 -5
- package/esm2022/lib/services/versionCheck.service.mjs +52 -0
- package/esm2022/lib/utils/tipo_catalogo.ts.mjs +5 -0
- package/{fesm2020 → fesm2022}/visorus-erp-core.mjs +778 -754
- package/fesm2022/visorus-erp-core.mjs.map +1 -0
- package/lib/app.module.d.ts +1 -1
- package/lib/components/acreedor/select/select-acreedor.component.d.ts +1 -1
- package/lib/components/caja/session-create/session-create.component.d.ts +1 -1
- package/lib/components/cliente/select/select-cliente.component.d.ts +1 -1
- package/lib/components/loading/loading.component.d.ts +1 -1
- package/lib/components/loading-screen/loading-screen.component.d.ts +1 -1
- package/lib/components/proveedor/select/select-proveedor.component.d.ts +1 -1
- package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts +1 -1
- package/lib/components/selecciona-articulo/selecciona-articulo.component.d.ts +1 -1
- package/lib/contabilidad/componentes/cclista/cclista.component.d.ts +1 -1
- package/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.d.ts +1 -1
- package/package.json +13 -19
- package/esm2020/lib/components/acreedor/select/select-acreedor.component.mjs +0 -205
- package/esm2020/lib/components/caja/session-create/session-create.component.mjs +0 -177
- package/esm2020/lib/components/cliente/select/select-cliente.component.mjs +0 -215
- package/esm2020/lib/components/error404/error404.component.mjs +0 -21
- package/esm2020/lib/components/loading/loading.component.mjs +0 -48
- package/esm2020/lib/components/loading-screen/loading-screen.component.mjs +0 -44
- package/esm2020/lib/components/login-modal/login-modal.component.mjs +0 -152
- package/esm2020/lib/components/pdfModal/pdf-modal.component.mjs +0 -102
- package/esm2020/lib/components/proveedor/select/select-proveedor.component.mjs +0 -138
- package/esm2020/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +0 -143
- package/esm2020/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +0 -493
- package/esm2020/lib/contabilidad/componentes/cclista/cclista.component.mjs +0 -262
- package/esm2020/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.mjs +0 -63
- package/esm2020/lib/httpInterceptor/httpInterceptor.mjs +0 -90
- package/esm2020/lib/services/auth.service.mjs +0 -203
- package/esm2020/lib/services/authenticated.service.mjs +0 -77
- package/esm2020/lib/services/controlAcceso.service.mjs +0 -43
- package/esm2020/lib/services/message.service.mjs +0 -79
- package/esm2020/lib/services/paginate.service.mjs +0 -58
- package/esm2020/lib/services/versionCheck.service.mjs +0 -52
- package/esm2020/lib/utils/tipo_catalogo.ts.mjs +0 -5
- package/fesm2015/visorus-erp-core.mjs +0 -4063
- package/fesm2015/visorus-erp-core.mjs.map +0 -1
- package/fesm2020/visorus-erp-core.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/components/agente/models/Agente.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/almacen/models/Almacen.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/banco/models/Banco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/catalogoTipo/models/CatalogoTipo.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/clasificadorTipo/models/ClasificadorTipo.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/claveMovimiento/models/ClaveMovimiento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/Cliente.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/ClienteCuentaBanco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/ClienteFlete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/contacto/models/DatoContacto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/dato-direccion/models/DatoDireccion.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/departamento/models/Departamento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/empresa/models/Empresa.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/flete/models/Flete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/formaPago/models/FormaPago.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/moneda/models/Moneda.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/EstadoCivil.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/Genero.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/Persona.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/PersonaFisica.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/Proveedor.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/ProveedorCuentaBanco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/ProveedorFlete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/serieDocumento/models/SerieDocumento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tipo-contacto/models/TipoContacto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/ubicacion/models/Ubicacion.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/contabilidad/modelos/cuentaContable.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/contabilidad/modelos/normaInfoFinanciera.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/globalPrimeNg.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/importComponents.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/importComponetsConta.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/PersonaMoral.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/Usuario.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/auth.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/crud.service.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/global.service.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/visorus-erp-core.mjs +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, EventEmitter, Component,
|
|
2
|
+
import { Injectable, EventEmitter, Component, Output, Input, ViewChild, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
|
-
import { HttpHeaders,
|
|
4
|
+
import { HttpHeaders, HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
5
5
|
import * as i4 from '@angular/common';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import * as i3 from 'primeng/api';
|
|
8
8
|
import { ConfirmationService } from 'primeng/api';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i19 from 'primeng/treetable';
|
|
10
10
|
import { TreeTableModule } from 'primeng/treetable';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i21 from 'primeng/button';
|
|
12
12
|
import { ButtonModule } from 'primeng/button';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i22 from 'primeng/inputtext';
|
|
14
14
|
import { InputTextModule } from 'primeng/inputtext';
|
|
15
15
|
import * as i10 from '@angular/forms';
|
|
16
16
|
import { FormsModule } from '@angular/forms';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i33 from 'primeng/dialog';
|
|
18
18
|
import { DialogModule } from 'primeng/dialog';
|
|
19
19
|
import { Subject, throwError, of } from 'rxjs';
|
|
20
20
|
import { catchError, tap, debounceTime } from 'rxjs/operators';
|
|
@@ -23,9 +23,9 @@ import { ToastrModule } from 'ngx-toastr';
|
|
|
23
23
|
import * as i3$1 from '@ngx-translate/core';
|
|
24
24
|
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
25
25
|
import * as i3$2 from '@angular/platform-browser';
|
|
26
|
-
import * as
|
|
26
|
+
import * as i18 from 'primeng/table';
|
|
27
27
|
import { TableModule } from 'primeng/table';
|
|
28
|
-
import * as
|
|
28
|
+
import * as i27 from 'primeng/paginator';
|
|
29
29
|
import { PaginatorModule } from 'primeng/paginator';
|
|
30
30
|
import * as i23 from 'primeng/dropdown';
|
|
31
31
|
import { DropdownModule } from 'primeng/dropdown';
|
|
@@ -184,16 +184,17 @@ class CuentaContableService extends CrudService {
|
|
|
184
184
|
obtieneCuentasContablesRecursivo() {
|
|
185
185
|
return this.httpClient.get(this.getUrl('cuentaContable') + '/obtieneCuentasContablesRecursivo', this.buildAuth());
|
|
186
186
|
}
|
|
187
|
+
/** @nocollapse */ static { this.ɵfac = function CuentaContableService_Factory(t) { return new (t || CuentaContableService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
188
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CuentaContableService, factory: CuentaContableService.ɵfac, providedIn: 'root' }); }
|
|
187
189
|
}
|
|
188
|
-
|
|
189
|
-
/** @nocollapse */ CuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CuentaContableService, factory: CuentaContableService.ɵfac, providedIn: 'root' });
|
|
190
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CuentaContableService, [{
|
|
190
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CuentaContableService, [{
|
|
191
191
|
type: Injectable,
|
|
192
192
|
args: [{
|
|
193
193
|
providedIn: 'root'
|
|
194
194
|
}]
|
|
195
|
-
}],
|
|
195
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
196
196
|
|
|
197
|
+
const _c0$7 = () => ({ width: "100%" });
|
|
197
198
|
function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
198
199
|
i0.ɵɵelementStart(0, "tr")(1, "th", 5);
|
|
199
200
|
i0.ɵɵtext(2, "Cuenta contable");
|
|
@@ -212,15 +213,15 @@ function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
212
213
|
i0.ɵɵelementEnd()();
|
|
213
214
|
} }
|
|
214
215
|
function CclistaComponent_ng_template_4_button_12_Template(rf, ctx) { if (rf & 1) {
|
|
215
|
-
const
|
|
216
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
216
217
|
i0.ɵɵelementStart(0, "button", 16);
|
|
217
|
-
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
218
|
+
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
|
|
218
219
|
i0.ɵɵelementEnd();
|
|
219
220
|
} }
|
|
220
221
|
function CclistaComponent_ng_template_4_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
221
|
-
const
|
|
222
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
222
223
|
i0.ɵɵelementStart(0, "button", 16);
|
|
223
|
-
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
224
|
+
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
|
|
224
225
|
i0.ɵɵelementEnd();
|
|
225
226
|
} }
|
|
226
227
|
function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -238,29 +239,27 @@ function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
238
239
|
i0.ɵɵtext(9);
|
|
239
240
|
i0.ɵɵelementEnd();
|
|
240
241
|
i0.ɵɵelementStart(10, "td", 13)(11, "div", 14);
|
|
241
|
-
i0.ɵɵtemplate(12, CclistaComponent_ng_template_4_button_12_Template, 1, 0, "button", 15);
|
|
242
|
-
i0.ɵɵtemplate(13, CclistaComponent_ng_template_4_button_13_Template, 1, 0, "button", 15);
|
|
242
|
+
i0.ɵɵtemplate(12, CclistaComponent_ng_template_4_button_12_Template, 1, 0, "button", 15)(13, CclistaComponent_ng_template_4_button_13_Template, 1, 0, "button", 15);
|
|
243
243
|
i0.ɵɵelementEnd()()();
|
|
244
244
|
} if (rf & 2) {
|
|
245
|
-
const
|
|
246
|
-
const
|
|
247
|
-
const
|
|
245
|
+
const rowNode_r5 = ctx.$implicit;
|
|
246
|
+
const rowData_r2 = ctx.rowData;
|
|
247
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
248
248
|
i0.ɵɵadvance(2);
|
|
249
|
-
i0.ɵɵproperty("rowNode",
|
|
250
|
-
i0.ɵɵadvance(
|
|
251
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
249
|
+
i0.ɵɵproperty("rowNode", rowNode_r5);
|
|
250
|
+
i0.ɵɵadvance();
|
|
251
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r2.cuentaContable, " ");
|
|
252
252
|
i0.ɵɵadvance(2);
|
|
253
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
253
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r2.descripcion, " ");
|
|
254
254
|
i0.ɵɵadvance(2);
|
|
255
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
255
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r2.naturaleza, " ");
|
|
256
256
|
i0.ɵɵadvance(2);
|
|
257
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
257
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r2.tipo, " ");
|
|
258
258
|
i0.ɵɵadvance(3);
|
|
259
|
-
i0.ɵɵproperty("ngIf",
|
|
260
|
-
i0.ɵɵadvance(
|
|
261
|
-
i0.ɵɵproperty("ngIf",
|
|
259
|
+
i0.ɵɵproperty("ngIf", ctx_r2.typeAccount == 1 && rowData_r2.cuentaRegistro);
|
|
260
|
+
i0.ɵɵadvance();
|
|
261
|
+
i0.ɵɵproperty("ngIf", ctx_r2.typeAccount == 2 && !rowData_r2.cuentaRegistro);
|
|
262
262
|
} }
|
|
263
|
-
const _c0$7 = function () { return { width: "100%" }; };
|
|
264
263
|
class CclistaComponent {
|
|
265
264
|
constructor(_cuentaContableService) {
|
|
266
265
|
this._cuentaContableService = _cuentaContableService;
|
|
@@ -419,36 +418,37 @@ class CclistaComponent {
|
|
|
419
418
|
return listAccounts;
|
|
420
419
|
}
|
|
421
420
|
}
|
|
422
|
-
}
|
|
423
|
-
/** @nocollapse */
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
(
|
|
421
|
+
/** @nocollapse */ static { this.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(i0.ɵɵdirectiveInject(CuentaContableService)); }; }
|
|
422
|
+
/** @nocollapse */ static { this.ɵ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, "ngModelChange", "keyup", "ngModel"], [2, "padding", "10px"], [3, "value", "scrollable", "scrollHeight", "resizableColumns"], ["pTemplate", "header"], ["pTemplate", "body", 2, "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) {
|
|
423
|
+
i0.ɵɵelementStart(0, "input", 0);
|
|
424
|
+
i0.ɵɵtwoWayListener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.query, $event) || (ctx.query = $event); return $event; });
|
|
425
|
+
i0.ɵɵlistener("keyup", function CclistaComponent_Template_input_keyup_0_listener($event) { return ctx.filterAccounts($event); });
|
|
426
|
+
i0.ɵɵelementEnd();
|
|
427
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "p-treeTable", 2);
|
|
428
|
+
i0.ɵɵtemplate(3, CclistaComponent_ng_template_3_Template, 11, 0, "ng-template", 3)(4, CclistaComponent_ng_template_4_Template, 14, 7, "ng-template", 4);
|
|
429
|
+
i0.ɵɵelementEnd()();
|
|
430
|
+
} if (rf & 2) {
|
|
431
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.query);
|
|
432
|
+
i0.ɵɵadvance(2);
|
|
433
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0$7));
|
|
434
|
+
i0.ɵɵproperty("value", ctx.cuentasContables ? ctx.cuentasContables : ctx.tempAccounts)("scrollable", true)("scrollHeight", ctx.maxH + "px")("resizableColumns", true);
|
|
435
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i19.TreeTable, i19.TreeTableToggler, i21.ButtonDirective, i22.InputText, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel] }); }
|
|
436
|
+
}
|
|
437
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CclistaComponent, [{
|
|
439
438
|
type: Component,
|
|
440
439
|
args: [{ selector: 'lib-cclista', template: "<input type=\"text\" style=\"width: 100%;\" pInputText placeholder=\"Cuenta o descripci\u00F3n\" [(ngModel)]=\"query\" (keyup)=\"filterAccounts($event)\">\n\n<div style=\"padding: 10px;\">\n <p-treeTable [value]=\"cuentasContables?cuentasContables:tempAccounts\" [scrollable]=\"true\" [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" [resizableColumns]=\"true\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 150px;\">Cuenta contable</th>\n <th style=\"width: 150px;\">Descripci\u00F3n</th>\n <th style=\"width: 90px;\">Naturaleza</th>\n <th style=\"width: 60px;\">Tipo</th>\n <th style=\"width: 200px;\">Acciones</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" style=\"width: 100%;\">\n <tr>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n <p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n {{rowData.cuentaContable}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n {{rowData.descripcion}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 90px;\">\n {{rowData.naturaleza}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 60px;\">\n {{rowData.tipo}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 200px;\">\n <div class=\"button-row\">\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==1 && rowData.cuentaRegistro\"></button>\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==2 && !rowData.cuentaRegistro\"></button>\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
|
|
441
|
-
}],
|
|
440
|
+
}], () => [{ type: CuentaContableService }], { isShared: [{
|
|
442
441
|
type: Input
|
|
443
442
|
}], typeAccount: [{
|
|
444
443
|
type: Input
|
|
445
444
|
}], evSelectedAccount: [{
|
|
446
445
|
type: Output
|
|
447
446
|
}] }); })();
|
|
447
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CclistaComponent, { className: "CclistaComponent" }); })();
|
|
448
448
|
|
|
449
449
|
const _c0$6 = ["dialog"];
|
|
450
|
-
const _c1$3 =
|
|
451
|
-
const _c2 =
|
|
450
|
+
const _c1$3 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
451
|
+
const _c2 = a0 => ({ "height": a0 });
|
|
452
452
|
class CcseleccionDialogComponent {
|
|
453
453
|
constructor() {
|
|
454
454
|
this.cuentasContables = [];
|
|
@@ -469,31 +469,33 @@ class CcseleccionDialogComponent {
|
|
|
469
469
|
hiddenDialog(evt) {
|
|
470
470
|
this.evSelectedAccount.emit(null);
|
|
471
471
|
}
|
|
472
|
-
}
|
|
473
|
-
/** @nocollapse */
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
472
|
+
/** @nocollapse */ static { this.ɵfac = function CcseleccionDialogComponent_Factory(t) { return new (t || CcseleccionDialogComponent)(); }; }
|
|
473
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CcseleccionDialogComponent, selectors: [["lib-ccseleccion-dialog"]], viewQuery: function CcseleccionDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
474
|
+
i0.ɵɵviewQuery(_c0$6, 7);
|
|
475
|
+
} if (rf & 2) {
|
|
476
|
+
let _t;
|
|
477
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialog = _t.first);
|
|
478
|
+
} }, inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 3, vars: 17, consts: [["header", "Selecciona cuenta contable", 3, "visibleChange", "onHide", "visible", "modal", "minY", "baseZIndex", "blockScroll", "draggable", "maximizable"], [1, "padding10", 3, "ngStyle"], [3, "evSelectedAccount", "isShared", "typeAccount"]], template: function CcseleccionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
479
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
480
|
+
i0.ɵɵtwoWayListener("visibleChange", function CcseleccionDialogComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.displayShowCuentas, $event) || (ctx.displayShowCuentas = $event); return $event; });
|
|
481
|
+
i0.ɵɵlistener("onHide", function CcseleccionDialogComponent_Template_p_dialog_onHide_0_listener($event) { return ctx.hiddenDialog($event); });
|
|
482
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "lib-cclista", 2);
|
|
483
|
+
i0.ɵɵlistener("evSelectedAccount", function CcseleccionDialogComponent_Template_lib_cclista_evSelectedAccount_2_listener($event) { return ctx.getAccount($event); });
|
|
484
|
+
i0.ɵɵelementEnd()()();
|
|
485
|
+
} if (rf & 2) {
|
|
486
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(13, _c1$3, ctx.size + "px"));
|
|
487
|
+
i0.ɵɵtwoWayProperty("visible", ctx.displayShowCuentas);
|
|
488
|
+
i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
489
|
+
i0.ɵɵadvance();
|
|
490
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
|
|
491
|
+
i0.ɵɵadvance();
|
|
492
|
+
i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
|
|
493
|
+
} }, dependencies: [i4.NgStyle, i33.Dialog, CclistaComponent] }); }
|
|
494
|
+
}
|
|
495
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcseleccionDialogComponent, [{
|
|
494
496
|
type: Component,
|
|
495
497
|
args: [{ selector: 'lib-ccseleccion-dialog', template: "<p-dialog header=\"Selecciona cuenta contable\" [(visible)]=\"displayShowCuentas\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog($event)\" [blockScroll]=\"true\" [draggable]=\"false\" [blockScroll]=\"true\"\n [maximizable]=\"true\">\n <div class=\"padding10\" [ngStyle]=\"{'height': maxH+200+'px'}\">\n <lib-cclista [isShared]=\"true\" [typeAccount]=\"tipoCuenta\" (evSelectedAccount)=\"getAccount($event)\"></lib-cclista>\n </div>\n</p-dialog>" }]
|
|
496
|
-
}],
|
|
498
|
+
}], () => [], { dialog: [{
|
|
497
499
|
type: ViewChild,
|
|
498
500
|
args: ["dialog", { static: true }]
|
|
499
501
|
}], tipoCuenta: [{
|
|
@@ -503,6 +505,7 @@ class CcseleccionDialogComponent {
|
|
|
503
505
|
}], evSelectedAccount: [{
|
|
504
506
|
type: Output
|
|
505
507
|
}] }); })();
|
|
508
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CcseleccionDialogComponent, { className: "CcseleccionDialogComponent" }); })();
|
|
506
509
|
|
|
507
510
|
const contaComponents = [
|
|
508
511
|
CclistaComponent,
|
|
@@ -516,10 +519,10 @@ class LoginModalService {
|
|
|
516
519
|
showModal() {
|
|
517
520
|
this.modal.emit(true);
|
|
518
521
|
}
|
|
522
|
+
/** @nocollapse */ static { this.ɵfac = function LoginModalService_Factory(t) { return new (t || LoginModalService)(); }; }
|
|
523
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoginModalService, factory: LoginModalService.ɵfac, providedIn: 'root' }); }
|
|
519
524
|
}
|
|
520
|
-
|
|
521
|
-
/** @nocollapse */ LoginModalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoginModalService, factory: LoginModalService.ɵfac, providedIn: 'root' });
|
|
522
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalService, [{
|
|
525
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalService, [{
|
|
523
526
|
type: Injectable,
|
|
524
527
|
args: [{
|
|
525
528
|
providedIn: 'root'
|
|
@@ -546,10 +549,10 @@ class LoadingScreenService {
|
|
|
546
549
|
stopLoading() {
|
|
547
550
|
this.loading = false;
|
|
548
551
|
}
|
|
552
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingScreenService_Factory(t) { return new (t || LoadingScreenService)(); }; }
|
|
553
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingScreenService, factory: LoadingScreenService.ɵfac, providedIn: 'root' }); }
|
|
549
554
|
}
|
|
550
|
-
|
|
551
|
-
/** @nocollapse */ LoadingScreenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingScreenService, factory: LoadingScreenService.ɵfac, providedIn: 'root' });
|
|
552
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenService, [{
|
|
555
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenService, [{
|
|
553
556
|
type: Injectable,
|
|
554
557
|
args: [{
|
|
555
558
|
providedIn: 'root'
|
|
@@ -629,31 +632,32 @@ class httpInterceptor {
|
|
|
629
632
|
}
|
|
630
633
|
}
|
|
631
634
|
}
|
|
635
|
+
/** @nocollapse */ static { this.ɵfac = function httpInterceptor_Factory(t) { return new (t || httpInterceptor)(i0.ɵɵinject(LoginModalService), i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(LoadingScreenService)); }; }
|
|
636
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: httpInterceptor, factory: httpInterceptor.ɵfac }); }
|
|
632
637
|
}
|
|
633
|
-
|
|
634
|
-
/** @nocollapse */ httpInterceptor.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: httpInterceptor, factory: httpInterceptor.ɵfac });
|
|
635
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(httpInterceptor, [{
|
|
638
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(httpInterceptor, [{
|
|
636
639
|
type: Injectable
|
|
637
|
-
}],
|
|
640
|
+
}], () => [{ type: LoginModalService }, { type: i1$1.ToastrService }, { type: LoadingScreenService }], null); })();
|
|
638
641
|
|
|
639
642
|
class Error404Component {
|
|
640
643
|
constructor() { }
|
|
641
644
|
ngOnInit() {
|
|
642
645
|
}
|
|
643
|
-
}
|
|
644
|
-
/** @nocollapse */
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
(
|
|
646
|
+
/** @nocollapse */ static { this.ɵfac = function Error404Component_Factory(t) { return new (t || Error404Component)(); }; }
|
|
647
|
+
/** @nocollapse */ static { this.ɵ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) {
|
|
648
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
649
|
+
i0.ɵɵtext(5, " Error 404 ");
|
|
650
|
+
i0.ɵɵelementEnd();
|
|
651
|
+
i0.ɵɵelementStart(6, "div", 5)(7, "p");
|
|
652
|
+
i0.ɵɵtext(8, "La pagina solicitada no fue encontrada");
|
|
653
|
+
i0.ɵɵelementEnd()()()()()();
|
|
654
|
+
} }, styles: [".error[_ngcontent-%COMP%]{font-size:70px}"] }); }
|
|
655
|
+
}
|
|
656
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Error404Component, [{
|
|
654
657
|
type: Component,
|
|
655
658
|
args: [{ selector: 'app-error404', template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }]
|
|
656
|
-
}],
|
|
659
|
+
}], () => [], null); })();
|
|
660
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Error404Component, { className: "Error404Component" }); })();
|
|
657
661
|
|
|
658
662
|
class LoadingService {
|
|
659
663
|
constructor() {
|
|
@@ -671,10 +675,10 @@ class LoadingService {
|
|
|
671
675
|
stop() {
|
|
672
676
|
this.loading.emit(false);
|
|
673
677
|
}
|
|
678
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingService_Factory(t) { return new (t || LoadingService)(); }; }
|
|
679
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: 'root' }); }
|
|
674
680
|
}
|
|
675
|
-
|
|
676
|
-
/** @nocollapse */ LoadingService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: 'root' });
|
|
677
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
681
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
678
682
|
type: Injectable,
|
|
679
683
|
args: [{
|
|
680
684
|
providedIn: 'root'
|
|
@@ -701,30 +705,31 @@ class LoadingComponent {
|
|
|
701
705
|
}
|
|
702
706
|
});
|
|
703
707
|
}
|
|
704
|
-
}
|
|
705
|
-
/** @nocollapse */
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
(
|
|
708
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
709
|
+
/** @nocollapse */ static { this.ɵ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) {
|
|
710
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6);
|
|
711
|
+
i0.ɵɵelement(7, "span", 7)(8, "span", 7);
|
|
712
|
+
i0.ɵɵelementStart(9, "div", 8);
|
|
713
|
+
i0.ɵɵelement(10, "img", 9);
|
|
714
|
+
i0.ɵɵelementEnd();
|
|
715
|
+
i0.ɵɵelementStart(11, "span", 10);
|
|
716
|
+
i0.ɵɵtext(12);
|
|
717
|
+
i0.ɵɵpipe(13, "translate");
|
|
718
|
+
i0.ɵɵelementEnd()()()()()()()();
|
|
719
|
+
} if (rf & 2) {
|
|
720
|
+
i0.ɵɵadvance(10);
|
|
721
|
+
i0.ɵɵpropertyInterpolate("src", ctx.logo_loading, i0.ɵɵsanitizeUrl);
|
|
722
|
+
i0.ɵɵadvance(2);
|
|
723
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 2, "cargando"), "...");
|
|
724
|
+
} }, dependencies: [i3$1.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:_ngcontent-%COMP%_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: 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:_ngcontent-%COMP%_a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:_ngcontent-%COMP%_b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:_ngcontent-%COMP%_c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:_ngcontent-%COMP%_d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes _ngcontent-%COMP%_a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes _ngcontent-%COMP%_b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes _ngcontent-%COMP%_c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes _ngcontent-%COMP%_d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes _ngcontent-%COMP%_spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.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}"] }); }
|
|
725
|
+
}
|
|
726
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
723
727
|
type: Component,
|
|
724
|
-
args: [{ selector: 'loading', template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{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 .code{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 .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 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 .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit: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{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
|
|
725
|
-
}],
|
|
728
|
+
args: [{ selector: 'loading', template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{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 .code{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 .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 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 .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit: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}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
|
|
729
|
+
}], () => [{ type: LoadingService }], { logo_loading: [{
|
|
726
730
|
type: Input
|
|
727
731
|
}] }); })();
|
|
732
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent" }); })();
|
|
728
733
|
|
|
729
734
|
class LoadingScreenComponent {
|
|
730
735
|
constructor(loadingScreenService, _elmRef, _changeDetectorRef, loadingService) {
|
|
@@ -749,19 +754,20 @@ class LoadingScreenComponent {
|
|
|
749
754
|
ngOnDestroy() {
|
|
750
755
|
this.loadingSubscription.unsubscribe();
|
|
751
756
|
}
|
|
757
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingScreenComponent_Factory(t) { return new (t || LoadingScreenComponent)(i0.ɵɵdirectiveInject(LoadingScreenService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
758
|
+
/** @nocollapse */ static { this.ɵ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) {
|
|
759
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
760
|
+
i0.ɵɵelement(3, "div", 3)(4, "div", 4)(5, "div", 4)(6, "div", 4)(7, "div", 4)(8, "div", 4)(9, "div", 4);
|
|
761
|
+
i0.ɵɵelementEnd()()();
|
|
762
|
+
} }, 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:_ngcontent-%COMP%_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:_ngcontent-%COMP%_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 _ngcontent-%COMP%_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 _ngcontent-%COMP%_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%)}}"] }); }
|
|
752
763
|
}
|
|
753
|
-
|
|
754
|
-
/** @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) {
|
|
755
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
756
|
-
i0.ɵɵelement(3, "div", 3)(4, "div", 4)(5, "div", 4)(6, "div", 4)(7, "div", 4)(8, "div", 4)(9, "div", 4);
|
|
757
|
-
i0.ɵɵelementEnd()()();
|
|
758
|
-
} }, 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:_ngcontent-%COMP%_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:_ngcontent-%COMP%_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 _ngcontent-%COMP%_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 _ngcontent-%COMP%_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%)}}"] });
|
|
759
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenComponent, [{
|
|
764
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenComponent, [{
|
|
760
765
|
type: Component,
|
|
761
766
|
args: [{ selector: 'app-loading-screen', template: "<div class=\"loading-screen-wrapper\">\n <div class=\"loading-screen-icon\">\n <div class=\"blobs\">\n <div class=\"blob-center\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n </div> \n </div>\n</div>\n", styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs .blob-center{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{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:nth-child(1){animation-delay:.2s}.blob:nth-child(2){animation-delay:.4s}.blob:nth-child(3){animation-delay:.6s}.blob:nth-child(4){animation-delay:.8s}.blob: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%)}}\n"] }]
|
|
762
|
-
}],
|
|
767
|
+
}], () => [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }], { logo_loading: [{
|
|
763
768
|
type: Input
|
|
764
769
|
}] }); })();
|
|
770
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingScreenComponent, { className: "LoadingScreenComponent" }); })();
|
|
765
771
|
|
|
766
772
|
class PdfModalService {
|
|
767
773
|
constructor() {
|
|
@@ -776,10 +782,10 @@ class PdfModalService {
|
|
|
776
782
|
this.html = html;
|
|
777
783
|
this.print.emit(true);
|
|
778
784
|
}
|
|
785
|
+
/** @nocollapse */ static { this.ɵfac = function PdfModalService_Factory(t) { return new (t || PdfModalService)(); }; }
|
|
786
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PdfModalService, factory: PdfModalService.ɵfac, providedIn: 'root' }); }
|
|
779
787
|
}
|
|
780
|
-
|
|
781
|
-
/** @nocollapse */ PdfModalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PdfModalService, factory: PdfModalService.ɵfac, providedIn: 'root' });
|
|
782
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalService, [{
|
|
788
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalService, [{
|
|
783
789
|
type: Injectable,
|
|
784
790
|
args: [{
|
|
785
791
|
providedIn: 'root'
|
|
@@ -842,27 +848,27 @@ class FileService {
|
|
|
842
848
|
base64ToFileDowload(base64, type, name) {
|
|
843
849
|
this.blobToDowload(this.base64ToBlob(base64, type), type, name);
|
|
844
850
|
}
|
|
851
|
+
/** @nocollapse */ static { this.ɵfac = function FileService_Factory(t) { return new (t || FileService)(i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(i3$1.TranslateService)); }; }
|
|
852
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileService, factory: FileService.ɵfac, providedIn: 'root' }); }
|
|
845
853
|
}
|
|
846
|
-
|
|
847
|
-
/** @nocollapse */ FileService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileService, factory: FileService.ɵfac, providedIn: 'root' });
|
|
848
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileService, [{
|
|
854
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileService, [{
|
|
849
855
|
type: Injectable,
|
|
850
856
|
args: [{
|
|
851
857
|
providedIn: 'root'
|
|
852
858
|
}]
|
|
853
|
-
}],
|
|
859
|
+
}], () => [{ type: i1$1.ToastrService }, { type: i3$1.TranslateService }], null); })();
|
|
854
860
|
|
|
861
|
+
const _c0$5 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
862
|
+
const _c1$2 = () => ({ "overflow": "visible" });
|
|
855
863
|
function PdfModalComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
856
864
|
i0.ɵɵelementStart(0, "div", 2);
|
|
857
865
|
i0.ɵɵelement(1, "iframe", 3);
|
|
858
866
|
i0.ɵɵelementEnd();
|
|
859
867
|
} if (rf & 2) {
|
|
860
868
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
861
|
-
i0.ɵɵadvance(
|
|
869
|
+
i0.ɵɵadvance();
|
|
862
870
|
i0.ɵɵproperty("src", ctx_r0.domSanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64," + ctx_r0.pdfBase64), i0.ɵɵsanitizeResourceUrl);
|
|
863
871
|
} }
|
|
864
|
-
const _c0$5 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
865
|
-
const _c1$2 = function () { return { "overflow": "visible" }; };
|
|
866
872
|
class PdfModalComponent {
|
|
867
873
|
constructor(_pdfModalService, fileService, domSanitizer) {
|
|
868
874
|
this._pdfModalService = _pdfModalService;
|
|
@@ -926,23 +932,25 @@ class PdfModalComponent {
|
|
|
926
932
|
//iframe.focus();
|
|
927
933
|
// iframe.contentWindow.print();
|
|
928
934
|
}
|
|
929
|
-
}
|
|
930
|
-
/** @nocollapse */
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
935
|
+
/** @nocollapse */ static { this.ɵfac = function PdfModalComponent_Factory(t) { return new (t || PdfModalComponent)(i0.ɵɵdirectiveInject(PdfModalService), i0.ɵɵdirectiveInject(FileService), i0.ɵɵdirectiveInject(i3$2.DomSanitizer)); }; }
|
|
936
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: PdfModalComponent, selectors: [["pdf-modal"]], decls: 2, vars: 15, consts: [[3, "visibleChange", "visible", "modal", "minY", "baseZIndex", "blockScroll", "maximizable", "breakpoint", "contentStyle"], ["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) {
|
|
937
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
938
|
+
i0.ɵɵtwoWayListener("visibleChange", function PdfModalComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.display, $event) || (ctx.display = $event); return $event; });
|
|
939
|
+
i0.ɵɵtemplate(1, PdfModalComponent_div_1_Template, 2, 1, "div", 1);
|
|
940
|
+
i0.ɵɵelementEnd();
|
|
941
|
+
} if (rf & 2) {
|
|
942
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(12, _c0$5, ctx.size + "px"));
|
|
943
|
+
i0.ɵɵtwoWayProperty("visible", ctx.display);
|
|
944
|
+
i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("breakpoint", 840)("contentStyle", i0.ɵɵpureFunction0(14, _c1$2));
|
|
945
|
+
i0.ɵɵadvance();
|
|
946
|
+
i0.ɵɵproperty("ngIf", ctx.pdfBase64);
|
|
947
|
+
} }, dependencies: [i4.NgIf, i33.Dialog], styles: [".down[_ngcontent-%COMP%]{display:block}"] }); }
|
|
948
|
+
}
|
|
949
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalComponent, [{
|
|
943
950
|
type: Component,
|
|
944
951
|
args: [{ selector: 'pdf-modal', template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" [blockScroll]=\"true\" \n [blockScroll]=\"true\" [maximizable]=\"true\"\n [breakpoint]=\"840\" [contentStyle]=\"{'overflow':'visible'}\">\n <div *ngIf=\"pdfBase64\" style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\" [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n</p-dialog>\n\n", styles: [".down{display:block}\n"] }]
|
|
945
|
-
}],
|
|
952
|
+
}], () => [{ type: PdfModalService }, { type: FileService }, { type: i3$2.DomSanitizer }], null); })();
|
|
953
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PdfModalComponent, { className: "PdfModalComponent" }); })();
|
|
946
954
|
|
|
947
955
|
class Usuario {
|
|
948
956
|
}
|
|
@@ -1133,15 +1141,15 @@ class AuthService {
|
|
|
1133
1141
|
this.url_host = config.url;
|
|
1134
1142
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioActual', httpOptions);
|
|
1135
1143
|
}
|
|
1144
|
+
/** @nocollapse */ static { this.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1145
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
1136
1146
|
}
|
|
1137
|
-
|
|
1138
|
-
/** @nocollapse */ AuthService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' });
|
|
1139
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1147
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1140
1148
|
type: Injectable,
|
|
1141
1149
|
args: [{
|
|
1142
1150
|
providedIn: 'root'
|
|
1143
1151
|
}]
|
|
1144
|
-
}],
|
|
1152
|
+
}], () => [{ type: i1.HttpClient }], { login: [{
|
|
1145
1153
|
type: Output
|
|
1146
1154
|
}], seleccionEmpresa: [{
|
|
1147
1155
|
type: Output
|
|
@@ -1153,59 +1161,59 @@ function LoginModalComponent_div_6_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
1153
1161
|
i0.ɵɵpipe(2, "translate");
|
|
1154
1162
|
i0.ɵɵelementEnd();
|
|
1155
1163
|
} if (rf & 2) {
|
|
1156
|
-
i0.ɵɵadvance(
|
|
1164
|
+
i0.ɵɵadvance();
|
|
1157
1165
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Usuario.errorLogin"));
|
|
1158
1166
|
} }
|
|
1159
1167
|
function LoginModalComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
1160
|
-
const
|
|
1161
|
-
i0.ɵɵelementStart(0, "div",
|
|
1162
|
-
i0.ɵɵlistener("ngSubmit", function LoginModalComponent_div_6_Template_form_ngSubmit_2_listener() { i0.ɵɵrestoreView(
|
|
1163
|
-
i0.ɵɵtemplate(4, LoginModalComponent_div_6_label_4_Template, 3, 3, "label",
|
|
1164
|
-
i0.ɵɵelementStart(5, "div",
|
|
1168
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
1169
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 10)(2, "form", 11, 0);
|
|
1170
|
+
i0.ɵɵlistener("ngSubmit", function LoginModalComponent_div_6_Template_form_ngSubmit_2_listener() { i0.ɵɵrestoreView(_r1); const datoForm_r2 = i0.ɵɵreference(3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.entrar(datoForm_r2)); });
|
|
1171
|
+
i0.ɵɵtemplate(4, LoginModalComponent_div_6_label_4_Template, 3, 3, "label", 12);
|
|
1172
|
+
i0.ɵɵelementStart(5, "div", 13)(6, "label", 14);
|
|
1165
1173
|
i0.ɵɵtext(7);
|
|
1166
1174
|
i0.ɵɵpipe(8, "translate");
|
|
1167
1175
|
i0.ɵɵelementEnd();
|
|
1168
|
-
i0.ɵɵelementStart(9, "input",
|
|
1169
|
-
i0.ɵɵlistener("ngModelChange", function LoginModalComponent_div_6_Template_input_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.user.username = $event); });
|
|
1176
|
+
i0.ɵɵelementStart(9, "input", 15, 1);
|
|
1170
1177
|
i0.ɵɵpipe(11, "translate");
|
|
1178
|
+
i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_div_6_Template_input_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.user.username, $event) || (ctx_r2.user.username = $event); return i0.ɵɵresetView($event); });
|
|
1171
1179
|
i0.ɵɵelementEnd()();
|
|
1172
|
-
i0.ɵɵelementStart(12, "div",
|
|
1180
|
+
i0.ɵɵelementStart(12, "div", 13)(13, "label", 16);
|
|
1173
1181
|
i0.ɵɵtext(14);
|
|
1174
1182
|
i0.ɵɵpipe(15, "translate");
|
|
1175
1183
|
i0.ɵɵelementEnd();
|
|
1176
1184
|
i0.ɵɵelementStart(16, "input", 17);
|
|
1177
|
-
i0.ɵɵlistener("ngModelChange", function LoginModalComponent_div_6_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.user.password = $event); });
|
|
1178
1185
|
i0.ɵɵpipe(17, "translate");
|
|
1186
|
+
i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_div_6_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.user.password, $event) || (ctx_r2.user.password = $event); return i0.ɵɵresetView($event); });
|
|
1179
1187
|
i0.ɵɵelementEnd()();
|
|
1180
1188
|
i0.ɵɵelementStart(18, "button", 18);
|
|
1181
1189
|
i0.ɵɵtext(19, "entrar");
|
|
1182
1190
|
i0.ɵɵelementEnd()()()();
|
|
1183
1191
|
} if (rf & 2) {
|
|
1184
|
-
const
|
|
1192
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1185
1193
|
i0.ɵɵadvance(4);
|
|
1186
|
-
i0.ɵɵproperty("ngIf",
|
|
1194
|
+
i0.ɵɵproperty("ngIf", ctx_r2.error);
|
|
1187
1195
|
i0.ɵɵadvance(3);
|
|
1188
1196
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, "Usuario.username"));
|
|
1189
1197
|
i0.ɵɵadvance(2);
|
|
1190
1198
|
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(11, 9, "Usuario.username"));
|
|
1191
|
-
i0.ɵɵ
|
|
1199
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.username);
|
|
1192
1200
|
i0.ɵɵadvance(5);
|
|
1193
1201
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 11, "Usuario.password"));
|
|
1194
1202
|
i0.ɵɵadvance(2);
|
|
1195
1203
|
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(17, 13, "Usuario.password"));
|
|
1196
|
-
i0.ɵɵ
|
|
1204
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.password);
|
|
1197
1205
|
} }
|
|
1198
1206
|
function LoginModalComponent_div_7_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1199
1207
|
i0.ɵɵelementStart(0, "div", 22)(1, "div", 23)(2, "div", 24)(3, "h5");
|
|
1200
1208
|
i0.ɵɵtext(4);
|
|
1201
1209
|
i0.ɵɵelementEnd()()()();
|
|
1202
1210
|
} if (rf & 2) {
|
|
1203
|
-
const
|
|
1211
|
+
const empresa_r4 = ctx.$implicit;
|
|
1204
1212
|
i0.ɵɵadvance(4);
|
|
1205
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
1213
|
+
i0.ɵɵtextInterpolate1(" ", empresa_r4.nombre, " ");
|
|
1206
1214
|
} }
|
|
1207
1215
|
function LoginModalComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
1208
|
-
i0.ɵɵelementStart(0, "div",
|
|
1216
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 20)(2, "h4");
|
|
1209
1217
|
i0.ɵɵtext(3, "Selecciona la empresa");
|
|
1210
1218
|
i0.ɵɵelementEnd();
|
|
1211
1219
|
i0.ɵɵelement(4, "hr");
|
|
@@ -1213,9 +1221,9 @@ function LoginModalComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
1213
1221
|
i0.ɵɵtemplate(5, LoginModalComponent_div_7_div_5_Template, 5, 1, "div", 21);
|
|
1214
1222
|
i0.ɵɵelementEnd();
|
|
1215
1223
|
} if (rf & 2) {
|
|
1216
|
-
const
|
|
1224
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1217
1225
|
i0.ɵɵadvance(5);
|
|
1218
|
-
i0.ɵɵproperty("ngForOf",
|
|
1226
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.empresas);
|
|
1219
1227
|
} }
|
|
1220
1228
|
class LoginModalComponent {
|
|
1221
1229
|
constructor(loginModalService, authService) {
|
|
@@ -1270,105 +1278,107 @@ class LoginModalComponent {
|
|
|
1270
1278
|
$('#modalLogin').modal('hide');
|
|
1271
1279
|
});
|
|
1272
1280
|
}
|
|
1273
|
-
}
|
|
1274
|
-
/** @nocollapse */
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1281
|
+
/** @nocollapse */ static { this.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); }; }
|
|
1282
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoginModalComponent, selectors: [["app-login-modal"]], decls: 8, vars: 2, consts: [["datoForm", "ngForm"], ["username", "ngModel"], ["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"], ["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, "ngModelChange", "placeholder", "ngModel"], ["for", "exampleInputPassword1"], ["type", "password", "id", "exampleInputPassword1", "name", "password", "required", "", 1, "form-control", 3, "ngModelChange", "placeholder", "ngModel"], ["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) {
|
|
1283
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "div", 4)(3, "div", 5)(4, "div", 6);
|
|
1284
|
+
i0.ɵɵelement(5, "img", 7);
|
|
1285
|
+
i0.ɵɵelementEnd();
|
|
1286
|
+
i0.ɵɵtemplate(6, LoginModalComponent_div_6_Template, 20, 15, "div", 8)(7, LoginModalComponent_div_7_Template, 6, 1, "div", 8);
|
|
1287
|
+
i0.ɵɵelementEnd()()()();
|
|
1288
|
+
} if (rf & 2) {
|
|
1289
|
+
i0.ɵɵadvance(6);
|
|
1290
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1291
|
+
i0.ɵɵadvance();
|
|
1292
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1293
|
+
} }, dependencies: [i4.NgForOf, i4.NgIf, i10.ɵNgNoValidate, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgControlStatusGroup, i10.RequiredValidator, i10.NgModel, i10.NgForm, i3$1.TranslateDirective, i3$1.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}"] }); }
|
|
1294
|
+
}
|
|
1295
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1289
1296
|
type: Component,
|
|
1290
1297
|
args: [{ selector: 'app-login-modal', template: "<div class=\"modal fade\" id=\"modalLogin\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" > \n <label class=\"error\" *ngIf=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\" >{{ 'Usuario.username' | translate }}</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\" #username=\"ngModel\"\n placeholder=\"{{ 'Usuario.username' | translate }}\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">{{ 'Usuario.password' | translate }}</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"{{ 'Usuario.password' | translate }}\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n \n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\" translate>entrar</button>\n </form>\n </div>\n </div> \n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div> \n \n </div>\n </div>\n </div>\n</div>", styles: [".modal{z-index:2050!important}.btn-primary_low{background:#133659!important}.ng-valid:not(form){border-left:1px solid #ced4da!important}.ng-invalid:not(form){border-left:1px solid #ced4da!important}.card{background:#26baed;color:#fff}.card-body{padding:10px}\n"] }]
|
|
1291
|
-
}],
|
|
1298
|
+
}], () => [{ type: LoginModalService }, { type: AuthService }], null); })();
|
|
1299
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoginModalComponent, { className: "LoginModalComponent" }); })();
|
|
1292
1300
|
|
|
1293
1301
|
class SessionCajaService extends CrudService {
|
|
1294
1302
|
constructor(httpClient) {
|
|
1295
1303
|
super(httpClient, 'sessionCaja');
|
|
1296
1304
|
this.httpClient = httpClient;
|
|
1297
1305
|
}
|
|
1306
|
+
/** @nocollapse */ static { this.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1307
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' }); }
|
|
1298
1308
|
}
|
|
1299
|
-
|
|
1300
|
-
/** @nocollapse */ SessionCajaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' });
|
|
1301
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
|
|
1309
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
|
|
1302
1310
|
type: Injectable,
|
|
1303
1311
|
args: [{
|
|
1304
1312
|
providedIn: 'root'
|
|
1305
1313
|
}]
|
|
1306
|
-
}],
|
|
1314
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
1307
1315
|
|
|
1316
|
+
const _c0$4 = () => ({ width: "750px" });
|
|
1308
1317
|
function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1309
1318
|
i0.ɵɵelementStart(0, "a", 4);
|
|
1310
1319
|
i0.ɵɵtext(1);
|
|
1311
1320
|
i0.ɵɵelementEnd();
|
|
1312
1321
|
} if (rf & 2) {
|
|
1313
1322
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
1314
|
-
i0.ɵɵadvance(
|
|
1323
|
+
i0.ɵɵadvance();
|
|
1315
1324
|
i0.ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
|
|
1316
1325
|
} }
|
|
1317
1326
|
function SessionCreateComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1318
|
-
const
|
|
1327
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
1319
1328
|
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "label", 7);
|
|
1320
1329
|
i0.ɵɵtext(3, "Nombre de caja: ");
|
|
1321
1330
|
i0.ɵɵelementEnd();
|
|
1322
1331
|
i0.ɵɵelementStart(4, "input", 8);
|
|
1323
|
-
i0.ɵɵ
|
|
1332
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.caja.nombre, $event) || (ctx_r0.caja.nombre = $event); return i0.ɵɵresetView($event); });
|
|
1324
1333
|
i0.ɵɵelementEnd()();
|
|
1325
1334
|
i0.ɵɵelementStart(5, "div", 9)(6, "label", 10);
|
|
1326
1335
|
i0.ɵɵtext(7, "Saldo: ");
|
|
1327
1336
|
i0.ɵɵelementEnd();
|
|
1328
1337
|
i0.ɵɵelementStart(8, "input", 11);
|
|
1329
|
-
i0.ɵɵ
|
|
1338
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.monto, $event) || (ctx_r0.session.monto = $event); return i0.ɵɵresetView($event); });
|
|
1330
1339
|
i0.ɵɵelementEnd()();
|
|
1331
1340
|
i0.ɵɵelementStart(9, "div", 9)(10, "label", 12);
|
|
1332
1341
|
i0.ɵɵtext(11, "Numero Z:");
|
|
1333
1342
|
i0.ɵɵelementEnd();
|
|
1334
1343
|
i0.ɵɵelementStart(12, "input", 13);
|
|
1335
|
-
i0.ɵɵ
|
|
1344
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.z, $event) || (ctx_r0.session.z = $event); return i0.ɵɵresetView($event); });
|
|
1336
1345
|
i0.ɵɵelementEnd()()();
|
|
1337
1346
|
} if (rf & 2) {
|
|
1338
|
-
const
|
|
1347
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1339
1348
|
i0.ɵɵadvance(4);
|
|
1340
|
-
i0.ɵɵ
|
|
1349
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.caja.nombre);
|
|
1350
|
+
i0.ɵɵproperty("disabled", true);
|
|
1341
1351
|
i0.ɵɵadvance(4);
|
|
1342
|
-
i0.ɵɵ
|
|
1352
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.monto);
|
|
1353
|
+
i0.ɵɵproperty("disabled", ctx_r0.editMode);
|
|
1343
1354
|
i0.ɵɵadvance(4);
|
|
1344
|
-
i0.ɵɵ
|
|
1355
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.z);
|
|
1356
|
+
i0.ɵɵproperty("disabled", true);
|
|
1345
1357
|
} }
|
|
1346
1358
|
function SessionCreateComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
1347
|
-
const
|
|
1359
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
1348
1360
|
i0.ɵɵelementStart(0, "button", 17);
|
|
1349
|
-
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
1361
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.save()); });
|
|
1350
1362
|
i0.ɵɵelementEnd();
|
|
1351
1363
|
} }
|
|
1352
1364
|
function SessionCreateComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
1353
|
-
const
|
|
1365
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
1354
1366
|
i0.ɵɵelementStart(0, "button", 18);
|
|
1355
|
-
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(
|
|
1367
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.edit()); });
|
|
1356
1368
|
i0.ɵɵelementEnd();
|
|
1357
1369
|
} }
|
|
1358
1370
|
function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1359
|
-
const
|
|
1360
|
-
i0.ɵɵtemplate(0, SessionCreateComponent_ng_template_5_button_0_Template, 1, 0, "button", 14);
|
|
1361
|
-
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_5_button_1_Template, 1, 0, "button", 15);
|
|
1371
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
1372
|
+
i0.ɵɵtemplate(0, SessionCreateComponent_ng_template_5_button_0_Template, 1, 0, "button", 14)(1, SessionCreateComponent_ng_template_5_button_1_Template, 1, 0, "button", 15);
|
|
1362
1373
|
i0.ɵɵelementStart(2, "button", 16);
|
|
1363
|
-
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(
|
|
1374
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.closeModal()); });
|
|
1364
1375
|
i0.ɵɵelementEnd();
|
|
1365
1376
|
} if (rf & 2) {
|
|
1366
|
-
const
|
|
1367
|
-
i0.ɵɵproperty("ngIf", !
|
|
1368
|
-
i0.ɵɵadvance(
|
|
1369
|
-
i0.ɵɵproperty("ngIf",
|
|
1377
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1378
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.editMode && ctx_r0.caja);
|
|
1379
|
+
i0.ɵɵadvance();
|
|
1380
|
+
i0.ɵɵproperty("ngIf", ctx_r0.editMode && ctx_r0.caja);
|
|
1370
1381
|
} }
|
|
1371
|
-
const _c0$4 = function () { return { width: "750px" }; };
|
|
1372
1382
|
class SessionCreateComponent {
|
|
1373
1383
|
constructor(sessionCajaService) {
|
|
1374
1384
|
this.sessionCajaService = sessionCajaService;
|
|
@@ -1437,28 +1447,29 @@ class SessionCreateComponent {
|
|
|
1437
1447
|
this.status.emit({ status: false, update: this.resp.data });
|
|
1438
1448
|
}
|
|
1439
1449
|
}
|
|
1440
|
-
}
|
|
1441
|
-
/** @nocollapse */
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1450
|
+
/** @nocollapse */ static { this.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); }; }
|
|
1451
|
+
/** @nocollapse */ static { this.ɵ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, "visibleChange", "onHide", "onShow", "visible", "modal", "closeOnEscape", "closable", "blockScroll"], ["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, "ngModelChange", "ngModel", "disabled"], [1, "p-field", "col-12", "md:col-6"], ["for", "saldoCaja"], ["pInputText", "", "type", "number", "id", "saldoCaja", 3, "ngModelChange", "ngModel", "disabled"], ["for", "numeroZ"], ["pInputText", "", "type", "number", "id", "numeroZ", 3, "ngModelChange", "ngModel", "disabled"], ["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) {
|
|
1452
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1453
|
+
i0.ɵɵtwoWayListener("visibleChange", function SessionCreateComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.showCreateSession, $event) || (ctx.showCreateSession = $event); return $event; });
|
|
1454
|
+
i0.ɵɵlistener("onHide", function SessionCreateComponent_Template_p_dialog_onHide_0_listener() { return ctx.closeModal(); })("onShow", function SessionCreateComponent_Template_p_dialog_onShow_0_listener() { return ctx.setSession(); });
|
|
1455
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1)(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1456
|
+
i0.ɵɵelementStart(3, "div");
|
|
1457
|
+
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1458
|
+
i0.ɵɵelementEnd();
|
|
1459
|
+
i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1460
|
+
i0.ɵɵelementEnd();
|
|
1461
|
+
} if (rf & 2) {
|
|
1462
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$4));
|
|
1463
|
+
i0.ɵɵtwoWayProperty("visible", ctx.showCreateSession);
|
|
1464
|
+
i0.ɵɵproperty("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1465
|
+
i0.ɵɵadvance(2);
|
|
1466
|
+
i0.ɵɵproperty("ngIf", ctx.caja);
|
|
1467
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i21.ButtonDirective, i22.InputText, i10.DefaultValueAccessor, i10.NumberValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog] }); }
|
|
1468
|
+
}
|
|
1469
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1459
1470
|
type: Component,
|
|
1460
1471
|
args: [{ selector: 'session-create', template: "<p-dialog [(visible)]=\"showCreateSession\" [modal]=\"flagModal\" (onHide)=\"closeModal()\" (onShow)=\"setSession()\"\n [closeOnEscape]=\"flagModal\" [closable]=\"flagModal\" [blockScroll]=\"true\" [style]=\"{width: '750px'}\">\n\n <ng-template pTemplate=\"header\">\n <a class=\"text-primary\">{{labels.title}}: </a>\n </ng-template>\n\n <div class=\"grid grid-fluid\" *ngIf=\"caja\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" *ngIf=\"!editMode && caja\" class=\"p-button-sm\"></button>\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" *ngIf=\"editMode && caja\" class=\"p-button-sm p-button-success\"></button>\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
|
|
1461
|
-
}],
|
|
1472
|
+
}], () => [{ type: SessionCajaService }], { showCreateSession: [{
|
|
1462
1473
|
type: Input
|
|
1463
1474
|
}], caja: [{
|
|
1464
1475
|
type: Input
|
|
@@ -1471,6 +1482,7 @@ class SessionCreateComponent {
|
|
|
1471
1482
|
}], success: [{
|
|
1472
1483
|
type: Output
|
|
1473
1484
|
}] }); })();
|
|
1485
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SessionCreateComponent, { className: "SessionCreateComponent" }); })();
|
|
1474
1486
|
|
|
1475
1487
|
class Persona {
|
|
1476
1488
|
constructor() {
|
|
@@ -1518,15 +1530,15 @@ class ClienteService extends CrudService {
|
|
|
1518
1530
|
validar_archivos_bss(id) {
|
|
1519
1531
|
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
1520
1532
|
}
|
|
1533
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1534
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' }); }
|
|
1521
1535
|
}
|
|
1522
|
-
|
|
1523
|
-
/** @nocollapse */ ClienteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' });
|
|
1524
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
|
|
1536
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
|
|
1525
1537
|
type: Injectable,
|
|
1526
1538
|
args: [{
|
|
1527
1539
|
providedIn: 'root'
|
|
1528
1540
|
}]
|
|
1529
|
-
}],
|
|
1541
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
1530
1542
|
|
|
1531
1543
|
class PaginateService {
|
|
1532
1544
|
constructor(translate) {
|
|
@@ -1572,15 +1584,15 @@ class PaginateService {
|
|
|
1572
1584
|
}, erro => { });
|
|
1573
1585
|
return ordenar;
|
|
1574
1586
|
}
|
|
1587
|
+
/** @nocollapse */ static { this.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i3$1.TranslateService)); }; }
|
|
1588
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" }); }
|
|
1575
1589
|
}
|
|
1576
|
-
|
|
1577
|
-
/** @nocollapse */ PaginateService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" });
|
|
1578
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
|
|
1590
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
|
|
1579
1591
|
type: Injectable,
|
|
1580
1592
|
args: [{
|
|
1581
1593
|
providedIn: "root"
|
|
1582
1594
|
}]
|
|
1583
|
-
}],
|
|
1595
|
+
}], () => [{ type: i3$1.TranslateService }], null); })();
|
|
1584
1596
|
|
|
1585
1597
|
function SelectClienteComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1586
1598
|
i0.ɵɵelementStart(0, "tr")(1, "th");
|
|
@@ -1627,7 +1639,7 @@ function SelectClienteComponent_ng_template_8_span_6_Template(rf, ctx) { if (rf
|
|
|
1627
1639
|
i0.ɵɵpipe(2, "translate");
|
|
1628
1640
|
i0.ɵɵelementEnd();
|
|
1629
1641
|
} if (rf & 2) {
|
|
1630
|
-
i0.ɵɵadvance(
|
|
1642
|
+
i0.ɵɵadvance();
|
|
1631
1643
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
1632
1644
|
} }
|
|
1633
1645
|
function SelectClienteComponent_ng_template_8_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1636,7 +1648,7 @@ function SelectClienteComponent_ng_template_8_span_7_Template(rf, ctx) { if (rf
|
|
|
1636
1648
|
i0.ɵɵpipe(2, "translate");
|
|
1637
1649
|
i0.ɵɵelementEnd();
|
|
1638
1650
|
} if (rf & 2) {
|
|
1639
|
-
i0.ɵɵadvance(
|
|
1651
|
+
i0.ɵɵadvance();
|
|
1640
1652
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
1641
1653
|
} }
|
|
1642
1654
|
function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1647,8 +1659,7 @@ function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
1647
1659
|
i0.ɵɵtext(4);
|
|
1648
1660
|
i0.ɵɵelementEnd();
|
|
1649
1661
|
i0.ɵɵelementStart(5, "td");
|
|
1650
|
-
i0.ɵɵtemplate(6, SelectClienteComponent_ng_template_8_span_6_Template, 3, 3, "span", 9);
|
|
1651
|
-
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_8_span_7_Template, 3, 3, "span", 9);
|
|
1662
|
+
i0.ɵɵtemplate(6, SelectClienteComponent_ng_template_8_span_6_Template, 3, 3, "span", 9)(7, SelectClienteComponent_ng_template_8_span_7_Template, 3, 3, "span", 9);
|
|
1652
1663
|
i0.ɵɵelementEnd();
|
|
1653
1664
|
i0.ɵɵelementStart(8, "td");
|
|
1654
1665
|
i0.ɵɵtext(9);
|
|
@@ -1660,22 +1671,22 @@ function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
1660
1671
|
i0.ɵɵtext(13);
|
|
1661
1672
|
i0.ɵɵelementEnd()();
|
|
1662
1673
|
} if (rf & 2) {
|
|
1663
|
-
const
|
|
1664
|
-
i0.ɵɵproperty("pSelectableRow",
|
|
1674
|
+
const cliente_r1 = ctx.$implicit;
|
|
1675
|
+
i0.ɵɵproperty("pSelectableRow", cliente_r1);
|
|
1665
1676
|
i0.ɵɵadvance(2);
|
|
1666
|
-
i0.ɵɵtextInterpolate(
|
|
1677
|
+
i0.ɵɵtextInterpolate(cliente_r1.codigo);
|
|
1667
1678
|
i0.ɵɵadvance(2);
|
|
1668
|
-
i0.ɵɵtextInterpolate(
|
|
1679
|
+
i0.ɵɵtextInterpolate(cliente_r1.descripcionRazonSocial);
|
|
1669
1680
|
i0.ɵɵadvance(2);
|
|
1670
|
-
i0.ɵɵproperty("ngIf",
|
|
1671
|
-
i0.ɵɵadvance(
|
|
1672
|
-
i0.ɵɵproperty("ngIf",
|
|
1681
|
+
i0.ɵɵproperty("ngIf", cliente_r1.personaFisica);
|
|
1682
|
+
i0.ɵɵadvance();
|
|
1683
|
+
i0.ɵɵproperty("ngIf", cliente_r1.personaMoral);
|
|
1673
1684
|
i0.ɵɵadvance(2);
|
|
1674
|
-
i0.ɵɵtextInterpolate(
|
|
1685
|
+
i0.ɵɵtextInterpolate(cliente_r1.limiteCredito);
|
|
1675
1686
|
i0.ɵɵadvance(2);
|
|
1676
|
-
i0.ɵɵtextInterpolate(
|
|
1687
|
+
i0.ɵɵtextInterpolate(cliente_r1.plazoCredito);
|
|
1677
1688
|
i0.ɵɵadvance(2);
|
|
1678
|
-
i0.ɵɵtextInterpolate(
|
|
1689
|
+
i0.ɵɵtextInterpolate(cliente_r1.diasPago);
|
|
1679
1690
|
} }
|
|
1680
1691
|
function SelectClienteComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
1681
1692
|
i0.ɵɵelementStart(0, "tr")(1, "td", 10);
|
|
@@ -1740,39 +1751,43 @@ class SelectClienteComponent {
|
|
|
1740
1751
|
this.select.emit(null);
|
|
1741
1752
|
this.visible = false;
|
|
1742
1753
|
}
|
|
1743
|
-
}
|
|
1744
|
-
/** @nocollapse */
|
|
1745
|
-
|
|
1746
|
-
|
|
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
|
-
(
|
|
1754
|
+
/** @nocollapse */ static { this.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); }; }
|
|
1755
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, decls: 10, vars: 18, consts: [[3, "visibleChange", "onHide", "onShow", "header", "visible"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "ngModelChange", "keyup", "placeholder", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "scrollHeight", "350px", 3, "onLazyLoad", "selectionChange", "onRowSelect", "value", "lazy", "paginator", "rows", "totalRecords", "selection", "selectionMode", "scrollable", "loading"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "pSelectableRow"], [4, "ngIf"], ["colspan", "6"]], template: function SelectClienteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1756
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1757
|
+
i0.ɵɵpipe(1, "translate");
|
|
1758
|
+
i0.ɵɵtwoWayListener("visibleChange", function SelectClienteComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.visible, $event) || (ctx.visible = $event); return $event; });
|
|
1759
|
+
i0.ɵɵlistener("onHide", function SelectClienteComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrar(); })("onShow", function SelectClienteComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosClientes(); });
|
|
1760
|
+
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1761
|
+
i0.ɵɵpipe(4, "translate");
|
|
1762
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SelectClienteComponent_Template_input_ngModelChange_3_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.page.filtro, $event) || (ctx.page.filtro = $event); return $event; });
|
|
1763
|
+
i0.ɵɵlistener("keyup", function SelectClienteComponent_Template_input_keyup_3_listener() { return ctx.aplicarFiltro(); });
|
|
1764
|
+
i0.ɵɵelementEnd();
|
|
1765
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1766
|
+
i0.ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1767
|
+
i0.ɵɵelementEnd()();
|
|
1768
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1769
|
+
i0.ɵɵlistener("onLazyLoad", function SelectClienteComponent_Template_p_table_onLazyLoad_6_listener($event) { return ctx.cargarDatosClientes($event); });
|
|
1770
|
+
i0.ɵɵtwoWayListener("selectionChange", function SelectClienteComponent_Template_p_table_selectionChange_6_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.clienteSeleccionado, $event) || (ctx.clienteSeleccionado = $event); return $event; });
|
|
1771
|
+
i0.ɵɵlistener("onRowSelect", function SelectClienteComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionaCliente($event); });
|
|
1772
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5)(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6)(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1773
|
+
i0.ɵɵelementEnd()();
|
|
1774
|
+
} if (rf & 2) {
|
|
1775
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 14, "Seleccionar cliente "));
|
|
1776
|
+
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
1777
|
+
i0.ɵɵadvance(3);
|
|
1778
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 16, "buscar"), "...");
|
|
1779
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
1780
|
+
i0.ɵɵadvance(3);
|
|
1781
|
+
i0.ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1782
|
+
i0.ɵɵproperty("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total);
|
|
1783
|
+
i0.ɵɵtwoWayProperty("selection", ctx.clienteSeleccionado);
|
|
1784
|
+
i0.ɵɵproperty("scrollable", true)("loading", ctx.loading);
|
|
1785
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i18.Table, i18.SelectableRow, i21.ButtonDirective, i22.InputText, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i3$1.TranslatePipe], encapsulation: 2 }); }
|
|
1786
|
+
}
|
|
1787
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1773
1788
|
type: Component,
|
|
1774
1789
|
args: [{ selector: 'select-cliente', template: "<p-dialog header=\"{{ 'Seleccionar cliente ' | translate }}\" [(visible)]=\"visible\" (onHide)=\"cerrar()\"\n (onShow)=\"cargarDatosClientes()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"aplicarFiltro()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"aplicarFiltro()\"></button>\n </div>\n\n <p-table\n [value]=\"clientes\"\n dataKey=\"id\" [lazy]=\"true\"\n (onLazyLoad)=\"cargarDatosClientes($event)\"\n [paginator]=\"true\"\n [rows]=\"page.rows\"\n [totalRecords]=\"page.total\"\n [(selection)]=\"clienteSeleccionado\"\n selectionMode=\"{{selectMode}}\"\n (onRowSelect)=\"seleccionaCliente($event)\"\n [scrollable]=\"true\" scrollHeight=\"350px\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'Cliente.limiteCredito' | translate}}</th>\n <th>{{'Cliente.plazoCredito' | translate}}</th>\n <th>{{'Cliente.diasPago' | translate}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-cliente>\n <tr [pSelectableRow]=\"cliente\"> \n <td>{{cliente.codigo}}</td>\n <td>{{cliente.descripcionRazonSocial}}</td>\n <td>\n <span *ngIf=\"cliente.personaFisica\">{{'fisico'| translate}}</span>\n <span *ngIf=\"cliente.personaMoral\">{{'moral'| translate}}</span>\n </td>\n <td>{{cliente.limiteCredito}}</td>\n <td>{{cliente.plazoCredito}}</td>\n <td>{{cliente.diasPago}}</td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td colspan=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n</p-table>\n \n</p-dialog>" }]
|
|
1775
|
-
}],
|
|
1790
|
+
}], () => [{ type: ClienteService }, { type: PaginateService }], { clienteSeleccionado: [{
|
|
1776
1791
|
type: Input
|
|
1777
1792
|
}], selectMode: [{
|
|
1778
1793
|
type: Input
|
|
@@ -1781,6 +1796,7 @@ class SelectClienteComponent {
|
|
|
1781
1796
|
}], select: [{
|
|
1782
1797
|
type: Output
|
|
1783
1798
|
}] }); })();
|
|
1799
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectClienteComponent, { className: "SelectClienteComponent" }); })();
|
|
1784
1800
|
|
|
1785
1801
|
class ClasificadorTipo {
|
|
1786
1802
|
constructor() { }
|
|
@@ -1800,16 +1816,17 @@ class ProveedorService extends CrudService {
|
|
|
1800
1816
|
super(httpClient, '/proveedor');
|
|
1801
1817
|
this.httpClient = httpClient;
|
|
1802
1818
|
}
|
|
1819
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1820
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' }); }
|
|
1803
1821
|
}
|
|
1804
|
-
|
|
1805
|
-
/** @nocollapse */ ProveedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' });
|
|
1806
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
|
|
1822
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
|
|
1807
1823
|
type: Injectable,
|
|
1808
1824
|
args: [{
|
|
1809
1825
|
providedIn: 'root'
|
|
1810
1826
|
}]
|
|
1811
|
-
}],
|
|
1827
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
1812
1828
|
|
|
1829
|
+
const _c0$3 = () => [10, 25, 50, 100, 500];
|
|
1813
1830
|
function SelectProveedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1814
1831
|
i0.ɵɵelementStart(0, "tr")(1, "th");
|
|
1815
1832
|
i0.ɵɵtext(2);
|
|
@@ -1842,15 +1859,14 @@ function SelectProveedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1)
|
|
|
1842
1859
|
i0.ɵɵtext(6);
|
|
1843
1860
|
i0.ɵɵelementEnd()();
|
|
1844
1861
|
} if (rf & 2) {
|
|
1845
|
-
const
|
|
1862
|
+
const proveedor_r1 = ctx.rowData;
|
|
1846
1863
|
i0.ɵɵadvance(2);
|
|
1847
|
-
i0.ɵɵtextInterpolate(
|
|
1864
|
+
i0.ɵɵtextInterpolate(proveedor_r1.codigo);
|
|
1848
1865
|
i0.ɵɵadvance(2);
|
|
1849
|
-
i0.ɵɵtextInterpolate(
|
|
1866
|
+
i0.ɵɵtextInterpolate(proveedor_r1.descripcionRazonSocial);
|
|
1850
1867
|
i0.ɵɵadvance(2);
|
|
1851
|
-
i0.ɵɵtextInterpolate(
|
|
1868
|
+
i0.ɵɵtextInterpolate(proveedor_r1.descripcionRfc);
|
|
1852
1869
|
} }
|
|
1853
|
-
const _c0$3 = function () { return [10, 25, 50, 100, 500]; };
|
|
1854
1870
|
class SelectProveedorComponent {
|
|
1855
1871
|
constructor(proveedorService, paginanateService, translate) {
|
|
1856
1872
|
this.proveedorService = proveedorService;
|
|
@@ -1889,48 +1905,52 @@ class SelectProveedorComponent {
|
|
|
1889
1905
|
this.select.emit(e.data);
|
|
1890
1906
|
this.visible = false;
|
|
1891
1907
|
}
|
|
1892
|
-
}
|
|
1893
|
-
/** @nocollapse */
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
(
|
|
1908
|
+
/** @nocollapse */ static { this.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); }; }
|
|
1909
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 17, consts: [[3, "visibleChange", "onHide", "onShow", "header", "visible"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "ngModelChange", "change", "placeholder", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["selectionMode", "single", "scrollHeight", "350px", 3, "valueChange", "selectionChange", "onRowSelect", "value", "selection", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"]], template: function SelectProveedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1910
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1911
|
+
i0.ɵɵpipe(1, "translate");
|
|
1912
|
+
i0.ɵɵtwoWayListener("visibleChange", function SelectProveedorComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.visible, $event) || (ctx.visible = $event); return $event; });
|
|
1913
|
+
i0.ɵɵlistener("onHide", function SelectProveedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectProveedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosProveedores(); });
|
|
1914
|
+
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1915
|
+
i0.ɵɵpipe(4, "translate");
|
|
1916
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SelectProveedorComponent_Template_input_ngModelChange_3_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.page.filtro, $event) || (ctx.page.filtro = $event); return $event; });
|
|
1917
|
+
i0.ɵɵlistener("change", function SelectProveedorComponent_Template_input_change_3_listener() { return ctx.cargarDatosProveedores(); });
|
|
1918
|
+
i0.ɵɵelementEnd();
|
|
1919
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1920
|
+
i0.ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
1921
|
+
i0.ɵɵelementEnd()();
|
|
1922
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1923
|
+
i0.ɵɵtwoWayListener("valueChange", function SelectProveedorComponent_Template_p_table_valueChange_6_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.proveedores, $event) || (ctx.proveedores = $event); return $event; })("selectionChange", function SelectProveedorComponent_Template_p_table_selectionChange_6_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.proveedorSeleccionado, $event) || (ctx.proveedorSeleccionado = $event); return $event; });
|
|
1924
|
+
i0.ɵɵlistener("onRowSelect", function SelectProveedorComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionarProveedor($event); });
|
|
1925
|
+
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5)(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
1926
|
+
i0.ɵɵelementEnd();
|
|
1927
|
+
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
1928
|
+
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
1929
|
+
i0.ɵɵelementEnd()();
|
|
1930
|
+
} if (rf & 2) {
|
|
1931
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 12, "ArticuloProveedor.proveedores"));
|
|
1932
|
+
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
1933
|
+
i0.ɵɵadvance(3);
|
|
1934
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 14, "buscar"), "...");
|
|
1935
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
1936
|
+
i0.ɵɵadvance(3);
|
|
1937
|
+
i0.ɵɵtwoWayProperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado);
|
|
1938
|
+
i0.ɵɵproperty("scrollable", true);
|
|
1939
|
+
i0.ɵɵadvance(3);
|
|
1940
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(16, _c0$3));
|
|
1941
|
+
} }, dependencies: [i3.PrimeTemplate, i18.Table, i21.ButtonDirective, i22.InputText, i27.Paginator, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i3$1.TranslatePipe], encapsulation: 2 }); }
|
|
1942
|
+
}
|
|
1943
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
1925
1944
|
type: Component,
|
|
1926
1945
|
args: [{ selector: 'select-proveedor', template: "<p-dialog header=\"{{'ArticuloProveedor.proveedores' | translate}}\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosProveedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (change)=\"cargarDatosProveedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosProveedores()\"></button>\n </div>\n\n <p-table [(value)]=\"proveedores\" selectionMode=\"single\" [(selection)]=\"proveedorSeleccionado\"\n [scrollable]=\"true\" scrollHeight=\"350px\" (onRowSelect)=\"seleccionarProveedor($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n </tr>\n </ng-template> \n <ng-template pTemplate=\"body\" let-proveedor=\"rowData\">\n <tr>\n <td>{{proveedor.codigo}}</td>\n <td>{{proveedor.descripcionRazonSocial}}</td>\n <td>{{proveedor.descripcionRfc}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
|
|
1927
|
-
}],
|
|
1946
|
+
}], () => [{ type: ProveedorService }, { type: PaginateService }, { type: i3$1.TranslateService }], { visible: [{
|
|
1928
1947
|
type: Input
|
|
1929
1948
|
}], proveedorSeleccionado: [{
|
|
1930
1949
|
type: Input
|
|
1931
1950
|
}], select: [{
|
|
1932
1951
|
type: Output
|
|
1933
1952
|
}] }); })();
|
|
1953
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectProveedorComponent, { className: "SelectProveedorComponent" }); })();
|
|
1934
1954
|
|
|
1935
1955
|
class AlmacenService extends CrudService {
|
|
1936
1956
|
constructor(httpClient) {
|
|
@@ -1941,15 +1961,15 @@ class AlmacenService extends CrudService {
|
|
|
1941
1961
|
let url = this.geturl() + '/obtenerAlmacenEmpresa';
|
|
1942
1962
|
return this.getHttp().get(url, this.buildAuth());
|
|
1943
1963
|
}
|
|
1964
|
+
/** @nocollapse */ static { this.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1965
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' }); }
|
|
1944
1966
|
}
|
|
1945
|
-
|
|
1946
|
-
/** @nocollapse */ AlmacenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' });
|
|
1947
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
|
|
1967
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
|
|
1948
1968
|
type: Injectable,
|
|
1949
1969
|
args: [{
|
|
1950
1970
|
providedIn: 'root'
|
|
1951
1971
|
}]
|
|
1952
|
-
}],
|
|
1972
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
1953
1973
|
|
|
1954
1974
|
class StockService extends CrudService {
|
|
1955
1975
|
constructor(httpClient) {
|
|
@@ -1967,15 +1987,15 @@ class StockService extends CrudService {
|
|
|
1967
1987
|
});
|
|
1968
1988
|
return promesa;
|
|
1969
1989
|
}
|
|
1990
|
+
/** @nocollapse */ static { this.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1991
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' }); }
|
|
1970
1992
|
}
|
|
1971
|
-
|
|
1972
|
-
/** @nocollapse */ StockService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' });
|
|
1973
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
|
|
1993
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
|
|
1974
1994
|
type: Injectable,
|
|
1975
1995
|
args: [{
|
|
1976
1996
|
providedIn: 'root'
|
|
1977
1997
|
}]
|
|
1978
|
-
}],
|
|
1998
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
1979
1999
|
|
|
1980
2000
|
class ArticuloInformacionService extends CrudService {
|
|
1981
2001
|
constructor(httpClient) {
|
|
@@ -1986,48 +2006,50 @@ class ArticuloInformacionService extends CrudService {
|
|
|
1986
2006
|
let uRL = "/existenciasArticulo/" + articulo;
|
|
1987
2007
|
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
1988
2008
|
}
|
|
2009
|
+
/** @nocollapse */ static { this.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
2010
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' }); }
|
|
1989
2011
|
}
|
|
1990
|
-
|
|
1991
|
-
/** @nocollapse */ ArticuloInformacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' });
|
|
1992
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
|
|
2012
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
|
|
1993
2013
|
type: Injectable,
|
|
1994
2014
|
args: [{
|
|
1995
2015
|
providedIn: 'root'
|
|
1996
2016
|
}]
|
|
1997
|
-
}],
|
|
2017
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
1998
2018
|
|
|
2019
|
+
const _c0$2 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
2020
|
+
const _c1$1 = () => ({ width: "600px" });
|
|
1999
2021
|
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
2000
2022
|
i0.ɵɵelement(0, "col");
|
|
2001
2023
|
} if (rf & 2) {
|
|
2002
|
-
const
|
|
2003
|
-
i0.ɵɵstyleProp("width",
|
|
2024
|
+
const col_r1 = ctx.$implicit;
|
|
2025
|
+
i0.ɵɵstyleProp("width", col_r1.width);
|
|
2004
2026
|
} }
|
|
2005
2027
|
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2006
2028
|
i0.ɵɵelementStart(0, "colgroup");
|
|
2007
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col",
|
|
2029
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 6);
|
|
2008
2030
|
i0.ɵɵelementEnd();
|
|
2009
2031
|
} if (rf & 2) {
|
|
2010
|
-
const
|
|
2011
|
-
i0.ɵɵadvance(
|
|
2012
|
-
i0.ɵɵproperty("ngForOf",
|
|
2032
|
+
const columns_r2 = ctx.$implicit;
|
|
2033
|
+
i0.ɵɵadvance();
|
|
2034
|
+
i0.ɵɵproperty("ngForOf", columns_r2);
|
|
2013
2035
|
} }
|
|
2014
2036
|
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
2015
|
-
i0.ɵɵelementStart(0, "th",
|
|
2037
|
+
i0.ɵɵelementStart(0, "th", 8);
|
|
2016
2038
|
i0.ɵɵtext(1);
|
|
2017
2039
|
i0.ɵɵelementEnd();
|
|
2018
2040
|
} if (rf & 2) {
|
|
2019
|
-
const
|
|
2020
|
-
i0.ɵɵadvance(
|
|
2021
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
2041
|
+
const col_r3 = ctx.$implicit;
|
|
2042
|
+
i0.ɵɵadvance();
|
|
2043
|
+
i0.ɵɵtextInterpolate1(" ", col_r3.header, " ");
|
|
2022
2044
|
} }
|
|
2023
2045
|
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2024
2046
|
i0.ɵɵelementStart(0, "tr");
|
|
2025
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th",
|
|
2047
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 7);
|
|
2026
2048
|
i0.ɵɵelementEnd();
|
|
2027
2049
|
} if (rf & 2) {
|
|
2028
|
-
const
|
|
2029
|
-
i0.ɵɵadvance(
|
|
2030
|
-
i0.ɵɵproperty("ngForOf",
|
|
2050
|
+
const columns_r4 = ctx.$implicit;
|
|
2051
|
+
i0.ɵɵadvance();
|
|
2052
|
+
i0.ɵɵproperty("ngForOf", columns_r4);
|
|
2031
2053
|
} }
|
|
2032
2054
|
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2033
2055
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -2046,20 +2068,24 @@ function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) {
|
|
|
2046
2068
|
i0.ɵɵtext(10);
|
|
2047
2069
|
i0.ɵɵelementEnd()();
|
|
2048
2070
|
} if (rf & 2) {
|
|
2049
|
-
const
|
|
2071
|
+
const rowData_r5 = ctx.$implicit;
|
|
2050
2072
|
i0.ɵɵadvance(2);
|
|
2051
|
-
i0.ɵɵtextInterpolate(
|
|
2073
|
+
i0.ɵɵtextInterpolate(rowData_r5.almacenCodigo);
|
|
2052
2074
|
i0.ɵɵadvance(2);
|
|
2053
|
-
i0.ɵɵtextInterpolate(
|
|
2075
|
+
i0.ɵɵtextInterpolate(rowData_r5.almacenDescripcion);
|
|
2054
2076
|
i0.ɵɵadvance(2);
|
|
2055
|
-
i0.ɵɵtextInterpolate(
|
|
2077
|
+
i0.ɵɵtextInterpolate(rowData_r5.ubicacionCodigo);
|
|
2056
2078
|
i0.ɵɵadvance(2);
|
|
2057
|
-
i0.ɵɵtextInterpolate(
|
|
2079
|
+
i0.ɵɵtextInterpolate(rowData_r5.ubicacionDescripcion);
|
|
2058
2080
|
i0.ɵɵadvance(2);
|
|
2059
|
-
i0.ɵɵtextInterpolate(
|
|
2081
|
+
i0.ɵɵtextInterpolate(rowData_r5.existencia);
|
|
2082
|
+
} }
|
|
2083
|
+
function SeleccionArticuloInformacionComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
2084
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
2085
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "button", 10);
|
|
2086
|
+
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_ng_template_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.hiddenDialog()); });
|
|
2087
|
+
i0.ɵɵelementEnd()();
|
|
2060
2088
|
} }
|
|
2061
|
-
const _c0$2 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2062
|
-
const _c1$1 = function () { return { width: "600px" }; };
|
|
2063
2089
|
class SeleccionArticuloInformacionComponent {
|
|
2064
2090
|
constructor(articuloInformacionService) {
|
|
2065
2091
|
this.articuloInformacionService = articuloInformacionService;
|
|
@@ -2099,46 +2125,50 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2099
2125
|
onSelectedUbicacion(ubicacionRow) {
|
|
2100
2126
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
2101
2127
|
}
|
|
2102
|
-
}
|
|
2103
|
-
/** @nocollapse */
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2128
|
+
/** @nocollapse */ static { this.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); }; }
|
|
2129
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls: 6, vars: 19, consts: [[3, "onShow", "visibleChange", "onHide", "resize", "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable", "breakpoint"], ["responsiveLayout", "scroll", "scrollHeight", "350px", 3, "columns", "value", "scrollable"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "footer"], [3, "width", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 4, "ngFor", "ngForOf"], ["pResizableColumn", ""], [1, "container-end"], ["pButton", "", "type", "button", "icon", "pi pi-replay", "label", "Cerrar", 1, "ui-button-raised", "ui-button-secondary", 3, "click"]], template: function SeleccionArticuloInformacionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2130
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2131
|
+
i0.ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); });
|
|
2132
|
+
i0.ɵɵtwoWayListener("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.showModal, $event) || (ctx.showModal = $event); return $event; });
|
|
2133
|
+
i0.ɵɵlistener("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);
|
|
2134
|
+
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2135
|
+
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2)(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3)(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2136
|
+
i0.ɵɵelementEnd();
|
|
2137
|
+
i0.ɵɵtemplate(5, SeleccionArticuloInformacionComponent_ng_template_5_Template, 2, 0, "ng-template", 5);
|
|
2138
|
+
i0.ɵɵelementEnd();
|
|
2139
|
+
} if (rf & 2) {
|
|
2140
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(16, _c0$2, ctx.size + "px"));
|
|
2141
|
+
i0.ɵɵproperty("header", ctx.titulo);
|
|
2142
|
+
i0.ɵɵtwoWayProperty("visible", ctx.showModal);
|
|
2143
|
+
i0.ɵɵproperty("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2144
|
+
i0.ɵɵadvance();
|
|
2145
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(18, _c1$1));
|
|
2146
|
+
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true);
|
|
2147
|
+
} }, dependencies: [i4.NgForOf, i3.PrimeTemplate, i18.Table, i18.ResizableColumn, i21.ButtonDirective, i33.Dialog] }); }
|
|
2148
|
+
}
|
|
2149
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
2123
2150
|
type: Component,
|
|
2124
|
-
args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n
|
|
2125
|
-
}],
|
|
2151
|
+
args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </ng-template>\n</p-dialog>" }]
|
|
2152
|
+
}], () => [{ type: ArticuloInformacionService }], { showModal: [{
|
|
2126
2153
|
type: Input
|
|
2127
2154
|
}], articulo: [{
|
|
2128
2155
|
type: Input
|
|
2129
2156
|
}], eventSelection: [{
|
|
2130
2157
|
type: Output
|
|
2131
2158
|
}] }); })();
|
|
2159
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionArticuloInformacionComponent, { className: "SeleccionArticuloInformacionComponent" }); })();
|
|
2132
2160
|
|
|
2161
|
+
const _c0$1 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
2162
|
+
const _c1 = () => [10, 25, 50, 100, 500];
|
|
2133
2163
|
function SeleccionaArticuloComponent_option_23_Template(rf, ctx) { if (rf & 1) {
|
|
2134
2164
|
i0.ɵɵelementStart(0, "option", 22);
|
|
2135
2165
|
i0.ɵɵtext(1);
|
|
2136
2166
|
i0.ɵɵelementEnd();
|
|
2137
2167
|
} if (rf & 2) {
|
|
2138
|
-
const
|
|
2139
|
-
i0.ɵɵpropertyInterpolate("value",
|
|
2140
|
-
i0.ɵɵadvance(
|
|
2141
|
-
i0.ɵɵtextInterpolate(
|
|
2168
|
+
const almacen_r2 = ctx.$implicit;
|
|
2169
|
+
i0.ɵɵpropertyInterpolate("value", almacen_r2.id);
|
|
2170
|
+
i0.ɵɵadvance();
|
|
2171
|
+
i0.ɵɵtextInterpolate(almacen_r2.descripcion);
|
|
2142
2172
|
} }
|
|
2143
2173
|
function SeleccionaArticuloComponent_ng_template_26_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
2144
2174
|
i0.ɵɵelementStart(0, "th", 31);
|
|
@@ -2185,9 +2215,9 @@ function SeleccionaArticuloComponent_ng_template_26_th_22_Template(rf, ctx) { if
|
|
|
2185
2215
|
i0.ɵɵtext(1);
|
|
2186
2216
|
i0.ɵɵelementEnd();
|
|
2187
2217
|
} if (rf & 2) {
|
|
2188
|
-
const
|
|
2189
|
-
i0.ɵɵadvance(
|
|
2190
|
-
i0.ɵɵtextInterpolate(
|
|
2218
|
+
const item_r3 = ctx.$implicit;
|
|
2219
|
+
i0.ɵɵadvance();
|
|
2220
|
+
i0.ɵɵtextInterpolate(item_r3.descripcion);
|
|
2191
2221
|
} }
|
|
2192
2222
|
function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
2193
2223
|
i0.ɵɵelementStart(0, "tr")(1, "th", 23);
|
|
@@ -2199,8 +2229,7 @@ function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf &
|
|
|
2199
2229
|
i0.ɵɵelementStart(5, "th", 25);
|
|
2200
2230
|
i0.ɵɵtext(6, "Unidad");
|
|
2201
2231
|
i0.ɵɵelementEnd();
|
|
2202
|
-
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_26_th_7_Template, 2, 0, "th", 26);
|
|
2203
|
-
i0.ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_26_th_8_Template, 2, 0, "th", 27);
|
|
2232
|
+
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_26_th_7_Template, 2, 0, "th", 26)(8, SeleccionaArticuloComponent_ng_template_26_th_8_Template, 2, 0, "th", 27);
|
|
2204
2233
|
i0.ɵɵelementStart(9, "th", 23);
|
|
2205
2234
|
i0.ɵɵtext(10, "C\u00F3digo");
|
|
2206
2235
|
i0.ɵɵelementEnd();
|
|
@@ -2208,37 +2237,32 @@ function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf &
|
|
|
2208
2237
|
i0.ɵɵtext(12, "Descripcion");
|
|
2209
2238
|
i0.ɵɵelementEnd();
|
|
2210
2239
|
i0.ɵɵelement(13, "th", 25);
|
|
2211
|
-
i0.ɵɵtemplate(14, SeleccionaArticuloComponent_ng_template_26_th_14_Template, 2, 0, "th", 29);
|
|
2212
|
-
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_26_th_15_Template, 2, 0, "th", 29);
|
|
2213
|
-
i0.ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_26_th_16_Template, 2, 0, "th", 29);
|
|
2214
|
-
i0.ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_26_th_17_Template, 2, 0, "th", 29);
|
|
2215
|
-
i0.ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_26_th_18_Template, 2, 0, "th", 29);
|
|
2216
|
-
i0.ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_26_th_19_Template, 2, 0, "th", 27);
|
|
2240
|
+
i0.ɵɵtemplate(14, SeleccionaArticuloComponent_ng_template_26_th_14_Template, 2, 0, "th", 29)(15, SeleccionaArticuloComponent_ng_template_26_th_15_Template, 2, 0, "th", 29)(16, SeleccionaArticuloComponent_ng_template_26_th_16_Template, 2, 0, "th", 29)(17, SeleccionaArticuloComponent_ng_template_26_th_17_Template, 2, 0, "th", 29)(18, SeleccionaArticuloComponent_ng_template_26_th_18_Template, 2, 0, "th", 29)(19, SeleccionaArticuloComponent_ng_template_26_th_19_Template, 2, 0, "th", 27);
|
|
2217
2241
|
i0.ɵɵelementStart(20, "th", 25);
|
|
2218
2242
|
i0.ɵɵtext(21, "Existencia por Unidad");
|
|
2219
2243
|
i0.ɵɵelementEnd();
|
|
2220
2244
|
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_26_th_22_Template, 2, 1, "th", 30);
|
|
2221
2245
|
i0.ɵɵelementEnd();
|
|
2222
2246
|
} if (rf & 2) {
|
|
2223
|
-
const
|
|
2247
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
2224
2248
|
i0.ɵɵadvance(7);
|
|
2225
|
-
i0.ɵɵproperty("ngIf",
|
|
2226
|
-
i0.ɵɵadvance(
|
|
2227
|
-
i0.ɵɵproperty("ngIf",
|
|
2249
|
+
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2250
|
+
i0.ɵɵadvance();
|
|
2251
|
+
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2228
2252
|
i0.ɵɵadvance(6);
|
|
2229
|
-
i0.ɵɵproperty("ngIf",
|
|
2230
|
-
i0.ɵɵadvance(
|
|
2231
|
-
i0.ɵɵproperty("ngIf",
|
|
2232
|
-
i0.ɵɵadvance(
|
|
2233
|
-
i0.ɵɵproperty("ngIf",
|
|
2234
|
-
i0.ɵɵadvance(
|
|
2235
|
-
i0.ɵɵproperty("ngIf",
|
|
2236
|
-
i0.ɵɵadvance(
|
|
2237
|
-
i0.ɵɵproperty("ngIf",
|
|
2238
|
-
i0.ɵɵadvance(
|
|
2239
|
-
i0.ɵɵproperty("ngIf",
|
|
2253
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2254
|
+
i0.ɵɵadvance();
|
|
2255
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2256
|
+
i0.ɵɵadvance();
|
|
2257
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2258
|
+
i0.ɵɵadvance();
|
|
2259
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2260
|
+
i0.ɵɵadvance();
|
|
2261
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2262
|
+
i0.ɵɵadvance();
|
|
2263
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
|
|
2240
2264
|
i0.ɵɵadvance(3);
|
|
2241
|
-
i0.ɵɵproperty("ngForOf",
|
|
2265
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.clasificadorList);
|
|
2242
2266
|
} }
|
|
2243
2267
|
function SeleccionaArticuloComponent_ng_template_27_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
2244
2268
|
i0.ɵɵelementStart(0, "td", 23);
|
|
@@ -2250,27 +2274,27 @@ function SeleccionaArticuloComponent_ng_template_27_td_2_Template(rf, ctx) { if
|
|
|
2250
2274
|
i0.ɵɵtext(1);
|
|
2251
2275
|
i0.ɵɵelementEnd();
|
|
2252
2276
|
} if (rf & 2) {
|
|
2253
|
-
const
|
|
2254
|
-
i0.ɵɵadvance(
|
|
2255
|
-
i0.ɵɵtextInterpolate(
|
|
2277
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2278
|
+
i0.ɵɵadvance();
|
|
2279
|
+
i0.ɵɵtextInterpolate(rowData_r6.ubicacionCodigo);
|
|
2256
2280
|
} }
|
|
2257
2281
|
function SeleccionaArticuloComponent_ng_template_27_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
2258
2282
|
i0.ɵɵelementStart(0, "td", 44);
|
|
2259
2283
|
i0.ɵɵtext(1);
|
|
2260
2284
|
i0.ɵɵelementEnd();
|
|
2261
2285
|
} if (rf & 2) {
|
|
2262
|
-
const
|
|
2263
|
-
i0.ɵɵadvance(
|
|
2264
|
-
i0.ɵɵtextInterpolate(
|
|
2286
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2287
|
+
i0.ɵɵadvance();
|
|
2288
|
+
i0.ɵɵtextInterpolate(rowData_r6.existenciaSecundaria);
|
|
2265
2289
|
} }
|
|
2266
2290
|
function SeleccionaArticuloComponent_ng_template_27_td_8_Template(rf, ctx) { if (rf & 1) {
|
|
2267
2291
|
i0.ɵɵelementStart(0, "td", 36);
|
|
2268
2292
|
i0.ɵɵtext(1);
|
|
2269
2293
|
i0.ɵɵelementEnd();
|
|
2270
2294
|
} if (rf & 2) {
|
|
2271
|
-
const
|
|
2272
|
-
i0.ɵɵadvance(
|
|
2273
|
-
i0.ɵɵtextInterpolate(
|
|
2295
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2296
|
+
i0.ɵɵadvance();
|
|
2297
|
+
i0.ɵɵtextInterpolate(rowData_r6.unidadSecundariaCodigo);
|
|
2274
2298
|
} }
|
|
2275
2299
|
function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if (rf & 1) {
|
|
2276
2300
|
i0.ɵɵelementStart(0, "td", 39);
|
|
@@ -2278,9 +2302,9 @@ function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if
|
|
|
2278
2302
|
i0.ɵɵpipe(2, "currency");
|
|
2279
2303
|
i0.ɵɵelementEnd();
|
|
2280
2304
|
} if (rf & 2) {
|
|
2281
|
-
const
|
|
2282
|
-
i0.ɵɵadvance(
|
|
2283
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1,
|
|
2305
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2306
|
+
i0.ɵɵadvance();
|
|
2307
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, rowData_r6.precioConImpuestos), " ");
|
|
2284
2308
|
} }
|
|
2285
2309
|
function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if (rf & 1) {
|
|
2286
2310
|
i0.ɵɵelementStart(0, "td", 39);
|
|
@@ -2288,9 +2312,9 @@ function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if
|
|
|
2288
2312
|
i0.ɵɵpipe(2, "currency");
|
|
2289
2313
|
i0.ɵɵelementEnd();
|
|
2290
2314
|
} if (rf & 2) {
|
|
2291
|
-
const
|
|
2292
|
-
i0.ɵɵadvance(
|
|
2293
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
2315
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2316
|
+
i0.ɵɵadvance();
|
|
2317
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio2ConImpuestos));
|
|
2294
2318
|
} }
|
|
2295
2319
|
function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if (rf & 1) {
|
|
2296
2320
|
i0.ɵɵelementStart(0, "td", 39);
|
|
@@ -2298,9 +2322,9 @@ function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if
|
|
|
2298
2322
|
i0.ɵɵpipe(2, "currency");
|
|
2299
2323
|
i0.ɵɵelementEnd();
|
|
2300
2324
|
} if (rf & 2) {
|
|
2301
|
-
const
|
|
2302
|
-
i0.ɵɵadvance(
|
|
2303
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
2325
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2326
|
+
i0.ɵɵadvance();
|
|
2327
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio3ConImpuestos));
|
|
2304
2328
|
} }
|
|
2305
2329
|
function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if (rf & 1) {
|
|
2306
2330
|
i0.ɵɵelementStart(0, "td", 39);
|
|
@@ -2308,9 +2332,9 @@ function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if
|
|
|
2308
2332
|
i0.ɵɵpipe(2, "currency");
|
|
2309
2333
|
i0.ɵɵelementEnd();
|
|
2310
2334
|
} if (rf & 2) {
|
|
2311
|
-
const
|
|
2312
|
-
i0.ɵɵadvance(
|
|
2313
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
2335
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2336
|
+
i0.ɵɵadvance();
|
|
2337
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio4ConImpuestos));
|
|
2314
2338
|
} }
|
|
2315
2339
|
function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if (rf & 1) {
|
|
2316
2340
|
i0.ɵɵelementStart(0, "td", 39);
|
|
@@ -2318,9 +2342,9 @@ function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if
|
|
|
2318
2342
|
i0.ɵɵpipe(2, "currency");
|
|
2319
2343
|
i0.ɵɵelementEnd();
|
|
2320
2344
|
} if (rf & 2) {
|
|
2321
|
-
const
|
|
2322
|
-
i0.ɵɵadvance(
|
|
2323
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
2345
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2346
|
+
i0.ɵɵadvance();
|
|
2347
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio5ConImpuestos));
|
|
2324
2348
|
} }
|
|
2325
2349
|
function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if (rf & 1) {
|
|
2326
2350
|
i0.ɵɵelementStart(0, "td", 36);
|
|
@@ -2328,9 +2352,9 @@ function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if
|
|
|
2328
2352
|
i0.ɵɵpipe(2, "currency");
|
|
2329
2353
|
i0.ɵɵelementEnd();
|
|
2330
2354
|
} if (rf & 2) {
|
|
2331
|
-
const
|
|
2332
|
-
i0.ɵɵadvance(
|
|
2333
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1,
|
|
2355
|
+
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2356
|
+
i0.ɵɵadvance();
|
|
2357
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio));
|
|
2334
2358
|
} }
|
|
2335
2359
|
function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
2336
2360
|
i0.ɵɵelementStart(0, "div", 45)(1, "div", 46)(2, "label", 47);
|
|
@@ -2341,34 +2365,32 @@ function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { i
|
|
|
2341
2365
|
i0.ɵɵpipe(7, "number");
|
|
2342
2366
|
i0.ɵɵelementEnd()()();
|
|
2343
2367
|
} if (rf & 2) {
|
|
2344
|
-
const
|
|
2368
|
+
const item_r7 = ctx.$implicit;
|
|
2345
2369
|
i0.ɵɵadvance(3);
|
|
2346
|
-
i0.ɵɵtextInterpolate(
|
|
2370
|
+
i0.ɵɵtextInterpolate(item_r7.unidad_codigo);
|
|
2347
2371
|
i0.ɵɵadvance(3);
|
|
2348
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2,
|
|
2372
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, item_r7.unidad_existencia, "1.2-2"));
|
|
2349
2373
|
} }
|
|
2350
2374
|
function SeleccionaArticuloComponent_ng_template_27_td_23_Template(rf, ctx) { if (rf & 1) {
|
|
2351
2375
|
i0.ɵɵelementStart(0, "td", 39);
|
|
2352
2376
|
i0.ɵɵtext(1);
|
|
2353
2377
|
i0.ɵɵelementEnd();
|
|
2354
2378
|
} if (rf & 2) {
|
|
2355
|
-
const
|
|
2356
|
-
i0.ɵɵadvance(
|
|
2357
|
-
i0.ɵɵtextInterpolate(
|
|
2379
|
+
const itemData_r8 = ctx.$implicit;
|
|
2380
|
+
i0.ɵɵadvance();
|
|
2381
|
+
i0.ɵɵtextInterpolate(itemData_r8.valor);
|
|
2358
2382
|
} }
|
|
2359
2383
|
function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
2360
|
-
const
|
|
2384
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
2361
2385
|
i0.ɵɵelementStart(0, "tr", 32);
|
|
2362
|
-
i0.ɵɵtemplate(1, SeleccionaArticuloComponent_ng_template_27_td_1_Template, 2, 0, "td", 33);
|
|
2363
|
-
i0.ɵɵtemplate(2, SeleccionaArticuloComponent_ng_template_27_td_2_Template, 2, 1, "td", 34);
|
|
2386
|
+
i0.ɵɵtemplate(1, SeleccionaArticuloComponent_ng_template_27_td_1_Template, 2, 0, "td", 33)(2, SeleccionaArticuloComponent_ng_template_27_td_2_Template, 2, 1, "td", 34);
|
|
2364
2387
|
i0.ɵɵelementStart(3, "td", 35);
|
|
2365
2388
|
i0.ɵɵtext(4);
|
|
2366
2389
|
i0.ɵɵelementEnd();
|
|
2367
2390
|
i0.ɵɵelementStart(5, "td", 36);
|
|
2368
2391
|
i0.ɵɵtext(6);
|
|
2369
2392
|
i0.ɵɵelementEnd();
|
|
2370
|
-
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_27_td_7_Template, 2, 1, "td", 37);
|
|
2371
|
-
i0.ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_27_td_8_Template, 2, 1, "td", 38);
|
|
2393
|
+
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_27_td_7_Template, 2, 1, "td", 37)(8, SeleccionaArticuloComponent_ng_template_27_td_8_Template, 2, 1, "td", 38);
|
|
2372
2394
|
i0.ɵɵelementStart(9, "td", 39);
|
|
2373
2395
|
i0.ɵɵtext(10);
|
|
2374
2396
|
i0.ɵɵelementEnd();
|
|
@@ -2376,67 +2398,60 @@ function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf &
|
|
|
2376
2398
|
i0.ɵɵtext(12);
|
|
2377
2399
|
i0.ɵɵelementEnd();
|
|
2378
2400
|
i0.ɵɵelementStart(13, "td", 36)(14, "button", 41);
|
|
2379
|
-
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_27_Template_button_click_14_listener() { const
|
|
2401
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_27_Template_button_click_14_listener() { const rowData_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onShowInformacion(rowData_r6)); });
|
|
2380
2402
|
i0.ɵɵelementEnd()();
|
|
2381
|
-
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_27_td_15_Template, 3, 3, "td", 34);
|
|
2382
|
-
i0.ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_27_td_16_Template, 3, 3, "td", 34);
|
|
2383
|
-
i0.ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_27_td_17_Template, 3, 3, "td", 34);
|
|
2384
|
-
i0.ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_27_td_18_Template, 3, 3, "td", 34);
|
|
2385
|
-
i0.ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_27_td_19_Template, 3, 3, "td", 34);
|
|
2386
|
-
i0.ɵɵtemplate(20, SeleccionaArticuloComponent_ng_template_27_td_20_Template, 3, 3, "td", 38);
|
|
2403
|
+
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_27_td_15_Template, 3, 3, "td", 34)(16, SeleccionaArticuloComponent_ng_template_27_td_16_Template, 3, 3, "td", 34)(17, SeleccionaArticuloComponent_ng_template_27_td_17_Template, 3, 3, "td", 34)(18, SeleccionaArticuloComponent_ng_template_27_td_18_Template, 3, 3, "td", 34)(19, SeleccionaArticuloComponent_ng_template_27_td_19_Template, 3, 3, "td", 34)(20, SeleccionaArticuloComponent_ng_template_27_td_20_Template, 3, 3, "td", 38);
|
|
2387
2404
|
i0.ɵɵelementStart(21, "td", 36);
|
|
2388
2405
|
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_27_div_22_Template, 8, 5, "div", 42);
|
|
2389
2406
|
i0.ɵɵelementEnd();
|
|
2390
2407
|
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_ng_template_27_td_23_Template, 2, 1, "td", 43);
|
|
2391
2408
|
i0.ɵɵelementEnd();
|
|
2392
2409
|
} if (rf & 2) {
|
|
2393
|
-
const
|
|
2410
|
+
const rowData_r6 = ctx.$implicit;
|
|
2394
2411
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
2395
|
-
i0.ɵɵproperty("pSelectableRow",
|
|
2396
|
-
i0.ɵɵadvance(
|
|
2397
|
-
i0.ɵɵproperty("ngIf", !
|
|
2398
|
-
i0.ɵɵadvance(
|
|
2399
|
-
i0.ɵɵproperty("ngIf",
|
|
2412
|
+
i0.ɵɵproperty("pSelectableRow", rowData_r6);
|
|
2413
|
+
i0.ɵɵadvance();
|
|
2414
|
+
i0.ɵɵproperty("ngIf", !rowData_r6.ubicacionCodigo);
|
|
2415
|
+
i0.ɵɵadvance();
|
|
2416
|
+
i0.ɵɵproperty("ngIf", rowData_r6.ubicacionCodigo);
|
|
2400
2417
|
i0.ɵɵadvance(2);
|
|
2401
|
-
i0.ɵɵtextInterpolate(
|
|
2418
|
+
i0.ɵɵtextInterpolate(rowData_r6.existencia);
|
|
2402
2419
|
i0.ɵɵadvance(2);
|
|
2403
|
-
i0.ɵɵtextInterpolate(
|
|
2404
|
-
i0.ɵɵadvance(
|
|
2420
|
+
i0.ɵɵtextInterpolate(rowData_r6.unidadCodigo);
|
|
2421
|
+
i0.ɵɵadvance();
|
|
2405
2422
|
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2406
|
-
i0.ɵɵadvance(
|
|
2423
|
+
i0.ɵɵadvance();
|
|
2407
2424
|
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2408
2425
|
i0.ɵɵadvance(2);
|
|
2409
|
-
i0.ɵɵtextInterpolate(
|
|
2426
|
+
i0.ɵɵtextInterpolate(rowData_r6.articulo.codigo);
|
|
2410
2427
|
i0.ɵɵadvance(2);
|
|
2411
|
-
i0.ɵɵtextInterpolate(
|
|
2428
|
+
i0.ɵɵtextInterpolate(rowData_r6.articulo.descripcion);
|
|
2412
2429
|
i0.ɵɵadvance(3);
|
|
2413
2430
|
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2414
|
-
i0.ɵɵadvance(
|
|
2431
|
+
i0.ɵɵadvance();
|
|
2415
2432
|
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2416
|
-
i0.ɵɵadvance(
|
|
2433
|
+
i0.ɵɵadvance();
|
|
2417
2434
|
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2418
|
-
i0.ɵɵadvance(
|
|
2435
|
+
i0.ɵɵadvance();
|
|
2419
2436
|
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2420
|
-
i0.ɵɵadvance(
|
|
2437
|
+
i0.ɵɵadvance();
|
|
2421
2438
|
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2422
|
-
i0.ɵɵadvance(
|
|
2439
|
+
i0.ɵɵadvance();
|
|
2423
2440
|
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
|
|
2424
2441
|
i0.ɵɵadvance(2);
|
|
2425
|
-
i0.ɵɵproperty("ngForOf",
|
|
2426
|
-
i0.ɵɵadvance(
|
|
2427
|
-
i0.ɵɵproperty("ngForOf",
|
|
2442
|
+
i0.ɵɵproperty("ngForOf", rowData_r6.existenciaUnidades);
|
|
2443
|
+
i0.ɵɵadvance();
|
|
2444
|
+
i0.ɵɵproperty("ngForOf", rowData_r6.articuloClasificadorList);
|
|
2428
2445
|
} }
|
|
2429
2446
|
function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template(rf, ctx) { if (rf & 1) {
|
|
2430
|
-
const
|
|
2447
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
2431
2448
|
i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 48);
|
|
2432
|
-
i0.ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { i0.ɵɵrestoreView(
|
|
2449
|
+
i0.ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onEventInformacion($event)); });
|
|
2433
2450
|
i0.ɵɵelementEnd();
|
|
2434
2451
|
} if (rf & 2) {
|
|
2435
|
-
const
|
|
2436
|
-
i0.ɵɵproperty("showModal",
|
|
2452
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
2453
|
+
i0.ɵɵproperty("showModal", ctx_r3.showModalInformacion)("articulo", ctx_r3.articuloSelected);
|
|
2437
2454
|
} }
|
|
2438
|
-
const _c0$1 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2439
|
-
const _c1 = function () { return [10, 25, 50, 100, 500]; };
|
|
2440
2455
|
class SeleccionaArticuloComponent {
|
|
2441
2456
|
constructor(_stockService, _paginateService, _almacenService) {
|
|
2442
2457
|
this._stockService = _stockService;
|
|
@@ -2527,71 +2542,76 @@ class SeleccionaArticuloComponent {
|
|
|
2527
2542
|
onEventInformacion(event) {
|
|
2528
2543
|
this.showModalInformacion = event.status;
|
|
2529
2544
|
}
|
|
2530
|
-
}
|
|
2531
|
-
/** @nocollapse */
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
(
|
|
2545
|
+
/** @nocollapse */ static { this.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); }; }
|
|
2546
|
+
/** @nocollapse */ static { this.ɵ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: 24, consts: [["dt", ""], [3, "visibleChange", "onShow", "onHide", "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModelChange", "change", "ngModel"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModelChange", "keypress", "ngModel"], ["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, "ngModelChange", "change", "ngModel"], [3, "value", 4, "ngFor", "ngForOf"], ["scrollHeight", "400px", "responsiveLayout", "scroll", "selectionMode", "single", 3, "onRowSelect", "value", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"], [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, "eventSelection", "showModal", "articulo"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2547
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
2548
|
+
i0.ɵɵelementStart(0, "p-dialog", 1);
|
|
2549
|
+
i0.ɵɵpipe(1, "translate");
|
|
2550
|
+
i0.ɵɵtwoWayListener("visibleChange", function SeleccionaArticuloComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.showArticulos, $event) || (ctx.showArticulos = $event); return i0.ɵɵresetView($event); });
|
|
2551
|
+
i0.ɵɵlistener("onShow", function SeleccionaArticuloComponent_Template_p_dialog_onShow_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosShow()); })("onHide", function SeleccionaArticuloComponent_Template_p_dialog_onHide_0_listener() { i0.ɵɵrestoreView(_r1); ctx.busquedaArticulos = { tipoBusqueda: "" }; return i0.ɵɵresetView(ctx.emitirShowArticulos()); });
|
|
2552
|
+
i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "select", 6);
|
|
2553
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_6_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.busquedaArticulos.tipoBusqueda, $event) || (ctx.busquedaArticulos.tipoBusqueda = $event); return i0.ɵɵresetView($event); });
|
|
2554
|
+
i0.ɵɵlistener("change", function SeleccionaArticuloComponent_Template_select_change_6_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosVal()); });
|
|
2555
|
+
i0.ɵɵelementStart(7, "option", 7);
|
|
2556
|
+
i0.ɵɵtext(8, "Codigo");
|
|
2557
|
+
i0.ɵɵelementEnd();
|
|
2558
|
+
i0.ɵɵelementStart(9, "option", 8);
|
|
2559
|
+
i0.ɵɵtext(10, "Descripcion");
|
|
2560
|
+
i0.ɵɵelementEnd();
|
|
2561
|
+
i0.ɵɵelementStart(11, "option", 9);
|
|
2562
|
+
i0.ɵɵtext(12, "Coincidencia");
|
|
2563
|
+
i0.ɵɵelementEnd();
|
|
2564
|
+
i0.ɵɵelementStart(13, "option", 10);
|
|
2565
|
+
i0.ɵɵtext(14, "Igual a");
|
|
2566
|
+
i0.ɵɵelementEnd()()();
|
|
2567
|
+
i0.ɵɵelementStart(15, "input", 11);
|
|
2568
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_15_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.busquedaArticulos.key, $event) || (ctx.busquedaArticulos.key = $event); return i0.ɵɵresetView($event); });
|
|
2569
|
+
i0.ɵɵlistener("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosKey($event)); });
|
|
2570
|
+
i0.ɵɵelementEnd();
|
|
2571
|
+
i0.ɵɵelementStart(16, "button", 12);
|
|
2572
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulos()); });
|
|
2573
|
+
i0.ɵɵelementEnd()()();
|
|
2574
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "div", 4)(19, "div", 13)(20, "label", 14);
|
|
2575
|
+
i0.ɵɵtext(21, "Almacen:");
|
|
2576
|
+
i0.ɵɵelementEnd()();
|
|
2577
|
+
i0.ɵɵelementStart(22, "select", 15);
|
|
2578
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.movimiento.almacen, $event) || (ctx.movimiento.almacen = $event); return i0.ɵɵresetView($event); });
|
|
2579
|
+
i0.ɵɵlistener("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosVal()); });
|
|
2580
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 16);
|
|
2581
|
+
i0.ɵɵelementEnd()()()();
|
|
2582
|
+
i0.ɵɵelementStart(24, "p-table", 17, 0);
|
|
2583
|
+
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.filaSeleccionada($event)); });
|
|
2584
|
+
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18)(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2585
|
+
i0.ɵɵelementEnd();
|
|
2586
|
+
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2587
|
+
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pagina($event)); });
|
|
2588
|
+
i0.ɵɵelementEnd()();
|
|
2589
|
+
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2590
|
+
} if (rf & 2) {
|
|
2591
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(21, _c0$1, ctx.size + "px"));
|
|
2592
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 19, "Articulos"));
|
|
2593
|
+
i0.ɵɵtwoWayProperty("visible", ctx.showArticulos);
|
|
2594
|
+
i0.ɵɵproperty("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2595
|
+
i0.ɵɵadvance(6);
|
|
2596
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2597
|
+
i0.ɵɵadvance(9);
|
|
2598
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.busquedaArticulos.key);
|
|
2599
|
+
i0.ɵɵadvance(7);
|
|
2600
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.movimiento.almacen);
|
|
2601
|
+
i0.ɵɵadvance();
|
|
2602
|
+
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2603
|
+
i0.ɵɵadvance();
|
|
2604
|
+
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true);
|
|
2605
|
+
i0.ɵɵadvance(4);
|
|
2606
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(23, _c1));
|
|
2607
|
+
i0.ɵɵadvance();
|
|
2608
|
+
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2609
|
+
} }, dependencies: [i4.NgForOf, i4.NgIf, i3.PrimeTemplate, i18.Table, i18.SelectableRow, i21.ButtonDirective, i22.InputText, i27.Paginator, i10.NgSelectOption, i10.ɵNgSelectMultipleOption, i10.DefaultValueAccessor, i10.SelectControlValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i3$1.TranslateDirective, SeleccionArticuloInformacionComponent, i4.DecimalPipe, i4.CurrencyPipe, i3$1.TranslatePipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] }); }
|
|
2610
|
+
}
|
|
2611
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2592
2612
|
type: Component,
|
|
2593
|
-
args: [{ selector: 'app-selecciona-articulo', template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" [responsive]=\"true\"\n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
2594
|
-
}],
|
|
2613
|
+
args: [{ selector: 'app-selecciona-articulo', template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\" \n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
2614
|
+
}], () => [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }], { configuracion: [{
|
|
2595
2615
|
type: Input
|
|
2596
2616
|
}], showArticulos: [{
|
|
2597
2617
|
type: Input
|
|
@@ -2604,22 +2624,24 @@ class SeleccionaArticuloComponent {
|
|
|
2604
2624
|
}], emitShowArticulos: [{
|
|
2605
2625
|
type: Output
|
|
2606
2626
|
}] }); })();
|
|
2627
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionaArticuloComponent, { className: "SeleccionaArticuloComponent" }); })();
|
|
2607
2628
|
|
|
2608
2629
|
class AcreedorService extends CrudService {
|
|
2609
2630
|
constructor(httpClient) {
|
|
2610
2631
|
super(httpClient, 'acreedor');
|
|
2611
2632
|
this.httpClient = httpClient;
|
|
2612
2633
|
}
|
|
2634
|
+
/** @nocollapse */ static { this.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
2635
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' }); }
|
|
2613
2636
|
}
|
|
2614
|
-
|
|
2615
|
-
/** @nocollapse */ AcreedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' });
|
|
2616
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorService, [{
|
|
2637
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorService, [{
|
|
2617
2638
|
type: Injectable,
|
|
2618
2639
|
args: [{
|
|
2619
2640
|
providedIn: 'root'
|
|
2620
2641
|
}]
|
|
2621
|
-
}],
|
|
2642
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
2622
2643
|
|
|
2644
|
+
const _c0 = () => [10, 25, 50, 100, 500];
|
|
2623
2645
|
function SelectAcreedorComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
2624
2646
|
i0.ɵɵelementStart(0, "tr")(1, "th");
|
|
2625
2647
|
i0.ɵɵtext(2);
|
|
@@ -2665,7 +2687,7 @@ function SelectAcreedorComponent_ng_template_7_span_6_Template(rf, ctx) { if (rf
|
|
|
2665
2687
|
i0.ɵɵpipe(2, "translate");
|
|
2666
2688
|
i0.ɵɵelementEnd();
|
|
2667
2689
|
} if (rf & 2) {
|
|
2668
|
-
i0.ɵɵadvance(
|
|
2690
|
+
i0.ɵɵadvance();
|
|
2669
2691
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
2670
2692
|
} }
|
|
2671
2693
|
function SelectAcreedorComponent_ng_template_7_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2674,7 +2696,7 @@ function SelectAcreedorComponent_ng_template_7_span_7_Template(rf, ctx) { if (rf
|
|
|
2674
2696
|
i0.ɵɵpipe(2, "translate");
|
|
2675
2697
|
i0.ɵɵelementEnd();
|
|
2676
2698
|
} if (rf & 2) {
|
|
2677
|
-
i0.ɵɵadvance(
|
|
2699
|
+
i0.ɵɵadvance();
|
|
2678
2700
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
2679
2701
|
} }
|
|
2680
2702
|
function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2685,8 +2707,7 @@ function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
2685
2707
|
i0.ɵɵtext(4);
|
|
2686
2708
|
i0.ɵɵelementEnd();
|
|
2687
2709
|
i0.ɵɵelementStart(5, "td");
|
|
2688
|
-
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_7_span_6_Template, 3, 3, "span", 10);
|
|
2689
|
-
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_span_7_Template, 3, 3, "span", 10);
|
|
2710
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_7_span_6_Template, 3, 3, "span", 10)(7, SelectAcreedorComponent_ng_template_7_span_7_Template, 3, 3, "span", 10);
|
|
2690
2711
|
i0.ɵɵelementEnd();
|
|
2691
2712
|
i0.ɵɵelementStart(8, "td");
|
|
2692
2713
|
i0.ɵɵtext(9);
|
|
@@ -2699,22 +2720,22 @@ function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
2699
2720
|
i0.ɵɵpipe(14, "date");
|
|
2700
2721
|
i0.ɵɵelementEnd()();
|
|
2701
2722
|
} if (rf & 2) {
|
|
2702
|
-
const
|
|
2703
|
-
i0.ɵɵproperty("pSelectableRow",
|
|
2723
|
+
const acreedor_r1 = ctx.$implicit;
|
|
2724
|
+
i0.ɵɵproperty("pSelectableRow", acreedor_r1);
|
|
2704
2725
|
i0.ɵɵadvance(2);
|
|
2705
|
-
i0.ɵɵtextInterpolate(
|
|
2726
|
+
i0.ɵɵtextInterpolate(acreedor_r1.descripcionRazonSocial);
|
|
2706
2727
|
i0.ɵɵadvance(2);
|
|
2707
|
-
i0.ɵɵtextInterpolate(
|
|
2728
|
+
i0.ɵɵtextInterpolate(acreedor_r1.descripcionRfc);
|
|
2708
2729
|
i0.ɵɵadvance(2);
|
|
2709
|
-
i0.ɵɵproperty("ngIf",
|
|
2710
|
-
i0.ɵɵadvance(
|
|
2711
|
-
i0.ɵɵproperty("ngIf",
|
|
2730
|
+
i0.ɵɵproperty("ngIf", acreedor_r1.personaMoral);
|
|
2731
|
+
i0.ɵɵadvance();
|
|
2732
|
+
i0.ɵɵproperty("ngIf", acreedor_r1.personaFisica);
|
|
2712
2733
|
i0.ɵɵadvance(2);
|
|
2713
|
-
i0.ɵɵtextInterpolate(
|
|
2734
|
+
i0.ɵɵtextInterpolate(acreedor_r1.atrasoDiasEntrega);
|
|
2714
2735
|
i0.ɵɵadvance(2);
|
|
2715
|
-
i0.ɵɵtextInterpolate(
|
|
2736
|
+
i0.ɵɵtextInterpolate(acreedor_r1.limiteCredito);
|
|
2716
2737
|
i0.ɵɵadvance(2);
|
|
2717
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 8,
|
|
2738
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 8, acreedor_r1.fechaUltimaCompra, "dd/MM/yyyy"));
|
|
2718
2739
|
} }
|
|
2719
2740
|
function SelectAcreedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
2720
2741
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -2722,12 +2743,11 @@ function SelectAcreedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
2722
2743
|
i0.ɵɵpipe(3, "translate");
|
|
2723
2744
|
i0.ɵɵelementEnd()();
|
|
2724
2745
|
} if (rf & 2) {
|
|
2725
|
-
i0.ɵɵadvance(
|
|
2746
|
+
i0.ɵɵadvance();
|
|
2726
2747
|
i0.ɵɵattribute("colspan", 6);
|
|
2727
|
-
i0.ɵɵadvance(
|
|
2748
|
+
i0.ɵɵadvance();
|
|
2728
2749
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "general.noRegistros"));
|
|
2729
2750
|
} }
|
|
2730
|
-
const _c0 = function () { return [10, 25, 50, 100, 500]; };
|
|
2731
2751
|
class SelectAcreedorComponent {
|
|
2732
2752
|
constructor(acreedorService, paginanateService, translate) {
|
|
2733
2753
|
this.acreedorService = acreedorService;
|
|
@@ -2766,47 +2786,51 @@ class SelectAcreedorComponent {
|
|
|
2766
2786
|
this.select.emit(e.data);
|
|
2767
2787
|
this.visible = false;
|
|
2768
2788
|
}
|
|
2769
|
-
}
|
|
2770
|
-
/** @nocollapse */
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
(
|
|
2789
|
+
/** @nocollapse */ static { this.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); }; }
|
|
2790
|
+
/** @nocollapse */ static { this.ɵ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, "visibleChange", "onHide", "onShow", "visible"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "ngModelChange", "keyup", "placeholder", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "selectionMode", "single", "scrollHeight", "350px", "responsiveLayout", "scroll", 3, "selectionChange", "onRowSelect", "value", "selection", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"], [3, "pSelectableRow"], [4, "ngIf"]], template: function SelectAcreedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2791
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2792
|
+
i0.ɵɵtwoWayListener("visibleChange", function SelectAcreedorComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.visible, $event) || (ctx.visible = $event); return $event; });
|
|
2793
|
+
i0.ɵɵlistener("onHide", function SelectAcreedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectAcreedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2794
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "input", 2);
|
|
2795
|
+
i0.ɵɵpipe(3, "translate");
|
|
2796
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SelectAcreedorComponent_Template_input_ngModelChange_2_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.page.filtro, $event) || (ctx.page.filtro = $event); return $event; });
|
|
2797
|
+
i0.ɵɵlistener("keyup", function SelectAcreedorComponent_Template_input_keyup_2_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2798
|
+
i0.ɵɵelementEnd();
|
|
2799
|
+
i0.ɵɵelementStart(4, "button", 3);
|
|
2800
|
+
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2801
|
+
i0.ɵɵelementEnd()();
|
|
2802
|
+
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2803
|
+
i0.ɵɵtwoWayListener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_5_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.acreedorSeleccionado, $event) || (ctx.acreedorSeleccionado = $event); return $event; });
|
|
2804
|
+
i0.ɵɵlistener("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_5_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
2805
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5)(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6)(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2806
|
+
i0.ɵɵelementEnd();
|
|
2807
|
+
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2808
|
+
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2809
|
+
i0.ɵɵelementEnd()();
|
|
2810
|
+
} if (rf & 2) {
|
|
2811
|
+
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
2812
|
+
i0.ɵɵadvance(2);
|
|
2813
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 11, "buscar"), "...");
|
|
2814
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
2815
|
+
i0.ɵɵadvance(3);
|
|
2816
|
+
i0.ɵɵproperty("value", ctx.acreedores);
|
|
2817
|
+
i0.ɵɵtwoWayProperty("selection", ctx.acreedorSeleccionado);
|
|
2818
|
+
i0.ɵɵproperty("scrollable", true);
|
|
2819
|
+
i0.ɵɵadvance(4);
|
|
2820
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
2821
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i18.Table, i18.SelectableRow, i21.ButtonDirective, i22.InputText, i27.Paginator, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i4.DatePipe, i3$1.TranslatePipe], encapsulation: 2 }); }
|
|
2822
|
+
}
|
|
2823
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
2801
2824
|
type: Component,
|
|
2802
|
-
args: [{ selector: 'select-acreedor', template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosAcreedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"cargarDatosAcreedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosAcreedores()\"></button>\n </div>\n <p-table\n [value]=\"acreedores\"\n dataKey=\"id\" selectionMode=\"single\"\n [(selection)]=\"acreedorSeleccionado\"\n (onRowSelect)=\"seleccionarAcreedor($event)\"\n [scrollable]=\"true\"\n scrollHeight=\"350px\"\n
|
|
2803
|
-
}],
|
|
2825
|
+
args: [{ selector: 'select-acreedor', template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosAcreedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"cargarDatosAcreedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosAcreedores()\"></button>\n </div>\n <p-table\n [value]=\"acreedores\"\n dataKey=\"id\" selectionMode=\"single\"\n [(selection)]=\"acreedorSeleccionado\"\n (onRowSelect)=\"seleccionarAcreedor($event)\"\n [scrollable]=\"true\"\n scrollHeight=\"350px\"\n responsiveLayout=\"scroll\" \n >\n\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'atrasoDiasEntrega' | translate}}</th>\n <th>{{'limiteCredito' | translate}}</th>\n <th>{{'fechaUltimaCompra' | translate}}</th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-acreedor>\n <tr [pSelectableRow]=\"acreedor\">\n <td>{{acreedor.descripcionRazonSocial}}</td>\n <td>{{acreedor.descripcionRfc}}</td>\n <td>\n <span *ngIf=\"acreedor.personaMoral\">{{'moral' | translate}}</span>\n <span *ngIf=\"acreedor.personaFisica\">{{'fisico' | translate}}</span>\n </td>\n <td>{{acreedor.atrasoDiasEntrega}}</td>\n <td>{{acreedor.limiteCredito}}</td>\n <td>{{acreedor.fechaUltimaCompra | date:'dd/MM/yyyy'}}</td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td [attr.colspan]=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
|
|
2826
|
+
}], () => [{ type: AcreedorService }, { type: PaginateService }, { type: i3$1.TranslateService }], { visible: [{
|
|
2804
2827
|
type: Input
|
|
2805
2828
|
}], acreedorSeleccionado: [{
|
|
2806
2829
|
type: Input
|
|
2807
2830
|
}], select: [{
|
|
2808
2831
|
type: Output
|
|
2809
2832
|
}] }); })();
|
|
2833
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectAcreedorComponent, { className: "SelectAcreedorComponent" }); })();
|
|
2810
2834
|
|
|
2811
2835
|
const components = [
|
|
2812
2836
|
LoadingComponent,
|
|
@@ -2862,24 +2886,24 @@ function HttpLoaderFactory(http) {
|
|
|
2862
2886
|
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
|
2863
2887
|
}
|
|
2864
2888
|
class CoreLibModule {
|
|
2889
|
+
/** @nocollapse */ static { this.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); }; }
|
|
2890
|
+
/** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule }); }
|
|
2891
|
+
/** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
2892
|
+
primeNgServices,
|
|
2893
|
+
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2894
|
+
], imports: [CommonModule,
|
|
2895
|
+
primeNg,
|
|
2896
|
+
FormsModule,
|
|
2897
|
+
ToastrModule.forRoot(),
|
|
2898
|
+
TranslateModule.forRoot({
|
|
2899
|
+
loader: {
|
|
2900
|
+
provide: TranslateLoader,
|
|
2901
|
+
useFactory: HttpLoaderFactory,
|
|
2902
|
+
deps: [HttpClient]
|
|
2903
|
+
}
|
|
2904
|
+
}), i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, TranslateModule] }); }
|
|
2865
2905
|
}
|
|
2866
|
-
|
|
2867
|
-
/** @nocollapse */ CoreLibModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule });
|
|
2868
|
-
/** @nocollapse */ CoreLibModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
2869
|
-
primeNgServices,
|
|
2870
|
-
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2871
|
-
], imports: [CommonModule,
|
|
2872
|
-
primeNg,
|
|
2873
|
-
FormsModule,
|
|
2874
|
-
ToastrModule.forRoot(),
|
|
2875
|
-
TranslateModule.forRoot({
|
|
2876
|
-
loader: {
|
|
2877
|
-
provide: TranslateLoader,
|
|
2878
|
-
useFactory: HttpLoaderFactory,
|
|
2879
|
-
deps: [HttpClient]
|
|
2880
|
-
}
|
|
2881
|
-
})] });
|
|
2882
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
|
|
2906
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
|
|
2883
2907
|
type: NgModule,
|
|
2884
2908
|
args: [{
|
|
2885
2909
|
declarations: [
|
|
@@ -2905,10 +2929,10 @@ class CoreLibModule {
|
|
|
2905
2929
|
primeNgServices,
|
|
2906
2930
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2907
2931
|
],
|
|
2908
|
-
exports: [components, contaComponents]
|
|
2932
|
+
exports: [components, contaComponents, primeNg, TranslateModule]
|
|
2909
2933
|
}]
|
|
2910
2934
|
}], null, null); })();
|
|
2911
|
-
(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,
|
|
2935
|
+
(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, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, FormsModule, i1$1.ToastrModule, i3$1.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, TranslateModule] }); })();
|
|
2912
2936
|
|
|
2913
2937
|
class ControlAccesoService {
|
|
2914
2938
|
constructor(authService) {
|
|
@@ -2935,15 +2959,15 @@ class ControlAccesoService {
|
|
|
2935
2959
|
}
|
|
2936
2960
|
return permiso;
|
|
2937
2961
|
}
|
|
2962
|
+
/** @nocollapse */ static { this.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); }; }
|
|
2963
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' }); }
|
|
2938
2964
|
}
|
|
2939
|
-
|
|
2940
|
-
/** @nocollapse */ ControlAccesoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' });
|
|
2941
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
|
|
2965
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
|
|
2942
2966
|
type: Injectable,
|
|
2943
2967
|
args: [{
|
|
2944
2968
|
providedIn: 'root'
|
|
2945
2969
|
}]
|
|
2946
|
-
}],
|
|
2970
|
+
}], () => [{ type: AuthService }], { cambioAcciones: [{
|
|
2947
2971
|
type: Output
|
|
2948
2972
|
}], changeDetalleUsuario: [{
|
|
2949
2973
|
type: Output
|
|
@@ -2984,15 +3008,15 @@ class InitService {
|
|
|
2984
3008
|
});
|
|
2985
3009
|
});
|
|
2986
3010
|
}
|
|
3011
|
+
/** @nocollapse */ static { this.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); }; }
|
|
3012
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' }); }
|
|
2987
3013
|
}
|
|
2988
|
-
|
|
2989
|
-
/** @nocollapse */ InitService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' });
|
|
2990
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
|
|
3014
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
|
|
2991
3015
|
type: Injectable,
|
|
2992
3016
|
args: [{
|
|
2993
3017
|
providedIn: 'root'
|
|
2994
3018
|
}]
|
|
2995
|
-
}],
|
|
3019
|
+
}], () => [{ type: i1.HttpClient }, { type: AuthService }], null); })();
|
|
2996
3020
|
|
|
2997
3021
|
class MessageService {
|
|
2998
3022
|
constructor(toastr) {
|
|
@@ -3059,29 +3083,29 @@ class MessageService {
|
|
|
3059
3083
|
}
|
|
3060
3084
|
return msgs;
|
|
3061
3085
|
}
|
|
3086
|
+
/** @nocollapse */ static { this.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); }; }
|
|
3087
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' }); }
|
|
3062
3088
|
}
|
|
3063
|
-
|
|
3064
|
-
/** @nocollapse */ MessageService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' });
|
|
3065
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
|
|
3089
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
|
|
3066
3090
|
type: Injectable,
|
|
3067
3091
|
args: [{
|
|
3068
3092
|
providedIn: 'root'
|
|
3069
3093
|
}]
|
|
3070
|
-
}],
|
|
3094
|
+
}], () => [{ type: i1$1.ToastrService }], null); })();
|
|
3071
3095
|
|
|
3072
3096
|
class PersonaMoralService extends CrudService {
|
|
3073
3097
|
constructor(http) {
|
|
3074
3098
|
super(http, '/personaMoral');
|
|
3075
3099
|
}
|
|
3100
|
+
/** @nocollapse */ static { this.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3101
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' }); }
|
|
3076
3102
|
}
|
|
3077
|
-
|
|
3078
|
-
/** @nocollapse */ PersonaMoralService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' });
|
|
3079
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
|
|
3103
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
|
|
3080
3104
|
type: Injectable,
|
|
3081
3105
|
args: [{
|
|
3082
3106
|
providedIn: 'root'
|
|
3083
3107
|
}]
|
|
3084
|
-
}],
|
|
3108
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3085
3109
|
|
|
3086
3110
|
class CanActivateGuard {
|
|
3087
3111
|
constructor(controlAccesoService) {
|
|
@@ -3095,30 +3119,30 @@ class CanActivateGuard {
|
|
|
3095
3119
|
permisos(rol) {
|
|
3096
3120
|
this.rol = rol;
|
|
3097
3121
|
}
|
|
3122
|
+
/** @nocollapse */ static { this.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); }; }
|
|
3123
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' }); }
|
|
3098
3124
|
}
|
|
3099
|
-
|
|
3100
|
-
/** @nocollapse */ CanActivateGuard.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' });
|
|
3101
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
|
|
3125
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
|
|
3102
3126
|
type: Injectable,
|
|
3103
3127
|
args: [{
|
|
3104
3128
|
providedIn: 'root'
|
|
3105
3129
|
}]
|
|
3106
|
-
}],
|
|
3130
|
+
}], () => [{ type: ControlAccesoService }], null); })();
|
|
3107
3131
|
|
|
3108
3132
|
class CatalogoAdicionalService extends CrudService {
|
|
3109
3133
|
constructor(httpClient) {
|
|
3110
3134
|
super(httpClient, 'catalogoAdicional');
|
|
3111
3135
|
this.httpClient = httpClient;
|
|
3112
3136
|
}
|
|
3137
|
+
/** @nocollapse */ static { this.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3138
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' }); }
|
|
3113
3139
|
}
|
|
3114
|
-
|
|
3115
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' });
|
|
3116
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
|
|
3140
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
|
|
3117
3141
|
type: Injectable,
|
|
3118
3142
|
args: [{
|
|
3119
3143
|
providedIn: 'root'
|
|
3120
3144
|
}]
|
|
3121
|
-
}],
|
|
3145
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3122
3146
|
|
|
3123
3147
|
class Authenticated {
|
|
3124
3148
|
constructor(authService, controlAccesoService, router) {
|
|
@@ -3179,15 +3203,15 @@ class Authenticated {
|
|
|
3179
3203
|
}
|
|
3180
3204
|
window.location.href = host;
|
|
3181
3205
|
}
|
|
3206
|
+
/** @nocollapse */ static { this.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$3.Router)); }; }
|
|
3207
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' }); }
|
|
3182
3208
|
}
|
|
3183
|
-
|
|
3184
|
-
/** @nocollapse */ Authenticated.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' });
|
|
3185
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
|
|
3209
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
|
|
3186
3210
|
type: Injectable,
|
|
3187
3211
|
args: [{
|
|
3188
3212
|
providedIn: 'root'
|
|
3189
3213
|
}]
|
|
3190
|
-
}],
|
|
3214
|
+
}], () => [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$3.Router }], null); })();
|
|
3191
3215
|
|
|
3192
3216
|
class VersionCheckService {
|
|
3193
3217
|
constructor(http) {
|
|
@@ -3227,15 +3251,15 @@ class VersionCheckService {
|
|
|
3227
3251
|
}
|
|
3228
3252
|
return currentHash === newHash;
|
|
3229
3253
|
}
|
|
3254
|
+
/** @nocollapse */ static { this.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3255
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' }); }
|
|
3230
3256
|
}
|
|
3231
|
-
|
|
3232
|
-
/** @nocollapse */ VersionCheckService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' });
|
|
3233
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
|
|
3257
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
|
|
3234
3258
|
type: Injectable,
|
|
3235
3259
|
args: [{
|
|
3236
3260
|
providedIn: 'root'
|
|
3237
3261
|
}]
|
|
3238
|
-
}],
|
|
3262
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3239
3263
|
|
|
3240
3264
|
class AgenteService extends CrudService {
|
|
3241
3265
|
constructor(httpClient) {
|
|
@@ -3254,15 +3278,15 @@ class AgenteService extends CrudService {
|
|
|
3254
3278
|
let url = this.geturl() + '/obtenerAgenteEmpresa';
|
|
3255
3279
|
return this.getHttp().get(url, this.buildAuth());
|
|
3256
3280
|
}
|
|
3281
|
+
/** @nocollapse */ static { this.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3282
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' }); }
|
|
3257
3283
|
}
|
|
3258
|
-
|
|
3259
|
-
/** @nocollapse */ AgenteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' });
|
|
3260
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
|
|
3284
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
|
|
3261
3285
|
type: Injectable,
|
|
3262
3286
|
args: [{
|
|
3263
3287
|
providedIn: 'root'
|
|
3264
3288
|
}]
|
|
3265
|
-
}],
|
|
3289
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3266
3290
|
|
|
3267
3291
|
class Almacen {
|
|
3268
3292
|
constructor() { }
|
|
@@ -3283,15 +3307,15 @@ class BancoService extends CrudService {
|
|
|
3283
3307
|
constructor(http) {
|
|
3284
3308
|
super(http, '/banco');
|
|
3285
3309
|
}
|
|
3310
|
+
/** @nocollapse */ static { this.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3311
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' }); }
|
|
3286
3312
|
}
|
|
3287
|
-
|
|
3288
|
-
/** @nocollapse */ BancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' });
|
|
3289
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
|
|
3313
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
|
|
3290
3314
|
type: Injectable,
|
|
3291
3315
|
args: [{
|
|
3292
3316
|
providedIn: 'root'
|
|
3293
3317
|
}]
|
|
3294
|
-
}],
|
|
3318
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3295
3319
|
|
|
3296
3320
|
class CatalogoTipo {
|
|
3297
3321
|
constructor() { }
|
|
@@ -3301,29 +3325,29 @@ class CatalogoTipoService extends CrudService {
|
|
|
3301
3325
|
constructor(htt) {
|
|
3302
3326
|
super(htt, '/catalogoTipo');
|
|
3303
3327
|
}
|
|
3328
|
+
/** @nocollapse */ static { this.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3329
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' }); }
|
|
3304
3330
|
}
|
|
3305
|
-
|
|
3306
|
-
/** @nocollapse */ CatalogoTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' });
|
|
3307
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
|
|
3331
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
|
|
3308
3332
|
type: Injectable,
|
|
3309
3333
|
args: [{
|
|
3310
3334
|
providedIn: 'root'
|
|
3311
3335
|
}]
|
|
3312
|
-
}],
|
|
3336
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3313
3337
|
|
|
3314
3338
|
class ClasificadorTipoService extends CrudService {
|
|
3315
3339
|
constructor(http) {
|
|
3316
3340
|
super(http, '/clasificadorTipo');
|
|
3317
3341
|
}
|
|
3342
|
+
/** @nocollapse */ static { this.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3343
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' }); }
|
|
3318
3344
|
}
|
|
3319
|
-
|
|
3320
|
-
/** @nocollapse */ ClasificadorTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' });
|
|
3321
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
|
|
3345
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
|
|
3322
3346
|
type: Injectable,
|
|
3323
3347
|
args: [{
|
|
3324
3348
|
providedIn: 'root'
|
|
3325
3349
|
}]
|
|
3326
|
-
}],
|
|
3350
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3327
3351
|
|
|
3328
3352
|
class ClaveMovimiento {
|
|
3329
3353
|
constructor() { }
|
|
@@ -3333,15 +3357,15 @@ class ClaveMovimientoService extends CrudService {
|
|
|
3333
3357
|
constructor(http) {
|
|
3334
3358
|
super(http, 'claveMovimiento');
|
|
3335
3359
|
}
|
|
3360
|
+
/** @nocollapse */ static { this.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3361
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' }); }
|
|
3336
3362
|
}
|
|
3337
|
-
|
|
3338
|
-
/** @nocollapse */ ClaveMovimientoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' });
|
|
3339
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
|
|
3363
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
|
|
3340
3364
|
type: Injectable,
|
|
3341
3365
|
args: [{
|
|
3342
3366
|
providedIn: 'root'
|
|
3343
3367
|
}]
|
|
3344
|
-
}],
|
|
3368
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3345
3369
|
|
|
3346
3370
|
class ClienteCuentaBanco {
|
|
3347
3371
|
constructor() {
|
|
@@ -3371,15 +3395,15 @@ class ClienteCuentaBancoService extends CrudService {
|
|
|
3371
3395
|
let p = { 'cuentas': params };
|
|
3372
3396
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3373
3397
|
}
|
|
3398
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3399
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' }); }
|
|
3374
3400
|
}
|
|
3375
|
-
|
|
3376
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3377
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
|
|
3401
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
|
|
3378
3402
|
type: Injectable,
|
|
3379
3403
|
args: [{
|
|
3380
3404
|
providedIn: 'root'
|
|
3381
3405
|
}]
|
|
3382
|
-
}],
|
|
3406
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3383
3407
|
|
|
3384
3408
|
class ClienteFleteService extends CrudService {
|
|
3385
3409
|
constructor(httpClient) {
|
|
@@ -3390,15 +3414,15 @@ class ClienteFleteService extends CrudService {
|
|
|
3390
3414
|
let params = { fletes: p };
|
|
3391
3415
|
return this.save(params);
|
|
3392
3416
|
}
|
|
3417
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3418
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' }); }
|
|
3393
3419
|
}
|
|
3394
|
-
|
|
3395
|
-
/** @nocollapse */ ClienteFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' });
|
|
3396
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
|
|
3420
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
|
|
3397
3421
|
type: Injectable,
|
|
3398
3422
|
args: [{
|
|
3399
3423
|
providedIn: 'root'
|
|
3400
3424
|
}]
|
|
3401
|
-
}],
|
|
3425
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3402
3426
|
|
|
3403
3427
|
class TipoContacto {
|
|
3404
3428
|
constructor() {
|
|
@@ -3416,29 +3440,29 @@ class DatoContactoService extends CrudService {
|
|
|
3416
3440
|
constructor(http) {
|
|
3417
3441
|
super(http, '/contacto');
|
|
3418
3442
|
}
|
|
3443
|
+
/** @nocollapse */ static { this.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3444
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' }); }
|
|
3419
3445
|
}
|
|
3420
|
-
|
|
3421
|
-
/** @nocollapse */ DatoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' });
|
|
3422
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
|
|
3446
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
|
|
3423
3447
|
type: Injectable,
|
|
3424
3448
|
args: [{
|
|
3425
3449
|
providedIn: 'root'
|
|
3426
3450
|
}]
|
|
3427
|
-
}],
|
|
3451
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3428
3452
|
|
|
3429
3453
|
class DatoDireccionService extends CrudService {
|
|
3430
3454
|
constructor(http) {
|
|
3431
3455
|
super(http, '/datoDireccion');
|
|
3432
3456
|
}
|
|
3457
|
+
/** @nocollapse */ static { this.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3458
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' }); }
|
|
3433
3459
|
}
|
|
3434
|
-
|
|
3435
|
-
/** @nocollapse */ DatoDireccionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' });
|
|
3436
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
|
|
3460
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
|
|
3437
3461
|
type: Injectable,
|
|
3438
3462
|
args: [{
|
|
3439
3463
|
providedIn: 'root'
|
|
3440
3464
|
}]
|
|
3441
|
-
}],
|
|
3465
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3442
3466
|
|
|
3443
3467
|
class Departamento {
|
|
3444
3468
|
constructor() {
|
|
@@ -3449,15 +3473,15 @@ class DepartamentoService extends CrudService {
|
|
|
3449
3473
|
constructor(http) {
|
|
3450
3474
|
super(http, '/departamento');
|
|
3451
3475
|
}
|
|
3476
|
+
/** @nocollapse */ static { this.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3477
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' }); }
|
|
3452
3478
|
}
|
|
3453
|
-
|
|
3454
|
-
/** @nocollapse */ DepartamentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' });
|
|
3455
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
|
|
3479
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
|
|
3456
3480
|
type: Injectable,
|
|
3457
3481
|
args: [{
|
|
3458
3482
|
providedIn: 'root'
|
|
3459
3483
|
}]
|
|
3460
|
-
}],
|
|
3484
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3461
3485
|
|
|
3462
3486
|
class FormaPago {
|
|
3463
3487
|
constructor() { }
|
|
@@ -3486,44 +3510,44 @@ class EmpresaService extends CrudService {
|
|
|
3486
3510
|
// return super.get(1);
|
|
3487
3511
|
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
3488
3512
|
}
|
|
3513
|
+
/** @nocollapse */ static { this.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3514
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' }); }
|
|
3489
3515
|
}
|
|
3490
|
-
|
|
3491
|
-
/** @nocollapse */ EmpresaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' });
|
|
3492
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
|
|
3516
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
|
|
3493
3517
|
type: Injectable,
|
|
3494
3518
|
args: [{
|
|
3495
3519
|
providedIn: 'root'
|
|
3496
3520
|
}]
|
|
3497
|
-
}],
|
|
3521
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3498
3522
|
|
|
3499
3523
|
class FleteService extends CrudService {
|
|
3500
3524
|
constructor(httpClient) {
|
|
3501
3525
|
super(httpClient, '/flete');
|
|
3502
3526
|
this.httpClient = httpClient;
|
|
3503
3527
|
}
|
|
3528
|
+
/** @nocollapse */ static { this.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3529
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' }); }
|
|
3504
3530
|
}
|
|
3505
|
-
|
|
3506
|
-
/** @nocollapse */ FleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' });
|
|
3507
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
|
|
3531
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
|
|
3508
3532
|
type: Injectable,
|
|
3509
3533
|
args: [{
|
|
3510
3534
|
providedIn: 'root'
|
|
3511
3535
|
}]
|
|
3512
|
-
}],
|
|
3536
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3513
3537
|
|
|
3514
3538
|
class FormaPagoService extends CrudService {
|
|
3515
3539
|
constructor(http) {
|
|
3516
3540
|
super(http, '/FormaDePago');
|
|
3517
3541
|
}
|
|
3542
|
+
/** @nocollapse */ static { this.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3543
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" }); }
|
|
3518
3544
|
}
|
|
3519
|
-
|
|
3520
|
-
/** @nocollapse */ FormaPagoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" });
|
|
3521
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
|
|
3545
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
|
|
3522
3546
|
type: Injectable,
|
|
3523
3547
|
args: [{
|
|
3524
3548
|
providedIn: "root"
|
|
3525
3549
|
}]
|
|
3526
|
-
}],
|
|
3550
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3527
3551
|
|
|
3528
3552
|
class Moneda {
|
|
3529
3553
|
constructor() { }
|
|
@@ -3534,15 +3558,15 @@ class MonedaService extends CrudService {
|
|
|
3534
3558
|
super(httpClient, '/moneda');
|
|
3535
3559
|
this.httpClient = httpClient;
|
|
3536
3560
|
}
|
|
3561
|
+
/** @nocollapse */ static { this.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3562
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' }); }
|
|
3537
3563
|
}
|
|
3538
|
-
|
|
3539
|
-
/** @nocollapse */ MonedaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' });
|
|
3540
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
|
|
3564
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
|
|
3541
3565
|
type: Injectable,
|
|
3542
3566
|
args: [{
|
|
3543
3567
|
providedIn: 'root'
|
|
3544
3568
|
}]
|
|
3545
|
-
}],
|
|
3569
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3546
3570
|
|
|
3547
3571
|
class EstadoCivil {
|
|
3548
3572
|
constructor() { }
|
|
@@ -3563,15 +3587,15 @@ class PersonaFisicaService extends CrudService {
|
|
|
3563
3587
|
getEstadoCivil() {
|
|
3564
3588
|
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
3565
3589
|
}
|
|
3590
|
+
/** @nocollapse */ static { this.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3591
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" }); }
|
|
3566
3592
|
}
|
|
3567
|
-
|
|
3568
|
-
/** @nocollapse */ PersonaFisicaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" });
|
|
3569
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
|
|
3593
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
|
|
3570
3594
|
type: Injectable,
|
|
3571
3595
|
args: [{
|
|
3572
3596
|
providedIn: "root"
|
|
3573
3597
|
}]
|
|
3574
|
-
}],
|
|
3598
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3575
3599
|
|
|
3576
3600
|
class ProveedorCuentaBanco {
|
|
3577
3601
|
constructor() {
|
|
@@ -3597,15 +3621,15 @@ class ProveedorCuentaBancoService extends CrudService {
|
|
|
3597
3621
|
let p = { 'cuentas': params };
|
|
3598
3622
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3599
3623
|
}
|
|
3624
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3625
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' }); }
|
|
3600
3626
|
}
|
|
3601
|
-
|
|
3602
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3603
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
|
|
3627
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
|
|
3604
3628
|
type: Injectable,
|
|
3605
3629
|
args: [{
|
|
3606
3630
|
providedIn: 'root'
|
|
3607
3631
|
}]
|
|
3608
|
-
}],
|
|
3632
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3609
3633
|
|
|
3610
3634
|
class ProveedorFleteService extends CrudService {
|
|
3611
3635
|
constructor(httpClient) {
|
|
@@ -3616,29 +3640,29 @@ class ProveedorFleteService extends CrudService {
|
|
|
3616
3640
|
let params = { fletes: p };
|
|
3617
3641
|
return this.save(params);
|
|
3618
3642
|
}
|
|
3643
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3644
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' }); }
|
|
3619
3645
|
}
|
|
3620
|
-
|
|
3621
|
-
/** @nocollapse */ ProveedorFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' });
|
|
3622
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
|
|
3646
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
|
|
3623
3647
|
type: Injectable,
|
|
3624
3648
|
args: [{
|
|
3625
3649
|
providedIn: 'root'
|
|
3626
3650
|
}]
|
|
3627
|
-
}],
|
|
3651
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3628
3652
|
|
|
3629
3653
|
class ClaveAumentoDisminucionService extends CrudService {
|
|
3630
3654
|
constructor(http) {
|
|
3631
3655
|
super(http, 'claveAumentoDisminucion');
|
|
3632
3656
|
}
|
|
3657
|
+
/** @nocollapse */ static { this.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3658
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' }); }
|
|
3633
3659
|
}
|
|
3634
|
-
|
|
3635
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' });
|
|
3636
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
|
|
3660
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
|
|
3637
3661
|
type: Injectable,
|
|
3638
3662
|
args: [{
|
|
3639
3663
|
providedIn: 'root'
|
|
3640
3664
|
}]
|
|
3641
|
-
}],
|
|
3665
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3642
3666
|
|
|
3643
3667
|
class SerieDocumentoService extends CrudService {
|
|
3644
3668
|
constructor(httpClient) {
|
|
@@ -3651,15 +3675,15 @@ class SerieDocumentoService extends CrudService {
|
|
|
3651
3675
|
getReporte(params) {
|
|
3652
3676
|
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
3653
3677
|
}
|
|
3678
|
+
/** @nocollapse */ static { this.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3679
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' }); }
|
|
3654
3680
|
}
|
|
3655
|
-
|
|
3656
|
-
/** @nocollapse */ SerieDocumentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' });
|
|
3657
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
|
|
3681
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
|
|
3658
3682
|
type: Injectable,
|
|
3659
3683
|
args: [{
|
|
3660
3684
|
providedIn: 'root'
|
|
3661
3685
|
}]
|
|
3662
|
-
}],
|
|
3686
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3663
3687
|
|
|
3664
3688
|
class SerieDocumento {
|
|
3665
3689
|
constructor() { }
|
|
@@ -3669,15 +3693,15 @@ class TipoContactoService extends CrudService {
|
|
|
3669
3693
|
constructor(http) {
|
|
3670
3694
|
super(http, '/tipoContacto');
|
|
3671
3695
|
}
|
|
3696
|
+
/** @nocollapse */ static { this.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3697
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' }); }
|
|
3672
3698
|
}
|
|
3673
|
-
|
|
3674
|
-
/** @nocollapse */ TipoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' });
|
|
3675
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
|
|
3699
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
|
|
3676
3700
|
type: Injectable,
|
|
3677
3701
|
args: [{
|
|
3678
3702
|
providedIn: 'root'
|
|
3679
3703
|
}]
|
|
3680
|
-
}],
|
|
3704
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3681
3705
|
|
|
3682
3706
|
class Ubicacion {
|
|
3683
3707
|
constructor() { }
|
|
@@ -3687,20 +3711,20 @@ class UbicacionService extends CrudService {
|
|
|
3687
3711
|
constructor(http) {
|
|
3688
3712
|
super(http, 'ubicacion');
|
|
3689
3713
|
}
|
|
3714
|
+
/** @nocollapse */ static { this.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3715
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' }); }
|
|
3690
3716
|
}
|
|
3691
|
-
|
|
3692
|
-
/** @nocollapse */ UbicacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' });
|
|
3693
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
|
|
3717
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
|
|
3694
3718
|
type: Injectable,
|
|
3695
3719
|
args: [{
|
|
3696
3720
|
providedIn: 'root'
|
|
3697
3721
|
}]
|
|
3698
|
-
}],
|
|
3722
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3699
3723
|
|
|
3700
3724
|
class TipoCatalogo {
|
|
3725
|
+
static { this.ARTICULO = 2; }
|
|
3726
|
+
static { this.USO_CFDI = 11; }
|
|
3701
3727
|
}
|
|
3702
|
-
TipoCatalogo.ARTICULO = 2;
|
|
3703
|
-
TipoCatalogo.USO_CFDI = 11;
|
|
3704
3728
|
|
|
3705
3729
|
class AcreedorCuentaContableService extends CrudService {
|
|
3706
3730
|
constructor(httpClient) {
|
|
@@ -3711,15 +3735,15 @@ class AcreedorCuentaContableService extends CrudService {
|
|
|
3711
3735
|
let uRL = "/cuentaContable/obtieneCuentasContablesRecursivo/";
|
|
3712
3736
|
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
3713
3737
|
}
|
|
3738
|
+
/** @nocollapse */ static { this.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3739
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' }); }
|
|
3714
3740
|
}
|
|
3715
|
-
|
|
3716
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' });
|
|
3717
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorCuentaContableService, [{
|
|
3741
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorCuentaContableService, [{
|
|
3718
3742
|
type: Injectable,
|
|
3719
3743
|
args: [{
|
|
3720
3744
|
providedIn: 'root'
|
|
3721
3745
|
}]
|
|
3722
|
-
}],
|
|
3746
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
3723
3747
|
|
|
3724
3748
|
class CuentaContableModel {
|
|
3725
3749
|
constructor() {
|