visorus-erp-core 17.3.0 → 17.4.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/esm2022/lib/app.module.mjs +33 -34
- package/esm2022/lib/components/acreedor/services/acreedor.service.mjs +9 -9
- package/esm2022/lib/components/acreedor/services/acreedorCuentaContable.mjs +9 -9
- package/esm2022/lib/components/agente/services/agente.service.mjs +9 -9
- package/esm2022/lib/components/almacen/services/almacen.service.mjs +9 -9
- package/esm2022/lib/components/banco/services/banco.service.mjs +9 -9
- package/esm2022/lib/components/caja/session-create/session-create.component.mjs +19 -102
- package/esm2022/lib/components/caja/sessionCaja.service.mjs +9 -9
- package/esm2022/lib/components/catalogoTipo/services/catalogoTipo.service.mjs +9 -9
- package/esm2022/lib/components/clasificadorTipo/services/clasificadorTipo.service.mjs +9 -9
- package/esm2022/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.mjs +9 -9
- package/esm2022/lib/components/claveMovimiento/services/claveMovimiento.service.mjs +9 -9
- package/esm2022/lib/components/cliente/services/cliente.service.mjs +9 -9
- package/esm2022/lib/components/cliente/services/clienteCuentaBanco.service.mjs +9 -9
- package/esm2022/lib/components/cliente/services/clienteFlete.service.mjs +9 -9
- package/esm2022/lib/components/contacto/services/datoContacto.service.mjs +9 -9
- package/esm2022/lib/components/dato-direccion/services/datoDireccion.service.mjs +9 -9
- package/esm2022/lib/components/departamento/services/departamento.service.mjs +9 -9
- package/esm2022/lib/components/empresa/services/empresa.service.mjs +9 -9
- package/esm2022/lib/components/error404/error404.component.mjs +7 -15
- package/esm2022/lib/components/flete/services/flete.service.mjs +9 -9
- package/esm2022/lib/components/formaPago/services/FormaPago.service.mjs +9 -9
- package/esm2022/lib/components/loading/loading.component.mjs +9 -25
- package/esm2022/lib/components/loading/loading.service.mjs +11 -11
- package/esm2022/lib/components/loading-screen/loading-screen.component.mjs +9 -14
- package/esm2022/lib/components/loading-screen/loading-screen.service.mjs +9 -9
- package/esm2022/lib/components/login-modal/login-modal.component.mjs +7 -85
- package/esm2022/lib/components/login-modal/login-modal.service.mjs +11 -11
- package/esm2022/lib/components/moneda/services/moneda.service.mjs +9 -9
- package/esm2022/lib/components/pdfModal/pdf-modal.component.mjs +56 -46
- package/esm2022/lib/components/pdfModal/pdf-modal.service.mjs +13 -13
- package/esm2022/lib/components/persona-fisica/services/personaFisica.service.mjs +9 -9
- package/esm2022/lib/components/proveedor/services/proveedor.service.mjs +9 -9
- package/esm2022/lib/components/proveedor/services/proveedorCuentaBanco.service.mjs +9 -9
- package/esm2022/lib/components/proveedor/services/proveedorFlete.service.mjs +9 -9
- package/esm2022/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +13 -102
- package/esm2022/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.mjs +9 -9
- package/esm2022/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +19 -377
- package/esm2022/lib/components/selecciona-articulo/stock.service.mjs +9 -9
- package/esm2022/lib/components/serieDocumento/services/serieDocumento.service.mjs +9 -9
- package/esm2022/lib/components/tipo-contacto/services/tipoContacto.service.mjs +9 -9
- package/esm2022/lib/components/ubicacion/services/ubicacion.service.mjs +9 -9
- package/esm2022/lib/contabilidad/componentes/cclista/cclista.component.mjs +13 -93
- package/esm2022/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.mjs +16 -40
- package/esm2022/lib/contabilidad/servicios/cuentacontable.service.mjs +9 -9
- package/esm2022/lib/httpInterceptor/httpInterceptor.mjs +6 -6
- package/esm2022/lib/services/auth.service.mjs +13 -13
- package/esm2022/lib/services/authenticated.service.mjs +9 -9
- package/esm2022/lib/services/canActivateGuard.service.ts.mjs +9 -9
- package/esm2022/lib/services/catalogo-adicional.service.mjs +9 -9
- package/esm2022/lib/services/controlAcceso.service.mjs +13 -13
- package/esm2022/lib/services/file.service.mjs +9 -9
- package/esm2022/lib/services/init.service.mjs +9 -9
- package/esm2022/lib/services/message.service.mjs +9 -9
- package/esm2022/lib/services/paginate.service.mjs +9 -9
- package/esm2022/lib/services/personaMoral.service.mjs +9 -9
- package/esm2022/lib/services/versionCheck.service.mjs +9 -9
- package/fesm2022/visorus-erp-core.mjs +594 -1327
- package/fesm2022/visorus-erp-core.mjs.map +1 -1
- package/lib/components/pdfModal/pdf-modal.component.d.ts +16 -3
- package/package.json +2 -5
|
@@ -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 i4 from '@angular/common';
|
|
@@ -16,7 +16,7 @@ import * as i4$1 from '@angular/forms';
|
|
|
16
16
|
import { FormsModule } from '@angular/forms';
|
|
17
17
|
import * as i30 from 'primeng/dialog';
|
|
18
18
|
import { DialogModule } from 'primeng/dialog';
|
|
19
|
-
import { Subject, throwError, of } from 'rxjs';
|
|
19
|
+
import { Subject, throwError, of, Subscription } from 'rxjs';
|
|
20
20
|
import { catchError, tap, debounceTime } from 'rxjs/operators';
|
|
21
21
|
import * as i1$1 from 'ngx-toastr';
|
|
22
22
|
import { ToastrModule } from 'ngx-toastr';
|
|
@@ -184,82 +184,16 @@ class CuentaContableService extends CrudService {
|
|
|
184
184
|
obtieneCuentasContablesRecursivo() {
|
|
185
185
|
return this.httpClient.get(this.getUrl('cuentaContable') + '/obtieneCuentasContablesRecursivo', this.buildAuth());
|
|
186
186
|
}
|
|
187
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
188
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
189
|
-
}
|
|
190
|
-
(
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
const _c0$6 = () => ({ width: "100%" });
|
|
198
|
-
function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
199
|
-
i0.ɵɵelementStart(0, "tr")(1, "th", 5);
|
|
200
|
-
i0.ɵɵtext(2, "Cuenta contable");
|
|
201
|
-
i0.ɵɵelementEnd();
|
|
202
|
-
i0.ɵɵelementStart(3, "th", 5);
|
|
203
|
-
i0.ɵɵtext(4, "Descripci\u00F3n");
|
|
204
|
-
i0.ɵɵelementEnd();
|
|
205
|
-
i0.ɵɵelementStart(5, "th", 6);
|
|
206
|
-
i0.ɵɵtext(6, "Naturaleza");
|
|
207
|
-
i0.ɵɵelementEnd();
|
|
208
|
-
i0.ɵɵelementStart(7, "th", 7);
|
|
209
|
-
i0.ɵɵtext(8, "Tipo");
|
|
210
|
-
i0.ɵɵelementEnd();
|
|
211
|
-
i0.ɵɵelementStart(9, "th", 8);
|
|
212
|
-
i0.ɵɵtext(10, "Acciones");
|
|
213
|
-
i0.ɵɵelementEnd()();
|
|
214
|
-
} }
|
|
215
|
-
function CclistaComponent_ng_template_4_button_12_Template(rf, ctx) { if (rf & 1) {
|
|
216
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
217
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
218
|
-
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
|
|
219
|
-
i0.ɵɵelementEnd();
|
|
220
|
-
} }
|
|
221
|
-
function CclistaComponent_ng_template_4_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
222
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
223
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
224
|
-
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
|
|
225
|
-
i0.ɵɵelementEnd();
|
|
226
|
-
} }
|
|
227
|
-
function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
228
|
-
i0.ɵɵelementStart(0, "tr")(1, "td", 9);
|
|
229
|
-
i0.ɵɵelement(2, "p-treeTableToggler", 10);
|
|
230
|
-
i0.ɵɵtext(3);
|
|
231
|
-
i0.ɵɵelementEnd();
|
|
232
|
-
i0.ɵɵelementStart(4, "td", 9);
|
|
233
|
-
i0.ɵɵtext(5);
|
|
234
|
-
i0.ɵɵelementEnd();
|
|
235
|
-
i0.ɵɵelementStart(6, "td", 11);
|
|
236
|
-
i0.ɵɵtext(7);
|
|
237
|
-
i0.ɵɵelementEnd();
|
|
238
|
-
i0.ɵɵelementStart(8, "td", 12);
|
|
239
|
-
i0.ɵɵtext(9);
|
|
240
|
-
i0.ɵɵelementEnd();
|
|
241
|
-
i0.ɵɵelementStart(10, "td", 13)(11, "div", 14);
|
|
242
|
-
i0.ɵɵtemplate(12, CclistaComponent_ng_template_4_button_12_Template, 1, 0, "button", 15)(13, CclistaComponent_ng_template_4_button_13_Template, 1, 0, "button", 15);
|
|
243
|
-
i0.ɵɵelementEnd()()();
|
|
244
|
-
} if (rf & 2) {
|
|
245
|
-
const rowNode_r5 = ctx.$implicit;
|
|
246
|
-
const rowData_r2 = ctx.rowData;
|
|
247
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
248
|
-
i0.ɵɵadvance(2);
|
|
249
|
-
i0.ɵɵproperty("rowNode", rowNode_r5);
|
|
250
|
-
i0.ɵɵadvance();
|
|
251
|
-
i0.ɵɵtextInterpolate1(" ", rowData_r2.cuentaContable, " ");
|
|
252
|
-
i0.ɵɵadvance(2);
|
|
253
|
-
i0.ɵɵtextInterpolate1(" ", rowData_r2.descripcion, " ");
|
|
254
|
-
i0.ɵɵadvance(2);
|
|
255
|
-
i0.ɵɵtextInterpolate1(" ", rowData_r2.naturaleza, " ");
|
|
256
|
-
i0.ɵɵadvance(2);
|
|
257
|
-
i0.ɵɵtextInterpolate1(" ", rowData_r2.tipo, " ");
|
|
258
|
-
i0.ɵɵadvance(3);
|
|
259
|
-
i0.ɵɵproperty("ngIf", ctx_r2.typeAccount == 1 && rowData_r2.cuentaRegistro);
|
|
260
|
-
i0.ɵɵadvance();
|
|
261
|
-
i0.ɵɵproperty("ngIf", ctx_r2.typeAccount == 2 && !rowData_r2.cuentaRegistro);
|
|
262
|
-
} }
|
|
187
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CuentaContableService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
188
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CuentaContableService, providedIn: 'root' }); }
|
|
189
|
+
}
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CuentaContableService, decorators: [{
|
|
191
|
+
type: Injectable,
|
|
192
|
+
args: [{
|
|
193
|
+
providedIn: 'root'
|
|
194
|
+
}]
|
|
195
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
196
|
+
|
|
263
197
|
class CclistaComponent {
|
|
264
198
|
constructor(_cuentaContableService) {
|
|
265
199
|
this._cuentaContableService = _cuentaContableService;
|
|
@@ -418,37 +352,20 @@ class CclistaComponent {
|
|
|
418
352
|
return listAccounts;
|
|
419
353
|
}
|
|
420
354
|
}
|
|
421
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
422
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
} }, dependencies: [i4.NgIf, i3.PrimeTemplate, i16.TreeTable, i16.TreeTableToggler, i18.ButtonDirective, i19.InputText, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgModel] }); }
|
|
436
|
-
}
|
|
437
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CclistaComponent, [{
|
|
438
|
-
type: Component,
|
|
439
|
-
args: [{ selector: 'lib-cclista', template: "<input type=\"text\" style=\"width: 100%;\" pInputText placeholder=\"Cuenta o descripci\u00F3n\" [(ngModel)]=\"query\" (keyup)=\"filterAccounts($event)\">\n\n<div style=\"padding: 10px;\">\n <p-treeTable [value]=\"cuentasContables?cuentasContables:tempAccounts\" [scrollable]=\"true\" [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" [resizableColumns]=\"true\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 150px;\">Cuenta contable</th>\n <th style=\"width: 150px;\">Descripci\u00F3n</th>\n <th style=\"width: 90px;\">Naturaleza</th>\n <th style=\"width: 60px;\">Tipo</th>\n <th style=\"width: 200px;\">Acciones</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" style=\"width: 100%;\">\n <tr>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n <p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n {{rowData.cuentaContable}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n {{rowData.descripcion}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 90px;\">\n {{rowData.naturaleza}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 60px;\">\n {{rowData.tipo}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 200px;\">\n <div class=\"button-row\">\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==1 && rowData.cuentaRegistro\"></button>\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==2 && !rowData.cuentaRegistro\"></button>\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
|
|
440
|
-
}], () => [{ type: CuentaContableService }], { isShared: [{
|
|
441
|
-
type: Input
|
|
442
|
-
}], typeAccount: [{
|
|
443
|
-
type: Input
|
|
444
|
-
}], evSelectedAccount: [{
|
|
445
|
-
type: Output
|
|
446
|
-
}] }); })();
|
|
447
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CclistaComponent, { className: "CclistaComponent" }); })();
|
|
448
|
-
|
|
449
|
-
const _c0$5 = ["dialog"];
|
|
450
|
-
const _c1$4 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
451
|
-
const _c2 = a0 => ({ "height": a0 });
|
|
355
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CclistaComponent, deps: [{ token: CuentaContableService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
356
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CclistaComponent, 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 <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==1 && rowData.cuentaRegistro\"></button>\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==2 && !rowData.cuentaRegistro\"></button>\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i16.TreeTable, selector: "p-treeTable", 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"], outputs: ["selectionChange", "contextMenuSelectionChange", "onFilter", "onNodeExpand", "onNodeCollapse", "onPage", "onSort", "onLazyLoad", "sortFunction", "onColResize", "onColReorder", "onNodeSelect", "onNodeUnselect", "onContextMenuSelect", "onHeaderCheckboxToggle", "onEditInit", "onEditComplete", "onEditCancel"] }, { kind: "component", type: i16.TreeTableToggler, selector: "p-treeTableToggler", inputs: ["rowNode"] }, { kind: "directive", type: i18.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i19.InputText, selector: "[pInputText]" }, { kind: "directive", type: i4$1.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: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
357
|
+
}
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CclistaComponent, decorators: [{
|
|
359
|
+
type: Component,
|
|
360
|
+
args: [{ selector: 'lib-cclista', template: "<input type=\"text\" style=\"width: 100%;\" pInputText placeholder=\"Cuenta o descripci\u00F3n\" [(ngModel)]=\"query\" (keyup)=\"filterAccounts($event)\">\n\n<div style=\"padding: 10px;\">\n <p-treeTable [value]=\"cuentasContables?cuentasContables:tempAccounts\" [scrollable]=\"true\" [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" [resizableColumns]=\"true\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 150px;\">Cuenta contable</th>\n <th style=\"width: 150px;\">Descripci\u00F3n</th>\n <th style=\"width: 90px;\">Naturaleza</th>\n <th style=\"width: 60px;\">Tipo</th>\n <th style=\"width: 200px;\">Acciones</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" style=\"width: 100%;\">\n <tr>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n <p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n {{rowData.cuentaContable}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n {{rowData.descripcion}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 90px;\">\n {{rowData.naturaleza}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 60px;\">\n {{rowData.tipo}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 200px;\">\n <div class=\"button-row\">\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==1 && rowData.cuentaRegistro\"></button>\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==2 && !rowData.cuentaRegistro\"></button>\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
|
|
361
|
+
}], ctorParameters: () => [{ type: CuentaContableService }], propDecorators: { isShared: [{
|
|
362
|
+
type: Input
|
|
363
|
+
}], typeAccount: [{
|
|
364
|
+
type: Input
|
|
365
|
+
}], evSelectedAccount: [{
|
|
366
|
+
type: Output
|
|
367
|
+
}] } });
|
|
368
|
+
|
|
452
369
|
class CcseleccionDialogComponent {
|
|
453
370
|
constructor() {
|
|
454
371
|
this.cuentasContables = [];
|
|
@@ -469,43 +386,22 @@ class CcseleccionDialogComponent {
|
|
|
469
386
|
hiddenDialog(evt) {
|
|
470
387
|
this.evSelectedAccount.emit(null);
|
|
471
388
|
}
|
|
472
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
473
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
489
|
-
i0.ɵɵadvance();
|
|
490
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
|
|
491
|
-
i0.ɵɵadvance();
|
|
492
|
-
i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
|
|
493
|
-
} }, dependencies: [i4.NgStyle, i30.Dialog, CclistaComponent] }); }
|
|
494
|
-
}
|
|
495
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcseleccionDialogComponent, [{
|
|
496
|
-
type: Component,
|
|
497
|
-
args: [{ selector: 'lib-ccseleccion-dialog', template: "<p-dialog header=\"Selecciona cuenta contable\" [(visible)]=\"displayShowCuentas\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog($event)\" [blockScroll]=\"true\" [draggable]=\"false\" [blockScroll]=\"true\"\n [maximizable]=\"true\">\n <div class=\"padding10\" [ngStyle]=\"{'height': maxH+200+'px'}\">\n <lib-cclista [isShared]=\"true\" [typeAccount]=\"tipoCuenta\" (evSelectedAccount)=\"getAccount($event)\"></lib-cclista>\n </div>\n</p-dialog>" }]
|
|
498
|
-
}], () => [], { dialog: [{
|
|
499
|
-
type: ViewChild,
|
|
500
|
-
args: ["dialog", { static: true }]
|
|
501
|
-
}], tipoCuenta: [{
|
|
502
|
-
type: Input
|
|
503
|
-
}], displayShowCuentas: [{
|
|
504
|
-
type: Input
|
|
505
|
-
}], evSelectedAccount: [{
|
|
506
|
-
type: Output
|
|
507
|
-
}] }); })();
|
|
508
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CcseleccionDialogComponent, { className: "CcseleccionDialogComponent" }); })();
|
|
389
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CcseleccionDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
390
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CcseleccionDialogComponent, 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: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i30.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "component", type: CclistaComponent, selector: "lib-cclista", inputs: ["isShared", "typeAccount"], outputs: ["evSelectedAccount"] }] }); }
|
|
391
|
+
}
|
|
392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CcseleccionDialogComponent, decorators: [{
|
|
393
|
+
type: Component,
|
|
394
|
+
args: [{ selector: 'lib-ccseleccion-dialog', template: "<p-dialog header=\"Selecciona cuenta contable\" [(visible)]=\"displayShowCuentas\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog($event)\" [blockScroll]=\"true\" [draggable]=\"false\" [blockScroll]=\"true\"\n [maximizable]=\"true\">\n <div class=\"padding10\" [ngStyle]=\"{'height': maxH+200+'px'}\">\n <lib-cclista [isShared]=\"true\" [typeAccount]=\"tipoCuenta\" (evSelectedAccount)=\"getAccount($event)\"></lib-cclista>\n </div>\n</p-dialog>" }]
|
|
395
|
+
}], ctorParameters: () => [], propDecorators: { dialog: [{
|
|
396
|
+
type: ViewChild,
|
|
397
|
+
args: ["dialog", { static: true }]
|
|
398
|
+
}], tipoCuenta: [{
|
|
399
|
+
type: Input
|
|
400
|
+
}], displayShowCuentas: [{
|
|
401
|
+
type: Input
|
|
402
|
+
}], evSelectedAccount: [{
|
|
403
|
+
type: Output
|
|
404
|
+
}] } });
|
|
509
405
|
|
|
510
406
|
const contaComponents = [
|
|
511
407
|
CclistaComponent,
|
|
@@ -519,17 +415,17 @@ class LoginModalService {
|
|
|
519
415
|
showModal() {
|
|
520
416
|
this.modal.emit(true);
|
|
521
417
|
}
|
|
522
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
523
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
418
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
419
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalService, providedIn: 'root' }); }
|
|
524
420
|
}
|
|
525
|
-
(
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalService, decorators: [{
|
|
422
|
+
type: Injectable,
|
|
423
|
+
args: [{
|
|
424
|
+
providedIn: 'root'
|
|
425
|
+
}]
|
|
426
|
+
}], propDecorators: { modal: [{
|
|
427
|
+
type: Output
|
|
428
|
+
}] } });
|
|
533
429
|
|
|
534
430
|
class LoadingScreenService {
|
|
535
431
|
constructor() {
|
|
@@ -549,15 +445,15 @@ class LoadingScreenService {
|
|
|
549
445
|
stopLoading() {
|
|
550
446
|
this.loading = false;
|
|
551
447
|
}
|
|
552
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
553
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
448
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
449
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenService, providedIn: 'root' }); }
|
|
554
450
|
}
|
|
555
|
-
(
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenService, decorators: [{
|
|
452
|
+
type: Injectable,
|
|
453
|
+
args: [{
|
|
454
|
+
providedIn: 'root'
|
|
455
|
+
}]
|
|
456
|
+
}] });
|
|
561
457
|
|
|
562
458
|
class httpInterceptor {
|
|
563
459
|
constructor(loginModalService, toastrService, loadingScreenService) {
|
|
@@ -632,32 +528,24 @@ class httpInterceptor {
|
|
|
632
528
|
}
|
|
633
529
|
}
|
|
634
530
|
}
|
|
635
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
636
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
531
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: httpInterceptor, deps: [{ token: LoginModalService }, { token: i1$1.ToastrService }, { token: LoadingScreenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
532
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: httpInterceptor }); }
|
|
637
533
|
}
|
|
638
|
-
(
|
|
639
|
-
|
|
640
|
-
|
|
534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: httpInterceptor, decorators: [{
|
|
535
|
+
type: Injectable
|
|
536
|
+
}], ctorParameters: () => [{ type: LoginModalService }, { type: i1$1.ToastrService }, { type: LoadingScreenService }] });
|
|
641
537
|
|
|
642
538
|
class Error404Component {
|
|
643
539
|
constructor() { }
|
|
644
540
|
ngOnInit() {
|
|
645
541
|
}
|
|
646
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
647
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
i0.ɵɵelementEnd()()()()()();
|
|
654
|
-
} }, styles: [".error[_ngcontent-%COMP%]{font-size:70px}"] }); }
|
|
655
|
-
}
|
|
656
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Error404Component, [{
|
|
657
|
-
type: Component,
|
|
658
|
-
args: [{ selector: 'app-error404', template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }]
|
|
659
|
-
}], () => [], null); })();
|
|
660
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Error404Component, { className: "Error404Component" }); })();
|
|
542
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Error404Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
543
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: Error404Component, 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"] }); }
|
|
544
|
+
}
|
|
545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Error404Component, decorators: [{
|
|
546
|
+
type: Component,
|
|
547
|
+
args: [{ selector: 'app-error404', template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }]
|
|
548
|
+
}], ctorParameters: () => [] });
|
|
661
549
|
|
|
662
550
|
class LoadingService {
|
|
663
551
|
constructor() {
|
|
@@ -675,17 +563,17 @@ class LoadingService {
|
|
|
675
563
|
stop() {
|
|
676
564
|
this.loading.emit(false);
|
|
677
565
|
}
|
|
678
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
679
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
566
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
567
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingService, providedIn: 'root' }); }
|
|
680
568
|
}
|
|
681
|
-
(
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingService, decorators: [{
|
|
570
|
+
type: Injectable,
|
|
571
|
+
args: [{
|
|
572
|
+
providedIn: 'root'
|
|
573
|
+
}]
|
|
574
|
+
}], propDecorators: { loading: [{
|
|
575
|
+
type: Output
|
|
576
|
+
}] } });
|
|
689
577
|
|
|
690
578
|
class LoadingComponent {
|
|
691
579
|
constructor(loadingService) {
|
|
@@ -705,31 +593,15 @@ class LoadingComponent {
|
|
|
705
593
|
}
|
|
706
594
|
});
|
|
707
595
|
}
|
|
708
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
709
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
i0.ɵɵpipe(13, "translate");
|
|
718
|
-
i0.ɵɵelementEnd()()()()()()()();
|
|
719
|
-
} if (rf & 2) {
|
|
720
|
-
i0.ɵɵadvance(10);
|
|
721
|
-
i0.ɵɵpropertyInterpolate("src", ctx.logo_loading, i0.ɵɵsanitizeUrl);
|
|
722
|
-
i0.ɵɵadvance(2);
|
|
723
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 2, "cargando"), "...");
|
|
724
|
-
} }, dependencies: [i2.TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:_ngcontent-%COMP%_spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:_ngcontent-%COMP%_a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:_ngcontent-%COMP%_b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:_ngcontent-%COMP%_c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:_ngcontent-%COMP%_d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes _ngcontent-%COMP%_a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes _ngcontent-%COMP%_b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes _ngcontent-%COMP%_c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes _ngcontent-%COMP%_d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes _ngcontent-%COMP%_spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal[_ngcontent-%COMP%]{z-index:2050!important}.modal-content[_ngcontent-%COMP%]{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body[_ngcontent-%COMP%]{margin-left:-7%!important}"] }); }
|
|
725
|
-
}
|
|
726
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
727
|
-
type: Component,
|
|
728
|
-
args: [{ selector: 'loading', template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
|
|
729
|
-
}], () => [{ type: LoadingService }], { logo_loading: [{
|
|
730
|
-
type: Input
|
|
731
|
-
}] }); })();
|
|
732
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent" }); })();
|
|
596
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingComponent, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
597
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LoadingComponent, 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: i2.TranslatePipe, name: "translate" }] }); }
|
|
598
|
+
}
|
|
599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
600
|
+
type: Component,
|
|
601
|
+
args: [{ selector: 'loading', template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
|
|
602
|
+
}], ctorParameters: () => [{ type: LoadingService }], propDecorators: { logo_loading: [{
|
|
603
|
+
type: Input
|
|
604
|
+
}] } });
|
|
733
605
|
|
|
734
606
|
class LoadingScreenComponent {
|
|
735
607
|
constructor(loadingScreenService, _elmRef, _changeDetectorRef, loadingService) {
|
|
@@ -754,20 +626,15 @@ class LoadingScreenComponent {
|
|
|
754
626
|
ngOnDestroy() {
|
|
755
627
|
this.loadingSubscription.unsubscribe();
|
|
756
628
|
}
|
|
757
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
758
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
args: [{ selector: 'app-loading-screen', template: "<div class=\"loading-screen-wrapper\">\n <div class=\"loading-screen-icon\">\n <div class=\"blobs\">\n <div class=\"blob-center\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n </div> \n </div>\n</div>\n", styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs .blob-center{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob:nth-child(1){animation-delay:.2s}.blob:nth-child(2){animation-delay:.4s}.blob:nth-child(3){animation-delay:.6s}.blob:nth-child(4){animation-delay:.8s}.blob:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}\n"] }]
|
|
767
|
-
}], () => [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }], { logo_loading: [{
|
|
768
|
-
type: Input
|
|
769
|
-
}] }); })();
|
|
770
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingScreenComponent, { className: "LoadingScreenComponent" }); })();
|
|
629
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenComponent, deps: [{ token: LoadingScreenService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: LoadingService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
630
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LoadingScreenComponent, 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"] }); }
|
|
631
|
+
}
|
|
632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenComponent, decorators: [{
|
|
633
|
+
type: Component,
|
|
634
|
+
args: [{ selector: 'app-loading-screen', template: "<div class=\"loading-screen-wrapper\">\n <div class=\"loading-screen-icon\">\n <div class=\"blobs\">\n <div class=\"blob-center\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n </div> \n </div>\n</div>\n", styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs .blob-center{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob:nth-child(1){animation-delay:.2s}.blob:nth-child(2){animation-delay:.4s}.blob:nth-child(3){animation-delay:.6s}.blob:nth-child(4){animation-delay:.8s}.blob:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}\n"] }]
|
|
635
|
+
}], ctorParameters: () => [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }], propDecorators: { logo_loading: [{
|
|
636
|
+
type: Input
|
|
637
|
+
}] } });
|
|
771
638
|
|
|
772
639
|
class PdfModalService {
|
|
773
640
|
constructor() {
|
|
@@ -782,19 +649,19 @@ class PdfModalService {
|
|
|
782
649
|
this.html = html;
|
|
783
650
|
this.print.emit(true);
|
|
784
651
|
}
|
|
785
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
786
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
652
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
653
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalService, providedIn: 'root' }); }
|
|
787
654
|
}
|
|
788
|
-
(
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalService, decorators: [{
|
|
656
|
+
type: Injectable,
|
|
657
|
+
args: [{
|
|
658
|
+
providedIn: 'root'
|
|
659
|
+
}]
|
|
660
|
+
}], propDecorators: { visible: [{
|
|
661
|
+
type: Output
|
|
662
|
+
}], print: [{
|
|
663
|
+
type: Output
|
|
664
|
+
}] } });
|
|
798
665
|
|
|
799
666
|
class FileService {
|
|
800
667
|
constructor(_toastrService, translate) {
|
|
@@ -848,62 +715,79 @@ class FileService {
|
|
|
848
715
|
base64ToFileDowload(base64, type, name) {
|
|
849
716
|
this.blobToDowload(this.base64ToBlob(base64, type), type, name);
|
|
850
717
|
}
|
|
851
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
852
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
853
|
-
}
|
|
854
|
-
(
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
const _c0$4 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
862
|
-
const _c1$3 = () => ({ "overflow": "visible" });
|
|
863
|
-
function PdfModalComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
864
|
-
i0.ɵɵelementStart(0, "div", 2);
|
|
865
|
-
i0.ɵɵelement(1, "iframe", 3);
|
|
866
|
-
i0.ɵɵelementEnd();
|
|
867
|
-
} if (rf & 2) {
|
|
868
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
869
|
-
i0.ɵɵadvance();
|
|
870
|
-
i0.ɵɵproperty("src", ctx_r0.domSanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64," + ctx_r0.pdfBase64), i0.ɵɵsanitizeResourceUrl);
|
|
871
|
-
} }
|
|
718
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileService, deps: [{ token: i1$1.ToastrService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
719
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileService, providedIn: 'root' }); }
|
|
720
|
+
}
|
|
721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileService, decorators: [{
|
|
722
|
+
type: Injectable,
|
|
723
|
+
args: [{
|
|
724
|
+
providedIn: 'root'
|
|
725
|
+
}]
|
|
726
|
+
}], ctorParameters: () => [{ type: i1$1.ToastrService }, { type: i2.TranslateService }] });
|
|
727
|
+
|
|
872
728
|
class PdfModalComponent {
|
|
873
729
|
constructor(_pdfModalService, fileService, domSanitizer) {
|
|
874
730
|
this._pdfModalService = _pdfModalService;
|
|
875
731
|
this.fileService = fileService;
|
|
876
732
|
this.domSanitizer = domSanitizer;
|
|
877
733
|
this.display = false;
|
|
878
|
-
this.
|
|
734
|
+
this.pdfUrl = null;
|
|
735
|
+
this.modo = 'pdf';
|
|
879
736
|
this.size = 840;
|
|
880
|
-
|
|
737
|
+
this.objectUrl = null;
|
|
738
|
+
this.subscriptions = new Subscription();
|
|
739
|
+
this.subscriptions.add(_pdfModalService.visible.subscribe(resp => {
|
|
881
740
|
if (_pdfModalService.base_64) {
|
|
741
|
+
this.modo = 'pdf';
|
|
742
|
+
this.cargarPdf(_pdfModalService.base_64);
|
|
882
743
|
this.display = resp;
|
|
883
|
-
this.pdfBase64 = _pdfModalService.base_64;
|
|
884
|
-
/*
|
|
885
|
-
let blob = fileService.base64ToBlob(_pdfModalService.base_64, "application/pdf");
|
|
886
|
-
let blobUrl = URL.createObjectURL(blob);
|
|
887
|
-
setTimeout(() => {
|
|
888
|
-
let iframe = "<iframe width='100%' height='100%' src='" + blobUrl + "'></iframe>";
|
|
889
|
-
document.getElementById('_modal_pdf').innerHTML = iframe;
|
|
890
|
-
},20); */
|
|
891
744
|
}
|
|
892
|
-
});
|
|
893
|
-
_pdfModalService.print.subscribe((resp) => {
|
|
745
|
+
}));
|
|
746
|
+
this.subscriptions.add(_pdfModalService.print.subscribe((resp) => {
|
|
747
|
+
this.modo = 'print';
|
|
748
|
+
this.liberarPdf();
|
|
894
749
|
this.display = resp;
|
|
895
750
|
setTimeout(() => {
|
|
896
751
|
let iframe = "<iframe id='printf' width='100%' height='100%' ></iframe>";
|
|
897
|
-
document.getElementById('_modal_pdf')
|
|
752
|
+
let contenedor = document.getElementById('_modal_pdf');
|
|
753
|
+
if (contenedor) {
|
|
754
|
+
contenedor.innerHTML = iframe;
|
|
755
|
+
}
|
|
898
756
|
}, 20);
|
|
899
757
|
setTimeout(() => {
|
|
900
758
|
this.imprimir();
|
|
901
759
|
}, 40);
|
|
902
|
-
});
|
|
760
|
+
}));
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* El base64 se convierte a blob una sola vez y la URL se sanitiza aquí, no en el
|
|
764
|
+
* template: sanitizar dentro del binding regresa un objeto nuevo en cada ciclo de
|
|
765
|
+
* detección de cambios, lo que recarga el iframe una y otra vez (parpadeo).
|
|
766
|
+
*/
|
|
767
|
+
cargarPdf(base64) {
|
|
768
|
+
this.liberarPdf();
|
|
769
|
+
let blob = this.fileService.base64ToBlob(base64, 'application/pdf');
|
|
770
|
+
this.objectUrl = URL.createObjectURL(blob);
|
|
771
|
+
this.pdfUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(this.objectUrl);
|
|
772
|
+
}
|
|
773
|
+
liberarPdf() {
|
|
774
|
+
if (this.objectUrl) {
|
|
775
|
+
URL.revokeObjectURL(this.objectUrl);
|
|
776
|
+
this.objectUrl = null;
|
|
777
|
+
}
|
|
778
|
+
this.pdfUrl = null;
|
|
779
|
+
}
|
|
780
|
+
cerrar() {
|
|
781
|
+
this.display = false;
|
|
782
|
+
this.liberarPdf();
|
|
903
783
|
}
|
|
904
784
|
imprimir() {
|
|
905
785
|
var iframe = window.frames['printf'];
|
|
906
|
-
iframe
|
|
786
|
+
if (!iframe) {
|
|
787
|
+
return;
|
|
788
|
+
}
|
|
789
|
+
let doc = iframe.document || iframe.contentDocument;
|
|
790
|
+
doc.head.innerHTML = ` <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
|
907
791
|
<style>
|
|
908
792
|
.table-hover tbody tr:hover {
|
|
909
793
|
color: #ffffff;
|
|
@@ -928,29 +812,21 @@ class PdfModalComponent {
|
|
|
928
812
|
background: #b9d2a0;
|
|
929
813
|
}
|
|
930
814
|
</style>`;
|
|
931
|
-
|
|
815
|
+
doc.body.innerHTML = this._pdfModalService.html;
|
|
932
816
|
//iframe.focus();
|
|
933
817
|
// iframe.contentWindow.print();
|
|
934
818
|
}
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
i0.ɵɵproperty("ngIf", ctx.pdfBase64);
|
|
947
|
-
} }, dependencies: [i4.NgIf, i30.Dialog], styles: [".down[_ngcontent-%COMP%]{display:block}"] }); }
|
|
948
|
-
}
|
|
949
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalComponent, [{
|
|
950
|
-
type: Component,
|
|
951
|
-
args: [{ selector: 'pdf-modal', template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" [blockScroll]=\"true\" \n [blockScroll]=\"true\" [maximizable]=\"true\"\n [breakpoint]=\"840\" [contentStyle]=\"{'overflow':'visible'}\">\n <div *ngIf=\"pdfBase64\" style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\" [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n</p-dialog>\n\n", styles: [".down{display:block}\n"] }]
|
|
952
|
-
}], () => [{ type: PdfModalService }, { type: FileService }, { type: i3$1.DomSanitizer }], null); })();
|
|
953
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PdfModalComponent, { className: "PdfModalComponent" }); })();
|
|
819
|
+
ngOnDestroy() {
|
|
820
|
+
this.subscriptions.unsubscribe();
|
|
821
|
+
this.liberarPdf();
|
|
822
|
+
}
|
|
823
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalComponent, deps: [{ token: PdfModalService }, { token: FileService }, { token: i3$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
824
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PdfModalComponent, selector: "pdf-modal", ngImport: i0, template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [maximizable]=\"true\" [breakpoint]=\"840\"\n [contentStyle]=\"{'overflow':'visible'}\" (onHide)=\"cerrar()\">\n <div *ngIf=\"pdfUrl\" style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh; border: 0;\" [src]=\"pdfUrl\"></iframe>\n </div>\n <div *ngIf=\"modo === 'print'\" id=\"_modal_pdf\" style=\"min-height: 90vh;\"></div>\n</p-dialog>\n", styles: [".down{display:block}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i30.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
|
|
825
|
+
}
|
|
826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalComponent, decorators: [{
|
|
827
|
+
type: Component,
|
|
828
|
+
args: [{ selector: 'pdf-modal', template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [maximizable]=\"true\" [breakpoint]=\"840\"\n [contentStyle]=\"{'overflow':'visible'}\" (onHide)=\"cerrar()\">\n <div *ngIf=\"pdfUrl\" style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh; border: 0;\" [src]=\"pdfUrl\"></iframe>\n </div>\n <div *ngIf=\"modo === 'print'\" id=\"_modal_pdf\" style=\"min-height: 90vh;\"></div>\n</p-dialog>\n", styles: [".down{display:block}\n"] }]
|
|
829
|
+
}], ctorParameters: () => [{ type: PdfModalService }, { type: FileService }, { type: i3$1.DomSanitizer }] });
|
|
954
830
|
|
|
955
831
|
class Usuario {
|
|
956
832
|
}
|
|
@@ -1162,81 +1038,20 @@ class AuthService {
|
|
|
1162
1038
|
this.url_host = config.url;
|
|
1163
1039
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioConfiguracion', httpOptions);
|
|
1164
1040
|
}
|
|
1165
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1166
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1167
|
-
}
|
|
1168
|
-
(
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
const _c0$3 = () => ({ width: "50vw" });
|
|
1180
|
-
const _c1$2 = () => ({ "960px": "75vw", "640px": "90vw" });
|
|
1181
|
-
function LoginModalComponent_div_3_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
1182
|
-
i0.ɵɵelementStart(0, "label", 16);
|
|
1183
|
-
i0.ɵɵtext(1, "Usuario o contrase\u00F1a incorrectos");
|
|
1184
|
-
i0.ɵɵelementEnd();
|
|
1185
|
-
} }
|
|
1186
|
-
function LoginModalComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
1187
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
1188
|
-
i0.ɵɵelementStart(0, "div", 6)(1, "div", 7)(2, "form", 8, 0);
|
|
1189
|
-
i0.ɵɵlistener("ngSubmit", function LoginModalComponent_div_3_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)); });
|
|
1190
|
-
i0.ɵɵtemplate(4, LoginModalComponent_div_3_label_4_Template, 2, 0, "label", 9);
|
|
1191
|
-
i0.ɵɵelementStart(5, "div", 10)(6, "label", 11);
|
|
1192
|
-
i0.ɵɵtext(7, "Usuario");
|
|
1193
|
-
i0.ɵɵelementEnd();
|
|
1194
|
-
i0.ɵɵelementStart(8, "input", 12, 1);
|
|
1195
|
-
i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_div_3_Template_input_ngModelChange_8_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); });
|
|
1196
|
-
i0.ɵɵelementEnd()();
|
|
1197
|
-
i0.ɵɵelementStart(10, "div", 10)(11, "label", 13);
|
|
1198
|
-
i0.ɵɵtext(12, "Contrase\u00F1a");
|
|
1199
|
-
i0.ɵɵelementEnd();
|
|
1200
|
-
i0.ɵɵelementStart(13, "input", 14);
|
|
1201
|
-
i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_div_3_Template_input_ngModelChange_13_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); });
|
|
1202
|
-
i0.ɵɵelementEnd()();
|
|
1203
|
-
i0.ɵɵelementStart(14, "button", 15);
|
|
1204
|
-
i0.ɵɵtext(15, "Entrar");
|
|
1205
|
-
i0.ɵɵelementEnd()()()();
|
|
1206
|
-
} if (rf & 2) {
|
|
1207
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
1208
|
-
i0.ɵɵadvance(4);
|
|
1209
|
-
i0.ɵɵproperty("ngIf", ctx_r2.error);
|
|
1210
|
-
i0.ɵɵadvance(4);
|
|
1211
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.username);
|
|
1212
|
-
i0.ɵɵadvance(5);
|
|
1213
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.password);
|
|
1214
|
-
} }
|
|
1215
|
-
function LoginModalComponent_div_4_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1216
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
1217
|
-
i0.ɵɵelementStart(0, "div", 19);
|
|
1218
|
-
i0.ɵɵlistener("click", function LoginModalComponent_div_4_div_5_Template_div_click_0_listener() { const empresa_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.entrarEmpresa(empresa_r5)); });
|
|
1219
|
-
i0.ɵɵelementStart(1, "div", 20)(2, "div", 21)(3, "h5");
|
|
1220
|
-
i0.ɵɵtext(4);
|
|
1221
|
-
i0.ɵɵelementEnd()()()();
|
|
1222
|
-
} if (rf & 2) {
|
|
1223
|
-
const empresa_r5 = ctx.$implicit;
|
|
1224
|
-
i0.ɵɵadvance(4);
|
|
1225
|
-
i0.ɵɵtextInterpolate1(" ", empresa_r5.nombre, " ");
|
|
1226
|
-
} }
|
|
1227
|
-
function LoginModalComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
1228
|
-
i0.ɵɵelementStart(0, "div", 6)(1, "div", 17)(2, "h4");
|
|
1229
|
-
i0.ɵɵtext(3, "Selecciona la empresa");
|
|
1230
|
-
i0.ɵɵelementEnd();
|
|
1231
|
-
i0.ɵɵelement(4, "hr");
|
|
1232
|
-
i0.ɵɵelementEnd();
|
|
1233
|
-
i0.ɵɵtemplate(5, LoginModalComponent_div_4_div_5_Template, 5, 1, "div", 18);
|
|
1234
|
-
i0.ɵɵelementEnd();
|
|
1235
|
-
} if (rf & 2) {
|
|
1236
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
1237
|
-
i0.ɵɵadvance(5);
|
|
1238
|
-
i0.ɵɵproperty("ngForOf", ctx_r2.empresas);
|
|
1239
|
-
} }
|
|
1041
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1042
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthService, providedIn: 'root' }); }
|
|
1043
|
+
}
|
|
1044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthService, decorators: [{
|
|
1045
|
+
type: Injectable,
|
|
1046
|
+
args: [{
|
|
1047
|
+
providedIn: 'root'
|
|
1048
|
+
}]
|
|
1049
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }], propDecorators: { login: [{
|
|
1050
|
+
type: Output
|
|
1051
|
+
}], seleccionEmpresa: [{
|
|
1052
|
+
type: Output
|
|
1053
|
+
}] } });
|
|
1054
|
+
|
|
1240
1055
|
class LoginModalComponent {
|
|
1241
1056
|
constructor(loginModalService, authService) {
|
|
1242
1057
|
this.loginModalService = loginModalService;
|
|
@@ -1295,112 +1110,29 @@ class LoginModalComponent {
|
|
|
1295
1110
|
this.modal = false;
|
|
1296
1111
|
});
|
|
1297
1112
|
}
|
|
1298
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1299
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
i0.ɵɵtemplate(3, LoginModalComponent_div_3_Template, 16, 3, "div", 5)(4, LoginModalComponent_div_4_Template, 6, 1, "div", 5);
|
|
1306
|
-
i0.ɵɵelementEnd();
|
|
1307
|
-
} if (rf & 2) {
|
|
1308
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$3));
|
|
1309
|
-
i0.ɵɵtwoWayProperty("visible", ctx.modal);
|
|
1310
|
-
i0.ɵɵproperty("modal", true)("closable", false)("breakpoints", i0.ɵɵpureFunction0(9, _c1$2));
|
|
1311
|
-
i0.ɵɵadvance(3);
|
|
1312
|
-
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1313
|
-
i0.ɵɵadvance();
|
|
1314
|
-
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1315
|
-
} }, dependencies: [i4.NgForOf, i4.NgIf, i4$1.ɵNgNoValidate, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i4$1.RequiredValidator, i4$1.NgModel, i4$1.NgForm, i30.Dialog], styles: ["[_nghost-%COMP%] .p-dialog{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}"] }); }
|
|
1316
|
-
}
|
|
1317
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1318
|
-
type: Component,
|
|
1319
|
-
args: [{ selector: 'app-login-modal', template: "<p-dialog [(visible)]=\"modal\" [modal]=\"true\" [closable]=\"false\" [style]=\"{width: '50vw'}\"\n [breakpoints]=\"{'960px': '75vw', '640px': '90vw'}\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\">\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\">\n <label class=\"error\" *ngIf=\"error\">Usuario o contrase\u00F1a incorrectos</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\">Usuario</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\"\n #username=\"ngModel\" placeholder=\"Usuario\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">Contrase\u00F1a</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"Contrase\u00F1a\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n\n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\">Entrar</button>\n </form>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\"\n (click)=\"entrarEmpresa(empresa)\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div>\n</p-dialog>", styles: [":host ::ng-deep .p-dialog{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"] }]
|
|
1320
|
-
}], () => [{ type: LoginModalService }, { type: AuthService }], null); })();
|
|
1321
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoginModalComponent, { className: "LoginModalComponent" }); })();
|
|
1113
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalComponent, deps: [{ token: LoginModalService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1114
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LoginModalComponent, selector: "app-login-modal", ngImport: i0, template: "<p-dialog [(visible)]=\"modal\" [modal]=\"true\" [closable]=\"false\" [style]=\"{width: '50vw'}\"\n [breakpoints]=\"{'960px': '75vw', '640px': '90vw'}\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\">\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\">\n <label class=\"error\" *ngIf=\"error\">Usuario o contrase\u00F1a incorrectos</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\">Usuario</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\"\n #username=\"ngModel\" placeholder=\"Usuario\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">Contrase\u00F1a</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"Contrase\u00F1a\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n\n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\">Entrar</button>\n </form>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\"\n (click)=\"entrarEmpresa(empresa)\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div>\n</p-dialog>", styles: [":host ::ng-deep .p-dialog{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: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4$1.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: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i30.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
|
|
1115
|
+
}
|
|
1116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalComponent, decorators: [{
|
|
1117
|
+
type: Component,
|
|
1118
|
+
args: [{ selector: 'app-login-modal', template: "<p-dialog [(visible)]=\"modal\" [modal]=\"true\" [closable]=\"false\" [style]=\"{width: '50vw'}\"\n [breakpoints]=\"{'960px': '75vw', '640px': '90vw'}\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\">\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\">\n <label class=\"error\" *ngIf=\"error\">Usuario o contrase\u00F1a incorrectos</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\">Usuario</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\"\n #username=\"ngModel\" placeholder=\"Usuario\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">Contrase\u00F1a</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"Contrase\u00F1a\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n\n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\">Entrar</button>\n </form>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\"\n (click)=\"entrarEmpresa(empresa)\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div>\n</p-dialog>", styles: [":host ::ng-deep .p-dialog{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"] }]
|
|
1119
|
+
}], ctorParameters: () => [{ type: LoginModalService }, { type: AuthService }] });
|
|
1322
1120
|
|
|
1323
1121
|
class SessionCajaService extends CrudService {
|
|
1324
1122
|
constructor(httpClient) {
|
|
1325
1123
|
super(httpClient, 'sessionCaja');
|
|
1326
1124
|
this.httpClient = httpClient;
|
|
1327
1125
|
}
|
|
1328
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1329
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1330
|
-
}
|
|
1331
|
-
(
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
const _c0$2 = () => ({ width: "750px" });
|
|
1339
|
-
function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1340
|
-
i0.ɵɵelementStart(0, "a", 4);
|
|
1341
|
-
i0.ɵɵtext(1);
|
|
1342
|
-
i0.ɵɵelementEnd();
|
|
1343
|
-
} if (rf & 2) {
|
|
1344
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1345
|
-
i0.ɵɵadvance();
|
|
1346
|
-
i0.ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
|
|
1347
|
-
} }
|
|
1348
|
-
function SessionCreateComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1349
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
|
1350
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "label", 7);
|
|
1351
|
-
i0.ɵɵtext(3, "Nombre de caja: ");
|
|
1352
|
-
i0.ɵɵelementEnd();
|
|
1353
|
-
i0.ɵɵelementStart(4, "input", 8);
|
|
1354
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.caja.nombre, $event) || (ctx_r0.caja.nombre = $event); return i0.ɵɵresetView($event); });
|
|
1355
|
-
i0.ɵɵelementEnd()();
|
|
1356
|
-
i0.ɵɵelementStart(5, "div", 9)(6, "label", 10);
|
|
1357
|
-
i0.ɵɵtext(7, "Saldo: ");
|
|
1358
|
-
i0.ɵɵelementEnd();
|
|
1359
|
-
i0.ɵɵelementStart(8, "input", 11);
|
|
1360
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.monto, $event) || (ctx_r0.session.monto = $event); return i0.ɵɵresetView($event); });
|
|
1361
|
-
i0.ɵɵelementEnd()();
|
|
1362
|
-
i0.ɵɵelementStart(9, "div", 9)(10, "label", 12);
|
|
1363
|
-
i0.ɵɵtext(11, "Numero Z:");
|
|
1364
|
-
i0.ɵɵelementEnd();
|
|
1365
|
-
i0.ɵɵelementStart(12, "input", 13);
|
|
1366
|
-
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.z, $event) || (ctx_r0.session.z = $event); return i0.ɵɵresetView($event); });
|
|
1367
|
-
i0.ɵɵelementEnd()()();
|
|
1368
|
-
} if (rf & 2) {
|
|
1369
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1370
|
-
i0.ɵɵadvance(4);
|
|
1371
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.caja.nombre);
|
|
1372
|
-
i0.ɵɵproperty("disabled", true);
|
|
1373
|
-
i0.ɵɵadvance(4);
|
|
1374
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.monto);
|
|
1375
|
-
i0.ɵɵproperty("disabled", ctx_r0.editMode);
|
|
1376
|
-
i0.ɵɵadvance(4);
|
|
1377
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.z);
|
|
1378
|
-
i0.ɵɵproperty("disabled", true);
|
|
1379
|
-
} }
|
|
1380
|
-
function SessionCreateComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
1381
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
1382
|
-
i0.ɵɵelementStart(0, "button", 17);
|
|
1383
|
-
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.save()); });
|
|
1384
|
-
i0.ɵɵelementEnd();
|
|
1385
|
-
} }
|
|
1386
|
-
function SessionCreateComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
1387
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
1388
|
-
i0.ɵɵelementStart(0, "button", 18);
|
|
1389
|
-
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.edit()); });
|
|
1390
|
-
i0.ɵɵelementEnd();
|
|
1391
|
-
} }
|
|
1392
|
-
function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1393
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
1394
|
-
i0.ɵɵtemplate(0, SessionCreateComponent_ng_template_5_button_0_Template, 1, 0, "button", 14)(1, SessionCreateComponent_ng_template_5_button_1_Template, 1, 0, "button", 15);
|
|
1395
|
-
i0.ɵɵelementStart(2, "button", 16);
|
|
1396
|
-
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()); });
|
|
1397
|
-
i0.ɵɵelementEnd();
|
|
1398
|
-
} if (rf & 2) {
|
|
1399
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1400
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.editMode && ctx_r0.caja);
|
|
1401
|
-
i0.ɵɵadvance();
|
|
1402
|
-
i0.ɵɵproperty("ngIf", ctx_r0.editMode && ctx_r0.caja);
|
|
1403
|
-
} }
|
|
1126
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCajaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1127
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCajaService, providedIn: 'root' }); }
|
|
1128
|
+
}
|
|
1129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCajaService, decorators: [{
|
|
1130
|
+
type: Injectable,
|
|
1131
|
+
args: [{
|
|
1132
|
+
providedIn: 'root'
|
|
1133
|
+
}]
|
|
1134
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1135
|
+
|
|
1404
1136
|
class SessionCreateComponent {
|
|
1405
1137
|
constructor(sessionCajaService) {
|
|
1406
1138
|
this.sessionCajaService = sessionCajaService;
|
|
@@ -1469,42 +1201,25 @@ class SessionCreateComponent {
|
|
|
1469
1201
|
this.status.emit({ status: false, update: this.resp.data });
|
|
1470
1202
|
}
|
|
1471
1203
|
}
|
|
1472
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1473
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
}
|
|
1491
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1492
|
-
type: Component,
|
|
1493
|
-
args: [{ selector: 'session-create', template: "<p-dialog [(visible)]=\"showCreateSession\" [modal]=\"flagModal\" (onHide)=\"closeModal()\" (onShow)=\"setSession()\"\n [closeOnEscape]=\"flagModal\" [closable]=\"flagModal\" [blockScroll]=\"true\" [style]=\"{width: '750px'}\">\n\n <ng-template pTemplate=\"header\">\n <a class=\"text-primary\">{{labels.title}}: </a>\n </ng-template>\n\n <div class=\"grid grid-fluid\" *ngIf=\"caja\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" *ngIf=\"!editMode && caja\" class=\"p-button-sm\"></button>\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" *ngIf=\"editMode && caja\" class=\"p-button-sm p-button-success\"></button>\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
|
|
1494
|
-
}], () => [{ type: SessionCajaService }], { showCreateSession: [{
|
|
1495
|
-
type: Input
|
|
1496
|
-
}], caja: [{
|
|
1497
|
-
type: Input
|
|
1498
|
-
}], monedaDenominacionList: [{
|
|
1499
|
-
type: Input
|
|
1500
|
-
}], sessionEdit: [{
|
|
1501
|
-
type: Input
|
|
1502
|
-
}], status: [{
|
|
1503
|
-
type: Output
|
|
1504
|
-
}], success: [{
|
|
1505
|
-
type: Output
|
|
1506
|
-
}] }); })();
|
|
1507
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SessionCreateComponent, { className: "SessionCreateComponent" }); })();
|
|
1204
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCreateComponent, deps: [{ token: SessionCajaService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1205
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SessionCreateComponent, 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 <div class=\"grid grid-fluid\" *ngIf=\"caja\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" *ngIf=\"!editMode && caja\" class=\"p-button-sm\"></button>\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" *ngIf=\"editMode && caja\" class=\"p-button-sm p-button-success\"></button>\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i18.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i19.InputText, selector: "[pInputText]" }, { kind: "directive", type: i4$1.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: i4$1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i30.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
|
|
1206
|
+
}
|
|
1207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCreateComponent, decorators: [{
|
|
1208
|
+
type: Component,
|
|
1209
|
+
args: [{ selector: 'session-create', template: "<p-dialog [(visible)]=\"showCreateSession\" [modal]=\"flagModal\" (onHide)=\"closeModal()\" (onShow)=\"setSession()\"\n [closeOnEscape]=\"flagModal\" [closable]=\"flagModal\" [blockScroll]=\"true\" [style]=\"{width: '750px'}\">\n\n <ng-template pTemplate=\"header\">\n <a class=\"text-primary\">{{labels.title}}: </a>\n </ng-template>\n\n <div class=\"grid grid-fluid\" *ngIf=\"caja\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" *ngIf=\"!editMode && caja\" class=\"p-button-sm\"></button>\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" *ngIf=\"editMode && caja\" class=\"p-button-sm p-button-success\"></button>\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
|
|
1210
|
+
}], ctorParameters: () => [{ type: SessionCajaService }], propDecorators: { showCreateSession: [{
|
|
1211
|
+
type: Input
|
|
1212
|
+
}], caja: [{
|
|
1213
|
+
type: Input
|
|
1214
|
+
}], monedaDenominacionList: [{
|
|
1215
|
+
type: Input
|
|
1216
|
+
}], sessionEdit: [{
|
|
1217
|
+
type: Input
|
|
1218
|
+
}], status: [{
|
|
1219
|
+
type: Output
|
|
1220
|
+
}], success: [{
|
|
1221
|
+
type: Output
|
|
1222
|
+
}] } });
|
|
1508
1223
|
|
|
1509
1224
|
class PaginateService {
|
|
1510
1225
|
constructor(translate) {
|
|
@@ -1550,15 +1265,15 @@ class PaginateService {
|
|
|
1550
1265
|
}, erro => { });
|
|
1551
1266
|
return ordenar;
|
|
1552
1267
|
}
|
|
1553
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1554
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1268
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginateService, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1269
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginateService, providedIn: "root" }); }
|
|
1555
1270
|
}
|
|
1556
|
-
(
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginateService, decorators: [{
|
|
1272
|
+
type: Injectable,
|
|
1273
|
+
args: [{
|
|
1274
|
+
providedIn: "root"
|
|
1275
|
+
}]
|
|
1276
|
+
}], ctorParameters: () => [{ type: i2.TranslateService }] });
|
|
1562
1277
|
|
|
1563
1278
|
class AlmacenService extends CrudService {
|
|
1564
1279
|
constructor(httpClient) {
|
|
@@ -1569,15 +1284,15 @@ class AlmacenService extends CrudService {
|
|
|
1569
1284
|
let url = this.geturl() + '/obtenerAlmacenEmpresa';
|
|
1570
1285
|
return this.getHttp().get(url, this.buildAuth());
|
|
1571
1286
|
}
|
|
1572
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1573
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1287
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlmacenService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1288
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlmacenService, providedIn: 'root' }); }
|
|
1574
1289
|
}
|
|
1575
|
-
(
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlmacenService, decorators: [{
|
|
1291
|
+
type: Injectable,
|
|
1292
|
+
args: [{
|
|
1293
|
+
providedIn: 'root'
|
|
1294
|
+
}]
|
|
1295
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1581
1296
|
|
|
1582
1297
|
class StockService extends CrudService {
|
|
1583
1298
|
constructor(httpClient) {
|
|
@@ -1595,15 +1310,15 @@ class StockService extends CrudService {
|
|
|
1595
1310
|
});
|
|
1596
1311
|
return promesa;
|
|
1597
1312
|
}
|
|
1598
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1599
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1313
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StockService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1314
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StockService, providedIn: 'root' }); }
|
|
1600
1315
|
}
|
|
1601
|
-
(
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StockService, decorators: [{
|
|
1317
|
+
type: Injectable,
|
|
1318
|
+
args: [{
|
|
1319
|
+
providedIn: 'root'
|
|
1320
|
+
}]
|
|
1321
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1607
1322
|
|
|
1608
1323
|
class ArticuloInformacionService extends CrudService {
|
|
1609
1324
|
constructor(httpClient) {
|
|
@@ -1614,86 +1329,16 @@ class ArticuloInformacionService extends CrudService {
|
|
|
1614
1329
|
let uRL = "/existenciasArticulo/" + articulo;
|
|
1615
1330
|
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
1616
1331
|
}
|
|
1617
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1618
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1619
|
-
}
|
|
1620
|
-
(
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
const _c0$1 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
1628
|
-
const _c1$1 = () => ({ width: "600px" });
|
|
1629
|
-
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
1630
|
-
i0.ɵɵelement(0, "col");
|
|
1631
|
-
} if (rf & 2) {
|
|
1632
|
-
const col_r1 = ctx.$implicit;
|
|
1633
|
-
i0.ɵɵstyleProp("width", col_r1.width);
|
|
1634
|
-
} }
|
|
1635
|
-
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
1636
|
-
i0.ɵɵelementStart(0, "colgroup");
|
|
1637
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 6);
|
|
1638
|
-
i0.ɵɵelementEnd();
|
|
1639
|
-
} if (rf & 2) {
|
|
1640
|
-
const columns_r2 = ctx.$implicit;
|
|
1641
|
-
i0.ɵɵadvance();
|
|
1642
|
-
i0.ɵɵproperty("ngForOf", columns_r2);
|
|
1643
|
-
} }
|
|
1644
|
-
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
1645
|
-
i0.ɵɵelementStart(0, "th", 8);
|
|
1646
|
-
i0.ɵɵtext(1);
|
|
1647
|
-
i0.ɵɵelementEnd();
|
|
1648
|
-
} if (rf & 2) {
|
|
1649
|
-
const col_r3 = ctx.$implicit;
|
|
1650
|
-
i0.ɵɵadvance();
|
|
1651
|
-
i0.ɵɵtextInterpolate1(" ", col_r3.header, " ");
|
|
1652
|
-
} }
|
|
1653
|
-
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1654
|
-
i0.ɵɵelementStart(0, "tr");
|
|
1655
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 7);
|
|
1656
|
-
i0.ɵɵelementEnd();
|
|
1657
|
-
} if (rf & 2) {
|
|
1658
|
-
const columns_r4 = ctx.$implicit;
|
|
1659
|
-
i0.ɵɵadvance();
|
|
1660
|
-
i0.ɵɵproperty("ngForOf", columns_r4);
|
|
1661
|
-
} }
|
|
1662
|
-
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
1663
|
-
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
1664
|
-
i0.ɵɵtext(2);
|
|
1665
|
-
i0.ɵɵelementEnd();
|
|
1666
|
-
i0.ɵɵelementStart(3, "td");
|
|
1667
|
-
i0.ɵɵtext(4);
|
|
1668
|
-
i0.ɵɵelementEnd();
|
|
1669
|
-
i0.ɵɵelementStart(5, "td");
|
|
1670
|
-
i0.ɵɵtext(6);
|
|
1671
|
-
i0.ɵɵelementEnd();
|
|
1672
|
-
i0.ɵɵelementStart(7, "td");
|
|
1673
|
-
i0.ɵɵtext(8);
|
|
1674
|
-
i0.ɵɵelementEnd();
|
|
1675
|
-
i0.ɵɵelementStart(9, "td");
|
|
1676
|
-
i0.ɵɵtext(10);
|
|
1677
|
-
i0.ɵɵelementEnd()();
|
|
1678
|
-
} if (rf & 2) {
|
|
1679
|
-
const rowData_r5 = ctx.$implicit;
|
|
1680
|
-
i0.ɵɵadvance(2);
|
|
1681
|
-
i0.ɵɵtextInterpolate(rowData_r5.almacenCodigo);
|
|
1682
|
-
i0.ɵɵadvance(2);
|
|
1683
|
-
i0.ɵɵtextInterpolate(rowData_r5.almacenDescripcion);
|
|
1684
|
-
i0.ɵɵadvance(2);
|
|
1685
|
-
i0.ɵɵtextInterpolate(rowData_r5.ubicacionCodigo);
|
|
1686
|
-
i0.ɵɵadvance(2);
|
|
1687
|
-
i0.ɵɵtextInterpolate(rowData_r5.ubicacionDescripcion);
|
|
1688
|
-
i0.ɵɵadvance(2);
|
|
1689
|
-
i0.ɵɵtextInterpolate(rowData_r5.existencia);
|
|
1690
|
-
} }
|
|
1691
|
-
function SeleccionArticuloInformacionComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1692
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
1693
|
-
i0.ɵɵelementStart(0, "div", 9)(1, "button", 10);
|
|
1694
|
-
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()); });
|
|
1695
|
-
i0.ɵɵelementEnd()();
|
|
1696
|
-
} }
|
|
1332
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ArticuloInformacionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1333
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ArticuloInformacionService, providedIn: 'root' }); }
|
|
1334
|
+
}
|
|
1335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ArticuloInformacionService, decorators: [{
|
|
1336
|
+
type: Injectable,
|
|
1337
|
+
args: [{
|
|
1338
|
+
providedIn: 'root'
|
|
1339
|
+
}]
|
|
1340
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
1341
|
+
|
|
1697
1342
|
class SeleccionArticuloInformacionComponent {
|
|
1698
1343
|
constructor(articuloInformacionService) {
|
|
1699
1344
|
this.articuloInformacionService = articuloInformacionService;
|
|
@@ -1733,333 +1378,20 @@ class SeleccionArticuloInformacionComponent {
|
|
|
1733
1378
|
onSelectedUbicacion(ubicacionRow) {
|
|
1734
1379
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
1735
1380
|
}
|
|
1736
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
1737
|
-
/** @nocollapse */ static { this.ɵcmp =
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
i0.ɵɵtwoWayProperty("visible", ctx.showModal);
|
|
1751
|
-
i0.ɵɵproperty("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
1752
|
-
i0.ɵɵadvance();
|
|
1753
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(18, _c1$1));
|
|
1754
|
-
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true);
|
|
1755
|
-
} }, dependencies: [i4.NgForOf, i3.PrimeTemplate, i15.Table, i15.ResizableColumn, i18.ButtonDirective, i30.Dialog] }); }
|
|
1756
|
-
}
|
|
1757
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
1758
|
-
type: Component,
|
|
1759
|
-
args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </ng-template>\n</p-dialog>" }]
|
|
1760
|
-
}], () => [{ type: ArticuloInformacionService }], { showModal: [{
|
|
1761
|
-
type: Input
|
|
1762
|
-
}], articulo: [{
|
|
1763
|
-
type: Input
|
|
1764
|
-
}], eventSelection: [{
|
|
1765
|
-
type: Output
|
|
1766
|
-
}] }); })();
|
|
1767
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionArticuloInformacionComponent, { className: "SeleccionArticuloInformacionComponent" }); })();
|
|
1768
|
-
|
|
1769
|
-
const _c0 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
1770
|
-
const _c1 = () => [10, 25, 50, 100, 500];
|
|
1771
|
-
function SeleccionaArticuloComponent_option_23_Template(rf, ctx) { if (rf & 1) {
|
|
1772
|
-
i0.ɵɵelementStart(0, "option", 22);
|
|
1773
|
-
i0.ɵɵtext(1);
|
|
1774
|
-
i0.ɵɵelementEnd();
|
|
1775
|
-
} if (rf & 2) {
|
|
1776
|
-
const almacen_r2 = ctx.$implicit;
|
|
1777
|
-
i0.ɵɵpropertyInterpolate("value", almacen_r2.id);
|
|
1778
|
-
i0.ɵɵadvance();
|
|
1779
|
-
i0.ɵɵtextInterpolate(almacen_r2.descripcion);
|
|
1780
|
-
} }
|
|
1781
|
-
function SeleccionaArticuloComponent_ng_template_26_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
1782
|
-
i0.ɵɵelementStart(0, "th", 31);
|
|
1783
|
-
i0.ɵɵtext(1, "existenciaSecundaria");
|
|
1784
|
-
i0.ɵɵelementEnd();
|
|
1785
|
-
} }
|
|
1786
|
-
function SeleccionaArticuloComponent_ng_template_26_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
1787
|
-
i0.ɵɵelementStart(0, "th", 25);
|
|
1788
|
-
i0.ɵɵtext(1, "Unidad");
|
|
1789
|
-
i0.ɵɵelementEnd();
|
|
1790
|
-
} }
|
|
1791
|
-
function SeleccionaArticuloComponent_ng_template_26_th_14_Template(rf, ctx) { if (rf & 1) {
|
|
1792
|
-
i0.ɵɵelementStart(0, "th", 23);
|
|
1793
|
-
i0.ɵɵtext(1, "Precio");
|
|
1794
|
-
i0.ɵɵelementEnd();
|
|
1795
|
-
} }
|
|
1796
|
-
function SeleccionaArticuloComponent_ng_template_26_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
1797
|
-
i0.ɵɵelementStart(0, "th", 23);
|
|
1798
|
-
i0.ɵɵtext(1, "Precio 2");
|
|
1799
|
-
i0.ɵɵelementEnd();
|
|
1800
|
-
} }
|
|
1801
|
-
function SeleccionaArticuloComponent_ng_template_26_th_16_Template(rf, ctx) { if (rf & 1) {
|
|
1802
|
-
i0.ɵɵelementStart(0, "th", 23);
|
|
1803
|
-
i0.ɵɵtext(1, "Precio 3");
|
|
1804
|
-
i0.ɵɵelementEnd();
|
|
1805
|
-
} }
|
|
1806
|
-
function SeleccionaArticuloComponent_ng_template_26_th_17_Template(rf, ctx) { if (rf & 1) {
|
|
1807
|
-
i0.ɵɵelementStart(0, "th", 23);
|
|
1808
|
-
i0.ɵɵtext(1, "Precio 4");
|
|
1809
|
-
i0.ɵɵelementEnd();
|
|
1810
|
-
} }
|
|
1811
|
-
function SeleccionaArticuloComponent_ng_template_26_th_18_Template(rf, ctx) { if (rf & 1) {
|
|
1812
|
-
i0.ɵɵelementStart(0, "th", 23);
|
|
1813
|
-
i0.ɵɵtext(1, "Precio 5");
|
|
1814
|
-
i0.ɵɵelementEnd();
|
|
1815
|
-
} }
|
|
1816
|
-
function SeleccionaArticuloComponent_ng_template_26_th_19_Template(rf, ctx) { if (rf & 1) {
|
|
1817
|
-
i0.ɵɵelementStart(0, "th", 25);
|
|
1818
|
-
i0.ɵɵtext(1, "Movimiento.costo");
|
|
1819
|
-
i0.ɵɵelementEnd();
|
|
1820
|
-
} }
|
|
1821
|
-
function SeleccionaArticuloComponent_ng_template_26_th_22_Template(rf, ctx) { if (rf & 1) {
|
|
1822
|
-
i0.ɵɵelementStart(0, "th", 23);
|
|
1823
|
-
i0.ɵɵtext(1);
|
|
1824
|
-
i0.ɵɵelementEnd();
|
|
1825
|
-
} if (rf & 2) {
|
|
1826
|
-
const item_r3 = ctx.$implicit;
|
|
1827
|
-
i0.ɵɵadvance();
|
|
1828
|
-
i0.ɵɵtextInterpolate(item_r3.descripcion);
|
|
1829
|
-
} }
|
|
1830
|
-
function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
1831
|
-
i0.ɵɵelementStart(0, "tr")(1, "th", 23);
|
|
1832
|
-
i0.ɵɵtext(2, "C\u00F3digo Ubicacion");
|
|
1833
|
-
i0.ɵɵelementEnd();
|
|
1834
|
-
i0.ɵɵelementStart(3, "th", 24);
|
|
1835
|
-
i0.ɵɵtext(4, "Existencia");
|
|
1836
|
-
i0.ɵɵelementEnd();
|
|
1837
|
-
i0.ɵɵelementStart(5, "th", 25);
|
|
1838
|
-
i0.ɵɵtext(6, "Unidad");
|
|
1839
|
-
i0.ɵɵelementEnd();
|
|
1840
|
-
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_26_th_7_Template, 2, 0, "th", 26)(8, SeleccionaArticuloComponent_ng_template_26_th_8_Template, 2, 0, "th", 27);
|
|
1841
|
-
i0.ɵɵelementStart(9, "th", 23);
|
|
1842
|
-
i0.ɵɵtext(10, "C\u00F3digo");
|
|
1843
|
-
i0.ɵɵelementEnd();
|
|
1844
|
-
i0.ɵɵelementStart(11, "th", 28);
|
|
1845
|
-
i0.ɵɵtext(12, "Descripcion");
|
|
1846
|
-
i0.ɵɵelementEnd();
|
|
1847
|
-
i0.ɵɵelement(13, "th", 25);
|
|
1848
|
-
i0.ɵɵtemplate(14, SeleccionaArticuloComponent_ng_template_26_th_14_Template, 2, 0, "th", 29)(15, SeleccionaArticuloComponent_ng_template_26_th_15_Template, 2, 0, "th", 29)(16, SeleccionaArticuloComponent_ng_template_26_th_16_Template, 2, 0, "th", 29)(17, SeleccionaArticuloComponent_ng_template_26_th_17_Template, 2, 0, "th", 29)(18, SeleccionaArticuloComponent_ng_template_26_th_18_Template, 2, 0, "th", 29)(19, SeleccionaArticuloComponent_ng_template_26_th_19_Template, 2, 0, "th", 27);
|
|
1849
|
-
i0.ɵɵelementStart(20, "th", 25);
|
|
1850
|
-
i0.ɵɵtext(21, "Existencia por Unidad");
|
|
1851
|
-
i0.ɵɵelementEnd();
|
|
1852
|
-
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_26_th_22_Template, 2, 1, "th", 30);
|
|
1853
|
-
i0.ɵɵelementEnd();
|
|
1854
|
-
} if (rf & 2) {
|
|
1855
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
1856
|
-
i0.ɵɵadvance(7);
|
|
1857
|
-
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
1858
|
-
i0.ɵɵadvance();
|
|
1859
|
-
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
1860
|
-
i0.ɵɵadvance(6);
|
|
1861
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
1862
|
-
i0.ɵɵadvance();
|
|
1863
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
1864
|
-
i0.ɵɵadvance();
|
|
1865
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
1866
|
-
i0.ɵɵadvance();
|
|
1867
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
1868
|
-
i0.ɵɵadvance();
|
|
1869
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
1870
|
-
i0.ɵɵadvance();
|
|
1871
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
|
|
1872
|
-
i0.ɵɵadvance(3);
|
|
1873
|
-
i0.ɵɵproperty("ngForOf", ctx_r3.clasificadorList);
|
|
1874
|
-
} }
|
|
1875
|
-
function SeleccionaArticuloComponent_ng_template_27_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
1876
|
-
i0.ɵɵelementStart(0, "td", 23);
|
|
1877
|
-
i0.ɵɵtext(1, "Movimiento.NoAsignado");
|
|
1878
|
-
i0.ɵɵelementEnd();
|
|
1879
|
-
} }
|
|
1880
|
-
function SeleccionaArticuloComponent_ng_template_27_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
1881
|
-
i0.ɵɵelementStart(0, "td", 39);
|
|
1882
|
-
i0.ɵɵtext(1);
|
|
1883
|
-
i0.ɵɵelementEnd();
|
|
1884
|
-
} if (rf & 2) {
|
|
1885
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1886
|
-
i0.ɵɵadvance();
|
|
1887
|
-
i0.ɵɵtextInterpolate(rowData_r6.ubicacionCodigo);
|
|
1888
|
-
} }
|
|
1889
|
-
function SeleccionaArticuloComponent_ng_template_27_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
1890
|
-
i0.ɵɵelementStart(0, "td", 44);
|
|
1891
|
-
i0.ɵɵtext(1);
|
|
1892
|
-
i0.ɵɵelementEnd();
|
|
1893
|
-
} if (rf & 2) {
|
|
1894
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1895
|
-
i0.ɵɵadvance();
|
|
1896
|
-
i0.ɵɵtextInterpolate(rowData_r6.existenciaSecundaria);
|
|
1897
|
-
} }
|
|
1898
|
-
function SeleccionaArticuloComponent_ng_template_27_td_8_Template(rf, ctx) { if (rf & 1) {
|
|
1899
|
-
i0.ɵɵelementStart(0, "td", 36);
|
|
1900
|
-
i0.ɵɵtext(1);
|
|
1901
|
-
i0.ɵɵelementEnd();
|
|
1902
|
-
} if (rf & 2) {
|
|
1903
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1904
|
-
i0.ɵɵadvance();
|
|
1905
|
-
i0.ɵɵtextInterpolate(rowData_r6.unidadSecundariaCodigo);
|
|
1906
|
-
} }
|
|
1907
|
-
function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if (rf & 1) {
|
|
1908
|
-
i0.ɵɵelementStart(0, "td", 39);
|
|
1909
|
-
i0.ɵɵtext(1);
|
|
1910
|
-
i0.ɵɵpipe(2, "currency");
|
|
1911
|
-
i0.ɵɵelementEnd();
|
|
1912
|
-
} if (rf & 2) {
|
|
1913
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1914
|
-
i0.ɵɵadvance();
|
|
1915
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, rowData_r6.precioConImpuestos), " ");
|
|
1916
|
-
} }
|
|
1917
|
-
function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if (rf & 1) {
|
|
1918
|
-
i0.ɵɵelementStart(0, "td", 39);
|
|
1919
|
-
i0.ɵɵtext(1);
|
|
1920
|
-
i0.ɵɵpipe(2, "currency");
|
|
1921
|
-
i0.ɵɵelementEnd();
|
|
1922
|
-
} if (rf & 2) {
|
|
1923
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1924
|
-
i0.ɵɵadvance();
|
|
1925
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio2ConImpuestos));
|
|
1926
|
-
} }
|
|
1927
|
-
function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if (rf & 1) {
|
|
1928
|
-
i0.ɵɵelementStart(0, "td", 39);
|
|
1929
|
-
i0.ɵɵtext(1);
|
|
1930
|
-
i0.ɵɵpipe(2, "currency");
|
|
1931
|
-
i0.ɵɵelementEnd();
|
|
1932
|
-
} if (rf & 2) {
|
|
1933
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1934
|
-
i0.ɵɵadvance();
|
|
1935
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio3ConImpuestos));
|
|
1936
|
-
} }
|
|
1937
|
-
function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if (rf & 1) {
|
|
1938
|
-
i0.ɵɵelementStart(0, "td", 39);
|
|
1939
|
-
i0.ɵɵtext(1);
|
|
1940
|
-
i0.ɵɵpipe(2, "currency");
|
|
1941
|
-
i0.ɵɵelementEnd();
|
|
1942
|
-
} if (rf & 2) {
|
|
1943
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1944
|
-
i0.ɵɵadvance();
|
|
1945
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio4ConImpuestos));
|
|
1946
|
-
} }
|
|
1947
|
-
function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if (rf & 1) {
|
|
1948
|
-
i0.ɵɵelementStart(0, "td", 39);
|
|
1949
|
-
i0.ɵɵtext(1);
|
|
1950
|
-
i0.ɵɵpipe(2, "currency");
|
|
1951
|
-
i0.ɵɵelementEnd();
|
|
1952
|
-
} if (rf & 2) {
|
|
1953
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1954
|
-
i0.ɵɵadvance();
|
|
1955
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio5ConImpuestos));
|
|
1956
|
-
} }
|
|
1957
|
-
function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if (rf & 1) {
|
|
1958
|
-
i0.ɵɵelementStart(0, "td", 36);
|
|
1959
|
-
i0.ɵɵtext(1);
|
|
1960
|
-
i0.ɵɵpipe(2, "currency");
|
|
1961
|
-
i0.ɵɵelementEnd();
|
|
1962
|
-
} if (rf & 2) {
|
|
1963
|
-
const rowData_r6 = i0.ɵɵnextContext().$implicit;
|
|
1964
|
-
i0.ɵɵadvance();
|
|
1965
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio));
|
|
1966
|
-
} }
|
|
1967
|
-
function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
1968
|
-
i0.ɵɵelementStart(0, "div", 45)(1, "div", 46)(2, "label", 47);
|
|
1969
|
-
i0.ɵɵtext(3);
|
|
1970
|
-
i0.ɵɵelementEnd()();
|
|
1971
|
-
i0.ɵɵelementStart(4, "div", 46)(5, "label", 47);
|
|
1972
|
-
i0.ɵɵtext(6);
|
|
1973
|
-
i0.ɵɵpipe(7, "number");
|
|
1974
|
-
i0.ɵɵelementEnd()()();
|
|
1975
|
-
} if (rf & 2) {
|
|
1976
|
-
const item_r7 = ctx.$implicit;
|
|
1977
|
-
i0.ɵɵadvance(3);
|
|
1978
|
-
i0.ɵɵtextInterpolate(item_r7.unidad_codigo);
|
|
1979
|
-
i0.ɵɵadvance(3);
|
|
1980
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, item_r7.unidad_existencia, "1.2-2"));
|
|
1981
|
-
} }
|
|
1982
|
-
function SeleccionaArticuloComponent_ng_template_27_td_23_Template(rf, ctx) { if (rf & 1) {
|
|
1983
|
-
i0.ɵɵelementStart(0, "td", 39);
|
|
1984
|
-
i0.ɵɵtext(1);
|
|
1985
|
-
i0.ɵɵelementEnd();
|
|
1986
|
-
} if (rf & 2) {
|
|
1987
|
-
const itemData_r8 = ctx.$implicit;
|
|
1988
|
-
i0.ɵɵadvance();
|
|
1989
|
-
i0.ɵɵtextInterpolate(itemData_r8.valor);
|
|
1990
|
-
} }
|
|
1991
|
-
function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
1992
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
1993
|
-
i0.ɵɵelementStart(0, "tr", 32);
|
|
1994
|
-
i0.ɵɵtemplate(1, SeleccionaArticuloComponent_ng_template_27_td_1_Template, 2, 0, "td", 33)(2, SeleccionaArticuloComponent_ng_template_27_td_2_Template, 2, 1, "td", 34);
|
|
1995
|
-
i0.ɵɵelementStart(3, "td", 35);
|
|
1996
|
-
i0.ɵɵtext(4);
|
|
1997
|
-
i0.ɵɵelementEnd();
|
|
1998
|
-
i0.ɵɵelementStart(5, "td", 36);
|
|
1999
|
-
i0.ɵɵtext(6);
|
|
2000
|
-
i0.ɵɵelementEnd();
|
|
2001
|
-
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_27_td_7_Template, 2, 1, "td", 37)(8, SeleccionaArticuloComponent_ng_template_27_td_8_Template, 2, 1, "td", 38);
|
|
2002
|
-
i0.ɵɵelementStart(9, "td", 39);
|
|
2003
|
-
i0.ɵɵtext(10);
|
|
2004
|
-
i0.ɵɵelementEnd();
|
|
2005
|
-
i0.ɵɵelementStart(11, "td", 40);
|
|
2006
|
-
i0.ɵɵtext(12);
|
|
2007
|
-
i0.ɵɵelementEnd();
|
|
2008
|
-
i0.ɵɵelementStart(13, "td", 36)(14, "button", 41);
|
|
2009
|
-
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_27_Template_button_click_14_listener() { const rowData_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onShowInformacion(rowData_r6)); });
|
|
2010
|
-
i0.ɵɵelementEnd()();
|
|
2011
|
-
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_27_td_15_Template, 3, 3, "td", 34)(16, SeleccionaArticuloComponent_ng_template_27_td_16_Template, 3, 3, "td", 34)(17, SeleccionaArticuloComponent_ng_template_27_td_17_Template, 3, 3, "td", 34)(18, SeleccionaArticuloComponent_ng_template_27_td_18_Template, 3, 3, "td", 34)(19, SeleccionaArticuloComponent_ng_template_27_td_19_Template, 3, 3, "td", 34)(20, SeleccionaArticuloComponent_ng_template_27_td_20_Template, 3, 3, "td", 38);
|
|
2012
|
-
i0.ɵɵelementStart(21, "td", 36);
|
|
2013
|
-
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_27_div_22_Template, 8, 5, "div", 42);
|
|
2014
|
-
i0.ɵɵelementEnd();
|
|
2015
|
-
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_ng_template_27_td_23_Template, 2, 1, "td", 43);
|
|
2016
|
-
i0.ɵɵelementEnd();
|
|
2017
|
-
} if (rf & 2) {
|
|
2018
|
-
const rowData_r6 = ctx.$implicit;
|
|
2019
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
2020
|
-
i0.ɵɵproperty("pSelectableRow", rowData_r6);
|
|
2021
|
-
i0.ɵɵadvance();
|
|
2022
|
-
i0.ɵɵproperty("ngIf", !rowData_r6.ubicacionCodigo);
|
|
2023
|
-
i0.ɵɵadvance();
|
|
2024
|
-
i0.ɵɵproperty("ngIf", rowData_r6.ubicacionCodigo);
|
|
2025
|
-
i0.ɵɵadvance(2);
|
|
2026
|
-
i0.ɵɵtextInterpolate(rowData_r6.existencia);
|
|
2027
|
-
i0.ɵɵadvance(2);
|
|
2028
|
-
i0.ɵɵtextInterpolate(rowData_r6.unidadCodigo);
|
|
2029
|
-
i0.ɵɵadvance();
|
|
2030
|
-
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2031
|
-
i0.ɵɵadvance();
|
|
2032
|
-
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2033
|
-
i0.ɵɵadvance(2);
|
|
2034
|
-
i0.ɵɵtextInterpolate(rowData_r6.articulo.codigo);
|
|
2035
|
-
i0.ɵɵadvance(2);
|
|
2036
|
-
i0.ɵɵtextInterpolate(rowData_r6.articulo.descripcion);
|
|
2037
|
-
i0.ɵɵadvance(3);
|
|
2038
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2039
|
-
i0.ɵɵadvance();
|
|
2040
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2041
|
-
i0.ɵɵadvance();
|
|
2042
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2043
|
-
i0.ɵɵadvance();
|
|
2044
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2045
|
-
i0.ɵɵadvance();
|
|
2046
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2047
|
-
i0.ɵɵadvance();
|
|
2048
|
-
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
|
|
2049
|
-
i0.ɵɵadvance(2);
|
|
2050
|
-
i0.ɵɵproperty("ngForOf", rowData_r6.existenciaUnidades);
|
|
2051
|
-
i0.ɵɵadvance();
|
|
2052
|
-
i0.ɵɵproperty("ngForOf", rowData_r6.articuloClasificadorList);
|
|
2053
|
-
} }
|
|
2054
|
-
function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template(rf, ctx) { if (rf & 1) {
|
|
2055
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
|
2056
|
-
i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 48);
|
|
2057
|
-
i0.ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onEventInformacion($event)); });
|
|
2058
|
-
i0.ɵɵelementEnd();
|
|
2059
|
-
} if (rf & 2) {
|
|
2060
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
2061
|
-
i0.ɵɵproperty("showModal", ctx_r3.showModalInformacion)("articulo", ctx_r3.articuloSelected);
|
|
2062
|
-
} }
|
|
1381
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeleccionArticuloInformacionComponent, deps: [{ token: ArticuloInformacionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1382
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SeleccionArticuloInformacionComponent, 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\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </ng-template>\n</p-dialog>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i15.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", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], 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: i15.ResizableColumn, selector: "[pResizableColumn]", inputs: ["pResizableColumnDisabled"] }, { kind: "directive", type: i18.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i30.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
|
|
1383
|
+
}
|
|
1384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeleccionArticuloInformacionComponent, decorators: [{
|
|
1385
|
+
type: Component,
|
|
1386
|
+
args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </ng-template>\n</p-dialog>" }]
|
|
1387
|
+
}], ctorParameters: () => [{ type: ArticuloInformacionService }], propDecorators: { showModal: [{
|
|
1388
|
+
type: Input
|
|
1389
|
+
}], articulo: [{
|
|
1390
|
+
type: Input
|
|
1391
|
+
}], eventSelection: [{
|
|
1392
|
+
type: Output
|
|
1393
|
+
}] } });
|
|
1394
|
+
|
|
2063
1395
|
class SeleccionaArticuloComponent {
|
|
2064
1396
|
constructor(_stockService, _paginateService, _almacenService) {
|
|
2065
1397
|
this._stockService = _stockService;
|
|
@@ -2150,89 +1482,25 @@ class SeleccionaArticuloComponent {
|
|
|
2150
1482
|
onEventInformacion(event) {
|
|
2151
1483
|
this.showModalInformacion = event.status;
|
|
2152
1484
|
}
|
|
2153
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2154
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, decls: 30, vars: 24, consts: [["dt", ""], [3, "visibleChange", "onShow", "onHide", "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModelChange", "change", "ngModel"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModelChange", "keypress", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], [2, "width", "100px"], ["for", "almacen"], ["pInputText", "", "disabled", "", "id", "almacen", 2, "width", "200px", 3, "ngModelChange", "change", "ngModel"], [3, "value", 4, "ngFor", "ngForOf"], ["scrollHeight", "400px", "responsiveLayout", "scroll", "selectionMode", "single", 3, "onRowSelect", "value", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"], [3, "showModal", "articulo", "eventSelection", 4, "ngIf"], [3, "value"], ["translate", "", 2, "width", "80px"], ["translate", "", 2, "width", "70px"], ["translate", "", 2, "width", "40px"], ["style", "width: 50px", "translate", "", 4, "ngIf"], ["style", "width: 40px", "translate", "", 4, "ngIf"], ["translate", "", 2, "width", "120px"], ["style", "width: 80px", "translate", "", 4, "ngIf"], ["style", "width: 80px", "translate", "", 4, "ngFor", "ngForOf"], ["translate", "", 2, "width", "50px"], [3, "pSelectableRow"], ["style", "width: 80px;", "translate", "", 4, "ngIf"], ["style", "width: 80px;", 4, "ngIf"], [2, "width", "70px"], [2, "width", "40px"], ["style", "width: 50px;", 4, "ngIf"], ["style", "width: 40px;", 4, "ngIf"], [2, "width", "80px"], [2, "width", "120px"], ["pButton", "", "type", "button", "icon", "pi pi-eye", 1, "ui-button-raised", "ui-button-primary", 3, "click"], ["class", "row justify-content-between", 4, "ngFor", "ngForOf"], ["style", "width: 80px;", 4, "ngFor", "ngForOf"], [2, "width", "50px"], [1, "row", "justify-content-between"], [1, "col-lg-4"], ["for", ""], [3, "eventSelection", "showModal", "articulo"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
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); });
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
i0.ɵɵelementStart(13, "option", 10);
|
|
2173
|
-
i0.ɵɵtext(14, "Igual a");
|
|
2174
|
-
i0.ɵɵelementEnd()()();
|
|
2175
|
-
i0.ɵɵelementStart(15, "input", 11);
|
|
2176
|
-
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); });
|
|
2177
|
-
i0.ɵɵlistener("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosKey($event)); });
|
|
2178
|
-
i0.ɵɵelementEnd();
|
|
2179
|
-
i0.ɵɵelementStart(16, "button", 12);
|
|
2180
|
-
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulos()); });
|
|
2181
|
-
i0.ɵɵelementEnd()()();
|
|
2182
|
-
i0.ɵɵelementStart(17, "div", 3)(18, "div", 4)(19, "div", 13)(20, "label", 14);
|
|
2183
|
-
i0.ɵɵtext(21, "Almacen:");
|
|
2184
|
-
i0.ɵɵelementEnd()();
|
|
2185
|
-
i0.ɵɵelementStart(22, "select", 15);
|
|
2186
|
-
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); });
|
|
2187
|
-
i0.ɵɵlistener("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosVal()); });
|
|
2188
|
-
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 16);
|
|
2189
|
-
i0.ɵɵelementEnd()()()();
|
|
2190
|
-
i0.ɵɵelementStart(24, "p-table", 17, 0);
|
|
2191
|
-
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.filaSeleccionada($event)); });
|
|
2192
|
-
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18)(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2193
|
-
i0.ɵɵelementEnd();
|
|
2194
|
-
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2195
|
-
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pagina($event)); });
|
|
2196
|
-
i0.ɵɵelementEnd()();
|
|
2197
|
-
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2198
|
-
} if (rf & 2) {
|
|
2199
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(21, _c0, ctx.size + "px"));
|
|
2200
|
-
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 19, "Articulos"));
|
|
2201
|
-
i0.ɵɵtwoWayProperty("visible", ctx.showArticulos);
|
|
2202
|
-
i0.ɵɵproperty("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2203
|
-
i0.ɵɵadvance(6);
|
|
2204
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2205
|
-
i0.ɵɵadvance(9);
|
|
2206
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.busquedaArticulos.key);
|
|
2207
|
-
i0.ɵɵadvance(7);
|
|
2208
|
-
i0.ɵɵtwoWayProperty("ngModel", ctx.movimiento.almacen);
|
|
2209
|
-
i0.ɵɵadvance();
|
|
2210
|
-
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2211
|
-
i0.ɵɵadvance();
|
|
2212
|
-
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true);
|
|
2213
|
-
i0.ɵɵadvance(4);
|
|
2214
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(23, _c1));
|
|
2215
|
-
i0.ɵɵadvance();
|
|
2216
|
-
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2217
|
-
} }, dependencies: [i4.NgForOf, i4.NgIf, i3.PrimeTemplate, i15.Table, i15.SelectableRow, i18.ButtonDirective, i19.InputText, i24.Paginator, i4$1.NgSelectOption, i4$1.ɵNgSelectMultipleOption, i4$1.DefaultValueAccessor, i4$1.SelectControlValueAccessor, i4$1.NgControlStatus, i4$1.NgModel, i30.Dialog, i2.TranslateDirective, SeleccionArticuloInformacionComponent, i4.DecimalPipe, i4.CurrencyPipe, i2.TranslatePipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] }); }
|
|
2218
|
-
}
|
|
2219
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2220
|
-
type: Component,
|
|
2221
|
-
args: [{ selector: 'app-selecciona-articulo', template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\" \n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
2222
|
-
}], () => [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }], { configuracion: [{
|
|
2223
|
-
type: Input
|
|
2224
|
-
}], showArticulos: [{
|
|
2225
|
-
type: Input
|
|
2226
|
-
}], movimiento: [{
|
|
2227
|
-
type: Input
|
|
2228
|
-
}], manejaUnidadSecundaria: [{
|
|
2229
|
-
type: Input
|
|
2230
|
-
}], emitFilaSeleccionada: [{
|
|
2231
|
-
type: Output
|
|
2232
|
-
}], emitShowArticulos: [{
|
|
2233
|
-
type: Output
|
|
2234
|
-
}] }); })();
|
|
2235
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionaArticuloComponent, { className: "SeleccionaArticuloComponent" }); })();
|
|
1485
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeleccionaArticuloComponent, deps: [{ token: StockService }, { token: PaginateService }, { token: AlmacenService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1486
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SeleccionaArticuloComponent, 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 <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\" \n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i15.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", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], 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: i15.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i18.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i19.InputText, selector: "[pInputText]" }, { kind: "component", type: i24.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "directive", type: i4$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4$1.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: i4$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i30.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i2.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: i4.DecimalPipe, name: "number" }, { kind: "pipe", type: i4.CurrencyPipe, name: "currency" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
1487
|
+
}
|
|
1488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeleccionaArticuloComponent, decorators: [{
|
|
1489
|
+
type: Component,
|
|
1490
|
+
args: [{ selector: 'app-selecciona-articulo', template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\" \n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
1491
|
+
}], ctorParameters: () => [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }], propDecorators: { configuracion: [{
|
|
1492
|
+
type: Input
|
|
1493
|
+
}], showArticulos: [{
|
|
1494
|
+
type: Input
|
|
1495
|
+
}], movimiento: [{
|
|
1496
|
+
type: Input
|
|
1497
|
+
}], manejaUnidadSecundaria: [{
|
|
1498
|
+
type: Input
|
|
1499
|
+
}], emitFilaSeleccionada: [{
|
|
1500
|
+
type: Output
|
|
1501
|
+
}], emitShowArticulos: [{
|
|
1502
|
+
type: Output
|
|
1503
|
+
}] } });
|
|
2236
1504
|
|
|
2237
1505
|
const components = [
|
|
2238
1506
|
LoadingComponent,
|
|
@@ -2285,9 +1553,9 @@ function HttpLoaderFactory(http) {
|
|
|
2285
1553
|
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
|
2286
1554
|
}
|
|
2287
1555
|
class CoreLibModule {
|
|
2288
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2289
|
-
/** @nocollapse */ static { this.ɵmod =
|
|
2290
|
-
/** @nocollapse */ static { this.ɵinj =
|
|
1556
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1557
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CoreLibModule, declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SeleccionaArticuloComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i9.CardModule, i10.TooltipModule, i11.OverlayPanelModule, i12.RadioButtonModule, i13.CheckboxModule, i14.AutoCompleteModule, i15.TableModule, i16.TreeTableModule, i17.CalendarModule, i15.TableModule, i18.ButtonModule, i19.InputTextModule, i20.DropdownModule, i21.InputMaskModule, i22.MessagesModule, i23.MessageModule, i24.PaginatorModule, i25.ConfirmDialogModule, i26.ProgressBarModule, i27.TriStateCheckboxModule, i28.KeyFilterModule, i29.InputSwitchModule, i30.DialogModule, i31.TabViewModule, i32.PanelModule, i33.ToolbarModule, i34.SplitButtonModule, i35.FieldsetModule, i36.TreeModule, i37.TabMenuModule, i38.MenubarModule, FormsModule, i1$1.ToastrModule, i2.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SeleccionaArticuloComponent, CclistaComponent, CcseleccionDialogComponent, i9.CardModule, i10.TooltipModule, i11.OverlayPanelModule, i12.RadioButtonModule, i13.CheckboxModule, i14.AutoCompleteModule, i15.TableModule, i16.TreeTableModule, i17.CalendarModule, i15.TableModule, i18.ButtonModule, i19.InputTextModule, i20.DropdownModule, i21.InputMaskModule, i22.MessagesModule, i23.MessageModule, i24.PaginatorModule, i25.ConfirmDialogModule, i26.ProgressBarModule, i27.TriStateCheckboxModule, i28.KeyFilterModule, i29.InputSwitchModule, i30.DialogModule, i31.TabViewModule, i32.PanelModule, i33.ToolbarModule, i34.SplitButtonModule, i35.FieldsetModule, i36.TreeModule, i37.TabMenuModule, i38.MenubarModule, TranslateModule] }); }
|
|
1558
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibModule, providers: [
|
|
2291
1559
|
primeNgServices,
|
|
2292
1560
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2293
1561
|
], imports: [CommonModule,
|
|
@@ -2302,36 +1570,35 @@ class CoreLibModule {
|
|
|
2302
1570
|
}
|
|
2303
1571
|
}), i9.CardModule, i10.TooltipModule, i11.OverlayPanelModule, i12.RadioButtonModule, i13.CheckboxModule, i14.AutoCompleteModule, i15.TableModule, i16.TreeTableModule, i17.CalendarModule, i15.TableModule, i18.ButtonModule, i19.InputTextModule, i20.DropdownModule, i21.InputMaskModule, i22.MessagesModule, i23.MessageModule, i24.PaginatorModule, i25.ConfirmDialogModule, i26.ProgressBarModule, i27.TriStateCheckboxModule, i28.KeyFilterModule, i29.InputSwitchModule, i30.DialogModule, i31.TabViewModule, i32.PanelModule, i33.ToolbarModule, i34.SplitButtonModule, i35.FieldsetModule, i36.TreeModule, i37.TabMenuModule, i38.MenubarModule, TranslateModule] }); }
|
|
2304
1572
|
}
|
|
2305
|
-
(
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CoreLibModule, { declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SeleccionaArticuloComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i9.CardModule, i10.TooltipModule, i11.OverlayPanelModule, i12.RadioButtonModule, i13.CheckboxModule, i14.AutoCompleteModule, i15.TableModule, i16.TreeTableModule, i17.CalendarModule, i15.TableModule, i18.ButtonModule, i19.InputTextModule, i20.DropdownModule, i21.InputMaskModule, i22.MessagesModule, i23.MessageModule, i24.PaginatorModule, i25.ConfirmDialogModule, i26.ProgressBarModule, i27.TriStateCheckboxModule, i28.KeyFilterModule, i29.InputSwitchModule, i30.DialogModule, i31.TabViewModule, i32.PanelModule, i33.ToolbarModule, i34.SplitButtonModule, i35.FieldsetModule, i36.TreeModule, i37.TabMenuModule, i38.MenubarModule, FormsModule, i1$1.ToastrModule, i2.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SeleccionaArticuloComponent, CclistaComponent, CcseleccionDialogComponent, i9.CardModule, i10.TooltipModule, i11.OverlayPanelModule, i12.RadioButtonModule, i13.CheckboxModule, i14.AutoCompleteModule, i15.TableModule, i16.TreeTableModule, i17.CalendarModule, i15.TableModule, i18.ButtonModule, i19.InputTextModule, i20.DropdownModule, i21.InputMaskModule, i22.MessagesModule, i23.MessageModule, i24.PaginatorModule, i25.ConfirmDialogModule, i26.ProgressBarModule, i27.TriStateCheckboxModule, i28.KeyFilterModule, i29.InputSwitchModule, i30.DialogModule, i31.TabViewModule, i32.PanelModule, i33.ToolbarModule, i34.SplitButtonModule, i35.FieldsetModule, i36.TreeModule, i37.TabMenuModule, i38.MenubarModule, TranslateModule] }); })();
|
|
1573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibModule, decorators: [{
|
|
1574
|
+
type: NgModule,
|
|
1575
|
+
args: [{
|
|
1576
|
+
declarations: [
|
|
1577
|
+
Error404Component,
|
|
1578
|
+
components,
|
|
1579
|
+
contaComponents,
|
|
1580
|
+
SeleccionArticuloInformacionComponent
|
|
1581
|
+
],
|
|
1582
|
+
imports: [
|
|
1583
|
+
CommonModule,
|
|
1584
|
+
primeNg,
|
|
1585
|
+
FormsModule,
|
|
1586
|
+
ToastrModule.forRoot(),
|
|
1587
|
+
TranslateModule.forRoot({
|
|
1588
|
+
loader: {
|
|
1589
|
+
provide: TranslateLoader,
|
|
1590
|
+
useFactory: HttpLoaderFactory,
|
|
1591
|
+
deps: [HttpClient]
|
|
1592
|
+
}
|
|
1593
|
+
})
|
|
1594
|
+
],
|
|
1595
|
+
providers: [
|
|
1596
|
+
primeNgServices,
|
|
1597
|
+
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
1598
|
+
],
|
|
1599
|
+
exports: [components, contaComponents, primeNg, TranslateModule]
|
|
1600
|
+
}]
|
|
1601
|
+
}] });
|
|
2335
1602
|
|
|
2336
1603
|
class Persona {
|
|
2337
1604
|
constructor() {
|
|
@@ -2381,19 +1648,19 @@ class ControlAccesoService {
|
|
|
2381
1648
|
}
|
|
2382
1649
|
return permiso;
|
|
2383
1650
|
}
|
|
2384
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2385
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1651
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlAccesoService, deps: [{ token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1652
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlAccesoService, providedIn: 'root' }); }
|
|
2386
1653
|
}
|
|
2387
|
-
(
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlAccesoService, decorators: [{
|
|
1655
|
+
type: Injectable,
|
|
1656
|
+
args: [{
|
|
1657
|
+
providedIn: 'root'
|
|
1658
|
+
}]
|
|
1659
|
+
}], ctorParameters: () => [{ type: AuthService }], propDecorators: { cambioAcciones: [{
|
|
1660
|
+
type: Output
|
|
1661
|
+
}], changeDetalleUsuario: [{
|
|
1662
|
+
type: Output
|
|
1663
|
+
}] } });
|
|
2397
1664
|
|
|
2398
1665
|
class InitService {
|
|
2399
1666
|
constructor(http, authService) {
|
|
@@ -2430,15 +1697,15 @@ class InitService {
|
|
|
2430
1697
|
});
|
|
2431
1698
|
});
|
|
2432
1699
|
}
|
|
2433
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2434
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1700
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitService, deps: [{ token: i1.HttpClient }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1701
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitService, providedIn: 'root' }); }
|
|
2435
1702
|
}
|
|
2436
|
-
(
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
1703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitService, decorators: [{
|
|
1704
|
+
type: Injectable,
|
|
1705
|
+
args: [{
|
|
1706
|
+
providedIn: 'root'
|
|
1707
|
+
}]
|
|
1708
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: AuthService }] });
|
|
2442
1709
|
|
|
2443
1710
|
class MessageService {
|
|
2444
1711
|
constructor(toastr) {
|
|
@@ -2505,29 +1772,29 @@ class MessageService {
|
|
|
2505
1772
|
}
|
|
2506
1773
|
return msgs;
|
|
2507
1774
|
}
|
|
2508
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2509
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1775
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MessageService, deps: [{ token: i1$1.ToastrService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1776
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MessageService, providedIn: 'root' }); }
|
|
2510
1777
|
}
|
|
2511
|
-
(
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
1778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MessageService, decorators: [{
|
|
1779
|
+
type: Injectable,
|
|
1780
|
+
args: [{
|
|
1781
|
+
providedIn: 'root'
|
|
1782
|
+
}]
|
|
1783
|
+
}], ctorParameters: () => [{ type: i1$1.ToastrService }] });
|
|
2517
1784
|
|
|
2518
1785
|
class PersonaMoralService extends CrudService {
|
|
2519
1786
|
constructor(http) {
|
|
2520
1787
|
super(http, '/personaMoral');
|
|
2521
1788
|
}
|
|
2522
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2523
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1789
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaMoralService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1790
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaMoralService, providedIn: 'root' }); }
|
|
2524
1791
|
}
|
|
2525
|
-
(
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
1792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaMoralService, decorators: [{
|
|
1793
|
+
type: Injectable,
|
|
1794
|
+
args: [{
|
|
1795
|
+
providedIn: 'root'
|
|
1796
|
+
}]
|
|
1797
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2531
1798
|
|
|
2532
1799
|
class CanActivateGuard {
|
|
2533
1800
|
constructor(controlAccesoService) {
|
|
@@ -2541,30 +1808,30 @@ class CanActivateGuard {
|
|
|
2541
1808
|
permisos(rol) {
|
|
2542
1809
|
this.rol = rol;
|
|
2543
1810
|
}
|
|
2544
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2545
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1811
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CanActivateGuard, deps: [{ token: ControlAccesoService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1812
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CanActivateGuard, providedIn: 'root' }); }
|
|
2546
1813
|
}
|
|
2547
|
-
(
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
1814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CanActivateGuard, decorators: [{
|
|
1815
|
+
type: Injectable,
|
|
1816
|
+
args: [{
|
|
1817
|
+
providedIn: 'root'
|
|
1818
|
+
}]
|
|
1819
|
+
}], ctorParameters: () => [{ type: ControlAccesoService }] });
|
|
2553
1820
|
|
|
2554
1821
|
class CatalogoAdicionalService extends CrudService {
|
|
2555
1822
|
constructor(httpClient) {
|
|
2556
1823
|
super(httpClient, 'catalogoAdicional');
|
|
2557
1824
|
this.httpClient = httpClient;
|
|
2558
1825
|
}
|
|
2559
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2560
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1826
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoAdicionalService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1827
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoAdicionalService, providedIn: 'root' }); }
|
|
2561
1828
|
}
|
|
2562
|
-
(
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
1829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoAdicionalService, decorators: [{
|
|
1830
|
+
type: Injectable,
|
|
1831
|
+
args: [{
|
|
1832
|
+
providedIn: 'root'
|
|
1833
|
+
}]
|
|
1834
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2568
1835
|
|
|
2569
1836
|
class Authenticated {
|
|
2570
1837
|
constructor(authService, controlAccesoService, router) {
|
|
@@ -2625,15 +1892,15 @@ class Authenticated {
|
|
|
2625
1892
|
}
|
|
2626
1893
|
window.location.href = host;
|
|
2627
1894
|
}
|
|
2628
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2629
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1895
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Authenticated, deps: [{ token: AuthService }, { token: ControlAccesoService }, { token: i3$2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1896
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Authenticated, providedIn: 'root' }); }
|
|
2630
1897
|
}
|
|
2631
|
-
(
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
1898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Authenticated, decorators: [{
|
|
1899
|
+
type: Injectable,
|
|
1900
|
+
args: [{
|
|
1901
|
+
providedIn: 'root'
|
|
1902
|
+
}]
|
|
1903
|
+
}], ctorParameters: () => [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$2.Router }] });
|
|
2637
1904
|
|
|
2638
1905
|
class VersionCheckService {
|
|
2639
1906
|
constructor(http) {
|
|
@@ -2673,15 +1940,15 @@ class VersionCheckService {
|
|
|
2673
1940
|
}
|
|
2674
1941
|
return currentHash === newHash;
|
|
2675
1942
|
}
|
|
2676
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2677
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1943
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: VersionCheckService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1944
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: VersionCheckService, providedIn: 'root' }); }
|
|
2678
1945
|
}
|
|
2679
|
-
(
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
1946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: VersionCheckService, decorators: [{
|
|
1947
|
+
type: Injectable,
|
|
1948
|
+
args: [{
|
|
1949
|
+
providedIn: 'root'
|
|
1950
|
+
}]
|
|
1951
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2685
1952
|
|
|
2686
1953
|
class Agente {
|
|
2687
1954
|
constructor() {
|
|
@@ -2707,15 +1974,15 @@ class AgenteService extends CrudService {
|
|
|
2707
1974
|
let url = this.geturl() + '/obtenerAgenteEmpresa';
|
|
2708
1975
|
return this.getHttp().get(url, this.buildAuth());
|
|
2709
1976
|
}
|
|
2710
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2711
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
1977
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1978
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteService, providedIn: 'root' }); }
|
|
2712
1979
|
}
|
|
2713
|
-
(
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
1980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteService, decorators: [{
|
|
1981
|
+
type: Injectable,
|
|
1982
|
+
args: [{
|
|
1983
|
+
providedIn: 'root'
|
|
1984
|
+
}]
|
|
1985
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2719
1986
|
|
|
2720
1987
|
class Almacen {
|
|
2721
1988
|
constructor() { }
|
|
@@ -2736,15 +2003,15 @@ class BancoService extends CrudService {
|
|
|
2736
2003
|
constructor(http) {
|
|
2737
2004
|
super(http, '/banco');
|
|
2738
2005
|
}
|
|
2739
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2740
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2006
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2007
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BancoService, providedIn: 'root' }); }
|
|
2741
2008
|
}
|
|
2742
|
-
(
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BancoService, decorators: [{
|
|
2010
|
+
type: Injectable,
|
|
2011
|
+
args: [{
|
|
2012
|
+
providedIn: 'root'
|
|
2013
|
+
}]
|
|
2014
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2748
2015
|
|
|
2749
2016
|
class CatalogoTipo {
|
|
2750
2017
|
constructor() { }
|
|
@@ -2754,15 +2021,15 @@ class CatalogoTipoService extends CrudService {
|
|
|
2754
2021
|
constructor(htt) {
|
|
2755
2022
|
super(htt, '/catalogoTipo');
|
|
2756
2023
|
}
|
|
2757
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2758
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2024
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2025
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoService, providedIn: 'root' }); }
|
|
2759
2026
|
}
|
|
2760
|
-
(
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoService, decorators: [{
|
|
2028
|
+
type: Injectable,
|
|
2029
|
+
args: [{
|
|
2030
|
+
providedIn: 'root'
|
|
2031
|
+
}]
|
|
2032
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2766
2033
|
|
|
2767
2034
|
class ClasificadorTipo {
|
|
2768
2035
|
constructor() { }
|
|
@@ -2772,15 +2039,15 @@ class ClasificadorTipoService extends CrudService {
|
|
|
2772
2039
|
constructor(http) {
|
|
2773
2040
|
super(http, '/clasificadorTipo');
|
|
2774
2041
|
}
|
|
2775
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2776
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2042
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClasificadorTipoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2043
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClasificadorTipoService, providedIn: 'root' }); }
|
|
2777
2044
|
}
|
|
2778
|
-
(
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClasificadorTipoService, decorators: [{
|
|
2046
|
+
type: Injectable,
|
|
2047
|
+
args: [{
|
|
2048
|
+
providedIn: 'root'
|
|
2049
|
+
}]
|
|
2050
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2784
2051
|
|
|
2785
2052
|
class ClaveMovimiento {
|
|
2786
2053
|
constructor() { }
|
|
@@ -2790,15 +2057,15 @@ class ClaveMovimientoService extends CrudService {
|
|
|
2790
2057
|
constructor(http) {
|
|
2791
2058
|
super(http, 'claveMovimiento');
|
|
2792
2059
|
}
|
|
2793
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2794
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2060
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveMovimientoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2061
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveMovimientoService, providedIn: 'root' }); }
|
|
2795
2062
|
}
|
|
2796
|
-
(
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveMovimientoService, decorators: [{
|
|
2064
|
+
type: Injectable,
|
|
2065
|
+
args: [{
|
|
2066
|
+
providedIn: 'root'
|
|
2067
|
+
}]
|
|
2068
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2802
2069
|
|
|
2803
2070
|
class Cliente {
|
|
2804
2071
|
constructor() {
|
|
@@ -2835,15 +2102,15 @@ class ClienteService extends CrudService {
|
|
|
2835
2102
|
validar_archivos_bss(id) {
|
|
2836
2103
|
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
2837
2104
|
}
|
|
2838
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2839
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2105
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2106
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteService, providedIn: 'root' }); }
|
|
2840
2107
|
}
|
|
2841
|
-
(
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteService, decorators: [{
|
|
2109
|
+
type: Injectable,
|
|
2110
|
+
args: [{
|
|
2111
|
+
providedIn: 'root'
|
|
2112
|
+
}]
|
|
2113
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2847
2114
|
|
|
2848
2115
|
class ClienteCuentaBancoService extends CrudService {
|
|
2849
2116
|
constructor(httpClient) {
|
|
@@ -2854,15 +2121,15 @@ class ClienteCuentaBancoService extends CrudService {
|
|
|
2854
2121
|
let p = { 'cuentas': params };
|
|
2855
2122
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
2856
2123
|
}
|
|
2857
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2858
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2124
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteCuentaBancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2125
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteCuentaBancoService, providedIn: 'root' }); }
|
|
2859
2126
|
}
|
|
2860
|
-
(
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteCuentaBancoService, decorators: [{
|
|
2128
|
+
type: Injectable,
|
|
2129
|
+
args: [{
|
|
2130
|
+
providedIn: 'root'
|
|
2131
|
+
}]
|
|
2132
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2866
2133
|
|
|
2867
2134
|
class ClienteFleteService extends CrudService {
|
|
2868
2135
|
constructor(httpClient) {
|
|
@@ -2873,15 +2140,15 @@ class ClienteFleteService extends CrudService {
|
|
|
2873
2140
|
let params = { fletes: p };
|
|
2874
2141
|
return this.save(params);
|
|
2875
2142
|
}
|
|
2876
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2877
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2143
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteFleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2144
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteFleteService, providedIn: 'root' }); }
|
|
2878
2145
|
}
|
|
2879
|
-
(
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteFleteService, decorators: [{
|
|
2147
|
+
type: Injectable,
|
|
2148
|
+
args: [{
|
|
2149
|
+
providedIn: 'root'
|
|
2150
|
+
}]
|
|
2151
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2885
2152
|
|
|
2886
2153
|
class TipoContacto {
|
|
2887
2154
|
constructor() {
|
|
@@ -2899,29 +2166,29 @@ class DatoContactoService extends CrudService {
|
|
|
2899
2166
|
constructor(http) {
|
|
2900
2167
|
super(http, '/contacto');
|
|
2901
2168
|
}
|
|
2902
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2903
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2169
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoContactoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2170
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoContactoService, providedIn: 'root' }); }
|
|
2904
2171
|
}
|
|
2905
|
-
(
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoContactoService, decorators: [{
|
|
2173
|
+
type: Injectable,
|
|
2174
|
+
args: [{
|
|
2175
|
+
providedIn: 'root'
|
|
2176
|
+
}]
|
|
2177
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2911
2178
|
|
|
2912
2179
|
class DatoDireccionService extends CrudService {
|
|
2913
2180
|
constructor(http) {
|
|
2914
2181
|
super(http, '/datoDireccion');
|
|
2915
2182
|
}
|
|
2916
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2917
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2183
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoDireccionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2184
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoDireccionService, providedIn: 'root' }); }
|
|
2918
2185
|
}
|
|
2919
|
-
(
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoDireccionService, decorators: [{
|
|
2187
|
+
type: Injectable,
|
|
2188
|
+
args: [{
|
|
2189
|
+
providedIn: 'root'
|
|
2190
|
+
}]
|
|
2191
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2925
2192
|
|
|
2926
2193
|
class Departamento {
|
|
2927
2194
|
constructor() {
|
|
@@ -2932,15 +2199,15 @@ class DepartamentoService extends CrudService {
|
|
|
2932
2199
|
constructor(http) {
|
|
2933
2200
|
super(http, '/departamento');
|
|
2934
2201
|
}
|
|
2935
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2936
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2202
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DepartamentoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2203
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DepartamentoService, providedIn: 'root' }); }
|
|
2937
2204
|
}
|
|
2938
|
-
(
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DepartamentoService, decorators: [{
|
|
2206
|
+
type: Injectable,
|
|
2207
|
+
args: [{
|
|
2208
|
+
providedIn: 'root'
|
|
2209
|
+
}]
|
|
2210
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2944
2211
|
|
|
2945
2212
|
class FormaPago {
|
|
2946
2213
|
constructor() { }
|
|
@@ -2969,44 +2236,44 @@ class EmpresaService extends CrudService {
|
|
|
2969
2236
|
// return super.get(1);
|
|
2970
2237
|
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
2971
2238
|
}
|
|
2972
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2973
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2239
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2240
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, providedIn: 'root' }); }
|
|
2974
2241
|
}
|
|
2975
|
-
(
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, decorators: [{
|
|
2243
|
+
type: Injectable,
|
|
2244
|
+
args: [{
|
|
2245
|
+
providedIn: 'root'
|
|
2246
|
+
}]
|
|
2247
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2981
2248
|
|
|
2982
2249
|
class FleteService extends CrudService {
|
|
2983
2250
|
constructor(httpClient) {
|
|
2984
2251
|
super(httpClient, '/flete');
|
|
2985
2252
|
this.httpClient = httpClient;
|
|
2986
2253
|
}
|
|
2987
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
2988
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2254
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2255
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FleteService, providedIn: 'root' }); }
|
|
2989
2256
|
}
|
|
2990
|
-
(
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FleteService, decorators: [{
|
|
2258
|
+
type: Injectable,
|
|
2259
|
+
args: [{
|
|
2260
|
+
providedIn: 'root'
|
|
2261
|
+
}]
|
|
2262
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
2996
2263
|
|
|
2997
2264
|
class FormaPagoService extends CrudService {
|
|
2998
2265
|
constructor(http) {
|
|
2999
2266
|
super(http, '/FormaDePago');
|
|
3000
2267
|
}
|
|
3001
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3002
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2268
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2269
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagoService, providedIn: "root" }); }
|
|
3003
2270
|
}
|
|
3004
|
-
(
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
2271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagoService, decorators: [{
|
|
2272
|
+
type: Injectable,
|
|
2273
|
+
args: [{
|
|
2274
|
+
providedIn: "root"
|
|
2275
|
+
}]
|
|
2276
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3010
2277
|
|
|
3011
2278
|
class Moneda {
|
|
3012
2279
|
constructor() { }
|
|
@@ -3017,15 +2284,15 @@ class MonedaService extends CrudService {
|
|
|
3017
2284
|
super(httpClient, '/moneda');
|
|
3018
2285
|
this.httpClient = httpClient;
|
|
3019
2286
|
}
|
|
3020
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3021
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2287
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MonedaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2288
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MonedaService, providedIn: 'root' }); }
|
|
3022
2289
|
}
|
|
3023
|
-
(
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
2290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MonedaService, decorators: [{
|
|
2291
|
+
type: Injectable,
|
|
2292
|
+
args: [{
|
|
2293
|
+
providedIn: 'root'
|
|
2294
|
+
}]
|
|
2295
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3029
2296
|
|
|
3030
2297
|
class EstadoCivil {
|
|
3031
2298
|
constructor() { }
|
|
@@ -3046,15 +2313,15 @@ class PersonaFisicaService extends CrudService {
|
|
|
3046
2313
|
getEstadoCivil() {
|
|
3047
2314
|
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
3048
2315
|
}
|
|
3049
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3050
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2316
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaFisicaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2317
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaFisicaService, providedIn: "root" }); }
|
|
3051
2318
|
}
|
|
3052
|
-
(
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
2319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaFisicaService, decorators: [{
|
|
2320
|
+
type: Injectable,
|
|
2321
|
+
args: [{
|
|
2322
|
+
providedIn: "root"
|
|
2323
|
+
}]
|
|
2324
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3058
2325
|
|
|
3059
2326
|
class Proveedor {
|
|
3060
2327
|
constructor() {
|
|
@@ -3085,15 +2352,15 @@ class ProveedorService extends CrudService {
|
|
|
3085
2352
|
super(httpClient, '/proveedor');
|
|
3086
2353
|
this.httpClient = httpClient;
|
|
3087
2354
|
}
|
|
3088
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3089
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2355
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2356
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorService, providedIn: 'root' }); }
|
|
3090
2357
|
}
|
|
3091
|
-
(
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
2358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorService, decorators: [{
|
|
2359
|
+
type: Injectable,
|
|
2360
|
+
args: [{
|
|
2361
|
+
providedIn: 'root'
|
|
2362
|
+
}]
|
|
2363
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3097
2364
|
|
|
3098
2365
|
class ProveedorCuentaBancoService extends CrudService {
|
|
3099
2366
|
constructor(httpClient) {
|
|
@@ -3104,15 +2371,15 @@ class ProveedorCuentaBancoService extends CrudService {
|
|
|
3104
2371
|
let p = { 'cuentas': params };
|
|
3105
2372
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3106
2373
|
}
|
|
3107
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3108
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2374
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorCuentaBancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2375
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorCuentaBancoService, providedIn: 'root' }); }
|
|
3109
2376
|
}
|
|
3110
|
-
(
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
2377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorCuentaBancoService, decorators: [{
|
|
2378
|
+
type: Injectable,
|
|
2379
|
+
args: [{
|
|
2380
|
+
providedIn: 'root'
|
|
2381
|
+
}]
|
|
2382
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3116
2383
|
|
|
3117
2384
|
class ProveedorFleteService extends CrudService {
|
|
3118
2385
|
constructor(httpClient) {
|
|
@@ -3123,29 +2390,29 @@ class ProveedorFleteService extends CrudService {
|
|
|
3123
2390
|
let params = { fletes: p };
|
|
3124
2391
|
return this.save(params);
|
|
3125
2392
|
}
|
|
3126
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3127
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2393
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorFleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2394
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorFleteService, providedIn: 'root' }); }
|
|
3128
2395
|
}
|
|
3129
|
-
(
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
2396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorFleteService, decorators: [{
|
|
2397
|
+
type: Injectable,
|
|
2398
|
+
args: [{
|
|
2399
|
+
providedIn: 'root'
|
|
2400
|
+
}]
|
|
2401
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3135
2402
|
|
|
3136
2403
|
class ClaveAumentoDisminucionService extends CrudService {
|
|
3137
2404
|
constructor(http) {
|
|
3138
2405
|
super(http, 'claveAumentoDisminucion');
|
|
3139
2406
|
}
|
|
3140
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3141
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2407
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveAumentoDisminucionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2408
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveAumentoDisminucionService, providedIn: 'root' }); }
|
|
3142
2409
|
}
|
|
3143
|
-
(
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
2410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveAumentoDisminucionService, decorators: [{
|
|
2411
|
+
type: Injectable,
|
|
2412
|
+
args: [{
|
|
2413
|
+
providedIn: 'root'
|
|
2414
|
+
}]
|
|
2415
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3149
2416
|
|
|
3150
2417
|
class SerieDocumentoService extends CrudService {
|
|
3151
2418
|
constructor(httpClient) {
|
|
@@ -3158,15 +2425,15 @@ class SerieDocumentoService extends CrudService {
|
|
|
3158
2425
|
getReporte(params) {
|
|
3159
2426
|
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
3160
2427
|
}
|
|
3161
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3162
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2428
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SerieDocumentoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2429
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SerieDocumentoService, providedIn: 'root' }); }
|
|
3163
2430
|
}
|
|
3164
|
-
(
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
2431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SerieDocumentoService, decorators: [{
|
|
2432
|
+
type: Injectable,
|
|
2433
|
+
args: [{
|
|
2434
|
+
providedIn: 'root'
|
|
2435
|
+
}]
|
|
2436
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3170
2437
|
|
|
3171
2438
|
class SerieDocumento {
|
|
3172
2439
|
constructor() { }
|
|
@@ -3176,15 +2443,15 @@ class TipoContactoService extends CrudService {
|
|
|
3176
2443
|
constructor(http) {
|
|
3177
2444
|
super(http, '/tipoContacto');
|
|
3178
2445
|
}
|
|
3179
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3180
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2446
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContactoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2447
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContactoService, providedIn: 'root' }); }
|
|
3181
2448
|
}
|
|
3182
|
-
(
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
2449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContactoService, decorators: [{
|
|
2450
|
+
type: Injectable,
|
|
2451
|
+
args: [{
|
|
2452
|
+
providedIn: 'root'
|
|
2453
|
+
}]
|
|
2454
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3188
2455
|
|
|
3189
2456
|
class Ubicacion {
|
|
3190
2457
|
constructor() { }
|
|
@@ -3194,15 +2461,15 @@ class UbicacionService extends CrudService {
|
|
|
3194
2461
|
constructor(http) {
|
|
3195
2462
|
super(http, 'ubicacion');
|
|
3196
2463
|
}
|
|
3197
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3198
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2464
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UbicacionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2465
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UbicacionService, providedIn: 'root' }); }
|
|
3199
2466
|
}
|
|
3200
|
-
(
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
2467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UbicacionService, decorators: [{
|
|
2468
|
+
type: Injectable,
|
|
2469
|
+
args: [{
|
|
2470
|
+
providedIn: 'root'
|
|
2471
|
+
}]
|
|
2472
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3206
2473
|
|
|
3207
2474
|
class TipoCatalogo {
|
|
3208
2475
|
static { this.ARTICULO = 2; }
|
|
@@ -3214,15 +2481,15 @@ class AcreedorService extends CrudService {
|
|
|
3214
2481
|
super(httpClient, 'acreedor');
|
|
3215
2482
|
this.httpClient = httpClient;
|
|
3216
2483
|
}
|
|
3217
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3218
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2484
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2485
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorService, providedIn: 'root' }); }
|
|
3219
2486
|
}
|
|
3220
|
-
(
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
2487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorService, decorators: [{
|
|
2488
|
+
type: Injectable,
|
|
2489
|
+
args: [{
|
|
2490
|
+
providedIn: 'root'
|
|
2491
|
+
}]
|
|
2492
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3226
2493
|
|
|
3227
2494
|
class AcreedorCuentaContableService extends CrudService {
|
|
3228
2495
|
constructor(httpClient) {
|
|
@@ -3233,15 +2500,15 @@ class AcreedorCuentaContableService extends CrudService {
|
|
|
3233
2500
|
let uRL = "/cuentaContable/obtieneCuentasContablesRecursivo/";
|
|
3234
2501
|
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
3235
2502
|
}
|
|
3236
|
-
/** @nocollapse */ static { this.ɵfac =
|
|
3237
|
-
/** @nocollapse */ static { this.ɵprov =
|
|
2503
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorCuentaContableService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2504
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorCuentaContableService, providedIn: 'root' }); }
|
|
3238
2505
|
}
|
|
3239
|
-
(
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
2506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorCuentaContableService, decorators: [{
|
|
2507
|
+
type: Injectable,
|
|
2508
|
+
args: [{
|
|
2509
|
+
providedIn: 'root'
|
|
2510
|
+
}]
|
|
2511
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
3245
2512
|
|
|
3246
2513
|
class CuentaContableModel {
|
|
3247
2514
|
constructor() {
|