visorus-erp-core 9.0.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/visorus-erp-core.umd.js +2771 -2223
- package/bundles/visorus-erp-core.umd.js.map +1 -1
- package/bundles/visorus-erp-core.umd.min.js +1 -15
- package/bundles/visorus-erp-core.umd.min.js.map +1 -1
- package/esm2015/lib/app.module.js +1 -1
- package/esm2015/lib/components/acreedor/select/select-acreedor.component.js +33 -45
- package/esm2015/lib/components/acreedor/services/acreedor.service.js +1 -1
- package/esm2015/lib/components/acreedor/services/acreedorCuentaContable.js +1 -1
- package/esm2015/lib/components/agente/models/Agente.js +1 -1
- package/esm2015/lib/components/agente/services/agente.service.js +1 -1
- package/esm2015/lib/components/almacen/models/Almacen.js +1 -1
- package/esm2015/lib/components/almacen/services/almacen.service.js +1 -1
- package/esm2015/lib/components/banco/models/Banco.js +1 -1
- package/esm2015/lib/components/banco/services/banco.service.js +1 -1
- package/esm2015/lib/components/caja/session-create/session-create.component.js +61 -68
- package/esm2015/lib/components/caja/sessionCaja.service.js +1 -1
- package/esm2015/lib/components/catalogoTipo/models/CatalogoTipo.js +1 -1
- package/esm2015/lib/components/catalogoTipo/services/catalogoTipo.service.js +1 -1
- package/esm2015/lib/components/clasificadorTipo/models/ClasificadorTipo.js +1 -1
- package/esm2015/lib/components/clasificadorTipo/services/clasificadorTipo.service.js +1 -1
- package/esm2015/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.js +1 -1
- package/esm2015/lib/components/claveMovimiento/models/ClaveMovimiento.js +1 -1
- package/esm2015/lib/components/claveMovimiento/services/claveMovimiento.service.js +1 -1
- package/esm2015/lib/components/cliente/models/Cliente.js +1 -1
- package/esm2015/lib/components/cliente/models/ClienteCuentaBanco.js +1 -1
- package/esm2015/lib/components/cliente/models/ClienteFlete.js +1 -1
- package/esm2015/lib/components/cliente/select/select-cliente.component.js +31 -40
- package/esm2015/lib/components/cliente/services/cliente.service.js +1 -1
- package/esm2015/lib/components/cliente/services/clienteCuentaBanco.service.js +1 -1
- package/esm2015/lib/components/cliente/services/clienteFlete.service.js +1 -1
- package/esm2015/lib/components/contacto/models/DatoContacto.js +1 -1
- package/esm2015/lib/components/contacto/services/datoContacto.service.js +1 -1
- package/esm2015/lib/components/dato-direccion/models/DatoDireccion.js +1 -1
- package/esm2015/lib/components/dato-direccion/services/datoDireccion.service.js +1 -1
- package/esm2015/lib/components/departamento/models/Departamento.js +1 -1
- package/esm2015/lib/components/departamento/services/departamento.service.js +1 -1
- package/esm2015/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.js +1 -1
- package/esm2015/lib/components/empresa/models/Empresa.js +1 -1
- package/esm2015/lib/components/empresa/services/empresa.service.js +1 -1
- package/esm2015/lib/components/error404/error404.component.js +1 -1
- package/esm2015/lib/components/flete/models/Flete.js +1 -1
- package/esm2015/lib/components/flete/services/flete.service.js +1 -1
- package/esm2015/lib/components/formaPago/models/FormaPago.js +1 -1
- package/esm2015/lib/components/formaPago/services/FormaPago.service.js +1 -1
- package/esm2015/lib/components/loading/loading.component.js +2 -2
- package/esm2015/lib/components/loading/loading.service.js +1 -1
- package/esm2015/lib/components/loading-screen/loading-screen.component.js +2 -2
- package/esm2015/lib/components/loading-screen/loading-screen.service.js +1 -1
- package/esm2015/lib/components/login-modal/login-modal.component.js +1 -1
- package/esm2015/lib/components/login-modal/login-modal.service.js +1 -1
- package/esm2015/lib/components/moneda/models/Moneda.js +1 -1
- package/esm2015/lib/components/moneda/services/moneda.service.js +1 -1
- package/esm2015/lib/components/pdfModal/pdf-modal.component.js +1 -1
- package/esm2015/lib/components/pdfModal/pdf-modal.service.js +1 -1
- package/esm2015/lib/components/persona-fisica/models/EstadoCivil.js +1 -1
- package/esm2015/lib/components/persona-fisica/models/Genero.js +1 -1
- package/esm2015/lib/components/persona-fisica/models/Persona.js +1 -1
- package/esm2015/lib/components/persona-fisica/models/PersonaFisica.js +1 -1
- package/esm2015/lib/components/persona-fisica/services/personaFisica.service.js +1 -1
- package/esm2015/lib/components/proveedor/models/Proveedor.js +1 -1
- package/esm2015/lib/components/proveedor/models/ProveedorCuentaBanco.js +1 -1
- package/esm2015/lib/components/proveedor/models/ProveedorFlete.js +1 -1
- package/esm2015/lib/components/proveedor/select/select-proveedor.component.js +25 -37
- package/esm2015/lib/components/proveedor/services/proveedor.service.js +1 -1
- package/esm2015/lib/components/proveedor/services/proveedorCuentaBanco.service.js +1 -1
- package/esm2015/lib/components/proveedor/services/proveedorFlete.service.js +1 -1
- package/esm2015/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.js +18 -20
- package/esm2015/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.js +1 -1
- package/esm2015/lib/components/selecciona-articulo/selecciona-articulo.component.js +140 -145
- package/esm2015/lib/components/selecciona-articulo/stock.service.js +1 -1
- package/esm2015/lib/components/serieDocumento/models/SerieDocumento.js +1 -1
- package/esm2015/lib/components/serieDocumento/services/serieDocumento.service.js +1 -1
- package/esm2015/lib/components/tipo-contacto/models/TipoContacto.js +1 -1
- package/esm2015/lib/components/tipo-contacto/services/tipoContacto.service.js +1 -1
- package/esm2015/lib/components/ubicacion/models/Ubicacion.js +1 -1
- package/esm2015/lib/components/ubicacion/services/ubicacion.service.js +1 -1
- package/esm2015/lib/contabilidad/componentes/cclista/cclista.component.js +30 -37
- package/esm2015/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.js +1 -1
- package/esm2015/lib/contabilidad/modelos/cuentaContable.model.js +1 -1
- package/esm2015/lib/contabilidad/modelos/normaInfoFinanciera.model.js +1 -1
- package/esm2015/lib/contabilidad/servicios/cuentacontable.service.js +1 -1
- package/esm2015/lib/globalPrimeNg.js +1 -1
- package/esm2015/lib/httpInterceptor/httpInterceptor.js +1 -1
- package/esm2015/lib/importComponents.js +1 -1
- package/esm2015/lib/importComponetsConta.js +1 -1
- package/esm2015/lib/models/PersonaMoral.js +1 -1
- package/esm2015/lib/models/Usuario.js +1 -1
- package/esm2015/lib/models/auth.js +1 -1
- package/esm2015/lib/services/auth.service.js +1 -1
- package/esm2015/lib/services/authenticated.service.js +1 -1
- package/esm2015/lib/services/canActivateGuard.service.ts.js +1 -1
- package/esm2015/lib/services/catalogo-adicional.service.js +1 -1
- package/esm2015/lib/services/controlAcceso.service.js +1 -1
- package/esm2015/lib/services/crud.service.js +1 -1
- package/esm2015/lib/services/file.service.js +1 -1
- package/esm2015/lib/services/global.service.js +1 -1
- package/esm2015/lib/services/init.service.js +1 -1
- package/esm2015/lib/services/message.service.js +1 -1
- package/esm2015/lib/services/paginate.service.js +1 -1
- package/esm2015/lib/services/personaMoral.service.js +1 -1
- package/esm2015/lib/services/versionCheck.service.js +1 -1
- package/esm2015/lib/utils/tipo_catalogo.ts.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/esm2015/visorus-erp-core.js +1 -1
- package/fesm2015/visorus-erp-core.js +308 -371
- package/fesm2015/visorus-erp-core.js.map +1 -1
- package/package.json +12 -13
- package/esm5/lib/app.module.js +0 -117
- package/esm5/lib/components/acreedor/select/select-acreedor.component.js +0 -232
- package/esm5/lib/components/acreedor/services/acreedor.service.js +0 -25
- package/esm5/lib/components/acreedor/services/acreedorCuentaContable.js +0 -29
- package/esm5/lib/components/agente/models/Agente.js +0 -10
- package/esm5/lib/components/agente/services/agente.service.js +0 -37
- package/esm5/lib/components/almacen/models/Almacen.js +0 -7
- package/esm5/lib/components/almacen/services/almacen.service.js +0 -29
- package/esm5/lib/components/banco/models/Banco.js +0 -9
- package/esm5/lib/components/banco/services/banco.service.js +0 -23
- package/esm5/lib/components/caja/session-create/session-create.component.js +0 -223
- package/esm5/lib/components/caja/sessionCaja.service.js +0 -25
- package/esm5/lib/components/catalogoTipo/models/CatalogoTipo.js +0 -7
- package/esm5/lib/components/catalogoTipo/services/catalogoTipo.service.js +0 -23
- package/esm5/lib/components/clasificadorTipo/models/ClasificadorTipo.js +0 -7
- package/esm5/lib/components/clasificadorTipo/services/clasificadorTipo.service.js +0 -23
- package/esm5/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.js +0 -23
- package/esm5/lib/components/claveMovimiento/models/ClaveMovimiento.js +0 -7
- package/esm5/lib/components/claveMovimiento/services/claveMovimiento.service.js +0 -23
- package/esm5/lib/components/cliente/models/Cliente.js +0 -14
- package/esm5/lib/components/cliente/models/ClienteCuentaBanco.js +0 -10
- package/esm5/lib/components/cliente/models/ClienteFlete.js +0 -12
- package/esm5/lib/components/cliente/select/select-cliente.component.js +0 -240
- package/esm5/lib/components/cliente/services/cliente.service.js +0 -26
- package/esm5/lib/components/cliente/services/clienteCuentaBanco.service.js +0 -29
- package/esm5/lib/components/cliente/services/clienteFlete.service.js +0 -29
- package/esm5/lib/components/contacto/models/DatoContacto.js +0 -9
- package/esm5/lib/components/contacto/services/datoContacto.service.js +0 -23
- package/esm5/lib/components/dato-direccion/models/DatoDireccion.js +0 -7
- package/esm5/lib/components/dato-direccion/services/datoDireccion.service.js +0 -23
- package/esm5/lib/components/departamento/models/Departamento.js +0 -7
- package/esm5/lib/components/departamento/services/departamento.service.js +0 -23
- package/esm5/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.js +0 -9
- package/esm5/lib/components/empresa/models/Empresa.js +0 -13
- package/esm5/lib/components/empresa/services/empresa.service.js +0 -29
- package/esm5/lib/components/error404/error404.component.js +0 -38
- package/esm5/lib/components/flete/models/Flete.js +0 -7
- package/esm5/lib/components/flete/services/flete.service.js +0 -25
- package/esm5/lib/components/formaPago/models/FormaPago.js +0 -7
- package/esm5/lib/components/formaPago/services/FormaPago.service.js +0 -23
- package/esm5/lib/components/loading/loading.component.js +0 -69
- package/esm5/lib/components/loading/loading.service.js +0 -32
- package/esm5/lib/components/loading-screen/loading-screen.component.js +0 -62
- package/esm5/lib/components/loading-screen/loading-screen.service.js +0 -37
- package/esm5/lib/components/login-modal/login-modal.component.js +0 -184
- package/esm5/lib/components/login-modal/login-modal.service.js +0 -23
- package/esm5/lib/components/moneda/models/Moneda.js +0 -7
- package/esm5/lib/components/moneda/services/moneda.service.js +0 -25
- package/esm5/lib/components/pdfModal/pdf-modal.component.js +0 -85
- package/esm5/lib/components/pdfModal/pdf-modal.service.js +0 -31
- package/esm5/lib/components/persona-fisica/models/EstadoCivil.js +0 -7
- package/esm5/lib/components/persona-fisica/models/Genero.js +0 -7
- package/esm5/lib/components/persona-fisica/models/Persona.js +0 -9
- package/esm5/lib/components/persona-fisica/models/PersonaFisica.js +0 -11
- package/esm5/lib/components/persona-fisica/services/personaFisica.service.js +0 -31
- package/esm5/lib/components/proveedor/models/Proveedor.js +0 -14
- package/esm5/lib/components/proveedor/models/ProveedorCuentaBanco.js +0 -10
- package/esm5/lib/components/proveedor/models/ProveedorFlete.js +0 -12
- package/esm5/lib/components/proveedor/select/select-proveedor.component.js +0 -163
- package/esm5/lib/components/proveedor/services/proveedor.service.js +0 -25
- package/esm5/lib/components/proveedor/services/proveedorCuentaBanco.service.js +0 -29
- package/esm5/lib/components/proveedor/services/proveedorFlete.service.js +0 -29
- package/esm5/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.js +0 -159
- package/esm5/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.js +0 -29
- package/esm5/lib/components/selecciona-articulo/selecciona-articulo.component.js +0 -531
- package/esm5/lib/components/selecciona-articulo/stock.service.js +0 -37
- package/esm5/lib/components/serieDocumento/models/SerieDocumento.js +0 -7
- package/esm5/lib/components/serieDocumento/services/serieDocumento.service.js +0 -31
- package/esm5/lib/components/tipo-contacto/models/TipoContacto.js +0 -8
- package/esm5/lib/components/tipo-contacto/services/tipoContacto.service.js +0 -23
- package/esm5/lib/components/ubicacion/models/Ubicacion.js +0 -7
- package/esm5/lib/components/ubicacion/services/ubicacion.service.js +0 -23
- package/esm5/lib/contabilidad/componentes/cclista/cclista.component.js +0 -329
- package/esm5/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.js +0 -72
- package/esm5/lib/contabilidad/modelos/cuentaContable.model.js +0 -8
- package/esm5/lib/contabilidad/modelos/normaInfoFinanciera.model.js +0 -8
- package/esm5/lib/contabilidad/servicios/cuentacontable.service.js +0 -28
- package/esm5/lib/globalPrimeNg.js +0 -66
- package/esm5/lib/httpInterceptor/httpInterceptor.js +0 -94
- package/esm5/lib/importComponents.js +0 -24
- package/esm5/lib/importComponetsConta.js +0 -7
- package/esm5/lib/models/PersonaMoral.js +0 -11
- package/esm5/lib/models/Usuario.js +0 -7
- package/esm5/lib/models/auth.js +0 -7
- package/esm5/lib/services/auth.service.js +0 -209
- package/esm5/lib/services/authenticated.service.js +0 -80
- package/esm5/lib/services/canActivateGuard.service.ts.js +0 -28
- package/esm5/lib/services/catalogo-adicional.service.js +0 -25
- package/esm5/lib/services/controlAcceso.service.js +0 -50
- package/esm5/lib/services/crud.service.js +0 -51
- package/esm5/lib/services/file.service.js +0 -72
- package/esm5/lib/services/global.service.js +0 -56
- package/esm5/lib/services/init.service.js +0 -54
- package/esm5/lib/services/message.service.js +0 -82
- package/esm5/lib/services/paginate.service.js +0 -60
- package/esm5/lib/services/personaMoral.service.js +0 -23
- package/esm5/lib/services/versionCheck.service.js +0 -56
- package/esm5/lib/utils/tipo_catalogo.ts.js +0 -9
- package/esm5/public_api.js +0 -96
- package/esm5/visorus-erp-core.js +0 -5
- package/fesm5/visorus-erp-core.js +0 -4203
- package/fesm5/visorus-erp-core.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ɵɵinject, ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵelementStart, ɵɵtext, ɵɵelementEnd, ɵɵgetCurrentView, ɵɵlistener, ɵɵrestoreView, ɵɵnextContext, ɵɵelement, ɵɵtemplate, ɵɵadvance, ɵɵproperty, ɵɵtextInterpolate1, EventEmitter, ɵɵdirectiveInject, ɵɵdefineComponent, ɵɵstyleMap, ɵɵpureFunction0, Component, Input, Output, ɵɵstaticViewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ɵɵpureFunction1, ViewChild, ɵɵpipe, ɵɵpropertyInterpolate, ɵɵsanitizeUrl, ɵɵpipeBind1, ElementRef, ChangeDetectorRef, ɵɵsanitizeResourceUrl, ɵɵtextInterpolate, ɵɵreference, ɵɵpropertyInterpolate1, ɵɵstyleProp, ɵɵresolveWindow, ɵɵpipeBind2, ɵɵattribute, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
2
2
|
import { HttpHeaders, HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
3
|
-
import { DefaultValueAccessor, NgControlStatus, NgModel, ɵangular_packages_forms_forms_y, NgControlStatusGroup, NgForm, RequiredValidator, NumberValueAccessor,
|
|
3
|
+
import { DefaultValueAccessor, NgControlStatus, NgModel, ɵangular_packages_forms_forms_y, NgControlStatusGroup, NgForm, RequiredValidator, NumberValueAccessor, SelectControlValueAccessor, NgSelectOption, ɵangular_packages_forms_forms_x, FormsModule } from '@angular/forms';
|
|
4
4
|
import { InputText, InputTextModule } from 'primeng/inputtext';
|
|
5
5
|
import { TreeTable, TreeTableToggler, TreeTableModule } from 'primeng/treetable';
|
|
6
|
-
import { PrimeTemplate,
|
|
6
|
+
import { PrimeTemplate, Footer, ConfirmationService } from 'primeng/api';
|
|
7
7
|
import { NgIf, NgStyle, NgForOf, CurrencyPipe, DecimalPipe, DatePipe, CommonModule } from '@angular/common';
|
|
8
8
|
import { ButtonDirective, ButtonModule } from 'primeng/button';
|
|
9
9
|
import { Dialog, DialogModule } from 'primeng/dialog';
|
|
@@ -159,56 +159,56 @@ class CuentaContableService extends CrudService {
|
|
|
159
159
|
}]
|
|
160
160
|
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
161
161
|
|
|
162
|
-
function
|
|
162
|
+
function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
163
163
|
ɵɵelementStart(0, "tr");
|
|
164
|
-
ɵɵelementStart(1, "th",
|
|
164
|
+
ɵɵelementStart(1, "th", 5);
|
|
165
165
|
ɵɵtext(2, "Cuenta contable");
|
|
166
166
|
ɵɵelementEnd();
|
|
167
|
-
ɵɵelementStart(3, "th",
|
|
167
|
+
ɵɵelementStart(3, "th", 5);
|
|
168
168
|
ɵɵtext(4, "Descripci\u00F3n");
|
|
169
169
|
ɵɵelementEnd();
|
|
170
|
-
ɵɵelementStart(5, "th",
|
|
170
|
+
ɵɵelementStart(5, "th", 6);
|
|
171
171
|
ɵɵtext(6, "Naturaleza");
|
|
172
172
|
ɵɵelementEnd();
|
|
173
|
-
ɵɵelementStart(7, "th",
|
|
173
|
+
ɵɵelementStart(7, "th", 7);
|
|
174
174
|
ɵɵtext(8, "Tipo");
|
|
175
175
|
ɵɵelementEnd();
|
|
176
|
-
ɵɵelementStart(9, "th",
|
|
176
|
+
ɵɵelementStart(9, "th", 8);
|
|
177
177
|
ɵɵtext(10, "Acciones");
|
|
178
178
|
ɵɵelementEnd();
|
|
179
179
|
ɵɵelementEnd();
|
|
180
180
|
} }
|
|
181
|
-
function
|
|
181
|
+
function CclistaComponent_ng_template_4_button_12_Template(rf, ctx) { if (rf & 1) {
|
|
182
182
|
const _r8 = ɵɵgetCurrentView();
|
|
183
|
-
ɵɵelementStart(0, "button",
|
|
184
|
-
ɵɵlistener("click", function
|
|
183
|
+
ɵɵelementStart(0, "button", 16);
|
|
184
|
+
ɵɵlistener("click", function CclistaComponent_ng_template_4_button_12_Template_button_click_0_listener() { ɵɵrestoreView(_r8); const rowData_r3 = ɵɵnextContext().rowData; const ctx_r6 = ɵɵnextContext(); return ctx_r6.selectCuentaContable(rowData_r3); });
|
|
185
185
|
ɵɵelementEnd();
|
|
186
186
|
} }
|
|
187
|
-
function
|
|
187
|
+
function CclistaComponent_ng_template_4_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
188
188
|
const _r11 = ɵɵgetCurrentView();
|
|
189
|
-
ɵɵelementStart(0, "button",
|
|
190
|
-
ɵɵlistener("click", function
|
|
189
|
+
ɵɵelementStart(0, "button", 16);
|
|
190
|
+
ɵɵlistener("click", function CclistaComponent_ng_template_4_button_13_Template_button_click_0_listener() { ɵɵrestoreView(_r11); const rowData_r3 = ɵɵnextContext().rowData; const ctx_r9 = ɵɵnextContext(); return ctx_r9.selectCuentaContable(rowData_r3); });
|
|
191
191
|
ɵɵelementEnd();
|
|
192
192
|
} }
|
|
193
|
-
function
|
|
193
|
+
function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
194
194
|
ɵɵelementStart(0, "tr");
|
|
195
|
-
ɵɵelementStart(1, "td",
|
|
196
|
-
ɵɵelement(2, "p-treeTableToggler",
|
|
195
|
+
ɵɵelementStart(1, "td", 9);
|
|
196
|
+
ɵɵelement(2, "p-treeTableToggler", 10);
|
|
197
197
|
ɵɵtext(3);
|
|
198
198
|
ɵɵelementEnd();
|
|
199
|
-
ɵɵelementStart(4, "td",
|
|
199
|
+
ɵɵelementStart(4, "td", 9);
|
|
200
200
|
ɵɵtext(5);
|
|
201
201
|
ɵɵelementEnd();
|
|
202
|
-
ɵɵelementStart(6, "td",
|
|
202
|
+
ɵɵelementStart(6, "td", 11);
|
|
203
203
|
ɵɵtext(7);
|
|
204
204
|
ɵɵelementEnd();
|
|
205
|
-
ɵɵelementStart(8, "td",
|
|
205
|
+
ɵɵelementStart(8, "td", 12);
|
|
206
206
|
ɵɵtext(9);
|
|
207
207
|
ɵɵelementEnd();
|
|
208
|
-
ɵɵelementStart(10, "td",
|
|
209
|
-
ɵɵelementStart(11, "div",
|
|
210
|
-
ɵɵtemplate(12,
|
|
211
|
-
ɵɵtemplate(13,
|
|
208
|
+
ɵɵelementStart(10, "td", 13);
|
|
209
|
+
ɵɵelementStart(11, "div", 14);
|
|
210
|
+
ɵɵtemplate(12, CclistaComponent_ng_template_4_button_12_Template, 1, 0, "button", 15);
|
|
211
|
+
ɵɵtemplate(13, CclistaComponent_ng_template_4_button_13_Template, 1, 0, "button", 15);
|
|
212
212
|
ɵɵelementEnd();
|
|
213
213
|
ɵɵelementEnd();
|
|
214
214
|
ɵɵelementEnd();
|
|
@@ -392,24 +392,17 @@ class CclistaComponent {
|
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
/** @nocollapse */ CclistaComponent.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(ɵɵdirectiveInject(CuentaContableService)); };
|
|
395
|
-
/** @nocollapse */ CclistaComponent.ɵcmp = ɵɵdefineComponent({ type: CclistaComponent, selectors: [["lib-cclista"]], inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls:
|
|
396
|
-
ɵɵelementStart(0, "
|
|
397
|
-
|
|
398
|
-
ɵɵelementStart(2, "div", 2);
|
|
399
|
-
ɵɵelementStart(3, "input", 3);
|
|
400
|
-
ɵɵlistener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_3_listener($event) { return ctx.query = $event; })("keyup", function CclistaComponent_Template_input_keyup_3_listener($event) { return ctx.filterAccounts($event); });
|
|
401
|
-
ɵɵelementEnd();
|
|
402
|
-
ɵɵelementEnd();
|
|
395
|
+
/** @nocollapse */ CclistaComponent.ɵcmp = ɵɵdefineComponent({ type: CclistaComponent, selectors: [["lib-cclista"]], inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 5, vars: 8, consts: [["type", "text", "pInputText", "", "placeholder", "Cuenta o descripci\u00F3n", 2, "width", "100%", 3, "ngModel", "ngModelChange", "keyup"], [2, "padding", "10px"], [3, "value", "scrollable", "scrollHeight", "resizableColumns"], ["pTemplate", "header"], ["pTemplate", "body", "style", "width: 100%;"], [2, "width", "150px"], [2, "width", "90px"], [2, "width", "60px"], [2, "width", "200px"], [1, "ui-resizable-column", 2, "width", "150px"], [3, "rowNode"], [1, "ui-resizable-column", 2, "width", "90px"], [1, "ui-resizable-column", 2, "width", "60px"], [1, "ui-resizable-column", 2, "width", "200px"], [1, "button-row"], ["pButton", "", "type", "button", "icon", "pi pi-check", "class", "ui-button-raised ui-button-success", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "icon", "pi pi-check", 1, "ui-button-raised", "ui-button-success", 3, "click"]], template: function CclistaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
396
|
+
ɵɵelementStart(0, "input", 0);
|
|
397
|
+
ɵɵlistener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_0_listener($event) { return ctx.query = $event; })("keyup", function CclistaComponent_Template_input_keyup_0_listener($event) { return ctx.filterAccounts($event); });
|
|
403
398
|
ɵɵelementEnd();
|
|
404
|
-
|
|
405
|
-
ɵɵelementStart(
|
|
406
|
-
|
|
407
|
-
ɵɵtemplate(
|
|
408
|
-
ɵɵtemplate(7, CclistaComponent_ng_template_7_Template, 14, 7, "ng-template", 7);
|
|
399
|
+
ɵɵelementStart(1, "div", 1);
|
|
400
|
+
ɵɵelementStart(2, "p-treeTable", 2);
|
|
401
|
+
ɵɵtemplate(3, CclistaComponent_ng_template_3_Template, 11, 0, "ng-template", 3);
|
|
402
|
+
ɵɵtemplate(4, CclistaComponent_ng_template_4_Template, 14, 7, "ng-template", 4);
|
|
409
403
|
ɵɵelementEnd();
|
|
410
404
|
ɵɵelementEnd();
|
|
411
405
|
} if (rf & 2) {
|
|
412
|
-
ɵɵadvance(3);
|
|
413
406
|
ɵɵproperty("ngModel", ctx.query);
|
|
414
407
|
ɵɵadvance(2);
|
|
415
408
|
ɵɵstyleMap(ɵɵpureFunction0(7, _c0));
|
|
@@ -737,7 +730,7 @@ class LoadingComponent {
|
|
|
737
730
|
ɵɵpropertyInterpolate("src", ctx.logo_loading, ɵɵsanitizeUrl);
|
|
738
731
|
ɵɵadvance(2);
|
|
739
732
|
ɵɵtextInterpolate1("", ɵɵpipeBind1(13, 2, "cargando"), "...");
|
|
740
|
-
} }, pipes: [TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{
|
|
733
|
+
} }, pipes: [TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{height:170px;position:relative;width:130px}.loader[_ngcontent-%COMP%]:after, .loader[_ngcontent-%COMP%]:before{bottom:30px;content:\"\";height:0;left:15px;position:absolute;transform:scale(0);transition:all .2s ease;width:0;z-index:1}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{bottom:-30px;color:#fff;font-family:Abel,sans-serif;font-size:12px;left:-7%;letter-spacing:2px;position:absolute;text-align:center;width:120%}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{-webkit-animation-duration:.8s;-webkit-animation-iteration-count:infinite;-webkit-animation-name:spaceboots;-webkit-animation-timing-function:linear;-webkit-transform-origin:50% 50%;bottom:-3px;position:absolute;z-index:99}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{color:#fff;display:block;height:140px;left:28px;overflow:hidden;position:absolute;width:100%;z-index:2}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:after, .loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;left:0;opacity:0;position:absolute;text-rendering:auto;top:0}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:first-child:before{animation:a 1.1s linear infinite;content:\"\\f13b\";font-size:20px}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:first-child:after{animation:b 1.3s linear infinite;content:\"\\f13c\"}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{animation:c .9s linear infinite;content:\"\\f121\";font-size:25px}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{animation:d .7s linear infinite;content:\"\\f19a \"}.loader.amit[_ngcontent-%COMP%]:after, .loader.amit[_ngcontent-%COMP%]:before{transform:scale(1)}@keyframes a{0%{opacity:0;transform:translate(30px) rotate(30deg)}to{opacity:1;transform:translate(30px,150px) rotate(-50deg)}}@keyframes b{0%{opacity:0;transform:translate(50px) rotate(-40deg)}to{opacity:1;transform:translate(40px,150px) rotate(80deg)}}@keyframes c{0%{opacity:0;transform:translate(70px) rotate(10deg)}to{opacity:1;transform:translate(60px,150px) rotate(70deg)}}@keyframes d{0%{opacity:0;transform:translate(30px) rotate(-50deg)}to{opacity:1;transform:translate(45px,150px) rotate(30deg)}}.modal[_ngcontent-%COMP%]{z-index:2050!important}.modal-content[_ngcontent-%COMP%]{background-color:hsla(0,0%,100%,0)!important;border:0!important;height:350px!important}.modal-body[_ngcontent-%COMP%]{margin-left:-7%!important}"] });
|
|
741
734
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(LoadingComponent, [{
|
|
742
735
|
type: Component,
|
|
743
736
|
args: [{
|
|
@@ -788,7 +781,7 @@ class LoadingScreenComponent {
|
|
|
788
781
|
ɵɵelementEnd();
|
|
789
782
|
ɵɵelementEnd();
|
|
790
783
|
ɵɵelementEnd();
|
|
791
|
-
} }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{
|
|
784
|
+
} }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.384);display:block;height:100%;position:fixed;width:100%;z-index:100000}.loading-screen-icon[_ngcontent-%COMP%]{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}svg[_ngcontent-%COMP%]{display:none}.blobs[_ngcontent-%COMP%]{border-radius:70px;filter:url(#goo);height:300px;overflow:hidden;position:relative;transform-style:preserve-3d;width:300px}.blobs[_ngcontent-%COMP%] .blob-center[_ngcontent-%COMP%]{animation:blob-grow 3.4s linear infinite;box-shadow:0 -10px 40px -5px #475158;transform-origin:left top;transform-style:preserve-3d}.blob[_ngcontent-%COMP%], .blobs[_ngcontent-%COMP%] .blob-center[_ngcontent-%COMP%]{background:#475158;border-radius:50%;height:30px;left:50%;position:absolute;top:50%;transform:scale(.9) translate(-50%,-50%);width:30px}.blob[_ngcontent-%COMP%]{animation:blobs 3.4s ease-out infinite;opacity:0;transform-origin:center top}.blob[_ngcontent-%COMP%]:first-child{animation-delay:.2s}.blob[_ngcontent-%COMP%]:nth-child(2){animation-delay:.4s}.blob[_ngcontent-%COMP%]:nth-child(3){animation-delay:.6s}.blob[_ngcontent-%COMP%]:nth-child(4){animation-delay:.8s}.blob[_ngcontent-%COMP%]:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}"] });
|
|
792
785
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(LoadingScreenComponent, [{
|
|
793
786
|
type: Component,
|
|
794
787
|
args: [{
|
|
@@ -1375,68 +1368,78 @@ class SessionCajaService extends CrudService {
|
|
|
1375
1368
|
}]
|
|
1376
1369
|
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
1377
1370
|
|
|
1378
|
-
function
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
ɵɵelementStart(1, "label", 8);
|
|
1382
|
-
ɵɵtext(2, "Nombre de caja: ");
|
|
1383
|
-
ɵɵelementEnd();
|
|
1384
|
-
ɵɵelementStart(3, "input", 9);
|
|
1385
|
-
ɵɵlistener("ngModelChange", function SessionCreateComponent_div_4_Template_input_ngModelChange_3_listener($event) { ɵɵrestoreView(_r6); const ctx_r5 = ɵɵnextContext(); return ctx_r5.caja.nombre = $event; });
|
|
1386
|
-
ɵɵelementEnd();
|
|
1371
|
+
function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1372
|
+
ɵɵelementStart(0, "a", 4);
|
|
1373
|
+
ɵɵtext(1);
|
|
1387
1374
|
ɵɵelementEnd();
|
|
1388
1375
|
} if (rf & 2) {
|
|
1389
1376
|
const ctx_r0 = ɵɵnextContext();
|
|
1390
|
-
ɵɵadvance(
|
|
1391
|
-
|
|
1377
|
+
ɵɵadvance(1);
|
|
1378
|
+
ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
|
|
1392
1379
|
} }
|
|
1393
|
-
function
|
|
1394
|
-
const
|
|
1395
|
-
ɵɵelementStart(0, "div",
|
|
1396
|
-
ɵɵelementStart(1, "div",
|
|
1397
|
-
ɵɵelementStart(2, "label",
|
|
1398
|
-
ɵɵtext(3, "
|
|
1380
|
+
function SessionCreateComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1381
|
+
const _r4 = ɵɵgetCurrentView();
|
|
1382
|
+
ɵɵelementStart(0, "div", 5);
|
|
1383
|
+
ɵɵelementStart(1, "div", 6);
|
|
1384
|
+
ɵɵelementStart(2, "label", 7);
|
|
1385
|
+
ɵɵtext(3, "Nombre de caja: ");
|
|
1386
|
+
ɵɵelementEnd();
|
|
1387
|
+
ɵɵelementStart(4, "input", 8);
|
|
1388
|
+
ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_4_listener($event) { ɵɵrestoreView(_r4); const ctx_r3 = ɵɵnextContext(); return ctx_r3.caja.nombre = $event; });
|
|
1399
1389
|
ɵɵelementEnd();
|
|
1400
|
-
ɵɵelementStart(4, "input", 13);
|
|
1401
|
-
ɵɵlistener("ngModelChange", function SessionCreateComponent_div_5_Template_input_ngModelChange_4_listener($event) { ɵɵrestoreView(_r8); const ctx_r7 = ɵɵnextContext(); return ctx_r7.session.monto = $event; });
|
|
1402
1390
|
ɵɵelementEnd();
|
|
1391
|
+
ɵɵelementStart(5, "div", 9);
|
|
1392
|
+
ɵɵelementStart(6, "label", 10);
|
|
1393
|
+
ɵɵtext(7, "Saldo: ");
|
|
1403
1394
|
ɵɵelementEnd();
|
|
1404
|
-
ɵɵelementStart(
|
|
1405
|
-
|
|
1406
|
-
ɵɵtext(7, "Numero Z:");
|
|
1395
|
+
ɵɵelementStart(8, "input", 11);
|
|
1396
|
+
ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_8_listener($event) { ɵɵrestoreView(_r4); const ctx_r5 = ɵɵnextContext(); return ctx_r5.session.monto = $event; });
|
|
1407
1397
|
ɵɵelementEnd();
|
|
1408
|
-
|
|
1409
|
-
|
|
1398
|
+
ɵɵelementEnd();
|
|
1399
|
+
ɵɵelementStart(9, "div", 9);
|
|
1400
|
+
ɵɵelementStart(10, "label", 12);
|
|
1401
|
+
ɵɵtext(11, "Numero Z:");
|
|
1402
|
+
ɵɵelementEnd();
|
|
1403
|
+
ɵɵelementStart(12, "input", 13);
|
|
1404
|
+
ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_12_listener($event) { ɵɵrestoreView(_r4); const ctx_r6 = ɵɵnextContext(); return ctx_r6.session.z = $event; });
|
|
1410
1405
|
ɵɵelementEnd();
|
|
1411
1406
|
ɵɵelementEnd();
|
|
1412
1407
|
ɵɵelementEnd();
|
|
1413
1408
|
} if (rf & 2) {
|
|
1414
1409
|
const ctx_r1 = ɵɵnextContext();
|
|
1415
1410
|
ɵɵadvance(4);
|
|
1411
|
+
ɵɵproperty("ngModel", ctx_r1.caja.nombre)("disabled", true);
|
|
1412
|
+
ɵɵadvance(4);
|
|
1416
1413
|
ɵɵproperty("ngModel", ctx_r1.session.monto)("disabled", ctx_r1.editMode);
|
|
1417
1414
|
ɵɵadvance(4);
|
|
1418
1415
|
ɵɵproperty("ngModel", ctx_r1.session.z)("disabled", true);
|
|
1419
1416
|
} }
|
|
1420
|
-
function
|
|
1421
|
-
|
|
1422
|
-
|
|
1417
|
+
function SessionCreateComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
1418
|
+
const _r10 = ɵɵgetCurrentView();
|
|
1419
|
+
ɵɵelementStart(0, "button", 17);
|
|
1420
|
+
ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_0_Template_button_click_0_listener() { ɵɵrestoreView(_r10); const ctx_r9 = ɵɵnextContext(2); return ctx_r9.save(); });
|
|
1423
1421
|
ɵɵelementEnd();
|
|
1424
1422
|
} }
|
|
1425
|
-
function
|
|
1426
|
-
const
|
|
1427
|
-
ɵɵelementStart(0, "button",
|
|
1428
|
-
ɵɵlistener("click", function
|
|
1429
|
-
ɵɵtext(1, "Guardar");
|
|
1423
|
+
function SessionCreateComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
1424
|
+
const _r12 = ɵɵgetCurrentView();
|
|
1425
|
+
ɵɵelementStart(0, "button", 18);
|
|
1426
|
+
ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_1_Template_button_click_0_listener() { ɵɵrestoreView(_r12); const ctx_r11 = ɵɵnextContext(2); return ctx_r11.edit(); });
|
|
1430
1427
|
ɵɵelementEnd();
|
|
1431
1428
|
} }
|
|
1432
|
-
function
|
|
1433
|
-
const
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1429
|
+
function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1430
|
+
const _r14 = ɵɵgetCurrentView();
|
|
1431
|
+
ɵɵtemplate(0, SessionCreateComponent_ng_template_5_button_0_Template, 1, 0, "button", 14);
|
|
1432
|
+
ɵɵtemplate(1, SessionCreateComponent_ng_template_5_button_1_Template, 1, 0, "button", 15);
|
|
1433
|
+
ɵɵelementStart(2, "button", 16);
|
|
1434
|
+
ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Template_button_click_2_listener() { ɵɵrestoreView(_r14); const ctx_r13 = ɵɵnextContext(); return ctx_r13.closeModal(); });
|
|
1437
1435
|
ɵɵelementEnd();
|
|
1436
|
+
} if (rf & 2) {
|
|
1437
|
+
const ctx_r2 = ɵɵnextContext();
|
|
1438
|
+
ɵɵproperty("ngIf", !ctx_r2.editMode && ctx_r2.caja);
|
|
1439
|
+
ɵɵadvance(1);
|
|
1440
|
+
ɵɵproperty("ngIf", ctx_r2.editMode && ctx_r2.caja);
|
|
1438
1441
|
} }
|
|
1439
|
-
const _c0$3 = function () { return {
|
|
1442
|
+
const _c0$3 = function () { return { width: "750px" }; };
|
|
1440
1443
|
class SessionCreateComponent {
|
|
1441
1444
|
constructor(sessionCajaService) {
|
|
1442
1445
|
this.sessionCajaService = sessionCajaService;
|
|
@@ -1511,41 +1514,22 @@ class SessionCreateComponent {
|
|
|
1511
1514
|
}
|
|
1512
1515
|
}
|
|
1513
1516
|
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(ɵɵdirectiveInject(SessionCajaService)); };
|
|
1514
|
-
/** @nocollapse */ SessionCreateComponent.ɵcmp = ɵɵdefineComponent({ type: SessionCreateComponent, selectors: [["session-create"]], inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, decls:
|
|
1517
|
+
/** @nocollapse */ SessionCreateComponent.ɵcmp = ɵɵdefineComponent({ type: SessionCreateComponent, selectors: [["session-create"]], inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, decls: 6, vars: 9, consts: [[3, "visible", "modal", "closeOnEscape", "closable", "blockScroll", "visibleChange", "onHide", "onShow"], ["pTemplate", "header"], ["class", "grid grid-fluid", 4, "ngIf"], ["pTemplate", "footer"], [1, "text-primary"], [1, "grid", "grid-fluid"], [1, "p-field", "col-12"], ["for", "nombreCaja"], ["pInputText", "", "type", "text", "id", "nombreCaja", 3, "ngModel", "disabled", "ngModelChange"], [1, "p-field", "col-12", "md:col-6"], ["for", "saldoCaja"], ["pInputText", "", "type", "number", "id", "saldoCaja", 3, "ngModel", "disabled", "ngModelChange"], ["for", "numeroZ"], ["pInputText", "", "type", "number", "id", "numeroZ", 3, "ngModel", "disabled", "ngModelChange"], ["pButton", "", "type", "button", "label", "Guardar", "class", "p-button-sm", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "label", "Cerrar session", "class", "p-button-sm p-button-success", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "label", "Cancelar", 1, "p-button-sm", "p-button-danger", 3, "click"], ["pButton", "", "type", "button", "label", "Guardar", 1, "p-button-sm", 3, "click"], ["pButton", "", "type", "button", "label", "Cerrar session", 1, "p-button-sm", "p-button-success", 3, "click"]], template: function SessionCreateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1515
1518
|
ɵɵelementStart(0, "p-dialog", 0);
|
|
1516
1519
|
ɵɵlistener("visibleChange", function SessionCreateComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showCreateSession = $event; })("onHide", function SessionCreateComponent_Template_p_dialog_onHide_0_listener() { return ctx.closeModal(); })("onShow", function SessionCreateComponent_Template_p_dialog_onShow_0_listener() { return ctx.setSession(); });
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
ɵɵelementEnd();
|
|
1522
|
-
ɵɵtemplate(4, SessionCreateComponent_div_4_Template, 4, 2, "div", 2);
|
|
1523
|
-
ɵɵtemplate(5, SessionCreateComponent_div_5_Template, 9, 4, "div", 3);
|
|
1524
|
-
ɵɵtemplate(6, SessionCreateComponent_div_6_Template, 2, 0, "div", 3);
|
|
1525
|
-
ɵɵelementStart(7, "p-footer");
|
|
1526
|
-
ɵɵtemplate(8, SessionCreateComponent_button_8_Template, 2, 0, "button", 4);
|
|
1527
|
-
ɵɵtemplate(9, SessionCreateComponent_button_9_Template, 2, 0, "button", 5);
|
|
1528
|
-
ɵɵelementStart(10, "button", 6);
|
|
1529
|
-
ɵɵlistener("click", function SessionCreateComponent_Template_button_click_10_listener() { return ctx.closeModal(); });
|
|
1530
|
-
ɵɵtext(11, "Cancelar");
|
|
1531
|
-
ɵɵelementEnd();
|
|
1520
|
+
ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1521
|
+
ɵɵtemplate(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1522
|
+
ɵɵelementStart(3, "div");
|
|
1523
|
+
ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1532
1524
|
ɵɵelementEnd();
|
|
1525
|
+
ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1533
1526
|
ɵɵelementEnd();
|
|
1534
1527
|
} if (rf & 2) {
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
ɵɵtextInterpolate1("", ctx.labels.title, ": ");
|
|
1538
|
-
ɵɵadvance(1);
|
|
1539
|
-
ɵɵproperty("ngIf", ctx.caja);
|
|
1540
|
-
ɵɵadvance(1);
|
|
1541
|
-
ɵɵproperty("ngIf", ctx.caja);
|
|
1542
|
-
ɵɵadvance(1);
|
|
1543
|
-
ɵɵproperty("ngIf", !ctx.caja);
|
|
1528
|
+
ɵɵstyleMap(ɵɵpureFunction0(8, _c0$3));
|
|
1529
|
+
ɵɵproperty("visible", ctx.showCreateSession)("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1544
1530
|
ɵɵadvance(2);
|
|
1545
|
-
ɵɵproperty("ngIf",
|
|
1546
|
-
|
|
1547
|
-
ɵɵproperty("ngIf", ctx.editMode && ctx.caja);
|
|
1548
|
-
} }, directives: [Dialog, Header, NgIf, Footer, DefaultValueAccessor, NgControlStatus, NgModel, NumberValueAccessor, MinLengthValidator, MaxLengthValidator], styles: [""] });
|
|
1531
|
+
ɵɵproperty("ngIf", ctx.caja);
|
|
1532
|
+
} }, directives: [Dialog, PrimeTemplate, NgIf, DefaultValueAccessor, InputText, NgControlStatus, NgModel, NumberValueAccessor, ButtonDirective], styles: [""] });
|
|
1549
1533
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1550
1534
|
type: Component,
|
|
1551
1535
|
args: [{
|
|
@@ -1677,7 +1661,7 @@ class PaginateService {
|
|
|
1677
1661
|
}]
|
|
1678
1662
|
}], function () { return [{ type: TranslateService }]; }, null); })();
|
|
1679
1663
|
|
|
1680
|
-
function
|
|
1664
|
+
function SelectClienteComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1681
1665
|
ɵɵelementStart(0, "tr");
|
|
1682
1666
|
ɵɵelementStart(1, "th");
|
|
1683
1667
|
ɵɵtext(2);
|
|
@@ -1718,7 +1702,7 @@ function SelectClienteComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) {
|
|
|
1718
1702
|
ɵɵadvance(3);
|
|
1719
1703
|
ɵɵtextInterpolate(ɵɵpipeBind1(18, 16, "Cliente.diasPago"));
|
|
1720
1704
|
} }
|
|
1721
|
-
function
|
|
1705
|
+
function SelectClienteComponent_ng_template_8_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
1722
1706
|
ɵɵelementStart(0, "span");
|
|
1723
1707
|
ɵɵtext(1);
|
|
1724
1708
|
ɵɵpipe(2, "translate");
|
|
@@ -1727,7 +1711,7 @@ function SelectClienteComponent_ng_template_14_span_6_Template(rf, ctx) { if (rf
|
|
|
1727
1711
|
ɵɵadvance(1);
|
|
1728
1712
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, "fisico"));
|
|
1729
1713
|
} }
|
|
1730
|
-
function
|
|
1714
|
+
function SelectClienteComponent_ng_template_8_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1731
1715
|
ɵɵelementStart(0, "span");
|
|
1732
1716
|
ɵɵtext(1);
|
|
1733
1717
|
ɵɵpipe(2, "translate");
|
|
@@ -1736,8 +1720,8 @@ function SelectClienteComponent_ng_template_14_span_7_Template(rf, ctx) { if (rf
|
|
|
1736
1720
|
ɵɵadvance(1);
|
|
1737
1721
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, "moral"));
|
|
1738
1722
|
} }
|
|
1739
|
-
function
|
|
1740
|
-
ɵɵelementStart(0, "tr",
|
|
1723
|
+
function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1724
|
+
ɵɵelementStart(0, "tr", 8);
|
|
1741
1725
|
ɵɵelementStart(1, "td");
|
|
1742
1726
|
ɵɵtext(2);
|
|
1743
1727
|
ɵɵelementEnd();
|
|
@@ -1745,8 +1729,8 @@ function SelectClienteComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
1745
1729
|
ɵɵtext(4);
|
|
1746
1730
|
ɵɵelementEnd();
|
|
1747
1731
|
ɵɵelementStart(5, "td");
|
|
1748
|
-
ɵɵtemplate(6,
|
|
1749
|
-
ɵɵtemplate(7,
|
|
1732
|
+
ɵɵtemplate(6, SelectClienteComponent_ng_template_8_span_6_Template, 3, 3, "span", 9);
|
|
1733
|
+
ɵɵtemplate(7, SelectClienteComponent_ng_template_8_span_7_Template, 3, 3, "span", 9);
|
|
1750
1734
|
ɵɵelementEnd();
|
|
1751
1735
|
ɵɵelementStart(8, "td");
|
|
1752
1736
|
ɵɵtext(9);
|
|
@@ -1776,9 +1760,9 @@ function SelectClienteComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
1776
1760
|
ɵɵadvance(2);
|
|
1777
1761
|
ɵɵtextInterpolate(cliente_r3.diasPago);
|
|
1778
1762
|
} }
|
|
1779
|
-
function
|
|
1763
|
+
function SelectClienteComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
1780
1764
|
ɵɵelementStart(0, "tr");
|
|
1781
|
-
ɵɵelementStart(1, "td",
|
|
1765
|
+
ɵɵelementStart(1, "td", 10);
|
|
1782
1766
|
ɵɵtext(2);
|
|
1783
1767
|
ɵɵpipe(3, "translate");
|
|
1784
1768
|
ɵɵelementEnd();
|
|
@@ -1843,47 +1827,36 @@ class SelectClienteComponent {
|
|
|
1843
1827
|
}
|
|
1844
1828
|
}
|
|
1845
1829
|
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(ɵɵdirectiveInject(ClienteService), ɵɵdirectiveInject(PaginateService)); };
|
|
1846
|
-
/** @nocollapse */ SelectClienteComponent.ɵcmp = ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, decls:
|
|
1830
|
+
/** @nocollapse */ SelectClienteComponent.ɵcmp = ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, decls: 10, vars: 17, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "scrollHeight", "350px", 3, "value", "lazy", "paginator", "rows", "totalRecords", "selection", "selectionMode", "scrollable", "loading", "onLazyLoad", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "pSelectableRow"], [4, "ngIf"], ["colspan", "6"]], template: function SelectClienteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1847
1831
|
ɵɵelementStart(0, "p-dialog", 0);
|
|
1848
1832
|
ɵɵlistener("visibleChange", function SelectClienteComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectClienteComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrar(); })("onShow", function SelectClienteComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosClientes(); });
|
|
1849
1833
|
ɵɵpipe(1, "translate");
|
|
1850
1834
|
ɵɵelementStart(2, "div", 1);
|
|
1851
|
-
ɵɵelementStart(3, "
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
ɵɵelementStart(6, "input", 5);
|
|
1855
|
-
ɵɵlistener("ngModelChange", function SelectClienteComponent_Template_input_ngModelChange_6_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectClienteComponent_Template_input_keyup_6_listener() { return ctx.aplicarFiltro(); });
|
|
1856
|
-
ɵɵpipe(7, "translate");
|
|
1857
|
-
ɵɵelementEnd();
|
|
1858
|
-
ɵɵelementStart(8, "button", 6);
|
|
1859
|
-
ɵɵlistener("click", function SelectClienteComponent_Template_button_click_8_listener() { return ctx.aplicarFiltro(); });
|
|
1860
|
-
ɵɵelement(9, "i", 7);
|
|
1861
|
-
ɵɵelementEnd();
|
|
1835
|
+
ɵɵelementStart(3, "input", 2);
|
|
1836
|
+
ɵɵlistener("ngModelChange", function SelectClienteComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectClienteComponent_Template_input_keyup_3_listener() { return ctx.aplicarFiltro(); });
|
|
1837
|
+
ɵɵpipe(4, "translate");
|
|
1862
1838
|
ɵɵelementEnd();
|
|
1839
|
+
ɵɵelementStart(5, "button", 3);
|
|
1840
|
+
ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1863
1841
|
ɵɵelementEnd();
|
|
1864
1842
|
ɵɵelementEnd();
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
ɵɵtemplate(13, SelectClienteComponent_ng_template_13_Template, 19, 18, "ng-template", 10);
|
|
1871
|
-
ɵɵtemplate(14, SelectClienteComponent_ng_template_14_Template, 14, 8, "ng-template", 11);
|
|
1872
|
-
ɵɵtemplate(15, SelectClienteComponent_ng_template_15_Template, 4, 3, "ng-template", 12);
|
|
1873
|
-
ɵɵelementEnd();
|
|
1874
|
-
ɵɵelementEnd();
|
|
1843
|
+
ɵɵelementStart(6, "p-table", 4);
|
|
1844
|
+
ɵɵlistener("onLazyLoad", function SelectClienteComponent_Template_p_table_onLazyLoad_6_listener($event) { return ctx.cargarDatosClientes($event); })("selectionChange", function SelectClienteComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.clienteSeleccionado = $event; })("onRowSelect", function SelectClienteComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionaCliente($event); });
|
|
1845
|
+
ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5);
|
|
1846
|
+
ɵɵtemplate(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6);
|
|
1847
|
+
ɵɵtemplate(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1875
1848
|
ɵɵelementEnd();
|
|
1876
1849
|
ɵɵelementEnd();
|
|
1877
1850
|
} if (rf & 2) {
|
|
1878
1851
|
ɵɵpropertyInterpolate("header", ɵɵpipeBind1(1, 13, "Seleccionar cliente "));
|
|
1879
1852
|
ɵɵproperty("visible", ctx.visible);
|
|
1880
|
-
ɵɵadvance(
|
|
1881
|
-
ɵɵpropertyInterpolate1("placeholder", "", ɵɵpipeBind1(
|
|
1853
|
+
ɵɵadvance(3);
|
|
1854
|
+
ɵɵpropertyInterpolate1("placeholder", "", ɵɵpipeBind1(4, 15, "buscar"), "...");
|
|
1882
1855
|
ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1883
|
-
ɵɵadvance(
|
|
1856
|
+
ɵɵadvance(3);
|
|
1884
1857
|
ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1885
1858
|
ɵɵproperty("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total)("selection", ctx.clienteSeleccionado)("scrollable", true)("loading", ctx.loading);
|
|
1886
|
-
} }, directives: [Dialog, DefaultValueAccessor, NgControlStatus, NgModel, Table, PrimeTemplate, SelectableRow, NgIf], pipes: [TranslatePipe], encapsulation: 2 });
|
|
1859
|
+
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, SelectableRow, NgIf], pipes: [TranslatePipe], encapsulation: 2 });
|
|
1887
1860
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1888
1861
|
type: Component,
|
|
1889
1862
|
args: [{
|
|
@@ -1928,7 +1901,7 @@ class ProveedorService extends CrudService {
|
|
|
1928
1901
|
}]
|
|
1929
1902
|
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
1930
1903
|
|
|
1931
|
-
function
|
|
1904
|
+
function SelectProveedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1932
1905
|
ɵɵelementStart(0, "tr");
|
|
1933
1906
|
ɵɵelementStart(1, "th");
|
|
1934
1907
|
ɵɵtext(2);
|
|
@@ -1951,7 +1924,7 @@ function SelectProveedorComponent_ng_template_14_Template(rf, ctx) { if (rf & 1)
|
|
|
1951
1924
|
ɵɵadvance(3);
|
|
1952
1925
|
ɵɵtextInterpolate(ɵɵpipeBind1(9, 7, "rfc"));
|
|
1953
1926
|
} }
|
|
1954
|
-
function
|
|
1927
|
+
function SelectProveedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1955
1928
|
ɵɵelementStart(0, "tr");
|
|
1956
1929
|
ɵɵelementStart(1, "td");
|
|
1957
1930
|
ɵɵtext(2);
|
|
@@ -2013,53 +1986,39 @@ class SelectProveedorComponent {
|
|
|
2013
1986
|
}
|
|
2014
1987
|
}
|
|
2015
1988
|
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(ɵɵdirectiveInject(ProveedorService), ɵɵdirectiveInject(PaginateService), ɵɵdirectiveInject(TranslateService)); };
|
|
2016
|
-
/** @nocollapse */ SelectProveedorComponent.ɵcmp = ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, decls:
|
|
1989
|
+
/** @nocollapse */ SelectProveedorComponent.ɵcmp = ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 16, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "change"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "valueChange", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"]], template: function SelectProveedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2017
1990
|
ɵɵelementStart(0, "p-dialog", 0);
|
|
2018
1991
|
ɵɵlistener("visibleChange", function SelectProveedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectProveedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectProveedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosProveedores(); });
|
|
2019
1992
|
ɵɵpipe(1, "translate");
|
|
2020
1993
|
ɵɵelementStart(2, "div", 1);
|
|
2021
|
-
ɵɵelementStart(3, "
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
ɵɵlistener("ngModelChange", function SelectProveedorComponent_Template_input_ngModelChange_5_listener($event) { return ctx.page.filtro = $event; })("change", function SelectProveedorComponent_Template_input_change_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
2025
|
-
ɵɵpipe(6, "translate");
|
|
2026
|
-
ɵɵelementEnd();
|
|
2027
|
-
ɵɵelementStart(7, "div", 5);
|
|
2028
|
-
ɵɵelementStart(8, "button", 6);
|
|
2029
|
-
ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_8_listener() { return ctx.cargarDatosProveedores(); });
|
|
2030
|
-
ɵɵelement(9, "i", 7);
|
|
2031
|
-
ɵɵelementEnd();
|
|
2032
|
-
ɵɵelementEnd();
|
|
2033
|
-
ɵɵelementEnd();
|
|
1994
|
+
ɵɵelementStart(3, "input", 2);
|
|
1995
|
+
ɵɵlistener("ngModelChange", function SelectProveedorComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("change", function SelectProveedorComponent_Template_input_change_3_listener() { return ctx.cargarDatosProveedores(); });
|
|
1996
|
+
ɵɵpipe(4, "translate");
|
|
2034
1997
|
ɵɵelementEnd();
|
|
1998
|
+
ɵɵelementStart(5, "button", 3);
|
|
1999
|
+
ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
2035
2000
|
ɵɵelementEnd();
|
|
2036
|
-
ɵɵelement(10, "hr");
|
|
2037
|
-
ɵɵelementStart(11, "div", 1);
|
|
2038
|
-
ɵɵelementStart(12, "div", 8);
|
|
2039
|
-
ɵɵelementStart(13, "p-table", 9);
|
|
2040
|
-
ɵɵlistener("valueChange", function SelectProveedorComponent_Template_p_table_valueChange_13_listener($event) { return ctx.proveedores = $event; })("selectionChange", function SelectProveedorComponent_Template_p_table_selectionChange_13_listener($event) { return ctx.proveedorSeleccionado = $event; })("onRowSelect", function SelectProveedorComponent_Template_p_table_onRowSelect_13_listener($event) { return ctx.seleccionarProveedor($event); });
|
|
2041
|
-
ɵɵtemplate(14, SelectProveedorComponent_ng_template_14_Template, 10, 9, "ng-template", 10);
|
|
2042
|
-
ɵɵtemplate(15, SelectProveedorComponent_ng_template_15_Template, 7, 3, "ng-template", 11);
|
|
2043
|
-
ɵɵelementEnd();
|
|
2044
|
-
ɵɵelementEnd();
|
|
2045
|
-
ɵɵelementStart(16, "div", 8);
|
|
2046
|
-
ɵɵelementStart(17, "p-paginator", 12);
|
|
2047
|
-
ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_17_listener($event) { return ctx.pagina($event); });
|
|
2048
2001
|
ɵɵelementEnd();
|
|
2002
|
+
ɵɵelementStart(6, "p-table", 4);
|
|
2003
|
+
ɵɵlistener("valueChange", function SelectProveedorComponent_Template_p_table_valueChange_6_listener($event) { return ctx.proveedores = $event; })("selectionChange", function SelectProveedorComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.proveedorSeleccionado = $event; })("onRowSelect", function SelectProveedorComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionarProveedor($event); });
|
|
2004
|
+
ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5);
|
|
2005
|
+
ɵɵtemplate(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
2049
2006
|
ɵɵelementEnd();
|
|
2007
|
+
ɵɵelementStart(9, "p-paginator", 7);
|
|
2008
|
+
ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2050
2009
|
ɵɵelementEnd();
|
|
2051
2010
|
ɵɵelementEnd();
|
|
2052
2011
|
} if (rf & 2) {
|
|
2053
2012
|
ɵɵpropertyInterpolate("header", ɵɵpipeBind1(1, 11, "ArticuloProveedor.proveedores"));
|
|
2054
2013
|
ɵɵproperty("visible", ctx.visible);
|
|
2055
|
-
ɵɵadvance(
|
|
2056
|
-
ɵɵpropertyInterpolate1("placeholder", "", ɵɵpipeBind1(
|
|
2014
|
+
ɵɵadvance(3);
|
|
2015
|
+
ɵɵpropertyInterpolate1("placeholder", "", ɵɵpipeBind1(4, 13, "buscar"), "...");
|
|
2057
2016
|
ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2058
|
-
ɵɵadvance(
|
|
2017
|
+
ɵɵadvance(3);
|
|
2059
2018
|
ɵɵproperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado)("scrollable", true);
|
|
2060
|
-
ɵɵadvance(
|
|
2019
|
+
ɵɵadvance(3);
|
|
2061
2020
|
ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", ɵɵpureFunction0(15, _c0$4));
|
|
2062
|
-
} }, directives: [Dialog, DefaultValueAccessor, NgControlStatus, NgModel, Table, PrimeTemplate, Paginator], pipes: [TranslatePipe], encapsulation: 2 });
|
|
2021
|
+
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, Paginator], pipes: [TranslatePipe], encapsulation: 2 });
|
|
2063
2022
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
2064
2023
|
type: Component,
|
|
2065
2024
|
args: [{
|
|
@@ -2138,23 +2097,23 @@ class ArticuloInformacionService extends CrudService {
|
|
|
2138
2097
|
}]
|
|
2139
2098
|
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2140
2099
|
|
|
2141
|
-
function
|
|
2100
|
+
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
2142
2101
|
ɵɵelement(0, "col");
|
|
2143
2102
|
} if (rf & 2) {
|
|
2144
2103
|
const col_r5 = ctx.$implicit;
|
|
2145
2104
|
ɵɵstyleProp("width", col_r5.width);
|
|
2146
2105
|
} }
|
|
2147
|
-
function
|
|
2106
|
+
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2148
2107
|
ɵɵelementStart(0, "colgroup");
|
|
2149
|
-
ɵɵtemplate(1,
|
|
2108
|
+
ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 7);
|
|
2150
2109
|
ɵɵelementEnd();
|
|
2151
2110
|
} if (rf & 2) {
|
|
2152
2111
|
const columns_r3 = ctx.$implicit;
|
|
2153
2112
|
ɵɵadvance(1);
|
|
2154
2113
|
ɵɵproperty("ngForOf", columns_r3);
|
|
2155
2114
|
} }
|
|
2156
|
-
function
|
|
2157
|
-
ɵɵelementStart(0, "th",
|
|
2115
|
+
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
2116
|
+
ɵɵelementStart(0, "th", 9);
|
|
2158
2117
|
ɵɵtext(1);
|
|
2159
2118
|
ɵɵelementEnd();
|
|
2160
2119
|
} if (rf & 2) {
|
|
@@ -2162,16 +2121,16 @@ function SeleccionArticuloInformacionComponent_ng_template_4_th_1_Template(rf, c
|
|
|
2162
2121
|
ɵɵadvance(1);
|
|
2163
2122
|
ɵɵtextInterpolate1(" ", col_r8.header, " ");
|
|
2164
2123
|
} }
|
|
2165
|
-
function
|
|
2124
|
+
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2166
2125
|
ɵɵelementStart(0, "tr");
|
|
2167
|
-
ɵɵtemplate(1,
|
|
2126
|
+
ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 8);
|
|
2168
2127
|
ɵɵelementEnd();
|
|
2169
2128
|
} if (rf & 2) {
|
|
2170
2129
|
const columns_r6 = ctx.$implicit;
|
|
2171
2130
|
ɵɵadvance(1);
|
|
2172
2131
|
ɵɵproperty("ngForOf", columns_r6);
|
|
2173
2132
|
} }
|
|
2174
|
-
function
|
|
2133
|
+
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2175
2134
|
ɵɵelementStart(0, "tr");
|
|
2176
2135
|
ɵɵelementStart(1, "td");
|
|
2177
2136
|
ɵɵtext(2);
|
|
@@ -2245,20 +2204,18 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2245
2204
|
}
|
|
2246
2205
|
}
|
|
2247
2206
|
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(ɵɵdirectiveInject(ArticuloInformacionService)); };
|
|
2248
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp = ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls:
|
|
2207
|
+
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp = ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls: 8, vars: 20, consts: [[3, "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable", "breakpoint", "onShow", "visibleChange", "onHide", "resize"], ["scrollHeight", "350px", 3, "columns", "value", "scrollable", "responsive"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], [1, "container-end"], ["pButton", "", "type", "button", "icon", "pi pi-replay", "label", "Cerrar", 1, "ui-button-raised", "ui-button-secondary", 3, "click"], [3, "width", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 4, "ngFor", "ngForOf"], ["pResizableColumn", ""]], template: function SeleccionArticuloInformacionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2249
2208
|
ɵɵelementStart(0, "p-dialog", 0);
|
|
2250
2209
|
ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); })("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showModal = $event; })("onHide", function SeleccionArticuloInformacionComponent_Template_p_dialog_onHide_0_listener() { return ctx.hiddenDialog(); })("resize", function SeleccionArticuloInformacionComponent_Template_p_dialog_resize_0_listener($event) { return ctx.OnResize($event); }, false, ɵɵresolveWindow);
|
|
2251
|
-
ɵɵelementStart(1, "
|
|
2252
|
-
|
|
2210
|
+
ɵɵelementStart(1, "p-table", 1);
|
|
2211
|
+
ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
2253
2212
|
ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
2254
|
-
ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template,
|
|
2255
|
-
ɵɵtemplate(5, SeleccionArticuloInformacionComponent_ng_template_5_Template, 11, 5, "ng-template", 5);
|
|
2256
|
-
ɵɵelementEnd();
|
|
2213
|
+
ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2257
2214
|
ɵɵelementEnd();
|
|
2258
|
-
ɵɵelementStart(
|
|
2259
|
-
ɵɵelementStart(
|
|
2260
|
-
ɵɵelementStart(
|
|
2261
|
-
ɵɵlistener("click", function
|
|
2215
|
+
ɵɵelementStart(5, "p-footer");
|
|
2216
|
+
ɵɵelementStart(6, "div", 5);
|
|
2217
|
+
ɵɵelementStart(7, "button", 6);
|
|
2218
|
+
ɵɵlistener("click", function SeleccionArticuloInformacionComponent_Template_button_click_7_listener() { return ctx.hiddenDialog(); });
|
|
2262
2219
|
ɵɵelementEnd();
|
|
2263
2220
|
ɵɵelementEnd();
|
|
2264
2221
|
ɵɵelementEnd();
|
|
@@ -2266,7 +2223,7 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2266
2223
|
} if (rf & 2) {
|
|
2267
2224
|
ɵɵstyleMap(ɵɵpureFunction1(17, _c0$5, ctx.size + "px"));
|
|
2268
2225
|
ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2269
|
-
ɵɵadvance(
|
|
2226
|
+
ɵɵadvance(1);
|
|
2270
2227
|
ɵɵstyleMap(ɵɵpureFunction0(19, _c1$2));
|
|
2271
2228
|
ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true)("responsive", true);
|
|
2272
2229
|
} }, directives: [Dialog, Table, PrimeTemplate, Footer, ButtonDirective, NgForOf, ResizableColumn], styles: [""] });
|
|
@@ -2285,8 +2242,8 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2285
2242
|
type: Output
|
|
2286
2243
|
}] }); })();
|
|
2287
2244
|
|
|
2288
|
-
function
|
|
2289
|
-
ɵɵelementStart(0, "option",
|
|
2245
|
+
function SeleccionaArticuloComponent_option_23_Template(rf, ctx) { if (rf & 1) {
|
|
2246
|
+
ɵɵelementStart(0, "option", 22);
|
|
2290
2247
|
ɵɵtext(1);
|
|
2291
2248
|
ɵɵelementEnd();
|
|
2292
2249
|
} if (rf & 2) {
|
|
@@ -2295,48 +2252,48 @@ function SeleccionaArticuloComponent_option_25_Template(rf, ctx) { if (rf & 1) {
|
|
|
2295
2252
|
ɵɵadvance(1);
|
|
2296
2253
|
ɵɵtextInterpolate(almacen_r5.descripcion);
|
|
2297
2254
|
} }
|
|
2298
|
-
function
|
|
2299
|
-
ɵɵelementStart(0, "th",
|
|
2255
|
+
function SeleccionaArticuloComponent_ng_template_26_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
2256
|
+
ɵɵelementStart(0, "th", 31);
|
|
2300
2257
|
ɵɵtext(1, "existenciaSecundaria");
|
|
2301
2258
|
ɵɵelementEnd();
|
|
2302
2259
|
} }
|
|
2303
|
-
function
|
|
2304
|
-
ɵɵelementStart(0, "th",
|
|
2260
|
+
function SeleccionaArticuloComponent_ng_template_26_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
2261
|
+
ɵɵelementStart(0, "th", 25);
|
|
2305
2262
|
ɵɵtext(1, "Unidad");
|
|
2306
2263
|
ɵɵelementEnd();
|
|
2307
2264
|
} }
|
|
2308
|
-
function
|
|
2309
|
-
ɵɵelementStart(0, "th",
|
|
2310
|
-
ɵɵtext(1, "
|
|
2265
|
+
function SeleccionaArticuloComponent_ng_template_26_th_14_Template(rf, ctx) { if (rf & 1) {
|
|
2266
|
+
ɵɵelementStart(0, "th", 23);
|
|
2267
|
+
ɵɵtext(1, "Precio");
|
|
2311
2268
|
ɵɵelementEnd();
|
|
2312
2269
|
} }
|
|
2313
|
-
function
|
|
2314
|
-
ɵɵelementStart(0, "th",
|
|
2270
|
+
function SeleccionaArticuloComponent_ng_template_26_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
2271
|
+
ɵɵelementStart(0, "th", 23);
|
|
2315
2272
|
ɵɵtext(1, "Precio 2");
|
|
2316
2273
|
ɵɵelementEnd();
|
|
2317
2274
|
} }
|
|
2318
|
-
function
|
|
2319
|
-
ɵɵelementStart(0, "th",
|
|
2275
|
+
function SeleccionaArticuloComponent_ng_template_26_th_16_Template(rf, ctx) { if (rf & 1) {
|
|
2276
|
+
ɵɵelementStart(0, "th", 23);
|
|
2320
2277
|
ɵɵtext(1, "Precio 3");
|
|
2321
2278
|
ɵɵelementEnd();
|
|
2322
2279
|
} }
|
|
2323
|
-
function
|
|
2324
|
-
ɵɵelementStart(0, "th",
|
|
2280
|
+
function SeleccionaArticuloComponent_ng_template_26_th_17_Template(rf, ctx) { if (rf & 1) {
|
|
2281
|
+
ɵɵelementStart(0, "th", 23);
|
|
2325
2282
|
ɵɵtext(1, "Precio 4");
|
|
2326
2283
|
ɵɵelementEnd();
|
|
2327
2284
|
} }
|
|
2328
|
-
function
|
|
2329
|
-
ɵɵelementStart(0, "th",
|
|
2285
|
+
function SeleccionaArticuloComponent_ng_template_26_th_18_Template(rf, ctx) { if (rf & 1) {
|
|
2286
|
+
ɵɵelementStart(0, "th", 23);
|
|
2330
2287
|
ɵɵtext(1, "Precio 5");
|
|
2331
2288
|
ɵɵelementEnd();
|
|
2332
2289
|
} }
|
|
2333
|
-
function
|
|
2334
|
-
ɵɵelementStart(0, "th",
|
|
2290
|
+
function SeleccionaArticuloComponent_ng_template_26_th_19_Template(rf, ctx) { if (rf & 1) {
|
|
2291
|
+
ɵɵelementStart(0, "th", 25);
|
|
2335
2292
|
ɵɵtext(1, "Movimiento.costo");
|
|
2336
2293
|
ɵɵelementEnd();
|
|
2337
2294
|
} }
|
|
2338
|
-
function
|
|
2339
|
-
ɵɵelementStart(0, "th",
|
|
2295
|
+
function SeleccionaArticuloComponent_ng_template_26_th_22_Template(rf, ctx) { if (rf & 1) {
|
|
2296
|
+
ɵɵelementStart(0, "th", 23);
|
|
2340
2297
|
ɵɵtext(1);
|
|
2341
2298
|
ɵɵelementEnd();
|
|
2342
2299
|
} if (rf & 2) {
|
|
@@ -2344,36 +2301,36 @@ function SeleccionaArticuloComponent_ng_template_29_th_22_Template(rf, ctx) { if
|
|
|
2344
2301
|
ɵɵadvance(1);
|
|
2345
2302
|
ɵɵtextInterpolate(item_r15.descripcion);
|
|
2346
2303
|
} }
|
|
2347
|
-
function
|
|
2304
|
+
function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
2348
2305
|
ɵɵelementStart(0, "tr");
|
|
2349
|
-
ɵɵelementStart(1, "th",
|
|
2306
|
+
ɵɵelementStart(1, "th", 23);
|
|
2350
2307
|
ɵɵtext(2, "C\u00F3digo Ubicacion");
|
|
2351
2308
|
ɵɵelementEnd();
|
|
2352
|
-
ɵɵelementStart(3, "th",
|
|
2309
|
+
ɵɵelementStart(3, "th", 24);
|
|
2353
2310
|
ɵɵtext(4, "Existencia");
|
|
2354
2311
|
ɵɵelementEnd();
|
|
2355
|
-
ɵɵelementStart(5, "th",
|
|
2312
|
+
ɵɵelementStart(5, "th", 25);
|
|
2356
2313
|
ɵɵtext(6, "Unidad");
|
|
2357
2314
|
ɵɵelementEnd();
|
|
2358
|
-
ɵɵtemplate(7,
|
|
2359
|
-
ɵɵtemplate(8,
|
|
2360
|
-
ɵɵelementStart(9, "th",
|
|
2315
|
+
ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_26_th_7_Template, 2, 0, "th", 26);
|
|
2316
|
+
ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_26_th_8_Template, 2, 0, "th", 27);
|
|
2317
|
+
ɵɵelementStart(9, "th", 23);
|
|
2361
2318
|
ɵɵtext(10, "C\u00F3digo");
|
|
2362
2319
|
ɵɵelementEnd();
|
|
2363
|
-
ɵɵelementStart(11, "th",
|
|
2320
|
+
ɵɵelementStart(11, "th", 28);
|
|
2364
2321
|
ɵɵtext(12, "Descripcion");
|
|
2365
2322
|
ɵɵelementEnd();
|
|
2366
|
-
ɵɵelement(13, "th",
|
|
2367
|
-
ɵɵtemplate(14,
|
|
2368
|
-
ɵɵtemplate(15,
|
|
2369
|
-
ɵɵtemplate(16,
|
|
2370
|
-
ɵɵtemplate(17,
|
|
2371
|
-
ɵɵtemplate(18,
|
|
2372
|
-
ɵɵtemplate(19,
|
|
2373
|
-
ɵɵelementStart(20, "th",
|
|
2323
|
+
ɵɵelement(13, "th", 25);
|
|
2324
|
+
ɵɵtemplate(14, SeleccionaArticuloComponent_ng_template_26_th_14_Template, 2, 0, "th", 29);
|
|
2325
|
+
ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_26_th_15_Template, 2, 0, "th", 29);
|
|
2326
|
+
ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_26_th_16_Template, 2, 0, "th", 29);
|
|
2327
|
+
ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_26_th_17_Template, 2, 0, "th", 29);
|
|
2328
|
+
ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_26_th_18_Template, 2, 0, "th", 29);
|
|
2329
|
+
ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_26_th_19_Template, 2, 0, "th", 27);
|
|
2330
|
+
ɵɵelementStart(20, "th", 25);
|
|
2374
2331
|
ɵɵtext(21, "Existencia por Unidad");
|
|
2375
2332
|
ɵɵelementEnd();
|
|
2376
|
-
ɵɵtemplate(22,
|
|
2333
|
+
ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_26_th_22_Template, 2, 1, "th", 30);
|
|
2377
2334
|
ɵɵelementEnd();
|
|
2378
2335
|
} if (rf & 2) {
|
|
2379
2336
|
const ctx_r2 = ɵɵnextContext();
|
|
@@ -2396,13 +2353,13 @@ function SeleccionaArticuloComponent_ng_template_29_Template(rf, ctx) { if (rf &
|
|
|
2396
2353
|
ɵɵadvance(3);
|
|
2397
2354
|
ɵɵproperty("ngForOf", ctx_r2.clasificadorList);
|
|
2398
2355
|
} }
|
|
2399
|
-
function
|
|
2400
|
-
ɵɵelementStart(0, "td",
|
|
2356
|
+
function SeleccionaArticuloComponent_ng_template_27_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
2357
|
+
ɵɵelementStart(0, "td", 23);
|
|
2401
2358
|
ɵɵtext(1, "Movimiento.NoAsignado");
|
|
2402
2359
|
ɵɵelementEnd();
|
|
2403
2360
|
} }
|
|
2404
|
-
function
|
|
2405
|
-
ɵɵelementStart(0, "td",
|
|
2361
|
+
function SeleccionaArticuloComponent_ng_template_27_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
2362
|
+
ɵɵelementStart(0, "td", 39);
|
|
2406
2363
|
ɵɵtext(1);
|
|
2407
2364
|
ɵɵelementEnd();
|
|
2408
2365
|
} if (rf & 2) {
|
|
@@ -2410,8 +2367,8 @@ function SeleccionaArticuloComponent_ng_template_30_td_2_Template(rf, ctx) { if
|
|
|
2410
2367
|
ɵɵadvance(1);
|
|
2411
2368
|
ɵɵtextInterpolate(rowData_r16.ubicacionCodigo);
|
|
2412
2369
|
} }
|
|
2413
|
-
function
|
|
2414
|
-
ɵɵelementStart(0, "td",
|
|
2370
|
+
function SeleccionaArticuloComponent_ng_template_27_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
2371
|
+
ɵɵelementStart(0, "td", 44);
|
|
2415
2372
|
ɵɵtext(1);
|
|
2416
2373
|
ɵɵelementEnd();
|
|
2417
2374
|
} if (rf & 2) {
|
|
@@ -2419,8 +2376,8 @@ function SeleccionaArticuloComponent_ng_template_30_td_7_Template(rf, ctx) { if
|
|
|
2419
2376
|
ɵɵadvance(1);
|
|
2420
2377
|
ɵɵtextInterpolate(rowData_r16.existenciaSecundaria);
|
|
2421
2378
|
} }
|
|
2422
|
-
function
|
|
2423
|
-
ɵɵelementStart(0, "td",
|
|
2379
|
+
function SeleccionaArticuloComponent_ng_template_27_td_8_Template(rf, ctx) { if (rf & 1) {
|
|
2380
|
+
ɵɵelementStart(0, "td", 36);
|
|
2424
2381
|
ɵɵtext(1);
|
|
2425
2382
|
ɵɵelementEnd();
|
|
2426
2383
|
} if (rf & 2) {
|
|
@@ -2428,18 +2385,18 @@ function SeleccionaArticuloComponent_ng_template_30_td_8_Template(rf, ctx) { if
|
|
|
2428
2385
|
ɵɵadvance(1);
|
|
2429
2386
|
ɵɵtextInterpolate(rowData_r16.unidadSecundariaCodigo);
|
|
2430
2387
|
} }
|
|
2431
|
-
function
|
|
2432
|
-
ɵɵelementStart(0, "td",
|
|
2388
|
+
function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if (rf & 1) {
|
|
2389
|
+
ɵɵelementStart(0, "td", 39);
|
|
2433
2390
|
ɵɵtext(1);
|
|
2434
2391
|
ɵɵpipe(2, "currency");
|
|
2435
2392
|
ɵɵelementEnd();
|
|
2436
2393
|
} if (rf & 2) {
|
|
2437
2394
|
const rowData_r16 = ɵɵnextContext().$implicit;
|
|
2438
2395
|
ɵɵadvance(1);
|
|
2439
|
-
|
|
2396
|
+
ɵɵtextInterpolate1("", ɵɵpipeBind1(2, 1, rowData_r16.precioConImpuestos), " ");
|
|
2440
2397
|
} }
|
|
2441
|
-
function
|
|
2442
|
-
ɵɵelementStart(0, "td",
|
|
2398
|
+
function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if (rf & 1) {
|
|
2399
|
+
ɵɵelementStart(0, "td", 39);
|
|
2443
2400
|
ɵɵtext(1);
|
|
2444
2401
|
ɵɵpipe(2, "currency");
|
|
2445
2402
|
ɵɵelementEnd();
|
|
@@ -2448,8 +2405,8 @@ function SeleccionaArticuloComponent_ng_template_30_td_16_Template(rf, ctx) { if
|
|
|
2448
2405
|
ɵɵadvance(1);
|
|
2449
2406
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, rowData_r16.precio2ConImpuestos));
|
|
2450
2407
|
} }
|
|
2451
|
-
function
|
|
2452
|
-
ɵɵelementStart(0, "td",
|
|
2408
|
+
function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if (rf & 1) {
|
|
2409
|
+
ɵɵelementStart(0, "td", 39);
|
|
2453
2410
|
ɵɵtext(1);
|
|
2454
2411
|
ɵɵpipe(2, "currency");
|
|
2455
2412
|
ɵɵelementEnd();
|
|
@@ -2458,8 +2415,8 @@ function SeleccionaArticuloComponent_ng_template_30_td_17_Template(rf, ctx) { if
|
|
|
2458
2415
|
ɵɵadvance(1);
|
|
2459
2416
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, rowData_r16.precio3ConImpuestos));
|
|
2460
2417
|
} }
|
|
2461
|
-
function
|
|
2462
|
-
ɵɵelementStart(0, "td",
|
|
2418
|
+
function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if (rf & 1) {
|
|
2419
|
+
ɵɵelementStart(0, "td", 39);
|
|
2463
2420
|
ɵɵtext(1);
|
|
2464
2421
|
ɵɵpipe(2, "currency");
|
|
2465
2422
|
ɵɵelementEnd();
|
|
@@ -2468,8 +2425,8 @@ function SeleccionaArticuloComponent_ng_template_30_td_18_Template(rf, ctx) { if
|
|
|
2468
2425
|
ɵɵadvance(1);
|
|
2469
2426
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, rowData_r16.precio4ConImpuestos));
|
|
2470
2427
|
} }
|
|
2471
|
-
function
|
|
2472
|
-
ɵɵelementStart(0, "td",
|
|
2428
|
+
function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if (rf & 1) {
|
|
2429
|
+
ɵɵelementStart(0, "td", 39);
|
|
2473
2430
|
ɵɵtext(1);
|
|
2474
2431
|
ɵɵpipe(2, "currency");
|
|
2475
2432
|
ɵɵelementEnd();
|
|
@@ -2478,8 +2435,8 @@ function SeleccionaArticuloComponent_ng_template_30_td_19_Template(rf, ctx) { if
|
|
|
2478
2435
|
ɵɵadvance(1);
|
|
2479
2436
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, rowData_r16.precio5ConImpuestos));
|
|
2480
2437
|
} }
|
|
2481
|
-
function
|
|
2482
|
-
ɵɵelementStart(0, "td",
|
|
2438
|
+
function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if (rf & 1) {
|
|
2439
|
+
ɵɵelementStart(0, "td", 36);
|
|
2483
2440
|
ɵɵtext(1);
|
|
2484
2441
|
ɵɵpipe(2, "currency");
|
|
2485
2442
|
ɵɵelementEnd();
|
|
@@ -2488,15 +2445,15 @@ function SeleccionaArticuloComponent_ng_template_30_td_20_Template(rf, ctx) { if
|
|
|
2488
2445
|
ɵɵadvance(1);
|
|
2489
2446
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, rowData_r16.precio));
|
|
2490
2447
|
} }
|
|
2491
|
-
function
|
|
2492
|
-
ɵɵelementStart(0, "div",
|
|
2493
|
-
ɵɵelementStart(1, "div",
|
|
2494
|
-
ɵɵelementStart(2, "label",
|
|
2448
|
+
function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
2449
|
+
ɵɵelementStart(0, "div", 45);
|
|
2450
|
+
ɵɵelementStart(1, "div", 46);
|
|
2451
|
+
ɵɵelementStart(2, "label", 47);
|
|
2495
2452
|
ɵɵtext(3);
|
|
2496
2453
|
ɵɵelementEnd();
|
|
2497
2454
|
ɵɵelementEnd();
|
|
2498
|
-
ɵɵelementStart(4, "div",
|
|
2499
|
-
ɵɵelementStart(5, "label",
|
|
2455
|
+
ɵɵelementStart(4, "div", 46);
|
|
2456
|
+
ɵɵelementStart(5, "label", 47);
|
|
2500
2457
|
ɵɵtext(6);
|
|
2501
2458
|
ɵɵpipe(7, "number");
|
|
2502
2459
|
ɵɵelementEnd();
|
|
@@ -2509,8 +2466,8 @@ function SeleccionaArticuloComponent_ng_template_30_div_22_Template(rf, ctx) { i
|
|
|
2509
2466
|
ɵɵadvance(3);
|
|
2510
2467
|
ɵɵtextInterpolate(ɵɵpipeBind2(7, 2, item_r39.unidad_existencia, "1.2-2"));
|
|
2511
2468
|
} }
|
|
2512
|
-
function
|
|
2513
|
-
ɵɵelementStart(0, "td",
|
|
2469
|
+
function SeleccionaArticuloComponent_ng_template_27_td_23_Template(rf, ctx) { if (rf & 1) {
|
|
2470
|
+
ɵɵelementStart(0, "td", 39);
|
|
2514
2471
|
ɵɵtext(1);
|
|
2515
2472
|
ɵɵelementEnd();
|
|
2516
2473
|
} if (rf & 2) {
|
|
@@ -2518,40 +2475,40 @@ function SeleccionaArticuloComponent_ng_template_30_td_23_Template(rf, ctx) { if
|
|
|
2518
2475
|
ɵɵadvance(1);
|
|
2519
2476
|
ɵɵtextInterpolate(itemData_r40.valor);
|
|
2520
2477
|
} }
|
|
2521
|
-
function
|
|
2478
|
+
function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
2522
2479
|
const _r42 = ɵɵgetCurrentView();
|
|
2523
|
-
ɵɵelementStart(0, "tr",
|
|
2524
|
-
ɵɵtemplate(1,
|
|
2525
|
-
ɵɵtemplate(2,
|
|
2526
|
-
ɵɵelementStart(3, "td",
|
|
2480
|
+
ɵɵelementStart(0, "tr", 32);
|
|
2481
|
+
ɵɵtemplate(1, SeleccionaArticuloComponent_ng_template_27_td_1_Template, 2, 0, "td", 33);
|
|
2482
|
+
ɵɵtemplate(2, SeleccionaArticuloComponent_ng_template_27_td_2_Template, 2, 1, "td", 34);
|
|
2483
|
+
ɵɵelementStart(3, "td", 35);
|
|
2527
2484
|
ɵɵtext(4);
|
|
2528
2485
|
ɵɵelementEnd();
|
|
2529
|
-
ɵɵelementStart(5, "td",
|
|
2486
|
+
ɵɵelementStart(5, "td", 36);
|
|
2530
2487
|
ɵɵtext(6);
|
|
2531
2488
|
ɵɵelementEnd();
|
|
2532
|
-
ɵɵtemplate(7,
|
|
2533
|
-
ɵɵtemplate(8,
|
|
2534
|
-
ɵɵelementStart(9, "td",
|
|
2489
|
+
ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_27_td_7_Template, 2, 1, "td", 37);
|
|
2490
|
+
ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_27_td_8_Template, 2, 1, "td", 38);
|
|
2491
|
+
ɵɵelementStart(9, "td", 39);
|
|
2535
2492
|
ɵɵtext(10);
|
|
2536
2493
|
ɵɵelementEnd();
|
|
2537
|
-
ɵɵelementStart(11, "td",
|
|
2494
|
+
ɵɵelementStart(11, "td", 40);
|
|
2538
2495
|
ɵɵtext(12);
|
|
2539
2496
|
ɵɵelementEnd();
|
|
2540
|
-
ɵɵelementStart(13, "td",
|
|
2541
|
-
ɵɵelementStart(14, "button",
|
|
2542
|
-
ɵɵlistener("click", function
|
|
2497
|
+
ɵɵelementStart(13, "td", 36);
|
|
2498
|
+
ɵɵelementStart(14, "button", 41);
|
|
2499
|
+
ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_27_Template_button_click_14_listener() { ɵɵrestoreView(_r42); const rowData_r16 = ctx.$implicit; const ctx_r41 = ɵɵnextContext(); return ctx_r41.onShowInformacion(rowData_r16); });
|
|
2543
2500
|
ɵɵelementEnd();
|
|
2544
2501
|
ɵɵelementEnd();
|
|
2545
|
-
ɵɵtemplate(15,
|
|
2546
|
-
ɵɵtemplate(16,
|
|
2547
|
-
ɵɵtemplate(17,
|
|
2548
|
-
ɵɵtemplate(18,
|
|
2549
|
-
ɵɵtemplate(19,
|
|
2550
|
-
ɵɵtemplate(20,
|
|
2551
|
-
ɵɵelementStart(21, "td",
|
|
2552
|
-
ɵɵtemplate(22,
|
|
2502
|
+
ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_27_td_15_Template, 3, 3, "td", 34);
|
|
2503
|
+
ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_27_td_16_Template, 3, 3, "td", 34);
|
|
2504
|
+
ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_27_td_17_Template, 3, 3, "td", 34);
|
|
2505
|
+
ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_27_td_18_Template, 3, 3, "td", 34);
|
|
2506
|
+
ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_27_td_19_Template, 3, 3, "td", 34);
|
|
2507
|
+
ɵɵtemplate(20, SeleccionaArticuloComponent_ng_template_27_td_20_Template, 3, 3, "td", 38);
|
|
2508
|
+
ɵɵelementStart(21, "td", 36);
|
|
2509
|
+
ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_27_div_22_Template, 8, 5, "div", 42);
|
|
2553
2510
|
ɵɵelementEnd();
|
|
2554
|
-
ɵɵtemplate(23,
|
|
2511
|
+
ɵɵtemplate(23, SeleccionaArticuloComponent_ng_template_27_td_23_Template, 2, 1, "td", 43);
|
|
2555
2512
|
ɵɵelementEnd();
|
|
2556
2513
|
} if (rf & 2) {
|
|
2557
2514
|
const rowData_r16 = ctx.$implicit;
|
|
@@ -2590,10 +2547,10 @@ function SeleccionaArticuloComponent_ng_template_30_Template(rf, ctx) { if (rf &
|
|
|
2590
2547
|
ɵɵadvance(1);
|
|
2591
2548
|
ɵɵproperty("ngForOf", rowData_r16.articuloClasificadorList);
|
|
2592
2549
|
} }
|
|
2593
|
-
function
|
|
2550
|
+
function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template(rf, ctx) { if (rf & 1) {
|
|
2594
2551
|
const _r44 = ɵɵgetCurrentView();
|
|
2595
|
-
ɵɵelementStart(0, "lib-seleccion-articulo-informacion",
|
|
2596
|
-
ɵɵlistener("eventSelection", function
|
|
2552
|
+
ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 48);
|
|
2553
|
+
ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { ɵɵrestoreView(_r44); const ctx_r43 = ɵɵnextContext(); return ctx_r43.onEventInformacion($event); });
|
|
2597
2554
|
ɵɵelementEnd();
|
|
2598
2555
|
} if (rf & 2) {
|
|
2599
2556
|
const ctx_r4 = ɵɵnextContext();
|
|
@@ -2693,87 +2650,81 @@ class SeleccionaArticuloComponent {
|
|
|
2693
2650
|
}
|
|
2694
2651
|
}
|
|
2695
2652
|
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(ɵɵdirectiveInject(StockService), ɵɵdirectiveInject(PaginateService), ɵɵdirectiveInject(AlmacenService)); };
|
|
2696
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵcmp = ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, decls:
|
|
2653
|
+
/** @nocollapse */ SeleccionaArticuloComponent.ɵcmp = ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, decls: 30, vars: 25, consts: [[3, "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY", "visibleChange", "onShow", "onHide"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModel", "ngModelChange", "change"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModel", "ngModelChange", "keypress"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], [2, "width", "100px"], ["for", "almacen"], ["pInputText", "", "disabled", "", "id", "almacen", 2, "width", "200px", 3, "ngModel", "ngModelChange", "change"], [3, "value", 4, "ngFor", "ngForOf"], ["scrollHeight", "400px", "selectionMode", "single", 3, "value", "scrollable", "responsive", "onRowSelect"], ["dt", ""], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "showModal", "articulo", "eventSelection", 4, "ngIf"], [3, "value"], ["translate", "", 2, "width", "80px"], ["translate", "", 2, "width", "70px"], ["translate", "", 2, "width", "40px"], ["style", "width: 50px", "translate", "", 4, "ngIf"], ["style", "width: 40px", "translate", "", 4, "ngIf"], ["translate", "", 2, "width", "120px"], ["style", "width: 80px", "translate", "", 4, "ngIf"], ["style", "width: 80px", "translate", "", 4, "ngFor", "ngForOf"], ["translate", "", 2, "width", "50px"], [3, "pSelectableRow"], ["style", "width: 80px;", "translate", "", 4, "ngIf"], ["style", "width: 80px;", 4, "ngIf"], [2, "width", "70px"], [2, "width", "40px"], ["style", "width: 50px;", 4, "ngIf"], ["style", "width: 40px;", 4, "ngIf"], [2, "width", "80px"], [2, "width", "120px"], ["pButton", "", "type", "button", "icon", "pi pi-eye", 1, "ui-button-raised", "ui-button-primary", 3, "click"], ["class", "row justify-content-between", 4, "ngFor", "ngForOf"], ["style", "width: 80px;", 4, "ngFor", "ngForOf"], [2, "width", "50px"], [1, "row", "justify-content-between"], [1, "col-lg-4"], ["for", ""], [3, "showModal", "articulo", "eventSelection"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2697
2654
|
ɵɵelementStart(0, "p-dialog", 0);
|
|
2698
2655
|
ɵɵlistener("visibleChange", function SeleccionaArticuloComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showArticulos = $event; })("onShow", function SeleccionaArticuloComponent_Template_p_dialog_onShow_0_listener() { return ctx.obtenerExistenciaArticulosShow(); })("onHide", function SeleccionaArticuloComponent_Template_p_dialog_onHide_0_listener() { ctx.busquedaArticulos = { tipoBusqueda: "" }; return ctx.emitirShowArticulos(); });
|
|
2699
2656
|
ɵɵpipe(1, "translate");
|
|
2700
2657
|
ɵɵelementStart(2, "div", 1);
|
|
2701
2658
|
ɵɵelementStart(3, "div", 2);
|
|
2702
2659
|
ɵɵelementStart(4, "div", 3);
|
|
2703
|
-
ɵɵelementStart(5, "
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
ɵɵelementStart(8, "option", 6);
|
|
2709
|
-
ɵɵtext(9, "Descripcion");
|
|
2660
|
+
ɵɵelementStart(5, "div", 4);
|
|
2661
|
+
ɵɵelementStart(6, "select", 5);
|
|
2662
|
+
ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_6_listener($event) { return ctx.busquedaArticulos.tipoBusqueda = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_6_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2663
|
+
ɵɵelementStart(7, "option", 6);
|
|
2664
|
+
ɵɵtext(8, "Codigo");
|
|
2710
2665
|
ɵɵelementEnd();
|
|
2711
|
-
ɵɵelementStart(
|
|
2712
|
-
ɵɵtext(
|
|
2666
|
+
ɵɵelementStart(9, "option", 7);
|
|
2667
|
+
ɵɵtext(10, "Descripcion");
|
|
2713
2668
|
ɵɵelementEnd();
|
|
2714
|
-
ɵɵelementStart(
|
|
2715
|
-
ɵɵtext(
|
|
2669
|
+
ɵɵelementStart(11, "option", 8);
|
|
2670
|
+
ɵɵtext(12, "Coincidencia");
|
|
2716
2671
|
ɵɵelementEnd();
|
|
2672
|
+
ɵɵelementStart(13, "option", 9);
|
|
2673
|
+
ɵɵtext(14, "Igual a");
|
|
2717
2674
|
ɵɵelementEnd();
|
|
2718
2675
|
ɵɵelementEnd();
|
|
2719
|
-
ɵɵelementStart(14, "div", 3);
|
|
2720
|
-
ɵɵelementStart(15, "div", 9);
|
|
2721
|
-
ɵɵelementStart(16, "input", 10);
|
|
2722
|
-
ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_16_listener($event) { return ctx.busquedaArticulos.key = $event; })("keypress", function SeleccionaArticuloComponent_Template_input_keypress_16_listener($event) { return ctx.obtenerExistenciaArticulosKey($event); });
|
|
2723
2676
|
ɵɵelementEnd();
|
|
2724
|
-
ɵɵelementStart(
|
|
2725
|
-
ɵɵlistener("
|
|
2726
|
-
ɵɵelement(18, "i", 12);
|
|
2677
|
+
ɵɵelementStart(15, "input", 10);
|
|
2678
|
+
ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_15_listener($event) { return ctx.busquedaArticulos.key = $event; })("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { return ctx.obtenerExistenciaArticulosKey($event); });
|
|
2727
2679
|
ɵɵelementEnd();
|
|
2680
|
+
ɵɵelementStart(16, "button", 11);
|
|
2681
|
+
ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { return ctx.obtenerExistenciaArticulos(); });
|
|
2728
2682
|
ɵɵelementEnd();
|
|
2729
2683
|
ɵɵelementEnd();
|
|
2730
|
-
ɵɵelementStart(19, "div", 13);
|
|
2731
|
-
ɵɵelementStart(20, "label", 14);
|
|
2732
|
-
ɵɵtext(21);
|
|
2733
|
-
ɵɵpipe(22, "translate");
|
|
2734
2684
|
ɵɵelementEnd();
|
|
2685
|
+
ɵɵelementStart(17, "div", 2);
|
|
2686
|
+
ɵɵelementStart(18, "div", 3);
|
|
2687
|
+
ɵɵelementStart(19, "div", 12);
|
|
2688
|
+
ɵɵelementStart(20, "label", 13);
|
|
2689
|
+
ɵɵtext(21, "Almacen:");
|
|
2735
2690
|
ɵɵelementEnd();
|
|
2736
|
-
ɵɵelementStart(23, "div", 15);
|
|
2737
|
-
ɵɵelementStart(24, "select", 16);
|
|
2738
|
-
ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_24_listener($event) { return ctx.movimiento.almacen = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_24_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2739
|
-
ɵɵtemplate(25, SeleccionaArticuloComponent_option_25_Template, 2, 2, "option", 17);
|
|
2740
2691
|
ɵɵelementEnd();
|
|
2692
|
+
ɵɵelementStart(22, "select", 14);
|
|
2693
|
+
ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { return ctx.movimiento.almacen = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2694
|
+
ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 15);
|
|
2741
2695
|
ɵɵelementEnd();
|
|
2742
2696
|
ɵɵelementEnd();
|
|
2743
2697
|
ɵɵelementEnd();
|
|
2744
|
-
ɵɵelementStart(26, "div", 18);
|
|
2745
|
-
ɵɵelementStart(27, "p-table", 19, 20);
|
|
2746
|
-
ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_27_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2747
|
-
ɵɵtemplate(29, SeleccionaArticuloComponent_ng_template_29_Template, 23, 9, "ng-template", 21);
|
|
2748
|
-
ɵɵtemplate(30, SeleccionaArticuloComponent_ng_template_30_Template, 24, 17, "ng-template", 22);
|
|
2749
2698
|
ɵɵelementEnd();
|
|
2699
|
+
ɵɵelementStart(24, "p-table", 16, 17);
|
|
2700
|
+
ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2701
|
+
ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18);
|
|
2702
|
+
ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2750
2703
|
ɵɵelementEnd();
|
|
2751
|
-
ɵɵelementStart(
|
|
2752
|
-
ɵɵlistener("onPageChange", function
|
|
2704
|
+
ɵɵelementStart(28, "p-paginator", 20);
|
|
2705
|
+
ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { return ctx.pagina($event); });
|
|
2753
2706
|
ɵɵelementEnd();
|
|
2754
2707
|
ɵɵelementEnd();
|
|
2755
|
-
ɵɵtemplate(
|
|
2708
|
+
ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2756
2709
|
} if (rf & 2) {
|
|
2757
|
-
ɵɵstyleMap(ɵɵpureFunction1(
|
|
2758
|
-
ɵɵpropertyInterpolate("header", ɵɵpipeBind1(1,
|
|
2710
|
+
ɵɵstyleMap(ɵɵpureFunction1(22, _c0$6, ctx.size + "px"));
|
|
2711
|
+
ɵɵpropertyInterpolate("header", ɵɵpipeBind1(1, 20, "Articulos"));
|
|
2759
2712
|
ɵɵproperty("visible", ctx.showArticulos)("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2760
|
-
ɵɵadvance(
|
|
2713
|
+
ɵɵadvance(6);
|
|
2761
2714
|
ɵɵproperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2762
|
-
ɵɵadvance(
|
|
2715
|
+
ɵɵadvance(9);
|
|
2763
2716
|
ɵɵproperty("ngModel", ctx.busquedaArticulos.key);
|
|
2764
|
-
ɵɵadvance(
|
|
2765
|
-
ɵɵtextInterpolate(ɵɵpipeBind1(22, 23, "Movimiento.movimientoDetalle.almacen"));
|
|
2766
|
-
ɵɵadvance(3);
|
|
2717
|
+
ɵɵadvance(7);
|
|
2767
2718
|
ɵɵproperty("ngModel", ctx.movimiento.almacen);
|
|
2768
2719
|
ɵɵadvance(1);
|
|
2769
2720
|
ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2770
|
-
ɵɵadvance(
|
|
2721
|
+
ɵɵadvance(1);
|
|
2771
2722
|
ɵɵproperty("value", ctx.articulosList)("scrollable", true)("responsive", true);
|
|
2772
2723
|
ɵɵadvance(4);
|
|
2773
|
-
ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", ɵɵpureFunction0(
|
|
2724
|
+
ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", ɵɵpureFunction0(24, _c1$3));
|
|
2774
2725
|
ɵɵadvance(1);
|
|
2775
2726
|
ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2776
|
-
} }, directives: [Dialog, SelectControlValueAccessor, NgControlStatus, NgModel, NgSelectOption, ɵangular_packages_forms_forms_x, DefaultValueAccessor, NgForOf, Table, PrimeTemplate, Paginator, NgIf, TranslateDirective, SelectableRow,
|
|
2727
|
+
} }, directives: [Dialog, SelectControlValueAccessor, InputText, NgControlStatus, NgModel, NgSelectOption, ɵangular_packages_forms_forms_x, DefaultValueAccessor, ButtonDirective, NgForOf, Table, PrimeTemplate, Paginator, NgIf, TranslateDirective, SelectableRow, SeleccionArticuloInformacionComponent], pipes: [TranslatePipe, CurrencyPipe, DecimalPipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] });
|
|
2777
2728
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2778
2729
|
type: Component,
|
|
2779
2730
|
args: [{
|
|
@@ -2810,7 +2761,7 @@ class AcreedorService extends CrudService {
|
|
|
2810
2761
|
}]
|
|
2811
2762
|
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2812
2763
|
|
|
2813
|
-
function
|
|
2764
|
+
function SelectAcreedorComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
2814
2765
|
ɵɵelementStart(0, "tr");
|
|
2815
2766
|
ɵɵelementStart(1, "th");
|
|
2816
2767
|
ɵɵtext(2);
|
|
@@ -2851,7 +2802,7 @@ function SelectAcreedorComponent_ng_template_13_Template(rf, ctx) { if (rf & 1)
|
|
|
2851
2802
|
ɵɵadvance(3);
|
|
2852
2803
|
ɵɵtextInterpolate(ɵɵpipeBind1(18, 16, "fechaUltimaCompra"));
|
|
2853
2804
|
} }
|
|
2854
|
-
function
|
|
2805
|
+
function SelectAcreedorComponent_ng_template_7_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
2855
2806
|
ɵɵelementStart(0, "span");
|
|
2856
2807
|
ɵɵtext(1);
|
|
2857
2808
|
ɵɵpipe(2, "translate");
|
|
@@ -2860,7 +2811,7 @@ function SelectAcreedorComponent_ng_template_14_span_6_Template(rf, ctx) { if (r
|
|
|
2860
2811
|
ɵɵadvance(1);
|
|
2861
2812
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, "moral"));
|
|
2862
2813
|
} }
|
|
2863
|
-
function
|
|
2814
|
+
function SelectAcreedorComponent_ng_template_7_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
2864
2815
|
ɵɵelementStart(0, "span");
|
|
2865
2816
|
ɵɵtext(1);
|
|
2866
2817
|
ɵɵpipe(2, "translate");
|
|
@@ -2869,8 +2820,8 @@ function SelectAcreedorComponent_ng_template_14_span_7_Template(rf, ctx) { if (r
|
|
|
2869
2820
|
ɵɵadvance(1);
|
|
2870
2821
|
ɵɵtextInterpolate(ɵɵpipeBind1(2, 1, "fisico"));
|
|
2871
2822
|
} }
|
|
2872
|
-
function
|
|
2873
|
-
ɵɵelementStart(0, "tr",
|
|
2823
|
+
function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
2824
|
+
ɵɵelementStart(0, "tr", 9);
|
|
2874
2825
|
ɵɵelementStart(1, "td");
|
|
2875
2826
|
ɵɵtext(2);
|
|
2876
2827
|
ɵɵelementEnd();
|
|
@@ -2878,8 +2829,8 @@ function SelectAcreedorComponent_ng_template_14_Template(rf, ctx) { if (rf & 1)
|
|
|
2878
2829
|
ɵɵtext(4);
|
|
2879
2830
|
ɵɵelementEnd();
|
|
2880
2831
|
ɵɵelementStart(5, "td");
|
|
2881
|
-
ɵɵtemplate(6,
|
|
2882
|
-
ɵɵtemplate(7,
|
|
2832
|
+
ɵɵtemplate(6, SelectAcreedorComponent_ng_template_7_span_6_Template, 3, 3, "span", 10);
|
|
2833
|
+
ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_span_7_Template, 3, 3, "span", 10);
|
|
2883
2834
|
ɵɵelementEnd();
|
|
2884
2835
|
ɵɵelementStart(8, "td");
|
|
2885
2836
|
ɵɵtext(9);
|
|
@@ -2910,7 +2861,7 @@ function SelectAcreedorComponent_ng_template_14_Template(rf, ctx) { if (rf & 1)
|
|
|
2910
2861
|
ɵɵadvance(2);
|
|
2911
2862
|
ɵɵtextInterpolate(ɵɵpipeBind2(14, 8, acreedor_r3.fechaUltimaCompra, "dd/MM/yyyy"));
|
|
2912
2863
|
} }
|
|
2913
|
-
function
|
|
2864
|
+
function SelectAcreedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
2914
2865
|
ɵɵelementStart(0, "tr");
|
|
2915
2866
|
ɵɵelementStart(1, "td");
|
|
2916
2867
|
ɵɵtext(2);
|
|
@@ -2964,52 +2915,38 @@ class SelectAcreedorComponent {
|
|
|
2964
2915
|
}
|
|
2965
2916
|
}
|
|
2966
2917
|
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(ɵɵdirectiveInject(AcreedorService), ɵɵdirectiveInject(PaginateService), ɵɵdirectiveInject(TranslateService)); };
|
|
2967
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵcmp = ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, decls:
|
|
2918
|
+
/** @nocollapse */ SelectAcreedorComponent.ɵcmp = ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 14, consts: [["header", "Selecciona el acreedor", 3, "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "responsive", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "pSelectableRow"], [4, "ngIf"]], template: function SelectAcreedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2968
2919
|
ɵɵelementStart(0, "p-dialog", 0);
|
|
2969
2920
|
ɵɵlistener("visibleChange", function SelectAcreedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectAcreedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectAcreedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2970
2921
|
ɵɵelementStart(1, "div", 1);
|
|
2971
|
-
ɵɵelementStart(2, "
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
ɵɵlistener("ngModelChange", function SelectAcreedorComponent_Template_input_ngModelChange_4_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectAcreedorComponent_Template_input_keyup_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2975
|
-
ɵɵpipe(5, "translate");
|
|
2976
|
-
ɵɵelementEnd();
|
|
2977
|
-
ɵɵelementStart(6, "div", 5);
|
|
2978
|
-
ɵɵelementStart(7, "button", 6);
|
|
2979
|
-
ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_7_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2980
|
-
ɵɵelement(8, "i", 7);
|
|
2981
|
-
ɵɵelementEnd();
|
|
2982
|
-
ɵɵelementEnd();
|
|
2983
|
-
ɵɵelementEnd();
|
|
2922
|
+
ɵɵelementStart(2, "input", 2);
|
|
2923
|
+
ɵɵlistener("ngModelChange", function SelectAcreedorComponent_Template_input_ngModelChange_2_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectAcreedorComponent_Template_input_keyup_2_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2924
|
+
ɵɵpipe(3, "translate");
|
|
2984
2925
|
ɵɵelementEnd();
|
|
2926
|
+
ɵɵelementStart(4, "button", 3);
|
|
2927
|
+
ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2985
2928
|
ɵɵelementEnd();
|
|
2986
|
-
ɵɵelement(9, "hr");
|
|
2987
|
-
ɵɵelementStart(10, "div", 1);
|
|
2988
|
-
ɵɵelementStart(11, "div", 8);
|
|
2989
|
-
ɵɵelementStart(12, "p-table", 9);
|
|
2990
|
-
ɵɵlistener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_12_listener($event) { return ctx.acreedorSeleccionado = $event; })("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_12_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
2991
|
-
ɵɵtemplate(13, SelectAcreedorComponent_ng_template_13_Template, 19, 18, "ng-template", 10);
|
|
2992
|
-
ɵɵtemplate(14, SelectAcreedorComponent_ng_template_14_Template, 15, 11, "ng-template", 11);
|
|
2993
|
-
ɵɵtemplate(15, SelectAcreedorComponent_ng_template_15_Template, 4, 4, "ng-template", 12);
|
|
2994
|
-
ɵɵelementEnd();
|
|
2995
|
-
ɵɵelementEnd();
|
|
2996
|
-
ɵɵelementStart(16, "div", 8);
|
|
2997
|
-
ɵɵelementStart(17, "p-paginator", 13);
|
|
2998
|
-
ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_17_listener($event) { return ctx.pagina($event); });
|
|
2999
2929
|
ɵɵelementEnd();
|
|
2930
|
+
ɵɵelementStart(5, "p-table", 4);
|
|
2931
|
+
ɵɵlistener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_5_listener($event) { return ctx.acreedorSeleccionado = $event; })("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_5_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
2932
|
+
ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
2933
|
+
ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
2934
|
+
ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
3000
2935
|
ɵɵelementEnd();
|
|
2936
|
+
ɵɵelementStart(9, "p-paginator", 8);
|
|
2937
|
+
ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
3001
2938
|
ɵɵelementEnd();
|
|
3002
2939
|
ɵɵelementEnd();
|
|
3003
2940
|
} if (rf & 2) {
|
|
3004
2941
|
ɵɵproperty("visible", ctx.visible);
|
|
3005
|
-
ɵɵadvance(
|
|
3006
|
-
ɵɵpropertyInterpolate1("placeholder", "", ɵɵpipeBind1(
|
|
2942
|
+
ɵɵadvance(2);
|
|
2943
|
+
ɵɵpropertyInterpolate1("placeholder", "", ɵɵpipeBind1(3, 11, "buscar"), "...");
|
|
3007
2944
|
ɵɵproperty("ngModel", ctx.page.filtro);
|
|
3008
|
-
ɵɵadvance(
|
|
2945
|
+
ɵɵadvance(3);
|
|
3009
2946
|
ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true)("responsive", true);
|
|
3010
|
-
ɵɵadvance(
|
|
2947
|
+
ɵɵadvance(4);
|
|
3011
2948
|
ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", ɵɵpureFunction0(13, _c0$7));
|
|
3012
|
-
} }, directives: [Dialog, DefaultValueAccessor, NgControlStatus, NgModel, Table, PrimeTemplate, Paginator, SelectableRow, NgIf], pipes: [TranslatePipe, DatePipe], encapsulation: 2 });
|
|
2949
|
+
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, Paginator, SelectableRow, NgIf], pipes: [TranslatePipe, DatePipe], encapsulation: 2 });
|
|
3013
2950
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
3014
2951
|
type: Component,
|
|
3015
2952
|
args: [{
|