visorus-erp-core 15.0.1 → 16.0.1
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/lib/globalPrimeNg.d.ts +2 -2
- 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 -4084
- 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"] }]
|
|
@@ -1154,9 +1154,9 @@ class AuthService {
|
|
|
1154
1154
|
this.url_host = config.url;
|
|
1155
1155
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioConfiguracion', httpOptions);
|
|
1156
1156
|
}
|
|
1157
|
+
/** @nocollapse */ static { this.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1158
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
1157
1159
|
}
|
|
1158
|
-
/** @nocollapse */ AuthService.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1159
|
-
/** @nocollapse */ AuthService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' });
|
|
1160
1160
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1161
1161
|
type: Injectable,
|
|
1162
1162
|
args: [{
|
|
@@ -1291,21 +1291,21 @@ class LoginModalComponent {
|
|
|
1291
1291
|
$('#modalLogin').modal('hide');
|
|
1292
1292
|
});
|
|
1293
1293
|
}
|
|
1294
|
+
/** @nocollapse */ static { this.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); }; }
|
|
1295
|
+
/** @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) {
|
|
1296
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
1297
|
+
i0.ɵɵelement(5, "img", 5);
|
|
1298
|
+
i0.ɵɵelementEnd();
|
|
1299
|
+
i0.ɵɵtemplate(6, LoginModalComponent_div_6_Template, 20, 15, "div", 6);
|
|
1300
|
+
i0.ɵɵtemplate(7, LoginModalComponent_div_7_Template, 6, 1, "div", 6);
|
|
1301
|
+
i0.ɵɵelementEnd()()()();
|
|
1302
|
+
} if (rf & 2) {
|
|
1303
|
+
i0.ɵɵadvance(6);
|
|
1304
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1305
|
+
i0.ɵɵadvance(1);
|
|
1306
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1307
|
+
} }, dependencies: [i4.NgForOf, i4.NgIf, i10.ɵNgNoValidate, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgControlStatusGroup, i10.RequiredValidator, i10.NgModel, i10.NgForm, i3$1.TranslateDirective, i3$1.TranslatePipe], styles: [".modal[_ngcontent-%COMP%]{z-index:2050!important}.btn-primary_low[_ngcontent-%COMP%]{background:#133659!important}.ng-valid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.ng-invalid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.card[_ngcontent-%COMP%]{background:#26baed;color:#fff}.card-body[_ngcontent-%COMP%]{padding:10px}"] }); }
|
|
1294
1308
|
}
|
|
1295
|
-
/** @nocollapse */ LoginModalComponent.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); };
|
|
1296
|
-
/** @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) {
|
|
1297
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
1298
|
-
i0.ɵɵelement(5, "img", 5);
|
|
1299
|
-
i0.ɵɵelementEnd();
|
|
1300
|
-
i0.ɵɵtemplate(6, LoginModalComponent_div_6_Template, 20, 15, "div", 6);
|
|
1301
|
-
i0.ɵɵtemplate(7, LoginModalComponent_div_7_Template, 6, 1, "div", 6);
|
|
1302
|
-
i0.ɵɵelementEnd()()()();
|
|
1303
|
-
} if (rf & 2) {
|
|
1304
|
-
i0.ɵɵadvance(6);
|
|
1305
|
-
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1306
|
-
i0.ɵɵadvance(1);
|
|
1307
|
-
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1308
|
-
} }, 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}"] });
|
|
1309
1309
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1310
1310
|
type: Component,
|
|
1311
1311
|
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"] }]
|
|
@@ -1316,9 +1316,9 @@ class SessionCajaService extends CrudService {
|
|
|
1316
1316
|
super(httpClient, 'sessionCaja');
|
|
1317
1317
|
this.httpClient = httpClient;
|
|
1318
1318
|
}
|
|
1319
|
+
/** @nocollapse */ static { this.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1320
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' }); }
|
|
1319
1321
|
}
|
|
1320
|
-
/** @nocollapse */ SessionCajaService.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1321
|
-
/** @nocollapse */ SessionCajaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' });
|
|
1322
1322
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
|
|
1323
1323
|
type: Injectable,
|
|
1324
1324
|
args: [{
|
|
@@ -1458,24 +1458,24 @@ class SessionCreateComponent {
|
|
|
1458
1458
|
this.status.emit({ status: false, update: this.resp.data });
|
|
1459
1459
|
}
|
|
1460
1460
|
}
|
|
1461
|
+
/** @nocollapse */ static { this.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); }; }
|
|
1462
|
+
/** @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) {
|
|
1463
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1464
|
+
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(); });
|
|
1465
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1466
|
+
i0.ɵɵtemplate(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1467
|
+
i0.ɵɵelementStart(3, "div");
|
|
1468
|
+
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1469
|
+
i0.ɵɵelementEnd();
|
|
1470
|
+
i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1471
|
+
i0.ɵɵelementEnd();
|
|
1472
|
+
} if (rf & 2) {
|
|
1473
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$4));
|
|
1474
|
+
i0.ɵɵproperty("visible", ctx.showCreateSession)("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1475
|
+
i0.ɵɵadvance(2);
|
|
1476
|
+
i0.ɵɵproperty("ngIf", ctx.caja);
|
|
1477
|
+
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i21.ButtonDirective, i22.InputText, i10.DefaultValueAccessor, i10.NumberValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog] }); }
|
|
1461
1478
|
}
|
|
1462
|
-
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); };
|
|
1463
|
-
/** @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) {
|
|
1464
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1465
|
-
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(); });
|
|
1466
|
-
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1467
|
-
i0.ɵɵtemplate(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1468
|
-
i0.ɵɵelementStart(3, "div");
|
|
1469
|
-
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1470
|
-
i0.ɵɵelementEnd();
|
|
1471
|
-
i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1472
|
-
i0.ɵɵelementEnd();
|
|
1473
|
-
} if (rf & 2) {
|
|
1474
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$4));
|
|
1475
|
-
i0.ɵɵproperty("visible", ctx.showCreateSession)("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1476
|
-
i0.ɵɵadvance(2);
|
|
1477
|
-
i0.ɵɵproperty("ngIf", ctx.caja);
|
|
1478
|
-
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i6.ButtonDirective, i7.InputText, i10.DefaultValueAccessor, i10.NumberValueAccessor, i10.NgControlStatus, i10.NgModel, i11.Dialog] });
|
|
1479
1479
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1480
1480
|
type: Component,
|
|
1481
1481
|
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>" }]
|
|
@@ -1539,9 +1539,9 @@ class ClienteService extends CrudService {
|
|
|
1539
1539
|
validar_archivos_bss(id) {
|
|
1540
1540
|
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
1541
1541
|
}
|
|
1542
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1543
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' }); }
|
|
1542
1544
|
}
|
|
1543
|
-
/** @nocollapse */ ClienteService.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1544
|
-
/** @nocollapse */ ClienteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' });
|
|
1545
1545
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
|
|
1546
1546
|
type: Injectable,
|
|
1547
1547
|
args: [{
|
|
@@ -1593,9 +1593,9 @@ class PaginateService {
|
|
|
1593
1593
|
}, erro => { });
|
|
1594
1594
|
return ordenar;
|
|
1595
1595
|
}
|
|
1596
|
+
/** @nocollapse */ static { this.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i3$1.TranslateService)); }; }
|
|
1597
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" }); }
|
|
1596
1598
|
}
|
|
1597
|
-
/** @nocollapse */ PaginateService.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i3$1.TranslateService)); };
|
|
1598
|
-
/** @nocollapse */ PaginateService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" });
|
|
1599
1599
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
|
|
1600
1600
|
type: Injectable,
|
|
1601
1601
|
args: [{
|
|
@@ -1761,35 +1761,35 @@ class SelectClienteComponent {
|
|
|
1761
1761
|
this.select.emit(null);
|
|
1762
1762
|
this.visible = false;
|
|
1763
1763
|
}
|
|
1764
|
+
/** @nocollapse */ static { this.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); }; }
|
|
1765
|
+
/** @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) {
|
|
1766
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1767
|
+
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(); });
|
|
1768
|
+
i0.ɵɵpipe(1, "translate");
|
|
1769
|
+
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1770
|
+
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(); });
|
|
1771
|
+
i0.ɵɵpipe(4, "translate");
|
|
1772
|
+
i0.ɵɵelementEnd();
|
|
1773
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1774
|
+
i0.ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1775
|
+
i0.ɵɵelementEnd()();
|
|
1776
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1777
|
+
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); });
|
|
1778
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5);
|
|
1779
|
+
i0.ɵɵtemplate(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6);
|
|
1780
|
+
i0.ɵɵtemplate(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1781
|
+
i0.ɵɵelementEnd()();
|
|
1782
|
+
} if (rf & 2) {
|
|
1783
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 13, "Seleccionar cliente "));
|
|
1784
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
1785
|
+
i0.ɵɵadvance(3);
|
|
1786
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 15, "buscar"), "...");
|
|
1787
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1788
|
+
i0.ɵɵadvance(3);
|
|
1789
|
+
i0.ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1790
|
+
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);
|
|
1791
|
+
} }, 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 }); }
|
|
1764
1792
|
}
|
|
1765
|
-
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); };
|
|
1766
|
-
/** @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) {
|
|
1767
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1768
|
-
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(); });
|
|
1769
|
-
i0.ɵɵpipe(1, "translate");
|
|
1770
|
-
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1771
|
-
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(); });
|
|
1772
|
-
i0.ɵɵpipe(4, "translate");
|
|
1773
|
-
i0.ɵɵelementEnd();
|
|
1774
|
-
i0.ɵɵelementStart(5, "button", 3);
|
|
1775
|
-
i0.ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1776
|
-
i0.ɵɵelementEnd()();
|
|
1777
|
-
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1778
|
-
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); });
|
|
1779
|
-
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5);
|
|
1780
|
-
i0.ɵɵtemplate(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6);
|
|
1781
|
-
i0.ɵɵtemplate(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1782
|
-
i0.ɵɵelementEnd()();
|
|
1783
|
-
} if (rf & 2) {
|
|
1784
|
-
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 13, "Seleccionar cliente "));
|
|
1785
|
-
i0.ɵɵproperty("visible", ctx.visible);
|
|
1786
|
-
i0.ɵɵadvance(3);
|
|
1787
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 15, "buscar"), "...");
|
|
1788
|
-
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1789
|
-
i0.ɵɵadvance(3);
|
|
1790
|
-
i0.ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1791
|
-
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);
|
|
1792
|
-
} }, 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 });
|
|
1793
1793
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1794
1794
|
type: Component,
|
|
1795
1795
|
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>" }]
|
|
@@ -1821,9 +1821,9 @@ class ProveedorService extends CrudService {
|
|
|
1821
1821
|
super(httpClient, '/proveedor');
|
|
1822
1822
|
this.httpClient = httpClient;
|
|
1823
1823
|
}
|
|
1824
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1825
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' }); }
|
|
1824
1826
|
}
|
|
1825
|
-
/** @nocollapse */ ProveedorService.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1826
|
-
/** @nocollapse */ ProveedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' });
|
|
1827
1827
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
|
|
1828
1828
|
type: Injectable,
|
|
1829
1829
|
args: [{
|
|
@@ -1910,38 +1910,38 @@ class SelectProveedorComponent {
|
|
|
1910
1910
|
this.select.emit(e.data);
|
|
1911
1911
|
this.visible = false;
|
|
1912
1912
|
}
|
|
1913
|
+
/** @nocollapse */ static { this.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); }; }
|
|
1914
|
+
/** @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) {
|
|
1915
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1916
|
+
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(); });
|
|
1917
|
+
i0.ɵɵpipe(1, "translate");
|
|
1918
|
+
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1919
|
+
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(); });
|
|
1920
|
+
i0.ɵɵpipe(4, "translate");
|
|
1921
|
+
i0.ɵɵelementEnd();
|
|
1922
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1923
|
+
i0.ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
1924
|
+
i0.ɵɵelementEnd()();
|
|
1925
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1926
|
+
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); });
|
|
1927
|
+
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5);
|
|
1928
|
+
i0.ɵɵtemplate(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
1929
|
+
i0.ɵɵelementEnd();
|
|
1930
|
+
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
1931
|
+
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
1932
|
+
i0.ɵɵelementEnd()();
|
|
1933
|
+
} if (rf & 2) {
|
|
1934
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 11, "ArticuloProveedor.proveedores"));
|
|
1935
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
1936
|
+
i0.ɵɵadvance(3);
|
|
1937
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 13, "buscar"), "...");
|
|
1938
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1939
|
+
i0.ɵɵadvance(3);
|
|
1940
|
+
i0.ɵɵproperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado)("scrollable", true);
|
|
1941
|
+
i0.ɵɵadvance(3);
|
|
1942
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(15, _c0$3));
|
|
1943
|
+
} }, dependencies: [i3.PrimeTemplate, i18.Table, i21.ButtonDirective, i22.InputText, i27.Paginator, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i33.Dialog, i3$1.TranslatePipe], encapsulation: 2 }); }
|
|
1913
1944
|
}
|
|
1914
|
-
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); };
|
|
1915
|
-
/** @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) {
|
|
1916
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1917
|
-
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(); });
|
|
1918
|
-
i0.ɵɵpipe(1, "translate");
|
|
1919
|
-
i0.ɵɵelementStart(2, "div", 1)(3, "input", 2);
|
|
1920
|
-
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(); });
|
|
1921
|
-
i0.ɵɵpipe(4, "translate");
|
|
1922
|
-
i0.ɵɵelementEnd();
|
|
1923
|
-
i0.ɵɵelementStart(5, "button", 3);
|
|
1924
|
-
i0.ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
1925
|
-
i0.ɵɵelementEnd()();
|
|
1926
|
-
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1927
|
-
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); });
|
|
1928
|
-
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5);
|
|
1929
|
-
i0.ɵɵtemplate(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
1930
|
-
i0.ɵɵelementEnd();
|
|
1931
|
-
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
1932
|
-
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
1933
|
-
i0.ɵɵelementEnd()();
|
|
1934
|
-
} if (rf & 2) {
|
|
1935
|
-
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 11, "ArticuloProveedor.proveedores"));
|
|
1936
|
-
i0.ɵɵproperty("visible", ctx.visible);
|
|
1937
|
-
i0.ɵɵadvance(3);
|
|
1938
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 13, "buscar"), "...");
|
|
1939
|
-
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1940
|
-
i0.ɵɵadvance(3);
|
|
1941
|
-
i0.ɵɵproperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado)("scrollable", true);
|
|
1942
|
-
i0.ɵɵadvance(3);
|
|
1943
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(15, _c0$3));
|
|
1944
|
-
} }, 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 });
|
|
1945
1945
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
1946
1946
|
type: Component,
|
|
1947
1947
|
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>" }]
|
|
@@ -1962,9 +1962,9 @@ class AlmacenService extends CrudService {
|
|
|
1962
1962
|
let url = this.geturl() + '/obtenerAlmacenEmpresa';
|
|
1963
1963
|
return this.getHttp().get(url, this.buildAuth());
|
|
1964
1964
|
}
|
|
1965
|
+
/** @nocollapse */ static { this.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1966
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' }); }
|
|
1965
1967
|
}
|
|
1966
|
-
/** @nocollapse */ AlmacenService.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1967
|
-
/** @nocollapse */ AlmacenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' });
|
|
1968
1968
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
|
|
1969
1969
|
type: Injectable,
|
|
1970
1970
|
args: [{
|
|
@@ -1988,9 +1988,9 @@ class StockService extends CrudService {
|
|
|
1988
1988
|
});
|
|
1989
1989
|
return promesa;
|
|
1990
1990
|
}
|
|
1991
|
+
/** @nocollapse */ static { this.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1992
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' }); }
|
|
1991
1993
|
}
|
|
1992
|
-
/** @nocollapse */ StockService.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1993
|
-
/** @nocollapse */ StockService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' });
|
|
1994
1994
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
|
|
1995
1995
|
type: Injectable,
|
|
1996
1996
|
args: [{
|
|
@@ -2007,9 +2007,9 @@ class ArticuloInformacionService extends CrudService {
|
|
|
2007
2007
|
let uRL = "/existenciasArticulo/" + articulo;
|
|
2008
2008
|
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
2009
2009
|
}
|
|
2010
|
+
/** @nocollapse */ static { this.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
2011
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' }); }
|
|
2010
2012
|
}
|
|
2011
|
-
/** @nocollapse */ ArticuloInformacionService.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2012
|
-
/** @nocollapse */ ArticuloInformacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' });
|
|
2013
2013
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
|
|
2014
2014
|
type: Injectable,
|
|
2015
2015
|
args: [{
|
|
@@ -2020,35 +2020,35 @@ class ArticuloInformacionService extends CrudService {
|
|
|
2020
2020
|
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
2021
2021
|
i0.ɵɵelement(0, "col");
|
|
2022
2022
|
} if (rf & 2) {
|
|
2023
|
-
const
|
|
2024
|
-
i0.ɵɵstyleProp("width",
|
|
2023
|
+
const col_r6 = ctx.$implicit;
|
|
2024
|
+
i0.ɵɵstyleProp("width", col_r6.width);
|
|
2025
2025
|
} }
|
|
2026
2026
|
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2027
2027
|
i0.ɵɵelementStart(0, "colgroup");
|
|
2028
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col",
|
|
2028
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 6);
|
|
2029
2029
|
i0.ɵɵelementEnd();
|
|
2030
2030
|
} if (rf & 2) {
|
|
2031
|
-
const
|
|
2031
|
+
const columns_r4 = ctx.$implicit;
|
|
2032
2032
|
i0.ɵɵadvance(1);
|
|
2033
|
-
i0.ɵɵproperty("ngForOf",
|
|
2033
|
+
i0.ɵɵproperty("ngForOf", columns_r4);
|
|
2034
2034
|
} }
|
|
2035
2035
|
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
2036
|
-
i0.ɵɵelementStart(0, "th",
|
|
2036
|
+
i0.ɵɵelementStart(0, "th", 8);
|
|
2037
2037
|
i0.ɵɵtext(1);
|
|
2038
2038
|
i0.ɵɵelementEnd();
|
|
2039
2039
|
} if (rf & 2) {
|
|
2040
|
-
const
|
|
2040
|
+
const col_r9 = ctx.$implicit;
|
|
2041
2041
|
i0.ɵɵadvance(1);
|
|
2042
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
2042
|
+
i0.ɵɵtextInterpolate1(" ", col_r9.header, " ");
|
|
2043
2043
|
} }
|
|
2044
2044
|
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2045
2045
|
i0.ɵɵelementStart(0, "tr");
|
|
2046
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th",
|
|
2046
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 7);
|
|
2047
2047
|
i0.ɵɵelementEnd();
|
|
2048
2048
|
} if (rf & 2) {
|
|
2049
|
-
const
|
|
2049
|
+
const columns_r7 = ctx.$implicit;
|
|
2050
2050
|
i0.ɵɵadvance(1);
|
|
2051
|
-
i0.ɵɵproperty("ngForOf",
|
|
2051
|
+
i0.ɵɵproperty("ngForOf", columns_r7);
|
|
2052
2052
|
} }
|
|
2053
2053
|
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2054
2054
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -2067,17 +2067,23 @@ function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) {
|
|
|
2067
2067
|
i0.ɵɵtext(10);
|
|
2068
2068
|
i0.ɵɵelementEnd()();
|
|
2069
2069
|
} if (rf & 2) {
|
|
2070
|
-
const
|
|
2070
|
+
const rowData_r10 = ctx.$implicit;
|
|
2071
2071
|
i0.ɵɵadvance(2);
|
|
2072
|
-
i0.ɵɵtextInterpolate(
|
|
2072
|
+
i0.ɵɵtextInterpolate(rowData_r10.almacenCodigo);
|
|
2073
2073
|
i0.ɵɵadvance(2);
|
|
2074
|
-
i0.ɵɵtextInterpolate(
|
|
2074
|
+
i0.ɵɵtextInterpolate(rowData_r10.almacenDescripcion);
|
|
2075
2075
|
i0.ɵɵadvance(2);
|
|
2076
|
-
i0.ɵɵtextInterpolate(
|
|
2076
|
+
i0.ɵɵtextInterpolate(rowData_r10.ubicacionCodigo);
|
|
2077
2077
|
i0.ɵɵadvance(2);
|
|
2078
|
-
i0.ɵɵtextInterpolate(
|
|
2078
|
+
i0.ɵɵtextInterpolate(rowData_r10.ubicacionDescripcion);
|
|
2079
2079
|
i0.ɵɵadvance(2);
|
|
2080
|
-
i0.ɵɵtextInterpolate(
|
|
2080
|
+
i0.ɵɵtextInterpolate(rowData_r10.existencia);
|
|
2081
|
+
} }
|
|
2082
|
+
function SeleccionArticuloInformacionComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
2083
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
2084
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "button", 10);
|
|
2085
|
+
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()); });
|
|
2086
|
+
i0.ɵɵelementEnd()();
|
|
2081
2087
|
} }
|
|
2082
2088
|
const _c0$2 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2083
2089
|
const _c1$1 = function () { return { width: "600px" }; };
|
|
@@ -2120,29 +2126,28 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2120
2126
|
onSelectedUbicacion(ubicacionRow) {
|
|
2121
2127
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
2122
2128
|
}
|
|
2129
|
+
/** @nocollapse */ static { this.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); }; }
|
|
2130
|
+
/** @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) {
|
|
2131
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2132
|
+
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);
|
|
2133
|
+
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2134
|
+
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
2135
|
+
i0.ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
2136
|
+
i0.ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2137
|
+
i0.ɵɵelementEnd();
|
|
2138
|
+
i0.ɵɵtemplate(5, SeleccionArticuloInformacionComponent_ng_template_5_Template, 2, 0, "ng-template", 5);
|
|
2139
|
+
i0.ɵɵelementEnd();
|
|
2140
|
+
} if (rf & 2) {
|
|
2141
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(16, _c0$2, ctx.size + "px"));
|
|
2142
|
+
i0.ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2143
|
+
i0.ɵɵadvance(1);
|
|
2144
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(18, _c1$1));
|
|
2145
|
+
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true);
|
|
2146
|
+
} }, dependencies: [i4.NgForOf, i3.PrimeTemplate, i18.Table, i18.ResizableColumn, i21.ButtonDirective, i33.Dialog] }); }
|
|
2123
2147
|
}
|
|
2124
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); };
|
|
2125
|
-
/** @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) {
|
|
2126
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2127
|
-
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);
|
|
2128
|
-
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2129
|
-
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
2130
|
-
i0.ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
2131
|
-
i0.ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2132
|
-
i0.ɵɵelementEnd();
|
|
2133
|
-
i0.ɵɵelementStart(5, "p-footer")(6, "div", 5)(7, "button", 6);
|
|
2134
|
-
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_Template_button_click_7_listener() { return ctx.hiddenDialog(); });
|
|
2135
|
-
i0.ɵɵelementEnd()()()();
|
|
2136
|
-
} if (rf & 2) {
|
|
2137
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(17, _c0$2, ctx.size + "px"));
|
|
2138
|
-
i0.ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2139
|
-
i0.ɵɵadvance(1);
|
|
2140
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(19, _c1$1));
|
|
2141
|
-
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true)("responsive", true);
|
|
2142
|
-
} }, dependencies: [i4.NgForOf, i3.Footer, i3.PrimeTemplate, i6$1.Table, i6$1.ResizableColumn, i6.ButtonDirective, i11.Dialog] });
|
|
2143
2148
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
2144
2149
|
type: Component,
|
|
2145
|
-
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
|
|
2150
|
+
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>" }]
|
|
2146
2151
|
}], function () { return [{ type: ArticuloInformacionService }]; }, { showModal: [{
|
|
2147
2152
|
type: Input
|
|
2148
2153
|
}], articulo: [{
|
|
@@ -2548,70 +2553,70 @@ class SeleccionaArticuloComponent {
|
|
|
2548
2553
|
onEventInformacion(event) {
|
|
2549
2554
|
this.showModalInformacion = event.status;
|
|
2550
2555
|
}
|
|
2556
|
+
/** @nocollapse */ static { this.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); }; }
|
|
2557
|
+
/** @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) {
|
|
2558
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2559
|
+
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(); });
|
|
2560
|
+
i0.ɵɵpipe(1, "translate");
|
|
2561
|
+
i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "div", 4)(6, "select", 5);
|
|
2562
|
+
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(); });
|
|
2563
|
+
i0.ɵɵelementStart(7, "option", 6);
|
|
2564
|
+
i0.ɵɵtext(8, "Codigo");
|
|
2565
|
+
i0.ɵɵelementEnd();
|
|
2566
|
+
i0.ɵɵelementStart(9, "option", 7);
|
|
2567
|
+
i0.ɵɵtext(10, "Descripcion");
|
|
2568
|
+
i0.ɵɵelementEnd();
|
|
2569
|
+
i0.ɵɵelementStart(11, "option", 8);
|
|
2570
|
+
i0.ɵɵtext(12, "Coincidencia");
|
|
2571
|
+
i0.ɵɵelementEnd();
|
|
2572
|
+
i0.ɵɵelementStart(13, "option", 9);
|
|
2573
|
+
i0.ɵɵtext(14, "Igual a");
|
|
2574
|
+
i0.ɵɵelementEnd()()();
|
|
2575
|
+
i0.ɵɵelementStart(15, "input", 10);
|
|
2576
|
+
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); });
|
|
2577
|
+
i0.ɵɵelementEnd();
|
|
2578
|
+
i0.ɵɵelementStart(16, "button", 11);
|
|
2579
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { return ctx.obtenerExistenciaArticulos(); });
|
|
2580
|
+
i0.ɵɵelementEnd()()();
|
|
2581
|
+
i0.ɵɵelementStart(17, "div", 2)(18, "div", 3)(19, "div", 12)(20, "label", 13);
|
|
2582
|
+
i0.ɵɵtext(21, "Almacen:");
|
|
2583
|
+
i0.ɵɵelementEnd()();
|
|
2584
|
+
i0.ɵɵelementStart(22, "select", 14);
|
|
2585
|
+
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(); });
|
|
2586
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 15);
|
|
2587
|
+
i0.ɵɵelementEnd()()()();
|
|
2588
|
+
i0.ɵɵelementStart(24, "p-table", 16, 17);
|
|
2589
|
+
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2590
|
+
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18);
|
|
2591
|
+
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2592
|
+
i0.ɵɵelementEnd();
|
|
2593
|
+
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2594
|
+
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { return ctx.pagina($event); });
|
|
2595
|
+
i0.ɵɵelementEnd()();
|
|
2596
|
+
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2597
|
+
} if (rf & 2) {
|
|
2598
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(21, _c0$1, ctx.size + "px"));
|
|
2599
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 19, "Articulos"));
|
|
2600
|
+
i0.ɵɵproperty("visible", ctx.showArticulos)("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2601
|
+
i0.ɵɵadvance(6);
|
|
2602
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2603
|
+
i0.ɵɵadvance(9);
|
|
2604
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.key);
|
|
2605
|
+
i0.ɵɵadvance(7);
|
|
2606
|
+
i0.ɵɵproperty("ngModel", ctx.movimiento.almacen);
|
|
2607
|
+
i0.ɵɵadvance(1);
|
|
2608
|
+
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2609
|
+
i0.ɵɵadvance(1);
|
|
2610
|
+
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true);
|
|
2611
|
+
i0.ɵɵadvance(4);
|
|
2612
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(23, _c1));
|
|
2613
|
+
i0.ɵɵadvance(1);
|
|
2614
|
+
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2615
|
+
} }, 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}"] }); }
|
|
2551
2616
|
}
|
|
2552
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); };
|
|
2553
|
-
/** @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) {
|
|
2554
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2555
|
-
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(); });
|
|
2556
|
-
i0.ɵɵpipe(1, "translate");
|
|
2557
|
-
i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "div", 4)(6, "select", 5);
|
|
2558
|
-
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(); });
|
|
2559
|
-
i0.ɵɵelementStart(7, "option", 6);
|
|
2560
|
-
i0.ɵɵtext(8, "Codigo");
|
|
2561
|
-
i0.ɵɵelementEnd();
|
|
2562
|
-
i0.ɵɵelementStart(9, "option", 7);
|
|
2563
|
-
i0.ɵɵtext(10, "Descripcion");
|
|
2564
|
-
i0.ɵɵelementEnd();
|
|
2565
|
-
i0.ɵɵelementStart(11, "option", 8);
|
|
2566
|
-
i0.ɵɵtext(12, "Coincidencia");
|
|
2567
|
-
i0.ɵɵelementEnd();
|
|
2568
|
-
i0.ɵɵelementStart(13, "option", 9);
|
|
2569
|
-
i0.ɵɵtext(14, "Igual a");
|
|
2570
|
-
i0.ɵɵelementEnd()()();
|
|
2571
|
-
i0.ɵɵelementStart(15, "input", 10);
|
|
2572
|
-
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); });
|
|
2573
|
-
i0.ɵɵelementEnd();
|
|
2574
|
-
i0.ɵɵelementStart(16, "button", 11);
|
|
2575
|
-
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { return ctx.obtenerExistenciaArticulos(); });
|
|
2576
|
-
i0.ɵɵelementEnd()()();
|
|
2577
|
-
i0.ɵɵelementStart(17, "div", 2)(18, "div", 3)(19, "div", 12)(20, "label", 13);
|
|
2578
|
-
i0.ɵɵtext(21, "Almacen:");
|
|
2579
|
-
i0.ɵɵelementEnd()();
|
|
2580
|
-
i0.ɵɵelementStart(22, "select", 14);
|
|
2581
|
-
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(); });
|
|
2582
|
-
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 15);
|
|
2583
|
-
i0.ɵɵelementEnd()()()();
|
|
2584
|
-
i0.ɵɵelementStart(24, "p-table", 16, 17);
|
|
2585
|
-
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2586
|
-
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18);
|
|
2587
|
-
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2588
|
-
i0.ɵɵelementEnd();
|
|
2589
|
-
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2590
|
-
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { return ctx.pagina($event); });
|
|
2591
|
-
i0.ɵɵelementEnd()();
|
|
2592
|
-
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2593
|
-
} if (rf & 2) {
|
|
2594
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(22, _c0$1, ctx.size + "px"));
|
|
2595
|
-
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 20, "Articulos"));
|
|
2596
|
-
i0.ɵɵproperty("visible", ctx.showArticulos)("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2597
|
-
i0.ɵɵadvance(6);
|
|
2598
|
-
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2599
|
-
i0.ɵɵadvance(9);
|
|
2600
|
-
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.key);
|
|
2601
|
-
i0.ɵɵadvance(7);
|
|
2602
|
-
i0.ɵɵproperty("ngModel", ctx.movimiento.almacen);
|
|
2603
|
-
i0.ɵɵadvance(1);
|
|
2604
|
-
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2605
|
-
i0.ɵɵadvance(1);
|
|
2606
|
-
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true)("responsive", true);
|
|
2607
|
-
i0.ɵɵadvance(4);
|
|
2608
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(24, _c1));
|
|
2609
|
-
i0.ɵɵadvance(1);
|
|
2610
|
-
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2611
|
-
} }, 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}"] });
|
|
2612
2617
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2613
2618
|
type: Component,
|
|
2614
|
-
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"] }]
|
|
2619
|
+
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"] }]
|
|
2615
2620
|
}], function () { return [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }]; }, { configuracion: [{
|
|
2616
2621
|
type: Input
|
|
2617
2622
|
}], showArticulos: [{
|
|
@@ -2631,9 +2636,9 @@ class AcreedorService extends CrudService {
|
|
|
2631
2636
|
super(httpClient, 'acreedor');
|
|
2632
2637
|
this.httpClient = httpClient;
|
|
2633
2638
|
}
|
|
2639
|
+
/** @nocollapse */ static { this.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
2640
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' }); }
|
|
2634
2641
|
}
|
|
2635
|
-
/** @nocollapse */ AcreedorService.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2636
|
-
/** @nocollapse */ AcreedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' });
|
|
2637
2642
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorService, [{
|
|
2638
2643
|
type: Injectable,
|
|
2639
2644
|
args: [{
|
|
@@ -2787,40 +2792,40 @@ class SelectAcreedorComponent {
|
|
|
2787
2792
|
this.select.emit(e.data);
|
|
2788
2793
|
this.visible = false;
|
|
2789
2794
|
}
|
|
2795
|
+
/** @nocollapse */ static { this.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); }; }
|
|
2796
|
+
/** @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) {
|
|
2797
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2798
|
+
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(); });
|
|
2799
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "input", 2);
|
|
2800
|
+
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(); });
|
|
2801
|
+
i0.ɵɵpipe(3, "translate");
|
|
2802
|
+
i0.ɵɵelementEnd();
|
|
2803
|
+
i0.ɵɵelementStart(4, "button", 3);
|
|
2804
|
+
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2805
|
+
i0.ɵɵelementEnd()();
|
|
2806
|
+
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2807
|
+
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); });
|
|
2808
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
2809
|
+
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
2810
|
+
i0.ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2811
|
+
i0.ɵɵelementEnd();
|
|
2812
|
+
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2813
|
+
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2814
|
+
i0.ɵɵelementEnd()();
|
|
2815
|
+
} if (rf & 2) {
|
|
2816
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
2817
|
+
i0.ɵɵadvance(2);
|
|
2818
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 10, "buscar"), "...");
|
|
2819
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2820
|
+
i0.ɵɵadvance(3);
|
|
2821
|
+
i0.ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true);
|
|
2822
|
+
i0.ɵɵadvance(4);
|
|
2823
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(12, _c0));
|
|
2824
|
+
} }, 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 }); }
|
|
2790
2825
|
}
|
|
2791
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3$1.TranslateService)); };
|
|
2792
|
-
/** @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) {
|
|
2793
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2794
|
-
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(); });
|
|
2795
|
-
i0.ɵɵelementStart(1, "div", 1)(2, "input", 2);
|
|
2796
|
-
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(); });
|
|
2797
|
-
i0.ɵɵpipe(3, "translate");
|
|
2798
|
-
i0.ɵɵelementEnd();
|
|
2799
|
-
i0.ɵɵelementStart(4, "button", 3);
|
|
2800
|
-
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2801
|
-
i0.ɵɵelementEnd()();
|
|
2802
|
-
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2803
|
-
i0.ɵɵ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); });
|
|
2804
|
-
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
2805
|
-
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
2806
|
-
i0.ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2807
|
-
i0.ɵɵelementEnd();
|
|
2808
|
-
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2809
|
-
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2810
|
-
i0.ɵɵelementEnd()();
|
|
2811
|
-
} if (rf & 2) {
|
|
2812
|
-
i0.ɵɵproperty("visible", ctx.visible);
|
|
2813
|
-
i0.ɵɵadvance(2);
|
|
2814
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 11, "buscar"), "...");
|
|
2815
|
-
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2816
|
-
i0.ɵɵadvance(3);
|
|
2817
|
-
i0.ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true)("responsive", true);
|
|
2818
|
-
i0.ɵɵadvance(4);
|
|
2819
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
2820
|
-
} }, 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 });
|
|
2821
2826
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
2822
2827
|
type: Component,
|
|
2823
|
-
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
|
|
2828
|
+
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>" }]
|
|
2824
2829
|
}], function () { return [{ type: AcreedorService }, { type: PaginateService }, { type: i3$1.TranslateService }]; }, { visible: [{
|
|
2825
2830
|
type: Input
|
|
2826
2831
|
}], acreedorSeleccionado: [{
|
|
@@ -2883,23 +2888,23 @@ function HttpLoaderFactory(http) {
|
|
|
2883
2888
|
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
|
2884
2889
|
}
|
|
2885
2890
|
class CoreLibModule {
|
|
2891
|
+
/** @nocollapse */ static { this.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); }; }
|
|
2892
|
+
/** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule }); }
|
|
2893
|
+
/** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
2894
|
+
primeNgServices,
|
|
2895
|
+
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2896
|
+
], imports: [CommonModule,
|
|
2897
|
+
primeNg,
|
|
2898
|
+
FormsModule,
|
|
2899
|
+
ToastrModule.forRoot(),
|
|
2900
|
+
TranslateModule.forRoot({
|
|
2901
|
+
loader: {
|
|
2902
|
+
provide: TranslateLoader,
|
|
2903
|
+
useFactory: HttpLoaderFactory,
|
|
2904
|
+
deps: [HttpClient]
|
|
2905
|
+
}
|
|
2906
|
+
}), 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] }); }
|
|
2886
2907
|
}
|
|
2887
|
-
/** @nocollapse */ CoreLibModule.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); };
|
|
2888
|
-
/** @nocollapse */ CoreLibModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule });
|
|
2889
|
-
/** @nocollapse */ CoreLibModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
2890
|
-
primeNgServices,
|
|
2891
|
-
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2892
|
-
], imports: [CommonModule,
|
|
2893
|
-
primeNg,
|
|
2894
|
-
FormsModule,
|
|
2895
|
-
ToastrModule.forRoot(),
|
|
2896
|
-
TranslateModule.forRoot({
|
|
2897
|
-
loader: {
|
|
2898
|
-
provide: TranslateLoader,
|
|
2899
|
-
useFactory: HttpLoaderFactory,
|
|
2900
|
-
deps: [HttpClient]
|
|
2901
|
-
}
|
|
2902
|
-
})] });
|
|
2903
2908
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
|
|
2904
2909
|
type: NgModule,
|
|
2905
2910
|
args: [{
|
|
@@ -2926,10 +2931,10 @@ class CoreLibModule {
|
|
|
2926
2931
|
primeNgServices,
|
|
2927
2932
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2928
2933
|
],
|
|
2929
|
-
exports: [components, contaComponents]
|
|
2934
|
+
exports: [components, contaComponents, primeNg, TranslateModule]
|
|
2930
2935
|
}]
|
|
2931
2936
|
}], null, null); })();
|
|
2932
|
-
(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,
|
|
2937
|
+
(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] }); })();
|
|
2933
2938
|
|
|
2934
2939
|
class ControlAccesoService {
|
|
2935
2940
|
constructor(authService) {
|
|
@@ -2956,9 +2961,9 @@ class ControlAccesoService {
|
|
|
2956
2961
|
}
|
|
2957
2962
|
return permiso;
|
|
2958
2963
|
}
|
|
2964
|
+
/** @nocollapse */ static { this.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); }; }
|
|
2965
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' }); }
|
|
2959
2966
|
}
|
|
2960
|
-
/** @nocollapse */ ControlAccesoService.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); };
|
|
2961
|
-
/** @nocollapse */ ControlAccesoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' });
|
|
2962
2967
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
|
|
2963
2968
|
type: Injectable,
|
|
2964
2969
|
args: [{
|
|
@@ -3005,9 +3010,9 @@ class InitService {
|
|
|
3005
3010
|
});
|
|
3006
3011
|
});
|
|
3007
3012
|
}
|
|
3013
|
+
/** @nocollapse */ static { this.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); }; }
|
|
3014
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' }); }
|
|
3008
3015
|
}
|
|
3009
|
-
/** @nocollapse */ InitService.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); };
|
|
3010
|
-
/** @nocollapse */ InitService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' });
|
|
3011
3016
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
|
|
3012
3017
|
type: Injectable,
|
|
3013
3018
|
args: [{
|
|
@@ -3080,9 +3085,9 @@ class MessageService {
|
|
|
3080
3085
|
}
|
|
3081
3086
|
return msgs;
|
|
3082
3087
|
}
|
|
3088
|
+
/** @nocollapse */ static { this.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); }; }
|
|
3089
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' }); }
|
|
3083
3090
|
}
|
|
3084
|
-
/** @nocollapse */ MessageService.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); };
|
|
3085
|
-
/** @nocollapse */ MessageService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' });
|
|
3086
3091
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
|
|
3087
3092
|
type: Injectable,
|
|
3088
3093
|
args: [{
|
|
@@ -3094,9 +3099,9 @@ class PersonaMoralService extends CrudService {
|
|
|
3094
3099
|
constructor(http) {
|
|
3095
3100
|
super(http, '/personaMoral');
|
|
3096
3101
|
}
|
|
3102
|
+
/** @nocollapse */ static { this.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3103
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' }); }
|
|
3097
3104
|
}
|
|
3098
|
-
/** @nocollapse */ PersonaMoralService.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3099
|
-
/** @nocollapse */ PersonaMoralService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' });
|
|
3100
3105
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
|
|
3101
3106
|
type: Injectable,
|
|
3102
3107
|
args: [{
|
|
@@ -3116,9 +3121,9 @@ class CanActivateGuard {
|
|
|
3116
3121
|
permisos(rol) {
|
|
3117
3122
|
this.rol = rol;
|
|
3118
3123
|
}
|
|
3124
|
+
/** @nocollapse */ static { this.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); }; }
|
|
3125
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' }); }
|
|
3119
3126
|
}
|
|
3120
|
-
/** @nocollapse */ CanActivateGuard.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); };
|
|
3121
|
-
/** @nocollapse */ CanActivateGuard.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' });
|
|
3122
3127
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
|
|
3123
3128
|
type: Injectable,
|
|
3124
3129
|
args: [{
|
|
@@ -3131,9 +3136,9 @@ class CatalogoAdicionalService extends CrudService {
|
|
|
3131
3136
|
super(httpClient, 'catalogoAdicional');
|
|
3132
3137
|
this.httpClient = httpClient;
|
|
3133
3138
|
}
|
|
3139
|
+
/** @nocollapse */ static { this.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3140
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' }); }
|
|
3134
3141
|
}
|
|
3135
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3136
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' });
|
|
3137
3142
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
|
|
3138
3143
|
type: Injectable,
|
|
3139
3144
|
args: [{
|
|
@@ -3200,9 +3205,9 @@ class Authenticated {
|
|
|
3200
3205
|
}
|
|
3201
3206
|
window.location.href = host;
|
|
3202
3207
|
}
|
|
3208
|
+
/** @nocollapse */ static { this.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$3.Router)); }; }
|
|
3209
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' }); }
|
|
3203
3210
|
}
|
|
3204
|
-
/** @nocollapse */ Authenticated.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$3.Router)); };
|
|
3205
|
-
/** @nocollapse */ Authenticated.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' });
|
|
3206
3211
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
|
|
3207
3212
|
type: Injectable,
|
|
3208
3213
|
args: [{
|
|
@@ -3248,9 +3253,9 @@ class VersionCheckService {
|
|
|
3248
3253
|
}
|
|
3249
3254
|
return currentHash === newHash;
|
|
3250
3255
|
}
|
|
3256
|
+
/** @nocollapse */ static { this.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3257
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' }); }
|
|
3251
3258
|
}
|
|
3252
|
-
/** @nocollapse */ VersionCheckService.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3253
|
-
/** @nocollapse */ VersionCheckService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' });
|
|
3254
3259
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
|
|
3255
3260
|
type: Injectable,
|
|
3256
3261
|
args: [{
|
|
@@ -3275,9 +3280,9 @@ class AgenteService extends CrudService {
|
|
|
3275
3280
|
let url = this.geturl() + '/obtenerAgenteEmpresa';
|
|
3276
3281
|
return this.getHttp().get(url, this.buildAuth());
|
|
3277
3282
|
}
|
|
3283
|
+
/** @nocollapse */ static { this.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3284
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' }); }
|
|
3278
3285
|
}
|
|
3279
|
-
/** @nocollapse */ AgenteService.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3280
|
-
/** @nocollapse */ AgenteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' });
|
|
3281
3286
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
|
|
3282
3287
|
type: Injectable,
|
|
3283
3288
|
args: [{
|
|
@@ -3304,9 +3309,9 @@ class BancoService extends CrudService {
|
|
|
3304
3309
|
constructor(http) {
|
|
3305
3310
|
super(http, '/banco');
|
|
3306
3311
|
}
|
|
3312
|
+
/** @nocollapse */ static { this.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3313
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' }); }
|
|
3307
3314
|
}
|
|
3308
|
-
/** @nocollapse */ BancoService.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3309
|
-
/** @nocollapse */ BancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' });
|
|
3310
3315
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
|
|
3311
3316
|
type: Injectable,
|
|
3312
3317
|
args: [{
|
|
@@ -3322,9 +3327,9 @@ class CatalogoTipoService extends CrudService {
|
|
|
3322
3327
|
constructor(htt) {
|
|
3323
3328
|
super(htt, '/catalogoTipo');
|
|
3324
3329
|
}
|
|
3330
|
+
/** @nocollapse */ static { this.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3331
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' }); }
|
|
3325
3332
|
}
|
|
3326
|
-
/** @nocollapse */ CatalogoTipoService.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3327
|
-
/** @nocollapse */ CatalogoTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' });
|
|
3328
3333
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
|
|
3329
3334
|
type: Injectable,
|
|
3330
3335
|
args: [{
|
|
@@ -3336,9 +3341,9 @@ class ClasificadorTipoService extends CrudService {
|
|
|
3336
3341
|
constructor(http) {
|
|
3337
3342
|
super(http, '/clasificadorTipo');
|
|
3338
3343
|
}
|
|
3344
|
+
/** @nocollapse */ static { this.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3345
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' }); }
|
|
3339
3346
|
}
|
|
3340
|
-
/** @nocollapse */ ClasificadorTipoService.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3341
|
-
/** @nocollapse */ ClasificadorTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' });
|
|
3342
3347
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
|
|
3343
3348
|
type: Injectable,
|
|
3344
3349
|
args: [{
|
|
@@ -3354,9 +3359,9 @@ class ClaveMovimientoService extends CrudService {
|
|
|
3354
3359
|
constructor(http) {
|
|
3355
3360
|
super(http, 'claveMovimiento');
|
|
3356
3361
|
}
|
|
3362
|
+
/** @nocollapse */ static { this.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3363
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' }); }
|
|
3357
3364
|
}
|
|
3358
|
-
/** @nocollapse */ ClaveMovimientoService.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3359
|
-
/** @nocollapse */ ClaveMovimientoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' });
|
|
3360
3365
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
|
|
3361
3366
|
type: Injectable,
|
|
3362
3367
|
args: [{
|
|
@@ -3392,9 +3397,9 @@ class ClienteCuentaBancoService extends CrudService {
|
|
|
3392
3397
|
let p = { 'cuentas': params };
|
|
3393
3398
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3394
3399
|
}
|
|
3400
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3401
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' }); }
|
|
3395
3402
|
}
|
|
3396
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3397
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3398
3403
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
|
|
3399
3404
|
type: Injectable,
|
|
3400
3405
|
args: [{
|
|
@@ -3411,9 +3416,9 @@ class ClienteFleteService extends CrudService {
|
|
|
3411
3416
|
let params = { fletes: p };
|
|
3412
3417
|
return this.save(params);
|
|
3413
3418
|
}
|
|
3419
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3420
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' }); }
|
|
3414
3421
|
}
|
|
3415
|
-
/** @nocollapse */ ClienteFleteService.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3416
|
-
/** @nocollapse */ ClienteFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' });
|
|
3417
3422
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
|
|
3418
3423
|
type: Injectable,
|
|
3419
3424
|
args: [{
|
|
@@ -3437,9 +3442,9 @@ class DatoContactoService extends CrudService {
|
|
|
3437
3442
|
constructor(http) {
|
|
3438
3443
|
super(http, '/contacto');
|
|
3439
3444
|
}
|
|
3445
|
+
/** @nocollapse */ static { this.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3446
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' }); }
|
|
3440
3447
|
}
|
|
3441
|
-
/** @nocollapse */ DatoContactoService.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3442
|
-
/** @nocollapse */ DatoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' });
|
|
3443
3448
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
|
|
3444
3449
|
type: Injectable,
|
|
3445
3450
|
args: [{
|
|
@@ -3451,9 +3456,9 @@ class DatoDireccionService extends CrudService {
|
|
|
3451
3456
|
constructor(http) {
|
|
3452
3457
|
super(http, '/datoDireccion');
|
|
3453
3458
|
}
|
|
3459
|
+
/** @nocollapse */ static { this.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3460
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' }); }
|
|
3454
3461
|
}
|
|
3455
|
-
/** @nocollapse */ DatoDireccionService.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3456
|
-
/** @nocollapse */ DatoDireccionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' });
|
|
3457
3462
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
|
|
3458
3463
|
type: Injectable,
|
|
3459
3464
|
args: [{
|
|
@@ -3470,9 +3475,9 @@ class DepartamentoService extends CrudService {
|
|
|
3470
3475
|
constructor(http) {
|
|
3471
3476
|
super(http, '/departamento');
|
|
3472
3477
|
}
|
|
3478
|
+
/** @nocollapse */ static { this.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3479
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' }); }
|
|
3473
3480
|
}
|
|
3474
|
-
/** @nocollapse */ DepartamentoService.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3475
|
-
/** @nocollapse */ DepartamentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' });
|
|
3476
3481
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
|
|
3477
3482
|
type: Injectable,
|
|
3478
3483
|
args: [{
|
|
@@ -3507,9 +3512,9 @@ class EmpresaService extends CrudService {
|
|
|
3507
3512
|
// return super.get(1);
|
|
3508
3513
|
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
3509
3514
|
}
|
|
3515
|
+
/** @nocollapse */ static { this.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3516
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' }); }
|
|
3510
3517
|
}
|
|
3511
|
-
/** @nocollapse */ EmpresaService.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3512
|
-
/** @nocollapse */ EmpresaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' });
|
|
3513
3518
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
|
|
3514
3519
|
type: Injectable,
|
|
3515
3520
|
args: [{
|
|
@@ -3522,9 +3527,9 @@ class FleteService extends CrudService {
|
|
|
3522
3527
|
super(httpClient, '/flete');
|
|
3523
3528
|
this.httpClient = httpClient;
|
|
3524
3529
|
}
|
|
3530
|
+
/** @nocollapse */ static { this.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3531
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' }); }
|
|
3525
3532
|
}
|
|
3526
|
-
/** @nocollapse */ FleteService.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3527
|
-
/** @nocollapse */ FleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' });
|
|
3528
3533
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
|
|
3529
3534
|
type: Injectable,
|
|
3530
3535
|
args: [{
|
|
@@ -3536,9 +3541,9 @@ class FormaPagoService extends CrudService {
|
|
|
3536
3541
|
constructor(http) {
|
|
3537
3542
|
super(http, '/FormaDePago');
|
|
3538
3543
|
}
|
|
3544
|
+
/** @nocollapse */ static { this.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3545
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" }); }
|
|
3539
3546
|
}
|
|
3540
|
-
/** @nocollapse */ FormaPagoService.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3541
|
-
/** @nocollapse */ FormaPagoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" });
|
|
3542
3547
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
|
|
3543
3548
|
type: Injectable,
|
|
3544
3549
|
args: [{
|
|
@@ -3555,9 +3560,9 @@ class MonedaService extends CrudService {
|
|
|
3555
3560
|
super(httpClient, '/moneda');
|
|
3556
3561
|
this.httpClient = httpClient;
|
|
3557
3562
|
}
|
|
3563
|
+
/** @nocollapse */ static { this.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3564
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' }); }
|
|
3558
3565
|
}
|
|
3559
|
-
/** @nocollapse */ MonedaService.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3560
|
-
/** @nocollapse */ MonedaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' });
|
|
3561
3566
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
|
|
3562
3567
|
type: Injectable,
|
|
3563
3568
|
args: [{
|
|
@@ -3584,9 +3589,9 @@ class PersonaFisicaService extends CrudService {
|
|
|
3584
3589
|
getEstadoCivil() {
|
|
3585
3590
|
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
3586
3591
|
}
|
|
3592
|
+
/** @nocollapse */ static { this.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3593
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" }); }
|
|
3587
3594
|
}
|
|
3588
|
-
/** @nocollapse */ PersonaFisicaService.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3589
|
-
/** @nocollapse */ PersonaFisicaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" });
|
|
3590
3595
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
|
|
3591
3596
|
type: Injectable,
|
|
3592
3597
|
args: [{
|
|
@@ -3618,9 +3623,9 @@ class ProveedorCuentaBancoService extends CrudService {
|
|
|
3618
3623
|
let p = { 'cuentas': params };
|
|
3619
3624
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3620
3625
|
}
|
|
3626
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3627
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' }); }
|
|
3621
3628
|
}
|
|
3622
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3623
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3624
3629
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
|
|
3625
3630
|
type: Injectable,
|
|
3626
3631
|
args: [{
|
|
@@ -3637,9 +3642,9 @@ class ProveedorFleteService extends CrudService {
|
|
|
3637
3642
|
let params = { fletes: p };
|
|
3638
3643
|
return this.save(params);
|
|
3639
3644
|
}
|
|
3645
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3646
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' }); }
|
|
3640
3647
|
}
|
|
3641
|
-
/** @nocollapse */ ProveedorFleteService.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3642
|
-
/** @nocollapse */ ProveedorFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' });
|
|
3643
3648
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
|
|
3644
3649
|
type: Injectable,
|
|
3645
3650
|
args: [{
|
|
@@ -3651,9 +3656,9 @@ class ClaveAumentoDisminucionService extends CrudService {
|
|
|
3651
3656
|
constructor(http) {
|
|
3652
3657
|
super(http, 'claveAumentoDisminucion');
|
|
3653
3658
|
}
|
|
3659
|
+
/** @nocollapse */ static { this.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3660
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' }); }
|
|
3654
3661
|
}
|
|
3655
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3656
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' });
|
|
3657
3662
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
|
|
3658
3663
|
type: Injectable,
|
|
3659
3664
|
args: [{
|
|
@@ -3672,9 +3677,9 @@ class SerieDocumentoService extends CrudService {
|
|
|
3672
3677
|
getReporte(params) {
|
|
3673
3678
|
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
3674
3679
|
}
|
|
3680
|
+
/** @nocollapse */ static { this.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3681
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' }); }
|
|
3675
3682
|
}
|
|
3676
|
-
/** @nocollapse */ SerieDocumentoService.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3677
|
-
/** @nocollapse */ SerieDocumentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' });
|
|
3678
3683
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
|
|
3679
3684
|
type: Injectable,
|
|
3680
3685
|
args: [{
|
|
@@ -3690,9 +3695,9 @@ class TipoContactoService extends CrudService {
|
|
|
3690
3695
|
constructor(http) {
|
|
3691
3696
|
super(http, '/tipoContacto');
|
|
3692
3697
|
}
|
|
3698
|
+
/** @nocollapse */ static { this.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3699
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' }); }
|
|
3693
3700
|
}
|
|
3694
|
-
/** @nocollapse */ TipoContactoService.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3695
|
-
/** @nocollapse */ TipoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' });
|
|
3696
3701
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
|
|
3697
3702
|
type: Injectable,
|
|
3698
3703
|
args: [{
|
|
@@ -3708,9 +3713,9 @@ class UbicacionService extends CrudService {
|
|
|
3708
3713
|
constructor(http) {
|
|
3709
3714
|
super(http, 'ubicacion');
|
|
3710
3715
|
}
|
|
3716
|
+
/** @nocollapse */ static { this.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3717
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' }); }
|
|
3711
3718
|
}
|
|
3712
|
-
/** @nocollapse */ UbicacionService.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3713
|
-
/** @nocollapse */ UbicacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' });
|
|
3714
3719
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
|
|
3715
3720
|
type: Injectable,
|
|
3716
3721
|
args: [{
|
|
@@ -3719,9 +3724,9 @@ class UbicacionService extends CrudService {
|
|
|
3719
3724
|
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3720
3725
|
|
|
3721
3726
|
class TipoCatalogo {
|
|
3727
|
+
static { this.ARTICULO = 2; }
|
|
3728
|
+
static { this.USO_CFDI = 11; }
|
|
3722
3729
|
}
|
|
3723
|
-
TipoCatalogo.ARTICULO = 2;
|
|
3724
|
-
TipoCatalogo.USO_CFDI = 11;
|
|
3725
3730
|
|
|
3726
3731
|
class AcreedorCuentaContableService extends CrudService {
|
|
3727
3732
|
constructor(httpClient) {
|
|
@@ -3732,9 +3737,9 @@ class AcreedorCuentaContableService extends CrudService {
|
|
|
3732
3737
|
let uRL = "/cuentaContable/obtieneCuentasContablesRecursivo/";
|
|
3733
3738
|
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
3734
3739
|
}
|
|
3740
|
+
/** @nocollapse */ static { this.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3741
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' }); }
|
|
3735
3742
|
}
|
|
3736
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3737
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' });
|
|
3738
3743
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorCuentaContableService, [{
|
|
3739
3744
|
type: Injectable,
|
|
3740
3745
|
args: [{
|