visorus-erp-core 17.2.0 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/esm2022/lib/app.module.mjs +72 -70
  2. package/esm2022/lib/components/acreedor/select/select-acreedor.component.mjs +69 -0
  3. package/esm2022/lib/components/acreedor/services/acreedor.service.mjs +20 -0
  4. package/esm2022/lib/components/acreedor/services/acreedorCuentaContable.mjs +24 -0
  5. package/esm2022/lib/components/agente/services/agente.service.mjs +9 -9
  6. package/esm2022/lib/components/almacen/services/almacen.service.mjs +9 -9
  7. package/esm2022/lib/components/banco/services/banco.service.mjs +9 -9
  8. package/esm2022/lib/components/caja/session-create/session-create.component.mjs +19 -102
  9. package/esm2022/lib/components/caja/sessionCaja.service.mjs +9 -9
  10. package/esm2022/lib/components/catalogoTipo/services/catalogoTipo.service.mjs +9 -9
  11. package/esm2022/lib/components/clasificadorTipo/services/clasificadorTipo.service.mjs +9 -9
  12. package/esm2022/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.mjs +9 -9
  13. package/esm2022/lib/components/claveMovimiento/services/claveMovimiento.service.mjs +9 -9
  14. package/esm2022/lib/components/cliente/select/select-cliente.component.mjs +85 -0
  15. package/esm2022/lib/components/cliente/services/cliente.service.mjs +9 -9
  16. package/esm2022/lib/components/cliente/services/clienteCuentaBanco.service.mjs +9 -9
  17. package/esm2022/lib/components/cliente/services/clienteFlete.service.mjs +9 -9
  18. package/esm2022/lib/components/contacto/services/datoContacto.service.mjs +9 -9
  19. package/esm2022/lib/components/dato-direccion/services/datoDireccion.service.mjs +9 -9
  20. package/esm2022/lib/components/departamento/services/departamento.service.mjs +9 -9
  21. package/esm2022/lib/components/empresa/services/empresa.service.mjs +9 -9
  22. package/esm2022/lib/components/error404/error404.component.mjs +7 -15
  23. package/esm2022/lib/components/flete/services/flete.service.mjs +9 -9
  24. package/esm2022/lib/components/formaPago/services/FormaPago.service.mjs +9 -9
  25. package/esm2022/lib/components/loading/loading.component.mjs +9 -25
  26. package/esm2022/lib/components/loading/loading.service.mjs +11 -11
  27. package/esm2022/lib/components/loading-screen/loading-screen.component.mjs +9 -14
  28. package/esm2022/lib/components/loading-screen/loading-screen.service.mjs +9 -9
  29. package/esm2022/lib/components/login-modal/login-modal.component.mjs +13 -96
  30. package/esm2022/lib/components/login-modal/login-modal.service.mjs +11 -11
  31. package/esm2022/lib/components/moneda/services/moneda.service.mjs +9 -9
  32. package/esm2022/lib/components/pdfModal/pdf-modal.component.mjs +7 -30
  33. package/esm2022/lib/components/pdfModal/pdf-modal.service.mjs +13 -13
  34. package/esm2022/lib/components/persona-fisica/services/personaFisica.service.mjs +9 -9
  35. package/esm2022/lib/components/proveedor/select/select-proveedor.component.mjs +68 -0
  36. package/esm2022/lib/components/proveedor/services/proveedor.service.mjs +9 -9
  37. package/esm2022/lib/components/proveedor/services/proveedorCuentaBanco.service.mjs +9 -9
  38. package/esm2022/lib/components/proveedor/services/proveedorFlete.service.mjs +9 -9
  39. package/esm2022/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +13 -102
  40. package/esm2022/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.mjs +9 -9
  41. package/esm2022/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +19 -377
  42. package/esm2022/lib/components/selecciona-articulo/stock.service.mjs +9 -9
  43. package/esm2022/lib/components/serieDocumento/services/serieDocumento.service.mjs +9 -9
  44. package/esm2022/lib/components/tipo-contacto/services/tipoContacto.service.mjs +9 -9
  45. package/esm2022/lib/components/ubicacion/services/ubicacion.service.mjs +9 -9
  46. package/esm2022/lib/contabilidad/componentes/cclista/cclista.component.mjs +13 -93
  47. package/esm2022/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.mjs +16 -40
  48. package/esm2022/lib/contabilidad/servicios/cuentacontable.service.mjs +9 -9
  49. package/esm2022/lib/httpInterceptor/httpInterceptor.mjs +6 -6
  50. package/esm2022/lib/importComponents.mjs +8 -2
  51. package/esm2022/lib/services/auth.service.mjs +13 -13
  52. package/esm2022/lib/services/authenticated.service.mjs +9 -9
  53. package/esm2022/lib/services/canActivateGuard.service.ts.mjs +9 -9
  54. package/esm2022/lib/services/catalogo-adicional.service.mjs +9 -9
  55. package/esm2022/lib/services/controlAcceso.service.mjs +13 -13
  56. package/esm2022/lib/services/file.service.mjs +9 -9
  57. package/esm2022/lib/services/init.service.mjs +9 -9
  58. package/esm2022/lib/services/message.service.mjs +9 -9
  59. package/esm2022/lib/services/paginate.service.mjs +9 -9
  60. package/esm2022/lib/services/personaMoral.service.mjs +9 -9
  61. package/esm2022/lib/services/versionCheck.service.mjs +9 -9
  62. package/esm2022/public_api.mjs +6 -1
  63. package/fesm2022/visorus-erp-core.mjs +851 -1410
  64. package/fesm2022/visorus-erp-core.mjs.map +1 -1
  65. package/lib/app.module.d.ts +42 -39
  66. package/lib/components/acreedor/select/select-acreedor.component.d.ts +26 -0
  67. package/lib/components/acreedor/services/acreedor.service.d.ts +9 -0
  68. package/lib/components/acreedor/services/acreedorCuentaContable.d.ts +10 -0
  69. package/lib/components/cliente/select/select-cliente.component.d.ts +27 -0
  70. package/lib/components/proveedor/select/select-proveedor.component.d.ts +26 -0
  71. package/lib/globalPrimeNg.d.ts +2 -2
  72. package/lib/importComponents.d.ts +5 -2
  73. package/package.json +8 -11
  74. package/public_api.d.ts +5 -0
@@ -1,82 +1,82 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, EventEmitter, Component, Output, Input, ViewChild, NgModule } from '@angular/core';
2
+ import { Injectable, EventEmitter, Output, Input, Component, ViewChild, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common/http';
4
4
  import { HttpHeaders, HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
5
5
  import * as i4 from '@angular/common';
6
6
  import { CommonModule } from '@angular/common';
7
7
  import * as i3 from 'primeng/api';
8
8
  import { ConfirmationService } from 'primeng/api';
9
- import * as i16 from 'primeng/treetable';
9
+ import * as i19 from 'primeng/treetable';
10
10
  import { TreeTableModule } from 'primeng/treetable';
11
- import * as i18 from 'primeng/button';
11
+ import * as i21 from 'primeng/button';
12
12
  import { ButtonModule } from 'primeng/button';
13
- import * as i19 from 'primeng/inputtext';
13
+ import * as i22 from 'primeng/inputtext';
14
14
  import { InputTextModule } from 'primeng/inputtext';
15
- import * as i4$1 from '@angular/forms';
15
+ import * as i10 from '@angular/forms';
16
16
  import { FormsModule } from '@angular/forms';
17
- import * as i30 from 'primeng/dialog';
17
+ import * as i33 from 'primeng/dialog';
18
18
  import { DialogModule } from 'primeng/dialog';
19
19
  import { Subject, throwError, of } from 'rxjs';
20
20
  import { catchError, tap, debounceTime } from 'rxjs/operators';
21
21
  import * as i1$1 from 'ngx-toastr';
22
22
  import { ToastrModule } from 'ngx-toastr';
23
- import * as i2 from '@ngx-translate/core';
23
+ import * as i3$1 from '@ngx-translate/core';
24
24
  import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
25
- import * as i3$1 from '@angular/platform-browser';
26
- import * as i15 from 'primeng/table';
25
+ import * as i3$2 from '@angular/platform-browser';
26
+ import * as i18 from 'primeng/table';
27
27
  import { TableModule } from 'primeng/table';
28
- import * as i24 from 'primeng/paginator';
28
+ import * as i27 from 'primeng/paginator';
29
29
  import { PaginatorModule } from 'primeng/paginator';
30
- import * as i20 from 'primeng/dropdown';
30
+ import * as i23 from 'primeng/dropdown';
31
31
  import { DropdownModule } from 'primeng/dropdown';
32
- import * as i21 from 'primeng/inputmask';
32
+ import * as i24 from 'primeng/inputmask';
33
33
  import { InputMaskModule } from 'primeng/inputmask';
34
- import * as i22 from 'primeng/messages';
34
+ import * as i25 from 'primeng/messages';
35
35
  import { MessagesModule } from 'primeng/messages';
36
- import * as i23 from 'primeng/message';
36
+ import * as i26 from 'primeng/message';
37
37
  import { MessageModule } from 'primeng/message';
38
- import * as i25 from 'primeng/confirmdialog';
38
+ import * as i28 from 'primeng/confirmdialog';
39
39
  import { ConfirmDialogModule } from 'primeng/confirmdialog';
40
- import * as i26 from 'primeng/progressbar';
40
+ import * as i29 from 'primeng/progressbar';
41
41
  import { ProgressBarModule } from 'primeng/progressbar';
42
- import * as i27 from 'primeng/tristatecheckbox';
42
+ import * as i30 from 'primeng/tristatecheckbox';
43
43
  import { TriStateCheckboxModule } from 'primeng/tristatecheckbox';
44
- import * as i28 from 'primeng/keyfilter';
44
+ import * as i31 from 'primeng/keyfilter';
45
45
  import { KeyFilterModule } from 'primeng/keyfilter';
46
- import * as i29 from 'primeng/inputswitch';
46
+ import * as i32 from 'primeng/inputswitch';
47
47
  import { InputSwitchModule } from 'primeng/inputswitch';
48
- import * as i31 from 'primeng/tabview';
48
+ import * as i34 from 'primeng/tabview';
49
49
  import { TabViewModule } from 'primeng/tabview';
50
- import * as i17 from 'primeng/calendar';
50
+ import * as i20 from 'primeng/calendar';
51
51
  import { CalendarModule } from 'primeng/calendar';
52
- import * as i32 from 'primeng/panel';
52
+ import * as i35 from 'primeng/panel';
53
53
  import { PanelModule } from 'primeng/panel';
54
- import * as i14 from 'primeng/autocomplete';
54
+ import * as i17 from 'primeng/autocomplete';
55
55
  import { AutoCompleteModule } from 'primeng/autocomplete';
56
- import * as i35 from 'primeng/fieldset';
56
+ import * as i38 from 'primeng/fieldset';
57
57
  import { FieldsetModule } from 'primeng/fieldset';
58
- import * as i13 from 'primeng/checkbox';
58
+ import * as i16 from 'primeng/checkbox';
59
59
  import { CheckboxModule } from 'primeng/checkbox';
60
- import * as i36 from 'primeng/tree';
60
+ import * as i39 from 'primeng/tree';
61
61
  import { TreeModule } from 'primeng/tree';
62
- import * as i12 from 'primeng/radiobutton';
62
+ import * as i15 from 'primeng/radiobutton';
63
63
  import { RadioButtonModule } from 'primeng/radiobutton';
64
- import * as i37 from 'primeng/tabmenu';
64
+ import * as i40 from 'primeng/tabmenu';
65
65
  import { TabMenuModule } from 'primeng/tabmenu';
66
- import * as i11 from 'primeng/overlaypanel';
66
+ import * as i14 from 'primeng/overlaypanel';
67
67
  import { OverlayPanelModule } from 'primeng/overlaypanel';
68
- import * as i10 from 'primeng/tooltip';
68
+ import * as i13 from 'primeng/tooltip';
69
69
  import { TooltipModule } from 'primeng/tooltip';
70
- import * as i9 from 'primeng/card';
70
+ import * as i12 from 'primeng/card';
71
71
  import { CardModule } from 'primeng/card';
72
- import * as i38 from 'primeng/menubar';
72
+ import * as i41 from 'primeng/menubar';
73
73
  import { MenubarModule } from 'primeng/menubar';
74
- import * as i34 from 'primeng/splitbutton';
74
+ import * as i37 from 'primeng/splitbutton';
75
75
  import { SplitButtonModule } from 'primeng/splitbutton';
76
- import * as i33 from 'primeng/toolbar';
76
+ import * as i36 from 'primeng/toolbar';
77
77
  import { ToolbarModule } from 'primeng/toolbar';
78
78
  import { TranslateHttpLoader } from '@ngx-translate/http-loader';
79
- import * as i3$2 from '@angular/router';
79
+ import * as i3$3 from '@angular/router';
80
80
 
81
81
  class GlobalService {
82
82
  constructor(http) {
@@ -184,82 +184,16 @@ class CuentaContableService extends CrudService {
184
184
  obtieneCuentasContablesRecursivo() {
185
185
  return this.httpClient.get(this.getUrl('cuentaContable') + '/obtieneCuentasContablesRecursivo', this.buildAuth());
186
186
  }
187
- /** @nocollapse */ static { this.ɵfac = function CuentaContableService_Factory(t) { return new (t || CuentaContableService)(i0.ɵɵinject(i1.HttpClient)); }; }
188
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CuentaContableService, factory: CuentaContableService.ɵfac, providedIn: 'root' }); }
189
- }
190
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CuentaContableService, [{
191
- type: Injectable,
192
- args: [{
193
- providedIn: 'root'
194
- }]
195
- }], () => [{ type: i1.HttpClient }], null); })();
196
-
197
- const _c0$6 = () => ({ width: "100%" });
198
- function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
199
- i0.ɵɵelementStart(0, "tr")(1, "th", 5);
200
- i0.ɵɵtext(2, "Cuenta contable");
201
- i0.ɵɵelementEnd();
202
- i0.ɵɵelementStart(3, "th", 5);
203
- i0.ɵɵtext(4, "Descripci\u00F3n");
204
- i0.ɵɵelementEnd();
205
- i0.ɵɵelementStart(5, "th", 6);
206
- i0.ɵɵtext(6, "Naturaleza");
207
- i0.ɵɵelementEnd();
208
- i0.ɵɵelementStart(7, "th", 7);
209
- i0.ɵɵtext(8, "Tipo");
210
- i0.ɵɵelementEnd();
211
- i0.ɵɵelementStart(9, "th", 8);
212
- i0.ɵɵtext(10, "Acciones");
213
- i0.ɵɵelementEnd()();
214
- } }
215
- function CclistaComponent_ng_template_4_button_12_Template(rf, ctx) { if (rf & 1) {
216
- const _r1 = i0.ɵɵgetCurrentView();
217
- i0.ɵɵelementStart(0, "button", 16);
218
- i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
219
- i0.ɵɵelementEnd();
220
- } }
221
- function CclistaComponent_ng_template_4_button_13_Template(rf, ctx) { if (rf & 1) {
222
- const _r4 = i0.ɵɵgetCurrentView();
223
- i0.ɵɵelementStart(0, "button", 16);
224
- i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_button_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
225
- i0.ɵɵelementEnd();
226
- } }
227
- function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
228
- i0.ɵɵelementStart(0, "tr")(1, "td", 9);
229
- i0.ɵɵelement(2, "p-treeTableToggler", 10);
230
- i0.ɵɵtext(3);
231
- i0.ɵɵelementEnd();
232
- i0.ɵɵelementStart(4, "td", 9);
233
- i0.ɵɵtext(5);
234
- i0.ɵɵelementEnd();
235
- i0.ɵɵelementStart(6, "td", 11);
236
- i0.ɵɵtext(7);
237
- i0.ɵɵelementEnd();
238
- i0.ɵɵelementStart(8, "td", 12);
239
- i0.ɵɵtext(9);
240
- i0.ɵɵelementEnd();
241
- i0.ɵɵelementStart(10, "td", 13)(11, "div", 14);
242
- i0.ɵɵtemplate(12, CclistaComponent_ng_template_4_button_12_Template, 1, 0, "button", 15)(13, CclistaComponent_ng_template_4_button_13_Template, 1, 0, "button", 15);
243
- i0.ɵɵelementEnd()()();
244
- } if (rf & 2) {
245
- const rowNode_r5 = ctx.$implicit;
246
- const rowData_r2 = ctx.rowData;
247
- const ctx_r2 = i0.ɵɵnextContext();
248
- i0.ɵɵadvance(2);
249
- i0.ɵɵproperty("rowNode", rowNode_r5);
250
- i0.ɵɵadvance();
251
- i0.ɵɵtextInterpolate1(" ", rowData_r2.cuentaContable, " ");
252
- i0.ɵɵadvance(2);
253
- i0.ɵɵtextInterpolate1(" ", rowData_r2.descripcion, " ");
254
- i0.ɵɵadvance(2);
255
- i0.ɵɵtextInterpolate1(" ", rowData_r2.naturaleza, " ");
256
- i0.ɵɵadvance(2);
257
- i0.ɵɵtextInterpolate1(" ", rowData_r2.tipo, " ");
258
- i0.ɵɵadvance(3);
259
- i0.ɵɵproperty("ngIf", ctx_r2.typeAccount == 1 && rowData_r2.cuentaRegistro);
260
- i0.ɵɵadvance();
261
- i0.ɵɵproperty("ngIf", ctx_r2.typeAccount == 2 && !rowData_r2.cuentaRegistro);
262
- } }
187
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CuentaContableService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
188
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CuentaContableService, providedIn: 'root' }); }
189
+ }
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CuentaContableService, decorators: [{
191
+ type: Injectable,
192
+ args: [{
193
+ providedIn: 'root'
194
+ }]
195
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
196
+
263
197
  class CclistaComponent {
264
198
  constructor(_cuentaContableService) {
265
199
  this._cuentaContableService = _cuentaContableService;
@@ -418,37 +352,20 @@ class CclistaComponent {
418
352
  return listAccounts;
419
353
  }
420
354
  }
421
- /** @nocollapse */ static { this.ɵfac = function CclistaComponent_Factory(t) { return new (t || CclistaComponent)(i0.ɵɵdirectiveInject(CuentaContableService)); }; }
422
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CclistaComponent, selectors: [["lib-cclista"]], inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 5, vars: 8, consts: [["type", "text", "pInputText", "", "placeholder", "Cuenta o descripci\u00F3n", 2, "width", "100%", 3, "ngModelChange", "keyup", "ngModel"], [2, "padding", "10px"], [3, "value", "scrollable", "scrollHeight", "resizableColumns"], ["pTemplate", "header"], ["pTemplate", "body", 2, "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) {
423
- i0.ɵɵelementStart(0, "input", 0);
424
- i0.ɵɵtwoWayListener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.query, $event) || (ctx.query = $event); return $event; });
425
- i0.ɵɵlistener("keyup", function CclistaComponent_Template_input_keyup_0_listener($event) { return ctx.filterAccounts($event); });
426
- i0.ɵɵelementEnd();
427
- i0.ɵɵelementStart(1, "div", 1)(2, "p-treeTable", 2);
428
- i0.ɵɵtemplate(3, CclistaComponent_ng_template_3_Template, 11, 0, "ng-template", 3)(4, CclistaComponent_ng_template_4_Template, 14, 7, "ng-template", 4);
429
- i0.ɵɵelementEnd()();
430
- } if (rf & 2) {
431
- i0.ɵɵtwoWayProperty("ngModel", ctx.query);
432
- i0.ɵɵadvance(2);
433
- i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0$6));
434
- i0.ɵɵproperty("value", ctx.cuentasContables ? ctx.cuentasContables : ctx.tempAccounts)("scrollable", true)("scrollHeight", ctx.maxH + "px")("resizableColumns", true);
435
- } }, dependencies: [i4.NgIf, i3.PrimeTemplate, i16.TreeTable, i16.TreeTableToggler, i18.ButtonDirective, i19.InputText, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgModel] }); }
436
- }
437
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CclistaComponent, [{
438
- type: Component,
439
- args: [{ selector: 'lib-cclista', template: "<input type=\"text\" style=\"width: 100%;\" pInputText placeholder=\"Cuenta o descripci\u00F3n\" [(ngModel)]=\"query\" (keyup)=\"filterAccounts($event)\">\n\n<div style=\"padding: 10px;\">\n <p-treeTable [value]=\"cuentasContables?cuentasContables:tempAccounts\" [scrollable]=\"true\" [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" [resizableColumns]=\"true\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 150px;\">Cuenta contable</th>\n <th style=\"width: 150px;\">Descripci\u00F3n</th>\n <th style=\"width: 90px;\">Naturaleza</th>\n <th style=\"width: 60px;\">Tipo</th>\n <th style=\"width: 200px;\">Acciones</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" style=\"width: 100%;\">\n <tr>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n <p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n {{rowData.cuentaContable}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n {{rowData.descripcion}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 90px;\">\n {{rowData.naturaleza}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 60px;\">\n {{rowData.tipo}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 200px;\">\n <div class=\"button-row\">\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==1 && rowData.cuentaRegistro\"></button>\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==2 && !rowData.cuentaRegistro\"></button>\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
440
- }], () => [{ type: CuentaContableService }], { isShared: [{
441
- type: Input
442
- }], typeAccount: [{
443
- type: Input
444
- }], evSelectedAccount: [{
445
- type: Output
446
- }] }); })();
447
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CclistaComponent, { className: "CclistaComponent" }); })();
448
-
449
- const _c0$5 = ["dialog"];
450
- const _c1$4 = a0 => ({ "width": a0, "min-width": "200px" });
451
- const _c2 = a0 => ({ "height": a0 });
355
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CclistaComponent, deps: [{ token: CuentaContableService }], target: i0.ɵɵFactoryTarget.Component }); }
356
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CclistaComponent, selector: "lib-cclista", inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, ngImport: i0, template: "<input type=\"text\" style=\"width: 100%;\" pInputText placeholder=\"Cuenta o descripci\u00F3n\" [(ngModel)]=\"query\" (keyup)=\"filterAccounts($event)\">\n\n<div style=\"padding: 10px;\">\n <p-treeTable [value]=\"cuentasContables?cuentasContables:tempAccounts\" [scrollable]=\"true\" [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" [resizableColumns]=\"true\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 150px;\">Cuenta contable</th>\n <th style=\"width: 150px;\">Descripci\u00F3n</th>\n <th style=\"width: 90px;\">Naturaleza</th>\n <th style=\"width: 60px;\">Tipo</th>\n <th style=\"width: 200px;\">Acciones</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" style=\"width: 100%;\">\n <tr>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n <p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n {{rowData.cuentaContable}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n {{rowData.descripcion}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 90px;\">\n {{rowData.naturaleza}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 60px;\">\n {{rowData.tipo}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 200px;\">\n <div class=\"button-row\">\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==1 && rowData.cuentaRegistro\"></button>\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==2 && !rowData.cuentaRegistro\"></button>\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i19.TreeTable, selector: "p-treeTable", inputs: ["columns", "style", "styleClass", "tableStyle", "tableStyleClass", "autoLayout", "lazy", "lazyLoadOnInit", "paginator", "rows", "first", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "customSort", "selectionMode", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "compareSelectionBy", "rowHover", "loading", "loadingIcon", "showLoader", "scrollable", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "frozenColumns", "resizableColumns", "columnResizeMode", "reorderableColumns", "contextMenu", "rowTrackBy", "filters", "globalFilterFields", "filterDelay", "filterMode", "filterLocale", "paginatorLocale", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "value", "virtualRowHeight"], outputs: ["selectionChange", "contextMenuSelectionChange", "onFilter", "onNodeExpand", "onNodeCollapse", "onPage", "onSort", "onLazyLoad", "sortFunction", "onColResize", "onColReorder", "onNodeSelect", "onNodeUnselect", "onContextMenuSelect", "onHeaderCheckboxToggle", "onEditInit", "onEditComplete", "onEditCancel"] }, { kind: "component", type: i19.TreeTableToggler, selector: "p-treeTableToggler", inputs: ["rowNode"] }, { kind: "directive", type: i21.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i22.InputText, selector: "[pInputText]" }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
357
+ }
358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CclistaComponent, decorators: [{
359
+ type: Component,
360
+ args: [{ selector: 'lib-cclista', standalone: false, template: "<input type=\"text\" style=\"width: 100%;\" pInputText placeholder=\"Cuenta o descripci\u00F3n\" [(ngModel)]=\"query\" (keyup)=\"filterAccounts($event)\">\n\n<div style=\"padding: 10px;\">\n <p-treeTable [value]=\"cuentasContables?cuentasContables:tempAccounts\" [scrollable]=\"true\" [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" [resizableColumns]=\"true\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 150px;\">Cuenta contable</th>\n <th style=\"width: 150px;\">Descripci\u00F3n</th>\n <th style=\"width: 90px;\">Naturaleza</th>\n <th style=\"width: 60px;\">Tipo</th>\n <th style=\"width: 200px;\">Acciones</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" style=\"width: 100%;\">\n <tr>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n <p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n {{rowData.cuentaContable}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n {{rowData.descripcion}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 90px;\">\n {{rowData.naturaleza}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 60px;\">\n {{rowData.tipo}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 200px;\">\n <div class=\"button-row\">\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==1 && rowData.cuentaRegistro\"></button>\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\" *ngIf=\"typeAccount==2 && !rowData.cuentaRegistro\"></button>\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
361
+ }], ctorParameters: () => [{ type: CuentaContableService }], propDecorators: { isShared: [{
362
+ type: Input
363
+ }], typeAccount: [{
364
+ type: Input
365
+ }], evSelectedAccount: [{
366
+ type: Output
367
+ }] } });
368
+
452
369
  class CcseleccionDialogComponent {
453
370
  constructor() {
454
371
  this.cuentasContables = [];
@@ -469,43 +386,22 @@ class CcseleccionDialogComponent {
469
386
  hiddenDialog(evt) {
470
387
  this.evSelectedAccount.emit(null);
471
388
  }
472
- /** @nocollapse */ static { this.ɵfac = function CcseleccionDialogComponent_Factory(t) { return new (t || CcseleccionDialogComponent)(); }; }
473
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CcseleccionDialogComponent, selectors: [["lib-ccseleccion-dialog"]], viewQuery: function CcseleccionDialogComponent_Query(rf, ctx) { if (rf & 1) {
474
- i0.ɵɵviewQuery(_c0$5, 7);
475
- } if (rf & 2) {
476
- let _t;
477
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dialog = _t.first);
478
- } }, inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, decls: 3, vars: 17, consts: [["header", "Selecciona cuenta contable", 3, "visibleChange", "onHide", "visible", "modal", "minY", "baseZIndex", "blockScroll", "draggable", "maximizable"], [1, "padding10", 3, "ngStyle"], [3, "evSelectedAccount", "isShared", "typeAccount"]], template: function CcseleccionDialogComponent_Template(rf, ctx) { if (rf & 1) {
479
- i0.ɵɵelementStart(0, "p-dialog", 0);
480
- i0.ɵɵtwoWayListener("visibleChange", function CcseleccionDialogComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.displayShowCuentas, $event) || (ctx.displayShowCuentas = $event); return $event; });
481
- i0.ɵɵlistener("onHide", function CcseleccionDialogComponent_Template_p_dialog_onHide_0_listener($event) { return ctx.hiddenDialog($event); });
482
- i0.ɵɵelementStart(1, "div", 1)(2, "lib-cclista", 2);
483
- i0.ɵɵlistener("evSelectedAccount", function CcseleccionDialogComponent_Template_lib_cclista_evSelectedAccount_2_listener($event) { return ctx.getAccount($event); });
484
- i0.ɵɵelementEnd()()();
485
- } if (rf & 2) {
486
- i0.ɵɵstyleMap(i0.ɵɵpureFunction1(13, _c1$4, ctx.size + "px"));
487
- i0.ɵɵtwoWayProperty("visible", ctx.displayShowCuentas);
488
- i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("draggable", false)("blockScroll", true)("maximizable", true);
489
- i0.ɵɵadvance();
490
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
491
- i0.ɵɵadvance();
492
- i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
493
- } }, dependencies: [i4.NgStyle, i30.Dialog, CclistaComponent] }); }
494
- }
495
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcseleccionDialogComponent, [{
496
- type: Component,
497
- args: [{ selector: 'lib-ccseleccion-dialog', template: "<p-dialog header=\"Selecciona cuenta contable\" [(visible)]=\"displayShowCuentas\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog($event)\" [blockScroll]=\"true\" [draggable]=\"false\" [blockScroll]=\"true\"\n [maximizable]=\"true\">\n <div class=\"padding10\" [ngStyle]=\"{'height': maxH+200+'px'}\">\n <lib-cclista [isShared]=\"true\" [typeAccount]=\"tipoCuenta\" (evSelectedAccount)=\"getAccount($event)\"></lib-cclista>\n </div>\n</p-dialog>" }]
498
- }], () => [], { dialog: [{
499
- type: ViewChild,
500
- args: ["dialog", { static: true }]
501
- }], tipoCuenta: [{
502
- type: Input
503
- }], displayShowCuentas: [{
504
- type: Input
505
- }], evSelectedAccount: [{
506
- type: Output
507
- }] }); })();
508
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CcseleccionDialogComponent, { className: "CcseleccionDialogComponent" }); })();
389
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CcseleccionDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
390
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CcseleccionDialogComponent, selector: "lib-ccseleccion-dialog", inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }], ngImport: i0, template: "<p-dialog header=\"Selecciona cuenta contable\" [(visible)]=\"displayShowCuentas\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog($event)\" [blockScroll]=\"true\" [draggable]=\"false\" [blockScroll]=\"true\"\n [maximizable]=\"true\">\n <div class=\"padding10\" [ngStyle]=\"{'height': maxH+200+'px'}\">\n <lib-cclista [isShared]=\"true\" [typeAccount]=\"tipoCuenta\" (evSelectedAccount)=\"getAccount($event)\"></lib-cclista>\n </div>\n</p-dialog>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i33.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "component", type: CclistaComponent, selector: "lib-cclista", inputs: ["isShared", "typeAccount"], outputs: ["evSelectedAccount"] }] }); }
391
+ }
392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CcseleccionDialogComponent, decorators: [{
393
+ type: Component,
394
+ args: [{ selector: 'lib-ccseleccion-dialog', standalone: false, template: "<p-dialog header=\"Selecciona cuenta contable\" [(visible)]=\"displayShowCuentas\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog($event)\" [blockScroll]=\"true\" [draggable]=\"false\" [blockScroll]=\"true\"\n [maximizable]=\"true\">\n <div class=\"padding10\" [ngStyle]=\"{'height': maxH+200+'px'}\">\n <lib-cclista [isShared]=\"true\" [typeAccount]=\"tipoCuenta\" (evSelectedAccount)=\"getAccount($event)\"></lib-cclista>\n </div>\n</p-dialog>" }]
395
+ }], ctorParameters: () => [], propDecorators: { dialog: [{
396
+ type: ViewChild,
397
+ args: ["dialog", { static: true }]
398
+ }], tipoCuenta: [{
399
+ type: Input
400
+ }], displayShowCuentas: [{
401
+ type: Input
402
+ }], evSelectedAccount: [{
403
+ type: Output
404
+ }] } });
509
405
 
510
406
  const contaComponents = [
511
407
  CclistaComponent,
@@ -519,17 +415,17 @@ class LoginModalService {
519
415
  showModal() {
520
416
  this.modal.emit(true);
521
417
  }
522
- /** @nocollapse */ static { this.ɵfac = function LoginModalService_Factory(t) { return new (t || LoginModalService)(); }; }
523
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoginModalService, factory: LoginModalService.ɵfac, providedIn: 'root' }); }
418
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
419
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalService, providedIn: 'root' }); }
524
420
  }
525
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalService, [{
526
- type: Injectable,
527
- args: [{
528
- providedIn: 'root'
529
- }]
530
- }], null, { modal: [{
531
- type: Output
532
- }] }); })();
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalService, decorators: [{
422
+ type: Injectable,
423
+ args: [{
424
+ providedIn: 'root'
425
+ }]
426
+ }], propDecorators: { modal: [{
427
+ type: Output
428
+ }] } });
533
429
 
534
430
  class LoadingScreenService {
535
431
  constructor() {
@@ -549,15 +445,15 @@ class LoadingScreenService {
549
445
  stopLoading() {
550
446
  this.loading = false;
551
447
  }
552
- /** @nocollapse */ static { this.ɵfac = function LoadingScreenService_Factory(t) { return new (t || LoadingScreenService)(); }; }
553
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingScreenService, factory: LoadingScreenService.ɵfac, providedIn: 'root' }); }
448
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
449
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenService, providedIn: 'root' }); }
554
450
  }
555
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenService, [{
556
- type: Injectable,
557
- args: [{
558
- providedIn: 'root'
559
- }]
560
- }], null, null); })();
451
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenService, decorators: [{
452
+ type: Injectable,
453
+ args: [{
454
+ providedIn: 'root'
455
+ }]
456
+ }] });
561
457
 
562
458
  class httpInterceptor {
563
459
  constructor(loginModalService, toastrService, loadingScreenService) {
@@ -632,32 +528,24 @@ class httpInterceptor {
632
528
  }
633
529
  }
634
530
  }
635
- /** @nocollapse */ static { this.ɵfac = function httpInterceptor_Factory(t) { return new (t || httpInterceptor)(i0.ɵɵinject(LoginModalService), i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(LoadingScreenService)); }; }
636
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: httpInterceptor, factory: httpInterceptor.ɵfac }); }
531
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: httpInterceptor, deps: [{ token: LoginModalService }, { token: i1$1.ToastrService }, { token: LoadingScreenService }], target: i0.ɵɵFactoryTarget.Injectable }); }
532
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: httpInterceptor }); }
637
533
  }
638
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(httpInterceptor, [{
639
- type: Injectable
640
- }], () => [{ type: LoginModalService }, { type: i1$1.ToastrService }, { type: LoadingScreenService }], null); })();
534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: httpInterceptor, decorators: [{
535
+ type: Injectable
536
+ }], ctorParameters: () => [{ type: LoginModalService }, { type: i1$1.ToastrService }, { type: LoadingScreenService }] });
641
537
 
642
538
  class Error404Component {
643
539
  constructor() { }
644
540
  ngOnInit() {
645
541
  }
646
- /** @nocollapse */ static { this.ɵfac = function Error404Component_Factory(t) { return new (t || Error404Component)(); }; }
647
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: Error404Component, selectors: [["app-error404"]], decls: 9, vars: 0, consts: [[1, "col-md-12", "sec_sof"], [1, "row"], [1, "col", "col-center"], [1, "center"], [1, "error"], [1, "col-12"]], template: function Error404Component_Template(rf, ctx) { if (rf & 1) {
648
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
649
- i0.ɵɵtext(5, " Error 404 ");
650
- i0.ɵɵelementEnd();
651
- i0.ɵɵelementStart(6, "div", 5)(7, "p");
652
- i0.ɵɵtext(8, "La pagina solicitada no fue encontrada");
653
- i0.ɵɵelementEnd()()()()()();
654
- } }, styles: [".error[_ngcontent-%COMP%]{font-size:70px}"] }); }
655
- }
656
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Error404Component, [{
657
- type: Component,
658
- args: [{ selector: 'app-error404', template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }]
659
- }], () => [], null); })();
660
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Error404Component, { className: "Error404Component" }); })();
542
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Error404Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
543
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: Error404Component, selector: "app-error404", ngImport: i0, template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }); }
544
+ }
545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Error404Component, decorators: [{
546
+ type: Component,
547
+ args: [{ selector: 'app-error404', standalone: false, template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }]
548
+ }], ctorParameters: () => [] });
661
549
 
662
550
  class LoadingService {
663
551
  constructor() {
@@ -675,17 +563,17 @@ class LoadingService {
675
563
  stop() {
676
564
  this.loading.emit(false);
677
565
  }
678
- /** @nocollapse */ static { this.ɵfac = function LoadingService_Factory(t) { return new (t || LoadingService)(); }; }
679
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: 'root' }); }
566
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
567
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingService, providedIn: 'root' }); }
680
568
  }
681
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
682
- type: Injectable,
683
- args: [{
684
- providedIn: 'root'
685
- }]
686
- }], null, { loading: [{
687
- type: Output
688
- }] }); })();
569
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingService, decorators: [{
570
+ type: Injectable,
571
+ args: [{
572
+ providedIn: 'root'
573
+ }]
574
+ }], propDecorators: { loading: [{
575
+ type: Output
576
+ }] } });
689
577
 
690
578
  class LoadingComponent {
691
579
  constructor(loadingService) {
@@ -705,31 +593,15 @@ class LoadingComponent {
705
593
  }
706
594
  });
707
595
  }
708
- /** @nocollapse */ static { this.ɵfac = function LoadingComponent_Factory(t) { return new (t || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); }; }
709
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["loading"]], inputs: { logo_loading: "logo_loading" }, decls: 14, vars: 4, consts: [["id", "modal_loading", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalScrollableTitle", "data-backdrop", "static", "data-keyboard", "false", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-scrollable"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], [1, "col-lg-4", "col-md-4", "col-sm-10"], [1, "loader"], [1, "box"], [1, "code"], ["width", "200px", 3, "src"], [1, "txt"]], template: function LoadingComponent_Template(rf, ctx) { if (rf & 1) {
710
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6);
711
- i0.ɵɵelement(7, "span", 7)(8, "span", 7);
712
- i0.ɵɵelementStart(9, "div", 8);
713
- i0.ɵɵelement(10, "img", 9);
714
- i0.ɵɵelementEnd();
715
- i0.ɵɵelementStart(11, "span", 10);
716
- i0.ɵɵtext(12);
717
- i0.ɵɵpipe(13, "translate");
718
- i0.ɵɵelementEnd()()()()()()()();
719
- } if (rf & 2) {
720
- i0.ɵɵadvance(10);
721
- i0.ɵɵpropertyInterpolate("src", ctx.logo_loading, i0.ɵɵsanitizeUrl);
722
- i0.ɵɵadvance(2);
723
- i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 2, "cargando"), "...");
724
- } }, dependencies: [i2.TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:_ngcontent-%COMP%_spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:_ngcontent-%COMP%_a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:_ngcontent-%COMP%_b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:_ngcontent-%COMP%_c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:_ngcontent-%COMP%_d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes _ngcontent-%COMP%_a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes _ngcontent-%COMP%_b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes _ngcontent-%COMP%_c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes _ngcontent-%COMP%_d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes _ngcontent-%COMP%_spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal[_ngcontent-%COMP%]{z-index:2050!important}.modal-content[_ngcontent-%COMP%]{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body[_ngcontent-%COMP%]{margin-left:-7%!important}"] }); }
725
- }
726
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
727
- type: Component,
728
- args: [{ selector: 'loading', template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
729
- }], () => [{ type: LoadingService }], { logo_loading: [{
730
- type: Input
731
- }] }); })();
732
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent" }); })();
596
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingComponent, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Component }); }
597
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LoadingComponent, selector: "loading", inputs: { logo_loading: "logo_loading" }, ngImport: i0, template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"], dependencies: [{ kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] }); }
598
+ }
599
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingComponent, decorators: [{
600
+ type: Component,
601
+ args: [{ selector: 'loading', standalone: false, template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
602
+ }], ctorParameters: () => [{ type: LoadingService }], propDecorators: { logo_loading: [{
603
+ type: Input
604
+ }] } });
733
605
 
734
606
  class LoadingScreenComponent {
735
607
  constructor(loadingScreenService, _elmRef, _changeDetectorRef, loadingService) {
@@ -754,20 +626,15 @@ class LoadingScreenComponent {
754
626
  ngOnDestroy() {
755
627
  this.loadingSubscription.unsubscribe();
756
628
  }
757
- /** @nocollapse */ static { this.ɵfac = function LoadingScreenComponent_Factory(t) { return new (t || LoadingScreenComponent)(i0.ɵɵdirectiveInject(LoadingScreenService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(LoadingService)); }; }
758
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingScreenComponent, selectors: [["app-loading-screen"]], inputs: { logo_loading: "logo_loading" }, decls: 10, vars: 0, consts: [[1, "loading-screen-wrapper"], [1, "loading-screen-icon"], [1, "blobs"], [1, "blob-center"], [1, "blob"]], template: function LoadingScreenComponent_Template(rf, ctx) { if (rf & 1) {
759
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
760
- i0.ɵɵelement(3, "div", 3)(4, "div", 4)(5, "div", 4)(6, "div", 4)(7, "div", 4)(8, "div", 4)(9, "div", 4);
761
- i0.ɵɵelementEnd()()();
762
- } }, styles: [".loading-screen-wrapper[_ngcontent-%COMP%]{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg[_ngcontent-%COMP%]{display:none}.blobs[_ngcontent-%COMP%]{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs[_ngcontent-%COMP%] .blob-center[_ngcontent-%COMP%]{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:_ngcontent-%COMP%_blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob[_ngcontent-%COMP%]{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:_ngcontent-%COMP%_blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob[_ngcontent-%COMP%]:nth-child(1){animation-delay:.2s}.blob[_ngcontent-%COMP%]:nth-child(2){animation-delay:.4s}.blob[_ngcontent-%COMP%]:nth-child(3){animation-delay:.6s}.blob[_ngcontent-%COMP%]:nth-child(4){animation-delay:.8s}.blob[_ngcontent-%COMP%]:nth-child(5){animation-delay:1s}@keyframes _ngcontent-%COMP%_blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes _ngcontent-%COMP%_blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}"] }); }
763
- }
764
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenComponent, [{
765
- type: Component,
766
- args: [{ selector: 'app-loading-screen', template: "<div class=\"loading-screen-wrapper\">\n <div class=\"loading-screen-icon\">\n <div class=\"blobs\">\n <div class=\"blob-center\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n </div> \n </div>\n</div>\n", styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs .blob-center{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob:nth-child(1){animation-delay:.2s}.blob:nth-child(2){animation-delay:.4s}.blob:nth-child(3){animation-delay:.6s}.blob:nth-child(4){animation-delay:.8s}.blob:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}\n"] }]
767
- }], () => [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }], { logo_loading: [{
768
- type: Input
769
- }] }); })();
770
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingScreenComponent, { className: "LoadingScreenComponent" }); })();
629
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenComponent, deps: [{ token: LoadingScreenService }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: LoadingService }], target: i0.ɵɵFactoryTarget.Component }); }
630
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LoadingScreenComponent, selector: "app-loading-screen", inputs: { logo_loading: "logo_loading" }, ngImport: i0, template: "<div class=\"loading-screen-wrapper\">\n <div class=\"loading-screen-icon\">\n <div class=\"blobs\">\n <div class=\"blob-center\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n </div> \n </div>\n</div>\n", styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs .blob-center{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob:nth-child(1){animation-delay:.2s}.blob:nth-child(2){animation-delay:.4s}.blob:nth-child(3){animation-delay:.6s}.blob:nth-child(4){animation-delay:.8s}.blob:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}\n"] }); }
631
+ }
632
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoadingScreenComponent, decorators: [{
633
+ type: Component,
634
+ args: [{ selector: 'app-loading-screen', standalone: false, template: "<div class=\"loading-screen-wrapper\">\n <div class=\"loading-screen-icon\">\n <div class=\"blobs\">\n <div class=\"blob-center\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n </div> \n </div>\n</div>\n", styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs .blob-center{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob:nth-child(1){animation-delay:.2s}.blob:nth-child(2){animation-delay:.4s}.blob:nth-child(3){animation-delay:.6s}.blob:nth-child(4){animation-delay:.8s}.blob:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}\n"] }]
635
+ }], ctorParameters: () => [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }], propDecorators: { logo_loading: [{
636
+ type: Input
637
+ }] } });
771
638
 
772
639
  class PdfModalService {
773
640
  constructor() {
@@ -782,19 +649,19 @@ class PdfModalService {
782
649
  this.html = html;
783
650
  this.print.emit(true);
784
651
  }
785
- /** @nocollapse */ static { this.ɵfac = function PdfModalService_Factory(t) { return new (t || PdfModalService)(); }; }
786
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PdfModalService, factory: PdfModalService.ɵfac, providedIn: 'root' }); }
652
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
653
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalService, providedIn: 'root' }); }
787
654
  }
788
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalService, [{
789
- type: Injectable,
790
- args: [{
791
- providedIn: 'root'
792
- }]
793
- }], null, { visible: [{
794
- type: Output
795
- }], print: [{
796
- type: Output
797
- }] }); })();
655
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalService, decorators: [{
656
+ type: Injectable,
657
+ args: [{
658
+ providedIn: 'root'
659
+ }]
660
+ }], propDecorators: { visible: [{
661
+ type: Output
662
+ }], print: [{
663
+ type: Output
664
+ }] } });
798
665
 
799
666
  class FileService {
800
667
  constructor(_toastrService, translate) {
@@ -848,27 +715,16 @@ class FileService {
848
715
  base64ToFileDowload(base64, type, name) {
849
716
  this.blobToDowload(this.base64ToBlob(base64, type), type, name);
850
717
  }
851
- /** @nocollapse */ static { this.ɵfac = function FileService_Factory(t) { return new (t || FileService)(i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(i2.TranslateService)); }; }
852
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileService, factory: FileService.ɵfac, providedIn: 'root' }); }
853
- }
854
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileService, [{
855
- type: Injectable,
856
- args: [{
857
- providedIn: 'root'
858
- }]
859
- }], () => [{ type: i1$1.ToastrService }, { type: i2.TranslateService }], null); })();
860
-
861
- const _c0$4 = a0 => ({ "width": a0, "min-width": "200px" });
862
- const _c1$3 = () => ({ "overflow": "visible" });
863
- function PdfModalComponent_div_1_Template(rf, ctx) { if (rf & 1) {
864
- i0.ɵɵelementStart(0, "div", 2);
865
- i0.ɵɵelement(1, "iframe", 3);
866
- i0.ɵɵelementEnd();
867
- } if (rf & 2) {
868
- const ctx_r0 = i0.ɵɵnextContext();
869
- i0.ɵɵadvance();
870
- i0.ɵɵproperty("src", ctx_r0.domSanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64," + ctx_r0.pdfBase64), i0.ɵɵsanitizeResourceUrl);
871
- } }
718
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileService, deps: [{ token: i1$1.ToastrService }, { token: i3$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
719
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileService, providedIn: 'root' }); }
720
+ }
721
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileService, decorators: [{
722
+ type: Injectable,
723
+ args: [{
724
+ providedIn: 'root'
725
+ }]
726
+ }], ctorParameters: () => [{ type: i1$1.ToastrService }, { type: i3$1.TranslateService }] });
727
+
872
728
  class PdfModalComponent {
873
729
  constructor(_pdfModalService, fileService, domSanitizer) {
874
730
  this._pdfModalService = _pdfModalService;
@@ -932,25 +788,13 @@ class PdfModalComponent {
932
788
  //iframe.focus();
933
789
  // iframe.contentWindow.print();
934
790
  }
935
- /** @nocollapse */ static { this.ɵfac = function PdfModalComponent_Factory(t) { return new (t || PdfModalComponent)(i0.ɵɵdirectiveInject(PdfModalService), i0.ɵɵdirectiveInject(FileService), i0.ɵɵdirectiveInject(i3$1.DomSanitizer)); }; }
936
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: PdfModalComponent, selectors: [["pdf-modal"]], decls: 2, vars: 15, consts: [[3, "visibleChange", "visible", "modal", "minY", "baseZIndex", "blockScroll", "maximizable", "breakpoint", "contentStyle"], ["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) {
937
- i0.ɵɵelementStart(0, "p-dialog", 0);
938
- i0.ɵɵtwoWayListener("visibleChange", function PdfModalComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.display, $event) || (ctx.display = $event); return $event; });
939
- i0.ɵɵtemplate(1, PdfModalComponent_div_1_Template, 2, 1, "div", 1);
940
- i0.ɵɵelementEnd();
941
- } if (rf & 2) {
942
- i0.ɵɵstyleMap(i0.ɵɵpureFunction1(12, _c0$4, ctx.size + "px"));
943
- i0.ɵɵtwoWayProperty("visible", ctx.display);
944
- i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("breakpoint", 840)("contentStyle", i0.ɵɵpureFunction0(14, _c1$3));
945
- i0.ɵɵadvance();
946
- i0.ɵɵproperty("ngIf", ctx.pdfBase64);
947
- } }, dependencies: [i4.NgIf, i30.Dialog], styles: [".down[_ngcontent-%COMP%]{display:block}"] }); }
948
- }
949
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalComponent, [{
950
- type: Component,
951
- args: [{ selector: 'pdf-modal', template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" [blockScroll]=\"true\" \n [blockScroll]=\"true\" [maximizable]=\"true\"\n [breakpoint]=\"840\" [contentStyle]=\"{'overflow':'visible'}\">\n <div *ngIf=\"pdfBase64\" style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\" [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n</p-dialog>\n\n", styles: [".down{display:block}\n"] }]
952
- }], () => [{ type: PdfModalService }, { type: FileService }, { type: i3$1.DomSanitizer }], null); })();
953
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PdfModalComponent, { className: "PdfModalComponent" }); })();
791
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalComponent, deps: [{ token: PdfModalService }, { token: FileService }, { token: i3$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
792
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PdfModalComponent, selector: "pdf-modal", ngImport: i0, template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [blockScroll]=\"true\" [maximizable]=\"true\">\n <div *ngIf=\"pdfBase64\" style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\"\n [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n</p-dialog>", styles: [".down{display:block}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i33.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
793
+ }
794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfModalComponent, decorators: [{
795
+ type: Component,
796
+ args: [{ selector: 'pdf-modal', standalone: false, template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [blockScroll]=\"true\" [maximizable]=\"true\">\n <div *ngIf=\"pdfBase64\" style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\"\n [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n</p-dialog>", styles: [".down{display:block}\n"] }]
797
+ }], ctorParameters: () => [{ type: PdfModalService }, { type: FileService }, { type: i3$2.DomSanitizer }] });
954
798
 
955
799
  class Usuario {
956
800
  }
@@ -1162,81 +1006,20 @@ class AuthService {
1162
1006
  this.url_host = config.url;
1163
1007
  return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioConfiguracion', httpOptions);
1164
1008
  }
1165
- /** @nocollapse */ static { this.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient)); }; }
1166
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
1167
- }
1168
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
1169
- type: Injectable,
1170
- args: [{
1171
- providedIn: 'root'
1172
- }]
1173
- }], () => [{ type: i1.HttpClient }], { login: [{
1174
- type: Output
1175
- }], seleccionEmpresa: [{
1176
- type: Output
1177
- }] }); })();
1178
-
1179
- const _c0$3 = () => ({ width: "50vw" });
1180
- const _c1$2 = () => ({ "960px": "75vw", "640px": "90vw" });
1181
- function LoginModalComponent_div_3_label_4_Template(rf, ctx) { if (rf & 1) {
1182
- i0.ɵɵelementStart(0, "label", 16);
1183
- i0.ɵɵtext(1, "Usuario o contrase\u00F1a incorrectos");
1184
- i0.ɵɵelementEnd();
1185
- } }
1186
- function LoginModalComponent_div_3_Template(rf, ctx) { if (rf & 1) {
1187
- const _r1 = i0.ɵɵgetCurrentView();
1188
- i0.ɵɵelementStart(0, "div", 6)(1, "div", 7)(2, "form", 8, 0);
1189
- i0.ɵɵlistener("ngSubmit", function LoginModalComponent_div_3_Template_form_ngSubmit_2_listener() { i0.ɵɵrestoreView(_r1); const datoForm_r2 = i0.ɵɵreference(3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.entrar(datoForm_r2)); });
1190
- i0.ɵɵtemplate(4, LoginModalComponent_div_3_label_4_Template, 2, 0, "label", 9);
1191
- i0.ɵɵelementStart(5, "div", 10)(6, "label", 11);
1192
- i0.ɵɵtext(7, "Usuario");
1193
- i0.ɵɵelementEnd();
1194
- i0.ɵɵelementStart(8, "input", 12, 1);
1195
- i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_div_3_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.user.username, $event) || (ctx_r2.user.username = $event); return i0.ɵɵresetView($event); });
1196
- i0.ɵɵelementEnd()();
1197
- i0.ɵɵelementStart(10, "div", 10)(11, "label", 13);
1198
- i0.ɵɵtext(12, "Contrase\u00F1a");
1199
- i0.ɵɵelementEnd();
1200
- i0.ɵɵelementStart(13, "input", 14);
1201
- i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_div_3_Template_input_ngModelChange_13_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.user.password, $event) || (ctx_r2.user.password = $event); return i0.ɵɵresetView($event); });
1202
- i0.ɵɵelementEnd()();
1203
- i0.ɵɵelementStart(14, "button", 15);
1204
- i0.ɵɵtext(15, "Entrar");
1205
- i0.ɵɵelementEnd()()()();
1206
- } if (rf & 2) {
1207
- const ctx_r2 = i0.ɵɵnextContext();
1208
- i0.ɵɵadvance(4);
1209
- i0.ɵɵproperty("ngIf", ctx_r2.error);
1210
- i0.ɵɵadvance(4);
1211
- i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.username);
1212
- i0.ɵɵadvance(5);
1213
- i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.password);
1214
- } }
1215
- function LoginModalComponent_div_4_div_5_Template(rf, ctx) { if (rf & 1) {
1216
- const _r4 = i0.ɵɵgetCurrentView();
1217
- i0.ɵɵelementStart(0, "div", 19);
1218
- i0.ɵɵlistener("click", function LoginModalComponent_div_4_div_5_Template_div_click_0_listener() { const empresa_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.entrarEmpresa(empresa_r5)); });
1219
- i0.ɵɵelementStart(1, "div", 20)(2, "div", 21)(3, "h5");
1220
- i0.ɵɵtext(4);
1221
- i0.ɵɵelementEnd()()()();
1222
- } if (rf & 2) {
1223
- const empresa_r5 = ctx.$implicit;
1224
- i0.ɵɵadvance(4);
1225
- i0.ɵɵtextInterpolate1(" ", empresa_r5.nombre, " ");
1226
- } }
1227
- function LoginModalComponent_div_4_Template(rf, ctx) { if (rf & 1) {
1228
- i0.ɵɵelementStart(0, "div", 6)(1, "div", 17)(2, "h4");
1229
- i0.ɵɵtext(3, "Selecciona la empresa");
1230
- i0.ɵɵelementEnd();
1231
- i0.ɵɵelement(4, "hr");
1232
- i0.ɵɵelementEnd();
1233
- i0.ɵɵtemplate(5, LoginModalComponent_div_4_div_5_Template, 5, 1, "div", 18);
1234
- i0.ɵɵelementEnd();
1235
- } if (rf & 2) {
1236
- const ctx_r2 = i0.ɵɵnextContext();
1237
- i0.ɵɵadvance(5);
1238
- i0.ɵɵproperty("ngForOf", ctx_r2.empresas);
1239
- } }
1009
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1010
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthService, providedIn: 'root' }); }
1011
+ }
1012
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthService, decorators: [{
1013
+ type: Injectable,
1014
+ args: [{
1015
+ providedIn: 'root'
1016
+ }]
1017
+ }], ctorParameters: () => [{ type: i1.HttpClient }], propDecorators: { login: [{
1018
+ type: Output
1019
+ }], seleccionEmpresa: [{
1020
+ type: Output
1021
+ }] } });
1022
+
1240
1023
  class LoginModalComponent {
1241
1024
  constructor(loginModalService, authService) {
1242
1025
  this.loginModalService = loginModalService;
@@ -1246,14 +1029,9 @@ class LoginModalComponent {
1246
1029
  this.error = false;
1247
1030
  this.empresas = [];
1248
1031
  this.loginModalService.modal.subscribe(resp => {
1249
- if (resp) {
1250
- this.modal = true;
1251
- this.user = { username: undefined, password: undefined };
1252
- this.empresas = [];
1253
- }
1254
- else {
1255
- this.modal = false;
1256
- }
1032
+ $('#modalLogin').modal('show');
1033
+ this.user = { username: undefined, password: undefined };
1034
+ this.empresas = [];
1257
1035
  });
1258
1036
  }
1259
1037
  entrar(form) {
@@ -1283,7 +1061,7 @@ class LoginModalComponent {
1283
1061
  auth.usuarioDetalles = resp;
1284
1062
  this.authService.startAuth(auth);
1285
1063
  this.error = false;
1286
- this.modal = false;
1064
+ $('#modalLogin').modal('hide');
1287
1065
  });
1288
1066
  }, (_error) => {
1289
1067
  this.error = true;
@@ -1292,115 +1070,32 @@ class LoginModalComponent {
1292
1070
  }
1293
1071
  entrarEmpresa(_empresa) {
1294
1072
  this.authService.setEmpresa(_empresa).subscribe((resp) => {
1295
- this.modal = false;
1073
+ $('#modalLogin').modal('hide');
1296
1074
  });
1297
1075
  }
1298
- /** @nocollapse */ static { this.ɵfac = function LoginModalComponent_Factory(t) { return new (t || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); }; }
1299
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoginModalComponent, selectors: [["app-login-modal"]], decls: 5, vars: 10, consts: [["datoForm", "ngForm"], ["username", "ngModel"], [3, "visibleChange", "visible", "modal", "closable", "breakpoints"], [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"], ["class", "error", 4, "ngIf"], [1, "form-group", "mb-3"], ["for", "exampleInputEmail1"], ["type", "text", "id", "exampleInputEmail1", "aria-describedby", "emailHelp", "placeholder", "Usuario", "name", "username", "required", "", 1, "form-control", 3, "ngModelChange", "ngModel"], ["for", "exampleInputPassword1"], ["type", "password", "id", "exampleInputPassword1", "placeholder", "Contrase\u00F1a", "name", "password", "required", "", 1, "form-control", 3, "ngModelChange", "ngModel"], ["type", "submit", 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", 3, "click", 4, "ngFor", "ngForOf"], [1, "col-xl-6", "col-lg-6", "col-sm-12", "mb-2", 2, "cursor", "pointer", 3, "click"], [1, "card"], [1, "card-body"]], template: function LoginModalComponent_Template(rf, ctx) { if (rf & 1) {
1300
- i0.ɵɵelementStart(0, "p-dialog", 2);
1301
- i0.ɵɵtwoWayListener("visibleChange", function LoginModalComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.modal, $event) || (ctx.modal = $event); return $event; });
1302
- i0.ɵɵelementStart(1, "div", 3);
1303
- i0.ɵɵelement(2, "img", 4);
1304
- i0.ɵɵelementEnd();
1305
- i0.ɵɵtemplate(3, LoginModalComponent_div_3_Template, 16, 3, "div", 5)(4, LoginModalComponent_div_4_Template, 6, 1, "div", 5);
1306
- i0.ɵɵelementEnd();
1307
- } if (rf & 2) {
1308
- i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$3));
1309
- i0.ɵɵtwoWayProperty("visible", ctx.modal);
1310
- i0.ɵɵproperty("modal", true)("closable", false)("breakpoints", i0.ɵɵpureFunction0(9, _c1$2));
1311
- i0.ɵɵadvance(3);
1312
- i0.ɵɵproperty("ngIf", ctx.empresas.length == 0);
1313
- i0.ɵɵadvance();
1314
- i0.ɵɵproperty("ngIf", ctx.empresas.length);
1315
- } }, dependencies: [i4.NgForOf, i4.NgIf, i4$1.ɵNgNoValidate, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i4$1.RequiredValidator, i4$1.NgModel, i4$1.NgForm, i30.Dialog], styles: ["[_nghost-%COMP%] .p-dialog{z-index:2050!important}.btn-primary_low[_ngcontent-%COMP%]{background:#133659!important}.ng-valid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.ng-invalid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.card[_ngcontent-%COMP%]{background:#26baed;color:#fff}.card-body[_ngcontent-%COMP%]{padding:10px}"] }); }
1316
- }
1317
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
1318
- type: Component,
1319
- args: [{ selector: 'app-login-modal', template: "<p-dialog [(visible)]=\"modal\" [modal]=\"true\" [closable]=\"false\" [style]=\"{width: '50vw'}\"\n [breakpoints]=\"{'960px': '75vw', '640px': '90vw'}\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\">\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\">\n <label class=\"error\" *ngIf=\"error\">Usuario o contrase\u00F1a incorrectos</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\">Usuario</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\"\n #username=\"ngModel\" placeholder=\"Usuario\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">Contrase\u00F1a</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"Contrase\u00F1a\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n\n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\">Entrar</button>\n </form>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\"\n (click)=\"entrarEmpresa(empresa)\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div>\n</p-dialog>", styles: [":host ::ng-deep .p-dialog{z-index:2050!important}.btn-primary_low{background:#133659!important}.ng-valid:not(form){border-left:1px solid #ced4da!important}.ng-invalid:not(form){border-left:1px solid #ced4da!important}.card{background:#26baed;color:#fff}.card-body{padding:10px}\n"] }]
1320
- }], () => [{ type: LoginModalService }, { type: AuthService }], null); })();
1321
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoginModalComponent, { className: "LoginModalComponent" }); })();
1076
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalComponent, deps: [{ token: LoginModalService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Component }); }
1077
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: LoginModalComponent, selector: "app-login-modal", ngImport: i0, template: "<div class=\"modal fade\" id=\"modalLogin\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" > \n <label class=\"error\" *ngIf=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\" >{{ 'Usuario.username' | translate }}</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\" #username=\"ngModel\"\n placeholder=\"{{ 'Usuario.username' | translate }}\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">{{ 'Usuario.password' | translate }}</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"{{ 'Usuario.password' | translate }}\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n \n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\" translate>entrar</button>\n </form>\n </div>\n </div> \n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div> \n \n </div>\n </div>\n </div>\n</div>", styles: [".modal{z-index:2050!important}.btn-primary_low{background:#133659!important}.ng-valid:not(form){border-left:1px solid #ced4da!important}.ng-invalid:not(form){border-left:1px solid #ced4da!important}.card{background:#26baed;color:#fff}.card-body{padding:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i10.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i10.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i10.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] }); }
1078
+ }
1079
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LoginModalComponent, decorators: [{
1080
+ type: Component,
1081
+ args: [{ selector: 'app-login-modal', standalone: false, template: "<div class=\"modal fade\" id=\"modalLogin\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" > \n <label class=\"error\" *ngIf=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\" >{{ 'Usuario.username' | translate }}</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\" #username=\"ngModel\"\n placeholder=\"{{ 'Usuario.username' | translate }}\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">{{ 'Usuario.password' | translate }}</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"{{ 'Usuario.password' | translate }}\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n \n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\" translate>entrar</button>\n </form>\n </div>\n </div> \n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div> \n \n </div>\n </div>\n </div>\n</div>", styles: [".modal{z-index:2050!important}.btn-primary_low{background:#133659!important}.ng-valid:not(form){border-left:1px solid #ced4da!important}.ng-invalid:not(form){border-left:1px solid #ced4da!important}.card{background:#26baed;color:#fff}.card-body{padding:10px}\n"] }]
1082
+ }], ctorParameters: () => [{ type: LoginModalService }, { type: AuthService }] });
1322
1083
 
1323
1084
  class SessionCajaService extends CrudService {
1324
1085
  constructor(httpClient) {
1325
1086
  super(httpClient, 'sessionCaja');
1326
1087
  this.httpClient = httpClient;
1327
1088
  }
1328
- /** @nocollapse */ static { this.ɵfac = function SessionCajaService_Factory(t) { return new (t || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); }; }
1329
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' }); }
1330
- }
1331
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
1332
- type: Injectable,
1333
- args: [{
1334
- providedIn: 'root'
1335
- }]
1336
- }], () => [{ type: i1.HttpClient }], null); })();
1337
-
1338
- const _c0$2 = () => ({ width: "750px" });
1339
- function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
1340
- i0.ɵɵelementStart(0, "a", 4);
1341
- i0.ɵɵtext(1);
1342
- i0.ɵɵelementEnd();
1343
- } if (rf & 2) {
1344
- const ctx_r0 = i0.ɵɵnextContext();
1345
- i0.ɵɵadvance();
1346
- i0.ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
1347
- } }
1348
- function SessionCreateComponent_div_2_Template(rf, ctx) { if (rf & 1) {
1349
- const _r2 = i0.ɵɵgetCurrentView();
1350
- i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "label", 7);
1351
- i0.ɵɵtext(3, "Nombre de caja: ");
1352
- i0.ɵɵelementEnd();
1353
- i0.ɵɵelementStart(4, "input", 8);
1354
- i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.caja.nombre, $event) || (ctx_r0.caja.nombre = $event); return i0.ɵɵresetView($event); });
1355
- i0.ɵɵelementEnd()();
1356
- i0.ɵɵelementStart(5, "div", 9)(6, "label", 10);
1357
- i0.ɵɵtext(7, "Saldo: ");
1358
- i0.ɵɵelementEnd();
1359
- i0.ɵɵelementStart(8, "input", 11);
1360
- i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.monto, $event) || (ctx_r0.session.monto = $event); return i0.ɵɵresetView($event); });
1361
- i0.ɵɵelementEnd()();
1362
- i0.ɵɵelementStart(9, "div", 9)(10, "label", 12);
1363
- i0.ɵɵtext(11, "Numero Z:");
1364
- i0.ɵɵelementEnd();
1365
- i0.ɵɵelementStart(12, "input", 13);
1366
- i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_div_2_Template_input_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.z, $event) || (ctx_r0.session.z = $event); return i0.ɵɵresetView($event); });
1367
- i0.ɵɵelementEnd()()();
1368
- } if (rf & 2) {
1369
- const ctx_r0 = i0.ɵɵnextContext();
1370
- i0.ɵɵadvance(4);
1371
- i0.ɵɵtwoWayProperty("ngModel", ctx_r0.caja.nombre);
1372
- i0.ɵɵproperty("disabled", true);
1373
- i0.ɵɵadvance(4);
1374
- i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.monto);
1375
- i0.ɵɵproperty("disabled", ctx_r0.editMode);
1376
- i0.ɵɵadvance(4);
1377
- i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.z);
1378
- i0.ɵɵproperty("disabled", true);
1379
- } }
1380
- function SessionCreateComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
1381
- const _r4 = i0.ɵɵgetCurrentView();
1382
- i0.ɵɵelementStart(0, "button", 17);
1383
- i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.save()); });
1384
- i0.ɵɵelementEnd();
1385
- } }
1386
- function SessionCreateComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
1387
- const _r5 = i0.ɵɵgetCurrentView();
1388
- i0.ɵɵelementStart(0, "button", 18);
1389
- i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.edit()); });
1390
- i0.ɵɵelementEnd();
1391
- } }
1392
- function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
1393
- const _r3 = i0.ɵɵgetCurrentView();
1394
- i0.ɵɵtemplate(0, SessionCreateComponent_ng_template_5_button_0_Template, 1, 0, "button", 14)(1, SessionCreateComponent_ng_template_5_button_1_Template, 1, 0, "button", 15);
1395
- i0.ɵɵelementStart(2, "button", 16);
1396
- i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.closeModal()); });
1397
- i0.ɵɵelementEnd();
1398
- } if (rf & 2) {
1399
- const ctx_r0 = i0.ɵɵnextContext();
1400
- i0.ɵɵproperty("ngIf", !ctx_r0.editMode && ctx_r0.caja);
1401
- i0.ɵɵadvance();
1402
- i0.ɵɵproperty("ngIf", ctx_r0.editMode && ctx_r0.caja);
1403
- } }
1089
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCajaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1090
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCajaService, providedIn: 'root' }); }
1091
+ }
1092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCajaService, decorators: [{
1093
+ type: Injectable,
1094
+ args: [{
1095
+ providedIn: 'root'
1096
+ }]
1097
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
1098
+
1404
1099
  class SessionCreateComponent {
1405
1100
  constructor(sessionCajaService) {
1406
1101
  this.sessionCajaService = sessionCajaService;
@@ -1469,42 +1164,81 @@ class SessionCreateComponent {
1469
1164
  this.status.emit({ status: false, update: this.resp.data });
1470
1165
  }
1471
1166
  }
1472
- /** @nocollapse */ static { this.ɵfac = function SessionCreateComponent_Factory(t) { return new (t || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); }; }
1473
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SessionCreateComponent, selectors: [["session-create"]], inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, decls: 6, vars: 9, consts: [[3, "visibleChange", "onHide", "onShow", "visible", "modal", "closeOnEscape", "closable", "blockScroll"], ["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, "ngModelChange", "ngModel", "disabled"], [1, "p-field", "col-12", "md:col-6"], ["for", "saldoCaja"], ["pInputText", "", "type", "number", "id", "saldoCaja", 3, "ngModelChange", "ngModel", "disabled"], ["for", "numeroZ"], ["pInputText", "", "type", "number", "id", "numeroZ", 3, "ngModelChange", "ngModel", "disabled"], ["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) {
1474
- i0.ɵɵelementStart(0, "p-dialog", 0);
1475
- i0.ɵɵtwoWayListener("visibleChange", function SessionCreateComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.showCreateSession, $event) || (ctx.showCreateSession = $event); return $event; });
1476
- i0.ɵɵlistener("onHide", function SessionCreateComponent_Template_p_dialog_onHide_0_listener() { return ctx.closeModal(); })("onShow", function SessionCreateComponent_Template_p_dialog_onShow_0_listener() { return ctx.setSession(); });
1477
- i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1)(2, SessionCreateComponent_div_2_Template, 13, 6, "div", 2);
1478
- i0.ɵɵelementStart(3, "div");
1479
- i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
1480
- i0.ɵɵelementEnd();
1481
- i0.ɵɵtemplate(5, SessionCreateComponent_ng_template_5_Template, 3, 2, "ng-template", 3);
1482
- i0.ɵɵelementEnd();
1483
- } if (rf & 2) {
1484
- i0.ɵɵstyleMap(i0.ɵɵpureFunction0(8, _c0$2));
1485
- i0.ɵɵtwoWayProperty("visible", ctx.showCreateSession);
1486
- i0.ɵɵproperty("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
1487
- i0.ɵɵadvance(2);
1488
- i0.ɵɵproperty("ngIf", ctx.caja);
1489
- } }, dependencies: [i4.NgIf, i3.PrimeTemplate, i18.ButtonDirective, i19.InputText, i4$1.DefaultValueAccessor, i4$1.NumberValueAccessor, i4$1.NgControlStatus, i4$1.NgModel, i30.Dialog] }); }
1490
- }
1491
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
1492
- type: Component,
1493
- args: [{ selector: 'session-create', template: "<p-dialog [(visible)]=\"showCreateSession\" [modal]=\"flagModal\" (onHide)=\"closeModal()\" (onShow)=\"setSession()\"\n [closeOnEscape]=\"flagModal\" [closable]=\"flagModal\" [blockScroll]=\"true\" [style]=\"{width: '750px'}\">\n\n <ng-template pTemplate=\"header\">\n <a class=\"text-primary\">{{labels.title}}: </a>\n </ng-template>\n\n <div class=\"grid grid-fluid\" *ngIf=\"caja\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" *ngIf=\"!editMode && caja\" class=\"p-button-sm\"></button>\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" *ngIf=\"editMode && caja\" class=\"p-button-sm p-button-success\"></button>\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
1494
- }], () => [{ type: SessionCajaService }], { showCreateSession: [{
1495
- type: Input
1496
- }], caja: [{
1497
- type: Input
1498
- }], monedaDenominacionList: [{
1499
- type: Input
1500
- }], sessionEdit: [{
1501
- type: Input
1502
- }], status: [{
1503
- type: Output
1504
- }], success: [{
1505
- type: Output
1506
- }] }); })();
1507
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SessionCreateComponent, { className: "SessionCreateComponent" }); })();
1167
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCreateComponent, deps: [{ token: SessionCajaService }], target: i0.ɵɵFactoryTarget.Component }); }
1168
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SessionCreateComponent, selector: "session-create", inputs: { showCreateSession: "showCreateSession", caja: "caja", monedaDenominacionList: "monedaDenominacionList", sessionEdit: "sessionEdit" }, outputs: { status: "status", success: "success" }, ngImport: i0, template: "<p-dialog [(visible)]=\"showCreateSession\" [modal]=\"flagModal\" (onHide)=\"closeModal()\" (onShow)=\"setSession()\"\n [closeOnEscape]=\"flagModal\" [closable]=\"flagModal\" [blockScroll]=\"true\" [style]=\"{width: '750px'}\">\n\n <ng-template pTemplate=\"header\">\n <a class=\"text-primary\">{{labels.title}}: </a>\n </ng-template>\n\n <div class=\"grid grid-fluid\" *ngIf=\"caja\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" *ngIf=\"!editMode && caja\" class=\"p-button-sm\"></button>\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" *ngIf=\"editMode && caja\" class=\"p-button-sm p-button-success\"></button>\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i21.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i22.InputText, selector: "[pInputText]" }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i33.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
1169
+ }
1170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SessionCreateComponent, decorators: [{
1171
+ type: Component,
1172
+ args: [{ selector: 'session-create', template: "<p-dialog [(visible)]=\"showCreateSession\" [modal]=\"flagModal\" (onHide)=\"closeModal()\" (onShow)=\"setSession()\"\n [closeOnEscape]=\"flagModal\" [closable]=\"flagModal\" [blockScroll]=\"true\" [style]=\"{width: '750px'}\">\n\n <ng-template pTemplate=\"header\">\n <a class=\"text-primary\">{{labels.title}}: </a>\n </ng-template>\n\n <div class=\"grid grid-fluid\" *ngIf=\"caja\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" *ngIf=\"!editMode && caja\" class=\"p-button-sm\"></button>\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" *ngIf=\"editMode && caja\" class=\"p-button-sm p-button-success\"></button>\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
1173
+ }], ctorParameters: () => [{ type: SessionCajaService }], propDecorators: { showCreateSession: [{
1174
+ type: Input
1175
+ }], caja: [{
1176
+ type: Input
1177
+ }], monedaDenominacionList: [{
1178
+ type: Input
1179
+ }], sessionEdit: [{
1180
+ type: Input
1181
+ }], status: [{
1182
+ type: Output
1183
+ }], success: [{
1184
+ type: Output
1185
+ }] } });
1186
+
1187
+ class Persona {
1188
+ constructor() {
1189
+ //this.estadoCivil= new EstadoCivil();
1190
+ //this.genero = new Genero();
1191
+ }
1192
+ }
1193
+
1194
+ class PersonaFisica {
1195
+ constructor() {
1196
+ this.datoPersona = new Persona();
1197
+ this.contactos = [];
1198
+ this.datoDirecciones = [];
1199
+ }
1200
+ }
1201
+
1202
+ class PersonaMoral {
1203
+ constructor() {
1204
+ this.representanteLegal = new PersonaFisica();
1205
+ this.contactos = [];
1206
+ this.datoDirecciones = [];
1207
+ }
1208
+ }
1209
+
1210
+ class Agente {
1211
+ constructor() {
1212
+ // this.catalogoTipo= new CatalogoTipo();
1213
+ this.personaFisica = new PersonaFisica();
1214
+ }
1215
+ }
1216
+
1217
+ class Cliente {
1218
+ constructor() {
1219
+ this.agenteCobrador = new Agente();
1220
+ this.agenteVendedor = new Agente();
1221
+ this.personaFisica = new PersonaFisica();
1222
+ this.personaMoral = new PersonaMoral();
1223
+ }
1224
+ }
1225
+
1226
+ class ClienteService extends CrudService {
1227
+ constructor(httpCliente) {
1228
+ super(httpCliente, '/cliente');
1229
+ }
1230
+ validar_archivos_bss(id) {
1231
+ return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
1232
+ }
1233
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1234
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteService, providedIn: 'root' }); }
1235
+ }
1236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteService, decorators: [{
1237
+ type: Injectable,
1238
+ args: [{
1239
+ providedIn: 'root'
1240
+ }]
1241
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
1508
1242
 
1509
1243
  class PaginateService {
1510
1244
  constructor(translate) {
@@ -1550,15 +1284,165 @@ class PaginateService {
1550
1284
  }, erro => { });
1551
1285
  return ordenar;
1552
1286
  }
1553
- /** @nocollapse */ static { this.ɵfac = function PaginateService_Factory(t) { return new (t || PaginateService)(i0.ɵɵinject(i2.TranslateService)); }; }
1554
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" }); }
1287
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginateService, deps: [{ token: i3$1.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1288
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginateService, providedIn: "root" }); }
1289
+ }
1290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginateService, decorators: [{
1291
+ type: Injectable,
1292
+ args: [{
1293
+ providedIn: "root"
1294
+ }]
1295
+ }], ctorParameters: () => [{ type: i3$1.TranslateService }] });
1296
+
1297
+ class SelectClienteComponent {
1298
+ constructor(clienteService, paginate) {
1299
+ this.clienteService = clienteService;
1300
+ this.paginate = paginate;
1301
+ this.selectMode = 'single';
1302
+ this.select = new EventEmitter();
1303
+ this.ordenar = [];
1304
+ this.loading = true;
1305
+ }
1306
+ ngOnInit() {
1307
+ this.page = this.paginate.getPage();
1308
+ this.page.rows = 20;
1309
+ this.clientes = [];
1310
+ this.ordenar = this.paginate.getOrden([
1311
+ { param: 'razonZocial', label: 'razonZocial' }
1312
+ ], 'es');
1313
+ }
1314
+ cargarDatosClientes(event = null) {
1315
+ this.loading = true;
1316
+ if (event) {
1317
+ this.page.rows = event.rows;
1318
+ this.page.offset = event.first;
1319
+ }
1320
+ this.clientes = [];
1321
+ this.params = this.paginate.getParams(this.page);
1322
+ this.params.push({ param: 'estatus', value: true });
1323
+ if (this.page.filtro && this.page.filtro.trim() !== '') {
1324
+ this.params.push({ param: 'filtroGeneral', value: this.page.filtro.trim() });
1325
+ }
1326
+ this.clienteService.getAll(this.params).subscribe((data) => {
1327
+ this.page.total = data.total;
1328
+ this.clientes = data.data;
1329
+ this.loading = false;
1330
+ }, error => {
1331
+ console.error("Error al cargar clientes:", error);
1332
+ this.loading = false;
1333
+ });
1334
+ }
1335
+ aplicarFiltro() {
1336
+ this.page.offset = 0;
1337
+ this.cargarDatosClientes();
1338
+ }
1339
+ seleccionaCliente(e) {
1340
+ console.log('Fila seleccionada (evento):', e);
1341
+ console.log('Datos de la fila (e.data):', e.data);
1342
+ console.log('Cliente seleccionado ANTES de emitir:', this.clienteSeleccionado); // Verifica si [(selection)] ya lo actualizó
1343
+ this.select.emit(e.data);
1344
+ this.visible = false;
1345
+ console.log('Cliente seleccionado DESPUÉS de emitir (y si se actualizó por [(selection)]):', this.clienteSeleccionado);
1346
+ }
1347
+ cerrar() {
1348
+ this.select.emit(null);
1349
+ this.visible = false;
1350
+ }
1351
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectClienteComponent, deps: [{ token: ClienteService }, { token: PaginateService }], target: i0.ɵɵFactoryTarget.Component }); }
1352
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SelectClienteComponent, selector: "select-cliente", inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, ngImport: i0, template: "<p-dialog header=\"{{ 'Seleccionar cliente ' | translate }}\" [(visible)]=\"visible\" (onHide)=\"cerrar()\"\n (onShow)=\"cargarDatosClientes()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"aplicarFiltro()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"aplicarFiltro()\"></button>\n </div>\n\n <p-table\n [value]=\"clientes\"\n dataKey=\"id\" [lazy]=\"true\"\n (onLazyLoad)=\"cargarDatosClientes($event)\"\n [paginator]=\"true\"\n [rows]=\"page.rows\"\n [totalRecords]=\"page.total\"\n [(selection)]=\"clienteSeleccionado\"\n selectionMode=\"{{selectMode}}\"\n (onRowSelect)=\"seleccionaCliente($event)\"\n [scrollable]=\"true\" scrollHeight=\"350px\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'Cliente.limiteCredito' | translate}}</th>\n <th>{{'Cliente.plazoCredito' | translate}}</th>\n <th>{{'Cliente.diasPago' | translate}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-cliente>\n <tr [pSelectableRow]=\"cliente\"> \n <td>{{cliente.codigo}}</td>\n <td>{{cliente.descripcionRazonSocial}}</td>\n <td>\n <span *ngIf=\"cliente.personaFisica\">{{'fisico'| translate}}</span>\n <span *ngIf=\"cliente.personaMoral\">{{'moral'| translate}}</span>\n </td>\n <td>{{cliente.limiteCredito}}</td>\n <td>{{cliente.plazoCredito}}</td>\n <td>{{cliente.diasPago}}</td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td colspan=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n</p-table>\n \n</p-dialog>", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i18.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i21.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i22.InputText, selector: "[pInputText]" }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i33.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] }); }
1353
+ }
1354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectClienteComponent, decorators: [{
1355
+ type: Component,
1356
+ args: [{ selector: 'select-cliente', standalone: false, template: "<p-dialog header=\"{{ 'Seleccionar cliente ' | translate }}\" [(visible)]=\"visible\" (onHide)=\"cerrar()\"\n (onShow)=\"cargarDatosClientes()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"aplicarFiltro()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"aplicarFiltro()\"></button>\n </div>\n\n <p-table\n [value]=\"clientes\"\n dataKey=\"id\" [lazy]=\"true\"\n (onLazyLoad)=\"cargarDatosClientes($event)\"\n [paginator]=\"true\"\n [rows]=\"page.rows\"\n [totalRecords]=\"page.total\"\n [(selection)]=\"clienteSeleccionado\"\n selectionMode=\"{{selectMode}}\"\n (onRowSelect)=\"seleccionaCliente($event)\"\n [scrollable]=\"true\" scrollHeight=\"350px\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'Cliente.limiteCredito' | translate}}</th>\n <th>{{'Cliente.plazoCredito' | translate}}</th>\n <th>{{'Cliente.diasPago' | translate}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-cliente>\n <tr [pSelectableRow]=\"cliente\"> \n <td>{{cliente.codigo}}</td>\n <td>{{cliente.descripcionRazonSocial}}</td>\n <td>\n <span *ngIf=\"cliente.personaFisica\">{{'fisico'| translate}}</span>\n <span *ngIf=\"cliente.personaMoral\">{{'moral'| translate}}</span>\n </td>\n <td>{{cliente.limiteCredito}}</td>\n <td>{{cliente.plazoCredito}}</td>\n <td>{{cliente.diasPago}}</td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td colspan=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n</p-table>\n \n</p-dialog>" }]
1357
+ }], ctorParameters: () => [{ type: ClienteService }, { type: PaginateService }], propDecorators: { clienteSeleccionado: [{
1358
+ type: Input
1359
+ }], selectMode: [{
1360
+ type: Input
1361
+ }], visible: [{
1362
+ type: Input
1363
+ }], select: [{
1364
+ type: Output
1365
+ }] } });
1366
+
1367
+ class ClasificadorTipo {
1368
+ constructor() { }
1369
+ }
1370
+
1371
+ class Proveedor {
1372
+ constructor() {
1373
+ this.personaMoral = new PersonaMoral();
1374
+ this.catalogoTipo = new ClasificadorTipo();
1375
+ this.clasificadorTipo = new ClasificadorTipo();
1376
+ this.personaFisica = new PersonaFisica();
1377
+ }
1555
1378
  }
1556
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
1557
- type: Injectable,
1558
- args: [{
1559
- providedIn: "root"
1560
- }]
1561
- }], () => [{ type: i2.TranslateService }], null); })();
1379
+
1380
+ class ProveedorService extends CrudService {
1381
+ constructor(httpClient) {
1382
+ super(httpClient, '/proveedor');
1383
+ this.httpClient = httpClient;
1384
+ }
1385
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1386
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorService, providedIn: 'root' }); }
1387
+ }
1388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorService, decorators: [{
1389
+ type: Injectable,
1390
+ args: [{
1391
+ providedIn: 'root'
1392
+ }]
1393
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
1394
+
1395
+ class SelectProveedorComponent {
1396
+ constructor(proveedorService, paginanateService, translate) {
1397
+ this.proveedorService = proveedorService;
1398
+ this.paginanateService = paginanateService;
1399
+ this.translate = translate;
1400
+ this.params = [];
1401
+ this.ordenar = [];
1402
+ this.visible = false;
1403
+ this.proveedorSeleccionado = new Proveedor();
1404
+ this.select = new EventEmitter();
1405
+ this.translate.get('es');
1406
+ }
1407
+ ngOnInit() {
1408
+ this.page = this.paginanateService.getPage();
1409
+ let arg = [];
1410
+ this.ordenar = this.paginanateService.getOrden(arg, 'es');
1411
+ this.proveedores = [];
1412
+ }
1413
+ cargarDatosProveedores() {
1414
+ this.params = this.paginanateService.getParams(this.page);
1415
+ this.params.push({ param: 'estatus', value: true });
1416
+ this.proveedorService.getAll(this.params).subscribe((data) => {
1417
+ this.proveedores = data.data;
1418
+ });
1419
+ }
1420
+ pagina(e) {
1421
+ this.page.rows = e.rows;
1422
+ this.page.offset = e.first;
1423
+ this.cargarDatosProveedores();
1424
+ }
1425
+ cerrarModal() {
1426
+ this.select.emit(null);
1427
+ this.visible = false;
1428
+ }
1429
+ seleccionarProveedor(e) {
1430
+ this.select.emit(e.data);
1431
+ this.visible = false;
1432
+ }
1433
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectProveedorComponent, deps: [{ token: ProveedorService }, { token: PaginateService }, { token: i3$1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
1434
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SelectProveedorComponent, selector: "select-proveedor", inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, ngImport: i0, template: "<p-dialog header=\"{{'ArticuloProveedor.proveedores' | translate}}\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosProveedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (change)=\"cargarDatosProveedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosProveedores()\"></button>\n </div>\n\n <p-table [(value)]=\"proveedores\" selectionMode=\"single\" [(selection)]=\"proveedorSeleccionado\"\n [scrollable]=\"true\" scrollHeight=\"350px\" (onRowSelect)=\"seleccionarProveedor($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n </tr>\n </ng-template> \n <ng-template pTemplate=\"body\" let-proveedor=\"rowData\">\n <tr>\n <td>{{proveedor.codigo}}</td>\n <td>{{proveedor.descripcionRazonSocial}}</td>\n <td>{{proveedor.descripcionRfc}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>", dependencies: [{ kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i21.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i22.InputText, selector: "[pInputText]" }, { kind: "component", type: i27.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i33.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] }); }
1435
+ }
1436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectProveedorComponent, decorators: [{
1437
+ type: Component,
1438
+ args: [{ standalone: false, selector: 'select-proveedor', template: "<p-dialog header=\"{{'ArticuloProveedor.proveedores' | translate}}\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosProveedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (change)=\"cargarDatosProveedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosProveedores()\"></button>\n </div>\n\n <p-table [(value)]=\"proveedores\" selectionMode=\"single\" [(selection)]=\"proveedorSeleccionado\"\n [scrollable]=\"true\" scrollHeight=\"350px\" (onRowSelect)=\"seleccionarProveedor($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n </tr>\n </ng-template> \n <ng-template pTemplate=\"body\" let-proveedor=\"rowData\">\n <tr>\n <td>{{proveedor.codigo}}</td>\n <td>{{proveedor.descripcionRazonSocial}}</td>\n <td>{{proveedor.descripcionRfc}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
1439
+ }], ctorParameters: () => [{ type: ProveedorService }, { type: PaginateService }, { type: i3$1.TranslateService }], propDecorators: { visible: [{
1440
+ type: Input
1441
+ }], proveedorSeleccionado: [{
1442
+ type: Input
1443
+ }], select: [{
1444
+ type: Output
1445
+ }] } });
1562
1446
 
1563
1447
  class AlmacenService extends CrudService {
1564
1448
  constructor(httpClient) {
@@ -1569,15 +1453,15 @@ class AlmacenService extends CrudService {
1569
1453
  let url = this.geturl() + '/obtenerAlmacenEmpresa';
1570
1454
  return this.getHttp().get(url, this.buildAuth());
1571
1455
  }
1572
- /** @nocollapse */ static { this.ɵfac = function AlmacenService_Factory(t) { return new (t || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); }; }
1573
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' }); }
1456
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlmacenService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1457
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlmacenService, providedIn: 'root' }); }
1574
1458
  }
1575
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
1576
- type: Injectable,
1577
- args: [{
1578
- providedIn: 'root'
1579
- }]
1580
- }], () => [{ type: i1.HttpClient }], null); })();
1459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlmacenService, decorators: [{
1460
+ type: Injectable,
1461
+ args: [{
1462
+ providedIn: 'root'
1463
+ }]
1464
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
1581
1465
 
1582
1466
  class StockService extends CrudService {
1583
1467
  constructor(httpClient) {
@@ -1595,15 +1479,15 @@ class StockService extends CrudService {
1595
1479
  });
1596
1480
  return promesa;
1597
1481
  }
1598
- /** @nocollapse */ static { this.ɵfac = function StockService_Factory(t) { return new (t || StockService)(i0.ɵɵinject(i1.HttpClient)); }; }
1599
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' }); }
1482
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StockService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1483
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StockService, providedIn: 'root' }); }
1600
1484
  }
1601
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
1602
- type: Injectable,
1603
- args: [{
1604
- providedIn: 'root'
1605
- }]
1606
- }], () => [{ type: i1.HttpClient }], null); })();
1485
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StockService, decorators: [{
1486
+ type: Injectable,
1487
+ args: [{
1488
+ providedIn: 'root'
1489
+ }]
1490
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
1607
1491
 
1608
1492
  class ArticuloInformacionService extends CrudService {
1609
1493
  constructor(httpClient) {
@@ -1614,86 +1498,16 @@ class ArticuloInformacionService extends CrudService {
1614
1498
  let uRL = "/existenciasArticulo/" + articulo;
1615
1499
  return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
1616
1500
  }
1617
- /** @nocollapse */ static { this.ɵfac = function ArticuloInformacionService_Factory(t) { return new (t || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
1618
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' }); }
1619
- }
1620
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
1621
- type: Injectable,
1622
- args: [{
1623
- providedIn: 'root'
1624
- }]
1625
- }], () => [{ type: i1.HttpClient }], null); })();
1626
-
1627
- const _c0$1 = a0 => ({ "width": a0, "min-width": "200px" });
1628
- const _c1$1 = () => ({ width: "600px" });
1629
- function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
1630
- i0.ɵɵelement(0, "col");
1631
- } if (rf & 2) {
1632
- const col_r1 = ctx.$implicit;
1633
- i0.ɵɵstyleProp("width", col_r1.width);
1634
- } }
1635
- function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
1636
- i0.ɵɵelementStart(0, "colgroup");
1637
- i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 6);
1638
- i0.ɵɵelementEnd();
1639
- } if (rf & 2) {
1640
- const columns_r2 = ctx.$implicit;
1641
- i0.ɵɵadvance();
1642
- i0.ɵɵproperty("ngForOf", columns_r2);
1643
- } }
1644
- function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
1645
- i0.ɵɵelementStart(0, "th", 8);
1646
- i0.ɵɵtext(1);
1647
- i0.ɵɵelementEnd();
1648
- } if (rf & 2) {
1649
- const col_r3 = ctx.$implicit;
1650
- i0.ɵɵadvance();
1651
- i0.ɵɵtextInterpolate1(" ", col_r3.header, " ");
1652
- } }
1653
- function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
1654
- i0.ɵɵelementStart(0, "tr");
1655
- i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 7);
1656
- i0.ɵɵelementEnd();
1657
- } if (rf & 2) {
1658
- const columns_r4 = ctx.$implicit;
1659
- i0.ɵɵadvance();
1660
- i0.ɵɵproperty("ngForOf", columns_r4);
1661
- } }
1662
- function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
1663
- i0.ɵɵelementStart(0, "tr")(1, "td");
1664
- i0.ɵɵtext(2);
1665
- i0.ɵɵelementEnd();
1666
- i0.ɵɵelementStart(3, "td");
1667
- i0.ɵɵtext(4);
1668
- i0.ɵɵelementEnd();
1669
- i0.ɵɵelementStart(5, "td");
1670
- i0.ɵɵtext(6);
1671
- i0.ɵɵelementEnd();
1672
- i0.ɵɵelementStart(7, "td");
1673
- i0.ɵɵtext(8);
1674
- i0.ɵɵelementEnd();
1675
- i0.ɵɵelementStart(9, "td");
1676
- i0.ɵɵtext(10);
1677
- i0.ɵɵelementEnd()();
1678
- } if (rf & 2) {
1679
- const rowData_r5 = ctx.$implicit;
1680
- i0.ɵɵadvance(2);
1681
- i0.ɵɵtextInterpolate(rowData_r5.almacenCodigo);
1682
- i0.ɵɵadvance(2);
1683
- i0.ɵɵtextInterpolate(rowData_r5.almacenDescripcion);
1684
- i0.ɵɵadvance(2);
1685
- i0.ɵɵtextInterpolate(rowData_r5.ubicacionCodigo);
1686
- i0.ɵɵadvance(2);
1687
- i0.ɵɵtextInterpolate(rowData_r5.ubicacionDescripcion);
1688
- i0.ɵɵadvance(2);
1689
- i0.ɵɵtextInterpolate(rowData_r5.existencia);
1690
- } }
1691
- function SeleccionArticuloInformacionComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
1692
- const _r6 = i0.ɵɵgetCurrentView();
1693
- i0.ɵɵelementStart(0, "div", 9)(1, "button", 10);
1694
- i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_ng_template_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.hiddenDialog()); });
1695
- i0.ɵɵelementEnd()();
1696
- } }
1501
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ArticuloInformacionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1502
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ArticuloInformacionService, providedIn: 'root' }); }
1503
+ }
1504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ArticuloInformacionService, decorators: [{
1505
+ type: Injectable,
1506
+ args: [{
1507
+ providedIn: 'root'
1508
+ }]
1509
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
1510
+
1697
1511
  class SeleccionArticuloInformacionComponent {
1698
1512
  constructor(articuloInformacionService) {
1699
1513
  this.articuloInformacionService = articuloInformacionService;
@@ -1733,333 +1547,20 @@ class SeleccionArticuloInformacionComponent {
1733
1547
  onSelectedUbicacion(ubicacionRow) {
1734
1548
  this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
1735
1549
  }
1736
- /** @nocollapse */ static { this.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); }; }
1737
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls: 6, vars: 19, consts: [[3, "onShow", "visibleChange", "onHide", "resize", "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable", "breakpoint"], ["responsiveLayout", "scroll", "scrollHeight", "350px", 3, "columns", "value", "scrollable"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "footer"], [3, "width", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 4, "ngFor", "ngForOf"], ["pResizableColumn", ""], [1, "container-end"], ["pButton", "", "type", "button", "icon", "pi pi-replay", "label", "Cerrar", 1, "ui-button-raised", "ui-button-secondary", 3, "click"]], template: function SeleccionArticuloInformacionComponent_Template(rf, ctx) { if (rf & 1) {
1738
- i0.ɵɵelementStart(0, "p-dialog", 0);
1739
- i0.ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); });
1740
- i0.ɵɵtwoWayListener("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.showModal, $event) || (ctx.showModal = $event); return $event; });
1741
- i0.ɵɵlistener("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);
1742
- i0.ɵɵelementStart(1, "p-table", 1);
1743
- i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2)(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3)(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
1744
- i0.ɵɵelementEnd();
1745
- i0.ɵɵtemplate(5, SeleccionArticuloInformacionComponent_ng_template_5_Template, 2, 0, "ng-template", 5);
1746
- i0.ɵɵelementEnd();
1747
- } if (rf & 2) {
1748
- i0.ɵɵstyleMap(i0.ɵɵpureFunction1(16, _c0$1, ctx.size + "px"));
1749
- i0.ɵɵproperty("header", ctx.titulo);
1750
- i0.ɵɵtwoWayProperty("visible", ctx.showModal);
1751
- i0.ɵɵproperty("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
1752
- i0.ɵɵadvance();
1753
- i0.ɵɵstyleMap(i0.ɵɵpureFunction0(18, _c1$1));
1754
- i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true);
1755
- } }, dependencies: [i4.NgForOf, i3.PrimeTemplate, i15.Table, i15.ResizableColumn, i18.ButtonDirective, i30.Dialog] }); }
1756
- }
1757
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
1758
- type: Component,
1759
- args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </ng-template>\n</p-dialog>" }]
1760
- }], () => [{ type: ArticuloInformacionService }], { showModal: [{
1761
- type: Input
1762
- }], articulo: [{
1763
- type: Input
1764
- }], eventSelection: [{
1765
- type: Output
1766
- }] }); })();
1767
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionArticuloInformacionComponent, { className: "SeleccionArticuloInformacionComponent" }); })();
1768
-
1769
- const _c0 = a0 => ({ "width": a0, "min-width": "200px" });
1770
- const _c1 = () => [10, 25, 50, 100, 500];
1771
- function SeleccionaArticuloComponent_option_23_Template(rf, ctx) { if (rf & 1) {
1772
- i0.ɵɵelementStart(0, "option", 22);
1773
- i0.ɵɵtext(1);
1774
- i0.ɵɵelementEnd();
1775
- } if (rf & 2) {
1776
- const almacen_r2 = ctx.$implicit;
1777
- i0.ɵɵpropertyInterpolate("value", almacen_r2.id);
1778
- i0.ɵɵadvance();
1779
- i0.ɵɵtextInterpolate(almacen_r2.descripcion);
1780
- } }
1781
- function SeleccionaArticuloComponent_ng_template_26_th_7_Template(rf, ctx) { if (rf & 1) {
1782
- i0.ɵɵelementStart(0, "th", 31);
1783
- i0.ɵɵtext(1, "existenciaSecundaria");
1784
- i0.ɵɵelementEnd();
1785
- } }
1786
- function SeleccionaArticuloComponent_ng_template_26_th_8_Template(rf, ctx) { if (rf & 1) {
1787
- i0.ɵɵelementStart(0, "th", 25);
1788
- i0.ɵɵtext(1, "Unidad");
1789
- i0.ɵɵelementEnd();
1790
- } }
1791
- function SeleccionaArticuloComponent_ng_template_26_th_14_Template(rf, ctx) { if (rf & 1) {
1792
- i0.ɵɵelementStart(0, "th", 23);
1793
- i0.ɵɵtext(1, "Precio");
1794
- i0.ɵɵelementEnd();
1795
- } }
1796
- function SeleccionaArticuloComponent_ng_template_26_th_15_Template(rf, ctx) { if (rf & 1) {
1797
- i0.ɵɵelementStart(0, "th", 23);
1798
- i0.ɵɵtext(1, "Precio 2");
1799
- i0.ɵɵelementEnd();
1800
- } }
1801
- function SeleccionaArticuloComponent_ng_template_26_th_16_Template(rf, ctx) { if (rf & 1) {
1802
- i0.ɵɵelementStart(0, "th", 23);
1803
- i0.ɵɵtext(1, "Precio 3");
1804
- i0.ɵɵelementEnd();
1805
- } }
1806
- function SeleccionaArticuloComponent_ng_template_26_th_17_Template(rf, ctx) { if (rf & 1) {
1807
- i0.ɵɵelementStart(0, "th", 23);
1808
- i0.ɵɵtext(1, "Precio 4");
1809
- i0.ɵɵelementEnd();
1810
- } }
1811
- function SeleccionaArticuloComponent_ng_template_26_th_18_Template(rf, ctx) { if (rf & 1) {
1812
- i0.ɵɵelementStart(0, "th", 23);
1813
- i0.ɵɵtext(1, "Precio 5");
1814
- i0.ɵɵelementEnd();
1815
- } }
1816
- function SeleccionaArticuloComponent_ng_template_26_th_19_Template(rf, ctx) { if (rf & 1) {
1817
- i0.ɵɵelementStart(0, "th", 25);
1818
- i0.ɵɵtext(1, "Movimiento.costo");
1819
- i0.ɵɵelementEnd();
1820
- } }
1821
- function SeleccionaArticuloComponent_ng_template_26_th_22_Template(rf, ctx) { if (rf & 1) {
1822
- i0.ɵɵelementStart(0, "th", 23);
1823
- i0.ɵɵtext(1);
1824
- i0.ɵɵelementEnd();
1825
- } if (rf & 2) {
1826
- const item_r3 = ctx.$implicit;
1827
- i0.ɵɵadvance();
1828
- i0.ɵɵtextInterpolate(item_r3.descripcion);
1829
- } }
1830
- function SeleccionaArticuloComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
1831
- i0.ɵɵelementStart(0, "tr")(1, "th", 23);
1832
- i0.ɵɵtext(2, "C\u00F3digo Ubicacion");
1833
- i0.ɵɵelementEnd();
1834
- i0.ɵɵelementStart(3, "th", 24);
1835
- i0.ɵɵtext(4, "Existencia");
1836
- i0.ɵɵelementEnd();
1837
- i0.ɵɵelementStart(5, "th", 25);
1838
- i0.ɵɵtext(6, "Unidad");
1839
- i0.ɵɵelementEnd();
1840
- i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_26_th_7_Template, 2, 0, "th", 26)(8, SeleccionaArticuloComponent_ng_template_26_th_8_Template, 2, 0, "th", 27);
1841
- i0.ɵɵelementStart(9, "th", 23);
1842
- i0.ɵɵtext(10, "C\u00F3digo");
1843
- i0.ɵɵelementEnd();
1844
- i0.ɵɵelementStart(11, "th", 28);
1845
- i0.ɵɵtext(12, "Descripcion");
1846
- i0.ɵɵelementEnd();
1847
- i0.ɵɵelement(13, "th", 25);
1848
- i0.ɵɵtemplate(14, SeleccionaArticuloComponent_ng_template_26_th_14_Template, 2, 0, "th", 29)(15, SeleccionaArticuloComponent_ng_template_26_th_15_Template, 2, 0, "th", 29)(16, SeleccionaArticuloComponent_ng_template_26_th_16_Template, 2, 0, "th", 29)(17, SeleccionaArticuloComponent_ng_template_26_th_17_Template, 2, 0, "th", 29)(18, SeleccionaArticuloComponent_ng_template_26_th_18_Template, 2, 0, "th", 29)(19, SeleccionaArticuloComponent_ng_template_26_th_19_Template, 2, 0, "th", 27);
1849
- i0.ɵɵelementStart(20, "th", 25);
1850
- i0.ɵɵtext(21, "Existencia por Unidad");
1851
- i0.ɵɵelementEnd();
1852
- i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_26_th_22_Template, 2, 1, "th", 30);
1853
- i0.ɵɵelementEnd();
1854
- } if (rf & 2) {
1855
- const ctx_r3 = i0.ɵɵnextContext();
1856
- i0.ɵɵadvance(7);
1857
- i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
1858
- i0.ɵɵadvance();
1859
- i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
1860
- i0.ɵɵadvance(6);
1861
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
1862
- i0.ɵɵadvance();
1863
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
1864
- i0.ɵɵadvance();
1865
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
1866
- i0.ɵɵadvance();
1867
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
1868
- i0.ɵɵadvance();
1869
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
1870
- i0.ɵɵadvance();
1871
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
1872
- i0.ɵɵadvance(3);
1873
- i0.ɵɵproperty("ngForOf", ctx_r3.clasificadorList);
1874
- } }
1875
- function SeleccionaArticuloComponent_ng_template_27_td_1_Template(rf, ctx) { if (rf & 1) {
1876
- i0.ɵɵelementStart(0, "td", 23);
1877
- i0.ɵɵtext(1, "Movimiento.NoAsignado");
1878
- i0.ɵɵelementEnd();
1879
- } }
1880
- function SeleccionaArticuloComponent_ng_template_27_td_2_Template(rf, ctx) { if (rf & 1) {
1881
- i0.ɵɵelementStart(0, "td", 39);
1882
- i0.ɵɵtext(1);
1883
- i0.ɵɵelementEnd();
1884
- } if (rf & 2) {
1885
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1886
- i0.ɵɵadvance();
1887
- i0.ɵɵtextInterpolate(rowData_r6.ubicacionCodigo);
1888
- } }
1889
- function SeleccionaArticuloComponent_ng_template_27_td_7_Template(rf, ctx) { if (rf & 1) {
1890
- i0.ɵɵelementStart(0, "td", 44);
1891
- i0.ɵɵtext(1);
1892
- i0.ɵɵelementEnd();
1893
- } if (rf & 2) {
1894
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1895
- i0.ɵɵadvance();
1896
- i0.ɵɵtextInterpolate(rowData_r6.existenciaSecundaria);
1897
- } }
1898
- function SeleccionaArticuloComponent_ng_template_27_td_8_Template(rf, ctx) { if (rf & 1) {
1899
- i0.ɵɵelementStart(0, "td", 36);
1900
- i0.ɵɵtext(1);
1901
- i0.ɵɵelementEnd();
1902
- } if (rf & 2) {
1903
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1904
- i0.ɵɵadvance();
1905
- i0.ɵɵtextInterpolate(rowData_r6.unidadSecundariaCodigo);
1906
- } }
1907
- function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if (rf & 1) {
1908
- i0.ɵɵelementStart(0, "td", 39);
1909
- i0.ɵɵtext(1);
1910
- i0.ɵɵpipe(2, "currency");
1911
- i0.ɵɵelementEnd();
1912
- } if (rf & 2) {
1913
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1914
- i0.ɵɵadvance();
1915
- i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, rowData_r6.precioConImpuestos), " ");
1916
- } }
1917
- function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if (rf & 1) {
1918
- i0.ɵɵelementStart(0, "td", 39);
1919
- i0.ɵɵtext(1);
1920
- i0.ɵɵpipe(2, "currency");
1921
- i0.ɵɵelementEnd();
1922
- } if (rf & 2) {
1923
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1924
- i0.ɵɵadvance();
1925
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio2ConImpuestos));
1926
- } }
1927
- function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if (rf & 1) {
1928
- i0.ɵɵelementStart(0, "td", 39);
1929
- i0.ɵɵtext(1);
1930
- i0.ɵɵpipe(2, "currency");
1931
- i0.ɵɵelementEnd();
1932
- } if (rf & 2) {
1933
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1934
- i0.ɵɵadvance();
1935
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio3ConImpuestos));
1936
- } }
1937
- function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if (rf & 1) {
1938
- i0.ɵɵelementStart(0, "td", 39);
1939
- i0.ɵɵtext(1);
1940
- i0.ɵɵpipe(2, "currency");
1941
- i0.ɵɵelementEnd();
1942
- } if (rf & 2) {
1943
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1944
- i0.ɵɵadvance();
1945
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio4ConImpuestos));
1946
- } }
1947
- function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if (rf & 1) {
1948
- i0.ɵɵelementStart(0, "td", 39);
1949
- i0.ɵɵtext(1);
1950
- i0.ɵɵpipe(2, "currency");
1951
- i0.ɵɵelementEnd();
1952
- } if (rf & 2) {
1953
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1954
- i0.ɵɵadvance();
1955
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio5ConImpuestos));
1956
- } }
1957
- function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if (rf & 1) {
1958
- i0.ɵɵelementStart(0, "td", 36);
1959
- i0.ɵɵtext(1);
1960
- i0.ɵɵpipe(2, "currency");
1961
- i0.ɵɵelementEnd();
1962
- } if (rf & 2) {
1963
- const rowData_r6 = i0.ɵɵnextContext().$implicit;
1964
- i0.ɵɵadvance();
1965
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio));
1966
- } }
1967
- function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { if (rf & 1) {
1968
- i0.ɵɵelementStart(0, "div", 45)(1, "div", 46)(2, "label", 47);
1969
- i0.ɵɵtext(3);
1970
- i0.ɵɵelementEnd()();
1971
- i0.ɵɵelementStart(4, "div", 46)(5, "label", 47);
1972
- i0.ɵɵtext(6);
1973
- i0.ɵɵpipe(7, "number");
1974
- i0.ɵɵelementEnd()()();
1975
- } if (rf & 2) {
1976
- const item_r7 = ctx.$implicit;
1977
- i0.ɵɵadvance(3);
1978
- i0.ɵɵtextInterpolate(item_r7.unidad_codigo);
1979
- i0.ɵɵadvance(3);
1980
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, item_r7.unidad_existencia, "1.2-2"));
1981
- } }
1982
- function SeleccionaArticuloComponent_ng_template_27_td_23_Template(rf, ctx) { if (rf & 1) {
1983
- i0.ɵɵelementStart(0, "td", 39);
1984
- i0.ɵɵtext(1);
1985
- i0.ɵɵelementEnd();
1986
- } if (rf & 2) {
1987
- const itemData_r8 = ctx.$implicit;
1988
- i0.ɵɵadvance();
1989
- i0.ɵɵtextInterpolate(itemData_r8.valor);
1990
- } }
1991
- function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
1992
- const _r5 = i0.ɵɵgetCurrentView();
1993
- i0.ɵɵelementStart(0, "tr", 32);
1994
- i0.ɵɵtemplate(1, SeleccionaArticuloComponent_ng_template_27_td_1_Template, 2, 0, "td", 33)(2, SeleccionaArticuloComponent_ng_template_27_td_2_Template, 2, 1, "td", 34);
1995
- i0.ɵɵelementStart(3, "td", 35);
1996
- i0.ɵɵtext(4);
1997
- i0.ɵɵelementEnd();
1998
- i0.ɵɵelementStart(5, "td", 36);
1999
- i0.ɵɵtext(6);
2000
- i0.ɵɵelementEnd();
2001
- i0.ɵɵtemplate(7, SeleccionaArticuloComponent_ng_template_27_td_7_Template, 2, 1, "td", 37)(8, SeleccionaArticuloComponent_ng_template_27_td_8_Template, 2, 1, "td", 38);
2002
- i0.ɵɵelementStart(9, "td", 39);
2003
- i0.ɵɵtext(10);
2004
- i0.ɵɵelementEnd();
2005
- i0.ɵɵelementStart(11, "td", 40);
2006
- i0.ɵɵtext(12);
2007
- i0.ɵɵelementEnd();
2008
- i0.ɵɵelementStart(13, "td", 36)(14, "button", 41);
2009
- i0.ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_27_Template_button_click_14_listener() { const rowData_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onShowInformacion(rowData_r6)); });
2010
- i0.ɵɵelementEnd()();
2011
- i0.ɵɵtemplate(15, SeleccionaArticuloComponent_ng_template_27_td_15_Template, 3, 3, "td", 34)(16, SeleccionaArticuloComponent_ng_template_27_td_16_Template, 3, 3, "td", 34)(17, SeleccionaArticuloComponent_ng_template_27_td_17_Template, 3, 3, "td", 34)(18, SeleccionaArticuloComponent_ng_template_27_td_18_Template, 3, 3, "td", 34)(19, SeleccionaArticuloComponent_ng_template_27_td_19_Template, 3, 3, "td", 34)(20, SeleccionaArticuloComponent_ng_template_27_td_20_Template, 3, 3, "td", 38);
2012
- i0.ɵɵelementStart(21, "td", 36);
2013
- i0.ɵɵtemplate(22, SeleccionaArticuloComponent_ng_template_27_div_22_Template, 8, 5, "div", 42);
2014
- i0.ɵɵelementEnd();
2015
- i0.ɵɵtemplate(23, SeleccionaArticuloComponent_ng_template_27_td_23_Template, 2, 1, "td", 43);
2016
- i0.ɵɵelementEnd();
2017
- } if (rf & 2) {
2018
- const rowData_r6 = ctx.$implicit;
2019
- const ctx_r3 = i0.ɵɵnextContext();
2020
- i0.ɵɵproperty("pSelectableRow", rowData_r6);
2021
- i0.ɵɵadvance();
2022
- i0.ɵɵproperty("ngIf", !rowData_r6.ubicacionCodigo);
2023
- i0.ɵɵadvance();
2024
- i0.ɵɵproperty("ngIf", rowData_r6.ubicacionCodigo);
2025
- i0.ɵɵadvance(2);
2026
- i0.ɵɵtextInterpolate(rowData_r6.existencia);
2027
- i0.ɵɵadvance(2);
2028
- i0.ɵɵtextInterpolate(rowData_r6.unidadCodigo);
2029
- i0.ɵɵadvance();
2030
- i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
2031
- i0.ɵɵadvance();
2032
- i0.ɵɵproperty("ngIf", ctx_r3.manejaUnidadSecundaria);
2033
- i0.ɵɵadvance(2);
2034
- i0.ɵɵtextInterpolate(rowData_r6.articulo.codigo);
2035
- i0.ɵɵadvance(2);
2036
- i0.ɵɵtextInterpolate(rowData_r6.articulo.descripcion);
2037
- i0.ɵɵadvance(3);
2038
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
2039
- i0.ɵɵadvance();
2040
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
2041
- i0.ɵɵadvance();
2042
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
2043
- i0.ɵɵadvance();
2044
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
2045
- i0.ɵɵadvance();
2046
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio !== "costo");
2047
- i0.ɵɵadvance();
2048
- i0.ɵɵproperty("ngIf", ctx_r3.configuracion.tipoPrecio === "costo");
2049
- i0.ɵɵadvance(2);
2050
- i0.ɵɵproperty("ngForOf", rowData_r6.existenciaUnidades);
2051
- i0.ɵɵadvance();
2052
- i0.ɵɵproperty("ngForOf", rowData_r6.articuloClasificadorList);
2053
- } }
2054
- function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template(rf, ctx) { if (rf & 1) {
2055
- const _r9 = i0.ɵɵgetCurrentView();
2056
- i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 48);
2057
- i0.ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onEventInformacion($event)); });
2058
- i0.ɵɵelementEnd();
2059
- } if (rf & 2) {
2060
- const ctx_r3 = i0.ɵɵnextContext();
2061
- i0.ɵɵproperty("showModal", ctx_r3.showModalInformacion)("articulo", ctx_r3.articuloSelected);
2062
- } }
1550
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeleccionArticuloInformacionComponent, deps: [{ token: ArticuloInformacionService }], target: i0.ɵɵFactoryTarget.Component }); }
1551
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SeleccionArticuloInformacionComponent, selector: "lib-seleccion-articulo-informacion", inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, ngImport: i0, template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </ng-template>\n</p-dialog>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i18.ResizableColumn, selector: "[pResizableColumn]", inputs: ["pResizableColumnDisabled"] }, { kind: "directive", type: i21.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "component", type: i33.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] }); }
1552
+ }
1553
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeleccionArticuloInformacionComponent, decorators: [{
1554
+ type: Component,
1555
+ args: [{ selector: 'lib-seleccion-articulo-informacion', standalone: false, template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </ng-template>\n</p-dialog>" }]
1556
+ }], ctorParameters: () => [{ type: ArticuloInformacionService }], propDecorators: { showModal: [{
1557
+ type: Input
1558
+ }], articulo: [{
1559
+ type: Input
1560
+ }], eventSelection: [{
1561
+ type: Output
1562
+ }] } });
1563
+
2063
1564
  class SeleccionaArticuloComponent {
2064
1565
  constructor(_stockService, _paginateService, _almacenService) {
2065
1566
  this._stockService = _stockService;
@@ -2150,89 +1651,92 @@ class SeleccionaArticuloComponent {
2150
1651
  onEventInformacion(event) {
2151
1652
  this.showModalInformacion = event.status;
2152
1653
  }
2153
- /** @nocollapse */ static { this.ɵfac = function SeleccionaArticuloComponent_Factory(t) { return new (t || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); }; }
2154
- /** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, decls: 30, vars: 24, consts: [["dt", ""], [3, "visibleChange", "onShow", "onHide", "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModelChange", "change", "ngModel"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModelChange", "keypress", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], [2, "width", "100px"], ["for", "almacen"], ["pInputText", "", "disabled", "", "id", "almacen", 2, "width", "200px", 3, "ngModelChange", "change", "ngModel"], [3, "value", 4, "ngFor", "ngForOf"], ["scrollHeight", "400px", "responsiveLayout", "scroll", "selectionMode", "single", 3, "onRowSelect", "value", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"], [3, "showModal", "articulo", "eventSelection", 4, "ngIf"], [3, "value"], ["translate", "", 2, "width", "80px"], ["translate", "", 2, "width", "70px"], ["translate", "", 2, "width", "40px"], ["style", "width: 50px", "translate", "", 4, "ngIf"], ["style", "width: 40px", "translate", "", 4, "ngIf"], ["translate", "", 2, "width", "120px"], ["style", "width: 80px", "translate", "", 4, "ngIf"], ["style", "width: 80px", "translate", "", 4, "ngFor", "ngForOf"], ["translate", "", 2, "width", "50px"], [3, "pSelectableRow"], ["style", "width: 80px;", "translate", "", 4, "ngIf"], ["style", "width: 80px;", 4, "ngIf"], [2, "width", "70px"], [2, "width", "40px"], ["style", "width: 50px;", 4, "ngIf"], ["style", "width: 40px;", 4, "ngIf"], [2, "width", "80px"], [2, "width", "120px"], ["pButton", "", "type", "button", "icon", "pi pi-eye", 1, "ui-button-raised", "ui-button-primary", 3, "click"], ["class", "row justify-content-between", 4, "ngFor", "ngForOf"], ["style", "width: 80px;", 4, "ngFor", "ngForOf"], [2, "width", "50px"], [1, "row", "justify-content-between"], [1, "col-lg-4"], ["for", ""], [3, "eventSelection", "showModal", "articulo"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
2155
- const _r1 = i0.ɵɵgetCurrentView();
2156
- i0.ɵɵelementStart(0, "p-dialog", 1);
2157
- i0.ɵɵpipe(1, "translate");
2158
- i0.ɵɵtwoWayListener("visibleChange", function SeleccionaArticuloComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.showArticulos, $event) || (ctx.showArticulos = $event); return i0.ɵɵresetView($event); });
2159
- i0.ɵɵlistener("onShow", function SeleccionaArticuloComponent_Template_p_dialog_onShow_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosShow()); })("onHide", function SeleccionaArticuloComponent_Template_p_dialog_onHide_0_listener() { i0.ɵɵrestoreView(_r1); ctx.busquedaArticulos = { tipoBusqueda: "" }; return i0.ɵɵresetView(ctx.emitirShowArticulos()); });
2160
- i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "select", 6);
2161
- i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_6_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.busquedaArticulos.tipoBusqueda, $event) || (ctx.busquedaArticulos.tipoBusqueda = $event); return i0.ɵɵresetView($event); });
2162
- i0.ɵɵlistener("change", function SeleccionaArticuloComponent_Template_select_change_6_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosVal()); });
2163
- i0.ɵɵelementStart(7, "option", 7);
2164
- i0.ɵɵtext(8, "Codigo");
2165
- i0.ɵɵelementEnd();
2166
- i0.ɵɵelementStart(9, "option", 8);
2167
- i0.ɵɵtext(10, "Descripcion");
2168
- i0.ɵɵelementEnd();
2169
- i0.ɵɵelementStart(11, "option", 9);
2170
- i0.ɵɵtext(12, "Coincidencia");
2171
- i0.ɵɵelementEnd();
2172
- i0.ɵɵelementStart(13, "option", 10);
2173
- i0.ɵɵtext(14, "Igual a");
2174
- i0.ɵɵelementEnd()()();
2175
- i0.ɵɵelementStart(15, "input", 11);
2176
- i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_input_ngModelChange_15_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.busquedaArticulos.key, $event) || (ctx.busquedaArticulos.key = $event); return i0.ɵɵresetView($event); });
2177
- i0.ɵɵlistener("keypress", function SeleccionaArticuloComponent_Template_input_keypress_15_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosKey($event)); });
2178
- i0.ɵɵelementEnd();
2179
- i0.ɵɵelementStart(16, "button", 12);
2180
- i0.ɵɵlistener("click", function SeleccionaArticuloComponent_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulos()); });
2181
- i0.ɵɵelementEnd()()();
2182
- i0.ɵɵelementStart(17, "div", 3)(18, "div", 4)(19, "div", 13)(20, "label", 14);
2183
- i0.ɵɵtext(21, "Almacen:");
2184
- i0.ɵɵelementEnd()();
2185
- i0.ɵɵelementStart(22, "select", 15);
2186
- i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.movimiento.almacen, $event) || (ctx.movimiento.almacen = $event); return i0.ɵɵresetView($event); });
2187
- i0.ɵɵlistener("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosVal()); });
2188
- i0.ɵɵtemplate(23, SeleccionaArticuloComponent_option_23_Template, 2, 2, "option", 16);
2189
- i0.ɵɵelementEnd()()()();
2190
- i0.ɵɵelementStart(24, "p-table", 17, 0);
2191
- i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_24_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.filaSeleccionada($event)); });
2192
- i0.ɵɵtemplate(26, SeleccionaArticuloComponent_ng_template_26_Template, 23, 9, "ng-template", 18)(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 17, "ng-template", 19);
2193
- i0.ɵɵelementEnd();
2194
- i0.ɵɵelementStart(28, "p-paginator", 20);
2195
- i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_28_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pagina($event)); });
2196
- i0.ɵɵelementEnd()();
2197
- i0.ɵɵtemplate(29, SeleccionaArticuloComponent_lib_seleccion_articulo_informacion_29_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
2198
- } if (rf & 2) {
2199
- i0.ɵɵstyleMap(i0.ɵɵpureFunction1(21, _c0, ctx.size + "px"));
2200
- i0.ɵɵpropertyInterpolate("header", i0.ɵɵpipeBind1(1, 19, "Articulos"));
2201
- i0.ɵɵtwoWayProperty("visible", ctx.showArticulos);
2202
- i0.ɵɵproperty("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
2203
- i0.ɵɵadvance(6);
2204
- i0.ɵɵtwoWayProperty("ngModel", ctx.busquedaArticulos.tipoBusqueda);
2205
- i0.ɵɵadvance(9);
2206
- i0.ɵɵtwoWayProperty("ngModel", ctx.busquedaArticulos.key);
2207
- i0.ɵɵadvance(7);
2208
- i0.ɵɵtwoWayProperty("ngModel", ctx.movimiento.almacen);
2209
- i0.ɵɵadvance();
2210
- i0.ɵɵproperty("ngForOf", ctx.almacenList);
2211
- i0.ɵɵadvance();
2212
- i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true);
2213
- i0.ɵɵadvance(4);
2214
- i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(23, _c1));
2215
- i0.ɵɵadvance();
2216
- i0.ɵɵproperty("ngIf", ctx.showModalInformacion);
2217
- } }, dependencies: [i4.NgForOf, i4.NgIf, i3.PrimeTemplate, i15.Table, i15.SelectableRow, i18.ButtonDirective, i19.InputText, i24.Paginator, i4$1.NgSelectOption, i4$1.ɵNgSelectMultipleOption, i4$1.DefaultValueAccessor, i4$1.SelectControlValueAccessor, i4$1.NgControlStatus, i4$1.NgModel, i30.Dialog, i2.TranslateDirective, SeleccionArticuloInformacionComponent, i4.DecimalPipe, i4.CurrencyPipe, i2.TranslatePipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] }); }
2218
- }
2219
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
2220
- type: Component,
2221
- args: [{ selector: 'app-selecciona-articulo', template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\" \n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
2222
- }], () => [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }], { configuracion: [{
2223
- type: Input
2224
- }], showArticulos: [{
2225
- type: Input
2226
- }], movimiento: [{
2227
- type: Input
2228
- }], manejaUnidadSecundaria: [{
2229
- type: Input
2230
- }], emitFilaSeleccionada: [{
2231
- type: Output
2232
- }], emitShowArticulos: [{
2233
- type: Output
2234
- }] }); })();
2235
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionaArticuloComponent, { className: "SeleccionaArticuloComponent" }); })();
1654
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeleccionaArticuloComponent, deps: [{ token: StockService }, { token: PaginateService }, { token: AlmacenService }], target: i0.ɵɵFactoryTarget.Component }); }
1655
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SeleccionaArticuloComponent, selector: "app-selecciona-articulo", inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, ngImport: i0, template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\" \n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i18.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i21.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i22.InputText, selector: "[pInputText]" }, { kind: "component", type: i27.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "directive", type: i10.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i10.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i33.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i3$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: SeleccionArticuloInformacionComponent, selector: "lib-seleccion-articulo-informacion", inputs: ["showModal", "articulo"], outputs: ["eventSelection"] }, { kind: "pipe", type: i4.DecimalPipe, name: "number" }, { kind: "pipe", type: i4.CurrencyPipe, name: "currency" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] }); }
1656
+ }
1657
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeleccionaArticuloComponent, decorators: [{
1658
+ type: Component,
1659
+ args: [{ selector: 'app-selecciona-articulo', standalone: false, template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n <div class=\"col-12 col-center\" >-->\n<p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n <option *ngFor=\"let almacen of almacenList\" value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\" \n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" \n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n \n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\" \n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n <th style=\"width: 50px\" *ngIf=\"manejaUnidadSecundaria\" translate>existenciaSecundaria</th>\n <th style=\"width: 40px\" *ngIf=\"manejaUnidadSecundaria\" translate>Unidad</th>\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 2</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 3</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 4</th>\n <th style=\"width: 80px\" *ngIf=\"configuracion.tipoPrecio !== 'costo' \" translate>Precio 5</th>\n <th style=\"width: 40px\" *ngIf=\"configuracion.tipoPrecio === 'costo' \" translate>Movimiento.costo</th>\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n <th *ngFor=\"let item of clasificadorList\" style=\"width: 80px\" translate>{{item.descripcion}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td style=\"width: 80px;\" *ngIf=\"!rowData.ubicacionCodigo\" translate>Movimiento.NoAsignado</td>\n <td style=\"width: 80px;\" *ngIf=\"rowData.ubicacionCodigo\">{{rowData.ubicacionCodigo}}</td>\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n <td style=\"width: 50px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.existenciaSecundaria}}</td>\n <td style=\"width: 40px;\" *ngIf=\"manejaUnidadSecundaria\">{{rowData.unidadSecundariaCodigo}}</td>\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precioConImpuestos | currency }}\n </td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n <td style=\"width: 80px;\" *ngIf=\"configuracion.tipoPrecio !== 'costo'\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n <td style=\"width: 40px;\" *ngIf=\"configuracion.tipoPrecio === 'costo' \">{{rowData.precio | currency }}</td>\n <td style=\"width: 40px;\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of rowData.existenciaUnidades\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n <td *ngFor=\"let itemData of rowData.articuloClasificadorList\" style=\"width: 80px;\">{{itemData.valor}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!-- \n <p-table [(value)]=\"articulosList\" responsive=\"true\" \n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n \n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div> \n </div> \n </ng-template>\n </p-column>\n \n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!-- \n </div>\n </div>\n -->\n</p-dialog>\n<!--\n </div> \n -->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n<lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\" *ngIf=\"showModalInformacion\">\n</lib-seleccion-articulo-informacion>", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
1660
+ }], ctorParameters: () => [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }], propDecorators: { configuracion: [{
1661
+ type: Input
1662
+ }], showArticulos: [{
1663
+ type: Input
1664
+ }], movimiento: [{
1665
+ type: Input
1666
+ }], manejaUnidadSecundaria: [{
1667
+ type: Input
1668
+ }], emitFilaSeleccionada: [{
1669
+ type: Output
1670
+ }], emitShowArticulos: [{
1671
+ type: Output
1672
+ }] } });
1673
+
1674
+ class AcreedorService extends CrudService {
1675
+ constructor(httpClient) {
1676
+ super(httpClient, 'acreedor');
1677
+ this.httpClient = httpClient;
1678
+ }
1679
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
1680
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorService, providedIn: 'root' }); }
1681
+ }
1682
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorService, decorators: [{
1683
+ type: Injectable,
1684
+ args: [{
1685
+ providedIn: 'root'
1686
+ }]
1687
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
1688
+
1689
+ class SelectAcreedorComponent {
1690
+ constructor(acreedorService, paginanateService, translate) {
1691
+ this.acreedorService = acreedorService;
1692
+ this.paginanateService = paginanateService;
1693
+ this.translate = translate;
1694
+ this.params = [];
1695
+ this.ordenar = [];
1696
+ this.visible = false;
1697
+ this.acreedorSeleccionado = new Proveedor();
1698
+ this.select = new EventEmitter();
1699
+ this.translate.get('es');
1700
+ }
1701
+ ngOnInit() {
1702
+ this.page = this.paginanateService.getPage();
1703
+ let arg = [];
1704
+ this.ordenar = this.paginanateService.getOrden(arg, 'es');
1705
+ this.acreedores = [];
1706
+ }
1707
+ cargarDatosAcreedores() {
1708
+ this.params = this.paginanateService.getParams(this.page);
1709
+ this.params.push({ param: 'estatus', value: true });
1710
+ this.acreedorService.getAll(this.params).subscribe((data) => {
1711
+ this.acreedores = data.data;
1712
+ });
1713
+ }
1714
+ pagina(e) {
1715
+ this.page.rows = e.rows;
1716
+ this.page.offset = e.first;
1717
+ this.cargarDatosAcreedores;
1718
+ }
1719
+ cerrarModal() {
1720
+ this.select.emit(null);
1721
+ this.visible = false;
1722
+ }
1723
+ seleccionarAcreedor(e) {
1724
+ this.select.emit(e.data);
1725
+ this.visible = false;
1726
+ }
1727
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectAcreedorComponent, deps: [{ token: AcreedorService }, { token: PaginateService }, { token: i3$1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
1728
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SelectAcreedorComponent, selector: "select-acreedor", inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, ngImport: i0, template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosAcreedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"cargarDatosAcreedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosAcreedores()\"></button>\n </div>\n <p-table\n [value]=\"acreedores\"\n dataKey=\"id\" selectionMode=\"single\"\n [(selection)]=\"acreedorSeleccionado\"\n (onRowSelect)=\"seleccionarAcreedor($event)\"\n [scrollable]=\"true\"\n scrollHeight=\"350px\"\n responsiveLayout=\"scroll\" \n >\n\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'atrasoDiasEntrega' | translate}}</th>\n <th>{{'limiteCredito' | translate}}</th>\n <th>{{'fechaUltimaCompra' | translate}}</th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-acreedor>\n <tr [pSelectableRow]=\"acreedor\">\n <td>{{acreedor.descripcionRazonSocial}}</td>\n <td>{{acreedor.descripcionRfc}}</td>\n <td>\n <span *ngIf=\"acreedor.personaMoral\">{{'moral' | translate}}</span>\n <span *ngIf=\"acreedor.personaFisica\">{{'fisico' | translate}}</span>\n </td>\n <td>{{acreedor.atrasoDiasEntrega}}</td>\n <td>{{acreedor.limiteCredito}}</td>\n <td>{{acreedor.fechaUltimaCompra | date:'dd/MM/yyyy'}}</td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td [attr.colspan]=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i18.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i18.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i21.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i22.InputText, selector: "[pInputText]" }, { kind: "component", type: i27.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "directive", type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i33.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "pipe", type: i4.DatePipe, name: "date" }, { kind: "pipe", type: i3$1.TranslatePipe, name: "translate" }] }); }
1729
+ }
1730
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectAcreedorComponent, decorators: [{
1731
+ type: Component,
1732
+ args: [{ standalone: false, selector: 'select-acreedor', template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosAcreedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"cargarDatosAcreedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosAcreedores()\"></button>\n </div>\n <p-table\n [value]=\"acreedores\"\n dataKey=\"id\" selectionMode=\"single\"\n [(selection)]=\"acreedorSeleccionado\"\n (onRowSelect)=\"seleccionarAcreedor($event)\"\n [scrollable]=\"true\"\n scrollHeight=\"350px\"\n responsiveLayout=\"scroll\" \n >\n\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'atrasoDiasEntrega' | translate}}</th>\n <th>{{'limiteCredito' | translate}}</th>\n <th>{{'fechaUltimaCompra' | translate}}</th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-acreedor>\n <tr [pSelectableRow]=\"acreedor\">\n <td>{{acreedor.descripcionRazonSocial}}</td>\n <td>{{acreedor.descripcionRfc}}</td>\n <td>\n <span *ngIf=\"acreedor.personaMoral\">{{'moral' | translate}}</span>\n <span *ngIf=\"acreedor.personaFisica\">{{'fisico' | translate}}</span>\n </td>\n <td>{{acreedor.atrasoDiasEntrega}}</td>\n <td>{{acreedor.limiteCredito}}</td>\n <td>{{acreedor.fechaUltimaCompra | date:'dd/MM/yyyy'}}</td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td [attr.colspan]=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
1733
+ }], ctorParameters: () => [{ type: AcreedorService }, { type: PaginateService }, { type: i3$1.TranslateService }], propDecorators: { visible: [{
1734
+ type: Input
1735
+ }], acreedorSeleccionado: [{
1736
+ type: Input
1737
+ }], select: [{
1738
+ type: Output
1739
+ }] } });
2236
1740
 
2237
1741
  const components = [
2238
1742
  LoadingComponent,
@@ -2240,7 +1744,10 @@ const components = [
2240
1744
  LoginModalComponent,
2241
1745
  PdfModalComponent,
2242
1746
  SessionCreateComponent,
2243
- SeleccionaArticuloComponent
1747
+ SelectClienteComponent,
1748
+ SelectProveedorComponent,
1749
+ SeleccionaArticuloComponent,
1750
+ SelectAcreedorComponent
2244
1751
  ];
2245
1752
  const exportComponents = components;
2246
1753
  const exportServices = [];
@@ -2285,9 +1792,9 @@ function HttpLoaderFactory(http) {
2285
1792
  return new TranslateHttpLoader(http, './assets/i18n/', '.json');
2286
1793
  }
2287
1794
  class CoreLibModule {
2288
- /** @nocollapse */ static { this.ɵfac = function CoreLibModule_Factory(t) { return new (t || CoreLibModule)(); }; }
2289
- /** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule }); }
2290
- /** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
1795
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1796
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CoreLibModule, declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, FormsModule, i1$1.ToastrModule, i3$1.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, TranslateModule] }); }
1797
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibModule, providers: [
2291
1798
  primeNgServices,
2292
1799
  { provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
2293
1800
  ], imports: [CommonModule,
@@ -2300,61 +1807,37 @@ class CoreLibModule {
2300
1807
  useFactory: HttpLoaderFactory,
2301
1808
  deps: [HttpClient]
2302
1809
  }
2303
- }), i9.CardModule, i10.TooltipModule, i11.OverlayPanelModule, i12.RadioButtonModule, i13.CheckboxModule, i14.AutoCompleteModule, i15.TableModule, i16.TreeTableModule, i17.CalendarModule, i15.TableModule, i18.ButtonModule, i19.InputTextModule, i20.DropdownModule, i21.InputMaskModule, i22.MessagesModule, i23.MessageModule, i24.PaginatorModule, i25.ConfirmDialogModule, i26.ProgressBarModule, i27.TriStateCheckboxModule, i28.KeyFilterModule, i29.InputSwitchModule, i30.DialogModule, i31.TabViewModule, i32.PanelModule, i33.ToolbarModule, i34.SplitButtonModule, i35.FieldsetModule, i36.TreeModule, i37.TabMenuModule, i38.MenubarModule, TranslateModule] }); }
2304
- }
2305
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
2306
- type: NgModule,
2307
- args: [{
2308
- declarations: [
2309
- Error404Component,
2310
- components,
2311
- contaComponents,
2312
- SeleccionArticuloInformacionComponent
2313
- ],
2314
- imports: [
2315
- CommonModule,
2316
- primeNg,
2317
- FormsModule,
2318
- ToastrModule.forRoot(),
2319
- TranslateModule.forRoot({
2320
- loader: {
2321
- provide: TranslateLoader,
2322
- useFactory: HttpLoaderFactory,
2323
- deps: [HttpClient]
2324
- }
2325
- })
2326
- ],
2327
- providers: [
2328
- primeNgServices,
2329
- { provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
2330
- ],
2331
- exports: [components, contaComponents, primeNg, TranslateModule]
2332
- }]
2333
- }], null, null); })();
2334
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CoreLibModule, { declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SeleccionaArticuloComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i9.CardModule, i10.TooltipModule, i11.OverlayPanelModule, i12.RadioButtonModule, i13.CheckboxModule, i14.AutoCompleteModule, i15.TableModule, i16.TreeTableModule, i17.CalendarModule, i15.TableModule, i18.ButtonModule, i19.InputTextModule, i20.DropdownModule, i21.InputMaskModule, i22.MessagesModule, i23.MessageModule, i24.PaginatorModule, i25.ConfirmDialogModule, i26.ProgressBarModule, i27.TriStateCheckboxModule, i28.KeyFilterModule, i29.InputSwitchModule, i30.DialogModule, i31.TabViewModule, i32.PanelModule, i33.ToolbarModule, i34.SplitButtonModule, i35.FieldsetModule, i36.TreeModule, i37.TabMenuModule, i38.MenubarModule, FormsModule, i1$1.ToastrModule, i2.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SeleccionaArticuloComponent, CclistaComponent, CcseleccionDialogComponent, i9.CardModule, i10.TooltipModule, i11.OverlayPanelModule, i12.RadioButtonModule, i13.CheckboxModule, i14.AutoCompleteModule, i15.TableModule, i16.TreeTableModule, i17.CalendarModule, i15.TableModule, i18.ButtonModule, i19.InputTextModule, i20.DropdownModule, i21.InputMaskModule, i22.MessagesModule, i23.MessageModule, i24.PaginatorModule, i25.ConfirmDialogModule, i26.ProgressBarModule, i27.TriStateCheckboxModule, i28.KeyFilterModule, i29.InputSwitchModule, i30.DialogModule, i31.TabViewModule, i32.PanelModule, i33.ToolbarModule, i34.SplitButtonModule, i35.FieldsetModule, i36.TreeModule, i37.TabMenuModule, i38.MenubarModule, TranslateModule] }); })();
2335
-
2336
- class Persona {
2337
- constructor() {
2338
- //this.estadoCivil= new EstadoCivil();
2339
- //this.genero = new Genero();
2340
- }
2341
- }
2342
-
2343
- class PersonaFisica {
2344
- constructor() {
2345
- this.datoPersona = new Persona();
2346
- this.contactos = [];
2347
- this.datoDirecciones = [];
2348
- }
2349
- }
2350
-
2351
- class PersonaMoral {
2352
- constructor() {
2353
- this.representanteLegal = new PersonaFisica();
2354
- this.contactos = [];
2355
- this.datoDirecciones = [];
2356
- }
2357
- }
1810
+ }), i12.CardModule, i13.TooltipModule, i14.OverlayPanelModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.CalendarModule, i18.TableModule, i21.ButtonModule, i22.InputTextModule, i23.DropdownModule, i24.InputMaskModule, i25.MessagesModule, i26.MessageModule, i27.PaginatorModule, i28.ConfirmDialogModule, i29.ProgressBarModule, i30.TriStateCheckboxModule, i31.KeyFilterModule, i32.InputSwitchModule, i33.DialogModule, i34.TabViewModule, i35.PanelModule, i36.ToolbarModule, i37.SplitButtonModule, i38.FieldsetModule, i39.TreeModule, i40.TabMenuModule, i41.MenubarModule, TranslateModule] }); }
1811
+ }
1812
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreLibModule, decorators: [{
1813
+ type: NgModule,
1814
+ args: [{
1815
+ declarations: [
1816
+ Error404Component,
1817
+ components,
1818
+ contaComponents,
1819
+ SeleccionArticuloInformacionComponent
1820
+ ],
1821
+ imports: [
1822
+ CommonModule,
1823
+ primeNg,
1824
+ FormsModule,
1825
+ ToastrModule.forRoot(),
1826
+ TranslateModule.forRoot({
1827
+ loader: {
1828
+ provide: TranslateLoader,
1829
+ useFactory: HttpLoaderFactory,
1830
+ deps: [HttpClient]
1831
+ }
1832
+ })
1833
+ ],
1834
+ providers: [
1835
+ primeNgServices,
1836
+ { provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
1837
+ ],
1838
+ exports: [components, contaComponents, primeNg, TranslateModule]
1839
+ }]
1840
+ }] });
2358
1841
 
2359
1842
  class ControlAccesoService {
2360
1843
  constructor(authService) {
@@ -2381,19 +1864,19 @@ class ControlAccesoService {
2381
1864
  }
2382
1865
  return permiso;
2383
1866
  }
2384
- /** @nocollapse */ static { this.ɵfac = function ControlAccesoService_Factory(t) { return new (t || ControlAccesoService)(i0.ɵɵinject(AuthService)); }; }
2385
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' }); }
1867
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlAccesoService, deps: [{ token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1868
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlAccesoService, providedIn: 'root' }); }
2386
1869
  }
2387
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
2388
- type: Injectable,
2389
- args: [{
2390
- providedIn: 'root'
2391
- }]
2392
- }], () => [{ type: AuthService }], { cambioAcciones: [{
2393
- type: Output
2394
- }], changeDetalleUsuario: [{
2395
- type: Output
2396
- }] }); })();
1870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ControlAccesoService, decorators: [{
1871
+ type: Injectable,
1872
+ args: [{
1873
+ providedIn: 'root'
1874
+ }]
1875
+ }], ctorParameters: () => [{ type: AuthService }], propDecorators: { cambioAcciones: [{
1876
+ type: Output
1877
+ }], changeDetalleUsuario: [{
1878
+ type: Output
1879
+ }] } });
2397
1880
 
2398
1881
  class InitService {
2399
1882
  constructor(http, authService) {
@@ -2430,15 +1913,15 @@ class InitService {
2430
1913
  });
2431
1914
  });
2432
1915
  }
2433
- /** @nocollapse */ static { this.ɵfac = function InitService_Factory(t) { return new (t || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); }; }
2434
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' }); }
1916
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitService, deps: [{ token: i1.HttpClient }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1917
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitService, providedIn: 'root' }); }
2435
1918
  }
2436
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
2437
- type: Injectable,
2438
- args: [{
2439
- providedIn: 'root'
2440
- }]
2441
- }], () => [{ type: i1.HttpClient }, { type: AuthService }], null); })();
1919
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitService, decorators: [{
1920
+ type: Injectable,
1921
+ args: [{
1922
+ providedIn: 'root'
1923
+ }]
1924
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: AuthService }] });
2442
1925
 
2443
1926
  class MessageService {
2444
1927
  constructor(toastr) {
@@ -2505,29 +1988,29 @@ class MessageService {
2505
1988
  }
2506
1989
  return msgs;
2507
1990
  }
2508
- /** @nocollapse */ static { this.ɵfac = function MessageService_Factory(t) { return new (t || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); }; }
2509
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' }); }
1991
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MessageService, deps: [{ token: i1$1.ToastrService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1992
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MessageService, providedIn: 'root' }); }
2510
1993
  }
2511
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
2512
- type: Injectable,
2513
- args: [{
2514
- providedIn: 'root'
2515
- }]
2516
- }], () => [{ type: i1$1.ToastrService }], null); })();
1994
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MessageService, decorators: [{
1995
+ type: Injectable,
1996
+ args: [{
1997
+ providedIn: 'root'
1998
+ }]
1999
+ }], ctorParameters: () => [{ type: i1$1.ToastrService }] });
2517
2000
 
2518
2001
  class PersonaMoralService extends CrudService {
2519
2002
  constructor(http) {
2520
2003
  super(http, '/personaMoral');
2521
2004
  }
2522
- /** @nocollapse */ static { this.ɵfac = function PersonaMoralService_Factory(t) { return new (t || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); }; }
2523
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' }); }
2005
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaMoralService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2006
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaMoralService, providedIn: 'root' }); }
2524
2007
  }
2525
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
2526
- type: Injectable,
2527
- args: [{
2528
- providedIn: 'root'
2529
- }]
2530
- }], () => [{ type: i1.HttpClient }], null); })();
2008
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaMoralService, decorators: [{
2009
+ type: Injectable,
2010
+ args: [{
2011
+ providedIn: 'root'
2012
+ }]
2013
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2531
2014
 
2532
2015
  class CanActivateGuard {
2533
2016
  constructor(controlAccesoService) {
@@ -2541,30 +2024,30 @@ class CanActivateGuard {
2541
2024
  permisos(rol) {
2542
2025
  this.rol = rol;
2543
2026
  }
2544
- /** @nocollapse */ static { this.ɵfac = function CanActivateGuard_Factory(t) { return new (t || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); }; }
2545
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' }); }
2027
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CanActivateGuard, deps: [{ token: ControlAccesoService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2028
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CanActivateGuard, providedIn: 'root' }); }
2546
2029
  }
2547
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
2548
- type: Injectable,
2549
- args: [{
2550
- providedIn: 'root'
2551
- }]
2552
- }], () => [{ type: ControlAccesoService }], null); })();
2030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CanActivateGuard, decorators: [{
2031
+ type: Injectable,
2032
+ args: [{
2033
+ providedIn: 'root'
2034
+ }]
2035
+ }], ctorParameters: () => [{ type: ControlAccesoService }] });
2553
2036
 
2554
2037
  class CatalogoAdicionalService extends CrudService {
2555
2038
  constructor(httpClient) {
2556
2039
  super(httpClient, 'catalogoAdicional');
2557
2040
  this.httpClient = httpClient;
2558
2041
  }
2559
- /** @nocollapse */ static { this.ɵfac = function CatalogoAdicionalService_Factory(t) { return new (t || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); }; }
2560
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' }); }
2042
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoAdicionalService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2043
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoAdicionalService, providedIn: 'root' }); }
2561
2044
  }
2562
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
2563
- type: Injectable,
2564
- args: [{
2565
- providedIn: 'root'
2566
- }]
2567
- }], () => [{ type: i1.HttpClient }], null); })();
2045
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoAdicionalService, decorators: [{
2046
+ type: Injectable,
2047
+ args: [{
2048
+ providedIn: 'root'
2049
+ }]
2050
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2568
2051
 
2569
2052
  class Authenticated {
2570
2053
  constructor(authService, controlAccesoService, router) {
@@ -2625,15 +2108,15 @@ class Authenticated {
2625
2108
  }
2626
2109
  window.location.href = host;
2627
2110
  }
2628
- /** @nocollapse */ static { this.ɵfac = function Authenticated_Factory(t) { return new (t || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$2.Router)); }; }
2629
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' }); }
2111
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Authenticated, deps: [{ token: AuthService }, { token: ControlAccesoService }, { token: i3$3.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
2112
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Authenticated, providedIn: 'root' }); }
2630
2113
  }
2631
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
2632
- type: Injectable,
2633
- args: [{
2634
- providedIn: 'root'
2635
- }]
2636
- }], () => [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$2.Router }], null); })();
2114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Authenticated, decorators: [{
2115
+ type: Injectable,
2116
+ args: [{
2117
+ providedIn: 'root'
2118
+ }]
2119
+ }], ctorParameters: () => [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$3.Router }] });
2637
2120
 
2638
2121
  class VersionCheckService {
2639
2122
  constructor(http) {
@@ -2673,22 +2156,15 @@ class VersionCheckService {
2673
2156
  }
2674
2157
  return currentHash === newHash;
2675
2158
  }
2676
- /** @nocollapse */ static { this.ɵfac = function VersionCheckService_Factory(t) { return new (t || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); }; }
2677
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' }); }
2678
- }
2679
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
2680
- type: Injectable,
2681
- args: [{
2682
- providedIn: 'root'
2683
- }]
2684
- }], () => [{ type: i1.HttpClient }], null); })();
2685
-
2686
- class Agente {
2687
- constructor() {
2688
- // this.catalogoTipo= new CatalogoTipo();
2689
- this.personaFisica = new PersonaFisica();
2690
- }
2159
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: VersionCheckService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2160
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: VersionCheckService, providedIn: 'root' }); }
2691
2161
  }
2162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: VersionCheckService, decorators: [{
2163
+ type: Injectable,
2164
+ args: [{
2165
+ providedIn: 'root'
2166
+ }]
2167
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2692
2168
 
2693
2169
  class AgenteService extends CrudService {
2694
2170
  constructor(httpClient) {
@@ -2707,15 +2183,15 @@ class AgenteService extends CrudService {
2707
2183
  let url = this.geturl() + '/obtenerAgenteEmpresa';
2708
2184
  return this.getHttp().get(url, this.buildAuth());
2709
2185
  }
2710
- /** @nocollapse */ static { this.ɵfac = function AgenteService_Factory(t) { return new (t || AgenteService)(i0.ɵɵinject(i1.HttpClient)); }; }
2711
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' }); }
2186
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2187
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteService, providedIn: 'root' }); }
2712
2188
  }
2713
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
2714
- type: Injectable,
2715
- args: [{
2716
- providedIn: 'root'
2717
- }]
2718
- }], () => [{ type: i1.HttpClient }], null); })();
2189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AgenteService, decorators: [{
2190
+ type: Injectable,
2191
+ args: [{
2192
+ providedIn: 'root'
2193
+ }]
2194
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2719
2195
 
2720
2196
  class Almacen {
2721
2197
  constructor() { }
@@ -2736,15 +2212,15 @@ class BancoService extends CrudService {
2736
2212
  constructor(http) {
2737
2213
  super(http, '/banco');
2738
2214
  }
2739
- /** @nocollapse */ static { this.ɵfac = function BancoService_Factory(t) { return new (t || BancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
2740
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' }); }
2215
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2216
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BancoService, providedIn: 'root' }); }
2741
2217
  }
2742
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
2743
- type: Injectable,
2744
- args: [{
2745
- providedIn: 'root'
2746
- }]
2747
- }], () => [{ type: i1.HttpClient }], null); })();
2218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BancoService, decorators: [{
2219
+ type: Injectable,
2220
+ args: [{
2221
+ providedIn: 'root'
2222
+ }]
2223
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2748
2224
 
2749
2225
  class CatalogoTipo {
2750
2226
  constructor() { }
@@ -2754,33 +2230,29 @@ class CatalogoTipoService extends CrudService {
2754
2230
  constructor(htt) {
2755
2231
  super(htt, '/catalogoTipo');
2756
2232
  }
2757
- /** @nocollapse */ static { this.ɵfac = function CatalogoTipoService_Factory(t) { return new (t || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
2758
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' }); }
2759
- }
2760
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
2761
- type: Injectable,
2762
- args: [{
2763
- providedIn: 'root'
2764
- }]
2765
- }], () => [{ type: i1.HttpClient }], null); })();
2766
-
2767
- class ClasificadorTipo {
2768
- constructor() { }
2233
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2234
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoService, providedIn: 'root' }); }
2769
2235
  }
2236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CatalogoTipoService, decorators: [{
2237
+ type: Injectable,
2238
+ args: [{
2239
+ providedIn: 'root'
2240
+ }]
2241
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2770
2242
 
2771
2243
  class ClasificadorTipoService extends CrudService {
2772
2244
  constructor(http) {
2773
2245
  super(http, '/clasificadorTipo');
2774
2246
  }
2775
- /** @nocollapse */ static { this.ɵfac = function ClasificadorTipoService_Factory(t) { return new (t || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
2776
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' }); }
2247
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClasificadorTipoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2248
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClasificadorTipoService, providedIn: 'root' }); }
2777
2249
  }
2778
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
2779
- type: Injectable,
2780
- args: [{
2781
- providedIn: 'root'
2782
- }]
2783
- }], () => [{ type: i1.HttpClient }], null); })();
2250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClasificadorTipoService, decorators: [{
2251
+ type: Injectable,
2252
+ args: [{
2253
+ providedIn: 'root'
2254
+ }]
2255
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2784
2256
 
2785
2257
  class ClaveMovimiento {
2786
2258
  constructor() { }
@@ -2790,24 +2262,15 @@ class ClaveMovimientoService extends CrudService {
2790
2262
  constructor(http) {
2791
2263
  super(http, 'claveMovimiento');
2792
2264
  }
2793
- /** @nocollapse */ static { this.ɵfac = function ClaveMovimientoService_Factory(t) { return new (t || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); }; }
2794
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' }); }
2795
- }
2796
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
2797
- type: Injectable,
2798
- args: [{
2799
- providedIn: 'root'
2800
- }]
2801
- }], () => [{ type: i1.HttpClient }], null); })();
2802
-
2803
- class Cliente {
2804
- constructor() {
2805
- this.agenteCobrador = new Agente();
2806
- this.agenteVendedor = new Agente();
2807
- this.personaFisica = new PersonaFisica();
2808
- this.personaMoral = new PersonaMoral();
2809
- }
2265
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveMovimientoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2266
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveMovimientoService, providedIn: 'root' }); }
2810
2267
  }
2268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveMovimientoService, decorators: [{
2269
+ type: Injectable,
2270
+ args: [{
2271
+ providedIn: 'root'
2272
+ }]
2273
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2811
2274
 
2812
2275
  class ClienteCuentaBanco {
2813
2276
  constructor() {
@@ -2828,23 +2291,6 @@ class ClienteFlete {
2828
2291
  }
2829
2292
  }
2830
2293
 
2831
- class ClienteService extends CrudService {
2832
- constructor(httpCliente) {
2833
- super(httpCliente, '/cliente');
2834
- }
2835
- validar_archivos_bss(id) {
2836
- return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
2837
- }
2838
- /** @nocollapse */ static { this.ɵfac = function ClienteService_Factory(t) { return new (t || ClienteService)(i0.ɵɵinject(i1.HttpClient)); }; }
2839
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' }); }
2840
- }
2841
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
2842
- type: Injectable,
2843
- args: [{
2844
- providedIn: 'root'
2845
- }]
2846
- }], () => [{ type: i1.HttpClient }], null); })();
2847
-
2848
2294
  class ClienteCuentaBancoService extends CrudService {
2849
2295
  constructor(httpClient) {
2850
2296
  super(httpClient, '/clienteCuentaBanco');
@@ -2854,15 +2300,15 @@ class ClienteCuentaBancoService extends CrudService {
2854
2300
  let p = { 'cuentas': params };
2855
2301
  return this.httpClient.post(this.geturl(), p, this.buildAuth());
2856
2302
  }
2857
- /** @nocollapse */ static { this.ɵfac = function ClienteCuentaBancoService_Factory(t) { return new (t || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
2858
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' }); }
2303
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteCuentaBancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2304
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteCuentaBancoService, providedIn: 'root' }); }
2859
2305
  }
2860
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
2861
- type: Injectable,
2862
- args: [{
2863
- providedIn: 'root'
2864
- }]
2865
- }], () => [{ type: i1.HttpClient }], null); })();
2306
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteCuentaBancoService, decorators: [{
2307
+ type: Injectable,
2308
+ args: [{
2309
+ providedIn: 'root'
2310
+ }]
2311
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2866
2312
 
2867
2313
  class ClienteFleteService extends CrudService {
2868
2314
  constructor(httpClient) {
@@ -2873,15 +2319,15 @@ class ClienteFleteService extends CrudService {
2873
2319
  let params = { fletes: p };
2874
2320
  return this.save(params);
2875
2321
  }
2876
- /** @nocollapse */ static { this.ɵfac = function ClienteFleteService_Factory(t) { return new (t || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
2877
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' }); }
2322
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteFleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2323
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteFleteService, providedIn: 'root' }); }
2878
2324
  }
2879
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
2880
- type: Injectable,
2881
- args: [{
2882
- providedIn: 'root'
2883
- }]
2884
- }], () => [{ type: i1.HttpClient }], null); })();
2325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClienteFleteService, decorators: [{
2326
+ type: Injectable,
2327
+ args: [{
2328
+ providedIn: 'root'
2329
+ }]
2330
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2885
2331
 
2886
2332
  class TipoContacto {
2887
2333
  constructor() {
@@ -2899,29 +2345,29 @@ class DatoContactoService extends CrudService {
2899
2345
  constructor(http) {
2900
2346
  super(http, '/contacto');
2901
2347
  }
2902
- /** @nocollapse */ static { this.ɵfac = function DatoContactoService_Factory(t) { return new (t || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
2903
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' }); }
2348
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoContactoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2349
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoContactoService, providedIn: 'root' }); }
2904
2350
  }
2905
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
2906
- type: Injectable,
2907
- args: [{
2908
- providedIn: 'root'
2909
- }]
2910
- }], () => [{ type: i1.HttpClient }], null); })();
2351
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoContactoService, decorators: [{
2352
+ type: Injectable,
2353
+ args: [{
2354
+ providedIn: 'root'
2355
+ }]
2356
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2911
2357
 
2912
2358
  class DatoDireccionService extends CrudService {
2913
2359
  constructor(http) {
2914
2360
  super(http, '/datoDireccion');
2915
2361
  }
2916
- /** @nocollapse */ static { this.ɵfac = function DatoDireccionService_Factory(t) { return new (t || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); }; }
2917
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' }); }
2362
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoDireccionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2363
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoDireccionService, providedIn: 'root' }); }
2918
2364
  }
2919
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
2920
- type: Injectable,
2921
- args: [{
2922
- providedIn: 'root'
2923
- }]
2924
- }], () => [{ type: i1.HttpClient }], null); })();
2365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DatoDireccionService, decorators: [{
2366
+ type: Injectable,
2367
+ args: [{
2368
+ providedIn: 'root'
2369
+ }]
2370
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2925
2371
 
2926
2372
  class Departamento {
2927
2373
  constructor() {
@@ -2932,15 +2378,15 @@ class DepartamentoService extends CrudService {
2932
2378
  constructor(http) {
2933
2379
  super(http, '/departamento');
2934
2380
  }
2935
- /** @nocollapse */ static { this.ɵfac = function DepartamentoService_Factory(t) { return new (t || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
2936
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' }); }
2381
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DepartamentoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2382
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DepartamentoService, providedIn: 'root' }); }
2937
2383
  }
2938
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
2939
- type: Injectable,
2940
- args: [{
2941
- providedIn: 'root'
2942
- }]
2943
- }], () => [{ type: i1.HttpClient }], null); })();
2384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DepartamentoService, decorators: [{
2385
+ type: Injectable,
2386
+ args: [{
2387
+ providedIn: 'root'
2388
+ }]
2389
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2944
2390
 
2945
2391
  class FormaPago {
2946
2392
  constructor() { }
@@ -2969,44 +2415,44 @@ class EmpresaService extends CrudService {
2969
2415
  // return super.get(1);
2970
2416
  return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
2971
2417
  }
2972
- /** @nocollapse */ static { this.ɵfac = function EmpresaService_Factory(t) { return new (t || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); }; }
2973
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' }); }
2418
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2419
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, providedIn: 'root' }); }
2974
2420
  }
2975
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
2976
- type: Injectable,
2977
- args: [{
2978
- providedIn: 'root'
2979
- }]
2980
- }], () => [{ type: i1.HttpClient }], null); })();
2421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, decorators: [{
2422
+ type: Injectable,
2423
+ args: [{
2424
+ providedIn: 'root'
2425
+ }]
2426
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2981
2427
 
2982
2428
  class FleteService extends CrudService {
2983
2429
  constructor(httpClient) {
2984
2430
  super(httpClient, '/flete');
2985
2431
  this.httpClient = httpClient;
2986
2432
  }
2987
- /** @nocollapse */ static { this.ɵfac = function FleteService_Factory(t) { return new (t || FleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
2988
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' }); }
2433
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2434
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FleteService, providedIn: 'root' }); }
2989
2435
  }
2990
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
2991
- type: Injectable,
2992
- args: [{
2993
- providedIn: 'root'
2994
- }]
2995
- }], () => [{ type: i1.HttpClient }], null); })();
2436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FleteService, decorators: [{
2437
+ type: Injectable,
2438
+ args: [{
2439
+ providedIn: 'root'
2440
+ }]
2441
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2996
2442
 
2997
2443
  class FormaPagoService extends CrudService {
2998
2444
  constructor(http) {
2999
2445
  super(http, '/FormaDePago');
3000
2446
  }
3001
- /** @nocollapse */ static { this.ɵfac = function FormaPagoService_Factory(t) { return new (t || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); }; }
3002
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" }); }
2447
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2448
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagoService, providedIn: "root" }); }
3003
2449
  }
3004
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
3005
- type: Injectable,
3006
- args: [{
3007
- providedIn: "root"
3008
- }]
3009
- }], () => [{ type: i1.HttpClient }], null); })();
2450
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormaPagoService, decorators: [{
2451
+ type: Injectable,
2452
+ args: [{
2453
+ providedIn: "root"
2454
+ }]
2455
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3010
2456
 
3011
2457
  class Moneda {
3012
2458
  constructor() { }
@@ -3017,15 +2463,15 @@ class MonedaService extends CrudService {
3017
2463
  super(httpClient, '/moneda');
3018
2464
  this.httpClient = httpClient;
3019
2465
  }
3020
- /** @nocollapse */ static { this.ɵfac = function MonedaService_Factory(t) { return new (t || MonedaService)(i0.ɵɵinject(i1.HttpClient)); }; }
3021
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' }); }
2466
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MonedaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2467
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MonedaService, providedIn: 'root' }); }
3022
2468
  }
3023
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
3024
- type: Injectable,
3025
- args: [{
3026
- providedIn: 'root'
3027
- }]
3028
- }], () => [{ type: i1.HttpClient }], null); })();
2469
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MonedaService, decorators: [{
2470
+ type: Injectable,
2471
+ args: [{
2472
+ providedIn: 'root'
2473
+ }]
2474
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3029
2475
 
3030
2476
  class EstadoCivil {
3031
2477
  constructor() { }
@@ -3046,24 +2492,15 @@ class PersonaFisicaService extends CrudService {
3046
2492
  getEstadoCivil() {
3047
2493
  return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
3048
2494
  }
3049
- /** @nocollapse */ static { this.ɵfac = function PersonaFisicaService_Factory(t) { return new (t || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); }; }
3050
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" }); }
3051
- }
3052
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
3053
- type: Injectable,
3054
- args: [{
3055
- providedIn: "root"
3056
- }]
3057
- }], () => [{ type: i1.HttpClient }], null); })();
3058
-
3059
- class Proveedor {
3060
- constructor() {
3061
- this.personaMoral = new PersonaMoral();
3062
- this.catalogoTipo = new ClasificadorTipo();
3063
- this.clasificadorTipo = new ClasificadorTipo();
3064
- this.personaFisica = new PersonaFisica();
3065
- }
2495
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaFisicaService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2496
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaFisicaService, providedIn: "root" }); }
3066
2497
  }
2498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PersonaFisicaService, decorators: [{
2499
+ type: Injectable,
2500
+ args: [{
2501
+ providedIn: "root"
2502
+ }]
2503
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3067
2504
 
3068
2505
  class ProveedorCuentaBanco {
3069
2506
  constructor() {
@@ -3080,21 +2517,6 @@ class ProveedorFlete {
3080
2517
  }
3081
2518
  }
3082
2519
 
3083
- class ProveedorService extends CrudService {
3084
- constructor(httpClient) {
3085
- super(httpClient, '/proveedor');
3086
- this.httpClient = httpClient;
3087
- }
3088
- /** @nocollapse */ static { this.ɵfac = function ProveedorService_Factory(t) { return new (t || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
3089
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' }); }
3090
- }
3091
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
3092
- type: Injectable,
3093
- args: [{
3094
- providedIn: 'root'
3095
- }]
3096
- }], () => [{ type: i1.HttpClient }], null); })();
3097
-
3098
2520
  class ProveedorCuentaBancoService extends CrudService {
3099
2521
  constructor(httpClient) {
3100
2522
  super(httpClient, '/proveedorCuentaBanco');
@@ -3104,15 +2526,15 @@ class ProveedorCuentaBancoService extends CrudService {
3104
2526
  let p = { 'cuentas': params };
3105
2527
  return this.httpClient.post(this.geturl(), p, this.buildAuth());
3106
2528
  }
3107
- /** @nocollapse */ static { this.ɵfac = function ProveedorCuentaBancoService_Factory(t) { return new (t || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
3108
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' }); }
2529
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorCuentaBancoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2530
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorCuentaBancoService, providedIn: 'root' }); }
3109
2531
  }
3110
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
3111
- type: Injectable,
3112
- args: [{
3113
- providedIn: 'root'
3114
- }]
3115
- }], () => [{ type: i1.HttpClient }], null); })();
2532
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorCuentaBancoService, decorators: [{
2533
+ type: Injectable,
2534
+ args: [{
2535
+ providedIn: 'root'
2536
+ }]
2537
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3116
2538
 
3117
2539
  class ProveedorFleteService extends CrudService {
3118
2540
  constructor(httpClient) {
@@ -3123,29 +2545,29 @@ class ProveedorFleteService extends CrudService {
3123
2545
  let params = { fletes: p };
3124
2546
  return this.save(params);
3125
2547
  }
3126
- /** @nocollapse */ static { this.ɵfac = function ProveedorFleteService_Factory(t) { return new (t || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
3127
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' }); }
2548
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorFleteService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2549
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorFleteService, providedIn: 'root' }); }
3128
2550
  }
3129
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
3130
- type: Injectable,
3131
- args: [{
3132
- providedIn: 'root'
3133
- }]
3134
- }], () => [{ type: i1.HttpClient }], null); })();
2551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProveedorFleteService, decorators: [{
2552
+ type: Injectable,
2553
+ args: [{
2554
+ providedIn: 'root'
2555
+ }]
2556
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3135
2557
 
3136
2558
  class ClaveAumentoDisminucionService extends CrudService {
3137
2559
  constructor(http) {
3138
2560
  super(http, 'claveAumentoDisminucion');
3139
2561
  }
3140
- /** @nocollapse */ static { this.ɵfac = function ClaveAumentoDisminucionService_Factory(t) { return new (t || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); }; }
3141
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' }); }
2562
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveAumentoDisminucionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2563
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveAumentoDisminucionService, providedIn: 'root' }); }
3142
2564
  }
3143
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
3144
- type: Injectable,
3145
- args: [{
3146
- providedIn: 'root'
3147
- }]
3148
- }], () => [{ type: i1.HttpClient }], null); })();
2565
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ClaveAumentoDisminucionService, decorators: [{
2566
+ type: Injectable,
2567
+ args: [{
2568
+ providedIn: 'root'
2569
+ }]
2570
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3149
2571
 
3150
2572
  class SerieDocumentoService extends CrudService {
3151
2573
  constructor(httpClient) {
@@ -3158,15 +2580,15 @@ class SerieDocumentoService extends CrudService {
3158
2580
  getReporte(params) {
3159
2581
  return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
3160
2582
  }
3161
- /** @nocollapse */ static { this.ɵfac = function SerieDocumentoService_Factory(t) { return new (t || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
3162
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' }); }
2583
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SerieDocumentoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2584
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SerieDocumentoService, providedIn: 'root' }); }
3163
2585
  }
3164
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
3165
- type: Injectable,
3166
- args: [{
3167
- providedIn: 'root'
3168
- }]
3169
- }], () => [{ type: i1.HttpClient }], null); })();
2586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SerieDocumentoService, decorators: [{
2587
+ type: Injectable,
2588
+ args: [{
2589
+ providedIn: 'root'
2590
+ }]
2591
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3170
2592
 
3171
2593
  class SerieDocumento {
3172
2594
  constructor() { }
@@ -3176,15 +2598,15 @@ class TipoContactoService extends CrudService {
3176
2598
  constructor(http) {
3177
2599
  super(http, '/tipoContacto');
3178
2600
  }
3179
- /** @nocollapse */ static { this.ɵfac = function TipoContactoService_Factory(t) { return new (t || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
3180
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' }); }
2601
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContactoService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2602
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContactoService, providedIn: 'root' }); }
3181
2603
  }
3182
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
3183
- type: Injectable,
3184
- args: [{
3185
- providedIn: 'root'
3186
- }]
3187
- }], () => [{ type: i1.HttpClient }], null); })();
2604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoContactoService, decorators: [{
2605
+ type: Injectable,
2606
+ args: [{
2607
+ providedIn: 'root'
2608
+ }]
2609
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3188
2610
 
3189
2611
  class Ubicacion {
3190
2612
  constructor() { }
@@ -3194,21 +2616,40 @@ class UbicacionService extends CrudService {
3194
2616
  constructor(http) {
3195
2617
  super(http, 'ubicacion');
3196
2618
  }
3197
- /** @nocollapse */ static { this.ɵfac = function UbicacionService_Factory(t) { return new (t || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
3198
- /** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' }); }
2619
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UbicacionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2620
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UbicacionService, providedIn: 'root' }); }
3199
2621
  }
3200
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
3201
- type: Injectable,
3202
- args: [{
3203
- providedIn: 'root'
3204
- }]
3205
- }], () => [{ type: i1.HttpClient }], null); })();
2622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UbicacionService, decorators: [{
2623
+ type: Injectable,
2624
+ args: [{
2625
+ providedIn: 'root'
2626
+ }]
2627
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
3206
2628
 
3207
2629
  class TipoCatalogo {
3208
2630
  static { this.ARTICULO = 2; }
3209
2631
  static { this.USO_CFDI = 11; }
3210
2632
  }
3211
2633
 
2634
+ class AcreedorCuentaContableService extends CrudService {
2635
+ constructor(httpClient) {
2636
+ super(httpClient, 'acreedorCuentaContable');
2637
+ this.httpClient = httpClient;
2638
+ }
2639
+ cuentasContables() {
2640
+ let uRL = "/cuentaContable/obtieneCuentasContablesRecursivo/";
2641
+ return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
2642
+ }
2643
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorCuentaContableService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
2644
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorCuentaContableService, providedIn: 'root' }); }
2645
+ }
2646
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AcreedorCuentaContableService, decorators: [{
2647
+ type: Injectable,
2648
+ args: [{
2649
+ providedIn: 'root'
2650
+ }]
2651
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
2652
+
3212
2653
  class CuentaContableModel {
3213
2654
  constructor() {
3214
2655
  }
@@ -3228,5 +2669,5 @@ class NormaInformacionFinancieraModel {
3228
2669
  * Generated bundle index. Do not edit.
3229
2670
  */
3230
2671
 
3231
- export { Agente, AgenteService, Almacen, AlmacenService, Auth, AuthService, Authenticated, Banco, BancoService, CanActivateGuard, CatalogoAdicionalService, CatalogoTipo, CatalogoTipoService, CclistaComponent, CcseleccionDialogComponent, ClasificadorTipo, ClasificadorTipoService, ClaveAumentoDisminucionService, ClaveMovimiento, ClaveMovimientoService, Cliente, ClienteCuentaBanco, ClienteCuentaBancoService, ClienteFlete, ClienteFleteService, ClienteService, ConfiguracionEmpresaAdministrativa, ControlAccesoService, CoreLibModule, CrudService, CuentaContableModel, DatoContacto, DatoContactoService, DatoDireccion, DatoDireccionService, Departamento, DepartamentoService, Empresa, EmpresaService, Error404Component, EstadoCivil, FileService, Flete, FleteService, FormaPago, FormaPagoService, Genero, GlobalService, HttpLoaderFactory, InitService, LoadingComponent, LoadingScreenComponent, LoadingScreenService, LoadingService, LoginModalComponent, LoginModalService, MessageService, Moneda, MonedaService, NormaInformacionFinancieraModel, PaginateService, PdfModalComponent, PdfModalService, Persona, PersonaFisica, PersonaFisicaService, PersonaMoral, PersonaMoralService, Proveedor, ProveedorCuentaBanco, ProveedorCuentaBancoService, ProveedorFlete, ProveedorFleteService, ProveedorService, SeleccionaArticuloComponent, SerieDocumento, SerieDocumentoService, SessionCajaService, SessionCreateComponent, StockService, TipoCatalogo, TipoContacto, TipoContactoService, Ubicacion, UbicacionService, Usuario, VersionCheckService, httpInterceptor };
2672
+ export { AcreedorCuentaContableService, AcreedorService, Agente, AgenteService, Almacen, AlmacenService, Auth, AuthService, Authenticated, Banco, BancoService, CanActivateGuard, CatalogoAdicionalService, CatalogoTipo, CatalogoTipoService, CclistaComponent, CcseleccionDialogComponent, ClasificadorTipo, ClasificadorTipoService, ClaveAumentoDisminucionService, ClaveMovimiento, ClaveMovimientoService, Cliente, ClienteCuentaBanco, ClienteCuentaBancoService, ClienteFlete, ClienteFleteService, ClienteService, ConfiguracionEmpresaAdministrativa, ControlAccesoService, CoreLibModule, CrudService, CuentaContableModel, DatoContacto, DatoContactoService, DatoDireccion, DatoDireccionService, Departamento, DepartamentoService, Empresa, EmpresaService, Error404Component, EstadoCivil, FileService, Flete, FleteService, FormaPago, FormaPagoService, Genero, GlobalService, HttpLoaderFactory, InitService, LoadingComponent, LoadingScreenComponent, LoadingScreenService, LoadingService, LoginModalComponent, LoginModalService, MessageService, Moneda, MonedaService, NormaInformacionFinancieraModel, PaginateService, PdfModalComponent, PdfModalService, Persona, PersonaFisica, PersonaFisicaService, PersonaMoral, PersonaMoralService, Proveedor, ProveedorCuentaBanco, ProveedorCuentaBancoService, ProveedorFlete, ProveedorFleteService, ProveedorService, SeleccionaArticuloComponent, SelectAcreedorComponent, SelectClienteComponent, SelectProveedorComponent, SerieDocumento, SerieDocumentoService, SessionCajaService, SessionCreateComponent, StockService, TipoCatalogo, TipoContacto, TipoContactoService, Ubicacion, UbicacionService, Usuario, VersionCheckService, httpInterceptor };
3232
2673
  //# sourceMappingURL=visorus-erp-core.mjs.map