visorus-erp-core 20.0.0 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/visorus-erp-core.mjs +591 -1744
- package/fesm2022/visorus-erp-core.mjs.map +1 -1
- package/index.d.ts +5 -1213
- package/lib/app.module.d.ts +53 -0
- package/lib/components/acreedor/select/select-acreedor.component.d.ts +26 -0
- package/lib/components/acreedor/services/acreedor.service.d.ts +9 -0
- package/lib/components/acreedor/services/acreedorCuentaContable.d.ts +10 -0
- package/lib/components/agente/models/Agente.d.ts +23 -0
- package/lib/components/agente/services/agente.service.d.ts +12 -0
- package/lib/components/almacen/models/Almacen.d.ts +20 -0
- package/lib/components/almacen/services/almacen.service.d.ts +10 -0
- package/lib/components/banco/models/Banco.d.ts +13 -0
- package/lib/components/banco/services/banco.service.d.ts +8 -0
- package/lib/components/caja/session-create/session-create.component.d.ts +25 -0
- package/lib/components/caja/sessionCaja.service.d.ts +9 -0
- package/lib/components/catalogoTipo/models/CatalogoTipo.d.ts +9 -0
- package/lib/components/catalogoTipo/services/catalogoTipo.service.d.ts +8 -0
- package/lib/components/clasificadorTipo/models/ClasificadorTipo.d.ts +9 -0
- package/lib/components/clasificadorTipo/services/clasificadorTipo.service.d.ts +8 -0
- package/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.d.ts +8 -0
- package/lib/components/claveMovimiento/models/ClaveMovimiento.d.ts +23 -0
- package/lib/components/claveMovimiento/services/claveMovimiento.service.d.ts +8 -0
- package/lib/components/cliente/models/Cliente.d.ts +44 -0
- package/lib/components/cliente/models/ClienteCuentaBanco.d.ts +12 -0
- package/lib/components/cliente/models/ClienteFlete.d.ts +11 -0
- package/lib/components/cliente/select/select-cliente.component.d.ts +27 -0
- package/lib/components/cliente/services/cliente.service.d.ts +9 -0
- package/lib/components/cliente/services/clienteCuentaBanco.service.d.ts +10 -0
- package/lib/components/cliente/services/clienteFlete.service.d.ts +10 -0
- package/lib/components/contacto/models/DatoContacto.d.ts +9 -0
- package/lib/components/contacto/services/datoContacto.service.d.ts +8 -0
- package/lib/components/dato-direccion/models/DatoDireccion.d.ts +18 -0
- package/lib/components/dato-direccion/services/datoDireccion.service.d.ts +8 -0
- package/lib/components/departamento/models/Departamento.d.ts +9 -0
- package/lib/components/departamento/services/departamento.service.d.ts +8 -0
- package/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.d.ts +31 -0
- package/lib/components/empresa/models/Empresa.d.ts +13 -0
- package/lib/components/empresa/services/empresa.service.d.ts +10 -0
- package/lib/components/error404/error404.component.d.ts +8 -0
- package/lib/components/flete/models/Flete.d.ts +7 -0
- package/lib/components/flete/services/flete.service.d.ts +9 -0
- package/lib/components/formaPago/models/FormaPago.d.ts +10 -0
- package/lib/components/formaPago/services/FormaPago.service.d.ts +8 -0
- package/lib/components/loading/loading.component.d.ts +10 -0
- package/lib/components/loading/loading.service.d.ts +10 -0
- package/lib/components/loading-screen/loading-screen.component.d.ts +20 -0
- package/lib/components/loading-screen/loading-screen.service.d.ts +12 -0
- package/lib/components/login-modal/login-modal.component.d.ts +16 -0
- package/lib/components/login-modal/login-modal.service.d.ts +8 -0
- package/lib/components/moneda/models/Moneda.d.ts +13 -0
- package/lib/components/moneda/services/moneda.service.d.ts +9 -0
- package/lib/components/pdfModal/pdf-modal.component.d.ts +16 -0
- package/lib/components/pdfModal/pdf-modal.service.d.ts +12 -0
- package/lib/components/persona-fisica/models/EstadoCivil.d.ts +8 -0
- package/lib/components/persona-fisica/models/Genero.d.ts +7 -0
- package/lib/components/persona-fisica/models/Persona.d.ts +16 -0
- package/lib/components/persona-fisica/models/PersonaFisica.d.ts +11 -0
- package/lib/components/persona-fisica/services/personaFisica.service.d.ts +11 -0
- package/lib/components/proveedor/models/Proveedor.d.ts +23 -0
- package/lib/components/proveedor/models/ProveedorCuentaBanco.d.ts +12 -0
- package/lib/components/proveedor/models/ProveedorFlete.d.ts +11 -0
- package/lib/components/proveedor/select/select-proveedor.component.d.ts +26 -0
- package/lib/components/proveedor/services/proveedor.service.d.ts +9 -0
- package/lib/components/proveedor/services/proveedorCuentaBanco.service.d.ts +10 -0
- package/lib/components/proveedor/services/proveedorFlete.service.d.ts +10 -0
- package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts +29 -0
- package/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.d.ts +10 -0
- package/lib/components/selecciona-articulo/selecciona-articulo.component.d.ts +42 -0
- package/lib/components/selecciona-articulo/stock.service.d.ts +10 -0
- package/lib/components/serieDocumento/models/SerieDocumento.d.ts +28 -0
- package/lib/components/serieDocumento/services/serieDocumento.service.d.ts +11 -0
- package/lib/components/tipo-contacto/models/TipoContacto.d.ts +7 -0
- package/lib/components/tipo-contacto/services/tipoContacto.service.d.ts +8 -0
- package/lib/components/ubicacion/models/Ubicacion.d.ts +17 -0
- package/lib/components/ubicacion/services/ubicacion.service.d.ts +8 -0
- package/lib/contabilidad/componentes/cclista/cclista.component.d.ts +26 -0
- package/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.d.ts +24 -0
- package/lib/contabilidad/modelos/cuentaContable.model.d.ts +22 -0
- package/lib/contabilidad/modelos/normaInfoFinanciera.model.d.ts +8 -0
- package/lib/contabilidad/servicios/cuentacontable.service.d.ts +10 -0
- package/lib/globalPrimeNg.d.ts +4 -0
- package/lib/httpInterceptor/httpInterceptor.d.ts +17 -0
- package/lib/importComponents.d.ts +13 -0
- package/lib/importComponetsConta.d.ts +3 -0
- package/lib/models/PersonaMoral.d.ts +13 -0
- package/lib/models/Usuario.d.ts +8 -0
- package/lib/models/auth.d.ts +6 -0
- package/lib/services/auth.service.d.ts +30 -0
- package/lib/services/authenticated.service.d.ts +14 -0
- package/lib/services/canActivateGuard.service.ts.d.ts +13 -0
- package/lib/services/catalogo-adicional.service.d.ts +9 -0
- package/lib/services/controlAcceso.service.d.ts +14 -0
- package/lib/services/crud.service.d.ts +20 -0
- package/lib/services/file.service.d.ts +14 -0
- package/lib/services/global.service.d.ts +22 -0
- package/lib/services/init.service.d.ts +12 -0
- package/lib/services/message.service.d.ts +11 -0
- package/lib/services/paginate.service.d.ts +20 -0
- package/lib/services/personaMoral.service.d.ts +8 -0
- package/lib/services/versionCheck.service.d.ts +14 -0
- package/lib/utils/tipo_catalogo.ts.d.ts +4 -0
- package/package.json +2 -5
- package/public_api.d.ts +92 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, EventEmitter,
|
|
2
|
+
import { Injectable, EventEmitter, Output, Input, Component, ViewChild, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpHeaders, HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
5
5
|
import * as i2 from 'primeng/api';
|
|
@@ -70,8 +70,6 @@ import { SelectModule } from 'primeng/select';
|
|
|
70
70
|
import * as i25 from 'primeng/message';
|
|
71
71
|
import { MessageModule } from 'primeng/message';
|
|
72
72
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
73
|
-
import Aura from '@primeuix/themes/aura';
|
|
74
|
-
import { providePrimeNG } from 'primeng/config';
|
|
75
73
|
import * as i3$2 from '@angular/router';
|
|
76
74
|
|
|
77
75
|
class GlobalService {
|
|
@@ -180,83 +178,16 @@ class CuentaContableService extends CrudService {
|
|
|
180
178
|
obtieneCuentasContablesRecursivo() {
|
|
181
179
|
return this.httpClient.get(this.getUrl('cuentaContable') + '/obtieneCuentasContablesRecursivo', this.buildAuth());
|
|
182
180
|
}
|
|
183
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
184
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
185
|
-
}
|
|
186
|
-
(
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
const _c0$7 = () => ({ width: "100%" });
|
|
194
|
-
function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
195
|
-
i0.ɵɵelementStart(0, "tr")(1, "th", 5);
|
|
196
|
-
i0.ɵɵtext(2, "Cuenta contable");
|
|
197
|
-
i0.ɵɵelementEnd();
|
|
198
|
-
i0.ɵɵelementStart(3, "th", 5);
|
|
199
|
-
i0.ɵɵtext(4, "Descripci\u00F3n");
|
|
200
|
-
i0.ɵɵelementEnd();
|
|
201
|
-
i0.ɵɵelementStart(5, "th", 6);
|
|
202
|
-
i0.ɵɵtext(6, "Naturaleza");
|
|
203
|
-
i0.ɵɵelementEnd();
|
|
204
|
-
i0.ɵɵelementStart(7, "th", 7);
|
|
205
|
-
i0.ɵɵtext(8, "Tipo");
|
|
206
|
-
i0.ɵɵelementEnd();
|
|
207
|
-
i0.ɵɵelementStart(9, "th", 8);
|
|
208
|
-
i0.ɵɵtext(10, "Acciones");
|
|
209
|
-
i0.ɵɵelementEnd()();
|
|
210
|
-
} }
|
|
211
|
-
function CclistaComponent_ng_template_4_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
212
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
213
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
214
|
-
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
|
|
215
|
-
i0.ɵɵelementEnd();
|
|
216
|
-
} }
|
|
217
|
-
function CclistaComponent_ng_template_4_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
218
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
219
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
220
|
-
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_Conditional_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
|
|
221
|
-
i0.ɵɵelementEnd();
|
|
222
|
-
} }
|
|
223
|
-
function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
224
|
-
i0.ɵɵelementStart(0, "tr")(1, "td", 9);
|
|
225
|
-
i0.ɵɵelement(2, "p-treeTableToggler", 10);
|
|
226
|
-
i0.ɵɵtext(3);
|
|
227
|
-
i0.ɵɵelementEnd();
|
|
228
|
-
i0.ɵɵelementStart(4, "td", 9);
|
|
229
|
-
i0.ɵɵtext(5);
|
|
230
|
-
i0.ɵɵelementEnd();
|
|
231
|
-
i0.ɵɵelementStart(6, "td", 11);
|
|
232
|
-
i0.ɵɵtext(7);
|
|
233
|
-
i0.ɵɵelementEnd();
|
|
234
|
-
i0.ɵɵelementStart(8, "td", 12);
|
|
235
|
-
i0.ɵɵtext(9);
|
|
236
|
-
i0.ɵɵelementEnd();
|
|
237
|
-
i0.ɵɵelementStart(10, "td", 13)(11, "div", 14);
|
|
238
|
-
i0.ɵɵconditionalCreate(12, CclistaComponent_ng_template_4_Conditional_12_Template, 1, 0, "button", 15);
|
|
239
|
-
i0.ɵɵconditionalCreate(13, CclistaComponent_ng_template_4_Conditional_13_Template, 1, 0, "button", 15);
|
|
240
|
-
i0.ɵɵelementEnd()()();
|
|
241
|
-
} if (rf & 2) {
|
|
242
|
-
const rowNode_r5 = ctx.$implicit;
|
|
243
|
-
const rowData_r2 = ctx.rowData;
|
|
244
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
245
|
-
i0.ɵɵadvance(2);
|
|
246
|
-
i0.ɵɵproperty("rowNode", rowNode_r5);
|
|
247
|
-
i0.ɵɵadvance();
|
|
248
|
-
i0.ɵɵtextInterpolate1(" ", rowData_r2.cuentaContable, " ");
|
|
249
|
-
i0.ɵɵadvance(2);
|
|
250
|
-
i0.ɵɵtextInterpolate1(" ", rowData_r2.descripcion, " ");
|
|
251
|
-
i0.ɵɵadvance(2);
|
|
252
|
-
i0.ɵɵtextInterpolate1(" ", rowData_r2.naturaleza, " ");
|
|
253
|
-
i0.ɵɵadvance(2);
|
|
254
|
-
i0.ɵɵtextInterpolate1(" ", rowData_r2.tipo, " ");
|
|
255
|
-
i0.ɵɵadvance(3);
|
|
256
|
-
i0.ɵɵconditional(ctx_r2.typeAccount == 1 && rowData_r2.cuentaRegistro ? 12 : -1);
|
|
257
|
-
i0.ɵɵadvance();
|
|
258
|
-
i0.ɵɵconditional(ctx_r2.typeAccount == 2 && !rowData_r2.cuentaRegistro ? 13 : -1);
|
|
259
|
-
} }
|
|
181
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CuentaContableService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
182
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CuentaContableService, providedIn: 'root' }); }
|
|
183
|
+
}
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CuentaContableService, decorators: [{
|
|
185
|
+
type: Injectable,
|
|
186
|
+
args: [{
|
|
187
|
+
providedIn: 'root'
|
|
188
|
+
}]
|
|
189
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
190
|
+
|
|
260
191
|
class CclistaComponent {
|
|
261
192
|
constructor(_cuentaContableService) {
|
|
262
193
|
this._cuentaContableService = _cuentaContableService;
|
|
@@ -415,37 +346,20 @@ class CclistaComponent {
|
|
|
415
346
|
return listAccounts;
|
|
416
347
|
}
|
|
417
348
|
}
|
|
418
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
419
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
} }, dependencies: [i2.PrimeTemplate, i19.TreeTable, i19.TreeTableToggler, i6.ButtonDirective, i7.InputText, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel], encapsulation: 2 }); }
|
|
433
|
-
}
|
|
434
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CclistaComponent, [{
|
|
435
|
-
type: Component,
|
|
436
|
-
args: [{ selector: 'lib-cclista', standalone: false, 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 @if (typeAccount==1 && rowData.cuentaRegistro) {\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\"></button>\n }\n @if (typeAccount==2 && !rowData.cuentaRegistro) {\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\"></button>\n }\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
|
|
437
|
-
}], () => [{ type: CuentaContableService }], { isShared: [{
|
|
438
|
-
type: Input
|
|
439
|
-
}], typeAccount: [{
|
|
440
|
-
type: Input
|
|
441
|
-
}], evSelectedAccount: [{
|
|
442
|
-
type: Output
|
|
443
|
-
}] }); })();
|
|
444
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CclistaComponent, { className: "CclistaComponent", filePath: "lib/contabilidad/componentes/cclista/cclista.component.ts", lineNumber: 11 }); })();
|
|
445
|
-
|
|
446
|
-
const _c0$6 = ["dialog"];
|
|
447
|
-
const _c1$3 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
448
|
-
const _c2 = a0 => ({ "height": a0 });
|
|
349
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CclistaComponent, deps: [{ token: CuentaContableService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
350
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: CclistaComponent, isStandalone: false, selector: "lib-cclista", inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, ngImport: i0, 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 @if (typeAccount==1 && rowData.cuentaRegistro) {\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\"></button>\n }\n @if (typeAccount==2 && !rowData.cuentaRegistro) {\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\"></button>\n }\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i19.TreeTable, selector: "p-treeTable, p-treetable, p-tree-table", inputs: ["columns", "style", "styleClass", "tableStyle", "tableStyleClass", "autoLayout", "lazy", "lazyLoadOnInit", "paginator", "rows", "first", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "customSort", "selectionMode", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "compareSelectionBy", "rowHover", "loading", "loadingIcon", "showLoader", "scrollable", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "frozenColumns", "resizableColumns", "columnResizeMode", "reorderableColumns", "contextMenu", "rowTrackBy", "filters", "globalFilterFields", "filterDelay", "filterMode", "filterLocale", "paginatorLocale", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "value", "virtualRowHeight", "selectionKeys", "showGridlines"], outputs: ["selectionChange", "contextMenuSelectionChange", "onFilter", "onNodeExpand", "onNodeCollapse", "onPage", "onSort", "onLazyLoad", "sortFunction", "onColResize", "onColReorder", "onNodeSelect", "onNodeUnselect", "onContextMenuSelect", "onHeaderCheckboxToggle", "onEditInit", "onEditComplete", "onEditCancel", "selectionKeysChange"] }, { kind: "component", type: i19.TreeTableToggler, selector: "p-treeTableToggler, p-treetabletoggler, p-treetable-toggler", inputs: ["rowNode"] }, { kind: "directive", type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
351
|
+
}
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CclistaComponent, decorators: [{
|
|
353
|
+
type: Component,
|
|
354
|
+
args: [{ selector: 'lib-cclista', standalone: false, 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 @if (typeAccount==1 && rowData.cuentaRegistro) {\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\"></button>\n }\n @if (typeAccount==2 && !rowData.cuentaRegistro) {\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\"></button>\n }\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
|
|
355
|
+
}], ctorParameters: () => [{ type: CuentaContableService }], propDecorators: { isShared: [{
|
|
356
|
+
type: Input
|
|
357
|
+
}], typeAccount: [{
|
|
358
|
+
type: Input
|
|
359
|
+
}], evSelectedAccount: [{
|
|
360
|
+
type: Output
|
|
361
|
+
}] } });
|
|
362
|
+
|
|
449
363
|
class CcseleccionDialogComponent {
|
|
450
364
|
constructor() {
|
|
451
365
|
this.cuentasContables = [];
|
|
@@ -466,43 +380,22 @@ class CcseleccionDialogComponent {
|
|
|
466
380
|
hiddenDialog(evt) {
|
|
467
381
|
this.evSelectedAccount.emit(null);
|
|
468
382
|
}
|
|
469
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
470
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
486
|
-
i0.ɵɵadvance();
|
|
487
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
|
|
488
|
-
i0.ɵɵadvance();
|
|
489
|
-
i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
|
|
490
|
-
} }, dependencies: [i13.NgStyle, i9.Dialog, CclistaComponent], encapsulation: 2 }); }
|
|
491
|
-
}
|
|
492
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcseleccionDialogComponent, [{
|
|
493
|
-
type: Component,
|
|
494
|
-
args: [{ selector: 'lib-ccseleccion-dialog', standalone: false, 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>" }]
|
|
495
|
-
}], () => [], { dialog: [{
|
|
496
|
-
type: ViewChild,
|
|
497
|
-
args: ["dialog", { static: true }]
|
|
498
|
-
}], tipoCuenta: [{
|
|
499
|
-
type: Input
|
|
500
|
-
}], displayShowCuentas: [{
|
|
501
|
-
type: Input
|
|
502
|
-
}], evSelectedAccount: [{
|
|
503
|
-
type: Output
|
|
504
|
-
}] }); })();
|
|
505
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CcseleccionDialogComponent, { className: "CcseleccionDialogComponent", filePath: "lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.ts", lineNumber: 10 }); })();
|
|
383
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CcseleccionDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
384
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: CcseleccionDialogComponent, isStandalone: false, selector: "lib-ccseleccion-dialog", inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }], ngImport: i0, 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>", styles: [""], dependencies: [{ kind: "directive", type: i13.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i9.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "component", type: CclistaComponent, selector: "lib-cclista", inputs: ["isShared", "typeAccount"], outputs: ["evSelectedAccount"] }] }); }
|
|
385
|
+
}
|
|
386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CcseleccionDialogComponent, decorators: [{
|
|
387
|
+
type: Component,
|
|
388
|
+
args: [{ selector: 'lib-ccseleccion-dialog', standalone: false, 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>" }]
|
|
389
|
+
}], ctorParameters: () => [], propDecorators: { dialog: [{
|
|
390
|
+
type: ViewChild,
|
|
391
|
+
args: ["dialog", { static: true }]
|
|
392
|
+
}], tipoCuenta: [{
|
|
393
|
+
type: Input
|
|
394
|
+
}], displayShowCuentas: [{
|
|
395
|
+
type: Input
|
|
396
|
+
}], evSelectedAccount: [{
|
|
397
|
+
type: Output
|
|
398
|
+
}] } });
|
|
506
399
|
|
|
507
400
|
const contaComponents = [
|
|
508
401
|
CclistaComponent,
|
|
@@ -516,17 +409,17 @@ class LoginModalService {
|
|
|
516
409
|
showModal() {
|
|
517
410
|
this.modal.emit(true);
|
|
518
411
|
}
|
|
519
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
520
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
412
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoginModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
413
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoginModalService, providedIn: 'root' }); }
|
|
521
414
|
}
|
|
522
|
-
(
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoginModalService, decorators: [{
|
|
416
|
+
type: Injectable,
|
|
417
|
+
args: [{
|
|
418
|
+
providedIn: 'root'
|
|
419
|
+
}]
|
|
420
|
+
}], propDecorators: { modal: [{
|
|
421
|
+
type: Output
|
|
422
|
+
}] } });
|
|
530
423
|
|
|
531
424
|
class LoadingScreenService {
|
|
532
425
|
constructor() {
|
|
@@ -546,15 +439,15 @@ class LoadingScreenService {
|
|
|
546
439
|
stopLoading() {
|
|
547
440
|
this.loading = false;
|
|
548
441
|
}
|
|
549
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
550
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
442
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingScreenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
443
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingScreenService, providedIn: 'root' }); }
|
|
551
444
|
}
|
|
552
|
-
(
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingScreenService, decorators: [{
|
|
446
|
+
type: Injectable,
|
|
447
|
+
args: [{
|
|
448
|
+
providedIn: 'root'
|
|
449
|
+
}]
|
|
450
|
+
}] });
|
|
558
451
|
|
|
559
452
|
class httpInterceptor {
|
|
560
453
|
constructor(loginModalService, toastrService, loadingScreenService) {
|
|
@@ -629,32 +522,24 @@ class httpInterceptor {
|
|
|
629
522
|
}
|
|
630
523
|
}
|
|
631
524
|
}
|
|
632
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
633
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
525
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: httpInterceptor, deps: [{ token: LoginModalService }, { token: i1$1.ToastrService }, { token: LoadingScreenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
526
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: httpInterceptor }); }
|
|
634
527
|
}
|
|
635
|
-
(
|
|
636
|
-
|
|
637
|
-
|
|
528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: httpInterceptor, decorators: [{
|
|
529
|
+
type: Injectable
|
|
530
|
+
}], ctorParameters: () => [{ type: LoginModalService }, { type: i1$1.ToastrService }, { type: LoadingScreenService }] });
|
|
638
531
|
|
|
639
532
|
class Error404Component {
|
|
640
533
|
constructor() { }
|
|
641
534
|
ngOnInit() {
|
|
642
535
|
}
|
|
643
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
644
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
i0.ɵɵelementEnd()()()()()();
|
|
651
|
-
} }, styles: [".error[_ngcontent-%COMP%]{font-size:70px}"] }); }
|
|
652
|
-
}
|
|
653
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Error404Component, [{
|
|
654
|
-
type: Component,
|
|
655
|
-
args: [{ selector: 'app-error404', standalone: false, template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }]
|
|
656
|
-
}], () => [], null); })();
|
|
657
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Error404Component, { className: "Error404Component", filePath: "lib/components/error404/error404.component.ts", lineNumber: 9 }); })();
|
|
536
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Error404Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
537
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: Error404Component, isStandalone: false, selector: "app-error404", ngImport: i0, 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"] }); }
|
|
538
|
+
}
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Error404Component, decorators: [{
|
|
540
|
+
type: Component,
|
|
541
|
+
args: [{ selector: 'app-error404', standalone: false, 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"] }]
|
|
542
|
+
}], ctorParameters: () => [] });
|
|
658
543
|
|
|
659
544
|
class LoadingService {
|
|
660
545
|
constructor() {
|
|
@@ -672,17 +557,17 @@ class LoadingService {
|
|
|
672
557
|
stop() {
|
|
673
558
|
this.loading.emit(false);
|
|
674
559
|
}
|
|
675
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
676
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
560
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
561
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingService, providedIn: 'root' }); }
|
|
677
562
|
}
|
|
678
|
-
(
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingService, decorators: [{
|
|
564
|
+
type: Injectable,
|
|
565
|
+
args: [{
|
|
566
|
+
providedIn: 'root'
|
|
567
|
+
}]
|
|
568
|
+
}], propDecorators: { loading: [{
|
|
569
|
+
type: Output
|
|
570
|
+
}] } });
|
|
686
571
|
|
|
687
572
|
class LoadingComponent {
|
|
688
573
|
constructor(loadingService) {
|
|
@@ -702,31 +587,15 @@ class LoadingComponent {
|
|
|
702
587
|
}
|
|
703
588
|
});
|
|
704
589
|
}
|
|
705
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
706
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
i0.ɵɵpipe(13, "translate");
|
|
715
|
-
i0.ɵɵelementEnd()()()()()()()();
|
|
716
|
-
} if (rf & 2) {
|
|
717
|
-
i0.ɵɵadvance(10);
|
|
718
|
-
i0.ɵɵproperty("src", i0.ɵɵinterpolate(ctx.logo_loading), i0.ɵɵsanitizeUrl);
|
|
719
|
-
i0.ɵɵadvance(2);
|
|
720
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 3, "cargando"), "...");
|
|
721
|
-
} }, dependencies: [i3.TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:_ngcontent-%COMP%_spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:_ngcontent-%COMP%_a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:_ngcontent-%COMP%_b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:_ngcontent-%COMP%_c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:_ngcontent-%COMP%_d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes _ngcontent-%COMP%_a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes _ngcontent-%COMP%_b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes _ngcontent-%COMP%_c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes _ngcontent-%COMP%_d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes _ngcontent-%COMP%_spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal[_ngcontent-%COMP%]{z-index:2050!important}.modal-content[_ngcontent-%COMP%]{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body[_ngcontent-%COMP%]{margin-left:-7%!important}"] }); }
|
|
722
|
-
}
|
|
723
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
724
|
-
type: Component,
|
|
725
|
-
args: [{ selector: 'loading', standalone: false, template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
|
|
726
|
-
}], () => [{ type: LoadingService }], { logo_loading: [{
|
|
727
|
-
type: Input
|
|
728
|
-
}] }); })();
|
|
729
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent", filePath: "lib/components/loading/loading.component.ts", lineNumber: 10 }); })();
|
|
590
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingComponent, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
591
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: LoadingComponent, isStandalone: false, selector: "loading", inputs: { logo_loading: "logo_loading" }, ngImport: i0, template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"], dependencies: [{ kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
592
|
+
}
|
|
593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
594
|
+
type: Component,
|
|
595
|
+
args: [{ selector: 'loading', standalone: false, template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
|
|
596
|
+
}], ctorParameters: () => [{ type: LoadingService }], propDecorators: { logo_loading: [{
|
|
597
|
+
type: Input
|
|
598
|
+
}] } });
|
|
730
599
|
|
|
731
600
|
class LoadingScreenComponent {
|
|
732
601
|
constructor(loadingScreenService, _elmRef, _changeDetectorRef, loadingService) {
|
|
@@ -751,20 +620,15 @@ class LoadingScreenComponent {
|
|
|
751
620
|
ngOnDestroy() {
|
|
752
621
|
this.loadingSubscription.unsubscribe();
|
|
753
622
|
}
|
|
754
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
755
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
args: [{ selector: 'app-loading-screen', standalone: false, 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"] }]
|
|
764
|
-
}], () => [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }], { logo_loading: [{
|
|
765
|
-
type: Input
|
|
766
|
-
}] }); })();
|
|
767
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingScreenComponent, { className: "LoadingScreenComponent", filePath: "lib/components/loading-screen/loading-screen.component.ts", lineNumber: 13 }); })();
|
|
623
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingScreenComponent, deps: [{ token: LoadingScreenService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: LoadingService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
624
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: LoadingScreenComponent, isStandalone: false, selector: "app-loading-screen", inputs: { logo_loading: "logo_loading" }, ngImport: i0, 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"] }); }
|
|
625
|
+
}
|
|
626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoadingScreenComponent, decorators: [{
|
|
627
|
+
type: Component,
|
|
628
|
+
args: [{ selector: 'app-loading-screen', standalone: false, 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"] }]
|
|
629
|
+
}], ctorParameters: () => [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }], propDecorators: { logo_loading: [{
|
|
630
|
+
type: Input
|
|
631
|
+
}] } });
|
|
768
632
|
|
|
769
633
|
class PdfModalService {
|
|
770
634
|
constructor() {
|
|
@@ -779,19 +643,19 @@ class PdfModalService {
|
|
|
779
643
|
this.html = html;
|
|
780
644
|
this.print.emit(true);
|
|
781
645
|
}
|
|
782
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
783
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
646
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PdfModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
647
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PdfModalService, providedIn: 'root' }); }
|
|
784
648
|
}
|
|
785
|
-
(
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PdfModalService, decorators: [{
|
|
650
|
+
type: Injectable,
|
|
651
|
+
args: [{
|
|
652
|
+
providedIn: 'root'
|
|
653
|
+
}]
|
|
654
|
+
}], propDecorators: { visible: [{
|
|
655
|
+
type: Output
|
|
656
|
+
}], print: [{
|
|
657
|
+
type: Output
|
|
658
|
+
}] } });
|
|
795
659
|
|
|
796
660
|
class FileService {
|
|
797
661
|
constructor(_toastrService, translate) {
|
|
@@ -845,27 +709,16 @@ class FileService {
|
|
|
845
709
|
base64ToFileDowload(base64, type, name) {
|
|
846
710
|
this.blobToDowload(this.base64ToBlob(base64, type), type, name);
|
|
847
711
|
}
|
|
848
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
849
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
850
|
-
}
|
|
851
|
-
(
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
const _c0$5 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
859
|
-
const _c1$2 = () => ({ "overflow": "visible" });
|
|
860
|
-
function PdfModalComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
861
|
-
i0.ɵɵelementStart(0, "div", 1);
|
|
862
|
-
i0.ɵɵelement(1, "iframe", 2);
|
|
863
|
-
i0.ɵɵelementEnd();
|
|
864
|
-
} if (rf & 2) {
|
|
865
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
866
|
-
i0.ɵɵadvance();
|
|
867
|
-
i0.ɵɵproperty("src", ctx_r0.domSanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64," + ctx_r0.pdfBase64), i0.ɵɵsanitizeResourceUrl);
|
|
868
|
-
} }
|
|
712
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileService, deps: [{ token: i1$1.ToastrService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
713
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileService, providedIn: 'root' }); }
|
|
714
|
+
}
|
|
715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileService, decorators: [{
|
|
716
|
+
type: Injectable,
|
|
717
|
+
args: [{
|
|
718
|
+
providedIn: 'root'
|
|
719
|
+
}]
|
|
720
|
+
}], ctorParameters: () => [{ type: i1$1.ToastrService }, { type: i3.TranslateService }] });
|
|
721
|
+
|
|
869
722
|
class PdfModalComponent {
|
|
870
723
|
constructor(_pdfModalService, fileService, domSanitizer) {
|
|
871
724
|
this._pdfModalService = _pdfModalService;
|
|
@@ -929,25 +782,13 @@ class PdfModalComponent {
|
|
|
929
782
|
//iframe.focus();
|
|
930
783
|
// iframe.contentWindow.print();
|
|
931
784
|
}
|
|
932
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
933
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
}
|
|
939
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(11, _c0$5, ctx.size + "px"));
|
|
940
|
-
i0.ɵɵtwoWayProperty("visible", ctx.display);
|
|
941
|
-
i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("contentStyle", i0.ɵɵpureFunction0(13, _c1$2));
|
|
942
|
-
i0.ɵɵadvance();
|
|
943
|
-
i0.ɵɵconditional(ctx.pdfBase64 ? 1 : -1);
|
|
944
|
-
} }, dependencies: [i9.Dialog], styles: [".down[_ngcontent-%COMP%]{display:block}"] }); }
|
|
945
|
-
}
|
|
946
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalComponent, [{
|
|
947
|
-
type: Component,
|
|
948
|
-
args: [{ selector: 'pdf-modal', standalone: false, 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\" [contentStyle]=\"{'overflow':'visible'}\">\n @if (pdfBase64) {\n <div style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\" [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n }\n</p-dialog>\n\n", styles: [".down{display:block}\n"] }]
|
|
949
|
-
}], () => [{ type: PdfModalService }, { type: FileService }, { type: i3$1.DomSanitizer }], null); })();
|
|
950
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PdfModalComponent, { className: "PdfModalComponent", filePath: "lib/components/pdfmodal/pdf-modal.component.ts", lineNumber: 11 }); })();
|
|
785
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PdfModalComponent, deps: [{ token: PdfModalService }, { token: FileService }, { token: i3$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
786
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: PdfModalComponent, isStandalone: false, selector: "pdf-modal", ngImport: i0, 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\" [contentStyle]=\"{'overflow':'visible'}\">\n @if (pdfBase64) {\n <div style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\" [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n }\n</p-dialog>\n\n", styles: [".down{display:block}\n"], dependencies: [{ kind: "component", type: i9.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
|
|
787
|
+
}
|
|
788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PdfModalComponent, decorators: [{
|
|
789
|
+
type: Component,
|
|
790
|
+
args: [{ selector: 'pdf-modal', standalone: false, 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\" [contentStyle]=\"{'overflow':'visible'}\">\n @if (pdfBase64) {\n <div style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\" [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n }\n</p-dialog>\n\n", styles: [".down{display:block}\n"] }]
|
|
791
|
+
}], ctorParameters: () => [{ type: PdfModalService }, { type: FileService }, { type: i3$1.DomSanitizer }] });
|
|
951
792
|
|
|
952
793
|
class Usuario {
|
|
953
794
|
}
|
|
@@ -1138,90 +979,20 @@ class AuthService {
|
|
|
1138
979
|
this.url_host = config.url;
|
|
1139
980
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioActual', httpOptions);
|
|
1140
981
|
}
|
|
1141
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1142
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1143
|
-
}
|
|
1144
|
-
(
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
function LoginModalComponent_Conditional_6_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1156
|
-
i0.ɵɵelementStart(0, "label", 11);
|
|
1157
|
-
i0.ɵɵtext(1);
|
|
1158
|
-
i0.ɵɵpipe(2, "translate");
|
|
1159
|
-
i0.ɵɵelementEnd();
|
|
1160
|
-
} if (rf & 2) {
|
|
1161
|
-
i0.ɵɵadvance();
|
|
1162
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Usuario.errorLogin"));
|
|
1163
|
-
} }
|
|
1164
|
-
function LoginModalComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
1165
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
1166
|
-
i0.ɵɵelementStart(0, "div", 8)(1, "div", 9)(2, "form", 10, 0);
|
|
1167
|
-
i0.ɵɵlistener("ngSubmit", function LoginModalComponent_Conditional_6_Template_form_ngSubmit_2_listener() { i0.ɵɵrestoreView(_r1); const datoForm_r2 = i0.ɵɵreference(3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.entrar(datoForm_r2)); });
|
|
1168
|
-
i0.ɵɵconditionalCreate(4, LoginModalComponent_Conditional_6_Conditional_4_Template, 3, 3, "label", 11);
|
|
1169
|
-
i0.ɵɵelementStart(5, "div", 12)(6, "label", 13);
|
|
1170
|
-
i0.ɵɵtext(7);
|
|
1171
|
-
i0.ɵɵpipe(8, "translate");
|
|
1172
|
-
i0.ɵɵelementEnd();
|
|
1173
|
-
i0.ɵɵelementStart(9, "input", 14, 1);
|
|
1174
|
-
i0.ɵɵpipe(11, "translate");
|
|
1175
|
-
i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_Conditional_6_Template_input_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.user.username, $event) || (ctx_r2.user.username = $event); return i0.ɵɵresetView($event); });
|
|
1176
|
-
i0.ɵɵelementEnd()();
|
|
1177
|
-
i0.ɵɵelementStart(12, "div", 12)(13, "label", 15);
|
|
1178
|
-
i0.ɵɵtext(14);
|
|
1179
|
-
i0.ɵɵpipe(15, "translate");
|
|
1180
|
-
i0.ɵɵelementEnd();
|
|
1181
|
-
i0.ɵɵelementStart(16, "input", 16);
|
|
1182
|
-
i0.ɵɵpipe(17, "translate");
|
|
1183
|
-
i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_Conditional_6_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.user.password, $event) || (ctx_r2.user.password = $event); return i0.ɵɵresetView($event); });
|
|
1184
|
-
i0.ɵɵelementEnd()();
|
|
1185
|
-
i0.ɵɵelementStart(18, "button", 17);
|
|
1186
|
-
i0.ɵɵtext(19, "entrar");
|
|
1187
|
-
i0.ɵɵelementEnd()()()();
|
|
1188
|
-
} if (rf & 2) {
|
|
1189
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
1190
|
-
i0.ɵɵadvance(4);
|
|
1191
|
-
i0.ɵɵconditional(ctx_r2.error ? 4 : -1);
|
|
1192
|
-
i0.ɵɵadvance(3);
|
|
1193
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 9, "Usuario.username"));
|
|
1194
|
-
i0.ɵɵadvance(2);
|
|
1195
|
-
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(11, 11, "Usuario.username")));
|
|
1196
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.username);
|
|
1197
|
-
i0.ɵɵadvance(5);
|
|
1198
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 13, "Usuario.password"));
|
|
1199
|
-
i0.ɵɵadvance(2);
|
|
1200
|
-
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(17, 15, "Usuario.password")));
|
|
1201
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.password);
|
|
1202
|
-
} }
|
|
1203
|
-
function LoginModalComponent_Conditional_7_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
1204
|
-
i0.ɵɵelementStart(0, "div", 19)(1, "div", 20)(2, "div", 21)(3, "h5");
|
|
1205
|
-
i0.ɵɵtext(4);
|
|
1206
|
-
i0.ɵɵelementEnd()()()();
|
|
1207
|
-
} if (rf & 2) {
|
|
1208
|
-
const empresa_r4 = ctx.$implicit;
|
|
1209
|
-
i0.ɵɵadvance(4);
|
|
1210
|
-
i0.ɵɵtextInterpolate1(" ", empresa_r4.nombre, " ");
|
|
1211
|
-
} }
|
|
1212
|
-
function LoginModalComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
1213
|
-
i0.ɵɵelementStart(0, "div", 8)(1, "div", 18)(2, "h4");
|
|
1214
|
-
i0.ɵɵtext(3, "Selecciona la empresa");
|
|
1215
|
-
i0.ɵɵelementEnd();
|
|
1216
|
-
i0.ɵɵelement(4, "hr");
|
|
1217
|
-
i0.ɵɵelementEnd();
|
|
1218
|
-
i0.ɵɵrepeaterCreate(5, LoginModalComponent_Conditional_7_For_6_Template, 5, 1, "div", 19, i0.ɵɵrepeaterTrackByIdentity);
|
|
1219
|
-
i0.ɵɵelementEnd();
|
|
1220
|
-
} if (rf & 2) {
|
|
1221
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
1222
|
-
i0.ɵɵadvance(5);
|
|
1223
|
-
i0.ɵɵrepeater(ctx_r2.empresas);
|
|
1224
|
-
} }
|
|
982
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
983
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AuthService, providedIn: 'root' }); }
|
|
984
|
+
}
|
|
985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AuthService, decorators: [{
|
|
986
|
+
type: Injectable,
|
|
987
|
+
args: [{
|
|
988
|
+
providedIn: 'root'
|
|
989
|
+
}]
|
|
990
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }], propDecorators: { login: [{
|
|
991
|
+
type: Output
|
|
992
|
+
}], seleccionEmpresa: [{
|
|
993
|
+
type: Output
|
|
994
|
+
}] } });
|
|
995
|
+
|
|
1225
996
|
class LoginModalComponent {
|
|
1226
997
|
constructor(loginModalService, authService) {
|
|
1227
998
|
this.loginModalService = loginModalService;
|
|
@@ -1275,109 +1046,29 @@ class LoginModalComponent {
|
|
|
1275
1046
|
$('#modalLogin').modal('hide');
|
|
1276
1047
|
});
|
|
1277
1048
|
}
|
|
1278
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1279
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
i0.ɵɵelementEnd()()()();
|
|
1286
|
-
} if (rf & 2) {
|
|
1287
|
-
i0.ɵɵadvance(6);
|
|
1288
|
-
i0.ɵɵconditional(ctx.empresas.length == 0 ? 6 : -1);
|
|
1289
|
-
i0.ɵɵadvance();
|
|
1290
|
-
i0.ɵɵconditional(ctx.empresas.length ? 7 : -1);
|
|
1291
|
-
} }, dependencies: [i10.ɵNgNoValidate, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgControlStatusGroup, i10.RequiredValidator, i10.NgModel, i10.NgForm, i3.TranslateDirective, i3.TranslatePipe], styles: [".modal[_ngcontent-%COMP%]{z-index:2050!important}.btn-primary_low[_ngcontent-%COMP%]{background:#133659!important}.ng-valid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.ng-invalid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.card[_ngcontent-%COMP%]{background:#26baed;color:#fff}.card-body[_ngcontent-%COMP%]{padding:10px}"] }); }
|
|
1292
|
-
}
|
|
1293
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1294
|
-
type: Component,
|
|
1295
|
-
args: [{ selector: 'app-login-modal', standalone: false, 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 @if (empresas.length == 0) {\n <div class=\"row\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" >\n @if (error) {\n <label class=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n }\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 <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 }\n @if (empresas.length) {\n <div class=\"row\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n @for (empresa of empresas; track empresa) {\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" 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 }\n </div>\n }\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"] }]
|
|
1296
|
-
}], () => [{ type: LoginModalService }, { type: AuthService }], null); })();
|
|
1297
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoginModalComponent, { className: "LoginModalComponent", filePath: "lib/components/login-modal/login-modal.component.ts", lineNumber: 12 }); })();
|
|
1049
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoginModalComponent, deps: [{ token: LoginModalService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1050
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: LoginModalComponent, isStandalone: false, selector: "app-login-modal", ngImport: i0, 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 @if (empresas.length == 0) {\n <div class=\"row\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" >\n @if (error) {\n <label class=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n }\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 <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 }\n @if (empresas.length) {\n <div class=\"row\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n @for (empresa of empresas; track empresa) {\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" 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 }\n </div>\n }\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"], dependencies: [{ kind: "directive", type: i10.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i10.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i10.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
1051
|
+
}
|
|
1052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LoginModalComponent, decorators: [{
|
|
1053
|
+
type: Component,
|
|
1054
|
+
args: [{ selector: 'app-login-modal', standalone: false, 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 @if (empresas.length == 0) {\n <div class=\"row\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" >\n @if (error) {\n <label class=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n }\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 <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 }\n @if (empresas.length) {\n <div class=\"row\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n @for (empresa of empresas; track empresa) {\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" 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 }\n </div>\n }\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"] }]
|
|
1055
|
+
}], ctorParameters: () => [{ type: LoginModalService }, { type: AuthService }] });
|
|
1298
1056
|
|
|
1299
1057
|
class SessionCajaService extends CrudService {
|
|
1300
1058
|
constructor(httpClient) {
|
|
1301
1059
|
super(httpClient, 'sessionCaja');
|
|
1302
1060
|
this.httpClient = httpClient;
|
|
1303
1061
|
}
|
|
1304
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1305
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1306
|
-
}
|
|
1307
|
-
(
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
const _c0$4 = () => ({ width: "750px" });
|
|
1315
|
-
function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1316
|
-
i0.ɵɵelementStart(0, "a", 4);
|
|
1317
|
-
i0.ɵɵtext(1);
|
|
1318
|
-
i0.ɵɵelementEnd();
|
|
1319
|
-
} if (rf & 2) {
|
|
1320
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1321
|
-
i0.ɵɵadvance();
|
|
1322
|
-
i0.ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
|
|
1323
|
-
} }
|
|
1324
|
-
function SessionCreateComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
1325
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
|
1326
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "div", 5)(2, "label", 6);
|
|
1327
|
-
i0.ɵɵtext(3, "Nombre de caja: ");
|
|
1328
|
-
i0.ɵɵelementEnd();
|
|
1329
|
-
i0.ɵɵelementStart(4, "input", 7);
|
|
1330
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_Conditional_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.caja.nombre, $event) || (ctx_r0.caja.nombre = $event); return i0.ɵɵresetView($event); });
|
|
1331
|
-
i0.ɵɵelementEnd()();
|
|
1332
|
-
i0.ɵɵelementStart(5, "div", 8)(6, "label", 9);
|
|
1333
|
-
i0.ɵɵtext(7, "Saldo: ");
|
|
1334
|
-
i0.ɵɵelementEnd();
|
|
1335
|
-
i0.ɵɵelementStart(8, "input", 10);
|
|
1336
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_Conditional_2_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.monto, $event) || (ctx_r0.session.monto = $event); return i0.ɵɵresetView($event); });
|
|
1337
|
-
i0.ɵɵelementEnd()();
|
|
1338
|
-
i0.ɵɵelementStart(9, "div", 8)(10, "label", 11);
|
|
1339
|
-
i0.ɵɵtext(11, "Numero Z:");
|
|
1340
|
-
i0.ɵɵelementEnd();
|
|
1341
|
-
i0.ɵɵelementStart(12, "input", 12);
|
|
1342
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_Conditional_2_Template_input_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.z, $event) || (ctx_r0.session.z = $event); return i0.ɵɵresetView($event); });
|
|
1343
|
-
i0.ɵɵelementEnd()()();
|
|
1344
|
-
} if (rf & 2) {
|
|
1345
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1346
|
-
i0.ɵɵadvance(4);
|
|
1347
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.caja.nombre);
|
|
1348
|
-
i0.ɵɵproperty("disabled", true);
|
|
1349
|
-
i0.ɵɵadvance(4);
|
|
1350
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.monto);
|
|
1351
|
-
i0.ɵɵproperty("disabled", ctx_r0.editMode);
|
|
1352
|
-
i0.ɵɵadvance(4);
|
|
1353
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.z);
|
|
1354
|
-
i0.ɵɵproperty("disabled", true);
|
|
1355
|
-
} }
|
|
1356
|
-
function SessionCreateComponent_ng_template_5_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
1357
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
1358
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
1359
|
-
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.save()); });
|
|
1360
|
-
i0.ɵɵelementEnd();
|
|
1361
|
-
} }
|
|
1362
|
-
function SessionCreateComponent_ng_template_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1363
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
1364
|
-
i0.ɵɵelementStart(0, "button", 17);
|
|
1365
|
-
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.edit()); });
|
|
1366
|
-
i0.ɵɵelementEnd();
|
|
1367
|
-
} }
|
|
1368
|
-
function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1369
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
1370
|
-
i0.ɵɵconditionalCreate(0, SessionCreateComponent_ng_template_5_Conditional_0_Template, 1, 0, "button", 13);
|
|
1371
|
-
i0.ɵɵconditionalCreate(1, SessionCreateComponent_ng_template_5_Conditional_1_Template, 1, 0, "button", 14);
|
|
1372
|
-
i0.ɵɵelementStart(2, "button", 15);
|
|
1373
|
-
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.closeModal()); });
|
|
1374
|
-
i0.ɵɵelementEnd();
|
|
1375
|
-
} if (rf & 2) {
|
|
1376
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1377
|
-
i0.ɵɵconditional(!ctx_r0.editMode && ctx_r0.caja ? 0 : -1);
|
|
1378
|
-
i0.ɵɵadvance();
|
|
1379
|
-
i0.ɵɵconditional(ctx_r0.editMode && ctx_r0.caja ? 1 : -1);
|
|
1380
|
-
} }
|
|
1062
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SessionCajaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1063
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SessionCajaService, providedIn: 'root' }); }
|
|
1064
|
+
}
|
|
1065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SessionCajaService, decorators: [{
|
|
1066
|
+
type: Injectable,
|
|
1067
|
+
args: [{
|
|
1068
|
+
providedIn: 'root'
|
|
1069
|
+
}]
|
|
1070
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1071
|
+
|
|
1381
1072
|
class SessionCreateComponent {
|
|
1382
1073
|
constructor(sessionCajaService) {
|
|
1383
1074
|
this.sessionCajaService = sessionCajaService;
|
|
@@ -1446,43 +1137,25 @@ class SessionCreateComponent {
|
|
|
1446
1137
|
this.status.emit({ status: false, update: this.resp.data });
|
|
1447
1138
|
}
|
|
1448
1139
|
}
|
|
1449
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1450
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
}
|
|
1469
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1470
|
-
type: Component,
|
|
1471
|
-
args: [{ selector: 'session-create', standalone: false, 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 @if (caja) {\n <div class=\"grid grid-fluid\">\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 <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 <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\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n @if (!editMode && caja) {\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" class=\"p-button-sm\"></button>\n }\n @if (editMode && caja) {\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" class=\"p-button-sm p-button-success\"></button>\n }\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
|
|
1472
|
-
}], () => [{ type: SessionCajaService }], { showCreateSession: [{
|
|
1473
|
-
type: Input
|
|
1474
|
-
}], caja: [{
|
|
1475
|
-
type: Input
|
|
1476
|
-
}], monedaDenominacionList: [{
|
|
1477
|
-
type: Input
|
|
1478
|
-
}], sessionEdit: [{
|
|
1479
|
-
type: Input
|
|
1480
|
-
}], status: [{
|
|
1481
|
-
type: Output
|
|
1482
|
-
}], success: [{
|
|
1483
|
-
type: Output
|
|
1484
|
-
}] }); })();
|
|
1485
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SessionCreateComponent, { className: "SessionCreateComponent", filePath: "lib/components/caja/session-create/session-create.component.ts", lineNumber: 11 }); })();
|
|
1140
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SessionCreateComponent, deps: [{ token: SessionCajaService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1141
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: SessionCreateComponent, isStandalone: false, selector: "session-create", inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, ngImport: i0, 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 @if (caja) {\n <div class=\"grid grid-fluid\">\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 <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 <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\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n @if (!editMode && caja) {\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" class=\"p-button-sm\"></button>\n }\n @if (editMode && caja) {\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" class=\"p-button-sm p-button-success\"></button>\n }\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>", styles: [""], dependencies: [{ kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: i9.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
1142
|
+
}
|
|
1143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SessionCreateComponent, decorators: [{
|
|
1144
|
+
type: Component,
|
|
1145
|
+
args: [{ selector: 'session-create', standalone: false, 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 @if (caja) {\n <div class=\"grid grid-fluid\">\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 <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 <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\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n @if (!editMode && caja) {\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" class=\"p-button-sm\"></button>\n }\n @if (editMode && caja) {\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" class=\"p-button-sm p-button-success\"></button>\n }\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
|
|
1146
|
+
}], ctorParameters: () => [{ type: SessionCajaService }], propDecorators: { showCreateSession: [{
|
|
1147
|
+
type: Input
|
|
1148
|
+
}], caja: [{
|
|
1149
|
+
type: Input
|
|
1150
|
+
}], monedaDenominacionList: [{
|
|
1151
|
+
type: Input
|
|
1152
|
+
}], sessionEdit: [{
|
|
1153
|
+
type: Input
|
|
1154
|
+
}], status: [{
|
|
1155
|
+
type: Output
|
|
1156
|
+
}], success: [{
|
|
1157
|
+
type: Output
|
|
1158
|
+
}] } });
|
|
1486
1159
|
|
|
1487
1160
|
class Persona {
|
|
1488
1161
|
constructor() {
|
|
@@ -1530,15 +1203,15 @@ class ClienteService extends CrudService {
|
|
|
1530
1203
|
validar_archivos_bss(id) {
|
|
1531
1204
|
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
1532
1205
|
}
|
|
1533
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1534
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1206
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1207
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteService, providedIn: 'root' }); }
|
|
1535
1208
|
}
|
|
1536
|
-
(
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteService, decorators: [{
|
|
1210
|
+
type: Injectable,
|
|
1211
|
+
args: [{
|
|
1212
|
+
providedIn: 'root'
|
|
1213
|
+
}]
|
|
1214
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1542
1215
|
|
|
1543
1216
|
class PaginateService {
|
|
1544
1217
|
constructor(translate) {
|
|
@@ -1584,120 +1257,16 @@ class PaginateService {
|
|
|
1584
1257
|
}, erro => { });
|
|
1585
1258
|
return ordenar;
|
|
1586
1259
|
}
|
|
1587
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1588
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1589
|
-
}
|
|
1590
|
-
(
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
function SelectClienteComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1598
|
-
i0.ɵɵelementStart(0, "tr")(1, "th");
|
|
1599
|
-
i0.ɵɵtext(2);
|
|
1600
|
-
i0.ɵɵpipe(3, "translate");
|
|
1601
|
-
i0.ɵɵelementEnd();
|
|
1602
|
-
i0.ɵɵelementStart(4, "th");
|
|
1603
|
-
i0.ɵɵtext(5);
|
|
1604
|
-
i0.ɵɵpipe(6, "translate");
|
|
1605
|
-
i0.ɵɵelementEnd();
|
|
1606
|
-
i0.ɵɵelementStart(7, "th");
|
|
1607
|
-
i0.ɵɵtext(8);
|
|
1608
|
-
i0.ɵɵpipe(9, "translate");
|
|
1609
|
-
i0.ɵɵelementEnd();
|
|
1610
|
-
i0.ɵɵelementStart(10, "th");
|
|
1611
|
-
i0.ɵɵtext(11);
|
|
1612
|
-
i0.ɵɵpipe(12, "translate");
|
|
1613
|
-
i0.ɵɵelementEnd();
|
|
1614
|
-
i0.ɵɵelementStart(13, "th");
|
|
1615
|
-
i0.ɵɵtext(14);
|
|
1616
|
-
i0.ɵɵpipe(15, "translate");
|
|
1617
|
-
i0.ɵɵelementEnd();
|
|
1618
|
-
i0.ɵɵelementStart(16, "th");
|
|
1619
|
-
i0.ɵɵtext(17);
|
|
1620
|
-
i0.ɵɵpipe(18, "translate");
|
|
1621
|
-
i0.ɵɵelementEnd()();
|
|
1622
|
-
} if (rf & 2) {
|
|
1623
|
-
i0.ɵɵadvance(2);
|
|
1624
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "clave"));
|
|
1625
|
-
i0.ɵɵadvance(3);
|
|
1626
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "razonSocial"));
|
|
1627
|
-
i0.ɵɵadvance(3);
|
|
1628
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
1629
|
-
i0.ɵɵadvance(3);
|
|
1630
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "Cliente.limiteCredito"));
|
|
1631
|
-
i0.ɵɵadvance(3);
|
|
1632
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "Cliente.plazoCredito"));
|
|
1633
|
-
i0.ɵɵadvance(3);
|
|
1634
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "Cliente.diasPago"));
|
|
1635
|
-
} }
|
|
1636
|
-
function SelectClienteComponent_ng_template_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
1637
|
-
i0.ɵɵelementStart(0, "span");
|
|
1638
|
-
i0.ɵɵtext(1);
|
|
1639
|
-
i0.ɵɵpipe(2, "translate");
|
|
1640
|
-
i0.ɵɵelementEnd();
|
|
1641
|
-
} if (rf & 2) {
|
|
1642
|
-
i0.ɵɵadvance();
|
|
1643
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
1644
|
-
} }
|
|
1645
|
-
function SelectClienteComponent_ng_template_8_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
1646
|
-
i0.ɵɵelementStart(0, "span");
|
|
1647
|
-
i0.ɵɵtext(1);
|
|
1648
|
-
i0.ɵɵpipe(2, "translate");
|
|
1649
|
-
i0.ɵɵelementEnd();
|
|
1650
|
-
} if (rf & 2) {
|
|
1651
|
-
i0.ɵɵadvance();
|
|
1652
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
1653
|
-
} }
|
|
1654
|
-
function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1655
|
-
i0.ɵɵelementStart(0, "tr", 8)(1, "td");
|
|
1656
|
-
i0.ɵɵtext(2);
|
|
1657
|
-
i0.ɵɵelementEnd();
|
|
1658
|
-
i0.ɵɵelementStart(3, "td");
|
|
1659
|
-
i0.ɵɵtext(4);
|
|
1660
|
-
i0.ɵɵelementEnd();
|
|
1661
|
-
i0.ɵɵelementStart(5, "td");
|
|
1662
|
-
i0.ɵɵconditionalCreate(6, SelectClienteComponent_ng_template_8_Conditional_6_Template, 3, 3, "span");
|
|
1663
|
-
i0.ɵɵconditionalCreate(7, SelectClienteComponent_ng_template_8_Conditional_7_Template, 3, 3, "span");
|
|
1664
|
-
i0.ɵɵelementEnd();
|
|
1665
|
-
i0.ɵɵelementStart(8, "td");
|
|
1666
|
-
i0.ɵɵtext(9);
|
|
1667
|
-
i0.ɵɵelementEnd();
|
|
1668
|
-
i0.ɵɵelementStart(10, "td");
|
|
1669
|
-
i0.ɵɵtext(11);
|
|
1670
|
-
i0.ɵɵelementEnd();
|
|
1671
|
-
i0.ɵɵelementStart(12, "td");
|
|
1672
|
-
i0.ɵɵtext(13);
|
|
1673
|
-
i0.ɵɵelementEnd()();
|
|
1674
|
-
} if (rf & 2) {
|
|
1675
|
-
const cliente_r1 = ctx.$implicit;
|
|
1676
|
-
i0.ɵɵproperty("pSelectableRow", cliente_r1);
|
|
1677
|
-
i0.ɵɵadvance(2);
|
|
1678
|
-
i0.ɵɵtextInterpolate(cliente_r1.codigo);
|
|
1679
|
-
i0.ɵɵadvance(2);
|
|
1680
|
-
i0.ɵɵtextInterpolate(cliente_r1.descripcionRazonSocial);
|
|
1681
|
-
i0.ɵɵadvance(2);
|
|
1682
|
-
i0.ɵɵconditional(cliente_r1.personaFisica ? 6 : -1);
|
|
1683
|
-
i0.ɵɵadvance();
|
|
1684
|
-
i0.ɵɵconditional(cliente_r1.personaMoral ? 7 : -1);
|
|
1685
|
-
i0.ɵɵadvance(2);
|
|
1686
|
-
i0.ɵɵtextInterpolate(cliente_r1.limiteCredito);
|
|
1687
|
-
i0.ɵɵadvance(2);
|
|
1688
|
-
i0.ɵɵtextInterpolate(cliente_r1.plazoCredito);
|
|
1689
|
-
i0.ɵɵadvance(2);
|
|
1690
|
-
i0.ɵɵtextInterpolate(cliente_r1.diasPago);
|
|
1691
|
-
} }
|
|
1692
|
-
function SelectClienteComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
1693
|
-
i0.ɵɵelementStart(0, "tr")(1, "td", 9);
|
|
1694
|
-
i0.ɵɵtext(2);
|
|
1695
|
-
i0.ɵɵpipe(3, "translate");
|
|
1696
|
-
i0.ɵɵelementEnd()();
|
|
1697
|
-
} if (rf & 2) {
|
|
1698
|
-
i0.ɵɵadvance(2);
|
|
1699
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "general.noRegistros"));
|
|
1700
|
-
} }
|
|
1260
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginateService, deps: [{ token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1261
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginateService, providedIn: "root" }); }
|
|
1262
|
+
}
|
|
1263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PaginateService, decorators: [{
|
|
1264
|
+
type: Injectable,
|
|
1265
|
+
args: [{
|
|
1266
|
+
providedIn: "root"
|
|
1267
|
+
}]
|
|
1268
|
+
}], ctorParameters: () => [{ type: i3.TranslateService }] });
|
|
1269
|
+
|
|
1701
1270
|
class SelectClienteComponent {
|
|
1702
1271
|
constructor(clienteService, paginate) {
|
|
1703
1272
|
this.clienteService = clienteService;
|
|
@@ -1752,51 +1321,21 @@ class SelectClienteComponent {
|
|
|
1752
1321
|
this.select.emit(null);
|
|
1753
1322
|
this.visible = false;
|
|
1754
1323
|
}
|
|
1755
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1756
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
i0.ɵɵlistener("onLazyLoad", function SelectClienteComponent_Template_p_table_onLazyLoad_6_listener($event) { return ctx.cargarDatosClientes($event); });
|
|
1771
|
-
i0.ɵɵtwoWayListener("selectionChange", function SelectClienteComponent_Template_p_table_selectionChange_6_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.clienteSeleccionado, $event) || (ctx.clienteSeleccionado = $event); return $event; });
|
|
1772
|
-
i0.ɵɵlistener("onRowSelect", function SelectClienteComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionaCliente($event); });
|
|
1773
|
-
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5)(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6)(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1774
|
-
i0.ɵɵelementEnd()();
|
|
1775
|
-
} if (rf & 2) {
|
|
1776
|
-
i0.ɵɵproperty("header", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(1, 16, "Seleccionar cliente ")));
|
|
1777
|
-
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
1778
|
-
i0.ɵɵadvance(3);
|
|
1779
|
-
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate1("", i0.ɵɵpipeBind1(4, 18, "buscar"), "..."));
|
|
1780
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
1781
|
-
i0.ɵɵadvance(3);
|
|
1782
|
-
i0.ɵɵproperty("selectionMode", i0.ɵɵinterpolate(ctx.selectMode))("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total);
|
|
1783
|
-
i0.ɵɵtwoWayProperty("selection", ctx.clienteSeleccionado);
|
|
1784
|
-
i0.ɵɵproperty("scrollable", true)("loading", ctx.loading);
|
|
1785
|
-
} }, dependencies: [i2.PrimeTemplate, i18.Table, i18.SelectableRow, i6.ButtonDirective, i7.InputText, i9.Dialog, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i3.TranslatePipe], encapsulation: 2 }); }
|
|
1786
|
-
}
|
|
1787
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1788
|
-
type: Component,
|
|
1789
|
-
args: [{ selector: 'select-cliente', standalone: false, 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 @if (cliente.personaFisica) {\n <span>{{'fisico'| translate}}</span>\n }\n @if (cliente.personaMoral) {\n <span>{{'moral'| translate}}</span>\n }\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>" }]
|
|
1790
|
-
}], () => [{ type: ClienteService }, { type: PaginateService }], { clienteSeleccionado: [{
|
|
1791
|
-
type: Input
|
|
1792
|
-
}], selectMode: [{
|
|
1793
|
-
type: Input
|
|
1794
|
-
}], visible: [{
|
|
1795
|
-
type: Input
|
|
1796
|
-
}], select: [{
|
|
1797
|
-
type: Output
|
|
1798
|
-
}] }); })();
|
|
1799
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectClienteComponent, { className: "SelectClienteComponent", filePath: "lib/components/cliente/select/select-cliente.component.ts", lineNumber: 12 }); })();
|
|
1324
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectClienteComponent, deps: [{ token: ClienteService }, { token: PaginateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1325
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: SelectClienteComponent, isStandalone: false, selector: "select-cliente", inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, ngImport: i0, 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 @if (cliente.personaFisica) {\n <span>{{'fisico'| translate}}</span>\n }\n @if (cliente.personaMoral) {\n <span>{{'moral'| translate}}</span>\n }\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>", dependencies: [{ kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i18.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: i9.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
1326
|
+
}
|
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectClienteComponent, decorators: [{
|
|
1328
|
+
type: Component,
|
|
1329
|
+
args: [{ selector: 'select-cliente', standalone: false, 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 @if (cliente.personaFisica) {\n <span>{{'fisico'| translate}}</span>\n }\n @if (cliente.personaMoral) {\n <span>{{'moral'| translate}}</span>\n }\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>" }]
|
|
1330
|
+
}], ctorParameters: () => [{ type: ClienteService }, { type: PaginateService }], propDecorators: { clienteSeleccionado: [{
|
|
1331
|
+
type: Input
|
|
1332
|
+
}], selectMode: [{
|
|
1333
|
+
type: Input
|
|
1334
|
+
}], visible: [{
|
|
1335
|
+
type: Input
|
|
1336
|
+
}], select: [{
|
|
1337
|
+
type: Output
|
|
1338
|
+
}] } });
|
|
1800
1339
|
|
|
1801
1340
|
class ClasificadorTipo {
|
|
1802
1341
|
constructor() { }
|
|
@@ -1816,57 +1355,16 @@ class ProveedorService extends CrudService {
|
|
|
1816
1355
|
super(httpClient, '/proveedor');
|
|
1817
1356
|
this.httpClient = httpClient;
|
|
1818
1357
|
}
|
|
1819
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1820
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1821
|
-
}
|
|
1822
|
-
(
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
const _c0$3 = () => [10, 25, 50, 100, 500];
|
|
1830
|
-
function SelectProveedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1831
|
-
i0.ɵɵelementStart(0, "tr")(1, "th");
|
|
1832
|
-
i0.ɵɵtext(2);
|
|
1833
|
-
i0.ɵɵpipe(3, "translate");
|
|
1834
|
-
i0.ɵɵelementEnd();
|
|
1835
|
-
i0.ɵɵelementStart(4, "th");
|
|
1836
|
-
i0.ɵɵtext(5);
|
|
1837
|
-
i0.ɵɵpipe(6, "translate");
|
|
1838
|
-
i0.ɵɵelementEnd();
|
|
1839
|
-
i0.ɵɵelementStart(7, "th");
|
|
1840
|
-
i0.ɵɵtext(8);
|
|
1841
|
-
i0.ɵɵpipe(9, "translate");
|
|
1842
|
-
i0.ɵɵelementEnd()();
|
|
1843
|
-
} if (rf & 2) {
|
|
1844
|
-
i0.ɵɵadvance(2);
|
|
1845
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 3, "clave"));
|
|
1846
|
-
i0.ɵɵadvance(3);
|
|
1847
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 5, "razonSocial"));
|
|
1848
|
-
i0.ɵɵadvance(3);
|
|
1849
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 7, "rfc"));
|
|
1850
|
-
} }
|
|
1851
|
-
function SelectProveedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1852
|
-
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
1853
|
-
i0.ɵɵtext(2);
|
|
1854
|
-
i0.ɵɵelementEnd();
|
|
1855
|
-
i0.ɵɵelementStart(3, "td");
|
|
1856
|
-
i0.ɵɵtext(4);
|
|
1857
|
-
i0.ɵɵelementEnd();
|
|
1858
|
-
i0.ɵɵelementStart(5, "td");
|
|
1859
|
-
i0.ɵɵtext(6);
|
|
1860
|
-
i0.ɵɵelementEnd()();
|
|
1861
|
-
} if (rf & 2) {
|
|
1862
|
-
const proveedor_r1 = ctx.rowData;
|
|
1863
|
-
i0.ɵɵadvance(2);
|
|
1864
|
-
i0.ɵɵtextInterpolate(proveedor_r1.codigo);
|
|
1865
|
-
i0.ɵɵadvance(2);
|
|
1866
|
-
i0.ɵɵtextInterpolate(proveedor_r1.descripcionRazonSocial);
|
|
1867
|
-
i0.ɵɵadvance(2);
|
|
1868
|
-
i0.ɵɵtextInterpolate(proveedor_r1.descripcionRfc);
|
|
1869
|
-
} }
|
|
1358
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1359
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorService, providedIn: 'root' }); }
|
|
1360
|
+
}
|
|
1361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorService, decorators: [{
|
|
1362
|
+
type: Injectable,
|
|
1363
|
+
args: [{
|
|
1364
|
+
providedIn: 'root'
|
|
1365
|
+
}]
|
|
1366
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1367
|
+
|
|
1870
1368
|
class SelectProveedorComponent {
|
|
1871
1369
|
constructor(proveedorService, paginanateService, translate) {
|
|
1872
1370
|
this.proveedorService = proveedorService;
|
|
@@ -1905,52 +1403,19 @@ class SelectProveedorComponent {
|
|
|
1905
1403
|
this.select.emit(e.data);
|
|
1906
1404
|
this.visible = false;
|
|
1907
1405
|
}
|
|
1908
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1909
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
i0.ɵɵelementEnd()();
|
|
1922
|
-
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1923
|
-
i0.ɵɵtwoWayListener("valueChange", function SelectProveedorComponent_Template_p_table_valueChange_6_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.proveedores, $event) || (ctx.proveedores = $event); return $event; })("selectionChange", function SelectProveedorComponent_Template_p_table_selectionChange_6_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.proveedorSeleccionado, $event) || (ctx.proveedorSeleccionado = $event); return $event; });
|
|
1924
|
-
i0.ɵɵlistener("onRowSelect", function SelectProveedorComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionarProveedor($event); });
|
|
1925
|
-
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5)(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
1926
|
-
i0.ɵɵelementEnd();
|
|
1927
|
-
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
1928
|
-
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
1929
|
-
i0.ɵɵelementEnd()();
|
|
1930
|
-
} if (rf & 2) {
|
|
1931
|
-
i0.ɵɵproperty("header", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(1, 13, "ArticuloProveedor.proveedores")));
|
|
1932
|
-
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
1933
|
-
i0.ɵɵadvance(3);
|
|
1934
|
-
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate1("", i0.ɵɵpipeBind1(4, 15, "buscar"), "..."));
|
|
1935
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
1936
|
-
i0.ɵɵadvance(3);
|
|
1937
|
-
i0.ɵɵtwoWayProperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado);
|
|
1938
|
-
i0.ɵɵproperty("scrollable", true);
|
|
1939
|
-
i0.ɵɵadvance(3);
|
|
1940
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(17, _c0$3));
|
|
1941
|
-
} }, dependencies: [i2.PrimeTemplate, i18.Table, i6.ButtonDirective, i7.InputText, i8.Paginator, i9.Dialog, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i3.TranslatePipe], encapsulation: 2 }); }
|
|
1942
|
-
}
|
|
1943
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
1944
|
-
type: Component,
|
|
1945
|
-
args: [{ selector: 'select-proveedor', standalone: false, 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>" }]
|
|
1946
|
-
}], () => [{ type: ProveedorService }, { type: PaginateService }, { type: i3.TranslateService }], { visible: [{
|
|
1947
|
-
type: Input
|
|
1948
|
-
}], proveedorSeleccionado: [{
|
|
1949
|
-
type: Input
|
|
1950
|
-
}], select: [{
|
|
1951
|
-
type: Output
|
|
1952
|
-
}] }); })();
|
|
1953
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectProveedorComponent, { className: "SelectProveedorComponent", filePath: "lib/components/proveedor/select/select-proveedor.component.ts", lineNumber: 11 }); })();
|
|
1406
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectProveedorComponent, deps: [{ token: ProveedorService }, { token: PaginateService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1407
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: SelectProveedorComponent, isStandalone: false, selector: "select-proveedor", inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, ngImport: i0, 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>", dependencies: [{ kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: i8.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "component", type: i9.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
1408
|
+
}
|
|
1409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectProveedorComponent, decorators: [{
|
|
1410
|
+
type: Component,
|
|
1411
|
+
args: [{ selector: 'select-proveedor', standalone: false, 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>" }]
|
|
1412
|
+
}], ctorParameters: () => [{ type: ProveedorService }, { type: PaginateService }, { type: i3.TranslateService }], propDecorators: { visible: [{
|
|
1413
|
+
type: Input
|
|
1414
|
+
}], proveedorSeleccionado: [{
|
|
1415
|
+
type: Input
|
|
1416
|
+
}], select: [{
|
|
1417
|
+
type: Output
|
|
1418
|
+
}] } });
|
|
1954
1419
|
|
|
1955
1420
|
class AlmacenService extends CrudService {
|
|
1956
1421
|
constructor(httpClient) {
|
|
@@ -1961,15 +1426,15 @@ class AlmacenService extends CrudService {
|
|
|
1961
1426
|
let url = this.geturl() + '/obtenerAlmacenEmpresa';
|
|
1962
1427
|
return this.getHttp().get(url, this.buildAuth());
|
|
1963
1428
|
}
|
|
1964
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1965
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1429
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AlmacenService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1430
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AlmacenService, providedIn: 'root' }); }
|
|
1966
1431
|
}
|
|
1967
|
-
(
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AlmacenService, decorators: [{
|
|
1433
|
+
type: Injectable,
|
|
1434
|
+
args: [{
|
|
1435
|
+
providedIn: 'root'
|
|
1436
|
+
}]
|
|
1437
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1973
1438
|
|
|
1974
1439
|
class StockService extends CrudService {
|
|
1975
1440
|
constructor(httpClient) {
|
|
@@ -1987,15 +1452,15 @@ class StockService extends CrudService {
|
|
|
1987
1452
|
});
|
|
1988
1453
|
return promesa;
|
|
1989
1454
|
}
|
|
1990
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1991
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1455
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StockService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1456
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StockService, providedIn: 'root' }); }
|
|
1992
1457
|
}
|
|
1993
|
-
(
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StockService, decorators: [{
|
|
1459
|
+
type: Injectable,
|
|
1460
|
+
args: [{
|
|
1461
|
+
providedIn: 'root'
|
|
1462
|
+
}]
|
|
1463
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1999
1464
|
|
|
2000
1465
|
class ArticuloInformacionService extends CrudService {
|
|
2001
1466
|
constructor(httpClient) {
|
|
@@ -2006,86 +1471,16 @@ class ArticuloInformacionService extends CrudService {
|
|
|
2006
1471
|
let uRL = "/existenciasArticulo/" + articulo;
|
|
2007
1472
|
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
2008
1473
|
}
|
|
2009
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2010
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2011
|
-
}
|
|
2012
|
-
(
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
const _c0$2 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
2020
|
-
const _c1$1 = () => ({ width: "600px" });
|
|
2021
|
-
function SeleccionArticuloInformacionComponent_ng_template_2_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
2022
|
-
i0.ɵɵelement(0, "col");
|
|
2023
|
-
} if (rf & 2) {
|
|
2024
|
-
const col_r1 = ctx.$implicit;
|
|
2025
|
-
i0.ɵɵstyleProp("width", col_r1.width);
|
|
2026
|
-
} }
|
|
2027
|
-
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2028
|
-
i0.ɵɵelementStart(0, "colgroup");
|
|
2029
|
-
i0.ɵɵrepeaterCreate(1, SeleccionArticuloInformacionComponent_ng_template_2_For_2_Template, 1, 2, "col", 6, i0.ɵɵrepeaterTrackByIdentity);
|
|
2030
|
-
i0.ɵɵelementEnd();
|
|
2031
|
-
} if (rf & 2) {
|
|
2032
|
-
const columns_r2 = ctx.$implicit;
|
|
2033
|
-
i0.ɵɵadvance();
|
|
2034
|
-
i0.ɵɵrepeater(columns_r2);
|
|
2035
|
-
} }
|
|
2036
|
-
function SeleccionArticuloInformacionComponent_ng_template_3_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
2037
|
-
i0.ɵɵelementStart(0, "th", 7);
|
|
2038
|
-
i0.ɵɵtext(1);
|
|
2039
|
-
i0.ɵɵelementEnd();
|
|
2040
|
-
} if (rf & 2) {
|
|
2041
|
-
const col_r3 = ctx.$implicit;
|
|
2042
|
-
i0.ɵɵadvance();
|
|
2043
|
-
i0.ɵɵtextInterpolate1(" ", col_r3.header, " ");
|
|
2044
|
-
} }
|
|
2045
|
-
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2046
|
-
i0.ɵɵelementStart(0, "tr");
|
|
2047
|
-
i0.ɵɵrepeaterCreate(1, SeleccionArticuloInformacionComponent_ng_template_3_For_2_Template, 2, 1, "th", 7, i0.ɵɵrepeaterTrackByIdentity);
|
|
2048
|
-
i0.ɵɵelementEnd();
|
|
2049
|
-
} if (rf & 2) {
|
|
2050
|
-
const columns_r4 = ctx.$implicit;
|
|
2051
|
-
i0.ɵɵadvance();
|
|
2052
|
-
i0.ɵɵrepeater(columns_r4);
|
|
2053
|
-
} }
|
|
2054
|
-
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2055
|
-
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
2056
|
-
i0.ɵɵtext(2);
|
|
2057
|
-
i0.ɵɵelementEnd();
|
|
2058
|
-
i0.ɵɵelementStart(3, "td");
|
|
2059
|
-
i0.ɵɵtext(4);
|
|
2060
|
-
i0.ɵɵelementEnd();
|
|
2061
|
-
i0.ɵɵelementStart(5, "td");
|
|
2062
|
-
i0.ɵɵtext(6);
|
|
2063
|
-
i0.ɵɵelementEnd();
|
|
2064
|
-
i0.ɵɵelementStart(7, "td");
|
|
2065
|
-
i0.ɵɵtext(8);
|
|
2066
|
-
i0.ɵɵelementEnd();
|
|
2067
|
-
i0.ɵɵelementStart(9, "td");
|
|
2068
|
-
i0.ɵɵtext(10);
|
|
2069
|
-
i0.ɵɵelementEnd()();
|
|
2070
|
-
} if (rf & 2) {
|
|
2071
|
-
const rowData_r5 = ctx.$implicit;
|
|
2072
|
-
i0.ɵɵadvance(2);
|
|
2073
|
-
i0.ɵɵtextInterpolate(rowData_r5.almacenCodigo);
|
|
2074
|
-
i0.ɵɵadvance(2);
|
|
2075
|
-
i0.ɵɵtextInterpolate(rowData_r5.almacenDescripcion);
|
|
2076
|
-
i0.ɵɵadvance(2);
|
|
2077
|
-
i0.ɵɵtextInterpolate(rowData_r5.ubicacionCodigo);
|
|
2078
|
-
i0.ɵɵadvance(2);
|
|
2079
|
-
i0.ɵɵtextInterpolate(rowData_r5.ubicacionDescripcion);
|
|
2080
|
-
i0.ɵɵadvance(2);
|
|
2081
|
-
i0.ɵɵtextInterpolate(rowData_r5.existencia);
|
|
2082
|
-
} }
|
|
2083
|
-
function SeleccionArticuloInformacionComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
2084
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
2085
|
-
i0.ɵɵelementStart(0, "div", 8)(1, "button", 9);
|
|
2086
|
-
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_ng_template_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.hiddenDialog()); });
|
|
2087
|
-
i0.ɵɵelementEnd()();
|
|
2088
|
-
} }
|
|
1474
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ArticuloInformacionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1475
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ArticuloInformacionService, providedIn: 'root' }); }
|
|
1476
|
+
}
|
|
1477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ArticuloInformacionService, decorators: [{
|
|
1478
|
+
type: Injectable,
|
|
1479
|
+
args: [{
|
|
1480
|
+
providedIn: 'root'
|
|
1481
|
+
}]
|
|
1482
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1483
|
+
|
|
2089
1484
|
class SeleccionArticuloInformacionComponent {
|
|
2090
1485
|
constructor(articuloInformacionService) {
|
|
2091
1486
|
this.articuloInformacionService = articuloInformacionService;
|
|
@@ -2125,346 +1520,20 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2125
1520
|
onSelectedUbicacion(ubicacionRow) {
|
|
2126
1521
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
2127
1522
|
}
|
|
2128
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2129
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
i0.ɵɵtwoWayProperty("visible", ctx.showModal);
|
|
2143
|
-
i0.ɵɵproperty("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
2144
|
-
i0.ɵɵadvance();
|
|
2145
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(17, _c1$1));
|
|
2146
|
-
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true);
|
|
2147
|
-
} }, dependencies: [i2.PrimeTemplate, i18.Table, i18.ResizableColumn, i6.ButtonDirective, i9.Dialog], encapsulation: 2 }); }
|
|
2148
|
-
}
|
|
2149
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
2150
|
-
type: Component,
|
|
2151
|
-
args: [{ selector: 'lib-seleccion-articulo-informacion', standalone: false, 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 (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" >\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 @for (col of columns; track col) {\n <col [style.width]=\"col.width\">\n }\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n @for (col of columns; track col) {\n <th pResizableColumn>\n {{col.header}}\n </th>\n }\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\n<ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n</ng-template>\n</p-dialog>" }]
|
|
2152
|
-
}], () => [{ type: ArticuloInformacionService }], { showModal: [{
|
|
2153
|
-
type: Input
|
|
2154
|
-
}], articulo: [{
|
|
2155
|
-
type: Input
|
|
2156
|
-
}], eventSelection: [{
|
|
2157
|
-
type: Output
|
|
2158
|
-
}] }); })();
|
|
2159
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionArticuloInformacionComponent, { className: "SeleccionArticuloInformacionComponent", filePath: "lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.ts", lineNumber: 12 }); })();
|
|
2160
|
-
|
|
2161
|
-
const _c0$1 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
2162
|
-
const _c1 = () => [10, 25, 50, 100, 500];
|
|
2163
|
-
function SeleccionaArticuloComponent_For_24_Template(rf, ctx) { if (rf & 1) {
|
|
2164
|
-
i0.ɵɵelementStart(0, "option", 16);
|
|
2165
|
-
i0.ɵɵtext(1);
|
|
2166
|
-
i0.ɵɵelementEnd();
|
|
2167
|
-
} if (rf & 2) {
|
|
2168
|
-
const almacen_r2 = ctx.$implicit;
|
|
2169
|
-
i0.ɵɵproperty("value", i0.ɵɵinterpolate(almacen_r2.id));
|
|
2170
|
-
i0.ɵɵadvance();
|
|
2171
|
-
i0.ɵɵtextInterpolate(almacen_r2.descripcion);
|
|
2172
|
-
} }
|
|
2173
|
-
function SeleccionaArticuloComponent_ng_template_27_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
2174
|
-
i0.ɵɵelementStart(0, "th", 25);
|
|
2175
|
-
i0.ɵɵtext(1, "existenciaSecundaria");
|
|
2176
|
-
i0.ɵɵelementEnd();
|
|
2177
|
-
} }
|
|
2178
|
-
function SeleccionaArticuloComponent_ng_template_27_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
2179
|
-
i0.ɵɵelementStart(0, "th", 24);
|
|
2180
|
-
i0.ɵɵtext(1, "Unidad");
|
|
2181
|
-
i0.ɵɵelementEnd();
|
|
2182
|
-
} }
|
|
2183
|
-
function SeleccionaArticuloComponent_ng_template_27_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
2184
|
-
i0.ɵɵelementStart(0, "th", 22);
|
|
2185
|
-
i0.ɵɵtext(1, "Precio");
|
|
2186
|
-
i0.ɵɵelementEnd();
|
|
2187
|
-
} }
|
|
2188
|
-
function SeleccionaArticuloComponent_ng_template_27_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
2189
|
-
i0.ɵɵelementStart(0, "th", 22);
|
|
2190
|
-
i0.ɵɵtext(1, "Precio 2");
|
|
2191
|
-
i0.ɵɵelementEnd();
|
|
2192
|
-
} }
|
|
2193
|
-
function SeleccionaArticuloComponent_ng_template_27_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
2194
|
-
i0.ɵɵelementStart(0, "th", 22);
|
|
2195
|
-
i0.ɵɵtext(1, "Precio 3");
|
|
2196
|
-
i0.ɵɵelementEnd();
|
|
2197
|
-
} }
|
|
2198
|
-
function SeleccionaArticuloComponent_ng_template_27_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
2199
|
-
i0.ɵɵelementStart(0, "th", 22);
|
|
2200
|
-
i0.ɵɵtext(1, "Precio 4");
|
|
2201
|
-
i0.ɵɵelementEnd();
|
|
2202
|
-
} }
|
|
2203
|
-
function SeleccionaArticuloComponent_ng_template_27_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
2204
|
-
i0.ɵɵelementStart(0, "th", 22);
|
|
2205
|
-
i0.ɵɵtext(1, "Precio 5");
|
|
2206
|
-
i0.ɵɵelementEnd();
|
|
2207
|
-
} }
|
|
2208
|
-
function SeleccionaArticuloComponent_ng_template_27_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
2209
|
-
i0.ɵɵelementStart(0, "th", 24);
|
|
2210
|
-
i0.ɵɵtext(1, "Movimiento.costo");
|
|
2211
|
-
i0.ɵɵelementEnd();
|
|
2212
|
-
} }
|
|
2213
|
-
function SeleccionaArticuloComponent_ng_template_27_For_23_Template(rf, ctx) { if (rf & 1) {
|
|
2214
|
-
i0.ɵɵelementStart(0, "th", 22);
|
|
2215
|
-
i0.ɵɵtext(1);
|
|
2216
|
-
i0.ɵɵelementEnd();
|
|
2217
|
-
} if (rf & 2) {
|
|
2218
|
-
const item_r3 = ctx.$implicit;
|
|
2219
|
-
i0.ɵɵadvance();
|
|
2220
|
-
i0.ɵɵtextInterpolate(item_r3.descripcion);
|
|
2221
|
-
} }
|
|
2222
|
-
function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
2223
|
-
i0.ɵɵelementStart(0, "tr")(1, "th", 22);
|
|
2224
|
-
i0.ɵɵtext(2, "C\u00F3digo Ubicacion");
|
|
2225
|
-
i0.ɵɵelementEnd();
|
|
2226
|
-
i0.ɵɵelementStart(3, "th", 23);
|
|
2227
|
-
i0.ɵɵtext(4, "Existencia");
|
|
2228
|
-
i0.ɵɵelementEnd();
|
|
2229
|
-
i0.ɵɵelementStart(5, "th", 24);
|
|
2230
|
-
i0.ɵɵtext(6, "Unidad");
|
|
2231
|
-
i0.ɵɵelementEnd();
|
|
2232
|
-
i0.ɵɵconditionalCreate(7, SeleccionaArticuloComponent_ng_template_27_Conditional_7_Template, 2, 0, "th", 25);
|
|
2233
|
-
i0.ɵɵconditionalCreate(8, SeleccionaArticuloComponent_ng_template_27_Conditional_8_Template, 2, 0, "th", 24);
|
|
2234
|
-
i0.ɵɵelementStart(9, "th", 22);
|
|
2235
|
-
i0.ɵɵtext(10, "C\u00F3digo");
|
|
2236
|
-
i0.ɵɵelementEnd();
|
|
2237
|
-
i0.ɵɵelementStart(11, "th", 26);
|
|
2238
|
-
i0.ɵɵtext(12, "Descripcion");
|
|
2239
|
-
i0.ɵɵelementEnd();
|
|
2240
|
-
i0.ɵɵelement(13, "th", 24);
|
|
2241
|
-
i0.ɵɵconditionalCreate(14, SeleccionaArticuloComponent_ng_template_27_Conditional_14_Template, 2, 0, "th", 22);
|
|
2242
|
-
i0.ɵɵconditionalCreate(15, SeleccionaArticuloComponent_ng_template_27_Conditional_15_Template, 2, 0, "th", 22);
|
|
2243
|
-
i0.ɵɵconditionalCreate(16, SeleccionaArticuloComponent_ng_template_27_Conditional_16_Template, 2, 0, "th", 22);
|
|
2244
|
-
i0.ɵɵconditionalCreate(17, SeleccionaArticuloComponent_ng_template_27_Conditional_17_Template, 2, 0, "th", 22);
|
|
2245
|
-
i0.ɵɵconditionalCreate(18, SeleccionaArticuloComponent_ng_template_27_Conditional_18_Template, 2, 0, "th", 22);
|
|
2246
|
-
i0.ɵɵconditionalCreate(19, SeleccionaArticuloComponent_ng_template_27_Conditional_19_Template, 2, 0, "th", 24);
|
|
2247
|
-
i0.ɵɵelementStart(20, "th", 24);
|
|
2248
|
-
i0.ɵɵtext(21, "Existencia por Unidad");
|
|
2249
|
-
i0.ɵɵelementEnd();
|
|
2250
|
-
i0.ɵɵrepeaterCreate(22, SeleccionaArticuloComponent_ng_template_27_For_23_Template, 2, 1, "th", 22, i0.ɵɵrepeaterTrackByIdentity);
|
|
2251
|
-
i0.ɵɵelementEnd();
|
|
2252
|
-
} if (rf & 2) {
|
|
2253
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
2254
|
-
i0.ɵɵadvance(7);
|
|
2255
|
-
i0.ɵɵconditional(ctx_r3.manejaUnidadSecundaria ? 7 : -1);
|
|
2256
|
-
i0.ɵɵadvance();
|
|
2257
|
-
i0.ɵɵconditional(ctx_r3.manejaUnidadSecundaria ? 8 : -1);
|
|
2258
|
-
i0.ɵɵadvance(6);
|
|
2259
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 14 : -1);
|
|
2260
|
-
i0.ɵɵadvance();
|
|
2261
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 15 : -1);
|
|
2262
|
-
i0.ɵɵadvance();
|
|
2263
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 16 : -1);
|
|
2264
|
-
i0.ɵɵadvance();
|
|
2265
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 17 : -1);
|
|
2266
|
-
i0.ɵɵadvance();
|
|
2267
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 18 : -1);
|
|
2268
|
-
i0.ɵɵadvance();
|
|
2269
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio === "costo" ? 19 : -1);
|
|
2270
|
-
i0.ɵɵadvance(3);
|
|
2271
|
-
i0.ɵɵrepeater(ctx_r3.clasificadorList);
|
|
2272
|
-
} }
|
|
2273
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
2274
|
-
i0.ɵɵelementStart(0, "td", 22);
|
|
2275
|
-
i0.ɵɵtext(1, "Movimiento.NoAsignado");
|
|
2276
|
-
i0.ɵɵelementEnd();
|
|
2277
|
-
} }
|
|
2278
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
2279
|
-
i0.ɵɵelementStart(0, "td", 28);
|
|
2280
|
-
i0.ɵɵtext(1);
|
|
2281
|
-
i0.ɵɵelementEnd();
|
|
2282
|
-
} if (rf & 2) {
|
|
2283
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2284
|
-
i0.ɵɵadvance();
|
|
2285
|
-
i0.ɵɵtextInterpolate(rowData_r6.ubicacionCodigo);
|
|
2286
|
-
} }
|
|
2287
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
2288
|
-
i0.ɵɵelementStart(0, "td", 31);
|
|
2289
|
-
i0.ɵɵtext(1);
|
|
2290
|
-
i0.ɵɵelementEnd();
|
|
2291
|
-
} if (rf & 2) {
|
|
2292
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2293
|
-
i0.ɵɵadvance();
|
|
2294
|
-
i0.ɵɵtextInterpolate(rowData_r6.existenciaSecundaria);
|
|
2295
|
-
} }
|
|
2296
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
2297
|
-
i0.ɵɵelementStart(0, "td", 30);
|
|
2298
|
-
i0.ɵɵtext(1);
|
|
2299
|
-
i0.ɵɵelementEnd();
|
|
2300
|
-
} if (rf & 2) {
|
|
2301
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2302
|
-
i0.ɵɵadvance();
|
|
2303
|
-
i0.ɵɵtextInterpolate(rowData_r6.unidadSecundariaCodigo);
|
|
2304
|
-
} }
|
|
2305
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
2306
|
-
i0.ɵɵelementStart(0, "td", 28);
|
|
2307
|
-
i0.ɵɵtext(1);
|
|
2308
|
-
i0.ɵɵpipe(2, "currency");
|
|
2309
|
-
i0.ɵɵelementEnd();
|
|
2310
|
-
} if (rf & 2) {
|
|
2311
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2312
|
-
i0.ɵɵadvance();
|
|
2313
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, rowData_r6.precioConImpuestos), " ");
|
|
2314
|
-
} }
|
|
2315
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
2316
|
-
i0.ɵɵelementStart(0, "td", 28);
|
|
2317
|
-
i0.ɵɵtext(1);
|
|
2318
|
-
i0.ɵɵpipe(2, "currency");
|
|
2319
|
-
i0.ɵɵelementEnd();
|
|
2320
|
-
} if (rf & 2) {
|
|
2321
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2322
|
-
i0.ɵɵadvance();
|
|
2323
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio2ConImpuestos));
|
|
2324
|
-
} }
|
|
2325
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
2326
|
-
i0.ɵɵelementStart(0, "td", 28);
|
|
2327
|
-
i0.ɵɵtext(1);
|
|
2328
|
-
i0.ɵɵpipe(2, "currency");
|
|
2329
|
-
i0.ɵɵelementEnd();
|
|
2330
|
-
} if (rf & 2) {
|
|
2331
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2332
|
-
i0.ɵɵadvance();
|
|
2333
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio3ConImpuestos));
|
|
2334
|
-
} }
|
|
2335
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
2336
|
-
i0.ɵɵelementStart(0, "td", 28);
|
|
2337
|
-
i0.ɵɵtext(1);
|
|
2338
|
-
i0.ɵɵpipe(2, "currency");
|
|
2339
|
-
i0.ɵɵelementEnd();
|
|
2340
|
-
} if (rf & 2) {
|
|
2341
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2342
|
-
i0.ɵɵadvance();
|
|
2343
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio4ConImpuestos));
|
|
2344
|
-
} }
|
|
2345
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
2346
|
-
i0.ɵɵelementStart(0, "td", 28);
|
|
2347
|
-
i0.ɵɵtext(1);
|
|
2348
|
-
i0.ɵɵpipe(2, "currency");
|
|
2349
|
-
i0.ɵɵelementEnd();
|
|
2350
|
-
} if (rf & 2) {
|
|
2351
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2352
|
-
i0.ɵɵadvance();
|
|
2353
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio5ConImpuestos));
|
|
2354
|
-
} }
|
|
2355
|
-
function SeleccionaArticuloComponent_ng_template_28_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
2356
|
-
i0.ɵɵelementStart(0, "td", 30);
|
|
2357
|
-
i0.ɵɵtext(1);
|
|
2358
|
-
i0.ɵɵpipe(2, "currency");
|
|
2359
|
-
i0.ɵɵelementEnd();
|
|
2360
|
-
} if (rf & 2) {
|
|
2361
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
2362
|
-
i0.ɵɵadvance();
|
|
2363
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio));
|
|
2364
|
-
} }
|
|
2365
|
-
function SeleccionaArticuloComponent_ng_template_28_For_23_Template(rf, ctx) { if (rf & 1) {
|
|
2366
|
-
i0.ɵɵelementStart(0, "div", 34)(1, "div", 35)(2, "label", 36);
|
|
2367
|
-
i0.ɵɵtext(3);
|
|
2368
|
-
i0.ɵɵelementEnd()();
|
|
2369
|
-
i0.ɵɵelementStart(4, "div", 35)(5, "label", 36);
|
|
2370
|
-
i0.ɵɵtext(6);
|
|
2371
|
-
i0.ɵɵpipe(7, "number");
|
|
2372
|
-
i0.ɵɵelementEnd()()();
|
|
2373
|
-
} if (rf & 2) {
|
|
2374
|
-
const item_r7 = ctx.$implicit;
|
|
2375
|
-
i0.ɵɵadvance(3);
|
|
2376
|
-
i0.ɵɵtextInterpolate(item_r7.unidad_codigo);
|
|
2377
|
-
i0.ɵɵadvance(3);
|
|
2378
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, item_r7.unidad_existencia, "1.2-2"));
|
|
2379
|
-
} }
|
|
2380
|
-
function SeleccionaArticuloComponent_ng_template_28_For_25_Template(rf, ctx) { if (rf & 1) {
|
|
2381
|
-
i0.ɵɵelementStart(0, "td", 28);
|
|
2382
|
-
i0.ɵɵtext(1);
|
|
2383
|
-
i0.ɵɵelementEnd();
|
|
2384
|
-
} if (rf & 2) {
|
|
2385
|
-
const itemData_r8 = ctx.$implicit;
|
|
2386
|
-
i0.ɵɵadvance();
|
|
2387
|
-
i0.ɵɵtextInterpolate(itemData_r8.valor);
|
|
2388
|
-
} }
|
|
2389
|
-
function SeleccionaArticuloComponent_ng_template_28_Template(rf, ctx) { if (rf & 1) {
|
|
2390
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
2391
|
-
i0.ɵɵelementStart(0, "tr", 27);
|
|
2392
|
-
i0.ɵɵconditionalCreate(1, SeleccionaArticuloComponent_ng_template_28_Conditional_1_Template, 2, 0, "td", 22);
|
|
2393
|
-
i0.ɵɵconditionalCreate(2, SeleccionaArticuloComponent_ng_template_28_Conditional_2_Template, 2, 1, "td", 28);
|
|
2394
|
-
i0.ɵɵelementStart(3, "td", 29);
|
|
2395
|
-
i0.ɵɵtext(4);
|
|
2396
|
-
i0.ɵɵelementEnd();
|
|
2397
|
-
i0.ɵɵelementStart(5, "td", 30);
|
|
2398
|
-
i0.ɵɵtext(6);
|
|
2399
|
-
i0.ɵɵelementEnd();
|
|
2400
|
-
i0.ɵɵconditionalCreate(7, SeleccionaArticuloComponent_ng_template_28_Conditional_7_Template, 2, 1, "td", 31);
|
|
2401
|
-
i0.ɵɵconditionalCreate(8, SeleccionaArticuloComponent_ng_template_28_Conditional_8_Template, 2, 1, "td", 30);
|
|
2402
|
-
i0.ɵɵelementStart(9, "td", 28);
|
|
2403
|
-
i0.ɵɵtext(10);
|
|
2404
|
-
i0.ɵɵelementEnd();
|
|
2405
|
-
i0.ɵɵelementStart(11, "td", 32);
|
|
2406
|
-
i0.ɵɵtext(12);
|
|
2407
|
-
i0.ɵɵelementEnd();
|
|
2408
|
-
i0.ɵɵelementStart(13, "td", 30)(14, "button", 33);
|
|
2409
|
-
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_28_Template_button_click_14_listener() { const rowData_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onShowInformacion(rowData_r6)); });
|
|
2410
|
-
i0.ɵɵelementEnd()();
|
|
2411
|
-
i0.ɵɵconditionalCreate(15, SeleccionaArticuloComponent_ng_template_28_Conditional_15_Template, 3, 3, "td", 28);
|
|
2412
|
-
i0.ɵɵconditionalCreate(16, SeleccionaArticuloComponent_ng_template_28_Conditional_16_Template, 3, 3, "td", 28);
|
|
2413
|
-
i0.ɵɵconditionalCreate(17, SeleccionaArticuloComponent_ng_template_28_Conditional_17_Template, 3, 3, "td", 28);
|
|
2414
|
-
i0.ɵɵconditionalCreate(18, SeleccionaArticuloComponent_ng_template_28_Conditional_18_Template, 3, 3, "td", 28);
|
|
2415
|
-
i0.ɵɵconditionalCreate(19, SeleccionaArticuloComponent_ng_template_28_Conditional_19_Template, 3, 3, "td", 28);
|
|
2416
|
-
i0.ɵɵconditionalCreate(20, SeleccionaArticuloComponent_ng_template_28_Conditional_20_Template, 3, 3, "td", 30);
|
|
2417
|
-
i0.ɵɵelementStart(21, "td", 30);
|
|
2418
|
-
i0.ɵɵrepeaterCreate(22, SeleccionaArticuloComponent_ng_template_28_For_23_Template, 8, 5, "div", 34, i0.ɵɵrepeaterTrackByIdentity);
|
|
2419
|
-
i0.ɵɵelementEnd();
|
|
2420
|
-
i0.ɵɵrepeaterCreate(24, SeleccionaArticuloComponent_ng_template_28_For_25_Template, 2, 1, "td", 28, i0.ɵɵrepeaterTrackByIdentity);
|
|
2421
|
-
i0.ɵɵelementEnd();
|
|
2422
|
-
} if (rf & 2) {
|
|
2423
|
-
const rowData_r6 = ctx.$implicit;
|
|
2424
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
2425
|
-
i0.ɵɵproperty("pSelectableRow", rowData_r6);
|
|
2426
|
-
i0.ɵɵadvance();
|
|
2427
|
-
i0.ɵɵconditional(!rowData_r6.ubicacionCodigo ? 1 : -1);
|
|
2428
|
-
i0.ɵɵadvance();
|
|
2429
|
-
i0.ɵɵconditional(rowData_r6.ubicacionCodigo ? 2 : -1);
|
|
2430
|
-
i0.ɵɵadvance(2);
|
|
2431
|
-
i0.ɵɵtextInterpolate(rowData_r6.existencia);
|
|
2432
|
-
i0.ɵɵadvance(2);
|
|
2433
|
-
i0.ɵɵtextInterpolate(rowData_r6.unidadCodigo);
|
|
2434
|
-
i0.ɵɵadvance();
|
|
2435
|
-
i0.ɵɵconditional(ctx_r3.manejaUnidadSecundaria ? 7 : -1);
|
|
2436
|
-
i0.ɵɵadvance();
|
|
2437
|
-
i0.ɵɵconditional(ctx_r3.manejaUnidadSecundaria ? 8 : -1);
|
|
2438
|
-
i0.ɵɵadvance(2);
|
|
2439
|
-
i0.ɵɵtextInterpolate(rowData_r6.articulo.codigo);
|
|
2440
|
-
i0.ɵɵadvance(2);
|
|
2441
|
-
i0.ɵɵtextInterpolate(rowData_r6.articulo.descripcion);
|
|
2442
|
-
i0.ɵɵadvance(3);
|
|
2443
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 15 : -1);
|
|
2444
|
-
i0.ɵɵadvance();
|
|
2445
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 16 : -1);
|
|
2446
|
-
i0.ɵɵadvance();
|
|
2447
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 17 : -1);
|
|
2448
|
-
i0.ɵɵadvance();
|
|
2449
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 18 : -1);
|
|
2450
|
-
i0.ɵɵadvance();
|
|
2451
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 19 : -1);
|
|
2452
|
-
i0.ɵɵadvance();
|
|
2453
|
-
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio === "costo" ? 20 : -1);
|
|
2454
|
-
i0.ɵɵadvance(2);
|
|
2455
|
-
i0.ɵɵrepeater(rowData_r6.existenciaUnidades);
|
|
2456
|
-
i0.ɵɵadvance(2);
|
|
2457
|
-
i0.ɵɵrepeater(rowData_r6.articuloClasificadorList);
|
|
2458
|
-
} }
|
|
2459
|
-
function SeleccionaArticuloComponent_Conditional_30_Template(rf, ctx) { if (rf & 1) {
|
|
2460
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
|
2461
|
-
i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 37);
|
|
2462
|
-
i0.ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_Conditional_30_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onEventInformacion($event)); });
|
|
2463
|
-
i0.ɵɵelementEnd();
|
|
2464
|
-
} if (rf & 2) {
|
|
2465
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
2466
|
-
i0.ɵɵproperty("showModal", ctx_r3.showModalInformacion)("articulo", ctx_r3.articuloSelected);
|
|
2467
|
-
} }
|
|
1523
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SeleccionArticuloInformacionComponent, deps: [{ token: ArticuloInformacionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1524
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: SeleccionArticuloInformacionComponent, isStandalone: false, selector: "lib-seleccion-articulo-informacion", inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, ngImport: i0, 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 (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" >\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 @for (col of columns; track col) {\n <col [style.width]=\"col.width\">\n }\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n @for (col of columns; track col) {\n <th pResizableColumn>\n {{col.header}}\n </th>\n }\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\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>", styles: [""], dependencies: [{ kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i18.ResizableColumn, selector: "[pResizableColumn]", inputs: ["pResizableColumnDisabled"] }, { kind: "directive", type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "component", type: i9.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
|
|
1525
|
+
}
|
|
1526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SeleccionArticuloInformacionComponent, decorators: [{
|
|
1527
|
+
type: Component,
|
|
1528
|
+
args: [{ selector: 'lib-seleccion-articulo-informacion', standalone: false, 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 (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" >\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 @for (col of columns; track col) {\n <col [style.width]=\"col.width\">\n }\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n @for (col of columns; track col) {\n <th pResizableColumn>\n {{col.header}}\n </th>\n }\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\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>" }]
|
|
1529
|
+
}], ctorParameters: () => [{ type: ArticuloInformacionService }], propDecorators: { showModal: [{
|
|
1530
|
+
type: Input
|
|
1531
|
+
}], articulo: [{
|
|
1532
|
+
type: Input
|
|
1533
|
+
}], eventSelection: [{
|
|
1534
|
+
type: Output
|
|
1535
|
+
}] } });
|
|
1536
|
+
|
|
2468
1537
|
class SeleccionaArticuloComponent {
|
|
2469
1538
|
constructor(_stockService, _paginateService, _almacenService) {
|
|
2470
1539
|
this._stockService = _stockService;
|
|
@@ -2555,213 +1624,41 @@ class SeleccionaArticuloComponent {
|
|
|
2555
1624
|
onEventInformacion(event) {
|
|
2556
1625
|
this.showModalInformacion = event.status;
|
|
2557
1626
|
}
|
|
2558
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2559
|
-
/** @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" }, standalone: false, decls: 31, vars: 24, consts: [["dt", ""], [3, "visibleChange", "onShow", "onHide", "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModelChange", "change", "ngModel"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModelChange", "keypress", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], [2, "width", "100px"], ["for", "almacen"], ["pInputText", "", "disabled", "", "id", "almacen", 2, "width", "200px", 3, "ngModelChange", "change", "ngModel"], [3, "value"], ["scrollHeight", "400px", "responsiveLayout", "scroll", "selectionMode", "single", 3, "onRowSelect", "value", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"], [3, "showModal", "articulo"], ["translate", "", 2, "width", "80px"], ["translate", "", 2, "width", "70px"], ["translate", "", 2, "width", "40px"], ["translate", "", 2, "width", "50px"], ["translate", "", 2, "width", "120px"], [3, "pSelectableRow"], [2, "width", "80px"], [2, "width", "70px"], [2, "width", "40px"], [2, "width", "50px"], [2, "width", "120px"], ["pButton", "", "type", "button", "icon", "pi pi-eye", 1, "ui-button-raised", "ui-button-primary", 3, "click"], [1, "row", "justify-content-between"], [1, "col-lg-4"], ["for", ""], [3, "eventSelection", "showModal", "articulo"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
i0.ɵɵtwoWayListener("visibleChange", function SeleccionaArticuloComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.showArticulos, $event) || (ctx.showArticulos = $event); return i0.ɵɵresetView($event); });
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
i0.ɵɵelementStart(13, "option", 10);
|
|
2578
|
-
i0.ɵɵtext(14, "Igual a");
|
|
2579
|
-
i0.ɵɵelementEnd()()();
|
|
2580
|
-
i0.ɵɵelementStart(15, "input", 11);
|
|
2581
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_15_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.busquedaArticulos.key, $event) || (ctx.busquedaArticulos.key = $event); return i0.ɵɵresetView($event); });
|
|
2582
|
-
i0.ɵɵlistener("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosKey($event)); });
|
|
2583
|
-
i0.ɵɵelementEnd();
|
|
2584
|
-
i0.ɵɵelementStart(16, "button", 12);
|
|
2585
|
-
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulos()); });
|
|
2586
|
-
i0.ɵɵelementEnd()()();
|
|
2587
|
-
i0.ɵɵelementStart(17, "div", 3)(18, "div", 4)(19, "div", 13)(20, "label", 14);
|
|
2588
|
-
i0.ɵɵtext(21, "Almacen:");
|
|
2589
|
-
i0.ɵɵelementEnd()();
|
|
2590
|
-
i0.ɵɵelementStart(22, "select", 15);
|
|
2591
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.movimiento.almacen, $event) || (ctx.movimiento.almacen = $event); return i0.ɵɵresetView($event); });
|
|
2592
|
-
i0.ɵɵlistener("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosVal()); });
|
|
2593
|
-
i0.ɵɵrepeaterCreate(23, SeleccionaArticuloComponent_For_24_Template, 2, 3, "option", 16, i0.ɵɵrepeaterTrackByIdentity);
|
|
2594
|
-
i0.ɵɵelementEnd()()()();
|
|
2595
|
-
i0.ɵɵelementStart(25, "p-table", 17, 0);
|
|
2596
|
-
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.filaSeleccionada($event)); });
|
|
2597
|
-
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 8, "ng-template", 18)(28, SeleccionaArticuloComponent_ng_template_28_Template, 26, 15, "ng-template", 19);
|
|
2598
|
-
i0.ɵɵelementEnd();
|
|
2599
|
-
i0.ɵɵelementStart(29, "p-paginator", 20);
|
|
2600
|
-
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_29_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pagina($event)); });
|
|
2601
|
-
i0.ɵɵelementEnd()();
|
|
2602
|
-
i0.ɵɵconditionalCreate(30, SeleccionaArticuloComponent_Conditional_30_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2603
|
-
} if (rf & 2) {
|
|
2604
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(21, _c0$1, ctx.size + "px"));
|
|
2605
|
-
i0.ɵɵproperty("header", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(1, 19, "Articulos")));
|
|
2606
|
-
i0.ɵɵtwoWayProperty("visible", ctx.showArticulos);
|
|
2607
|
-
i0.ɵɵproperty("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2608
|
-
i0.ɵɵadvance(6);
|
|
2609
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2610
|
-
i0.ɵɵadvance(9);
|
|
2611
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.busquedaArticulos.key);
|
|
2612
|
-
i0.ɵɵadvance(7);
|
|
2613
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.movimiento.almacen);
|
|
2614
|
-
i0.ɵɵadvance();
|
|
2615
|
-
i0.ɵɵrepeater(ctx.almacenList);
|
|
2616
|
-
i0.ɵɵadvance(2);
|
|
2617
|
-
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true);
|
|
2618
|
-
i0.ɵɵadvance(4);
|
|
2619
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(23, _c1));
|
|
2620
|
-
i0.ɵɵadvance();
|
|
2621
|
-
i0.ɵɵconditional(ctx.showModalInformacion ? 30 : -1);
|
|
2622
|
-
} }, dependencies: [i2.PrimeTemplate, i18.Table, i18.SelectableRow, i6.ButtonDirective, i7.InputText, i8.Paginator, i9.Dialog, i10.NgSelectOption, i10.ɵNgSelectMultipleOption, i10.DefaultValueAccessor, i10.SelectControlValueAccessor, i10.NgControlStatus, i10.NgModel, i3.TranslateDirective, SeleccionArticuloInformacionComponent, i13.DecimalPipe, i13.CurrencyPipe, i3.TranslatePipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] }); }
|
|
2623
|
-
}
|
|
2624
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2625
|
-
type: Component,
|
|
2626
|
-
args: [{ selector: 'app-selecciona-articulo', standalone: false, 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 @for (almacen of almacenList; track almacen) {\n <option value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n }\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 @if (manejaUnidadSecundaria) {\n <th style=\"width: 50px\" translate>existenciaSecundaria</th>\n }\n @if (manejaUnidadSecundaria) {\n <th style=\"width: 40px\" translate>Unidad</th>\n }\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 @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 2</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 3</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 4</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 5</th>\n }\n @if (configuracion.tipoPrecio === 'costo' ) {\n <th style=\"width: 40px\" translate>Movimiento.costo</th>\n }\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n @for (item of clasificadorList; track item) {\n <th style=\"width: 80px\" translate>{{item.descripcion}}</th>\n }\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n @if (!rowData.ubicacionCodigo) {\n <td style=\"width: 80px;\" translate>Movimiento.NoAsignado</td>\n }\n @if (rowData.ubicacionCodigo) {\n <td style=\"width: 80px;\">{{rowData.ubicacionCodigo}}</td>\n }\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n @if (manejaUnidadSecundaria) {\n <td style=\"width: 50px;\">{{rowData.existenciaSecundaria}}</td>\n }\n @if (manejaUnidadSecundaria) {\n <td style=\"width: 40px;\">{{rowData.unidadSecundariaCodigo}}</td>\n }\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 @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precioConImpuestos | currency }}\n </td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio === 'costo' ) {\n <td style=\"width: 40px;\">{{rowData.precio | currency }}</td>\n }\n <td style=\"width: 40px;\">\n @for (item of rowData.existenciaUnidades; track item) {\n <div class=\"row justify-content-between\">\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 }\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n @for (itemData of rowData.articuloClasificadorList; track itemData) {\n <td style=\"width: 80px;\">{{itemData.valor}}</td>\n }\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@if (showModalInformacion) {\n <lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\">\n </lib-seleccion-articulo-informacion>\n}", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
2627
|
-
}], () => [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }], { configuracion: [{
|
|
2628
|
-
type: Input
|
|
2629
|
-
}], showArticulos: [{
|
|
2630
|
-
type: Input
|
|
2631
|
-
}], movimiento: [{
|
|
2632
|
-
type: Input
|
|
2633
|
-
}], manejaUnidadSecundaria: [{
|
|
2634
|
-
type: Input
|
|
2635
|
-
}], emitFilaSeleccionada: [{
|
|
2636
|
-
type: Output
|
|
2637
|
-
}], emitShowArticulos: [{
|
|
2638
|
-
type: Output
|
|
2639
|
-
}] }); })();
|
|
2640
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionaArticuloComponent, { className: "SeleccionaArticuloComponent", filePath: "lib/components/selecciona-articulo/selecciona-articulo.component.ts", lineNumber: 13 }); })();
|
|
1627
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SeleccionaArticuloComponent, deps: [{ token: StockService }, { token: PaginateService }, { token: AlmacenService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1628
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: SeleccionaArticuloComponent, isStandalone: false, selector: "app-selecciona-articulo", inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, ngImport: i0, 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 @for (almacen of almacenList; track almacen) {\n <option value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n }\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 @if (manejaUnidadSecundaria) {\n <th style=\"width: 50px\" translate>existenciaSecundaria</th>\n }\n @if (manejaUnidadSecundaria) {\n <th style=\"width: 40px\" translate>Unidad</th>\n }\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 @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 2</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 3</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 4</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 5</th>\n }\n @if (configuracion.tipoPrecio === 'costo' ) {\n <th style=\"width: 40px\" translate>Movimiento.costo</th>\n }\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n @for (item of clasificadorList; track item) {\n <th style=\"width: 80px\" translate>{{item.descripcion}}</th>\n }\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n @if (!rowData.ubicacionCodigo) {\n <td style=\"width: 80px;\" translate>Movimiento.NoAsignado</td>\n }\n @if (rowData.ubicacionCodigo) {\n <td style=\"width: 80px;\">{{rowData.ubicacionCodigo}}</td>\n }\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n @if (manejaUnidadSecundaria) {\n <td style=\"width: 50px;\">{{rowData.existenciaSecundaria}}</td>\n }\n @if (manejaUnidadSecundaria) {\n <td style=\"width: 40px;\">{{rowData.unidadSecundariaCodigo}}</td>\n }\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 @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precioConImpuestos | currency }}\n </td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio === 'costo' ) {\n <td style=\"width: 40px;\">{{rowData.precio | currency }}</td>\n }\n <td style=\"width: 40px;\">\n @for (item of rowData.existenciaUnidades; track item) {\n <div class=\"row justify-content-between\">\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 }\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n @for (itemData of rowData.articuloClasificadorList; track itemData) {\n <td style=\"width: 80px;\">{{itemData.valor}}</td>\n }\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@if (showModalInformacion) {\n <lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\">\n </lib-seleccion-articulo-informacion>\n}", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"], dependencies: [{ kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i18.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: i8.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "component", type: i9.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i10.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i10.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: SeleccionArticuloInformacionComponent, selector: "lib-seleccion-articulo-informacion", inputs: ["showModal", "articulo"], outputs: ["eventSelection"] }, { kind: "pipe", type: i13.DecimalPipe, name: "number" }, { kind: "pipe", type: i13.CurrencyPipe, name: "currency" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
1629
|
+
}
|
|
1630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SeleccionaArticuloComponent, decorators: [{
|
|
1631
|
+
type: Component,
|
|
1632
|
+
args: [{ selector: 'app-selecciona-articulo', standalone: false, 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 @for (almacen of almacenList; track almacen) {\n <option value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n }\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 @if (manejaUnidadSecundaria) {\n <th style=\"width: 50px\" translate>existenciaSecundaria</th>\n }\n @if (manejaUnidadSecundaria) {\n <th style=\"width: 40px\" translate>Unidad</th>\n }\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 @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 2</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 3</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 4</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 5</th>\n }\n @if (configuracion.tipoPrecio === 'costo' ) {\n <th style=\"width: 40px\" translate>Movimiento.costo</th>\n }\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n @for (item of clasificadorList; track item) {\n <th style=\"width: 80px\" translate>{{item.descripcion}}</th>\n }\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n @if (!rowData.ubicacionCodigo) {\n <td style=\"width: 80px;\" translate>Movimiento.NoAsignado</td>\n }\n @if (rowData.ubicacionCodigo) {\n <td style=\"width: 80px;\">{{rowData.ubicacionCodigo}}</td>\n }\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n @if (manejaUnidadSecundaria) {\n <td style=\"width: 50px;\">{{rowData.existenciaSecundaria}}</td>\n }\n @if (manejaUnidadSecundaria) {\n <td style=\"width: 40px;\">{{rowData.unidadSecundariaCodigo}}</td>\n }\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 @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precioConImpuestos | currency }}\n </td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio === 'costo' ) {\n <td style=\"width: 40px;\">{{rowData.precio | currency }}</td>\n }\n <td style=\"width: 40px;\">\n @for (item of rowData.existenciaUnidades; track item) {\n <div class=\"row justify-content-between\">\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 }\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n @for (itemData of rowData.articuloClasificadorList; track itemData) {\n <td style=\"width: 80px;\">{{itemData.valor}}</td>\n }\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@if (showModalInformacion) {\n <lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\">\n </lib-seleccion-articulo-informacion>\n}", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
1633
|
+
}], ctorParameters: () => [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }], propDecorators: { configuracion: [{
|
|
1634
|
+
type: Input
|
|
1635
|
+
}], showArticulos: [{
|
|
1636
|
+
type: Input
|
|
1637
|
+
}], movimiento: [{
|
|
1638
|
+
type: Input
|
|
1639
|
+
}], manejaUnidadSecundaria: [{
|
|
1640
|
+
type: Input
|
|
1641
|
+
}], emitFilaSeleccionada: [{
|
|
1642
|
+
type: Output
|
|
1643
|
+
}], emitShowArticulos: [{
|
|
1644
|
+
type: Output
|
|
1645
|
+
}] } });
|
|
2641
1646
|
|
|
2642
1647
|
class AcreedorService extends CrudService {
|
|
2643
1648
|
constructor(httpClient) {
|
|
2644
1649
|
super(httpClient, 'acreedor');
|
|
2645
1650
|
this.httpClient = httpClient;
|
|
2646
1651
|
}
|
|
2647
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2648
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2649
|
-
}
|
|
2650
|
-
(
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
const _c0 = () => [10, 25, 50, 100, 500];
|
|
2658
|
-
function SelectAcreedorComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
2659
|
-
i0.ɵɵelementStart(0, "tr")(1, "th");
|
|
2660
|
-
i0.ɵɵtext(2);
|
|
2661
|
-
i0.ɵɵpipe(3, "translate");
|
|
2662
|
-
i0.ɵɵelementEnd();
|
|
2663
|
-
i0.ɵɵelementStart(4, "th");
|
|
2664
|
-
i0.ɵɵtext(5);
|
|
2665
|
-
i0.ɵɵpipe(6, "translate");
|
|
2666
|
-
i0.ɵɵelementEnd();
|
|
2667
|
-
i0.ɵɵelementStart(7, "th");
|
|
2668
|
-
i0.ɵɵtext(8);
|
|
2669
|
-
i0.ɵɵpipe(9, "translate");
|
|
2670
|
-
i0.ɵɵelementEnd();
|
|
2671
|
-
i0.ɵɵelementStart(10, "th");
|
|
2672
|
-
i0.ɵɵtext(11);
|
|
2673
|
-
i0.ɵɵpipe(12, "translate");
|
|
2674
|
-
i0.ɵɵelementEnd();
|
|
2675
|
-
i0.ɵɵelementStart(13, "th");
|
|
2676
|
-
i0.ɵɵtext(14);
|
|
2677
|
-
i0.ɵɵpipe(15, "translate");
|
|
2678
|
-
i0.ɵɵelementEnd();
|
|
2679
|
-
i0.ɵɵelementStart(16, "th");
|
|
2680
|
-
i0.ɵɵtext(17);
|
|
2681
|
-
i0.ɵɵpipe(18, "translate");
|
|
2682
|
-
i0.ɵɵelementEnd()();
|
|
2683
|
-
} if (rf & 2) {
|
|
2684
|
-
i0.ɵɵadvance(2);
|
|
2685
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "razonSocial"));
|
|
2686
|
-
i0.ɵɵadvance(3);
|
|
2687
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "rfc"));
|
|
2688
|
-
i0.ɵɵadvance(3);
|
|
2689
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
2690
|
-
i0.ɵɵadvance(3);
|
|
2691
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "atrasoDiasEntrega"));
|
|
2692
|
-
i0.ɵɵadvance(3);
|
|
2693
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "limiteCredito"));
|
|
2694
|
-
i0.ɵɵadvance(3);
|
|
2695
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "fechaUltimaCompra"));
|
|
2696
|
-
} }
|
|
2697
|
-
function SelectAcreedorComponent_ng_template_7_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
2698
|
-
i0.ɵɵelementStart(0, "span");
|
|
2699
|
-
i0.ɵɵtext(1);
|
|
2700
|
-
i0.ɵɵpipe(2, "translate");
|
|
2701
|
-
i0.ɵɵelementEnd();
|
|
2702
|
-
} if (rf & 2) {
|
|
2703
|
-
i0.ɵɵadvance();
|
|
2704
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
2705
|
-
} }
|
|
2706
|
-
function SelectAcreedorComponent_ng_template_7_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
2707
|
-
i0.ɵɵelementStart(0, "span");
|
|
2708
|
-
i0.ɵɵtext(1);
|
|
2709
|
-
i0.ɵɵpipe(2, "translate");
|
|
2710
|
-
i0.ɵɵelementEnd();
|
|
2711
|
-
} if (rf & 2) {
|
|
2712
|
-
i0.ɵɵadvance();
|
|
2713
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
2714
|
-
} }
|
|
2715
|
-
function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
2716
|
-
i0.ɵɵelementStart(0, "tr", 9)(1, "td");
|
|
2717
|
-
i0.ɵɵtext(2);
|
|
2718
|
-
i0.ɵɵelementEnd();
|
|
2719
|
-
i0.ɵɵelementStart(3, "td");
|
|
2720
|
-
i0.ɵɵtext(4);
|
|
2721
|
-
i0.ɵɵelementEnd();
|
|
2722
|
-
i0.ɵɵelementStart(5, "td");
|
|
2723
|
-
i0.ɵɵconditionalCreate(6, SelectAcreedorComponent_ng_template_7_Conditional_6_Template, 3, 3, "span");
|
|
2724
|
-
i0.ɵɵconditionalCreate(7, SelectAcreedorComponent_ng_template_7_Conditional_7_Template, 3, 3, "span");
|
|
2725
|
-
i0.ɵɵelementEnd();
|
|
2726
|
-
i0.ɵɵelementStart(8, "td");
|
|
2727
|
-
i0.ɵɵtext(9);
|
|
2728
|
-
i0.ɵɵelementEnd();
|
|
2729
|
-
i0.ɵɵelementStart(10, "td");
|
|
2730
|
-
i0.ɵɵtext(11);
|
|
2731
|
-
i0.ɵɵelementEnd();
|
|
2732
|
-
i0.ɵɵelementStart(12, "td");
|
|
2733
|
-
i0.ɵɵtext(13);
|
|
2734
|
-
i0.ɵɵpipe(14, "date");
|
|
2735
|
-
i0.ɵɵelementEnd()();
|
|
2736
|
-
} if (rf & 2) {
|
|
2737
|
-
const acreedor_r1 = ctx.$implicit;
|
|
2738
|
-
i0.ɵɵproperty("pSelectableRow", acreedor_r1);
|
|
2739
|
-
i0.ɵɵadvance(2);
|
|
2740
|
-
i0.ɵɵtextInterpolate(acreedor_r1.descripcionRazonSocial);
|
|
2741
|
-
i0.ɵɵadvance(2);
|
|
2742
|
-
i0.ɵɵtextInterpolate(acreedor_r1.descripcionRfc);
|
|
2743
|
-
i0.ɵɵadvance(2);
|
|
2744
|
-
i0.ɵɵconditional(acreedor_r1.personaMoral ? 6 : -1);
|
|
2745
|
-
i0.ɵɵadvance();
|
|
2746
|
-
i0.ɵɵconditional(acreedor_r1.personaFisica ? 7 : -1);
|
|
2747
|
-
i0.ɵɵadvance(2);
|
|
2748
|
-
i0.ɵɵtextInterpolate(acreedor_r1.atrasoDiasEntrega);
|
|
2749
|
-
i0.ɵɵadvance(2);
|
|
2750
|
-
i0.ɵɵtextInterpolate(acreedor_r1.limiteCredito);
|
|
2751
|
-
i0.ɵɵadvance(2);
|
|
2752
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 8, acreedor_r1.fechaUltimaCompra, "dd/MM/yyyy"));
|
|
2753
|
-
} }
|
|
2754
|
-
function SelectAcreedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
2755
|
-
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
2756
|
-
i0.ɵɵtext(2);
|
|
2757
|
-
i0.ɵɵpipe(3, "translate");
|
|
2758
|
-
i0.ɵɵelementEnd()();
|
|
2759
|
-
} if (rf & 2) {
|
|
2760
|
-
i0.ɵɵadvance();
|
|
2761
|
-
i0.ɵɵattribute("colspan", 6);
|
|
2762
|
-
i0.ɵɵadvance();
|
|
2763
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "general.noRegistros"));
|
|
2764
|
-
} }
|
|
1652
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AcreedorService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1653
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AcreedorService, providedIn: 'root' }); }
|
|
1654
|
+
}
|
|
1655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AcreedorService, decorators: [{
|
|
1656
|
+
type: Injectable,
|
|
1657
|
+
args: [{
|
|
1658
|
+
providedIn: 'root'
|
|
1659
|
+
}]
|
|
1660
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1661
|
+
|
|
2765
1662
|
class SelectAcreedorComponent {
|
|
2766
1663
|
constructor(acreedorService, paginanateService, translate) {
|
|
2767
1664
|
this.acreedorService = acreedorService;
|
|
@@ -2800,51 +1697,19 @@ class SelectAcreedorComponent {
|
|
|
2800
1697
|
this.select.emit(e.data);
|
|
2801
1698
|
this.visible = false;
|
|
2802
1699
|
}
|
|
2803
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2804
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2817
|
-
i0.ɵɵtwoWayListener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_5_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.acreedorSeleccionado, $event) || (ctx.acreedorSeleccionado = $event); return $event; });
|
|
2818
|
-
i0.ɵɵlistener("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_5_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
2819
|
-
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5)(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6)(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2820
|
-
i0.ɵɵelementEnd();
|
|
2821
|
-
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2822
|
-
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2823
|
-
i0.ɵɵelementEnd()();
|
|
2824
|
-
} if (rf & 2) {
|
|
2825
|
-
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
2826
|
-
i0.ɵɵadvance(2);
|
|
2827
|
-
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate1("", i0.ɵɵpipeBind1(3, 11, "buscar"), "..."));
|
|
2828
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
2829
|
-
i0.ɵɵadvance(3);
|
|
2830
|
-
i0.ɵɵproperty("value", ctx.acreedores);
|
|
2831
|
-
i0.ɵɵtwoWayProperty("selection", ctx.acreedorSeleccionado);
|
|
2832
|
-
i0.ɵɵproperty("scrollable", true);
|
|
2833
|
-
i0.ɵɵadvance(4);
|
|
2834
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
2835
|
-
} }, dependencies: [i2.PrimeTemplate, i18.Table, i18.SelectableRow, i6.ButtonDirective, i7.InputText, i8.Paginator, i9.Dialog, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i13.DatePipe, i3.TranslatePipe], encapsulation: 2 }); }
|
|
2836
|
-
}
|
|
2837
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
2838
|
-
type: Component,
|
|
2839
|
-
args: [{ selector: 'select-acreedor', standalone: false, 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 @if (acreedor.personaMoral) {\n <span>{{'moral' | translate}}</span>\n }\n @if (acreedor.personaFisica) {\n <span>{{'fisico' | translate}}</span>\n }\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>" }]
|
|
2840
|
-
}], () => [{ type: AcreedorService }, { type: PaginateService }, { type: i3.TranslateService }], { visible: [{
|
|
2841
|
-
type: Input
|
|
2842
|
-
}], acreedorSeleccionado: [{
|
|
2843
|
-
type: Input
|
|
2844
|
-
}], select: [{
|
|
2845
|
-
type: Output
|
|
2846
|
-
}] }); })();
|
|
2847
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectAcreedorComponent, { className: "SelectAcreedorComponent", filePath: "lib/components/acreedor/select/select-acreedor.component.ts", lineNumber: 11 }); })();
|
|
1700
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectAcreedorComponent, deps: [{ token: AcreedorService }, { token: PaginateService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1701
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: SelectAcreedorComponent, isStandalone: false, selector: "select-acreedor", inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, ngImport: i0, 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 @if (acreedor.personaMoral) {\n <span>{{'moral' | translate}}</span>\n }\n @if (acreedor.personaFisica) {\n <span>{{'fisico' | translate}}</span>\n }\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>", dependencies: [{ kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "virtualRowHeight", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i18.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "directive", type: i7.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: i8.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "component", type: i9.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i13.DatePipe, name: "date" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
1702
|
+
}
|
|
1703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SelectAcreedorComponent, decorators: [{
|
|
1704
|
+
type: Component,
|
|
1705
|
+
args: [{ selector: 'select-acreedor', standalone: false, 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 @if (acreedor.personaMoral) {\n <span>{{'moral' | translate}}</span>\n }\n @if (acreedor.personaFisica) {\n <span>{{'fisico' | translate}}</span>\n }\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>" }]
|
|
1706
|
+
}], ctorParameters: () => [{ type: AcreedorService }, { type: PaginateService }, { type: i3.TranslateService }], propDecorators: { visible: [{
|
|
1707
|
+
type: Input
|
|
1708
|
+
}], acreedorSeleccionado: [{
|
|
1709
|
+
type: Input
|
|
1710
|
+
}], select: [{
|
|
1711
|
+
type: Output
|
|
1712
|
+
}] } });
|
|
2848
1713
|
|
|
2849
1714
|
const components = [
|
|
2850
1715
|
LoadingComponent,
|
|
@@ -2894,23 +1759,14 @@ const primeNg = [
|
|
|
2894
1759
|
];
|
|
2895
1760
|
const primeNgServices = [ConfirmationService];
|
|
2896
1761
|
|
|
2897
|
-
;
|
|
2898
1762
|
function HttpLoaderFactory(http) {
|
|
2899
1763
|
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
|
2900
1764
|
}
|
|
2901
1765
|
class CoreLibModule {
|
|
2902
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2903
|
-
/** @nocollapse */ static { this.ɵmod =
|
|
2904
|
-
/** @nocollapse */ static { this.ɵinj =
|
|
1766
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CoreLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1767
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: CoreLibModule, declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i12.CardModule, i13$1.TooltipModule, i14.PopoverModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.DatePickerModule, i18.TableModule, i6.ButtonModule, i7.InputTextModule, i23.SelectModule, i24.InputMaskModule, i25.MessageModule, i25.MessageModule, i8.PaginatorModule, i27.ConfirmDialogModule, i28.ProgressBarModule, i29.KeyFilterModule, i30.ToggleSwitchModule, i9.DialogModule, i32.TabsModule, i33.PanelModule, i34.ToolbarModule, i35.SplitButtonModule, i36.FieldsetModule, i37.TreeModule, i38.MenubarModule, FormsModule, i1$1.ToastrModule, i3.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, i12.CardModule, i13$1.TooltipModule, i14.PopoverModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.DatePickerModule, i18.TableModule, i6.ButtonModule, i7.InputTextModule, i23.SelectModule, i24.InputMaskModule, i25.MessageModule, i25.MessageModule, i8.PaginatorModule, i27.ConfirmDialogModule, i28.ProgressBarModule, i29.KeyFilterModule, i30.ToggleSwitchModule, i9.DialogModule, i32.TabsModule, i33.PanelModule, i34.ToolbarModule, i35.SplitButtonModule, i36.FieldsetModule, i37.TreeModule, i38.MenubarModule, TranslateModule] }); }
|
|
1768
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CoreLibModule, providers: [
|
|
2905
1769
|
primeNgServices,
|
|
2906
|
-
providePrimeNG({
|
|
2907
|
-
theme: {
|
|
2908
|
-
preset: Aura,
|
|
2909
|
-
options: {
|
|
2910
|
-
darkModeSelector: 'none'
|
|
2911
|
-
}
|
|
2912
|
-
}
|
|
2913
|
-
}),
|
|
2914
1770
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2915
1771
|
], imports: [CommonModule,
|
|
2916
1772
|
primeNg,
|
|
@@ -2924,44 +1780,35 @@ class CoreLibModule {
|
|
|
2924
1780
|
}
|
|
2925
1781
|
}), i12.CardModule, i13$1.TooltipModule, i14.PopoverModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.DatePickerModule, i18.TableModule, i6.ButtonModule, i7.InputTextModule, i23.SelectModule, i24.InputMaskModule, i25.MessageModule, i25.MessageModule, i8.PaginatorModule, i27.ConfirmDialogModule, i28.ProgressBarModule, i29.KeyFilterModule, i30.ToggleSwitchModule, i9.DialogModule, i32.TabsModule, i33.PanelModule, i34.ToolbarModule, i35.SplitButtonModule, i36.FieldsetModule, i37.TreeModule, i38.MenubarModule, TranslateModule] }); }
|
|
2926
1782
|
}
|
|
2927
|
-
(
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
}
|
|
2947
|
-
})
|
|
2948
|
-
],
|
|
2949
|
-
providers: [
|
|
2950
|
-
primeNgServices,
|
|
2951
|
-
providePrimeNG({
|
|
2952
|
-
theme: {
|
|
2953
|
-
preset: Aura,
|
|
2954
|
-
options: {
|
|
2955
|
-
darkModeSelector: 'none'
|
|
1783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CoreLibModule, decorators: [{
|
|
1784
|
+
type: NgModule,
|
|
1785
|
+
args: [{
|
|
1786
|
+
declarations: [
|
|
1787
|
+
Error404Component,
|
|
1788
|
+
components,
|
|
1789
|
+
contaComponents,
|
|
1790
|
+
SeleccionArticuloInformacionComponent
|
|
1791
|
+
],
|
|
1792
|
+
imports: [
|
|
1793
|
+
CommonModule,
|
|
1794
|
+
primeNg,
|
|
1795
|
+
FormsModule,
|
|
1796
|
+
ToastrModule.forRoot(),
|
|
1797
|
+
TranslateModule.forRoot({
|
|
1798
|
+
loader: {
|
|
1799
|
+
provide: TranslateLoader,
|
|
1800
|
+
useFactory: HttpLoaderFactory,
|
|
1801
|
+
deps: [HttpClient]
|
|
2956
1802
|
}
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
1803
|
+
})
|
|
1804
|
+
],
|
|
1805
|
+
providers: [
|
|
1806
|
+
primeNgServices,
|
|
1807
|
+
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
1808
|
+
],
|
|
1809
|
+
exports: [components, contaComponents, primeNg, TranslateModule]
|
|
1810
|
+
}]
|
|
1811
|
+
}] });
|
|
2965
1812
|
|
|
2966
1813
|
class ControlAccesoService {
|
|
2967
1814
|
constructor(authService) {
|
|
@@ -2988,19 +1835,19 @@ class ControlAccesoService {
|
|
|
2988
1835
|
}
|
|
2989
1836
|
return permiso;
|
|
2990
1837
|
}
|
|
2991
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2992
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1838
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ControlAccesoService, deps: [{ token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1839
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ControlAccesoService, providedIn: 'root' }); }
|
|
2993
1840
|
}
|
|
2994
|
-
(
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
1841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ControlAccesoService, decorators: [{
|
|
1842
|
+
type: Injectable,
|
|
1843
|
+
args: [{
|
|
1844
|
+
providedIn: 'root'
|
|
1845
|
+
}]
|
|
1846
|
+
}], ctorParameters: () => [{ type: AuthService }], propDecorators: { cambioAcciones: [{
|
|
1847
|
+
type: Output
|
|
1848
|
+
}], changeDetalleUsuario: [{
|
|
1849
|
+
type: Output
|
|
1850
|
+
}] } });
|
|
3004
1851
|
|
|
3005
1852
|
class InitService {
|
|
3006
1853
|
constructor(http, authService) {
|
|
@@ -3037,15 +1884,15 @@ class InitService {
|
|
|
3037
1884
|
});
|
|
3038
1885
|
});
|
|
3039
1886
|
}
|
|
3040
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3041
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1887
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InitService, deps: [{ token: i1.HttpClient }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1888
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InitService, providedIn: 'root' }); }
|
|
3042
1889
|
}
|
|
3043
|
-
(
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
1890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InitService, decorators: [{
|
|
1891
|
+
type: Injectable,
|
|
1892
|
+
args: [{
|
|
1893
|
+
providedIn: 'root'
|
|
1894
|
+
}]
|
|
1895
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: AuthService }] });
|
|
3049
1896
|
|
|
3050
1897
|
class MessageService {
|
|
3051
1898
|
constructor(toastr) {
|
|
@@ -3112,29 +1959,29 @@ class MessageService {
|
|
|
3112
1959
|
}
|
|
3113
1960
|
return msgs;
|
|
3114
1961
|
}
|
|
3115
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3116
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1962
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MessageService, deps: [{ token: i1$1.ToastrService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1963
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MessageService, providedIn: 'root' }); }
|
|
3117
1964
|
}
|
|
3118
|
-
(
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
1965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MessageService, decorators: [{
|
|
1966
|
+
type: Injectable,
|
|
1967
|
+
args: [{
|
|
1968
|
+
providedIn: 'root'
|
|
1969
|
+
}]
|
|
1970
|
+
}], ctorParameters: () => [{ type: i1$1.ToastrService }] });
|
|
3124
1971
|
|
|
3125
1972
|
class PersonaMoralService extends CrudService {
|
|
3126
1973
|
constructor(http) {
|
|
3127
1974
|
super(http, '/personaMoral');
|
|
3128
1975
|
}
|
|
3129
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3130
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1976
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PersonaMoralService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1977
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PersonaMoralService, providedIn: 'root' }); }
|
|
3131
1978
|
}
|
|
3132
|
-
(
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
1979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PersonaMoralService, decorators: [{
|
|
1980
|
+
type: Injectable,
|
|
1981
|
+
args: [{
|
|
1982
|
+
providedIn: 'root'
|
|
1983
|
+
}]
|
|
1984
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3138
1985
|
|
|
3139
1986
|
class CanActivateGuard {
|
|
3140
1987
|
constructor(controlAccesoService) {
|
|
@@ -3148,30 +1995,30 @@ class CanActivateGuard {
|
|
|
3148
1995
|
permisos(rol) {
|
|
3149
1996
|
this.rol = rol;
|
|
3150
1997
|
}
|
|
3151
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3152
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1998
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CanActivateGuard, deps: [{ token: ControlAccesoService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1999
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CanActivateGuard, providedIn: 'root' }); }
|
|
3153
2000
|
}
|
|
3154
|
-
(
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
2001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CanActivateGuard, decorators: [{
|
|
2002
|
+
type: Injectable,
|
|
2003
|
+
args: [{
|
|
2004
|
+
providedIn: 'root'
|
|
2005
|
+
}]
|
|
2006
|
+
}], ctorParameters: () => [{ type: ControlAccesoService }] });
|
|
3160
2007
|
|
|
3161
2008
|
class CatalogoAdicionalService extends CrudService {
|
|
3162
2009
|
constructor(httpClient) {
|
|
3163
2010
|
super(httpClient, 'catalogoAdicional');
|
|
3164
2011
|
this.httpClient = httpClient;
|
|
3165
2012
|
}
|
|
3166
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3167
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2013
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CatalogoAdicionalService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2014
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CatalogoAdicionalService, providedIn: 'root' }); }
|
|
3168
2015
|
}
|
|
3169
|
-
(
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
2016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CatalogoAdicionalService, decorators: [{
|
|
2017
|
+
type: Injectable,
|
|
2018
|
+
args: [{
|
|
2019
|
+
providedIn: 'root'
|
|
2020
|
+
}]
|
|
2021
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3175
2022
|
|
|
3176
2023
|
class Authenticated {
|
|
3177
2024
|
constructor(authService, controlAccesoService, router) {
|
|
@@ -3232,15 +2079,15 @@ class Authenticated {
|
|
|
3232
2079
|
}
|
|
3233
2080
|
window.location.href = host;
|
|
3234
2081
|
}
|
|
3235
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3236
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2082
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Authenticated, deps: [{ token: AuthService }, { token: ControlAccesoService }, { token: i3$2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2083
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Authenticated, providedIn: 'root' }); }
|
|
3237
2084
|
}
|
|
3238
|
-
(
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
2085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: Authenticated, decorators: [{
|
|
2086
|
+
type: Injectable,
|
|
2087
|
+
args: [{
|
|
2088
|
+
providedIn: 'root'
|
|
2089
|
+
}]
|
|
2090
|
+
}], ctorParameters: () => [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$2.Router }] });
|
|
3244
2091
|
|
|
3245
2092
|
class VersionCheckService {
|
|
3246
2093
|
constructor(http) {
|
|
@@ -3280,15 +2127,15 @@ class VersionCheckService {
|
|
|
3280
2127
|
}
|
|
3281
2128
|
return currentHash === newHash;
|
|
3282
2129
|
}
|
|
3283
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3284
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2130
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: VersionCheckService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2131
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: VersionCheckService, providedIn: 'root' }); }
|
|
3285
2132
|
}
|
|
3286
|
-
(
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
2133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: VersionCheckService, decorators: [{
|
|
2134
|
+
type: Injectable,
|
|
2135
|
+
args: [{
|
|
2136
|
+
providedIn: 'root'
|
|
2137
|
+
}]
|
|
2138
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3292
2139
|
|
|
3293
2140
|
class AgenteService extends CrudService {
|
|
3294
2141
|
constructor(httpClient) {
|
|
@@ -3307,15 +2154,15 @@ class AgenteService extends CrudService {
|
|
|
3307
2154
|
let url = this.geturl() + '/obtenerAgenteEmpresa';
|
|
3308
2155
|
return this.getHttp().get(url, this.buildAuth());
|
|
3309
2156
|
}
|
|
3310
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3311
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2157
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AgenteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2158
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AgenteService, providedIn: 'root' }); }
|
|
3312
2159
|
}
|
|
3313
|
-
(
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
2160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AgenteService, decorators: [{
|
|
2161
|
+
type: Injectable,
|
|
2162
|
+
args: [{
|
|
2163
|
+
providedIn: 'root'
|
|
2164
|
+
}]
|
|
2165
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3319
2166
|
|
|
3320
2167
|
class Almacen {
|
|
3321
2168
|
constructor() { }
|
|
@@ -3336,15 +2183,15 @@ class BancoService extends CrudService {
|
|
|
3336
2183
|
constructor(http) {
|
|
3337
2184
|
super(http, '/banco');
|
|
3338
2185
|
}
|
|
3339
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3340
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2186
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2187
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BancoService, providedIn: 'root' }); }
|
|
3341
2188
|
}
|
|
3342
|
-
(
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
2189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BancoService, decorators: [{
|
|
2190
|
+
type: Injectable,
|
|
2191
|
+
args: [{
|
|
2192
|
+
providedIn: 'root'
|
|
2193
|
+
}]
|
|
2194
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3348
2195
|
|
|
3349
2196
|
class CatalogoTipo {
|
|
3350
2197
|
constructor() { }
|
|
@@ -3354,29 +2201,29 @@ class CatalogoTipoService extends CrudService {
|
|
|
3354
2201
|
constructor(htt) {
|
|
3355
2202
|
super(htt, '/catalogoTipo');
|
|
3356
2203
|
}
|
|
3357
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3358
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2204
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CatalogoTipoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2205
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CatalogoTipoService, providedIn: 'root' }); }
|
|
3359
2206
|
}
|
|
3360
|
-
(
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
2207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CatalogoTipoService, decorators: [{
|
|
2208
|
+
type: Injectable,
|
|
2209
|
+
args: [{
|
|
2210
|
+
providedIn: 'root'
|
|
2211
|
+
}]
|
|
2212
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3366
2213
|
|
|
3367
2214
|
class ClasificadorTipoService extends CrudService {
|
|
3368
2215
|
constructor(http) {
|
|
3369
2216
|
super(http, '/clasificadorTipo');
|
|
3370
2217
|
}
|
|
3371
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3372
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2218
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClasificadorTipoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2219
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClasificadorTipoService, providedIn: 'root' }); }
|
|
3373
2220
|
}
|
|
3374
|
-
(
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
2221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClasificadorTipoService, decorators: [{
|
|
2222
|
+
type: Injectable,
|
|
2223
|
+
args: [{
|
|
2224
|
+
providedIn: 'root'
|
|
2225
|
+
}]
|
|
2226
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3380
2227
|
|
|
3381
2228
|
class ClaveMovimiento {
|
|
3382
2229
|
constructor() { }
|
|
@@ -3386,15 +2233,15 @@ class ClaveMovimientoService extends CrudService {
|
|
|
3386
2233
|
constructor(http) {
|
|
3387
2234
|
super(http, 'claveMovimiento');
|
|
3388
2235
|
}
|
|
3389
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3390
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2236
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClaveMovimientoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2237
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClaveMovimientoService, providedIn: 'root' }); }
|
|
3391
2238
|
}
|
|
3392
|
-
(
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
2239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClaveMovimientoService, decorators: [{
|
|
2240
|
+
type: Injectable,
|
|
2241
|
+
args: [{
|
|
2242
|
+
providedIn: 'root'
|
|
2243
|
+
}]
|
|
2244
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3398
2245
|
|
|
3399
2246
|
class ClienteCuentaBanco {
|
|
3400
2247
|
constructor() {
|
|
@@ -3424,15 +2271,15 @@ class ClienteCuentaBancoService extends CrudService {
|
|
|
3424
2271
|
let p = { 'cuentas': params };
|
|
3425
2272
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3426
2273
|
}
|
|
3427
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3428
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2274
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteCuentaBancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2275
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteCuentaBancoService, providedIn: 'root' }); }
|
|
3429
2276
|
}
|
|
3430
|
-
(
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteCuentaBancoService, decorators: [{
|
|
2278
|
+
type: Injectable,
|
|
2279
|
+
args: [{
|
|
2280
|
+
providedIn: 'root'
|
|
2281
|
+
}]
|
|
2282
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3436
2283
|
|
|
3437
2284
|
class ClienteFleteService extends CrudService {
|
|
3438
2285
|
constructor(httpClient) {
|
|
@@ -3443,15 +2290,15 @@ class ClienteFleteService extends CrudService {
|
|
|
3443
2290
|
let params = { fletes: p };
|
|
3444
2291
|
return this.save(params);
|
|
3445
2292
|
}
|
|
3446
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3447
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2293
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteFleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2294
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteFleteService, providedIn: 'root' }); }
|
|
3448
2295
|
}
|
|
3449
|
-
(
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
2296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClienteFleteService, decorators: [{
|
|
2297
|
+
type: Injectable,
|
|
2298
|
+
args: [{
|
|
2299
|
+
providedIn: 'root'
|
|
2300
|
+
}]
|
|
2301
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3455
2302
|
|
|
3456
2303
|
class TipoContacto {
|
|
3457
2304
|
constructor() {
|
|
@@ -3469,29 +2316,29 @@ class DatoContactoService extends CrudService {
|
|
|
3469
2316
|
constructor(http) {
|
|
3470
2317
|
super(http, '/contacto');
|
|
3471
2318
|
}
|
|
3472
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3473
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2319
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DatoContactoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2320
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DatoContactoService, providedIn: 'root' }); }
|
|
3474
2321
|
}
|
|
3475
|
-
(
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
2322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DatoContactoService, decorators: [{
|
|
2323
|
+
type: Injectable,
|
|
2324
|
+
args: [{
|
|
2325
|
+
providedIn: 'root'
|
|
2326
|
+
}]
|
|
2327
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3481
2328
|
|
|
3482
2329
|
class DatoDireccionService extends CrudService {
|
|
3483
2330
|
constructor(http) {
|
|
3484
2331
|
super(http, '/datoDireccion');
|
|
3485
2332
|
}
|
|
3486
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3487
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2333
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DatoDireccionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2334
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DatoDireccionService, providedIn: 'root' }); }
|
|
3488
2335
|
}
|
|
3489
|
-
(
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
2336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DatoDireccionService, decorators: [{
|
|
2337
|
+
type: Injectable,
|
|
2338
|
+
args: [{
|
|
2339
|
+
providedIn: 'root'
|
|
2340
|
+
}]
|
|
2341
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3495
2342
|
|
|
3496
2343
|
class Departamento {
|
|
3497
2344
|
constructor() {
|
|
@@ -3502,15 +2349,15 @@ class DepartamentoService extends CrudService {
|
|
|
3502
2349
|
constructor(http) {
|
|
3503
2350
|
super(http, '/departamento');
|
|
3504
2351
|
}
|
|
3505
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3506
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2352
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DepartamentoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2353
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DepartamentoService, providedIn: 'root' }); }
|
|
3507
2354
|
}
|
|
3508
|
-
(
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
2355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: DepartamentoService, decorators: [{
|
|
2356
|
+
type: Injectable,
|
|
2357
|
+
args: [{
|
|
2358
|
+
providedIn: 'root'
|
|
2359
|
+
}]
|
|
2360
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3514
2361
|
|
|
3515
2362
|
class FormaPago {
|
|
3516
2363
|
constructor() { }
|
|
@@ -3539,44 +2386,44 @@ class EmpresaService extends CrudService {
|
|
|
3539
2386
|
// return super.get(1);
|
|
3540
2387
|
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
3541
2388
|
}
|
|
3542
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3543
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2389
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EmpresaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2390
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EmpresaService, providedIn: 'root' }); }
|
|
3544
2391
|
}
|
|
3545
|
-
(
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
2392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EmpresaService, decorators: [{
|
|
2393
|
+
type: Injectable,
|
|
2394
|
+
args: [{
|
|
2395
|
+
providedIn: 'root'
|
|
2396
|
+
}]
|
|
2397
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3551
2398
|
|
|
3552
2399
|
class FleteService extends CrudService {
|
|
3553
2400
|
constructor(httpClient) {
|
|
3554
2401
|
super(httpClient, '/flete');
|
|
3555
2402
|
this.httpClient = httpClient;
|
|
3556
2403
|
}
|
|
3557
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3558
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2404
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2405
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FleteService, providedIn: 'root' }); }
|
|
3559
2406
|
}
|
|
3560
|
-
(
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
2407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FleteService, decorators: [{
|
|
2408
|
+
type: Injectable,
|
|
2409
|
+
args: [{
|
|
2410
|
+
providedIn: 'root'
|
|
2411
|
+
}]
|
|
2412
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3566
2413
|
|
|
3567
2414
|
class FormaPagoService extends CrudService {
|
|
3568
2415
|
constructor(http) {
|
|
3569
2416
|
super(http, '/FormaDePago');
|
|
3570
2417
|
}
|
|
3571
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3572
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2418
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormaPagoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2419
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormaPagoService, providedIn: "root" }); }
|
|
3573
2420
|
}
|
|
3574
|
-
(
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
2421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormaPagoService, decorators: [{
|
|
2422
|
+
type: Injectable,
|
|
2423
|
+
args: [{
|
|
2424
|
+
providedIn: "root"
|
|
2425
|
+
}]
|
|
2426
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3580
2427
|
|
|
3581
2428
|
class Moneda {
|
|
3582
2429
|
constructor() { }
|
|
@@ -3587,15 +2434,15 @@ class MonedaService extends CrudService {
|
|
|
3587
2434
|
super(httpClient, '/moneda');
|
|
3588
2435
|
this.httpClient = httpClient;
|
|
3589
2436
|
}
|
|
3590
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3591
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2437
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MonedaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2438
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MonedaService, providedIn: 'root' }); }
|
|
3592
2439
|
}
|
|
3593
|
-
(
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
2440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MonedaService, decorators: [{
|
|
2441
|
+
type: Injectable,
|
|
2442
|
+
args: [{
|
|
2443
|
+
providedIn: 'root'
|
|
2444
|
+
}]
|
|
2445
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3599
2446
|
|
|
3600
2447
|
class EstadoCivil {
|
|
3601
2448
|
constructor() { }
|
|
@@ -3616,15 +2463,15 @@ class PersonaFisicaService extends CrudService {
|
|
|
3616
2463
|
getEstadoCivil() {
|
|
3617
2464
|
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
3618
2465
|
}
|
|
3619
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3620
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2466
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PersonaFisicaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2467
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PersonaFisicaService, providedIn: "root" }); }
|
|
3621
2468
|
}
|
|
3622
|
-
(
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
2469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PersonaFisicaService, decorators: [{
|
|
2470
|
+
type: Injectable,
|
|
2471
|
+
args: [{
|
|
2472
|
+
providedIn: "root"
|
|
2473
|
+
}]
|
|
2474
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3628
2475
|
|
|
3629
2476
|
class ProveedorCuentaBanco {
|
|
3630
2477
|
constructor() {
|
|
@@ -3650,15 +2497,15 @@ class ProveedorCuentaBancoService extends CrudService {
|
|
|
3650
2497
|
let p = { 'cuentas': params };
|
|
3651
2498
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3652
2499
|
}
|
|
3653
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3654
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2500
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorCuentaBancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2501
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorCuentaBancoService, providedIn: 'root' }); }
|
|
3655
2502
|
}
|
|
3656
|
-
(
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
2503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorCuentaBancoService, decorators: [{
|
|
2504
|
+
type: Injectable,
|
|
2505
|
+
args: [{
|
|
2506
|
+
providedIn: 'root'
|
|
2507
|
+
}]
|
|
2508
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3662
2509
|
|
|
3663
2510
|
class ProveedorFleteService extends CrudService {
|
|
3664
2511
|
constructor(httpClient) {
|
|
@@ -3669,29 +2516,29 @@ class ProveedorFleteService extends CrudService {
|
|
|
3669
2516
|
let params = { fletes: p };
|
|
3670
2517
|
return this.save(params);
|
|
3671
2518
|
}
|
|
3672
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3673
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2519
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorFleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2520
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorFleteService, providedIn: 'root' }); }
|
|
3674
2521
|
}
|
|
3675
|
-
(
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
2522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProveedorFleteService, decorators: [{
|
|
2523
|
+
type: Injectable,
|
|
2524
|
+
args: [{
|
|
2525
|
+
providedIn: 'root'
|
|
2526
|
+
}]
|
|
2527
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3681
2528
|
|
|
3682
2529
|
class ClaveAumentoDisminucionService extends CrudService {
|
|
3683
2530
|
constructor(http) {
|
|
3684
2531
|
super(http, 'claveAumentoDisminucion');
|
|
3685
2532
|
}
|
|
3686
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3687
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2533
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClaveAumentoDisminucionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2534
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClaveAumentoDisminucionService, providedIn: 'root' }); }
|
|
3688
2535
|
}
|
|
3689
|
-
(
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
2536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClaveAumentoDisminucionService, decorators: [{
|
|
2537
|
+
type: Injectable,
|
|
2538
|
+
args: [{
|
|
2539
|
+
providedIn: 'root'
|
|
2540
|
+
}]
|
|
2541
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3695
2542
|
|
|
3696
2543
|
class SerieDocumentoService extends CrudService {
|
|
3697
2544
|
constructor(httpClient) {
|
|
@@ -3704,15 +2551,15 @@ class SerieDocumentoService extends CrudService {
|
|
|
3704
2551
|
getReporte(params) {
|
|
3705
2552
|
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
3706
2553
|
}
|
|
3707
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3708
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2554
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SerieDocumentoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2555
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SerieDocumentoService, providedIn: 'root' }); }
|
|
3709
2556
|
}
|
|
3710
|
-
(
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
2557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SerieDocumentoService, decorators: [{
|
|
2558
|
+
type: Injectable,
|
|
2559
|
+
args: [{
|
|
2560
|
+
providedIn: 'root'
|
|
2561
|
+
}]
|
|
2562
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3716
2563
|
|
|
3717
2564
|
class SerieDocumento {
|
|
3718
2565
|
constructor() { }
|
|
@@ -3722,15 +2569,15 @@ class TipoContactoService extends CrudService {
|
|
|
3722
2569
|
constructor(http) {
|
|
3723
2570
|
super(http, '/tipoContacto');
|
|
3724
2571
|
}
|
|
3725
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3726
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2572
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TipoContactoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2573
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TipoContactoService, providedIn: 'root' }); }
|
|
3727
2574
|
}
|
|
3728
|
-
(
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
2575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: TipoContactoService, decorators: [{
|
|
2576
|
+
type: Injectable,
|
|
2577
|
+
args: [{
|
|
2578
|
+
providedIn: 'root'
|
|
2579
|
+
}]
|
|
2580
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3734
2581
|
|
|
3735
2582
|
class Ubicacion {
|
|
3736
2583
|
constructor() { }
|
|
@@ -3740,15 +2587,15 @@ class UbicacionService extends CrudService {
|
|
|
3740
2587
|
constructor(http) {
|
|
3741
2588
|
super(http, 'ubicacion');
|
|
3742
2589
|
}
|
|
3743
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3744
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2590
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UbicacionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2591
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UbicacionService, providedIn: 'root' }); }
|
|
3745
2592
|
}
|
|
3746
|
-
(
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
2593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UbicacionService, decorators: [{
|
|
2594
|
+
type: Injectable,
|
|
2595
|
+
args: [{
|
|
2596
|
+
providedIn: 'root'
|
|
2597
|
+
}]
|
|
2598
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3752
2599
|
|
|
3753
2600
|
class TipoCatalogo {
|
|
3754
2601
|
static { this.ARTICULO = 2; }
|
|
@@ -3764,15 +2611,15 @@ class AcreedorCuentaContableService extends CrudService {
|
|
|
3764
2611
|
let uRL = "/cuentaContable/obtieneCuentasContablesRecursivo/";
|
|
3765
2612
|
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
3766
2613
|
}
|
|
3767
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3768
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2614
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AcreedorCuentaContableService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2615
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AcreedorCuentaContableService, providedIn: 'root' }); }
|
|
3769
2616
|
}
|
|
3770
|
-
(
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
2617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AcreedorCuentaContableService, decorators: [{
|
|
2618
|
+
type: Injectable,
|
|
2619
|
+
args: [{
|
|
2620
|
+
providedIn: 'root'
|
|
2621
|
+
}]
|
|
2622
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3776
2623
|
|
|
3777
2624
|
class CuentaContableModel {
|
|
3778
2625
|
constructor() {
|