visorus-erp-core 11.0.1 → 12.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
}
|
|
@@ -1189,105 +1226,105 @@ class AuthService {
|
|
|
1189
1226
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioConfiguracion', httpOptions);
|
|
1190
1227
|
}
|
|
1191
1228
|
}
|
|
1192
|
-
/** @nocollapse */ AuthService.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(
|
|
1193
|
-
/** @nocollapse */ AuthService.ɵprov =
|
|
1194
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1229
|
+
/** @nocollapse */ AuthService.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1230
|
+
/** @nocollapse */ AuthService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' });
|
|
1231
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
1195
1232
|
type: Injectable,
|
|
1196
1233
|
args: [{
|
|
1197
1234
|
providedIn: 'root'
|
|
1198
1235
|
}]
|
|
1199
|
-
}], function () { return [{ type: HttpClient }]; }, { login: [{
|
|
1236
|
+
}], function () { return [{ type: i1.HttpClient }]; }, { login: [{
|
|
1200
1237
|
type: Output
|
|
1201
1238
|
}], seleccionEmpresa: [{
|
|
1202
1239
|
type: Output
|
|
1203
1240
|
}] }); })();
|
|
1204
1241
|
|
|
1205
1242
|
function LoginModalComponent_div_6_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1243
|
+
i0.ɵɵelementStart(0, "label", 19);
|
|
1244
|
+
i0.ɵɵtext(1);
|
|
1245
|
+
i0.ɵɵpipe(2, "translate");
|
|
1246
|
+
i0.ɵɵelementEnd();
|
|
1210
1247
|
} if (rf & 2) {
|
|
1211
|
-
|
|
1212
|
-
|
|
1248
|
+
i0.ɵɵadvance(1);
|
|
1249
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Usuario.errorLogin"));
|
|
1213
1250
|
} }
|
|
1214
1251
|
function LoginModalComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
1215
|
-
const _r6 =
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1252
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
1253
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
1254
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
1255
|
+
i0.ɵɵelementStart(2, "form", 9, 10);
|
|
1256
|
+
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); });
|
|
1257
|
+
i0.ɵɵtemplate(4, LoginModalComponent_div_6_label_4_Template, 3, 3, "label", 11);
|
|
1258
|
+
i0.ɵɵelementStart(5, "div", 12);
|
|
1259
|
+
i0.ɵɵelementStart(6, "label", 13);
|
|
1260
|
+
i0.ɵɵtext(7);
|
|
1261
|
+
i0.ɵɵpipe(8, "translate");
|
|
1262
|
+
i0.ɵɵelementEnd();
|
|
1263
|
+
i0.ɵɵelementStart(9, "input", 14, 15);
|
|
1264
|
+
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; });
|
|
1265
|
+
i0.ɵɵpipe(11, "translate");
|
|
1266
|
+
i0.ɵɵelementEnd();
|
|
1267
|
+
i0.ɵɵelementEnd();
|
|
1268
|
+
i0.ɵɵelementStart(12, "div", 12);
|
|
1269
|
+
i0.ɵɵelementStart(13, "label", 16);
|
|
1270
|
+
i0.ɵɵtext(14);
|
|
1271
|
+
i0.ɵɵpipe(15, "translate");
|
|
1272
|
+
i0.ɵɵelementEnd();
|
|
1273
|
+
i0.ɵɵelementStart(16, "input", 17);
|
|
1274
|
+
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; });
|
|
1275
|
+
i0.ɵɵpipe(17, "translate");
|
|
1276
|
+
i0.ɵɵelementEnd();
|
|
1277
|
+
i0.ɵɵelementEnd();
|
|
1278
|
+
i0.ɵɵelementStart(18, "button", 18);
|
|
1279
|
+
i0.ɵɵtext(19, "entrar");
|
|
1280
|
+
i0.ɵɵelementEnd();
|
|
1281
|
+
i0.ɵɵelementEnd();
|
|
1282
|
+
i0.ɵɵelementEnd();
|
|
1283
|
+
i0.ɵɵelementEnd();
|
|
1247
1284
|
} if (rf & 2) {
|
|
1248
|
-
const ctx_r0 =
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1285
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1286
|
+
i0.ɵɵadvance(4);
|
|
1287
|
+
i0.ɵɵproperty("ngIf", ctx_r0.error);
|
|
1288
|
+
i0.ɵɵadvance(3);
|
|
1289
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, "Usuario.username"));
|
|
1290
|
+
i0.ɵɵadvance(2);
|
|
1291
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(11, 9, "Usuario.username"));
|
|
1292
|
+
i0.ɵɵproperty("ngModel", ctx_r0.user.username);
|
|
1293
|
+
i0.ɵɵadvance(5);
|
|
1294
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 11, "Usuario.password"));
|
|
1295
|
+
i0.ɵɵadvance(2);
|
|
1296
|
+
i0.ɵɵpropertyInterpolate("placeholder", i0.ɵɵpipeBind1(17, 13, "Usuario.password"));
|
|
1297
|
+
i0.ɵɵproperty("ngModel", ctx_r0.user.password);
|
|
1261
1298
|
} }
|
|
1262
1299
|
function LoginModalComponent_div_7_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1300
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
1301
|
+
i0.ɵɵelementStart(1, "div", 23);
|
|
1302
|
+
i0.ɵɵelementStart(2, "div", 24);
|
|
1303
|
+
i0.ɵɵelementStart(3, "h5");
|
|
1304
|
+
i0.ɵɵtext(4);
|
|
1305
|
+
i0.ɵɵelementEnd();
|
|
1306
|
+
i0.ɵɵelementEnd();
|
|
1307
|
+
i0.ɵɵelementEnd();
|
|
1308
|
+
i0.ɵɵelementEnd();
|
|
1272
1309
|
} if (rf & 2) {
|
|
1273
1310
|
const empresa_r10 = ctx.$implicit;
|
|
1274
|
-
|
|
1275
|
-
|
|
1311
|
+
i0.ɵɵadvance(4);
|
|
1312
|
+
i0.ɵɵtextInterpolate1(" ", empresa_r10.nombre, " ");
|
|
1276
1313
|
} }
|
|
1277
1314
|
function LoginModalComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1315
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
1316
|
+
i0.ɵɵelementStart(1, "div", 20);
|
|
1317
|
+
i0.ɵɵelementStart(2, "h4");
|
|
1318
|
+
i0.ɵɵtext(3, "Selecciona la empresa");
|
|
1319
|
+
i0.ɵɵelementEnd();
|
|
1320
|
+
i0.ɵɵelement(4, "hr");
|
|
1321
|
+
i0.ɵɵelementEnd();
|
|
1322
|
+
i0.ɵɵtemplate(5, LoginModalComponent_div_7_div_5_Template, 5, 1, "div", 21);
|
|
1323
|
+
i0.ɵɵelementEnd();
|
|
1287
1324
|
} if (rf & 2) {
|
|
1288
|
-
const ctx_r1 =
|
|
1289
|
-
|
|
1290
|
-
|
|
1325
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1326
|
+
i0.ɵɵadvance(5);
|
|
1327
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.empresas);
|
|
1291
1328
|
} }
|
|
1292
1329
|
class LoginModalComponent {
|
|
1293
1330
|
constructor(loginModalService, authService) {
|
|
@@ -1343,28 +1380,28 @@ class LoginModalComponent {
|
|
|
1343
1380
|
});
|
|
1344
1381
|
}
|
|
1345
1382
|
}
|
|
1346
|
-
/** @nocollapse */ LoginModalComponent.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(
|
|
1347
|
-
/** @nocollapse */ LoginModalComponent.ɵcmp =
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1383
|
+
/** @nocollapse */ LoginModalComponent.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); };
|
|
1384
|
+
/** @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) {
|
|
1385
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
1386
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
1387
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
1388
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
1389
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
1390
|
+
i0.ɵɵelement(5, "img", 5);
|
|
1391
|
+
i0.ɵɵelementEnd();
|
|
1392
|
+
i0.ɵɵtemplate(6, LoginModalComponent_div_6_Template, 20, 15, "div", 6);
|
|
1393
|
+
i0.ɵɵtemplate(7, LoginModalComponent_div_7_Template, 6, 1, "div", 6);
|
|
1394
|
+
i0.ɵɵelementEnd();
|
|
1395
|
+
i0.ɵɵelementEnd();
|
|
1396
|
+
i0.ɵɵelementEnd();
|
|
1397
|
+
i0.ɵɵelementEnd();
|
|
1361
1398
|
} if (rf & 2) {
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
} }, directives: [NgIf,
|
|
1367
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1399
|
+
i0.ɵɵadvance(6);
|
|
1400
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
|
|
1401
|
+
i0.ɵɵadvance(1);
|
|
1402
|
+
i0.ɵɵproperty("ngIf", ctx.empresas.length);
|
|
1403
|
+
} }, 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}"] });
|
|
1404
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1368
1405
|
type: Component,
|
|
1369
1406
|
args: [{
|
|
1370
1407
|
selector: 'app-login-modal',
|
|
@@ -1379,87 +1416,87 @@ class SessionCajaService extends CrudService {
|
|
|
1379
1416
|
this.httpClient = httpClient;
|
|
1380
1417
|
}
|
|
1381
1418
|
}
|
|
1382
|
-
/** @nocollapse */ SessionCajaService.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(
|
|
1383
|
-
/** @nocollapse */ SessionCajaService.ɵprov =
|
|
1384
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1419
|
+
/** @nocollapse */ SessionCajaService.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1420
|
+
/** @nocollapse */ SessionCajaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' });
|
|
1421
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
|
|
1385
1422
|
type: Injectable,
|
|
1386
1423
|
args: [{
|
|
1387
1424
|
providedIn: 'root'
|
|
1388
1425
|
}]
|
|
1389
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
1426
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
1390
1427
|
|
|
1391
1428
|
function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1429
|
+
i0.ɵɵelementStart(0, "a", 4);
|
|
1430
|
+
i0.ɵɵtext(1);
|
|
1431
|
+
i0.ɵɵelementEnd();
|
|
1395
1432
|
} if (rf & 2) {
|
|
1396
|
-
const ctx_r0 =
|
|
1397
|
-
|
|
1398
|
-
|
|
1433
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
1434
|
+
i0.ɵɵadvance(1);
|
|
1435
|
+
i0.ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
|
|
1399
1436
|
} }
|
|
1400
1437
|
function SessionCreateComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1401
|
-
const _r4 =
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1438
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
1439
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
1440
|
+
i0.ɵɵelementStart(1, "div", 6);
|
|
1441
|
+
i0.ɵɵelementStart(2, "label", 7);
|
|
1442
|
+
i0.ɵɵtext(3, "Nombre de caja: ");
|
|
1443
|
+
i0.ɵɵelementEnd();
|
|
1444
|
+
i0.ɵɵelementStart(4, "input", 8);
|
|
1445
|
+
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; });
|
|
1446
|
+
i0.ɵɵelementEnd();
|
|
1447
|
+
i0.ɵɵelementEnd();
|
|
1448
|
+
i0.ɵɵelementStart(5, "div", 9);
|
|
1449
|
+
i0.ɵɵelementStart(6, "label", 10);
|
|
1450
|
+
i0.ɵɵtext(7, "Saldo: ");
|
|
1451
|
+
i0.ɵɵelementEnd();
|
|
1452
|
+
i0.ɵɵelementStart(8, "input", 11);
|
|
1453
|
+
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; });
|
|
1454
|
+
i0.ɵɵelementEnd();
|
|
1455
|
+
i0.ɵɵelementEnd();
|
|
1456
|
+
i0.ɵɵelementStart(9, "div", 9);
|
|
1457
|
+
i0.ɵɵelementStart(10, "label", 12);
|
|
1458
|
+
i0.ɵɵtext(11, "Numero Z:");
|
|
1459
|
+
i0.ɵɵelementEnd();
|
|
1460
|
+
i0.ɵɵelementStart(12, "input", 13);
|
|
1461
|
+
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; });
|
|
1462
|
+
i0.ɵɵelementEnd();
|
|
1463
|
+
i0.ɵɵelementEnd();
|
|
1464
|
+
i0.ɵɵelementEnd();
|
|
1428
1465
|
} if (rf & 2) {
|
|
1429
|
-
const ctx_r1 =
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1466
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
1467
|
+
i0.ɵɵadvance(4);
|
|
1468
|
+
i0.ɵɵproperty("ngModel", ctx_r1.caja.nombre)("disabled", true);
|
|
1469
|
+
i0.ɵɵadvance(4);
|
|
1470
|
+
i0.ɵɵproperty("ngModel", ctx_r1.session.monto)("disabled", ctx_r1.editMode);
|
|
1471
|
+
i0.ɵɵadvance(4);
|
|
1472
|
+
i0.ɵɵproperty("ngModel", ctx_r1.session.z)("disabled", true);
|
|
1436
1473
|
} }
|
|
1437
1474
|
function SessionCreateComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
1438
|
-
const _r10 =
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1475
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
1476
|
+
i0.ɵɵelementStart(0, "button", 17);
|
|
1477
|
+
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(); });
|
|
1478
|
+
i0.ɵɵelementEnd();
|
|
1442
1479
|
} }
|
|
1443
1480
|
function SessionCreateComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
1444
|
-
const _r12 =
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1481
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
1482
|
+
i0.ɵɵelementStart(0, "button", 18);
|
|
1483
|
+
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(); });
|
|
1484
|
+
i0.ɵɵelementEnd();
|
|
1448
1485
|
} }
|
|
1449
1486
|
function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1450
|
-
const _r14 =
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1487
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
1488
|
+
i0.ɵɵtemplate(0, SessionCreateComponent_ng_template_5_button_0_Template, 1, 0, "button", 14);
|
|
1489
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_5_button_1_Template, 1, 0, "button", 15);
|
|
1490
|
+
i0.ɵɵelementStart(2, "button", 16);
|
|
1491
|
+
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(); });
|
|
1492
|
+
i0.ɵɵelementEnd();
|
|
1456
1493
|
} if (rf & 2) {
|
|
1457
|
-
const ctx_r2 =
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1494
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
1495
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.editMode && ctx_r2.caja);
|
|
1496
|
+
i0.ɵɵadvance(1);
|
|
1497
|
+
i0.ɵɵproperty("ngIf", ctx_r2.editMode && ctx_r2.caja);
|
|
1461
1498
|
} }
|
|
1462
|
-
const _c0$
|
|
1499
|
+
const _c0$4 = function () { return { width: "750px" }; };
|
|
1463
1500
|
class SessionCreateComponent {
|
|
1464
1501
|
constructor(sessionCajaService) {
|
|
1465
1502
|
this.sessionCajaService = sessionCajaService;
|
|
@@ -1533,24 +1570,24 @@ class SessionCreateComponent {
|
|
|
1533
1570
|
});
|
|
1534
1571
|
}
|
|
1535
1572
|
}
|
|
1536
|
-
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(
|
|
1537
|
-
/** @nocollapse */ SessionCreateComponent.ɵcmp =
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1573
|
+
/** @nocollapse */ SessionCreateComponent.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); };
|
|
1574
|
+
/** @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) {
|
|
1575
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1576
|
+
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(); });
|
|
1577
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1578
|
+
i0.ɵɵtemplate(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
|
|
1579
|
+
i0.ɵɵelementStart(3, "div");
|
|
1580
|
+
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1581
|
+
i0.ɵɵelementEnd();
|
|
1582
|
+
i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
|
|
1583
|
+
i0.ɵɵelementEnd();
|
|
1547
1584
|
} if (rf & 2) {
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
} }, directives: [Dialog, PrimeTemplate, NgIf, DefaultValueAccessor, InputText, NgControlStatus, NgModel, NumberValueAccessor, ButtonDirective], styles: [""] });
|
|
1553
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1585
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$4));
|
|
1586
|
+
i0.ɵɵproperty("visible", ctx.showCreateSession)("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1587
|
+
i0.ɵɵadvance(2);
|
|
1588
|
+
i0.ɵɵproperty("ngIf", ctx.caja);
|
|
1589
|
+
} }, directives: [i4$2.Dialog, i4$1.PrimeTemplate, i8.NgIf, i5.DefaultValueAccessor, i6.InputText, i5.NgControlStatus, i5.NgModel, i5.NumberValueAccessor, i7.ButtonDirective], styles: [""] });
|
|
1590
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1554
1591
|
type: Component,
|
|
1555
1592
|
args: [{
|
|
1556
1593
|
selector: 'session-create',
|
|
@@ -1618,14 +1655,14 @@ class ClienteService extends CrudService {
|
|
|
1618
1655
|
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
1619
1656
|
}
|
|
1620
1657
|
}
|
|
1621
|
-
/** @nocollapse */ ClienteService.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(
|
|
1622
|
-
/** @nocollapse */ ClienteService.ɵprov =
|
|
1623
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1658
|
+
/** @nocollapse */ ClienteService.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1659
|
+
/** @nocollapse */ ClienteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' });
|
|
1660
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
|
|
1624
1661
|
type: Injectable,
|
|
1625
1662
|
args: [{
|
|
1626
1663
|
providedIn: 'root'
|
|
1627
1664
|
}]
|
|
1628
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
1665
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
1629
1666
|
|
|
1630
1667
|
class PaginateService {
|
|
1631
1668
|
constructor(translate) {
|
|
@@ -1672,124 +1709,124 @@ class PaginateService {
|
|
|
1672
1709
|
return ordenar;
|
|
1673
1710
|
}
|
|
1674
1711
|
}
|
|
1675
|
-
/** @nocollapse */ PaginateService.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(
|
|
1676
|
-
/** @nocollapse */ PaginateService.ɵprov =
|
|
1677
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1712
|
+
/** @nocollapse */ PaginateService.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i3.TranslateService)); };
|
|
1713
|
+
/** @nocollapse */ PaginateService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" });
|
|
1714
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
|
|
1678
1715
|
type: Injectable,
|
|
1679
1716
|
args: [{
|
|
1680
1717
|
providedIn: "root"
|
|
1681
1718
|
}]
|
|
1682
|
-
}], function () { return [{ type: TranslateService }]; }, null); })();
|
|
1719
|
+
}], function () { return [{ type: i3.TranslateService }]; }, null); })();
|
|
1683
1720
|
|
|
1684
1721
|
function SelectClienteComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1722
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1723
|
+
i0.ɵɵelementStart(1, "th");
|
|
1724
|
+
i0.ɵɵtext(2);
|
|
1725
|
+
i0.ɵɵpipe(3, "translate");
|
|
1726
|
+
i0.ɵɵelementEnd();
|
|
1727
|
+
i0.ɵɵelementStart(4, "th");
|
|
1728
|
+
i0.ɵɵtext(5);
|
|
1729
|
+
i0.ɵɵpipe(6, "translate");
|
|
1730
|
+
i0.ɵɵelementEnd();
|
|
1731
|
+
i0.ɵɵelementStart(7, "th");
|
|
1732
|
+
i0.ɵɵtext(8);
|
|
1733
|
+
i0.ɵɵpipe(9, "translate");
|
|
1734
|
+
i0.ɵɵelementEnd();
|
|
1735
|
+
i0.ɵɵelementStart(10, "th");
|
|
1736
|
+
i0.ɵɵtext(11);
|
|
1737
|
+
i0.ɵɵpipe(12, "translate");
|
|
1738
|
+
i0.ɵɵelementEnd();
|
|
1739
|
+
i0.ɵɵelementStart(13, "th");
|
|
1740
|
+
i0.ɵɵtext(14);
|
|
1741
|
+
i0.ɵɵpipe(15, "translate");
|
|
1742
|
+
i0.ɵɵelementEnd();
|
|
1743
|
+
i0.ɵɵelementStart(16, "th");
|
|
1744
|
+
i0.ɵɵtext(17);
|
|
1745
|
+
i0.ɵɵpipe(18, "translate");
|
|
1746
|
+
i0.ɵɵelementEnd();
|
|
1747
|
+
i0.ɵɵelementEnd();
|
|
1711
1748
|
} if (rf & 2) {
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1749
|
+
i0.ɵɵadvance(2);
|
|
1750
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "clave"));
|
|
1751
|
+
i0.ɵɵadvance(3);
|
|
1752
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "razonSocial"));
|
|
1753
|
+
i0.ɵɵadvance(3);
|
|
1754
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
1755
|
+
i0.ɵɵadvance(3);
|
|
1756
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "Cliente.limiteCredito"));
|
|
1757
|
+
i0.ɵɵadvance(3);
|
|
1758
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "Cliente.plazoCredito"));
|
|
1759
|
+
i0.ɵɵadvance(3);
|
|
1760
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "Cliente.diasPago"));
|
|
1724
1761
|
} }
|
|
1725
1762
|
function SelectClienteComponent_ng_template_8_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1763
|
+
i0.ɵɵelementStart(0, "span");
|
|
1764
|
+
i0.ɵɵtext(1);
|
|
1765
|
+
i0.ɵɵpipe(2, "translate");
|
|
1766
|
+
i0.ɵɵelementEnd();
|
|
1730
1767
|
} if (rf & 2) {
|
|
1731
|
-
|
|
1732
|
-
|
|
1768
|
+
i0.ɵɵadvance(1);
|
|
1769
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
1733
1770
|
} }
|
|
1734
1771
|
function SelectClienteComponent_ng_template_8_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1772
|
+
i0.ɵɵelementStart(0, "span");
|
|
1773
|
+
i0.ɵɵtext(1);
|
|
1774
|
+
i0.ɵɵpipe(2, "translate");
|
|
1775
|
+
i0.ɵɵelementEnd();
|
|
1739
1776
|
} if (rf & 2) {
|
|
1740
|
-
|
|
1741
|
-
|
|
1777
|
+
i0.ɵɵadvance(1);
|
|
1778
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
1742
1779
|
} }
|
|
1743
1780
|
function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1781
|
+
i0.ɵɵelementStart(0, "tr", 8);
|
|
1782
|
+
i0.ɵɵelementStart(1, "td");
|
|
1783
|
+
i0.ɵɵtext(2);
|
|
1784
|
+
i0.ɵɵelementEnd();
|
|
1785
|
+
i0.ɵɵelementStart(3, "td");
|
|
1786
|
+
i0.ɵɵtext(4);
|
|
1787
|
+
i0.ɵɵelementEnd();
|
|
1788
|
+
i0.ɵɵelementStart(5, "td");
|
|
1789
|
+
i0.ɵɵtemplate(6, SelectClienteComponent_ng_template_8_span_6_Template, 3, 3, "span", 9);
|
|
1790
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_8_span_7_Template, 3, 3, "span", 9);
|
|
1791
|
+
i0.ɵɵelementEnd();
|
|
1792
|
+
i0.ɵɵelementStart(8, "td");
|
|
1793
|
+
i0.ɵɵtext(9);
|
|
1794
|
+
i0.ɵɵelementEnd();
|
|
1795
|
+
i0.ɵɵelementStart(10, "td");
|
|
1796
|
+
i0.ɵɵtext(11);
|
|
1797
|
+
i0.ɵɵelementEnd();
|
|
1798
|
+
i0.ɵɵelementStart(12, "td");
|
|
1799
|
+
i0.ɵɵtext(13);
|
|
1800
|
+
i0.ɵɵelementEnd();
|
|
1801
|
+
i0.ɵɵelementEnd();
|
|
1765
1802
|
} if (rf & 2) {
|
|
1766
1803
|
const cliente_r3 = ctx.$implicit;
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1804
|
+
i0.ɵɵproperty("pSelectableRow", cliente_r3);
|
|
1805
|
+
i0.ɵɵadvance(2);
|
|
1806
|
+
i0.ɵɵtextInterpolate(cliente_r3.codigo);
|
|
1807
|
+
i0.ɵɵadvance(2);
|
|
1808
|
+
i0.ɵɵtextInterpolate(cliente_r3.descripcionRazonSocial);
|
|
1809
|
+
i0.ɵɵadvance(2);
|
|
1810
|
+
i0.ɵɵproperty("ngIf", cliente_r3.personaFisica);
|
|
1811
|
+
i0.ɵɵadvance(1);
|
|
1812
|
+
i0.ɵɵproperty("ngIf", cliente_r3.personaMoral);
|
|
1813
|
+
i0.ɵɵadvance(2);
|
|
1814
|
+
i0.ɵɵtextInterpolate(cliente_r3.limiteCredito);
|
|
1815
|
+
i0.ɵɵadvance(2);
|
|
1816
|
+
i0.ɵɵtextInterpolate(cliente_r3.plazoCredito);
|
|
1817
|
+
i0.ɵɵadvance(2);
|
|
1818
|
+
i0.ɵɵtextInterpolate(cliente_r3.diasPago);
|
|
1782
1819
|
} }
|
|
1783
1820
|
function SelectClienteComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1821
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1822
|
+
i0.ɵɵelementStart(1, "td", 10);
|
|
1823
|
+
i0.ɵɵtext(2);
|
|
1824
|
+
i0.ɵɵpipe(3, "translate");
|
|
1825
|
+
i0.ɵɵelementEnd();
|
|
1826
|
+
i0.ɵɵelementEnd();
|
|
1790
1827
|
} if (rf & 2) {
|
|
1791
|
-
|
|
1792
|
-
|
|
1828
|
+
i0.ɵɵadvance(2);
|
|
1829
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "general.noRegistros"));
|
|
1793
1830
|
} }
|
|
1794
1831
|
class SelectClienteComponent {
|
|
1795
1832
|
constructor(clienteService, paginate) {
|
|
@@ -1846,38 +1883,38 @@ class SelectClienteComponent {
|
|
|
1846
1883
|
this.visible = false;
|
|
1847
1884
|
}
|
|
1848
1885
|
}
|
|
1849
|
-
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(
|
|
1850
|
-
/** @nocollapse */ SelectClienteComponent.ɵcmp =
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1886
|
+
/** @nocollapse */ SelectClienteComponent.ɵfac = function SelectClienteComponent_Factory(t) { return new (t || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); };
|
|
1887
|
+
/** @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) {
|
|
1888
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1889
|
+
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(); });
|
|
1890
|
+
i0.ɵɵpipe(1, "translate");
|
|
1891
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
1892
|
+
i0.ɵɵelementStart(3, "input", 2);
|
|
1893
|
+
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(); });
|
|
1894
|
+
i0.ɵɵpipe(4, "translate");
|
|
1895
|
+
i0.ɵɵelementEnd();
|
|
1896
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
1897
|
+
i0.ɵɵlistener("click", function SelectClienteComponent_Template_button_click_5_listener() { return ctx.aplicarFiltro(); });
|
|
1898
|
+
i0.ɵɵelementEnd();
|
|
1899
|
+
i0.ɵɵelementEnd();
|
|
1900
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
1901
|
+
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); });
|
|
1902
|
+
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5);
|
|
1903
|
+
i0.ɵɵtemplate(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6);
|
|
1904
|
+
i0.ɵɵtemplate(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1905
|
+
i0.ɵɵelementEnd();
|
|
1906
|
+
i0.ɵɵelementEnd();
|
|
1870
1907
|
} if (rf & 2) {
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, SelectableRow, NgIf], pipes: [TranslatePipe], encapsulation: 2 });
|
|
1880
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1908
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 13, "Seleccionar cliente "));
|
|
1909
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
1910
|
+
i0.ɵɵadvance(3);
|
|
1911
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 15, "buscar"), "...");
|
|
1912
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
1913
|
+
i0.ɵɵadvance(3);
|
|
1914
|
+
i0.ɵɵpropertyInterpolate("selectionMode", ctx.selectMode);
|
|
1915
|
+
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);
|
|
1916
|
+
} }, 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 });
|
|
1917
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1881
1918
|
type: Component,
|
|
1882
1919
|
args: [{
|
|
1883
1920
|
selector: 'select-cliente',
|
|
@@ -1912,60 +1949,60 @@ class ProveedorService extends CrudService {
|
|
|
1912
1949
|
this.httpClient = httpClient;
|
|
1913
1950
|
}
|
|
1914
1951
|
}
|
|
1915
|
-
/** @nocollapse */ ProveedorService.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(
|
|
1916
|
-
/** @nocollapse */ ProveedorService.ɵprov =
|
|
1917
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
1952
|
+
/** @nocollapse */ ProveedorService.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
1953
|
+
/** @nocollapse */ ProveedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' });
|
|
1954
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
|
|
1918
1955
|
type: Injectable,
|
|
1919
1956
|
args: [{
|
|
1920
1957
|
providedIn: 'root'
|
|
1921
1958
|
}]
|
|
1922
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
1959
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
1923
1960
|
|
|
1924
1961
|
function SelectProveedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1962
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1963
|
+
i0.ɵɵelementStart(1, "th");
|
|
1964
|
+
i0.ɵɵtext(2);
|
|
1965
|
+
i0.ɵɵpipe(3, "translate");
|
|
1966
|
+
i0.ɵɵelementEnd();
|
|
1967
|
+
i0.ɵɵelementStart(4, "th");
|
|
1968
|
+
i0.ɵɵtext(5);
|
|
1969
|
+
i0.ɵɵpipe(6, "translate");
|
|
1970
|
+
i0.ɵɵelementEnd();
|
|
1971
|
+
i0.ɵɵelementStart(7, "th");
|
|
1972
|
+
i0.ɵɵtext(8);
|
|
1973
|
+
i0.ɵɵpipe(9, "translate");
|
|
1974
|
+
i0.ɵɵelementEnd();
|
|
1975
|
+
i0.ɵɵelementEnd();
|
|
1939
1976
|
} if (rf & 2) {
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1977
|
+
i0.ɵɵadvance(2);
|
|
1978
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 3, "clave"));
|
|
1979
|
+
i0.ɵɵadvance(3);
|
|
1980
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 5, "razonSocial"));
|
|
1981
|
+
i0.ɵɵadvance(3);
|
|
1982
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 7, "rfc"));
|
|
1946
1983
|
} }
|
|
1947
1984
|
function SelectProveedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1985
|
+
i0.ɵɵelementStart(0, "tr");
|
|
1986
|
+
i0.ɵɵelementStart(1, "td");
|
|
1987
|
+
i0.ɵɵtext(2);
|
|
1988
|
+
i0.ɵɵelementEnd();
|
|
1989
|
+
i0.ɵɵelementStart(3, "td");
|
|
1990
|
+
i0.ɵɵtext(4);
|
|
1991
|
+
i0.ɵɵelementEnd();
|
|
1992
|
+
i0.ɵɵelementStart(5, "td");
|
|
1993
|
+
i0.ɵɵtext(6);
|
|
1994
|
+
i0.ɵɵelementEnd();
|
|
1995
|
+
i0.ɵɵelementEnd();
|
|
1959
1996
|
} if (rf & 2) {
|
|
1960
1997
|
const proveedor_r2 = ctx.rowData;
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1998
|
+
i0.ɵɵadvance(2);
|
|
1999
|
+
i0.ɵɵtextInterpolate(proveedor_r2.codigo);
|
|
2000
|
+
i0.ɵɵadvance(2);
|
|
2001
|
+
i0.ɵɵtextInterpolate(proveedor_r2.descripcionRazonSocial);
|
|
2002
|
+
i0.ɵɵadvance(2);
|
|
2003
|
+
i0.ɵɵtextInterpolate(proveedor_r2.descripcionRfc);
|
|
1967
2004
|
} }
|
|
1968
|
-
const _c0$
|
|
2005
|
+
const _c0$3 = function () { return [10, 25, 50, 100, 500]; };
|
|
1969
2006
|
class SelectProveedorComponent {
|
|
1970
2007
|
constructor(proveedorService, paginanateService, translate) {
|
|
1971
2008
|
this.proveedorService = proveedorService;
|
|
@@ -2005,47 +2042,47 @@ class SelectProveedorComponent {
|
|
|
2005
2042
|
this.visible = false;
|
|
2006
2043
|
}
|
|
2007
2044
|
}
|
|
2008
|
-
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(
|
|
2009
|
-
/** @nocollapse */ SelectProveedorComponent.ɵcmp =
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2045
|
+
/** @nocollapse */ SelectProveedorComponent.ɵfac = function SelectProveedorComponent_Factory(t) { return new (t || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); };
|
|
2046
|
+
/** @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) {
|
|
2047
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2048
|
+
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(); });
|
|
2049
|
+
i0.ɵɵpipe(1, "translate");
|
|
2050
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
2051
|
+
i0.ɵɵelementStart(3, "input", 2);
|
|
2052
|
+
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(); });
|
|
2053
|
+
i0.ɵɵpipe(4, "translate");
|
|
2054
|
+
i0.ɵɵelementEnd();
|
|
2055
|
+
i0.ɵɵelementStart(5, "button", 3);
|
|
2056
|
+
i0.ɵɵlistener("click", function SelectProveedorComponent_Template_button_click_5_listener() { return ctx.cargarDatosProveedores(); });
|
|
2057
|
+
i0.ɵɵelementEnd();
|
|
2058
|
+
i0.ɵɵelementEnd();
|
|
2059
|
+
i0.ɵɵelementStart(6, "p-table", 4);
|
|
2060
|
+
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); });
|
|
2061
|
+
i0.ɵɵtemplate(7, SelectProveedorComponent_ng_template_7_Template, 10, 9, "ng-template", 5);
|
|
2062
|
+
i0.ɵɵtemplate(8, SelectProveedorComponent_ng_template_8_Template, 7, 3, "ng-template", 6);
|
|
2063
|
+
i0.ɵɵelementEnd();
|
|
2064
|
+
i0.ɵɵelementStart(9, "p-paginator", 7);
|
|
2065
|
+
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2066
|
+
i0.ɵɵelementEnd();
|
|
2067
|
+
i0.ɵɵelementEnd();
|
|
2031
2068
|
} if (rf & 2) {
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, Paginator], pipes: [TranslatePipe], encapsulation: 2 });
|
|
2042
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2069
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 11, "ArticuloProveedor.proveedores"));
|
|
2070
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
2071
|
+
i0.ɵɵadvance(3);
|
|
2072
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(4, 13, "buscar"), "...");
|
|
2073
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
2074
|
+
i0.ɵɵadvance(3);
|
|
2075
|
+
i0.ɵɵproperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado)("scrollable", true);
|
|
2076
|
+
i0.ɵɵadvance(3);
|
|
2077
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(15, _c0$3));
|
|
2078
|
+
} }, 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 });
|
|
2079
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
2043
2080
|
type: Component,
|
|
2044
2081
|
args: [{
|
|
2045
2082
|
templateUrl: 'select-proveedor.component.html',
|
|
2046
2083
|
selector: 'select-proveedor'
|
|
2047
2084
|
}]
|
|
2048
|
-
}], function () { return [{ type: ProveedorService }, { type: PaginateService }, { type: TranslateService }]; }, { visible: [{
|
|
2085
|
+
}], function () { return [{ type: ProveedorService }, { type: PaginateService }, { type: i3.TranslateService }]; }, { visible: [{
|
|
2049
2086
|
type: Input
|
|
2050
2087
|
}], proveedorSeleccionado: [{
|
|
2051
2088
|
type: Input
|
|
@@ -2063,14 +2100,14 @@ class AlmacenService extends CrudService {
|
|
|
2063
2100
|
return this.getHttp().get(url, this.buildAuth());
|
|
2064
2101
|
}
|
|
2065
2102
|
}
|
|
2066
|
-
/** @nocollapse */ AlmacenService.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(
|
|
2067
|
-
/** @nocollapse */ AlmacenService.ɵprov =
|
|
2068
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2103
|
+
/** @nocollapse */ AlmacenService.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2104
|
+
/** @nocollapse */ AlmacenService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' });
|
|
2105
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
|
|
2069
2106
|
type: Injectable,
|
|
2070
2107
|
args: [{
|
|
2071
2108
|
providedIn: 'root'
|
|
2072
2109
|
}]
|
|
2073
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2110
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2074
2111
|
|
|
2075
2112
|
class StockService extends CrudService {
|
|
2076
2113
|
constructor(httpClient) {
|
|
@@ -2089,14 +2126,14 @@ class StockService extends CrudService {
|
|
|
2089
2126
|
return promesa;
|
|
2090
2127
|
}
|
|
2091
2128
|
}
|
|
2092
|
-
/** @nocollapse */ StockService.ɵfac = function StockService_Factory(t) { return new (t || StockService)(
|
|
2093
|
-
/** @nocollapse */ StockService.ɵprov =
|
|
2094
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2129
|
+
/** @nocollapse */ StockService.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2130
|
+
/** @nocollapse */ StockService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' });
|
|
2131
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
|
|
2095
2132
|
type: Injectable,
|
|
2096
2133
|
args: [{
|
|
2097
2134
|
providedIn: 'root'
|
|
2098
2135
|
}]
|
|
2099
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2136
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2100
2137
|
|
|
2101
2138
|
class ArticuloInformacionService extends CrudService {
|
|
2102
2139
|
constructor(httpClient) {
|
|
@@ -2108,81 +2145,81 @@ class ArticuloInformacionService extends CrudService {
|
|
|
2108
2145
|
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
2109
2146
|
}
|
|
2110
2147
|
}
|
|
2111
|
-
/** @nocollapse */ ArticuloInformacionService.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(
|
|
2112
|
-
/** @nocollapse */ ArticuloInformacionService.ɵprov =
|
|
2113
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2148
|
+
/** @nocollapse */ ArticuloInformacionService.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2149
|
+
/** @nocollapse */ ArticuloInformacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' });
|
|
2150
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
|
|
2114
2151
|
type: Injectable,
|
|
2115
2152
|
args: [{
|
|
2116
2153
|
providedIn: 'root'
|
|
2117
2154
|
}]
|
|
2118
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2155
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2119
2156
|
|
|
2120
2157
|
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
2121
|
-
|
|
2158
|
+
i0.ɵɵelement(0, "col");
|
|
2122
2159
|
} if (rf & 2) {
|
|
2123
2160
|
const col_r5 = ctx.$implicit;
|
|
2124
|
-
|
|
2161
|
+
i0.ɵɵstyleProp("width", col_r5.width);
|
|
2125
2162
|
} }
|
|
2126
2163
|
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2164
|
+
i0.ɵɵelementStart(0, "colgroup");
|
|
2165
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 7);
|
|
2166
|
+
i0.ɵɵelementEnd();
|
|
2130
2167
|
} if (rf & 2) {
|
|
2131
2168
|
const columns_r3 = ctx.$implicit;
|
|
2132
|
-
|
|
2133
|
-
|
|
2169
|
+
i0.ɵɵadvance(1);
|
|
2170
|
+
i0.ɵɵproperty("ngForOf", columns_r3);
|
|
2134
2171
|
} }
|
|
2135
2172
|
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2173
|
+
i0.ɵɵelementStart(0, "th", 9);
|
|
2174
|
+
i0.ɵɵtext(1);
|
|
2175
|
+
i0.ɵɵelementEnd();
|
|
2139
2176
|
} if (rf & 2) {
|
|
2140
2177
|
const col_r8 = ctx.$implicit;
|
|
2141
|
-
|
|
2142
|
-
|
|
2178
|
+
i0.ɵɵadvance(1);
|
|
2179
|
+
i0.ɵɵtextInterpolate1(" ", col_r8.header, " ");
|
|
2143
2180
|
} }
|
|
2144
2181
|
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2182
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2183
|
+
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 8);
|
|
2184
|
+
i0.ɵɵelementEnd();
|
|
2148
2185
|
} if (rf & 2) {
|
|
2149
2186
|
const columns_r6 = ctx.$implicit;
|
|
2150
|
-
|
|
2151
|
-
|
|
2187
|
+
i0.ɵɵadvance(1);
|
|
2188
|
+
i0.ɵɵproperty("ngForOf", columns_r6);
|
|
2152
2189
|
} }
|
|
2153
2190
|
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2191
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2192
|
+
i0.ɵɵelementStart(1, "td");
|
|
2193
|
+
i0.ɵɵtext(2);
|
|
2194
|
+
i0.ɵɵelementEnd();
|
|
2195
|
+
i0.ɵɵelementStart(3, "td");
|
|
2196
|
+
i0.ɵɵtext(4);
|
|
2197
|
+
i0.ɵɵelementEnd();
|
|
2198
|
+
i0.ɵɵelementStart(5, "td");
|
|
2199
|
+
i0.ɵɵtext(6);
|
|
2200
|
+
i0.ɵɵelementEnd();
|
|
2201
|
+
i0.ɵɵelementStart(7, "td");
|
|
2202
|
+
i0.ɵɵtext(8);
|
|
2203
|
+
i0.ɵɵelementEnd();
|
|
2204
|
+
i0.ɵɵelementStart(9, "td");
|
|
2205
|
+
i0.ɵɵtext(10);
|
|
2206
|
+
i0.ɵɵelementEnd();
|
|
2207
|
+
i0.ɵɵelementEnd();
|
|
2171
2208
|
} if (rf & 2) {
|
|
2172
2209
|
const rowData_r9 = ctx.$implicit;
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2210
|
+
i0.ɵɵadvance(2);
|
|
2211
|
+
i0.ɵɵtextInterpolate(rowData_r9.almacenCodigo);
|
|
2212
|
+
i0.ɵɵadvance(2);
|
|
2213
|
+
i0.ɵɵtextInterpolate(rowData_r9.almacenDescripcion);
|
|
2214
|
+
i0.ɵɵadvance(2);
|
|
2215
|
+
i0.ɵɵtextInterpolate(rowData_r9.ubicacionCodigo);
|
|
2216
|
+
i0.ɵɵadvance(2);
|
|
2217
|
+
i0.ɵɵtextInterpolate(rowData_r9.ubicacionDescripcion);
|
|
2218
|
+
i0.ɵɵadvance(2);
|
|
2219
|
+
i0.ɵɵtextInterpolate(rowData_r9.existencia);
|
|
2183
2220
|
} }
|
|
2184
|
-
const _c0$
|
|
2185
|
-
const _c1$
|
|
2221
|
+
const _c0$2 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2222
|
+
const _c1$1 = function () { return { width: "600px" }; };
|
|
2186
2223
|
class SeleccionArticuloInformacionComponent {
|
|
2187
2224
|
constructor(articuloInformacionService) {
|
|
2188
2225
|
this.articuloInformacionService = articuloInformacionService;
|
|
@@ -2223,31 +2260,31 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2223
2260
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
2224
2261
|
}
|
|
2225
2262
|
}
|
|
2226
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(
|
|
2227
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp =
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2263
|
+
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); };
|
|
2264
|
+
/** @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) {
|
|
2265
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2266
|
+
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);
|
|
2267
|
+
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2268
|
+
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
2269
|
+
i0.ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
2270
|
+
i0.ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2271
|
+
i0.ɵɵelementEnd();
|
|
2272
|
+
i0.ɵɵelementStart(5, "p-footer");
|
|
2273
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
2274
|
+
i0.ɵɵelementStart(7, "button", 6);
|
|
2275
|
+
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_Template_button_click_7_listener() { return ctx.hiddenDialog(); });
|
|
2276
|
+
i0.ɵɵelementEnd();
|
|
2277
|
+
i0.ɵɵelementEnd();
|
|
2278
|
+
i0.ɵɵelementEnd();
|
|
2279
|
+
i0.ɵɵelementEnd();
|
|
2243
2280
|
} if (rf & 2) {
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
} }, directives: [Dialog, Table, PrimeTemplate, Footer, ButtonDirective, NgForOf, ResizableColumn], styles: [""] });
|
|
2250
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2281
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(17, _c0$2, ctx.size + "px"));
|
|
2282
|
+
i0.ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
2283
|
+
i0.ɵɵadvance(1);
|
|
2284
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(19, _c1$1));
|
|
2285
|
+
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true)("responsive", true);
|
|
2286
|
+
} }, directives: [i4$2.Dialog, i8$1.Table, i4$1.PrimeTemplate, i4$1.Footer, i7.ButtonDirective, i8.NgForOf, i8$1.ResizableColumn], styles: [""] });
|
|
2287
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
2251
2288
|
type: Component,
|
|
2252
2289
|
args: [{
|
|
2253
2290
|
selector: 'lib-seleccion-articulo-informacion',
|
|
@@ -2263,321 +2300,321 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2263
2300
|
}] }); })();
|
|
2264
2301
|
|
|
2265
2302
|
function SeleccionaArticuloComponent_option_23_Template(rf, ctx) { if (rf & 1) {
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2303
|
+
i0.ɵɵelementStart(0, "option", 22);
|
|
2304
|
+
i0.ɵɵtext(1);
|
|
2305
|
+
i0.ɵɵelementEnd();
|
|
2269
2306
|
} if (rf & 2) {
|
|
2270
2307
|
const almacen_r5 = ctx.$implicit;
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2308
|
+
i0.ɵɵpropertyInterpolate("value", almacen_r5.id);
|
|
2309
|
+
i0.ɵɵadvance(1);
|
|
2310
|
+
i0.ɵɵtextInterpolate(almacen_r5.descripcion);
|
|
2274
2311
|
} }
|
|
2275
2312
|
function SeleccionaArticuloComponent_ng_template_26_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2313
|
+
i0.ɵɵelementStart(0, "th", 31);
|
|
2314
|
+
i0.ɵɵtext(1, "existenciaSecundaria");
|
|
2315
|
+
i0.ɵɵelementEnd();
|
|
2279
2316
|
} }
|
|
2280
2317
|
function SeleccionaArticuloComponent_ng_template_26_th_8_Template(rf, ctx) { if (rf & 1) {
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2318
|
+
i0.ɵɵelementStart(0, "th", 25);
|
|
2319
|
+
i0.ɵɵtext(1, "Unidad");
|
|
2320
|
+
i0.ɵɵelementEnd();
|
|
2284
2321
|
} }
|
|
2285
2322
|
function SeleccionaArticuloComponent_ng_template_26_th_14_Template(rf, ctx) { if (rf & 1) {
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2323
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2324
|
+
i0.ɵɵtext(1, "Precio");
|
|
2325
|
+
i0.ɵɵelementEnd();
|
|
2289
2326
|
} }
|
|
2290
2327
|
function SeleccionaArticuloComponent_ng_template_26_th_15_Template(rf, ctx) { if (rf & 1) {
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2328
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2329
|
+
i0.ɵɵtext(1, "Precio 2");
|
|
2330
|
+
i0.ɵɵelementEnd();
|
|
2294
2331
|
} }
|
|
2295
2332
|
function SeleccionaArticuloComponent_ng_template_26_th_16_Template(rf, ctx) { if (rf & 1) {
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2333
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2334
|
+
i0.ɵɵtext(1, "Precio 3");
|
|
2335
|
+
i0.ɵɵelementEnd();
|
|
2299
2336
|
} }
|
|
2300
2337
|
function SeleccionaArticuloComponent_ng_template_26_th_17_Template(rf, ctx) { if (rf & 1) {
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2338
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2339
|
+
i0.ɵɵtext(1, "Precio 4");
|
|
2340
|
+
i0.ɵɵelementEnd();
|
|
2304
2341
|
} }
|
|
2305
2342
|
function SeleccionaArticuloComponent_ng_template_26_th_18_Template(rf, ctx) { if (rf & 1) {
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2343
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2344
|
+
i0.ɵɵtext(1, "Precio 5");
|
|
2345
|
+
i0.ɵɵelementEnd();
|
|
2309
2346
|
} }
|
|
2310
2347
|
function SeleccionaArticuloComponent_ng_template_26_th_19_Template(rf, ctx) { if (rf & 1) {
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2348
|
+
i0.ɵɵelementStart(0, "th", 25);
|
|
2349
|
+
i0.ɵɵtext(1, "Movimiento.costo");
|
|
2350
|
+
i0.ɵɵelementEnd();
|
|
2314
2351
|
} }
|
|
2315
2352
|
function SeleccionaArticuloComponent_ng_template_26_th_22_Template(rf, ctx) { if (rf & 1) {
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2353
|
+
i0.ɵɵelementStart(0, "th", 23);
|
|
2354
|
+
i0.ɵɵtext(1);
|
|
2355
|
+
i0.ɵɵelementEnd();
|
|
2319
2356
|
} if (rf & 2) {
|
|
2320
2357
|
const item_r15 = ctx.$implicit;
|
|
2321
|
-
|
|
2322
|
-
|
|
2358
|
+
i0.ɵɵadvance(1);
|
|
2359
|
+
i0.ɵɵtextInterpolate(item_r15.descripcion);
|
|
2323
2360
|
} }
|
|
2324
2361
|
function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2362
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2363
|
+
i0.ɵɵelementStart(1, "th", 23);
|
|
2364
|
+
i0.ɵɵtext(2, "C\u00F3digo Ubicacion");
|
|
2365
|
+
i0.ɵɵelementEnd();
|
|
2366
|
+
i0.ɵɵelementStart(3, "th", 24);
|
|
2367
|
+
i0.ɵɵtext(4, "Existencia");
|
|
2368
|
+
i0.ɵɵelementEnd();
|
|
2369
|
+
i0.ɵɵelementStart(5, "th", 25);
|
|
2370
|
+
i0.ɵɵtext(6, "Unidad");
|
|
2371
|
+
i0.ɵɵelementEnd();
|
|
2372
|
+
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_26_th_7_Template, 2, 0, "th", 26);
|
|
2373
|
+
i0.ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_26_th_8_Template, 2, 0, "th", 27);
|
|
2374
|
+
i0.ɵɵelementStart(9, "th", 23);
|
|
2375
|
+
i0.ɵɵtext(10, "C\u00F3digo");
|
|
2376
|
+
i0.ɵɵelementEnd();
|
|
2377
|
+
i0.ɵɵelementStart(11, "th", 28);
|
|
2378
|
+
i0.ɵɵtext(12, "Descripcion");
|
|
2379
|
+
i0.ɵɵelementEnd();
|
|
2380
|
+
i0.ɵɵelement(13, "th", 25);
|
|
2381
|
+
i0.ɵɵtemplate(14, SeleccionaArticuloComponent_ng_template_26_th_14_Template, 2, 0, "th", 29);
|
|
2382
|
+
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_26_th_15_Template, 2, 0, "th", 29);
|
|
2383
|
+
i0.ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_26_th_16_Template, 2, 0, "th", 29);
|
|
2384
|
+
i0.ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_26_th_17_Template, 2, 0, "th", 29);
|
|
2385
|
+
i0.ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_26_th_18_Template, 2, 0, "th", 29);
|
|
2386
|
+
i0.ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_26_th_19_Template, 2, 0, "th", 27);
|
|
2387
|
+
i0.ɵɵelementStart(20, "th", 25);
|
|
2388
|
+
i0.ɵɵtext(21, "Existencia por Unidad");
|
|
2389
|
+
i0.ɵɵelementEnd();
|
|
2390
|
+
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_26_th_22_Template, 2, 1, "th", 30);
|
|
2391
|
+
i0.ɵɵelementEnd();
|
|
2355
2392
|
} if (rf & 2) {
|
|
2356
|
-
const ctx_r2 =
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2393
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
2394
|
+
i0.ɵɵadvance(7);
|
|
2395
|
+
i0.ɵɵproperty("ngIf", ctx_r2.manejaUnidadSecundaria);
|
|
2396
|
+
i0.ɵɵadvance(1);
|
|
2397
|
+
i0.ɵɵproperty("ngIf", ctx_r2.manejaUnidadSecundaria);
|
|
2398
|
+
i0.ɵɵadvance(6);
|
|
2399
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2400
|
+
i0.ɵɵadvance(1);
|
|
2401
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2402
|
+
i0.ɵɵadvance(1);
|
|
2403
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2404
|
+
i0.ɵɵadvance(1);
|
|
2405
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2406
|
+
i0.ɵɵadvance(1);
|
|
2407
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio !== "costo");
|
|
2408
|
+
i0.ɵɵadvance(1);
|
|
2409
|
+
i0.ɵɵproperty("ngIf", ctx_r2.configuracion.tipoPrecio === "costo");
|
|
2410
|
+
i0.ɵɵadvance(3);
|
|
2411
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.clasificadorList);
|
|
2375
2412
|
} }
|
|
2376
2413
|
function SeleccionaArticuloComponent_ng_template_27_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2414
|
+
i0.ɵɵelementStart(0, "td", 23);
|
|
2415
|
+
i0.ɵɵtext(1, "Movimiento.NoAsignado");
|
|
2416
|
+
i0.ɵɵelementEnd();
|
|
2380
2417
|
} }
|
|
2381
2418
|
function SeleccionaArticuloComponent_ng_template_27_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2419
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2420
|
+
i0.ɵɵtext(1);
|
|
2421
|
+
i0.ɵɵelementEnd();
|
|
2385
2422
|
} if (rf & 2) {
|
|
2386
|
-
const rowData_r16 =
|
|
2387
|
-
|
|
2388
|
-
|
|
2423
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2424
|
+
i0.ɵɵadvance(1);
|
|
2425
|
+
i0.ɵɵtextInterpolate(rowData_r16.ubicacionCodigo);
|
|
2389
2426
|
} }
|
|
2390
2427
|
function SeleccionaArticuloComponent_ng_template_27_td_7_Template(rf, ctx) { if (rf & 1) {
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2428
|
+
i0.ɵɵelementStart(0, "td", 44);
|
|
2429
|
+
i0.ɵɵtext(1);
|
|
2430
|
+
i0.ɵɵelementEnd();
|
|
2394
2431
|
} if (rf & 2) {
|
|
2395
|
-
const rowData_r16 =
|
|
2396
|
-
|
|
2397
|
-
|
|
2432
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2433
|
+
i0.ɵɵadvance(1);
|
|
2434
|
+
i0.ɵɵtextInterpolate(rowData_r16.existenciaSecundaria);
|
|
2398
2435
|
} }
|
|
2399
2436
|
function SeleccionaArticuloComponent_ng_template_27_td_8_Template(rf, ctx) { if (rf & 1) {
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2437
|
+
i0.ɵɵelementStart(0, "td", 36);
|
|
2438
|
+
i0.ɵɵtext(1);
|
|
2439
|
+
i0.ɵɵelementEnd();
|
|
2403
2440
|
} if (rf & 2) {
|
|
2404
|
-
const rowData_r16 =
|
|
2405
|
-
|
|
2406
|
-
|
|
2441
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2442
|
+
i0.ɵɵadvance(1);
|
|
2443
|
+
i0.ɵɵtextInterpolate(rowData_r16.unidadSecundariaCodigo);
|
|
2407
2444
|
} }
|
|
2408
2445
|
function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if (rf & 1) {
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2446
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2447
|
+
i0.ɵɵtext(1);
|
|
2448
|
+
i0.ɵɵpipe(2, "currency");
|
|
2449
|
+
i0.ɵɵelementEnd();
|
|
2413
2450
|
} if (rf & 2) {
|
|
2414
|
-
const rowData_r16 =
|
|
2415
|
-
|
|
2416
|
-
|
|
2451
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2452
|
+
i0.ɵɵadvance(1);
|
|
2453
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, rowData_r16.precioConImpuestos), " ");
|
|
2417
2454
|
} }
|
|
2418
2455
|
function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if (rf & 1) {
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2456
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2457
|
+
i0.ɵɵtext(1);
|
|
2458
|
+
i0.ɵɵpipe(2, "currency");
|
|
2459
|
+
i0.ɵɵelementEnd();
|
|
2423
2460
|
} if (rf & 2) {
|
|
2424
|
-
const rowData_r16 =
|
|
2425
|
-
|
|
2426
|
-
|
|
2461
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2462
|
+
i0.ɵɵadvance(1);
|
|
2463
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio2ConImpuestos));
|
|
2427
2464
|
} }
|
|
2428
2465
|
function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if (rf & 1) {
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2466
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2467
|
+
i0.ɵɵtext(1);
|
|
2468
|
+
i0.ɵɵpipe(2, "currency");
|
|
2469
|
+
i0.ɵɵelementEnd();
|
|
2433
2470
|
} if (rf & 2) {
|
|
2434
|
-
const rowData_r16 =
|
|
2435
|
-
|
|
2436
|
-
|
|
2471
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2472
|
+
i0.ɵɵadvance(1);
|
|
2473
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio3ConImpuestos));
|
|
2437
2474
|
} }
|
|
2438
2475
|
function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if (rf & 1) {
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2476
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2477
|
+
i0.ɵɵtext(1);
|
|
2478
|
+
i0.ɵɵpipe(2, "currency");
|
|
2479
|
+
i0.ɵɵelementEnd();
|
|
2443
2480
|
} if (rf & 2) {
|
|
2444
|
-
const rowData_r16 =
|
|
2445
|
-
|
|
2446
|
-
|
|
2481
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2482
|
+
i0.ɵɵadvance(1);
|
|
2483
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio4ConImpuestos));
|
|
2447
2484
|
} }
|
|
2448
2485
|
function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if (rf & 1) {
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2486
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2487
|
+
i0.ɵɵtext(1);
|
|
2488
|
+
i0.ɵɵpipe(2, "currency");
|
|
2489
|
+
i0.ɵɵelementEnd();
|
|
2453
2490
|
} if (rf & 2) {
|
|
2454
|
-
const rowData_r16 =
|
|
2455
|
-
|
|
2456
|
-
|
|
2491
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2492
|
+
i0.ɵɵadvance(1);
|
|
2493
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio5ConImpuestos));
|
|
2457
2494
|
} }
|
|
2458
2495
|
function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if (rf & 1) {
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2496
|
+
i0.ɵɵelementStart(0, "td", 36);
|
|
2497
|
+
i0.ɵɵtext(1);
|
|
2498
|
+
i0.ɵɵpipe(2, "currency");
|
|
2499
|
+
i0.ɵɵelementEnd();
|
|
2463
2500
|
} if (rf & 2) {
|
|
2464
|
-
const rowData_r16 =
|
|
2465
|
-
|
|
2466
|
-
|
|
2501
|
+
const rowData_r16 = i0.ɵɵnextContext().$implicit;
|
|
2502
|
+
i0.ɵɵadvance(1);
|
|
2503
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r16.precio));
|
|
2467
2504
|
} }
|
|
2468
2505
|
function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2506
|
+
i0.ɵɵelementStart(0, "div", 45);
|
|
2507
|
+
i0.ɵɵelementStart(1, "div", 46);
|
|
2508
|
+
i0.ɵɵelementStart(2, "label", 47);
|
|
2509
|
+
i0.ɵɵtext(3);
|
|
2510
|
+
i0.ɵɵelementEnd();
|
|
2511
|
+
i0.ɵɵelementEnd();
|
|
2512
|
+
i0.ɵɵelementStart(4, "div", 46);
|
|
2513
|
+
i0.ɵɵelementStart(5, "label", 47);
|
|
2514
|
+
i0.ɵɵtext(6);
|
|
2515
|
+
i0.ɵɵpipe(7, "number");
|
|
2516
|
+
i0.ɵɵelementEnd();
|
|
2517
|
+
i0.ɵɵelementEnd();
|
|
2518
|
+
i0.ɵɵelementEnd();
|
|
2482
2519
|
} if (rf & 2) {
|
|
2483
2520
|
const item_r39 = ctx.$implicit;
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2521
|
+
i0.ɵɵadvance(3);
|
|
2522
|
+
i0.ɵɵtextInterpolate(item_r39.unidad_codigo);
|
|
2523
|
+
i0.ɵɵadvance(3);
|
|
2524
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, item_r39.unidad_existencia, "1.2-2"));
|
|
2488
2525
|
} }
|
|
2489
2526
|
function SeleccionaArticuloComponent_ng_template_27_td_23_Template(rf, ctx) { if (rf & 1) {
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2527
|
+
i0.ɵɵelementStart(0, "td", 39);
|
|
2528
|
+
i0.ɵɵtext(1);
|
|
2529
|
+
i0.ɵɵelementEnd();
|
|
2493
2530
|
} if (rf & 2) {
|
|
2494
2531
|
const itemData_r40 = ctx.$implicit;
|
|
2495
|
-
|
|
2496
|
-
|
|
2532
|
+
i0.ɵɵadvance(1);
|
|
2533
|
+
i0.ɵɵtextInterpolate(itemData_r40.valor);
|
|
2497
2534
|
} }
|
|
2498
2535
|
function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
2499
|
-
const _r42 =
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2536
|
+
const _r42 = i0.ɵɵgetCurrentView();
|
|
2537
|
+
i0.ɵɵelementStart(0, "tr", 32);
|
|
2538
|
+
i0.ɵɵtemplate(1, SeleccionaArticuloComponent_ng_template_27_td_1_Template, 2, 0, "td", 33);
|
|
2539
|
+
i0.ɵɵtemplate(2, SeleccionaArticuloComponent_ng_template_27_td_2_Template, 2, 1, "td", 34);
|
|
2540
|
+
i0.ɵɵelementStart(3, "td", 35);
|
|
2541
|
+
i0.ɵɵtext(4);
|
|
2542
|
+
i0.ɵɵelementEnd();
|
|
2543
|
+
i0.ɵɵelementStart(5, "td", 36);
|
|
2544
|
+
i0.ɵɵtext(6);
|
|
2545
|
+
i0.ɵɵelementEnd();
|
|
2546
|
+
i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_27_td_7_Template, 2, 1, "td", 37);
|
|
2547
|
+
i0.ɵɵtemplate(8, SeleccionaArticuloComponent_ng_template_27_td_8_Template, 2, 1, "td", 38);
|
|
2548
|
+
i0.ɵɵelementStart(9, "td", 39);
|
|
2549
|
+
i0.ɵɵtext(10);
|
|
2550
|
+
i0.ɵɵelementEnd();
|
|
2551
|
+
i0.ɵɵelementStart(11, "td", 40);
|
|
2552
|
+
i0.ɵɵtext(12);
|
|
2553
|
+
i0.ɵɵelementEnd();
|
|
2554
|
+
i0.ɵɵelementStart(13, "td", 36);
|
|
2555
|
+
i0.ɵɵelementStart(14, "button", 41);
|
|
2556
|
+
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); });
|
|
2557
|
+
i0.ɵɵelementEnd();
|
|
2558
|
+
i0.ɵɵelementEnd();
|
|
2559
|
+
i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_27_td_15_Template, 3, 3, "td", 34);
|
|
2560
|
+
i0.ɵɵtemplate(16, SeleccionaArticuloComponent_ng_template_27_td_16_Template, 3, 3, "td", 34);
|
|
2561
|
+
i0.ɵɵtemplate(17, SeleccionaArticuloComponent_ng_template_27_td_17_Template, 3, 3, "td", 34);
|
|
2562
|
+
i0.ɵɵtemplate(18, SeleccionaArticuloComponent_ng_template_27_td_18_Template, 3, 3, "td", 34);
|
|
2563
|
+
i0.ɵɵtemplate(19, SeleccionaArticuloComponent_ng_template_27_td_19_Template, 3, 3, "td", 34);
|
|
2564
|
+
i0.ɵɵtemplate(20, SeleccionaArticuloComponent_ng_template_27_td_20_Template, 3, 3, "td", 38);
|
|
2565
|
+
i0.ɵɵelementStart(21, "td", 36);
|
|
2566
|
+
i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_27_div_22_Template, 8, 5, "div", 42);
|
|
2567
|
+
i0.ɵɵelementEnd();
|
|
2568
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_ng_template_27_td_23_Template, 2, 1, "td", 43);
|
|
2569
|
+
i0.ɵɵelementEnd();
|
|
2533
2570
|
} if (rf & 2) {
|
|
2534
2571
|
const rowData_r16 = ctx.$implicit;
|
|
2535
|
-
const ctx_r3 =
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2572
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
2573
|
+
i0.ɵɵproperty("pSelectableRow", rowData_r16);
|
|
2574
|
+
i0.ɵɵadvance(1);
|
|
2575
|
+
i0.ɵɵproperty("ngIf", !rowData_r16.ubicacionCodigo);
|
|
2576
|
+
i0.ɵɵadvance(1);
|
|
2577
|
+
i0.ɵɵproperty("ngIf", rowData_r16.ubicacionCodigo);
|
|
2578
|
+
i0.ɵɵadvance(2);
|
|
2579
|
+
i0.ɵɵtextInterpolate(rowData_r16.existencia);
|
|
2580
|
+
i0.ɵɵadvance(2);
|
|
2581
|
+
i0.ɵɵtextInterpolate(rowData_r16.unidadCodigo);
|
|
2582
|
+
i0.ɵɵadvance(1);
|
|
2583
|
+
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2584
|
+
i0.ɵɵadvance(1);
|
|
2585
|
+
i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
|
|
2586
|
+
i0.ɵɵadvance(2);
|
|
2587
|
+
i0.ɵɵtextInterpolate(rowData_r16.articulo.codigo);
|
|
2588
|
+
i0.ɵɵadvance(2);
|
|
2589
|
+
i0.ɵɵtextInterpolate(rowData_r16.articulo.descripcion);
|
|
2590
|
+
i0.ɵɵadvance(3);
|
|
2591
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2592
|
+
i0.ɵɵadvance(1);
|
|
2593
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2594
|
+
i0.ɵɵadvance(1);
|
|
2595
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2596
|
+
i0.ɵɵadvance(1);
|
|
2597
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2598
|
+
i0.ɵɵadvance(1);
|
|
2599
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
|
|
2600
|
+
i0.ɵɵadvance(1);
|
|
2601
|
+
i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
|
|
2602
|
+
i0.ɵɵadvance(2);
|
|
2603
|
+
i0.ɵɵproperty("ngForOf", rowData_r16.existenciaUnidades);
|
|
2604
|
+
i0.ɵɵadvance(1);
|
|
2605
|
+
i0.ɵɵproperty("ngForOf", rowData_r16.articuloClasificadorList);
|
|
2569
2606
|
} }
|
|
2570
2607
|
function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template(rf, ctx) { if (rf & 1) {
|
|
2571
|
-
const _r44 =
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2608
|
+
const _r44 = i0.ɵɵgetCurrentView();
|
|
2609
|
+
i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 48);
|
|
2610
|
+
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); });
|
|
2611
|
+
i0.ɵɵelementEnd();
|
|
2575
2612
|
} if (rf & 2) {
|
|
2576
|
-
const ctx_r4 =
|
|
2577
|
-
|
|
2613
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
2614
|
+
i0.ɵɵproperty("showModal", ctx_r4.showModalInformacion)("articulo", ctx_r4.articuloSelected);
|
|
2578
2615
|
} }
|
|
2579
|
-
const _c0$
|
|
2580
|
-
const _c1
|
|
2616
|
+
const _c0$1 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
2617
|
+
const _c1 = function () { return [10, 25, 50, 100, 500]; };
|
|
2581
2618
|
class SeleccionaArticuloComponent {
|
|
2582
2619
|
constructor(_stockService, _paginateService, _almacenService) {
|
|
2583
2620
|
this._stockService = _stockService;
|
|
@@ -2669,83 +2706,83 @@ class SeleccionaArticuloComponent {
|
|
|
2669
2706
|
this.showModalInformacion = event.status;
|
|
2670
2707
|
}
|
|
2671
2708
|
}
|
|
2672
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(
|
|
2673
|
-
/** @nocollapse */ SeleccionaArticuloComponent.ɵcmp =
|
|
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
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2709
|
+
/** @nocollapse */ SeleccionaArticuloComponent.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); };
|
|
2710
|
+
/** @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) {
|
|
2711
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2712
|
+
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(); });
|
|
2713
|
+
i0.ɵɵpipe(1, "translate");
|
|
2714
|
+
i0.ɵɵelementStart(2, "div", 1);
|
|
2715
|
+
i0.ɵɵelementStart(3, "div", 2);
|
|
2716
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
2717
|
+
i0.ɵɵelementStart(5, "div", 4);
|
|
2718
|
+
i0.ɵɵelementStart(6, "select", 5);
|
|
2719
|
+
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(); });
|
|
2720
|
+
i0.ɵɵelementStart(7, "option", 6);
|
|
2721
|
+
i0.ɵɵtext(8, "Codigo");
|
|
2722
|
+
i0.ɵɵelementEnd();
|
|
2723
|
+
i0.ɵɵelementStart(9, "option", 7);
|
|
2724
|
+
i0.ɵɵtext(10, "Descripcion");
|
|
2725
|
+
i0.ɵɵelementEnd();
|
|
2726
|
+
i0.ɵɵelementStart(11, "option", 8);
|
|
2727
|
+
i0.ɵɵtext(12, "Coincidencia");
|
|
2728
|
+
i0.ɵɵelementEnd();
|
|
2729
|
+
i0.ɵɵelementStart(13, "option", 9);
|
|
2730
|
+
i0.ɵɵtext(14, "Igual a");
|
|
2731
|
+
i0.ɵɵelementEnd();
|
|
2732
|
+
i0.ɵɵelementEnd();
|
|
2733
|
+
i0.ɵɵelementEnd();
|
|
2734
|
+
i0.ɵɵelementStart(15, "input", 10);
|
|
2735
|
+
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); });
|
|
2736
|
+
i0.ɵɵelementEnd();
|
|
2737
|
+
i0.ɵɵelementStart(16, "button", 11);
|
|
2738
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { return ctx.obtenerExistenciaArticulos(); });
|
|
2739
|
+
i0.ɵɵelementEnd();
|
|
2740
|
+
i0.ɵɵelementEnd();
|
|
2741
|
+
i0.ɵɵelementEnd();
|
|
2742
|
+
i0.ɵɵelementStart(17, "div", 2);
|
|
2743
|
+
i0.ɵɵelementStart(18, "div", 3);
|
|
2744
|
+
i0.ɵɵelementStart(19, "div", 12);
|
|
2745
|
+
i0.ɵɵelementStart(20, "label", 13);
|
|
2746
|
+
i0.ɵɵtext(21, "Almacen:");
|
|
2747
|
+
i0.ɵɵelementEnd();
|
|
2748
|
+
i0.ɵɵelementEnd();
|
|
2749
|
+
i0.ɵɵelementStart(22, "select", 14);
|
|
2750
|
+
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(); });
|
|
2751
|
+
i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 15);
|
|
2752
|
+
i0.ɵɵelementEnd();
|
|
2753
|
+
i0.ɵɵelementEnd();
|
|
2754
|
+
i0.ɵɵelementEnd();
|
|
2755
|
+
i0.ɵɵelementEnd();
|
|
2756
|
+
i0.ɵɵelementStart(24, "p-table", 16, 17);
|
|
2757
|
+
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { return ctx.filaSeleccionada($event); });
|
|
2758
|
+
i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18);
|
|
2759
|
+
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
|
|
2760
|
+
i0.ɵɵelementEnd();
|
|
2761
|
+
i0.ɵɵelementStart(28, "p-paginator", 20);
|
|
2762
|
+
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { return ctx.pagina($event); });
|
|
2763
|
+
i0.ɵɵelementEnd();
|
|
2764
|
+
i0.ɵɵelementEnd();
|
|
2765
|
+
i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2729
2766
|
} if (rf & 2) {
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
} }, directives: [Dialog, SelectControlValueAccessor, InputText, NgControlStatus, NgModel, NgSelectOption,
|
|
2748
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2767
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(22, _c0$1, ctx.size + "px"));
|
|
2768
|
+
i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 20, "Articulos"));
|
|
2769
|
+
i0.ɵɵproperty("visible", ctx.showArticulos)("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2770
|
+
i0.ɵɵadvance(6);
|
|
2771
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
|
|
2772
|
+
i0.ɵɵadvance(9);
|
|
2773
|
+
i0.ɵɵproperty("ngModel", ctx.busquedaArticulos.key);
|
|
2774
|
+
i0.ɵɵadvance(7);
|
|
2775
|
+
i0.ɵɵproperty("ngModel", ctx.movimiento.almacen);
|
|
2776
|
+
i0.ɵɵadvance(1);
|
|
2777
|
+
i0.ɵɵproperty("ngForOf", ctx.almacenList);
|
|
2778
|
+
i0.ɵɵadvance(1);
|
|
2779
|
+
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true)("responsive", true);
|
|
2780
|
+
i0.ɵɵadvance(4);
|
|
2781
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(24, _c1));
|
|
2782
|
+
i0.ɵɵadvance(1);
|
|
2783
|
+
i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
|
|
2784
|
+
} }, 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}"] });
|
|
2785
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2749
2786
|
type: Component,
|
|
2750
2787
|
args: [{
|
|
2751
2788
|
selector: 'app-selecciona-articulo',
|
|
@@ -2772,129 +2809,129 @@ class AcreedorService extends CrudService {
|
|
|
2772
2809
|
this.httpClient = httpClient;
|
|
2773
2810
|
}
|
|
2774
2811
|
}
|
|
2775
|
-
/** @nocollapse */ AcreedorService.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(
|
|
2776
|
-
/** @nocollapse */ AcreedorService.ɵprov =
|
|
2777
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2812
|
+
/** @nocollapse */ AcreedorService.ɵfac = function AcreedorService_Factory(t) { return new (t || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
2813
|
+
/** @nocollapse */ AcreedorService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' });
|
|
2814
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorService, [{
|
|
2778
2815
|
type: Injectable,
|
|
2779
2816
|
args: [{
|
|
2780
2817
|
providedIn: 'root'
|
|
2781
2818
|
}]
|
|
2782
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
2819
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
2783
2820
|
|
|
2784
2821
|
function SelectAcreedorComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2822
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2823
|
+
i0.ɵɵelementStart(1, "th");
|
|
2824
|
+
i0.ɵɵtext(2);
|
|
2825
|
+
i0.ɵɵpipe(3, "translate");
|
|
2826
|
+
i0.ɵɵelementEnd();
|
|
2827
|
+
i0.ɵɵelementStart(4, "th");
|
|
2828
|
+
i0.ɵɵtext(5);
|
|
2829
|
+
i0.ɵɵpipe(6, "translate");
|
|
2830
|
+
i0.ɵɵelementEnd();
|
|
2831
|
+
i0.ɵɵelementStart(7, "th");
|
|
2832
|
+
i0.ɵɵtext(8);
|
|
2833
|
+
i0.ɵɵpipe(9, "translate");
|
|
2834
|
+
i0.ɵɵelementEnd();
|
|
2835
|
+
i0.ɵɵelementStart(10, "th");
|
|
2836
|
+
i0.ɵɵtext(11);
|
|
2837
|
+
i0.ɵɵpipe(12, "translate");
|
|
2838
|
+
i0.ɵɵelementEnd();
|
|
2839
|
+
i0.ɵɵelementStart(13, "th");
|
|
2840
|
+
i0.ɵɵtext(14);
|
|
2841
|
+
i0.ɵɵpipe(15, "translate");
|
|
2842
|
+
i0.ɵɵelementEnd();
|
|
2843
|
+
i0.ɵɵelementStart(16, "th");
|
|
2844
|
+
i0.ɵɵtext(17);
|
|
2845
|
+
i0.ɵɵpipe(18, "translate");
|
|
2846
|
+
i0.ɵɵelementEnd();
|
|
2847
|
+
i0.ɵɵelementEnd();
|
|
2811
2848
|
} if (rf & 2) {
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2849
|
+
i0.ɵɵadvance(2);
|
|
2850
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "razonSocial"));
|
|
2851
|
+
i0.ɵɵadvance(3);
|
|
2852
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "rfc"));
|
|
2853
|
+
i0.ɵɵadvance(3);
|
|
2854
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
2855
|
+
i0.ɵɵadvance(3);
|
|
2856
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "atrasoDiasEntrega"));
|
|
2857
|
+
i0.ɵɵadvance(3);
|
|
2858
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "limiteCredito"));
|
|
2859
|
+
i0.ɵɵadvance(3);
|
|
2860
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "fechaUltimaCompra"));
|
|
2824
2861
|
} }
|
|
2825
2862
|
function SelectAcreedorComponent_ng_template_7_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2863
|
+
i0.ɵɵelementStart(0, "span");
|
|
2864
|
+
i0.ɵɵtext(1);
|
|
2865
|
+
i0.ɵɵpipe(2, "translate");
|
|
2866
|
+
i0.ɵɵelementEnd();
|
|
2830
2867
|
} if (rf & 2) {
|
|
2831
|
-
|
|
2832
|
-
|
|
2868
|
+
i0.ɵɵadvance(1);
|
|
2869
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
2833
2870
|
} }
|
|
2834
2871
|
function SelectAcreedorComponent_ng_template_7_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2872
|
+
i0.ɵɵelementStart(0, "span");
|
|
2873
|
+
i0.ɵɵtext(1);
|
|
2874
|
+
i0.ɵɵpipe(2, "translate");
|
|
2875
|
+
i0.ɵɵelementEnd();
|
|
2839
2876
|
} if (rf & 2) {
|
|
2840
|
-
|
|
2841
|
-
|
|
2877
|
+
i0.ɵɵadvance(1);
|
|
2878
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
2842
2879
|
} }
|
|
2843
2880
|
function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2881
|
+
i0.ɵɵelementStart(0, "tr", 9);
|
|
2882
|
+
i0.ɵɵelementStart(1, "td");
|
|
2883
|
+
i0.ɵɵtext(2);
|
|
2884
|
+
i0.ɵɵelementEnd();
|
|
2885
|
+
i0.ɵɵelementStart(3, "td");
|
|
2886
|
+
i0.ɵɵtext(4);
|
|
2887
|
+
i0.ɵɵelementEnd();
|
|
2888
|
+
i0.ɵɵelementStart(5, "td");
|
|
2889
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_7_span_6_Template, 3, 3, "span", 10);
|
|
2890
|
+
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_span_7_Template, 3, 3, "span", 10);
|
|
2891
|
+
i0.ɵɵelementEnd();
|
|
2892
|
+
i0.ɵɵelementStart(8, "td");
|
|
2893
|
+
i0.ɵɵtext(9);
|
|
2894
|
+
i0.ɵɵelementEnd();
|
|
2895
|
+
i0.ɵɵelementStart(10, "td");
|
|
2896
|
+
i0.ɵɵtext(11);
|
|
2897
|
+
i0.ɵɵelementEnd();
|
|
2898
|
+
i0.ɵɵelementStart(12, "td");
|
|
2899
|
+
i0.ɵɵtext(13);
|
|
2900
|
+
i0.ɵɵpipe(14, "date");
|
|
2901
|
+
i0.ɵɵelementEnd();
|
|
2902
|
+
i0.ɵɵelementEnd();
|
|
2866
2903
|
} if (rf & 2) {
|
|
2867
2904
|
const acreedor_r3 = ctx.$implicit;
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2905
|
+
i0.ɵɵproperty("pSelectableRow", acreedor_r3);
|
|
2906
|
+
i0.ɵɵadvance(2);
|
|
2907
|
+
i0.ɵɵtextInterpolate(acreedor_r3.descripcionRazonSocial);
|
|
2908
|
+
i0.ɵɵadvance(2);
|
|
2909
|
+
i0.ɵɵtextInterpolate(acreedor_r3.descripcionRfc);
|
|
2910
|
+
i0.ɵɵadvance(2);
|
|
2911
|
+
i0.ɵɵproperty("ngIf", acreedor_r3.personaMoral);
|
|
2912
|
+
i0.ɵɵadvance(1);
|
|
2913
|
+
i0.ɵɵproperty("ngIf", acreedor_r3.personaFisica);
|
|
2914
|
+
i0.ɵɵadvance(2);
|
|
2915
|
+
i0.ɵɵtextInterpolate(acreedor_r3.atrasoDiasEntrega);
|
|
2916
|
+
i0.ɵɵadvance(2);
|
|
2917
|
+
i0.ɵɵtextInterpolate(acreedor_r3.limiteCredito);
|
|
2918
|
+
i0.ɵɵadvance(2);
|
|
2919
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 8, acreedor_r3.fechaUltimaCompra, "dd/MM/yyyy"));
|
|
2883
2920
|
} }
|
|
2884
2921
|
function SelectAcreedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2922
|
+
i0.ɵɵelementStart(0, "tr");
|
|
2923
|
+
i0.ɵɵelementStart(1, "td");
|
|
2924
|
+
i0.ɵɵtext(2);
|
|
2925
|
+
i0.ɵɵpipe(3, "translate");
|
|
2926
|
+
i0.ɵɵelementEnd();
|
|
2927
|
+
i0.ɵɵelementEnd();
|
|
2891
2928
|
} if (rf & 2) {
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2929
|
+
i0.ɵɵadvance(1);
|
|
2930
|
+
i0.ɵɵattribute("colspan", 6);
|
|
2931
|
+
i0.ɵɵadvance(1);
|
|
2932
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "general.noRegistros"));
|
|
2896
2933
|
} }
|
|
2897
|
-
const _c0
|
|
2934
|
+
const _c0 = function () { return [10, 25, 50, 100, 500]; };
|
|
2898
2935
|
class SelectAcreedorComponent {
|
|
2899
2936
|
constructor(acreedorService, paginanateService, translate) {
|
|
2900
2937
|
this.acreedorService = acreedorService;
|
|
@@ -2934,46 +2971,46 @@ class SelectAcreedorComponent {
|
|
|
2934
2971
|
this.visible = false;
|
|
2935
2972
|
}
|
|
2936
2973
|
}
|
|
2937
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(
|
|
2938
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵcmp =
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2974
|
+
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); };
|
|
2975
|
+
/** @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) {
|
|
2976
|
+
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2977
|
+
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(); });
|
|
2978
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
2979
|
+
i0.ɵɵelementStart(2, "input", 2);
|
|
2980
|
+
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(); });
|
|
2981
|
+
i0.ɵɵpipe(3, "translate");
|
|
2982
|
+
i0.ɵɵelementEnd();
|
|
2983
|
+
i0.ɵɵelementStart(4, "button", 3);
|
|
2984
|
+
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
2985
|
+
i0.ɵɵelementEnd();
|
|
2986
|
+
i0.ɵɵelementEnd();
|
|
2987
|
+
i0.ɵɵelementStart(5, "p-table", 4);
|
|
2988
|
+
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); });
|
|
2989
|
+
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
2990
|
+
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
2991
|
+
i0.ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
2992
|
+
i0.ɵɵelementEnd();
|
|
2993
|
+
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
2994
|
+
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
2995
|
+
i0.ɵɵelementEnd();
|
|
2996
|
+
i0.ɵɵelementEnd();
|
|
2960
2997
|
} if (rf & 2) {
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
} }, directives: [Dialog, DefaultValueAccessor, InputText, NgControlStatus, NgModel, ButtonDirective, Table, PrimeTemplate, Paginator, SelectableRow, NgIf], pipes: [TranslatePipe, DatePipe], encapsulation: 2 });
|
|
2970
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
2998
|
+
i0.ɵɵproperty("visible", ctx.visible);
|
|
2999
|
+
i0.ɵɵadvance(2);
|
|
3000
|
+
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 11, "buscar"), "...");
|
|
3001
|
+
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
3002
|
+
i0.ɵɵadvance(3);
|
|
3003
|
+
i0.ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true)("responsive", true);
|
|
3004
|
+
i0.ɵɵadvance(4);
|
|
3005
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
3006
|
+
} }, 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 });
|
|
3007
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
2971
3008
|
type: Component,
|
|
2972
3009
|
args: [{
|
|
2973
3010
|
templateUrl: 'select-acreedor.component.html',
|
|
2974
3011
|
selector: 'select-acreedor'
|
|
2975
3012
|
}]
|
|
2976
|
-
}], function () { return [{ type: AcreedorService }, { type: PaginateService }, { type: TranslateService }]; }, { visible: [{
|
|
3013
|
+
}], function () { return [{ type: AcreedorService }, { type: PaginateService }, { type: i3.TranslateService }]; }, { visible: [{
|
|
2977
3014
|
type: Input
|
|
2978
3015
|
}], acreedorSeleccionado: [{
|
|
2979
3016
|
type: Input
|
|
@@ -3037,8 +3074,8 @@ function HttpLoaderFactory(http) {
|
|
|
3037
3074
|
class CoreLibModule {
|
|
3038
3075
|
}
|
|
3039
3076
|
/** @nocollapse */ CoreLibModule.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); };
|
|
3040
|
-
/** @nocollapse */ CoreLibModule.ɵmod =
|
|
3041
|
-
/** @nocollapse */ CoreLibModule.ɵinj =
|
|
3077
|
+
/** @nocollapse */ CoreLibModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule });
|
|
3078
|
+
/** @nocollapse */ CoreLibModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
3042
3079
|
primeNgServices,
|
|
3043
3080
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
3044
3081
|
], imports: [[
|
|
@@ -3054,8 +3091,7 @@ class CoreLibModule {
|
|
|
3054
3091
|
}
|
|
3055
3092
|
})
|
|
3056
3093
|
]] });
|
|
3057
|
-
(function () { (typeof
|
|
3058
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassMetadata(CoreLibModule, [{
|
|
3094
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
|
|
3059
3095
|
type: NgModule,
|
|
3060
3096
|
args: [{
|
|
3061
3097
|
declarations: [
|
|
@@ -3084,6 +3120,7 @@ class CoreLibModule {
|
|
|
3084
3120
|
exports: [components, contaComponents]
|
|
3085
3121
|
}]
|
|
3086
3122
|
}], null, null); })();
|
|
3123
|
+
(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] }); })();
|
|
3087
3124
|
|
|
3088
3125
|
class ControlAccesoService {
|
|
3089
3126
|
constructor(authService) {
|
|
@@ -3111,9 +3148,9 @@ class ControlAccesoService {
|
|
|
3111
3148
|
return permiso;
|
|
3112
3149
|
}
|
|
3113
3150
|
}
|
|
3114
|
-
/** @nocollapse */ ControlAccesoService.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(
|
|
3115
|
-
/** @nocollapse */ ControlAccesoService.ɵprov =
|
|
3116
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3151
|
+
/** @nocollapse */ ControlAccesoService.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); };
|
|
3152
|
+
/** @nocollapse */ ControlAccesoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' });
|
|
3153
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
|
|
3117
3154
|
type: Injectable,
|
|
3118
3155
|
args: [{
|
|
3119
3156
|
providedIn: 'root'
|
|
@@ -3160,14 +3197,14 @@ class InitService {
|
|
|
3160
3197
|
});
|
|
3161
3198
|
}
|
|
3162
3199
|
}
|
|
3163
|
-
/** @nocollapse */ InitService.ɵfac = function InitService_Factory(t) { return new (t || InitService)(
|
|
3164
|
-
/** @nocollapse */ InitService.ɵprov =
|
|
3165
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3200
|
+
/** @nocollapse */ InitService.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); };
|
|
3201
|
+
/** @nocollapse */ InitService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' });
|
|
3202
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
|
|
3166
3203
|
type: Injectable,
|
|
3167
3204
|
args: [{
|
|
3168
3205
|
providedIn: 'root'
|
|
3169
3206
|
}]
|
|
3170
|
-
}], function () { return [{ type: HttpClient }, { type: AuthService }]; }, null); })();
|
|
3207
|
+
}], function () { return [{ type: i1.HttpClient }, { type: AuthService }]; }, null); })();
|
|
3171
3208
|
|
|
3172
3209
|
class MessageService {
|
|
3173
3210
|
constructor(toastr) {
|
|
@@ -3235,28 +3272,28 @@ class MessageService {
|
|
|
3235
3272
|
return msgs;
|
|
3236
3273
|
}
|
|
3237
3274
|
}
|
|
3238
|
-
/** @nocollapse */ MessageService.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(
|
|
3239
|
-
/** @nocollapse */ MessageService.ɵprov =
|
|
3240
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3275
|
+
/** @nocollapse */ MessageService.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); };
|
|
3276
|
+
/** @nocollapse */ MessageService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' });
|
|
3277
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
|
|
3241
3278
|
type: Injectable,
|
|
3242
3279
|
args: [{
|
|
3243
3280
|
providedIn: 'root'
|
|
3244
3281
|
}]
|
|
3245
|
-
}], function () { return [{ type: ToastrService }]; }, null); })();
|
|
3282
|
+
}], function () { return [{ type: i1$1.ToastrService }]; }, null); })();
|
|
3246
3283
|
|
|
3247
3284
|
class PersonaMoralService extends CrudService {
|
|
3248
3285
|
constructor(http) {
|
|
3249
3286
|
super(http, '/personaMoral');
|
|
3250
3287
|
}
|
|
3251
3288
|
}
|
|
3252
|
-
/** @nocollapse */ PersonaMoralService.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(
|
|
3253
|
-
/** @nocollapse */ PersonaMoralService.ɵprov =
|
|
3254
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3289
|
+
/** @nocollapse */ PersonaMoralService.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3290
|
+
/** @nocollapse */ PersonaMoralService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' });
|
|
3291
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
|
|
3255
3292
|
type: Injectable,
|
|
3256
3293
|
args: [{
|
|
3257
3294
|
providedIn: 'root'
|
|
3258
3295
|
}]
|
|
3259
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3296
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3260
3297
|
|
|
3261
3298
|
class CanActivateGuard {
|
|
3262
3299
|
constructor(controlAccesoService) {
|
|
@@ -3271,9 +3308,9 @@ class CanActivateGuard {
|
|
|
3271
3308
|
this.rol = rol;
|
|
3272
3309
|
}
|
|
3273
3310
|
}
|
|
3274
|
-
/** @nocollapse */ CanActivateGuard.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(
|
|
3275
|
-
/** @nocollapse */ CanActivateGuard.ɵprov =
|
|
3276
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3311
|
+
/** @nocollapse */ CanActivateGuard.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); };
|
|
3312
|
+
/** @nocollapse */ CanActivateGuard.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' });
|
|
3313
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
|
|
3277
3314
|
type: Injectable,
|
|
3278
3315
|
args: [{
|
|
3279
3316
|
providedIn: 'root'
|
|
@@ -3286,14 +3323,14 @@ class CatalogoAdicionalService extends CrudService {
|
|
|
3286
3323
|
this.httpClient = httpClient;
|
|
3287
3324
|
}
|
|
3288
3325
|
}
|
|
3289
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(
|
|
3290
|
-
/** @nocollapse */ CatalogoAdicionalService.ɵprov =
|
|
3291
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3326
|
+
/** @nocollapse */ CatalogoAdicionalService.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3327
|
+
/** @nocollapse */ CatalogoAdicionalService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' });
|
|
3328
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
|
|
3292
3329
|
type: Injectable,
|
|
3293
3330
|
args: [{
|
|
3294
3331
|
providedIn: 'root'
|
|
3295
3332
|
}]
|
|
3296
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3333
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3297
3334
|
|
|
3298
3335
|
class Authenticated {
|
|
3299
3336
|
constructor(authService, controlAccesoService, router) {
|
|
@@ -3355,14 +3392,14 @@ class Authenticated {
|
|
|
3355
3392
|
window.location.href = host;
|
|
3356
3393
|
}
|
|
3357
3394
|
}
|
|
3358
|
-
/** @nocollapse */ Authenticated.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(
|
|
3359
|
-
/** @nocollapse */ Authenticated.ɵprov =
|
|
3360
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3395
|
+
/** @nocollapse */ Authenticated.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$2.Router)); };
|
|
3396
|
+
/** @nocollapse */ Authenticated.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' });
|
|
3397
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
|
|
3361
3398
|
type: Injectable,
|
|
3362
3399
|
args: [{
|
|
3363
3400
|
providedIn: 'root'
|
|
3364
3401
|
}]
|
|
3365
|
-
}], function () { return [{ type: AuthService }, { type: ControlAccesoService }, { type: Router }]; }, null); })();
|
|
3402
|
+
}], function () { return [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$2.Router }]; }, null); })();
|
|
3366
3403
|
|
|
3367
3404
|
class VersionCheckService {
|
|
3368
3405
|
constructor(http) {
|
|
@@ -3403,14 +3440,14 @@ class VersionCheckService {
|
|
|
3403
3440
|
return currentHash === newHash;
|
|
3404
3441
|
}
|
|
3405
3442
|
}
|
|
3406
|
-
/** @nocollapse */ VersionCheckService.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(
|
|
3407
|
-
/** @nocollapse */ VersionCheckService.ɵprov =
|
|
3408
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3443
|
+
/** @nocollapse */ VersionCheckService.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3444
|
+
/** @nocollapse */ VersionCheckService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' });
|
|
3445
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
|
|
3409
3446
|
type: Injectable,
|
|
3410
3447
|
args: [{
|
|
3411
3448
|
providedIn: 'root'
|
|
3412
3449
|
}]
|
|
3413
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3450
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3414
3451
|
|
|
3415
3452
|
class AgenteService extends CrudService {
|
|
3416
3453
|
constructor(httpClient) {
|
|
@@ -3430,14 +3467,14 @@ class AgenteService extends CrudService {
|
|
|
3430
3467
|
return this.getHttp().get(url, this.buildAuth());
|
|
3431
3468
|
}
|
|
3432
3469
|
}
|
|
3433
|
-
/** @nocollapse */ AgenteService.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(
|
|
3434
|
-
/** @nocollapse */ AgenteService.ɵprov =
|
|
3435
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3470
|
+
/** @nocollapse */ AgenteService.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3471
|
+
/** @nocollapse */ AgenteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' });
|
|
3472
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
|
|
3436
3473
|
type: Injectable,
|
|
3437
3474
|
args: [{
|
|
3438
3475
|
providedIn: 'root'
|
|
3439
3476
|
}]
|
|
3440
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3477
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3441
3478
|
|
|
3442
3479
|
class Almacen {
|
|
3443
3480
|
constructor() { }
|
|
@@ -3459,14 +3496,14 @@ class BancoService extends CrudService {
|
|
|
3459
3496
|
super(http, '/banco');
|
|
3460
3497
|
}
|
|
3461
3498
|
}
|
|
3462
|
-
/** @nocollapse */ BancoService.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(
|
|
3463
|
-
/** @nocollapse */ BancoService.ɵprov =
|
|
3464
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3499
|
+
/** @nocollapse */ BancoService.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3500
|
+
/** @nocollapse */ BancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' });
|
|
3501
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
|
|
3465
3502
|
type: Injectable,
|
|
3466
3503
|
args: [{
|
|
3467
3504
|
providedIn: 'root'
|
|
3468
3505
|
}]
|
|
3469
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3506
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3470
3507
|
|
|
3471
3508
|
class CatalogoTipo {
|
|
3472
3509
|
constructor() { }
|
|
@@ -3477,28 +3514,28 @@ class CatalogoTipoService extends CrudService {
|
|
|
3477
3514
|
super(htt, '/catalogoTipo');
|
|
3478
3515
|
}
|
|
3479
3516
|
}
|
|
3480
|
-
/** @nocollapse */ CatalogoTipoService.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(
|
|
3481
|
-
/** @nocollapse */ CatalogoTipoService.ɵprov =
|
|
3482
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3517
|
+
/** @nocollapse */ CatalogoTipoService.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3518
|
+
/** @nocollapse */ CatalogoTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' });
|
|
3519
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
|
|
3483
3520
|
type: Injectable,
|
|
3484
3521
|
args: [{
|
|
3485
3522
|
providedIn: 'root'
|
|
3486
3523
|
}]
|
|
3487
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3524
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3488
3525
|
|
|
3489
3526
|
class ClasificadorTipoService extends CrudService {
|
|
3490
3527
|
constructor(http) {
|
|
3491
3528
|
super(http, '/clasificadorTipo');
|
|
3492
3529
|
}
|
|
3493
3530
|
}
|
|
3494
|
-
/** @nocollapse */ ClasificadorTipoService.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(
|
|
3495
|
-
/** @nocollapse */ ClasificadorTipoService.ɵprov =
|
|
3496
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3531
|
+
/** @nocollapse */ ClasificadorTipoService.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3532
|
+
/** @nocollapse */ ClasificadorTipoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' });
|
|
3533
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
|
|
3497
3534
|
type: Injectable,
|
|
3498
3535
|
args: [{
|
|
3499
3536
|
providedIn: 'root'
|
|
3500
3537
|
}]
|
|
3501
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3538
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3502
3539
|
|
|
3503
3540
|
class ClaveMovimiento {
|
|
3504
3541
|
constructor() { }
|
|
@@ -3509,14 +3546,14 @@ class ClaveMovimientoService extends CrudService {
|
|
|
3509
3546
|
super(http, 'claveMovimiento');
|
|
3510
3547
|
}
|
|
3511
3548
|
}
|
|
3512
|
-
/** @nocollapse */ ClaveMovimientoService.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(
|
|
3513
|
-
/** @nocollapse */ ClaveMovimientoService.ɵprov =
|
|
3514
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3549
|
+
/** @nocollapse */ ClaveMovimientoService.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3550
|
+
/** @nocollapse */ ClaveMovimientoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' });
|
|
3551
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
|
|
3515
3552
|
type: Injectable,
|
|
3516
3553
|
args: [{
|
|
3517
3554
|
providedIn: 'root'
|
|
3518
3555
|
}]
|
|
3519
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3556
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3520
3557
|
|
|
3521
3558
|
class ClienteCuentaBanco {
|
|
3522
3559
|
constructor() {
|
|
@@ -3547,14 +3584,14 @@ class ClienteCuentaBancoService extends CrudService {
|
|
|
3547
3584
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3548
3585
|
}
|
|
3549
3586
|
}
|
|
3550
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(
|
|
3551
|
-
/** @nocollapse */ ClienteCuentaBancoService.ɵprov =
|
|
3552
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3587
|
+
/** @nocollapse */ ClienteCuentaBancoService.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3588
|
+
/** @nocollapse */ ClienteCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3589
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
|
|
3553
3590
|
type: Injectable,
|
|
3554
3591
|
args: [{
|
|
3555
3592
|
providedIn: 'root'
|
|
3556
3593
|
}]
|
|
3557
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3594
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3558
3595
|
|
|
3559
3596
|
class ClienteFleteService extends CrudService {
|
|
3560
3597
|
constructor(httpClient) {
|
|
@@ -3566,14 +3603,14 @@ class ClienteFleteService extends CrudService {
|
|
|
3566
3603
|
return this.save(params);
|
|
3567
3604
|
}
|
|
3568
3605
|
}
|
|
3569
|
-
/** @nocollapse */ ClienteFleteService.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(
|
|
3570
|
-
/** @nocollapse */ ClienteFleteService.ɵprov =
|
|
3571
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3606
|
+
/** @nocollapse */ ClienteFleteService.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3607
|
+
/** @nocollapse */ ClienteFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' });
|
|
3608
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
|
|
3572
3609
|
type: Injectable,
|
|
3573
3610
|
args: [{
|
|
3574
3611
|
providedIn: 'root'
|
|
3575
3612
|
}]
|
|
3576
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3613
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3577
3614
|
|
|
3578
3615
|
class TipoContacto {
|
|
3579
3616
|
constructor() {
|
|
@@ -3592,28 +3629,28 @@ class DatoContactoService extends CrudService {
|
|
|
3592
3629
|
super(http, '/contacto');
|
|
3593
3630
|
}
|
|
3594
3631
|
}
|
|
3595
|
-
/** @nocollapse */ DatoContactoService.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(
|
|
3596
|
-
/** @nocollapse */ DatoContactoService.ɵprov =
|
|
3597
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3632
|
+
/** @nocollapse */ DatoContactoService.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3633
|
+
/** @nocollapse */ DatoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' });
|
|
3634
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
|
|
3598
3635
|
type: Injectable,
|
|
3599
3636
|
args: [{
|
|
3600
3637
|
providedIn: 'root'
|
|
3601
3638
|
}]
|
|
3602
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3639
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3603
3640
|
|
|
3604
3641
|
class DatoDireccionService extends CrudService {
|
|
3605
3642
|
constructor(http) {
|
|
3606
3643
|
super(http, '/datoDireccion');
|
|
3607
3644
|
}
|
|
3608
3645
|
}
|
|
3609
|
-
/** @nocollapse */ DatoDireccionService.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(
|
|
3610
|
-
/** @nocollapse */ DatoDireccionService.ɵprov =
|
|
3611
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3646
|
+
/** @nocollapse */ DatoDireccionService.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3647
|
+
/** @nocollapse */ DatoDireccionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' });
|
|
3648
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
|
|
3612
3649
|
type: Injectable,
|
|
3613
3650
|
args: [{
|
|
3614
3651
|
providedIn: 'root'
|
|
3615
3652
|
}]
|
|
3616
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3653
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3617
3654
|
|
|
3618
3655
|
class Departamento {
|
|
3619
3656
|
constructor() {
|
|
@@ -3625,14 +3662,14 @@ class DepartamentoService extends CrudService {
|
|
|
3625
3662
|
super(http, '/departamento');
|
|
3626
3663
|
}
|
|
3627
3664
|
}
|
|
3628
|
-
/** @nocollapse */ DepartamentoService.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(
|
|
3629
|
-
/** @nocollapse */ DepartamentoService.ɵprov =
|
|
3630
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3665
|
+
/** @nocollapse */ DepartamentoService.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3666
|
+
/** @nocollapse */ DepartamentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' });
|
|
3667
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
|
|
3631
3668
|
type: Injectable,
|
|
3632
3669
|
args: [{
|
|
3633
3670
|
providedIn: 'root'
|
|
3634
3671
|
}]
|
|
3635
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3672
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3636
3673
|
|
|
3637
3674
|
class FormaPago {
|
|
3638
3675
|
constructor() { }
|
|
@@ -3662,14 +3699,14 @@ class EmpresaService extends CrudService {
|
|
|
3662
3699
|
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
3663
3700
|
}
|
|
3664
3701
|
}
|
|
3665
|
-
/** @nocollapse */ EmpresaService.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(
|
|
3666
|
-
/** @nocollapse */ EmpresaService.ɵprov =
|
|
3667
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3702
|
+
/** @nocollapse */ EmpresaService.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3703
|
+
/** @nocollapse */ EmpresaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' });
|
|
3704
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
|
|
3668
3705
|
type: Injectable,
|
|
3669
3706
|
args: [{
|
|
3670
3707
|
providedIn: 'root'
|
|
3671
3708
|
}]
|
|
3672
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3709
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3673
3710
|
|
|
3674
3711
|
class FleteService extends CrudService {
|
|
3675
3712
|
constructor(httpClient) {
|
|
@@ -3677,28 +3714,28 @@ class FleteService extends CrudService {
|
|
|
3677
3714
|
this.httpClient = httpClient;
|
|
3678
3715
|
}
|
|
3679
3716
|
}
|
|
3680
|
-
/** @nocollapse */ FleteService.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(
|
|
3681
|
-
/** @nocollapse */ FleteService.ɵprov =
|
|
3682
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3717
|
+
/** @nocollapse */ FleteService.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3718
|
+
/** @nocollapse */ FleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' });
|
|
3719
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
|
|
3683
3720
|
type: Injectable,
|
|
3684
3721
|
args: [{
|
|
3685
3722
|
providedIn: 'root'
|
|
3686
3723
|
}]
|
|
3687
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3724
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3688
3725
|
|
|
3689
3726
|
class FormaPagoService extends CrudService {
|
|
3690
3727
|
constructor(http) {
|
|
3691
3728
|
super(http, '/FormaDePago');
|
|
3692
3729
|
}
|
|
3693
3730
|
}
|
|
3694
|
-
/** @nocollapse */ FormaPagoService.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(
|
|
3695
|
-
/** @nocollapse */ FormaPagoService.ɵprov =
|
|
3696
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3731
|
+
/** @nocollapse */ FormaPagoService.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3732
|
+
/** @nocollapse */ FormaPagoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" });
|
|
3733
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
|
|
3697
3734
|
type: Injectable,
|
|
3698
3735
|
args: [{
|
|
3699
3736
|
providedIn: "root"
|
|
3700
3737
|
}]
|
|
3701
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3738
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3702
3739
|
|
|
3703
3740
|
class Moneda {
|
|
3704
3741
|
constructor() { }
|
|
@@ -3710,14 +3747,14 @@ class MonedaService extends CrudService {
|
|
|
3710
3747
|
this.httpClient = httpClient;
|
|
3711
3748
|
}
|
|
3712
3749
|
}
|
|
3713
|
-
/** @nocollapse */ MonedaService.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(
|
|
3714
|
-
/** @nocollapse */ MonedaService.ɵprov =
|
|
3715
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3750
|
+
/** @nocollapse */ MonedaService.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3751
|
+
/** @nocollapse */ MonedaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' });
|
|
3752
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
|
|
3716
3753
|
type: Injectable,
|
|
3717
3754
|
args: [{
|
|
3718
3755
|
providedIn: 'root'
|
|
3719
3756
|
}]
|
|
3720
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3757
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3721
3758
|
|
|
3722
3759
|
class EstadoCivil {
|
|
3723
3760
|
constructor() { }
|
|
@@ -3739,14 +3776,14 @@ class PersonaFisicaService extends CrudService {
|
|
|
3739
3776
|
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
3740
3777
|
}
|
|
3741
3778
|
}
|
|
3742
|
-
/** @nocollapse */ PersonaFisicaService.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(
|
|
3743
|
-
/** @nocollapse */ PersonaFisicaService.ɵprov =
|
|
3744
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3779
|
+
/** @nocollapse */ PersonaFisicaService.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3780
|
+
/** @nocollapse */ PersonaFisicaService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" });
|
|
3781
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
|
|
3745
3782
|
type: Injectable,
|
|
3746
3783
|
args: [{
|
|
3747
3784
|
providedIn: "root"
|
|
3748
3785
|
}]
|
|
3749
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3786
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3750
3787
|
|
|
3751
3788
|
class ProveedorCuentaBanco {
|
|
3752
3789
|
constructor() {
|
|
@@ -3773,14 +3810,14 @@ class ProveedorCuentaBancoService extends CrudService {
|
|
|
3773
3810
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3774
3811
|
}
|
|
3775
3812
|
}
|
|
3776
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(
|
|
3777
|
-
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov =
|
|
3778
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3813
|
+
/** @nocollapse */ ProveedorCuentaBancoService.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3814
|
+
/** @nocollapse */ ProveedorCuentaBancoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' });
|
|
3815
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
|
|
3779
3816
|
type: Injectable,
|
|
3780
3817
|
args: [{
|
|
3781
3818
|
providedIn: 'root'
|
|
3782
3819
|
}]
|
|
3783
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3820
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3784
3821
|
|
|
3785
3822
|
class ProveedorFleteService extends CrudService {
|
|
3786
3823
|
constructor(httpClient) {
|
|
@@ -3792,28 +3829,28 @@ class ProveedorFleteService extends CrudService {
|
|
|
3792
3829
|
return this.save(params);
|
|
3793
3830
|
}
|
|
3794
3831
|
}
|
|
3795
|
-
/** @nocollapse */ ProveedorFleteService.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(
|
|
3796
|
-
/** @nocollapse */ ProveedorFleteService.ɵprov =
|
|
3797
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3832
|
+
/** @nocollapse */ ProveedorFleteService.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3833
|
+
/** @nocollapse */ ProveedorFleteService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' });
|
|
3834
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
|
|
3798
3835
|
type: Injectable,
|
|
3799
3836
|
args: [{
|
|
3800
3837
|
providedIn: 'root'
|
|
3801
3838
|
}]
|
|
3802
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3839
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3803
3840
|
|
|
3804
3841
|
class ClaveAumentoDisminucionService extends CrudService {
|
|
3805
3842
|
constructor(http) {
|
|
3806
3843
|
super(http, 'claveAumentoDisminucion');
|
|
3807
3844
|
}
|
|
3808
3845
|
}
|
|
3809
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(
|
|
3810
|
-
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov =
|
|
3811
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3846
|
+
/** @nocollapse */ ClaveAumentoDisminucionService.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3847
|
+
/** @nocollapse */ ClaveAumentoDisminucionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' });
|
|
3848
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
|
|
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 SerieDocumentoService extends CrudService {
|
|
3819
3856
|
constructor(httpClient) {
|
|
@@ -3827,14 +3864,14 @@ class SerieDocumentoService extends CrudService {
|
|
|
3827
3864
|
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
3828
3865
|
}
|
|
3829
3866
|
}
|
|
3830
|
-
/** @nocollapse */ SerieDocumentoService.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(
|
|
3831
|
-
/** @nocollapse */ SerieDocumentoService.ɵprov =
|
|
3832
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3867
|
+
/** @nocollapse */ SerieDocumentoService.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3868
|
+
/** @nocollapse */ SerieDocumentoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' });
|
|
3869
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
|
|
3833
3870
|
type: Injectable,
|
|
3834
3871
|
args: [{
|
|
3835
3872
|
providedIn: 'root'
|
|
3836
3873
|
}]
|
|
3837
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3874
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3838
3875
|
|
|
3839
3876
|
class SerieDocumento {
|
|
3840
3877
|
constructor() { }
|
|
@@ -3845,14 +3882,14 @@ class TipoContactoService extends CrudService {
|
|
|
3845
3882
|
super(http, '/tipoContacto');
|
|
3846
3883
|
}
|
|
3847
3884
|
}
|
|
3848
|
-
/** @nocollapse */ TipoContactoService.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(
|
|
3849
|
-
/** @nocollapse */ TipoContactoService.ɵprov =
|
|
3850
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3885
|
+
/** @nocollapse */ TipoContactoService.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3886
|
+
/** @nocollapse */ TipoContactoService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' });
|
|
3887
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
|
|
3851
3888
|
type: Injectable,
|
|
3852
3889
|
args: [{
|
|
3853
3890
|
providedIn: 'root'
|
|
3854
3891
|
}]
|
|
3855
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3892
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3856
3893
|
|
|
3857
3894
|
class Ubicacion {
|
|
3858
3895
|
constructor() { }
|
|
@@ -3863,14 +3900,14 @@ class UbicacionService extends CrudService {
|
|
|
3863
3900
|
super(http, 'ubicacion');
|
|
3864
3901
|
}
|
|
3865
3902
|
}
|
|
3866
|
-
/** @nocollapse */ UbicacionService.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(
|
|
3867
|
-
/** @nocollapse */ UbicacionService.ɵprov =
|
|
3868
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3903
|
+
/** @nocollapse */ UbicacionService.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3904
|
+
/** @nocollapse */ UbicacionService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' });
|
|
3905
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
|
|
3869
3906
|
type: Injectable,
|
|
3870
3907
|
args: [{
|
|
3871
3908
|
providedIn: 'root'
|
|
3872
3909
|
}]
|
|
3873
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3910
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3874
3911
|
|
|
3875
3912
|
class TipoCatalogo {
|
|
3876
3913
|
}
|
|
@@ -3887,14 +3924,14 @@ class AcreedorCuentaContableService extends CrudService {
|
|
|
3887
3924
|
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
3888
3925
|
}
|
|
3889
3926
|
}
|
|
3890
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(
|
|
3891
|
-
/** @nocollapse */ AcreedorCuentaContableService.ɵprov =
|
|
3892
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) &&
|
|
3927
|
+
/** @nocollapse */ AcreedorCuentaContableService.ɵfac = function AcreedorCuentaContableService_Factory(t) { return new (t || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
3928
|
+
/** @nocollapse */ AcreedorCuentaContableService.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' });
|
|
3929
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorCuentaContableService, [{
|
|
3893
3930
|
type: Injectable,
|
|
3894
3931
|
args: [{
|
|
3895
3932
|
providedIn: 'root'
|
|
3896
3933
|
}]
|
|
3897
|
-
}], function () { return [{ type: HttpClient }]; }, null); })();
|
|
3934
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
3898
3935
|
|
|
3899
3936
|
class CuentaContableModel {
|
|
3900
3937
|
constructor() {
|