visorus-erp-core 11.0.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/visorus-erp-core.umd.js +1319 -1261
- package/bundles/visorus-erp-core.umd.js.map +1 -1
- package/esm2015/lib/app.module.js +4 -4
- package/esm2015/lib/components/acreedor/select/select-acreedor.component.js +2 -2
- package/esm2015/lib/components/acreedor/services/acreedor.service.js +2 -2
- package/esm2015/lib/components/acreedor/services/acreedorCuentaContable.js +2 -2
- package/esm2015/lib/components/agente/services/agente.service.js +2 -2
- package/esm2015/lib/components/almacen/services/almacen.service.js +2 -2
- package/esm2015/lib/components/banco/services/banco.service.js +2 -2
- package/esm2015/lib/components/caja/session-create/session-create.component.js +2 -2
- package/esm2015/lib/components/caja/sessionCaja.service.js +2 -2
- package/esm2015/lib/components/catalogoTipo/services/catalogoTipo.service.js +2 -2
- package/esm2015/lib/components/clasificadorTipo/services/clasificadorTipo.service.js +2 -2
- package/esm2015/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.js +2 -2
- package/esm2015/lib/components/claveMovimiento/services/claveMovimiento.service.js +2 -2
- package/esm2015/lib/components/cliente/select/select-cliente.component.js +2 -2
- package/esm2015/lib/components/cliente/services/cliente.service.js +2 -2
- package/esm2015/lib/components/cliente/services/clienteCuentaBanco.service.js +2 -2
- package/esm2015/lib/components/cliente/services/clienteFlete.service.js +2 -2
- package/esm2015/lib/components/contacto/services/datoContacto.service.js +2 -2
- package/esm2015/lib/components/dato-direccion/services/datoDireccion.service.js +2 -2
- package/esm2015/lib/components/departamento/services/departamento.service.js +2 -2
- package/esm2015/lib/components/empresa/services/empresa.service.js +2 -2
- package/esm2015/lib/components/error404/error404.component.js +2 -2
- package/esm2015/lib/components/flete/services/flete.service.js +2 -2
- package/esm2015/lib/components/formaPago/services/FormaPago.service.js +2 -2
- package/esm2015/lib/components/loading/loading.component.js +3 -3
- package/esm2015/lib/components/loading/loading.service.js +2 -2
- package/esm2015/lib/components/loading-screen/loading-screen.component.js +3 -3
- package/esm2015/lib/components/loading-screen/loading-screen.service.js +2 -2
- package/esm2015/lib/components/login-modal/login-modal.component.js +3 -3
- package/esm2015/lib/components/login-modal/login-modal.service.js +2 -2
- package/esm2015/lib/components/moneda/services/moneda.service.js +2 -2
- package/esm2015/lib/components/pdfModal/pdf-modal.component.js +2 -2
- package/esm2015/lib/components/pdfModal/pdf-modal.service.js +2 -2
- package/esm2015/lib/components/persona-fisica/services/personaFisica.service.js +2 -2
- package/esm2015/lib/components/proveedor/select/select-proveedor.component.js +2 -2
- package/esm2015/lib/components/proveedor/services/proveedor.service.js +2 -2
- package/esm2015/lib/components/proveedor/services/proveedorCuentaBanco.service.js +2 -2
- package/esm2015/lib/components/proveedor/services/proveedorFlete.service.js +2 -2
- package/esm2015/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.js +2 -2
- package/esm2015/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.js +2 -2
- package/esm2015/lib/components/selecciona-articulo/selecciona-articulo.component.js +4 -4
- package/esm2015/lib/components/selecciona-articulo/stock.service.js +2 -2
- package/esm2015/lib/components/serieDocumento/services/serieDocumento.service.js +2 -2
- package/esm2015/lib/components/tipo-contacto/services/tipoContacto.service.js +2 -2
- package/esm2015/lib/components/ubicacion/services/ubicacion.service.js +2 -2
- package/esm2015/lib/contabilidad/componentes/cclista/cclista.component.js +2 -2
- package/esm2015/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.js +3 -3
- package/esm2015/lib/contabilidad/servicios/cuentacontable.service.js +2 -2
- package/esm2015/lib/httpInterceptor/httpInterceptor.js +2 -2
- package/esm2015/lib/services/auth.service.js +2 -2
- package/esm2015/lib/services/authenticated.service.js +2 -2
- package/esm2015/lib/services/canActivateGuard.service.ts.js +2 -2
- package/esm2015/lib/services/catalogo-adicional.service.js +2 -2
- package/esm2015/lib/services/controlAcceso.service.js +2 -2
- package/esm2015/lib/services/file.service.js +2 -2
- package/esm2015/lib/services/init.service.js +2 -2
- package/esm2015/lib/services/message.service.js +2 -2
- package/esm2015/lib/services/paginate.service.js +2 -2
- package/esm2015/lib/services/personaMoral.service.js +2 -2
- package/esm2015/lib/services/versionCheck.service.js +2 -2
- package/fesm2015/visorus-erp-core.js +1310 -1273
- package/fesm2015/visorus-erp-core.js.map +1 -1
- package/lib/app.module.d.ts +3 -3
- package/lib/components/acreedor/select/select-acreedor.component.d.ts +2 -2
- package/lib/components/acreedor/services/acreedor.service.d.ts +2 -2
- package/lib/components/acreedor/services/acreedorCuentaContable.d.ts +2 -2
- package/lib/components/agente/services/agente.service.d.ts +2 -2
- package/lib/components/almacen/services/almacen.service.d.ts +2 -2
- package/lib/components/banco/services/banco.service.d.ts +2 -2
- package/lib/components/caja/session-create/session-create.component.d.ts +2 -2
- package/lib/components/caja/sessionCaja.service.d.ts +2 -2
- package/lib/components/catalogoTipo/services/catalogoTipo.service.d.ts +2 -2
- package/lib/components/clasificadorTipo/services/clasificadorTipo.service.d.ts +2 -2
- package/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.d.ts +2 -2
- package/lib/components/claveMovimiento/services/claveMovimiento.service.d.ts +2 -2
- package/lib/components/cliente/select/select-cliente.component.d.ts +2 -2
- package/lib/components/cliente/services/cliente.service.d.ts +2 -2
- package/lib/components/cliente/services/clienteCuentaBanco.service.d.ts +2 -2
- package/lib/components/cliente/services/clienteFlete.service.d.ts +2 -2
- package/lib/components/contacto/services/datoContacto.service.d.ts +2 -2
- package/lib/components/dato-direccion/services/datoDireccion.service.d.ts +2 -2
- package/lib/components/departamento/services/departamento.service.d.ts +2 -2
- package/lib/components/empresa/services/empresa.service.d.ts +2 -2
- package/lib/components/error404/error404.component.d.ts +2 -2
- package/lib/components/flete/services/flete.service.d.ts +2 -2
- package/lib/components/formaPago/services/FormaPago.service.d.ts +2 -2
- package/lib/components/loading/loading.component.d.ts +2 -2
- package/lib/components/loading/loading.service.d.ts +2 -2
- package/lib/components/loading-screen/loading-screen.component.d.ts +2 -2
- package/lib/components/loading-screen/loading-screen.service.d.ts +2 -2
- package/lib/components/login-modal/login-modal.component.d.ts +2 -2
- package/lib/components/login-modal/login-modal.service.d.ts +2 -2
- package/lib/components/moneda/services/moneda.service.d.ts +2 -2
- package/lib/components/pdfModal/pdf-modal.component.d.ts +2 -2
- package/lib/components/pdfModal/pdf-modal.service.d.ts +2 -2
- package/lib/components/persona-fisica/services/personaFisica.service.d.ts +2 -2
- package/lib/components/proveedor/select/select-proveedor.component.d.ts +2 -2
- package/lib/components/proveedor/services/proveedor.service.d.ts +2 -2
- package/lib/components/proveedor/services/proveedorCuentaBanco.service.d.ts +2 -2
- package/lib/components/proveedor/services/proveedorFlete.service.d.ts +2 -2
- package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts +2 -2
- package/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.d.ts +2 -2
- package/lib/components/selecciona-articulo/selecciona-articulo.component.d.ts +2 -2
- package/lib/components/selecciona-articulo/stock.service.d.ts +2 -2
- package/lib/components/serieDocumento/services/serieDocumento.service.d.ts +2 -2
- package/lib/components/tipo-contacto/services/tipoContacto.service.d.ts +2 -2
- package/lib/components/ubicacion/services/ubicacion.service.d.ts +2 -2
- package/lib/contabilidad/componentes/cclista/cclista.component.d.ts +2 -2
- package/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.d.ts +2 -2
- package/lib/contabilidad/servicios/cuentacontable.service.d.ts +2 -2
- package/lib/httpInterceptor/httpInterceptor.d.ts +2 -2
- package/lib/services/auth.service.d.ts +2 -2
- package/lib/services/authenticated.service.d.ts +2 -2
- package/lib/services/canActivateGuard.service.ts.d.ts +2 -2
- package/lib/services/catalogo-adicional.service.d.ts +2 -2
- package/lib/services/controlAcceso.service.d.ts +2 -2
- package/lib/services/file.service.d.ts +2 -2
- package/lib/services/init.service.d.ts +2 -2
- package/lib/services/message.service.d.ts +2 -2
- package/lib/services/paginate.service.d.ts +2 -2
- package/lib/services/personaMoral.service.d.ts +2 -2
- package/lib/services/versionCheck.service.d.ts +2 -2
- package/package.json +8 -8
- package/bundles/visorus-erp-core.umd.min.js +0 -2
- package/bundles/visorus-erp-core.umd.min.js.map +0 -1
|
@@ -1,47 +1,84 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, EventEmitter, Component, Input, Output, ViewChild, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
4
|
+
import { HttpHeaders, HTTP_INTERCEPTORS, HttpClient } from '@angular/common/http';
|
|
5
|
+
import * as i5 from '@angular/forms';
|
|
6
|
+
import { FormsModule } from '@angular/forms';
|
|
7
|
+
import * as i6 from 'primeng/inputtext';
|
|
8
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
9
|
+
import * as i4 from 'primeng/treetable';
|
|
10
|
+
import { TreeTableModule } from 'primeng/treetable';
|
|
11
|
+
import * as i4$1 from 'primeng/api';
|
|
12
|
+
import { ConfirmationService } from 'primeng/api';
|
|
13
|
+
import * as i8 from '@angular/common';
|
|
14
|
+
import { CommonModule } from '@angular/common';
|
|
15
|
+
import * as i7 from 'primeng/button';
|
|
16
|
+
import { ButtonModule } from 'primeng/button';
|
|
17
|
+
import * as i4$2 from 'primeng/dialog';
|
|
18
|
+
import { DialogModule } from 'primeng/dialog';
|
|
10
19
|
import { Subject, throwError, of } from 'rxjs';
|
|
11
20
|
import { catchError, tap } from 'rxjs/internal/operators';
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
21
|
+
import * as i1$1 from 'ngx-toastr';
|
|
22
|
+
import { ToastrModule } from 'ngx-toastr';
|
|
23
|
+
import * as i3 from '@ngx-translate/core';
|
|
24
|
+
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
14
25
|
import { debounceTime } from 'rxjs/operators';
|
|
15
|
-
import
|
|
26
|
+
import * as i3$1 from '@angular/platform-browser';
|
|
16
27
|
import { __awaiter } from 'tslib';
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
28
|
+
import * as i8$1 from 'primeng/table';
|
|
29
|
+
import { TableModule } from 'primeng/table';
|
|
30
|
+
import * as i10 from 'primeng/paginator';
|
|
31
|
+
import { PaginatorModule } from 'primeng/paginator';
|
|
32
|
+
import * as i23 from 'primeng/dropdown';
|
|
19
33
|
import { DropdownModule } from 'primeng/dropdown';
|
|
34
|
+
import * as i24 from 'primeng/inputmask';
|
|
20
35
|
import { InputMaskModule } from 'primeng/inputmask';
|
|
36
|
+
import * as i25 from 'primeng/messages';
|
|
21
37
|
import { MessagesModule } from 'primeng/messages';
|
|
38
|
+
import * as i26 from 'primeng/message';
|
|
22
39
|
import { MessageModule } from 'primeng/message';
|
|
40
|
+
import * as i28 from 'primeng/confirmdialog';
|
|
23
41
|
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
42
|
+
import * as i29 from 'primeng/progressbar';
|
|
24
43
|
import { ProgressBarModule } from 'primeng/progressbar';
|
|
44
|
+
import * as i30 from 'primeng/tristatecheckbox';
|
|
25
45
|
import { TriStateCheckboxModule } from 'primeng/tristatecheckbox';
|
|
46
|
+
import * as i31 from 'primeng/keyfilter';
|
|
26
47
|
import { KeyFilterModule } from 'primeng/keyfilter';
|
|
48
|
+
import * as i32 from 'primeng/inputswitch';
|
|
27
49
|
import { InputSwitchModule } from 'primeng/inputswitch';
|
|
50
|
+
import * as i34 from 'primeng/tabview';
|
|
28
51
|
import { TabViewModule } from 'primeng/tabview';
|
|
52
|
+
import * as i20 from 'primeng/calendar';
|
|
29
53
|
import { CalendarModule } from 'primeng/calendar';
|
|
54
|
+
import * as i35 from 'primeng/panel';
|
|
30
55
|
import { PanelModule } from 'primeng/panel';
|
|
56
|
+
import * as i17 from 'primeng/autocomplete';
|
|
31
57
|
import { AutoCompleteModule } from 'primeng/autocomplete';
|
|
58
|
+
import * as i38 from 'primeng/fieldset';
|
|
32
59
|
import { FieldsetModule } from 'primeng/fieldset';
|
|
60
|
+
import * as i16 from 'primeng/checkbox';
|
|
33
61
|
import { CheckboxModule } from 'primeng/checkbox';
|
|
62
|
+
import * as i39 from 'primeng/tree';
|
|
34
63
|
import { TreeModule } from 'primeng/tree';
|
|
64
|
+
import * as i15 from 'primeng/radiobutton';
|
|
35
65
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
66
|
+
import * as i40 from 'primeng/tabmenu';
|
|
36
67
|
import { TabMenuModule } from 'primeng/tabmenu';
|
|
68
|
+
import * as i14 from 'primeng/overlaypanel';
|
|
37
69
|
import { OverlayPanelModule } from 'primeng/overlaypanel';
|
|
70
|
+
import * as i13 from 'primeng/tooltip';
|
|
38
71
|
import { TooltipModule } from 'primeng/tooltip';
|
|
72
|
+
import * as i12 from 'primeng/card';
|
|
39
73
|
import { CardModule } from 'primeng/card';
|
|
74
|
+
import * as i41 from 'primeng/menubar';
|
|
40
75
|
import { MenubarModule } from 'primeng/menubar';
|
|
76
|
+
import * as i37 from 'primeng/splitbutton';
|
|
41
77
|
import { SplitButtonModule } from 'primeng/splitbutton';
|
|
78
|
+
import * as i36 from 'primeng/toolbar';
|
|
42
79
|
import { ToolbarModule } from 'primeng/toolbar';
|
|
43
80
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
44
|
-
import
|
|
81
|
+
import * as i3$2 from '@angular/router';
|
|
45
82
|
|
|
46
83
|
class GlobalService {
|
|
47
84
|
constructor(http) {
|
|
@@ -150,88 +187,88 @@ class CuentaContableService extends CrudService {
|
|
|
150
187
|
return this.httpClient.get(this.getUrl('cuentaContable') + '/obtieneCuentasContablesRecursivo', this.buildAuth());
|
|
151
188
|
}
|
|
152
189
|
}
|
|
153
|
-
/** @nocollapse */ CuentaContableService.ɵfac = function CuentaContableService_Factory(t) { return new (t || CuentaContableService)(
|
|
154
|
-
/** @nocollapse */ CuentaContableService.ɵprov =
|
|
155
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
190
|
+
/** @nocollapse */ CuentaContableService.ɵfac = function CuentaContableService_Factory(t) { return new (t || CuentaContableService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
191
|
+
/** @nocollapse */ CuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CuentaContableService, factory: CuentaContableService.ɵfac, providedIn: 'root' });
|
|
192
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CuentaContableService, [{
|
|
156
193
|
type: Injectable,
|
|
157
194
|
args: [{
|
|
158
195
|
providedIn: 'root'
|
|
159
196
|
}]
|
|
160
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
197
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
161
198
|
|
|
162
199
|
function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
200
|
+
i0.ɵɵelementStart(0, "tr");
|
|
201
|
+
i0.ɵɵelementStart(1, "th", 5);
|
|
202
|
+
i0.ɵɵtext(2, "Cuenta contable");
|
|
203
|
+
i0.ɵɵelementEnd();
|
|
204
|
+
i0.ɵɵelementStart(3, "th", 5);
|
|
205
|
+
i0.ɵɵtext(4, "Descripci\u00F3n");
|
|
206
|
+
i0.ɵɵelementEnd();
|
|
207
|
+
i0.ɵɵelementStart(5, "th", 6);
|
|
208
|
+
i0.ɵɵtext(6, "Naturaleza");
|
|
209
|
+
i0.ɵɵelementEnd();
|
|
210
|
+
i0.ɵɵelementStart(7, "th", 7);
|
|
211
|
+
i0.ɵɵtext(8, "Tipo");
|
|
212
|
+
i0.ɵɵelementEnd();
|
|
213
|
+
i0.ɵɵelementStart(9, "th", 8);
|
|
214
|
+
i0.ɵɵtext(10, "Acciones");
|
|
215
|
+
i0.ɵɵelementEnd();
|
|
216
|
+
i0.ɵɵelementEnd();
|
|
180
217
|
} }
|
|
181
218
|
function CclistaComponent_ng_template_4_button_12_Template(rf, ctx) { if (rf & 1) {
|
|
182
|
-
const _r8 =
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
219
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
220
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
221
|
+
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const rowData_r3 = i0.ɵɵnextContext().rowData; const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.selectCuentaContable(rowData_r3); });
|
|
222
|
+
i0.ɵɵelementEnd();
|
|
186
223
|
} }
|
|
187
224
|
function CclistaComponent_ng_template_4_button_13_Template(rf, ctx) { if (rf & 1) {
|
|
188
|
-
const _r11 =
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
225
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
226
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
227
|
+
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r11); const rowData_r3 = i0.ɵɵnextContext().rowData; const ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.selectCuentaContable(rowData_r3); });
|
|
228
|
+
i0.ɵɵelementEnd();
|
|
192
229
|
} }
|
|
193
230
|
function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
231
|
+
i0.ɵɵelementStart(0, "tr");
|
|
232
|
+
i0.ɵɵelementStart(1, "td", 9);
|
|
233
|
+
i0.ɵɵelement(2, "p-treeTableToggler", 10);
|
|
234
|
+
i0.ɵɵtext(3);
|
|
235
|
+
i0.ɵɵelementEnd();
|
|
236
|
+
i0.ɵɵelementStart(4, "td", 9);
|
|
237
|
+
i0.ɵɵtext(5);
|
|
238
|
+
i0.ɵɵelementEnd();
|
|
239
|
+
i0.ɵɵelementStart(6, "td", 11);
|
|
240
|
+
i0.ɵɵtext(7);
|
|
241
|
+
i0.ɵɵelementEnd();
|
|
242
|
+
i0.ɵɵelementStart(8, "td", 12);
|
|
243
|
+
i0.ɵɵtext(9);
|
|
244
|
+
i0.ɵɵelementEnd();
|
|
245
|
+
i0.ɵɵelementStart(10, "td", 13);
|
|
246
|
+
i0.ɵɵelementStart(11, "div", 14);
|
|
247
|
+
i0.ɵɵtemplate(12, CclistaComponent_ng_template_4_button_12_Template, 1, 0, "button", 15);
|
|
248
|
+
i0.ɵɵtemplate(13, CclistaComponent_ng_template_4_button_13_Template, 1, 0, "button", 15);
|
|
249
|
+
i0.ɵɵelementEnd();
|
|
250
|
+
i0.ɵɵelementEnd();
|
|
251
|
+
i0.ɵɵelementEnd();
|
|
215
252
|
} if (rf & 2) {
|
|
216
253
|
const rowNode_r2 = ctx.$implicit;
|
|
217
254
|
const rowData_r3 = ctx.rowData;
|
|
218
|
-
const ctx_r1 =
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
255
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
256
|
+
i0.ɵɵadvance(2);
|
|
257
|
+
i0.ɵɵproperty("rowNode", rowNode_r2);
|
|
258
|
+
i0.ɵɵadvance(1);
|
|
259
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r3.cuentaContable, " ");
|
|
260
|
+
i0.ɵɵadvance(2);
|
|
261
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r3.descripcion, " ");
|
|
262
|
+
i0.ɵɵadvance(2);
|
|
263
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r3.naturaleza, " ");
|
|
264
|
+
i0.ɵɵadvance(2);
|
|
265
|
+
i0.ɵɵtextInterpolate1(" ", rowData_r3.tipo, " ");
|
|
266
|
+
i0.ɵɵadvance(3);
|
|
267
|
+
i0.ɵɵproperty("ngIf", ctx_r1.typeAccount == 1 && rowData_r3.cuentaRegistro);
|
|
268
|
+
i0.ɵɵadvance(1);
|
|
269
|
+
i0.ɵɵproperty("ngIf", ctx_r1.typeAccount == 2 && !rowData_r3.cuentaRegistro);
|
|
233
270
|
} }
|
|
234
|
-
const _c0 = function () { return { width: "100%" }; };
|
|
271
|
+
const _c0$7 = function () { return { width: "100%" }; };
|
|
235
272
|
class CclistaComponent {
|
|
236
273
|
constructor(_cuentaContableService) {
|
|
237
274
|
this._cuentaContableService = _cuentaContableService;
|
|
@@ -391,24 +428,24 @@ class CclistaComponent {
|
|
|
391
428
|
}
|
|
392
429
|
}
|
|
393
430
|
}
|
|
394
|
-
/** @nocollapse */ CclistaComponent.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(
|
|
395
|
-
/** @nocollapse */ CclistaComponent.ɵcmp =
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
431
|
+
/** @nocollapse */ CclistaComponent.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(i0.ɵɵdirectiveInject(CuentaContableService)); };
|
|
432
|
+
/** @nocollapse */ CclistaComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CclistaComponent, selectors: [["lib-cclista"]], inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 5, vars: 8, consts: [["type", "text", "pInputText", "", "placeholder", "Cuenta o descripci\u00F3n", 2, "width", "100%", 3, "ngModel", "ngModelChange", "keyup"], [2, "padding", "10px"], [3, "value", "scrollable", "scrollHeight", "resizableColumns"], ["pTemplate", "header"], ["pTemplate", "body", "style", "width: 100%;"], [2, "width", "150px"], [2, "width", "90px"], [2, "width", "60px"], [2, "width", "200px"], [1, "ui-resizable-column", 2, "width", "150px"], [3, "rowNode"], [1, "ui-resizable-column", 2, "width", "90px"], [1, "ui-resizable-column", 2, "width", "60px"], [1, "ui-resizable-column", 2, "width", "200px"], [1, "button-row"], ["pButton", "", "type", "button", "icon", "pi pi-check", "class", "ui-button-raised ui-button-success", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "icon", "pi pi-check", 1, "ui-button-raised", "ui-button-success", 3, "click"]], template: function CclistaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
433
|
+
i0.ɵɵelementStart(0, "input", 0);
|
|
434
|
+
i0.ɵɵlistener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_0_listener($event) { return ctx.query = $event; })("keyup", function CclistaComponent_Template_input_keyup_0_listener($event) { return ctx.filterAccounts($event); });
|
|
435
|
+
i0.ɵɵelementEnd();
|
|
436
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
437
|
+
i0.ɵɵelementStart(2, "p-treeTable", 2);
|
|
438
|
+
i0.ɵɵtemplate(3, CclistaComponent_ng_template_3_Template, 11, 0, "ng-template", 3);
|
|
439
|
+
i0.ɵɵtemplate(4, CclistaComponent_ng_template_4_Template, 14, 7, "ng-template", 4);
|
|
440
|
+
i0.ɵɵelementEnd();
|
|
441
|
+
i0.ɵɵelementEnd();
|
|
405
442
|
} if (rf & 2) {
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
} }, directives: [DefaultValueAccessor, InputText, NgControlStatus, NgModel, TreeTable, PrimeTemplate, TreeTableToggler, NgIf, ButtonDirective], styles: [""] });
|
|
411
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
443
|
+
i0.ɵɵproperty("ngModel", ctx.query);
|
|
444
|
+
i0.ɵɵadvance(2);
|
|
445
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0$7));
|
|
446
|
+
i0.ɵɵproperty("value", ctx.cuentasContables ? ctx.cuentasContables : ctx.tempAccounts)("scrollable", true)("scrollHeight", ctx.maxH + "px")("resizableColumns", true);
|
|
447
|
+
} }, directives: [i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i4.TreeTable, i4$1.PrimeTemplate, i4.TreeTableToggler, i8.NgIf, i7.ButtonDirective], styles: [""] });
|
|
448
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CclistaComponent, [{
|
|
412
449
|
type: Component,
|
|
413
450
|
args: [{
|
|
414
451
|
selector: 'lib-cclista',
|
|
@@ -423,8 +460,8 @@ class CclistaComponent {
|
|
|
423
460
|
type: Output
|
|
424
461
|
}] }); })();
|
|
425
462
|
|
|
426
|
-
const _c0$
|
|
427
|
-
const _c1 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
463
|
+
const _c0$6 = ["dialog"];
|
|
464
|
+
const _c1$3 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
428
465
|
const _c2 = function (a0) { return { "height": a0 }; };
|
|
429
466
|
class CcseleccionDialogComponent {
|
|
430
467
|
constructor() {
|
|
@@ -448,29 +485,29 @@ class CcseleccionDialogComponent {
|
|
|
448
485
|
}
|
|
449
486
|
}
|
|
450
487
|
/** @nocollapse */ CcseleccionDialogComponent.ɵfac = function CcseleccionDialogComponent_Factory(t) { return new (t || CcseleccionDialogComponent)(); };
|
|
451
|
-
/** @nocollapse */ CcseleccionDialogComponent.ɵcmp =
|
|
452
|
-
|
|
488
|
+
/** @nocollapse */ CcseleccionDialogComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CcseleccionDialogComponent, selectors: [["lib-ccseleccion-dialog"]], viewQuery: function CcseleccionDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
489
|
+
i0.ɵɵviewQuery(_c0$6, 7);
|
|
453
490
|
} if (rf & 2) {
|
|
454
491
|
let _t;
|
|
455
|
-
|
|
492
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialog = _t.first);
|
|
456
493
|
} }, inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 3, vars: 17, consts: [["header", "Selecciona cuenta contable", 3, "visible", "modal", "minY", "baseZIndex", "blockScroll", "draggable", "maximizable", "visibleChange", "onHide"], [1, "padding10", 3, "ngStyle"], [3, "isShared", "typeAccount", "evSelectedAccount"]], template: function CcseleccionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
494
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
495
|
+
i0.ɵɵlistener("visibleChange", function CcseleccionDialogComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.displayShowCuentas = $event; })("onHide", function CcseleccionDialogComponent_Template_p_dialog_onHide_0_listener($event) { return ctx.hiddenDialog($event); });
|
|
496
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
497
|
+
i0.ɵɵelementStart(2, "lib-cclista", 2);
|
|
498
|
+
i0.ɵɵlistener("evSelectedAccount", function CcseleccionDialogComponent_Template_lib_cclista_evSelectedAccount_2_listener($event) { return ctx.getAccount($event); });
|
|
499
|
+
i0.ɵɵelementEnd();
|
|
500
|
+
i0.ɵɵelementEnd();
|
|
501
|
+
i0.ɵɵelementEnd();
|
|
465
502
|
} if (rf & 2) {
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
} }, directives: [Dialog, NgStyle, CclistaComponent], styles: [""] });
|
|
473
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
503
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(13, _c1$3, ctx.size + "px"));
|
|
504
|
+
i0.ɵɵproperty("visible", ctx.displayShowCuentas)("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
505
|
+
i0.ɵɵadvance(1);
|
|
506
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
|
|
507
|
+
i0.ɵɵadvance(1);
|
|
508
|
+
i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
|
|
509
|
+
} }, directives: [i4$2.Dialog, i8.NgStyle, CclistaComponent], styles: [""] });
|
|
510
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcseleccionDialogComponent, [{
|
|
474
511
|
type: Component,
|
|
475
512
|
args: [{
|
|
476
513
|
selector: 'lib-ccseleccion-dialog',
|
|
@@ -502,8 +539,8 @@ class LoginModalService {
|
|
|
502
539
|
}
|
|
503
540
|
}
|
|
504
541
|
/** @nocollapse */ LoginModalService.ɵfac = function LoginModalService_Factory(t) { return new (t || LoginModalService)(); };
|
|
505
|
-
/** @nocollapse */ LoginModalService.ɵprov =
|
|
506
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
542
|
+
/** @nocollapse */ LoginModalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoginModalService, factory: LoginModalService.ɵfac, providedIn: 'root' });
|
|
543
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalService, [{
|
|
507
544
|
type: Injectable,
|
|
508
545
|
args: [{
|
|
509
546
|
providedIn: 'root'
|
|
@@ -532,8 +569,8 @@ class LoadingScreenService {
|
|
|
532
569
|
}
|
|
533
570
|
}
|
|
534
571
|
/** @nocollapse */ LoadingScreenService.ɵfac = function LoadingScreenService_Factory(t) { return new (t || LoadingScreenService)(); };
|
|
535
|
-
/** @nocollapse */ LoadingScreenService.ɵprov =
|
|
536
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
572
|
+
/** @nocollapse */ LoadingScreenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingScreenService, factory: LoadingScreenService.ɵfac, providedIn: 'root' });
|
|
573
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenService, [{
|
|
537
574
|
type: Injectable,
|
|
538
575
|
args: [{
|
|
539
576
|
providedIn: 'root'
|
|
@@ -614,11 +651,11 @@ class httpInterceptor {
|
|
|
614
651
|
}
|
|
615
652
|
}
|
|
616
653
|
}
|
|
617
|
-
/** @nocollapse */ httpInterceptor.ɵfac = function httpInterceptor_Factory(t) { return new (t || httpInterceptor)(
|
|
618
|
-
/** @nocollapse */ httpInterceptor.ɵprov =
|
|
619
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
654
|
+
/** @nocollapse */ httpInterceptor.ɵfac = function httpInterceptor_Factory(t) { return new (t || httpInterceptor)(i0.ɵɵinject(LoginModalService), i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(LoadingScreenService)); };
|
|
655
|
+
/** @nocollapse */ httpInterceptor.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: httpInterceptor, factory: httpInterceptor.ɵfac });
|
|
656
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(httpInterceptor, [{
|
|
620
657
|
type: Injectable
|
|
621
|
-
}], function () { return [{ type: LoginModalService }, { type: ToastrService }, { type: LoadingScreenService }]; }, null); })();
|
|
658
|
+
}], function () { return [{ type: LoginModalService }, { type: i1$1.ToastrService }, { type: LoadingScreenService }]; }, null); })();
|
|
622
659
|
|
|
623
660
|
class Error404Component {
|
|
624
661
|
constructor() { }
|
|
@@ -626,25 +663,25 @@ class Error404Component {
|
|
|
626
663
|
}
|
|
627
664
|
}
|
|
628
665
|
/** @nocollapse */ Error404Component.ɵfac = function Error404Component_Factory(t) { return new (t || Error404Component)(); };
|
|
629
|
-
/** @nocollapse */ Error404Component.ɵcmp =
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
666
|
+
/** @nocollapse */ Error404Component.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: Error404Component, selectors: [["app-error404"]], decls: 9, vars: 0, consts: [[1, "col-md-12", "sec_sof"], [1, "row"], [1, "col", "col-center"], [1, "center"], [1, "error"], [1, "col-12"]], template: function Error404Component_Template(rf, ctx) { if (rf & 1) {
|
|
667
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
668
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
669
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
670
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
671
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
672
|
+
i0.ɵɵtext(5, " Error 404 ");
|
|
673
|
+
i0.ɵɵelementEnd();
|
|
674
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
675
|
+
i0.ɵɵelementStart(7, "p");
|
|
676
|
+
i0.ɵɵtext(8, "La pagina solicitada no fue encontrada");
|
|
677
|
+
i0.ɵɵelementEnd();
|
|
678
|
+
i0.ɵɵelementEnd();
|
|
679
|
+
i0.ɵɵelementEnd();
|
|
680
|
+
i0.ɵɵelementEnd();
|
|
681
|
+
i0.ɵɵelementEnd();
|
|
682
|
+
i0.ɵɵelementEnd();
|
|
646
683
|
} }, styles: [".error[_ngcontent-%COMP%]{font-size:70px}"] });
|
|
647
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
684
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Error404Component, [{
|
|
648
685
|
type: Component,
|
|
649
686
|
args: [{
|
|
650
687
|
selector: 'app-error404',
|
|
@@ -671,8 +708,8 @@ class LoadingService {
|
|
|
671
708
|
}
|
|
672
709
|
}
|
|
673
710
|
/** @nocollapse */ LoadingService.ɵfac = function LoadingService_Factory(t) { return new (t || LoadingService)(); };
|
|
674
|
-
/** @nocollapse */ LoadingService.ɵprov =
|
|
675
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
711
|
+
/** @nocollapse */ LoadingService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: 'root' });
|
|
712
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
676
713
|
type: Injectable,
|
|
677
714
|
args: [{
|
|
678
715
|
providedIn: 'root'
|
|
@@ -700,38 +737,38 @@ class LoadingComponent {
|
|
|
700
737
|
});
|
|
701
738
|
}
|
|
702
739
|
}
|
|
703
|
-
/** @nocollapse */ LoadingComponent.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(
|
|
704
|
-
/** @nocollapse */ LoadingComponent.ɵcmp =
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
740
|
+
/** @nocollapse */ LoadingComponent.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); };
|
|
741
|
+
/** @nocollapse */ LoadingComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["loading"]], inputs: { logo_loading: "logo_loading" }, decls: 14, vars: 4, consts: [["id", "modal_loading", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalScrollableTitle", "data-backdrop", "static", "data-keyboard", "false", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-scrollable"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], [1, "col-lg-4", "col-md-4", "col-sm-10"], [1, "loader"], [1, "box"], [1, "code"], ["width", "200px", 3, "src"], [1, "txt"]], template: function LoadingComponent_Template(rf, ctx) { if (rf & 1) {
|
|
742
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
743
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
744
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
745
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
746
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
747
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
748
|
+
i0.ɵɵelementStart(6, "div", 6);
|
|
749
|
+
i0.ɵɵelement(7, "span", 7);
|
|
750
|
+
i0.ɵɵelement(8, "span", 7);
|
|
751
|
+
i0.ɵɵelementStart(9, "div", 8);
|
|
752
|
+
i0.ɵɵelement(10, "img", 9);
|
|
753
|
+
i0.ɵɵelementEnd();
|
|
754
|
+
i0.ɵɵelementStart(11, "span", 10);
|
|
755
|
+
i0.ɵɵtext(12);
|
|
756
|
+
i0.ɵɵpipe(13, "translate");
|
|
757
|
+
i0.ɵɵelementEnd();
|
|
758
|
+
i0.ɵɵelementEnd();
|
|
759
|
+
i0.ɵɵelementEnd();
|
|
760
|
+
i0.ɵɵelementEnd();
|
|
761
|
+
i0.ɵɵelementEnd();
|
|
762
|
+
i0.ɵɵelementEnd();
|
|
763
|
+
i0.ɵɵelementEnd();
|
|
764
|
+
i0.ɵɵelementEnd();
|
|
728
765
|
} if (rf & 2) {
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
} }, pipes: [TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:
|
|
734
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
766
|
+
i0.ɵɵadvance(10);
|
|
767
|
+
i0.ɵɵpropertyInterpolate("src", ctx.logo_loading, i0.ɵɵsanitizeUrl);
|
|
768
|
+
i0.ɵɵadvance(2);
|
|
769
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 2, "cargando"), "...");
|
|
770
|
+
} }, pipes: [i3.TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:\"Abel\",sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name: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:normal normal normal 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:a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}.modal[_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}"] });
|
|
771
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
735
772
|
type: Component,
|
|
736
773
|
args: [{
|
|
737
774
|
selector: 'loading',
|
|
@@ -766,30 +803,30 @@ class LoadingScreenComponent {
|
|
|
766
803
|
this.loadingSubscription.unsubscribe();
|
|
767
804
|
}
|
|
768
805
|
}
|
|
769
|
-
/** @nocollapse */ LoadingScreenComponent.ɵfac = function LoadingScreenComponent_Factory(t) { return new (t || LoadingScreenComponent)(
|
|
770
|
-
/** @nocollapse */ LoadingScreenComponent.ɵcmp =
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
} }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{z-index:100000;position:fixed;background-color
|
|
785
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
806
|
+
/** @nocollapse */ LoadingScreenComponent.ɵfac = function LoadingScreenComponent_Factory(t) { return new (t || LoadingScreenComponent)(i0.ɵɵdirectiveInject(LoadingScreenService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
807
|
+
/** @nocollapse */ LoadingScreenComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingScreenComponent, selectors: [["app-loading-screen"]], inputs: { logo_loading: "logo_loading" }, decls: 10, vars: 0, consts: [[1, "loading-screen-wrapper"], [1, "loading-screen-icon"], [1, "blobs"], [1, "blob-center"], [1, "blob"]], template: function LoadingScreenComponent_Template(rf, ctx) { if (rf & 1) {
|
|
808
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
809
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
810
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
811
|
+
i0.ɵɵelement(3, "div", 3);
|
|
812
|
+
i0.ɵɵelement(4, "div", 4);
|
|
813
|
+
i0.ɵɵelement(5, "div", 4);
|
|
814
|
+
i0.ɵɵelement(6, "div", 4);
|
|
815
|
+
i0.ɵɵelement(7, "div", 4);
|
|
816
|
+
i0.ɵɵelement(8, "div", 4);
|
|
817
|
+
i0.ɵɵelement(9, "div", 4);
|
|
818
|
+
i0.ɵɵelementEnd();
|
|
819
|
+
i0.ɵɵelementEnd();
|
|
820
|
+
i0.ɵɵelementEnd();
|
|
821
|
+
} }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg[_ngcontent-%COMP%]{display:none}.blobs[_ngcontent-%COMP%]{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs[_ngcontent-%COMP%] .blob-center[_ngcontent-%COMP%]{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob[_ngcontent-%COMP%]{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob[_ngcontent-%COMP%]:nth-child(1){animation-delay:.2s}.blob[_ngcontent-%COMP%]:nth-child(2){animation-delay:.4s}.blob[_ngcontent-%COMP%]:nth-child(3){animation-delay:.6s}.blob[_ngcontent-%COMP%]:nth-child(4){animation-delay:.8s}.blob[_ngcontent-%COMP%]:nth-child(5){animation-delay:1s}@keyframes 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%)}}"] });
|
|
822
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenComponent, [{
|
|
786
823
|
type: Component,
|
|
787
824
|
args: [{
|
|
788
825
|
selector: 'app-loading-screen',
|
|
789
826
|
templateUrl: './loading-screen.component.html',
|
|
790
827
|
styleUrls: ['./loading-screen.component.scss']
|
|
791
828
|
}]
|
|
792
|
-
}], function () { return [{ type: LoadingScreenService }, { type: ElementRef }, { type: ChangeDetectorRef }, { type: LoadingService }]; }, { logo_loading: [{
|
|
829
|
+
}], function () { return [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }]; }, { logo_loading: [{
|
|
793
830
|
type: Input
|
|
794
831
|
}] }); })();
|
|
795
832
|
|
|
@@ -808,8 +845,8 @@ class PdfModalService {
|
|
|
808
845
|
}
|
|
809
846
|
}
|
|
810
847
|
/** @nocollapse */ PdfModalService.ɵfac = function PdfModalService_Factory(t) { return new (t || PdfModalService)(); };
|
|
811
|
-
/** @nocollapse */ PdfModalService.ɵprov =
|
|
812
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
848
|
+
/** @nocollapse */ PdfModalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PdfModalService, factory: PdfModalService.ɵfac, providedIn: 'root' });
|
|
849
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalService, [{
|
|
813
850
|
type: Injectable,
|
|
814
851
|
args: [{
|
|
815
852
|
providedIn: 'root'
|
|
@@ -873,26 +910,26 @@ class FileService {
|
|
|
873
910
|
this.blobToDowload(this.base64ToBlob(base64, type), type, name);
|
|
874
911
|
}
|
|
875
912
|
}
|
|
876
|
-
/** @nocollapse */ FileService.ɵfac = function FileService_Factory(t) { return new (t || FileService)(
|
|
877
|
-
/** @nocollapse */ FileService.ɵprov =
|
|
878
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
913
|
+
/** @nocollapse */ FileService.ɵfac = function FileService_Factory(t) { return new (t || FileService)(i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(i3.TranslateService)); };
|
|
914
|
+
/** @nocollapse */ FileService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileService, factory: FileService.ɵfac, providedIn: 'root' });
|
|
915
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileService, [{
|
|
879
916
|
type: Injectable,
|
|
880
917
|
args: [{
|
|
881
918
|
providedIn: 'root'
|
|
882
919
|
}]
|
|
883
|
-
}], function () { return [{ type: ToastrService }, { type: TranslateService }]; }, null); })();
|
|
920
|
+
}], function () { return [{ type: i1$1.ToastrService }, { type: i3.TranslateService }]; }, null); })();
|
|
884
921
|
|
|
885
922
|
function PdfModalComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
923
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
924
|
+
i0.ɵɵelement(1, "iframe", 3);
|
|
925
|
+
i0.ɵɵelementEnd();
|
|
889
926
|
} if (rf & 2) {
|
|
890
|
-
const ctx_r0 =
|
|
891
|
-
|
|
892
|
-
|
|
927
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
928
|
+
i0.ɵɵadvance(1);
|
|
929
|
+
i0.ɵɵproperty("src", ctx_r0.domSanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64," + ctx_r0.pdfBase64), i0.ɵɵsanitizeResourceUrl);
|
|
893
930
|
} }
|
|
894
|
-
const _c0$
|
|
895
|
-
const _c1$
|
|
931
|
+
const _c0$5 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
932
|
+
const _c1$2 = function () { return { "overflow": "visible" }; };
|
|
896
933
|
class PdfModalComponent {
|
|
897
934
|
constructor(_pdfModalService, fileService, domSanitizer) {
|
|
898
935
|
this._pdfModalService = _pdfModalService;
|
|
@@ -957,26 +994,26 @@ class PdfModalComponent {
|
|
|
957
994
|
// iframe.contentWindow.print();
|
|
958
995
|
}
|
|
959
996
|
}
|
|
960
|
-
/** @nocollapse */ PdfModalComponent.ɵfac = function PdfModalComponent_Factory(t) { return new (t || PdfModalComponent)(
|
|
961
|
-
/** @nocollapse */ PdfModalComponent.ɵcmp =
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
997
|
+
/** @nocollapse */ PdfModalComponent.ɵfac = function PdfModalComponent_Factory(t) { return new (t || PdfModalComponent)(i0.ɵɵdirectiveInject(PdfModalService), i0.ɵɵdirectiveInject(FileService), i0.ɵɵdirectiveInject(i3$1.DomSanitizer)); };
|
|
998
|
+
/** @nocollapse */ PdfModalComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: PdfModalComponent, selectors: [["pdf-modal"]], decls: 2, vars: 15, consts: [[3, "visible", "modal", "minY", "baseZIndex", "blockScroll", "maximizable", "breakpoint", "contentStyle", "visibleChange"], ["style", "min-height: 90vh;", 4, "ngIf"], [2, "min-height", "90vh"], [2, "width", "100%", "height", "90vh", 3, "src"]], template: function PdfModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
999
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1000
|
+
i0.ɵɵlistener("visibleChange", function PdfModalComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.display = $event; });
|
|
1001
|
+
i0.ɵɵtemplate(1, PdfModalComponent_div_1_Template, 2, 1, "div", 1);
|
|
1002
|
+
i0.ɵɵelementEnd();
|
|
966
1003
|
} if (rf & 2) {
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
} }, directives: [Dialog, NgIf], styles: [".down[_ngcontent-%COMP%]{display:block}"] });
|
|
972
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1004
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(12, _c0$5, ctx.size + "px"));
|
|
1005
|
+
i0.ɵɵproperty("visible", ctx.display)("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("breakpoint", 840)("contentStyle", i0.ɵɵpureFunction0(14, _c1$2));
|
|
1006
|
+
i0.ɵɵadvance(1);
|
|
1007
|
+
i0.ɵɵproperty("ngIf", ctx.pdfBase64);
|
|
1008
|
+
} }, directives: [i4$2.Dialog, i8.NgIf], styles: [".down[_ngcontent-%COMP%]{display:block}"] });
|
|
1009
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalComponent, [{
|
|
973
1010
|
type: Component,
|
|
974
1011
|
args: [{
|
|
975
1012
|
selector: 'pdf-modal',
|
|
976
1013
|
templateUrl: './pdf-modal.component.html',
|
|
977
1014
|
styleUrls: ['./pdf-modal.component.css']
|
|
978
1015
|
}]
|
|
979
|
-
}], function () { return [{ type: PdfModalService }, { type: FileService }, { type: DomSanitizer }]; }, null); })();
|
|
1016
|
+
}], function () { return [{ type: PdfModalService }, { type: FileService }, { type: i3$1.DomSanitizer }]; }, null); })();
|
|
980
1017
|
|
|
981
1018
|
class Usuario {
|
|
982
1019
|
}
|
|
@@ -1168,105 +1205,105 @@ class AuthService {
|
|
|
1168
1205
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioActual', httpOptions);
|
|
1169
1206
|
}
|
|
1170
1207
|
}
|
|
1171
|
-
/** @nocollapse */ AuthService.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(
|
|
1172
|
-
/** @nocollapse */ AuthService.ɵprov =
|
|
1173
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1208
|
+
/** @nocollapse */ AuthService.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1209
|
+
/** @nocollapse */ AuthService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' });
|
|
1210
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1174
1211
|
type: Injectable,
|
|
1175
1212
|
args: [{
|
|
1176
1213
|
providedIn: 'root'
|
|
1177
1214
|
}]
|
|
1178
|
-
}], function () { return [{ type: HttpClient }]; }, { login: [{
|
|
1215
|
+
}], function () { return [{ type: i1.HttpClient }]; }, { login: [{
|
|
1179
1216
|
type: Output
|
|
1180
1217
|
}], seleccionEmpresa: [{
|
|
1181
1218
|
type: Output
|
|
1182
1219
|
}] }); })();
|
|
1183
1220
|
|
|
1184
1221
|
function LoginModalComponent_div_6_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1222
|
+
i0.ɵɵelementStart(0, "label", 19);
|
|
1223
|
+
i0.ɵɵtext(1);
|
|
1224
|
+
i0.ɵɵpipe(2, "translate");
|
|
1225
|
+
i0.ɵɵelementEnd();
|
|
1189
1226
|
} if (rf & 2) {
|
|
1190
|
-
|
|
1191
|
-
|
|
1227
|
+
i0.ɵɵadvance(1);
|
|
1228
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Usuario.errorLogin"));
|
|
1192
1229
|
} }
|
|
1193
1230
|
function LoginModalComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
1194
|
-
const _r6 =
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1231
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
1232
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
1233
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
1234
|
+
i0.ɵɵelementStart(2, "form", 9, 10);
|
|
1235
|
+
i0.ɵɵlistener("ngSubmit", function LoginModalComponent_div_6_Template_form_ngSubmit_2_listener() { i0.ɵɵrestoreView(_r6); const _r2 = i0.ɵɵreference(3); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.entrar(_r2); });
|
|
1236
|
+
i0.ɵɵtemplate(4, LoginModalComponent_div_6_label_4_Template, 3, 3, "label", 11);
|
|
1237
|
+
i0.ɵɵelementStart(5, "div", 12);
|
|
1238
|
+
i0.ɵɵelementStart(6, "label", 13);
|
|
1239
|
+
i0.ɵɵtext(7);
|
|
1240
|
+
i0.ɵɵpipe(8, "translate");
|
|
1241
|
+
i0.ɵɵelementEnd();
|
|
1242
|
+
i0.ɵɵelementStart(9, "input", 14, 15);
|
|
1243
|
+
i0.ɵɵlistener("ngModelChange", function LoginModalComponent_div_6_Template_input_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.user.username = $event; });
|
|
1244
|
+
i0.ɵɵpipe(11, "translate");
|
|
1245
|
+
i0.ɵɵelementEnd();
|
|
1246
|
+
i0.ɵɵelementEnd();
|
|
1247
|
+
i0.ɵɵelementStart(12, "div", 12);
|
|
1248
|
+
i0.ɵɵelementStart(13, "label", 16);
|
|
1249
|
+
i0.ɵɵtext(14);
|
|
1250
|
+
i0.ɵɵpipe(15, "translate");
|
|
1251
|
+
i0.ɵɵelementEnd();
|
|
1252
|
+
i0.ɵɵelementStart(16, "input", 17);
|
|
1253
|
+
i0.ɵɵlistener("ngModelChange", function LoginModalComponent_div_6_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.user.password = $event; });
|
|
1254
|
+
i0.ɵɵpipe(17, "translate");
|
|
1255
|
+
i0.ɵɵelementEnd();
|
|
1256
|
+
i0.ɵɵelementEnd();
|
|
1257
|
+
i0.ɵɵelementStart(18, "button", 18);
|
|
1258
|
+
i0.ɵɵtext(19, "entrar");
|
|
1259
|
+
i0.ɵɵelementEnd();
|
|
1260
|
+
i0.ɵɵelementEnd();
|
|
1261
|
+
i0.ɵɵelementEnd();
|
|
1262
|
+
i0.ɵɵelementEnd();
|
|
1226
1263
|
} if (rf & 2) {
|
|
1227
|
-
const ctx_r0 =
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1264
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1265
|
+
i0.ɵɵadvance(4);
|
|
1266
|
+
i0.ɵɵproperty("ngIf", ctx_r0.error);
|
|
1267
|
+
i0.ɵɵadvance(3);
|
|
1268
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, "Usuario.username"));
|
|
1269
|
+
i0.ɵɵadvance(2);
|
|
1270
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(11, 9, "Usuario.username"));
|
|
1271
|
+
i0.ɵɵproperty("ngModel", ctx_r0.user.username);
|
|
1272
|
+
i0.ɵɵadvance(5);
|
|
1273
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 11, "Usuario.password"));
|
|
1274
|
+
i0.ɵɵadvance(2);
|
|
1275
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(17, 13, "Usuario.password"));
|
|
1276
|
+
i0.ɵɵproperty("ngModel", ctx_r0.user.password);
|
|
1240
1277
|
} }
|
|
1241
1278
|
function LoginModalComponent_div_7_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1279
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
1280
|
+
i0.ɵɵelementStart(1, "div", 23);
|
|
1281
|
+
i0.ɵɵelementStart(2, "div", 24);
|
|
1282
|
+
i0.ɵɵelementStart(3, "h5");
|
|
1283
|
+
i0.ɵɵtext(4);
|
|
1284
|
+
i0.ɵɵelementEnd();
|
|
1285
|
+
i0.ɵɵelementEnd();
|
|
1286
|
+
i0.ɵɵelementEnd();
|
|
1287
|
+
i0.ɵɵelementEnd();
|
|
1251
1288
|
} if (rf & 2) {
|
|
1252
1289
|
const empresa_r10 = ctx.$implicit;
|
|
1253
|
-
|
|
1254
|
-
|
|
1290
|
+
i0.ɵɵadvance(4);
|
|
1291
|
+
i0.ɵɵtextInterpolate1(" ", empresa_r10.nombre, " ");
|
|
1255
1292
|
} }
|
|
1256
1293
|
function LoginModalComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1294
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
1295
|
+
i0.ɵɵelementStart(1, "div", 20);
|
|
1296
|
+
i0.ɵɵelementStart(2, "h4");
|
|
1297
|
+
i0.ɵɵtext(3, "Selecciona la empresa");
|
|
1298
|
+
i0.ɵɵelementEnd();
|
|
1299
|
+
i0.ɵɵelement(4, "hr");
|
|
1300
|
+
i0.ɵɵelementEnd();
|
|
1301
|
+
i0.ɵɵtemplate(5, LoginModalComponent_div_7_div_5_Template, 5, 1, "div", 21);
|
|
1302
|
+
i0.ɵɵelementEnd();
|
|
1266
1303
|
} if (rf & 2) {
|
|
1267
|
-
const ctx_r1 =
|
|
1268
|
-
|
|
1269
|
-
|
|
1304
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1305
|
+
i0.ɵɵadvance(5);
|
|
1306
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.empresas);
|
|
1270
1307
|
} }
|
|
1271
1308
|
class LoginModalComponent {
|
|
1272
1309
|
constructor(loginModalService, authService) {
|
|
@@ -1322,28 +1359,28 @@ class LoginModalComponent {
|
|
|
1322
1359
|
});
|
|
1323
1360
|
}
|
|
1324
1361
|
}
|
|
1325
|
-
/** @nocollapse */ LoginModalComponent.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(
|
|
1326
|
-
/** @nocollapse */ LoginModalComponent.ɵcmp =
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1362
|
+
/** @nocollapse */ LoginModalComponent.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); };
|
|
1363
|
+
/** @nocollapse */ LoginModalComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoginModalComponent, selectors: [["app-login-modal"]], decls: 8, vars: 2, consts: [["id", "modalLogin", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalCenterTitle", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], ["src", "assets/img/logo_visorus_loading.png", "alt", ""], ["class", "row", 4, "ngIf"], [1, "row"], [1, "col-lg-12", "col-md-12", "col-sm-12"], [3, "ngSubmit"], ["datoForm", "ngForm"], ["class", "error", 4, "ngIf"], [1, "form-group", "mb-3"], ["for", "exampleInputEmail1"], ["type", "text", "id", "exampleInputEmail1", "aria-describedby", "emailHelp", "name", "username", "required", "", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["username", "ngModel"], ["for", "exampleInputPassword1"], ["type", "password", "id", "exampleInputPassword1", "name", "password", "required", "", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["type", "submit", "translate", "", 1, "btn", "btn-primary_low", "btn-lg", "btn-block", "my-5", "text-light"], [1, "error"], [1, "col-xl-12", "col-lg-12", "col-sm-12"], ["class", "col-xl-6 col-lg-6 col-sm-12 mb-2", "style", "cursor: pointer", 4, "ngFor", "ngForOf"], [1, "col-xl-6", "col-lg-6", "col-sm-12", "mb-2", 2, "cursor", "pointer"], [1, "card"], [1, "card-body"]], template: function LoginModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1364
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
1365
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
1366
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
1367
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
1368
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
1369
|
+
i0.ɵɵelement(5, "img", 5);
|
|
1370
|
+
i0.ɵɵelementEnd();
|
|
1371
|
+
i0.ɵɵtemplate(6, LoginModalComponent_div_6_Template, 20, 15, "div", 6);
|
|
1372
|
+
i0.ɵɵtemplate(7, LoginModalComponent_div_7_Template, 6, 1, "div", 6);
|
|
1373
|
+
i0.ɵɵelementEnd();
|
|
1374
|
+
i0.ɵɵelementEnd();
|
|
1375
|
+
i0.ɵɵelementEnd();
|
|
1376
|
+
i0.ɵɵelementEnd();
|
|
1340
1377
|
} if (rf & 2) {
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
} }, directives: [NgIf,
|
|
1346
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1378
|
+
i0.ɵɵadvance(6);
|
|
1379
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1380
|
+
i0.ɵɵadvance(1);
|
|
1381
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1382
|
+
} }, directives: [i8.NgIf, i5.ɵNgNoValidate, i5.NgControlStatusGroup, i5.NgForm, i5.DefaultValueAccessor, i5.RequiredValidator, i5.NgControlStatus, i5.NgModel, i3.TranslateDirective, i8.NgForOf], pipes: [i3.TranslatePipe], styles: [".modal[_ngcontent-%COMP%]{z-index:2050!important}.btn-primary_low[_ngcontent-%COMP%]{background:#133659!important}.ng-valid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.ng-invalid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.card[_ngcontent-%COMP%]{background:#26baed;color:#fff}.card-body[_ngcontent-%COMP%]{padding:10px}"] });
|
|
1383
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1347
1384
|
type: Component,
|
|
1348
1385
|
args: [{
|
|
1349
1386
|
selector: 'app-login-modal',
|
|
@@ -1358,87 +1395,87 @@ class SessionCajaService extends CrudService {
|
|
|
1358
1395
|
this.httpClient = httpClient;
|
|
1359
1396
|
}
|
|
1360
1397
|
}
|
|
1361
|
-
/** @nocollapse */ SessionCajaService.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(
|
|
1362
|
-
/** @nocollapse */ SessionCajaService.ɵprov =
|
|
1363
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1398
|
+
/** @nocollapse */ SessionCajaService.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1399
|
+
/** @nocollapse */ SessionCajaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' });
|
|
1400
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
|
|
1364
1401
|
type: Injectable,
|
|
1365
1402
|
args: [{
|
|
1366
1403
|
providedIn: 'root'
|
|
1367
1404
|
}]
|
|
1368
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
1405
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
1369
1406
|
|
|
1370
1407
|
function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1408
|
+
i0.ɵɵelementStart(0, "a", 4);
|
|
1409
|
+
i0.ɵɵtext(1);
|
|
1410
|
+
i0.ɵɵelementEnd();
|
|
1374
1411
|
} if (rf & 2) {
|
|
1375
|
-
const ctx_r0 =
|
|
1376
|
-
|
|
1377
|
-
|
|
1412
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1413
|
+
i0.ɵɵadvance(1);
|
|
1414
|
+
i0.ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
|
|
1378
1415
|
} }
|
|
1379
1416
|
function SessionCreateComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1380
|
-
const _r4 =
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1417
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
1418
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
1419
|
+
i0.ɵɵelementStart(1, "div", 6);
|
|
1420
|
+
i0.ɵɵelementStart(2, "label", 7);
|
|
1421
|
+
i0.ɵɵtext(3, "Nombre de caja: ");
|
|
1422
|
+
i0.ɵɵelementEnd();
|
|
1423
|
+
i0.ɵɵelementStart(4, "input", 8);
|
|
1424
|
+
i0.ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.caja.nombre = $event; });
|
|
1425
|
+
i0.ɵɵelementEnd();
|
|
1426
|
+
i0.ɵɵelementEnd();
|
|
1427
|
+
i0.ɵɵelementStart(5, "div", 9);
|
|
1428
|
+
i0.ɵɵelementStart(6, "label", 10);
|
|
1429
|
+
i0.ɵɵtext(7, "Saldo: ");
|
|
1430
|
+
i0.ɵɵelementEnd();
|
|
1431
|
+
i0.ɵɵelementStart(8, "input", 11);
|
|
1432
|
+
i0.ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.session.monto = $event; });
|
|
1433
|
+
i0.ɵɵelementEnd();
|
|
1434
|
+
i0.ɵɵelementEnd();
|
|
1435
|
+
i0.ɵɵelementStart(9, "div", 9);
|
|
1436
|
+
i0.ɵɵelementStart(10, "label", 12);
|
|
1437
|
+
i0.ɵɵtext(11, "Numero Z:");
|
|
1438
|
+
i0.ɵɵelementEnd();
|
|
1439
|
+
i0.ɵɵelementStart(12, "input", 13);
|
|
1440
|
+
i0.ɵɵlistener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.session.z = $event; });
|
|
1441
|
+
i0.ɵɵelementEnd();
|
|
1442
|
+
i0.ɵɵelementEnd();
|
|
1443
|
+
i0.ɵɵelementEnd();
|
|
1407
1444
|
} if (rf & 2) {
|
|
1408
|
-
const ctx_r1 =
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1445
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1446
|
+
i0.ɵɵadvance(4);
|
|
1447
|
+
i0.ɵɵproperty("ngModel", ctx_r1.caja.nombre)("disabled", true);
|
|
1448
|
+
i0.ɵɵadvance(4);
|
|
1449
|
+
i0.ɵɵproperty("ngModel", ctx_r1.session.monto)("disabled", ctx_r1.editMode);
|
|
1450
|
+
i0.ɵɵadvance(4);
|
|
1451
|
+
i0.ɵɵproperty("ngModel", ctx_r1.session.z)("disabled", true);
|
|
1415
1452
|
} }
|
|
1416
1453
|
function SessionCreateComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
1417
|
-
const _r10 =
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1454
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
1455
|
+
i0.ɵɵelementStart(0, "button", 17);
|
|
1456
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(2); return ctx_r9.save(); });
|
|
1457
|
+
i0.ɵɵelementEnd();
|
|
1421
1458
|
} }
|
|
1422
1459
|
function SessionCreateComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
1423
|
-
const _r12 =
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1460
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
1461
|
+
i0.ɵɵelementStart(0, "button", 18);
|
|
1462
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(2); return ctx_r11.edit(); });
|
|
1463
|
+
i0.ɵɵelementEnd();
|
|
1427
1464
|
} }
|
|
1428
1465
|
function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1429
|
-
const _r14 =
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1466
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
1467
|
+
i0.ɵɵtemplate(0, SessionCreateComponent_ng_template_5_button_0_Template, 1, 0, "button", 14);
|
|
1468
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_5_button_1_Template, 1, 0, "button", 15);
|
|
1469
|
+
i0.ɵɵelementStart(2, "button", 16);
|
|
1470
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.closeModal(); });
|
|
1471
|
+
i0.ɵɵelementEnd();
|
|
1435
1472
|
} if (rf & 2) {
|
|
1436
|
-
const ctx_r2 =
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1473
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1474
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.editMode && ctx_r2.caja);
|
|
1475
|
+
i0.ɵɵadvance(1);
|
|
1476
|
+
i0.ɵɵproperty("ngIf", ctx_r2.editMode && ctx_r2.caja);
|
|
1440
1477
|
} }
|
|
1441
|
-
const _c0$
|
|
1478
|
+
const _c0$4 = function () { return { width: "750px" }; };
|
|
1442
1479
|
class SessionCreateComponent {
|
|
1443
1480
|
constructor(sessionCajaService) {
|
|
1444
1481
|
this.sessionCajaService = sessionCajaService;
|
|
@@ -1512,24 +1549,24 @@ class SessionCreateComponent {
|
|
|
1512
1549
|
});
|
|
1513
1550
|
}
|
|
1514
1551
|
}
|
|
1515
|
-
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(
|
|
1516
|
-
/** @nocollapse */ SessionCreateComponent.ɵcmp =
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1552
|
+
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); };
|
|
1553
|
+
/** @nocollapse */ SessionCreateComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SessionCreateComponent, selectors: [["session-create"]], inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, decls: 6, vars: 9, consts: [[3, "visible", "modal", "closeOnEscape", "closable", "blockScroll", "visibleChange", "onHide", "onShow"], ["pTemplate", "header"], ["class", "grid grid-fluid", 4, "ngIf"], ["pTemplate", "footer"], [1, "text-primary"], [1, "grid", "grid-fluid"], [1, "p-field", "col-12"], ["for", "nombreCaja"], ["pInputText", "", "type", "text", "id", "nombreCaja", 3, "ngModel", "disabled", "ngModelChange"], [1, "p-field", "col-12", "md:col-6"], ["for", "saldoCaja"], ["pInputText", "", "type", "number", "id", "saldoCaja", 3, "ngModel", "disabled", "ngModelChange"], ["for", "numeroZ"], ["pInputText", "", "type", "number", "id", "numeroZ", 3, "ngModel", "disabled", "ngModelChange"], ["pButton", "", "type", "button", "label", "Guardar", "class", "p-button-sm", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "label", "Cerrar session", "class", "p-button-sm p-button-success", 3, "click", 4, "ngIf"], ["pButton", "", "type", "button", "label", "Cancelar", 1, "p-button-sm", "p-button-danger", 3, "click"], ["pButton", "", "type", "button", "label", "Guardar", 1, "p-button-sm", 3, "click"], ["pButton", "", "type", "button", "label", "Cerrar session", 1, "p-button-sm", "p-button-success", 3, "click"]], template: function SessionCreateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1554
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1555
|
+
i0.ɵɵlistener("visibleChange", function SessionCreateComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showCreateSession = $event; })("onHide", function SessionCreateComponent_Template_p_dialog_onHide_0_listener() { return ctx.closeModal(); })("onShow", function SessionCreateComponent_Template_p_dialog_onShow_0_listener() { return ctx.setSession(); });
|
|
1556
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1557
|
+
i0.ɵɵtemplate(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1558
|
+
i0.ɵɵelementStart(3, "div");
|
|
1559
|
+
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1560
|
+
i0.ɵɵelementEnd();
|
|
1561
|
+
i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1562
|
+
i0.ɵɵelementEnd();
|
|
1526
1563
|
} if (rf & 2) {
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
} }, directives: [Dialog, PrimeTemplate, NgIf, DefaultValueAccessor, InputText, NgControlStatus, NgModel, NumberValueAccessor, ButtonDirective], styles: [""] });
|
|
1532
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1564
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$4));
|
|
1565
|
+
i0.ɵɵproperty("visible", ctx.showCreateSession)("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1566
|
+
i0.ɵɵadvance(2);
|
|
1567
|
+
i0.ɵɵproperty("ngIf", ctx.caja);
|
|
1568
|
+
} }, directives: [i4$2.Dialog, i4$1.PrimeTemplate, i8.NgIf, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i5.NumberValueAccessor, i7.ButtonDirective], styles: [""] });
|
|
1569
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1533
1570
|
type: Component,
|
|
1534
1571
|
args: [{
|
|
1535
1572
|
selector: 'session-create',
|
|
@@ -1597,14 +1634,14 @@ class ClienteService extends CrudService {
|
|
|
1597
1634
|
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
1598
1635
|
}
|
|
1599
1636
|
}
|
|
1600
|
-
/** @nocollapse */ ClienteService.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(
|
|
1601
|
-
/** @nocollapse */ ClienteService.ɵprov =
|
|
1602
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1637
|
+
/** @nocollapse */ ClienteService.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1638
|
+
/** @nocollapse */ ClienteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' });
|
|
1639
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
|
|
1603
1640
|
type: Injectable,
|
|
1604
1641
|
args: [{
|
|
1605
1642
|
providedIn: 'root'
|
|
1606
1643
|
}]
|
|
1607
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
1644
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
1608
1645
|
|
|
1609
1646
|
class PaginateService {
|
|
1610
1647
|
constructor(translate) {
|
|
@@ -1651,124 +1688,124 @@ class PaginateService {
|
|
|
1651
1688
|
return ordenar;
|
|
1652
1689
|
}
|
|
1653
1690
|
}
|
|
1654
|
-
/** @nocollapse */ PaginateService.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(
|
|
1655
|
-
/** @nocollapse */ PaginateService.ɵprov =
|
|
1656
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1691
|
+
/** @nocollapse */ PaginateService.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i3.TranslateService)); };
|
|
1692
|
+
/** @nocollapse */ PaginateService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" });
|
|
1693
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
|
|
1657
1694
|
type: Injectable,
|
|
1658
1695
|
args: [{
|
|
1659
1696
|
providedIn: "root"
|
|
1660
1697
|
}]
|
|
1661
|
-
}], function () { return [{ type: TranslateService }]; }, null); })();
|
|
1698
|
+
}], function () { return [{ type: i3.TranslateService }]; }, null); })();
|
|
1662
1699
|
|
|
1663
1700
|
function SelectClienteComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1701
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1702
|
+
i0.ɵɵelementStart(1, "th");
|
|
1703
|
+
i0.ɵɵtext(2);
|
|
1704
|
+
i0.ɵɵpipe(3, "translate");
|
|
1705
|
+
i0.ɵɵelementEnd();
|
|
1706
|
+
i0.ɵɵelementStart(4, "th");
|
|
1707
|
+
i0.ɵɵtext(5);
|
|
1708
|
+
i0.ɵɵpipe(6, "translate");
|
|
1709
|
+
i0.ɵɵelementEnd();
|
|
1710
|
+
i0.ɵɵelementStart(7, "th");
|
|
1711
|
+
i0.ɵɵtext(8);
|
|
1712
|
+
i0.ɵɵpipe(9, "translate");
|
|
1713
|
+
i0.ɵɵelementEnd();
|
|
1714
|
+
i0.ɵɵelementStart(10, "th");
|
|
1715
|
+
i0.ɵɵtext(11);
|
|
1716
|
+
i0.ɵɵpipe(12, "translate");
|
|
1717
|
+
i0.ɵɵelementEnd();
|
|
1718
|
+
i0.ɵɵelementStart(13, "th");
|
|
1719
|
+
i0.ɵɵtext(14);
|
|
1720
|
+
i0.ɵɵpipe(15, "translate");
|
|
1721
|
+
i0.ɵɵelementEnd();
|
|
1722
|
+
i0.ɵɵelementStart(16, "th");
|
|
1723
|
+
i0.ɵɵtext(17);
|
|
1724
|
+
i0.ɵɵpipe(18, "translate");
|
|
1725
|
+
i0.ɵɵelementEnd();
|
|
1726
|
+
i0.ɵɵelementEnd();
|
|
1690
1727
|
} if (rf & 2) {
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1728
|
+
i0.ɵɵadvance(2);
|
|
1729
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "clave"));
|
|
1730
|
+
i0.ɵɵadvance(3);
|
|
1731
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "razonSocial"));
|
|
1732
|
+
i0.ɵɵadvance(3);
|
|
1733
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
1734
|
+
i0.ɵɵadvance(3);
|
|
1735
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "Cliente.limiteCredito"));
|
|
1736
|
+
i0.ɵɵadvance(3);
|
|
1737
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "Cliente.plazoCredito"));
|
|
1738
|
+
i0.ɵɵadvance(3);
|
|
1739
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "Cliente.diasPago"));
|
|
1703
1740
|
} }
|
|
1704
1741
|
function SelectClienteComponent_ng_template_8_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1742
|
+
i0.ɵɵelementStart(0, "span");
|
|
1743
|
+
i0.ɵɵtext(1);
|
|
1744
|
+
i0.ɵɵpipe(2, "translate");
|
|
1745
|
+
i0.ɵɵelementEnd();
|
|
1709
1746
|
} if (rf & 2) {
|
|
1710
|
-
|
|
1711
|
-
|
|
1747
|
+
i0.ɵɵadvance(1);
|
|
1748
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
1712
1749
|
} }
|
|
1713
1750
|
function SelectClienteComponent_ng_template_8_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1751
|
+
i0.ɵɵelementStart(0, "span");
|
|
1752
|
+
i0.ɵɵtext(1);
|
|
1753
|
+
i0.ɵɵpipe(2, "translate");
|
|
1754
|
+
i0.ɵɵelementEnd();
|
|
1718
1755
|
} if (rf & 2) {
|
|
1719
|
-
|
|
1720
|
-
|
|
1756
|
+
i0.ɵɵadvance(1);
|
|
1757
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
1721
1758
|
} }
|
|
1722
1759
|
function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1760
|
+
i0.ɵɵelementStart(0, "tr", 8);
|
|
1761
|
+
i0.ɵɵelementStart(1, "td");
|
|
1762
|
+
i0.ɵɵtext(2);
|
|
1763
|
+
i0.ɵɵelementEnd();
|
|
1764
|
+
i0.ɵɵelementStart(3, "td");
|
|
1765
|
+
i0.ɵɵtext(4);
|
|
1766
|
+
i0.ɵɵelementEnd();
|
|
1767
|
+
i0.ɵɵelementStart(5, "td");
|
|
1768
|
+
i0.ɵɵtemplate(6, SelectClienteComponent_ng_template_8_span_6_Template, 3, 3, "span", 9);
|
|
1769
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_8_span_7_Template, 3, 3, "span", 9);
|
|
1770
|
+
i0.ɵɵelementEnd();
|
|
1771
|
+
i0.ɵɵelementStart(8, "td");
|
|
1772
|
+
i0.ɵɵtext(9);
|
|
1773
|
+
i0.ɵɵelementEnd();
|
|
1774
|
+
i0.ɵɵelementStart(10, "td");
|
|
1775
|
+
i0.ɵɵtext(11);
|
|
1776
|
+
i0.ɵɵelementEnd();
|
|
1777
|
+
i0.ɵɵelementStart(12, "td");
|
|
1778
|
+
i0.ɵɵtext(13);
|
|
1779
|
+
i0.ɵɵelementEnd();
|
|
1780
|
+
i0.ɵɵelementEnd();
|
|
1744
1781
|
} if (rf & 2) {
|
|
1745
1782
|
const cliente_r3 = ctx.$implicit;
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1783
|
+
i0.ɵɵproperty("pSelectableRow", cliente_r3);
|
|
1784
|
+
i0.ɵɵadvance(2);
|
|
1785
|
+
i0.ɵɵtextInterpolate(cliente_r3.codigo);
|
|
1786
|
+
i0.ɵɵadvance(2);
|
|
1787
|
+
i0.ɵɵtextInterpolate(cliente_r3.descripcionRazonSocial);
|
|
1788
|
+
i0.ɵɵadvance(2);
|
|
1789
|
+
i0.ɵɵproperty("ngIf", cliente_r3.personaFisica);
|
|
1790
|
+
i0.ɵɵadvance(1);
|
|
1791
|
+
i0.ɵɵproperty("ngIf", cliente_r3.personaMoral);
|
|
1792
|
+
i0.ɵɵadvance(2);
|
|
1793
|
+
i0.ɵɵtextInterpolate(cliente_r3.limiteCredito);
|
|
1794
|
+
i0.ɵɵadvance(2);
|
|
1795
|
+
i0.ɵɵtextInterpolate(cliente_r3.plazoCredito);
|
|
1796
|
+
i0.ɵɵadvance(2);
|
|
1797
|
+
i0.ɵɵtextInterpolate(cliente_r3.diasPago);
|
|
1761
1798
|
} }
|
|
1762
1799
|
function SelectClienteComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1800
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1801
|
+
i0.ɵɵelementStart(1, "td", 10);
|
|
1802
|
+
i0.ɵɵtext(2);
|
|
1803
|
+
i0.ɵɵpipe(3, "translate");
|
|
1804
|
+
i0.ɵɵelementEnd();
|
|
1805
|
+
i0.ɵɵelementEnd();
|
|
1769
1806
|
} if (rf & 2) {
|
|
1770
|
-
|
|
1771
|
-
|
|
1807
|
+
i0.ɵɵadvance(2);
|
|
1808
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "general.noRegistros"));
|
|
1772
1809
|
} }
|
|
1773
1810
|
class SelectClienteComponent {
|
|
1774
1811
|
constructor(clienteService, paginate) {
|
|
@@ -1825,38 +1862,38 @@ class SelectClienteComponent {
|
|
|
1825
1862
|
this.visible = false;
|
|
1826
1863
|
}
|
|
1827
1864
|
}
|
|
1828
|
-
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(
|
|
1829
|
-
/** @nocollapse */ SelectClienteComponent.ɵcmp =
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1865
|
+
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); };
|
|
1866
|
+
/** @nocollapse */ SelectClienteComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, decls: 10, vars: 17, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "scrollHeight", "350px", 3, "value", "lazy", "paginator", "rows", "totalRecords", "selection", "selectionMode", "scrollable", "loading", "onLazyLoad", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "pSelectableRow"], [4, "ngIf"], ["colspan", "6"]], template: function SelectClienteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1867
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1868
|
+
i0.ɵɵlistener("visibleChange", function SelectClienteComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectClienteComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrar(); })("onShow", function SelectClienteComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosClientes(); });
|
|
1869
|
+
i0.ɵɵpipe(1, "translate");
|
|
1870
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
1871
|
+
i0.ɵɵelementStart(3, "input", 2);
|
|
1872
|
+
i0.ɵɵlistener("ngModelChange", function SelectClienteComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectClienteComponent_Template_input_keyup_3_listener() { return ctx.aplicarFiltro(); });
|
|
1873
|
+
i0.ɵɵpipe(4, "translate");
|
|
1874
|
+
i0.ɵɵelementEnd();
|
|
1875
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1876
|
+
i0.ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1877
|
+
i0.ɵɵelementEnd();
|
|
1878
|
+
i0.ɵɵelementEnd();
|
|
1879
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1880
|
+
i0.ɵɵlistener("onLazyLoad", function SelectClienteComponent_Template_p_table_onLazyLoad_6_listener($event) { return ctx.cargarDatosClientes($event); })("selectionChange", function SelectClienteComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.clienteSeleccionado = $event; })("onRowSelect", function SelectClienteComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionaCliente($event); });
|
|
1881
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5);
|
|
1882
|
+
i0.ɵɵtemplate(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6);
|
|
1883
|
+
i0.ɵɵtemplate(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1884
|
+
i0.ɵɵelementEnd();
|
|
1885
|
+
i0.ɵɵelementEnd();
|
|
1849
1886
|
} if (rf & 2) {
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, SelectableRow, NgIf], pipes: [TranslatePipe], encapsulation: 2 });
|
|
1859
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1887
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 13, "Seleccionar cliente "));
|
|
1888
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
1889
|
+
i0.ɵɵadvance(3);
|
|
1890
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 15, "buscar"), "...");
|
|
1891
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1892
|
+
i0.ɵɵadvance(3);
|
|
1893
|
+
i0.ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1894
|
+
i0.ɵɵproperty("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total)("selection", ctx.clienteSeleccionado)("scrollable", true)("loading", ctx.loading);
|
|
1895
|
+
} }, directives: [i4$2.Dialog, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i7.ButtonDirective, i8$1.Table, i4$1.PrimeTemplate, i8$1.SelectableRow, i8.NgIf], pipes: [i3.TranslatePipe], encapsulation: 2 });
|
|
1896
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1860
1897
|
type: Component,
|
|
1861
1898
|
args: [{
|
|
1862
1899
|
selector: 'select-cliente',
|
|
@@ -1891,60 +1928,60 @@ class ProveedorService extends CrudService {
|
|
|
1891
1928
|
this.httpClient = httpClient;
|
|
1892
1929
|
}
|
|
1893
1930
|
}
|
|
1894
|
-
/** @nocollapse */ ProveedorService.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(
|
|
1895
|
-
/** @nocollapse */ ProveedorService.ɵprov =
|
|
1896
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1931
|
+
/** @nocollapse */ ProveedorService.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1932
|
+
/** @nocollapse */ ProveedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' });
|
|
1933
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
|
|
1897
1934
|
type: Injectable,
|
|
1898
1935
|
args: [{
|
|
1899
1936
|
providedIn: 'root'
|
|
1900
1937
|
}]
|
|
1901
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
1938
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
1902
1939
|
|
|
1903
1940
|
function SelectProveedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1941
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1942
|
+
i0.ɵɵelementStart(1, "th");
|
|
1943
|
+
i0.ɵɵtext(2);
|
|
1944
|
+
i0.ɵɵpipe(3, "translate");
|
|
1945
|
+
i0.ɵɵelementEnd();
|
|
1946
|
+
i0.ɵɵelementStart(4, "th");
|
|
1947
|
+
i0.ɵɵtext(5);
|
|
1948
|
+
i0.ɵɵpipe(6, "translate");
|
|
1949
|
+
i0.ɵɵelementEnd();
|
|
1950
|
+
i0.ɵɵelementStart(7, "th");
|
|
1951
|
+
i0.ɵɵtext(8);
|
|
1952
|
+
i0.ɵɵpipe(9, "translate");
|
|
1953
|
+
i0.ɵɵelementEnd();
|
|
1954
|
+
i0.ɵɵelementEnd();
|
|
1918
1955
|
} if (rf & 2) {
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1956
|
+
i0.ɵɵadvance(2);
|
|
1957
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 3, "clave"));
|
|
1958
|
+
i0.ɵɵadvance(3);
|
|
1959
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 5, "razonSocial"));
|
|
1960
|
+
i0.ɵɵadvance(3);
|
|
1961
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 7, "rfc"));
|
|
1925
1962
|
} }
|
|
1926
1963
|
function SelectProveedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1964
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1965
|
+
i0.ɵɵelementStart(1, "td");
|
|
1966
|
+
i0.ɵɵtext(2);
|
|
1967
|
+
i0.ɵɵelementEnd();
|
|
1968
|
+
i0.ɵɵelementStart(3, "td");
|
|
1969
|
+
i0.ɵɵtext(4);
|
|
1970
|
+
i0.ɵɵelementEnd();
|
|
1971
|
+
i0.ɵɵelementStart(5, "td");
|
|
1972
|
+
i0.ɵɵtext(6);
|
|
1973
|
+
i0.ɵɵelementEnd();
|
|
1974
|
+
i0.ɵɵelementEnd();
|
|
1938
1975
|
} if (rf & 2) {
|
|
1939
1976
|
const proveedor_r2 = ctx.rowData;
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1977
|
+
i0.ɵɵadvance(2);
|
|
1978
|
+
i0.ɵɵtextInterpolate(proveedor_r2.codigo);
|
|
1979
|
+
i0.ɵɵadvance(2);
|
|
1980
|
+
i0.ɵɵtextInterpolate(proveedor_r2.descripcionRazonSocial);
|
|
1981
|
+
i0.ɵɵadvance(2);
|
|
1982
|
+
i0.ɵɵtextInterpolate(proveedor_r2.descripcionRfc);
|
|
1946
1983
|
} }
|
|
1947
|
-
const _c0$
|
|
1984
|
+
const _c0$3 = function () { return [10, 25, 50, 100, 500]; };
|
|
1948
1985
|
class SelectProveedorComponent {
|
|
1949
1986
|
constructor(proveedorService, paginanateService, translate) {
|
|
1950
1987
|
this.proveedorService = proveedorService;
|
|
@@ -1984,47 +2021,47 @@ class SelectProveedorComponent {
|
|
|
1984
2021
|
this.visible = false;
|
|
1985
2022
|
}
|
|
1986
2023
|
}
|
|
1987
|
-
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(
|
|
1988
|
-
/** @nocollapse */ SelectProveedorComponent.ɵcmp =
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2024
|
+
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); };
|
|
2025
|
+
/** @nocollapse */ SelectProveedorComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 16, consts: [[3, "header", "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "change"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "valueChange", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"]], template: function SelectProveedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2026
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2027
|
+
i0.ɵɵlistener("visibleChange", function SelectProveedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectProveedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectProveedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosProveedores(); });
|
|
2028
|
+
i0.ɵɵpipe(1, "translate");
|
|
2029
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
2030
|
+
i0.ɵɵelementStart(3, "input", 2);
|
|
2031
|
+
i0.ɵɵlistener("ngModelChange", function SelectProveedorComponent_Template_input_ngModelChange_3_listener($event) { return ctx.page.filtro = $event; })("change", function SelectProveedorComponent_Template_input_change_3_listener() { return ctx.cargarDatosProveedores(); });
|
|
2032
|
+
i0.ɵɵpipe(4, "translate");
|
|
2033
|
+
i0.ɵɵelementEnd();
|
|
2034
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
2035
|
+
i0.ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
2036
|
+
i0.ɵɵelementEnd();
|
|
2037
|
+
i0.ɵɵelementEnd();
|
|
2038
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
2039
|
+
i0.ɵɵlistener("valueChange", function SelectProveedorComponent_Template_p_table_valueChange_6_listener($event) { return ctx.proveedores = $event; })("selectionChange", function SelectProveedorComponent_Template_p_table_selectionChange_6_listener($event) { return ctx.proveedorSeleccionado = $event; })("onRowSelect", function SelectProveedorComponent_Template_p_table_onRowSelect_6_listener($event) { return ctx.seleccionarProveedor($event); });
|
|
2040
|
+
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5);
|
|
2041
|
+
i0.ɵɵtemplate(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
2042
|
+
i0.ɵɵelementEnd();
|
|
2043
|
+
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
2044
|
+
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2045
|
+
i0.ɵɵelementEnd();
|
|
2046
|
+
i0.ɵɵelementEnd();
|
|
2010
2047
|
} if (rf & 2) {
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, Paginator], pipes: [TranslatePipe], encapsulation: 2 });
|
|
2021
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2048
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 11, "ArticuloProveedor.proveedores"));
|
|
2049
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
2050
|
+
i0.ɵɵadvance(3);
|
|
2051
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 13, "buscar"), "...");
|
|
2052
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2053
|
+
i0.ɵɵadvance(3);
|
|
2054
|
+
i0.ɵɵproperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado)("scrollable", true);
|
|
2055
|
+
i0.ɵɵadvance(3);
|
|
2056
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(15, _c0$3));
|
|
2057
|
+
} }, directives: [i4$2.Dialog, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i7.ButtonDirective, i8$1.Table, i4$1.PrimeTemplate, i10.Paginator], pipes: [i3.TranslatePipe], encapsulation: 2 });
|
|
2058
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
2022
2059
|
type: Component,
|
|
2023
2060
|
args: [{
|
|
2024
2061
|
templateUrl: 'select-proveedor.component.html',
|
|
2025
2062
|
selector: 'select-proveedor'
|
|
2026
2063
|
}]
|
|
2027
|
-
}], function () { return [{ type: ProveedorService }, { type: PaginateService }, { type: TranslateService }]; }, { visible: [{
|
|
2064
|
+
}], function () { return [{ type: ProveedorService }, { type: PaginateService }, { type: i3.TranslateService }]; }, { visible: [{
|
|
2028
2065
|
type: Input
|
|
2029
2066
|
}], proveedorSeleccionado: [{
|
|
2030
2067
|
type: Input
|
|
@@ -2042,14 +2079,14 @@ class AlmacenService extends CrudService {
|
|
|
2042
2079
|
return this.getHttp().get(url, this.buildAuth());
|
|
2043
2080
|
}
|
|
2044
2081
|
}
|
|
2045
|
-
/** @nocollapse */ AlmacenService.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(
|
|
2046
|
-
/** @nocollapse */ AlmacenService.ɵprov =
|
|
2047
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2082
|
+
/** @nocollapse */ AlmacenService.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2083
|
+
/** @nocollapse */ AlmacenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' });
|
|
2084
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
|
|
2048
2085
|
type: Injectable,
|
|
2049
2086
|
args: [{
|
|
2050
2087
|
providedIn: 'root'
|
|
2051
2088
|
}]
|
|
2052
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2089
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2053
2090
|
|
|
2054
2091
|
class StockService extends CrudService {
|
|
2055
2092
|
constructor(httpClient) {
|
|
@@ -2068,14 +2105,14 @@ class StockService extends CrudService {
|
|
|
2068
2105
|
return promesa;
|
|
2069
2106
|
}
|
|
2070
2107
|
}
|
|
2071
|
-
/** @nocollapse */ StockService.ɵfac = function StockService_Factory(t) { return new (t || StockService)(
|
|
2072
|
-
/** @nocollapse */ StockService.ɵprov =
|
|
2073
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2108
|
+
/** @nocollapse */ StockService.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2109
|
+
/** @nocollapse */ StockService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' });
|
|
2110
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
|
|
2074
2111
|
type: Injectable,
|
|
2075
2112
|
args: [{
|
|
2076
2113
|
providedIn: 'root'
|
|
2077
2114
|
}]
|
|
2078
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2115
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2079
2116
|
|
|
2080
2117
|
class ArticuloInformacionService extends CrudService {
|
|
2081
2118
|
constructor(httpClient) {
|
|
@@ -2087,81 +2124,81 @@ class ArticuloInformacionService extends CrudService {
|
|
|
2087
2124
|
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
2088
2125
|
}
|
|
2089
2126
|
}
|
|
2090
|
-
/** @nocollapse */ ArticuloInformacionService.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(
|
|
2091
|
-
/** @nocollapse */ ArticuloInformacionService.ɵprov =
|
|
2092
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2127
|
+
/** @nocollapse */ ArticuloInformacionService.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2128
|
+
/** @nocollapse */ ArticuloInformacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' });
|
|
2129
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
|
|
2093
2130
|
type: Injectable,
|
|
2094
2131
|
args: [{
|
|
2095
2132
|
providedIn: 'root'
|
|
2096
2133
|
}]
|
|
2097
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2134
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2098
2135
|
|
|
2099
2136
|
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
2100
|
-
|
|
2137
|
+
i0.ɵɵelement(0, "col");
|
|
2101
2138
|
} if (rf & 2) {
|
|
2102
2139
|
const col_r5 = ctx.$implicit;
|
|
2103
|
-
|
|
2140
|
+
i0.ɵɵstyleProp("width", col_r5.width);
|
|
2104
2141
|
} }
|
|
2105
2142
|
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2143
|
+
i0.ɵɵelementStart(0, "colgroup");
|
|
2144
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 7);
|
|
2145
|
+
i0.ɵɵelementEnd();
|
|
2109
2146
|
} if (rf & 2) {
|
|
2110
2147
|
const columns_r3 = ctx.$implicit;
|
|
2111
|
-
|
|
2112
|
-
|
|
2148
|
+
i0.ɵɵadvance(1);
|
|
2149
|
+
i0.ɵɵproperty("ngForOf", columns_r3);
|
|
2113
2150
|
} }
|
|
2114
2151
|
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2152
|
+
i0.ɵɵelementStart(0, "th", 9);
|
|
2153
|
+
i0.ɵɵtext(1);
|
|
2154
|
+
i0.ɵɵelementEnd();
|
|
2118
2155
|
} if (rf & 2) {
|
|
2119
2156
|
const col_r8 = ctx.$implicit;
|
|
2120
|
-
|
|
2121
|
-
|
|
2157
|
+
i0.ɵɵadvance(1);
|
|
2158
|
+
i0.ɵɵtextInterpolate1(" ", col_r8.header, " ");
|
|
2122
2159
|
} }
|
|
2123
2160
|
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2161
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2162
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 8);
|
|
2163
|
+
i0.ɵɵelementEnd();
|
|
2127
2164
|
} if (rf & 2) {
|
|
2128
2165
|
const columns_r6 = ctx.$implicit;
|
|
2129
|
-
|
|
2130
|
-
|
|
2166
|
+
i0.ɵɵadvance(1);
|
|
2167
|
+
i0.ɵɵproperty("ngForOf", columns_r6);
|
|
2131
2168
|
} }
|
|
2132
2169
|
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2170
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2171
|
+
i0.ɵɵelementStart(1, "td");
|
|
2172
|
+
i0.ɵɵtext(2);
|
|
2173
|
+
i0.ɵɵelementEnd();
|
|
2174
|
+
i0.ɵɵelementStart(3, "td");
|
|
2175
|
+
i0.ɵɵtext(4);
|
|
2176
|
+
i0.ɵɵelementEnd();
|
|
2177
|
+
i0.ɵɵelementStart(5, "td");
|
|
2178
|
+
i0.ɵɵtext(6);
|
|
2179
|
+
i0.ɵɵelementEnd();
|
|
2180
|
+
i0.ɵɵelementStart(7, "td");
|
|
2181
|
+
i0.ɵɵtext(8);
|
|
2182
|
+
i0.ɵɵelementEnd();
|
|
2183
|
+
i0.ɵɵelementStart(9, "td");
|
|
2184
|
+
i0.ɵɵtext(10);
|
|
2185
|
+
i0.ɵɵelementEnd();
|
|
2186
|
+
i0.ɵɵelementEnd();
|
|
2150
2187
|
} if (rf & 2) {
|
|
2151
2188
|
const rowData_r9 = ctx.$implicit;
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2189
|
+
i0.ɵɵadvance(2);
|
|
2190
|
+
i0.ɵɵtextInterpolate(rowData_r9.almacenCodigo);
|
|
2191
|
+
i0.ɵɵadvance(2);
|
|
2192
|
+
i0.ɵɵtextInterpolate(rowData_r9.almacenDescripcion);
|
|
2193
|
+
i0.ɵɵadvance(2);
|
|
2194
|
+
i0.ɵɵtextInterpolate(rowData_r9.ubicacionCodigo);
|
|
2195
|
+
i0.ɵɵadvance(2);
|
|
2196
|
+
i0.ɵɵtextInterpolate(rowData_r9.ubicacionDescripcion);
|
|
2197
|
+
i0.ɵɵadvance(2);
|
|
2198
|
+
i0.ɵɵtextInterpolate(rowData_r9.existencia);
|
|
2162
2199
|
} }
|
|
2163
|
-
const _c0$
|
|
2164
|
-
const _c1$
|
|
2200
|
+
const _c0$2 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2201
|
+
const _c1$1 = function () { return { width: "600px" }; };
|
|
2165
2202
|
class SeleccionArticuloInformacionComponent {
|
|
2166
2203
|
constructor(articuloInformacionService) {
|
|
2167
2204
|
this.articuloInformacionService = articuloInformacionService;
|
|
@@ -2202,31 +2239,31 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2202
2239
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
2203
2240
|
}
|
|
2204
2241
|
}
|
|
2205
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(
|
|
2206
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp =
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2242
|
+
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); };
|
|
2243
|
+
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls: 8, vars: 20, consts: [[3, "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable", "breakpoint", "onShow", "visibleChange", "onHide", "resize"], ["scrollHeight", "350px", 3, "columns", "value", "scrollable", "responsive"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], [1, "container-end"], ["pButton", "", "type", "button", "icon", "pi pi-replay", "label", "Cerrar", 1, "ui-button-raised", "ui-button-secondary", 3, "click"], [3, "width", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 4, "ngFor", "ngForOf"], ["pResizableColumn", ""]], template: function SeleccionArticuloInformacionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2244
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2245
|
+
i0.ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); })("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showModal = $event; })("onHide", function SeleccionArticuloInformacionComponent_Template_p_dialog_onHide_0_listener() { return ctx.hiddenDialog(); })("resize", function SeleccionArticuloInformacionComponent_Template_p_dialog_resize_0_listener($event) { return ctx.OnResize($event); }, false, i0.ɵɵresolveWindow);
|
|
2246
|
+
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2247
|
+
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
2248
|
+
i0.ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
2249
|
+
i0.ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2250
|
+
i0.ɵɵelementEnd();
|
|
2251
|
+
i0.ɵɵelementStart(5, "p-footer");
|
|
2252
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
2253
|
+
i0.ɵɵelementStart(7, "button", 6);
|
|
2254
|
+
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_Template_button_click_7_listener() { return ctx.hiddenDialog(); });
|
|
2255
|
+
i0.ɵɵelementEnd();
|
|
2256
|
+
i0.ɵɵelementEnd();
|
|
2257
|
+
i0.ɵɵelementEnd();
|
|
2258
|
+
i0.ɵɵelementEnd();
|
|
2222
2259
|
} if (rf & 2) {
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
} }, directives: [Dialog, Table, PrimeTemplate, Footer, ButtonDirective, NgForOf, ResizableColumn], styles: [""] });
|
|
2229
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2260
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(17, _c0$2, ctx.size + "px"));
|
|
2261
|
+
i0.ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2262
|
+
i0.ɵɵadvance(1);
|
|
2263
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(19, _c1$1));
|
|
2264
|
+
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true)("responsive", true);
|
|
2265
|
+
} }, directives: [i4$2.Dialog, i8$1.Table, i4$1.PrimeTemplate, i4$1.Footer, i7.ButtonDirective, i8.NgForOf, i8$1.ResizableColumn], styles: [""] });
|
|
2266
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
2230
2267
|
type: Component,
|
|
2231
2268
|
args: [{
|
|
2232
2269
|
selector: 'lib-seleccion-articulo-informacion',
|
|
@@ -2242,321 +2279,321 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2242
2279
|
}] }); })();
|
|
2243
2280
|
|
|
2244
2281
|
function SeleccionaArticuloComponent_option_23_Template(rf, ctx) { if (rf & 1) {
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2282
|
+
i0.ɵɵelementStart(0, "option", 22);
|
|
2283
|
+
i0.ɵɵtext(1);
|
|
2284
|
+
i0.ɵɵelementEnd();
|
|
2248
2285
|
} if (rf & 2) {
|
|
2249
2286
|
const almacen_r5 = ctx.$implicit;
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2287
|
+
i0.ɵɵpropertyInterpolate("value", almacen_r5.id);
|
|
2288
|
+
i0.ɵɵadvance(1);
|
|
2289
|
+
i0.ɵɵtextInterpolate(almacen_r5.descripcion);
|
|
2253
2290
|
} }
|
|
2254
2291
|
function SeleccionaArticuloComponent_ng_template_26_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2292
|
+
i0.ɵɵelementStart(0, "th", 31);
|
|
2293
|
+
i0.ɵɵtext(1, "existenciaSecundaria");
|
|
2294
|
+
i0.ɵɵelementEnd();
|
|
2258
2295
|
} }
|
|
2259
2296
|
function SeleccionaArticuloComponent_ng_template_26_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2297
|
+
i0.ɵɵelementStart(0, "th", 25);
|
|
2298
|
+
i0.ɵɵtext(1, "Unidad");
|
|
2299
|
+
i0.ɵɵelementEnd();
|
|
2263
2300
|
} }
|
|
2264
2301
|
function SeleccionaArticuloComponent_ng_template_26_th_14_Template(rf, ctx) { if (rf & 1) {
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2302
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2303
|
+
i0.ɵɵtext(1, "Precio");
|
|
2304
|
+
i0.ɵɵelementEnd();
|
|
2268
2305
|
} }
|
|
2269
2306
|
function SeleccionaArticuloComponent_ng_template_26_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2307
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2308
|
+
i0.ɵɵtext(1, "Precio 2");
|
|
2309
|
+
i0.ɵɵelementEnd();
|
|
2273
2310
|
} }
|
|
2274
2311
|
function SeleccionaArticuloComponent_ng_template_26_th_16_Template(rf, ctx) { if (rf & 1) {
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2312
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2313
|
+
i0.ɵɵtext(1, "Precio 3");
|
|
2314
|
+
i0.ɵɵelementEnd();
|
|
2278
2315
|
} }
|
|
2279
2316
|
function SeleccionaArticuloComponent_ng_template_26_th_17_Template(rf, ctx) { if (rf & 1) {
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2317
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2318
|
+
i0.ɵɵtext(1, "Precio 4");
|
|
2319
|
+
i0.ɵɵelementEnd();
|
|
2283
2320
|
} }
|
|
2284
2321
|
function SeleccionaArticuloComponent_ng_template_26_th_18_Template(rf, ctx) { if (rf & 1) {
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2322
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2323
|
+
i0.ɵɵtext(1, "Precio 5");
|
|
2324
|
+
i0.ɵɵelementEnd();
|
|
2288
2325
|
} }
|
|
2289
2326
|
function SeleccionaArticuloComponent_ng_template_26_th_19_Template(rf, ctx) { if (rf & 1) {
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2327
|
+
i0.ɵɵelementStart(0, "th", 25);
|
|
2328
|
+
i0.ɵɵtext(1, "Movimiento.costo");
|
|
2329
|
+
i0.ɵɵelementEnd();
|
|
2293
2330
|
} }
|
|
2294
2331
|
function SeleccionaArticuloComponent_ng_template_26_th_22_Template(rf, ctx) { if (rf & 1) {
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2332
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2333
|
+
i0.ɵɵtext(1);
|
|
2334
|
+
i0.ɵɵelementEnd();
|
|
2298
2335
|
} if (rf & 2) {
|
|
2299
2336
|
const item_r15 = ctx.$implicit;
|
|
2300
|
-
|
|
2301
|
-
|
|
2337
|
+
i0.ɵɵadvance(1);
|
|
2338
|
+
i0.ɵɵtextInterpolate(item_r15.descripcion);
|
|
2302
2339
|
} }
|
|
2303
2340
|
function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
2304
|
-
|
|
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
|
-
|
|
2341
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2342
|
+
i0.ɵɵelementStart(1, "th", 23);
|
|
2343
|
+
i0.ɵɵtext(2, "C\u00F3digo Ubicacion");
|
|
2344
|
+
i0.ɵɵelementEnd();
|
|
2345
|
+
i0.ɵɵelementStart(3, "th", 24);
|
|
2346
|
+
i0.ɵɵtext(4, "Existencia");
|
|
2347
|
+
i0.ɵɵelementEnd();
|
|
2348
|
+
i0.ɵɵelementStart(5, "th", 25);
|
|
2349
|
+
i0.ɵɵtext(6, "Unidad");
|
|
2350
|
+
i0.ɵɵelementEnd();
|
|
2351
|
+
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_26_th_7_Template, 2, 0, "th", 26);
|
|
2352
|
+
i0.ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_26_th_8_Template, 2, 0, "th", 27);
|
|
2353
|
+
i0.ɵɵelementStart(9, "th", 23);
|
|
2354
|
+
i0.ɵɵtext(10, "C\u00F3digo");
|
|
2355
|
+
i0.ɵɵelementEnd();
|
|
2356
|
+
i0.ɵɵelementStart(11, "th", 28);
|
|
2357
|
+
i0.ɵɵtext(12, "Descripcion");
|
|
2358
|
+
i0.ɵɵelementEnd();
|
|
2359
|
+
i0.ɵɵelement(13, "th", 25);
|
|
2360
|
+
i0.ɵɵtemplate(14, SeleccionaArticuloComponent_ng_template_26_th_14_Template, 2, 0, "th", 29);
|
|
2361
|
+
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_26_th_15_Template, 2, 0, "th", 29);
|
|
2362
|
+
i0.ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_26_th_16_Template, 2, 0, "th", 29);
|
|
2363
|
+
i0.ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_26_th_17_Template, 2, 0, "th", 29);
|
|
2364
|
+
i0.ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_26_th_18_Template, 2, 0, "th", 29);
|
|
2365
|
+
i0.ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_26_th_19_Template, 2, 0, "th", 27);
|
|
2366
|
+
i0.ɵɵelementStart(20, "th", 25);
|
|
2367
|
+
i0.ɵɵtext(21, "Existencia por Unidad");
|
|
2368
|
+
i0.ɵɵelementEnd();
|
|
2369
|
+
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_26_th_22_Template, 2, 1, "th", 30);
|
|
2370
|
+
i0.ɵɵelementEnd();
|
|
2334
2371
|
} if (rf & 2) {
|
|
2335
|
-
const ctx_r2 =
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2372
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2373
|
+
i0.ɵɵadvance(7);
|
|
2374
|
+
i0.ɵɵproperty("ngIf", ctx_r2.manejaUnidadSecundaria);
|
|
2375
|
+
i0.ɵɵadvance(1);
|
|
2376
|
+
i0.ɵɵproperty("ngIf", ctx_r2.manejaUnidadSecundaria);
|
|
2377
|
+
i0.ɵɵadvance(6);
|
|
2378
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2379
|
+
i0.ɵɵadvance(1);
|
|
2380
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2381
|
+
i0.ɵɵadvance(1);
|
|
2382
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2383
|
+
i0.ɵɵadvance(1);
|
|
2384
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2385
|
+
i0.ɵɵadvance(1);
|
|
2386
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2387
|
+
i0.ɵɵadvance(1);
|
|
2388
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio === "costo");
|
|
2389
|
+
i0.ɵɵadvance(3);
|
|
2390
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.clasificadorList);
|
|
2354
2391
|
} }
|
|
2355
2392
|
function SeleccionaArticuloComponent_ng_template_27_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2393
|
+
i0.ɵɵelementStart(0, "td", 23);
|
|
2394
|
+
i0.ɵɵtext(1, "Movimiento.NoAsignado");
|
|
2395
|
+
i0.ɵɵelementEnd();
|
|
2359
2396
|
} }
|
|
2360
2397
|
function SeleccionaArticuloComponent_ng_template_27_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2398
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2399
|
+
i0.ɵɵtext(1);
|
|
2400
|
+
i0.ɵɵelementEnd();
|
|
2364
2401
|
} if (rf & 2) {
|
|
2365
|
-
const rowData_r16 =
|
|
2366
|
-
|
|
2367
|
-
|
|
2402
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2403
|
+
i0.ɵɵadvance(1);
|
|
2404
|
+
i0.ɵɵtextInterpolate(rowData_r16.ubicacionCodigo);
|
|
2368
2405
|
} }
|
|
2369
2406
|
function SeleccionaArticuloComponent_ng_template_27_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2407
|
+
i0.ɵɵelementStart(0, "td", 44);
|
|
2408
|
+
i0.ɵɵtext(1);
|
|
2409
|
+
i0.ɵɵelementEnd();
|
|
2373
2410
|
} if (rf & 2) {
|
|
2374
|
-
const rowData_r16 =
|
|
2375
|
-
|
|
2376
|
-
|
|
2411
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2412
|
+
i0.ɵɵadvance(1);
|
|
2413
|
+
i0.ɵɵtextInterpolate(rowData_r16.existenciaSecundaria);
|
|
2377
2414
|
} }
|
|
2378
2415
|
function SeleccionaArticuloComponent_ng_template_27_td_8_Template(rf, ctx) { if (rf & 1) {
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2416
|
+
i0.ɵɵelementStart(0, "td", 36);
|
|
2417
|
+
i0.ɵɵtext(1);
|
|
2418
|
+
i0.ɵɵelementEnd();
|
|
2382
2419
|
} if (rf & 2) {
|
|
2383
|
-
const rowData_r16 =
|
|
2384
|
-
|
|
2385
|
-
|
|
2420
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2421
|
+
i0.ɵɵadvance(1);
|
|
2422
|
+
i0.ɵɵtextInterpolate(rowData_r16.unidadSecundariaCodigo);
|
|
2386
2423
|
} }
|
|
2387
2424
|
function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if (rf & 1) {
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2425
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2426
|
+
i0.ɵɵtext(1);
|
|
2427
|
+
i0.ɵɵpipe(2, "currency");
|
|
2428
|
+
i0.ɵɵelementEnd();
|
|
2392
2429
|
} if (rf & 2) {
|
|
2393
|
-
const rowData_r16 =
|
|
2394
|
-
|
|
2395
|
-
|
|
2430
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2431
|
+
i0.ɵɵadvance(1);
|
|
2432
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, rowData_r16.precioConImpuestos), " ");
|
|
2396
2433
|
} }
|
|
2397
2434
|
function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if (rf & 1) {
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2435
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2436
|
+
i0.ɵɵtext(1);
|
|
2437
|
+
i0.ɵɵpipe(2, "currency");
|
|
2438
|
+
i0.ɵɵelementEnd();
|
|
2402
2439
|
} if (rf & 2) {
|
|
2403
|
-
const rowData_r16 =
|
|
2404
|
-
|
|
2405
|
-
|
|
2440
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2441
|
+
i0.ɵɵadvance(1);
|
|
2442
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio2ConImpuestos));
|
|
2406
2443
|
} }
|
|
2407
2444
|
function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if (rf & 1) {
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2445
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2446
|
+
i0.ɵɵtext(1);
|
|
2447
|
+
i0.ɵɵpipe(2, "currency");
|
|
2448
|
+
i0.ɵɵelementEnd();
|
|
2412
2449
|
} if (rf & 2) {
|
|
2413
|
-
const rowData_r16 =
|
|
2414
|
-
|
|
2415
|
-
|
|
2450
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2451
|
+
i0.ɵɵadvance(1);
|
|
2452
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio3ConImpuestos));
|
|
2416
2453
|
} }
|
|
2417
2454
|
function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if (rf & 1) {
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2455
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2456
|
+
i0.ɵɵtext(1);
|
|
2457
|
+
i0.ɵɵpipe(2, "currency");
|
|
2458
|
+
i0.ɵɵelementEnd();
|
|
2422
2459
|
} if (rf & 2) {
|
|
2423
|
-
const rowData_r16 =
|
|
2424
|
-
|
|
2425
|
-
|
|
2460
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2461
|
+
i0.ɵɵadvance(1);
|
|
2462
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio4ConImpuestos));
|
|
2426
2463
|
} }
|
|
2427
2464
|
function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if (rf & 1) {
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2465
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2466
|
+
i0.ɵɵtext(1);
|
|
2467
|
+
i0.ɵɵpipe(2, "currency");
|
|
2468
|
+
i0.ɵɵelementEnd();
|
|
2432
2469
|
} if (rf & 2) {
|
|
2433
|
-
const rowData_r16 =
|
|
2434
|
-
|
|
2435
|
-
|
|
2470
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2471
|
+
i0.ɵɵadvance(1);
|
|
2472
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio5ConImpuestos));
|
|
2436
2473
|
} }
|
|
2437
2474
|
function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if (rf & 1) {
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2475
|
+
i0.ɵɵelementStart(0, "td", 36);
|
|
2476
|
+
i0.ɵɵtext(1);
|
|
2477
|
+
i0.ɵɵpipe(2, "currency");
|
|
2478
|
+
i0.ɵɵelementEnd();
|
|
2442
2479
|
} if (rf & 2) {
|
|
2443
|
-
const rowData_r16 =
|
|
2444
|
-
|
|
2445
|
-
|
|
2480
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2481
|
+
i0.ɵɵadvance(1);
|
|
2482
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio));
|
|
2446
2483
|
} }
|
|
2447
2484
|
function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2485
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
2486
|
+
i0.ɵɵelementStart(1, "div", 46);
|
|
2487
|
+
i0.ɵɵelementStart(2, "label", 47);
|
|
2488
|
+
i0.ɵɵtext(3);
|
|
2489
|
+
i0.ɵɵelementEnd();
|
|
2490
|
+
i0.ɵɵelementEnd();
|
|
2491
|
+
i0.ɵɵelementStart(4, "div", 46);
|
|
2492
|
+
i0.ɵɵelementStart(5, "label", 47);
|
|
2493
|
+
i0.ɵɵtext(6);
|
|
2494
|
+
i0.ɵɵpipe(7, "number");
|
|
2495
|
+
i0.ɵɵelementEnd();
|
|
2496
|
+
i0.ɵɵelementEnd();
|
|
2497
|
+
i0.ɵɵelementEnd();
|
|
2461
2498
|
} if (rf & 2) {
|
|
2462
2499
|
const item_r39 = ctx.$implicit;
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2500
|
+
i0.ɵɵadvance(3);
|
|
2501
|
+
i0.ɵɵtextInterpolate(item_r39.unidad_codigo);
|
|
2502
|
+
i0.ɵɵadvance(3);
|
|
2503
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, item_r39.unidad_existencia, "1.2-2"));
|
|
2467
2504
|
} }
|
|
2468
2505
|
function SeleccionaArticuloComponent_ng_template_27_td_23_Template(rf, ctx) { if (rf & 1) {
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2506
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2507
|
+
i0.ɵɵtext(1);
|
|
2508
|
+
i0.ɵɵelementEnd();
|
|
2472
2509
|
} if (rf & 2) {
|
|
2473
2510
|
const itemData_r40 = ctx.$implicit;
|
|
2474
|
-
|
|
2475
|
-
|
|
2511
|
+
i0.ɵɵadvance(1);
|
|
2512
|
+
i0.ɵɵtextInterpolate(itemData_r40.valor);
|
|
2476
2513
|
} }
|
|
2477
2514
|
function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
2478
|
-
const _r42 =
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2515
|
+
const _r42 = i0.ɵɵgetCurrentView();
|
|
2516
|
+
i0.ɵɵelementStart(0, "tr", 32);
|
|
2517
|
+
i0.ɵɵtemplate(1, SeleccionaArticuloComponent_ng_template_27_td_1_Template, 2, 0, "td", 33);
|
|
2518
|
+
i0.ɵɵtemplate(2, SeleccionaArticuloComponent_ng_template_27_td_2_Template, 2, 1, "td", 34);
|
|
2519
|
+
i0.ɵɵelementStart(3, "td", 35);
|
|
2520
|
+
i0.ɵɵtext(4);
|
|
2521
|
+
i0.ɵɵelementEnd();
|
|
2522
|
+
i0.ɵɵelementStart(5, "td", 36);
|
|
2523
|
+
i0.ɵɵtext(6);
|
|
2524
|
+
i0.ɵɵelementEnd();
|
|
2525
|
+
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_27_td_7_Template, 2, 1, "td", 37);
|
|
2526
|
+
i0.ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_27_td_8_Template, 2, 1, "td", 38);
|
|
2527
|
+
i0.ɵɵelementStart(9, "td", 39);
|
|
2528
|
+
i0.ɵɵtext(10);
|
|
2529
|
+
i0.ɵɵelementEnd();
|
|
2530
|
+
i0.ɵɵelementStart(11, "td", 40);
|
|
2531
|
+
i0.ɵɵtext(12);
|
|
2532
|
+
i0.ɵɵelementEnd();
|
|
2533
|
+
i0.ɵɵelementStart(13, "td", 36);
|
|
2534
|
+
i0.ɵɵelementStart(14, "button", 41);
|
|
2535
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_27_Template_button_click_14_listener() { const restoredCtx = i0.ɵɵrestoreView(_r42); const rowData_r16 = restoredCtx.$implicit; const ctx_r41 = i0.ɵɵnextContext(); return ctx_r41.onShowInformacion(rowData_r16); });
|
|
2536
|
+
i0.ɵɵelementEnd();
|
|
2537
|
+
i0.ɵɵelementEnd();
|
|
2538
|
+
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_27_td_15_Template, 3, 3, "td", 34);
|
|
2539
|
+
i0.ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_27_td_16_Template, 3, 3, "td", 34);
|
|
2540
|
+
i0.ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_27_td_17_Template, 3, 3, "td", 34);
|
|
2541
|
+
i0.ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_27_td_18_Template, 3, 3, "td", 34);
|
|
2542
|
+
i0.ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_27_td_19_Template, 3, 3, "td", 34);
|
|
2543
|
+
i0.ɵɵtemplate(20, SeleccionaArticuloComponent_ng_template_27_td_20_Template, 3, 3, "td", 38);
|
|
2544
|
+
i0.ɵɵelementStart(21, "td", 36);
|
|
2545
|
+
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_27_div_22_Template, 8, 5, "div", 42);
|
|
2546
|
+
i0.ɵɵelementEnd();
|
|
2547
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_ng_template_27_td_23_Template, 2, 1, "td", 43);
|
|
2548
|
+
i0.ɵɵelementEnd();
|
|
2512
2549
|
} if (rf & 2) {
|
|
2513
2550
|
const rowData_r16 = ctx.$implicit;
|
|
2514
|
-
const ctx_r3 =
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2551
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
2552
|
+
i0.ɵɵproperty("pSelectableRow", rowData_r16);
|
|
2553
|
+
i0.ɵɵadvance(1);
|
|
2554
|
+
i0.ɵɵproperty("ngIf", !rowData_r16.ubicacionCodigo);
|
|
2555
|
+
i0.ɵɵadvance(1);
|
|
2556
|
+
i0.ɵɵproperty("ngIf", rowData_r16.ubicacionCodigo);
|
|
2557
|
+
i0.ɵɵadvance(2);
|
|
2558
|
+
i0.ɵɵtextInterpolate(rowData_r16.existencia);
|
|
2559
|
+
i0.ɵɵadvance(2);
|
|
2560
|
+
i0.ɵɵtextInterpolate(rowData_r16.unidadCodigo);
|
|
2561
|
+
i0.ɵɵadvance(1);
|
|
2562
|
+
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2563
|
+
i0.ɵɵadvance(1);
|
|
2564
|
+
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2565
|
+
i0.ɵɵadvance(2);
|
|
2566
|
+
i0.ɵɵtextInterpolate(rowData_r16.articulo.codigo);
|
|
2567
|
+
i0.ɵɵadvance(2);
|
|
2568
|
+
i0.ɵɵtextInterpolate(rowData_r16.articulo.descripcion);
|
|
2569
|
+
i0.ɵɵadvance(3);
|
|
2570
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2571
|
+
i0.ɵɵadvance(1);
|
|
2572
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2573
|
+
i0.ɵɵadvance(1);
|
|
2574
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2575
|
+
i0.ɵɵadvance(1);
|
|
2576
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2577
|
+
i0.ɵɵadvance(1);
|
|
2578
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2579
|
+
i0.ɵɵadvance(1);
|
|
2580
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
|
|
2581
|
+
i0.ɵɵadvance(2);
|
|
2582
|
+
i0.ɵɵproperty("ngForOf", rowData_r16.existenciaUnidades);
|
|
2583
|
+
i0.ɵɵadvance(1);
|
|
2584
|
+
i0.ɵɵproperty("ngForOf", rowData_r16.articuloClasificadorList);
|
|
2548
2585
|
} }
|
|
2549
2586
|
function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template(rf, ctx) { if (rf & 1) {
|
|
2550
|
-
const _r44 =
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2587
|
+
const _r44 = i0.ɵɵgetCurrentView();
|
|
2588
|
+
i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 48);
|
|
2589
|
+
i0.ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { i0.ɵɵrestoreView(_r44); const ctx_r43 = i0.ɵɵnextContext(); return ctx_r43.onEventInformacion($event); });
|
|
2590
|
+
i0.ɵɵelementEnd();
|
|
2554
2591
|
} if (rf & 2) {
|
|
2555
|
-
const ctx_r4 =
|
|
2556
|
-
|
|
2592
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
2593
|
+
i0.ɵɵproperty("showModal", ctx_r4.showModalInformacion)("articulo", ctx_r4.articuloSelected);
|
|
2557
2594
|
} }
|
|
2558
|
-
const _c0$
|
|
2559
|
-
const _c1
|
|
2595
|
+
const _c0$1 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2596
|
+
const _c1 = function () { return [10, 25, 50, 100, 500]; };
|
|
2560
2597
|
class SeleccionaArticuloComponent {
|
|
2561
2598
|
constructor(_stockService, _paginateService, _almacenService) {
|
|
2562
2599
|
this._stockService = _stockService;
|
|
@@ -2648,83 +2685,83 @@ class SeleccionaArticuloComponent {
|
|
|
2648
2685
|
this.showModalInformacion = event.status;
|
|
2649
2686
|
}
|
|
2650
2687
|
}
|
|
2651
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(
|
|
2652
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵcmp =
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2688
|
+
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); };
|
|
2689
|
+
/** @nocollapse */ SeleccionaArticuloComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, decls: 30, vars: 25, consts: [[3, "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY", "visibleChange", "onShow", "onHide"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModel", "ngModelChange", "change"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModel", "ngModelChange", "keypress"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], [2, "width", "100px"], ["for", "almacen"], ["pInputText", "", "disabled", "", "id", "almacen", 2, "width", "200px", 3, "ngModel", "ngModelChange", "change"], [3, "value", 4, "ngFor", "ngForOf"], ["scrollHeight", "400px", "selectionMode", "single", 3, "value", "scrollable", "responsive", "onRowSelect"], ["dt", ""], ["pTemplate", "header"], ["pTemplate", "body"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "showModal", "articulo", "eventSelection", 4, "ngIf"], [3, "value"], ["translate", "", 2, "width", "80px"], ["translate", "", 2, "width", "70px"], ["translate", "", 2, "width", "40px"], ["style", "width: 50px", "translate", "", 4, "ngIf"], ["style", "width: 40px", "translate", "", 4, "ngIf"], ["translate", "", 2, "width", "120px"], ["style", "width: 80px", "translate", "", 4, "ngIf"], ["style", "width: 80px", "translate", "", 4, "ngFor", "ngForOf"], ["translate", "", 2, "width", "50px"], [3, "pSelectableRow"], ["style", "width: 80px;", "translate", "", 4, "ngIf"], ["style", "width: 80px;", 4, "ngIf"], [2, "width", "70px"], [2, "width", "40px"], ["style", "width: 50px;", 4, "ngIf"], ["style", "width: 40px;", 4, "ngIf"], [2, "width", "80px"], [2, "width", "120px"], ["pButton", "", "type", "button", "icon", "pi pi-eye", 1, "ui-button-raised", "ui-button-primary", 3, "click"], ["class", "row justify-content-between", 4, "ngFor", "ngForOf"], ["style", "width: 80px;", 4, "ngFor", "ngForOf"], [2, "width", "50px"], [1, "row", "justify-content-between"], [1, "col-lg-4"], ["for", ""], [3, "showModal", "articulo", "eventSelection"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2690
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2691
|
+
i0.ɵɵlistener("visibleChange", function SeleccionaArticuloComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showArticulos = $event; })("onShow", function SeleccionaArticuloComponent_Template_p_dialog_onShow_0_listener() { return ctx.obtenerExistenciaArticulosShow(); })("onHide", function SeleccionaArticuloComponent_Template_p_dialog_onHide_0_listener() { ctx.busquedaArticulos = { tipoBusqueda: "" }; return ctx.emitirShowArticulos(); });
|
|
2692
|
+
i0.ɵɵpipe(1, "translate");
|
|
2693
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
2694
|
+
i0.ɵɵelementStart(3, "div", 2);
|
|
2695
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
2696
|
+
i0.ɵɵelementStart(5, "div", 4);
|
|
2697
|
+
i0.ɵɵelementStart(6, "select", 5);
|
|
2698
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_6_listener($event) { return ctx.busquedaArticulos.tipoBusqueda = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_6_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2699
|
+
i0.ɵɵelementStart(7, "option", 6);
|
|
2700
|
+
i0.ɵɵtext(8, "Codigo");
|
|
2701
|
+
i0.ɵɵelementEnd();
|
|
2702
|
+
i0.ɵɵelementStart(9, "option", 7);
|
|
2703
|
+
i0.ɵɵtext(10, "Descripcion");
|
|
2704
|
+
i0.ɵɵelementEnd();
|
|
2705
|
+
i0.ɵɵelementStart(11, "option", 8);
|
|
2706
|
+
i0.ɵɵtext(12, "Coincidencia");
|
|
2707
|
+
i0.ɵɵelementEnd();
|
|
2708
|
+
i0.ɵɵelementStart(13, "option", 9);
|
|
2709
|
+
i0.ɵɵtext(14, "Igual a");
|
|
2710
|
+
i0.ɵɵelementEnd();
|
|
2711
|
+
i0.ɵɵelementEnd();
|
|
2712
|
+
i0.ɵɵelementEnd();
|
|
2713
|
+
i0.ɵɵelementStart(15, "input", 10);
|
|
2714
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_15_listener($event) { return ctx.busquedaArticulos.key = $event; })("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { return ctx.obtenerExistenciaArticulosKey($event); });
|
|
2715
|
+
i0.ɵɵelementEnd();
|
|
2716
|
+
i0.ɵɵelementStart(16, "button", 11);
|
|
2717
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { return ctx.obtenerExistenciaArticulos(); });
|
|
2718
|
+
i0.ɵɵelementEnd();
|
|
2719
|
+
i0.ɵɵelementEnd();
|
|
2720
|
+
i0.ɵɵelementEnd();
|
|
2721
|
+
i0.ɵɵelementStart(17, "div", 2);
|
|
2722
|
+
i0.ɵɵelementStart(18, "div", 3);
|
|
2723
|
+
i0.ɵɵelementStart(19, "div", 12);
|
|
2724
|
+
i0.ɵɵelementStart(20, "label", 13);
|
|
2725
|
+
i0.ɵɵtext(21, "Almacen:");
|
|
2726
|
+
i0.ɵɵelementEnd();
|
|
2727
|
+
i0.ɵɵelementEnd();
|
|
2728
|
+
i0.ɵɵelementStart(22, "select", 14);
|
|
2729
|
+
i0.ɵɵlistener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { return ctx.movimiento.almacen = $event; })("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { return ctx.obtenerExistenciaArticulosVal(); });
|
|
2730
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 15);
|
|
2731
|
+
i0.ɵɵelementEnd();
|
|
2732
|
+
i0.ɵɵelementEnd();
|
|
2733
|
+
i0.ɵɵelementEnd();
|
|
2734
|
+
i0.ɵɵelementEnd();
|
|
2735
|
+
i0.ɵɵelementStart(24, "p-table", 16, 17);
|
|
2736
|
+
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2737
|
+
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18);
|
|
2738
|
+
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2739
|
+
i0.ɵɵelementEnd();
|
|
2740
|
+
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2741
|
+
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { return ctx.pagina($event); });
|
|
2742
|
+
i0.ɵɵelementEnd();
|
|
2743
|
+
i0.ɵɵelementEnd();
|
|
2744
|
+
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2708
2745
|
} if (rf & 2) {
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
} }, directives: [Dialog, SelectControlValueAccessor, InputText, NgControlStatus, NgModel, NgSelectOption,
|
|
2727
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2746
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(22, _c0$1, ctx.size + "px"));
|
|
2747
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 20, "Articulos"));
|
|
2748
|
+
i0.ɵɵproperty("visible", ctx.showArticulos)("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2749
|
+
i0.ɵɵadvance(6);
|
|
2750
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2751
|
+
i0.ɵɵadvance(9);
|
|
2752
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.key);
|
|
2753
|
+
i0.ɵɵadvance(7);
|
|
2754
|
+
i0.ɵɵproperty("ngModel", ctx.movimiento.almacen);
|
|
2755
|
+
i0.ɵɵadvance(1);
|
|
2756
|
+
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2757
|
+
i0.ɵɵadvance(1);
|
|
2758
|
+
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true)("responsive", true);
|
|
2759
|
+
i0.ɵɵadvance(4);
|
|
2760
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(24, _c1));
|
|
2761
|
+
i0.ɵɵadvance(1);
|
|
2762
|
+
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2763
|
+
} }, directives: [i4$2.Dialog, i5.SelectControlValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i5.NgSelectOption, i5.ɵNgSelectMultipleOption, i5.DefaultValueAccessor, i7.ButtonDirective, i8.NgForOf, i8$1.Table, i4$1.PrimeTemplate, i10.Paginator, i8.NgIf, i3.TranslateDirective, i8$1.SelectableRow, SeleccionArticuloInformacionComponent], pipes: [i3.TranslatePipe, i8.CurrencyPipe, i8.DecimalPipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] });
|
|
2764
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2728
2765
|
type: Component,
|
|
2729
2766
|
args: [{
|
|
2730
2767
|
selector: 'app-selecciona-articulo',
|
|
@@ -2751,129 +2788,129 @@ class AcreedorService extends CrudService {
|
|
|
2751
2788
|
this.httpClient = httpClient;
|
|
2752
2789
|
}
|
|
2753
2790
|
}
|
|
2754
|
-
/** @nocollapse */ AcreedorService.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(
|
|
2755
|
-
/** @nocollapse */ AcreedorService.ɵprov =
|
|
2756
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2791
|
+
/** @nocollapse */ AcreedorService.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2792
|
+
/** @nocollapse */ AcreedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' });
|
|
2793
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorService, [{
|
|
2757
2794
|
type: Injectable,
|
|
2758
2795
|
args: [{
|
|
2759
2796
|
providedIn: 'root'
|
|
2760
2797
|
}]
|
|
2761
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2798
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2762
2799
|
|
|
2763
2800
|
function SelectAcreedorComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2801
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2802
|
+
i0.ɵɵelementStart(1, "th");
|
|
2803
|
+
i0.ɵɵtext(2);
|
|
2804
|
+
i0.ɵɵpipe(3, "translate");
|
|
2805
|
+
i0.ɵɵelementEnd();
|
|
2806
|
+
i0.ɵɵelementStart(4, "th");
|
|
2807
|
+
i0.ɵɵtext(5);
|
|
2808
|
+
i0.ɵɵpipe(6, "translate");
|
|
2809
|
+
i0.ɵɵelementEnd();
|
|
2810
|
+
i0.ɵɵelementStart(7, "th");
|
|
2811
|
+
i0.ɵɵtext(8);
|
|
2812
|
+
i0.ɵɵpipe(9, "translate");
|
|
2813
|
+
i0.ɵɵelementEnd();
|
|
2814
|
+
i0.ɵɵelementStart(10, "th");
|
|
2815
|
+
i0.ɵɵtext(11);
|
|
2816
|
+
i0.ɵɵpipe(12, "translate");
|
|
2817
|
+
i0.ɵɵelementEnd();
|
|
2818
|
+
i0.ɵɵelementStart(13, "th");
|
|
2819
|
+
i0.ɵɵtext(14);
|
|
2820
|
+
i0.ɵɵpipe(15, "translate");
|
|
2821
|
+
i0.ɵɵelementEnd();
|
|
2822
|
+
i0.ɵɵelementStart(16, "th");
|
|
2823
|
+
i0.ɵɵtext(17);
|
|
2824
|
+
i0.ɵɵpipe(18, "translate");
|
|
2825
|
+
i0.ɵɵelementEnd();
|
|
2826
|
+
i0.ɵɵelementEnd();
|
|
2790
2827
|
} if (rf & 2) {
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2828
|
+
i0.ɵɵadvance(2);
|
|
2829
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "razonSocial"));
|
|
2830
|
+
i0.ɵɵadvance(3);
|
|
2831
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "rfc"));
|
|
2832
|
+
i0.ɵɵadvance(3);
|
|
2833
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
2834
|
+
i0.ɵɵadvance(3);
|
|
2835
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "atrasoDiasEntrega"));
|
|
2836
|
+
i0.ɵɵadvance(3);
|
|
2837
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "limiteCredito"));
|
|
2838
|
+
i0.ɵɵadvance(3);
|
|
2839
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "fechaUltimaCompra"));
|
|
2803
2840
|
} }
|
|
2804
2841
|
function SelectAcreedorComponent_ng_template_7_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2842
|
+
i0.ɵɵelementStart(0, "span");
|
|
2843
|
+
i0.ɵɵtext(1);
|
|
2844
|
+
i0.ɵɵpipe(2, "translate");
|
|
2845
|
+
i0.ɵɵelementEnd();
|
|
2809
2846
|
} if (rf & 2) {
|
|
2810
|
-
|
|
2811
|
-
|
|
2847
|
+
i0.ɵɵadvance(1);
|
|
2848
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
2812
2849
|
} }
|
|
2813
2850
|
function SelectAcreedorComponent_ng_template_7_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2851
|
+
i0.ɵɵelementStart(0, "span");
|
|
2852
|
+
i0.ɵɵtext(1);
|
|
2853
|
+
i0.ɵɵpipe(2, "translate");
|
|
2854
|
+
i0.ɵɵelementEnd();
|
|
2818
2855
|
} if (rf & 2) {
|
|
2819
|
-
|
|
2820
|
-
|
|
2856
|
+
i0.ɵɵadvance(1);
|
|
2857
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
2821
2858
|
} }
|
|
2822
2859
|
function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2860
|
+
i0.ɵɵelementStart(0, "tr", 9);
|
|
2861
|
+
i0.ɵɵelementStart(1, "td");
|
|
2862
|
+
i0.ɵɵtext(2);
|
|
2863
|
+
i0.ɵɵelementEnd();
|
|
2864
|
+
i0.ɵɵelementStart(3, "td");
|
|
2865
|
+
i0.ɵɵtext(4);
|
|
2866
|
+
i0.ɵɵelementEnd();
|
|
2867
|
+
i0.ɵɵelementStart(5, "td");
|
|
2868
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_7_span_6_Template, 3, 3, "span", 10);
|
|
2869
|
+
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_span_7_Template, 3, 3, "span", 10);
|
|
2870
|
+
i0.ɵɵelementEnd();
|
|
2871
|
+
i0.ɵɵelementStart(8, "td");
|
|
2872
|
+
i0.ɵɵtext(9);
|
|
2873
|
+
i0.ɵɵelementEnd();
|
|
2874
|
+
i0.ɵɵelementStart(10, "td");
|
|
2875
|
+
i0.ɵɵtext(11);
|
|
2876
|
+
i0.ɵɵelementEnd();
|
|
2877
|
+
i0.ɵɵelementStart(12, "td");
|
|
2878
|
+
i0.ɵɵtext(13);
|
|
2879
|
+
i0.ɵɵpipe(14, "date");
|
|
2880
|
+
i0.ɵɵelementEnd();
|
|
2881
|
+
i0.ɵɵelementEnd();
|
|
2845
2882
|
} if (rf & 2) {
|
|
2846
2883
|
const acreedor_r3 = ctx.$implicit;
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2884
|
+
i0.ɵɵproperty("pSelectableRow", acreedor_r3);
|
|
2885
|
+
i0.ɵɵadvance(2);
|
|
2886
|
+
i0.ɵɵtextInterpolate(acreedor_r3.descripcionRazonSocial);
|
|
2887
|
+
i0.ɵɵadvance(2);
|
|
2888
|
+
i0.ɵɵtextInterpolate(acreedor_r3.descripcionRfc);
|
|
2889
|
+
i0.ɵɵadvance(2);
|
|
2890
|
+
i0.ɵɵproperty("ngIf", acreedor_r3.personaMoral);
|
|
2891
|
+
i0.ɵɵadvance(1);
|
|
2892
|
+
i0.ɵɵproperty("ngIf", acreedor_r3.personaFisica);
|
|
2893
|
+
i0.ɵɵadvance(2);
|
|
2894
|
+
i0.ɵɵtextInterpolate(acreedor_r3.atrasoDiasEntrega);
|
|
2895
|
+
i0.ɵɵadvance(2);
|
|
2896
|
+
i0.ɵɵtextInterpolate(acreedor_r3.limiteCredito);
|
|
2897
|
+
i0.ɵɵadvance(2);
|
|
2898
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 8, acreedor_r3.fechaUltimaCompra, "dd/MM/yyyy"));
|
|
2862
2899
|
} }
|
|
2863
2900
|
function SelectAcreedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2901
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2902
|
+
i0.ɵɵelementStart(1, "td");
|
|
2903
|
+
i0.ɵɵtext(2);
|
|
2904
|
+
i0.ɵɵpipe(3, "translate");
|
|
2905
|
+
i0.ɵɵelementEnd();
|
|
2906
|
+
i0.ɵɵelementEnd();
|
|
2870
2907
|
} if (rf & 2) {
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2908
|
+
i0.ɵɵadvance(1);
|
|
2909
|
+
i0.ɵɵattribute("colspan", 6);
|
|
2910
|
+
i0.ɵɵadvance(1);
|
|
2911
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "general.noRegistros"));
|
|
2875
2912
|
} }
|
|
2876
|
-
const _c0
|
|
2913
|
+
const _c0 = function () { return [10, 25, 50, 100, 500]; };
|
|
2877
2914
|
class SelectAcreedorComponent {
|
|
2878
2915
|
constructor(acreedorService, paginanateService, translate) {
|
|
2879
2916
|
this.acreedorService = acreedorService;
|
|
@@ -2913,46 +2950,46 @@ class SelectAcreedorComponent {
|
|
|
2913
2950
|
this.visible = false;
|
|
2914
2951
|
}
|
|
2915
2952
|
}
|
|
2916
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(
|
|
2917
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵcmp =
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2953
|
+
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); };
|
|
2954
|
+
/** @nocollapse */ SelectAcreedorComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 14, consts: [["header", "Selecciona el acreedor", 3, "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "responsive", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "pSelectableRow"], [4, "ngIf"]], template: function SelectAcreedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2955
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2956
|
+
i0.ɵɵlistener("visibleChange", function SelectAcreedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectAcreedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectAcreedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2957
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
2958
|
+
i0.ɵɵelementStart(2, "input", 2);
|
|
2959
|
+
i0.ɵɵlistener("ngModelChange", function SelectAcreedorComponent_Template_input_ngModelChange_2_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectAcreedorComponent_Template_input_keyup_2_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2960
|
+
i0.ɵɵpipe(3, "translate");
|
|
2961
|
+
i0.ɵɵelementEnd();
|
|
2962
|
+
i0.ɵɵelementStart(4, "button", 3);
|
|
2963
|
+
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2964
|
+
i0.ɵɵelementEnd();
|
|
2965
|
+
i0.ɵɵelementEnd();
|
|
2966
|
+
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2967
|
+
i0.ɵɵlistener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_5_listener($event) { return ctx.acreedorSeleccionado = $event; })("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_5_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
2968
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
2969
|
+
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
2970
|
+
i0.ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2971
|
+
i0.ɵɵelementEnd();
|
|
2972
|
+
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2973
|
+
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2974
|
+
i0.ɵɵelementEnd();
|
|
2975
|
+
i0.ɵɵelementEnd();
|
|
2939
2976
|
} if (rf & 2) {
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, Paginator, SelectableRow, NgIf], pipes: [TranslatePipe, DatePipe], encapsulation: 2 });
|
|
2949
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2977
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
2978
|
+
i0.ɵɵadvance(2);
|
|
2979
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 11, "buscar"), "...");
|
|
2980
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2981
|
+
i0.ɵɵadvance(3);
|
|
2982
|
+
i0.ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true)("responsive", true);
|
|
2983
|
+
i0.ɵɵadvance(4);
|
|
2984
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
2985
|
+
} }, directives: [i4$2.Dialog, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i7.ButtonDirective, i8$1.Table, i4$1.PrimeTemplate, i10.Paginator, i8$1.SelectableRow, i8.NgIf], pipes: [i3.TranslatePipe, i8.DatePipe], encapsulation: 2 });
|
|
2986
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
2950
2987
|
type: Component,
|
|
2951
2988
|
args: [{
|
|
2952
2989
|
templateUrl: 'select-acreedor.component.html',
|
|
2953
2990
|
selector: 'select-acreedor'
|
|
2954
2991
|
}]
|
|
2955
|
-
}], function () { return [{ type: AcreedorService }, { type: PaginateService }, { type: TranslateService }]; }, { visible: [{
|
|
2992
|
+
}], function () { return [{ type: AcreedorService }, { type: PaginateService }, { type: i3.TranslateService }]; }, { visible: [{
|
|
2956
2993
|
type: Input
|
|
2957
2994
|
}], acreedorSeleccionado: [{
|
|
2958
2995
|
type: Input
|
|
@@ -3016,8 +3053,8 @@ function HttpLoaderFactory(http) {
|
|
|
3016
3053
|
class CoreLibModule {
|
|
3017
3054
|
}
|
|
3018
3055
|
/** @nocollapse */ CoreLibModule.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); };
|
|
3019
|
-
/** @nocollapse */ CoreLibModule.ɵmod =
|
|
3020
|
-
/** @nocollapse */ CoreLibModule.ɵinj =
|
|
3056
|
+
/** @nocollapse */ CoreLibModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule });
|
|
3057
|
+
/** @nocollapse */ CoreLibModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
3021
3058
|
primeNgServices,
|
|
3022
3059
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
3023
3060
|
], imports: [[
|
|
@@ -3033,8 +3070,7 @@ class CoreLibModule {
|
|
|
3033
3070
|
}
|
|
3034
3071
|
})
|
|
3035
3072
|
]] });
|
|
3036
|
-
(function () { (typeof
|
|
3037
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(CoreLibModule, [{
|
|
3073
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
|
|
3038
3074
|
type: NgModule,
|
|
3039
3075
|
args: [{
|
|
3040
3076
|
declarations: [
|
|
@@ -3063,6 +3099,7 @@ class CoreLibModule {
|
|
|
3063
3099
|
exports: [components, contaComponents]
|
|
3064
3100
|
}]
|
|
3065
3101
|
}], null, null); })();
|
|
3102
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CoreLibModule, { declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i8$1.TableModule, i4.TreeTableModule, i20.CalendarModule, i8$1.TableModule, i7.ButtonModule, i6.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i10.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i4$2.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, FormsModule, i1$1.ToastrModule, i3.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent] }); })();
|
|
3066
3103
|
|
|
3067
3104
|
class ControlAccesoService {
|
|
3068
3105
|
constructor(authService) {
|
|
@@ -3090,9 +3127,9 @@ class ControlAccesoService {
|
|
|
3090
3127
|
return permiso;
|
|
3091
3128
|
}
|
|
3092
3129
|
}
|
|
3093
|
-
/** @nocollapse */ ControlAccesoService.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(
|
|
3094
|
-
/** @nocollapse */ ControlAccesoService.ɵprov =
|
|
3095
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3130
|
+
/** @nocollapse */ ControlAccesoService.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); };
|
|
3131
|
+
/** @nocollapse */ ControlAccesoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' });
|
|
3132
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
|
|
3096
3133
|
type: Injectable,
|
|
3097
3134
|
args: [{
|
|
3098
3135
|
providedIn: 'root'
|
|
@@ -3139,14 +3176,14 @@ class InitService {
|
|
|
3139
3176
|
});
|
|
3140
3177
|
}
|
|
3141
3178
|
}
|
|
3142
|
-
/** @nocollapse */ InitService.ɵfac = function InitService_Factory(t) { return new (t || InitService)(
|
|
3143
|
-
/** @nocollapse */ InitService.ɵprov =
|
|
3144
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3179
|
+
/** @nocollapse */ InitService.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); };
|
|
3180
|
+
/** @nocollapse */ InitService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' });
|
|
3181
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
|
|
3145
3182
|
type: Injectable,
|
|
3146
3183
|
args: [{
|
|
3147
3184
|
providedIn: 'root'
|
|
3148
3185
|
}]
|
|
3149
|
-
}], function () { return [{ type: HttpClient }, { type: AuthService }]; }, null); })();
|
|
3186
|
+
}], function () { return [{ type: i1.HttpClient }, { type: AuthService }]; }, null); })();
|
|
3150
3187
|
|
|
3151
3188
|
class MessageService {
|
|
3152
3189
|
constructor(toastr) {
|
|
@@ -3214,28 +3251,28 @@ class MessageService {
|
|
|
3214
3251
|
return msgs;
|
|
3215
3252
|
}
|
|
3216
3253
|
}
|
|
3217
|
-
/** @nocollapse */ MessageService.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(
|
|
3218
|
-
/** @nocollapse */ MessageService.ɵprov =
|
|
3219
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3254
|
+
/** @nocollapse */ MessageService.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); };
|
|
3255
|
+
/** @nocollapse */ MessageService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' });
|
|
3256
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
|
|
3220
3257
|
type: Injectable,
|
|
3221
3258
|
args: [{
|
|
3222
3259
|
providedIn: 'root'
|
|
3223
3260
|
}]
|
|
3224
|
-
}], function () { return [{ type: ToastrService }]; }, null); })();
|
|
3261
|
+
}], function () { return [{ type: i1$1.ToastrService }]; }, null); })();
|
|
3225
3262
|
|
|
3226
3263
|
class PersonaMoralService extends CrudService {
|
|
3227
3264
|
constructor(http) {
|
|
3228
3265
|
super(http, '/personaMoral');
|
|
3229
3266
|
}
|
|
3230
3267
|
}
|
|
3231
|
-
/** @nocollapse */ PersonaMoralService.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(
|
|
3232
|
-
/** @nocollapse */ PersonaMoralService.ɵprov =
|
|
3233
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3268
|
+
/** @nocollapse */ PersonaMoralService.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3269
|
+
/** @nocollapse */ PersonaMoralService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' });
|
|
3270
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
|
|
3234
3271
|
type: Injectable,
|
|
3235
3272
|
args: [{
|
|
3236
3273
|
providedIn: 'root'
|
|
3237
3274
|
}]
|
|
3238
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3275
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3239
3276
|
|
|
3240
3277
|
class CanActivateGuard {
|
|
3241
3278
|
constructor(controlAccesoService) {
|
|
@@ -3250,9 +3287,9 @@ class CanActivateGuard {
|
|
|
3250
3287
|
this.rol = rol;
|
|
3251
3288
|
}
|
|
3252
3289
|
}
|
|
3253
|
-
/** @nocollapse */ CanActivateGuard.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(
|
|
3254
|
-
/** @nocollapse */ CanActivateGuard.ɵprov =
|
|
3255
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3290
|
+
/** @nocollapse */ CanActivateGuard.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); };
|
|
3291
|
+
/** @nocollapse */ CanActivateGuard.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' });
|
|
3292
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
|
|
3256
3293
|
type: Injectable,
|
|
3257
3294
|
args: [{
|
|
3258
3295
|
providedIn: 'root'
|
|
@@ -3265,14 +3302,14 @@ class CatalogoAdicionalService extends CrudService {
|
|
|
3265
3302
|
this.httpClient = httpClient;
|
|
3266
3303
|
}
|
|
3267
3304
|
}
|
|
3268
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(
|
|
3269
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵprov =
|
|
3270
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3305
|
+
/** @nocollapse */ CatalogoAdicionalService.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3306
|
+
/** @nocollapse */ CatalogoAdicionalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' });
|
|
3307
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
|
|
3271
3308
|
type: Injectable,
|
|
3272
3309
|
args: [{
|
|
3273
3310
|
providedIn: 'root'
|
|
3274
3311
|
}]
|
|
3275
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3312
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3276
3313
|
|
|
3277
3314
|
class Authenticated {
|
|
3278
3315
|
constructor(authService, controlAccesoService, router) {
|
|
@@ -3334,14 +3371,14 @@ class Authenticated {
|
|
|
3334
3371
|
window.location.href = host;
|
|
3335
3372
|
}
|
|
3336
3373
|
}
|
|
3337
|
-
/** @nocollapse */ Authenticated.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(
|
|
3338
|
-
/** @nocollapse */ Authenticated.ɵprov =
|
|
3339
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3374
|
+
/** @nocollapse */ Authenticated.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$2.Router)); };
|
|
3375
|
+
/** @nocollapse */ Authenticated.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' });
|
|
3376
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
|
|
3340
3377
|
type: Injectable,
|
|
3341
3378
|
args: [{
|
|
3342
3379
|
providedIn: 'root'
|
|
3343
3380
|
}]
|
|
3344
|
-
}], function () { return [{ type: AuthService }, { type: ControlAccesoService }, { type: Router }]; }, null); })();
|
|
3381
|
+
}], function () { return [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$2.Router }]; }, null); })();
|
|
3345
3382
|
|
|
3346
3383
|
class VersionCheckService {
|
|
3347
3384
|
constructor(http) {
|
|
@@ -3382,14 +3419,14 @@ class VersionCheckService {
|
|
|
3382
3419
|
return currentHash === newHash;
|
|
3383
3420
|
}
|
|
3384
3421
|
}
|
|
3385
|
-
/** @nocollapse */ VersionCheckService.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(
|
|
3386
|
-
/** @nocollapse */ VersionCheckService.ɵprov =
|
|
3387
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3422
|
+
/** @nocollapse */ VersionCheckService.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3423
|
+
/** @nocollapse */ VersionCheckService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' });
|
|
3424
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
|
|
3388
3425
|
type: Injectable,
|
|
3389
3426
|
args: [{
|
|
3390
3427
|
providedIn: 'root'
|
|
3391
3428
|
}]
|
|
3392
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3429
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3393
3430
|
|
|
3394
3431
|
class AgenteService extends CrudService {
|
|
3395
3432
|
constructor(httpClient) {
|
|
@@ -3409,14 +3446,14 @@ class AgenteService extends CrudService {
|
|
|
3409
3446
|
return this.getHttp().get(url, this.buildAuth());
|
|
3410
3447
|
}
|
|
3411
3448
|
}
|
|
3412
|
-
/** @nocollapse */ AgenteService.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(
|
|
3413
|
-
/** @nocollapse */ AgenteService.ɵprov =
|
|
3414
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3449
|
+
/** @nocollapse */ AgenteService.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3450
|
+
/** @nocollapse */ AgenteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' });
|
|
3451
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
|
|
3415
3452
|
type: Injectable,
|
|
3416
3453
|
args: [{
|
|
3417
3454
|
providedIn: 'root'
|
|
3418
3455
|
}]
|
|
3419
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3456
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3420
3457
|
|
|
3421
3458
|
class Almacen {
|
|
3422
3459
|
constructor() { }
|
|
@@ -3438,14 +3475,14 @@ class BancoService extends CrudService {
|
|
|
3438
3475
|
super(http, '/banco');
|
|
3439
3476
|
}
|
|
3440
3477
|
}
|
|
3441
|
-
/** @nocollapse */ BancoService.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(
|
|
3442
|
-
/** @nocollapse */ BancoService.ɵprov =
|
|
3443
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3478
|
+
/** @nocollapse */ BancoService.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3479
|
+
/** @nocollapse */ BancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' });
|
|
3480
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
|
|
3444
3481
|
type: Injectable,
|
|
3445
3482
|
args: [{
|
|
3446
3483
|
providedIn: 'root'
|
|
3447
3484
|
}]
|
|
3448
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3485
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3449
3486
|
|
|
3450
3487
|
class CatalogoTipo {
|
|
3451
3488
|
constructor() { }
|
|
@@ -3456,28 +3493,28 @@ class CatalogoTipoService extends CrudService {
|
|
|
3456
3493
|
super(htt, '/catalogoTipo');
|
|
3457
3494
|
}
|
|
3458
3495
|
}
|
|
3459
|
-
/** @nocollapse */ CatalogoTipoService.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(
|
|
3460
|
-
/** @nocollapse */ CatalogoTipoService.ɵprov =
|
|
3461
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3496
|
+
/** @nocollapse */ CatalogoTipoService.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3497
|
+
/** @nocollapse */ CatalogoTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' });
|
|
3498
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
|
|
3462
3499
|
type: Injectable,
|
|
3463
3500
|
args: [{
|
|
3464
3501
|
providedIn: 'root'
|
|
3465
3502
|
}]
|
|
3466
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3503
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3467
3504
|
|
|
3468
3505
|
class ClasificadorTipoService extends CrudService {
|
|
3469
3506
|
constructor(http) {
|
|
3470
3507
|
super(http, '/clasificadorTipo');
|
|
3471
3508
|
}
|
|
3472
3509
|
}
|
|
3473
|
-
/** @nocollapse */ ClasificadorTipoService.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(
|
|
3474
|
-
/** @nocollapse */ ClasificadorTipoService.ɵprov =
|
|
3475
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3510
|
+
/** @nocollapse */ ClasificadorTipoService.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3511
|
+
/** @nocollapse */ ClasificadorTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' });
|
|
3512
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
|
|
3476
3513
|
type: Injectable,
|
|
3477
3514
|
args: [{
|
|
3478
3515
|
providedIn: 'root'
|
|
3479
3516
|
}]
|
|
3480
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3517
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3481
3518
|
|
|
3482
3519
|
class ClaveMovimiento {
|
|
3483
3520
|
constructor() { }
|
|
@@ -3488,14 +3525,14 @@ class ClaveMovimientoService extends CrudService {
|
|
|
3488
3525
|
super(http, 'claveMovimiento');
|
|
3489
3526
|
}
|
|
3490
3527
|
}
|
|
3491
|
-
/** @nocollapse */ ClaveMovimientoService.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(
|
|
3492
|
-
/** @nocollapse */ ClaveMovimientoService.ɵprov =
|
|
3493
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3528
|
+
/** @nocollapse */ ClaveMovimientoService.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3529
|
+
/** @nocollapse */ ClaveMovimientoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' });
|
|
3530
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
|
|
3494
3531
|
type: Injectable,
|
|
3495
3532
|
args: [{
|
|
3496
3533
|
providedIn: 'root'
|
|
3497
3534
|
}]
|
|
3498
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3535
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3499
3536
|
|
|
3500
3537
|
class ClienteCuentaBanco {
|
|
3501
3538
|
constructor() {
|
|
@@ -3526,14 +3563,14 @@ class ClienteCuentaBancoService extends CrudService {
|
|
|
3526
3563
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3527
3564
|
}
|
|
3528
3565
|
}
|
|
3529
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(
|
|
3530
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵprov =
|
|
3531
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3566
|
+
/** @nocollapse */ ClienteCuentaBancoService.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3567
|
+
/** @nocollapse */ ClienteCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3568
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
|
|
3532
3569
|
type: Injectable,
|
|
3533
3570
|
args: [{
|
|
3534
3571
|
providedIn: 'root'
|
|
3535
3572
|
}]
|
|
3536
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3573
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3537
3574
|
|
|
3538
3575
|
class ClienteFleteService extends CrudService {
|
|
3539
3576
|
constructor(httpClient) {
|
|
@@ -3545,14 +3582,14 @@ class ClienteFleteService extends CrudService {
|
|
|
3545
3582
|
return this.save(params);
|
|
3546
3583
|
}
|
|
3547
3584
|
}
|
|
3548
|
-
/** @nocollapse */ ClienteFleteService.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(
|
|
3549
|
-
/** @nocollapse */ ClienteFleteService.ɵprov =
|
|
3550
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3585
|
+
/** @nocollapse */ ClienteFleteService.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3586
|
+
/** @nocollapse */ ClienteFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' });
|
|
3587
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
|
|
3551
3588
|
type: Injectable,
|
|
3552
3589
|
args: [{
|
|
3553
3590
|
providedIn: 'root'
|
|
3554
3591
|
}]
|
|
3555
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3592
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3556
3593
|
|
|
3557
3594
|
class TipoContacto {
|
|
3558
3595
|
constructor() {
|
|
@@ -3571,28 +3608,28 @@ class DatoContactoService extends CrudService {
|
|
|
3571
3608
|
super(http, '/contacto');
|
|
3572
3609
|
}
|
|
3573
3610
|
}
|
|
3574
|
-
/** @nocollapse */ DatoContactoService.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(
|
|
3575
|
-
/** @nocollapse */ DatoContactoService.ɵprov =
|
|
3576
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3611
|
+
/** @nocollapse */ DatoContactoService.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3612
|
+
/** @nocollapse */ DatoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' });
|
|
3613
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
|
|
3577
3614
|
type: Injectable,
|
|
3578
3615
|
args: [{
|
|
3579
3616
|
providedIn: 'root'
|
|
3580
3617
|
}]
|
|
3581
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3618
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3582
3619
|
|
|
3583
3620
|
class DatoDireccionService extends CrudService {
|
|
3584
3621
|
constructor(http) {
|
|
3585
3622
|
super(http, '/datoDireccion');
|
|
3586
3623
|
}
|
|
3587
3624
|
}
|
|
3588
|
-
/** @nocollapse */ DatoDireccionService.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(
|
|
3589
|
-
/** @nocollapse */ DatoDireccionService.ɵprov =
|
|
3590
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3625
|
+
/** @nocollapse */ DatoDireccionService.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3626
|
+
/** @nocollapse */ DatoDireccionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' });
|
|
3627
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
|
|
3591
3628
|
type: Injectable,
|
|
3592
3629
|
args: [{
|
|
3593
3630
|
providedIn: 'root'
|
|
3594
3631
|
}]
|
|
3595
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3632
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3596
3633
|
|
|
3597
3634
|
class Departamento {
|
|
3598
3635
|
constructor() {
|
|
@@ -3604,14 +3641,14 @@ class DepartamentoService extends CrudService {
|
|
|
3604
3641
|
super(http, '/departamento');
|
|
3605
3642
|
}
|
|
3606
3643
|
}
|
|
3607
|
-
/** @nocollapse */ DepartamentoService.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(
|
|
3608
|
-
/** @nocollapse */ DepartamentoService.ɵprov =
|
|
3609
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3644
|
+
/** @nocollapse */ DepartamentoService.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3645
|
+
/** @nocollapse */ DepartamentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' });
|
|
3646
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
|
|
3610
3647
|
type: Injectable,
|
|
3611
3648
|
args: [{
|
|
3612
3649
|
providedIn: 'root'
|
|
3613
3650
|
}]
|
|
3614
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3651
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3615
3652
|
|
|
3616
3653
|
class FormaPago {
|
|
3617
3654
|
constructor() { }
|
|
@@ -3641,14 +3678,14 @@ class EmpresaService extends CrudService {
|
|
|
3641
3678
|
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
3642
3679
|
}
|
|
3643
3680
|
}
|
|
3644
|
-
/** @nocollapse */ EmpresaService.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(
|
|
3645
|
-
/** @nocollapse */ EmpresaService.ɵprov =
|
|
3646
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3681
|
+
/** @nocollapse */ EmpresaService.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3682
|
+
/** @nocollapse */ EmpresaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' });
|
|
3683
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
|
|
3647
3684
|
type: Injectable,
|
|
3648
3685
|
args: [{
|
|
3649
3686
|
providedIn: 'root'
|
|
3650
3687
|
}]
|
|
3651
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3688
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3652
3689
|
|
|
3653
3690
|
class FleteService extends CrudService {
|
|
3654
3691
|
constructor(httpClient) {
|
|
@@ -3656,28 +3693,28 @@ class FleteService extends CrudService {
|
|
|
3656
3693
|
this.httpClient = httpClient;
|
|
3657
3694
|
}
|
|
3658
3695
|
}
|
|
3659
|
-
/** @nocollapse */ FleteService.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(
|
|
3660
|
-
/** @nocollapse */ FleteService.ɵprov =
|
|
3661
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3696
|
+
/** @nocollapse */ FleteService.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3697
|
+
/** @nocollapse */ FleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' });
|
|
3698
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
|
|
3662
3699
|
type: Injectable,
|
|
3663
3700
|
args: [{
|
|
3664
3701
|
providedIn: 'root'
|
|
3665
3702
|
}]
|
|
3666
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3703
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3667
3704
|
|
|
3668
3705
|
class FormaPagoService extends CrudService {
|
|
3669
3706
|
constructor(http) {
|
|
3670
3707
|
super(http, '/FormaDePago');
|
|
3671
3708
|
}
|
|
3672
3709
|
}
|
|
3673
|
-
/** @nocollapse */ FormaPagoService.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(
|
|
3674
|
-
/** @nocollapse */ FormaPagoService.ɵprov =
|
|
3675
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3710
|
+
/** @nocollapse */ FormaPagoService.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3711
|
+
/** @nocollapse */ FormaPagoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" });
|
|
3712
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
|
|
3676
3713
|
type: Injectable,
|
|
3677
3714
|
args: [{
|
|
3678
3715
|
providedIn: "root"
|
|
3679
3716
|
}]
|
|
3680
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3717
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3681
3718
|
|
|
3682
3719
|
class Moneda {
|
|
3683
3720
|
constructor() { }
|
|
@@ -3689,14 +3726,14 @@ class MonedaService extends CrudService {
|
|
|
3689
3726
|
this.httpClient = httpClient;
|
|
3690
3727
|
}
|
|
3691
3728
|
}
|
|
3692
|
-
/** @nocollapse */ MonedaService.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(
|
|
3693
|
-
/** @nocollapse */ MonedaService.ɵprov =
|
|
3694
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3729
|
+
/** @nocollapse */ MonedaService.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3730
|
+
/** @nocollapse */ MonedaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' });
|
|
3731
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
|
|
3695
3732
|
type: Injectable,
|
|
3696
3733
|
args: [{
|
|
3697
3734
|
providedIn: 'root'
|
|
3698
3735
|
}]
|
|
3699
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3736
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3700
3737
|
|
|
3701
3738
|
class EstadoCivil {
|
|
3702
3739
|
constructor() { }
|
|
@@ -3718,14 +3755,14 @@ class PersonaFisicaService extends CrudService {
|
|
|
3718
3755
|
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
3719
3756
|
}
|
|
3720
3757
|
}
|
|
3721
|
-
/** @nocollapse */ PersonaFisicaService.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(
|
|
3722
|
-
/** @nocollapse */ PersonaFisicaService.ɵprov =
|
|
3723
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3758
|
+
/** @nocollapse */ PersonaFisicaService.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3759
|
+
/** @nocollapse */ PersonaFisicaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" });
|
|
3760
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
|
|
3724
3761
|
type: Injectable,
|
|
3725
3762
|
args: [{
|
|
3726
3763
|
providedIn: "root"
|
|
3727
3764
|
}]
|
|
3728
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3765
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3729
3766
|
|
|
3730
3767
|
class ProveedorCuentaBanco {
|
|
3731
3768
|
constructor() {
|
|
@@ -3752,14 +3789,14 @@ class ProveedorCuentaBancoService extends CrudService {
|
|
|
3752
3789
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3753
3790
|
}
|
|
3754
3791
|
}
|
|
3755
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(
|
|
3756
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov =
|
|
3757
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3792
|
+
/** @nocollapse */ ProveedorCuentaBancoService.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3793
|
+
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3794
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
|
|
3758
3795
|
type: Injectable,
|
|
3759
3796
|
args: [{
|
|
3760
3797
|
providedIn: 'root'
|
|
3761
3798
|
}]
|
|
3762
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3799
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3763
3800
|
|
|
3764
3801
|
class ProveedorFleteService extends CrudService {
|
|
3765
3802
|
constructor(httpClient) {
|
|
@@ -3771,28 +3808,28 @@ class ProveedorFleteService extends CrudService {
|
|
|
3771
3808
|
return this.save(params);
|
|
3772
3809
|
}
|
|
3773
3810
|
}
|
|
3774
|
-
/** @nocollapse */ ProveedorFleteService.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(
|
|
3775
|
-
/** @nocollapse */ ProveedorFleteService.ɵprov =
|
|
3776
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3811
|
+
/** @nocollapse */ ProveedorFleteService.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3812
|
+
/** @nocollapse */ ProveedorFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' });
|
|
3813
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
|
|
3777
3814
|
type: Injectable,
|
|
3778
3815
|
args: [{
|
|
3779
3816
|
providedIn: 'root'
|
|
3780
3817
|
}]
|
|
3781
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3818
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3782
3819
|
|
|
3783
3820
|
class ClaveAumentoDisminucionService extends CrudService {
|
|
3784
3821
|
constructor(http) {
|
|
3785
3822
|
super(http, 'claveAumentoDisminucion');
|
|
3786
3823
|
}
|
|
3787
3824
|
}
|
|
3788
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(
|
|
3789
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov =
|
|
3790
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3825
|
+
/** @nocollapse */ ClaveAumentoDisminucionService.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3826
|
+
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' });
|
|
3827
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
|
|
3791
3828
|
type: Injectable,
|
|
3792
3829
|
args: [{
|
|
3793
3830
|
providedIn: 'root'
|
|
3794
3831
|
}]
|
|
3795
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3832
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3796
3833
|
|
|
3797
3834
|
class SerieDocumentoService extends CrudService {
|
|
3798
3835
|
constructor(httpClient) {
|
|
@@ -3806,14 +3843,14 @@ class SerieDocumentoService extends CrudService {
|
|
|
3806
3843
|
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
3807
3844
|
}
|
|
3808
3845
|
}
|
|
3809
|
-
/** @nocollapse */ SerieDocumentoService.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(
|
|
3810
|
-
/** @nocollapse */ SerieDocumentoService.ɵprov =
|
|
3811
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3846
|
+
/** @nocollapse */ SerieDocumentoService.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3847
|
+
/** @nocollapse */ SerieDocumentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' });
|
|
3848
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
|
|
3812
3849
|
type: Injectable,
|
|
3813
3850
|
args: [{
|
|
3814
3851
|
providedIn: 'root'
|
|
3815
3852
|
}]
|
|
3816
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3853
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3817
3854
|
|
|
3818
3855
|
class SerieDocumento {
|
|
3819
3856
|
constructor() { }
|
|
@@ -3824,14 +3861,14 @@ class TipoContactoService extends CrudService {
|
|
|
3824
3861
|
super(http, '/tipoContacto');
|
|
3825
3862
|
}
|
|
3826
3863
|
}
|
|
3827
|
-
/** @nocollapse */ TipoContactoService.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(
|
|
3828
|
-
/** @nocollapse */ TipoContactoService.ɵprov =
|
|
3829
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3864
|
+
/** @nocollapse */ TipoContactoService.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3865
|
+
/** @nocollapse */ TipoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' });
|
|
3866
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
|
|
3830
3867
|
type: Injectable,
|
|
3831
3868
|
args: [{
|
|
3832
3869
|
providedIn: 'root'
|
|
3833
3870
|
}]
|
|
3834
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3871
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3835
3872
|
|
|
3836
3873
|
class Ubicacion {
|
|
3837
3874
|
constructor() { }
|
|
@@ -3842,14 +3879,14 @@ class UbicacionService extends CrudService {
|
|
|
3842
3879
|
super(http, 'ubicacion');
|
|
3843
3880
|
}
|
|
3844
3881
|
}
|
|
3845
|
-
/** @nocollapse */ UbicacionService.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(
|
|
3846
|
-
/** @nocollapse */ UbicacionService.ɵprov =
|
|
3847
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3882
|
+
/** @nocollapse */ UbicacionService.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3883
|
+
/** @nocollapse */ UbicacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' });
|
|
3884
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
|
|
3848
3885
|
type: Injectable,
|
|
3849
3886
|
args: [{
|
|
3850
3887
|
providedIn: 'root'
|
|
3851
3888
|
}]
|
|
3852
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3889
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3853
3890
|
|
|
3854
3891
|
class TipoCatalogo {
|
|
3855
3892
|
}
|
|
@@ -3866,14 +3903,14 @@ class AcreedorCuentaContableService extends CrudService {
|
|
|
3866
3903
|
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
3867
3904
|
}
|
|
3868
3905
|
}
|
|
3869
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(
|
|
3870
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵprov =
|
|
3871
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3906
|
+
/** @nocollapse */ AcreedorCuentaContableService.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3907
|
+
/** @nocollapse */ AcreedorCuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' });
|
|
3908
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorCuentaContableService, [{
|
|
3872
3909
|
type: Injectable,
|
|
3873
3910
|
args: [{
|
|
3874
3911
|
providedIn: 'root'
|
|
3875
3912
|
}]
|
|
3876
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3913
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3877
3914
|
|
|
3878
3915
|
class CuentaContableModel {
|
|
3879
3916
|
constructor() {
|