visorus-erp-core 15.0.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/lib/app.module.mjs +19 -19
- package/esm2022/lib/components/acreedor/select/select-acreedor.component.mjs +205 -0
- package/{esm2020 → esm2022}/lib/components/acreedor/services/acreedor.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/acreedor/services/acreedorCuentaContable.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/agente/services/agente.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/almacen/services/almacen.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/banco/services/banco.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/caja/session-create/session-create.component.mjs +18 -18
- package/{esm2020 → esm2022}/lib/components/caja/sessionCaja.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/catalogoTipo/services/catalogoTipo.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/clasificadorTipo/services/clasificadorTipo.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/claveMovimiento/services/claveMovimiento.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/cliente/select/select-cliente.component.mjs +29 -29
- package/{esm2020 → esm2022}/lib/components/cliente/services/cliente.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/cliente/services/clienteCuentaBanco.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/cliente/services/clienteFlete.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/contacto/services/datoContacto.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/dato-direccion/services/datoDireccion.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/departamento/services/departamento.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/empresa/services/empresa.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/error404/error404.component.mjs +10 -10
- package/{esm2020 → esm2022}/lib/components/flete/services/flete.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/formaPago/services/FormaPago.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/loading/loading.component.mjs +18 -18
- package/{esm2020 → esm2022}/lib/components/loading/loading.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/loading-screen/loading-screen.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/loading-screen/loading-screen.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/login-modal/login-modal.component.mjs +15 -15
- package/{esm2020 → esm2022}/lib/components/login-modal/login-modal.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/moneda/services/moneda.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/pdfModal/pdf-modal.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/components/pdfModal/pdf-modal.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/persona-fisica/services/personaFisica.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/proveedor/select/select-proveedor.component.mjs +32 -32
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedor.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedorCuentaBanco.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedorFlete.service.mjs +3 -3
- package/esm2022/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +148 -0
- package/{esm2020 → esm2022}/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.mjs +3 -3
- package/esm2022/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +493 -0
- package/{esm2020 → esm2022}/lib/components/selecciona-articulo/stock.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/serieDocumento/services/serieDocumento.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/tipo-contacto/services/tipoContacto.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/ubicacion/services/ubicacion.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/contabilidad/componentes/cclista/cclista.component.mjs +16 -16
- package/{esm2020 → esm2022}/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.mjs +21 -21
- package/{esm2020 → esm2022}/lib/contabilidad/servicios/cuentacontable.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/httpInterceptor/httpInterceptor.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/auth.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/authenticated.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/canActivateGuard.service.ts.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/catalogo-adicional.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/controlAcceso.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/file.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/init.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/message.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/paginate.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/personaMoral.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/versionCheck.service.mjs +3 -3
- package/esm2022/lib/utils/tipo_catalogo.ts.mjs +5 -0
- package/{fesm2020 → fesm2022}/visorus-erp-core.mjs +421 -416
- package/fesm2022/visorus-erp-core.mjs.map +1 -0
- package/lib/app.module.d.ts +1 -1
- package/lib/components/acreedor/select/select-acreedor.component.d.ts +1 -1
- package/lib/components/caja/session-create/session-create.component.d.ts +1 -1
- package/lib/components/cliente/select/select-cliente.component.d.ts +1 -1
- package/lib/components/loading/loading.component.d.ts +1 -1
- package/lib/components/loading-screen/loading-screen.component.d.ts +1 -1
- package/lib/components/proveedor/select/select-proveedor.component.d.ts +1 -1
- package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts +1 -1
- package/lib/components/selecciona-articulo/selecciona-articulo.component.d.ts +1 -1
- package/lib/contabilidad/componentes/cclista/cclista.component.d.ts +1 -1
- package/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.d.ts +1 -1
- package/package.json +13 -19
- package/esm2020/lib/components/acreedor/select/select-acreedor.component.mjs +0 -205
- package/esm2020/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +0 -143
- package/esm2020/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +0 -493
- package/esm2020/lib/utils/tipo_catalogo.ts.mjs +0 -5
- package/fesm2015/visorus-erp-core.mjs +0 -4063
- package/fesm2015/visorus-erp-core.mjs.map +0 -1
- package/fesm2020/visorus-erp-core.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/components/agente/models/Agente.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/almacen/models/Almacen.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/banco/models/Banco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/catalogoTipo/models/CatalogoTipo.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/clasificadorTipo/models/ClasificadorTipo.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/claveMovimiento/models/ClaveMovimiento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/Cliente.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/ClienteCuentaBanco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/ClienteFlete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/contacto/models/DatoContacto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/dato-direccion/models/DatoDireccion.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/departamento/models/Departamento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/empresa/models/Empresa.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/flete/models/Flete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/formaPago/models/FormaPago.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/moneda/models/Moneda.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/EstadoCivil.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/Genero.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/Persona.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/PersonaFisica.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/Proveedor.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/ProveedorCuentaBanco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/ProveedorFlete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/serieDocumento/models/SerieDocumento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tipo-contacto/models/TipoContacto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/ubicacion/models/Ubicacion.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/contabilidad/modelos/cuentaContable.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/contabilidad/modelos/normaInfoFinanciera.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/globalPrimeNg.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/importComponents.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/importComponetsConta.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/PersonaMoral.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/Usuario.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/auth.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/crud.service.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/global.service.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/visorus-erp-core.mjs +0 -0
|
@@ -6,15 +6,15 @@ import * as i4 from '@angular/common';
|
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import * as i3 from 'primeng/api';
|
|
8
8
|
import { ConfirmationService } from 'primeng/api';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i19 from 'primeng/treetable';
|
|
10
10
|
import { TreeTableModule } from 'primeng/treetable';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i21 from 'primeng/button';
|
|
12
12
|
import { ButtonModule } from 'primeng/button';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i22 from 'primeng/inputtext';
|
|
14
14
|
import { InputTextModule } from 'primeng/inputtext';
|
|
15
15
|
import * as i10 from '@angular/forms';
|
|
16
16
|
import { FormsModule } from '@angular/forms';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i33 from 'primeng/dialog';
|
|
18
18
|
import { DialogModule } from 'primeng/dialog';
|
|
19
19
|
import { Subject, throwError, of } from 'rxjs';
|
|
20
20
|
import { catchError, tap, debounceTime } from 'rxjs/operators';
|
|
@@ -23,9 +23,9 @@ import { ToastrModule } from 'ngx-toastr';
|
|
|
23
23
|
import * as i3$1 from '@ngx-translate/core';
|
|
24
24
|
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
25
25
|
import * as i3$2 from '@angular/platform-browser';
|
|
26
|
-
import * as
|
|
26
|
+
import * as i18 from 'primeng/table';
|
|
27
27
|
import { TableModule } from 'primeng/table';
|
|
28
|
-
import * as
|
|
28
|
+
import * as i27 from 'primeng/paginator';
|
|
29
29
|
import { PaginatorModule } from 'primeng/paginator';
|
|
30
30
|
import * as i23 from 'primeng/dropdown';
|
|
31
31
|
import { DropdownModule } from 'primeng/dropdown';
|
|
@@ -184,9 +184,9 @@ class CuentaContableService extends CrudService {
|
|
|
184
184
|
obtieneCuentasContablesRecursivo() {
|
|
185
185
|
return this.httpClient.get(this.getUrl('cuentaContable') + '/obtieneCuentasContablesRecursivo', this.buildAuth());
|
|
186
186
|
}
|
|
187
|
+
/** @nocollapse */ static { this.ɵfac = function CuentaContableService_Factory(t) { return new (t || CuentaContableService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
188
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CuentaContableService, factory: CuentaContableService.ɵfac, providedIn: 'root' }); }
|
|
187
189
|
}
|
|
188
|
-
/** @nocollapse */ CuentaContableService.ɵfac = function CuentaContableService_Factory(t) { return new (t || CuentaContableService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
189
|
-
/** @nocollapse */ CuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CuentaContableService, factory: CuentaContableService.ɵfac, providedIn: 'root' });
|
|
190
190
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CuentaContableService, [{
|
|
191
191
|
type: Injectable,
|
|
192
192
|
args: [{
|
|
@@ -419,22 +419,22 @@ class CclistaComponent {
|
|
|
419
419
|
return listAccounts;
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
+
/** @nocollapse */ static { this.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(i0.ɵɵdirectiveInject(CuentaContableService)); }; }
|
|
423
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CclistaComponent, selectors: [["lib-cclista"]], inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 5, vars: 8, consts: [["type", "text", "pInputText", "", "placeholder", "Cuenta o descripci\u00F3n", 2, "width", "100%", 3, "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) {
|
|
424
|
+
i0.ɵɵelementStart(0, "input", 0);
|
|
425
|
+
i0.ɵɵlistener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_0_listener($event) { return ctx.query = $event; })("keyup", function CclistaComponent_Template_input_keyup_0_listener($event) { return ctx.filterAccounts($event); });
|
|
426
|
+
i0.ɵɵelementEnd();
|
|
427
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "p-treeTable", 2);
|
|
428
|
+
i0.ɵɵtemplate(3, CclistaComponent_ng_template_3_Template, 11, 0, "ng-template", 3);
|
|
429
|
+
i0.ɵɵtemplate(4, CclistaComponent_ng_template_4_Template, 14, 7, "ng-template", 4);
|
|
430
|
+
i0.ɵɵelementEnd()();
|
|
431
|
+
} if (rf & 2) {
|
|
432
|
+
i0.ɵɵproperty("ngModel", ctx.query);
|
|
433
|
+
i0.ɵɵadvance(2);
|
|
434
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0$7));
|
|
435
|
+
i0.ɵɵproperty("value", ctx.cuentasContables ? ctx.cuentasContables : ctx.tempAccounts)("scrollable", true)("scrollHeight", ctx.maxH + "px")("resizableColumns", true);
|
|
436
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i19.TreeTable, i19.TreeTableToggler, i21.ButtonDirective, i22.InputText, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel] }); }
|
|
422
437
|
}
|
|
423
|
-
/** @nocollapse */ CclistaComponent.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(i0.ɵɵdirectiveInject(CuentaContableService)); };
|
|
424
|
-
/** @nocollapse */ CclistaComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CclistaComponent, selectors: [["lib-cclista"]], inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 5, vars: 8, consts: [["type", "text", "pInputText", "", "placeholder", "Cuenta o descripci\u00F3n", 2, "width", "100%", 3, "ngModel", "ngModelChange", "keyup"], [2, "padding", "10px"], [3, "value", "scrollable", "scrollHeight", "resizableColumns"], ["pTemplate", "header"], ["pTemplate", "body", "style", "width: 100%;"], [2, "width", "150px"], [2, "width", "90px"], [2, "width", "60px"], [2, "width", "200px"], [1, "ui-resizable-column", 2, "width", "150px"], [3, "rowNode"], [1, "ui-resizable-column", 2, "width", "90px"], [1, "ui-resizable-column", 2, "width", "60px"], [1, "ui-resizable-column", 2, "width", "200px"], [1, "button-row"], ["pButton", "", "type", "button", "icon", "pi pi-check", "class", "ui-button-raised ui-button-success", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "icon", "pi pi-check", 1, "ui-button-raised", "ui-button-success", 3, "click"]], template: function CclistaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
425
|
-
i0.ɵɵelementStart(0, "input", 0);
|
|
426
|
-
i0.ɵɵlistener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_0_listener($event) { return ctx.query = $event; })("keyup", function CclistaComponent_Template_input_keyup_0_listener($event) { return ctx.filterAccounts($event); });
|
|
427
|
-
i0.ɵɵelementEnd();
|
|
428
|
-
i0.ɵɵelementStart(1, "div", 1)(2, "p-treeTable", 2);
|
|
429
|
-
i0.ɵɵtemplate(3, CclistaComponent_ng_template_3_Template, 11, 0, "ng-template", 3);
|
|
430
|
-
i0.ɵɵtemplate(4, CclistaComponent_ng_template_4_Template, 14, 7, "ng-template", 4);
|
|
431
|
-
i0.ɵɵelementEnd()();
|
|
432
|
-
} if (rf & 2) {
|
|
433
|
-
i0.ɵɵproperty("ngModel", ctx.query);
|
|
434
|
-
i0.ɵɵadvance(2);
|
|
435
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0$7));
|
|
436
|
-
i0.ɵɵproperty("value", ctx.cuentasContables ? ctx.cuentasContables : ctx.tempAccounts)("scrollable", true)("scrollHeight", ctx.maxH + "px")("resizableColumns", true);
|
|
437
|
-
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i4$1.TreeTable, i4$1.TreeTableToggler, i6.ButtonDirective, i7.InputText, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel] });
|
|
438
438
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CclistaComponent, [{
|
|
439
439
|
type: Component,
|
|
440
440
|
args: [{ selector: 'lib-cclista', template: "<input type=\"text\" style=\"width: 100%;\" pInputText placeholder=\"Cuenta o descripci\u00F3n\" [(ngModel)]=\"query\" (keyup)=\"filterAccounts($event)\">\n\n<div style=\"padding: 10px;\">\n <p-treeTable [value]=\"cuentasContables?cuentasContables:tempAccounts\" [scrollable]=\"true\" [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" [resizableColumns]=\"true\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 150px;\">Cuenta contable</th>\n <th style=\"width: 150px;\">Descripci\u00F3n</th>\n <th style=\"width: 90px;\">Naturaleza</th>\n <th style=\"width: 60px;\">Tipo</th>\n <th style=\"width: 200px;\">Acciones</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" style=\"width: 100%;\">\n <tr>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n <p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n {{rowData.cuentaContable}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n {{rowData.descripcion}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 90px;\">\n {{rowData.naturaleza}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 60px;\">\n {{rowData.tipo}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 200px;\">\n <div class=\"button-row\">\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==1 && rowData.cuentaRegistro\"></button>\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==2 && !rowData.cuentaRegistro\"></button>\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
|
|
@@ -469,27 +469,27 @@ class CcseleccionDialogComponent {
|
|
|
469
469
|
hiddenDialog(evt) {
|
|
470
470
|
this.evSelectedAccount.emit(null);
|
|
471
471
|
}
|
|
472
|
+
/** @nocollapse */ static { this.ɵfac = function CcseleccionDialogComponent_Factory(t) { return new (t || CcseleccionDialogComponent)(); }; }
|
|
473
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CcseleccionDialogComponent, selectors: [["lib-ccseleccion-dialog"]], viewQuery: function CcseleccionDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
474
|
+
i0.ɵɵviewQuery(_c0$6, 7);
|
|
475
|
+
} if (rf & 2) {
|
|
476
|
+
let _t;
|
|
477
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialog = _t.first);
|
|
478
|
+
} }, inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 3, vars: 17, consts: [["header", "Selecciona cuenta contable", 3, "visible", "modal", "minY", "baseZIndex", "blockScroll", "draggable", "maximizable", "visibleChange", "onHide"], [1, "padding10", 3, "ngStyle"], [3, "isShared", "typeAccount", "evSelectedAccount"]], template: function CcseleccionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
479
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
480
|
+
i0.ɵɵlistener("visibleChange", function CcseleccionDialogComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.displayShowCuentas = $event; })("onHide", function CcseleccionDialogComponent_Template_p_dialog_onHide_0_listener($event) { return ctx.hiddenDialog($event); });
|
|
481
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "lib-cclista", 2);
|
|
482
|
+
i0.ɵɵlistener("evSelectedAccount", function CcseleccionDialogComponent_Template_lib_cclista_evSelectedAccount_2_listener($event) { return ctx.getAccount($event); });
|
|
483
|
+
i0.ɵɵelementEnd()()();
|
|
484
|
+
} if (rf & 2) {
|
|
485
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(13, _c1$3, ctx.size + "px"));
|
|
486
|
+
i0.ɵɵproperty("visible", ctx.displayShowCuentas)("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
487
|
+
i0.ɵɵadvance(1);
|
|
488
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
|
|
489
|
+
i0.ɵɵadvance(1);
|
|
490
|
+
i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
|
|
491
|
+
} }, dependencies: [i4.NgStyle, i33.Dialog, CclistaComponent] }); }
|
|
472
492
|
}
|
|
473
|
-
/** @nocollapse */ CcseleccionDialogComponent.ɵfac = function CcseleccionDialogComponent_Factory(t) { return new (t || CcseleccionDialogComponent)(); };
|
|
474
|
-
/** @nocollapse */ CcseleccionDialogComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CcseleccionDialogComponent, selectors: [["lib-ccseleccion-dialog"]], viewQuery: function CcseleccionDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
475
|
-
i0.ɵɵviewQuery(_c0$6, 7);
|
|
476
|
-
} if (rf & 2) {
|
|
477
|
-
let _t;
|
|
478
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialog = _t.first);
|
|
479
|
-
} }, inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 3, vars: 17, consts: [["header", "Selecciona cuenta contable", 3, "visible", "modal", "minY", "baseZIndex", "blockScroll", "draggable", "maximizable", "visibleChange", "onHide"], [1, "padding10", 3, "ngStyle"], [3, "isShared", "typeAccount", "evSelectedAccount"]], template: function CcseleccionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
480
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
481
|
-
i0.ɵɵlistener("visibleChange", function CcseleccionDialogComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.displayShowCuentas = $event; })("onHide", function CcseleccionDialogComponent_Template_p_dialog_onHide_0_listener($event) { return ctx.hiddenDialog($event); });
|
|
482
|
-
i0.ɵɵelementStart(1, "div", 1)(2, "lib-cclista", 2);
|
|
483
|
-
i0.ɵɵlistener("evSelectedAccount", function CcseleccionDialogComponent_Template_lib_cclista_evSelectedAccount_2_listener($event) { return ctx.getAccount($event); });
|
|
484
|
-
i0.ɵɵelementEnd()()();
|
|
485
|
-
} if (rf & 2) {
|
|
486
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(13, _c1$3, ctx.size + "px"));
|
|
487
|
-
i0.ɵɵproperty("visible", ctx.displayShowCuentas)("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
488
|
-
i0.ɵɵadvance(1);
|
|
489
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
|
|
490
|
-
i0.ɵɵadvance(1);
|
|
491
|
-
i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
|
|
492
|
-
} }, dependencies: [i4.NgStyle, i11.Dialog, CclistaComponent] });
|
|
493
493
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcseleccionDialogComponent, [{
|
|
494
494
|
type: Component,
|
|
495
495
|
args: [{ selector: 'lib-ccseleccion-dialog', template: "<p-dialog header=\"Selecciona cuenta contable\" [(visible)]=\"displayShowCuentas\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog($event)\" [blockScroll]=\"true\" [draggable]=\"false\" [blockScroll]=\"true\"\n [maximizable]=\"true\">\n <div class=\"padding10\" [ngStyle]=\"{'height': maxH+200+'px'}\">\n <lib-cclista [isShared]=\"true\" [typeAccount]=\"tipoCuenta\" (evSelectedAccount)=\"getAccount($event)\"></lib-cclista>\n </div>\n</p-dialog>" }]
|
|
@@ -516,9 +516,9 @@ class LoginModalService {
|
|
|
516
516
|
showModal() {
|
|
517
517
|
this.modal.emit(true);
|
|
518
518
|
}
|
|
519
|
+
/** @nocollapse */ static { this.ɵfac = function LoginModalService_Factory(t) { return new (t || LoginModalService)(); }; }
|
|
520
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoginModalService, factory: LoginModalService.ɵfac, providedIn: 'root' }); }
|
|
519
521
|
}
|
|
520
|
-
/** @nocollapse */ LoginModalService.ɵfac = function LoginModalService_Factory(t) { return new (t || LoginModalService)(); };
|
|
521
|
-
/** @nocollapse */ LoginModalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoginModalService, factory: LoginModalService.ɵfac, providedIn: 'root' });
|
|
522
522
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalService, [{
|
|
523
523
|
type: Injectable,
|
|
524
524
|
args: [{
|
|
@@ -546,9 +546,9 @@ class LoadingScreenService {
|
|
|
546
546
|
stopLoading() {
|
|
547
547
|
this.loading = false;
|
|
548
548
|
}
|
|
549
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingScreenService_Factory(t) { return new (t || LoadingScreenService)(); }; }
|
|
550
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingScreenService, factory: LoadingScreenService.ɵfac, providedIn: 'root' }); }
|
|
549
551
|
}
|
|
550
|
-
/** @nocollapse */ LoadingScreenService.ɵfac = function LoadingScreenService_Factory(t) { return new (t || LoadingScreenService)(); };
|
|
551
|
-
/** @nocollapse */ LoadingScreenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingScreenService, factory: LoadingScreenService.ɵfac, providedIn: 'root' });
|
|
552
552
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenService, [{
|
|
553
553
|
type: Injectable,
|
|
554
554
|
args: [{
|
|
@@ -629,9 +629,9 @@ class httpInterceptor {
|
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
|
+
/** @nocollapse */ static { this.ɵfac = function httpInterceptor_Factory(t) { return new (t || httpInterceptor)(i0.ɵɵinject(LoginModalService), i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(LoadingScreenService)); }; }
|
|
633
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: httpInterceptor, factory: httpInterceptor.ɵfac }); }
|
|
632
634
|
}
|
|
633
|
-
/** @nocollapse */ httpInterceptor.ɵfac = function httpInterceptor_Factory(t) { return new (t || httpInterceptor)(i0.ɵɵinject(LoginModalService), i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(LoadingScreenService)); };
|
|
634
|
-
/** @nocollapse */ httpInterceptor.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: httpInterceptor, factory: httpInterceptor.ɵfac });
|
|
635
635
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(httpInterceptor, [{
|
|
636
636
|
type: Injectable
|
|
637
637
|
}], function () { return [{ type: LoginModalService }, { type: i1$1.ToastrService }, { type: LoadingScreenService }]; }, null); })();
|
|
@@ -640,16 +640,16 @@ class Error404Component {
|
|
|
640
640
|
constructor() { }
|
|
641
641
|
ngOnInit() {
|
|
642
642
|
}
|
|
643
|
+
/** @nocollapse */ static { this.ɵfac = function Error404Component_Factory(t) { return new (t || Error404Component)(); }; }
|
|
644
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: Error404Component, selectors: [["app-error404"]], decls: 9, vars: 0, consts: [[1, "col-md-12", "sec_sof"], [1, "row"], [1, "col", "col-center"], [1, "center"], [1, "error"], [1, "col-12"]], template: function Error404Component_Template(rf, ctx) { if (rf & 1) {
|
|
645
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
646
|
+
i0.ɵɵtext(5, " Error 404 ");
|
|
647
|
+
i0.ɵɵelementEnd();
|
|
648
|
+
i0.ɵɵelementStart(6, "div", 5)(7, "p");
|
|
649
|
+
i0.ɵɵtext(8, "La pagina solicitada no fue encontrada");
|
|
650
|
+
i0.ɵɵelementEnd()()()()()();
|
|
651
|
+
} }, styles: [".error[_ngcontent-%COMP%]{font-size:70px}"] }); }
|
|
643
652
|
}
|
|
644
|
-
/** @nocollapse */ Error404Component.ɵfac = function Error404Component_Factory(t) { return new (t || Error404Component)(); };
|
|
645
|
-
/** @nocollapse */ Error404Component.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: Error404Component, selectors: [["app-error404"]], decls: 9, vars: 0, consts: [[1, "col-md-12", "sec_sof"], [1, "row"], [1, "col", "col-center"], [1, "center"], [1, "error"], [1, "col-12"]], template: function Error404Component_Template(rf, ctx) { if (rf & 1) {
|
|
646
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
647
|
-
i0.ɵɵtext(5, " Error 404 ");
|
|
648
|
-
i0.ɵɵelementEnd();
|
|
649
|
-
i0.ɵɵelementStart(6, "div", 5)(7, "p");
|
|
650
|
-
i0.ɵɵtext(8, "La pagina solicitada no fue encontrada");
|
|
651
|
-
i0.ɵɵelementEnd()()()()()();
|
|
652
|
-
} }, styles: [".error[_ngcontent-%COMP%]{font-size:70px}"] });
|
|
653
653
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Error404Component, [{
|
|
654
654
|
type: Component,
|
|
655
655
|
args: [{ selector: 'app-error404', template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }]
|
|
@@ -671,9 +671,9 @@ class LoadingService {
|
|
|
671
671
|
stop() {
|
|
672
672
|
this.loading.emit(false);
|
|
673
673
|
}
|
|
674
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingService_Factory(t) { return new (t || LoadingService)(); }; }
|
|
675
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: 'root' }); }
|
|
674
676
|
}
|
|
675
|
-
/** @nocollapse */ LoadingService.ɵfac = function LoadingService_Factory(t) { return new (t || LoadingService)(); };
|
|
676
|
-
/** @nocollapse */ LoadingService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: 'root' });
|
|
677
677
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
678
678
|
type: Injectable,
|
|
679
679
|
args: [{
|
|
@@ -701,24 +701,24 @@ class LoadingComponent {
|
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
705
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["loading"]], inputs: { logo_loading: "logo_loading" }, decls: 14, vars: 4, consts: [["id", "modal_loading", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalScrollableTitle", "data-backdrop", "static", "data-keyboard", "false", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-scrollable"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], [1, "col-lg-4", "col-md-4", "col-sm-10"], [1, "loader"], [1, "box"], [1, "code"], ["width", "200px", 3, "src"], [1, "txt"]], template: function LoadingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
706
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6);
|
|
707
|
+
i0.ɵɵelement(7, "span", 7)(8, "span", 7);
|
|
708
|
+
i0.ɵɵelementStart(9, "div", 8);
|
|
709
|
+
i0.ɵɵelement(10, "img", 9);
|
|
710
|
+
i0.ɵɵelementEnd();
|
|
711
|
+
i0.ɵɵelementStart(11, "span", 10);
|
|
712
|
+
i0.ɵɵtext(12);
|
|
713
|
+
i0.ɵɵpipe(13, "translate");
|
|
714
|
+
i0.ɵɵelementEnd()()()()()()()();
|
|
715
|
+
} if (rf & 2) {
|
|
716
|
+
i0.ɵɵadvance(10);
|
|
717
|
+
i0.ɵɵpropertyInterpolate("src", ctx.logo_loading, i0.ɵɵsanitizeUrl);
|
|
718
|
+
i0.ɵɵadvance(2);
|
|
719
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 2, "cargando"), "...");
|
|
720
|
+
} }, dependencies: [i3$1.TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:_ngcontent-%COMP%_a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:_ngcontent-%COMP%_b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:_ngcontent-%COMP%_c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:_ngcontent-%COMP%_d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes _ngcontent-%COMP%_a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes _ngcontent-%COMP%_b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes _ngcontent-%COMP%_c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes _ngcontent-%COMP%_d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}.modal[_ngcontent-%COMP%]{z-index:2050!important}.modal-content[_ngcontent-%COMP%]{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body[_ngcontent-%COMP%]{margin-left:-7%!important}"] }); }
|
|
704
721
|
}
|
|
705
|
-
/** @nocollapse */ LoadingComponent.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); };
|
|
706
|
-
/** @nocollapse */ LoadingComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["loading"]], inputs: { logo_loading: "logo_loading" }, decls: 14, vars: 4, consts: [["id", "modal_loading", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalScrollableTitle", "data-backdrop", "static", "data-keyboard", "false", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-scrollable"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], [1, "col-lg-4", "col-md-4", "col-sm-10"], [1, "loader"], [1, "box"], [1, "code"], ["width", "200px", 3, "src"], [1, "txt"]], template: function LoadingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
707
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6);
|
|
708
|
-
i0.ɵɵelement(7, "span", 7)(8, "span", 7);
|
|
709
|
-
i0.ɵɵelementStart(9, "div", 8);
|
|
710
|
-
i0.ɵɵelement(10, "img", 9);
|
|
711
|
-
i0.ɵɵelementEnd();
|
|
712
|
-
i0.ɵɵelementStart(11, "span", 10);
|
|
713
|
-
i0.ɵɵtext(12);
|
|
714
|
-
i0.ɵɵpipe(13, "translate");
|
|
715
|
-
i0.ɵɵelementEnd()()()()()()()();
|
|
716
|
-
} if (rf & 2) {
|
|
717
|
-
i0.ɵɵadvance(10);
|
|
718
|
-
i0.ɵɵpropertyInterpolate("src", ctx.logo_loading, i0.ɵɵsanitizeUrl);
|
|
719
|
-
i0.ɵɵadvance(2);
|
|
720
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 2, "cargando"), "...");
|
|
721
|
-
} }, dependencies: [i3$1.TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:_ngcontent-%COMP%_a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:_ngcontent-%COMP%_b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:_ngcontent-%COMP%_c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:_ngcontent-%COMP%_d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes _ngcontent-%COMP%_a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes _ngcontent-%COMP%_b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes _ngcontent-%COMP%_c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes _ngcontent-%COMP%_d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}.modal[_ngcontent-%COMP%]{z-index:2050!important}.modal-content[_ngcontent-%COMP%]{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body[_ngcontent-%COMP%]{margin-left:-7%!important}"] });
|
|
722
722
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
723
723
|
type: Component,
|
|
724
724
|
args: [{ selector: 'loading', template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
|
|
@@ -749,13 +749,13 @@ class LoadingScreenComponent {
|
|
|
749
749
|
ngOnDestroy() {
|
|
750
750
|
this.loadingSubscription.unsubscribe();
|
|
751
751
|
}
|
|
752
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingScreenComponent_Factory(t) { return new (t || LoadingScreenComponent)(i0.ɵɵdirectiveInject(LoadingScreenService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
753
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingScreenComponent, selectors: [["app-loading-screen"]], inputs: { logo_loading: "logo_loading" }, decls: 10, vars: 0, consts: [[1, "loading-screen-wrapper"], [1, "loading-screen-icon"], [1, "blobs"], [1, "blob-center"], [1, "blob"]], template: function LoadingScreenComponent_Template(rf, ctx) { if (rf & 1) {
|
|
754
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
755
|
+
i0.ɵɵelement(3, "div", 3)(4, "div", 4)(5, "div", 4)(6, "div", 4)(7, "div", 4)(8, "div", 4)(9, "div", 4);
|
|
756
|
+
i0.ɵɵelementEnd()()();
|
|
757
|
+
} }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg[_ngcontent-%COMP%]{display:none}.blobs[_ngcontent-%COMP%]{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs[_ngcontent-%COMP%] .blob-center[_ngcontent-%COMP%]{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:_ngcontent-%COMP%_blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob[_ngcontent-%COMP%]{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:_ngcontent-%COMP%_blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob[_ngcontent-%COMP%]:nth-child(1){animation-delay:.2s}.blob[_ngcontent-%COMP%]:nth-child(2){animation-delay:.4s}.blob[_ngcontent-%COMP%]:nth-child(3){animation-delay:.6s}.blob[_ngcontent-%COMP%]:nth-child(4){animation-delay:.8s}.blob[_ngcontent-%COMP%]:nth-child(5){animation-delay:1s}@keyframes _ngcontent-%COMP%_blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes _ngcontent-%COMP%_blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}"] }); }
|
|
752
758
|
}
|
|
753
|
-
/** @nocollapse */ LoadingScreenComponent.ɵfac = function LoadingScreenComponent_Factory(t) { return new (t || LoadingScreenComponent)(i0.ɵɵdirectiveInject(LoadingScreenService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
754
|
-
/** @nocollapse */ LoadingScreenComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingScreenComponent, selectors: [["app-loading-screen"]], inputs: { logo_loading: "logo_loading" }, decls: 10, vars: 0, consts: [[1, "loading-screen-wrapper"], [1, "loading-screen-icon"], [1, "blobs"], [1, "blob-center"], [1, "blob"]], template: function LoadingScreenComponent_Template(rf, ctx) { if (rf & 1) {
|
|
755
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
756
|
-
i0.ɵɵelement(3, "div", 3)(4, "div", 4)(5, "div", 4)(6, "div", 4)(7, "div", 4)(8, "div", 4)(9, "div", 4);
|
|
757
|
-
i0.ɵɵelementEnd()()();
|
|
758
|
-
} }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg[_ngcontent-%COMP%]{display:none}.blobs[_ngcontent-%COMP%]{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs[_ngcontent-%COMP%] .blob-center[_ngcontent-%COMP%]{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:_ngcontent-%COMP%_blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob[_ngcontent-%COMP%]{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:_ngcontent-%COMP%_blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob[_ngcontent-%COMP%]:nth-child(1){animation-delay:.2s}.blob[_ngcontent-%COMP%]:nth-child(2){animation-delay:.4s}.blob[_ngcontent-%COMP%]:nth-child(3){animation-delay:.6s}.blob[_ngcontent-%COMP%]:nth-child(4){animation-delay:.8s}.blob[_ngcontent-%COMP%]:nth-child(5){animation-delay:1s}@keyframes _ngcontent-%COMP%_blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes _ngcontent-%COMP%_blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}"] });
|
|
759
759
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenComponent, [{
|
|
760
760
|
type: Component,
|
|
761
761
|
args: [{ selector: 'app-loading-screen', template: "<div class=\"loading-screen-wrapper\">\n <div class=\"loading-screen-icon\">\n <div class=\"blobs\">\n <div class=\"blob-center\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n </div> \n </div>\n</div>\n", styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs .blob-center{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob:nth-child(1){animation-delay:.2s}.blob:nth-child(2){animation-delay:.4s}.blob:nth-child(3){animation-delay:.6s}.blob:nth-child(4){animation-delay:.8s}.blob:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}\n"] }]
|
|
@@ -776,9 +776,9 @@ class PdfModalService {
|
|
|
776
776
|
this.html = html;
|
|
777
777
|
this.print.emit(true);
|
|
778
778
|
}
|
|
779
|
+
/** @nocollapse */ static { this.ɵfac = function PdfModalService_Factory(t) { return new (t || PdfModalService)(); }; }
|
|
780
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PdfModalService, factory: PdfModalService.ɵfac, providedIn: 'root' }); }
|
|
779
781
|
}
|
|
780
|
-
/** @nocollapse */ PdfModalService.ɵfac = function PdfModalService_Factory(t) { return new (t || PdfModalService)(); };
|
|
781
|
-
/** @nocollapse */ PdfModalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PdfModalService, factory: PdfModalService.ɵfac, providedIn: 'root' });
|
|
782
782
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalService, [{
|
|
783
783
|
type: Injectable,
|
|
784
784
|
args: [{
|
|
@@ -842,9 +842,9 @@ class FileService {
|
|
|
842
842
|
base64ToFileDowload(base64, type, name) {
|
|
843
843
|
this.blobToDowload(this.base64ToBlob(base64, type), type, name);
|
|
844
844
|
}
|
|
845
|
+
/** @nocollapse */ static { this.ɵfac = function FileService_Factory(t) { return new (t || FileService)(i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(i3$1.TranslateService)); }; }
|
|
846
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileService, factory: FileService.ɵfac, providedIn: 'root' }); }
|
|
845
847
|
}
|
|
846
|
-
/** @nocollapse */ FileService.ɵfac = function FileService_Factory(t) { return new (t || FileService)(i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(i3$1.TranslateService)); };
|
|
847
|
-
/** @nocollapse */ FileService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileService, factory: FileService.ɵfac, providedIn: 'root' });
|
|
848
848
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileService, [{
|
|
849
849
|
type: Injectable,
|
|
850
850
|
args: [{
|
|
@@ -926,19 +926,19 @@ class PdfModalComponent {
|
|
|
926
926
|
//iframe.focus();
|
|
927
927
|
// iframe.contentWindow.print();
|
|
928
928
|
}
|
|
929
|
+
/** @nocollapse */ static { this.ɵfac = function PdfModalComponent_Factory(t) { return new (t || PdfModalComponent)(i0.ɵɵdirectiveInject(PdfModalService), i0.ɵɵdirectiveInject(FileService), i0.ɵɵdirectiveInject(i3$2.DomSanitizer)); }; }
|
|
930
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: PdfModalComponent, selectors: [["pdf-modal"]], decls: 2, vars: 15, consts: [[3, "visible", "modal", "minY", "baseZIndex", "blockScroll", "maximizable", "breakpoint", "contentStyle", "visibleChange"], ["style", "min-height: 90vh;", 4, "ngIf"], [2, "min-height", "90vh"], [2, "width", "100%", "height", "90vh", 3, "src"]], template: function PdfModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
931
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
932
|
+
i0.ɵɵlistener("visibleChange", function PdfModalComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.display = $event; });
|
|
933
|
+
i0.ɵɵtemplate(1, PdfModalComponent_div_1_Template, 2, 1, "div", 1);
|
|
934
|
+
i0.ɵɵelementEnd();
|
|
935
|
+
} if (rf & 2) {
|
|
936
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(12, _c0$5, ctx.size + "px"));
|
|
937
|
+
i0.ɵɵproperty("visible", ctx.display)("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("breakpoint", 840)("contentStyle", i0.ɵɵpureFunction0(14, _c1$2));
|
|
938
|
+
i0.ɵɵadvance(1);
|
|
939
|
+
i0.ɵɵproperty("ngIf", ctx.pdfBase64);
|
|
940
|
+
} }, dependencies: [i4.NgIf, i33.Dialog], styles: [".down[_ngcontent-%COMP%]{display:block}"] }); }
|
|
929
941
|
}
|
|
930
|
-
/** @nocollapse */ PdfModalComponent.ɵfac = function PdfModalComponent_Factory(t) { return new (t || PdfModalComponent)(i0.ɵɵdirectiveInject(PdfModalService), i0.ɵɵdirectiveInject(FileService), i0.ɵɵdirectiveInject(i3$2.DomSanitizer)); };
|
|
931
|
-
/** @nocollapse */ PdfModalComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: PdfModalComponent, selectors: [["pdf-modal"]], decls: 2, vars: 15, consts: [[3, "visible", "modal", "minY", "baseZIndex", "blockScroll", "maximizable", "breakpoint", "contentStyle", "visibleChange"], ["style", "min-height: 90vh;", 4, "ngIf"], [2, "min-height", "90vh"], [2, "width", "100%", "height", "90vh", 3, "src"]], template: function PdfModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
932
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
933
|
-
i0.ɵɵlistener("visibleChange", function PdfModalComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.display = $event; });
|
|
934
|
-
i0.ɵɵtemplate(1, PdfModalComponent_div_1_Template, 2, 1, "div", 1);
|
|
935
|
-
i0.ɵɵelementEnd();
|
|
936
|
-
} if (rf & 2) {
|
|
937
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(12, _c0$5, ctx.size + "px"));
|
|
938
|
-
i0.ɵɵproperty("visible", ctx.display)("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("breakpoint", 840)("contentStyle", i0.ɵɵpureFunction0(14, _c1$2));
|
|
939
|
-
i0.ɵɵadvance(1);
|
|
940
|
-
i0.ɵɵproperty("ngIf", ctx.pdfBase64);
|
|
941
|
-
} }, dependencies: [i4.NgIf, i11.Dialog], styles: [".down[_ngcontent-%COMP%]{display:block}"] });
|
|
942
942
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalComponent, [{
|
|
943
943
|
type: Component,
|
|
944
944
|
args: [{ selector: 'pdf-modal', template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" [blockScroll]=\"true\" \n [blockScroll]=\"true\" [maximizable]=\"true\"\n [breakpoint]=\"840\" [contentStyle]=\"{'overflow':'visible'}\">\n <div *ngIf=\"pdfBase64\" style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\" [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n</p-dialog>\n\n", styles: [".down{display:block}\n"] }]
|
|
@@ -1133,9 +1133,9 @@ class AuthService {
|
|
|
1133
1133
|
this.url_host = config.url;
|
|
1134
1134
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioActual', httpOptions);
|
|
1135
1135
|
}
|
|
1136
|
+
/** @nocollapse */ static { this.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1137
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
1136
1138
|
}
|
|
1137
|
-
/** @nocollapse */ AuthService.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1138
|
-
/** @nocollapse */ AuthService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' });
|
|
1139
1139
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1140
1140
|
type: Injectable,
|
|
1141
1141
|
args: [{
|
|
@@ -1270,21 +1270,21 @@ class LoginModalComponent {
|
|
|
1270
1270
|
$('#modalLogin').modal('hide');
|
|
1271
1271
|
});
|
|
1272
1272
|
}
|
|
1273
|
+
/** @nocollapse */ static { this.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); }; }
|
|
1274
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoginModalComponent, selectors: [["app-login-modal"]], decls: 8, vars: 2, consts: [["id", "modalLogin", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalCenterTitle", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], ["src", "assets/img/logo_visorus_loading.png", "alt", ""], ["class", "row", 4, "ngIf"], [1, "row"], [1, "col-lg-12", "col-md-12", "col-sm-12"], [3, "ngSubmit"], ["datoForm", "ngForm"], ["class", "error", 4, "ngIf"], [1, "form-group", "mb-3"], ["for", "exampleInputEmail1"], ["type", "text", "id", "exampleInputEmail1", "aria-describedby", "emailHelp", "name", "username", "required", "", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["username", "ngModel"], ["for", "exampleInputPassword1"], ["type", "password", "id", "exampleInputPassword1", "name", "password", "required", "", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["type", "submit", "translate", "", 1, "btn", "btn-primary_low", "btn-lg", "btn-block", "my-5", "text-light"], [1, "error"], [1, "col-xl-12", "col-lg-12", "col-sm-12"], ["class", "col-xl-6 col-lg-6 col-sm-12 mb-2", "style", "cursor: pointer", 4, "ngFor", "ngForOf"], [1, "col-xl-6", "col-lg-6", "col-sm-12", "mb-2", 2, "cursor", "pointer"], [1, "card"], [1, "card-body"]], template: function LoginModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1275
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
1276
|
+
i0.ɵɵelement(5, "img", 5);
|
|
1277
|
+
i0.ɵɵelementEnd();
|
|
1278
|
+
i0.ɵɵtemplate(6, LoginModalComponent_div_6_Template, 20, 15, "div", 6);
|
|
1279
|
+
i0.ɵɵtemplate(7, LoginModalComponent_div_7_Template, 6, 1, "div", 6);
|
|
1280
|
+
i0.ɵɵelementEnd()()()();
|
|
1281
|
+
} if (rf & 2) {
|
|
1282
|
+
i0.ɵɵadvance(6);
|
|
1283
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1284
|
+
i0.ɵɵadvance(1);
|
|
1285
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1286
|
+
} }, dependencies: [i4.NgForOf, i4.NgIf, i10.ɵNgNoValidate, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgControlStatusGroup, i10.RequiredValidator, i10.NgModel, i10.NgForm, i3$1.TranslateDirective, i3$1.TranslatePipe], styles: [".modal[_ngcontent-%COMP%]{z-index:2050!important}.btn-primary_low[_ngcontent-%COMP%]{background:#133659!important}.ng-valid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.ng-invalid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.card[_ngcontent-%COMP%]{background:#26baed;color:#fff}.card-body[_ngcontent-%COMP%]{padding:10px}"] }); }
|
|
1273
1287
|
}
|
|
1274
|
-
/** @nocollapse */ LoginModalComponent.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); };
|
|
1275
|
-
/** @nocollapse */ LoginModalComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoginModalComponent, selectors: [["app-login-modal"]], decls: 8, vars: 2, consts: [["id", "modalLogin", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalCenterTitle", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], ["src", "assets/img/logo_visorus_loading.png", "alt", ""], ["class", "row", 4, "ngIf"], [1, "row"], [1, "col-lg-12", "col-md-12", "col-sm-12"], [3, "ngSubmit"], ["datoForm", "ngForm"], ["class", "error", 4, "ngIf"], [1, "form-group", "mb-3"], ["for", "exampleInputEmail1"], ["type", "text", "id", "exampleInputEmail1", "aria-describedby", "emailHelp", "name", "username", "required", "", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["username", "ngModel"], ["for", "exampleInputPassword1"], ["type", "password", "id", "exampleInputPassword1", "name", "password", "required", "", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["type", "submit", "translate", "", 1, "btn", "btn-primary_low", "btn-lg", "btn-block", "my-5", "text-light"], [1, "error"], [1, "col-xl-12", "col-lg-12", "col-sm-12"], ["class", "col-xl-6 col-lg-6 col-sm-12 mb-2", "style", "cursor: pointer", 4, "ngFor", "ngForOf"], [1, "col-xl-6", "col-lg-6", "col-sm-12", "mb-2", 2, "cursor", "pointer"], [1, "card"], [1, "card-body"]], template: function LoginModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1276
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
1277
|
-
i0.ɵɵelement(5, "img", 5);
|
|
1278
|
-
i0.ɵɵelementEnd();
|
|
1279
|
-
i0.ɵɵtemplate(6, LoginModalComponent_div_6_Template, 20, 15, "div", 6);
|
|
1280
|
-
i0.ɵɵtemplate(7, LoginModalComponent_div_7_Template, 6, 1, "div", 6);
|
|
1281
|
-
i0.ɵɵelementEnd()()()();
|
|
1282
|
-
} if (rf & 2) {
|
|
1283
|
-
i0.ɵɵadvance(6);
|
|
1284
|
-
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1285
|
-
i0.ɵɵadvance(1);
|
|
1286
|
-
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1287
|
-
} }, dependencies: [i4.NgForOf, i4.NgIf, i10.ɵNgNoValidate, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgControlStatusGroup, i10.RequiredValidator, i10.NgModel, i10.NgForm, i3$1.TranslateDirective, i3$1.TranslatePipe], styles: [".modal[_ngcontent-%COMP%]{z-index:2050!important}.btn-primary_low[_ngcontent-%COMP%]{background:#133659!important}.ng-valid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.ng-invalid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.card[_ngcontent-%COMP%]{background:#26baed;color:#fff}.card-body[_ngcontent-%COMP%]{padding:10px}"] });
|
|
1288
1288
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1289
1289
|
type: Component,
|
|
1290
1290
|
args: [{ selector: 'app-login-modal', template: "<div class=\"modal fade\" id=\"modalLogin\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" > \n <label class=\"error\" *ngIf=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\" >{{ 'Usuario.username' | translate }}</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\" #username=\"ngModel\"\n placeholder=\"{{ 'Usuario.username' | translate }}\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">{{ 'Usuario.password' | translate }}</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"{{ 'Usuario.password' | translate }}\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n \n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\" translate>entrar</button>\n </form>\n </div>\n </div> \n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div> \n \n </div>\n </div>\n </div>\n</div>", styles: [".modal{z-index:2050!important}.btn-primary_low{background:#133659!important}.ng-valid:not(form){border-left:1px solid #ced4da!important}.ng-invalid:not(form){border-left:1px solid #ced4da!important}.card{background:#26baed;color:#fff}.card-body{padding:10px}\n"] }]
|
|
@@ -1295,9 +1295,9 @@ class SessionCajaService extends CrudService {
|
|
|
1295
1295
|
super(httpClient, 'sessionCaja');
|
|
1296
1296
|
this.httpClient = httpClient;
|
|
1297
1297
|
}
|
|
1298
|
+
/** @nocollapse */ static { this.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1299
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' }); }
|
|
1298
1300
|
}
|
|
1299
|
-
/** @nocollapse */ SessionCajaService.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1300
|
-
/** @nocollapse */ SessionCajaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' });
|
|
1301
1301
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
|
|
1302
1302
|
type: Injectable,
|
|
1303
1303
|
args: [{
|
|
@@ -1437,24 +1437,24 @@ class SessionCreateComponent {
|
|
|
1437
1437
|
this.status.emit({ status: false, update: this.resp.data });
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
+
/** @nocollapse */ static { this.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); }; }
|
|
1441
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SessionCreateComponent, selectors: [["session-create"]], inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, decls: 6, vars: 9, consts: [[3, "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) {
|
|
1442
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1443
|
+
i0.ɵɵlistener("visibleChange", function SessionCreateComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showCreateSession = $event; })("onHide", function SessionCreateComponent_Template_p_dialog_onHide_0_listener() { return ctx.closeModal(); })("onShow", function SessionCreateComponent_Template_p_dialog_onShow_0_listener() { return ctx.setSession(); });
|
|
1444
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1445
|
+
i0.ɵɵtemplate(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1446
|
+
i0.ɵɵelementStart(3, "div");
|
|
1447
|
+
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1448
|
+
i0.ɵɵelementEnd();
|
|
1449
|
+
i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1450
|
+
i0.ɵɵelementEnd();
|
|
1451
|
+
} if (rf & 2) {
|
|
1452
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$4));
|
|
1453
|
+
i0.ɵɵproperty("visible", ctx.showCreateSession)("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1454
|
+
i0.ɵɵadvance(2);
|
|
1455
|
+
i0.ɵɵproperty("ngIf", ctx.caja);
|
|
1456
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i21.ButtonDirective, i22.InputText, i10.DefaultValueAccessor, i10.NumberValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog] }); }
|
|
1440
1457
|
}
|
|
1441
|
-
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); };
|
|
1442
|
-
/** @nocollapse */ SessionCreateComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SessionCreateComponent, selectors: [["session-create"]], inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, decls: 6, vars: 9, consts: [[3, "visible", "modal", "closeOnEscape", "closable", "blockScroll", "visibleChange", "onHide", "onShow"], ["pTemplate", "header"], ["class", "grid grid-fluid", 4, "ngIf"], ["pTemplate", "footer"], [1, "text-primary"], [1, "grid", "grid-fluid"], [1, "p-field", "col-12"], ["for", "nombreCaja"], ["pInputText", "", "type", "text", "id", "nombreCaja", 3, "ngModel", "disabled", "ngModelChange"], [1, "p-field", "col-12", "md:col-6"], ["for", "saldoCaja"], ["pInputText", "", "type", "number", "id", "saldoCaja", 3, "ngModel", "disabled", "ngModelChange"], ["for", "numeroZ"], ["pInputText", "", "type", "number", "id", "numeroZ", 3, "ngModel", "disabled", "ngModelChange"], ["pButton", "", "type", "button", "label", "Guardar", "class", "p-button-sm", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "label", "Cerrar session", "class", "p-button-sm p-button-success", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "label", "Cancelar", 1, "p-button-sm", "p-button-danger", 3, "click"], ["pButton", "", "type", "button", "label", "Guardar", 1, "p-button-sm", 3, "click"], ["pButton", "", "type", "button", "label", "Cerrar session", 1, "p-button-sm", "p-button-success", 3, "click"]], template: function SessionCreateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1443
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1444
|
-
i0.ɵɵlistener("visibleChange", function SessionCreateComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showCreateSession = $event; })("onHide", function SessionCreateComponent_Template_p_dialog_onHide_0_listener() { return ctx.closeModal(); })("onShow", function SessionCreateComponent_Template_p_dialog_onShow_0_listener() { return ctx.setSession(); });
|
|
1445
|
-
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1446
|
-
i0.ɵɵtemplate(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1447
|
-
i0.ɵɵelementStart(3, "div");
|
|
1448
|
-
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1449
|
-
i0.ɵɵelementEnd();
|
|
1450
|
-
i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1451
|
-
i0.ɵɵelementEnd();
|
|
1452
|
-
} if (rf & 2) {
|
|
1453
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$4));
|
|
1454
|
-
i0.ɵɵproperty("visible", ctx.showCreateSession)("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1455
|
-
i0.ɵɵadvance(2);
|
|
1456
|
-
i0.ɵɵproperty("ngIf", ctx.caja);
|
|
1457
|
-
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i6.ButtonDirective, i7.InputText, i10.DefaultValueAccessor, i10.NumberValueAccessor, i10.NgControlStatus, i10.NgModel, i11.Dialog] });
|
|
1458
1458
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1459
1459
|
type: Component,
|
|
1460
1460
|
args: [{ selector: 'session-create', template: "<p-dialog [(visible)]=\"showCreateSession\" [modal]=\"flagModal\" (onHide)=\"closeModal()\" (onShow)=\"setSession()\"\n [closeOnEscape]=\"flagModal\" [closable]=\"flagModal\" [blockScroll]=\"true\" [style]=\"{width: '750px'}\">\n\n <ng-template pTemplate=\"header\">\n <a class=\"text-primary\">{{labels.title}}: </a>\n </ng-template>\n\n <div class=\"grid grid-fluid\" *ngIf=\"caja\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" *ngIf=\"!editMode && caja\" class=\"p-button-sm\"></button>\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" *ngIf=\"editMode && caja\" class=\"p-button-sm p-button-success\"></button>\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
|
|
@@ -1518,9 +1518,9 @@ class ClienteService extends CrudService {
|
|
|
1518
1518
|
validar_archivos_bss(id) {
|
|
1519
1519
|
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
1520
1520
|
}
|
|
1521
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1522
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' }); }
|
|
1521
1523
|
}
|
|
1522
|
-
/** @nocollapse */ ClienteService.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1523
|
-
/** @nocollapse */ ClienteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' });
|
|
1524
1524
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
|
|
1525
1525
|
type: Injectable,
|
|
1526
1526
|
args: [{
|
|
@@ -1572,9 +1572,9 @@ class PaginateService {
|
|
|
1572
1572
|
}, erro => { });
|
|
1573
1573
|
return ordenar;
|
|
1574
1574
|
}
|
|
1575
|
+
/** @nocollapse */ static { this.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i3$1.TranslateService)); }; }
|
|
1576
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" }); }
|
|
1575
1577
|
}
|
|
1576
|
-
/** @nocollapse */ PaginateService.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i3$1.TranslateService)); };
|
|
1577
|
-
/** @nocollapse */ PaginateService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" });
|
|
1578
1578
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
|
|
1579
1579
|
type: Injectable,
|
|
1580
1580
|
args: [{
|
|
@@ -1740,35 +1740,35 @@ class SelectClienteComponent {
|
|
|
1740
1740
|
this.select.emit(null);
|
|
1741
1741
|
this.visible = false;
|
|
1742
1742
|
}
|
|
1743
|
+
/** @nocollapse */ static { this.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); }; }
|
|
1744
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, decls: 10, vars: 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) {
|
|
1745
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1746
|
+
i0.ɵɵlistener("visibleChange", function SelectClienteComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectClienteComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrar(); })("onShow", function SelectClienteComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosClientes(); });
|
|
1747
|
+
i0.ɵɵpipe(1, "translate");
|
|
1748
|
+
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1749
|
+
i0.ɵɵlistener("ngModelChange", function SelectClienteComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectClienteComponent_Template_input_keyup_3_listener() { return ctx.aplicarFiltro(); });
|
|
1750
|
+
i0.ɵɵpipe(4, "translate");
|
|
1751
|
+
i0.ɵɵelementEnd();
|
|
1752
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1753
|
+
i0.ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1754
|
+
i0.ɵɵelementEnd()();
|
|
1755
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1756
|
+
i0.ɵɵlistener("onLazyLoad", function SelectClienteComponent_Template_p_table_onLazyLoad_6_listener($event) { return ctx.cargarDatosClientes($event); })("selectionChange", function SelectClienteComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.clienteSeleccionado = $event; })("onRowSelect", function SelectClienteComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionaCliente($event); });
|
|
1757
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5);
|
|
1758
|
+
i0.ɵɵtemplate(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6);
|
|
1759
|
+
i0.ɵɵtemplate(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1760
|
+
i0.ɵɵelementEnd()();
|
|
1761
|
+
} if (rf & 2) {
|
|
1762
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 13, "Seleccionar cliente "));
|
|
1763
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
1764
|
+
i0.ɵɵadvance(3);
|
|
1765
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 15, "buscar"), "...");
|
|
1766
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1767
|
+
i0.ɵɵadvance(3);
|
|
1768
|
+
i0.ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1769
|
+
i0.ɵɵproperty("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total)("selection", ctx.clienteSeleccionado)("scrollable", true)("loading", ctx.loading);
|
|
1770
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i18.Table, i18.SelectableRow, i21.ButtonDirective, i22.InputText, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i3$1.TranslatePipe], encapsulation: 2 }); }
|
|
1743
1771
|
}
|
|
1744
|
-
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); };
|
|
1745
|
-
/** @nocollapse */ SelectClienteComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, decls: 10, vars: 17, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "scrollHeight", "350px", 3, "value", "lazy", "paginator", "rows", "totalRecords", "selection", "selectionMode", "scrollable", "loading", "onLazyLoad", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "pSelectableRow"], [4, "ngIf"], ["colspan", "6"]], template: function SelectClienteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1746
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1747
|
-
i0.ɵɵlistener("visibleChange", function SelectClienteComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectClienteComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrar(); })("onShow", function SelectClienteComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosClientes(); });
|
|
1748
|
-
i0.ɵɵpipe(1, "translate");
|
|
1749
|
-
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1750
|
-
i0.ɵɵlistener("ngModelChange", function SelectClienteComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectClienteComponent_Template_input_keyup_3_listener() { return ctx.aplicarFiltro(); });
|
|
1751
|
-
i0.ɵɵpipe(4, "translate");
|
|
1752
|
-
i0.ɵɵelementEnd();
|
|
1753
|
-
i0.ɵɵelementStart(5, "button", 3);
|
|
1754
|
-
i0.ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1755
|
-
i0.ɵɵelementEnd()();
|
|
1756
|
-
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1757
|
-
i0.ɵɵlistener("onLazyLoad", function SelectClienteComponent_Template_p_table_onLazyLoad_6_listener($event) { return ctx.cargarDatosClientes($event); })("selectionChange", function SelectClienteComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.clienteSeleccionado = $event; })("onRowSelect", function SelectClienteComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionaCliente($event); });
|
|
1758
|
-
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5);
|
|
1759
|
-
i0.ɵɵtemplate(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6);
|
|
1760
|
-
i0.ɵɵtemplate(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1761
|
-
i0.ɵɵelementEnd()();
|
|
1762
|
-
} if (rf & 2) {
|
|
1763
|
-
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 13, "Seleccionar cliente "));
|
|
1764
|
-
i0.ɵɵproperty("visible", ctx.visible);
|
|
1765
|
-
i0.ɵɵadvance(3);
|
|
1766
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 15, "buscar"), "...");
|
|
1767
|
-
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1768
|
-
i0.ɵɵadvance(3);
|
|
1769
|
-
i0.ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1770
|
-
i0.ɵɵproperty("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total)("selection", ctx.clienteSeleccionado)("scrollable", true)("loading", ctx.loading);
|
|
1771
|
-
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i6$1.Table, i6$1.SelectableRow, i6.ButtonDirective, i7.InputText, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i11.Dialog, i3$1.TranslatePipe], encapsulation: 2 });
|
|
1772
1772
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1773
1773
|
type: Component,
|
|
1774
1774
|
args: [{ selector: 'select-cliente', template: "<p-dialog header=\"{{ 'Seleccionar cliente ' | translate }}\" [(visible)]=\"visible\" (onHide)=\"cerrar()\"\n (onShow)=\"cargarDatosClientes()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"aplicarFiltro()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"aplicarFiltro()\"></button>\n </div>\n\n <p-table\n [value]=\"clientes\"\n dataKey=\"id\" [lazy]=\"true\"\n (onLazyLoad)=\"cargarDatosClientes($event)\"\n [paginator]=\"true\"\n [rows]=\"page.rows\"\n [totalRecords]=\"page.total\"\n [(selection)]=\"clienteSeleccionado\"\n selectionMode=\"{{selectMode}}\"\n (onRowSelect)=\"seleccionaCliente($event)\"\n [scrollable]=\"true\" scrollHeight=\"350px\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'Cliente.limiteCredito' | translate}}</th>\n <th>{{'Cliente.plazoCredito' | translate}}</th>\n <th>{{'Cliente.diasPago' | translate}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-cliente>\n <tr [pSelectableRow]=\"cliente\"> \n <td>{{cliente.codigo}}</td>\n <td>{{cliente.descripcionRazonSocial}}</td>\n <td>\n <span *ngIf=\"cliente.personaFisica\">{{'fisico'| translate}}</span>\n <span *ngIf=\"cliente.personaMoral\">{{'moral'| translate}}</span>\n </td>\n <td>{{cliente.limiteCredito}}</td>\n <td>{{cliente.plazoCredito}}</td>\n <td>{{cliente.diasPago}}</td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td colspan=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n</p-table>\n \n</p-dialog>" }]
|
|
@@ -1800,9 +1800,9 @@ class ProveedorService extends CrudService {
|
|
|
1800
1800
|
super(httpClient, '/proveedor');
|
|
1801
1801
|
this.httpClient = httpClient;
|
|
1802
1802
|
}
|
|
1803
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1804
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' }); }
|
|
1803
1805
|
}
|
|
1804
|
-
/** @nocollapse */ ProveedorService.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1805
|
-
/** @nocollapse */ ProveedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' });
|
|
1806
1806
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
|
|
1807
1807
|
type: Injectable,
|
|
1808
1808
|
args: [{
|
|
@@ -1889,38 +1889,38 @@ class SelectProveedorComponent {
|
|
|
1889
1889
|
this.select.emit(e.data);
|
|
1890
1890
|
this.visible = false;
|
|
1891
1891
|
}
|
|
1892
|
+
/** @nocollapse */ static { this.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); }; }
|
|
1893
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 16, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "change"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "valueChange", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"]], template: function SelectProveedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1894
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1895
|
+
i0.ɵɵlistener("visibleChange", function SelectProveedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectProveedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectProveedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosProveedores(); });
|
|
1896
|
+
i0.ɵɵpipe(1, "translate");
|
|
1897
|
+
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1898
|
+
i0.ɵɵlistener("ngModelChange", function SelectProveedorComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("change", function SelectProveedorComponent_Template_input_change_3_listener() { return ctx.cargarDatosProveedores(); });
|
|
1899
|
+
i0.ɵɵpipe(4, "translate");
|
|
1900
|
+
i0.ɵɵelementEnd();
|
|
1901
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1902
|
+
i0.ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
1903
|
+
i0.ɵɵelementEnd()();
|
|
1904
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1905
|
+
i0.ɵɵlistener("valueChange", function SelectProveedorComponent_Template_p_table_valueChange_6_listener($event) { return ctx.proveedores = $event; })("selectionChange", function SelectProveedorComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.proveedorSeleccionado = $event; })("onRowSelect", function SelectProveedorComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionarProveedor($event); });
|
|
1906
|
+
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5);
|
|
1907
|
+
i0.ɵɵtemplate(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
1908
|
+
i0.ɵɵelementEnd();
|
|
1909
|
+
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
1910
|
+
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
1911
|
+
i0.ɵɵelementEnd()();
|
|
1912
|
+
} if (rf & 2) {
|
|
1913
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 11, "ArticuloProveedor.proveedores"));
|
|
1914
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
1915
|
+
i0.ɵɵadvance(3);
|
|
1916
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 13, "buscar"), "...");
|
|
1917
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1918
|
+
i0.ɵɵadvance(3);
|
|
1919
|
+
i0.ɵɵproperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado)("scrollable", true);
|
|
1920
|
+
i0.ɵɵadvance(3);
|
|
1921
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(15, _c0$3));
|
|
1922
|
+
} }, dependencies: [i3.PrimeTemplate, i18.Table, i21.ButtonDirective, i22.InputText, i27.Paginator, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i3$1.TranslatePipe], encapsulation: 2 }); }
|
|
1892
1923
|
}
|
|
1893
|
-
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); };
|
|
1894
|
-
/** @nocollapse */ SelectProveedorComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 16, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "change"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "valueChange", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"]], template: function SelectProveedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1895
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1896
|
-
i0.ɵɵlistener("visibleChange", function SelectProveedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectProveedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectProveedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosProveedores(); });
|
|
1897
|
-
i0.ɵɵpipe(1, "translate");
|
|
1898
|
-
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1899
|
-
i0.ɵɵlistener("ngModelChange", function SelectProveedorComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("change", function SelectProveedorComponent_Template_input_change_3_listener() { return ctx.cargarDatosProveedores(); });
|
|
1900
|
-
i0.ɵɵpipe(4, "translate");
|
|
1901
|
-
i0.ɵɵelementEnd();
|
|
1902
|
-
i0.ɵɵelementStart(5, "button", 3);
|
|
1903
|
-
i0.ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
1904
|
-
i0.ɵɵelementEnd()();
|
|
1905
|
-
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1906
|
-
i0.ɵɵlistener("valueChange", function SelectProveedorComponent_Template_p_table_valueChange_6_listener($event) { return ctx.proveedores = $event; })("selectionChange", function SelectProveedorComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.proveedorSeleccionado = $event; })("onRowSelect", function SelectProveedorComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionarProveedor($event); });
|
|
1907
|
-
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5);
|
|
1908
|
-
i0.ɵɵtemplate(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
1909
|
-
i0.ɵɵelementEnd();
|
|
1910
|
-
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
1911
|
-
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
1912
|
-
i0.ɵɵelementEnd()();
|
|
1913
|
-
} if (rf & 2) {
|
|
1914
|
-
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 11, "ArticuloProveedor.proveedores"));
|
|
1915
|
-
i0.ɵɵproperty("visible", ctx.visible);
|
|
1916
|
-
i0.ɵɵadvance(3);
|
|
1917
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 13, "buscar"), "...");
|
|
1918
|
-
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1919
|
-
i0.ɵɵadvance(3);
|
|
1920
|
-
i0.ɵɵproperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado)("scrollable", true);
|
|
1921
|
-
i0.ɵɵadvance(3);
|
|
1922
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(15, _c0$3));
|
|
1923
|
-
} }, dependencies: [i3.PrimeTemplate, i6$1.Table, i6.ButtonDirective, i7.InputText, i9.Paginator, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i11.Dialog, i3$1.TranslatePipe], encapsulation: 2 });
|
|
1924
1924
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
1925
1925
|
type: Component,
|
|
1926
1926
|
args: [{ selector: 'select-proveedor', template: "<p-dialog header=\"{{'ArticuloProveedor.proveedores' | translate}}\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosProveedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (change)=\"cargarDatosProveedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosProveedores()\"></button>\n </div>\n\n <p-table [(value)]=\"proveedores\" selectionMode=\"single\" [(selection)]=\"proveedorSeleccionado\"\n [scrollable]=\"true\" scrollHeight=\"350px\" (onRowSelect)=\"seleccionarProveedor($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n </tr>\n </ng-template> \n <ng-template pTemplate=\"body\" let-proveedor=\"rowData\">\n <tr>\n <td>{{proveedor.codigo}}</td>\n <td>{{proveedor.descripcionRazonSocial}}</td>\n <td>{{proveedor.descripcionRfc}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
|
|
@@ -1941,9 +1941,9 @@ class AlmacenService extends CrudService {
|
|
|
1941
1941
|
let url = this.geturl() + '/obtenerAlmacenEmpresa';
|
|
1942
1942
|
return this.getHttp().get(url, this.buildAuth());
|
|
1943
1943
|
}
|
|
1944
|
+
/** @nocollapse */ static { this.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1945
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' }); }
|
|
1944
1946
|
}
|
|
1945
|
-
/** @nocollapse */ AlmacenService.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1946
|
-
/** @nocollapse */ AlmacenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' });
|
|
1947
1947
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
|
|
1948
1948
|
type: Injectable,
|
|
1949
1949
|
args: [{
|
|
@@ -1967,9 +1967,9 @@ class StockService extends CrudService {
|
|
|
1967
1967
|
});
|
|
1968
1968
|
return promesa;
|
|
1969
1969
|
}
|
|
1970
|
+
/** @nocollapse */ static { this.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1971
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' }); }
|
|
1970
1972
|
}
|
|
1971
|
-
/** @nocollapse */ StockService.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1972
|
-
/** @nocollapse */ StockService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' });
|
|
1973
1973
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
|
|
1974
1974
|
type: Injectable,
|
|
1975
1975
|
args: [{
|
|
@@ -1986,9 +1986,9 @@ class ArticuloInformacionService extends CrudService {
|
|
|
1986
1986
|
let uRL = "/existenciasArticulo/" + articulo;
|
|
1987
1987
|
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
1988
1988
|
}
|
|
1989
|
+
/** @nocollapse */ static { this.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1990
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' }); }
|
|
1989
1991
|
}
|
|
1990
|
-
/** @nocollapse */ ArticuloInformacionService.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1991
|
-
/** @nocollapse */ ArticuloInformacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' });
|
|
1992
1992
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
|
|
1993
1993
|
type: Injectable,
|
|
1994
1994
|
args: [{
|
|
@@ -1999,35 +1999,35 @@ class ArticuloInformacionService extends CrudService {
|
|
|
1999
1999
|
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
2000
2000
|
i0.ɵɵelement(0, "col");
|
|
2001
2001
|
} if (rf & 2) {
|
|
2002
|
-
const
|
|
2003
|
-
i0.ɵɵstyleProp("width",
|
|
2002
|
+
const col_r6 = ctx.$implicit;
|
|
2003
|
+
i0.ɵɵstyleProp("width", col_r6.width);
|
|
2004
2004
|
} }
|
|
2005
2005
|
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2006
2006
|
i0.ɵɵelementStart(0, "colgroup");
|
|
2007
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col",
|
|
2007
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 6);
|
|
2008
2008
|
i0.ɵɵelementEnd();
|
|
2009
2009
|
} if (rf & 2) {
|
|
2010
|
-
const
|
|
2010
|
+
const columns_r4 = ctx.$implicit;
|
|
2011
2011
|
i0.ɵɵadvance(1);
|
|
2012
|
-
i0.ɵɵproperty("ngForOf",
|
|
2012
|
+
i0.ɵɵproperty("ngForOf", columns_r4);
|
|
2013
2013
|
} }
|
|
2014
2014
|
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
2015
|
-
i0.ɵɵelementStart(0, "th",
|
|
2015
|
+
i0.ɵɵelementStart(0, "th", 8);
|
|
2016
2016
|
i0.ɵɵtext(1);
|
|
2017
2017
|
i0.ɵɵelementEnd();
|
|
2018
2018
|
} if (rf & 2) {
|
|
2019
|
-
const
|
|
2019
|
+
const col_r9 = ctx.$implicit;
|
|
2020
2020
|
i0.ɵɵadvance(1);
|
|
2021
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
2021
|
+
i0.ɵɵtextInterpolate1(" ", col_r9.header, " ");
|
|
2022
2022
|
} }
|
|
2023
2023
|
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2024
2024
|
i0.ɵɵelementStart(0, "tr");
|
|
2025
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th",
|
|
2025
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 7);
|
|
2026
2026
|
i0.ɵɵelementEnd();
|
|
2027
2027
|
} if (rf & 2) {
|
|
2028
|
-
const
|
|
2028
|
+
const columns_r7 = ctx.$implicit;
|
|
2029
2029
|
i0.ɵɵadvance(1);
|
|
2030
|
-
i0.ɵɵproperty("ngForOf",
|
|
2030
|
+
i0.ɵɵproperty("ngForOf", columns_r7);
|
|
2031
2031
|
} }
|
|
2032
2032
|
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2033
2033
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -2046,17 +2046,23 @@ function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) {
|
|
|
2046
2046
|
i0.ɵɵtext(10);
|
|
2047
2047
|
i0.ɵɵelementEnd()();
|
|
2048
2048
|
} if (rf & 2) {
|
|
2049
|
-
const
|
|
2049
|
+
const rowData_r10 = ctx.$implicit;
|
|
2050
2050
|
i0.ɵɵadvance(2);
|
|
2051
|
-
i0.ɵɵtextInterpolate(
|
|
2051
|
+
i0.ɵɵtextInterpolate(rowData_r10.almacenCodigo);
|
|
2052
2052
|
i0.ɵɵadvance(2);
|
|
2053
|
-
i0.ɵɵtextInterpolate(
|
|
2053
|
+
i0.ɵɵtextInterpolate(rowData_r10.almacenDescripcion);
|
|
2054
2054
|
i0.ɵɵadvance(2);
|
|
2055
|
-
i0.ɵɵtextInterpolate(
|
|
2055
|
+
i0.ɵɵtextInterpolate(rowData_r10.ubicacionCodigo);
|
|
2056
2056
|
i0.ɵɵadvance(2);
|
|
2057
|
-
i0.ɵɵtextInterpolate(
|
|
2057
|
+
i0.ɵɵtextInterpolate(rowData_r10.ubicacionDescripcion);
|
|
2058
2058
|
i0.ɵɵadvance(2);
|
|
2059
|
-
i0.ɵɵtextInterpolate(
|
|
2059
|
+
i0.ɵɵtextInterpolate(rowData_r10.existencia);
|
|
2060
|
+
} }
|
|
2061
|
+
function SeleccionArticuloInformacionComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
2062
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
2063
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "button", 10);
|
|
2064
|
+
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_ng_template_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.hiddenDialog()); });
|
|
2065
|
+
i0.ɵɵelementEnd()();
|
|
2060
2066
|
} }
|
|
2061
2067
|
const _c0$2 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2062
2068
|
const _c1$1 = function () { return { width: "600px" }; };
|
|
@@ -2099,29 +2105,28 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2099
2105
|
onSelectedUbicacion(ubicacionRow) {
|
|
2100
2106
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
2101
2107
|
}
|
|
2108
|
+
/** @nocollapse */ static { this.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); }; }
|
|
2109
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls: 6, vars: 19, consts: [[3, "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable", "breakpoint", "onShow", "visibleChange", "onHide", "resize"], ["responsiveLayout", "scroll", "scrollHeight", "350px", 3, "columns", "value", "scrollable"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "footer"], [3, "width", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 4, "ngFor", "ngForOf"], ["pResizableColumn", ""], [1, "container-end"], ["pButton", "", "type", "button", "icon", "pi pi-replay", "label", "Cerrar", 1, "ui-button-raised", "ui-button-secondary", 3, "click"]], template: function SeleccionArticuloInformacionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2110
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2111
|
+
i0.ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); })("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showModal = $event; })("onHide", function SeleccionArticuloInformacionComponent_Template_p_dialog_onHide_0_listener() { return ctx.hiddenDialog(); })("resize", function SeleccionArticuloInformacionComponent_Template_p_dialog_resize_0_listener($event) { return ctx.OnResize($event); }, false, i0.ɵɵresolveWindow);
|
|
2112
|
+
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2113
|
+
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
2114
|
+
i0.ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
2115
|
+
i0.ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2116
|
+
i0.ɵɵelementEnd();
|
|
2117
|
+
i0.ɵɵtemplate(5, SeleccionArticuloInformacionComponent_ng_template_5_Template, 2, 0, "ng-template", 5);
|
|
2118
|
+
i0.ɵɵelementEnd();
|
|
2119
|
+
} if (rf & 2) {
|
|
2120
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(16, _c0$2, ctx.size + "px"));
|
|
2121
|
+
i0.ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2122
|
+
i0.ɵɵadvance(1);
|
|
2123
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(18, _c1$1));
|
|
2124
|
+
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true);
|
|
2125
|
+
} }, dependencies: [i4.NgForOf, i3.PrimeTemplate, i18.Table, i18.ResizableColumn, i21.ButtonDirective, i33.Dialog] }); }
|
|
2102
2126
|
}
|
|
2103
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); };
|
|
2104
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls: 8, vars: 20, consts: [[3, "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable", "breakpoint", "onShow", "visibleChange", "onHide", "resize"], ["scrollHeight", "350px", 3, "columns", "value", "scrollable", "responsive"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], [1, "container-end"], ["pButton", "", "type", "button", "icon", "pi pi-replay", "label", "Cerrar", 1, "ui-button-raised", "ui-button-secondary", 3, "click"], [3, "width", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 4, "ngFor", "ngForOf"], ["pResizableColumn", ""]], template: function SeleccionArticuloInformacionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2105
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2106
|
-
i0.ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); })("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showModal = $event; })("onHide", function SeleccionArticuloInformacionComponent_Template_p_dialog_onHide_0_listener() { return ctx.hiddenDialog(); })("resize", function SeleccionArticuloInformacionComponent_Template_p_dialog_resize_0_listener($event) { return ctx.OnResize($event); }, false, i0.ɵɵresolveWindow);
|
|
2107
|
-
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2108
|
-
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
2109
|
-
i0.ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
2110
|
-
i0.ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2111
|
-
i0.ɵɵelementEnd();
|
|
2112
|
-
i0.ɵɵelementStart(5, "p-footer")(6, "div", 5)(7, "button", 6);
|
|
2113
|
-
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_Template_button_click_7_listener() { return ctx.hiddenDialog(); });
|
|
2114
|
-
i0.ɵɵelementEnd()()()();
|
|
2115
|
-
} if (rf & 2) {
|
|
2116
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(17, _c0$2, ctx.size + "px"));
|
|
2117
|
-
i0.ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2118
|
-
i0.ɵɵadvance(1);
|
|
2119
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(19, _c1$1));
|
|
2120
|
-
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true)("responsive", true);
|
|
2121
|
-
} }, dependencies: [i4.NgForOf, i3.Footer, i3.PrimeTemplate, i6$1.Table, i6$1.ResizableColumn, i6.ButtonDirective, i11.Dialog] });
|
|
2122
2127
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
2123
2128
|
type: Component,
|
|
2124
|
-
args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n
|
|
2129
|
+
args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </ng-template>\n</p-dialog>" }]
|
|
2125
2130
|
}], function () { return [{ type: ArticuloInformacionService }]; }, { showModal: [{
|
|
2126
2131
|
type: Input
|
|
2127
2132
|
}], articulo: [{
|
|
@@ -2527,70 +2532,70 @@ class SeleccionaArticuloComponent {
|
|
|
2527
2532
|
onEventInformacion(event) {
|
|
2528
2533
|
this.showModalInformacion = event.status;
|
|
2529
2534
|
}
|
|
2535
|
+
/** @nocollapse */ static { this.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); }; }
|
|
2536
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, decls: 30, vars: 24, consts: [[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", "responsiveLayout", "scroll", "selectionMode", "single", 3, "value", "scrollable", "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) {
|
|
2537
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2538
|
+
i0.ɵɵlistener("visibleChange", function SeleccionaArticuloComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showArticulos = $event; })("onShow", function SeleccionaArticuloComponent_Template_p_dialog_onShow_0_listener() { return ctx.obtenerExistenciaArticulosShow(); })("onHide", function SeleccionaArticuloComponent_Template_p_dialog_onHide_0_listener() { ctx.busquedaArticulos = { tipoBusqueda: "" }; return ctx.emitirShowArticulos(); });
|
|
2539
|
+
i0.ɵɵpipe(1, "translate");
|
|
2540
|
+
i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "div", 4)(6, "select", 5);
|
|
2541
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_6_listener($event) { return ctx.busquedaArticulos.tipoBusqueda = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_6_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2542
|
+
i0.ɵɵelementStart(7, "option", 6);
|
|
2543
|
+
i0.ɵɵtext(8, "Codigo");
|
|
2544
|
+
i0.ɵɵelementEnd();
|
|
2545
|
+
i0.ɵɵelementStart(9, "option", 7);
|
|
2546
|
+
i0.ɵɵtext(10, "Descripcion");
|
|
2547
|
+
i0.ɵɵelementEnd();
|
|
2548
|
+
i0.ɵɵelementStart(11, "option", 8);
|
|
2549
|
+
i0.ɵɵtext(12, "Coincidencia");
|
|
2550
|
+
i0.ɵɵelementEnd();
|
|
2551
|
+
i0.ɵɵelementStart(13, "option", 9);
|
|
2552
|
+
i0.ɵɵtext(14, "Igual a");
|
|
2553
|
+
i0.ɵɵelementEnd()()();
|
|
2554
|
+
i0.ɵɵelementStart(15, "input", 10);
|
|
2555
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_15_listener($event) { return ctx.busquedaArticulos.key = $event; })("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { return ctx.obtenerExistenciaArticulosKey($event); });
|
|
2556
|
+
i0.ɵɵelementEnd();
|
|
2557
|
+
i0.ɵɵelementStart(16, "button", 11);
|
|
2558
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { return ctx.obtenerExistenciaArticulos(); });
|
|
2559
|
+
i0.ɵɵelementEnd()()();
|
|
2560
|
+
i0.ɵɵelementStart(17, "div", 2)(18, "div", 3)(19, "div", 12)(20, "label", 13);
|
|
2561
|
+
i0.ɵɵtext(21, "Almacen:");
|
|
2562
|
+
i0.ɵɵelementEnd()();
|
|
2563
|
+
i0.ɵɵelementStart(22, "select", 14);
|
|
2564
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { return ctx.movimiento.almacen = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2565
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 15);
|
|
2566
|
+
i0.ɵɵelementEnd()()()();
|
|
2567
|
+
i0.ɵɵelementStart(24, "p-table", 16, 17);
|
|
2568
|
+
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2569
|
+
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18);
|
|
2570
|
+
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2571
|
+
i0.ɵɵelementEnd();
|
|
2572
|
+
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2573
|
+
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { return ctx.pagina($event); });
|
|
2574
|
+
i0.ɵɵelementEnd()();
|
|
2575
|
+
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2576
|
+
} if (rf & 2) {
|
|
2577
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(21, _c0$1, ctx.size + "px"));
|
|
2578
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 19, "Articulos"));
|
|
2579
|
+
i0.ɵɵproperty("visible", ctx.showArticulos)("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2580
|
+
i0.ɵɵadvance(6);
|
|
2581
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2582
|
+
i0.ɵɵadvance(9);
|
|
2583
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.key);
|
|
2584
|
+
i0.ɵɵadvance(7);
|
|
2585
|
+
i0.ɵɵproperty("ngModel", ctx.movimiento.almacen);
|
|
2586
|
+
i0.ɵɵadvance(1);
|
|
2587
|
+
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2588
|
+
i0.ɵɵadvance(1);
|
|
2589
|
+
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true);
|
|
2590
|
+
i0.ɵɵadvance(4);
|
|
2591
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(23, _c1));
|
|
2592
|
+
i0.ɵɵadvance(1);
|
|
2593
|
+
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2594
|
+
} }, dependencies: [i4.NgForOf, i4.NgIf, i3.PrimeTemplate, i18.Table, i18.SelectableRow, i21.ButtonDirective, i22.InputText, i27.Paginator, i10.NgSelectOption, i10.ɵNgSelectMultipleOption, i10.DefaultValueAccessor, i10.SelectControlValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i3$1.TranslateDirective, SeleccionArticuloInformacionComponent, i4.DecimalPipe, i4.CurrencyPipe, i3$1.TranslatePipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] }); }
|
|
2530
2595
|
}
|
|
2531
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); };
|
|
2532
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, decls: 30, vars: 25, consts: [[3, "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY", "visibleChange", "onShow", "onHide"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModel", "ngModelChange", "change"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModel", "ngModelChange", "keypress"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], [2, "width", "100px"], ["for", "almacen"], ["pInputText", "", "disabled", "", "id", "almacen", 2, "width", "200px", 3, "ngModel", "ngModelChange", "change"], [3, "value", 4, "ngFor", "ngForOf"], ["scrollHeight", "400px", "selectionMode", "single", 3, "value", "scrollable", "responsive", "onRowSelect"], ["dt", ""], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "showModal", "articulo", "eventSelection", 4, "ngIf"], [3, "value"], ["translate", "", 2, "width", "80px"], ["translate", "", 2, "width", "70px"], ["translate", "", 2, "width", "40px"], ["style", "width: 50px", "translate", "", 4, "ngIf"], ["style", "width: 40px", "translate", "", 4, "ngIf"], ["translate", "", 2, "width", "120px"], ["style", "width: 80px", "translate", "", 4, "ngIf"], ["style", "width: 80px", "translate", "", 4, "ngFor", "ngForOf"], ["translate", "", 2, "width", "50px"], [3, "pSelectableRow"], ["style", "width: 80px;", "translate", "", 4, "ngIf"], ["style", "width: 80px;", 4, "ngIf"], [2, "width", "70px"], [2, "width", "40px"], ["style", "width: 50px;", 4, "ngIf"], ["style", "width: 40px;", 4, "ngIf"], [2, "width", "80px"], [2, "width", "120px"], ["pButton", "", "type", "button", "icon", "pi pi-eye", 1, "ui-button-raised", "ui-button-primary", 3, "click"], ["class", "row justify-content-between", 4, "ngFor", "ngForOf"], ["style", "width: 80px;", 4, "ngFor", "ngForOf"], [2, "width", "50px"], [1, "row", "justify-content-between"], [1, "col-lg-4"], ["for", ""], [3, "showModal", "articulo", "eventSelection"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2533
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2534
|
-
i0.ɵɵlistener("visibleChange", function SeleccionaArticuloComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showArticulos = $event; })("onShow", function SeleccionaArticuloComponent_Template_p_dialog_onShow_0_listener() { return ctx.obtenerExistenciaArticulosShow(); })("onHide", function SeleccionaArticuloComponent_Template_p_dialog_onHide_0_listener() { ctx.busquedaArticulos = { tipoBusqueda: "" }; return ctx.emitirShowArticulos(); });
|
|
2535
|
-
i0.ɵɵpipe(1, "translate");
|
|
2536
|
-
i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "div", 4)(6, "select", 5);
|
|
2537
|
-
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_6_listener($event) { return ctx.busquedaArticulos.tipoBusqueda = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_6_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2538
|
-
i0.ɵɵelementStart(7, "option", 6);
|
|
2539
|
-
i0.ɵɵtext(8, "Codigo");
|
|
2540
|
-
i0.ɵɵelementEnd();
|
|
2541
|
-
i0.ɵɵelementStart(9, "option", 7);
|
|
2542
|
-
i0.ɵɵtext(10, "Descripcion");
|
|
2543
|
-
i0.ɵɵelementEnd();
|
|
2544
|
-
i0.ɵɵelementStart(11, "option", 8);
|
|
2545
|
-
i0.ɵɵtext(12, "Coincidencia");
|
|
2546
|
-
i0.ɵɵelementEnd();
|
|
2547
|
-
i0.ɵɵelementStart(13, "option", 9);
|
|
2548
|
-
i0.ɵɵtext(14, "Igual a");
|
|
2549
|
-
i0.ɵɵelementEnd()()();
|
|
2550
|
-
i0.ɵɵelementStart(15, "input", 10);
|
|
2551
|
-
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_15_listener($event) { return ctx.busquedaArticulos.key = $event; })("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { return ctx.obtenerExistenciaArticulosKey($event); });
|
|
2552
|
-
i0.ɵɵelementEnd();
|
|
2553
|
-
i0.ɵɵelementStart(16, "button", 11);
|
|
2554
|
-
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { return ctx.obtenerExistenciaArticulos(); });
|
|
2555
|
-
i0.ɵɵelementEnd()()();
|
|
2556
|
-
i0.ɵɵelementStart(17, "div", 2)(18, "div", 3)(19, "div", 12)(20, "label", 13);
|
|
2557
|
-
i0.ɵɵtext(21, "Almacen:");
|
|
2558
|
-
i0.ɵɵelementEnd()();
|
|
2559
|
-
i0.ɵɵelementStart(22, "select", 14);
|
|
2560
|
-
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { return ctx.movimiento.almacen = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2561
|
-
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 15);
|
|
2562
|
-
i0.ɵɵelementEnd()()()();
|
|
2563
|
-
i0.ɵɵelementStart(24, "p-table", 16, 17);
|
|
2564
|
-
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2565
|
-
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18);
|
|
2566
|
-
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2567
|
-
i0.ɵɵelementEnd();
|
|
2568
|
-
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2569
|
-
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { return ctx.pagina($event); });
|
|
2570
|
-
i0.ɵɵelementEnd()();
|
|
2571
|
-
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2572
|
-
} if (rf & 2) {
|
|
2573
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(22, _c0$1, ctx.size + "px"));
|
|
2574
|
-
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 20, "Articulos"));
|
|
2575
|
-
i0.ɵɵproperty("visible", ctx.showArticulos)("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2576
|
-
i0.ɵɵadvance(6);
|
|
2577
|
-
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2578
|
-
i0.ɵɵadvance(9);
|
|
2579
|
-
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.key);
|
|
2580
|
-
i0.ɵɵadvance(7);
|
|
2581
|
-
i0.ɵɵproperty("ngModel", ctx.movimiento.almacen);
|
|
2582
|
-
i0.ɵɵadvance(1);
|
|
2583
|
-
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2584
|
-
i0.ɵɵadvance(1);
|
|
2585
|
-
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true)("responsive", true);
|
|
2586
|
-
i0.ɵɵadvance(4);
|
|
2587
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(24, _c1));
|
|
2588
|
-
i0.ɵɵadvance(1);
|
|
2589
|
-
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2590
|
-
} }, dependencies: [i4.NgForOf, i4.NgIf, i3.PrimeTemplate, i6$1.Table, i6$1.SelectableRow, i6.ButtonDirective, i7.InputText, i9.Paginator, i10.NgSelectOption, i10.ɵNgSelectMultipleOption, i10.DefaultValueAccessor, i10.SelectControlValueAccessor, i10.NgControlStatus, i10.NgModel, i11.Dialog, i3$1.TranslateDirective, SeleccionArticuloInformacionComponent, i4.DecimalPipe, i4.CurrencyPipe, i3$1.TranslatePipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] });
|
|
2591
2596
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2592
2597
|
type: Component,
|
|
2593
|
-
args: [{ selector: 'app-selecciona-articulo', template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" [responsive]=\"true\"\n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
2598
|
+
args: [{ selector: 'app-selecciona-articulo', template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\" \n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
2594
2599
|
}], function () { return [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }]; }, { configuracion: [{
|
|
2595
2600
|
type: Input
|
|
2596
2601
|
}], showArticulos: [{
|
|
@@ -2610,9 +2615,9 @@ class AcreedorService extends CrudService {
|
|
|
2610
2615
|
super(httpClient, 'acreedor');
|
|
2611
2616
|
this.httpClient = httpClient;
|
|
2612
2617
|
}
|
|
2618
|
+
/** @nocollapse */ static { this.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
2619
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' }); }
|
|
2613
2620
|
}
|
|
2614
|
-
/** @nocollapse */ AcreedorService.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2615
|
-
/** @nocollapse */ AcreedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' });
|
|
2616
2621
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorService, [{
|
|
2617
2622
|
type: Injectable,
|
|
2618
2623
|
args: [{
|
|
@@ -2766,40 +2771,40 @@ class SelectAcreedorComponent {
|
|
|
2766
2771
|
this.select.emit(e.data);
|
|
2767
2772
|
this.visible = false;
|
|
2768
2773
|
}
|
|
2774
|
+
/** @nocollapse */ static { this.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); }; }
|
|
2775
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 13, 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", "responsiveLayout", "scroll", 3, "value", "selection", "scrollable", "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) {
|
|
2776
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2777
|
+
i0.ɵɵlistener("visibleChange", function SelectAcreedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectAcreedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectAcreedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2778
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "input", 2);
|
|
2779
|
+
i0.ɵɵlistener("ngModelChange", function SelectAcreedorComponent_Template_input_ngModelChange_2_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectAcreedorComponent_Template_input_keyup_2_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2780
|
+
i0.ɵɵpipe(3, "translate");
|
|
2781
|
+
i0.ɵɵelementEnd();
|
|
2782
|
+
i0.ɵɵelementStart(4, "button", 3);
|
|
2783
|
+
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2784
|
+
i0.ɵɵelementEnd()();
|
|
2785
|
+
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2786
|
+
i0.ɵɵlistener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_5_listener($event) { return ctx.acreedorSeleccionado = $event; })("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_5_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
2787
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
2788
|
+
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
2789
|
+
i0.ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2790
|
+
i0.ɵɵelementEnd();
|
|
2791
|
+
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2792
|
+
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2793
|
+
i0.ɵɵelementEnd()();
|
|
2794
|
+
} if (rf & 2) {
|
|
2795
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
2796
|
+
i0.ɵɵadvance(2);
|
|
2797
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 10, "buscar"), "...");
|
|
2798
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2799
|
+
i0.ɵɵadvance(3);
|
|
2800
|
+
i0.ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true);
|
|
2801
|
+
i0.ɵɵadvance(4);
|
|
2802
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(12, _c0));
|
|
2803
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i18.Table, i18.SelectableRow, i21.ButtonDirective, i22.InputText, i27.Paginator, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i4.DatePipe, i3$1.TranslatePipe], encapsulation: 2 }); }
|
|
2769
2804
|
}
|
|
2770
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); };
|
|
2771
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 14, consts: [["header", "Selecciona el acreedor", 3, "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "responsive", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "pSelectableRow"], [4, "ngIf"]], template: function SelectAcreedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2772
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2773
|
-
i0.ɵɵlistener("visibleChange", function SelectAcreedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectAcreedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectAcreedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2774
|
-
i0.ɵɵelementStart(1, "div", 1)(2, "input", 2);
|
|
2775
|
-
i0.ɵɵlistener("ngModelChange", function SelectAcreedorComponent_Template_input_ngModelChange_2_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectAcreedorComponent_Template_input_keyup_2_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2776
|
-
i0.ɵɵpipe(3, "translate");
|
|
2777
|
-
i0.ɵɵelementEnd();
|
|
2778
|
-
i0.ɵɵelementStart(4, "button", 3);
|
|
2779
|
-
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2780
|
-
i0.ɵɵelementEnd()();
|
|
2781
|
-
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2782
|
-
i0.ɵɵlistener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_5_listener($event) { return ctx.acreedorSeleccionado = $event; })("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_5_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
2783
|
-
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
2784
|
-
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
2785
|
-
i0.ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2786
|
-
i0.ɵɵelementEnd();
|
|
2787
|
-
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2788
|
-
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2789
|
-
i0.ɵɵelementEnd()();
|
|
2790
|
-
} if (rf & 2) {
|
|
2791
|
-
i0.ɵɵproperty("visible", ctx.visible);
|
|
2792
|
-
i0.ɵɵadvance(2);
|
|
2793
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 11, "buscar"), "...");
|
|
2794
|
-
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2795
|
-
i0.ɵɵadvance(3);
|
|
2796
|
-
i0.ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true)("responsive", true);
|
|
2797
|
-
i0.ɵɵadvance(4);
|
|
2798
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
2799
|
-
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i6$1.Table, i6$1.SelectableRow, i6.ButtonDirective, i7.InputText, i9.Paginator, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i11.Dialog, i4.DatePipe, i3$1.TranslatePipe], encapsulation: 2 });
|
|
2800
2805
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
2801
2806
|
type: Component,
|
|
2802
|
-
args: [{ selector: 'select-acreedor', template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosAcreedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"cargarDatosAcreedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosAcreedores()\"></button>\n </div>\n <p-table\n [value]=\"acreedores\"\n dataKey=\"id\" selectionMode=\"single\"\n [(selection)]=\"acreedorSeleccionado\"\n (onRowSelect)=\"seleccionarAcreedor($event)\"\n [scrollable]=\"true\"\n scrollHeight=\"350px\"\n
|
|
2807
|
+
args: [{ selector: 'select-acreedor', template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosAcreedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"cargarDatosAcreedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosAcreedores()\"></button>\n </div>\n <p-table\n [value]=\"acreedores\"\n dataKey=\"id\" selectionMode=\"single\"\n [(selection)]=\"acreedorSeleccionado\"\n (onRowSelect)=\"seleccionarAcreedor($event)\"\n [scrollable]=\"true\"\n scrollHeight=\"350px\"\n responsiveLayout=\"scroll\" \n >\n\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'atrasoDiasEntrega' | translate}}</th>\n <th>{{'limiteCredito' | translate}}</th>\n <th>{{'fechaUltimaCompra' | translate}}</th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-acreedor>\n <tr [pSelectableRow]=\"acreedor\">\n <td>{{acreedor.descripcionRazonSocial}}</td>\n <td>{{acreedor.descripcionRfc}}</td>\n <td>\n <span *ngIf=\"acreedor.personaMoral\">{{'moral' | translate}}</span>\n <span *ngIf=\"acreedor.personaFisica\">{{'fisico' | translate}}</span>\n </td>\n <td>{{acreedor.atrasoDiasEntrega}}</td>\n <td>{{acreedor.limiteCredito}}</td>\n <td>{{acreedor.fechaUltimaCompra | date:'dd/MM/yyyy'}}</td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td [attr.colspan]=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
|
|
2803
2808
|
}], function () { return [{ type: AcreedorService }, { type: PaginateService }, { type: i3$1.TranslateService }]; }, { visible: [{
|
|
2804
2809
|
type: Input
|
|
2805
2810
|
}], acreedorSeleccionado: [{
|
|
@@ -2862,23 +2867,23 @@ function HttpLoaderFactory(http) {
|
|
|
2862
2867
|
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
|
2863
2868
|
}
|
|
2864
2869
|
class CoreLibModule {
|
|
2870
|
+
/** @nocollapse */ static { this.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); }; }
|
|
2871
|
+
/** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule }); }
|
|
2872
|
+
/** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
2873
|
+
primeNgServices,
|
|
2874
|
+
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2875
|
+
], imports: [CommonModule,
|
|
2876
|
+
primeNg,
|
|
2877
|
+
FormsModule,
|
|
2878
|
+
ToastrModule.forRoot(),
|
|
2879
|
+
TranslateModule.forRoot({
|
|
2880
|
+
loader: {
|
|
2881
|
+
provide: TranslateLoader,
|
|
2882
|
+
useFactory: HttpLoaderFactory,
|
|
2883
|
+
deps: [HttpClient]
|
|
2884
|
+
}
|
|
2885
|
+
}), i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, TranslateModule] }); }
|
|
2865
2886
|
}
|
|
2866
|
-
/** @nocollapse */ CoreLibModule.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); };
|
|
2867
|
-
/** @nocollapse */ CoreLibModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule });
|
|
2868
|
-
/** @nocollapse */ CoreLibModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
2869
|
-
primeNgServices,
|
|
2870
|
-
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2871
|
-
], imports: [CommonModule,
|
|
2872
|
-
primeNg,
|
|
2873
|
-
FormsModule,
|
|
2874
|
-
ToastrModule.forRoot(),
|
|
2875
|
-
TranslateModule.forRoot({
|
|
2876
|
-
loader: {
|
|
2877
|
-
provide: TranslateLoader,
|
|
2878
|
-
useFactory: HttpLoaderFactory,
|
|
2879
|
-
deps: [HttpClient]
|
|
2880
|
-
}
|
|
2881
|
-
})] });
|
|
2882
2887
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
|
|
2883
2888
|
type: NgModule,
|
|
2884
2889
|
args: [{
|
|
@@ -2905,10 +2910,10 @@ class CoreLibModule {
|
|
|
2905
2910
|
primeNgServices,
|
|
2906
2911
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2907
2912
|
],
|
|
2908
|
-
exports: [components, contaComponents]
|
|
2913
|
+
exports: [components, contaComponents, primeNg, TranslateModule]
|
|
2909
2914
|
}]
|
|
2910
2915
|
}], null, null); })();
|
|
2911
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CoreLibModule, { declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule,
|
|
2916
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CoreLibModule, { declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, FormsModule, i1$1.ToastrModule, i3$1.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, TranslateModule] }); })();
|
|
2912
2917
|
|
|
2913
2918
|
class ControlAccesoService {
|
|
2914
2919
|
constructor(authService) {
|
|
@@ -2935,9 +2940,9 @@ class ControlAccesoService {
|
|
|
2935
2940
|
}
|
|
2936
2941
|
return permiso;
|
|
2937
2942
|
}
|
|
2943
|
+
/** @nocollapse */ static { this.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); }; }
|
|
2944
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' }); }
|
|
2938
2945
|
}
|
|
2939
|
-
/** @nocollapse */ ControlAccesoService.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); };
|
|
2940
|
-
/** @nocollapse */ ControlAccesoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' });
|
|
2941
2946
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
|
|
2942
2947
|
type: Injectable,
|
|
2943
2948
|
args: [{
|
|
@@ -2984,9 +2989,9 @@ class InitService {
|
|
|
2984
2989
|
});
|
|
2985
2990
|
});
|
|
2986
2991
|
}
|
|
2992
|
+
/** @nocollapse */ static { this.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); }; }
|
|
2993
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' }); }
|
|
2987
2994
|
}
|
|
2988
|
-
/** @nocollapse */ InitService.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); };
|
|
2989
|
-
/** @nocollapse */ InitService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' });
|
|
2990
2995
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
|
|
2991
2996
|
type: Injectable,
|
|
2992
2997
|
args: [{
|
|
@@ -3059,9 +3064,9 @@ class MessageService {
|
|
|
3059
3064
|
}
|
|
3060
3065
|
return msgs;
|
|
3061
3066
|
}
|
|
3067
|
+
/** @nocollapse */ static { this.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); }; }
|
|
3068
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' }); }
|
|
3062
3069
|
}
|
|
3063
|
-
/** @nocollapse */ MessageService.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); };
|
|
3064
|
-
/** @nocollapse */ MessageService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' });
|
|
3065
3070
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
|
|
3066
3071
|
type: Injectable,
|
|
3067
3072
|
args: [{
|
|
@@ -3073,9 +3078,9 @@ class PersonaMoralService extends CrudService {
|
|
|
3073
3078
|
constructor(http) {
|
|
3074
3079
|
super(http, '/personaMoral');
|
|
3075
3080
|
}
|
|
3081
|
+
/** @nocollapse */ static { this.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3082
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' }); }
|
|
3076
3083
|
}
|
|
3077
|
-
/** @nocollapse */ PersonaMoralService.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3078
|
-
/** @nocollapse */ PersonaMoralService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' });
|
|
3079
3084
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
|
|
3080
3085
|
type: Injectable,
|
|
3081
3086
|
args: [{
|
|
@@ -3095,9 +3100,9 @@ class CanActivateGuard {
|
|
|
3095
3100
|
permisos(rol) {
|
|
3096
3101
|
this.rol = rol;
|
|
3097
3102
|
}
|
|
3103
|
+
/** @nocollapse */ static { this.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); }; }
|
|
3104
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' }); }
|
|
3098
3105
|
}
|
|
3099
|
-
/** @nocollapse */ CanActivateGuard.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); };
|
|
3100
|
-
/** @nocollapse */ CanActivateGuard.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' });
|
|
3101
3106
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
|
|
3102
3107
|
type: Injectable,
|
|
3103
3108
|
args: [{
|
|
@@ -3110,9 +3115,9 @@ class CatalogoAdicionalService extends CrudService {
|
|
|
3110
3115
|
super(httpClient, 'catalogoAdicional');
|
|
3111
3116
|
this.httpClient = httpClient;
|
|
3112
3117
|
}
|
|
3118
|
+
/** @nocollapse */ static { this.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3119
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' }); }
|
|
3113
3120
|
}
|
|
3114
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3115
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' });
|
|
3116
3121
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
|
|
3117
3122
|
type: Injectable,
|
|
3118
3123
|
args: [{
|
|
@@ -3179,9 +3184,9 @@ class Authenticated {
|
|
|
3179
3184
|
}
|
|
3180
3185
|
window.location.href = host;
|
|
3181
3186
|
}
|
|
3187
|
+
/** @nocollapse */ static { this.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$3.Router)); }; }
|
|
3188
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' }); }
|
|
3182
3189
|
}
|
|
3183
|
-
/** @nocollapse */ Authenticated.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$3.Router)); };
|
|
3184
|
-
/** @nocollapse */ Authenticated.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' });
|
|
3185
3190
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
|
|
3186
3191
|
type: Injectable,
|
|
3187
3192
|
args: [{
|
|
@@ -3227,9 +3232,9 @@ class VersionCheckService {
|
|
|
3227
3232
|
}
|
|
3228
3233
|
return currentHash === newHash;
|
|
3229
3234
|
}
|
|
3235
|
+
/** @nocollapse */ static { this.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3236
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' }); }
|
|
3230
3237
|
}
|
|
3231
|
-
/** @nocollapse */ VersionCheckService.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3232
|
-
/** @nocollapse */ VersionCheckService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' });
|
|
3233
3238
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
|
|
3234
3239
|
type: Injectable,
|
|
3235
3240
|
args: [{
|
|
@@ -3254,9 +3259,9 @@ class AgenteService extends CrudService {
|
|
|
3254
3259
|
let url = this.geturl() + '/obtenerAgenteEmpresa';
|
|
3255
3260
|
return this.getHttp().get(url, this.buildAuth());
|
|
3256
3261
|
}
|
|
3262
|
+
/** @nocollapse */ static { this.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3263
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' }); }
|
|
3257
3264
|
}
|
|
3258
|
-
/** @nocollapse */ AgenteService.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3259
|
-
/** @nocollapse */ AgenteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' });
|
|
3260
3265
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
|
|
3261
3266
|
type: Injectable,
|
|
3262
3267
|
args: [{
|
|
@@ -3283,9 +3288,9 @@ class BancoService extends CrudService {
|
|
|
3283
3288
|
constructor(http) {
|
|
3284
3289
|
super(http, '/banco');
|
|
3285
3290
|
}
|
|
3291
|
+
/** @nocollapse */ static { this.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3292
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' }); }
|
|
3286
3293
|
}
|
|
3287
|
-
/** @nocollapse */ BancoService.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3288
|
-
/** @nocollapse */ BancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' });
|
|
3289
3294
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
|
|
3290
3295
|
type: Injectable,
|
|
3291
3296
|
args: [{
|
|
@@ -3301,9 +3306,9 @@ class CatalogoTipoService extends CrudService {
|
|
|
3301
3306
|
constructor(htt) {
|
|
3302
3307
|
super(htt, '/catalogoTipo');
|
|
3303
3308
|
}
|
|
3309
|
+
/** @nocollapse */ static { this.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3310
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' }); }
|
|
3304
3311
|
}
|
|
3305
|
-
/** @nocollapse */ CatalogoTipoService.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3306
|
-
/** @nocollapse */ CatalogoTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' });
|
|
3307
3312
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
|
|
3308
3313
|
type: Injectable,
|
|
3309
3314
|
args: [{
|
|
@@ -3315,9 +3320,9 @@ class ClasificadorTipoService extends CrudService {
|
|
|
3315
3320
|
constructor(http) {
|
|
3316
3321
|
super(http, '/clasificadorTipo');
|
|
3317
3322
|
}
|
|
3323
|
+
/** @nocollapse */ static { this.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3324
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' }); }
|
|
3318
3325
|
}
|
|
3319
|
-
/** @nocollapse */ ClasificadorTipoService.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3320
|
-
/** @nocollapse */ ClasificadorTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' });
|
|
3321
3326
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
|
|
3322
3327
|
type: Injectable,
|
|
3323
3328
|
args: [{
|
|
@@ -3333,9 +3338,9 @@ class ClaveMovimientoService extends CrudService {
|
|
|
3333
3338
|
constructor(http) {
|
|
3334
3339
|
super(http, 'claveMovimiento');
|
|
3335
3340
|
}
|
|
3341
|
+
/** @nocollapse */ static { this.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3342
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' }); }
|
|
3336
3343
|
}
|
|
3337
|
-
/** @nocollapse */ ClaveMovimientoService.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3338
|
-
/** @nocollapse */ ClaveMovimientoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' });
|
|
3339
3344
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
|
|
3340
3345
|
type: Injectable,
|
|
3341
3346
|
args: [{
|
|
@@ -3371,9 +3376,9 @@ class ClienteCuentaBancoService extends CrudService {
|
|
|
3371
3376
|
let p = { 'cuentas': params };
|
|
3372
3377
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3373
3378
|
}
|
|
3379
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3380
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' }); }
|
|
3374
3381
|
}
|
|
3375
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3376
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3377
3382
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
|
|
3378
3383
|
type: Injectable,
|
|
3379
3384
|
args: [{
|
|
@@ -3390,9 +3395,9 @@ class ClienteFleteService extends CrudService {
|
|
|
3390
3395
|
let params = { fletes: p };
|
|
3391
3396
|
return this.save(params);
|
|
3392
3397
|
}
|
|
3398
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3399
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' }); }
|
|
3393
3400
|
}
|
|
3394
|
-
/** @nocollapse */ ClienteFleteService.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3395
|
-
/** @nocollapse */ ClienteFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' });
|
|
3396
3401
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
|
|
3397
3402
|
type: Injectable,
|
|
3398
3403
|
args: [{
|
|
@@ -3416,9 +3421,9 @@ class DatoContactoService extends CrudService {
|
|
|
3416
3421
|
constructor(http) {
|
|
3417
3422
|
super(http, '/contacto');
|
|
3418
3423
|
}
|
|
3424
|
+
/** @nocollapse */ static { this.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3425
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' }); }
|
|
3419
3426
|
}
|
|
3420
|
-
/** @nocollapse */ DatoContactoService.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3421
|
-
/** @nocollapse */ DatoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' });
|
|
3422
3427
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
|
|
3423
3428
|
type: Injectable,
|
|
3424
3429
|
args: [{
|
|
@@ -3430,9 +3435,9 @@ class DatoDireccionService extends CrudService {
|
|
|
3430
3435
|
constructor(http) {
|
|
3431
3436
|
super(http, '/datoDireccion');
|
|
3432
3437
|
}
|
|
3438
|
+
/** @nocollapse */ static { this.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3439
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' }); }
|
|
3433
3440
|
}
|
|
3434
|
-
/** @nocollapse */ DatoDireccionService.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3435
|
-
/** @nocollapse */ DatoDireccionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' });
|
|
3436
3441
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
|
|
3437
3442
|
type: Injectable,
|
|
3438
3443
|
args: [{
|
|
@@ -3449,9 +3454,9 @@ class DepartamentoService extends CrudService {
|
|
|
3449
3454
|
constructor(http) {
|
|
3450
3455
|
super(http, '/departamento');
|
|
3451
3456
|
}
|
|
3457
|
+
/** @nocollapse */ static { this.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3458
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' }); }
|
|
3452
3459
|
}
|
|
3453
|
-
/** @nocollapse */ DepartamentoService.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3454
|
-
/** @nocollapse */ DepartamentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' });
|
|
3455
3460
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
|
|
3456
3461
|
type: Injectable,
|
|
3457
3462
|
args: [{
|
|
@@ -3486,9 +3491,9 @@ class EmpresaService extends CrudService {
|
|
|
3486
3491
|
// return super.get(1);
|
|
3487
3492
|
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
3488
3493
|
}
|
|
3494
|
+
/** @nocollapse */ static { this.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3495
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' }); }
|
|
3489
3496
|
}
|
|
3490
|
-
/** @nocollapse */ EmpresaService.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3491
|
-
/** @nocollapse */ EmpresaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' });
|
|
3492
3497
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
|
|
3493
3498
|
type: Injectable,
|
|
3494
3499
|
args: [{
|
|
@@ -3501,9 +3506,9 @@ class FleteService extends CrudService {
|
|
|
3501
3506
|
super(httpClient, '/flete');
|
|
3502
3507
|
this.httpClient = httpClient;
|
|
3503
3508
|
}
|
|
3509
|
+
/** @nocollapse */ static { this.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3510
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' }); }
|
|
3504
3511
|
}
|
|
3505
|
-
/** @nocollapse */ FleteService.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3506
|
-
/** @nocollapse */ FleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' });
|
|
3507
3512
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
|
|
3508
3513
|
type: Injectable,
|
|
3509
3514
|
args: [{
|
|
@@ -3515,9 +3520,9 @@ class FormaPagoService extends CrudService {
|
|
|
3515
3520
|
constructor(http) {
|
|
3516
3521
|
super(http, '/FormaDePago');
|
|
3517
3522
|
}
|
|
3523
|
+
/** @nocollapse */ static { this.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3524
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" }); }
|
|
3518
3525
|
}
|
|
3519
|
-
/** @nocollapse */ FormaPagoService.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3520
|
-
/** @nocollapse */ FormaPagoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" });
|
|
3521
3526
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
|
|
3522
3527
|
type: Injectable,
|
|
3523
3528
|
args: [{
|
|
@@ -3534,9 +3539,9 @@ class MonedaService extends CrudService {
|
|
|
3534
3539
|
super(httpClient, '/moneda');
|
|
3535
3540
|
this.httpClient = httpClient;
|
|
3536
3541
|
}
|
|
3542
|
+
/** @nocollapse */ static { this.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3543
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' }); }
|
|
3537
3544
|
}
|
|
3538
|
-
/** @nocollapse */ MonedaService.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3539
|
-
/** @nocollapse */ MonedaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' });
|
|
3540
3545
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
|
|
3541
3546
|
type: Injectable,
|
|
3542
3547
|
args: [{
|
|
@@ -3563,9 +3568,9 @@ class PersonaFisicaService extends CrudService {
|
|
|
3563
3568
|
getEstadoCivil() {
|
|
3564
3569
|
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
3565
3570
|
}
|
|
3571
|
+
/** @nocollapse */ static { this.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3572
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" }); }
|
|
3566
3573
|
}
|
|
3567
|
-
/** @nocollapse */ PersonaFisicaService.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3568
|
-
/** @nocollapse */ PersonaFisicaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" });
|
|
3569
3574
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
|
|
3570
3575
|
type: Injectable,
|
|
3571
3576
|
args: [{
|
|
@@ -3597,9 +3602,9 @@ class ProveedorCuentaBancoService extends CrudService {
|
|
|
3597
3602
|
let p = { 'cuentas': params };
|
|
3598
3603
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3599
3604
|
}
|
|
3605
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3606
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' }); }
|
|
3600
3607
|
}
|
|
3601
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3602
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3603
3608
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
|
|
3604
3609
|
type: Injectable,
|
|
3605
3610
|
args: [{
|
|
@@ -3616,9 +3621,9 @@ class ProveedorFleteService extends CrudService {
|
|
|
3616
3621
|
let params = { fletes: p };
|
|
3617
3622
|
return this.save(params);
|
|
3618
3623
|
}
|
|
3624
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3625
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' }); }
|
|
3619
3626
|
}
|
|
3620
|
-
/** @nocollapse */ ProveedorFleteService.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3621
|
-
/** @nocollapse */ ProveedorFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' });
|
|
3622
3627
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
|
|
3623
3628
|
type: Injectable,
|
|
3624
3629
|
args: [{
|
|
@@ -3630,9 +3635,9 @@ class ClaveAumentoDisminucionService extends CrudService {
|
|
|
3630
3635
|
constructor(http) {
|
|
3631
3636
|
super(http, 'claveAumentoDisminucion');
|
|
3632
3637
|
}
|
|
3638
|
+
/** @nocollapse */ static { this.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3639
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' }); }
|
|
3633
3640
|
}
|
|
3634
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3635
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' });
|
|
3636
3641
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
|
|
3637
3642
|
type: Injectable,
|
|
3638
3643
|
args: [{
|
|
@@ -3651,9 +3656,9 @@ class SerieDocumentoService extends CrudService {
|
|
|
3651
3656
|
getReporte(params) {
|
|
3652
3657
|
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
3653
3658
|
}
|
|
3659
|
+
/** @nocollapse */ static { this.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3660
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' }); }
|
|
3654
3661
|
}
|
|
3655
|
-
/** @nocollapse */ SerieDocumentoService.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3656
|
-
/** @nocollapse */ SerieDocumentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' });
|
|
3657
3662
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
|
|
3658
3663
|
type: Injectable,
|
|
3659
3664
|
args: [{
|
|
@@ -3669,9 +3674,9 @@ class TipoContactoService extends CrudService {
|
|
|
3669
3674
|
constructor(http) {
|
|
3670
3675
|
super(http, '/tipoContacto');
|
|
3671
3676
|
}
|
|
3677
|
+
/** @nocollapse */ static { this.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3678
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' }); }
|
|
3672
3679
|
}
|
|
3673
|
-
/** @nocollapse */ TipoContactoService.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3674
|
-
/** @nocollapse */ TipoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' });
|
|
3675
3680
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
|
|
3676
3681
|
type: Injectable,
|
|
3677
3682
|
args: [{
|
|
@@ -3687,9 +3692,9 @@ class UbicacionService extends CrudService {
|
|
|
3687
3692
|
constructor(http) {
|
|
3688
3693
|
super(http, 'ubicacion');
|
|
3689
3694
|
}
|
|
3695
|
+
/** @nocollapse */ static { this.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3696
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' }); }
|
|
3690
3697
|
}
|
|
3691
|
-
/** @nocollapse */ UbicacionService.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3692
|
-
/** @nocollapse */ UbicacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' });
|
|
3693
3698
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
|
|
3694
3699
|
type: Injectable,
|
|
3695
3700
|
args: [{
|
|
@@ -3698,9 +3703,9 @@ class UbicacionService extends CrudService {
|
|
|
3698
3703
|
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3699
3704
|
|
|
3700
3705
|
class TipoCatalogo {
|
|
3706
|
+
static { this.ARTICULO = 2; }
|
|
3707
|
+
static { this.USO_CFDI = 11; }
|
|
3701
3708
|
}
|
|
3702
|
-
TipoCatalogo.ARTICULO = 2;
|
|
3703
|
-
TipoCatalogo.USO_CFDI = 11;
|
|
3704
3709
|
|
|
3705
3710
|
class AcreedorCuentaContableService extends CrudService {
|
|
3706
3711
|
constructor(httpClient) {
|
|
@@ -3711,9 +3716,9 @@ class AcreedorCuentaContableService extends CrudService {
|
|
|
3711
3716
|
let uRL = "/cuentaContable/obtieneCuentasContablesRecursivo/";
|
|
3712
3717
|
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
3713
3718
|
}
|
|
3719
|
+
/** @nocollapse */ static { this.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3720
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' }); }
|
|
3714
3721
|
}
|
|
3715
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3716
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' });
|
|
3717
3722
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorCuentaContableService, [{
|
|
3718
3723
|
type: Injectable,
|
|
3719
3724
|
args: [{
|